@planetaexo/design-system 0.49.0 → 0.50.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.js CHANGED
@@ -5248,6 +5248,234 @@ function BookingCreatedEmail({
5248
5248
  }
5249
5249
  );
5250
5250
  }
5251
+ var INLINE_LINK_STYLE = {
5252
+ color: emailTokens.primary,
5253
+ textDecoration: "underline"
5254
+ };
5255
+ function renderWhatsappLink(contact, label) {
5256
+ if (contact.whatsappUrl) {
5257
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE, children: label });
5258
+ }
5259
+ return label;
5260
+ }
5261
+ function renderEmailLink(contact, label) {
5262
+ if (contact.email) {
5263
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE, children: label });
5264
+ }
5265
+ return label;
5266
+ }
5267
+ function hasText(s) {
5268
+ return typeof s === "string" && s.trim().length > 0;
5269
+ }
5270
+ var DEFAULT_LABELS5 = {
5271
+ logoAlt: "PlanetaEXO",
5272
+ greeting: (recipientName) => `Hi ${recipientName},`,
5273
+ title: "Your booking has been cancelled",
5274
+ intro: (bookingRef) => `We're writing to let you know that your booking ${bookingRef} has been cancelled.`,
5275
+ summaryHeading: "Booking details",
5276
+ bookingNumberLabel: "Booking number",
5277
+ adventuresLabel: "Adventure",
5278
+ datesLabel: "Dates",
5279
+ travellersLabel: "Travellers",
5280
+ refundHeading: "Refund registered",
5281
+ refundAmountLabel: "Refund amount",
5282
+ refundNote: "As per our cancellation policy.",
5283
+ closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
5284
+ "If you have any questions, your agent ",
5285
+ agentName,
5286
+ " is available via",
5287
+ " ",
5288
+ renderWhatsappLink(contact, "WhatsApp"),
5289
+ " or ",
5290
+ renderEmailLink(contact, "email"),
5291
+ "."
5292
+ ] }),
5293
+ closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
5294
+ teamSignature: "The PlanetaEXO Team"
5295
+ };
5296
+ function BookingCancellationEmail({
5297
+ recipientName,
5298
+ bookingRef,
5299
+ adventures,
5300
+ travellersCount,
5301
+ refundAmount,
5302
+ agentName,
5303
+ agentContactLinks,
5304
+ logoUrl,
5305
+ labels,
5306
+ className
5307
+ }) {
5308
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS5), labels);
5309
+ const adventureLines = adventures.map((a) => a.name).join("\n");
5310
+ const dateLines = adventures.map((a) => `${a.startDate} \u2013 ${a.endDate}`).join("\n");
5311
+ const summaryRows = [
5312
+ {
5313
+ label: l.bookingNumberLabel,
5314
+ value: `#${bookingRef}`,
5315
+ valueColor: emailTokens.primary
5316
+ },
5317
+ { label: l.adventuresLabel, value: adventureLines },
5318
+ { label: l.datesLabel, value: dateLines },
5319
+ { label: l.travellersLabel, value: travellersCount }
5320
+ ];
5321
+ const showRefund = hasText(refundAmount);
5322
+ const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
5323
+ const contact = agentContactLinks != null ? agentContactLinks : {};
5324
+ const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
5325
+ const sectionDivider = /* @__PURE__ */ jsx(
5326
+ "hr",
5327
+ {
5328
+ style: {
5329
+ border: "none",
5330
+ borderTop: `1px solid ${emailTokens.border}`,
5331
+ marginTop: 0,
5332
+ marginBottom: "24px"
5333
+ }
5334
+ }
5335
+ );
5336
+ return /* @__PURE__ */ jsxs(
5337
+ "div",
5338
+ {
5339
+ style: {
5340
+ maxWidth: "576px",
5341
+ margin: "0 auto",
5342
+ backgroundColor: emailTokens.white,
5343
+ color: emailTokens.foreground,
5344
+ fontFamily: emailTokens.fontFamily,
5345
+ fontSize: "16px",
5346
+ lineHeight: "1.6",
5347
+ border: `1px solid ${emailTokens.border}`,
5348
+ borderRadius: "12px",
5349
+ overflow: "hidden",
5350
+ padding: "32px"
5351
+ },
5352
+ className,
5353
+ children: [
5354
+ /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
5355
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
5356
+ /* @__PURE__ */ jsx(
5357
+ "p",
5358
+ {
5359
+ style: {
5360
+ marginTop: 0,
5361
+ marginBottom: "16px",
5362
+ fontWeight: 700,
5363
+ color: emailTokens.foreground,
5364
+ fontSize: "20px",
5365
+ lineHeight: "1.3",
5366
+ fontFamily: emailTokens.fontFamily
5367
+ },
5368
+ children: l.title
5369
+ }
5370
+ ),
5371
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
5372
+ sectionDivider,
5373
+ /* @__PURE__ */ jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
5374
+ showRefund && /* @__PURE__ */ jsxs(
5375
+ "div",
5376
+ {
5377
+ style: {
5378
+ marginBottom: "24px",
5379
+ padding: "16px 20px",
5380
+ borderRadius: "12px",
5381
+ border: `1px solid ${emailTokens.border}`,
5382
+ backgroundColor: emailTokens.muted
5383
+ },
5384
+ children: [
5385
+ /* @__PURE__ */ jsx(
5386
+ "p",
5387
+ {
5388
+ style: {
5389
+ margin: "0 0 8px 0",
5390
+ fontSize: "12px",
5391
+ fontWeight: 700,
5392
+ color: emailTokens.mutedForeground,
5393
+ textTransform: "uppercase",
5394
+ letterSpacing: "0.08em",
5395
+ fontFamily: emailTokens.fontFamily
5396
+ },
5397
+ children: l.refundHeading
5398
+ }
5399
+ ),
5400
+ /* @__PURE__ */ jsx(
5401
+ "table",
5402
+ {
5403
+ cellPadding: 0,
5404
+ cellSpacing: 0,
5405
+ style: { width: "100%", borderCollapse: "collapse" },
5406
+ children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
5407
+ /* @__PURE__ */ jsx(
5408
+ "td",
5409
+ {
5410
+ style: {
5411
+ fontSize: "14px",
5412
+ color: emailTokens.bodyText,
5413
+ verticalAlign: "middle"
5414
+ },
5415
+ children: l.refundAmountLabel
5416
+ }
5417
+ ),
5418
+ /* @__PURE__ */ jsx(
5419
+ "td",
5420
+ {
5421
+ style: {
5422
+ fontSize: "18px",
5423
+ fontWeight: 700,
5424
+ color: emailTokens.foreground,
5425
+ textAlign: "right",
5426
+ verticalAlign: "middle",
5427
+ whiteSpace: "nowrap"
5428
+ },
5429
+ children: refundAmount
5430
+ }
5431
+ )
5432
+ ] }) })
5433
+ }
5434
+ ),
5435
+ hasText(l.refundNote) && /* @__PURE__ */ jsx(
5436
+ "p",
5437
+ {
5438
+ style: {
5439
+ margin: "8px 0 0 0",
5440
+ fontSize: "12px",
5441
+ color: emailTokens.mutedForeground,
5442
+ fontStyle: "italic"
5443
+ },
5444
+ children: l.refundNote
5445
+ }
5446
+ )
5447
+ ]
5448
+ }
5449
+ ),
5450
+ sectionDivider,
5451
+ /* @__PURE__ */ jsx(
5452
+ "p",
5453
+ {
5454
+ style: {
5455
+ marginBottom: "16px",
5456
+ fontSize: "14px",
5457
+ fontWeight: 700,
5458
+ color: emailTokens.bodyText
5459
+ },
5460
+ children: closingNode
5461
+ }
5462
+ ),
5463
+ /* @__PURE__ */ jsx(
5464
+ "p",
5465
+ {
5466
+ style: {
5467
+ marginTop: 0,
5468
+ marginBottom: 0,
5469
+ fontSize: "14px",
5470
+ color: emailTokens.bodyText
5471
+ },
5472
+ children: l.teamSignature
5473
+ }
5474
+ )
5475
+ ]
5476
+ }
5477
+ );
5478
+ }
5251
5479
  function RegistrationProgressBar({
5252
5480
  tone,
5253
5481
  pct,
@@ -5310,23 +5538,23 @@ function RegistrationProgressBar({
5310
5538
  }
5311
5539
  ) });
5312
5540
  }
5313
- var INLINE_LINK_STYLE = {
5541
+ var INLINE_LINK_STYLE2 = {
5314
5542
  color: emailTokens.primary,
5315
5543
  textDecoration: "underline"
5316
5544
  };
5317
- function renderWhatsappLink(contact, label) {
5545
+ function renderWhatsappLink2(contact, label) {
5318
5546
  if (contact.whatsappUrl) {
5319
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE, children: label });
5547
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
5320
5548
  }
5321
5549
  return label;
5322
5550
  }
5323
- function renderEmailLink(contact, label) {
5551
+ function renderEmailLink2(contact, label) {
5324
5552
  if (contact.email) {
5325
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE, children: label });
5553
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
5326
5554
  }
5327
5555
  return label;
5328
5556
  }
5329
- var DEFAULT_LABELS5 = {
5557
+ var DEFAULT_LABELS6 = {
5330
5558
  logoAlt: "PlanetaEXO",
5331
5559
  greeting: (n) => `Hi ${n},`,
5332
5560
  intermediateHello: "Hope you're doing well.",
@@ -5345,9 +5573,9 @@ var DEFAULT_LABELS5 = {
5345
5573
  "If you need any assistance with the traveller registrations, feel free to contact your agent ",
5346
5574
  agentName,
5347
5575
  " via ",
5348
- renderWhatsappLink(contact, "WhatsApp"),
5576
+ renderWhatsappLink2(contact, "WhatsApp"),
5349
5577
  " or ",
5350
- renderEmailLink(contact, "email"),
5578
+ renderEmailLink2(contact, "email"),
5351
5579
  "."
5352
5580
  ] }),
5353
5581
  closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
@@ -5420,7 +5648,7 @@ var DEFAULT_LABELS5 = {
5420
5648
  }
5421
5649
  }
5422
5650
  };
5423
- function hasText(s) {
5651
+ function hasText2(s) {
5424
5652
  return typeof s === "string" && s.trim().length > 0;
5425
5653
  }
5426
5654
  function hasItems(arr) {
@@ -5440,12 +5668,12 @@ function RegistrationReminderEmail({
5440
5668
  className
5441
5669
  }) {
5442
5670
  var _a, _b, _c, _d, _e, _f, _g, _h;
5443
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS5), labels), {
5671
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
5444
5672
  variants: {
5445
- d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS5.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
5446
- d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS5.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
5447
- d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS5.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
5448
- d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS5.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
5673
+ 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 : {}),
5674
+ 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 : {}),
5675
+ 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 : {}),
5676
+ 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 : {})
5449
5677
  }
5450
5678
  });
5451
5679
  const v = l.variants[slug];
@@ -5466,14 +5694,14 @@ function RegistrationReminderEmail({
5466
5694
  { label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
5467
5695
  ...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
5468
5696
  ];
5469
- const showPleaseNote = hasText(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
5470
- const showBookerCoord = hasText(v.bookerCoordinationNote);
5471
- const showEarlyBenefit = hasText(v.earlyCompletionBenefit);
5472
- const showImportant = hasText(v.importantNote);
5473
- const showFinalTagline = hasText(v.finalReminderTagline);
5474
- hasText(v.multiTravellerNote);
5475
- const showDisregard = hasText(v.disregardIfCompleted);
5476
- const showClosingThanks = hasText(v.closingThanks);
5697
+ const showPleaseNote = hasText2(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
5698
+ const showBookerCoord = hasText2(v.bookerCoordinationNote);
5699
+ const showEarlyBenefit = hasText2(v.earlyCompletionBenefit);
5700
+ const showImportant = hasText2(v.importantNote);
5701
+ const showFinalTagline = hasText2(v.finalReminderTagline);
5702
+ hasText2(v.multiTravellerNote);
5703
+ const showDisregard = hasText2(v.disregardIfCompleted);
5704
+ const showClosingThanks = hasText2(v.closingThanks);
5477
5705
  const sectionDivider = /* @__PURE__ */ jsx(
5478
5706
  "hr",
5479
5707
  {
@@ -5485,7 +5713,7 @@ function RegistrationReminderEmail({
5485
5713
  }
5486
5714
  }
5487
5715
  );
5488
- const hasIntroBlock = hasText(v.intro) || hasText(v.contextNote);
5716
+ const hasIntroBlock = hasText2(v.intro) || hasText2(v.contextNote);
5489
5717
  const hasPleaseNote = showPleaseNote;
5490
5718
  const hasD7Highlight = showImportant && slug === "d_minus_7";
5491
5719
  const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
@@ -5509,9 +5737,9 @@ function RegistrationReminderEmail({
5509
5737
  children: [
5510
5738
  /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
5511
5739
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
5512
- hasText(l.intermediateHello) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
5513
- hasText(v.intro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
5514
- hasText(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
5740
+ hasText2(l.intermediateHello) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
5741
+ hasText2(v.intro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
5742
+ hasText2(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
5515
5743
  hasIntroBlock && sectionDivider,
5516
5744
  slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
5517
5745
  hasItems(adventures) && /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -5529,7 +5757,7 @@ function RegistrationReminderEmail({
5529
5757
  children: l.progressHeader
5530
5758
  }
5531
5759
  ),
5532
- hasText(v.progressIntro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
5760
+ hasText2(v.progressIntro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
5533
5761
  adventures.map((adv, i) => /* @__PURE__ */ jsxs(
5534
5762
  "div",
5535
5763
  {
@@ -5665,23 +5893,23 @@ function RegistrationReminderEmail({
5665
5893
  }
5666
5894
  );
5667
5895
  }
5668
- var INLINE_LINK_STYLE2 = {
5896
+ var INLINE_LINK_STYLE3 = {
5669
5897
  color: emailTokens.primary,
5670
5898
  textDecoration: "underline"
5671
5899
  };
5672
- function renderWhatsappLink2(contact, label) {
5900
+ function renderWhatsappLink3(contact, label) {
5673
5901
  if (contact.whatsappUrl) {
5674
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
5902
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
5675
5903
  }
5676
5904
  return label;
5677
5905
  }
5678
- function renderEmailLink2(contact, label) {
5906
+ function renderEmailLink3(contact, label) {
5679
5907
  if (contact.email) {
5680
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
5908
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
5681
5909
  }
5682
5910
  return label;
5683
5911
  }
5684
- var DEFAULT_LABELS6 = {
5912
+ var DEFAULT_LABELS7 = {
5685
5913
  logoAlt: "PlanetaEXO",
5686
5914
  greeting: (n) => `Hi ${n},`,
5687
5915
  tripDetailsHeader: "\u{1F4CB} Trip details",
@@ -5697,9 +5925,9 @@ var DEFAULT_LABELS6 = {
5697
5925
  "If you have questions, your agent ",
5698
5926
  agentName,
5699
5927
  " is available via ",
5700
- renderWhatsappLink2(contact, "WhatsApp"),
5928
+ renderWhatsappLink3(contact, "WhatsApp"),
5701
5929
  " or ",
5702
- renderEmailLink2(contact, "email"),
5930
+ renderEmailLink3(contact, "email"),
5703
5931
  "."
5704
5932
  ] }),
5705
5933
  closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
@@ -5747,7 +5975,7 @@ var DEFAULT_LABELS6 = {
5747
5975
  }
5748
5976
  }
5749
5977
  };
5750
- function hasText2(s) {
5978
+ function hasText3(s) {
5751
5979
  return typeof s === "string" && s.trim().length > 0;
5752
5980
  }
5753
5981
  function RegistrationReminderIndividualEmail({
@@ -5768,12 +5996,12 @@ function RegistrationReminderIndividualEmail({
5768
5996
  className
5769
5997
  }) {
5770
5998
  var _a, _b, _c, _d, _e, _f, _g, _h;
5771
- const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
5999
+ const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
5772
6000
  variants: {
5773
- 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 : {}),
5774
- 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 : {}),
5775
- 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 : {}),
5776
- 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 : {})
6001
+ 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 : {}),
6002
+ 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 : {}),
6003
+ 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 : {}),
6004
+ 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 : {})
5777
6005
  }
5778
6006
  });
5779
6007
  const v = l.variants[slug];
@@ -5793,7 +6021,7 @@ function RegistrationReminderIndividualEmail({
5793
6021
  { label: l.leadTravellerLabel, value: leadTravellerName },
5794
6022
  { label: l.adventureLabel, value: adventureName },
5795
6023
  { label: l.startingDateLabel, value: startDateFormatted },
5796
- ...hasText2(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
6024
+ ...hasText3(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
5797
6025
  ];
5798
6026
  const sectionDivider = /* @__PURE__ */ jsx(
5799
6027
  "hr",
@@ -5828,7 +6056,7 @@ function RegistrationReminderIndividualEmail({
5828
6056
  children: [
5829
6057
  /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
5830
6058
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
5831
- hasText2(routingNote) && /* @__PURE__ */ jsx(
6059
+ hasText3(routingNote) && /* @__PURE__ */ jsx(
5832
6060
  "p",
5833
6061
  {
5834
6062
  style: {
@@ -5843,8 +6071,8 @@ function RegistrationReminderIndividualEmail({
5843
6071
  }
5844
6072
  ),
5845
6073
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: introText }),
5846
- hasText2(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
5847
- slug === "d_minus_2" && (hasText2(v.finalReminderTagline) || hasText2(v.consequencesNote)) && /* @__PURE__ */ jsxs(
6074
+ hasText3(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
6075
+ slug === "d_minus_2" && (hasText3(v.finalReminderTagline) || hasText3(v.consequencesNote)) && /* @__PURE__ */ jsxs(
5848
6076
  "div",
5849
6077
  {
5850
6078
  style: {
@@ -5856,23 +6084,23 @@ function RegistrationReminderIndividualEmail({
5856
6084
  color: "#7f1d1d"
5857
6085
  },
5858
6086
  children: [
5859
- hasText2(v.finalReminderTagline) && /* @__PURE__ */ jsx(
6087
+ hasText3(v.finalReminderTagline) && /* @__PURE__ */ jsx(
5860
6088
  "p",
5861
6089
  {
5862
6090
  style: {
5863
6091
  margin: 0,
5864
- marginBottom: hasText2(v.consequencesNote) ? "8px" : 0,
6092
+ marginBottom: hasText3(v.consequencesNote) ? "8px" : 0,
5865
6093
  fontWeight: 700
5866
6094
  },
5867
6095
  children: v.finalReminderTagline
5868
6096
  }
5869
6097
  ),
5870
- hasText2(v.consequencesNote) && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
6098
+ hasText3(v.consequencesNote) && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
5871
6099
  ]
5872
6100
  }
5873
6101
  ),
5874
6102
  /* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
5875
- slug === "d_minus_7" && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsx(
6103
+ slug === "d_minus_7" && hasText3(v.mandatoryNote) && /* @__PURE__ */ jsx(
5876
6104
  "p",
5877
6105
  {
5878
6106
  style: {
@@ -5888,8 +6116,8 @@ function RegistrationReminderIndividualEmail({
5888
6116
  ),
5889
6117
  sectionDivider,
5890
6118
  /* @__PURE__ */ jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
5891
- (slug === "d_minus_30" || slug === "d_minus_15") && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
5892
- slug === "d_minus_2" && hasText2(v.disregardIfCompleted) && /* @__PURE__ */ jsx(
6119
+ (slug === "d_minus_30" || slug === "d_minus_15") && hasText3(v.mandatoryNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
6120
+ slug === "d_minus_2" && hasText3(v.disregardIfCompleted) && /* @__PURE__ */ jsx(
5893
6121
  "p",
5894
6122
  {
5895
6123
  style: {
@@ -5906,29 +6134,29 @@ function RegistrationReminderIndividualEmail({
5906
6134
  whatsappUrl: agent.whatsappUrl,
5907
6135
  email: agent.email
5908
6136
  }) : l.closingNoAgent }),
5909
- hasText2(v.closingThanks) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
6137
+ hasText3(v.closingThanks) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
5910
6138
  /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
5911
6139
  ]
5912
6140
  }
5913
6141
  );
5914
6142
  }
5915
- var INLINE_LINK_STYLE3 = {
6143
+ var INLINE_LINK_STYLE4 = {
5916
6144
  color: emailTokens.primary,
5917
6145
  textDecoration: "underline"
5918
6146
  };
5919
- function renderWhatsappLink3(contact, label) {
6147
+ function renderWhatsappLink4(contact, label) {
5920
6148
  if (contact.whatsappUrl) {
5921
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
6149
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
5922
6150
  }
5923
6151
  return label;
5924
6152
  }
5925
- function renderEmailLink3(contact, label) {
6153
+ function renderEmailLink4(contact, label) {
5926
6154
  if (contact.email) {
5927
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
6155
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
5928
6156
  }
5929
6157
  return label;
5930
6158
  }
5931
- var DEFAULT_LABELS7 = {
6159
+ var DEFAULT_LABELS8 = {
5932
6160
  logoAlt: "PlanetaEXO",
5933
6161
  greeting: (n) => `Hi ${n},`,
5934
6162
  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.`,
@@ -5948,15 +6176,15 @@ var DEFAULT_LABELS7 = {
5948
6176
  agentName,
5949
6177
  " is available via",
5950
6178
  " ",
5951
- renderWhatsappLink3(contact, "WhatsApp"),
6179
+ renderWhatsappLink4(contact, "WhatsApp"),
5952
6180
  " or ",
5953
- renderEmailLink3(contact, "email"),
6181
+ renderEmailLink4(contact, "email"),
5954
6182
  "."
5955
6183
  ] }),
5956
6184
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
5957
6185
  teamSignature: "The PlanetaEXO Team"
5958
6186
  };
5959
- function hasText3(s) {
6187
+ function hasText4(s) {
5960
6188
  return typeof s === "string" && s.trim().length > 0;
5961
6189
  }
5962
6190
  function PartnerConfirmationEmail({
@@ -5974,7 +6202,7 @@ function PartnerConfirmationEmail({
5974
6202
  labels,
5975
6203
  className
5976
6204
  }) {
5977
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
6205
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
5978
6206
  const tripRows = [
5979
6207
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
5980
6208
  { label: l.adventureLabel, value: adventureName },
@@ -6013,7 +6241,7 @@ function PartnerConfirmationEmail({
6013
6241
  className,
6014
6242
  children: [
6015
6243
  /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6016
- hasText3(topNotice) && /* @__PURE__ */ jsx(
6244
+ hasText4(topNotice) && /* @__PURE__ */ jsx(
6017
6245
  "div",
6018
6246
  {
6019
6247
  style: {
@@ -6090,7 +6318,7 @@ function PartnerConfirmationEmail({
6090
6318
  }) })
6091
6319
  }
6092
6320
  ) : /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
6093
- pdfAttached && hasText3(l.pdfNote) && /* @__PURE__ */ jsx(
6321
+ pdfAttached && hasText4(l.pdfNote) && /* @__PURE__ */ jsx(
6094
6322
  "div",
6095
6323
  {
6096
6324
  style: {
@@ -6115,26 +6343,26 @@ function PartnerConfirmationEmail({
6115
6343
  }
6116
6344
  );
6117
6345
  }
6118
- var INLINE_LINK_STYLE4 = {
6346
+ var INLINE_LINK_STYLE5 = {
6119
6347
  color: emailTokens.primary,
6120
6348
  textDecoration: "underline"
6121
6349
  };
6122
- function renderWhatsappLink4(contact, label) {
6350
+ function renderWhatsappLink5(contact, label) {
6123
6351
  if (contact.whatsappUrl) {
6124
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6352
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6125
6353
  }
6126
6354
  return label;
6127
6355
  }
6128
- function renderEmailLink4(contact, label) {
6356
+ function renderEmailLink5(contact, label) {
6129
6357
  if (contact.email) {
6130
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6358
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
6131
6359
  }
6132
6360
  return label;
6133
6361
  }
6134
- function hasText4(s) {
6362
+ function hasText5(s) {
6135
6363
  return typeof s === "string" && s.trim().length > 0;
6136
6364
  }
6137
- var DEFAULT_LABELS8 = {
6365
+ var DEFAULT_LABELS9 = {
6138
6366
  logoAlt: "PlanetaEXO",
6139
6367
  greeting: (n) => `Hi ${n},`,
6140
6368
  intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
@@ -6152,9 +6380,9 @@ var DEFAULT_LABELS8 = {
6152
6380
  agentName,
6153
6381
  " is available via",
6154
6382
  " ",
6155
- renderWhatsappLink4(contact, "WhatsApp"),
6383
+ renderWhatsappLink5(contact, "WhatsApp"),
6156
6384
  " or ",
6157
- renderEmailLink4(contact, "email"),
6385
+ renderEmailLink5(contact, "email"),
6158
6386
  "."
6159
6387
  ] }),
6160
6388
  closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
@@ -6173,10 +6401,10 @@ function PartnerBookingCreatedEmail({
6173
6401
  labels,
6174
6402
  className
6175
6403
  }) {
6176
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
6404
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
6177
6405
  const summaryRows = [
6178
6406
  { label: l.bookerNameLabel, value: booker.name },
6179
- ...hasText4(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
6407
+ ...hasText5(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
6180
6408
  { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
6181
6409
  { label: l.adventureLabel, value: adventureName },
6182
6410
  { label: l.datesLabel, value: dateRange },
@@ -6212,7 +6440,7 @@ function PartnerBookingCreatedEmail({
6212
6440
  className,
6213
6441
  children: [
6214
6442
  /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6215
- hasText4(topNotice) && /* @__PURE__ */ jsx(
6443
+ hasText5(topNotice) && /* @__PURE__ */ jsx(
6216
6444
  "div",
6217
6445
  {
6218
6446
  style: {
@@ -6262,7 +6490,7 @@ function PartnerBookingCreatedEmail({
6262
6490
  }
6263
6491
  );
6264
6492
  }
6265
- var DEFAULT_LABELS9 = {
6493
+ var DEFAULT_LABELS10 = {
6266
6494
  logoAlt: "PlanetaEXO",
6267
6495
  greeting: (name) => `Hi ${name},`,
6268
6496
  introMessage: "",
@@ -6303,7 +6531,7 @@ function PaymentReceiptEmail({
6303
6531
  labels,
6304
6532
  className
6305
6533
  }) {
6306
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
6534
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
6307
6535
  const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
6308
6536
  const interestRow = chargedAmount && chargedAmount !== amount;
6309
6537
  const receiptRows = [
@@ -6446,24 +6674,24 @@ function PaymentReceiptEmail({
6446
6674
  }
6447
6675
  );
6448
6676
  }
6449
- var INLINE_LINK_STYLE5 = {
6677
+ var INLINE_LINK_STYLE6 = {
6450
6678
  color: emailTokens.primary,
6451
6679
  textDecoration: "underline"
6452
6680
  };
6453
- function renderWhatsappLink5(contact, label) {
6681
+ function renderWhatsappLink6(contact, label) {
6454
6682
  if (contact.whatsappUrl) {
6455
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6683
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
6456
6684
  }
6457
6685
  return label;
6458
6686
  }
6459
- function renderEmailLink5(contact, label) {
6687
+ function renderEmailLink6(contact, label) {
6460
6688
  if (contact.email) {
6461
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
6689
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
6462
6690
  }
6463
6691
  return label;
6464
6692
  }
6465
6693
  var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
6466
- var DEFAULT_LABELS10 = {
6694
+ var DEFAULT_LABELS11 = {
6467
6695
  logoAlt: "PlanetaEXO",
6468
6696
  greeting: (name) => `Hi ${name},`,
6469
6697
  intermediateHello: "Hope you're doing well.",
@@ -6478,9 +6706,9 @@ var DEFAULT_LABELS10 = {
6478
6706
  "If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
6479
6707
  agentName,
6480
6708
  " via ",
6481
- renderWhatsappLink5(contact, "WhatsApp"),
6709
+ renderWhatsappLink6(contact, "WhatsApp"),
6482
6710
  " or ",
6483
- renderEmailLink5(contact, "email"),
6711
+ renderEmailLink6(contact, "email"),
6484
6712
  "."
6485
6713
  ] }),
6486
6714
  closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
@@ -6524,9 +6752,9 @@ var DEFAULT_LABELS10 = {
6524
6752
  "If you are experiencing any issues with payment or need additional time, please contact your agent ",
6525
6753
  agentName,
6526
6754
  " via ",
6527
- renderWhatsappLink5(contact, "WhatsApp"),
6755
+ renderWhatsappLink6(contact, "WhatsApp"),
6528
6756
  " or ",
6529
- renderEmailLink5(contact, "email"),
6757
+ renderEmailLink6(contact, "email"),
6530
6758
  ". We'll be happy to assist."
6531
6759
  ] })
6532
6760
  }
@@ -6550,7 +6778,7 @@ function PaymentReminderEmail({
6550
6778
  }) {
6551
6779
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
6552
6780
  const lOverride = labels != null ? labels : {};
6553
- const variantDefaults = DEFAULT_LABELS10.variants[variant];
6781
+ const variantDefaults = DEFAULT_LABELS11.variants[variant];
6554
6782
  const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
6555
6783
  const variantLabels = {
6556
6784
  intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
@@ -6560,19 +6788,19 @@ function PaymentReminderEmail({
6560
6788
  closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
6561
6789
  };
6562
6790
  const l = {
6563
- logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS10.logoAlt,
6564
- greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS10.greeting,
6565
- intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS10.intermediateHello,
6566
- bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS10.bookingSummaryHeader,
6567
- amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS10.amountAlreadyPaidLabel,
6568
- remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS10.remainingBalanceDueLabel,
6569
- totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS10.totalBookingAmountLabel,
6570
- paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS10.paymentDetailsHeading,
6571
- ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS10.ctaLabel,
6572
- teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS10.teamSignature,
6573
- closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS10.closingAgent,
6574
- closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS10.closingNoAgent,
6575
- adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS10.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
6791
+ logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS11.logoAlt,
6792
+ greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS11.greeting,
6793
+ intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS11.intermediateHello,
6794
+ bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS11.bookingSummaryHeader,
6795
+ amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS11.amountAlreadyPaidLabel,
6796
+ remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS11.remainingBalanceDueLabel,
6797
+ totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS11.totalBookingAmountLabel,
6798
+ paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS11.paymentDetailsHeading,
6799
+ ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS11.ctaLabel,
6800
+ teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS11.teamSignature,
6801
+ closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS11.closingAgent,
6802
+ closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS11.closingNoAgent,
6803
+ adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS11.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
6576
6804
  };
6577
6805
  const ctaStyle = {
6578
6806
  display: "inline-block",
@@ -7430,7 +7658,7 @@ function validateCpf(value) {
7430
7658
  if (secondDigit !== parseInt(digits[10], 10)) return false;
7431
7659
  return true;
7432
7660
  }
7433
- var DEFAULT_LABELS11 = {
7661
+ var DEFAULT_LABELS12 = {
7434
7662
  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.",
7435
7663
  detailsSectionTitle: "Your details",
7436
7664
  tripInfoSectionTitle: "Trip info",
@@ -8171,7 +8399,7 @@ function RegistrationForm({
8171
8399
  }) {
8172
8400
  var _a;
8173
8401
  const L = React28.useMemo(
8174
- () => __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels != null ? labels : {}),
8402
+ () => __spreadValues(__spreadValues({}, DEFAULT_LABELS12), labels != null ? labels : {}),
8175
8403
  [labels]
8176
8404
  );
8177
8405
  const sortedFields = React28.useMemo(
@@ -12629,8 +12857,10 @@ function TripPage({
12629
12857
  weather,
12630
12858
  optionalExtras,
12631
12859
  accommodation,
12860
+ accommodationGallery,
12632
12861
  whenItOperates,
12633
12862
  food,
12863
+ foodGallery,
12634
12864
  termsAndConditions,
12635
12865
  meetingPoints,
12636
12866
  meetingPoint,
@@ -12698,7 +12928,7 @@ function TripPage({
12698
12928
  { id: "included", label: (_c2 = labels == null ? void 0 : labels.whatIsIncluded) != null ? _c2 : "What is Included", show: !!(included == null ? void 0 : included.length) },
12699
12929
  { id: "what-to-bring", label: (_d2 = labels == null ? void 0 : labels.whatToBring) != null ? _d2 : "What to Bring", show: !!(whatToBring == null ? void 0 : whatToBring.length) },
12700
12930
  { id: "when-it-operates", label: (_e2 = labels == null ? void 0 : labels.whenItOperates) != null ? _e2 : "When this tour operates", show: !!whenItOperates },
12701
- { id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!accommodation },
12931
+ { id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!(accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length)) },
12702
12932
  { id: "terms", label: (_g2 = labels == null ? void 0 : labels.terms) != null ? _g2 : "Terms", show: !!termsAndConditions },
12703
12933
  { id: "faq", label: (_h2 = labels == null ? void 0 : labels.faq) != null ? _h2 : "FAQ", show: !!(faqs == null ? void 0 : faqs.length) },
12704
12934
  { id: "reviews", label: (_i2 = labels == null ? void 0 : labels.reviews) != null ? _i2 : "Reviews", show: !!(trustpilot || (reviews == null ? void 0 : reviews.length)) }
@@ -12909,7 +13139,7 @@ function TripPage({
12909
13139
  }
12910
13140
  )
12911
13141
  ] }),
12912
- (howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxs(
13142
+ (howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length) || food || (foodGallery == null ? void 0 : foodGallery.length) || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxs(
12913
13143
  Accordion,
12914
13144
  {
12915
13145
  multiple: false,
@@ -12932,7 +13162,7 @@ function TripPage({
12932
13162
  ]
12933
13163
  }
12934
13164
  ),
12935
- accommodation && /* @__PURE__ */ jsxs(
13165
+ (accommodation || accommodationGallery && accommodationGallery.length > 0) && /* @__PURE__ */ jsxs(
12936
13166
  AccordionItem,
12937
13167
  {
12938
13168
  value: "accommodation",
@@ -12943,11 +13173,21 @@ function TripPage({
12943
13173
  (sectionIcons == null ? void 0 : sectionIcons.accommodation) ? /* @__PURE__ */ jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.accommodation }) : /* @__PURE__ */ jsx(BedDoubleIcon, { className: "h-5 w-5 text-primary" }),
12944
13174
  (_g = labels == null ? void 0 : labels.accommodation) != null ? _g : "Accommodation"
12945
13175
  ] }) }),
12946
- /* @__PURE__ */ jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: accommodation }) })
13176
+ /* @__PURE__ */ jsxs(AccordionContent, { className: "pb-6", children: [
13177
+ accommodation && /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: accommodation }),
13178
+ accommodationGallery && accommodationGallery.length > 0 && /* @__PURE__ */ jsx("div", { className: cn(accommodation && "mt-6"), children: /* @__PURE__ */ jsx(
13179
+ PhotoGallery,
13180
+ {
13181
+ photos: accommodationGallery,
13182
+ variant: "gridCompact",
13183
+ initialVisible: 6
13184
+ }
13185
+ ) })
13186
+ ] })
12947
13187
  ]
12948
13188
  }
12949
13189
  ),
12950
- food && /* @__PURE__ */ jsxs(
13190
+ (food || foodGallery && foodGallery.length > 0) && /* @__PURE__ */ jsxs(
12951
13191
  AccordionItem,
12952
13192
  {
12953
13193
  value: "food",
@@ -12958,7 +13198,17 @@ function TripPage({
12958
13198
  (sectionIcons == null ? void 0 : sectionIcons.food) ? /* @__PURE__ */ jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.food }) : /* @__PURE__ */ jsx(UtensilsIcon, { className: "h-5 w-5 text-primary" }),
12959
13199
  (_h = labels == null ? void 0 : labels.food) != null ? _h : "Food"
12960
13200
  ] }) }),
12961
- /* @__PURE__ */ jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: food }) })
13201
+ /* @__PURE__ */ jsxs(AccordionContent, { className: "pb-6", children: [
13202
+ food && /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: food }),
13203
+ foodGallery && foodGallery.length > 0 && /* @__PURE__ */ jsx("div", { className: cn(food && "mt-6"), children: /* @__PURE__ */ jsx(
13204
+ PhotoGallery,
13205
+ {
13206
+ photos: foodGallery,
13207
+ variant: "gridCompact",
13208
+ initialVisible: 6
13209
+ }
13210
+ ) })
13211
+ ] })
12962
13212
  ]
12963
13213
  }
12964
13214
  ),
@@ -14018,6 +14268,6 @@ function LeadCapturePopup({
14018
14268
  );
14019
14269
  }
14020
14270
 
14021
- export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerBookingCreatedEmail, PartnerConfirmationEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
14271
+ export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerBookingCreatedEmail, PartnerConfirmationEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
14022
14272
  //# sourceMappingURL=index.js.map
14023
14273
  //# sourceMappingURL=index.js.map