@designcrowd/library.brand-page 5.12.15 → 5.12.16
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.
- package/lib/src/{CreatedOnBrandCrowd-de-de-CZd7RKCS.js → CreatedOnBrandCrowd-de-de-BWNaSfFj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DgUw_Gmk.js → CreatedOnBrandCrowd-en-us-BY9aeDMv.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-qmEj0qtS.js → CreatedOnBrandCrowd-es-es-CS_1PWua.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-WSAFNEbH.js → CreatedOnBrandCrowd-fr-fr-BEvtF_4D.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-QQsa4zfN.js → CreatedOnBrandCrowd-pt-pt-BhcDmSeh.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Dgmk8ib6.js → CreatedOnDcom-de-de-H-eAS3dV.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-u6DK8Fzd.js → CreatedOnDcom-en-us-D-VcbUgW.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CyOJpVzh.js → CreatedOnDcom-es-es-DduS8A1F.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CWzC5FlL.js → CreatedOnDcom-fr-fr-BcCjONur.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DVigHaTn.js → CreatedOnDcom-pt-pt-Dzc9W3TD.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -5
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -3
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -5
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib--oa9Rosp.js → lib-BAogQklh.js} +361 -375
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -2
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -2
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +0 -2
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -2
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -4
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +3 -12
- package/lib/src/shared/template-settings/store/template-settings-store.d.ts +0 -4
- package/lib/src/shared/template-settings/store/template-settings-store.js +0 -4
- package/package.json +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -7
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +3 -13
- 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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
5001
|
-
return k1.extend(n,
|
|
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 =
|
|
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: Nle,
|
|
5040
5040
|
getAdapter: Rle,
|
|
5041
5041
|
mergeConfig: Fle
|
|
5042
|
-
} = se,
|
|
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:
|
|
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:
|
|
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:
|
|
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 = `${
|
|
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
|
|
12097
|
+
const L4 = /* @__PURE__ */ v(qn1, [["render", jn1]]), Kn1 = {
|
|
12098
12098
|
components: {
|
|
12099
12099
|
Button: q1,
|
|
12100
12100
|
Icon: ye,
|
|
12101
|
-
HelloBar:
|
|
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
|
|
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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 ||
|
|
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
|
}, Ule = () => e2.createInstance(), tl = () => {
|
|
21437
21437
|
var t;
|
|
21438
|
-
const e =
|
|
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),
|
|
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",
|
|
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
|
-
},
|
|
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,
|
|
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
|
|
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 =
|
|
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
|
|
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
|
-
},
|
|
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: `${
|
|
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: `${
|
|
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: `${
|
|
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: `${
|
|
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: `${
|
|
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: `${
|
|
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
|
|
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 =
|
|
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 =
|
|
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,
|
|
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
|
-
},
|
|
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
|
|
26693
|
-
|
|
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
|
|
26697
|
-
},
|
|
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
|
-
},
|
|
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 = ut[z8], R9[Ye].push(e1[z8]);
|
|
27278
|
-
for (var q5 = [],
|
|
27279
|
-
q5.push(R9[
|
|
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
|
|
27285
|
-
!isNaN(
|
|
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(
|
|
27296
|
-
return 360 *
|
|
27297
|
-
}, j = function(
|
|
27298
|
-
return 2 * Bg *
|
|
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)), ut = z5(w2(ue, 2) + w2(ce, 2)), yt = (it + ut) / 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, Ct = Og(K2 - Ut) > 180 ? (K2 + Ut + 360) / 2 : (K2 + Ut) / 2, Mt = 1 - 0.17 * $i(j(Ct - 30)) + 0.24 * $i(j(2 * Ct)) + 0.32 * $i(j(3 * Ct + 6)) - 0.2 * $i(j(4 * Ct - 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((Ct - 275) / 25, 2)), q5 = 2 * z5(w2(Le, 7) / (w2(Le, 7) + w2(25, 7))),
|
|
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((Ct - 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
|
-
},
|
|
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 &&
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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 = `${
|
|
29529
|
+
t = `${a8} ${n}`;
|
|
29530
29530
|
} else {
|
|
29531
29531
|
const n = ny(e.style.boxShadow, Uo);
|
|
29532
|
-
t = `${
|
|
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
|
-
|
|
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: {} },
|
|
32618
|
+
var ls = { exports: {} }, U4 = {}, Db;
|
|
32619
32619
|
function cL() {
|
|
32620
|
-
if (Db) return
|
|
32621
|
-
Db = 1, Object.defineProperty(
|
|
32620
|
+
if (Db) return U4;
|
|
32621
|
+
Db = 1, Object.defineProperty(U4, "__esModule", {
|
|
32622
32622
|
value: !0
|
|
32623
|
-
}),
|
|
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
|
|
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()), ht = 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()), ft = 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()),
|
|
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()), ht = 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()), ft = 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:
|
|
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 =
|
|
34948
|
-
const i =
|
|
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
|
|
@@ -36885,7 +36885,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
36885
36885
|
applyLogoTemplateImageToBrandPageViewModel: kp1,
|
|
36886
36886
|
applyLogoThemeToBrandPageFooterStyles: JC,
|
|
36887
36887
|
applyLogoThemeToBrandPageHeaderStyles: XC,
|
|
36888
|
-
applyLogoThemeToBrandPageModel:
|
|
36888
|
+
applyLogoThemeToBrandPageModel: X4,
|
|
36889
36889
|
applyLogoThemeToBrandPageNavigationStyles: YC,
|
|
36890
36890
|
applyLogoThemeToBrandPageStyleRecursive: w9,
|
|
36891
36891
|
applyLogoThemeToBrandPageStyles: LV,
|
|
@@ -36955,7 +36955,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
36955
36955
|
mapToTextViewModel: qV,
|
|
36956
36956
|
mapToViewModel: KV,
|
|
36957
36957
|
migrateBrandPageModel: Fh,
|
|
36958
|
-
parseLogoThemeToCssStyles:
|
|
36958
|
+
parseLogoThemeToCssStyles: M4,
|
|
36959
36959
|
paymentOptionImageTypeToPaddingPercentage: of1,
|
|
36960
36960
|
preloadImage: Mn,
|
|
36961
36961
|
shouldShowAspectRatioByDisplayStyle: bL,
|
|
@@ -37623,8 +37623,8 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
37623
37623
|
},
|
|
37624
37624
|
{
|
|
37625
37625
|
label: m2("collapsed"),
|
|
37626
|
-
value:
|
|
37627
|
-
isSelected: e ===
|
|
37626
|
+
value: v4,
|
|
37627
|
+
isSelected: e === v4
|
|
37628
37628
|
}
|
|
37629
37629
|
]
|
|
37630
37630
|
};
|
|
@@ -38292,7 +38292,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38292
38292
|
continuation: e
|
|
38293
38293
|
});
|
|
38294
38294
|
}
|
|
38295
|
-
}),
|
|
38295
|
+
}), Z4 = () => $e().onStyleChanged(), c6 = y2("uiStyleSettings", {
|
|
38296
38296
|
state: () => ({
|
|
38297
38297
|
availableButtonStyleConfigs: [],
|
|
38298
38298
|
availableGalleryTypes: [],
|
|
@@ -38409,14 +38409,14 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38409
38409
|
break;
|
|
38410
38410
|
case "buttonShadowColor":
|
|
38411
38411
|
let t = e.value;
|
|
38412
|
-
bn(e.value) && (t = `${
|
|
38412
|
+
bn(e.value) && (t = `${o8} ${_4(
|
|
38413
38413
|
e.value,
|
|
38414
38414
|
Uo
|
|
38415
38415
|
)}`), this._setButtonStyle({ boxShadow: t });
|
|
38416
38416
|
break;
|
|
38417
38417
|
case "buttonSoftShadowColor":
|
|
38418
38418
|
let n = e.value;
|
|
38419
|
-
bn(e.value) && (n = `${
|
|
38419
|
+
bn(e.value) && (n = `${a8} ${_4(
|
|
38420
38420
|
e.value,
|
|
38421
38421
|
Uo
|
|
38422
38422
|
)}`), this._setButtonStyle({ boxShadow: n });
|
|
@@ -38431,16 +38431,16 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38431
38431
|
this._setLogoBackgroundStyle({ backgroundColor: e.value });
|
|
38432
38432
|
break;
|
|
38433
38433
|
default:
|
|
38434
|
-
process.env.NODE_ENV !== "production" &&
|
|
38434
|
+
process.env.NODE_ENV !== "production" && J4();
|
|
38435
38435
|
return;
|
|
38436
38436
|
}
|
|
38437
|
-
|
|
38437
|
+
Z4();
|
|
38438
38438
|
},
|
|
38439
38439
|
/**
|
|
38440
38440
|
* For cross module update of button styles
|
|
38441
38441
|
*/
|
|
38442
38442
|
setButtonStyles(e) {
|
|
38443
|
-
this._setButtonStyle(e.style), this._setButtonIconStyle(e.iconStyle), this._setButtonSelectedId(e.selectedButtonStyleId),
|
|
38443
|
+
this._setButtonStyle(e.style), this._setButtonIconStyle(e.iconStyle), this._setButtonSelectedId(e.selectedButtonStyleId), Z4();
|
|
38444
38444
|
},
|
|
38445
38445
|
setGalleryType(e) {
|
|
38446
38446
|
this._setGalleryStyles({ galleryType: e.galleryType });
|
|
@@ -38452,13 +38452,13 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38452
38452
|
* For cross module update of text styles
|
|
38453
38453
|
*/
|
|
38454
38454
|
setTextStyles(e) {
|
|
38455
|
-
this._setTextStyles(e),
|
|
38455
|
+
this._setTextStyles(e), Z4();
|
|
38456
38456
|
},
|
|
38457
38457
|
setLogoStyles(e) {
|
|
38458
38458
|
this._setLogoBackgroundStyle(e.backgroundStyle), this._setLogoImageStyle({
|
|
38459
38459
|
style: e.imageStyle,
|
|
38460
38460
|
clearLogoContentImageStyle: !1
|
|
38461
|
-
}),
|
|
38461
|
+
}), Z4();
|
|
38462
38462
|
},
|
|
38463
38463
|
async setLogoImageStyle(e, t) {
|
|
38464
38464
|
const n = re(), i = bt();
|
|
@@ -38476,7 +38476,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38476
38476
|
});
|
|
38477
38477
|
return;
|
|
38478
38478
|
}
|
|
38479
|
-
this._setLogoImageStyle({ ...e, clearLogoContentImageStyle: !0 }),
|
|
38479
|
+
this._setLogoImageStyle({ ...e, clearLogoContentImageStyle: !0 }), Z4();
|
|
38480
38480
|
},
|
|
38481
38481
|
setSelectedButtonStyle(e) {
|
|
38482
38482
|
this._setSelectedButtonStyle(e);
|
|
@@ -38490,21 +38490,21 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38490
38490
|
};
|
|
38491
38491
|
if (t.hasShadow)
|
|
38492
38492
|
if (!this.buttonStyles.style.boxShadow)
|
|
38493
|
-
n.boxShadow = `${
|
|
38493
|
+
n.boxShadow = `${o8} ${ly}`;
|
|
38494
38494
|
else {
|
|
38495
38495
|
const i = RC.exec(this.buttonStyles.style.boxShadow);
|
|
38496
|
-
n.boxShadow = i ? `${
|
|
38496
|
+
n.boxShadow = i ? `${o8} ${i[1]}` : this.buttonStyles.style.boxShadow;
|
|
38497
38497
|
}
|
|
38498
38498
|
else if (t.hasSoftShadow)
|
|
38499
38499
|
if (!this.buttonStyles.style.boxShadow)
|
|
38500
|
-
n.boxShadow = `${
|
|
38500
|
+
n.boxShadow = `${a8} ${ly}`;
|
|
38501
38501
|
else {
|
|
38502
38502
|
const i = RC.exec(this.buttonStyles.style.boxShadow);
|
|
38503
|
-
n.boxShadow = i ? `${
|
|
38503
|
+
n.boxShadow = i ? `${a8} ${i[1]}` : this.buttonStyles.style.boxShadow;
|
|
38504
38504
|
}
|
|
38505
38505
|
else
|
|
38506
38506
|
n = { ...n, boxShadow: "" };
|
|
38507
|
-
this._setButtonStyle(n),
|
|
38507
|
+
this._setButtonStyle(n), Z4();
|
|
38508
38508
|
},
|
|
38509
38509
|
async setTextFontFamily(e) {
|
|
38510
38510
|
const t = $e(), n = x2(), i = this.availableTextFontFamilyOptions.find(
|
|
@@ -38542,7 +38542,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38542
38542
|
backgroundColor: zo(t)
|
|
38543
38543
|
}) : this._setLogoBackgroundStyle({
|
|
38544
38544
|
backgroundColor: Sn(t)
|
|
38545
|
-
}), await
|
|
38545
|
+
}), await Z4();
|
|
38546
38546
|
}
|
|
38547
38547
|
},
|
|
38548
38548
|
getters: {
|
|
@@ -38877,7 +38877,7 @@ const PL = /brand-page\/([^?]*)/, Lf1 = /logo\/([^\/]*)\//, OL = /(http|https):\
|
|
|
38877
38877
|
});
|
|
38878
38878
|
break;
|
|
38879
38879
|
default:
|
|
38880
|
-
process.env.NODE_ENV !== "production" &&
|
|
38880
|
+
process.env.NODE_ENV !== "production" && J4();
|
|
38881
38881
|
return;
|
|
38882
38882
|
}
|
|
38883
38883
|
}
|
|
@@ -39536,12 +39536,12 @@ function KL(e, t, n, i) {
|
|
|
39536
39536
|
} else if (n.content.size)
|
|
39537
39537
|
if (!n.openStart && !n.openEnd && e.depth == i && t.depth == i) {
|
|
39538
39538
|
let o = e.parent, a = o.content;
|
|
39539
|
-
return
|
|
39539
|
+
return d8(o, a.cut(0, e.parentOffset).append(n.content).append(a.cut(t.parentOffset)));
|
|
39540
39540
|
} else {
|
|
39541
39541
|
let { start: o, end: a } = zg1(n, e);
|
|
39542
|
-
return
|
|
39542
|
+
return d8(s, XL(e, o, a, t, i));
|
|
39543
39543
|
}
|
|
39544
|
-
else return
|
|
39544
|
+
else return d8(s, na(e, t, i));
|
|
39545
39545
|
}
|
|
39546
39546
|
function YL(e, t) {
|
|
39547
39547
|
if (!t.type.compatibleContent(e.type))
|
|
@@ -39551,29 +39551,29 @@ function op(e, t, n) {
|
|
|
39551
39551
|
let i = e.node(n);
|
|
39552
39552
|
return YL(i, t.node(n)), i;
|
|
39553
39553
|
}
|
|
39554
|
-
function
|
|
39554
|
+
function l8(e, t) {
|
|
39555
39555
|
let n = t.length - 1;
|
|
39556
39556
|
n >= 0 && e.isText && e.sameMarkup(t[n]) ? t[n] = e.withText(t[n].text + e.text) : t.push(e);
|
|
39557
39557
|
}
|
|
39558
39558
|
function J0(e, t, n, i) {
|
|
39559
39559
|
let r = (t || e).node(n), s = 0, o = t ? t.index(n) : r.childCount;
|
|
39560
|
-
e && (s = e.index(n), e.depth > n ? s++ : e.textOffset && (
|
|
39560
|
+
e && (s = e.index(n), e.depth > n ? s++ : e.textOffset && (l8(e.nodeAfter, i), s++));
|
|
39561
39561
|
for (let a = s; a < o; a++)
|
|
39562
|
-
|
|
39563
|
-
t && t.depth == n && t.textOffset &&
|
|
39562
|
+
l8(r.child(a), i);
|
|
39563
|
+
t && t.depth == n && t.textOffset && l8(t.nodeBefore, i);
|
|
39564
39564
|
}
|
|
39565
|
-
function
|
|
39565
|
+
function d8(e, t) {
|
|
39566
39566
|
return e.type.checkContent(t), e.copy(t);
|
|
39567
39567
|
}
|
|
39568
39568
|
function XL(e, t, n, i, r) {
|
|
39569
39569
|
let s = e.depth > r && op(e, t, r + 1), o = i.depth > r && op(n, i, r + 1), a = [];
|
|
39570
|
-
return J0(null, e, r, a), s && o && t.index(r) == n.index(r) ? (YL(s, o), d8(
|
|
39570
|
+
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);
|
|
39571
39571
|
}
|
|
39572
39572
|
function na(e, t, n) {
|
|
39573
39573
|
let i = [];
|
|
39574
39574
|
if (J0(null, e, n, i), e.depth > n) {
|
|
39575
39575
|
let r = op(e, t, n + 1);
|
|
39576
|
-
d8(
|
|
39576
|
+
l8(d8(r, na(e, t, n + 1)), i);
|
|
39577
39577
|
}
|
|
39578
39578
|
return J0(t, null, n, i), new x1(i);
|
|
39579
39579
|
}
|
|
@@ -42512,7 +42512,7 @@ function Mm1(e, t, n = 1, i) {
|
|
|
42512
42512
|
}
|
|
42513
42513
|
e.step(new B2(t, t, new ie(s.append(o), n, n), !0));
|
|
42514
42514
|
}
|
|
42515
|
-
function
|
|
42515
|
+
function x4(e, t) {
|
|
42516
42516
|
let n = e.resolve(t), i = n.index();
|
|
42517
42517
|
return gH(n.nodeBefore, n.nodeAfter) && n.parent.canReplace(i, i + 1);
|
|
42518
42518
|
}
|
|
@@ -44084,7 +44084,7 @@ function oi(e) {
|
|
|
44084
44084
|
const _l = function(e) {
|
|
44085
44085
|
return e.focusNode && M8(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset);
|
|
44086
44086
|
};
|
|
44087
|
-
function
|
|
44087
|
+
function W4(e, t) {
|
|
44088
44088
|
let n = document.createEvent("Event");
|
|
44089
44089
|
return n.initEvent("keydown", !0, !0), n.keyCode = e, n.key = n.code = t, n;
|
|
44090
44090
|
}
|
|
@@ -44108,9 +44108,9 @@ function zm1(e, t, n) {
|
|
|
44108
44108
|
return { node: i.startContainer, offset: Math.min(T6(i.startContainer), i.startOffset) };
|
|
44109
44109
|
}
|
|
44110
44110
|
}
|
|
44111
|
-
const O5 = typeof navigator < "u" ? navigator : null, Kv = typeof document < "u" ? document : null,
|
|
44112
|
-
c5 && +(/Firefox\/(\d+)/.exec(
|
|
44113
|
-
const fp = !q3 && /Chrome\/(\d+)/.exec(
|
|
44111
|
+
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);
|
|
44112
|
+
c5 && +(/Firefox\/(\d+)/.exec(I4) || [0, 0])[1];
|
|
44113
|
+
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), qm1 = O5 ? /Win/.test(O5.platform) : !1, d9 = /Android \d/.test(I4), ai = !!Kv && "webkitFontSmoothing" in Kv.documentElement.style, Gm1 = ai ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
44114
44114
|
function Wm1(e) {
|
|
44115
44115
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
44116
44116
|
return t ? {
|
|
@@ -44444,7 +44444,7 @@ let Jv = null, Qv = null, eS = !1;
|
|
|
44444
44444
|
function ay1(e, t, n) {
|
|
44445
44445
|
return Jv == t && Qv == n ? eS : (Jv = t, Qv = n, eS = n == "up" || n == "down" ? ry1(e, t, n) : oy1(e, t, n));
|
|
44446
44446
|
}
|
|
44447
|
-
const x6 = 0, tS = 1,
|
|
44447
|
+
const x6 = 0, tS = 1, Q4 = 2, $5 = 3;
|
|
44448
44448
|
class li {
|
|
44449
44449
|
constructor(t, n, i, r) {
|
|
44450
44450
|
this.parent = t, this.children = n, this.dom = i, this.contentDOM = r, this.dirty = x6, i.pmViewDesc = this;
|
|
@@ -44760,19 +44760,19 @@ class li {
|
|
|
44760
44760
|
if (i == o ? t <= o && n >= i : t < o && n > i) {
|
|
44761
44761
|
let a = i + s.border, l = o - s.border;
|
|
44762
44762
|
if (t >= a && n <= l) {
|
|
44763
|
-
this.dirty = t == i || n == o ?
|
|
44763
|
+
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);
|
|
44764
44764
|
return;
|
|
44765
44765
|
} else
|
|
44766
|
-
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ?
|
|
44766
|
+
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? Q4 : $5;
|
|
44767
44767
|
}
|
|
44768
44768
|
i = o;
|
|
44769
44769
|
}
|
|
44770
|
-
this.dirty =
|
|
44770
|
+
this.dirty = Q4;
|
|
44771
44771
|
}
|
|
44772
44772
|
markParentsDirty() {
|
|
44773
44773
|
let t = 1;
|
|
44774
44774
|
for (let n = this.parent; n; n = n.parent, t++) {
|
|
44775
|
-
let i = t == 1 ?
|
|
44775
|
+
let i = t == 1 ? Q4 : tS;
|
|
44776
44776
|
n.dirty < i && (n.dirty = i);
|
|
44777
44777
|
}
|
|
44778
44778
|
}
|
|
@@ -44956,7 +44956,7 @@ class w4 extends li {
|
|
|
44956
44956
|
l.syncToMarks(d.marks, i, t);
|
|
44957
44957
|
let g;
|
|
44958
44958
|
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;
|
|
44959
|
-
}), l.syncToMarks([], i, t), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty ==
|
|
44959
|
+
}), 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 && fy1(this.dom));
|
|
44960
44960
|
}
|
|
44961
44961
|
localCompositionInfo(t, n) {
|
|
44962
44962
|
let { from: i, to: r } = t.state.selection;
|
|
@@ -45130,11 +45130,11 @@ const tn = function(e) {
|
|
|
45130
45130
|
e && (this.nodeName = e);
|
|
45131
45131
|
};
|
|
45132
45132
|
tn.prototype = /* @__PURE__ */ Object.create(null);
|
|
45133
|
-
const
|
|
45133
|
+
const e8 = [new tn()];
|
|
45134
45134
|
function gp(e, t, n) {
|
|
45135
45135
|
if (e.length == 0)
|
|
45136
|
-
return
|
|
45137
|
-
let i = n ?
|
|
45136
|
+
return e8;
|
|
45137
|
+
let i = n ? e8[0] : new tn(), r = [i];
|
|
45138
45138
|
for (let s = 0; s < e.length; s++) {
|
|
45139
45139
|
let o = e[s].type.attrs;
|
|
45140
45140
|
if (o) {
|
|
@@ -45148,16 +45148,16 @@ function gp(e, t, n) {
|
|
|
45148
45148
|
return r;
|
|
45149
45149
|
}
|
|
45150
45150
|
function $H(e, t, n, i) {
|
|
45151
|
-
if (n ==
|
|
45151
|
+
if (n == e8 && i == e8)
|
|
45152
45152
|
return t;
|
|
45153
45153
|
let r = t;
|
|
45154
45154
|
for (let s = 0; s < i.length; s++) {
|
|
45155
45155
|
let o = i[s], a = n[s];
|
|
45156
45156
|
if (s) {
|
|
45157
45157
|
let l;
|
|
45158
|
-
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 =
|
|
45158
|
+
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;
|
|
45159
45159
|
}
|
|
45160
|
-
cy1(r, a ||
|
|
45160
|
+
cy1(r, a || e8[0], o);
|
|
45161
45161
|
}
|
|
45162
45162
|
return r;
|
|
45163
45163
|
}
|
|
@@ -45184,7 +45184,7 @@ function cy1(e, t, n) {
|
|
|
45184
45184
|
}
|
|
45185
45185
|
}
|
|
45186
45186
|
function BH(e, t, n) {
|
|
45187
|
-
return $H(e, e,
|
|
45187
|
+
return $H(e, e, e8, gp(t, n, e.nodeType != 1));
|
|
45188
45188
|
}
|
|
45189
45189
|
function sa(e, t) {
|
|
45190
45190
|
if (e.length != t.length)
|
|
@@ -45260,7 +45260,7 @@ class uy1 {
|
|
|
45260
45260
|
}
|
|
45261
45261
|
updateNodeAt(t, n, i, r, s) {
|
|
45262
45262
|
let o = this.top.children[r];
|
|
45263
|
-
return o.dirty == $5 && o.dom == o.contentDOM && (o.dirty =
|
|
45263
|
+
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;
|
|
45264
45264
|
}
|
|
45265
45265
|
findIndexWithChild(t) {
|
|
45266
45266
|
for (; ; ) {
|
|
@@ -45292,7 +45292,7 @@ class uy1 {
|
|
|
45292
45292
|
if (!p && l.update(t, n, i, r))
|
|
45293
45293
|
return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
|
|
45294
45294
|
if (!p && (u = this.recreateWrapper(l, t, n, i, r, o)))
|
|
45295
|
-
return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty =
|
|
45295
|
+
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;
|
|
45296
45296
|
break;
|
|
45297
45297
|
}
|
|
45298
45298
|
}
|
|
@@ -46084,7 +46084,7 @@ L3.keydown = (e, t) => {
|
|
|
46084
46084
|
if (n.keyCode != 229 && e.domObserver.forceFlush(), N7 && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
46085
46085
|
let i = Date.now();
|
|
46086
46086
|
e.input.lastIOSEnter = i, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
46087
|
-
e.input.lastIOSEnter == i && (e.someProp("handleKeyDown", (r) => r(e,
|
|
46087
|
+
e.input.lastIOSEnter == i && (e.someProp("handleKeyDown", (r) => r(e, W4(13, "Enter"))), e.input.lastIOSEnter = 0);
|
|
46088
46088
|
}, 200);
|
|
46089
46089
|
} else e.someProp("handleKeyDown", (i) => i(e, n)) || Ty1(e, n) ? n.preventDefault() : d4(e, "key");
|
|
46090
46090
|
};
|
|
@@ -46449,7 +46449,7 @@ V3.beforeinput = (e, t) => {
|
|
|
46449
46449
|
e.domObserver.flushSoon();
|
|
46450
46450
|
let { domChangeCount: i } = e.input;
|
|
46451
46451
|
setTimeout(() => {
|
|
46452
|
-
if (e.input.domChangeCount != i || (e.dom.blur(), e.focus(), e.someProp("handleKeyDown", (s) => s(e,
|
|
46452
|
+
if (e.input.domChangeCount != i || (e.dom.blur(), e.focus(), e.someProp("handleKeyDown", (s) => s(e, W4(8, "Backspace")))))
|
|
46453
46453
|
return;
|
|
46454
46454
|
let { $cursor: r } = e.state.selection;
|
|
46455
46455
|
r && r.pos > 0 && e.dispatch(e.state.tr.delete(r.pos - 1, r.pos).scrollIntoView());
|
|
@@ -46471,7 +46471,7 @@ function In(e, t) {
|
|
|
46471
46471
|
}
|
|
46472
46472
|
class la {
|
|
46473
46473
|
constructor(t, n) {
|
|
46474
|
-
this.toDOM = t, this.spec = n ||
|
|
46474
|
+
this.toDOM = t, this.spec = n || c8, this.side = this.spec.side || 0;
|
|
46475
46475
|
}
|
|
46476
46476
|
map(t, n, i, r) {
|
|
46477
46477
|
let { pos: s, deleted: o } = t.mapResult(n.from + r, this.side < 0 ? -1 : 1);
|
|
@@ -46489,7 +46489,7 @@ class la {
|
|
|
46489
46489
|
}
|
|
46490
46490
|
class b4 {
|
|
46491
46491
|
constructor(t, n) {
|
|
46492
|
-
this.attrs = t, this.spec = n ||
|
|
46492
|
+
this.attrs = t, this.spec = n || c8;
|
|
46493
46493
|
}
|
|
46494
46494
|
map(t, n, i, r) {
|
|
46495
46495
|
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;
|
|
@@ -46509,7 +46509,7 @@ class b4 {
|
|
|
46509
46509
|
}
|
|
46510
46510
|
class tf {
|
|
46511
46511
|
constructor(t, n) {
|
|
46512
|
-
this.attrs = t, this.spec = n ||
|
|
46512
|
+
this.attrs = t, this.spec = n || c8;
|
|
46513
46513
|
}
|
|
46514
46514
|
map(t, n, i, r) {
|
|
46515
46515
|
let s = t.mapResult(n.from + r, 1);
|
|
@@ -46599,7 +46599,7 @@ class u6 {
|
|
|
46599
46599
|
return this.type instanceof la;
|
|
46600
46600
|
}
|
|
46601
46601
|
}
|
|
46602
|
-
const h7 = [],
|
|
46602
|
+
const h7 = [], c8 = {};
|
|
46603
46603
|
class v2 {
|
|
46604
46604
|
/**
|
|
46605
46605
|
@internal
|
|
@@ -46613,7 +46613,7 @@ class v2 {
|
|
|
46613
46613
|
you must make a copy if you want need to preserve that.
|
|
46614
46614
|
*/
|
|
46615
46615
|
static create(t, n) {
|
|
46616
|
-
return n.length ? da(n, t, 0,
|
|
46616
|
+
return n.length ? da(n, t, 0, c8) : l3;
|
|
46617
46617
|
}
|
|
46618
46618
|
/**
|
|
46619
46619
|
Find all decorations in this set which touch the given range
|
|
@@ -46643,7 +46643,7 @@ class v2 {
|
|
|
46643
46643
|
document.
|
|
46644
46644
|
*/
|
|
46645
46645
|
map(t, n, i) {
|
|
46646
|
-
return this == l3 || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, i ||
|
|
46646
|
+
return this == l3 || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, i || c8);
|
|
46647
46647
|
}
|
|
46648
46648
|
/**
|
|
46649
46649
|
@internal
|
|
@@ -46654,7 +46654,7 @@ class v2 {
|
|
|
46654
46654
|
let l = this.local[a].map(t, i, r);
|
|
46655
46655
|
l && l.type.valid(n, l) ? (o || (o = [])).push(l) : s.onRemove && s.onRemove(this.local[a].spec);
|
|
46656
46656
|
}
|
|
46657
|
-
return this.children.length ? ew1(this.children, o || [], t, n, i, r, s) : o ? new v2(o.sort(
|
|
46657
|
+
return this.children.length ? ew1(this.children, o || [], t, n, i, r, s) : o ? new v2(o.sort(u8), h7) : l3;
|
|
46658
46658
|
}
|
|
46659
46659
|
/**
|
|
46660
46660
|
Add the given array of decorations to the ones in the set,
|
|
@@ -46672,13 +46672,13 @@ class v2 {
|
|
|
46672
46672
|
if (c = nx(n, a, d)) {
|
|
46673
46673
|
for (r || (r = this.children.slice()); s < r.length && r[s] < l; )
|
|
46674
46674
|
s += 3;
|
|
46675
|
-
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,
|
|
46675
|
+
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;
|
|
46676
46676
|
}
|
|
46677
46677
|
});
|
|
46678
46678
|
let o = tx(s ? ix(n) : n, -i);
|
|
46679
46679
|
for (let a = 0; a < o.length; a++)
|
|
46680
46680
|
o[a].type.valid(t, o[a]) || o.splice(a--, 1);
|
|
46681
|
-
return new v2(o.length ? this.local.concat(o).sort(
|
|
46681
|
+
return new v2(o.length ? this.local.concat(o).sort(u8) : this.local, r || this.children);
|
|
46682
46682
|
}
|
|
46683
46683
|
/**
|
|
46684
46684
|
Create a new set that contains the decorations in this set, minus
|
|
@@ -46727,7 +46727,7 @@ class v2 {
|
|
|
46727
46727
|
}
|
|
46728
46728
|
}
|
|
46729
46729
|
if (r) {
|
|
46730
|
-
let a = new v2(r.sort(
|
|
46730
|
+
let a = new v2(r.sort(u8), h7);
|
|
46731
46731
|
return i ? new Q9([a, i]) : a;
|
|
46732
46732
|
}
|
|
46733
46733
|
return i || l3;
|
|
@@ -46779,7 +46779,7 @@ class Q9 {
|
|
|
46779
46779
|
this.members = t;
|
|
46780
46780
|
}
|
|
46781
46781
|
map(t, n) {
|
|
46782
|
-
const i = this.members.map((r) => r.map(t, n,
|
|
46782
|
+
const i = this.members.map((r) => r.map(t, n, c8));
|
|
46783
46783
|
return Q9.from(i);
|
|
46784
46784
|
}
|
|
46785
46785
|
forChild(t, n) {
|
|
@@ -46813,7 +46813,7 @@ class Q9 {
|
|
|
46813
46813
|
n.push(s[o]);
|
|
46814
46814
|
}
|
|
46815
46815
|
}
|
|
46816
|
-
return n ? nf(i ? n : n.sort(
|
|
46816
|
+
return n ? nf(i ? n : n.sort(u8)) : h7;
|
|
46817
46817
|
}
|
|
46818
46818
|
// Create a group for the given array of decoration sets, or return
|
|
46819
46819
|
// a single set when possible.
|
|
@@ -46879,7 +46879,7 @@ function ew1(e, t, n, i, r, s, o) {
|
|
|
46879
46879
|
a.splice(p, 0, c.children[u], c.children[u + 1], c.children[u + 2]);
|
|
46880
46880
|
}
|
|
46881
46881
|
}
|
|
46882
|
-
return new v2(t.sort(
|
|
46882
|
+
return new v2(t.sort(u8), a);
|
|
46883
46883
|
}
|
|
46884
46884
|
function tx(e, t) {
|
|
46885
46885
|
if (!t || !e.length)
|
|
@@ -46928,12 +46928,12 @@ function da(e, t, n, i) {
|
|
|
46928
46928
|
c != l3 && r.push(l, l + a.nodeSize, c);
|
|
46929
46929
|
}
|
|
46930
46930
|
});
|
|
46931
|
-
let o = tx(s ? ix(e) : e, -n).sort(
|
|
46931
|
+
let o = tx(s ? ix(e) : e, -n).sort(u8);
|
|
46932
46932
|
for (let a = 0; a < o.length; a++)
|
|
46933
46933
|
o[a].type.valid(t, o[a]) || (i.onRemove && i.onRemove(o[a].spec), o.splice(a--, 1));
|
|
46934
46934
|
return o.length || r.length ? new v2(o, r) : l3;
|
|
46935
46935
|
}
|
|
46936
|
-
function
|
|
46936
|
+
function u8(e, t) {
|
|
46937
46937
|
return e.from - t.from || e.to - t.to;
|
|
46938
46938
|
}
|
|
46939
46939
|
function nf(e) {
|
|
@@ -46955,7 +46955,7 @@ function nf(e) {
|
|
|
46955
46955
|
return t;
|
|
46956
46956
|
}
|
|
46957
46957
|
function gS(e, t, n) {
|
|
46958
|
-
for (; t < e.length &&
|
|
46958
|
+
for (; t < e.length && u8(n, e[t]) > 0; )
|
|
46959
46959
|
t++;
|
|
46960
46960
|
e.splice(t, 0, n);
|
|
46961
46961
|
}
|
|
@@ -47211,7 +47211,7 @@ function Cw1(e, t, n, i, r) {
|
|
|
47211
47211
|
if (e.input.compositionPendingChanges = 0, t < 0) {
|
|
47212
47212
|
let R = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, D = Kh(e, R);
|
|
47213
47213
|
if (D && !e.state.selection.eq(D)) {
|
|
47214
|
-
if (C3 && d9 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (q) => q(e,
|
|
47214
|
+
if (C3 && d9 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (q) => q(e, W4(13, "Enter"))))
|
|
47215
47215
|
return;
|
|
47216
47216
|
let N = e.state.tr.setSelection(D);
|
|
47217
47217
|
R == "pointer" ? N.setMeta("pointer", !0) : R == "key" && N.scrollIntoView(), s && N.setMeta("composition", s), e.dispatch(N);
|
|
@@ -47223,7 +47223,7 @@ function Cw1(e, t, n, i, r) {
|
|
|
47223
47223
|
let l = e.state.selection, d = dw1(e, t, n), c = e.state.doc, u = c.slice(d.from, d.to), p, g;
|
|
47224
47224
|
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;
|
|
47225
47225
|
let m = fw1(u.content, d.doc.content, d.from, p, g);
|
|
47226
|
-
if (m && e.input.domChangeCount++, (N7 && e.input.lastIOSEnter > Date.now() - 225 || d9) && r.some((R) => R.nodeType == 1 && !uw1.test(R.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (R) => R(e,
|
|
47226
|
+
if (m && e.input.domChangeCount++, (N7 && e.input.lastIOSEnter > Date.now() - 225 || d9) && r.some((R) => R.nodeType == 1 && !uw1.test(R.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (R) => R(e, W4(13, "Enter")))) {
|
|
47227
47227
|
e.input.lastIOSEnter = 0;
|
|
47228
47228
|
return;
|
|
47229
47229
|
}
|
|
@@ -47242,17 +47242,17 @@ function Cw1(e, t, n, i, r) {
|
|
|
47242
47242
|
}
|
|
47243
47243
|
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--);
|
|
47244
47244
|
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;
|
|
47245
|
-
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,
|
|
47245
|
+
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")))) {
|
|
47246
47246
|
e.input.lastIOSEnter = 0;
|
|
47247
47247
|
return;
|
|
47248
47248
|
}
|
|
47249
|
-
if (e.state.selection.anchor > m.start && hw1(c, m.start, m.endA, y, b) && e.someProp("handleKeyDown", (R) => R(e,
|
|
47249
|
+
if (e.state.selection.anchor > m.start && hw1(c, m.start, m.endA, y, b) && e.someProp("handleKeyDown", (R) => R(e, W4(8, "Backspace")))) {
|
|
47250
47250
|
d9 && C3 && e.domObserver.suppressSelectionUpdates();
|
|
47251
47251
|
return;
|
|
47252
47252
|
}
|
|
47253
47253
|
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(() => {
|
|
47254
47254
|
e.someProp("handleKeyDown", function(R) {
|
|
47255
|
-
return R(e,
|
|
47255
|
+
return R(e, W4(13, "Enter"));
|
|
47256
47256
|
});
|
|
47257
47257
|
}, 20));
|
|
47258
47258
|
let T = m.start, E = m.endA, B = (R) => {
|
|
@@ -47735,7 +47735,7 @@ function TS(e) {
|
|
|
47735
47735
|
if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction)
|
|
47736
47736
|
throw new RangeError("Plugins passed directly to the view must not have a state component");
|
|
47737
47737
|
}
|
|
47738
|
-
var
|
|
47738
|
+
var k4 = {
|
|
47739
47739
|
8: "Backspace",
|
|
47740
47740
|
9: "Tab",
|
|
47741
47741
|
10: "Enter",
|
|
@@ -47814,13 +47814,13 @@ var T4 = {
|
|
|
47814
47814
|
221: "}",
|
|
47815
47815
|
222: '"'
|
|
47816
47816
|
}, yw1 = typeof navigator < "u" && /Mac/.test(navigator.platform), ww1 = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
47817
|
-
for (var e3 = 0; e3 < 10; e3++)
|
|
47818
|
-
for (var e3 = 1; e3 <= 24; e3++)
|
|
47817
|
+
for (var e3 = 0; e3 < 10; e3++) k4[48 + e3] = k4[96 + e3] = String(e3);
|
|
47818
|
+
for (var e3 = 1; e3 <= 24; e3++) k4[e3 + 111] = "F" + e3;
|
|
47819
47819
|
for (var e3 = 65; e3 <= 90; e3++)
|
|
47820
|
-
|
|
47821
|
-
for (var Su in
|
|
47820
|
+
k4[e3] = String.fromCharCode(e3 + 32), ca[e3] = String.fromCharCode(e3);
|
|
47821
|
+
for (var Su in k4) ca.hasOwnProperty(Su) || (ca[Su] = k4[Su]);
|
|
47822
47822
|
function bw1(e) {
|
|
47823
|
-
var t = yw1 && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || ww1 && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified", n = !t && e.key || (e.shiftKey ? ca :
|
|
47823
|
+
var t = yw1 && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || ww1 && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified", n = !t && e.key || (e.shiftKey ? ca : k4)[e.keyCode] || e.key || "Unidentified";
|
|
47824
47824
|
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;
|
|
47825
47825
|
}
|
|
47826
47826
|
const vw1 = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), Sw1 = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
@@ -47870,7 +47870,7 @@ function sx(e) {
|
|
|
47870
47870
|
return !0;
|
|
47871
47871
|
}
|
|
47872
47872
|
if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
47873
|
-
!(Sw1 && i.ctrlKey && i.altKey) && (s =
|
|
47873
|
+
!(Sw1 && i.ctrlKey && i.altKey) && (s = k4[i.keyCode]) && s != r) {
|
|
47874
47874
|
let a = t[_u(s, i)];
|
|
47875
47875
|
if (a && a(n.state, n.dispatch, n))
|
|
47876
47876
|
return !0;
|
|
@@ -48033,7 +48033,7 @@ function of(e) {
|
|
|
48033
48033
|
const Lw1 = (e, t) => {
|
|
48034
48034
|
let n = e.selection, i = n instanceof Se, r;
|
|
48035
48035
|
if (i) {
|
|
48036
|
-
if (n.node.isTextblock || !
|
|
48036
|
+
if (n.node.isTextblock || !x4(e.doc, n.from))
|
|
48037
48037
|
return !1;
|
|
48038
48038
|
r = n.from;
|
|
48039
48039
|
} else if (r = bl(e.doc, n.from, -1), r == null)
|
|
@@ -48046,7 +48046,7 @@ const Lw1 = (e, t) => {
|
|
|
48046
48046
|
}, Hw1 = (e, t) => {
|
|
48047
48047
|
let n = e.selection, i;
|
|
48048
48048
|
if (n instanceof Se) {
|
|
48049
|
-
if (n.node.isTextblock || !
|
|
48049
|
+
if (n.node.isTextblock || !x4(e.doc, n.to))
|
|
48050
48050
|
return !1;
|
|
48051
48051
|
i = n.to;
|
|
48052
48052
|
} else if (i = bl(e.doc, n.to, 1), i == null)
|
|
@@ -48139,7 +48139,7 @@ const Aw1 = Ew1(), Pw1 = (e, t) => {
|
|
|
48139
48139
|
};
|
|
48140
48140
|
function Ow1(e, t, n) {
|
|
48141
48141
|
let i = t.nodeBefore, r = t.nodeAfter, s = t.index();
|
|
48142
|
-
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 ||
|
|
48142
|
+
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);
|
|
48143
48143
|
}
|
|
48144
48144
|
function gx(e, t, n, i) {
|
|
48145
48145
|
let r = t.nodeBefore, s = t.nodeAfter, o, a, l = r.type.spec.isolating || s.type.spec.isolating;
|
|
@@ -48153,7 +48153,7 @@ function gx(e, t, n, i) {
|
|
|
48153
48153
|
m = x1.from(o[w].create(null, m));
|
|
48154
48154
|
m = x1.from(r.copy(m));
|
|
48155
48155
|
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);
|
|
48156
|
-
b.nodeAfter && b.nodeAfter.type == r.type &&
|
|
48156
|
+
b.nodeAfter && b.nodeAfter.type == r.type && x4(y.doc, b.pos) && y.join(b.pos), n(y.scrollIntoView());
|
|
48157
48157
|
}
|
|
48158
48158
|
return !0;
|
|
48159
48159
|
}
|
|
@@ -48287,7 +48287,7 @@ function Zw1(e, t, n, i) {
|
|
|
48287
48287
|
return !1;
|
|
48288
48288
|
r.lift(i, a);
|
|
48289
48289
|
let l = r.doc.resolve(r.mapping.map(s, -1) - 1);
|
|
48290
|
-
return
|
|
48290
|
+
return x4(r.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && r.join(l.pos), t(r.scrollIntoView()), !0;
|
|
48291
48291
|
}
|
|
48292
48292
|
function zw1(e, t, n) {
|
|
48293
48293
|
let i = e.tr, r = n.parent;
|
|
@@ -49345,7 +49345,7 @@ function Cf(e, t, n) {
|
|
|
49345
49345
|
to: d
|
|
49346
49346
|
};
|
|
49347
49347
|
}
|
|
49348
|
-
function
|
|
49348
|
+
function E4(e, t) {
|
|
49349
49349
|
if (typeof e == "string") {
|
|
49350
49350
|
if (!t.marks[e])
|
|
49351
49351
|
throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);
|
|
@@ -49354,7 +49354,7 @@ function A4(e, t) {
|
|
|
49354
49354
|
return e;
|
|
49355
49355
|
}
|
|
49356
49356
|
const bb1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
49357
|
-
const s =
|
|
49357
|
+
const s = E4(e, i.schema), { doc: o, selection: a } = n, { $from: l, from: d, to: c } = a;
|
|
49358
49358
|
if (r) {
|
|
49359
49359
|
const u = Cf(l, s, t);
|
|
49360
49360
|
if (u && u.from <= d && u.to >= c) {
|
|
@@ -49642,7 +49642,7 @@ function ES(e, t) {
|
|
|
49642
49642
|
const Zb1 = (e, t) => ({ tr: n, state: i, dispatch: r }) => {
|
|
49643
49643
|
let s = null, o = null;
|
|
49644
49644
|
const a = Il(typeof e == "string" ? e : e.name, i.schema);
|
|
49645
|
-
return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o =
|
|
49645
|
+
return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = E4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
|
|
49646
49646
|
i.doc.nodesBetween(l.$from.pos, l.$to.pos, (d, c) => {
|
|
49647
49647
|
s && s === d.type && n.setNodeMarkup(c, void 0, ES(d.attrs, t)), o && d.marks.length && d.marks.forEach((u) => {
|
|
49648
49648
|
o === u.type && n.addMark(c, c + d.nodeSize, o.create(ES(u.attrs, t)));
|
|
@@ -49678,7 +49678,7 @@ const Xb1 = (e, t = !1, n = {}, i = {}) => ({ editor: r, tr: s, dispatch: o, com
|
|
|
49678
49678
|
});
|
|
49679
49679
|
};
|
|
49680
49680
|
function kx(e, t) {
|
|
49681
|
-
const n =
|
|
49681
|
+
const n = E4(t, e.schema), { from: i, to: r, empty: s } = e.selection, o = [];
|
|
49682
49682
|
s ? (e.storedMarks && o.push(...e.storedMarks), o.push(...e.selection.$head.marks())) : e.doc.nodesBetween(i, r, (l) => {
|
|
49683
49683
|
o.push(...l.marks);
|
|
49684
49684
|
});
|
|
@@ -49807,7 +49807,7 @@ function wo(e, t, n) {
|
|
|
49807
49807
|
}));
|
|
49808
49808
|
}
|
|
49809
49809
|
function Mp(e, t, n = {}) {
|
|
49810
|
-
const { empty: i, ranges: r } = e.selection, s = t ?
|
|
49810
|
+
const { empty: i, ranges: r } = e.selection, s = t ? E4(t, e.schema) : null;
|
|
49811
49811
|
if (i)
|
|
49812
49812
|
return !!(e.storedMarks || e.selection.$from.marks()).filter((u) => s ? s.name === u.type.name : !0).find((u) => ua(u.attrs, n, { strict: !1 }));
|
|
49813
49813
|
let o = 0;
|
|
@@ -49910,7 +49910,7 @@ function av1(e, t, n) {
|
|
|
49910
49910
|
});
|
|
49911
49911
|
}
|
|
49912
49912
|
const lv1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
49913
|
-
const { selection: s } = n, { empty: o, ranges: a } = s, l =
|
|
49913
|
+
const { selection: s } = n, { empty: o, ranges: a } = s, l = E4(e, i.schema);
|
|
49914
49914
|
if (r)
|
|
49915
49915
|
if (o) {
|
|
49916
49916
|
const d = kx(i, l);
|
|
@@ -50048,7 +50048,7 @@ const hv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
50048
50048
|
if (i === void 0)
|
|
50049
50049
|
return !0;
|
|
50050
50050
|
const r = e.doc.nodeAt(i);
|
|
50051
|
-
return n.node.type === (r == null ? void 0 : r.type) &&
|
|
50051
|
+
return n.node.type === (r == null ? void 0 : r.type) && x4(e.doc, n.pos) && e.join(n.pos), !0;
|
|
50052
50052
|
}, Tu = (e, t) => {
|
|
50053
50053
|
const n = ff((o) => o.type === t)(e.selection);
|
|
50054
50054
|
if (!n)
|
|
@@ -50057,7 +50057,7 @@ const hv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
50057
50057
|
if (i === void 0)
|
|
50058
50058
|
return !0;
|
|
50059
50059
|
const r = e.doc.nodeAt(i);
|
|
50060
|
-
return n.node.type === (r == null ? void 0 : r.type) &&
|
|
50060
|
+
return n.node.type === (r == null ? void 0 : r.type) && x4(e.doc, i) && e.join(i), !0;
|
|
50061
50061
|
}, gv1 = (e, t, n, i = {}) => ({ editor: r, tr: s, state: o, dispatch: a, chain: l, commands: d, can: c }) => {
|
|
50062
50062
|
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();
|
|
50063
50063
|
if (!M)
|
|
@@ -50074,7 +50074,7 @@ const hv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
50074
50074
|
return s.ensureMarks(K), B ? !0 : d.clearNodes();
|
|
50075
50075
|
}).wrapInList(g, i).command(() => ku(s, g)).command(() => Tu(s, g)).run();
|
|
50076
50076
|
}, mv1 = (e, t = {}, n = {}) => ({ state: i, commands: r }) => {
|
|
50077
|
-
const { extendEmptyMarkRange: s = !1 } = n, o =
|
|
50077
|
+
const { extendEmptyMarkRange: s = !1 } = n, o = E4(e, i.schema);
|
|
50078
50078
|
return Mp(i, o, t) ? r.unsetMark(o, { extendEmptyMarkRange: s }) : r.setMark(o, t);
|
|
50079
50079
|
}, yv1 = (e, t, n = {}) => ({ state: i, commands: r }) => {
|
|
50080
50080
|
const s = Z2(e, i.schema), o = Z2(t, i.schema), a = An(i, s, n);
|
|
@@ -50110,7 +50110,7 @@ const hv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
50110
50110
|
}), !0;
|
|
50111
50111
|
}, Sv1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
50112
50112
|
var s;
|
|
50113
|
-
const { extendEmptyMarkRange: o = !1 } = t, { selection: a } = n, l =
|
|
50113
|
+
const { extendEmptyMarkRange: o = !1 } = t, { selection: a } = n, l = E4(e, i.schema), { $from: d, empty: c, ranges: u } = a;
|
|
50114
50114
|
if (!r)
|
|
50115
50115
|
return !0;
|
|
50116
50116
|
if (c && o) {
|
|
@@ -50125,7 +50125,7 @@ const hv1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
50125
50125
|
}, _v1 = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
50126
50126
|
let s = null, o = null;
|
|
50127
50127
|
const a = Il(typeof e == "string" ? e : e.name, i.schema);
|
|
50128
|
-
return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o =
|
|
50128
|
+
return a ? (a === "node" && (s = Z2(e, i.schema)), a === "mark" && (o = E4(e, i.schema)), r && n.selection.ranges.forEach((l) => {
|
|
50129
50129
|
const d = l.$from.pos, c = l.$to.pos;
|
|
50130
50130
|
let u, p, g, m;
|
|
50131
50131
|
n.selection.empty ? i.doc.nodesBetween(d, c, (y, b) => {
|
|
@@ -50392,7 +50392,7 @@ const Vv1 = qt.create({
|
|
|
50392
50392
|
];
|
|
50393
50393
|
}
|
|
50394
50394
|
});
|
|
50395
|
-
class
|
|
50395
|
+
class j4 {
|
|
50396
50396
|
get name() {
|
|
50397
50397
|
return this.node.type.name;
|
|
50398
50398
|
}
|
|
@@ -50451,15 +50451,15 @@ class K4 {
|
|
|
50451
50451
|
if (this.depth === 0)
|
|
50452
50452
|
return null;
|
|
50453
50453
|
const t = this.resolvedPos.start(this.resolvedPos.depth - 1), n = this.resolvedPos.doc.resolve(t);
|
|
50454
|
-
return new
|
|
50454
|
+
return new j4(n, this.editor);
|
|
50455
50455
|
}
|
|
50456
50456
|
get before() {
|
|
50457
50457
|
let t = this.resolvedPos.doc.resolve(this.from - (this.isBlock ? 1 : 2));
|
|
50458
|
-
return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.from - 3)), new
|
|
50458
|
+
return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.from - 3)), new j4(t, this.editor);
|
|
50459
50459
|
}
|
|
50460
50460
|
get after() {
|
|
50461
50461
|
let t = this.resolvedPos.doc.resolve(this.to + (this.isBlock ? 2 : 1));
|
|
50462
|
-
return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.to + 3)), new
|
|
50462
|
+
return t.depth !== this.depth && (t = this.resolvedPos.doc.resolve(this.to + 3)), new j4(t, this.editor);
|
|
50463
50463
|
}
|
|
50464
50464
|
get children() {
|
|
50465
50465
|
const t = [];
|
|
@@ -50470,8 +50470,8 @@ class K4 {
|
|
|
50470
50470
|
const a = this.resolvedPos.doc.resolve(o);
|
|
50471
50471
|
if (!r && a.depth <= this.depth)
|
|
50472
50472
|
return;
|
|
50473
|
-
const l = new
|
|
50474
|
-
r && (l.actualDepth = this.depth + 1), t.push(new
|
|
50473
|
+
const l = new j4(a, this.editor, r, r ? n : null);
|
|
50474
|
+
r && (l.actualDepth = this.depth + 1), t.push(new j4(a, this.editor, r, r ? n : null));
|
|
50475
50475
|
}), t;
|
|
50476
50476
|
}
|
|
50477
50477
|
get firstChild() {
|
|
@@ -50941,7 +50941,7 @@ let Bv1 = class extends Gw1 {
|
|
|
50941
50941
|
}
|
|
50942
50942
|
$pos(t) {
|
|
50943
50943
|
const n = this.state.doc.resolve(t);
|
|
50944
|
-
return new
|
|
50944
|
+
return new j4(n, this);
|
|
50945
50945
|
}
|
|
50946
50946
|
get $doc() {
|
|
50947
50947
|
return this.$pos(0);
|
|
@@ -51017,7 +51017,7 @@ function Pn(e) {
|
|
|
51017
51017
|
r().updateAttributes(u, s).run();
|
|
51018
51018
|
}
|
|
51019
51019
|
const c = o.doc.resolve(n.from - 1).nodeBefore;
|
|
51020
|
-
c && c.type === e.type &&
|
|
51020
|
+
c && c.type === e.type && x4(o.doc, n.from - 1) && (!e.joinPredicate || e.joinPredicate(i, c)) && o.join(n.from - 1);
|
|
51021
51021
|
}
|
|
51022
51022
|
});
|
|
51023
51023
|
}
|
|
@@ -51056,7 +51056,7 @@ class Y3 {
|
|
|
51056
51056
|
})), n;
|
|
51057
51057
|
}
|
|
51058
51058
|
}
|
|
51059
|
-
function
|
|
51059
|
+
function T4(e) {
|
|
51060
51060
|
return new tb1({
|
|
51061
51061
|
find: e.find,
|
|
51062
51062
|
handler: ({ state: t, range: n, match: i, pasteEvent: r }) => {
|
|
@@ -51165,7 +51165,7 @@ const Ex = {
|
|
|
51165
51165
|
function I5(e) {
|
|
51166
51166
|
return e.split("-")[0];
|
|
51167
51167
|
}
|
|
51168
|
-
var
|
|
51168
|
+
var C8 = Math.max, Ca = Math.min, U7 = Math.round;
|
|
51169
51169
|
function Tp() {
|
|
51170
51170
|
var e = navigator.userAgentData;
|
|
51171
51171
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
@@ -51220,7 +51220,7 @@ function v9(e) {
|
|
|
51220
51220
|
function eS1(e) {
|
|
51221
51221
|
return ["table", "td", "th"].indexOf(B5(e)) >= 0;
|
|
51222
51222
|
}
|
|
51223
|
-
function
|
|
51223
|
+
function A4(e) {
|
|
51224
51224
|
return ((V8(e) ? e.ownerDocument : (
|
|
51225
51225
|
// $FlowFixMe[prop-missing]
|
|
51226
51226
|
e.document
|
|
@@ -51235,7 +51235,7 @@ function Al(e) {
|
|
|
51235
51235
|
e.parentNode || // DOM Element detected
|
|
51236
51236
|
(yf(e) ? e.host : null) || // ShadowRoot detected
|
|
51237
51237
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
51238
|
-
|
|
51238
|
+
A4(e)
|
|
51239
51239
|
);
|
|
51240
51240
|
}
|
|
51241
51241
|
function $S(e) {
|
|
@@ -51267,7 +51267,7 @@ function bf(e) {
|
|
|
51267
51267
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
51268
51268
|
}
|
|
51269
51269
|
function rn(e, t, n) {
|
|
51270
|
-
return
|
|
51270
|
+
return C8(e, Ca(t, n));
|
|
51271
51271
|
}
|
|
51272
51272
|
function nS1(e, t, n) {
|
|
51273
51273
|
var i = rn(e, t, n);
|
|
@@ -51342,7 +51342,7 @@ function BS(e) {
|
|
|
51342
51342
|
var w = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), M = W3, T = G3, E = window;
|
|
51343
51343
|
if (d) {
|
|
51344
51344
|
var B = ci(n), K = "clientHeight", R = "clientWidth";
|
|
51345
|
-
if (B === g6(n) && (B =
|
|
51345
|
+
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) {
|
|
51346
51346
|
T = O6;
|
|
51347
51347
|
var D = u && B === E && E.visualViewport ? E.visualViewport.height : (
|
|
51348
51348
|
// $FlowFixMe[prop-missing]
|
|
@@ -51454,10 +51454,10 @@ function vf(e) {
|
|
|
51454
51454
|
};
|
|
51455
51455
|
}
|
|
51456
51456
|
function Sf(e) {
|
|
51457
|
-
return Z7(
|
|
51457
|
+
return Z7(A4(e)).left + vf(e).scrollLeft;
|
|
51458
51458
|
}
|
|
51459
51459
|
function fS1(e, t) {
|
|
51460
|
-
var n = g6(e), i =
|
|
51460
|
+
var n = g6(e), i = A4(e), r = n.visualViewport, s = i.clientWidth, o = i.clientHeight, a = 0, l = 0;
|
|
51461
51461
|
if (r) {
|
|
51462
51462
|
s = r.width, o = r.height;
|
|
51463
51463
|
var d = Ax();
|
|
@@ -51471,8 +51471,8 @@ function fS1(e, t) {
|
|
|
51471
51471
|
};
|
|
51472
51472
|
}
|
|
51473
51473
|
function gS1(e) {
|
|
51474
|
-
var t, n =
|
|
51475
|
-
return v9(r || n).direction === "rtl" && (a +=
|
|
51474
|
+
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;
|
|
51475
|
+
return v9(r || n).direction === "rtl" && (a += C8(n.clientWidth, r ? r.clientWidth : 0) - s), {
|
|
51476
51476
|
width: s,
|
|
51477
51477
|
height: o,
|
|
51478
51478
|
x: a,
|
|
@@ -51508,7 +51508,7 @@ function mS1(e, t) {
|
|
|
51508
51508
|
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;
|
|
51509
51509
|
}
|
|
51510
51510
|
function NS(e, t, n) {
|
|
51511
|
-
return t === xx ? Vp(fS1(e, n)) : V8(t) ? mS1(t, n) : Vp(gS1(
|
|
51511
|
+
return t === xx ? Vp(fS1(e, n)) : V8(t) ? mS1(t, n) : Vp(gS1(A4(e)));
|
|
51512
51512
|
}
|
|
51513
51513
|
function yS1(e) {
|
|
51514
51514
|
var t = sn(Al(e)), n = ["absolute", "fixed"].indexOf(v9(e).position) >= 0, i = n && I6(e) ? ci(e) : e;
|
|
@@ -51519,7 +51519,7 @@ function yS1(e) {
|
|
|
51519
51519
|
function wS1(e, t, n, i) {
|
|
51520
51520
|
var r = t === "clippingParents" ? yS1(e) : [].concat(t), s = [].concat(r, [n]), o = s[0], a = s.reduce(function(l, d) {
|
|
51521
51521
|
var c = NS(e, d, i);
|
|
51522
|
-
return l.top =
|
|
51522
|
+
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;
|
|
51523
51523
|
}, NS(e, o, i));
|
|
51524
51524
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
51525
51525
|
}
|
|
@@ -51572,7 +51572,7 @@ function Nx(e) {
|
|
|
51572
51572
|
}
|
|
51573
51573
|
function $n(e, t) {
|
|
51574
51574
|
t === void 0 && (t = {});
|
|
51575
|
-
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 ? Rv1 : 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 ? Fv1 : P0, M = e.rects.popper, T = e.elements[m ? S : p], E = wS1(V8(T) ? T : T.contextElement ||
|
|
51575
|
+
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 ? Rv1 : 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 ? Fv1 : P0, M = e.rects.popper, T = e.elements[m ? S : p], E = wS1(V8(T) ? T : T.contextElement || A4(e.elements.popper), l, c, o), B = Z7(e.elements.reference), K = Nx({
|
|
51576
51576
|
reference: B,
|
|
51577
51577
|
element: M,
|
|
51578
51578
|
placement: r
|
|
@@ -51780,7 +51780,7 @@ function ES1(e) {
|
|
|
51780
51780
|
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) : {
|
|
51781
51781
|
width: 0,
|
|
51782
51782
|
height: 0
|
|
51783
|
-
}, 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 ?
|
|
51783
|
+
}, 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);
|
|
51784
51784
|
B[T] = z, c1[T] = z - de;
|
|
51785
51785
|
}
|
|
51786
51786
|
if (a) {
|
|
@@ -51812,7 +51812,7 @@ function $S1(e) {
|
|
|
51812
51812
|
}
|
|
51813
51813
|
function BS1(e, t, n) {
|
|
51814
51814
|
n === void 0 && (n = !1);
|
|
51815
|
-
var i = I6(t), r = I6(t) && $S1(t), s =
|
|
51815
|
+
var i = I6(t), r = I6(t) && $S1(t), s = A4(t), o = Z7(e, r, n), a = {
|
|
51816
51816
|
scrollLeft: 0,
|
|
51817
51817
|
scrollTop: 0
|
|
51818
51818
|
}, l = {
|
|
@@ -51989,7 +51989,7 @@ function US1(e) {
|
|
|
51989
51989
|
}
|
|
51990
51990
|
var ZS1 = [CS1, xS1, cS1, Ex, LS1, _S1, AS1, oS1, kS1], zS1 = /* @__PURE__ */ US1({
|
|
51991
51991
|
defaultModifiers: ZS1
|
|
51992
|
-
}), qS1 = "tippy-box", Rx = "tippy-content", GS1 = "tippy-backdrop", Fx = "tippy-arrow", Ux = "tippy-svg-arrow",
|
|
51992
|
+
}), qS1 = "tippy-box", Rx = "tippy-content", GS1 = "tippy-backdrop", Fx = "tippy-arrow", Ux = "tippy-svg-arrow", G4 = {
|
|
51993
51993
|
passive: !0,
|
|
51994
51994
|
capture: !0
|
|
51995
51995
|
}, Zx = function() {
|
|
@@ -52130,7 +52130,7 @@ function s_1() {
|
|
|
52130
52130
|
}
|
|
52131
52131
|
}
|
|
52132
52132
|
function o_1() {
|
|
52133
|
-
document.addEventListener("touchstart", r_1,
|
|
52133
|
+
document.addEventListener("touchstart", r_1, G4), window.addEventListener("blur", s_1);
|
|
52134
52134
|
}
|
|
52135
52135
|
var a_1 = typeof window < "u" && typeof document < "u", l_1 = a_1 ? (
|
|
52136
52136
|
// @ts-ignore
|
|
@@ -52484,11 +52484,11 @@ function y_1(e, t) {
|
|
|
52484
52484
|
}
|
|
52485
52485
|
function we() {
|
|
52486
52486
|
var G = h1();
|
|
52487
|
-
G.addEventListener("mousedown", ke, !0), G.addEventListener("touchend", ke,
|
|
52487
|
+
G.addEventListener("mousedown", ke, !0), G.addEventListener("touchend", ke, G4), G.addEventListener("touchstart", Ke, G4), G.addEventListener("touchmove", J1, G4);
|
|
52488
52488
|
}
|
|
52489
52489
|
function Qe() {
|
|
52490
52490
|
var G = h1();
|
|
52491
|
-
G.removeEventListener("mousedown", ke, !0), G.removeEventListener("touchend", ke,
|
|
52491
|
+
G.removeEventListener("mousedown", ke, !0), G.removeEventListener("touchend", ke, G4), G.removeEventListener("touchstart", Ke, G4), G.removeEventListener("touchmove", J1, G4);
|
|
52492
52492
|
}
|
|
52493
52493
|
function be(G, s1) {
|
|
52494
52494
|
De(G, function() {
|
|
@@ -53107,7 +53107,7 @@ const S_1 = n1({
|
|
|
53107
53107
|
}
|
|
53108
53108
|
},
|
|
53109
53109
|
setup(e) {
|
|
53110
|
-
const t = me(), n =
|
|
53110
|
+
const t = me(), n = V4();
|
|
53111
53111
|
return NO(() => {
|
|
53112
53112
|
const i = e.editor;
|
|
53113
53113
|
i && i.options.element && t.value && Un(() => {
|
|
@@ -53313,11 +53313,11 @@ const __1 = /^\s*>\s$/, M_1 = Y3.create({
|
|
|
53313
53313
|
},
|
|
53314
53314
|
addPasteRules() {
|
|
53315
53315
|
return [
|
|
53316
|
-
|
|
53316
|
+
T4({
|
|
53317
53317
|
find: T_1,
|
|
53318
53318
|
type: this.type
|
|
53319
53319
|
}),
|
|
53320
|
-
|
|
53320
|
+
T4({
|
|
53321
53321
|
find: L_1,
|
|
53322
53322
|
type: this.type
|
|
53323
53323
|
})
|
|
@@ -53411,7 +53411,7 @@ const __1 = /^\s*>\s$/, M_1 = Y3.create({
|
|
|
53411
53411
|
},
|
|
53412
53412
|
addPasteRules() {
|
|
53413
53413
|
return [
|
|
53414
|
-
|
|
53414
|
+
T4({
|
|
53415
53415
|
find: A_1,
|
|
53416
53416
|
type: this.type
|
|
53417
53417
|
})
|
|
@@ -54193,15 +54193,15 @@ class j9 {
|
|
|
54193
54193
|
}
|
|
54194
54194
|
const tM1 = 20;
|
|
54195
54195
|
function nM1(e, t, n, i) {
|
|
54196
|
-
let r = n.getMeta(
|
|
54196
|
+
let r = n.getMeta(p8), s;
|
|
54197
54197
|
if (r)
|
|
54198
54198
|
return r.historyState;
|
|
54199
54199
|
n.getMeta(sM1) && (e = new j9(e.done, e.undone, null, 0, -1));
|
|
54200
54200
|
let o = n.getMeta("appendedTransaction");
|
|
54201
54201
|
if (n.steps.length == 0)
|
|
54202
54202
|
return e;
|
|
54203
|
-
if (o && o.getMeta(
|
|
54204
|
-
return o.getMeta(
|
|
54203
|
+
if (o && o.getMeta(p8))
|
|
54204
|
+
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);
|
|
54205
54205
|
if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
|
|
54206
54206
|
let a = n.getMeta("composition"), l = e.prevTime == 0 || !o && e.prevComposition != a && (e.prevTime < (n.time || 0) - i.newGroupDelay || !iM1(n, e.prevRanges)), d = o ? Iu(e.prevRanges, n.mapping) : i_(n.mapping.maps);
|
|
54207
54207
|
return new j9(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, vo(t)), Q6.empty, d, n.time, a ?? e.prevComposition);
|
|
@@ -54235,11 +54235,11 @@ function Iu(e, t) {
|
|
|
54235
54235
|
return n;
|
|
54236
54236
|
}
|
|
54237
54237
|
function rM1(e, t, n) {
|
|
54238
|
-
let i = vo(t), r =
|
|
54238
|
+
let i = vo(t), r = p8.get(t).spec.config, s = (n ? e.undone : e.done).popEvent(t, i);
|
|
54239
54239
|
if (!s)
|
|
54240
54240
|
return null;
|
|
54241
54241
|
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);
|
|
54242
|
-
return s.transform.setSelection(o).setMeta(
|
|
54242
|
+
return s.transform.setSelection(o).setMeta(p8, { redo: n, historyState: l });
|
|
54243
54243
|
}
|
|
54244
54244
|
let Eu = !1, r_ = null;
|
|
54245
54245
|
function vo(e) {
|
|
@@ -54254,13 +54254,13 @@ function vo(e) {
|
|
|
54254
54254
|
}
|
|
54255
54255
|
return Eu;
|
|
54256
54256
|
}
|
|
54257
|
-
const
|
|
54257
|
+
const p8 = new z2("history"), sM1 = new z2("closeHistory");
|
|
54258
54258
|
function oM1(e = {}) {
|
|
54259
54259
|
return e = {
|
|
54260
54260
|
depth: e.depth || 100,
|
|
54261
54261
|
newGroupDelay: e.newGroupDelay || 500
|
|
54262
54262
|
}, new h2({
|
|
54263
|
-
key:
|
|
54263
|
+
key: p8,
|
|
54264
54264
|
state: {
|
|
54265
54265
|
init() {
|
|
54266
54266
|
return new j9(Q6.empty, Q6.empty, null, 0, -1);
|
|
@@ -54282,7 +54282,7 @@ function oM1(e = {}) {
|
|
|
54282
54282
|
}
|
|
54283
54283
|
function tI(e, t) {
|
|
54284
54284
|
return (n, i) => {
|
|
54285
|
-
let r =
|
|
54285
|
+
let r = p8.getState(n);
|
|
54286
54286
|
if (!r || (e ? r.undone : r.done).eventCount == 0)
|
|
54287
54287
|
return !1;
|
|
54288
54288
|
if (i) {
|
|
@@ -54428,11 +54428,11 @@ const nI = tI(!1, !0), iI = tI(!0, !0), aM1 = qt.create({
|
|
|
54428
54428
|
},
|
|
54429
54429
|
addPasteRules() {
|
|
54430
54430
|
return [
|
|
54431
|
-
|
|
54431
|
+
T4({
|
|
54432
54432
|
find: cM1,
|
|
54433
54433
|
type: this.type
|
|
54434
54434
|
}),
|
|
54435
|
-
|
|
54435
|
+
T4({
|
|
54436
54436
|
find: CM1,
|
|
54437
54437
|
type: this.type
|
|
54438
54438
|
})
|
|
@@ -54610,7 +54610,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), aM1 = qt.create({
|
|
|
54610
54610
|
},
|
|
54611
54611
|
addPasteRules() {
|
|
54612
54612
|
return [
|
|
54613
|
-
|
|
54613
|
+
T4({
|
|
54614
54614
|
find: wM1,
|
|
54615
54615
|
type: this.type
|
|
54616
54616
|
})
|
|
@@ -54941,7 +54941,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), aM1 = qt.create({
|
|
|
54941
54941
|
},
|
|
54942
54942
|
addPasteRules() {
|
|
54943
54943
|
return [
|
|
54944
|
-
|
|
54944
|
+
T4({
|
|
54945
54945
|
find: MM1,
|
|
54946
54946
|
type: this.type
|
|
54947
54947
|
})
|
|
@@ -55000,7 +55000,7 @@ const nI = tI(!1, !0), iI = tI(!0, !0), aM1 = qt.create({
|
|
|
55000
55000
|
function xM1(e, t) {
|
|
55001
55001
|
return e in t || (t[e] = []), t[e];
|
|
55002
55002
|
}
|
|
55003
|
-
function
|
|
55003
|
+
function t8(e, t, n) {
|
|
55004
55004
|
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);
|
|
55005
55005
|
for (const i in t) {
|
|
55006
55006
|
const r = xM1(i, n);
|
|
@@ -55072,7 +55072,7 @@ F3.prototype = {
|
|
|
55072
55072
|
tr(e, t, n, i) {
|
|
55073
55073
|
i = i || F3.groups;
|
|
55074
55074
|
let r;
|
|
55075
|
-
return t && t.j ? r = t : (r = new F3(t), n && i &&
|
|
55075
|
+
return t && t.j ? r = t : (r = new F3(t), n && i && t8(t, n, i)), this.jr.push([e, r]), r;
|
|
55076
55076
|
},
|
|
55077
55077
|
/**
|
|
55078
55078
|
* Short for "take transitions", will take as many sequential transitions as
|
|
@@ -55130,8 +55130,8 @@ F3.prototype = {
|
|
|
55130
55130
|
if (i)
|
|
55131
55131
|
if (o.t && typeof o.t == "string") {
|
|
55132
55132
|
const l = q7(IM1(o.t, i), n);
|
|
55133
|
-
|
|
55134
|
-
} else n &&
|
|
55133
|
+
t8(s, l, i);
|
|
55134
|
+
} else n && t8(s, n, i);
|
|
55135
55135
|
o.t = s;
|
|
55136
55136
|
}
|
|
55137
55137
|
return r.j[e] = o, o;
|
|
@@ -55239,16 +55239,16 @@ function PM1(e = []) {
|
|
|
55239
55239
|
U9(n, Ks[y], $p, t9, g);
|
|
55240
55240
|
for (let y = 0; y < Ys.length; y++)
|
|
55241
55241
|
U9(n, Ys[y], Bp, Op, m);
|
|
55242
|
-
|
|
55242
|
+
t8($p, {
|
|
55243
55243
|
tld: !0,
|
|
55244
55244
|
ascii: !0
|
|
55245
|
-
}, t),
|
|
55245
|
+
}, t), t8(Bp, {
|
|
55246
55246
|
utld: !0,
|
|
55247
55247
|
alpha: !0
|
|
55248
|
-
}, 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),
|
|
55248
|
+
}, 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, {
|
|
55249
55249
|
scheme: !0,
|
|
55250
55250
|
ascii: !0
|
|
55251
|
-
}, t),
|
|
55251
|
+
}, t), t8(g7, {
|
|
55252
55252
|
slashscheme: !0,
|
|
55253
55253
|
ascii: !0
|
|
55254
55254
|
}, t), e = e.sort((y, b) => y[0] > b[0] ? 1 : -1);
|
|
@@ -55771,7 +55771,7 @@ function GM1(e) {
|
|
|
55771
55771
|
});
|
|
55772
55772
|
}
|
|
55773
55773
|
const WM1 = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
|
|
55774
|
-
function
|
|
55774
|
+
function z4(e, t) {
|
|
55775
55775
|
const n = [
|
|
55776
55776
|
"http",
|
|
55777
55777
|
"https",
|
|
@@ -55825,7 +55825,7 @@ const _I = P6.create({
|
|
|
55825
55825
|
rel: "noopener noreferrer nofollow",
|
|
55826
55826
|
class: null
|
|
55827
55827
|
},
|
|
55828
|
-
isAllowedUri: (e, t) => !!
|
|
55828
|
+
isAllowedUri: (e, t) => !!z4(e, t.protocols),
|
|
55829
55829
|
validate: (e) => !!e,
|
|
55830
55830
|
shouldAutoLink: (e) => !!e
|
|
55831
55831
|
};
|
|
@@ -55856,7 +55856,7 @@ const _I = P6.create({
|
|
|
55856
55856
|
getAttrs: (e) => {
|
|
55857
55857
|
const t = e.getAttribute("href");
|
|
55858
55858
|
return !t || !this.options.isAllowedUri(t, {
|
|
55859
|
-
defaultValidate: (n) => !!
|
|
55859
|
+
defaultValidate: (n) => !!z4(n, this.options.protocols),
|
|
55860
55860
|
protocols: this.options.protocols,
|
|
55861
55861
|
defaultProtocol: this.options.defaultProtocol
|
|
55862
55862
|
}) ? !1 : null;
|
|
@@ -55866,7 +55866,7 @@ const _I = P6.create({
|
|
|
55866
55866
|
},
|
|
55867
55867
|
renderHTML({ HTMLAttributes: e }) {
|
|
55868
55868
|
return this.options.isAllowedUri(e.href, {
|
|
55869
|
-
defaultValidate: (t) => !!
|
|
55869
|
+
defaultValidate: (t) => !!z4(t, this.options.protocols),
|
|
55870
55870
|
protocols: this.options.protocols,
|
|
55871
55871
|
defaultProtocol: this.options.defaultProtocol
|
|
55872
55872
|
}) ? ["a", _2(this.options.HTMLAttributes, e), 0] : [
|
|
@@ -55880,7 +55880,7 @@ const _I = P6.create({
|
|
|
55880
55880
|
setLink: (e) => ({ chain: t }) => {
|
|
55881
55881
|
const { href: n } = e;
|
|
55882
55882
|
return this.options.isAllowedUri(n, {
|
|
55883
|
-
defaultValidate: (i) => !!
|
|
55883
|
+
defaultValidate: (i) => !!z4(i, this.options.protocols),
|
|
55884
55884
|
protocols: this.options.protocols,
|
|
55885
55885
|
defaultProtocol: this.options.defaultProtocol
|
|
55886
55886
|
}) ? t().setMark(this.name, e).setMeta("preventAutolink", !0).run() : !1;
|
|
@@ -55888,7 +55888,7 @@ const _I = P6.create({
|
|
|
55888
55888
|
toggleLink: (e) => ({ chain: t }) => {
|
|
55889
55889
|
const { href: n } = e;
|
|
55890
55890
|
return this.options.isAllowedUri(n, {
|
|
55891
|
-
defaultValidate: (i) => !!
|
|
55891
|
+
defaultValidate: (i) => !!z4(i, this.options.protocols),
|
|
55892
55892
|
protocols: this.options.protocols,
|
|
55893
55893
|
defaultProtocol: this.options.defaultProtocol
|
|
55894
55894
|
}) ? t().toggleMark(this.name, e, { extendEmptyMarkRange: !0 }).setMeta("preventAutolink", !0).run() : !1;
|
|
@@ -55898,12 +55898,12 @@ const _I = P6.create({
|
|
|
55898
55898
|
},
|
|
55899
55899
|
addPasteRules() {
|
|
55900
55900
|
return [
|
|
55901
|
-
|
|
55901
|
+
T4({
|
|
55902
55902
|
find: (e) => {
|
|
55903
55903
|
const t = [];
|
|
55904
55904
|
if (e) {
|
|
55905
55905
|
const { protocols: n, defaultProtocol: i } = this.options, r = SI(e).filter((s) => s.isLink && this.options.isAllowedUri(s.value, {
|
|
55906
|
-
defaultValidate: (o) => !!
|
|
55906
|
+
defaultValidate: (o) => !!z4(o, n),
|
|
55907
55907
|
protocols: n,
|
|
55908
55908
|
defaultProtocol: i
|
|
55909
55909
|
}));
|
|
@@ -55933,7 +55933,7 @@ const _I = P6.create({
|
|
|
55933
55933
|
type: this.type,
|
|
55934
55934
|
defaultProtocol: this.options.defaultProtocol,
|
|
55935
55935
|
validate: (i) => this.options.isAllowedUri(i, {
|
|
55936
|
-
defaultValidate: (r) => !!
|
|
55936
|
+
defaultValidate: (r) => !!z4(r, t),
|
|
55937
55937
|
protocols: t,
|
|
55938
55938
|
defaultProtocol: n
|
|
55939
55939
|
}),
|
|
@@ -57169,10 +57169,10 @@ const q0 = /* @__PURE__ */ B6(ik1), rk1 = (e, t, n) => {
|
|
|
57169
57169
|
Qt(() => n.context.isDesignCom, async () => {
|
|
57170
57170
|
const S = mn().toLowerCase(), M = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
57171
57171
|
try {
|
|
57172
|
-
const { default: T } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
57172
|
+
const { default: T } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BWNaSfFj.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BY9aeDMv.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CS_1PWua.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-BEvtF_4D.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BhcDmSeh.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-H-eAS3dV.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-D-VcbUgW.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DduS8A1F.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BcCjONur.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-Dzc9W3TD.js") }), `./watermark/CreatedOn${M}-${S}.vue`, 3);
|
|
57173
57173
|
i.value = T;
|
|
57174
57174
|
} catch {
|
|
57175
|
-
const { default: E } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
57175
|
+
const { default: E } = await S_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BY9aeDMv.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-D-VcbUgW.js") }), `./watermark/CreatedOn${M}-en-us.vue`, 3);
|
|
57176
57176
|
i.value = E;
|
|
57177
57177
|
}
|
|
57178
57178
|
}, {
|
|
@@ -58773,7 +58773,7 @@ function sI1(e, t, n, i, r, s) {
|
|
|
58773
58773
|
}, null, 8, ["class", "min-height", "min-width"])) : _("", !0)
|
|
58774
58774
|
], 2);
|
|
58775
58775
|
}
|
|
58776
|
-
const
|
|
58776
|
+
const P4 = /* @__PURE__ */ v(rI1, [["render", sI1], ["__scopeId", "data-v-4dbc9bf6"]]), __ = 14, oI1 = 0.3, aI1 = /* @__PURE__ */ n1({
|
|
58777
58777
|
__name: "TextWrapper",
|
|
58778
58778
|
props: {
|
|
58779
58779
|
textStyle: { default: {} },
|
|
@@ -58808,7 +58808,7 @@ const O4 = /* @__PURE__ */ v(rI1, [["render", sI1], ["__scopeId", "data-v-4dbc9b
|
|
|
58808
58808
|
}), Qt(a, () => {
|
|
58809
58809
|
g();
|
|
58810
58810
|
});
|
|
58811
|
-
const d =
|
|
58811
|
+
const d = V4(), c = I(
|
|
58812
58812
|
() => t.textStyle.backgroundColor && !o.value ? "tw-py-2 tw-px-4" : ""
|
|
58813
58813
|
);
|
|
58814
58814
|
I2(() => {
|
|
@@ -58873,7 +58873,7 @@ const O4 = /* @__PURE__ */ v(rI1, [["render", sI1], ["__scopeId", "data-v-4dbc9b
|
|
|
58873
58873
|
components: {
|
|
58874
58874
|
Icon: o0,
|
|
58875
58875
|
HashRouteModal: DT,
|
|
58876
|
-
Media:
|
|
58876
|
+
Media: P4,
|
|
58877
58877
|
IconV2: ye,
|
|
58878
58878
|
TextWrapper: Rt
|
|
58879
58879
|
},
|
|
@@ -59076,13 +59076,13 @@ function fI1(e, t, n, i, r, s) {
|
|
|
59076
59076
|
}, 8, ["visible", "onCloseModal"])
|
|
59077
59077
|
]);
|
|
59078
59078
|
}
|
|
59079
|
-
const Ua = /* @__PURE__ */ v(lI1, [["render", fI1], ["__scopeId", "data-v-fbee2bb3"]]),
|
|
59079
|
+
const Ua = /* @__PURE__ */ v(lI1, [["render", fI1], ["__scopeId", "data-v-fbee2bb3"]]), K4 = class K4 {
|
|
59080
59080
|
constructor() {
|
|
59081
59081
|
v1(this, "_logoCache");
|
|
59082
59082
|
this._logoCache = {};
|
|
59083
59083
|
}
|
|
59084
59084
|
static getInstance() {
|
|
59085
|
-
return
|
|
59085
|
+
return K4._instance || (K4._instance = new K4()), K4._instance;
|
|
59086
59086
|
}
|
|
59087
59087
|
async getLogoSvgUrlByLogoTemplateImageAsync(t) {
|
|
59088
59088
|
const n = p3.getInstance(), i = n.getLogoTemplateUrlByLogoTemplateImage(
|
|
@@ -59115,8 +59115,8 @@ const Ua = /* @__PURE__ */ v(lI1, [["render", fI1], ["__scopeId", "data-v-fbee2b
|
|
|
59115
59115
|
return s.data;
|
|
59116
59116
|
}
|
|
59117
59117
|
};
|
|
59118
|
-
v1(
|
|
59119
|
-
let Fp =
|
|
59118
|
+
v1(K4, "_instance");
|
|
59119
|
+
let Fp = K4;
|
|
59120
59120
|
const gI1 = ["src", "alt"], mI1 = /* @__PURE__ */ n1({
|
|
59121
59121
|
__name: "LogoRender",
|
|
59122
59122
|
props: {
|
|
@@ -59261,7 +59261,7 @@ function kI1(e) {
|
|
|
59261
59261
|
});
|
|
59262
59262
|
}
|
|
59263
59263
|
function TI1() {
|
|
59264
|
-
const e =
|
|
59264
|
+
const e = V4();
|
|
59265
59265
|
if (!e || e.isMounted)
|
|
59266
59266
|
throw new Error("useLazyHydration must be called from the setup method.");
|
|
59267
59267
|
const t = e.vnode.el !== null;
|
|
@@ -59292,7 +59292,7 @@ function VI1({
|
|
|
59292
59292
|
}, i = 2e3) {
|
|
59293
59293
|
if (!e)
|
|
59294
59294
|
return;
|
|
59295
|
-
if (!
|
|
59295
|
+
if (!V4())
|
|
59296
59296
|
throw new Error(
|
|
59297
59297
|
"useHydrateWhenIdle must be called from the setup or lifecycle hook methods."
|
|
59298
59298
|
);
|
|
@@ -59340,7 +59340,7 @@ function xI1({
|
|
|
59340
59340
|
}, i = ["focus"]) {
|
|
59341
59341
|
if (!e)
|
|
59342
59342
|
return;
|
|
59343
|
-
const r =
|
|
59343
|
+
const r = V4();
|
|
59344
59344
|
if (!r || r.isMounted)
|
|
59345
59345
|
throw new Error(
|
|
59346
59346
|
"useHydrateOnInteraction must be called from the setup method."
|
|
@@ -59391,7 +59391,7 @@ function II1({
|
|
|
59391
59391
|
}, i) {
|
|
59392
59392
|
if (!e)
|
|
59393
59393
|
return;
|
|
59394
|
-
if (!
|
|
59394
|
+
if (!V4())
|
|
59395
59395
|
throw new Error(
|
|
59396
59396
|
"useHydrateWhenTriggered must be called from the setup or lifecycle hook methods."
|
|
59397
59397
|
);
|
|
@@ -59430,7 +59430,7 @@ function AI1({
|
|
|
59430
59430
|
}, i) {
|
|
59431
59431
|
if (!e)
|
|
59432
59432
|
return;
|
|
59433
|
-
const r =
|
|
59433
|
+
const r = V4();
|
|
59434
59434
|
if (!r || r.isMounted)
|
|
59435
59435
|
throw new Error(
|
|
59436
59436
|
"useHydrateWhenVisible must be called from the setup method."
|
|
@@ -60068,7 +60068,7 @@ const lE1 = /* @__PURE__ */ v(sE1, [["render", aE1], ["__scopeId", "data-v-650ce
|
|
|
60068
60068
|
}
|
|
60069
60069
|
}
|
|
60070
60070
|
}), CE1 = {
|
|
60071
|
-
components: { Media:
|
|
60071
|
+
components: { Media: P4, TextWrapper: Rt },
|
|
60072
60072
|
mixins: [uE1]
|
|
60073
60073
|
}, pE1 = {
|
|
60074
60074
|
key: 0,
|
|
@@ -60246,13 +60246,13 @@ const OI = /* @__PURE__ */ v(yE1, [["render", bE1], ["__scopeId", "data-v-486517
|
|
|
60246
60246
|
},
|
|
60247
60247
|
computed: {
|
|
60248
60248
|
imgAspectRatio() {
|
|
60249
|
-
return this.viewModel.aspectRatio &&
|
|
60249
|
+
return this.viewModel.aspectRatio && S4[this.viewModel.aspectRatio] || `${this.viewModel.width}/${this.viewModel.height}`;
|
|
60250
60250
|
},
|
|
60251
60251
|
isFullWidth() {
|
|
60252
60252
|
return this.viewModel.isFullWidth;
|
|
60253
60253
|
},
|
|
60254
60254
|
shouldFitImage() {
|
|
60255
|
-
return !!(this.viewModel.aspectRatio &&
|
|
60255
|
+
return !!(this.viewModel.aspectRatio && S4[this.viewModel.aspectRatio]);
|
|
60256
60256
|
},
|
|
60257
60257
|
altText() {
|
|
60258
60258
|
return t0(this.viewModel, this.context);
|
|
@@ -61144,7 +61144,7 @@ function rA1(e, t, n, i, r, s) {
|
|
|
61144
61144
|
}, null, -1)
|
|
61145
61145
|
]), 8, iA1);
|
|
61146
61146
|
}
|
|
61147
|
-
const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]),
|
|
61147
|
+
const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]), q4 = (e) => {
|
|
61148
61148
|
process.env.NODE_ENV !== "production" && console.log(e);
|
|
61149
61149
|
}, Ku = (e) => {
|
|
61150
61150
|
process.env.NODE_ENV !== "production" && console.error(e);
|
|
@@ -61239,16 +61239,16 @@ const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]), G4 = (e) => {
|
|
|
61239
61239
|
},
|
|
61240
61240
|
methods: {
|
|
61241
61241
|
initialiseStripeScript() {
|
|
61242
|
-
if (
|
|
61242
|
+
if (q4("initialiseStripeScript: start"), Array.from(document.head.children).find(
|
|
61243
61243
|
(n) => n.tagName.toUpperCase() === O_ && n.hasAttribute("src") && n.getAttribute("src") === P_
|
|
61244
61244
|
)) {
|
|
61245
|
-
|
|
61245
|
+
q4("initialiseStripeScript: script exists");
|
|
61246
61246
|
return;
|
|
61247
61247
|
}
|
|
61248
61248
|
const t = document.createElement(
|
|
61249
61249
|
O_
|
|
61250
61250
|
);
|
|
61251
|
-
t.setAttribute("src", P_), t.setAttribute("async", ""), t.setAttribute("defer", ""), document.head.appendChild(t),
|
|
61251
|
+
t.setAttribute("src", P_), t.setAttribute("async", ""), t.setAttribute("defer", ""), document.head.appendChild(t), q4("initialiseStripeScript: script injected");
|
|
61252
61252
|
},
|
|
61253
61253
|
initStripeElements() {
|
|
61254
61254
|
if (!this.stripePublishableKey) {
|
|
@@ -61257,11 +61257,11 @@ const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]), G4 = (e) => {
|
|
|
61257
61257
|
}
|
|
61258
61258
|
if (typeof window.Stripe != "function") {
|
|
61259
61259
|
setTimeout(() => {
|
|
61260
|
-
|
|
61260
|
+
q4("initStripeElements: waiting for stripe script"), this.initStripeElements();
|
|
61261
61261
|
}, 250);
|
|
61262
61262
|
return;
|
|
61263
61263
|
}
|
|
61264
|
-
|
|
61264
|
+
q4("initStripeElements: start");
|
|
61265
61265
|
try {
|
|
61266
61266
|
this.stripe = window.Stripe(this.stripePublishableKey, {
|
|
61267
61267
|
stripeAccount: this.cart.paymentProviderExternalId
|
|
@@ -61289,7 +61289,7 @@ const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]), G4 = (e) => {
|
|
|
61289
61289
|
} catch (e) {
|
|
61290
61290
|
console.error(e);
|
|
61291
61291
|
}
|
|
61292
|
-
|
|
61292
|
+
q4("initStripeElements: end");
|
|
61293
61293
|
},
|
|
61294
61294
|
onBackClick() {
|
|
61295
61295
|
this.$emit("go-to-payment-option-selection");
|
|
@@ -61327,7 +61327,7 @@ const sA1 = /* @__PURE__ */ v(nA1, [["render", rA1]]), G4 = (e) => {
|
|
|
61327
61327
|
receipt_email: this.emailAddress
|
|
61328
61328
|
}
|
|
61329
61329
|
);
|
|
61330
|
-
e.error ? (Ku(e.error), this.submitError = e.error) : (
|
|
61330
|
+
e.error ? (Ku(e.error), this.submitError = e.error) : (q4("onSubmitPaymentClick: payment intent success"), this.$emit("success", { result: e }));
|
|
61331
61331
|
} finally {
|
|
61332
61332
|
this.isBusy = !1;
|
|
61333
61333
|
}
|
|
@@ -61589,7 +61589,7 @@ const DI = /* @__PURE__ */ v(lA1, [["render", kA1], ["__scopeId", "data-v-29cc0f
|
|
|
61589
61589
|
};
|
|
61590
61590
|
},
|
|
61591
61591
|
showCollapseToggle() {
|
|
61592
|
-
return this.viewModel.displayStyle ===
|
|
61592
|
+
return this.viewModel.displayStyle === v4;
|
|
61593
61593
|
},
|
|
61594
61594
|
successMessage() {
|
|
61595
61595
|
var e;
|
|
@@ -61608,7 +61608,7 @@ const DI = /* @__PURE__ */ v(lA1, [["render", kA1], ["__scopeId", "data-v-29cc0f
|
|
|
61608
61608
|
}
|
|
61609
61609
|
},
|
|
61610
61610
|
created() {
|
|
61611
|
-
this.isCollapsed = this.viewModel.displayStyle ===
|
|
61611
|
+
this.isCollapsed = this.viewModel.displayStyle === v4 && !this.context.isPreview;
|
|
61612
61612
|
},
|
|
61613
61613
|
async mounted() {
|
|
61614
61614
|
await this.checkRequestPaymentConfig();
|
|
@@ -62110,7 +62110,7 @@ const WA1 = /* @__PURE__ */ v(zA1, [["render", GA1]]), jA1 = n1({
|
|
|
62110
62110
|
},
|
|
62111
62111
|
data: () => ({
|
|
62112
62112
|
DISPLAY_STYLE_PREVIEW: d5,
|
|
62113
|
-
DISPLAY_STYLE_COLLAPSED:
|
|
62113
|
+
DISPLAY_STYLE_COLLAPSED: v4,
|
|
62114
62114
|
isCollapsed: !0,
|
|
62115
62115
|
title: "Video"
|
|
62116
62116
|
}),
|
|
@@ -62355,7 +62355,7 @@ const dP1 = /* @__PURE__ */ v(sP1, [["render", lP1]]), cP1 = n1({
|
|
|
62355
62355
|
return this.viewModel.layoutStyle === Kt;
|
|
62356
62356
|
},
|
|
62357
62357
|
hasBgColor() {
|
|
62358
|
-
return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle ===
|
|
62358
|
+
return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle === s8 || this.viewModel.layoutStyle === vt;
|
|
62359
62359
|
},
|
|
62360
62360
|
isCenteredLayout() {
|
|
62361
62361
|
return this.viewModel.layoutStyle === k7 || this.viewModel.layoutStyle === vt || this.viewModel.layoutStyle === Kt;
|
|
@@ -62367,10 +62367,10 @@ const dP1 = /* @__PURE__ */ v(sP1, [["render", lP1]]), cP1 = n1({
|
|
|
62367
62367
|
return this.viewModel.layoutStyle === Z3;
|
|
62368
62368
|
},
|
|
62369
62369
|
isTextOnly() {
|
|
62370
|
-
return this.viewModel.layoutStyle ===
|
|
62370
|
+
return this.viewModel.layoutStyle === s8;
|
|
62371
62371
|
},
|
|
62372
62372
|
canCollapse() {
|
|
62373
|
-
return this.viewModel.displayStyle ===
|
|
62373
|
+
return this.viewModel.displayStyle === v4;
|
|
62374
62374
|
},
|
|
62375
62375
|
fields() {
|
|
62376
62376
|
return this.viewModel.fields;
|
|
@@ -62439,13 +62439,13 @@ const dP1 = /* @__PURE__ */ v(sP1, [["render", lP1]]), cP1 = n1({
|
|
|
62439
62439
|
getFormValueError(e) {
|
|
62440
62440
|
if (e.field.enabled)
|
|
62441
62441
|
switch (e.field.type) {
|
|
62442
|
-
case
|
|
62442
|
+
case F4.email:
|
|
62443
62443
|
return Ih(e.value, e.field.required);
|
|
62444
|
-
case
|
|
62444
|
+
case F4.phone:
|
|
62445
62445
|
return fL(e.value, e.field.required);
|
|
62446
|
-
case
|
|
62446
|
+
case F4.text:
|
|
62447
62447
|
return gL(e.value, e.field.required);
|
|
62448
|
-
case
|
|
62448
|
+
case F4["text-area"]:
|
|
62449
62449
|
return mL(e.value, e.field.required);
|
|
62450
62450
|
default:
|
|
62451
62451
|
return;
|
|
@@ -62453,11 +62453,11 @@ const dP1 = /* @__PURE__ */ v(sP1, [["render", lP1]]), cP1 = n1({
|
|
|
62453
62453
|
},
|
|
62454
62454
|
getTextInputTypeByFieldType(e) {
|
|
62455
62455
|
switch (e) {
|
|
62456
|
-
case
|
|
62456
|
+
case F4.email:
|
|
62457
62457
|
return "email";
|
|
62458
|
-
case
|
|
62458
|
+
case F4.phone:
|
|
62459
62459
|
return "tel";
|
|
62460
|
-
case
|
|
62460
|
+
case F4.text:
|
|
62461
62461
|
default:
|
|
62462
62462
|
return "text";
|
|
62463
62463
|
}
|
|
@@ -62472,7 +62472,7 @@ const dP1 = /* @__PURE__ */ v(sP1, [["render", lP1]]), cP1 = n1({
|
|
|
62472
62472
|
TextInput: gt,
|
|
62473
62473
|
Textarea: H8,
|
|
62474
62474
|
Loader: p2,
|
|
62475
|
-
Media:
|
|
62475
|
+
Media: P4,
|
|
62476
62476
|
TextWrapper: Rt
|
|
62477
62477
|
},
|
|
62478
62478
|
mixins: [cP1]
|
|
@@ -62957,7 +62957,7 @@ const DP1 = /* @__PURE__ */ v(uP1, [["render", BP1], ["__scopeId", "data-v-cf146
|
|
|
62957
62957
|
}
|
|
62958
62958
|
}
|
|
62959
62959
|
}), RP1 = {
|
|
62960
|
-
components: { Icon: o0, Media:
|
|
62960
|
+
components: { Icon: o0, Media: P4 },
|
|
62961
62961
|
mixins: [NP1]
|
|
62962
62962
|
}, FP1 = { class: "c-social-links__links-container" }, UP1 = ["href"];
|
|
62963
62963
|
function ZP1(e, t, n, i, r, s) {
|
|
@@ -63180,7 +63180,7 @@ const RI = /* @__PURE__ */ v(RP1, [["render", ZP1], ["__scopeId", "data-v-520d59
|
|
|
63180
63180
|
}
|
|
63181
63181
|
}
|
|
63182
63182
|
}), GP1 = {
|
|
63183
|
-
components: { Button: Ua, Media:
|
|
63183
|
+
components: { Button: Ua, Media: P4, TextWrapper: Rt },
|
|
63184
63184
|
mixins: [qP1]
|
|
63185
63185
|
}, WP1 = { key: 2 }, jP1 = { class: "tw-w-full tw-self-center" }, KP1 = { class: "tw-w-full tw-relative" };
|
|
63186
63186
|
function YP1(e, t, n, i, r, s) {
|
|
@@ -63455,7 +63455,7 @@ const XP1 = /* @__PURE__ */ v(GP1, [["render", YP1], ["__scopeId", "data-v-dcac1
|
|
|
63455
63455
|
}
|
|
63456
63456
|
}
|
|
63457
63457
|
}), QP1 = {
|
|
63458
|
-
components: { Media:
|
|
63458
|
+
components: { Media: P4, TextWrapper: Rt },
|
|
63459
63459
|
mixins: [JP1]
|
|
63460
63460
|
};
|
|
63461
63461
|
function eO1(e, t, n, i, r, s) {
|
|
@@ -63588,7 +63588,7 @@ const iO1 = /* @__PURE__ */ B6(nO1), rO1 = "2/1", sO1 = n1({
|
|
|
63588
63588
|
);
|
|
63589
63589
|
},
|
|
63590
63590
|
placeHolderStyles() {
|
|
63591
|
-
const e =
|
|
63591
|
+
const e = S4[this.viewModel.aspectRatio];
|
|
63592
63592
|
return e ? this.viewModel.aspectRatio === "circle" ? {
|
|
63593
63593
|
aspectRatio: "1/1",
|
|
63594
63594
|
borderRadius: e,
|
|
@@ -63612,7 +63612,7 @@ const iO1 = /* @__PURE__ */ B6(nO1), rO1 = "2/1", sO1 = n1({
|
|
|
63612
63612
|
return this.viewModel.items.length === 1;
|
|
63613
63613
|
},
|
|
63614
63614
|
hasAspectRatio() {
|
|
63615
|
-
return
|
|
63615
|
+
return S4[this.viewModel.aspectRatio] !== "";
|
|
63616
63616
|
},
|
|
63617
63617
|
itemImageAltText() {
|
|
63618
63618
|
return (e) => t0(e, this.context);
|
|
@@ -63998,7 +63998,7 @@ const uO1 = /* @__PURE__ */ v(dO1, [["render", cO1], ["__scopeId", "data-v-61843
|
|
|
63998
63998
|
}
|
|
63999
63999
|
}
|
|
64000
64000
|
}), hO1 = {
|
|
64001
|
-
components: { Carousel: el, Media:
|
|
64001
|
+
components: { Carousel: el, Media: P4, Icon: ye, TextWrapper: Rt },
|
|
64002
64002
|
mixins: [pO1]
|
|
64003
64003
|
}, fO1 = { id: "button-prev" }, gO1 = {
|
|
64004
64004
|
key: 1,
|
|
@@ -64264,7 +64264,7 @@ const TO1 = /* @__PURE__ */ v(_O1, [["render", kO1], ["__scopeId", "data-v-b3d3c
|
|
|
64264
64264
|
}), LO1 = {
|
|
64265
64265
|
components: {
|
|
64266
64266
|
TextMediaSection: FI,
|
|
64267
|
-
Media:
|
|
64267
|
+
Media: P4
|
|
64268
64268
|
},
|
|
64269
64269
|
mixins: [VO1]
|
|
64270
64270
|
};
|
|
@@ -64842,7 +64842,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64842
64842
|
return a.notes.length + (((T = S == null ? void 0 : S.notes) == null ? void 0 : T.length) || 0) <= UI;
|
|
64843
64843
|
});
|
|
64844
64844
|
Qt(c, (w) => {
|
|
64845
|
-
a.cartNoteErrorMessage = w ? "" :
|
|
64845
|
+
a.cartNoteErrorMessage = w ? "" : R4("characterExceeded");
|
|
64846
64846
|
});
|
|
64847
64847
|
const u = I(() => ({ ...n.buttonStyle })), p = () => {
|
|
64848
64848
|
a.quantity = 1, a.isShowFullDescription = !1, l("on-close");
|
|
@@ -64895,7 +64895,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64895
64895
|
a.isShowFullDescription ? (C(), f("div", a$1, [
|
|
64896
64896
|
V(F(q1), {
|
|
64897
64897
|
classes: "tw-mb-4",
|
|
64898
|
-
label: F(
|
|
64898
|
+
label: F(R4)("back"),
|
|
64899
64899
|
variant: "no-border",
|
|
64900
64900
|
size: "large",
|
|
64901
64901
|
"icon-left": "chevron-left",
|
|
@@ -64903,7 +64903,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64903
64903
|
}, null, 8, ["label"]),
|
|
64904
64904
|
h("div", l$1, [
|
|
64905
64905
|
h("h1", d$1, x(F(o).name), 1),
|
|
64906
|
-
h("p", c$1, x(F(
|
|
64906
|
+
h("p", c$1, x(F(R4)("description")), 1),
|
|
64907
64907
|
h("p", u$1, x(F(o).description), 1)
|
|
64908
64908
|
])
|
|
64909
64909
|
])) : (C(), f("div", {
|
|
@@ -64953,11 +64953,11 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64953
64953
|
]),
|
|
64954
64954
|
_: 2
|
|
64955
64955
|
}, 1032, ["show", "title"]),
|
|
64956
|
-
a.variantError ? (C(), f("p", n$1, x(F(
|
|
64956
|
+
a.variantError ? (C(), f("p", n$1, x(F(R4)("pleaseSelectOption")), 1)) : _("", !0)
|
|
64957
64957
|
]))), 128))
|
|
64958
64958
|
])) : _("", !0),
|
|
64959
64959
|
h("div", i$1, [
|
|
64960
|
-
h("p", r$1, x(F(
|
|
64960
|
+
h("p", r$1, x(F(R4)("quantity")), 1),
|
|
64961
64961
|
V(F(rh), {
|
|
64962
64962
|
id: `qty-${F(o).id}`,
|
|
64963
64963
|
modelValue: a.quantity,
|
|
@@ -64969,7 +64969,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64969
64969
|
}, null, 8, ["id", "modelValue"])
|
|
64970
64970
|
]),
|
|
64971
64971
|
V(F(q1), {
|
|
64972
|
-
label: F(
|
|
64972
|
+
label: F(R4)("addToCart"),
|
|
64973
64973
|
size: "medium",
|
|
64974
64974
|
"full-width": !0,
|
|
64975
64975
|
class: $(["tw-py-3 tw-cursor-pointer", {
|
|
@@ -64992,7 +64992,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
64992
64992
|
key: 1,
|
|
64993
64993
|
modelValue: a.notes,
|
|
64994
64994
|
"onUpdate:modelValue": S[2] || (S[2] = (M) => a.notes = M),
|
|
64995
|
-
placeholder: F(
|
|
64995
|
+
placeholder: F(R4)("orderDetailsPlaceholder"),
|
|
64996
64996
|
size: "sm",
|
|
64997
64997
|
resize: !1,
|
|
64998
64998
|
error: !!a.cartNoteErrorMessage,
|
|
@@ -65526,7 +65526,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
65526
65526
|
])
|
|
65527
65527
|
], 6)) : _("", !0),
|
|
65528
65528
|
o.isAddCartSuccess ? (C(), f("div", J$1, [
|
|
65529
|
-
V(F(
|
|
65529
|
+
V(F(L4), {
|
|
65530
65530
|
class: "tw-fixed success-bar tw-top-0 tw-mt-2 tw-z-20",
|
|
65531
65531
|
variant: "success",
|
|
65532
65532
|
label: F(Gi)("itemAddedToCart")
|
|
@@ -67781,7 +67781,7 @@ const wt = y2("uiContentSettings", {
|
|
|
67781
67781
|
applyLogoDesignAttributes(e) {
|
|
67782
67782
|
const t = $e(), n = C6();
|
|
67783
67783
|
t.setLogoTheme({
|
|
67784
|
-
logoTheme:
|
|
67784
|
+
logoTheme: M4(e.logoTheme)
|
|
67785
67785
|
}), n.setRecommendedLogoColors({
|
|
67786
67786
|
recommendedLogoColors: e.recommendedLogoColors
|
|
67787
67787
|
}), n.setLogoColors({
|
|
@@ -67871,7 +67871,7 @@ const wt = y2("uiContentSettings", {
|
|
|
67871
67871
|
);
|
|
67872
67872
|
}
|
|
67873
67873
|
}
|
|
67874
|
-
}),
|
|
67874
|
+
}), O4 = y2("uiEditableLogo", {
|
|
67875
67875
|
state: () => ({
|
|
67876
67876
|
logoTemplateMetadata: "",
|
|
67877
67877
|
isTextOnlyLogo: !1,
|
|
@@ -68159,7 +68159,7 @@ const wt = y2("uiContentSettings", {
|
|
|
68159
68159
|
)
|
|
68160
68160
|
});
|
|
68161
68161
|
}, kD1 = (e, t) => (n) => {
|
|
68162
|
-
const i =
|
|
68162
|
+
const i = M4(n.logoTheme), { model: r } = X4(
|
|
68163
68163
|
i,
|
|
68164
68164
|
new J9({ contents: e, styles: new Q7() })
|
|
68165
68165
|
), s = ml(
|
|
@@ -68225,7 +68225,7 @@ const wt = y2("uiContentSettings", {
|
|
|
68225
68225
|
);
|
|
68226
68226
|
return;
|
|
68227
68227
|
}
|
|
68228
|
-
const s =
|
|
68228
|
+
const s = M4(r.logoTheme), o = ml(
|
|
68229
68229
|
r.logoImageUrl
|
|
68230
68230
|
);
|
|
68231
68231
|
n.setSelectedLogoImageToAll({
|
|
@@ -68308,7 +68308,7 @@ const xD1 = () => Yu || (Yu = new HD1()), Zp = (e, t) => ID1(e).then(
|
|
|
68308
68308
|
o < 0 && (o += 4294967296);
|
|
68309
68309
|
const a = n - t + 1;
|
|
68310
68310
|
return o = o % a, t + o;
|
|
68311
|
-
}, D_ = 6, AD1 = 250,
|
|
68311
|
+
}, D_ = 6, AD1 = 250, h8 = y2("uiTemplateSettings", {
|
|
68312
68312
|
state: () => ({
|
|
68313
68313
|
isBusy: !1,
|
|
68314
68314
|
pageCount: 0,
|
|
@@ -68337,8 +68337,7 @@ const xD1 = () => Yu || (Yu = new HD1()), Zp = (e, t) => ID1(e).then(
|
|
|
68337
68337
|
key: "ai",
|
|
68338
68338
|
displayName: l9("headerAi")
|
|
68339
68339
|
}
|
|
68340
|
-
]
|
|
68341
|
-
initialSearchTerm: void 0
|
|
68340
|
+
]
|
|
68342
68341
|
}),
|
|
68343
68342
|
actions: {
|
|
68344
68343
|
_addTemplates({ templates: e }) {
|
|
@@ -68504,9 +68503,6 @@ const xD1 = () => Yu || (Yu = new HD1()), Zp = (e, t) => ID1(e).then(
|
|
|
68504
68503
|
tabName: Zt.TEMPLATE_SETTINGS
|
|
68505
68504
|
}));
|
|
68506
68505
|
},
|
|
68507
|
-
setInitialSearchTerm(e) {
|
|
68508
|
-
this.initialSearchTerm = e.initialSearchTerm;
|
|
68509
|
-
},
|
|
68510
68506
|
clearTemplates() {
|
|
68511
68507
|
this.templates.splice(0), this.pageNo = 0, this.pageNoLoaded = 0;
|
|
68512
68508
|
},
|
|
@@ -68910,31 +68906,26 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
68910
68906
|
makerFonts: [],
|
|
68911
68907
|
eventButtonLocation: void 0,
|
|
68912
68908
|
showPublishOptionModal: !1,
|
|
68913
|
-
abTests: {}
|
|
68914
|
-
logoBrandIndustry: void 0
|
|
68909
|
+
abTests: {}
|
|
68915
68910
|
}),
|
|
68916
68911
|
actions: {
|
|
68917
68912
|
clearTriggerSaveEventApiOnPublishModalClose() {
|
|
68918
68913
|
this.triggerSaveEventApiOnPublishModalClose = !1;
|
|
68919
68914
|
},
|
|
68920
68915
|
initialise(e) {
|
|
68921
|
-
var
|
|
68916
|
+
var s;
|
|
68922
68917
|
const t = V6();
|
|
68923
68918
|
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)))
|
|
68924
68919
|
throw new Error("logoDraftToken should be defined");
|
|
68925
|
-
const n = re()
|
|
68926
|
-
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 = ((
|
|
68927
|
-
const r = n5();
|
|
68928
|
-
i.setInitialSearchTerm({
|
|
68929
|
-
initialSearchTerm: e.logoBrandIndustry ?? ""
|
|
68930
|
-
}), r.initialise({
|
|
68920
|
+
const n = re();
|
|
68921
|
+
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({
|
|
68931
68922
|
logoTemplateAsset: e.logoTemplateAsset,
|
|
68932
68923
|
logoDraftAssets: e.logoDraftAssets || []
|
|
68933
68924
|
}), n.setSelectedTemplateId({
|
|
68934
68925
|
templateId: this.designTemplateToken
|
|
68935
68926
|
});
|
|
68936
|
-
const
|
|
68937
|
-
e.logoDraftToken &&
|
|
68927
|
+
const r = $e();
|
|
68928
|
+
e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken });
|
|
68938
68929
|
},
|
|
68939
68930
|
setDesignTemplateToken(e) {
|
|
68940
68931
|
this.designTemplateToken = e.designTemplateToken;
|
|
@@ -69213,7 +69204,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69213
69204
|
});
|
|
69214
69205
|
const p = n5();
|
|
69215
69206
|
s.logoTemplateToken = p.logoTemplateAsset.token, s.logoTemplateVersion = p.logoTemplateAsset.version;
|
|
69216
|
-
const g =
|
|
69207
|
+
const g = O4();
|
|
69217
69208
|
await g.updateMetadataAsync();
|
|
69218
69209
|
const m = p.getLogoDraftAssetByToken(
|
|
69219
69210
|
g.logoDraftToken
|
|
@@ -69731,7 +69722,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69731
69722
|
this.selectedTemplateId = e.templateId;
|
|
69732
69723
|
},
|
|
69733
69724
|
async applySelectedTemplate() {
|
|
69734
|
-
const e = $e(), t = X3(), n = c6(), i =
|
|
69725
|
+
const e = $e(), t = X3(), n = c6(), i = h8(), r = o4(), s = C6(), o = ze(), a = _e();
|
|
69735
69726
|
if (!this.selectedTemplateId)
|
|
69736
69727
|
return;
|
|
69737
69728
|
const l = i.getTemplateByTemplateId(
|
|
@@ -69783,7 +69774,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69783
69774
|
);
|
|
69784
69775
|
d.styles = S.styles, d.pages = S.pages;
|
|
69785
69776
|
}
|
|
69786
|
-
const { model: p } =
|
|
69777
|
+
const { model: p } = X4(
|
|
69787
69778
|
e.logoTheme,
|
|
69788
69779
|
new J9(d)
|
|
69789
69780
|
);
|
|
@@ -69915,10 +69906,10 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69915
69906
|
shopConfigData: u
|
|
69916
69907
|
}) {
|
|
69917
69908
|
var E, B, K, R, D;
|
|
69918
|
-
const p = _e(), g = ze(), m = $e(), y =
|
|
69909
|
+
const p = _e(), g = ze(), m = $e(), y = h8(), b = X3(), w = O4(), S = C6(), M = c6(), T = o4();
|
|
69919
69910
|
h6(), T.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
69920
69911
|
try {
|
|
69921
|
-
const N =
|
|
69912
|
+
const N = M4(
|
|
69922
69913
|
r.logoTheme
|
|
69923
69914
|
), q = typeof e == "string" ? JSON.parse(e) : new J9(e), c1 = t || q.brandPageType || i1.default;
|
|
69924
69915
|
this.setBrandPageType({
|
|
@@ -69945,7 +69936,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69945
69936
|
q.styles = J1.styles, q.pages = J1.pages;
|
|
69946
69937
|
}
|
|
69947
69938
|
if (!g.isAdmin) {
|
|
69948
|
-
const { model: J1 } =
|
|
69939
|
+
const { model: J1 } = X4(
|
|
69949
69940
|
N,
|
|
69950
69941
|
new J9(q)
|
|
69951
69942
|
);
|
|
@@ -69957,7 +69948,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
69957
69948
|
}), this.brandPageType === i1.brandSite && (this.viewport = $1.desktop), y.setTemplateType({
|
|
69958
69949
|
templateType: QD1[c1]
|
|
69959
69950
|
}), g.setEmailAddress(n), g.setFeatures(i), m.setLogoTheme({
|
|
69960
|
-
logoTheme:
|
|
69951
|
+
logoTheme: M4(
|
|
69961
69952
|
r.logoTheme
|
|
69962
69953
|
)
|
|
69963
69954
|
}), m.setIsPersonalisationEnabled({ isPersonalisationEnabled: l }), a && a.length > 0 && m.setUserPersonalisationData({
|
|
@@ -70158,7 +70149,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
70158
70149
|
await _e().showStripeOnboardingModal();
|
|
70159
70150
|
},
|
|
70160
70151
|
selectInitialCategories(e) {
|
|
70161
|
-
const t =
|
|
70152
|
+
const t = h8(), n = wt();
|
|
70162
70153
|
e && (e.selectedTemplateCategory && t.selectInitialTemplateCategory({
|
|
70163
70154
|
selectedCategory: e.selectedTemplateCategory
|
|
70164
70155
|
}), e.selectedContentCategory && n.selectInitialContentCategory({
|
|
@@ -70289,7 +70280,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
70289
70280
|
brandPageViewModel() {
|
|
70290
70281
|
const e = ze(), t = $e();
|
|
70291
70282
|
if (e.isAdmin && t.logoTheme) {
|
|
70292
|
-
const i =
|
|
70283
|
+
const i = X4(
|
|
70293
70284
|
t.logoTheme,
|
|
70294
70285
|
this.brandPageData
|
|
70295
70286
|
).model;
|
|
@@ -70300,7 +70291,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
70300
70291
|
}
|
|
70301
70292
|
const n = e.features.showBrandCrowdLogo;
|
|
70302
70293
|
if (process.env.NODE_ENV !== "production") {
|
|
70303
|
-
const { model: i, isModified: r } =
|
|
70294
|
+
const { model: i, isModified: r } = X4(
|
|
70304
70295
|
t.logoTheme,
|
|
70305
70296
|
this.brandPageData
|
|
70306
70297
|
);
|
|
@@ -70715,7 +70706,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
70715
70706
|
iconViewBox: "-60 0 80 15",
|
|
70716
70707
|
dataAttribute: "data-test-btn-left-aligned",
|
|
70717
70708
|
label: m2("original"),
|
|
70718
|
-
value:
|
|
70709
|
+
value: S4.Default,
|
|
70719
70710
|
isSelected: !e
|
|
70720
70711
|
},
|
|
70721
70712
|
{
|
|
@@ -70788,7 +70779,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
70788
70779
|
options: [
|
|
70789
70780
|
{
|
|
70790
70781
|
label: m2("default"),
|
|
70791
|
-
value:
|
|
70782
|
+
value: S4.Default,
|
|
70792
70783
|
isSelected: !e
|
|
70793
70784
|
},
|
|
70794
70785
|
{
|
|
@@ -71091,8 +71082,8 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
71091
71082
|
},
|
|
71092
71083
|
{
|
|
71093
71084
|
title: "",
|
|
71094
|
-
value:
|
|
71095
|
-
isSelected: e ===
|
|
71085
|
+
value: s8,
|
|
71086
|
+
isSelected: e === s8,
|
|
71096
71087
|
iconName: "display-style-about-4",
|
|
71097
71088
|
iconViewBox: "0 0 50 25",
|
|
71098
71089
|
dataAttribute: "data-test-btn-text-only"
|
|
@@ -71291,8 +71282,8 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
71291
71282
|
},
|
|
71292
71283
|
{
|
|
71293
71284
|
title: "",
|
|
71294
|
-
value:
|
|
71295
|
-
isSelected: e ===
|
|
71285
|
+
value: s8,
|
|
71286
|
+
isSelected: e === s8,
|
|
71296
71287
|
iconName: "display-style-about-4",
|
|
71297
71288
|
iconViewBox: "0 0 110 64",
|
|
71298
71289
|
dataAttribute: "data-test-btn-text-only"
|
|
@@ -71328,7 +71319,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
71328
71319
|
convertBack(e) {
|
|
71329
71320
|
const t = e.options.find((i) => i.isSelected);
|
|
71330
71321
|
let n = "center";
|
|
71331
|
-
return ((t == null ? void 0 : t.value) ===
|
|
71322
|
+
return ((t == null ? void 0 : t.value) === s8 || (t == null ? void 0 : t.value) === p6 || (t == null ? void 0 : t.value) === Z3) && (n = "left"), {
|
|
71332
71323
|
layoutStyle: t == null ? void 0 : t.value,
|
|
71333
71324
|
titleStyle: {
|
|
71334
71325
|
textAlign: n
|
|
@@ -73091,7 +73082,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
73091
73082
|
type: "radio",
|
|
73092
73083
|
role: "multi",
|
|
73093
73084
|
groupId: tt.style,
|
|
73094
|
-
defaultValue:
|
|
73085
|
+
defaultValue: v4,
|
|
73095
73086
|
title: O("displayStyleTitle"),
|
|
73096
73087
|
optionsConvertor: yl
|
|
73097
73088
|
},
|
|
@@ -73234,7 +73225,7 @@ const R_ = /* @__PURE__ */ B6(XD1), Ju = Object.freeze({
|
|
|
73234
73225
|
displayStyle: {
|
|
73235
73226
|
type: "radio",
|
|
73236
73227
|
role: "multi",
|
|
73237
|
-
defaultValue:
|
|
73228
|
+
defaultValue: v4,
|
|
73238
73229
|
title: O("displayStyleTitle"),
|
|
73239
73230
|
optionsConvertor: yl,
|
|
73240
73231
|
groupId: J.settings
|
|
@@ -75736,7 +75727,7 @@ function VE(e) {
|
|
|
75736
75727
|
function eo(e) {
|
|
75737
75728
|
return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
|
|
75738
75729
|
}
|
|
75739
|
-
function
|
|
75730
|
+
function n8(e) {
|
|
75740
75731
|
return e.length === 1 ? "0" + e : String(e);
|
|
75741
75732
|
}
|
|
75742
75733
|
function dU1(e, t, n) {
|
|
@@ -75809,18 +75800,18 @@ function uU1(e, t, n) {
|
|
|
75809
75800
|
}
|
|
75810
75801
|
function SM(e, t, n, i) {
|
|
75811
75802
|
var r = [
|
|
75812
|
-
|
|
75813
|
-
|
|
75814
|
-
|
|
75803
|
+
n8(Math.round(e).toString(16)),
|
|
75804
|
+
n8(Math.round(t).toString(16)),
|
|
75805
|
+
n8(Math.round(n).toString(16))
|
|
75815
75806
|
];
|
|
75816
75807
|
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("");
|
|
75817
75808
|
}
|
|
75818
75809
|
function CU1(e, t, n, i, r) {
|
|
75819
75810
|
var s = [
|
|
75820
|
-
|
|
75821
|
-
|
|
75822
|
-
|
|
75823
|
-
|
|
75811
|
+
n8(Math.round(e).toString(16)),
|
|
75812
|
+
n8(Math.round(t).toString(16)),
|
|
75813
|
+
n8(Math.round(n).toString(16)),
|
|
75814
|
+
n8(pU1(i))
|
|
75824
75815
|
];
|
|
75825
75816
|
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("");
|
|
75826
75817
|
}
|
|
@@ -77427,7 +77418,7 @@ const Ff = /* @__PURE__ */ v(ZZ1, [["render", XZ1], ["__scopeId", "data-v-f27a7e
|
|
|
77427
77418
|
components: {
|
|
77428
77419
|
ColorPicker: Ff,
|
|
77429
77420
|
StyleSettingsSection: Bl,
|
|
77430
|
-
HelloBar:
|
|
77421
|
+
HelloBar: L4
|
|
77431
77422
|
},
|
|
77432
77423
|
props: {
|
|
77433
77424
|
customGroups: {
|
|
@@ -77461,7 +77452,7 @@ const Ff = /* @__PURE__ */ v(ZZ1, [["render", XZ1], ["__scopeId", "data-v-f27a7e
|
|
|
77461
77452
|
onBackgroundColorChange(e) {
|
|
77462
77453
|
const t = C6();
|
|
77463
77454
|
let n = "";
|
|
77464
|
-
Array.isArray(e) ? n = vn(e) : n =
|
|
77455
|
+
Array.isArray(e) ? n = vn(e) : n = _4(e, 1), this.isAdmin || this.backgroundSettingsStore.clearUserImageBackgroundImageUrl(), t.setBackgroundStyle({
|
|
77465
77456
|
backgroundStyle: { background: n }
|
|
77466
77457
|
}), t.setBackgroundImageUrl({
|
|
77467
77458
|
backgroundImageUrl: ""
|
|
@@ -77498,7 +77489,7 @@ const ez1 = /* @__PURE__ */ v(JZ1, [["render", QZ1]]), VM = n1({
|
|
|
77498
77489
|
components: {
|
|
77499
77490
|
ColorPicker: Ff,
|
|
77500
77491
|
StyleSettingsSection: Bl,
|
|
77501
|
-
HelloBar:
|
|
77492
|
+
HelloBar: L4
|
|
77502
77493
|
},
|
|
77503
77494
|
props: {
|
|
77504
77495
|
customGroups: {
|
|
@@ -77534,9 +77525,9 @@ const ez1 = /* @__PURE__ */ v(JZ1, [["render", QZ1]]), VM = n1({
|
|
|
77534
77525
|
methods: {
|
|
77535
77526
|
onBackgroundShapeColorChange(e) {
|
|
77536
77527
|
this.colorType === "main" ? this.backgroundSettingsStore.setPrimaryBackgroundShapeStyle({
|
|
77537
|
-
color:
|
|
77528
|
+
color: _4(e)
|
|
77538
77529
|
}) : this.backgroundSettingsStore.setBackgroundShapeStyle({
|
|
77539
|
-
color:
|
|
77530
|
+
color: _4(e)
|
|
77540
77531
|
});
|
|
77541
77532
|
}
|
|
77542
77533
|
}
|
|
@@ -81774,7 +81765,7 @@ const EW1 = /* @__PURE__ */ v(VW1, [["render", IW1], ["__scopeId", "data-v-8240b
|
|
|
81774
81765
|
__name: "WebsiteByoUpload",
|
|
81775
81766
|
emits: ["on-logo-upload"],
|
|
81776
81767
|
setup(e, { emit: t }) {
|
|
81777
|
-
const n = _e(), i = n5(), r =
|
|
81768
|
+
const n = _e(), i = n5(), r = O4(), s = X3(), o = t, a = async (c) => {
|
|
81778
81769
|
r.setEnableEditMode(!1), n.isPrePurchase ? await l(c) : d(c);
|
|
81779
81770
|
}, l = async (c) => {
|
|
81780
81771
|
i.setLogoTemplateAsset({
|
|
@@ -81866,7 +81857,7 @@ const EW1 = /* @__PURE__ */ v(VW1, [["render", IW1], ["__scopeId", "data-v-8240b
|
|
|
81866
81857
|
}
|
|
81867
81858
|
];
|
|
81868
81859
|
return s.currentLogoIsByo ? D.filter((N) => N.value !== "1") : D;
|
|
81869
|
-
}), l = n5(), d =
|
|
81860
|
+
}), l = n5(), d = O4(), c = h6(), u = ze();
|
|
81870
81861
|
I2(() => p()), Qt(
|
|
81871
81862
|
() => n.isLogoVisible,
|
|
81872
81863
|
() => p()
|
|
@@ -81970,7 +81961,7 @@ const EW1 = /* @__PURE__ */ v(VW1, [["render", IW1], ["__scopeId", "data-v-8240b
|
|
|
81970
81961
|
"onUpdate:modelValue": T
|
|
81971
81962
|
}, null, 8, ["model-value"])
|
|
81972
81963
|
])) : (C(), f("div", GW1, [
|
|
81973
|
-
V(F(
|
|
81964
|
+
V(F(H4), {
|
|
81974
81965
|
class: "tw-mb-4",
|
|
81975
81966
|
options: a.value,
|
|
81976
81967
|
variant: "custom",
|
|
@@ -82057,7 +82048,7 @@ const EW1 = /* @__PURE__ */ v(VW1, [["render", IW1], ["__scopeId", "data-v-8240b
|
|
|
82057
82048
|
},
|
|
82058
82049
|
emits: ["update:model-value"],
|
|
82059
82050
|
setup(e, { emit: t }) {
|
|
82060
|
-
const n = t, i = e, r = n5(), s =
|
|
82051
|
+
const n = t, i = e, r = n5(), s = O4(), o = I(() => Jo(i.content.logoImage)), a = I(() => ({
|
|
82061
82052
|
id: "",
|
|
82062
82053
|
isVisible: !1,
|
|
82063
82054
|
logoImage: i.content.logoImage,
|
|
@@ -82123,7 +82114,7 @@ const EW1 = /* @__PURE__ */ v(VW1, [["render", IW1], ["__scopeId", "data-v-8240b
|
|
|
82123
82114
|
g.token
|
|
82124
82115
|
);
|
|
82125
82116
|
S && y.setLogoTheme({
|
|
82126
|
-
logoTheme:
|
|
82117
|
+
logoTheme: M4(S.logoTheme)
|
|
82127
82118
|
});
|
|
82128
82119
|
}
|
|
82129
82120
|
}, p = (g) => {
|
|
@@ -82593,7 +82584,7 @@ const DE = /* @__PURE__ */ v(sj1, [["render", aj1]]), lj1 = (e) => {
|
|
|
82593
82584
|
components: {
|
|
82594
82585
|
Button: q1,
|
|
82595
82586
|
PaymentConfigDropdown: _r1,
|
|
82596
|
-
HelloBar:
|
|
82587
|
+
HelloBar: L4
|
|
82597
82588
|
},
|
|
82598
82589
|
mixins: [GM],
|
|
82599
82590
|
setup(e, t) {
|
|
@@ -83280,7 +83271,7 @@ const Yj1 = /* @__PURE__ */ v(Zj1, [["render", Kj1]]), KM = n1({
|
|
|
83280
83271
|
}
|
|
83281
83272
|
}), Xj1 = {
|
|
83282
83273
|
components: {
|
|
83283
|
-
ButtonGroup:
|
|
83274
|
+
ButtonGroup: H4,
|
|
83284
83275
|
Icon: ye
|
|
83285
83276
|
},
|
|
83286
83277
|
mixins: [KM],
|
|
@@ -86672,7 +86663,7 @@ const UE = /* @__PURE__ */ v(k6e, [["render", T6e]]), V6e = {
|
|
|
86672
86663
|
V(Fn, {
|
|
86673
86664
|
title: F(O)("linkToLabel")
|
|
86674
86665
|
}, null, 8, ["title"]),
|
|
86675
|
-
V(F(
|
|
86666
|
+
V(F(H4), {
|
|
86676
86667
|
options: c1.value,
|
|
86677
86668
|
columns: 2,
|
|
86678
86669
|
onOnSelect: Qe
|
|
@@ -88391,7 +88382,7 @@ const Wf = /* @__PURE__ */ v(I9e, [["render", D9e]]), n4 = {
|
|
|
88391
88382
|
}
|
|
88392
88383
|
}), t4e = {
|
|
88393
88384
|
components: {
|
|
88394
|
-
ButtonGroup:
|
|
88385
|
+
ButtonGroup: H4
|
|
88395
88386
|
},
|
|
88396
88387
|
mixins: [e4e],
|
|
88397
88388
|
setup() {
|
|
@@ -88785,7 +88776,7 @@ const c4e = /* @__PURE__ */ v(o4e, [["render", d4e]]), mC = 5, ek = n1({
|
|
|
88785
88776
|
Dropdown: a5,
|
|
88786
88777
|
DropdownItem: l5,
|
|
88787
88778
|
FontFamilySelector: FE,
|
|
88788
|
-
ButtonGroup:
|
|
88779
|
+
ButtonGroup: H4,
|
|
88789
88780
|
ColorField: i5,
|
|
88790
88781
|
Icon: ye,
|
|
88791
88782
|
Slider: g8
|
|
@@ -91126,7 +91117,7 @@ const b7e = /* @__PURE__ */ v(f7e, [["render", w7e]]), io = () => [
|
|
|
91126
91117
|
},
|
|
91127
91118
|
setup() {
|
|
91128
91119
|
var d;
|
|
91129
|
-
const e = re(), t = bt(), n = c6(), i = o4(), r = wt(), s = $e(), o = _e(), a = n5(), l =
|
|
91120
|
+
const e = re(), t = bt(), n = c6(), i = o4(), r = wt(), s = $e(), o = _e(), a = n5(), l = O4();
|
|
91130
91121
|
return console.log(
|
|
91131
91122
|
(d = io().find(
|
|
91132
91123
|
(c) => c.key === e.viewport
|
|
@@ -91496,7 +91487,7 @@ const b7e = /* @__PURE__ */ v(f7e, [["render", w7e]]), io = () => [
|
|
|
91496
91487
|
e.token
|
|
91497
91488
|
);
|
|
91498
91489
|
r && t.setLogoTheme({
|
|
91499
|
-
logoTheme:
|
|
91490
|
+
logoTheme: M4(
|
|
91500
91491
|
r.logoTheme
|
|
91501
91492
|
)
|
|
91502
91493
|
});
|
|
@@ -91750,7 +91741,7 @@ const E7e = /* @__PURE__ */ v(S7e, [["render", I7e]]), A7e = {
|
|
|
91750
91741
|
return (a, l) => r.value.length > 1 ? (C(), f("div", A7e, [
|
|
91751
91742
|
h("p", P7e, x(F(Q1)("common.displayStyle")), 1),
|
|
91752
91743
|
h("div", null, [
|
|
91753
|
-
V(F(
|
|
91744
|
+
V(F(H4), {
|
|
91754
91745
|
variant: "icon",
|
|
91755
91746
|
columns: s.value,
|
|
91756
91747
|
"btn-style-variant": "compressed",
|
|
@@ -91775,7 +91766,7 @@ const E7e = /* @__PURE__ */ v(S7e, [["render", I7e]]), A7e = {
|
|
|
91775
91766
|
};
|
|
91776
91767
|
return (r, s) => (C(), f("div", $7e, [
|
|
91777
91768
|
h("p", B7e, x(F(Q1)("pageSettingsSection.navigationStyle")), 1),
|
|
91778
|
-
V(F(
|
|
91769
|
+
V(F(H4), {
|
|
91779
91770
|
variant: "icon",
|
|
91780
91771
|
columns: 3,
|
|
91781
91772
|
"btn-style-variant": "compressed",
|
|
@@ -91798,7 +91789,7 @@ const E7e = /* @__PURE__ */ v(S7e, [["render", I7e]]), A7e = {
|
|
|
91798
91789
|
return (r, s) => (C(), f("div", N7e, [
|
|
91799
91790
|
h("p", R7e, x(F(Q1)("common.displayStyle")), 1),
|
|
91800
91791
|
h("div", null, [
|
|
91801
|
-
V(F(
|
|
91792
|
+
V(F(H4), {
|
|
91802
91793
|
variant: "icon",
|
|
91803
91794
|
columns: 2,
|
|
91804
91795
|
"btn-style-variant": "compressed",
|
|
@@ -91811,7 +91802,7 @@ const E7e = /* @__PURE__ */ v(S7e, [["render", I7e]]), A7e = {
|
|
|
91811
91802
|
}), U7e = {
|
|
91812
91803
|
components: {
|
|
91813
91804
|
TabMenu: Y7,
|
|
91814
|
-
HelloBar:
|
|
91805
|
+
HelloBar: L4,
|
|
91815
91806
|
Toggle: U2,
|
|
91816
91807
|
LinksField: DE,
|
|
91817
91808
|
NavigationStyleSettings: E7e,
|
|
@@ -92669,7 +92660,7 @@ const R0e = /* @__PURE__ */ v(D0e, [["render", N0e], ["__scopeId", "data-v-99257
|
|
|
92669
92660
|
}
|
|
92670
92661
|
}), ak = n1({
|
|
92671
92662
|
setup() {
|
|
92672
|
-
const e = n5(), t = X3(), n = re(), i =
|
|
92663
|
+
const e = n5(), t = X3(), n = re(), i = O4(), r = _e(), s = bt();
|
|
92673
92664
|
return {
|
|
92674
92665
|
logoDraftToken: I(() => i.logoDraftToken),
|
|
92675
92666
|
logoSettingsStore: t,
|
|
@@ -92696,7 +92687,7 @@ const R0e = /* @__PURE__ */ v(D0e, [["render", N0e], ["__scopeId", "data-v-99257
|
|
|
92696
92687
|
}
|
|
92697
92688
|
}), lk = n1({
|
|
92698
92689
|
setup() {
|
|
92699
|
-
const e =
|
|
92690
|
+
const e = O4(), t = X3(), n = $e();
|
|
92700
92691
|
return {
|
|
92701
92692
|
editableLogoStore: e,
|
|
92702
92693
|
logoStore: t,
|
|
@@ -93268,7 +93259,7 @@ function Fne(e, t, n, i, r, s) {
|
|
|
93268
93259
|
}
|
|
93269
93260
|
const Une = /* @__PURE__ */ v(Dne, [["render", Fne]]), Zne = 250, ck = n1({
|
|
93270
93261
|
components: {
|
|
93271
|
-
HelloBar:
|
|
93262
|
+
HelloBar: L4,
|
|
93272
93263
|
BrandPageMakerPage: Up,
|
|
93273
93264
|
Loader: p2
|
|
93274
93265
|
},
|
|
@@ -94239,7 +94230,7 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94239
94230
|
}
|
|
94240
94231
|
},
|
|
94241
94232
|
setup() {
|
|
94242
|
-
const e = re(), t = h6(), n = ze(), i = wt(), r = $e(), s = bt(), o = _e(), a =
|
|
94233
|
+
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();
|
|
94243
94234
|
return {
|
|
94244
94235
|
commonTr: Ve,
|
|
94245
94236
|
currentNotificationMessage: I(
|
|
@@ -94402,7 +94393,7 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94402
94393
|
}
|
|
94403
94394
|
},
|
|
94404
94395
|
setup() {
|
|
94405
|
-
const e =
|
|
94396
|
+
const e = h8(), t = _e(), n = re(), i = $e(), r = x2();
|
|
94406
94397
|
return {
|
|
94407
94398
|
isBusy: I(() => e.isBusy),
|
|
94408
94399
|
pageNo: I(() => e.pageNo),
|
|
@@ -94410,9 +94401,6 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94410
94401
|
pageCount: I(() => e.pageCount),
|
|
94411
94402
|
selectedTab: I(() => e.selectedTab),
|
|
94412
94403
|
searchTerm: I(() => e.searchTerm),
|
|
94413
|
-
initialSearchTerm: I(
|
|
94414
|
-
() => e.initialSearchTerm
|
|
94415
|
-
),
|
|
94416
94404
|
selectedCategory: I(() => e.selectedCategory),
|
|
94417
94405
|
selectedTemplateId: I(
|
|
94418
94406
|
() => n.selectedTemplateId
|
|
@@ -94428,7 +94416,7 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94428
94416
|
};
|
|
94429
94417
|
},
|
|
94430
94418
|
data() {
|
|
94431
|
-
const { tabsWithTranslations: e } =
|
|
94419
|
+
const { tabsWithTranslations: e } = h8();
|
|
94432
94420
|
return {
|
|
94433
94421
|
tabs: e.map((t) => t.displayName),
|
|
94434
94422
|
debounceOnSearch: void 0,
|
|
@@ -94452,7 +94440,7 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94452
94440
|
computed: {
|
|
94453
94441
|
// typescript cannot resolve typing and throw TS4023
|
|
94454
94442
|
templates() {
|
|
94455
|
-
return
|
|
94443
|
+
return h8().templates;
|
|
94456
94444
|
},
|
|
94457
94445
|
isLoadMoreBtnEnabled() {
|
|
94458
94446
|
return this.isBusy || !this.pageCount ? !1 : this.pageNo < this.pageCount;
|
|
@@ -94484,11 +94472,9 @@ const Kie = /* @__PURE__ */ v(Sie, [["render", jie]]), Yie = 100, fk = n1({
|
|
|
94484
94472
|
}
|
|
94485
94473
|
},
|
|
94486
94474
|
async mounted() {
|
|
94487
|
-
this.pageCount ||
|
|
94488
|
-
searchTerm: this.searchTextValue
|
|
94489
|
-
})) : await this.templateSettingsStore.loadPageNo({
|
|
94475
|
+
this.pageCount || await this.templateSettingsStore.loadPageNo({
|
|
94490
94476
|
pageNo: mV
|
|
94491
|
-
})
|
|
94477
|
+
});
|
|
94492
94478
|
},
|
|
94493
94479
|
created() {
|
|
94494
94480
|
this.debounceOnSearch = $0e(this.setSearchText, 500);
|
|
@@ -94852,7 +94838,7 @@ const lre = /* @__PURE__ */ v(Xie, [["render", are], ["__scopeId", "data-v-88329
|
|
|
94852
94838
|
) : (i = this.logoImage) != null && i.logoDraftToken && (t = DL(t, this.logoImage)), this.personalisationData && (t = (await Yo(
|
|
94853
94839
|
this.personalisationData,
|
|
94854
94840
|
t
|
|
94855
|
-
)).model), t =
|
|
94841
|
+
)).model), t = X4(this.logoTheme, t).model, this.viewModel = await Y0(
|
|
94856
94842
|
t,
|
|
94857
94843
|
void 0,
|
|
94858
94844
|
!1
|
|
@@ -97148,7 +97134,7 @@ const kae = /* @__PURE__ */ v(_ae, [["render", Mae]]), Z9 = {
|
|
|
97148
97134
|
case Z9.backgroundShapeStyle:
|
|
97149
97135
|
return this.backgroundStyles.backgroundShapeStyle.color ?? "";
|
|
97150
97136
|
default:
|
|
97151
|
-
|
|
97137
|
+
J4();
|
|
97152
97138
|
}
|
|
97153
97139
|
};
|
|
97154
97140
|
},
|
|
@@ -97177,7 +97163,7 @@ const kae = /* @__PURE__ */ v(_ae, [["render", Mae]]), Z9 = {
|
|
|
97177
97163
|
);
|
|
97178
97164
|
return;
|
|
97179
97165
|
default:
|
|
97180
|
-
|
|
97166
|
+
J4();
|
|
97181
97167
|
}
|
|
97182
97168
|
}
|
|
97183
97169
|
);
|
|
@@ -97243,7 +97229,7 @@ const kae = /* @__PURE__ */ v(_ae, [["render", Mae]]), Z9 = {
|
|
|
97243
97229
|
});
|
|
97244
97230
|
return;
|
|
97245
97231
|
default:
|
|
97246
|
-
|
|
97232
|
+
J4();
|
|
97247
97233
|
}
|
|
97248
97234
|
},
|
|
97249
97235
|
onColorPickerInput(e, t) {
|
|
@@ -97274,7 +97260,7 @@ const kae = /* @__PURE__ */ v(_ae, [["render", Mae]]), Z9 = {
|
|
|
97274
97260
|
});
|
|
97275
97261
|
return;
|
|
97276
97262
|
default:
|
|
97277
|
-
|
|
97263
|
+
J4();
|
|
97278
97264
|
}
|
|
97279
97265
|
},
|
|
97280
97266
|
onBackgroundShapeSelected(e) {
|
|
@@ -97539,7 +97525,7 @@ function Yae(e, t, n, i, r, s) {
|
|
|
97539
97525
|
}
|
|
97540
97526
|
const Xae = /* @__PURE__ */ v(Eae, [["render", Yae]]), Jae = {
|
|
97541
97527
|
components: {
|
|
97542
|
-
HelloBar:
|
|
97528
|
+
HelloBar: L4,
|
|
97543
97529
|
ActionBar: DF1,
|
|
97544
97530
|
AdminBackgroundSettings: Xae,
|
|
97545
97531
|
BackgroundSettings: Qq1,
|
|
@@ -98088,8 +98074,8 @@ export {
|
|
|
98088
98074
|
Bc1 as a0,
|
|
98089
98075
|
lV as a1,
|
|
98090
98076
|
Q7 as a2,
|
|
98091
|
-
|
|
98092
|
-
|
|
98077
|
+
S4 as a3,
|
|
98078
|
+
F4 as a4,
|
|
98093
98079
|
T0 as a5,
|
|
98094
98080
|
b2 as a6,
|
|
98095
98081
|
X2 as a7,
|