@planetaexo/design-system 0.66.0 → 0.68.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.
package/dist/index.cjs CHANGED
@@ -1504,7 +1504,7 @@ function AdventureCard({
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
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";
1507
- const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.roomName) : `Accommodation: ${room.roomName}`;
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 }),
1510
1510
  room.imageUrl && // eslint-disable-next-line @next/next/no-img-element
@@ -1516,9 +1516,8 @@ function AdventureCard({
1516
1516
  className: "w-full h-auto max-w-full rounded"
1517
1517
  }
1518
1518
  ),
1519
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base font-semibold text-foreground", children: `${room.qty}\xD7 ${room.roomName}` }),
1520
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-sm text-foreground/70 flex items-center gap-2 flex-wrap", children: [
1521
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: room.accommodationName }),
1519
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-base font-semibold text-foreground flex items-center gap-2 flex-wrap", children: [
1520
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: `${room.qty}\xD7 ${room.roomName}` }),
1522
1521
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-block px-2 py-0.5 text-xs font-semibold bg-primary/10 text-primary rounded uppercase tracking-wide", children: bedLabel })
1523
1522
  ] }),
1524
1523
  room.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-foreground/70 leading-snug", children: room.description })
@@ -4577,7 +4576,7 @@ function BookingAdventureCard({
4577
4576
  lineHeight: "1.3",
4578
4577
  margin: "0 0 8px 0"
4579
4578
  },
4580
- children: l.accommodationRoomHeading(room.roomName)
4579
+ children: l.accommodationRoomHeading(room.accommodationName)
4581
4580
  }
4582
4581
  ),
4583
4582
  room.imageUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4606,27 +4605,23 @@ function BookingAdventureCard({
4606
4605
  children: `${room.qty}\xD7 ${room.roomName}`
4607
4606
  }
4608
4607
  ),
4609
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { fontSize: "12px", color: emailTokens.mutedForeground }, children: [
4610
- room.accommodationName,
4611
- /* @__PURE__ */ jsxRuntime.jsx(
4612
- "span",
4613
- {
4614
- style: {
4615
- display: "inline-block",
4616
- marginLeft: "8px",
4617
- padding: "1px 6px",
4618
- fontSize: "10px",
4619
- fontWeight: 600,
4620
- color: emailTokens.primary,
4621
- backgroundColor: emailTokens.primaryLight,
4622
- borderRadius: "4px",
4623
- textTransform: "uppercase",
4624
- letterSpacing: "0.05em"
4625
- },
4626
- children: l.bedArrangementLabels[room.bedArrangement]
4627
- }
4628
- )
4629
- ] }),
4608
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "12px", color: emailTokens.mutedForeground }, children: /* @__PURE__ */ jsxRuntime.jsx(
4609
+ "span",
4610
+ {
4611
+ style: {
4612
+ display: "inline-block",
4613
+ padding: "1px 6px",
4614
+ fontSize: "10px",
4615
+ fontWeight: 600,
4616
+ color: emailTokens.primary,
4617
+ backgroundColor: emailTokens.primaryLight,
4618
+ borderRadius: "4px",
4619
+ textTransform: "uppercase",
4620
+ letterSpacing: "0.05em"
4621
+ },
4622
+ children: l.bedArrangementLabels[room.bedArrangement]
4623
+ }
4624
+ ) }),
4630
4625
  room.description && /* @__PURE__ */ jsxRuntime.jsx(
4631
4626
  "div",
4632
4627
  {
@@ -5930,6 +5925,195 @@ function BookingCancellationEmail({
5930
5925
  }
5931
5926
  );
5932
5927
  }
5928
+ var INLINE_LINK_STYLE2 = {
5929
+ color: emailTokens.primary,
5930
+ textDecoration: "underline"
5931
+ };
5932
+ function renderWhatsappLink2(contact, label) {
5933
+ if (contact.whatsappUrl) {
5934
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
5935
+ }
5936
+ return label;
5937
+ }
5938
+ function renderEmailLink2(contact, label) {
5939
+ if (contact.email) {
5940
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
5941
+ }
5942
+ return label;
5943
+ }
5944
+ function hasText2(s) {
5945
+ return typeof s === "string" && s.trim().length > 0;
5946
+ }
5947
+ var DEFAULT_LABELS6 = {
5948
+ logoAlt: "PlanetaEXO",
5949
+ greeting: (recipientName) => `Hi ${recipientName},`,
5950
+ title: "We've received your cancellation request",
5951
+ intro: (bookingRef) => `We've received your request to cancel booking ${bookingRef}. Our team will review it according to our cancellation policy and get back to you within 2 business days.`,
5952
+ summaryHeading: "Your request",
5953
+ bookingNumberLabel: "Booking number",
5954
+ adventuresLabel: "Adventure",
5955
+ datesLabel: "Dates",
5956
+ travellersLabel: "Travellers",
5957
+ nextStepsHeading: "What happens next",
5958
+ nextStepsNote: "No action is needed from you right now. We'll be in touch soon with the next steps.",
5959
+ closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5960
+ "If you have any questions, your agent ",
5961
+ agentName,
5962
+ " is available via",
5963
+ " ",
5964
+ renderWhatsappLink2(contact, "WhatsApp"),
5965
+ " or ",
5966
+ renderEmailLink2(contact, "email"),
5967
+ "."
5968
+ ] }),
5969
+ closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
5970
+ teamSignature: "The PlanetaEXO Team"
5971
+ };
5972
+ function CancellationRequestReceivedEmail({
5973
+ recipientName,
5974
+ bookingRef,
5975
+ adventures,
5976
+ travellersCount,
5977
+ agentName,
5978
+ agentContactLinks,
5979
+ logoUrl,
5980
+ labels,
5981
+ className
5982
+ }) {
5983
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels);
5984
+ const adventureLines = adventures.map((a) => a.name).join("\n");
5985
+ const dateLines = adventures.map((a) => `${a.startDate} \u2013 ${a.endDate}`).join("\n");
5986
+ const summaryRows = [
5987
+ {
5988
+ label: l.bookingNumberLabel,
5989
+ value: `#${bookingRef}`,
5990
+ valueColor: emailTokens.primary
5991
+ },
5992
+ { label: l.adventuresLabel, value: adventureLines },
5993
+ { label: l.datesLabel, value: dateLines },
5994
+ { label: l.travellersLabel, value: travellersCount }
5995
+ ];
5996
+ const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
5997
+ const contact = agentContactLinks != null ? agentContactLinks : {};
5998
+ const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
5999
+ const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6000
+ "hr",
6001
+ {
6002
+ style: {
6003
+ border: "none",
6004
+ borderTop: `1px solid ${emailTokens.border}`,
6005
+ marginTop: 0,
6006
+ marginBottom: "24px"
6007
+ }
6008
+ }
6009
+ );
6010
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6011
+ "div",
6012
+ {
6013
+ style: {
6014
+ maxWidth: "576px",
6015
+ margin: "0 auto",
6016
+ backgroundColor: emailTokens.white,
6017
+ color: emailTokens.foreground,
6018
+ fontFamily: emailTokens.fontFamily,
6019
+ fontSize: "16px",
6020
+ lineHeight: "1.6",
6021
+ border: `1px solid ${emailTokens.border}`,
6022
+ borderRadius: "12px",
6023
+ overflow: "hidden",
6024
+ padding: "32px"
6025
+ },
6026
+ className,
6027
+ children: [
6028
+ /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6029
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
6030
+ /* @__PURE__ */ jsxRuntime.jsx(
6031
+ "p",
6032
+ {
6033
+ style: {
6034
+ marginTop: 0,
6035
+ marginBottom: "16px",
6036
+ fontWeight: 700,
6037
+ color: emailTokens.foreground,
6038
+ fontSize: "20px",
6039
+ lineHeight: "1.3",
6040
+ fontFamily: emailTokens.fontFamily
6041
+ },
6042
+ children: l.title
6043
+ }
6044
+ ),
6045
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
6046
+ sectionDivider,
6047
+ /* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
6048
+ (hasText2(l.nextStepsHeading) || hasText2(l.nextStepsNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
6049
+ "div",
6050
+ {
6051
+ style: {
6052
+ marginBottom: "24px",
6053
+ padding: "16px 20px",
6054
+ borderRadius: "12px",
6055
+ border: `1px solid ${emailTokens.border}`,
6056
+ backgroundColor: emailTokens.muted
6057
+ },
6058
+ children: [
6059
+ hasText2(l.nextStepsHeading) && /* @__PURE__ */ jsxRuntime.jsx(
6060
+ "p",
6061
+ {
6062
+ style: {
6063
+ margin: "0 0 8px 0",
6064
+ fontSize: "12px",
6065
+ fontWeight: 700,
6066
+ color: emailTokens.mutedForeground,
6067
+ textTransform: "uppercase",
6068
+ letterSpacing: "0.08em",
6069
+ fontFamily: emailTokens.fontFamily
6070
+ },
6071
+ children: l.nextStepsHeading
6072
+ }
6073
+ ),
6074
+ hasText2(l.nextStepsNote) && /* @__PURE__ */ jsxRuntime.jsx(
6075
+ "p",
6076
+ {
6077
+ style: {
6078
+ margin: 0,
6079
+ fontSize: "14px",
6080
+ color: emailTokens.bodyText
6081
+ },
6082
+ children: l.nextStepsNote
6083
+ }
6084
+ )
6085
+ ]
6086
+ }
6087
+ ),
6088
+ sectionDivider,
6089
+ /* @__PURE__ */ jsxRuntime.jsx(
6090
+ "p",
6091
+ {
6092
+ style: {
6093
+ marginBottom: "16px",
6094
+ fontSize: "14px",
6095
+ fontWeight: 700,
6096
+ color: emailTokens.bodyText
6097
+ },
6098
+ children: closingNode
6099
+ }
6100
+ ),
6101
+ /* @__PURE__ */ jsxRuntime.jsx(
6102
+ "p",
6103
+ {
6104
+ style: {
6105
+ marginTop: 0,
6106
+ marginBottom: 0,
6107
+ fontSize: "14px",
6108
+ color: emailTokens.bodyText
6109
+ },
6110
+ children: l.teamSignature
6111
+ }
6112
+ )
6113
+ ]
6114
+ }
6115
+ );
6116
+ }
5933
6117
  function RegistrationProgressBar({
5934
6118
  tone,
5935
6119
  pct,
@@ -5992,23 +6176,23 @@ function RegistrationProgressBar({
5992
6176
  }
5993
6177
  ) });
5994
6178
  }
5995
- var INLINE_LINK_STYLE2 = {
6179
+ var INLINE_LINK_STYLE3 = {
5996
6180
  color: emailTokens.primary,
5997
6181
  textDecoration: "underline"
5998
6182
  };
5999
- function renderWhatsappLink2(contact, label) {
6183
+ function renderWhatsappLink3(contact, label) {
6000
6184
  if (contact.whatsappUrl) {
6001
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
6185
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
6002
6186
  }
6003
6187
  return label;
6004
6188
  }
6005
- function renderEmailLink2(contact, label) {
6189
+ function renderEmailLink3(contact, label) {
6006
6190
  if (contact.email) {
6007
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
6191
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
6008
6192
  }
6009
6193
  return label;
6010
6194
  }
6011
- var DEFAULT_LABELS6 = {
6195
+ var DEFAULT_LABELS7 = {
6012
6196
  logoAlt: "PlanetaEXO",
6013
6197
  greeting: (n) => `Hi ${n},`,
6014
6198
  intermediateHello: "Hope you're doing well.",
@@ -6027,9 +6211,9 @@ var DEFAULT_LABELS6 = {
6027
6211
  "If you need any assistance with the traveller registrations, feel free to contact your agent ",
6028
6212
  agentName,
6029
6213
  " via ",
6030
- renderWhatsappLink2(contact, "WhatsApp"),
6214
+ renderWhatsappLink3(contact, "WhatsApp"),
6031
6215
  " or ",
6032
- renderEmailLink2(contact, "email"),
6216
+ renderEmailLink3(contact, "email"),
6033
6217
  "."
6034
6218
  ] }),
6035
6219
  closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
@@ -6102,7 +6286,7 @@ var DEFAULT_LABELS6 = {
6102
6286
  }
6103
6287
  }
6104
6288
  };
6105
- function hasText2(s) {
6289
+ function hasText3(s) {
6106
6290
  return typeof s === "string" && s.trim().length > 0;
6107
6291
  }
6108
6292
  function hasItems(arr) {
@@ -6122,12 +6306,12 @@ function RegistrationReminderEmail({
6122
6306
  className
6123
6307
  }) {
6124
6308
  var _a, _b, _c, _d, _e, _f, _g, _h;
6125
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
6309
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
6126
6310
  variants: {
6127
- d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
6128
- d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
6129
- d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
6130
- d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
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 : {})
6131
6315
  }
6132
6316
  });
6133
6317
  const v = l.variants[slug];
@@ -6148,14 +6332,14 @@ function RegistrationReminderEmail({
6148
6332
  { label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
6149
6333
  ...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
6150
6334
  ];
6151
- const showPleaseNote = hasText2(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
6152
- const showBookerCoord = hasText2(v.bookerCoordinationNote);
6153
- const showEarlyBenefit = hasText2(v.earlyCompletionBenefit);
6154
- const showImportant = hasText2(v.importantNote);
6155
- const showFinalTagline = hasText2(v.finalReminderTagline);
6156
- hasText2(v.multiTravellerNote);
6157
- const showDisregard = hasText2(v.disregardIfCompleted);
6158
- const showClosingThanks = hasText2(v.closingThanks);
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);
6159
6343
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6160
6344
  "hr",
6161
6345
  {
@@ -6167,7 +6351,7 @@ function RegistrationReminderEmail({
6167
6351
  }
6168
6352
  }
6169
6353
  );
6170
- const hasIntroBlock = hasText2(v.intro) || hasText2(v.contextNote);
6354
+ const hasIntroBlock = hasText3(v.intro) || hasText3(v.contextNote);
6171
6355
  const hasPleaseNote = showPleaseNote;
6172
6356
  const hasD7Highlight = showImportant && slug === "d_minus_7";
6173
6357
  const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
@@ -6191,9 +6375,9 @@ function RegistrationReminderEmail({
6191
6375
  children: [
6192
6376
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6193
6377
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
6194
- hasText2(l.intermediateHello) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
6195
- hasText2(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
6196
- hasText2(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
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 }),
6197
6381
  hasIntroBlock && sectionDivider,
6198
6382
  slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
6199
6383
  hasItems(adventures) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -6211,7 +6395,7 @@ function RegistrationReminderEmail({
6211
6395
  children: l.progressHeader
6212
6396
  }
6213
6397
  ),
6214
- hasText2(v.progressIntro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
6398
+ hasText3(v.progressIntro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
6215
6399
  adventures.map((adv, i) => /* @__PURE__ */ jsxRuntime.jsxs(
6216
6400
  "div",
6217
6401
  {
@@ -6347,23 +6531,23 @@ function RegistrationReminderEmail({
6347
6531
  }
6348
6532
  );
6349
6533
  }
6350
- var INLINE_LINK_STYLE3 = {
6534
+ var INLINE_LINK_STYLE4 = {
6351
6535
  color: emailTokens.primary,
6352
6536
  textDecoration: "underline"
6353
6537
  };
6354
- function renderWhatsappLink3(contact, label) {
6538
+ function renderWhatsappLink4(contact, label) {
6355
6539
  if (contact.whatsappUrl) {
6356
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
6540
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6357
6541
  }
6358
6542
  return label;
6359
6543
  }
6360
- function renderEmailLink3(contact, label) {
6544
+ function renderEmailLink4(contact, label) {
6361
6545
  if (contact.email) {
6362
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
6546
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6363
6547
  }
6364
6548
  return label;
6365
6549
  }
6366
- var DEFAULT_LABELS7 = {
6550
+ var DEFAULT_LABELS8 = {
6367
6551
  logoAlt: "PlanetaEXO",
6368
6552
  greeting: (n) => `Hi ${n},`,
6369
6553
  tripDetailsHeader: "\u{1F4CB} Trip details",
@@ -6379,9 +6563,9 @@ var DEFAULT_LABELS7 = {
6379
6563
  "If you have questions, your agent ",
6380
6564
  agentName,
6381
6565
  " is available via ",
6382
- renderWhatsappLink3(contact, "WhatsApp"),
6566
+ renderWhatsappLink4(contact, "WhatsApp"),
6383
6567
  " or ",
6384
- renderEmailLink3(contact, "email"),
6568
+ renderEmailLink4(contact, "email"),
6385
6569
  "."
6386
6570
  ] }),
6387
6571
  closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
@@ -6429,7 +6613,7 @@ var DEFAULT_LABELS7 = {
6429
6613
  }
6430
6614
  }
6431
6615
  };
6432
- function hasText3(s) {
6616
+ function hasText4(s) {
6433
6617
  return typeof s === "string" && s.trim().length > 0;
6434
6618
  }
6435
6619
  function RegistrationReminderIndividualEmail({
@@ -6450,12 +6634,12 @@ function RegistrationReminderIndividualEmail({
6450
6634
  className
6451
6635
  }) {
6452
6636
  var _a, _b, _c, _d, _e, _f, _g, _h;
6453
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
6637
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
6454
6638
  variants: {
6455
- 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 : {}),
6456
- 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 : {}),
6457
- 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 : {}),
6458
- 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 : {})
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 : {})
6459
6643
  }
6460
6644
  });
6461
6645
  const v = l.variants[slug];
@@ -6475,7 +6659,7 @@ function RegistrationReminderIndividualEmail({
6475
6659
  { label: l.leadTravellerLabel, value: leadTravellerName },
6476
6660
  { label: l.adventureLabel, value: adventureName },
6477
6661
  { label: l.startingDateLabel, value: startDateFormatted },
6478
- ...hasText3(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
6662
+ ...hasText4(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
6479
6663
  ];
6480
6664
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6481
6665
  "hr",
@@ -6510,7 +6694,7 @@ function RegistrationReminderIndividualEmail({
6510
6694
  children: [
6511
6695
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6512
6696
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
6513
- hasText3(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
6697
+ hasText4(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
6514
6698
  "p",
6515
6699
  {
6516
6700
  style: {
@@ -6525,8 +6709,8 @@ function RegistrationReminderIndividualEmail({
6525
6709
  }
6526
6710
  ),
6527
6711
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
6528
- hasText3(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6529
- slug === "d_minus_2" && (hasText3(v.finalReminderTagline) || hasText3(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
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(
6530
6714
  "div",
6531
6715
  {
6532
6716
  style: {
@@ -6538,23 +6722,23 @@ function RegistrationReminderIndividualEmail({
6538
6722
  color: "#7f1d1d"
6539
6723
  },
6540
6724
  children: [
6541
- hasText3(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
6725
+ hasText4(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
6542
6726
  "p",
6543
6727
  {
6544
6728
  style: {
6545
6729
  margin: 0,
6546
- marginBottom: hasText3(v.consequencesNote) ? "8px" : 0,
6730
+ marginBottom: hasText4(v.consequencesNote) ? "8px" : 0,
6547
6731
  fontWeight: 700
6548
6732
  },
6549
6733
  children: v.finalReminderTagline
6550
6734
  }
6551
6735
  ),
6552
- hasText3(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
6736
+ hasText4(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
6553
6737
  ]
6554
6738
  }
6555
6739
  ),
6556
6740
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
6557
- slug === "d_minus_7" && hasText3(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
6741
+ slug === "d_minus_7" && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
6558
6742
  "p",
6559
6743
  {
6560
6744
  style: {
@@ -6570,8 +6754,8 @@ function RegistrationReminderIndividualEmail({
6570
6754
  ),
6571
6755
  sectionDivider,
6572
6756
  /* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
6573
- (slug === "d_minus_30" || slug === "d_minus_15") && hasText3(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
6574
- slug === "d_minus_2" && hasText3(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
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(
6575
6759
  "p",
6576
6760
  {
6577
6761
  style: {
@@ -6588,29 +6772,29 @@ function RegistrationReminderIndividualEmail({
6588
6772
  whatsappUrl: agent.whatsappUrl,
6589
6773
  email: agent.email
6590
6774
  }) : l.closingNoAgent }),
6591
- hasText3(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
6775
+ hasText4(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
6592
6776
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
6593
6777
  ]
6594
6778
  }
6595
6779
  );
6596
6780
  }
6597
- var INLINE_LINK_STYLE4 = {
6781
+ var INLINE_LINK_STYLE5 = {
6598
6782
  color: emailTokens.primary,
6599
6783
  textDecoration: "underline"
6600
6784
  };
6601
- function renderWhatsappLink4(contact, label) {
6785
+ function renderWhatsappLink5(contact, label) {
6602
6786
  if (contact.whatsappUrl) {
6603
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6787
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6604
6788
  }
6605
6789
  return label;
6606
6790
  }
6607
- function renderEmailLink4(contact, label) {
6791
+ function renderEmailLink5(contact, label) {
6608
6792
  if (contact.email) {
6609
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6793
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
6610
6794
  }
6611
6795
  return label;
6612
6796
  }
6613
- var DEFAULT_LABELS8 = {
6797
+ var DEFAULT_LABELS9 = {
6614
6798
  logoAlt: "PlanetaEXO",
6615
6799
  greeting: (n) => `Hi ${n},`,
6616
6800
  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.`,
@@ -6632,15 +6816,15 @@ var DEFAULT_LABELS8 = {
6632
6816
  agentName,
6633
6817
  " is available via",
6634
6818
  " ",
6635
- renderWhatsappLink4(contact, "WhatsApp"),
6819
+ renderWhatsappLink5(contact, "WhatsApp"),
6636
6820
  " or ",
6637
- renderEmailLink4(contact, "email"),
6821
+ renderEmailLink5(contact, "email"),
6638
6822
  "."
6639
6823
  ] }),
6640
6824
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
6641
6825
  teamSignature: "The PlanetaEXO Team"
6642
6826
  };
6643
- function hasText4(s) {
6827
+ function hasText5(s) {
6644
6828
  return typeof s === "string" && s.trim().length > 0;
6645
6829
  }
6646
6830
  function PartnerRegistrationCompleteEmail({
@@ -6660,14 +6844,14 @@ function PartnerRegistrationCompleteEmail({
6660
6844
  labels,
6661
6845
  className
6662
6846
  }) {
6663
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
6847
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
6664
6848
  const tripRows = [
6665
6849
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
6666
6850
  { label: l.adventureLabel, value: adventureName },
6667
6851
  { label: l.datesLabel, value: dateRange },
6668
6852
  { label: l.partnerLabel, value: partnerName },
6669
- ...hasText4(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
6670
- ...hasText4(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
6853
+ ...hasText5(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
6854
+ ...hasText5(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
6671
6855
  ];
6672
6856
  const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
6673
6857
  "hr",
@@ -6701,7 +6885,7 @@ function PartnerRegistrationCompleteEmail({
6701
6885
  className,
6702
6886
  children: [
6703
6887
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6704
- hasText4(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
6888
+ hasText5(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
6705
6889
  "div",
6706
6890
  {
6707
6891
  style: {
@@ -6778,7 +6962,7 @@ function PartnerRegistrationCompleteEmail({
6778
6962
  }) })
6779
6963
  }
6780
6964
  ) : /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
6781
- pdfAttached && hasText4(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
6965
+ pdfAttached && hasText5(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
6782
6966
  "div",
6783
6967
  {
6784
6968
  style: {
@@ -6803,26 +6987,26 @@ function PartnerRegistrationCompleteEmail({
6803
6987
  }
6804
6988
  );
6805
6989
  }
6806
- var INLINE_LINK_STYLE5 = {
6990
+ var INLINE_LINK_STYLE6 = {
6807
6991
  color: emailTokens.primary,
6808
6992
  textDecoration: "underline"
6809
6993
  };
6810
- function renderWhatsappLink5(contact, label) {
6994
+ function renderWhatsappLink6(contact, label) {
6811
6995
  if (contact.whatsappUrl) {
6812
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6996
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
6813
6997
  }
6814
6998
  return label;
6815
6999
  }
6816
- function renderEmailLink5(contact, label) {
7000
+ function renderEmailLink6(contact, label) {
6817
7001
  if (contact.email) {
6818
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
7002
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
6819
7003
  }
6820
7004
  return label;
6821
7005
  }
6822
- function hasText5(s) {
7006
+ function hasText6(s) {
6823
7007
  return typeof s === "string" && s.trim().length > 0;
6824
7008
  }
6825
- var DEFAULT_LABELS9 = {
7009
+ var DEFAULT_LABELS10 = {
6826
7010
  logoAlt: "PlanetaEXO",
6827
7011
  greeting: (n) => `Hi ${n},`,
6828
7012
  intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
@@ -6848,9 +7032,9 @@ var DEFAULT_LABELS9 = {
6848
7032
  agentName,
6849
7033
  " is available via",
6850
7034
  " ",
6851
- renderWhatsappLink5(contact, "WhatsApp"),
7035
+ renderWhatsappLink6(contact, "WhatsApp"),
6852
7036
  " or ",
6853
- renderEmailLink5(contact, "email"),
7037
+ renderEmailLink6(contact, "email"),
6854
7038
  "."
6855
7039
  ] }),
6856
7040
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
@@ -6871,10 +7055,10 @@ function PartnerBookingCreatedEmail({
6871
7055
  labels,
6872
7056
  className
6873
7057
  }) {
6874
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
7058
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
6875
7059
  const summaryRows = [
6876
7060
  { label: l.bookerNameLabel, value: booker.name },
6877
- ...hasText5(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
7061
+ ...hasText6(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
6878
7062
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
6879
7063
  { label: l.adventureLabel, value: adventureName },
6880
7064
  { label: l.datesLabel, value: dateRange },
@@ -6911,7 +7095,7 @@ function PartnerBookingCreatedEmail({
6911
7095
  className,
6912
7096
  children: [
6913
7097
  /* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6914
- hasText5(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
7098
+ hasText6(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
6915
7099
  "div",
6916
7100
  {
6917
7101
  style: {
@@ -6970,7 +7154,7 @@ function PartnerBookingCreatedEmail({
6970
7154
  }
6971
7155
  );
6972
7156
  }
6973
- var DEFAULT_LABELS10 = {
7157
+ var DEFAULT_LABELS11 = {
6974
7158
  logoAlt: "PlanetaEXO",
6975
7159
  greeting: (name) => `Hi ${name},`,
6976
7160
  introMessage: "",
@@ -7013,7 +7197,7 @@ function PaymentReceiptEmail({
7013
7197
  labels,
7014
7198
  className
7015
7199
  }) {
7016
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
7200
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
7017
7201
  const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
7018
7202
  const interestRow = chargedAmount && chargedAmount !== amount;
7019
7203
  const receiptRows = [
@@ -7157,24 +7341,24 @@ function PaymentReceiptEmail({
7157
7341
  }
7158
7342
  );
7159
7343
  }
7160
- var INLINE_LINK_STYLE6 = {
7344
+ var INLINE_LINK_STYLE7 = {
7161
7345
  color: emailTokens.primary,
7162
7346
  textDecoration: "underline"
7163
7347
  };
7164
- function renderWhatsappLink6(contact, label) {
7348
+ function renderWhatsappLink7(contact, label) {
7165
7349
  if (contact.whatsappUrl) {
7166
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
7350
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
7167
7351
  }
7168
7352
  return label;
7169
7353
  }
7170
- function renderEmailLink6(contact, label) {
7354
+ function renderEmailLink7(contact, label) {
7171
7355
  if (contact.email) {
7172
- return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
7356
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
7173
7357
  }
7174
7358
  return label;
7175
7359
  }
7176
7360
  var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
7177
- var DEFAULT_LABELS11 = {
7361
+ var DEFAULT_LABELS12 = {
7178
7362
  logoAlt: "PlanetaEXO",
7179
7363
  greeting: (name) => `Hi ${name},`,
7180
7364
  intermediateHello: "Hope you're doing well.",
@@ -7189,9 +7373,9 @@ var DEFAULT_LABELS11 = {
7189
7373
  "If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
7190
7374
  agentName,
7191
7375
  " via ",
7192
- renderWhatsappLink6(contact, "WhatsApp"),
7376
+ renderWhatsappLink7(contact, "WhatsApp"),
7193
7377
  " or ",
7194
- renderEmailLink6(contact, "email"),
7378
+ renderEmailLink7(contact, "email"),
7195
7379
  "."
7196
7380
  ] }),
7197
7381
  closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
@@ -7235,9 +7419,9 @@ var DEFAULT_LABELS11 = {
7235
7419
  "If you are experiencing any issues with payment or need additional time, please contact your agent ",
7236
7420
  agentName,
7237
7421
  " via ",
7238
- renderWhatsappLink6(contact, "WhatsApp"),
7422
+ renderWhatsappLink7(contact, "WhatsApp"),
7239
7423
  " or ",
7240
- renderEmailLink6(contact, "email"),
7424
+ renderEmailLink7(contact, "email"),
7241
7425
  ". We'll be happy to assist."
7242
7426
  ] })
7243
7427
  }
@@ -7261,7 +7445,7 @@ function PaymentReminderEmail({
7261
7445
  }) {
7262
7446
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
7263
7447
  const lOverride = labels != null ? labels : {};
7264
- const variantDefaults = DEFAULT_LABELS11.variants[variant];
7448
+ const variantDefaults = DEFAULT_LABELS12.variants[variant];
7265
7449
  const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
7266
7450
  const variantLabels = {
7267
7451
  intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
@@ -7271,19 +7455,19 @@ function PaymentReminderEmail({
7271
7455
  closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
7272
7456
  };
7273
7457
  const l = {
7274
- logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS11.logoAlt,
7275
- greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS11.greeting,
7276
- intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS11.intermediateHello,
7277
- bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS11.bookingSummaryHeader,
7278
- amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS11.amountAlreadyPaidLabel,
7279
- remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS11.remainingBalanceDueLabel,
7280
- totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS11.totalBookingAmountLabel,
7281
- paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS11.paymentDetailsHeading,
7282
- ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS11.ctaLabel,
7283
- teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS11.teamSignature,
7284
- closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS11.closingAgent,
7285
- closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS11.closingNoAgent,
7286
- adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS11.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
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 : {})
7287
7471
  };
7288
7472
  const ctaStyle = {
7289
7473
  display: "inline-block",
@@ -8564,7 +8748,7 @@ function validateCpf(value) {
8564
8748
  if (secondDigit !== parseInt(digits[10], 10)) return false;
8565
8749
  return true;
8566
8750
  }
8567
- var DEFAULT_LABELS12 = {
8751
+ var DEFAULT_LABELS13 = {
8568
8752
  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.",
8569
8753
  detailsSectionTitle: "Your details",
8570
8754
  tripInfoSectionTitle: "Trip info",
@@ -9308,7 +9492,7 @@ function RegistrationForm({
9308
9492
  }) {
9309
9493
  var _a;
9310
9494
  const L = React32__namespace.useMemo(
9311
- () => __spreadValues(__spreadValues({}, DEFAULT_LABELS12), labels != null ? labels : {}),
9495
+ () => __spreadValues(__spreadValues({}, DEFAULT_LABELS13), labels != null ? labels : {}),
9312
9496
  [labels]
9313
9497
  );
9314
9498
  const sortedFields = React32__namespace.useMemo(
@@ -18953,6 +19137,7 @@ exports.BookingSummary = BookingSummary;
18953
19137
  exports.Button = Button;
18954
19138
  exports.COUNTRIES = COUNTRIES;
18955
19139
  exports.CancellationForm = CancellationForm;
19140
+ exports.CancellationRequestReceivedEmail = CancellationRequestReceivedEmail;
18956
19141
  exports.CategoryPage2 = CategoryPage2;
18957
19142
  exports.Chip = Chip;
18958
19143
  exports.CounterField = CounterField;