@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.
@@ -451,10 +451,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
451
451
  const _hoisted_9$n = { class: "font-semibold text-gray-900" };
452
452
  const _hoisted_10$j = { class: "text-sm text-gray-600" };
453
453
  const _hoisted_11$g = ["disabled"];
454
- const _hoisted_12$d = { class: "flex flex-col gap-3" };
454
+ const _hoisted_12$e = { class: "flex flex-col gap-3" };
455
455
  const _hoisted_13$b = ["onClick"];
456
456
  const _hoisted_14$9 = ["onClick"];
457
- const _hoisted_15$7 = { class: "text-xs text-gray-600" };
457
+ const _hoisted_15$8 = { class: "text-xs text-gray-600" };
458
458
  const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
459
459
  const _sfc_main$Q = {
460
460
  __name: "Items",
@@ -529,7 +529,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
529
529
  ], 10, _hoisted_11$g)
530
530
  ])
531
531
  ]),
532
- vue.createElementVNode("div", _hoisted_12$d, [
532
+ vue.createElementVNode("div", _hoisted_12$e, [
533
533
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dataRef.value.data, (item, index) => {
534
534
  return vue.openBlock(), vue.createElementBlock("div", {
535
535
  class: vue.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] }])
@@ -544,7 +544,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
544
544
  class: "flex flex-1 flex-col cursor-pointer",
545
545
  onClick: ($event) => edit(item, index)
546
546
  }, [
547
- vue.createElementVNode("div", _hoisted_15$7, vue.toDisplayString(vue.unref(singularize)(vue.unref(parseName)(vue.unref(type)))) + " #" + vue.toDisplayString(index + 1), 1),
547
+ vue.createElementVNode("div", _hoisted_15$8, vue.toDisplayString(vue.unref(singularize)(vue.unref(parseName)(vue.unref(type)))) + " #" + vue.toDisplayString(index + 1), 1),
548
548
  vue.createElementVNode("div", _hoisted_16$5, vue.toDisplayString(item.title), 1)
549
549
  ], 8, _hoisted_14$9),
550
550
  vue.createVNode(_sfc_main$S, {
@@ -11704,7 +11704,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11704
11704
  const _hoisted_9$m = ["href"];
11705
11705
  const _hoisted_10$i = { class: "file-upload-title" };
11706
11706
  const _hoisted_11$f = { class: "file-upload-file-remove" };
11707
- 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" };
11707
+ 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" };
11708
11708
  const _sfc_main$O = {
11709
11709
  __name: "FileUpload",
11710
11710
  props: {
@@ -11825,7 +11825,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11825
11825
  ref_key: "dropzone",
11826
11826
  ref: dropzone2
11827
11827
  }, null, 512),
11828
- vue.createElementVNode("div", _hoisted_12$c, [
11828
+ vue.createElementVNode("div", _hoisted_12$d, [
11829
11829
  vue.createElementVNode("div", null, [
11830
11830
  vue.createVNode(vue.unref(UploadCloud), { class: "w-6 h-6" })
11831
11831
  ]),
@@ -45227,18 +45227,18 @@ ${escapeText(this.code(index, length))}
45227
45227
  const _hoisted_9$k = { class: "text-lg font-semibold text-gray-900" };
45228
45228
  const _hoisted_10$g = { class: "relative flex items-end" };
45229
45229
  const _hoisted_11$e = { class: "flex flex-col gap-6" };
45230
- const _hoisted_12$b = {
45230
+ const _hoisted_12$c = {
45231
45231
  key: 0,
45232
45232
  class: "flex gap-4"
45233
45233
  };
45234
45234
  const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
45235
45235
  const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
45236
- const _hoisted_15$6 = {
45236
+ const _hoisted_15$7 = {
45237
45237
  key: 1,
45238
45238
  class: "flex flex-col gap-1.5"
45239
45239
  };
45240
45240
  const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45241
- const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45241
+ const _hoisted_17$2 = ["onUpdate:modelValue", "maxlength"];
45242
45242
  const _hoisted_18$2 = { key: 2 };
45243
45243
  const _sfc_main$C = {
45244
45244
  __name: "Links",
@@ -45367,7 +45367,7 @@ ${escapeText(this.code(index, length))}
45367
45367
  ])
45368
45368
  ]),
45369
45369
  vue.createElementVNode("div", _hoisted_11$e, [
45370
- !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$b, [
45370
+ !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$c, [
45371
45371
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
45372
45372
  return vue.createElementVNode("label", _hoisted_13$a, [
45373
45373
  vue.withDirectives(vue.createElementVNode("input", {
@@ -45384,7 +45384,7 @@ ${escapeText(this.code(index, length))}
45384
45384
  ]);
45385
45385
  }), 64))
45386
45386
  ])) : vue.createCommentVNode("", true),
45387
- !item.hasOwnProperty("content_type") || item.content_type === "content" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$6, [
45387
+ !item.hasOwnProperty("content_type") || item.content_type === "content" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$7, [
45388
45388
  ["feature_items", "faqs", "pricing"].includes(componentData.value.type) ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
45389
45389
  key: 0,
45390
45390
  data: item
@@ -45419,7 +45419,7 @@ ${escapeText(this.code(index, length))}
45419
45419
  maxlength: ((_b2 = componentData.value) == null ? void 0 : _b2.max_title) ?? 200,
45420
45420
  rows: "4",
45421
45421
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45422
- }, null, 8, _hoisted_17$3)), [
45422
+ }, null, 8, _hoisted_17$2)), [
45423
45423
  [vue.vModelText, item.title]
45424
45424
  ]) : vue.createCommentVNode("", true)
45425
45425
  ];
@@ -45482,7 +45482,7 @@ ${escapeText(this.code(index, length))}
45482
45482
  const _hoisted_9$j = { class: "relative flex items-end" };
45483
45483
  const _hoisted_10$f = { class: "flex flex-col gap-6" };
45484
45484
  const _hoisted_11$d = { class: "flex flex-col gap-1.5" };
45485
- const _hoisted_12$a = ["onUpdate:modelValue"];
45485
+ const _hoisted_12$b = ["onUpdate:modelValue"];
45486
45486
  const _sfc_main$B = {
45487
45487
  __name: "Logos",
45488
45488
  props: {
@@ -45584,7 +45584,7 @@ ${escapeText(this.code(index, length))}
45584
45584
  type: "text",
45585
45585
  placeholder: "Enter your url",
45586
45586
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45587
- }, null, 8, _hoisted_12$a), [
45587
+ }, null, 8, _hoisted_12$b), [
45588
45588
  [vue.vModelText, item.url]
45589
45589
  ])
45590
45590
  ]),
@@ -45768,8 +45768,9 @@ ${escapeText(this.code(index, length))}
45768
45768
  const _hoisted_7$j = { class: "flex items-center justify-between" };
45769
45769
  const _hoisted_8$i = { class: "text-lg font-semibold text-gray-900" };
45770
45770
  const _hoisted_9$i = { class: "relative flex items-end" };
45771
- const _hoisted_10$e = { class: "flex flex-col gap-6" };
45772
- const _hoisted_11$c = { class: "flex flex-col gap-1.5" };
45771
+ const _hoisted_10$e = ["onUpdate:modelValue"];
45772
+ const _hoisted_11$c = { class: "flex flex-col gap-6" };
45773
+ const _hoisted_12$a = { class: "flex flex-col gap-1.5" };
45773
45774
  const _sfc_main$y = {
45774
45775
  __name: "VideoGrid",
45775
45776
  props: {
@@ -45844,8 +45845,29 @@ ${escapeText(this.code(index, length))}
45844
45845
  }, null, 8, ["onRemoveItem"])
45845
45846
  ])
45846
45847
  ]),
45847
- vue.createElementVNode("div", _hoisted_10$e, [
45848
- vue.createElementVNode("div", _hoisted_11$c, [
45848
+ vue.createVNode(_sfc_main$P, {
45849
+ "is-vertical": "",
45850
+ field: "line.title",
45851
+ "label-text": "Youtube URL",
45852
+ class: "w-full",
45853
+ value: item.youtube_url
45854
+ }, {
45855
+ default: vue.withCtx(() => [
45856
+ vue.withDirectives(vue.createElementVNode("input", {
45857
+ "onUpdate:modelValue": ($event) => item.youtube_url = $event,
45858
+ name: "youtube_url.youtube_url",
45859
+ type: "text",
45860
+ placeholder: "Url",
45861
+ class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45862
+ }, null, 8, _hoisted_10$e), [
45863
+ [vue.vModelText, item.youtube_url]
45864
+ ])
45865
+ ]),
45866
+ _: 2
45867
+ }, 1032, ["value"]),
45868
+ _cache[1] || (_cache[1] = vue.createElementVNode("p", null, "OR", -1)),
45869
+ vue.createElementVNode("div", _hoisted_11$c, [
45870
+ vue.createElementVNode("div", _hoisted_12$a, [
45849
45871
  vue.createVNode(vue.unref(VFileUpload), {
45850
45872
  name: "image",
45851
45873
  type: "video",
@@ -46170,12 +46192,12 @@ ${escapeText(this.code(index, length))}
46170
46192
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46171
46193
  const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46172
46194
  const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
46173
- const _hoisted_15$5 = {
46195
+ const _hoisted_15$6 = {
46174
46196
  key: 0,
46175
46197
  class: "mb-4 px-6 py-5 rounded-xl bg-gray-50"
46176
46198
  };
46177
46199
  const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46178
- const _hoisted_17$2 = ["value"];
46200
+ const _hoisted_17$1 = ["value"];
46179
46201
  const _hoisted_18$1 = {
46180
46202
  key: 1,
46181
46203
  class: "rounded-xl bg-gray-50 px-6 py-5"
@@ -46315,7 +46337,7 @@ ${escapeText(this.code(index, length))}
46315
46337
  }), 256))
46316
46338
  ]),
46317
46339
  vue.createElementVNode("div", _hoisted_14$7, [
46318
- !vue.unref(selected) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$5, [
46340
+ !vue.unref(selected) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$6, [
46319
46341
  _cache[3] || (_cache[3] = vue.createElementVNode("div", { class: "text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200" }, "Settings", -1)),
46320
46342
  vue.createElementVNode("div", _hoisted_16$3, [
46321
46343
  vue.createVNode(_sfc_main$P, {
@@ -46330,7 +46352,7 @@ ${escapeText(this.code(index, length))}
46330
46352
  name: "url"
46331
46353
  }, [
46332
46354
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.breadcrumbs, (b) => {
46333
- return vue.openBlock(), vue.createElementBlock("option", { value: b }, vue.toDisplayString(b), 9, _hoisted_17$2);
46355
+ return vue.openBlock(), vue.createElementBlock("option", { value: b }, vue.toDisplayString(b), 9, _hoisted_17$1);
46334
46356
  }), 256))
46335
46357
  ], 512), [
46336
46358
  [vue.vModelSelect, __props.modelValue.breadcrumb]
@@ -48458,7 +48480,7 @@ ${escapeText(this.code(index, length))}
48458
48480
  const _hoisted_12$7 = { class: "border-t border-gray-200 mt-4 pt-[17px] flex justify-between items-center" };
48459
48481
  const _hoisted_13$7 = ["href"];
48460
48482
  const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 lg:right-4 flex gap-4" };
48461
- const _hoisted_15$4 = {
48483
+ const _hoisted_15$5 = {
48462
48484
  key: 0,
48463
48485
  class: "flex sm:justify-center mb-6 lg:mb-10"
48464
48486
  };
@@ -48608,7 +48630,7 @@ ${escapeText(this.code(index, length))}
48608
48630
  vue.createVNode(vue.unref(ChevronRight), { class: "w-6 h-6" })
48609
48631
  ], 2)
48610
48632
  ]),
48611
- ((_a2 = __props.component) == null ? void 0 : _a2.button) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$4, [
48633
+ ((_a2 = __props.component) == null ? void 0 : _a2.button) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$5, [
48612
48634
  vue.createElementVNode("a", {
48613
48635
  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",
48614
48636
  href: vue.unref(formatUrl)(__props.component.button.url),
@@ -48683,31 +48705,36 @@ ${escapeText(this.code(index, length))}
48683
48705
  const _hoisted_1$v = { class: "grid grid-cols-1 md:grid-cols-3 gap-6 w-full" };
48684
48706
  const _hoisted_2$f = {
48685
48707
  key: 0,
48686
- class: "relative group"
48708
+ class: "relative group w-full object-cover rounded-lg md:rounded-2xl overflow-hidden"
48709
+ };
48710
+ const _hoisted_3$f = {
48711
+ key: 0,
48712
+ class: "w-full h-[281px] md:rounded-2xl"
48687
48713
  };
48688
- const _hoisted_3$f = ["onClick"];
48689
48714
  const _hoisted_4$f = ["src"];
48690
- const _hoisted_5$f = ["src"];
48691
- const _hoisted_6$f = {
48715
+ const _hoisted_5$f = ["onClick"];
48716
+ const _hoisted_6$f = ["src"];
48717
+ const _hoisted_7$e = ["src"];
48718
+ const _hoisted_8$d = {
48692
48719
  key: 2,
48693
48720
  class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl mb-4",
48694
48721
  alt: "No Available",
48695
48722
  src: _imports_0
48696
48723
  };
48697
- const _hoisted_7$e = { class: "flex flex-col gap-2 items-start text-left w-full" };
48698
- const _hoisted_8$d = {
48724
+ const _hoisted_9$d = { class: "flex flex-col gap-2 items-start text-left w-full" };
48725
+ const _hoisted_10$9 = {
48699
48726
  key: 0,
48700
48727
  class: "flex gap-2"
48701
48728
  };
48702
- const _hoisted_9$d = ["href"];
48703
- const _hoisted_10$9 = { class: "flex justify-between" };
48704
- const _hoisted_11$8 = ["innerHTML"];
48705
- const _hoisted_12$6 = { class: "text-gray-500 text-sm mb-4" };
48706
- const _hoisted_13$6 = {
48729
+ const _hoisted_11$8 = ["href"];
48730
+ const _hoisted_12$6 = { class: "flex justify-between" };
48731
+ const _hoisted_13$6 = ["innerHTML"];
48732
+ const _hoisted_14$5 = { class: "text-gray-500 text-sm mb-4" };
48733
+ const _hoisted_15$4 = {
48707
48734
  key: 0,
48708
48735
  class: "flex justify-center"
48709
48736
  };
48710
- const _hoisted_14$5 = ["href", "target"];
48737
+ const _hoisted_16$1 = ["href", "target"];
48711
48738
  const _sfc_main$h = {
48712
48739
  __name: "CollectionGridPresenter",
48713
48740
  props: {
@@ -48744,6 +48771,13 @@ ${escapeText(this.code(index, length))}
48744
48771
  videoRefs.value[index] = el;
48745
48772
  }
48746
48773
  };
48774
+ const getEmbedUrl = (item) => {
48775
+ if (!item.youtube_url) return null;
48776
+ const m = item.youtube_url.match(/(?:youtube\.com\/(?:.*v=|v\/|embed\/)|youtu\.be\/)([A-Za-z0-9_-]{11})/);
48777
+ const id = m ? m[1] : null;
48778
+ if (!id) return null;
48779
+ return `https://www.youtube.com/embed/${id}`;
48780
+ };
48747
48781
  return (_ctx, _cache) => {
48748
48782
  var _a2, _b2;
48749
48783
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -48753,35 +48787,45 @@ ${escapeText(this.code(index, length))}
48753
48787
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(items), (card, index) => {
48754
48788
  return vue.openBlock(), vue.createElementBlock("div", {
48755
48789
  key: index,
48756
- class: "card bg-white sm:p-0 px-4"
48790
+ class: "card bg-white sm:p-0 px-4 w-full"
48757
48791
  }, [
48758
48792
  __props.component.type === "video_grid" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
48759
- vue.createElementVNode("video", {
48760
- onClick: ($event) => togglePlayPause(index),
48761
- ref_for: true,
48762
- ref: (el) => setVideoRef(el, index),
48763
- class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl",
48764
- width: "640",
48765
- height: "360",
48766
- preload: "metadata"
48767
- }, [
48768
- vue.createElementVNode("source", {
48769
- src: `${card.video}#t=2`
48793
+ (card == null ? void 0 : card.youtube_url) && getEmbedUrl(card) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$f, [
48794
+ vue.createElementVNode("iframe", {
48795
+ src: getEmbedUrl(card),
48796
+ frameborder: "0",
48797
+ allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
48798
+ allowfullscreen: "",
48799
+ class: "w-full h-full"
48770
48800
  }, null, 8, _hoisted_4$f)
48771
- ], 8, _hoisted_3$f),
48772
- !isPlaying.value[index] ? (vue.openBlock(), vue.createBlock(vue.unref(PlayButton), {
48773
- key: 0,
48774
- 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",
48775
- onClick: ($event) => togglePlayPause(index)
48776
- }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
48801
+ ])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
48802
+ vue.createElementVNode("video", {
48803
+ onClick: ($event) => togglePlayPause(index),
48804
+ ref_for: true,
48805
+ ref: (el) => setVideoRef(el, index),
48806
+ class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl",
48807
+ width: "640",
48808
+ height: "360",
48809
+ preload: "metadata"
48810
+ }, [
48811
+ vue.createElementVNode("source", {
48812
+ src: `${card.video}#t=2`
48813
+ }, null, 8, _hoisted_6$f)
48814
+ ], 8, _hoisted_5$f),
48815
+ !isPlaying.value[index] ? (vue.openBlock(), vue.createBlock(vue.unref(PlayButton), {
48816
+ key: 0,
48817
+ 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",
48818
+ onClick: ($event) => togglePlayPause(index)
48819
+ }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
48820
+ ], 64))
48777
48821
  ])) : card.image ? (vue.openBlock(), vue.createElementBlock("img", {
48778
48822
  key: 1,
48779
48823
  src: card.image,
48780
48824
  alt: "Card Image",
48781
48825
  class: "w-full h-[281px] object-cover rounded-lg md:rounded-2xl mb-4"
48782
- }, null, 8, _hoisted_5$f)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_6$f)),
48783
- vue.createElementVNode("div", _hoisted_7$e, [
48784
- card.categories && card.categories.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$d, [
48826
+ }, null, 8, _hoisted_7$e)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_8$d)),
48827
+ vue.createElementVNode("div", _hoisted_9$d, [
48828
+ card.categories && card.categories.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$9, [
48785
48829
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(card.categories, (tag) => {
48786
48830
  return vue.openBlock(), vue.createElementBlock("span", {
48787
48831
  key: tag,
@@ -48800,20 +48844,20 @@ ${escapeText(this.code(index, length))}
48800
48844
  target: "_blank",
48801
48845
  rel: "noopener noreferrer"
48802
48846
  }, [
48803
- vue.createElementVNode("div", _hoisted_10$9, [
48847
+ vue.createElementVNode("div", _hoisted_12$6, [
48804
48848
  vue.createElementVNode("span", {
48805
48849
  class: "w-5/6 leading-[28px]",
48806
48850
  innerHTML: card.title
48807
- }, null, 8, _hoisted_11$8),
48851
+ }, null, 8, _hoisted_13$6),
48808
48852
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5 mt-1" })
48809
48853
  ])
48810
- ], 8, _hoisted_9$d)) : vue.createCommentVNode("", true),
48811
- vue.createElementVNode("p", _hoisted_12$6, vue.toDisplayString(card.dateTime), 1)
48854
+ ], 8, _hoisted_11$8)) : vue.createCommentVNode("", true),
48855
+ vue.createElementVNode("p", _hoisted_14$5, vue.toDisplayString(card.dateTime), 1)
48812
48856
  ])
48813
48857
  ]);
48814
48858
  }), 128))
48815
48859
  ]),
48816
- Object.keys(vue.unref(button)).length && ((_b2 = vue.unref(button)) == null ? void 0 : _b2.show) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$6, [
48860
+ Object.keys(vue.unref(button)).length && ((_b2 = vue.unref(button)) == null ? void 0 : _b2.show) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$4, [
48817
48861
  vue.createElementVNode("a", {
48818
48862
  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",
48819
48863
  href: vue.unref(formatUrl)(vue.unref(button).url),
@@ -48821,13 +48865,13 @@ ${escapeText(this.code(index, length))}
48821
48865
  }, [
48822
48866
  vue.createTextVNode(vue.toDisplayString(vue.unref(button).title) + " ", 1),
48823
48867
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
48824
- ], 8, _hoisted_14$5)
48868
+ ], 8, _hoisted_16$1)
48825
48869
  ])) : vue.createCommentVNode("", true)
48826
48870
  ], 2);
48827
48871
  };
48828
48872
  }
48829
48873
  };
48830
- const CollectionGridPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-b6625ed3"]]);
48874
+ const CollectionGridPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-77dcb437"]]);
48831
48875
  const _hoisted_1$u = { class: "overflow-hidden" };
48832
48876
  const _sfc_main$g = {
48833
48877
  __name: "CollectionGrid",
@@ -48996,7 +49040,7 @@ ${escapeText(this.code(index, length))}
48996
49040
  return ((_a = component.value) == null ? void 0 : _a.button) || {};
48997
49041
  });
48998
49042
  vue.onMounted(() => {
48999
- if (leftColumn.value && rightColumn.value) {
49043
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49000
49044
  rightColumn.value.style.height = `${leftColumn.value.offsetHeight}px`;
49001
49045
  }
49002
49046
  });
@@ -49017,7 +49061,11 @@ ${escapeText(this.code(index, length))}
49017
49061
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
49018
49062
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
49019
49063
  vue.createElementVNode("div", {
49020
- class: vue.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 }])
49064
+ class: vue.normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", {
49065
+ "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert,
49066
+ "justify-center": (_b = section.value) == null ? void 0 : _b.center,
49067
+ "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left
49068
+ }])
49021
49069
  }, [
49022
49070
  ((_d = component.value) == null ? void 0 : _d.title) || ((_e = component.value) == null ? void 0 : _e.paragraph) ? (vue.openBlock(), vue.createElementBlock("div", {
49023
49071
  key: 0,
@@ -49043,9 +49091,9 @@ ${escapeText(this.code(index, length))}
49043
49091
  ], 2)) : vue.createCommentVNode("", true),
49044
49092
  ((_i = component.value) == null ? void 0 : _i.featured_image) ? (vue.openBlock(), vue.createElementBlock("div", {
49045
49093
  key: 1,
49046
- class: "w-full min-w-[300px] max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden",
49047
49094
  ref_key: "rightColumn",
49048
- ref: rightColumn
49095
+ ref: rightColumn,
49096
+ class: "w-full lg:min-w-[300px] lg:max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden"
49049
49097
  }, [
49050
49098
  ((_j = component.value) == null ? void 0 : _j.source_type) === "video" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$d, [
49051
49099
  vue.createElementVNode("video", {
@@ -49080,31 +49128,26 @@ ${escapeText(this.code(index, length))}
49080
49128
  const _hoisted_2$c = { class: "pb-container mt-4" };
49081
49129
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49082
49130
  const _hoisted_4$c = ["innerHTML"];
49083
- const _hoisted_5$c = {
49084
- key: 1,
49085
- class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49086
- };
49087
- const _hoisted_6$c = ["src", "alt"];
49088
- const _hoisted_7$c = ["innerHTML"];
49089
- const _hoisted_8$b = {
49131
+ const _hoisted_5$c = ["src", "alt"];
49132
+ const _hoisted_6$c = {
49090
49133
  key: 1,
49091
49134
  class: "my-[44px]"
49092
49135
  };
49093
- const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49094
- const _hoisted_10$8 = ["innerHTML"];
49095
- const _hoisted_11$7 = {
49136
+ const _hoisted_7$c = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49137
+ const _hoisted_8$b = ["innerHTML"];
49138
+ const _hoisted_9$b = {
49096
49139
  key: 0,
49097
49140
  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"
49098
49141
  };
49099
- const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49100
- const _hoisted_13$5 = ["innerHTML"];
49101
- const _hoisted_14$4 = ["href", "target"];
49102
- const _hoisted_15$3 = ["src"];
49103
- const _hoisted_16$1 = {
49142
+ const _hoisted_10$8 = { class: "font-semibold text-[20px] text-gray-900" };
49143
+ const _hoisted_11$7 = ["innerHTML"];
49144
+ const _hoisted_12$5 = ["href", "target"];
49145
+ const _hoisted_13$5 = ["src"];
49146
+ const _hoisted_14$4 = {
49104
49147
  key: 0,
49105
- class: "w-[560px]"
49148
+ class: "w-full md:w-[560px] flex"
49106
49149
  };
49107
- const _hoisted_17$1 = ["src", "alt"];
49150
+ const _hoisted_15$3 = ["src", "alt"];
49108
49151
  const _sfc_main$d = {
49109
49152
  __name: "TwoColumnsImageContent",
49110
49153
  props: {
@@ -49160,34 +49203,29 @@ ${escapeText(this.code(index, length))}
49160
49203
  innerHTML: paragraphComponent.value.paragraph
49161
49204
  }, null, 8, _hoisted_4$c)
49162
49205
  ], 2)) : vue.createCommentVNode("", true),
49163
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
49164
- vue.createElementVNode("img", {
49165
- src: imageComponent.value.featured_image,
49166
- alt: imageComponent.value.caption,
49167
- class: "w-full h-full object-cover"
49168
- }, null, 8, _hoisted_6$c),
49169
- vue.createElementVNode("p", {
49170
- innerHTML: imageComponent.value.caption,
49171
- class: "mt-2 text-[13px]"
49172
- }, null, 8, _hoisted_7$c)
49173
- ])) : vue.createCommentVNode("", true)
49174
- ], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$b, [
49206
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("img", {
49207
+ key: 1,
49208
+ src: imageComponent.value.featured_image,
49209
+ alt: imageComponent.value.caption,
49210
+ class: "w-full rounded-xl"
49211
+ }, null, 8, _hoisted_5$c)) : vue.createCommentVNode("", true)
49212
+ ], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
49175
49213
  headerComponent.value ? (vue.openBlock(), vue.createElementBlock("div", {
49176
49214
  key: 0,
49177
49215
  class: vue.normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49178
49216
  }, [
49179
- vue.createElementVNode("h3", _hoisted_9$b, vue.toDisplayString(headerComponent.value.title), 1),
49217
+ vue.createElementVNode("h3", _hoisted_7$c, vue.toDisplayString(headerComponent.value.title), 1),
49180
49218
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (vue.openBlock(), vue.createElementBlock("p", {
49181
49219
  key: 0,
49182
49220
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49183
49221
  innerHTML: headerComponent.value.supporting_text
49184
- }, null, 8, _hoisted_10$8)) : vue.createCommentVNode("", true)
49222
+ }, null, 8, _hoisted_8$b)) : vue.createCommentVNode("", true)
49185
49223
  ], 2)) : vue.createCommentVNode("", true),
49186
49224
  vue.createElementVNode("div", {
49187
49225
  class: vue.normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
49188
49226
  }, [
49189
49227
  vue.createElementVNode("div", {
49190
- class: vue.normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 w-2/3"])
49228
+ class: vue.normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 lg:w-2/3"])
49191
49229
  }, [
49192
49230
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item) => {
49193
49231
  var _a2, _b2, _c2;
@@ -49198,20 +49236,20 @@ ${escapeText(this.code(index, length))}
49198
49236
  }])
49199
49237
  }, [
49200
49238
  item.title ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
49201
- (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$7, [
49239
+ (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$b, [
49202
49240
  vue.createVNode(_sfc_main$H, {
49203
49241
  icon: item.icon,
49204
49242
  "icon-classes": "w-5 h-5 text-brand-600"
49205
49243
  }, null, 8, ["icon"])
49206
49244
  ])) : vue.createCommentVNode("", true),
49207
49245
  vue.createElementVNode("div", {
49208
- class: vue.normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49246
+ class: vue.normalizeClass(["md:max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49209
49247
  }, [
49210
- vue.createElementVNode("h3", _hoisted_12$5, vue.toDisplayString(item.title), 1),
49248
+ vue.createElementVNode("h3", _hoisted_10$8, vue.toDisplayString(item.title), 1),
49211
49249
  vue.createElementVNode("p", {
49212
49250
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49213
49251
  innerHTML: item.supporting_text ?? item.description
49214
- }, null, 8, _hoisted_13$5),
49252
+ }, null, 8, _hoisted_11$7),
49215
49253
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (vue.openBlock(), vue.createElementBlock("a", {
49216
49254
  key: 0,
49217
49255
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49220,23 +49258,23 @@ ${escapeText(this.code(index, length))}
49220
49258
  }, [
49221
49259
  vue.createTextVNode(vue.toDisplayString(item.primary_button.label) + " ", 1),
49222
49260
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
49223
- ], 8, _hoisted_14$4)) : vue.createCommentVNode("", true)
49261
+ ], 8, _hoisted_12$5)) : vue.createCommentVNode("", true)
49224
49262
  ], 2)
49225
49263
  ], 64)) : (vue.openBlock(), vue.createElementBlock("img", {
49226
49264
  key: 1,
49227
49265
  src: item.image,
49228
49266
  alt: "Feature Image",
49229
49267
  class: "w-full h-full object-cover"
49230
- }, null, 8, _hoisted_15$3))
49268
+ }, null, 8, _hoisted_13$5))
49231
49269
  ], 2);
49232
49270
  }), 256))
49233
49271
  ], 2),
49234
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$1, [
49272
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$4, [
49235
49273
  vue.createElementVNode("img", {
49236
49274
  src: imageComponent.value.featured_image,
49237
49275
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49238
- class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49239
- }, null, 8, _hoisted_17$1)
49276
+ class: "rounded-br-[24px] rounded-tl-[24px] w-full object-cover"
49277
+ }, null, 8, _hoisted_15$3)
49240
49278
  ])) : vue.createCommentVNode("", true)
49241
49279
  ], 2)
49242
49280
  ]))
@@ -49595,7 +49633,7 @@ ${escapeText(this.code(index, length))}
49595
49633
  return section.value.components.filter((component) => component.type === "bullet_points");
49596
49634
  });
49597
49635
  vue.onMounted(() => {
49598
- if (leftColumn.value && rightColumn.value) {
49636
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49599
49637
  leftColumn.value.style.height = `${rightColumn.value.offsetHeight}px`;
49600
49638
  }
49601
49639
  });
@@ -49611,7 +49649,7 @@ ${escapeText(this.code(index, length))}
49611
49649
  ((_e = headerComponent.value) == null ? void 0 : _e.featured_image) ? (vue.openBlock(), vue.createElementBlock("img", {
49612
49650
  key: 0,
49613
49651
  src: (_f = headerComponent.value) == null ? void 0 : _f.featured_image,
49614
- class: "max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49652
+ class: "lg:max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49615
49653
  ref_key: "leftColumn",
49616
49654
  ref: leftColumn,
49617
49655
  alt: "Feature"