@treely/strapi-slices 8.0.4 → 8.1.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.
Files changed (37) hide show
  1. package/dist/components/CertificationBadge/CertificationBadge.d.ts +7 -0
  2. package/dist/components/CertificationBadge/CertificationBadge.d.ts.map +1 -0
  3. package/dist/components/CertificationBadge/index.d.ts +3 -0
  4. package/dist/components/CertificationBadge/index.d.ts.map +1 -0
  5. package/dist/components/CertificationBadge/messages.de.d.ts +6 -0
  6. package/dist/components/CertificationBadge/messages.de.d.ts.map +1 -0
  7. package/dist/components/CertificationBadge/messages.en.d.ts +6 -0
  8. package/dist/components/CertificationBadge/messages.en.d.ts.map +1 -0
  9. package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts +2 -1
  10. package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts.map +1 -1
  11. package/dist/components/ProjectGridCard/ProjectGridCard.d.ts.map +1 -1
  12. package/dist/components/ProjectGridCardV2/ProjectGridCardV2.d.ts +7 -0
  13. package/dist/components/ProjectGridCardV2/ProjectGridCardV2.d.ts.map +1 -0
  14. package/dist/components/ProjectGridCardV2/index.d.ts +3 -0
  15. package/dist/components/ProjectGridCardV2/index.d.ts.map +1 -0
  16. package/dist/components/SliceRenderer/SliceRenderer.d.ts.map +1 -1
  17. package/dist/index.cjs +1208 -958
  18. package/dist/index.cjs.map +4 -4
  19. package/dist/index.js +1125 -875
  20. package/dist/index.js.map +4 -4
  21. package/dist/rootMessages.de.d.ts +2 -2
  22. package/dist/rootMessages.en.d.ts +2 -2
  23. package/dist/slices/Facts/Facts.d.ts.map +1 -1
  24. package/dist/slices/HeroWithHighlights/HeroWithHighlights.d.ts +17 -0
  25. package/dist/slices/HeroWithHighlights/HeroWithHighlights.d.ts.map +1 -0
  26. package/dist/slices/HeroWithHighlights/index.d.ts +3 -0
  27. package/dist/slices/HeroWithHighlights/index.d.ts.map +1 -0
  28. package/dist/slices/ProjectsGridV2/ProjectsGridV2.d.ts +13 -0
  29. package/dist/slices/ProjectsGridV2/ProjectsGridV2.d.ts.map +1 -0
  30. package/dist/slices/ProjectsGridV2/index.d.ts +3 -0
  31. package/dist/slices/ProjectsGridV2/index.d.ts.map +1 -0
  32. package/dist/utils/getMessages.d.ts +4 -4
  33. package/package.json +1 -1
  34. package/dist/components/ProjectGridCard/messages.de.d.ts +0 -6
  35. package/dist/components/ProjectGridCard/messages.de.d.ts.map +0 -1
  36. package/dist/components/ProjectGridCard/messages.en.d.ts +0 -6
  37. package/dist/components/ProjectGridCard/messages.en.d.ts.map +0 -1
package/dist/index.cjs CHANGED
@@ -999,6 +999,12 @@ var messagesDe = {
999
999
  };
1000
1000
  var messages_de_default = messagesDe;
1001
1001
 
1002
+ // src/components/CertificationBadge/messages.de.ts
1003
+ var messages_de_default2 = {
1004
+ "components.certificationBadge.certified": "Zertifiziert, {year}",
1005
+ "components.certificationBadge.certificationInProgress": "Zertifizierung ist in Arbeit"
1006
+ };
1007
+
1002
1008
  // src/components/CreditsAvailableBadge/messages.de.ts
1003
1009
  var messagesDe2 = {
1004
1010
  "components.creditsAvailableBadge.text.yes": "Credits verf\xFCgbar",
@@ -1006,26 +1012,26 @@ var messagesDe2 = {
1006
1012
  "components.creditsAvailableBadge.text.no": "Keine verbleibenden Credits",
1007
1013
  "components.creditsAvailableBadge.text.notYet": "Credits bald verf\xFCgbar"
1008
1014
  };
1009
- var messages_de_default2 = messagesDe2;
1015
+ var messages_de_default3 = messagesDe2;
1010
1016
 
1011
1017
  // src/slices/Cta/messages.de.ts
1012
1018
  var messagesDe3 = {
1013
1019
  "sections.cta.backgroundShapes": "Dunkle Hintergrundformen",
1014
1020
  "sections.cta.backgroundShapesLight": "Helle Hintergrundformen"
1015
1021
  };
1016
- var messages_de_default3 = messagesDe3;
1022
+ var messages_de_default4 = messagesDe3;
1017
1023
 
1018
1024
  // src/components/CustomerCard/messages.de.ts
1019
1025
  var messagesDe4 = {
1020
1026
  "sections.customerCard.more": "Weiterlesen"
1021
1027
  };
1022
- var messages_de_default4 = messagesDe4;
1028
+ var messages_de_default5 = messagesDe4;
1023
1029
 
1024
1030
  // src/components/CustomerQuoteCard/messages.de.ts
1025
1031
  var messagesDe5 = {
1026
1032
  "sections.customerQuoteCard.more": "Weiterlesen"
1027
1033
  };
1028
- var messages_de_default5 = messagesDe5;
1034
+ var messages_de_default6 = messagesDe5;
1029
1035
 
1030
1036
  // src/components/EventCard/messages.de.ts
1031
1037
  var messagesDe6 = {
@@ -1042,7 +1048,7 @@ var messagesDe6 = {
1042
1048
  "sections.eventCard.eventType.roadshow": "Roadshow",
1043
1049
  "sections.eventCard.eventType.meetup": "Meet Up"
1044
1050
  };
1045
- var messages_de_default6 = messagesDe6;
1051
+ var messages_de_default7 = messagesDe6;
1046
1052
 
1047
1053
  // src/slices/Events/messages.de.ts
1048
1054
  var messagesDe7 = {
@@ -1056,7 +1062,7 @@ var messagesDe7 = {
1056
1062
  "sections.events.eventsFilter.sortBy.newest": "Neueste zuerst",
1057
1063
  "sections.events.eventsFilter.sortBy.oldest": "\xC4lteste zuerst"
1058
1064
  };
1059
- var messages_de_default7 = messagesDe7;
1065
+ var messages_de_default8 = messagesDe7;
1060
1066
 
1061
1067
  // src/slices/Glossary/messages.de.ts
1062
1068
  var messagesDe8 = {
@@ -1064,36 +1070,29 @@ var messagesDe8 = {
1064
1070
  "sections.glossary.copySuccessMessage": "Link in die Zwischenablage kopiert",
1065
1071
  "sections.glossary.copyFailureMessage": "Link konnte nicht in die Zwischenablage kopiert werden"
1066
1072
  };
1067
- var messages_de_default8 = messagesDe8;
1073
+ var messages_de_default9 = messagesDe8;
1068
1074
 
1069
1075
  // src/components/portfolio/DocumentsDownloadList/messages.de.ts
1070
1076
  var messagesDe9 = {
1071
1077
  "features.portfolio.documentsDownloadList.projectDocuments": "Projektdokumente",
1072
1078
  "features.portfolio.documentsDownloadList.downloadDocument": "Dokument herunterladen"
1073
1079
  };
1074
- var messages_de_default9 = messagesDe9;
1080
+ var messages_de_default10 = messagesDe9;
1075
1081
 
1076
1082
  // src/slices/ProjectFacts/messages.de.ts
1077
1083
  var messagesDe10 = {
1078
1084
  "sections.projectFacts.projectInfo.value": "Projekt Infos"
1079
1085
  };
1080
- var messages_de_default10 = messagesDe10;
1081
-
1082
- // src/components/ProjectGridCard/messages.de.ts
1083
- var messagesDe11 = {
1084
- "components.projectGridCard.certified": "Zertifiziert, {year}",
1085
- "components.projectGridCard.certificationInProgress": "Zertifizierung ist in Arbeit"
1086
- };
1087
- var messages_de_default11 = messagesDe11;
1086
+ var messages_de_default11 = messagesDe10;
1088
1087
 
1089
1088
  // src/slices/ProjectsMap/messages.de.ts
1090
- var messagesDe12 = {
1089
+ var messagesDe11 = {
1091
1090
  "sections.projectsMap.link.text": "Mehr Infos"
1092
1091
  };
1093
- var messages_de_default12 = messagesDe12;
1092
+ var messages_de_default12 = messagesDe11;
1094
1093
 
1095
1094
  // src/components/portfolio/ProjectInfo/messages.de.ts
1096
- var messagesDe13 = {
1095
+ var messagesDe12 = {
1097
1096
  "features.projectInfo.projectInfo.value": "Projekt Infos",
1098
1097
  "features.projectInfo.properties.area": "Projekt Fl\xE4che",
1099
1098
  "features.projectInfo.properties.location": "Standort",
@@ -1109,10 +1108,10 @@ var messagesDe13 = {
1109
1108
  "features.projectInfo.properties.riskBuffer": "Anteil Risikopuffer",
1110
1109
  "features.projectInfo.properties.year": "{years} {years, plural, one {Jahr} other {Jahre} }"
1111
1110
  };
1112
- var messages_de_default13 = messagesDe13;
1111
+ var messages_de_default13 = messagesDe12;
1113
1112
 
1114
1113
  // src/components/portfolio/SmallCheckout/messages.de.ts
1115
- var messagesDe14 = {
1114
+ var messagesDe13 = {
1116
1115
  "portfolio.smallCheckout.price.taxNotIncluded": "ohne Steuern",
1117
1116
  "portfolio.smallCheckout.price.taxIncluded": "Preis inklusive Steuern: {number}",
1118
1117
  "portfolio.smallCheckout.contributionValueCurrency.label.CHF": "Geben Sie den Beitrag in Fr. ein",
@@ -1126,10 +1125,10 @@ var messagesDe14 = {
1126
1125
  "portfolio.smallCheckout.contributionValueTons.label": "Beitrag in Tonnen",
1127
1126
  "portfolio.smallCheckout.submitButton": "Credits kaufen"
1128
1127
  };
1129
- var messages_de_default14 = messagesDe14;
1128
+ var messages_de_default14 = messagesDe13;
1130
1129
 
1131
1130
  // src/slices/ShopCheckout/messages.de.ts
1132
- var messagesDe15 = {
1131
+ var messagesDe14 = {
1133
1132
  "sections.shopCheckout.intro.price": "Preis",
1134
1133
  "sections.shopCheckout.contributionValue.label.EUR": "Geben sie einen Betrag in \u20AC ein",
1135
1134
  "sections.shopCheckout.contributionValue.label.CHF": "Geben sie einen Betrag in CHF ein",
@@ -1145,21 +1144,21 @@ var messagesDe15 = {
1145
1144
  "sections.shopCheckout.summary.price.taxIncluded": "Preis inklusive Steuern: {number}",
1146
1145
  "sections.shopCheckout.submit": "Kaufen"
1147
1146
  };
1148
- var messages_de_default15 = messagesDe15;
1147
+ var messages_de_default15 = messagesDe14;
1149
1148
 
1150
1149
  // src/slices/TextCarousel/messages.de.ts
1151
- var messagesDe16 = {
1150
+ var messagesDe15 = {
1152
1151
  "sections.textCarousel.moveRight": "Nach rechts bewegen",
1153
1152
  "sections.textCarousel.moveLeft": "Nach links bewegen"
1154
1153
  };
1155
- var messages_de_default16 = messagesDe16;
1154
+ var messages_de_default16 = messagesDe15;
1156
1155
 
1157
1156
  // src/slices/Timeline/messages.de.ts
1158
- var messagesDe17 = {
1157
+ var messagesDe16 = {
1159
1158
  "sections.timeline.backgroundShapes": "Hintergrundformen",
1160
1159
  "sections.timeline.showMoreButton": "Drei weitere Meilensteine anzeigen"
1161
1160
  };
1162
- var messages_de_default17 = messagesDe17;
1161
+ var messages_de_default17 = messagesDe16;
1163
1162
 
1164
1163
  // src/unit.messages.de.ts
1165
1164
  var unitMessagesDe = {
@@ -1174,21 +1173,21 @@ var rootMessagesDe = {
1174
1173
  // Components
1175
1174
  //
1176
1175
  ...messages_de_default2,
1177
- ...messages_de_default6,
1178
- ...messages_de_default9,
1176
+ ...messages_de_default3,
1177
+ ...messages_de_default7,
1178
+ ...messages_de_default10,
1179
1179
  ...messages_de_default13,
1180
1180
  ...messages_de_default14,
1181
- ...messages_de_default11,
1182
1181
  //
1183
1182
  // Slices
1184
1183
  //
1185
1184
  ...messages_de_default,
1186
- ...messages_de_default3,
1187
1185
  ...messages_de_default4,
1188
1186
  ...messages_de_default5,
1189
- ...messages_de_default7,
1187
+ ...messages_de_default6,
1190
1188
  ...messages_de_default8,
1191
- ...messages_de_default10,
1189
+ ...messages_de_default9,
1190
+ ...messages_de_default11,
1192
1191
  ...messages_de_default12,
1193
1192
  ...messages_de_default15,
1194
1193
  ...messages_de_default16,
@@ -1206,6 +1205,12 @@ var messagesEn = {
1206
1205
  };
1207
1206
  var messages_en_default = messagesEn;
1208
1207
 
1208
+ // src/components/CertificationBadge/messages.en.ts
1209
+ var messages_en_default2 = {
1210
+ "components.certificationBadge.certified": "Certified, {year}",
1211
+ "components.certificationBadge.certificationInProgress": "Certification in progress"
1212
+ };
1213
+
1209
1214
  // src/components/CreditsAvailableBadge/messages.en.ts
1210
1215
  var messagesEn2 = {
1211
1216
  "components.creditsAvailableBadge.text.yes": "Credits available",
@@ -1213,26 +1218,26 @@ var messagesEn2 = {
1213
1218
  "components.creditsAvailableBadge.text.no": "No remaining credits",
1214
1219
  "components.creditsAvailableBadge.text.notYet": "Credits available soon"
1215
1220
  };
1216
- var messages_en_default2 = messagesEn2;
1221
+ var messages_en_default3 = messagesEn2;
1217
1222
 
1218
1223
  // src/slices/Cta/messages.en.ts
1219
1224
  var messagesEn3 = {
1220
1225
  "sections.cta.backgroundShapesDark": "Dark background shapes",
1221
1226
  "sections.cta.backgroundShapesLight": "Light background shapes"
1222
1227
  };
1223
- var messages_en_default3 = messagesEn3;
1228
+ var messages_en_default4 = messagesEn3;
1224
1229
 
1225
1230
  // src/components/CustomerCard/messages.en.ts
1226
1231
  var messagesEn4 = {
1227
1232
  "sections.customerCard.more": "Read more"
1228
1233
  };
1229
- var messages_en_default4 = messagesEn4;
1234
+ var messages_en_default5 = messagesEn4;
1230
1235
 
1231
1236
  // src/components/CustomerQuoteCard/messages.en.ts
1232
1237
  var messagesEn5 = {
1233
1238
  "sections.customerQuoteCard.more": "Read more"
1234
1239
  };
1235
- var messages_en_default5 = messagesEn5;
1240
+ var messages_en_default6 = messagesEn5;
1236
1241
 
1237
1242
  // src/components/EventCard/messages.en.ts
1238
1243
  var messagesEn6 = {
@@ -1249,10 +1254,10 @@ var messagesEn6 = {
1249
1254
  "sections.eventCard.eventType.roadshow": "Roadshow",
1250
1255
  "sections.eventCard.eventType.meetup": "Meet Up"
1251
1256
  };
1252
- var messages_en_default6 = messagesEn6;
1257
+ var messages_en_default7 = messagesEn6;
1253
1258
 
1254
1259
  // src/slices/Events/messages.en.ts
1255
- var messagesDe18 = {
1260
+ var messagesDe17 = {
1256
1261
  "sections.events.loadMore": "Load more",
1257
1262
  "sections.events.noUpcomingEvents": "No upcoming events found",
1258
1263
  "sections.events.noPastEvents": "No past events found",
@@ -1263,7 +1268,7 @@ var messagesDe18 = {
1263
1268
  "sections.events.eventsFilter.sortBy.newest": "Newest first",
1264
1269
  "sections.events.eventsFilter.sortBy.oldest": "Oldest first"
1265
1270
  };
1266
- var messages_en_default7 = messagesDe18;
1271
+ var messages_en_default8 = messagesDe17;
1267
1272
 
1268
1273
  // src/slices/Glossary/messages.en.ts
1269
1274
  var messagesEn7 = {
@@ -1271,27 +1276,20 @@ var messagesEn7 = {
1271
1276
  "sections.glossary.copySuccessMessage": "Copied the link to your clipboard",
1272
1277
  "sections.glossary.copyFailureMessage": "Could not copy link to clipboard"
1273
1278
  };
1274
- var messages_en_default8 = messagesEn7;
1279
+ var messages_en_default9 = messagesEn7;
1275
1280
 
1276
1281
  // src/components/portfolio/DocumentsDownloadList/messages.en.ts
1277
1282
  var messagesEn8 = {
1278
1283
  "features.portfolio.documentsDownloadList.projectDocuments": "Project documents",
1279
1284
  "features.portfolio.documentsDownloadList.downloadDocument": "Download document"
1280
1285
  };
1281
- var messages_en_default9 = messagesEn8;
1286
+ var messages_en_default10 = messagesEn8;
1282
1287
 
1283
1288
  // src/slices/ProjectFacts/messages.en.ts
1284
1289
  var messagesEn9 = {
1285
1290
  "sections.projectFacts.projectInfo.value": "Project Infos"
1286
1291
  };
1287
- var messages_en_default10 = messagesEn9;
1288
-
1289
- // src/components/ProjectGridCard/messages.en.ts
1290
- var messagesDe19 = {
1291
- "components.projectGridCard.certified": "Certified, {year}",
1292
- "components.projectGridCard.certificationInProgress": "Certification in progress"
1293
- };
1294
- var messages_en_default11 = messagesDe19;
1292
+ var messages_en_default11 = messagesEn9;
1295
1293
 
1296
1294
  // src/slices/ProjectsMap/messages.en.ts
1297
1295
  var messagesEn10 = {
@@ -1355,11 +1353,11 @@ var messagesEn13 = {
1355
1353
  var messages_en_default15 = messagesEn13;
1356
1354
 
1357
1355
  // src/slices/TextCarousel/messages.en.ts
1358
- var messagesDe20 = {
1356
+ var messagesDe18 = {
1359
1357
  "sections.textCarousel.moveRight": "Move right",
1360
1358
  "sections.textCarousel.moveLeft": "Move left"
1361
1359
  };
1362
- var messages_en_default16 = messagesDe20;
1360
+ var messages_en_default16 = messagesDe18;
1363
1361
 
1364
1362
  // src/slices/Timeline/messages.en.ts
1365
1363
  var messagesEn14 = {
@@ -1381,21 +1379,21 @@ var rootMessagesEn = {
1381
1379
  // Components
1382
1380
  //
1383
1381
  ...messages_en_default2,
1384
- ...messages_en_default6,
1385
- ...messages_en_default9,
1382
+ ...messages_en_default3,
1383
+ ...messages_en_default7,
1384
+ ...messages_en_default10,
1386
1385
  ...messages_en_default13,
1387
1386
  ...messages_en_default14,
1388
- ...messages_en_default11,
1389
1387
  //
1390
1388
  // Slices
1391
1389
  //
1392
1390
  ...messages_en_default,
1393
- ...messages_en_default3,
1394
1391
  ...messages_en_default4,
1395
1392
  ...messages_en_default5,
1396
- ...messages_en_default7,
1393
+ ...messages_en_default6,
1397
1394
  ...messages_en_default8,
1398
- ...messages_en_default10,
1395
+ ...messages_en_default9,
1396
+ ...messages_en_default11,
1399
1397
  ...messages_en_default12,
1400
1398
  ...messages_en_default15,
1401
1399
  ...messages_en_default16,
@@ -3443,13 +3441,13 @@ var TextWithTextCards = ({
3443
3441
  var TextWithTextCards_default = TextWithTextCards;
3444
3442
 
3445
3443
  // src/slices/TextWithCard/TextWithCard.tsx
3446
- var import_boemly25 = require("boemly");
3444
+ var import_boemly26 = require("boemly");
3447
3445
  var import_image17 = __toESM(require("next/image"), 1);
3448
- var import_react25 = require("@phosphor-icons/react");
3446
+ var import_react28 = require("@phosphor-icons/react");
3449
3447
 
3450
3448
  // src/components/ProjectGridCard/ProjectGridCard.tsx
3451
- var import_boemly24 = require("boemly");
3452
- var import_react24 = require("react");
3449
+ var import_boemly25 = require("boemly");
3450
+ var import_react27 = require("react");
3453
3451
  var import_image16 = __toESM(require("next/image"), 1);
3454
3452
 
3455
3453
  // src/constants/formatter.ts
@@ -3468,10 +3466,12 @@ var FORMAT_AS_PERCENT_CONFIG = {
3468
3466
  var import_react23 = require("react");
3469
3467
  var import_boemly23 = require("boemly");
3470
3468
  var import_link2 = __toESM(require("next/link"), 1);
3469
+ var import_react24 = require("@phosphor-icons/react");
3471
3470
  var import_jsx_runtime24 = require("react/jsx-runtime");
3472
3471
  var CreditsAvailableBadge = ({
3473
3472
  status,
3474
- href
3473
+ href,
3474
+ variant = "default"
3475
3475
  }) => {
3476
3476
  const { formatMessage } = (0, import_react23.useContext)(IntlContext);
3477
3477
  const variants2 = {
@@ -3479,7 +3479,8 @@ var CreditsAvailableBadge = ({
3479
3479
  message: formatMessage({
3480
3480
  id: "components.creditsAvailableBadge.text.yes"
3481
3481
  }),
3482
- color: "primary.800"
3482
+ color: "primary.800",
3483
+ withIconColor: "primary.700"
3483
3484
  },
3484
3485
  ["no_credits_available" /* NO_CREDITS_AVAILABLE */]: {
3485
3486
  message: formatMessage({
@@ -3500,8 +3501,14 @@ var CreditsAvailableBadge = ({
3500
3501
  color: "blue.500"
3501
3502
  }
3502
3503
  };
3503
- const variant = variants2[status];
3504
- const badge = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.BoemlyTag, { backgroundColor: variant.color, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.Text, { color: "white", size: "xsLowBold", children: variant.message }) });
3504
+ const config = variants2[status];
3505
+ const backgroundColor = variant === "withIcon" ? config.withIconColor || config.color : config.color;
3506
+ const defaultBadge = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.BoemlyTag, { backgroundColor, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.Text, { color: "white", size: "xsLowBold", children: config.message }) });
3507
+ const withIconBadge = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.BoemlyTag, { backgroundColor, borderRadius: "full", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_boemly23.Flex, { alignItems: "center", gap: "2", children: [
3508
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react24.ShoppingCartIcon, { size: 16, color: "white", weight: "bold" }),
3509
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.Text, { size: "smRegularNormalBold", color: "white", children: config.message })
3510
+ ] }) });
3511
+ const badge = variant === "withIcon" ? withIconBadge : defaultBadge;
3505
3512
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_boemly23.Flex, { justifyContent: "flex-start", children: href ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_link2.default, { href, children: badge }) : badge });
3506
3513
  };
3507
3514
  var CreditsAvailableBadge_default = CreditsAvailableBadge;
@@ -3509,14 +3516,50 @@ var CreditsAvailableBadge_default = CreditsAvailableBadge;
3509
3516
  // src/components/CreditsAvailableBadge/index.ts
3510
3517
  var CreditsAvailableBadge_default2 = CreditsAvailableBadge_default;
3511
3518
 
3512
- // src/components/ProjectGridCard/ProjectGridCard.tsx
3519
+ // src/components/CertificationBadge/CertificationBadge.tsx
3520
+ var import_react25 = require("react");
3521
+ var import_boemly24 = require("boemly");
3522
+ var import_react26 = require("@phosphor-icons/react");
3513
3523
  var import_jsx_runtime25 = require("react/jsx-runtime");
3524
+ var CertificationBadge = ({
3525
+ certificationDate,
3526
+ variant = "default"
3527
+ }) => {
3528
+ const { formatMessage } = (0, import_react25.useContext)(IntlContext);
3529
+ const isCertified = !!certificationDate;
3530
+ const defaultBadge = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "xsLowBold", color: "gray.800", children: isCertified ? formatMessage(
3531
+ { id: "components.certificationBadge.certified" },
3532
+ { year: new Date(certificationDate).getFullYear() }
3533
+ ) : formatMessage({
3534
+ id: "components.certificationBadge.certificationInProgress"
3535
+ }) }) });
3536
+ const withIconBadge = isCertified ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "primary.700", borderRadius: "full", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_boemly24.Flex, { alignItems: "center", gap: "2", children: [
3537
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react26.SealCheckIcon, { size: 16, color: "white", weight: "bold" }),
3538
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "smRegularNormalBold", color: "white", children: formatMessage(
3539
+ { id: "components.certificationBadge.certified" },
3540
+ { year: new Date(certificationDate).getFullYear() }
3541
+ ) })
3542
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", borderRadius: "full", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_boemly24.Flex, { alignItems: "center", gap: "2", children: [
3543
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react26.SealCheckIcon, { size: 16, color: "gray.800", weight: "bold" }),
3544
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "smRegularNormalBold", color: "gray.800", children: formatMessage({
3545
+ id: "components.certificationBadge.certificationInProgress"
3546
+ }) })
3547
+ ] }) });
3548
+ return variant === "withIcon" ? withIconBadge : defaultBadge;
3549
+ };
3550
+ var CertificationBadge_default = CertificationBadge;
3551
+
3552
+ // src/components/CertificationBadge/index.ts
3553
+ var CertificationBadge_default2 = CertificationBadge_default;
3554
+
3555
+ // src/components/ProjectGridCard/ProjectGridCard.tsx
3556
+ var import_jsx_runtime26 = require("react/jsx-runtime");
3514
3557
  var ProjectGridCard = ({
3515
3558
  project
3516
3559
  }) => {
3517
- const { formatNumber, formatMessage } = (0, import_react24.useContext)(IntlContext);
3518
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Container, { height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_boemly24.Flex, { flexDir: "column", height: "full", children: [
3519
- project.thumbnail && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Box, { borderRadius: "xl", position: "relative", height: "36", mb: "2", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3560
+ const { formatNumber } = (0, import_react27.useContext)(IntlContext);
3561
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Container, { height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_boemly25.Flex, { flexDir: "column", height: "full", children: [
3562
+ project.thumbnail && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Box, { borderRadius: "xl", position: "relative", height: "36", mb: "2", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3520
3563
  import_image16.default,
3521
3564
  {
3522
3565
  src: strapiMediaUrl_default(project.thumbnail?.img, "medium"),
@@ -3528,20 +3571,15 @@ var ProjectGridCard = ({
3528
3571
  }
3529
3572
  }
3530
3573
  ) }),
3531
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Heading, { my: "4", size: "lg", children: project.friendlyName || project.title }),
3532
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_boemly24.Flex, { flexDir: "row", gap: "2", flexWrap: "wrap", children: [
3533
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "xsLowBold", color: "gray.800", children: formatNumber(
3574
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Heading, { my: "4", size: "lg", children: project.friendlyName || project.title }),
3575
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_boemly25.Flex, { flexDir: "row", gap: "2", flexWrap: "wrap", children: [
3576
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Text, { size: "xsLowBold", color: "gray.800", children: formatNumber(
3534
3577
  (project.area || 0) / 1e4,
3535
3578
  FORMAT_AS_HECTARE_CONFIG
3536
3579
  ) }) }),
3537
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "xsLowBold", color: "gray.800", children: project.location }) }),
3538
- project.certificationDate ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "xsLowBold", color: "gray.800", children: formatMessage(
3539
- { id: "components.projectGridCard.certified" },
3540
- { year: new Date(project.certificationDate).getFullYear() }
3541
- ) }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_boemly24.Text, { size: "xsLowBold", color: "gray.800", children: formatMessage({
3542
- id: "components.projectGridCard.certificationInProgress"
3543
- }) }) }),
3544
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability })
3580
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.BoemlyTag, { backgroundColor: "gray.100", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Text, { size: "xsLowBold", color: "gray.800", children: project.location }) }),
3581
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CertificationBadge_default2, { certificationDate: project.certificationDate }),
3582
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability })
3545
3583
  ] })
3546
3584
  ] }) });
3547
3585
  };
@@ -3550,7 +3588,7 @@ var ProjectGridCard = ({
3550
3588
  var ProjectGridCard_default = ProjectGridCard;
3551
3589
 
3552
3590
  // src/slices/TextWithCard/TextWithCard.tsx
3553
- var import_jsx_runtime26 = require("react/jsx-runtime");
3591
+ var import_jsx_runtime27 = require("react/jsx-runtime");
3554
3592
  var TextWithCard = ({
3555
3593
  slice,
3556
3594
  projects
@@ -3558,23 +3596,23 @@ var TextWithCard = ({
3558
3596
  const portfolioProject = projects.find(
3559
3597
  (p) => slice.project?.data?.attributes.fpmProjectId && p.id === slice.project.data.attributes.fpmProjectId
3560
3598
  );
3561
- const card = /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
3562
- import_boemly25.GridItem,
3599
+ const card = /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3600
+ import_boemly26.GridItem,
3563
3601
  {
3564
3602
  colSpan: [4, null, null, null, 2],
3565
3603
  rowSpan: 1,
3566
3604
  position: "relative",
3567
3605
  "data-testid": `card-position-${slice.cardPosition}`,
3568
3606
  children: [
3569
- portfolioProject && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ProjectGridCard_default, { project: portfolioProject }),
3570
- !portfolioProject && slice.card && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3571
- import_boemly25.ProjectCard,
3607
+ portfolioProject && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ProjectGridCard_default, { project: portfolioProject }),
3608
+ !portfolioProject && slice.card && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3609
+ import_boemly26.ProjectCard,
3572
3610
  {
3573
3611
  facts: slice.card.facts,
3574
3612
  footerSubTitle: slice.card.footerSubTitle,
3575
3613
  footerTitle: slice.card.footerTitle,
3576
3614
  title: slice.card.title,
3577
- image: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3615
+ image: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3578
3616
  import_image17.default,
3579
3617
  {
3580
3618
  src: strapiMediaUrl_default(slice.card.image.img, "medium"),
@@ -3588,8 +3626,8 @@ var TextWithCard = ({
3588
3626
  ]
3589
3627
  }
3590
3628
  );
3591
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.DefaultSectionContainer, { title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
3592
- import_boemly25.Grid,
3629
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.DefaultSectionContainer, { title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3630
+ import_boemly26.Grid,
3593
3631
  {
3594
3632
  templateColumns: [
3595
3633
  "repeat(4, auto)",
@@ -3609,28 +3647,28 @@ var TextWithCard = ({
3609
3647
  columnGap: ["0", null, null, null, "28"],
3610
3648
  children: [
3611
3649
  slice.cardPosition === "left" && card,
3612
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_boemly25.GridItem, { colSpan: 4, rowSpan: 1, position: "relative", children: [
3613
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3614
- import_boemly25.DefaultSectionHeader,
3650
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_boemly26.GridItem, { colSpan: 4, rowSpan: 1, position: "relative", children: [
3651
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3652
+ import_boemly26.DefaultSectionHeader,
3615
3653
  {
3616
3654
  tagline: slice.tagline,
3617
3655
  title: slice.title,
3618
3656
  text: slice.text
3619
3657
  }
3620
3658
  ),
3621
- slice.listItems && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
3622
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Spacer, { height: "10" }),
3623
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.BoemlyList, { listItems: slice.listItems }),
3624
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_boemly25.Spacer, { height: "10" })
3659
+ slice.listItems && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
3660
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.Spacer, { height: "10" }),
3661
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.BoemlyList, { listItems: slice.listItems }),
3662
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.Spacer, { height: "10" })
3625
3663
  ] }),
3626
- slice.button && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3664
+ slice.button && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3627
3665
  StrapiLinkButton_default,
3628
3666
  {
3629
3667
  link: slice.button,
3630
3668
  size: "md",
3631
3669
  colorPalette: "white",
3632
3670
  variant: "outline",
3633
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react25.ArrowRightIcon, {}),
3671
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react28.ArrowRightIcon, {}),
3634
3672
  component: "TextWithCard"
3635
3673
  }
3636
3674
  )
@@ -3646,27 +3684,27 @@ var TextWithCard_default = TextWithCard;
3646
3684
 
3647
3685
  // src/slices/LinkCardsGrid/LinkCardsGrid.tsx
3648
3686
  var import_link3 = __toESM(require("next/link"), 1);
3649
- var import_boemly26 = require("boemly");
3650
- var import_react26 = require("@phosphor-icons/react");
3687
+ var import_boemly27 = require("boemly");
3688
+ var import_react29 = require("@phosphor-icons/react");
3651
3689
 
3652
3690
  // src/constants/animations.ts
3653
3691
  var MEDIUM_TRANSITION_DURATION = 0.2;
3654
3692
 
3655
3693
  // src/slices/LinkCardsGrid/LinkCardsGrid.tsx
3656
- var import_jsx_runtime27 = require("react/jsx-runtime");
3694
+ var import_jsx_runtime28 = require("react/jsx-runtime");
3657
3695
  var LinkCardsGrid = ({
3658
3696
  slice
3659
- }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.DefaultSectionContainer, { title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_boemly26.Wrapper, { children: [
3660
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3661
- import_boemly26.DefaultSectionHeader,
3697
+ }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.DefaultSectionContainer, { title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_boemly27.Wrapper, { children: [
3698
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3699
+ import_boemly27.DefaultSectionHeader,
3662
3700
  {
3663
3701
  tagline: slice.tagline,
3664
3702
  title: slice.title,
3665
3703
  text: slice.text
3666
3704
  }
3667
3705
  ),
3668
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.SimpleGrid, { mt: "16", columns: [1, null, null, null, 2], gap: "4", children: slice.cards.map(({ id, title, text, link }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_link3.default, { href: strapiLinkUrl_default(link), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3669
- import_boemly26.Box,
3706
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.SimpleGrid, { mt: "16", columns: [1, null, null, null, 2], gap: "4", children: slice.cards.map(({ id, title, text, link }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_link3.default, { href: strapiLinkUrl_default(link), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3707
+ import_boemly27.Box,
3670
3708
  {
3671
3709
  "data-testid": "link",
3672
3710
  px: "10",
@@ -3683,12 +3721,12 @@ var LinkCardsGrid = ({
3683
3721
  transitionDuration: `${MEDIUM_TRANSITION_DURATION}s`,
3684
3722
  _hover: { backgroundColor: "gray.50" },
3685
3723
  children: [
3686
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { children: [
3687
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.Heading, { as: "h4", size: "lg", children: title }),
3688
- text && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_boemly26.Text, { mt: "2", size: "smRegularNormal", children: text })
3724
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { children: [
3725
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.Heading, { as: "h4", size: "lg", children: title }),
3726
+ text && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.Text, { mt: "2", size: "smRegularNormal", children: text })
3689
3727
  ] }),
3690
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3691
- import_boemly26.Box,
3728
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3729
+ import_boemly27.Box,
3692
3730
  {
3693
3731
  display: "flex",
3694
3732
  alignItems: "center",
@@ -3703,7 +3741,7 @@ var LinkCardsGrid = ({
3703
3741
  minHeight: "12",
3704
3742
  ml: "6",
3705
3743
  backgroundColor: "white",
3706
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react26.CaretRightIcon, {})
3744
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react29.CaretRightIcon, {})
3707
3745
  }
3708
3746
  )
3709
3747
  ]
@@ -3715,9 +3753,9 @@ var LinkCardsGrid = ({
3715
3753
  var LinkCardsGrid_default = LinkCardsGrid;
3716
3754
 
3717
3755
  // src/slices/SmallHero/SmallHero.tsx
3718
- var import_boemly27 = require("boemly");
3756
+ var import_boemly28 = require("boemly");
3719
3757
  var import_image18 = __toESM(require("next/image"), 1);
3720
- var import_jsx_runtime28 = require("react/jsx-runtime");
3758
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3721
3759
  var colors = {
3722
3760
  dark: {
3723
3761
  tagline: "white",
@@ -3735,16 +3773,16 @@ var colors = {
3735
3773
  var SmallHero = ({
3736
3774
  slice,
3737
3775
  theme
3738
- }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3739
- import_boemly27.Box,
3776
+ }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
3777
+ import_boemly28.Box,
3740
3778
  {
3741
3779
  position: "relative",
3742
3780
  width: "full",
3743
3781
  height: "xl",
3744
3782
  backgroundColor: colors[theme].background,
3745
3783
  children: [
3746
- slice.image && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
3747
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3784
+ slice.image && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
3785
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3748
3786
  import_image18.default,
3749
3787
  {
3750
3788
  src: strapiMediaUrl_default(slice.image.img, "xLarge"),
@@ -3753,10 +3791,10 @@ var SmallHero = ({
3753
3791
  style: { objectFit: slice.image.objectFit || "cover" }
3754
3792
  }
3755
3793
  ),
3756
- slice.gradient && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.Gradient, {})
3794
+ slice.gradient && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly28.Gradient, {})
3757
3795
  ] }),
3758
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3759
- import_boemly27.Box,
3796
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3797
+ import_boemly28.Box,
3760
3798
  {
3761
3799
  position: "absolute",
3762
3800
  left: "0",
@@ -3764,9 +3802,9 @@ var SmallHero = ({
3764
3802
  width: "full",
3765
3803
  textAlign: "center",
3766
3804
  transform: "translateY(-50%)",
3767
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
3768
- slice.tags && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_boemly27.Flex, { direction: "row", justify: "center", gap: "2", mb: "4", wrap: "wrap", children: slice.tags.map(({ id, text, colorPalette }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3769
- import_boemly27.BoemlyTag,
3805
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly28.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
3806
+ slice.tags && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly28.Flex, { direction: "row", justify: "center", gap: "2", mb: "4", wrap: "wrap", children: slice.tags.map(({ id, text, colorPalette }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3807
+ import_boemly28.BoemlyTag,
3770
3808
  {
3771
3809
  colorPalette,
3772
3810
  size: "md",
@@ -3775,8 +3813,8 @@ var SmallHero = ({
3775
3813
  },
3776
3814
  id
3777
3815
  )) }),
3778
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3779
- import_boemly27.DefaultSectionHeader,
3816
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3817
+ import_boemly28.DefaultSectionHeader,
3780
3818
  {
3781
3819
  isHero: true,
3782
3820
  tagline: slice.tagline,
@@ -3801,7 +3839,7 @@ var SmallHero = ({
3801
3839
  }
3802
3840
  }
3803
3841
  ),
3804
- slice.button && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3842
+ slice.button && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3805
3843
  StrapiLinkButton_default,
3806
3844
  {
3807
3845
  link: slice.button,
@@ -3821,15 +3859,15 @@ var SmallHero = ({
3821
3859
  var SmallHero_default = SmallHero;
3822
3860
 
3823
3861
  // src/slices/Blog/Blog.tsx
3824
- var import_react27 = require("react");
3825
- var import_boemly29 = require("boemly");
3862
+ var import_react30 = require("react");
3863
+ var import_boemly30 = require("boemly");
3826
3864
  var import_image19 = __toESM(require("next/image"), 1);
3827
3865
  var import_link4 = __toESM(require("next/link"), 1);
3828
3866
 
3829
3867
  // src/slices/Blog/styles.ts
3830
3868
  var import_styled3 = __toESM(require("@emotion/styled"), 1);
3831
- var import_boemly28 = require("boemly");
3832
- var BlogItemContainer = (0, import_styled3.default)(import_boemly28.Link)`
3869
+ var import_boemly29 = require("boemly");
3870
+ var BlogItemContainer = (0, import_styled3.default)(import_boemly29.Link)`
3833
3871
  text-decoration: none;
3834
3872
  display: flex;
3835
3873
  flex-direction: column;
@@ -3847,7 +3885,7 @@ var BlogItemContainer = (0, import_styled3.default)(import_boemly28.Link)`
3847
3885
  }
3848
3886
  }
3849
3887
  `;
3850
- var ImageContainer = (0, import_styled3.default)(import_boemly28.Box)`
3888
+ var ImageContainer = (0, import_styled3.default)(import_boemly29.Box)`
3851
3889
  width: 100%;
3852
3890
  height: var(--boemly-sizes-xs);
3853
3891
  position: relative;
@@ -3867,24 +3905,24 @@ var ImageContainer = (0, import_styled3.default)(import_boemly28.Box)`
3867
3905
  `;
3868
3906
 
3869
3907
  // src/slices/Blog/Blog.tsx
3870
- var import_jsx_runtime29 = require("react/jsx-runtime");
3908
+ var import_jsx_runtime30 = require("react/jsx-runtime");
3871
3909
  var Blog = ({ slice, blogPosts }) => {
3872
- const { formatDate } = (0, import_react27.useContext)(IntlContext);
3910
+ const { formatDate } = (0, import_react30.useContext)(IntlContext);
3873
3911
  const sortedBlogPosts = slice.blog_posts.sort(
3874
3912
  (a, b) => new Date(b.attributes.createdAt).getTime() - new Date(a.attributes.createdAt).getTime()
3875
3913
  );
3876
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.SimpleGrid, { columns: [1, null, null, 2], gapX: 56, gapY: 24, children: sortedBlogPosts.map(({ attributes }) => {
3914
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.SimpleGrid, { columns: [1, null, null, 2], gapX: 56, gapY: 24, children: sortedBlogPosts.map(({ attributes }) => {
3877
3915
  const blogPost = blogPosts.find((bp) => bp.attributes.slug === attributes.slug);
3878
3916
  if (!blogPost) {
3879
3917
  return null;
3880
3918
  }
3881
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
3919
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
3882
3920
  BlogItemContainer,
3883
3921
  {
3884
3922
  as: import_link4.default,
3885
3923
  href: `/blog/${blogPost.attributes.slug}`,
3886
3924
  children: [
3887
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ImageContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3925
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ImageContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3888
3926
  import_image19.default,
3889
3927
  {
3890
3928
  src: strapiMediaUrl_default(blogPost.attributes.img.img, "large"),
@@ -3895,18 +3933,18 @@ var Blog = ({ slice, blogPosts }) => {
3895
3933
  }
3896
3934
  }
3897
3935
  ) }),
3898
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_boemly29.Box, { px: "2", py: "8", children: [
3899
- blogPost.attributes.category.data && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.Text, { size: "smMonoUppercase", color: "primary.800", mb: "2", children: blogPost.attributes.category.data.attributes.name }),
3900
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.Heading, { size: "lg", children: blogPost.attributes.title }),
3901
- blogPost.attributes.teaser && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.Text, { size: "mdRegularNormal", mt: "2", children: blogPost.attributes.teaser }),
3902
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_boemly29.Spacer, { height: "4" }),
3903
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3904
- import_boemly29.DatePersonPair,
3936
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_boemly30.Box, { px: "2", py: "8", children: [
3937
+ blogPost.attributes.category.data && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Text, { size: "smMonoUppercase", color: "primary.800", mb: "2", children: blogPost.attributes.category.data.attributes.name }),
3938
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Heading, { size: "lg", children: blogPost.attributes.title }),
3939
+ blogPost.attributes.teaser && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Text, { size: "mdRegularNormal", mt: "2", children: blogPost.attributes.teaser }),
3940
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Spacer, { height: "4" }),
3941
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3942
+ import_boemly30.DatePersonPair,
3905
3943
  {
3906
3944
  date: formatDate(blogPost.attributes.createdAt),
3907
3945
  person: blogPost.attributes.author.data ? {
3908
3946
  name: blogPost.attributes.author.data.attributes.name,
3909
- image: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3947
+ image: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3910
3948
  import_image19.default,
3911
3949
  {
3912
3950
  src: strapiMediaUrl_default(
@@ -3935,9 +3973,9 @@ var Blog = ({ slice, blogPosts }) => {
3935
3973
  var Blog_default = Blog;
3936
3974
 
3937
3975
  // src/slices/ProjectsGrid/ProjectsGrid.tsx
3938
- var import_boemly30 = require("boemly");
3976
+ var import_boemly31 = require("boemly");
3939
3977
  var import_link5 = __toESM(require("next/link"), 1);
3940
- var import_jsx_runtime30 = require("react/jsx-runtime");
3978
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3941
3979
  var ConditionalWrapper = ({
3942
3980
  condition,
3943
3981
  wrapper,
@@ -3952,11 +3990,11 @@ var ProjectsGrid = ({
3952
3990
  (strapiProject) => strapiProject.attributes.fpmProjectId === fpmProject.id
3953
3991
  )
3954
3992
  );
3955
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_boemly30.SimpleGrid, { columns: [1, null, null, 2, null, 3], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3993
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_boemly31.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_boemly31.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_boemly31.SimpleGrid, { columns: [1, null, null, 2, null, 3], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3956
3994
  ConditionalWrapper,
3957
3995
  {
3958
3996
  condition: !!project.slug,
3959
- wrapper: (children) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3997
+ wrapper: (children) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3960
3998
  import_link5.default,
3961
3999
  {
3962
4000
  href: `${project.portfolioHost || ""}/portfolio/${project.slug}`,
@@ -3966,15 +4004,15 @@ var ProjectsGrid = ({
3966
4004
  },
3967
4005
  project.id
3968
4006
  ),
3969
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3970
- import_boemly30.Box,
4007
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4008
+ import_boemly31.Box,
3971
4009
  {
3972
4010
  as: "a",
3973
4011
  cursor: "pointer",
3974
4012
  borderRadius: "2xl",
3975
4013
  transition: `box-shadow ease ${MEDIUM_TRANSITION_DURATION}s`,
3976
4014
  _hover: { boxShadow: "lg" },
3977
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ProjectGridCard_default, { project })
4015
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ProjectGridCard_default, { project })
3978
4016
  }
3979
4017
  )
3980
4018
  },
@@ -3985,11 +4023,151 @@ var ProjectsGrid = ({
3985
4023
  // src/slices/ProjectsGrid/index.ts
3986
4024
  var ProjectsGrid_default = ProjectsGrid;
3987
4025
 
4026
+ // src/slices/ProjectsGridV2/ProjectsGridV2.tsx
4027
+ var import_boemly33 = require("boemly");
4028
+ var import_link6 = __toESM(require("next/link"), 1);
4029
+
4030
+ // src/components/ProjectGridCardV2/ProjectGridCardV2.tsx
4031
+ var import_boemly32 = require("boemly");
4032
+ var import_react31 = require("react");
4033
+ var import_image20 = __toESM(require("next/image"), 1);
4034
+ var import_react32 = require("@phosphor-icons/react");
4035
+
4036
+ // src/utils/getCountryFlag.ts
4037
+ var getCountryFlag = (countryCode) => {
4038
+ return countryCode.toUpperCase().replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397));
4039
+ };
4040
+ var getCountryFlag_default = getCountryFlag;
4041
+
4042
+ // src/components/ProjectGridCardV2/ProjectGridCardV2.tsx
4043
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4044
+ var ProjectGridCardV2 = ({
4045
+ project
4046
+ }) => {
4047
+ const { formatNumber } = (0, import_react31.useContext)(IntlContext);
4048
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Box, { height: "full", borderRadius: "lg", boxShadow: "sm", overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Flex, { flexDir: "column", height: "full", children: [
4049
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Box, { position: "relative", height: "56", children: [
4050
+ project.thumbnail && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4051
+ import_image20.default,
4052
+ {
4053
+ src: strapiMediaUrl_default(project.thumbnail?.img, "medium"),
4054
+ alt: project.thumbnail?.alt,
4055
+ fill: true,
4056
+ style: {
4057
+ objectFit: project.thumbnail?.objectFit || "cover"
4058
+ }
4059
+ }
4060
+ ),
4061
+ project.projectType?.title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Box, { position: "absolute", top: "4", left: "4", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.BoemlyTag, { backgroundColor: "gray.900", borderRadius: "full", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Text, { size: "smRegularNormalBold", color: "white", children: project.projectType.title }) }) }),
4062
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
4063
+ import_boemly32.Flex,
4064
+ {
4065
+ position: "absolute",
4066
+ bottom: "4",
4067
+ right: "4",
4068
+ flexDir: "column",
4069
+ gap: "2",
4070
+ alignItems: "flex-end",
4071
+ children: [
4072
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4073
+ CertificationBadge_default2,
4074
+ {
4075
+ certificationDate: project.certificationDate,
4076
+ variant: "withIcon"
4077
+ }
4078
+ ),
4079
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4080
+ CreditsAvailableBadge_default2,
4081
+ {
4082
+ variant: "withIcon",
4083
+ status: project.creditAvailability
4084
+ }
4085
+ )
4086
+ ]
4087
+ }
4088
+ )
4089
+ ] }),
4090
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Box, { padding: "6", backgroundColor: "white", children: [
4091
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Heading, { size: "2xl", color: "primary.700", mb: "2", children: project.friendlyName || project.title }),
4092
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Flex, { flexDir: "column", gap: "2", children: [
4093
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Flex, { alignItems: "center", gap: "3", children: [
4094
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react32.MapPinIcon, { size: 20, color: "var(--boemly-colors-gray-400)" }),
4095
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Text, { fontSize: "lg", color: "gray.500", children: [
4096
+ project.location,
4097
+ " ",
4098
+ getCountryFlag_default(project.countryCode)
4099
+ ] })
4100
+ ] }),
4101
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_boemly32.Flex, { alignItems: "center", gap: "3", children: [
4102
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react32.ArrowsOutIcon, { size: 20, color: "var(--boemly-colors-gray-400)" }),
4103
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Text, { fontSize: "lg", color: "gray.500", children: formatNumber(
4104
+ (project.area || 0) / 1e4,
4105
+ FORMAT_AS_HECTARE_CONFIG
4106
+ ) })
4107
+ ] })
4108
+ ] })
4109
+ ] })
4110
+ ] }) });
4111
+ };
4112
+
4113
+ // src/components/ProjectGridCardV2/index.ts
4114
+ var ProjectGridCardV2_default = ProjectGridCardV2;
4115
+
4116
+ // src/slices/ProjectsGridV2/ProjectsGridV2.tsx
4117
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4118
+ var ConditionalWrapper2 = ({
4119
+ condition,
4120
+ wrapper,
4121
+ children
4122
+ }) => condition ? wrapper(children) : children;
4123
+ var ProjectsGridV2 = ({
4124
+ projects,
4125
+ slice
4126
+ }) => {
4127
+ const filteredProjects = projects.filter(
4128
+ (fpmProject) => fpmProject.thumbnail && slice.projects.data.some(
4129
+ (strapiProject) => strapiProject.attributes.fpmProjectId === fpmProject.id
4130
+ )
4131
+ );
4132
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.SimpleGrid, { columns: [1, null, 2, null, 3], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4133
+ ConditionalWrapper2,
4134
+ {
4135
+ condition: !!project.slug,
4136
+ wrapper: (children) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4137
+ import_link6.default,
4138
+ {
4139
+ href: `${project.portfolioHost || ""}/portfolio/${project.slug}`,
4140
+ passHref: true,
4141
+ legacyBehavior: true,
4142
+ children
4143
+ },
4144
+ project.id
4145
+ ),
4146
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4147
+ import_boemly33.Box,
4148
+ {
4149
+ as: "a",
4150
+ cursor: "pointer",
4151
+ borderRadius: "2xl",
4152
+ transition: `box-shadow ease ${MEDIUM_TRANSITION_DURATION}s`,
4153
+ _hover: { boxShadow: "lg" },
4154
+ maxWidth: "xs",
4155
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProjectGridCardV2_default, { project })
4156
+ }
4157
+ )
4158
+ },
4159
+ project.id
4160
+ )) }) }) });
4161
+ };
4162
+
4163
+ // src/slices/ProjectsGridV2/index.ts
4164
+ var ProjectsGridV2_default = ProjectsGridV2;
4165
+
3988
4166
  // src/slices/ProjectsMap/ProjectsMap.tsx
3989
- var import_react29 = require("react");
3990
- var import_react30 = require("@emotion/react");
4167
+ var import_react34 = require("react");
4168
+ var import_react35 = require("@emotion/react");
3991
4169
  var import_mapbox_gl = __toESM(require("mapbox-gl"), 1);
3992
- var import_boemly31 = require("boemly");
4170
+ var import_boemly34 = require("boemly");
3993
4171
 
3994
4172
  // src/constants/mapbox.ts
3995
4173
  var MAPBOX_TOKEN = "pk.eyJ1IjoidHJlZS1seSIsImEiOiJja25rNG1heHgwNThjMnZwZTl2eThmeXUwIn0.SOrYUKfevZkbx8jZPxJesA";
@@ -3997,8 +4175,8 @@ var MAPBOX_TILES_URL = `${process.env.NEXT_PUBLIC_MAPBOX_TILES_URL || "http://lo
3997
4175
  var MAPBOX_MAX_ZOOM = 19;
3998
4176
 
3999
4177
  // src/slices/ProjectsMap/mapboxStyle.ts
4000
- var import_react28 = require("@emotion/react");
4001
- var mapboxStyle = import_react28.css`
4178
+ var import_react33 = require("@emotion/react");
4179
+ var mapboxStyle = import_react33.css`
4002
4180
  .mapboxgl-map {
4003
4181
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
4004
4182
  font:
@@ -4717,23 +4895,23 @@ var mergeProjectData = (featureCollection, strapiProjects) => {
4717
4895
  var mergeProjectData_default = mergeProjectData;
4718
4896
 
4719
4897
  // src/slices/ProjectsMap/ProjectsMap.tsx
4720
- var import_jsx_runtime31 = require("react/jsx-runtime");
4898
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4721
4899
  var projectPinImage = "https://cdn.jsdelivr.net/npm/@phosphor-icons/core@2.0.2/assets/fill/map-pin-fill.svg";
4722
4900
  import_mapbox_gl.default.accessToken = MAPBOX_TOKEN;
4723
4901
  var FALLBACK_BBOX = "-1.9950830850086163,44.4464186384987,21.995083085002875,54.12644342419196";
4724
4902
  var ProjectsMap = ({
4725
4903
  slice
4726
4904
  }) => {
4727
- const { locale, formatMessage } = (0, import_react29.useContext)(IntlContext);
4728
- const mapContainer = (0, import_react29.useRef)(null);
4729
- const map = (0, import_react29.useRef)(null);
4730
- const animationIntervalRef = (0, import_react29.useRef)(null);
4731
- const [featureCollection, setFeatureCollection] = (0, import_react29.useState)(null);
4732
- const [isLoading, setIsLoading] = (0, import_react29.useState)(false);
4733
- const initialBboxRef = (0, import_react29.useRef)(null);
4734
- const [isMapReady, setIsMapReady] = (0, import_react29.useState)(false);
4735
- const [strapiProjects, setStrapiProjects] = (0, import_react29.useState)(null);
4736
- const isBboxContained = (0, import_react29.useCallback)(
4905
+ const { locale, formatMessage } = (0, import_react34.useContext)(IntlContext);
4906
+ const mapContainer = (0, import_react34.useRef)(null);
4907
+ const map = (0, import_react34.useRef)(null);
4908
+ const animationIntervalRef = (0, import_react34.useRef)(null);
4909
+ const [featureCollection, setFeatureCollection] = (0, import_react34.useState)(null);
4910
+ const [isLoading, setIsLoading] = (0, import_react34.useState)(false);
4911
+ const initialBboxRef = (0, import_react34.useRef)(null);
4912
+ const [isMapReady, setIsMapReady] = (0, import_react34.useState)(false);
4913
+ const [strapiProjects, setStrapiProjects] = (0, import_react34.useState)(null);
4914
+ const isBboxContained = (0, import_react34.useCallback)(
4737
4915
  (innerBbox, outerBbox) => {
4738
4916
  const [innerWest, innerSouth, innerEast, innerNorth] = innerBbox.split(",").map(Number);
4739
4917
  const [outerWest, outerSouth, outerEast, outerNorth] = outerBbox.split(",").map(Number);
@@ -4741,7 +4919,7 @@ var ProjectsMap = ({
4741
4919
  },
4742
4920
  []
4743
4921
  );
4744
- const fetchStrapiData = (0, import_react29.useCallback)(async () => {
4922
+ const fetchStrapiData = (0, import_react34.useCallback)(async () => {
4745
4923
  if (strapiProjects) return;
4746
4924
  try {
4747
4925
  const data = await getStrapiProjects_default(locale, "2");
@@ -4750,7 +4928,7 @@ var ProjectsMap = ({
4750
4928
  console.error("\u274C Error fetching Strapi projects:", error);
4751
4929
  }
4752
4930
  }, [locale, strapiProjects]);
4753
- const fetchProjectsData = (0, import_react29.useCallback)(
4931
+ const fetchProjectsData = (0, import_react34.useCallback)(
4754
4932
  async (bbox) => {
4755
4933
  setIsLoading(true);
4756
4934
  try {
@@ -4765,7 +4943,7 @@ var ProjectsMap = ({
4765
4943
  },
4766
4944
  [strapiProjects]
4767
4945
  );
4768
- const debouncedUpdateBbox = (0, import_react29.useCallback)(
4946
+ const debouncedUpdateBbox = (0, import_react34.useCallback)(
4769
4947
  (0, import_debounce.default)(() => {
4770
4948
  if (!map.current || !initialBboxRef.current) return;
4771
4949
  const bounds = map.current.getBounds();
@@ -4777,7 +4955,7 @@ var ProjectsMap = ({
4777
4955
  }, 500),
4778
4956
  [fetchProjectsData, isBboxContained]
4779
4957
  );
4780
- const addProjectsLayer = (0, import_react29.useCallback)(() => {
4958
+ const addProjectsLayer = (0, import_react34.useCallback)(() => {
4781
4959
  if (!map.current || !featureCollection || !map.current.isStyleLoaded()) {
4782
4960
  return;
4783
4961
  }
@@ -5018,7 +5196,7 @@ var ProjectsMap = ({
5018
5196
  source.setData(filteredFeatureCollection);
5019
5197
  }
5020
5198
  }, [featureCollection, locale, formatMessage]);
5021
- (0, import_react29.useEffect)(() => {
5199
+ (0, import_react34.useEffect)(() => {
5022
5200
  if (map.current || !mapContainer.current) return;
5023
5201
  let initialCenter;
5024
5202
  let initialZoom;
@@ -5071,16 +5249,16 @@ var ProjectsMap = ({
5071
5249
  slice.defaultZoomLevel,
5072
5250
  debouncedUpdateBbox
5073
5251
  ]);
5074
- (0, import_react29.useEffect)(() => {
5252
+ (0, import_react34.useEffect)(() => {
5075
5253
  fetchStrapiData();
5076
5254
  }, [fetchStrapiData]);
5077
- (0, import_react29.useEffect)(() => {
5255
+ (0, import_react34.useEffect)(() => {
5078
5256
  if (strapiProjects && featureCollection) {
5079
5257
  const mergedData = mergeProjectData_default(featureCollection, strapiProjects);
5080
5258
  setFeatureCollection(mergedData);
5081
5259
  }
5082
5260
  }, [strapiProjects]);
5083
- (0, import_react29.useEffect)(() => {
5261
+ (0, import_react34.useEffect)(() => {
5084
5262
  if (slice.defaultCenterCoordinates && slice.defaultZoomLevel) {
5085
5263
  const { latitude, longitude } = slice.defaultCenterCoordinates;
5086
5264
  const buffer = 10;
@@ -5120,17 +5298,17 @@ var ProjectsMap = ({
5120
5298
  slice.defaultZoomLevel,
5121
5299
  fetchProjectsData
5122
5300
  ]);
5123
- (0, import_react29.useEffect)(() => {
5301
+ (0, import_react34.useEffect)(() => {
5124
5302
  if (isMapReady && featureCollection && map.current?.isStyleLoaded()) {
5125
5303
  addProjectsLayer();
5126
5304
  }
5127
5305
  }, [isMapReady, featureCollection, addProjectsLayer]);
5128
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_boemly31.DefaultSectionContainer, { children: [
5129
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react30.Global, { styles: mapboxStyle_default }),
5130
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_boemly31.Wrapper, { children: [
5131
- slice.title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
5132
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5133
- import_boemly31.DefaultSectionHeader,
5306
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_boemly34.DefaultSectionContainer, { children: [
5307
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react35.Global, { styles: mapboxStyle_default }),
5308
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_boemly34.Wrapper, { children: [
5309
+ slice.title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
5310
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5311
+ import_boemly34.DefaultSectionHeader,
5134
5312
  {
5135
5313
  tagline: slice.tagline,
5136
5314
  title: slice.title,
@@ -5148,10 +5326,10 @@ var ProjectsMap = ({
5148
5326
  }
5149
5327
  }
5150
5328
  ),
5151
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_boemly31.Box, { height: "16" })
5152
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, {}),
5153
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5154
- import_boemly31.Box,
5329
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_boemly34.Box, { height: "16" })
5330
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_jsx_runtime34.Fragment, {}),
5331
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5332
+ import_boemly34.Box,
5155
5333
  {
5156
5334
  height: "xl",
5157
5335
  ref: mapContainer,
@@ -5160,7 +5338,7 @@ var ProjectsMap = ({
5160
5338
  boxShadow: ["md", null, null, "none"]
5161
5339
  }
5162
5340
  ),
5163
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, { children: isLoading && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_boemly31.Box, { children: "Loading projects..." }) })
5341
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_jsx_runtime34.Fragment, { children: isLoading && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_boemly34.Box, { children: "Loading projects..." }) })
5164
5342
  ] })
5165
5343
  ] });
5166
5344
  };
@@ -5169,15 +5347,15 @@ var ProjectsMap = ({
5169
5347
  var ProjectsMap_default = ProjectsMap;
5170
5348
 
5171
5349
  // src/slices/Video/Video.tsx
5172
- var import_react31 = require("react");
5173
- var import_boemly32 = require("boemly");
5350
+ var import_react36 = require("react");
5351
+ var import_boemly35 = require("boemly");
5174
5352
  var import_core4 = require("@reactuses/core");
5175
- var import_jsx_runtime32 = require("react/jsx-runtime");
5353
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5176
5354
  var Video = ({ slice }) => {
5177
- const ref = (0, import_react31.useRef)(null);
5355
+ const ref = (0, import_react36.useRef)(null);
5178
5356
  const [rect] = (0, import_core4.useMeasure)(ref);
5179
5357
  const width = rect.width;
5180
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_boemly32.Box, { ref, borderRadius: "xl", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5358
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly35.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly35.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly35.Box, { ref, borderRadius: "xl", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5181
5359
  "iframe",
5182
5360
  {
5183
5361
  "data-testid": "video-iframe",
@@ -5197,12 +5375,12 @@ var Video = ({ slice }) => {
5197
5375
  var Video_default = Video;
5198
5376
 
5199
5377
  // src/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.tsx
5200
- var import_boemly33 = require("boemly");
5201
- var import_jsx_runtime33 = require("react/jsx-runtime");
5202
- var FullWidthHighlightQuote = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_boemly33.Wrapper, { children: [
5203
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_boemly33.Box, { maxWidth: "5xl", marginX: "auto", mb: "8", children: [
5204
- slice.tagline && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5205
- import_boemly33.Text,
5378
+ var import_boemly36 = require("boemly");
5379
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5380
+ var FullWidthHighlightQuote = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly36.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_boemly36.Wrapper, { children: [
5381
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_boemly36.Box, { maxWidth: "5xl", marginX: "auto", mb: "8", children: [
5382
+ slice.tagline && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5383
+ import_boemly36.Text,
5206
5384
  {
5207
5385
  color: "primary.700",
5208
5386
  size: "mdMonoUppercase",
@@ -5211,10 +5389,10 @@ var FullWidthHighlightQuote = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runt
5211
5389
  children: slice.tagline
5212
5390
  }
5213
5391
  ),
5214
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.Text, { color: "black", size: "xlRegularNormalBold", textAlign: "center", children: slice.quote })
5392
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly36.Text, { color: "black", size: "xlRegularNormalBold", textAlign: "center", children: slice.quote })
5215
5393
  ] }),
5216
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5217
- import_boemly33.AvatarWithName,
5394
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5395
+ import_boemly36.AvatarWithName,
5218
5396
  {
5219
5397
  name: slice.avatarWithName.name,
5220
5398
  description: slice.avatarWithName.description,
@@ -5230,18 +5408,18 @@ var FullWidthHighlightQuote = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runt
5230
5408
  var FullWidthHighlightQuote_default = FullWidthHighlightQuote;
5231
5409
 
5232
5410
  // src/slices/FullWidthImageSlider/FullWidthImageSlider.tsx
5233
- var import_react32 = require("react");
5234
- var import_boemly35 = require("boemly");
5235
- var import_image20 = __toESM(require("next/image"), 1);
5411
+ var import_react37 = require("react");
5412
+ var import_boemly38 = require("boemly");
5413
+ var import_image21 = __toESM(require("next/image"), 1);
5236
5414
  var import_core5 = require("@reactuses/core");
5237
5415
  var import_framer_motion4 = require("framer-motion");
5238
- var import_react33 = require("@phosphor-icons/react");
5416
+ var import_react38 = require("@phosphor-icons/react");
5239
5417
 
5240
5418
  // src/slices/FullWidthImageSlider/styles.ts
5241
5419
  var import_framer_motion3 = require("framer-motion");
5242
5420
  var import_styled4 = __toESM(require("@emotion/styled"), 1);
5243
- var import_boemly34 = require("boemly");
5244
- var SliderContainer = (0, import_styled4.default)(import_boemly34.Box)`
5421
+ var import_boemly37 = require("boemly");
5422
+ var SliderContainer = (0, import_styled4.default)(import_boemly37.Box)`
5245
5423
  --mobile-image-width: calc(100vw - var(--boemly-spacing-24));
5246
5424
  --desktop-image-width: var(--boemly-sizes-md);
5247
5425
 
@@ -5270,7 +5448,7 @@ var SliderInnerContainer = (0, import_styled4.default)(
5270
5448
 
5271
5449
  width: fit-content;
5272
5450
  `;
5273
- var ItemContainer = (0, import_styled4.default)(import_boemly34.Box)`
5451
+ var ItemContainer = (0, import_styled4.default)(import_boemly37.Box)`
5274
5452
  width: var(--desktop-image-width);
5275
5453
 
5276
5454
  :last-of-type {
@@ -5281,7 +5459,7 @@ var ItemContainer = (0, import_styled4.default)(import_boemly34.Box)`
5281
5459
  width: var(--mobile-image-width);
5282
5460
  }
5283
5461
  `;
5284
- var ImageContainer2 = (0, import_styled4.default)(import_boemly34.Box)`
5462
+ var ImageContainer2 = (0, import_styled4.default)(import_boemly37.Box)`
5285
5463
  position: relative;
5286
5464
 
5287
5465
  max-height: var(--boemly-sizes-xl);
@@ -5322,43 +5500,43 @@ var getClosestRatio = (width, height) => {
5322
5500
  };
5323
5501
 
5324
5502
  // src/slices/FullWidthImageSlider/FullWidthImageSlider.tsx
5325
- var import_jsx_runtime34 = require("react/jsx-runtime");
5503
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5326
5504
  var ITEM_GAP2 = 24;
5327
5505
  var MAX_OFFSET_RIGHT2 = 162;
5328
5506
  var FullWidthImageSlider = ({
5329
5507
  slice
5330
5508
  }) => {
5331
- const containerRef = (0, import_react32.useRef)(null);
5332
- const imageRef = (0, import_react32.useRef)(null);
5509
+ const containerRef = (0, import_react37.useRef)(null);
5510
+ const imageRef = (0, import_react37.useRef)(null);
5333
5511
  const [rect] = (0, import_core5.useMeasure)(imageRef);
5334
5512
  const imageWidth = rect.width;
5335
5513
  const { width: windowWidth } = (0, import_core5.useWindowSize)();
5336
- const [isMobile] = (0, import_boemly35.useMediaQuery)([BREAKPOINT_MD_QUERY]);
5337
- const [sliderIndex, setSliderIndex] = (0, import_react32.useState)(0);
5338
- const [isOpen, setIsOpen] = (0, import_react32.useState)(false);
5339
- const numberOfItems = (0, import_react32.useMemo)(
5514
+ const [isMobile] = (0, import_boemly38.useMediaQuery)([BREAKPOINT_MD_QUERY]);
5515
+ const [sliderIndex, setSliderIndex] = (0, import_react37.useState)(0);
5516
+ const [isOpen, setIsOpen] = (0, import_react37.useState)(false);
5517
+ const numberOfItems = (0, import_react37.useMemo)(
5340
5518
  () => slice.images.length,
5341
5519
  [slice.images.length]
5342
5520
  );
5343
- const sliderItemsWidth = (0, import_react32.useMemo)(
5521
+ const sliderItemsWidth = (0, import_react37.useMemo)(
5344
5522
  () => numberOfItems * (imageWidth + ITEM_GAP2) - ITEM_GAP2,
5345
5523
  [imageWidth, numberOfItems]
5346
5524
  );
5347
- const offsetLeft = (0, import_react32.useMemo)(
5525
+ const offsetLeft = (0, import_react37.useMemo)(
5348
5526
  () => sliderIndex * (imageWidth + ITEM_GAP2) * -1,
5349
5527
  [sliderIndex, imageWidth]
5350
5528
  );
5351
- const allowScroll = (0, import_react32.useMemo)(
5529
+ const allowScroll = (0, import_react37.useMemo)(
5352
5530
  () => sliderItemsWidth + ITEM_GAP2 * 3 > windowWidth,
5353
5531
  [sliderItemsWidth, windowWidth]
5354
5532
  );
5355
- const canMoveRight = (0, import_react32.useMemo)(() => {
5533
+ const canMoveRight = (0, import_react37.useMemo)(() => {
5356
5534
  const offsetRight = windowWidth - (sliderItemsWidth + offsetLeft);
5357
5535
  return offsetRight < MAX_OFFSET_RIGHT2;
5358
5536
  }, [imageWidth, sliderIndex, sliderItemsWidth, windowWidth]);
5359
- const canMoveLeft = (0, import_react32.useMemo)(() => sliderIndex !== 0, [sliderIndex]);
5360
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_boemly35.DefaultSectionContainer, { children: [
5361
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SliderContainer, { ref: containerRef, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5537
+ const canMoveLeft = (0, import_react37.useMemo)(() => sliderIndex !== 0, [sliderIndex]);
5538
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_boemly38.DefaultSectionContainer, { children: [
5539
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SliderContainer, { ref: containerRef, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5362
5540
  SliderInnerContainer,
5363
5541
  {
5364
5542
  animate: {
@@ -5369,8 +5547,8 @@ var FullWidthImageSlider = ({
5369
5547
  ease: "easeInOut"
5370
5548
  },
5371
5549
  imageCount: slice.images.length,
5372
- children: slice.images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ItemContainer, { ref: imageRef, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
5373
- import_boemly35.Flex,
5550
+ children: slice.images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ItemContainer, { ref: imageRef, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
5551
+ import_boemly38.Flex,
5374
5552
  {
5375
5553
  height: "full",
5376
5554
  width: "full",
@@ -5378,15 +5556,15 @@ var FullWidthImageSlider = ({
5378
5556
  flexDirection: "column",
5379
5557
  gap: "2",
5380
5558
  children: [
5381
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5559
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5382
5560
  ImageContainer2,
5383
5561
  {
5384
5562
  aspectRatio: getClosestRatio(
5385
5563
  image.img.img.data.attributes.width,
5386
5564
  image.img.img.data.attributes.height
5387
5565
  ),
5388
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5389
- import_image20.default,
5566
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5567
+ import_image21.default,
5390
5568
  {
5391
5569
  src: strapiMediaUrl_default(image.img.img, "large"),
5392
5570
  alt: image.img.alt,
@@ -5403,14 +5581,14 @@ var FullWidthImageSlider = ({
5403
5581
  )
5404
5582
  }
5405
5583
  ),
5406
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_boemly35.Text, { lineClamp: 3, height: "72px", fontSize: "md", children: image.caption })
5584
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_boemly38.Text, { lineClamp: 3, height: "72px", fontSize: "md", children: image.caption })
5407
5585
  ]
5408
5586
  }
5409
5587
  ) }, image.id))
5410
5588
  }
5411
5589
  ) }),
5412
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
5413
- import_boemly35.Box,
5590
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
5591
+ import_boemly38.Box,
5414
5592
  {
5415
5593
  display: ["none", null, null, !!allowScroll ? "flex" : "none"],
5416
5594
  pointerEvents: "none",
@@ -5422,41 +5600,41 @@ var FullWidthImageSlider = ({
5422
5600
  px: "32",
5423
5601
  justifyContent: "space-between",
5424
5602
  children: [
5425
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_boemly35.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_framer_motion4.AnimatePresence, { children: canMoveLeft && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5603
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_boemly38.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_framer_motion4.AnimatePresence, { children: canMoveLeft && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5426
5604
  import_framer_motion4.motion.div,
5427
5605
  {
5428
5606
  initial: { opacity: 0 },
5429
5607
  animate: { opacity: 1 },
5430
5608
  exit: { opacity: 0 },
5431
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5432
- import_boemly35.IconButton,
5609
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5610
+ import_boemly38.IconButton,
5433
5611
  {
5434
5612
  size: "lg",
5435
5613
  variant: "outline",
5436
5614
  onClick: () => setSliderIndex(sliderIndex - 1),
5437
5615
  "aria-label": "Move left",
5438
5616
  pointerEvents: "auto",
5439
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react33.ArrowLeftIcon, { size: 16 })
5617
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react38.ArrowLeftIcon, { size: 16 })
5440
5618
  }
5441
5619
  )
5442
5620
  },
5443
5621
  "leftButton"
5444
5622
  ) }) }),
5445
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_boemly35.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_framer_motion4.AnimatePresence, { children: canMoveRight && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5623
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_boemly38.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_framer_motion4.AnimatePresence, { children: canMoveRight && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5446
5624
  import_framer_motion4.motion.div,
5447
5625
  {
5448
5626
  initial: { opacity: 0 },
5449
5627
  animate: { opacity: 1 },
5450
5628
  exit: { opacity: 0 },
5451
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5452
- import_boemly35.IconButton,
5629
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5630
+ import_boemly38.IconButton,
5453
5631
  {
5454
5632
  size: "lg",
5455
5633
  variant: "outline",
5456
5634
  onClick: () => setSliderIndex(sliderIndex + 1),
5457
5635
  "aria-label": "Move right",
5458
5636
  pointerEvents: "auto",
5459
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react33.ArrowRightIcon, { size: 16 })
5637
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react38.ArrowRightIcon, { size: 16 })
5460
5638
  }
5461
5639
  )
5462
5640
  },
@@ -5465,7 +5643,7 @@ var FullWidthImageSlider = ({
5465
5643
  ]
5466
5644
  }
5467
5645
  ),
5468
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5646
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5469
5647
  FullScreenImage_default,
5470
5648
  {
5471
5649
  images: slice.images.map((image) => image.img),
@@ -5482,19 +5660,19 @@ var FullWidthImageSlider = ({
5482
5660
  var FullWidthImageSlider_default = FullWidthImageSlider;
5483
5661
 
5484
5662
  // src/slices/SideBySideImages/SideBySideImages.tsx
5485
- var import_boemly36 = require("boemly");
5486
- var import_image21 = __toESM(require("next/image"), 1);
5487
- var import_jsx_runtime35 = require("react/jsx-runtime");
5663
+ var import_boemly39 = require("boemly");
5664
+ var import_image22 = __toESM(require("next/image"), 1);
5665
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5488
5666
  var SideBySideImages = ({
5489
5667
  slice
5490
- }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.Grid, { templateColumns: "repeat(12, 1fr)", gap: "4", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.GridItem, { colSpan: [12, null, null, 7], children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5491
- import_boemly36.SimpleGrid,
5668
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Grid, { templateColumns: "repeat(12, 1fr)", gap: "4", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.GridItem, { colSpan: [12, null, null, 7], children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5669
+ import_boemly39.SimpleGrid,
5492
5670
  {
5493
5671
  columns: [1, null, null, 2],
5494
5672
  gap: ["12", null, null, "6"],
5495
- children: slice.images.map((image) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_boemly36.Box, { children: [
5496
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.Box, { height: "md", position: "relative", borderRadius: "xl", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5497
- import_image21.default,
5673
+ children: slice.images.map((image) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_boemly39.Box, { children: [
5674
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Box, { height: "md", position: "relative", borderRadius: "xl", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5675
+ import_image22.default,
5498
5676
  {
5499
5677
  src: strapiMediaUrl_default(image.img.img, "large"),
5500
5678
  alt: image.img.alt,
@@ -5505,7 +5683,7 @@ var SideBySideImages = ({
5505
5683
  }
5506
5684
  }
5507
5685
  ) }),
5508
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_boemly36.Text, { mt: "3", size: "xsLowNormal", children: image.caption })
5686
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Text, { mt: "3", size: "xsLowNormal", children: image.caption })
5509
5687
  ] }, image.id))
5510
5688
  }
5511
5689
  ) }) }) }) });
@@ -5514,10 +5692,10 @@ var SideBySideImages = ({
5514
5692
  var SideBySideImages_default = SideBySideImages;
5515
5693
 
5516
5694
  // src/slices/Cta/Cta.tsx
5517
- var import_react34 = require("react");
5518
- var import_boemly37 = require("boemly");
5519
- var import_image22 = __toESM(require("next/image"), 1);
5520
- var import_jsx_runtime36 = require("react/jsx-runtime");
5695
+ var import_react39 = require("react");
5696
+ var import_boemly40 = require("boemly");
5697
+ var import_image23 = __toESM(require("next/image"), 1);
5698
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5521
5699
  var STATES = {
5522
5700
  left: {
5523
5701
  textAlign: "left",
@@ -5649,16 +5827,16 @@ var getTypeOfCard = (ctaCard) => {
5649
5827
  return "right" /* Right */;
5650
5828
  };
5651
5829
  var Cta = ({ slice }) => {
5652
- const { formatMessage } = (0, import_react34.useContext)(IntlContext);
5653
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5654
- import_boemly37.DefaultSectionContainer,
5830
+ const { formatMessage } = (0, import_react39.useContext)(IntlContext);
5831
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5832
+ import_boemly40.DefaultSectionContainer,
5655
5833
  {
5656
5834
  backgroundColor: VARIANTS2[slice.variant].backgroundColor.left,
5657
5835
  title: slice.title,
5658
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_boemly37.Wrapper, { children: [
5659
- slice.title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
5660
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5661
- import_boemly37.DefaultSectionHeader,
5836
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_boemly40.Wrapper, { children: [
5837
+ slice.title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
5838
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5839
+ import_boemly40.DefaultSectionHeader,
5662
5840
  {
5663
5841
  tagline: slice.tagline,
5664
5842
  taglineProps: {
@@ -5681,19 +5859,19 @@ var Cta = ({ slice }) => {
5681
5859
  }
5682
5860
  }
5683
5861
  ) }),
5684
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Spacer, { height: ["16", null, null, null, "20"] })
5685
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {}),
5686
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Flex, { gap: "4", flexDirection: "column", children: slice.ctaCards.map((ctaCard) => {
5862
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: ["16", null, null, null, "20"] })
5863
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
5864
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Flex, { gap: "4", flexDirection: "column", children: slice.ctaCards.map((ctaCard) => {
5687
5865
  const ctaCardType = getTypeOfCard(ctaCard);
5688
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5689
- import_boemly37.Container,
5866
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
5867
+ import_boemly40.Container,
5690
5868
  {
5691
5869
  backgroundColor: VARIANTS2[ctaCard.variant].backgroundColor[ctaCardType],
5692
5870
  position: "relative",
5693
5871
  elevation: "none",
5694
5872
  children: [
5695
- ctaCard.image && ctaCardType === "centerWithImage" /* CenterWithImage */ ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5696
- import_boemly37.Box,
5873
+ ctaCard.image && ctaCardType === "centerWithImage" /* CenterWithImage */ ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
5874
+ import_boemly40.Box,
5697
5875
  {
5698
5876
  position: "absolute",
5699
5877
  left: "0",
@@ -5703,8 +5881,8 @@ var Cta = ({ slice }) => {
5703
5881
  borderRadius: "xl",
5704
5882
  overflow: "hidden",
5705
5883
  children: [
5706
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5707
- import_image22.default,
5884
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5885
+ import_image23.default,
5708
5886
  {
5709
5887
  src: strapiMediaUrl_default(ctaCard.image.img, "large"),
5710
5888
  alt: ctaCard.image.alt,
@@ -5715,20 +5893,20 @@ var Cta = ({ slice }) => {
5715
5893
  }
5716
5894
  }
5717
5895
  ),
5718
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Gradient, {})
5896
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Gradient, {})
5719
5897
  ]
5720
5898
  }
5721
- ) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {}),
5722
- ctaCard.backgroundShape ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5723
- import_boemly37.Box,
5899
+ ) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
5900
+ ctaCard.backgroundShape ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5901
+ import_boemly40.Box,
5724
5902
  {
5725
5903
  position: "absolute",
5726
5904
  left: "0",
5727
5905
  top: "0",
5728
5906
  width: "full",
5729
5907
  height: "full",
5730
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5731
- import_image22.default,
5908
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5909
+ import_image23.default,
5732
5910
  {
5733
5911
  src: ctaCardType === "centerWithImage" /* CenterWithImage */ || ctaCard.variant === "green" ? `${CDN_URI}/assets/v3/strapi-slices/shapes-dark.svg` : `${CDN_URI}/assets/v3/strapi-slices/shapes-light.svg`,
5734
5912
  alt: formatMessage({
@@ -5742,23 +5920,23 @@ var Cta = ({ slice }) => {
5742
5920
  }
5743
5921
  )
5744
5922
  }
5745
- ) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {}),
5746
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5747
- import_boemly37.Flex,
5923
+ ) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
5924
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
5925
+ import_boemly40.Flex,
5748
5926
  {
5749
5927
  flexDir: ["column", null, null, null, "row"],
5750
5928
  flexGrow: "1",
5751
5929
  gap: ["8", null, null, null, "16"],
5752
5930
  justifyContent: STATES[ctaCardType].justifyContent,
5753
5931
  children: [
5754
- ctaCard.image && ctaCardType === "right" /* Right */ ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5755
- import_boemly37.Box,
5932
+ ctaCard.image && ctaCardType === "right" /* Right */ ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5933
+ import_boemly40.Box,
5756
5934
  {
5757
5935
  position: "relative",
5758
5936
  height: ["3xs", null, null, null, "auto"],
5759
5937
  minWidth: [null, null, null, null, "50%"],
5760
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5761
- import_image22.default,
5938
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5939
+ import_image23.default,
5762
5940
  {
5763
5941
  src: strapiMediaUrl_default(ctaCard.image.img, "xLarge"),
5764
5942
  alt: ctaCard.image.alt,
@@ -5770,18 +5948,18 @@ var Cta = ({ slice }) => {
5770
5948
  }
5771
5949
  )
5772
5950
  }
5773
- ) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {}),
5774
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5775
- import_boemly37.Box,
5951
+ ) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
5952
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
5953
+ import_boemly40.Box,
5776
5954
  {
5777
5955
  zIndex: "base",
5778
5956
  marginLeft: STATES[ctaCardType].textMarginLeft,
5779
5957
  marginRight: STATES[ctaCardType].textMarginRight,
5780
5958
  maxWidth: "3xl",
5781
5959
  children: [
5782
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Spacer, { height: ["0", null, null, null, "20"] }),
5783
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5784
- import_boemly37.DefaultSectionHeader,
5960
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: ["0", null, null, null, "20"] }),
5961
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5962
+ import_boemly40.DefaultSectionHeader,
5785
5963
  {
5786
5964
  tagline: ctaCard.tagline,
5787
5965
  taglineProps: {
@@ -5818,14 +5996,14 @@ var Cta = ({ slice }) => {
5818
5996
  }
5819
5997
  }
5820
5998
  ),
5821
- ctaCard.buttons && ctaCard.buttons.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
5822
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Spacer, { height: "8" }),
5823
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5824
- import_boemly37.Flex,
5999
+ ctaCard.buttons && ctaCard.buttons.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
6000
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "8" }),
6001
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6002
+ import_boemly40.Flex,
5825
6003
  {
5826
6004
  gap: "2",
5827
6005
  justifyContent: STATES[ctaCardType].buttonJustifyContent,
5828
- children: ctaCard.buttons && ctaCard.buttons.map((button) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6006
+ children: ctaCard.buttons && ctaCard.buttons.map((button) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5829
6007
  StrapiLinkButton_default,
5830
6008
  {
5831
6009
  link: button.button,
@@ -5837,19 +6015,19 @@ var Cta = ({ slice }) => {
5837
6015
  ))
5838
6016
  }
5839
6017
  )
5840
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {}),
5841
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_boemly37.Spacer, { height: ["1", null, null, null, "20"] })
6018
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
6019
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: ["1", null, null, null, "20"] })
5842
6020
  ]
5843
6021
  }
5844
6022
  ),
5845
- ctaCard.image && ctaCardType === "left" /* Left */ ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5846
- import_boemly37.Box,
6023
+ ctaCard.image && ctaCardType === "left" /* Left */ ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6024
+ import_boemly40.Box,
5847
6025
  {
5848
6026
  position: "relative",
5849
6027
  height: ["3xs", null, null, null, "auto"],
5850
6028
  minWidth: [null, null, null, null, "50%"],
5851
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5852
- import_image22.default,
6029
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6030
+ import_image23.default,
5853
6031
  {
5854
6032
  src: strapiMediaUrl_default(ctaCard.image.img, "xLarge"),
5855
6033
  alt: ctaCard.image.alt,
@@ -5861,7 +6039,7 @@ var Cta = ({ slice }) => {
5861
6039
  }
5862
6040
  )
5863
6041
  }
5864
- ) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {})
6042
+ ) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {})
5865
6043
  ]
5866
6044
  }
5867
6045
  )
@@ -5879,22 +6057,22 @@ var Cta = ({ slice }) => {
5879
6057
  var Cta_default = Cta;
5880
6058
 
5881
6059
  // src/slices/CtaOnly/CtaOnly.tsx
5882
- var import_boemly38 = require("boemly");
5883
- var import_jsx_runtime37 = require("react/jsx-runtime");
5884
- var CtaOnly = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_boemly38.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_boemly38.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StrapiLinkButton_default, { size: "md", link: slice.button, component: "CtaOnly" }) }) });
6060
+ var import_boemly41 = require("boemly");
6061
+ var import_jsx_runtime40 = require("react/jsx-runtime");
6062
+ var CtaOnly = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_boemly41.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_boemly41.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(StrapiLinkButton_default, { size: "md", link: slice.button, component: "CtaOnly" }) }) });
5885
6063
 
5886
6064
  // src/slices/CtaOnly/index.ts
5887
6065
  var CtaOnly_default = CtaOnly;
5888
6066
 
5889
6067
  // src/slices/Glossary/Glossary.tsx
5890
- var import_react35 = require("react");
5891
- var import_boemly39 = require("boemly");
5892
- var import_react36 = require("@phosphor-icons/react");
5893
- var import_jsx_runtime38 = require("react/jsx-runtime");
6068
+ var import_react40 = require("react");
6069
+ var import_boemly42 = require("boemly");
6070
+ var import_react41 = require("@phosphor-icons/react");
6071
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5894
6072
  var Glossary = ({ slice }) => {
5895
- const { formatMessage } = (0, import_react35.useContext)(IntlContext);
6073
+ const { formatMessage } = (0, import_react40.useContext)(IntlContext);
5896
6074
  const grouped = {};
5897
- const [copiedItem, setCopiedItem] = (0, import_react35.useState)();
6075
+ const [copiedItem, setCopiedItem] = (0, import_react40.useState)();
5898
6076
  slice.glossary_items.sort((a, b) => a.attributes.title.localeCompare(b.attributes.title)).forEach((curr) => {
5899
6077
  const index = curr.attributes.title.at(0)?.toUpperCase() || "A";
5900
6078
  if (!grouped[index]) {
@@ -5912,12 +6090,12 @@ var Glossary = ({ slice }) => {
5912
6090
  }, 1200);
5913
6091
  }
5914
6092
  };
5915
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.SimpleGrid, { children: Object.entries(grouped).map(([letter, items], index) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_boemly39.GridItem, { maxW: "xl", placeSelf: "center", children: [
5916
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Heading, { size: "3xl", mb: "8", children: letter }),
5917
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.SimpleGrid, { gap: "6", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_boemly39.GridItem, { children: [
5918
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_boemly39.Flex, { mb: "2", gap: "1.5", alignItems: "center", children: [
5919
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5920
- import_boemly39.Heading,
6093
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.SimpleGrid, { children: Object.entries(grouped).map(([letter, items], index) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.GridItem, { maxW: "xl", placeSelf: "center", children: [
6094
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Heading, { size: "3xl", mb: "8", children: letter }),
6095
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.SimpleGrid, { gap: "6", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.GridItem, { children: [
6096
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.Flex, { mb: "2", gap: "1.5", alignItems: "center", children: [
6097
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6098
+ import_boemly42.Heading,
5921
6099
  {
5922
6100
  wordBreak: "break-word",
5923
6101
  size: "xl",
@@ -5926,8 +6104,8 @@ var Glossary = ({ slice }) => {
5926
6104
  children: item.title
5927
6105
  }
5928
6106
  ),
5929
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5930
- import_boemly39.IconButton,
6107
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6108
+ import_boemly42.IconButton,
5931
6109
  {
5932
6110
  variant: "ghost",
5933
6111
  size: "xs",
@@ -5938,13 +6116,13 @@ var Glossary = ({ slice }) => {
5938
6116
  id: "sections.glossary.copyButtonLabel"
5939
6117
  }),
5940
6118
  onClick: async () => handleAnchorClick(item.slug),
5941
- children: copiedItem === item.slug ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react36.CheckIcon, { size: "16", "data-testid": "check-icon" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react36.LinkIcon, { size: "16" })
6119
+ children: copiedItem === item.slug ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react41.CheckIcon, { size: "16", "data-testid": "check-icon" }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react41.LinkIcon, { size: "16" })
5942
6120
  }
5943
6121
  )
5944
6122
  ] }),
5945
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Text, { color: "black", wordBreak: "break-word", children: item.text })
6123
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Text, { color: "black", wordBreak: "break-word", children: item.text })
5946
6124
  ] }, item.slug)) }),
5947
- index !== Object.keys(grouped).length - 1 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Flex, { justifyContent: "center", mt: "10", mb: "10", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Box, { maxW: "xl", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_boemly39.Separator, {}) }) })
6125
+ index !== Object.keys(grouped).length - 1 && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Flex, { justifyContent: "center", mt: "10", mb: "10", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Box, { maxW: "xl", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Separator, {}) }) })
5948
6126
  ] }, letter)) }) }) });
5949
6127
  };
5950
6128
 
@@ -5952,8 +6130,8 @@ var Glossary = ({ slice }) => {
5952
6130
  var Glossary_default = Glossary;
5953
6131
 
5954
6132
  // src/slices/ShopCheckout/ShopCheckout.tsx
5955
- var import_react37 = require("react");
5956
- var import_boemly40 = require("boemly");
6133
+ var import_react42 = require("react");
6134
+ var import_boemly43 = require("boemly");
5957
6135
  var import_formik = require("formik");
5958
6136
 
5959
6137
  // src/constants/domain.ts
@@ -5962,14 +6140,14 @@ var MAXIMUM_CONTRIBUTION_VALUE_IN_MONEY = 1e4;
5962
6140
 
5963
6141
  // src/slices/ShopCheckout/ShopCheckout.tsx
5964
6142
  var import_router7 = require("next/router");
5965
- var import_jsx_runtime39 = require("react/jsx-runtime");
6143
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5966
6144
  var ShopCheckout = ({
5967
6145
  slice
5968
6146
  }) => {
5969
- const [primary50] = (0, import_boemly40.useToken)("colors", ["primary.50"]);
5970
- const { formatMessage, formatNumber, locale } = (0, import_react37.useContext)(IntlContext);
6147
+ const [primary50] = (0, import_boemly43.useToken)("colors", ["primary.50"]);
6148
+ const { formatMessage, formatNumber, locale } = (0, import_react42.useContext)(IntlContext);
5971
6149
  const { push } = (0, import_router7.useRouter)();
5972
- const validateForm = (0, import_react37.useCallback)(
6150
+ const validateForm = (0, import_react42.useCallback)(
5973
6151
  (values) => {
5974
6152
  const errors = {};
5975
6153
  if (!values.contributionValue) {
@@ -6002,25 +6180,25 @@ var ShopCheckout = ({
6002
6180
  checkoutURL.searchParams.append("couponId", slice.couponId);
6003
6181
  push(checkoutURL.toString());
6004
6182
  };
6005
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.DefaultSectionContainer, { backgroundColor: primary50, title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
6006
- import_boemly40.Flex,
6183
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.DefaultSectionContainer, { backgroundColor: primary50, title: slice.title, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
6184
+ import_boemly43.Flex,
6007
6185
  {
6008
6186
  flexDir: ["column", null, null, null, "row"],
6009
6187
  justifyContent: "space-between",
6010
6188
  alignItems: ["left", null, null, null, "center"],
6011
6189
  children: [
6012
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Box, { marginRight: ["0", null, null, null, "36"], flexShrink: 2, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6013
- import_boemly40.DefaultSectionHeader,
6190
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Box, { marginRight: ["0", null, null, null, "36"], flexShrink: 2, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6191
+ import_boemly43.DefaultSectionHeader,
6014
6192
  {
6015
6193
  tagline: slice.tagline,
6016
6194
  title: slice.title,
6017
6195
  text: slice.text
6018
6196
  }
6019
6197
  ) }),
6020
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_boemly40.Container, { maxWidth: "md", padding: "lg", shadow: "lg", children: [
6021
- slice.badge ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
6022
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6023
- import_boemly40.Badge,
6198
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_boemly43.Container, { maxWidth: "md", padding: "lg", shadow: "lg", children: [
6199
+ slice.badge ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
6200
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6201
+ import_boemly43.Badge,
6024
6202
  {
6025
6203
  colorPalette: "green",
6026
6204
  textTransform: "none",
@@ -6028,20 +6206,20 @@ var ShopCheckout = ({
6028
6206
  children: slice.badge
6029
6207
  }
6030
6208
  ),
6031
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "3" })
6032
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, {}),
6033
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6034
- import_boemly40.RichText,
6209
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "3" })
6210
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, {}),
6211
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6212
+ import_boemly43.RichText,
6035
6213
  {
6036
6214
  content: slice.checkoutText,
6037
6215
  textProps: { color: "gray.500" }
6038
6216
  }
6039
6217
  ),
6040
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6041
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Separator, {}),
6042
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6043
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6044
- import_boemly40.LabelNumberPair,
6218
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6219
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Separator, {}),
6220
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6221
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6222
+ import_boemly43.LabelNumberPair,
6045
6223
  {
6046
6224
  label: formatMessage({ id: "sections.shopCheckout.intro.price" }),
6047
6225
  number: `${formatNumber(slice.pricePerKg * 100, {
@@ -6056,10 +6234,10 @@ var ShopCheckout = ({
6056
6234
  })
6057
6235
  }
6058
6236
  ),
6059
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6060
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Separator, {}),
6061
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6062
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6237
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6238
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Separator, {}),
6239
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6240
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6063
6241
  import_formik.Formik,
6064
6242
  {
6065
6243
  initialValues: {
@@ -6074,9 +6252,9 @@ var ShopCheckout = ({
6074
6252
  values
6075
6253
  }) => {
6076
6254
  const summaryPrice = Math.floor(values.contributionValue / slice.pricePerKg) * slice.pricePerKg;
6077
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_formik.Form, { onSubmit: handleSubmit, children: [
6078
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_formik.Field, { name: "contributionValue", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6079
- import_boemly40.BoemlyFormControl,
6255
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_formik.Form, { onSubmit: handleSubmit, children: [
6256
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_formik.Field, { name: "contributionValue", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6257
+ import_boemly43.BoemlyFormControl,
6080
6258
  {
6081
6259
  id: "contributionValue",
6082
6260
  size: "md",
@@ -6085,7 +6263,7 @@ var ShopCheckout = ({
6085
6263
  id: `sections.shopCheckout.contributionValue.label.${slice.currency}`
6086
6264
  }),
6087
6265
  rightAddons: [
6088
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Text, { children: formatMessage({
6266
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { children: formatMessage({
6089
6267
  id: `sections.shopCheckout.contributionValue.unit.${slice.currency}`
6090
6268
  }) }, "1")
6091
6269
  ],
@@ -6093,10 +6271,10 @@ var ShopCheckout = ({
6093
6271
  errorMessage: errors.contributionValue
6094
6272
  }
6095
6273
  ) }) }),
6096
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6097
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_boemly40.SimpleGrid, { columns: 2, gap: "4", children: [
6098
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6099
- import_boemly40.LabelNumberPair,
6274
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6275
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_boemly43.SimpleGrid, { columns: 2, gap: "4", children: [
6276
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6277
+ import_boemly43.LabelNumberPair,
6100
6278
  {
6101
6279
  label: formatMessage({
6102
6280
  id: "sections.shopCheckout.summary.kg"
@@ -6113,8 +6291,8 @@ var ShopCheckout = ({
6113
6291
  )} CO\u2082`
6114
6292
  }
6115
6293
  ),
6116
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6117
- import_boemly40.LabelNumberPair,
6294
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6295
+ import_boemly43.LabelNumberPair,
6118
6296
  {
6119
6297
  label: formatMessage({
6120
6298
  id: "sections.shopCheckout.summary.price"
@@ -6144,8 +6322,8 @@ var ShopCheckout = ({
6144
6322
  }
6145
6323
  )
6146
6324
  ] }),
6147
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Spacer, { height: "6" }),
6148
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_boemly40.Button, { type: "submit", width: "full", children: formatMessage({ id: "sections.shopCheckout.submit" }) })
6325
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "6" }),
6326
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Button, { type: "submit", width: "full", children: formatMessage({ id: "sections.shopCheckout.submit" }) })
6149
6327
  ] });
6150
6328
  }
6151
6329
  }
@@ -6160,8 +6338,8 @@ var ShopCheckout = ({
6160
6338
  var ShopCheckout_default = ShopCheckout;
6161
6339
 
6162
6340
  // src/slices/Facts/Facts.tsx
6163
- var import_boemly41 = require("boemly");
6164
- var import_jsx_runtime40 = require("react/jsx-runtime");
6341
+ var import_boemly44 = require("boemly");
6342
+ var import_jsx_runtime43 = require("react/jsx-runtime");
6165
6343
  var VARIANTS3 = {
6166
6344
  gray: {
6167
6345
  backgroundColor: "primary.50",
@@ -6184,12 +6362,12 @@ var VARIANTS3 = {
6184
6362
  tagLineColor: "primary.500",
6185
6363
  titleColor: "black",
6186
6364
  subTitleColor: "black",
6187
- factKeyColor: "gray.700",
6188
- factValueColor: "gray.700"
6365
+ factKeyColor: "black",
6366
+ factValueColor: "black"
6189
6367
  }
6190
6368
  };
6191
- var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6192
- import_boemly41.DefaultSectionContainer,
6369
+ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6370
+ import_boemly44.DefaultSectionContainer,
6193
6371
  {
6194
6372
  backgroundColor: VARIANTS3[slice.variant].backgroundColor,
6195
6373
  flexDir: "column",
@@ -6197,10 +6375,11 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6197
6375
  justifyContent: "space-between",
6198
6376
  paddingX: ["6", null, "8"],
6199
6377
  title: slice.title,
6200
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
6201
- slice.title && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
6202
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6203
- import_boemly41.DefaultSectionHeader,
6378
+ paddingY: "12",
6379
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6380
+ slice.title && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6381
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6382
+ import_boemly44.DefaultSectionHeader,
6204
6383
  {
6205
6384
  tagline: slice.tagline,
6206
6385
  text: slice.subTitle,
@@ -6223,25 +6402,25 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6223
6402
  }
6224
6403
  }
6225
6404
  ),
6226
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_boemly41.Spacer, { height: ["0", null, "12"] })
6405
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: ["0", null, "12"] })
6227
6406
  ] }),
6228
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6229
- import_boemly41.Flex,
6407
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6408
+ import_boemly44.Flex,
6230
6409
  {
6231
6410
  justifyContent: slice.facts.length < 3 ? "center" : "flex-start",
6232
6411
  alignItems: "center",
6233
6412
  flexWrap: "wrap",
6234
6413
  mx: [null, null, null, "22", "28"],
6235
6414
  flexDir: ["column", null, null, "row"],
6236
- children: slice.facts.map((fact) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
6237
- import_boemly41.Flex,
6415
+ children: slice.facts.map((fact) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
6416
+ import_boemly44.Flex,
6238
6417
  {
6239
6418
  flexDir: "column",
6240
6419
  width: ["100%", null, null, "calc(100% / 3)"],
6241
6420
  mt: ["8", "8", "8", slice.facts.length > 3 ? "16" : "0"],
6242
6421
  children: [
6243
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6244
- import_boemly41.Heading,
6422
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6423
+ import_boemly44.Heading,
6245
6424
  {
6246
6425
  fontSize: "6xl",
6247
6426
  fontFamily: "display",
@@ -6253,8 +6432,8 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6253
6432
  children: fact.value
6254
6433
  }
6255
6434
  ),
6256
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6257
- import_boemly41.Text,
6435
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6436
+ import_boemly44.Text,
6258
6437
  {
6259
6438
  size: "mdLowNormal",
6260
6439
  color: VARIANTS3[slice.variant].factKeyColor,
@@ -6267,9 +6446,9 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6267
6446
  ))
6268
6447
  }
6269
6448
  ),
6270
- slice.button && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
6271
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_boemly41.Spacer, { height: ["0", null, "20"] }),
6272
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6449
+ slice.button && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6450
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: ["0", null, "20"] }),
6451
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6273
6452
  StrapiLinkButton_default,
6274
6453
  {
6275
6454
  link: slice.button,
@@ -6287,12 +6466,12 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6287
6466
  var Facts_default = Facts;
6288
6467
 
6289
6468
  // src/slices/BlogCards/BlogCards.tsx
6290
- var import_react38 = require("react");
6291
- var import_boemly42 = require("boemly");
6292
- var import_image23 = __toESM(require("next/image"), 1);
6293
- var import_link6 = __toESM(require("next/link"), 1);
6294
- var import_react39 = require("@phosphor-icons/react");
6295
- var import_jsx_runtime41 = require("react/jsx-runtime");
6469
+ var import_react43 = require("react");
6470
+ var import_boemly45 = require("boemly");
6471
+ var import_image24 = __toESM(require("next/image"), 1);
6472
+ var import_link7 = __toESM(require("next/link"), 1);
6473
+ var import_react44 = require("@phosphor-icons/react");
6474
+ var import_jsx_runtime44 = require("react/jsx-runtime");
6296
6475
  var VARIANTS4 = {
6297
6476
  white: {
6298
6477
  backgroundColor: "white"
@@ -6306,27 +6485,27 @@ var BlogCards = ({
6306
6485
  slice,
6307
6486
  blogPosts
6308
6487
  }) => {
6309
- const { formatDate } = (0, import_react38.useContext)(IntlContext);
6310
- const [mobile] = (0, import_boemly42.useMediaQuery)([BREAKPOINT_LG_QUERY]);
6311
- const [gray700] = (0, import_boemly42.useToken)("colors", ["gray.700"]);
6312
- const sortedBlogPosts = (0, import_react38.useMemo)(
6488
+ const { formatDate } = (0, import_react43.useContext)(IntlContext);
6489
+ const [mobile] = (0, import_boemly45.useMediaQuery)([BREAKPOINT_LG_QUERY]);
6490
+ const [gray700] = (0, import_boemly45.useToken)("colors", ["gray.700"]);
6491
+ const sortedBlogPosts = (0, import_react43.useMemo)(
6313
6492
  () => blogPosts.sort(sortByCreatedAt),
6314
6493
  [blogPosts]
6315
6494
  );
6316
- const blogPostsToDisplay = (0, import_react38.useMemo)(
6495
+ const blogPostsToDisplay = (0, import_react43.useMemo)(
6317
6496
  () => slice.blogPostCategory?.data?.attributes.name ? sortedBlogPosts.filter(
6318
6497
  (blogPost) => blogPost.attributes.category.data?.attributes.name === slice.blogPostCategory?.data?.attributes.name
6319
6498
  ).slice(0, 3) : sortedBlogPosts.slice(0, 3),
6320
6499
  [sortedBlogPosts, slice]
6321
6500
  );
6322
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6323
- import_boemly42.DefaultSectionContainer,
6501
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6502
+ import_boemly45.DefaultSectionContainer,
6324
6503
  {
6325
6504
  backgroundColor: VARIANTS4[slice.variant].backgroundColor,
6326
6505
  title: slice.title,
6327
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.Wrapper, { children: [
6328
- mobile || !slice.button ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6329
- import_boemly42.DefaultSectionHeader,
6506
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Wrapper, { children: [
6507
+ mobile || !slice.button ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6508
+ import_boemly45.DefaultSectionHeader,
6330
6509
  {
6331
6510
  tagline: slice.tagline,
6332
6511
  title: slice.title,
@@ -6334,43 +6513,43 @@ var BlogCards = ({
6334
6513
  titleProps: { maxW: "2xl" },
6335
6514
  textProps: { maxW: "2xl" }
6336
6515
  }
6337
- ) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.Flex, { justifyContent: "space-between", alignItems: "center", gap: "60", children: [
6338
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6339
- import_boemly42.DefaultSectionHeader,
6516
+ ) : /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Flex, { justifyContent: "space-between", alignItems: "center", gap: "60", children: [
6517
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6518
+ import_boemly45.DefaultSectionHeader,
6340
6519
  {
6341
6520
  tagline: slice.tagline,
6342
6521
  title: slice.title,
6343
6522
  text: slice.subTitle
6344
6523
  }
6345
6524
  ) }),
6346
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Box, { minWidth: "40", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6525
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Box, { minWidth: "40", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6347
6526
  StrapiLinkButton_default,
6348
6527
  {
6349
6528
  link: slice.button,
6350
6529
  size: "lg",
6351
6530
  variant: "outline",
6352
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react39.CaretRightIcon, { color: gray700 }),
6531
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react44.CaretRightIcon, { color: gray700 }),
6353
6532
  component: "BlogCards"
6354
6533
  }
6355
6534
  ) })
6356
6535
  ] }),
6357
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Spacer, { height: "14" }),
6358
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6359
- import_boemly42.SimpleGrid,
6536
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Spacer, { height: "14" }),
6537
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6538
+ import_boemly45.SimpleGrid,
6360
6539
  {
6361
6540
  columns: [1, null, null, 3],
6362
6541
  columnGap: 4,
6363
6542
  rowGap: 24,
6364
6543
  flexShrink: "0",
6365
- children: blogPostsToDisplay.map((blogPost) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
6544
+ children: blogPostsToDisplay.map((blogPost) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
6366
6545
  BlogItemContainer,
6367
6546
  {
6368
- as: import_link6.default,
6547
+ as: import_link7.default,
6369
6548
  href: `/blog/${blogPost.attributes.slug}`,
6370
6549
  "data-testid": "blog-item",
6371
6550
  children: [
6372
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ImageContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6373
- import_image23.default,
6551
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ImageContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6552
+ import_image24.default,
6374
6553
  {
6375
6554
  src: strapiMediaUrl_default(blogPost.attributes.img.img, "medium"),
6376
6555
  alt: blogPost.attributes.img.alt,
@@ -6380,19 +6559,19 @@ var BlogCards = ({
6380
6559
  }
6381
6560
  }
6382
6561
  ) }),
6383
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_boemly42.Box, { px: "2", py: "8", children: [
6384
- blogPost.attributes.category && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Text, { size: "smMonoUppercase", color: "primary.800", mb: "2", children: blogPost.attributes.category.data?.attributes.name }),
6385
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Heading, { size: "lg", children: blogPost.attributes.title }),
6386
- blogPost.attributes.teaser && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Text, { size: "mdRegularNormal", mt: "2", children: blogPost.attributes.teaser }),
6387
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Spacer, { height: "4" }),
6388
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6389
- import_boemly42.DatePersonPair,
6562
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Box, { px: "2", py: "8", children: [
6563
+ blogPost.attributes.category && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Text, { size: "smMonoUppercase", color: "primary.800", mb: "2", children: blogPost.attributes.category.data?.attributes.name }),
6564
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Heading, { size: "lg", children: blogPost.attributes.title }),
6565
+ blogPost.attributes.teaser && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Text, { size: "mdRegularNormal", mt: "2", children: blogPost.attributes.teaser }),
6566
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Spacer, { height: "4" }),
6567
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6568
+ import_boemly45.DatePersonPair,
6390
6569
  {
6391
6570
  date: formatDate(blogPost.attributes.createdAt),
6392
6571
  person: blogPost.attributes.author.data ? {
6393
6572
  name: blogPost.attributes.author.data.attributes.name,
6394
- image: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6395
- import_image23.default,
6573
+ image: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6574
+ import_image24.default,
6396
6575
  {
6397
6576
  src: strapiMediaUrl_default(
6398
6577
  blogPost.attributes.author.data.attributes.img.img,
@@ -6415,13 +6594,13 @@ var BlogCards = ({
6415
6594
  ))
6416
6595
  }
6417
6596
  ),
6418
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: mobile && slice.button && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_boemly42.Box, { minWidth: "40", mt: "6", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6597
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children: mobile && slice.button && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Box, { minWidth: "40", mt: "6", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6419
6598
  StrapiLinkButton_default,
6420
6599
  {
6421
6600
  link: slice.button,
6422
6601
  size: "lg",
6423
6602
  variant: "outline",
6424
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react39.CaretRightIcon, { color: gray700 }),
6603
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react44.CaretRightIcon, { color: gray700 }),
6425
6604
  component: "BlogCards"
6426
6605
  }
6427
6606
  ) }) }) })
@@ -6434,16 +6613,16 @@ var BlogCards = ({
6434
6613
  var BlogCards_default = BlogCards;
6435
6614
 
6436
6615
  // src/slices/ProjectFacts/ProjectFacts.tsx
6437
- var import_react44 = require("react");
6438
- var import_boemly47 = require("boemly");
6616
+ var import_react49 = require("react");
6617
+ var import_boemly50 = require("boemly");
6439
6618
 
6440
6619
  // src/components/portfolio/SmallCheckout/SmallCheckout.tsx
6441
- var import_react40 = require("react");
6442
- var import_boemly43 = require("boemly");
6620
+ var import_react45 = require("react");
6621
+ var import_boemly46 = require("boemly");
6443
6622
  var import_formik2 = require("formik");
6444
6623
  var import_router8 = require("next/router");
6445
- var import_image24 = __toESM(require("next/image"), 1);
6446
- var import_jsx_runtime42 = require("react/jsx-runtime");
6624
+ var import_image25 = __toESM(require("next/image"), 1);
6625
+ var import_jsx_runtime45 = require("react/jsx-runtime");
6447
6626
  var calculateTaxIncludedValue = (values, taxInPercent) => {
6448
6627
  const value = parseInt(values.contributionValueCurrency);
6449
6628
  if (isNaN(value)) return 0;
@@ -6460,9 +6639,9 @@ var SmallCheckout = ({
6460
6639
  subtitle,
6461
6640
  button
6462
6641
  }) => {
6463
- const { formatNumber, formatMessage, locale } = (0, import_react40.useContext)(IntlContext);
6642
+ const { formatNumber, formatMessage, locale } = (0, import_react45.useContext)(IntlContext);
6464
6643
  const { push } = (0, import_router8.useRouter)();
6465
- const validateForm = (0, import_react40.useCallback)(
6644
+ const validateForm = (0, import_react45.useCallback)(
6466
6645
  (values) => {
6467
6646
  const errors = {};
6468
6647
  const value = parseInt(values.contributionValueCurrency);
@@ -6494,8 +6673,8 @@ var SmallCheckout = ({
6494
6673
  checkoutURL.searchParams.append("cancelPath", currentURL.pathname);
6495
6674
  push(checkoutURL.toString());
6496
6675
  };
6497
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
6498
- import_boemly43.Flex,
6676
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
6677
+ import_boemly46.Flex,
6499
6678
  {
6500
6679
  width: "full",
6501
6680
  height: "full",
@@ -6504,22 +6683,22 @@ var SmallCheckout = ({
6504
6683
  padding: "6",
6505
6684
  direction: "column",
6506
6685
  children: [
6507
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_boemly43.Flex, { gap: "2", alignItems: "end", mb: "6", children: [
6508
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { color: "black", lineHeight: "0", children: formatMessage(
6686
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_boemly46.Flex, { gap: "2", alignItems: "end", mb: "6", children: [
6687
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { color: "black", lineHeight: "0", children: formatMessage(
6509
6688
  { id: "unit.formatter.tonsCo2" },
6510
6689
  {
6511
- number: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { as: "span", size: "lgLowBold", color: "black", children: formatNumber(pricePerKg * 1e3, {
6690
+ number: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { as: "span", size: "lgLowBold", color: "black", children: formatNumber(pricePerKg * 1e3, {
6512
6691
  style: "currency",
6513
6692
  currency,
6514
6693
  maximumFractionDigits: 0
6515
6694
  }) })
6516
6695
  }
6517
6696
  ) }),
6518
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { size: "smLowNormal", children: formatMessage({
6697
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { size: "smLowNormal", children: formatMessage({
6519
6698
  id: "portfolio.smallCheckout.price.taxNotIncluded"
6520
6699
  }) })
6521
6700
  ] }),
6522
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6701
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6523
6702
  import_formik2.Formik,
6524
6703
  {
6525
6704
  initialValues: {
@@ -6534,10 +6713,10 @@ var SmallCheckout = ({
6534
6713
  handleSubmit,
6535
6714
  setValues,
6536
6715
  values
6537
- }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_formik2.Form, { onSubmit: handleSubmit, children: [
6538
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_boemly43.Flex, { gap: "4", children: [
6539
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_formik2.Field, { name: "contributionValueCurrency", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6540
- import_boemly43.BoemlyFormControl,
6716
+ }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_formik2.Form, { onSubmit: handleSubmit, children: [
6717
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_boemly46.Flex, { gap: "4", children: [
6718
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_formik2.Field, { name: "contributionValueCurrency", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6719
+ import_boemly46.BoemlyFormControl,
6541
6720
  {
6542
6721
  id: "contributionValueCurrency",
6543
6722
  size: "md",
@@ -6556,7 +6735,7 @@ var SmallCheckout = ({
6556
6735
  id: `portfolio.smallCheckout.contributionValueCurrency.label.${currency}`
6557
6736
  }),
6558
6737
  rightAddons: [
6559
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { children: formatMessage({
6738
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { children: formatMessage({
6560
6739
  id: `portfolio.smallCheckout.contributionValueCurrency.unit.${currency}`
6561
6740
  }) }, "currencyUnit")
6562
6741
  ],
@@ -6564,8 +6743,8 @@ var SmallCheckout = ({
6564
6743
  errorMessage: errors.contributionValueCurrency
6565
6744
  }
6566
6745
  ) }) }),
6567
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_formik2.Field, { name: "contributionValueTons", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6568
- import_boemly43.BoemlyFormControl,
6746
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Box, { width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_formik2.Field, { name: "contributionValueTons", children: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6747
+ import_boemly46.BoemlyFormControl,
6569
6748
  {
6570
6749
  id: "contributionValueTons",
6571
6750
  size: "md",
@@ -6583,13 +6762,13 @@ var SmallCheckout = ({
6583
6762
  label: formatMessage({
6584
6763
  id: "portfolio.smallCheckout.contributionValueTons.label"
6585
6764
  }),
6586
- rightAddons: [/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { children: "tCO\u2082" }, "tCO\u2082")],
6765
+ rightAddons: [/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { children: "tCO\u2082" }, "tCO\u2082")],
6587
6766
  isInvalid: !!errors.contributionValueTons && touched.contributionValueTons,
6588
6767
  errorMessage: errors.contributionValueTons
6589
6768
  }
6590
6769
  ) }) })
6591
6770
  ] }),
6592
- values.contributionValueCurrency && taxInPercent && taxInPercent > 0 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { size: "smLowNormal", mt: "2", children: formatMessage(
6771
+ values.contributionValueCurrency && taxInPercent && taxInPercent > 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { size: "smLowNormal", mt: "2", children: formatMessage(
6593
6772
  { id: "portfolio.smallCheckout.price.taxIncluded" },
6594
6773
  {
6595
6774
  number: formatNumber(
@@ -6602,13 +6781,13 @@ var SmallCheckout = ({
6602
6781
  )
6603
6782
  }
6604
6783
  ) }),
6605
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Spacer, { height: "4" }),
6606
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Button, { type: "submit", width: "full", children: formatMessage({ id: "portfolio.smallCheckout.submitButton" }) })
6784
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Spacer, { height: "4" }),
6785
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Button, { type: "submit", width: "full", children: formatMessage({ id: "portfolio.smallCheckout.submitButton" }) })
6607
6786
  ] })
6608
6787
  }
6609
6788
  ),
6610
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
6611
- import_boemly43.Flex,
6789
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
6790
+ import_boemly46.Flex,
6612
6791
  {
6613
6792
  width: "full",
6614
6793
  justifyContent: "center",
@@ -6616,8 +6795,8 @@ var SmallCheckout = ({
6616
6795
  mt: "6",
6617
6796
  gap: "2",
6618
6797
  children: [
6619
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6620
- import_image24.default,
6798
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6799
+ import_image25.default,
6621
6800
  {
6622
6801
  src: `${CDN_URI}/assets/v3/strapi-slices/globe-love-icon.svg`,
6623
6802
  alt: "Icon",
@@ -6625,15 +6804,15 @@ var SmallCheckout = ({
6625
6804
  height: 20
6626
6805
  }
6627
6806
  ),
6628
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { size: "smLowNormal", children: checkoutText })
6807
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { size: "smLowNormal", children: checkoutText })
6629
6808
  ]
6630
6809
  }
6631
6810
  ),
6632
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Separator, { my: "6" }),
6633
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_boemly43.Flex, { width: "full", alignItems: "center", direction: "column", children: [
6634
- title && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { size: "smLowBold", textAlign: "center", color: "black", mb: "2", children: title }),
6635
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_boemly43.Text, { size: "smRegularNormal", textAlign: "center", mb: "3", children: subtitle }),
6636
- button && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6811
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Separator, { my: "6" }),
6812
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_boemly46.Flex, { width: "full", alignItems: "center", direction: "column", children: [
6813
+ title && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { size: "smLowBold", textAlign: "center", color: "black", mb: "2", children: title }),
6814
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { size: "smRegularNormal", textAlign: "center", mb: "3", children: subtitle }),
6815
+ button && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6637
6816
  StrapiLinkButton_default,
6638
6817
  {
6639
6818
  link: {
@@ -6655,9 +6834,9 @@ var SmallCheckout_default = SmallCheckout;
6655
6834
  var SmallCheckout_default2 = SmallCheckout_default;
6656
6835
 
6657
6836
  // src/components/portfolio/ProjectInfo/ProjectInfo.tsx
6658
- var import_react41 = require("react");
6659
- var import_boemly44 = require("boemly");
6660
- var import_image25 = __toESM(require("next/image"), 1);
6837
+ var import_react46 = require("react");
6838
+ var import_boemly47 = require("boemly");
6839
+ var import_image26 = __toESM(require("next/image"), 1);
6661
6840
 
6662
6841
  // src/utils/convertAreaM2ToHa.ts
6663
6842
  var convertAreaM2ToHa = (areaInM2) => parseInt(areaInM2, 10) / 1e4;
@@ -6682,25 +6861,25 @@ var getTimeSpanInYears = (start, end) => {
6682
6861
  var getTimeSpanInYears_default = getTimeSpanInYears;
6683
6862
 
6684
6863
  // src/components/portfolio/ProjectInfo/ProjectInfo.tsx
6685
- var import_jsx_runtime43 = require("react/jsx-runtime");
6864
+ var import_jsx_runtime46 = require("react/jsx-runtime");
6686
6865
  var ProjectInfo = ({
6687
6866
  project,
6688
6867
  subtitles
6689
6868
  }) => {
6690
- const { formatMessage, formatNumber, formatDate } = (0, import_react41.useContext)(IntlContext);
6691
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_boemly44.Container, { p: "2", width: "full", children: [
6692
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Heading, { size: "xl", textAlign: "left", children: formatMessage({ id: "features.projectInfo.projectInfo.value" }) }),
6693
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "8" }),
6694
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
6695
- import_boemly44.SimpleGrid,
6869
+ const { formatMessage, formatNumber, formatDate } = (0, import_react46.useContext)(IntlContext);
6870
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.Container, { p: "2", width: "full", children: [
6871
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Heading, { size: "xl", textAlign: "left", children: formatMessage({ id: "features.projectInfo.projectInfo.value" }) }),
6872
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "8" }),
6873
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
6874
+ import_boemly47.SimpleGrid,
6696
6875
  {
6697
6876
  columns: [1, null, null, 2],
6698
6877
  gap: "8",
6699
6878
  columnGap: "10",
6700
6879
  rowGap: "8",
6701
6880
  children: [
6702
- project.area && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6703
- import_boemly44.LabelTextPair,
6881
+ project.area && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6882
+ import_boemly47.LabelTextPair,
6704
6883
  {
6705
6884
  label: formatMessage({
6706
6885
  id: "features.projectInfo.properties.area"
@@ -6712,8 +6891,8 @@ var ProjectInfo = ({
6712
6891
  caption: subtitles.areaSubtitle
6713
6892
  }
6714
6893
  ) }),
6715
- project.location && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6716
- import_boemly44.LabelTextPair,
6894
+ project.location && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6895
+ import_boemly47.LabelTextPair,
6717
6896
  {
6718
6897
  label: formatMessage({
6719
6898
  id: "features.projectInfo.properties.location"
@@ -6722,8 +6901,8 @@ var ProjectInfo = ({
6722
6901
  caption: subtitles.locationSubtitle
6723
6902
  }
6724
6903
  ) }),
6725
- project.start && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6726
- import_boemly44.LabelTextPair,
6904
+ project.start && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6905
+ import_boemly47.LabelTextPair,
6727
6906
  {
6728
6907
  label: formatMessage({
6729
6908
  id: "features.projectInfo.properties.start"
@@ -6735,8 +6914,8 @@ var ProjectInfo = ({
6735
6914
  caption: subtitles.startSubtitle
6736
6915
  }
6737
6916
  ) }),
6738
- project.start && project.end && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6739
- import_boemly44.LabelTextPair,
6917
+ project.start && project.end && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6918
+ import_boemly47.LabelTextPair,
6740
6919
  {
6741
6920
  label: formatMessage({
6742
6921
  id: "features.projectInfo.properties.timeSpan"
@@ -6758,14 +6937,14 @@ var ProjectInfo = ({
6758
6937
  ]
6759
6938
  }
6760
6939
  ),
6761
- project.projectType || project.projectDeveloper || project.verificationStandard ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6762
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "6" }),
6763
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Separator, {}),
6764
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "6" })
6765
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {}),
6766
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_boemly44.SimpleGrid, { columns: [1, null, null, 2], columnGap: "10", rowGap: "8", children: [
6767
- project.projectType && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6768
- import_boemly44.LabelTextPair,
6940
+ project.projectType || project.projectDeveloper || project.verificationStandard ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
6941
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "6" }),
6942
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Separator, {}),
6943
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "6" })
6944
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {}),
6945
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.SimpleGrid, { columns: [1, null, null, 2], columnGap: "10", rowGap: "8", children: [
6946
+ project.projectType && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6947
+ import_boemly47.LabelTextPair,
6769
6948
  {
6770
6949
  label: formatMessage({
6771
6950
  id: "features.projectInfo.properties.projectType"
@@ -6774,8 +6953,8 @@ var ProjectInfo = ({
6774
6953
  caption: subtitles.projectTypeSubtitle
6775
6954
  }
6776
6955
  ) }),
6777
- project.projectDeveloper && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6778
- import_boemly44.LabelTextPair,
6956
+ project.projectDeveloper && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6957
+ import_boemly47.LabelTextPair,
6779
6958
  {
6780
6959
  label: formatMessage({
6781
6960
  id: "features.projectInfo.properties.projectDeveloper"
@@ -6785,11 +6964,11 @@ var ProjectInfo = ({
6785
6964
  }
6786
6965
  ) })
6787
6966
  ] }),
6788
- project.verificationStandard ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6789
- project.projectType || project.projectDeveloper ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "6" }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {}),
6790
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_boemly44.Flex, { justifyContent: "space-between", alignItems: "center", children: [
6791
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6792
- import_boemly44.LabelTextPair,
6967
+ project.verificationStandard ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
6968
+ project.projectType || project.projectDeveloper ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "6" }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {}),
6969
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.Flex, { justifyContent: "space-between", alignItems: "center", children: [
6970
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6971
+ import_boemly47.LabelTextPair,
6793
6972
  {
6794
6973
  label: formatMessage({
6795
6974
  id: "features.projectInfo.properties.verificationStandard.label"
@@ -6801,8 +6980,8 @@ var ProjectInfo = ({
6801
6980
  caption: subtitles.verificationStandardSubtitle
6802
6981
  }
6803
6982
  ) }),
6804
- project.defaultIssuer && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { position: "relative", width: "14", height: "8", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6805
- import_image25.default,
6983
+ project.defaultIssuer && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { position: "relative", width: "14", height: "8", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6984
+ import_image26.default,
6806
6985
  {
6807
6986
  src: project.defaultIssuer.logoUrl,
6808
6987
  alt: `${project.defaultIssuer.name} logo`,
@@ -6811,21 +6990,21 @@ var ProjectInfo = ({
6811
6990
  }
6812
6991
  ) })
6813
6992
  ] })
6814
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {}),
6815
- project.averageSellableAmountPerYear && project.averageSellableAmountPerYear > 0 || project.riskBuffer ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
6816
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "8" }),
6817
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Separator, {}),
6818
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Spacer, { height: "8" })
6819
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {}),
6820
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_boemly44.SimpleGrid, { columns: [1, null, null, 2], columnGap: "10", rowGap: "8", children: [
6821
- project.averageSellableAmountPerYear > 0 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6822
- import_boemly44.Tooltip,
6993
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {}),
6994
+ project.averageSellableAmountPerYear && project.averageSellableAmountPerYear > 0 || project.riskBuffer ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
6995
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "8" }),
6996
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Separator, {}),
6997
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Spacer, { height: "8" })
6998
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {}),
6999
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.SimpleGrid, { columns: [1, null, null, 2], columnGap: "10", rowGap: "8", children: [
7000
+ project.averageSellableAmountPerYear > 0 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
7001
+ import_boemly47.Tooltip,
6823
7002
  {
6824
7003
  content: formatMessage({
6825
7004
  id: "features.projectInfo.properties.projectVolume.toolTip"
6826
7005
  }),
6827
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6828
- import_boemly44.LabelTextPair,
7006
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
7007
+ import_boemly47.LabelTextPair,
6829
7008
  {
6830
7009
  label: formatMessage({
6831
7010
  id: "features.projectInfo.properties.projectVolume.label"
@@ -6847,9 +7026,9 @@ var ProjectInfo = ({
6847
7026
  }
6848
7027
  ) })
6849
7028
  }
6850
- ) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability }) }),
6851
- project.riskBuffer && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6852
- import_boemly44.LabelTextPair,
7029
+ ) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability }) }),
7030
+ project.riskBuffer && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
7031
+ import_boemly47.LabelTextPair,
6853
7032
  {
6854
7033
  label: formatMessage({
6855
7034
  id: "features.projectInfo.properties.riskBuffer"
@@ -6862,7 +7041,7 @@ var ProjectInfo = ({
6862
7041
  }
6863
7042
  ) })
6864
7043
  ] }),
6865
- project.averageSellableAmountPerYear > 0 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_boemly44.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability }) }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {})
7044
+ project.averageSellableAmountPerYear > 0 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CreditsAvailableBadge_default2, { status: project.creditAvailability }) }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {})
6866
7045
  ] });
6867
7046
  };
6868
7047
 
@@ -6870,47 +7049,47 @@ var ProjectInfo = ({
6870
7049
  var ProjectInfo_default = ProjectInfo;
6871
7050
 
6872
7051
  // src/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.tsx
6873
- var import_react42 = require("react");
6874
- var import_boemly45 = require("boemly");
6875
- var import_react43 = require("@phosphor-icons/react");
6876
- var import_link7 = __toESM(require("next/link"), 1);
6877
- var import_jsx_runtime44 = require("react/jsx-runtime");
7052
+ var import_react47 = require("react");
7053
+ var import_boemly48 = require("boemly");
7054
+ var import_react48 = require("@phosphor-icons/react");
7055
+ var import_link8 = __toESM(require("next/link"), 1);
7056
+ var import_jsx_runtime47 = require("react/jsx-runtime");
6878
7057
  var DocumentsDownloadList = ({
6879
7058
  documentUrls
6880
7059
  }) => {
6881
- const { formatMessage } = (0, import_react42.useContext)(IntlContext);
6882
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Container, { p: "2", children: [
6883
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Heading, { size: "xl", textAlign: "left", children: formatMessage({
7060
+ const { formatMessage } = (0, import_react47.useContext)(IntlContext);
7061
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_boemly48.Container, { p: "2", children: [
7062
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Heading, { size: "xl", textAlign: "left", children: formatMessage({
6884
7063
  id: "features.portfolio.documentsDownloadList.projectDocuments"
6885
7064
  }) }),
6886
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Flex, { flexDir: "column", children: documentUrls.map((documentUrl) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
6887
- import_boemly45.Flex,
7065
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Flex, { flexDir: "column", children: documentUrls.map((documentUrl) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
7066
+ import_boemly48.Flex,
6888
7067
  {
6889
7068
  justifyContent: "space-between",
6890
7069
  alignItems: "center",
6891
7070
  mt: "6",
6892
7071
  children: [
6893
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Flex, { alignItems: "center", children: [
6894
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6895
- import_boemly45.Center,
7072
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_boemly48.Flex, { alignItems: "center", children: [
7073
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7074
+ import_boemly48.Center,
6896
7075
  {
6897
7076
  w: "8",
6898
7077
  h: "8",
6899
7078
  borderRadius: "full",
6900
7079
  borderWidth: "1px",
6901
7080
  borderColor: "grey.200",
6902
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react43.FilePdfIcon, {})
7081
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react48.FilePdfIcon, {})
6903
7082
  }
6904
7083
  ),
6905
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Spacer, { width: "4" }),
6906
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_boemly45.Flex, { flexDir: "column", children: [
6907
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Text, { size: "smMonoNormal", children: "PDF" }),
6908
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Text, { size: "mdLowBold", color: "black", textAlign: "left", children: documentUrl.text })
7084
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Spacer, { width: "4" }),
7085
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_boemly48.Flex, { flexDir: "column", children: [
7086
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Text, { size: "smMonoNormal", children: "PDF" }),
7087
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Text, { size: "mdLowBold", color: "black", textAlign: "left", children: documentUrl.text })
6909
7088
  ] })
6910
7089
  ] }),
6911
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_boemly45.Spacer, { width: "32" }),
6912
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6913
- import_boemly45.IconButton,
7090
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Spacer, { width: "32" }),
7091
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7092
+ import_boemly48.IconButton,
6914
7093
  {
6915
7094
  variant: "outline",
6916
7095
  "aria-label": formatMessage({
@@ -6918,7 +7097,7 @@ var DocumentsDownloadList = ({
6918
7097
  }),
6919
7098
  size: "sm",
6920
7099
  asChild: true,
6921
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_link7.default, { href: documentUrl.url || "#", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react43.DownloadSimpleIcon, {}) })
7100
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_link8.default, { href: documentUrl.url || "#", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react48.DownloadSimpleIcon, {}) })
6922
7101
  }
6923
7102
  )
6924
7103
  ]
@@ -6932,32 +7111,32 @@ var DocumentsDownloadList = ({
6932
7111
  var DocumentsDownloadList_default = DocumentsDownloadList;
6933
7112
 
6934
7113
  // src/components/portfolio/Contact/Contact.tsx
6935
- var import_boemly46 = require("boemly");
6936
- var import_image26 = __toESM(require("next/image"), 1);
6937
- var import_jsx_runtime45 = require("react/jsx-runtime");
7114
+ var import_boemly49 = require("boemly");
7115
+ var import_image27 = __toESM(require("next/image"), 1);
7116
+ var import_jsx_runtime48 = require("react/jsx-runtime");
6938
7117
  var Contact = ({
6939
7118
  avatar,
6940
7119
  title,
6941
7120
  text,
6942
7121
  button
6943
- }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Container, { backgroundColor: "primary.100", border: "none", p: "8", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
6944
- import_boemly46.Flex,
7122
+ }) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Container, { backgroundColor: "primary.100", border: "none", p: "8", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
7123
+ import_boemly49.Flex,
6945
7124
  {
6946
7125
  flexDir: "column",
6947
7126
  justifyContent: "center",
6948
7127
  alignItems: "center",
6949
7128
  height: "full",
6950
7129
  children: [
6951
- avatar ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6952
- import_boemly46.Box,
7130
+ avatar ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7131
+ import_boemly49.Box,
6953
7132
  {
6954
7133
  position: "relative",
6955
7134
  width: "20",
6956
7135
  height: "20",
6957
7136
  borderRadius: "full",
6958
7137
  overflow: "hidden",
6959
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6960
- import_image26.default,
7138
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7139
+ import_image27.default,
6961
7140
  {
6962
7141
  src: strapiMediaUrl_default(avatar.img, "small"),
6963
7142
  alt: avatar.alt,
@@ -6966,9 +7145,9 @@ var Contact = ({
6966
7145
  }
6967
7146
  )
6968
7147
  }
6969
- ) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, {}),
6970
- title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6971
- import_boemly46.Heading,
7148
+ ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {}),
7149
+ title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7150
+ import_boemly49.Heading,
6972
7151
  {
6973
7152
  mt: "6",
6974
7153
  size: "md",
@@ -6977,9 +7156,9 @@ var Contact = ({
6977
7156
  color: "black",
6978
7157
  children: title
6979
7158
  }
6980
- ) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, {}),
6981
- text ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_boemly46.Text, { mt: "2", size: "smRegularNormal", textAlign: "center", children: text }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, {}),
6982
- button ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
7159
+ ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {}),
7160
+ text ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Text, { mt: "2", size: "smRegularNormal", textAlign: "center", children: text }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {}),
7161
+ button ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
6983
7162
  StrapiLinkButton_default,
6984
7163
  {
6985
7164
  mt: "6",
@@ -6988,7 +7167,7 @@ var Contact = ({
6988
7167
  variant: "outline",
6989
7168
  component: "Contact"
6990
7169
  }
6991
- ) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, {})
7170
+ ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {})
6992
7171
  ]
6993
7172
  }
6994
7173
  ) });
@@ -7006,14 +7185,14 @@ var getFpmProjectById = async (projectId) => {
7006
7185
  var getFpmProjectById_default = getFpmProjectById;
7007
7186
 
7008
7187
  // src/slices/ProjectFacts/ProjectFacts.tsx
7009
- var import_jsx_runtime46 = require("react/jsx-runtime");
7188
+ var import_jsx_runtime49 = require("react/jsx-runtime");
7010
7189
  var ProjectFacts = ({
7011
7190
  slice,
7012
7191
  project
7013
7192
  }) => {
7014
- const [enhancedProject, setEnhancedProject] = (0, import_react44.useState)(project);
7015
- const [isLoading, setIsLoading] = (0, import_react44.useState)(false);
7016
- (0, import_react44.useEffect)(() => {
7193
+ const [enhancedProject, setEnhancedProject] = (0, import_react49.useState)(project);
7194
+ const [isLoading, setIsLoading] = (0, import_react49.useState)(false);
7195
+ (0, import_react49.useEffect)(() => {
7017
7196
  const fetchCompleteProjectData = async () => {
7018
7197
  if (project && project.id) {
7019
7198
  setIsLoading(true);
@@ -7037,16 +7216,16 @@ var ProjectFacts = ({
7037
7216
  fetchCompleteProjectData();
7038
7217
  }, [project]);
7039
7218
  if (!enhancedProject) {
7040
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children: "Invalid configuration, check if a project this id exists in the FPM" });
7219
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: "Invalid configuration, check if a project this id exists in the FPM" });
7041
7220
  }
7042
7221
  if (isLoading) {
7043
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { children: "Loading project data..." }) }) });
7222
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children: "Loading project data..." }) }) });
7044
7223
  }
7045
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_boemly47.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.Flex, { flexDir: ["column", null, null, "row"], gap: "4", width: "full", children: [
7046
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ProjectInfo_default, { project: enhancedProject, subtitles: slice }),
7047
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_boemly47.Flex, { flexDir: "column", gap: "4", width: "full", children: [
7048
- slice.documentUrls && slice.documentUrls.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DocumentsDownloadList_default, { documentUrls: slice.documentUrls }),
7049
- slice.batchId && slice.pricePerKg && slice.currency && slice.initialContributionValue ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
7224
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_boemly50.Flex, { flexDir: ["column", null, null, "row"], gap: "4", width: "full", children: [
7225
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ProjectInfo_default, { project: enhancedProject, subtitles: slice }),
7226
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_boemly50.Flex, { flexDir: "column", gap: "4", width: "full", children: [
7227
+ slice.documentUrls && slice.documentUrls.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DocumentsDownloadList_default, { documentUrls: slice.documentUrls }),
7228
+ slice.batchId && slice.pricePerKg && slice.currency && slice.initialContributionValue ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
7050
7229
  SmallCheckout_default2,
7051
7230
  {
7052
7231
  batchId: slice.batchId,
@@ -7059,7 +7238,7 @@ var ProjectFacts = ({
7059
7238
  button: slice.customButton,
7060
7239
  taxInPercent: slice.taxInPercent
7061
7240
  }
7062
- ) : (slice.contactTitle || slice.contactText || slice.contactButton || slice.contactAvatar) && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
7241
+ ) : (slice.contactTitle || slice.contactText || slice.contactButton || slice.contactAvatar) && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
7063
7242
  Contact_default,
7064
7243
  {
7065
7244
  title: slice.contactTitle,
@@ -7076,21 +7255,21 @@ var ProjectFacts = ({
7076
7255
  var ProjectFacts_default = ProjectFacts;
7077
7256
 
7078
7257
  // src/slices/CustomerStories/CustomerStories.tsx
7079
- var import_boemly51 = require("boemly");
7258
+ var import_boemly54 = require("boemly");
7080
7259
 
7081
7260
  // src/components/CustomerCard/CustomerCard.tsx
7082
- var import_boemly48 = require("boemly");
7083
- var import_react45 = require("react");
7084
- var import_image27 = __toESM(require("next/image"), 1);
7085
- var import_link8 = __toESM(require("next/link"), 1);
7086
- var import_jsx_runtime47 = require("react/jsx-runtime");
7261
+ var import_boemly51 = require("boemly");
7262
+ var import_react50 = require("react");
7263
+ var import_image28 = __toESM(require("next/image"), 1);
7264
+ var import_link9 = __toESM(require("next/link"), 1);
7265
+ var import_jsx_runtime50 = require("react/jsx-runtime");
7087
7266
  var CustomerCard = ({
7088
7267
  customerStory
7089
7268
  }) => {
7090
- const { formatMessage } = (0, import_react45.useContext)(IntlContext);
7091
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Container, { padding: "none", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_boemly48.Flex, { flexDir: "column", height: "full", children: [
7092
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Center, { height: "24", backgroundColor: "primary.50", borderTopRadius: "xl", children: customerStory.cardImage && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Box, { position: "relative", height: "12", width: "12", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7093
- import_image27.default,
7269
+ const { formatMessage } = (0, import_react50.useContext)(IntlContext);
7270
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Container, { padding: "none", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_boemly51.Flex, { flexDir: "column", height: "full", children: [
7271
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Center, { height: "24", backgroundColor: "primary.50", borderTopRadius: "xl", children: customerStory.cardImage && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Box, { position: "relative", height: "12", width: "12", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
7272
+ import_image28.default,
7094
7273
  {
7095
7274
  src: strapiMediaUrl_default(customerStory.cardImage.img, "medium"),
7096
7275
  alt: customerStory.cardImage.alt,
@@ -7100,11 +7279,11 @@ var CustomerCard = ({
7100
7279
  }
7101
7280
  }
7102
7281
  ) }) }),
7103
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_boemly48.Box, { px: "6", pt: "8", pb: "6", mb: "auto", children: [
7104
- customerStory.customerCardCustomerIndustry && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Text, { size: "xsMonoUppercase", color: "gray.500", mb: "2", children: customerStory.customerCardCustomerIndustry }),
7105
- customerStory.title && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Heading, { size: "md", fontWeight: "500", children: customerStory.title })
7282
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_boemly51.Box, { px: "6", pt: "8", pb: "6", mb: "auto", children: [
7283
+ customerStory.customerCardCustomerIndustry && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Text, { size: "xsMonoUppercase", color: "gray.500", mb: "2", children: customerStory.customerCardCustomerIndustry }),
7284
+ customerStory.title && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Heading, { size: "md", fontWeight: "500", children: customerStory.title })
7106
7285
  ] }),
7107
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Box, { px: "6", pt: "8", pb: "6", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_link8.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_boemly48.Button, { variant: "outline", size: "sm", children: formatMessage({ id: "sections.customerCard.more" }) }) }) })
7286
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Box, { px: "6", pt: "8", pb: "6", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_link9.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Button, { variant: "outline", size: "sm", children: formatMessage({ id: "sections.customerCard.more" }) }) }) })
7108
7287
  ] }) });
7109
7288
  };
7110
7289
 
@@ -7112,26 +7291,26 @@ var CustomerCard = ({
7112
7291
  var CustomerCard_default = CustomerCard;
7113
7292
 
7114
7293
  // src/components/CustomerQuoteCard/CustomerQuoteCard.tsx
7115
- var import_boemly49 = require("boemly");
7116
- var import_react46 = require("react");
7117
- var import_image28 = __toESM(require("next/image"), 1);
7118
- var import_link9 = __toESM(require("next/link"), 1);
7119
- var import_jsx_runtime48 = require("react/jsx-runtime");
7294
+ var import_boemly52 = require("boemly");
7295
+ var import_react51 = require("react");
7296
+ var import_image29 = __toESM(require("next/image"), 1);
7297
+ var import_link10 = __toESM(require("next/link"), 1);
7298
+ var import_jsx_runtime51 = require("react/jsx-runtime");
7120
7299
  var CustomerQuoteCard = ({
7121
7300
  customerStory
7122
7301
  }) => {
7123
- const { formatMessage } = (0, import_react46.useContext)(IntlContext);
7124
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_boemly49.Container, { p: "1", backgroundColor: "primary.100", height: "full", children: [
7125
- customerStory.cardImage ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7126
- import_boemly49.Box,
7302
+ const { formatMessage } = (0, import_react51.useContext)(IntlContext);
7303
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_boemly52.Container, { p: "1", backgroundColor: "primary.100", height: "full", children: [
7304
+ customerStory.cardImage ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7305
+ import_boemly52.Box,
7127
7306
  {
7128
7307
  position: "relative",
7129
7308
  height: "12",
7130
7309
  width: "12",
7131
7310
  borderRadius: "full",
7132
7311
  overflow: "hidden",
7133
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7134
- import_image28.default,
7312
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7313
+ import_image29.default,
7135
7314
  {
7136
7315
  src: strapiMediaUrl_default(customerStory.cardImage.img, "medium"),
7137
7316
  alt: customerStory.cardImage.alt,
@@ -7142,14 +7321,14 @@ var CustomerQuoteCard = ({
7142
7321
  }
7143
7322
  )
7144
7323
  }
7145
- ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {}),
7146
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_boemly49.Box, { children: [
7147
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_boemly49.Box, { my: "8", children: [
7148
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Heading, { size: "md", fontWeight: "500", children: customerStory.customerName }),
7149
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Text, { fontSize: "md", children: customerStory.quoteCardCustomerTitle })
7324
+ ) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, {}),
7325
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_boemly52.Box, { children: [
7326
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_boemly52.Box, { my: "8", children: [
7327
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_boemly52.Heading, { size: "md", fontWeight: "500", children: customerStory.customerName }),
7328
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_boemly52.Text, { fontSize: "md", children: customerStory.quoteCardCustomerTitle })
7150
7329
  ] }),
7151
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Text, { fontSize: "md", color: "black", children: customerStory.quoteCardQuote }),
7152
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_link9.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_boemly49.Button, { variant: "outline", size: "sm", mt: "8", children: formatMessage({ id: "sections.customerQuoteCard.more" }) }) })
7330
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_boemly52.Text, { fontSize: "md", color: "black", children: customerStory.quoteCardQuote }),
7331
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_link10.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_boemly52.Button, { variant: "outline", size: "sm", mt: "8", children: formatMessage({ id: "sections.customerQuoteCard.more" }) }) })
7153
7332
  ] })
7154
7333
  ] });
7155
7334
  };
@@ -7158,14 +7337,14 @@ var CustomerQuoteCard = ({
7158
7337
  var CustomerQuoteCard_default = CustomerQuoteCard;
7159
7338
 
7160
7339
  // src/components/LogoCard/LogoCard.tsx
7161
- var import_boemly50 = require("boemly");
7162
- var import_image29 = __toESM(require("next/image"), 1);
7163
- var import_link10 = __toESM(require("next/link"), 1);
7164
- var import_jsx_runtime49 = require("react/jsx-runtime");
7340
+ var import_boemly53 = require("boemly");
7341
+ var import_image30 = __toESM(require("next/image"), 1);
7342
+ var import_link11 = __toESM(require("next/link"), 1);
7343
+ var import_jsx_runtime52 = require("react/jsx-runtime");
7165
7344
  var LogoCard = ({ customerStory }) => {
7166
7345
  if (customerStory.cardImage) {
7167
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.Container, { height: "full", backgroundColor: "primary.50", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.Flex, { justifyContent: "center", height: "full", padding: "4", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_boemly50.Box, { position: "relative", height: "12", width: "36", marginY: "auto", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link10.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
7168
- import_image29.default,
7346
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Container, { height: "full", backgroundColor: "primary.50", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Flex, { justifyContent: "center", height: "full", padding: "4", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Box, { position: "relative", height: "12", width: "36", marginY: "auto", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_link11.default, { href: `/customer-stories/${customerStory.slug}`, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7347
+ import_image30.default,
7169
7348
  {
7170
7349
  src: strapiMediaUrl_default(customerStory.cardImage.img, "medium"),
7171
7350
  alt: customerStory.cardImage.alt,
@@ -7176,29 +7355,29 @@ var LogoCard = ({ customerStory }) => {
7176
7355
  }
7177
7356
  ) }) }) }) });
7178
7357
  }
7179
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, {});
7358
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {});
7180
7359
  };
7181
7360
 
7182
7361
  // src/components/LogoCard/index.ts
7183
7362
  var LogoCard_default = LogoCard;
7184
7363
 
7185
7364
  // src/slices/CustomerStories/CustomerStories.tsx
7186
- var import_jsx_runtime50 = require("react/jsx-runtime");
7365
+ var import_jsx_runtime53 = require("react/jsx-runtime");
7187
7366
  var CustomerStories = ({
7188
7367
  slice,
7189
7368
  customerStories
7190
7369
  }) => {
7191
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_boemly51.SimpleGrid, { columns: [1, null, null, 2, 3], gap: "6", children: slice.customer_stories.map((customerStoryRef, index) => {
7370
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.SimpleGrid, { columns: [1, null, null, 2, 3], gap: "6", children: slice.customer_stories.map((customerStoryRef, index) => {
7192
7371
  const customerStory = customerStories.find(
7193
7372
  (cs) => cs.attributes.slug === customerStoryRef.attributes.slug
7194
7373
  );
7195
7374
  if (!customerStory) {
7196
7375
  return null;
7197
7376
  }
7198
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_boemly51.Box, { children: [
7199
- customerStoryRef.attributes.variant === "customerCard" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(CustomerCard_default, { customerStory: customerStory.attributes }),
7200
- customerStoryRef.attributes.variant === "quoteCard" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(CustomerQuoteCard_default, { customerStory: customerStory.attributes }),
7201
- customerStoryRef.attributes.variant === "logoCard" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(LogoCard_default, { customerStory: customerStory.attributes })
7377
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_boemly54.Box, { children: [
7378
+ customerStoryRef.attributes.variant === "customerCard" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CustomerCard_default, { customerStory: customerStory.attributes }),
7379
+ customerStoryRef.attributes.variant === "quoteCard" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CustomerQuoteCard_default, { customerStory: customerStory.attributes }),
7380
+ customerStoryRef.attributes.variant === "logoCard" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LogoCard_default, { customerStory: customerStory.attributes })
7202
7381
  ] }, `${customerStoryRef.id}-${index}`);
7203
7382
  }) }) }) });
7204
7383
  };
@@ -7207,15 +7386,15 @@ var CustomerStories = ({
7207
7386
  var CustomerStories_default = CustomerStories;
7208
7387
 
7209
7388
  // src/slices/Comparison/Comparison.tsx
7210
- var import_react48 = require("react");
7211
- var import_boemly53 = require("boemly");
7212
- var import_image30 = __toESM(require("next/image"), 1);
7213
- var import_react49 = require("@phosphor-icons/react");
7389
+ var import_react53 = require("react");
7390
+ var import_boemly56 = require("boemly");
7391
+ var import_image31 = __toESM(require("next/image"), 1);
7392
+ var import_react54 = require("@phosphor-icons/react");
7214
7393
 
7215
7394
  // src/slices/Comparison/Icon.tsx
7216
- var import_react47 = require("@phosphor-icons/react");
7217
- var import_boemly52 = require("boemly");
7218
- var import_jsx_runtime51 = require("react/jsx-runtime");
7395
+ var import_react52 = require("@phosphor-icons/react");
7396
+ var import_boemly55 = require("boemly");
7397
+ var import_jsx_runtime54 = require("react/jsx-runtime");
7219
7398
  var BULLET_POINT_VARIANTS = {
7220
7399
  gray: { bulletPointColor: "black" },
7221
7400
  green: { bulletPointColor: "white" },
@@ -7224,12 +7403,12 @@ var BULLET_POINT_VARIANTS = {
7224
7403
  var Icon = ({ variant, icon }) => {
7225
7404
  switch (icon) {
7226
7405
  case "check":
7227
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react47.CheckIcon, { size: 20, color: "var(--boemly-colors-primary-500)" });
7406
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react52.CheckIcon, { size: 20, color: "var(--boemly-colors-primary-500)" });
7228
7407
  case "cross":
7229
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react47.XIcon, { size: 20, color: "var(--boemly-colors-red-500)" });
7408
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react52.XIcon, { size: 20, color: "var(--boemly-colors-red-500)" });
7230
7409
  default:
7231
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7232
- import_boemly52.Box,
7410
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7411
+ import_boemly55.Box,
7233
7412
  {
7234
7413
  "data-testid": "bullet-point-box",
7235
7414
  borderRadius: "full",
@@ -7243,7 +7422,7 @@ var Icon = ({ variant, icon }) => {
7243
7422
  };
7244
7423
 
7245
7424
  // src/slices/Comparison/Comparison.tsx
7246
- var import_jsx_runtime52 = require("react/jsx-runtime");
7425
+ var import_jsx_runtime55 = require("react/jsx-runtime");
7247
7426
  var VARIANTS5 = {
7248
7427
  gray: {
7249
7428
  backgroundColor: "primary.50",
@@ -7270,11 +7449,11 @@ var VARIANTS5 = {
7270
7449
  var Comparison = ({
7271
7450
  slice
7272
7451
  }) => {
7273
- const { formatMessage } = (0, import_react48.useContext)(IntlContext);
7274
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Wrapper, { children: [
7275
- slice.title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
7276
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7277
- import_boemly53.DefaultSectionHeader,
7452
+ const { formatMessage } = (0, import_react53.useContext)(IntlContext);
7453
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Wrapper, { children: [
7454
+ slice.title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
7455
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7456
+ import_boemly56.DefaultSectionHeader,
7278
7457
  {
7279
7458
  tagline: slice.tagline,
7280
7459
  title: slice.title,
@@ -7287,15 +7466,15 @@ var Comparison = ({
7287
7466
  taglineProps: { textAlign: "center", maxWidth: "3xl" }
7288
7467
  }
7289
7468
  ) }),
7290
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Spacer, { height: "12" })
7291
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {}),
7292
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7293
- import_boemly53.SimpleGrid,
7469
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Spacer, { height: "12" })
7470
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {}),
7471
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7472
+ import_boemly56.SimpleGrid,
7294
7473
  {
7295
7474
  columns: [1, null, null, null, slice.comparisonCards.length],
7296
7475
  gap: "4",
7297
- children: slice.comparisonCards.map((comparisonCard) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
7298
- import_boemly53.Container,
7476
+ children: slice.comparisonCards.map((comparisonCard) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
7477
+ import_boemly56.Container,
7299
7478
  {
7300
7479
  boxShadow: comparisonCard.variant === "green" ? "xl" : "base",
7301
7480
  border: comparisonCard.variant === "green" ? "primary.800" : void 0,
@@ -7305,8 +7484,8 @@ var Comparison = ({
7305
7484
  p: "3",
7306
7485
  backgroundColor: VARIANTS5[comparisonCard.variant].backgroundColor,
7307
7486
  children: [
7308
- comparisonCard.variant === "green" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7309
- import_boemly53.Box,
7487
+ comparisonCard.variant === "green" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7488
+ import_boemly56.Box,
7310
7489
  {
7311
7490
  position: "absolute",
7312
7491
  left: "0",
@@ -7314,8 +7493,8 @@ var Comparison = ({
7314
7493
  width: "full",
7315
7494
  height: "full",
7316
7495
  zIndex: "-1",
7317
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7318
- import_image30.default,
7496
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7497
+ import_image31.default,
7319
7498
  {
7320
7499
  src: `${CDN_URI}/assets/v3/strapi-slices/shapes-comparison.svg`,
7321
7500
  alt: formatMessage({
@@ -7329,10 +7508,10 @@ var Comparison = ({
7329
7508
  }
7330
7509
  )
7331
7510
  }
7332
- ) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {}),
7333
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Flex, { flexDir: "column", gap: "4", children: [
7334
- comparisonCard.image && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Box, { position: "relative", height: "7", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7335
- import_image30.default,
7511
+ ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {}),
7512
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { flexDir: "column", gap: "4", children: [
7513
+ comparisonCard.image && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Box, { position: "relative", height: "7", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7514
+ import_image31.default,
7336
7515
  {
7337
7516
  src: strapiMediaUrl_default(comparisonCard.image.img, "small"),
7338
7517
  alt: comparisonCard.image.alt,
@@ -7342,9 +7521,9 @@ var Comparison = ({
7342
7521
  }
7343
7522
  }
7344
7523
  ) }),
7345
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Flex, { gap: "2", alignItems: "center", flexWrap: "wrap", children: [
7346
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7347
- import_boemly53.Heading,
7524
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { gap: "2", alignItems: "center", flexWrap: "wrap", children: [
7525
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7526
+ import_boemly56.Heading,
7348
7527
  {
7349
7528
  size: "xl",
7350
7529
  color: VARIANTS5[comparisonCard.variant].textColor,
@@ -7352,8 +7531,8 @@ var Comparison = ({
7352
7531
  children: comparisonCard.title
7353
7532
  }
7354
7533
  ),
7355
- comparisonCard.badge && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7356
- import_boemly53.Badge,
7534
+ comparisonCard.badge && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7535
+ import_boemly56.Badge,
7357
7536
  {
7358
7537
  backgroundColor: "green.100",
7359
7538
  borderRadius: "md",
@@ -7363,29 +7542,29 @@ var Comparison = ({
7363
7542
  )
7364
7543
  ] })
7365
7544
  ] }),
7366
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Spacer, { height: "4" }),
7367
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7368
- import_boemly53.Text,
7545
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Spacer, { height: "4" }),
7546
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7547
+ import_boemly56.Text,
7369
7548
  {
7370
7549
  size: "smRegularNormal",
7371
7550
  color: VARIANTS5[comparisonCard.variant].subTitleColor,
7372
7551
  children: comparisonCard.subTitle
7373
7552
  }
7374
7553
  ),
7375
- comparisonCard.factTitle || comparisonCard.factSubtitle || comparisonCard.button ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
7376
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Spacer, { height: "6" }),
7377
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Flex, { flexDir: "column", children: [
7378
- comparisonCard.factTitle && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
7379
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7380
- import_boemly53.Text,
7554
+ comparisonCard.factTitle || comparisonCard.factSubtitle || comparisonCard.button ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
7555
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Spacer, { height: "6" }),
7556
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { flexDir: "column", children: [
7557
+ comparisonCard.factTitle && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
7558
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7559
+ import_boemly56.Text,
7381
7560
  {
7382
7561
  color: VARIANTS5[comparisonCard.variant].factColor,
7383
7562
  size: "lgMonoNormal",
7384
7563
  children: comparisonCard.factTitle
7385
7564
  }
7386
7565
  ),
7387
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7388
- import_boemly53.Text,
7566
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7567
+ import_boemly56.Text,
7389
7568
  {
7390
7569
  color: VARIANTS5[comparisonCard.variant].factColor,
7391
7570
  size: "smLowNormal",
@@ -7393,47 +7572,47 @@ var Comparison = ({
7393
7572
  }
7394
7573
  )
7395
7574
  ] }),
7396
- comparisonCard.button && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7575
+ comparisonCard.button && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7397
7576
  StrapiLinkButton_default,
7398
7577
  {
7399
7578
  mt: "6",
7400
7579
  link: comparisonCard.button,
7401
7580
  size: "md",
7402
7581
  variant: "outline",
7403
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react49.CaretRightIcon, { size: 16, weight: "bold" }),
7582
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.CaretRightIcon, { size: 16, weight: "bold" }),
7404
7583
  component: "Comparison"
7405
7584
  }
7406
7585
  )
7407
7586
  ] })
7408
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {}),
7409
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, { children: comparisonCard.lists.map((list) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Box, { children: [
7410
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7411
- import_boemly53.Separator,
7587
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {}),
7588
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: comparisonCard.lists.map((list) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Box, { children: [
7589
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7590
+ import_boemly56.Separator,
7412
7591
  {
7413
7592
  my: "8",
7414
7593
  color: VARIANTS5[comparisonCard.variant].dividerColor
7415
7594
  }
7416
7595
  ),
7417
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7418
- import_boemly53.Text,
7596
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7597
+ import_boemly56.Text,
7419
7598
  {
7420
7599
  size: "smLowBold",
7421
7600
  color: VARIANTS5[comparisonCard.variant].textColor,
7422
7601
  children: list.title
7423
7602
  }
7424
7603
  ),
7425
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, { children: list.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Box, { children: [
7426
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Spacer, { height: "4" }),
7427
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_boemly53.Flex, { gap: "4", alignItems: "center", children: [
7428
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_boemly53.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7604
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: list.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Box, { children: [
7605
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Spacer, { height: "4" }),
7606
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { gap: "4", alignItems: "center", children: [
7607
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7429
7608
  Icon,
7430
7609
  {
7431
7610
  variant: comparisonCard.variant,
7432
7611
  icon: item.icon
7433
7612
  }
7434
7613
  ) }),
7435
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7436
- import_boemly53.Text,
7614
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7615
+ import_boemly56.Text,
7437
7616
  {
7438
7617
  size: "smLowNormal",
7439
7618
  color: VARIANTS5[comparisonCard.variant].textColor,
@@ -7456,9 +7635,9 @@ var Comparison = ({
7456
7635
  var Comparison_default = Comparison;
7457
7636
 
7458
7637
  // src/slices/CarouselMarqueeBanner/CarouselMarqueeBanner.tsx
7459
- var import_react50 = require("react");
7460
- var import_boemly54 = require("boemly");
7461
- var import_image31 = __toESM(require("next/image"), 1);
7638
+ var import_react55 = require("react");
7639
+ var import_boemly57 = require("boemly");
7640
+ var import_image32 = __toESM(require("next/image"), 1);
7462
7641
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
7463
7642
  var import_core6 = require("@reactuses/core");
7464
7643
  var import_embla_carousel_auto_scroll = __toESM(require("embla-carousel-auto-scroll"), 1);
@@ -7497,16 +7676,16 @@ var LogoGrid = (0, import_styled5.default)(import_framer_motion5.motion.div)`
7497
7676
  `;
7498
7677
 
7499
7678
  // src/slices/CarouselMarqueeBanner/CarouselMarqueeBanner.tsx
7500
- var import_jsx_runtime53 = require("react/jsx-runtime");
7679
+ var import_jsx_runtime56 = require("react/jsx-runtime");
7501
7680
  var CarouselMarqueeBannerContent = ({
7502
7681
  slice
7503
7682
  }) => {
7504
- const [primary50] = (0, import_boemly54.useToken)("colors", ["primary.50"]);
7683
+ const [primary50] = (0, import_boemly57.useToken)("colors", ["primary.50"]);
7505
7684
  const { width: windowWidth } = (0, import_core6.useWindowSize)();
7506
7685
  const hasEnoughLogosForLoop = slice.logos.length >= 5;
7507
7686
  const LOOP_ARRAY_LENGTH = windowWidth > 2e3 ? 5 : 4;
7508
7687
  const logosToRender = hasEnoughLogosForLoop ? Array.from({ length: LOOP_ARRAY_LENGTH }, () => slice.logos).flat() : slice.logos;
7509
- const [isMobile] = (0, import_boemly54.useMediaQuery)([BREAKPOINT_MD_QUERY]);
7688
+ const [isMobile] = (0, import_boemly57.useMediaQuery)([BREAKPOINT_MD_QUERY]);
7510
7689
  const [emblaRef] = (0, import_embla_carousel_react.default)(
7511
7690
  {
7512
7691
  loop: hasEnoughLogosForLoop,
@@ -7526,20 +7705,20 @@ var CarouselMarqueeBannerContent = ({
7526
7705
  );
7527
7706
  const renderLogos = () => {
7528
7707
  if (!hasEnoughLogosForLoop) {
7529
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LogoGrid, { children: slice.logos.map((logo, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7530
- import_boemly54.Box,
7708
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LogoGrid, { children: slice.logos.map((logo, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7709
+ import_boemly57.Box,
7531
7710
  {
7532
7711
  flexShrink: 0,
7533
7712
  transform: "translate3d(0, 0, 0)",
7534
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7535
- import_boemly54.Flex,
7713
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7714
+ import_boemly57.Flex,
7536
7715
  {
7537
7716
  height: "full",
7538
7717
  width: "full",
7539
7718
  justifyContent: "center",
7540
7719
  alignItems: "center",
7541
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7542
- import_boemly54.Box,
7720
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7721
+ import_boemly57.Box,
7543
7722
  {
7544
7723
  position: "relative",
7545
7724
  height: isMobile ? "16" : "36",
@@ -7548,8 +7727,8 @@ var CarouselMarqueeBannerContent = ({
7548
7727
  logo.img.data.attributes.width,
7549
7728
  logo.img.data.attributes.height
7550
7729
  )})`,
7551
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7552
- import_image31.default,
7730
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7731
+ import_image32.default,
7553
7732
  {
7554
7733
  src: strapiMediaUrl_default(logo.img, "large"),
7555
7734
  alt: logo.alt,
@@ -7568,20 +7747,20 @@ var CarouselMarqueeBannerContent = ({
7568
7747
  `${logo.id}-${index}`
7569
7748
  )) });
7570
7749
  }
7571
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.Box, { width: "full", overflow: "hidden", ref: emblaRef, cursor: "pointer", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CarouselInnerContainer2, { logoCount: slice.logos.length, children: logosToRender.map((logo, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7572
- import_boemly54.Box,
7750
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { width: "full", overflow: "hidden", ref: emblaRef, cursor: "pointer", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselInnerContainer2, { logoCount: slice.logos.length, children: logosToRender.map((logo, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7751
+ import_boemly57.Box,
7573
7752
  {
7574
7753
  flexShrink: 0,
7575
7754
  transform: "translate3d(0, 0, 0)",
7576
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7577
- import_boemly54.Flex,
7755
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7756
+ import_boemly57.Flex,
7578
7757
  {
7579
7758
  height: "full",
7580
7759
  width: "full",
7581
7760
  justifyContent: "center",
7582
7761
  alignItems: "center",
7583
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7584
- import_boemly54.Box,
7762
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7763
+ import_boemly57.Box,
7585
7764
  {
7586
7765
  position: "relative",
7587
7766
  height: isMobile ? "16" : "36",
@@ -7589,8 +7768,8 @@ var CarouselMarqueeBannerContent = ({
7589
7768
  logo.img.data.attributes.width,
7590
7769
  logo.img.data.attributes.height
7591
7770
  )})`,
7592
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7593
- import_image31.default,
7771
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7772
+ import_image32.default,
7594
7773
  {
7595
7774
  src: strapiMediaUrl_default(logo.img, "large"),
7596
7775
  alt: logo.alt,
@@ -7609,10 +7788,10 @@ var CarouselMarqueeBannerContent = ({
7609
7788
  `${logo.id}-${index}`
7610
7789
  )) }) });
7611
7790
  };
7612
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.DefaultSectionContainer, { backgroundColor: primary50, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
7613
- slice.title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
7614
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.Heading, { size: "md", fontWeight: "500", children: slice.title }) }),
7615
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_boemly54.Spacer, { height: "12", minHeight: "12" })
7791
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.DefaultSectionContainer, { backgroundColor: primary50, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
7792
+ slice.title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
7793
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Flex, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Heading, { size: "md", fontWeight: "500", children: slice.title }) }),
7794
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: "12", minHeight: "12" })
7616
7795
  ] }) : null,
7617
7796
  renderLogos()
7618
7797
  ] }) });
@@ -7620,36 +7799,36 @@ var CarouselMarqueeBannerContent = ({
7620
7799
  var CarouselMarqueeBanner = ({
7621
7800
  slice
7622
7801
  }) => {
7623
- const [showChild, setShowChild] = (0, import_react50.useState)(false);
7624
- (0, import_react50.useEffect)(() => {
7802
+ const [showChild, setShowChild] = (0, import_react55.useState)(false);
7803
+ (0, import_react55.useEffect)(() => {
7625
7804
  setShowChild(true);
7626
7805
  }, []);
7627
7806
  if (!showChild) {
7628
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {});
7807
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {});
7629
7808
  }
7630
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CarouselMarqueeBannerContent, { slice });
7809
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselMarqueeBannerContent, { slice });
7631
7810
  };
7632
7811
 
7633
7812
  // src/slices/CarouselMarqueeBanner/index.ts
7634
7813
  var CarouselMarqueeBanner_default = CarouselMarqueeBanner;
7635
7814
 
7636
7815
  // src/slices/Timeline/Timeline.tsx
7637
- var import_react51 = require("react");
7638
- var import_boemly55 = require("boemly");
7639
- var import_image32 = __toESM(require("next/image"), 1);
7640
- var import_react52 = require("react");
7641
- var import_jsx_runtime54 = require("react/jsx-runtime");
7816
+ var import_react56 = require("react");
7817
+ var import_boemly58 = require("boemly");
7818
+ var import_image33 = __toESM(require("next/image"), 1);
7819
+ var import_react57 = require("react");
7820
+ var import_jsx_runtime57 = require("react/jsx-runtime");
7642
7821
  var Timeline = ({ slice }) => {
7643
- const { formatMessage } = (0, import_react51.useContext)(IntlContext);
7644
- const [visibleItems, setVisibleItems] = (0, import_react52.useState)(3);
7645
- const [mobile] = (0, import_boemly55.useMediaQuery)([BREAKPOINT_MD_QUERY]);
7646
- const [isOpen, setIsOpen] = (0, import_react52.useState)(false);
7822
+ const { formatMessage } = (0, import_react56.useContext)(IntlContext);
7823
+ const [visibleItems, setVisibleItems] = (0, import_react57.useState)(3);
7824
+ const [mobile] = (0, import_boemly58.useMediaQuery)([BREAKPOINT_MD_QUERY]);
7825
+ const [isOpen, setIsOpen] = (0, import_react57.useState)(false);
7647
7826
  const showMoreItems = () => {
7648
7827
  setVisibleItems((prevVisibleItems) => prevVisibleItems + 3);
7649
7828
  };
7650
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_boemly55.Flex, { flexDir: ["column", null, "row"], children: [
7651
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7652
- import_boemly55.Box,
7829
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_boemly58.Flex, { flexDir: ["column", null, "row"], children: [
7830
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7831
+ import_boemly58.Box,
7653
7832
  {
7654
7833
  width: ["full", null, "50%"],
7655
7834
  position: [null, null, "sticky"],
@@ -7657,18 +7836,18 @@ var Timeline = ({ slice }) => {
7657
7836
  height: "full",
7658
7837
  paddingRight: [null, null, "28"],
7659
7838
  children: [
7660
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7661
- import_boemly55.DefaultSectionHeader,
7839
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7840
+ import_boemly58.DefaultSectionHeader,
7662
7841
  {
7663
7842
  tagline: slice.tagline,
7664
7843
  title: slice.title,
7665
7844
  text: slice.text
7666
7845
  }
7667
7846
  ),
7668
- mobile && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
7669
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Spacer, { height: "10" }),
7670
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Flex, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7671
- import_boemly55.Box,
7847
+ mobile && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
7848
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Spacer, { height: "10" }),
7849
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Flex, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7850
+ import_boemly58.Box,
7672
7851
  {
7673
7852
  borderRadius: "full",
7674
7853
  width: "3",
@@ -7677,8 +7856,8 @@ var Timeline = ({ slice }) => {
7677
7856
  backgroundColor: "gray"
7678
7857
  }
7679
7858
  ) }),
7680
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7681
- import_boemly55.Box,
7859
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7860
+ import_boemly58.Box,
7682
7861
  {
7683
7862
  overflow: "visible",
7684
7863
  borderRight: "dashed 1px var(--boemly-colors-gray-200)",
@@ -7691,8 +7870,8 @@ var Timeline = ({ slice }) => {
7691
7870
  ]
7692
7871
  }
7693
7872
  ),
7694
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7695
- import_boemly55.Box,
7873
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7874
+ import_boemly58.Box,
7696
7875
  {
7697
7876
  overflow: "visible",
7698
7877
  maxWidth: ["full", null, "50%"],
@@ -7704,8 +7883,8 @@ var Timeline = ({ slice }) => {
7704
7883
  position: "relative",
7705
7884
  width: "full",
7706
7885
  children: [
7707
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Flex, { flexDir: "column", overflow: "visible", gap: ["8", null, "8"], children: slice.timelineItems.slice(0, visibleItems).map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7708
- import_boemly55.SimpleGrid,
7886
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Flex, { flexDir: "column", overflow: "visible", gap: ["8", null, "8"], children: slice.timelineItems.slice(0, visibleItems).map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7887
+ import_boemly58.SimpleGrid,
7709
7888
  {
7710
7889
  gap: ["4", null, "4"],
7711
7890
  columns: [1, null, 2],
@@ -7713,28 +7892,28 @@ var Timeline = ({ slice }) => {
7713
7892
  gridTemplateColumns: [null, null, "1fr 16fr"],
7714
7893
  position: "relative",
7715
7894
  children: [
7716
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7717
- import_boemly55.Flex,
7895
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7896
+ import_boemly58.Flex,
7718
7897
  {
7719
7898
  alignItems: "center",
7720
7899
  justifyContent: ["center", null, "flex-start"],
7721
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7722
- import_boemly55.Box,
7900
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7901
+ import_boemly58.Box,
7723
7902
  {
7724
7903
  position: "absolute",
7725
7904
  transform: [null, null, "translateX(-50%)"],
7726
7905
  backgroundColor: "white",
7727
7906
  children: [
7728
- item.icon ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Box, { padding: "2", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7729
- import_image32.default,
7907
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Box, { padding: "2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7908
+ import_image33.default,
7730
7909
  {
7731
7910
  src: strapiMediaUrl_default(item.icon.img, "xSmall"),
7732
7911
  alt: item.icon.alt,
7733
7912
  width: "21",
7734
7913
  height: "21"
7735
7914
  }
7736
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Box, { padding: "2", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7737
- import_boemly55.Box,
7915
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Box, { padding: "2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7916
+ import_boemly58.Box,
7738
7917
  {
7739
7918
  borderRadius: "full",
7740
7919
  backgroundColor: "primary.800",
@@ -7742,8 +7921,8 @@ var Timeline = ({ slice }) => {
7742
7921
  height: "2"
7743
7922
  }
7744
7923
  ) }),
7745
- mobile && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7746
- import_boemly55.Box,
7924
+ mobile && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7925
+ import_boemly58.Box,
7747
7926
  {
7748
7927
  overflow: "visible",
7749
7928
  borderRight: "dashed 1px var(--boemly-colors-gray-200)",
@@ -7757,16 +7936,16 @@ var Timeline = ({ slice }) => {
7757
7936
  )
7758
7937
  }
7759
7938
  ),
7760
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7761
- import_boemly55.Container,
7939
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7940
+ import_boemly58.Container,
7762
7941
  {
7763
7942
  p: [null, null, null, "3"],
7764
7943
  zIndex: "base",
7765
7944
  position: "relative",
7766
7945
  elevation: "none",
7767
7946
  children: [
7768
- item.backgroundShapes ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7769
- import_boemly55.Box,
7947
+ item.backgroundShapes ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7948
+ import_boemly58.Box,
7770
7949
  {
7771
7950
  position: "absolute",
7772
7951
  left: "0",
@@ -7774,8 +7953,8 @@ var Timeline = ({ slice }) => {
7774
7953
  width: "full",
7775
7954
  height: "full",
7776
7955
  zIndex: "-1",
7777
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7778
- import_image32.default,
7956
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7957
+ import_image33.default,
7779
7958
  {
7780
7959
  src: `${CDN_URI}/assets/v3/strapi-slices/timeline-shapes.svg`,
7781
7960
  alt: formatMessage({
@@ -7789,29 +7968,29 @@ var Timeline = ({ slice }) => {
7789
7968
  }
7790
7969
  )
7791
7970
  }
7792
- ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {}),
7793
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_boemly55.Flex, { flexDir: "column", children: [
7794
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7795
- import_boemly55.Flex,
7971
+ ) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, {}),
7972
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_boemly58.Flex, { flexDir: "column", children: [
7973
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
7974
+ import_boemly58.Flex,
7796
7975
  {
7797
7976
  alignItems: "flex-start",
7798
7977
  justifyContent: "space-between",
7799
7978
  children: [
7800
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Box, { children: item.tagline && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
7801
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Text, { color: "primary.800", size: "smMonoUppercase", children: item.tagline }),
7802
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Spacer, { height: "2" })
7979
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Box, { children: item.tagline && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
7980
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Text, { color: "primary.800", size: "smMonoUppercase", children: item.tagline }),
7981
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Spacer, { height: "2" })
7803
7982
  ] }) }),
7804
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_boemly55.Flex, { children: [
7805
- item.badge && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7806
- import_boemly55.BoemlyTag,
7983
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_boemly58.Flex, { children: [
7984
+ item.badge && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7985
+ import_boemly58.BoemlyTag,
7807
7986
  {
7808
7987
  colorPalette: item.badge.variant,
7809
7988
  borderRadius: "md",
7810
7989
  children: item.badge.text
7811
7990
  }
7812
7991
  ),
7813
- item.logo && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Box, { position: "relative", height: "8", width: "16", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7814
- import_image32.default,
7992
+ item.logo && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Box, { position: "relative", height: "8", width: "16", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7993
+ import_image33.default,
7815
7994
  {
7816
7995
  src: strapiMediaUrl_default(item.logo.img, "small"),
7817
7996
  alt: item.logo.alt,
@@ -7825,8 +8004,8 @@ var Timeline = ({ slice }) => {
7825
8004
  ]
7826
8005
  }
7827
8006
  ),
7828
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7829
- import_boemly55.Heading,
8007
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8008
+ import_boemly58.Heading,
7830
8009
  {
7831
8010
  size: "lg",
7832
8011
  mt: ["6", null, null, "3"],
@@ -7834,10 +8013,10 @@ var Timeline = ({ slice }) => {
7834
8013
  children: item.title
7835
8014
  }
7836
8015
  ),
7837
- item.text && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Box, { mt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.RichText, { content: item.text }) }),
7838
- item.button && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_boemly55.Box, { textAlign: "left", children: [
7839
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_boemly55.Spacer, { height: "4" }),
7840
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
8016
+ item.text && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Box, { mt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.RichText, { content: item.text }) }),
8017
+ item.button && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_boemly58.Box, { textAlign: "left", children: [
8018
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_boemly58.Spacer, { height: "4" }),
8019
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7841
8020
  StrapiLinkButton_default,
7842
8021
  {
7843
8022
  link: item.button,
@@ -7847,16 +8026,16 @@ var Timeline = ({ slice }) => {
7847
8026
  }
7848
8027
  )
7849
8028
  ] }),
7850
- item.image ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7851
- import_boemly55.Box,
8029
+ item.image ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
8030
+ import_boemly58.Box,
7852
8031
  {
7853
8032
  position: "relative",
7854
8033
  mt: "4",
7855
8034
  height: ["2xs", null, null, null, "48"],
7856
8035
  minWidth: [null, null, null, null, "50%"],
7857
8036
  children: [
7858
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7859
- import_image32.default,
8037
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8038
+ import_image33.default,
7860
8039
  {
7861
8040
  src: strapiMediaUrl_default(item.image.img, "xLarge"),
7862
8041
  alt: item.image.alt,
@@ -7869,7 +8048,7 @@ var Timeline = ({ slice }) => {
7869
8048
  onClick: () => !mobile && setIsOpen(true)
7870
8049
  }
7871
8050
  ),
7872
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
8051
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7873
8052
  FullScreenImage_default,
7874
8053
  {
7875
8054
  images: [item.image],
@@ -7879,13 +8058,13 @@ var Timeline = ({ slice }) => {
7879
8058
  )
7880
8059
  ]
7881
8060
  }
7882
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {})
8061
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, {})
7883
8062
  ] })
7884
8063
  ]
7885
8064
  }
7886
8065
  ),
7887
- mobile && index + 1 < slice.timelineItems.length && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7888
- import_boemly55.Box,
8066
+ mobile && index + 1 < slice.timelineItems.length && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8067
+ import_boemly58.Box,
7889
8068
  {
7890
8069
  overflow: "visible",
7891
8070
  borderRight: "dashed 1px var(--boemly-colors-gray-200)",
@@ -7898,9 +8077,9 @@ var Timeline = ({ slice }) => {
7898
8077
  },
7899
8078
  `${item.id}-${index}`
7900
8079
  )) }),
7901
- visibleItems < slice.timelineItems.length && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
7902
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7903
- import_boemly55.Box,
8080
+ visibleItems < slice.timelineItems.length && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
8081
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8082
+ import_boemly58.Box,
7904
8083
  {
7905
8084
  width: "full",
7906
8085
  height: ["36", null, null, "64"],
@@ -7910,15 +8089,15 @@ var Timeline = ({ slice }) => {
7910
8089
  background: "linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.98) 76.54%, #FFF 100%)"
7911
8090
  }
7912
8091
  ),
7913
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7914
- import_boemly55.Box,
8092
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8093
+ import_boemly58.Box,
7915
8094
  {
7916
8095
  bottom: "0",
7917
8096
  textAlign: "center",
7918
8097
  zIndex: "overlay",
7919
8098
  position: "relative",
7920
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7921
- import_boemly55.Button,
8099
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8100
+ import_boemly58.Button,
7922
8101
  {
7923
8102
  variant: "outline",
7924
8103
  size: "sm",
@@ -7940,20 +8119,14 @@ var Timeline = ({ slice }) => {
7940
8119
  var Timeline_default = Timeline;
7941
8120
 
7942
8121
  // src/slices/Events/Events.tsx
7943
- var import_boemly57 = require("boemly");
7944
- var import_react56 = require("react");
8122
+ var import_boemly60 = require("boemly");
8123
+ var import_react61 = require("react");
7945
8124
 
7946
8125
  // src/components/EventCard/EventCard.tsx
7947
- var import_react53 = require("react");
7948
- var import_boemly56 = require("boemly");
7949
- var import_image33 = __toESM(require("next/image"), 1);
7950
- var import_react54 = require("@phosphor-icons/react");
7951
-
7952
- // src/utils/getCountryFlag.ts
7953
- var getCountryFlag = (countryCode) => {
7954
- return countryCode.toUpperCase().replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397));
7955
- };
7956
- var getCountryFlag_default = getCountryFlag;
8126
+ var import_react58 = require("react");
8127
+ var import_boemly59 = require("boemly");
8128
+ var import_image34 = __toESM(require("next/image"), 1);
8129
+ var import_react59 = require("@phosphor-icons/react");
7957
8130
 
7958
8131
  // src/utils/isSameDate.ts
7959
8132
  var isSameDate = (date1, date2) => {
@@ -7962,43 +8135,43 @@ var isSameDate = (date1, date2) => {
7962
8135
  var isSameDate_default = isSameDate;
7963
8136
 
7964
8137
  // src/components/EventCard/EventCard.tsx
7965
- var import_jsx_runtime55 = require("react/jsx-runtime");
8138
+ var import_jsx_runtime58 = require("react/jsx-runtime");
7966
8139
  var MAX_LENGTH = 120;
7967
8140
  var LOCATION_MAX_LENGTH = 28;
7968
8141
  var getEventIcon = (eventType) => {
7969
8142
  switch (eventType) {
7970
8143
  case "Webinar" /* WEBINAR */:
7971
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.WebcamIcon, { size: 12 });
8144
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.WebcamIcon, { size: 12 });
7972
8145
  case "Conference" /* CONFERENCE */:
7973
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.HeadsetIcon, { size: 12 });
8146
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.HeadsetIcon, { size: 12 });
7974
8147
  case "Meet Up" /* MEET_UP */:
7975
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.UsersThreeIcon, { size: 12 });
8148
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.UsersThreeIcon, { size: 12 });
7976
8149
  case "Forest Walk" /* FOREST_WALK */:
7977
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.PersonSimpleWalkIcon, { size: 12 });
8150
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.PersonSimpleWalkIcon, { size: 12 });
7978
8151
  case "Partner Event" /* PARTNER_EVENT */:
7979
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.HandshakeIcon, { size: 12 });
8152
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.HandshakeIcon, { size: 12 });
7980
8153
  case "Lunch & Learn" /* LUNCH_AND_LEARN */:
7981
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.BowlFoodIcon, { size: 12 });
8154
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.BowlFoodIcon, { size: 12 });
7982
8155
  case "Fair" /* FAIR */:
7983
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.ChalkboardTeacherIcon, { size: 12 });
8156
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.ChalkboardTeacherIcon, { size: 12 });
7984
8157
  case "Festival" /* FESTIVAL */:
7985
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.ConfettiIcon, { size: 12 });
8158
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.ConfettiIcon, { size: 12 });
7986
8159
  case "RoadShow" /* ROADSHOW */:
7987
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.ProjectorScreenChartIcon, { size: 12 });
8160
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.ProjectorScreenChartIcon, { size: 12 });
7988
8161
  default:
7989
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.InfoIcon, { size: 12, weight: "fill" });
8162
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.InfoIcon, { size: 12, weight: "fill" });
7990
8163
  }
7991
8164
  };
7992
8165
  var EventCard = ({ event }) => {
7993
- const { formatDate, formatNumber, formatMessage } = (0, import_react53.useContext)(IntlContext);
7994
- const [isExpanded, setIsExpanded] = (0, import_react53.useState)(false);
7995
- const [mobile] = (0, import_boemly56.useMediaQuery)([BREAKPOINT_MD_QUERY]);
8166
+ const { formatDate, formatNumber, formatMessage } = (0, import_react58.useContext)(IntlContext);
8167
+ const [isExpanded, setIsExpanded] = (0, import_react58.useState)(false);
8168
+ const [mobile] = (0, import_boemly59.useMediaQuery)([BREAKPOINT_MD_QUERY]);
7996
8169
  const toggleText = () => {
7997
8170
  setIsExpanded(!isExpanded);
7998
8171
  };
7999
8172
  const isLocationTooLong = (event.location?.length ?? 0) >= LOCATION_MAX_LENGTH;
8000
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8001
- import_boemly56.Box,
8173
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8174
+ import_boemly59.Box,
8002
8175
  {
8003
8176
  borderRadius: ["xl", null, null, "2xl"],
8004
8177
  height: "full",
@@ -8006,8 +8179,8 @@ var EventCard = ({ event }) => {
8006
8179
  border: "1px solid var(--boemly-colors-gray-200)",
8007
8180
  background: "white",
8008
8181
  children: [
8009
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8010
- import_boemly56.Box,
8182
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8183
+ import_boemly59.Box,
8011
8184
  {
8012
8185
  position: "relative",
8013
8186
  width: "full",
@@ -8020,8 +8193,8 @@ var EventCard = ({ event }) => {
8020
8193
  }
8021
8194
  },
8022
8195
  children: [
8023
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8024
- import_image33.default,
8196
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8197
+ import_image34.default,
8025
8198
  {
8026
8199
  src: strapiMediaUrl_default(event.image?.img, "medium"),
8027
8200
  alt: event.image?.alt,
@@ -8031,8 +8204,8 @@ var EventCard = ({ event }) => {
8031
8204
  }
8032
8205
  }
8033
8206
  ),
8034
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8035
- import_boemly56.Box,
8207
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8208
+ import_boemly59.Box,
8036
8209
  {
8037
8210
  position: "absolute",
8038
8211
  top: ["6", null, null, "8"],
@@ -8040,8 +8213,8 @@ var EventCard = ({ event }) => {
8040
8213
  zIndex: "1",
8041
8214
  width: ["12", null, null, "16"],
8042
8215
  height: ["12", null, null, "16"],
8043
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8044
- import_image33.default,
8216
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8217
+ import_image34.default,
8045
8218
  {
8046
8219
  src: strapiMediaUrl_default(event.logo.img, "medium"),
8047
8220
  alt: event.logo.alt,
@@ -8058,72 +8231,72 @@ var EventCard = ({ event }) => {
8058
8231
  ]
8059
8232
  }
8060
8233
  ),
8061
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8062
- import_boemly56.Flex,
8234
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8235
+ import_boemly59.Flex,
8063
8236
  {
8064
8237
  flexDir: "column",
8065
8238
  p: ["6", null, null, "8"],
8066
8239
  h: "calc(var(--boemly-sizes-full) - var(--boemly-sizes-44))",
8067
8240
  children: [
8068
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { flexDir: "row", mb: "4", gap: "2", flexWrap: "wrap", children: [
8069
- event.recommended ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Flex, { mb: ["2", null, null, "0"], children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.BoemlyTag, { backgroundColor: "green.600", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8070
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.StarIcon, { size: 12, weight: "fill", color: "white" }),
8071
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Text, { size: "xsLowBold", color: "white", children: formatMessage({
8241
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { flexDir: "row", mb: "4", gap: "2", flexWrap: "wrap", children: [
8242
+ event.recommended ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Flex, { mb: ["2", null, null, "0"], children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.BoemlyTag, { backgroundColor: "green.600", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8243
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.StarIcon, { size: 12, weight: "fill", color: "white" }),
8244
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Text, { size: "xsLowBold", color: "white", children: formatMessage({
8072
8245
  id: "sections.eventCard.recommendedEvent"
8073
8246
  }) })
8074
- ] }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {}),
8075
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { flexWrap: "wrap", gap: "2", children: [
8076
- event.eventTypes.map((e) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.BoemlyTag, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8247
+ ] }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, {}),
8248
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { flexWrap: "wrap", gap: "2", children: [
8249
+ event.eventTypes.map((e) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.BoemlyTag, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8077
8250
  getEventIcon(e.eventType),
8078
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Text, { size: "xsLowBold", color: "gray.800", children: formatMessage({
8251
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Text, { size: "xsLowBold", color: "gray.800", children: formatMessage({
8079
8252
  id: `sections.eventCard.eventType.${e.eventType.toLowerCase().replace(/\s+/g, "")}`
8080
8253
  }) })
8081
8254
  ] }) }, e.id)),
8082
- event.languages.map(({ id, language, countryCode }) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.BoemlyTag, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8255
+ event.languages.map(({ id, language, countryCode }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.BoemlyTag, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { alignItems: "center", gap: "1", whiteSpace: "nowrap", children: [
8083
8256
  getCountryFlag_default(countryCode),
8084
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Text, { size: "xsLowBold", color: "gray.800", children: language })
8257
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Text, { size: "xsLowBold", color: "gray.800", children: language })
8085
8258
  ] }) }, id))
8086
8259
  ] })
8087
8260
  ] }),
8088
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Heading, { children: event.title }),
8089
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8090
- import_boemly56.Flex,
8261
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Heading, { children: event.title }),
8262
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8263
+ import_boemly59.Flex,
8091
8264
  {
8092
8265
  gap: isLocationTooLong ? "2" : ["2", null, null, "6"],
8093
8266
  alignItems: mobile || isLocationTooLong ? "flex-start" : "center",
8094
8267
  my: "4",
8095
8268
  flexDir: mobile || isLocationTooLong ? "column" : "row",
8096
8269
  children: [
8097
- event.online && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { gap: "2", alignItems: "center", children: [
8098
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8099
- import_react54.LaptopIcon,
8270
+ event.online && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { gap: "2", alignItems: "center", children: [
8271
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8272
+ import_react59.LaptopIcon,
8100
8273
  {
8101
8274
  size: 20,
8102
8275
  color: "var(--boemly-colors-primary-700)"
8103
8276
  }
8104
8277
  ),
8105
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: "Online" })
8278
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: "Online" })
8106
8279
  ] }),
8107
- event.location && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { gap: "2", alignItems: "center", children: [
8108
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8109
- import_react54.MapPinLineIcon,
8280
+ event.location && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { gap: "2", alignItems: "center", children: [
8281
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8282
+ import_react59.MapPinLineIcon,
8110
8283
  {
8111
8284
  size: 20,
8112
8285
  color: "var(--boemly-colors-primary-700)",
8113
8286
  weight: "fill"
8114
8287
  }
8115
8288
  ),
8116
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: event.location })
8289
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: event.location })
8117
8290
  ] }),
8118
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Flex, { alignItems: "center", gap: "2", children: [
8119
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8120
- import_react54.CalendarBlankIcon,
8291
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Flex, { alignItems: "center", gap: "2", children: [
8292
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8293
+ import_react59.CalendarBlankIcon,
8121
8294
  {
8122
8295
  size: 20,
8123
8296
  color: "var(--boemly-colors-primary-700)"
8124
8297
  }
8125
8298
  ),
8126
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: [
8299
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Text, { size: mobile ? "xsLowBold" : "smLowBold", children: [
8127
8300
  formatDate(event.start, {
8128
8301
  year: "numeric",
8129
8302
  month: "2-digit",
@@ -8134,7 +8307,7 @@ var EventCard = ({ event }) => {
8134
8307
  })}:${formatNumber(new Date(event.start).getUTCMinutes(), {
8135
8308
  minimumIntegerDigits: 2
8136
8309
  })}`,
8137
- event.end && !isSameDate_default(new Date(event.start), new Date(event.end)) && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
8310
+ event.end && !isSameDate_default(new Date(event.start), new Date(event.end)) && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
8138
8311
  " - ",
8139
8312
  formatDate(event.end, {
8140
8313
  year: "numeric",
@@ -8157,51 +8330,51 @@ var EventCard = ({ event }) => {
8157
8330
  ]
8158
8331
  }
8159
8332
  ),
8160
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8161
- import_boemly56.Text,
8333
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8334
+ import_boemly59.Text,
8162
8335
  {
8163
8336
  mb: mobile ? "0" : "7",
8164
8337
  size: mobile ? "xsRegularNormal" : "smRegularNormal",
8165
8338
  children: isExpanded || !mobile ? event.description : `${event.description.substring(0, MAX_LENGTH)}...`
8166
8339
  }
8167
8340
  ),
8168
- event.description.length > MAX_LENGTH && mobile && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Flex, { justifyContent: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_boemly56.Button, { mt: "2", onClick: toggleText, variant: "link", children: [
8341
+ event.description.length > MAX_LENGTH && mobile && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Flex, { justifyContent: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_boemly59.Button, { mt: "2", onClick: toggleText, variant: "link", children: [
8169
8342
  formatMessage(
8170
8343
  isExpanded ? {
8171
8344
  id: "sections.eventCard.buttonShowLess"
8172
8345
  } : { id: "sections.eventCard.buttonShowMore" }
8173
8346
  ),
8174
- isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.CaretUpIcon, { size: "12" }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.CaretDownIcon, { size: "12" })
8347
+ isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.CaretUpIcon, { size: "12" }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.CaretDownIcon, { size: "12" })
8175
8348
  ] }) }),
8176
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8177
- import_boemly56.Flex,
8349
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8350
+ import_boemly59.Flex,
8178
8351
  {
8179
8352
  mt: mobile ? "7" : "auto",
8180
8353
  justifyContent: mobile ? void 0 : "space-between",
8181
8354
  flexDir: mobile ? "column-reverse" : "row",
8182
8355
  gap: mobile ? "4" : "0",
8183
8356
  children: [
8184
- event.button && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Flex, { width: mobile ? "full" : "auto", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8357
+ event.button && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Flex, { width: mobile ? "full" : "auto", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8185
8358
  StrapiLinkButton_default,
8186
8359
  {
8187
8360
  size: "md",
8188
8361
  variant: event.buttonVariant,
8189
8362
  link: event.button,
8190
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react54.CaretRightIcon, { size: "10" }),
8363
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react59.CaretRightIcon, { size: "10" }),
8191
8364
  width: "full",
8192
8365
  component: "EventCard"
8193
8366
  },
8194
8367
  event.button.id
8195
8368
  ) }),
8196
- event.speakers && event.speakers.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Flex, { flexDir: "row", gap: "2", children: event.speakers.map((speaker) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8197
- import_boemly56.Box,
8369
+ event.speakers && event.speakers.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Flex, { flexDir: "row", gap: "2", children: event.speakers.map((speaker) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8370
+ import_boemly59.Box,
8198
8371
  {
8199
8372
  width: ["10", null, null, "12"],
8200
8373
  height: ["10", null, null, "12"],
8201
8374
  position: "relative",
8202
8375
  borderRadius: "2xl",
8203
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_boemly56.Tooltip, { content: speaker.name, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8204
- import_image33.default,
8376
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_boemly59.Tooltip, { content: speaker.name, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8377
+ import_image34.default,
8205
8378
  {
8206
8379
  src: strapiMediaUrl_default(speaker.image.img, "medium"),
8207
8380
  alt: speaker.image.alt,
@@ -8231,21 +8404,21 @@ var EventCard_default = EventCard;
8231
8404
 
8232
8405
  // src/models/hooks/useEvents.ts
8233
8406
  var import_infinite = __toESM(require("swr/infinite"), 1);
8234
- var import_react55 = require("react");
8407
+ var import_react60 = require("react");
8235
8408
  var useEvents = ({
8236
8409
  getKey,
8237
8410
  batchSize
8238
8411
  }) => {
8239
8412
  const { data, isLoading, setSize, size, mutate: mutate2 } = (0, import_infinite.default)(getKey, { revalidateFirstPage: false, revalidateAll: false });
8240
- const count = (0, import_react55.useMemo)(() => {
8413
+ const count = (0, import_react60.useMemo)(() => {
8241
8414
  return data?.[0]?.body?.meta?.pagination?.total || 0;
8242
8415
  }, [data]);
8243
- const isLoadingMore = (0, import_react55.useMemo)(
8416
+ const isLoadingMore = (0, import_react60.useMemo)(
8244
8417
  () => !!(size > 0 && data && typeof data[size - 1] === "undefined"),
8245
8418
  [size, data]
8246
8419
  );
8247
- const loadMore = (0, import_react55.useCallback)(() => setSize(size + 1), [setSize, size]);
8248
- const canLoadMore = (0, import_react55.useMemo)(
8420
+ const loadMore = (0, import_react60.useCallback)(() => setSize(size + 1), [setSize, size]);
8421
+ const canLoadMore = (0, import_react60.useMemo)(
8249
8422
  () => count !== void 0 && size * batchSize < count,
8250
8423
  [count, size, batchSize]
8251
8424
  );
@@ -8263,18 +8436,18 @@ var useEvents_default = useEvents;
8263
8436
 
8264
8437
  // src/slices/Events/Events.tsx
8265
8438
  var import_internal2 = require("swr/_internal");
8266
- var import_jsx_runtime56 = require("react/jsx-runtime");
8439
+ var import_jsx_runtime59 = require("react/jsx-runtime");
8267
8440
  var UPCOMING_BATCH_SIZE = 6;
8268
8441
  var PAST_BATCH_SIZE = 2;
8269
8442
  var Events = ({ slice }) => {
8270
- const { formatMessage, locale } = (0, import_react56.useContext)(IntlContext);
8271
- const [eventTypeFilter, setEventTypeFilter] = (0, import_react56.useState)([]);
8272
- const [languageFilter, setLanguageFilter] = (0, import_react56.useState)([]);
8273
- const [sort, setSort] = (0, import_react56.useState)(["newest" /* NEWEST_FIRST */]);
8274
- const [allEventTypeOptions, setAllEventTypeOptions] = (0, import_react56.useState)(
8443
+ const { formatMessage, locale } = (0, import_react61.useContext)(IntlContext);
8444
+ const [eventTypeFilter, setEventTypeFilter] = (0, import_react61.useState)([]);
8445
+ const [languageFilter, setLanguageFilter] = (0, import_react61.useState)([]);
8446
+ const [sort, setSort] = (0, import_react61.useState)(["newest" /* NEWEST_FIRST */]);
8447
+ const [allEventTypeOptions, setAllEventTypeOptions] = (0, import_react61.useState)(
8275
8448
  []
8276
8449
  );
8277
- const [allLanguageOptions, setAllLanguageOptions] = (0, import_react56.useState)(
8450
+ const [allLanguageOptions, setAllLanguageOptions] = (0, import_react61.useState)(
8278
8451
  []
8279
8452
  );
8280
8453
  const now = (/* @__PURE__ */ new Date()).toISOString();
@@ -8311,11 +8484,11 @@ var Events = ({ slice }) => {
8311
8484
  }
8312
8485
  return `/treely-events` + url.search;
8313
8486
  };
8314
- const getUpcomingKey = (0, import_react56.useCallback)(
8487
+ const getUpcomingKey = (0, import_react61.useCallback)(
8315
8488
  (index) => buildEventsUrl(index, UPCOMING_BATCH_SIZE, "filters[start][$gte]"),
8316
8489
  [eventTypeFilter, languageFilter, sort]
8317
8490
  );
8318
- const getPastKey = (0, import_react56.useCallback)(
8491
+ const getPastKey = (0, import_react61.useCallback)(
8319
8492
  (index) => buildEventsUrl(index, PAST_BATCH_SIZE, "filters[start][$lt]"),
8320
8493
  [eventTypeFilter, languageFilter, sort]
8321
8494
  );
@@ -8336,13 +8509,13 @@ var Events = ({ slice }) => {
8336
8509
  const processEvents = (data) => {
8337
8510
  return data?.flatMap((d) => d?.body?.data)?.filter((t) => !!t) || [];
8338
8511
  };
8339
- const upcomingEvents = (0, import_react56.useMemo)(() => {
8512
+ const upcomingEvents = (0, import_react61.useMemo)(() => {
8340
8513
  return processEvents(upcomingData);
8341
8514
  }, [upcomingData]);
8342
- const pastEvents = (0, import_react56.useMemo)(() => {
8515
+ const pastEvents = (0, import_react61.useMemo)(() => {
8343
8516
  return processEvents(pastData);
8344
8517
  }, [pastData]);
8345
- const fetchAllOptions = (0, import_react56.useCallback)(async () => {
8518
+ const fetchAllOptions = (0, import_react61.useCallback)(async () => {
8346
8519
  const url = new URL(`/treely-events`, STRAPI_URI);
8347
8520
  url.searchParams.append("locale", locale);
8348
8521
  url.searchParams.append("pLevel", STRAPI_DEFAULT_POPULATE_DEPTH);
@@ -8379,7 +8552,7 @@ var Events = ({ slice }) => {
8379
8552
  Array.from(allLanguages).map((value) => ({ value, label: value }))
8380
8553
  );
8381
8554
  }, [locale]);
8382
- (0, import_react56.useEffect)(() => {
8555
+ (0, import_react61.useEffect)(() => {
8383
8556
  fetchAllOptions();
8384
8557
  }, [fetchAllOptions]);
8385
8558
  const removeFilter = (filterType, valueToRemove) => {
@@ -8393,14 +8566,14 @@ var Events = ({ slice }) => {
8393
8566
  );
8394
8567
  }
8395
8568
  };
8396
- (0, import_react56.useEffect)(() => {
8569
+ (0, import_react61.useEffect)(() => {
8397
8570
  (0, import_internal2.mutate)(getUpcomingKey);
8398
8571
  }, [eventTypeFilter, languageFilter, sort]);
8399
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_boemly57.DefaultSectionContainer, { children: [
8400
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_boemly57.Wrapper, { children: [
8401
- slice.upcomingTitle ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
8402
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8403
- import_boemly57.DefaultSectionHeader,
8572
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_boemly60.DefaultSectionContainer, { children: [
8573
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_boemly60.Wrapper, { children: [
8574
+ slice.upcomingTitle ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
8575
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8576
+ import_boemly60.DefaultSectionHeader,
8404
8577
  {
8405
8578
  title: slice.upcomingTitle,
8406
8579
  text: slice.upcomingDescription,
@@ -8408,34 +8581,34 @@ var Events = ({ slice }) => {
8408
8581
  textProps: { maxW: "3xl" }
8409
8582
  }
8410
8583
  ),
8411
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: "10" })
8412
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, {}),
8413
- slice.filterSearch && (upcomingEvents || pastEvents) ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
8414
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8415
- import_boemly57.Flex,
8584
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Spacer, { height: "10" })
8585
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, {}),
8586
+ slice.filterSearch && (upcomingEvents || pastEvents) ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
8587
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
8588
+ import_boemly60.Flex,
8416
8589
  {
8417
8590
  justifyContent: "space-between",
8418
8591
  direction: ["column-reverse", null, null, "row"],
8419
8592
  alignItems: "baseline",
8420
8593
  gap: "4",
8421
8594
  children: [
8422
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8423
- import_boemly57.Flex,
8595
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
8596
+ import_boemly60.Flex,
8424
8597
  {
8425
8598
  direction: "column",
8426
8599
  width: "full",
8427
8600
  justifyContent: "start",
8428
8601
  gap: "4",
8429
8602
  children: [
8430
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8431
- import_boemly57.Flex,
8603
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
8604
+ import_boemly60.Flex,
8432
8605
  {
8433
8606
  direction: ["column", null, null, "row"],
8434
8607
  gap: "4",
8435
8608
  justifyContent: "start",
8436
8609
  children: [
8437
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { position: "relative", width: ["full", null, null, "56"], children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8438
- import_boemly57.Select,
8610
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Box, { position: "relative", width: ["full", null, null, "56"], children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8611
+ import_boemly60.Select,
8439
8612
  {
8440
8613
  isMultiple: true,
8441
8614
  isSearchable: true,
@@ -8454,8 +8627,8 @@ var Events = ({ slice }) => {
8454
8627
  }
8455
8628
  }
8456
8629
  ) }),
8457
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { position: "relative", width: ["full", null, null, "56"], children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8458
- import_boemly57.Select,
8630
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Box, { position: "relative", width: ["full", null, null, "56"], children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8631
+ import_boemly60.Select,
8459
8632
  {
8460
8633
  isMultiple: true,
8461
8634
  isSearchable: true,
@@ -8477,13 +8650,13 @@ var Events = ({ slice }) => {
8477
8650
  ]
8478
8651
  }
8479
8652
  ),
8480
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_boemly57.Box, { display: "flex", flexWrap: "wrap", minHeight: "6", gap: "2", children: [
8653
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_boemly60.Box, { display: "flex", flexWrap: "wrap", minHeight: "6", gap: "2", children: [
8481
8654
  eventTypeFilter.map((eventType) => {
8482
8655
  const event = allEventTypeOptions.find(
8483
8656
  (option) => option.value === eventType
8484
8657
  );
8485
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8486
- import_boemly57.BoemlyTag,
8658
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8659
+ import_boemly60.BoemlyTag,
8487
8660
  {
8488
8661
  isClosable: true,
8489
8662
  onClose: () => removeFilter("eventTypes", eventType),
@@ -8496,8 +8669,8 @@ var Events = ({ slice }) => {
8496
8669
  const language = allLanguageOptions.find(
8497
8670
  (option) => option.value === singleLanguage
8498
8671
  );
8499
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8500
- import_boemly57.BoemlyTag,
8672
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8673
+ import_boemly60.BoemlyTag,
8501
8674
  {
8502
8675
  isClosable: true,
8503
8676
  onClose: () => removeFilter("languages", singleLanguage),
@@ -8510,10 +8683,10 @@ var Events = ({ slice }) => {
8510
8683
  ]
8511
8684
  }
8512
8685
  ),
8513
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_boemly57.Box, { display: "flex", gap: "1px", width: "52", alignItems: "center", children: [
8514
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Text, { size: "smLowNormal", color: "black", width: "20", children: "Sort by:" }),
8515
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8516
- import_boemly57.Select,
8686
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_boemly60.Box, { display: "flex", gap: "1px", width: "52", alignItems: "center", children: [
8687
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Text, { size: "smLowNormal", color: "black", width: "20", children: "Sort by:" }),
8688
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8689
+ import_boemly60.Select,
8517
8690
  {
8518
8691
  isMultiple: false,
8519
8692
  borderColor: "white",
@@ -8540,12 +8713,12 @@ var Events = ({ slice }) => {
8540
8713
  ]
8541
8714
  }
8542
8715
  ),
8543
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: ["8", null, null, "16"] })
8544
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, {}),
8545
- (!upcomingEvents || upcomingEvents.length === 0) && !isLoadingUpcoming ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Center, { children: formatMessage({ id: "sections.events.noUpcomingEvents" }) }) : (
8716
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Spacer, { height: ["8", null, null, "16"] })
8717
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, {}),
8718
+ (!upcomingEvents || upcomingEvents.length === 0) && !isLoadingUpcoming ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Center, { children: formatMessage({ id: "sections.events.noUpcomingEvents" }) }) : (
8546
8719
  // List of upcoming events
8547
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8548
- import_boemly57.SimpleGrid,
8720
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8721
+ import_boemly60.SimpleGrid,
8549
8722
  {
8550
8723
  columns: [1, null, null, null, null, 2],
8551
8724
  columnGap: "6",
@@ -8553,12 +8726,12 @@ var Events = ({ slice }) => {
8553
8726
  flexShrink: "0",
8554
8727
  mb: ["10", null, null, "20"],
8555
8728
  placeItems: "center",
8556
- children: upcomingEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { width: "full", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(EventCard_default, { event: event.attributes }) }, event.id))
8729
+ children: upcomingEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Box, { width: "full", height: "full", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventCard_default, { event: event.attributes }) }, event.id))
8557
8730
  }
8558
8731
  )
8559
8732
  ),
8560
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Flex, { justifyContent: "center", children: !isLoadingUpcoming && canLoadMoreUpcoming && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8561
- import_boemly57.Button,
8733
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Flex, { justifyContent: "center", children: !isLoadingUpcoming && canLoadMoreUpcoming && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8734
+ import_boemly60.Button,
8562
8735
  {
8563
8736
  onClick: () => {
8564
8737
  loadMoreUpcoming();
@@ -8569,10 +8742,10 @@ var Events = ({ slice }) => {
8569
8742
  }
8570
8743
  ) })
8571
8744
  ] }),
8572
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: ["10", null, null, "28"] }),
8573
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { background: "primary.50", pt: ["8", null, null, "24"], children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_boemly57.Wrapper, { children: [
8574
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8575
- import_boemly57.DefaultSectionHeader,
8745
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Spacer, { height: ["10", null, null, "28"] }),
8746
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Box, { background: "primary.50", pt: ["8", null, null, "24"], children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_boemly60.Wrapper, { children: [
8747
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8748
+ import_boemly60.DefaultSectionHeader,
8576
8749
  {
8577
8750
  title: slice.pastTitle,
8578
8751
  text: slice.pastDescription,
@@ -8580,14 +8753,14 @@ var Events = ({ slice }) => {
8580
8753
  textProps: { maxW: "3xl" }
8581
8754
  }
8582
8755
  ),
8583
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: "10" }),
8584
- (!pastEvents || pastEvents.length === 0) && !isLoadingPast ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
8585
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Center, { children: formatMessage({ id: "sections.events.noPastEvents" }) }),
8586
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Spacer, { height: "24" })
8756
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Spacer, { height: "10" }),
8757
+ (!pastEvents || pastEvents.length === 0) && !isLoadingPast ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
8758
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Center, { children: formatMessage({ id: "sections.events.noPastEvents" }) }),
8759
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Spacer, { height: "24" })
8587
8760
  ] }) : (
8588
8761
  // List of past events
8589
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8590
- import_boemly57.SimpleGrid,
8762
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8763
+ import_boemly60.SimpleGrid,
8591
8764
  {
8592
8765
  columns: [1, null, null, null, null, 2],
8593
8766
  columnGap: "6",
@@ -8595,12 +8768,12 @@ var Events = ({ slice }) => {
8595
8768
  flexShrink: "0",
8596
8769
  placeItems: "center",
8597
8770
  mb: ["10", null, null, "20"],
8598
- children: pastEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Box, { height: "full", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(EventCard_default, { event: event.attributes }) }, event.id))
8771
+ children: pastEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Box, { height: "full", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventCard_default, { event: event.attributes }) }, event.id))
8599
8772
  }
8600
8773
  )
8601
8774
  ),
8602
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_boemly57.Flex, { justifyContent: "center", children: !isLoadingPast && canLoadMorePast && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8603
- import_boemly57.Button,
8775
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_boemly60.Flex, { justifyContent: "center", children: !isLoadingPast && canLoadMorePast && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8776
+ import_boemly60.Button,
8604
8777
  {
8605
8778
  mb: "20",
8606
8779
  onClick: () => {
@@ -8618,9 +8791,69 @@ var Events = ({ slice }) => {
8618
8791
  // src/slices/Events/index.ts
8619
8792
  var Events_default = Events;
8620
8793
 
8794
+ // src/slices/HeroWithHighlights/HeroWithHighlights.tsx
8795
+ var import_boemly61 = require("boemly");
8796
+ var import_jsx_runtime60 = require("react/jsx-runtime");
8797
+ var parseTitle = (title) => {
8798
+ const parts = [];
8799
+ const regex = /\[([^\]]+)\]|([^[\]]+)/g;
8800
+ for (const match of title.matchAll(regex)) {
8801
+ if (match[1]) parts.push({ text: match[1], highlighted: true });
8802
+ if (match[2]) parts.push({ text: match[2], highlighted: false });
8803
+ }
8804
+ return parts;
8805
+ };
8806
+ var VARIANTS6 = {
8807
+ white: { backgroundColor: "white", titleColor: "black" },
8808
+ gray: { backgroundColor: "primary.50", titleColor: "black" }
8809
+ };
8810
+ var HeroWithHighlights = ({
8811
+ slice
8812
+ }) => {
8813
+ const parts = parseTitle(slice.title);
8814
+ const variant = slice.variant || "white";
8815
+ const textAlign = slice.textAlign || "left";
8816
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8817
+ import_boemly61.DefaultSectionContainer,
8818
+ {
8819
+ backgroundColor: VARIANTS6[variant].backgroundColor,
8820
+ paddingY: ["10", null, "16"],
8821
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_boemly61.Wrapper, { children: [
8822
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8823
+ import_boemly61.Heading,
8824
+ {
8825
+ as: slice.headingLevel || "h1",
8826
+ size: [slice.headingSize || "3xl"],
8827
+ color: VARIANTS6[variant].titleColor,
8828
+ lineHeight: "1.3",
8829
+ fontWeight: "600",
8830
+ textAlign,
8831
+ children: parts.map(
8832
+ (part, i) => part.highlighted ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_boemly61.Box, { as: "span", px: "2", backgroundColor: "primary.500", children: part.text }, i) : part.text
8833
+ )
8834
+ }
8835
+ ),
8836
+ slice.subTitle && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8837
+ import_boemly61.Text,
8838
+ {
8839
+ size: "lgRegularNormal",
8840
+ color: "gray.500",
8841
+ mt: "4",
8842
+ textAlign,
8843
+ children: slice.subTitle
8844
+ }
8845
+ )
8846
+ ] })
8847
+ }
8848
+ );
8849
+ };
8850
+
8851
+ // src/slices/HeroWithHighlights/index.ts
8852
+ var HeroWithHighlights_default = HeroWithHighlights;
8853
+
8621
8854
  // src/slices/Redirect/Redirect.tsx
8622
8855
  var import_router9 = require("next/router");
8623
- var import_react57 = require("react");
8856
+ var import_react62 = require("react");
8624
8857
 
8625
8858
  // src/utils/buildRedirectUrl.ts
8626
8859
  function buildRedirectUrl(url, asPath, query) {
@@ -8640,10 +8873,10 @@ function buildRedirectUrl(url, asPath, query) {
8640
8873
  }
8641
8874
 
8642
8875
  // src/slices/Redirect/Redirect.tsx
8643
- var import_jsx_runtime57 = require("react/jsx-runtime");
8876
+ var import_jsx_runtime61 = require("react/jsx-runtime");
8644
8877
  var Redirect = ({ slice }) => {
8645
8878
  const router = (0, import_router9.useRouter)();
8646
- (0, import_react57.useEffect)(() => {
8879
+ (0, import_react62.useEffect)(() => {
8647
8880
  if (!slice.url) return;
8648
8881
  const redirectUrl = buildRedirectUrl(
8649
8882
  slice.url,
@@ -8652,14 +8885,14 @@ var Redirect = ({ slice }) => {
8652
8885
  );
8653
8886
  router.replace(redirectUrl);
8654
8887
  }, [slice.url, router]);
8655
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, {});
8888
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_jsx_runtime61.Fragment, {});
8656
8889
  };
8657
8890
 
8658
8891
  // src/slices/Redirect/index.ts
8659
8892
  var Redirect_default = Redirect;
8660
8893
 
8661
8894
  // src/components/SliceRenderer/SliceRenderer.tsx
8662
- var import_jsx_runtime58 = require("react/jsx-runtime");
8895
+ var import_jsx_runtime62 = require("react/jsx-runtime");
8663
8896
  var SliceRenderer = ({
8664
8897
  slices,
8665
8898
  blogPosts,
@@ -8670,7 +8903,7 @@ var SliceRenderer = ({
8670
8903
  fonts,
8671
8904
  CustomSlice,
8672
8905
  analyticsFunction
8673
- }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8906
+ }) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8674
8907
  ContextProvider,
8675
8908
  {
8676
8909
  locale,
@@ -8680,11 +8913,11 @@ var SliceRenderer = ({
8680
8913
  children: slices.map((slice) => {
8681
8914
  switch (slice.__component) {
8682
8915
  case "sections.hero":
8683
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Hero_default, { slice }, `${slice.__component}-${slice.id}`);
8916
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Hero_default, { slice }, `${slice.__component}-${slice.id}`);
8684
8917
  case "sections.map-hero":
8685
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MapHero_default, { slice }, `${slice.__component}-${slice.id}`);
8918
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(MapHero_default, { slice }, `${slice.__component}-${slice.id}`);
8686
8919
  case "sections.rich-text":
8687
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8920
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8688
8921
  RichTextSection_default,
8689
8922
  {
8690
8923
  slice
@@ -8692,7 +8925,7 @@ var SliceRenderer = ({
8692
8925
  `${slice.__component}-${slice.id}`
8693
8926
  );
8694
8927
  case "sections.left-text-right-card":
8695
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8928
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8696
8929
  LeftTextRightCard_default,
8697
8930
  {
8698
8931
  slice
@@ -8700,7 +8933,7 @@ var SliceRenderer = ({
8700
8933
  `${slice.__component}-${slice.id}`
8701
8934
  );
8702
8935
  case "sections.text-with-card":
8703
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8936
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8704
8937
  TextWithCard_default,
8705
8938
  {
8706
8939
  slice,
@@ -8709,7 +8942,7 @@ var SliceRenderer = ({
8709
8942
  `${slice.__component}-${slice.id}`
8710
8943
  );
8711
8944
  case "sections.logo-grid-with-text":
8712
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8945
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8713
8946
  LogoGridWithText_default,
8714
8947
  {
8715
8948
  slice
@@ -8717,7 +8950,7 @@ var SliceRenderer = ({
8717
8950
  `${slice.__component}-${slice.id}`
8718
8951
  );
8719
8952
  case "sections.quote-cards":
8720
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8953
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8721
8954
  QuoteCards_default,
8722
8955
  {
8723
8956
  slice
@@ -8725,11 +8958,11 @@ var SliceRenderer = ({
8725
8958
  `${slice.__component}-${slice.id}`
8726
8959
  );
8727
8960
  case "sections.q-and-a":
8728
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(QAndA_default, { slice }, `${slice.__component}-${slice.id}`);
8961
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(QAndA_default, { slice }, `${slice.__component}-${slice.id}`);
8729
8962
  case "sections.image-grid":
8730
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ImageGrid_default, { slice }, `${slice.__component}-${slice.id}`);
8963
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ImageGrid_default, { slice }, `${slice.__component}-${slice.id}`);
8731
8964
  case "sections.full-width-image":
8732
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8965
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8733
8966
  FullWidthImage_default,
8734
8967
  {
8735
8968
  slice
@@ -8737,7 +8970,7 @@ var SliceRenderer = ({
8737
8970
  `${slice.__component}-${slice.id}`
8738
8971
  );
8739
8972
  case "sections.text-with-text-cards":
8740
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8973
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8741
8974
  TextWithTextCards_default,
8742
8975
  {
8743
8976
  slice
@@ -8745,7 +8978,7 @@ var SliceRenderer = ({
8745
8978
  `${slice.__component}-${slice.id}`
8746
8979
  );
8747
8980
  case "sections.text-card-grid":
8748
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8981
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8749
8982
  TextCardGrid_default,
8750
8983
  {
8751
8984
  slice
@@ -8753,9 +8986,9 @@ var SliceRenderer = ({
8753
8986
  `${slice.__component}-${slice.id}`
8754
8987
  );
8755
8988
  case "sections.icon-grid":
8756
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(IconGrid_default, { slice }, `${slice.__component}-${slice.id}`);
8989
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(IconGrid_default, { slice }, `${slice.__component}-${slice.id}`);
8757
8990
  case "sections.image-text-sequence":
8758
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8991
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8759
8992
  ImageTextSequence_default,
8760
8993
  {
8761
8994
  slice
@@ -8763,9 +8996,9 @@ var SliceRenderer = ({
8763
8996
  `${slice.__component}-${slice.id}`
8764
8997
  );
8765
8998
  case "sections.steps":
8766
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Steps_default, { slice }, `${slice.__component}-${slice.id}`);
8999
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Steps_default, { slice }, `${slice.__component}-${slice.id}`);
8767
9000
  case "sections.text-carousel":
8768
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9001
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8769
9002
  TextCarousel_default,
8770
9003
  {
8771
9004
  slice
@@ -8773,7 +9006,7 @@ var SliceRenderer = ({
8773
9006
  `${slice.__component}-${slice.id}`
8774
9007
  );
8775
9008
  case "sections.link-cards-grid":
8776
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9009
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8777
9010
  LinkCardsGrid_default,
8778
9011
  {
8779
9012
  slice
@@ -8781,7 +9014,7 @@ var SliceRenderer = ({
8781
9014
  `${slice.__component}-${slice.id}`
8782
9015
  );
8783
9016
  case "sections.small-hero":
8784
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9017
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8785
9018
  SmallHero_default,
8786
9019
  {
8787
9020
  slice,
@@ -8790,7 +9023,7 @@ var SliceRenderer = ({
8790
9023
  `${slice.__component}-${slice.id}`
8791
9024
  );
8792
9025
  case "sections.small-hero-light":
8793
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9026
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8794
9027
  SmallHero_default,
8795
9028
  {
8796
9029
  slice,
@@ -8799,7 +9032,7 @@ var SliceRenderer = ({
8799
9032
  `${slice.__component}-${slice.id}`
8800
9033
  );
8801
9034
  case "sections.project-facts":
8802
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9035
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8803
9036
  ProjectFacts_default,
8804
9037
  {
8805
9038
  slice,
@@ -8808,7 +9041,7 @@ var SliceRenderer = ({
8808
9041
  `${slice.__component}-${slice.id}`
8809
9042
  );
8810
9043
  case "sections.projects-grid":
8811
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9044
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8812
9045
  ProjectsGrid_default,
8813
9046
  {
8814
9047
  slice,
@@ -8816,8 +9049,17 @@ var SliceRenderer = ({
8816
9049
  },
8817
9050
  `${slice.__component}-${slice.id}`
8818
9051
  );
9052
+ case "sections.projects-grid-v2":
9053
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9054
+ ProjectsGridV2_default,
9055
+ {
9056
+ slice,
9057
+ projects
9058
+ },
9059
+ `${slice.__component}-${slice.id}`
9060
+ );
8819
9061
  case "sections.projects-map":
8820
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9062
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8821
9063
  ProjectsMap_default,
8822
9064
  {
8823
9065
  slice
@@ -8825,9 +9067,9 @@ var SliceRenderer = ({
8825
9067
  `${slice.__component}-${slice.id}`
8826
9068
  );
8827
9069
  case "sections.video":
8828
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Video_default, { slice }, `${slice.__component}-${slice.id}`);
9070
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Video_default, { slice }, `${slice.__component}-${slice.id}`);
8829
9071
  case "sections.full-width-highlight-quote":
8830
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9072
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8831
9073
  FullWidthHighlightQuote_default,
8832
9074
  {
8833
9075
  slice
@@ -8835,7 +9077,7 @@ var SliceRenderer = ({
8835
9077
  `${slice.__component}-${slice.id}`
8836
9078
  );
8837
9079
  case "sections.full-width-image-slider":
8838
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9080
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8839
9081
  FullWidthImageSlider_default,
8840
9082
  {
8841
9083
  slice
@@ -8843,7 +9085,7 @@ var SliceRenderer = ({
8843
9085
  `${slice.__component}-${slice.id}`
8844
9086
  );
8845
9087
  case "sections.side-by-side-images":
8846
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9088
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8847
9089
  SideBySideImages_default,
8848
9090
  {
8849
9091
  slice
@@ -8851,11 +9093,11 @@ var SliceRenderer = ({
8851
9093
  `${slice.__component}-${slice.id}`
8852
9094
  );
8853
9095
  case "sections.cta-only":
8854
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CtaOnly_default, { slice }, `${slice.__component}-${slice.id}`);
9096
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CtaOnly_default, { slice }, `${slice.__component}-${slice.id}`);
8855
9097
  case "sections.cta":
8856
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Cta_default, { slice }, `${slice.__component}-${slice.id}`);
9098
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Cta_default, { slice }, `${slice.__component}-${slice.id}`);
8857
9099
  case "sections.shop-checkout":
8858
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9100
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8859
9101
  ShopCheckout_default,
8860
9102
  {
8861
9103
  slice
@@ -8863,9 +9105,9 @@ var SliceRenderer = ({
8863
9105
  `${slice.__component}-${slice.id}`
8864
9106
  );
8865
9107
  case "sections.facts":
8866
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Facts_default, { slice }, `${slice.__component}-${slice.id}`);
9108
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Facts_default, { slice }, `${slice.__component}-${slice.id}`);
8867
9109
  case "sections.blog-cards":
8868
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9110
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8869
9111
  BlogCards_default,
8870
9112
  {
8871
9113
  slice,
@@ -8874,7 +9116,7 @@ var SliceRenderer = ({
8874
9116
  `${slice.__component}-${slice.id}`
8875
9117
  );
8876
9118
  case "sections.blog":
8877
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9119
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8878
9120
  Blog_default,
8879
9121
  {
8880
9122
  slice: {
@@ -8886,7 +9128,7 @@ var SliceRenderer = ({
8886
9128
  `${slice.__component}-${slice.id}`
8887
9129
  );
8888
9130
  case "sections.glossary":
8889
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9131
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8890
9132
  Glossary_default,
8891
9133
  {
8892
9134
  slice: {
@@ -8897,7 +9139,7 @@ var SliceRenderer = ({
8897
9139
  `${slice.__component}-${slice.id}`
8898
9140
  );
8899
9141
  case "sections.customer-stories":
8900
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9142
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8901
9143
  CustomerStories_default,
8902
9144
  {
8903
9145
  slice: {
@@ -8909,7 +9151,7 @@ var SliceRenderer = ({
8909
9151
  `${slice.__component}-${slice.id}`
8910
9152
  );
8911
9153
  case "sections.comparison":
8912
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9154
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8913
9155
  Comparison_default,
8914
9156
  {
8915
9157
  slice
@@ -8917,9 +9159,9 @@ var SliceRenderer = ({
8917
9159
  `${slice.__component}-${slice.id}`
8918
9160
  );
8919
9161
  case "sections.timeline":
8920
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Timeline_default, { slice }, `${slice.__component}-${slice.id}`);
9162
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Timeline_default, { slice }, `${slice.__component}-${slice.id}`);
8921
9163
  case "sections.carousel-marquee-banner":
8922
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9164
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8923
9165
  CarouselMarqueeBanner_default,
8924
9166
  {
8925
9167
  slice
@@ -8927,12 +9169,20 @@ var SliceRenderer = ({
8927
9169
  `${slice.__component}-${slice.id}`
8928
9170
  );
8929
9171
  case "sections.events":
8930
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Events_default, { slice }, `${slice.__component}-${slice.id}`);
9172
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Events_default, { slice }, `${slice.__component}-${slice.id}`);
8931
9173
  case "sections.redirect":
8932
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Redirect_default, { slice }, `${slice.__component}-${slice.id}`);
9174
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Redirect_default, { slice }, `${slice.__component}-${slice.id}`);
9175
+ case "sections.hero-with-highlights":
9176
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9177
+ HeroWithHighlights_default,
9178
+ {
9179
+ slice
9180
+ },
9181
+ `${slice.__component}-${slice.id}`
9182
+ );
8933
9183
  default:
8934
9184
  if (CustomSlice) {
8935
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
9185
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
8936
9186
  CustomSlice,
8937
9187
  {
8938
9188
  id: slice.__component,
@@ -8941,7 +9191,7 @@ var SliceRenderer = ({
8941
9191
  `${slice.__component}-${slice.id}`
8942
9192
  );
8943
9193
  }
8944
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { children: "Slice component not supported" }, `${slice.__component}-${slice.id}`);
9194
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { children: "Slice component not supported" }, `${slice.__component}-${slice.id}`);
8945
9195
  }
8946
9196
  })
8947
9197
  }