@dcodegroup-au/page-builder 0.7.9 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -448,10 +448,10 @@ const _hoisted_8$o = { class: "flex flex-col gap-1" };
448
448
  const _hoisted_9$n = { class: "font-semibold text-gray-900" };
449
449
  const _hoisted_10$j = { class: "text-sm text-gray-600" };
450
450
  const _hoisted_11$g = ["disabled"];
451
- const _hoisted_12$d = { class: "flex flex-col gap-3" };
451
+ const _hoisted_12$e = { class: "flex flex-col gap-3" };
452
452
  const _hoisted_13$b = ["onClick"];
453
453
  const _hoisted_14$9 = ["onClick"];
454
- const _hoisted_15$7 = { class: "text-xs text-gray-600" };
454
+ const _hoisted_15$8 = { class: "text-xs text-gray-600" };
455
455
  const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
456
456
  const _sfc_main$Q = {
457
457
  __name: "Items",
@@ -526,7 +526,7 @@ const _sfc_main$Q = {
526
526
  ], 10, _hoisted_11$g)
527
527
  ])
528
528
  ]),
529
- createElementVNode("div", _hoisted_12$d, [
529
+ createElementVNode("div", _hoisted_12$e, [
530
530
  (openBlock(true), createElementBlock(Fragment, null, renderList(dataRef.value.data, (item, index) => {
531
531
  return openBlock(), createElementBlock("div", {
532
532
  class: normalizeClass(["flex items-center gap-4 px-2 py-1 hover:bg-gray-100 rounded-lg", { "bg-gray-200 hover:bg-gray-200": openItemStates.value[index] }])
@@ -541,7 +541,7 @@ const _sfc_main$Q = {
541
541
  class: "flex flex-1 flex-col cursor-pointer",
542
542
  onClick: ($event) => edit(item, index)
543
543
  }, [
544
- createElementVNode("div", _hoisted_15$7, toDisplayString(unref(singularize)(unref(parseName)(unref(type)))) + " #" + toDisplayString(index + 1), 1),
544
+ createElementVNode("div", _hoisted_15$8, toDisplayString(unref(singularize)(unref(parseName)(unref(type)))) + " #" + toDisplayString(index + 1), 1),
545
545
  createElementVNode("div", _hoisted_16$5, toDisplayString(item.title), 1)
546
546
  ], 8, _hoisted_14$9),
547
547
  createVNode(_sfc_main$S, {
@@ -11701,7 +11701,7 @@ const _hoisted_8$n = ["src", "title"];
11701
11701
  const _hoisted_9$m = ["href"];
11702
11702
  const _hoisted_10$i = { class: "file-upload-title" };
11703
11703
  const _hoisted_11$f = { class: "file-upload-file-remove" };
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" };
11704
+ const _hoisted_12$d = { 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 = {
11706
11706
  __name: "FileUpload",
11707
11707
  props: {
@@ -11822,7 +11822,7 @@ const _sfc_main$O = {
11822
11822
  ref_key: "dropzone",
11823
11823
  ref: dropzone2
11824
11824
  }, null, 512),
11825
- createElementVNode("div", _hoisted_12$c, [
11825
+ createElementVNode("div", _hoisted_12$d, [
11826
11826
  createElementVNode("div", null, [
11827
11827
  createVNode(unref(UploadCloud), { class: "w-6 h-6" })
11828
11828
  ]),
@@ -45224,18 +45224,18 @@ 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
45225
  const _hoisted_10$g = { class: "relative flex items-end" };
45226
45226
  const _hoisted_11$e = { class: "flex flex-col gap-6" };
45227
- const _hoisted_12$b = {
45227
+ const _hoisted_12$c = {
45228
45228
  key: 0,
45229
45229
  class: "flex gap-4"
45230
45230
  };
45231
45231
  const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
45232
45232
  const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
45233
- const _hoisted_15$6 = {
45233
+ const _hoisted_15$7 = {
45234
45234
  key: 1,
45235
45235
  class: "flex flex-col gap-1.5"
45236
45236
  };
45237
45237
  const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45238
- const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45238
+ const _hoisted_17$2 = ["onUpdate:modelValue", "maxlength"];
45239
45239
  const _hoisted_18$2 = { key: 2 };
45240
45240
  const _sfc_main$C = {
45241
45241
  __name: "Links",
@@ -45364,7 +45364,7 @@ const _sfc_main$C = {
45364
45364
  ])
45365
45365
  ]),
45366
45366
  createElementVNode("div", _hoisted_11$e, [
45367
- !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (openBlock(), createElementBlock("div", _hoisted_12$b, [
45367
+ !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (openBlock(), createElementBlock("div", _hoisted_12$c, [
45368
45368
  (openBlock(), createElementBlock(Fragment, null, renderList(options, (option) => {
45369
45369
  return createElementVNode("label", _hoisted_13$a, [
45370
45370
  withDirectives(createElementVNode("input", {
@@ -45381,7 +45381,7 @@ const _sfc_main$C = {
45381
45381
  ]);
45382
45382
  }), 64))
45383
45383
  ])) : createCommentVNode("", true),
45384
- !item.hasOwnProperty("content_type") || item.content_type === "content" ? (openBlock(), createElementBlock("div", _hoisted_15$6, [
45384
+ !item.hasOwnProperty("content_type") || item.content_type === "content" ? (openBlock(), createElementBlock("div", _hoisted_15$7, [
45385
45385
  ["feature_items", "faqs", "pricing"].includes(componentData.value.type) ? (openBlock(), createBlock(_sfc_main$D, {
45386
45386
  key: 0,
45387
45387
  data: item
@@ -45416,7 +45416,7 @@ const _sfc_main$C = {
45416
45416
  maxlength: ((_b2 = componentData.value) == null ? void 0 : _b2.max_title) ?? 200,
45417
45417
  rows: "4",
45418
45418
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45419
- }, null, 8, _hoisted_17$3)), [
45419
+ }, null, 8, _hoisted_17$2)), [
45420
45420
  [vModelText, item.title]
45421
45421
  ]) : createCommentVNode("", true)
45422
45422
  ];
@@ -45479,7 +45479,7 @@ const _hoisted_8$j = { class: "text-lg font-semibold text-gray-900" };
45479
45479
  const _hoisted_9$j = { class: "relative flex items-end" };
45480
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
- const _hoisted_12$a = ["onUpdate:modelValue"];
45482
+ const _hoisted_12$b = ["onUpdate:modelValue"];
45483
45483
  const _sfc_main$B = {
45484
45484
  __name: "Logos",
45485
45485
  props: {
@@ -45581,7 +45581,7 @@ const _sfc_main$B = {
45581
45581
  type: "text",
45582
45582
  placeholder: "Enter your url",
45583
45583
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45584
- }, null, 8, _hoisted_12$a), [
45584
+ }, null, 8, _hoisted_12$b), [
45585
45585
  [vModelText, item.url]
45586
45586
  ])
45587
45587
  ]),
@@ -45765,8 +45765,9 @@ 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$e = { class: "flex flex-col gap-6" };
45769
- const _hoisted_11$c = { class: "flex flex-col gap-1.5" };
45768
+ const _hoisted_10$e = ["onUpdate:modelValue"];
45769
+ const _hoisted_11$c = { class: "flex flex-col gap-6" };
45770
+ const _hoisted_12$a = { class: "flex flex-col gap-1.5" };
45770
45771
  const _sfc_main$y = {
45771
45772
  __name: "VideoGrid",
45772
45773
  props: {
@@ -45841,8 +45842,29 @@ const _sfc_main$y = {
45841
45842
  }, null, 8, ["onRemoveItem"])
45842
45843
  ])
45843
45844
  ]),
45844
- createElementVNode("div", _hoisted_10$e, [
45845
- createElementVNode("div", _hoisted_11$c, [
45845
+ createVNode(_sfc_main$P, {
45846
+ "is-vertical": "",
45847
+ field: "line.title",
45848
+ "label-text": "Youtube URL",
45849
+ class: "w-full",
45850
+ value: item.youtube_url
45851
+ }, {
45852
+ default: withCtx(() => [
45853
+ withDirectives(createElementVNode("input", {
45854
+ "onUpdate:modelValue": ($event) => item.youtube_url = $event,
45855
+ name: "youtube_url.youtube_url",
45856
+ type: "text",
45857
+ placeholder: "Url",
45858
+ class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45859
+ }, null, 8, _hoisted_10$e), [
45860
+ [vModelText, item.youtube_url]
45861
+ ])
45862
+ ]),
45863
+ _: 2
45864
+ }, 1032, ["value"]),
45865
+ _cache[1] || (_cache[1] = createElementVNode("p", null, "OR", -1)),
45866
+ createElementVNode("div", _hoisted_11$c, [
45867
+ createElementVNode("div", _hoisted_12$a, [
45846
45868
  createVNode(unref(VFileUpload), {
45847
45869
  name: "image",
45848
45870
  type: "video",
@@ -46167,12 +46189,12 @@ const _hoisted_11$b = { class: "flex flex-col" };
46167
46189
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46168
46190
  const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46169
46191
  const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
46170
- const _hoisted_15$5 = {
46192
+ const _hoisted_15$6 = {
46171
46193
  key: 0,
46172
46194
  class: "mb-4 px-6 py-5 rounded-xl bg-gray-50"
46173
46195
  };
46174
46196
  const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46175
- const _hoisted_17$2 = ["value"];
46197
+ const _hoisted_17$1 = ["value"];
46176
46198
  const _hoisted_18$1 = {
46177
46199
  key: 1,
46178
46200
  class: "rounded-xl bg-gray-50 px-6 py-5"
@@ -46312,7 +46334,7 @@ const _sfc_main$t = {
46312
46334
  }), 256))
46313
46335
  ]),
46314
46336
  createElementVNode("div", _hoisted_14$7, [
46315
- !unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_15$5, [
46337
+ !unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_15$6, [
46316
46338
  _cache[3] || (_cache[3] = createElementVNode("div", { class: "text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200" }, "Settings", -1)),
46317
46339
  createElementVNode("div", _hoisted_16$3, [
46318
46340
  createVNode(_sfc_main$P, {
@@ -46327,7 +46349,7 @@ const _sfc_main$t = {
46327
46349
  name: "url"
46328
46350
  }, [
46329
46351
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.breadcrumbs, (b) => {
46330
- return openBlock(), createElementBlock("option", { value: b }, toDisplayString(b), 9, _hoisted_17$2);
46352
+ return openBlock(), createElementBlock("option", { value: b }, toDisplayString(b), 9, _hoisted_17$1);
46331
46353
  }), 256))
46332
46354
  ], 512), [
46333
46355
  [vModelSelect, __props.modelValue.breadcrumb]
@@ -48455,7 +48477,7 @@ const _hoisted_11$9 = ["innerHTML"];
48455
48477
  const _hoisted_12$7 = { class: "border-t border-gray-200 mt-4 pt-[17px] flex justify-between items-center" };
48456
48478
  const _hoisted_13$7 = ["href"];
48457
48479
  const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 lg:right-4 flex gap-4" };
48458
- const _hoisted_15$4 = {
48480
+ const _hoisted_15$5 = {
48459
48481
  key: 0,
48460
48482
  class: "flex sm:justify-center mb-6 lg:mb-10"
48461
48483
  };
@@ -48605,7 +48627,7 @@ const _sfc_main$j = {
48605
48627
  createVNode(unref(ChevronRight), { class: "w-6 h-6" })
48606
48628
  ], 2)
48607
48629
  ]),
48608
- ((_a2 = __props.component) == null ? void 0 : _a2.button) ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
48630
+ ((_a2 = __props.component) == null ? void 0 : _a2.button) ? (openBlock(), createElementBlock("div", _hoisted_15$5, [
48609
48631
  createElementVNode("a", {
48610
48632
  class: "border-brand-300 hover:border-brand-700 border text-brand-700 h-[44px] rounded-full px-[14px] py-[10px] inline-flex gap-1.5 items-center font-semibold text-base",
48611
48633
  href: unref(formatUrl)(__props.component.button.url),
@@ -48680,31 +48702,36 @@ const PlayButton = { render: render$e };
48680
48702
  const _hoisted_1$v = { class: "grid grid-cols-1 md:grid-cols-3 gap-6 w-full" };
48681
48703
  const _hoisted_2$f = {
48682
48704
  key: 0,
48683
- class: "relative group"
48705
+ class: "relative group w-full object-cover rounded-lg md:rounded-2xl overflow-hidden"
48706
+ };
48707
+ const _hoisted_3$f = {
48708
+ key: 0,
48709
+ class: "w-full h-[281px] md:rounded-2xl"
48684
48710
  };
48685
- const _hoisted_3$f = ["onClick"];
48686
48711
  const _hoisted_4$f = ["src"];
48687
- const _hoisted_5$f = ["src"];
48688
- const _hoisted_6$f = {
48712
+ const _hoisted_5$f = ["onClick"];
48713
+ const _hoisted_6$f = ["src"];
48714
+ const _hoisted_7$e = ["src"];
48715
+ const _hoisted_8$d = {
48689
48716
  key: 2,
48690
48717
  class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl mb-4",
48691
48718
  alt: "No Available",
48692
48719
  src: _imports_0
48693
48720
  };
48694
- const _hoisted_7$e = { class: "flex flex-col gap-2 items-start text-left w-full" };
48695
- const _hoisted_8$d = {
48721
+ const _hoisted_9$d = { class: "flex flex-col gap-2 items-start text-left w-full" };
48722
+ const _hoisted_10$9 = {
48696
48723
  key: 0,
48697
48724
  class: "flex gap-2"
48698
48725
  };
48699
- const _hoisted_9$d = ["href"];
48700
- const _hoisted_10$9 = { class: "flex justify-between" };
48701
- const _hoisted_11$8 = ["innerHTML"];
48702
- const _hoisted_12$6 = { class: "text-gray-500 text-sm mb-4" };
48703
- const _hoisted_13$6 = {
48726
+ const _hoisted_11$8 = ["href"];
48727
+ const _hoisted_12$6 = { class: "flex justify-between" };
48728
+ const _hoisted_13$6 = ["innerHTML"];
48729
+ const _hoisted_14$5 = { class: "text-gray-500 text-sm mb-4" };
48730
+ const _hoisted_15$4 = {
48704
48731
  key: 0,
48705
48732
  class: "flex justify-center"
48706
48733
  };
48707
- const _hoisted_14$5 = ["href", "target"];
48734
+ const _hoisted_16$1 = ["href", "target"];
48708
48735
  const _sfc_main$h = {
48709
48736
  __name: "CollectionGridPresenter",
48710
48737
  props: {
@@ -48741,6 +48768,13 @@ const _sfc_main$h = {
48741
48768
  videoRefs.value[index] = el;
48742
48769
  }
48743
48770
  };
48771
+ const getEmbedUrl = (item) => {
48772
+ if (!item.youtube_url) return null;
48773
+ const m = item.youtube_url.match(/(?:youtube\.com\/(?:.*v=|v\/|embed\/)|youtu\.be\/)([A-Za-z0-9_-]{11})/);
48774
+ const id = m ? m[1] : null;
48775
+ if (!id) return null;
48776
+ return `https://www.youtube.com/embed/${id}`;
48777
+ };
48744
48778
  return (_ctx, _cache) => {
48745
48779
  var _a2, _b2;
48746
48780
  return openBlock(), createElementBlock("div", {
@@ -48750,35 +48784,45 @@ const _sfc_main$h = {
48750
48784
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (card, index) => {
48751
48785
  return openBlock(), createElementBlock("div", {
48752
48786
  key: index,
48753
- class: "card bg-white sm:p-0 px-4"
48787
+ class: "card bg-white sm:p-0 px-4 w-full"
48754
48788
  }, [
48755
48789
  __props.component.type === "video_grid" ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
48756
- createElementVNode("video", {
48757
- onClick: ($event) => togglePlayPause(index),
48758
- ref_for: true,
48759
- ref: (el) => setVideoRef(el, index),
48760
- class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl",
48761
- width: "640",
48762
- height: "360",
48763
- preload: "metadata"
48764
- }, [
48765
- createElementVNode("source", {
48766
- src: `${card.video}#t=2`
48790
+ (card == null ? void 0 : card.youtube_url) && getEmbedUrl(card) ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
48791
+ createElementVNode("iframe", {
48792
+ src: getEmbedUrl(card),
48793
+ frameborder: "0",
48794
+ allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
48795
+ allowfullscreen: "",
48796
+ class: "w-full h-full"
48767
48797
  }, null, 8, _hoisted_4$f)
48768
- ], 8, _hoisted_3$f),
48769
- !isPlaying.value[index] ? (openBlock(), createBlock(unref(PlayButton), {
48770
- key: 0,
48771
- class: "cursor-pointer absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 group-hover:opacity-100 transition-opacity",
48772
- onClick: ($event) => togglePlayPause(index)
48773
- }, null, 8, ["onClick"])) : createCommentVNode("", true)
48798
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
48799
+ createElementVNode("video", {
48800
+ onClick: ($event) => togglePlayPause(index),
48801
+ ref_for: true,
48802
+ ref: (el) => setVideoRef(el, index),
48803
+ class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl",
48804
+ width: "640",
48805
+ height: "360",
48806
+ preload: "metadata"
48807
+ }, [
48808
+ createElementVNode("source", {
48809
+ src: `${card.video}#t=2`
48810
+ }, null, 8, _hoisted_6$f)
48811
+ ], 8, _hoisted_5$f),
48812
+ !isPlaying.value[index] ? (openBlock(), createBlock(unref(PlayButton), {
48813
+ key: 0,
48814
+ class: "cursor-pointer absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 group-hover:opacity-100 transition-opacity",
48815
+ onClick: ($event) => togglePlayPause(index)
48816
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
48817
+ ], 64))
48774
48818
  ])) : card.image ? (openBlock(), createElementBlock("img", {
48775
48819
  key: 1,
48776
48820
  src: card.image,
48777
48821
  alt: "Card Image",
48778
48822
  class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl mb-4"
48779
- }, null, 8, _hoisted_5$f)) : (openBlock(), createElementBlock("img", _hoisted_6$f)),
48780
- createElementVNode("div", _hoisted_7$e, [
48781
- card.categories && card.categories.length ? (openBlock(), createElementBlock("div", _hoisted_8$d, [
48823
+ }, null, 8, _hoisted_7$e)) : (openBlock(), createElementBlock("img", _hoisted_8$d)),
48824
+ createElementVNode("div", _hoisted_9$d, [
48825
+ card.categories && card.categories.length ? (openBlock(), createElementBlock("div", _hoisted_10$9, [
48782
48826
  (openBlock(true), createElementBlock(Fragment, null, renderList(card.categories, (tag) => {
48783
48827
  return openBlock(), createElementBlock("span", {
48784
48828
  key: tag,
@@ -48797,20 +48841,20 @@ const _sfc_main$h = {
48797
48841
  target: "_blank",
48798
48842
  rel: "noopener noreferrer"
48799
48843
  }, [
48800
- createElementVNode("div", _hoisted_10$9, [
48844
+ createElementVNode("div", _hoisted_12$6, [
48801
48845
  createElementVNode("span", {
48802
48846
  class: "w-5/6 leading-[28px]",
48803
48847
  innerHTML: card.title
48804
- }, null, 8, _hoisted_11$8),
48848
+ }, null, 8, _hoisted_13$6),
48805
48849
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5 mt-1" })
48806
48850
  ])
48807
- ], 8, _hoisted_9$d)) : createCommentVNode("", true),
48808
- createElementVNode("p", _hoisted_12$6, toDisplayString(card.dateTime), 1)
48851
+ ], 8, _hoisted_11$8)) : createCommentVNode("", true),
48852
+ createElementVNode("p", _hoisted_14$5, toDisplayString(card.dateTime), 1)
48809
48853
  ])
48810
48854
  ]);
48811
48855
  }), 128))
48812
48856
  ]),
48813
- Object.keys(unref(button)).length && ((_b2 = unref(button)) == null ? void 0 : _b2.show) ? (openBlock(), createElementBlock("div", _hoisted_13$6, [
48857
+ Object.keys(unref(button)).length && ((_b2 = unref(button)) == null ? void 0 : _b2.show) ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
48814
48858
  createElementVNode("a", {
48815
48859
  class: "border-brand-300 hover:border-brand-700 border text-brand-700 h-[44px] rounded-full px-[14px] py-[10px] inline-flex gap-1.5 items-center font-semibold text-base",
48816
48860
  href: unref(formatUrl)(unref(button).url),
@@ -48818,13 +48862,13 @@ const _sfc_main$h = {
48818
48862
  }, [
48819
48863
  createTextVNode(toDisplayString(unref(button).title) + " ", 1),
48820
48864
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
48821
- ], 8, _hoisted_14$5)
48865
+ ], 8, _hoisted_16$1)
48822
48866
  ])) : createCommentVNode("", true)
48823
48867
  ], 2);
48824
48868
  };
48825
48869
  }
48826
48870
  };
48827
- const CollectionGridPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-b6625ed3"]]);
48871
+ const CollectionGridPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-77dcb437"]]);
48828
48872
  const _hoisted_1$u = { class: "overflow-hidden" };
48829
48873
  const _sfc_main$g = {
48830
48874
  __name: "CollectionGrid",
@@ -48993,7 +49037,7 @@ const _sfc_main$e = {
48993
49037
  return ((_a = component.value) == null ? void 0 : _a.button) || {};
48994
49038
  });
48995
49039
  onMounted(() => {
48996
- if (leftColumn.value && rightColumn.value) {
49040
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
48997
49041
  rightColumn.value.style.height = `${leftColumn.value.offsetHeight}px`;
48998
49042
  }
48999
49043
  });
@@ -49014,7 +49058,11 @@ const _sfc_main$e = {
49014
49058
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
49015
49059
  return openBlock(), createElementBlock("div", _hoisted_1$r, [
49016
49060
  createElementVNode("div", {
49017
- class: normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", { "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert, "justify-center": (_b = section.value) == null ? void 0 : _b.center, "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left }])
49061
+ class: normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", {
49062
+ "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert,
49063
+ "justify-center": (_b = section.value) == null ? void 0 : _b.center,
49064
+ "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left
49065
+ }])
49018
49066
  }, [
49019
49067
  ((_d = component.value) == null ? void 0 : _d.title) || ((_e = component.value) == null ? void 0 : _e.paragraph) ? (openBlock(), createElementBlock("div", {
49020
49068
  key: 0,
@@ -49040,9 +49088,9 @@ const _sfc_main$e = {
49040
49088
  ], 2)) : createCommentVNode("", true),
49041
49089
  ((_i = component.value) == null ? void 0 : _i.featured_image) ? (openBlock(), createElementBlock("div", {
49042
49090
  key: 1,
49043
- class: "w-full min-w-[300px] max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden",
49044
49091
  ref_key: "rightColumn",
49045
- ref: rightColumn
49092
+ ref: rightColumn,
49093
+ class: "w-full lg:min-w-[300px] lg:max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden"
49046
49094
  }, [
49047
49095
  ((_j = component.value) == null ? void 0 : _j.source_type) === "video" ? (openBlock(), createElementBlock("div", _hoisted_7$d, [
49048
49096
  createElementVNode("video", {
@@ -49077,31 +49125,26 @@ const _hoisted_1$q = { class: "overflow-hidden" };
49077
49125
  const _hoisted_2$c = { class: "pb-container mt-4" };
49078
49126
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49079
49127
  const _hoisted_4$c = ["innerHTML"];
49080
- const _hoisted_5$c = {
49081
- key: 1,
49082
- class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49083
- };
49084
- const _hoisted_6$c = ["src", "alt"];
49085
- const _hoisted_7$c = ["innerHTML"];
49086
- const _hoisted_8$b = {
49128
+ const _hoisted_5$c = ["src", "alt"];
49129
+ const _hoisted_6$c = {
49087
49130
  key: 1,
49088
49131
  class: "my-[44px]"
49089
49132
  };
49090
- const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49091
- const _hoisted_10$8 = ["innerHTML"];
49092
- const _hoisted_11$7 = {
49133
+ const _hoisted_7$c = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49134
+ const _hoisted_8$b = ["innerHTML"];
49135
+ const _hoisted_9$b = {
49093
49136
  key: 0,
49094
49137
  class: "max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49095
49138
  };
49096
- const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49097
- const _hoisted_13$5 = ["innerHTML"];
49098
- const _hoisted_14$4 = ["href", "target"];
49099
- const _hoisted_15$3 = ["src"];
49100
- const _hoisted_16$1 = {
49139
+ const _hoisted_10$8 = { class: "font-semibold text-[20px] text-gray-900" };
49140
+ const _hoisted_11$7 = ["innerHTML"];
49141
+ const _hoisted_12$5 = ["href", "target"];
49142
+ const _hoisted_13$5 = ["src"];
49143
+ const _hoisted_14$4 = {
49101
49144
  key: 0,
49102
- class: "w-[560px]"
49145
+ class: "w-full md:w-[560px] flex"
49103
49146
  };
49104
- const _hoisted_17$1 = ["src", "alt"];
49147
+ const _hoisted_15$3 = ["src", "alt"];
49105
49148
  const _sfc_main$d = {
49106
49149
  __name: "TwoColumnsImageContent",
49107
49150
  props: {
@@ -49157,34 +49200,29 @@ const _sfc_main$d = {
49157
49200
  innerHTML: paragraphComponent.value.paragraph
49158
49201
  }, null, 8, _hoisted_4$c)
49159
49202
  ], 2)) : createCommentVNode("", true),
49160
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
49161
- createElementVNode("img", {
49162
- src: imageComponent.value.featured_image,
49163
- alt: imageComponent.value.caption,
49164
- class: "w-full h-full object-cover"
49165
- }, null, 8, _hoisted_6$c),
49166
- createElementVNode("p", {
49167
- innerHTML: imageComponent.value.caption,
49168
- class: "mt-2 text-[13px]"
49169
- }, null, 8, _hoisted_7$c)
49170
- ])) : createCommentVNode("", true)
49171
- ], 4)) : (openBlock(), createElementBlock("div", _hoisted_8$b, [
49203
+ imageComponent.value ? (openBlock(), createElementBlock("img", {
49204
+ key: 1,
49205
+ src: imageComponent.value.featured_image,
49206
+ alt: imageComponent.value.caption,
49207
+ class: "w-full rounded-xl"
49208
+ }, null, 8, _hoisted_5$c)) : createCommentVNode("", true)
49209
+ ], 4)) : (openBlock(), createElementBlock("div", _hoisted_6$c, [
49172
49210
  headerComponent.value ? (openBlock(), createElementBlock("div", {
49173
49211
  key: 0,
49174
49212
  class: normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49175
49213
  }, [
49176
- createElementVNode("h3", _hoisted_9$b, toDisplayString(headerComponent.value.title), 1),
49214
+ createElementVNode("h3", _hoisted_7$c, toDisplayString(headerComponent.value.title), 1),
49177
49215
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (openBlock(), createElementBlock("p", {
49178
49216
  key: 0,
49179
49217
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49180
49218
  innerHTML: headerComponent.value.supporting_text
49181
- }, null, 8, _hoisted_10$8)) : createCommentVNode("", true)
49219
+ }, null, 8, _hoisted_8$b)) : createCommentVNode("", true)
49182
49220
  ], 2)) : createCommentVNode("", true),
49183
49221
  createElementVNode("div", {
49184
49222
  class: normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
49185
49223
  }, [
49186
49224
  createElementVNode("div", {
49187
- class: normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 w-2/3"])
49225
+ class: normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 lg:w-2/3"])
49188
49226
  }, [
49189
49227
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item) => {
49190
49228
  var _a2, _b2, _c2;
@@ -49195,20 +49233,20 @@ const _sfc_main$d = {
49195
49233
  }])
49196
49234
  }, [
49197
49235
  item.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
49198
- (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_11$7, [
49236
+ (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_9$b, [
49199
49237
  createVNode(_sfc_main$H, {
49200
49238
  icon: item.icon,
49201
49239
  "icon-classes": "w-5 h-5 text-brand-600"
49202
49240
  }, null, 8, ["icon"])
49203
49241
  ])) : createCommentVNode("", true),
49204
49242
  createElementVNode("div", {
49205
- class: normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49243
+ class: normalizeClass(["md:max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49206
49244
  }, [
49207
- createElementVNode("h3", _hoisted_12$5, toDisplayString(item.title), 1),
49245
+ createElementVNode("h3", _hoisted_10$8, toDisplayString(item.title), 1),
49208
49246
  createElementVNode("p", {
49209
49247
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49210
49248
  innerHTML: item.supporting_text ?? item.description
49211
- }, null, 8, _hoisted_13$5),
49249
+ }, null, 8, _hoisted_11$7),
49212
49250
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (openBlock(), createElementBlock("a", {
49213
49251
  key: 0,
49214
49252
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49217,23 +49255,23 @@ const _sfc_main$d = {
49217
49255
  }, [
49218
49256
  createTextVNode(toDisplayString(item.primary_button.label) + " ", 1),
49219
49257
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
49220
- ], 8, _hoisted_14$4)) : createCommentVNode("", true)
49258
+ ], 8, _hoisted_12$5)) : createCommentVNode("", true)
49221
49259
  ], 2)
49222
49260
  ], 64)) : (openBlock(), createElementBlock("img", {
49223
49261
  key: 1,
49224
49262
  src: item.image,
49225
49263
  alt: "Feature Image",
49226
49264
  class: "w-full h-full object-cover"
49227
- }, null, 8, _hoisted_15$3))
49265
+ }, null, 8, _hoisted_13$5))
49228
49266
  ], 2);
49229
49267
  }), 256))
49230
49268
  ], 2),
49231
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
49269
+ imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_14$4, [
49232
49270
  createElementVNode("img", {
49233
49271
  src: imageComponent.value.featured_image,
49234
49272
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49235
- class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49236
- }, null, 8, _hoisted_17$1)
49273
+ class: "rounded-br-[24px] rounded-tl-[24px] w-full object-cover"
49274
+ }, null, 8, _hoisted_15$3)
49237
49275
  ])) : createCommentVNode("", true)
49238
49276
  ], 2)
49239
49277
  ]))
@@ -49592,7 +49630,7 @@ const _sfc_main$9 = {
49592
49630
  return section.value.components.filter((component) => component.type === "bullet_points");
49593
49631
  });
49594
49632
  onMounted(() => {
49595
- if (leftColumn.value && rightColumn.value) {
49633
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49596
49634
  leftColumn.value.style.height = `${rightColumn.value.offsetHeight}px`;
49597
49635
  }
49598
49636
  });
@@ -49608,7 +49646,7 @@ const _sfc_main$9 = {
49608
49646
  ((_e = headerComponent.value) == null ? void 0 : _e.featured_image) ? (openBlock(), createElementBlock("img", {
49609
49647
  key: 0,
49610
49648
  src: (_f = headerComponent.value) == null ? void 0 : _f.featured_image,
49611
- class: "max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49649
+ class: "lg:max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49612
49650
  ref_key: "leftColumn",
49613
49651
  ref: leftColumn,
49614
49652
  alt: "Feature"