@designcrowd/library.brand-page 6.0.23-ast-remove → 6.0.23
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-C2IaS_Mb.js → CreatedOnBrandCrowd-de-de-CiyqScwz.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-AtykytDu.js → CreatedOnBrandCrowd-en-us-CZZ_j7Gw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CBzMnp_n.js → CreatedOnBrandCrowd-es-es-CWXjDCio.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Cz7WzWc3.js → CreatedOnBrandCrowd-fr-ca-CfkjOdy9.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-Cz7WzWc3.js → CreatedOnBrandCrowd-fr-fr-CfkjOdy9.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DE3vjPyC.js → CreatedOnBrandCrowd-pt-br-EOc0tNKn.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DE3vjPyC.js → CreatedOnBrandCrowd-pt-pt-EOc0tNKn.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-DlcGgBF6.js → CreatedOnDcom-de-de-BJmeOo0W.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-D5jdeN_E.js → CreatedOnDcom-en-us-NQxuJRPk.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BBB7ZE8B.js → CreatedOnDcom-es-es-DLY_-jUJ.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-odHmWYoP.js → CreatedOnDcom-fr-ca-CIQECmJV.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DKr11T_P.js → CreatedOnDcom-fr-fr-Cu6db7o5.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-s8blQRF7.js → CreatedOnDcom-pt-br-DbOUnilX.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-Dga4RM96.js → CreatedOnDcom-pt-pt-K1MZafvR.js} +1 -1
- package/lib/src/brand-page/models/index.d.ts +1 -0
- package/lib/src/brand-page/models/index.js +3 -0
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +6 -0
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -0
- package/lib/src/css/library.brand-page-brandCrowd.min.css +11 -11
- package/lib/src/css/library.brand-page-brandPage.min.css +11 -11
- package/lib/src/css/library.brand-page-designCom.min.css +11 -11
- package/lib/src/css/library.brand-page-preview.min.css +11 -11
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-aLiBOhnh.js → lib-BhVYr7xx.js} +495 -492
- package/lib/src/shared/template-settings/store/template-settings-store.js +4 -4
- package/package.json +1 -1
- package/src/brand-page/components/shop/PaymentModal.vue +3 -3
- package/src/brand-page/components/shop/Shop.vue +1 -1
- package/src/brand-page/components/shop/Shop.vue.test.ts +27 -81
- package/src/brand-page/models/index.ts +4 -0
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +3 -0
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +1 -0
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +2 -0
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +2 -0
- package/src/shared/template-settings/store/template-settings-store.ts +4 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as C, createElementBlock as f, normalizeClass as B, renderSlot as W1, createTextVNode as F2, createCommentVNode as k, resolveComponent as E, createBlock as $, withCtx as e1, createElementVNode as p, toDisplayString as P, createStaticVNode as w1, Fragment as S1, resolveDynamicComponent as
|
|
1
|
+
import { openBlock as C, createElementBlock as f, normalizeClass as B, renderSlot as W1, createTextVNode as F2, createCommentVNode as k, resolveComponent as E, createBlock as $, withCtx as e1, createElementVNode as p, toDisplayString as P, createStaticVNode as w1, Fragment as S1, resolveDynamicComponent as C9, createVNode as T, defineComponent as Q, useId as EF, unref as I, mergeProps as J2, withDirectives as ne, vModelText as Ut, renderList as G1, withModifiers as v1, normalizeStyle as V1, withKeys as G3, vShow as D3, resolveDirective as qn, ref as d1, onMounted as ve, onBeforeUpdate as PF, onUpdated as TI, onBeforeUnmount as J7, computed as L, provide as VI, h as U4, watch as D2, nextTick as e4, onUnmounted as l0, getCurrentInstance as W8, reactive as qe, watchEffect as AF, markRaw as xI, customRef as $F, toRefs as BF, shallowRef as HI, Teleport as OF, createSlots as Ln, onServerPrefetch as DF, isVNode as NF, onBeforeMount as II, isRef as fd, toRef as RF, useCssVars as ZF, toRaw as Oh, vModelSelect as uv, useSlots as FF, useModel as UF, mergeModels as pv } from "vue";
|
|
2
2
|
import zF from "vue-cropperjs";
|
|
3
3
|
import * as le from "uuid";
|
|
4
4
|
import { v5 as hd, v4 as T4, validate as qF } from "uuid";
|
|
@@ -161,7 +161,7 @@ let sU = class Rh {
|
|
|
161
161
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new Rh(this.logger, t);
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
|
-
var
|
|
164
|
+
var N9 = new sU();
|
|
165
165
|
let Zc = class {
|
|
166
166
|
constructor() {
|
|
167
167
|
this.observers = {};
|
|
@@ -286,7 +286,7 @@ function Zh(e, t) {
|
|
|
286
286
|
const wv = {}, xu = (e) => !Q2(e) && typeof e != "boolean" && typeof e != "number";
|
|
287
287
|
let bv = class BI extends Zc {
|
|
288
288
|
constructor(t, n = {}) {
|
|
289
|
-
super(), WF(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
289
|
+
super(), WF(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = N9.create("translator");
|
|
290
290
|
}
|
|
291
291
|
changeLanguage(t) {
|
|
292
292
|
t && (this.language = t);
|
|
@@ -537,7 +537,7 @@ let bv = class BI extends Zc {
|
|
|
537
537
|
}
|
|
538
538
|
}, vv = class {
|
|
539
539
|
constructor(t) {
|
|
540
|
-
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
540
|
+
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = N9.create("languageUtils");
|
|
541
541
|
}
|
|
542
542
|
getScriptPartFromCode(t) {
|
|
543
543
|
if (t = wo(t), !t || t.indexOf("-") < 0) return null;
|
|
@@ -614,7 +614,7 @@ const Sv = {
|
|
|
614
614
|
};
|
|
615
615
|
let aU = class {
|
|
616
616
|
constructor(t, n = {}) {
|
|
617
|
-
this.languageUtils = t, this.options = n, this.logger =
|
|
617
|
+
this.languageUtils = t, this.options = n, this.logger = N9.create("pluralResolver"), this.pluralRulesCache = {};
|
|
618
618
|
}
|
|
619
619
|
clearCache() {
|
|
620
620
|
this.pluralRulesCache = {};
|
|
@@ -662,7 +662,7 @@ const Mv = (e, t, n, i = ".", o = !0) => {
|
|
|
662
662
|
}, Hu = (e) => e.replace(/\$/g, "$$$$");
|
|
663
663
|
let kv = class {
|
|
664
664
|
constructor(t = {}) {
|
|
665
|
-
this.logger =
|
|
665
|
+
this.logger = N9.create("interpolator"), this.options = t, this.format = t?.interpolation?.format || ((n) => n), this.init(t);
|
|
666
666
|
}
|
|
667
667
|
init(t = {}) {
|
|
668
668
|
t.interpolation || (t.interpolation = {
|
|
@@ -811,7 +811,7 @@ const lU = (e) => {
|
|
|
811
811
|
}, dU = (e) => (t, n, i) => e(wo(n), i)(t);
|
|
812
812
|
let cU = class {
|
|
813
813
|
constructor(t = {}) {
|
|
814
|
-
this.logger =
|
|
814
|
+
this.logger = N9.create("formatter"), this.options = t, this.init(t);
|
|
815
815
|
}
|
|
816
816
|
init(t, n = {
|
|
817
817
|
interpolation: {}
|
|
@@ -893,7 +893,7 @@ const CU = (e, t) => {
|
|
|
893
893
|
};
|
|
894
894
|
let uU = class extends Zc {
|
|
895
895
|
constructor(t, n, i, o = {}) {
|
|
896
|
-
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger =
|
|
896
|
+
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger = N9.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(i, o.backend, o);
|
|
897
897
|
}
|
|
898
898
|
queueLoad(t, n, i, o) {
|
|
899
899
|
const s = {}, r = {}, a = {}, l = {};
|
|
@@ -1086,7 +1086,7 @@ const Iu = () => ({
|
|
|
1086
1086
|
}, fU = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((t) => t?.name?.indexOf("Locize") > 0 || t?.constructor?.name?.indexOf("Locize") > 0));
|
|
1087
1087
|
let hU = class Al extends Zc {
|
|
1088
1088
|
constructor(t = {}, n) {
|
|
1089
|
-
if (super(), this.options = Tv(t), this.services = {}, this.logger =
|
|
1089
|
+
if (super(), this.options = Tv(t), this.services = {}, this.logger = N9, this.modules = {
|
|
1090
1090
|
external: []
|
|
1091
1091
|
}, pU(this), n && !this.isInitialized && !t.isClone) {
|
|
1092
1092
|
if (!this.options.initAsync)
|
|
@@ -1109,13 +1109,13 @@ let hU = class Al extends Zc {
|
|
|
1109
1109
|
}, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = i.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !fU(this) && typeof console < "u" && typeof console.info < "u" && console.info("🌐 i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙");
|
|
1110
1110
|
const o = (d) => d ? typeof d == "function" ? new d() : d : null;
|
|
1111
1111
|
if (!this.options.isClone) {
|
|
1112
|
-
this.modules.logger ?
|
|
1112
|
+
this.modules.logger ? N9.init(o(this.modules.logger), this.options) : N9.init(null, this.options);
|
|
1113
1113
|
let d;
|
|
1114
1114
|
this.modules.formatter ? d = this.modules.formatter : d = cU;
|
|
1115
1115
|
const c = new vv(this.options);
|
|
1116
1116
|
this.store = new yv(this.options.resources, this.options);
|
|
1117
1117
|
const u = this.services;
|
|
1118
|
-
u.logger =
|
|
1118
|
+
u.logger = N9, u.resourceStore = this.store, u.languageUtils = c, u.pluralResolver = new aU(c, {
|
|
1119
1119
|
prepend: this.options.pluralSeparator,
|
|
1120
1120
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1121
1121
|
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (u.formatter = o(d), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new kv(this.options), u.utils = {
|
|
@@ -3498,7 +3498,7 @@ let UU = class zh {
|
|
|
3498
3498
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new zh(this.logger, t);
|
|
3499
3499
|
}
|
|
3500
3500
|
};
|
|
3501
|
-
var
|
|
3501
|
+
var R9 = new UU();
|
|
3502
3502
|
let Fc = class {
|
|
3503
3503
|
constructor() {
|
|
3504
3504
|
this.observers = {};
|
|
@@ -3624,7 +3624,7 @@ function qh(e, t) {
|
|
|
3624
3624
|
const Ov = {}, Eu = (e) => !ee(e) && typeof e != "boolean" && typeof e != "number";
|
|
3625
3625
|
class wd extends Fc {
|
|
3626
3626
|
constructor(t, n = {}) {
|
|
3627
|
-
super(), EU(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
3627
|
+
super(), EU(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = R9.create("translator");
|
|
3628
3628
|
}
|
|
3629
3629
|
changeLanguage(t) {
|
|
3630
3630
|
t && (this.language = t);
|
|
@@ -3876,7 +3876,7 @@ class wd extends Fc {
|
|
|
3876
3876
|
}
|
|
3877
3877
|
class Dv {
|
|
3878
3878
|
constructor(t) {
|
|
3879
|
-
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
3879
|
+
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = R9.create("languageUtils");
|
|
3880
3880
|
}
|
|
3881
3881
|
getScriptPartFromCode(t) {
|
|
3882
3882
|
if (t = bo(t), !t || t.indexOf("-") < 0) return null;
|
|
@@ -3953,7 +3953,7 @@ const Nv = {
|
|
|
3953
3953
|
};
|
|
3954
3954
|
class qU {
|
|
3955
3955
|
constructor(t, n = {}) {
|
|
3956
|
-
this.languageUtils = t, this.options = n, this.logger =
|
|
3956
|
+
this.languageUtils = t, this.options = n, this.logger = R9.create("pluralResolver"), this.pluralRulesCache = {};
|
|
3957
3957
|
}
|
|
3958
3958
|
clearCache() {
|
|
3959
3959
|
this.pluralRulesCache = {};
|
|
@@ -4001,7 +4001,7 @@ const Zv = (e, t, n, i = ".", o = !0) => {
|
|
|
4001
4001
|
}, Pu = (e) => e.replace(/\$/g, "$$$$");
|
|
4002
4002
|
class Fv {
|
|
4003
4003
|
constructor(t = {}) {
|
|
4004
|
-
this.logger =
|
|
4004
|
+
this.logger = R9.create("interpolator"), this.options = t, this.format = t?.interpolation?.format || ((n) => n), this.init(t);
|
|
4005
4005
|
}
|
|
4006
4006
|
init(t = {}) {
|
|
4007
4007
|
t.interpolation || (t.interpolation = {
|
|
@@ -4150,7 +4150,7 @@ const GU = (e) => {
|
|
|
4150
4150
|
}, jU = (e) => (t, n, i) => e(bo(n), i)(t);
|
|
4151
4151
|
class WU {
|
|
4152
4152
|
constructor(t = {}) {
|
|
4153
|
-
this.logger =
|
|
4153
|
+
this.logger = R9.create("formatter"), this.options = t, this.init(t);
|
|
4154
4154
|
}
|
|
4155
4155
|
init(t, n = {
|
|
4156
4156
|
interpolation: {}
|
|
@@ -4232,7 +4232,7 @@ const KU = (e, t) => {
|
|
|
4232
4232
|
};
|
|
4233
4233
|
class YU extends Fc {
|
|
4234
4234
|
constructor(t, n, i, o = {}) {
|
|
4235
|
-
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger =
|
|
4235
|
+
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger = R9.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(i, o.backend, o);
|
|
4236
4236
|
}
|
|
4237
4237
|
queueLoad(t, n, i, o) {
|
|
4238
4238
|
const s = {}, r = {}, a = {}, l = {};
|
|
@@ -4425,7 +4425,7 @@ const Au = () => ({
|
|
|
4425
4425
|
};
|
|
4426
4426
|
class Xi extends Fc {
|
|
4427
4427
|
constructor(t = {}, n) {
|
|
4428
|
-
if (super(), this.options = zv(t), this.services = {}, this.logger =
|
|
4428
|
+
if (super(), this.options = zv(t), this.services = {}, this.logger = R9, this.modules = {
|
|
4429
4429
|
external: []
|
|
4430
4430
|
}, XU(this), n && !this.isInitialized && !t.isClone) {
|
|
4431
4431
|
if (!this.options.initAsync)
|
|
@@ -4448,13 +4448,13 @@ class Xi extends Fc {
|
|
|
4448
4448
|
}, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = i.overloadTranslationOptionHandler), this.options.debug === !0 && typeof console < "u" && console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
|
|
4449
4449
|
const o = (d) => d ? typeof d == "function" ? new d() : d : null;
|
|
4450
4450
|
if (!this.options.isClone) {
|
|
4451
|
-
this.modules.logger ?
|
|
4451
|
+
this.modules.logger ? R9.init(o(this.modules.logger), this.options) : R9.init(null, this.options);
|
|
4452
4452
|
let d;
|
|
4453
4453
|
this.modules.formatter ? d = this.modules.formatter : d = WU;
|
|
4454
4454
|
const c = new Dv(this.options);
|
|
4455
4455
|
this.store = new Bv(this.options.resources, this.options);
|
|
4456
4456
|
const u = this.services;
|
|
4457
|
-
u.logger =
|
|
4457
|
+
u.logger = R9, u.resourceStore = this.store, u.languageUtils = c, u.pluralResolver = new qU(c, {
|
|
4458
4458
|
prepend: this.options.pluralSeparator,
|
|
4459
4459
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
4460
4460
|
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (u.formatter = o(d), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Fv(this.options), u.utils = {
|
|
@@ -4945,11 +4945,11 @@ function zI(e, t) {
|
|
|
4945
4945
|
const { toString: az } = Object.prototype, { getPrototypeOf: Nm } = Object, { iterator: zc, toStringTag: qI } = Symbol, qc = /* @__PURE__ */ ((e) => (t) => {
|
|
4946
4946
|
const n = az.call(t);
|
|
4947
4947
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
4948
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
4948
|
+
})(/* @__PURE__ */ Object.create(null)), u9 = (e) => (e = e.toLowerCase(), (t) => qc(t) === e), Gc = (e) => (t) => typeof t === e, { isArray: Gn } = Array, Tn = Gc("undefined");
|
|
4949
4949
|
function Yo(e) {
|
|
4950
4950
|
return e !== null && !Tn(e) && e.constructor !== null && !Tn(e.constructor) && I5(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
4951
4951
|
}
|
|
4952
|
-
const GI =
|
|
4952
|
+
const GI = u9("ArrayBuffer");
|
|
4953
4953
|
function lz(e) {
|
|
4954
4954
|
let t;
|
|
4955
4955
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && GI(e.buffer), t;
|
|
@@ -4967,11 +4967,11 @@ const dz = Gc("string"), I5 = Gc("function"), jI = Gc("number"), Xo = (e) => e !
|
|
|
4967
4967
|
} catch {
|
|
4968
4968
|
return !1;
|
|
4969
4969
|
}
|
|
4970
|
-
}, uz =
|
|
4970
|
+
}, uz = u9("Date"), pz = u9("File"), fz = u9("Blob"), hz = u9("FileList"), gz = (e) => Xo(e) && I5(e.pipe), mz = (e) => {
|
|
4971
4971
|
let t;
|
|
4972
4972
|
return e && (typeof FormData == "function" && e instanceof FormData || I5(e.append) && ((t = qc(e)) === "formdata" || // detect form-data instance
|
|
4973
4973
|
t === "object" && I5(e.toString) && e.toString() === "[object FormData]"));
|
|
4974
|
-
}, yz =
|
|
4974
|
+
}, yz = u9("URLSearchParams"), [wz, bz, vz, Sz] = ["ReadableStream", "Request", "Response", "Headers"].map(u9), _z = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
4975
4975
|
function Jo(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
4976
4976
|
if (e === null || typeof e > "u")
|
|
4977
4977
|
return;
|
|
@@ -5066,12 +5066,12 @@ const Mz = (e, t, n, { allOwnKeys: i } = {}) => (Jo(t, (o, s) => {
|
|
|
5066
5066
|
for (; (n = e.exec(t)) !== null; )
|
|
5067
5067
|
i.push(n);
|
|
5068
5068
|
return i;
|
|
5069
|
-
}, Pz =
|
|
5069
|
+
}, Pz = u9("HTMLFormElement"), Az = (e) => e.toLowerCase().replace(
|
|
5070
5070
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
5071
5071
|
function(n, i, o) {
|
|
5072
5072
|
return i.toUpperCase() + o;
|
|
5073
5073
|
}
|
|
5074
|
-
), Wv = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), $z =
|
|
5074
|
+
), Wv = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), $z = u9("RegExp"), YI = (e, t) => {
|
|
5075
5075
|
const n = Object.getOwnPropertyDescriptors(e), i = {};
|
|
5076
5076
|
Jo(n, (o, s) => {
|
|
5077
5077
|
let r;
|
|
@@ -5123,7 +5123,7 @@ const Zz = (e) => {
|
|
|
5123
5123
|
return i;
|
|
5124
5124
|
};
|
|
5125
5125
|
return n(e, 0);
|
|
5126
|
-
}, Fz =
|
|
5126
|
+
}, Fz = u9("AsyncFunction"), Uz = (e) => e && (Xo(e) || I5(e)) && I5(e.then) && I5(e.catch), XI = ((e, t) => e ? setImmediate : t ? ((n, i) => (bt.addEventListener("message", ({ source: o, data: s }) => {
|
|
5127
5127
|
o === bt && s === n && i.length && i.shift()();
|
|
5128
5128
|
}, !1), (o) => {
|
|
5129
5129
|
i.push(o), bt.postMessage(n, "*");
|
|
@@ -5164,7 +5164,7 @@ const Zz = (e) => {
|
|
|
5164
5164
|
inherits: Lz,
|
|
5165
5165
|
toFlatObject: Tz,
|
|
5166
5166
|
kindOf: qc,
|
|
5167
|
-
kindOfTest:
|
|
5167
|
+
kindOfTest: u9,
|
|
5168
5168
|
endsWith: Vz,
|
|
5169
5169
|
toArray: xz,
|
|
5170
5170
|
forEachEntry: Iz,
|
|
@@ -6403,7 +6403,7 @@ function Eq(e, t, n) {
|
|
|
6403
6403
|
const Ol = {
|
|
6404
6404
|
assertOptions: Eq,
|
|
6405
6405
|
validators: Wc
|
|
6406
|
-
},
|
|
6406
|
+
}, M9 = Ol.validators;
|
|
6407
6407
|
let xt = class {
|
|
6408
6408
|
constructor(t) {
|
|
6409
6409
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -6440,17 +6440,17 @@ let xt = class {
|
|
|
6440
6440
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = zt(this.defaults, n);
|
|
6441
6441
|
const { transitional: i, paramsSerializer: o, headers: s } = n;
|
|
6442
6442
|
i !== void 0 && Ol.assertOptions(i, {
|
|
6443
|
-
silentJSONParsing:
|
|
6444
|
-
forcedJSONParsing:
|
|
6445
|
-
clarifyTimeoutError:
|
|
6443
|
+
silentJSONParsing: M9.transitional(M9.boolean),
|
|
6444
|
+
forcedJSONParsing: M9.transitional(M9.boolean),
|
|
6445
|
+
clarifyTimeoutError: M9.transitional(M9.boolean)
|
|
6446
6446
|
}, !1), o != null && (P1.isFunction(o) ? n.paramsSerializer = {
|
|
6447
6447
|
serialize: o
|
|
6448
6448
|
} : Ol.assertOptions(o, {
|
|
6449
|
-
encode:
|
|
6450
|
-
serialize:
|
|
6449
|
+
encode: M9.function,
|
|
6450
|
+
serialize: M9.function
|
|
6451
6451
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), Ol.assertOptions(n, {
|
|
6452
|
-
baseUrl:
|
|
6453
|
-
withXsrfToken:
|
|
6452
|
+
baseUrl: M9.spelling("baseURL"),
|
|
6453
|
+
withXsrfToken: M9.spelling("withXSRFToken")
|
|
6454
6454
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
6455
6455
|
let r = s && P1.merge(
|
|
6456
6456
|
s.common,
|
|
@@ -13178,7 +13178,7 @@ function $u1(e, t, n, i, o, s) {
|
|
|
13178
13178
|
id: `${n.name}-${o.id}-desc`,
|
|
13179
13179
|
lang: "en"
|
|
13180
13180
|
}, P(s.description), 9, Au1)) : k("", !0),
|
|
13181
|
-
(C(), $(
|
|
13181
|
+
(C(), $(C9(`icon-${s.iconName}`)))
|
|
13182
13182
|
], 10, Pu1))
|
|
13183
13183
|
], 2);
|
|
13184
13184
|
}
|
|
@@ -14690,7 +14690,7 @@ function Kf1(e, t, n, i, o, s) {
|
|
|
14690
14690
|
return C(), f("div", {
|
|
14691
14691
|
class: B([{ "tw-w-full": n.fullWidth }, n.containerClasses])
|
|
14692
14692
|
}, [
|
|
14693
|
-
(C(), $(
|
|
14693
|
+
(C(), $(C9(`button-${n.theme || "brandCrowd"}-${n.variant}`), J2(n.dataAttribute ? { [n.dataAttribute]: "" } : {}, {
|
|
14694
14694
|
"data-scl-button": "",
|
|
14695
14695
|
attrs: n.attrs,
|
|
14696
14696
|
size: n.size,
|
|
@@ -16530,7 +16530,7 @@ function tm1(e, t, n, i, o, s) {
|
|
|
16530
16530
|
}
|
|
16531
16531
|
const nm1 = /* @__PURE__ */ v(Xg1, [["render", tm1]]);
|
|
16532
16532
|
var W4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
16533
|
-
function
|
|
16533
|
+
function p9(e) {
|
|
16534
16534
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
16535
16535
|
}
|
|
16536
16536
|
var Dl = { exports: {} }, im1 = Dl.exports, vS;
|
|
@@ -16592,7 +16592,7 @@ function om1() {
|
|
|
16592
16592
|
})(Dl)), Dl.exports;
|
|
16593
16593
|
}
|
|
16594
16594
|
var ts = om1();
|
|
16595
|
-
const zm = /* @__PURE__ */
|
|
16595
|
+
const zm = /* @__PURE__ */ p9(ts), v8 = Object.freeze({
|
|
16596
16596
|
active: "Active",
|
|
16597
16597
|
pendingPreOnboarding: "PendingPreOnboarding",
|
|
16598
16598
|
pendingPostOnboarding: "PendingPostOnboarding",
|
|
@@ -20573,7 +20573,7 @@ function w_1(e, t, n, i, o, s) {
|
|
|
20573
20573
|
id: `${n.name}-${o.id}-desc`,
|
|
20574
20574
|
lang: "en"
|
|
20575
20575
|
}, P(s.description), 9, y_1),
|
|
20576
|
-
(C(), $(
|
|
20576
|
+
(C(), $(C9(`icon-${s.iconName}`)))
|
|
20577
20577
|
], 10, g_1))
|
|
20578
20578
|
], 2);
|
|
20579
20579
|
}
|
|
@@ -21118,7 +21118,7 @@ const kE = {
|
|
|
21118
21118
|
search: ""
|
|
21119
21119
|
}
|
|
21120
21120
|
};
|
|
21121
|
-
function
|
|
21121
|
+
function r9() {
|
|
21122
21122
|
const e = typeof document < "u" ? document : {};
|
|
21123
21123
|
return Gm(e, kE), e;
|
|
21124
21124
|
}
|
|
@@ -21269,7 +21269,7 @@ function LE(e) {
|
|
|
21269
21269
|
};
|
|
21270
21270
|
u();
|
|
21271
21271
|
}
|
|
21272
|
-
function
|
|
21272
|
+
function Z9(e, t) {
|
|
21273
21273
|
return t === void 0 && (t = ""), [...e.children].filter((n) => n.matches(t));
|
|
21274
21274
|
}
|
|
21275
21275
|
function vd(e) {
|
|
@@ -21285,7 +21285,7 @@ function Sd(e, t) {
|
|
|
21285
21285
|
return n.classList.add(...Array.isArray(t) ? t : K_1(t)), n;
|
|
21286
21286
|
}
|
|
21287
21287
|
function eM1(e) {
|
|
21288
|
-
const t = e5(), n =
|
|
21288
|
+
const t = e5(), n = r9(), i = e.getBoundingClientRect(), o = n.body, s = e.clientTop || o.clientTop || 0, r = e.clientLeft || o.clientLeft || 0, a = e === t ? t.scrollY : e.scrollTop, l = e === t ? t.scrollX : e.scrollLeft;
|
|
21289
21289
|
return {
|
|
21290
21290
|
top: i.top + a - s,
|
|
21291
21291
|
left: i.left + l - r
|
|
@@ -21340,7 +21340,7 @@ function l4(e) {
|
|
|
21340
21340
|
}
|
|
21341
21341
|
let Ru;
|
|
21342
21342
|
function iM1() {
|
|
21343
|
-
const e = e5(), t =
|
|
21343
|
+
const e = e5(), t = r9();
|
|
21344
21344
|
return {
|
|
21345
21345
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
21346
21346
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
@@ -21561,7 +21561,7 @@ function CM1() {
|
|
|
21561
21561
|
size: s,
|
|
21562
21562
|
rtlTranslate: r,
|
|
21563
21563
|
wrongRTL: a
|
|
21564
|
-
} = e, l = e.virtual && n.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c =
|
|
21564
|
+
} = e, l = e.virtual && n.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c = Z9(o, `.${e.params.slideClass}, swiper-slide`), u = l ? e.virtual.slides.length : c.length;
|
|
21565
21565
|
let h = [];
|
|
21566
21566
|
const m = [], g = [];
|
|
21567
21567
|
let y = n.slidesOffsetBefore;
|
|
@@ -21757,7 +21757,7 @@ function gM1() {
|
|
|
21757
21757
|
params: n,
|
|
21758
21758
|
slidesEl: i,
|
|
21759
21759
|
activeIndex: o
|
|
21760
|
-
} = e, s = e.virtual && n.virtual.enabled, r = e.grid && n.grid && n.grid.rows > 1, a = (u) =>
|
|
21760
|
+
} = e, s = e.virtual && n.virtual.enabled, r = e.grid && n.grid && n.grid.rows > 1, a = (u) => Z9(i, `.${n.slideClass}${u}, swiper-slide${u}`)[0];
|
|
21761
21761
|
t.forEach((u) => {
|
|
21762
21762
|
u.classList.remove(n.slideActiveClass, n.slideNextClass, n.slidePrevClass);
|
|
21763
21763
|
});
|
|
@@ -22224,9 +22224,9 @@ function OM1() {
|
|
|
22224
22224
|
const r = e.isElement ? "swiper-slide" : `.${t.slideClass}`;
|
|
22225
22225
|
if (t.loop) {
|
|
22226
22226
|
if (e.animating) return;
|
|
22227
|
-
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? o < e.loopedSlides - i / 2 || o > e.slides.length - e.loopedSlides + i / 2 ? (e.loopFix(), o = e.getSlideIndex(
|
|
22227
|
+
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? o < e.loopedSlides - i / 2 || o > e.slides.length - e.loopedSlides + i / 2 ? (e.loopFix(), o = e.getSlideIndex(Z9(n, `${r}[data-swiper-slide-index="${s}"]`)[0]), So(() => {
|
|
22228
22228
|
e.slideTo(o);
|
|
22229
|
-
})) : e.slideTo(o) : o > e.slides.length - i ? (e.loopFix(), o = e.getSlideIndex(
|
|
22229
|
+
})) : e.slideTo(o) : o > e.slides.length - i ? (e.loopFix(), o = e.getSlideIndex(Z9(n, `${r}[data-swiper-slide-index="${s}"]`)[0]), So(() => {
|
|
22230
22230
|
e.slideTo(o);
|
|
22231
22231
|
})) : e.slideTo(o);
|
|
22232
22232
|
} else
|
|
@@ -22248,7 +22248,7 @@ function NM1(e) {
|
|
|
22248
22248
|
} = t;
|
|
22249
22249
|
if (!n.loop || t.virtual && t.params.virtual.enabled) return;
|
|
22250
22250
|
const o = () => {
|
|
22251
|
-
|
|
22251
|
+
Z9(i, `.${n.slideClass}, swiper-slide`).forEach((u, h) => {
|
|
22252
22252
|
u.setAttribute("data-swiper-slide-index", h);
|
|
22253
22253
|
});
|
|
22254
22254
|
}, s = t.grid && n.grid && n.grid.rows > 1, r = n.slidesPerGroup * (s ? n.grid.rows : 1), a = t.slides.length % r !== 0, l = s && t.slides.length % n.grid.rows !== 0, d = (c) => {
|
|
@@ -22426,7 +22426,7 @@ var qM1 = {
|
|
|
22426
22426
|
function GM1(e, t) {
|
|
22427
22427
|
t === void 0 && (t = this);
|
|
22428
22428
|
function n(i) {
|
|
22429
|
-
if (!i || i ===
|
|
22429
|
+
if (!i || i === r9() || i === e5()) return null;
|
|
22430
22430
|
i.assignedSlot && (i = i.assignedSlot);
|
|
22431
22431
|
const o = i.closest(e);
|
|
22432
22432
|
return !o && !i.getRootNode ? null : o || n(i.getRootNode().host);
|
|
@@ -22440,7 +22440,7 @@ function kS(e, t, n) {
|
|
|
22440
22440
|
return s && (n <= r || n >= i.innerWidth - r) ? s === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
|
|
22441
22441
|
}
|
|
22442
22442
|
function jM1(e) {
|
|
22443
|
-
const t = this, n =
|
|
22443
|
+
const t = this, n = r9();
|
|
22444
22444
|
let i = e;
|
|
22445
22445
|
i.originalEvent && (i = i.originalEvent);
|
|
22446
22446
|
const o = t.touchEventsData;
|
|
@@ -22489,7 +22489,7 @@ function jM1(e) {
|
|
|
22489
22489
|
(s.touchStartForcePreventDefault || w) && !l.isContentEditable && i.preventDefault(), s.freeMode && s.freeMode.enabled && t.freeMode && t.animating && !s.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", i);
|
|
22490
22490
|
}
|
|
22491
22491
|
function WM1(e) {
|
|
22492
|
-
const t =
|
|
22492
|
+
const t = r9(), n = this, i = n.touchEventsData, {
|
|
22493
22493
|
params: o,
|
|
22494
22494
|
touches: s,
|
|
22495
22495
|
rtlTranslate: r,
|
|
@@ -22712,7 +22712,7 @@ function QM1() {
|
|
|
22712
22712
|
e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
22713
22713
|
}
|
|
22714
22714
|
const HE = (e, t) => {
|
|
22715
|
-
const n =
|
|
22715
|
+
const n = r9(), {
|
|
22716
22716
|
params: i,
|
|
22717
22717
|
el: o,
|
|
22718
22718
|
wrapperEl: s,
|
|
@@ -23042,7 +23042,7 @@ let jm = class S8 {
|
|
|
23042
23042
|
for (var i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
23043
23043
|
o[s] = arguments[s];
|
|
23044
23044
|
o.length === 1 && o[0].constructor && Object.prototype.toString.call(o[0]).slice(8, -1) === "Object" ? n = o[0] : [t, n] = o, n || (n = {}), n = o6({}, n), t && !n.el && (n.el = t);
|
|
23045
|
-
const r =
|
|
23045
|
+
const r = r9();
|
|
23046
23046
|
if (n.el && typeof n.el == "string" && r.querySelectorAll(n.el).length > 1) {
|
|
23047
23047
|
const c = [];
|
|
23048
23048
|
return r.querySelectorAll(n.el).forEach((u) => {
|
|
@@ -23160,7 +23160,7 @@ let jm = class S8 {
|
|
|
23160
23160
|
const {
|
|
23161
23161
|
slidesEl: n,
|
|
23162
23162
|
params: i
|
|
23163
|
-
} = this, o =
|
|
23163
|
+
} = this, o = Z9(n, `.${i.slideClass}, swiper-slide`), s = _d(o[0]);
|
|
23164
23164
|
return _d(t) - s;
|
|
23165
23165
|
}
|
|
23166
23166
|
getSlideIndexByData(t) {
|
|
@@ -23171,7 +23171,7 @@ let jm = class S8 {
|
|
|
23171
23171
|
slidesEl: n,
|
|
23172
23172
|
params: i
|
|
23173
23173
|
} = t;
|
|
23174
|
-
t.slides =
|
|
23174
|
+
t.slides = Z9(n, `.${i.slideClass}, swiper-slide`);
|
|
23175
23175
|
}
|
|
23176
23176
|
enable() {
|
|
23177
23177
|
const t = this;
|
|
@@ -23281,8 +23281,8 @@ let jm = class S8 {
|
|
|
23281
23281
|
return !1;
|
|
23282
23282
|
i.swiper = n, i.parentNode && i.parentNode.host && i.parentNode.host.nodeName === n.params.swiperElementNodeName.toUpperCase() && (n.isElement = !0);
|
|
23283
23283
|
const o = () => `.${(n.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
23284
|
-
let r = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(o()) :
|
|
23285
|
-
return !r && n.params.createElements && (r = Sd("div", n.params.wrapperClass), i.append(r),
|
|
23284
|
+
let r = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(o()) : Z9(i, o())[0];
|
|
23285
|
+
return !r && n.params.createElements && (r = Sd("div", n.params.wrapperClass), i.append(r), Z9(i, `.${n.params.slideClass}`).forEach((a) => {
|
|
23286
23286
|
r.append(a);
|
|
23287
23287
|
})), Object.assign(n, {
|
|
23288
23288
|
el: i,
|
|
@@ -24331,7 +24331,7 @@ function vk1() {
|
|
|
24331
24331
|
return ju = w, ju;
|
|
24332
24332
|
}
|
|
24333
24333
|
var Sk1 = vk1();
|
|
24334
|
-
const _k1 = /* @__PURE__ */
|
|
24334
|
+
const _k1 = /* @__PURE__ */ p9(Sk1);
|
|
24335
24335
|
function Mk1(e) {
|
|
24336
24336
|
let {
|
|
24337
24337
|
swiper: t,
|
|
@@ -24339,7 +24339,7 @@ function Mk1(e) {
|
|
|
24339
24339
|
on: i,
|
|
24340
24340
|
emit: o
|
|
24341
24341
|
} = e;
|
|
24342
|
-
const s =
|
|
24342
|
+
const s = r9(), r = e5();
|
|
24343
24343
|
t.keyboard = {
|
|
24344
24344
|
enabled: !1
|
|
24345
24345
|
}, n({
|
|
@@ -24536,7 +24536,7 @@ function kk1(e) {
|
|
|
24536
24536
|
function BE(e, t, n, i) {
|
|
24537
24537
|
return e.params.createElements && Object.keys(i).forEach((o) => {
|
|
24538
24538
|
if (!n[o] && n.auto === !0) {
|
|
24539
|
-
let s =
|
|
24539
|
+
let s = Z9(e.el, `.${i[o]}`)[0];
|
|
24540
24540
|
s || (s = Sd("div", i[o]), s.className = i[o], e.el.append(s)), n[o] = s, t[o] = s;
|
|
24541
24541
|
}
|
|
24542
24542
|
}), n;
|
|
@@ -24948,7 +24948,7 @@ function Vk1(e) {
|
|
|
24948
24948
|
t.isEnd && c < 0 && !t.params.loop || t.destroyed || !t.autoplay.running || (u = (/* @__PURE__ */ new Date()).getTime(), b ? (b = !1, H(c)) : H(), t.autoplay.paused = !1, o("autoplayResume"));
|
|
24949
24949
|
}, Y = () => {
|
|
24950
24950
|
if (t.destroyed || !t.autoplay.running) return;
|
|
24951
|
-
const q =
|
|
24951
|
+
const q = r9();
|
|
24952
24952
|
q.visibilityState === "hidden" && (b = !0, N(!0)), q.visibilityState === "visible" && F();
|
|
24953
24953
|
}, n1 = (q) => {
|
|
24954
24954
|
q.pointerType === "mouse" && (b = !0, M = !0, !(t.animating || t.autoplay.paused) && N(!0));
|
|
@@ -24959,9 +24959,9 @@ function Vk1(e) {
|
|
|
24959
24959
|
}, C1 = () => {
|
|
24960
24960
|
t.el.removeEventListener("pointerenter", n1), t.el.removeEventListener("pointerleave", U);
|
|
24961
24961
|
}, t1 = () => {
|
|
24962
|
-
|
|
24962
|
+
r9().addEventListener("visibilitychange", Y);
|
|
24963
24963
|
}, G = () => {
|
|
24964
|
-
|
|
24964
|
+
r9().removeEventListener("visibilitychange", Y);
|
|
24965
24965
|
};
|
|
24966
24966
|
i("init", () => {
|
|
24967
24967
|
t.params.autoplay.enabled && (r1(), t1(), D());
|
|
@@ -26689,7 +26689,7 @@ const Km = /* @__PURE__ */ v(kL1, [["render", TL1], ["__scopeId", "data-v-4cd691
|
|
|
26689
26689
|
"pt-PT": () => import("./bundled-translations.pt-PT-DM7Vsf-h.js"),
|
|
26690
26690
|
"fr-CA": () => import("./bundled-translations.fr-CA-BMnBtr_w.js"),
|
|
26691
26691
|
"pt-BR": () => import("./bundled-translations.pt-BR-B3oNDkoe.js")
|
|
26692
|
-
}, HN2 = () => J4.createInstance(), ss = () => W8()?.appContext.app?.i18next || J4,
|
|
26692
|
+
}, HN2 = () => J4.createInstance(), ss = () => W8()?.appContext.app?.i18next || J4, a9 = () => {
|
|
26693
26693
|
const t = ss().language;
|
|
26694
26694
|
return Ym.includes(t) ? t : Cn;
|
|
26695
26695
|
}, IN2 = async (e) => {
|
|
@@ -26709,7 +26709,7 @@ const Km = /* @__PURE__ */ v(kL1, [["render", TL1], ["__scopeId", "data-v-4cd691
|
|
|
26709
26709
|
ns: Ld,
|
|
26710
26710
|
...t
|
|
26711
26711
|
});
|
|
26712
|
-
}, i6 = (e) => l2(`model.${e}`), L2 = (e) => l2(`common.${e}`), UE = (e) => l2(`actionBar.${e}`), _6 = (e) => l2(`brandPageSettings.${e}`), PL1 = (e) => l2(`colorPalette.${e}`), b7 = (e) => l2(`navigation.${e}`), R3 = (e) => l2(`converter.${e}`), Oe = (e) => l2(`backgroundSettings.${e}`), tg = (e) => l2(`colorPicker.${e}`), AL1 = (e) => l2(`colorReplacementField.${e}`), O = (e) => l2(`contentSettings.${e}`), _i = (e) => l2(`formFields.${e}`), $L1 = (e) => l2(`genericTextInput.${e}`), BL1 = (e) => l2(`imagesField.${e}`), OL1 = (e) => l2(`linksField.${e}`),
|
|
26712
|
+
}, i6 = (e) => l2(`model.${e}`), L2 = (e) => l2(`common.${e}`), UE = (e) => l2(`actionBar.${e}`), _6 = (e) => l2(`brandPageSettings.${e}`), PL1 = (e) => l2(`colorPalette.${e}`), b7 = (e) => l2(`navigation.${e}`), R3 = (e) => l2(`converter.${e}`), Oe = (e) => l2(`backgroundSettings.${e}`), tg = (e) => l2(`colorPicker.${e}`), AL1 = (e) => l2(`colorReplacementField.${e}`), O = (e) => l2(`contentSettings.${e}`), _i = (e) => l2(`formFields.${e}`), $L1 = (e) => l2(`genericTextInput.${e}`), BL1 = (e) => l2(`imagesField.${e}`), OL1 = (e) => l2(`linksField.${e}`), P9 = (e) => l2(`paymentConfig.${e}`), zE = (e) => l2(`shapeField.${e}`), DL1 = (e) => l2(`testimonialItemsField.${e}`), NL1 = (e) => l2(`textField.${e}`), a4 = (e) => l2(`textImageField.${e}`), RL1 = (e) => l2(`textItemsField.${e}`), Bi = (e) => l2(`textStyleField.${e}`), ZL1 = (e) => l2(`textAreaField.${e}`), FL1 = (e) => l2(`bookingUrlField.${e}`), UL1 = (e) => l2(`productConfigOption.${e}`), ng = (e) => l2(`editLogoSettings.${e}`), qE = (e, t = {}) => l2(`myUploadSettings.${e}`, t), vt = (e) => l2(`pageSettings.${e}`), H8 = (e) => l2(`templateSettings.${e}`), M5 = (e) => l2(`seoSettings.${e}`), Q3 = (e) => l2(`styleSettingsSection.${e}`), nn = (e, t = {}) => l2(`saveContactSettings.${e}`, t), Wu = (e) => l2(`sensitiveContentSettings.${e}`), ig = (e) => l2(`socialShare.${e}`), Ku = (e) => l2(`cookieSettings.${e}`), h8 = (e) => l2(`googleAnalytics.${e}`), Yu = (e) => l2(`colorField.${e}`), c6 = (e) => l2(`validator.${e}`), d4 = (e) => l2(`constants.${e}`), PS = (e) => l2(`layoutSwitcher.${e}`), zL1 = (e) => l2(`brandpageBackgroundSettings.${e}`), AS = (e) => l2(`loginMessage.${e}`), Xu = (e) => l2(`cookie.${e}`), ur = (e) => l2(`logoSelectionSettings.${e}`), qL1 = (e) => l2(`googleAddressField.${e}`), GL1 = (e) => l2(`myDesigns.${e}`), Ji = (e) => l2(`pageSettings.${e}`), Ju = (e) => l2(`shapeLibrary.${e}`), ge = (e, t = {}) => l2(`error.${e}`, t), E0 = (e) => l2(`dropzoneUploader.${e}`), pr = (e) => l2(`shop.${e}`), B7 = (e, t = {}) => l2(`payment.${e}`, t), ct = (e, t = {}) => l2(`publishBrandPageModalWithState.${e}`, t), jL1 = (e) => l2(`existingDomainModal.${e}`), Mi = (e) => l2(`uploadLogoModal.${e}`), g8 = (e, t = {}) => l2(`sensitiveContentModal.${e}`, t, !0), Gt = (e) => l2(`quickLinkBar.${e}`), fr = (e, t = {}) => l2(`brandPageFooter.${e}`, t), E3 = (e) => l2(`product.${e}`), WL1 = (e) => l2(`image.${e}`), $S = (e) => l2(`map.${e}`), BS = (e) => l2(`imagesSection.${e}`), Kc = (e) => l2(`imageGallery.${e}`), KL1 = (e) => l2(`newPageModal.${e}`), Qu = (e, t = {}) => l2(`personalisationOverride.${e}`, t), P0 = (e, t = {}) => l2(`paymentModal.${e}`, t), YL1 = (e, t = {}) => l2(`mailingList.${e}`, t), XL1 = (e, t = {}) => l2(`recaptcha.${e}`, t), JL1 = (e, t = {}) => l2(`deletePageModal.${e}`, t), A0 = (e, t = {}) => l2(`deleteDomainModal.${e}`, t), Y6 = (e, t = {}) => l2(`requestPaymentStripe.${e}`, t), Ct = (e, t = {}) => l2(`productDetailModal.${e}`, t), QL1 = (e, t = {}) => l2(`video.${e}`, t), eT1 = (e, t = {}) => l2(`confirmModal.${e}`, t), f7 = (e, t = {}) => l2(`videoLibrary.${e}`, t), OS = (e, t = {}) => l2(`logoSwitchConfirmationModal.${e}`, t), ep = (e, t = {}) => l2(`logoTemplateSearchModal.${e}`, t), GE = (e, t = {}) => l2(`aiModal.${e}`, t), Zl = (e, t = {}) => l2(`saveContactWidget.${e}`, t), X6 = (e, t = {}) => l2(`paymentShippingAddress.${e}`, t), tT1 = () => ss().t("countries", {
|
|
26713
26713
|
ns: Ld,
|
|
26714
26714
|
returnObjects: !0
|
|
26715
26715
|
}), Oi = () => {
|
|
@@ -28220,10 +28220,10 @@ const p1 = {
|
|
|
28220
28220
|
type: "google",
|
|
28221
28221
|
categories: [f1().modern.key]
|
|
28222
28222
|
}
|
|
28223
|
-
},
|
|
28223
|
+
}, G2 = p1.lato, mT1 = ["Helvetica", "sans-serif"], Fl = {
|
|
28224
28224
|
defaultButtonStyle: {
|
|
28225
28225
|
textAlign: "left",
|
|
28226
|
-
fontFamily: A2[
|
|
28226
|
+
fontFamily: A2[G2].name
|
|
28227
28227
|
},
|
|
28228
28228
|
selectedButtonStyle: {},
|
|
28229
28229
|
iconStyle: {
|
|
@@ -28243,7 +28243,7 @@ const p1 = {
|
|
|
28243
28243
|
itemTextStyle: "itemTextStyle",
|
|
28244
28244
|
buttonTextStyle: "buttonTextStyle",
|
|
28245
28245
|
copyrightStyle: "copyrightStyle"
|
|
28246
|
-
}, Ve = "center", hr = "0", oy = "$", wT1 = "USD", _o = "rgb(0,0,0)", Vd = "rgb(255,255,255)",
|
|
28246
|
+
}, Ve = "center", hr = "0", oy = "$", wT1 = "USD", _o = "rgb(0,0,0)", Vd = "rgb(255,255,255)", d9 = "preview", z7 = "collapsed", ze = "centered", F5 = "left-aligned", f6 = "right-aligned", sy = "justified", Vn = "left-aligned-big-image", m3 = "center-card-aligned-image", xn = "center-card-aligned", jt = "left-card-aligned-image", Ul = "top-card-aligned-image", zl = "bottom-card-aligned-image", ql = "middle-card-aligned-image", Qi = "top-aligned-full-image", eo = "bottom-aligned-full-image", to = "middle-aligned-full-image", sg = 3, Q6 = {
|
|
28247
28247
|
1: "1",
|
|
28248
28248
|
2: "2",
|
|
28249
28249
|
3: "3",
|
|
@@ -28263,7 +28263,7 @@ const p1 = {
|
|
|
28263
28263
|
Qi,
|
|
28264
28264
|
eo,
|
|
28265
28265
|
to
|
|
28266
|
-
], WE = (e) => e && vT1.includes(e) ? 0 : bT1, ST1 = 32, rg = 48,
|
|
28266
|
+
], WE = (e) => e && vT1.includes(e) ? 0 : bT1, ST1 = 32, rg = 48, l9 = "big-image", X9 = "media-only", tp = "columns", Qc = "100%", DS = {
|
|
28267
28267
|
FULL_HD: "q=80&w=1080",
|
|
28268
28268
|
ULTRA_HD: "q=80&w=2160"
|
|
28269
28269
|
}, Kn = "csrf-token", d2 = Object.freeze({
|
|
@@ -28881,7 +28881,7 @@ function ET1() {
|
|
|
28881
28881
|
return z ? "Symbol(src)_1." + z : "";
|
|
28882
28882
|
})(), _1 = y1.toString, h1 = D1.hasOwnProperty, Q1 = D1.toString, u2 = RegExp(
|
|
28883
28883
|
"^" + _1.call(h1).replace(t1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
28884
|
-
), y2 = x1 ? F1.Buffer : void 0, te = F1.Symbol, we = F1.Uint8Array, M1 = He(Object.getPrototypeOf, Object), j1 = Object.create, C2 = D1.propertyIsEnumerable, z2 = X.splice, T1 = Object.getOwnPropertySymbols, a2 = y2 ? y2.isBuffer : void 0, A1 = He(Object.keys, Object), $1 = s7(F1, "DataView"), h2 = s7(F1, "Map"), r2 = s7(F1, "Promise"), Me = s7(F1, "Set"), t3 = s7(F1, "WeakMap"), Y3 = s7(Object, "create"), B3 =
|
|
28884
|
+
), y2 = x1 ? F1.Buffer : void 0, te = F1.Symbol, we = F1.Uint8Array, M1 = He(Object.getPrototypeOf, Object), j1 = Object.create, C2 = D1.propertyIsEnumerable, z2 = X.splice, T1 = Object.getOwnPropertySymbols, a2 = y2 ? y2.isBuffer : void 0, A1 = He(Object.keys, Object), $1 = s7(F1, "DataView"), h2 = s7(F1, "Map"), r2 = s7(F1, "Promise"), Me = s7(F1, "Set"), t3 = s7(F1, "WeakMap"), Y3 = s7(Object, "create"), B3 = v9($1), Y5 = v9(h2), g6 = v9(r2), Ae = v9(Me), w5 = v9(t3), m6 = te ? te.prototype : void 0, b5 = m6 ? m6.valueOf : void 0;
|
|
28885
28885
|
function s5(z) {
|
|
28886
28886
|
var k1 = -1, z1 = z ? z.length : 0;
|
|
28887
28887
|
for (this.clear(); ++k1 < z1; ) {
|
|
@@ -28995,7 +28995,7 @@ function ET1() {
|
|
|
28995
28995
|
}
|
|
28996
28996
|
X1.prototype.clear = w2, X1.prototype.delete = N1, X1.prototype.get = k3, X1.prototype.has = a3, X1.prototype.set = n3;
|
|
28997
28997
|
function L3(z, k1) {
|
|
28998
|
-
var z1 =
|
|
28998
|
+
var z1 = S9(z) || b0(z) ? R2(z.length, String) : [], E2 = z1.length, X3 = !!E2;
|
|
28999
28999
|
for (var Z4 in z)
|
|
29000
29000
|
h1.call(z, Z4) && !(X3 && (Z4 == "length" || nu(Z4, E2))) && z1.push(Z4);
|
|
29001
29001
|
return z1;
|
|
@@ -29011,7 +29011,7 @@ function ET1() {
|
|
|
29011
29011
|
return -1;
|
|
29012
29012
|
}
|
|
29013
29013
|
function y3(z, k1) {
|
|
29014
|
-
return z && ui(k1,
|
|
29014
|
+
return z && ui(k1, _9(k1), z);
|
|
29015
29015
|
}
|
|
29016
29016
|
function Qe(z, k1, z1, E2, X3, Z4, G6) {
|
|
29017
29017
|
var S4;
|
|
@@ -29019,7 +29019,7 @@ function ET1() {
|
|
|
29019
29019
|
return S4;
|
|
29020
29020
|
if (!S0(z))
|
|
29021
29021
|
return z;
|
|
29022
|
-
var fi =
|
|
29022
|
+
var fi = S9(z);
|
|
29023
29023
|
if (fi) {
|
|
29024
29024
|
if (S4 = QC(z), !k1)
|
|
29025
29025
|
return Ns(z, S4);
|
|
@@ -29043,7 +29043,7 @@ function ET1() {
|
|
|
29043
29043
|
if (Ws)
|
|
29044
29044
|
return Ws;
|
|
29045
29045
|
if (G6.set(z, S4), !fi)
|
|
29046
|
-
var Ks = z1 ? JC(z) :
|
|
29046
|
+
var Ks = z1 ? JC(z) : _9(z);
|
|
29047
29047
|
return m2(Ks || z, function(hi, _0) {
|
|
29048
29048
|
Ks && (_0 = hi, hi = z[_0]), Q5(S4, _0, Qe(hi, k1, z1, E2, _0, z, G6));
|
|
29049
29049
|
}), S4;
|
|
@@ -29053,7 +29053,7 @@ function ET1() {
|
|
|
29053
29053
|
}
|
|
29054
29054
|
function a5(z, k1, z1) {
|
|
29055
29055
|
var E2 = k1(z);
|
|
29056
|
-
return
|
|
29056
|
+
return S9(z) ? E2 : P2(E2, z1(z));
|
|
29057
29057
|
}
|
|
29058
29058
|
function o7(z) {
|
|
29059
29059
|
return Q1.call(z);
|
|
@@ -29062,9 +29062,9 @@ function ET1() {
|
|
|
29062
29062
|
if (!S0(z) || ou(z))
|
|
29063
29063
|
return !1;
|
|
29064
29064
|
var k1 = v0(z) || se(z) ? u2 : q;
|
|
29065
|
-
return k1.test(
|
|
29065
|
+
return k1.test(v9(z));
|
|
29066
29066
|
}
|
|
29067
|
-
function
|
|
29067
|
+
function b9(z) {
|
|
29068
29068
|
if (!Zs(z))
|
|
29069
29069
|
return A1(z);
|
|
29070
29070
|
var k1 = [];
|
|
@@ -29123,7 +29123,7 @@ function ET1() {
|
|
|
29123
29123
|
return ui(z, Rs(z), k1);
|
|
29124
29124
|
}
|
|
29125
29125
|
function JC(z) {
|
|
29126
|
-
return a5(z,
|
|
29126
|
+
return a5(z, _9, Rs);
|
|
29127
29127
|
}
|
|
29128
29128
|
function w0(z, k1) {
|
|
29129
29129
|
var z1 = z.__data__;
|
|
@@ -29135,7 +29135,7 @@ function ET1() {
|
|
|
29135
29135
|
}
|
|
29136
29136
|
var Rs = T1 ? He(T1, Object) : ru, u8 = o7;
|
|
29137
29137
|
($1 && u8(new $1(new ArrayBuffer(1))) != H || h2 && u8(new h2()) != h || r2 && u8(r2.resolve()) != y || Me && u8(new Me()) != b || t3 && u8(new t3()) != _) && (u8 = function(z) {
|
|
29138
|
-
var k1 = Q1.call(z), z1 = k1 == g ? z.constructor : void 0, E2 = z1 ?
|
|
29138
|
+
var k1 = Q1.call(z), z1 = k1 == g ? z.constructor : void 0, E2 = z1 ? v9(z1) : void 0;
|
|
29139
29139
|
if (E2)
|
|
29140
29140
|
switch (E2) {
|
|
29141
29141
|
case B3:
|
|
@@ -29205,7 +29205,7 @@ function ET1() {
|
|
|
29205
29205
|
var k1 = z && z.constructor, z1 = typeof k1 == "function" && k1.prototype || D1;
|
|
29206
29206
|
return z === z1;
|
|
29207
29207
|
}
|
|
29208
|
-
function
|
|
29208
|
+
function v9(z) {
|
|
29209
29209
|
if (z != null) {
|
|
29210
29210
|
try {
|
|
29211
29211
|
return _1.call(z);
|
|
@@ -29227,7 +29227,7 @@ function ET1() {
|
|
|
29227
29227
|
function b0(z) {
|
|
29228
29228
|
return qs(z) && h1.call(z, "callee") && (!C2.call(z, "callee") || Q1.call(z) == s);
|
|
29229
29229
|
}
|
|
29230
|
-
var
|
|
29230
|
+
var S9 = Array.isArray;
|
|
29231
29231
|
function zs(z) {
|
|
29232
29232
|
return z != null && pi(z.length) && !v0(z);
|
|
29233
29233
|
}
|
|
@@ -29249,8 +29249,8 @@ function ET1() {
|
|
|
29249
29249
|
function Gs(z) {
|
|
29250
29250
|
return !!z && typeof z == "object";
|
|
29251
29251
|
}
|
|
29252
|
-
function
|
|
29253
|
-
return zs(z) ? L3(z) :
|
|
29252
|
+
function _9(z) {
|
|
29253
|
+
return zs(z) ? L3(z) : b9(z);
|
|
29254
29254
|
}
|
|
29255
29255
|
function ru() {
|
|
29256
29256
|
return [];
|
|
@@ -29262,7 +29262,7 @@ function ET1() {
|
|
|
29262
29262
|
})(Di, Di.exports)), Di.exports;
|
|
29263
29263
|
}
|
|
29264
29264
|
var PT1 = ET1();
|
|
29265
|
-
const Ge = /* @__PURE__ */
|
|
29265
|
+
const Ge = /* @__PURE__ */ p9(PT1);
|
|
29266
29266
|
class XE {
|
|
29267
29267
|
defaultButtonStyle;
|
|
29268
29268
|
selectedButtonStyle;
|
|
@@ -29319,7 +29319,7 @@ class eP {
|
|
|
29319
29319
|
borderTopWidth: "0px",
|
|
29320
29320
|
color: n?.primaryColor,
|
|
29321
29321
|
fontSize: R5,
|
|
29322
|
-
fontFamily: A2[
|
|
29322
|
+
fontFamily: A2[G2].name,
|
|
29323
29323
|
textDecoration: rT1,
|
|
29324
29324
|
fontWeight: dT1,
|
|
29325
29325
|
fontStyle: aT1,
|
|
@@ -29367,7 +29367,7 @@ class eP {
|
|
|
29367
29367
|
);
|
|
29368
29368
|
}
|
|
29369
29369
|
}
|
|
29370
|
-
class
|
|
29370
|
+
class c9 extends eP {
|
|
29371
29371
|
constructor(t = {}, n) {
|
|
29372
29372
|
t = Ge(t), t.viewport = K1.desktop, typeof t.displayType > "u" && (t.displayType = B1.TAB_1), super(t, n);
|
|
29373
29373
|
}
|
|
@@ -29413,28 +29413,28 @@ const tP = () => new V7(S2.titles, nT1, {
|
|
|
29413
29413
|
...rs,
|
|
29414
29414
|
fontSize: lT1,
|
|
29415
29415
|
lineHeight: g3,
|
|
29416
|
-
fontFamily: A2[
|
|
29416
|
+
fontFamily: A2[G2].name
|
|
29417
29417
|
}
|
|
29418
29418
|
}), nP = () => new V7(S2.headings, iT1, {
|
|
29419
29419
|
style: {
|
|
29420
29420
|
...rs,
|
|
29421
29421
|
fontSize: Xm,
|
|
29422
29422
|
lineHeight: O4,
|
|
29423
|
-
fontFamily: A2[
|
|
29423
|
+
fontFamily: A2[G2].name
|
|
29424
29424
|
}
|
|
29425
29425
|
}), iP = () => new V7(S2.paragraphs, oT1, {
|
|
29426
29426
|
style: {
|
|
29427
29427
|
...rs,
|
|
29428
29428
|
fontSize: R5,
|
|
29429
29429
|
lineHeight: N2,
|
|
29430
|
-
fontFamily: A2[
|
|
29430
|
+
fontFamily: A2[G2].name
|
|
29431
29431
|
}
|
|
29432
29432
|
}), oP = () => new V7(S2.buttons, sT1, {
|
|
29433
29433
|
style: {
|
|
29434
29434
|
...rs,
|
|
29435
29435
|
fontSize: R5,
|
|
29436
29436
|
lineHeight: N2,
|
|
29437
|
-
fontFamily: A2[
|
|
29437
|
+
fontFamily: A2[G2].name
|
|
29438
29438
|
}
|
|
29439
29439
|
}), AT1 = () => ({
|
|
29440
29440
|
[S2.titles]: tP(),
|
|
@@ -29449,11 +29449,11 @@ class Mo {
|
|
|
29449
29449
|
static GetDefaultTextStyle() {
|
|
29450
29450
|
return new Mo({
|
|
29451
29451
|
style: { color: d2.LogoTextColor },
|
|
29452
|
-
textFontFamily:
|
|
29452
|
+
textFontFamily: G2
|
|
29453
29453
|
});
|
|
29454
29454
|
}
|
|
29455
29455
|
constructor(t = {}) {
|
|
29456
|
-
this.style = t.style || {}, this.textFontFamily = t.textFontFamily ||
|
|
29456
|
+
this.style = t.style || {}, this.textFontFamily = t.textFontFamily || G2, this.textStyleOptions = t.textStyleOptions ? {
|
|
29457
29457
|
[S2.titles]: new V7(
|
|
29458
29458
|
S2.titles,
|
|
29459
29459
|
Q3("titles"),
|
|
@@ -29594,17 +29594,17 @@ class lg {
|
|
|
29594
29594
|
}, this.personalisationRole = t.personalisationRole, this.media = t.media || void 0, this.mediaOverlayStyle = t.mediaOverlayStyle;
|
|
29595
29595
|
}
|
|
29596
29596
|
}
|
|
29597
|
-
const
|
|
29597
|
+
const I9 = {
|
|
29598
29598
|
grid: "grid",
|
|
29599
29599
|
carousel: "carousel",
|
|
29600
29600
|
masonry: "masonry"
|
|
29601
29601
|
}, BT1 = Object.freeze(
|
|
29602
|
-
Object.keys(
|
|
29602
|
+
Object.keys(I9)
|
|
29603
29603
|
);
|
|
29604
29604
|
class rP {
|
|
29605
29605
|
galleryType;
|
|
29606
29606
|
constructor(t = {}) {
|
|
29607
|
-
this.galleryType = t.galleryType ||
|
|
29607
|
+
this.galleryType = t.galleryType || I9.grid;
|
|
29608
29608
|
}
|
|
29609
29609
|
}
|
|
29610
29610
|
class Yn {
|
|
@@ -29737,14 +29737,14 @@ class aP {
|
|
|
29737
29737
|
}
|
|
29738
29738
|
class Wt extends aP {
|
|
29739
29739
|
constructor(t = {}) {
|
|
29740
|
-
t = Ge(t), t.viewport = K1.desktop, typeof t.displayStyle > "u" && (t.displayStyle = s2.DESKTOP_TAB_5, t.navigation = new
|
|
29740
|
+
t = Ge(t), t.viewport = K1.desktop, typeof t.displayStyle > "u" && (t.displayStyle = s2.DESKTOP_TAB_5, t.navigation = new c9({
|
|
29741
29741
|
displayType: B1.TAB_1
|
|
29742
|
-
})), typeof t.navigation > "u" && (t.navigation = new
|
|
29742
|
+
})), typeof t.navigation > "u" && (t.navigation = new c9()), super(t);
|
|
29743
29743
|
}
|
|
29744
29744
|
}
|
|
29745
29745
|
class Xn extends aP {
|
|
29746
29746
|
constructor(t = {}) {
|
|
29747
|
-
t = Ge(t), t.viewport = K1.mobile, typeof t.displayStyle > "u" && (t.displayStyle = s2.MOBILE_TAB_1, t.navigation = new
|
|
29747
|
+
t = Ge(t), t.viewport = K1.mobile, typeof t.displayStyle > "u" && (t.displayStyle = s2.MOBILE_TAB_1, t.navigation = new c9({
|
|
29748
29748
|
displayType: B1.TAB_1
|
|
29749
29749
|
})), typeof t.navigation > "u" && (t.navigation = new q7()), super(t);
|
|
29750
29750
|
}
|
|
@@ -29843,6 +29843,9 @@ class ls extends lP {
|
|
|
29843
29843
|
class v7 {
|
|
29844
29844
|
// Model version
|
|
29845
29845
|
v;
|
|
29846
|
+
// AI personalisation key persisted with the draft so previews survive login/checkout-back/
|
|
29847
|
+
// refresh - content is retrieved by this token (user-agnostic), not regenerated (bp-5742).
|
|
29848
|
+
userPromptContentKey;
|
|
29846
29849
|
styles;
|
|
29847
29850
|
/** @deprecated */
|
|
29848
29851
|
headerStyles;
|
|
@@ -29887,7 +29890,7 @@ class v7 {
|
|
|
29887
29890
|
displayType: "tabs"
|
|
29888
29891
|
}), this.headerStyles = new Wt({
|
|
29889
29892
|
...t.headerStyles,
|
|
29890
|
-
navigation: new
|
|
29893
|
+
navigation: new c9(i, n)
|
|
29891
29894
|
}), this.headerStyles.logoImageUrl = t.headerStyles.logoImageUrl;
|
|
29892
29895
|
}
|
|
29893
29896
|
t.footerStyles && (this.footerStyles = new Hn({
|
|
@@ -29900,7 +29903,7 @@ class v7 {
|
|
|
29900
29903
|
)
|
|
29901
29904
|
}), this.pageHeaderDesktop = new Wt({
|
|
29902
29905
|
...t.pageHeaderDesktop,
|
|
29903
|
-
navigation: new
|
|
29906
|
+
navigation: new c9(
|
|
29904
29907
|
t.pageHeaderDesktop?.navigation,
|
|
29905
29908
|
n
|
|
29906
29909
|
)
|
|
@@ -30475,7 +30478,7 @@ function ZT1() {
|
|
|
30475
30478
|
return ip = w, ip;
|
|
30476
30479
|
}
|
|
30477
30480
|
var FT1 = ZT1();
|
|
30478
|
-
const _3 = /* @__PURE__ */
|
|
30481
|
+
const _3 = /* @__PURE__ */ p9(FT1);
|
|
30479
30482
|
function cP(e, t) {
|
|
30480
30483
|
return function() {
|
|
30481
30484
|
return e.apply(t, arguments);
|
|
@@ -30484,11 +30487,11 @@ function cP(e, t) {
|
|
|
30484
30487
|
const { toString: UT1 } = Object.prototype, { getPrototypeOf: Cy } = Object, { iterator: tC, toStringTag: CP } = Symbol, nC = /* @__PURE__ */ ((e) => (t) => {
|
|
30485
30488
|
const n = UT1.call(t);
|
|
30486
30489
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
30487
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
30490
|
+
})(/* @__PURE__ */ Object.create(null)), f9 = (e) => (e = e.toLowerCase(), (t) => nC(t) === e), iC = (e) => (t) => typeof t === e, { isArray: Jn } = Array, In = iC("undefined");
|
|
30488
30491
|
function ds(e) {
|
|
30489
30492
|
return e !== null && !In(e) && e.constructor !== null && !In(e.constructor) && P5(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
30490
30493
|
}
|
|
30491
|
-
const uP =
|
|
30494
|
+
const uP = f9("ArrayBuffer");
|
|
30492
30495
|
function zT1(e) {
|
|
30493
30496
|
let t;
|
|
30494
30497
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && uP(e.buffer), t;
|
|
@@ -30506,16 +30509,16 @@ const qT1 = iC("string"), P5 = iC("function"), pP = iC("number"), cs = (e) => e
|
|
|
30506
30509
|
} catch {
|
|
30507
30510
|
return !1;
|
|
30508
30511
|
}
|
|
30509
|
-
}, WT1 =
|
|
30512
|
+
}, WT1 = f9("Date"), KT1 = f9("File"), YT1 = f9("Blob"), XT1 = f9("FileList"), JT1 = (e) => cs(e) && P5(e.pipe), QT1 = (e) => {
|
|
30510
30513
|
let t;
|
|
30511
30514
|
return e && (typeof FormData == "function" && e instanceof FormData || P5(e.append) && ((t = nC(e)) === "formdata" || // detect form-data instance
|
|
30512
30515
|
t === "object" && P5(e.toString) && e.toString() === "[object FormData]"));
|
|
30513
|
-
}, eV1 =
|
|
30516
|
+
}, eV1 = f9("URLSearchParams"), [tV1, nV1, iV1, oV1] = [
|
|
30514
30517
|
"ReadableStream",
|
|
30515
30518
|
"Request",
|
|
30516
30519
|
"Response",
|
|
30517
30520
|
"Headers"
|
|
30518
|
-
].map(
|
|
30521
|
+
].map(f9), sV1 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
30519
30522
|
function Cs(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30520
30523
|
if (e === null || typeof e > "u")
|
|
30521
30524
|
return;
|
|
@@ -30619,9 +30622,9 @@ const rV1 = (e, t, n, { allOwnKeys: i } = {}) => (Cs(
|
|
|
30619
30622
|
for (; (n = e.exec(t)) !== null; )
|
|
30620
30623
|
i.push(n);
|
|
30621
30624
|
return i;
|
|
30622
|
-
}, hV1 =
|
|
30625
|
+
}, hV1 = f9("HTMLFormElement"), gV1 = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, i, o) {
|
|
30623
30626
|
return i.toUpperCase() + o;
|
|
30624
|
-
}), FS = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mV1 =
|
|
30627
|
+
}), FS = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mV1 = f9("RegExp"), gP = (e, t) => {
|
|
30625
30628
|
const n = Object.getOwnPropertyDescriptors(e), i = {};
|
|
30626
30629
|
Cs(n, (o, s) => {
|
|
30627
30630
|
let r;
|
|
@@ -30673,7 +30676,7 @@ const _V1 = (e) => {
|
|
|
30673
30676
|
return i;
|
|
30674
30677
|
};
|
|
30675
30678
|
return n(e, 0);
|
|
30676
|
-
}, MV1 =
|
|
30679
|
+
}, MV1 = f9("AsyncFunction"), kV1 = (e) => e && (cs(e) || P5(e)) && P5(e.then) && P5(e.catch), mP = ((e, t) => e ? setImmediate : t ? ((n, i) => (St.addEventListener(
|
|
30677
30680
|
"message",
|
|
30678
30681
|
({ source: o, data: s }) => {
|
|
30679
30682
|
o === St && s === n && i.length && i.shift()();
|
|
@@ -30715,7 +30718,7 @@ const _V1 = (e) => {
|
|
|
30715
30718
|
inherits: lV1,
|
|
30716
30719
|
toFlatObject: dV1,
|
|
30717
30720
|
kindOf: nC,
|
|
30718
|
-
kindOfTest:
|
|
30721
|
+
kindOfTest: f9,
|
|
30719
30722
|
endsWith: cV1,
|
|
30720
30723
|
toArray: CV1,
|
|
30721
30724
|
forEachEntry: pV1,
|
|
@@ -32385,7 +32388,7 @@ function EP() {
|
|
|
32385
32388
|
})(mr, mr.exports)), mr.exports;
|
|
32386
32389
|
}
|
|
32387
32390
|
var bx1 = /* @__PURE__ */ EP();
|
|
32388
|
-
const vx1 = /* @__PURE__ */
|
|
32391
|
+
const vx1 = /* @__PURE__ */ p9(bx1), hg = {
|
|
32389
32392
|
aliceblue: [240, 248, 255],
|
|
32390
32393
|
antiquewhite: [250, 235, 215],
|
|
32391
32394
|
aqua: [0, 255, 255],
|
|
@@ -33760,7 +33763,7 @@ function Ox1() {
|
|
|
33760
33763
|
V = y6(V, "hsi");
|
|
33761
33764
|
var R = V[0], W = V[1], o1 = V[2], c1, J, m1;
|
|
33762
33765
|
return isNaN(R) && (R = 0), isNaN(W) && (W = 0), R > 360 && (R -= 360), R < 0 && (R += 360), R /= 360, R < 1 / 3 ? (m1 = (1 - W) / 3, c1 = (1 + W * a5(Qe * R) / a5(q6 - Qe * R)) / 3, J = 1 - (m1 + c1)) : R < 2 / 3 ? (R -= 1 / 3, c1 = (1 - W) / 3, J = (1 + W * a5(Qe * R) / a5(q6 - Qe * R)) / 3, m1 = 1 - (c1 + J)) : (R -= 2 / 3, J = (1 - W) / 3, m1 = (1 + W * a5(Qe * R) / a5(q6 - Qe * R)) / 3, c1 = 1 - (J + m1)), c1 = y3(o1 * c1 * 3), J = y3(o1 * J * 3), m1 = y3(o1 * m1 * 3), [c1 * 255, J * 255, m1 * 255, V.length > 3 ? V[3] : 1];
|
|
33763
|
-
}, C8 = o7,
|
|
33766
|
+
}, C8 = o7, b9 = y.unpack, GC = y.type, Ci = Z, Os = H, Ds = w, jC = Q5;
|
|
33764
33767
|
Os.prototype.hsi = function() {
|
|
33765
33768
|
return jC(this._rgb);
|
|
33766
33769
|
}, Ci.hsi = function() {
|
|
@@ -33770,7 +33773,7 @@ function Ox1() {
|
|
|
33770
33773
|
p: 2,
|
|
33771
33774
|
test: function() {
|
|
33772
33775
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33773
|
-
if (V =
|
|
33776
|
+
if (V = b9(V, "hsi"), GC(V) === "array" && V.length === 3)
|
|
33774
33777
|
return "hsi";
|
|
33775
33778
|
}
|
|
33776
33779
|
});
|
|
@@ -33824,12 +33827,12 @@ function Ox1() {
|
|
|
33824
33827
|
}
|
|
33825
33828
|
}
|
|
33826
33829
|
return [v2, e2, x2, J.length > 3 ? J[3] : 1];
|
|
33827
|
-
}, nu = tu, iu = y.unpack, ou = y.type, Zs = Z,
|
|
33828
|
-
|
|
33830
|
+
}, nu = tu, iu = y.unpack, ou = y.type, Zs = Z, v9 = H, Fs = w, Us = u8;
|
|
33831
|
+
v9.prototype.hsv = function() {
|
|
33829
33832
|
return Us(this._rgb);
|
|
33830
33833
|
}, Zs.hsv = function() {
|
|
33831
33834
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33832
|
-
return new (Function.prototype.bind.apply(
|
|
33835
|
+
return new (Function.prototype.bind.apply(v9, [null].concat(V, ["hsv"])))();
|
|
33833
33836
|
}, Fs.format.hsv = nu, Fs.autodetect.push({
|
|
33834
33837
|
p: 2,
|
|
33835
33838
|
test: function() {
|
|
@@ -33853,27 +33856,27 @@ function Ox1() {
|
|
|
33853
33856
|
// 3 * t1 * t1
|
|
33854
33857
|
t3: 8856452e-9
|
|
33855
33858
|
// t1 * t1 * t1
|
|
33856
|
-
},
|
|
33859
|
+
}, S9 = b0, zs = y.unpack, qs = Math.pow, su = function() {
|
|
33857
33860
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33858
33861
|
var R = zs(V, "rgb"), W = R[0], o1 = R[1], c1 = R[2], J = S0(W, o1, c1), m1 = J[0], b1 = J[1], Z1 = J[2], J1 = 116 * b1 - 16;
|
|
33859
33862
|
return [J1 < 0 ? 0 : J1, 500 * (m1 - b1), 200 * (b1 - Z1)];
|
|
33860
33863
|
}, v0 = function(V) {
|
|
33861
33864
|
return (V /= 255) <= 0.04045 ? V / 12.92 : qs((V + 0.055) / 1.055, 2.4);
|
|
33862
33865
|
}, pi = function(V) {
|
|
33863
|
-
return V >
|
|
33866
|
+
return V > S9.t3 ? qs(V, 1 / 3) : V / S9.t2 + S9.t0;
|
|
33864
33867
|
}, S0 = function(V, A, R) {
|
|
33865
33868
|
V = v0(V), A = v0(A), R = v0(R);
|
|
33866
|
-
var W = pi((0.4124564 * V + 0.3575761 * A + 0.1804375 * R) /
|
|
33869
|
+
var W = pi((0.4124564 * V + 0.3575761 * A + 0.1804375 * R) / S9.Xn), o1 = pi((0.2126729 * V + 0.7151522 * A + 0.072175 * R) / S9.Yn), c1 = pi((0.0193339 * V + 0.119192 * A + 0.9503041 * R) / S9.Zn);
|
|
33867
33870
|
return [W, o1, c1];
|
|
33868
|
-
}, Gs = su,
|
|
33871
|
+
}, Gs = su, _9 = b0, ru = y.unpack, au = Math.pow, z = function() {
|
|
33869
33872
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33870
33873
|
V = ru(V, "lab");
|
|
33871
33874
|
var R = V[0], W = V[1], o1 = V[2], c1, J, m1, b1, Z1, J1;
|
|
33872
|
-
return J = (R + 16) / 116, c1 = isNaN(W) ? J : J + W / 500, m1 = isNaN(o1) ? J : J - o1 / 200, J =
|
|
33875
|
+
return J = (R + 16) / 116, c1 = isNaN(W) ? J : J + W / 500, m1 = isNaN(o1) ? J : J - o1 / 200, J = _9.Yn * z1(J), c1 = _9.Xn * z1(c1), m1 = _9.Zn * z1(m1), b1 = k1(3.2404542 * c1 - 1.5371385 * J - 0.4985314 * m1), Z1 = k1(-0.969266 * c1 + 1.8760108 * J + 0.041556 * m1), J1 = k1(0.0556434 * c1 - 0.2040259 * J + 1.0572252 * m1), [b1, Z1, J1, V.length > 3 ? V[3] : 1];
|
|
33873
33876
|
}, k1 = function(V) {
|
|
33874
33877
|
return 255 * (V <= 304e-5 ? 12.92 * V : 1.055 * au(V, 1 / 2.4) - 0.055);
|
|
33875
33878
|
}, z1 = function(V) {
|
|
33876
|
-
return V >
|
|
33879
|
+
return V > _9.t1 ? V * V * V : _9.t2 * (V - _9.t0);
|
|
33877
33880
|
}, E2 = z, X3 = y.unpack, Z4 = y.type, G6 = Z, S4 = H, fi = w, r7 = Gs;
|
|
33878
33881
|
S4.prototype.lab = function() {
|
|
33879
33882
|
return r7(this._rgb);
|
|
@@ -34930,7 +34933,7 @@ function Ox1() {
|
|
|
34930
34933
|
})(Kl)), Kl.exports;
|
|
34931
34934
|
}
|
|
34932
34935
|
var Dx1 = Ox1();
|
|
34933
|
-
const c_ = /* @__PURE__ */
|
|
34936
|
+
const c_ = /* @__PURE__ */ p9(Dx1), vg = Object.freeze(["id", "type", "role"]), Nx1 = Object.freeze([
|
|
34934
34937
|
"responseEmail",
|
|
34935
34938
|
"logoImageUrl"
|
|
34936
34939
|
]), $d = /^(https?):\/\/(.*)$/i, OP = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/, rC = "side-bar-content", Rx1 = (e) => (t) => ({
|
|
@@ -34943,7 +34946,7 @@ const c_ = /* @__PURE__ */ f9(Dx1), vg = Object.freeze(["id", "type", "role"]),
|
|
|
34943
34946
|
isEnabled: typeof t.isEnabled == "function" ? t.isEnabled(e) : t.isEnabled,
|
|
34944
34947
|
isLocked: typeof t.isLocked == "function" ? t.isLocked(e) : !1
|
|
34945
34948
|
}), C_ = (e, t) => {
|
|
34946
|
-
const n =
|
|
34949
|
+
const n = B9()[e.type], i = Object.assign(
|
|
34947
34950
|
n.createInitialContent(t),
|
|
34948
34951
|
e
|
|
34949
34952
|
), o = Object.keys(
|
|
@@ -35010,7 +35013,7 @@ const c_ = /* @__PURE__ */ f9(Dx1), vg = Object.freeze(["id", "type", "role"]),
|
|
|
35010
35013
|
for (; o.has(s); )
|
|
35011
35014
|
s += 1;
|
|
35012
35015
|
return s > 1 && (n = `${i.slugComponent}-${s}`), n;
|
|
35013
|
-
}, Pn = (e) => `${parseFloat(e) / 16}em`,
|
|
35016
|
+
}, Pn = (e) => `${parseFloat(e) / 16}em`, E9 = (e) => `${parseFloat(e) * 16}`, NP = 1, u0 = "%0A", p_ = "rgba(0,0,0,0.5)", jx1 = 5;
|
|
35014
35017
|
const {
|
|
35015
35018
|
entries: RP,
|
|
35016
35019
|
setPrototypeOf: f_,
|
|
@@ -35077,10 +35080,10 @@ function nH1(e) {
|
|
|
35077
35080
|
e9(e, t) || (e[t] = null);
|
|
35078
35081
|
return e;
|
|
35079
35082
|
}
|
|
35080
|
-
function
|
|
35083
|
+
function T9(e) {
|
|
35081
35084
|
const t = _g(null);
|
|
35082
35085
|
for (const [n, i] of RP(e))
|
|
35083
|
-
e9(e, n) && (Array.isArray(i) ? t[n] = nH1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] =
|
|
35086
|
+
e9(e, n) && (Array.isArray(i) ? t[n] = nH1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = T9(i) : t[n] = i);
|
|
35084
35087
|
return t;
|
|
35085
35088
|
}
|
|
35086
35089
|
function xi(e, t) {
|
|
@@ -35264,8 +35267,8 @@ function UP() {
|
|
|
35264
35267
|
}, s5 = function() {
|
|
35265
35268
|
let s1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
35266
35269
|
if (!(w5 && w5 === s1)) {
|
|
35267
|
-
if ((!s1 || typeof s1 != "object") && (s1 = {}), s1 =
|
|
35268
|
-
Y5.indexOf(s1.PARSER_MEDIA_TYPE) === -1 ? g6 : s1.PARSER_MEDIA_TYPE, Ae = B3 === "application/xhtml+xml" ? lp : Yl, a1 = e9(s1, "ALLOWED_TAGS") ? ye({}, s1.ALLOWED_TAGS, Ae) : U1, F1 = e9(s1, "ALLOWED_ATTR") ? ye({}, s1.ALLOWED_ATTR, Ae) : H1, h2 = e9(s1, "ALLOWED_NAMESPACES") ? ye({}, s1.ALLOWED_NAMESPACES, lp) : r2, j1 = e9(s1, "ADD_URI_SAFE_ATTR") ? ye(
|
|
35270
|
+
if ((!s1 || typeof s1 != "object") && (s1 = {}), s1 = T9(s1), B3 = // eslint-disable-next-line unicorn/prefer-includes
|
|
35271
|
+
Y5.indexOf(s1.PARSER_MEDIA_TYPE) === -1 ? g6 : s1.PARSER_MEDIA_TYPE, Ae = B3 === "application/xhtml+xml" ? lp : Yl, a1 = e9(s1, "ALLOWED_TAGS") ? ye({}, s1.ALLOWED_TAGS, Ae) : U1, F1 = e9(s1, "ALLOWED_ATTR") ? ye({}, s1.ALLOWED_ATTR, Ae) : H1, h2 = e9(s1, "ALLOWED_NAMESPACES") ? ye({}, s1.ALLOWED_NAMESPACES, lp) : r2, j1 = e9(s1, "ADD_URI_SAFE_ATTR") ? ye(T9(C2), s1.ADD_URI_SAFE_ATTR, Ae) : C2, we = e9(s1, "ADD_DATA_URI_TAGS") ? ye(T9(M1), s1.ADD_DATA_URI_TAGS, Ae) : M1, y2 = e9(s1, "FORBID_CONTENTS") ? ye({}, s1.FORBID_CONTENTS, Ae) : te, x1 = e9(s1, "FORBID_TAGS") ? ye({}, s1.FORBID_TAGS, Ae) : T9({}), O1 = e9(s1, "FORBID_ATTR") ? ye({}, s1.FORBID_ATTR, Ae) : T9({}), u2 = e9(s1, "USE_PROFILES") ? s1.USE_PROFILES : !1, m2 = s1.ALLOW_ARIA_ATTR !== !1, P2 = s1.ALLOW_DATA_ATTR !== !1, U2 = s1.ALLOW_UNKNOWN_PROTOCOLS || !1, R2 = s1.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $2 = s1.SAFE_FOR_TEMPLATES || !1, se = s1.SAFE_FOR_XML !== !1, xe = s1.WHOLE_DOCUMENT || !1, X = s1.RETURN_DOM || !1, y1 = s1.RETURN_DOM_FRAGMENT || !1, D1 = s1.RETURN_TRUSTED_TYPE || !1, K = s1.FORCE_BODY || !1, L1 = s1.SANITIZE_DOM !== !1, E1 = s1.SANITIZE_NAMED_PROPS || !1, h1 = s1.KEEP_CONTENT !== !1, Q1 = s1.IN_PLACE || !1, j = s1.ALLOWED_URI_REGEXP || ZP, A1 = s1.NAMESPACE || a2, Me = s1.MATHML_TEXT_INTEGRATION_POINTS || Me, t3 = s1.HTML_INTEGRATION_POINTS || t3, g1 = s1.CUSTOM_ELEMENT_HANDLING || {}, s1.CUSTOM_ELEMENT_HANDLING && b5(s1.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (g1.tagNameCheck = s1.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s1.CUSTOM_ELEMENT_HANDLING && b5(s1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (g1.attributeNameCheck = s1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s1.CUSTOM_ELEMENT_HANDLING && typeof s1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (g1.allowCustomizedBuiltInElements = s1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $2 && (P2 = !1), y1 && (X = !0), u2 && (a1 = ye({}, m_), F1 = [], u2.html === !0 && (ye(a1, g_), ye(F1, y_)), u2.svg === !0 && (ye(a1, cp), ye(F1, pp), ye(F1, Sr)), u2.svgFilters === !0 && (ye(a1, Cp), ye(F1, pp), ye(F1, Sr)), u2.mathMl === !0 && (ye(a1, up), ye(F1, w_), ye(F1, Sr))), s1.ADD_TAGS && (typeof s1.ADD_TAGS == "function" ? R1.tagCheck = s1.ADD_TAGS : (a1 === U1 && (a1 = T9(a1)), ye(a1, s1.ADD_TAGS, Ae))), s1.ADD_ATTR && (typeof s1.ADD_ATTR == "function" ? R1.attributeCheck = s1.ADD_ATTR : (F1 === H1 && (F1 = T9(F1)), ye(F1, s1.ADD_ATTR, Ae))), s1.ADD_URI_SAFE_ATTR && ye(j1, s1.ADD_URI_SAFE_ATTR, Ae), s1.FORBID_CONTENTS && (y2 === te && (y2 = T9(y2)), ye(y2, s1.FORBID_CONTENTS, Ae)), s1.ADD_FORBID_CONTENTS && (y2 === te && (y2 = T9(y2)), ye(y2, s1.ADD_FORBID_CONTENTS, Ae)), h1 && (a1["#text"] = !0), xe && ye(a1, ["html", "head", "body"]), a1.table && (ye(a1, ["tbody"]), delete x1.tbody), s1.TRUSTED_TYPES_POLICY) {
|
|
35269
35272
|
if (typeof s1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
35270
35273
|
throw Vi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
35271
35274
|
if (typeof s1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -36183,7 +36186,7 @@ const TH1 = () => (hp || (hp = hH1), hp), VH1 = (e) => HH1(e, TH1()), xH1 = (e)
|
|
|
36183
36186
|
'applyLogoThemeToBrandPageNavigationStyles: Must provide "navigation"'
|
|
36184
36187
|
);
|
|
36185
36188
|
let n = !1;
|
|
36186
|
-
const o = t.viewport === K1.mobile ? new q7() : new
|
|
36189
|
+
const o = t.viewport === K1.mobile ? new q7() : new c9();
|
|
36187
36190
|
for (const [s, r] of Object.entries(t))
|
|
36188
36191
|
if (typeof r == "string" || typeof r == "boolean")
|
|
36189
36192
|
if (typeof r == "string") {
|
|
@@ -37099,7 +37102,7 @@ function VI1() {
|
|
|
37099
37102
|
return gf = t, gf;
|
|
37100
37103
|
}
|
|
37101
37104
|
var xI1 = VI1();
|
|
37102
|
-
const mf = /* @__PURE__ */
|
|
37105
|
+
const mf = /* @__PURE__ */ p9(xI1), QP = (e) => {
|
|
37103
37106
|
if (!document || Array.from(
|
|
37104
37107
|
document.querySelectorAll('head link[rel="stylesheet"]')
|
|
37105
37108
|
).some((i) => i.getAttribute("href") === e))
|
|
@@ -37302,7 +37305,7 @@ const mf = /* @__PURE__ */ f9(xI1), QP = (e) => {
|
|
|
37302
37305
|
return t;
|
|
37303
37306
|
const i = hA(e.displayStyle) ? DS.ULTRA_HD : DS.FULL_HD;
|
|
37304
37307
|
return `${t}${i}`;
|
|
37305
|
-
}, hA = (e) => e ===
|
|
37308
|
+
}, hA = (e) => e === l9 || e === Vn || e === m3 || e === jt, hC = (e, t, n) => {
|
|
37306
37309
|
const i = ky(t.buttonStyles), o = {
|
|
37307
37310
|
iconStyle: t.buttonStyles.iconStyle,
|
|
37308
37311
|
style: {
|
|
@@ -37820,7 +37823,7 @@ const mf = /* @__PURE__ */ f9(xI1), QP = (e) => {
|
|
|
37820
37823
|
defaultButtonStyle: l,
|
|
37821
37824
|
selectedButtonStyle: u,
|
|
37822
37825
|
hamburgerMenuStyle: b
|
|
37823
|
-
}) : new
|
|
37826
|
+
}) : new c9({
|
|
37824
37827
|
...e.navigation,
|
|
37825
37828
|
defaultButtonStyle: l,
|
|
37826
37829
|
selectedButtonStyle: u,
|
|
@@ -42771,7 +42774,7 @@ function BP1() {
|
|
|
42771
42774
|
if (a5.has(Qe)) return a5.get(Qe);
|
|
42772
42775
|
a5.set(Qe, C8);
|
|
42773
42776
|
}
|
|
42774
|
-
for (var
|
|
42777
|
+
for (var b9 in Qe) b9 !== "default" && {}.hasOwnProperty.call(Qe, b9) && ((o7 = (a5 = Object.defineProperty) && Object.getOwnPropertyDescriptor(Qe, b9)) && (o7.get || o7.set) ? a5(C8, b9, o7) : C8[b9] = Qe[b9]);
|
|
42775
42778
|
return C8;
|
|
42776
42779
|
})(n3, L3);
|
|
42777
42780
|
}
|
|
@@ -42896,7 +42899,7 @@ function BP1() {
|
|
|
42896
42899
|
})(_r, _r.exports)), _r.exports;
|
|
42897
42900
|
}
|
|
42898
42901
|
var Ey = /* @__PURE__ */ BP1();
|
|
42899
|
-
const OP1 = /* @__PURE__ */
|
|
42902
|
+
const OP1 = /* @__PURE__ */ p9(Ey), Py = (e) => typeof e == "string" || e instanceof String, K4 = (e, t) => Py(e) && Ey.isURL(e, t), D6 = (e) => Py(e) && Ey.isEmail(e), q8 = (e) => {
|
|
42900
42903
|
const t = /^[0-9*+-\s]+$/;
|
|
42901
42904
|
return e.match(t) && e.length >= 3 && e.length <= 18;
|
|
42902
42905
|
}, DP1 = (e, t) => Py(e) && e.length <= t, Ay = (e) => {
|
|
@@ -44125,13 +44128,13 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44125
44128
|
} else n.text !== "" && n.textItems[0].text === "" && (n.textItems[0].text = n.text, n.textItems[0].textStyle = {
|
|
44126
44129
|
...n.textStyle,
|
|
44127
44130
|
textAlign: n.textStyle?.textAlign || Ve,
|
|
44128
|
-
fontFamily: n.textStyle?.fontFamily || A2[
|
|
44131
|
+
fontFamily: n.textStyle?.fontFamily || A2[G2].name
|
|
44129
44132
|
});
|
|
44130
44133
|
n.textItems.forEach((i) => {
|
|
44131
44134
|
i.textStyle = {
|
|
44132
44135
|
...i.textStyle,
|
|
44133
44136
|
textAlign: i.textStyle?.textAlign || "left",
|
|
44134
|
-
fontFamily: i.textStyle?.fontFamily || A2[
|
|
44137
|
+
fontFamily: i.textStyle?.fontFamily || A2[G2].name,
|
|
44135
44138
|
lineHeight: i.textStyle?.lineHeight?.includes("rem") ? N2 : i.textStyle?.lineHeight || N2
|
|
44136
44139
|
};
|
|
44137
44140
|
}), n.text = "";
|
|
@@ -44139,7 +44142,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44139
44142
|
n.textStyle = {
|
|
44140
44143
|
...n.textStyle,
|
|
44141
44144
|
textAlign: n.textStyle?.textAlign || Ve,
|
|
44142
|
-
fontFamily: n.textStyle?.fontFamily || A2[
|
|
44145
|
+
fontFamily: n.textStyle?.fontFamily || A2[G2].name,
|
|
44143
44146
|
lineHeight: n.textStyle?.lineHeight?.includes("rem") ? N2 : n.textStyle?.lineHeight || N2
|
|
44144
44147
|
};
|
|
44145
44148
|
});
|
|
@@ -44151,17 +44154,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44151
44154
|
n.titleStyle = {
|
|
44152
44155
|
...n.titleStyle,
|
|
44153
44156
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44154
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44157
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44155
44158
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? N2 : n.titleStyle?.lineHeight || N2
|
|
44156
44159
|
}, n.nameStyle = {
|
|
44157
44160
|
...n.nameStyle,
|
|
44158
44161
|
textAlign: n.nameStyle?.textAlign || Ve,
|
|
44159
|
-
fontFamily: n.nameStyle?.fontFamily || A2[
|
|
44162
|
+
fontFamily: n.nameStyle?.fontFamily || A2[G2].name,
|
|
44160
44163
|
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ? O4 : n.nameStyle?.lineHeight || O4
|
|
44161
44164
|
}, n.descriptionStyle = {
|
|
44162
44165
|
...n.descriptionStyle,
|
|
44163
44166
|
textAlign: n.descriptionStyle?.textAlign || Ve,
|
|
44164
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44167
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[G2].name,
|
|
44165
44168
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44166
44169
|
};
|
|
44167
44170
|
});
|
|
@@ -44173,12 +44176,12 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44173
44176
|
n.titleStyle = {
|
|
44174
44177
|
...n.titleStyle,
|
|
44175
44178
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44176
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44179
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44177
44180
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? O4 : n.titleStyle?.lineHeight || O4
|
|
44178
44181
|
}, n.buttonTextStyle = {
|
|
44179
44182
|
...n.buttonTextStyle,
|
|
44180
44183
|
textAlign: n.buttonTextStyle?.textAlign || Ve,
|
|
44181
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44184
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[G2].name,
|
|
44182
44185
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44183
44186
|
};
|
|
44184
44187
|
});
|
|
@@ -44190,27 +44193,27 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44190
44193
|
n.titleStyle = {
|
|
44191
44194
|
...n.titleStyle,
|
|
44192
44195
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44193
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44196
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44194
44197
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? O4 : n.titleStyle?.lineHeight || O4
|
|
44195
44198
|
}, n.headingStyle = {
|
|
44196
44199
|
...n.headingStyle,
|
|
44197
44200
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44198
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44201
|
+
fontFamily: n.headingStyle?.fontFamily || A2[G2].name,
|
|
44199
44202
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? N2 : n.headingStyle?.lineHeight || N2
|
|
44200
44203
|
}, n.descriptionStyle = {
|
|
44201
44204
|
...n.descriptionStyle,
|
|
44202
44205
|
textAlign: n.descriptionStyle?.textAlign || Ve,
|
|
44203
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44206
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[G2].name,
|
|
44204
44207
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44205
44208
|
}, n.buttonTextStyle = {
|
|
44206
44209
|
...n.buttonTextStyle,
|
|
44207
44210
|
textAlign: n.buttonTextStyle?.textAlign || Ve,
|
|
44208
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44211
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[G2].name,
|
|
44209
44212
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44210
44213
|
}, n.itemTextStyle = {
|
|
44211
44214
|
...n.itemTextStyle,
|
|
44212
44215
|
textAlign: n.itemTextStyle?.textAlign || Ve,
|
|
44213
|
-
fontFamily: n.itemTextStyle?.fontFamily || A2[
|
|
44216
|
+
fontFamily: n.itemTextStyle?.fontFamily || A2[G2].name,
|
|
44214
44217
|
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? N2 : n.itemTextStyle?.lineHeight || N2
|
|
44215
44218
|
};
|
|
44216
44219
|
});
|
|
@@ -44222,7 +44225,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44222
44225
|
n.titleStyle = {
|
|
44223
44226
|
...n.titleStyle,
|
|
44224
44227
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44225
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44228
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44226
44229
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? N2 : n.titleStyle?.lineHeight || N2
|
|
44227
44230
|
};
|
|
44228
44231
|
});
|
|
@@ -44232,20 +44235,20 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44232
44235
|
...i.contents.filter(f0)
|
|
44233
44236
|
], []).forEach((n) => {
|
|
44234
44237
|
let i = "left";
|
|
44235
|
-
(n.displayStyle === m3 || n.displayStyle ===
|
|
44238
|
+
(n.displayStyle === m3 || n.displayStyle === l9 || n.displayStyle === ze) && (i = Ve), n.titleStyle = {
|
|
44236
44239
|
...n.titleStyle,
|
|
44237
44240
|
textAlign: n.titleStyle?.textAlign || i,
|
|
44238
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44241
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44239
44242
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44240
44243
|
}, n.descriptionStyle = {
|
|
44241
44244
|
...n.descriptionStyle,
|
|
44242
44245
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
44243
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44246
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[G2].name,
|
|
44244
44247
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44245
44248
|
}, n.buttonTextStyle = {
|
|
44246
44249
|
...n.buttonTextStyle,
|
|
44247
44250
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
44248
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44251
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[G2].name,
|
|
44249
44252
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44250
44253
|
};
|
|
44251
44254
|
});
|
|
@@ -44258,7 +44261,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44258
44261
|
return;
|
|
44259
44262
|
const i = new URL(n.imageUrl);
|
|
44260
44263
|
!i.hostname.includes("unsplash.com") || ![
|
|
44261
|
-
|
|
44264
|
+
l9,
|
|
44262
44265
|
Vn,
|
|
44263
44266
|
m3,
|
|
44264
44267
|
jt
|
|
@@ -44273,12 +44276,12 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44273
44276
|
n.displayStyle === ze && (i = Ve), n.titleStyle = {
|
|
44274
44277
|
...n.titleStyle,
|
|
44275
44278
|
textAlign: n.titleStyle?.textAlign || i,
|
|
44276
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44279
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44277
44280
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44278
44281
|
}, n.paragraphStyle = {
|
|
44279
44282
|
...n.paragraphStyle,
|
|
44280
44283
|
textAlign: n.paragraphStyle?.textAlign || i,
|
|
44281
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44284
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[G2].name,
|
|
44282
44285
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44283
44286
|
};
|
|
44284
44287
|
});
|
|
@@ -44290,25 +44293,25 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44290
44293
|
)
|
|
44291
44294
|
], []).forEach((n) => {
|
|
44292
44295
|
let i = Ve;
|
|
44293
|
-
n.displayStyle ===
|
|
44296
|
+
n.displayStyle === l9 && (i = "left"), n.titleStyle = {
|
|
44294
44297
|
...n.titleStyle,
|
|
44295
44298
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44296
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44299
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44297
44300
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44298
44301
|
}, n.testimonialStyle = {
|
|
44299
44302
|
...n.testimonialStyle,
|
|
44300
44303
|
textAlign: n.testimonialStyle?.textAlign || i,
|
|
44301
|
-
fontFamily: n.testimonialStyle?.fontFamily || A2[
|
|
44304
|
+
fontFamily: n.testimonialStyle?.fontFamily || A2[G2].name,
|
|
44302
44305
|
lineHeight: n.testimonialStyle?.lineHeight?.includes("rem") ? O4 : n.testimonialStyle?.lineHeight || O4
|
|
44303
44306
|
}, n.nameStyle = {
|
|
44304
44307
|
...n.nameStyle,
|
|
44305
44308
|
textAlign: n.nameStyle?.textAlign || i,
|
|
44306
|
-
fontFamily: n.nameStyle?.fontFamily || A2[
|
|
44309
|
+
fontFamily: n.nameStyle?.fontFamily || A2[G2].name,
|
|
44307
44310
|
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ? N2 : n.nameStyle?.lineHeight || N2
|
|
44308
44311
|
}, n.positionStyle = {
|
|
44309
44312
|
...n.positionStyle,
|
|
44310
44313
|
textAlign: n.positionStyle?.textAlign || i,
|
|
44311
|
-
fontFamily: n.positionStyle?.fontFamily || A2[
|
|
44314
|
+
fontFamily: n.positionStyle?.fontFamily || A2[G2].name,
|
|
44312
44315
|
lineHeight: n.positionStyle?.lineHeight?.includes("rem") ? N2 : n.positionStyle?.lineHeight || N2
|
|
44313
44316
|
};
|
|
44314
44317
|
});
|
|
@@ -44320,17 +44323,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44320
44323
|
n.titleStyle = {
|
|
44321
44324
|
...n.titleStyle,
|
|
44322
44325
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44323
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44326
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44324
44327
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44325
44328
|
}, n.headingStyle = {
|
|
44326
44329
|
...n.headingStyle,
|
|
44327
44330
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44328
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44331
|
+
fontFamily: n.headingStyle?.fontFamily || A2[G2].name,
|
|
44329
44332
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? O4 : n.headingStyle?.lineHeight || O4
|
|
44330
44333
|
}, n.paragraphStyle = {
|
|
44331
44334
|
...n.paragraphStyle,
|
|
44332
44335
|
textAlign: n.paragraphStyle?.textAlign || Ve,
|
|
44333
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44336
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[G2].name,
|
|
44334
44337
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44335
44338
|
};
|
|
44336
44339
|
});
|
|
@@ -44342,17 +44345,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44342
44345
|
n.titleStyle = {
|
|
44343
44346
|
...n.titleStyle,
|
|
44344
44347
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44345
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44348
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44346
44349
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44347
44350
|
}, n.headingStyle = {
|
|
44348
44351
|
...n.headingStyle,
|
|
44349
44352
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44350
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44353
|
+
fontFamily: n.headingStyle?.fontFamily || A2[G2].name,
|
|
44351
44354
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? O4 : n.headingStyle?.lineHeight || O4
|
|
44352
44355
|
}, n.paragraphStyle = {
|
|
44353
44356
|
...n.paragraphStyle,
|
|
44354
44357
|
textAlign: n.paragraphStyle?.textAlign || Ve,
|
|
44355
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44358
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[G2].name,
|
|
44356
44359
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44357
44360
|
};
|
|
44358
44361
|
});
|
|
@@ -44364,7 +44367,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44364
44367
|
n.titleStyle = {
|
|
44365
44368
|
...n.titleStyle,
|
|
44366
44369
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44367
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44370
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44368
44371
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44369
44372
|
};
|
|
44370
44373
|
});
|
|
@@ -44377,7 +44380,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44377
44380
|
n.displayStyle === e3.featured && (i = Ve), n.itemTextStyle = {
|
|
44378
44381
|
...n.itemTextStyle,
|
|
44379
44382
|
textAlign: n.itemTextStyle?.textAlign || i,
|
|
44380
|
-
fontFamily: n.itemTextStyle?.fontFamily || A2[
|
|
44383
|
+
fontFamily: n.itemTextStyle?.fontFamily || A2[G2].name,
|
|
44381
44384
|
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? N2 : n.itemTextStyle?.lineHeight || N2
|
|
44382
44385
|
};
|
|
44383
44386
|
});
|
|
@@ -44389,17 +44392,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44389
44392
|
n.layoutStyle || (n.layoutStyle = ""), n.buttonText = n.buttonText || "Send", n.titleStyle = {
|
|
44390
44393
|
...n.titleStyle,
|
|
44391
44394
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44392
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44395
|
+
fontFamily: n.titleStyle?.fontFamily || A2[G2].name,
|
|
44393
44396
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44394
44397
|
}, n.descriptionStyle = {
|
|
44395
44398
|
...n.descriptionStyle,
|
|
44396
44399
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
44397
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44400
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[G2].name,
|
|
44398
44401
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44399
44402
|
}, n.buttonTextStyle = {
|
|
44400
44403
|
...n.buttonTextStyle,
|
|
44401
44404
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
44402
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44405
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[G2].name,
|
|
44403
44406
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44404
44407
|
};
|
|
44405
44408
|
});
|
|
@@ -44491,7 +44494,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44491
44494
|
e.pageHeaderDesktop = new Wt({
|
|
44492
44495
|
...e.headerStyles,
|
|
44493
44496
|
logoImage: t,
|
|
44494
|
-
navigation: new
|
|
44497
|
+
navigation: new c9(e.headerStyles.navigation)
|
|
44495
44498
|
}), e.pageHeaderMobile = new Xn({
|
|
44496
44499
|
...e.headerStyles,
|
|
44497
44500
|
logoImage: t,
|
|
@@ -44516,7 +44519,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44516
44519
|
const n = t.textStyleOptions.titles.style, i = t.textStyleOptions.headings.style, o = t.textStyleOptions.paragraphs.style, s = t.textStyleOptions.buttons.style;
|
|
44517
44520
|
e.styles.textStyles.textStyleOptions.titles.style = {
|
|
44518
44521
|
...n,
|
|
44519
|
-
fontFamily: n?.fontFamily || A2[
|
|
44522
|
+
fontFamily: n?.fontFamily || A2[G2].name,
|
|
44520
44523
|
letterSpacing: n.letterSpacing || hr,
|
|
44521
44524
|
lineHeight: n?.lineHeight?.includes("rem") ? g3 : n?.lineHeight || g3,
|
|
44522
44525
|
fontWeight: n.fontWeight || void 0,
|
|
@@ -44524,7 +44527,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44524
44527
|
textDecoration: n.textDecoration || void 0
|
|
44525
44528
|
}, e.styles.textStyles.textStyleOptions.headings.style = {
|
|
44526
44529
|
...i,
|
|
44527
|
-
fontFamily: i?.fontFamily || A2[
|
|
44530
|
+
fontFamily: i?.fontFamily || A2[G2].name,
|
|
44528
44531
|
letterSpacing: i.letterSpacing || hr,
|
|
44529
44532
|
lineHeight: i?.lineHeight?.includes("rem") ? O4 : i?.lineHeight || O4,
|
|
44530
44533
|
fontWeight: i.fontWeight || void 0,
|
|
@@ -44532,7 +44535,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44532
44535
|
textDecoration: i.textDecoration || void 0
|
|
44533
44536
|
}, e.styles.textStyles.textStyleOptions.paragraphs.style = {
|
|
44534
44537
|
...o,
|
|
44535
|
-
fontFamily: o?.fontFamily || A2[
|
|
44538
|
+
fontFamily: o?.fontFamily || A2[G2].name,
|
|
44536
44539
|
letterSpacing: o.letterSpacing || hr,
|
|
44537
44540
|
lineHeight: o?.lineHeight?.includes("rem") ? N2 : o?.lineHeight || N2,
|
|
44538
44541
|
fontWeight: o.fontWeight || void 0,
|
|
@@ -44540,7 +44543,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44540
44543
|
textDecoration: o.textDecoration || void 0
|
|
44541
44544
|
}, e.styles.textStyles.textStyleOptions.buttons.style = {
|
|
44542
44545
|
...s,
|
|
44543
|
-
fontFamily: s?.fontFamily || A2[
|
|
44546
|
+
fontFamily: s?.fontFamily || A2[G2].name,
|
|
44544
44547
|
letterSpacing: s.letterSpacing || hr,
|
|
44545
44548
|
lineHeight: s?.lineHeight?.includes("rem") ? N2 : s?.lineHeight || N2,
|
|
44546
44549
|
fontWeight: s.fontWeight || void 0,
|
|
@@ -45561,7 +45564,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45561
45564
|
svgShapeUtil: eA1,
|
|
45562
45565
|
svgUtil: S$1,
|
|
45563
45566
|
unescapeContentText: LA
|
|
45564
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
45567
|
+
}, Symbol.toStringTag, { value: "Module" })), h9 = (e, t, n) => () => {
|
|
45565
45568
|
let i = "";
|
|
45566
45569
|
switch (e) {
|
|
45567
45570
|
case "website":
|
|
@@ -45657,7 +45660,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45657
45660
|
id: le.v4(),
|
|
45658
45661
|
type: "video",
|
|
45659
45662
|
autoplay: !1,
|
|
45660
|
-
displayStyle:
|
|
45663
|
+
displayStyle: d9,
|
|
45661
45664
|
mute: !1,
|
|
45662
45665
|
videoUrl: "",
|
|
45663
45666
|
topPadding: 0,
|
|
@@ -45768,7 +45771,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45768
45771
|
}), I$1 = (e) => ({
|
|
45769
45772
|
id: le.v4(),
|
|
45770
45773
|
description: "",
|
|
45771
|
-
displayStyle:
|
|
45774
|
+
displayStyle: d9,
|
|
45772
45775
|
requestPaymentConfig: {
|
|
45773
45776
|
paymentOptions: [],
|
|
45774
45777
|
isCustomerRequestDetailsEnabled: !1,
|
|
@@ -45860,7 +45863,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45860
45863
|
],
|
|
45861
45864
|
isCustomerMessageEnabled: !0
|
|
45862
45865
|
},
|
|
45863
|
-
displayStyle:
|
|
45866
|
+
displayStyle: d9,
|
|
45864
45867
|
title: O("supportMeTitle"),
|
|
45865
45868
|
successMessage: O("successSupportPlaceholder"),
|
|
45866
45869
|
description: O("makeADonationDescription"),
|
|
@@ -45903,7 +45906,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45903
45906
|
title: O("contactUsTitle"),
|
|
45904
45907
|
description: "",
|
|
45905
45908
|
buttonText: O("sendPlaceholder"),
|
|
45906
|
-
displayStyle:
|
|
45909
|
+
displayStyle: d9,
|
|
45907
45910
|
layoutStyle: t,
|
|
45908
45911
|
topPadding: n,
|
|
45909
45912
|
bottomPadding: n,
|
|
@@ -46338,8 +46341,8 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46338
46341
|
options: [
|
|
46339
46342
|
{
|
|
46340
46343
|
label: R3("preview"),
|
|
46341
|
-
value:
|
|
46342
|
-
isSelected: e ===
|
|
46344
|
+
value: d9,
|
|
46345
|
+
isSelected: e === d9
|
|
46343
46346
|
},
|
|
46344
46347
|
{
|
|
46345
46348
|
label: R3("collapsed"),
|
|
@@ -46359,24 +46362,24 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46359
46362
|
return {
|
|
46360
46363
|
options: [
|
|
46361
46364
|
{
|
|
46362
|
-
value:
|
|
46363
|
-
isSelected: !e || e?.galleryType ===
|
|
46365
|
+
value: I9.grid,
|
|
46366
|
+
isSelected: !e || e?.galleryType === I9.grid,
|
|
46364
46367
|
iconName: "image-gallery-grid",
|
|
46365
46368
|
iconViewBox: "0 0 94 24",
|
|
46366
46369
|
title: R3("grid"),
|
|
46367
46370
|
dataAttribute: "data-test-btn-grid"
|
|
46368
46371
|
},
|
|
46369
46372
|
{
|
|
46370
|
-
value:
|
|
46371
|
-
isSelected: e?.galleryType ===
|
|
46373
|
+
value: I9.carousel,
|
|
46374
|
+
isSelected: e?.galleryType === I9.carousel,
|
|
46372
46375
|
iconName: "image-gallery-carousel",
|
|
46373
46376
|
iconViewBox: "0 0 94 24",
|
|
46374
46377
|
title: R3("carousel"),
|
|
46375
46378
|
dataAttribute: "data-test-btn-carousel"
|
|
46376
46379
|
},
|
|
46377
46380
|
{
|
|
46378
|
-
value:
|
|
46379
|
-
isSelected: e?.galleryType ===
|
|
46381
|
+
value: I9.masonry,
|
|
46382
|
+
isSelected: e?.galleryType === I9.masonry,
|
|
46380
46383
|
iconName: "image-gallery-masonry",
|
|
46381
46384
|
iconViewBox: "0 0 94 24",
|
|
46382
46385
|
title: R3("masonry"),
|
|
@@ -46387,7 +46390,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46387
46390
|
},
|
|
46388
46391
|
convertBack(e) {
|
|
46389
46392
|
const t = e.options.find((n) => n.isSelected);
|
|
46390
|
-
return t ? { galleryType: t.value } : { galleryType:
|
|
46393
|
+
return t ? { galleryType: t.value } : { galleryType: I9.grid };
|
|
46391
46394
|
}
|
|
46392
46395
|
}, j$1 = 2, B2 = r3("brandPageMakerUser", {
|
|
46393
46396
|
state: () => ({
|
|
@@ -46425,7 +46428,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46425
46428
|
let bf;
|
|
46426
46429
|
const m4 = () => (bf || (bf = k2.create({
|
|
46427
46430
|
headers: {
|
|
46428
|
-
"Accept-Language":
|
|
46431
|
+
"Accept-Language": a9()
|
|
46429
46432
|
}
|
|
46430
46433
|
})), bf), D4 = (e) => {
|
|
46431
46434
|
switch (e) {
|
|
@@ -46524,7 +46527,7 @@ const m4 = () => (bf || (bf = k2.create({
|
|
|
46524
46527
|
query: e.query,
|
|
46525
46528
|
page: e.page.toString(),
|
|
46526
46529
|
pageSize: e.pageSize.toString(),
|
|
46527
|
-
locale:
|
|
46530
|
+
locale: a9()
|
|
46528
46531
|
})}`;
|
|
46529
46532
|
try {
|
|
46530
46533
|
const i = await m4().get(n);
|
|
@@ -46807,7 +46810,7 @@ function uB1() {
|
|
|
46807
46810
|
return vf = Q1, vf;
|
|
46808
46811
|
}
|
|
46809
46812
|
var pB1 = uB1();
|
|
46810
|
-
const FL = /* @__PURE__ */
|
|
46813
|
+
const FL = /* @__PURE__ */ p9(pB1);
|
|
46811
46814
|
function Ud(e, t) {
|
|
46812
46815
|
const n = e.replace(/\s+/g, "-").toLowerCase(), i = t ? `${t.id}-${t.name}` : "nv", o = Math.random().toString(36).substring(2, 8);
|
|
46813
46816
|
return `${n}-${i}-${o}`;
|
|
@@ -46924,7 +46927,7 @@ const u4 = r3("shopConfig", {
|
|
|
46924
46927
|
);
|
|
46925
46928
|
}
|
|
46926
46929
|
}
|
|
46927
|
-
}),
|
|
46930
|
+
}), F9 = {
|
|
46928
46931
|
all: "all",
|
|
46929
46932
|
categories: "categories",
|
|
46930
46933
|
AI: "ai"
|
|
@@ -47168,7 +47171,7 @@ const yB1 = {
|
|
|
47168
47171
|
!this.viewModel?.styles?.backgroundStylesViewModel?.backgroundImageUrl && this.viewModel?.styles?.backgroundStylesViewModel?.style && (e = {
|
|
47169
47172
|
...this.viewModel?.styles?.backgroundStylesViewModel?.style
|
|
47170
47173
|
}), Object.assign(e, this.viewModel?.styles?.textStyles?.style);
|
|
47171
|
-
const t = this.viewModel.styles?.textStyles.textFontFamily ||
|
|
47174
|
+
const t = this.viewModel.styles?.textStyles.textFontFamily || G2, n = A2[t];
|
|
47172
47175
|
return n && (e.fontFamily = [
|
|
47173
47176
|
`"${n.name}"`,
|
|
47174
47177
|
...mT1
|
|
@@ -47352,7 +47355,7 @@ const yB1 = {
|
|
|
47352
47355
|
}
|
|
47353
47356
|
}
|
|
47354
47357
|
}), Ky = (e) => {
|
|
47355
|
-
const t =
|
|
47358
|
+
const t = B9()[e];
|
|
47356
47359
|
return t || (console.error(`Unsupported template type: "${e}"`), null);
|
|
47357
47360
|
}, xB1 = (e) => e?.displayName || "", Yy = (e, t, n) => {
|
|
47358
47361
|
const i = Object.keys(t.fields).filter((o) => t.fields[o]?.role === "multi").flatMap((o) => {
|
|
@@ -47402,7 +47405,7 @@ const yB1 = {
|
|
|
47402
47405
|
borderTopWidth: "0px",
|
|
47403
47406
|
backgroundColor: void 0,
|
|
47404
47407
|
fontSize: R5,
|
|
47405
|
-
fontFamily: A2[
|
|
47408
|
+
fontFamily: A2[G2].name,
|
|
47406
47409
|
textAlign: Ve
|
|
47407
47410
|
},
|
|
47408
47411
|
selectedButtonStyle: {
|
|
@@ -47441,7 +47444,7 @@ const yB1 = {
|
|
|
47441
47444
|
borderTopWidth: "2px",
|
|
47442
47445
|
backgroundColor: void 0,
|
|
47443
47446
|
fontSize: R5,
|
|
47444
|
-
fontFamily: A2[
|
|
47447
|
+
fontFamily: A2[G2].name,
|
|
47445
47448
|
textAlign: Ve
|
|
47446
47449
|
},
|
|
47447
47450
|
selectedButtonStyle: {
|
|
@@ -47520,7 +47523,7 @@ const yB1 = {
|
|
|
47520
47523
|
showSocialLinksField: !1,
|
|
47521
47524
|
showFontSettings: !1
|
|
47522
47525
|
}
|
|
47523
|
-
}, ft = () =>
|
|
47526
|
+
}, ft = () => q2().onStyleChanged(), z4 = r3("uiStyleSettings", {
|
|
47524
47527
|
state: () => ({
|
|
47525
47528
|
availableButtonStyleConfigs: [],
|
|
47526
47529
|
availableGalleryTypes: [],
|
|
@@ -47735,7 +47738,7 @@ const yB1 = {
|
|
|
47735
47738
|
this._setButtonStyle(n), ft();
|
|
47736
47739
|
},
|
|
47737
47740
|
async setTextFontFamily(e) {
|
|
47738
|
-
const t =
|
|
47741
|
+
const t = q2(), n = Te(), i = this.availableTextFontFamilyOptions.find(
|
|
47739
47742
|
(o) => o.key === e.fontFamily
|
|
47740
47743
|
);
|
|
47741
47744
|
if (i) {
|
|
@@ -47843,7 +47846,7 @@ const yB1 = {
|
|
|
47843
47846
|
groups: {}
|
|
47844
47847
|
}), EB1 = () => ({
|
|
47845
47848
|
isCollapsed: !1
|
|
47846
|
-
}),
|
|
47849
|
+
}), A9 = r3(
|
|
47847
47850
|
"uiNavigationStyleSettings",
|
|
47848
47851
|
{
|
|
47849
47852
|
state: () => ({
|
|
@@ -47851,7 +47854,7 @@ const yB1 = {
|
|
|
47851
47854
|
navigationStyleTypeConfigs: WL,
|
|
47852
47855
|
navigation: {
|
|
47853
47856
|
[V2.header]: {
|
|
47854
|
-
[K1.desktop]: new
|
|
47857
|
+
[K1.desktop]: new c9(),
|
|
47855
47858
|
[K1.mobile]: new q7()
|
|
47856
47859
|
}
|
|
47857
47860
|
}
|
|
@@ -47961,7 +47964,7 @@ const yB1 = {
|
|
|
47961
47964
|
displayType: t,
|
|
47962
47965
|
viewport: n
|
|
47963
47966
|
}) {
|
|
47964
|
-
const i =
|
|
47967
|
+
const i = q2(), o = z4();
|
|
47965
47968
|
this.navigation[e][n].displayType = t;
|
|
47966
47969
|
const s = this.navigation[e][n].defaultButtonStyle.textStyleType, r = this.availableNavigationStyleConfigs.find(
|
|
47967
47970
|
(d) => d.displayType === t
|
|
@@ -60293,7 +60296,7 @@ function Zo(e) {
|
|
|
60293
60296
|
}
|
|
60294
60297
|
});
|
|
60295
60298
|
}
|
|
60296
|
-
let
|
|
60299
|
+
let g9 = class dm {
|
|
60297
60300
|
constructor(t = {}) {
|
|
60298
60301
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
60299
60302
|
name: this.name,
|
|
@@ -61384,15 +61387,15 @@ function fV(e, t) {
|
|
|
61384
61387
|
}
|
|
61385
61388
|
return !1;
|
|
61386
61389
|
}
|
|
61387
|
-
var
|
|
61390
|
+
var $9 = {
|
|
61388
61391
|
isTouch: !1
|
|
61389
61392
|
}, hV = 0;
|
|
61390
61393
|
function WF1() {
|
|
61391
|
-
|
|
61394
|
+
$9.isTouch || ($9.isTouch = !0, window.performance && document.addEventListener("mousemove", IO));
|
|
61392
61395
|
}
|
|
61393
61396
|
function IO() {
|
|
61394
61397
|
var e = performance.now();
|
|
61395
|
-
e - hV < 20 && (
|
|
61398
|
+
e - hV < 20 && ($9.isTouch = !1, document.removeEventListener("mousemove", IO)), hV = e;
|
|
61396
61399
|
}
|
|
61397
61400
|
function KF1() {
|
|
61398
61401
|
var e = document.activeElement;
|
|
@@ -61690,7 +61693,7 @@ function lU1(e, t) {
|
|
|
61690
61693
|
return fm(H);
|
|
61691
61694
|
}
|
|
61692
61695
|
function t1(T1) {
|
|
61693
|
-
return _.state.isMounted && !_.state.isVisible ||
|
|
61696
|
+
return _.state.isMounted && !_.state.isVisible || $9.isTouch || c && c.type === "focus" ? 0 : Uf(_.props.delay, T1 ? 0 : 1, a6.delay);
|
|
61694
61697
|
}
|
|
61695
61698
|
function G(T1) {
|
|
61696
61699
|
T1 === void 0 && (T1 = !1), H.style.pointerEvents = _.props.interactive && !T1 ? "" : "none", H.style.zIndex = "" + _.props.zIndex;
|
|
@@ -61732,13 +61735,13 @@ function lU1(e, t) {
|
|
|
61732
61735
|
});
|
|
61733
61736
|
}
|
|
61734
61737
|
function U1(T1) {
|
|
61735
|
-
if (!(
|
|
61738
|
+
if (!($9.isTouch && (l || T1.type === "mousedown"))) {
|
|
61736
61739
|
var a2 = T1.composedPath && T1.composedPath()[0] || T1.target;
|
|
61737
61740
|
if (!(_.props.interactive && fV(H, a2))) {
|
|
61738
61741
|
if (rn(_.props.triggerTarget || e).some(function(A1) {
|
|
61739
61742
|
return fV(A1, a2);
|
|
61740
61743
|
})) {
|
|
61741
|
-
if (
|
|
61744
|
+
if ($9.isTouch || _.state.isVisible && _.props.trigger.indexOf("click") >= 0)
|
|
61742
61745
|
return;
|
|
61743
61746
|
} else
|
|
61744
61747
|
q("onClickOutside", [_, T1]);
|
|
@@ -61854,7 +61857,7 @@ function lU1(e, t) {
|
|
|
61854
61857
|
_.props.trigger.indexOf("focusin") < 0 && T1.target !== U() || _.props.interactive && T1.relatedTarget && H.contains(T1.relatedTarget) || _1(T1);
|
|
61855
61858
|
}
|
|
61856
61859
|
function K(T1) {
|
|
61857
|
-
return
|
|
61860
|
+
return $9.isTouch ? Y() !== T1.type.indexOf("touch") >= 0 : !1;
|
|
61858
61861
|
}
|
|
61859
61862
|
function X() {
|
|
61860
61863
|
y1();
|
|
@@ -61932,7 +61935,7 @@ function lU1(e, t) {
|
|
|
61932
61935
|
function E1(T1) {
|
|
61933
61936
|
_.clearDelayTimeouts(), T1 && q("onTrigger", [_, T1]), g1();
|
|
61934
61937
|
var a2 = t1(!0), A1 = F(), $1 = A1[0], h2 = A1[1];
|
|
61935
|
-
|
|
61938
|
+
$9.isTouch && $1 === "hold" && h2 && (a2 = h2), a2 ? i = setTimeout(function() {
|
|
61936
61939
|
_.show();
|
|
61937
61940
|
}, a2) : _.show();
|
|
61938
61941
|
}
|
|
@@ -61979,7 +61982,7 @@ function lU1(e, t) {
|
|
|
61979
61982
|
}
|
|
61980
61983
|
function we() {
|
|
61981
61984
|
process.env.NODE_ENV !== "production" && k8(_.state.isDestroyed, J0("show"));
|
|
61982
|
-
var T1 = _.state.isVisible, a2 = _.state.isDestroyed, A1 = !_.state.isEnabled, $1 =
|
|
61985
|
+
var T1 = _.state.isVisible, a2 = _.state.isDestroyed, A1 = !_.state.isEnabled, $1 = $9.isTouch && !_.props.touch, h2 = Uf(_.props.duration, 0, a6.duration);
|
|
61983
61986
|
if (!(T1 || a2 || A1 || $1) && !U().hasAttribute("disabled") && (q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
|
|
61984
61987
|
if (_.state.isVisible = !0, n1() && (H.style.visibility = "visible"), G(), g1(), _.state.isMounted || (H.style.transition = "none"), n1()) {
|
|
61985
61988
|
var r2 = C1(), Me = r2.box, t3 = r2.content;
|
|
@@ -62048,7 +62051,7 @@ function ii(e, t) {
|
|
|
62048
62051
|
}
|
|
62049
62052
|
ii.defaultProps = a6;
|
|
62050
62053
|
ii.setDefaultProps = oU1;
|
|
62051
|
-
ii.currentInput =
|
|
62054
|
+
ii.currentInput = $9;
|
|
62052
62055
|
Object.assign({}, yO, {
|
|
62053
62056
|
effect: function(t) {
|
|
62054
62057
|
var n = t.state, i = {
|
|
@@ -62491,7 +62494,7 @@ Q({
|
|
|
62491
62494
|
}, (t = (e = this.$slots).default) === null || t === void 0 ? void 0 : t.call(e));
|
|
62492
62495
|
}
|
|
62493
62496
|
});
|
|
62494
|
-
const pU1 = /^\s*>\s$/, fU1 =
|
|
62497
|
+
const pU1 = /^\s*>\s$/, fU1 = g9.create({
|
|
62495
62498
|
name: "blockquote",
|
|
62496
62499
|
addOptions() {
|
|
62497
62500
|
return {
|
|
@@ -62595,7 +62598,7 @@ const pU1 = /^\s*>\s$/, fU1 = m9.create({
|
|
|
62595
62598
|
})
|
|
62596
62599
|
];
|
|
62597
62600
|
}
|
|
62598
|
-
}), bU1 = "listItem", vV = "textStyle", SV = /^\s*([-+*])\s$/, vU1 =
|
|
62601
|
+
}), bU1 = "listItem", vV = "textStyle", SV = /^\s*([-+*])\s$/, vU1 = g9.create({
|
|
62599
62602
|
name: "bulletList",
|
|
62600
62603
|
addOptions() {
|
|
62601
62604
|
return {
|
|
@@ -62689,7 +62692,7 @@ const pU1 = /^\s*>\s$/, fU1 = m9.create({
|
|
|
62689
62692
|
})
|
|
62690
62693
|
];
|
|
62691
62694
|
}
|
|
62692
|
-
}), kU1 = /^```([a-z]+)?[\s\n]$/, LU1 = /^~~~([a-z]+)?[\s\n]$/, TU1 =
|
|
62695
|
+
}), kU1 = /^```([a-z]+)?[\s\n]$/, LU1 = /^~~~([a-z]+)?[\s\n]$/, TU1 = g9.create({
|
|
62693
62696
|
name: "codeBlock",
|
|
62694
62697
|
addOptions() {
|
|
62695
62698
|
return {
|
|
@@ -62816,7 +62819,7 @@ const pU1 = /^\s*>\s$/, fU1 = m9.create({
|
|
|
62816
62819
|
})
|
|
62817
62820
|
];
|
|
62818
62821
|
}
|
|
62819
|
-
}), VU1 =
|
|
62822
|
+
}), VU1 = g9.create({
|
|
62820
62823
|
name: "doc",
|
|
62821
62824
|
topNode: !0,
|
|
62822
62825
|
content: "block+"
|
|
@@ -63131,7 +63134,7 @@ const NU1 = p3.create({
|
|
|
63131
63134
|
allowGapCursor: (t = he(H2(e, "allowGapCursor", n))) !== null && t !== void 0 ? t : null
|
|
63132
63135
|
};
|
|
63133
63136
|
}
|
|
63134
|
-
}), RU1 =
|
|
63137
|
+
}), RU1 = g9.create({
|
|
63135
63138
|
name: "hardBreak",
|
|
63136
63139
|
addOptions() {
|
|
63137
63140
|
return {
|
|
@@ -63181,7 +63184,7 @@ const NU1 = p3.create({
|
|
|
63181
63184
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
63182
63185
|
};
|
|
63183
63186
|
}
|
|
63184
|
-
}), ZU1 =
|
|
63187
|
+
}), ZU1 = g9.create({
|
|
63185
63188
|
name: "heading",
|
|
63186
63189
|
addOptions() {
|
|
63187
63190
|
return {
|
|
@@ -63353,9 +63356,9 @@ class o9 {
|
|
|
63353
63356
|
return;
|
|
63354
63357
|
}
|
|
63355
63358
|
if (o) {
|
|
63356
|
-
c.push(new
|
|
63359
|
+
c.push(new V9(u.map));
|
|
63357
63360
|
let m = u.step.map(o.slice(s)), g;
|
|
63358
|
-
m && r.maybeStep(m).doc && (g = r.mapping.maps[r.mapping.maps.length - 1], d.push(new
|
|
63361
|
+
m && r.maybeStep(m).doc && (g = r.mapping.maps[r.mapping.maps.length - 1], d.push(new V9(g, void 0, void 0, d.length + c.length))), s--, g && o.appendMap(g, s);
|
|
63359
63362
|
} else
|
|
63360
63363
|
r.maybeStep(u.step);
|
|
63361
63364
|
if (u.selection)
|
|
@@ -63366,7 +63369,7 @@ class o9 {
|
|
|
63366
63369
|
addTransform(t, n, i, o) {
|
|
63367
63370
|
let s = [], r = this.eventCount, a = this.items, l = !o && a.length ? a.get(a.length - 1) : null;
|
|
63368
63371
|
for (let c = 0; c < t.steps.length; c++) {
|
|
63369
|
-
let u = t.steps[c].invert(t.docs[c]), h = new
|
|
63372
|
+
let u = t.steps[c].invert(t.docs[c]), h = new V9(t.mapping.maps[c], u, n), m;
|
|
63370
63373
|
(m = l && l.merge(h)) && (h = m, c ? s.pop() : a = a.slice(0, a.length - 1)), s.push(h), n && (r++, n = void 0), o || (l = h);
|
|
63371
63374
|
}
|
|
63372
63375
|
let d = r - i.depth;
|
|
@@ -63380,7 +63383,7 @@ class o9 {
|
|
|
63380
63383
|
}, t, n), i;
|
|
63381
63384
|
}
|
|
63382
63385
|
addMaps(t) {
|
|
63383
|
-
return this.eventCount == 0 ? this : new o9(this.items.append(t.map((n) => new
|
|
63386
|
+
return this.eventCount == 0 ? this : new o9(this.items.append(t.map((n) => new V9(n))), this.eventCount);
|
|
63384
63387
|
}
|
|
63385
63388
|
// When the collab module receives remote changes, the history has
|
|
63386
63389
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -63402,13 +63405,13 @@ class o9 {
|
|
|
63402
63405
|
let g = s.maps[m];
|
|
63403
63406
|
if (h.step) {
|
|
63404
63407
|
let y = t.steps[m].invert(t.docs[m]), w = h.selection && h.selection.map(s.slice(l + 1, m));
|
|
63405
|
-
w && a++, i.push(new
|
|
63408
|
+
w && a++, i.push(new V9(g, y, w));
|
|
63406
63409
|
} else
|
|
63407
|
-
i.push(new
|
|
63410
|
+
i.push(new V9(g));
|
|
63408
63411
|
}, o);
|
|
63409
63412
|
let d = [];
|
|
63410
63413
|
for (let h = n; h < r; h++)
|
|
63411
|
-
d.push(new
|
|
63414
|
+
d.push(new V9(s.maps[h]));
|
|
63412
63415
|
let c = this.items.slice(0, o).append(d).append(i), u = new o9(c, a);
|
|
63413
63416
|
return u.emptyItemCount() > UU1 && (u = u.compress(this.items.length - i.length)), u;
|
|
63414
63417
|
}
|
|
@@ -63434,7 +63437,7 @@ class o9 {
|
|
|
63434
63437
|
if (i--, d && n.appendMap(d, i), l) {
|
|
63435
63438
|
let c = r.selection && r.selection.map(n.slice(i));
|
|
63436
63439
|
c && s++;
|
|
63437
|
-
let u = new
|
|
63440
|
+
let u = new V9(d.invert(), l, c), h, m = o.length - 1;
|
|
63438
63441
|
(h = o.length && o[m].merge(u)) ? o[m] = h : o.push(u);
|
|
63439
63442
|
}
|
|
63440
63443
|
} else r.map && i--;
|
|
@@ -63449,7 +63452,7 @@ function zU1(e, t) {
|
|
|
63449
63452
|
return n = o, !1;
|
|
63450
63453
|
}), e.slice(n);
|
|
63451
63454
|
}
|
|
63452
|
-
class
|
|
63455
|
+
class V9 {
|
|
63453
63456
|
constructor(t, n, i, o) {
|
|
63454
63457
|
this.map = t, this.step = n, this.selection = i, this.mirrorOffset = o;
|
|
63455
63458
|
}
|
|
@@ -63457,7 +63460,7 @@ class x9 {
|
|
|
63457
63460
|
if (this.step && t.step && !t.selection) {
|
|
63458
63461
|
let n = t.step.merge(this.step);
|
|
63459
63462
|
if (n)
|
|
63460
|
-
return new
|
|
63463
|
+
return new V9(n.getMap().invert(), n, this.selection);
|
|
63461
63464
|
}
|
|
63462
63465
|
}
|
|
63463
63466
|
}
|
|
@@ -63596,7 +63599,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63596
63599
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
63597
63600
|
};
|
|
63598
63601
|
}
|
|
63599
|
-
}), JU1 =
|
|
63602
|
+
}), JU1 = g9.create({
|
|
63600
63603
|
name: "horizontalRule",
|
|
63601
63604
|
addOptions() {
|
|
63602
63605
|
return {
|
|
@@ -63713,7 +63716,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63713
63716
|
})
|
|
63714
63717
|
];
|
|
63715
63718
|
}
|
|
63716
|
-
}), oz1 =
|
|
63719
|
+
}), oz1 = g9.create({
|
|
63717
63720
|
name: "listItem",
|
|
63718
63721
|
addOptions() {
|
|
63719
63722
|
return {
|
|
@@ -63741,7 +63744,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63741
63744
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
63742
63745
|
};
|
|
63743
63746
|
}
|
|
63744
|
-
}), sz1 = "listItem", kV = "textStyle", LV = /^(\d+)\.\s$/, rz1 =
|
|
63747
|
+
}), sz1 = "listItem", kV = "textStyle", LV = /^(\d+)\.\s$/, rz1 = g9.create({
|
|
63745
63748
|
name: "orderedList",
|
|
63746
63749
|
addOptions() {
|
|
63747
63750
|
return {
|
|
@@ -63807,7 +63810,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63807
63810
|
e
|
|
63808
63811
|
];
|
|
63809
63812
|
}
|
|
63810
|
-
}), az1 =
|
|
63813
|
+
}), az1 = g9.create({
|
|
63811
63814
|
name: "paragraph",
|
|
63812
63815
|
priority: 1e3,
|
|
63813
63816
|
addOptions() {
|
|
@@ -63891,7 +63894,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63891
63894
|
})
|
|
63892
63895
|
];
|
|
63893
63896
|
}
|
|
63894
|
-
}), Cz1 =
|
|
63897
|
+
}), Cz1 = g9.create({
|
|
63895
63898
|
name: "text",
|
|
63896
63899
|
group: "inline"
|
|
63897
63900
|
}), Aw = p3.create({
|
|
@@ -64408,7 +64411,7 @@ H5.prototype = {
|
|
|
64408
64411
|
return o.j[e] = r, r;
|
|
64409
64412
|
}
|
|
64410
64413
|
};
|
|
64411
|
-
const de = (e, t, n, i, o) => e.ta(t, n, i, o), V3 = (e, t, n, i, o) => e.tr(t, n, i, o), TV = (e, t, n, i, o) => e.ts(t, n, i, o), i2 = (e, t, n, i, o) => e.tt(t, n, i, o), _8 = "WORD", wm = "UWORD", qO = "ASCIINUMERICAL", GO = "ALPHANUMERICAL", Go = "LOCALHOST", bm = "TLD", vm = "UTLD", od = "SCHEME", an = "SLASH_SCHEME", zw = "NUM", Sm = "WS", qw = "NL", fo = "OPENBRACE", ho = "CLOSEBRACE", sc = "OPENBRACKET", rc = "CLOSEBRACKET", ac = "OPENPAREN", lc = "CLOSEPAREN", dc = "OPENANGLEBRACKET", cc = "CLOSEANGLEBRACKET", Cc = "FULLWIDTHLEFTPAREN", uc = "FULLWIDTHRIGHTPAREN", pc = "LEFTCORNERBRACKET", fc = "RIGHTCORNERBRACKET", hc = "LEFTWHITECORNERBRACKET", gc = "RIGHTWHITECORNERBRACKET", mc = "FULLWIDTHLESSTHAN", yc = "FULLWIDTHGREATERTHAN", wc = "AMPERSAND", bc = "APOSTROPHE", vc = "ASTERISK", y7 = "AT", Sc = "BACKSLASH", _c = "BACKTICK", Mc = "CARET", _7 = "COLON", Gw = "COMMA", kc = "DOLLAR",
|
|
64414
|
+
const de = (e, t, n, i, o) => e.ta(t, n, i, o), V3 = (e, t, n, i, o) => e.tr(t, n, i, o), TV = (e, t, n, i, o) => e.ts(t, n, i, o), i2 = (e, t, n, i, o) => e.tt(t, n, i, o), _8 = "WORD", wm = "UWORD", qO = "ASCIINUMERICAL", GO = "ALPHANUMERICAL", Go = "LOCALHOST", bm = "TLD", vm = "UTLD", od = "SCHEME", an = "SLASH_SCHEME", zw = "NUM", Sm = "WS", qw = "NL", fo = "OPENBRACE", ho = "CLOSEBRACE", sc = "OPENBRACKET", rc = "CLOSEBRACKET", ac = "OPENPAREN", lc = "CLOSEPAREN", dc = "OPENANGLEBRACKET", cc = "CLOSEANGLEBRACKET", Cc = "FULLWIDTHLEFTPAREN", uc = "FULLWIDTHRIGHTPAREN", pc = "LEFTCORNERBRACKET", fc = "RIGHTCORNERBRACKET", hc = "LEFTWHITECORNERBRACKET", gc = "RIGHTWHITECORNERBRACKET", mc = "FULLWIDTHLESSTHAN", yc = "FULLWIDTHGREATERTHAN", wc = "AMPERSAND", bc = "APOSTROPHE", vc = "ASTERISK", y7 = "AT", Sc = "BACKSLASH", _c = "BACKTICK", Mc = "CARET", _7 = "COLON", Gw = "COMMA", kc = "DOLLAR", x9 = "DOT", Lc = "EQUALS", jw = "EXCLAMATION", M6 = "HYPHEN", go = "PERCENT", Tc = "PIPE", Vc = "PLUS", xc = "POUND", mo = "QUERY", Ww = "QUOTE", jO = "FULLWIDTHMIDDLEDOT", Kw = "SEMI", H9 = "SLASH", yo = "TILDE", Hc = "UNDERSCORE", WO = "EMOJI", Ic = "SYM";
|
|
64412
64415
|
var KO = /* @__PURE__ */ Object.freeze({
|
|
64413
64416
|
__proto__: null,
|
|
64414
64417
|
ALPHANUMERICAL: GO,
|
|
@@ -64427,7 +64430,7 @@ var KO = /* @__PURE__ */ Object.freeze({
|
|
|
64427
64430
|
COLON: _7,
|
|
64428
64431
|
COMMA: Gw,
|
|
64429
64432
|
DOLLAR: kc,
|
|
64430
|
-
DOT:
|
|
64433
|
+
DOT: x9,
|
|
64431
64434
|
EMOJI: WO,
|
|
64432
64435
|
EQUALS: Lc,
|
|
64433
64436
|
EXCLAMATION: jw,
|
|
@@ -64456,7 +64459,7 @@ var KO = /* @__PURE__ */ Object.freeze({
|
|
|
64456
64459
|
RIGHTWHITECORNERBRACKET: gc,
|
|
64457
64460
|
SCHEME: od,
|
|
64458
64461
|
SEMI: Kw,
|
|
64459
|
-
SLASH:
|
|
64462
|
+
SLASH: H9,
|
|
64460
64463
|
SLASH_SCHEME: an,
|
|
64461
64464
|
SYM: Ic,
|
|
64462
64465
|
TILDE: yo,
|
|
@@ -64474,7 +64477,7 @@ function Mz1(e = []) {
|
|
|
64474
64477
|
const t = {};
|
|
64475
64478
|
H5.groups = t;
|
|
64476
64479
|
const n = new H5();
|
|
64477
|
-
Sl == null && (Sl = xV(gz1)), _l == null && (_l = xV(mz1)), i2(n, "'", bc), i2(n, "{", fo), i2(n, "}", ho), i2(n, "[", sc), i2(n, "]", rc), i2(n, "(", ac), i2(n, ")", lc), i2(n, "<", dc), i2(n, ">", cc), i2(n, "(", Cc), i2(n, ")", uc), i2(n, "「", pc), i2(n, "」", fc), i2(n, "『", hc), i2(n, "』", gc), i2(n, "<", mc), i2(n, ">", yc), i2(n, "&", wc), i2(n, "*", vc), i2(n, "@", y7), i2(n, "`", _c), i2(n, "^", Mc), i2(n, ":", _7), i2(n, ",", Gw), i2(n, "$", kc), i2(n, ".",
|
|
64480
|
+
Sl == null && (Sl = xV(gz1)), _l == null && (_l = xV(mz1)), i2(n, "'", bc), i2(n, "{", fo), i2(n, "}", ho), i2(n, "[", sc), i2(n, "]", rc), i2(n, "(", ac), i2(n, ")", lc), i2(n, "<", dc), i2(n, ">", cc), i2(n, "(", Cc), i2(n, ")", uc), i2(n, "「", pc), i2(n, "」", fc), i2(n, "『", hc), i2(n, "』", gc), i2(n, "<", mc), i2(n, ">", yc), i2(n, "&", wc), i2(n, "*", vc), i2(n, "@", y7), i2(n, "`", _c), i2(n, "^", Mc), i2(n, ":", _7), i2(n, ",", Gw), i2(n, "$", kc), i2(n, ".", x9), i2(n, "=", Lc), i2(n, "!", jw), i2(n, "-", M6), i2(n, "%", go), i2(n, "|", Tc), i2(n, "+", Vc), i2(n, "#", xc), i2(n, "?", mo), i2(n, '"', Ww), i2(n, "/", H9), i2(n, ";", Kw), i2(n, "~", yo), i2(n, "_", Hc), i2(n, "\\", Sc), i2(n, "・", jO);
|
|
64478
64481
|
const i = V3(n, w8, zw, {
|
|
64479
64482
|
[hm]: !0
|
|
64480
64483
|
});
|
|
@@ -64830,34 +64833,34 @@ const IV = AC("email", {
|
|
|
64830
64833
|
function Tz1({
|
|
64831
64834
|
groups: e
|
|
64832
64835
|
}) {
|
|
64833
|
-
const t = e.domain.concat([wc, vc, y7, Sc, _c, Mc, kc, Lc, M6, zw, go, Tc, Vc, xc,
|
|
64836
|
+
const t = e.domain.concat([wc, vc, y7, Sc, _c, Mc, kc, Lc, M6, zw, go, Tc, Vc, xc, H9, Ic, yo, Hc]), n = [bc, _7, Gw, x9, jw, go, mo, Ww, Kw, dc, cc, fo, ho, rc, sc, ac, lc, Cc, uc, pc, fc, hc, gc, mc, yc], i = [wc, bc, vc, Sc, _c, Mc, kc, Lc, M6, fo, ho, go, Tc, Vc, xc, mo, H9, Ic, yo, Hc], o = v6(), s = i2(o, yo);
|
|
64834
64837
|
de(s, i, s), de(s, e.domain, s);
|
|
64835
64838
|
const r = v6(), a = v6(), l = v6();
|
|
64836
64839
|
de(o, e.domain, r), de(o, e.scheme, a), de(o, e.slashscheme, l), de(r, i, s), de(r, e.domain, r);
|
|
64837
64840
|
const d = i2(r, y7);
|
|
64838
64841
|
i2(s, y7, d), i2(a, y7, d), i2(l, y7, d);
|
|
64839
|
-
const c = i2(s,
|
|
64842
|
+
const c = i2(s, x9);
|
|
64840
64843
|
de(c, i, s), de(c, e.domain, s);
|
|
64841
64844
|
const u = v6();
|
|
64842
64845
|
de(d, e.domain, u), de(u, e.domain, u);
|
|
64843
|
-
const h = i2(u,
|
|
64846
|
+
const h = i2(u, x9);
|
|
64844
64847
|
de(h, e.domain, u);
|
|
64845
64848
|
const m = v6(IV);
|
|
64846
64849
|
de(h, e.tld, m), de(h, e.utld, m), i2(d, Go, m);
|
|
64847
64850
|
const g = i2(u, M6);
|
|
64848
|
-
i2(g, M6, g), de(g, e.domain, u), de(m, e.domain, u), i2(m,
|
|
64851
|
+
i2(g, M6, g), de(g, e.domain, u), de(m, e.domain, u), i2(m, x9, h), i2(m, M6, g);
|
|
64849
64852
|
const y = i2(m, _7);
|
|
64850
64853
|
de(y, e.numeric, IV);
|
|
64851
|
-
const w = i2(r, M6), b = i2(r,
|
|
64854
|
+
const w = i2(r, M6), b = i2(r, x9);
|
|
64852
64855
|
i2(w, M6, w), de(w, e.domain, r), de(b, i, s), de(b, e.domain, r);
|
|
64853
64856
|
const M = v6(Ml);
|
|
64854
|
-
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M,
|
|
64857
|
+
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M, x9, b), i2(M, M6, w), i2(M, y7, d);
|
|
64855
64858
|
const S = i2(M, _7), _ = v6(Ml);
|
|
64856
64859
|
de(S, e.numeric, _);
|
|
64857
64860
|
const x = v6(Ml), H = v6();
|
|
64858
|
-
de(x, t, x), de(x, n, H), de(H, t, x), de(H, n, H), i2(M,
|
|
64859
|
-
const D = i2(a, _7), Z = i2(l, _7), N = i2(Z,
|
|
64860
|
-
de(a, e.domain, r), i2(a,
|
|
64861
|
+
de(x, t, x), de(x, n, H), de(H, t, x), de(H, n, H), i2(M, H9, x), i2(_, H9, x);
|
|
64862
|
+
const D = i2(a, _7), Z = i2(l, _7), N = i2(Z, H9), F = i2(N, H9);
|
|
64863
|
+
de(a, e.domain, r), i2(a, x9, b), i2(a, M6, w), de(l, e.domain, r), i2(l, x9, b), i2(l, M6, w), de(D, e.domain, x), i2(D, H9, x), i2(D, mo, x), de(F, e.domain, x), de(F, t, x), i2(F, H9, x);
|
|
64861
64864
|
const Y = [
|
|
64862
64865
|
[fo, ho],
|
|
64863
64866
|
// {}
|
|
@@ -65419,7 +65422,7 @@ function Gz1() {
|
|
|
65419
65422
|
return ah = r, ah;
|
|
65420
65423
|
}
|
|
65421
65424
|
var jz1 = Gz1();
|
|
65422
|
-
const zi = /* @__PURE__ */
|
|
65425
|
+
const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
65423
65426
|
const i = d1(t.selectedFont ?? "Lato"), o = (l) => {
|
|
65424
65427
|
n.value?.hideMenu?.(), i.value = l, t.selectedFont = l, e.chain().focus().setFontFamily(l).run();
|
|
65425
65428
|
}, s = (l) => {
|
|
@@ -65427,7 +65430,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
65427
65430
|
e.chain().selectAll().setFontFamily(l)
|
|
65428
65431
|
).run();
|
|
65429
65432
|
}, r = zi((l) => {
|
|
65430
|
-
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
65433
|
+
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(E9(l)) : parseInt(l), e.chain().setFontSize(t.selectedFontSize).run();
|
|
65431
65434
|
}, 150);
|
|
65432
65435
|
return {
|
|
65433
65436
|
selectedFont: i,
|
|
@@ -65435,7 +65438,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
65435
65438
|
toggleFontAll: s,
|
|
65436
65439
|
toggleFontSize: r,
|
|
65437
65440
|
toggleFontSizeAll: (l) => {
|
|
65438
|
-
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
65441
|
+
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(E9(l)) : parseInt(l), x5(
|
|
65439
65442
|
e.chain().selectAll().setFontSize(t.selectedFontSize)
|
|
65440
65443
|
).run();
|
|
65441
65444
|
}
|
|
@@ -65874,9 +65877,9 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
65874
65877
|
} else
|
|
65875
65878
|
t1.value = "Lato", i.selectedFont = "Lato";
|
|
65876
65879
|
if (_1 && _1.fontSize ? i.selectedFontSizePx = Math.ceil(
|
|
65877
|
-
parseFloat(
|
|
65880
|
+
parseFloat(E9(_1.fontSize))
|
|
65878
65881
|
) : i.selectedFontSizePx = Math.ceil(
|
|
65879
|
-
parseFloat(
|
|
65882
|
+
parseFloat(E9(i.selectedFontSize))
|
|
65880
65883
|
), _1 && _1.color ? L6(_1.color) || (i.selectedTextColor = d3(_1.color).hex()) : i.selectedTextColor = "#000000", h1 && h1.color ? L6(h1.color) || (i.selectedBackgroundColor = d3(
|
|
65881
65884
|
h1.color
|
|
65882
65885
|
).hex()) : i.selectedBackgroundColor = "transparent", _1.lineHeight ? H1.value = _1.lineHeight : H1.value = "1", _1 && _1.letterSpacing ? F1.value = A8.convert({
|
|
@@ -65906,18 +65909,18 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
65906
65909
|
},
|
|
65907
65910
|
isHydrationWrite: !m.isFocused
|
|
65908
65911
|
}), i.selectedFont = h1?.fontFamily ?? "Lato", i.selectedFontSize = h1?.fontSize ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
65909
|
-
parseFloat(
|
|
65912
|
+
parseFloat(E9(h1?.fontSize ?? "2.25em"))
|
|
65910
65913
|
), i.selectedTextColor = L6(h1.color ?? "") ? "#000000" : h1?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65911
65914
|
h1?.backgroundColor ?? ""
|
|
65912
|
-
) ? "transparent" : h1?.backgroundColor ?? "transparent", H1.value = h1?.lineHeight?.includes("em") ?
|
|
65915
|
+
) ? "transparent" : h1?.backgroundColor ?? "transparent", H1.value = h1?.lineHeight?.includes("em") ? E9(h1?.lineHeight ?? "1em") : h1?.lineHeight ?? "1", F1.value = A8.convert(
|
|
65913
65916
|
h1 ?? {}
|
|
65914
65917
|
), t.styles?.textAlign && Q1?.textAlign !== t.styles.textAlign && U(t.styles.textAlign)) : t.styles && (i.selectedFont = t.styles?.fontFamily ?? "Lato", i.selectedFontSize = t.styles?.fontSize ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
65915
|
-
parseFloat(
|
|
65918
|
+
parseFloat(E9(t.styles?.fontSize ?? "2.25em"))
|
|
65916
65919
|
), i.selectedTextColor = L6(
|
|
65917
65920
|
t.styles?.color ?? "#000000"
|
|
65918
65921
|
) ? "#000000" : t.styles?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65919
65922
|
t.styles?.backgroundColor ?? ""
|
|
65920
|
-
) ? "transparent" : t.styles?.backgroundColor ?? "transparent", H1.value = t.styles?.lineHeight?.includes("em") ?
|
|
65923
|
+
) ? "transparent" : t.styles?.backgroundColor ?? "transparent", H1.value = t.styles?.lineHeight?.includes("em") ? E9(t.styles?.lineHeight ?? "1em") : t.styles?.lineHeight ?? "1", F1.value = A8.convert(
|
|
65921
65924
|
t.styles ?? {}
|
|
65922
65925
|
), t.styles?.textAlign && Q1?.textAlign !== t.styles.textAlign && U(t.styles.textAlign));
|
|
65923
65926
|
}, He = (_1) => {
|
|
@@ -65931,7 +65934,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
65931
65934
|
break;
|
|
65932
65935
|
case "fontSize":
|
|
65933
65936
|
const Q1 = _1.value;
|
|
65934
|
-
i.selectedFontSizePx = Q1.includes("em") ? Math.ceil(parseFloat(
|
|
65937
|
+
i.selectedFontSizePx = Q1.includes("em") ? Math.ceil(parseFloat(E9(Q1))) : parseInt(Q1), q(Q1), h1.fontSize = Q1.includes("em") ? Q1 : Pn(Q1);
|
|
65935
65938
|
break;
|
|
65936
65939
|
case "fontWeight":
|
|
65937
65940
|
w(), m.isActive("bold") ? h1.fontWeight = "bold" : h1.fontWeight = void 0;
|
|
@@ -66108,7 +66111,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
66108
66111
|
}, ZV = Q({
|
|
66109
66112
|
mixins: [Zg],
|
|
66110
66113
|
setup() {
|
|
66111
|
-
const e = Pe(), t = c2(), n = b2(), i = B2(), o =
|
|
66114
|
+
const e = Pe(), t = c2(), n = b2(), i = B2(), o = A9(), s = A4(), r = _e(), a = q2(), l = Te(), { externalEditor: d } = ot(), c = z4(), u = n8();
|
|
66112
66115
|
return {
|
|
66113
66116
|
items: L(() => e.items),
|
|
66114
66117
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -66419,12 +66422,12 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
66419
66422
|
setup(e, { emit: t }) {
|
|
66420
66423
|
const n = e, i = HI(null);
|
|
66421
66424
|
D2(() => n.context.isDesignCom, async () => {
|
|
66422
|
-
const M =
|
|
66425
|
+
const M = a9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
66423
66426
|
try {
|
|
66424
|
-
const { default: _ } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
66427
|
+
const { default: _ } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-CiyqScwz.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CZZ_j7Gw.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CWXjDCio.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CfkjOdy9.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CfkjOdy9.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-EOc0tNKn.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-EOc0tNKn.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BJmeOo0W.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-NQxuJRPk.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DLY_-jUJ.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CIQECmJV.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-Cu6db7o5.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DbOUnilX.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-K1MZafvR.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
|
|
66425
66428
|
i.value = _;
|
|
66426
66429
|
} catch {
|
|
66427
|
-
const { default: x } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
66430
|
+
const { default: x } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CZZ_j7Gw.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-NQxuJRPk.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
66428
66431
|
i.value = x;
|
|
66429
66432
|
}
|
|
66430
66433
|
}, {
|
|
@@ -66453,7 +66456,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
66453
66456
|
n.context.isPreview,
|
|
66454
66457
|
n.context.brandPageType,
|
|
66455
66458
|
n.context.isDesignCom,
|
|
66456
|
-
|
|
66459
|
+
a9(),
|
|
66457
66460
|
"bp-footer-watermark"
|
|
66458
66461
|
)
|
|
66459
66462
|
), g = L(
|
|
@@ -66461,7 +66464,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
66461
66464
|
n.context.isPreview,
|
|
66462
66465
|
n.context.brandPageType,
|
|
66463
66466
|
n.context.isDesignCom,
|
|
66464
|
-
|
|
66467
|
+
a9(),
|
|
66465
66468
|
"bp-footer-watermark-create-your-website"
|
|
66466
66469
|
)
|
|
66467
66470
|
), y = L(() => {
|
|
@@ -66501,7 +66504,7 @@ const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
|
66501
66504
|
class: "brand-page__footer-link",
|
|
66502
66505
|
onClick: S[0] || (S[0] = (_) => b(_, "watermark_logo"))
|
|
66503
66506
|
}, [
|
|
66504
|
-
(C(), $(
|
|
66507
|
+
(C(), $(C9(i.value)))
|
|
66505
66508
|
], 8, oq1),
|
|
66506
66509
|
!e.context.isPreview || d.value ? (C(), f("a", {
|
|
66507
66510
|
key: 0,
|
|
@@ -68025,7 +68028,7 @@ function lX1(e, t, n, i, o, s) {
|
|
|
68025
68028
|
], -1)
|
|
68026
68029
|
])], 4);
|
|
68027
68030
|
}
|
|
68028
|
-
const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918ee"]]), dX1 = ["src", "alt", "aria-label", "loading"], cX1 = ["src", "alt", "aria-label", "loading"],
|
|
68031
|
+
const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918ee"]]), dX1 = ["src", "alt", "aria-label", "loading"], cX1 = ["src", "alt", "aria-label", "loading"], m9 = /* @__PURE__ */ Q({
|
|
68029
68032
|
__name: "FallbackImage",
|
|
68030
68033
|
props: {
|
|
68031
68034
|
imageUrl: { default: "" },
|
|
@@ -68132,7 +68135,7 @@ const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918
|
|
|
68132
68135
|
}
|
|
68133
68136
|
), ve(async () => {
|
|
68134
68137
|
await e4(), i();
|
|
68135
|
-
}), (o, s) => e.context.options?.renderVideoAsImage ? (C(), $(
|
|
68138
|
+
}), (o, s) => e.context.options?.renderVideoAsImage ? (C(), $(m9, {
|
|
68136
68139
|
key: 1,
|
|
68137
68140
|
"data-component": "video",
|
|
68138
68141
|
"image-url": e.media?.previewImageUrl || "",
|
|
@@ -68161,7 +68164,7 @@ const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918
|
|
|
68161
68164
|
], 2));
|
|
68162
68165
|
}
|
|
68163
68166
|
}), pX1 = {
|
|
68164
|
-
components: { Shape: sX1, Placeholder: J8, FallbackImage:
|
|
68167
|
+
components: { Shape: sX1, Placeholder: J8, FallbackImage: m9, Video: uX1 },
|
|
68165
68168
|
mixins: [rX1]
|
|
68166
68169
|
};
|
|
68167
68170
|
function fX1(e, t, n, i, o, s) {
|
|
@@ -68401,7 +68404,7 @@ const j4 = /* @__PURE__ */ v(pX1, [["render", fX1], ["__scopeId", "data-v-eb2167
|
|
|
68401
68404
|
class: "tw-w-full empty-para",
|
|
68402
68405
|
style: V1(r.value ? s.value : o.value)
|
|
68403
68406
|
}, [
|
|
68404
|
-
(C(), $(
|
|
68407
|
+
(C(), $(C9(e.element), {
|
|
68405
68408
|
class: B([[c.value, { "tw-inline": !r.value }], "tw-box-decoration-clone"]),
|
|
68406
68409
|
style: V1(r.value ? {} : i.value),
|
|
68407
68410
|
innerHTML: a.value
|
|
@@ -68604,7 +68607,7 @@ const j4 = /* @__PURE__ */ v(pX1, [["render", fX1], ["__scopeId", "data-v-eb2167
|
|
|
68604
68607
|
]);
|
|
68605
68608
|
};
|
|
68606
68609
|
}
|
|
68607
|
-
}),
|
|
68610
|
+
}), O9 = /* @__PURE__ */ v(MX1, [["__scopeId", "data-v-8c623b57"]]);
|
|
68608
68611
|
class mn {
|
|
68609
68612
|
static _instance;
|
|
68610
68613
|
_logoCache;
|
|
@@ -69688,7 +69691,7 @@ const hJ1 = Q({
|
|
|
69688
69691
|
},
|
|
69689
69692
|
methods: {
|
|
69690
69693
|
updateGmapSrc() {
|
|
69691
|
-
const e =
|
|
69694
|
+
const e = a9();
|
|
69692
69695
|
this.gmapSrc = this.$gmap.getEmbedGoogleMapsSrc({
|
|
69693
69696
|
query: `${pJ1}${this.placeId}`,
|
|
69694
69697
|
locale: e
|
|
@@ -69997,7 +70000,7 @@ const cD = /* @__PURE__ */ v(xJ1, [["render", IJ1], ["__scopeId", "data-v-bddcef
|
|
|
69997
70000
|
components: {
|
|
69998
70001
|
ImageModal: cD,
|
|
69999
70002
|
Placeholder: J8,
|
|
70000
|
-
FallbackImage:
|
|
70003
|
+
FallbackImage: m9
|
|
70001
70004
|
},
|
|
70002
70005
|
mixins: [PJ1],
|
|
70003
70006
|
setup() {
|
|
@@ -70119,7 +70122,7 @@ const CD = /* @__PURE__ */ v(AJ1, [["render", OJ1], ["__scopeId", "data-v-2de370
|
|
|
70119
70122
|
return this.viewModel.images || [];
|
|
70120
70123
|
},
|
|
70121
70124
|
galleryType() {
|
|
70122
|
-
return this.viewModel.styles?.galleryType ||
|
|
70125
|
+
return this.viewModel.styles?.galleryType || I9.grid;
|
|
70123
70126
|
},
|
|
70124
70127
|
hasImages() {
|
|
70125
70128
|
return Array.isArray(this.viewModel.images) && this.viewModel.images.length > 0;
|
|
@@ -70204,7 +70207,7 @@ const CD = /* @__PURE__ */ v(AJ1, [["render", OJ1], ["__scopeId", "data-v-2de370
|
|
|
70204
70207
|
}), RJ1 = {
|
|
70205
70208
|
components: {
|
|
70206
70209
|
Placeholder: J8,
|
|
70207
|
-
FallbackImage:
|
|
70210
|
+
FallbackImage: m9
|
|
70208
70211
|
},
|
|
70209
70212
|
mixins: [NJ1],
|
|
70210
70213
|
setup() {
|
|
@@ -70312,7 +70315,7 @@ const UJ1 = /* @__PURE__ */ v(RJ1, [["render", FJ1], ["__scopeId", "data-v-8931d
|
|
|
70312
70315
|
components: {
|
|
70313
70316
|
Carousel: Wm,
|
|
70314
70317
|
Placeholder: J8,
|
|
70315
|
-
FallbackImage:
|
|
70318
|
+
FallbackImage: m9
|
|
70316
70319
|
},
|
|
70317
70320
|
mixins: [zJ1],
|
|
70318
70321
|
setup() {
|
|
@@ -70446,7 +70449,7 @@ const WJ1 = /* @__PURE__ */ v(qJ1, [["render", jJ1], ["__scopeId", "data-v-f08fc
|
|
|
70446
70449
|
components: {
|
|
70447
70450
|
Masonry: tL1,
|
|
70448
70451
|
Placeholder: J8,
|
|
70449
|
-
FallbackImage:
|
|
70452
|
+
FallbackImage: m9
|
|
70450
70453
|
},
|
|
70451
70454
|
mixins: [tx],
|
|
70452
70455
|
setup() {
|
|
@@ -70654,7 +70657,7 @@ const iQ1 = /* @__PURE__ */ v(eQ1, [["render", nQ1], ["__scopeId", "data-v-3d176
|
|
|
70654
70657
|
Icon: o2,
|
|
70655
70658
|
Loader: Je,
|
|
70656
70659
|
Carousel: Wm,
|
|
70657
|
-
FallbackImage:
|
|
70660
|
+
FallbackImage: m9
|
|
70658
70661
|
},
|
|
70659
70662
|
mixins: [sQ1]
|
|
70660
70663
|
}, aQ1 = {
|
|
@@ -70781,7 +70784,7 @@ function cQ1(e, t, n, i, o, s) {
|
|
|
70781
70784
|
}]),
|
|
70782
70785
|
style: V1([e.getContainerStyle, e.contentPaddingStyle])
|
|
70783
70786
|
}, [
|
|
70784
|
-
(C(), $(
|
|
70787
|
+
(C(), $(C9(e.galleryType), {
|
|
70785
70788
|
context: e.context,
|
|
70786
70789
|
"view-model": e.viewModel,
|
|
70787
70790
|
"content-index": e.contentIndex,
|
|
@@ -71420,7 +71423,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71420
71423
|
])
|
|
71421
71424
|
], 4));
|
|
71422
71425
|
}
|
|
71423
|
-
}), pD = /* @__PURE__ */ v(XQ1, [["__scopeId", "data-v-0cc4cbbd"]]),
|
|
71426
|
+
}), pD = /* @__PURE__ */ v(XQ1, [["__scopeId", "data-v-0cc4cbbd"]]), D9 = {
|
|
71424
71427
|
safeSendRaygunError: (e, t) => {
|
|
71425
71428
|
if (typeof window?.Raygun?.send == "function")
|
|
71426
71429
|
try {
|
|
@@ -71559,7 +71562,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71559
71562
|
);
|
|
71560
71563
|
this.isPaymentConfigActive = t === QQ1;
|
|
71561
71564
|
} catch (t) {
|
|
71562
|
-
console.error(t), t instanceof Error &&
|
|
71565
|
+
console.error(t), t instanceof Error && D9.safeSendRaygunError(t);
|
|
71563
71566
|
}
|
|
71564
71567
|
},
|
|
71565
71568
|
async createCart() {
|
|
@@ -71583,7 +71586,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71583
71586
|
}
|
|
71584
71587
|
console.error("Unexpected payment provider details"), this.state = t6.PaymentOptionSelection;
|
|
71585
71588
|
} catch (e) {
|
|
71586
|
-
console.error(e), e instanceof Error &&
|
|
71589
|
+
console.error(e), e instanceof Error && D9.safeSendRaygunError(e), this.state = t6.PaymentOptionSelection;
|
|
71587
71590
|
}
|
|
71588
71591
|
},
|
|
71589
71592
|
onDoneButtonClick() {
|
|
@@ -71593,7 +71596,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71593
71596
|
this.state = t6.PaymentOptionSelection;
|
|
71594
71597
|
},
|
|
71595
71598
|
onHeaderToggleClick() {
|
|
71596
|
-
if (this.viewModel.displayStyle ===
|
|
71599
|
+
if (this.viewModel.displayStyle === d9) {
|
|
71597
71600
|
this.isCollapsed = !1;
|
|
71598
71601
|
return;
|
|
71599
71602
|
}
|
|
@@ -71606,7 +71609,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71606
71609
|
this.state = t6.Success;
|
|
71607
71610
|
},
|
|
71608
71611
|
updateIsCollapsed() {
|
|
71609
|
-
this.viewModel.displayStyle ===
|
|
71612
|
+
this.viewModel.displayStyle === d9 && (this.isCollapsed = !1);
|
|
71610
71613
|
}
|
|
71611
71614
|
}
|
|
71612
71615
|
}), t12 = {
|
|
@@ -71743,7 +71746,7 @@ const fD = /* @__PURE__ */ v(t12, [["render", l12]]), d12 = {
|
|
|
71743
71746
|
Textarea: c0,
|
|
71744
71747
|
Icon: o2,
|
|
71745
71748
|
TextWrapper: W2,
|
|
71746
|
-
FallbackImage:
|
|
71749
|
+
FallbackImage: m9
|
|
71747
71750
|
},
|
|
71748
71751
|
mixins: [pQ1],
|
|
71749
71752
|
setup() {
|
|
@@ -72066,7 +72069,7 @@ const w12 = /* @__PURE__ */ v(g12, [["render", y12]]), b12 = Q({
|
|
|
72066
72069
|
}
|
|
72067
72070
|
},
|
|
72068
72071
|
data: () => ({
|
|
72069
|
-
DISPLAY_STYLE_PREVIEW:
|
|
72072
|
+
DISPLAY_STYLE_PREVIEW: d9,
|
|
72070
72073
|
DISPLAY_STYLE_COLLAPSED: z7,
|
|
72071
72074
|
isCollapsed: !0,
|
|
72072
72075
|
title: "Video"
|
|
@@ -73188,7 +73191,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73188
73191
|
layout: "inline",
|
|
73189
73192
|
alignClass: "tw-items-center tw-w-full"
|
|
73190
73193
|
},
|
|
73191
|
-
[
|
|
73194
|
+
[l9]: {
|
|
73192
73195
|
layout: "inline",
|
|
73193
73196
|
alignClass: "tw-items-center tw-w-full"
|
|
73194
73197
|
},
|
|
@@ -73358,7 +73361,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73358
73361
|
p("div", {
|
|
73359
73362
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73360
73363
|
}, [
|
|
73361
|
-
M.value ? (C(), $(
|
|
73364
|
+
M.value ? (C(), $(O9, {
|
|
73362
73365
|
key: 0,
|
|
73363
73366
|
"view-model": b.value,
|
|
73364
73367
|
context: e.context,
|
|
@@ -73401,7 +73404,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73401
73404
|
p("div", {
|
|
73402
73405
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73403
73406
|
}, [
|
|
73404
|
-
M.value ? (C(), $(
|
|
73407
|
+
M.value ? (C(), $(O9, {
|
|
73405
73408
|
key: 0,
|
|
73406
73409
|
"view-model": b.value,
|
|
73407
73410
|
context: e.context,
|
|
@@ -73464,7 +73467,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73464
73467
|
p("div", {
|
|
73465
73468
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73466
73469
|
}, [
|
|
73467
|
-
M.value ? (C(), $(
|
|
73470
|
+
M.value ? (C(), $(O9, {
|
|
73468
73471
|
key: 0,
|
|
73469
73472
|
"view-model": b.value,
|
|
73470
73473
|
context: e.context,
|
|
@@ -73503,7 +73506,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73503
73506
|
p("div", {
|
|
73504
73507
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73505
73508
|
}, [
|
|
73506
|
-
M.value ? (C(), $(
|
|
73509
|
+
M.value ? (C(), $(O9, {
|
|
73507
73510
|
key: 0,
|
|
73508
73511
|
"view-model": b.value,
|
|
73509
73512
|
context: e.context,
|
|
@@ -73583,7 +73586,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73583
73586
|
p("div", {
|
|
73584
73587
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73585
73588
|
}, [
|
|
73586
|
-
M.value ? (C(), $(
|
|
73589
|
+
M.value ? (C(), $(O9, {
|
|
73587
73590
|
key: 0,
|
|
73588
73591
|
"view-model": b.value,
|
|
73589
73592
|
context: e.context,
|
|
@@ -73848,7 +73851,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73848
73851
|
key: 0,
|
|
73849
73852
|
class: B(["tw-w-full tw-flex", y.value])
|
|
73850
73853
|
}, [
|
|
73851
|
-
T(
|
|
73854
|
+
T(O9, {
|
|
73852
73855
|
"view-model": _(D),
|
|
73853
73856
|
context: e.context,
|
|
73854
73857
|
class: "tw-w-fit"
|
|
@@ -73863,7 +73866,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73863
73866
|
}
|
|
73864
73867
|
}), gD = /* @__PURE__ */ v(L22, [["__scopeId", "data-v-5c0b33ca"]]);
|
|
73865
73868
|
var T22 = /* @__PURE__ */ $A();
|
|
73866
|
-
const sx = /* @__PURE__ */
|
|
73869
|
+
const sx = /* @__PURE__ */ p9(T22), V22 = "2/1", x22 = /* @__PURE__ */ Q({
|
|
73867
73870
|
__name: "ImagesSection",
|
|
73868
73871
|
props: {
|
|
73869
73872
|
viewModel: {},
|
|
@@ -73947,7 +73950,7 @@ const sx = /* @__PURE__ */ f9(T22), V22 = "2/1", x22 = /* @__PURE__ */ Q({
|
|
|
73947
73950
|
"tw-cursor-pointer": w(Z)
|
|
73948
73951
|
}]),
|
|
73949
73952
|
onClick: (N) => b(Z) ? y(Z) : void 0
|
|
73950
|
-
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : Z.imageUrl && !S(Z.itemsId) ? (C(), $(
|
|
73953
|
+
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : Z.imageUrl && !S(Z.itemsId) ? (C(), $(m9, {
|
|
73951
73954
|
key: 1,
|
|
73952
73955
|
"image-url": Z.imageUrl,
|
|
73953
73956
|
classes: "tw-rounded-md tw-object-cover tw-max-h-full tw-max-w-full",
|
|
@@ -74466,7 +74469,7 @@ const U22 = /* @__PURE__ */ v(R22, [["render", F22], ["__scopeId", "data-v-ef10c
|
|
|
74466
74469
|
onClick: (u) => r(c)
|
|
74467
74470
|
}, [
|
|
74468
74471
|
p("div", ee2, [
|
|
74469
|
-
c.imageUrl ? (C(), $(
|
|
74472
|
+
c.imageUrl ? (C(), $(m9, {
|
|
74470
74473
|
key: 0,
|
|
74471
74474
|
classes: "tw-object-cover tw-w-12",
|
|
74472
74475
|
"image-url": c.imageUrl,
|
|
@@ -74559,7 +74562,7 @@ const U22 = /* @__PURE__ */ v(R22, [["render", F22], ["__scopeId", "data-v-ef10c
|
|
|
74559
74562
|
onClick: v1((u) => r(c), ["stop"])
|
|
74560
74563
|
}, [
|
|
74561
74564
|
c.imageUrl ? (C(), f("div", re2, [
|
|
74562
|
-
c.imageUrl ? (C(), $(
|
|
74565
|
+
c.imageUrl ? (C(), $(m9, {
|
|
74563
74566
|
key: 0,
|
|
74564
74567
|
classes: "tw-object-cover tw-max-h-full tw-max-w-full tw-w-full",
|
|
74565
74568
|
"image-url": c.imageUrl,
|
|
@@ -75174,7 +75177,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75174
75177
|
}
|
|
75175
75178
|
console.error("Unexpected payment provider details"), a.state = n.PaymentOptionSelection;
|
|
75176
75179
|
} catch (w) {
|
|
75177
|
-
console.error(w), w instanceof Error &&
|
|
75180
|
+
console.error(w), w instanceof Error && D9.safeSendRaygunError(w), a.state = n.PaymentOptionSelection;
|
|
75178
75181
|
}
|
|
75179
75182
|
}, u = L(() => i.successMessage ? i.successMessage : P0("paymentSuccessMessage")), h = L(() => P0("paymentFailedMessage")), m = () => {
|
|
75180
75183
|
a.state = n.Success, s.resetCart();
|
|
@@ -75222,7 +75225,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75222
75225
|
T(I(q1), {
|
|
75223
75226
|
size: "medium",
|
|
75224
75227
|
class: "tw-mt-3 tw-mb-4 tw-py-3 tw-cursor-pointer tw-rounded",
|
|
75225
|
-
style: V1(e.buttonStyle
|
|
75228
|
+
style: V1(e.buttonStyle),
|
|
75226
75229
|
label: I(P0)("done"),
|
|
75227
75230
|
attrs: {
|
|
75228
75231
|
"data-test-tag": "done-btn"
|
|
@@ -75239,7 +75242,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75239
75242
|
T(I(q1), {
|
|
75240
75243
|
size: "medium",
|
|
75241
75244
|
class: "tw-mt-3 tw-mb-4 tw-py-3 tw-cursor-pointer tw-rounded",
|
|
75242
|
-
style: V1(e.buttonStyle
|
|
75245
|
+
style: V1(e.buttonStyle),
|
|
75243
75246
|
label: I(P0)("done"),
|
|
75244
75247
|
attrs: {
|
|
75245
75248
|
"data-test-tag": "done-btn"
|
|
@@ -75275,7 +75278,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75275
75278
|
);
|
|
75276
75279
|
a.isActivePaymentProvider = F === w32;
|
|
75277
75280
|
} catch (F) {
|
|
75278
|
-
console.error(F), F instanceof Error &&
|
|
75281
|
+
console.error(F), F instanceof Error && D9.safeSendRaygunError(F);
|
|
75279
75282
|
}
|
|
75280
75283
|
};
|
|
75281
75284
|
ve(() => {
|
|
@@ -75432,7 +75435,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75432
75435
|
key: 3,
|
|
75433
75436
|
class: "modal-payment",
|
|
75434
75437
|
"is-visible": a.isPaymentModalVisible,
|
|
75435
|
-
"button-style":
|
|
75438
|
+
"button-style": y.value,
|
|
75436
75439
|
"description-style": e.viewModel.descriptionStyle,
|
|
75437
75440
|
"shop-payment-config": _.value,
|
|
75438
75441
|
context: e.context,
|
|
@@ -75443,7 +75446,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75443
75446
|
}, null, 8, ["is-visible", "button-style", "description-style", "shop-payment-config", "context", "success-message", "is-shipping-enabled"])) : k("", !0)
|
|
75444
75447
|
]));
|
|
75445
75448
|
}
|
|
75446
|
-
}), v32 = /* @__PURE__ */ v(b32, [["__scopeId", "data-v-
|
|
75449
|
+
}), v32 = /* @__PURE__ */ v(b32, [["__scopeId", "data-v-a880df05"]]), S32 = { "data-component": "booking-section" }, _32 = { class: "tw-flex tw-gap-8 tw-w-full tw-h-full tw-items-center c_banner-container tw-flex-col tw-gap-5" }, M32 = {
|
|
75447
75450
|
key: 2,
|
|
75448
75451
|
class: "tw-w-full tw-flex tw-justify-center"
|
|
75449
75452
|
}, k32 = /* @__PURE__ */ Q({
|
|
@@ -75499,7 +75502,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75499
75502
|
element: "div"
|
|
75500
75503
|
}, null, 8, ["text-style", "text", "slug"])) : k("", !0),
|
|
75501
75504
|
s.value ? (C(), f("div", M32, [
|
|
75502
|
-
T(
|
|
75505
|
+
T(O9, {
|
|
75503
75506
|
"view-model": r.value,
|
|
75504
75507
|
context: e.context,
|
|
75505
75508
|
class: "tw-w-fit"
|
|
@@ -75511,8 +75514,8 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75511
75514
|
}
|
|
75512
75515
|
}), L32 = /* @__PURE__ */ v(k32, [["__scopeId", "data-v-b0d6a7d0"]]), T32 = {
|
|
75513
75516
|
components: {
|
|
75514
|
-
"bp-general-link":
|
|
75515
|
-
"bp-button":
|
|
75517
|
+
"bp-general-link": O9,
|
|
75518
|
+
"bp-button": O9,
|
|
75516
75519
|
"bp-logo": nb,
|
|
75517
75520
|
"bp-mailing-list": CJ1,
|
|
75518
75521
|
"bp-map": vJ1,
|
|
@@ -75537,7 +75540,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75537
75540
|
mixins: [j22]
|
|
75538
75541
|
};
|
|
75539
75542
|
function V32(e, t, n, i, o, s) {
|
|
75540
|
-
return C(), $(
|
|
75543
|
+
return C(), $(C9(`bp-${e.content.type}`), {
|
|
75541
75544
|
"data-component": "page-component",
|
|
75542
75545
|
"brand-page-token": e.brandPageToken,
|
|
75543
75546
|
"container-client-height": e.containerClientHeight,
|
|
@@ -76069,7 +76072,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76069
76072
|
return Zl("createCard", { siteName: u });
|
|
76070
76073
|
}), d = (u) => `https://bcassetcdn.com/assets/images/modal/save-contact@2x.${u}.png`;
|
|
76071
76074
|
ve(() => {
|
|
76072
|
-
const u =
|
|
76075
|
+
const u = a9().toLowerCase(), h = new Image();
|
|
76073
76076
|
h.onload = () => {
|
|
76074
76077
|
s.value = h.src, o.value = !0;
|
|
76075
76078
|
}, h.onerror = () => {
|
|
@@ -76196,7 +76199,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76196
76199
|
n.context.isPreview,
|
|
76197
76200
|
n.context.brandPageType,
|
|
76198
76201
|
n.context.isDesignCom,
|
|
76199
|
-
|
|
76202
|
+
a9(),
|
|
76200
76203
|
"bp-save-contact"
|
|
76201
76204
|
) : "#"), y = L(() => n.buttonStyles?.iconStyle.fill || "");
|
|
76202
76205
|
return (w, b) => r.value ? (C(), f("footer", w42, [
|
|
@@ -76204,7 +76207,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76204
76207
|
style: V1(a.buttonPositionStyle),
|
|
76205
76208
|
class: "tw-w-full tw-max-w-md tw-px-4 tw-pointer-events-auto tw-z-50 tw-flex tw-justify-center"
|
|
76206
76209
|
}, [
|
|
76207
|
-
T(
|
|
76210
|
+
T(O9, {
|
|
76208
76211
|
"view-model": h.value,
|
|
76209
76212
|
context: e.context,
|
|
76210
76213
|
class: "btn-max-width tw-cursor-pointer tw-transition-all tw-duration-100 tw-w-full",
|
|
@@ -77032,7 +77035,7 @@ const s0 = (e) => {
|
|
|
77032
77035
|
isNewPageModalVisible: e,
|
|
77033
77036
|
parentPageId: t
|
|
77034
77037
|
}) {
|
|
77035
|
-
const n =
|
|
77038
|
+
const n = q2(), i = b2(), o = B2(), s = Te(), { maxNumOfPages: r } = o.features;
|
|
77036
77039
|
if (!i.isPrePurchase && r > 0 && e && this.pages.length >= r) {
|
|
77037
77040
|
s.setUpsellBridgeState({
|
|
77038
77041
|
cta_location: P4.ADD_NEW_PAGE,
|
|
@@ -77255,13 +77258,12 @@ const s0 = (e) => {
|
|
|
77255
77258
|
const a = n - t + 1;
|
|
77256
77259
|
return r = r % a, t + r;
|
|
77257
77260
|
}, ax = 6, Y42 = {
|
|
77258
|
-
[
|
|
77259
|
-
[
|
|
77260
|
-
[
|
|
77261
|
+
[F9.all]: "MakerPostPurchaseSidebarTemplatesAllTab",
|
|
77262
|
+
[F9.AI]: "MakerPostPurchaseSidebarTemplatesAiTab",
|
|
77263
|
+
[F9.categories]: "MakerPostPurchaseSidebarTemplatesCategoryTab"
|
|
77261
77264
|
}, X42 = {
|
|
77262
|
-
[
|
|
77263
|
-
[
|
|
77264
|
-
[r9.categories]: "MakerPrePurchaseSidebarTemplatesCategoryTab"
|
|
77265
|
+
[F9.all]: "MakerPrePurchaseSidebarTemplatesAllTab",
|
|
77266
|
+
[F9.categories]: "MakerPrePurchaseSidebarTemplatesCategoryTab"
|
|
77265
77267
|
}, lx = 250, u6 = r3("uiTemplateSettings", {
|
|
77266
77268
|
state: () => ({
|
|
77267
77269
|
isBusy: !1,
|
|
@@ -77361,7 +77363,7 @@ const s0 = (e) => {
|
|
|
77361
77363
|
isUserDraft: !1,
|
|
77362
77364
|
isServerRender: !1
|
|
77363
77365
|
}
|
|
77364
|
-
), o =
|
|
77366
|
+
), o = q2(), s = o.personalisationData ? await Pc(
|
|
77365
77367
|
e.token,
|
|
77366
77368
|
o.personalisationData.length
|
|
77367
77369
|
) : void 0;
|
|
@@ -77383,7 +77385,7 @@ const s0 = (e) => {
|
|
|
77383
77385
|
}, lx);
|
|
77384
77386
|
return;
|
|
77385
77387
|
}
|
|
77386
|
-
const l =
|
|
77388
|
+
const l = q2();
|
|
77387
77389
|
if (!(this.pageNoLoaded >= e)) {
|
|
77388
77390
|
if (this.isBusy) {
|
|
77389
77391
|
process.env.NODE_ENV !== "production" && console.warn("template settings state is busy");
|
|
@@ -77393,14 +77395,14 @@ const s0 = (e) => {
|
|
|
77393
77395
|
throw new Error("templateType is not set");
|
|
77394
77396
|
this._setIsBusy({ isBusy: !0 });
|
|
77395
77397
|
try {
|
|
77396
|
-
const d = UL(), c =
|
|
77398
|
+
const d = UL(), c = a9(), u = s.logoTemplateAsset?.isByo ?? !1, h = s.logoTemplateAsset?.token ?? void 0, m = o.selectedLogoImage.logoVariation;
|
|
77397
77399
|
if (!u && await r.refreshS3TokenIfExpiredAsync(m)) {
|
|
77398
77400
|
setTimeout(() => {
|
|
77399
77401
|
this.loadPageNo({ pageNo: e });
|
|
77400
77402
|
}, lx);
|
|
77401
77403
|
return;
|
|
77402
77404
|
}
|
|
77403
|
-
const g = r.editableLogoVariations[m], y = n.isPrePurchase, w = this.templateType === _92, b = !this.searchTerm && !this.selectedCategory && y && w && this.selectedTab.key ===
|
|
77405
|
+
const g = r.editableLogoVariations[m], y = n.isPrePurchase, w = this.templateType === _92, b = !this.searchTerm && !this.selectedCategory && y && w && this.selectedTab.key === F9.all ? this.initialSearchTerm : this.searchTerm, M = w ? (y ? X42 : Y42)[this.selectedTab.key] : void 0, S = w ? y ? "maker-pre-purchase" : "maker" : void 0, _ = {
|
|
77404
77406
|
page: e,
|
|
77405
77407
|
categoryName: this.selectedCategory,
|
|
77406
77408
|
searchTerm: b,
|
|
@@ -77411,7 +77413,7 @@ const s0 = (e) => {
|
|
|
77411
77413
|
locale: c,
|
|
77412
77414
|
logoS3Token: u ? void 0 : g.s3Token,
|
|
77413
77415
|
logoTemplateToken: u ? h : void 0,
|
|
77414
|
-
useLogoForRecommendedTemplates: w && this.selectedTab.key ===
|
|
77416
|
+
useLogoForRecommendedTemplates: w && this.selectedTab.key === F9.all,
|
|
77415
77417
|
pageSection: M,
|
|
77416
77418
|
pageName: S
|
|
77417
77419
|
}, x = await d.getTemplateItemsByTemplateType(
|
|
@@ -77419,7 +77421,7 @@ const s0 = (e) => {
|
|
|
77419
77421
|
{
|
|
77420
77422
|
..._,
|
|
77421
77423
|
pageSize: ax,
|
|
77422
|
-
personalisable: this.selectedTab.key ===
|
|
77424
|
+
personalisable: this.selectedTab.key === F9.AI
|
|
77423
77425
|
}
|
|
77424
77426
|
);
|
|
77425
77427
|
if (!x)
|
|
@@ -77447,7 +77449,7 @@ const s0 = (e) => {
|
|
|
77447
77449
|
return l.personalisationData?.length ? (F = await Pc(
|
|
77448
77450
|
N.designTemplateToken,
|
|
77449
77451
|
l.personalisationData.length
|
|
77450
|
-
), Y = l.personalisationData[F].contentKey) : N.isPersonalisable &&
|
|
77452
|
+
), Y = l.personalisationData[F].contentKey) : N.isPersonalisable && (Y = l.userPromptContentKey), {
|
|
77451
77453
|
id: N.designTemplateToken,
|
|
77452
77454
|
isPersonalisable: N.isPersonalisable,
|
|
77453
77455
|
contentKey: Y,
|
|
@@ -77455,7 +77457,7 @@ const s0 = (e) => {
|
|
|
77455
77457
|
// in the userPrompt bucket (post- or pre-purchase). The preview must
|
|
77456
77458
|
// then resolve via userPromptContentKey, not the regular bucket which
|
|
77457
77459
|
// holds placeholders post-purchase (bp-5454).
|
|
77458
|
-
usesUserPromptContentKey: !!l.userPromptContentKey
|
|
77460
|
+
usesUserPromptContentKey: !!l.userPromptContentKey,
|
|
77459
77461
|
previewImageUrl: N.previewImageUrl
|
|
77460
77462
|
};
|
|
77461
77463
|
}
|
|
@@ -77465,7 +77467,7 @@ const s0 = (e) => {
|
|
|
77465
77467
|
})
|
|
77466
77468
|
)).filter(
|
|
77467
77469
|
(N) => N !== null
|
|
77468
|
-
), Z = this.selectedTab.key ===
|
|
77470
|
+
), Z = this.selectedTab.key === F9.categories ? D.map((N) => ({ ...N, isPersonalisable: !1 })) : D;
|
|
77469
77471
|
this._addTemplates({ templates: Z }), this._setPageNoLoaded({ pageNoLoaded: e });
|
|
77470
77472
|
} finally {
|
|
77471
77473
|
this._setIsBusy({ isBusy: !1 });
|
|
@@ -77484,7 +77486,7 @@ const s0 = (e) => {
|
|
|
77484
77486
|
}
|
|
77485
77487
|
},
|
|
77486
77488
|
async onTemplateSelected(e) {
|
|
77487
|
-
await
|
|
77489
|
+
await q2().onTemplateSelected({
|
|
77488
77490
|
templateId: e.templateId,
|
|
77489
77491
|
forceApply: e.forceApply
|
|
77490
77492
|
}), e.forceApply && (await this._setTemplates({
|
|
@@ -77507,7 +77509,7 @@ const s0 = (e) => {
|
|
|
77507
77509
|
categoryName: void 0
|
|
77508
77510
|
}), await this._setSearchTerm({
|
|
77509
77511
|
searchTerm: e.searchTerm
|
|
77510
|
-
}), this.
|
|
77512
|
+
}), this.onSearchTermChanged?.(e.searchTerm), await this._setPageNo({ pageNo: 1 }), await this.loadPageNo({ pageNo: 1 });
|
|
77511
77513
|
},
|
|
77512
77514
|
async onTabSelected(e) {
|
|
77513
77515
|
this._setSelectedTab({
|
|
@@ -77630,7 +77632,7 @@ const s0 = (e) => {
|
|
|
77630
77632
|
}),
|
|
77631
77633
|
actions: {
|
|
77632
77634
|
initialise(e) {
|
|
77633
|
-
const t = c5(), n =
|
|
77635
|
+
const t = c5(), n = y9();
|
|
77634
77636
|
if (process.env.NODE_ENV !== "production" && (typeof t.baseBrandPageDomain != "string" && console.error("brandPageBaseUrl should not be undefined"), !e.isPrePurchase && typeof t.upgradeSubscriptionUrlPath != "string" && console.error("upgradeUrl should not be undefined"), !e.isPrePurchase && (typeof e.logoDraftToken != "string" || !e.logoDraftToken)))
|
|
77635
77637
|
throw new Error("logoDraftToken should be defined");
|
|
77636
77638
|
const i = c2(), o = u6();
|
|
@@ -77645,7 +77647,7 @@ const s0 = (e) => {
|
|
|
77645
77647
|
}), i.setSelectedTemplateId({
|
|
77646
77648
|
templateId: this.designTemplateToken
|
|
77647
77649
|
});
|
|
77648
|
-
const r =
|
|
77650
|
+
const r = q2();
|
|
77649
77651
|
e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), e?.gettyVideos?.forEach(
|
|
77650
77652
|
(a) => n.setVideoUrlsWithToken(
|
|
77651
77653
|
a.token,
|
|
@@ -77701,7 +77703,7 @@ const s0 = (e) => {
|
|
|
77701
77703
|
this.sensitiveContent = e.sensitiveContentType;
|
|
77702
77704
|
},
|
|
77703
77705
|
setLogoDraftToken(e) {
|
|
77704
|
-
|
|
77706
|
+
q2().setLogoDraftToken(e);
|
|
77705
77707
|
},
|
|
77706
77708
|
setBackUrl(e) {
|
|
77707
77709
|
const t = c5();
|
|
@@ -77919,7 +77921,7 @@ const s0 = (e) => {
|
|
|
77919
77921
|
window && t && (window.location.href = t);
|
|
77920
77922
|
},
|
|
77921
77923
|
async exportDesignAsync() {
|
|
77922
|
-
const e =
|
|
77924
|
+
const e = q2(), t = c2(), n = u4();
|
|
77923
77925
|
await t.validateContentItems(), await t.validateBrandPageData();
|
|
77924
77926
|
const i = Ge(t.brandPageData);
|
|
77925
77927
|
let o;
|
|
@@ -79120,7 +79122,7 @@ const s0 = (e) => {
|
|
|
79120
79122
|
}), n;
|
|
79121
79123
|
}
|
|
79122
79124
|
return t;
|
|
79123
|
-
}, kl = "https://bc-getty-media.brandcrowd.com", sb = 5,
|
|
79125
|
+
}, kl = "https://bc-getty-media.brandcrowd.com", sb = 5, y9 = r3("video", {
|
|
79124
79126
|
state: () => ({
|
|
79125
79127
|
videoUrls: {},
|
|
79126
79128
|
gettyImagesKeyPrefix: "",
|
|
@@ -79184,7 +79186,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79184
79186
|
}),
|
|
79185
79187
|
actions: {
|
|
79186
79188
|
onContentChanged() {
|
|
79187
|
-
|
|
79189
|
+
q2().onContentChanged();
|
|
79188
79190
|
},
|
|
79189
79191
|
_addItem({
|
|
79190
79192
|
item: e,
|
|
@@ -79218,7 +79220,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79218
79220
|
return;
|
|
79219
79221
|
}
|
|
79220
79222
|
if (!t.settings.fields[e.name]) {
|
|
79221
|
-
if (!
|
|
79223
|
+
if (!B9()[t.type]) {
|
|
79222
79224
|
if (process.env.NODE_ENV !== "production")
|
|
79223
79225
|
throw new Error(
|
|
79224
79226
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -79313,7 +79315,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79313
79315
|
media: t
|
|
79314
79316
|
}), t.type === "getty-video") {
|
|
79315
79317
|
const o = t;
|
|
79316
|
-
|
|
79318
|
+
y9().setVideoUrlsWithToken(
|
|
79317
79319
|
o.token,
|
|
79318
79320
|
o.videoSrc,
|
|
79319
79321
|
o.imageSrc,
|
|
@@ -79490,7 +79492,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79490
79492
|
userState: n.$state,
|
|
79491
79493
|
brandPageType: i.brandPageType,
|
|
79492
79494
|
buttonFillColor: o.buttonFillColor
|
|
79493
|
-
}), a =
|
|
79495
|
+
}), a = B9()[r.type], l = Object.keys(
|
|
79494
79496
|
r
|
|
79495
79497
|
).filter((h) => vg.every((m) => m !== h)).reduce((h, m) => (h[m] = {
|
|
79496
79498
|
isValid: !0,
|
|
@@ -79529,7 +79531,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79529
79531
|
});
|
|
79530
79532
|
},
|
|
79531
79533
|
updateIsDefaultTextColorRequired() {
|
|
79532
|
-
const e =
|
|
79534
|
+
const e = q2(), t = this.items.some(
|
|
79533
79535
|
(n) => g52.some(
|
|
79534
79536
|
(i) => i === n.settings.content.type
|
|
79535
79537
|
)
|
|
@@ -79575,7 +79577,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79575
79577
|
throw new Error("content item id should be unique");
|
|
79576
79578
|
}
|
|
79577
79579
|
e.items.forEach((t) => {
|
|
79578
|
-
const n =
|
|
79580
|
+
const n = B9()[t.type];
|
|
79579
79581
|
if (!n) {
|
|
79580
79582
|
process.env.NODE_ENV !== "production" && console.error(
|
|
79581
79583
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -79598,7 +79600,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79598
79600
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
|
|
79599
79601
|
return;
|
|
79600
79602
|
}
|
|
79601
|
-
const i =
|
|
79603
|
+
const i = B9()[n.type];
|
|
79602
79604
|
if (!i) {
|
|
79603
79605
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate config by type '${n.type}'`);
|
|
79604
79606
|
return;
|
|
@@ -79625,7 +79627,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79625
79627
|
await Promise.all(e);
|
|
79626
79628
|
},
|
|
79627
79629
|
async triggerLockedContentClickedEvent(e) {
|
|
79628
|
-
await
|
|
79630
|
+
await q2().triggerLockedContentClickedEvent(e);
|
|
79629
79631
|
},
|
|
79630
79632
|
setActiveCategoryTab(e) {
|
|
79631
79633
|
!this.addContentOptions.some(
|
|
@@ -79651,7 +79653,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79651
79653
|
this.itemStates[e.id] || (this.setItemState({
|
|
79652
79654
|
id: e.id,
|
|
79653
79655
|
itemState: { ...IB1(), ...t || {} }
|
|
79654
|
-
}),
|
|
79656
|
+
}), B9()[e.type].fieldGroups?.map((n) => n.id).forEach(
|
|
79655
79657
|
(n) => this.initialiseItemGroupState({ id: e.id, groupId: n })
|
|
79656
79658
|
));
|
|
79657
79659
|
},
|
|
@@ -79716,7 +79718,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79716
79718
|
selectedItemTemplate() {
|
|
79717
79719
|
const e = this.selectedItem;
|
|
79718
79720
|
if (e)
|
|
79719
|
-
return
|
|
79721
|
+
return B9()[e.type];
|
|
79720
79722
|
}
|
|
79721
79723
|
}
|
|
79722
79724
|
}), m52 = {
|
|
@@ -79747,7 +79749,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79747
79749
|
},
|
|
79748
79750
|
actions: {
|
|
79749
79751
|
onBackgroundChanged() {
|
|
79750
|
-
|
|
79752
|
+
q2().onBackgroundChanged();
|
|
79751
79753
|
},
|
|
79752
79754
|
setBackgroundStyle({
|
|
79753
79755
|
backgroundStyle: e
|
|
@@ -79898,7 +79900,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79898
79900
|
setBackgroundMedia(e) {
|
|
79899
79901
|
if (e.type === "getty-video") {
|
|
79900
79902
|
const t = e;
|
|
79901
|
-
|
|
79903
|
+
y9().setVideoUrlsWithToken(
|
|
79902
79904
|
t.token,
|
|
79903
79905
|
t.videoSrc,
|
|
79904
79906
|
t.imageSrc,
|
|
@@ -79948,7 +79950,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79948
79950
|
}),
|
|
79949
79951
|
actions: {
|
|
79950
79952
|
async redirectToCreateNewDesignPage() {
|
|
79951
|
-
await
|
|
79953
|
+
await q2().redirectToCreateNewDesignPage();
|
|
79952
79954
|
},
|
|
79953
79955
|
setState(e) {
|
|
79954
79956
|
e.newState.selectedLogoImage || process.env.NODE_ENV !== "production" && console.error(
|
|
@@ -80068,7 +80070,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80068
80070
|
});
|
|
80069
80071
|
},
|
|
80070
80072
|
applyLogoDesignAttributes(e) {
|
|
80071
|
-
const t =
|
|
80073
|
+
const t = q2(), n = H4();
|
|
80072
80074
|
t.setLogoTheme({
|
|
80073
80075
|
logoTheme: G9(e.logoTheme)
|
|
80074
80076
|
}), n.setRecommendedLogoColors({
|
|
@@ -80079,7 +80081,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80079
80081
|
},
|
|
80080
80082
|
// TODO: check if its needed. looks like there is no reference
|
|
80081
80083
|
setLogoVariation(e) {
|
|
80082
|
-
const t =
|
|
80084
|
+
const t = q2(), n = _e();
|
|
80083
80085
|
t.setLogoDraftToken({
|
|
80084
80086
|
logoDraftToken: e.logoImage.logoDraftToken
|
|
80085
80087
|
}), this.setSelectedLogoImageToAll({
|
|
@@ -80162,7 +80164,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80162
80164
|
}, e);
|
|
80163
80165
|
}), y52 = () => {
|
|
80164
80166
|
const e = B2(), t = c2(), n = e.features;
|
|
80165
|
-
return Object.values(
|
|
80167
|
+
return Object.values(B9()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
|
|
80166
80168
|
(i) => i.brandPageType === void 0 || i.brandPageType.includes(t.brandPageType)
|
|
80167
80169
|
);
|
|
80168
80170
|
}, w52 = (e) => {
|
|
@@ -80229,7 +80231,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80229
80231
|
});
|
|
80230
80232
|
},
|
|
80231
80233
|
selectPreviewLogoTemplateModel(e) {
|
|
80232
|
-
const t =
|
|
80234
|
+
const t = q2(), n = W3(), i = H4(), o = this.previewLogoTemplateModels.find(
|
|
80233
80235
|
(a) => a.logoTemplateToken === e.logoTemplateToken
|
|
80234
80236
|
);
|
|
80235
80237
|
if (!o) {
|
|
@@ -80569,7 +80571,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80569
80571
|
);
|
|
80570
80572
|
},
|
|
80571
80573
|
async applySelectedTemplate() {
|
|
80572
|
-
const e =
|
|
80574
|
+
const e = q2(), t = W3(), n = z4(), i = u6(), o = A9(), s = H4(), r = B2(), a = b2(), l = Pe(), d = X4(), c = E4();
|
|
80573
80575
|
if (!this.selectedTemplateId)
|
|
80574
80576
|
return;
|
|
80575
80577
|
let u = i.getTemplateByTemplateId(
|
|
@@ -80674,7 +80676,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80674
80676
|
newState: {
|
|
80675
80677
|
navigation: {
|
|
80676
80678
|
[V2.header]: {
|
|
80677
|
-
[K1.desktop]: new
|
|
80679
|
+
[K1.desktop]: new c9(
|
|
80678
80680
|
h.pageHeaderDesktop.navigation
|
|
80679
80681
|
),
|
|
80680
80682
|
[K1.mobile]: new q7(
|
|
@@ -80782,7 +80784,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80782
80784
|
e.baselineCaptured && e.captureTemplateSwitch();
|
|
80783
80785
|
},
|
|
80784
80786
|
async applyHistorySnapshot(e, t, n, i) {
|
|
80785
|
-
const o = z4(), s =
|
|
80787
|
+
const o = z4(), s = A9(), r = H4(), a = h3(), l = u4();
|
|
80786
80788
|
this.initialisePagesForCurrentPage({
|
|
80787
80789
|
pages: e.pages,
|
|
80788
80790
|
sections: {
|
|
@@ -80796,7 +80798,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80796
80798
|
}
|
|
80797
80799
|
}
|
|
80798
80800
|
}), a.setNav({ nav: e.nav }), s.$patch((d) => {
|
|
80799
|
-
d.navigation[V2.header][K1.desktop] = new
|
|
80801
|
+
d.navigation[V2.header][K1.desktop] = new c9(e.pageHeaderDesktop?.navigation), d.navigation[V2.header][K1.mobile] = new q7(e.pageHeaderMobile?.navigation);
|
|
80800
80802
|
}), o.$patch((d) => {
|
|
80801
80803
|
d.buttonStyles = e.styles.buttonStyles, d.logoStyles = e.styles.logoStyles, d.textStyles = e.styles.textStyles, d.galleryStyles = e.styles.galleryStyles;
|
|
80802
80804
|
}), r.$patch((d) => {
|
|
@@ -80891,7 +80893,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80891
80893
|
// TODO: refactor and extend this method for initialise stores.
|
|
80892
80894
|
// TODO: waiting to do undo/redo feature to extend this functionality
|
|
80893
80895
|
async initialiseStoresByBrandPageModelAsync(e) {
|
|
80894
|
-
const t = h3(), n = H4(), i = z4(), o =
|
|
80896
|
+
const t = h3(), n = H4(), i = z4(), o = A9();
|
|
80895
80897
|
t.setNav({ nav: e.nav }), this.initialisePagesForCurrentPage({
|
|
80896
80898
|
pages: e.pages,
|
|
80897
80899
|
sections: {
|
|
@@ -80970,7 +80972,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80970
80972
|
shopConfigData: m,
|
|
80971
80973
|
isServerRenderOverride: g = !1
|
|
80972
80974
|
}) {
|
|
80973
|
-
const y = b2(), w = B2(), b =
|
|
80975
|
+
const y = b2(), w = B2(), b = q2(), M = u6(), S = W3(), _ = X4(), x = H4(), H = z4(), D = A9();
|
|
80974
80976
|
A4(), D.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
80975
80977
|
try {
|
|
80976
80978
|
const Z = G9(
|
|
@@ -81229,7 +81231,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81229
81231
|
);
|
|
81230
81232
|
},
|
|
81231
81233
|
setViewport(e) {
|
|
81232
|
-
const t =
|
|
81234
|
+
const t = q2();
|
|
81233
81235
|
this.viewport = e.viewport, typeof window < "u" && window.innerWidth >= Vm ? t.setDeviceMode({
|
|
81234
81236
|
mode: Kt[e.viewport]
|
|
81235
81237
|
}) : t.setDeviceMode({
|
|
@@ -81266,29 +81268,30 @@ const Pe = r3("uiContentSettings", {
|
|
|
81266
81268
|
);
|
|
81267
81269
|
},
|
|
81268
81270
|
brandPageData() {
|
|
81269
|
-
const e = _e(), t = H4(), n = z4(), i =
|
|
81270
|
-
...
|
|
81271
|
-
contents:
|
|
81272
|
-
})),
|
|
81271
|
+
const e = _e(), t = H4(), n = z4(), i = A9(), o = u4(), s = h3(), r = q2(), a = e.pages.map((y) => ({
|
|
81272
|
+
...y,
|
|
81273
|
+
contents: y.contents.map((w) => w.settings.content)
|
|
81274
|
+
})), l = t.backgroundStyles, d = n.logoStyles, c = n.buttonStyles, u = n.textStyles, h = n.galleryStyles, m = i.navigation, g = s.nav;
|
|
81273
81275
|
return {
|
|
81274
81276
|
v: Fd(),
|
|
81275
|
-
|
|
81277
|
+
userPromptContentKey: r.userPromptContentKey,
|
|
81278
|
+
pages: a,
|
|
81276
81279
|
styles: {
|
|
81277
|
-
logoStyles:
|
|
81278
|
-
buttonStyles:
|
|
81279
|
-
backgroundStyles:
|
|
81280
|
-
textStyles:
|
|
81281
|
-
galleryStyles:
|
|
81280
|
+
logoStyles: d,
|
|
81281
|
+
buttonStyles: c,
|
|
81282
|
+
backgroundStyles: l,
|
|
81283
|
+
textStyles: u,
|
|
81284
|
+
galleryStyles: h
|
|
81282
81285
|
},
|
|
81283
81286
|
pageHeaderDesktop: Object.assign(
|
|
81284
81287
|
{},
|
|
81285
81288
|
e.sections[V2.header][K1.desktop],
|
|
81286
|
-
{ navigation:
|
|
81289
|
+
{ navigation: m[V2.header][K1.desktop] }
|
|
81287
81290
|
),
|
|
81288
81291
|
pageHeaderMobile: Object.assign(
|
|
81289
81292
|
{},
|
|
81290
81293
|
e.sections[V2.header][K1.mobile],
|
|
81291
|
-
{ navigation:
|
|
81294
|
+
{ navigation: m[V2.header][K1.mobile] }
|
|
81292
81295
|
),
|
|
81293
81296
|
pageFooterDesktop: e.sections[V2.footer][K1.desktop],
|
|
81294
81297
|
pageFooterMobile: e.sections[V2.footer][K1.mobile],
|
|
@@ -81303,7 +81306,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81303
81306
|
cookieOptions: this.cookieOptions,
|
|
81304
81307
|
saveContactSettings: this.saveContactSettings,
|
|
81305
81308
|
paymentConfig: o.paymentConfig,
|
|
81306
|
-
nav:
|
|
81309
|
+
nav: g
|
|
81307
81310
|
};
|
|
81308
81311
|
},
|
|
81309
81312
|
brandPageToken() {
|
|
@@ -81316,7 +81319,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81316
81319
|
return b2().brandPageSlug || "";
|
|
81317
81320
|
},
|
|
81318
81321
|
brandPageTemplate() {
|
|
81319
|
-
const e = _e(), t = H4(), n = z4(), i =
|
|
81322
|
+
const e = _e(), t = H4(), n = z4(), i = A9(), o = e.pages.map((m) => ({
|
|
81320
81323
|
...m,
|
|
81321
81324
|
contents: m.contents.map((g) => g.settings.content).map(Ux1).map(zx1)
|
|
81322
81325
|
})), s = t.backgroundStyles, r = n.logoStyles, a = n.buttonStyles, l = n.textStyles, d = n.galleryStyles, c = i.navigation, h = h3().nav;
|
|
@@ -81376,7 +81379,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81376
81379
|
return b2().brandPageTitle;
|
|
81377
81380
|
},
|
|
81378
81381
|
brandPageViewModel() {
|
|
81379
|
-
const e = B2(), t =
|
|
81382
|
+
const e = B2(), t = q2(), n = y9(), i = b2();
|
|
81380
81383
|
if (e.isAdmin && t.logoTheme) {
|
|
81381
81384
|
const s = _t(
|
|
81382
81385
|
t.logoTheme,
|
|
@@ -81436,7 +81439,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81436
81439
|
return An(this.brandPageData, "gettyAssetId");
|
|
81437
81440
|
},
|
|
81438
81441
|
isInteractivePreviewEnabled() {
|
|
81439
|
-
return
|
|
81442
|
+
return q2().screenSizeMode !== D7.mobile;
|
|
81440
81443
|
},
|
|
81441
81444
|
isProduction() {
|
|
81442
81445
|
return b2().isProduction;
|
|
@@ -81465,7 +81468,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81465
81468
|
return !e.isAdmin && e.features.showBrandCrowdLogo;
|
|
81466
81469
|
}
|
|
81467
81470
|
}
|
|
81468
|
-
}),
|
|
81471
|
+
}), q2 = r3("ui", {
|
|
81469
81472
|
state: () => ({
|
|
81470
81473
|
deviceMode: Kt.desktop,
|
|
81471
81474
|
screenSizeMode: D7.desktop,
|
|
@@ -82200,8 +82203,8 @@ const si = r3("snapshot", {
|
|
|
82200
82203
|
},
|
|
82201
82204
|
{
|
|
82202
82205
|
title: "",
|
|
82203
|
-
value:
|
|
82204
|
-
isSelected: e ===
|
|
82206
|
+
value: l9,
|
|
82207
|
+
isSelected: e === l9,
|
|
82205
82208
|
iconName: "display-style-banner-4",
|
|
82206
82209
|
iconViewBox: "0 0 110 64",
|
|
82207
82210
|
dataAttribute: "data-test-btn-full-image"
|
|
@@ -82253,7 +82256,7 @@ const si = r3("snapshot", {
|
|
|
82253
82256
|
convertBack(e) {
|
|
82254
82257
|
const t = e.options.find((o) => o.isSelected);
|
|
82255
82258
|
let n = "left";
|
|
82256
|
-
(!t || t.value === ze || t.value ===
|
|
82259
|
+
(!t || t.value === ze || t.value === l9 || t.value === m3 || t.value === Ul || t.value === zl || t.value === ql || t.value === Qi || t.value === eo || t.value === to) && (n = "center");
|
|
82257
82260
|
const i = WE(t?.value);
|
|
82258
82261
|
return {
|
|
82259
82262
|
displayStyle: t?.value,
|
|
@@ -82426,7 +82429,7 @@ const si = r3("snapshot", {
|
|
|
82426
82429
|
}, Tm = {
|
|
82427
82430
|
convertBackToMultipleValues: !1,
|
|
82428
82431
|
convert(e) {
|
|
82429
|
-
return e.fontSize ? Math.ceil(parseFloat(
|
|
82432
|
+
return e.fontSize ? Math.ceil(parseFloat(E9(e.fontSize))).toString() : jE.toString();
|
|
82430
82433
|
},
|
|
82431
82434
|
convertBack(e) {
|
|
82432
82435
|
return {
|
|
@@ -82878,8 +82881,8 @@ const si = r3("snapshot", {
|
|
|
82878
82881
|
},
|
|
82879
82882
|
{
|
|
82880
82883
|
title: R3("bigImage"),
|
|
82881
|
-
value:
|
|
82882
|
-
isSelected: e ===
|
|
82884
|
+
value: l9,
|
|
82885
|
+
isSelected: e === l9,
|
|
82883
82886
|
iconName: "testimonial-big-image",
|
|
82884
82887
|
iconViewBox: "0 0 94 24",
|
|
82885
82888
|
dataAttribute: "data-test-btn-big-image"
|
|
@@ -82944,7 +82947,7 @@ const si = r3("snapshot", {
|
|
|
82944
82947
|
}, PD = (e) => e?.buttonLinkType !== Ce.page && e?.buttonText !== !1 && e?.buttonText !== "", AD = (e) => e?.buttonLinkType === Ce.page && e?.buttonText !== !1 && e?.buttonText.length > 0, $D = (e) => e?.buttonText !== "" && e?.buttonText !== !1, v62 = (e) => e?.displayStyle === m3 || e?.displayStyle === jt, Ux = (e) => !!((e.media?.type === "getty-video" || e.imageUrl) && [
|
|
82945
82948
|
m3,
|
|
82946
82949
|
jt,
|
|
82947
|
-
|
|
82950
|
+
l9,
|
|
82948
82951
|
Vn
|
|
82949
82952
|
].includes(e.displayStyle)), BD = (e) => e ? e.displayStyle !== X9 : !1, OD = (e) => {
|
|
82950
82953
|
switch (e?.buttonLinkType) {
|
|
@@ -83517,7 +83520,7 @@ const si = r3("snapshot", {
|
|
|
83517
83520
|
type: "website",
|
|
83518
83521
|
brandPageType: [l1.default, l1.brandContact],
|
|
83519
83522
|
category: "general",
|
|
83520
|
-
createInitialContent: (e) =>
|
|
83523
|
+
createInitialContent: (e) => h9("website", "globe", e)(),
|
|
83521
83524
|
displayMode: je.focused,
|
|
83522
83525
|
displayName: O("websiteDisplayName"),
|
|
83523
83526
|
defaultIconName: "maker-globe",
|
|
@@ -83566,7 +83569,7 @@ const si = r3("snapshot", {
|
|
|
83566
83569
|
type: "email",
|
|
83567
83570
|
brandPageType: [l1.default, l1.brandContact],
|
|
83568
83571
|
category: "general",
|
|
83569
|
-
createInitialContent: (e) =>
|
|
83572
|
+
createInitialContent: (e) => h9("email", "email", e)(),
|
|
83570
83573
|
displayMode: je.focused,
|
|
83571
83574
|
displayName: O("emailDisplayName"),
|
|
83572
83575
|
defaultIconName: "maker-email",
|
|
@@ -83694,7 +83697,7 @@ const si = r3("snapshot", {
|
|
|
83694
83697
|
displayStyle: {
|
|
83695
83698
|
type: "radio",
|
|
83696
83699
|
role: "multi",
|
|
83697
|
-
defaultValue:
|
|
83700
|
+
defaultValue: d9,
|
|
83698
83701
|
title: O("displayStyleTitle"),
|
|
83699
83702
|
optionsConvertor: yC
|
|
83700
83703
|
},
|
|
@@ -83724,7 +83727,7 @@ const si = r3("snapshot", {
|
|
|
83724
83727
|
type: "phone",
|
|
83725
83728
|
brandPageType: [l1.default, l1.brandContact],
|
|
83726
83729
|
category: "general",
|
|
83727
|
-
createInitialContent: (e) =>
|
|
83730
|
+
createInitialContent: (e) => h9("phone", "phone", e)(),
|
|
83728
83731
|
displayMode: je.focused,
|
|
83729
83732
|
displayName: O("phoneDisplayName"),
|
|
83730
83733
|
defaultIconName: "phone",
|
|
@@ -83865,7 +83868,7 @@ const si = r3("snapshot", {
|
|
|
83865
83868
|
type: "facebook",
|
|
83866
83869
|
brandPageType: [l1.default, l1.brandContact],
|
|
83867
83870
|
category: "social-links",
|
|
83868
|
-
createInitialContent: (e) =>
|
|
83871
|
+
createInitialContent: (e) => h9("facebook", "facebook", e)(),
|
|
83869
83872
|
displayMode: je.focused,
|
|
83870
83873
|
displayName: O("facebookDisplayName"),
|
|
83871
83874
|
defaultIconName: "maker-facebook",
|
|
@@ -83914,7 +83917,7 @@ const si = r3("snapshot", {
|
|
|
83914
83917
|
brandPageType: [l1.default, l1.brandContact],
|
|
83915
83918
|
category: "social-links",
|
|
83916
83919
|
displayMode: je.focused,
|
|
83917
|
-
createInitialContent: (e) =>
|
|
83920
|
+
createInitialContent: (e) => h9("x", "x", e)(),
|
|
83918
83921
|
displayName: O("twitterDisplayName"),
|
|
83919
83922
|
defaultIconName: "maker-twitter",
|
|
83920
83923
|
fieldGroups: w4(),
|
|
@@ -83961,7 +83964,7 @@ const si = r3("snapshot", {
|
|
|
83961
83964
|
type: "instagram",
|
|
83962
83965
|
brandPageType: [l1.default, l1.brandContact],
|
|
83963
83966
|
category: "social-links",
|
|
83964
|
-
createInitialContent: (e) =>
|
|
83967
|
+
createInitialContent: (e) => h9("instagram", "instagram", e)(),
|
|
83965
83968
|
displayMode: je.focused,
|
|
83966
83969
|
displayName: O("instagramDisplayName"),
|
|
83967
83970
|
defaultIconName: "maker-instagram",
|
|
@@ -84009,7 +84012,7 @@ const si = r3("snapshot", {
|
|
|
84009
84012
|
type: "youtube",
|
|
84010
84013
|
brandPageType: [l1.default, l1.brandContact],
|
|
84011
84014
|
category: "social-links",
|
|
84012
|
-
createInitialContent: (e) =>
|
|
84015
|
+
createInitialContent: (e) => h9("youtube", "youtube", e)(),
|
|
84013
84016
|
displayMode: je.focused,
|
|
84014
84017
|
displayName: O("youtubeDisplayName"),
|
|
84015
84018
|
defaultIconName: "maker-youtube",
|
|
@@ -84057,7 +84060,7 @@ const si = r3("snapshot", {
|
|
|
84057
84060
|
type: "linkedin",
|
|
84058
84061
|
brandPageType: [l1.default, l1.brandContact],
|
|
84059
84062
|
category: "social-links",
|
|
84060
|
-
createInitialContent: (e) =>
|
|
84063
|
+
createInitialContent: (e) => h9("linkedin", "linkedin", e)(),
|
|
84061
84064
|
displayMode: je.focused,
|
|
84062
84065
|
displayName: O("linkedinDisplayName"),
|
|
84063
84066
|
defaultIconName: "maker-linkedin",
|
|
@@ -84105,7 +84108,7 @@ const si = r3("snapshot", {
|
|
|
84105
84108
|
type: "pinterest",
|
|
84106
84109
|
brandPageType: [l1.default, l1.brandContact],
|
|
84107
84110
|
category: "social-links",
|
|
84108
|
-
createInitialContent: (e) =>
|
|
84111
|
+
createInitialContent: (e) => h9("pinterest", "pinterest", e)(),
|
|
84109
84112
|
displayMode: je.focused,
|
|
84110
84113
|
displayName: O("pinterestDisplayName"),
|
|
84111
84114
|
defaultIconName: "maker-pinterest",
|
|
@@ -84153,7 +84156,7 @@ const si = r3("snapshot", {
|
|
|
84153
84156
|
type: "twitch",
|
|
84154
84157
|
brandPageType: [l1.default, l1.brandContact],
|
|
84155
84158
|
category: "social-links",
|
|
84156
|
-
createInitialContent: (e) =>
|
|
84159
|
+
createInitialContent: (e) => h9("twitch", "twitch", e)(),
|
|
84157
84160
|
displayMode: je.focused,
|
|
84158
84161
|
displayName: O("twitchDisplayName"),
|
|
84159
84162
|
defaultIconName: "maker-twitch",
|
|
@@ -84201,7 +84204,7 @@ const si = r3("snapshot", {
|
|
|
84201
84204
|
type: "tiktok",
|
|
84202
84205
|
brandPageType: [l1.default, l1.brandContact],
|
|
84203
84206
|
category: "social-links",
|
|
84204
|
-
createInitialContent: (e) =>
|
|
84207
|
+
createInitialContent: (e) => h9("tiktok", "tiktok", e)(),
|
|
84205
84208
|
displayMode: je.focused,
|
|
84206
84209
|
displayName: O("tiktokDisplayName"),
|
|
84207
84210
|
defaultIconName: "maker-tiktok",
|
|
@@ -84625,7 +84628,7 @@ const si = r3("snapshot", {
|
|
|
84625
84628
|
displayStyle: {
|
|
84626
84629
|
type: "radio",
|
|
84627
84630
|
role: "multi",
|
|
84628
|
-
defaultValue:
|
|
84631
|
+
defaultValue: d9,
|
|
84629
84632
|
title: O("displayStyleTitle"),
|
|
84630
84633
|
optionsConvertor: yC,
|
|
84631
84634
|
groupId: z3.settings,
|
|
@@ -85172,7 +85175,7 @@ const si = r3("snapshot", {
|
|
|
85172
85175
|
},
|
|
85173
85176
|
isEnabled: !0,
|
|
85174
85177
|
isLocked: !1
|
|
85175
|
-
}),
|
|
85178
|
+
}), k9 = {
|
|
85176
85179
|
settings: "settings",
|
|
85177
85180
|
style: "style"
|
|
85178
85181
|
}, C92 = () => ({
|
|
@@ -85184,12 +85187,12 @@ const si = r3("snapshot", {
|
|
|
85184
85187
|
displayName: O("socialLinksDisplayName"),
|
|
85185
85188
|
fieldGroups: [
|
|
85186
85189
|
{
|
|
85187
|
-
id:
|
|
85190
|
+
id: k9.settings,
|
|
85188
85191
|
displayName: O("settingsDisplayName"),
|
|
85189
85192
|
isCollapsed: !1
|
|
85190
85193
|
},
|
|
85191
85194
|
{
|
|
85192
|
-
id:
|
|
85195
|
+
id: k9.style,
|
|
85193
85196
|
displayName: O("styleDisplayName"),
|
|
85194
85197
|
isCollapsed: !0
|
|
85195
85198
|
}
|
|
@@ -85197,7 +85200,7 @@ const si = r3("snapshot", {
|
|
|
85197
85200
|
fields: {
|
|
85198
85201
|
title: {
|
|
85199
85202
|
type: "title",
|
|
85200
|
-
groupId:
|
|
85203
|
+
groupId: k9.settings,
|
|
85201
85204
|
title: O("titleTitle"),
|
|
85202
85205
|
maxLength: 200
|
|
85203
85206
|
},
|
|
@@ -85208,23 +85211,23 @@ const si = r3("snapshot", {
|
|
|
85208
85211
|
},
|
|
85209
85212
|
links: {
|
|
85210
85213
|
type: "links",
|
|
85211
|
-
groupId:
|
|
85214
|
+
groupId: k9.settings,
|
|
85212
85215
|
title: O("pluralAddItemsTitle"),
|
|
85213
85216
|
replaceImageSettings: E62()
|
|
85214
85217
|
},
|
|
85215
85218
|
iconDisplayStyle: {
|
|
85216
85219
|
type: "radio",
|
|
85217
85220
|
role: "multi",
|
|
85218
|
-
groupId:
|
|
85221
|
+
groupId: k9.style,
|
|
85219
85222
|
title: O("displayStyleTitle"),
|
|
85220
85223
|
defaultValue: V6.none,
|
|
85221
85224
|
optionsConvertor: m62,
|
|
85222
85225
|
variant: "icon"
|
|
85223
85226
|
},
|
|
85224
|
-
...N4(
|
|
85227
|
+
...N4(k9.style),
|
|
85225
85228
|
titleStyle: {
|
|
85226
85229
|
type: "text-style",
|
|
85227
|
-
groupId:
|
|
85230
|
+
groupId: k9.style,
|
|
85228
85231
|
label: O("titleStyleLabel"),
|
|
85229
85232
|
title: O("fontSettingsTitle"),
|
|
85230
85233
|
defaultValue: void 0,
|
|
@@ -85232,7 +85235,7 @@ const si = r3("snapshot", {
|
|
|
85232
85235
|
},
|
|
85233
85236
|
iconFillStyles: {
|
|
85234
85237
|
type: "color",
|
|
85235
|
-
groupId:
|
|
85238
|
+
groupId: k9.style,
|
|
85236
85239
|
defaultValue: {},
|
|
85237
85240
|
isInline: !0,
|
|
85238
85241
|
showToggle: !1,
|
|
@@ -85242,7 +85245,7 @@ const si = r3("snapshot", {
|
|
|
85242
85245
|
},
|
|
85243
85246
|
iconBackgroundStyles: {
|
|
85244
85247
|
type: "color",
|
|
85245
|
-
groupId:
|
|
85248
|
+
groupId: k9.style,
|
|
85246
85249
|
defaultValue: {},
|
|
85247
85250
|
isInline: !0,
|
|
85248
85251
|
showToggle: !1,
|
|
@@ -85251,7 +85254,7 @@ const si = r3("snapshot", {
|
|
|
85251
85254
|
},
|
|
85252
85255
|
backgroundStyles: {
|
|
85253
85256
|
type: "color",
|
|
85254
|
-
groupId:
|
|
85257
|
+
groupId: k9.style,
|
|
85255
85258
|
defaultValue: {},
|
|
85256
85259
|
isInline: !0,
|
|
85257
85260
|
showToggle: !1,
|
|
@@ -85613,7 +85616,7 @@ const si = r3("snapshot", {
|
|
|
85613
85616
|
},
|
|
85614
85617
|
isEnabled: !0,
|
|
85615
85618
|
isLocked: !1
|
|
85616
|
-
}),
|
|
85619
|
+
}), B9 = () => ({
|
|
85617
85620
|
logo: O62(),
|
|
85618
85621
|
"general-link": D62(),
|
|
85619
85622
|
profile: N62(),
|
|
@@ -89603,7 +89606,7 @@ const st = /* @__PURE__ */ v(i02, [["render", p02]]), f02 = "image/png, image/jp
|
|
|
89603
89606
|
if (this.content?.type === "banner-section" && this.content?.media?.type === "getty-video" && this.name === "imageUrl") {
|
|
89604
89607
|
const e = this.content?.media.gettyToken;
|
|
89605
89608
|
if (e) {
|
|
89606
|
-
const n =
|
|
89609
|
+
const n = y9().getVideoUrlsForToken(e);
|
|
89607
89610
|
if (n?.previewImageUrl)
|
|
89608
89611
|
return n.previewImageUrl;
|
|
89609
89612
|
}
|
|
@@ -90180,7 +90183,7 @@ const F02 = { key: 2 }, U02 = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, z02
|
|
|
90180
90183
|
__name: "ShapeLibrary",
|
|
90181
90184
|
emits: ["on-select-image", "on-collection-enabled"],
|
|
90182
90185
|
setup(e, { emit: t }) {
|
|
90183
|
-
const n = t, i =
|
|
90186
|
+
const n = t, i = q2(), o = b2(), s = c2(), r = B2(), a = A4(), l = L(() => r.isAdmin), d = L(
|
|
90184
90187
|
() => a.selectedTabName === "BackgroundSettings"
|
|
90185
90188
|
), c = L(
|
|
90186
90189
|
() => r.isAdmin ? `admin_${s.brandPageType.toLocaleLowerCase()}` : s.brandPageType.toLocaleLowerCase()
|
|
@@ -90889,7 +90892,7 @@ const cb = (e) => kh || (kh = new xn2(e)), tH = Q({
|
|
|
90889
90892
|
},
|
|
90890
90893
|
emits: ["on-delete-image", "on-select-image"],
|
|
90891
90894
|
setup() {
|
|
90892
|
-
const e =
|
|
90895
|
+
const e = q2();
|
|
90893
90896
|
return {
|
|
90894
90897
|
endpoints: L(() => e.endpoints),
|
|
90895
90898
|
uiStore: e
|
|
@@ -91199,7 +91202,7 @@ const Jn2 = /* @__PURE__ */ v(Nn2, [["render", Xn2], ["__scopeId", "data-v-68941
|
|
|
91199
91202
|
},
|
|
91200
91203
|
emits: ["on-delete-image", "on-select-image"],
|
|
91201
91204
|
setup() {
|
|
91202
|
-
const e =
|
|
91205
|
+
const e = q2(), t = B2();
|
|
91203
91206
|
return {
|
|
91204
91207
|
dropzoneImageUploaderRef: d1(null),
|
|
91205
91208
|
endpoints: L(() => e.endpoints),
|
|
@@ -91417,7 +91420,7 @@ const rN = () => Lh || (Lh = new fi2()), iH = Q({
|
|
|
91417
91420
|
},
|
|
91418
91421
|
emits: ["on-select-image"],
|
|
91419
91422
|
setup() {
|
|
91420
|
-
const e =
|
|
91423
|
+
const e = q2(), t = W3(), n = B2();
|
|
91421
91424
|
return {
|
|
91422
91425
|
endpoints: L(() => e.endpoints),
|
|
91423
91426
|
uiStore: e,
|
|
@@ -91774,7 +91777,7 @@ class Ri2 {
|
|
|
91774
91777
|
const sH = Q({
|
|
91775
91778
|
emits: ["on-select-image"],
|
|
91776
91779
|
setup() {
|
|
91777
|
-
const e =
|
|
91780
|
+
const e = q2();
|
|
91778
91781
|
return {
|
|
91779
91782
|
endpoints: L(() => e.endpoints),
|
|
91780
91783
|
thirdPartySettings: L(() => e.thirdPartySettings),
|
|
@@ -92046,7 +92049,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92046
92049
|
},
|
|
92047
92050
|
emits: ["on-select-video"],
|
|
92048
92051
|
setup(e, { emit: t }) {
|
|
92049
|
-
const n =
|
|
92052
|
+
const n = q2(), i = L(() => n.endpoints), o = d1(""), s = d1(null), r = d1(null), a = d1(1), l = d1(null), d = d1(!0), c = d1(!1), u = d1(null), h = d1(!1), m = d1(!1), g = L(() => !d.value && !r.value && l.value && l.value.length > 0), y = L(() => r.value && r.value.videos && r.value.videos.length > 0), w = L(() => !d.value && r.value && a.value <= r.value.resultCount / wo2), b = () => {
|
|
92050
92053
|
o.value.length >= rH && setTimeout(() => {
|
|
92051
92054
|
o.value.length >= rH && D();
|
|
92052
92055
|
}, yo2);
|
|
@@ -92417,7 +92420,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92417
92420
|
mediaType: { default: "" }
|
|
92418
92421
|
},
|
|
92419
92422
|
setup(e) {
|
|
92420
|
-
const t = e, n = [".png", ".ico"], i = c2(), o = B2(), s = H4(), r =
|
|
92423
|
+
const t = e, n = [".png", ".ico"], i = c2(), o = B2(), s = H4(), r = y9(), a = Pe(), l = Te(), d = L(() => s.backgroundMode), c = L(() => o.isAdmin), u = L(() => i.fieldSettings?.replaceImageSettings), h = L(() => i.fieldSettings?.replaceImageSettings?.tabs), m = L(() => {
|
|
92421
92424
|
const H = i.fieldSettings?.replaceImageSettings;
|
|
92422
92425
|
return H ? H.contentMediaFieldName ? H.titleReplace : H.titleAdd : "";
|
|
92423
92426
|
}), g = L(() => {
|
|
@@ -92495,7 +92498,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92495
92498
|
__name: "BackgroundSettings",
|
|
92496
92499
|
emits: ["on-intent-image-replace"],
|
|
92497
92500
|
setup(e) {
|
|
92498
|
-
const t = H4(), n = B2(), i = c2(), o =
|
|
92501
|
+
const t = H4(), n = B2(), i = c2(), o = q2(), s = Te(), r = L(
|
|
92499
92502
|
() => t.backgroundStyles
|
|
92500
92503
|
), a = L(
|
|
92501
92504
|
() => t.recommendedLogoColors
|
|
@@ -92503,7 +92506,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92503
92506
|
() => o.isPersonalisationEnabled
|
|
92504
92507
|
), m = L(() => u.value && h.value), g = L(() => r.value.personalisationRole), y = L(() => {
|
|
92505
92508
|
const q = r.value.backgroundImageUrl || "", i1 = r.value.media;
|
|
92506
|
-
return q.endsWith(".svg") ? "" : i1 && i1.type === "getty-video" ?
|
|
92509
|
+
return q.endsWith(".svg") ? "" : i1 && i1.type === "getty-video" ? y9().getVideoUrlsForToken(i1.gettyToken)?.previewImageUrl || "" : q;
|
|
92507
92510
|
}), w = L(() => t.hasMedia), b = L(() => {
|
|
92508
92511
|
const q = r.value.mediaOverlayStyle?.backgroundColor || "rgb(0,0,0)";
|
|
92509
92512
|
return q.startsWith("rgb") ? Ye(q).toUpperCase() : q;
|
|
@@ -93070,7 +93073,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93070
93073
|
"capture-preview-snapshot"
|
|
93071
93074
|
],
|
|
93072
93075
|
setup() {
|
|
93073
|
-
const e = Pe(), t = A4(), n = c2(), i =
|
|
93076
|
+
const e = Pe(), t = A4(), n = c2(), i = q2(), o = B2(), s = Is(), r = Te();
|
|
93074
93077
|
return {
|
|
93075
93078
|
currentRoute: L(() => s.currentRoute),
|
|
93076
93079
|
getContent: L(() => e.getContent),
|
|
@@ -93234,7 +93237,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93234
93237
|
},
|
|
93235
93238
|
emits: ["capture-preview-snapshot"],
|
|
93236
93239
|
setup() {
|
|
93237
|
-
const e = Pe(), t = c2(), n = B2(), i =
|
|
93240
|
+
const e = Pe(), t = c2(), n = B2(), i = q2(), o = A4(), s = _e(), r = b2(), a = si(), l = W3();
|
|
93238
93241
|
return {
|
|
93239
93242
|
getFieldSettings: L(() => e.getFieldSettings),
|
|
93240
93243
|
getContent: L(() => e.getContent),
|
|
@@ -93497,7 +93500,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93497
93500
|
l = await o.createPlaceAutocompleteElement({
|
|
93498
93501
|
value: n.value?.formattedAddress ?? "",
|
|
93499
93502
|
placeholder: qL1("addressPlaceholder"),
|
|
93500
|
-
requestedLanguage:
|
|
93503
|
+
requestedLanguage: a9(),
|
|
93501
93504
|
// Drop the widget's built-in search icon and clear button for a plain
|
|
93502
93505
|
// input that matches our design system.
|
|
93503
93506
|
noInputIcon: !0,
|
|
@@ -94302,7 +94305,7 @@ const Im = /* @__PURE__ */ v(Rs2, [["render", Fs2], ["__scopeId", "data-v-29dc2a
|
|
|
94302
94305
|
},
|
|
94303
94306
|
emits: ["on-select-logo"],
|
|
94304
94307
|
setup() {
|
|
94305
|
-
const e =
|
|
94308
|
+
const e = q2();
|
|
94306
94309
|
return {
|
|
94307
94310
|
endpoints: L(() => e.endpoints),
|
|
94308
94311
|
uiStore: e
|
|
@@ -94671,7 +94674,7 @@ const Ws2 = /* @__PURE__ */ v(Us2, [["render", js2], ["__scopeId", "data-v-8240b
|
|
|
94671
94674
|
return;
|
|
94672
94675
|
}
|
|
94673
94676
|
if (s.logoEditUrl) {
|
|
94674
|
-
const Y =
|
|
94677
|
+
const Y = a9();
|
|
94675
94678
|
r.redirectToLogoEditPage(s.logoEditUrl, Y);
|
|
94676
94679
|
}
|
|
94677
94680
|
};
|
|
@@ -94843,7 +94846,7 @@ const Ws2 = /* @__PURE__ */ v(Us2, [["render", js2], ["__scopeId", "data-v-8240b
|
|
|
94843
94846
|
m.token
|
|
94844
94847
|
);
|
|
94845
94848
|
c2();
|
|
94846
|
-
const y =
|
|
94849
|
+
const y = q2(), w = _e();
|
|
94847
94850
|
let b = {
|
|
94848
94851
|
logoDraftToken: m.token,
|
|
94849
94852
|
logoLastUpdate: m.tick?.toString(),
|
|
@@ -95237,25 +95240,25 @@ const pN = /* @__PURE__ */ v(Sr2, [["render", Mr2]]), kr2 = (e) => e.paymentConf
|
|
|
95237
95240
|
requiredActionHelloBarLabel() {
|
|
95238
95241
|
switch (this.value.paymentConfig?.status) {
|
|
95239
95242
|
case "PendingPreOnboarding":
|
|
95240
|
-
return
|
|
95243
|
+
return P9("pendingPreOnboardingLabel");
|
|
95241
95244
|
case "PendingPostOnboarding":
|
|
95242
|
-
return
|
|
95245
|
+
return P9("pendingPostOnboardingLabel");
|
|
95243
95246
|
default:
|
|
95244
|
-
return
|
|
95247
|
+
return P9("defaultLabel");
|
|
95245
95248
|
}
|
|
95246
95249
|
},
|
|
95247
95250
|
requiredActionHelloBarDescription() {
|
|
95248
95251
|
switch (this.value.paymentConfig?.status) {
|
|
95249
95252
|
case "PendingPreOnboarding":
|
|
95250
|
-
return
|
|
95253
|
+
return P9("pendingPreOnboardingDescription");
|
|
95251
95254
|
case "PendingPostOnboarding":
|
|
95252
|
-
return
|
|
95255
|
+
return P9("pendingPostOnboardingDescription");
|
|
95253
95256
|
default:
|
|
95254
95257
|
return;
|
|
95255
95258
|
}
|
|
95256
95259
|
},
|
|
95257
95260
|
requiredActionCtaLabel() {
|
|
95258
|
-
return `${
|
|
95261
|
+
return `${P9("requiredActionCtaLabel")}${this.value.paymentConfig?.paymentProviderName}`;
|
|
95259
95262
|
},
|
|
95260
95263
|
requiredActionCtaTarget() {
|
|
95261
95264
|
return this.value.paymentConfig?.status === "PendingPreOnboarding" ? "_self" : "_target";
|
|
@@ -95339,7 +95342,7 @@ const pN = /* @__PURE__ */ v(Sr2, [["render", Mr2]]), kr2 = (e) => e.paymentConf
|
|
|
95339
95342
|
setup(e, t) {
|
|
95340
95343
|
return {
|
|
95341
95344
|
...hH.setup(e, t),
|
|
95342
|
-
paymentConfigTr:
|
|
95345
|
+
paymentConfigTr: P9
|
|
95343
95346
|
};
|
|
95344
95347
|
}
|
|
95345
95348
|
}, Vr2 = {
|
|
@@ -95562,7 +95565,7 @@ const Cb = /* @__PURE__ */ v(Tr2, [["render", Ar2]]), El = 100, $r2 = 250, Th =
|
|
|
95562
95565
|
setup() {
|
|
95563
95566
|
return {
|
|
95564
95567
|
commonTr: L2,
|
|
95565
|
-
paymentConfigTr:
|
|
95568
|
+
paymentConfigTr: P9
|
|
95566
95569
|
};
|
|
95567
95570
|
}
|
|
95568
95571
|
}, Rr2 = {
|
|
@@ -95695,7 +95698,7 @@ const hN = /* @__PURE__ */ v(Nr2, [["render", Kr2]]), Yr2 = {
|
|
|
95695
95698
|
mixins: [Lr2],
|
|
95696
95699
|
setup() {
|
|
95697
95700
|
return {
|
|
95698
|
-
paymentConfigTr:
|
|
95701
|
+
paymentConfigTr: P9
|
|
95699
95702
|
};
|
|
95700
95703
|
}
|
|
95701
95704
|
}, Xr2 = { class: "tw-mb-2 tw-text-sm tw-font-bold" }, Jr2 = { class: "tw-flex tw-flex-row tw-mb-2" }, Qr2 = { class: "tw-grow tw-text-sm" }, ea2 = { class: "tw-flex tw-flex-row" }, ta2 = { class: "tw-grow tw-text-sm" };
|
|
@@ -98998,7 +99001,7 @@ const Xb2 = /* @__PURE__ */ v(Wb2, [["render", Yb2]]), Jb2 = {
|
|
|
98998
99001
|
};
|
|
98999
99002
|
function ev2(e, t, n, i, o, s) {
|
|
99000
99003
|
return C(), f("div", Qb2, [
|
|
99001
|
-
(C(), $(
|
|
99004
|
+
(C(), $(C9(n.fontFamily), {
|
|
99002
99005
|
class: B([n.innerClass, "tw-w-full tw-px-5 tw-box-border"])
|
|
99003
99006
|
}, null, 8, ["class"]))
|
|
99004
99007
|
]);
|
|
@@ -99516,7 +99519,7 @@ const ZC = /* @__PURE__ */ v(Cv2, [["render", fv2]]), hv2 = {
|
|
|
99516
99519
|
setup(e, { expose: t, emit: n }) {
|
|
99517
99520
|
const i = e, o = h3(), s = z4(), r = Pe(), a = d1(), l = d1(), d = L(
|
|
99518
99521
|
() => s.availableTextFontFamilyOptions
|
|
99519
|
-
), c = UF(e, "modelValue"), u = n, h = d1(!1), m = B2(), g =
|
|
99522
|
+
), c = UF(e, "modelValue"), u = n, h = d1(!1), m = B2(), g = q2(), y = L(() => m.isAdmin), w = L(() => g.logoTheme), b = qe({
|
|
99520
99523
|
selectedTextStyle: "",
|
|
99521
99524
|
selectedFont: "Lato",
|
|
99522
99525
|
selectedFontSize: "2.25em",
|
|
@@ -101488,7 +101491,7 @@ const wN = /* @__PURE__ */ v(IS2, [["render", AS2], ["__scopeId", "data-v-f3d394
|
|
|
101488
101491
|
mixins: [V_2],
|
|
101489
101492
|
setup() {
|
|
101490
101493
|
return {
|
|
101491
|
-
paymentConfigTr:
|
|
101494
|
+
paymentConfigTr: P9
|
|
101492
101495
|
};
|
|
101493
101496
|
}
|
|
101494
101497
|
}, H_2 = {
|
|
@@ -103604,7 +103607,7 @@ function Dk2(e, t, n, i, o, s) {
|
|
|
103604
103607
|
color: "primary"
|
|
103605
103608
|
}, null, 8, ["id", "modelValue"])) : k("", !0)
|
|
103606
103609
|
], 2)) : k("", !0),
|
|
103607
|
-
ne((C(), $(
|
|
103610
|
+
ne((C(), $(C9(`${e.fieldType}-field`), {
|
|
103608
103611
|
id: e.id,
|
|
103609
103612
|
key: e.showRichTextEditor ? `rte-${e.id}-${e.richTextEditorKey}` : `field-${e.id}`,
|
|
103610
103613
|
attrs: {
|
|
@@ -103729,7 +103732,7 @@ function qk2(e, t, n, i, o, s) {
|
|
|
103729
103732
|
}
|
|
103730
103733
|
const Gk2 = /* @__PURE__ */ v(Nk2, [["render", qk2]]), SH = Q({
|
|
103731
103734
|
setup() {
|
|
103732
|
-
const e = c2(), t = Pe(), n = B2(), i = _e(), o =
|
|
103735
|
+
const e = c2(), t = Pe(), n = B2(), i = _e(), o = y9(), s = Te();
|
|
103733
103736
|
return {
|
|
103734
103737
|
items: L(() => t.items),
|
|
103735
103738
|
selectedItemId: L(() => t.selectedItemId),
|
|
@@ -104202,7 +104205,7 @@ const uL2 = /* @__PURE__ */ v(sL2, [["render", CL2]]), _5 = {
|
|
|
104202
104205
|
}
|
|
104203
104206
|
}, MH = Q({
|
|
104204
104207
|
setup() {
|
|
104205
|
-
const e = c2(), t =
|
|
104208
|
+
const e = c2(), t = q2(), n = B2(), i = _e(), o = Pe(), s = A9(), r = b2(), a = Te(), l = h3(), d = (y) => {
|
|
104206
104209
|
i.setPages({ pages: y.map((w) => w.page) });
|
|
104207
104210
|
}, c = L({
|
|
104208
104211
|
get() {
|
|
@@ -104640,7 +104643,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104640
104643
|
}
|
|
104641
104644
|
},
|
|
104642
104645
|
setup() {
|
|
104643
|
-
const e = c2(), t = _e(), n = z4(), i =
|
|
104646
|
+
const e = c2(), t = _e(), n = z4(), i = A9(), o = Pe(), s = q2(), r = b2(), a = E4(), l = X4();
|
|
104644
104647
|
return {
|
|
104645
104648
|
sections: L(() => t.sections),
|
|
104646
104649
|
availableTextFontFamilyOptions: L(
|
|
@@ -104673,7 +104676,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104673
104676
|
return this.navigation.renderAfterLogo;
|
|
104674
104677
|
},
|
|
104675
104678
|
navigation() {
|
|
104676
|
-
const e =
|
|
104679
|
+
const e = A9();
|
|
104677
104680
|
return this.viewport === K1.mobile ? e.navigation[V2.header][K1.mobile] : e.navigation[V2.header][K1.desktop];
|
|
104678
104681
|
},
|
|
104679
104682
|
header() {
|
|
@@ -104986,7 +104989,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104986
104989
|
});
|
|
104987
104990
|
},
|
|
104988
104991
|
async onLogoVersionSelected(e) {
|
|
104989
|
-
const t =
|
|
104992
|
+
const t = q2();
|
|
104990
104993
|
c2(), this.logoDraftToken = e.token;
|
|
104991
104994
|
const n = this.logoStore.getLogoDraftAssetByToken(
|
|
104992
104995
|
this.logoDraftToken
|
|
@@ -106029,7 +106032,7 @@ const DT2 = /* @__PURE__ */ v(IT2, [["render", OT2], ["__scopeId", "data-v-4686f
|
|
|
106029
106032
|
setup() {
|
|
106030
106033
|
const e = Pe(), t = c2();
|
|
106031
106034
|
_e(), z4();
|
|
106032
|
-
const n = B2(), i =
|
|
106035
|
+
const n = B2(), i = q2(), o = Is(), { externalEditor: s } = ot();
|
|
106033
106036
|
return {
|
|
106034
106037
|
currentRoute: L(() => o.currentRoute),
|
|
106035
106038
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -106637,7 +106640,7 @@ const nV2 = /* @__PURE__ */ v(eV2, [["render", tV2], ["__scopeId", "data-v-3a40a
|
|
|
106637
106640
|
}
|
|
106638
106641
|
}), VH = Q({
|
|
106639
106642
|
setup() {
|
|
106640
|
-
const e = X4(), t = W3(), n =
|
|
106643
|
+
const e = X4(), t = W3(), n = q2(), i = u6(), o = Te();
|
|
106641
106644
|
return {
|
|
106642
106645
|
editableLogoStore: e,
|
|
106643
106646
|
logoStore: t,
|
|
@@ -107683,7 +107686,7 @@ const Hx2 = /* @__PURE__ */ v(Lx2, [["render", xx2], ["__scopeId", "data-v-f3af5
|
|
|
107683
107686
|
}
|
|
107684
107687
|
},
|
|
107685
107688
|
setup() {
|
|
107686
|
-
const e = b2(), t = Is(), n = c2(), i =
|
|
107689
|
+
const e = b2(), t = Is(), n = c2(), i = y9();
|
|
107687
107690
|
return {
|
|
107688
107691
|
currentRoute: L(() => t.currentRoute),
|
|
107689
107692
|
isDesignCom: L(() => e.isDesignCom),
|
|
@@ -107923,7 +107926,7 @@ const EH = Q({
|
|
|
107923
107926
|
}), Nx2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Rx2 = /* @__PURE__ */ Q({
|
|
107924
107927
|
__name: "UndoButton",
|
|
107925
107928
|
setup(e) {
|
|
107926
|
-
const t = n8(), n = r0(), i = b2(), o = u6(), s =
|
|
107929
|
+
const t = n8(), n = r0(), i = b2(), o = u6(), s = q2(), r = L(
|
|
107927
107930
|
() => s.screenSizeMode === D7.mobile
|
|
107928
107931
|
), a = L(
|
|
107929
107932
|
() => !t.canUndo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -107972,7 +107975,7 @@ const EH = Q({
|
|
|
107972
107975
|
}), Zx2 = /* @__PURE__ */ v(Rx2, [["__scopeId", "data-v-e0132471"]]), Fx2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Ux2 = /* @__PURE__ */ Q({
|
|
107973
107976
|
__name: "RedoButton",
|
|
107974
107977
|
setup(e) {
|
|
107975
|
-
const t = n8(), n = r0(), i = b2(), o = u6(), s =
|
|
107978
|
+
const t = n8(), n = r0(), i = b2(), o = u6(), s = q2(), r = L(
|
|
107976
107979
|
() => s.screenSizeMode === D7.mobile
|
|
107977
107980
|
), a = L(
|
|
107978
107981
|
() => !t.canRedo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -108260,7 +108263,7 @@ function CH2(e, t, n, i, o, s) {
|
|
|
108260
108263
|
}
|
|
108261
108264
|
const uH2 = /* @__PURE__ */ v(rH2, [["render", CH2]]), $H = Q({
|
|
108262
108265
|
setup() {
|
|
108263
|
-
const e =
|
|
108266
|
+
const e = q2(), t = z4(), n = B2(), i = c2(), o = b2(), s = H4(), r = Te();
|
|
108264
108267
|
return {
|
|
108265
108268
|
logoTheme: L(() => e.logoTheme),
|
|
108266
108269
|
availableButtonStyleConfigs: L(
|
|
@@ -108499,7 +108502,7 @@ function yH2(e, t) {
|
|
|
108499
108502
|
const wH2 = /* @__PURE__ */ v(gH2, [["render", yH2]]), bH2 = { "data-component": "text-style-options-settings-with-state" }, vH2 = /* @__PURE__ */ Q({
|
|
108500
108503
|
__name: "TextStyleOptionsSettingsWithState",
|
|
108501
108504
|
setup(e) {
|
|
108502
|
-
const t = z4(), n = B2(), i =
|
|
108505
|
+
const t = z4(), n = B2(), i = q2(), o = _e(), s = L(
|
|
108503
108506
|
() => t.availableTextFontFamilyOptions
|
|
108504
108507
|
), r = L(
|
|
108505
108508
|
() => t.textStyles.textStyleOptions
|
|
@@ -108984,7 +108987,7 @@ const sI2 = 100, OH = Q({
|
|
|
108984
108987
|
},
|
|
108985
108988
|
emits: ["create-team-cards"],
|
|
108986
108989
|
setup() {
|
|
108987
|
-
const e = c2(), t = A4(), n = B2(), i = Pe(), o =
|
|
108990
|
+
const e = c2(), t = A4(), n = B2(), i = Pe(), o = q2(), s = _e(), r = b2(), a = u6(), l = u4(), d = ci(), c = EI(), u = c5(), h = si(), { captureSnapshot: m } = oI2(), g = y9(), y = h3();
|
|
108988
108991
|
return {
|
|
108989
108992
|
commonTr: L2,
|
|
108990
108993
|
currentNotificationMessage: L(
|
|
@@ -109208,7 +109211,7 @@ const sI2 = 100, OH = Q({
|
|
|
109208
109211
|
}
|
|
109209
109212
|
},
|
|
109210
109213
|
setup() {
|
|
109211
|
-
const e = u6(), t = b2(), n = c2(), i =
|
|
109214
|
+
const e = u6(), t = b2(), n = c2(), i = q2(), o = Te();
|
|
109212
109215
|
return {
|
|
109213
109216
|
isBusy: L(() => e.isBusy),
|
|
109214
109217
|
pageNo: L(() => e.pageNo),
|
|
@@ -109308,7 +109311,7 @@ const sI2 = 100, OH = Q({
|
|
|
109308
109311
|
"S3 token was expired in TemplatesSettings and has been refreshed"
|
|
109309
109312
|
);
|
|
109310
109313
|
} catch (r) {
|
|
109311
|
-
console.error("Error checking/refreshing S3 token:", r), r instanceof Error &&
|
|
109314
|
+
console.error("Error checking/refreshing S3 token:", r), r instanceof Error && D9.safeSendRaygunError(r);
|
|
109312
109315
|
}
|
|
109313
109316
|
},
|
|
109314
109317
|
async onNextClicked() {
|
|
@@ -109332,7 +109335,7 @@ const sI2 = 100, OH = Q({
|
|
|
109332
109335
|
);
|
|
109333
109336
|
t || (t = this.tabsWithTranslations[0], console.warn(`Tab "${e}" not found, defaulting to first tab.`));
|
|
109334
109337
|
const n = this.prevTemplateTab?.key ?? null, i = t.key;
|
|
109335
|
-
i !==
|
|
109338
|
+
i !== F9.categories && n !== i && (this.templateSettingsStore.clearTemplates(), await this.templateSettingsStore.gotoNextPage(), this.prevTemplateTab = t);
|
|
109336
109339
|
},
|
|
109337
109340
|
async setSearchText() {
|
|
109338
109341
|
await this.templateSettingsStore.onSearch({
|
|
@@ -109699,7 +109702,7 @@ const wI2 = /* @__PURE__ */ v(aI2, [["render", yI2], ["__scopeId", "data-v-246f2
|
|
|
109699
109702
|
async updateViewModel(e = !0) {
|
|
109700
109703
|
if (!this.isAdmin)
|
|
109701
109704
|
return;
|
|
109702
|
-
const t =
|
|
109705
|
+
const t = y9();
|
|
109703
109706
|
let n = this.template.brandPageModel;
|
|
109704
109707
|
this.logoImageBase64Url ? n = S$(
|
|
109705
109708
|
n,
|
|
@@ -109816,7 +109819,7 @@ const TN = /* @__PURE__ */ v(_I2, [["render", VI2], ["__scopeId", "data-v-a17238
|
|
|
109816
109819
|
height: { default: 0 }
|
|
109817
109820
|
},
|
|
109818
109821
|
setup(e) {
|
|
109819
|
-
const t = e, n =
|
|
109822
|
+
const t = e, n = q2(), i = W3(), o = c2(), s = _e(), r = L(() => n.logoTheme), a = L(() => {
|
|
109820
109823
|
const h = t.template.personalisationContentIndex;
|
|
109821
109824
|
return n.personalisationData?.[h]?.userPersonalisation;
|
|
109822
109825
|
}), l = L(() => s.sections[V2.header][K1.desktop].logoImage), d = L(
|
|
@@ -112588,7 +112591,7 @@ const y$2 = /* @__PURE__ */ v(u$2, [["render", m$2]]), w$2 = { class: "tw-flex t
|
|
|
112588
112591
|
class: "tw-flex-1 tw-overflow-y-auto tw-mb-4"
|
|
112589
112592
|
}, [
|
|
112590
112593
|
W1(d.$slots, "messages", {}, () => [
|
|
112591
|
-
(C(!0), f(S1, null, G1(e.messages, (u, h) => (C(), $(
|
|
112594
|
+
(C(!0), f(S1, null, G1(e.messages, (u, h) => (C(), $(C9(u.type === "image" ? U$2 : B$2), J2({ key: h }, { ref_for: !0 }, u.props, {
|
|
112592
112595
|
"is-design-com": e.isDesignCom,
|
|
112593
112596
|
onStopGeneration: c[0] || (c[0] = (m) => d.$emit("stop-generation")),
|
|
112594
112597
|
onUseImage: c[1] || (c[1] = (m) => d.$emit("use-image", m)),
|
|
@@ -113710,7 +113713,7 @@ class gB2 extends G5 {
|
|
|
113710
113713
|
}
|
|
113711
113714
|
}
|
|
113712
113715
|
const eI = (e, t) => {
|
|
113713
|
-
const i =
|
|
113716
|
+
const i = B9()[e];
|
|
113714
113717
|
if (!i)
|
|
113715
113718
|
return null;
|
|
113716
113719
|
const o = t ? {
|
|
@@ -113870,7 +113873,7 @@ class j5 extends G5 {
|
|
|
113870
113873
|
};
|
|
113871
113874
|
}
|
|
113872
113875
|
}
|
|
113873
|
-
const
|
|
113876
|
+
const w9 = {
|
|
113874
113877
|
padding_top: "topPadding",
|
|
113875
113878
|
padding_bottom: "bottomPadding"
|
|
113876
113879
|
}, mB2 = {
|
|
@@ -113881,25 +113884,25 @@ const b9 = {
|
|
|
113881
113884
|
background_image_url: "imageUrl",
|
|
113882
113885
|
background_shape_url: "imageUrl",
|
|
113883
113886
|
display_style: "displayStyle",
|
|
113884
|
-
...
|
|
113887
|
+
...w9
|
|
113885
113888
|
}, yB2 = {
|
|
113886
113889
|
title: "title",
|
|
113887
113890
|
description: "description",
|
|
113888
113891
|
button_text: "buttonText",
|
|
113889
113892
|
button_url: "url",
|
|
113890
|
-
...
|
|
113893
|
+
...w9
|
|
113891
113894
|
}, wB2 = {
|
|
113892
113895
|
title: "title",
|
|
113893
113896
|
paragraph: "paragraph",
|
|
113894
113897
|
about_image_url: "imageUrl",
|
|
113895
113898
|
about_shape_url: "imageUrl",
|
|
113896
113899
|
display_style: "displayStyle",
|
|
113897
|
-
...
|
|
113900
|
+
...w9
|
|
113898
113901
|
}, bB2 = {
|
|
113899
113902
|
title: "title",
|
|
113900
113903
|
display_style: "displayStyle",
|
|
113901
113904
|
// items handled separately
|
|
113902
|
-
...
|
|
113905
|
+
...w9
|
|
113903
113906
|
}, vB2 = {
|
|
113904
113907
|
title: "title",
|
|
113905
113908
|
description: "description",
|
|
@@ -113907,18 +113910,18 @@ const b9 = {
|
|
|
113907
113910
|
aspect_ratio: "aspectRatio",
|
|
113908
113911
|
are_images_full_width: "areImagesFullWidth",
|
|
113909
113912
|
// items handled separately
|
|
113910
|
-
...
|
|
113913
|
+
...w9
|
|
113911
113914
|
}, SB2 = {
|
|
113912
113915
|
title: "title",
|
|
113913
113916
|
description: "description",
|
|
113914
113917
|
display_style: "displayStyle",
|
|
113915
113918
|
size: "size",
|
|
113916
113919
|
// items handled separately
|
|
113917
|
-
...
|
|
113920
|
+
...w9
|
|
113918
113921
|
}, _B2 = {
|
|
113919
113922
|
text: "text",
|
|
113920
113923
|
column_style: "columnStyle",
|
|
113921
|
-
...
|
|
113924
|
+
...w9
|
|
113922
113925
|
}, MB2 = {
|
|
113923
113926
|
name: "name",
|
|
113924
113927
|
title: "title",
|
|
@@ -113933,16 +113936,16 @@ const b9 = {
|
|
|
113933
113936
|
header_image_url: "imageUrl",
|
|
113934
113937
|
display_style: "displayStyle",
|
|
113935
113938
|
layout_style: "layoutStyle",
|
|
113936
|
-
...
|
|
113939
|
+
...w9
|
|
113937
113940
|
}, LB2 = {
|
|
113938
113941
|
button_text: "buttonText",
|
|
113939
113942
|
accepted_fields: "acceptedFields",
|
|
113940
|
-
...
|
|
113943
|
+
...w9
|
|
113941
113944
|
}, TB2 = {
|
|
113942
113945
|
title: "title",
|
|
113943
113946
|
icon_style: "iconDisplayStyle",
|
|
113944
113947
|
// links handled separately
|
|
113945
|
-
...
|
|
113948
|
+
...w9
|
|
113946
113949
|
}, VB2 = {
|
|
113947
113950
|
divider_style: "dividerStyle",
|
|
113948
113951
|
padding: "paddingStyle"
|
|
@@ -113952,7 +113955,7 @@ const b9 = {
|
|
|
113952
113955
|
}, HB2 = {
|
|
113953
113956
|
is_full_width: "isFullWidth",
|
|
113954
113957
|
// images handled separately
|
|
113955
|
-
...
|
|
113958
|
+
...w9
|
|
113956
113959
|
}, tI = {
|
|
113957
113960
|
title: "title",
|
|
113958
113961
|
url: "url",
|
|
@@ -116531,9 +116534,9 @@ function yD2(e) {
|
|
|
116531
116534
|
return { mutationToolCalls: t, actions: n };
|
|
116532
116535
|
}
|
|
116533
116536
|
const wD2 = 6e5, tn = new gD2();
|
|
116534
|
-
let
|
|
116537
|
+
let L9 = null;
|
|
116535
116538
|
function bD2() {
|
|
116536
|
-
const e = r0(), t = si(), n = c2(), i = n8(), o = FC(), s = b2(), r = B2(), a =
|
|
116539
|
+
const e = r0(), t = si(), n = c2(), i = n8(), o = FC(), s = b2(), r = B2(), a = q2(), l = cD2(tn), d = F52(), c = Te(), u = e.messages.length > 0, h = d1(
|
|
116537
116540
|
e.messages.length > 0 ? e.messages : [
|
|
116538
116541
|
{
|
|
116539
116542
|
id: "1",
|
|
@@ -116572,18 +116575,18 @@ function bD2() {
|
|
|
116572
116575
|
timestamp: /* @__PURE__ */ new Date()
|
|
116573
116576
|
});
|
|
116574
116577
|
}, x = async () => {
|
|
116575
|
-
const t1 =
|
|
116576
|
-
if (
|
|
116578
|
+
const t1 = L9?.getConnectionId();
|
|
116579
|
+
if (L9 && t1)
|
|
116577
116580
|
return t1;
|
|
116578
|
-
|
|
116581
|
+
L9 && L9.disconnect();
|
|
116579
116582
|
const G = new g82(), q = await G.connect();
|
|
116580
116583
|
return G.onDisconnect(() => {
|
|
116581
116584
|
const i1 = e.isBuildInProgress;
|
|
116582
|
-
if (
|
|
116585
|
+
if (L9 = null, _(), i1) {
|
|
116583
116586
|
const j = new Error(
|
|
116584
116587
|
"There was a disruption in the connection while building your website. Please try again."
|
|
116585
116588
|
);
|
|
116586
|
-
|
|
116589
|
+
D9.safeSendRaygunError(j, {
|
|
116587
116590
|
tags: [
|
|
116588
116591
|
"feature:ai-website-builder",
|
|
116589
116592
|
"failure:websocket_disconnect",
|
|
@@ -116595,7 +116598,7 @@ function bD2() {
|
|
|
116595
116598
|
}
|
|
116596
116599
|
});
|
|
116597
116600
|
}
|
|
116598
|
-
}),
|
|
116601
|
+
}), L9 = G, q;
|
|
116599
116602
|
}, H = 100, D = (t1, G) => {
|
|
116600
116603
|
try {
|
|
116601
116604
|
const q = new URL(t1), i1 = G.trim().slice(0, H);
|
|
@@ -116692,7 +116695,7 @@ function bD2() {
|
|
|
116692
116695
|
aiMessage: i1
|
|
116693
116696
|
};
|
|
116694
116697
|
}, Y = async (t1, G) => {
|
|
116695
|
-
const q = await x(), i1 =
|
|
116698
|
+
const q = await x(), i1 = L9;
|
|
116696
116699
|
try {
|
|
116697
116700
|
const j = X$2(), { message: a1, websiteContext: U1 } = await N(t1), F1 = r.hasPremiumSubscription ? "premium" : "free";
|
|
116698
116701
|
let H1;
|
|
@@ -116758,7 +116761,7 @@ function bD2() {
|
|
|
116758
116761
|
try {
|
|
116759
116762
|
if (E1.length === 0) {
|
|
116760
116763
|
if (!!!(L1.message || P2)) {
|
|
116761
|
-
|
|
116764
|
+
D9.safeSendRaygunError(
|
|
116762
116765
|
new Error(
|
|
116763
116766
|
"AI build server_response had empty toolCalls and empty message"
|
|
116764
116767
|
),
|
|
@@ -116819,7 +116822,7 @@ function bD2() {
|
|
|
116819
116822
|
}
|
|
116820
116823
|
u2.buildId && (e.buildId = u2.buildId), m2 += 1;
|
|
116821
116824
|
} catch (_1) {
|
|
116822
|
-
tn.log("server_response apply error", { err: _1 }),
|
|
116825
|
+
tn.log("server_response apply error", { err: _1 }), D9.safeSendRaygunError(
|
|
116823
116826
|
_1 instanceof Error ? _1 : new Error("AI apply failed: non-Error thrown"),
|
|
116824
116827
|
{
|
|
116825
116828
|
tags: [
|
|
@@ -116840,7 +116843,7 @@ function bD2() {
|
|
|
116840
116843
|
}, D1 = (L1) => {
|
|
116841
116844
|
if (!He()) return;
|
|
116842
116845
|
const E1 = L1;
|
|
116843
|
-
|
|
116846
|
+
D9.safeSendRaygunError(
|
|
116844
116847
|
new Error(
|
|
116845
116848
|
`AI build ${E1.type}: ${E1.code ?? E1.error ?? "unknown"}`
|
|
116846
116849
|
),
|
|
@@ -116954,7 +116957,7 @@ function bD2() {
|
|
|
116954
116957
|
);
|
|
116955
116958
|
H1 !== -1 && (h.value[H1].text = F1 ? S : CD2(U1), h.value[H1].isTyping = !1, h.value[H1].isError = !0);
|
|
116956
116959
|
const g1 = hD2(U1, { stage: "submit" });
|
|
116957
|
-
g1 &&
|
|
116960
|
+
g1 && D9.safeSendRaygunError(g1.error, {
|
|
116958
116961
|
tags: g1.tags,
|
|
116959
116962
|
customData: g1.customData
|
|
116960
116963
|
});
|
|
@@ -116965,7 +116968,7 @@ function bD2() {
|
|
|
116965
116968
|
const G = h.value.findIndex((q) => q.id === t1);
|
|
116966
116969
|
G !== -1 && h.value.splice(G, 1);
|
|
116967
116970
|
}, r1 = async () => {
|
|
116968
|
-
c.sendAiStopGenerationEvent(Dh.AI_BUILDER_TAB), w.value = !0, e.isBuildInProgress = !1,
|
|
116971
|
+
c.sendAiStopGenerationEvent(Dh.AI_BUILDER_TAB), w.value = !0, e.isBuildInProgress = !1, L9 && (L9.setBuildActive(!1), L9.stopResponseHeartbeat()), y.value && (U(y.value), y.value = null), g.value = !1, e.isProcessing = !1;
|
|
116969
116972
|
};
|
|
116970
116973
|
e.stopGeneration = r1;
|
|
116971
116974
|
const C1 = L(() => {
|
|
@@ -117232,7 +117235,7 @@ function DD2(e, t, n, i, o, s) {
|
|
|
117232
117235
|
"has-quick-links": e.shouldShowQuickLinkBar
|
|
117233
117236
|
}, {
|
|
117234
117237
|
tab: e1(() => [
|
|
117235
|
-
e.selectedTabName !== "Preview" ? (C(), $(
|
|
117238
|
+
e.selectedTabName !== "Preview" ? (C(), $(C9(e.selectedTabName), {
|
|
117236
117239
|
key: 0,
|
|
117237
117240
|
ref: "sidebarTabComponent",
|
|
117238
117241
|
onCapturePreviewSnapshot: e.handleCaptureSnapshot
|
|
@@ -117703,7 +117706,7 @@ export {
|
|
|
117703
117706
|
v7 as M,
|
|
117704
117707
|
cy as N,
|
|
117705
117708
|
s92 as O,
|
|
117706
|
-
|
|
117709
|
+
B9 as P,
|
|
117707
117710
|
as as Q,
|
|
117708
117711
|
H92 as R,
|
|
117709
117712
|
L92 as S,
|
|
@@ -117711,7 +117714,7 @@ export {
|
|
|
117711
117714
|
t9 as U,
|
|
117712
117715
|
N42 as V,
|
|
117713
117716
|
$92 as W,
|
|
117714
|
-
|
|
117717
|
+
G2 as X,
|
|
117715
117718
|
Vd as Y,
|
|
117716
117719
|
_o as Z,
|
|
117717
117720
|
v as _,
|
|
@@ -117738,7 +117741,7 @@ export {
|
|
|
117738
117741
|
mR2 as aI,
|
|
117739
117742
|
B1 as aJ,
|
|
117740
117743
|
eC as aK,
|
|
117741
|
-
|
|
117744
|
+
c9 as aL,
|
|
117742
117745
|
XE as aM,
|
|
117743
117746
|
q7 as aN,
|
|
117744
117747
|
e3 as aO,
|
|
@@ -117761,7 +117764,7 @@ export {
|
|
|
117761
117764
|
n9 as ae,
|
|
117762
117765
|
ut as af,
|
|
117763
117766
|
C3 as ag,
|
|
117764
|
-
|
|
117767
|
+
I9 as ah,
|
|
117765
117768
|
D62 as ai,
|
|
117766
117769
|
x92 as aj,
|
|
117767
117770
|
k92 as ak,
|
|
@@ -117781,7 +117784,7 @@ export {
|
|
|
117781
117784
|
qi as ay,
|
|
117782
117785
|
sP as az,
|
|
117783
117786
|
V92 as b,
|
|
117784
|
-
|
|
117787
|
+
a9 as b$,
|
|
117785
117788
|
VT1 as b0,
|
|
117786
117789
|
TT1 as b1,
|
|
117787
117790
|
PN2 as b2,
|
|
@@ -117873,8 +117876,8 @@ export {
|
|
|
117873
117876
|
lD as co,
|
|
117874
117877
|
Is as cp,
|
|
117875
117878
|
u4 as cq,
|
|
117876
|
-
|
|
117877
|
-
|
|
117879
|
+
q2 as cr,
|
|
117880
|
+
y9 as cs,
|
|
117878
117881
|
DT1 as d,
|
|
117879
117882
|
lP as e,
|
|
117880
117883
|
aP as f,
|