@planetaexo/design-system 0.68.1 → 0.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1503,7 +1503,7 @@ function AdventureCard({
1503
1503
  ] }),
1504
1504
  adventure.rooms && adventure.rooms.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-5 mt-1", children: adventure.rooms.map((room, i) => {
1505
1505
  var _a2, _b2;
1506
- const bedLabel = (_b2 = (_a2 = adventure.bedArrangementLabels) == null ? void 0 : _a2[room.bedArrangement]) != null ? _b2 : room.bedArrangement === "DOUBLE" ? "Double" : room.bedArrangement === "TWIN" ? "Twin" : room.bedArrangement === "SINGLE" ? "Single" : "Triple";
1506
+ const bedLabel = (_b2 = (_a2 = adventure.bedArrangementLabels) == null ? void 0 : _a2[room.bedArrangement]) != null ? _b2 : room.bedArrangement === "DOUBLE" ? "Double" : room.bedArrangement === "TWIN" ? "Twin" : room.bedArrangement === "SINGLE" ? "Single" : room.bedArrangement === "TRIPLE" ? "Triple" : room.bedArrangement === "QUADRUPLE" ? "Quadruple" : "Quintuple";
1507
1507
  const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.accommodationName) : `Accommodation: ${room.accommodationName}`;
1508
1508
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
1509
1509
  /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-lg font-semibold text-foreground font-heading", children: heading }),
@@ -4148,7 +4148,9 @@ var DEFAULT_LABELS = {
4148
4148
  DOUBLE: "Double",
4149
4149
  TWIN: "Twin",
4150
4150
  SINGLE: "Single",
4151
- TRIPLE: "Triple"
4151
+ TRIPLE: "Triple",
4152
+ QUADRUPLE: "Quadruple",
4153
+ QUINTUPLE: "Quintuple"
4152
4154
  }
4153
4155
  };
4154
4156
  function BookingAdventureCard({
@@ -4175,7 +4177,7 @@ function BookingAdventureCard({
4175
4177
  labels,
4176
4178
  className
4177
4179
  }) {
4178
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
4180
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
4179
4181
  const l = {
4180
4182
  travellersHeading: (_a = labels == null ? void 0 : labels.travellersHeading) != null ? _a : DEFAULT_LABELS.travellersHeading,
4181
4183
  detailsHeading: (_b = labels == null ? void 0 : labels.detailsHeading) != null ? _b : DEFAULT_LABELS.detailsHeading,
@@ -4195,7 +4197,9 @@ function BookingAdventureCard({
4195
4197
  DOUBLE: (_p = (_o = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _o.DOUBLE) != null ? _p : DEFAULT_LABELS.bedArrangementLabels.DOUBLE,
4196
4198
  TWIN: (_r = (_q = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _q.TWIN) != null ? _r : DEFAULT_LABELS.bedArrangementLabels.TWIN,
4197
4199
  SINGLE: (_t = (_s = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _s.SINGLE) != null ? _t : DEFAULT_LABELS.bedArrangementLabels.SINGLE,
4198
- TRIPLE: (_v = (_u = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _u.TRIPLE) != null ? _v : DEFAULT_LABELS.bedArrangementLabels.TRIPLE
4200
+ TRIPLE: (_v = (_u = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _u.TRIPLE) != null ? _v : DEFAULT_LABELS.bedArrangementLabels.TRIPLE,
4201
+ QUADRUPLE: (_x = (_w = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _w.QUADRUPLE) != null ? _x : DEFAULT_LABELS.bedArrangementLabels.QUADRUPLE,
4202
+ QUINTUPLE: (_z = (_y = labels == null ? void 0 : labels.bedArrangementLabels) == null ? void 0 : _y.QUINTUPLE) != null ? _z : DEFAULT_LABELS.bedArrangementLabels.QUINTUPLE
4199
4203
  }
4200
4204
  };
4201
4205
  const hasTravellers = !!travellers && travellers.length > 0;
@@ -5007,16 +5011,20 @@ var DEFAULT_BED_LABELS = {
5007
5011
  DOUBLE: "Double",
5008
5012
  TWIN: "Twin",
5009
5013
  SINGLE: "Single",
5010
- TRIPLE: "Triple"
5014
+ TRIPLE: "Triple",
5015
+ QUADRUPLE: "Quadruple",
5016
+ QUINTUPLE: "Quintuple"
5011
5017
  };
5012
5018
  function BookingSummary({ heading, rows, rooms, roomsHeading, bedArrangementLabels, footer, className }) {
5013
- var _a, _b, _c, _d, _e, _f;
5019
+ var _a, _b, _c, _d, _e, _f, _g, _h;
5014
5020
  const hasRooms = !!rooms && rooms.length > 0;
5015
5021
  const bedLabels = {
5016
5022
  DOUBLE: (_a = bedArrangementLabels == null ? void 0 : bedArrangementLabels.DOUBLE) != null ? _a : DEFAULT_BED_LABELS.DOUBLE,
5017
5023
  TWIN: (_b = bedArrangementLabels == null ? void 0 : bedArrangementLabels.TWIN) != null ? _b : DEFAULT_BED_LABELS.TWIN,
5018
5024
  SINGLE: (_c = bedArrangementLabels == null ? void 0 : bedArrangementLabels.SINGLE) != null ? _c : DEFAULT_BED_LABELS.SINGLE,
5019
- TRIPLE: (_d = bedArrangementLabels == null ? void 0 : bedArrangementLabels.TRIPLE) != null ? _d : DEFAULT_BED_LABELS.TRIPLE
5025
+ TRIPLE: (_d = bedArrangementLabels == null ? void 0 : bedArrangementLabels.TRIPLE) != null ? _d : DEFAULT_BED_LABELS.TRIPLE,
5026
+ QUADRUPLE: (_e = bedArrangementLabels == null ? void 0 : bedArrangementLabels.QUADRUPLE) != null ? _e : DEFAULT_BED_LABELS.QUADRUPLE,
5027
+ QUINTUPLE: (_f = bedArrangementLabels == null ? void 0 : bedArrangementLabels.QUINTUPLE) != null ? _f : DEFAULT_BED_LABELS.QUINTUPLE
5020
5028
  };
5021
5029
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, style: { marginBottom: "24px" }, children: [
5022
5030
  heading && /* @__PURE__ */ jsxRuntime.jsx(
@@ -5141,8 +5149,8 @@ function BookingSummary({ heading, rows, rooms, roomsHeading, bedArrangementLabe
5141
5149
  style: {
5142
5150
  padding: "12px 20px",
5143
5151
  textAlign: "center",
5144
- fontWeight: (_e = footer.fontWeight) != null ? _e : 600,
5145
- color: (_f = footer.color) != null ? _f : emailTokens.foreground,
5152
+ fontWeight: (_g = footer.fontWeight) != null ? _g : 600,
5153
+ color: (_h = footer.color) != null ? _h : emailTokens.foreground,
5146
5154
  backgroundColor: footer.backgroundColor
5147
5155
  },
5148
5156
  children: footer.text
@@ -5284,7 +5292,9 @@ var DEFAULT_LABELS3 = {
5284
5292
  DOUBLE: "Double",
5285
5293
  TWIN: "Twin",
5286
5294
  SINGLE: "Single",
5287
- TRIPLE: "Triple"
5295
+ TRIPLE: "Triple",
5296
+ QUADRUPLE: "Quadruple",
5297
+ QUINTUPLE: "Quintuple"
5288
5298
  },
5289
5299
  paymentSummaryHeading: "\u{1F4B0} Payment Summary",
5290
5300
  paymentDetailsHeading: "Payment Details",
@@ -6114,6 +6124,228 @@ function CancellationRequestReceivedEmail({
6114
6124
  }
6115
6125
  );
6116
6126
  }
6127
+ var INLINE_LINK_STYLE3 = {
6128
+ color: emailTokens.primary,
6129
+ textDecoration: "underline"
6130
+ };
6131
+ function renderWhatsappLink3(contact, label) {
6132
+ if (contact.whatsappUrl) {
6133
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
6134
+ }
6135
+ return label;
6136
+ }
6137
+ function renderEmailLink3(contact, label) {
6138
+ if (contact.email) {
6139
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
6140
+ }
6141
+ return label;
6142
+ }
6143
+ function hasText3(s) {
6144
+ return typeof s === "string" && s.trim().length > 0;
6145
+ }
6146
+ var DEFAULT_LABELS7 = {
6147
+ logoAlt: "PlanetaEXO",
6148
+ greeting: (recipientName) => `Hi ${recipientName},`,
6149
+ title: "Part of your booking has been cancelled",
6150
+ intro: (bookingRef) => `We're writing to let you know that part of your booking ${bookingRef} has been cancelled. The rest of your booking remains active.`,
6151
+ removedHeading: "What was removed",
6152
+ refundHeading: "Refund registered",
6153
+ refundAmountLabel: "Refund amount",
6154
+ refundNote: "As per our cancellation policy.",
6155
+ closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6156
+ "If you have any questions, your agent ",
6157
+ agentName,
6158
+ " is available via",
6159
+ " ",
6160
+ renderWhatsappLink3(contact, "WhatsApp"),
6161
+ " or ",
6162
+ renderEmailLink3(contact, "email"),
6163
+ "."
6164
+ ] }),
6165
+ closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
6166
+ teamSignature: "The PlanetaEXO Team"
6167
+ };
6168
+ function BookingPartialCancellationEmail({
6169
+ recipientName,
6170
+ bookingRef,
6171
+ removedItems,
6172
+ refundAmount,
6173
+ agentName,
6174
+ agentContactLinks,
6175
+ logoUrl,
6176
+ labels,
6177
+ className
6178
+ }) {
6179
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
6180
+ const showRefund = hasText3(refundAmount);
6181
+ const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
6182
+ const contact = agentContactLinks != null ? agentContactLinks : {};
6183
+ const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
6184
+ const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6185
+ "hr",
6186
+ {
6187
+ style: {
6188
+ border: "none",
6189
+ borderTop: `1px solid ${emailTokens.border}`,
6190
+ marginTop: 0,
6191
+ marginBottom: "24px"
6192
+ }
6193
+ }
6194
+ );
6195
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6196
+ "div",
6197
+ {
6198
+ style: {
6199
+ maxWidth: "576px",
6200
+ margin: "0 auto",
6201
+ backgroundColor: emailTokens.white,
6202
+ color: emailTokens.foreground,
6203
+ fontFamily: emailTokens.fontFamily,
6204
+ fontSize: "16px",
6205
+ lineHeight: "1.6",
6206
+ border: `1px solid ${emailTokens.border}`,
6207
+ borderRadius: "12px",
6208
+ overflow: "hidden",
6209
+ padding: "32px"
6210
+ },
6211
+ className,
6212
+ children: [
6213
+ /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6214
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
6215
+ /* @__PURE__ */ jsxRuntime.jsx(
6216
+ "p",
6217
+ {
6218
+ style: {
6219
+ marginTop: 0,
6220
+ marginBottom: "16px",
6221
+ fontWeight: 700,
6222
+ color: emailTokens.foreground,
6223
+ fontSize: "20px",
6224
+ lineHeight: "1.3",
6225
+ fontFamily: emailTokens.fontFamily
6226
+ },
6227
+ children: l.title
6228
+ }
6229
+ ),
6230
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
6231
+ sectionDivider,
6232
+ /* @__PURE__ */ jsxRuntime.jsxs(
6233
+ "div",
6234
+ {
6235
+ style: {
6236
+ marginBottom: "24px",
6237
+ padding: "16px 20px",
6238
+ borderRadius: "12px",
6239
+ border: `1px solid ${emailTokens.border}`,
6240
+ backgroundColor: emailTokens.muted
6241
+ },
6242
+ children: [
6243
+ /* @__PURE__ */ jsxRuntime.jsx(
6244
+ "p",
6245
+ {
6246
+ style: {
6247
+ margin: "0 0 12px 0",
6248
+ fontSize: "12px",
6249
+ fontWeight: 700,
6250
+ color: emailTokens.mutedForeground,
6251
+ textTransform: "uppercase",
6252
+ letterSpacing: "0.08em",
6253
+ fontFamily: emailTokens.fontFamily
6254
+ },
6255
+ children: l.removedHeading
6256
+ }
6257
+ ),
6258
+ removedItems.map((item, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: i < removedItems.length - 1 ? "10px" : 0 }, children: [
6259
+ /* @__PURE__ */ jsxRuntime.jsx(
6260
+ "p",
6261
+ {
6262
+ style: {
6263
+ margin: 0,
6264
+ fontSize: "15px",
6265
+ fontWeight: 700,
6266
+ color: emailTokens.foreground
6267
+ },
6268
+ children: item.title
6269
+ }
6270
+ ),
6271
+ hasText3(item.detail) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: "2px 0 0 0", fontSize: "14px", color: emailTokens.bodyText }, children: item.detail })
6272
+ ] }, i))
6273
+ ]
6274
+ }
6275
+ ),
6276
+ showRefund && /* @__PURE__ */ jsxRuntime.jsxs(
6277
+ "div",
6278
+ {
6279
+ style: {
6280
+ marginBottom: "24px",
6281
+ padding: "16px 20px",
6282
+ borderRadius: "12px",
6283
+ border: `1px solid ${emailTokens.border}`,
6284
+ backgroundColor: emailTokens.muted
6285
+ },
6286
+ children: [
6287
+ /* @__PURE__ */ jsxRuntime.jsx(
6288
+ "p",
6289
+ {
6290
+ style: {
6291
+ margin: "0 0 8px 0",
6292
+ fontSize: "12px",
6293
+ fontWeight: 700,
6294
+ color: emailTokens.mutedForeground,
6295
+ textTransform: "uppercase",
6296
+ letterSpacing: "0.08em",
6297
+ fontFamily: emailTokens.fontFamily
6298
+ },
6299
+ children: l.refundHeading
6300
+ }
6301
+ ),
6302
+ /* @__PURE__ */ jsxRuntime.jsx(
6303
+ "table",
6304
+ {
6305
+ cellPadding: 0,
6306
+ cellSpacing: 0,
6307
+ style: { width: "100%", borderCollapse: "collapse" },
6308
+ children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
6309
+ /* @__PURE__ */ jsxRuntime.jsx("td", { style: { fontSize: "14px", color: emailTokens.bodyText, verticalAlign: "middle" }, children: l.refundAmountLabel }),
6310
+ /* @__PURE__ */ jsxRuntime.jsx(
6311
+ "td",
6312
+ {
6313
+ style: {
6314
+ fontSize: "18px",
6315
+ fontWeight: 700,
6316
+ color: emailTokens.foreground,
6317
+ textAlign: "right",
6318
+ verticalAlign: "middle",
6319
+ whiteSpace: "nowrap"
6320
+ },
6321
+ children: refundAmount
6322
+ }
6323
+ )
6324
+ ] }) })
6325
+ }
6326
+ ),
6327
+ hasText3(l.refundNote) && /* @__PURE__ */ jsxRuntime.jsx(
6328
+ "p",
6329
+ {
6330
+ style: {
6331
+ margin: "8px 0 0 0",
6332
+ fontSize: "12px",
6333
+ color: emailTokens.mutedForeground,
6334
+ fontStyle: "italic"
6335
+ },
6336
+ children: l.refundNote
6337
+ }
6338
+ )
6339
+ ]
6340
+ }
6341
+ ),
6342
+ sectionDivider,
6343
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: closingNode }),
6344
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
6345
+ ]
6346
+ }
6347
+ );
6348
+ }
6117
6349
  function RegistrationProgressBar({
6118
6350
  tone,
6119
6351
  pct,
@@ -6176,23 +6408,23 @@ function RegistrationProgressBar({
6176
6408
  }
6177
6409
  ) });
6178
6410
  }
6179
- var INLINE_LINK_STYLE3 = {
6411
+ var INLINE_LINK_STYLE4 = {
6180
6412
  color: emailTokens.primary,
6181
6413
  textDecoration: "underline"
6182
6414
  };
6183
- function renderWhatsappLink3(contact, label) {
6415
+ function renderWhatsappLink4(contact, label) {
6184
6416
  if (contact.whatsappUrl) {
6185
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
6417
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6186
6418
  }
6187
6419
  return label;
6188
6420
  }
6189
- function renderEmailLink3(contact, label) {
6421
+ function renderEmailLink4(contact, label) {
6190
6422
  if (contact.email) {
6191
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
6423
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6192
6424
  }
6193
6425
  return label;
6194
6426
  }
6195
- var DEFAULT_LABELS7 = {
6427
+ var DEFAULT_LABELS8 = {
6196
6428
  logoAlt: "PlanetaEXO",
6197
6429
  greeting: (n) => `Hi ${n},`,
6198
6430
  intermediateHello: "Hope you're doing well.",
@@ -6211,9 +6443,9 @@ var DEFAULT_LABELS7 = {
6211
6443
  "If you need any assistance with the traveller registrations, feel free to contact your agent ",
6212
6444
  agentName,
6213
6445
  " via ",
6214
- renderWhatsappLink3(contact, "WhatsApp"),
6446
+ renderWhatsappLink4(contact, "WhatsApp"),
6215
6447
  " or ",
6216
- renderEmailLink3(contact, "email"),
6448
+ renderEmailLink4(contact, "email"),
6217
6449
  "."
6218
6450
  ] }),
6219
6451
  closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
@@ -6286,7 +6518,7 @@ var DEFAULT_LABELS7 = {
6286
6518
  }
6287
6519
  }
6288
6520
  };
6289
- function hasText3(s) {
6521
+ function hasText4(s) {
6290
6522
  return typeof s === "string" && s.trim().length > 0;
6291
6523
  }
6292
6524
  function hasItems(arr) {
@@ -6306,12 +6538,12 @@ function RegistrationReminderEmail({
6306
6538
  className
6307
6539
  }) {
6308
6540
  var _a, _b, _c, _d, _e, _f, _g, _h;
6309
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
6541
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
6310
6542
  variants: {
6311
- d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
6312
- d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
6313
- d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
6314
- d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
6543
+ d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
6544
+ d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
6545
+ d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
6546
+ d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
6315
6547
  }
6316
6548
  });
6317
6549
  const v = l.variants[slug];
@@ -6332,14 +6564,14 @@ function RegistrationReminderEmail({
6332
6564
  { label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
6333
6565
  ...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
6334
6566
  ];
6335
- const showPleaseNote = hasText3(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
6336
- const showBookerCoord = hasText3(v.bookerCoordinationNote);
6337
- const showEarlyBenefit = hasText3(v.earlyCompletionBenefit);
6338
- const showImportant = hasText3(v.importantNote);
6339
- const showFinalTagline = hasText3(v.finalReminderTagline);
6340
- hasText3(v.multiTravellerNote);
6341
- const showDisregard = hasText3(v.disregardIfCompleted);
6342
- const showClosingThanks = hasText3(v.closingThanks);
6567
+ const showPleaseNote = hasText4(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
6568
+ const showBookerCoord = hasText4(v.bookerCoordinationNote);
6569
+ const showEarlyBenefit = hasText4(v.earlyCompletionBenefit);
6570
+ const showImportant = hasText4(v.importantNote);
6571
+ const showFinalTagline = hasText4(v.finalReminderTagline);
6572
+ hasText4(v.multiTravellerNote);
6573
+ const showDisregard = hasText4(v.disregardIfCompleted);
6574
+ const showClosingThanks = hasText4(v.closingThanks);
6343
6575
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6344
6576
  "hr",
6345
6577
  {
@@ -6351,7 +6583,7 @@ function RegistrationReminderEmail({
6351
6583
  }
6352
6584
  }
6353
6585
  );
6354
- const hasIntroBlock = hasText3(v.intro) || hasText3(v.contextNote);
6586
+ const hasIntroBlock = hasText4(v.intro) || hasText4(v.contextNote);
6355
6587
  const hasPleaseNote = showPleaseNote;
6356
6588
  const hasD7Highlight = showImportant && slug === "d_minus_7";
6357
6589
  const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
@@ -6375,9 +6607,9 @@ function RegistrationReminderEmail({
6375
6607
  children: [
6376
6608
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6377
6609
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
6378
- hasText3(l.intermediateHello) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
6379
- hasText3(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
6380
- hasText3(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6610
+ hasText4(l.intermediateHello) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
6611
+ hasText4(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
6612
+ hasText4(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6381
6613
  hasIntroBlock && sectionDivider,
6382
6614
  slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
6383
6615
  hasItems(adventures) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -6395,7 +6627,7 @@ function RegistrationReminderEmail({
6395
6627
  children: l.progressHeader
6396
6628
  }
6397
6629
  ),
6398
- hasText3(v.progressIntro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
6630
+ hasText4(v.progressIntro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
6399
6631
  adventures.map((adv, i) => /* @__PURE__ */ jsxRuntime.jsxs(
6400
6632
  "div",
6401
6633
  {
@@ -6531,23 +6763,23 @@ function RegistrationReminderEmail({
6531
6763
  }
6532
6764
  );
6533
6765
  }
6534
- var INLINE_LINK_STYLE4 = {
6766
+ var INLINE_LINK_STYLE5 = {
6535
6767
  color: emailTokens.primary,
6536
6768
  textDecoration: "underline"
6537
6769
  };
6538
- function renderWhatsappLink4(contact, label) {
6770
+ function renderWhatsappLink5(contact, label) {
6539
6771
  if (contact.whatsappUrl) {
6540
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6772
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6541
6773
  }
6542
6774
  return label;
6543
6775
  }
6544
- function renderEmailLink4(contact, label) {
6776
+ function renderEmailLink5(contact, label) {
6545
6777
  if (contact.email) {
6546
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6778
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
6547
6779
  }
6548
6780
  return label;
6549
6781
  }
6550
- var DEFAULT_LABELS8 = {
6782
+ var DEFAULT_LABELS9 = {
6551
6783
  logoAlt: "PlanetaEXO",
6552
6784
  greeting: (n) => `Hi ${n},`,
6553
6785
  tripDetailsHeader: "\u{1F4CB} Trip details",
@@ -6563,9 +6795,9 @@ var DEFAULT_LABELS8 = {
6563
6795
  "If you have questions, your agent ",
6564
6796
  agentName,
6565
6797
  " is available via ",
6566
- renderWhatsappLink4(contact, "WhatsApp"),
6798
+ renderWhatsappLink5(contact, "WhatsApp"),
6567
6799
  " or ",
6568
- renderEmailLink4(contact, "email"),
6800
+ renderEmailLink5(contact, "email"),
6569
6801
  "."
6570
6802
  ] }),
6571
6803
  closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
@@ -6613,7 +6845,7 @@ var DEFAULT_LABELS8 = {
6613
6845
  }
6614
6846
  }
6615
6847
  };
6616
- function hasText4(s) {
6848
+ function hasText5(s) {
6617
6849
  return typeof s === "string" && s.trim().length > 0;
6618
6850
  }
6619
6851
  function RegistrationReminderIndividualEmail({
@@ -6634,12 +6866,12 @@ function RegistrationReminderIndividualEmail({
6634
6866
  className
6635
6867
  }) {
6636
6868
  var _a, _b, _c, _d, _e, _f, _g, _h;
6637
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
6869
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels), {
6638
6870
  variants: {
6639
- d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
6640
- d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
6641
- d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
6642
- d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
6871
+ d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
6872
+ d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
6873
+ d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
6874
+ d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
6643
6875
  }
6644
6876
  });
6645
6877
  const v = l.variants[slug];
@@ -6659,7 +6891,7 @@ function RegistrationReminderIndividualEmail({
6659
6891
  { label: l.leadTravellerLabel, value: leadTravellerName },
6660
6892
  { label: l.adventureLabel, value: adventureName },
6661
6893
  { label: l.startingDateLabel, value: startDateFormatted },
6662
- ...hasText4(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
6894
+ ...hasText5(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
6663
6895
  ];
6664
6896
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6665
6897
  "hr",
@@ -6694,7 +6926,7 @@ function RegistrationReminderIndividualEmail({
6694
6926
  children: [
6695
6927
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6696
6928
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
6697
- hasText4(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
6929
+ hasText5(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
6698
6930
  "p",
6699
6931
  {
6700
6932
  style: {
@@ -6709,8 +6941,8 @@ function RegistrationReminderIndividualEmail({
6709
6941
  }
6710
6942
  ),
6711
6943
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
6712
- hasText4(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6713
- slug === "d_minus_2" && (hasText4(v.finalReminderTagline) || hasText4(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
6944
+ hasText5(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6945
+ slug === "d_minus_2" && (hasText5(v.finalReminderTagline) || hasText5(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
6714
6946
  "div",
6715
6947
  {
6716
6948
  style: {
@@ -6722,23 +6954,23 @@ function RegistrationReminderIndividualEmail({
6722
6954
  color: "#7f1d1d"
6723
6955
  },
6724
6956
  children: [
6725
- hasText4(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
6957
+ hasText5(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
6726
6958
  "p",
6727
6959
  {
6728
6960
  style: {
6729
6961
  margin: 0,
6730
- marginBottom: hasText4(v.consequencesNote) ? "8px" : 0,
6962
+ marginBottom: hasText5(v.consequencesNote) ? "8px" : 0,
6731
6963
  fontWeight: 700
6732
6964
  },
6733
6965
  children: v.finalReminderTagline
6734
6966
  }
6735
6967
  ),
6736
- hasText4(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
6968
+ hasText5(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
6737
6969
  ]
6738
6970
  }
6739
6971
  ),
6740
6972
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
6741
- slug === "d_minus_7" && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
6973
+ slug === "d_minus_7" && hasText5(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
6742
6974
  "p",
6743
6975
  {
6744
6976
  style: {
@@ -6754,8 +6986,8 @@ function RegistrationReminderIndividualEmail({
6754
6986
  ),
6755
6987
  sectionDivider,
6756
6988
  /* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
6757
- (slug === "d_minus_30" || slug === "d_minus_15") && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
6758
- slug === "d_minus_2" && hasText4(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
6989
+ (slug === "d_minus_30" || slug === "d_minus_15") && hasText5(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
6990
+ slug === "d_minus_2" && hasText5(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
6759
6991
  "p",
6760
6992
  {
6761
6993
  style: {
@@ -6772,29 +7004,29 @@ function RegistrationReminderIndividualEmail({
6772
7004
  whatsappUrl: agent.whatsappUrl,
6773
7005
  email: agent.email
6774
7006
  }) : l.closingNoAgent }),
6775
- hasText4(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
7007
+ hasText5(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
6776
7008
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
6777
7009
  ]
6778
7010
  }
6779
7011
  );
6780
7012
  }
6781
- var INLINE_LINK_STYLE5 = {
7013
+ var INLINE_LINK_STYLE6 = {
6782
7014
  color: emailTokens.primary,
6783
7015
  textDecoration: "underline"
6784
7016
  };
6785
- function renderWhatsappLink5(contact, label) {
7017
+ function renderWhatsappLink6(contact, label) {
6786
7018
  if (contact.whatsappUrl) {
6787
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
7019
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
6788
7020
  }
6789
7021
  return label;
6790
7022
  }
6791
- function renderEmailLink5(contact, label) {
7023
+ function renderEmailLink6(contact, label) {
6792
7024
  if (contact.email) {
6793
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
7025
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
6794
7026
  }
6795
7027
  return label;
6796
7028
  }
6797
- var DEFAULT_LABELS9 = {
7029
+ var DEFAULT_LABELS10 = {
6798
7030
  logoAlt: "PlanetaEXO",
6799
7031
  greeting: (n) => `Hi ${n},`,
6800
7032
  introAllDone: (adv, dr) => `All travellers for ${adv} (${dr}) have completed their registration. Their consolidated registration details are attached, and below you'll find what they're most looking forward to.`,
@@ -6816,15 +7048,15 @@ var DEFAULT_LABELS9 = {
6816
7048
  agentName,
6817
7049
  " is available via",
6818
7050
  " ",
6819
- renderWhatsappLink5(contact, "WhatsApp"),
7051
+ renderWhatsappLink6(contact, "WhatsApp"),
6820
7052
  " or ",
6821
- renderEmailLink5(contact, "email"),
7053
+ renderEmailLink6(contact, "email"),
6822
7054
  "."
6823
7055
  ] }),
6824
7056
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
6825
7057
  teamSignature: "The PlanetaEXO Team"
6826
7058
  };
6827
- function hasText5(s) {
7059
+ function hasText6(s) {
6828
7060
  return typeof s === "string" && s.trim().length > 0;
6829
7061
  }
6830
7062
  function PartnerRegistrationCompleteEmail({
@@ -6844,14 +7076,14 @@ function PartnerRegistrationCompleteEmail({
6844
7076
  labels,
6845
7077
  className
6846
7078
  }) {
6847
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
7079
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
6848
7080
  const tripRows = [
6849
7081
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
6850
7082
  { label: l.adventureLabel, value: adventureName },
6851
7083
  { label: l.datesLabel, value: dateRange },
6852
7084
  { label: l.partnerLabel, value: partnerName },
6853
- ...hasText5(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
6854
- ...hasText5(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
7085
+ ...hasText6(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
7086
+ ...hasText6(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
6855
7087
  ];
6856
7088
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6857
7089
  "hr",
@@ -6885,7 +7117,7 @@ function PartnerRegistrationCompleteEmail({
6885
7117
  className,
6886
7118
  children: [
6887
7119
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6888
- hasText5(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
7120
+ hasText6(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
6889
7121
  "div",
6890
7122
  {
6891
7123
  style: {
@@ -6962,7 +7194,7 @@ function PartnerRegistrationCompleteEmail({
6962
7194
  }) })
6963
7195
  }
6964
7196
  ) : /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
6965
- pdfAttached && hasText5(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
7197
+ pdfAttached && hasText6(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
6966
7198
  "div",
6967
7199
  {
6968
7200
  style: {
@@ -6987,26 +7219,26 @@ function PartnerRegistrationCompleteEmail({
6987
7219
  }
6988
7220
  );
6989
7221
  }
6990
- var INLINE_LINK_STYLE6 = {
7222
+ var INLINE_LINK_STYLE7 = {
6991
7223
  color: emailTokens.primary,
6992
7224
  textDecoration: "underline"
6993
7225
  };
6994
- function renderWhatsappLink6(contact, label) {
7226
+ function renderWhatsappLink7(contact, label) {
6995
7227
  if (contact.whatsappUrl) {
6996
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
7228
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
6997
7229
  }
6998
7230
  return label;
6999
7231
  }
7000
- function renderEmailLink6(contact, label) {
7232
+ function renderEmailLink7(contact, label) {
7001
7233
  if (contact.email) {
7002
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
7234
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
7003
7235
  }
7004
7236
  return label;
7005
7237
  }
7006
- function hasText6(s) {
7238
+ function hasText7(s) {
7007
7239
  return typeof s === "string" && s.trim().length > 0;
7008
7240
  }
7009
- var DEFAULT_LABELS10 = {
7241
+ var DEFAULT_LABELS11 = {
7010
7242
  logoAlt: "PlanetaEXO",
7011
7243
  greeting: (n) => `Hi ${n},`,
7012
7244
  intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
@@ -7023,7 +7255,9 @@ var DEFAULT_LABELS10 = {
7023
7255
  DOUBLE: "Double",
7024
7256
  TWIN: "Twin",
7025
7257
  SINGLE: "Single",
7026
- TRIPLE: "Triple"
7258
+ TRIPLE: "Triple",
7259
+ QUADRUPLE: "Quadruple",
7260
+ QUINTUPLE: "Quintuple"
7027
7261
  },
7028
7262
  registrationPendingNotice: "The travellers' registration details will be sent to you as soon as all travellers have completed their forms.",
7029
7263
  mustReplyToConfirm: "Please reply to this email to confirm the booking.",
@@ -7032,9 +7266,9 @@ var DEFAULT_LABELS10 = {
7032
7266
  agentName,
7033
7267
  " is available via",
7034
7268
  " ",
7035
- renderWhatsappLink6(contact, "WhatsApp"),
7269
+ renderWhatsappLink7(contact, "WhatsApp"),
7036
7270
  " or ",
7037
- renderEmailLink6(contact, "email"),
7271
+ renderEmailLink7(contact, "email"),
7038
7272
  "."
7039
7273
  ] }),
7040
7274
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
@@ -7055,10 +7289,10 @@ function PartnerBookingCreatedEmail({
7055
7289
  labels,
7056
7290
  className
7057
7291
  }) {
7058
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
7292
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
7059
7293
  const summaryRows = [
7060
7294
  { label: l.bookerNameLabel, value: booker.name },
7061
- ...hasText6(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
7295
+ ...hasText7(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
7062
7296
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
7063
7297
  { label: l.adventureLabel, value: adventureName },
7064
7298
  { label: l.datesLabel, value: dateRange },
@@ -7095,7 +7329,7 @@ function PartnerBookingCreatedEmail({
7095
7329
  className,
7096
7330
  children: [
7097
7331
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
7098
- hasText6(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
7332
+ hasText7(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
7099
7333
  "div",
7100
7334
  {
7101
7335
  style: {
@@ -7154,7 +7388,7 @@ function PartnerBookingCreatedEmail({
7154
7388
  }
7155
7389
  );
7156
7390
  }
7157
- var DEFAULT_LABELS11 = {
7391
+ var DEFAULT_LABELS12 = {
7158
7392
  logoAlt: "PlanetaEXO",
7159
7393
  greeting: (name) => `Hi ${name},`,
7160
7394
  introMessage: "",
@@ -7197,7 +7431,7 @@ function PaymentReceiptEmail({
7197
7431
  labels,
7198
7432
  className
7199
7433
  }) {
7200
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
7434
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS12), labels);
7201
7435
  const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
7202
7436
  const interestRow = chargedAmount && chargedAmount !== amount;
7203
7437
  const receiptRows = [
@@ -7341,24 +7575,24 @@ function PaymentReceiptEmail({
7341
7575
  }
7342
7576
  );
7343
7577
  }
7344
- var INLINE_LINK_STYLE7 = {
7578
+ var INLINE_LINK_STYLE8 = {
7345
7579
  color: emailTokens.primary,
7346
7580
  textDecoration: "underline"
7347
7581
  };
7348
- function renderWhatsappLink7(contact, label) {
7582
+ function renderWhatsappLink8(contact, label) {
7349
7583
  if (contact.whatsappUrl) {
7350
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
7584
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE8, children: label });
7351
7585
  }
7352
7586
  return label;
7353
7587
  }
7354
- function renderEmailLink7(contact, label) {
7588
+ function renderEmailLink8(contact, label) {
7355
7589
  if (contact.email) {
7356
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
7590
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE8, children: label });
7357
7591
  }
7358
7592
  return label;
7359
7593
  }
7360
7594
  var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
7361
- var DEFAULT_LABELS12 = {
7595
+ var DEFAULT_LABELS13 = {
7362
7596
  logoAlt: "PlanetaEXO",
7363
7597
  greeting: (name) => `Hi ${name},`,
7364
7598
  intermediateHello: "Hope you're doing well.",
@@ -7373,9 +7607,9 @@ var DEFAULT_LABELS12 = {
7373
7607
  "If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
7374
7608
  agentName,
7375
7609
  " via ",
7376
- renderWhatsappLink7(contact, "WhatsApp"),
7610
+ renderWhatsappLink8(contact, "WhatsApp"),
7377
7611
  " or ",
7378
- renderEmailLink7(contact, "email"),
7612
+ renderEmailLink8(contact, "email"),
7379
7613
  "."
7380
7614
  ] }),
7381
7615
  closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
@@ -7419,9 +7653,9 @@ var DEFAULT_LABELS12 = {
7419
7653
  "If you are experiencing any issues with payment or need additional time, please contact your agent ",
7420
7654
  agentName,
7421
7655
  " via ",
7422
- renderWhatsappLink7(contact, "WhatsApp"),
7656
+ renderWhatsappLink8(contact, "WhatsApp"),
7423
7657
  " or ",
7424
- renderEmailLink7(contact, "email"),
7658
+ renderEmailLink8(contact, "email"),
7425
7659
  ". We'll be happy to assist."
7426
7660
  ] })
7427
7661
  }
@@ -7445,7 +7679,7 @@ function PaymentReminderEmail({
7445
7679
  }) {
7446
7680
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
7447
7681
  const lOverride = labels != null ? labels : {};
7448
- const variantDefaults = DEFAULT_LABELS12.variants[variant];
7682
+ const variantDefaults = DEFAULT_LABELS13.variants[variant];
7449
7683
  const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
7450
7684
  const variantLabels = {
7451
7685
  intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
@@ -7455,19 +7689,19 @@ function PaymentReminderEmail({
7455
7689
  closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
7456
7690
  };
7457
7691
  const l = {
7458
- logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS12.logoAlt,
7459
- greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS12.greeting,
7460
- intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS12.intermediateHello,
7461
- bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS12.bookingSummaryHeader,
7462
- amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS12.amountAlreadyPaidLabel,
7463
- remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS12.remainingBalanceDueLabel,
7464
- totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS12.totalBookingAmountLabel,
7465
- paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS12.paymentDetailsHeading,
7466
- ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS12.ctaLabel,
7467
- teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS12.teamSignature,
7468
- closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS12.closingAgent,
7469
- closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS12.closingNoAgent,
7470
- adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS12.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
7692
+ logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS13.logoAlt,
7693
+ greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS13.greeting,
7694
+ intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS13.intermediateHello,
7695
+ bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS13.bookingSummaryHeader,
7696
+ amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS13.amountAlreadyPaidLabel,
7697
+ remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS13.remainingBalanceDueLabel,
7698
+ totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS13.totalBookingAmountLabel,
7699
+ paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS13.paymentDetailsHeading,
7700
+ ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS13.ctaLabel,
7701
+ teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS13.teamSignature,
7702
+ closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS13.closingAgent,
7703
+ closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS13.closingNoAgent,
7704
+ adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS13.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
7471
7705
  };
7472
7706
  const ctaStyle = {
7473
7707
  display: "inline-block",
@@ -8748,7 +8982,7 @@ function validateCpf(value) {
8748
8982
  if (secondDigit !== parseInt(digits[10], 10)) return false;
8749
8983
  return true;
8750
8984
  }
8751
- var DEFAULT_LABELS13 = {
8985
+ var DEFAULT_LABELS14 = {
8752
8986
  formSubtitle: "To confirm your participation, please complete this short form. It's required for all travellers and helps us coordinate logistics with our local partners and tailor the experience to you.",
8753
8987
  detailsSectionTitle: "Your details",
8754
8988
  tripInfoSectionTitle: "Trip info",
@@ -9492,7 +9726,7 @@ function RegistrationForm({
9492
9726
  }) {
9493
9727
  var _a;
9494
9728
  const L = React32__namespace.useMemo(
9495
- () => __spreadValues(__spreadValues({}, DEFAULT_LABELS13), labels != null ? labels : {}),
9729
+ () => __spreadValues(__spreadValues({}, DEFAULT_LABELS14), labels != null ? labels : {}),
9496
9730
  [labels]
9497
9731
  );
9498
9732
  const sortedFields = React32__namespace.useMemo(
@@ -19138,6 +19372,7 @@ exports.BookingCreatedEmail = BookingCreatedEmail;
19138
19372
  exports.BookingDetails = BookingDetails;
19139
19373
  exports.BookingForm = BookingForm;
19140
19374
  exports.BookingOtpEmail = BookingOtpEmail;
19375
+ exports.BookingPartialCancellationEmail = BookingPartialCancellationEmail;
19141
19376
  exports.BookingPaymentConfirmationEmail = BookingPaymentConfirmationEmail;
19142
19377
  exports.BookingShell = BookingShell;
19143
19378
  exports.BookingSummary = BookingSummary;