@designcrowd/library.brand-page 5.12.17 → 5.12.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-SuRBYEOK.js → CreatedOnBrandCrowd-de-de-BEJZW9EU.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-nRsOUZ3P.js → CreatedOnBrandCrowd-en-us-DnqipZ0K.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-ClBEtWuB.js → CreatedOnBrandCrowd-es-es-DPH6Tvc7.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-K4MC8Ylw.js → CreatedOnBrandCrowd-fr-fr-CwxOWdgN.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CVu8GWB4.js → CreatedOnBrandCrowd-pt-pt-HWDXi_vy.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-CKGT_xy8.js → CreatedOnDcom-de-de-DeDtODBP.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-DwqjHxyq.js → CreatedOnDcom-en-us-CdgFJhDz.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-BMx0XD9Y.js → CreatedOnDcom-es-es-Vt-agxSv.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-WgW2vbbI.js → CreatedOnDcom-fr-fr-CH_phXpq.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-BZJmhI7K.js → CreatedOnDcom-pt-pt-BKuQlzwh.js} +1 -1
  11. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -5
  12. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
  13. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -2
  14. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -2
  15. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -2
  16. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -2
  17. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -2
  18. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -2
  19. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +8 -1
  20. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -3
  21. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -5
  22. package/lib/src/index.mjs +1 -1
  23. package/lib/src/{lib-CiOvr9QV.js → lib-DjMCRkcx.js} +369 -376
  24. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -2
  25. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -2
  26. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -2
  27. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -2
  28. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -2
  29. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +0 -2
  30. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -2
  31. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -4
  32. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +3 -12
  33. package/lib/src/shared/template-settings/store/template-settings-store.d.ts +0 -4
  34. package/lib/src/shared/template-settings/store/template-settings-store.js +0 -4
  35. package/package.json +1 -1
  36. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
  37. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +8 -1
  38. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -7
  39. package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +3 -13
  40. package/src/shared/template-settings/store/template-settings-store.ts +0 -5
@@ -1,7 +1,7 @@
1
1
  var OO = Object.defineProperty;
2
2
  var $O = (e, t, n) => t in e ? OO(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var v1 = (e, t, n) => $O(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { createElementBlock as f, openBlock as C, normalizeClass as $, createCommentVNode as _, renderSlot as P1, createTextVNode as Re, resolveComponent as L, createBlock as A, withCtx as o1, createElementVNode as h, toDisplayString as x, createStaticVNode as T1, Fragment as S1, resolveDynamicComponent as S9, createVNode as V, mergeProps as Be, withDirectives as ot, vModelText as xo, renderList as I1, withModifiers as f1, normalizeStyle as w1, withKeys as e5, vShow as N2, resolveDirective as j7, defineComponent as n1, ref as me, onMounted as I2, onBeforeUpdate as BO, onUpdated as xk, onBeforeUnmount as L8, computed as I, provide as Ik, h as d3, watch as Qt, nextTick as Un, getCurrentInstance as L4, reactive as n2, shallowRef as ja, markRaw as Ek, customRef as DO, watchEffect as NO, unref as F, toRefs as RO, onUnmounted as Xp, onServerPrefetch as FO, isVNode as UO, onBeforeMount as ZO, isRef as wC, toRef as zO, useCssVars as qO, mergeModels as Zg, useModel as GO, vModelSelect as zg, createSlots as Ak } from "vue";
4
+ import { createElementBlock as f, openBlock as C, normalizeClass as $, createCommentVNode as _, renderSlot as P1, createTextVNode as Re, resolveComponent as L, createBlock as A, withCtx as o1, createElementVNode as h, toDisplayString as x, createStaticVNode as T1, Fragment as S1, resolveDynamicComponent as S9, createVNode as V, mergeProps as Be, withDirectives as ot, vModelText as xo, renderList as I1, withModifiers as f1, normalizeStyle as w1, withKeys as e5, vShow as N2, resolveDirective as j7, defineComponent as n1, ref as me, onMounted as I2, onBeforeUpdate as BO, onUpdated as xk, onBeforeUnmount as L8, computed as I, provide as Ik, h as d3, watch as Qt, nextTick as Un, getCurrentInstance as V4, reactive as n2, shallowRef as ja, markRaw as Ek, customRef as DO, watchEffect as NO, unref as F, toRefs as RO, onUnmounted as Xp, onServerPrefetch as FO, isVNode as UO, onBeforeMount as ZO, isRef as wC, toRef as zO, useCssVars as qO, mergeModels as Zg, useModel as GO, vModelSelect as zg, createSlots as Ak } from "vue";
5
5
  import WO from "vue-cropperjs";
6
6
  import * as At from "uuid";
7
7
  import { v4 as B3 } from "uuid";
@@ -4735,7 +4735,7 @@ const kC = {
4735
4735
  assertOptions: nD,
4736
4736
  validators: eh
4737
4737
  }, F9 = kC.validators;
4738
- let r8 = class {
4738
+ let i8 = class {
4739
4739
  constructor(t) {
4740
4740
  this.defaults = t, this.interceptors = {
4741
4741
  request: new gm(),
@@ -4830,7 +4830,7 @@ let r8 = class {
4830
4830
  }
4831
4831
  };
4832
4832
  k1.forEach(["delete", "get", "head", "options"], function(t) {
4833
- r8.prototype[t] = function(n, i) {
4833
+ i8.prototype[t] = function(n, i) {
4834
4834
  return this.request(P7(i || {}, {
4835
4835
  method: t,
4836
4836
  url: n,
@@ -4851,7 +4851,7 @@ k1.forEach(["post", "put", "patch"], function(t) {
4851
4851
  }));
4852
4852
  };
4853
4853
  }
4854
- r8.prototype[t] = n(), r8.prototype[t + "Form"] = n(!0);
4854
+ i8.prototype[t] = n(), i8.prototype[t + "Form"] = n(!0);
4855
4855
  });
4856
4856
  let iD = class sT {
4857
4857
  constructor(t) {
@@ -4997,13 +4997,13 @@ Object.entries(TC).forEach(([e, t]) => {
4997
4997
  TC[t] = e;
4998
4998
  });
4999
4999
  function oT(e) {
5000
- const t = new r8(e), n = Nk(r8.prototype.request, t);
5001
- return k1.extend(n, r8.prototype, t, { allOwnKeys: !0 }), k1.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
5000
+ const t = new i8(e), n = Nk(i8.prototype.request, t);
5001
+ return k1.extend(n, i8.prototype, t, { allOwnKeys: !0 }), k1.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
5002
5002
  return oT(P7(e, r));
5003
5003
  }, n;
5004
5004
  }
5005
5005
  const se = oT(qn);
5006
- se.Axios = r8;
5006
+ se.Axios = i8;
5007
5007
  se.CanceledError = Gn;
5008
5008
  se.CancelToken = iD;
5009
5009
  se.isCancel = tT;
@@ -5039,7 +5039,7 @@ const {
5039
5039
  formToJSON: zle,
5040
5040
  getAdapter: qle,
5041
5041
  mergeConfig: Gle
5042
- } = se, X4 = {
5042
+ } = se, Y4 = {
5043
5043
  BYO_LOGO_API_URL: "/maker/api",
5044
5044
  BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT: "/user-logos/logo-image",
5045
5045
  BYO_LOGO_API_SAVE_ENDPOINT: "/user-logos",
@@ -5056,7 +5056,7 @@ const oD = (e) => {
5056
5056
  try {
5057
5057
  const n = await Po()({
5058
5058
  method: "post",
5059
- url: X4.BYO_LOGO_API_URL + X4.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT,
5059
+ url: Y4.BYO_LOGO_API_URL + Y4.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT,
5060
5060
  data: t,
5061
5061
  headers: { "Content-Type": "multipart/form-data" }
5062
5062
  });
@@ -5068,12 +5068,12 @@ const oD = (e) => {
5068
5068
  try {
5069
5069
  const t = await Po()({
5070
5070
  method: "post",
5071
- url: X4.BYO_LOGO_API_URL + X4.BYO_LOGO_API_SAVE_ENDPOINT,
5071
+ url: Y4.BYO_LOGO_API_URL + Y4.BYO_LOGO_API_SAVE_ENDPOINT,
5072
5072
  data: e
5073
5073
  });
5074
5074
  return e.isPostPurchaseUserUpload ? { success: !0, response: await Po()({
5075
5075
  method: "post",
5076
- url: X4.BYO_LOGO_API_URL + X4.BYO_LOGO_API_LINK_TEMPLATE_ENDPOINT,
5076
+ url: Y4.BYO_LOGO_API_URL + Y4.BYO_LOGO_API_LINK_TEMPLATE_ENDPOINT,
5077
5077
  data: { logoTemplateToken: t.data.token }
5078
5078
  }) } : { success: !0, response: t };
5079
5079
  } catch (t) {
@@ -5089,7 +5089,7 @@ const oD = (e) => {
5089
5089
  limit: o
5090
5090
  }) => {
5091
5091
  try {
5092
- let a = `${X4.DOMAIN_NAME_SEARCH_API_URL}?keyword=${e}&userText=${encodeURIComponent(s)}`;
5092
+ let a = `${Y4.DOMAIN_NAME_SEARCH_API_URL}?keyword=${e}&userText=${encodeURIComponent(s)}`;
5093
5093
  return t && (a = `${a}&designDraftToken=${t}`), n && (a = `${a}&logoDraftToken=${n}`), i && (a = `${a}&isUserTriggered=${i}`), r && (a = `${a}&domainNameSearchOrigin=${r}`), o && (a = `${a}&limit=${o}`), (await Po()({
5094
5094
  method: "get",
5095
5095
  url: a
@@ -12094,11 +12094,11 @@ function jn1(e, t, n, i, r, s) {
12094
12094
  ], 2)
12095
12095
  ], 2);
12096
12096
  }
12097
- const H4 = /* @__PURE__ */ v(qn1, [["render", jn1]]), Kn1 = {
12097
+ const L4 = /* @__PURE__ */ v(qn1, [["render", jn1]]), Kn1 = {
12098
12098
  components: {
12099
12099
  Button: q1,
12100
12100
  Icon: ye,
12101
- HelloBar: H4
12101
+ HelloBar: L4
12102
12102
  },
12103
12103
  props: {
12104
12104
  logoData: {
@@ -15792,7 +15792,7 @@ function To1(e, t, n, i, r, s) {
15792
15792
  }, x(a.label), 11, ko1))), 128))
15793
15793
  ], 4));
15794
15794
  }
15795
- const x4 = /* @__PURE__ */ v(mo1, [["render", To1], ["__scopeId", "data-v-e39022cf"]]), Vo1 = {
15795
+ const H4 = /* @__PURE__ */ v(mo1, [["render", To1], ["__scopeId", "data-v-e39022cf"]]), Vo1 = {
15796
15796
  props: {
15797
15797
  tabNames: {
15798
15798
  type: Array,
@@ -16286,7 +16286,7 @@ function ea1(e) {
16286
16286
  function VC(e, t) {
16287
16287
  return t === void 0 && (t = 0), setTimeout(e, t);
16288
16288
  }
16289
- function s8() {
16289
+ function r8() {
16290
16290
  return Date.now();
16291
16291
  }
16292
16292
  function ta1(e) {
@@ -17565,7 +17565,7 @@ function Xa1(e) {
17565
17565
  allowTouchCallbacks: !0,
17566
17566
  isScrolling: void 0,
17567
17567
  startMoving: void 0
17568
- }), o.startX = g, o.startY = m, r.touchStartTime = s8(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, s.threshold > 0 && (r.allowThresholdMove = !1);
17568
+ }), o.startX = g, o.startY = m, r.touchStartTime = r8(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, s.threshold > 0 && (r.allowThresholdMove = !1);
17569
17569
  let y = !0;
17570
17570
  l.matches(r.focusableElements) && (y = !1, l.nodeName === "SELECT" && (r.isTouched = !1)), n.activeElement && n.activeElement.matches(r.focusableElements) && n.activeElement !== l && n.activeElement.blur();
17571
17571
  const b = y && t.allowTouchMove && s.touchStartPreventDefault;
@@ -17602,7 +17602,7 @@ function Ja1(e) {
17602
17602
  startY: u,
17603
17603
  currentX: c,
17604
17604
  currentY: u
17605
- }), i.touchStartTime = s8());
17605
+ }), i.touchStartTime = r8());
17606
17606
  return;
17607
17607
  }
17608
17608
  if (r.touchReleaseOnEdges && !r.loop) {
@@ -17708,12 +17708,12 @@ function Qa1(e) {
17708
17708
  return;
17709
17709
  }
17710
17710
  o.grabCursor && n.isMoved && n.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
17711
- const u = s8(), p = u - n.touchStartTime;
17711
+ const u = r8(), p = u - n.touchStartTime;
17712
17712
  if (t.allowClick) {
17713
17713
  const E = i.path || i.composedPath && i.composedPath();
17714
17714
  t.updateClickedSlide(E && E[0] || i.target, E), t.emit("tap click", i), p < 300 && u - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", i);
17715
17715
  }
17716
- if (n.lastClickTime = s8(), VC(() => {
17716
+ if (n.lastClickTime = r8(), VC(() => {
17717
17717
  t.destroyed || (t.allowClick = !0);
17718
17718
  }), !n.isTouched || !n.isMoved || !t.swipeDirection || a.diff === 0 && !n.loopSwapReset || n.currentTranslate === n.startTranslate && !n.loopSwapReset) {
17719
17719
  n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
@@ -19981,7 +19981,7 @@ function El1(e) {
19981
19981
  time: l.touchStartTime
19982
19982
  }), l.velocities.push({
19983
19983
  position: d[t.isHorizontal() ? "currentX" : "currentY"],
19984
- time: s8()
19984
+ time: r8()
19985
19985
  });
19986
19986
  }
19987
19987
  function a(l) {
@@ -19995,7 +19995,7 @@ function El1(e) {
19995
19995
  rtlTranslate: p,
19996
19996
  snapGrid: g,
19997
19997
  touchEventsData: m
19998
- } = t, b = s8() - m.touchStartTime;
19998
+ } = t, b = r8() - m.touchStartTime;
19999
19999
  if (d < -t.minTranslate()) {
20000
20000
  t.slideTo(t.activeIndex);
20001
20001
  return;
@@ -20007,7 +20007,7 @@ function El1(e) {
20007
20007
  if (c.freeMode.momentum) {
20008
20008
  if (m.velocities.length > 1) {
20009
20009
  const R = m.velocities.pop(), D = m.velocities.pop(), N = R.position - D.position, q = R.time - D.time;
20010
- t.velocity = N / q, t.velocity /= 2, Math.abs(t.velocity) < c.freeMode.minimumVelocity && (t.velocity = 0), (q > 150 || s8() - R.time > 300) && (t.velocity = 0);
20010
+ t.velocity = N / q, t.velocity /= 2, Math.abs(t.velocity) < c.freeMode.minimumVelocity && (t.velocity = 0), (q > 150 || r8() - R.time > 300) && (t.velocity = 0);
20011
20011
  } else
20012
20012
  t.velocity = 0;
20013
20013
  t.velocity *= c.freeMode.momentumVelocityRatio, m.velocities.length = 0;
@@ -21435,7 +21435,7 @@ const rh = /* @__PURE__ */ v(Ld1, [["render", xd1], ["__scopeId", "data-v-4cd691
21435
21435
  "pt-PT": () => import("./bundled-translations.pt-PT-BSmtPIMr.js")
21436
21436
  }, Wle = () => e2.createInstance(), tl = () => {
21437
21437
  var t;
21438
- const e = L4();
21438
+ const e = V4();
21439
21439
  return ((t = e == null ? void 0 : e.appContext.app) == null ? void 0 : t.i18next) || e2;
21440
21440
  }, mn = () => {
21441
21441
  const t = tl().language;
@@ -21457,7 +21457,7 @@ const rh = /* @__PURE__ */ v(Ld1, [["render", xd1], ["__scopeId", "data-v-4cd691
21457
21457
  ns: EC,
21458
21458
  ...t
21459
21459
  });
21460
- }, S6 = (e) => Q1(`model.${e}`), Ve = (e) => Q1(`common.${e}`), NT = (e) => Q1(`actionBar.${e}`), g5 = (e) => Q1(`brandPageSettings.${e}`), Id1 = (e) => Q1(`colorPalette.${e}`), RT = (e) => Q1(`navigation.${e}`), m2 = (e) => Q1(`converter.${e}`), G6 = (e) => Q1(`backgroundSettings.${e}`), AC = (e) => Q1(`colorPicker.${e}`), Ed1 = (e) => Q1(`colorReplacementField.${e}`), O = (e) => Q1(`contentSettings.${e}`), Ad1 = (e) => Q1(`formFields.${e}`), Pd1 = (e) => Q1(`genericTextInput.${e}`), Od1 = (e) => Q1(`imagesField.${e}`), $d1 = (e) => Q1(`linksField.${e}`), _5 = (e) => Q1(`paymentConfig.${e}`), Bd1 = (e) => Q1(`shapeField.${e}`), Dd1 = (e) => Q1(`testimonialItemsField.${e}`), Nd1 = (e) => Q1(`textField.${e}`), Rd1 = (e) => Q1(`textImageField.${e}`), Fd1 = (e) => Q1(`textItemsField.${e}`), D0 = (e) => Q1(`textStyleField.${e}`), Ud1 = (e) => Q1(`textAreaField.${e}`), Zd1 = (e) => Q1(`bookingUrlField.${e}`), zd1 = (e) => Q1(`productConfigOption.${e}`), PC = (e) => Q1(`editLogoSettings.${e}`), FT = (e, t = {}) => Q1(`myUploadSettings.${e}`, t), qd1 = (e) => Q1(`pageSettings.${e}`), l9 = (e) => Q1(`templateSettings.${e}`), P3 = (e) => Q1(`seoSettings.${e}`), L2 = (e) => Q1(`styleSettingsSection.${e}`), qd = (e) => Q1(`sensitiveContentSettings.${e}`), OC = (e) => Q1(`socialShare.${e}`), Gd = (e) => Q1(`cookieSettings.${e}`), Gd1 = (e) => Q1(`googleAnalytics.${e}`), Wd = (e) => Q1(`colorField.${e}`), N5 = (e) => Q1(`validator.${e}`), v3 = (e) => Q1(`constants.${e}`), zm = (e) => Q1(`layoutSwitcher.${e}`), Wd1 = (e) => Q1(`brandpageBackgroundSettings.${e}`), qm = (e) => Q1(`loginMessage.${e}`), Gm = (e) => Q1(`cookie.${e}`), qi = (e) => Q1(`logoSelectionSettings.${e}`), jd1 = (e) => Q1(`googleAddressField.${e}`), Kd1 = (e) => Q1(`myDesigns.${e}`), j0 = (e) => Q1(`pageSettings.${e}`), Yd1 = (e) => Q1(`shapeLibrary.${e}`), Et = (e, t = {}) => Q1(`error.${e}`, t), G8 = (e) => Q1(`dropzoneUploader.${e}`), Gi = (e) => Q1(`shop.${e}`), C4 = (e, t = {}) => Q1(`payment.${e}`, t), W8 = (e, t = {}) => Q1(`publishBrandPageModalWithState.${e}`, t), Xd1 = (e) => Q1(`existingDomainModal.${e}`), k0 = (e) => Q1(`uploadLogoModal.${e}`), G5 = (e, t = {}) => Q1(`sensitiveContentModal.${e}`, t, !0), $C = (e) => Q1(`quickLinkBar.${e}`), j8 = (e, t = {}) => Q1(`brandPageFooter.${e}`, t), c2 = (e) => Q1(`product.${e}`), Wm = (e) => Q1(`map.${e}`), Jd1 = (e) => Q1(`imagesSection.${e}`), nl = (e) => Q1(`imageGallery.${e}`), Qd1 = (e) => Q1(`newPageModal.${e}`), jd = (e, t = {}) => Q1(`personalisationOverride.${e}`, t), K8 = (e, t = {}) => Q1(`paymentModal.${e}`, t), ec1 = (e, t = {}) => Q1(`mailingList.${e}`, t), tc1 = (e, t = {}) => Q1(`deletePageModal.${e}`, t), UT = (e, t = {}) => Q1(`requestPaymentStripe.${e}`, t), F4 = (e, t = {}) => Q1(`productDetailModal.${e}`, t), nc1 = (e, t = {}) => Q1(`video.${e}`, t), ic1 = (e, t = {}) => Q1(`confirmModal.${e}`, t), N0 = () => {
21460
+ }, S6 = (e) => Q1(`model.${e}`), Ve = (e) => Q1(`common.${e}`), NT = (e) => Q1(`actionBar.${e}`), g5 = (e) => Q1(`brandPageSettings.${e}`), Id1 = (e) => Q1(`colorPalette.${e}`), RT = (e) => Q1(`navigation.${e}`), m2 = (e) => Q1(`converter.${e}`), G6 = (e) => Q1(`backgroundSettings.${e}`), AC = (e) => Q1(`colorPicker.${e}`), Ed1 = (e) => Q1(`colorReplacementField.${e}`), O = (e) => Q1(`contentSettings.${e}`), Ad1 = (e) => Q1(`formFields.${e}`), Pd1 = (e) => Q1(`genericTextInput.${e}`), Od1 = (e) => Q1(`imagesField.${e}`), $d1 = (e) => Q1(`linksField.${e}`), _5 = (e) => Q1(`paymentConfig.${e}`), Bd1 = (e) => Q1(`shapeField.${e}`), Dd1 = (e) => Q1(`testimonialItemsField.${e}`), Nd1 = (e) => Q1(`textField.${e}`), Rd1 = (e) => Q1(`textImageField.${e}`), Fd1 = (e) => Q1(`textItemsField.${e}`), D0 = (e) => Q1(`textStyleField.${e}`), Ud1 = (e) => Q1(`textAreaField.${e}`), Zd1 = (e) => Q1(`bookingUrlField.${e}`), zd1 = (e) => Q1(`productConfigOption.${e}`), PC = (e) => Q1(`editLogoSettings.${e}`), FT = (e, t = {}) => Q1(`myUploadSettings.${e}`, t), qd1 = (e) => Q1(`pageSettings.${e}`), l9 = (e) => Q1(`templateSettings.${e}`), P3 = (e) => Q1(`seoSettings.${e}`), L2 = (e) => Q1(`styleSettingsSection.${e}`), qd = (e) => Q1(`sensitiveContentSettings.${e}`), OC = (e) => Q1(`socialShare.${e}`), Gd = (e) => Q1(`cookieSettings.${e}`), Gd1 = (e) => Q1(`googleAnalytics.${e}`), Wd = (e) => Q1(`colorField.${e}`), N5 = (e) => Q1(`validator.${e}`), v3 = (e) => Q1(`constants.${e}`), zm = (e) => Q1(`layoutSwitcher.${e}`), Wd1 = (e) => Q1(`brandpageBackgroundSettings.${e}`), qm = (e) => Q1(`loginMessage.${e}`), Gm = (e) => Q1(`cookie.${e}`), qi = (e) => Q1(`logoSelectionSettings.${e}`), jd1 = (e) => Q1(`googleAddressField.${e}`), Kd1 = (e) => Q1(`myDesigns.${e}`), j0 = (e) => Q1(`pageSettings.${e}`), Yd1 = (e) => Q1(`shapeLibrary.${e}`), Et = (e, t = {}) => Q1(`error.${e}`, t), G8 = (e) => Q1(`dropzoneUploader.${e}`), Gi = (e) => Q1(`shop.${e}`), C4 = (e, t = {}) => Q1(`payment.${e}`, t), W8 = (e, t = {}) => Q1(`publishBrandPageModalWithState.${e}`, t), Xd1 = (e) => Q1(`existingDomainModal.${e}`), k0 = (e) => Q1(`uploadLogoModal.${e}`), G5 = (e, t = {}) => Q1(`sensitiveContentModal.${e}`, t, !0), $C = (e) => Q1(`quickLinkBar.${e}`), j8 = (e, t = {}) => Q1(`brandPageFooter.${e}`, t), c2 = (e) => Q1(`product.${e}`), Wm = (e) => Q1(`map.${e}`), Jd1 = (e) => Q1(`imagesSection.${e}`), nl = (e) => Q1(`imageGallery.${e}`), Qd1 = (e) => Q1(`newPageModal.${e}`), jd = (e, t = {}) => Q1(`personalisationOverride.${e}`, t), K8 = (e, t = {}) => Q1(`paymentModal.${e}`, t), ec1 = (e, t = {}) => Q1(`mailingList.${e}`, t), tc1 = (e, t = {}) => Q1(`deletePageModal.${e}`, t), UT = (e, t = {}) => Q1(`requestPaymentStripe.${e}`, t), R4 = (e, t = {}) => Q1(`productDetailModal.${e}`, t), nc1 = (e, t = {}) => Q1(`video.${e}`, t), ic1 = (e, t = {}) => Q1(`confirmModal.${e}`, t), N0 = () => {
21461
21461
  const t = tl().language;
21462
21462
  return sh.includes(t) ? t : w7;
21463
21463
  }, rc1 = "Titles", sc1 = "Headings", oc1 = "Paragraphs", ac1 = "Button Texts", lc1 = void 0, dc1 = void 0, cc1 = "2.25rem", oh = "1.5rem", j3 = "1rem", uc1 = "normal", jt = "1.1", n3 = "1.4", Te = "1.5", ZT = 12, zT = 12, ah = 128, qT = 0, GT = 100, WT = 1, jT = 2.5, KT = 200, YT = 1e3, Cc1 = 2e3, lh = () => Et("maxCharacters"), pc1 = () => Et("invalidUrlMessage"), hc1 = () => Et("testimonialEmpty"), fc1 = () => Et("textEmpty"), gc1 = "https://fonts.googleapis.com/css2", mc1 = "&display=swap", yc1 = "#000000", Ro = {
@@ -22588,12 +22588,12 @@ const g1 = {
22588
22588
  itemTextStyle: "itemTextStyle",
22589
22589
  buttonTextStyle: "buttonTextStyle",
22590
22590
  copyrightStyle: "copyrightStyle"
22591
- }, dt = "center", Wi = "0", Ch = "$", Sc1 = "USD", yn = "rgb(0,0,0)", Fo = "rgb(255,255,255)", _c1 = "Subscribe", d5 = "preview", S4 = "collapsed", vt = "centered", K3 = "left-aligned", f6 = "right-aligned", ph = "justified", m8 = "left-aligned-big-image", Kt = "center-card-aligned-image", k7 = "center-card-aligned", L5 = "left-card-aligned-image", BC = 3, j6 = {
22591
+ }, dt = "center", Wi = "0", Ch = "$", Sc1 = "USD", yn = "rgb(0,0,0)", Fo = "rgb(255,255,255)", _c1 = "Subscribe", d5 = "preview", v4 = "collapsed", vt = "centered", K3 = "left-aligned", f6 = "right-aligned", ph = "justified", m8 = "left-aligned-big-image", Kt = "center-card-aligned-image", k7 = "center-card-aligned", L5 = "left-card-aligned-image", BC = 3, j6 = {
22592
22592
  1: "1",
22593
22593
  2: "2",
22594
22594
  3: "3",
22595
22595
  4: "4"
22596
- }, o8 = "text-only", p6 = "left-aligned-full-image", Z3 = "right-aligned-full-image", DC = "alternate-image", s5 = "big-image", E5 = "media-only", Kd = "columns", rl = "100%", jm = {
22596
+ }, s8 = "text-only", p6 = "left-aligned-full-image", Z3 = "right-aligned-full-image", DC = "alternate-image", s5 = "big-image", E5 = "media-only", Kd = "columns", rl = "100%", jm = {
22597
22597
  FULL_HD: "q=80&w=1080",
22598
22598
  ULTRA_HD: "q=80&w=2160"
22599
22599
  }, J7 = "csrf-token", X1 = Object.freeze({
@@ -22601,7 +22601,7 @@ const g1 = {
22601
22601
  LogoBackgroundColor: "logo-background-color",
22602
22602
  LogoTextMultiColor: "logo-text-multi-color",
22603
22603
  LogoBackgroundMultiColor: "logo-background-multi-color"
22604
- }), Uo = 0.5, a8 = "3px 3px 0px 0px", l8 = "0px 3px 10px", Mc1 = 409, kc1 = () => Et("alreadySubscribedError"), Tc1 = () => Et("mailingListError"), Vc1 = () => Et("contactMessageError"), Yd = {}, XT = {
22604
+ }), Uo = 0.5, o8 = "3px 3px 0px 0px", a8 = "0px 3px 10px", Mc1 = 409, kc1 = () => Et("alreadySubscribedError"), Tc1 = () => Et("mailingListError"), Vc1 = () => Et("contactMessageError"), Yd = {}, XT = {
22605
22605
  Stripe: "Stripe"
22606
22606
  }, o9 = "Support Me Custom Amount", Lc1 = "index", NC = "slug", JT = "slug-pageSlug", QT = /\/asset\/shape\?/g, J6 = {
22607
22607
  LOGO_WITH_TRANSPARENT_BACKGROUND: 0,
@@ -23260,7 +23260,7 @@ function Ac1() {
23260
23260
  string: new w3()
23261
23261
  };
23262
23262
  }
23263
- function B4(U) {
23263
+ function $4(U) {
23264
23264
  return P8(this, U).delete(U);
23265
23265
  }
23266
23266
  function Ce(U) {
@@ -23272,7 +23272,7 @@ function Ac1() {
23272
23272
  function r1(U, p1) {
23273
23273
  return P8(this, U).set(U, p1), this;
23274
23274
  }
23275
- e6.prototype.clear = U5, e6.prototype.delete = B4, e6.prototype.get = Ce, e6.prototype.has = X, e6.prototype.set = r1;
23275
+ e6.prototype.clear = U5, e6.prototype.delete = $4, e6.prototype.get = Ce, e6.prototype.has = X, e6.prototype.set = r1;
23276
23276
  function oe(U) {
23277
23277
  this.__data__ = new r3(U);
23278
23278
  }
@@ -23919,7 +23919,7 @@ class Q7 {
23919
23919
  ), this.logoStyles = new oV(t.logoStyles), this.textStyles = t.textStyles ? new wn(t.textStyles) : wn.GetDefaultTextStyle(), this.galleryStyles = new lV(t.galleryStyles);
23920
23920
  }
23921
23921
  }
23922
- const _4 = {
23922
+ const S4 = {
23923
23923
  Default: "",
23924
23924
  "1:1": "1/1",
23925
23925
  "16:9": "16/9",
@@ -23929,7 +23929,7 @@ const _4 = {
23929
23929
  "4:3": "4/3",
23930
23930
  "3:4": "3/4",
23931
23931
  circle: "50%"
23932
- }, U4 = {
23932
+ }, F4 = {
23933
23933
  text: "text",
23934
23934
  email: "email",
23935
23935
  phone: "phone",
@@ -24360,7 +24360,7 @@ const N3 = {
24360
24360
  hasShadow: !0,
24361
24361
  uiStyle: {
24362
24362
  backgroundColor: "#ffffff",
24363
- boxShadow: `${a8} rgba(0,0,0,0.5)`
24363
+ boxShadow: `${o8} rgba(0,0,0,0.5)`
24364
24364
  },
24365
24365
  style: {
24366
24366
  borderRadius: "0",
@@ -24383,7 +24383,7 @@ const N3 = {
24383
24383
  hasShadow: !0,
24384
24384
  uiStyle: {
24385
24385
  backgroundColor: "#ffffff",
24386
- boxShadow: `${a8} rgba(0,0,0,0.5)`
24386
+ boxShadow: `${o8} rgba(0,0,0,0.5)`
24387
24387
  },
24388
24388
  style: {
24389
24389
  borderRadius: "8px",
@@ -24406,7 +24406,7 @@ const N3 = {
24406
24406
  hasShadow: !0,
24407
24407
  uiStyle: {
24408
24408
  backgroundColor: "#ffffff",
24409
- boxShadow: `${a8} rgba(0,0,0,0.5)`
24409
+ boxShadow: `${o8} rgba(0,0,0,0.5)`
24410
24410
  },
24411
24411
  style: {
24412
24412
  borderRadius: "48px",
@@ -24532,7 +24532,7 @@ const N3 = {
24532
24532
  hasSoftShadow: !0,
24533
24533
  uiStyle: {
24534
24534
  backgroundColor: "#ffffff",
24535
- boxShadow: `${l8} rgba(0,0,0,0.5)`
24535
+ boxShadow: `${a8} rgba(0,0,0,0.5)`
24536
24536
  },
24537
24537
  style: {
24538
24538
  borderRadius: "0",
@@ -24551,7 +24551,7 @@ const N3 = {
24551
24551
  hasSoftShadow: !0,
24552
24552
  uiStyle: {
24553
24553
  backgroundColor: "#ffffff",
24554
- boxShadow: `${l8} rgba(0,0,0,0.5)`
24554
+ boxShadow: `${a8} rgba(0,0,0,0.5)`
24555
24555
  },
24556
24556
  style: {
24557
24557
  borderRadius: "8px",
@@ -24570,7 +24570,7 @@ const N3 = {
24570
24570
  hasSoftShadow: !0,
24571
24571
  uiStyle: {
24572
24572
  backgroundColor: "#ffffff",
24573
- boxShadow: `${l8} rgba(0,0,0,0.5)`
24573
+ boxShadow: `${a8} rgba(0,0,0,0.5)`
24574
24574
  },
24575
24575
  style: {
24576
24576
  borderRadius: "48px",
@@ -24718,7 +24718,7 @@ function Rc1() {
24718
24718
  }
24719
24719
  var Fc1 = Rc1();
24720
24720
  const t2 = /* @__PURE__ */ B6(Fc1), RC = /^\s*(?:\d+px\s*)+\s(.+)$/i, bn = (e) => /^#([a-f0-9]{3}){1,2}$/i.test(e), sl = (e) => /^(rgb).*/.test(e);
24721
- function M4(e, t = 1) {
24721
+ function _4(e, t = 1) {
24722
24722
  let n = null;
24723
24723
  if (bn(e))
24724
24724
  return n = e.substring(1).split(""), n.length === 3 && (n = [n[0], n[0], n[1], n[1], n[2], n[2]]), n = `0x${n.join("")}`, `rgba(${[n >> 16 & 255, n >> 8 & 255, n & 255].join(
@@ -25808,10 +25808,10 @@ const ey = (e, t, n) => {
25808
25808
  });
25809
25809
  return i[0] * 0.2126 + i[1] * 0.7152 + i[2] * 0.0722;
25810
25810
  }, zC = (e, t) => {
25811
- const n = M4(e).replace(/[^\d,]/g, "").split(","), i = M4(t).replace(/[^\d,]/g, "").split(","), r = ey(n[0], n[1], n[2]), s = ey(i[0], i[1], i[2]);
25811
+ const n = _4(e).replace(/[^\d,]/g, "").split(","), i = _4(t).replace(/[^\d,]/g, "").split(","), r = ey(n[0], n[1], n[2]), s = ey(i[0], i[1], i[2]);
25812
25812
  return r > s ? (s + 0.05) / (r + 0.05) : (r + 0.05) / (s + 0.05);
25813
25813
  }, y9 = (e) => e.trim().substring(7, 9) === "00", Sn = (e) => e.trim().substring(0, 7), zo = (e) => `${Sn(e)}00`, ty = (e, t) => `${Sn(e)}${Math.round(t * 255).toString(16)}`, ny = (e, t) => {
25814
- qc1(e) && (e = M4(e));
25814
+ qc1(e) && (e = _4(e));
25815
25815
  const n = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d\.]+)\s*)?\)/i.exec(
25816
25816
  e
25817
25817
  );
@@ -26181,10 +26181,10 @@ function au1() {
26181
26181
  return [j, d1, u1, _1];
26182
26182
  }
26183
26183
  throw new Error("unknown hex color: " + k);
26184
- }, U5 = e6, B4 = R, Ce = B, X = y.type, r1 = b, oe = s3;
26184
+ }, U5 = e6, $4 = R, Ce = B, X = y.type, r1 = b, oe = s3;
26185
26185
  Ce.prototype.hex = function(k) {
26186
26186
  return oe(this._rgb, k);
26187
- }, B4.hex = function() {
26187
+ }, $4.hex = function() {
26188
26188
  for (var k = [], H = arguments.length; H--; ) k[H] = arguments[H];
26189
26189
  return new (Function.prototype.bind.apply(Ce, [null].concat(k, ["hex"])))();
26190
26190
  }, r1.format.hex = U5, r1.autodetect.push({
@@ -26689,14 +26689,14 @@ function au1() {
26689
26689
  hP.prototype.clipped = function() {
26690
26690
  return this._rgb._clipped || !1;
26691
26691
  };
26692
- var D4 = B, fP = O8;
26693
- D4.prototype.darken = function(k) {
26692
+ var B4 = B, fP = O8;
26693
+ B4.prototype.darken = function(k) {
26694
26694
  k === void 0 && (k = 1);
26695
26695
  var H = this, P = H.lab();
26696
- return P[0] -= fP.Kn * k, new D4(P, "lab").alpha(H.alpha(), !0);
26697
- }, D4.prototype.brighten = function(k) {
26696
+ return P[0] -= fP.Kn * k, new B4(P, "lab").alpha(H.alpha(), !0);
26697
+ }, B4.prototype.brighten = function(k) {
26698
26698
  return k === void 0 && (k = 1), this.darken(-k);
26699
- }, D4.prototype.darker = D4.prototype.darken, D4.prototype.brighter = D4.prototype.brighten;
26699
+ }, B4.prototype.darker = B4.prototype.darken, B4.prototype.brighter = B4.prototype.brighten;
26700
26700
  var gP = B;
26701
26701
  gP.prototype.get = function(k) {
26702
26702
  var H = k.split("."), P = H[0], Z = H[1], Y = this[P]();
@@ -27275,14 +27275,14 @@ function au1() {
27275
27275
  R9[Z8] = [];
27276
27276
  for (var z8 = 0; z8 < it; z8++)
27277
27277
  Ye = Ct[z8], R9[Ye].push(e1[z8]);
27278
- for (var q5 = [], N4 = 0; N4 < P; N4++)
27279
- q5.push(R9[N4][0]), q5.push(R9[N4][R9[N4].length - 1]);
27278
+ for (var q5 = [], D4 = 0; D4 < P; D4++)
27279
+ q5.push(R9[D4][0]), q5.push(R9[D4][R9[D4].length - 1]);
27280
27280
  q5 = q5.sort(function(Ld, Hd) {
27281
27281
  return Ld - Hd;
27282
27282
  }), j.push(q5[0]);
27283
27283
  for (var v0 = 1; v0 < q5.length; v0 += 2) {
27284
- var R4 = q5[v0];
27285
- !isNaN(R4) && j.indexOf(R4) === -1 && j.push(R4);
27284
+ var N4 = q5[v0];
27285
+ !isNaN(N4) && j.indexOf(N4) === -1 && j.push(N4);
27286
27286
  }
27287
27287
  }
27288
27288
  return j;
@@ -27292,15 +27292,15 @@ function au1() {
27292
27292
  return P > Z ? (P + 0.05) / (Z + 0.05) : (Z + 0.05) / (P + 0.05);
27293
27293
  }, Ag = B, z5 = Math.sqrt, w2 = Math.pow, kO = Math.min, TO = Math.max, Pg = Math.atan2, Og = Math.abs, $i = Math.cos, $g = Math.sin, VO = Math.exp, Bg = Math.PI, LO = function(k, H, P, Z, Y) {
27294
27294
  P === void 0 && (P = 1), Z === void 0 && (Z = 1), Y === void 0 && (Y = 1);
27295
- var e1 = function(R4) {
27296
- return 360 * R4 / (2 * Bg);
27297
- }, j = function(R4) {
27298
- return 2 * Bg * R4 / 360;
27295
+ var e1 = function(N4) {
27296
+ return 360 * N4 / (2 * Bg);
27297
+ }, j = function(N4) {
27298
+ return 2 * Bg * N4 / 360;
27299
27299
  };
27300
27300
  k = new Ag(k), H = new Ag(H);
27301
27301
  var d1 = Array.from(k.lab()), u1 = d1[0], _1 = d1[1], E1 = d1[2], ne = Array.from(H.lab()), B1 = ne[0], ue = ne[1], ce = ne[2], Ye = (u1 + B1) / 2, it = z5(w2(_1, 2) + w2(E1, 2)), Ct = z5(w2(ue, 2) + w2(ce, 2)), yt = (it + Ct) / 2, j2 = 0.5 * (1 - z5(w2(yt, 7) / (w2(yt, 7) + w2(25, 7)))), O2 = _1 * (1 + j2), E3 = ue * (1 + j2), lt = z5(w2(O2, 2) + w2(E1, 2)), D1 = z5(w2(E3, 2) + w2(ce, 2)), Le = (lt + D1) / 2, et = e1(Pg(E1, O2)), Xe = e1(Pg(ce, E3)), K2 = et >= 0 ? et : et + 360, Ut = Xe >= 0 ? Xe : Xe + 360, pt = Og(K2 - Ut) > 180 ? (K2 + Ut + 360) / 2 : (K2 + Ut) / 2, Mt = 1 - 0.17 * $i(j(pt - 30)) + 0.24 * $i(j(2 * pt)) + 0.32 * $i(j(3 * pt + 6)) - 0.2 * $i(j(4 * pt - 63)), kt = Ut - K2;
27302
27302
  kt = Og(kt) <= 180 ? kt : Ut <= K2 ? kt + 360 : kt - 360, kt = 2 * z5(lt * D1) * $g(j(kt) / 2);
27303
- var It = B1 - u1, q6 = D1 - lt, N9 = 1 + 0.015 * w2(Ye - 50, 2) / z5(20 + w2(Ye - 50, 2)), R9 = 1 + 0.045 * Le, Z8 = 1 + 0.015 * Le * Mt, z8 = 30 * VO(-w2((pt - 275) / 25, 2)), q5 = 2 * z5(w2(Le, 7) / (w2(Le, 7) + w2(25, 7))), N4 = -q5 * $g(2 * j(z8)), v0 = z5(w2(It / (P * N9), 2) + w2(q6 / (Z * R9), 2) + w2(kt / (Y * Z8), 2) + N4 * (q6 / (Z * R9)) * (kt / (Y * Z8)));
27303
+ var It = B1 - u1, q6 = D1 - lt, N9 = 1 + 0.015 * w2(Ye - 50, 2) / z5(20 + w2(Ye - 50, 2)), R9 = 1 + 0.045 * Le, Z8 = 1 + 0.015 * Le * Mt, z8 = 30 * VO(-w2((pt - 275) / 25, 2)), q5 = 2 * z5(w2(Le, 7) / (w2(Le, 7) + w2(25, 7))), D4 = -q5 * $g(2 * j(z8)), v0 = z5(w2(It / (P * N9), 2) + w2(q6 / (Z * R9), 2) + w2(kt / (Y * Z8), 2) + D4 * (q6 / (Z * R9)) * (kt / (Y * Z8)));
27304
27304
  return TO(0, kO(100, v0));
27305
27305
  }, Dg = B, HO = function(k, H, P) {
27306
27306
  P === void 0 && (P = "lab"), k = new Dg(k), H = new Dg(H);
@@ -27954,7 +27954,7 @@ function SV() {
27954
27954
  }
27955
27955
  }
27956
27956
  s3(q.afterSanitizeAttributes, X, null);
27957
- }, B4 = function Ce(X) {
27957
+ }, $4 = function Ce(X) {
27958
27958
  let r1 = null;
27959
27959
  const oe = r3(X);
27960
27960
  for (s3(q.beforeSanitizeShadowDOM, X, null); r1 = oe.nextNode(); )
@@ -27989,7 +27989,7 @@ function SV() {
27989
27989
  r1 && z && G2(r1.firstChild);
27990
27990
  const xe = r3(O1 ? Ce : r1);
27991
27991
  for (; _t = xe.nextNode(); )
27992
- I9(_t), U5(_t), _t.content instanceof s && B4(_t.content);
27992
+ I9(_t), U5(_t), _t.content instanceof s && $4(_t.content);
27993
27993
  if (O1)
27994
27994
  return Ce;
27995
27995
  if (W) {
@@ -28756,7 +28756,7 @@ const tC1 = () => (rc || (rc = Wu1), rc), nC1 = (e) => rC1(e, tC1()), iC1 = (e)
28756
28756
  i.logoStyles.backgroundStyle.backgroundColor = MV(e, o);
28757
28757
  }
28758
28758
  return { styles: i, isModified: n };
28759
- }, J4 = (e, t) => {
28759
+ }, X4 = (e, t) => {
28760
28760
  const { styles: n, isModified: i } = LV(e, t.styles), { pages: r, isModified: s } = TV(
28761
28761
  e,
28762
28762
  t.pages
@@ -28866,7 +28866,7 @@ const tC1 = () => (rc || (rc = Wu1), rc), nC1 = (e) => rC1(e, tC1()), iC1 = (e)
28866
28866
  },
28867
28867
  {}
28868
28868
  );
28869
- }, k4 = ({
28869
+ }, M4 = ({
28870
28870
  backgroundColors: e,
28871
28871
  textColors: t
28872
28872
  }) => {
@@ -28880,7 +28880,7 @@ const tC1 = () => (rc || (rc = Wu1), rc), nC1 = (e) => rC1(e, tC1()), iC1 = (e)
28880
28880
  style: e.style,
28881
28881
  selectedButtonStyleId: e.selectedButtonStyleId
28882
28882
  });
28883
- function Q4() {
28883
+ function J4() {
28884
28884
  if (process.env.NODE_ENV !== "production")
28885
28885
  throw new Error("This method should never be triggered");
28886
28886
  }
@@ -29526,10 +29526,10 @@ const su = /* @__PURE__ */ B6(np1), EV = (e) => {
29526
29526
  if (bn(e.style.boxShadow))
29527
29527
  if (e.selectedButtonStyleId === "BUTTON_STYLE_16" || e.selectedButtonStyleId === "BUTTON_STYLE_17" || e.selectedButtonStyleId === "BUTTON_STYLE_18") {
29528
29528
  const n = ny(e.style.boxShadow, Uo);
29529
- t = `${l8} ${n}`;
29529
+ t = `${a8} ${n}`;
29530
29530
  } else {
29531
29531
  const n = ny(e.style.boxShadow, Uo);
29532
- t = `${a8} ${n}`;
29532
+ t = `${o8} ${n}`;
29533
29533
  }
29534
29534
  else
29535
29535
  t = e.style.boxShadow;
@@ -30184,7 +30184,7 @@ const su = /* @__PURE__ */ B6(np1), EV = (e) => {
30184
30184
  titleStyle: n.titleStyle
30185
30185
  });
30186
30186
  default:
30187
- Q4();
30187
+ J4();
30188
30188
  }
30189
30189
  }, Y0 = (e, t, n = !0) => {
30190
30190
  var r, s;
@@ -32615,12 +32615,12 @@ function Sh1() {
32615
32615
  e.exports = t.default, e.exports.default = t.default;
32616
32616
  }(as, as.exports)), as.exports;
32617
32617
  }
32618
- var ls = { exports: {} }, Z4 = {}, Db;
32618
+ var ls = { exports: {} }, U4 = {}, Db;
32619
32619
  function cL() {
32620
- if (Db) return Z4;
32621
- Db = 1, Object.defineProperty(Z4, "__esModule", {
32620
+ if (Db) return U4;
32621
+ Db = 1, Object.defineProperty(U4, "__esModule", {
32622
32622
  value: !0
32623
- }), Z4.iso7064Check = e, Z4.luhnCheck = t, Z4.reverseMultiplyAndSum = n, Z4.verhoeffCheck = i;
32623
+ }), U4.iso7064Check = e, U4.luhnCheck = t, U4.reverseMultiplyAndSum = n, U4.verhoeffCheck = i;
32624
32624
  function e(r) {
32625
32625
  for (var s = 10, o = 0; o < r.length - 1; o++)
32626
32626
  s = (parseInt(r[o], 10) + s) % 10 === 0 ? 20 % 11 : (parseInt(r[o], 10) + s) % 10 * 2 % 11;
@@ -32651,7 +32651,7 @@ function cL() {
32651
32651
  l = s[l][o[d % 8][parseInt(a[d], 10)]];
32652
32652
  return l === 0;
32653
32653
  }
32654
- return Z4;
32654
+ return U4;
32655
32655
  }
32656
32656
  var Nb;
32657
32657
  function _h1() {
@@ -34748,7 +34748,7 @@ function Jh1() {
34748
34748
  Object.defineProperty(t, "__esModule", {
34749
34749
  value: !0
34750
34750
  }), t.default = void 0;
34751
- var i = r1(/* @__PURE__ */ kh()), r = r1(/* @__PURE__ */ JV()), s = r1(/* @__PURE__ */ Vp1()), o = r1(/* @__PURE__ */ Lp1()), a = r1(/* @__PURE__ */ Hp1()), l = r1(/* @__PURE__ */ xp1()), d = r1(/* @__PURE__ */ Ip1()), c = r1(/* @__PURE__ */ tL()), u = r1(/* @__PURE__ */ nL()), p = r1(/* @__PURE__ */ Ep1()), g = r1(/* @__PURE__ */ fl()), m = r1(/* @__PURE__ */ Ap1()), y = r1(/* @__PURE__ */ Th()), b = r1(/* @__PURE__ */ iL()), w = r1(/* @__PURE__ */ Pp1()), S = r1(/* @__PURE__ */ Op1()), M = r1(/* @__PURE__ */ $p1()), T = X(/* @__PURE__ */ Bp1()), E = X(/* @__PURE__ */ Dp1()), B = r1(/* @__PURE__ */ Np1()), K = r1(/* @__PURE__ */ Rp1()), R = r1(/* @__PURE__ */ Fp1()), D = r1(/* @__PURE__ */ Up1()), N = r1(/* @__PURE__ */ Zp1()), q = r1(/* @__PURE__ */ zp1()), c1 = r1(/* @__PURE__ */ qp1()), Q = r1(/* @__PURE__ */ rL()), h1 = r1(/* @__PURE__ */ sL()), F1 = r1(/* @__PURE__ */ Gp1()), G1 = r1(/* @__PURE__ */ Wp1()), de = r1(/* @__PURE__ */ Kp1()), j1 = r1(/* @__PURE__ */ Yp1()), Me = r1(/* @__PURE__ */ Vh()), K1 = X(/* @__PURE__ */ XV()), ee = r1(/* @__PURE__ */ Jp1()), ke = r1(/* @__PURE__ */ oL()), J1 = r1(/* @__PURE__ */ Qp1()), Ke = r1(/* @__PURE__ */ eh1()), we = r1(/* @__PURE__ */ uV()), Qe = r1(/* @__PURE__ */ th1()), be = r1(/* @__PURE__ */ nh1()), Ae = r1(/* @__PURE__ */ ih1()), De = X(/* @__PURE__ */ rh1()), St = r1(/* @__PURE__ */ sh1()), at = r1(/* @__PURE__ */ oh1()), Fe = r1(/* @__PURE__ */ ah1()), mt = r1(/* @__PURE__ */ lh1()), nt = r1(/* @__PURE__ */ dh1()), Ht = r1(/* @__PURE__ */ ch1()), z = r1(/* @__PURE__ */ uh1()), W = r1(/* @__PURE__ */ eL()), l1 = r1(/* @__PURE__ */ Ch1()), H1 = r1(/* @__PURE__ */ ph1()), b1 = r1(/* @__PURE__ */ hh1()), a1 = r1(/* @__PURE__ */ fh1()), t1 = r1(/* @__PURE__ */ gh1()), A1 = r1(/* @__PURE__ */ dL()), O1 = r1(/* @__PURE__ */ mh1()), N1 = r1(/* @__PURE__ */ yh1()), Ue = r1(/* @__PURE__ */ wh1()), Pe = r1(/* @__PURE__ */ bh1()), We = r1(/* @__PURE__ */ vh1()), ft = r1(/* @__PURE__ */ Sh1()), C1 = r1(/* @__PURE__ */ _h1()), V1 = X(/* @__PURE__ */ Mh1()), W1 = r1(/* @__PURE__ */ kh1()), He = r1(/* @__PURE__ */ Th1()), G = r1(/* @__PURE__ */ Vh1()), s1 = /* @__PURE__ */ Lh1(), Z1 = r1(/* @__PURE__ */ Hh1()), fe = r1(/* @__PURE__ */ xh1()), L1 = r1(/* @__PURE__ */ Ih1()), ct = r1(/* @__PURE__ */ aL()), ut = r1(/* @__PURE__ */ Eh1()), s2 = r1(/* @__PURE__ */ Ah1()), f2 = r1(/* @__PURE__ */ Ph1()), m3 = r1(/* @__PURE__ */ Oh1()), R6 = r1(/* @__PURE__ */ lL()), xt = r1(/* @__PURE__ */ $h1()), M2 = r1(/* @__PURE__ */ Bh1()), F5 = r1(/* @__PURE__ */ Dh1()), Q3 = r1(/* @__PURE__ */ Nh1()), y3 = r1(/* @__PURE__ */ Rh1()), w3 = X(/* @__PURE__ */ Fh1()), V9 = r1(/* @__PURE__ */ CL()), L9 = r1(/* @__PURE__ */ uL()), G2 = r1(/* @__PURE__ */ pL()), m6 = r1(/* @__PURE__ */ Uh1()), H9 = r1(/* @__PURE__ */ Zh1()), r3 = r1(/* @__PURE__ */ zh1()), y6 = r1(/* @__PURE__ */ qh1()), x9 = r1(/* @__PURE__ */ hL()), s3 = r1(/* @__PURE__ */ Gh1()), I9 = r1(/* @__PURE__ */ Wh1()), E9 = r1(/* @__PURE__ */ jh1()), e6 = r1(/* @__PURE__ */ Kh1()), U5 = r1(/* @__PURE__ */ Yh1()), B4 = r1(/* @__PURE__ */ Xh1());
34751
+ var i = r1(/* @__PURE__ */ kh()), r = r1(/* @__PURE__ */ JV()), s = r1(/* @__PURE__ */ Vp1()), o = r1(/* @__PURE__ */ Lp1()), a = r1(/* @__PURE__ */ Hp1()), l = r1(/* @__PURE__ */ xp1()), d = r1(/* @__PURE__ */ Ip1()), c = r1(/* @__PURE__ */ tL()), u = r1(/* @__PURE__ */ nL()), p = r1(/* @__PURE__ */ Ep1()), g = r1(/* @__PURE__ */ fl()), m = r1(/* @__PURE__ */ Ap1()), y = r1(/* @__PURE__ */ Th()), b = r1(/* @__PURE__ */ iL()), w = r1(/* @__PURE__ */ Pp1()), S = r1(/* @__PURE__ */ Op1()), M = r1(/* @__PURE__ */ $p1()), T = X(/* @__PURE__ */ Bp1()), E = X(/* @__PURE__ */ Dp1()), B = r1(/* @__PURE__ */ Np1()), K = r1(/* @__PURE__ */ Rp1()), R = r1(/* @__PURE__ */ Fp1()), D = r1(/* @__PURE__ */ Up1()), N = r1(/* @__PURE__ */ Zp1()), q = r1(/* @__PURE__ */ zp1()), c1 = r1(/* @__PURE__ */ qp1()), Q = r1(/* @__PURE__ */ rL()), h1 = r1(/* @__PURE__ */ sL()), F1 = r1(/* @__PURE__ */ Gp1()), G1 = r1(/* @__PURE__ */ Wp1()), de = r1(/* @__PURE__ */ Kp1()), j1 = r1(/* @__PURE__ */ Yp1()), Me = r1(/* @__PURE__ */ Vh()), K1 = X(/* @__PURE__ */ XV()), ee = r1(/* @__PURE__ */ Jp1()), ke = r1(/* @__PURE__ */ oL()), J1 = r1(/* @__PURE__ */ Qp1()), Ke = r1(/* @__PURE__ */ eh1()), we = r1(/* @__PURE__ */ uV()), Qe = r1(/* @__PURE__ */ th1()), be = r1(/* @__PURE__ */ nh1()), Ae = r1(/* @__PURE__ */ ih1()), De = X(/* @__PURE__ */ rh1()), St = r1(/* @__PURE__ */ sh1()), at = r1(/* @__PURE__ */ oh1()), Fe = r1(/* @__PURE__ */ ah1()), mt = r1(/* @__PURE__ */ lh1()), nt = r1(/* @__PURE__ */ dh1()), Ht = r1(/* @__PURE__ */ ch1()), z = r1(/* @__PURE__ */ uh1()), W = r1(/* @__PURE__ */ eL()), l1 = r1(/* @__PURE__ */ Ch1()), H1 = r1(/* @__PURE__ */ ph1()), b1 = r1(/* @__PURE__ */ hh1()), a1 = r1(/* @__PURE__ */ fh1()), t1 = r1(/* @__PURE__ */ gh1()), A1 = r1(/* @__PURE__ */ dL()), O1 = r1(/* @__PURE__ */ mh1()), N1 = r1(/* @__PURE__ */ yh1()), Ue = r1(/* @__PURE__ */ wh1()), Pe = r1(/* @__PURE__ */ bh1()), We = r1(/* @__PURE__ */ vh1()), ft = r1(/* @__PURE__ */ Sh1()), C1 = r1(/* @__PURE__ */ _h1()), V1 = X(/* @__PURE__ */ Mh1()), W1 = r1(/* @__PURE__ */ kh1()), He = r1(/* @__PURE__ */ Th1()), G = r1(/* @__PURE__ */ Vh1()), s1 = /* @__PURE__ */ Lh1(), Z1 = r1(/* @__PURE__ */ Hh1()), fe = r1(/* @__PURE__ */ xh1()), L1 = r1(/* @__PURE__ */ Ih1()), ct = r1(/* @__PURE__ */ aL()), ut = r1(/* @__PURE__ */ Eh1()), s2 = r1(/* @__PURE__ */ Ah1()), f2 = r1(/* @__PURE__ */ Ph1()), m3 = r1(/* @__PURE__ */ Oh1()), R6 = r1(/* @__PURE__ */ lL()), xt = r1(/* @__PURE__ */ $h1()), M2 = r1(/* @__PURE__ */ Bh1()), F5 = r1(/* @__PURE__ */ Dh1()), Q3 = r1(/* @__PURE__ */ Nh1()), y3 = r1(/* @__PURE__ */ Rh1()), w3 = X(/* @__PURE__ */ Fh1()), V9 = r1(/* @__PURE__ */ CL()), L9 = r1(/* @__PURE__ */ uL()), G2 = r1(/* @__PURE__ */ pL()), m6 = r1(/* @__PURE__ */ Uh1()), H9 = r1(/* @__PURE__ */ Zh1()), r3 = r1(/* @__PURE__ */ zh1()), y6 = r1(/* @__PURE__ */ qh1()), x9 = r1(/* @__PURE__ */ hL()), s3 = r1(/* @__PURE__ */ Gh1()), I9 = r1(/* @__PURE__ */ Wh1()), E9 = r1(/* @__PURE__ */ jh1()), e6 = r1(/* @__PURE__ */ Kh1()), U5 = r1(/* @__PURE__ */ Yh1()), $4 = r1(/* @__PURE__ */ Xh1());
34752
34752
  function Ce() {
34753
34753
  if (typeof WeakMap != "function") return null;
34754
34754
  var xe = /* @__PURE__ */ new WeakMap();
@@ -34881,7 +34881,7 @@ function Jh1() {
34881
34881
  isDate: b.default,
34882
34882
  isTime: w.default,
34883
34883
  isLicensePlate: e6.default,
34884
- isVAT: B4.default,
34884
+ isVAT: $4.default,
34885
34885
  ibanLocales: De.locales
34886
34886
  }, i2 = _t;
34887
34887
  t.default = i2, e.exports = t.default, e.exports.default = t.default;
@@ -34944,8 +34944,8 @@ const Qh1 = /* @__PURE__ */ B6(Lh), Hh = (e) => typeof e == "string" || e instan
34944
34944
  default:
34945
34945
  return null;
34946
34946
  }
34947
- }, ou = _4["1:1"], af1 = "2", wL = (e, t, n) => {
34948
- const i = _4[n];
34947
+ }, ou = S4["1:1"], af1 = "2", wL = (e, t, n) => {
34948
+ const i = S4[n];
34949
34949
  return n === "circle" ? {
34950
34950
  aspectRatio: ou,
34951
34951
  borderRadius: i
@@ -36896,7 +36896,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
36896
36896
  applyLogoTemplateImageToBrandPageViewModel: kp1,
36897
36897
  applyLogoThemeToBrandPageFooterStyles: JC,
36898
36898
  applyLogoThemeToBrandPageHeaderStyles: XC,
36899
- applyLogoThemeToBrandPageModel: J4,
36899
+ applyLogoThemeToBrandPageModel: X4,
36900
36900
  applyLogoThemeToBrandPageNavigationStyles: YC,
36901
36901
  applyLogoThemeToBrandPageStyleRecursive: w9,
36902
36902
  applyLogoThemeToBrandPageStyles: LV,
@@ -36966,7 +36966,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
36966
36966
  mapToTextViewModel: qV,
36967
36967
  mapToViewModel: KV,
36968
36968
  migrateBrandPageModel: Fh,
36969
- parseLogoThemeToCssStyles: k4,
36969
+ parseLogoThemeToCssStyles: M4,
36970
36970
  paymentOptionImageTypeToPaddingPercentage: of1,
36971
36971
  preloadImage: Mn,
36972
36972
  shouldShowAspectRatioByDisplayStyle: bL,
@@ -37634,8 +37634,8 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
37634
37634
  },
37635
37635
  {
37636
37636
  label: m2("collapsed"),
37637
- value: S4,
37638
- isSelected: e === S4
37637
+ value: v4,
37638
+ isSelected: e === v4
37639
37639
  }
37640
37640
  ]
37641
37641
  };
@@ -38303,7 +38303,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38303
38303
  continuation: e
38304
38304
  });
38305
38305
  }
38306
- }), z4 = () => $e().onStyleChanged(), c6 = y2("uiStyleSettings", {
38306
+ }), Z4 = () => $e().onStyleChanged(), c6 = y2("uiStyleSettings", {
38307
38307
  state: () => ({
38308
38308
  availableButtonStyleConfigs: [],
38309
38309
  availableGalleryTypes: [],
@@ -38420,14 +38420,14 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38420
38420
  break;
38421
38421
  case "buttonShadowColor":
38422
38422
  let t = e.value;
38423
- bn(e.value) && (t = `${a8} ${M4(
38423
+ bn(e.value) && (t = `${o8} ${_4(
38424
38424
  e.value,
38425
38425
  Uo
38426
38426
  )}`), this._setButtonStyle({ boxShadow: t });
38427
38427
  break;
38428
38428
  case "buttonSoftShadowColor":
38429
38429
  let n = e.value;
38430
- bn(e.value) && (n = `${l8} ${M4(
38430
+ bn(e.value) && (n = `${a8} ${_4(
38431
38431
  e.value,
38432
38432
  Uo
38433
38433
  )}`), this._setButtonStyle({ boxShadow: n });
@@ -38442,16 +38442,16 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38442
38442
  this._setLogoBackgroundStyle({ backgroundColor: e.value });
38443
38443
  break;
38444
38444
  default:
38445
- process.env.NODE_ENV !== "production" && Q4();
38445
+ process.env.NODE_ENV !== "production" && J4();
38446
38446
  return;
38447
38447
  }
38448
- z4();
38448
+ Z4();
38449
38449
  },
38450
38450
  /**
38451
38451
  * For cross module update of button styles
38452
38452
  */
38453
38453
  setButtonStyles(e) {
38454
- this._setButtonStyle(e.style), this._setButtonIconStyle(e.iconStyle), this._setButtonSelectedId(e.selectedButtonStyleId), z4();
38454
+ this._setButtonStyle(e.style), this._setButtonIconStyle(e.iconStyle), this._setButtonSelectedId(e.selectedButtonStyleId), Z4();
38455
38455
  },
38456
38456
  setGalleryType(e) {
38457
38457
  this._setGalleryStyles({ galleryType: e.galleryType });
@@ -38463,13 +38463,13 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38463
38463
  * For cross module update of text styles
38464
38464
  */
38465
38465
  setTextStyles(e) {
38466
- this._setTextStyles(e), z4();
38466
+ this._setTextStyles(e), Z4();
38467
38467
  },
38468
38468
  setLogoStyles(e) {
38469
38469
  this._setLogoBackgroundStyle(e.backgroundStyle), this._setLogoImageStyle({
38470
38470
  style: e.imageStyle,
38471
38471
  clearLogoContentImageStyle: !1
38472
- }), z4();
38472
+ }), Z4();
38473
38473
  },
38474
38474
  async setLogoImageStyle(e, t) {
38475
38475
  const n = re(), i = bt();
@@ -38487,7 +38487,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38487
38487
  });
38488
38488
  return;
38489
38489
  }
38490
- this._setLogoImageStyle({ ...e, clearLogoContentImageStyle: !0 }), z4();
38490
+ this._setLogoImageStyle({ ...e, clearLogoContentImageStyle: !0 }), Z4();
38491
38491
  },
38492
38492
  setSelectedButtonStyle(e) {
38493
38493
  this._setSelectedButtonStyle(e);
@@ -38501,21 +38501,21 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38501
38501
  };
38502
38502
  if (t.hasShadow)
38503
38503
  if (!this.buttonStyles.style.boxShadow)
38504
- n.boxShadow = `${a8} ${ly}`;
38504
+ n.boxShadow = `${o8} ${ly}`;
38505
38505
  else {
38506
38506
  const i = RC.exec(this.buttonStyles.style.boxShadow);
38507
- n.boxShadow = i ? `${a8} ${i[1]}` : this.buttonStyles.style.boxShadow;
38507
+ n.boxShadow = i ? `${o8} ${i[1]}` : this.buttonStyles.style.boxShadow;
38508
38508
  }
38509
38509
  else if (t.hasSoftShadow)
38510
38510
  if (!this.buttonStyles.style.boxShadow)
38511
- n.boxShadow = `${l8} ${ly}`;
38511
+ n.boxShadow = `${a8} ${ly}`;
38512
38512
  else {
38513
38513
  const i = RC.exec(this.buttonStyles.style.boxShadow);
38514
- n.boxShadow = i ? `${l8} ${i[1]}` : this.buttonStyles.style.boxShadow;
38514
+ n.boxShadow = i ? `${a8} ${i[1]}` : this.buttonStyles.style.boxShadow;
38515
38515
  }
38516
38516
  else
38517
38517
  n = { ...n, boxShadow: "" };
38518
- this._setButtonStyle(n), z4();
38518
+ this._setButtonStyle(n), Z4();
38519
38519
  },
38520
38520
  async setTextFontFamily(e) {
38521
38521
  const t = $e(), n = x2(), i = this.availableTextFontFamilyOptions.find(
@@ -38553,7 +38553,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38553
38553
  backgroundColor: zo(t)
38554
38554
  }) : this._setLogoBackgroundStyle({
38555
38555
  backgroundColor: Sn(t)
38556
- }), await z4();
38556
+ }), await Z4();
38557
38557
  }
38558
38558
  },
38559
38559
  getters: {
@@ -38888,7 +38888,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
38888
38888
  });
38889
38889
  break;
38890
38890
  default:
38891
- process.env.NODE_ENV !== "production" && Q4();
38891
+ process.env.NODE_ENV !== "production" && J4();
38892
38892
  return;
38893
38893
  }
38894
38894
  }
@@ -39547,12 +39547,12 @@ function KL(e, t, n, i) {
39547
39547
  } else if (n.content.size)
39548
39548
  if (!n.openStart && !n.openEnd && e.depth == i && t.depth == i) {
39549
39549
  let o = e.parent, a = o.content;
39550
- return c8(o, a.cut(0, e.parentOffset).append(n.content).append(a.cut(t.parentOffset)));
39550
+ return d8(o, a.cut(0, e.parentOffset).append(n.content).append(a.cut(t.parentOffset)));
39551
39551
  } else {
39552
39552
  let { start: o, end: a } = qg1(n, e);
39553
- return c8(s, XL(e, o, a, t, i));
39553
+ return d8(s, XL(e, o, a, t, i));
39554
39554
  }
39555
- else return c8(s, na(e, t, i));
39555
+ else return d8(s, na(e, t, i));
39556
39556
  }
39557
39557
  function YL(e, t) {
39558
39558
  if (!t.type.compatibleContent(e.type))
@@ -39562,29 +39562,29 @@ function op(e, t, n) {
39562
39562
  let i = e.node(n);
39563
39563
  return YL(i, t.node(n)), i;
39564
39564
  }
39565
- function d8(e, t) {
39565
+ function l8(e, t) {
39566
39566
  let n = t.length - 1;
39567
39567
  n >= 0 && e.isText && e.sameMarkup(t[n]) ? t[n] = e.withText(t[n].text + e.text) : t.push(e);
39568
39568
  }
39569
39569
  function J0(e, t, n, i) {
39570
39570
  let r = (t || e).node(n), s = 0, o = t ? t.index(n) : r.childCount;
39571
- e && (s = e.index(n), e.depth > n ? s++ : e.textOffset && (d8(e.nodeAfter, i), s++));
39571
+ e && (s = e.index(n), e.depth > n ? s++ : e.textOffset && (l8(e.nodeAfter, i), s++));
39572
39572
  for (let a = s; a < o; a++)
39573
- d8(r.child(a), i);
39574
- t && t.depth == n && t.textOffset && d8(t.nodeBefore, i);
39573
+ l8(r.child(a), i);
39574
+ t && t.depth == n && t.textOffset && l8(t.nodeBefore, i);
39575
39575
  }
39576
- function c8(e, t) {
39576
+ function d8(e, t) {
39577
39577
  return e.type.checkContent(t), e.copy(t);
39578
39578
  }
39579
39579
  function XL(e, t, n, i, r) {
39580
39580
  let s = e.depth > r && op(e, t, r + 1), o = i.depth > r && op(n, i, r + 1), a = [];
39581
- return J0(null, e, r, a), s && o && t.index(r) == n.index(r) ? (YL(s, o), d8(c8(s, XL(e, t, n, i, r + 1)), a)) : (s && d8(c8(s, na(e, t, r + 1)), a), J0(t, n, r, a), o && d8(c8(o, na(n, i, r + 1)), a)), J0(i, null, r, a), new x1(a);
39581
+ return J0(null, e, r, a), s && o && t.index(r) == n.index(r) ? (YL(s, o), l8(d8(s, XL(e, t, n, i, r + 1)), a)) : (s && l8(d8(s, na(e, t, r + 1)), a), J0(t, n, r, a), o && l8(d8(o, na(n, i, r + 1)), a)), J0(i, null, r, a), new x1(a);
39582
39582
  }
39583
39583
  function na(e, t, n) {
39584
39584
  let i = [];
39585
39585
  if (J0(null, e, n, i), e.depth > n) {
39586
39586
  let r = op(e, t, n + 1);
39587
- d8(c8(r, na(e, t, n + 1)), i);
39587
+ l8(d8(r, na(e, t, n + 1)), i);
39588
39588
  }
39589
39589
  return J0(t, null, n, i), new x1(i);
39590
39590
  }
@@ -42523,7 +42523,7 @@ function km1(e, t, n = 1, i) {
42523
42523
  }
42524
42524
  e.step(new B2(t, t, new ie(s.append(o), n, n), !0));
42525
42525
  }
42526
- function I4(e, t) {
42526
+ function x4(e, t) {
42527
42527
  let n = e.resolve(t), i = n.index();
42528
42528
  return gH(n.nodeBefore, n.nodeAfter) && n.parent.canReplace(i, i + 1);
42529
42529
  }
@@ -44095,7 +44095,7 @@ function oi(e) {
44095
44095
  const _l = function(e) {
44096
44096
  return e.focusNode && M8(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset);
44097
44097
  };
44098
- function j4(e, t) {
44098
+ function W4(e, t) {
44099
44099
  let n = document.createEvent("Event");
44100
44100
  return n.initEvent("keydown", !0, !0), n.keyCode = e, n.key = n.code = t, n;
44101
44101
  }
@@ -44119,9 +44119,9 @@ function qm1(e, t, n) {
44119
44119
  return { node: i.startContainer, offset: Math.min(T6(i.startContainer), i.startOffset) };
44120
44120
  }
44121
44121
  }
44122
- const O5 = typeof navigator < "u" ? navigator : null, Kv = typeof document < "u" ? document : null, E4 = O5 && O5.userAgent || "", pp = /Edge\/(\d+)/.exec(E4), kH = /MSIE \d/.exec(E4), hp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(E4), q3 = !!(kH || hp || pp), y4 = kH ? document.documentMode : hp ? +hp[1] : pp ? +pp[1] : 0, c5 = !q3 && /gecko\/(\d+)/i.test(E4);
44123
- c5 && +(/Firefox\/(\d+)/.exec(E4) || [0, 0])[1];
44124
- const fp = !q3 && /Chrome\/(\d+)/.exec(E4), C3 = !!fp, TH = fp ? +fp[1] : 0, T3 = !q3 && !!O5 && /Apple Computer/.test(O5.vendor), N7 = T3 && (/Mobile\/\w+/.test(E4) || !!O5 && O5.maxTouchPoints > 2), M6 = N7 || (O5 ? /Mac/.test(O5.platform) : !1), Gm1 = O5 ? /Win/.test(O5.platform) : !1, d9 = /Android \d/.test(E4), ai = !!Kv && "webkitFontSmoothing" in Kv.documentElement.style, Wm1 = ai ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
44122
+ const O5 = typeof navigator < "u" ? navigator : null, Kv = typeof document < "u" ? document : null, I4 = O5 && O5.userAgent || "", pp = /Edge\/(\d+)/.exec(I4), kH = /MSIE \d/.exec(I4), hp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(I4), q3 = !!(kH || hp || pp), y4 = kH ? document.documentMode : hp ? +hp[1] : pp ? +pp[1] : 0, c5 = !q3 && /gecko\/(\d+)/i.test(I4);
44123
+ c5 && +(/Firefox\/(\d+)/.exec(I4) || [0, 0])[1];
44124
+ const fp = !q3 && /Chrome\/(\d+)/.exec(I4), C3 = !!fp, TH = fp ? +fp[1] : 0, T3 = !q3 && !!O5 && /Apple Computer/.test(O5.vendor), N7 = T3 && (/Mobile\/\w+/.test(I4) || !!O5 && O5.maxTouchPoints > 2), M6 = N7 || (O5 ? /Mac/.test(O5.platform) : !1), Gm1 = O5 ? /Win/.test(O5.platform) : !1, d9 = /Android \d/.test(I4), ai = !!Kv && "webkitFontSmoothing" in Kv.documentElement.style, Wm1 = ai ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
44125
44125
  function jm1(e) {
44126
44126
  let t = e.defaultView && e.defaultView.visualViewport;
44127
44127
  return t ? {
@@ -44455,7 +44455,7 @@ let Jv = null, Qv = null, eS = !1;
44455
44455
  function ly1(e, t, n) {
44456
44456
  return Jv == t && Qv == n ? eS : (Jv = t, Qv = n, eS = n == "up" || n == "down" ? sy1(e, t, n) : ay1(e, t, n));
44457
44457
  }
44458
- const x6 = 0, tS = 1, e8 = 2, $5 = 3;
44458
+ const x6 = 0, tS = 1, Q4 = 2, $5 = 3;
44459
44459
  class li {
44460
44460
  constructor(t, n, i, r) {
44461
44461
  this.parent = t, this.children = n, this.dom = i, this.contentDOM = r, this.dirty = x6, i.pmViewDesc = this;
@@ -44771,19 +44771,19 @@ class li {
44771
44771
  if (i == o ? t <= o && n >= i : t < o && n > i) {
44772
44772
  let a = i + s.border, l = o - s.border;
44773
44773
  if (t >= a && n <= l) {
44774
- this.dirty = t == i || n == o ? e8 : tS, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = $5 : s.markDirty(t - a, n - a);
44774
+ this.dirty = t == i || n == o ? Q4 : tS, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = $5 : s.markDirty(t - a, n - a);
44775
44775
  return;
44776
44776
  } else
44777
- s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? e8 : $5;
44777
+ s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? Q4 : $5;
44778
44778
  }
44779
44779
  i = o;
44780
44780
  }
44781
- this.dirty = e8;
44781
+ this.dirty = Q4;
44782
44782
  }
44783
44783
  markParentsDirty() {
44784
44784
  let t = 1;
44785
44785
  for (let n = this.parent; n; n = n.parent, t++) {
44786
- let i = t == 1 ? e8 : tS;
44786
+ let i = t == 1 ? Q4 : tS;
44787
44787
  n.dirty < i && (n.dirty = i);
44788
44788
  }
44789
44789
  }
@@ -44967,7 +44967,7 @@ class w4 extends li {
44967
44967
  l.syncToMarks(d.marks, i, t);
44968
44968
  let g;
44969
44969
  l.findNodeMatch(d, c, u, p) || a && t.state.selection.from > r && t.state.selection.to < r + d.nodeSize && (g = l.findIndexWithChild(s.node)) > -1 && l.updateNodeAt(d, c, u, g, t) || l.updateNextNode(d, c, u, t, p, r) || l.addNode(d, c, u, t, r), r += d.nodeSize;
44970
- }), l.syncToMarks([], i, t), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == e8) && (o && this.protectLocalComposition(t, o), OH(this.contentDOM, this.children, t), N7 && gy1(this.dom));
44970
+ }), l.syncToMarks([], i, t), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == Q4) && (o && this.protectLocalComposition(t, o), OH(this.contentDOM, this.children, t), N7 && gy1(this.dom));
44971
44971
  }
44972
44972
  localCompositionInfo(t, n) {
44973
44973
  let { from: i, to: r } = t.state.selection;
@@ -45141,11 +45141,11 @@ const tn = function(e) {
45141
45141
  e && (this.nodeName = e);
45142
45142
  };
45143
45143
  tn.prototype = /* @__PURE__ */ Object.create(null);
45144
- const t8 = [new tn()];
45144
+ const e8 = [new tn()];
45145
45145
  function gp(e, t, n) {
45146
45146
  if (e.length == 0)
45147
- return t8;
45148
- let i = n ? t8[0] : new tn(), r = [i];
45147
+ return e8;
45148
+ let i = n ? e8[0] : new tn(), r = [i];
45149
45149
  for (let s = 0; s < e.length; s++) {
45150
45150
  let o = e[s].type.attrs;
45151
45151
  if (o) {
@@ -45159,16 +45159,16 @@ function gp(e, t, n) {
45159
45159
  return r;
45160
45160
  }
45161
45161
  function $H(e, t, n, i) {
45162
- if (n == t8 && i == t8)
45162
+ if (n == e8 && i == e8)
45163
45163
  return t;
45164
45164
  let r = t;
45165
45165
  for (let s = 0; s < i.length; s++) {
45166
45166
  let o = i[s], a = n[s];
45167
45167
  if (s) {
45168
45168
  let l;
45169
- a && a.nodeName == o.nodeName && r != e && (l = r.parentNode) && l.nodeName.toLowerCase() == o.nodeName || (l = document.createElement(o.nodeName), l.pmIsDeco = !0, l.appendChild(r), a = t8[0]), r = l;
45169
+ a && a.nodeName == o.nodeName && r != e && (l = r.parentNode) && l.nodeName.toLowerCase() == o.nodeName || (l = document.createElement(o.nodeName), l.pmIsDeco = !0, l.appendChild(r), a = e8[0]), r = l;
45170
45170
  }
45171
- uy1(r, a || t8[0], o);
45171
+ uy1(r, a || e8[0], o);
45172
45172
  }
45173
45173
  return r;
45174
45174
  }
@@ -45195,7 +45195,7 @@ function uy1(e, t, n) {
45195
45195
  }
45196
45196
  }
45197
45197
  function BH(e, t, n) {
45198
- return $H(e, e, t8, gp(t, n, e.nodeType != 1));
45198
+ return $H(e, e, e8, gp(t, n, e.nodeType != 1));
45199
45199
  }
45200
45200
  function sa(e, t) {
45201
45201
  if (e.length != t.length)
@@ -45271,7 +45271,7 @@ class Cy1 {
45271
45271
  }
45272
45272
  updateNodeAt(t, n, i, r, s) {
45273
45273
  let o = this.top.children[r];
45274
- return o.dirty == $5 && o.dom == o.contentDOM && (o.dirty = e8), o.update(t, n, i, s) ? (this.destroyBetween(this.index, r), this.index++, !0) : !1;
45274
+ return o.dirty == $5 && o.dom == o.contentDOM && (o.dirty = Q4), o.update(t, n, i, s) ? (this.destroyBetween(this.index, r), this.index++, !0) : !1;
45275
45275
  }
45276
45276
  findIndexWithChild(t) {
45277
45277
  for (; ; ) {
@@ -45303,7 +45303,7 @@ class Cy1 {
45303
45303
  if (!p && l.update(t, n, i, r))
45304
45304
  return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
45305
45305
  if (!p && (u = this.recreateWrapper(l, t, n, i, r, o)))
45306
- return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = e8, u.updateChildren(r, o + 1), u.dirty = x6), this.changed = !0, this.index++, !0;
45306
+ return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = Q4, u.updateChildren(r, o + 1), u.dirty = x6), this.changed = !0, this.index++, !0;
45307
45307
  break;
45308
45308
  }
45309
45309
  }
@@ -46095,7 +46095,7 @@ L3.keydown = (e, t) => {
46095
46095
  if (n.keyCode != 229 && e.domObserver.forceFlush(), N7 && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
46096
46096
  let i = Date.now();
46097
46097
  e.input.lastIOSEnter = i, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
46098
- e.input.lastIOSEnter == i && (e.someProp("handleKeyDown", (r) => r(e, j4(13, "Enter"))), e.input.lastIOSEnter = 0);
46098
+ e.input.lastIOSEnter == i && (e.someProp("handleKeyDown", (r) => r(e, W4(13, "Enter"))), e.input.lastIOSEnter = 0);
46099
46099
  }, 200);
46100
46100
  } else e.someProp("handleKeyDown", (i) => i(e, n)) || Vy1(e, n) ? n.preventDefault() : d4(e, "key");
46101
46101
  };
@@ -46460,7 +46460,7 @@ V3.beforeinput = (e, t) => {
46460
46460
  e.domObserver.flushSoon();
46461
46461
  let { domChangeCount: i } = e.input;
46462
46462
  setTimeout(() => {
46463
- if (e.input.domChangeCount != i || (e.dom.blur(), e.focus(), e.someProp("handleKeyDown", (s) => s(e, j4(8, "Backspace")))))
46463
+ if (e.input.domChangeCount != i || (e.dom.blur(), e.focus(), e.someProp("handleKeyDown", (s) => s(e, W4(8, "Backspace")))))
46464
46464
  return;
46465
46465
  let { $cursor: r } = e.state.selection;
46466
46466
  r && r.pos > 0 && e.dispatch(e.state.tr.delete(r.pos - 1, r.pos).scrollIntoView());
@@ -46482,7 +46482,7 @@ function In(e, t) {
46482
46482
  }
46483
46483
  class la {
46484
46484
  constructor(t, n) {
46485
- this.toDOM = t, this.spec = n || u8, this.side = this.spec.side || 0;
46485
+ this.toDOM = t, this.spec = n || c8, this.side = this.spec.side || 0;
46486
46486
  }
46487
46487
  map(t, n, i, r) {
46488
46488
  let { pos: s, deleted: o } = t.mapResult(n.from + r, this.side < 0 ? -1 : 1);
@@ -46500,7 +46500,7 @@ class la {
46500
46500
  }
46501
46501
  class b4 {
46502
46502
  constructor(t, n) {
46503
- this.attrs = t, this.spec = n || u8;
46503
+ this.attrs = t, this.spec = n || c8;
46504
46504
  }
46505
46505
  map(t, n, i, r) {
46506
46506
  let s = t.map(n.from + r, this.spec.inclusiveStart ? -1 : 1) - i, o = t.map(n.to + r, this.spec.inclusiveEnd ? 1 : -1) - i;
@@ -46520,7 +46520,7 @@ class b4 {
46520
46520
  }
46521
46521
  class tf {
46522
46522
  constructor(t, n) {
46523
- this.attrs = t, this.spec = n || u8;
46523
+ this.attrs = t, this.spec = n || c8;
46524
46524
  }
46525
46525
  map(t, n, i, r) {
46526
46526
  let s = t.mapResult(n.from + r, 1);
@@ -46610,7 +46610,7 @@ class u6 {
46610
46610
  return this.type instanceof la;
46611
46611
  }
46612
46612
  }
46613
- const h7 = [], u8 = {};
46613
+ const h7 = [], c8 = {};
46614
46614
  class v2 {
46615
46615
  /**
46616
46616
  @internal
@@ -46624,7 +46624,7 @@ class v2 {
46624
46624
  you must make a copy if you want need to preserve that.
46625
46625
  */
46626
46626
  static create(t, n) {
46627
- return n.length ? da(n, t, 0, u8) : l3;
46627
+ return n.length ? da(n, t, 0, c8) : l3;
46628
46628
  }
46629
46629
  /**
46630
46630
  Find all decorations in this set which touch the given range
@@ -46654,7 +46654,7 @@ class v2 {
46654
46654
  document.
46655
46655
  */
46656
46656
  map(t, n, i) {
46657
- return this == l3 || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, i || u8);
46657
+ return this == l3 || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, i || c8);
46658
46658
  }
46659
46659
  /**
46660
46660
  @internal
@@ -46665,7 +46665,7 @@ class v2 {
46665
46665
  let l = this.local[a].map(t, i, r);
46666
46666
  l && l.type.valid(n, l) ? (o || (o = [])).push(l) : s.onRemove && s.onRemove(this.local[a].spec);
46667
46667
  }
46668
- return this.children.length ? tw1(this.children, o || [], t, n, i, r, s) : o ? new v2(o.sort(C8), h7) : l3;
46668
+ return this.children.length ? tw1(this.children, o || [], t, n, i, r, s) : o ? new v2(o.sort(u8), h7) : l3;
46669
46669
  }
46670
46670
  /**
46671
46671
  Add the given array of decorations to the ones in the set,
@@ -46683,13 +46683,13 @@ class v2 {
46683
46683
  if (c = nx(n, a, d)) {
46684
46684
  for (r || (r = this.children.slice()); s < r.length && r[s] < l; )
46685
46685
  s += 3;
46686
- r[s] == l ? r[s + 2] = r[s + 2].addInner(a, c, d + 1) : r.splice(s, 0, l, l + a.nodeSize, da(c, a, d + 1, u8)), s += 3;
46686
+ r[s] == l ? r[s + 2] = r[s + 2].addInner(a, c, d + 1) : r.splice(s, 0, l, l + a.nodeSize, da(c, a, d + 1, c8)), s += 3;
46687
46687
  }
46688
46688
  });
46689
46689
  let o = tx(s ? ix(n) : n, -i);
46690
46690
  for (let a = 0; a < o.length; a++)
46691
46691
  o[a].type.valid(t, o[a]) || o.splice(a--, 1);
46692
- return new v2(o.length ? this.local.concat(o).sort(C8) : this.local, r || this.children);
46692
+ return new v2(o.length ? this.local.concat(o).sort(u8) : this.local, r || this.children);
46693
46693
  }
46694
46694
  /**
46695
46695
  Create a new set that contains the decorations in this set, minus
@@ -46738,7 +46738,7 @@ class v2 {
46738
46738
  }
46739
46739
  }
46740
46740
  if (r) {
46741
- let a = new v2(r.sort(C8), h7);
46741
+ let a = new v2(r.sort(u8), h7);
46742
46742
  return i ? new Q9([a, i]) : a;
46743
46743
  }
46744
46744
  return i || l3;
@@ -46790,7 +46790,7 @@ class Q9 {
46790
46790
  this.members = t;
46791
46791
  }
46792
46792
  map(t, n) {
46793
- const i = this.members.map((r) => r.map(t, n, u8));
46793
+ const i = this.members.map((r) => r.map(t, n, c8));
46794
46794
  return Q9.from(i);
46795
46795
  }
46796
46796
  forChild(t, n) {
@@ -46824,7 +46824,7 @@ class Q9 {
46824
46824
  n.push(s[o]);
46825
46825
  }
46826
46826
  }
46827
- return n ? nf(i ? n : n.sort(C8)) : h7;
46827
+ return n ? nf(i ? n : n.sort(u8)) : h7;
46828
46828
  }
46829
46829
  // Create a group for the given array of decoration sets, or return
46830
46830
  // a single set when possible.
@@ -46890,7 +46890,7 @@ function tw1(e, t, n, i, r, s, o) {
46890
46890
  a.splice(p, 0, c.children[u], c.children[u + 1], c.children[u + 2]);
46891
46891
  }
46892
46892
  }
46893
- return new v2(t.sort(C8), a);
46893
+ return new v2(t.sort(u8), a);
46894
46894
  }
46895
46895
  function tx(e, t) {
46896
46896
  if (!t || !e.length)
@@ -46939,12 +46939,12 @@ function da(e, t, n, i) {
46939
46939
  c != l3 && r.push(l, l + a.nodeSize, c);
46940
46940
  }
46941
46941
  });
46942
- let o = tx(s ? ix(e) : e, -n).sort(C8);
46942
+ let o = tx(s ? ix(e) : e, -n).sort(u8);
46943
46943
  for (let a = 0; a < o.length; a++)
46944
46944
  o[a].type.valid(t, o[a]) || (i.onRemove && i.onRemove(o[a].spec), o.splice(a--, 1));
46945
46945
  return o.length || r.length ? new v2(o, r) : l3;
46946
46946
  }
46947
- function C8(e, t) {
46947
+ function u8(e, t) {
46948
46948
  return e.from - t.from || e.to - t.to;
46949
46949
  }
46950
46950
  function nf(e) {
@@ -46966,7 +46966,7 @@ function nf(e) {
46966
46966
  return t;
46967
46967
  }
46968
46968
  function gS(e, t, n) {
46969
- for (; t < e.length && C8(n, e[t]) > 0; )
46969
+ for (; t < e.length && u8(n, e[t]) > 0; )
46970
46970
  t++;
46971
46971
  e.splice(t, 0, n);
46972
46972
  }
@@ -47222,7 +47222,7 @@ function pw1(e, t, n, i, r) {
47222
47222
  if (e.input.compositionPendingChanges = 0, t < 0) {
47223
47223
  let R = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, D = Kh(e, R);
47224
47224
  if (D && !e.state.selection.eq(D)) {
47225
- if (C3 && d9 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (q) => q(e, j4(13, "Enter"))))
47225
+ if (C3 && d9 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (q) => q(e, W4(13, "Enter"))))
47226
47226
  return;
47227
47227
  let N = e.state.tr.setSelection(D);
47228
47228
  R == "pointer" ? N.setMeta("pointer", !0) : R == "key" && N.scrollIntoView(), s && N.setMeta("composition", s), e.dispatch(N);
@@ -47234,7 +47234,7 @@ function pw1(e, t, n, i, r) {
47234
47234
  let l = e.state.selection, d = cw1(e, t, n), c = e.state.doc, u = c.slice(d.from, d.to), p, g;
47235
47235
  e.input.lastKeyCode === 8 && Date.now() - 100 < e.input.lastKeyCodeTime ? (p = e.state.selection.to, g = "end") : (p = e.state.selection.from, g = "start"), e.input.lastKeyCode = null;
47236
47236
  let m = gw1(u.content, d.doc.content, d.from, p, g);
47237
- if (m && e.input.domChangeCount++, (N7 && e.input.lastIOSEnter > Date.now() - 225 || d9) && r.some((R) => R.nodeType == 1 && !Cw1.test(R.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (R) => R(e, j4(13, "Enter")))) {
47237
+ if (m && e.input.domChangeCount++, (N7 && e.input.lastIOSEnter > Date.now() - 225 || d9) && r.some((R) => R.nodeType == 1 && !Cw1.test(R.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (R) => R(e, W4(13, "Enter")))) {
47238
47238
  e.input.lastIOSEnter = 0;
47239
47239
  return;
47240
47240
  }
@@ -47253,17 +47253,17 @@ function pw1(e, t, n, i, r) {
47253
47253
  }
47254
47254
  e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof Ne && (m.start > e.state.selection.from && m.start <= e.state.selection.from + 2 && e.state.selection.from >= d.from ? m.start = e.state.selection.from : m.endA < e.state.selection.to && m.endA >= e.state.selection.to - 2 && e.state.selection.to <= d.to && (m.endB += e.state.selection.to - m.endA, m.endA = e.state.selection.to)), q3 && y4 <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > d.from && d.doc.textBetween(m.start - d.from - 1, m.start - d.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
47255
47255
  let y = d.doc.resolveNoCache(m.start - d.from), b = d.doc.resolveNoCache(m.endB - d.from), w = c.resolve(m.start), S = y.sameParent(b) && y.parent.inlineContent && w.end() >= m.endA, M;
47256
- if ((N7 && e.input.lastIOSEnter > Date.now() - 225 && (!S || r.some((R) => R.nodeName == "DIV" || R.nodeName == "P")) || !S && y.pos < d.doc.content.size && (!y.sameParent(b) || !y.parent.inlineContent) && !/\S/.test(d.doc.textBetween(y.pos, b.pos, "", "")) && (M = Ge.findFrom(d.doc.resolve(y.pos + 1), 1, !0)) && M.head > y.pos) && e.someProp("handleKeyDown", (R) => R(e, j4(13, "Enter")))) {
47256
+ if ((N7 && e.input.lastIOSEnter > Date.now() - 225 && (!S || r.some((R) => R.nodeName == "DIV" || R.nodeName == "P")) || !S && y.pos < d.doc.content.size && (!y.sameParent(b) || !y.parent.inlineContent) && !/\S/.test(d.doc.textBetween(y.pos, b.pos, "", "")) && (M = Ge.findFrom(d.doc.resolve(y.pos + 1), 1, !0)) && M.head > y.pos) && e.someProp("handleKeyDown", (R) => R(e, W4(13, "Enter")))) {
47257
47257
  e.input.lastIOSEnter = 0;
47258
47258
  return;
47259
47259
  }
47260
- if (e.state.selection.anchor > m.start && fw1(c, m.start, m.endA, y, b) && e.someProp("handleKeyDown", (R) => R(e, j4(8, "Backspace")))) {
47260
+ if (e.state.selection.anchor > m.start && fw1(c, m.start, m.endA, y, b) && e.someProp("handleKeyDown", (R) => R(e, W4(8, "Backspace")))) {
47261
47261
  d9 && C3 && e.domObserver.suppressSelectionUpdates();
47262
47262
  return;
47263
47263
  }
47264
47264
  C3 && m.endB == m.start && (e.input.lastChromeDelete = Date.now()), d9 && !S && y.start() != b.start() && b.parentOffset == 0 && y.depth == b.depth && d.sel && d.sel.anchor == d.sel.head && d.sel.head == m.endA && (m.endB -= 2, b = d.doc.resolveNoCache(m.endB - d.from), setTimeout(() => {
47265
47265
  e.someProp("handleKeyDown", function(R) {
47266
- return R(e, j4(13, "Enter"));
47266
+ return R(e, W4(13, "Enter"));
47267
47267
  });
47268
47268
  }, 20));
47269
47269
  let T = m.start, E = m.endA, B = (R) => {
@@ -47746,7 +47746,7 @@ function TS(e) {
47746
47746
  if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction)
47747
47747
  throw new RangeError("Plugins passed directly to the view must not have a state component");
47748
47748
  }
47749
- var T4 = {
47749
+ var k4 = {
47750
47750
  8: "Backspace",
47751
47751
  9: "Tab",
47752
47752
  10: "Enter",
@@ -47825,13 +47825,13 @@ var T4 = {
47825
47825
  221: "}",
47826
47826
  222: '"'
47827
47827
  }, ww1 = typeof navigator < "u" && /Mac/.test(navigator.platform), bw1 = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
47828
- for (var e3 = 0; e3 < 10; e3++) T4[48 + e3] = T4[96 + e3] = String(e3);
47829
- for (var e3 = 1; e3 <= 24; e3++) T4[e3 + 111] = "F" + e3;
47828
+ for (var e3 = 0; e3 < 10; e3++) k4[48 + e3] = k4[96 + e3] = String(e3);
47829
+ for (var e3 = 1; e3 <= 24; e3++) k4[e3 + 111] = "F" + e3;
47830
47830
  for (var e3 = 65; e3 <= 90; e3++)
47831
- T4[e3] = String.fromCharCode(e3 + 32), ca[e3] = String.fromCharCode(e3);
47832
- for (var Su in T4) ca.hasOwnProperty(Su) || (ca[Su] = T4[Su]);
47831
+ k4[e3] = String.fromCharCode(e3 + 32), ca[e3] = String.fromCharCode(e3);
47832
+ for (var Su in k4) ca.hasOwnProperty(Su) || (ca[Su] = k4[Su]);
47833
47833
  function vw1(e) {
47834
- var t = ww1 && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || bw1 && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified", n = !t && e.key || (e.shiftKey ? ca : T4)[e.keyCode] || e.key || "Unidentified";
47834
+ var t = ww1 && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || bw1 && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified", n = !t && e.key || (e.shiftKey ? ca : k4)[e.keyCode] || e.key || "Unidentified";
47835
47835
  return n == "Esc" && (n = "Escape"), n == "Del" && (n = "Delete"), n == "Left" && (n = "ArrowLeft"), n == "Up" && (n = "ArrowUp"), n == "Right" && (n = "ArrowRight"), n == "Down" && (n = "ArrowDown"), n;
47836
47836
  }
47837
47837
  const Sw1 = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), _w1 = typeof navigator < "u" && /Win/.test(navigator.platform);
@@ -47881,7 +47881,7 @@ function sx(e) {
47881
47881
  return !0;
47882
47882
  }
47883
47883
  if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
47884
- !(_w1 && i.ctrlKey && i.altKey) && (s = T4[i.keyCode]) && s != r) {
47884
+ !(_w1 && i.ctrlKey && i.altKey) && (s = k4[i.keyCode]) && s != r) {
47885
47885
  let a = t[_u(s, i)];
47886
47886
  if (a && a(n.state, n.dispatch, n))
47887
47887
  return !0;
@@ -48044,7 +48044,7 @@ function of(e) {
48044
48044
  const Hw1 = (e, t) => {
48045
48045
  let n = e.selection, i = n instanceof Se, r;
48046
48046
  if (i) {
48047
- if (n.node.isTextblock || !I4(e.doc, n.from))
48047
+ if (n.node.isTextblock || !x4(e.doc, n.from))
48048
48048
  return !1;
48049
48049
  r = n.from;
48050
48050
  } else if (r = bl(e.doc, n.from, -1), r == null)
@@ -48057,7 +48057,7 @@ const Hw1 = (e, t) => {
48057
48057
  }, xw1 = (e, t) => {
48058
48058
  let n = e.selection, i;
48059
48059
  if (n instanceof Se) {
48060
- if (n.node.isTextblock || !I4(e.doc, n.to))
48060
+ if (n.node.isTextblock || !x4(e.doc, n.to))
48061
48061
  return !1;
48062
48062
  i = n.to;
48063
48063
  } else if (i = bl(e.doc, n.to, 1), i == null)
@@ -48150,7 +48150,7 @@ const Pw1 = Aw1(), Ow1 = (e, t) => {
48150
48150
  };
48151
48151
  function $w1(e, t, n) {
48152
48152
  let i = t.nodeBefore, r = t.nodeAfter, s = t.index();
48153
- return !i || !r || !i.type.compatibleContent(r.type) ? !1 : !i.content.size && t.parent.canReplace(s - 1, s) ? (n && n(e.tr.delete(t.pos - i.nodeSize, t.pos).scrollIntoView()), !0) : !t.parent.canReplace(s, s + 1) || !(r.isTextblock || I4(e.doc, t.pos)) ? !1 : (n && n(e.tr.join(t.pos).scrollIntoView()), !0);
48153
+ return !i || !r || !i.type.compatibleContent(r.type) ? !1 : !i.content.size && t.parent.canReplace(s - 1, s) ? (n && n(e.tr.delete(t.pos - i.nodeSize, t.pos).scrollIntoView()), !0) : !t.parent.canReplace(s, s + 1) || !(r.isTextblock || x4(e.doc, t.pos)) ? !1 : (n && n(e.tr.join(t.pos).scrollIntoView()), !0);
48154
48154
  }
48155
48155
  function gx(e, t, n, i) {
48156
48156
  let r = t.nodeBefore, s = t.nodeAfter, o, a, l = r.type.spec.isolating || s.type.spec.isolating;
@@ -48164,7 +48164,7 @@ function gx(e, t, n, i) {
48164
48164
  m = x1.from(o[w].create(null, m));
48165
48165
  m = x1.from(r.copy(m));
48166
48166
  let y = e.tr.step(new R2(t.pos - 1, g, t.pos, g, new ie(m, 1, 0), o.length, !0)), b = y.doc.resolve(g + 2 * o.length);
48167
- b.nodeAfter && b.nodeAfter.type == r.type && I4(y.doc, b.pos) && y.join(b.pos), n(y.scrollIntoView());
48167
+ b.nodeAfter && b.nodeAfter.type == r.type && x4(y.doc, b.pos) && y.join(b.pos), n(y.scrollIntoView());
48168
48168
  }
48169
48169
  return !0;
48170
48170
  }
@@ -48298,7 +48298,7 @@ function zw1(e, t, n, i) {
48298
48298
  return !1;
48299
48299
  r.lift(i, a);
48300
48300
  let l = r.doc.resolve(r.mapping.map(s, -1) - 1);
48301
- return I4(r.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && r.join(l.pos), t(r.scrollIntoView()), !0;
48301
+ return x4(r.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && r.join(l.pos), t(r.scrollIntoView()), !0;
48302
48302
  }
48303
48303
  function qw1(e, t, n) {
48304
48304
  let i = e.tr, r = n.parent;
@@ -49356,7 +49356,7 @@ function Cf(e, t, n) {
49356
49356
  to: d
49357
49357
  };
49358
49358
  }
49359
- function A4(e, t) {
49359
+ function E4(e, t) {
49360
49360
  if (typeof e == "string") {
49361
49361
  if (!t.marks[e])
49362
49362
  throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);
@@ -49365,7 +49365,7 @@ function A4(e, t) {
49365
49365
  return e;
49366
49366
  }
49367
49367
  const vb1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
49368
- const s = A4(e, i.schema), { doc: o, selection: a } = n, { $from: l, from: d, to: c } = a;
49368
+ const s = E4(e, i.schema), { doc: o, selection: a } = n, { $from: l, from: d, to: c } = a;
49369
49369
  if (r) {
49370
49370
  const u = Cf(l, s, t);
49371
49371
  if (u && u.from <= d && u.to >= c) {
@@ -49653,7 +49653,7 @@ function ES(e, t) {
49653
49653
  const zb1 = (e, t) => ({ tr: n, state: i, dispatch: r }) => {
49654
49654
  let s = null, o = null;
49655
49655
  const a = Il(typeof e == "string" ? e : e.name, i.schema);
49656
- return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = A4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
49656
+ return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = E4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
49657
49657
  i.doc.nodesBetween(l.$from.pos, l.$to.pos, (d, c) => {
49658
49658
  s && s === d.type && n.setNodeMarkup(c, void 0, ES(d.attrs, t)), o && d.marks.length && d.marks.forEach((u) => {
49659
49659
  o === u.type && n.addMark(c, c + d.nodeSize, o.create(ES(u.attrs, t)));
@@ -49689,7 +49689,7 @@ const Jb1 = (e, t = !1, n = {}, i = {}) => ({ editor: r, tr: s, dispatch: o, com
49689
49689
  });
49690
49690
  };
49691
49691
  function kx(e, t) {
49692
- const n = A4(t, e.schema), { from: i, to: r, empty: s } = e.selection, o = [];
49692
+ const n = E4(t, e.schema), { from: i, to: r, empty: s } = e.selection, o = [];
49693
49693
  s ? (e.storedMarks && o.push(...e.storedMarks), o.push(...e.selection.$head.marks())) : e.doc.nodesBetween(i, r, (l) => {
49694
49694
  o.push(...l.marks);
49695
49695
  });
@@ -49818,7 +49818,7 @@ function wo(e, t, n) {
49818
49818
  }));
49819
49819
  }
49820
49820
  function Mp(e, t, n = {}) {
49821
- const { empty: i, ranges: r } = e.selection, s = t ? A4(t, e.schema) : null;
49821
+ const { empty: i, ranges: r } = e.selection, s = t ? E4(t, e.schema) : null;
49822
49822
  if (i)
49823
49823
  return !!(e.storedMarks || e.selection.$from.marks()).filter((u) => s ? s.name === u.type.name : !0).find((u) => ua(u.attrs, n, { strict: !1 }));
49824
49824
  let o = 0;
@@ -49921,7 +49921,7 @@ function lv1(e, t, n) {
49921
49921
  });
49922
49922
  }
49923
49923
  const dv1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
49924
- const { selection: s } = n, { empty: o, ranges: a } = s, l = A4(e, i.schema);
49924
+ const { selection: s } = n, { empty: o, ranges: a } = s, l = E4(e, i.schema);
49925
49925
  if (r)
49926
49926
  if (o) {
49927
49927
  const d = kx(i, l);
@@ -50059,7 +50059,7 @@ const fv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
50059
50059
  if (i === void 0)
50060
50060
  return !0;
50061
50061
  const r = e.doc.nodeAt(i);
50062
- return n.node.type === (r == null ? void 0 : r.type) && I4(e.doc, n.pos) && e.join(n.pos), !0;
50062
+ return n.node.type === (r == null ? void 0 : r.type) && x4(e.doc, n.pos) && e.join(n.pos), !0;
50063
50063
  }, Tu = (e, t) => {
50064
50064
  const n = ff((o) => o.type === t)(e.selection);
50065
50065
  if (!n)
@@ -50068,7 +50068,7 @@ const fv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
50068
50068
  if (i === void 0)
50069
50069
  return !0;
50070
50070
  const r = e.doc.nodeAt(i);
50071
- return n.node.type === (r == null ? void 0 : r.type) && I4(e.doc, i) && e.join(i), !0;
50071
+ return n.node.type === (r == null ? void 0 : r.type) && x4(e.doc, i) && e.join(i), !0;
50072
50072
  }, mv1 = (e, t, n, i = {}) => ({ editor: r, tr: s, state: o, dispatch: a, chain: l, commands: d, can: c }) => {
50073
50073
  const { extensions: u, splittableMarks: p } = r.extensionManager, g = Z2(e, o.schema), m = Z2(t, o.schema), { selection: y, storedMarks: b } = o, { $from: w, $to: S } = y, M = w.blockRange(S), T = b || y.$to.parentOffset && y.$from.marks();
50074
50074
  if (!M)
@@ -50085,7 +50085,7 @@ const fv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
50085
50085
  return s.ensureMarks(K), B ? !0 : d.clearNodes();
50086
50086
  }).wrapInList(g, i).command(() => ku(s, g)).command(() => Tu(s, g)).run();
50087
50087
  }, yv1 = (e, t = {}, n = {}) => ({ state: i, commands: r }) => {
50088
- const { extendEmptyMarkRange: s = !1 } = n, o = A4(e, i.schema);
50088
+ const { extendEmptyMarkRange: s = !1 } = n, o = E4(e, i.schema);
50089
50089
  return Mp(i, o, t) ? r.unsetMark(o, { extendEmptyMarkRange: s }) : r.setMark(o, t);
50090
50090
  }, wv1 = (e, t, n = {}) => ({ state: i, commands: r }) => {
50091
50091
  const s = Z2(e, i.schema), o = Z2(t, i.schema), a = An(i, s, n);
@@ -50121,7 +50121,7 @@ const fv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
50121
50121
  }), !0;
50122
50122
  }, _v1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
50123
50123
  var s;
50124
- const { extendEmptyMarkRange: o = !1 } = t, { selection: a } = n, l = A4(e, i.schema), { $from: d, empty: c, ranges: u } = a;
50124
+ const { extendEmptyMarkRange: o = !1 } = t, { selection: a } = n, l = E4(e, i.schema), { $from: d, empty: c, ranges: u } = a;
50125
50125
  if (!r)
50126
50126
  return !0;
50127
50127
  if (c && o) {
@@ -50136,7 +50136,7 @@ const fv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
50136
50136
  }, Mv1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
50137
50137
  let s = null, o = null;
50138
50138
  const a = Il(typeof e == "string" ? e : e.name, i.schema);
50139
- return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = A4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
50139
+ return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = E4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
50140
50140
  const d = l.$from.pos, c = l.$to.pos;
50141
50141
  let u, p, g, m;
50142
50142
  n.selection.empty ? i.doc.nodesBetween(d, c, (y, b) => {
@@ -50403,7 +50403,7 @@ const Lv1 = qt.create({
50403
50403
  ];
50404
50404
  }
50405
50405
  });
50406
- class K4 {
50406
+ class j4 {
50407
50407
  get name() {
50408
50408
  return this.node.type.name;
50409
50409
  }
@@ -50462,15 +50462,15 @@ class K4 {
50462
50462
  if (this.depth === 0)
50463
50463
  return null;
50464
50464
  const t = this.resolvedPos.start(this.resolvedPos.depth - 1), n = this.resolvedPos.doc.resolve(t);
50465
- return new K4(n, this.editor);
50465
+ return new j4(n, this.editor);
50466
50466
  }
50467
50467
  get before() {
50468
50468
  let t = this.resolvedPos.doc.resolve(this.from - (this.isBlock ? 1 : 2));
50469
- return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.from - 3)), new K4(t, this.editor);
50469
+ return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.from - 3)), new j4(t, this.editor);
50470
50470
  }
50471
50471
  get after() {
50472
50472
  let t = this.resolvedPos.doc.resolve(this.to + (this.isBlock ? 2 : 1));
50473
- return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.to + 3)), new K4(t, this.editor);
50473
+ return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.to + 3)), new j4(t, this.editor);
50474
50474
  }
50475
50475
  get children() {
50476
50476
  const t = [];
@@ -50481,8 +50481,8 @@ class K4 {
50481
50481
  const a = this.resolvedPos.doc.resolve(o);
50482
50482
  if (!r && a.depth <= this.depth)
50483
50483
  return;
50484
- const l = new K4(a, this.editor, r, r ? n : null);
50485
- r && (l.actualDepth = this.depth + 1), t.push(new K4(a, this.editor, r, r ? n : null));
50484
+ const l = new j4(a, this.editor, r, r ? n : null);
50485
+ r && (l.actualDepth = this.depth + 1), t.push(new j4(a, this.editor, r, r ? n : null));
50486
50486
  }), t;
50487
50487
  }
50488
50488
  get firstChild() {
@@ -50952,7 +50952,7 @@ let Dv1 = class extends Ww1 {
50952
50952
  }
50953
50953
  $pos(t) {
50954
50954
  const n = this.state.doc.resolve(t);
50955
- return new K4(n, this);
50955
+ return new j4(n, this);
50956
50956
  }
50957
50957
  get $doc() {
50958
50958
  return this.$pos(0);
@@ -51028,7 +51028,7 @@ function Pn(e) {
51028
51028
  r().updateAttributes(u, s).run();
51029
51029
  }
51030
51030
  const c = o.doc.resolve(n.from - 1).nodeBefore;
51031
- c && c.type === e.type && I4(o.doc, n.from - 1) && (!e.joinPredicate || e.joinPredicate(i, c)) && o.join(n.from - 1);
51031
+ c && c.type === e.type && x4(o.doc, n.from - 1) && (!e.joinPredicate || e.joinPredicate(i, c)) && o.join(n.from - 1);
51032
51032
  }
51033
51033
  });
51034
51034
  }
@@ -51067,7 +51067,7 @@ class Y3 {
51067
51067
  })), n;
51068
51068
  }
51069
51069
  }
51070
- function V4(e) {
51070
+ function T4(e) {
51071
51071
  return new nb1({
51072
51072
  find: e.find,
51073
51073
  handler: ({ state: t, range: n, match: i, pasteEvent: r }) => {
@@ -51176,7 +51176,7 @@ const Ex = {
51176
51176
  function I5(e) {
51177
51177
  return e.split("-")[0];
51178
51178
  }
51179
- var p8 = Math.max, Ca = Math.min, U7 = Math.round;
51179
+ var C8 = Math.max, Ca = Math.min, U7 = Math.round;
51180
51180
  function Tp() {
51181
51181
  var e = navigator.userAgentData;
51182
51182
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -51231,7 +51231,7 @@ function v9(e) {
51231
51231
  function tS1(e) {
51232
51232
  return ["table", "td", "th"].indexOf(B5(e)) >= 0;
51233
51233
  }
51234
- function P4(e) {
51234
+ function A4(e) {
51235
51235
  return ((V8(e) ? e.ownerDocument : (
51236
51236
  // $FlowFixMe[prop-missing]
51237
51237
  e.document
@@ -51246,7 +51246,7 @@ function Al(e) {
51246
51246
  e.parentNode || // DOM Element detected
51247
51247
  (yf(e) ? e.host : null) || // ShadowRoot detected
51248
51248
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
51249
- P4(e)
51249
+ A4(e)
51250
51250
  );
51251
51251
  }
51252
51252
  function $S(e) {
@@ -51278,7 +51278,7 @@ function bf(e) {
51278
51278
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
51279
51279
  }
51280
51280
  function rn(e, t, n) {
51281
- return p8(e, Ca(t, n));
51281
+ return C8(e, Ca(t, n));
51282
51282
  }
51283
51283
  function iS1(e, t, n) {
51284
51284
  var i = rn(e, t, n);
@@ -51353,7 +51353,7 @@ function BS(e) {
51353
51353
  var w = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), M = W3, T = G3, E = window;
51354
51354
  if (d) {
51355
51355
  var B = ci(n), K = "clientHeight", R = "clientWidth";
51356
- if (B === g6(n) && (B = P4(n), v9(B).position !== "static" && a === "absolute" && (K = "scrollHeight", R = "scrollWidth")), B = B, r === G3 || (r === W3 || r === $6) && s === On) {
51356
+ if (B === g6(n) && (B = A4(n), v9(B).position !== "static" && a === "absolute" && (K = "scrollHeight", R = "scrollWidth")), B = B, r === G3 || (r === W3 || r === $6) && s === On) {
51357
51357
  T = O6;
51358
51358
  var D = u && B === E && E.visualViewport ? E.visualViewport.height : (
51359
51359
  // $FlowFixMe[prop-missing]
@@ -51465,10 +51465,10 @@ function vf(e) {
51465
51465
  };
51466
51466
  }
51467
51467
  function Sf(e) {
51468
- return Z7(P4(e)).left + vf(e).scrollLeft;
51468
+ return Z7(A4(e)).left + vf(e).scrollLeft;
51469
51469
  }
51470
51470
  function gS1(e, t) {
51471
- var n = g6(e), i = P4(e), r = n.visualViewport, s = i.clientWidth, o = i.clientHeight, a = 0, l = 0;
51471
+ var n = g6(e), i = A4(e), r = n.visualViewport, s = i.clientWidth, o = i.clientHeight, a = 0, l = 0;
51472
51472
  if (r) {
51473
51473
  s = r.width, o = r.height;
51474
51474
  var d = Ax();
@@ -51482,8 +51482,8 @@ function gS1(e, t) {
51482
51482
  };
51483
51483
  }
51484
51484
  function mS1(e) {
51485
- var t, n = P4(e), i = vf(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, s = p8(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = p8(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -i.scrollLeft + Sf(e), l = -i.scrollTop;
51486
- return v9(r || n).direction === "rtl" && (a += p8(n.clientWidth, r ? r.clientWidth : 0) - s), {
51485
+ var t, n = A4(e), i = vf(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, s = C8(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = C8(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -i.scrollLeft + Sf(e), l = -i.scrollTop;
51486
+ return v9(r || n).direction === "rtl" && (a += C8(n.clientWidth, r ? r.clientWidth : 0) - s), {
51487
51487
  width: s,
51488
51488
  height: o,
51489
51489
  x: a,
@@ -51519,7 +51519,7 @@ function yS1(e, t) {
51519
51519
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
51520
51520
  }
51521
51521
  function NS(e, t, n) {
51522
- return t === xx ? Vp(gS1(e, n)) : V8(t) ? yS1(t, n) : Vp(mS1(P4(e)));
51522
+ return t === xx ? Vp(gS1(e, n)) : V8(t) ? yS1(t, n) : Vp(mS1(A4(e)));
51523
51523
  }
51524
51524
  function wS1(e) {
51525
51525
  var t = sn(Al(e)), n = ["absolute", "fixed"].indexOf(v9(e).position) >= 0, i = n && I6(e) ? ci(e) : e;
@@ -51530,7 +51530,7 @@ function wS1(e) {
51530
51530
  function bS1(e, t, n, i) {
51531
51531
  var r = t === "clippingParents" ? wS1(e) : [].concat(t), s = [].concat(r, [n]), o = s[0], a = s.reduce(function(l, d) {
51532
51532
  var c = NS(e, d, i);
51533
- return l.top = p8(c.top, l.top), l.right = Ca(c.right, l.right), l.bottom = Ca(c.bottom, l.bottom), l.left = p8(c.left, l.left), l;
51533
+ return l.top = C8(c.top, l.top), l.right = Ca(c.right, l.right), l.bottom = Ca(c.bottom, l.bottom), l.left = C8(c.left, l.left), l;
51534
51534
  }, NS(e, o, i));
51535
51535
  return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
51536
51536
  }
@@ -51583,7 +51583,7 @@ function Nx(e) {
51583
51583
  }
51584
51584
  function $n(e, t) {
51585
51585
  t === void 0 && (t = {});
51586
- var n = t, i = n.placement, r = i === void 0 ? e.placement : i, s = n.strategy, o = s === void 0 ? e.strategy : s, a = n.boundary, l = a === void 0 ? Fv1 : a, d = n.rootBoundary, c = d === void 0 ? xx : d, u = n.elementContext, p = u === void 0 ? P0 : u, g = n.altBoundary, m = g === void 0 ? !1 : g, y = n.padding, b = y === void 0 ? 0 : y, w = $x(typeof b != "number" ? b : Bx(b, di)), S = p === P0 ? Uv1 : P0, M = e.rects.popper, T = e.elements[m ? S : p], E = bS1(V8(T) ? T : T.contextElement || P4(e.elements.popper), l, c, o), B = Z7(e.elements.reference), K = Nx({
51586
+ var n = t, i = n.placement, r = i === void 0 ? e.placement : i, s = n.strategy, o = s === void 0 ? e.strategy : s, a = n.boundary, l = a === void 0 ? Fv1 : a, d = n.rootBoundary, c = d === void 0 ? xx : d, u = n.elementContext, p = u === void 0 ? P0 : u, g = n.altBoundary, m = g === void 0 ? !1 : g, y = n.padding, b = y === void 0 ? 0 : y, w = $x(typeof b != "number" ? b : Bx(b, di)), S = p === P0 ? Uv1 : P0, M = e.rects.popper, T = e.elements[m ? S : p], E = bS1(V8(T) ? T : T.contextElement || A4(e.elements.popper), l, c, o), B = Z7(e.elements.reference), K = Nx({
51587
51587
  reference: B,
51588
51588
  element: M,
51589
51589
  placement: r
@@ -51791,7 +51791,7 @@ function AS1(e) {
51791
51791
  var Q, h1 = T === "y" ? G3 : W3, F1 = T === "y" ? O6 : $6, G1 = T === "y" ? "height" : "width", de = B[T], j1 = de + b[h1], Me = de - b[F1], K1 = g ? -R[G1] / 2 : 0, ee = S === F7 ? K[G1] : R[G1], ke = S === F7 ? -R[G1] : -K[G1], J1 = t.elements.arrow, Ke = g && J1 ? wf(J1) : {
51792
51792
  width: 0,
51793
51793
  height: 0
51794
- }, we = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ox(), Qe = we[h1], be = we[F1], Ae = rn(0, K[G1], Ke[G1]), De = M ? K[G1] / 2 - K1 - Ae - Qe - N.mainAxis : ee - Ae - Qe - N.mainAxis, St = M ? -K[G1] / 2 + K1 + Ae + be + N.mainAxis : ke + Ae + be + N.mainAxis, at = t.elements.arrow && ci(t.elements.arrow), Fe = at ? T === "y" ? at.clientTop || 0 : at.clientLeft || 0 : 0, mt = (Q = q == null ? void 0 : q[T]) != null ? Q : 0, nt = de + De - mt - Fe, Ht = de + St - mt, z = rn(g ? Ca(j1, nt) : j1, de, g ? p8(Me, Ht) : Me);
51794
+ }, we = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ox(), Qe = we[h1], be = we[F1], Ae = rn(0, K[G1], Ke[G1]), De = M ? K[G1] / 2 - K1 - Ae - Qe - N.mainAxis : ee - Ae - Qe - N.mainAxis, St = M ? -K[G1] / 2 + K1 + Ae + be + N.mainAxis : ke + Ae + be + N.mainAxis, at = t.elements.arrow && ci(t.elements.arrow), Fe = at ? T === "y" ? at.clientTop || 0 : at.clientLeft || 0 : 0, mt = (Q = q == null ? void 0 : q[T]) != null ? Q : 0, nt = de + De - mt - Fe, Ht = de + St - mt, z = rn(g ? Ca(j1, nt) : j1, de, g ? C8(Me, Ht) : Me);
51795
51795
  B[T] = z, c1[T] = z - de;
51796
51796
  }
51797
51797
  if (a) {
@@ -51823,7 +51823,7 @@ function BS1(e) {
51823
51823
  }
51824
51824
  function DS1(e, t, n) {
51825
51825
  n === void 0 && (n = !1);
51826
- var i = I6(t), r = I6(t) && BS1(t), s = P4(t), o = Z7(e, r, n), a = {
51826
+ var i = I6(t), r = I6(t) && BS1(t), s = A4(t), o = Z7(e, r, n), a = {
51827
51827
  scrollLeft: 0,
51828
51828
  scrollTop: 0
51829
51829
  }, l = {
@@ -52000,7 +52000,7 @@ function ZS1(e) {
52000
52000
  }
52001
52001
  var zS1 = [pS1, IS1, uS1, Ex, HS1, MS1, PS1, aS1, TS1], qS1 = /* @__PURE__ */ ZS1({
52002
52002
  defaultModifiers: zS1
52003
- }), GS1 = "tippy-box", Rx = "tippy-content", WS1 = "tippy-backdrop", Fx = "tippy-arrow", Ux = "tippy-svg-arrow", W4 = {
52003
+ }), GS1 = "tippy-box", Rx = "tippy-content", WS1 = "tippy-backdrop", Fx = "tippy-arrow", Ux = "tippy-svg-arrow", G4 = {
52004
52004
  passive: !0,
52005
52005
  capture: !0
52006
52006
  }, Zx = function() {
@@ -52141,7 +52141,7 @@ function o_1() {
52141
52141
  }
52142
52142
  }
52143
52143
  function a_1() {
52144
- document.addEventListener("touchstart", s_1, W4), window.addEventListener("blur", o_1);
52144
+ document.addEventListener("touchstart", s_1, G4), window.addEventListener("blur", o_1);
52145
52145
  }
52146
52146
  var l_1 = typeof window < "u" && typeof document < "u", d_1 = l_1 ? (
52147
52147
  // @ts-ignore
@@ -52495,11 +52495,11 @@ function w_1(e, t) {
52495
52495
  }
52496
52496
  function we() {
52497
52497
  var G = h1();
52498
- G.addEventListener("mousedown", ke, !0), G.addEventListener("touchend", ke, W4), G.addEventListener("touchstart", Ke, W4), G.addEventListener("touchmove", J1, W4);
52498
+ G.addEventListener("mousedown", ke, !0), G.addEventListener("touchend", ke, G4), G.addEventListener("touchstart", Ke, G4), G.addEventListener("touchmove", J1, G4);
52499
52499
  }
52500
52500
  function Qe() {
52501
52501
  var G = h1();
52502
- G.removeEventListener("mousedown", ke, !0), G.removeEventListener("touchend", ke, W4), G.removeEventListener("touchstart", Ke, W4), G.removeEventListener("touchmove", J1, W4);
52502
+ G.removeEventListener("mousedown", ke, !0), G.removeEventListener("touchend", ke, G4), G.removeEventListener("touchstart", Ke, G4), G.removeEventListener("touchmove", J1, G4);
52503
52503
  }
52504
52504
  function be(G, s1) {
52505
52505
  De(G, function() {
@@ -53118,7 +53118,7 @@ const __1 = n1({
53118
53118
  }
53119
53119
  },
53120
53120
  setup(e) {
53121
- const t = me(), n = L4();
53121
+ const t = me(), n = V4();
53122
53122
  return NO(() => {
53123
53123
  const i = e.editor;
53124
53124
  i && i.options.element && t.value && Un(() => {
@@ -53324,11 +53324,11 @@ const M_1 = /^\s*>\s$/, k_1 = Y3.create({
53324
53324
  },
53325
53325
  addPasteRules() {
53326
53326
  return [
53327
- V4({
53327
+ T4({
53328
53328
  find: V_1,
53329
53329
  type: this.type
53330
53330
  }),
53331
- V4({
53331
+ T4({
53332
53332
  find: H_1,
53333
53333
  type: this.type
53334
53334
  })
@@ -53422,7 +53422,7 @@ const M_1 = /^\s*>\s$/, k_1 = Y3.create({
53422
53422
  },
53423
53423
  addPasteRules() {
53424
53424
  return [
53425
- V4({
53425
+ T4({
53426
53426
  find: P_1,
53427
53427
  type: this.type
53428
53428
  })
@@ -54204,15 +54204,15 @@ class j9 {
54204
54204
  }
54205
54205
  const nM1 = 20;
54206
54206
  function iM1(e, t, n, i) {
54207
- let r = n.getMeta(h8), s;
54207
+ let r = n.getMeta(p8), s;
54208
54208
  if (r)
54209
54209
  return r.historyState;
54210
54210
  n.getMeta(oM1) && (e = new j9(e.done, e.undone, null, 0, -1));
54211
54211
  let o = n.getMeta("appendedTransaction");
54212
54212
  if (n.steps.length == 0)
54213
54213
  return e;
54214
- if (o && o.getMeta(h8))
54215
- return o.getMeta(h8).redo ? new j9(e.done.addTransform(n, void 0, i, vo(t)), e.undone, i_(n.mapping.maps), e.prevTime, e.prevComposition) : new j9(e.done, e.undone.addTransform(n, void 0, i, vo(t)), null, e.prevTime, e.prevComposition);
54214
+ if (o && o.getMeta(p8))
54215
+ return o.getMeta(p8).redo ? new j9(e.done.addTransform(n, void 0, i, vo(t)), e.undone, i_(n.mapping.maps), e.prevTime, e.prevComposition) : new j9(e.done, e.undone.addTransform(n, void 0, i, vo(t)), null, e.prevTime, e.prevComposition);
54216
54216
  if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
54217
54217
  let a = n.getMeta("composition"), l = e.prevTime == 0 || !o && e.prevComposition != a && (e.prevTime < (n.time || 0) - i.newGroupDelay || !rM1(n, e.prevRanges)), d = o ? Iu(e.prevRanges, n.mapping) : i_(n.mapping.maps);
54218
54218
  return new j9(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, vo(t)), Q6.empty, d, n.time, a ?? e.prevComposition);
@@ -54246,11 +54246,11 @@ function Iu(e, t) {
54246
54246
  return n;
54247
54247
  }
54248
54248
  function sM1(e, t, n) {
54249
- let i = vo(t), r = h8.get(t).spec.config, s = (n ? e.undone : e.done).popEvent(t, i);
54249
+ let i = vo(t), r = p8.get(t).spec.config, s = (n ? e.undone : e.done).popEvent(t, i);
54250
54250
  if (!s)
54251
54251
  return null;
54252
54252
  let o = s.selection.resolve(s.transform.doc), a = (n ? e.done : e.undone).addTransform(s.transform, t.selection.getBookmark(), r, i), l = new j9(n ? a : s.remaining, n ? s.remaining : a, null, 0, -1);
54253
- return s.transform.setSelection(o).setMeta(h8, { redo: n, historyState: l });
54253
+ return s.transform.setSelection(o).setMeta(p8, { redo: n, historyState: l });
54254
54254
  }
54255
54255
  let Eu = !1, r_ = null;
54256
54256
  function vo(e) {
@@ -54265,13 +54265,13 @@ function vo(e) {
54265
54265
  }
54266
54266
  return Eu;
54267
54267
  }
54268
- const h8 = new z2("history"), oM1 = new z2("closeHistory");
54268
+ const p8 = new z2("history"), oM1 = new z2("closeHistory");
54269
54269
  function aM1(e = {}) {
54270
54270
  return e = {
54271
54271
  depth: e.depth || 100,
54272
54272
  newGroupDelay: e.newGroupDelay || 500
54273
54273
  }, new h2({
54274
- key: h8,
54274
+ key: p8,
54275
54275
  state: {
54276
54276
  init() {
54277
54277
  return new j9(Q6.empty, Q6.empty, null, 0, -1);
@@ -54293,7 +54293,7 @@ function aM1(e = {}) {
54293
54293
  }
54294
54294
  function tI(e, t) {
54295
54295
  return (n, i) => {
54296
- let r = h8.getState(n);
54296
+ let r = p8.getState(n);
54297
54297
  if (!r || (e ? r.undone : r.done).eventCount == 0)
54298
54298
  return !1;
54299
54299
  if (i) {
@@ -54439,11 +54439,11 @@ const nI = tI(!1, !0), iI = tI(!0, !0), lM1 = qt.create({
54439
54439
  },
54440
54440
  addPasteRules() {
54441
54441
  return [
54442
- V4({
54442
+ T4({
54443
54443
  find: uM1,
54444
54444
  type: this.type
54445
54445
  }),
54446
- V4({
54446
+ T4({
54447
54447
  find: pM1,
54448
54448
  type: this.type
54449
54449
  })
@@ -54621,7 +54621,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), lM1 = qt.create({
54621
54621
  },
54622
54622
  addPasteRules() {
54623
54623
  return [
54624
- V4({
54624
+ T4({
54625
54625
  find: bM1,
54626
54626
  type: this.type
54627
54627
  })
@@ -54952,7 +54952,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), lM1 = qt.create({
54952
54952
  },
54953
54953
  addPasteRules() {
54954
54954
  return [
54955
- V4({
54955
+ T4({
54956
54956
  find: kM1,
54957
54957
  type: this.type
54958
54958
  })
@@ -55011,7 +55011,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), lM1 = qt.create({
55011
55011
  function IM1(e, t) {
55012
55012
  return e in t || (t[e] = []), t[e];
55013
55013
  }
55014
- function n8(e, t, n) {
55014
+ function t8(e, t, n) {
55015
55015
  t[Ip] && (t[an] = !0, t[z0] = !0), t[Ep] && (t[an] = !0, t[Ap] = !0), t[an] && (t[z0] = !0), t[Ap] && (t[z0] = !0), t[z0] && (t[Pp] = !0), t[hI] && (t[Pp] = !0);
55016
55016
  for (const i in t) {
55017
55017
  const r = IM1(i, n);
@@ -55083,7 +55083,7 @@ F3.prototype = {
55083
55083
  tr(e, t, n, i) {
55084
55084
  i = i || F3.groups;
55085
55085
  let r;
55086
- return t && t.j ? r = t : (r = new F3(t), n && i && n8(t, n, i)), this.jr.push([e, r]), r;
55086
+ return t && t.j ? r = t : (r = new F3(t), n && i && t8(t, n, i)), this.jr.push([e, r]), r;
55087
55087
  },
55088
55088
  /**
55089
55089
  * Short for "take transitions", will take as many sequential transitions as
@@ -55141,8 +55141,8 @@ F3.prototype = {
55141
55141
  if (i)
55142
55142
  if (o.t && typeof o.t == "string") {
55143
55143
  const l = q7(EM1(o.t, i), n);
55144
- n8(s, l, i);
55145
- } else n && n8(s, n, i);
55144
+ t8(s, l, i);
55145
+ } else n && t8(s, n, i);
55146
55146
  o.t = s;
55147
55147
  }
55148
55148
  return r.j[e] = o, o;
@@ -55250,16 +55250,16 @@ function OM1(e = []) {
55250
55250
  U9(n, Ks[y], $p, t9, g);
55251
55251
  for (let y = 0; y < Ys.length; y++)
55252
55252
  U9(n, Ys[y], Bp, Op, m);
55253
- n8($p, {
55253
+ t8($p, {
55254
55254
  tld: !0,
55255
55255
  ascii: !0
55256
- }, t), n8(Bp, {
55256
+ }, t), t8(Bp, {
55257
55257
  utld: !0,
55258
55258
  alpha: !0
55259
- }, t), U9(n, "file", So, t9, g), U9(n, "mailto", So, t9, g), U9(n, "http", g7, t9, g), U9(n, "https", g7, t9, g), U9(n, "ftp", g7, t9, g), U9(n, "ftps", g7, t9, g), n8(So, {
55259
+ }, t), U9(n, "file", So, t9, g), U9(n, "mailto", So, t9, g), U9(n, "http", g7, t9, g), U9(n, "https", g7, t9, g), U9(n, "ftp", g7, t9, g), U9(n, "ftps", g7, t9, g), t8(So, {
55260
55260
  scheme: !0,
55261
55261
  ascii: !0
55262
- }, t), n8(g7, {
55262
+ }, t), t8(g7, {
55263
55263
  slashscheme: !0,
55264
55264
  ascii: !0
55265
55265
  }, t), e = e.sort((y, b) => y[0] > b[0] ? 1 : -1);
@@ -55782,7 +55782,7 @@ function WM1(e) {
55782
55782
  });
55783
55783
  }
55784
55784
  const jM1 = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
55785
- function q4(e, t) {
55785
+ function z4(e, t) {
55786
55786
  const n = [
55787
55787
  "http",
55788
55788
  "https",
@@ -55836,7 +55836,7 @@ const _I = P6.create({
55836
55836
  rel: "noopener noreferrer nofollow",
55837
55837
  class: null
55838
55838
  },
55839
- isAllowedUri: (e, t) => !!q4(e, t.protocols),
55839
+ isAllowedUri: (e, t) => !!z4(e, t.protocols),
55840
55840
  validate: (e) => !!e,
55841
55841
  shouldAutoLink: (e) => !!e
55842
55842
  };
@@ -55867,7 +55867,7 @@ const _I = P6.create({
55867
55867
  getAttrs: (e) => {
55868
55868
  const t = e.getAttribute("href");
55869
55869
  return !t || !this.options.isAllowedUri(t, {
55870
- defaultValidate: (n) => !!q4(n, this.options.protocols),
55870
+ defaultValidate: (n) => !!z4(n, this.options.protocols),
55871
55871
  protocols: this.options.protocols,
55872
55872
  defaultProtocol: this.options.defaultProtocol
55873
55873
  }) ? !1 : null;
@@ -55877,7 +55877,7 @@ const _I = P6.create({
55877
55877
  },
55878
55878
  renderHTML({ HTMLAttributes: e }) {
55879
55879
  return this.options.isAllowedUri(e.href, {
55880
- defaultValidate: (t) => !!q4(t, this.options.protocols),
55880
+ defaultValidate: (t) => !!z4(t, this.options.protocols),
55881
55881
  protocols: this.options.protocols,
55882
55882
  defaultProtocol: this.options.defaultProtocol
55883
55883
  }) ? ["a", _2(this.options.HTMLAttributes, e), 0] : [
@@ -55891,7 +55891,7 @@ const _I = P6.create({
55891
55891
  setLink: (e) => ({ chain: t }) => {
55892
55892
  const { href: n } = e;
55893
55893
  return this.options.isAllowedUri(n, {
55894
- defaultValidate: (i) => !!q4(i, this.options.protocols),
55894
+ defaultValidate: (i) => !!z4(i, this.options.protocols),
55895
55895
  protocols: this.options.protocols,
55896
55896
  defaultProtocol: this.options.defaultProtocol
55897
55897
  }) ? t().setMark(this.name, e).setMeta("preventAutolink", !0).run() : !1;
@@ -55899,7 +55899,7 @@ const _I = P6.create({
55899
55899
  toggleLink: (e) => ({ chain: t }) => {
55900
55900
  const { href: n } = e;
55901
55901
  return this.options.isAllowedUri(n, {
55902
- defaultValidate: (i) => !!q4(i, this.options.protocols),
55902
+ defaultValidate: (i) => !!z4(i, this.options.protocols),
55903
55903
  protocols: this.options.protocols,
55904
55904
  defaultProtocol: this.options.defaultProtocol
55905
55905
  }) ? t().toggleMark(this.name, e, { extendEmptyMarkRange: !0 }).setMeta("preventAutolink", !0).run() : !1;
@@ -55909,12 +55909,12 @@ const _I = P6.create({
55909
55909
  },
55910
55910
  addPasteRules() {
55911
55911
  return [
55912
- V4({
55912
+ T4({
55913
55913
  find: (e) => {
55914
55914
  const t = [];
55915
55915
  if (e) {
55916
55916
  const { protocols: n, defaultProtocol: i } = this.options, r = SI(e).filter((s) => s.isLink && this.options.isAllowedUri(s.value, {
55917
- defaultValidate: (o) => !!q4(o, n),
55917
+ defaultValidate: (o) => !!z4(o, n),
55918
55918
  protocols: n,
55919
55919
  defaultProtocol: i
55920
55920
  }));
@@ -55944,7 +55944,7 @@ const _I = P6.create({
55944
55944
  type: this.type,
55945
55945
  defaultProtocol: this.options.defaultProtocol,
55946
55946
  validate: (i) => this.options.isAllowedUri(i, {
55947
- defaultValidate: (r) => !!q4(r, t),
55947
+ defaultValidate: (r) => !!z4(r, t),
55948
55948
  protocols: t,
55949
55949
  defaultProtocol: n
55950
55950
  }),
@@ -56473,7 +56473,14 @@ const q0 = /* @__PURE__ */ B6(rk1), sk1 = (e, t, n) => {
56473
56473
  content: e.value ?? "",
56474
56474
  editable: !t.readOnly,
56475
56475
  extensions: [
56476
- rI,
56476
+ rI.configure({
56477
+ bulletList: !1,
56478
+ orderedList: !1,
56479
+ listItem: !1,
56480
+ horizontalRule: !1,
56481
+ codeBlock: !1,
56482
+ code: !1
56483
+ }),
56477
56484
  sI,
56478
56485
  oI.configure({ mergeNestedSpanStyles: !0 }),
56479
56486
  aI.configure({
@@ -57180,10 +57187,10 @@ const q0 = /* @__PURE__ */ B6(rk1), sk1 = (e, t, n) => {
57180
57187
  Qt(() => n.context.isDesignCom, async () => {
57181
57188
  const S = mn().toLowerCase(), M = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
57182
57189
  try {
57183
- const { default: T } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-SuRBYEOK.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-nRsOUZ3P.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-ClBEtWuB.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-K4MC8Ylw.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-CVu8GWB4.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-CKGT_xy8.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DwqjHxyq.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BMx0XD9Y.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-WgW2vbbI.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BZJmhI7K.js") }), `./watermark/CreatedOn${M}-${S}.vue`, 3);
57190
+ const { default: T } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BEJZW9EU.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DnqipZ0K.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-DPH6Tvc7.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CwxOWdgN.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-HWDXi_vy.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DeDtODBP.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CdgFJhDz.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-Vt-agxSv.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CH_phXpq.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BKuQlzwh.js") }), `./watermark/CreatedOn${M}-${S}.vue`, 3);
57184
57191
  i.value = T;
57185
57192
  } catch {
57186
- const { default: E } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-nRsOUZ3P.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DwqjHxyq.js") }), `./watermark/CreatedOn${M}-en-us.vue`, 3);
57193
+ const { default: E } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DnqipZ0K.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CdgFJhDz.js") }), `./watermark/CreatedOn${M}-en-us.vue`, 3);
57187
57194
  i.value = E;
57188
57195
  }
57189
57196
  }, {
@@ -58790,7 +58797,7 @@ function cI1(e, t, n, i, r, s) {
58790
58797
  }, null, 8, ["class", "min-height", "min-width"])) : _("", !0)
58791
58798
  ], 2);
58792
58799
  }
58793
- const O4 = /* @__PURE__ */ v(dI1, [["render", cI1], ["__scopeId", "data-v-4dbc9bf6"]]), __ = 14, uI1 = 0.3, CI1 = /* @__PURE__ */ n1({
58800
+ const P4 = /* @__PURE__ */ v(dI1, [["render", cI1], ["__scopeId", "data-v-4dbc9bf6"]]), __ = 14, uI1 = 0.3, CI1 = /* @__PURE__ */ n1({
58794
58801
  __name: "TextWrapper",
58795
58802
  props: {
58796
58803
  textStyle: { default: {} },
@@ -58825,7 +58832,7 @@ const O4 = /* @__PURE__ */ v(dI1, [["render", cI1], ["__scopeId", "data-v-4dbc9b
58825
58832
  }), Qt(a, () => {
58826
58833
  g();
58827
58834
  });
58828
- const d = L4(), c = I(
58835
+ const d = V4(), c = I(
58829
58836
  () => t.textStyle.backgroundColor && !o.value ? "tw-py-2 tw-px-4" : ""
58830
58837
  );
58831
58838
  I2(() => {
@@ -58890,7 +58897,7 @@ const O4 = /* @__PURE__ */ v(dI1, [["render", cI1], ["__scopeId", "data-v-4dbc9b
58890
58897
  components: {
58891
58898
  Icon: o0,
58892
58899
  HashRouteModal: DT,
58893
- Media: O4,
58900
+ Media: P4,
58894
58901
  IconV2: ye,
58895
58902
  TextWrapper: Rt
58896
58903
  },
@@ -59093,13 +59100,13 @@ function bI1(e, t, n, i, r, s) {
59093
59100
  }, 8, ["visible", "onCloseModal"])
59094
59101
  ]);
59095
59102
  }
59096
- const Ua = /* @__PURE__ */ v(pI1, [["render", bI1], ["__scopeId", "data-v-fbee2bb3"]]), Y4 = class Y4 {
59103
+ const Ua = /* @__PURE__ */ v(pI1, [["render", bI1], ["__scopeId", "data-v-fbee2bb3"]]), K4 = class K4 {
59097
59104
  constructor() {
59098
59105
  v1(this, "_logoCache");
59099
59106
  this._logoCache = {};
59100
59107
  }
59101
59108
  static getInstance() {
59102
- return Y4._instance || (Y4._instance = new Y4()), Y4._instance;
59109
+ return K4._instance || (K4._instance = new K4()), K4._instance;
59103
59110
  }
59104
59111
  async getLogoSvgUrlByLogoTemplateImageAsync(t) {
59105
59112
  const n = p3.getInstance(), i = n.getLogoTemplateUrlByLogoTemplateImage(
@@ -59132,8 +59139,8 @@ const Ua = /* @__PURE__ */ v(pI1, [["render", bI1], ["__scopeId", "data-v-fbee2b
59132
59139
  return s.data;
59133
59140
  }
59134
59141
  };
59135
- v1(Y4, "_instance");
59136
- let Fp = Y4;
59142
+ v1(K4, "_instance");
59143
+ let Fp = K4;
59137
59144
  const vI1 = ["src", "alt"], SI1 = /* @__PURE__ */ n1({
59138
59145
  __name: "LogoRender",
59139
59146
  props: {
@@ -59278,7 +59285,7 @@ function xI1(e) {
59278
59285
  });
59279
59286
  }
59280
59287
  function II1() {
59281
- const e = L4();
59288
+ const e = V4();
59282
59289
  if (!e || e.isMounted)
59283
59290
  throw new Error("useLazyHydration must be called from the setup method.");
59284
59291
  const t = e.vnode.el !== null;
@@ -59309,7 +59316,7 @@ function EI1({
59309
59316
  }, i = 2e3) {
59310
59317
  if (!e)
59311
59318
  return;
59312
- if (!L4())
59319
+ if (!V4())
59313
59320
  throw new Error(
59314
59321
  "useHydrateWhenIdle must be called from the setup or lifecycle hook methods."
59315
59322
  );
@@ -59357,7 +59364,7 @@ function OI1({
59357
59364
  }, i = ["focus"]) {
59358
59365
  if (!e)
59359
59366
  return;
59360
- const r = L4();
59367
+ const r = V4();
59361
59368
  if (!r || r.isMounted)
59362
59369
  throw new Error(
59363
59370
  "useHydrateOnInteraction must be called from the setup method."
@@ -59408,7 +59415,7 @@ function $I1({
59408
59415
  }, i) {
59409
59416
  if (!e)
59410
59417
  return;
59411
- if (!L4())
59418
+ if (!V4())
59412
59419
  throw new Error(
59413
59420
  "useHydrateWhenTriggered must be called from the setup or lifecycle hook methods."
59414
59421
  );
@@ -59447,7 +59454,7 @@ function DI1({
59447
59454
  }, i) {
59448
59455
  if (!e)
59449
59456
  return;
59450
- const r = L4();
59457
+ const r = V4();
59451
59458
  if (!r || r.isMounted)
59452
59459
  throw new Error(
59453
59460
  "useHydrateWhenVisible must be called from the setup method."
@@ -60085,7 +60092,7 @@ const pE1 = /* @__PURE__ */ v(cE1, [["render", CE1], ["__scopeId", "data-v-650ce
60085
60092
  }
60086
60093
  }
60087
60094
  }), mE1 = {
60088
- components: { Media: O4, TextWrapper: Rt },
60095
+ components: { Media: P4, TextWrapper: Rt },
60089
60096
  mixins: [gE1]
60090
60097
  }, yE1 = {
60091
60098
  key: 0,
@@ -60263,13 +60270,13 @@ const OI = /* @__PURE__ */ v(_E1, [["render", kE1], ["__scopeId", "data-v-486517
60263
60270
  },
60264
60271
  computed: {
60265
60272
  imgAspectRatio() {
60266
- return this.viewModel.aspectRatio && _4[this.viewModel.aspectRatio] || `${this.viewModel.width}/${this.viewModel.height}`;
60273
+ return this.viewModel.aspectRatio && S4[this.viewModel.aspectRatio] || `${this.viewModel.width}/${this.viewModel.height}`;
60267
60274
  },
60268
60275
  isFullWidth() {
60269
60276
  return this.viewModel.isFullWidth;
60270
60277
  },
60271
60278
  shouldFitImage() {
60272
- return !!(this.viewModel.aspectRatio && _4[this.viewModel.aspectRatio]);
60279
+ return !!(this.viewModel.aspectRatio && S4[this.viewModel.aspectRatio]);
60273
60280
  },
60274
60281
  altText() {
60275
60282
  return t0(this.viewModel, this.context);
@@ -61161,7 +61168,7 @@ function dA1(e, t, n, i, r, s) {
61161
61168
  }, null, -1)
61162
61169
  ]), 8, lA1);
61163
61170
  }
61164
- const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), G4 = (e) => {
61171
+ const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), q4 = (e) => {
61165
61172
  process.env.NODE_ENV !== "production" && console.log(e);
61166
61173
  }, Ku = (e) => {
61167
61174
  process.env.NODE_ENV !== "production" && console.error(e);
@@ -61256,16 +61263,16 @@ const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), G4 = (e) => {
61256
61263
  },
61257
61264
  methods: {
61258
61265
  initialiseStripeScript() {
61259
- if (G4("initialiseStripeScript: start"), Array.from(document.head.children).find(
61266
+ if (q4("initialiseStripeScript: start"), Array.from(document.head.children).find(
61260
61267
  (n) => n.tagName.toUpperCase() === O_ && n.hasAttribute("src") && n.getAttribute("src") === P_
61261
61268
  )) {
61262
- G4("initialiseStripeScript: script exists");
61269
+ q4("initialiseStripeScript: script exists");
61263
61270
  return;
61264
61271
  }
61265
61272
  const t = document.createElement(
61266
61273
  O_
61267
61274
  );
61268
- t.setAttribute("src", P_), t.setAttribute("async", ""), t.setAttribute("defer", ""), document.head.appendChild(t), G4("initialiseStripeScript: script injected");
61275
+ t.setAttribute("src", P_), t.setAttribute("async", ""), t.setAttribute("defer", ""), document.head.appendChild(t), q4("initialiseStripeScript: script injected");
61269
61276
  },
61270
61277
  initStripeElements() {
61271
61278
  if (!this.stripePublishableKey) {
@@ -61274,11 +61281,11 @@ const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), G4 = (e) => {
61274
61281
  }
61275
61282
  if (typeof window.Stripe != "function") {
61276
61283
  setTimeout(() => {
61277
- G4("initStripeElements: waiting for stripe script"), this.initStripeElements();
61284
+ q4("initStripeElements: waiting for stripe script"), this.initStripeElements();
61278
61285
  }, 250);
61279
61286
  return;
61280
61287
  }
61281
- G4("initStripeElements: start");
61288
+ q4("initStripeElements: start");
61282
61289
  try {
61283
61290
  this.stripe = window.Stripe(this.stripePublishableKey, {
61284
61291
  stripeAccount: this.cart.paymentProviderExternalId
@@ -61306,7 +61313,7 @@ const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), G4 = (e) => {
61306
61313
  } catch (e) {
61307
61314
  console.error(e);
61308
61315
  }
61309
- G4("initStripeElements: end");
61316
+ q4("initStripeElements: end");
61310
61317
  },
61311
61318
  onBackClick() {
61312
61319
  this.$emit("go-to-payment-option-selection");
@@ -61344,7 +61351,7 @@ const cA1 = /* @__PURE__ */ v(aA1, [["render", dA1]]), G4 = (e) => {
61344
61351
  receipt_email: this.emailAddress
61345
61352
  }
61346
61353
  );
61347
- e.error ? (Ku(e.error), this.submitError = e.error) : (G4("onSubmitPaymentClick: payment intent success"), this.$emit("success", { result: e }));
61354
+ e.error ? (Ku(e.error), this.submitError = e.error) : (q4("onSubmitPaymentClick: payment intent success"), this.$emit("success", { result: e }));
61348
61355
  } finally {
61349
61356
  this.isBusy = !1;
61350
61357
  }
@@ -61606,7 +61613,7 @@ const DI = /* @__PURE__ */ v(pA1, [["render", xA1], ["__scopeId", "data-v-29cc0f
61606
61613
  };
61607
61614
  },
61608
61615
  showCollapseToggle() {
61609
- return this.viewModel.displayStyle === S4;
61616
+ return this.viewModel.displayStyle === v4;
61610
61617
  },
61611
61618
  successMessage() {
61612
61619
  var e;
@@ -61625,7 +61632,7 @@ const DI = /* @__PURE__ */ v(pA1, [["render", xA1], ["__scopeId", "data-v-29cc0f
61625
61632
  }
61626
61633
  },
61627
61634
  created() {
61628
- this.isCollapsed = this.viewModel.displayStyle === S4 && !this.context.isPreview;
61635
+ this.isCollapsed = this.viewModel.displayStyle === v4 && !this.context.isPreview;
61629
61636
  },
61630
61637
  async mounted() {
61631
61638
  await this.checkRequestPaymentConfig();
@@ -62127,7 +62134,7 @@ const JA1 = /* @__PURE__ */ v(KA1, [["render", XA1]]), QA1 = n1({
62127
62134
  },
62128
62135
  data: () => ({
62129
62136
  DISPLAY_STYLE_PREVIEW: d5,
62130
- DISPLAY_STYLE_COLLAPSED: S4,
62137
+ DISPLAY_STYLE_COLLAPSED: v4,
62131
62138
  isCollapsed: !0,
62132
62139
  title: "Video"
62133
62140
  }),
@@ -62372,7 +62379,7 @@ const hP1 = /* @__PURE__ */ v(cP1, [["render", pP1]]), fP1 = n1({
62372
62379
  return this.viewModel.layoutStyle === Kt;
62373
62380
  },
62374
62381
  hasBgColor() {
62375
- return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle === o8 || this.viewModel.layoutStyle === vt;
62382
+ return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle === s8 || this.viewModel.layoutStyle === vt;
62376
62383
  },
62377
62384
  isCenteredLayout() {
62378
62385
  return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle === vt || this.viewModel.layoutStyle === Kt;
@@ -62384,10 +62391,10 @@ const hP1 = /* @__PURE__ */ v(cP1, [["render", pP1]]), fP1 = n1({
62384
62391
  return this.viewModel.layoutStyle === Z3;
62385
62392
  },
62386
62393
  isTextOnly() {
62387
- return this.viewModel.layoutStyle === o8;
62394
+ return this.viewModel.layoutStyle === s8;
62388
62395
  },
62389
62396
  canCollapse() {
62390
- return this.viewModel.displayStyle === S4;
62397
+ return this.viewModel.displayStyle === v4;
62391
62398
  },
62392
62399
  fields() {
62393
62400
  return this.viewModel.fields;
@@ -62456,13 +62463,13 @@ const hP1 = /* @__PURE__ */ v(cP1, [["render", pP1]]), fP1 = n1({
62456
62463
  getFormValueError(e) {
62457
62464
  if (e.field.enabled)
62458
62465
  switch (e.field.type) {
62459
- case U4.email:
62466
+ case F4.email:
62460
62467
  return Ih(e.value, e.field.required);
62461
- case U4.phone:
62468
+ case F4.phone:
62462
62469
  return fL(e.value, e.field.required);
62463
- case U4.text:
62470
+ case F4.text:
62464
62471
  return gL(e.value, e.field.required);
62465
- case U4["text-area"]:
62472
+ case F4["text-area"]:
62466
62473
  return mL(e.value, e.field.required);
62467
62474
  default:
62468
62475
  return;
@@ -62470,11 +62477,11 @@ const hP1 = /* @__PURE__ */ v(cP1, [["render", pP1]]), fP1 = n1({
62470
62477
  },
62471
62478
  getTextInputTypeByFieldType(e) {
62472
62479
  switch (e) {
62473
- case U4.email:
62480
+ case F4.email:
62474
62481
  return "email";
62475
- case U4.phone:
62482
+ case F4.phone:
62476
62483
  return "tel";
62477
- case U4.text:
62484
+ case F4.text:
62478
62485
  default:
62479
62486
  return "text";
62480
62487
  }
@@ -62489,7 +62496,7 @@ const hP1 = /* @__PURE__ */ v(cP1, [["render", pP1]]), fP1 = n1({
62489
62496
  TextInput: gt,
62490
62497
  Textarea: H8,
62491
62498
  Loader: p2,
62492
- Media: O4,
62499
+ Media: P4,
62493
62500
  TextWrapper: Rt
62494
62501
  },
62495
62502
  mixins: [fP1]
@@ -62974,7 +62981,7 @@ const ZP1 = /* @__PURE__ */ v(gP1, [["render", UP1], ["__scopeId", "data-v-cf146
62974
62981
  }
62975
62982
  }
62976
62983
  }), qP1 = {
62977
- components: { Icon: o0, Media: O4 },
62984
+ components: { Icon: o0, Media: P4 },
62978
62985
  mixins: [zP1]
62979
62986
  }, GP1 = { class: "c-social-links__links-container" }, WP1 = ["href"];
62980
62987
  function jP1(e, t, n, i, r, s) {
@@ -63197,7 +63204,7 @@ const RI = /* @__PURE__ */ v(qP1, [["render", jP1], ["__scopeId", "data-v-520d59
63197
63204
  }
63198
63205
  }
63199
63206
  }), XP1 = {
63200
- components: { Button: Ua, Media: O4, TextWrapper: Rt },
63207
+ components: { Button: Ua, Media: P4, TextWrapper: Rt },
63201
63208
  mixins: [YP1]
63202
63209
  }, JP1 = { key: 2 }, QP1 = { class: "tw-w-full tw-self-center" }, eO1 = { class: "tw-w-full tw-relative" };
63203
63210
  function tO1(e, t, n, i, r, s) {
@@ -63472,7 +63479,7 @@ const nO1 = /* @__PURE__ */ v(XP1, [["render", tO1], ["__scopeId", "data-v-dcac1
63472
63479
  }
63473
63480
  }
63474
63481
  }), rO1 = {
63475
- components: { Media: O4, TextWrapper: Rt },
63482
+ components: { Media: P4, TextWrapper: Rt },
63476
63483
  mixins: [iO1]
63477
63484
  };
63478
63485
  function sO1(e, t, n, i, r, s) {
@@ -63605,7 +63612,7 @@ const lO1 = /* @__PURE__ */ B6(aO1), dO1 = "2/1", cO1 = n1({
63605
63612
  );
63606
63613
  },
63607
63614
  placeHolderStyles() {
63608
- const e = _4[this.viewModel.aspectRatio];
63615
+ const e = S4[this.viewModel.aspectRatio];
63609
63616
  return e ? this.viewModel.aspectRatio === "circle" ? {
63610
63617
  aspectRatio: "1/1",
63611
63618
  borderRadius: e,
@@ -63629,7 +63636,7 @@ const lO1 = /* @__PURE__ */ B6(aO1), dO1 = "2/1", cO1 = n1({
63629
63636
  return this.viewModel.items.length === 1;
63630
63637
  },
63631
63638
  hasAspectRatio() {
63632
- return _4[this.viewModel.aspectRatio] !== "";
63639
+ return S4[this.viewModel.aspectRatio] !== "";
63633
63640
  },
63634
63641
  itemImageAltText() {
63635
63642
  return (e) => t0(e, this.context);
@@ -64015,7 +64022,7 @@ const gO1 = /* @__PURE__ */ v(hO1, [["render", fO1], ["__scopeId", "data-v-61843
64015
64022
  }
64016
64023
  }
64017
64024
  }), wO1 = {
64018
- components: { Carousel: el, Media: O4, Icon: ye, TextWrapper: Rt },
64025
+ components: { Carousel: el, Media: P4, Icon: ye, TextWrapper: Rt },
64019
64026
  mixins: [yO1]
64020
64027
  }, bO1 = { id: "button-prev" }, vO1 = {
64021
64028
  key: 1,
@@ -64281,7 +64288,7 @@ const IO1 = /* @__PURE__ */ v(LO1, [["render", xO1], ["__scopeId", "data-v-b3d3c
64281
64288
  }), AO1 = {
64282
64289
  components: {
64283
64290
  TextMediaSection: FI,
64284
- Media: O4
64291
+ Media: P4
64285
64292
  },
64286
64293
  mixins: [EO1]
64287
64294
  };
@@ -64859,7 +64866,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
64859
64866
  return a.notes.length + (((T = S == null ? void 0 : S.notes) == null ? void 0 : T.length) || 0) <= UI;
64860
64867
  });
64861
64868
  Qt(c, (w) => {
64862
- a.cartNoteErrorMessage = w ? "" : F4("characterExceeded");
64869
+ a.cartNoteErrorMessage = w ? "" : R4("characterExceeded");
64863
64870
  });
64864
64871
  const u = I(() => ({ ...n.buttonStyle })), p = () => {
64865
64872
  a.quantity = 1, a.isShowFullDescription = !1, l("on-close");
@@ -64912,7 +64919,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
64912
64919
  a.isShowFullDescription ? (C(), f("div", C$1, [
64913
64920
  V(F(q1), {
64914
64921
  classes: "tw-mb-4",
64915
- label: F(F4)("back"),
64922
+ label: F(R4)("back"),
64916
64923
  variant: "no-border",
64917
64924
  size: "large",
64918
64925
  "icon-left": "chevron-left",
@@ -64920,7 +64927,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
64920
64927
  }, null, 8, ["label"]),
64921
64928
  h("div", p$1, [
64922
64929
  h("h1", h$1, x(F(o).name), 1),
64923
- h("p", f$1, x(F(F4)("description")), 1),
64930
+ h("p", f$1, x(F(R4)("description")), 1),
64924
64931
  h("p", g$1, x(F(o).description), 1)
64925
64932
  ])
64926
64933
  ])) : (C(), f("div", {
@@ -64970,11 +64977,11 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
64970
64977
  ]),
64971
64978
  _: 2
64972
64979
  }, 1032, ["show", "title"]),
64973
- a.variantError ? (C(), f("p", a$1, x(F(F4)("pleaseSelectOption")), 1)) : _("", !0)
64980
+ a.variantError ? (C(), f("p", a$1, x(F(R4)("pleaseSelectOption")), 1)) : _("", !0)
64974
64981
  ]))), 128))
64975
64982
  ])) : _("", !0),
64976
64983
  h("div", l$1, [
64977
- h("p", d$1, x(F(F4)("quantity")), 1),
64984
+ h("p", d$1, x(F(R4)("quantity")), 1),
64978
64985
  V(F(rh), {
64979
64986
  id: `qty-${F(o).id}`,
64980
64987
  modelValue: a.quantity,
@@ -64986,7 +64993,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
64986
64993
  }, null, 8, ["id", "modelValue"])
64987
64994
  ]),
64988
64995
  V(F(q1), {
64989
- label: F(F4)("addToCart"),
64996
+ label: F(R4)("addToCart"),
64990
64997
  size: "medium",
64991
64998
  "full-width": !0,
64992
64999
  class: $(["tw-py-3 tw-cursor-pointer", {
@@ -65009,7 +65016,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
65009
65016
  key: 1,
65010
65017
  modelValue: a.notes,
65011
65018
  "onUpdate:modelValue": S[2] || (S[2] = (M) => a.notes = M),
65012
- placeholder: F(F4)("orderDetailsPlaceholder"),
65019
+ placeholder: F(R4)("orderDetailsPlaceholder"),
65013
65020
  size: "sm",
65014
65021
  resize: !1,
65015
65022
  error: !!a.cartNoteErrorMessage,
@@ -65543,7 +65550,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
65543
65550
  ])
65544
65551
  ], 6)) : _("", !0),
65545
65552
  o.isAddCartSuccess ? (C(), f("div", iB1, [
65546
- V(F(H4), {
65553
+ V(F(L4), {
65547
65554
  class: "tw-fixed success-bar tw-top-0 tw-mt-2 tw-z-20",
65548
65555
  variant: "success",
65549
65556
  label: F(Gi)("itemAddedToCart")
@@ -67798,7 +67805,7 @@ const wt = y2("uiContentSettings", {
67798
67805
  applyLogoDesignAttributes(e) {
67799
67806
  const t = $e(), n = C6();
67800
67807
  t.setLogoTheme({
67801
- logoTheme: k4(e.logoTheme)
67808
+ logoTheme: M4(e.logoTheme)
67802
67809
  }), n.setRecommendedLogoColors({
67803
67810
  recommendedLogoColors: e.recommendedLogoColors
67804
67811
  }), n.setLogoColors({
@@ -67888,7 +67895,7 @@ const wt = y2("uiContentSettings", {
67888
67895
  );
67889
67896
  }
67890
67897
  }
67891
- }), $4 = y2("uiEditableLogo", {
67898
+ }), O4 = y2("uiEditableLogo", {
67892
67899
  state: () => ({
67893
67900
  logoTemplateMetadata: "",
67894
67901
  isTextOnlyLogo: !1,
@@ -68176,7 +68183,7 @@ const wt = y2("uiContentSettings", {
68176
68183
  )
68177
68184
  });
68178
68185
  }, xD1 = (e, t) => (n) => {
68179
- const i = k4(n.logoTheme), { model: r } = J4(
68186
+ const i = M4(n.logoTheme), { model: r } = X4(
68180
68187
  i,
68181
68188
  new J9({ contents: e, styles: new Q7() })
68182
68189
  ), s = ml(
@@ -68242,7 +68249,7 @@ const wt = y2("uiContentSettings", {
68242
68249
  );
68243
68250
  return;
68244
68251
  }
68245
- const s = k4(r.logoTheme), o = ml(
68252
+ const s = M4(r.logoTheme), o = ml(
68246
68253
  r.logoImageUrl
68247
68254
  );
68248
68255
  n.setSelectedLogoImageToAll({
@@ -68325,7 +68332,7 @@ const OD1 = () => Yu || (Yu = new PD1()), Zp = (e, t) => $D1(e).then(
68325
68332
  o < 0 && (o += 4294967296);
68326
68333
  const a = n - t + 1;
68327
68334
  return o = o % a, t + o;
68328
- }, D_ = 6, DD1 = 250, v4 = y2("uiTemplateSettings", {
68335
+ }, D_ = 6, DD1 = 250, h8 = y2("uiTemplateSettings", {
68329
68336
  state: () => ({
68330
68337
  isBusy: !1,
68331
68338
  pageCount: 0,
@@ -68354,8 +68361,7 @@ const OD1 = () => Yu || (Yu = new PD1()), Zp = (e, t) => $D1(e).then(
68354
68361
  key: "ai",
68355
68362
  displayName: l9("headerAi")
68356
68363
  }
68357
- ],
68358
- initialSearchTerm: void 0
68364
+ ]
68359
68365
  }),
68360
68366
  actions: {
68361
68367
  _addTemplates({ templates: e }) {
@@ -68521,9 +68527,6 @@ const OD1 = () => Yu || (Yu = new PD1()), Zp = (e, t) => $D1(e).then(
68521
68527
  tabName: Zt.TEMPLATE_SETTINGS
68522
68528
  }));
68523
68529
  },
68524
- setInitialSearchTerm(e) {
68525
- this.initialSearchTerm = e.initialSearchTerm;
68526
- },
68527
68530
  clearTemplates() {
68528
68531
  this.templates.splice(0), this.pageNo = 0, this.pageNoLoaded = 0;
68529
68532
  },
@@ -68927,31 +68930,26 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
68927
68930
  makerFonts: [],
68928
68931
  eventButtonLocation: void 0,
68929
68932
  showPublishOptionModal: !1,
68930
- abTests: {},
68931
- logoBrandIndustry: void 0
68933
+ abTests: {}
68932
68934
  }),
68933
68935
  actions: {
68934
68936
  clearTriggerSaveEventApiOnPublishModalClose() {
68935
68937
  this.triggerSaveEventApiOnPublishModalClose = !1;
68936
68938
  },
68937
68939
  initialise(e) {
68938
- var o;
68940
+ var s;
68939
68941
  const t = V6();
68940
68942
  if (process.env.NODE_ENV !== "production" && (typeof t.baseBrandPageDomain != "string" && console.error("brandPageBaseUrl should not be undefined"), !e.isPrePurchase && typeof t.upgradeSubscriptionUrlPath != "string" && console.error("upgradeUrl should not be undefined"), !e.isPrePurchase && (typeof e.logoDraftToken != "string" || !e.logoDraftToken)))
68941
68943
  throw new Error("logoDraftToken should be defined");
68942
- const n = re(), i = v4();
68943
- this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || RT("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((o = this.availableTaxes) == null ? void 0 : o.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.measurementID = n.measurementID, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = Ec1(e.abTests || {});
68944
- const r = n5();
68945
- i.setInitialSearchTerm({
68946
- initialSearchTerm: e.logoBrandIndustry ?? ""
68947
- }), r.initialise({
68944
+ const n = re();
68945
+ this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || RT("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((s = this.availableTaxes) == null ? void 0 : s.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.measurementID = n.measurementID, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = Ec1(e.abTests || {}), n5().initialise({
68948
68946
  logoTemplateAsset: e.logoTemplateAsset,
68949
68947
  logoDraftAssets: e.logoDraftAssets || []
68950
68948
  }), n.setSelectedTemplateId({
68951
68949
  templateId: this.designTemplateToken
68952
68950
  });
68953
- const s = $e();
68954
- e.logoDraftToken && s.setLogoDraftToken({ logoDraftToken: e.logoDraftToken });
68951
+ const r = $e();
68952
+ e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken });
68955
68953
  },
68956
68954
  setDesignTemplateToken(e) {
68957
68955
  this.designTemplateToken = e.designTemplateToken;
@@ -69230,7 +69228,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69230
69228
  });
69231
69229
  const p = n5();
69232
69230
  s.logoTemplateToken = p.logoTemplateAsset.token, s.logoTemplateVersion = p.logoTemplateAsset.version;
69233
- const g = $4();
69231
+ const g = O4();
69234
69232
  await g.updateMetadataAsync();
69235
69233
  const m = p.getLogoDraftAssetByToken(
69236
69234
  g.logoDraftToken
@@ -69748,7 +69746,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69748
69746
  this.selectedTemplateId = e.templateId;
69749
69747
  },
69750
69748
  async applySelectedTemplate() {
69751
- const e = $e(), t = X3(), n = c6(), i = v4(), r = o4(), s = C6(), o = ze(), a = _e();
69749
+ const e = $e(), t = X3(), n = c6(), i = h8(), r = o4(), s = C6(), o = ze(), a = _e();
69752
69750
  if (!this.selectedTemplateId)
69753
69751
  return;
69754
69752
  const l = i.getTemplateByTemplateId(
@@ -69800,7 +69798,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69800
69798
  );
69801
69799
  d.styles = S.styles, d.pages = S.pages;
69802
69800
  }
69803
- const { model: p } = J4(
69801
+ const { model: p } = X4(
69804
69802
  e.logoTheme,
69805
69803
  new J9(d)
69806
69804
  );
@@ -69932,10 +69930,10 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69932
69930
  shopConfigData: u
69933
69931
  }) {
69934
69932
  var E, B, K, R, D;
69935
- const p = _e(), g = ze(), m = $e(), y = v4(), b = X3(), w = $4(), S = C6(), M = c6(), T = o4();
69933
+ const p = _e(), g = ze(), m = $e(), y = h8(), b = X3(), w = O4(), S = C6(), M = c6(), T = o4();
69936
69934
  h6(), T.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
69937
69935
  try {
69938
- const N = k4(
69936
+ const N = M4(
69939
69937
  r.logoTheme
69940
69938
  ), q = typeof e == "string" ? JSON.parse(e) : new J9(e), c1 = t || q.brandPageType || i1.default;
69941
69939
  this.setBrandPageType({
@@ -69962,7 +69960,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69962
69960
  q.styles = J1.styles, q.pages = J1.pages;
69963
69961
  }
69964
69962
  if (!g.isAdmin) {
69965
- const { model: J1 } = J4(
69963
+ const { model: J1 } = X4(
69966
69964
  N,
69967
69965
  new J9(q)
69968
69966
  );
@@ -69974,7 +69972,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
69974
69972
  }), this.brandPageType === i1.brandSite && (this.viewport = $1.desktop), y.setTemplateType({
69975
69973
  templateType: rN1[c1]
69976
69974
  }), g.setEmailAddress(n), g.setFeatures(i), m.setLogoTheme({
69977
- logoTheme: k4(
69975
+ logoTheme: M4(
69978
69976
  r.logoTheme
69979
69977
  )
69980
69978
  }), m.setIsPersonalisationEnabled({ isPersonalisationEnabled: l }), a && a.length > 0 && m.setUserPersonalisationData({
@@ -70175,7 +70173,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
70175
70173
  await _e().showStripeOnboardingModal();
70176
70174
  },
70177
70175
  selectInitialCategories(e) {
70178
- const t = v4(), n = wt();
70176
+ const t = h8(), n = wt();
70179
70177
  e && (e.selectedTemplateCategory && t.selectInitialTemplateCategory({
70180
70178
  selectedCategory: e.selectedTemplateCategory
70181
70179
  }), e.selectedContentCategory && n.selectInitialContentCategory({
@@ -70306,7 +70304,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
70306
70304
  brandPageViewModel() {
70307
70305
  const e = ze(), t = $e();
70308
70306
  if (e.isAdmin && t.logoTheme) {
70309
- const i = J4(
70307
+ const i = X4(
70310
70308
  t.logoTheme,
70311
70309
  this.brandPageData
70312
70310
  ).model;
@@ -70317,7 +70315,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
70317
70315
  }
70318
70316
  const n = e.features.showBrandCrowdLogo;
70319
70317
  if (process.env.NODE_ENV !== "production") {
70320
- const { model: i, isModified: r } = J4(
70318
+ const { model: i, isModified: r } = X4(
70321
70319
  t.logoTheme,
70322
70320
  this.brandPageData
70323
70321
  );
@@ -70732,7 +70730,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
70732
70730
  iconViewBox: "-60 0 80 15",
70733
70731
  dataAttribute: "data-test-btn-left-aligned",
70734
70732
  label: m2("original"),
70735
- value: _4.Default,
70733
+ value: S4.Default,
70736
70734
  isSelected: !e
70737
70735
  },
70738
70736
  {
@@ -70805,7 +70803,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
70805
70803
  options: [
70806
70804
  {
70807
70805
  label: m2("default"),
70808
- value: _4.Default,
70806
+ value: S4.Default,
70809
70807
  isSelected: !e
70810
70808
  },
70811
70809
  {
@@ -71108,8 +71106,8 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
71108
71106
  },
71109
71107
  {
71110
71108
  title: "",
71111
- value: o8,
71112
- isSelected: e === o8,
71109
+ value: s8,
71110
+ isSelected: e === s8,
71113
71111
  iconName: "display-style-about-4",
71114
71112
  iconViewBox: "0 0 50 25",
71115
71113
  dataAttribute: "data-test-btn-text-only"
@@ -71308,8 +71306,8 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
71308
71306
  },
71309
71307
  {
71310
71308
  title: "",
71311
- value: o8,
71312
- isSelected: e === o8,
71309
+ value: s8,
71310
+ isSelected: e === s8,
71313
71311
  iconName: "display-style-about-4",
71314
71312
  iconViewBox: "0 0 110 64",
71315
71313
  dataAttribute: "data-test-btn-text-only"
@@ -71345,7 +71343,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
71345
71343
  convertBack(e) {
71346
71344
  const t = e.options.find((i) => i.isSelected);
71347
71345
  let n = "center";
71348
- return ((t == null ? void 0 : t.value) === o8 || (t == null ? void 0 : t.value) === p6 || (t == null ? void 0 : t.value) === Z3) && (n = "left"), {
71346
+ return ((t == null ? void 0 : t.value) === s8 || (t == null ? void 0 : t.value) === p6 || (t == null ? void 0 : t.value) === Z3) && (n = "left"), {
71349
71347
  layoutStyle: t == null ? void 0 : t.value,
71350
71348
  titleStyle: {
71351
71349
  textAlign: n
@@ -73108,7 +73106,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
73108
73106
  type: "radio",
73109
73107
  role: "multi",
73110
73108
  groupId: tt.style,
73111
- defaultValue: S4,
73109
+ defaultValue: v4,
73112
73110
  title: O("displayStyleTitle"),
73113
73111
  optionsConvertor: yl
73114
73112
  },
@@ -73251,7 +73249,7 @@ const R_ = /* @__PURE__ */ B6(nN1), Ju = Object.freeze({
73251
73249
  displayStyle: {
73252
73250
  type: "radio",
73253
73251
  role: "multi",
73254
- defaultValue: S4,
73252
+ defaultValue: v4,
73255
73253
  title: O("displayStyleTitle"),
73256
73254
  optionsConvertor: yl,
73257
73255
  groupId: J.settings
@@ -75753,7 +75751,7 @@ function VE(e) {
75753
75751
  function eo(e) {
75754
75752
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
75755
75753
  }
75756
- function i8(e) {
75754
+ function n8(e) {
75757
75755
  return e.length === 1 ? "0" + e : String(e);
75758
75756
  }
75759
75757
  function hU1(e, t, n) {
@@ -75826,18 +75824,18 @@ function gU1(e, t, n) {
75826
75824
  }
75827
75825
  function SM(e, t, n, i) {
75828
75826
  var r = [
75829
- i8(Math.round(e).toString(16)),
75830
- i8(Math.round(t).toString(16)),
75831
- i8(Math.round(n).toString(16))
75827
+ n8(Math.round(e).toString(16)),
75828
+ n8(Math.round(t).toString(16)),
75829
+ n8(Math.round(n).toString(16))
75832
75830
  ];
75833
75831
  return i && r[0].startsWith(r[0].charAt(1)) && r[1].startsWith(r[1].charAt(1)) && r[2].startsWith(r[2].charAt(1)) ? r[0].charAt(0) + r[1].charAt(0) + r[2].charAt(0) : r.join("");
75834
75832
  }
75835
75833
  function mU1(e, t, n, i, r) {
75836
75834
  var s = [
75837
- i8(Math.round(e).toString(16)),
75838
- i8(Math.round(t).toString(16)),
75839
- i8(Math.round(n).toString(16)),
75840
- i8(yU1(i))
75835
+ n8(Math.round(e).toString(16)),
75836
+ n8(Math.round(t).toString(16)),
75837
+ n8(Math.round(n).toString(16)),
75838
+ n8(yU1(i))
75841
75839
  ];
75842
75840
  return r && s[0].startsWith(s[0].charAt(1)) && s[1].startsWith(s[1].charAt(1)) && s[2].startsWith(s[2].charAt(1)) && s[3].startsWith(s[3].charAt(1)) ? s[0].charAt(0) + s[1].charAt(0) + s[2].charAt(0) + s[3].charAt(0) : s.join("");
75843
75841
  }
@@ -77444,7 +77442,7 @@ const Ff = /* @__PURE__ */ v(jZ1, [["render", nz1], ["__scopeId", "data-v-f27a7e
77444
77442
  components: {
77445
77443
  ColorPicker: Ff,
77446
77444
  StyleSettingsSection: Bl,
77447
- HelloBar: H4
77445
+ HelloBar: L4
77448
77446
  },
77449
77447
  props: {
77450
77448
  customGroups: {
@@ -77478,7 +77476,7 @@ const Ff = /* @__PURE__ */ v(jZ1, [["render", nz1], ["__scopeId", "data-v-f27a7e
77478
77476
  onBackgroundColorChange(e) {
77479
77477
  const t = C6();
77480
77478
  let n = "";
77481
- Array.isArray(e) ? n = vn(e) : n = M4(e, 1), this.isAdmin || this.backgroundSettingsStore.clearUserImageBackgroundImageUrl(), t.setBackgroundStyle({
77479
+ Array.isArray(e) ? n = vn(e) : n = _4(e, 1), this.isAdmin || this.backgroundSettingsStore.clearUserImageBackgroundImageUrl(), t.setBackgroundStyle({
77482
77480
  backgroundStyle: { background: n }
77483
77481
  }), t.setBackgroundImageUrl({
77484
77482
  backgroundImageUrl: ""
@@ -77515,7 +77513,7 @@ const sz1 = /* @__PURE__ */ v(iz1, [["render", rz1]]), VM = n1({
77515
77513
  components: {
77516
77514
  ColorPicker: Ff,
77517
77515
  StyleSettingsSection: Bl,
77518
- HelloBar: H4
77516
+ HelloBar: L4
77519
77517
  },
77520
77518
  props: {
77521
77519
  customGroups: {
@@ -77551,9 +77549,9 @@ const sz1 = /* @__PURE__ */ v(iz1, [["render", rz1]]), VM = n1({
77551
77549
  methods: {
77552
77550
  onBackgroundShapeColorChange(e) {
77553
77551
  this.colorType === "main" ? this.backgroundSettingsStore.setPrimaryBackgroundShapeStyle({
77554
- color: M4(e)
77552
+ color: _4(e)
77555
77553
  }) : this.backgroundSettingsStore.setBackgroundShapeStyle({
77556
- color: M4(e)
77554
+ color: _4(e)
77557
77555
  });
77558
77556
  }
77559
77557
  }
@@ -81791,7 +81789,7 @@ const BW1 = /* @__PURE__ */ v(EW1, [["render", $W1], ["__scopeId", "data-v-8240b
81791
81789
  __name: "WebsiteByoUpload",
81792
81790
  emits: ["on-logo-upload"],
81793
81791
  setup(e, { emit: t }) {
81794
- const n = _e(), i = n5(), r = $4(), s = X3(), o = t, a = async (c) => {
81792
+ const n = _e(), i = n5(), r = O4(), s = X3(), o = t, a = async (c) => {
81795
81793
  r.setEnableEditMode(!1), n.isPrePurchase ? await l(c) : d(c);
81796
81794
  }, l = async (c) => {
81797
81795
  i.setLogoTemplateAsset({
@@ -81883,7 +81881,7 @@ const BW1 = /* @__PURE__ */ v(EW1, [["render", $W1], ["__scopeId", "data-v-8240b
81883
81881
  }
81884
81882
  ];
81885
81883
  return s.currentLogoIsByo ? D.filter((N) => N.value !== "1") : D;
81886
- }), l = n5(), d = $4(), c = h6(), u = ze();
81884
+ }), l = n5(), d = O4(), c = h6(), u = ze();
81887
81885
  I2(() => p()), Qt(
81888
81886
  () => n.isLogoVisible,
81889
81887
  () => p()
@@ -81987,7 +81985,7 @@ const BW1 = /* @__PURE__ */ v(EW1, [["render", $W1], ["__scopeId", "data-v-8240b
81987
81985
  "onUpdate:modelValue": T
81988
81986
  }, null, 8, ["model-value"])
81989
81987
  ])) : (C(), f("div", XW1, [
81990
- V(F(x4), {
81988
+ V(F(H4), {
81991
81989
  class: "tw-mb-4",
81992
81990
  options: a.value,
81993
81991
  variant: "custom",
@@ -82074,7 +82072,7 @@ const BW1 = /* @__PURE__ */ v(EW1, [["render", $W1], ["__scopeId", "data-v-8240b
82074
82072
  },
82075
82073
  emits: ["update:model-value"],
82076
82074
  setup(e, { emit: t }) {
82077
- const n = t, i = e, r = n5(), s = $4(), o = I(() => Jo(i.content.logoImage)), a = I(() => ({
82075
+ const n = t, i = e, r = n5(), s = O4(), o = I(() => Jo(i.content.logoImage)), a = I(() => ({
82078
82076
  id: "",
82079
82077
  isVisible: !1,
82080
82078
  logoImage: i.content.logoImage,
@@ -82140,7 +82138,7 @@ const BW1 = /* @__PURE__ */ v(EW1, [["render", $W1], ["__scopeId", "data-v-8240b
82140
82138
  g.token
82141
82139
  );
82142
82140
  S && y.setLogoTheme({
82143
- logoTheme: k4(S.logoTheme)
82141
+ logoTheme: M4(S.logoTheme)
82144
82142
  });
82145
82143
  }
82146
82144
  }, p = (g) => {
@@ -82610,7 +82608,7 @@ const DE = /* @__PURE__ */ v(cj1, [["render", Cj1]]), pj1 = (e) => {
82610
82608
  components: {
82611
82609
  Button: q1,
82612
82610
  PaymentConfigDropdown: _r1,
82613
- HelloBar: H4
82611
+ HelloBar: L4
82614
82612
  },
82615
82613
  mixins: [GM],
82616
82614
  setup(e, t) {
@@ -83297,7 +83295,7 @@ const tK1 = /* @__PURE__ */ v(jj1, [["render", eK1]]), KM = n1({
83297
83295
  }
83298
83296
  }), nK1 = {
83299
83297
  components: {
83300
- ButtonGroup: x4,
83298
+ ButtonGroup: H4,
83301
83299
  Icon: ye
83302
83300
  },
83303
83301
  mixins: [KM],
@@ -86689,7 +86687,7 @@ const UE = /* @__PURE__ */ v(x6e, [["render", I6e]]), E6e = {
86689
86687
  V(Fn, {
86690
86688
  title: F(O)("linkToLabel")
86691
86689
  }, null, 8, ["title"]),
86692
- V(F(x4), {
86690
+ V(F(H4), {
86693
86691
  options: c1.value,
86694
86692
  columns: 2,
86695
86693
  onOnSelect: Qe
@@ -88408,7 +88406,7 @@ const Wf = /* @__PURE__ */ v($9e, [["render", Z9e]]), n4 = {
88408
88406
  }
88409
88407
  }), o4e = {
88410
88408
  components: {
88411
- ButtonGroup: x4
88409
+ ButtonGroup: H4
88412
88410
  },
88413
88411
  mixins: [s4e],
88414
88412
  setup() {
@@ -88802,7 +88800,7 @@ const f4e = /* @__PURE__ */ v(u4e, [["render", h4e]]), mC = 5, ek = n1({
88802
88800
  Dropdown: a5,
88803
88801
  DropdownItem: l5,
88804
88802
  FontFamilySelector: FE,
88805
- ButtonGroup: x4,
88803
+ ButtonGroup: H4,
88806
88804
  ColorField: i5,
88807
88805
  Icon: ye,
88808
88806
  Slider: g8
@@ -91143,7 +91141,7 @@ const k7e = /* @__PURE__ */ v(b7e, [["render", M7e]]), io = () => [
91143
91141
  },
91144
91142
  setup() {
91145
91143
  var d;
91146
- const e = re(), t = bt(), n = c6(), i = o4(), r = wt(), s = $e(), o = _e(), a = n5(), l = $4();
91144
+ const e = re(), t = bt(), n = c6(), i = o4(), r = wt(), s = $e(), o = _e(), a = n5(), l = O4();
91147
91145
  return console.log(
91148
91146
  (d = io().find(
91149
91147
  (c) => c.key === e.viewport
@@ -91513,7 +91511,7 @@ const k7e = /* @__PURE__ */ v(b7e, [["render", M7e]]), io = () => [
91513
91511
  e.token
91514
91512
  );
91515
91513
  r && t.setLogoTheme({
91516
- logoTheme: k4(
91514
+ logoTheme: M4(
91517
91515
  r.logoTheme
91518
91516
  )
91519
91517
  });
@@ -91767,7 +91765,7 @@ const B7e = /* @__PURE__ */ v(V7e, [["render", $7e]]), D7e = {
91767
91765
  return (a, l) => r.value.length > 1 ? (C(), f("div", D7e, [
91768
91766
  h("p", N7e, x(F(Q1)("common.displayStyle")), 1),
91769
91767
  h("div", null, [
91770
- V(F(x4), {
91768
+ V(F(H4), {
91771
91769
  variant: "icon",
91772
91770
  columns: s.value,
91773
91771
  "btn-style-variant": "compressed",
@@ -91792,7 +91790,7 @@ const B7e = /* @__PURE__ */ v(V7e, [["render", $7e]]), D7e = {
91792
91790
  };
91793
91791
  return (r, s) => (C(), f("div", F7e, [
91794
91792
  h("p", U7e, x(F(Q1)("pageSettingsSection.navigationStyle")), 1),
91795
- V(F(x4), {
91793
+ V(F(H4), {
91796
91794
  variant: "icon",
91797
91795
  columns: 3,
91798
91796
  "btn-style-variant": "compressed",
@@ -91815,7 +91813,7 @@ const B7e = /* @__PURE__ */ v(V7e, [["render", $7e]]), D7e = {
91815
91813
  return (r, s) => (C(), f("div", z7e, [
91816
91814
  h("p", q7e, x(F(Q1)("common.displayStyle")), 1),
91817
91815
  h("div", null, [
91818
- V(F(x4), {
91816
+ V(F(H4), {
91819
91817
  variant: "icon",
91820
91818
  columns: 2,
91821
91819
  "btn-style-variant": "compressed",
@@ -91828,7 +91826,7 @@ const B7e = /* @__PURE__ */ v(V7e, [["render", $7e]]), D7e = {
91828
91826
  }), W7e = {
91829
91827
  components: {
91830
91828
  TabMenu: Y7,
91831
- HelloBar: H4,
91829
+ HelloBar: L4,
91832
91830
  Toggle: U2,
91833
91831
  LinksField: DE,
91834
91832
  NavigationStyleSettings: B7e,
@@ -92686,7 +92684,7 @@ const q0e = /* @__PURE__ */ v(Z0e, [["render", z0e], ["__scopeId", "data-v-99257
92686
92684
  }
92687
92685
  }), ak = n1({
92688
92686
  setup() {
92689
- const e = n5(), t = X3(), n = re(), i = $4(), r = _e(), s = bt();
92687
+ const e = n5(), t = X3(), n = re(), i = O4(), r = _e(), s = bt();
92690
92688
  return {
92691
92689
  logoDraftToken: I(() => i.logoDraftToken),
92692
92690
  logoSettingsStore: t,
@@ -92713,7 +92711,7 @@ const q0e = /* @__PURE__ */ v(Z0e, [["render", z0e], ["__scopeId", "data-v-99257
92713
92711
  }
92714
92712
  }), lk = n1({
92715
92713
  setup() {
92716
- const e = $4(), t = X3(), n = $e();
92714
+ const e = O4(), t = X3(), n = $e();
92717
92715
  return {
92718
92716
  editableLogoStore: e,
92719
92717
  logoStore: t,
@@ -93285,7 +93283,7 @@ function Gne(e, t, n, i, r, s) {
93285
93283
  }
93286
93284
  const Wne = /* @__PURE__ */ v(Zne, [["render", Gne]]), jne = 250, ck = n1({
93287
93285
  components: {
93288
- HelloBar: H4,
93286
+ HelloBar: L4,
93289
93287
  BrandPageMakerPage: Up,
93290
93288
  Loader: p2
93291
93289
  },
@@ -94256,7 +94254,7 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94256
94254
  }
94257
94255
  },
94258
94256
  setup() {
94259
- const e = re(), t = h6(), n = ze(), i = wt(), r = $e(), s = bt(), o = _e(), a = v4(), l = u5(), d = C0(), c = YO(), u = V6();
94257
+ const e = re(), t = h6(), n = ze(), i = wt(), r = $e(), s = bt(), o = _e(), a = h8(), l = u5(), d = C0(), c = YO(), u = V6();
94260
94258
  return {
94261
94259
  commonTr: Ve,
94262
94260
  currentNotificationMessage: I(
@@ -94419,7 +94417,7 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94419
94417
  }
94420
94418
  },
94421
94419
  setup() {
94422
- const e = v4(), t = _e(), n = re(), i = $e(), r = x2();
94420
+ const e = h8(), t = _e(), n = re(), i = $e(), r = x2();
94423
94421
  return {
94424
94422
  isBusy: I(() => e.isBusy),
94425
94423
  pageNo: I(() => e.pageNo),
@@ -94427,9 +94425,6 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94427
94425
  pageCount: I(() => e.pageCount),
94428
94426
  selectedTab: I(() => e.selectedTab),
94429
94427
  searchTerm: I(() => e.searchTerm),
94430
- initialSearchTerm: I(
94431
- () => e.initialSearchTerm
94432
- ),
94433
94428
  selectedCategory: I(() => e.selectedCategory),
94434
94429
  selectedTemplateId: I(
94435
94430
  () => n.selectedTemplateId
@@ -94445,7 +94440,7 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94445
94440
  };
94446
94441
  },
94447
94442
  data() {
94448
- const { tabsWithTranslations: e } = v4();
94443
+ const { tabsWithTranslations: e } = h8();
94449
94444
  return {
94450
94445
  tabs: e.map((t) => t.displayName),
94451
94446
  debounceOnSearch: void 0,
@@ -94469,7 +94464,7 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94469
94464
  computed: {
94470
94465
  // typescript cannot resolve typing and throw TS4023
94471
94466
  templates() {
94472
- return v4().templates;
94467
+ return h8().templates;
94473
94468
  },
94474
94469
  isLoadMoreBtnEnabled() {
94475
94470
  return this.isBusy || !this.pageCount ? !1 : this.pageNo < this.pageCount;
@@ -94501,11 +94496,9 @@ const ere = /* @__PURE__ */ v(Vie, [["render", Qie]]), tre = 100, fk = n1({
94501
94496
  }
94502
94497
  },
94503
94498
  async mounted() {
94504
- this.pageCount || (this.initialSearchTerm ? (this.searchTextValue = this.initialSearchTerm, await this.templateSettingsStore.onSearch({
94505
- searchTerm: this.searchTextValue
94506
- })) : await this.templateSettingsStore.loadPageNo({
94499
+ this.pageCount || await this.templateSettingsStore.loadPageNo({
94507
94500
  pageNo: mV
94508
- }));
94501
+ });
94509
94502
  },
94510
94503
  created() {
94511
94504
  this.debounceOnSearch = F0e(this.setSearchText, 500);
@@ -94869,7 +94862,7 @@ const pre = /* @__PURE__ */ v(nre, [["render", Cre], ["__scopeId", "data-v-88329
94869
94862
  ) : (i = this.logoImage) != null && i.logoDraftToken && (t = DL(t, this.logoImage)), this.personalisationData && (t = (await Yo(
94870
94863
  this.personalisationData,
94871
94864
  t
94872
- )).model), t = J4(this.logoTheme, t).model, this.viewModel = await Y0(
94865
+ )).model), t = X4(this.logoTheme, t).model, this.viewModel = await Y0(
94873
94866
  t,
94874
94867
  void 0,
94875
94868
  !1
@@ -97165,7 +97158,7 @@ const xae = /* @__PURE__ */ v(Lae, [["render", Hae]]), Z9 = {
97165
97158
  case Z9.backgroundShapeStyle:
97166
97159
  return this.backgroundStyles.backgroundShapeStyle.color ?? "";
97167
97160
  default:
97168
- Q4();
97161
+ J4();
97169
97162
  }
97170
97163
  };
97171
97164
  },
@@ -97194,7 +97187,7 @@ const xae = /* @__PURE__ */ v(Lae, [["render", Hae]]), Z9 = {
97194
97187
  );
97195
97188
  return;
97196
97189
  default:
97197
- Q4();
97190
+ J4();
97198
97191
  }
97199
97192
  }
97200
97193
  );
@@ -97260,7 +97253,7 @@ const xae = /* @__PURE__ */ v(Lae, [["render", Hae]]), Z9 = {
97260
97253
  });
97261
97254
  return;
97262
97255
  default:
97263
- Q4();
97256
+ J4();
97264
97257
  }
97265
97258
  },
97266
97259
  onColorPickerInput(e, t) {
@@ -97291,7 +97284,7 @@ const xae = /* @__PURE__ */ v(Lae, [["render", Hae]]), Z9 = {
97291
97284
  });
97292
97285
  return;
97293
97286
  default:
97294
- Q4();
97287
+ J4();
97295
97288
  }
97296
97289
  },
97297
97290
  onBackgroundShapeSelected(e) {
@@ -97556,7 +97549,7 @@ function tle(e, t, n, i, r, s) {
97556
97549
  }
97557
97550
  const nle = /* @__PURE__ */ v(Bae, [["render", tle]]), ile = {
97558
97551
  components: {
97559
- HelloBar: H4,
97552
+ HelloBar: L4,
97560
97553
  ActionBar: ZF1,
97561
97554
  AdminBackgroundSettings: nle,
97562
97555
  BackgroundSettings: rG1,
@@ -98105,8 +98098,8 @@ export {
98105
98098
  Bc1 as a0,
98106
98099
  lV as a1,
98107
98100
  Q7 as a2,
98108
- _4 as a3,
98109
- U4 as a4,
98101
+ S4 as a3,
98102
+ F4 as a4,
98110
98103
  T0 as a5,
98111
98104
  b2 as a6,
98112
98105
  X2 as a7,