@odynn/awayz-flights 0.6.6 → 0.7.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.
@@ -1,130 +1,144 @@
1
- import { jsx as i, jsxs as n, Fragment as B } from "react/jsx-runtime";
2
- import { useAwayzContext as rr, RewardsService as _, CashValue as L, EToolTipPosition as R, EInvalidAmountDisplayOption as er, awayzClient as x, CurrencyService as ir } from "@odynn/awayz-core";
3
- import { useQuery as nr } from "@tanstack/react-query";
4
- import { g as tr } from "./index-7zRjF0bU.js";
5
- import { G as ar, g as U, a as d, E as N, F as sr, b as or } from "./FlightItinerary-Dy-2zMYt.js";
6
- import { E as A } from "./enums-DxmoBOKL.js";
1
+ import { jsx as i, jsxs as n, Fragment as M } from "react/jsx-runtime";
2
+ import { useAwayzContext as ir, RewardsService as S, CashValue as U, EToolTipPosition as _, EInvalidAmountDisplayOption as nr, awayzClient as q, CurrencyService as tr } from "@odynn/awayz-core";
3
+ import { useQuery as sr } from "@tanstack/react-query";
4
+ import { g as ar } from "./index-7zRjF0bU.js";
5
+ import { G as or, g as L, a as N, E as v, F as cr, b as lr } from "./FlightItinerary-Dy-2zMYt.js";
6
+ import { E as O } from "./enums-D9aZqf8G.js";
7
7
  import "./arrayExtensions-DFLvtO8l.js";
8
- import cr, { useState as O, useMemo as $, useEffect as lr } from "react";
9
- import { h as v } from "./moment-BGjjqtLQ.js";
10
- import { useTranslation as mr } from "react-i18next";
11
- import { EPaymentType as P } from "./enums/EPaymentType.js";
12
- import { isSameDayFlight as pr } from "./utils/flightDateUtils.js";
13
- import { DEFAULT_AIRLINE_PROGRAM as hr, getFlightNumber as gr, getLogoPath as fr, getAirlineProgram as ur } from "./utils/flightUtils.js";
14
- import './assets/FlightResult.css';const yr = (r, t, o = t + "s") => r === 1 ? t : o;
15
- function dr(r) {
8
+ import mr, { useState as P, useMemo as R, useEffect as $ } from "react";
9
+ import { h as m } from "./moment-BGjjqtLQ.js";
10
+ import { useTranslation as pr } from "react-i18next";
11
+ import { EPaymentType as E } from "./enums/EPaymentType.js";
12
+ import { isSameDayFlight as hr } from "./utils/flightDateUtils.js";
13
+ import { DEFAULT_AIRLINE_PROGRAM as gr, getFlightNumber as fr, getLogoPath as ur, getAirlineProgram as dr } from "./utils/flightUtils.js";
14
+ import './assets/FlightResult.css';const yr = (r, s, o = s + "s") => r === 1 ? s : o;
15
+ function Nr(r) {
16
16
  if (!r || isNaN(r) || r < 0) return "N/A";
17
- let t = r == null ? void 0 : r.toString().split(".")[0];
18
- return t == null ? void 0 : t.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
17
+ let s = r == null ? void 0 : r.toString().split(".")[0];
18
+ return s == null ? void 0 : s.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
19
19
  }
20
- function z(r) {
21
- return ar({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z" }, child: [] }] })(r);
20
+ function A(r) {
21
+ return or({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z" }, child: [] }] })(r);
22
22
  }
23
- async function q(r, t, o) {
24
- if (!r || t === o) return r;
25
- const s = await x.ensureQueryData({
26
- queryKey: [A.CONVERT_CURRENCY, t, o],
23
+ async function z(r, s, o) {
24
+ if (!r || s === o) return r;
25
+ const a = await q.ensureQueryData({
26
+ queryKey: [O.CONVERT_CURRENCY, s, o],
27
27
  staleTime: 1e3 * 60 * 60,
28
28
  // 1 hour
29
- queryFn: () => ir.convertCurrency({
30
- baseCurrency: t,
29
+ queryFn: () => tr.convertCurrency({
30
+ baseCurrency: s,
31
31
  targetCurrency: o
32
32
  })
33
33
  });
34
- return r * s;
34
+ return r * a;
35
35
  }
36
36
  const Mr = ({
37
37
  details: r,
38
- onClick: t,
38
+ onClick: s,
39
39
  showBestValue: o = !1,
40
- onShowBestValueCalculation: s,
41
- customStyling: K = !1
40
+ onShowBestValueCalculation: a,
41
+ customStyling: w = !1
42
42
  }) => {
43
- const { t: l } = mr(), [b, w] = O(!1), [m, Q] = O(
43
+ const { t: h } = pr(), [I, K] = P(!1), [f, Q] = P(
44
44
  "none"
45
45
  /* NONE */
46
- ), { config: F } = rr(), p = r.origin, h = r.destination, I = r.flightDetails, k = r.paymentOptions || [], G = k.filter((e) => e.points === -1).length === 1, Y = k.filter((e) => e.points > -1).length === 1, [j, H] = O(hr), J = async () => {
47
- const e = await ur(r.airlineProgram);
48
- H(e);
49
- }, { flightNumbers: T, airlines: W } = $(() => {
50
- const e = [], a = [];
46
+ ), [G, Y] = P(!1), { config: F } = ir(), u = r.origin, d = r.destination, b = r.flightDetails, x = r.paymentOptions || [], j = x.filter((e) => e.points === -1).length === 1, H = x.filter((e) => e.points > -1).length === 1, [J, W] = P(gr), X = async () => {
47
+ const e = await dr(r.airlineProgram);
48
+ W(e);
49
+ }, { flightNumbers: T, airlines: Z } = R(() => {
50
+ const e = [], t = [];
51
51
  return r.flightDetails.slices.forEach((c) => {
52
- c.segments.forEach((f) => {
53
- const u = gr(f);
54
- e.includes(u) || e.push(u);
55
- const y = f.operatingCarrier;
56
- a.some((C) => C.airline === y.name) || a.push({
57
- logo: fr(y.iataCode),
52
+ c.segments.forEach((l) => {
53
+ const p = fr(l);
54
+ e.includes(p) || e.push(p);
55
+ const y = l.operatingCarrier;
56
+ t.some((D) => D.airline === y.name) || t.push({
57
+ logo: ur(y.iataCode),
58
58
  airline: y.name
59
59
  });
60
60
  });
61
- }), J(), { flightNumbers: e, airlines: a };
62
- }, [r.flightDetails.slices]), X = () => {
63
- r.cash > 0 ? t(r, P.CASH) : t(r, P.POINTS);
64
- }, Z = !pr(
61
+ }), X(), { flightNumbers: e, airlines: t };
62
+ }, [r.flightDetails.slices]), V = () => {
63
+ r.cash > 0 ? s(r, E.CASH) : s(r, E.POINTS);
64
+ }, B = !hr(
65
65
  r.departureTime,
66
66
  r.arrivalTime
67
- ), E = r == null ? void 0 : r.airlineProgram, { data: M } = nr({
68
- queryKey: [A.VALUE_CENTS, E, "test"],
69
- queryFn: () => _.getCentPerPoint(E),
67
+ ), C = r == null ? void 0 : r.airlineProgram, { data: k } = sr({
68
+ queryKey: [O.VALUE_CENTS, C, "test"],
69
+ queryFn: () => S.getCentPerPoint(C),
70
70
  staleTime: 1 / 0,
71
- enabled: !!E && o
72
- }), g = $(() => {
73
- var e, a;
74
- return (a = (e = r.paymentOptions) == null ? void 0 : e.find(
75
- (c) => c.program === r.airlineProgram
76
- )) == null ? void 0 : a.cashFee;
77
- }, [r.paymentOptions, r.airlineProgram]), V = async () => {
78
- var S;
79
- if (!r || !M || !r.points || !r.cash)
71
+ enabled: !!C && o
72
+ }), g = R(() => {
73
+ var e, t;
74
+ return (t = (e = r.paymentOptions) == null ? void 0 : e.find(
75
+ (c) => {
76
+ var l;
77
+ return c.program === r.airlineProgram && ((l = c.cashFee) == null ? void 0 : l.amount) !== 0;
78
+ }
79
+ )) == null ? void 0 : t.cashFee;
80
+ }, [r.paymentOptions, r.airlineProgram]), rr = async () => {
81
+ if (!r || !k || !r.points || !r.cash)
80
82
  return;
81
83
  const e = r.currency;
82
- let a = {
84
+ let t = {
83
85
  valueCents: 1,
84
86
  currency: e
85
87
  };
86
88
  try {
87
- a = await x.ensureQueryData({
88
- queryKey: [A.VALUE_CENTS, r.airlineProgram],
89
+ t = await q.ensureQueryData({
90
+ queryKey: [O.VALUE_CENTS, r.airlineProgram],
89
91
  staleTime: 1e3 * 60 * 60,
90
92
  // 1 hour
91
- queryFn: () => _.getCentPerPoint(r.airlineProgram)
93
+ queryFn: () => S.getCentPerPoint(r.airlineProgram)
92
94
  });
93
- } catch (D) {
95
+ } catch (er) {
94
96
  console.warn(
95
97
  "Failed to fetch value cents for airline program:",
96
98
  r.airlineProgram,
97
- D
99
+ er
98
100
  );
99
101
  }
100
- const c = ((S = r.paymentOptions.find(
101
- (D) => D.program === r.airlineProgram
102
- )) == null ? void 0 : S.cashFee) ?? {
102
+ const c = g ?? {
103
103
  amount: 0,
104
104
  currency: e
105
- }, [f, u] = await Promise.all([
106
- q(c.amount, c.currency, e),
107
- q(
108
- a.valueCents,
109
- a.currency,
105
+ }, [l, p] = await Promise.all([
106
+ z(
107
+ c.amount,
108
+ c.currency,
109
+ e
110
+ ),
111
+ z(
112
+ t.valueCents,
113
+ t.currency,
110
114
  e
111
115
  )
112
- ]), C = u * r.points / 100 + f < r.cash;
116
+ ]), D = p * r.points / 100 + l < r.cash;
113
117
  Q(
114
- C ? "points" : "cash"
118
+ D ? "points" : "cash"
115
119
  /* CASH */
116
120
  );
117
121
  };
118
- return lr(() => {
119
- V();
120
- }, [r, M, g]), /* @__PURE__ */ i(
122
+ return $(() => {
123
+ rr();
124
+ }, [r, k, g]), $(() => {
125
+ const e = m(r.expiresAt), t = m();
126
+ if (!(e.year() === m(0).year()) && e.isAfter(t)) {
127
+ const l = e.diff(t), p = setTimeout(() => {
128
+ Y(!0);
129
+ }, l);
130
+ return () => {
131
+ clearTimeout(p);
132
+ };
133
+ }
134
+ }, [r.expiresAt]), /* @__PURE__ */ i(
121
135
  "div",
122
136
  {
123
- className: `${K ? "" : "awayz-"}flight-result`,
124
- onClick: X,
137
+ className: `${w ? "" : "awayz-"}flight-result`,
138
+ onClick: V,
125
139
  children: /* @__PURE__ */ n("div", { className: "content", children: [
126
140
  /* @__PURE__ */ i("div", { className: "flight-info", children: /* @__PURE__ */ n("div", { className: "flight-locations", children: [
127
- /* @__PURE__ */ i("div", { className: "airlines", children: W.map((e, a) => /* @__PURE__ */ i(cr.Fragment, { children: /* @__PURE__ */ n("div", { className: "tip", children: [
141
+ /* @__PURE__ */ i("div", { className: "airlines", children: Z.map((e, t) => /* @__PURE__ */ i(mr.Fragment, { children: /* @__PURE__ */ n("div", { className: "tip", children: [
128
142
  /* @__PURE__ */ i(
129
143
  "img",
130
144
  {
@@ -134,25 +148,25 @@ const Mr = ({
134
148
  }
135
149
  ),
136
150
  /* @__PURE__ */ i("span", { className: "right", children: e.airline })
137
- ] }, a) }, a)) }),
151
+ ] }, t) }, t)) }),
138
152
  /* @__PURE__ */ n("div", { className: "flight-location", children: [
139
153
  /* @__PURE__ */ n("p", { className: "show-desktop", children: [
140
- p.city,
154
+ u.city,
141
155
  ",",
142
- U(p.country)
156
+ L(u.country)
143
157
  ] }),
144
- /* @__PURE__ */ i("p", { className: "show-desktop", children: v(r.departureTime).format(
145
- l(d.DATE_TIME_MEDIUM, N.FlightShortDate)
158
+ /* @__PURE__ */ i("p", { className: "show-desktop", children: m(r.departureTime).format(
159
+ h(N.DATE_TIME_MEDIUM, v.FlightShortDate)
146
160
  ) }),
147
- /* @__PURE__ */ i("p", { className: "show-mobile", children: p.airportCode }),
148
- /* @__PURE__ */ i("p", { className: "show-mobile", children: v(r.departureTime).format(
149
- l(d.TIME_ONLY, N.FlightTime)
161
+ /* @__PURE__ */ i("p", { className: "show-mobile", children: u.airportCode }),
162
+ /* @__PURE__ */ i("p", { className: "show-mobile", children: m(r.departureTime).format(
163
+ h(N.TIME_ONLY, v.FlightTime)
150
164
  ) })
151
165
  ] }),
152
166
  /* @__PURE__ */ n("div", { className: "flight-duration", children: [
153
167
  /* @__PURE__ */ i("span", { className: "line" }),
154
168
  /* @__PURE__ */ n("p", { children: [
155
- tr(I.slices[0].duration),
169
+ ar(b.slices[0].duration),
156
170
  " ",
157
171
  " - ",
158
172
  r.numberOfStops > 0 ? `${r.numberOfStops} ${yr(
@@ -164,19 +178,19 @@ const Mr = ({
164
178
  ] }),
165
179
  /* @__PURE__ */ n("div", { children: [
166
180
  /* @__PURE__ */ n("p", { className: "show-desktop", children: [
167
- h.city,
181
+ d.city,
168
182
  ", ",
169
- U(h.country)
183
+ L(d.country)
170
184
  ] }),
171
185
  /* @__PURE__ */ n("p", { className: "show-desktop", children: [
172
- v(r.arrivalTime).format(
173
- l(d.DATE_TIME_MEDIUM, N.FlightShortDate)
186
+ m(r.arrivalTime).format(
187
+ h(N.DATE_TIME_MEDIUM, v.FlightShortDate)
174
188
  ),
175
189
  " "
176
190
  ] }),
177
- /* @__PURE__ */ i("p", { className: "show-mobile", children: h.airportCode }),
178
- /* @__PURE__ */ i("p", { className: "show-mobile", children: v(r.arrivalTime).format(
179
- l(d.TIME_ONLY, N.FlightTime)
191
+ /* @__PURE__ */ i("p", { className: "show-mobile", children: d.airportCode }),
192
+ /* @__PURE__ */ i("p", { className: "show-mobile", children: m(r.arrivalTime).format(
193
+ h(N.TIME_ONLY, v.FlightTime)
180
194
  ) })
181
195
  ] })
182
196
  ] }) }),
@@ -186,12 +200,12 @@ const Mr = ({
186
200
  {
187
201
  className: "flight-detail",
188
202
  onClick: (e) => {
189
- e.stopPropagation(), w(!b);
203
+ e.stopPropagation(), K(!I);
190
204
  },
191
205
  children: [
192
206
  /* @__PURE__ */ i("p", { children: "Aircraft" }),
193
207
  /* @__PURE__ */ n("p", { className: "chevron-text", children: [
194
- /* @__PURE__ */ i(sr, {}),
208
+ /* @__PURE__ */ i(cr, {}),
195
209
  /* @__PURE__ */ n("span", { children: [
196
210
  T[0],
197
211
  T.length > 1 && /* @__PURE__ */ n("sup", { children: [
@@ -203,38 +217,41 @@ const Mr = ({
203
217
  ]
204
218
  }
205
219
  ) }),
206
- /* @__PURE__ */ n("div", { className: "booking-options ", children: [
220
+ /* @__PURE__ */ i("div", { className: "booking-options ", children: G ? /* @__PURE__ */ n("div", { className: "offer-expiry", children: [
221
+ /* @__PURE__ */ i("span", { children: /* @__PURE__ */ i(A, {}) }),
222
+ /* @__PURE__ */ i("p", { className: "expired-tip", children: "Offer Expired" })
223
+ ] }) : /* @__PURE__ */ n(M, { children: [
207
224
  r.cash > 0 && /* @__PURE__ */ n(
208
225
  "div",
209
226
  {
210
- className: `amount-value ${m === "cash" && o ? "show-best-value-flag" : ""}`,
227
+ className: `amount-value ${f === "cash" && o ? "show-best-value-flag" : ""}`,
211
228
  onClick: (e) => {
212
- e.stopPropagation(), t(r, P.CASH);
229
+ e.stopPropagation(), s(r, E.CASH);
213
230
  },
214
231
  children: [
215
232
  /* @__PURE__ */ i("b", { children: "Cash" }),
216
233
  /* @__PURE__ */ n("div", { children: [
217
- /* @__PURE__ */ i("label", { children: G ? "Book For" : "From" }),
234
+ /* @__PURE__ */ i("label", { children: j ? "Book For" : "From" }),
218
235
  /* @__PURE__ */ i(
219
- L,
236
+ U,
220
237
  {
221
238
  amount: r.cash,
222
239
  currency: r.currency,
223
- position: R.LEFT
240
+ position: _.LEFT
224
241
  }
225
242
  )
226
243
  ] }),
227
- m === "cash" && o && /* @__PURE__ */ n(
244
+ f === "cash" && o && /* @__PURE__ */ n(
228
245
  "div",
229
246
  {
230
247
  className: "best-value-flag tip",
231
248
  onClick: (e) => {
232
- e.stopPropagation(), s == null || s(r);
249
+ e.stopPropagation(), a == null || a(r);
233
250
  },
234
251
  children: [
235
- s && /* @__PURE__ */ i(z, {}),
252
+ a && /* @__PURE__ */ i(A, {}),
236
253
  /* @__PURE__ */ i("p", { children: "Best Value" }),
237
- s && /* @__PURE__ */ i("span", { children: "Click to learn more" })
254
+ a && /* @__PURE__ */ i("span", { children: "Click to learn more" })
238
255
  ]
239
256
  }
240
257
  )
@@ -244,40 +261,42 @@ const Mr = ({
244
261
  r.points > 0 && /* @__PURE__ */ n(
245
262
  "div",
246
263
  {
247
- className: `amount-value ${m === "points" && o ? "show-best-value-flag" : ""}`,
264
+ className: `amount-value ${f === "points" && o ? "show-best-value-flag" : ""}`,
248
265
  onClick: (e) => {
249
- e.stopPropagation(), t(r, P.POINTS);
266
+ e.stopPropagation(), s(r, E.POINTS);
250
267
  },
251
268
  children: [
252
- m === "points" && o && /* @__PURE__ */ n(
269
+ f === "points" && o && /* @__PURE__ */ n(
253
270
  "div",
254
271
  {
255
272
  className: "best-value-flag tip",
256
273
  onClick: (e) => {
257
- e.stopPropagation(), s == null || s(r);
274
+ e.stopPropagation(), a == null || a(r);
258
275
  },
259
276
  children: [
260
- s && /* @__PURE__ */ i(z, {}),
277
+ a && /* @__PURE__ */ i(A, {}),
261
278
  /* @__PURE__ */ i("p", { children: "Best Value" }),
262
- s && /* @__PURE__ */ i("span", { children: "Click to learn more" })
279
+ a && /* @__PURE__ */ i("span", { children: "Click to learn more" })
263
280
  ]
264
281
  }
265
282
  ),
266
- /* @__PURE__ */ i("img", { src: j.programLogo }),
283
+ /* @__PURE__ */ i("img", { src: J.programLogo }),
267
284
  /* @__PURE__ */ n("div", { children: [
268
- /* @__PURE__ */ i("label", { children: Y ? "Book For" : "From" }),
285
+ /* @__PURE__ */ i("label", { children: H ? "Book For" : "From" }),
269
286
  /* @__PURE__ */ n("p", { children: [
270
- `${dr(r.points)} ${l("miles")}`,
271
- !!g && /* @__PURE__ */ n(B, { children: [
287
+ `${Nr(r.points)} ${h(
288
+ "miles"
289
+ )}`,
290
+ !!g && /* @__PURE__ */ n(M, { children: [
272
291
  " + ",
273
292
  /* @__PURE__ */ i(
274
- L,
293
+ U,
275
294
  {
276
295
  amount: g.amount,
277
296
  currency: g.currency,
278
297
  customDisplay: "No fee",
279
- zeroDisplayOption: er.CUSTOM,
280
- position: R.LEFT
298
+ zeroDisplayOption: nr.CUSTOM,
299
+ position: _.LEFT
281
300
  }
282
301
  )
283
302
  ] })
@@ -286,15 +305,15 @@ const Mr = ({
286
305
  ]
287
306
  }
288
307
  )
289
- ] })
308
+ ] }) })
290
309
  ] }),
291
- /* @__PURE__ */ i("div", { className: `flight-details ${b ? "is-open" : ""}`, children: /* @__PURE__ */ i("div", { className: "inner", children: /* @__PURE__ */ i(
292
- or,
310
+ /* @__PURE__ */ i("div", { className: `flight-details ${I ? "is-open" : ""}`, children: /* @__PURE__ */ i("div", { className: "inner", children: /* @__PURE__ */ i(
311
+ lr,
293
312
  {
294
- itinerary: I.slices[0].segments,
295
- origin: p,
296
- destination: h,
297
- isMultiDayFlight: Z
313
+ itinerary: b.slices[0].segments,
314
+ origin: u,
315
+ destination: d,
316
+ isMultiDayFlight: B
298
317
  }
299
318
  ) }) })
300
319
  ] })
@@ -303,5 +322,5 @@ const Mr = ({
303
322
  };
304
323
  export {
305
324
  Mr as F,
306
- dr as c
325
+ Nr as c
307
326
  };
@@ -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}.tip{position:relative}.tip>span{background-color:var(--dark, #14181f);color:#fff;padding:.5rem;border-radius:.25rem;position:absolute;bottom:110%;left:50%;transform:translate(-50%);display:none;transition:all .2s ease-in-out;z-index:100;width:max-content;font-size:.6rem;font-weight:600;text-transform:uppercase;line-height:.8rem;text-align:center;box-sizing:border-box;pointer-events:none}@media screen and (max-width: 480px){.tip>span{width:fit-content}}.tip>span.left{right:100%;top:50%;bottom:auto;left:auto;transform:translateY(-50%)}.tip>span.left:before{left:auto;right:-7.5px;top:50%;transform:translateY(-50%) rotate(-90deg)}.tip>span.right{left:100%;top:50%;bottom:auto;right:auto;transform:translateY(-50%)}.tip>span.right:before{left:-7.5px;right:auto;top:50%;transform:translateY(-50%) rotate(90deg)}.tip>span.bottom{top:100%;left:50%;right:auto;bottom:auto;transform:translate(-50%)}.tip>span.bottom:before{left:50%;right:auto;top:-5px;transform:translate(-50%) rotate(180deg)}.tip>span:before{content:"";position:absolute;bottom:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid var(--dark, #14181f)}.tip:hover>span,.tip:focus>span{display:flex;animation:tip-fade-up .2s ease-in-out}.tip:hover>span.right,.tip:focus>span.right{animation:tip-fade-right .2s ease-in-out}.tip:hover>span.left,.tip:focus>span.left{animation:tip-fade-left .2s ease-in-out}.tip:hover>span.bottom,.tip:focus>span.bottom{animation:tip-fade-down .2s ease-in-out}@keyframes slide-in-right{0%{opacity:0;transform:translate(0)}50%{transform:translate(-100vw);opacity:0}50.001%{opacity:0;transform:translate(105vw)}50.002%{opacity:1;transform:translate(100vw)}to{transform:translate(0)}}@keyframes slide-in-left{0%{opacity:0;transform:translate(0)}50%{transform:translate(100vw);opacity:0}50.001%{opacity:0;transform:translate(-100vw)}50.002%{opacity:1;transform:translate(-100vw)}to{transform:translate(0)}}@keyframes slide-out-right{0%{transform:translate(0)}to{transform:translate(100vw);opacity:1}}@keyframes slide-out-left{0%{transform:translate(0)}to{transform:translate(-100vw);opacity:1}}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translate(0);opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-in{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes scale-out{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes scale-in{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes no-no{0%{transform:translate(0)}20%{transform:translate(-20px)}40%{transform:translate(15px)}60%{transform:translate(-10px)}80%{transform:translate(5px)}to{transform:translate(0)}}@keyframes loading-track{0%{transform:translate(-100%);opacity:0}25%{opacity:1}75%{opacity:1}to{opacity:0;transform:translate(100%)}}@keyframes loading-in{0%{height:0}to{height:5px}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shine{0%{background-position:right}}@keyframes text-pulse{0%{opacity:.75}35%{opacity:1}65%{opacity:1}to{opacity:.75}}@keyframes pulse{0%{opacity:.85}35%{opacity:1}65%{opacity:1}to{opacity:.85}}@keyframes shimmer{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes fade-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-right{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes spring-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes ripple{0%{transform:scale(1)}to{transform:scale(1.1,1.4)}}@keyframes tip-fade-right{0%{opacity:0;transform:translate(-20px,-50%)}to{opacity:1;transform:translateY(-50%)}}@keyframes tip-fade-left{0%{opacity:0;transform:translate(20px,-50%)}to{opacity:1;transform:translateY(-50%)}}@keyframes tip-fade-down{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}@keyframes tip-fade-up{0%{opacity:0;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%)}}@keyframes slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slide-out{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@keyframes scale-fade-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@keyframes scroll-horizontally{0%{transform:translate(0)}to{transform:translate(-50%)}}.awayz-flight-result{background-color:var(--foreground, #fff);border-radius:.5rem;border:1px solid var(--border, #e7eef3);overflow:hidden;width:100%;margin:0 auto;position:relative;height:fit-content;padding:1px;transition:all .2s ease-in-out;z-index:10;animation:fade-up .2s ease-in-out both;backface-visibility:hidden}.awayz-flight-result .content{overflow:hidden;border-radius:.4rem;width:100%;margin:0 auto;position:relative;height:fit-content;z-index:1;display:flex;flex-direction:column}.awayz-flight-result .content>div{z-index:2}.awayz-flight-result .content>div.flight-info{flex:4;display:flex;flex-direction:column;min-height:60%;gap:.5rem;padding:1rem}.awayz-flight-result .content>div.flight-info .airlines{position:relative;width:50px;max-width:50px;height:30px}.awayz-flight-result .content>div.flight-info .airlines>div{position:absolute;display:flex;align-items:center;gap:.5rem;border:1px solid var(--border, #e7eef3);border-radius:50%;height:30px;width:30px;justify-content:center;background-color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-info .airlines>div img{width:70%}.awayz-flight-result .content>div.flight-info .airlines>div:nth-child(2){top:10px;left:15px}.awayz-flight-result .content>div.flight-info .airlines>div:nth-child(3){top:-10px;left:20px}.awayz-flight-result .content>div.flight-info .airlines>div span{font-size:.7rem}.awayz-flight-result .content>div.flight-info .airlines p{font-weight:600}.awayz-flight-result .content>div.flight-info .flight-locations{align-items:center;gap:1rem;display:flex}.awayz-flight-result .content>div.flight-info .flight-locations .show-desktop{display:none}@media screen and (min-width: 768px){.awayz-flight-result .content>div.flight-info .flight-locations .show-desktop{display:flex}}.awayz-flight-result .content>div.flight-info .flight-locations .show-mobile{display:none}@media screen and (max-width: 768px){.awayz-flight-result .content>div.flight-info .flight-locations .show-mobile{display:flex}}.awayz-flight-result .content>div.flight-info .flight-locations:last-child div p:first-child{font-weight:600}.awayz-flight-result .content>div.flight-info .flight-locations>div{flex:1;font-size:.8rem}.awayz-flight-result .content>div.flight-info .flight-locations>div:first-child{text-align:left}.awayz-flight-result .content>div.flight-info .flight-locations>div:last-child{text-align:right}.awayz-flight-result .content>div.flight-info .flight-locations .flight-duration{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:1rem;font-weight:600;font-size:.7rem}.awayz-flight-result .content>div.flight-info .flight-locations .line{height:2px;flex:1;background:repeating-linear-gradient(90deg,var(--border, #e7eef3) 0 20px,rgba(0,0,0,0) 0 30px);z-index:1}.awayz-flight-result .content>div.flight-info .flight-locations>div{display:flex;flex-direction:column;text-align:center;flex:1;width:100%}.awayz-flight-result .content>div.flight-info .flight-locations>div.duration{flex-direction:row;align-items:center;justify-content:center;gap:.5rem}.awayz-flight-result .content>div.flight-info .flight-locations>div.duration p{opacity:.4}.awayz-flight-result .content>div.flight-info .flight-locations>div.flight-location{text-align:left;align-items:flex-start;max-width:fit-content}.awayz-flight-result .content>div.flight-info .flight-locations>div:last-child{text-align:right;align-items:flex-end;max-width:fit-content}.awayz-flight-result .content>div.flight-footer{flex:2;display:flex;justify-content:space-between;align-items:center;padding:1rem;gap:1rem;background-color:var(--background, #f9fdff);border-top:1px solid var(--border, #e7eef3)}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer{flex-direction:column}}.awayz-flight-result .content>div.flight-footer .view-details{display:flex;align-items:center;gap:1rem;cursor:pointer;-webkit-user-select:none;user-select:none}.awayz-flight-result .content>div.flight-footer .booking-options{display:flex;justify-content:flex-end;gap:1rem;font-size:.8rem;flex:3}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer .booking-options{width:100%;flex-direction:column}}.awayz-flight-result .content>div.flight-footer .booking-options>div{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:50rem;padding:.5rem 1rem;gap:2rem;cursor:pointer;transition:all .2s ease-in-out;background-color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-footer .booking-options>div img{height:30px;max-width:100px}.awayz-flight-result .content>div.flight-footer .booking-options>div>div{display:flex;flex-direction:column}.awayz-flight-result .content>div.flight-footer .booking-options>div label{font-size:.7rem;font-weight:600}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value{position:relative}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value .currency-conversion{display:flex}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value .best-value-flag{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:.25rem;position:absolute;right:-1px;padding:.25rem .5rem;top:-1rem;color:var(--foreground, #fff);border-radius:50rem;font-weight:600;background-color:var(--primary, #1495f2);border-bottom-right-radius:0;font-size:.7rem}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value .best-value-flag p{color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value.show-best-value-flag{border-color:var(--primary, #1495f2);border-top-right-radius:0}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value p{display:flex;gap:.25rem}.awayz-flight-result .content>div.flight-footer .booking-options>div:first-of-type{grid-area:price}.awayz-flight-result .content>div.flight-footer .booking-options>div:last-of-type{grid-area:points}.awayz-flight-result .content>div.flight-footer .booking-options>div:hover{background-color:var(--background, #f9fdff)}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer .booking-options>div{flex-direction:row;justify-content:space-between;align-items:center}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value{text-align:center}.awayz-flight-result .content>div.flight-footer .booking-options>div.amount-value img{height:30px;max-width:80px}.awayz-flight-result .content>div.flight-footer .booking-options>div p:last-child{font-weight:600;font-size:1rem}}.awayz-flight-result .content .flight-detail-container{display:flex;gap:1rem;justify-content:space-between}@media screen and (max-width: 1024px){.awayz-flight-result .content .flight-detail-container{width:100%}}.awayz-flight-result .content .flight-detail:not(:first-of-type){border-left:1px solid var(--border, #e7eef3);padding:0 2rem}@media screen and (max-width: 1024px){.awayz-flight-result .content .flight-detail:not(:first-of-type){padding:0 .5rem}}.awayz-flight-result .content .flight-detail p{font-size:.8rem}.awayz-flight-result .content .flight-detail p:first-of-type{font-size:.7rem;color:var(--text-light, rgba(37, 46, 52, .2509803922))}.awayz-flight-result .content .flight-detail p:last-of-type{font-weight:600}.awayz-flight-result .content .flight-detail p.chevron-text{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.awayz-flight-result .flight-details{display:grid;grid-template-rows:0fr;transition:all .2s ease-in-out;background-color:var(--foreground, #fff);border-top:1px solid var(--border, #e7eef3);border-width:0}.awayz-flight-result .flight-details.is-open{grid-template-rows:1fr;padding:1rem;border-top:1px solid var(--border, #e7eef3)}.awayz-flight-result .flight-details.is-open .inner{padding:1rem 0;scale:1;opacity:1}.awayz-flight-result .flight-details .inner{overflow:hidden;transition:all .2s ease-in-out;scale:.9;opacity:0;transform-origin:top center}.awayz-flight-result:hover{cursor:pointer}
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}.tip{position:relative}.tip>span{background-color:var(--dark, #14181f);color:#fff;padding:.5rem;border-radius:.25rem;position:absolute;bottom:110%;left:50%;transform:translate(-50%);display:none;transition:all .2s ease-in-out;z-index:100;width:max-content;font-size:.6rem;font-weight:600;text-transform:uppercase;line-height:.8rem;text-align:center;box-sizing:border-box;pointer-events:none}@media screen and (max-width: 480px){.tip>span{width:fit-content}}.tip>span.left{right:100%;top:50%;bottom:auto;left:auto;transform:translateY(-50%)}.tip>span.left:before{left:auto;right:-7.5px;top:50%;transform:translateY(-50%) rotate(-90deg)}.tip>span.right{left:100%;top:50%;bottom:auto;right:auto;transform:translateY(-50%)}.tip>span.right:before{left:-7.5px;right:auto;top:50%;transform:translateY(-50%) rotate(90deg)}.tip>span.bottom{top:100%;left:50%;right:auto;bottom:auto;transform:translate(-50%)}.tip>span.bottom:before{left:50%;right:auto;top:-5px;transform:translate(-50%) rotate(180deg)}.tip>span:before{content:"";position:absolute;bottom:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid var(--dark, #14181f)}.tip:hover>span,.tip:focus>span{display:flex;animation:tip-fade-up .2s ease-in-out}.tip:hover>span.right,.tip:focus>span.right{animation:tip-fade-right .2s ease-in-out}.tip:hover>span.left,.tip:focus>span.left{animation:tip-fade-left .2s ease-in-out}.tip:hover>span.bottom,.tip:focus>span.bottom{animation:tip-fade-down .2s ease-in-out}@keyframes slide-in-right{0%{opacity:0;transform:translate(0)}50%{transform:translate(-100vw);opacity:0}50.001%{opacity:0;transform:translate(105vw)}50.002%{opacity:1;transform:translate(100vw)}to{transform:translate(0)}}@keyframes slide-in-left{0%{opacity:0;transform:translate(0)}50%{transform:translate(100vw);opacity:0}50.001%{opacity:0;transform:translate(-100vw)}50.002%{opacity:1;transform:translate(-100vw)}to{transform:translate(0)}}@keyframes slide-out-right{0%{transform:translate(0)}to{transform:translate(100vw);opacity:1}}@keyframes slide-out-left{0%{transform:translate(0)}to{transform:translate(-100vw);opacity:1}}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translate(0);opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-in{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes scale-out{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes scale-in{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes no-no{0%{transform:translate(0)}20%{transform:translate(-20px)}40%{transform:translate(15px)}60%{transform:translate(-10px)}80%{transform:translate(5px)}to{transform:translate(0)}}@keyframes loading-track{0%{transform:translate(-100%);opacity:0}25%{opacity:1}75%{opacity:1}to{opacity:0;transform:translate(100%)}}@keyframes loading-in{0%{height:0}to{height:5px}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shine{0%{background-position:right}}@keyframes text-pulse{0%{opacity:.75}35%{opacity:1}65%{opacity:1}to{opacity:.75}}@keyframes pulse{0%{opacity:.85}35%{opacity:1}65%{opacity:1}to{opacity:.85}}@keyframes shimmer{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes fade-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-right{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes spring-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes ripple{0%{transform:scale(1)}to{transform:scale(1.1,1.4)}}@keyframes tip-fade-right{0%{opacity:0;transform:translate(-20px,-50%)}to{opacity:1;transform:translateY(-50%)}}@keyframes tip-fade-left{0%{opacity:0;transform:translate(20px,-50%)}to{opacity:1;transform:translateY(-50%)}}@keyframes tip-fade-down{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}@keyframes tip-fade-up{0%{opacity:0;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%)}}@keyframes slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slide-out{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@keyframes scale-fade-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@keyframes scroll-horizontally{0%{transform:translate(0)}to{transform:translate(-50%)}}.awayz-flight-result{background-color:var(--foreground, #fff);border-radius:.5rem;border:1px solid var(--border, #e7eef3);overflow:hidden;width:100%;margin:0 auto;position:relative;height:fit-content;padding:1px;transition:all .2s ease-in-out;z-index:10;animation:fade-up .2s ease-in-out both;backface-visibility:hidden}.awayz-flight-result .content{overflow:hidden;border-radius:.4rem;width:100%;margin:0 auto;position:relative;height:fit-content;z-index:1;display:flex;flex-direction:column}.awayz-flight-result .content>div{z-index:2}.awayz-flight-result .content>div.flight-info{flex:4;display:flex;flex-direction:column;min-height:60%;gap:.5rem;padding:1rem}.awayz-flight-result .content>div.flight-info .airlines{position:relative;width:50px;max-width:50px;height:30px}.awayz-flight-result .content>div.flight-info .airlines>div{position:absolute;display:flex;align-items:center;gap:.5rem;border:1px solid var(--border, #e7eef3);border-radius:50%;height:30px;width:30px;justify-content:center;background-color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-info .airlines>div img{width:70%}.awayz-flight-result .content>div.flight-info .airlines>div:nth-child(2){top:10px;left:15px}.awayz-flight-result .content>div.flight-info .airlines>div:nth-child(3){top:-10px;left:20px}.awayz-flight-result .content>div.flight-info .airlines>div span{font-size:.7rem}.awayz-flight-result .content>div.flight-info .airlines p{font-weight:600}.awayz-flight-result .content>div.flight-info .flight-locations{align-items:center;gap:1rem;display:flex}.awayz-flight-result .content>div.flight-info .flight-locations .show-desktop{display:none}@media screen and (min-width: 768px){.awayz-flight-result .content>div.flight-info .flight-locations .show-desktop{display:flex}}.awayz-flight-result .content>div.flight-info .flight-locations .show-mobile{display:none}@media screen and (max-width: 768px){.awayz-flight-result .content>div.flight-info .flight-locations .show-mobile{display:flex}}.awayz-flight-result .content>div.flight-info .flight-locations:last-child div p:first-child{font-weight:600}.awayz-flight-result .content>div.flight-info .flight-locations>div{flex:1;font-size:.8rem}.awayz-flight-result .content>div.flight-info .flight-locations>div:first-child{text-align:left}.awayz-flight-result .content>div.flight-info .flight-locations>div:last-child{text-align:right}.awayz-flight-result .content>div.flight-info .flight-locations .flight-duration{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:1rem;font-weight:600;font-size:.7rem}.awayz-flight-result .content>div.flight-info .flight-locations .line{height:2px;flex:1;background:repeating-linear-gradient(90deg,var(--border, #e7eef3) 0 20px,rgba(0,0,0,0) 0 30px);z-index:1}.awayz-flight-result .content>div.flight-info .flight-locations>div{display:flex;flex-direction:column;text-align:center;flex:1;width:100%}.awayz-flight-result .content>div.flight-info .flight-locations>div.duration{flex-direction:row;align-items:center;justify-content:center;gap:.5rem}.awayz-flight-result .content>div.flight-info .flight-locations>div.duration p{opacity:.4}.awayz-flight-result .content>div.flight-info .flight-locations>div.flight-location{text-align:left;align-items:flex-start;max-width:fit-content}.awayz-flight-result .content>div.flight-info .flight-locations>div:last-child{text-align:right;align-items:flex-end;max-width:fit-content}.awayz-flight-result .content>div.flight-footer{flex:2;display:flex;justify-content:space-between;align-items:center;padding:1rem;gap:1rem;background-color:var(--background, #f9fdff);border-top:1px solid var(--border, #e7eef3)}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer{flex-direction:column}}.awayz-flight-result .content>div.flight-footer .view-details{display:flex;align-items:center;gap:1rem;cursor:pointer;-webkit-user-select:none;user-select:none}.awayz-flight-result .content>div.flight-footer .booking-options{display:flex;justify-content:flex-end;gap:1rem;font-size:.8rem;flex:3}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer .booking-options{width:100%;flex-direction:column}}.awayz-flight-result .content>div.flight-footer .booking-options .offer-expiry{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:50rem;padding:1rem;gap:1rem;transition:all .2s ease-in-out;background-color:var(--foreground, #fff);font-weight:600}.awayz-flight-result .content>div.flight-footer .booking-options .offer-expiry span{display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--warning, #ff7f2f)}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:50rem;padding:.5rem 1rem;gap:2rem;cursor:pointer;transition:all .2s ease-in-out;background-color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value img{height:30px;max-width:100px}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value>div{display:flex;flex-direction:column}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value label{font-size:.7rem;font-weight:600}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value{position:relative}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value .currency-conversion{display:flex}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value .best-value-flag{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:.25rem;position:absolute;right:-1px;padding:.25rem .5rem;top:-1rem;color:var(--foreground, #fff);border-radius:50rem;font-weight:600;background-color:var(--primary, #1495f2);border-bottom-right-radius:0;font-size:.7rem}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value .best-value-flag p{color:var(--foreground, #fff)}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value.show-best-value-flag{border-color:var(--primary, #1495f2);border-top-right-radius:0}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value p{display:flex;gap:.25rem}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value:first-of-type{grid-area:price}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value:last-of-type{grid-area:points}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value:hover{background-color:var(--background, #f9fdff)}@media screen and (max-width: 1024px){.awayz-flight-result .content>div.flight-footer .booking-options .amount-value{flex-direction:row;justify-content:space-between;align-items:center}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value{text-align:center}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value.amount-value img{height:30px;max-width:80px}.awayz-flight-result .content>div.flight-footer .booking-options .amount-value p:last-child{font-weight:600;font-size:1rem}}.awayz-flight-result .content .flight-detail-container{display:flex;gap:1rem;justify-content:space-between}@media screen and (max-width: 1024px){.awayz-flight-result .content .flight-detail-container{width:100%}}.awayz-flight-result .content .flight-detail:not(:first-of-type){border-left:1px solid var(--border, #e7eef3);padding:0 2rem}@media screen and (max-width: 1024px){.awayz-flight-result .content .flight-detail:not(:first-of-type){padding:0 .5rem}}.awayz-flight-result .content .flight-detail p{font-size:.8rem}.awayz-flight-result .content .flight-detail p:first-of-type{font-size:.7rem;color:var(--text-light, rgba(37, 46, 52, .2509803922))}.awayz-flight-result .content .flight-detail p:last-of-type{font-weight:600}.awayz-flight-result .content .flight-detail p.chevron-text{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.awayz-flight-result .flight-details{display:grid;grid-template-rows:0fr;transition:all .2s ease-in-out;background-color:var(--foreground, #fff);border-top:1px solid var(--border, #e7eef3);border-width:0}.awayz-flight-result .flight-details.is-open{grid-template-rows:1fr;padding:1rem;border-top:1px solid var(--border, #e7eef3)}.awayz-flight-result .flight-details.is-open .inner{padding:1rem 0;scale:1;opacity:1}.awayz-flight-result .flight-details .inner{overflow:hidden;transition:all .2s ease-in-out;scale:.9;opacity:0;transform-origin:top center}.awayz-flight-result:hover{cursor:pointer}
@@ -1,10 +1,10 @@
1
1
  import "react/jsx-runtime";
2
2
  import "@odynn/awayz-core";
3
3
  import "@tanstack/react-query";
4
- import { F as x } from "../../FlightResult-Ci2XCEPV.js";
4
+ import { F as x } from "../../FlightResult-Caes2vM3.js";
5
5
  import "../../index-7zRjF0bU.js";
6
6
  import "../../FlightItinerary-Dy-2zMYt.js";
7
- import "../../enums-DxmoBOKL.js";
7
+ import "../../enums-D9aZqf8G.js";
8
8
  import "../../arrayExtensions-DFLvtO8l.js";
9
9
  import "react";
10
10
  import "../../moment-BGjjqtLQ.js";
@@ -1,4 +1,4 @@
1
- import { F as l } from "../FlightResult-Ci2XCEPV.js";
1
+ import { F as l } from "../FlightResult-Caes2vM3.js";
2
2
  export {
3
3
  l as FlightResult
4
4
  };
@@ -1,4 +1,4 @@
1
- var s = /* @__PURE__ */ ((r) => (r.GET_AIRPORTS = "/flights/search/airports", r.CASH_FLIGHT_SEARCH = "/flights/search/one-way/cash", r.CASH_OUTBOUND_SEARCH = "/flights/search/multi/outbound", r.CASH_INBOUND_SEARCH = "/flights/search/multi/inbound", r.ROUND_TRIP_FARES = "/flights/search/multi/fares", r))(s || {}), a = /* @__PURE__ */ ((r) => (r.GET_AWARDS = "user/rewards", r.GET_USER_CARDS = "user/cards", r))(a || {});
1
+ var s = /* @__PURE__ */ ((r) => (r.GET_AIRPORTS = "/flights/search/airports", r.CASH_FLIGHT_SEARCH = "/flights/search/multi/one-way/cash/", r.CASH_POINTS_FLIGHT_SEARCH = "/flights/search/multi/one-way/points-cash/", r.CASH_OUTBOUND_SEARCH = "/flights/search/multi/outbound", r.CASH_INBOUND_SEARCH = "/flights/search/multi/inbound", r.ROUND_TRIP_FARES = "/flights/search/multi/fares", r))(s || {}), a = /* @__PURE__ */ ((r) => (r.GET_AWARDS = "user/rewards", r.GET_USER_CARDS = "user/cards", r))(a || {});
2
2
  export {
3
3
  s as EFlightEndpoint,
4
4
  a as EWalletEndpoints
@@ -0,0 +1,4 @@
1
+ var R = /* @__PURE__ */ ((S) => (S.LOCATIONS = "LOCATIONS", S.CHECK_USER = "CHECK_USER", S.USER_REGIONS = "USER_REGIONS", S.CONVERT_CURRENCY = "CONVERT_CURRENCY", S.CLIENT_COMPONENT_KEY = "CLIENT_COMPONENT_KEY", S.SEARCH_LIMIT = "SEARCH_LIMIT", S.PROGRAMS = "PROGRAMS", S.USER_PROGRAMS = "USER_PROGRAMS", S.LINKED_USER_PROGRAMS = "LINKED_USER_PROGRAMS", S.BANKS = "BANKS", S.CARDS = "CARDS", S.USER_CARDS = "USER_CARDS", S.TRIPS = "TRIPS", S.UNCATEGORISED_BOOKINGS = "UNCATEGORISED_BOOKINGS", S.BOOKING = "BOOKING", S.VALUE_CENTS = "VALUE_CENTS", S.AVAILABILITY_ALERTS = "AVAILABILITY_ALERTS", S.ALERT_NOTIFICATIONS = "ALERT_NOTIFICATIONS", S.POINTS_AS_CASH = "POINTS_AS_CASH", S))(R || {});
2
+ export {
3
+ R as E
4
+ };