@odynn/awayz-core 0.9.34 → 0.10.0

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.
Files changed (50) hide show
  1. package/dist/{TripsService-k5PnDpcP.js → TripsService-fNtCUyxa.js} +1 -1
  2. package/dist/assets/_styles.css +1 -1
  3. package/dist/assets/_styles2.css +1 -1
  4. package/dist/assets/_styles3.css +1 -1
  5. package/dist/assets/_styles4.css +1 -1
  6. package/dist/assets/_styles5.css +1 -1
  7. package/dist/assets/_styles6.css +1 -1
  8. package/dist/components/Bookings/FlightBooking/FlightBooking.js +4 -3
  9. package/dist/components/Bookings/HotelBooking/HotelBooking.js +30 -22
  10. package/dist/components/CashValue/CashValue.js +3 -3
  11. package/dist/components/CashValue/CashValue.stories.js +3 -3
  12. package/dist/components/ClientPointsValue/ClientPointsValue.js +3 -3
  13. package/dist/components/Menu/Menu.js +1 -1
  14. package/dist/components/Modal/Modal.js +1 -1
  15. package/dist/components/Tooltip/Tooltip.js +1 -1
  16. package/dist/components/Wallet/Card/Card.js +1 -1
  17. package/dist/components/Wallet/Card/Card.stories.js +3 -3
  18. package/dist/hooks/index.js +4 -2
  19. package/dist/hooks/useAwayzAuth/useAwayzAuth.js +10 -9
  20. package/dist/hooks/useBookingManagement/useBookingManagement.js +100 -87
  21. package/dist/hooks/useBookingManagement/useBookingManagement.test.js +17 -16
  22. package/dist/hooks/useBookingManagement/useBookingManagement.types.js +4 -1
  23. package/dist/hooks/useFeatureFlags.js +1 -1
  24. package/dist/hooks/useSearchLimit.js +1 -1
  25. package/dist/hooks/useTripManagement/useTripManagement.js +4 -4
  26. package/dist/hooks/useTripManagement/useTripManagement.test.js +4 -4
  27. package/dist/hooks/useWallet/useWallet.js +3 -3
  28. package/dist/hooks/useWallet/useWallet.test.js +3 -3
  29. package/dist/keys-BcBfU51M.js +5 -0
  30. package/dist/lib/hooks/index.d.ts +1 -0
  31. package/dist/lib/hooks/useBookingManagement/useBookingManagement.types.d.ts +29 -8
  32. package/dist/lib/services/bookings/BookingService.types.d.ts +16 -0
  33. package/dist/main.js +28 -26
  34. package/dist/{noRetryInstance-Bit3xLkY.js → noRetryInstance-C4bqpBc7.js} +17 -16
  35. package/dist/providers/AwayzProvider.js +6 -5
  36. package/dist/services/account/AccountService.js +2 -2
  37. package/dist/services/bookings/BookingService.js +69 -60
  38. package/dist/services/currency/CurrencyService.js +3 -3
  39. package/dist/services/features/featureService.js +1 -1
  40. package/dist/services/index.js +1 -1
  41. package/dist/services/instance.js +2 -2
  42. package/dist/services/instanceConfig.js +11 -10
  43. package/dist/services/noRetryInstance.js +1 -1
  44. package/dist/services/preferences/PreferencesService.js +1 -1
  45. package/dist/services/rewards/RewardsService.js +1 -1
  46. package/dist/services/trips/TripsService.js +2 -2
  47. package/dist/services/wallet/WalletService.js +1 -1
  48. package/dist/utils/clientPoints.js +3 -3
  49. package/package.json +1 -1
  50. package/dist/_styles.flight-booking-CaUgKcMC.js +0 -5
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
2
2
  var f = (r, e, a) => e in r ? v(r, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[e] = a;
3
3
  var n = (r, e, a) => f(r, typeof e != "symbol" ? e + "" : e, a);
4
4
  import "./arrayExtensions-DlcBOj5a.js";
5
- import { c as i, f as u, b as d, r as D } from "./noRetryInstance-Bit3xLkY.js";
5
+ import { c as i, f as u, b as d, r as D } from "./noRetryInstance-C4bqpBc7.js";
6
6
  import "react";
7
7
  import { DEFAULT_LOGO as S } from "./configs/defaultAwayzConfig.js";
8
8
  import { EMyTripsEndpoints as o } from "./configs/endpoints.js";
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.selected-hotel-card{width:380px;height:auto;border:1px solid var(--border, #e7eef3);border-radius:.5rem;display:flex;flex-direction:column;background-color:var(--foreground, #fff);overflow:hidden;transition:all .2s ease-in-out;animation:fade-in .3s ease-in-out both}.selected-hotel-card:nth-child(1){animation-delay:.1s}.selected-hotel-card:nth-child(2){animation-delay:.2s}.selected-hotel-card:nth-child(3){animation-delay:.3s}.selected-hotel-card:nth-child(4){animation-delay:.4s}.selected-hotel-card:nth-child(5){animation-delay:.5s}.selected-hotel-card:nth-child(6){animation-delay:.6s}.selected-hotel-card:nth-child(7){animation-delay:.7s}.selected-hotel-card:nth-child(8){animation-delay:.8s}.selected-hotel-card:nth-child(9){animation-delay:.9s}.selected-hotel-card:nth-child(10){animation-delay:1s}.selected-hotel-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-hotel-card:hover{box-shadow:0 0 20px #02426d1a;cursor:pointer}.selected-hotel-card:hover .hotel-image{background-size:105%}.selected-hotel-card .hotel-image{width:100%;height:200px;padding:.5rem;background-repeat:no-repeat;background-position:center;background-size:100%;display:flex;justify-content:space-between;align-items:flex-start;transition:all .2s ease-in-out}.selected-hotel-card .hotel-image .hotel-chain{display:flex;justify-content:center;gap:.5rem;border:2px solid #fff;padding:.25rem;border-radius:.25rem;background-color:#fffc;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.selected-hotel-card .hotel-image .context-button{display:flex;right:0;color:var(--text-light, rgba(37, 46, 52, .2509803922));background-color:var(--foreground, #fff);padding:.5rem;border-radius:.25rem;transition:all .3s ease-in-out;cursor:pointer}.selected-hotel-card .hotel-image .context-button:hover{background-color:var(--border, #e7eef3)}.selected-hotel-card .bottom-content{display:flex;flex-direction:column;padding:1rem;flex:1;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title{display:flex;flex-direction:column;gap:.25rem;flex:1}.selected-hotel-card .bottom-content .hotel-title>p{font-size:1rem;font-weight:600}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info{display:flex;flex-direction:column;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info>div{display:flex;align-items:center;gap:.5rem;font-size:.8rem;opacity:.6}.selected-hotel-card .bottom-content span{border-left:1px solid var(--border, #e7eef3);height:100%}.selected-hotel-card .bottom-content .hotel-details{display:flex;justify-content:space-between;font-size:.8rem}.selected-hotel-card .bottom-content .hotel-details>div{display:flex;gap:1rem;align-items:center}.selected-hotel-card .bottom-content .hotel-details>div>hr{height:1rem;border:1px solid var(--border, #e7eef3)}.selected-hotel-card .bottom-content .hotel-details .id-and-icon{font-weight:700}.selected-hotel-card .bottom-content .hotel-details .id-and-icon .copy-icon{font-size:larger}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.selected-flight-card{--cutout-top: 180px;width:380px;padding:1px;border-radius:.5rem;position:relative;overflow:hidden;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--border, #e7eef3) 10%,var(--border, #e7eef3) 90%,transparent 90%,transparent 100%);animation:fade-in .3s ease-in-out both;transition:all .2s ease-in-out;cursor:pointer}.selected-flight-card:nth-child(1){animation-delay:.1s}.selected-flight-card:nth-child(2){animation-delay:.2s}.selected-flight-card:nth-child(3){animation-delay:.3s}.selected-flight-card:nth-child(4){animation-delay:.4s}.selected-flight-card:nth-child(5){animation-delay:.5s}.selected-flight-card:nth-child(6){animation-delay:.6s}.selected-flight-card:nth-child(7){animation-delay:.7s}.selected-flight-card:nth-child(8){animation-delay:.8s}.selected-flight-card:nth-child(9){animation-delay:.9s}.selected-flight-card:nth-child(10){animation-delay:1s}.selected-flight-card:hover{filter:drop-shadow(0px 0px 20px rgba(2,66,109,.1))}.selected-flight-card:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:var(--cutout-top);left:0;transform:translate(-50%,-50%)}.selected-flight-card:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:var(--cutout-top);right:0;transform:translate(50%,-50%)}.selected-flight-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-flight-card .content{overflow:hidden;padding:1rem;padding-bottom:0;border-radius:.4rem;width:100%;margin:0 auto;position:relative;height:100%;z-index:1;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--foreground, #fff) 10%,var(--foreground, #fff) 90%,transparent 90%,transparent 100%)}.selected-flight-card .content *{z-index:2}.selected-flight-card .content:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:calc(var(--cutout-top) - 1px);left:-1.5px;transform:translate(-50%,-50%)}.selected-flight-card .content:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:calc(var(--cutout-top) - 1px);right:-1px;transform:translate(49.99%,-50%)}.selected-flight-card .top-section{flex:1;min-height:calc(var(--cutout-top) - 1rem - 20px)}.selected-flight-card .top-section .header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.selected-flight-card .top-section .header>div{display:flex;align-items:center;gap:.5rem}.selected-flight-card .top-section .header .airline-logo,.selected-flight-card .top-section .header .airline-logo img{max-height:20px}.selected-flight-card .top-section .header .id-and-icon{display:flex;align-items:center;gap:1rem}.selected-flight-card .top-section .header .id-and-icon>span{font-weight:700}.selected-flight-card .top-section .header .id-and-icon .context-button{display:flex;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem;color:var(--text-light, rgba(37, 46, 52, .2509803922));cursor:pointer}.selected-flight-card .top-section .header .id-and-icon .context-button:hover{background-color:var(--border, #e7eef3)}.selected-flight-card .top-section .flight{display:flex;align-items:center;font-size:1.8rem;position:relative;justify-content:space-between}.selected-flight-card .top-section .flight>p,.selected-flight-card .top-section .flight>svg{position:relative;z-index:2}.selected-flight-card .top-section .flight .flight-trail{margin:5px 0;height:2px;background:repeating-linear-gradient(90deg,var(--border, #e7eef3) 0 20px,rgba(0,0,0,0) 0 30px);width:80%;position:absolute;left:50%;transform:translate(-50%);z-index:1}.selected-flight-card .top-section .flight svg{fill:#d8e3ea}.selected-flight-card .top-section .flight>p{font-weight:600;background-color:var(--foreground, #fff)}.selected-flight-card .top-section .flight .departure-title{min-width:3ch;padding-right:.5rem}.selected-flight-card .top-section .flight .arrival-title{min-width:3ch;padding-left:.5rem;text-align:right}.selected-flight-card .top-section .flight-details .destination span{font-size:1rem;font-weight:400}.selected-flight-card .top-section .flight-details .destination span:last-child{text-align:right}.selected-flight-card .top-section .flight-details .time p{color:var(--text-light, rgba(37, 46, 52, .2509803922))}.selected-flight-card .top-section .flight-details .destination,.selected-flight-card .top-section .flight-details .time{display:flex;justify-content:space-between}.selected-flight-card .top-section .leg-separator{margin:.5rem 0;border-top:1px solid var(--border, #e7eef3)}.selected-flight-card.round-trip .content{gap:.5rem}.selected-flight-card.round-trip .top-section .header{margin-bottom:.5rem}.selected-flight-card.round-trip .top-section .flight{font-size:1.2rem}.selected-flight-card.round-trip .top-section .flight svg{font-size:1.6rem}.selected-flight-card.round-trip .top-section .flight-details .destination span{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-flight-card.round-trip .top-section .flight-details .time p{font-size:.8rem}.selected-flight-card.round-trip .top-section .leg-separator{margin:.25rem 0}.selected-flight-card .mid-section{height:10px}.selected-flight-card .mid-section .dashes{position:absolute;top:calc(var(--cutout-top) - 1px);left:20px;right:20px;border:dashed 2px var(--border, #e7eef3)}.selected-flight-card .bottom-section{display:flex;flex-direction:column;gap:1rem;font-size:.8rem}.selected-flight-card .bottom-section .bottom-header{display:flex;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon>span{font-weight:700}.selected-flight-card .bottom-section .bottom-header .id-and-icon .copy-icon{font-size:larger}.selected-flight-card .bottom-section .bottom-section-details{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-section-details>div{display:flex;width:50%;justify-content:space-between;margin-bottom:1rem;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-section-details>div>span{font-weight:700}
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{all:unset}.menubar-root{display:flex;background-color:var(--foreground, #fff);border-radius:.25rem}.menubar-trigger{border:1px solid var(--border, #e7eef3);padding:.5rem;outline:none;-webkit-user-select:none;user-select:none;font-weight:500;line-height:1;border-radius:4px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:2px}.menubar-trigger[data-highlighted],.menubar-trigger[data-state=open]{background-color:var(--background, #f9fdff)}.menubar-content,.menubar-sub-content{min-width:220px;background-color:var(--foreground, #fff);border-radius:.25rem;padding:.5rem;animation-duration:.2s;animation-timing-function:cubic-bezier(.16,1,.3,1);will-change:transform,opacity;border:1px solid var(--border, #e7eef3)}.menubar-sub-content{position:inherit;right:0;transform:translate(8px,35px)}.menubar-item,.menubar-sub-trigger,.menubar-checkbox-item,.menubar-radio-item{all:unset;font-size:13px;line-height:1;border-radius:4px;display:flex;align-items:center;height:25px;padding:0 10px;position:relative;-webkit-user-select:none;user-select:none}.menubar-item.inset,.menubar-sub-trigger.inset,.menubar-checkbox-item.inset,.menubar-radio-item.inset{padding-left:20px}.menubar-item[data-state=open],.menubar-sub-trigger[data-state=open]{background-color:var(--background, #f9fdff)}.menubar-item[data-highlighted],.menubar-sub-trigger[data-highlighted],.menubar-checkbox-item[data-highlighted],.menubar-radio-item[data-highlighted]{background-color:var(--background, #f9fdff);cursor:pointer}.menubar-item[data-disabled],.menubar-sub-trigger[data-disabled],.menubar-checkbox-item[data-disabled],.menubar-radio-item[data-disabled]{pointer-events:none;opacity:.3}.menubar-item-indicator{position:absolute;left:0;width:20px;display:inline-flex;align-items:center;justify-content:center}.menubar-separator{height:1px;margin:5px}.right-slot{margin-left:auto;padding-left:20px}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.selected-hotel-card{width:380px;height:auto;border:1px solid var(--border, #e7eef3);border-radius:.5rem;display:flex;flex-direction:column;background-color:var(--foreground, #fff);overflow:hidden;transition:all .2s ease-in-out;animation:fade-in .3s ease-in-out both}.selected-hotel-card:nth-child(1){animation-delay:.1s}.selected-hotel-card:nth-child(2){animation-delay:.2s}.selected-hotel-card:nth-child(3){animation-delay:.3s}.selected-hotel-card:nth-child(4){animation-delay:.4s}.selected-hotel-card:nth-child(5){animation-delay:.5s}.selected-hotel-card:nth-child(6){animation-delay:.6s}.selected-hotel-card:nth-child(7){animation-delay:.7s}.selected-hotel-card:nth-child(8){animation-delay:.8s}.selected-hotel-card:nth-child(9){animation-delay:.9s}.selected-hotel-card:nth-child(10){animation-delay:1s}.selected-hotel-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-hotel-card:hover{box-shadow:0 0 20px #02426d1a;cursor:pointer}.selected-hotel-card:hover .hotel-image{background-size:105%}.selected-hotel-card .hotel-image{width:100%;height:200px;padding:.5rem;background-repeat:no-repeat;background-position:center;background-size:100%;display:flex;justify-content:space-between;align-items:flex-start;transition:all .2s ease-in-out}.selected-hotel-card .hotel-image .hotel-chain{display:flex;justify-content:center;gap:.5rem;border:2px solid #fff;padding:.25rem;border-radius:.25rem;background-color:#fffc;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.selected-hotel-card .hotel-image .context-button{display:flex;right:0;color:var(--text-light, rgba(37, 46, 52, .2509803922));background-color:var(--foreground, #fff);padding:.5rem;border-radius:.25rem;transition:all .3s ease-in-out;cursor:pointer}.selected-hotel-card .hotel-image .context-button:hover{background-color:var(--border, #e7eef3)}.selected-hotel-card .bottom-content{display:flex;flex-direction:column;padding:1rem;flex:1;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title{display:flex;flex-direction:column;gap:.25rem;flex:1}.selected-hotel-card .bottom-content .hotel-title>p{font-size:1rem;font-weight:600}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info{display:flex;flex-direction:column;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info>div{display:flex;align-items:center;gap:.5rem;font-size:.8rem;opacity:.6}.selected-hotel-card .bottom-content span{border-left:1px solid var(--border, #e7eef3);height:100%}.selected-hotel-card .bottom-content .hotel-details{display:flex;justify-content:space-between;font-size:.8rem}.selected-hotel-card .bottom-content .hotel-details>div{display:flex;gap:1rem;align-items:center}.selected-hotel-card .bottom-content .hotel-details>div>hr{height:1rem;border:1px solid var(--border, #e7eef3)}.selected-hotel-card .bottom-content .hotel-details .id-and-icon{font-weight:700}.selected-hotel-card .bottom-content .hotel-details .id-and-icon .copy-icon{font-size:larger}
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.card{background-color:var(--dark, #14181f);padding:1rem;border-radius:1rem;display:flex;justify-content:space-between;height:150px;aspect-ratio:1.8;position:relative;overflow:hidden}.card p{color:var(--light, #f9fdff);font-weight:600;z-index:1}.card p.light{color:var(--dark, #14181f)}.card .remove-button{cursor:pointer;z-index:5;display:none;border-radius:.5rem;position:absolute;top:0;right:0;transform:translate(-50%) translateY(50%);height:1.75rem;width:1.75rem;padding:0;background-color:var(--light, #f9fdff);justify-content:center;align-items:center}.card .remove-button span{position:fixed;color:var(--dark, #14181f);display:flex;justify-content:center;align-items:center}.card:hover .remove-button{display:flex}.card .logo{height:50px;max-width:100px}.card>.logo-watermark-container{position:absolute;left:0;top:0;bottom:0;right:0;overflow:hidden}.card>.logo-watermark-container>.logo-watermark{position:absolute;right:-5%;height:100%;max-width:200px;transform:scale(2);opacity:.1}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{all:unset}.menubar-root{display:flex;background-color:var(--foreground, #fff);border-radius:.25rem}.menubar-trigger{border:1px solid var(--border, #e7eef3);padding:.5rem;outline:none;-webkit-user-select:none;user-select:none;font-weight:500;line-height:1;border-radius:4px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:2px}.menubar-trigger[data-highlighted],.menubar-trigger[data-state=open]{background-color:var(--background, #f9fdff)}.menubar-content,.menubar-sub-content{min-width:220px;background-color:var(--foreground, #fff);border-radius:.25rem;padding:.5rem;animation-duration:.2s;animation-timing-function:cubic-bezier(.16,1,.3,1);will-change:transform,opacity;border:1px solid var(--border, #e7eef3)}.menubar-sub-content{position:inherit;right:0;transform:translate(8px,35px)}.menubar-item,.menubar-sub-trigger,.menubar-checkbox-item,.menubar-radio-item{all:unset;font-size:13px;line-height:1;border-radius:4px;display:flex;align-items:center;height:25px;padding:0 10px;position:relative;-webkit-user-select:none;user-select:none}.menubar-item.inset,.menubar-sub-trigger.inset,.menubar-checkbox-item.inset,.menubar-radio-item.inset{padding-left:20px}.menubar-item[data-state=open],.menubar-sub-trigger[data-state=open]{background-color:var(--background, #f9fdff)}.menubar-item[data-highlighted],.menubar-sub-trigger[data-highlighted],.menubar-checkbox-item[data-highlighted],.menubar-radio-item[data-highlighted]{background-color:var(--background, #f9fdff);cursor:pointer}.menubar-item[data-disabled],.menubar-sub-trigger[data-disabled],.menubar-checkbox-item[data-disabled],.menubar-radio-item[data-disabled]{pointer-events:none;opacity:.3}.menubar-item-indicator{position:absolute;left:0;width:20px;display:inline-flex;align-items:center;justify-content:center}.menubar-separator{height:1px;margin:5px}.right-slot{margin-left:auto;padding-left:20px}
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tooltip-content{border-radius:.5rem;border:1px solid var(--border, #e7eef3);padding:1rem;line-height:1;background-color:var(--foreground, #fff);animation-duration:.4s;animation-timing-function:cubic-bezier(.16,1,.3,1);animation-fill-mode:both;will-change:transform,opacity;z-index:500}.tooltip-arrow{fill:var(--foreground, #fff)}.tooltip-content[data-state=delayed-open][data-side=top]{animation-name:tooltip-down}.tooltip-content[data-state=delayed-open][data-side=right]{animation-name:tooltip-right}.tooltip-content[data-state=delayed-open][data-side=bottom]{animation-name:tooltip-up}.tooltip-content[data-state=delayed-open][data-side=left]{animation-name:tooltip-left}@keyframes tooltip-up{0%{opacity:0;transform:translate3d(0,4px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-down{0%{opacity:0;transform:translate3d(0,-4px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-left{0%{opacity:0;transform:translate3d(4px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-right{0%{opacity:0;transform:translate3d(-4px,0,0)}to{opacity:1;transform:translateZ(0)}}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.card{background-color:var(--dark, #14181f);padding:1rem;border-radius:1rem;display:flex;justify-content:space-between;height:150px;aspect-ratio:1.8;position:relative;overflow:hidden}.card p{color:var(--light, #f9fdff);font-weight:600;z-index:1}.card p.light{color:var(--dark, #14181f)}.card .remove-button{cursor:pointer;z-index:5;display:none;border-radius:.5rem;position:absolute;top:0;right:0;transform:translate(-50%) translateY(50%);height:1.75rem;width:1.75rem;padding:0;background-color:var(--light, #f9fdff);justify-content:center;align-items:center}.card .remove-button span{position:fixed;color:var(--dark, #14181f);display:flex;justify-content:center;align-items:center}.card:hover .remove-button{display:flex}.card .logo{height:50px;max-width:100px}.card>.logo-watermark-container{position:absolute;left:0;top:0;bottom:0;right:0;overflow:hidden}.card>.logo-watermark-container>.logo-watermark{position:absolute;right:-5%;height:100%;max-width:200px;transform:scale(2);opacity:.1}
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.modal-backdrop{position:fixed;top:60px;left:0;bottom:0;right:0;z-index:400;background-color:var(--opaque-background, rgba(249, 253, 255, .5843137255));transition:all .2s ease-in-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center}.modal-backdrop.hidden{background-color:transparent;pointer-events:none;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}.modal-backdrop.hidden .modal-content{scale:.8;opacity:0}.modal-backdrop .modal-content{transition:all .2s ease-in-out;background-color:var(--foreground, #fff);border-radius:.5rem;border:1px solid var(--border, #e7eef3);position:relative}.modal-backdrop .modal-content .divider{width:100%;border:1px solid var(--border, #e7eef3);transform:scaleY(.5);margin:0}.modal-backdrop .modal-content .close-btn{height:30px;width:30px;border-radius:.5rem;border:1px solid var(--border, #e7eef3);display:flex;align-items:center;justify-content:center;position:absolute;top:1rem;right:1rem;transition:all .3s ease-in-out;cursor:pointer}.modal-backdrop .modal-content .close-btn:hover{background-color:var(--border, #e7eef3)}@media screen and (max-width: 768px){.modal-backdrop .modal-content{width:100%;max-height:80dvh;height:fit-content;position:absolute;bottom:0;overflow-y:auto;border-radius:1rem 1rem 0 0}}.modal-backdrop.padding .modal-content{padding:1rem}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tooltip-content{border-radius:.5rem;border:1px solid var(--border, #e7eef3);padding:1rem;line-height:1;background-color:var(--foreground, #fff);animation-duration:.4s;animation-timing-function:cubic-bezier(.16,1,.3,1);animation-fill-mode:both;will-change:transform,opacity;z-index:500}.tooltip-arrow{fill:var(--foreground, #fff)}.tooltip-content[data-state=delayed-open][data-side=top]{animation-name:tooltip-down}.tooltip-content[data-state=delayed-open][data-side=right]{animation-name:tooltip-right}.tooltip-content[data-state=delayed-open][data-side=bottom]{animation-name:tooltip-up}.tooltip-content[data-state=delayed-open][data-side=left]{animation-name:tooltip-left}@keyframes tooltip-up{0%{opacity:0;transform:translate3d(0,4px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-down{0%{opacity:0;transform:translate3d(0,-4px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-left{0%{opacity:0;transform:translate3d(4px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes tooltip-right{0%{opacity:0;transform:translate3d(-4px,0,0)}to{opacity:1;transform:translateZ(0)}}
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.selected-flight-card{--cutout-top: 180px;width:380px;padding:1px;border-radius:.5rem;position:relative;overflow:hidden;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--border, #e7eef3) 10%,var(--border, #e7eef3) 90%,transparent 90%,transparent 100%);animation:fade-in .3s ease-in-out both;transition:all .2s ease-in-out;cursor:pointer}.selected-flight-card:nth-child(1){animation-delay:.1s}.selected-flight-card:nth-child(2){animation-delay:.2s}.selected-flight-card:nth-child(3){animation-delay:.3s}.selected-flight-card:nth-child(4){animation-delay:.4s}.selected-flight-card:nth-child(5){animation-delay:.5s}.selected-flight-card:nth-child(6){animation-delay:.6s}.selected-flight-card:nth-child(7){animation-delay:.7s}.selected-flight-card:nth-child(8){animation-delay:.8s}.selected-flight-card:nth-child(9){animation-delay:.9s}.selected-flight-card:nth-child(10){animation-delay:1s}.selected-flight-card:hover{filter:drop-shadow(0px 0px 20px rgba(2,66,109,.1))}.selected-flight-card:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:var(--cutout-top);left:0;transform:translate(-50%,-50%)}.selected-flight-card:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:var(--cutout-top);right:0;transform:translate(50%,-50%)}.selected-flight-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-flight-card .content{overflow:hidden;padding:1rem;padding-bottom:0;border-radius:.4rem;width:100%;margin:0 auto;position:relative;height:100%;z-index:1;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--foreground, #fff) 10%,var(--foreground, #fff) 90%,transparent 90%,transparent 100%)}.selected-flight-card .content *{z-index:2}.selected-flight-card .content:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:calc(var(--cutout-top) - 1px);left:-1.5px;transform:translate(-50%,-50%)}.selected-flight-card .content:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:calc(var(--cutout-top) - 1px);right:-1px;transform:translate(49.99%,-50%)}.selected-flight-card .top-section{flex:1;min-height:calc(var(--cutout-top) - 1rem - 20px)}.selected-flight-card .top-section .header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.selected-flight-card .top-section .header>div{display:flex;align-items:center;gap:.5rem}.selected-flight-card .top-section .header .airline-logo,.selected-flight-card .top-section .header .airline-logo img{max-height:20px}.selected-flight-card .top-section .header .id-and-icon{display:flex;align-items:center;gap:1rem}.selected-flight-card .top-section .header .id-and-icon>span{font-weight:700}.selected-flight-card .top-section .header .id-and-icon .context-button{display:flex;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem;color:var(--text-light, rgba(37, 46, 52, .2509803922));cursor:pointer}.selected-flight-card .top-section .header .id-and-icon .context-button:hover{background-color:var(--border, #e7eef3)}.selected-flight-card .top-section .flight{display:flex;align-items:center;font-size:1.8rem;position:relative;justify-content:space-between}.selected-flight-card .top-section .flight>p,.selected-flight-card .top-section .flight>svg{position:relative;z-index:2}.selected-flight-card .top-section .flight .flight-trail{margin:5px 0;height:2px;background:repeating-linear-gradient(90deg,var(--border, #e7eef3) 0 20px,rgba(0,0,0,0) 0 30px);width:80%;position:absolute;left:50%;transform:translate(-50%);z-index:1}.selected-flight-card .top-section .flight svg{fill:#d8e3ea}.selected-flight-card .top-section .flight>p{font-weight:600;background-color:var(--foreground, #fff)}.selected-flight-card .top-section .flight .departure-title{min-width:3ch;padding-right:.5rem}.selected-flight-card .top-section .flight .arrival-title{min-width:3ch;padding-left:.5rem;text-align:right}.selected-flight-card .top-section .flight-details .destination span{font-size:1rem;font-weight:400}.selected-flight-card .top-section .flight-details .destination span:last-child{text-align:right}.selected-flight-card .top-section .flight-details .time p{color:var(--text-light, rgba(37, 46, 52, .2509803922))}.selected-flight-card .top-section .flight-details .destination,.selected-flight-card .top-section .flight-details .time{display:flex;justify-content:space-between}.selected-flight-card .top-section .leg-separator{margin:.5rem 0;border-top:1px solid var(--border, #e7eef3)}.selected-flight-card.round-trip .content{gap:.5rem}.selected-flight-card.round-trip .top-section .header{margin-bottom:.5rem}.selected-flight-card.round-trip .top-section .flight{font-size:1.2rem}.selected-flight-card.round-trip .top-section .flight svg{font-size:1.6rem}.selected-flight-card.round-trip .top-section .flight-details .destination span{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-flight-card.round-trip .top-section .flight-details .time p{font-size:.8rem}.selected-flight-card.round-trip .top-section .leg-separator{margin:.25rem 0}.selected-flight-card .mid-section{height:10px}.selected-flight-card .mid-section .dashes{position:absolute;top:calc(var(--cutout-top) - 1px);left:20px;right:20px;border:dashed 2px var(--border, #e7eef3)}.selected-flight-card .bottom-section{display:flex;flex-direction:column;gap:1rem;font-size:.8rem}.selected-flight-card .bottom-section .bottom-header{display:flex;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon>span{font-weight:700}.selected-flight-card .bottom-section .bottom-header .id-and-icon .copy-icon{font-size:larger}.selected-flight-card .bottom-section .bottom-section-details{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-section-details>div{display:flex;width:50%;justify-content:space-between;margin-bottom:1rem;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-section-details>div>span{font-weight:700}
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.modal-backdrop{position:fixed;top:60px;left:0;bottom:0;right:0;z-index:400;background-color:var(--opaque-background, rgba(249, 253, 255, .5843137255));transition:all .2s ease-in-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center}.modal-backdrop.hidden{background-color:transparent;pointer-events:none;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}.modal-backdrop.hidden .modal-content{scale:.8;opacity:0}.modal-backdrop .modal-content{transition:all .2s ease-in-out;background-color:var(--foreground, #fff);border-radius:.5rem;border:1px solid var(--border, #e7eef3);position:relative}.modal-backdrop .modal-content .divider{width:100%;border:1px solid var(--border, #e7eef3);transform:scaleY(.5);margin:0}.modal-backdrop .modal-content .close-btn{height:30px;width:30px;border-radius:.5rem;border:1px solid var(--border, #e7eef3);display:flex;align-items:center;justify-content:center;position:absolute;top:1rem;right:1rem;transition:all .3s ease-in-out;cursor:pointer}.modal-backdrop .modal-content .close-btn:hover{background-color:var(--border, #e7eef3)}@media screen and (max-width: 768px){.modal-backdrop .modal-content{width:100%;max-height:80dvh;height:fit-content;position:absolute;bottom:0;overflow-y:auto;border-radius:1rem 1rem 0 0}}.modal-backdrop.padding .modal-content{padding:1rem}
@@ -1,12 +1,13 @@
1
1
  import { jsx as e, jsxs as i, Fragment as I } from "react/jsx-runtime";
2
2
  import { h as t } from "../../../arrayExtensions-DlcBOj5a.js";
3
3
  import { E as d } from "../../../DateFormats-DZD30Nea.js";
4
- import { E as r } from "../../../_styles.flight-booking-CaUgKcMC.js";
4
+ import { E as r } from "../../../keys-BcBfU51M.js";
5
5
  import "react";
6
6
  import { useTranslation as _ } from "react-i18next";
7
7
  import { F as v } from "../../../index-C8p5kinH.js";
8
8
  import F from "../../Menu/Menu.js";
9
- const B = ({
9
+ import '../../../assets/_styles.css';/* empty css */
10
+ const Y = ({
10
11
  airlines: n,
11
12
  departure: o,
12
13
  arrival: m,
@@ -137,5 +138,5 @@ const B = ({
137
138
  );
138
139
  };
139
140
  export {
140
- B as FlightBooking
141
+ Y as FlightBooking
141
142
  };
@@ -1,21 +1,23 @@
1
1
  import { jsxs as e, jsx as i } from "react/jsx-runtime";
2
- import { G as N, c as u } from "../../../index-C8p5kinH.js";
2
+ import { G as f, c as u } from "../../../index-C8p5kinH.js";
3
3
  import { h as $ } from "../../../arrayExtensions-DlcBOj5a.js";
4
- import { E as f } from "../../../DateFormats-DZD30Nea.js";
4
+ import { E } from "../../../DateFormats-DZD30Nea.js";
5
+ import { E as D } from "../../../keys-BcBfU51M.js";
5
6
  import "react";
6
- import '../../../assets/_styles.css';/* empty css */
7
- import x from "../../Menu/Menu.js";
8
- const n = (r, o, l = o + "s") => r === 1 ? o : l;
9
- function C(r) {
10
- return N({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }, child: [] }, { tag: "circle", attr: { cx: "12", cy: "10", r: "3" }, child: [] }] })(r);
7
+ import { useTranslation as I } from "react-i18next";
8
+ import '../../../assets/_styles2.css';/* empty css */
9
+ import M from "../../Menu/Menu.js";
10
+ const n = (r, o, t = o + "s") => r === 1 ? o : t;
11
+ function x(r) {
12
+ return f({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }, child: [] }, { tag: "circle", attr: { cx: "12", cy: "10", r: "3" }, child: [] }] })(r);
11
13
  }
12
- const G = ({
14
+ const B = ({
13
15
  hotelName: r,
14
16
  address: o,
15
- hotelImage: l,
16
- numberOfGuests: c,
17
- numberOfRooms: t,
18
- numberOfNights: a,
17
+ hotelImage: t,
18
+ numberOfGuests: a,
19
+ numberOfRooms: l,
20
+ numberOfNights: c,
19
21
  bookingRef: m,
20
22
  cancelledAt: d,
21
23
  onClick: p,
@@ -24,23 +26,24 @@ const G = ({
24
26
  endDate: g
25
27
  }) => {
26
28
  var h;
29
+ const { t: k } = I();
27
30
  return /* @__PURE__ */ e("div", { className: "selected-hotel-card", onClick: p, children: [
28
31
  /* @__PURE__ */ e(
29
32
  "div",
30
33
  {
31
34
  className: "hotel-image",
32
35
  style: {
33
- backgroundImage: `url(${l})`
36
+ backgroundImage: `url(${t})`
34
37
  },
35
38
  children: [
36
39
  /* @__PURE__ */ i("div", {}),
37
40
  s.length > 0 && /* @__PURE__ */ i(
38
41
  "div",
39
42
  {
40
- onClick: (k) => {
41
- k.stopPropagation();
43
+ onClick: (N) => {
44
+ N.stopPropagation();
42
45
  },
43
- children: /* @__PURE__ */ i(x, { options: s })
46
+ children: /* @__PURE__ */ i(M, { options: s })
44
47
  }
45
48
  )
46
49
  ]
@@ -50,13 +53,18 @@ const G = ({
50
53
  d && /* @__PURE__ */ i("div", { className: "cancelled-notice", children: /* @__PURE__ */ e("p", { children: [
51
54
  "Cancelled:",
52
55
  " ",
53
- (h = $(d)) == null ? void 0 : h.format(f.USStringDateFormat)
56
+ (h = $(d)) == null ? void 0 : h.format(
57
+ k(
58
+ D.DISPLAY_MEDIUM_WITH_YEAR,
59
+ E.USStringDateFormat
60
+ )
61
+ )
54
62
  ] }) }),
55
63
  /* @__PURE__ */ e("div", { className: "hotel-title", children: [
56
64
  /* @__PURE__ */ i("p", { children: r }),
57
65
  /* @__PURE__ */ e("div", { className: "hotel-booking-info", children: [
58
66
  /* @__PURE__ */ e("div", { children: [
59
- /* @__PURE__ */ i(C, { className: "location-icon" }),
67
+ /* @__PURE__ */ i(x, { className: "location-icon" }),
60
68
  /* @__PURE__ */ i("p", { children: o })
61
69
  ] }),
62
70
  /* @__PURE__ */ e("div", { children: [
@@ -72,11 +80,11 @@ const G = ({
72
80
  /* @__PURE__ */ i("hr", {}),
73
81
  /* @__PURE__ */ e("div", { className: "hotel-details", children: [
74
82
  /* @__PURE__ */ e("div", { children: [
75
- /* @__PURE__ */ i("p", { children: `${c} ${n(c, "Guest")}` }),
83
+ /* @__PURE__ */ i("p", { children: `${a} ${n(a, "Guest")}` }),
76
84
  /* @__PURE__ */ i("span", {}),
77
- /* @__PURE__ */ i("p", { children: `${t} ${n(t, "Room")}` }),
85
+ /* @__PURE__ */ i("p", { children: `${l} ${n(l, "Room")}` }),
78
86
  /* @__PURE__ */ i("span", {}),
79
- /* @__PURE__ */ i("p", { children: `${a} ${n(a, "Night")}` })
87
+ /* @__PURE__ */ i("p", { children: `${c} ${n(c, "Night")}` })
80
88
  ] }),
81
89
  /* @__PURE__ */ i("div", { className: "id-and-icon", children: /* @__PURE__ */ i("span", { children: m }) })
82
90
  ] })
@@ -84,5 +92,5 @@ const G = ({
84
92
  ] });
85
93
  };
86
94
  export {
87
- G as HotelBooking
95
+ B as HotelBooking
88
96
  };
@@ -2,12 +2,12 @@ import { jsx as r, jsxs as l } from "react/jsx-runtime";
2
2
  import { useQuery as R } from "@tanstack/react-query";
3
3
  import "../../arrayExtensions-DlcBOj5a.js";
4
4
  import { g as m, a as _, b as N } from "../../cashUtils-DnCt66eB.js";
5
- import { E as S } from "../../noRetryInstance-Bit3xLkY.js";
5
+ import { E as S } from "../../noRetryInstance-C4bqpBc7.js";
6
6
  import { useMemo as T } from "react";
7
7
  import { a as f } from "../../index-C8p5kinH.js";
8
8
  import "react-i18next";
9
- import '../../assets/_styles3.css';import '../../assets/_styles.css';import '../../assets/_styles2.css';/* empty css */
10
- import "../../_styles.flight-booking-CaUgKcMC.js";
9
+ import '../../assets/_styles4.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
10
+ /* empty css */
11
11
  /* empty css */
12
12
  import { EInvalidAmountDisplayOption as s, EToolTipPosition as D } from "./CashValueTypes.js";
13
13
  import { useAwayzContext as I } from "../../hooks/useAwayzContext.js";
@@ -2,14 +2,14 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import "../../arrayExtensions-DlcBOj5a.js";
3
3
  import "react";
4
4
  import "react-i18next";
5
- import '../../assets/_styles3.css';import '../../assets/_styles.css';import '../../assets/_styles2.css';/* empty css */
6
- import "../../_styles.flight-booking-CaUgKcMC.js";
5
+ import '../../assets/_styles4.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  import { CashValue as n } from "./CashValue.js";
9
9
  import { EToolTipPosition as t, EInvalidAmountDisplayOption as o } from "./CashValueTypes.js";
10
10
  import "@tanstack/react-query";
11
11
  import "../../context/AwayzContext.js";
12
- import "../../noRetryInstance-Bit3xLkY.js";
12
+ import "../../noRetryInstance-C4bqpBc7.js";
13
13
  import "../../configs/awayzClient.js";
14
14
  /* empty css */
15
15
  import { AwayzProvider as a } from "../../providers/AwayzProvider.js";
@@ -1,12 +1,12 @@
1
1
  import { jsxs as c } from "react/jsx-runtime";
2
2
  import { useQuery as p } from "@tanstack/react-query";
3
3
  import "../../arrayExtensions-DlcBOj5a.js";
4
- import { E as u } from "../../noRetryInstance-Bit3xLkY.js";
4
+ import { E as u } from "../../noRetryInstance-C4bqpBc7.js";
5
5
  import { useMemo as f } from "react";
6
6
  import { useAwayzContext as l } from "../../hooks/useAwayzContext.js";
7
7
  import "react-i18next";
8
- import '../../assets/_styles3.css';import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles.css';import '../../assets/_styles2.css';/* empty css */
9
- import "../../_styles.flight-booking-CaUgKcMC.js";
8
+ import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  import { CurrencyService as C } from "../../services/currency/CurrencyService.js";
12
12
  /* empty css */
@@ -3,7 +3,7 @@ import * as a from "react";
3
3
  import Z, { useState as or } from "react";
4
4
  import { q as ie, d as me, u as T, a as ar, c as R, b as U, e as ir, f as cr, o as sr, s as ur, h as lr, i as dr, j as fr, k as pr, l as vr, m as mr, g as Ue, n as oe, p as Qe, P as Oe } from "../../index-DUTpB-ZJ.js";
5
5
  import { r as hr, R as gr } from "../../index-Cv-wvFlM.js";
6
- import '../../assets/_styles2.css';/* empty css */
6
+ import '../../assets/_styles3.css';/* empty css */
7
7
  import { d as br, e as yr } from "../../index-C8p5kinH.js";
8
8
  // @__NO_SIDE_EFFECTS__
9
9
  function ht(e) {
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import '../../assets/_styles5.css';/* empty css */
2
+ import '../../assets/_styles6.css';/* empty css */
3
3
  import { r as i } from "../../index-Cv-wvFlM.js";
4
4
  const s = ({ show: t, onClose: o, children: r, padding: d = !0 }) => {
5
5
  const e = () => {
@@ -3,7 +3,7 @@ import * as s from "react";
3
3
  import { useState as ce, useEffect as et } from "react";
4
4
  import { u as D, a as tt, c as R, b as z, d as fe, e as rt, f as nt, g as Y, o as ot, s as st, h as it, i as at, j as lt, k as ct, l as dt, m as ut, n as pt, p as ft, P as he } from "../../index-DUTpB-ZJ.js";
5
5
  import { r as ht, R as vt } from "../../index-Cv-wvFlM.js";
6
- import '../../assets/_styles4.css';/* empty css */
6
+ import '../../assets/_styles5.css';/* empty css */
7
7
  import yt from "../Modal/Modal.js";
8
8
  // @__NO_SIDE_EFFECTS__
9
9
  function mt(e) {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import '../../../assets/_styles3.css';/* empty css */
2
+ import '../../../assets/_styles4.css';/* empty css */
3
3
  import { b as l } from "../../../index-C8p5kinH.js";
4
4
  import "../../../arrayExtensions-DlcBOj5a.js";
5
5
  import "react";
@@ -2,12 +2,12 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import "../../../arrayExtensions-DlcBOj5a.js";
3
3
  import "react";
4
4
  import "react-i18next";
5
- import '../../../assets/_styles5.css';import '../../../assets/_styles4.css';import '../../../assets/_styles.css';import '../../../assets/_styles2.css';/* empty css */
6
- import "../../../_styles.flight-booking-CaUgKcMC.js";
5
+ import '../../../assets/_styles6.css';import '../../../assets/_styles5.css';import '../../../assets/_styles2.css';import '../../../assets/_styles.css';import '../../../assets/_styles3.css';/* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  import "@tanstack/react-query";
9
9
  import "../../../configs/awayzClient.js";
10
- import "../../../noRetryInstance-Bit3xLkY.js";
10
+ import "../../../noRetryInstance-C4bqpBc7.js";
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  import "../../../index-Cv-wvFlM.js";
@@ -1,11 +1,13 @@
1
1
  import { useAwayzContext as r } from "./useAwayzContext.js";
2
- import { useBookingManagement as m } from "./useBookingManagement/useBookingManagement.js";
2
+ import { useBookingManagement as a } from "./useBookingManagement/useBookingManagement.js";
3
3
  import { useSearchLimit as n } from "./useSearchLimit.js";
4
4
  import { useTripManagement as x } from "./useTripManagement/useTripManagement.js";
5
5
  import { useWallet as s } from "./useWallet/useWallet.js";
6
+ import { ECancelStatus as i } from "./useBookingManagement/useBookingManagement.types.js";
6
7
  export {
8
+ i as ECancelStatus,
7
9
  r as useAwayzContext,
8
- m as useBookingManagement,
10
+ a as useBookingManagement,
9
11
  n as useSearchLimit,
10
12
  x as useTripManagement,
11
13
  s as useWallet
@@ -1,14 +1,15 @@
1
1
  import "../../arrayExtensions-DlcBOj5a.js";
2
2
  import { c as M } from "../../cashUtils-DnCt66eB.js";
3
- import { e as P, A as l, E as N } from "../../noRetryInstance-Bit3xLkY.js";
4
- import { a as o } from "../../_styles.flight-booking-CaUgKcMC.js";
3
+ import { e as P, A as l, E as N } from "../../noRetryInstance-C4bqpBc7.js";
4
+ import { a as o } from "../../keys-BcBfU51M.js";
5
5
  import { useState as f, useCallback as I, useEffect as h } from "react";
6
6
  import { awayzClient as O } from "../../configs/awayzClient.js";
7
7
  import { PreferencesService as q } from "../../services/preferences/PreferencesService.js";
8
8
  import "@tanstack/react-query";
9
9
  import "react/jsx-runtime";
10
10
  import "react-i18next";
11
- import '../../assets/_styles3.css';import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles.css';import '../../assets/_styles2.css';/* empty css */
11
+ import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
12
+ /* empty css */
12
13
  /* empty css */
13
14
  /* empty css */
14
15
  /* empty css */
@@ -31,8 +32,8 @@ const x = (s, c) => {
31
32
  },
32
33
  "*"
33
34
  );
34
- }, le = (s) => {
35
- const [c, i] = f(!0), [y, m] = f(!1), [S, A] = f(), [g, k] = f(), [C, _] = f([]), [p, F] = f([]), E = I(
35
+ }, fe = (s) => {
36
+ const [c, i] = f(!0), [y, m] = f(!1), [S, A] = f(), [g, k] = f(), [p, C] = f([]), [_, F] = f([]), E = I(
36
37
  async (t) => {
37
38
  s != null && s.onSuccess && (s == null || s.onSuccess(t)), s != null && s.onSuccessAsync && await (s == null ? void 0 : s.onSuccessAsync(t)), i(!1), m(!0), A(t.token), k(t.user), O.invalidateQueries();
38
39
  },
@@ -105,7 +106,7 @@ const x = (s, c) => {
105
106
  }, []);
106
107
  const U = async () => {
107
108
  const t = await l.getRegions();
108
- _(t);
109
+ C(t);
109
110
  const e = t.map((n) => n.currency), a = Array.from(new Set(e)).map((n) => ({
110
111
  code: n,
111
112
  symbol: M(n) || n
@@ -149,8 +150,8 @@ const x = (s, c) => {
149
150
  isAuthenticated: y,
150
151
  token: S,
151
152
  user: g,
152
- supportedRegions: C,
153
- supportedCurrencies: p,
153
+ supportedRegions: p,
154
+ supportedCurrencies: _,
154
155
  signIn: async (t) => {
155
156
  var r;
156
157
  const e = await l.login(t);
@@ -216,5 +217,5 @@ const x = (s, c) => {
216
217
  };
217
218
  export {
218
219
  x as authFailurePostMessage,
219
- le as useAwayzAuth
220
+ fe as useAwayzAuth
220
221
  };