@planetaexo/design-system 0.66.0 → 0.67.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 +296 -106
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +74 -1
- package/dist/index.d.ts +74 -1
- package/dist/index.js +296 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5930,6 +5930,195 @@ function BookingCancellationEmail({
|
|
|
5930
5930
|
}
|
|
5931
5931
|
);
|
|
5932
5932
|
}
|
|
5933
|
+
var INLINE_LINK_STYLE2 = {
|
|
5934
|
+
color: emailTokens.primary,
|
|
5935
|
+
textDecoration: "underline"
|
|
5936
|
+
};
|
|
5937
|
+
function renderWhatsappLink2(contact, label) {
|
|
5938
|
+
if (contact.whatsappUrl) {
|
|
5939
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5940
|
+
}
|
|
5941
|
+
return label;
|
|
5942
|
+
}
|
|
5943
|
+
function renderEmailLink2(contact, label) {
|
|
5944
|
+
if (contact.email) {
|
|
5945
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5946
|
+
}
|
|
5947
|
+
return label;
|
|
5948
|
+
}
|
|
5949
|
+
function hasText2(s) {
|
|
5950
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5951
|
+
}
|
|
5952
|
+
var DEFAULT_LABELS6 = {
|
|
5953
|
+
logoAlt: "PlanetaEXO",
|
|
5954
|
+
greeting: (recipientName) => `Hi ${recipientName},`,
|
|
5955
|
+
title: "We've received your cancellation request",
|
|
5956
|
+
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.`,
|
|
5957
|
+
summaryHeading: "Your request",
|
|
5958
|
+
bookingNumberLabel: "Booking number",
|
|
5959
|
+
adventuresLabel: "Adventure",
|
|
5960
|
+
datesLabel: "Dates",
|
|
5961
|
+
travellersLabel: "Travellers",
|
|
5962
|
+
nextStepsHeading: "What happens next",
|
|
5963
|
+
nextStepsNote: "No action is needed from you right now. We'll be in touch soon with the next steps.",
|
|
5964
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5965
|
+
"If you have any questions, your agent ",
|
|
5966
|
+
agentName,
|
|
5967
|
+
" is available via",
|
|
5968
|
+
" ",
|
|
5969
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5970
|
+
" or ",
|
|
5971
|
+
renderEmailLink2(contact, "email"),
|
|
5972
|
+
"."
|
|
5973
|
+
] }),
|
|
5974
|
+
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
5975
|
+
teamSignature: "The PlanetaEXO Team"
|
|
5976
|
+
};
|
|
5977
|
+
function CancellationRequestReceivedEmail({
|
|
5978
|
+
recipientName,
|
|
5979
|
+
bookingRef,
|
|
5980
|
+
adventures,
|
|
5981
|
+
travellersCount,
|
|
5982
|
+
agentName,
|
|
5983
|
+
agentContactLinks,
|
|
5984
|
+
logoUrl,
|
|
5985
|
+
labels,
|
|
5986
|
+
className
|
|
5987
|
+
}) {
|
|
5988
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels);
|
|
5989
|
+
const adventureLines = adventures.map((a) => a.name).join("\n");
|
|
5990
|
+
const dateLines = adventures.map((a) => `${a.startDate} \u2013 ${a.endDate}`).join("\n");
|
|
5991
|
+
const summaryRows = [
|
|
5992
|
+
{
|
|
5993
|
+
label: l.bookingNumberLabel,
|
|
5994
|
+
value: `#${bookingRef}`,
|
|
5995
|
+
valueColor: emailTokens.primary
|
|
5996
|
+
},
|
|
5997
|
+
{ label: l.adventuresLabel, value: adventureLines },
|
|
5998
|
+
{ label: l.datesLabel, value: dateLines },
|
|
5999
|
+
{ label: l.travellersLabel, value: travellersCount }
|
|
6000
|
+
];
|
|
6001
|
+
const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
|
|
6002
|
+
const contact = agentContactLinks != null ? agentContactLinks : {};
|
|
6003
|
+
const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
|
|
6004
|
+
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6005
|
+
"hr",
|
|
6006
|
+
{
|
|
6007
|
+
style: {
|
|
6008
|
+
border: "none",
|
|
6009
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
6010
|
+
marginTop: 0,
|
|
6011
|
+
marginBottom: "24px"
|
|
6012
|
+
}
|
|
6013
|
+
}
|
|
6014
|
+
);
|
|
6015
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6016
|
+
"div",
|
|
6017
|
+
{
|
|
6018
|
+
style: {
|
|
6019
|
+
maxWidth: "576px",
|
|
6020
|
+
margin: "0 auto",
|
|
6021
|
+
backgroundColor: emailTokens.white,
|
|
6022
|
+
color: emailTokens.foreground,
|
|
6023
|
+
fontFamily: emailTokens.fontFamily,
|
|
6024
|
+
fontSize: "16px",
|
|
6025
|
+
lineHeight: "1.6",
|
|
6026
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6027
|
+
borderRadius: "12px",
|
|
6028
|
+
overflow: "hidden",
|
|
6029
|
+
padding: "32px"
|
|
6030
|
+
},
|
|
6031
|
+
className,
|
|
6032
|
+
children: [
|
|
6033
|
+
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6034
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
|
|
6035
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6036
|
+
"p",
|
|
6037
|
+
{
|
|
6038
|
+
style: {
|
|
6039
|
+
marginTop: 0,
|
|
6040
|
+
marginBottom: "16px",
|
|
6041
|
+
fontWeight: 700,
|
|
6042
|
+
color: emailTokens.foreground,
|
|
6043
|
+
fontSize: "20px",
|
|
6044
|
+
lineHeight: "1.3",
|
|
6045
|
+
fontFamily: emailTokens.fontFamily
|
|
6046
|
+
},
|
|
6047
|
+
children: l.title
|
|
6048
|
+
}
|
|
6049
|
+
),
|
|
6050
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
|
|
6051
|
+
sectionDivider,
|
|
6052
|
+
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
|
|
6053
|
+
(hasText2(l.nextStepsHeading) || hasText2(l.nextStepsNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6054
|
+
"div",
|
|
6055
|
+
{
|
|
6056
|
+
style: {
|
|
6057
|
+
marginBottom: "24px",
|
|
6058
|
+
padding: "16px 20px",
|
|
6059
|
+
borderRadius: "12px",
|
|
6060
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6061
|
+
backgroundColor: emailTokens.muted
|
|
6062
|
+
},
|
|
6063
|
+
children: [
|
|
6064
|
+
hasText2(l.nextStepsHeading) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6065
|
+
"p",
|
|
6066
|
+
{
|
|
6067
|
+
style: {
|
|
6068
|
+
margin: "0 0 8px 0",
|
|
6069
|
+
fontSize: "12px",
|
|
6070
|
+
fontWeight: 700,
|
|
6071
|
+
color: emailTokens.mutedForeground,
|
|
6072
|
+
textTransform: "uppercase",
|
|
6073
|
+
letterSpacing: "0.08em",
|
|
6074
|
+
fontFamily: emailTokens.fontFamily
|
|
6075
|
+
},
|
|
6076
|
+
children: l.nextStepsHeading
|
|
6077
|
+
}
|
|
6078
|
+
),
|
|
6079
|
+
hasText2(l.nextStepsNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6080
|
+
"p",
|
|
6081
|
+
{
|
|
6082
|
+
style: {
|
|
6083
|
+
margin: 0,
|
|
6084
|
+
fontSize: "14px",
|
|
6085
|
+
color: emailTokens.bodyText
|
|
6086
|
+
},
|
|
6087
|
+
children: l.nextStepsNote
|
|
6088
|
+
}
|
|
6089
|
+
)
|
|
6090
|
+
]
|
|
6091
|
+
}
|
|
6092
|
+
),
|
|
6093
|
+
sectionDivider,
|
|
6094
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6095
|
+
"p",
|
|
6096
|
+
{
|
|
6097
|
+
style: {
|
|
6098
|
+
marginBottom: "16px",
|
|
6099
|
+
fontSize: "14px",
|
|
6100
|
+
fontWeight: 700,
|
|
6101
|
+
color: emailTokens.bodyText
|
|
6102
|
+
},
|
|
6103
|
+
children: closingNode
|
|
6104
|
+
}
|
|
6105
|
+
),
|
|
6106
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6107
|
+
"p",
|
|
6108
|
+
{
|
|
6109
|
+
style: {
|
|
6110
|
+
marginTop: 0,
|
|
6111
|
+
marginBottom: 0,
|
|
6112
|
+
fontSize: "14px",
|
|
6113
|
+
color: emailTokens.bodyText
|
|
6114
|
+
},
|
|
6115
|
+
children: l.teamSignature
|
|
6116
|
+
}
|
|
6117
|
+
)
|
|
6118
|
+
]
|
|
6119
|
+
}
|
|
6120
|
+
);
|
|
6121
|
+
}
|
|
5933
6122
|
function RegistrationProgressBar({
|
|
5934
6123
|
tone,
|
|
5935
6124
|
pct,
|
|
@@ -5992,23 +6181,23 @@ function RegistrationProgressBar({
|
|
|
5992
6181
|
}
|
|
5993
6182
|
) });
|
|
5994
6183
|
}
|
|
5995
|
-
var
|
|
6184
|
+
var INLINE_LINK_STYLE3 = {
|
|
5996
6185
|
color: emailTokens.primary,
|
|
5997
6186
|
textDecoration: "underline"
|
|
5998
6187
|
};
|
|
5999
|
-
function
|
|
6188
|
+
function renderWhatsappLink3(contact, label) {
|
|
6000
6189
|
if (contact.whatsappUrl) {
|
|
6001
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
6190
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
6002
6191
|
}
|
|
6003
6192
|
return label;
|
|
6004
6193
|
}
|
|
6005
|
-
function
|
|
6194
|
+
function renderEmailLink3(contact, label) {
|
|
6006
6195
|
if (contact.email) {
|
|
6007
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6196
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
6008
6197
|
}
|
|
6009
6198
|
return label;
|
|
6010
6199
|
}
|
|
6011
|
-
var
|
|
6200
|
+
var DEFAULT_LABELS7 = {
|
|
6012
6201
|
logoAlt: "PlanetaEXO",
|
|
6013
6202
|
greeting: (n) => `Hi ${n},`,
|
|
6014
6203
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -6027,9 +6216,9 @@ var DEFAULT_LABELS6 = {
|
|
|
6027
6216
|
"If you need any assistance with the traveller registrations, feel free to contact your agent ",
|
|
6028
6217
|
agentName,
|
|
6029
6218
|
" via ",
|
|
6030
|
-
|
|
6219
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
6031
6220
|
" or ",
|
|
6032
|
-
|
|
6221
|
+
renderEmailLink3(contact, "email"),
|
|
6033
6222
|
"."
|
|
6034
6223
|
] }),
|
|
6035
6224
|
closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
|
|
@@ -6102,7 +6291,7 @@ var DEFAULT_LABELS6 = {
|
|
|
6102
6291
|
}
|
|
6103
6292
|
}
|
|
6104
6293
|
};
|
|
6105
|
-
function
|
|
6294
|
+
function hasText3(s) {
|
|
6106
6295
|
return typeof s === "string" && s.trim().length > 0;
|
|
6107
6296
|
}
|
|
6108
6297
|
function hasItems(arr) {
|
|
@@ -6122,12 +6311,12 @@ function RegistrationReminderEmail({
|
|
|
6122
6311
|
className
|
|
6123
6312
|
}) {
|
|
6124
6313
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6125
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6314
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
|
|
6126
6315
|
variants: {
|
|
6127
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6128
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6129
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6130
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6316
|
+
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 : {}),
|
|
6317
|
+
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 : {}),
|
|
6318
|
+
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 : {}),
|
|
6319
|
+
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
6320
|
}
|
|
6132
6321
|
});
|
|
6133
6322
|
const v = l.variants[slug];
|
|
@@ -6148,14 +6337,14 @@ function RegistrationReminderEmail({
|
|
|
6148
6337
|
{ label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
|
|
6149
6338
|
...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
|
|
6150
6339
|
];
|
|
6151
|
-
const showPleaseNote =
|
|
6152
|
-
const showBookerCoord =
|
|
6153
|
-
const showEarlyBenefit =
|
|
6154
|
-
const showImportant =
|
|
6155
|
-
const showFinalTagline =
|
|
6156
|
-
|
|
6157
|
-
const showDisregard =
|
|
6158
|
-
const showClosingThanks =
|
|
6340
|
+
const showPleaseNote = hasText3(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
|
|
6341
|
+
const showBookerCoord = hasText3(v.bookerCoordinationNote);
|
|
6342
|
+
const showEarlyBenefit = hasText3(v.earlyCompletionBenefit);
|
|
6343
|
+
const showImportant = hasText3(v.importantNote);
|
|
6344
|
+
const showFinalTagline = hasText3(v.finalReminderTagline);
|
|
6345
|
+
hasText3(v.multiTravellerNote);
|
|
6346
|
+
const showDisregard = hasText3(v.disregardIfCompleted);
|
|
6347
|
+
const showClosingThanks = hasText3(v.closingThanks);
|
|
6159
6348
|
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6160
6349
|
"hr",
|
|
6161
6350
|
{
|
|
@@ -6167,7 +6356,7 @@ function RegistrationReminderEmail({
|
|
|
6167
6356
|
}
|
|
6168
6357
|
}
|
|
6169
6358
|
);
|
|
6170
|
-
const hasIntroBlock =
|
|
6359
|
+
const hasIntroBlock = hasText3(v.intro) || hasText3(v.contextNote);
|
|
6171
6360
|
const hasPleaseNote = showPleaseNote;
|
|
6172
6361
|
const hasD7Highlight = showImportant && slug === "d_minus_7";
|
|
6173
6362
|
const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
|
|
@@ -6191,9 +6380,9 @@ function RegistrationReminderEmail({
|
|
|
6191
6380
|
children: [
|
|
6192
6381
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6193
6382
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6383
|
+
hasText3(l.intermediateHello) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
|
|
6384
|
+
hasText3(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
|
|
6385
|
+
hasText3(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6197
6386
|
hasIntroBlock && sectionDivider,
|
|
6198
6387
|
slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
6199
6388
|
hasItems(adventures) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -6211,7 +6400,7 @@ function RegistrationReminderEmail({
|
|
|
6211
6400
|
children: l.progressHeader
|
|
6212
6401
|
}
|
|
6213
6402
|
),
|
|
6214
|
-
|
|
6403
|
+
hasText3(v.progressIntro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
|
|
6215
6404
|
adventures.map((adv, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6216
6405
|
"div",
|
|
6217
6406
|
{
|
|
@@ -6347,23 +6536,23 @@ function RegistrationReminderEmail({
|
|
|
6347
6536
|
}
|
|
6348
6537
|
);
|
|
6349
6538
|
}
|
|
6350
|
-
var
|
|
6539
|
+
var INLINE_LINK_STYLE4 = {
|
|
6351
6540
|
color: emailTokens.primary,
|
|
6352
6541
|
textDecoration: "underline"
|
|
6353
6542
|
};
|
|
6354
|
-
function
|
|
6543
|
+
function renderWhatsappLink4(contact, label) {
|
|
6355
6544
|
if (contact.whatsappUrl) {
|
|
6356
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
6545
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
|
|
6357
6546
|
}
|
|
6358
6547
|
return label;
|
|
6359
6548
|
}
|
|
6360
|
-
function
|
|
6549
|
+
function renderEmailLink4(contact, label) {
|
|
6361
6550
|
if (contact.email) {
|
|
6362
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6551
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
|
|
6363
6552
|
}
|
|
6364
6553
|
return label;
|
|
6365
6554
|
}
|
|
6366
|
-
var
|
|
6555
|
+
var DEFAULT_LABELS8 = {
|
|
6367
6556
|
logoAlt: "PlanetaEXO",
|
|
6368
6557
|
greeting: (n) => `Hi ${n},`,
|
|
6369
6558
|
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
@@ -6379,9 +6568,9 @@ var DEFAULT_LABELS7 = {
|
|
|
6379
6568
|
"If you have questions, your agent ",
|
|
6380
6569
|
agentName,
|
|
6381
6570
|
" is available via ",
|
|
6382
|
-
|
|
6571
|
+
renderWhatsappLink4(contact, "WhatsApp"),
|
|
6383
6572
|
" or ",
|
|
6384
|
-
|
|
6573
|
+
renderEmailLink4(contact, "email"),
|
|
6385
6574
|
"."
|
|
6386
6575
|
] }),
|
|
6387
6576
|
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
@@ -6429,7 +6618,7 @@ var DEFAULT_LABELS7 = {
|
|
|
6429
6618
|
}
|
|
6430
6619
|
}
|
|
6431
6620
|
};
|
|
6432
|
-
function
|
|
6621
|
+
function hasText4(s) {
|
|
6433
6622
|
return typeof s === "string" && s.trim().length > 0;
|
|
6434
6623
|
}
|
|
6435
6624
|
function RegistrationReminderIndividualEmail({
|
|
@@ -6450,12 +6639,12 @@ function RegistrationReminderIndividualEmail({
|
|
|
6450
6639
|
className
|
|
6451
6640
|
}) {
|
|
6452
6641
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6453
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6642
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
|
|
6454
6643
|
variants: {
|
|
6455
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6456
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6457
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6458
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6644
|
+
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 : {}),
|
|
6645
|
+
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 : {}),
|
|
6646
|
+
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 : {}),
|
|
6647
|
+
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
6648
|
}
|
|
6460
6649
|
});
|
|
6461
6650
|
const v = l.variants[slug];
|
|
@@ -6475,7 +6664,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6475
6664
|
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
6476
6665
|
{ label: l.adventureLabel, value: adventureName },
|
|
6477
6666
|
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
6478
|
-
...
|
|
6667
|
+
...hasText4(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
6479
6668
|
];
|
|
6480
6669
|
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6481
6670
|
"hr",
|
|
@@ -6510,7 +6699,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6510
6699
|
children: [
|
|
6511
6700
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6512
6701
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6513
|
-
|
|
6702
|
+
hasText4(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6514
6703
|
"p",
|
|
6515
6704
|
{
|
|
6516
6705
|
style: {
|
|
@@ -6525,8 +6714,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6525
6714
|
}
|
|
6526
6715
|
),
|
|
6527
6716
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
6528
|
-
|
|
6529
|
-
slug === "d_minus_2" && (
|
|
6717
|
+
hasText4(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6718
|
+
slug === "d_minus_2" && (hasText4(v.finalReminderTagline) || hasText4(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6530
6719
|
"div",
|
|
6531
6720
|
{
|
|
6532
6721
|
style: {
|
|
@@ -6538,23 +6727,23 @@ function RegistrationReminderIndividualEmail({
|
|
|
6538
6727
|
color: "#7f1d1d"
|
|
6539
6728
|
},
|
|
6540
6729
|
children: [
|
|
6541
|
-
|
|
6730
|
+
hasText4(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6542
6731
|
"p",
|
|
6543
6732
|
{
|
|
6544
6733
|
style: {
|
|
6545
6734
|
margin: 0,
|
|
6546
|
-
marginBottom:
|
|
6735
|
+
marginBottom: hasText4(v.consequencesNote) ? "8px" : 0,
|
|
6547
6736
|
fontWeight: 700
|
|
6548
6737
|
},
|
|
6549
6738
|
children: v.finalReminderTagline
|
|
6550
6739
|
}
|
|
6551
6740
|
),
|
|
6552
|
-
|
|
6741
|
+
hasText4(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
6553
6742
|
]
|
|
6554
6743
|
}
|
|
6555
6744
|
),
|
|
6556
6745
|
/* @__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" &&
|
|
6746
|
+
slug === "d_minus_7" && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6558
6747
|
"p",
|
|
6559
6748
|
{
|
|
6560
6749
|
style: {
|
|
@@ -6570,8 +6759,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6570
6759
|
),
|
|
6571
6760
|
sectionDivider,
|
|
6572
6761
|
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
6573
|
-
(slug === "d_minus_30" || slug === "d_minus_15") &&
|
|
6574
|
-
slug === "d_minus_2" &&
|
|
6762
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
6763
|
+
slug === "d_minus_2" && hasText4(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6575
6764
|
"p",
|
|
6576
6765
|
{
|
|
6577
6766
|
style: {
|
|
@@ -6588,29 +6777,29 @@ function RegistrationReminderIndividualEmail({
|
|
|
6588
6777
|
whatsappUrl: agent.whatsappUrl,
|
|
6589
6778
|
email: agent.email
|
|
6590
6779
|
}) : l.closingNoAgent }),
|
|
6591
|
-
|
|
6780
|
+
hasText4(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
6592
6781
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
6593
6782
|
]
|
|
6594
6783
|
}
|
|
6595
6784
|
);
|
|
6596
6785
|
}
|
|
6597
|
-
var
|
|
6786
|
+
var INLINE_LINK_STYLE5 = {
|
|
6598
6787
|
color: emailTokens.primary,
|
|
6599
6788
|
textDecoration: "underline"
|
|
6600
6789
|
};
|
|
6601
|
-
function
|
|
6790
|
+
function renderWhatsappLink5(contact, label) {
|
|
6602
6791
|
if (contact.whatsappUrl) {
|
|
6603
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
6792
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
|
|
6604
6793
|
}
|
|
6605
6794
|
return label;
|
|
6606
6795
|
}
|
|
6607
|
-
function
|
|
6796
|
+
function renderEmailLink5(contact, label) {
|
|
6608
6797
|
if (contact.email) {
|
|
6609
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6798
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
|
|
6610
6799
|
}
|
|
6611
6800
|
return label;
|
|
6612
6801
|
}
|
|
6613
|
-
var
|
|
6802
|
+
var DEFAULT_LABELS9 = {
|
|
6614
6803
|
logoAlt: "PlanetaEXO",
|
|
6615
6804
|
greeting: (n) => `Hi ${n},`,
|
|
6616
6805
|
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 +6821,15 @@ var DEFAULT_LABELS8 = {
|
|
|
6632
6821
|
agentName,
|
|
6633
6822
|
" is available via",
|
|
6634
6823
|
" ",
|
|
6635
|
-
|
|
6824
|
+
renderWhatsappLink5(contact, "WhatsApp"),
|
|
6636
6825
|
" or ",
|
|
6637
|
-
|
|
6826
|
+
renderEmailLink5(contact, "email"),
|
|
6638
6827
|
"."
|
|
6639
6828
|
] }),
|
|
6640
6829
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
6641
6830
|
teamSignature: "The PlanetaEXO Team"
|
|
6642
6831
|
};
|
|
6643
|
-
function
|
|
6832
|
+
function hasText5(s) {
|
|
6644
6833
|
return typeof s === "string" && s.trim().length > 0;
|
|
6645
6834
|
}
|
|
6646
6835
|
function PartnerRegistrationCompleteEmail({
|
|
@@ -6660,14 +6849,14 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6660
6849
|
labels,
|
|
6661
6850
|
className
|
|
6662
6851
|
}) {
|
|
6663
|
-
const l = __spreadValues(__spreadValues({},
|
|
6852
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
|
|
6664
6853
|
const tripRows = [
|
|
6665
6854
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6666
6855
|
{ label: l.adventureLabel, value: adventureName },
|
|
6667
6856
|
{ label: l.datesLabel, value: dateRange },
|
|
6668
6857
|
{ label: l.partnerLabel, value: partnerName },
|
|
6669
|
-
...
|
|
6670
|
-
...
|
|
6858
|
+
...hasText5(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
|
|
6859
|
+
...hasText5(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
|
|
6671
6860
|
];
|
|
6672
6861
|
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6673
6862
|
"hr",
|
|
@@ -6701,7 +6890,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6701
6890
|
className,
|
|
6702
6891
|
children: [
|
|
6703
6892
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6704
|
-
|
|
6893
|
+
hasText5(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6705
6894
|
"div",
|
|
6706
6895
|
{
|
|
6707
6896
|
style: {
|
|
@@ -6778,7 +6967,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6778
6967
|
}) })
|
|
6779
6968
|
}
|
|
6780
6969
|
) : /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
|
|
6781
|
-
pdfAttached &&
|
|
6970
|
+
pdfAttached && hasText5(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6782
6971
|
"div",
|
|
6783
6972
|
{
|
|
6784
6973
|
style: {
|
|
@@ -6803,26 +6992,26 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6803
6992
|
}
|
|
6804
6993
|
);
|
|
6805
6994
|
}
|
|
6806
|
-
var
|
|
6995
|
+
var INLINE_LINK_STYLE6 = {
|
|
6807
6996
|
color: emailTokens.primary,
|
|
6808
6997
|
textDecoration: "underline"
|
|
6809
6998
|
};
|
|
6810
|
-
function
|
|
6999
|
+
function renderWhatsappLink6(contact, label) {
|
|
6811
7000
|
if (contact.whatsappUrl) {
|
|
6812
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
7001
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
|
|
6813
7002
|
}
|
|
6814
7003
|
return label;
|
|
6815
7004
|
}
|
|
6816
|
-
function
|
|
7005
|
+
function renderEmailLink6(contact, label) {
|
|
6817
7006
|
if (contact.email) {
|
|
6818
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
7007
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
|
|
6819
7008
|
}
|
|
6820
7009
|
return label;
|
|
6821
7010
|
}
|
|
6822
|
-
function
|
|
7011
|
+
function hasText6(s) {
|
|
6823
7012
|
return typeof s === "string" && s.trim().length > 0;
|
|
6824
7013
|
}
|
|
6825
|
-
var
|
|
7014
|
+
var DEFAULT_LABELS10 = {
|
|
6826
7015
|
logoAlt: "PlanetaEXO",
|
|
6827
7016
|
greeting: (n) => `Hi ${n},`,
|
|
6828
7017
|
intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
|
|
@@ -6848,9 +7037,9 @@ var DEFAULT_LABELS9 = {
|
|
|
6848
7037
|
agentName,
|
|
6849
7038
|
" is available via",
|
|
6850
7039
|
" ",
|
|
6851
|
-
|
|
7040
|
+
renderWhatsappLink6(contact, "WhatsApp"),
|
|
6852
7041
|
" or ",
|
|
6853
|
-
|
|
7042
|
+
renderEmailLink6(contact, "email"),
|
|
6854
7043
|
"."
|
|
6855
7044
|
] }),
|
|
6856
7045
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
@@ -6871,10 +7060,10 @@ function PartnerBookingCreatedEmail({
|
|
|
6871
7060
|
labels,
|
|
6872
7061
|
className
|
|
6873
7062
|
}) {
|
|
6874
|
-
const l = __spreadValues(__spreadValues({},
|
|
7063
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
|
|
6875
7064
|
const summaryRows = [
|
|
6876
7065
|
{ label: l.bookerNameLabel, value: booker.name },
|
|
6877
|
-
...
|
|
7066
|
+
...hasText6(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
|
|
6878
7067
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6879
7068
|
{ label: l.adventureLabel, value: adventureName },
|
|
6880
7069
|
{ label: l.datesLabel, value: dateRange },
|
|
@@ -6911,7 +7100,7 @@ function PartnerBookingCreatedEmail({
|
|
|
6911
7100
|
className,
|
|
6912
7101
|
children: [
|
|
6913
7102
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6914
|
-
|
|
7103
|
+
hasText6(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6915
7104
|
"div",
|
|
6916
7105
|
{
|
|
6917
7106
|
style: {
|
|
@@ -6970,7 +7159,7 @@ function PartnerBookingCreatedEmail({
|
|
|
6970
7159
|
}
|
|
6971
7160
|
);
|
|
6972
7161
|
}
|
|
6973
|
-
var
|
|
7162
|
+
var DEFAULT_LABELS11 = {
|
|
6974
7163
|
logoAlt: "PlanetaEXO",
|
|
6975
7164
|
greeting: (name) => `Hi ${name},`,
|
|
6976
7165
|
introMessage: "",
|
|
@@ -7013,7 +7202,7 @@ function PaymentReceiptEmail({
|
|
|
7013
7202
|
labels,
|
|
7014
7203
|
className
|
|
7015
7204
|
}) {
|
|
7016
|
-
const l = __spreadValues(__spreadValues({},
|
|
7205
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
|
|
7017
7206
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
7018
7207
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
7019
7208
|
const receiptRows = [
|
|
@@ -7157,24 +7346,24 @@ function PaymentReceiptEmail({
|
|
|
7157
7346
|
}
|
|
7158
7347
|
);
|
|
7159
7348
|
}
|
|
7160
|
-
var
|
|
7349
|
+
var INLINE_LINK_STYLE7 = {
|
|
7161
7350
|
color: emailTokens.primary,
|
|
7162
7351
|
textDecoration: "underline"
|
|
7163
7352
|
};
|
|
7164
|
-
function
|
|
7353
|
+
function renderWhatsappLink7(contact, label) {
|
|
7165
7354
|
if (contact.whatsappUrl) {
|
|
7166
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
7355
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
|
|
7167
7356
|
}
|
|
7168
7357
|
return label;
|
|
7169
7358
|
}
|
|
7170
|
-
function
|
|
7359
|
+
function renderEmailLink7(contact, label) {
|
|
7171
7360
|
if (contact.email) {
|
|
7172
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
7361
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
|
|
7173
7362
|
}
|
|
7174
7363
|
return label;
|
|
7175
7364
|
}
|
|
7176
7365
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
7177
|
-
var
|
|
7366
|
+
var DEFAULT_LABELS12 = {
|
|
7178
7367
|
logoAlt: "PlanetaEXO",
|
|
7179
7368
|
greeting: (name) => `Hi ${name},`,
|
|
7180
7369
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -7189,9 +7378,9 @@ var DEFAULT_LABELS11 = {
|
|
|
7189
7378
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
7190
7379
|
agentName,
|
|
7191
7380
|
" via ",
|
|
7192
|
-
|
|
7381
|
+
renderWhatsappLink7(contact, "WhatsApp"),
|
|
7193
7382
|
" or ",
|
|
7194
|
-
|
|
7383
|
+
renderEmailLink7(contact, "email"),
|
|
7195
7384
|
"."
|
|
7196
7385
|
] }),
|
|
7197
7386
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -7235,9 +7424,9 @@ var DEFAULT_LABELS11 = {
|
|
|
7235
7424
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
7236
7425
|
agentName,
|
|
7237
7426
|
" via ",
|
|
7238
|
-
|
|
7427
|
+
renderWhatsappLink7(contact, "WhatsApp"),
|
|
7239
7428
|
" or ",
|
|
7240
|
-
|
|
7429
|
+
renderEmailLink7(contact, "email"),
|
|
7241
7430
|
". We'll be happy to assist."
|
|
7242
7431
|
] })
|
|
7243
7432
|
}
|
|
@@ -7261,7 +7450,7 @@ function PaymentReminderEmail({
|
|
|
7261
7450
|
}) {
|
|
7262
7451
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
7263
7452
|
const lOverride = labels != null ? labels : {};
|
|
7264
|
-
const variantDefaults =
|
|
7453
|
+
const variantDefaults = DEFAULT_LABELS12.variants[variant];
|
|
7265
7454
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
7266
7455
|
const variantLabels = {
|
|
7267
7456
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -7271,19 +7460,19 @@ function PaymentReminderEmail({
|
|
|
7271
7460
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
7272
7461
|
};
|
|
7273
7462
|
const l = {
|
|
7274
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
7275
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
7276
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
7277
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
7278
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
7279
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
7280
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
7281
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
7282
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
7283
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
7284
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
7285
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
7286
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
7463
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS12.logoAlt,
|
|
7464
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS12.greeting,
|
|
7465
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS12.intermediateHello,
|
|
7466
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS12.bookingSummaryHeader,
|
|
7467
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS12.amountAlreadyPaidLabel,
|
|
7468
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS12.remainingBalanceDueLabel,
|
|
7469
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS12.totalBookingAmountLabel,
|
|
7470
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS12.paymentDetailsHeading,
|
|
7471
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS12.ctaLabel,
|
|
7472
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS12.teamSignature,
|
|
7473
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS12.closingAgent,
|
|
7474
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS12.closingNoAgent,
|
|
7475
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS12.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
7287
7476
|
};
|
|
7288
7477
|
const ctaStyle = {
|
|
7289
7478
|
display: "inline-block",
|
|
@@ -8564,7 +8753,7 @@ function validateCpf(value) {
|
|
|
8564
8753
|
if (secondDigit !== parseInt(digits[10], 10)) return false;
|
|
8565
8754
|
return true;
|
|
8566
8755
|
}
|
|
8567
|
-
var
|
|
8756
|
+
var DEFAULT_LABELS13 = {
|
|
8568
8757
|
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
8758
|
detailsSectionTitle: "Your details",
|
|
8570
8759
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -9308,7 +9497,7 @@ function RegistrationForm({
|
|
|
9308
9497
|
}) {
|
|
9309
9498
|
var _a;
|
|
9310
9499
|
const L = React32__namespace.useMemo(
|
|
9311
|
-
() => __spreadValues(__spreadValues({},
|
|
9500
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS13), labels != null ? labels : {}),
|
|
9312
9501
|
[labels]
|
|
9313
9502
|
);
|
|
9314
9503
|
const sortedFields = React32__namespace.useMemo(
|
|
@@ -18953,6 +19142,7 @@ exports.BookingSummary = BookingSummary;
|
|
|
18953
19142
|
exports.Button = Button;
|
|
18954
19143
|
exports.COUNTRIES = COUNTRIES;
|
|
18955
19144
|
exports.CancellationForm = CancellationForm;
|
|
19145
|
+
exports.CancellationRequestReceivedEmail = CancellationRequestReceivedEmail;
|
|
18956
19146
|
exports.CategoryPage2 = CategoryPage2;
|
|
18957
19147
|
exports.Chip = Chip;
|
|
18958
19148
|
exports.CounterField = CounterField;
|