@designcrowd/library.brand-page 5.18.1-undo-28 → 5.18.1-undo-29
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-CmaFdOwA.js → CreatedOnBrandCrowd-de-de-BxL6mTJW.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DYcx1zJ5.js → CreatedOnBrandCrowd-en-us-BPbjqfkj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BW-OyQM7.js → CreatedOnBrandCrowd-es-es-DDsoe143.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DDBKibOe.js → CreatedOnBrandCrowd-fr-ca-Dak7ppy_.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DDBKibOe.js → CreatedOnBrandCrowd-fr-fr-Dak7ppy_.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-6OSkxFgf.js → CreatedOnBrandCrowd-pt-br-BUAneEVD.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-6OSkxFgf.js → CreatedOnBrandCrowd-pt-pt-BUAneEVD.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Ds3pSY3b.js → CreatedOnDcom-de-de-BJ00bTz_.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-nu_xhm3W.js → CreatedOnDcom-en-us-B0V1M9Hs.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DeWd8xLJ.js → CreatedOnDcom-es-es-YDMLB7u6.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-C30UWAc7.js → CreatedOnDcom-fr-ca-DppQ26s1.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-ZFAi67Ii.js → CreatedOnDcom-fr-fr-0Xi-3slB.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Bvtz3TFZ.js → CreatedOnDcom-pt-br-De-wHqSu.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-Dr__mA4b.js → CreatedOnDcom-pt-pt-CQGAsn5D.js} +1 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +37 -4
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BBItimSg.js → lib-YRlMax_i.js} +683 -674
- package/package.json +1 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +46 -4
|
@@ -3319,7 +3319,7 @@ function tR(e, t, n, i, o, s) {
|
|
|
3319
3319
|
])) : k("", !0)
|
|
3320
3320
|
], 10, QN);
|
|
3321
3321
|
}
|
|
3322
|
-
const bh = /* @__PURE__ */ v(JN, [["render", tR]]),
|
|
3322
|
+
const bh = /* @__PURE__ */ v(JN, [["render", tR]]), p8 = {
|
|
3323
3323
|
InvokeByoUpload: "INVOKE_BYO_UPLOAD",
|
|
3324
3324
|
BeginUploadLogoExperience: "BEGIN_UPLOAD_LOGO_EXPERIENCE",
|
|
3325
3325
|
UploadLogoFileChanged: "UPLOAD_LOGO_FILE_CHANGED",
|
|
@@ -3473,7 +3473,7 @@ const bh = /* @__PURE__ */ v(JN, [["render", tR]]), u8 = {
|
|
|
3473
3473
|
},
|
|
3474
3474
|
showLoginModal() {
|
|
3475
3475
|
this.$refs.dropzone.removeAllFiles(), this.$emit("on-login-modal-open", Ww.UploadUserLogo), window.dispatchEvent(
|
|
3476
|
-
new CustomEvent(
|
|
3476
|
+
new CustomEvent(p8.ShowLoginModal, {
|
|
3477
3477
|
detail: {
|
|
3478
3478
|
isSave: !0,
|
|
3479
3479
|
regoSource: Ww.UploadUserLogo,
|
|
@@ -3597,11 +3597,11 @@ function rH(e, t) {
|
|
|
3597
3597
|
const { toString: uR } = Object.prototype, { getPrototypeOf: dg } = Object, Od = /* @__PURE__ */ ((e) => (t) => {
|
|
3598
3598
|
const n = uR.call(t);
|
|
3599
3599
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
3600
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
3600
|
+
})(/* @__PURE__ */ Object.create(null)), O9 = (e) => (e = e.toLowerCase(), (t) => Od(t) === e), $d = (e) => (t) => typeof t === e, { isArray: gn } = Array, Ri = $d("undefined");
|
|
3601
3601
|
function pR(e) {
|
|
3602
3602
|
return e !== null && !Ri(e) && e.constructor !== null && !Ri(e.constructor) && f6(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
3603
3603
|
}
|
|
3604
|
-
const aH =
|
|
3604
|
+
const aH = O9("ArrayBuffer");
|
|
3605
3605
|
function hR(e) {
|
|
3606
3606
|
let t;
|
|
3607
3607
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && aH(e.buffer), t;
|
|
@@ -3611,11 +3611,11 @@ const fR = $d("string"), f6 = $d("function"), lH = $d("number"), Dd = (e) => e !
|
|
|
3611
3611
|
return !1;
|
|
3612
3612
|
const t = dg(e);
|
|
3613
3613
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
3614
|
-
}, mR =
|
|
3614
|
+
}, mR = O9("Date"), yR = O9("File"), wR = O9("Blob"), bR = O9("FileList"), vR = (e) => Dd(e) && f6(e.pipe), SR = (e) => {
|
|
3615
3615
|
let t;
|
|
3616
3616
|
return e && (typeof FormData == "function" && e instanceof FormData || f6(e.append) && ((t = Od(e)) === "formdata" || // detect form-data instance
|
|
3617
3617
|
t === "object" && f6(e.toString) && e.toString() === "[object FormData]"));
|
|
3618
|
-
}, _R =
|
|
3618
|
+
}, _R = O9("URLSearchParams"), MR = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
3619
3619
|
function wo(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
3620
3620
|
if (e === null || typeof e > "u")
|
|
3621
3621
|
return;
|
|
@@ -3691,12 +3691,12 @@ const kR = (e, t, n, { allOwnKeys: i } = {}) => (wo(t, (o, s) => {
|
|
|
3691
3691
|
for (; (n = e.exec(t)) !== null; )
|
|
3692
3692
|
i.push(n);
|
|
3693
3693
|
return i;
|
|
3694
|
-
}, PR =
|
|
3694
|
+
}, PR = O9("HTMLFormElement"), BR = (e) => e.toLowerCase().replace(
|
|
3695
3695
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
3696
3696
|
function(n, i, o) {
|
|
3697
3697
|
return i.toUpperCase() + o;
|
|
3698
3698
|
}
|
|
3699
|
-
), Xw = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), OR =
|
|
3699
|
+
), Xw = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), OR = O9("RegExp"), uH = (e, t) => {
|
|
3700
3700
|
const n = Object.getOwnPropertyDescriptors(e), i = {};
|
|
3701
3701
|
wo(n, (o, s) => {
|
|
3702
3702
|
let r;
|
|
@@ -3756,7 +3756,7 @@ const UR = (e) => {
|
|
|
3756
3756
|
return i;
|
|
3757
3757
|
};
|
|
3758
3758
|
return n(e, 0);
|
|
3759
|
-
}, zR =
|
|
3759
|
+
}, zR = O9("AsyncFunction"), qR = (e) => e && (Dd(e) || f6(e)) && f6(e.then) && f6(e.catch), N1 = {
|
|
3760
3760
|
isArray: gn,
|
|
3761
3761
|
isArrayBuffer: aH,
|
|
3762
3762
|
isBuffer: pR,
|
|
@@ -3785,7 +3785,7 @@ const UR = (e) => {
|
|
|
3785
3785
|
inherits: TR,
|
|
3786
3786
|
toFlatObject: VR,
|
|
3787
3787
|
kindOf: Od,
|
|
3788
|
-
kindOfTest:
|
|
3788
|
+
kindOfTest: O9,
|
|
3789
3789
|
endsWith: HR,
|
|
3790
3790
|
toArray: xR,
|
|
3791
3791
|
forEachEntry: ER,
|
|
@@ -14006,12 +14006,12 @@ const Bc1 = /* @__PURE__ */ v(Vc1, [["render", Pc1]]), Oc1 = {
|
|
|
14006
14006
|
}
|
|
14007
14007
|
},
|
|
14008
14008
|
mounted() {
|
|
14009
|
-
window && window.addEventListener(
|
|
14009
|
+
window && window.addEventListener(p8.BeginUploadLogoExperience, (e) => {
|
|
14010
14010
|
this.onBeginUploadLogoExperience(e.detail.file);
|
|
14011
14011
|
});
|
|
14012
14012
|
},
|
|
14013
14013
|
beforeDestroy() {
|
|
14014
|
-
window.removeEventListener(
|
|
14014
|
+
window.removeEventListener(p8.BeginUploadLogoExperience, (e) => {
|
|
14015
14015
|
this.onBeginUploadLogoExperience(e.detail.file);
|
|
14016
14016
|
});
|
|
14017
14017
|
},
|
|
@@ -14036,7 +14036,7 @@ const Bc1 = /* @__PURE__ */ v(Vc1, [["render", Pc1]]), Oc1 = {
|
|
|
14036
14036
|
};
|
|
14037
14037
|
},
|
|
14038
14038
|
onFinish(e) {
|
|
14039
|
-
this.$emit("on-finish", e), window.dispatchEvent(new CustomEvent(
|
|
14039
|
+
this.$emit("on-finish", e), window.dispatchEvent(new CustomEvent(p8.UploadLogoSuccess)), this.reset();
|
|
14040
14040
|
},
|
|
14041
14041
|
onBack({ currentStepTrackingLabel: e }) {
|
|
14042
14042
|
this.$emit("on-back", { currentStepTrackingLabel: e });
|
|
@@ -14496,7 +14496,7 @@ function nC1() {
|
|
|
14496
14496
|
})(Ra)), Ra.exports;
|
|
14497
14497
|
}
|
|
14498
14498
|
var So = nC1();
|
|
14499
|
-
const EH = /* @__PURE__ */ X6(So),
|
|
14499
|
+
const EH = /* @__PURE__ */ X6(So), X9 = Object.freeze({
|
|
14500
14500
|
active: "Active",
|
|
14501
14501
|
pendingPreOnboarding: "PendingPreOnboarding",
|
|
14502
14502
|
pendingPostOnboarding: "PendingPostOnboarding",
|
|
@@ -14539,13 +14539,13 @@ const EH = /* @__PURE__ */ X6(So), Y9 = Object.freeze({
|
|
|
14539
14539
|
methods: {
|
|
14540
14540
|
getPaymentConfigStatusDisplayText(e) {
|
|
14541
14541
|
switch (e) {
|
|
14542
|
-
case
|
|
14542
|
+
case X9.pendingPreOnboarding:
|
|
14543
14543
|
return E0("onboardingIncomplete");
|
|
14544
|
-
case
|
|
14544
|
+
case X9.pendingPostOnboarding:
|
|
14545
14545
|
return E0("pendingVerification");
|
|
14546
|
-
case
|
|
14546
|
+
case X9.active:
|
|
14547
14547
|
return E0("connected");
|
|
14548
|
-
case
|
|
14548
|
+
case X9.unactivatedByCustomer:
|
|
14549
14549
|
return E0("inactive");
|
|
14550
14550
|
default:
|
|
14551
14551
|
return process.env.NODE_ENV !== "production" && console.warn(`Unsupported payment config status ${e}`), null;
|
|
@@ -14553,12 +14553,12 @@ const EH = /* @__PURE__ */ X6(So), Y9 = Object.freeze({
|
|
|
14553
14553
|
},
|
|
14554
14554
|
getPaymentConfigStatusDisplayClasses(e) {
|
|
14555
14555
|
switch (e) {
|
|
14556
|
-
case
|
|
14557
|
-
case
|
|
14556
|
+
case X9.pendingPreOnboarding:
|
|
14557
|
+
case X9.pendingPostOnboarding:
|
|
14558
14558
|
return "tw-bg-warning-500";
|
|
14559
|
-
case
|
|
14559
|
+
case X9.active:
|
|
14560
14560
|
return "tw-bg-success-500";
|
|
14561
|
-
case
|
|
14561
|
+
case X9.unactivatedByCustomer:
|
|
14562
14562
|
return "tw-bg-grayscale-600";
|
|
14563
14563
|
default:
|
|
14564
14564
|
return process.env.NODE_ENV !== "production" && console.warn(`Unsupported payment config status ${e}`), null;
|
|
@@ -14883,7 +14883,7 @@ const TC1 = /* @__PURE__ */ v(MC1, [["render", LC1]]), VC1 = {
|
|
|
14883
14883
|
if (e)
|
|
14884
14884
|
this.setSelectedPaymentConfig(e);
|
|
14885
14885
|
else if (this.paymentConfigs.length > 0) {
|
|
14886
|
-
const t = this.paymentConfigs.find((n) => n.status ===
|
|
14886
|
+
const t = this.paymentConfigs.find((n) => n.status === X9.active);
|
|
14887
14887
|
this.setSelectedPaymentConfig(t || this.paymentConfigs[0]);
|
|
14888
14888
|
}
|
|
14889
14889
|
} else
|
|
@@ -15681,7 +15681,7 @@ const cu1 = /* @__PURE__ */ v(au1, [["render", du1]]), Cu1 = {
|
|
|
15681
15681
|
onBuyNowClick(e) {
|
|
15682
15682
|
const t = e;
|
|
15683
15683
|
if (typeof this.domainSearchLocation < "u" && (t.domainSearchLocation = this.domainSearchLocation), this.$emit("on-buy-now-click"), window.dispatchEvent(
|
|
15684
|
-
new CustomEvent(
|
|
15684
|
+
new CustomEvent(p8.DomainSelectedEvent, {
|
|
15685
15685
|
detail: t
|
|
15686
15686
|
})
|
|
15687
15687
|
), this.isUserAuthenticated) {
|
|
@@ -15874,7 +15874,7 @@ const yu1 = /* @__PURE__ */ v(Cu1, [["render", mu1], ["__scopeId", "data-v-23dc1
|
|
|
15874
15874
|
},
|
|
15875
15875
|
methods: {
|
|
15876
15876
|
onLoadMoreDomains() {
|
|
15877
|
-
window.dispatchEvent(new CustomEvent(
|
|
15877
|
+
window.dispatchEvent(new CustomEvent(p8.DomainLoadMoreEvent)), this.domainNameItemsInView += this.domainNameItemsPerPage;
|
|
15878
15878
|
},
|
|
15879
15879
|
onBuyNowClick() {
|
|
15880
15880
|
this.$emit("on-buy-now-click");
|
|
@@ -16107,7 +16107,7 @@ const DH = /* @__PURE__ */ v(Vu1, [["render", Hu1], ["__scopeId", "data-v-550689
|
|
|
16107
16107
|
this.previousSearchText = this.searchText;
|
|
16108
16108
|
try {
|
|
16109
16109
|
const n = { keyword: t, isUserTriggered: e, userText: this.searchText };
|
|
16110
|
-
this.designDraftToken && (n.designDraftToken = this.designDraftToken), window.dispatchEvent(new CustomEvent(
|
|
16110
|
+
this.designDraftToken && (n.designDraftToken = this.designDraftToken), window.dispatchEvent(new CustomEvent(p8.DomainSearchEvent, { detail: n }));
|
|
16111
16111
|
const i = await mn.searchDomainNamesByKeywordAsync(n);
|
|
16112
16112
|
if (!i) {
|
|
16113
16113
|
this.domainNameItems = [];
|
|
@@ -16380,7 +16380,7 @@ const $u1 = /* @__PURE__ */ v(Pu1, [["render", Ou1]]), Du1 = "textChanged", Nu1
|
|
|
16380
16380
|
userText: e,
|
|
16381
16381
|
limit: this.domainNameSearchLimit
|
|
16382
16382
|
};
|
|
16383
|
-
this.designDraftToken && (i.designDraftToken = this.designDraftToken), this.domainNameSearchOrigin && (i.domainNameSearchOrigin = this.domainNameSearchOrigin), this.domainSearchLocation && (i.domainSearchLocation = this.domainSearchLocation), this.currentLocale && (i.locale = this.currentLocale), window.dispatchEvent(new CustomEvent(
|
|
16383
|
+
this.designDraftToken && (i.designDraftToken = this.designDraftToken), this.domainNameSearchOrigin && (i.domainNameSearchOrigin = this.domainNameSearchOrigin), this.domainSearchLocation && (i.domainSearchLocation = this.domainSearchLocation), this.currentLocale && (i.locale = this.currentLocale), window.dispatchEvent(new CustomEvent(p8.DomainSearchEvent, { detail: i }));
|
|
16384
16384
|
const o = await mn.searchDomainNamesByKeywordAsync(i);
|
|
16385
16385
|
if (!o) {
|
|
16386
16386
|
this.domainNameItems = [];
|
|
@@ -17582,7 +17582,7 @@ const Zp1 = /* @__PURE__ */ v(Vp1, [["render", Rp1]]), bb = {
|
|
|
17582
17582
|
this.searchText && (t = this.cleanText(this.searchText)), this.previousSearchText = this.searchText;
|
|
17583
17583
|
try {
|
|
17584
17584
|
const n = { keyword: t, isUserTriggered: e, userText: this.brandPageSlug };
|
|
17585
|
-
this.designDraftToken && (n.designDraftToken = this.designDraftToken), n.domainSearchLocation = this.sitePublishedModal, window.dispatchEvent(new CustomEvent(
|
|
17585
|
+
this.designDraftToken && (n.designDraftToken = this.designDraftToken), n.domainSearchLocation = this.sitePublishedModal, window.dispatchEvent(new CustomEvent(p8.DomainSearchEvent, { detail: n }));
|
|
17586
17586
|
const i = await mn.searchDomainNamesByKeywordAsync(n);
|
|
17587
17587
|
if (!i) {
|
|
17588
17588
|
this.domainNameItems = [];
|
|
@@ -17734,7 +17734,7 @@ function Jp1(e, t, n, i, o, s) {
|
|
|
17734
17734
|
}, null, 8, ["modelValue", "currency", "is-busy", "is-design-com", "domain-name-items", "previous-search-text", "visible", "domain-search-location", "onCloseModal"])
|
|
17735
17735
|
]);
|
|
17736
17736
|
}
|
|
17737
|
-
const Qp1 = /* @__PURE__ */ v(zp1, [["render", Jp1], ["__scopeId", "data-v-4357d611"]]),
|
|
17737
|
+
const Qp1 = /* @__PURE__ */ v(zp1, [["render", Jp1], ["__scopeId", "data-v-4357d611"]]), r8 = {
|
|
17738
17738
|
ContactForm: "ContactForm",
|
|
17739
17739
|
Videos: "Videos",
|
|
17740
17740
|
Maps: "Maps",
|
|
@@ -20871,7 +20871,7 @@ const HC = {
|
|
|
20871
20871
|
checkOverflow: cw1,
|
|
20872
20872
|
classes: lw1
|
|
20873
20873
|
}, xC = {};
|
|
20874
|
-
let fg = class
|
|
20874
|
+
let fg = class J9 {
|
|
20875
20875
|
constructor() {
|
|
20876
20876
|
let t, n;
|
|
20877
20877
|
for (var i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
@@ -20884,7 +20884,7 @@ let fg = class X9 {
|
|
|
20884
20884
|
const h = z5({}, n, {
|
|
20885
20885
|
el: u
|
|
20886
20886
|
});
|
|
20887
|
-
c.push(new
|
|
20887
|
+
c.push(new J9(h));
|
|
20888
20888
|
}), c;
|
|
20889
20889
|
}
|
|
20890
20890
|
const a = this;
|
|
@@ -21166,12 +21166,12 @@ let fg = class X9 {
|
|
|
21166
21166
|
return Hh;
|
|
21167
21167
|
}
|
|
21168
21168
|
static installModule(t) {
|
|
21169
|
-
|
|
21170
|
-
const n =
|
|
21169
|
+
J9.prototype.__modules__ || (J9.prototype.__modules__ = []);
|
|
21170
|
+
const n = J9.prototype.__modules__;
|
|
21171
21171
|
typeof t == "function" && n.indexOf(t) < 0 && n.push(t);
|
|
21172
21172
|
}
|
|
21173
21173
|
static use(t) {
|
|
21174
|
-
return Array.isArray(t) ? (t.forEach((n) =>
|
|
21174
|
+
return Array.isArray(t) ? (t.forEach((n) => J9.installModule(n)), J9) : (J9.installModule(t), J9);
|
|
21175
21175
|
}
|
|
21176
21176
|
};
|
|
21177
21177
|
Object.keys(HC).forEach((e) => {
|
|
@@ -24548,7 +24548,7 @@ const mg = /* @__PURE__ */ v(Mb1, [["render", Lb1], ["__scopeId", "data-v-4cd691
|
|
|
24548
24548
|
ns: vl,
|
|
24549
24549
|
...t
|
|
24550
24550
|
});
|
|
24551
|
-
}, U5 = (e) => d2(`model.${e}`), V2 = (e) => d2(`common.${e}`), sx = (e) => d2(`actionBar.${e}`), a6 = (e) => d2(`brandPageSettings.${e}`), Eb1 = (e) => d2(`colorPalette.${e}`), Q8 = (e) => d2(`navigation.${e}`), $3 = (e) => d2(`converter.${e}`), o4 = (e) => d2(`backgroundSettings.${e}`), Ih = (e) => d2(`colorPicker.${e}`), Ab1 = (e) => d2(`colorReplacementField.${e}`), $ = (e) => d2(`contentSettings.${e}`), jn = (e) => d2(`formFields.${e}`), Pb1 = (e) => d2(`genericTextInput.${e}`), Bb1 = (e) => d2(`imagesField.${e}`), Ob1 = (e) => d2(`linksField.${e}`), u9 = (e) => d2(`paymentConfig.${e}`), $b1 = (e) => d2(`shapeField.${e}`), Db1 = (e) => d2(`testimonialItemsField.${e}`), Nb1 = (e) => d2(`textField.${e}`), s4 = (e) => d2(`textImageField.${e}`), Rb1 = (e) => d2(`textItemsField.${e}`), ri = (e) => d2(`textStyleField.${e}`), Zb1 = (e) => d2(`textAreaField.${e}`), Fb1 = (e) => d2(`bookingUrlField.${e}`), Ub1 = (e) => d2(`productConfigOption.${e}`), Eh = (e) => d2(`editLogoSettings.${e}`), rx = (e, t = {}) => d2(`myUploadSettings.${e}`, t), nt = (e) => d2(`pageSettings.${e}`),
|
|
24551
|
+
}, U5 = (e) => d2(`model.${e}`), V2 = (e) => d2(`common.${e}`), sx = (e) => d2(`actionBar.${e}`), a6 = (e) => d2(`brandPageSettings.${e}`), Eb1 = (e) => d2(`colorPalette.${e}`), Q8 = (e) => d2(`navigation.${e}`), $3 = (e) => d2(`converter.${e}`), o4 = (e) => d2(`backgroundSettings.${e}`), Ih = (e) => d2(`colorPicker.${e}`), Ab1 = (e) => d2(`colorReplacementField.${e}`), $ = (e) => d2(`contentSettings.${e}`), jn = (e) => d2(`formFields.${e}`), Pb1 = (e) => d2(`genericTextInput.${e}`), Bb1 = (e) => d2(`imagesField.${e}`), Ob1 = (e) => d2(`linksField.${e}`), u9 = (e) => d2(`paymentConfig.${e}`), $b1 = (e) => d2(`shapeField.${e}`), Db1 = (e) => d2(`testimonialItemsField.${e}`), Nb1 = (e) => d2(`textField.${e}`), s4 = (e) => d2(`textImageField.${e}`), Rb1 = (e) => d2(`textItemsField.${e}`), ri = (e) => d2(`textStyleField.${e}`), Zb1 = (e) => d2(`textAreaField.${e}`), Fb1 = (e) => d2(`bookingUrlField.${e}`), Ub1 = (e) => d2(`productConfigOption.${e}`), Eh = (e) => d2(`editLogoSettings.${e}`), rx = (e, t = {}) => d2(`myUploadSettings.${e}`, t), nt = (e) => d2(`pageSettings.${e}`), a8 = (e) => d2(`templateSettings.${e}`), h5 = (e) => d2(`seoSettings.${e}`), K3 = (e) => d2(`styleSettingsSection.${e}`), L0 = (e, t = {}) => d2(`saveContactSettings.${e}`, t), AC = (e) => d2(`sensitiveContentSettings.${e}`), Ah = (e) => d2(`socialShare.${e}`), PC = (e) => d2(`cookieSettings.${e}`), z9 = (e) => d2(`googleAnalytics.${e}`), BC = (e) => d2(`colorField.${e}`), X5 = (e) => d2(`validator.${e}`), Z4 = (e) => d2(`constants.${e}`), xb = (e) => d2(`layoutSwitcher.${e}`), zb1 = (e) => d2(`brandpageBackgroundSettings.${e}`), Ib = (e) => d2(`loginMessage.${e}`), OC = (e) => d2(`cookie.${e}`), _s = (e) => d2(`logoSelectionSettings.${e}`), qb1 = (e) => d2(`googleAddressField.${e}`), Gb1 = (e) => d2(`myDesigns.${e}`), bi = (e) => d2(`pageSettings.${e}`), $C = (e) => d2(`shapeLibrary.${e}`), he = (e, t = {}) => d2(`error.${e}`, t), s0 = (e) => d2(`dropzoneUploader.${e}`), Ms = (e) => d2(`shop.${e}`), h7 = (e, t = {}) => d2(`payment.${e}`, t), z7 = (e, t = {}) => d2(`publishBrandPageModalWithState.${e}`, t), Wb1 = (e) => d2(`existingDomainModal.${e}`), Kn = (e) => d2(`uploadLogoModal.${e}`), q9 = (e, t = {}) => d2(`sensitiveContentModal.${e}`, t, !0), Mt = (e) => d2(`quickLinkBar.${e}`), ks = (e, t = {}) => d2(`brandPageFooter.${e}`, t), x3 = (e) => d2(`product.${e}`), jb1 = (e) => d2(`image.${e}`), Eb = (e) => d2(`map.${e}`), Ab = (e) => d2(`imagesSection.${e}`), Rd = (e) => d2(`imageGallery.${e}`), Kb1 = (e) => d2(`newPageModal.${e}`), DC = (e, t = {}) => d2(`personalisationOverride.${e}`, t), r0 = (e, t = {}) => d2(`paymentModal.${e}`, t), Yb1 = (e, t = {}) => d2(`mailingList.${e}`, t), Xb1 = (e, t = {}) => d2(`deletePageModal.${e}`, t), a0 = (e, t = {}) => d2(`deleteDomainModal.${e}`, t), P6 = (e, t = {}) => d2(`requestPaymentStripe.${e}`, t), q7 = (e, t = {}) => d2(`productDetailModal.${e}`, t), Jb1 = (e, t = {}) => d2(`video.${e}`, t), Qb1 = (e, t = {}) => d2(`confirmModal.${e}`, t), G8 = (e, t = {}) => d2(`videoLibrary.${e}`, t), Pb = (e, t = {}) => d2(`logoSwitchConfirmationModal.${e}`, t), NC = (e, t = {}) => d2(`logoTemplateSearchModal.${e}`, t), ax = (e, t = {}) => d2(`aiModal.${e}`, t), Ua = (e, t = {}) => d2(`saveContactWidget.${e}`, t), B6 = (e, t = {}) => d2(`paymentShippingAddress.${e}`, t), ev1 = () => Mo().t("countries", {
|
|
24552
24552
|
ns: vl,
|
|
24553
24553
|
returnObjects: !0
|
|
24554
24554
|
}), ai = () => {
|
|
@@ -26087,7 +26087,7 @@ const p1 = {
|
|
|
26087
26087
|
2: "2",
|
|
26088
26088
|
3: "3",
|
|
26089
26089
|
4: "4"
|
|
26090
|
-
}, Ct = "text-only", J5 = "left-aligned-full-image", S5 = "right-aligned-full-image", Ml = "alternate-image", G6 = "big-image",
|
|
26090
|
+
}, Ct = "text-only", J5 = "left-aligned-full-image", S5 = "right-aligned-full-image", Ml = "alternate-image", G6 = "big-image", x9 = "media-only", RC = "columns", zd = "100%", Bb = {
|
|
26091
26091
|
FULL_HD: "q=80&w=1080",
|
|
26092
26092
|
ULTRA_HD: "q=80&w=2160"
|
|
26093
26093
|
}, bn = "csrf-token", a2 = Object.freeze({
|
|
@@ -26118,7 +26118,7 @@ const p1 = {
|
|
|
26118
26118
|
}
|
|
26119
26119
|
}, dx = {
|
|
26120
26120
|
Stripe: "Stripe"
|
|
26121
|
-
},
|
|
26121
|
+
}, o8 = "Support Me Custom Amount", kv1 = "index", Oh = "slug", Ll = "slug-pageSlug", Vg = "slug-pageSlug-pageSlug2", Hg = /\/asset\/shape\?/g, F6 = {
|
|
26122
26122
|
LOGO_WITH_TRANSPARENT_BACKGROUND: 0,
|
|
26123
26123
|
LOGO_WITH_BACKGROUND: 1,
|
|
26124
26124
|
LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND: 2,
|
|
@@ -26705,7 +26705,7 @@ function Vv1() {
|
|
|
26705
26705
|
return z ? "Symbol(src)_1." + z : "";
|
|
26706
26706
|
})(), d1 = q1.toString, Y1 = O1.hasOwnProperty, u2 = O1.toString, g2 = RegExp(
|
|
26707
26707
|
"^" + d1.call(Y1).replace(l1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
26708
|
-
), oe = w1 ? X1.Buffer : void 0, q2 = X1.Symbol, Ee = X1.Uint8Array, M1 = U(Object.getPrototypeOf, Object), Z1 = Object.create, f2 = O1.propertyIsEnumerable, E2 = g1.splice, k1 = Object.getOwnPropertySymbols, s2 = oe ? oe.isBuffer : void 0, L1 = U(Object.keys, Object), I1 = B8(X1, "DataView"), r2 = B8(X1, "Map"), K2 = B8(X1, "Promise"), l2 = B8(X1, "Set"), c3 = B8(X1, "WeakMap"), b3 = B8(Object, "create"), m4 = i9(I1), O5 = i9(r2), Ge = i9(K2), q3 = i9(l2),
|
|
26708
|
+
), oe = w1 ? X1.Buffer : void 0, q2 = X1.Symbol, Ee = X1.Uint8Array, M1 = U(Object.getPrototypeOf, Object), Z1 = Object.create, f2 = O1.propertyIsEnumerable, E2 = g1.splice, k1 = Object.getOwnPropertySymbols, s2 = oe ? oe.isBuffer : void 0, L1 = U(Object.keys, Object), I1 = B8(X1, "DataView"), r2 = B8(X1, "Map"), K2 = B8(X1, "Promise"), l2 = B8(X1, "Set"), c3 = B8(X1, "WeakMap"), b3 = B8(Object, "create"), m4 = i9(I1), O5 = i9(r2), Ge = i9(K2), q3 = i9(l2), N9 = i9(c3), $5 = q2 ? q2.prototype : void 0, J4 = $5 ? $5.valueOf : void 0;
|
|
26709
26709
|
function Q4(z) {
|
|
26710
26710
|
var V1 = -1, D1 = z ? z.length : 0;
|
|
26711
26711
|
for (this.clear(); ++V1 < D1; ) {
|
|
@@ -26772,7 +26772,7 @@ function Vv1() {
|
|
|
26772
26772
|
this.set(A2[0], A2[1]);
|
|
26773
26773
|
}
|
|
26774
26774
|
}
|
|
26775
|
-
function
|
|
26775
|
+
function R9() {
|
|
26776
26776
|
this.__data__ = {
|
|
26777
26777
|
hash: new Q4(),
|
|
26778
26778
|
map: new (r2 || $4)(),
|
|
@@ -26791,8 +26791,8 @@ function Vv1() {
|
|
|
26791
26791
|
function f1(z, V1) {
|
|
26792
26792
|
return Wt(this, z).set(z, V1), this;
|
|
26793
26793
|
}
|
|
26794
|
-
D5.prototype.clear =
|
|
26795
|
-
function
|
|
26794
|
+
D5.prototype.clear = R9, D5.prototype.delete = R7, D5.prototype.get = x2, D5.prototype.has = o1, D5.prototype.set = f1;
|
|
26795
|
+
function _2(z) {
|
|
26796
26796
|
this.__data__ = new $4(z);
|
|
26797
26797
|
}
|
|
26798
26798
|
function De() {
|
|
@@ -26817,7 +26817,7 @@ function Vv1() {
|
|
|
26817
26817
|
}
|
|
26818
26818
|
return D1.set(z, V1), this;
|
|
26819
26819
|
}
|
|
26820
|
-
|
|
26820
|
+
_2.prototype.clear = De, _2.prototype.delete = v3, _2.prototype.get = G2, _2.prototype.has = Qe, _2.prototype.set = o3;
|
|
26821
26821
|
function H6(z, V1) {
|
|
26822
26822
|
var D1 = o9(z) || jt(z) ? B2(z.length, String) : [], A2 = D1.length, G3 = !!A2;
|
|
26823
26823
|
for (var N4 in z)
|
|
@@ -26848,7 +26848,7 @@ function Vv1() {
|
|
|
26848
26848
|
if (w4 = Fc(z), !V1)
|
|
26849
26849
|
return Xo(z, w4);
|
|
26850
26850
|
} else {
|
|
26851
|
-
var O8 =
|
|
26851
|
+
var O8 = Z9(z), rs = O8 == c || O8 == u;
|
|
26852
26852
|
if (jc(z))
|
|
26853
26853
|
return Bc(z, V1);
|
|
26854
26854
|
if (O8 == m || O8 == s || rs && !N4) {
|
|
@@ -26862,7 +26862,7 @@ function Vv1() {
|
|
|
26862
26862
|
w4 = zc(z, O8, N5, V1);
|
|
26863
26863
|
}
|
|
26864
26864
|
}
|
|
26865
|
-
x6 || (x6 = new
|
|
26865
|
+
x6 || (x6 = new _2());
|
|
26866
26866
|
var as = x6.get(z);
|
|
26867
26867
|
if (as)
|
|
26868
26868
|
return as;
|
|
@@ -26957,8 +26957,8 @@ function Vv1() {
|
|
|
26957
26957
|
var D1 = D2(z, V1);
|
|
26958
26958
|
return Ac(D1) ? D1 : void 0;
|
|
26959
26959
|
}
|
|
26960
|
-
var Jo = k1 ? U(k1, Object) : Kc,
|
|
26961
|
-
(I1 &&
|
|
26960
|
+
var Jo = k1 ? U(k1, Object) : Kc, Z9 = Ec;
|
|
26961
|
+
(I1 && Z9(new I1(new ArrayBuffer(1))) != x || r2 && Z9(new r2()) != h || K2 && Z9(K2.resolve()) != y || l2 && Z9(new l2()) != b || c3 && Z9(new c3()) != _) && (Z9 = function(z) {
|
|
26962
26962
|
var V1 = u2.call(z), D1 = V1 == m ? z.constructor : void 0, A2 = D1 ? i9(D1) : void 0;
|
|
26963
26963
|
if (A2)
|
|
26964
26964
|
switch (A2) {
|
|
@@ -26970,7 +26970,7 @@ function Vv1() {
|
|
|
26970
26970
|
return y;
|
|
26971
26971
|
case q3:
|
|
26972
26972
|
return b;
|
|
26973
|
-
case
|
|
26973
|
+
case N9:
|
|
26974
26974
|
return _;
|
|
26975
26975
|
}
|
|
26976
26976
|
return V1;
|
|
@@ -27163,7 +27163,7 @@ class ux {
|
|
|
27163
27163
|
...za.defaultButtonStyle,
|
|
27164
27164
|
backgroundColor: n == null ? void 0 : n.secondaryColor,
|
|
27165
27165
|
color: n == null ? void 0 : n.primaryColor,
|
|
27166
|
-
textStyleType: t ? void 0 :
|
|
27166
|
+
textStyleType: t ? void 0 : v2.buttons,
|
|
27167
27167
|
textAlign: ((i = t == null ? void 0 : t.defaultButtonStyle) == null ? void 0 : i.textAlign) || "left"
|
|
27168
27168
|
},
|
|
27169
27169
|
selectedButtonStyle: {
|
|
@@ -27191,12 +27191,12 @@ class M7 extends ux {
|
|
|
27191
27191
|
t = Ye(t), t.viewport = W1.mobile, typeof t.displayType > "u" && (t.displayType = B1.HAMBURGER_1), super(t, n);
|
|
27192
27192
|
}
|
|
27193
27193
|
}
|
|
27194
|
-
const
|
|
27194
|
+
const v2 = {
|
|
27195
27195
|
titles: "titles",
|
|
27196
27196
|
headings: "headings",
|
|
27197
27197
|
paragraphs: "paragraphs",
|
|
27198
27198
|
buttons: "buttons"
|
|
27199
|
-
},
|
|
27199
|
+
}, s8 = () => ({
|
|
27200
27200
|
titles: K3("titles"),
|
|
27201
27201
|
headings: K3("headings"),
|
|
27202
27202
|
paragraphs: K3("paragraphs"),
|
|
@@ -27222,28 +27222,28 @@ class a7 {
|
|
|
27222
27222
|
this.type = t, this.title = n, this.style = i.style || { ...ko }, this.isModified = i.isModified || !1;
|
|
27223
27223
|
}
|
|
27224
27224
|
}
|
|
27225
|
-
const px = () => new a7(
|
|
27225
|
+
const px = () => new a7(v2.titles, tv1, {
|
|
27226
27226
|
style: {
|
|
27227
27227
|
...ko,
|
|
27228
27228
|
fontSize: av1,
|
|
27229
27229
|
lineHeight: p3,
|
|
27230
27230
|
fontFamily: O2[W2].name
|
|
27231
27231
|
}
|
|
27232
|
-
}), hx = () => new a7(
|
|
27232
|
+
}), hx = () => new a7(v2.headings, nv1, {
|
|
27233
27233
|
style: {
|
|
27234
27234
|
...ko,
|
|
27235
27235
|
fontSize: wg,
|
|
27236
27236
|
lineHeight: P4,
|
|
27237
27237
|
fontFamily: O2[W2].name
|
|
27238
27238
|
}
|
|
27239
|
-
}), fx = () => new a7(
|
|
27239
|
+
}), fx = () => new a7(v2.paragraphs, iv1, {
|
|
27240
27240
|
style: {
|
|
27241
27241
|
...ko,
|
|
27242
27242
|
fontSize: V5,
|
|
27243
27243
|
lineHeight: Z2,
|
|
27244
27244
|
fontFamily: O2[W2].name
|
|
27245
27245
|
}
|
|
27246
|
-
}), gx = () => new a7(
|
|
27246
|
+
}), gx = () => new a7(v2.buttons, ov1, {
|
|
27247
27247
|
style: {
|
|
27248
27248
|
...ko,
|
|
27249
27249
|
fontSize: V5,
|
|
@@ -27251,10 +27251,10 @@ const px = () => new a7(b2.titles, tv1, {
|
|
|
27251
27251
|
fontFamily: O2[W2].name
|
|
27252
27252
|
}
|
|
27253
27253
|
}), xv1 = () => ({
|
|
27254
|
-
[
|
|
27255
|
-
[
|
|
27256
|
-
[
|
|
27257
|
-
[
|
|
27254
|
+
[v2.titles]: px(),
|
|
27255
|
+
[v2.headings]: hx(),
|
|
27256
|
+
[v2.paragraphs]: fx(),
|
|
27257
|
+
[v2.buttons]: gx()
|
|
27258
27258
|
});
|
|
27259
27259
|
class zi {
|
|
27260
27260
|
constructor(t = {}) {
|
|
@@ -27262,23 +27262,23 @@ class zi {
|
|
|
27262
27262
|
H1(this, "textFontFamily");
|
|
27263
27263
|
H1(this, "textStyleOptions");
|
|
27264
27264
|
this.style = t.style || {}, this.textFontFamily = t.textFontFamily || W2, this.textStyleOptions = t.textStyleOptions ? {
|
|
27265
|
-
[
|
|
27266
|
-
|
|
27265
|
+
[v2.titles]: new a7(
|
|
27266
|
+
v2.titles,
|
|
27267
27267
|
K3("titles"),
|
|
27268
27268
|
t.textStyleOptions.titles || px()
|
|
27269
27269
|
),
|
|
27270
|
-
[
|
|
27271
|
-
|
|
27270
|
+
[v2.headings]: new a7(
|
|
27271
|
+
v2.headings,
|
|
27272
27272
|
K3("headings"),
|
|
27273
27273
|
t.textStyleOptions.headings || hx()
|
|
27274
27274
|
),
|
|
27275
|
-
[
|
|
27276
|
-
|
|
27275
|
+
[v2.paragraphs]: new a7(
|
|
27276
|
+
v2.paragraphs,
|
|
27277
27277
|
K3("paragraphs"),
|
|
27278
27278
|
t.textStyleOptions.paragraphs || fx()
|
|
27279
27279
|
),
|
|
27280
|
-
[
|
|
27281
|
-
|
|
27280
|
+
[v2.buttons]: new a7(
|
|
27281
|
+
v2.buttons,
|
|
27282
27282
|
K3("buttons"),
|
|
27283
27283
|
t.textStyleOptions.buttons || gx()
|
|
27284
27284
|
)
|
|
@@ -27495,7 +27495,7 @@ const k7 = {
|
|
|
27495
27495
|
none: "none",
|
|
27496
27496
|
square: "square",
|
|
27497
27497
|
circle: "circle"
|
|
27498
|
-
},
|
|
27498
|
+
}, i8 = {
|
|
27499
27499
|
none: "none",
|
|
27500
27500
|
thin: "thin",
|
|
27501
27501
|
thick: "thick"
|
|
@@ -27594,7 +27594,7 @@ class bx {
|
|
|
27594
27594
|
this.viewport = t.viewport, this.backgroundStyle = t.backgroundStyle || {}, this.copyrightText = t.copyrightText ?? `© ${new Date(
|
|
27595
27595
|
Date.now()
|
|
27596
27596
|
).getFullYear()} by [Company Name]. All Rights Reserved.`, this.copyrightStyle = t.copyrightStyle || {
|
|
27597
|
-
textStyleType:
|
|
27597
|
+
textStyleType: v2.paragraphs,
|
|
27598
27598
|
textAlign: "center"
|
|
27599
27599
|
}, t.displayStyle ? this.displayStyle = t.displayStyle : this.displayStyle = t5.CENTERED, this.logoImageStyle = t.logoImageStyle || {}, this.logoImageUrl = t.logoImageUrl || "", this.logoDraftToken = t.logoDraftToken || "", this.logoVariation = t.logoVariation || 0, this.isLogoOptional = !0, this.isLogoVisible = t.isLogoVisible === void 0 ? !0 : t.isLogoVisible, this.logoImage = t.logoImage || {
|
|
27600
27600
|
...z6
|
|
@@ -28278,7 +28278,7 @@ function $v1() {
|
|
|
28278
28278
|
}
|
|
28279
28279
|
var Dv1 = $v1();
|
|
28280
28280
|
const w3 = /* @__PURE__ */ X6(Dv1), Dh = /^\s*(?:\d+px\s*)+\s(.+)$/i, qi = (e) => /^#([a-f0-9]{3}){1,2}$/i.test(e), Vo = (e) => /^(rgb).*/.test(e);
|
|
28281
|
-
function
|
|
28281
|
+
function m8(e, t = 1) {
|
|
28282
28282
|
let n = null;
|
|
28283
28283
|
if (qi(e))
|
|
28284
28284
|
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(
|
|
@@ -28291,7 +28291,7 @@ function g8(e, t = 1) {
|
|
|
28291
28291
|
function Nv1(e) {
|
|
28292
28292
|
return qi(e) || Vo(e);
|
|
28293
28293
|
}
|
|
28294
|
-
function
|
|
28294
|
+
function l8(e = []) {
|
|
28295
28295
|
if (!Array.isArray(e)) throw new Error("`colors` is not of type array");
|
|
28296
28296
|
return `linear-gradient(180deg, ${e.map((n, i) => `${n} ${i / e.length * 100}%`).join(", ")})`;
|
|
28297
28297
|
}
|
|
@@ -28639,7 +28639,7 @@ const m2 = {
|
|
|
28639
28639
|
hcg: { channels: 3, labels: ["h", "c", "g"] },
|
|
28640
28640
|
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
|
|
28641
28641
|
gray: { channels: 1, labels: ["gray"] }
|
|
28642
|
-
},
|
|
28642
|
+
}, h8 = (6 / 29) ** 3;
|
|
28643
28643
|
function F0(e) {
|
|
28644
28644
|
const t = e > 31308e-7 ? 1.055 * e ** 0.4166666666666667 - 0.055 : e * 12.92;
|
|
28645
28645
|
return Math.min(Math.max(0, t), 1);
|
|
@@ -28750,7 +28750,7 @@ m2.rgb.xyz = function(e) {
|
|
|
28750
28750
|
m2.rgb.lab = function(e) {
|
|
28751
28751
|
const t = m2.rgb.xyz(e);
|
|
28752
28752
|
let n = t[0], i = t[1], o = t[2];
|
|
28753
|
-
n /= 95.047, i /= 100, o /= 108.883, n = n >
|
|
28753
|
+
n /= 95.047, i /= 100, o /= 108.883, n = n > h8 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > h8 ? i ** (1 / 3) : 7.787 * i + 16 / 116, o = o > h8 ? o ** (1 / 3) : 7.787 * o + 16 / 116;
|
|
28754
28754
|
const s = 116 * i - 16, r = 500 * (n - i), a = 200 * (i - o);
|
|
28755
28755
|
return [s, r, a];
|
|
28756
28756
|
};
|
|
@@ -28849,7 +28849,7 @@ m2.xyz.rgb = function(e) {
|
|
|
28849
28849
|
};
|
|
28850
28850
|
m2.xyz.lab = function(e) {
|
|
28851
28851
|
let t = e[0], n = e[1], i = e[2];
|
|
28852
|
-
t /= 95.047, n /= 100, i /= 108.883, t = t >
|
|
28852
|
+
t /= 95.047, n /= 100, i /= 108.883, t = t > h8 ? t ** (1 / 3) : 7.787 * t + 16 / 116, n = n > h8 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > h8 ? i ** (1 / 3) : 7.787 * i + 16 / 116;
|
|
28853
28853
|
const o = 116 * n - 16, s = 500 * (t - n), r = 200 * (n - i);
|
|
28854
28854
|
return [o, s, r];
|
|
28855
28855
|
};
|
|
@@ -28876,7 +28876,7 @@ m2.lab.xyz = function(e) {
|
|
|
28876
28876
|
let o, s, r;
|
|
28877
28877
|
s = (t + 16) / 116, o = n / 500 + s, r = s - i / 200;
|
|
28878
28878
|
const a = s ** 3, l = o ** 3, d = r ** 3;
|
|
28879
|
-
return s = a >
|
|
28879
|
+
return s = a > h8 ? a : (s - 16 / 116) / 7.787, o = l > h8 ? l : (o - 16 / 116) / 7.787, r = d > h8 ? d : (r - 16 / 116) / 7.787, o *= 95.047, s *= 100, r *= 108.883, [o, s, r];
|
|
28880
28880
|
};
|
|
28881
28881
|
m2.lab.lch = function(e) {
|
|
28882
28882
|
const t = e[0], n = e[1], i = e[2];
|
|
@@ -29370,10 +29370,10 @@ const Uh = (e, t, n) => {
|
|
|
29370
29370
|
});
|
|
29371
29371
|
return i[0] * 0.2126 + i[1] * 0.7152 + i[2] * 0.0722;
|
|
29372
29372
|
}, Vl = (e, t) => {
|
|
29373
|
-
const n =
|
|
29373
|
+
const n = m8(e).replace(/[^\d,]/g, "").split(","), i = m8(t).replace(/[^\d,]/g, "").split(","), o = Uh(n[0], n[1], n[2]), s = Uh(i[0], i[1], i[2]);
|
|
29374
29374
|
return o > s ? (s + 0.05) / (o + 0.05) : (o + 0.05) / (s + 0.05);
|
|
29375
|
-
},
|
|
29376
|
-
Fv1(e) && (e =
|
|
29375
|
+
}, I9 = (e) => e.trim().substring(7, 9) === "00", Q0 = (e) => e.trim().substring(0, 7), Gi = (e) => `${Q0(e)}00`, zh = (e, t) => `${Q0(e)}${Math.round(t * 255).toString(16)}`, qh = (e, t) => {
|
|
29376
|
+
Fv1(e) && (e = m8(e));
|
|
29377
29377
|
const n = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d\.]+)\s*)?\)/i.exec(
|
|
29378
29378
|
e
|
|
29379
29379
|
);
|
|
@@ -29672,7 +29672,7 @@ function oS1() {
|
|
|
29672
29672
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
29673
29673
|
var R = b3(H, "rgb"), W = R[0], t1 = R[1], r1 = R[2], J = Math.min(W, t1, r1), y1 = Math.max(W, t1, r1), v1 = y1 - J, $1 = v1 * 100 / 255, K1 = J / (255 - v1) * 100, y2;
|
|
29674
29674
|
return v1 === 0 ? y2 = Number.NaN : (W === y1 && (y2 = (t1 - r1) / v1), t1 === y1 && (y2 = 2 + (r1 - W) / v1), r1 === y1 && (y2 = 4 + (W - t1) / v1), y2 *= 60, y2 < 0 && (y2 += 360)), [y2, $1, K1];
|
|
29675
|
-
}, O5 = m4, Ge = y.unpack, q3 = Math.floor,
|
|
29675
|
+
}, O5 = m4, Ge = y.unpack, q3 = Math.floor, N9 = function() {
|
|
29676
29676
|
for (var H, A, R, W, t1, r1, J = [], y1 = arguments.length; y1--; ) J[y1] = arguments[y1];
|
|
29677
29677
|
J = Ge(J, "hcg");
|
|
29678
29678
|
var v1 = J[0], $1 = J[1], K1 = J[2], y2, J1, H2;
|
|
@@ -29705,7 +29705,7 @@ function oS1() {
|
|
|
29705
29705
|
}
|
|
29706
29706
|
}
|
|
29707
29707
|
return [y2, J1, H2, J.length > 3 ? J[3] : 1];
|
|
29708
|
-
}, $5 =
|
|
29708
|
+
}, $5 = N9, J4 = y.unpack, Q4 = y.type, T8 = O, V8 = x, y4 = w, t6 = O5;
|
|
29709
29709
|
V8.prototype.hcg = function() {
|
|
29710
29710
|
return t6(this._rgb);
|
|
29711
29711
|
}, T8.hcg = function() {
|
|
@@ -29746,13 +29746,13 @@ function oS1() {
|
|
|
29746
29746
|
return [J, y1, v1, $1];
|
|
29747
29747
|
}
|
|
29748
29748
|
throw new Error("unknown hex color: " + H);
|
|
29749
|
-
},
|
|
29749
|
+
}, R9 = D5, R7 = O, x2 = x, o1 = y.type, f1 = w, _2 = D4;
|
|
29750
29750
|
x2.prototype.hex = function(H) {
|
|
29751
|
-
return
|
|
29751
|
+
return _2(this._rgb, H);
|
|
29752
29752
|
}, R7.hex = function() {
|
|
29753
29753
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
29754
29754
|
return new (Function.prototype.bind.apply(x2, [null].concat(H, ["hex"])))();
|
|
29755
|
-
}, f1.format.hex =
|
|
29755
|
+
}, f1.format.hex = R9, f1.autodetect.push({
|
|
29756
29756
|
p: 4,
|
|
29757
29757
|
test: function(H) {
|
|
29758
29758
|
for (var A = [], R = arguments.length - 1; R-- > 0; ) A[R] = arguments[R + 1];
|
|
@@ -29804,7 +29804,7 @@ function oS1() {
|
|
|
29804
29804
|
H = Zc(H, "rgb");
|
|
29805
29805
|
var R = H[0], W = H[1], t1 = H[2], r1 = Wt(R, W, t1), J = B8(R, W, t1), y1 = J - r1, v1, $1, K1;
|
|
29806
29806
|
return K1 = J / 255, J === 0 ? (v1 = Number.NaN, $1 = 0) : ($1 = y1 / J, R === J && (v1 = (W - t1) / y1), W === J && (v1 = 2 + (t1 - R) / y1), t1 === J && (v1 = 4 + (R - W) / y1), v1 *= 60, v1 < 0 && (v1 += 360)), [v1, $1, K1];
|
|
29807
|
-
},
|
|
29807
|
+
}, Z9 = Jo, Fc = y.unpack, Uc = Math.floor, zc = function() {
|
|
29808
29808
|
for (var H, A, R, W, t1, r1, J = [], y1 = arguments.length; y1--; ) J[y1] = arguments[y1];
|
|
29809
29809
|
J = Fc(J, "hsv");
|
|
29810
29810
|
var v1 = J[0], $1 = J[1], K1 = J[2], y2, J1, H2;
|
|
@@ -29835,7 +29835,7 @@ function oS1() {
|
|
|
29835
29835
|
}
|
|
29836
29836
|
}
|
|
29837
29837
|
return [y2, J1, H2, J.length > 3 ? J[3] : 1];
|
|
29838
|
-
}, qc = zc, Gc = y.unpack, Wc = y.type, Qo = O, i9 = x, es = w, ts =
|
|
29838
|
+
}, qc = zc, Gc = y.unpack, Wc = y.type, Qo = O, i9 = x, es = w, ts = Z9;
|
|
29839
29839
|
i9.prototype.hsv = function() {
|
|
29840
29840
|
return ts(this._rgb);
|
|
29841
29841
|
}, Qo.hsv = function() {
|
|
@@ -30097,7 +30097,7 @@ function oS1() {
|
|
|
30097
30097
|
whitesmoke: "#f5f5f5",
|
|
30098
30098
|
yellow: "#ffff00",
|
|
30099
30099
|
yellowgreen: "#9acd32"
|
|
30100
|
-
}, Dy = FO, UO = x, Ny = w, zO = y.type, Fn = Dy, qO =
|
|
30100
|
+
}, Dy = FO, UO = x, Ny = w, zO = y.type, Fn = Dy, qO = R9, GO = D4;
|
|
30101
30101
|
UO.prototype.name = function() {
|
|
30102
30102
|
for (var H = GO(this._rgb, "rgb"), A = 0, R = Object.keys(Fn); A < R.length; A += 1) {
|
|
30103
30103
|
var W = R[A];
|
|
@@ -30840,13 +30840,13 @@ function oS1() {
|
|
|
30840
30840
|
R8[n0] = [];
|
|
30841
30841
|
for (var i0 = 0; i0 < me; i0++)
|
|
30842
30842
|
ce = Te[i0], R8[ce].push(r1[i0]);
|
|
30843
|
-
for (var
|
|
30844
|
-
|
|
30845
|
-
|
|
30843
|
+
for (var U9 = [], F7 = 0; F7 < R; F7++)
|
|
30844
|
+
U9.push(R8[F7][0]), U9.push(R8[F7][R8[F7].length - 1]);
|
|
30845
|
+
U9 = U9.sort(function(gC, mC) {
|
|
30846
30846
|
return gC - mC;
|
|
30847
|
-
}), J.push(
|
|
30848
|
-
for (var zn = 1; zn <
|
|
30849
|
-
var U7 =
|
|
30847
|
+
}), J.push(U9[0]);
|
|
30848
|
+
for (var zn = 1; zn < U9.length; zn += 2) {
|
|
30849
|
+
var U7 = U9[zn];
|
|
30850
30850
|
!isNaN(U7) && J.indexOf(U7) === -1 && J.push(U7);
|
|
30851
30851
|
}
|
|
30852
30852
|
}
|
|
@@ -30855,7 +30855,7 @@ function oS1() {
|
|
|
30855
30855
|
H = new gw(H), A = new gw(A);
|
|
30856
30856
|
var R = H.luminance(), W = A.luminance();
|
|
30857
30857
|
return R > W ? (R + 0.05) / (W + 0.05) : (W + 0.05) / (R + 0.05);
|
|
30858
|
-
}, mw = x,
|
|
30858
|
+
}, mw = x, F9 = Math.sqrt, N3 = Math.pow, WD = Math.min, jD = Math.max, yw = Math.atan2, ww = Math.abs, hs = Math.cos, bw = Math.sin, KD = Math.exp, vw = Math.PI, YD = function(H, A, R, W, t1) {
|
|
30859
30859
|
R === void 0 && (R = 1), W === void 0 && (W = 1), t1 === void 0 && (t1 = 1);
|
|
30860
30860
|
var r1 = function(U7) {
|
|
30861
30861
|
return 360 * U7 / (2 * vw);
|
|
@@ -30863,9 +30863,9 @@ function oS1() {
|
|
|
30863
30863
|
return 2 * vw * U7 / 360;
|
|
30864
30864
|
};
|
|
30865
30865
|
H = new mw(H), A = new mw(A);
|
|
30866
|
-
var y1 = Array.from(H.lab()), v1 = y1[0], $1 = y1[1], K1 = y1[2], y2 = Array.from(A.lab()), J1 = y2[0], H2 = y2[1], T2 = y2[2], ce = (v1 + J1) / 2, me =
|
|
30867
|
-
Re = ww(Re) <= 180 ? Re : s3 <= v4 ? Re + 360 : Re - 360, Re = 2 *
|
|
30868
|
-
var We = J1 - v1, A6 = e2 - _e, N8 = 1 + 0.015 * N3(ce - 50, 2) /
|
|
30866
|
+
var y1 = Array.from(H.lab()), v1 = y1[0], $1 = y1[1], K1 = y1[2], y2 = Array.from(A.lab()), J1 = y2[0], H2 = y2[1], T2 = y2[2], ce = (v1 + J1) / 2, me = F9(N3($1, 2) + N3(K1, 2)), Te = F9(N3(H2, 2) + N3(T2, 2)), Ae = (me + Te) / 2, b4 = 0.5 * (1 - F9(N3(Ae, 7) / (N3(Ae, 7) + N3(25, 7)))), n4 = $1 * (1 + b4), C5 = H2 * (1 + b4), _e = F9(N3(n4, 2) + N3(K1, 2)), e2 = F9(N3(C5, 2) + N3(T2, 2)), F2 = (_e + e2) / 2, fe = r1(yw(K1, n4)), Ce = r1(yw(T2, C5)), v4 = fe >= 0 ? fe : fe + 360, s3 = Ce >= 0 ? Ce : Ce + 360, Ve = ww(v4 - s3) > 180 ? (v4 + s3 + 360) / 2 : (v4 + s3) / 2, Ne = 1 - 0.17 * hs(J(Ve - 30)) + 0.24 * hs(J(2 * Ve)) + 0.32 * hs(J(3 * Ve + 6)) - 0.2 * hs(J(4 * Ve - 63)), Re = s3 - v4;
|
|
30867
|
+
Re = ww(Re) <= 180 ? Re : s3 <= v4 ? Re + 360 : Re - 360, Re = 2 * F9(_e * e2) * bw(J(Re) / 2);
|
|
30868
|
+
var We = J1 - v1, A6 = e2 - _e, N8 = 1 + 0.015 * N3(ce - 50, 2) / F9(20 + N3(ce - 50, 2)), R8 = 1 + 0.045 * F2, n0 = 1 + 0.015 * F2 * Ne, i0 = 30 * KD(-N3((Ve - 275) / 25, 2)), U9 = 2 * F9(N3(F2, 7) / (N3(F2, 7) + N3(25, 7))), F7 = -U9 * bw(2 * J(i0)), zn = F9(N3(We / (R * N8), 2) + N3(A6 / (W * R8), 2) + N3(Re / (t1 * n0), 2) + F7 * (A6 / (W * R8)) * (Re / (t1 * n0)));
|
|
30869
30869
|
return jD(0, WD(100, zn));
|
|
30870
30870
|
}, Sw = x, XD = function(H, A, R) {
|
|
30871
30871
|
R === void 0 && (R = "lab"), H = new Sw(H), A = new Sw(A);
|
|
@@ -31085,10 +31085,10 @@ function _S1(e) {
|
|
|
31085
31085
|
D6(e, t) || (e[t] = null);
|
|
31086
31086
|
return e;
|
|
31087
31087
|
}
|
|
31088
|
-
function
|
|
31088
|
+
function Q9(e) {
|
|
31089
31089
|
const t = Ix(null);
|
|
31090
31090
|
for (const [n, i] of xx(e))
|
|
31091
|
-
D6(e, n) && (Array.isArray(i) ? t[n] = _S1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] =
|
|
31091
|
+
D6(e, n) && (Array.isArray(i) ? t[n] = _S1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Q9(i) : t[n] = i);
|
|
31092
31092
|
return t;
|
|
31093
31093
|
}
|
|
31094
31094
|
function Qn(e, t) {
|
|
@@ -31252,13 +31252,13 @@ function Px() {
|
|
|
31252
31252
|
let b3 = null;
|
|
31253
31253
|
const m4 = ["application/xhtml+xml", "text/html"], O5 = "text/html";
|
|
31254
31254
|
let Ge = null, q3 = null;
|
|
31255
|
-
const
|
|
31255
|
+
const N9 = n.createElement("form"), $5 = function(o1) {
|
|
31256
31256
|
return o1 instanceof RegExp || o1 instanceof Function;
|
|
31257
31257
|
}, J4 = function() {
|
|
31258
31258
|
let o1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
31259
31259
|
if (!(q3 && q3 === o1)) {
|
|
31260
|
-
if ((!o1 || typeof o1 != "object") && (o1 = {}), o1 =
|
|
31261
|
-
m4.indexOf(o1.PARSER_MEDIA_TYPE) === -1 ? O5 : o1.PARSER_MEDIA_TYPE, Ge = b3 === "application/xhtml+xml" ? UC : Ga, _1 = D6(o1, "ALLOWED_TAGS") ? ye({}, o1.ALLOWED_TAGS, Ge) : Q1, X1 = D6(o1, "ALLOWED_ATTR") ? ye({}, o1.ALLOWED_ATTR, Ge) : E1, I1 = D6(o1, "ALLOWED_NAMESPACES") ? ye({}, o1.ALLOWED_NAMESPACES, UC) : r2, M1 = D6(o1, "ADD_URI_SAFE_ATTR") ? ye(
|
|
31260
|
+
if ((!o1 || typeof o1 != "object") && (o1 = {}), o1 = Q9(o1), b3 = // eslint-disable-next-line unicorn/prefer-includes
|
|
31261
|
+
m4.indexOf(o1.PARSER_MEDIA_TYPE) === -1 ? O5 : o1.PARSER_MEDIA_TYPE, Ge = b3 === "application/xhtml+xml" ? UC : Ga, _1 = D6(o1, "ALLOWED_TAGS") ? ye({}, o1.ALLOWED_TAGS, Ge) : Q1, X1 = D6(o1, "ALLOWED_ATTR") ? ye({}, o1.ALLOWED_ATTR, Ge) : E1, I1 = D6(o1, "ALLOWED_NAMESPACES") ? ye({}, o1.ALLOWED_NAMESPACES, UC) : r2, M1 = D6(o1, "ADD_URI_SAFE_ATTR") ? ye(Q9(Z1), o1.ADD_URI_SAFE_ATTR, Ge) : Z1, q2 = D6(o1, "ADD_DATA_URI_TAGS") ? ye(Q9(Ee), o1.ADD_DATA_URI_TAGS, Ge) : Ee, g2 = D6(o1, "FORBID_CONTENTS") ? ye({}, o1.FORBID_CONTENTS, Ge) : oe, w1 = D6(o1, "FORBID_TAGS") ? ye({}, o1.FORBID_TAGS, Ge) : Q9({}), x1 = D6(o1, "FORBID_ATTR") ? ye({}, o1.FORBID_ATTR, Ge) : Q9({}), u2 = D6(o1, "USE_PROFILES") ? o1.USE_PROFILES : !1, U1 = o1.ALLOW_ARIA_ATTR !== !1, i2 = o1.ALLOW_DATA_ATTR !== !1, $2 = o1.ALLOW_UNKNOWN_PROTOCOLS || !1, p2 = o1.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B2 = o1.SAFE_FOR_TEMPLATES || !1, D2 = o1.SAFE_FOR_XML !== !1, P2 = o1.WHOLE_DOCUMENT || !1, X = o1.RETURN_DOM || !1, g1 = o1.RETURN_DOM_FRAGMENT || !1, q1 = o1.RETURN_TRUSTED_TYPE || !1, U = o1.FORCE_BODY || !1, O1 = o1.SANITIZE_DOM !== !1, G1 = o1.SANITIZE_NAMED_PROPS || !1, d1 = o1.KEEP_CONTENT !== !1, Y1 = o1.IN_PLACE || !1, G = o1.ALLOWED_URI_REGEXP || Ex, s2 = o1.NAMESPACE || k1, K2 = o1.MATHML_TEXT_INTEGRATION_POINTS || K2, l2 = o1.HTML_INTEGRATION_POINTS || l2, C1 = o1.CUSTOM_ELEMENT_HANDLING || {}, o1.CUSTOM_ELEMENT_HANDLING && $5(o1.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (C1.tagNameCheck = o1.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o1.CUSTOM_ELEMENT_HANDLING && $5(o1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (C1.attributeNameCheck = o1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o1.CUSTOM_ELEMENT_HANDLING && typeof o1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (C1.allowCustomizedBuiltInElements = o1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), B2 && (i2 = !1), g1 && (X = !0), u2 && (_1 = ye({}, Xb), X1 = [], u2.html === !0 && (ye(_1, Yb), ye(X1, Jb)), u2.svg === !0 && (ye(_1, zC), ye(X1, WC), ye(X1, Is)), u2.svgFilters === !0 && (ye(_1, qC), ye(X1, WC), ye(X1, Is)), u2.mathMl === !0 && (ye(_1, GC), ye(X1, Qb), ye(X1, Is))), o1.ADD_TAGS && (_1 === Q1 && (_1 = Q9(_1)), ye(_1, o1.ADD_TAGS, Ge)), o1.ADD_ATTR && (X1 === E1 && (X1 = Q9(X1)), ye(X1, o1.ADD_ATTR, Ge)), o1.ADD_URI_SAFE_ATTR && ye(M1, o1.ADD_URI_SAFE_ATTR, Ge), o1.FORBID_CONTENTS && (g2 === oe && (g2 = Q9(g2)), ye(g2, o1.FORBID_CONTENTS, Ge)), d1 && (_1["#text"] = !0), P2 && ye(_1, ["html", "head", "body"]), _1.table && (ye(_1, ["tbody"]), delete w1.tbody), o1.TRUSTED_TYPES_POLICY) {
|
|
31262
31262
|
if (typeof o1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
31263
31263
|
throw Jn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
31264
31264
|
if (typeof o1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -31274,8 +31274,8 @@ function Px() {
|
|
|
31274
31274
|
namespaceURI: s2,
|
|
31275
31275
|
tagName: "template"
|
|
31276
31276
|
});
|
|
31277
|
-
const
|
|
31278
|
-
return I1[o1.namespaceURI] ? o1.namespaceURI === E2 ? f1.namespaceURI === k1 ?
|
|
31277
|
+
const _2 = Ga(o1.tagName), De = Ga(f1.tagName);
|
|
31278
|
+
return I1[o1.namespaceURI] ? o1.namespaceURI === E2 ? f1.namespaceURI === k1 ? _2 === "svg" : f1.namespaceURI === f2 ? _2 === "svg" && (De === "annotation-xml" || K2[De]) : !!Q4[_2] : o1.namespaceURI === f2 ? f1.namespaceURI === k1 ? _2 === "math" : f1.namespaceURI === E2 ? _2 === "math" && l2[De] : !!T8[_2] : o1.namespaceURI === k1 ? f1.namespaceURI === E2 && !l2[De] || f1.namespaceURI === f2 && !K2[De] ? !1 : !T8[_2] && (c3[_2] || !Q4[_2]) : !!(b3 === "application/xhtml+xml" && I1[o1.namespaceURI]) : !1;
|
|
31279
31279
|
}, y4 = function(o1) {
|
|
31280
31280
|
Yn(t.removed, {
|
|
31281
31281
|
element: o1
|
|
@@ -31309,12 +31309,12 @@ function Px() {
|
|
|
31309
31309
|
} catch {
|
|
31310
31310
|
}
|
|
31311
31311
|
}, H8 = function(o1) {
|
|
31312
|
-
let f1 = null,
|
|
31312
|
+
let f1 = null, _2 = null;
|
|
31313
31313
|
if (U)
|
|
31314
31314
|
o1 = "<remove></remove>" + o1;
|
|
31315
31315
|
else {
|
|
31316
31316
|
const G2 = Kb(o1, /^[\r\n\t ]+/);
|
|
31317
|
-
|
|
31317
|
+
_2 = G2 && G2[0];
|
|
31318
31318
|
}
|
|
31319
31319
|
b3 === "application/xhtml+xml" && s2 === k1 && (o1 = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o1 + "</body></html>");
|
|
31320
31320
|
const De = _ ? _.createHTML(o1) : o1;
|
|
@@ -31331,7 +31331,7 @@ function Px() {
|
|
|
31331
31331
|
}
|
|
31332
31332
|
}
|
|
31333
31333
|
const v3 = f1.body || f1.documentElement;
|
|
31334
|
-
return o1 &&
|
|
31334
|
+
return o1 && _2 && v3.insertBefore(n.createTextNode(_2), v3.childNodes[0] || null), s2 === k1 ? Z.call(f1, P2 ? "html" : "body")[0] : P2 ? f1.documentElement : v3;
|
|
31335
31335
|
}, $4 = function(o1) {
|
|
31336
31336
|
return N.call(
|
|
31337
31337
|
o1.ownerDocument || o1,
|
|
@@ -31346,24 +31346,24 @@ function Px() {
|
|
|
31346
31346
|
return typeof a == "function" && o1 instanceof a;
|
|
31347
31347
|
};
|
|
31348
31348
|
function D4(x2, o1, f1) {
|
|
31349
|
-
xs(x2, (
|
|
31350
|
-
|
|
31349
|
+
xs(x2, (_2) => {
|
|
31350
|
+
_2.call(t, o1, f1, q3);
|
|
31351
31351
|
});
|
|
31352
31352
|
}
|
|
31353
31353
|
const I8 = function(o1) {
|
|
31354
31354
|
let f1 = null;
|
|
31355
31355
|
if (D4(K.beforeSanitizeElements, o1, null), n6(o1))
|
|
31356
31356
|
return y4(o1), !0;
|
|
31357
|
-
const
|
|
31357
|
+
const _2 = Ge(o1.nodeName);
|
|
31358
31358
|
if (D4(K.uponSanitizeElement, o1, {
|
|
31359
|
-
tagName:
|
|
31359
|
+
tagName: _2,
|
|
31360
31360
|
allowedTags: _1
|
|
31361
31361
|
}), D2 && o1.hasChildNodes() && !x8(o1.firstElementChild) && e5(/<[/\w!]/g, o1.innerHTML) && e5(/<[/\w!]/g, o1.textContent) || o1.nodeType === ei.progressingInstruction || D2 && o1.nodeType === ei.comment && e5(/<[/\w]/g, o1.data))
|
|
31362
31362
|
return y4(o1), !0;
|
|
31363
|
-
if (!_1[
|
|
31364
|
-
if (!w1[
|
|
31363
|
+
if (!_1[_2] || w1[_2]) {
|
|
31364
|
+
if (!w1[_2] && D5(_2) && (C1.tagNameCheck instanceof RegExp && e5(C1.tagNameCheck, _2) || C1.tagNameCheck instanceof Function && C1.tagNameCheck(_2)))
|
|
31365
31365
|
return !1;
|
|
31366
|
-
if (d1 && !g2[
|
|
31366
|
+
if (d1 && !g2[_2]) {
|
|
31367
31367
|
const De = M(o1) || o1.parentNode, v3 = S(o1) || o1.childNodes;
|
|
31368
31368
|
if (v3 && De) {
|
|
31369
31369
|
const G2 = v3.length;
|
|
@@ -31375,13 +31375,13 @@ function Px() {
|
|
|
31375
31375
|
}
|
|
31376
31376
|
return y4(o1), !0;
|
|
31377
31377
|
}
|
|
31378
|
-
return o1 instanceof l && !V8(o1) || (
|
|
31378
|
+
return o1 instanceof l && !V8(o1) || (_2 === "noscript" || _2 === "noembed" || _2 === "noframes") && e5(/<\/no(script|embed|frames)/i, o1.innerHTML) ? (y4(o1), !0) : (B2 && o1.nodeType === ei.text && (f1 = o1.textContent, xs([e1, Y, a1], (De) => {
|
|
31379
31379
|
f1 = Xn(f1, De, " ");
|
|
31380
31380
|
}), o1.textContent !== f1 && (Yn(t.removed, {
|
|
31381
31381
|
element: o1.cloneNode()
|
|
31382
31382
|
}), o1.textContent = f1)), D4(K.afterSanitizeElements, o1, null), !1);
|
|
31383
|
-
}, E8 = function(o1, f1,
|
|
31384
|
-
if (O1 && (f1 === "id" || f1 === "name") && (
|
|
31383
|
+
}, E8 = function(o1, f1, _2) {
|
|
31384
|
+
if (O1 && (f1 === "id" || f1 === "name") && (_2 in n || _2 in N9))
|
|
31385
31385
|
return !1;
|
|
31386
31386
|
if (!(i2 && !x1[f1] && e5(s1, f1))) {
|
|
31387
31387
|
if (!(U1 && e5(l1, f1))) {
|
|
@@ -31392,13 +31392,13 @@ function Px() {
|
|
|
31392
31392
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
31393
31393
|
!(D5(o1) && (C1.tagNameCheck instanceof RegExp && e5(C1.tagNameCheck, o1) || C1.tagNameCheck instanceof Function && C1.tagNameCheck(o1)) && (C1.attributeNameCheck instanceof RegExp && e5(C1.attributeNameCheck, f1) || C1.attributeNameCheck instanceof Function && C1.attributeNameCheck(f1)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
31394
31394
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
31395
|
-
f1 === "is" && C1.allowCustomizedBuiltInElements && (C1.tagNameCheck instanceof RegExp && e5(C1.tagNameCheck,
|
|
31395
|
+
f1 === "is" && C1.allowCustomizedBuiltInElements && (C1.tagNameCheck instanceof RegExp && e5(C1.tagNameCheck, _2) || C1.tagNameCheck instanceof Function && C1.tagNameCheck(_2)))
|
|
31396
31396
|
) return !1;
|
|
31397
31397
|
} else if (!M1[f1]) {
|
|
31398
|
-
if (!e5(G, Xn(
|
|
31399
|
-
if (!((f1 === "src" || f1 === "xlink:href" || f1 === "href") && o1 !== "script" && bS1(
|
|
31400
|
-
if (!($2 && !e5(j, Xn(
|
|
31401
|
-
if (
|
|
31398
|
+
if (!e5(G, Xn(_2, q, ""))) {
|
|
31399
|
+
if (!((f1 === "src" || f1 === "xlink:href" || f1 === "href") && o1 !== "script" && bS1(_2, "data:") === 0 && q2[o1])) {
|
|
31400
|
+
if (!($2 && !e5(j, Xn(_2, q, "")))) {
|
|
31401
|
+
if (_2)
|
|
31402
31402
|
return !1;
|
|
31403
31403
|
}
|
|
31404
31404
|
}
|
|
@@ -31409,14 +31409,14 @@ function Px() {
|
|
|
31409
31409
|
return !0;
|
|
31410
31410
|
}, D5 = function(o1) {
|
|
31411
31411
|
return o1 !== "annotation-xml" && Kb(o1, n1);
|
|
31412
|
-
},
|
|
31412
|
+
}, R9 = function(o1) {
|
|
31413
31413
|
D4(K.beforeSanitizeAttributes, o1, null);
|
|
31414
31414
|
const {
|
|
31415
31415
|
attributes: f1
|
|
31416
31416
|
} = o1;
|
|
31417
31417
|
if (!f1 || n6(o1))
|
|
31418
31418
|
return;
|
|
31419
|
-
const
|
|
31419
|
+
const _2 = {
|
|
31420
31420
|
attrName: "",
|
|
31421
31421
|
attrValue: "",
|
|
31422
31422
|
keepAttr: !0,
|
|
@@ -31431,13 +31431,13 @@ function Px() {
|
|
|
31431
31431
|
value: o3
|
|
31432
31432
|
} = v3, H6 = Ge(G2), c5 = o3;
|
|
31433
31433
|
let Xe = G2 === "value" ? c5 : vS1(c5);
|
|
31434
|
-
if (
|
|
31434
|
+
if (_2.attrName = H6, _2.attrValue = Xe, _2.keepAttr = !0, _2.forceKeepAttr = void 0, D4(K.uponSanitizeAttribute, o1, _2), Xe = _2.attrValue, G1 && (H6 === "id" || H6 === "name") && (t6(G2, o1), Xe = P1 + Xe), D2 && e5(/((--!?|])>)|<\/(style|title)/i, Xe)) {
|
|
31435
31435
|
t6(G2, o1);
|
|
31436
31436
|
continue;
|
|
31437
31437
|
}
|
|
31438
|
-
if (
|
|
31438
|
+
if (_2.forceKeepAttr)
|
|
31439
31439
|
continue;
|
|
31440
|
-
if (!
|
|
31440
|
+
if (!_2.keepAttr) {
|
|
31441
31441
|
t6(G2, o1);
|
|
31442
31442
|
continue;
|
|
31443
31443
|
}
|
|
@@ -31474,13 +31474,13 @@ function Px() {
|
|
|
31474
31474
|
D4(K.afterSanitizeAttributes, o1, null);
|
|
31475
31475
|
}, R7 = function x2(o1) {
|
|
31476
31476
|
let f1 = null;
|
|
31477
|
-
const
|
|
31478
|
-
for (D4(K.beforeSanitizeShadowDOM, o1, null); f1 =
|
|
31479
|
-
D4(K.uponSanitizeShadowNode, f1, null), I8(f1),
|
|
31477
|
+
const _2 = $4(o1);
|
|
31478
|
+
for (D4(K.beforeSanitizeShadowDOM, o1, null); f1 = _2.nextNode(); )
|
|
31479
|
+
D4(K.uponSanitizeShadowNode, f1, null), I8(f1), R9(f1), f1.content instanceof s && x2(f1.content);
|
|
31480
31480
|
D4(K.afterSanitizeShadowDOM, o1, null);
|
|
31481
31481
|
};
|
|
31482
31482
|
return t.sanitize = function(x2) {
|
|
31483
|
-
let o1 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f1 = null,
|
|
31483
|
+
let o1 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f1 = null, _2 = null, De = null, v3 = null;
|
|
31484
31484
|
if (L1 = !x2, L1 && (x2 = "<!-->"), typeof x2 != "string" && !x8(x2))
|
|
31485
31485
|
if (typeof x2.toString == "function") {
|
|
31486
31486
|
if (x2 = x2.toString(), typeof x2 != "string")
|
|
@@ -31496,7 +31496,7 @@ function Px() {
|
|
|
31496
31496
|
throw Jn("root node is forbidden and cannot be sanitized in-place");
|
|
31497
31497
|
}
|
|
31498
31498
|
} else if (x2 instanceof a)
|
|
31499
|
-
f1 = H8("<!---->"),
|
|
31499
|
+
f1 = H8("<!---->"), _2 = f1.ownerDocument.importNode(x2, !0), _2.nodeType === ei.element && _2.nodeName === "BODY" || _2.nodeName === "HTML" ? f1 = _2 : f1.appendChild(_2);
|
|
31500
31500
|
else {
|
|
31501
31501
|
if (!X && !B2 && !P2 && // eslint-disable-next-line unicorn/prefer-includes
|
|
31502
31502
|
x2.indexOf("<") === -1)
|
|
@@ -31507,7 +31507,7 @@ function Px() {
|
|
|
31507
31507
|
f1 && U && y4(f1.firstChild);
|
|
31508
31508
|
const G2 = $4(Y1 ? x2 : f1);
|
|
31509
31509
|
for (; De = G2.nextNode(); )
|
|
31510
|
-
I8(De),
|
|
31510
|
+
I8(De), R9(De), De.content instanceof s && R7(De.content);
|
|
31511
31511
|
if (Y1)
|
|
31512
31512
|
return x2;
|
|
31513
31513
|
if (X) {
|
|
@@ -31530,8 +31530,8 @@ function Px() {
|
|
|
31530
31530
|
q3 = null, Q2 = !1;
|
|
31531
31531
|
}, t.isValidAttribute = function(x2, o1, f1) {
|
|
31532
31532
|
q3 || J4({});
|
|
31533
|
-
const
|
|
31534
|
-
return E8(
|
|
31533
|
+
const _2 = Ge(x2), De = Ge(o1);
|
|
31534
|
+
return E8(_2, De, f1);
|
|
31535
31535
|
}, t.addHook = function(x2, o1) {
|
|
31536
31536
|
typeof o1 == "function" && Yn(K[x2], o1);
|
|
31537
31537
|
}, t.removeHook = function(x2, o1) {
|
|
@@ -32079,7 +32079,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32079
32079
|
if (e && typeof e == "object")
|
|
32080
32080
|
return {
|
|
32081
32081
|
rgb: r3(e.colorStops[0].color),
|
|
32082
|
-
gradient:
|
|
32082
|
+
gradient: l8(
|
|
32083
32083
|
e.colorStops.map((n) => n.color)
|
|
32084
32084
|
),
|
|
32085
32085
|
...ji(e.colorStops[0].color)
|
|
@@ -32115,11 +32115,11 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32115
32115
|
e,
|
|
32116
32116
|
n.logoBackgroundColor
|
|
32117
32117
|
), { cssValue: t, isModified: !0 }) : { cssValue: t, isModified: !1 };
|
|
32118
|
-
},
|
|
32118
|
+
}, y8 = (e, t, n, i) => {
|
|
32119
32119
|
let o = !1, s = {};
|
|
32120
32120
|
if (Array.isArray(n))
|
|
32121
32121
|
s = n.map((r) => {
|
|
32122
|
-
const l =
|
|
32122
|
+
const l = y8(
|
|
32123
32123
|
e,
|
|
32124
32124
|
t,
|
|
32125
32125
|
r,
|
|
@@ -32144,7 +32144,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32144
32144
|
);
|
|
32145
32145
|
s[r] = d.cssValue, o = o || d.isModified;
|
|
32146
32146
|
} else if (typeof a == "object") {
|
|
32147
|
-
const l =
|
|
32147
|
+
const l = y8(
|
|
32148
32148
|
e,
|
|
32149
32149
|
r,
|
|
32150
32150
|
a
|
|
@@ -32182,7 +32182,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32182
32182
|
} else
|
|
32183
32183
|
o[s] = r;
|
|
32184
32184
|
else if (r != null && typeof r == "object") {
|
|
32185
|
-
const a =
|
|
32185
|
+
const a = y8(
|
|
32186
32186
|
e,
|
|
32187
32187
|
s,
|
|
32188
32188
|
r
|
|
@@ -32203,7 +32203,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32203
32203
|
if (typeof r == "string" || typeof r == "boolean" || typeof r == "number")
|
|
32204
32204
|
o[s] = r;
|
|
32205
32205
|
else {
|
|
32206
|
-
const a =
|
|
32206
|
+
const a = y8(
|
|
32207
32207
|
e,
|
|
32208
32208
|
s,
|
|
32209
32209
|
r
|
|
@@ -32223,7 +32223,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32223
32223
|
if (typeof r == "string" || typeof r == "boolean" || typeof r == "number")
|
|
32224
32224
|
o[s] = r;
|
|
32225
32225
|
else {
|
|
32226
|
-
const a =
|
|
32226
|
+
const a = y8(
|
|
32227
32227
|
e,
|
|
32228
32228
|
s,
|
|
32229
32229
|
r
|
|
@@ -32251,7 +32251,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32251
32251
|
([c]) => !!t_1.find((u) => c.endsWith(u)) || Array.isArray(r[c])
|
|
32252
32252
|
).filter(([, c]) => typeof c == "object").map(([c]) => c);
|
|
32253
32253
|
for (const c of l) {
|
|
32254
|
-
const { newStyle: u, isApplied: h } =
|
|
32254
|
+
const { newStyle: u, isApplied: h } = y8(
|
|
32255
32255
|
e,
|
|
32256
32256
|
c,
|
|
32257
32257
|
r[c]
|
|
@@ -32309,7 +32309,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32309
32309
|
for (const [r, a] of Object.entries(t))
|
|
32310
32310
|
if (Array.isArray(a))
|
|
32311
32311
|
for (let l = 0; l < a.length; l++) {
|
|
32312
|
-
const d =
|
|
32312
|
+
const d = y8(
|
|
32313
32313
|
e,
|
|
32314
32314
|
"pageStyles",
|
|
32315
32315
|
a[l]
|
|
@@ -32317,7 +32317,7 @@ const jS1 = () => (KC || (KC = OS1), KC), KS1 = (e) => XS1(e, jS1()), YS1 = (e)
|
|
|
32317
32317
|
i[r] = d.newStyle, n = n || d.isApplied;
|
|
32318
32318
|
}
|
|
32319
32319
|
else {
|
|
32320
|
-
const l =
|
|
32320
|
+
const l = y8(
|
|
32321
32321
|
e,
|
|
32322
32322
|
r,
|
|
32323
32323
|
a
|
|
@@ -33243,7 +33243,7 @@ const Yu = /* @__PURE__ */ X6(K_1), zx = (e) => {
|
|
|
33243
33243
|
}, Rg = (e, t, n, i) => {
|
|
33244
33244
|
var a, l;
|
|
33245
33245
|
let o;
|
|
33246
|
-
(a = e.backgroundStyle) != null && a.background &&
|
|
33246
|
+
(a = e.backgroundStyle) != null && a.background && I9(e.backgroundStyle.background) ? o = void 0 : o = ((l = e.backgroundStyle) == null ? void 0 : l.background) || t.backgroundStyle.background;
|
|
33247
33247
|
const s = e.imageStyle || {};
|
|
33248
33248
|
!s.width && !t.imageStyle.width && (i != null && i.width) && (i != null && i.height) && (s.width = i.width, s.height = i.height);
|
|
33249
33249
|
const r = {
|
|
@@ -33327,7 +33327,7 @@ const Yu = /* @__PURE__ */ X6(K_1), zx = (e) => {
|
|
|
33327
33327
|
}, iI = (e, t) => {
|
|
33328
33328
|
var a, l, d, c, u, h, g, m;
|
|
33329
33329
|
const n = ((a = e.backgroundColor) == null ? void 0 : a.background) || ((l = e.backgroundColor) == null ? void 0 : l.backgroundColor);
|
|
33330
|
-
let i = n && !
|
|
33330
|
+
let i = n && !I9(n) ? {
|
|
33331
33331
|
...t.buttonStyles.style,
|
|
33332
33332
|
backgroundColor: n,
|
|
33333
33333
|
paddingTop: tM1
|
|
@@ -33361,7 +33361,7 @@ const Yu = /* @__PURE__ */ X6(K_1), zx = (e) => {
|
|
|
33361
33361
|
}, oI = (e, t, n) => {
|
|
33362
33362
|
var c, u;
|
|
33363
33363
|
const i = ((c = e.backgroundColor) == null ? void 0 : c.background) || ((u = e.backgroundColor) == null ? void 0 : u.backgroundColor);
|
|
33364
|
-
let o = i && !
|
|
33364
|
+
let o = i && !I9(i) ? {
|
|
33365
33365
|
...t.buttonStyles.style,
|
|
33366
33366
|
backgroundColor: i
|
|
33367
33367
|
} : void 0;
|
|
@@ -34102,7 +34102,7 @@ const Yu = /* @__PURE__ */ X6(K_1), zx = (e) => {
|
|
|
34102
34102
|
}, I5 = (e) => e.replace(
|
|
34103
34103
|
new RegExp(`(${Zt}|\\n)`, "g"),
|
|
34104
34104
|
"<br/>"
|
|
34105
|
-
),
|
|
34105
|
+
), w8 = (e) => e && e.replace(/(<([^>]+)>)/gi, "").replace(/(\r\n|\r|\n)/g, Zt), Yi = (e) => e.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&"), pI = (e) => Yi(
|
|
34106
34106
|
e.replace(new RegExp(`${Zt}`, "g"), `
|
|
34107
34107
|
`)
|
|
34108
34108
|
), rf = (e) => e && e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/(\r\n|\r|\n)/g, Zt);
|
|
@@ -38583,7 +38583,7 @@ function Xk1() {
|
|
|
38583
38583
|
Object.defineProperty(t, "__esModule", {
|
|
38584
38584
|
value: !0
|
|
38585
38585
|
}), t.default = void 0;
|
|
38586
|
-
var i = f1(/* @__PURE__ */ Fg()), o = f1(/* @__PURE__ */ fI()), s = f1(/* @__PURE__ */ LM1()), r = f1(/* @__PURE__ */ TM1()), a = f1(/* @__PURE__ */ VM1()), l = f1(/* @__PURE__ */ HM1()), d = f1(/* @__PURE__ */ xM1()), c = f1(/* @__PURE__ */ yI()), u = f1(/* @__PURE__ */ wI()), h = f1(/* @__PURE__ */ IM1()), g = f1(/* @__PURE__ */ ic()), m = f1(/* @__PURE__ */ EM1()), y = f1(/* @__PURE__ */ Ug()), w = f1(/* @__PURE__ */ bI()), b = f1(/* @__PURE__ */ AM1()), S = f1(/* @__PURE__ */ PM1()), M = f1(/* @__PURE__ */ BM1()), _ = o1(/* @__PURE__ */ OM1()), V = o1(/* @__PURE__ */ $M1()), x = f1(/* @__PURE__ */ DM1()), N = f1(/* @__PURE__ */ NM1()), O = f1(/* @__PURE__ */ RM1()), Z = f1(/* @__PURE__ */ ZM1()), F = f1(/* @__PURE__ */ FM1()), K = f1(/* @__PURE__ */ UM1()), e1 = f1(/* @__PURE__ */ zM1()), Y = f1(/* @__PURE__ */ vI()), a1 = f1(/* @__PURE__ */ SI()), s1 = f1(/* @__PURE__ */ qM1()), l1 = f1(/* @__PURE__ */ GM1()), j = f1(/* @__PURE__ */ jM1()), q = f1(/* @__PURE__ */ KM1()), n1 = f1(/* @__PURE__ */ zg()), G = o1(/* @__PURE__ */ hI()), _1 = f1(/* @__PURE__ */ XM1()), Q1 = f1(/* @__PURE__ */ _I()), X1 = f1(/* @__PURE__ */ JM1()), E1 = f1(/* @__PURE__ */ QM1()), C1 = f1(/* @__PURE__ */ Sx()), w1 = f1(/* @__PURE__ */ ek1()), x1 = f1(/* @__PURE__ */ tk1()), U1 = f1(/* @__PURE__ */ nk1()), i2 = o1(/* @__PURE__ */ ik1()), $2 = f1(/* @__PURE__ */ ok1()), p2 = f1(/* @__PURE__ */ sk1()), B2 = f1(/* @__PURE__ */ rk1()), D2 = f1(/* @__PURE__ */ ak1()), P2 = f1(/* @__PURE__ */ lk1()), Q2 = f1(/* @__PURE__ */ dk1()), U = f1(/* @__PURE__ */ ck1()), X = f1(/* @__PURE__ */ mI()), g1 = f1(/* @__PURE__ */ Ck1()), q1 = f1(/* @__PURE__ */ uk1()), O1 = f1(/* @__PURE__ */ pk1()), G1 = f1(/* @__PURE__ */ hk1()), P1 = f1(/* @__PURE__ */ fk1()), d1 = f1(/* @__PURE__ */ LI()), Y1 = f1(/* @__PURE__ */ gk1()), u2 = f1(/* @__PURE__ */ mk1()), g2 = f1(/* @__PURE__ */ yk1()), oe = f1(/* @__PURE__ */ wk1()), q2 = f1(/* @__PURE__ */ bk1()), Ee = f1(/* @__PURE__ */ vk1()), M1 = f1(/* @__PURE__ */ Sk1()), Z1 = o1(/* @__PURE__ */ _k1()), f2 = f1(/* @__PURE__ */ Mk1()), E2 = f1(/* @__PURE__ */ kk1()), k1 = f1(/* @__PURE__ */ Lk1()), s2 = /* @__PURE__ */ Tk1(), L1 = f1(/* @__PURE__ */ Vk1()), I1 = f1(/* @__PURE__ */ Hk1()), r2 = f1(/* @__PURE__ */ xk1()), K2 = f1(/* @__PURE__ */ MI()), l2 = f1(/* @__PURE__ */ Ik1()), c3 = f1(/* @__PURE__ */ Ek1()), b3 = f1(/* @__PURE__ */ Ak1()), m4 = f1(/* @__PURE__ */ Pk1()), O5 = f1(/* @__PURE__ */ kI()), Ge = f1(/* @__PURE__ */ Bk1()), q3 = f1(/* @__PURE__ */ Ok1()),
|
|
38586
|
+
var i = f1(/* @__PURE__ */ Fg()), o = f1(/* @__PURE__ */ fI()), s = f1(/* @__PURE__ */ LM1()), r = f1(/* @__PURE__ */ TM1()), a = f1(/* @__PURE__ */ VM1()), l = f1(/* @__PURE__ */ HM1()), d = f1(/* @__PURE__ */ xM1()), c = f1(/* @__PURE__ */ yI()), u = f1(/* @__PURE__ */ wI()), h = f1(/* @__PURE__ */ IM1()), g = f1(/* @__PURE__ */ ic()), m = f1(/* @__PURE__ */ EM1()), y = f1(/* @__PURE__ */ Ug()), w = f1(/* @__PURE__ */ bI()), b = f1(/* @__PURE__ */ AM1()), S = f1(/* @__PURE__ */ PM1()), M = f1(/* @__PURE__ */ BM1()), _ = o1(/* @__PURE__ */ OM1()), V = o1(/* @__PURE__ */ $M1()), x = f1(/* @__PURE__ */ DM1()), N = f1(/* @__PURE__ */ NM1()), O = f1(/* @__PURE__ */ RM1()), Z = f1(/* @__PURE__ */ ZM1()), F = f1(/* @__PURE__ */ FM1()), K = f1(/* @__PURE__ */ UM1()), e1 = f1(/* @__PURE__ */ zM1()), Y = f1(/* @__PURE__ */ vI()), a1 = f1(/* @__PURE__ */ SI()), s1 = f1(/* @__PURE__ */ qM1()), l1 = f1(/* @__PURE__ */ GM1()), j = f1(/* @__PURE__ */ jM1()), q = f1(/* @__PURE__ */ KM1()), n1 = f1(/* @__PURE__ */ zg()), G = o1(/* @__PURE__ */ hI()), _1 = f1(/* @__PURE__ */ XM1()), Q1 = f1(/* @__PURE__ */ _I()), X1 = f1(/* @__PURE__ */ JM1()), E1 = f1(/* @__PURE__ */ QM1()), C1 = f1(/* @__PURE__ */ Sx()), w1 = f1(/* @__PURE__ */ ek1()), x1 = f1(/* @__PURE__ */ tk1()), U1 = f1(/* @__PURE__ */ nk1()), i2 = o1(/* @__PURE__ */ ik1()), $2 = f1(/* @__PURE__ */ ok1()), p2 = f1(/* @__PURE__ */ sk1()), B2 = f1(/* @__PURE__ */ rk1()), D2 = f1(/* @__PURE__ */ ak1()), P2 = f1(/* @__PURE__ */ lk1()), Q2 = f1(/* @__PURE__ */ dk1()), U = f1(/* @__PURE__ */ ck1()), X = f1(/* @__PURE__ */ mI()), g1 = f1(/* @__PURE__ */ Ck1()), q1 = f1(/* @__PURE__ */ uk1()), O1 = f1(/* @__PURE__ */ pk1()), G1 = f1(/* @__PURE__ */ hk1()), P1 = f1(/* @__PURE__ */ fk1()), d1 = f1(/* @__PURE__ */ LI()), Y1 = f1(/* @__PURE__ */ gk1()), u2 = f1(/* @__PURE__ */ mk1()), g2 = f1(/* @__PURE__ */ yk1()), oe = f1(/* @__PURE__ */ wk1()), q2 = f1(/* @__PURE__ */ bk1()), Ee = f1(/* @__PURE__ */ vk1()), M1 = f1(/* @__PURE__ */ Sk1()), Z1 = o1(/* @__PURE__ */ _k1()), f2 = f1(/* @__PURE__ */ Mk1()), E2 = f1(/* @__PURE__ */ kk1()), k1 = f1(/* @__PURE__ */ Lk1()), s2 = /* @__PURE__ */ Tk1(), L1 = f1(/* @__PURE__ */ Vk1()), I1 = f1(/* @__PURE__ */ Hk1()), r2 = f1(/* @__PURE__ */ xk1()), K2 = f1(/* @__PURE__ */ MI()), l2 = f1(/* @__PURE__ */ Ik1()), c3 = f1(/* @__PURE__ */ Ek1()), b3 = f1(/* @__PURE__ */ Ak1()), m4 = f1(/* @__PURE__ */ Pk1()), O5 = f1(/* @__PURE__ */ kI()), Ge = f1(/* @__PURE__ */ Bk1()), q3 = f1(/* @__PURE__ */ Ok1()), N9 = f1(/* @__PURE__ */ $k1()), $5 = f1(/* @__PURE__ */ Dk1()), J4 = f1(/* @__PURE__ */ Nk1()), Q4 = o1(/* @__PURE__ */ Rk1()), T8 = f1(/* @__PURE__ */ HI()), V8 = f1(/* @__PURE__ */ VI()), y4 = f1(/* @__PURE__ */ xI()), t6 = f1(/* @__PURE__ */ Zk1()), H8 = f1(/* @__PURE__ */ Fk1()), $4 = f1(/* @__PURE__ */ Uk1()), n6 = f1(/* @__PURE__ */ zk1()), x8 = f1(/* @__PURE__ */ II()), D4 = f1(/* @__PURE__ */ qk1()), I8 = f1(/* @__PURE__ */ Gk1()), E8 = f1(/* @__PURE__ */ Wk1()), D5 = f1(/* @__PURE__ */ jk1()), R9 = f1(/* @__PURE__ */ Kk1()), R7 = f1(/* @__PURE__ */ Yk1());
|
|
38587
38587
|
function x2() {
|
|
38588
38588
|
if (typeof WeakMap != "function") return null;
|
|
38589
38589
|
var G2 = /* @__PURE__ */ new WeakMap();
|
|
@@ -38610,8 +38610,8 @@ function Xk1() {
|
|
|
38610
38610
|
function f1(G2) {
|
|
38611
38611
|
return G2 && G2.__esModule ? G2 : { default: G2 };
|
|
38612
38612
|
}
|
|
38613
|
-
var
|
|
38614
|
-
version:
|
|
38613
|
+
var _2 = "13.11.0", De = {
|
|
38614
|
+
version: _2,
|
|
38615
38615
|
toDate: i.default,
|
|
38616
38616
|
toFloat: o.default,
|
|
38617
38617
|
toInt: s.default,
|
|
@@ -38696,7 +38696,7 @@ function Xk1() {
|
|
|
38696
38696
|
isBase64: O5.default,
|
|
38697
38697
|
isDataURI: Ge.default,
|
|
38698
38698
|
isMagnetURI: q3.default,
|
|
38699
|
-
isMailtoURI:
|
|
38699
|
+
isMailtoURI: N9.default,
|
|
38700
38700
|
isMimeType: $5.default,
|
|
38701
38701
|
isLatLong: J4.default,
|
|
38702
38702
|
ltrim: T8.default,
|
|
@@ -38711,7 +38711,7 @@ function Xk1() {
|
|
|
38711
38711
|
normalizeEmail: I8.default,
|
|
38712
38712
|
toString,
|
|
38713
38713
|
isSlug: E8.default,
|
|
38714
|
-
isStrongPassword:
|
|
38714
|
+
isStrongPassword: R9.default,
|
|
38715
38715
|
isTaxID: M1.default,
|
|
38716
38716
|
isDate: w.default,
|
|
38717
38717
|
isTime: b.default,
|
|
@@ -38723,7 +38723,7 @@ function Xk1() {
|
|
|
38723
38723
|
})(Es, Es.exports)), Es.exports;
|
|
38724
38724
|
}
|
|
38725
38725
|
var qg = /* @__PURE__ */ Xk1();
|
|
38726
|
-
const Jk1 = /* @__PURE__ */ X6(qg), Gg = (e) => typeof e == "string" || e instanceof String, q4 = (e, t) => Gg(e) && qg.isURL(e, t), S6 = (e) => Gg(e) && qg.isEmail(e),
|
|
38726
|
+
const Jk1 = /* @__PURE__ */ X6(qg), Gg = (e) => typeof e == "string" || e instanceof String, q4 = (e, t) => Gg(e) && qg.isURL(e, t), S6 = (e) => Gg(e) && qg.isEmail(e), b8 = (e) => {
|
|
38727
38727
|
const t = /^[0-9*+-\s]+$/;
|
|
38728
38728
|
return e.match(t) && e.length >= 3 && e.length <= 18;
|
|
38729
38729
|
}, Qk1 = (e, t) => Gg(e) && e.length <= t, Wg = (e) => {
|
|
@@ -38788,7 +38788,7 @@ const Jk1 = /* @__PURE__ */ X6(qg), Gg = (e) => typeof e == "string" || e instan
|
|
|
38788
38788
|
return n === "circle" ? {
|
|
38789
38789
|
aspectRatio: Xu,
|
|
38790
38790
|
borderRadius: i
|
|
38791
|
-
} : e > 1 && t ===
|
|
38791
|
+
} : e > 1 && t === x9 && !i ? {
|
|
38792
38792
|
aspectRatio: Xu
|
|
38793
38793
|
} : (t === o5 || t === x5) && !i ? {
|
|
38794
38794
|
aspectRatio: Xu
|
|
@@ -39435,7 +39435,7 @@ const NI = ["metadata"], RI = [
|
|
|
39435
39435
|
s[c] = g.newContents, r = g.newPersonalisation, o = o || g.isApplied;
|
|
39436
39436
|
continue;
|
|
39437
39437
|
}
|
|
39438
|
-
if (u && (typeof u != "string" || (a =
|
|
39438
|
+
if (u && (typeof u != "string" || (a = w8(u)) != null && a.trim())) {
|
|
39439
39439
|
if (kL1(
|
|
39440
39440
|
i,
|
|
39441
39441
|
t,
|
|
@@ -39721,7 +39721,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
39721
39721
|
return t[1];
|
|
39722
39722
|
}
|
|
39723
39723
|
return "";
|
|
39724
|
-
},
|
|
39724
|
+
}, v8 = (e) => {
|
|
39725
39725
|
if (!(!e || !e.match(QI)))
|
|
39726
39726
|
try {
|
|
39727
39727
|
const t = new URL(e), n = B0(e), i = t.searchParams.get("dimensionsType"), o = t.searchParams.get("variation"), s = t.searchParams.get("v") || void 0, r = HL1(
|
|
@@ -39751,7 +39751,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
39751
39751
|
return;
|
|
39752
39752
|
}
|
|
39753
39753
|
}, HL1 = (e, t) => e != null && e.length ? e === "preview_image_solid_no_buffer" ? F6.LOGO_WITH_BACKGROUND : t != null && t.length ? t === "icontransparentbackgroundonly" ? F6.LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND : t === "texttransparentbackgroundonly" ? F6.TEXT_ONLY_WITH_TRANSPARENT_BACKGROUND : xg : F6.LOGO_WITH_TRANSPARENT_BACKGROUND : F6.LOGO_WITH_TRANSPARENT_BACKGROUND, O0 = (e) => {
|
|
39754
|
-
const t =
|
|
39754
|
+
const t = v8(e);
|
|
39755
39755
|
return (t == null ? void 0 : t.logoVariation) || xg;
|
|
39756
39756
|
}, tE = (e, t) => XI.map((n, i) => P3.getInstance().getLogoVariationUrlByLogoVariationIndex(
|
|
39757
39757
|
e,
|
|
@@ -39898,7 +39898,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
39898
39898
|
getOptimalLogoSize: om,
|
|
39899
39899
|
recalculateHeaderLogoSizes: sE,
|
|
39900
39900
|
recalculateLogoContentDimensions: oE,
|
|
39901
|
-
safeGetLogoImageFromLogoImageUrl:
|
|
39901
|
+
safeGetLogoImageFromLogoImageUrl: v8,
|
|
39902
39902
|
safeGetLogoTemplateImageFromLogoTemplateImageUrl: oc
|
|
39903
39903
|
}, Symbol.toStringTag, { value: "Module" })), AL1 = (e) => {
|
|
39904
39904
|
e.pages.reduce((n, i) => [...n, ...i.contents.filter(kn)], []).forEach((n) => {
|
|
@@ -40298,7 +40298,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
40298
40298
|
});
|
|
40299
40299
|
}, KL1 = (e) => {
|
|
40300
40300
|
if (e.headerStyles) {
|
|
40301
|
-
const t =
|
|
40301
|
+
const t = v8(
|
|
40302
40302
|
e.headerStyles.logoImageUrl
|
|
40303
40303
|
);
|
|
40304
40304
|
e.pageHeaderDesktop = new Lt({
|
|
@@ -40312,7 +40312,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
40312
40312
|
}), delete e.headerStyles;
|
|
40313
40313
|
}
|
|
40314
40314
|
if (e.footerStyles) {
|
|
40315
|
-
const t =
|
|
40315
|
+
const t = v8(
|
|
40316
40316
|
e.footerStyles.logoImageUrl
|
|
40317
40317
|
);
|
|
40318
40318
|
e.pageFooterDesktop = new J0({
|
|
@@ -40408,7 +40408,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
40408
40408
|
t.contents.forEach((n, i) => {
|
|
40409
40409
|
if (!B4(n) || n.logoImage)
|
|
40410
40410
|
return;
|
|
40411
|
-
let o =
|
|
40411
|
+
let o = v8(
|
|
40412
40412
|
n.logoImageUrl
|
|
40413
40413
|
);
|
|
40414
40414
|
o || (o = { ...z6 }), n.imageStyle && (n.logoImageHeight = n.imageStyle.height, n.logoImageWidth = n.imageStyle.width, delete n.imageStyle), delete n.logoImageUrl, delete n.logoDraftToken, delete n.logoVariation, t.contents[i] = {
|
|
@@ -40428,7 +40428,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
40428
40428
|
n == null || delete n.logoImageUrl, n == null || delete n.logoDraftToken;
|
|
40429
40429
|
return;
|
|
40430
40430
|
}
|
|
40431
|
-
const i =
|
|
40431
|
+
const i = v8(
|
|
40432
40432
|
n.logoImageUrl
|
|
40433
40433
|
);
|
|
40434
40434
|
if (!i)
|
|
@@ -41183,7 +41183,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41183
41183
|
applyLogoThemeToBrandPageHeaderStyles: ef,
|
|
41184
41184
|
applyLogoThemeToBrandPageModel: it,
|
|
41185
41185
|
applyLogoThemeToBrandPageNavigationStyles: Qh,
|
|
41186
|
-
applyLogoThemeToBrandPageStyleRecursive:
|
|
41186
|
+
applyLogoThemeToBrandPageStyleRecursive: y8,
|
|
41187
41187
|
applyLogoThemeToBrandPageStyles: Rx,
|
|
41188
41188
|
applyLogoThemeToContents: Dx,
|
|
41189
41189
|
applyUserPersonalisationToBrandPageContentsAsync: KI,
|
|
@@ -41196,7 +41196,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41196
41196
|
colorsMatch: P0,
|
|
41197
41197
|
decodeHtmlEntities: Yi,
|
|
41198
41198
|
encodeContentText: rf,
|
|
41199
|
-
escapeContentText:
|
|
41199
|
+
escapeContentText: w8,
|
|
41200
41200
|
filterPersonalisationByShapesAspectRatio: jI,
|
|
41201
41201
|
generateGoogleFontUrl: Bg,
|
|
41202
41202
|
getBrandPageViewModelFromBrandPageModel: _i,
|
|
@@ -41225,7 +41225,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41225
41225
|
isButtonContent: Ln,
|
|
41226
41226
|
isContact: zt,
|
|
41227
41227
|
isEmail: S6,
|
|
41228
|
-
isHexTransparent:
|
|
41228
|
+
isHexTransparent: I9,
|
|
41229
41229
|
isImageContent: Xx,
|
|
41230
41230
|
isImagesContent: Ut,
|
|
41231
41231
|
isImagesGalleryContent: Jx,
|
|
@@ -41240,7 +41240,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41240
41240
|
isSocialLinks: Po,
|
|
41241
41241
|
isSupportMe: Og,
|
|
41242
41242
|
isSupportMeContent: Kx,
|
|
41243
|
-
isTel:
|
|
41243
|
+
isTel: b8,
|
|
41244
41244
|
isTestimonialContent: Ao,
|
|
41245
41245
|
isTextContent: kn,
|
|
41246
41246
|
isURL: q4,
|
|
@@ -41320,7 +41320,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41320
41320
|
title: o,
|
|
41321
41321
|
titleStyle: {
|
|
41322
41322
|
applyAutoScale: (n == null ? void 0 : n.brandPageType) === u1.brandSite,
|
|
41323
|
-
textStyleType:
|
|
41323
|
+
textStyleType: v2.buttons,
|
|
41324
41324
|
textAlign: "center"
|
|
41325
41325
|
},
|
|
41326
41326
|
url: "",
|
|
@@ -41342,7 +41342,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41342
41342
|
page: "",
|
|
41343
41343
|
titleStyle: {
|
|
41344
41344
|
applyAutoScale: (n == null ? void 0 : n.brandPageType) === u1.brandSite,
|
|
41345
|
-
textStyleType:
|
|
41345
|
+
textStyleType: v2.buttons,
|
|
41346
41346
|
textAlign: "center"
|
|
41347
41347
|
},
|
|
41348
41348
|
fieldRole: "button"
|
|
@@ -41381,17 +41381,17 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41381
41381
|
mediaType: "image",
|
|
41382
41382
|
titleStyle: {
|
|
41383
41383
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41384
|
-
textStyleType:
|
|
41384
|
+
textStyleType: v2.paragraphs,
|
|
41385
41385
|
textAlign: "center"
|
|
41386
41386
|
},
|
|
41387
41387
|
descriptionStyle: {
|
|
41388
41388
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41389
|
-
textStyleType:
|
|
41389
|
+
textStyleType: v2.paragraphs,
|
|
41390
41390
|
textAlign: "center"
|
|
41391
41391
|
},
|
|
41392
41392
|
nameStyle: {
|
|
41393
41393
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41394
|
-
textStyleType:
|
|
41394
|
+
textStyleType: v2.headings,
|
|
41395
41395
|
textAlign: "center"
|
|
41396
41396
|
}
|
|
41397
41397
|
}), PT1 = (e) => ({
|
|
@@ -41405,7 +41405,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41405
41405
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41406
41406
|
fontSize: V5,
|
|
41407
41407
|
textAlign: "left",
|
|
41408
|
-
textStyleType:
|
|
41408
|
+
textStyleType: v2.paragraphs
|
|
41409
41409
|
}
|
|
41410
41410
|
}
|
|
41411
41411
|
] : void 0,
|
|
@@ -41416,7 +41416,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41416
41416
|
},
|
|
41417
41417
|
textStyle: {
|
|
41418
41418
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41419
|
-
textStyleType:
|
|
41419
|
+
textStyleType: v2.paragraphs,
|
|
41420
41420
|
textAlign: "center"
|
|
41421
41421
|
},
|
|
41422
41422
|
columnStyle: $6[1],
|
|
@@ -41453,12 +41453,12 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41453
41453
|
acceptedFields: "emailOnly",
|
|
41454
41454
|
titleStyle: {
|
|
41455
41455
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41456
|
-
textStyleType:
|
|
41456
|
+
textStyleType: v2.headings,
|
|
41457
41457
|
textAlign: "center"
|
|
41458
41458
|
},
|
|
41459
41459
|
buttonTextStyle: {
|
|
41460
41460
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41461
|
-
textStyleType:
|
|
41461
|
+
textStyleType: v2.buttons,
|
|
41462
41462
|
textAlign: "center"
|
|
41463
41463
|
}
|
|
41464
41464
|
}), $T1 = (e) => ({
|
|
@@ -41480,22 +41480,22 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41480
41480
|
selectedBorderColor: {},
|
|
41481
41481
|
titleStyle: {
|
|
41482
41482
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41483
|
-
textStyleType:
|
|
41483
|
+
textStyleType: v2.paragraphs,
|
|
41484
41484
|
textAlign: "center"
|
|
41485
41485
|
},
|
|
41486
41486
|
descriptionStyle: {
|
|
41487
41487
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41488
|
-
textStyleType:
|
|
41488
|
+
textStyleType: v2.paragraphs,
|
|
41489
41489
|
textAlign: "center"
|
|
41490
41490
|
},
|
|
41491
41491
|
itemTextStyle: {
|
|
41492
41492
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41493
|
-
textStyleType:
|
|
41493
|
+
textStyleType: v2.paragraphs,
|
|
41494
41494
|
textAlign: "left"
|
|
41495
41495
|
},
|
|
41496
41496
|
buttonTextStyle: {
|
|
41497
41497
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41498
|
-
textStyleType:
|
|
41498
|
+
textStyleType: v2.buttons,
|
|
41499
41499
|
textAlign: "center"
|
|
41500
41500
|
}
|
|
41501
41501
|
}), DT1 = (e) => ({
|
|
@@ -41511,22 +41511,22 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41511
41511
|
defaultBorderColor: {},
|
|
41512
41512
|
titleStyle: {
|
|
41513
41513
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41514
|
-
textStyleType:
|
|
41514
|
+
textStyleType: v2.titles,
|
|
41515
41515
|
textAlign: "center"
|
|
41516
41516
|
},
|
|
41517
41517
|
descriptionStyle: {
|
|
41518
41518
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41519
|
-
textStyleType:
|
|
41519
|
+
textStyleType: v2.paragraphs,
|
|
41520
41520
|
textAlign: "center"
|
|
41521
41521
|
},
|
|
41522
41522
|
itemTextStyle: {
|
|
41523
41523
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41524
|
-
textStyleType:
|
|
41524
|
+
textStyleType: v2.paragraphs,
|
|
41525
41525
|
textAlign: "left"
|
|
41526
41526
|
},
|
|
41527
41527
|
buttonTextStyle: {
|
|
41528
41528
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41529
|
-
textStyleType:
|
|
41529
|
+
textStyleType: v2.buttons,
|
|
41530
41530
|
textAlign: "center"
|
|
41531
41531
|
},
|
|
41532
41532
|
backgroundStyle: {},
|
|
@@ -41544,7 +41544,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41544
41544
|
{
|
|
41545
41545
|
amount: "0",
|
|
41546
41546
|
id: je.v4(),
|
|
41547
|
-
name:
|
|
41547
|
+
name: o8
|
|
41548
41548
|
}
|
|
41549
41549
|
],
|
|
41550
41550
|
isCustomerMessageEnabled: !0
|
|
@@ -41556,27 +41556,27 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41556
41556
|
type: "support-me",
|
|
41557
41557
|
titleStyle: {
|
|
41558
41558
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41559
|
-
textStyleType:
|
|
41559
|
+
textStyleType: v2.headings,
|
|
41560
41560
|
textAlign: "center"
|
|
41561
41561
|
},
|
|
41562
41562
|
headingStyle: {
|
|
41563
41563
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41564
|
-
textStyleType:
|
|
41564
|
+
textStyleType: v2.paragraphs,
|
|
41565
41565
|
textAlign: "center"
|
|
41566
41566
|
},
|
|
41567
41567
|
descriptionStyle: {
|
|
41568
41568
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41569
|
-
textStyleType:
|
|
41569
|
+
textStyleType: v2.paragraphs,
|
|
41570
41570
|
textAlign: "center"
|
|
41571
41571
|
},
|
|
41572
41572
|
itemTextStyle: {
|
|
41573
41573
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41574
|
-
textStyleType:
|
|
41574
|
+
textStyleType: v2.paragraphs,
|
|
41575
41575
|
textAlign: "center"
|
|
41576
41576
|
},
|
|
41577
41577
|
buttonTextStyle: {
|
|
41578
41578
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41579
|
-
textStyleType:
|
|
41579
|
+
textStyleType: v2.buttons,
|
|
41580
41580
|
textAlign: "center"
|
|
41581
41581
|
}
|
|
41582
41582
|
}), RT1 = (e) => (process.env.NODE_ENV !== "production" && typeof (e == null ? void 0 : e.userState.emailAddress) > "u" && console.error("userState.emailAddress should not be undefined"), {
|
|
@@ -41654,20 +41654,20 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41654
41654
|
backgroundStyle: {},
|
|
41655
41655
|
titleStyle: {
|
|
41656
41656
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41657
|
-
textStyleType:
|
|
41657
|
+
textStyleType: v2.titles,
|
|
41658
41658
|
textAlign: "center"
|
|
41659
41659
|
},
|
|
41660
41660
|
descriptionStyle: {
|
|
41661
41661
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41662
|
-
textStyleType:
|
|
41662
|
+
textStyleType: v2.paragraphs,
|
|
41663
41663
|
textAlign: "center"
|
|
41664
41664
|
},
|
|
41665
41665
|
successMessageStyle: {
|
|
41666
|
-
textStyleType:
|
|
41666
|
+
textStyleType: v2.paragraphs
|
|
41667
41667
|
},
|
|
41668
41668
|
buttonTextStyle: {
|
|
41669
41669
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41670
|
-
textStyleType:
|
|
41670
|
+
textStyleType: v2.buttons,
|
|
41671
41671
|
textAlign: "center"
|
|
41672
41672
|
}
|
|
41673
41673
|
}), ZT1 = (e) => ({
|
|
@@ -41682,12 +41682,12 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41682
41682
|
displayStyle: "centered",
|
|
41683
41683
|
descriptionStyle: {
|
|
41684
41684
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41685
|
-
textStyleType:
|
|
41685
|
+
textStyleType: v2.paragraphs,
|
|
41686
41686
|
textAlign: "center"
|
|
41687
41687
|
},
|
|
41688
41688
|
titleStyle: {
|
|
41689
41689
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41690
|
-
textStyleType:
|
|
41690
|
+
textStyleType: v2.titles,
|
|
41691
41691
|
textAlign: "center"
|
|
41692
41692
|
},
|
|
41693
41693
|
cardStyle: {
|
|
@@ -41698,7 +41698,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41698
41698
|
buttonLinkType: le.url,
|
|
41699
41699
|
buttonTextStyle: {
|
|
41700
41700
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41701
|
-
textStyleType:
|
|
41701
|
+
textStyleType: v2.buttons,
|
|
41702
41702
|
textAlign: "center"
|
|
41703
41703
|
},
|
|
41704
41704
|
overlayColor: {
|
|
@@ -41714,12 +41714,12 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41714
41714
|
type: "booking-section",
|
|
41715
41715
|
descriptionStyle: {
|
|
41716
41716
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41717
|
-
textStyleType:
|
|
41717
|
+
textStyleType: v2.paragraphs,
|
|
41718
41718
|
textAlign: "center"
|
|
41719
41719
|
},
|
|
41720
41720
|
titleStyle: {
|
|
41721
41721
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41722
|
-
textStyleType:
|
|
41722
|
+
textStyleType: v2.titles,
|
|
41723
41723
|
textAlign: "center"
|
|
41724
41724
|
},
|
|
41725
41725
|
backgroundStyle: {},
|
|
@@ -41727,7 +41727,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41727
41727
|
buttonLinkType: le.url,
|
|
41728
41728
|
buttonTextStyle: {
|
|
41729
41729
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41730
|
-
textStyleType:
|
|
41730
|
+
textStyleType: v2.buttons,
|
|
41731
41731
|
textAlign: "center"
|
|
41732
41732
|
}
|
|
41733
41733
|
}), UT1 = (e) => ({
|
|
@@ -41756,27 +41756,27 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41756
41756
|
cardStyle: {},
|
|
41757
41757
|
titleStyle: {
|
|
41758
41758
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41759
|
-
textStyleType:
|
|
41759
|
+
textStyleType: v2.titles,
|
|
41760
41760
|
textAlign: "center"
|
|
41761
41761
|
},
|
|
41762
41762
|
descriptionStyle: {
|
|
41763
41763
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41764
|
-
textStyleType:
|
|
41764
|
+
textStyleType: v2.paragraphs,
|
|
41765
41765
|
textAlign: "center"
|
|
41766
41766
|
},
|
|
41767
41767
|
headingStyle: {
|
|
41768
41768
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41769
|
-
textStyleType:
|
|
41769
|
+
textStyleType: v2.headings,
|
|
41770
41770
|
textAlign: "center"
|
|
41771
41771
|
},
|
|
41772
41772
|
paragraphStyle: {
|
|
41773
41773
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41774
|
-
textStyleType:
|
|
41774
|
+
textStyleType: v2.paragraphs,
|
|
41775
41775
|
textAlign: "center"
|
|
41776
41776
|
},
|
|
41777
41777
|
buttonTextStyle: {
|
|
41778
41778
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41779
|
-
textStyleType:
|
|
41779
|
+
textStyleType: v2.buttons,
|
|
41780
41780
|
textAlign: "center"
|
|
41781
41781
|
}
|
|
41782
41782
|
}), zT1 = (e) => ({
|
|
@@ -41787,22 +41787,22 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41787
41787
|
items: [],
|
|
41788
41788
|
titleStyle: {
|
|
41789
41789
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41790
|
-
textStyleType:
|
|
41790
|
+
textStyleType: v2.titles,
|
|
41791
41791
|
textAlign: "center"
|
|
41792
41792
|
},
|
|
41793
41793
|
testimonialStyle: {
|
|
41794
41794
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41795
|
-
textStyleType:
|
|
41795
|
+
textStyleType: v2.headings,
|
|
41796
41796
|
textAlign: "center"
|
|
41797
41797
|
},
|
|
41798
41798
|
nameStyle: {
|
|
41799
41799
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41800
|
-
textStyleType:
|
|
41800
|
+
textStyleType: v2.paragraphs,
|
|
41801
41801
|
textAlign: "center"
|
|
41802
41802
|
},
|
|
41803
41803
|
positionStyle: {
|
|
41804
41804
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41805
|
-
textStyleType:
|
|
41805
|
+
textStyleType: v2.paragraphs,
|
|
41806
41806
|
textAlign: "center"
|
|
41807
41807
|
},
|
|
41808
41808
|
backgroundStyle: {},
|
|
@@ -41817,12 +41817,12 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41817
41817
|
colorReplacements: [],
|
|
41818
41818
|
titleStyle: {
|
|
41819
41819
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41820
|
-
textStyleType:
|
|
41820
|
+
textStyleType: v2.titles,
|
|
41821
41821
|
textAlign: "center"
|
|
41822
41822
|
},
|
|
41823
41823
|
paragraphStyle: {
|
|
41824
41824
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41825
|
-
textStyleType:
|
|
41825
|
+
textStyleType: v2.paragraphs,
|
|
41826
41826
|
textAlign: "center"
|
|
41827
41827
|
},
|
|
41828
41828
|
backgroundStyle: {}
|
|
@@ -41896,7 +41896,7 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41896
41896
|
backgroundStyles: {},
|
|
41897
41897
|
titleStyle: {
|
|
41898
41898
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41899
|
-
textStyleType:
|
|
41899
|
+
textStyleType: v2.titles,
|
|
41900
41900
|
textAlign: "center"
|
|
41901
41901
|
}
|
|
41902
41902
|
}), KT1 = (e) => ({
|
|
@@ -41925,22 +41925,22 @@ const JI = /brand-page\/([^?]*)/, VL1 = /logo\/([^\/]*)\//, QI = /(http|https):\
|
|
|
41925
41925
|
size: "4rem",
|
|
41926
41926
|
titleStyle: {
|
|
41927
41927
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41928
|
-
textStyleType:
|
|
41928
|
+
textStyleType: v2.titles,
|
|
41929
41929
|
textAlign: "center"
|
|
41930
41930
|
},
|
|
41931
41931
|
descriptionStyle: {
|
|
41932
41932
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41933
|
-
textStyleType:
|
|
41933
|
+
textStyleType: v2.paragraphs,
|
|
41934
41934
|
textAlign: "center"
|
|
41935
41935
|
},
|
|
41936
41936
|
headingStyle: {
|
|
41937
41937
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41938
|
-
textStyleType:
|
|
41938
|
+
textStyleType: v2.headings,
|
|
41939
41939
|
textAlign: "center"
|
|
41940
41940
|
},
|
|
41941
41941
|
paragraphStyle: {
|
|
41942
41942
|
applyAutoScale: (e == null ? void 0 : e.brandPageType) === u1.brandSite,
|
|
41943
|
-
textStyleType:
|
|
41943
|
+
textStyleType: v2.paragraphs,
|
|
41944
41944
|
textAlign: "center"
|
|
41945
41945
|
}
|
|
41946
41946
|
}), lE = [
|
|
@@ -42154,7 +42154,7 @@ const eV1 = {
|
|
|
42154
42154
|
r ? n.push(`URL;TYPE=${r}:${o}`) : n.push(`URL:${o}`), i.add(s);
|
|
42155
42155
|
}
|
|
42156
42156
|
}, cE = (e, t, n, i, o) => {
|
|
42157
|
-
o === "email" || S6(e) ? gM(e, n, i) : o === "phone" ||
|
|
42157
|
+
o === "email" || S6(e) ? gM(e, n, i) : o === "phone" || b8(e) ? fM(e, n, i) : e.startsWith("tel:") ? fM(e.replace("tel:", ""), n, i) : e.startsWith("mailto:") ? gM(e.replace("mailto:", ""), n, i) : iV1(
|
|
42158
42158
|
e,
|
|
42159
42159
|
cf(e) || cf(t),
|
|
42160
42160
|
n,
|
|
@@ -43103,14 +43103,14 @@ const eV1 = {
|
|
|
43103
43103
|
break;
|
|
43104
43104
|
case "buttonShadowColor":
|
|
43105
43105
|
let t = e.value;
|
|
43106
|
-
qi(e.value) && (t = `${ut} ${
|
|
43106
|
+
qi(e.value) && (t = `${ut} ${m8(
|
|
43107
43107
|
e.value,
|
|
43108
43108
|
kl
|
|
43109
43109
|
)}`), this._setButtonStyle({ boxShadow: t });
|
|
43110
43110
|
break;
|
|
43111
43111
|
case "buttonSoftShadowColor":
|
|
43112
43112
|
let n = e.value;
|
|
43113
|
-
qi(e.value) && (n = `${pt} ${
|
|
43113
|
+
qi(e.value) && (n = `${pt} ${m8(
|
|
43114
43114
|
e.value,
|
|
43115
43115
|
kl
|
|
43116
43116
|
)}`), this._setButtonStyle({ boxShadow: n });
|
|
@@ -43226,7 +43226,7 @@ const eV1 = {
|
|
|
43226
43226
|
return this.doesLogoHaveBackground ? n = n.map(
|
|
43227
43227
|
(i) => Gi(r3(i))
|
|
43228
43228
|
) : n = n.map((i) => Q0(r3(i))), this._setLogoBackgroundStyle({
|
|
43229
|
-
backgroundColor:
|
|
43229
|
+
backgroundColor: l8(n)
|
|
43230
43230
|
});
|
|
43231
43231
|
}
|
|
43232
43232
|
const t = r3(
|
|
@@ -43283,7 +43283,7 @@ const eV1 = {
|
|
|
43283
43283
|
this.logoStyles.backgroundStyle.backgroundColor
|
|
43284
43284
|
) ? Nh(
|
|
43285
43285
|
this.logoStyles.backgroundStyle.backgroundColor
|
|
43286
|
-
).every((n) => !
|
|
43286
|
+
).every((n) => !I9(r3(n))) : !I9(
|
|
43287
43287
|
r3(this.logoStyles.backgroundStyle.backgroundColor)
|
|
43288
43288
|
) : !1;
|
|
43289
43289
|
},
|
|
@@ -44153,7 +44153,7 @@ let t3 = class pf {
|
|
|
44153
44153
|
t3.none = [];
|
|
44154
44154
|
class Dl extends Error {
|
|
44155
44155
|
}
|
|
44156
|
-
class
|
|
44156
|
+
class S2 {
|
|
44157
44157
|
/**
|
|
44158
44158
|
Create a slice. When specifying a non-zero open depth, you must
|
|
44159
44159
|
make sure that there are nodes of at least that depth at the
|
|
@@ -44180,13 +44180,13 @@ class v2 {
|
|
|
44180
44180
|
*/
|
|
44181
44181
|
insertAt(t, n) {
|
|
44182
44182
|
let i = fE(this.content, t + this.openStart, n);
|
|
44183
|
-
return i && new
|
|
44183
|
+
return i && new S2(i, this.openStart, this.openEnd);
|
|
44184
44184
|
}
|
|
44185
44185
|
/**
|
|
44186
44186
|
@internal
|
|
44187
44187
|
*/
|
|
44188
44188
|
removeBetween(t, n) {
|
|
44189
|
-
return new
|
|
44189
|
+
return new S2(hE(this.content, t + this.openStart, n + this.openStart), this.openStart, this.openEnd);
|
|
44190
44190
|
}
|
|
44191
44191
|
/**
|
|
44192
44192
|
Tests whether this slice is equal to another slice.
|
|
@@ -44214,11 +44214,11 @@ class v2 {
|
|
|
44214
44214
|
*/
|
|
44215
44215
|
static fromJSON(t, n) {
|
|
44216
44216
|
if (!n)
|
|
44217
|
-
return
|
|
44217
|
+
return S2.empty;
|
|
44218
44218
|
let i = n.openStart || 0, o = n.openEnd || 0;
|
|
44219
44219
|
if (typeof i != "number" || typeof o != "number")
|
|
44220
44220
|
throw new RangeError("Invalid input for Slice.fromJSON");
|
|
44221
|
-
return new
|
|
44221
|
+
return new S2(j1.fromJSON(t, n.content), i, o);
|
|
44222
44222
|
}
|
|
44223
44223
|
/**
|
|
44224
44224
|
Create a slice from a fragment by taking the maximum possible
|
|
@@ -44230,10 +44230,10 @@ class v2 {
|
|
|
44230
44230
|
i++;
|
|
44231
44231
|
for (let s = t.lastChild; s && !s.isLeaf && (n || !s.type.spec.isolating); s = s.lastChild)
|
|
44232
44232
|
o++;
|
|
44233
|
-
return new
|
|
44233
|
+
return new S2(t, i, o);
|
|
44234
44234
|
}
|
|
44235
44235
|
}
|
|
44236
|
-
|
|
44236
|
+
S2.empty = new S2(j1.empty, 0, 0);
|
|
44237
44237
|
function hE(e, t, n) {
|
|
44238
44238
|
let { index: i, offset: o } = e.findIndex(t), s = e.maybeChild(i), { index: r, offset: a } = e.findIndex(n);
|
|
44239
44239
|
if (o == t || s.isText) {
|
|
@@ -44759,9 +44759,9 @@ let y7 = class ff {
|
|
|
44759
44759
|
*/
|
|
44760
44760
|
slice(t, n = this.content.size, i = !1) {
|
|
44761
44761
|
if (t == n)
|
|
44762
|
-
return
|
|
44762
|
+
return S2.empty;
|
|
44763
44763
|
let o = this.resolve(t), s = this.resolve(n), r = i ? 0 : o.sharedDepth(n), a = o.start(r), d = o.node(r).content.cut(o.pos - a, s.pos - a);
|
|
44764
|
-
return new
|
|
44764
|
+
return new S2(d, o.depth - r, s.depth - r);
|
|
44765
44765
|
}
|
|
44766
44766
|
/**
|
|
44767
44767
|
Replace the part of the document between the given positions with
|
|
@@ -45788,7 +45788,7 @@ let ki = class gf {
|
|
|
45788
45788
|
*/
|
|
45789
45789
|
parseSlice(t, n = {}) {
|
|
45790
45790
|
let i = new LM(this, n, !0);
|
|
45791
|
-
return i.addAll(t, t3.none, n.from, n.to),
|
|
45791
|
+
return i.addAll(t, t3.none, n.from, n.to), S2.maxOpen(i.finish());
|
|
45792
45792
|
}
|
|
45793
45793
|
/**
|
|
45794
45794
|
@internal
|
|
@@ -46775,7 +46775,7 @@ class d7 extends X4 {
|
|
|
46775
46775
|
super(), this.from = t, this.to = n, this.mark = i;
|
|
46776
46776
|
}
|
|
46777
46777
|
apply(t) {
|
|
46778
|
-
let n = t.slice(this.from, this.to), i = t.resolve(this.from), o = i.node(i.sharedDepth(this.to)), s = new
|
|
46778
|
+
let n = t.slice(this.from, this.to), i = t.resolve(this.from), o = i.node(i.sharedDepth(this.to)), s = new S2(Cm(n.content, (r, a) => !r.isAtom || !a.type.allowsMarkType(this.mark.type) ? r : r.mark(this.mark.addToSet(r.marks)), o), n.openStart, n.openEnd);
|
|
46779
46779
|
return F3.fromReplace(t, this.from, this.to, s);
|
|
46780
46780
|
}
|
|
46781
46781
|
invert() {
|
|
@@ -46814,7 +46814,7 @@ class v9 extends X4 {
|
|
|
46814
46814
|
super(), this.from = t, this.to = n, this.mark = i;
|
|
46815
46815
|
}
|
|
46816
46816
|
apply(t) {
|
|
46817
|
-
let n = t.slice(this.from, this.to), i = new
|
|
46817
|
+
let n = t.slice(this.from, this.to), i = new S2(Cm(n.content, (o) => o.mark(this.mark.removeFromSet(o.marks)), t), n.openStart, n.openEnd);
|
|
46818
46818
|
return F3.fromReplace(t, this.from, this.to, i);
|
|
46819
46819
|
}
|
|
46820
46820
|
invert() {
|
|
@@ -46857,7 +46857,7 @@ class c7 extends X4 {
|
|
|
46857
46857
|
if (!n)
|
|
46858
46858
|
return F3.fail("No node at mark step's position");
|
|
46859
46859
|
let i = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
46860
|
-
return F3.fromReplace(t, this.pos, this.pos + 1, new
|
|
46860
|
+
return F3.fromReplace(t, this.pos, this.pos + 1, new S2(j1.from(i), 0, n.isLeaf ? 0 : 1));
|
|
46861
46861
|
}
|
|
46862
46862
|
invert(t) {
|
|
46863
46863
|
let n = t.nodeAt(this.pos);
|
|
@@ -46901,7 +46901,7 @@ class xt extends X4 {
|
|
|
46901
46901
|
if (!n)
|
|
46902
46902
|
return F3.fail("No node at mark step's position");
|
|
46903
46903
|
let i = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
46904
|
-
return F3.fromReplace(t, this.pos, this.pos + 1, new
|
|
46904
|
+
return F3.fromReplace(t, this.pos, this.pos + 1, new S2(j1.from(i), 0, n.isLeaf ? 0 : 1));
|
|
46905
46905
|
}
|
|
46906
46906
|
invert(t) {
|
|
46907
46907
|
let n = t.nodeAt(this.pos);
|
|
@@ -46954,10 +46954,10 @@ class a4 extends X4 {
|
|
|
46954
46954
|
if (!(t instanceof a4) || t.structure || this.structure)
|
|
46955
46955
|
return null;
|
|
46956
46956
|
if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
|
|
46957
|
-
let n = this.slice.size + t.slice.size == 0 ?
|
|
46957
|
+
let n = this.slice.size + t.slice.size == 0 ? S2.empty : new S2(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
|
|
46958
46958
|
return new a4(this.from, this.to + (t.to - t.from), n, this.structure);
|
|
46959
46959
|
} else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
|
|
46960
|
-
let n = this.slice.size + t.slice.size == 0 ?
|
|
46960
|
+
let n = this.slice.size + t.slice.size == 0 ? S2.empty : new S2(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
|
|
46961
46961
|
return new a4(t.from, this.to, n, this.structure);
|
|
46962
46962
|
} else
|
|
46963
46963
|
return null;
|
|
@@ -46972,7 +46972,7 @@ class a4 extends X4 {
|
|
|
46972
46972
|
static fromJSON(t, n) {
|
|
46973
46973
|
if (typeof n.from != "number" || typeof n.to != "number")
|
|
46974
46974
|
throw new RangeError("Invalid input for ReplaceStep.fromJSON");
|
|
46975
|
-
return new a4(n.from, n.to,
|
|
46975
|
+
return new a4(n.from, n.to, S2.fromJSON(t, n.slice), !!n.structure);
|
|
46976
46976
|
}
|
|
46977
46977
|
}
|
|
46978
46978
|
X4.jsonID("replace", a4);
|
|
@@ -47030,7 +47030,7 @@ class c4 extends X4 {
|
|
|
47030
47030
|
static fromJSON(t, n) {
|
|
47031
47031
|
if (typeof n.from != "number" || typeof n.to != "number" || typeof n.gapFrom != "number" || typeof n.gapTo != "number" || typeof n.insert != "number")
|
|
47032
47032
|
throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");
|
|
47033
|
-
return new c4(n.from, n.to, n.gapFrom, n.gapTo,
|
|
47033
|
+
return new c4(n.from, n.to, n.gapFrom, n.gapTo, S2.fromJSON(t, n.slice), n.insert, !!n.structure);
|
|
47034
47034
|
}
|
|
47035
47035
|
}
|
|
47036
47036
|
X4.jsonID("replaceAround", c4);
|
|
@@ -47092,7 +47092,7 @@ function um(e, t, n, i = n.contentMatch, o = !0) {
|
|
|
47092
47092
|
for (let l = 0; l < s.childCount; l++) {
|
|
47093
47093
|
let d = s.child(l), c = a + d.nodeSize, u = i.matchType(d.type);
|
|
47094
47094
|
if (!u)
|
|
47095
|
-
r.push(new a4(a, c,
|
|
47095
|
+
r.push(new a4(a, c, S2.empty));
|
|
47096
47096
|
else {
|
|
47097
47097
|
i = u;
|
|
47098
47098
|
for (let h = 0; h < d.marks.length; h++)
|
|
@@ -47100,14 +47100,14 @@ function um(e, t, n, i = n.contentMatch, o = !0) {
|
|
|
47100
47100
|
if (o && d.isText && n.whitespace != "pre") {
|
|
47101
47101
|
let h, g = /\r?\n|\r/g, m;
|
|
47102
47102
|
for (; h = g.exec(d.text); )
|
|
47103
|
-
m || (m = new
|
|
47103
|
+
m || (m = new S2(j1.from(n.schema.text(" ", n.allowedMarks(d.marks))), 0, 0)), r.push(new a4(a + h.index, a + h.index + h[0].length, m));
|
|
47104
47104
|
}
|
|
47105
47105
|
}
|
|
47106
47106
|
a = c;
|
|
47107
47107
|
}
|
|
47108
47108
|
if (!i.validEnd) {
|
|
47109
47109
|
let l = i.fillBefore(j1.empty, !0);
|
|
47110
|
-
e.replace(a, a, new
|
|
47110
|
+
e.replace(a, a, new S2(l, 0, 0));
|
|
47111
47111
|
}
|
|
47112
47112
|
for (let l = r.length - 1; l >= 0; l--)
|
|
47113
47113
|
e.step(r[l]);
|
|
@@ -47134,7 +47134,7 @@ function zV1(e, t, n) {
|
|
|
47134
47134
|
let h = j1.empty, g = 0;
|
|
47135
47135
|
for (let m = s, y = !1; m > n; m--)
|
|
47136
47136
|
y || o.after(m + 1) < o.end(m) ? (y = !0, h = j1.from(o.node(m).copy(h)), g++) : d++;
|
|
47137
|
-
e.step(new c4(l, d, r, a, new
|
|
47137
|
+
e.step(new c4(l, d, r, a, new S2(c.append(h), u, g), c.size - u, !0));
|
|
47138
47138
|
}
|
|
47139
47139
|
function pm(e, t, n = null, i = e) {
|
|
47140
47140
|
let o = qV1(e, t), s = o && GV1(i, t);
|
|
@@ -47170,7 +47170,7 @@ function WV1(e, t, n) {
|
|
|
47170
47170
|
i = j1.from(n[r].type.create(n[r].attrs, i));
|
|
47171
47171
|
}
|
|
47172
47172
|
let o = t.start, s = t.end;
|
|
47173
|
-
e.step(new c4(o, s, o, s, new
|
|
47173
|
+
e.step(new c4(o, s, o, s, new S2(i, 0, 0), n.length, !0));
|
|
47174
47174
|
}
|
|
47175
47175
|
function jV1(e, t, n, i, o) {
|
|
47176
47176
|
if (!i.isTextblock)
|
|
@@ -47186,7 +47186,7 @@ function jV1(e, t, n, i, o) {
|
|
|
47186
47186
|
}
|
|
47187
47187
|
d === !1 && OE(e, r, a, s), um(e, e.mapping.slice(s).map(a, 1), i, void 0, d === null);
|
|
47188
47188
|
let c = e.mapping.slice(s), u = c.map(a, 1), h = c.map(a + r.nodeSize, 1);
|
|
47189
|
-
return e.step(new c4(u, h, u + 1, h - 1, new
|
|
47189
|
+
return e.step(new c4(u, h, u + 1, h - 1, new S2(j1.from(i.create(l, null, r.marks)), 0, 0), 1, !0)), d === !0 && BE(e, r, a, s), !1;
|
|
47190
47190
|
}
|
|
47191
47191
|
});
|
|
47192
47192
|
}
|
|
@@ -47224,9 +47224,9 @@ function YV1(e, t, n, i, o) {
|
|
|
47224
47224
|
return e.replaceWith(t, t + s.nodeSize, r);
|
|
47225
47225
|
if (!n.validContent(s.content))
|
|
47226
47226
|
throw new RangeError("Invalid content for node type " + n.name);
|
|
47227
|
-
e.step(new c4(t, t + s.nodeSize, t + 1, t + s.nodeSize - 1, new
|
|
47227
|
+
e.step(new c4(t, t + s.nodeSize, t + 1, t + s.nodeSize - 1, new S2(j1.from(r), 0, 0), 1, !0));
|
|
47228
47228
|
}
|
|
47229
|
-
function
|
|
47229
|
+
function f8(e, t, n = 1, i) {
|
|
47230
47230
|
let o = e.resolve(t), s = o.depth - n, r = i && i[i.length - 1] || o.parent;
|
|
47231
47231
|
if (s < 0 || o.parent.type.spec.isolating || !o.parent.canReplace(o.index(), o.parent.childCount) || !r.type.validContent(o.parent.content.cutByIndex(o.index(), o.parent.childCount)))
|
|
47232
47232
|
return !1;
|
|
@@ -47250,7 +47250,7 @@ function XV1(e, t, n = 1, i) {
|
|
|
47250
47250
|
let c = i && i[d];
|
|
47251
47251
|
r = j1.from(c ? c.type.create(c.attrs, r) : o.node(a).copy(r));
|
|
47252
47252
|
}
|
|
47253
|
-
e.step(new a4(t, t, new
|
|
47253
|
+
e.step(new a4(t, t, new S2(s.append(r), n, n), !0));
|
|
47254
47254
|
}
|
|
47255
47255
|
function P7(e, t) {
|
|
47256
47256
|
let n = e.resolve(t), i = n.index();
|
|
@@ -47293,7 +47293,7 @@ function QV1(e, t, n) {
|
|
|
47293
47293
|
}
|
|
47294
47294
|
r.inlineContent && um(e, t + n - 1, r, s.node().contentMatchAt(s.index()), i == null);
|
|
47295
47295
|
let l = e.mapping.slice(a), d = l.map(t - n);
|
|
47296
|
-
if (e.step(new a4(d, l.map(t + n, -1),
|
|
47296
|
+
if (e.step(new a4(d, l.map(t + n, -1), S2.empty, !0)), i === !0) {
|
|
47297
47297
|
let c = e.doc.resolve(d);
|
|
47298
47298
|
BE(e, c.node(), c.before(), e.steps.length);
|
|
47299
47299
|
}
|
|
@@ -47342,7 +47342,7 @@ function DE(e, t, n) {
|
|
|
47342
47342
|
}
|
|
47343
47343
|
return null;
|
|
47344
47344
|
}
|
|
47345
|
-
function lc(e, t, n = t, i =
|
|
47345
|
+
function lc(e, t, n = t, i = S2.empty) {
|
|
47346
47346
|
if (t == n && !i.size)
|
|
47347
47347
|
return null;
|
|
47348
47348
|
let o = e.resolve(t), s = e.resolve(n);
|
|
@@ -47378,7 +47378,7 @@ class tH1 {
|
|
|
47378
47378
|
let s = this.placed, r = i.depth, a = o.depth;
|
|
47379
47379
|
for (; r && a && s.childCount == 1; )
|
|
47380
47380
|
s = s.firstChild.content, r--, a--;
|
|
47381
|
-
let l = new
|
|
47381
|
+
let l = new S2(s, r, a);
|
|
47382
47382
|
return t > -1 ? new c4(i.pos, t, this.$to.pos, this.$to.end(), l, n) : l.size || i.pos != this.$to.pos ? new a4(i.pos, o.pos, l) : null;
|
|
47383
47383
|
}
|
|
47384
47384
|
// Find a position on the start spine of `this.unplaced` that has
|
|
@@ -47412,15 +47412,15 @@ class tH1 {
|
|
|
47412
47412
|
}
|
|
47413
47413
|
openMore() {
|
|
47414
47414
|
let { content: t, openStart: n, openEnd: i } = this.unplaced, o = sp(t, n);
|
|
47415
|
-
return !o.childCount || o.firstChild.isLeaf ? !1 : (this.unplaced = new
|
|
47415
|
+
return !o.childCount || o.firstChild.isLeaf ? !1 : (this.unplaced = new S2(t, n + 1, Math.max(i, o.size + n >= t.size - i ? n + 1 : 0)), !0);
|
|
47416
47416
|
}
|
|
47417
47417
|
dropNode() {
|
|
47418
47418
|
let { content: t, openStart: n, openEnd: i } = this.unplaced, o = sp(t, n);
|
|
47419
47419
|
if (o.childCount <= 1 && n > 0) {
|
|
47420
47420
|
let s = t.size - n <= n + o.size;
|
|
47421
|
-
this.unplaced = new
|
|
47421
|
+
this.unplaced = new S2(ci(t, n - 1, 1), n - 1, s ? n - 1 : i);
|
|
47422
47422
|
} else
|
|
47423
|
-
this.unplaced = new
|
|
47423
|
+
this.unplaced = new S2(ci(t, n, 1), n, i);
|
|
47424
47424
|
}
|
|
47425
47425
|
// Move content from the unplaced slice at `sliceDepth` to the
|
|
47426
47426
|
// frontier node at `frontierDepth`. Close that frontier node when
|
|
@@ -47450,7 +47450,7 @@ class tH1 {
|
|
|
47450
47450
|
let b = w.lastChild;
|
|
47451
47451
|
this.frontier.push({ type: b.type, match: b.contentMatchAt(b.childCount) }), w = b.content;
|
|
47452
47452
|
}
|
|
47453
|
-
this.unplaced = m ? t == 0 ?
|
|
47453
|
+
this.unplaced = m ? t == 0 ? S2.empty : new S2(ci(r.content, t - 1, 1), t - 1, g < 0 ? r.openEnd : t - 1) : new S2(ci(r.content, t, d), r.openStart, r.openEnd);
|
|
47454
47454
|
}
|
|
47455
47455
|
mustMoveInline() {
|
|
47456
47456
|
if (!this.$to.parent.isTextblock)
|
|
@@ -47569,7 +47569,7 @@ function oH1(e, t, n, i) {
|
|
|
47569
47569
|
w < 0 && (b = !1, w = -w);
|
|
47570
47570
|
let S = o.node(w - 1), M = o.index(w - 1);
|
|
47571
47571
|
if (S.canReplaceWith(M, M, m.type, m.marks))
|
|
47572
|
-
return e.replace(o.before(w), b ? s.after(w) : n, new
|
|
47572
|
+
return e.replace(o.before(w), b ? s.after(w) : n, new S2(ZE(i.content, 0, i.openStart, g), g, i.openEnd));
|
|
47573
47573
|
}
|
|
47574
47574
|
}
|
|
47575
47575
|
let u = e.steps.length;
|
|
@@ -47594,7 +47594,7 @@ function sH1(e, t, n, i) {
|
|
|
47594
47594
|
let o = eH1(e.doc, t, i.type);
|
|
47595
47595
|
o != null && (t = n = o);
|
|
47596
47596
|
}
|
|
47597
|
-
e.replaceRange(t, n, new
|
|
47597
|
+
e.replaceRange(t, n, new S2(j1.from(i), 0, 0));
|
|
47598
47598
|
}
|
|
47599
47599
|
function rH1(e, t, n) {
|
|
47600
47600
|
let i = e.doc.resolve(t), o = e.doc.resolve(n), s = FE(i, o);
|
|
@@ -47636,7 +47636,7 @@ class G0 extends X4 {
|
|
|
47636
47636
|
i[s] = n.attrs[s];
|
|
47637
47637
|
i[this.attr] = this.value;
|
|
47638
47638
|
let o = n.type.create(i, null, n.marks);
|
|
47639
|
-
return F3.fromReplace(t, this.pos, this.pos + 1, new
|
|
47639
|
+
return F3.fromReplace(t, this.pos, this.pos + 1, new S2(j1.from(o), 0, n.isLeaf ? 0 : 1));
|
|
47640
47640
|
}
|
|
47641
47641
|
getMap() {
|
|
47642
47642
|
return G5.empty;
|
|
@@ -47765,7 +47765,7 @@ class UE {
|
|
|
47765
47765
|
Replace the part of the document between `from` and `to` with the
|
|
47766
47766
|
given `slice`.
|
|
47767
47767
|
*/
|
|
47768
|
-
replace(t, n = t, i =
|
|
47768
|
+
replace(t, n = t, i = S2.empty) {
|
|
47769
47769
|
let o = lc(this.doc, t, n, i);
|
|
47770
47770
|
return o && this.step(o), this;
|
|
47771
47771
|
}
|
|
@@ -47774,13 +47774,13 @@ class UE {
|
|
|
47774
47774
|
fragment, node, or array of nodes.
|
|
47775
47775
|
*/
|
|
47776
47776
|
replaceWith(t, n, i) {
|
|
47777
|
-
return this.replace(t, n, new
|
|
47777
|
+
return this.replace(t, n, new S2(j1.from(i), 0, 0));
|
|
47778
47778
|
}
|
|
47779
47779
|
/**
|
|
47780
47780
|
Delete the content between the given positions.
|
|
47781
47781
|
*/
|
|
47782
47782
|
delete(t, n) {
|
|
47783
|
-
return this.replace(t, n,
|
|
47783
|
+
return this.replace(t, n, S2.empty);
|
|
47784
47784
|
}
|
|
47785
47785
|
/**
|
|
47786
47786
|
Insert the given content at the given position.
|
|
@@ -48008,14 +48008,14 @@ class de {
|
|
|
48008
48008
|
Replace the selection with a slice or, if no slice is given,
|
|
48009
48009
|
delete the selection. Will append to the given transaction.
|
|
48010
48010
|
*/
|
|
48011
|
-
replace(t, n =
|
|
48011
|
+
replace(t, n = S2.empty) {
|
|
48012
48012
|
let i = n.content.lastChild, o = null;
|
|
48013
48013
|
for (let a = 0; a < n.openEnd; a++)
|
|
48014
48014
|
o = i, i = i.lastChild;
|
|
48015
48015
|
let s = t.steps.length, r = this.ranges;
|
|
48016
48016
|
for (let a = 0; a < r.length; a++) {
|
|
48017
48017
|
let { $from: l, $to: d } = r[a], c = t.mapping.slice(s);
|
|
48018
|
-
t.replaceRange(c.map(l.pos), c.map(d.pos), a ?
|
|
48018
|
+
t.replaceRange(c.map(l.pos), c.map(d.pos), a ? S2.empty : n), a == 0 && BM(t, s, (i ? i.isInline : o && o.isTextblock) ? -1 : 1);
|
|
48019
48019
|
}
|
|
48020
48020
|
}
|
|
48021
48021
|
/**
|
|
@@ -48141,8 +48141,8 @@ class ne extends de {
|
|
|
48141
48141
|
let o = t.resolve(n.map(this.anchor));
|
|
48142
48142
|
return new ne(o.parent.inlineContent ? o : i, i);
|
|
48143
48143
|
}
|
|
48144
|
-
replace(t, n =
|
|
48145
|
-
if (super.replace(t, n), n ==
|
|
48144
|
+
replace(t, n = S2.empty) {
|
|
48145
|
+
if (super.replace(t, n), n == S2.empty) {
|
|
48146
48146
|
let i = this.$from.marksAcross(this.$to);
|
|
48147
48147
|
i && t.ensureMarks(i);
|
|
48148
48148
|
}
|
|
@@ -48217,7 +48217,7 @@ class R2 extends de {
|
|
|
48217
48217
|
return i ? de.near(s) : new R2(s);
|
|
48218
48218
|
}
|
|
48219
48219
|
content() {
|
|
48220
|
-
return new
|
|
48220
|
+
return new S2(j1.from(this.node), 0, 0);
|
|
48221
48221
|
}
|
|
48222
48222
|
eq(t) {
|
|
48223
48223
|
return t instanceof R2 && t.anchor == this.anchor;
|
|
@@ -48272,8 +48272,8 @@ class _5 extends de {
|
|
|
48272
48272
|
constructor(t) {
|
|
48273
48273
|
super(t.resolve(0), t.resolve(t.content.size));
|
|
48274
48274
|
}
|
|
48275
|
-
replace(t, n =
|
|
48276
|
-
if (n ==
|
|
48275
|
+
replace(t, n = S2.empty) {
|
|
48276
|
+
if (n == S2.empty) {
|
|
48277
48277
|
t.delete(0, t.doc.content.size);
|
|
48278
48278
|
let i = de.atStart(t.doc);
|
|
48279
48279
|
i.eq(t.selection) || t.setSelection(i);
|
|
@@ -48760,7 +48760,7 @@ const M4 = function(e) {
|
|
|
48760
48760
|
return t && t.nodeType == 11 ? t.host : t;
|
|
48761
48761
|
};
|
|
48762
48762
|
let bf = null;
|
|
48763
|
-
const
|
|
48763
|
+
const t8 = function(e, t, n) {
|
|
48764
48764
|
let i = bf || (bf = document.createRange());
|
|
48765
48765
|
return i.setEnd(e, n ?? e.nodeValue.length), i.setStart(e, t || 0), i;
|
|
48766
48766
|
}, CH1 = function() {
|
|
@@ -48864,9 +48864,9 @@ function mH1(e, t, n) {
|
|
|
48864
48864
|
return { node: i.startContainer, offset: Math.min(p6(i.startContainer), i.startOffset) };
|
|
48865
48865
|
}
|
|
48866
48866
|
}
|
|
48867
|
-
const
|
|
48867
|
+
const E9 = typeof navigator < "u" ? navigator : null, RM = typeof document < "u" ? document : null, B7 = E9 && E9.userAgent || "", vf = /Edge\/(\d+)/.exec(B7), GE = /MSIE \d/.exec(B7), Sf = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(B7), M5 = !!(GE || Sf || vf), w7 = GE ? document.documentMode : Sf ? +Sf[1] : vf ? +vf[1] : 0, y6 = !M5 && /gecko\/(\d+)/i.test(B7);
|
|
48868
48868
|
y6 && +(/Firefox\/(\d+)/.exec(B7) || [0, 0])[1];
|
|
48869
|
-
const _f = !M5 && /Chrome\/(\d+)/.exec(B7), x4 = !!_f, WE = _f ? +_f[1] : 0, W4 = !M5 && !!
|
|
48869
|
+
const _f = !M5 && /Chrome\/(\d+)/.exec(B7), x4 = !!_f, WE = _f ? +_f[1] : 0, W4 = !M5 && !!E9 && /Apple Computer/.test(E9.vendor), rn = W4 && (/Mobile\/\w+/.test(B7) || !!E9 && E9.maxTouchPoints > 2), c6 = rn || (E9 ? /Mac/.test(E9.platform) : !1), jE = E9 ? /Win/.test(E9.platform) : !1, d8 = /Android \d/.test(B7), Do = !!RM && "webkitFontSmoothing" in RM.documentElement.style, yH1 = Do ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
48870
48870
|
function wH1(e) {
|
|
48871
48871
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
48872
48872
|
return t ? {
|
|
@@ -48881,7 +48881,7 @@ function wH1(e) {
|
|
|
48881
48881
|
bottom: e.documentElement.clientHeight
|
|
48882
48882
|
};
|
|
48883
48883
|
}
|
|
48884
|
-
function
|
|
48884
|
+
function G9(e, t) {
|
|
48885
48885
|
return typeof e == "number" ? e : e[t];
|
|
48886
48886
|
}
|
|
48887
48887
|
function bH1(e) {
|
|
@@ -48901,7 +48901,7 @@ function ZM(e, t, n) {
|
|
|
48901
48901
|
continue;
|
|
48902
48902
|
}
|
|
48903
48903
|
let a = r, l = a == s.body, d = l ? wH1(s) : bH1(a), c = 0, u = 0;
|
|
48904
|
-
if (t.top < d.top +
|
|
48904
|
+
if (t.top < d.top + G9(i, "top") ? u = -(d.top - t.top + G9(o, "top")) : t.bottom > d.bottom - G9(i, "bottom") && (u = t.bottom - t.top > d.bottom - d.top ? t.top + G9(o, "top") - d.top : t.bottom - d.bottom + G9(o, "bottom")), t.left < d.left + G9(i, "left") ? c = -(d.left - t.left + G9(o, "left")) : t.right > d.right - G9(i, "right") && (c = t.right - d.right + G9(o, "right")), c || u)
|
|
48905
48905
|
if (l)
|
|
48906
48906
|
s.defaultView.scrollBy(c, u);
|
|
48907
48907
|
else {
|
|
@@ -48966,7 +48966,7 @@ function XE(e, t) {
|
|
|
48966
48966
|
if (c.nodeType == 1)
|
|
48967
48967
|
h = c.getClientRects();
|
|
48968
48968
|
else if (c.nodeType == 3)
|
|
48969
|
-
h =
|
|
48969
|
+
h = t8(c).getClientRects();
|
|
48970
48970
|
else
|
|
48971
48971
|
continue;
|
|
48972
48972
|
for (let g = 0; g < h.length; g++) {
|
|
@@ -49086,11 +49086,11 @@ function QE(e, t, n) {
|
|
|
49086
49086
|
let { node: i, offset: o, atom: s } = e.docView.domFromPos(t, n < 0 ? -1 : 1), r = Do || y6;
|
|
49087
49087
|
if (i.nodeType == 3)
|
|
49088
49088
|
if (r && (HH1.test(i.nodeValue) || (n < 0 ? !o : o == i.nodeValue.length))) {
|
|
49089
|
-
let l = q8(
|
|
49089
|
+
let l = q8(t8(i, o, o), n);
|
|
49090
49090
|
if (y6 && o && /\s/.test(i.nodeValue[o - 1]) && o < i.nodeValue.length) {
|
|
49091
|
-
let d = q8(
|
|
49091
|
+
let d = q8(t8(i, o - 1, o - 1), -1);
|
|
49092
49092
|
if (d.top == l.top) {
|
|
49093
|
-
let c = q8(
|
|
49093
|
+
let c = q8(t8(i, o, o + 1), -1);
|
|
49094
49094
|
if (c.top != l.top)
|
|
49095
49095
|
return ti(c, c.left < d.left);
|
|
49096
49096
|
}
|
|
@@ -49098,7 +49098,7 @@ function QE(e, t, n) {
|
|
|
49098
49098
|
return l;
|
|
49099
49099
|
} else {
|
|
49100
49100
|
let l = o, d = o, c = n < 0 ? 1 : -1;
|
|
49101
|
-
return n < 0 && !o ? (d++, c = -1) : n >= 0 && o == i.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : d++, ti(q8(
|
|
49101
|
+
return n < 0 && !o ? (d++, c = -1) : n >= 0 && o == i.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : d++, ti(q8(t8(i, l, d), c), c < 0);
|
|
49102
49102
|
}
|
|
49103
49103
|
if (!e.state.doc.resolve(t - (s || 0)).parent.inlineContent) {
|
|
49104
49104
|
if (s == null && o && (n < 0 || o == p6(i))) {
|
|
@@ -49114,7 +49114,7 @@ function QE(e, t, n) {
|
|
|
49114
49114
|
return cp(i.getBoundingClientRect(), n >= 0);
|
|
49115
49115
|
}
|
|
49116
49116
|
if (s == null && o && (n < 0 || o == p6(i))) {
|
|
49117
|
-
let l = i.childNodes[o - 1], d = l.nodeType == 3 ?
|
|
49117
|
+
let l = i.childNodes[o - 1], d = l.nodeType == 3 ? t8(l, p6(l) - (r ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
|
|
49118
49118
|
if (d)
|
|
49119
49119
|
return ti(q8(d, 1), !1);
|
|
49120
49120
|
}
|
|
@@ -49122,11 +49122,11 @@ function QE(e, t, n) {
|
|
|
49122
49122
|
let l = i.childNodes[o];
|
|
49123
49123
|
for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
|
|
49124
49124
|
l = l.nextSibling;
|
|
49125
|
-
let d = l ? l.nodeType == 3 ?
|
|
49125
|
+
let d = l ? l.nodeType == 3 ? t8(l, 0, r ? 0 : 1) : l.nodeType == 1 ? l : null : null;
|
|
49126
49126
|
if (d)
|
|
49127
49127
|
return ti(q8(d, -1), !0);
|
|
49128
49128
|
}
|
|
49129
|
-
return ti(q8(i.nodeType == 3 ?
|
|
49129
|
+
return ti(q8(i.nodeType == 3 ? t8(i) : i, -n), n >= 0);
|
|
49130
49130
|
}
|
|
49131
49131
|
function ti(e, t) {
|
|
49132
49132
|
if (e.width == 0)
|
|
@@ -49169,7 +49169,7 @@ function xH1(e, t, n) {
|
|
|
49169
49169
|
if (a.nodeType == 1)
|
|
49170
49170
|
l = a.getClientRects();
|
|
49171
49171
|
else if (a.nodeType == 3)
|
|
49172
|
-
l =
|
|
49172
|
+
l = t8(a, 0, a.nodeValue.length).getClientRects();
|
|
49173
49173
|
else
|
|
49174
49174
|
continue;
|
|
49175
49175
|
for (let d = 0; d < l.length; d++) {
|
|
@@ -49202,7 +49202,7 @@ let UM = null, zM = null, qM = !1;
|
|
|
49202
49202
|
function AH1(e, t, n) {
|
|
49203
49203
|
return UM == t && zM == n ? qM : (UM = t, zM = n, qM = n == "up" || n == "down" ? xH1(e, t, n) : EH1(e, t, n));
|
|
49204
49204
|
}
|
|
49205
|
-
const w6 = 0, GM = 1, st = 2,
|
|
49205
|
+
const w6 = 0, GM = 1, st = 2, A9 = 3;
|
|
49206
49206
|
class No {
|
|
49207
49207
|
constructor(t, n, i, o) {
|
|
49208
49208
|
this.parent = t, this.children = n, this.dom = i, this.contentDOM = o, this.dirty = w6, i.pmViewDesc = this;
|
|
@@ -49518,10 +49518,10 @@ class No {
|
|
|
49518
49518
|
if (i == r ? t <= r && n >= i : t < r && n > i) {
|
|
49519
49519
|
let a = i + s.border, l = r - s.border;
|
|
49520
49520
|
if (t >= a && n <= l) {
|
|
49521
|
-
this.dirty = t == i || n == r ? st : GM, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty =
|
|
49521
|
+
this.dirty = t == i || n == r ? st : GM, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = A9 : s.markDirty(t - a, n - a);
|
|
49522
49522
|
return;
|
|
49523
49523
|
} else
|
|
49524
|
-
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? st :
|
|
49524
|
+
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? st : A9;
|
|
49525
49525
|
}
|
|
49526
49526
|
i = r;
|
|
49527
49527
|
}
|
|
@@ -49616,10 +49616,10 @@ class Et extends No {
|
|
|
49616
49616
|
return (!r || !r.dom) && (r = qt.renderSpec(document, n.type.spec.toDOM(n, i), null, n.attrs)), new Et(t, n, r.dom, r.contentDOM || r.dom, r);
|
|
49617
49617
|
}
|
|
49618
49618
|
parseRule() {
|
|
49619
|
-
return this.dirty &
|
|
49619
|
+
return this.dirty & A9 || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
49620
49620
|
}
|
|
49621
49621
|
matchesMark(t) {
|
|
49622
|
-
return this.dirty !=
|
|
49622
|
+
return this.dirty != A9 && this.mark.eq(t);
|
|
49623
49623
|
}
|
|
49624
49624
|
markDirty(t, n) {
|
|
49625
49625
|
if (super.markDirty(t, n), this.dirty != w6) {
|
|
@@ -49746,7 +49746,7 @@ class b7 extends No {
|
|
|
49746
49746
|
// If this desc must be updated to match the given node decoration,
|
|
49747
49747
|
// do so and return true.
|
|
49748
49748
|
update(t, n, i, o) {
|
|
49749
|
-
return this.dirty ==
|
|
49749
|
+
return this.dirty == A9 || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, o), !0);
|
|
49750
49750
|
}
|
|
49751
49751
|
updateInner(t, n, i, o) {
|
|
49752
49752
|
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = w6;
|
|
@@ -49785,7 +49785,7 @@ class Cc extends b7 {
|
|
|
49785
49785
|
return { skip: t || !0 };
|
|
49786
49786
|
}
|
|
49787
49787
|
update(t, n, i, o) {
|
|
49788
|
-
return this.dirty ==
|
|
49788
|
+
return this.dirty == A9 || this.dirty != w6 && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != w6 || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = w6, !0);
|
|
49789
49789
|
}
|
|
49790
49790
|
inParent() {
|
|
49791
49791
|
let t = this.parent.contentDOM;
|
|
@@ -49808,7 +49808,7 @@ class Cc extends b7 {
|
|
|
49808
49808
|
return new Cc(this.parent, o, this.outerDeco, this.innerDeco, s, s, i);
|
|
49809
49809
|
}
|
|
49810
49810
|
markDirty(t, n) {
|
|
49811
|
-
super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
49811
|
+
super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = A9);
|
|
49812
49812
|
}
|
|
49813
49813
|
get domAtom() {
|
|
49814
49814
|
return !1;
|
|
@@ -49839,7 +49839,7 @@ class BH1 extends b7 {
|
|
|
49839
49839
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
49840
49840
|
// updates the children.
|
|
49841
49841
|
update(t, n, i, o) {
|
|
49842
|
-
if (this.dirty ==
|
|
49842
|
+
if (this.dirty == A9)
|
|
49843
49843
|
return !1;
|
|
49844
49844
|
if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
|
|
49845
49845
|
let s = this.spec.update(t, n, i);
|
|
@@ -50019,7 +50019,7 @@ class $H1 {
|
|
|
50019
50019
|
}
|
|
50020
50020
|
updateNodeAt(t, n, i, o, s) {
|
|
50021
50021
|
let r = this.top.children[o];
|
|
50022
|
-
return r.dirty ==
|
|
50022
|
+
return r.dirty == A9 && r.dom == r.contentDOM && (r.dirty = st), r.update(t, n, i, s) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
|
|
50023
50023
|
}
|
|
50024
50024
|
findIndexWithChild(t) {
|
|
50025
50025
|
for (; ; ) {
|
|
@@ -50047,7 +50047,7 @@ class $H1 {
|
|
|
50047
50047
|
let d = this.preMatch.matched.get(l);
|
|
50048
50048
|
if (d != null && d != s)
|
|
50049
50049
|
return !1;
|
|
50050
|
-
let c = l.dom, u, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty !=
|
|
50050
|
+
let c = l.dom, u, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty != A9 && Fl(n, l.outerDeco));
|
|
50051
50051
|
if (!h && l.update(t, n, i, o))
|
|
50052
50052
|
return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
|
|
50053
50053
|
if (!h && (u = this.recreateWrapper(l, t, n, i, o, r)))
|
|
@@ -50264,7 +50264,7 @@ function gm(e, t = null) {
|
|
|
50264
50264
|
function rA(e) {
|
|
50265
50265
|
return e.editable ? e.hasFocus() : lA(e) && document.activeElement && document.activeElement.contains(e.dom);
|
|
50266
50266
|
}
|
|
50267
|
-
function
|
|
50267
|
+
function g8(e, t = !1) {
|
|
50268
50268
|
let n = e.state.selection;
|
|
50269
50269
|
if (aA(e, n), !!rA(e)) {
|
|
50270
50270
|
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && x4) {
|
|
@@ -50506,7 +50506,7 @@ function Tf(e, t, n) {
|
|
|
50506
50506
|
e.domObserver.setCurSelection();
|
|
50507
50507
|
let { state: o } = e;
|
|
50508
50508
|
setTimeout(() => {
|
|
50509
|
-
e.state == o &&
|
|
50509
|
+
e.state == o && g8(e);
|
|
50510
50510
|
}, 50);
|
|
50511
50511
|
}
|
|
50512
50512
|
function tk(e, t) {
|
|
@@ -50637,7 +50637,7 @@ function cA(e, t, n, i, o) {
|
|
|
50637
50637
|
if (e.someProp("transformPastedText", (h) => {
|
|
50638
50638
|
t = h(t, s || i, e);
|
|
50639
50639
|
}), s)
|
|
50640
|
-
return a = new
|
|
50640
|
+
return a = new S2(j1.from(e.state.schema.text(t.replace(/\r\n?/g, `
|
|
50641
50641
|
`))), 0, 0), e.someProp("transformPasted", (h) => {
|
|
50642
50642
|
a = h(a, e, !0);
|
|
50643
50643
|
}), a;
|
|
@@ -50673,7 +50673,7 @@ function cA(e, t, n, i, o) {
|
|
|
50673
50673
|
}
|
|
50674
50674
|
})), c)
|
|
50675
50675
|
a = ox1(sk(a, +c[1], +c[2]), c[4]);
|
|
50676
|
-
else if (a =
|
|
50676
|
+
else if (a = S2.maxOpen(ex1(a.content, o), !0), a.openStart || a.openEnd) {
|
|
50677
50677
|
let u = 0, h = 0;
|
|
50678
50678
|
for (let g = a.content.firstChild; u < a.openStart && !g.type.spec.isolating; u++, g = g.firstChild)
|
|
50679
50679
|
;
|
|
@@ -50734,7 +50734,7 @@ function Vf(e, t, n, i, o, s) {
|
|
|
50734
50734
|
return e.childCount > 1 && (s = 0), o < i - 1 && (a = Vf(a, t, n, i, o + 1, s)), o >= n && (a = t < 0 ? r.contentMatchAt(0).fillBefore(a, s <= o).append(a) : a.append(r.contentMatchAt(r.childCount).fillBefore(j1.empty, !0))), e.replaceChild(t < 0 ? 0 : e.childCount - 1, r.copy(a));
|
|
50735
50735
|
}
|
|
50736
50736
|
function sk(e, t, n) {
|
|
50737
|
-
return t < e.openStart && (e = new
|
|
50737
|
+
return t < e.openStart && (e = new S2(Vf(e.content, -1, t, e.openStart, 0, e.openEnd), t, e.openEnd)), n < e.openEnd && (e = new S2(Vf(e.content, 1, n, e.openEnd, 0, 0), e.openStart, n)), e;
|
|
50738
50738
|
}
|
|
50739
50739
|
const hA = {
|
|
50740
50740
|
thead: ["table"],
|
|
@@ -50788,7 +50788,7 @@ function ox1(e, t) {
|
|
|
50788
50788
|
break;
|
|
50789
50789
|
o = j1.from(l.create(i[a + 1], o)), s++, r++;
|
|
50790
50790
|
}
|
|
50791
|
-
return new
|
|
50791
|
+
return new S2(o, s, r);
|
|
50792
50792
|
}
|
|
50793
50793
|
const a5 = {}, l5 = {}, sx1 = { touchstart: !0, touchmove: !0 };
|
|
50794
50794
|
class rx1 {
|
|
@@ -50841,7 +50841,7 @@ function cx1(e, t) {
|
|
|
50841
50841
|
}
|
|
50842
50842
|
l5.keydown = (e, t) => {
|
|
50843
50843
|
let n = t;
|
|
50844
|
-
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !mA(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(
|
|
50844
|
+
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !mA(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(d8 && x4 && n.keyCode == 13)))
|
|
50845
50845
|
if (n.keyCode != 229 && e.domObserver.forceFlush(), rn && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
50846
50846
|
let i = Date.now();
|
|
50847
50847
|
e.input.lastIOSEnter = i, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -50971,7 +50971,7 @@ class yx1 {
|
|
|
50971
50971
|
}, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), C7(t, "pointer");
|
|
50972
50972
|
}
|
|
50973
50973
|
done() {
|
|
50974
|
-
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() =>
|
|
50974
|
+
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => g8(this.view)), this.view.input.mouseDown = null;
|
|
50975
50975
|
}
|
|
50976
50976
|
up(t) {
|
|
50977
50977
|
if (this.done(), !this.view.dom.contains(t.target))
|
|
@@ -51004,7 +51004,7 @@ a5.contextmenu = (e) => vm(e);
|
|
|
51004
51004
|
function mA(e, t) {
|
|
51005
51005
|
return e.composing ? !0 : W4 && Math.abs(t.timeStamp - e.input.compositionEndedAt) < 500 ? (e.input.compositionEndedAt = -2e8, !0) : !1;
|
|
51006
51006
|
}
|
|
51007
|
-
const wx1 =
|
|
51007
|
+
const wx1 = d8 ? 5e3 : -1;
|
|
51008
51008
|
l5.compositionstart = l5.compositionupdate = (e) => {
|
|
51009
51009
|
if (!e.composing) {
|
|
51010
51010
|
e.domObserver.flush();
|
|
@@ -51070,7 +51070,7 @@ function Sx1() {
|
|
|
51070
51070
|
return e.initEvent("event", !0, !0), e.timeStamp;
|
|
51071
51071
|
}
|
|
51072
51072
|
function zl(e, t = !1) {
|
|
51073
|
-
if (!(
|
|
51073
|
+
if (!(d8 && e.domObserver.flushingSoon >= 0)) {
|
|
51074
51074
|
if (e.domObserver.forceFlush(), wA(e), t || e.docView && e.docView.dirty) {
|
|
51075
51075
|
let n = gm(e), i = e.state.selection;
|
|
51076
51076
|
return n && !n.eq(i) ? e.dispatch(e.state.tr.setSelection(n)) : (e.markCursor || t) && !i.$from.node(i.$from.sharedDepth(i.to)).inlineContent ? e.dispatch(e.state.tr.deleteSelection()) : e.updateState(e.state), !0;
|
|
@@ -51111,7 +51111,7 @@ function kx1(e, t) {
|
|
|
51111
51111
|
}
|
|
51112
51112
|
function no(e, t, n, i, o) {
|
|
51113
51113
|
let s = cA(e, t, n, i, e.state.selection.$from);
|
|
51114
|
-
if (e.someProp("handlePaste", (l) => l(e, o, s ||
|
|
51114
|
+
if (e.someProp("handlePaste", (l) => l(e, o, s || S2.empty)))
|
|
51115
51115
|
return !0;
|
|
51116
51116
|
if (!s)
|
|
51117
51117
|
return !1;
|
|
@@ -51127,7 +51127,7 @@ function bA(e) {
|
|
|
51127
51127
|
}
|
|
51128
51128
|
l5.paste = (e, t) => {
|
|
51129
51129
|
let n = t;
|
|
51130
|
-
if (e.composing && !
|
|
51130
|
+
if (e.composing && !d8)
|
|
51131
51131
|
return;
|
|
51132
51132
|
let i = to ? null : n.clipboardData, o = e.input.shiftKey && e.input.lastKeyCode != 45;
|
|
51133
51133
|
i && no(e, bA(i), i.getData("text/html"), o, n) ? n.preventDefault() : kx1(e, n);
|
|
@@ -51183,7 +51183,7 @@ function Tx1(e, t, n) {
|
|
|
51183
51183
|
s = g(s, e, !1);
|
|
51184
51184
|
}) : s = cA(e, bA(t.dataTransfer), to ? null : t.dataTransfer.getData("text/html"), !1, o);
|
|
51185
51185
|
let r = !!(n && SA(e, t));
|
|
51186
|
-
if (e.someProp("handleDrop", (g) => g(e, t, s ||
|
|
51186
|
+
if (e.someProp("handleDrop", (g) => g(e, t, s || S2.empty, r))) {
|
|
51187
51187
|
t.preventDefault();
|
|
51188
51188
|
return;
|
|
51189
51189
|
}
|
|
@@ -51211,7 +51211,7 @@ function Tx1(e, t, n) {
|
|
|
51211
51211
|
}
|
|
51212
51212
|
a5.focus = (e) => {
|
|
51213
51213
|
e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
|
|
51214
|
-
e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) &&
|
|
51214
|
+
e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && g8(e);
|
|
51215
51215
|
}, 20));
|
|
51216
51216
|
};
|
|
51217
51217
|
a5.blur = (e, t) => {
|
|
@@ -51219,7 +51219,7 @@ a5.blur = (e, t) => {
|
|
|
51219
51219
|
e.focused && (e.domObserver.stop(), e.dom.classList.remove("ProseMirror-focused"), e.domObserver.start(), n.relatedTarget && e.dom.contains(n.relatedTarget) && e.domObserver.currentSelection.clear(), e.focused = !1);
|
|
51220
51220
|
};
|
|
51221
51221
|
a5.beforeinput = (e, t) => {
|
|
51222
|
-
if (x4 &&
|
|
51222
|
+
if (x4 && d8 && t.inputType == "deleteContentBackward") {
|
|
51223
51223
|
e.domObserver.flushSoon();
|
|
51224
51224
|
let { domChangeCount: i } = e.input;
|
|
51225
51225
|
setTimeout(() => {
|
|
@@ -51807,7 +51807,7 @@ class Ax1 {
|
|
|
51807
51807
|
onSelectionChange() {
|
|
51808
51808
|
if (QM(this.view)) {
|
|
51809
51809
|
if (this.suppressingSelectionUpdates)
|
|
51810
|
-
return
|
|
51810
|
+
return g8(this.view);
|
|
51811
51811
|
if (M5 && w7 <= 11 && !this.view.state.selection.empty) {
|
|
51812
51812
|
let t = this.view.domSelectionRange();
|
|
51813
51813
|
if (t.focusNode && It(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
|
|
@@ -51875,7 +51875,7 @@ class Ax1 {
|
|
|
51875
51875
|
}
|
|
51876
51876
|
}
|
|
51877
51877
|
let d = null;
|
|
51878
|
-
s < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && cc(i) && (d = gm(t)) && d.eq(de.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0,
|
|
51878
|
+
s < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && cc(i) && (d = gm(t)) && d.eq(de.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, g8(t), this.currentSelection.set(i), t.scrollToSelection()) : (s > -1 || o) && (s > -1 && (t.docView.markDirty(s, r), Px1(t)), t.input.badSafariComposition && (t.input.badSafariComposition = !1, $x1(t, l)), this.handleDOMChange(s, r, a, l), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(i) || g8(t), this.currentSelection.set(i));
|
|
51879
51879
|
}
|
|
51880
51880
|
registerMutation(t, n) {
|
|
51881
51881
|
if (n.indexOf(t.target) > -1)
|
|
@@ -52012,7 +52012,7 @@ function Zx1(e, t, n, i, o) {
|
|
|
52012
52012
|
if (e.input.compositionPendingChanges = 0, t < 0) {
|
|
52013
52013
|
let N = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, O = gm(e, N);
|
|
52014
52014
|
if (O && !e.state.selection.eq(O)) {
|
|
52015
|
-
if (x4 &&
|
|
52015
|
+
if (x4 && d8 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (F) => F(e, Q7(13, "Enter"))))
|
|
52016
52016
|
return;
|
|
52017
52017
|
let Z = e.state.tr.setSelection(O);
|
|
52018
52018
|
N == "pointer" ? Z.setMeta("pointer", !0) : N == "key" && Z.scrollIntoView(), s && Z.setMeta("composition", s), e.dispatch(Z);
|
|
@@ -52024,7 +52024,7 @@ function Zx1(e, t, n, i, o) {
|
|
|
52024
52024
|
let l = e.state.selection, d = Dx1(e, t, n), c = e.state.doc, u = c.slice(d.from, d.to), h, g;
|
|
52025
52025
|
e.input.lastKeyCode === 8 && Date.now() - 100 < e.input.lastKeyCodeTime ? (h = e.state.selection.to, g = "end") : (h = e.state.selection.from, g = "start"), e.input.lastKeyCode = null;
|
|
52026
52026
|
let m = zx1(u.content, d.doc.content, d.from, h, g);
|
|
52027
|
-
if (m && e.input.domChangeCount++, (rn && e.input.lastIOSEnter > Date.now() - 225 ||
|
|
52027
|
+
if (m && e.input.domChangeCount++, (rn && e.input.lastIOSEnter > Date.now() - 225 || d8) && o.some((N) => N.nodeType == 1 && !Rx1.test(N.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (N) => N(e, Q7(13, "Enter")))) {
|
|
52028
52028
|
e.input.lastIOSEnter = 0;
|
|
52029
52029
|
return;
|
|
52030
52030
|
}
|
|
@@ -52048,10 +52048,10 @@ function Zx1(e, t, n, i, o) {
|
|
|
52048
52048
|
return;
|
|
52049
52049
|
}
|
|
52050
52050
|
if (e.state.selection.anchor > m.start && Ux1(c, m.start, m.endA, y, w) && e.someProp("handleKeyDown", (N) => N(e, Q7(8, "Backspace")))) {
|
|
52051
|
-
|
|
52051
|
+
d8 && x4 && e.domObserver.suppressSelectionUpdates();
|
|
52052
52052
|
return;
|
|
52053
52053
|
}
|
|
52054
|
-
x4 && m.endB == m.start && (e.input.lastChromeDelete = Date.now()),
|
|
52054
|
+
x4 && m.endB == m.start && (e.input.lastChromeDelete = Date.now()), d8 && !S && y.start() != w.start() && w.parentOffset == 0 && y.depth == w.depth && d.sel && d.sel.anchor == d.sel.head && d.sel.head == m.endA && (m.endB -= 2, w = d.doc.resolveNoCache(m.endB - d.from), setTimeout(() => {
|
|
52055
52055
|
e.someProp("handleKeyDown", function(N) {
|
|
52056
52056
|
return N(e, Q7(13, "Enter"));
|
|
52057
52057
|
});
|
|
@@ -52066,7 +52066,7 @@ function Zx1(e, t, n, i, o) {
|
|
|
52066
52066
|
}, x;
|
|
52067
52067
|
if (S)
|
|
52068
52068
|
if (y.pos == w.pos) {
|
|
52069
|
-
M5 && w7 <= 11 && y.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() =>
|
|
52069
|
+
M5 && w7 <= 11 && y.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => g8(e), 20));
|
|
52070
52070
|
let N = V(e.state.tr.delete(M, _)), O = c.resolve(m.start).marksAcross(c.resolve(m.endA));
|
|
52071
52071
|
O && N.ensureMarks(O), e.dispatch(N);
|
|
52072
52072
|
} else if (
|
|
@@ -52238,7 +52238,7 @@ class LA {
|
|
|
52238
52238
|
let m = x4 ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
52239
52239
|
this.composing && (this.input.compositionNode = vx1(this)), (s || !this.docView.update(t.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = WM(t.doc, d, l, this.dom, this)), m && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (g = !0);
|
|
52240
52240
|
}
|
|
52241
|
-
g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && qH1(this)) ?
|
|
52241
|
+
g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && qH1(this)) ? g8(this, g) : (aA(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
52242
52242
|
}
|
|
52243
52243
|
this.updatePluginViews(o), !((i = this.dragging) === null || i === void 0) && i.node && !o.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, o), c == "reset" ? this.dom.scrollTop = 0 : c == "to selection" ? this.scrollToSelection() : h && SH1(h);
|
|
52244
52244
|
}
|
|
@@ -52327,7 +52327,7 @@ class LA {
|
|
|
52327
52327
|
Focus the editor.
|
|
52328
52328
|
*/
|
|
52329
52329
|
focus() {
|
|
52330
|
-
this.domObserver.stop(), this.editable && _H1(this.dom),
|
|
52330
|
+
this.domObserver.stop(), this.editable && _H1(this.dom), g8(this), this.domObserver.start();
|
|
52331
52331
|
}
|
|
52332
52332
|
/**
|
|
52333
52333
|
Get the document root in which the editor exists. This will
|
|
@@ -52700,7 +52700,7 @@ const HA = (e, t, n) => {
|
|
|
52700
52700
|
return !0;
|
|
52701
52701
|
if (i.parent.content.size == 0 && (an(s, "end") || R2.isSelectable(s)))
|
|
52702
52702
|
for (let r = i.depth; ; r--) {
|
|
52703
|
-
let a = lc(e.doc, i.before(r), i.after(r),
|
|
52703
|
+
let a = lc(e.doc, i.before(r), i.after(r), S2.empty);
|
|
52704
52704
|
if (a && a.slice.size < a.to - a.from) {
|
|
52705
52705
|
if (t) {
|
|
52706
52706
|
let l = e.tr.step(a);
|
|
@@ -52744,7 +52744,7 @@ function xA(e, t, n) {
|
|
|
52744
52744
|
return !1;
|
|
52745
52745
|
a = c;
|
|
52746
52746
|
}
|
|
52747
|
-
let d = lc(e.doc, s, l,
|
|
52747
|
+
let d = lc(e.doc, s, l, S2.empty);
|
|
52748
52748
|
if (!d || d.from != s || d instanceof a4 && d.slice.size >= l - s)
|
|
52749
52749
|
return !1;
|
|
52750
52750
|
if (n) {
|
|
@@ -52799,7 +52799,7 @@ const AA = (e, t, n) => {
|
|
|
52799
52799
|
if (DA(e, o, t, 1))
|
|
52800
52800
|
return !0;
|
|
52801
52801
|
if (i.parent.content.size == 0 && (an(s, "start") || R2.isSelectable(s))) {
|
|
52802
|
-
let r = lc(e.doc, i.before(), i.after(),
|
|
52802
|
+
let r = lc(e.doc, i.before(), i.after(), S2.empty);
|
|
52803
52803
|
if (r && r.slice.size < r.to - r.from) {
|
|
52804
52804
|
if (t) {
|
|
52805
52805
|
let a = e.tr.step(r);
|
|
@@ -52900,7 +52900,7 @@ const rI1 = (e, t) => {
|
|
|
52900
52900
|
return !1;
|
|
52901
52901
|
if (n.depth > 1 && n.after() != n.end(-1)) {
|
|
52902
52902
|
let s = n.before();
|
|
52903
|
-
if (
|
|
52903
|
+
if (f8(e.doc, s))
|
|
52904
52904
|
return t && t(e.tr.split(s).scrollIntoView()), !0;
|
|
52905
52905
|
}
|
|
52906
52906
|
let i = n.blockRange(), o = i && Tn(i);
|
|
@@ -52910,7 +52910,7 @@ function aI1(e) {
|
|
|
52910
52910
|
return (t, n) => {
|
|
52911
52911
|
let { $from: i, $to: o } = t.selection;
|
|
52912
52912
|
if (t.selection instanceof R2 && t.selection.node.isBlock)
|
|
52913
|
-
return !i.parentOffset || !
|
|
52913
|
+
return !i.parentOffset || !f8(t.doc, i.pos) ? !1 : (n && n(t.tr.split(i.pos).scrollIntoView()), !0);
|
|
52914
52914
|
if (!i.depth)
|
|
52915
52915
|
return !1;
|
|
52916
52916
|
let s = [], r, a, l = !1, d = !1;
|
|
@@ -52925,8 +52925,8 @@ function aI1(e) {
|
|
|
52925
52925
|
}
|
|
52926
52926
|
let c = t.tr;
|
|
52927
52927
|
(t.selection instanceof ne || t.selection instanceof _5) && c.deleteSelection();
|
|
52928
|
-
let u = c.mapping.map(i.pos), h =
|
|
52929
|
-
if (h || (s[0] = a ? { type: a } : null, h =
|
|
52928
|
+
let u = c.mapping.map(i.pos), h = f8(c.doc, u, s.length, s);
|
|
52929
|
+
if (h || (s[0] = a ? { type: a } : null, h = f8(c.doc, u, s.length, s)), !h)
|
|
52930
52930
|
return !1;
|
|
52931
52931
|
if (c.split(u, s.length, s), !l && d && i.node(r).type != a) {
|
|
52932
52932
|
let g = c.mapping.map(i.before(r)), m = c.doc.resolve(g);
|
|
@@ -52954,7 +52954,7 @@ function DA(e, t, n, i) {
|
|
|
52954
52954
|
for (let b = r.length - 1; b >= 0; b--)
|
|
52955
52955
|
m = j1.from(r[b].create(null, m));
|
|
52956
52956
|
m = j1.from(o.copy(m));
|
|
52957
|
-
let y = e.tr.step(new c4(t.pos - 1, g, t.pos, g, new
|
|
52957
|
+
let y = e.tr.step(new c4(t.pos - 1, g, t.pos, g, new S2(m, 1, 0), r.length, !0)), w = y.doc.resolve(g + 2 * r.length);
|
|
52958
52958
|
w.nodeAfter && w.nodeAfter.type == o.type && P7(y.doc, w.pos) && y.join(w.pos), n(y.scrollIntoView());
|
|
52959
52959
|
}
|
|
52960
52960
|
return !0;
|
|
@@ -52974,7 +52974,7 @@ function DA(e, t, n, i) {
|
|
|
52974
52974
|
let b = j1.empty;
|
|
52975
52975
|
for (let M = m.length - 1; M >= 0; M--)
|
|
52976
52976
|
b = j1.from(m[M].copy(b));
|
|
52977
|
-
let S = e.tr.step(new c4(t.pos - m.length, t.pos + s.nodeSize, t.pos + w, t.pos + s.nodeSize - w, new
|
|
52977
|
+
let S = e.tr.step(new c4(t.pos - m.length, t.pos + s.nodeSize, t.pos + w, t.pos + s.nodeSize - w, new S2(b, m.length, 0), 0, !0));
|
|
52978
52978
|
n(S.scrollIntoView());
|
|
52979
52979
|
}
|
|
52980
52980
|
return !0;
|
|
@@ -53066,13 +53066,13 @@ function gI1(e, t, n, i, o) {
|
|
|
53066
53066
|
let s = j1.empty;
|
|
53067
53067
|
for (let c = n.length - 1; c >= 0; c--)
|
|
53068
53068
|
s = j1.from(n[c].type.create(n[c].attrs, s));
|
|
53069
|
-
e.step(new c4(t.start - (i ? 2 : 0), t.end, t.start, t.end, new
|
|
53069
|
+
e.step(new c4(t.start - (i ? 2 : 0), t.end, t.start, t.end, new S2(s, 0, 0), n.length, !0));
|
|
53070
53070
|
let r = 0;
|
|
53071
53071
|
for (let c = 0; c < n.length; c++)
|
|
53072
53072
|
n[c].type == o && (r = c + 1);
|
|
53073
53073
|
let a = n.length - r, l = t.start + n.length - (i ? 2 : 0), d = t.parent;
|
|
53074
53074
|
for (let c = t.startIndex, u = t.endIndex, h = !0; c < u; c++, h = !1)
|
|
53075
|
-
!h &&
|
|
53075
|
+
!h && f8(e.doc, l, a) && (e.split(l, a), l += 2 * a), l += d.child(c).nodeSize;
|
|
53076
53076
|
return e;
|
|
53077
53077
|
}
|
|
53078
53078
|
function mI1(e) {
|
|
@@ -53083,7 +53083,7 @@ function mI1(e) {
|
|
|
53083
53083
|
}
|
|
53084
53084
|
function yI1(e, t, n, i) {
|
|
53085
53085
|
let o = e.tr, s = i.end, r = i.$to.end(i.depth);
|
|
53086
|
-
s < r && (o.step(new c4(s - 1, r, s, r, new
|
|
53086
|
+
s < r && (o.step(new c4(s - 1, r, s, r, new S2(j1.from(n.create(null, i.parent.copy())), 1, 0), 1, !0)), i = new Rl(o.doc.resolve(i.$from.pos), o.doc.resolve(r), i.depth));
|
|
53087
53087
|
const a = Tn(i);
|
|
53088
53088
|
if (a == null)
|
|
53089
53089
|
return !1;
|
|
@@ -53102,7 +53102,7 @@ function wI1(e, t, n) {
|
|
|
53102
53102
|
if (!d.canReplace(c + (a ? 0 : 1), c + 1, r.content.append(l ? j1.empty : j1.from(o))))
|
|
53103
53103
|
return !1;
|
|
53104
53104
|
let u = s.pos, h = u + r.nodeSize;
|
|
53105
|
-
return i.step(new c4(u - (a ? 1 : 0), h + (l ? 1 : 0), u + 1, h - 1, new
|
|
53105
|
+
return i.step(new c4(u - (a ? 1 : 0), h + (l ? 1 : 0), u + 1, h - 1, new S2((a ? j1.empty : j1.from(o.copy(j1.empty))).append(l ? j1.empty : j1.from(o.copy(j1.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), t(i.scrollIntoView()), !0;
|
|
53106
53106
|
}
|
|
53107
53107
|
function bI1(e) {
|
|
53108
53108
|
return function(t, n) {
|
|
@@ -53116,7 +53116,7 @@ function bI1(e) {
|
|
|
53116
53116
|
if (l.type != e)
|
|
53117
53117
|
return !1;
|
|
53118
53118
|
if (n) {
|
|
53119
|
-
let d = l.lastChild && l.lastChild.type == a.type, c = j1.from(d ? e.create() : null), u = new
|
|
53119
|
+
let d = l.lastChild && l.lastChild.type == a.type, c = j1.from(d ? e.create() : null), u = new S2(j1.from(e.create(null, j1.from(a.type.create(null, c)))), d ? 3 : 1, 0), h = s.start, g = s.end;
|
|
53120
53120
|
n(t.tr.step(new c4(h - (d ? 3 : 1), g, h, g, u, 1, !0)).scrollIntoView());
|
|
53121
53121
|
}
|
|
53122
53122
|
return !0;
|
|
@@ -54175,7 +54175,7 @@ const KI1 = (e, t = {}) => ({ tr: n, state: i, dispatch: o }) => {
|
|
|
54175
54175
|
function Am(e) {
|
|
54176
54176
|
return e instanceof ne;
|
|
54177
54177
|
}
|
|
54178
|
-
function
|
|
54178
|
+
function c8(e = 0, t = 0, n = 0) {
|
|
54179
54179
|
return Math.min(Math.max(e, t), n);
|
|
54180
54180
|
}
|
|
54181
54181
|
function zA(e, t = null) {
|
|
@@ -54187,7 +54187,7 @@ function zA(e, t = null) {
|
|
|
54187
54187
|
if (t === "end")
|
|
54188
54188
|
return i;
|
|
54189
54189
|
const o = n.from, s = i.to;
|
|
54190
|
-
return t === "all" ? ne.create(e,
|
|
54190
|
+
return t === "all" ? ne.create(e, c8(0, o, s), c8(e.content.size, o, s)) : ne.create(e, c8(t, o, s), c8(t, o, s));
|
|
54191
54191
|
}
|
|
54192
54192
|
function _k() {
|
|
54193
54193
|
return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
|
|
@@ -54677,7 +54677,7 @@ function YA(e) {
|
|
|
54677
54677
|
return e instanceof R2;
|
|
54678
54678
|
}
|
|
54679
54679
|
function XA(e, t, n) {
|
|
54680
|
-
const o = e.state.doc.content.size, s =
|
|
54680
|
+
const o = e.state.doc.content.size, s = c8(t, 0, o), r = c8(n, 0, o), a = e.coordsAtPos(s), l = e.coordsAtPos(r, -1), d = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), u = Math.min(a.left, l.left), h = Math.max(a.right, l.right), g = h - u, m = c - d, b = {
|
|
54681
54681
|
top: d,
|
|
54682
54682
|
bottom: c,
|
|
54683
54683
|
left: u,
|
|
@@ -54743,13 +54743,13 @@ const $E1 = (e, t = {}) => ({ tr: n, state: i, dispatch: o }) => {
|
|
|
54743
54743
|
return n.selection.$anchor.sameParent(n.selection.$head) && (r = n.selection.$anchor.parent.attrs), s.isTextblock ? o().command(({ commands: a }) => yk(s, { ...r, ...t })(n) ? !0 : a.clearNodes()).command(({ state: a }) => yk(s, { ...r, ...t })(a, i)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
54744
54744
|
}, RE1 = (e) => ({ tr: t, dispatch: n }) => {
|
|
54745
54745
|
if (n) {
|
|
54746
|
-
const { doc: i } = t, o =
|
|
54746
|
+
const { doc: i } = t, o = c8(e, 0, i.content.size), s = R2.create(i, o);
|
|
54747
54747
|
t.setSelection(s);
|
|
54748
54748
|
}
|
|
54749
54749
|
return !0;
|
|
54750
54750
|
}, ZE1 = (e) => ({ tr: t, dispatch: n }) => {
|
|
54751
54751
|
if (n) {
|
|
54752
|
-
const { doc: i } = t, { from: o, to: s } = typeof e == "number" ? { from: e, to: e } : e, r = ne.atStart(i).from, a = ne.atEnd(i).to, l =
|
|
54752
|
+
const { doc: i } = t, { from: o, to: s } = typeof e == "number" ? { from: e, to: e } : e, r = ne.atStart(i).from, a = ne.atEnd(i).to, l = c8(o, r, a), d = c8(s, r, a), c = ne.create(i, l, d);
|
|
54753
54753
|
t.setSelection(c);
|
|
54754
54754
|
}
|
|
54755
54755
|
return !0;
|
|
@@ -54767,7 +54767,7 @@ function Lk(e, t) {
|
|
|
54767
54767
|
const UE1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, editor: o }) => {
|
|
54768
54768
|
const { selection: s, doc: r } = t, { $from: a, $to: l } = s, d = o.extensionManager.attributes, c = Ja(d, a.node().type.name, a.node().attrs);
|
|
54769
54769
|
if (s instanceof R2 && s.node.isBlock)
|
|
54770
|
-
return !a.parentOffset || !
|
|
54770
|
+
return !a.parentOffset || !f8(r, a.pos) ? !1 : (i && (e && Lk(n, o.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
|
|
54771
54771
|
if (!a.parent.isBlock)
|
|
54772
54772
|
return !1;
|
|
54773
54773
|
const u = l.parentOffset === l.parent.content.size, h = a.depth === 0 ? void 0 : VE1(a.node(-1).contentMatchAt(a.indexAfter(-1)));
|
|
@@ -54776,8 +54776,8 @@ const UE1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
54776
54776
|
type: h,
|
|
54777
54777
|
attrs: c
|
|
54778
54778
|
}
|
|
54779
|
-
] : void 0, m =
|
|
54780
|
-
if (!g && !m &&
|
|
54779
|
+
] : void 0, m = f8(t.doc, t.mapping.map(a.pos), 1, g);
|
|
54780
|
+
if (!g && !m && f8(t.doc, t.mapping.map(a.pos), 1, h ? [{ type: h }] : void 0) && (m = !0, g = h ? [
|
|
54781
54781
|
{
|
|
54782
54782
|
type: h,
|
|
54783
54783
|
attrs: c
|
|
@@ -54813,7 +54813,7 @@ const UE1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
54813
54813
|
}, V = ((r = a.contentMatch.defaultType) === null || r === void 0 ? void 0 : r.createAndFill(_)) || void 0;
|
|
54814
54814
|
b = b.append(j1.from(a.createAndFill(null, V) || void 0));
|
|
54815
54815
|
const x = l.before(l.depth - (S - 1));
|
|
54816
|
-
n.replace(x, l.after(-M), new
|
|
54816
|
+
n.replace(x, l.after(-M), new S2(b, 4 - S, 0));
|
|
54817
54817
|
let N = -1;
|
|
54818
54818
|
n.doc.nodesBetween(x, n.doc.content.size, (O, Z) => {
|
|
54819
54819
|
if (N > -1)
|
|
@@ -54835,7 +54835,7 @@ const UE1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
|
|
|
54835
54835
|
{ type: a, attrs: m },
|
|
54836
54836
|
{ type: g, attrs: y }
|
|
54837
54837
|
] : [{ type: a, attrs: m }];
|
|
54838
|
-
if (!
|
|
54838
|
+
if (!f8(n.doc, l.pos, 2))
|
|
54839
54839
|
return !1;
|
|
54840
54840
|
if (o) {
|
|
54841
54841
|
const { selection: b, storedMarks: S } = i, { splittableMarks: M } = s.extensionManager, _ = S || b.$to.parentOffset && b.$from.marks();
|
|
@@ -55899,7 +55899,7 @@ var k5 = "top", M6 = "bottom", k6 = "right", L5 = "left", Om = "auto", Ro = [k5,
|
|
|
55899
55899
|
}, []), QA = /* @__PURE__ */ [].concat(Ro, [Om]).reduce(function(e, t) {
|
|
55900
55900
|
return e.concat([t, t + "-" + ln, t + "-" + ao]);
|
|
55901
55901
|
}, []), mA1 = "beforeRead", yA1 = "read", wA1 = "afterRead", bA1 = "beforeMain", vA1 = "main", SA1 = "afterMain", _A1 = "beforeWrite", MA1 = "write", kA1 = "afterWrite", LA1 = [mA1, yA1, wA1, bA1, vA1, SA1, _A1, MA1, kA1];
|
|
55902
|
-
function
|
|
55902
|
+
function P9(e) {
|
|
55903
55903
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
55904
55904
|
}
|
|
55905
55905
|
function e6(e) {
|
|
@@ -55929,7 +55929,7 @@ function TA1(e) {
|
|
|
55929
55929
|
var t = e.state;
|
|
55930
55930
|
Object.keys(t.elements).forEach(function(n) {
|
|
55931
55931
|
var i = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
|
|
55932
|
-
!b6(s) || !
|
|
55932
|
+
!b6(s) || !P9(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(r) {
|
|
55933
55933
|
var a = o[r];
|
|
55934
55934
|
a === !1 ? s.removeAttribute(r) : s.setAttribute(r, a === !0 ? "" : a);
|
|
55935
55935
|
}));
|
|
@@ -55953,7 +55953,7 @@ function VA1(e) {
|
|
|
55953
55953
|
var o = t.elements[i], s = t.attributes[i] || {}, r = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : n[i]), a = r.reduce(function(l, d) {
|
|
55954
55954
|
return l[d] = "", l;
|
|
55955
55955
|
}, {});
|
|
55956
|
-
!b6(o) || !
|
|
55956
|
+
!b6(o) || !P9(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(l) {
|
|
55957
55957
|
o.removeAttribute(l);
|
|
55958
55958
|
}));
|
|
55959
55959
|
});
|
|
@@ -56019,11 +56019,11 @@ function nP(e, t) {
|
|
|
56019
56019
|
}
|
|
56020
56020
|
return !1;
|
|
56021
56021
|
}
|
|
56022
|
-
function
|
|
56022
|
+
function S8(e) {
|
|
56023
56023
|
return e6(e).getComputedStyle(e);
|
|
56024
56024
|
}
|
|
56025
56025
|
function HA1(e) {
|
|
56026
|
-
return ["table", "td", "th"].indexOf(
|
|
56026
|
+
return ["table", "td", "th"].indexOf(P9(e)) >= 0;
|
|
56027
56027
|
}
|
|
56028
56028
|
function $7(e) {
|
|
56029
56029
|
return ((Pt(e) ? e.ownerDocument : (
|
|
@@ -56032,7 +56032,7 @@ function $7(e) {
|
|
|
56032
56032
|
)) || window.document).documentElement;
|
|
56033
56033
|
}
|
|
56034
56034
|
function bc(e) {
|
|
56035
|
-
return
|
|
56035
|
+
return P9(e) === "html" ? e : (
|
|
56036
56036
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
56037
56037
|
// $FlowFixMe[incompatible-return]
|
|
56038
56038
|
// $FlowFixMe[prop-missing]
|
|
@@ -56045,18 +56045,18 @@ function bc(e) {
|
|
|
56045
56045
|
}
|
|
56046
56046
|
function Vk(e) {
|
|
56047
56047
|
return !b6(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
56048
|
-
|
|
56048
|
+
S8(e).position === "fixed" ? null : e.offsetParent;
|
|
56049
56049
|
}
|
|
56050
56050
|
function xA1(e) {
|
|
56051
56051
|
var t = /firefox/i.test(Bf()), n = /Trident/i.test(Bf());
|
|
56052
56052
|
if (n && b6(e)) {
|
|
56053
|
-
var i =
|
|
56053
|
+
var i = S8(e);
|
|
56054
56054
|
if (i.position === "fixed")
|
|
56055
56055
|
return null;
|
|
56056
56056
|
}
|
|
56057
56057
|
var o = bc(e);
|
|
56058
|
-
for ($m(o) && (o = o.host); b6(o) && ["html", "body"].indexOf(
|
|
56059
|
-
var s =
|
|
56058
|
+
for ($m(o) && (o = o.host); b6(o) && ["html", "body"].indexOf(P9(o)) < 0; ) {
|
|
56059
|
+
var s = S8(o);
|
|
56060
56060
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
56061
56061
|
return o;
|
|
56062
56062
|
o = o.parentNode;
|
|
@@ -56064,9 +56064,9 @@ function xA1(e) {
|
|
|
56064
56064
|
return null;
|
|
56065
56065
|
}
|
|
56066
56066
|
function Zo(e) {
|
|
56067
|
-
for (var t = e6(e), n = Vk(e); n && HA1(n) &&
|
|
56067
|
+
for (var t = e6(e), n = Vk(e); n && HA1(n) && S8(n).position === "static"; )
|
|
56068
56068
|
n = Vk(n);
|
|
56069
|
-
return n && (
|
|
56069
|
+
return n && (P9(n) === "html" || P9(n) === "body" && S8(n).position === "static") ? t : n || xA1(e) || t;
|
|
56070
56070
|
}
|
|
56071
56071
|
function Nm(e) {
|
|
56072
56072
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -56147,7 +56147,7 @@ function Hk(e) {
|
|
|
56147
56147
|
var b = r.hasOwnProperty("x"), S = r.hasOwnProperty("y"), M = L5, _ = k5, V = window;
|
|
56148
56148
|
if (d) {
|
|
56149
56149
|
var x = Zo(n), N = "clientHeight", O = "clientWidth";
|
|
56150
|
-
if (x === e6(n) && (x = $7(n),
|
|
56150
|
+
if (x === e6(n) && (x = $7(n), S8(x).position !== "static" && a === "absolute" && (N = "scrollHeight", O = "scrollWidth")), x = x, o === k5 || (o === L5 || o === k6) && s === ao) {
|
|
56151
56151
|
_ = M6;
|
|
56152
56152
|
var Z = u && x === V && V.visualViewport ? V.visualViewport.height : (
|
|
56153
56153
|
// $FlowFixMe[prop-missing]
|
|
@@ -56277,7 +56277,7 @@ function zA1(e, t) {
|
|
|
56277
56277
|
}
|
|
56278
56278
|
function qA1(e) {
|
|
56279
56279
|
var t, n = $7(e), i = Rm(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = bt(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), r = bt(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), a = -i.scrollLeft + Zm(e), l = -i.scrollTop;
|
|
56280
|
-
return
|
|
56280
|
+
return S8(o || n).direction === "rtl" && (a += bt(n.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
56281
56281
|
width: s,
|
|
56282
56282
|
height: r,
|
|
56283
56283
|
x: a,
|
|
@@ -56285,11 +56285,11 @@ function qA1(e) {
|
|
|
56285
56285
|
};
|
|
56286
56286
|
}
|
|
56287
56287
|
function Fm(e) {
|
|
56288
|
-
var t =
|
|
56288
|
+
var t = S8(e), n = t.overflow, i = t.overflowX, o = t.overflowY;
|
|
56289
56289
|
return /auto|scroll|overlay|hidden/.test(n + o + i);
|
|
56290
56290
|
}
|
|
56291
56291
|
function rP(e) {
|
|
56292
|
-
return ["html", "body", "#document"].indexOf(
|
|
56292
|
+
return ["html", "body", "#document"].indexOf(P9(e)) >= 0 ? e.ownerDocument.body : b6(e) && Fm(e) ? e : rP(bc(e));
|
|
56293
56293
|
}
|
|
56294
56294
|
function xi(e, t) {
|
|
56295
56295
|
var n;
|
|
@@ -56316,9 +56316,9 @@ function Ik(e, t, n) {
|
|
|
56316
56316
|
return t === JA ? Of(zA1(e, n)) : Pt(t) ? GA1(t, n) : Of(qA1($7(e)));
|
|
56317
56317
|
}
|
|
56318
56318
|
function WA1(e) {
|
|
56319
|
-
var t = xi(bc(e)), n = ["absolute", "fixed"].indexOf(
|
|
56319
|
+
var t = xi(bc(e)), n = ["absolute", "fixed"].indexOf(S8(e).position) >= 0, i = n && b6(e) ? Zo(e) : e;
|
|
56320
56320
|
return Pt(i) ? t.filter(function(o) {
|
|
56321
|
-
return Pt(o) && nP(o, i) &&
|
|
56321
|
+
return Pt(o) && nP(o, i) && P9(o) !== "body";
|
|
56322
56322
|
}) : [];
|
|
56323
56323
|
}
|
|
56324
56324
|
function jA1(e, t, n, i) {
|
|
@@ -56624,7 +56624,7 @@ function uP1(e, t, n) {
|
|
|
56624
56624
|
x: 0,
|
|
56625
56625
|
y: 0
|
|
56626
56626
|
};
|
|
56627
|
-
return (i || !i && !n) && ((
|
|
56627
|
+
return (i || !i && !n) && ((P9(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
56628
56628
|
Fm(s)) && (a = cP1(t)), b6(t) ? (l = cn(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = Zm(s))), {
|
|
56629
56629
|
x: r.left + a.scrollLeft - l.x,
|
|
56630
56630
|
y: r.top + a.scrollTop - l.y,
|
|
@@ -56974,7 +56974,7 @@ process.env.NODE_ENV !== "production" && NP1();
|
|
|
56974
56974
|
function NP1() {
|
|
56975
56975
|
Co = /* @__PURE__ */ new Set();
|
|
56976
56976
|
}
|
|
56977
|
-
function
|
|
56977
|
+
function n8(e, t) {
|
|
56978
56978
|
if (e && !Co.has(t)) {
|
|
56979
56979
|
var n;
|
|
56980
56980
|
Co.add(t), (n = console).warn.apply(n, hP(t));
|
|
@@ -57106,7 +57106,7 @@ function mP(e, t) {
|
|
|
57106
57106
|
var o = _P1(W5, Object.keys(fP)), s = !SP1(o, i);
|
|
57107
57107
|
s && (s = t.filter(function(r) {
|
|
57108
57108
|
return r.name === i;
|
|
57109
|
-
}).length === 0),
|
|
57109
|
+
}).length === 0), n8(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
57110
57110
|
|
|
57111
57111
|
`, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
57112
57112
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
@@ -57402,7 +57402,7 @@ function WP1(e, t) {
|
|
|
57402
57402
|
fn: function(Ge) {
|
|
57403
57403
|
var q3 = Ge.state;
|
|
57404
57404
|
if (e1()) {
|
|
57405
|
-
var
|
|
57405
|
+
var N9 = s1(), $5 = N9.box;
|
|
57406
57406
|
["placement", "reference-hidden", "escaped"].forEach(function(J4) {
|
|
57407
57407
|
J4 === "placement" ? $5.setAttribute("data-placement", q3.placement) : q3.attributes.popper["data-popper-" + J4] ? $5.setAttribute("data-" + J4, "") : $5.removeAttribute("data-" + J4);
|
|
57408
57408
|
}), q3.attributes.popper = {};
|
|
@@ -57451,7 +57451,7 @@ function WP1(e, t) {
|
|
|
57451
57451
|
}
|
|
57452
57452
|
function O1() {
|
|
57453
57453
|
var k1 = _.props.appendTo, s2, L1 = Y();
|
|
57454
|
-
_.props.interactive && k1 === CP || k1 === "parent" ? s2 = L1.parentNode : s2 = uP(k1, [L1]), s2.contains(x) || s2.appendChild(x), _.state.isMounted = !0, g1(), process.env.NODE_ENV !== "production" &&
|
|
57454
|
+
_.props.interactive && k1 === CP || k1 === "parent" ? s2 = L1.parentNode : s2 = uP(k1, [L1]), s2.contains(x) || s2.appendChild(x), _.state.isMounted = !0, g1(), process.env.NODE_ENV !== "production" && n8(_.props.interactive && k1 === W5.appendTo && L1.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
57455
57455
|
|
|
57456
57456
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
57457
57457
|
|
|
@@ -57493,7 +57493,7 @@ function WP1(e, t) {
|
|
|
57493
57493
|
clearTimeout(i), clearTimeout(o), cancelAnimationFrame(s);
|
|
57494
57494
|
}
|
|
57495
57495
|
function oe(k1) {
|
|
57496
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
57496
|
+
if (process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("setProps")), !_.state.isDestroyed) {
|
|
57497
57497
|
q("onBeforeUpdate", [_, k1]), B2();
|
|
57498
57498
|
var s2 = _.props, L1 = Uk(e, Object.assign({}, s2, Dk(k1), {
|
|
57499
57499
|
ignoreAttributes: !0
|
|
@@ -57511,7 +57511,7 @@ function WP1(e, t) {
|
|
|
57511
57511
|
});
|
|
57512
57512
|
}
|
|
57513
57513
|
function Ee() {
|
|
57514
|
-
process.env.NODE_ENV !== "production" &&
|
|
57514
|
+
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("show"));
|
|
57515
57515
|
var k1 = _.state.isVisible, s2 = _.state.isDestroyed, L1 = !_.state.isEnabled, I1 = h9.isTouch && !_.props.touch, r2 = bp(_.props.duration, 0, W5.duration);
|
|
57516
57516
|
if (!(k1 || s2 || L1 || I1) && !Y().hasAttribute("disabled") && (q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
|
|
57517
57517
|
if (_.state.isVisible = !0, e1() && (x.style.visibility = "visible"), j(), C1(), _.state.isMounted || (x.style.transition = "none"), e1()) {
|
|
@@ -57533,7 +57533,7 @@ function WP1(e, t) {
|
|
|
57533
57533
|
}
|
|
57534
57534
|
}
|
|
57535
57535
|
function M1() {
|
|
57536
|
-
process.env.NODE_ENV !== "production" &&
|
|
57536
|
+
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("hide"));
|
|
57537
57537
|
var k1 = !_.state.isVisible, s2 = _.state.isDestroyed, L1 = !_.state.isEnabled, I1 = bp(_.props.duration, 1, W5.duration);
|
|
57538
57538
|
if (!(k1 || s2 || L1) && (q("onHide", [_], !1), _.props.onHide(_) !== !1)) {
|
|
57539
57539
|
if (_.state.isVisible = !1, _.state.isShown = !1, d = !1, r = !1, e1() && (x.style.visibility = "hidden"), _1(), w1(), j(!0), e1()) {
|
|
@@ -57544,17 +57544,17 @@ function WP1(e, t) {
|
|
|
57544
57544
|
}
|
|
57545
57545
|
}
|
|
57546
57546
|
function Z1(k1) {
|
|
57547
|
-
process.env.NODE_ENV !== "production" &&
|
|
57547
|
+
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("hideWithInteractivity")), a1().addEventListener("mousemove", m), $k(ka, m), m(k1);
|
|
57548
57548
|
}
|
|
57549
57549
|
function f2() {
|
|
57550
|
-
process.env.NODE_ENV !== "production" &&
|
|
57550
|
+
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("unmount")), _.state.isVisible && _.hide(), _.state.isMounted && (q1(), G1().forEach(function(k1) {
|
|
57551
57551
|
k1._tippy.unmount();
|
|
57552
57552
|
}), x.parentNode && x.parentNode.removeChild(x), _p = _p.filter(function(k1) {
|
|
57553
57553
|
return k1 !== _;
|
|
57554
57554
|
}), _.state.isMounted = !1, q("onHidden", [_]));
|
|
57555
57555
|
}
|
|
57556
57556
|
function E2() {
|
|
57557
|
-
process.env.NODE_ENV !== "production" &&
|
|
57557
|
+
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, _0("destroy")), !_.state.isDestroyed && (_.clearDelayTimeouts(), _.unmount(), B2(), delete e._tippy, _.state.isDestroyed = !0, q("onDestroy", [_]));
|
|
57558
57558
|
}
|
|
57559
57559
|
}
|
|
57560
57560
|
function Vn(e, t) {
|
|
@@ -57566,7 +57566,7 @@ function Vn(e, t) {
|
|
|
57566
57566
|
}), o = xP1(e);
|
|
57567
57567
|
if (process.env.NODE_ENV !== "production") {
|
|
57568
57568
|
var s = co(i.content), r = o.length > 1;
|
|
57569
|
-
|
|
57569
|
+
n8(s && r, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
57570
57570
|
|
|
57571
57571
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
57572
57572
|
|
|
@@ -58462,7 +58462,7 @@ class E3 extends de {
|
|
|
58462
58462
|
return E3.valid(i) ? new E3(i) : de.near(i);
|
|
58463
58463
|
}
|
|
58464
58464
|
content() {
|
|
58465
|
-
return
|
|
58465
|
+
return S2.empty;
|
|
58466
58466
|
}
|
|
58467
58467
|
eq(t) {
|
|
58468
58468
|
return t instanceof E3 && t.head == this.head;
|
|
@@ -58637,7 +58637,7 @@ function SB1(e, t) {
|
|
|
58637
58637
|
let o = j1.empty;
|
|
58638
58638
|
for (let r = i.length - 1; r >= 0; r--)
|
|
58639
58639
|
o = j1.from(i[r].createAndFill(null, o));
|
|
58640
|
-
let s = e.state.tr.replace(n.pos, n.pos, new
|
|
58640
|
+
let s = e.state.tr.replace(n.pos, n.pos, new S2(o, 0, 0));
|
|
58641
58641
|
return s.setSelection(ne.near(s.doc.resolve(n.pos + 1))), e.dispatch(s), !1;
|
|
58642
58642
|
}
|
|
58643
58643
|
function _B1(e) {
|
|
@@ -59941,7 +59941,7 @@ b5.prototype = {
|
|
|
59941
59941
|
return o.j[e] = r, r;
|
|
59942
59942
|
}
|
|
59943
59943
|
};
|
|
59944
|
-
const ae = (e, t, n, i, o) => e.ta(t, n, i, o), L3 = (e, t, n, i, o) => e.tr(t, n, i, o), Qk = (e, t, n, i, o) => e.ts(t, n, i, o), t2 = (e, t, n, i, o) => e.tt(t, n, i, o),
|
|
59944
|
+
const ae = (e, t, n, i, o) => e.ta(t, n, i, o), L3 = (e, t, n, i, o) => e.tr(t, n, i, o), Qk = (e, t, n, i, o) => e.ts(t, n, i, o), t2 = (e, t, n, i, o) => e.tt(t, n, i, o), e8 = "WORD", zf = "UWORD", TP = "ASCIINUMERICAL", VP = "ALPHANUMERICAL", uo = "LOCALHOST", qf = "TLD", Gf = "UTLD", tl = "SCHEME", x0 = "SLASH_SCHEME", ny = "NUM", Wf = "WS", iy = "NL", Ai = "OPENBRACE", Pi = "CLOSEBRACE", Ql = "OPENBRACKET", ed = "CLOSEBRACKET", td = "OPENPAREN", nd = "CLOSEPAREN", id = "OPENANGLEBRACKET", od = "CLOSEANGLEBRACKET", sd = "FULLWIDTHLEFTPAREN", rd = "FULLWIDTHRIGHTPAREN", ad = "LEFTCORNERBRACKET", ld = "RIGHTCORNERBRACKET", dd = "LEFTWHITECORNERBRACKET", cd = "RIGHTWHITECORNERBRACKET", Cd = "FULLWIDTHLESSTHAN", ud = "FULLWIDTHGREATERTHAN", pd = "AMPERSAND", hd = "APOSTROPHE", fd = "ASTERISK", Y8 = "AT", gd = "BACKSLASH", md = "BACKTICK", yd = "CARET", n7 = "COLON", oy = "COMMA", wd = "DOLLAR", l9 = "DOT", bd = "EQUALS", sy = "EXCLAMATION", l6 = "HYPHEN", Bi = "PERCENT", vd = "PIPE", Sd = "PLUS", _d = "POUND", Oi = "QUERY", ry = "QUOTE", HP = "FULLWIDTHMIDDLEDOT", ay = "SEMI", d9 = "SLASH", $i = "TILDE", Md = "UNDERSCORE", xP = "EMOJI", kd = "SYM";
|
|
59945
59945
|
var IP = /* @__PURE__ */ Object.freeze({
|
|
59946
59946
|
__proto__: null,
|
|
59947
59947
|
ALPHANUMERICAL: VP,
|
|
@@ -59997,10 +59997,10 @@ var IP = /* @__PURE__ */ Object.freeze({
|
|
|
59997
59997
|
UNDERSCORE: Md,
|
|
59998
59998
|
UTLD: Gf,
|
|
59999
59999
|
UWORD: zf,
|
|
60000
|
-
WORD:
|
|
60000
|
+
WORD: e8,
|
|
60001
60001
|
WS: Wf
|
|
60002
60002
|
});
|
|
60003
|
-
const
|
|
60003
|
+
const W9 = /[a-z]/, ii = new RegExp("\\p{L}", "u"), Tp = new RegExp("\\p{Emoji}", "u"), j9 = /\d/, Vp = /\s/, eL = "\r", Hp = `
|
|
60004
60004
|
`, aO1 = "️", lO1 = "", xp = "";
|
|
60005
60005
|
let Ta = null, Va = null;
|
|
60006
60006
|
function dO1(e = []) {
|
|
@@ -60008,22 +60008,22 @@ function dO1(e = []) {
|
|
|
60008
60008
|
b5.groups = t;
|
|
60009
60009
|
const n = new b5();
|
|
60010
60010
|
Ta == null && (Ta = tL(tO1)), Va == null && (Va = tL(nO1)), t2(n, "'", hd), t2(n, "{", Ai), t2(n, "}", Pi), t2(n, "[", Ql), t2(n, "]", ed), t2(n, "(", td), t2(n, ")", nd), t2(n, "<", id), t2(n, ">", od), t2(n, "(", sd), t2(n, ")", rd), t2(n, "「", ad), t2(n, "」", ld), t2(n, "『", dd), t2(n, "』", cd), t2(n, "<", Cd), t2(n, ">", ud), t2(n, "&", pd), t2(n, "*", fd), t2(n, "@", Y8), t2(n, "`", md), t2(n, "^", yd), t2(n, ":", n7), t2(n, ",", oy), t2(n, "$", wd), t2(n, ".", l9), t2(n, "=", bd), t2(n, "!", sy), t2(n, "-", l6), t2(n, "%", Bi), t2(n, "|", vd), t2(n, "+", Sd), t2(n, "#", _d), t2(n, "?", Oi), t2(n, '"', ry), t2(n, "/", d9), t2(n, ";", ay), t2(n, "~", $i), t2(n, "_", Md), t2(n, "\\", gd), t2(n, "・", HP);
|
|
60011
|
-
const i = L3(n,
|
|
60011
|
+
const i = L3(n, j9, ny, {
|
|
60012
60012
|
[Rf]: !0
|
|
60013
60013
|
});
|
|
60014
|
-
L3(i,
|
|
60015
|
-
const o = L3(i,
|
|
60014
|
+
L3(i, j9, i);
|
|
60015
|
+
const o = L3(i, W9, TP, {
|
|
60016
60016
|
[Ei]: !0
|
|
60017
60017
|
}), s = L3(i, ii, VP, {
|
|
60018
60018
|
[pi]: !0
|
|
60019
|
-
}), r = L3(n,
|
|
60019
|
+
}), r = L3(n, W9, e8, {
|
|
60020
60020
|
[Zf]: !0
|
|
60021
60021
|
});
|
|
60022
|
-
L3(r,
|
|
60022
|
+
L3(r, j9, o), L3(r, W9, r), L3(o, j9, o), L3(o, W9, o);
|
|
60023
60023
|
const a = L3(n, ii, zf, {
|
|
60024
60024
|
[Ff]: !0
|
|
60025
60025
|
});
|
|
60026
|
-
L3(a,
|
|
60026
|
+
L3(a, W9), L3(a, j9, s), L3(a, ii, a), L3(s, j9, s), L3(s, W9), L3(s, ii, s);
|
|
60027
60027
|
const l = t2(n, Hp, iy, {
|
|
60028
60028
|
[Lp]: !0
|
|
60029
60029
|
}), d = t2(n, eL, Wf, {
|
|
@@ -60038,9 +60038,9 @@ function dO1(e = []) {
|
|
|
60038
60038
|
t2(u, "#"), L3(u, Tp, u), t2(u, aO1, u);
|
|
60039
60039
|
const h = t2(u, lO1);
|
|
60040
60040
|
t2(h, "#"), L3(h, Tp, u);
|
|
60041
|
-
const g = [[
|
|
60041
|
+
const g = [[W9, r], [j9, o]], m = [[W9, null], [ii, a], [j9, s]];
|
|
60042
60042
|
for (let y = 0; y < Ta.length; y++)
|
|
60043
|
-
F8(n, Ta[y], qf,
|
|
60043
|
+
F8(n, Ta[y], qf, e8, g);
|
|
60044
60044
|
for (let y = 0; y < Va.length; y++)
|
|
60045
60045
|
F8(n, Va[y], Gf, zf, m);
|
|
60046
60046
|
at(qf, {
|
|
@@ -60049,7 +60049,7 @@ function dO1(e = []) {
|
|
|
60049
60049
|
}, t), at(Gf, {
|
|
60050
60050
|
utld: !0,
|
|
60051
60051
|
alpha: !0
|
|
60052
|
-
}, t), F8(n, "file", tl,
|
|
60052
|
+
}, t), F8(n, "file", tl, e8, g), F8(n, "mailto", tl, e8, g), F8(n, "http", x0, e8, g), F8(n, "https", x0, e8, g), F8(n, "ftp", x0, e8, g), F8(n, "ftps", x0, e8, g), at(tl, {
|
|
60053
60053
|
scheme: !0,
|
|
60054
60054
|
ascii: !0
|
|
60055
60055
|
}, t), at(x0, {
|
|
@@ -60062,7 +60062,7 @@ function dO1(e = []) {
|
|
|
60062
60062
|
} : {
|
|
60063
60063
|
[oO1]: !0
|
|
60064
60064
|
};
|
|
60065
|
-
w.indexOf("-") >= 0 ? S[Uf] = !0 :
|
|
60065
|
+
w.indexOf("-") >= 0 ? S[Uf] = !0 : W9.test(w) ? j9.test(w) ? S[Ei] = !0 : S[Zf] = !0 : S[Rf] = !0, Qk(n, w, w, S);
|
|
60066
60066
|
}
|
|
60067
60067
|
return Qk(n, "localhost", uo, {
|
|
60068
60068
|
ascii: !0
|
|
@@ -60976,12 +60976,12 @@ const hi = /* @__PURE__ */ X6(EO1), AO1 = (e, t, n) => {
|
|
|
60976
60976
|
};
|
|
60977
60977
|
}, PO1 = (e) => {
|
|
60978
60978
|
const t = c1("0"), n = c1("1"), i = hi((a) => {
|
|
60979
|
-
const l =
|
|
60979
|
+
const l = C8.convertBack(a).letterSpacing ?? "0em";
|
|
60980
60980
|
t.value = a, e.chain().setLetterSpacing(l).run();
|
|
60981
60981
|
}, 300), o = hi((a) => {
|
|
60982
60982
|
n.value = a, e.chain().setLineHeight(a).run();
|
|
60983
60983
|
}, 300), s = hi((a) => {
|
|
60984
|
-
t.value =
|
|
60984
|
+
t.value = C8.convert({
|
|
60985
60985
|
letterSpacing: a
|
|
60986
60986
|
}), w5(e.chain().selectAll().setLetterSpacing(a)).run();
|
|
60987
60987
|
}, 300), r = hi((a) => {
|
|
@@ -61641,7 +61641,7 @@ const J3 = i3("shopConfig", {
|
|
|
61641
61641
|
"supportMeConfig",
|
|
61642
61642
|
"requestPaymentConfig",
|
|
61643
61643
|
"shopPaymentConfig"
|
|
61644
|
-
],
|
|
61644
|
+
], T9 = i3("history", () => {
|
|
61645
61645
|
const e = Se(), t = mo([]), n = c1(-1), i = c1(!1), o = c1(!1), s = c1(!1);
|
|
61646
61646
|
let r = 0;
|
|
61647
61647
|
const a = T(() => n.value > 0), l = T(
|
|
@@ -61934,7 +61934,7 @@ const J3 = i3("shopConfig", {
|
|
|
61934
61934
|
`
|
|
61935
61935
|
), c = i - l;
|
|
61936
61936
|
if (c <= 0)
|
|
61937
|
-
return
|
|
61937
|
+
return S2.empty;
|
|
61938
61938
|
if (d.length <= c)
|
|
61939
61939
|
return t;
|
|
61940
61940
|
let u = c;
|
|
@@ -61973,7 +61973,7 @@ const J3 = i3("shopConfig", {
|
|
|
61973
61973
|
w && h.push(w);
|
|
61974
61974
|
}
|
|
61975
61975
|
}
|
|
61976
|
-
}), new
|
|
61976
|
+
}), new S2(
|
|
61977
61977
|
j1.fromArray(h),
|
|
61978
61978
|
t.openStart,
|
|
61979
61979
|
t.openEnd
|
|
@@ -62133,7 +62133,7 @@ const J3 = i3("shopConfig", {
|
|
|
62133
62133
|
]
|
|
62134
62134
|
})
|
|
62135
62135
|
}), WO1 = (e, t, n, i, o, s, r, a, l, d, c, u) => {
|
|
62136
|
-
const h =
|
|
62136
|
+
const h = T9();
|
|
62137
62137
|
h.mergeNextMutation();
|
|
62138
62138
|
const g = new zm({
|
|
62139
62139
|
content: e.value ?? "",
|
|
@@ -62326,7 +62326,7 @@ const J3 = i3("shopConfig", {
|
|
|
62326
62326
|
parseFloat(C9(i.selectedFontSize))
|
|
62327
62327
|
), P1 && P1.color ? d6(P1.color) || (i.selectedTextColor = I3(P1.color).hex()) : i.selectedTextColor = "#000000", d1 && d1.color ? d6(d1.color) || (i.selectedBackgroundColor = I3(
|
|
62328
62328
|
d1.color
|
|
62329
|
-
).hex()) : i.selectedBackgroundColor = "transparent", P1.lineHeight ? E1.value = P1.lineHeight : E1.value = "1", P1 && P1.letterSpacing ? X1.value =
|
|
62329
|
+
).hex()) : i.selectedBackgroundColor = "transparent", P1.lineHeight ? E1.value = P1.lineHeight : E1.value = "1", P1 && P1.letterSpacing ? X1.value = C8.convert({
|
|
62330
62330
|
letterSpacing: P1.letterSpacing
|
|
62331
62331
|
}) : X1.value = "0", Y1 && Y1.textAlign) {
|
|
62332
62332
|
const g2 = s1.indexOf(Y1.textAlign);
|
|
@@ -62356,7 +62356,7 @@ const J3 = i3("shopConfig", {
|
|
|
62356
62356
|
parseFloat(C9((d1 == null ? void 0 : d1.fontSize) ?? "2.25em"))
|
|
62357
62357
|
), i.selectedTextColor = d6(d1.color ?? "") ? "#000000" : (d1 == null ? void 0 : d1.color) ?? "#000000", i.selectedBackgroundColor = d6(
|
|
62358
62358
|
(d1 == null ? void 0 : d1.backgroundColor) ?? ""
|
|
62359
|
-
) ? "transparent" : (d1 == null ? void 0 : d1.backgroundColor) ?? "transparent", E1.value = (g2 = d1 == null ? void 0 : d1.lineHeight) != null && g2.includes("em") ? C9((d1 == null ? void 0 : d1.lineHeight) ?? "1em") : (d1 == null ? void 0 : d1.lineHeight) ?? "1", X1.value =
|
|
62359
|
+
) ? "transparent" : (d1 == null ? void 0 : d1.backgroundColor) ?? "transparent", E1.value = (g2 = d1 == null ? void 0 : d1.lineHeight) != null && g2.includes("em") ? C9((d1 == null ? void 0 : d1.lineHeight) ?? "1em") : (d1 == null ? void 0 : d1.lineHeight) ?? "1", X1.value = C8.convert(
|
|
62360
62360
|
d1 ?? {}
|
|
62361
62361
|
), (oe = t.styles) != null && oe.textAlign && (Y1 == null ? void 0 : Y1.textAlign) !== t.styles.textAlign && Y(t.styles.textAlign)) : t.styles && (i.selectedFont = ((q2 = t.styles) == null ? void 0 : q2.fontFamily) ?? "Lato", i.selectedFontSize = ((Ee = t.styles) == null ? void 0 : Ee.fontSize) ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
62362
62362
|
parseFloat(C9(((M1 = t.styles) == null ? void 0 : M1.fontSize) ?? "2.25em"))
|
|
@@ -62364,7 +62364,7 @@ const J3 = i3("shopConfig", {
|
|
|
62364
62364
|
((Z1 = t.styles) == null ? void 0 : Z1.color) ?? "#000000"
|
|
62365
62365
|
) ? "#000000" : ((f2 = t.styles) == null ? void 0 : f2.color) ?? "#000000", i.selectedBackgroundColor = d6(
|
|
62366
62366
|
((E2 = t.styles) == null ? void 0 : E2.backgroundColor) ?? ""
|
|
62367
|
-
) ? "transparent" : ((k1 = t.styles) == null ? void 0 : k1.backgroundColor) ?? "transparent", E1.value = (L1 = (s2 = t.styles) == null ? void 0 : s2.lineHeight) != null && L1.includes("em") ? C9(((I1 = t.styles) == null ? void 0 : I1.lineHeight) ?? "1em") : ((r2 = t.styles) == null ? void 0 : r2.lineHeight) ?? "1", X1.value =
|
|
62367
|
+
) ? "transparent" : ((k1 = t.styles) == null ? void 0 : k1.backgroundColor) ?? "transparent", E1.value = (L1 = (s2 = t.styles) == null ? void 0 : s2.lineHeight) != null && L1.includes("em") ? C9(((I1 = t.styles) == null ? void 0 : I1.lineHeight) ?? "1em") : ((r2 = t.styles) == null ? void 0 : r2.lineHeight) ?? "1", X1.value = C8.convert(
|
|
62368
62368
|
t.styles ?? {}
|
|
62369
62369
|
), (K2 = t.styles) != null && K2.textAlign && (Y1 == null ? void 0 : Y1.textAlign) !== t.styles.textAlign && Y(t.styles.textAlign));
|
|
62370
62370
|
}, Q2 = (P1) => {
|
|
@@ -62404,7 +62404,7 @@ const J3 = i3("shopConfig", {
|
|
|
62404
62404
|
w1(P1.value), d1.lineHeight = P1.value;
|
|
62405
62405
|
break;
|
|
62406
62406
|
case "letterSpacing":
|
|
62407
|
-
C1(P1.value), d1.letterSpacing =
|
|
62407
|
+
C1(P1.value), d1.letterSpacing = C8.convert({
|
|
62408
62408
|
letterSpacing: P1.value
|
|
62409
62409
|
});
|
|
62410
62410
|
break;
|
|
@@ -62558,7 +62558,7 @@ const J3 = i3("shopConfig", {
|
|
|
62558
62558
|
}, hL = Q({
|
|
62559
62559
|
mixins: [Cf],
|
|
62560
62560
|
setup() {
|
|
62561
|
-
const e = He(), t = C2(), n =
|
|
62561
|
+
const e = He(), t = C2(), n = b2(), i = N2(), o = p9(), s = I4(), r = be(), a = J2(), l = Se(), { externalEditor: d } = D7(), c = n5();
|
|
62562
62562
|
return {
|
|
62563
62563
|
items: T(() => e.items),
|
|
62564
62564
|
selectedItemId: T(() => e.selectedItemId),
|
|
@@ -62879,16 +62879,16 @@ const J3 = i3("shopConfig", {
|
|
|
62879
62879
|
U2(() => n.context.isDesignCom, async () => {
|
|
62880
62880
|
const M = _9().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
62881
62881
|
try {
|
|
62882
|
-
const { default: V } = await fL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
62882
|
+
const { default: V } = await fL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BxL6mTJW.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BPbjqfkj.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-DDsoe143.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dak7ppy_.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dak7ppy_.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BUAneEVD.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BUAneEVD.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BJ00bTz_.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-B0V1M9Hs.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-YDMLB7u6.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DppQ26s1.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-0Xi-3slB.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-De-wHqSu.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-CQGAsn5D.js") }), `./watermark/CreatedOn${_}-${M}.vue`, 3);
|
|
62883
62883
|
i.value = V;
|
|
62884
62884
|
} catch {
|
|
62885
|
-
const { default: x } = await fL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
62885
|
+
const { default: x } = await fL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BPbjqfkj.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-B0V1M9Hs.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
|
|
62886
62886
|
i.value = x;
|
|
62887
62887
|
}
|
|
62888
62888
|
}, {
|
|
62889
62889
|
immediate: !0
|
|
62890
62890
|
});
|
|
62891
|
-
const s = (S = n.context.abTests) == null ? void 0 : S.bp_3926_freemium_watermark, r =
|
|
62891
|
+
const s = (S = n.context.abTests) == null ? void 0 : S.bp_3926_freemium_watermark, r = b2(), a = L4(), l = Se(), d = T(() => !!(s != null && s.isVariation)), c = Ue({
|
|
62892
62892
|
extraHeightStyle: { height: "0px" }
|
|
62893
62893
|
}), u = py(), h = (M) => {
|
|
62894
62894
|
M ? setTimeout(() => {
|
|
@@ -62951,7 +62951,7 @@ const J3 = i3("shopConfig", {
|
|
|
62951
62951
|
ab_test_variation: s == null ? void 0 : s.value,
|
|
62952
62952
|
content_type: null
|
|
62953
62953
|
}), await r.showUpgradeModalAndSaveAsync(
|
|
62954
|
-
|
|
62954
|
+
r8.RemoveWatermark
|
|
62955
62955
|
)) : l.sendFooterLinkClickEvent(_);
|
|
62956
62956
|
};
|
|
62957
62957
|
return (M, _) => (C(), f("footer", KO1, [
|
|
@@ -64680,7 +64680,7 @@ function aU1(e, t, n, i, o, s) {
|
|
|
64680
64680
|
}, null, 8, ["class", "min-height", "min-width"])) : k("", !0)
|
|
64681
64681
|
], 2);
|
|
64682
64682
|
}
|
|
64683
|
-
const
|
|
64683
|
+
const B9 = /* @__PURE__ */ v(rU1, [["render", aU1], ["__scopeId", "data-v-649bc0df"]]), mL = /* @__PURE__ */ Q({
|
|
64684
64684
|
__name: "ButtonIcon",
|
|
64685
64685
|
props: {
|
|
64686
64686
|
viewModel: {},
|
|
@@ -64696,7 +64696,7 @@ const P9 = /* @__PURE__ */ v(rU1, [["render", aU1], ["__scopeId", "data-v-649bc0
|
|
|
64696
64696
|
style: A1([{ position: "relative" }, t.iconStyle])
|
|
64697
64697
|
}, [
|
|
64698
64698
|
F1(t.$slots, "icon", {}, () => [
|
|
64699
|
-
t.isIconImage ? (C(), B(
|
|
64699
|
+
t.isIconImage ? (C(), B(B9, {
|
|
64700
64700
|
key: 0,
|
|
64701
64701
|
"image-url": t.viewModel.iconUrl,
|
|
64702
64702
|
"color-replacements": t.viewModel.colorReplacements,
|
|
@@ -64919,7 +64919,7 @@ const P9 = /* @__PURE__ */ v(rU1, [["render", aU1], ["__scopeId", "data-v-649bc0
|
|
|
64919
64919
|
case "mailTo":
|
|
64920
64920
|
return S6(t.viewModel.url);
|
|
64921
64921
|
case "tel":
|
|
64922
|
-
return
|
|
64922
|
+
return b8(t.viewModel.url);
|
|
64923
64923
|
default:
|
|
64924
64924
|
return q4(t.viewModel.url);
|
|
64925
64925
|
}
|
|
@@ -66199,11 +66199,11 @@ const cz1 = /* @__PURE__ */ v(az1, [["render", dz1], ["__scopeId", "data-v-d3c13
|
|
|
66199
66199
|
},
|
|
66200
66200
|
hasDescriptionText() {
|
|
66201
66201
|
var e, t;
|
|
66202
|
-
return $e(this.viewModel.description) ?
|
|
66202
|
+
return $e(this.viewModel.description) ? w8(this.viewModel.description) !== "" : ((t = (e = this.viewModel) == null ? void 0 : e.description) == null ? void 0 : t.length) > 0;
|
|
66203
66203
|
}
|
|
66204
66204
|
}
|
|
66205
66205
|
}), fz1 = {
|
|
66206
|
-
components: { Media:
|
|
66206
|
+
components: { Media: B9, TextWrapper: Ie },
|
|
66207
66207
|
mixins: [hz1]
|
|
66208
66208
|
}, gz1 = {
|
|
66209
66209
|
key: 0,
|
|
@@ -68312,7 +68312,7 @@ const sG1 = /* @__PURE__ */ v(tG1, [["render", oG1], ["__scopeId", "data-v-74073
|
|
|
68312
68312
|
computed: {
|
|
68313
68313
|
isCustomAmountFieldVisible() {
|
|
68314
68314
|
return this.viewModel.supportMeConfig.paymentOptions.some(
|
|
68315
|
-
(e) => e.name ===
|
|
68315
|
+
(e) => e.name === o8
|
|
68316
68316
|
);
|
|
68317
68317
|
},
|
|
68318
68318
|
isCustomerMessageFieldVisible() {
|
|
@@ -68332,7 +68332,7 @@ const sG1 = /* @__PURE__ */ v(tG1, [["render", oG1], ["__scopeId", "data-v-74073
|
|
|
68332
68332
|
},
|
|
68333
68333
|
paymentOptions() {
|
|
68334
68334
|
return this.viewModel.supportMeConfig.paymentOptions.filter(
|
|
68335
|
-
(e) => e.name !==
|
|
68335
|
+
(e) => e.name !== o8
|
|
68336
68336
|
);
|
|
68337
68337
|
},
|
|
68338
68338
|
currencySymbol() {
|
|
@@ -68374,7 +68374,7 @@ const sG1 = /* @__PURE__ */ v(tG1, [["render", oG1], ["__scopeId", "data-v-74073
|
|
|
68374
68374
|
else {
|
|
68375
68375
|
this.prevCustomAmount = e;
|
|
68376
68376
|
const t = this.viewModel.supportMeConfig.paymentOptions.find(
|
|
68377
|
-
(n) => n.name ===
|
|
68377
|
+
(n) => n.name === o8
|
|
68378
68378
|
);
|
|
68379
68379
|
t && (this.selectedPaymentOptionIds = [t.id]);
|
|
68380
68380
|
}
|
|
@@ -68889,7 +68889,7 @@ const TG1 = /* @__PURE__ */ v(_G1, [["render", LG1]]), EL = Q({
|
|
|
68889
68889
|
TextInput: X2,
|
|
68890
68890
|
Textarea: Nt,
|
|
68891
68891
|
Loader: Ke,
|
|
68892
|
-
Media:
|
|
68892
|
+
Media: B9,
|
|
68893
68893
|
TextWrapper: Ie
|
|
68894
68894
|
},
|
|
68895
68895
|
mixins: [EL],
|
|
@@ -69377,7 +69377,7 @@ const eW1 = /* @__PURE__ */ v(VG1, [["render", QG1], ["__scopeId", "data-v-b05af
|
|
|
69377
69377
|
if (!(t.isPreview || !s)) {
|
|
69378
69378
|
if (S6(s))
|
|
69379
69379
|
return `mailto:${s}`;
|
|
69380
|
-
if (
|
|
69380
|
+
if (b8(s))
|
|
69381
69381
|
return `tel:${s}`;
|
|
69382
69382
|
if (q4(s) && s !== "https://")
|
|
69383
69383
|
return s;
|
|
@@ -69393,7 +69393,7 @@ const eW1 = /* @__PURE__ */ v(VG1, [["render", QG1], ["__scopeId", "data-v-b05af
|
|
|
69393
69393
|
class: "tw-leading-none c-social-links__icon-container",
|
|
69394
69394
|
style: A1(n.value)
|
|
69395
69395
|
}, [
|
|
69396
|
-
a.imageUrl !== "" && i.value(a.imageUrl) ? (C(), B(
|
|
69396
|
+
a.imageUrl !== "" && i.value(a.imageUrl) ? (C(), B(B9, {
|
|
69397
69397
|
key: 0,
|
|
69398
69398
|
"image-url": a.imageUrl,
|
|
69399
69399
|
"color-replacements": a.colorReplacements,
|
|
@@ -69580,7 +69580,7 @@ const eW1 = /* @__PURE__ */ v(VG1, [["render", QG1], ["__scopeId", "data-v-b05af
|
|
|
69580
69580
|
},
|
|
69581
69581
|
hasDescriptionText() {
|
|
69582
69582
|
var e, t;
|
|
69583
|
-
return $e(this.viewModel.description) ?
|
|
69583
|
+
return $e(this.viewModel.description) ? w8(this.viewModel.description) !== "" : ((t = (e = this.viewModel) == null ? void 0 : e.description) == null ? void 0 : t.length) > 0;
|
|
69584
69584
|
},
|
|
69585
69585
|
overlayColor() {
|
|
69586
69586
|
return this.viewModel.overlayColor || "rgb(0,0,0)";
|
|
@@ -69601,7 +69601,7 @@ const eW1 = /* @__PURE__ */ v(VG1, [["render", QG1], ["__scopeId", "data-v-b05af
|
|
|
69601
69601
|
}
|
|
69602
69602
|
}
|
|
69603
69603
|
}), aW1 = {
|
|
69604
|
-
components: { Button: un, Media:
|
|
69604
|
+
components: { Button: un, Media: B9, TextWrapper: Ie },
|
|
69605
69605
|
mixins: [rW1]
|
|
69606
69606
|
}, lW1 = { "data-component": "banner-section" }, dW1 = { key: 2 }, cW1 = { class: "tw-w-full tw-self-center" }, CW1 = { class: "tw-w-full tw-relative" };
|
|
69607
69607
|
function uW1(e, t, n, i, o, s) {
|
|
@@ -69865,7 +69865,7 @@ const pW1 = /* @__PURE__ */ v(aW1, [["render", uW1], ["__scopeId", "data-v-c9625
|
|
|
69865
69865
|
"mobile-about-container--padding": n.value
|
|
69866
69866
|
})
|
|
69867
69867
|
}, [
|
|
69868
|
-
!i.value && !o.value && l.viewModel.displayStyle !== "text-only" ? (C(), B(
|
|
69868
|
+
!i.value && !o.value && l.viewModel.displayStyle !== "text-only" ? (C(), B(B9, {
|
|
69869
69869
|
key: 0,
|
|
69870
69870
|
"image-url": l.viewModel.imageUrl,
|
|
69871
69871
|
"color-replacements": l.viewModel.colorReplacements,
|
|
@@ -69889,7 +69889,7 @@ const pW1 = /* @__PURE__ */ v(aW1, [["render", uW1], ["__scopeId", "data-v-c9625
|
|
|
69889
69889
|
"grid-reverse-direction": l.viewModel.displayStyle === "right-aligned-full-image" && !l.context.isMobile
|
|
69890
69890
|
}])
|
|
69891
69891
|
}, [
|
|
69892
|
-
l.viewModel.displayStyle !== "centered" && l.viewModel.displayStyle !== "text-only" ? (C(), B(
|
|
69892
|
+
l.viewModel.displayStyle !== "centered" && l.viewModel.displayStyle !== "text-only" ? (C(), B(B9, {
|
|
69893
69893
|
key: 0,
|
|
69894
69894
|
"image-url": l.viewModel.imageUrl,
|
|
69895
69895
|
context: l.context,
|
|
@@ -69961,16 +69961,16 @@ const pW1 = /* @__PURE__ */ v(aW1, [["render", uW1], ["__scopeId", "data-v-c9625
|
|
|
69961
69961
|
},
|
|
69962
69962
|
setup(e) {
|
|
69963
69963
|
const t = e, n = T(() => t.viewModel.items), i = T(
|
|
69964
|
-
() => t.viewModel.displayStyle !==
|
|
69964
|
+
() => t.viewModel.displayStyle !== x9
|
|
69965
69965
|
), o = T(
|
|
69966
69966
|
() => t.context.isBrandSite && t.viewModel.areImagesFullWidth
|
|
69967
|
-
), s = T(() => (
|
|
69967
|
+
), s = T(() => (w8(t.viewModel.title) || "").length > 0), r = T(() => t.viewModel.displayStyle === o5 || t.viewModel.displayStyle === x5), a = T(() => t.viewModel.displayStyle === Fe || t.viewModel.displayStyle === x9 || t.viewModel.displayStyle === h3), l = T(
|
|
69968
69968
|
() => t.viewModel.displayStyle === h3
|
|
69969
69969
|
), d = T(() => l.value && t.viewModel.role === "shapes-section" && !t.context.isTemplate && !t.context.isBrandSite), c = T(
|
|
69970
69970
|
() => t.viewModel.displayStyle === Ml
|
|
69971
|
-
), u = T(() => t.viewModel.backgroundStyle.backgroundColor ? !
|
|
69971
|
+
), u = T(() => t.viewModel.backgroundStyle.backgroundColor ? !I9(t.viewModel.backgroundStyle.backgroundColor) : !1), h = T(() => t.context.isBrandPageOrIsBrandContact ? !u.value : t.viewModel.areImagesFullWidth), g = T(
|
|
69972
69972
|
() => t.context.isBrandSite && !t.viewModel.areImagesFullWidth
|
|
69973
|
-
), m = T(() => t.viewModel.displayStyle === o5 || t.viewModel.displayStyle === x5 || t.viewModel.displayStyle === Ml ? "tw-justify-start" : "tw-justify-center"), y = T(() => t.context.isBrandPageOrIsBrandContact ? !t.viewModel.areImagesFullWidth : !h.value), w = T(() => !t.context.isMobile), b = T(() => (
|
|
69973
|
+
), m = T(() => t.viewModel.displayStyle === o5 || t.viewModel.displayStyle === x5 || t.viewModel.displayStyle === Ml ? "tw-justify-start" : "tw-justify-center"), y = T(() => t.context.isBrandPageOrIsBrandContact ? !t.viewModel.areImagesFullWidth : !h.value), w = T(() => !t.context.isMobile), b = T(() => (w8(t.viewModel.description) || "").length > 0), S = (_) => _ ? I5(_) : "", M = (_) => {
|
|
69974
69974
|
if (!_.buttonViewModel)
|
|
69975
69975
|
return {};
|
|
69976
69976
|
const V = { ..._.buttonViewModel };
|
|
@@ -70123,7 +70123,7 @@ const AL = /* @__PURE__ */ X6(yW1), wW1 = "2/1", bW1 = /* @__PURE__ */ Q({
|
|
|
70123
70123
|
} : {
|
|
70124
70124
|
aspectRatio: wW1
|
|
70125
70125
|
};
|
|
70126
|
-
}), a = T(() => t.viewModel.items || []), l = T(() => t.context.isPreview), d = T(() => t.viewModel.displayStyle ===
|
|
70126
|
+
}), a = T(() => t.viewModel.items || []), l = T(() => t.context.isPreview), d = T(() => t.viewModel.displayStyle === x9 && t.viewModel.items.length === 1), c = T(() => (x) => Mn(x, t.context)), u = T(() => {
|
|
70127
70127
|
const x = a.value[0];
|
|
70128
70128
|
if (x)
|
|
70129
70129
|
return {
|
|
@@ -70137,7 +70137,7 @@ const AL = /* @__PURE__ */ X6(yW1), wW1 = "2/1", bW1 = /* @__PURE__ */ Q({
|
|
|
70137
70137
|
height: x.height,
|
|
70138
70138
|
width: x.width
|
|
70139
70139
|
};
|
|
70140
|
-
}), h = T(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle ===
|
|
70140
|
+
}), h = T(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle === x9), g = T(() => t.context.isBrandPageOrIsBrandContact), m = T(() => a.value.length == 1 || !d.value), y = (x) => {
|
|
70141
70141
|
if (x.imageLink && AL(x.imageLink)) {
|
|
70142
70142
|
window.open(x.imageLink, "_blank", "noopener,noreferrer");
|
|
70143
70143
|
return;
|
|
@@ -70305,7 +70305,7 @@ const AL = /* @__PURE__ */ X6(yW1), wW1 = "2/1", bW1 = /* @__PURE__ */ Q({
|
|
|
70305
70305
|
}
|
|
70306
70306
|
}
|
|
70307
70307
|
}), MW1 = {
|
|
70308
|
-
components: { Carousel: gg, Media:
|
|
70308
|
+
components: { Carousel: gg, Media: B9, Icon: c2, TextWrapper: Ie },
|
|
70309
70309
|
mixins: [_W1]
|
|
70310
70310
|
}, kW1 = { id: "button-prev" }, LW1 = {
|
|
70311
70311
|
key: 1,
|
|
@@ -70529,7 +70529,7 @@ const IW1 = /* @__PURE__ */ v(MW1, [["render", xW1], ["__scopeId", "data-v-1335f
|
|
|
70529
70529
|
},
|
|
70530
70530
|
dividerStyle() {
|
|
70531
70531
|
let e;
|
|
70532
|
-
return this.viewModel.dividerStyle ===
|
|
70532
|
+
return this.viewModel.dividerStyle === i8.thin ? e = `border: 1px solid ${this.viewModel.dividerColor.backgroundColor}` : this.viewModel.dividerStyle === i8.thick ? e = `border: 2px solid ${this.viewModel.dividerColor.backgroundColor}` : e = "border: none", e;
|
|
70533
70533
|
}
|
|
70534
70534
|
}
|
|
70535
70535
|
}), AW1 = {
|
|
@@ -70575,7 +70575,7 @@ const OW1 = /* @__PURE__ */ v(AW1, [["render", BW1], ["__scopeId", "data-v-ef10c
|
|
|
70575
70575
|
})
|
|
70576
70576
|
}, {
|
|
70577
70577
|
media: i1(({ item: i }) => [
|
|
70578
|
-
L(
|
|
70578
|
+
L(B9, {
|
|
70579
70579
|
"image-url": i.imageUrl,
|
|
70580
70580
|
"color-replacements": i.colorReplacements,
|
|
70581
70581
|
size: e.viewModel.size,
|
|
@@ -71755,7 +71755,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
71755
71755
|
setup(e) {
|
|
71756
71756
|
const t = e, n = T(() => t.viewModel.description ? $e(t.viewModel.description) ? t.viewModel.description : I5(t.viewModel.description) : ""), i = T(() => {
|
|
71757
71757
|
var r, a;
|
|
71758
|
-
return $e(t.viewModel.description) ?
|
|
71758
|
+
return $e(t.viewModel.description) ? w8(t.viewModel.description) !== "" : ((a = (r = t.viewModel) == null ? void 0 : r.description) == null ? void 0 : a.length) > 0;
|
|
71759
71759
|
}), o = T(() => Wg({
|
|
71760
71760
|
buttonText: t.viewModel.buttonText,
|
|
71761
71761
|
buttonViewModel: t.viewModel.buttonViewModel
|
|
@@ -72531,7 +72531,7 @@ const eY1 = /* @__PURE__ */ v(XK1, [["render", QK1]]), tY1 = { key: 0 }, nY1 = {
|
|
|
72531
72531
|
PageHeader: xK1,
|
|
72532
72532
|
PageFooter: BK1,
|
|
72533
72533
|
BrandSiteNavigationLayout: tB,
|
|
72534
|
-
Media:
|
|
72534
|
+
Media: B9,
|
|
72535
72535
|
SaveContactWidget: fY1
|
|
72536
72536
|
},
|
|
72537
72537
|
mixins: [Cf],
|
|
@@ -73152,14 +73152,14 @@ const $t = (e) => {
|
|
|
73152
73152
|
isNewPageModalVisible: e,
|
|
73153
73153
|
parentPageId: t
|
|
73154
73154
|
}) {
|
|
73155
|
-
const n = J2(), i =
|
|
73155
|
+
const n = J2(), i = b2(), o = N2(), s = Se(), { maxNumOfPages: r } = o.features;
|
|
73156
73156
|
if (!i.isPrePurchase && r > 0 && e && this.pages.length >= r) {
|
|
73157
73157
|
s.setUpsellBridgeState({
|
|
73158
73158
|
cta_location: H4.ADD_NEW_PAGE,
|
|
73159
73159
|
trigger_type: v5.AUTOMATIC,
|
|
73160
73160
|
content_type: null
|
|
73161
73161
|
}), await n.showUpgradeModalAndSaveAsync(
|
|
73162
|
-
|
|
73162
|
+
r8.AddPage
|
|
73163
73163
|
);
|
|
73164
73164
|
return;
|
|
73165
73165
|
}
|
|
@@ -73372,7 +73372,7 @@ const $t = (e) => {
|
|
|
73372
73372
|
} : e.buttonLinkType === le.mailTo && typeof e.url == "string" && !S6(e.url) && e.buttonText !== !1 && ((n = e.buttonText) == null ? void 0 : n.length) > 0 ? {
|
|
73373
73373
|
message: ZY1(),
|
|
73374
73374
|
isValid: !1
|
|
73375
|
-
} : e.buttonLinkType === le.tel && !
|
|
73375
|
+
} : e.buttonLinkType === le.tel && !b8(e.url) && e.buttonText !== !1 && ((i = e.buttonText) == null ? void 0 : i.length) > 0 ? {
|
|
73376
73376
|
message: FY1(),
|
|
73377
73377
|
isValid: !1
|
|
73378
73378
|
} : {
|
|
@@ -73431,7 +73431,7 @@ const $t = (e) => {
|
|
|
73431
73431
|
}
|
|
73432
73432
|
}, lB = {
|
|
73433
73433
|
validate: (e, t) => {
|
|
73434
|
-
const n =
|
|
73434
|
+
const n = b8(t);
|
|
73435
73435
|
return {
|
|
73436
73436
|
isValid: n,
|
|
73437
73437
|
message: n ? "" : X5("invalidTelMessage")
|
|
@@ -73942,9 +73942,9 @@ const OL = /* @__PURE__ */ X6(gX1), my = {
|
|
|
73942
73942
|
categories: "categories",
|
|
73943
73943
|
AI: "ai"
|
|
73944
73944
|
}, mX1 = () => ({
|
|
73945
|
-
all:
|
|
73946
|
-
categories:
|
|
73947
|
-
AI:
|
|
73945
|
+
all: a8("headerAll"),
|
|
73946
|
+
categories: a8("headerCategories"),
|
|
73947
|
+
AI: a8("headerAi")
|
|
73948
73948
|
}), yX1 = (e) => `/maker/api/template/templatetype/${e}`, wX1 = (e) => `/maker/api/template/${e}`;
|
|
73949
73949
|
class bX1 {
|
|
73950
73950
|
constructor(t = {}) {
|
|
@@ -74005,7 +74005,7 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74005
74005
|
templates: [],
|
|
74006
74006
|
selectedTab: {
|
|
74007
74007
|
key: "all",
|
|
74008
|
-
displayName:
|
|
74008
|
+
displayName: a8("headerAll")
|
|
74009
74009
|
},
|
|
74010
74010
|
searchTerm: void 0,
|
|
74011
74011
|
selectedCategory: void 0,
|
|
@@ -74013,15 +74013,15 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74013
74013
|
tabsWithTranslations: [
|
|
74014
74014
|
{
|
|
74015
74015
|
key: "all",
|
|
74016
|
-
displayName:
|
|
74016
|
+
displayName: a8("headerAll")
|
|
74017
74017
|
},
|
|
74018
74018
|
{
|
|
74019
74019
|
key: "categories",
|
|
74020
|
-
displayName:
|
|
74020
|
+
displayName: a8("headerCategories")
|
|
74021
74021
|
},
|
|
74022
74022
|
{
|
|
74023
74023
|
key: "ai",
|
|
74024
|
-
displayName:
|
|
74024
|
+
displayName: a8("headerAi")
|
|
74025
74025
|
}
|
|
74026
74026
|
],
|
|
74027
74027
|
cachedTemplates: {},
|
|
@@ -74108,7 +74108,7 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74108
74108
|
},
|
|
74109
74109
|
async loadPageNo({ pageNo: e }) {
|
|
74110
74110
|
var d, c;
|
|
74111
|
-
const t = C2(), n =
|
|
74111
|
+
const t = C2(), n = b2(), i = N2(), o = U3(), s = V4(), r = G4(), a = n.designTemplateToken;
|
|
74112
74112
|
if (t.isInitialising) {
|
|
74113
74113
|
setTimeout(() => {
|
|
74114
74114
|
this.loadPageNo({ pageNo: e });
|
|
@@ -74292,7 +74292,7 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74292
74292
|
}), RL = Object.freeze({
|
|
74293
74293
|
Published: "Published",
|
|
74294
74294
|
Unpublished: "Unpublished"
|
|
74295
|
-
}),
|
|
74295
|
+
}), b2 = i3("brandPageContainer", {
|
|
74296
74296
|
state: () => ({
|
|
74297
74297
|
brandPageBaseUrl: "",
|
|
74298
74298
|
baseFabricRenderUrl: "",
|
|
@@ -74819,7 +74819,7 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74819
74819
|
/([A-Z])/g,
|
|
74820
74820
|
(a, l, d) => d === 0 ? l.toLowerCase() : `_${l.toLowerCase()}`
|
|
74821
74821
|
);
|
|
74822
|
-
}, o = this.isPublishUpgradeModal ?
|
|
74822
|
+
}, o = this.isPublishUpgradeModal ? r8.Publish : e, s = t || i(o);
|
|
74823
74823
|
if (n.sendUpsellOpenEvent(s), !this.isPrePurchase && o) {
|
|
74824
74824
|
const r = await this.getContextualUpgradeResponseAsync();
|
|
74825
74825
|
r && r.isUserBucketed && r.showContextualUpgrade && (n.sendExperimentStartedEvent(
|
|
@@ -74870,13 +74870,13 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
74870
74870
|
let n;
|
|
74871
74871
|
switch (e) {
|
|
74872
74872
|
case "contact-form":
|
|
74873
|
-
n =
|
|
74873
|
+
n = r8.ContactForm;
|
|
74874
74874
|
break;
|
|
74875
74875
|
case "map":
|
|
74876
|
-
n =
|
|
74876
|
+
n = r8.Maps;
|
|
74877
74877
|
break;
|
|
74878
74878
|
case "video":
|
|
74879
|
-
n =
|
|
74879
|
+
n = r8.Videos;
|
|
74880
74880
|
break;
|
|
74881
74881
|
default:
|
|
74882
74882
|
console.error(
|
|
@@ -75066,7 +75066,7 @@ const $L = () => zp || (zp = new bX1()), Vd = (e, t) => vX1(e).then(
|
|
|
75066
75066
|
return tn(t, "gettyAssetId").length >= yy;
|
|
75067
75067
|
},
|
|
75068
75068
|
canAddNewVideo() {
|
|
75069
|
-
const e = N2(), t =
|
|
75069
|
+
const e = N2(), t = b2(), n = e.features.canUseGettyVideos, i = t.isPrePurchase, o = e.hasPremiumSubscription;
|
|
75070
75070
|
return n && (e.isAdmin || i || o);
|
|
75071
75071
|
}
|
|
75072
75072
|
}
|
|
@@ -76118,7 +76118,7 @@ const He = i3("uiContentSettings", {
|
|
|
76118
76118
|
console.error("unable to locate logo template model for adding logo");
|
|
76119
76119
|
return;
|
|
76120
76120
|
}
|
|
76121
|
-
const n =
|
|
76121
|
+
const n = v8(
|
|
76122
76122
|
t.logoImageUrl
|
|
76123
76123
|
);
|
|
76124
76124
|
e.items.filter((i) => i.type === "logo").filter((i) => !i.settings.content.logoImage.logoDraftToken).forEach((i) => {
|
|
@@ -76262,12 +76262,12 @@ const He = i3("uiContentSettings", {
|
|
|
76262
76262
|
},
|
|
76263
76263
|
getters: {
|
|
76264
76264
|
currentPublishedSlugUrl: (e) => () => {
|
|
76265
|
-
const t =
|
|
76265
|
+
const t = b2();
|
|
76266
76266
|
if (!(!t.brandPageSlug || !e.baseBrandPageDomain))
|
|
76267
76267
|
return `${e.baseBrandPageDomain}/${t.brandPageSlug}`;
|
|
76268
76268
|
},
|
|
76269
76269
|
currentBrandPageUrl: (e) => () => {
|
|
76270
|
-
const t =
|
|
76270
|
+
const t = b2();
|
|
76271
76271
|
return t.brandPageSlug ? `${e.baseBrandPageDomain}/${t.brandPageSlug}` : "";
|
|
76272
76272
|
},
|
|
76273
76273
|
getPostpurchaseByDesignDraftTokenUrl: () => (e, t) => VX1(e, {
|
|
@@ -76460,7 +76460,7 @@ const He = i3("uiContentSettings", {
|
|
|
76460
76460
|
this.selectedTemplateId = e.templateId;
|
|
76461
76461
|
},
|
|
76462
76462
|
async recalculateLogoSizes(e = !1) {
|
|
76463
|
-
const t =
|
|
76463
|
+
const t = b2(), n = N2(), i = be(), o = U3(), s = G4();
|
|
76464
76464
|
!n.isAdmin && this.isBrandSite ? await sE(
|
|
76465
76465
|
i,
|
|
76466
76466
|
o,
|
|
@@ -76477,7 +76477,7 @@ const He = i3("uiContentSettings", {
|
|
|
76477
76477
|
},
|
|
76478
76478
|
async applySelectedTemplate() {
|
|
76479
76479
|
var V, x, N;
|
|
76480
|
-
const e = J2(), t = U3(), n = n5(), i = W6(), o = p9(), s = i5(), r = N2(), a =
|
|
76480
|
+
const e = J2(), t = U3(), n = n5(), i = W6(), o = p9(), s = i5(), r = N2(), a = b2(), l = He(), d = G4(), c = V4();
|
|
76481
76481
|
if (!this.selectedTemplateId)
|
|
76482
76482
|
return;
|
|
76483
76483
|
let u = i.getTemplateByTemplateId(
|
|
@@ -76517,7 +76517,7 @@ const He = i3("uiContentSettings", {
|
|
|
76517
76517
|
logoTheme: k9(F)
|
|
76518
76518
|
});
|
|
76519
76519
|
}
|
|
76520
|
-
const O =
|
|
76520
|
+
const O = v8(g);
|
|
76521
76521
|
[
|
|
76522
76522
|
"pageHeaderDesktop",
|
|
76523
76523
|
"pageHeaderMobile",
|
|
@@ -76622,7 +76622,7 @@ const He = i3("uiContentSettings", {
|
|
|
76622
76622
|
label: V2("saveSuccess"),
|
|
76623
76623
|
description: e.noDescription ? "" : t
|
|
76624
76624
|
}
|
|
76625
|
-
}),
|
|
76625
|
+
}), T9().reset();
|
|
76626
76626
|
},
|
|
76627
76627
|
hideChangeTemplateConfirmModal() {
|
|
76628
76628
|
this.setIsChangeTemplateConfirmModalVisible({
|
|
@@ -76686,7 +76686,7 @@ const He = i3("uiContentSettings", {
|
|
|
76686
76686
|
* feature flag is on — see `BrandPageMaker.mixin.ts`).
|
|
76687
76687
|
*/
|
|
76688
76688
|
_captureTemplateSwitchIfEnabled() {
|
|
76689
|
-
const e =
|
|
76689
|
+
const e = T9();
|
|
76690
76690
|
e.baselineCaptured && e.captureTemplateSwitch();
|
|
76691
76691
|
},
|
|
76692
76692
|
async applyHistorySnapshot(e, t, n) {
|
|
@@ -76716,29 +76716,38 @@ const He = i3("uiContentSettings", {
|
|
|
76716
76716
|
}), e.isModifiedAfterTemplateApplied !== void 0 && (this.isModifiedAfterTemplateApplied = e.isModifiedAfterTemplateApplied), e.brandPageType && this.setBrandPageType({ brandPageType: e.brandPageType }), this.faviconUrl = e.faviconUrl, this.ogImageUrl = e.ogImageUrl, this.measurementID = e.measurementID, this.adsenseID = e.adsenseID, this.ogTitle = e.ogTitle, this.ogDescription = e.ogDescription, this.cookieOptions = e.cookieOptions, this.saveContactSettings = e.saveContactSettings, this._syncLogoSettingsFromSnapshot(e, n), this._fallbackSidebarIfSelectedContentMissing(e), this._navigateToActivePage(t);
|
|
76717
76717
|
},
|
|
76718
76718
|
_syncLogoSettingsFromSnapshot(e, t) {
|
|
76719
|
-
var
|
|
76720
|
-
const n = U3(), i = G4(), o = V4();
|
|
76719
|
+
var c, u, h, g, m;
|
|
76720
|
+
const n = U3(), i = G4(), o = V4(), s = b2();
|
|
76721
76721
|
if (t)
|
|
76722
76722
|
try {
|
|
76723
|
-
const
|
|
76724
|
-
i.$patch({ logoEdits:
|
|
76725
|
-
} catch (
|
|
76723
|
+
const y = JSON.parse(t);
|
|
76724
|
+
i.$patch({ logoEdits: y });
|
|
76725
|
+
} catch (y) {
|
|
76726
76726
|
console.error(
|
|
76727
76727
|
"brandpage-maker-store: failed to restore logoEdits",
|
|
76728
|
-
|
|
76728
|
+
y
|
|
76729
76729
|
);
|
|
76730
76730
|
}
|
|
76731
|
-
const
|
|
76732
|
-
(
|
|
76733
|
-
)) == null ? void 0 :
|
|
76734
|
-
if (!
|
|
76731
|
+
const r = e.brandPageType === u1.default ? (g = (h = (u = (c = e.pages) == null ? void 0 : c[0]) == null ? void 0 : u.contents) == null ? void 0 : h.find(
|
|
76732
|
+
(y) => y.type === "logo"
|
|
76733
|
+
)) == null ? void 0 : g.logoImage : (m = e.pageHeaderDesktop) == null ? void 0 : m.logoImage;
|
|
76734
|
+
if (!r) return;
|
|
76735
76735
|
n.setState({
|
|
76736
|
-
newState: { selectedLogoImage:
|
|
76736
|
+
newState: { selectedLogoImage: r }
|
|
76737
76737
|
});
|
|
76738
|
-
const
|
|
76739
|
-
if (!
|
|
76740
|
-
const
|
|
76741
|
-
|
|
76738
|
+
const a = r.logoDraftToken;
|
|
76739
|
+
if (!a) return;
|
|
76740
|
+
const l = o.getLogoDraftAssetByToken(a);
|
|
76741
|
+
if (l && (i.setEnableEditMode(!l.isByo), l.templateAsset && o.setLogoTemplateAsset(l.templateAsset)), i.setLogoDraftToken(a), !!(l != null && l.isByo)) {
|
|
76742
|
+
i.restoreVariationsForDraftToken(a);
|
|
76743
|
+
return;
|
|
76744
|
+
}
|
|
76745
|
+
s.isPrePurchase && t && o.logoTemplateAsset && (T9().mergeNextMutation(), i.updateEditableLogoImageUrlAsync().catch((y) => {
|
|
76746
|
+
console.error(
|
|
76747
|
+
"brandpage-maker-store: failed to re-render logo on history apply",
|
|
76748
|
+
y
|
|
76749
|
+
);
|
|
76750
|
+
}));
|
|
76742
76751
|
},
|
|
76743
76752
|
/**
|
|
76744
76753
|
* Restore the active page after a history apply. The id passed in is
|
|
@@ -76832,21 +76841,21 @@ const He = i3("uiContentSettings", {
|
|
|
76832
76841
|
c,
|
|
76833
76842
|
void 0,
|
|
76834
76843
|
void 0,
|
|
76835
|
-
|
|
76844
|
+
v2.titles,
|
|
76836
76845
|
a.textStyleOptions.titles.style
|
|
76837
76846
|
), z0(
|
|
76838
76847
|
d,
|
|
76839
76848
|
c,
|
|
76840
76849
|
void 0,
|
|
76841
76850
|
void 0,
|
|
76842
|
-
|
|
76851
|
+
v2.headings,
|
|
76843
76852
|
a.textStyleOptions.headings.style
|
|
76844
76853
|
), z0(
|
|
76845
76854
|
d,
|
|
76846
76855
|
c,
|
|
76847
76856
|
void 0,
|
|
76848
76857
|
void 0,
|
|
76849
|
-
|
|
76858
|
+
v2.paragraphs,
|
|
76850
76859
|
a.textStyleOptions.paragraphs.style
|
|
76851
76860
|
), c.destroy();
|
|
76852
76861
|
},
|
|
@@ -76866,7 +76875,7 @@ const He = i3("uiContentSettings", {
|
|
|
76866
76875
|
isServerRenderOverride: h = !1
|
|
76867
76876
|
}) {
|
|
76868
76877
|
var x, N, O, Z, F, K, e1;
|
|
76869
|
-
const g =
|
|
76878
|
+
const g = b2(), m = N2(), y = J2(), w = W6(), b = U3(), S = G4(), M = i5(), _ = n5(), V = p9();
|
|
76870
76879
|
I4(), V.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
76871
76880
|
try {
|
|
76872
76881
|
const Y = k9(
|
|
@@ -76878,7 +76887,7 @@ const He = i3("uiContentSettings", {
|
|
|
76878
76887
|
let l1 = a1.brandPageType === u1.default ? (N = (x = a1.pages) == null ? void 0 : x[0].contents.find(
|
|
76879
76888
|
(w1) => w1.type === "logo"
|
|
76880
76889
|
)) == null ? void 0 : N.logoImage : (O = a1.pageHeaderDesktop) == null ? void 0 : O.logoImage;
|
|
76881
|
-
l1 != null && l1.logoDraftToken || (l1 =
|
|
76890
|
+
l1 != null && l1.logoDraftToken || (l1 = v8(
|
|
76882
76891
|
c[0]
|
|
76883
76892
|
)), await rm(a1, {
|
|
76884
76893
|
logoImage: l1,
|
|
@@ -77101,25 +77110,25 @@ const He = i3("uiContentSettings", {
|
|
|
77101
77110
|
});
|
|
77102
77111
|
},
|
|
77103
77112
|
async setIsSaving(e) {
|
|
77104
|
-
await
|
|
77113
|
+
await b2().setIsSaving(e);
|
|
77105
77114
|
},
|
|
77106
77115
|
async showBrandPageSlugEditModal() {
|
|
77107
|
-
await
|
|
77116
|
+
await b2().showBrandPageSlugEditModal(
|
|
77108
77117
|
H4.SLUG_CHANGE_MAKER_SIDEBAR_SETTINGS
|
|
77109
77118
|
);
|
|
77110
77119
|
},
|
|
77111
77120
|
async updateBrandPageSettings(e) {
|
|
77112
|
-
await
|
|
77121
|
+
await b2().updateBrandPageSettings(e), e.shouldRefresh && typeof window < "u" && window.location.reload();
|
|
77113
77122
|
},
|
|
77114
77123
|
async updateSensitiveContentSettings(e) {
|
|
77115
|
-
await
|
|
77124
|
+
await b2().updateSensitiveContent(e), e.shouldRefresh && typeof window < "u" && window.location.reload();
|
|
77116
77125
|
},
|
|
77117
77126
|
async updateAndSaveMeasurementID(e) {
|
|
77118
|
-
const t =
|
|
77127
|
+
const t = b2();
|
|
77119
77128
|
this.setMeasurementID({ measurementID: e.measurementID }), await t.saveBrandPage();
|
|
77120
77129
|
},
|
|
77121
77130
|
async updateAndSaveAdsenseID(e) {
|
|
77122
|
-
const t =
|
|
77131
|
+
const t = b2();
|
|
77123
77132
|
this.setAdsenseID({ adsenseID: e.adsenseID }), await t.saveBrandPage();
|
|
77124
77133
|
},
|
|
77125
77134
|
async validateContentItems() {
|
|
@@ -77142,7 +77151,7 @@ const He = i3("uiContentSettings", {
|
|
|
77142
77151
|
);
|
|
77143
77152
|
},
|
|
77144
77153
|
async showStripeOnboardingModal() {
|
|
77145
|
-
await
|
|
77154
|
+
await b2().showStripeOnboardingModal();
|
|
77146
77155
|
},
|
|
77147
77156
|
selectInitialCategories(e) {
|
|
77148
77157
|
const t = W6(), n = He();
|
|
@@ -77210,13 +77219,13 @@ const He = i3("uiContentSettings", {
|
|
|
77210
77219
|
};
|
|
77211
77220
|
},
|
|
77212
77221
|
brandPageToken() {
|
|
77213
|
-
return
|
|
77222
|
+
return b2().brandPageToken;
|
|
77214
77223
|
},
|
|
77215
77224
|
brandPageDescription() {
|
|
77216
|
-
return
|
|
77225
|
+
return b2().brandPageDescription;
|
|
77217
77226
|
},
|
|
77218
77227
|
brandPageSlug() {
|
|
77219
|
-
return
|
|
77228
|
+
return b2().brandPageSlug || "";
|
|
77220
77229
|
},
|
|
77221
77230
|
brandPageTemplate() {
|
|
77222
77231
|
const e = be(), t = i5(), n = n5(), i = p9(), o = e.pages.map((g) => ({
|
|
@@ -77276,10 +77285,10 @@ const He = i3("uiContentSettings", {
|
|
|
77276
77285
|
};
|
|
77277
77286
|
},
|
|
77278
77287
|
brandPageTitle() {
|
|
77279
|
-
return
|
|
77288
|
+
return b2().brandPageTitle;
|
|
77280
77289
|
},
|
|
77281
77290
|
brandPageViewModel() {
|
|
77282
|
-
const e = N2(), t = J2(), n = n9(), i =
|
|
77291
|
+
const e = N2(), t = J2(), n = n9(), i = b2();
|
|
77283
77292
|
if (e.isAdmin && t.logoTheme) {
|
|
77284
77293
|
const s = it(
|
|
77285
77294
|
t.logoTheme,
|
|
@@ -77342,26 +77351,26 @@ const He = i3("uiContentSettings", {
|
|
|
77342
77351
|
return J2().screenSizeMode !== Z0.mobile;
|
|
77343
77352
|
},
|
|
77344
77353
|
isProduction() {
|
|
77345
|
-
return
|
|
77354
|
+
return b2().isProduction;
|
|
77346
77355
|
},
|
|
77347
77356
|
isPublishButtonEnabled() {
|
|
77348
77357
|
return !this.isSaving;
|
|
77349
77358
|
},
|
|
77350
77359
|
isPublished() {
|
|
77351
|
-
const e = N2(), t =
|
|
77360
|
+
const e = N2(), t = b2();
|
|
77352
77361
|
return !e.isAdmin && t.isPublished;
|
|
77353
77362
|
},
|
|
77354
77363
|
isPublishing() {
|
|
77355
|
-
return
|
|
77364
|
+
return b2().isPublishing;
|
|
77356
77365
|
},
|
|
77357
77366
|
isSaving() {
|
|
77358
|
-
return
|
|
77367
|
+
return b2().isSaving;
|
|
77359
77368
|
},
|
|
77360
77369
|
isUserDraft() {
|
|
77361
|
-
return
|
|
77370
|
+
return b2().isUserDraft;
|
|
77362
77371
|
},
|
|
77363
77372
|
runtimeEnvironment() {
|
|
77364
|
-
return
|
|
77373
|
+
return b2().runtimeEnvironment;
|
|
77365
77374
|
},
|
|
77366
77375
|
showBrandCrowdLogo() {
|
|
77367
77376
|
const e = N2();
|
|
@@ -77423,16 +77432,16 @@ const He = i3("uiContentSettings", {
|
|
|
77423
77432
|
C2().onStyleChanged();
|
|
77424
77433
|
},
|
|
77425
77434
|
async redirectToCreateNewDesignPage() {
|
|
77426
|
-
await
|
|
77435
|
+
await b2().redirectToCreateNewDesignPage();
|
|
77427
77436
|
},
|
|
77428
77437
|
async showStripeOnboardingModal() {
|
|
77429
|
-
await
|
|
77438
|
+
await b2().showStripeOnboardingModal();
|
|
77430
77439
|
},
|
|
77431
77440
|
setLogoDraftToken(e) {
|
|
77432
77441
|
this.logoDraftToken = e.logoDraftToken;
|
|
77433
77442
|
},
|
|
77434
77443
|
async triggerLockedContentClickedEvent(e) {
|
|
77435
|
-
const t = N2(), n =
|
|
77444
|
+
const t = N2(), n = b2();
|
|
77436
77445
|
t.isAdmin || await n.triggerLockedContentClickedEvent(
|
|
77437
77446
|
e.type
|
|
77438
77447
|
);
|
|
@@ -77444,7 +77453,7 @@ const He = i3("uiContentSettings", {
|
|
|
77444
77453
|
C2().onTemplateSelected(e);
|
|
77445
77454
|
},
|
|
77446
77455
|
async showUpgradeModalAndSaveAsync(e) {
|
|
77447
|
-
await
|
|
77456
|
+
await b2().showUpgradeModalAndSaveAsync(
|
|
77448
77457
|
e
|
|
77449
77458
|
);
|
|
77450
77459
|
},
|
|
@@ -78201,23 +78210,23 @@ const xn = i3("snapshot", {
|
|
|
78201
78210
|
{
|
|
78202
78211
|
iconName: "ban",
|
|
78203
78212
|
iconViewBox: "-26 -1 70 18",
|
|
78204
|
-
isSelected: e ===
|
|
78213
|
+
isSelected: e === i8.none,
|
|
78205
78214
|
title: $("noneDivider"),
|
|
78206
|
-
value:
|
|
78215
|
+
value: i8.none
|
|
78207
78216
|
},
|
|
78208
78217
|
{
|
|
78209
78218
|
iconName: "divider-thin",
|
|
78210
78219
|
iconViewBox: "0 0 94 24",
|
|
78211
|
-
isSelected: e ===
|
|
78220
|
+
isSelected: e === i8.thin,
|
|
78212
78221
|
title: $("thinLineDivider"),
|
|
78213
|
-
value:
|
|
78222
|
+
value: i8.thin
|
|
78214
78223
|
},
|
|
78215
78224
|
{
|
|
78216
78225
|
iconName: "divider-thick",
|
|
78217
78226
|
iconViewBox: "0 0 94 24",
|
|
78218
78227
|
title: $("thickLineDivider"),
|
|
78219
|
-
isSelected: e ===
|
|
78220
|
-
value:
|
|
78228
|
+
isSelected: e === i8.thick,
|
|
78229
|
+
value: i8.thick
|
|
78221
78230
|
}
|
|
78222
78231
|
]
|
|
78223
78232
|
};
|
|
@@ -78392,7 +78401,7 @@ const xn = i3("snapshot", {
|
|
|
78392
78401
|
}
|
|
78393
78402
|
};
|
|
78394
78403
|
}
|
|
78395
|
-
},
|
|
78404
|
+
}, C8 = {
|
|
78396
78405
|
convertBackToMultipleValues: !1,
|
|
78397
78406
|
convert(e) {
|
|
78398
78407
|
return e != null && e.letterSpacing ? (parseFloat(e.letterSpacing) * 100).toFixed(0).toString() : "0";
|
|
@@ -78534,7 +78543,7 @@ const xn = i3("snapshot", {
|
|
|
78534
78543
|
}, eg = (e, t) => t.isBrandSite, pT = (e, t) => t.isBrandPage || t.isBrandContact, jp = (e) => !!(e != null && e.imageUrl), hT = (e) => {
|
|
78535
78544
|
var t;
|
|
78536
78545
|
return (((t = e == null ? void 0 : e.images) == null ? void 0 : t.length) || 0) > 0;
|
|
78537
|
-
}, aJ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", lJ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", dJ1 = (e) => e.displayStyle === h3, cJ1 = (e) => e.displayStyle === h3, CJ1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", uJ1 = (e) => e && (e == null ? void 0 : e.displayStyle) ===
|
|
78546
|
+
}, aJ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", lJ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", dJ1 = (e) => e.displayStyle === h3, cJ1 = (e) => e.displayStyle === h3, CJ1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", uJ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === x9 ? "images" : "text-image-items", pJ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === x9 ? "shape-items" : "text-image-items", hJ1 = (e) => (e == null ? void 0 : e.dividerStyle) !== "none", wy = (e) => !!(e != null && e.colorReplacements && (e != null && e.imageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), fJ1 = (e) => !!(e != null && e.colorReplacements && (e != null && e.avatarImageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), L6 = (e) => !!(e != null && e.colorReplacements && (e != null && e.iconUrl) && (e == null ? void 0 : e.mediaType) === "shape"), gJ1 = (e, t) => !!(e != null && e.layoutStyle && [
|
|
78538
78547
|
h3,
|
|
78539
78548
|
R0,
|
|
78540
78549
|
J5,
|
|
@@ -78559,7 +78568,7 @@ const xn = i3("snapshot", {
|
|
|
78559
78568
|
return {};
|
|
78560
78569
|
const n = e.pages.flatMap((a) => a.contents).find((a) => a.id === t), i = ((s = n.backgroundColor) == null ? void 0 : s.background) || ((r = n.backgroundColor) == null ? void 0 : r.backgroundColor);
|
|
78561
78570
|
return {
|
|
78562
|
-
color: i && !
|
|
78571
|
+
color: i && !I9(i) ? r3(e.styles.buttonStyles.style.color) : r3(e.styles.textStyles.style.color)
|
|
78563
78572
|
};
|
|
78564
78573
|
}, wJ1 = (e) => ({
|
|
78565
78574
|
backgroundColor: r3(
|
|
@@ -78569,7 +78578,7 @@ const xn = i3("snapshot", {
|
|
|
78569
78578
|
var s, r;
|
|
78570
78579
|
const n = e.pages.flatMap((a) => a.contents).find((a) => a.id === t), i = ((s = n.backgroundColor) == null ? void 0 : s.background) || ((r = n.backgroundColor) == null ? void 0 : r.backgroundColor);
|
|
78571
78580
|
return {
|
|
78572
|
-
color: i && !
|
|
78581
|
+
color: i && !I9(i) ? r3(e.styles.buttonStyles.style.color) : r3(e.styles.textStyles.style.color)
|
|
78573
78582
|
};
|
|
78574
78583
|
}, bJ1 = (e) => ({
|
|
78575
78584
|
borderColor: e.styles.buttonStyles.style.backgroundColor
|
|
@@ -78641,8 +78650,8 @@ const xn = i3("snapshot", {
|
|
|
78641
78650
|
},
|
|
78642
78651
|
{
|
|
78643
78652
|
title: "",
|
|
78644
|
-
value:
|
|
78645
|
-
isSelected: n ===
|
|
78653
|
+
value: x9,
|
|
78654
|
+
isSelected: n === x9,
|
|
78646
78655
|
iconName: "display-style-images-4",
|
|
78647
78656
|
iconViewBox: "0 0 50 25",
|
|
78648
78657
|
dataAttribute: "data-test-btn-image-only"
|
|
@@ -78784,7 +78793,7 @@ const xn = i3("snapshot", {
|
|
|
78784
78793
|
G6,
|
|
78785
78794
|
kt
|
|
78786
78795
|
].includes(e.displayStyle));
|
|
78787
|
-
}, mB = (e) => e ? e.displayStyle !==
|
|
78796
|
+
}, mB = (e) => e ? e.displayStyle !== x9 : !1, yB = (e) => {
|
|
78788
78797
|
switch (e == null ? void 0 : e.buttonLinkType) {
|
|
78789
78798
|
case "url":
|
|
78790
78799
|
return (e == null ? void 0 : e.type) === "booking-section" ? "booking-url" : "url";
|
|
@@ -80946,7 +80955,7 @@ const xn = i3("snapshot", {
|
|
|
80946
80955
|
},
|
|
80947
80956
|
isEnabled: !0,
|
|
80948
80957
|
isLocked: !1
|
|
80949
|
-
}),
|
|
80958
|
+
}), K9 = {
|
|
80950
80959
|
settings: "settings",
|
|
80951
80960
|
style: "style"
|
|
80952
80961
|
}, gQ1 = () => ({
|
|
@@ -80958,12 +80967,12 @@ const xn = i3("snapshot", {
|
|
|
80958
80967
|
displayName: $("socialLinksDisplayName"),
|
|
80959
80968
|
fieldGroups: [
|
|
80960
80969
|
{
|
|
80961
|
-
id:
|
|
80970
|
+
id: K9.settings,
|
|
80962
80971
|
displayName: $("settingsDisplayName"),
|
|
80963
80972
|
isCollapsed: !1
|
|
80964
80973
|
},
|
|
80965
80974
|
{
|
|
80966
|
-
id:
|
|
80975
|
+
id: K9.style,
|
|
80967
80976
|
displayName: $("styleDisplayName"),
|
|
80968
80977
|
isCollapsed: !0
|
|
80969
80978
|
}
|
|
@@ -80971,7 +80980,7 @@ const xn = i3("snapshot", {
|
|
|
80971
80980
|
fields: {
|
|
80972
80981
|
title: {
|
|
80973
80982
|
type: "title",
|
|
80974
|
-
groupId:
|
|
80983
|
+
groupId: K9.settings,
|
|
80975
80984
|
title: $("titleTitle"),
|
|
80976
80985
|
maxLength: 200
|
|
80977
80986
|
},
|
|
@@ -80982,14 +80991,14 @@ const xn = i3("snapshot", {
|
|
|
80982
80991
|
},
|
|
80983
80992
|
links: {
|
|
80984
80993
|
type: "links",
|
|
80985
|
-
groupId:
|
|
80994
|
+
groupId: K9.settings,
|
|
80986
80995
|
title: $("pluralAddItemsTitle"),
|
|
80987
80996
|
replaceImageSettings: DJ1()
|
|
80988
80997
|
},
|
|
80989
80998
|
iconDisplayStyle: {
|
|
80990
80999
|
type: "radio",
|
|
80991
81000
|
role: "multi",
|
|
80992
|
-
groupId:
|
|
81001
|
+
groupId: K9.style,
|
|
80993
81002
|
title: $("displayStyleTitle"),
|
|
80994
81003
|
defaultValue: C6.none,
|
|
80995
81004
|
optionsConvertor: _J1,
|
|
@@ -80997,7 +81006,7 @@ const xn = i3("snapshot", {
|
|
|
80997
81006
|
},
|
|
80998
81007
|
titleStyle: {
|
|
80999
81008
|
type: "text-style",
|
|
81000
|
-
groupId:
|
|
81009
|
+
groupId: K9.style,
|
|
81001
81010
|
label: $("titleStyleLabel"),
|
|
81002
81011
|
title: $("fontSettingsTitle"),
|
|
81003
81012
|
defaultValue: void 0,
|
|
@@ -81005,7 +81014,7 @@ const xn = i3("snapshot", {
|
|
|
81005
81014
|
},
|
|
81006
81015
|
iconFillStyles: {
|
|
81007
81016
|
type: "color",
|
|
81008
|
-
groupId:
|
|
81017
|
+
groupId: K9.style,
|
|
81009
81018
|
defaultValue: {},
|
|
81010
81019
|
isInline: !0,
|
|
81011
81020
|
showToggle: !1,
|
|
@@ -81015,7 +81024,7 @@ const xn = i3("snapshot", {
|
|
|
81015
81024
|
},
|
|
81016
81025
|
iconBackgroundStyles: {
|
|
81017
81026
|
type: "color",
|
|
81018
|
-
groupId:
|
|
81027
|
+
groupId: K9.style,
|
|
81019
81028
|
defaultValue: {},
|
|
81020
81029
|
isInline: !0,
|
|
81021
81030
|
showToggle: !1,
|
|
@@ -81024,7 +81033,7 @@ const xn = i3("snapshot", {
|
|
|
81024
81033
|
},
|
|
81025
81034
|
backgroundStyles: {
|
|
81026
81035
|
type: "color",
|
|
81027
|
-
groupId:
|
|
81036
|
+
groupId: K9.style,
|
|
81028
81037
|
defaultValue: {},
|
|
81029
81038
|
isInline: !0,
|
|
81030
81039
|
showToggle: !1,
|
|
@@ -81056,7 +81065,7 @@ const xn = i3("snapshot", {
|
|
|
81056
81065
|
type: "radio",
|
|
81057
81066
|
role: "multi",
|
|
81058
81067
|
title: $("dividerStyleTitle"),
|
|
81059
|
-
defaultValue:
|
|
81068
|
+
defaultValue: i8.thin,
|
|
81060
81069
|
optionsConvertor: tJ1,
|
|
81061
81070
|
variant: "icon"
|
|
81062
81071
|
},
|
|
@@ -82170,7 +82179,7 @@ const xn = i3("snapshot", {
|
|
|
82170
82179
|
lush: a12,
|
|
82171
82180
|
mauve: s12,
|
|
82172
82181
|
neon: o12
|
|
82173
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
82182
|
+
}, Symbol.toStringTag, { value: "Module" })), u8 = {
|
|
82174
82183
|
Save: "save",
|
|
82175
82184
|
Publish: "publish",
|
|
82176
82185
|
Initialised: "initialised",
|
|
@@ -82359,7 +82368,7 @@ class b12 {
|
|
|
82359
82368
|
H1(this, "isBuildActive", !1);
|
|
82360
82369
|
}
|
|
82361
82370
|
getRequestVerificationToken() {
|
|
82362
|
-
return
|
|
82371
|
+
return b2().requestVerificationToken || "";
|
|
82363
82372
|
}
|
|
82364
82373
|
async connect() {
|
|
82365
82374
|
this.ws && this.closeSocket();
|
|
@@ -82506,10 +82515,10 @@ const Hd = Q({
|
|
|
82506
82515
|
},
|
|
82507
82516
|
methods: {
|
|
82508
82517
|
saveBrandPage() {
|
|
82509
|
-
this.$emit(
|
|
82518
|
+
this.$emit(u8.Save);
|
|
82510
82519
|
},
|
|
82511
82520
|
saveAndPublishBrandPage(e) {
|
|
82512
|
-
this.isPublishButtonEnabled && this.$emit(
|
|
82521
|
+
this.isPublishButtonEnabled && this.$emit(u8.Publish, {
|
|
82513
82522
|
eventButtonLocation: e ? H4.EDITOR_PUBLISH_BOTTOM : H4.EDITOR_PUBLISH_TOP
|
|
82514
82523
|
});
|
|
82515
82524
|
},
|
|
@@ -82709,7 +82718,7 @@ const E12 = Q({
|
|
|
82709
82718
|
const t = e.colors.map(
|
|
82710
82719
|
(n) => n && n.color
|
|
82711
82720
|
);
|
|
82712
|
-
t.length > 0 ? e =
|
|
82721
|
+
t.length > 0 ? e = l8(t) : e = "";
|
|
82713
82722
|
}
|
|
82714
82723
|
this.initialSelectedColor = Wi(e), this.newColors = this.newColors.map((t) => ({
|
|
82715
82724
|
...t,
|
|
@@ -82741,7 +82750,7 @@ const E12 = Q({
|
|
|
82741
82750
|
x12.forEach((n) => {
|
|
82742
82751
|
e.colors.push(this.createColorItem(n));
|
|
82743
82752
|
}), I12.forEach((n) => {
|
|
82744
|
-
const o =
|
|
82753
|
+
const o = l8(n).replace(/\s/g, ""), s = (this.initialSelectedColor || "").replace(/\s/g, "");
|
|
82745
82754
|
t.colors.push({
|
|
82746
82755
|
value: [n[0], n[1]],
|
|
82747
82756
|
selected: o === s,
|
|
@@ -82765,13 +82774,13 @@ const E12 = Q({
|
|
|
82765
82774
|
},
|
|
82766
82775
|
generateStyle(e) {
|
|
82767
82776
|
return Array.isArray(e) ? {
|
|
82768
|
-
background:
|
|
82777
|
+
background: l8(e)
|
|
82769
82778
|
} : {
|
|
82770
82779
|
backgroundColor: e
|
|
82771
82780
|
};
|
|
82772
82781
|
},
|
|
82773
82782
|
isColorSelected(e) {
|
|
82774
|
-
return Array.isArray(e) ?
|
|
82783
|
+
return Array.isArray(e) ? l8(e) === this.initialSelectedColor : typeof e == "string" ? P0(e, this.initialSelectedColor || "") : !1;
|
|
82775
82784
|
},
|
|
82776
82785
|
onColorSelect(e, t) {
|
|
82777
82786
|
const { colors: n } = e;
|
|
@@ -83290,7 +83299,7 @@ var ig = {
|
|
|
83290
83299
|
};
|
|
83291
83300
|
function J12(e) {
|
|
83292
83301
|
var t = { r: 0, g: 0, b: 0 }, n = 1, i = null, o = null, s = null, r = !1, a = !1;
|
|
83293
|
-
return typeof e == "string" && (e = t22(e)), typeof e == "object" && (
|
|
83302
|
+
return typeof e == "string" && (e = t22(e)), typeof e == "object" && (Y9(e.r) && Y9(e.g) && Y9(e.b) ? (t = G12(e.r, e.g, e.b), r = !0, a = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Y9(e.h) && Y9(e.s) && Y9(e.v) ? (i = Pa(e.s), o = Pa(e.v), t = j12(e.h, i, o), r = !0, a = "hsv") : Y9(e.h) && Y9(e.s) && Y9(e.l) && (i = Pa(e.s), s = Pa(e.l), t = W12(e.h, i, s), r = !0, a = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = OB(n), {
|
|
83294
83303
|
ok: r,
|
|
83295
83304
|
format: e.format || a,
|
|
83296
83305
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -83345,7 +83354,7 @@ function t22(e) {
|
|
|
83345
83354
|
format: t ? "name" : "hex"
|
|
83346
83355
|
} : !1)))))))));
|
|
83347
83356
|
}
|
|
83348
|
-
function
|
|
83357
|
+
function Y9(e) {
|
|
83349
83358
|
return !!O6.CSS_UNIT.exec(String(e));
|
|
83350
83359
|
}
|
|
83351
83360
|
var n22 = (
|
|
@@ -84994,7 +85003,7 @@ const Ue2 = /* @__PURE__ */ v(Re2, [["render", Fe2]]), ze2 = {
|
|
|
84994
85003
|
]), x;
|
|
84995
85004
|
}), y = T(() => {
|
|
84996
85005
|
let x = r.value || d.value || void 0;
|
|
84997
|
-
return Array.isArray(x) && (x =
|
|
85006
|
+
return Array.isArray(x) && (x = l8(x)), x;
|
|
84998
85007
|
}), w = (x) => {
|
|
84999
85008
|
x.value && (a.value = x.value, d.value = x.value, r.value = x.value, _());
|
|
85000
85009
|
}, b = (x) => {
|
|
@@ -85022,12 +85031,12 @@ const Ue2 = /* @__PURE__ */ v(Re2, [["render", Fe2]]), ze2 = {
|
|
|
85022
85031
|
const N = x.colors.map(
|
|
85023
85032
|
(O) => O && O.color
|
|
85024
85033
|
);
|
|
85025
|
-
N.length > 0 ? x =
|
|
85034
|
+
N.length > 0 ? x = l8(N) : x = "";
|
|
85026
85035
|
} else
|
|
85027
85036
|
x = "";
|
|
85028
85037
|
r.value = x, a.value = x, d.value = x;
|
|
85029
85038
|
}), Le(() => {
|
|
85030
|
-
const x = !!(r.value && typeof r.value == "string" && !
|
|
85039
|
+
const x = !!(r.value && typeof r.value == "string" && !I9(r.value));
|
|
85031
85040
|
i("on-toggle-state-change", x), s.value = !0;
|
|
85032
85041
|
}), U2(
|
|
85033
85042
|
() => n.isToggled,
|
|
@@ -85114,7 +85123,7 @@ const Ue2 = /* @__PURE__ */ v(Re2, [["render", Fe2]]), ze2 = {
|
|
|
85114
85123
|
var h, g;
|
|
85115
85124
|
const c = d.value;
|
|
85116
85125
|
let u = "";
|
|
85117
|
-
c && c.includes("logo-") ? u = c : Array.isArray(c) ? u =
|
|
85126
|
+
c && c.includes("logo-") ? u = c : Array.isArray(c) ? u = l8(c) : c ? u = m8(c, 1) : u = (g = (h = t.logoTheme) == null ? void 0 : h.logoTextColor) != null && g.rgb ? m8(t.logoTheme.logoTextColor.rgb, 1) : "", i.setBackgroundStyle({
|
|
85118
85127
|
backgroundStyle: { background: u }
|
|
85119
85128
|
});
|
|
85120
85129
|
};
|
|
@@ -85189,9 +85198,9 @@ const Sy = /* @__PURE__ */ v(s32, [["render", a32]]), VT = Q({
|
|
|
85189
85198
|
methods: {
|
|
85190
85199
|
onBackgroundShapeColorChange(e) {
|
|
85191
85200
|
this.colorType === "main" ? this.backgroundSettingsStore.setPrimaryBackgroundShapeStyle({
|
|
85192
|
-
color:
|
|
85201
|
+
color: m8(e)
|
|
85193
85202
|
}) : this.backgroundSettingsStore.setBackgroundShapeStyle({
|
|
85194
|
-
color:
|
|
85203
|
+
color: m8(e)
|
|
85195
85204
|
});
|
|
85196
85205
|
}
|
|
85197
85206
|
}
|
|
@@ -85406,7 +85415,7 @@ function f32(e, t, n, i, o, s) {
|
|
|
85406
85415
|
const N7 = /* @__PURE__ */ v(u32, [["render", f32]]), g32 = {
|
|
85407
85416
|
key: 0,
|
|
85408
85417
|
class: "tw-text-xl tw-font-bold"
|
|
85409
|
-
},
|
|
85418
|
+
}, $9 = /* @__PURE__ */ Q({
|
|
85410
85419
|
__name: "SideBarSettingsHeader",
|
|
85411
85420
|
props: {
|
|
85412
85421
|
showBackButton: {
|
|
@@ -85558,7 +85567,7 @@ const m32 = { key: 2 }, y32 = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, w32
|
|
|
85558
85567
|
__name: "ShapeLibrary",
|
|
85559
85568
|
emits: ["on-select-image", "on-collection-enabled"],
|
|
85560
85569
|
setup(e, { emit: t }) {
|
|
85561
|
-
const n = t, i = J2(), o =
|
|
85570
|
+
const n = t, i = J2(), o = b2(), s = C2(), r = N2(), a = I4(), l = T(() => r.isAdmin), d = T(
|
|
85562
85571
|
() => a.selectedTabName === "BackgroundSettings"
|
|
85563
85572
|
), c = T(
|
|
85564
85573
|
() => r.isAdmin ? `admin_${s.brandPageType.toLocaleLowerCase()}` : s.brandPageType.toLocaleLowerCase()
|
|
@@ -87618,7 +87627,7 @@ const E52 = { "data-component": "video-library" }, A52 = {
|
|
|
87618
87627
|
},
|
|
87619
87628
|
emits: ["on-back", "on-image-picked", "on-image-removed", "on-design-selected", "on-shape-selected", "on-video-selected"],
|
|
87620
87629
|
setup(e, { emit: t }) {
|
|
87621
|
-
const n = (V) => d2(`replaceImageSetting.${V}`), i = e, o = t, s =
|
|
87630
|
+
const n = (V) => d2(`replaceImageSetting.${V}`), i = e, o = t, s = b2(), r = N2(), a = T(() => s.isPrePurchase), l = T(() => r.features.canUseGettyVideos), d = c1(!0), c = c1([
|
|
87622
87631
|
{
|
|
87623
87632
|
id: "ICON",
|
|
87624
87633
|
label: n("icon"),
|
|
@@ -87863,7 +87872,7 @@ const E52 = { "data-component": "video-library" }, A52 = {
|
|
|
87863
87872
|
__name: "BackgroundSettings",
|
|
87864
87873
|
emits: ["on-intent-image-replace"],
|
|
87865
87874
|
setup(e, { emit: t }) {
|
|
87866
|
-
const n = i5(), i = N2(), o =
|
|
87875
|
+
const n = i5(), i = N2(), o = b2(), s = C2(), r = J2(), a = Se(), l = T(
|
|
87867
87876
|
() => n.backgroundStyles
|
|
87868
87877
|
), d = T(
|
|
87869
87878
|
() => n.recommendedLogoColors
|
|
@@ -87976,7 +87985,7 @@ const E52 = { "data-component": "video-library" }, A52 = {
|
|
|
87976
87985
|
"section-title": e1.sectionTitle
|
|
87977
87986
|
}, null, 8, ["media-type", "section-title"])) : k("", !0),
|
|
87978
87987
|
h.value === I(_3).edit ? (C(), f("div", a62, [
|
|
87979
|
-
L(
|
|
87988
|
+
L($9, {
|
|
87980
87989
|
title: I(o4)("editBackground")
|
|
87981
87990
|
}, null, 8, ["title"]),
|
|
87982
87991
|
L(o32, {
|
|
@@ -88087,7 +88096,7 @@ const E52 = { "data-component": "video-library" }, A52 = {
|
|
|
88087
88096
|
}
|
|
88088
88097
|
},
|
|
88089
88098
|
setup: () => ({
|
|
88090
|
-
brandPageContainerStore:
|
|
88099
|
+
brandPageContainerStore: b2()
|
|
88091
88100
|
}),
|
|
88092
88101
|
methods: {
|
|
88093
88102
|
async onUpgradeButtonClick() {
|
|
@@ -88612,7 +88621,7 @@ const P62 = /* @__PURE__ */ v(E62, [["render", A62], ["__scopeId", "data-v-0cd8c
|
|
|
88612
88621
|
}
|
|
88613
88622
|
},
|
|
88614
88623
|
setup() {
|
|
88615
|
-
const e = He(), t = C2(), n = N2(), i = J2(), o = I4(), s = be(), r =
|
|
88624
|
+
const e = He(), t = C2(), n = N2(), i = J2(), o = I4(), s = be(), r = b2(), a = xn(), l = U3();
|
|
88616
88625
|
return {
|
|
88617
88626
|
getFieldSettings: T(() => e.getFieldSettings),
|
|
88618
88627
|
getContent: T(() => e.getContent),
|
|
@@ -89011,7 +89020,7 @@ const U62 = /* @__PURE__ */ v(D62, [["render", F62]]), z62 = 100, Pn = Q({
|
|
|
89011
89020
|
watch: {
|
|
89012
89021
|
value(e) {
|
|
89013
89022
|
if (this._value = e, this.showRichTextEditor) {
|
|
89014
|
-
const t =
|
|
89023
|
+
const t = w8(this._value);
|
|
89015
89024
|
this.lengthError = t && t.length >= this.maxLength;
|
|
89016
89025
|
} else
|
|
89017
89026
|
this.lengthError = this._value.length >= this.maxLength;
|
|
@@ -89257,7 +89266,7 @@ const Y62 = /* @__PURE__ */ v(G62, [["render", K62]]), X62 = "image/png, image/j
|
|
|
89257
89266
|
return this.textIcons[e] ?? "globe";
|
|
89258
89267
|
},
|
|
89259
89268
|
detectedInputIcon(e) {
|
|
89260
|
-
return S6(e) ? "email-at" :
|
|
89269
|
+
return S6(e) ? "email-at" : b8(e) ? "numeric" : "general-link";
|
|
89261
89270
|
},
|
|
89262
89271
|
onDelete(e) {
|
|
89263
89272
|
this.items = this.items.filter((t, n) => n !== e);
|
|
@@ -89294,7 +89303,7 @@ const Y62 = /* @__PURE__ */ v(G62, [["render", K62]]), X62 = "image/png, image/j
|
|
|
89294
89303
|
this.focusedIndex = null, this.focusedDisplay = "";
|
|
89295
89304
|
const n = [...this.modelValue];
|
|
89296
89305
|
let i = !0;
|
|
89297
|
-
S6(t) ? n[e][this.valuePropName] = t :
|
|
89306
|
+
S6(t) ? n[e][this.valuePropName] = t : b8(t) ? n[e][this.valuePropName] = t : (!Hl.test(t) && t ? n[e][this.valuePropName] = `${this.schema}://${t}` : n[e][this.valuePropName] = t, Tx.test(n[e][this.valuePropName]) || (i = !1)), i ? (this.hasError[e] = !1, this.$emit("update:model-value", n)) : this.hasError[e] = !0;
|
|
89298
89307
|
},
|
|
89299
89308
|
isImageUrl(e) {
|
|
89300
89309
|
return q4(e);
|
|
@@ -89870,7 +89879,7 @@ const H92 = /* @__PURE__ */ v(M92, [["render", V92], ["__scopeId", "data-v-8240b
|
|
|
89870
89879
|
__name: "WebsiteByoUpload",
|
|
89871
89880
|
emits: ["on-logo-upload"],
|
|
89872
89881
|
setup(e, { emit: t }) {
|
|
89873
|
-
const n =
|
|
89882
|
+
const n = b2(), i = V4(), o = G4(), s = U3(), r = t, a = async (c) => {
|
|
89874
89883
|
o.setEnableEditMode(!1), n.isPrePurchase ? await l(c) : d(c);
|
|
89875
89884
|
}, l = async (c) => {
|
|
89876
89885
|
i.setLogoTemplateAsset({
|
|
@@ -89944,7 +89953,7 @@ const H92 = /* @__PURE__ */ v(M92, [["render", V92], ["__scopeId", "data-v-8240b
|
|
|
89944
89953
|
// "derive from props".
|
|
89945
89954
|
manualVisibleChoice: null,
|
|
89946
89955
|
logoEditUrl: ""
|
|
89947
|
-
}), r =
|
|
89956
|
+
}), r = b2(), a = V4(), l = G4(), d = I4(), c = N2(), u = T(() => {
|
|
89948
89957
|
const K = a.getLogoDraftAssetByToken(
|
|
89949
89958
|
n.selectedLogoDraftToken
|
|
89950
89959
|
);
|
|
@@ -90505,16 +90514,16 @@ const WB = /* @__PURE__ */ v(i82, [["render", s82]]), r82 = (e) => {
|
|
|
90505
90514
|
isCustomAmountEnabled: {
|
|
90506
90515
|
get() {
|
|
90507
90516
|
return this.value.paymentOptions.some(
|
|
90508
|
-
(e) => e.name ===
|
|
90517
|
+
(e) => e.name === o8
|
|
90509
90518
|
);
|
|
90510
90519
|
},
|
|
90511
90520
|
set(e) {
|
|
90512
90521
|
e ? this.value.paymentOptions.push({
|
|
90513
90522
|
id: U4(),
|
|
90514
90523
|
amount: "0",
|
|
90515
|
-
name:
|
|
90524
|
+
name: o8
|
|
90516
90525
|
}) : this.value.paymentOptions = this.value.paymentOptions.filter(
|
|
90517
|
-
(t) => t.name !==
|
|
90526
|
+
(t) => t.name !== o8
|
|
90518
90527
|
);
|
|
90519
90528
|
}
|
|
90520
90529
|
},
|
|
@@ -90536,7 +90545,7 @@ const WB = /* @__PURE__ */ v(i82, [["render", s82]]), r82 = (e) => {
|
|
|
90536
90545
|
},
|
|
90537
90546
|
enabledOptions() {
|
|
90538
90547
|
return this.value.paymentOptions.filter(
|
|
90539
|
-
(e) => e.name !==
|
|
90548
|
+
(e) => e.name !== o8
|
|
90540
90549
|
);
|
|
90541
90550
|
},
|
|
90542
90551
|
currencySymbol() {
|
|
@@ -90554,7 +90563,7 @@ const WB = /* @__PURE__ */ v(i82, [["render", s82]]), r82 = (e) => {
|
|
|
90554
90563
|
...this.value,
|
|
90555
90564
|
paymentOptions: e.concat(
|
|
90556
90565
|
this.value.paymentOptions.filter(
|
|
90557
|
-
(i) => i.name ===
|
|
90566
|
+
(i) => i.name === o8
|
|
90558
90567
|
)
|
|
90559
90568
|
)
|
|
90560
90569
|
}, n = {
|
|
@@ -90586,7 +90595,7 @@ const WB = /* @__PURE__ */ v(i82, [["render", s82]]), r82 = (e) => {
|
|
|
90586
90595
|
}
|
|
90587
90596
|
},
|
|
90588
90597
|
setup() {
|
|
90589
|
-
const e =
|
|
90598
|
+
const e = b2(), t = be(), n = CB(), i = J3(), o = T9();
|
|
90590
90599
|
return {
|
|
90591
90600
|
brandPageToken: T(() => e.brandPageToken),
|
|
90592
90601
|
isPaymentConfigSetupVisible: T(
|
|
@@ -94910,7 +94919,7 @@ const Vc = /* @__PURE__ */ v(tp2, [["render", op2]]), sp2 = {
|
|
|
94910
94919
|
},
|
|
94911
94920
|
emits: ["update:modelValue"],
|
|
94912
94921
|
setup(e, { emit: t }) {
|
|
94913
|
-
const n = e, i = t, o = u3(), s = be(), r = N2(), a =
|
|
94922
|
+
const n = e, i = t, o = u3(), s = be(), r = N2(), a = T9(), l = c1(""), d = T(() => {
|
|
94914
94923
|
var y;
|
|
94915
94924
|
return (y = o.routes.find((w) => w.pageId === n.value)) == null ? void 0 : y.pageId;
|
|
94916
94925
|
}), c = T(() => r.features.maxNumOfPages < 0 || s.pages.length < r.features.maxNumOfPages), u = T(() => c.value ? "outline" : "primary");
|
|
@@ -95026,12 +95035,12 @@ const Vc = /* @__PURE__ */ v(tp2, [["render", op2]]), sp2 = {
|
|
|
95026
95035
|
}, x = Ue([
|
|
95027
95036
|
{
|
|
95028
95037
|
value: void 0,
|
|
95029
|
-
label:
|
|
95038
|
+
label: s8().none,
|
|
95030
95039
|
isSelected: !1
|
|
95031
95040
|
},
|
|
95032
|
-
...Object.keys(
|
|
95041
|
+
...Object.keys(v2).map((L1) => ({
|
|
95033
95042
|
value: L1,
|
|
95034
|
-
label:
|
|
95043
|
+
label: s8()[L1][0].toUpperCase() + s8()[L1].slice(1),
|
|
95035
95044
|
isSelected: i.styles.textStyleType === L1
|
|
95036
95045
|
}))
|
|
95037
95046
|
]), N = T({
|
|
@@ -95143,7 +95152,7 @@ const Vc = /* @__PURE__ */ v(tp2, [["render", op2]]), sp2 = {
|
|
|
95143
95152
|
})));
|
|
95144
95153
|
} else
|
|
95145
95154
|
N.value && G({
|
|
95146
|
-
label:
|
|
95155
|
+
label: s8().none
|
|
95147
95156
|
});
|
|
95148
95157
|
}
|
|
95149
95158
|
), U2(
|
|
@@ -95333,7 +95342,7 @@ const Vc = /* @__PURE__ */ v(tp2, [["render", op2]]), sp2 = {
|
|
|
95333
95342
|
ref: l,
|
|
95334
95343
|
"data-test-tag": "text-style-dropdown",
|
|
95335
95344
|
class: "style-editor-button style-editor-button-textstyle",
|
|
95336
|
-
title: ((K2 = x.find((l2) => l2.isSelected)) == null ? void 0 : K2.label) ?? I(
|
|
95345
|
+
title: ((K2 = x.find((l2) => l2.isSelected)) == null ? void 0 : K2.label) ?? I(s8)().none,
|
|
95337
95346
|
"icon-size": "xs",
|
|
95338
95347
|
"element-classes": "text-dropdown-title",
|
|
95339
95348
|
"menu-element-classes": "tw-min-w-[310px] tw-left-0"
|
|
@@ -97200,12 +97209,12 @@ const If2 = /* @__PURE__ */ v(Mf2, [["render", xf2]]), ch = 5, JT = Q({
|
|
|
97200
97209
|
textStyleTypeOptions: [
|
|
97201
97210
|
{
|
|
97202
97211
|
value: void 0,
|
|
97203
|
-
label:
|
|
97212
|
+
label: s8().none,
|
|
97204
97213
|
isSelected: !1
|
|
97205
97214
|
},
|
|
97206
|
-
...Object.keys(
|
|
97215
|
+
...Object.keys(v2).map((e) => ({
|
|
97207
97216
|
value: e,
|
|
97208
|
-
label:
|
|
97217
|
+
label: s8()[e][0].toUpperCase() + s8()[e].slice(1),
|
|
97209
97218
|
isSelected: !1
|
|
97210
97219
|
}))
|
|
97211
97220
|
],
|
|
@@ -97288,7 +97297,7 @@ const If2 = /* @__PURE__ */ v(Mf2, [["render", xf2]]), ch = 5, JT = Q({
|
|
|
97288
97297
|
},
|
|
97289
97298
|
letterSpacingValue: {
|
|
97290
97299
|
get() {
|
|
97291
|
-
return
|
|
97300
|
+
return C8.convert(this.selectedTextStyle);
|
|
97292
97301
|
},
|
|
97293
97302
|
set(e) {
|
|
97294
97303
|
this.debounceOnLetterSpacingChange && this.debounceOnLetterSpacingChange(e);
|
|
@@ -97306,7 +97315,7 @@ const If2 = /* @__PURE__ */ v(Mf2, [["render", xf2]]), ch = 5, JT = Q({
|
|
|
97306
97315
|
const e = this.textStyleTypeOptions.find(
|
|
97307
97316
|
(t) => t.isSelected
|
|
97308
97317
|
);
|
|
97309
|
-
return e ? e.label :
|
|
97318
|
+
return e ? e.label : s8().none;
|
|
97310
97319
|
}
|
|
97311
97320
|
},
|
|
97312
97321
|
methods: {
|
|
@@ -97384,7 +97393,7 @@ const If2 = /* @__PURE__ */ v(Mf2, [["render", xf2]]), ch = 5, JT = Q({
|
|
|
97384
97393
|
onLetterSpacingChange(e) {
|
|
97385
97394
|
const t = {
|
|
97386
97395
|
...this.selectedTextStyle,
|
|
97387
|
-
...
|
|
97396
|
+
...C8.convertBack(e)
|
|
97388
97397
|
};
|
|
97389
97398
|
this.emitChange(t);
|
|
97390
97399
|
},
|
|
@@ -97623,7 +97632,7 @@ const jo = /* @__PURE__ */ v(Ef2, [["render", Ff2]]), Uf2 = { "data-component":
|
|
|
97623
97632
|
case le.mailTo:
|
|
97624
97633
|
return S6(n.buttonConfig.url);
|
|
97625
97634
|
case le.tel:
|
|
97626
|
-
return
|
|
97635
|
+
return b8(n.buttonConfig.url);
|
|
97627
97636
|
default:
|
|
97628
97637
|
return q4(n.buttonConfig.url);
|
|
97629
97638
|
}
|
|
@@ -98727,13 +98736,13 @@ const im2 = /* @__PURE__ */ v(Fg2, [["render", nm2], ["__scopeId", "data-v-bb4e9
|
|
|
98727
98736
|
textStyle: {
|
|
98728
98737
|
fontSize: V5,
|
|
98729
98738
|
textAlign: "left",
|
|
98730
|
-
textStyleType:
|
|
98739
|
+
textStyleType: v2.paragraphs,
|
|
98731
98740
|
applyAutoScale: !0
|
|
98732
98741
|
}
|
|
98733
98742
|
}), this.isEmpty.push(!1), this.changeDebounce && this.changeDebounce();
|
|
98734
98743
|
},
|
|
98735
98744
|
getItemTextPreview(e) {
|
|
98736
|
-
return this.showRichTextEditor ? Yi(
|
|
98745
|
+
return this.showRichTextEditor ? Yi(w8(e) ?? "") : Yi(e);
|
|
98737
98746
|
},
|
|
98738
98747
|
emitChange() {
|
|
98739
98748
|
const e = {
|
|
@@ -99705,7 +99714,7 @@ const ny2 = /* @__PURE__ */ v(Km2, [["render", ty2]]), p5 = {
|
|
|
99705
99714
|
}
|
|
99706
99715
|
}, tV = Q({
|
|
99707
99716
|
setup() {
|
|
99708
|
-
const e = C2(), t = J2(), n = N2(), i = be(), o = He(), s = p9(), r =
|
|
99717
|
+
const e = C2(), t = J2(), n = N2(), i = be(), o = He(), s = p9(), r = b2(), a = Se(), l = u3(), d = (y) => {
|
|
99709
99718
|
i.setPages({ pages: y.map((w) => w.page) });
|
|
99710
99719
|
}, c = T({
|
|
99711
99720
|
get() {
|
|
@@ -100009,7 +100018,7 @@ const ny2 = /* @__PURE__ */ v(Km2, [["render", ty2]]), p5 = {
|
|
|
100009
100018
|
trigger_type: v5.USER_TRIGGERED,
|
|
100010
100019
|
content_type: null
|
|
100011
100020
|
}), await this.brandPageContainerStore.showUpgradeModalAndSaveAsync(
|
|
100012
|
-
|
|
100021
|
+
r8.RemoveWatermark
|
|
100013
100022
|
);
|
|
100014
100023
|
}
|
|
100015
100024
|
}
|
|
@@ -100306,7 +100315,7 @@ const uy2 = /* @__PURE__ */ v(ry2, [["render", Cy2]]), py2 = {
|
|
|
100306
100315
|
}
|
|
100307
100316
|
},
|
|
100308
100317
|
setup() {
|
|
100309
|
-
const e = C2(), t = be(), n = n5(), i = p9(), o = He(), s = J2(), r =
|
|
100318
|
+
const e = C2(), t = be(), n = n5(), i = p9(), o = He(), s = J2(), r = b2(), a = V4(), l = G4();
|
|
100310
100319
|
return {
|
|
100311
100320
|
sections: T(() => t.sections),
|
|
100312
100321
|
availableTextFontFamilyOptions: T(
|
|
@@ -101417,7 +101426,7 @@ const fw2 = /* @__PURE__ */ v(Gy2, [["render", hw2], ["__scopeId", "data-v-c93e7
|
|
|
101417
101426
|
Button: z1,
|
|
101418
101427
|
CollapsiblePanel: R6,
|
|
101419
101428
|
Toggle: A3,
|
|
101420
|
-
SideBarSettingsHeader:
|
|
101429
|
+
SideBarSettingsHeader: $9,
|
|
101421
101430
|
SideBarSectionTitle: Hy,
|
|
101422
101431
|
NestedDraggable: ww2,
|
|
101423
101432
|
DeletePageModal: uy2,
|
|
@@ -101425,7 +101434,7 @@ const fw2 = /* @__PURE__ */ v(Gy2, [["render", hw2], ["__scopeId", "data-v-c93e7
|
|
|
101425
101434
|
},
|
|
101426
101435
|
mixins: [tV],
|
|
101427
101436
|
setup(e, t) {
|
|
101428
|
-
const n =
|
|
101437
|
+
const n = b2();
|
|
101429
101438
|
return {
|
|
101430
101439
|
...tV.setup(),
|
|
101431
101440
|
pageSettingsTr: nt,
|
|
@@ -101715,7 +101724,7 @@ const Tw2 = /* @__PURE__ */ v(bw2, [["render", Lw2], ["__scopeId", "data-v-4fa3e
|
|
|
101715
101724
|
}
|
|
101716
101725
|
}), Vw2 = {
|
|
101717
101726
|
components: {
|
|
101718
|
-
SideBarSettingsHeader:
|
|
101727
|
+
SideBarSettingsHeader: $9,
|
|
101719
101728
|
ContentSettingsItemField: tO,
|
|
101720
101729
|
CollapsiblePanel: R6,
|
|
101721
101730
|
PersonalisationRoleField: My
|
|
@@ -101778,7 +101787,7 @@ const Ew2 = /* @__PURE__ */ v(Vw2, [["render", Iw2]]), Aw2 = {
|
|
|
101778
101787
|
Button: z1,
|
|
101779
101788
|
ContentSettingsItem: Om2,
|
|
101780
101789
|
FocusedContentItemSettings: Ew2,
|
|
101781
|
-
SideBarSettingsHeader:
|
|
101790
|
+
SideBarSettingsHeader: $9,
|
|
101782
101791
|
ReorderableList: P62,
|
|
101783
101792
|
ReplaceImageSettingsForContent: Rm2,
|
|
101784
101793
|
NewPageModal: ny2,
|
|
@@ -102132,7 +102141,7 @@ const qw2 = /* @__PURE__ */ v(Uw2, [["render", zw2], ["__scopeId", "data-v-050b1
|
|
|
102132
102141
|
}
|
|
102133
102142
|
}), oV = Q({
|
|
102134
102143
|
setup() {
|
|
102135
|
-
const e = V4(), t = U3(), n = C2(), i = G4(), o =
|
|
102144
|
+
const e = V4(), t = U3(), n = C2(), i = G4(), o = b2(), s = be();
|
|
102136
102145
|
return {
|
|
102137
102146
|
logoDraftToken: T(() => i.logoDraftToken),
|
|
102138
102147
|
logoSettingsStore: t,
|
|
@@ -102348,7 +102357,7 @@ const qw2 = /* @__PURE__ */ v(Uw2, [["render", zw2], ["__scopeId", "data-v-050b1
|
|
|
102348
102357
|
}
|
|
102349
102358
|
}
|
|
102350
102359
|
}), tb2 = {
|
|
102351
|
-
components: { SideBarSettingsHeader:
|
|
102360
|
+
components: { SideBarSettingsHeader: $9, Button: z1 },
|
|
102352
102361
|
mixins: [rV],
|
|
102353
102362
|
setup(e, t) {
|
|
102354
102363
|
return rV.setup(e, t);
|
|
@@ -102465,7 +102474,7 @@ const sb2 = /* @__PURE__ */ v(tb2, [["render", ob2]]), rb2 = { "data-component":
|
|
|
102465
102474
|
selectedTemplate: null,
|
|
102466
102475
|
showLogoSwitchConfirmationModal: !1,
|
|
102467
102476
|
isSwitchingLogo: !1
|
|
102468
|
-
}), s = V4(), r = G4(), a = U3(), l = W6(), d =
|
|
102477
|
+
}), s = V4(), r = G4(), a = U3(), l = W6(), d = b2(), c = Se(), u = w3(() => {
|
|
102469
102478
|
o.currentPage = 1, l.notifySearchTermChanged(o.searchText), h(!0);
|
|
102470
102479
|
}, 400), h = async (S) => {
|
|
102471
102480
|
S && s.resetLogoTemplateSearchResults(), await s.searchLogoTemplatesAsync({
|
|
@@ -102850,13 +102859,13 @@ const Xb2 = /* @__PURE__ */ v(jb2, [["render", Yb2]]), Jb2 = Q({
|
|
|
102850
102859
|
},
|
|
102851
102860
|
methods: {
|
|
102852
102861
|
saveBrandPage() {
|
|
102853
|
-
this.$emit(
|
|
102862
|
+
this.$emit(u8.Save);
|
|
102854
102863
|
},
|
|
102855
102864
|
saveAndPublishBrandPage() {
|
|
102856
|
-
this.$emit(
|
|
102865
|
+
this.$emit(u8.Publish);
|
|
102857
102866
|
},
|
|
102858
102867
|
handleBackClick() {
|
|
102859
|
-
this.backUrl || this.$emit(
|
|
102868
|
+
this.backUrl || this.$emit(u8.Back);
|
|
102860
102869
|
},
|
|
102861
102870
|
onCreateTeamCards(e) {
|
|
102862
102871
|
this.$emit("create-team-cards", e);
|
|
@@ -103049,7 +103058,7 @@ const lv2 = /* @__PURE__ */ v(iv2, [["render", av2]]), dv2 = ["value", "maxlengt
|
|
|
103049
103058
|
}), uv2 = /* @__PURE__ */ v(Cv2, [["__scopeId", "data-v-97be2e87"]]), pv2 = ["href"], aV = "navigation.", hv2 = /* @__PURE__ */ Q({
|
|
103050
103059
|
__name: "WebsiteBreadcrumb",
|
|
103051
103060
|
setup(e) {
|
|
103052
|
-
const t =
|
|
103061
|
+
const t = b2(), n = T(() => t.isDesignCom), i = L4(), o = t.brandPageDisplayName, s = t.templateTypeName, a = c1(o !== s ? o : ""), l = T(() => {
|
|
103053
103062
|
switch (s) {
|
|
103054
103063
|
case "Website":
|
|
103055
103064
|
return Q8("websiteFriendlyName");
|
|
@@ -103122,7 +103131,7 @@ const lv2 = /* @__PURE__ */ v(iv2, [["render", av2]]), dv2 = ["value", "maxlengt
|
|
|
103122
103131
|
},
|
|
103123
103132
|
mixins: [Jb2],
|
|
103124
103133
|
setup(e) {
|
|
103125
|
-
const t =
|
|
103134
|
+
const t = b2(), n = T(() => t.isUserDraft), i = T(() => t.isPrePurchase), o = T(
|
|
103126
103135
|
() => n.value && !i.value
|
|
103127
103136
|
), s = T(
|
|
103128
103137
|
() => i.value ? Q8("defaultBackButtonLabel") : e.backButtonLabel
|
|
@@ -103209,7 +103218,7 @@ const wv2 = /* @__PURE__ */ v(fv2, [["render", yv2], ["__scopeId", "data-v-f3af5
|
|
|
103209
103218
|
}
|
|
103210
103219
|
},
|
|
103211
103220
|
setup() {
|
|
103212
|
-
const e =
|
|
103221
|
+
const e = b2(), t = Uo(), n = C2(), i = n9();
|
|
103213
103222
|
return {
|
|
103214
103223
|
currentRoute: T(() => t.currentRoute),
|
|
103215
103224
|
isDesignCom: T(() => e.isDesignCom),
|
|
@@ -103373,7 +103382,7 @@ const Lv2 = /* @__PURE__ */ v(vv2, [["render", kv2], ["__scopeId", "data-v-ba06f
|
|
|
103373
103382
|
setup(e) {
|
|
103374
103383
|
const t = T(
|
|
103375
103384
|
() => i.brandPageViewModel
|
|
103376
|
-
), n =
|
|
103385
|
+
), n = b2(), i = C2(), o = T(() => n.isProduction), s = T(
|
|
103377
103386
|
() => n.runtimeEnvironment
|
|
103378
103387
|
), r = T(() => i.brandPageTitle);
|
|
103379
103388
|
return (a, l) => (C(), B(Lv2, {
|
|
@@ -103405,7 +103414,7 @@ const dV = Q({
|
|
|
103405
103414
|
},
|
|
103406
103415
|
setup() {
|
|
103407
103416
|
return {
|
|
103408
|
-
brandPageContainerStore:
|
|
103417
|
+
brandPageContainerStore: b2(),
|
|
103409
103418
|
eventManagerStore: CB(),
|
|
103410
103419
|
undoRedoEnabled: xy()
|
|
103411
103420
|
};
|
|
@@ -103450,7 +103459,7 @@ const dV = Q({
|
|
|
103450
103459
|
}), Vv2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Hv2 = /* @__PURE__ */ Q({
|
|
103451
103460
|
__name: "UndoButton",
|
|
103452
103461
|
setup(e) {
|
|
103453
|
-
const t =
|
|
103462
|
+
const t = T9(), n = Bt(), i = b2(), o = T(
|
|
103454
103463
|
() => !t.canUndo || n.isProcessing || i.isSaving
|
|
103455
103464
|
), s = () => {
|
|
103456
103465
|
o.value || t.undo();
|
|
@@ -103490,7 +103499,7 @@ const dV = Q({
|
|
|
103490
103499
|
}), xv2 = /* @__PURE__ */ v(Hv2, [["__scopeId", "data-v-10e293db"]]), Iv2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Ev2 = /* @__PURE__ */ Q({
|
|
103491
103500
|
__name: "RedoButton",
|
|
103492
103501
|
setup(e) {
|
|
103493
|
-
const t =
|
|
103502
|
+
const t = T9(), n = Bt(), i = b2(), o = T(
|
|
103494
103503
|
() => !t.canRedo || n.isProcessing || i.isSaving
|
|
103495
103504
|
), s = () => {
|
|
103496
103505
|
o.value || t.redo();
|
|
@@ -103601,7 +103610,7 @@ const Fv2 = /* @__PURE__ */ v(Pv2, [["render", Zv2], ["__scopeId", "data-v-41f69
|
|
|
103601
103610
|
}
|
|
103602
103611
|
},
|
|
103603
103612
|
setup() {
|
|
103604
|
-
const e = I4(), t =
|
|
103613
|
+
const e = I4(), t = b2(), n = N2(), i = He(), o = C2();
|
|
103605
103614
|
return {
|
|
103606
103615
|
brandPageContainerStore: t,
|
|
103607
103616
|
tabs: T(() => e.tabs),
|
|
@@ -103665,7 +103674,7 @@ const Fv2 = /* @__PURE__ */ v(Pv2, [["render", Zv2], ["__scopeId", "data-v-41f69
|
|
|
103665
103674
|
}
|
|
103666
103675
|
},
|
|
103667
103676
|
setup() {
|
|
103668
|
-
const e = I4(), t =
|
|
103677
|
+
const e = I4(), t = b2(), n = Se();
|
|
103669
103678
|
return {
|
|
103670
103679
|
selectedTabName: T(() => e.selectedTabName),
|
|
103671
103680
|
sideBarStore: e,
|
|
@@ -103772,7 +103781,7 @@ function eS2(e, t, n, i, o, s) {
|
|
|
103772
103781
|
}
|
|
103773
103782
|
const tS2 = /* @__PURE__ */ v(Kv2, [["render", eS2]]), uV = Q({
|
|
103774
103783
|
setup() {
|
|
103775
|
-
const e = J2(), t = n5(), n = N2(), i = C2(), o =
|
|
103784
|
+
const e = J2(), t = n5(), n = N2(), i = C2(), o = b2(), s = i5(), r = Se();
|
|
103776
103785
|
return {
|
|
103777
103786
|
logoTheme: T(() => e.logoTheme),
|
|
103778
103787
|
availableButtonStyleConfigs: T(
|
|
@@ -103936,7 +103945,7 @@ const tS2 = /* @__PURE__ */ v(Kv2, [["render", eS2]]), uV = Q({
|
|
|
103936
103945
|
trigger_type: v5.USER_TRIGGERED,
|
|
103937
103946
|
content_type: null
|
|
103938
103947
|
}), await this.brandPageContainerStore.showUpgradeModalAndSaveAsync(
|
|
103939
|
-
|
|
103948
|
+
r8.RemoveWatermark
|
|
103940
103949
|
);
|
|
103941
103950
|
},
|
|
103942
103951
|
onButtonStyleConfigClick(e) {
|
|
@@ -104046,7 +104055,7 @@ const tS2 = /* @__PURE__ */ v(Kv2, [["render", eS2]]), uV = Q({
|
|
|
104046
104055
|
}), aS2 = {
|
|
104047
104056
|
components: {
|
|
104048
104057
|
LogoStyleSettingsWithState: sO,
|
|
104049
|
-
SideBarSettingsHeader:
|
|
104058
|
+
SideBarSettingsHeader: $9,
|
|
104050
104059
|
SideBarSectionTitle: Hy,
|
|
104051
104060
|
StyleSettingsSection: Sy,
|
|
104052
104061
|
Toggle: A3,
|
|
@@ -104376,7 +104385,7 @@ const NS2 = 100, pV = Q({
|
|
|
104376
104385
|
}
|
|
104377
104386
|
},
|
|
104378
104387
|
setup() {
|
|
104379
|
-
const e = C2(), t = I4(), n = N2(), i = He(), o = J2(), s = be(), r =
|
|
104388
|
+
const e = C2(), t = I4(), n = N2(), i = He(), o = J2(), s = be(), r = b2(), a = W6(), l = J3(), d = Bn(), c = bN(), u = L4(), h = xn(), { captureSnapshot: g } = DS2(), m = n9(), y = u3();
|
|
104380
104389
|
return {
|
|
104381
104390
|
commonTr: V2,
|
|
104382
104391
|
currentNotificationMessage: T(
|
|
@@ -104502,7 +104511,7 @@ const NS2 = 100, pV = Q({
|
|
|
104502
104511
|
}).bind(this)
|
|
104503
104512
|
), (d = this.brandPageViewModel.nav.navItems) != null && d[0] && $t(this.brandPageViewModel.nav.navItems[0].pageId), this.brandPageMakerStore.selectInitialCategories(
|
|
104504
104513
|
this.viewModel.initialCategories
|
|
104505
|
-
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: W1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.brandPageMakerStore.setIsBrandPageLoaded(!0), xy().value &&
|
|
104514
|
+
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: W1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.brandPageMakerStore.setIsBrandPageLoaded(!0), xy().value && T9().captureBaseline(), this.$emit(u8.Initialised);
|
|
104506
104515
|
},
|
|
104507
104516
|
mounted() {
|
|
104508
104517
|
window && (window.removeEventListener("resize", this.onResizeWithDebounce), window.addEventListener("resize", this.onResizeWithDebounce)), document.body.classList.contains("sb-main-padded") && document.body.classList.remove("sb-main-padded"), Gx(), this.snapshotStore.registerCaptureCallback(
|
|
@@ -104554,17 +104563,17 @@ const NS2 = 100, pV = Q({
|
|
|
104554
104563
|
this.brandPageMakerStore.setViewport({ viewport: e });
|
|
104555
104564
|
},
|
|
104556
104565
|
saveBrandPage(e) {
|
|
104557
|
-
this.$emit(
|
|
104566
|
+
this.$emit(u8.Save, {
|
|
104558
104567
|
eventButtonLocation: e
|
|
104559
104568
|
});
|
|
104560
104569
|
},
|
|
104561
104570
|
saveAndPublishBrandPage(e) {
|
|
104562
|
-
this.$emit(
|
|
104571
|
+
this.$emit(u8.Publish, {
|
|
104563
104572
|
eventButtonLocation: e ? H4.EDITOR_PUBLISH_BOTTOM : H4.EDITOR_PUBLISH_TOP
|
|
104564
104573
|
});
|
|
104565
104574
|
},
|
|
104566
104575
|
onBackBrandPage() {
|
|
104567
|
-
this.$emit(
|
|
104576
|
+
this.$emit(u8.Back);
|
|
104568
104577
|
},
|
|
104569
104578
|
onChangeTemplateConfirmModalCancel() {
|
|
104570
104579
|
this.brandPageMakerStore.onChangeTemplateConfirmModalCancel();
|
|
@@ -104595,7 +104604,7 @@ const NS2 = 100, pV = Q({
|
|
|
104595
104604
|
}
|
|
104596
104605
|
},
|
|
104597
104606
|
setup() {
|
|
104598
|
-
const e = W6(), t =
|
|
104607
|
+
const e = W6(), t = b2(), n = C2(), i = J2(), o = Se();
|
|
104599
104608
|
return {
|
|
104600
104609
|
isBusy: T(() => e.isBusy),
|
|
104601
104610
|
pageNo: T(() => e.pageNo),
|
|
@@ -104672,7 +104681,7 @@ const NS2 = 100, pV = Q({
|
|
|
104672
104681
|
visibleTabs() {
|
|
104673
104682
|
return this.personalisationData ? this.tabs : [...this.tabs].splice(
|
|
104674
104683
|
0,
|
|
104675
|
-
this.tabs.findIndex((e) => e ===
|
|
104684
|
+
this.tabs.findIndex((e) => e === a8("headerAi"))
|
|
104676
104685
|
);
|
|
104677
104686
|
}
|
|
104678
104687
|
},
|
|
@@ -104687,7 +104696,7 @@ const NS2 = 100, pV = Q({
|
|
|
104687
104696
|
methods: {
|
|
104688
104697
|
async checkAndRefreshS3TokenIfExpired() {
|
|
104689
104698
|
var r;
|
|
104690
|
-
const e =
|
|
104699
|
+
const e = b2(), t = G4(), n = V4(), i = U3();
|
|
104691
104700
|
if (e.isAdmin || !e.isPrePurchase || (((r = n.logoTemplateAsset) == null ? void 0 : r.isByo) ?? !1))
|
|
104692
104701
|
return;
|
|
104693
104702
|
const s = i.selectedLogoImage.logoVariation;
|
|
@@ -104742,7 +104751,7 @@ const NS2 = 100, pV = Q({
|
|
|
104742
104751
|
// eslint-disable-next-line vue/no-reserved-component-names
|
|
104743
104752
|
Button: z1,
|
|
104744
104753
|
Loader: Ke,
|
|
104745
|
-
SideBarSettingsHeader:
|
|
104754
|
+
SideBarSettingsHeader: $9,
|
|
104746
104755
|
TextInput: X2,
|
|
104747
104756
|
TabMenu: yn
|
|
104748
104757
|
},
|
|
@@ -104750,7 +104759,7 @@ const NS2 = 100, pV = Q({
|
|
|
104750
104759
|
setup(e, t) {
|
|
104751
104760
|
return {
|
|
104752
104761
|
...hV.setup(e, t),
|
|
104753
|
-
templateSettingsTr:
|
|
104762
|
+
templateSettingsTr: a8
|
|
104754
104763
|
};
|
|
104755
104764
|
}
|
|
104756
104765
|
}, FS2 = { "data-component": "templates-settings" }, US2 = { class: "tw-px-1" }, zS2 = { key: 0 }, qS2 = ["data-id"], GS2 = {
|
|
@@ -104882,7 +104891,7 @@ function JS2(e, t, n, i, o, s) {
|
|
|
104882
104891
|
const QS2 = /* @__PURE__ */ v(ZS2, [["render", JS2], ["__scopeId", "data-v-246f2118"]]), e_2 = 250, fV = Q({
|
|
104883
104892
|
emits: ["template-selected"],
|
|
104884
104893
|
setup() {
|
|
104885
|
-
const e = C2(), t =
|
|
104894
|
+
const e = C2(), t = b2(), n = N2(), i = W6();
|
|
104886
104895
|
return {
|
|
104887
104896
|
selectedTemplateId: T(
|
|
104888
104897
|
() => e.selectedTemplateId
|
|
@@ -105222,7 +105231,7 @@ const rO = /* @__PURE__ */ v(t_2, [["render", a_2], ["__scopeId", "data-v-e99b74
|
|
|
105222
105231
|
}
|
|
105223
105232
|
}), gV = Q({
|
|
105224
105233
|
setup() {
|
|
105225
|
-
const e = C2(), t =
|
|
105234
|
+
const e = C2(), t = b2();
|
|
105226
105235
|
return {
|
|
105227
105236
|
brandPageType: T(() => e.brandPageType),
|
|
105228
105237
|
isBrandSite: T(() => e.isBrandSite),
|
|
@@ -105301,7 +105310,7 @@ const C_2 = /* @__PURE__ */ v(d_2, [["render", c_2]]), mV = Q({
|
|
|
105301
105310
|
setup() {
|
|
105302
105311
|
const e = C2(), t = L4();
|
|
105303
105312
|
return {
|
|
105304
|
-
brandPageContainerStore:
|
|
105313
|
+
brandPageContainerStore: b2(),
|
|
105305
105314
|
isBrandSite: T(() => e.isBrandSite),
|
|
105306
105315
|
isBrandPageOrIsBrandContact: T(
|
|
105307
105316
|
() => e.isBrandPageOrIsBrandContact
|
|
@@ -105534,7 +105543,7 @@ const H_2 = /* @__PURE__ */ v(u_2, [["render", V_2]]), aO = {
|
|
|
105534
105543
|
}
|
|
105535
105544
|
},
|
|
105536
105545
|
setup() {
|
|
105537
|
-
const e =
|
|
105546
|
+
const e = b2(), t = C2(), n = L4();
|
|
105538
105547
|
return {
|
|
105539
105548
|
customDomain: T(() => e.customDomain),
|
|
105540
105549
|
brandPageType: T(() => t.brandPageType),
|
|
@@ -105855,7 +105864,7 @@ const H_2 = /* @__PURE__ */ v(u_2, [["render", V_2]]), aO = {
|
|
|
105855
105864
|
}
|
|
105856
105865
|
},
|
|
105857
105866
|
setup() {
|
|
105858
|
-
const e =
|
|
105867
|
+
const e = b2();
|
|
105859
105868
|
return {
|
|
105860
105869
|
confirmModalTr: Qb1,
|
|
105861
105870
|
isDesignCom: T(() => e.isDesignCom)
|
|
@@ -105938,7 +105947,7 @@ const z_2 = /* @__PURE__ */ v(D_2, [["render", U_2]]), lO = async () => {
|
|
|
105938
105947
|
}
|
|
105939
105948
|
},
|
|
105940
105949
|
setup() {
|
|
105941
|
-
const e =
|
|
105950
|
+
const e = b2(), t = T(() => e.isPublished);
|
|
105942
105951
|
return { brandPageContainer: e, isPublished: t };
|
|
105943
105952
|
},
|
|
105944
105953
|
emits: ["on-close"],
|
|
@@ -106584,13 +106593,13 @@ const hk2 = /* @__PURE__ */ v(pM2, [["render", pk2]]), fk2 = {
|
|
|
106584
106593
|
o.adsenseID = S, o.isAdsenseIdHasValue = !!S;
|
|
106585
106594
|
}
|
|
106586
106595
|
);
|
|
106587
|
-
const s = C2(), r =
|
|
106596
|
+
const s = C2(), r = b2(), a = async () => {
|
|
106588
106597
|
Se().setUpsellBridgeState({
|
|
106589
106598
|
cta_location: H4.GOOGLE_ADSENSE,
|
|
106590
106599
|
trigger_type: v5.USER_TRIGGERED,
|
|
106591
106600
|
content_type: null
|
|
106592
106601
|
}), await r.showUpgradeModalAndSaveAsync(
|
|
106593
|
-
|
|
106602
|
+
r8.GoogleAd
|
|
106594
106603
|
);
|
|
106595
106604
|
}, l = T(() => !(!o.measurementID || !o.isMeasurementIdValid)), d = T(() => !(!o.adsenseID || !o.isAdsenseIdValid)), c = async () => {
|
|
106596
106605
|
try {
|
|
@@ -106648,23 +106657,23 @@ const hk2 = /* @__PURE__ */ v(pM2, [["render", pk2]]), fk2 = {
|
|
|
106648
106657
|
"tw-pt-2": S.isMaker
|
|
106649
106658
|
})
|
|
106650
106659
|
}, [
|
|
106651
|
-
p("div", bk2, P(I(
|
|
106660
|
+
p("div", bk2, P(I(z9)("integrationLabel")), 1),
|
|
106652
106661
|
p("div", vk2, [
|
|
106653
106662
|
L(H7, {
|
|
106654
106663
|
name: "google-analytics",
|
|
106655
106664
|
class: "tw-mt-1 tw-w-4 tw-h-4"
|
|
106656
106665
|
}),
|
|
106657
|
-
p("h4", Sk2, P(I(
|
|
106666
|
+
p("h4", Sk2, P(I(z9)("googleAnalyticsLabel")), 1)
|
|
106658
106667
|
]),
|
|
106659
|
-
p("p", _k2, P(I(
|
|
106660
|
-
p("h4", Mk2, P(I(
|
|
106668
|
+
p("p", _k2, P(I(z9)("googleAnalyticsInfo")), 1),
|
|
106669
|
+
p("h4", Mk2, P(I(z9)("googleAnalyticsInputLabel")), 1),
|
|
106661
106670
|
p("div", kk2, [
|
|
106662
106671
|
L(I(X2), {
|
|
106663
106672
|
modelValue: o.measurementID,
|
|
106664
106673
|
"onUpdate:modelValue": M[0] || (M[0] = (_) => o.measurementID = _),
|
|
106665
106674
|
class: D("tw-w-full"),
|
|
106666
106675
|
error: !!o.measurementInputError,
|
|
106667
|
-
placeholder: I(
|
|
106676
|
+
placeholder: I(z9)("googleAnalyticsPlaceholder"),
|
|
106668
106677
|
onInput: m
|
|
106669
106678
|
}, null, 8, ["modelValue", "error", "placeholder"]),
|
|
106670
106679
|
p("div", Lk2, [
|
|
@@ -106697,19 +106706,19 @@ const hk2 = /* @__PURE__ */ v(pM2, [["render", pk2]]), fk2 = {
|
|
|
106697
106706
|
name: "google-adsense",
|
|
106698
106707
|
class: "tw-w-4 tw-h-4"
|
|
106699
106708
|
}),
|
|
106700
|
-
p("h4", Hk2, P(I(
|
|
106709
|
+
p("h4", Hk2, P(I(z9)("googleAdsenseLabel")), 1),
|
|
106701
106710
|
S.canUseGoogleAdsense ? k("", !0) : (C(), f("div", xk2, P(I(V2)("premium")), 1))
|
|
106702
106711
|
]),
|
|
106703
|
-
p("p", Ik2, P(I(
|
|
106712
|
+
p("p", Ik2, P(I(z9)("googleAdsenseInfo")), 1),
|
|
106704
106713
|
S.canUseGoogleAdsense ? (C(), f("div", Ek2, [
|
|
106705
|
-
p("h4", Ak2, P(I(
|
|
106714
|
+
p("h4", Ak2, P(I(z9)("googleAdsenseInputLabel")), 1),
|
|
106706
106715
|
p("div", Pk2, [
|
|
106707
106716
|
L(I(X2), {
|
|
106708
106717
|
modelValue: o.adsenseID,
|
|
106709
106718
|
"onUpdate:modelValue": M[1] || (M[1] = (_) => o.adsenseID = _),
|
|
106710
106719
|
class: D("tw-w-full"),
|
|
106711
106720
|
error: !!o.adsenseInputError,
|
|
106712
|
-
placeholder: I(
|
|
106721
|
+
placeholder: I(z9)("googleAdsensePlaceholder"),
|
|
106713
106722
|
onInput: w
|
|
106714
106723
|
}, null, 8, ["modelValue", "error", "placeholder"]),
|
|
106715
106724
|
p("div", Bk2, [
|
|
@@ -107231,7 +107240,7 @@ const yL2 = /* @__PURE__ */ v(fL2, [["render", mL2]]), wL2 = {
|
|
|
107231
107240
|
isDesignCom: { type: Boolean }
|
|
107232
107241
|
},
|
|
107233
107242
|
setup(e) {
|
|
107234
|
-
const t = e, n = C2(), i =
|
|
107243
|
+
const t = e, n = C2(), i = b2(), o = Se(), s = T(
|
|
107235
107244
|
() => n.saveContactSettings.isSavingEnabled
|
|
107236
107245
|
), r = T(
|
|
107237
107246
|
() => n.saveContactSettings.hideBranding
|
|
@@ -107323,7 +107332,7 @@ const yL2 = /* @__PURE__ */ v(fL2, [["render", mL2]]), wL2 = {
|
|
|
107323
107332
|
}), EL2 = { "data-component": "brand-page-settings" }, AL2 = { key: 1 }, PL2 = { class: "tw-mx-1" }, BL2 = { class: "tw-text-left tw-font-bold tw-mb-2" }, OL2 = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, $L2 = { class: "tw-mt-3 tw-mb-1.5 tw-text-sm tw-font-bold" }, DL2 = { class: "tw-mt-5" }, NL2 = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, RL2 = { class: "tw-mt-2" }, ZL2 = { class: "tw-mt-2" }, FL2 = "saveContact", UL2 = /* @__PURE__ */ Q({
|
|
107324
107333
|
__name: "BrandPageSettings",
|
|
107325
107334
|
setup(e) {
|
|
107326
|
-
const t = C2(), n = N2(), i =
|
|
107335
|
+
const t = C2(), n = N2(), i = b2(), o = I4(), s = c1(
|
|
107327
107336
|
null
|
|
107328
107337
|
), { selectedSettingsSection: r } = pl(o), a = (G) => {
|
|
107329
107338
|
G && Y3(() => {
|
|
@@ -107402,7 +107411,7 @@ const yL2 = /* @__PURE__ */ v(fL2, [["render", mL2]]), wL2 = {
|
|
|
107402
107411
|
"section-title": x.sectionTitle
|
|
107403
107412
|
}, null, 8, ["media-type", "section-title"])) : k("", !0),
|
|
107404
107413
|
l.value === I(_3).edit ? (C(), f("div", AL2, [
|
|
107405
|
-
L(
|
|
107414
|
+
L($9, {
|
|
107406
107415
|
title: I(V2)("settings")
|
|
107407
107416
|
}, null, 8, ["title"]),
|
|
107408
107417
|
p("div", PL2, [
|
|
@@ -107601,7 +107610,7 @@ const yL2 = /* @__PURE__ */ v(fL2, [["render", mL2]]), wL2 = {
|
|
|
107601
107610
|
}), qL2 = {
|
|
107602
107611
|
components: {
|
|
107603
107612
|
Button: z1,
|
|
107604
|
-
SideBarSettingsHeader:
|
|
107613
|
+
SideBarSettingsHeader: $9,
|
|
107605
107614
|
TemplatePreview: rO,
|
|
107606
107615
|
LogoStyleSettingsWithState: sO
|
|
107607
107616
|
},
|
|
@@ -108486,7 +108495,7 @@ const bT2 = /* @__PURE__ */ v(tT2, [["render", wT2]]), vT2 = { class: "tw-flex t
|
|
|
108486
108495
|
}, LV = () => "/api/assistant/thread/website", TV = (e) => `/api/assistant/thread/website/${e}`, VV = (e) => `/api/assistant/thread/website/${e}/tool-submission`;
|
|
108487
108496
|
class XT2 {
|
|
108488
108497
|
getRequestVerificationToken() {
|
|
108489
|
-
return
|
|
108498
|
+
return b2().requestVerificationToken || "";
|
|
108490
108499
|
}
|
|
108491
108500
|
getRequestHeaders() {
|
|
108492
108501
|
const t = this.getRequestVerificationToken();
|
|
@@ -109492,7 +109501,7 @@ class mV2 extends V6 {
|
|
|
109492
109501
|
);
|
|
109493
109502
|
else {
|
|
109494
109503
|
const o = parseFloat(i);
|
|
109495
|
-
isNaN(o) || o < 0 || o > 100 ? n.push("Letter spacing must be between 0 and 100 inclusive.") : t.letterSpacing =
|
|
109504
|
+
isNaN(o) || o < 0 || o > 100 ? n.push("Letter spacing must be between 0 and 100 inclusive.") : t.letterSpacing = C8.convertBack(
|
|
109496
109505
|
String(o)
|
|
109497
109506
|
).letterSpacing;
|
|
109498
109507
|
}
|
|
@@ -109927,7 +109936,7 @@ const yV2 = {
|
|
|
109927
109936
|
}, uO = (e, t, n) => ({
|
|
109928
109937
|
...D3(e, n),
|
|
109929
109938
|
...t
|
|
109930
|
-
}),
|
|
109939
|
+
}), D9 = (e, t, n, i) => {
|
|
109931
109940
|
const o = WV2(n);
|
|
109932
109941
|
if (!o) return;
|
|
109933
109942
|
const s = e;
|
|
@@ -110097,7 +110106,7 @@ const QV2 = (e, t) => (n) => {
|
|
|
110097
110106
|
}, eH2 = (e) => (t) => {
|
|
110098
110107
|
const n = t[e];
|
|
110099
110108
|
return l3(n) ? yO(e, n) : null;
|
|
110100
|
-
},
|
|
110109
|
+
}, V9 = (e, t, n) => (i) => {
|
|
110101
110110
|
const o = i[e];
|
|
110102
110111
|
if (!Array.isArray(o)) return null;
|
|
110103
110112
|
for (let s = 0; s < o.length; s++) {
|
|
@@ -110121,7 +110130,7 @@ const QV2 = (e, t) => (n) => {
|
|
|
110121
110130
|
if (r[0]) return r[0];
|
|
110122
110131
|
}
|
|
110123
110132
|
return null;
|
|
110124
|
-
},
|
|
110133
|
+
}, H9 = (e, t) => (n) => {
|
|
110125
110134
|
const i = n[e];
|
|
110126
110135
|
if (!Array.isArray(i)) return null;
|
|
110127
110136
|
for (let o = 0; o < i.length; o++) {
|
|
@@ -110249,7 +110258,7 @@ class AV extends A5 {
|
|
|
110249
110258
|
const i = this.resolveAndRepositionContent(t);
|
|
110250
110259
|
if ("error" in i) return i.error;
|
|
110251
110260
|
const o = this.args, s = i.content.imageUrl;
|
|
110252
|
-
P5(i.content, this.args, this.sectionType), CO(i.content, o),
|
|
110261
|
+
P5(i.content, this.args, this.sectionType), CO(i.content, o), D9(
|
|
110253
110262
|
i.content,
|
|
110254
110263
|
this.args,
|
|
110255
110264
|
this.sectionType,
|
|
@@ -110309,7 +110318,7 @@ class PV extends A5 {
|
|
|
110309
110318
|
const i = this.resolveAndRepositionContent(t);
|
|
110310
110319
|
if ("error" in i) return i.error;
|
|
110311
110320
|
const o = this.args;
|
|
110312
|
-
P5(i.content, this.args, this.sectionType), CO(i.content, o),
|
|
110321
|
+
P5(i.content, this.args, this.sectionType), CO(i.content, o), D9(
|
|
110313
110322
|
i.content,
|
|
110314
110323
|
this.args,
|
|
110315
110324
|
this.sectionType,
|
|
@@ -110364,7 +110373,7 @@ class BV extends A5 {
|
|
|
110364
110373
|
const i = this.resolveAndRepositionContent(t);
|
|
110365
110374
|
if ("error" in i) return i.error;
|
|
110366
110375
|
const o = this.args, s = i.content.imageUrl;
|
|
110367
|
-
P5(i.content, this.args, this.sectionType),
|
|
110376
|
+
P5(i.content, this.args, this.sectionType), D9(
|
|
110368
110377
|
i.content,
|
|
110369
110378
|
this.args,
|
|
110370
110379
|
this.sectionType,
|
|
@@ -110412,7 +110421,7 @@ class OV extends A5 {
|
|
|
110412
110421
|
const i = this.resolveAndRepositionContent(t);
|
|
110413
110422
|
if ("error" in i) return i.error;
|
|
110414
110423
|
const o = i.content;
|
|
110415
|
-
P5(o, this.args, this.sectionType),
|
|
110424
|
+
P5(o, this.args, this.sectionType), D9(
|
|
110416
110425
|
o,
|
|
110417
110426
|
this.args,
|
|
110418
110427
|
this.sectionType,
|
|
@@ -110482,8 +110491,8 @@ class $V extends A5 {
|
|
|
110482
110491
|
const mH2 = [
|
|
110483
110492
|
...m3("text", Ph),
|
|
110484
110493
|
n3("text_style"),
|
|
110485
|
-
|
|
110486
|
-
|
|
110494
|
+
V9("items", "text", Ph),
|
|
110495
|
+
H9("items", "text"),
|
|
110487
110496
|
tH2("items", "text_style"),
|
|
110488
110497
|
E5("column_style", ["1", "2", "3", "4"], "text")
|
|
110489
110498
|
];
|
|
@@ -110589,7 +110598,7 @@ class DV extends A5 {
|
|
|
110589
110598
|
const i = this.resolveAndRepositionContent(t);
|
|
110590
110599
|
if ("error" in i) return i.error;
|
|
110591
110600
|
const o = i.content, s = (l = (a = t.styles) == null ? void 0 : a.textStyles) == null ? void 0 : l.textStyleOptions;
|
|
110592
|
-
P5(o, this.args, this.sectionType),
|
|
110601
|
+
P5(o, this.args, this.sectionType), D9(
|
|
110593
110602
|
o,
|
|
110594
110603
|
this.args,
|
|
110595
110604
|
this.sectionType,
|
|
@@ -110650,12 +110659,12 @@ const lg = {
|
|
|
110650
110659
|
n3("testimonial_style"),
|
|
110651
110660
|
n3("name_style"),
|
|
110652
110661
|
n3("position_style"),
|
|
110653
|
-
|
|
110654
|
-
|
|
110655
|
-
|
|
110656
|
-
|
|
110657
|
-
|
|
110658
|
-
|
|
110662
|
+
V9("items", "testimonial", Q5),
|
|
110663
|
+
H9("items", "testimonial"),
|
|
110664
|
+
V9("items", "name", y3),
|
|
110665
|
+
H9("items", "name"),
|
|
110666
|
+
V9("items", "position", y3),
|
|
110667
|
+
H9("items", "position"),
|
|
110659
110668
|
E5(
|
|
110660
110669
|
"display_style",
|
|
110661
110670
|
["centered", "big-image", "columns"],
|
|
@@ -110732,7 +110741,7 @@ class NV extends A5 {
|
|
|
110732
110741
|
const i = this.resolveAndRepositionContent(t);
|
|
110733
110742
|
if ("error" in i) return i.error;
|
|
110734
110743
|
const o = i.content;
|
|
110735
|
-
P5(o, this.args, this.sectionType),
|
|
110744
|
+
P5(o, this.args, this.sectionType), D9(
|
|
110736
110745
|
o,
|
|
110737
110746
|
this.args,
|
|
110738
110747
|
this.sectionType,
|
|
@@ -110820,12 +110829,12 @@ const TH2 = [
|
|
|
110820
110829
|
n3("description_style"),
|
|
110821
110830
|
n3("heading_style"),
|
|
110822
110831
|
n3("paragraph_style"),
|
|
110823
|
-
|
|
110824
|
-
|
|
110825
|
-
|
|
110826
|
-
|
|
110827
|
-
|
|
110828
|
-
|
|
110832
|
+
V9("items", "heading", y3),
|
|
110833
|
+
H9("items", "heading"),
|
|
110834
|
+
V9("items", "text", Q5),
|
|
110835
|
+
H9("items", "text"),
|
|
110836
|
+
V9("items", "button_text", y3),
|
|
110837
|
+
H9("items", "button_text"),
|
|
110829
110838
|
E5(
|
|
110830
110839
|
"display_style",
|
|
110831
110840
|
[
|
|
@@ -110912,7 +110921,7 @@ class RV extends A5 {
|
|
|
110912
110921
|
const i = this.resolveAndRepositionContent(t);
|
|
110913
110922
|
if ("error" in i) return i.error;
|
|
110914
110923
|
const o = i.content;
|
|
110915
|
-
P5(o, this.args, this.sectionType),
|
|
110924
|
+
P5(o, this.args, this.sectionType), D9(
|
|
110916
110925
|
o,
|
|
110917
110926
|
this.args,
|
|
110918
110927
|
this.sectionType,
|
|
@@ -111003,10 +111012,10 @@ const IH2 = [
|
|
|
111003
111012
|
n3("description_style"),
|
|
111004
111013
|
n3("heading_style"),
|
|
111005
111014
|
n3("paragraph_style"),
|
|
111006
|
-
|
|
111007
|
-
|
|
111008
|
-
|
|
111009
|
-
|
|
111015
|
+
V9("items", "heading", y3),
|
|
111016
|
+
H9("items", "heading"),
|
|
111017
|
+
V9("items", "text", Q5),
|
|
111018
|
+
H9("items", "text"),
|
|
111010
111019
|
E5(
|
|
111011
111020
|
"display_style",
|
|
111012
111021
|
[
|
|
@@ -111108,7 +111117,7 @@ class ZV extends A5 {
|
|
|
111108
111117
|
const i = this.resolveAndRepositionContent(t);
|
|
111109
111118
|
if ("error" in i) return i.error;
|
|
111110
111119
|
const o = i.content;
|
|
111111
|
-
P5(o, this.args, this.sectionType),
|
|
111120
|
+
P5(o, this.args, this.sectionType), D9(
|
|
111112
111121
|
o,
|
|
111113
111122
|
this.args,
|
|
111114
111123
|
this.sectionType,
|
|
@@ -111239,7 +111248,7 @@ class FV extends A5 {
|
|
|
111239
111248
|
const i = this.resolveAndRepositionContent(t);
|
|
111240
111249
|
if ("error" in i) return i.error;
|
|
111241
111250
|
const o = i.content;
|
|
111242
|
-
P5(o, this.args, this.sectionType),
|
|
111251
|
+
P5(o, this.args, this.sectionType), D9(
|
|
111243
111252
|
o,
|
|
111244
111253
|
this.args,
|
|
111245
111254
|
this.sectionType,
|
|
@@ -111250,8 +111259,8 @@ class FV extends A5 {
|
|
|
111250
111259
|
}
|
|
111251
111260
|
}
|
|
111252
111261
|
const NH2 = [
|
|
111253
|
-
|
|
111254
|
-
|
|
111262
|
+
V9("images", "caption", y3),
|
|
111263
|
+
H9("images", "caption"),
|
|
111255
111264
|
E5("gallery_type", ["grid", "carousel", "masonry"], "image-gallery")
|
|
111256
111265
|
];
|
|
111257
111266
|
function RH2(e, t) {
|
|
@@ -111409,7 +111418,7 @@ class qV extends A5 {
|
|
|
111409
111418
|
return { request: this.request, model: t, errors: n.errors };
|
|
111410
111419
|
const i = this.resolveAndRepositionContent(t);
|
|
111411
111420
|
if ("error" in i) return i.error;
|
|
111412
|
-
P5(i.content, this.args, this.sectionType),
|
|
111421
|
+
P5(i.content, this.args, this.sectionType), D9(
|
|
111413
111422
|
i.content,
|
|
111414
111423
|
this.args,
|
|
111415
111424
|
this.sectionType,
|
|
@@ -112352,7 +112361,7 @@ class Sx2 {
|
|
|
112352
112361
|
const _x2 = 6e5, k0 = new Sx2();
|
|
112353
112362
|
let r6 = null;
|
|
112354
112363
|
function Mx2() {
|
|
112355
|
-
const e = Bt(), t = xn(), n = C2(), i =
|
|
112364
|
+
const e = Bt(), t = xn(), n = C2(), i = T9(), o = xy(), s = b2(), r = N2(), a = J2(), l = gx2(k0), d = KX1(), c = Se(), u = e.messages.length > 0, h = c1(
|
|
112356
112365
|
e.messages.length > 0 ? e.messages : [
|
|
112357
112366
|
{
|
|
112358
112367
|
id: "1",
|
|
@@ -112837,7 +112846,7 @@ const kx2 = { class: "ai-container" }, Lx2 = { class: "tw-px-5" }, Tx2 = /* @__P
|
|
|
112837
112846
|
}, 50);
|
|
112838
112847
|
}), (y, w) => (C(), f("div", kx2, [
|
|
112839
112848
|
p("div", Lx2, [
|
|
112840
|
-
L(
|
|
112849
|
+
L($9, {
|
|
112841
112850
|
title: "AI Website Builder",
|
|
112842
112851
|
"show-back-button": !0,
|
|
112843
112852
|
onOnBack: h
|
|
@@ -113076,7 +113085,7 @@ const tE2 = /* @__PURE__ */ v(Vx2, [["render", Fx2], ["__scopeId", "data-v-4911d
|
|
|
113076
113085
|
"on-create-team-cards-click"
|
|
113077
113086
|
],
|
|
113078
113087
|
setup() {
|
|
113079
|
-
const e = C2(), t =
|
|
113088
|
+
const e = C2(), t = b2(), n = Se(), i = L4();
|
|
113080
113089
|
return {
|
|
113081
113090
|
brandPageBaseUrl: T(() => i.baseBrandPageDomain),
|
|
113082
113091
|
brandPageSlug: T(() => t.brandPageSlug),
|
|
@@ -113393,26 +113402,26 @@ const nE2 = /* @__PURE__ */ v(Ux2, [["render", zx2]]), qx2 = { class: "modal-con
|
|
|
113393
113402
|
return "";
|
|
113394
113403
|
}
|
|
113395
113404
|
}), s = T(() => n.sensitiveContentState === m5.plus21 ? 21 : 18), r = c1(o.value), a = T(
|
|
113396
|
-
() =>
|
|
113405
|
+
() => q9("iAcceptAgeButtonLabel", {
|
|
113397
113406
|
REQUIRED_MINIMUM_AGE: s.value
|
|
113398
113407
|
})
|
|
113399
113408
|
), l = T(
|
|
113400
|
-
() =>
|
|
113409
|
+
() => q9("iDenyAgeButtonLabel", {
|
|
113401
113410
|
REQUIRED_MINIMUM_AGE: s.value
|
|
113402
113411
|
})
|
|
113403
|
-
), d = T(() =>
|
|
113412
|
+
), d = T(() => q9("iConfirmButtonLabel")), c = T(() => {
|
|
113404
113413
|
const g = {
|
|
113405
113414
|
age: {
|
|
113406
|
-
title:
|
|
113407
|
-
message:
|
|
113415
|
+
title: q9("ageRestrictionDisplayTitle"),
|
|
113416
|
+
message: q9("ageRestrictionMessage")
|
|
113408
113417
|
},
|
|
113409
113418
|
sensitive: {
|
|
113410
|
-
title:
|
|
113411
|
-
message:
|
|
113419
|
+
title: q9("sensitiveContentDisplayTitle"),
|
|
113420
|
+
message: q9("sensitiveContentmessage")
|
|
113412
113421
|
},
|
|
113413
113422
|
rejected: {
|
|
113414
|
-
title:
|
|
113415
|
-
message:
|
|
113423
|
+
title: q9("rejectedDisplayTitle"),
|
|
113424
|
+
message: q9("rejectedDisplayTMessage", {
|
|
113416
113425
|
REQUIRED_MINIMUM_AGE: s.value
|
|
113417
113426
|
})
|
|
113418
113427
|
}
|
|
@@ -113519,7 +113528,7 @@ export {
|
|
|
113519
113528
|
BB as a4,
|
|
113520
113529
|
AB as a5,
|
|
113521
113530
|
mQ1 as a6,
|
|
113522
|
-
|
|
113531
|
+
i8 as a7,
|
|
113523
113532
|
Ia as a8,
|
|
113524
113533
|
oi as a9,
|
|
113525
113534
|
aQ1 as aA,
|
|
@@ -113631,8 +113640,8 @@ export {
|
|
|
113631
113640
|
xB as bo,
|
|
113632
113641
|
MB as bp,
|
|
113633
113642
|
TB as bq,
|
|
113634
|
-
|
|
113635
|
-
|
|
113643
|
+
v2 as br,
|
|
113644
|
+
s8 as bs,
|
|
113636
113645
|
sQ1 as bt,
|
|
113637
113646
|
oQ1 as bu,
|
|
113638
113647
|
a7 as bv,
|
|
@@ -113655,7 +113664,7 @@ export {
|
|
|
113655
113664
|
OI2 as cb,
|
|
113656
113665
|
sE2 as cc,
|
|
113657
113666
|
d2 as cd,
|
|
113658
|
-
|
|
113667
|
+
b2 as ce,
|
|
113659
113668
|
C2 as cf,
|
|
113660
113669
|
N2 as cg,
|
|
113661
113670
|
py as ch,
|