@dcodegroup-au/page-builder 0.7.6 → 0.7.8

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.
@@ -446,7 +446,7 @@ const _hoisted_6$r = { class: "flex flex-col gap-3" };
446
446
  const _hoisted_7$q = { class: "flex justify-between" };
447
447
  const _hoisted_8$o = { class: "flex flex-col gap-1" };
448
448
  const _hoisted_9$n = { class: "font-semibold text-gray-900" };
449
- const _hoisted_10$i = { class: "text-sm text-gray-600" };
449
+ const _hoisted_10$j = { class: "text-sm text-gray-600" };
450
450
  const _hoisted_11$g = ["disabled"];
451
451
  const _hoisted_12$d = { class: "flex flex-col gap-3" };
452
452
  const _hoisted_13$b = ["onClick"];
@@ -512,7 +512,7 @@ const _sfc_main$Q = {
512
512
  createElementVNode("div", _hoisted_7$q, [
513
513
  createElementVNode("div", _hoisted_8$o, [
514
514
  createElementVNode("div", _hoisted_9$n, toDisplayString(unref(parseName)(unref(type))), 1),
515
- createElementVNode("div", _hoisted_10$i, "This " + toDisplayString(unref(singularize)(unref(type))) + " can contain up to " + toDisplayString(dataRef.value.max_items) + " " + toDisplayString(unref(parseName)(unref(type), false)), 1)
515
+ createElementVNode("div", _hoisted_10$j, "This " + toDisplayString(unref(singularize)(unref(type))) + " can contain up to " + toDisplayString(dataRef.value.max_items) + " " + toDisplayString(unref(parseName)(unref(type), false)), 1)
516
516
  ]),
517
517
  createElementVNode("div", null, [
518
518
  createElementVNode("button", {
@@ -11699,7 +11699,7 @@ const _hoisted_6$q = {
11699
11699
  const _hoisted_7$p = { class: "file-upload-preview" };
11700
11700
  const _hoisted_8$n = ["src", "title"];
11701
11701
  const _hoisted_9$m = ["href"];
11702
- const _hoisted_10$h = { class: "file-upload-title" };
11702
+ const _hoisted_10$i = { class: "file-upload-title" };
11703
11703
  const _hoisted_11$f = { class: "file-upload-file-remove" };
11704
11704
  const _hoisted_12$c = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" };
11705
11705
  const _sfc_main$O = {
@@ -11805,7 +11805,7 @@ const _sfc_main$O = {
11805
11805
  target: "_blank",
11806
11806
  class: "link"
11807
11807
  }, [
11808
- createElementVNode("div", _hoisted_10$h, toDisplayString(file.value.file_name), 1)
11808
+ createElementVNode("div", _hoisted_10$i, toDisplayString(file.value.file_name), 1)
11809
11809
  ], 8, _hoisted_9$m),
11810
11810
  createElementVNode("a", _hoisted_11$f, [
11811
11811
  createElementVNode("i", {
@@ -33924,7 +33924,7 @@ const _hoisted_6$o = { class: "text-sm font-medium text-gray-900" };
33924
33924
  const _hoisted_7$n = { key: 0 };
33925
33925
  const _hoisted_8$l = { key: 1 };
33926
33926
  const _hoisted_9$l = { key: 2 };
33927
- const _hoisted_10$g = { class: "flex max-h-[196px] flex-wrap gap-1.5 overflow-y-auto" };
33927
+ const _hoisted_10$h = { class: "flex max-h-[196px] flex-wrap gap-1.5 overflow-y-auto" };
33928
33928
  const __default__ = {
33929
33929
  directives: {
33930
33930
  clickOutside: useClickOutside
@@ -34004,7 +34004,7 @@ const _sfc_main$G = /* @__PURE__ */ Object.assign(__default__, {
34004
34004
  createElementVNode("p", _hoisted_6$o, [
34005
34005
  icons2.value.length > 0 && search.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$n, " Search result ")) : icons2.value.length < 1 && search.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$l, " No search result ")) : search.value.length < 1 && icons2.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_9$l, " Frequently used icons ")) : createCommentVNode("", true)
34006
34006
  ]),
34007
- createElementVNode("div", _hoisted_10$g, [
34007
+ createElementVNode("div", _hoisted_10$h, [
34008
34008
  (openBlock(true), createElementBlock(Fragment, null, renderList(icons2.value, (icon) => {
34009
34009
  return openBlock(), createBlock(_sfc_main$H, {
34010
34010
  class: "cursor-pointer rounded p-1 hover:bg-gray-100",
@@ -45222,7 +45222,7 @@ const _hoisted_6$n = { class: "text-sm text-gray-600 mt-1" };
45222
45222
  const _hoisted_7$m = { class: "flex flex-col gap-3" };
45223
45223
  const _hoisted_8$k = { class: "flex items-center justify-between" };
45224
45224
  const _hoisted_9$k = { class: "text-lg font-semibold text-gray-900" };
45225
- const _hoisted_10$f = { class: "relative flex items-end" };
45225
+ const _hoisted_10$g = { class: "relative flex items-end" };
45226
45226
  const _hoisted_11$e = { class: "flex flex-col gap-6" };
45227
45227
  const _hoisted_12$b = {
45228
45228
  key: 0,
@@ -45357,7 +45357,7 @@ const _sfc_main$C = {
45357
45357
  }, [
45358
45358
  createElementVNode("div", _hoisted_8$k, [
45359
45359
  createElementVNode("div", _hoisted_9$k, " Item #" + toDisplayString(index + 1), 1),
45360
- createElementVNode("div", _hoisted_10$f, [
45360
+ createElementVNode("div", _hoisted_10$g, [
45361
45361
  createVNode(_sfc_main$S, {
45362
45362
  onRemoveItem: ($event) => handleDeleteItem(index)
45363
45363
  }, null, 8, ["onRemoveItem"])
@@ -45477,7 +45477,7 @@ const _hoisted_6$m = { class: "flex flex-col gap-3" };
45477
45477
  const _hoisted_7$l = { class: "flex items-center justify-between" };
45478
45478
  const _hoisted_8$j = { class: "text-lg font-semibold text-gray-900" };
45479
45479
  const _hoisted_9$j = { class: "relative flex items-end" };
45480
- const _hoisted_10$e = { class: "flex flex-col gap-6" };
45480
+ const _hoisted_10$f = { class: "flex flex-col gap-6" };
45481
45481
  const _hoisted_11$d = { class: "flex flex-col gap-1.5" };
45482
45482
  const _hoisted_12$a = ["onUpdate:modelValue"];
45483
45483
  const _sfc_main$B = {
@@ -45560,7 +45560,7 @@ const _sfc_main$B = {
45560
45560
  }, null, 8, ["onRemoveItem"])
45561
45561
  ])
45562
45562
  ]),
45563
- createElementVNode("div", _hoisted_10$e, [
45563
+ createElementVNode("div", _hoisted_10$f, [
45564
45564
  createElementVNode("div", _hoisted_11$d, [
45565
45565
  createVNode(unref(VFileUpload), {
45566
45566
  name: "image",
@@ -45765,7 +45765,7 @@ const _hoisted_6$k = { class: "flex flex-col gap-3" };
45765
45765
  const _hoisted_7$j = { class: "flex items-center justify-between" };
45766
45766
  const _hoisted_8$i = { class: "text-lg font-semibold text-gray-900" };
45767
45767
  const _hoisted_9$i = { class: "relative flex items-end" };
45768
- const _hoisted_10$d = { class: "flex flex-col gap-6" };
45768
+ const _hoisted_10$e = { class: "flex flex-col gap-6" };
45769
45769
  const _hoisted_11$c = { class: "flex flex-col gap-1.5" };
45770
45770
  const _sfc_main$y = {
45771
45771
  __name: "VideoGrid",
@@ -45841,7 +45841,7 @@ const _sfc_main$y = {
45841
45841
  }, null, 8, ["onRemoveItem"])
45842
45842
  ])
45843
45843
  ]),
45844
- createElementVNode("div", _hoisted_10$d, [
45844
+ createElementVNode("div", _hoisted_10$e, [
45845
45845
  createElementVNode("div", _hoisted_11$c, [
45846
45846
  createVNode(unref(VFileUpload), {
45847
45847
  name: "image",
@@ -46162,7 +46162,7 @@ const _hoisted_9$h = {
46162
46162
  key: 0,
46163
46163
  class: "flex flex-col gap-2"
46164
46164
  };
46165
- const _hoisted_10$c = ["onClick"];
46165
+ const _hoisted_10$d = ["onClick"];
46166
46166
  const _hoisted_11$b = { class: "flex flex-col" };
46167
46167
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46168
46168
  const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
@@ -46305,7 +46305,7 @@ const _sfc_main$t = {
46305
46305
  createElementVNode("div", _hoisted_13$9, [
46306
46306
  createVNode(unref(ChevronRight), { class: "h-5 w-5" })
46307
46307
  ])
46308
- ], 10, _hoisted_10$c);
46308
+ ], 10, _hoisted_10$d);
46309
46309
  }), 256))
46310
46310
  ])) : createCommentVNode("", true)
46311
46311
  ]);
@@ -46573,17 +46573,17 @@ function getScaleMultipliers(transformElements) {
46573
46573
  });
46574
46574
  return { widthMultiplier, heightMultiplier };
46575
46575
  }
46576
- function getSnapAlignOffsetByItemsToShow(align, itemsToShow2) {
46576
+ function getSnapAlignOffsetByItemsToShow(align, itemsToShow) {
46577
46577
  switch (align) {
46578
46578
  case "start":
46579
46579
  return 0;
46580
46580
  case "center":
46581
46581
  case "center-odd":
46582
- return (itemsToShow2 - 1) / 2;
46582
+ return (itemsToShow - 1) / 2;
46583
46583
  case "center-even":
46584
- return (itemsToShow2 - 2) / 2;
46584
+ return (itemsToShow - 2) / 2;
46585
46585
  case "end":
46586
- return itemsToShow2 - 1;
46586
+ return itemsToShow - 1;
46587
46587
  default:
46588
46588
  return 0;
46589
46589
  }
@@ -46603,9 +46603,9 @@ function getSnapAlignOffsetBySlideAndViewport(align, slideSize, viewportSize) {
46603
46603
  return 0;
46604
46604
  }
46605
46605
  }
46606
- function getSnapAlignOffset({ slideSize, viewportSize, align, itemsToShow: itemsToShow2 }) {
46607
- if (itemsToShow2 !== void 0) {
46608
- return getSnapAlignOffsetByItemsToShow(align, itemsToShow2);
46606
+ function getSnapAlignOffset({ slideSize, viewportSize, align, itemsToShow }) {
46607
+ if (itemsToShow !== void 0) {
46608
+ return getSnapAlignOffsetByItemsToShow(align, itemsToShow);
46609
46609
  }
46610
46610
  if (slideSize !== void 0 && viewportSize !== void 0) {
46611
46611
  return getSnapAlignOffsetBySlideAndViewport(align, slideSize, viewportSize);
@@ -47031,9 +47031,9 @@ const Carousel = defineComponent({
47031
47031
  if (isAuto.value) {
47032
47032
  slideSize.value = calculateAverage(slidesRect.value.map((slide) => slide[dimension.value]));
47033
47033
  } else {
47034
- const itemsToShow2 = Number(config2.itemsToShow);
47035
- const totalGap = (itemsToShow2 - 1) * config2.gap;
47036
- slideSize.value = (viewportRect.value[dimension.value] - totalGap) / itemsToShow2;
47034
+ const itemsToShow = Number(config2.itemsToShow);
47035
+ const totalGap = (itemsToShow - 1) * config2.gap;
47036
+ slideSize.value = (viewportRect.value[dimension.value] - totalGap) / itemsToShow;
47037
47037
  }
47038
47038
  }
47039
47039
  function updateSlidesData() {
@@ -47315,8 +47315,8 @@ const Carousel = defineComponent({
47315
47315
  if (isAuto.value) {
47316
47316
  return { before: slides.length, after: slides.length };
47317
47317
  }
47318
- const itemsToShow2 = Number(config2.itemsToShow);
47319
- const slidesToClone = Math.ceil(itemsToShow2 + (config2.itemsToScroll - 1));
47318
+ const itemsToShow = Number(config2.itemsToShow);
47319
+ const slidesToClone = Math.ceil(itemsToShow + (config2.itemsToScroll - 1));
47320
47320
  const before = slidesToClone - activeSlideIndex.value;
47321
47321
  const after = slidesToClone - (slidesCount.value - (activeSlideIndex.value + 1));
47322
47322
  return {
@@ -47678,14 +47678,14 @@ defineComponent({
47678
47678
  },
47679
47679
  setup(props) {
47680
47680
  let carousel = inject(injectCarousel, null);
47681
- const itemsToShow2 = computed(() => carousel.config.itemsToShow);
47681
+ const itemsToShow = computed(() => carousel.config.itemsToShow);
47682
47682
  const offset = computed(() => getSnapAlignOffset({
47683
47683
  align: carousel.config.snapAlign,
47684
- itemsToShow: itemsToShow2.value
47684
+ itemsToShow: itemsToShow.value
47685
47685
  }));
47686
- const isPaginated = computed(() => props.paginateByItemsToShow && itemsToShow2.value > 1);
47687
- const currentPage = computed(() => Math.ceil((carousel.activeSlide - offset.value) / itemsToShow2.value));
47688
- const pageCount = computed(() => Math.ceil(carousel.slidesCount / itemsToShow2.value));
47686
+ const isPaginated = computed(() => props.paginateByItemsToShow && itemsToShow.value > 1);
47687
+ const currentPage = computed(() => Math.ceil((carousel.activeSlide - offset.value) / itemsToShow.value));
47688
+ const pageCount = computed(() => Math.ceil(carousel.slidesCount / itemsToShow.value));
47689
47689
  const isActive = (slide) => mapNumberToRange(isPaginated.value ? {
47690
47690
  val: currentPage.value,
47691
47691
  max: pageCount.value - 1,
@@ -47774,8 +47774,8 @@ const Slide = defineComponent({
47774
47774
  if (carousel.config.itemsToShow === "auto") {
47775
47775
  return;
47776
47776
  }
47777
- const itemsToShow2 = carousel.config.itemsToShow;
47778
- const dimension = carousel.config.gap > 0 && itemsToShow2 > 1 ? `calc(${100 / itemsToShow2}% - ${carousel.config.gap * (itemsToShow2 - 1) / itemsToShow2}px)` : `${100 / itemsToShow2}%`;
47777
+ const itemsToShow = carousel.config.itemsToShow;
47778
+ const dimension = carousel.config.gap > 0 && itemsToShow > 1 ? `calc(${100 / itemsToShow}% - ${carousel.config.gap * (itemsToShow - 1) / itemsToShow}px)` : `${100 / itemsToShow}%`;
47779
47779
  return carousel.isVertical ? { height: dimension } : { width: dimension };
47780
47780
  });
47781
47781
  carousel.slideRegistry.registerSlide(instance, props.index);
@@ -47835,7 +47835,7 @@ const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-whi
47835
47835
  const _hoisted_7$h = { class: "max-md:flex-1" };
47836
47836
  const _hoisted_8$g = ["innerHTML"];
47837
47837
  const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
47838
- const _hoisted_10$b = ["href", "target"];
47838
+ const _hoisted_10$c = ["href", "target"];
47839
47839
  const _hoisted_11$a = ["href", "target"];
47840
47840
  const _hoisted_12$8 = ["src"];
47841
47841
  const _hoisted_13$8 = {
@@ -47895,7 +47895,7 @@ const _sfc_main$s = {
47895
47895
  target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
47896
47896
  }, [
47897
47897
  createElementVNode("span", null, toDisplayString(slide.secondary_button.label), 1)
47898
- ], 8, _hoisted_10$b)) : createCommentVNode("", true),
47898
+ ], 8, _hoisted_10$c)) : createCommentVNode("", true),
47899
47899
  slide.primary_button.show ? (openBlock(), createElementBlock("a", {
47900
47900
  key: 1,
47901
47901
  class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
@@ -48014,15 +48014,15 @@ const _sfc_main$p = {
48014
48014
  return (_ctx, _cache) => {
48015
48015
  var _a, _b, _c, _d, _e, _f, _g;
48016
48016
  return openBlock(), createElementBlock("div", {
48017
- class: normalizeClass(["flex flex-col sm:px-0 px-4", { "items-center": (_a = component.value) == null ? void 0 : _a.center }])
48017
+ class: normalizeClass(["flex flex-col gap-4", { "items-center": (_a = component.value) == null ? void 0 : _a.center }])
48018
48018
  }, [
48019
48019
  ((_b = component.value) == null ? void 0 : _b.title) ? (openBlock(), createElementBlock("p", {
48020
48020
  key: 0,
48021
- class: normalizeClass(["pb-4 text-4xl font-semibold text-white", { "!text-gray-900": (_c = component.value) == null ? void 0 : _c.dark }])
48021
+ class: normalizeClass(["text-2xl sm:text-3xl lg:text-4xl font-semibold text-white", { "!text-gray-900": (_c = component.value) == null ? void 0 : _c.dark }])
48022
48022
  }, toDisplayString((_d = component.value) == null ? void 0 : _d.title), 3)) : createCommentVNode("", true),
48023
48023
  ((_e = component.value) == null ? void 0 : _e.supporting_text) ? (openBlock(), createElementBlock("p", {
48024
48024
  key: 1,
48025
- class: normalizeClass(["text-navy-25 text-xl font-normal leading-[30px]", { "!text-gray-600": (_f = component.value) == null ? void 0 : _f.dark }])
48025
+ class: normalizeClass(["text-navy-25 text-sm sm:text-base lg:text-xl", { "!text-gray-600": (_f = component.value) == null ? void 0 : _f.dark }])
48026
48026
  }, toDisplayString((_g = component.value) == null ? void 0 : _g.supporting_text), 3)) : createCommentVNode("", true)
48027
48027
  ], 2);
48028
48028
  };
@@ -48118,20 +48118,21 @@ const _sfc_main$o = {
48118
48118
  };
48119
48119
  }
48120
48120
  };
48121
- const _hoisted_1$G = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" };
48122
- const _hoisted_2$k = { class: "flex-1 w-full md:w-1/2 flex flex-col" };
48121
+ const _hoisted_1$G = { class: "grid sm:grid-cols-[auto_240px] lg:grid-cols-2 justify-center gap-4 items-stretch mt-6 text-left" };
48122
+ const _hoisted_2$k = { class: "grid max-sm:grid-cols-2 gap-4" };
48123
48123
  const _hoisted_3$i = ["onClick"];
48124
- const _hoisted_4$i = { class: "py-4 pl-4 md:pl-6" };
48125
- const _hoisted_5$h = ["innerHTML"];
48126
- const _hoisted_6$h = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" };
48127
- const _hoisted_7$g = ["src"];
48128
- const _hoisted_8$f = {
48124
+ const _hoisted_4$i = { class: "sm:py-4 sm:pl-4 md:pl-6" };
48125
+ const _hoisted_5$h = ["target", "href"];
48126
+ const _hoisted_6$h = ["innerHTML"];
48127
+ const _hoisted_7$g = { class: "max-sm:hidden bg-transparent flex flex-col items-center" };
48128
+ const _hoisted_8$f = ["src"];
48129
+ const _hoisted_9$f = {
48129
48130
  key: 1,
48130
- class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
48131
+ class: "rounded-[20px] md:rounded-[40px] object-contain lg:max-h-[387px] w-full",
48131
48132
  src: _imports_0,
48132
48133
  alt: "No Image Available"
48133
48134
  };
48134
- const _hoisted_9$f = ["target", "href"];
48135
+ const _hoisted_10$b = ["target", "href"];
48135
48136
  const _sfc_main$n = {
48136
48137
  __name: "VerticalTabPresenter",
48137
48138
  props: {
@@ -48157,27 +48158,37 @@ const _sfc_main$n = {
48157
48158
  return openBlock(), createElementBlock("div", _hoisted_1$G, [
48158
48159
  createElementVNode("div", _hoisted_2$k, [
48159
48160
  (openBlock(true), createElementBlock(Fragment, null, renderList(publicTabs.value, (item) => {
48161
+ var _a, _b, _c, _d, _e, _f;
48160
48162
  return openBlock(), createElementBlock("div", {
48161
48163
  key: item.title
48162
48164
  }, [
48163
48165
  createElementVNode("div", {
48164
- class: normalizeClass(["flex-col flex gap-1.5 cursor-pointer mb-4 group", { "border-l-4 border-brand-600": selectedItem.value === item, "border-l-4 border-gray-100": selectedItem.value !== item }]),
48165
- onClick: withModifiers(($event) => selectItem(item), ["prevent"])
48166
+ class: normalizeClass(["flex-col flex gap-1.5 cursor-pointer group", { "sm:border-l-4 border-brand-600": selectedItem.value === item, "sm:border-l-4 border-navy-25": selectedItem.value !== item }]),
48167
+ onClick: ($event) => selectItem(item)
48166
48168
  }, [
48167
48169
  createElementVNode("div", _hoisted_4$i, [
48170
+ createElementVNode("div", {
48171
+ class: normalizeClass([{ "text-gray-900": selectedItem.value === item, "text-gray-600": selectedItem.value !== item }, "max-sm:text-gray-900 max-sm:bg-white max-sm:p-3 max-sm:rounded-lg max-sm:min-h-[84px] text-sm relative sm:text-lg md:text-xl font-semibold sm:mb-2 group-hover:text-gray-900 grid max-sm:grid-cols-[auto_20px] gap-2"])
48172
+ }, [
48173
+ createTextVNode(toDisplayString(item.title) + " ", 1),
48174
+ createVNode(unref(ArrowUpRight), { class: "sm:hidden" }),
48175
+ ((_b = (_a = selectedItem.value) == null ? void 0 : _a.primary_button) == null ? void 0 : _b.show) ? (openBlock(), createElementBlock("a", {
48176
+ key: 0,
48177
+ target: ((_d = (_c = selectedItem.value) == null ? void 0 : _c.primary_button) == null ? void 0 : _d.open_in_new_tab) ? "_blank" : "",
48178
+ href: ((_f = (_e = selectedItem.value) == null ? void 0 : _e.primary_button) == null ? void 0 : _f.url.startsWith("http")) ? selectedItem.value.primary_button.url : `//${selectedItem.value.primary_button.url}`,
48179
+ class: "absolute inset-0 sm:hidden z-10"
48180
+ }, null, 8, _hoisted_5$h)) : createCommentVNode("", true)
48181
+ ], 2),
48168
48182
  createElementVNode("p", {
48169
- class: normalizeClass([{ "text-gray-900": selectedItem.value === item, "text-gray-600": selectedItem.value !== item }, "text-lg md:text-xl font-semibold mb-2 group-hover:text-gray-900"])
48170
- }, toDisplayString(item.title), 3),
48171
- createElementVNode("p", {
48172
- class: normalizeClass([{ "text-gray-700": selectedItem.value === item, "text-gray-400": selectedItem.value !== item }, "text-sm md:text-md font-normal group-hover:text-gray-700"]),
48183
+ class: normalizeClass([{ "text-gray-700": selectedItem.value === item, "text-gray-400": selectedItem.value !== item }, "max-sm:hidden text-sm md:text-md font-normal group-hover:text-gray-700"]),
48173
48184
  innerHTML: item.description
48174
- }, null, 10, _hoisted_5$h)
48185
+ }, null, 10, _hoisted_6$h)
48175
48186
  ])
48176
48187
  ], 10, _hoisted_3$i)
48177
48188
  ]);
48178
48189
  }), 128))
48179
48190
  ]),
48180
- createElementVNode("div", _hoisted_6$h, [
48191
+ createElementVNode("div", _hoisted_7$g, [
48181
48192
  createVNode(Transition, {
48182
48193
  name: "fade",
48183
48194
  mode: "out-in"
@@ -48193,8 +48204,8 @@ const _sfc_main$n = {
48193
48204
  key: 0,
48194
48205
  src: selectedItem.value.featured_image,
48195
48206
  alt: "Selected Item Image",
48196
- class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full"
48197
- }, null, 8, _hoisted_7$g)) : (openBlock(), createElementBlock("img", _hoisted_8$f)),
48207
+ class: "rounded-[20px] md:rounded-[40px] object-contain lg:max-h-[387px] w-full"
48208
+ }, null, 8, _hoisted_8$f)) : (openBlock(), createElementBlock("img", _hoisted_9$f)),
48198
48209
  ((_d = (_c = selectedItem.value) == null ? void 0 : _c.primary_button) == null ? void 0 : _d.show) ? (openBlock(), createElementBlock("a", {
48199
48210
  key: 2,
48200
48211
  class: "text-sm md:text-md font-semibold text-brand-600 flex items-center gap-2 mt-4",
@@ -48203,7 +48214,7 @@ const _sfc_main$n = {
48203
48214
  }, [
48204
48215
  createTextVNode(toDisplayString(((_j = (_i = selectedItem.value) == null ? void 0 : _i.primary_button) == null ? void 0 : _j.label) ?? "N/A") + " ", 1),
48205
48216
  createVNode(unref(ArrowUpRight), { class: "w-4 h-4 md:w-5 md:h-5" })
48206
- ], 8, _hoisted_9$f)) : createCommentVNode("", true)
48217
+ ], 8, _hoisted_10$b)) : createCommentVNode("", true)
48207
48218
  ]))
48208
48219
  ];
48209
48220
  }),
@@ -48214,9 +48225,9 @@ const _sfc_main$n = {
48214
48225
  };
48215
48226
  }
48216
48227
  };
48217
- const VVerticalTabPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ef885607"]]);
48228
+ const VVerticalTabPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-85226fd9"]]);
48218
48229
  const _hoisted_1$F = { class: "pb-container" };
48219
- const _hoisted_2$j = { class: "max-md:mx-[30px] 1xl:mx-0 bg-navy-25 rounded-3xl md:rounded-[48px] p-16" };
48230
+ const _hoisted_2$j = { class: "bg-navy-25 rounded-3xl md:rounded-[48px] py-6 px-4 lg:p-16 text-center" };
48220
48231
  const _sfc_main$m = {
48221
48232
  __name: "VTabs",
48222
48233
  props: {
@@ -48443,13 +48454,12 @@ const _hoisted_10$a = {
48443
48454
  const _hoisted_11$9 = ["innerHTML"];
48444
48455
  const _hoisted_12$7 = { class: "border-t border-gray-200 mt-4 pt-[17px] flex justify-between items-center" };
48445
48456
  const _hoisted_13$7 = ["href"];
48446
- const _hoisted_14$6 = { class: "absolute top-[-65px] right-4 flex gap-4" };
48457
+ const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 md:-right-28 lg:right-4 flex gap-4" };
48447
48458
  const _hoisted_15$4 = {
48448
48459
  key: 0,
48449
- class: "flex justify-center mb-[40px]"
48460
+ class: "flex sm:justify-center mb-6 lg:mb-10"
48450
48461
  };
48451
48462
  const _hoisted_16$2 = ["href", "target"];
48452
- const itemsToShow = 4;
48453
48463
  const _sfc_main$j = {
48454
48464
  __name: "CarouselPresenter",
48455
48465
  props: {
@@ -48467,20 +48477,30 @@ const _sfc_main$j = {
48467
48477
  const VCarouselPrimaryButton = inject("VCarouselPrimaryButton", _sfc_main$k);
48468
48478
  const props = __props;
48469
48479
  const currentSlide = ref(0);
48480
+ const itemsToShow = ref(4);
48470
48481
  const slides = [...((_a = props.component.content) == null ? void 0 : _a.items) || []];
48471
48482
  const windowWidth = ref(480);
48483
+ const slideWidth = ref(480);
48472
48484
  onMounted(() => {
48473
48485
  windowWidth.value = window.innerWidth;
48486
+ adjustSlides();
48474
48487
  window.addEventListener("resize", updateWidth);
48475
48488
  });
48476
48489
  onUnmounted(() => {
48477
48490
  window.removeEventListener("resize", updateWidth);
48478
48491
  });
48492
+ const activeRightButton = computed(() => {
48493
+ return currentSlide.value <= slides.length - itemsToShow.value;
48494
+ });
48495
+ const activeLeftButton = computed(() => {
48496
+ return currentSlide.value !== 0;
48497
+ });
48479
48498
  const updateWidth = () => {
48480
48499
  windowWidth.value = window.innerWidth;
48500
+ adjustSlides();
48481
48501
  };
48482
48502
  const nextSlide = () => {
48483
- if (currentSlide.value <= slides.length - itemsToShow) {
48503
+ if (currentSlide.value <= slides.length - itemsToShow.value) {
48484
48504
  currentSlide.value++;
48485
48505
  }
48486
48506
  };
@@ -48489,12 +48509,22 @@ const _sfc_main$j = {
48489
48509
  currentSlide.value--;
48490
48510
  }
48491
48511
  };
48512
+ const adjustSlides = () => {
48513
+ if (windowWidth.value < 512) {
48514
+ itemsToShow.value = 2;
48515
+ slideWidth.value = windowWidth.value - 32;
48516
+ } else if (windowWidth.value < 1120) {
48517
+ itemsToShow.value = 2;
48518
+ } else if (windowWidth.value < 1630) {
48519
+ itemsToShow.value = 3;
48520
+ }
48521
+ };
48492
48522
  return (_ctx, _cache) => {
48493
48523
  var _a2;
48494
48524
  return openBlock(), createElementBlock("div", _hoisted_1$y, [
48495
48525
  createElementVNode("div", {
48496
48526
  class: "slider-wrapper flex transition-transform duration-500 gap-0 mb-6",
48497
- style: normalizeStyle({ transform: `translateX(-${currentSlide.value * ((windowWidth.value >= 480 ? 480 : windowWidth.value) + 24)}px)` })
48527
+ style: normalizeStyle({ transform: `translateX(-${currentSlide.value * ((windowWidth.value >= slideWidth.value ? slideWidth.value : windowWidth.value) + 24)}px)` })
48498
48528
  }, [
48499
48529
  (openBlock(), createElementBlock(Fragment, null, renderList(slides, (slide, index) => {
48500
48530
  return createElementVNode("div", {
@@ -48564,16 +48594,16 @@ const _sfc_main$j = {
48564
48594
  createElementVNode("div", _hoisted_14$6, [
48565
48595
  createElementVNode("button", {
48566
48596
  onClick: prevSlide,
48567
- class: "p-2.5 bg-white text-navy-800 rounded-full hover:opacity-100 opacity-50"
48597
+ class: normalizeClass(["p-2.5 bg-white text-navy-800 rounded-full opacity-100", { "opacity-50 pointer-events-none": !activeLeftButton.value }])
48568
48598
  }, [
48569
48599
  createVNode(unref(ChevronLeft), { class: "w-6 h-6" })
48570
- ]),
48600
+ ], 2),
48571
48601
  createElementVNode("button", {
48572
48602
  onClick: nextSlide,
48573
- class: "p-2.5 bg-white text-navy-800 rounded-full hover:opacity-100 opacity-50"
48603
+ class: normalizeClass(["p-2.5 bg-white text-navy-800 rounded-full opacity-100", { "opacity-50 pointer-events-auto": !activeRightButton.value }])
48574
48604
  }, [
48575
48605
  createVNode(unref(ChevronRight), { class: "w-6 h-6" })
48576
- ])
48606
+ ], 2)
48577
48607
  ]),
48578
48608
  ((_a2 = __props.component) == null ? void 0 : _a2.button) ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
48579
48609
  createElementVNode("a", {
@@ -48590,7 +48620,7 @@ const _sfc_main$j = {
48590
48620
  }
48591
48621
  };
48592
48622
  const _hoisted_1$x = { class: "pb-container" };
48593
- const _hoisted_2$g = { class: "max-md:mx-[30px] 1xl:mx-0 rounded-3xl md:rounded-[48px] pt-[40px]" };
48623
+ const _hoisted_2$g = { class: "rounded-3xl lg:rounded-[48px] pt-6 lg:pt-10 sm:pr-28 md:pr-0" };
48594
48624
  const _sfc_main$i = {
48595
48625
  __name: "CollectionCarousel",
48596
48626
  props: {
@@ -48611,7 +48641,7 @@ const _sfc_main$i = {
48611
48641
  return (_ctx, _cache) => {
48612
48642
  var _a, _b, _c, _d;
48613
48643
  return openBlock(), createElementBlock("div", {
48614
- class: normalizeClass(["overflow-hidden", { "rounded-br-[48px] rounded-tl-[48px] bg-aqua-100": (_a = section.value) == null ? void 0 : _a.has_background }])
48644
+ class: normalizeClass(["overflow-hidden", { "rounded-br-3xl lg:rounded-br-[48px] rounded-tl-3xl lg:rounded-tl-[48px] bg-aqua-100": (_a = section.value) == null ? void 0 : _a.has_background }])
48615
48645
  }, [
48616
48646
  createElementVNode("div", _hoisted_1$x, [
48617
48647
  createElementVNode("div", _hoisted_2$g, [
@@ -48928,7 +48958,7 @@ const _sfc_main$f = {
48928
48958
  const _hoisted_1$r = { class: "overflow-hidden mt-4" };
48929
48959
  const _hoisted_2$d = {
48930
48960
  key: 0,
48931
- class: "text-[36px] text-gray-900 font-semibold"
48961
+ class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900"
48932
48962
  };
48933
48963
  const _hoisted_3$d = { class: "all-unset ql-editor" };
48934
48964
  const _hoisted_4$d = ["innerHTML"];
@@ -49057,7 +49087,7 @@ const _hoisted_8$b = {
49057
49087
  key: 1,
49058
49088
  class: "my-[44px]"
49059
49089
  };
49060
- const _hoisted_9$b = { class: "text-[36px] text-gray-900 font-semibold" };
49090
+ const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49061
49091
  const _hoisted_10$8 = ["innerHTML"];
49062
49092
  const _hoisted_11$7 = {
49063
49093
  key: 0,
@@ -49218,7 +49248,7 @@ const _hoisted_3$b = {
49218
49248
  key: 0,
49219
49249
  class: "rounded-xl px-[40px] text-center mb-1 max-w-[1280px] mx-auto"
49220
49250
  };
49221
- const _hoisted_4$b = { class: "text-[36px] text-gray-900 font-semibold" };
49251
+ const _hoisted_4$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49222
49252
  const _hoisted_5$b = ["innerHTML"];
49223
49253
  const _hoisted_6$b = { key: 1 };
49224
49254
  const _hoisted_7$b = { class: "mt-4" };
@@ -49306,7 +49336,7 @@ const _hoisted_2$a = {
49306
49336
  key: 0,
49307
49337
  class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
49308
49338
  };
49309
- const _hoisted_3$a = { class: "text-[36px] text-gray-900 font-semibold" };
49339
+ const _hoisted_3$a = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49310
49340
  const _hoisted_4$a = ["innerHTML"];
49311
49341
  const _hoisted_5$a = ["src"];
49312
49342
  const _hoisted_6$a = {
@@ -49411,7 +49441,7 @@ const _sfc_main$b = {
49411
49441
  };
49412
49442
  }
49413
49443
  };
49414
- const LinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a7422ac9"]]);
49444
+ const LinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-af7a1782"]]);
49415
49445
  const _hoisted_1$n = {
49416
49446
  xmlns: "http://www.w3.org/2000/svg",
49417
49447
  fill: "none",
@@ -49435,7 +49465,7 @@ const _hoisted_3$9 = {
49435
49465
  key: 0,
49436
49466
  class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
49437
49467
  };
49438
- const _hoisted_4$9 = { class: "text-[36px] text-gray-900 font-semibold" };
49468
+ const _hoisted_4$9 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49439
49469
  const _hoisted_5$9 = ["innerHTML"];
49440
49470
  const _hoisted_6$9 = ["src"];
49441
49471
  const _hoisted_7$9 = {
@@ -49536,7 +49566,7 @@ const _hoisted_3$8 = {
49536
49566
  key: 0,
49537
49567
  class: "w-[48px] h-[48px] bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49538
49568
  };
49539
- const _hoisted_4$8 = { class: "text-[36px] text-gray-900 font-semibold" };
49569
+ const _hoisted_4$8 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49540
49570
  const _hoisted_5$8 = ["innerHTML"];
49541
49571
  const _hoisted_6$8 = ["textContent"];
49542
49572
  const _hoisted_7$8 = { class: "flex" };
@@ -49885,7 +49915,7 @@ const _hoisted_2$5 = {
49885
49915
  key: 0,
49886
49916
  class: "px-[40px] text-center mb-6 mx-auto"
49887
49917
  };
49888
- const _hoisted_3$5 = { class: "text-[36px] text-gray-900 font-semibold" };
49918
+ const _hoisted_3$5 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49889
49919
  const _hoisted_4$5 = ["innerHTML"];
49890
49920
  const _hoisted_5$5 = {
49891
49921
  key: 1,
@@ -50018,7 +50048,7 @@ const _sfc_main$5 = {
50018
50048
  createElementVNode("div", _hoisted_2$4, [
50019
50049
  createElementVNode("div", null, [
50020
50050
  createElementVNode("p", {
50021
- class: "text-[36px] font-semibold text-gray-900 mb-[48px]",
50051
+ class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 mb-[48px]",
50022
50052
  textContent: toDisplayString(pricingComponent.value.title)
50023
50053
  }, null, 8, _hoisted_3$4),
50024
50054
  createElementVNode("div", _hoisted_4$4, [