@designcrowd/library.brand-page 6.0.22 → 6.0.23-ast-remove
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-BS8dQhaZ.js → CreatedOnBrandCrowd-de-de-C2IaS_Mb.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-45ZyXSxn.js → CreatedOnBrandCrowd-en-us-AtykytDu.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-B1K3Ojw-.js → CreatedOnBrandCrowd-es-es-CBzMnp_n.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-4v9c20Q9.js → CreatedOnBrandCrowd-fr-ca-Cz7WzWc3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-4v9c20Q9.js → CreatedOnBrandCrowd-fr-fr-Cz7WzWc3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-BdDmm1GE.js → CreatedOnBrandCrowd-pt-br-DE3vjPyC.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-BdDmm1GE.js → CreatedOnBrandCrowd-pt-pt-DE3vjPyC.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Dc8rOxAE.js → CreatedOnDcom-de-de-DlcGgBF6.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Bq6rusW6.js → CreatedOnDcom-en-us-D5jdeN_E.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-C5gNEuoi.js → CreatedOnDcom-es-es-BBB7ZE8B.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-NL2KoADg.js → CreatedOnDcom-fr-ca-odHmWYoP.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DZaLN0j-.js → CreatedOnDcom-fr-fr-DKr11T_P.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-DXZvo45o.js → CreatedOnDcom-pt-br-s8blQRF7.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-GUJ4aTM2.js → CreatedOnDcom-pt-pt-Dga4RM96.js} +1 -1
- package/lib/src/brand-page/models/index.d.ts +0 -1
- package/lib/src/brand-page/models/index.js +0 -3
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +0 -6
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +0 -2
- 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-Dh4vrmod.js → lib-aLiBOhnh.js} +495 -498
- 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 +4 -4
- package/src/brand-page/components/shop/Shop.vue.test.ts +209 -0
- package/src/brand-page/models/index.ts +0 -4
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +0 -3
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +0 -1
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +0 -2
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +0 -2
- package/src/shared/template-settings/store/template-settings-store.ts +6 -4
|
@@ -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 u9, 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 R9 = 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 = R9.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 = R9.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 = R9.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 = R9.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 = R9.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 = 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);
|
|
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 = R9, 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 ? R9.init(o(this.modules.logger), this.options) : R9.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 = R9, 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 Z9 = 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 = Z9.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 = Z9.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 = Z9.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 = Z9.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 = Z9.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 = Z9.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 = Z9, 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 ? Z9.init(o(this.modules.logger), this.options) : Z9.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 = Z9, 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)), p9 = (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 = p9("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 = p9("Date"), pz = p9("File"), fz = p9("Blob"), hz = p9("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 = p9("URLSearchParams"), [wz, bz, vz, Sz] = ["ReadableStream", "Request", "Response", "Headers"].map(p9), _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 = p9("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 = p9("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 = p9("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: p9,
|
|
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
|
+
}, k9 = 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: k9.transitional(k9.boolean),
|
|
6444
|
+
forcedJSONParsing: k9.transitional(k9.boolean),
|
|
6445
|
+
clarifyTimeoutError: k9.transitional(k9.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: k9.function,
|
|
6450
|
+
serialize: k9.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: k9.spelling("baseURL"),
|
|
6453
|
+
withXsrfToken: k9.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(), $(u9(`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(), $(u9(`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 f9(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__ */ f9(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(), $(u9(`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 a9() {
|
|
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 F9(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 = a9(), 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 = a9();
|
|
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 = F9(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) => F9(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(F9(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(F9(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
|
+
F9(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 === a9() || 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 = a9();
|
|
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 = a9(), 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 = a9(), {
|
|
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 = a9();
|
|
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 = F9(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 = F9(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()) : F9(i, o())[0];
|
|
23285
|
+
return !r && n.params.createElements && (r = Sd("div", n.params.wrapperClass), i.append(r), F9(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__ */ f9(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 = a9(), 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 = F9(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 = a9();
|
|
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
|
+
a9().addEventListener("visibilitychange", Y);
|
|
24963
24963
|
}, G = () => {
|
|
24964
|
-
|
|
24964
|
+
a9().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, l9 = () => {
|
|
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}`), A9 = (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
|
+
}, q2 = p1.lato, mT1 = ["Helvetica", "sans-serif"], Fl = {
|
|
28224
28224
|
defaultButtonStyle: {
|
|
28225
28225
|
textAlign: "left",
|
|
28226
|
-
fontFamily: A2[
|
|
28226
|
+
fontFamily: A2[q2].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)", c9 = "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, d9 = "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 = S9($1), Y5 = S9(h2), g6 = S9(r2), Ae = S9(Me), w5 = S9(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 = _9(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, M9(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 = _9(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) : M9(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 _9(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(S9(z));
|
|
29066
29066
|
}
|
|
29067
|
-
function
|
|
29067
|
+
function v9(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, M9, 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 ? S9(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 S9(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 _9 = 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 M9(z) {
|
|
29253
|
+
return zs(z) ? L3(z) : v9(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__ */ f9(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[q2].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[q2].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[q2].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[q2].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[q2].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: q2
|
|
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 || q2, 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 E9 = {
|
|
29598
29598
|
grid: "grid",
|
|
29599
29599
|
carousel: "carousel",
|
|
29600
29600
|
masonry: "masonry"
|
|
29601
29601
|
}, BT1 = Object.freeze(
|
|
29602
|
-
Object.keys(
|
|
29602
|
+
Object.keys(E9)
|
|
29603
29603
|
);
|
|
29604
29604
|
class rP {
|
|
29605
29605
|
galleryType;
|
|
29606
29606
|
constructor(t = {}) {
|
|
29607
|
-
this.galleryType = t.galleryType ||
|
|
29607
|
+
this.galleryType = t.galleryType || E9.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,9 +29843,6 @@ 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;
|
|
29849
29846
|
styles;
|
|
29850
29847
|
/** @deprecated */
|
|
29851
29848
|
headerStyles;
|
|
@@ -29890,7 +29887,7 @@ class v7 {
|
|
|
29890
29887
|
displayType: "tabs"
|
|
29891
29888
|
}), this.headerStyles = new Wt({
|
|
29892
29889
|
...t.headerStyles,
|
|
29893
|
-
navigation: new
|
|
29890
|
+
navigation: new C9(i, n)
|
|
29894
29891
|
}), this.headerStyles.logoImageUrl = t.headerStyles.logoImageUrl;
|
|
29895
29892
|
}
|
|
29896
29893
|
t.footerStyles && (this.footerStyles = new Hn({
|
|
@@ -29903,7 +29900,7 @@ class v7 {
|
|
|
29903
29900
|
)
|
|
29904
29901
|
}), this.pageHeaderDesktop = new Wt({
|
|
29905
29902
|
...t.pageHeaderDesktop,
|
|
29906
|
-
navigation: new
|
|
29903
|
+
navigation: new C9(
|
|
29907
29904
|
t.pageHeaderDesktop?.navigation,
|
|
29908
29905
|
n
|
|
29909
29906
|
)
|
|
@@ -30478,7 +30475,7 @@ function ZT1() {
|
|
|
30478
30475
|
return ip = w, ip;
|
|
30479
30476
|
}
|
|
30480
30477
|
var FT1 = ZT1();
|
|
30481
|
-
const _3 = /* @__PURE__ */
|
|
30478
|
+
const _3 = /* @__PURE__ */ f9(FT1);
|
|
30482
30479
|
function cP(e, t) {
|
|
30483
30480
|
return function() {
|
|
30484
30481
|
return e.apply(t, arguments);
|
|
@@ -30487,11 +30484,11 @@ function cP(e, t) {
|
|
|
30487
30484
|
const { toString: UT1 } = Object.prototype, { getPrototypeOf: Cy } = Object, { iterator: tC, toStringTag: CP } = Symbol, nC = /* @__PURE__ */ ((e) => (t) => {
|
|
30488
30485
|
const n = UT1.call(t);
|
|
30489
30486
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
30490
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
30487
|
+
})(/* @__PURE__ */ Object.create(null)), h9 = (e) => (e = e.toLowerCase(), (t) => nC(t) === e), iC = (e) => (t) => typeof t === e, { isArray: Jn } = Array, In = iC("undefined");
|
|
30491
30488
|
function ds(e) {
|
|
30492
30489
|
return e !== null && !In(e) && e.constructor !== null && !In(e.constructor) && P5(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
30493
30490
|
}
|
|
30494
|
-
const uP =
|
|
30491
|
+
const uP = h9("ArrayBuffer");
|
|
30495
30492
|
function zT1(e) {
|
|
30496
30493
|
let t;
|
|
30497
30494
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && uP(e.buffer), t;
|
|
@@ -30509,16 +30506,16 @@ const qT1 = iC("string"), P5 = iC("function"), pP = iC("number"), cs = (e) => e
|
|
|
30509
30506
|
} catch {
|
|
30510
30507
|
return !1;
|
|
30511
30508
|
}
|
|
30512
|
-
}, WT1 =
|
|
30509
|
+
}, WT1 = h9("Date"), KT1 = h9("File"), YT1 = h9("Blob"), XT1 = h9("FileList"), JT1 = (e) => cs(e) && P5(e.pipe), QT1 = (e) => {
|
|
30513
30510
|
let t;
|
|
30514
30511
|
return e && (typeof FormData == "function" && e instanceof FormData || P5(e.append) && ((t = nC(e)) === "formdata" || // detect form-data instance
|
|
30515
30512
|
t === "object" && P5(e.toString) && e.toString() === "[object FormData]"));
|
|
30516
|
-
}, eV1 =
|
|
30513
|
+
}, eV1 = h9("URLSearchParams"), [tV1, nV1, iV1, oV1] = [
|
|
30517
30514
|
"ReadableStream",
|
|
30518
30515
|
"Request",
|
|
30519
30516
|
"Response",
|
|
30520
30517
|
"Headers"
|
|
30521
|
-
].map(
|
|
30518
|
+
].map(h9), sV1 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
30522
30519
|
function Cs(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30523
30520
|
if (e === null || typeof e > "u")
|
|
30524
30521
|
return;
|
|
@@ -30622,9 +30619,9 @@ const rV1 = (e, t, n, { allOwnKeys: i } = {}) => (Cs(
|
|
|
30622
30619
|
for (; (n = e.exec(t)) !== null; )
|
|
30623
30620
|
i.push(n);
|
|
30624
30621
|
return i;
|
|
30625
|
-
}, hV1 =
|
|
30622
|
+
}, hV1 = h9("HTMLFormElement"), gV1 = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, i, o) {
|
|
30626
30623
|
return i.toUpperCase() + o;
|
|
30627
|
-
}), FS = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mV1 =
|
|
30624
|
+
}), FS = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mV1 = h9("RegExp"), gP = (e, t) => {
|
|
30628
30625
|
const n = Object.getOwnPropertyDescriptors(e), i = {};
|
|
30629
30626
|
Cs(n, (o, s) => {
|
|
30630
30627
|
let r;
|
|
@@ -30676,7 +30673,7 @@ const _V1 = (e) => {
|
|
|
30676
30673
|
return i;
|
|
30677
30674
|
};
|
|
30678
30675
|
return n(e, 0);
|
|
30679
|
-
}, MV1 =
|
|
30676
|
+
}, MV1 = h9("AsyncFunction"), kV1 = (e) => e && (cs(e) || P5(e)) && P5(e.then) && P5(e.catch), mP = ((e, t) => e ? setImmediate : t ? ((n, i) => (St.addEventListener(
|
|
30680
30677
|
"message",
|
|
30681
30678
|
({ source: o, data: s }) => {
|
|
30682
30679
|
o === St && s === n && i.length && i.shift()();
|
|
@@ -30718,7 +30715,7 @@ const _V1 = (e) => {
|
|
|
30718
30715
|
inherits: lV1,
|
|
30719
30716
|
toFlatObject: dV1,
|
|
30720
30717
|
kindOf: nC,
|
|
30721
|
-
kindOfTest:
|
|
30718
|
+
kindOfTest: h9,
|
|
30722
30719
|
endsWith: cV1,
|
|
30723
30720
|
toArray: CV1,
|
|
30724
30721
|
forEachEntry: pV1,
|
|
@@ -32388,7 +32385,7 @@ function EP() {
|
|
|
32388
32385
|
})(mr, mr.exports)), mr.exports;
|
|
32389
32386
|
}
|
|
32390
32387
|
var bx1 = /* @__PURE__ */ EP();
|
|
32391
|
-
const vx1 = /* @__PURE__ */
|
|
32388
|
+
const vx1 = /* @__PURE__ */ f9(bx1), hg = {
|
|
32392
32389
|
aliceblue: [240, 248, 255],
|
|
32393
32390
|
antiquewhite: [250, 235, 215],
|
|
32394
32391
|
aqua: [0, 255, 255],
|
|
@@ -33763,7 +33760,7 @@ function Ox1() {
|
|
|
33763
33760
|
V = y6(V, "hsi");
|
|
33764
33761
|
var R = V[0], W = V[1], o1 = V[2], c1, J, m1;
|
|
33765
33762
|
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];
|
|
33766
|
-
}, C8 = o7,
|
|
33763
|
+
}, C8 = o7, v9 = y.unpack, GC = y.type, Ci = Z, Os = H, Ds = w, jC = Q5;
|
|
33767
33764
|
Os.prototype.hsi = function() {
|
|
33768
33765
|
return jC(this._rgb);
|
|
33769
33766
|
}, Ci.hsi = function() {
|
|
@@ -33773,7 +33770,7 @@ function Ox1() {
|
|
|
33773
33770
|
p: 2,
|
|
33774
33771
|
test: function() {
|
|
33775
33772
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33776
|
-
if (V =
|
|
33773
|
+
if (V = v9(V, "hsi"), GC(V) === "array" && V.length === 3)
|
|
33777
33774
|
return "hsi";
|
|
33778
33775
|
}
|
|
33779
33776
|
});
|
|
@@ -33827,12 +33824,12 @@ function Ox1() {
|
|
|
33827
33824
|
}
|
|
33828
33825
|
}
|
|
33829
33826
|
return [v2, e2, x2, J.length > 3 ? J[3] : 1];
|
|
33830
|
-
}, nu = tu, iu = y.unpack, ou = y.type, Zs = Z,
|
|
33831
|
-
|
|
33827
|
+
}, nu = tu, iu = y.unpack, ou = y.type, Zs = Z, S9 = H, Fs = w, Us = u8;
|
|
33828
|
+
S9.prototype.hsv = function() {
|
|
33832
33829
|
return Us(this._rgb);
|
|
33833
33830
|
}, Zs.hsv = function() {
|
|
33834
33831
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33835
|
-
return new (Function.prototype.bind.apply(
|
|
33832
|
+
return new (Function.prototype.bind.apply(S9, [null].concat(V, ["hsv"])))();
|
|
33836
33833
|
}, Fs.format.hsv = nu, Fs.autodetect.push({
|
|
33837
33834
|
p: 2,
|
|
33838
33835
|
test: function() {
|
|
@@ -33856,27 +33853,27 @@ function Ox1() {
|
|
|
33856
33853
|
// 3 * t1 * t1
|
|
33857
33854
|
t3: 8856452e-9
|
|
33858
33855
|
// t1 * t1 * t1
|
|
33859
|
-
},
|
|
33856
|
+
}, _9 = b0, zs = y.unpack, qs = Math.pow, su = function() {
|
|
33860
33857
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33861
33858
|
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;
|
|
33862
33859
|
return [J1 < 0 ? 0 : J1, 500 * (m1 - b1), 200 * (b1 - Z1)];
|
|
33863
33860
|
}, v0 = function(V) {
|
|
33864
33861
|
return (V /= 255) <= 0.04045 ? V / 12.92 : qs((V + 0.055) / 1.055, 2.4);
|
|
33865
33862
|
}, pi = function(V) {
|
|
33866
|
-
return V >
|
|
33863
|
+
return V > _9.t3 ? qs(V, 1 / 3) : V / _9.t2 + _9.t0;
|
|
33867
33864
|
}, S0 = function(V, A, R) {
|
|
33868
33865
|
V = v0(V), A = v0(A), R = v0(R);
|
|
33869
|
-
var W = pi((0.4124564 * V + 0.3575761 * A + 0.1804375 * R) /
|
|
33866
|
+
var W = pi((0.4124564 * V + 0.3575761 * A + 0.1804375 * R) / _9.Xn), o1 = pi((0.2126729 * V + 0.7151522 * A + 0.072175 * R) / _9.Yn), c1 = pi((0.0193339 * V + 0.119192 * A + 0.9503041 * R) / _9.Zn);
|
|
33870
33867
|
return [W, o1, c1];
|
|
33871
|
-
}, Gs = su,
|
|
33868
|
+
}, Gs = su, M9 = b0, ru = y.unpack, au = Math.pow, z = function() {
|
|
33872
33869
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33873
33870
|
V = ru(V, "lab");
|
|
33874
33871
|
var R = V[0], W = V[1], o1 = V[2], c1, J, m1, b1, Z1, J1;
|
|
33875
|
-
return J = (R + 16) / 116, c1 = isNaN(W) ? J : J + W / 500, m1 = isNaN(o1) ? J : J - o1 / 200, J =
|
|
33872
|
+
return J = (R + 16) / 116, c1 = isNaN(W) ? J : J + W / 500, m1 = isNaN(o1) ? J : J - o1 / 200, J = M9.Yn * z1(J), c1 = M9.Xn * z1(c1), m1 = M9.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];
|
|
33876
33873
|
}, k1 = function(V) {
|
|
33877
33874
|
return 255 * (V <= 304e-5 ? 12.92 * V : 1.055 * au(V, 1 / 2.4) - 0.055);
|
|
33878
33875
|
}, z1 = function(V) {
|
|
33879
|
-
return V >
|
|
33876
|
+
return V > M9.t1 ? V * V * V : M9.t2 * (V - M9.t0);
|
|
33880
33877
|
}, E2 = z, X3 = y.unpack, Z4 = y.type, G6 = Z, S4 = H, fi = w, r7 = Gs;
|
|
33881
33878
|
S4.prototype.lab = function() {
|
|
33882
33879
|
return r7(this._rgb);
|
|
@@ -34933,7 +34930,7 @@ function Ox1() {
|
|
|
34933
34930
|
})(Kl)), Kl.exports;
|
|
34934
34931
|
}
|
|
34935
34932
|
var Dx1 = Ox1();
|
|
34936
|
-
const c_ = /* @__PURE__ */
|
|
34933
|
+
const c_ = /* @__PURE__ */ f9(Dx1), vg = Object.freeze(["id", "type", "role"]), Nx1 = Object.freeze([
|
|
34937
34934
|
"responseEmail",
|
|
34938
34935
|
"logoImageUrl"
|
|
34939
34936
|
]), $d = /^(https?):\/\/(.*)$/i, OP = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/, rC = "side-bar-content", Rx1 = (e) => (t) => ({
|
|
@@ -34946,7 +34943,7 @@ const c_ = /* @__PURE__ */ p9(Dx1), vg = Object.freeze(["id", "type", "role"]),
|
|
|
34946
34943
|
isEnabled: typeof t.isEnabled == "function" ? t.isEnabled(e) : t.isEnabled,
|
|
34947
34944
|
isLocked: typeof t.isLocked == "function" ? t.isLocked(e) : !1
|
|
34948
34945
|
}), C_ = (e, t) => {
|
|
34949
|
-
const n =
|
|
34946
|
+
const n = O9()[e.type], i = Object.assign(
|
|
34950
34947
|
n.createInitialContent(t),
|
|
34951
34948
|
e
|
|
34952
34949
|
), o = Object.keys(
|
|
@@ -35013,7 +35010,7 @@ const c_ = /* @__PURE__ */ p9(Dx1), vg = Object.freeze(["id", "type", "role"]),
|
|
|
35013
35010
|
for (; o.has(s); )
|
|
35014
35011
|
s += 1;
|
|
35015
35012
|
return s > 1 && (n = `${i.slugComponent}-${s}`), n;
|
|
35016
|
-
}, Pn = (e) => `${parseFloat(e) / 16}em`,
|
|
35013
|
+
}, Pn = (e) => `${parseFloat(e) / 16}em`, P9 = (e) => `${parseFloat(e) * 16}`, NP = 1, u0 = "%0A", p_ = "rgba(0,0,0,0.5)", jx1 = 5;
|
|
35017
35014
|
const {
|
|
35018
35015
|
entries: RP,
|
|
35019
35016
|
setPrototypeOf: f_,
|
|
@@ -35080,10 +35077,10 @@ function nH1(e) {
|
|
|
35080
35077
|
e9(e, t) || (e[t] = null);
|
|
35081
35078
|
return e;
|
|
35082
35079
|
}
|
|
35083
|
-
function
|
|
35080
|
+
function V9(e) {
|
|
35084
35081
|
const t = _g(null);
|
|
35085
35082
|
for (const [n, i] of RP(e))
|
|
35086
|
-
e9(e, n) && (Array.isArray(i) ? t[n] = nH1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] =
|
|
35083
|
+
e9(e, n) && (Array.isArray(i) ? t[n] = nH1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = V9(i) : t[n] = i);
|
|
35087
35084
|
return t;
|
|
35088
35085
|
}
|
|
35089
35086
|
function xi(e, t) {
|
|
@@ -35267,8 +35264,8 @@ function UP() {
|
|
|
35267
35264
|
}, s5 = function() {
|
|
35268
35265
|
let s1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
35269
35266
|
if (!(w5 && w5 === s1)) {
|
|
35270
|
-
if ((!s1 || typeof s1 != "object") && (s1 = {}), s1 =
|
|
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(
|
|
35267
|
+
if ((!s1 || typeof s1 != "object") && (s1 = {}), s1 = V9(s1), B3 = // eslint-disable-next-line unicorn/prefer-includes
|
|
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(V9(C2), s1.ADD_URI_SAFE_ATTR, Ae) : C2, we = e9(s1, "ADD_DATA_URI_TAGS") ? ye(V9(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) : V9({}), O1 = e9(s1, "FORBID_ATTR") ? ye({}, s1.FORBID_ATTR, Ae) : V9({}), 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 = V9(a1)), ye(a1, s1.ADD_TAGS, Ae))), s1.ADD_ATTR && (typeof s1.ADD_ATTR == "function" ? R1.attributeCheck = s1.ADD_ATTR : (F1 === H1 && (F1 = V9(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 = V9(y2)), ye(y2, s1.FORBID_CONTENTS, Ae)), s1.ADD_FORBID_CONTENTS && (y2 === te && (y2 = V9(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) {
|
|
35272
35269
|
if (typeof s1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
35273
35270
|
throw Vi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
35274
35271
|
if (typeof s1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -36186,7 +36183,7 @@ const TH1 = () => (hp || (hp = hH1), hp), VH1 = (e) => HH1(e, TH1()), xH1 = (e)
|
|
|
36186
36183
|
'applyLogoThemeToBrandPageNavigationStyles: Must provide "navigation"'
|
|
36187
36184
|
);
|
|
36188
36185
|
let n = !1;
|
|
36189
|
-
const o = t.viewport === K1.mobile ? new q7() : new
|
|
36186
|
+
const o = t.viewport === K1.mobile ? new q7() : new C9();
|
|
36190
36187
|
for (const [s, r] of Object.entries(t))
|
|
36191
36188
|
if (typeof r == "string" || typeof r == "boolean")
|
|
36192
36189
|
if (typeof r == "string") {
|
|
@@ -37102,7 +37099,7 @@ function VI1() {
|
|
|
37102
37099
|
return gf = t, gf;
|
|
37103
37100
|
}
|
|
37104
37101
|
var xI1 = VI1();
|
|
37105
|
-
const mf = /* @__PURE__ */
|
|
37102
|
+
const mf = /* @__PURE__ */ f9(xI1), QP = (e) => {
|
|
37106
37103
|
if (!document || Array.from(
|
|
37107
37104
|
document.querySelectorAll('head link[rel="stylesheet"]')
|
|
37108
37105
|
).some((i) => i.getAttribute("href") === e))
|
|
@@ -37305,7 +37302,7 @@ const mf = /* @__PURE__ */ p9(xI1), QP = (e) => {
|
|
|
37305
37302
|
return t;
|
|
37306
37303
|
const i = hA(e.displayStyle) ? DS.ULTRA_HD : DS.FULL_HD;
|
|
37307
37304
|
return `${t}${i}`;
|
|
37308
|
-
}, hA = (e) => e ===
|
|
37305
|
+
}, hA = (e) => e === d9 || e === Vn || e === m3 || e === jt, hC = (e, t, n) => {
|
|
37309
37306
|
const i = ky(t.buttonStyles), o = {
|
|
37310
37307
|
iconStyle: t.buttonStyles.iconStyle,
|
|
37311
37308
|
style: {
|
|
@@ -37823,7 +37820,7 @@ const mf = /* @__PURE__ */ p9(xI1), QP = (e) => {
|
|
|
37823
37820
|
defaultButtonStyle: l,
|
|
37824
37821
|
selectedButtonStyle: u,
|
|
37825
37822
|
hamburgerMenuStyle: b
|
|
37826
|
-
}) : new
|
|
37823
|
+
}) : new C9({
|
|
37827
37824
|
...e.navigation,
|
|
37828
37825
|
defaultButtonStyle: l,
|
|
37829
37826
|
selectedButtonStyle: u,
|
|
@@ -42774,7 +42771,7 @@ function BP1() {
|
|
|
42774
42771
|
if (a5.has(Qe)) return a5.get(Qe);
|
|
42775
42772
|
a5.set(Qe, C8);
|
|
42776
42773
|
}
|
|
42777
|
-
for (var
|
|
42774
|
+
for (var v9 in Qe) v9 !== "default" && {}.hasOwnProperty.call(Qe, v9) && ((o7 = (a5 = Object.defineProperty) && Object.getOwnPropertyDescriptor(Qe, v9)) && (o7.get || o7.set) ? a5(C8, v9, o7) : C8[v9] = Qe[v9]);
|
|
42778
42775
|
return C8;
|
|
42779
42776
|
})(n3, L3);
|
|
42780
42777
|
}
|
|
@@ -42899,7 +42896,7 @@ function BP1() {
|
|
|
42899
42896
|
})(_r, _r.exports)), _r.exports;
|
|
42900
42897
|
}
|
|
42901
42898
|
var Ey = /* @__PURE__ */ BP1();
|
|
42902
|
-
const OP1 = /* @__PURE__ */
|
|
42899
|
+
const OP1 = /* @__PURE__ */ f9(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) => {
|
|
42903
42900
|
const t = /^[0-9*+-\s]+$/;
|
|
42904
42901
|
return e.match(t) && e.length >= 3 && e.length <= 18;
|
|
42905
42902
|
}, DP1 = (e, t) => Py(e) && e.length <= t, Ay = (e) => {
|
|
@@ -44128,13 +44125,13 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44128
44125
|
} else n.text !== "" && n.textItems[0].text === "" && (n.textItems[0].text = n.text, n.textItems[0].textStyle = {
|
|
44129
44126
|
...n.textStyle,
|
|
44130
44127
|
textAlign: n.textStyle?.textAlign || Ve,
|
|
44131
|
-
fontFamily: n.textStyle?.fontFamily || A2[
|
|
44128
|
+
fontFamily: n.textStyle?.fontFamily || A2[q2].name
|
|
44132
44129
|
});
|
|
44133
44130
|
n.textItems.forEach((i) => {
|
|
44134
44131
|
i.textStyle = {
|
|
44135
44132
|
...i.textStyle,
|
|
44136
44133
|
textAlign: i.textStyle?.textAlign || "left",
|
|
44137
|
-
fontFamily: i.textStyle?.fontFamily || A2[
|
|
44134
|
+
fontFamily: i.textStyle?.fontFamily || A2[q2].name,
|
|
44138
44135
|
lineHeight: i.textStyle?.lineHeight?.includes("rem") ? N2 : i.textStyle?.lineHeight || N2
|
|
44139
44136
|
};
|
|
44140
44137
|
}), n.text = "";
|
|
@@ -44142,7 +44139,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44142
44139
|
n.textStyle = {
|
|
44143
44140
|
...n.textStyle,
|
|
44144
44141
|
textAlign: n.textStyle?.textAlign || Ve,
|
|
44145
|
-
fontFamily: n.textStyle?.fontFamily || A2[
|
|
44142
|
+
fontFamily: n.textStyle?.fontFamily || A2[q2].name,
|
|
44146
44143
|
lineHeight: n.textStyle?.lineHeight?.includes("rem") ? N2 : n.textStyle?.lineHeight || N2
|
|
44147
44144
|
};
|
|
44148
44145
|
});
|
|
@@ -44154,17 +44151,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44154
44151
|
n.titleStyle = {
|
|
44155
44152
|
...n.titleStyle,
|
|
44156
44153
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44157
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44154
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44158
44155
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? N2 : n.titleStyle?.lineHeight || N2
|
|
44159
44156
|
}, n.nameStyle = {
|
|
44160
44157
|
...n.nameStyle,
|
|
44161
44158
|
textAlign: n.nameStyle?.textAlign || Ve,
|
|
44162
|
-
fontFamily: n.nameStyle?.fontFamily || A2[
|
|
44159
|
+
fontFamily: n.nameStyle?.fontFamily || A2[q2].name,
|
|
44163
44160
|
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ? O4 : n.nameStyle?.lineHeight || O4
|
|
44164
44161
|
}, n.descriptionStyle = {
|
|
44165
44162
|
...n.descriptionStyle,
|
|
44166
44163
|
textAlign: n.descriptionStyle?.textAlign || Ve,
|
|
44167
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44164
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[q2].name,
|
|
44168
44165
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44169
44166
|
};
|
|
44170
44167
|
});
|
|
@@ -44176,12 +44173,12 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44176
44173
|
n.titleStyle = {
|
|
44177
44174
|
...n.titleStyle,
|
|
44178
44175
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44179
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44176
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44180
44177
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? O4 : n.titleStyle?.lineHeight || O4
|
|
44181
44178
|
}, n.buttonTextStyle = {
|
|
44182
44179
|
...n.buttonTextStyle,
|
|
44183
44180
|
textAlign: n.buttonTextStyle?.textAlign || Ve,
|
|
44184
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44181
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[q2].name,
|
|
44185
44182
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44186
44183
|
};
|
|
44187
44184
|
});
|
|
@@ -44193,27 +44190,27 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44193
44190
|
n.titleStyle = {
|
|
44194
44191
|
...n.titleStyle,
|
|
44195
44192
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44196
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44193
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44197
44194
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? O4 : n.titleStyle?.lineHeight || O4
|
|
44198
44195
|
}, n.headingStyle = {
|
|
44199
44196
|
...n.headingStyle,
|
|
44200
44197
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44201
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44198
|
+
fontFamily: n.headingStyle?.fontFamily || A2[q2].name,
|
|
44202
44199
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? N2 : n.headingStyle?.lineHeight || N2
|
|
44203
44200
|
}, n.descriptionStyle = {
|
|
44204
44201
|
...n.descriptionStyle,
|
|
44205
44202
|
textAlign: n.descriptionStyle?.textAlign || Ve,
|
|
44206
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44203
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[q2].name,
|
|
44207
44204
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44208
44205
|
}, n.buttonTextStyle = {
|
|
44209
44206
|
...n.buttonTextStyle,
|
|
44210
44207
|
textAlign: n.buttonTextStyle?.textAlign || Ve,
|
|
44211
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44208
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[q2].name,
|
|
44212
44209
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44213
44210
|
}, n.itemTextStyle = {
|
|
44214
44211
|
...n.itemTextStyle,
|
|
44215
44212
|
textAlign: n.itemTextStyle?.textAlign || Ve,
|
|
44216
|
-
fontFamily: n.itemTextStyle?.fontFamily || A2[
|
|
44213
|
+
fontFamily: n.itemTextStyle?.fontFamily || A2[q2].name,
|
|
44217
44214
|
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? N2 : n.itemTextStyle?.lineHeight || N2
|
|
44218
44215
|
};
|
|
44219
44216
|
});
|
|
@@ -44225,7 +44222,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44225
44222
|
n.titleStyle = {
|
|
44226
44223
|
...n.titleStyle,
|
|
44227
44224
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44228
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44225
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44229
44226
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? N2 : n.titleStyle?.lineHeight || N2
|
|
44230
44227
|
};
|
|
44231
44228
|
});
|
|
@@ -44235,20 +44232,20 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44235
44232
|
...i.contents.filter(f0)
|
|
44236
44233
|
], []).forEach((n) => {
|
|
44237
44234
|
let i = "left";
|
|
44238
|
-
(n.displayStyle === m3 || n.displayStyle ===
|
|
44235
|
+
(n.displayStyle === m3 || n.displayStyle === d9 || n.displayStyle === ze) && (i = Ve), n.titleStyle = {
|
|
44239
44236
|
...n.titleStyle,
|
|
44240
44237
|
textAlign: n.titleStyle?.textAlign || i,
|
|
44241
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44238
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44242
44239
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44243
44240
|
}, n.descriptionStyle = {
|
|
44244
44241
|
...n.descriptionStyle,
|
|
44245
44242
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
44246
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44243
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[q2].name,
|
|
44247
44244
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44248
44245
|
}, n.buttonTextStyle = {
|
|
44249
44246
|
...n.buttonTextStyle,
|
|
44250
44247
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
44251
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44248
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[q2].name,
|
|
44252
44249
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44253
44250
|
};
|
|
44254
44251
|
});
|
|
@@ -44261,7 +44258,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44261
44258
|
return;
|
|
44262
44259
|
const i = new URL(n.imageUrl);
|
|
44263
44260
|
!i.hostname.includes("unsplash.com") || ![
|
|
44264
|
-
|
|
44261
|
+
d9,
|
|
44265
44262
|
Vn,
|
|
44266
44263
|
m3,
|
|
44267
44264
|
jt
|
|
@@ -44276,12 +44273,12 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44276
44273
|
n.displayStyle === ze && (i = Ve), n.titleStyle = {
|
|
44277
44274
|
...n.titleStyle,
|
|
44278
44275
|
textAlign: n.titleStyle?.textAlign || i,
|
|
44279
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44276
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44280
44277
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44281
44278
|
}, n.paragraphStyle = {
|
|
44282
44279
|
...n.paragraphStyle,
|
|
44283
44280
|
textAlign: n.paragraphStyle?.textAlign || i,
|
|
44284
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44281
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[q2].name,
|
|
44285
44282
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44286
44283
|
};
|
|
44287
44284
|
});
|
|
@@ -44293,25 +44290,25 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44293
44290
|
)
|
|
44294
44291
|
], []).forEach((n) => {
|
|
44295
44292
|
let i = Ve;
|
|
44296
|
-
n.displayStyle ===
|
|
44293
|
+
n.displayStyle === d9 && (i = "left"), n.titleStyle = {
|
|
44297
44294
|
...n.titleStyle,
|
|
44298
44295
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44299
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44296
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44300
44297
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44301
44298
|
}, n.testimonialStyle = {
|
|
44302
44299
|
...n.testimonialStyle,
|
|
44303
44300
|
textAlign: n.testimonialStyle?.textAlign || i,
|
|
44304
|
-
fontFamily: n.testimonialStyle?.fontFamily || A2[
|
|
44301
|
+
fontFamily: n.testimonialStyle?.fontFamily || A2[q2].name,
|
|
44305
44302
|
lineHeight: n.testimonialStyle?.lineHeight?.includes("rem") ? O4 : n.testimonialStyle?.lineHeight || O4
|
|
44306
44303
|
}, n.nameStyle = {
|
|
44307
44304
|
...n.nameStyle,
|
|
44308
44305
|
textAlign: n.nameStyle?.textAlign || i,
|
|
44309
|
-
fontFamily: n.nameStyle?.fontFamily || A2[
|
|
44306
|
+
fontFamily: n.nameStyle?.fontFamily || A2[q2].name,
|
|
44310
44307
|
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ? N2 : n.nameStyle?.lineHeight || N2
|
|
44311
44308
|
}, n.positionStyle = {
|
|
44312
44309
|
...n.positionStyle,
|
|
44313
44310
|
textAlign: n.positionStyle?.textAlign || i,
|
|
44314
|
-
fontFamily: n.positionStyle?.fontFamily || A2[
|
|
44311
|
+
fontFamily: n.positionStyle?.fontFamily || A2[q2].name,
|
|
44315
44312
|
lineHeight: n.positionStyle?.lineHeight?.includes("rem") ? N2 : n.positionStyle?.lineHeight || N2
|
|
44316
44313
|
};
|
|
44317
44314
|
});
|
|
@@ -44323,17 +44320,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44323
44320
|
n.titleStyle = {
|
|
44324
44321
|
...n.titleStyle,
|
|
44325
44322
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44326
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44323
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44327
44324
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44328
44325
|
}, n.headingStyle = {
|
|
44329
44326
|
...n.headingStyle,
|
|
44330
44327
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44331
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44328
|
+
fontFamily: n.headingStyle?.fontFamily || A2[q2].name,
|
|
44332
44329
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? O4 : n.headingStyle?.lineHeight || O4
|
|
44333
44330
|
}, n.paragraphStyle = {
|
|
44334
44331
|
...n.paragraphStyle,
|
|
44335
44332
|
textAlign: n.paragraphStyle?.textAlign || Ve,
|
|
44336
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44333
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[q2].name,
|
|
44337
44334
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44338
44335
|
};
|
|
44339
44336
|
});
|
|
@@ -44345,17 +44342,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44345
44342
|
n.titleStyle = {
|
|
44346
44343
|
...n.titleStyle,
|
|
44347
44344
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44348
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44345
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44349
44346
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44350
44347
|
}, n.headingStyle = {
|
|
44351
44348
|
...n.headingStyle,
|
|
44352
44349
|
textAlign: n.headingStyle?.textAlign || Ve,
|
|
44353
|
-
fontFamily: n.headingStyle?.fontFamily || A2[
|
|
44350
|
+
fontFamily: n.headingStyle?.fontFamily || A2[q2].name,
|
|
44354
44351
|
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? O4 : n.headingStyle?.lineHeight || O4
|
|
44355
44352
|
}, n.paragraphStyle = {
|
|
44356
44353
|
...n.paragraphStyle,
|
|
44357
44354
|
textAlign: n.paragraphStyle?.textAlign || Ve,
|
|
44358
|
-
fontFamily: n.paragraphStyle?.fontFamily || A2[
|
|
44355
|
+
fontFamily: n.paragraphStyle?.fontFamily || A2[q2].name,
|
|
44359
44356
|
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? N2 : n.paragraphStyle?.lineHeight || N2
|
|
44360
44357
|
};
|
|
44361
44358
|
});
|
|
@@ -44367,7 +44364,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44367
44364
|
n.titleStyle = {
|
|
44368
44365
|
...n.titleStyle,
|
|
44369
44366
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44370
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44367
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44371
44368
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44372
44369
|
};
|
|
44373
44370
|
});
|
|
@@ -44380,7 +44377,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44380
44377
|
n.displayStyle === e3.featured && (i = Ve), n.itemTextStyle = {
|
|
44381
44378
|
...n.itemTextStyle,
|
|
44382
44379
|
textAlign: n.itemTextStyle?.textAlign || i,
|
|
44383
|
-
fontFamily: n.itemTextStyle?.fontFamily || A2[
|
|
44380
|
+
fontFamily: n.itemTextStyle?.fontFamily || A2[q2].name,
|
|
44384
44381
|
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? N2 : n.itemTextStyle?.lineHeight || N2
|
|
44385
44382
|
};
|
|
44386
44383
|
});
|
|
@@ -44392,17 +44389,17 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44392
44389
|
n.layoutStyle || (n.layoutStyle = ""), n.buttonText = n.buttonText || "Send", n.titleStyle = {
|
|
44393
44390
|
...n.titleStyle,
|
|
44394
44391
|
textAlign: n.titleStyle?.textAlign || Ve,
|
|
44395
|
-
fontFamily: n.titleStyle?.fontFamily || A2[
|
|
44392
|
+
fontFamily: n.titleStyle?.fontFamily || A2[q2].name,
|
|
44396
44393
|
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? g3 : n.titleStyle?.lineHeight || g3
|
|
44397
44394
|
}, n.descriptionStyle = {
|
|
44398
44395
|
...n.descriptionStyle,
|
|
44399
44396
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
44400
|
-
fontFamily: n.descriptionStyle?.fontFamily || A2[
|
|
44397
|
+
fontFamily: n.descriptionStyle?.fontFamily || A2[q2].name,
|
|
44401
44398
|
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? N2 : n.descriptionStyle?.lineHeight || N2
|
|
44402
44399
|
}, n.buttonTextStyle = {
|
|
44403
44400
|
...n.buttonTextStyle,
|
|
44404
44401
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
44405
|
-
fontFamily: n.buttonTextStyle?.fontFamily || A2[
|
|
44402
|
+
fontFamily: n.buttonTextStyle?.fontFamily || A2[q2].name,
|
|
44406
44403
|
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? N2 : n.buttonTextStyle?.lineHeight || N2
|
|
44407
44404
|
};
|
|
44408
44405
|
});
|
|
@@ -44494,7 +44491,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44494
44491
|
e.pageHeaderDesktop = new Wt({
|
|
44495
44492
|
...e.headerStyles,
|
|
44496
44493
|
logoImage: t,
|
|
44497
|
-
navigation: new
|
|
44494
|
+
navigation: new C9(e.headerStyles.navigation)
|
|
44498
44495
|
}), e.pageHeaderMobile = new Xn({
|
|
44499
44496
|
...e.headerStyles,
|
|
44500
44497
|
logoImage: t,
|
|
@@ -44519,7 +44516,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44519
44516
|
const n = t.textStyleOptions.titles.style, i = t.textStyleOptions.headings.style, o = t.textStyleOptions.paragraphs.style, s = t.textStyleOptions.buttons.style;
|
|
44520
44517
|
e.styles.textStyles.textStyleOptions.titles.style = {
|
|
44521
44518
|
...n,
|
|
44522
|
-
fontFamily: n?.fontFamily || A2[
|
|
44519
|
+
fontFamily: n?.fontFamily || A2[q2].name,
|
|
44523
44520
|
letterSpacing: n.letterSpacing || hr,
|
|
44524
44521
|
lineHeight: n?.lineHeight?.includes("rem") ? g3 : n?.lineHeight || g3,
|
|
44525
44522
|
fontWeight: n.fontWeight || void 0,
|
|
@@ -44527,7 +44524,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44527
44524
|
textDecoration: n.textDecoration || void 0
|
|
44528
44525
|
}, e.styles.textStyles.textStyleOptions.headings.style = {
|
|
44529
44526
|
...i,
|
|
44530
|
-
fontFamily: i?.fontFamily || A2[
|
|
44527
|
+
fontFamily: i?.fontFamily || A2[q2].name,
|
|
44531
44528
|
letterSpacing: i.letterSpacing || hr,
|
|
44532
44529
|
lineHeight: i?.lineHeight?.includes("rem") ? O4 : i?.lineHeight || O4,
|
|
44533
44530
|
fontWeight: i.fontWeight || void 0,
|
|
@@ -44535,7 +44532,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44535
44532
|
textDecoration: i.textDecoration || void 0
|
|
44536
44533
|
}, e.styles.textStyles.textStyleOptions.paragraphs.style = {
|
|
44537
44534
|
...o,
|
|
44538
|
-
fontFamily: o?.fontFamily || A2[
|
|
44535
|
+
fontFamily: o?.fontFamily || A2[q2].name,
|
|
44539
44536
|
letterSpacing: o.letterSpacing || hr,
|
|
44540
44537
|
lineHeight: o?.lineHeight?.includes("rem") ? N2 : o?.lineHeight || N2,
|
|
44541
44538
|
fontWeight: o.fontWeight || void 0,
|
|
@@ -44543,7 +44540,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
44543
44540
|
textDecoration: o.textDecoration || void 0
|
|
44544
44541
|
}, e.styles.textStyles.textStyleOptions.buttons.style = {
|
|
44545
44542
|
...s,
|
|
44546
|
-
fontFamily: s?.fontFamily || A2[
|
|
44543
|
+
fontFamily: s?.fontFamily || A2[q2].name,
|
|
44547
44544
|
letterSpacing: s.letterSpacing || hr,
|
|
44548
44545
|
lineHeight: s?.lineHeight?.includes("rem") ? N2 : s?.lineHeight || N2,
|
|
44549
44546
|
fontWeight: s.fontWeight || void 0,
|
|
@@ -45564,7 +45561,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45564
45561
|
svgShapeUtil: eA1,
|
|
45565
45562
|
svgUtil: S$1,
|
|
45566
45563
|
unescapeContentText: LA
|
|
45567
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
45564
|
+
}, Symbol.toStringTag, { value: "Module" })), g9 = (e, t, n) => () => {
|
|
45568
45565
|
let i = "";
|
|
45569
45566
|
switch (e) {
|
|
45570
45567
|
case "website":
|
|
@@ -45660,7 +45657,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45660
45657
|
id: le.v4(),
|
|
45661
45658
|
type: "video",
|
|
45662
45659
|
autoplay: !1,
|
|
45663
|
-
displayStyle:
|
|
45660
|
+
displayStyle: c9,
|
|
45664
45661
|
mute: !1,
|
|
45665
45662
|
videoUrl: "",
|
|
45666
45663
|
topPadding: 0,
|
|
@@ -45771,7 +45768,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45771
45768
|
}), I$1 = (e) => ({
|
|
45772
45769
|
id: le.v4(),
|
|
45773
45770
|
description: "",
|
|
45774
|
-
displayStyle:
|
|
45771
|
+
displayStyle: c9,
|
|
45775
45772
|
requestPaymentConfig: {
|
|
45776
45773
|
paymentOptions: [],
|
|
45777
45774
|
isCustomerRequestDetailsEnabled: !1,
|
|
@@ -45863,7 +45860,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45863
45860
|
],
|
|
45864
45861
|
isCustomerMessageEnabled: !0
|
|
45865
45862
|
},
|
|
45866
|
-
displayStyle:
|
|
45863
|
+
displayStyle: c9,
|
|
45867
45864
|
title: O("supportMeTitle"),
|
|
45868
45865
|
successMessage: O("successSupportPlaceholder"),
|
|
45869
45866
|
description: O("makeADonationDescription"),
|
|
@@ -45906,7 +45903,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
45906
45903
|
title: O("contactUsTitle"),
|
|
45907
45904
|
description: "",
|
|
45908
45905
|
buttonText: O("sendPlaceholder"),
|
|
45909
|
-
displayStyle:
|
|
45906
|
+
displayStyle: c9,
|
|
45910
45907
|
layoutStyle: t,
|
|
45911
45908
|
topPadding: n,
|
|
45912
45909
|
bottomPadding: n,
|
|
@@ -46341,8 +46338,8 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46341
46338
|
options: [
|
|
46342
46339
|
{
|
|
46343
46340
|
label: R3("preview"),
|
|
46344
|
-
value:
|
|
46345
|
-
isSelected: e ===
|
|
46341
|
+
value: c9,
|
|
46342
|
+
isSelected: e === c9
|
|
46346
46343
|
},
|
|
46347
46344
|
{
|
|
46348
46345
|
label: R3("collapsed"),
|
|
@@ -46362,24 +46359,24 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46362
46359
|
return {
|
|
46363
46360
|
options: [
|
|
46364
46361
|
{
|
|
46365
|
-
value:
|
|
46366
|
-
isSelected: !e || e?.galleryType ===
|
|
46362
|
+
value: E9.grid,
|
|
46363
|
+
isSelected: !e || e?.galleryType === E9.grid,
|
|
46367
46364
|
iconName: "image-gallery-grid",
|
|
46368
46365
|
iconViewBox: "0 0 94 24",
|
|
46369
46366
|
title: R3("grid"),
|
|
46370
46367
|
dataAttribute: "data-test-btn-grid"
|
|
46371
46368
|
},
|
|
46372
46369
|
{
|
|
46373
|
-
value:
|
|
46374
|
-
isSelected: e?.galleryType ===
|
|
46370
|
+
value: E9.carousel,
|
|
46371
|
+
isSelected: e?.galleryType === E9.carousel,
|
|
46375
46372
|
iconName: "image-gallery-carousel",
|
|
46376
46373
|
iconViewBox: "0 0 94 24",
|
|
46377
46374
|
title: R3("carousel"),
|
|
46378
46375
|
dataAttribute: "data-test-btn-carousel"
|
|
46379
46376
|
},
|
|
46380
46377
|
{
|
|
46381
|
-
value:
|
|
46382
|
-
isSelected: e?.galleryType ===
|
|
46378
|
+
value: E9.masonry,
|
|
46379
|
+
isSelected: e?.galleryType === E9.masonry,
|
|
46383
46380
|
iconName: "image-gallery-masonry",
|
|
46384
46381
|
iconViewBox: "0 0 94 24",
|
|
46385
46382
|
title: R3("masonry"),
|
|
@@ -46390,7 +46387,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46390
46387
|
},
|
|
46391
46388
|
convertBack(e) {
|
|
46392
46389
|
const t = e.options.find((n) => n.isSelected);
|
|
46393
|
-
return t ? { galleryType: t.value } : { galleryType:
|
|
46390
|
+
return t ? { galleryType: t.value } : { galleryType: E9.grid };
|
|
46394
46391
|
}
|
|
46395
46392
|
}, j$1 = 2, B2 = r3("brandPageMakerUser", {
|
|
46396
46393
|
state: () => ({
|
|
@@ -46428,7 +46425,7 @@ const m$ = /brand-page\/([^?]*)/, fA1 = /logo\/([^\/]*)\//, y$ = /(http|https):\
|
|
|
46428
46425
|
let bf;
|
|
46429
46426
|
const m4 = () => (bf || (bf = k2.create({
|
|
46430
46427
|
headers: {
|
|
46431
|
-
"Accept-Language":
|
|
46428
|
+
"Accept-Language": l9()
|
|
46432
46429
|
}
|
|
46433
46430
|
})), bf), D4 = (e) => {
|
|
46434
46431
|
switch (e) {
|
|
@@ -46527,7 +46524,7 @@ const m4 = () => (bf || (bf = k2.create({
|
|
|
46527
46524
|
query: e.query,
|
|
46528
46525
|
page: e.page.toString(),
|
|
46529
46526
|
pageSize: e.pageSize.toString(),
|
|
46530
|
-
locale:
|
|
46527
|
+
locale: l9()
|
|
46531
46528
|
})}`;
|
|
46532
46529
|
try {
|
|
46533
46530
|
const i = await m4().get(n);
|
|
@@ -46810,7 +46807,7 @@ function uB1() {
|
|
|
46810
46807
|
return vf = Q1, vf;
|
|
46811
46808
|
}
|
|
46812
46809
|
var pB1 = uB1();
|
|
46813
|
-
const FL = /* @__PURE__ */
|
|
46810
|
+
const FL = /* @__PURE__ */ f9(pB1);
|
|
46814
46811
|
function Ud(e, t) {
|
|
46815
46812
|
const n = e.replace(/\s+/g, "-").toLowerCase(), i = t ? `${t.id}-${t.name}` : "nv", o = Math.random().toString(36).substring(2, 8);
|
|
46816
46813
|
return `${n}-${i}-${o}`;
|
|
@@ -46927,7 +46924,7 @@ const u4 = r3("shopConfig", {
|
|
|
46927
46924
|
);
|
|
46928
46925
|
}
|
|
46929
46926
|
}
|
|
46930
|
-
}),
|
|
46927
|
+
}), r9 = {
|
|
46931
46928
|
all: "all",
|
|
46932
46929
|
categories: "categories",
|
|
46933
46930
|
AI: "ai"
|
|
@@ -47171,7 +47168,7 @@ const yB1 = {
|
|
|
47171
47168
|
!this.viewModel?.styles?.backgroundStylesViewModel?.backgroundImageUrl && this.viewModel?.styles?.backgroundStylesViewModel?.style && (e = {
|
|
47172
47169
|
...this.viewModel?.styles?.backgroundStylesViewModel?.style
|
|
47173
47170
|
}), Object.assign(e, this.viewModel?.styles?.textStyles?.style);
|
|
47174
|
-
const t = this.viewModel.styles?.textStyles.textFontFamily ||
|
|
47171
|
+
const t = this.viewModel.styles?.textStyles.textFontFamily || q2, n = A2[t];
|
|
47175
47172
|
return n && (e.fontFamily = [
|
|
47176
47173
|
`"${n.name}"`,
|
|
47177
47174
|
...mT1
|
|
@@ -47355,7 +47352,7 @@ const yB1 = {
|
|
|
47355
47352
|
}
|
|
47356
47353
|
}
|
|
47357
47354
|
}), Ky = (e) => {
|
|
47358
|
-
const t =
|
|
47355
|
+
const t = O9()[e];
|
|
47359
47356
|
return t || (console.error(`Unsupported template type: "${e}"`), null);
|
|
47360
47357
|
}, xB1 = (e) => e?.displayName || "", Yy = (e, t, n) => {
|
|
47361
47358
|
const i = Object.keys(t.fields).filter((o) => t.fields[o]?.role === "multi").flatMap((o) => {
|
|
@@ -47405,7 +47402,7 @@ const yB1 = {
|
|
|
47405
47402
|
borderTopWidth: "0px",
|
|
47406
47403
|
backgroundColor: void 0,
|
|
47407
47404
|
fontSize: R5,
|
|
47408
|
-
fontFamily: A2[
|
|
47405
|
+
fontFamily: A2[q2].name,
|
|
47409
47406
|
textAlign: Ve
|
|
47410
47407
|
},
|
|
47411
47408
|
selectedButtonStyle: {
|
|
@@ -47444,7 +47441,7 @@ const yB1 = {
|
|
|
47444
47441
|
borderTopWidth: "2px",
|
|
47445
47442
|
backgroundColor: void 0,
|
|
47446
47443
|
fontSize: R5,
|
|
47447
|
-
fontFamily: A2[
|
|
47444
|
+
fontFamily: A2[q2].name,
|
|
47448
47445
|
textAlign: Ve
|
|
47449
47446
|
},
|
|
47450
47447
|
selectedButtonStyle: {
|
|
@@ -47523,7 +47520,7 @@ const yB1 = {
|
|
|
47523
47520
|
showSocialLinksField: !1,
|
|
47524
47521
|
showFontSettings: !1
|
|
47525
47522
|
}
|
|
47526
|
-
}, ft = () =>
|
|
47523
|
+
}, ft = () => G2().onStyleChanged(), z4 = r3("uiStyleSettings", {
|
|
47527
47524
|
state: () => ({
|
|
47528
47525
|
availableButtonStyleConfigs: [],
|
|
47529
47526
|
availableGalleryTypes: [],
|
|
@@ -47738,7 +47735,7 @@ const yB1 = {
|
|
|
47738
47735
|
this._setButtonStyle(n), ft();
|
|
47739
47736
|
},
|
|
47740
47737
|
async setTextFontFamily(e) {
|
|
47741
|
-
const t =
|
|
47738
|
+
const t = G2(), n = Te(), i = this.availableTextFontFamilyOptions.find(
|
|
47742
47739
|
(o) => o.key === e.fontFamily
|
|
47743
47740
|
);
|
|
47744
47741
|
if (i) {
|
|
@@ -47846,7 +47843,7 @@ const yB1 = {
|
|
|
47846
47843
|
groups: {}
|
|
47847
47844
|
}), EB1 = () => ({
|
|
47848
47845
|
isCollapsed: !1
|
|
47849
|
-
}),
|
|
47846
|
+
}), $9 = r3(
|
|
47850
47847
|
"uiNavigationStyleSettings",
|
|
47851
47848
|
{
|
|
47852
47849
|
state: () => ({
|
|
@@ -47854,7 +47851,7 @@ const yB1 = {
|
|
|
47854
47851
|
navigationStyleTypeConfigs: WL,
|
|
47855
47852
|
navigation: {
|
|
47856
47853
|
[V2.header]: {
|
|
47857
|
-
[K1.desktop]: new
|
|
47854
|
+
[K1.desktop]: new C9(),
|
|
47858
47855
|
[K1.mobile]: new q7()
|
|
47859
47856
|
}
|
|
47860
47857
|
}
|
|
@@ -47964,7 +47961,7 @@ const yB1 = {
|
|
|
47964
47961
|
displayType: t,
|
|
47965
47962
|
viewport: n
|
|
47966
47963
|
}) {
|
|
47967
|
-
const i =
|
|
47964
|
+
const i = G2(), o = z4();
|
|
47968
47965
|
this.navigation[e][n].displayType = t;
|
|
47969
47966
|
const s = this.navigation[e][n].defaultButtonStyle.textStyleType, r = this.availableNavigationStyleConfigs.find(
|
|
47970
47967
|
(d) => d.displayType === t
|
|
@@ -60296,7 +60293,7 @@ function Zo(e) {
|
|
|
60296
60293
|
}
|
|
60297
60294
|
});
|
|
60298
60295
|
}
|
|
60299
|
-
let
|
|
60296
|
+
let m9 = class dm {
|
|
60300
60297
|
constructor(t = {}) {
|
|
60301
60298
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
60302
60299
|
name: this.name,
|
|
@@ -61387,15 +61384,15 @@ function fV(e, t) {
|
|
|
61387
61384
|
}
|
|
61388
61385
|
return !1;
|
|
61389
61386
|
}
|
|
61390
|
-
var
|
|
61387
|
+
var B9 = {
|
|
61391
61388
|
isTouch: !1
|
|
61392
61389
|
}, hV = 0;
|
|
61393
61390
|
function WF1() {
|
|
61394
|
-
|
|
61391
|
+
B9.isTouch || (B9.isTouch = !0, window.performance && document.addEventListener("mousemove", IO));
|
|
61395
61392
|
}
|
|
61396
61393
|
function IO() {
|
|
61397
61394
|
var e = performance.now();
|
|
61398
|
-
e - hV < 20 && (
|
|
61395
|
+
e - hV < 20 && (B9.isTouch = !1, document.removeEventListener("mousemove", IO)), hV = e;
|
|
61399
61396
|
}
|
|
61400
61397
|
function KF1() {
|
|
61401
61398
|
var e = document.activeElement;
|
|
@@ -61693,7 +61690,7 @@ function lU1(e, t) {
|
|
|
61693
61690
|
return fm(H);
|
|
61694
61691
|
}
|
|
61695
61692
|
function t1(T1) {
|
|
61696
|
-
return _.state.isMounted && !_.state.isVisible ||
|
|
61693
|
+
return _.state.isMounted && !_.state.isVisible || B9.isTouch || c && c.type === "focus" ? 0 : Uf(_.props.delay, T1 ? 0 : 1, a6.delay);
|
|
61697
61694
|
}
|
|
61698
61695
|
function G(T1) {
|
|
61699
61696
|
T1 === void 0 && (T1 = !1), H.style.pointerEvents = _.props.interactive && !T1 ? "" : "none", H.style.zIndex = "" + _.props.zIndex;
|
|
@@ -61735,13 +61732,13 @@ function lU1(e, t) {
|
|
|
61735
61732
|
});
|
|
61736
61733
|
}
|
|
61737
61734
|
function U1(T1) {
|
|
61738
|
-
if (!(
|
|
61735
|
+
if (!(B9.isTouch && (l || T1.type === "mousedown"))) {
|
|
61739
61736
|
var a2 = T1.composedPath && T1.composedPath()[0] || T1.target;
|
|
61740
61737
|
if (!(_.props.interactive && fV(H, a2))) {
|
|
61741
61738
|
if (rn(_.props.triggerTarget || e).some(function(A1) {
|
|
61742
61739
|
return fV(A1, a2);
|
|
61743
61740
|
})) {
|
|
61744
|
-
if (
|
|
61741
|
+
if (B9.isTouch || _.state.isVisible && _.props.trigger.indexOf("click") >= 0)
|
|
61745
61742
|
return;
|
|
61746
61743
|
} else
|
|
61747
61744
|
q("onClickOutside", [_, T1]);
|
|
@@ -61857,7 +61854,7 @@ function lU1(e, t) {
|
|
|
61857
61854
|
_.props.trigger.indexOf("focusin") < 0 && T1.target !== U() || _.props.interactive && T1.relatedTarget && H.contains(T1.relatedTarget) || _1(T1);
|
|
61858
61855
|
}
|
|
61859
61856
|
function K(T1) {
|
|
61860
|
-
return
|
|
61857
|
+
return B9.isTouch ? Y() !== T1.type.indexOf("touch") >= 0 : !1;
|
|
61861
61858
|
}
|
|
61862
61859
|
function X() {
|
|
61863
61860
|
y1();
|
|
@@ -61935,7 +61932,7 @@ function lU1(e, t) {
|
|
|
61935
61932
|
function E1(T1) {
|
|
61936
61933
|
_.clearDelayTimeouts(), T1 && q("onTrigger", [_, T1]), g1();
|
|
61937
61934
|
var a2 = t1(!0), A1 = F(), $1 = A1[0], h2 = A1[1];
|
|
61938
|
-
|
|
61935
|
+
B9.isTouch && $1 === "hold" && h2 && (a2 = h2), a2 ? i = setTimeout(function() {
|
|
61939
61936
|
_.show();
|
|
61940
61937
|
}, a2) : _.show();
|
|
61941
61938
|
}
|
|
@@ -61982,7 +61979,7 @@ function lU1(e, t) {
|
|
|
61982
61979
|
}
|
|
61983
61980
|
function we() {
|
|
61984
61981
|
process.env.NODE_ENV !== "production" && k8(_.state.isDestroyed, J0("show"));
|
|
61985
|
-
var T1 = _.state.isVisible, a2 = _.state.isDestroyed, A1 = !_.state.isEnabled, $1 =
|
|
61982
|
+
var T1 = _.state.isVisible, a2 = _.state.isDestroyed, A1 = !_.state.isEnabled, $1 = B9.isTouch && !_.props.touch, h2 = Uf(_.props.duration, 0, a6.duration);
|
|
61986
61983
|
if (!(T1 || a2 || A1 || $1) && !U().hasAttribute("disabled") && (q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
|
|
61987
61984
|
if (_.state.isVisible = !0, n1() && (H.style.visibility = "visible"), G(), g1(), _.state.isMounted || (H.style.transition = "none"), n1()) {
|
|
61988
61985
|
var r2 = C1(), Me = r2.box, t3 = r2.content;
|
|
@@ -62051,7 +62048,7 @@ function ii(e, t) {
|
|
|
62051
62048
|
}
|
|
62052
62049
|
ii.defaultProps = a6;
|
|
62053
62050
|
ii.setDefaultProps = oU1;
|
|
62054
|
-
ii.currentInput =
|
|
62051
|
+
ii.currentInput = B9;
|
|
62055
62052
|
Object.assign({}, yO, {
|
|
62056
62053
|
effect: function(t) {
|
|
62057
62054
|
var n = t.state, i = {
|
|
@@ -62494,7 +62491,7 @@ Q({
|
|
|
62494
62491
|
}, (t = (e = this.$slots).default) === null || t === void 0 ? void 0 : t.call(e));
|
|
62495
62492
|
}
|
|
62496
62493
|
});
|
|
62497
|
-
const pU1 = /^\s*>\s$/, fU1 =
|
|
62494
|
+
const pU1 = /^\s*>\s$/, fU1 = m9.create({
|
|
62498
62495
|
name: "blockquote",
|
|
62499
62496
|
addOptions() {
|
|
62500
62497
|
return {
|
|
@@ -62598,7 +62595,7 @@ const pU1 = /^\s*>\s$/, fU1 = g9.create({
|
|
|
62598
62595
|
})
|
|
62599
62596
|
];
|
|
62600
62597
|
}
|
|
62601
|
-
}), bU1 = "listItem", vV = "textStyle", SV = /^\s*([-+*])\s$/, vU1 =
|
|
62598
|
+
}), bU1 = "listItem", vV = "textStyle", SV = /^\s*([-+*])\s$/, vU1 = m9.create({
|
|
62602
62599
|
name: "bulletList",
|
|
62603
62600
|
addOptions() {
|
|
62604
62601
|
return {
|
|
@@ -62692,7 +62689,7 @@ const pU1 = /^\s*>\s$/, fU1 = g9.create({
|
|
|
62692
62689
|
})
|
|
62693
62690
|
];
|
|
62694
62691
|
}
|
|
62695
|
-
}), kU1 = /^```([a-z]+)?[\s\n]$/, LU1 = /^~~~([a-z]+)?[\s\n]$/, TU1 =
|
|
62692
|
+
}), kU1 = /^```([a-z]+)?[\s\n]$/, LU1 = /^~~~([a-z]+)?[\s\n]$/, TU1 = m9.create({
|
|
62696
62693
|
name: "codeBlock",
|
|
62697
62694
|
addOptions() {
|
|
62698
62695
|
return {
|
|
@@ -62819,7 +62816,7 @@ const pU1 = /^\s*>\s$/, fU1 = g9.create({
|
|
|
62819
62816
|
})
|
|
62820
62817
|
];
|
|
62821
62818
|
}
|
|
62822
|
-
}), VU1 =
|
|
62819
|
+
}), VU1 = m9.create({
|
|
62823
62820
|
name: "doc",
|
|
62824
62821
|
topNode: !0,
|
|
62825
62822
|
content: "block+"
|
|
@@ -63134,7 +63131,7 @@ const NU1 = p3.create({
|
|
|
63134
63131
|
allowGapCursor: (t = he(H2(e, "allowGapCursor", n))) !== null && t !== void 0 ? t : null
|
|
63135
63132
|
};
|
|
63136
63133
|
}
|
|
63137
|
-
}), RU1 =
|
|
63134
|
+
}), RU1 = m9.create({
|
|
63138
63135
|
name: "hardBreak",
|
|
63139
63136
|
addOptions() {
|
|
63140
63137
|
return {
|
|
@@ -63184,7 +63181,7 @@ const NU1 = p3.create({
|
|
|
63184
63181
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
63185
63182
|
};
|
|
63186
63183
|
}
|
|
63187
|
-
}), ZU1 =
|
|
63184
|
+
}), ZU1 = m9.create({
|
|
63188
63185
|
name: "heading",
|
|
63189
63186
|
addOptions() {
|
|
63190
63187
|
return {
|
|
@@ -63356,9 +63353,9 @@ class o9 {
|
|
|
63356
63353
|
return;
|
|
63357
63354
|
}
|
|
63358
63355
|
if (o) {
|
|
63359
|
-
c.push(new
|
|
63356
|
+
c.push(new x9(u.map));
|
|
63360
63357
|
let m = u.step.map(o.slice(s)), g;
|
|
63361
|
-
m && r.maybeStep(m).doc && (g = r.mapping.maps[r.mapping.maps.length - 1], d.push(new
|
|
63358
|
+
m && r.maybeStep(m).doc && (g = r.mapping.maps[r.mapping.maps.length - 1], d.push(new x9(g, void 0, void 0, d.length + c.length))), s--, g && o.appendMap(g, s);
|
|
63362
63359
|
} else
|
|
63363
63360
|
r.maybeStep(u.step);
|
|
63364
63361
|
if (u.selection)
|
|
@@ -63369,7 +63366,7 @@ class o9 {
|
|
|
63369
63366
|
addTransform(t, n, i, o) {
|
|
63370
63367
|
let s = [], r = this.eventCount, a = this.items, l = !o && a.length ? a.get(a.length - 1) : null;
|
|
63371
63368
|
for (let c = 0; c < t.steps.length; c++) {
|
|
63372
|
-
let u = t.steps[c].invert(t.docs[c]), h = new
|
|
63369
|
+
let u = t.steps[c].invert(t.docs[c]), h = new x9(t.mapping.maps[c], u, n), m;
|
|
63373
63370
|
(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);
|
|
63374
63371
|
}
|
|
63375
63372
|
let d = r - i.depth;
|
|
@@ -63383,7 +63380,7 @@ class o9 {
|
|
|
63383
63380
|
}, t, n), i;
|
|
63384
63381
|
}
|
|
63385
63382
|
addMaps(t) {
|
|
63386
|
-
return this.eventCount == 0 ? this : new o9(this.items.append(t.map((n) => new
|
|
63383
|
+
return this.eventCount == 0 ? this : new o9(this.items.append(t.map((n) => new x9(n))), this.eventCount);
|
|
63387
63384
|
}
|
|
63388
63385
|
// When the collab module receives remote changes, the history has
|
|
63389
63386
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -63405,13 +63402,13 @@ class o9 {
|
|
|
63405
63402
|
let g = s.maps[m];
|
|
63406
63403
|
if (h.step) {
|
|
63407
63404
|
let y = t.steps[m].invert(t.docs[m]), w = h.selection && h.selection.map(s.slice(l + 1, m));
|
|
63408
|
-
w && a++, i.push(new
|
|
63405
|
+
w && a++, i.push(new x9(g, y, w));
|
|
63409
63406
|
} else
|
|
63410
|
-
i.push(new
|
|
63407
|
+
i.push(new x9(g));
|
|
63411
63408
|
}, o);
|
|
63412
63409
|
let d = [];
|
|
63413
63410
|
for (let h = n; h < r; h++)
|
|
63414
|
-
d.push(new
|
|
63411
|
+
d.push(new x9(s.maps[h]));
|
|
63415
63412
|
let c = this.items.slice(0, o).append(d).append(i), u = new o9(c, a);
|
|
63416
63413
|
return u.emptyItemCount() > UU1 && (u = u.compress(this.items.length - i.length)), u;
|
|
63417
63414
|
}
|
|
@@ -63437,7 +63434,7 @@ class o9 {
|
|
|
63437
63434
|
if (i--, d && n.appendMap(d, i), l) {
|
|
63438
63435
|
let c = r.selection && r.selection.map(n.slice(i));
|
|
63439
63436
|
c && s++;
|
|
63440
|
-
let u = new
|
|
63437
|
+
let u = new x9(d.invert(), l, c), h, m = o.length - 1;
|
|
63441
63438
|
(h = o.length && o[m].merge(u)) ? o[m] = h : o.push(u);
|
|
63442
63439
|
}
|
|
63443
63440
|
} else r.map && i--;
|
|
@@ -63452,7 +63449,7 @@ function zU1(e, t) {
|
|
|
63452
63449
|
return n = o, !1;
|
|
63453
63450
|
}), e.slice(n);
|
|
63454
63451
|
}
|
|
63455
|
-
class
|
|
63452
|
+
class x9 {
|
|
63456
63453
|
constructor(t, n, i, o) {
|
|
63457
63454
|
this.map = t, this.step = n, this.selection = i, this.mirrorOffset = o;
|
|
63458
63455
|
}
|
|
@@ -63460,7 +63457,7 @@ class V9 {
|
|
|
63460
63457
|
if (this.step && t.step && !t.selection) {
|
|
63461
63458
|
let n = t.step.merge(this.step);
|
|
63462
63459
|
if (n)
|
|
63463
|
-
return new
|
|
63460
|
+
return new x9(n.getMap().invert(), n, this.selection);
|
|
63464
63461
|
}
|
|
63465
63462
|
}
|
|
63466
63463
|
}
|
|
@@ -63599,7 +63596,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63599
63596
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
63600
63597
|
};
|
|
63601
63598
|
}
|
|
63602
|
-
}), JU1 =
|
|
63599
|
+
}), JU1 = m9.create({
|
|
63603
63600
|
name: "horizontalRule",
|
|
63604
63601
|
addOptions() {
|
|
63605
63602
|
return {
|
|
@@ -63716,7 +63713,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63716
63713
|
})
|
|
63717
63714
|
];
|
|
63718
63715
|
}
|
|
63719
|
-
}), oz1 =
|
|
63716
|
+
}), oz1 = m9.create({
|
|
63720
63717
|
name: "listItem",
|
|
63721
63718
|
addOptions() {
|
|
63722
63719
|
return {
|
|
@@ -63744,7 +63741,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63744
63741
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
63745
63742
|
};
|
|
63746
63743
|
}
|
|
63747
|
-
}), sz1 = "listItem", kV = "textStyle", LV = /^(\d+)\.\s$/, rz1 =
|
|
63744
|
+
}), sz1 = "listItem", kV = "textStyle", LV = /^(\d+)\.\s$/, rz1 = m9.create({
|
|
63748
63745
|
name: "orderedList",
|
|
63749
63746
|
addOptions() {
|
|
63750
63747
|
return {
|
|
@@ -63810,7 +63807,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63810
63807
|
e
|
|
63811
63808
|
];
|
|
63812
63809
|
}
|
|
63813
|
-
}), az1 =
|
|
63810
|
+
}), az1 = m9.create({
|
|
63814
63811
|
name: "paragraph",
|
|
63815
63812
|
priority: 1e3,
|
|
63816
63813
|
addOptions() {
|
|
@@ -63894,7 +63891,7 @@ const FO = ZO(!1, !0), UO = ZO(!0, !0), XU1 = p3.create({
|
|
|
63894
63891
|
})
|
|
63895
63892
|
];
|
|
63896
63893
|
}
|
|
63897
|
-
}), Cz1 =
|
|
63894
|
+
}), Cz1 = m9.create({
|
|
63898
63895
|
name: "text",
|
|
63899
63896
|
group: "inline"
|
|
63900
63897
|
}), Aw = p3.create({
|
|
@@ -64411,7 +64408,7 @@ H5.prototype = {
|
|
|
64411
64408
|
return o.j[e] = r, r;
|
|
64412
64409
|
}
|
|
64413
64410
|
};
|
|
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",
|
|
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", H9 = "DOT", Lc = "EQUALS", jw = "EXCLAMATION", M6 = "HYPHEN", go = "PERCENT", Tc = "PIPE", Vc = "PLUS", xc = "POUND", mo = "QUERY", Ww = "QUOTE", jO = "FULLWIDTHMIDDLEDOT", Kw = "SEMI", I9 = "SLASH", yo = "TILDE", Hc = "UNDERSCORE", WO = "EMOJI", Ic = "SYM";
|
|
64415
64412
|
var KO = /* @__PURE__ */ Object.freeze({
|
|
64416
64413
|
__proto__: null,
|
|
64417
64414
|
ALPHANUMERICAL: GO,
|
|
@@ -64430,7 +64427,7 @@ var KO = /* @__PURE__ */ Object.freeze({
|
|
|
64430
64427
|
COLON: _7,
|
|
64431
64428
|
COMMA: Gw,
|
|
64432
64429
|
DOLLAR: kc,
|
|
64433
|
-
DOT:
|
|
64430
|
+
DOT: H9,
|
|
64434
64431
|
EMOJI: WO,
|
|
64435
64432
|
EQUALS: Lc,
|
|
64436
64433
|
EXCLAMATION: jw,
|
|
@@ -64459,7 +64456,7 @@ var KO = /* @__PURE__ */ Object.freeze({
|
|
|
64459
64456
|
RIGHTWHITECORNERBRACKET: gc,
|
|
64460
64457
|
SCHEME: od,
|
|
64461
64458
|
SEMI: Kw,
|
|
64462
|
-
SLASH:
|
|
64459
|
+
SLASH: I9,
|
|
64463
64460
|
SLASH_SCHEME: an,
|
|
64464
64461
|
SYM: Ic,
|
|
64465
64462
|
TILDE: yo,
|
|
@@ -64477,7 +64474,7 @@ function Mz1(e = []) {
|
|
|
64477
64474
|
const t = {};
|
|
64478
64475
|
H5.groups = t;
|
|
64479
64476
|
const n = new H5();
|
|
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, ".",
|
|
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, ".", H9), 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, "/", I9), i2(n, ";", Kw), i2(n, "~", yo), i2(n, "_", Hc), i2(n, "\\", Sc), i2(n, "・", jO);
|
|
64481
64478
|
const i = V3(n, w8, zw, {
|
|
64482
64479
|
[hm]: !0
|
|
64483
64480
|
});
|
|
@@ -64833,34 +64830,34 @@ const IV = AC("email", {
|
|
|
64833
64830
|
function Tz1({
|
|
64834
64831
|
groups: e
|
|
64835
64832
|
}) {
|
|
64836
|
-
const t = e.domain.concat([wc, vc, y7, Sc, _c, Mc, kc, Lc, M6, zw, go, Tc, Vc, xc,
|
|
64833
|
+
const t = e.domain.concat([wc, vc, y7, Sc, _c, Mc, kc, Lc, M6, zw, go, Tc, Vc, xc, I9, Ic, yo, Hc]), n = [bc, _7, Gw, H9, 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, I9, Ic, yo, Hc], o = v6(), s = i2(o, yo);
|
|
64837
64834
|
de(s, i, s), de(s, e.domain, s);
|
|
64838
64835
|
const r = v6(), a = v6(), l = v6();
|
|
64839
64836
|
de(o, e.domain, r), de(o, e.scheme, a), de(o, e.slashscheme, l), de(r, i, s), de(r, e.domain, r);
|
|
64840
64837
|
const d = i2(r, y7);
|
|
64841
64838
|
i2(s, y7, d), i2(a, y7, d), i2(l, y7, d);
|
|
64842
|
-
const c = i2(s,
|
|
64839
|
+
const c = i2(s, H9);
|
|
64843
64840
|
de(c, i, s), de(c, e.domain, s);
|
|
64844
64841
|
const u = v6();
|
|
64845
64842
|
de(d, e.domain, u), de(u, e.domain, u);
|
|
64846
|
-
const h = i2(u,
|
|
64843
|
+
const h = i2(u, H9);
|
|
64847
64844
|
de(h, e.domain, u);
|
|
64848
64845
|
const m = v6(IV);
|
|
64849
64846
|
de(h, e.tld, m), de(h, e.utld, m), i2(d, Go, m);
|
|
64850
64847
|
const g = i2(u, M6);
|
|
64851
|
-
i2(g, M6, g), de(g, e.domain, u), de(m, e.domain, u), i2(m,
|
|
64848
|
+
i2(g, M6, g), de(g, e.domain, u), de(m, e.domain, u), i2(m, H9, h), i2(m, M6, g);
|
|
64852
64849
|
const y = i2(m, _7);
|
|
64853
64850
|
de(y, e.numeric, IV);
|
|
64854
|
-
const w = i2(r, M6), b = i2(r,
|
|
64851
|
+
const w = i2(r, M6), b = i2(r, H9);
|
|
64855
64852
|
i2(w, M6, w), de(w, e.domain, r), de(b, i, s), de(b, e.domain, r);
|
|
64856
64853
|
const M = v6(Ml);
|
|
64857
|
-
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M,
|
|
64854
|
+
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M, H9, b), i2(M, M6, w), i2(M, y7, d);
|
|
64858
64855
|
const S = i2(M, _7), _ = v6(Ml);
|
|
64859
64856
|
de(S, e.numeric, _);
|
|
64860
64857
|
const x = v6(Ml), H = v6();
|
|
64861
|
-
de(x, t, x), de(x, n, H), de(H, t, x), de(H, n, H), i2(M,
|
|
64862
|
-
const D = i2(a, _7), Z = i2(l, _7), N = i2(Z,
|
|
64863
|
-
de(a, e.domain, r), i2(a,
|
|
64858
|
+
de(x, t, x), de(x, n, H), de(H, t, x), de(H, n, H), i2(M, I9, x), i2(_, I9, x);
|
|
64859
|
+
const D = i2(a, _7), Z = i2(l, _7), N = i2(Z, I9), F = i2(N, I9);
|
|
64860
|
+
de(a, e.domain, r), i2(a, H9, b), i2(a, M6, w), de(l, e.domain, r), i2(l, H9, b), i2(l, M6, w), de(D, e.domain, x), i2(D, I9, x), i2(D, mo, x), de(F, e.domain, x), de(F, t, x), i2(F, I9, x);
|
|
64864
64861
|
const Y = [
|
|
64865
64862
|
[fo, ho],
|
|
64866
64863
|
// {}
|
|
@@ -65422,7 +65419,7 @@ function Gz1() {
|
|
|
65422
65419
|
return ah = r, ah;
|
|
65423
65420
|
}
|
|
65424
65421
|
var jz1 = Gz1();
|
|
65425
|
-
const zi = /* @__PURE__ */
|
|
65422
|
+
const zi = /* @__PURE__ */ f9(jz1), Wz1 = (e, t, n) => {
|
|
65426
65423
|
const i = d1(t.selectedFont ?? "Lato"), o = (l) => {
|
|
65427
65424
|
n.value?.hideMenu?.(), i.value = l, t.selectedFont = l, e.chain().focus().setFontFamily(l).run();
|
|
65428
65425
|
}, s = (l) => {
|
|
@@ -65430,7 +65427,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
65430
65427
|
e.chain().selectAll().setFontFamily(l)
|
|
65431
65428
|
).run();
|
|
65432
65429
|
}, r = zi((l) => {
|
|
65433
|
-
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
65430
|
+
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(P9(l)) : parseInt(l), e.chain().setFontSize(t.selectedFontSize).run();
|
|
65434
65431
|
}, 150);
|
|
65435
65432
|
return {
|
|
65436
65433
|
selectedFont: i,
|
|
@@ -65438,7 +65435,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
65438
65435
|
toggleFontAll: s,
|
|
65439
65436
|
toggleFontSize: r,
|
|
65440
65437
|
toggleFontSizeAll: (l) => {
|
|
65441
|
-
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
65438
|
+
t.selectedFontSize = l.includes("em") ? l : Pn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(P9(l)) : parseInt(l), x5(
|
|
65442
65439
|
e.chain().selectAll().setFontSize(t.selectedFontSize)
|
|
65443
65440
|
).run();
|
|
65444
65441
|
}
|
|
@@ -65877,9 +65874,9 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
65877
65874
|
} else
|
|
65878
65875
|
t1.value = "Lato", i.selectedFont = "Lato";
|
|
65879
65876
|
if (_1 && _1.fontSize ? i.selectedFontSizePx = Math.ceil(
|
|
65880
|
-
parseFloat(
|
|
65877
|
+
parseFloat(P9(_1.fontSize))
|
|
65881
65878
|
) : i.selectedFontSizePx = Math.ceil(
|
|
65882
|
-
parseFloat(
|
|
65879
|
+
parseFloat(P9(i.selectedFontSize))
|
|
65883
65880
|
), _1 && _1.color ? L6(_1.color) || (i.selectedTextColor = d3(_1.color).hex()) : i.selectedTextColor = "#000000", h1 && h1.color ? L6(h1.color) || (i.selectedBackgroundColor = d3(
|
|
65884
65881
|
h1.color
|
|
65885
65882
|
).hex()) : i.selectedBackgroundColor = "transparent", _1.lineHeight ? H1.value = _1.lineHeight : H1.value = "1", _1 && _1.letterSpacing ? F1.value = A8.convert({
|
|
@@ -65909,18 +65906,18 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
65909
65906
|
},
|
|
65910
65907
|
isHydrationWrite: !m.isFocused
|
|
65911
65908
|
}), i.selectedFont = h1?.fontFamily ?? "Lato", i.selectedFontSize = h1?.fontSize ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
65912
|
-
parseFloat(
|
|
65909
|
+
parseFloat(P9(h1?.fontSize ?? "2.25em"))
|
|
65913
65910
|
), i.selectedTextColor = L6(h1.color ?? "") ? "#000000" : h1?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65914
65911
|
h1?.backgroundColor ?? ""
|
|
65915
|
-
) ? "transparent" : h1?.backgroundColor ?? "transparent", H1.value = h1?.lineHeight?.includes("em") ?
|
|
65912
|
+
) ? "transparent" : h1?.backgroundColor ?? "transparent", H1.value = h1?.lineHeight?.includes("em") ? P9(h1?.lineHeight ?? "1em") : h1?.lineHeight ?? "1", F1.value = A8.convert(
|
|
65916
65913
|
h1 ?? {}
|
|
65917
65914
|
), 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(
|
|
65918
|
-
parseFloat(
|
|
65915
|
+
parseFloat(P9(t.styles?.fontSize ?? "2.25em"))
|
|
65919
65916
|
), i.selectedTextColor = L6(
|
|
65920
65917
|
t.styles?.color ?? "#000000"
|
|
65921
65918
|
) ? "#000000" : t.styles?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65922
65919
|
t.styles?.backgroundColor ?? ""
|
|
65923
|
-
) ? "transparent" : t.styles?.backgroundColor ?? "transparent", H1.value = t.styles?.lineHeight?.includes("em") ?
|
|
65920
|
+
) ? "transparent" : t.styles?.backgroundColor ?? "transparent", H1.value = t.styles?.lineHeight?.includes("em") ? P9(t.styles?.lineHeight ?? "1em") : t.styles?.lineHeight ?? "1", F1.value = A8.convert(
|
|
65924
65921
|
t.styles ?? {}
|
|
65925
65922
|
), t.styles?.textAlign && Q1?.textAlign !== t.styles.textAlign && U(t.styles.textAlign));
|
|
65926
65923
|
}, He = (_1) => {
|
|
@@ -65934,7 +65931,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
65934
65931
|
break;
|
|
65935
65932
|
case "fontSize":
|
|
65936
65933
|
const Q1 = _1.value;
|
|
65937
|
-
i.selectedFontSizePx = Q1.includes("em") ? Math.ceil(parseFloat(
|
|
65934
|
+
i.selectedFontSizePx = Q1.includes("em") ? Math.ceil(parseFloat(P9(Q1))) : parseInt(Q1), q(Q1), h1.fontSize = Q1.includes("em") ? Q1 : Pn(Q1);
|
|
65938
65935
|
break;
|
|
65939
65936
|
case "fontWeight":
|
|
65940
65937
|
w(), m.isActive("bold") ? h1.fontWeight = "bold" : h1.fontWeight = void 0;
|
|
@@ -66111,7 +66108,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
66111
66108
|
}, ZV = Q({
|
|
66112
66109
|
mixins: [Zg],
|
|
66113
66110
|
setup() {
|
|
66114
|
-
const e = Pe(), t = c2(), n = b2(), i = B2(), o =
|
|
66111
|
+
const e = Pe(), t = c2(), n = b2(), i = B2(), o = $9(), s = A4(), r = _e(), a = G2(), l = Te(), { externalEditor: d } = ot(), c = z4(), u = n8();
|
|
66115
66112
|
return {
|
|
66116
66113
|
items: L(() => e.items),
|
|
66117
66114
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -66422,12 +66419,12 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
66422
66419
|
setup(e, { emit: t }) {
|
|
66423
66420
|
const n = e, i = HI(null);
|
|
66424
66421
|
D2(() => n.context.isDesignCom, async () => {
|
|
66425
|
-
const M =
|
|
66422
|
+
const M = l9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
66426
66423
|
try {
|
|
66427
|
-
const { default: _ } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
66424
|
+
const { default: _ } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-C2IaS_Mb.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-AtykytDu.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CBzMnp_n.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Cz7WzWc3.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Cz7WzWc3.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DE3vjPyC.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DE3vjPyC.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DlcGgBF6.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-D5jdeN_E.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BBB7ZE8B.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-odHmWYoP.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-DKr11T_P.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-s8blQRF7.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-Dga4RM96.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
|
|
66428
66425
|
i.value = _;
|
|
66429
66426
|
} catch {
|
|
66430
|
-
const { default: x } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
66427
|
+
const { default: x } = await FV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-AtykytDu.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-D5jdeN_E.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
66431
66428
|
i.value = x;
|
|
66432
66429
|
}
|
|
66433
66430
|
}, {
|
|
@@ -66456,7 +66453,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
66456
66453
|
n.context.isPreview,
|
|
66457
66454
|
n.context.brandPageType,
|
|
66458
66455
|
n.context.isDesignCom,
|
|
66459
|
-
|
|
66456
|
+
l9(),
|
|
66460
66457
|
"bp-footer-watermark"
|
|
66461
66458
|
)
|
|
66462
66459
|
), g = L(
|
|
@@ -66464,7 +66461,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
66464
66461
|
n.context.isPreview,
|
|
66465
66462
|
n.context.brandPageType,
|
|
66466
66463
|
n.context.isDesignCom,
|
|
66467
|
-
|
|
66464
|
+
l9(),
|
|
66468
66465
|
"bp-footer-watermark-create-your-website"
|
|
66469
66466
|
)
|
|
66470
66467
|
), y = L(() => {
|
|
@@ -66504,7 +66501,7 @@ const zi = /* @__PURE__ */ p9(jz1), Wz1 = (e, t, n) => {
|
|
|
66504
66501
|
class: "brand-page__footer-link",
|
|
66505
66502
|
onClick: S[0] || (S[0] = (_) => b(_, "watermark_logo"))
|
|
66506
66503
|
}, [
|
|
66507
|
-
(C(), $(
|
|
66504
|
+
(C(), $(u9(i.value)))
|
|
66508
66505
|
], 8, oq1),
|
|
66509
66506
|
!e.context.isPreview || d.value ? (C(), f("a", {
|
|
66510
66507
|
key: 0,
|
|
@@ -68028,7 +68025,7 @@ function lX1(e, t, n, i, o, s) {
|
|
|
68028
68025
|
], -1)
|
|
68029
68026
|
])], 4);
|
|
68030
68027
|
}
|
|
68031
|
-
const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918ee"]]), dX1 = ["src", "alt", "aria-label", "loading"], cX1 = ["src", "alt", "aria-label", "loading"],
|
|
68028
|
+
const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918ee"]]), dX1 = ["src", "alt", "aria-label", "loading"], cX1 = ["src", "alt", "aria-label", "loading"], y9 = /* @__PURE__ */ Q({
|
|
68032
68029
|
__name: "FallbackImage",
|
|
68033
68030
|
props: {
|
|
68034
68031
|
imageUrl: { default: "" },
|
|
@@ -68135,7 +68132,7 @@ const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918
|
|
|
68135
68132
|
}
|
|
68136
68133
|
), ve(async () => {
|
|
68137
68134
|
await e4(), i();
|
|
68138
|
-
}), (o, s) => e.context.options?.renderVideoAsImage ? (C(), $(
|
|
68135
|
+
}), (o, s) => e.context.options?.renderVideoAsImage ? (C(), $(y9, {
|
|
68139
68136
|
key: 1,
|
|
68140
68137
|
"data-component": "video",
|
|
68141
68138
|
"image-url": e.media?.previewImageUrl || "",
|
|
@@ -68164,7 +68161,7 @@ const J8 = /* @__PURE__ */ v(aX1, [["render", lX1], ["__scopeId", "data-v-6ed918
|
|
|
68164
68161
|
], 2));
|
|
68165
68162
|
}
|
|
68166
68163
|
}), pX1 = {
|
|
68167
|
-
components: { Shape: sX1, Placeholder: J8, FallbackImage:
|
|
68164
|
+
components: { Shape: sX1, Placeholder: J8, FallbackImage: y9, Video: uX1 },
|
|
68168
68165
|
mixins: [rX1]
|
|
68169
68166
|
};
|
|
68170
68167
|
function fX1(e, t, n, i, o, s) {
|
|
@@ -68404,7 +68401,7 @@ const j4 = /* @__PURE__ */ v(pX1, [["render", fX1], ["__scopeId", "data-v-eb2167
|
|
|
68404
68401
|
class: "tw-w-full empty-para",
|
|
68405
68402
|
style: V1(r.value ? s.value : o.value)
|
|
68406
68403
|
}, [
|
|
68407
|
-
(C(), $(
|
|
68404
|
+
(C(), $(u9(e.element), {
|
|
68408
68405
|
class: B([[c.value, { "tw-inline": !r.value }], "tw-box-decoration-clone"]),
|
|
68409
68406
|
style: V1(r.value ? {} : i.value),
|
|
68410
68407
|
innerHTML: a.value
|
|
@@ -68607,7 +68604,7 @@ const j4 = /* @__PURE__ */ v(pX1, [["render", fX1], ["__scopeId", "data-v-eb2167
|
|
|
68607
68604
|
]);
|
|
68608
68605
|
};
|
|
68609
68606
|
}
|
|
68610
|
-
}),
|
|
68607
|
+
}), D9 = /* @__PURE__ */ v(MX1, [["__scopeId", "data-v-8c623b57"]]);
|
|
68611
68608
|
class mn {
|
|
68612
68609
|
static _instance;
|
|
68613
68610
|
_logoCache;
|
|
@@ -69691,7 +69688,7 @@ const hJ1 = Q({
|
|
|
69691
69688
|
},
|
|
69692
69689
|
methods: {
|
|
69693
69690
|
updateGmapSrc() {
|
|
69694
|
-
const e =
|
|
69691
|
+
const e = l9();
|
|
69695
69692
|
this.gmapSrc = this.$gmap.getEmbedGoogleMapsSrc({
|
|
69696
69693
|
query: `${pJ1}${this.placeId}`,
|
|
69697
69694
|
locale: e
|
|
@@ -70000,7 +69997,7 @@ const cD = /* @__PURE__ */ v(xJ1, [["render", IJ1], ["__scopeId", "data-v-bddcef
|
|
|
70000
69997
|
components: {
|
|
70001
69998
|
ImageModal: cD,
|
|
70002
69999
|
Placeholder: J8,
|
|
70003
|
-
FallbackImage:
|
|
70000
|
+
FallbackImage: y9
|
|
70004
70001
|
},
|
|
70005
70002
|
mixins: [PJ1],
|
|
70006
70003
|
setup() {
|
|
@@ -70122,7 +70119,7 @@ const CD = /* @__PURE__ */ v(AJ1, [["render", OJ1], ["__scopeId", "data-v-2de370
|
|
|
70122
70119
|
return this.viewModel.images || [];
|
|
70123
70120
|
},
|
|
70124
70121
|
galleryType() {
|
|
70125
|
-
return this.viewModel.styles?.galleryType ||
|
|
70122
|
+
return this.viewModel.styles?.galleryType || E9.grid;
|
|
70126
70123
|
},
|
|
70127
70124
|
hasImages() {
|
|
70128
70125
|
return Array.isArray(this.viewModel.images) && this.viewModel.images.length > 0;
|
|
@@ -70207,7 +70204,7 @@ const CD = /* @__PURE__ */ v(AJ1, [["render", OJ1], ["__scopeId", "data-v-2de370
|
|
|
70207
70204
|
}), RJ1 = {
|
|
70208
70205
|
components: {
|
|
70209
70206
|
Placeholder: J8,
|
|
70210
|
-
FallbackImage:
|
|
70207
|
+
FallbackImage: y9
|
|
70211
70208
|
},
|
|
70212
70209
|
mixins: [NJ1],
|
|
70213
70210
|
setup() {
|
|
@@ -70315,7 +70312,7 @@ const UJ1 = /* @__PURE__ */ v(RJ1, [["render", FJ1], ["__scopeId", "data-v-8931d
|
|
|
70315
70312
|
components: {
|
|
70316
70313
|
Carousel: Wm,
|
|
70317
70314
|
Placeholder: J8,
|
|
70318
|
-
FallbackImage:
|
|
70315
|
+
FallbackImage: y9
|
|
70319
70316
|
},
|
|
70320
70317
|
mixins: [zJ1],
|
|
70321
70318
|
setup() {
|
|
@@ -70449,7 +70446,7 @@ const WJ1 = /* @__PURE__ */ v(qJ1, [["render", jJ1], ["__scopeId", "data-v-f08fc
|
|
|
70449
70446
|
components: {
|
|
70450
70447
|
Masonry: tL1,
|
|
70451
70448
|
Placeholder: J8,
|
|
70452
|
-
FallbackImage:
|
|
70449
|
+
FallbackImage: y9
|
|
70453
70450
|
},
|
|
70454
70451
|
mixins: [tx],
|
|
70455
70452
|
setup() {
|
|
@@ -70657,7 +70654,7 @@ const iQ1 = /* @__PURE__ */ v(eQ1, [["render", nQ1], ["__scopeId", "data-v-3d176
|
|
|
70657
70654
|
Icon: o2,
|
|
70658
70655
|
Loader: Je,
|
|
70659
70656
|
Carousel: Wm,
|
|
70660
|
-
FallbackImage:
|
|
70657
|
+
FallbackImage: y9
|
|
70661
70658
|
},
|
|
70662
70659
|
mixins: [sQ1]
|
|
70663
70660
|
}, aQ1 = {
|
|
@@ -70784,7 +70781,7 @@ function cQ1(e, t, n, i, o, s) {
|
|
|
70784
70781
|
}]),
|
|
70785
70782
|
style: V1([e.getContainerStyle, e.contentPaddingStyle])
|
|
70786
70783
|
}, [
|
|
70787
|
-
(C(), $(
|
|
70784
|
+
(C(), $(u9(e.galleryType), {
|
|
70788
70785
|
context: e.context,
|
|
70789
70786
|
"view-model": e.viewModel,
|
|
70790
70787
|
"content-index": e.contentIndex,
|
|
@@ -71423,7 +71420,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71423
71420
|
])
|
|
71424
71421
|
], 4));
|
|
71425
71422
|
}
|
|
71426
|
-
}), pD = /* @__PURE__ */ v(XQ1, [["__scopeId", "data-v-0cc4cbbd"]]),
|
|
71423
|
+
}), pD = /* @__PURE__ */ v(XQ1, [["__scopeId", "data-v-0cc4cbbd"]]), N9 = {
|
|
71427
71424
|
safeSendRaygunError: (e, t) => {
|
|
71428
71425
|
if (typeof window?.Raygun?.send == "function")
|
|
71429
71426
|
try {
|
|
@@ -71562,7 +71559,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71562
71559
|
);
|
|
71563
71560
|
this.isPaymentConfigActive = t === QQ1;
|
|
71564
71561
|
} catch (t) {
|
|
71565
|
-
console.error(t), t instanceof Error &&
|
|
71562
|
+
console.error(t), t instanceof Error && N9.safeSendRaygunError(t);
|
|
71566
71563
|
}
|
|
71567
71564
|
},
|
|
71568
71565
|
async createCart() {
|
|
@@ -71586,7 +71583,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71586
71583
|
}
|
|
71587
71584
|
console.error("Unexpected payment provider details"), this.state = t6.PaymentOptionSelection;
|
|
71588
71585
|
} catch (e) {
|
|
71589
|
-
console.error(e), e instanceof Error &&
|
|
71586
|
+
console.error(e), e instanceof Error && N9.safeSendRaygunError(e), this.state = t6.PaymentOptionSelection;
|
|
71590
71587
|
}
|
|
71591
71588
|
},
|
|
71592
71589
|
onDoneButtonClick() {
|
|
@@ -71596,7 +71593,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71596
71593
|
this.state = t6.PaymentOptionSelection;
|
|
71597
71594
|
},
|
|
71598
71595
|
onHeaderToggleClick() {
|
|
71599
|
-
if (this.viewModel.displayStyle ===
|
|
71596
|
+
if (this.viewModel.displayStyle === c9) {
|
|
71600
71597
|
this.isCollapsed = !1;
|
|
71601
71598
|
return;
|
|
71602
71599
|
}
|
|
@@ -71609,7 +71606,7 @@ const mQ1 = /* @__PURE__ */ v(fQ1, [["render", gQ1]]), yQ1 = {
|
|
|
71609
71606
|
this.state = t6.Success;
|
|
71610
71607
|
},
|
|
71611
71608
|
updateIsCollapsed() {
|
|
71612
|
-
this.viewModel.displayStyle ===
|
|
71609
|
+
this.viewModel.displayStyle === c9 && (this.isCollapsed = !1);
|
|
71613
71610
|
}
|
|
71614
71611
|
}
|
|
71615
71612
|
}), t12 = {
|
|
@@ -71746,7 +71743,7 @@ const fD = /* @__PURE__ */ v(t12, [["render", l12]]), d12 = {
|
|
|
71746
71743
|
Textarea: c0,
|
|
71747
71744
|
Icon: o2,
|
|
71748
71745
|
TextWrapper: W2,
|
|
71749
|
-
FallbackImage:
|
|
71746
|
+
FallbackImage: y9
|
|
71750
71747
|
},
|
|
71751
71748
|
mixins: [pQ1],
|
|
71752
71749
|
setup() {
|
|
@@ -72069,7 +72066,7 @@ const w12 = /* @__PURE__ */ v(g12, [["render", y12]]), b12 = Q({
|
|
|
72069
72066
|
}
|
|
72070
72067
|
},
|
|
72071
72068
|
data: () => ({
|
|
72072
|
-
DISPLAY_STYLE_PREVIEW:
|
|
72069
|
+
DISPLAY_STYLE_PREVIEW: c9,
|
|
72073
72070
|
DISPLAY_STYLE_COLLAPSED: z7,
|
|
72074
72071
|
isCollapsed: !0,
|
|
72075
72072
|
title: "Video"
|
|
@@ -73191,7 +73188,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73191
73188
|
layout: "inline",
|
|
73192
73189
|
alignClass: "tw-items-center tw-w-full"
|
|
73193
73190
|
},
|
|
73194
|
-
[
|
|
73191
|
+
[d9]: {
|
|
73195
73192
|
layout: "inline",
|
|
73196
73193
|
alignClass: "tw-items-center tw-w-full"
|
|
73197
73194
|
},
|
|
@@ -73361,7 +73358,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73361
73358
|
p("div", {
|
|
73362
73359
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73363
73360
|
}, [
|
|
73364
|
-
M.value ? (C(), $(
|
|
73361
|
+
M.value ? (C(), $(D9, {
|
|
73365
73362
|
key: 0,
|
|
73366
73363
|
"view-model": b.value,
|
|
73367
73364
|
context: e.context,
|
|
@@ -73404,7 +73401,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73404
73401
|
p("div", {
|
|
73405
73402
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73406
73403
|
}, [
|
|
73407
|
-
M.value ? (C(), $(
|
|
73404
|
+
M.value ? (C(), $(D9, {
|
|
73408
73405
|
key: 0,
|
|
73409
73406
|
"view-model": b.value,
|
|
73410
73407
|
context: e.context,
|
|
@@ -73467,7 +73464,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73467
73464
|
p("div", {
|
|
73468
73465
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73469
73466
|
}, [
|
|
73470
|
-
M.value ? (C(), $(
|
|
73467
|
+
M.value ? (C(), $(D9, {
|
|
73471
73468
|
key: 0,
|
|
73472
73469
|
"view-model": b.value,
|
|
73473
73470
|
context: e.context,
|
|
@@ -73506,7 +73503,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73506
73503
|
p("div", {
|
|
73507
73504
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73508
73505
|
}, [
|
|
73509
|
-
M.value ? (C(), $(
|
|
73506
|
+
M.value ? (C(), $(D9, {
|
|
73510
73507
|
key: 0,
|
|
73511
73508
|
"view-model": b.value,
|
|
73512
73509
|
context: e.context,
|
|
@@ -73586,7 +73583,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73586
73583
|
p("div", {
|
|
73587
73584
|
class: B(["tw-w-full tw-flex", w.value])
|
|
73588
73585
|
}, [
|
|
73589
|
-
M.value ? (C(), $(
|
|
73586
|
+
M.value ? (C(), $(D9, {
|
|
73590
73587
|
key: 0,
|
|
73591
73588
|
"view-model": b.value,
|
|
73592
73589
|
context: e.context,
|
|
@@ -73851,7 +73848,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73851
73848
|
key: 0,
|
|
73852
73849
|
class: B(["tw-w-full tw-flex", y.value])
|
|
73853
73850
|
}, [
|
|
73854
|
-
T(
|
|
73851
|
+
T(D9, {
|
|
73855
73852
|
"view-model": _(D),
|
|
73856
73853
|
context: e.context,
|
|
73857
73854
|
class: "tw-w-fit"
|
|
@@ -73866,7 +73863,7 @@ const l22 = /* @__PURE__ */ v($12, [["render", a22], ["__scopeId", "data-v-109ad
|
|
|
73866
73863
|
}
|
|
73867
73864
|
}), gD = /* @__PURE__ */ v(L22, [["__scopeId", "data-v-5c0b33ca"]]);
|
|
73868
73865
|
var T22 = /* @__PURE__ */ $A();
|
|
73869
|
-
const sx = /* @__PURE__ */
|
|
73866
|
+
const sx = /* @__PURE__ */ f9(T22), V22 = "2/1", x22 = /* @__PURE__ */ Q({
|
|
73870
73867
|
__name: "ImagesSection",
|
|
73871
73868
|
props: {
|
|
73872
73869
|
viewModel: {},
|
|
@@ -73950,7 +73947,7 @@ const sx = /* @__PURE__ */ p9(T22), V22 = "2/1", x22 = /* @__PURE__ */ Q({
|
|
|
73950
73947
|
"tw-cursor-pointer": w(Z)
|
|
73951
73948
|
}]),
|
|
73952
73949
|
onClick: (N) => b(Z) ? y(Z) : void 0
|
|
73953
|
-
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : Z.imageUrl && !S(Z.itemsId) ? (C(), $(
|
|
73950
|
+
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : Z.imageUrl && !S(Z.itemsId) ? (C(), $(y9, {
|
|
73954
73951
|
key: 1,
|
|
73955
73952
|
"image-url": Z.imageUrl,
|
|
73956
73953
|
classes: "tw-rounded-md tw-object-cover tw-max-h-full tw-max-w-full",
|
|
@@ -74469,7 +74466,7 @@ const U22 = /* @__PURE__ */ v(R22, [["render", F22], ["__scopeId", "data-v-ef10c
|
|
|
74469
74466
|
onClick: (u) => r(c)
|
|
74470
74467
|
}, [
|
|
74471
74468
|
p("div", ee2, [
|
|
74472
|
-
c.imageUrl ? (C(), $(
|
|
74469
|
+
c.imageUrl ? (C(), $(y9, {
|
|
74473
74470
|
key: 0,
|
|
74474
74471
|
classes: "tw-object-cover tw-w-12",
|
|
74475
74472
|
"image-url": c.imageUrl,
|
|
@@ -74562,7 +74559,7 @@ const U22 = /* @__PURE__ */ v(R22, [["render", F22], ["__scopeId", "data-v-ef10c
|
|
|
74562
74559
|
onClick: v1((u) => r(c), ["stop"])
|
|
74563
74560
|
}, [
|
|
74564
74561
|
c.imageUrl ? (C(), f("div", re2, [
|
|
74565
|
-
c.imageUrl ? (C(), $(
|
|
74562
|
+
c.imageUrl ? (C(), $(y9, {
|
|
74566
74563
|
key: 0,
|
|
74567
74564
|
classes: "tw-object-cover tw-max-h-full tw-max-w-full tw-w-full",
|
|
74568
74565
|
"image-url": c.imageUrl,
|
|
@@ -75177,7 +75174,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75177
75174
|
}
|
|
75178
75175
|
console.error("Unexpected payment provider details"), a.state = n.PaymentOptionSelection;
|
|
75179
75176
|
} catch (w) {
|
|
75180
|
-
console.error(w), w instanceof Error &&
|
|
75177
|
+
console.error(w), w instanceof Error && N9.safeSendRaygunError(w), a.state = n.PaymentOptionSelection;
|
|
75181
75178
|
}
|
|
75182
75179
|
}, u = L(() => i.successMessage ? i.successMessage : P0("paymentSuccessMessage")), h = L(() => P0("paymentFailedMessage")), m = () => {
|
|
75183
75180
|
a.state = n.Success, s.resetCart();
|
|
@@ -75225,7 +75222,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75225
75222
|
T(I(q1), {
|
|
75226
75223
|
size: "medium",
|
|
75227
75224
|
class: "tw-mt-3 tw-mb-4 tw-py-3 tw-cursor-pointer tw-rounded",
|
|
75228
|
-
style: V1(e.buttonStyle),
|
|
75225
|
+
style: V1(e.buttonStyle?.style),
|
|
75229
75226
|
label: I(P0)("done"),
|
|
75230
75227
|
attrs: {
|
|
75231
75228
|
"data-test-tag": "done-btn"
|
|
@@ -75242,7 +75239,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75242
75239
|
T(I(q1), {
|
|
75243
75240
|
size: "medium",
|
|
75244
75241
|
class: "tw-mt-3 tw-mb-4 tw-py-3 tw-cursor-pointer tw-rounded",
|
|
75245
|
-
style: V1(e.buttonStyle),
|
|
75242
|
+
style: V1(e.buttonStyle?.style),
|
|
75246
75243
|
label: I(P0)("done"),
|
|
75247
75244
|
attrs: {
|
|
75248
75245
|
"data-test-tag": "done-btn"
|
|
@@ -75278,7 +75275,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75278
75275
|
);
|
|
75279
75276
|
a.isActivePaymentProvider = F === w32;
|
|
75280
75277
|
} catch (F) {
|
|
75281
|
-
console.error(F), F instanceof Error &&
|
|
75278
|
+
console.error(F), F instanceof Error && N9.safeSendRaygunError(F);
|
|
75282
75279
|
}
|
|
75283
75280
|
};
|
|
75284
75281
|
ve(() => {
|
|
@@ -75305,7 +75302,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75305
75302
|
a.isAddCartSuccess = !1, a.isPaymentModalVisible = !1, a.isCartModalVisible = !0;
|
|
75306
75303
|
}, y = L(() => ({
|
|
75307
75304
|
...t.viewModel.buttonStyles?.style,
|
|
75308
|
-
color: t.viewModel.buttonTextStyle?.color || t.viewModel.buttonStyles?.style
|
|
75305
|
+
color: t.viewModel.buttonTextStyle?.color || t.viewModel.buttonStyles?.style?.color
|
|
75309
75306
|
})), w = L(() => {
|
|
75310
75307
|
const N = { ...t.viewModel.buttonStyles?.style };
|
|
75311
75308
|
return {
|
|
@@ -75379,8 +75376,8 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75379
75376
|
])) : (C(), f("p", m32, P(I(pr)("noProducts")), 1)),
|
|
75380
75377
|
e.viewModel.products.length >= 1 ? (C(), $(i0, {
|
|
75381
75378
|
key: 2,
|
|
75382
|
-
"selected-button-style-id": e.viewModel.buttonStyles
|
|
75383
|
-
"icon-color": e.viewModel.buttonStyles
|
|
75379
|
+
"selected-button-style-id": e.viewModel.buttonStyles?.selectedButtonStyleId,
|
|
75380
|
+
"icon-color": e.viewModel.buttonStyles?.style?.backgroundColor,
|
|
75384
75381
|
"no-margin": !0
|
|
75385
75382
|
}, {
|
|
75386
75383
|
default: e1(() => [
|
|
@@ -75435,7 +75432,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75435
75432
|
key: 3,
|
|
75436
75433
|
class: "modal-payment",
|
|
75437
75434
|
"is-visible": a.isPaymentModalVisible,
|
|
75438
|
-
"button-style":
|
|
75435
|
+
"button-style": e.viewModel.buttonStyles,
|
|
75439
75436
|
"description-style": e.viewModel.descriptionStyle,
|
|
75440
75437
|
"shop-payment-config": _.value,
|
|
75441
75438
|
context: e.context,
|
|
@@ -75446,7 +75443,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75446
75443
|
}, null, 8, ["is-visible", "button-style", "description-style", "shop-payment-config", "context", "success-message", "is-shipping-enabled"])) : k("", !0)
|
|
75447
75444
|
]));
|
|
75448
75445
|
}
|
|
75449
|
-
}), v32 = /* @__PURE__ */ v(b32, [["__scopeId", "data-v-
|
|
75446
|
+
}), v32 = /* @__PURE__ */ v(b32, [["__scopeId", "data-v-ca446a07"]]), 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 = {
|
|
75450
75447
|
key: 2,
|
|
75451
75448
|
class: "tw-w-full tw-flex tw-justify-center"
|
|
75452
75449
|
}, k32 = /* @__PURE__ */ Q({
|
|
@@ -75502,7 +75499,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75502
75499
|
element: "div"
|
|
75503
75500
|
}, null, 8, ["text-style", "text", "slug"])) : k("", !0),
|
|
75504
75501
|
s.value ? (C(), f("div", M32, [
|
|
75505
|
-
T(
|
|
75502
|
+
T(D9, {
|
|
75506
75503
|
"view-model": r.value,
|
|
75507
75504
|
context: e.context,
|
|
75508
75505
|
class: "tw-w-fit"
|
|
@@ -75514,8 +75511,8 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75514
75511
|
}
|
|
75515
75512
|
}), L32 = /* @__PURE__ */ v(k32, [["__scopeId", "data-v-b0d6a7d0"]]), T32 = {
|
|
75516
75513
|
components: {
|
|
75517
|
-
"bp-general-link":
|
|
75518
|
-
"bp-button":
|
|
75514
|
+
"bp-general-link": D9,
|
|
75515
|
+
"bp-button": D9,
|
|
75519
75516
|
"bp-logo": nb,
|
|
75520
75517
|
"bp-mailing-list": CJ1,
|
|
75521
75518
|
"bp-map": vJ1,
|
|
@@ -75540,7 +75537,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75540
75537
|
mixins: [j22]
|
|
75541
75538
|
};
|
|
75542
75539
|
function V32(e, t, n, i, o, s) {
|
|
75543
|
-
return C(), $(
|
|
75540
|
+
return C(), $(u9(`bp-${e.content.type}`), {
|
|
75544
75541
|
"data-component": "page-component",
|
|
75545
75542
|
"brand-page-token": e.brandPageToken,
|
|
75546
75543
|
"container-client-height": e.containerClientHeight,
|
|
@@ -76072,7 +76069,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76072
76069
|
return Zl("createCard", { siteName: u });
|
|
76073
76070
|
}), d = (u) => `https://bcassetcdn.com/assets/images/modal/save-contact@2x.${u}.png`;
|
|
76074
76071
|
ve(() => {
|
|
76075
|
-
const u =
|
|
76072
|
+
const u = l9().toLowerCase(), h = new Image();
|
|
76076
76073
|
h.onload = () => {
|
|
76077
76074
|
s.value = h.src, o.value = !0;
|
|
76078
76075
|
}, h.onerror = () => {
|
|
@@ -76199,7 +76196,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76199
76196
|
n.context.isPreview,
|
|
76200
76197
|
n.context.brandPageType,
|
|
76201
76198
|
n.context.isDesignCom,
|
|
76202
|
-
|
|
76199
|
+
l9(),
|
|
76203
76200
|
"bp-save-contact"
|
|
76204
76201
|
) : "#"), y = L(() => n.buttonStyles?.iconStyle.fill || "");
|
|
76205
76202
|
return (w, b) => r.value ? (C(), f("footer", w42, [
|
|
@@ -76207,7 +76204,7 @@ const a42 = /* @__PURE__ */ v(o42, [["render", r42]]), l42 = { key: 0 }, d42 = {
|
|
|
76207
76204
|
style: V1(a.buttonPositionStyle),
|
|
76208
76205
|
class: "tw-w-full tw-max-w-md tw-px-4 tw-pointer-events-auto tw-z-50 tw-flex tw-justify-center"
|
|
76209
76206
|
}, [
|
|
76210
|
-
T(
|
|
76207
|
+
T(D9, {
|
|
76211
76208
|
"view-model": h.value,
|
|
76212
76209
|
context: e.context,
|
|
76213
76210
|
class: "btn-max-width tw-cursor-pointer tw-transition-all tw-duration-100 tw-w-full",
|
|
@@ -77035,7 +77032,7 @@ const s0 = (e) => {
|
|
|
77035
77032
|
isNewPageModalVisible: e,
|
|
77036
77033
|
parentPageId: t
|
|
77037
77034
|
}) {
|
|
77038
|
-
const n =
|
|
77035
|
+
const n = G2(), i = b2(), o = B2(), s = Te(), { maxNumOfPages: r } = o.features;
|
|
77039
77036
|
if (!i.isPrePurchase && r > 0 && e && this.pages.length >= r) {
|
|
77040
77037
|
s.setUpsellBridgeState({
|
|
77041
77038
|
cta_location: P4.ADD_NEW_PAGE,
|
|
@@ -77258,12 +77255,13 @@ const s0 = (e) => {
|
|
|
77258
77255
|
const a = n - t + 1;
|
|
77259
77256
|
return r = r % a, t + r;
|
|
77260
77257
|
}, ax = 6, Y42 = {
|
|
77261
|
-
[
|
|
77262
|
-
[
|
|
77263
|
-
[
|
|
77258
|
+
[r9.all]: "MakerPostPurchaseSidebarTemplatesAllTab",
|
|
77259
|
+
[r9.AI]: "MakerPostPurchaseSidebarTemplatesAiTab",
|
|
77260
|
+
[r9.categories]: "MakerPostPurchaseSidebarTemplatesCategoryTab"
|
|
77264
77261
|
}, X42 = {
|
|
77265
|
-
[
|
|
77266
|
-
[
|
|
77262
|
+
[r9.all]: "MakerPrePurchaseSidebarTemplatesAllTab",
|
|
77263
|
+
[r9.AI]: "MakerPrePurchaseSidebarTemplatesAiTab",
|
|
77264
|
+
[r9.categories]: "MakerPrePurchaseSidebarTemplatesCategoryTab"
|
|
77267
77265
|
}, lx = 250, u6 = r3("uiTemplateSettings", {
|
|
77268
77266
|
state: () => ({
|
|
77269
77267
|
isBusy: !1,
|
|
@@ -77363,7 +77361,7 @@ const s0 = (e) => {
|
|
|
77363
77361
|
isUserDraft: !1,
|
|
77364
77362
|
isServerRender: !1
|
|
77365
77363
|
}
|
|
77366
|
-
), o =
|
|
77364
|
+
), o = G2(), s = o.personalisationData ? await Pc(
|
|
77367
77365
|
e.token,
|
|
77368
77366
|
o.personalisationData.length
|
|
77369
77367
|
) : void 0;
|
|
@@ -77385,7 +77383,7 @@ const s0 = (e) => {
|
|
|
77385
77383
|
}, lx);
|
|
77386
77384
|
return;
|
|
77387
77385
|
}
|
|
77388
|
-
const l =
|
|
77386
|
+
const l = G2();
|
|
77389
77387
|
if (!(this.pageNoLoaded >= e)) {
|
|
77390
77388
|
if (this.isBusy) {
|
|
77391
77389
|
process.env.NODE_ENV !== "production" && console.warn("template settings state is busy");
|
|
@@ -77395,14 +77393,14 @@ const s0 = (e) => {
|
|
|
77395
77393
|
throw new Error("templateType is not set");
|
|
77396
77394
|
this._setIsBusy({ isBusy: !0 });
|
|
77397
77395
|
try {
|
|
77398
|
-
const d = UL(), c =
|
|
77396
|
+
const d = UL(), c = l9(), u = s.logoTemplateAsset?.isByo ?? !1, h = s.logoTemplateAsset?.token ?? void 0, m = o.selectedLogoImage.logoVariation;
|
|
77399
77397
|
if (!u && await r.refreshS3TokenIfExpiredAsync(m)) {
|
|
77400
77398
|
setTimeout(() => {
|
|
77401
77399
|
this.loadPageNo({ pageNo: e });
|
|
77402
77400
|
}, lx);
|
|
77403
77401
|
return;
|
|
77404
77402
|
}
|
|
77405
|
-
const g = r.editableLogoVariations[m], y = n.isPrePurchase, w = this.templateType === _92, b = !this.searchTerm && !this.selectedCategory && y && w && this.selectedTab.key ===
|
|
77403
|
+
const g = r.editableLogoVariations[m], y = n.isPrePurchase, w = this.templateType === _92, b = !this.searchTerm && !this.selectedCategory && y && w && this.selectedTab.key === r9.all ? this.initialSearchTerm : this.searchTerm, M = w ? (y ? X42 : Y42)[this.selectedTab.key] : void 0, S = w ? y ? "maker-pre-purchase" : "maker" : void 0, _ = {
|
|
77406
77404
|
page: e,
|
|
77407
77405
|
categoryName: this.selectedCategory,
|
|
77408
77406
|
searchTerm: b,
|
|
@@ -77413,7 +77411,7 @@ const s0 = (e) => {
|
|
|
77413
77411
|
locale: c,
|
|
77414
77412
|
logoS3Token: u ? void 0 : g.s3Token,
|
|
77415
77413
|
logoTemplateToken: u ? h : void 0,
|
|
77416
|
-
useLogoForRecommendedTemplates: w && this.selectedTab.key ===
|
|
77414
|
+
useLogoForRecommendedTemplates: w && this.selectedTab.key === r9.all,
|
|
77417
77415
|
pageSection: M,
|
|
77418
77416
|
pageName: S
|
|
77419
77417
|
}, x = await d.getTemplateItemsByTemplateType(
|
|
@@ -77421,7 +77419,7 @@ const s0 = (e) => {
|
|
|
77421
77419
|
{
|
|
77422
77420
|
..._,
|
|
77423
77421
|
pageSize: ax,
|
|
77424
|
-
personalisable: this.selectedTab.key ===
|
|
77422
|
+
personalisable: this.selectedTab.key === r9.AI
|
|
77425
77423
|
}
|
|
77426
77424
|
);
|
|
77427
77425
|
if (!x)
|
|
@@ -77449,7 +77447,7 @@ const s0 = (e) => {
|
|
|
77449
77447
|
return l.personalisationData?.length ? (F = await Pc(
|
|
77450
77448
|
N.designTemplateToken,
|
|
77451
77449
|
l.personalisationData.length
|
|
77452
|
-
), Y = l.personalisationData[F].contentKey) : N.isPersonalisable && (Y = l.userPromptContentKey), {
|
|
77450
|
+
), Y = l.personalisationData[F].contentKey) : N.isPersonalisable && !this.searchTerm && (Y = l.userPromptContentKey), {
|
|
77453
77451
|
id: N.designTemplateToken,
|
|
77454
77452
|
isPersonalisable: N.isPersonalisable,
|
|
77455
77453
|
contentKey: Y,
|
|
@@ -77457,7 +77455,7 @@ const s0 = (e) => {
|
|
|
77457
77455
|
// in the userPrompt bucket (post- or pre-purchase). The preview must
|
|
77458
77456
|
// then resolve via userPromptContentKey, not the regular bucket which
|
|
77459
77457
|
// holds placeholders post-purchase (bp-5454).
|
|
77460
|
-
usesUserPromptContentKey: !!l.userPromptContentKey,
|
|
77458
|
+
usesUserPromptContentKey: !!l.userPromptContentKey && !this.searchTerm,
|
|
77461
77459
|
previewImageUrl: N.previewImageUrl
|
|
77462
77460
|
};
|
|
77463
77461
|
}
|
|
@@ -77467,7 +77465,7 @@ const s0 = (e) => {
|
|
|
77467
77465
|
})
|
|
77468
77466
|
)).filter(
|
|
77469
77467
|
(N) => N !== null
|
|
77470
|
-
), Z = this.selectedTab.key ===
|
|
77468
|
+
), Z = this.selectedTab.key === r9.categories ? D.map((N) => ({ ...N, isPersonalisable: !1 })) : D;
|
|
77471
77469
|
this._addTemplates({ templates: Z }), this._setPageNoLoaded({ pageNoLoaded: e });
|
|
77472
77470
|
} finally {
|
|
77473
77471
|
this._setIsBusy({ isBusy: !1 });
|
|
@@ -77486,7 +77484,7 @@ const s0 = (e) => {
|
|
|
77486
77484
|
}
|
|
77487
77485
|
},
|
|
77488
77486
|
async onTemplateSelected(e) {
|
|
77489
|
-
await
|
|
77487
|
+
await G2().onTemplateSelected({
|
|
77490
77488
|
templateId: e.templateId,
|
|
77491
77489
|
forceApply: e.forceApply
|
|
77492
77490
|
}), e.forceApply && (await this._setTemplates({
|
|
@@ -77509,7 +77507,7 @@ const s0 = (e) => {
|
|
|
77509
77507
|
categoryName: void 0
|
|
77510
77508
|
}), await this._setSearchTerm({
|
|
77511
77509
|
searchTerm: e.searchTerm
|
|
77512
|
-
}), this.onSearchTermChanged?.(e.searchTerm), await this._setPageNo({ pageNo: 1 }), await this.loadPageNo({ pageNo: 1 });
|
|
77510
|
+
}), this.aiTemplateKeywords = e.searchTerm ?? "", this.onSearchTermChanged?.(e.searchTerm), await this._setPageNo({ pageNo: 1 }), await this.loadPageNo({ pageNo: 1 });
|
|
77513
77511
|
},
|
|
77514
77512
|
async onTabSelected(e) {
|
|
77515
77513
|
this._setSelectedTab({
|
|
@@ -77632,7 +77630,7 @@ const s0 = (e) => {
|
|
|
77632
77630
|
}),
|
|
77633
77631
|
actions: {
|
|
77634
77632
|
initialise(e) {
|
|
77635
|
-
const t = c5(), n =
|
|
77633
|
+
const t = c5(), n = w9();
|
|
77636
77634
|
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)))
|
|
77637
77635
|
throw new Error("logoDraftToken should be defined");
|
|
77638
77636
|
const i = c2(), o = u6();
|
|
@@ -77647,7 +77645,7 @@ const s0 = (e) => {
|
|
|
77647
77645
|
}), i.setSelectedTemplateId({
|
|
77648
77646
|
templateId: this.designTemplateToken
|
|
77649
77647
|
});
|
|
77650
|
-
const r =
|
|
77648
|
+
const r = G2();
|
|
77651
77649
|
e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), e?.gettyVideos?.forEach(
|
|
77652
77650
|
(a) => n.setVideoUrlsWithToken(
|
|
77653
77651
|
a.token,
|
|
@@ -77703,7 +77701,7 @@ const s0 = (e) => {
|
|
|
77703
77701
|
this.sensitiveContent = e.sensitiveContentType;
|
|
77704
77702
|
},
|
|
77705
77703
|
setLogoDraftToken(e) {
|
|
77706
|
-
|
|
77704
|
+
G2().setLogoDraftToken(e);
|
|
77707
77705
|
},
|
|
77708
77706
|
setBackUrl(e) {
|
|
77709
77707
|
const t = c5();
|
|
@@ -77921,7 +77919,7 @@ const s0 = (e) => {
|
|
|
77921
77919
|
window && t && (window.location.href = t);
|
|
77922
77920
|
},
|
|
77923
77921
|
async exportDesignAsync() {
|
|
77924
|
-
const e =
|
|
77922
|
+
const e = G2(), t = c2(), n = u4();
|
|
77925
77923
|
await t.validateContentItems(), await t.validateBrandPageData();
|
|
77926
77924
|
const i = Ge(t.brandPageData);
|
|
77927
77925
|
let o;
|
|
@@ -79122,7 +79120,7 @@ const s0 = (e) => {
|
|
|
79122
79120
|
}), n;
|
|
79123
79121
|
}
|
|
79124
79122
|
return t;
|
|
79125
|
-
}, kl = "https://bc-getty-media.brandcrowd.com", sb = 5,
|
|
79123
|
+
}, kl = "https://bc-getty-media.brandcrowd.com", sb = 5, w9 = r3("video", {
|
|
79126
79124
|
state: () => ({
|
|
79127
79125
|
videoUrls: {},
|
|
79128
79126
|
gettyImagesKeyPrefix: "",
|
|
@@ -79186,7 +79184,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79186
79184
|
}),
|
|
79187
79185
|
actions: {
|
|
79188
79186
|
onContentChanged() {
|
|
79189
|
-
|
|
79187
|
+
G2().onContentChanged();
|
|
79190
79188
|
},
|
|
79191
79189
|
_addItem({
|
|
79192
79190
|
item: e,
|
|
@@ -79220,7 +79218,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79220
79218
|
return;
|
|
79221
79219
|
}
|
|
79222
79220
|
if (!t.settings.fields[e.name]) {
|
|
79223
|
-
if (!
|
|
79221
|
+
if (!O9()[t.type]) {
|
|
79224
79222
|
if (process.env.NODE_ENV !== "production")
|
|
79225
79223
|
throw new Error(
|
|
79226
79224
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -79315,7 +79313,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79315
79313
|
media: t
|
|
79316
79314
|
}), t.type === "getty-video") {
|
|
79317
79315
|
const o = t;
|
|
79318
|
-
|
|
79316
|
+
w9().setVideoUrlsWithToken(
|
|
79319
79317
|
o.token,
|
|
79320
79318
|
o.videoSrc,
|
|
79321
79319
|
o.imageSrc,
|
|
@@ -79492,7 +79490,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79492
79490
|
userState: n.$state,
|
|
79493
79491
|
brandPageType: i.brandPageType,
|
|
79494
79492
|
buttonFillColor: o.buttonFillColor
|
|
79495
|
-
}), a =
|
|
79493
|
+
}), a = O9()[r.type], l = Object.keys(
|
|
79496
79494
|
r
|
|
79497
79495
|
).filter((h) => vg.every((m) => m !== h)).reduce((h, m) => (h[m] = {
|
|
79498
79496
|
isValid: !0,
|
|
@@ -79531,7 +79529,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79531
79529
|
});
|
|
79532
79530
|
},
|
|
79533
79531
|
updateIsDefaultTextColorRequired() {
|
|
79534
|
-
const e =
|
|
79532
|
+
const e = G2(), t = this.items.some(
|
|
79535
79533
|
(n) => g52.some(
|
|
79536
79534
|
(i) => i === n.settings.content.type
|
|
79537
79535
|
)
|
|
@@ -79577,7 +79575,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79577
79575
|
throw new Error("content item id should be unique");
|
|
79578
79576
|
}
|
|
79579
79577
|
e.items.forEach((t) => {
|
|
79580
|
-
const n =
|
|
79578
|
+
const n = O9()[t.type];
|
|
79581
79579
|
if (!n) {
|
|
79582
79580
|
process.env.NODE_ENV !== "production" && console.error(
|
|
79583
79581
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -79600,7 +79598,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79600
79598
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
|
|
79601
79599
|
return;
|
|
79602
79600
|
}
|
|
79603
|
-
const i =
|
|
79601
|
+
const i = O9()[n.type];
|
|
79604
79602
|
if (!i) {
|
|
79605
79603
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate config by type '${n.type}'`);
|
|
79606
79604
|
return;
|
|
@@ -79627,7 +79625,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79627
79625
|
await Promise.all(e);
|
|
79628
79626
|
},
|
|
79629
79627
|
async triggerLockedContentClickedEvent(e) {
|
|
79630
|
-
await
|
|
79628
|
+
await G2().triggerLockedContentClickedEvent(e);
|
|
79631
79629
|
},
|
|
79632
79630
|
setActiveCategoryTab(e) {
|
|
79633
79631
|
!this.addContentOptions.some(
|
|
@@ -79653,7 +79651,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79653
79651
|
this.itemStates[e.id] || (this.setItemState({
|
|
79654
79652
|
id: e.id,
|
|
79655
79653
|
itemState: { ...IB1(), ...t || {} }
|
|
79656
|
-
}),
|
|
79654
|
+
}), O9()[e.type].fieldGroups?.map((n) => n.id).forEach(
|
|
79657
79655
|
(n) => this.initialiseItemGroupState({ id: e.id, groupId: n })
|
|
79658
79656
|
));
|
|
79659
79657
|
},
|
|
@@ -79718,7 +79716,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79718
79716
|
selectedItemTemplate() {
|
|
79719
79717
|
const e = this.selectedItem;
|
|
79720
79718
|
if (e)
|
|
79721
|
-
return
|
|
79719
|
+
return O9()[e.type];
|
|
79722
79720
|
}
|
|
79723
79721
|
}
|
|
79724
79722
|
}), m52 = {
|
|
@@ -79749,7 +79747,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79749
79747
|
},
|
|
79750
79748
|
actions: {
|
|
79751
79749
|
onBackgroundChanged() {
|
|
79752
|
-
|
|
79750
|
+
G2().onBackgroundChanged();
|
|
79753
79751
|
},
|
|
79754
79752
|
setBackgroundStyle({
|
|
79755
79753
|
backgroundStyle: e
|
|
@@ -79900,7 +79898,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79900
79898
|
setBackgroundMedia(e) {
|
|
79901
79899
|
if (e.type === "getty-video") {
|
|
79902
79900
|
const t = e;
|
|
79903
|
-
|
|
79901
|
+
w9().setVideoUrlsWithToken(
|
|
79904
79902
|
t.token,
|
|
79905
79903
|
t.videoSrc,
|
|
79906
79904
|
t.imageSrc,
|
|
@@ -79950,7 +79948,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
79950
79948
|
}),
|
|
79951
79949
|
actions: {
|
|
79952
79950
|
async redirectToCreateNewDesignPage() {
|
|
79953
|
-
await
|
|
79951
|
+
await G2().redirectToCreateNewDesignPage();
|
|
79954
79952
|
},
|
|
79955
79953
|
setState(e) {
|
|
79956
79954
|
e.newState.selectedLogoImage || process.env.NODE_ENV !== "production" && console.error(
|
|
@@ -80070,7 +80068,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80070
80068
|
});
|
|
80071
80069
|
},
|
|
80072
80070
|
applyLogoDesignAttributes(e) {
|
|
80073
|
-
const t =
|
|
80071
|
+
const t = G2(), n = H4();
|
|
80074
80072
|
t.setLogoTheme({
|
|
80075
80073
|
logoTheme: G9(e.logoTheme)
|
|
80076
80074
|
}), n.setRecommendedLogoColors({
|
|
@@ -80081,7 +80079,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80081
80079
|
},
|
|
80082
80080
|
// TODO: check if its needed. looks like there is no reference
|
|
80083
80081
|
setLogoVariation(e) {
|
|
80084
|
-
const t =
|
|
80082
|
+
const t = G2(), n = _e();
|
|
80085
80083
|
t.setLogoDraftToken({
|
|
80086
80084
|
logoDraftToken: e.logoImage.logoDraftToken
|
|
80087
80085
|
}), this.setSelectedLogoImageToAll({
|
|
@@ -80164,7 +80162,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80164
80162
|
}, e);
|
|
80165
80163
|
}), y52 = () => {
|
|
80166
80164
|
const e = B2(), t = c2(), n = e.features;
|
|
80167
|
-
return Object.values(
|
|
80165
|
+
return Object.values(O9()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
|
|
80168
80166
|
(i) => i.brandPageType === void 0 || i.brandPageType.includes(t.brandPageType)
|
|
80169
80167
|
);
|
|
80170
80168
|
}, w52 = (e) => {
|
|
@@ -80231,7 +80229,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80231
80229
|
});
|
|
80232
80230
|
},
|
|
80233
80231
|
selectPreviewLogoTemplateModel(e) {
|
|
80234
|
-
const t =
|
|
80232
|
+
const t = G2(), n = W3(), i = H4(), o = this.previewLogoTemplateModels.find(
|
|
80235
80233
|
(a) => a.logoTemplateToken === e.logoTemplateToken
|
|
80236
80234
|
);
|
|
80237
80235
|
if (!o) {
|
|
@@ -80571,7 +80569,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80571
80569
|
);
|
|
80572
80570
|
},
|
|
80573
80571
|
async applySelectedTemplate() {
|
|
80574
|
-
const e =
|
|
80572
|
+
const e = G2(), t = W3(), n = z4(), i = u6(), o = $9(), s = H4(), r = B2(), a = b2(), l = Pe(), d = X4(), c = E4();
|
|
80575
80573
|
if (!this.selectedTemplateId)
|
|
80576
80574
|
return;
|
|
80577
80575
|
let u = i.getTemplateByTemplateId(
|
|
@@ -80676,7 +80674,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80676
80674
|
newState: {
|
|
80677
80675
|
navigation: {
|
|
80678
80676
|
[V2.header]: {
|
|
80679
|
-
[K1.desktop]: new
|
|
80677
|
+
[K1.desktop]: new C9(
|
|
80680
80678
|
h.pageHeaderDesktop.navigation
|
|
80681
80679
|
),
|
|
80682
80680
|
[K1.mobile]: new q7(
|
|
@@ -80784,7 +80782,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80784
80782
|
e.baselineCaptured && e.captureTemplateSwitch();
|
|
80785
80783
|
},
|
|
80786
80784
|
async applyHistorySnapshot(e, t, n, i) {
|
|
80787
|
-
const o = z4(), s =
|
|
80785
|
+
const o = z4(), s = $9(), r = H4(), a = h3(), l = u4();
|
|
80788
80786
|
this.initialisePagesForCurrentPage({
|
|
80789
80787
|
pages: e.pages,
|
|
80790
80788
|
sections: {
|
|
@@ -80798,7 +80796,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80798
80796
|
}
|
|
80799
80797
|
}
|
|
80800
80798
|
}), a.setNav({ nav: e.nav }), s.$patch((d) => {
|
|
80801
|
-
d.navigation[V2.header][K1.desktop] = new
|
|
80799
|
+
d.navigation[V2.header][K1.desktop] = new C9(e.pageHeaderDesktop?.navigation), d.navigation[V2.header][K1.mobile] = new q7(e.pageHeaderMobile?.navigation);
|
|
80802
80800
|
}), o.$patch((d) => {
|
|
80803
80801
|
d.buttonStyles = e.styles.buttonStyles, d.logoStyles = e.styles.logoStyles, d.textStyles = e.styles.textStyles, d.galleryStyles = e.styles.galleryStyles;
|
|
80804
80802
|
}), r.$patch((d) => {
|
|
@@ -80893,7 +80891,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80893
80891
|
// TODO: refactor and extend this method for initialise stores.
|
|
80894
80892
|
// TODO: waiting to do undo/redo feature to extend this functionality
|
|
80895
80893
|
async initialiseStoresByBrandPageModelAsync(e) {
|
|
80896
|
-
const t = h3(), n = H4(), i = z4(), o =
|
|
80894
|
+
const t = h3(), n = H4(), i = z4(), o = $9();
|
|
80897
80895
|
t.setNav({ nav: e.nav }), this.initialisePagesForCurrentPage({
|
|
80898
80896
|
pages: e.pages,
|
|
80899
80897
|
sections: {
|
|
@@ -80972,7 +80970,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
80972
80970
|
shopConfigData: m,
|
|
80973
80971
|
isServerRenderOverride: g = !1
|
|
80974
80972
|
}) {
|
|
80975
|
-
const y = b2(), w = B2(), b =
|
|
80973
|
+
const y = b2(), w = B2(), b = G2(), M = u6(), S = W3(), _ = X4(), x = H4(), H = z4(), D = $9();
|
|
80976
80974
|
A4(), D.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
80977
80975
|
try {
|
|
80978
80976
|
const Z = G9(
|
|
@@ -81231,7 +81229,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81231
81229
|
);
|
|
81232
81230
|
},
|
|
81233
81231
|
setViewport(e) {
|
|
81234
|
-
const t =
|
|
81232
|
+
const t = G2();
|
|
81235
81233
|
this.viewport = e.viewport, typeof window < "u" && window.innerWidth >= Vm ? t.setDeviceMode({
|
|
81236
81234
|
mode: Kt[e.viewport]
|
|
81237
81235
|
}) : t.setDeviceMode({
|
|
@@ -81268,30 +81266,29 @@ const Pe = r3("uiContentSettings", {
|
|
|
81268
81266
|
);
|
|
81269
81267
|
},
|
|
81270
81268
|
brandPageData() {
|
|
81271
|
-
const e = _e(), t = H4(), n = z4(), i =
|
|
81272
|
-
...
|
|
81273
|
-
contents:
|
|
81274
|
-
})),
|
|
81269
|
+
const e = _e(), t = H4(), n = z4(), i = $9(), o = u4(), s = h3(), r = e.pages.map((g) => ({
|
|
81270
|
+
...g,
|
|
81271
|
+
contents: g.contents.map((y) => y.settings.content)
|
|
81272
|
+
})), a = t.backgroundStyles, l = n.logoStyles, d = n.buttonStyles, c = n.textStyles, u = n.galleryStyles, h = i.navigation, m = s.nav;
|
|
81275
81273
|
return {
|
|
81276
81274
|
v: Fd(),
|
|
81277
|
-
|
|
81278
|
-
pages: a,
|
|
81275
|
+
pages: r,
|
|
81279
81276
|
styles: {
|
|
81280
|
-
logoStyles:
|
|
81281
|
-
buttonStyles:
|
|
81282
|
-
backgroundStyles:
|
|
81283
|
-
textStyles:
|
|
81284
|
-
galleryStyles:
|
|
81277
|
+
logoStyles: l,
|
|
81278
|
+
buttonStyles: d,
|
|
81279
|
+
backgroundStyles: a,
|
|
81280
|
+
textStyles: c,
|
|
81281
|
+
galleryStyles: u
|
|
81285
81282
|
},
|
|
81286
81283
|
pageHeaderDesktop: Object.assign(
|
|
81287
81284
|
{},
|
|
81288
81285
|
e.sections[V2.header][K1.desktop],
|
|
81289
|
-
{ navigation:
|
|
81286
|
+
{ navigation: h[V2.header][K1.desktop] }
|
|
81290
81287
|
),
|
|
81291
81288
|
pageHeaderMobile: Object.assign(
|
|
81292
81289
|
{},
|
|
81293
81290
|
e.sections[V2.header][K1.mobile],
|
|
81294
|
-
{ navigation:
|
|
81291
|
+
{ navigation: h[V2.header][K1.mobile] }
|
|
81295
81292
|
),
|
|
81296
81293
|
pageFooterDesktop: e.sections[V2.footer][K1.desktop],
|
|
81297
81294
|
pageFooterMobile: e.sections[V2.footer][K1.mobile],
|
|
@@ -81306,7 +81303,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81306
81303
|
cookieOptions: this.cookieOptions,
|
|
81307
81304
|
saveContactSettings: this.saveContactSettings,
|
|
81308
81305
|
paymentConfig: o.paymentConfig,
|
|
81309
|
-
nav:
|
|
81306
|
+
nav: m
|
|
81310
81307
|
};
|
|
81311
81308
|
},
|
|
81312
81309
|
brandPageToken() {
|
|
@@ -81319,7 +81316,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81319
81316
|
return b2().brandPageSlug || "";
|
|
81320
81317
|
},
|
|
81321
81318
|
brandPageTemplate() {
|
|
81322
|
-
const e = _e(), t = H4(), n = z4(), i =
|
|
81319
|
+
const e = _e(), t = H4(), n = z4(), i = $9(), o = e.pages.map((m) => ({
|
|
81323
81320
|
...m,
|
|
81324
81321
|
contents: m.contents.map((g) => g.settings.content).map(Ux1).map(zx1)
|
|
81325
81322
|
})), s = t.backgroundStyles, r = n.logoStyles, a = n.buttonStyles, l = n.textStyles, d = n.galleryStyles, c = i.navigation, h = h3().nav;
|
|
@@ -81379,7 +81376,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81379
81376
|
return b2().brandPageTitle;
|
|
81380
81377
|
},
|
|
81381
81378
|
brandPageViewModel() {
|
|
81382
|
-
const e = B2(), t =
|
|
81379
|
+
const e = B2(), t = G2(), n = w9(), i = b2();
|
|
81383
81380
|
if (e.isAdmin && t.logoTheme) {
|
|
81384
81381
|
const s = _t(
|
|
81385
81382
|
t.logoTheme,
|
|
@@ -81439,7 +81436,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81439
81436
|
return An(this.brandPageData, "gettyAssetId");
|
|
81440
81437
|
},
|
|
81441
81438
|
isInteractivePreviewEnabled() {
|
|
81442
|
-
return
|
|
81439
|
+
return G2().screenSizeMode !== D7.mobile;
|
|
81443
81440
|
},
|
|
81444
81441
|
isProduction() {
|
|
81445
81442
|
return b2().isProduction;
|
|
@@ -81468,7 +81465,7 @@ const Pe = r3("uiContentSettings", {
|
|
|
81468
81465
|
return !e.isAdmin && e.features.showBrandCrowdLogo;
|
|
81469
81466
|
}
|
|
81470
81467
|
}
|
|
81471
|
-
}),
|
|
81468
|
+
}), G2 = r3("ui", {
|
|
81472
81469
|
state: () => ({
|
|
81473
81470
|
deviceMode: Kt.desktop,
|
|
81474
81471
|
screenSizeMode: D7.desktop,
|
|
@@ -82203,8 +82200,8 @@ const si = r3("snapshot", {
|
|
|
82203
82200
|
},
|
|
82204
82201
|
{
|
|
82205
82202
|
title: "",
|
|
82206
|
-
value:
|
|
82207
|
-
isSelected: e ===
|
|
82203
|
+
value: d9,
|
|
82204
|
+
isSelected: e === d9,
|
|
82208
82205
|
iconName: "display-style-banner-4",
|
|
82209
82206
|
iconViewBox: "0 0 110 64",
|
|
82210
82207
|
dataAttribute: "data-test-btn-full-image"
|
|
@@ -82256,7 +82253,7 @@ const si = r3("snapshot", {
|
|
|
82256
82253
|
convertBack(e) {
|
|
82257
82254
|
const t = e.options.find((o) => o.isSelected);
|
|
82258
82255
|
let n = "left";
|
|
82259
|
-
(!t || t.value === ze || t.value ===
|
|
82256
|
+
(!t || t.value === ze || t.value === d9 || t.value === m3 || t.value === Ul || t.value === zl || t.value === ql || t.value === Qi || t.value === eo || t.value === to) && (n = "center");
|
|
82260
82257
|
const i = WE(t?.value);
|
|
82261
82258
|
return {
|
|
82262
82259
|
displayStyle: t?.value,
|
|
@@ -82429,7 +82426,7 @@ const si = r3("snapshot", {
|
|
|
82429
82426
|
}, Tm = {
|
|
82430
82427
|
convertBackToMultipleValues: !1,
|
|
82431
82428
|
convert(e) {
|
|
82432
|
-
return e.fontSize ? Math.ceil(parseFloat(
|
|
82429
|
+
return e.fontSize ? Math.ceil(parseFloat(P9(e.fontSize))).toString() : jE.toString();
|
|
82433
82430
|
},
|
|
82434
82431
|
convertBack(e) {
|
|
82435
82432
|
return {
|
|
@@ -82881,8 +82878,8 @@ const si = r3("snapshot", {
|
|
|
82881
82878
|
},
|
|
82882
82879
|
{
|
|
82883
82880
|
title: R3("bigImage"),
|
|
82884
|
-
value:
|
|
82885
|
-
isSelected: e ===
|
|
82881
|
+
value: d9,
|
|
82882
|
+
isSelected: e === d9,
|
|
82886
82883
|
iconName: "testimonial-big-image",
|
|
82887
82884
|
iconViewBox: "0 0 94 24",
|
|
82888
82885
|
dataAttribute: "data-test-btn-big-image"
|
|
@@ -82947,7 +82944,7 @@ const si = r3("snapshot", {
|
|
|
82947
82944
|
}, 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) && [
|
|
82948
82945
|
m3,
|
|
82949
82946
|
jt,
|
|
82950
|
-
|
|
82947
|
+
d9,
|
|
82951
82948
|
Vn
|
|
82952
82949
|
].includes(e.displayStyle)), BD = (e) => e ? e.displayStyle !== X9 : !1, OD = (e) => {
|
|
82953
82950
|
switch (e?.buttonLinkType) {
|
|
@@ -83520,7 +83517,7 @@ const si = r3("snapshot", {
|
|
|
83520
83517
|
type: "website",
|
|
83521
83518
|
brandPageType: [l1.default, l1.brandContact],
|
|
83522
83519
|
category: "general",
|
|
83523
|
-
createInitialContent: (e) =>
|
|
83520
|
+
createInitialContent: (e) => g9("website", "globe", e)(),
|
|
83524
83521
|
displayMode: je.focused,
|
|
83525
83522
|
displayName: O("websiteDisplayName"),
|
|
83526
83523
|
defaultIconName: "maker-globe",
|
|
@@ -83569,7 +83566,7 @@ const si = r3("snapshot", {
|
|
|
83569
83566
|
type: "email",
|
|
83570
83567
|
brandPageType: [l1.default, l1.brandContact],
|
|
83571
83568
|
category: "general",
|
|
83572
|
-
createInitialContent: (e) =>
|
|
83569
|
+
createInitialContent: (e) => g9("email", "email", e)(),
|
|
83573
83570
|
displayMode: je.focused,
|
|
83574
83571
|
displayName: O("emailDisplayName"),
|
|
83575
83572
|
defaultIconName: "maker-email",
|
|
@@ -83697,7 +83694,7 @@ const si = r3("snapshot", {
|
|
|
83697
83694
|
displayStyle: {
|
|
83698
83695
|
type: "radio",
|
|
83699
83696
|
role: "multi",
|
|
83700
|
-
defaultValue:
|
|
83697
|
+
defaultValue: c9,
|
|
83701
83698
|
title: O("displayStyleTitle"),
|
|
83702
83699
|
optionsConvertor: yC
|
|
83703
83700
|
},
|
|
@@ -83727,7 +83724,7 @@ const si = r3("snapshot", {
|
|
|
83727
83724
|
type: "phone",
|
|
83728
83725
|
brandPageType: [l1.default, l1.brandContact],
|
|
83729
83726
|
category: "general",
|
|
83730
|
-
createInitialContent: (e) =>
|
|
83727
|
+
createInitialContent: (e) => g9("phone", "phone", e)(),
|
|
83731
83728
|
displayMode: je.focused,
|
|
83732
83729
|
displayName: O("phoneDisplayName"),
|
|
83733
83730
|
defaultIconName: "phone",
|
|
@@ -83868,7 +83865,7 @@ const si = r3("snapshot", {
|
|
|
83868
83865
|
type: "facebook",
|
|
83869
83866
|
brandPageType: [l1.default, l1.brandContact],
|
|
83870
83867
|
category: "social-links",
|
|
83871
|
-
createInitialContent: (e) =>
|
|
83868
|
+
createInitialContent: (e) => g9("facebook", "facebook", e)(),
|
|
83872
83869
|
displayMode: je.focused,
|
|
83873
83870
|
displayName: O("facebookDisplayName"),
|
|
83874
83871
|
defaultIconName: "maker-facebook",
|
|
@@ -83917,7 +83914,7 @@ const si = r3("snapshot", {
|
|
|
83917
83914
|
brandPageType: [l1.default, l1.brandContact],
|
|
83918
83915
|
category: "social-links",
|
|
83919
83916
|
displayMode: je.focused,
|
|
83920
|
-
createInitialContent: (e) =>
|
|
83917
|
+
createInitialContent: (e) => g9("x", "x", e)(),
|
|
83921
83918
|
displayName: O("twitterDisplayName"),
|
|
83922
83919
|
defaultIconName: "maker-twitter",
|
|
83923
83920
|
fieldGroups: w4(),
|
|
@@ -83964,7 +83961,7 @@ const si = r3("snapshot", {
|
|
|
83964
83961
|
type: "instagram",
|
|
83965
83962
|
brandPageType: [l1.default, l1.brandContact],
|
|
83966
83963
|
category: "social-links",
|
|
83967
|
-
createInitialContent: (e) =>
|
|
83964
|
+
createInitialContent: (e) => g9("instagram", "instagram", e)(),
|
|
83968
83965
|
displayMode: je.focused,
|
|
83969
83966
|
displayName: O("instagramDisplayName"),
|
|
83970
83967
|
defaultIconName: "maker-instagram",
|
|
@@ -84012,7 +84009,7 @@ const si = r3("snapshot", {
|
|
|
84012
84009
|
type: "youtube",
|
|
84013
84010
|
brandPageType: [l1.default, l1.brandContact],
|
|
84014
84011
|
category: "social-links",
|
|
84015
|
-
createInitialContent: (e) =>
|
|
84012
|
+
createInitialContent: (e) => g9("youtube", "youtube", e)(),
|
|
84016
84013
|
displayMode: je.focused,
|
|
84017
84014
|
displayName: O("youtubeDisplayName"),
|
|
84018
84015
|
defaultIconName: "maker-youtube",
|
|
@@ -84060,7 +84057,7 @@ const si = r3("snapshot", {
|
|
|
84060
84057
|
type: "linkedin",
|
|
84061
84058
|
brandPageType: [l1.default, l1.brandContact],
|
|
84062
84059
|
category: "social-links",
|
|
84063
|
-
createInitialContent: (e) =>
|
|
84060
|
+
createInitialContent: (e) => g9("linkedin", "linkedin", e)(),
|
|
84064
84061
|
displayMode: je.focused,
|
|
84065
84062
|
displayName: O("linkedinDisplayName"),
|
|
84066
84063
|
defaultIconName: "maker-linkedin",
|
|
@@ -84108,7 +84105,7 @@ const si = r3("snapshot", {
|
|
|
84108
84105
|
type: "pinterest",
|
|
84109
84106
|
brandPageType: [l1.default, l1.brandContact],
|
|
84110
84107
|
category: "social-links",
|
|
84111
|
-
createInitialContent: (e) =>
|
|
84108
|
+
createInitialContent: (e) => g9("pinterest", "pinterest", e)(),
|
|
84112
84109
|
displayMode: je.focused,
|
|
84113
84110
|
displayName: O("pinterestDisplayName"),
|
|
84114
84111
|
defaultIconName: "maker-pinterest",
|
|
@@ -84156,7 +84153,7 @@ const si = r3("snapshot", {
|
|
|
84156
84153
|
type: "twitch",
|
|
84157
84154
|
brandPageType: [l1.default, l1.brandContact],
|
|
84158
84155
|
category: "social-links",
|
|
84159
|
-
createInitialContent: (e) =>
|
|
84156
|
+
createInitialContent: (e) => g9("twitch", "twitch", e)(),
|
|
84160
84157
|
displayMode: je.focused,
|
|
84161
84158
|
displayName: O("twitchDisplayName"),
|
|
84162
84159
|
defaultIconName: "maker-twitch",
|
|
@@ -84204,7 +84201,7 @@ const si = r3("snapshot", {
|
|
|
84204
84201
|
type: "tiktok",
|
|
84205
84202
|
brandPageType: [l1.default, l1.brandContact],
|
|
84206
84203
|
category: "social-links",
|
|
84207
|
-
createInitialContent: (e) =>
|
|
84204
|
+
createInitialContent: (e) => g9("tiktok", "tiktok", e)(),
|
|
84208
84205
|
displayMode: je.focused,
|
|
84209
84206
|
displayName: O("tiktokDisplayName"),
|
|
84210
84207
|
defaultIconName: "maker-tiktok",
|
|
@@ -84628,7 +84625,7 @@ const si = r3("snapshot", {
|
|
|
84628
84625
|
displayStyle: {
|
|
84629
84626
|
type: "radio",
|
|
84630
84627
|
role: "multi",
|
|
84631
|
-
defaultValue:
|
|
84628
|
+
defaultValue: c9,
|
|
84632
84629
|
title: O("displayStyleTitle"),
|
|
84633
84630
|
optionsConvertor: yC,
|
|
84634
84631
|
groupId: z3.settings,
|
|
@@ -85175,7 +85172,7 @@ const si = r3("snapshot", {
|
|
|
85175
85172
|
},
|
|
85176
85173
|
isEnabled: !0,
|
|
85177
85174
|
isLocked: !1
|
|
85178
|
-
}),
|
|
85175
|
+
}), L9 = {
|
|
85179
85176
|
settings: "settings",
|
|
85180
85177
|
style: "style"
|
|
85181
85178
|
}, C92 = () => ({
|
|
@@ -85187,12 +85184,12 @@ const si = r3("snapshot", {
|
|
|
85187
85184
|
displayName: O("socialLinksDisplayName"),
|
|
85188
85185
|
fieldGroups: [
|
|
85189
85186
|
{
|
|
85190
|
-
id:
|
|
85187
|
+
id: L9.settings,
|
|
85191
85188
|
displayName: O("settingsDisplayName"),
|
|
85192
85189
|
isCollapsed: !1
|
|
85193
85190
|
},
|
|
85194
85191
|
{
|
|
85195
|
-
id:
|
|
85192
|
+
id: L9.style,
|
|
85196
85193
|
displayName: O("styleDisplayName"),
|
|
85197
85194
|
isCollapsed: !0
|
|
85198
85195
|
}
|
|
@@ -85200,7 +85197,7 @@ const si = r3("snapshot", {
|
|
|
85200
85197
|
fields: {
|
|
85201
85198
|
title: {
|
|
85202
85199
|
type: "title",
|
|
85203
|
-
groupId:
|
|
85200
|
+
groupId: L9.settings,
|
|
85204
85201
|
title: O("titleTitle"),
|
|
85205
85202
|
maxLength: 200
|
|
85206
85203
|
},
|
|
@@ -85211,23 +85208,23 @@ const si = r3("snapshot", {
|
|
|
85211
85208
|
},
|
|
85212
85209
|
links: {
|
|
85213
85210
|
type: "links",
|
|
85214
|
-
groupId:
|
|
85211
|
+
groupId: L9.settings,
|
|
85215
85212
|
title: O("pluralAddItemsTitle"),
|
|
85216
85213
|
replaceImageSettings: E62()
|
|
85217
85214
|
},
|
|
85218
85215
|
iconDisplayStyle: {
|
|
85219
85216
|
type: "radio",
|
|
85220
85217
|
role: "multi",
|
|
85221
|
-
groupId:
|
|
85218
|
+
groupId: L9.style,
|
|
85222
85219
|
title: O("displayStyleTitle"),
|
|
85223
85220
|
defaultValue: V6.none,
|
|
85224
85221
|
optionsConvertor: m62,
|
|
85225
85222
|
variant: "icon"
|
|
85226
85223
|
},
|
|
85227
|
-
...N4(
|
|
85224
|
+
...N4(L9.style),
|
|
85228
85225
|
titleStyle: {
|
|
85229
85226
|
type: "text-style",
|
|
85230
|
-
groupId:
|
|
85227
|
+
groupId: L9.style,
|
|
85231
85228
|
label: O("titleStyleLabel"),
|
|
85232
85229
|
title: O("fontSettingsTitle"),
|
|
85233
85230
|
defaultValue: void 0,
|
|
@@ -85235,7 +85232,7 @@ const si = r3("snapshot", {
|
|
|
85235
85232
|
},
|
|
85236
85233
|
iconFillStyles: {
|
|
85237
85234
|
type: "color",
|
|
85238
|
-
groupId:
|
|
85235
|
+
groupId: L9.style,
|
|
85239
85236
|
defaultValue: {},
|
|
85240
85237
|
isInline: !0,
|
|
85241
85238
|
showToggle: !1,
|
|
@@ -85245,7 +85242,7 @@ const si = r3("snapshot", {
|
|
|
85245
85242
|
},
|
|
85246
85243
|
iconBackgroundStyles: {
|
|
85247
85244
|
type: "color",
|
|
85248
|
-
groupId:
|
|
85245
|
+
groupId: L9.style,
|
|
85249
85246
|
defaultValue: {},
|
|
85250
85247
|
isInline: !0,
|
|
85251
85248
|
showToggle: !1,
|
|
@@ -85254,7 +85251,7 @@ const si = r3("snapshot", {
|
|
|
85254
85251
|
},
|
|
85255
85252
|
backgroundStyles: {
|
|
85256
85253
|
type: "color",
|
|
85257
|
-
groupId:
|
|
85254
|
+
groupId: L9.style,
|
|
85258
85255
|
defaultValue: {},
|
|
85259
85256
|
isInline: !0,
|
|
85260
85257
|
showToggle: !1,
|
|
@@ -85616,7 +85613,7 @@ const si = r3("snapshot", {
|
|
|
85616
85613
|
},
|
|
85617
85614
|
isEnabled: !0,
|
|
85618
85615
|
isLocked: !1
|
|
85619
|
-
}),
|
|
85616
|
+
}), O9 = () => ({
|
|
85620
85617
|
logo: O62(),
|
|
85621
85618
|
"general-link": D62(),
|
|
85622
85619
|
profile: N62(),
|
|
@@ -89606,7 +89603,7 @@ const st = /* @__PURE__ */ v(i02, [["render", p02]]), f02 = "image/png, image/jp
|
|
|
89606
89603
|
if (this.content?.type === "banner-section" && this.content?.media?.type === "getty-video" && this.name === "imageUrl") {
|
|
89607
89604
|
const e = this.content?.media.gettyToken;
|
|
89608
89605
|
if (e) {
|
|
89609
|
-
const n =
|
|
89606
|
+
const n = w9().getVideoUrlsForToken(e);
|
|
89610
89607
|
if (n?.previewImageUrl)
|
|
89611
89608
|
return n.previewImageUrl;
|
|
89612
89609
|
}
|
|
@@ -90183,7 +90180,7 @@ const F02 = { key: 2 }, U02 = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, z02
|
|
|
90183
90180
|
__name: "ShapeLibrary",
|
|
90184
90181
|
emits: ["on-select-image", "on-collection-enabled"],
|
|
90185
90182
|
setup(e, { emit: t }) {
|
|
90186
|
-
const n = t, i =
|
|
90183
|
+
const n = t, i = G2(), o = b2(), s = c2(), r = B2(), a = A4(), l = L(() => r.isAdmin), d = L(
|
|
90187
90184
|
() => a.selectedTabName === "BackgroundSettings"
|
|
90188
90185
|
), c = L(
|
|
90189
90186
|
() => r.isAdmin ? `admin_${s.brandPageType.toLocaleLowerCase()}` : s.brandPageType.toLocaleLowerCase()
|
|
@@ -90892,7 +90889,7 @@ const cb = (e) => kh || (kh = new xn2(e)), tH = Q({
|
|
|
90892
90889
|
},
|
|
90893
90890
|
emits: ["on-delete-image", "on-select-image"],
|
|
90894
90891
|
setup() {
|
|
90895
|
-
const e =
|
|
90892
|
+
const e = G2();
|
|
90896
90893
|
return {
|
|
90897
90894
|
endpoints: L(() => e.endpoints),
|
|
90898
90895
|
uiStore: e
|
|
@@ -91202,7 +91199,7 @@ const Jn2 = /* @__PURE__ */ v(Nn2, [["render", Xn2], ["__scopeId", "data-v-68941
|
|
|
91202
91199
|
},
|
|
91203
91200
|
emits: ["on-delete-image", "on-select-image"],
|
|
91204
91201
|
setup() {
|
|
91205
|
-
const e =
|
|
91202
|
+
const e = G2(), t = B2();
|
|
91206
91203
|
return {
|
|
91207
91204
|
dropzoneImageUploaderRef: d1(null),
|
|
91208
91205
|
endpoints: L(() => e.endpoints),
|
|
@@ -91420,7 +91417,7 @@ const rN = () => Lh || (Lh = new fi2()), iH = Q({
|
|
|
91420
91417
|
},
|
|
91421
91418
|
emits: ["on-select-image"],
|
|
91422
91419
|
setup() {
|
|
91423
|
-
const e =
|
|
91420
|
+
const e = G2(), t = W3(), n = B2();
|
|
91424
91421
|
return {
|
|
91425
91422
|
endpoints: L(() => e.endpoints),
|
|
91426
91423
|
uiStore: e,
|
|
@@ -91777,7 +91774,7 @@ class Ri2 {
|
|
|
91777
91774
|
const sH = Q({
|
|
91778
91775
|
emits: ["on-select-image"],
|
|
91779
91776
|
setup() {
|
|
91780
|
-
const e =
|
|
91777
|
+
const e = G2();
|
|
91781
91778
|
return {
|
|
91782
91779
|
endpoints: L(() => e.endpoints),
|
|
91783
91780
|
thirdPartySettings: L(() => e.thirdPartySettings),
|
|
@@ -92049,7 +92046,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92049
92046
|
},
|
|
92050
92047
|
emits: ["on-select-video"],
|
|
92051
92048
|
setup(e, { emit: t }) {
|
|
92052
|
-
const n =
|
|
92049
|
+
const n = G2(), 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 = () => {
|
|
92053
92050
|
o.value.length >= rH && setTimeout(() => {
|
|
92054
92051
|
o.value.length >= rH && D();
|
|
92055
92052
|
}, yo2);
|
|
@@ -92420,7 +92417,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92420
92417
|
mediaType: { default: "" }
|
|
92421
92418
|
},
|
|
92422
92419
|
setup(e) {
|
|
92423
|
-
const t = e, n = [".png", ".ico"], i = c2(), o = B2(), s = H4(), r =
|
|
92420
|
+
const t = e, n = [".png", ".ico"], i = c2(), o = B2(), s = H4(), r = w9(), 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(() => {
|
|
92424
92421
|
const H = i.fieldSettings?.replaceImageSettings;
|
|
92425
92422
|
return H ? H.contentMediaFieldName ? H.titleReplace : H.titleAdd : "";
|
|
92426
92423
|
}), g = L(() => {
|
|
@@ -92498,7 +92495,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92498
92495
|
__name: "BackgroundSettings",
|
|
92499
92496
|
emits: ["on-intent-image-replace"],
|
|
92500
92497
|
setup(e) {
|
|
92501
|
-
const t = H4(), n = B2(), i = c2(), o =
|
|
92498
|
+
const t = H4(), n = B2(), i = c2(), o = G2(), s = Te(), r = L(
|
|
92502
92499
|
() => t.backgroundStyles
|
|
92503
92500
|
), a = L(
|
|
92504
92501
|
() => t.recommendedLogoColors
|
|
@@ -92506,7 +92503,7 @@ const oo2 = { "data-component": "video-library" }, so2 = {
|
|
|
92506
92503
|
() => o.isPersonalisationEnabled
|
|
92507
92504
|
), m = L(() => u.value && h.value), g = L(() => r.value.personalisationRole), y = L(() => {
|
|
92508
92505
|
const q = r.value.backgroundImageUrl || "", i1 = r.value.media;
|
|
92509
|
-
return q.endsWith(".svg") ? "" : i1 && i1.type === "getty-video" ?
|
|
92506
|
+
return q.endsWith(".svg") ? "" : i1 && i1.type === "getty-video" ? w9().getVideoUrlsForToken(i1.gettyToken)?.previewImageUrl || "" : q;
|
|
92510
92507
|
}), w = L(() => t.hasMedia), b = L(() => {
|
|
92511
92508
|
const q = r.value.mediaOverlayStyle?.backgroundColor || "rgb(0,0,0)";
|
|
92512
92509
|
return q.startsWith("rgb") ? Ye(q).toUpperCase() : q;
|
|
@@ -93073,7 +93070,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93073
93070
|
"capture-preview-snapshot"
|
|
93074
93071
|
],
|
|
93075
93072
|
setup() {
|
|
93076
|
-
const e = Pe(), t = A4(), n = c2(), i =
|
|
93073
|
+
const e = Pe(), t = A4(), n = c2(), i = G2(), o = B2(), s = Is(), r = Te();
|
|
93077
93074
|
return {
|
|
93078
93075
|
currentRoute: L(() => s.currentRoute),
|
|
93079
93076
|
getContent: L(() => e.getContent),
|
|
@@ -93237,7 +93234,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93237
93234
|
},
|
|
93238
93235
|
emits: ["capture-preview-snapshot"],
|
|
93239
93236
|
setup() {
|
|
93240
|
-
const e = Pe(), t = c2(), n = B2(), i =
|
|
93237
|
+
const e = Pe(), t = c2(), n = B2(), i = G2(), o = A4(), s = _e(), r = b2(), a = si(), l = W3();
|
|
93241
93238
|
return {
|
|
93242
93239
|
getFieldSettings: L(() => e.getFieldSettings),
|
|
93243
93240
|
getContent: L(() => e.getContent),
|
|
@@ -93500,7 +93497,7 @@ const is2 = /* @__PURE__ */ v(ts2, [["render", ns2], ["__scopeId", "data-v-0cd8c
|
|
|
93500
93497
|
l = await o.createPlaceAutocompleteElement({
|
|
93501
93498
|
value: n.value?.formattedAddress ?? "",
|
|
93502
93499
|
placeholder: qL1("addressPlaceholder"),
|
|
93503
|
-
requestedLanguage:
|
|
93500
|
+
requestedLanguage: l9(),
|
|
93504
93501
|
// Drop the widget's built-in search icon and clear button for a plain
|
|
93505
93502
|
// input that matches our design system.
|
|
93506
93503
|
noInputIcon: !0,
|
|
@@ -94305,7 +94302,7 @@ const Im = /* @__PURE__ */ v(Rs2, [["render", Fs2], ["__scopeId", "data-v-29dc2a
|
|
|
94305
94302
|
},
|
|
94306
94303
|
emits: ["on-select-logo"],
|
|
94307
94304
|
setup() {
|
|
94308
|
-
const e =
|
|
94305
|
+
const e = G2();
|
|
94309
94306
|
return {
|
|
94310
94307
|
endpoints: L(() => e.endpoints),
|
|
94311
94308
|
uiStore: e
|
|
@@ -94674,7 +94671,7 @@ const Ws2 = /* @__PURE__ */ v(Us2, [["render", js2], ["__scopeId", "data-v-8240b
|
|
|
94674
94671
|
return;
|
|
94675
94672
|
}
|
|
94676
94673
|
if (s.logoEditUrl) {
|
|
94677
|
-
const Y =
|
|
94674
|
+
const Y = l9();
|
|
94678
94675
|
r.redirectToLogoEditPage(s.logoEditUrl, Y);
|
|
94679
94676
|
}
|
|
94680
94677
|
};
|
|
@@ -94846,7 +94843,7 @@ const Ws2 = /* @__PURE__ */ v(Us2, [["render", js2], ["__scopeId", "data-v-8240b
|
|
|
94846
94843
|
m.token
|
|
94847
94844
|
);
|
|
94848
94845
|
c2();
|
|
94849
|
-
const y =
|
|
94846
|
+
const y = G2(), w = _e();
|
|
94850
94847
|
let b = {
|
|
94851
94848
|
logoDraftToken: m.token,
|
|
94852
94849
|
logoLastUpdate: m.tick?.toString(),
|
|
@@ -95240,25 +95237,25 @@ const pN = /* @__PURE__ */ v(Sr2, [["render", Mr2]]), kr2 = (e) => e.paymentConf
|
|
|
95240
95237
|
requiredActionHelloBarLabel() {
|
|
95241
95238
|
switch (this.value.paymentConfig?.status) {
|
|
95242
95239
|
case "PendingPreOnboarding":
|
|
95243
|
-
return
|
|
95240
|
+
return A9("pendingPreOnboardingLabel");
|
|
95244
95241
|
case "PendingPostOnboarding":
|
|
95245
|
-
return
|
|
95242
|
+
return A9("pendingPostOnboardingLabel");
|
|
95246
95243
|
default:
|
|
95247
|
-
return
|
|
95244
|
+
return A9("defaultLabel");
|
|
95248
95245
|
}
|
|
95249
95246
|
},
|
|
95250
95247
|
requiredActionHelloBarDescription() {
|
|
95251
95248
|
switch (this.value.paymentConfig?.status) {
|
|
95252
95249
|
case "PendingPreOnboarding":
|
|
95253
|
-
return
|
|
95250
|
+
return A9("pendingPreOnboardingDescription");
|
|
95254
95251
|
case "PendingPostOnboarding":
|
|
95255
|
-
return
|
|
95252
|
+
return A9("pendingPostOnboardingDescription");
|
|
95256
95253
|
default:
|
|
95257
95254
|
return;
|
|
95258
95255
|
}
|
|
95259
95256
|
},
|
|
95260
95257
|
requiredActionCtaLabel() {
|
|
95261
|
-
return `${
|
|
95258
|
+
return `${A9("requiredActionCtaLabel")}${this.value.paymentConfig?.paymentProviderName}`;
|
|
95262
95259
|
},
|
|
95263
95260
|
requiredActionCtaTarget() {
|
|
95264
95261
|
return this.value.paymentConfig?.status === "PendingPreOnboarding" ? "_self" : "_target";
|
|
@@ -95342,7 +95339,7 @@ const pN = /* @__PURE__ */ v(Sr2, [["render", Mr2]]), kr2 = (e) => e.paymentConf
|
|
|
95342
95339
|
setup(e, t) {
|
|
95343
95340
|
return {
|
|
95344
95341
|
...hH.setup(e, t),
|
|
95345
|
-
paymentConfigTr:
|
|
95342
|
+
paymentConfigTr: A9
|
|
95346
95343
|
};
|
|
95347
95344
|
}
|
|
95348
95345
|
}, Vr2 = {
|
|
@@ -95565,7 +95562,7 @@ const Cb = /* @__PURE__ */ v(Tr2, [["render", Ar2]]), El = 100, $r2 = 250, Th =
|
|
|
95565
95562
|
setup() {
|
|
95566
95563
|
return {
|
|
95567
95564
|
commonTr: L2,
|
|
95568
|
-
paymentConfigTr:
|
|
95565
|
+
paymentConfigTr: A9
|
|
95569
95566
|
};
|
|
95570
95567
|
}
|
|
95571
95568
|
}, Rr2 = {
|
|
@@ -95698,7 +95695,7 @@ const hN = /* @__PURE__ */ v(Nr2, [["render", Kr2]]), Yr2 = {
|
|
|
95698
95695
|
mixins: [Lr2],
|
|
95699
95696
|
setup() {
|
|
95700
95697
|
return {
|
|
95701
|
-
paymentConfigTr:
|
|
95698
|
+
paymentConfigTr: A9
|
|
95702
95699
|
};
|
|
95703
95700
|
}
|
|
95704
95701
|
}, 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" };
|
|
@@ -99001,7 +98998,7 @@ const Xb2 = /* @__PURE__ */ v(Wb2, [["render", Yb2]]), Jb2 = {
|
|
|
99001
98998
|
};
|
|
99002
98999
|
function ev2(e, t, n, i, o, s) {
|
|
99003
99000
|
return C(), f("div", Qb2, [
|
|
99004
|
-
(C(), $(
|
|
99001
|
+
(C(), $(u9(n.fontFamily), {
|
|
99005
99002
|
class: B([n.innerClass, "tw-w-full tw-px-5 tw-box-border"])
|
|
99006
99003
|
}, null, 8, ["class"]))
|
|
99007
99004
|
]);
|
|
@@ -99519,7 +99516,7 @@ const ZC = /* @__PURE__ */ v(Cv2, [["render", fv2]]), hv2 = {
|
|
|
99519
99516
|
setup(e, { expose: t, emit: n }) {
|
|
99520
99517
|
const i = e, o = h3(), s = z4(), r = Pe(), a = d1(), l = d1(), d = L(
|
|
99521
99518
|
() => s.availableTextFontFamilyOptions
|
|
99522
|
-
), c = UF(e, "modelValue"), u = n, h = d1(!1), m = B2(), g =
|
|
99519
|
+
), c = UF(e, "modelValue"), u = n, h = d1(!1), m = B2(), g = G2(), y = L(() => m.isAdmin), w = L(() => g.logoTheme), b = qe({
|
|
99523
99520
|
selectedTextStyle: "",
|
|
99524
99521
|
selectedFont: "Lato",
|
|
99525
99522
|
selectedFontSize: "2.25em",
|
|
@@ -101491,7 +101488,7 @@ const wN = /* @__PURE__ */ v(IS2, [["render", AS2], ["__scopeId", "data-v-f3d394
|
|
|
101491
101488
|
mixins: [V_2],
|
|
101492
101489
|
setup() {
|
|
101493
101490
|
return {
|
|
101494
|
-
paymentConfigTr:
|
|
101491
|
+
paymentConfigTr: A9
|
|
101495
101492
|
};
|
|
101496
101493
|
}
|
|
101497
101494
|
}, H_2 = {
|
|
@@ -103607,7 +103604,7 @@ function Dk2(e, t, n, i, o, s) {
|
|
|
103607
103604
|
color: "primary"
|
|
103608
103605
|
}, null, 8, ["id", "modelValue"])) : k("", !0)
|
|
103609
103606
|
], 2)) : k("", !0),
|
|
103610
|
-
ne((C(), $(
|
|
103607
|
+
ne((C(), $(u9(`${e.fieldType}-field`), {
|
|
103611
103608
|
id: e.id,
|
|
103612
103609
|
key: e.showRichTextEditor ? `rte-${e.id}-${e.richTextEditorKey}` : `field-${e.id}`,
|
|
103613
103610
|
attrs: {
|
|
@@ -103732,7 +103729,7 @@ function qk2(e, t, n, i, o, s) {
|
|
|
103732
103729
|
}
|
|
103733
103730
|
const Gk2 = /* @__PURE__ */ v(Nk2, [["render", qk2]]), SH = Q({
|
|
103734
103731
|
setup() {
|
|
103735
|
-
const e = c2(), t = Pe(), n = B2(), i = _e(), o =
|
|
103732
|
+
const e = c2(), t = Pe(), n = B2(), i = _e(), o = w9(), s = Te();
|
|
103736
103733
|
return {
|
|
103737
103734
|
items: L(() => t.items),
|
|
103738
103735
|
selectedItemId: L(() => t.selectedItemId),
|
|
@@ -104205,7 +104202,7 @@ const uL2 = /* @__PURE__ */ v(sL2, [["render", CL2]]), _5 = {
|
|
|
104205
104202
|
}
|
|
104206
104203
|
}, MH = Q({
|
|
104207
104204
|
setup() {
|
|
104208
|
-
const e = c2(), t =
|
|
104205
|
+
const e = c2(), t = G2(), n = B2(), i = _e(), o = Pe(), s = $9(), r = b2(), a = Te(), l = h3(), d = (y) => {
|
|
104209
104206
|
i.setPages({ pages: y.map((w) => w.page) });
|
|
104210
104207
|
}, c = L({
|
|
104211
104208
|
get() {
|
|
@@ -104643,7 +104640,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104643
104640
|
}
|
|
104644
104641
|
},
|
|
104645
104642
|
setup() {
|
|
104646
|
-
const e = c2(), t = _e(), n = z4(), i =
|
|
104643
|
+
const e = c2(), t = _e(), n = z4(), i = $9(), o = Pe(), s = G2(), r = b2(), a = E4(), l = X4();
|
|
104647
104644
|
return {
|
|
104648
104645
|
sections: L(() => t.sections),
|
|
104649
104646
|
availableTextFontFamilyOptions: L(
|
|
@@ -104676,7 +104673,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104676
104673
|
return this.navigation.renderAfterLogo;
|
|
104677
104674
|
},
|
|
104678
104675
|
navigation() {
|
|
104679
|
-
const e =
|
|
104676
|
+
const e = $9();
|
|
104680
104677
|
return this.viewport === K1.mobile ? e.navigation[V2.header][K1.mobile] : e.navigation[V2.header][K1.desktop];
|
|
104681
104678
|
},
|
|
104682
104679
|
header() {
|
|
@@ -104989,7 +104986,7 @@ const SL2 = /* @__PURE__ */ v(gL2, [["render", vL2]]), Eh = () => [
|
|
|
104989
104986
|
});
|
|
104990
104987
|
},
|
|
104991
104988
|
async onLogoVersionSelected(e) {
|
|
104992
|
-
const t =
|
|
104989
|
+
const t = G2();
|
|
104993
104990
|
c2(), this.logoDraftToken = e.token;
|
|
104994
104991
|
const n = this.logoStore.getLogoDraftAssetByToken(
|
|
104995
104992
|
this.logoDraftToken
|
|
@@ -106032,7 +106029,7 @@ const DT2 = /* @__PURE__ */ v(IT2, [["render", OT2], ["__scopeId", "data-v-4686f
|
|
|
106032
106029
|
setup() {
|
|
106033
106030
|
const e = Pe(), t = c2();
|
|
106034
106031
|
_e(), z4();
|
|
106035
|
-
const n = B2(), i =
|
|
106032
|
+
const n = B2(), i = G2(), o = Is(), { externalEditor: s } = ot();
|
|
106036
106033
|
return {
|
|
106037
106034
|
currentRoute: L(() => o.currentRoute),
|
|
106038
106035
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -106640,7 +106637,7 @@ const nV2 = /* @__PURE__ */ v(eV2, [["render", tV2], ["__scopeId", "data-v-3a40a
|
|
|
106640
106637
|
}
|
|
106641
106638
|
}), VH = Q({
|
|
106642
106639
|
setup() {
|
|
106643
|
-
const e = X4(), t = W3(), n =
|
|
106640
|
+
const e = X4(), t = W3(), n = G2(), i = u6(), o = Te();
|
|
106644
106641
|
return {
|
|
106645
106642
|
editableLogoStore: e,
|
|
106646
106643
|
logoStore: t,
|
|
@@ -107686,7 +107683,7 @@ const Hx2 = /* @__PURE__ */ v(Lx2, [["render", xx2], ["__scopeId", "data-v-f3af5
|
|
|
107686
107683
|
}
|
|
107687
107684
|
},
|
|
107688
107685
|
setup() {
|
|
107689
|
-
const e = b2(), t = Is(), n = c2(), i =
|
|
107686
|
+
const e = b2(), t = Is(), n = c2(), i = w9();
|
|
107690
107687
|
return {
|
|
107691
107688
|
currentRoute: L(() => t.currentRoute),
|
|
107692
107689
|
isDesignCom: L(() => e.isDesignCom),
|
|
@@ -107926,7 +107923,7 @@ const EH = Q({
|
|
|
107926
107923
|
}), Nx2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Rx2 = /* @__PURE__ */ Q({
|
|
107927
107924
|
__name: "UndoButton",
|
|
107928
107925
|
setup(e) {
|
|
107929
|
-
const t = n8(), n = r0(), i = b2(), o = u6(), s =
|
|
107926
|
+
const t = n8(), n = r0(), i = b2(), o = u6(), s = G2(), r = L(
|
|
107930
107927
|
() => s.screenSizeMode === D7.mobile
|
|
107931
107928
|
), a = L(
|
|
107932
107929
|
() => !t.canUndo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -107975,7 +107972,7 @@ const EH = Q({
|
|
|
107975
107972
|
}), Zx2 = /* @__PURE__ */ v(Rx2, [["__scopeId", "data-v-e0132471"]]), Fx2 = { class: "tw-whitespace-nowrap tw-text-sm" }, Ux2 = /* @__PURE__ */ Q({
|
|
107976
107973
|
__name: "RedoButton",
|
|
107977
107974
|
setup(e) {
|
|
107978
|
-
const t = n8(), n = r0(), i = b2(), o = u6(), s =
|
|
107975
|
+
const t = n8(), n = r0(), i = b2(), o = u6(), s = G2(), r = L(
|
|
107979
107976
|
() => s.screenSizeMode === D7.mobile
|
|
107980
107977
|
), a = L(
|
|
107981
107978
|
() => !t.canRedo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -108263,7 +108260,7 @@ function CH2(e, t, n, i, o, s) {
|
|
|
108263
108260
|
}
|
|
108264
108261
|
const uH2 = /* @__PURE__ */ v(rH2, [["render", CH2]]), $H = Q({
|
|
108265
108262
|
setup() {
|
|
108266
|
-
const e =
|
|
108263
|
+
const e = G2(), t = z4(), n = B2(), i = c2(), o = b2(), s = H4(), r = Te();
|
|
108267
108264
|
return {
|
|
108268
108265
|
logoTheme: L(() => e.logoTheme),
|
|
108269
108266
|
availableButtonStyleConfigs: L(
|
|
@@ -108502,7 +108499,7 @@ function yH2(e, t) {
|
|
|
108502
108499
|
const wH2 = /* @__PURE__ */ v(gH2, [["render", yH2]]), bH2 = { "data-component": "text-style-options-settings-with-state" }, vH2 = /* @__PURE__ */ Q({
|
|
108503
108500
|
__name: "TextStyleOptionsSettingsWithState",
|
|
108504
108501
|
setup(e) {
|
|
108505
|
-
const t = z4(), n = B2(), i =
|
|
108502
|
+
const t = z4(), n = B2(), i = G2(), o = _e(), s = L(
|
|
108506
108503
|
() => t.availableTextFontFamilyOptions
|
|
108507
108504
|
), r = L(
|
|
108508
108505
|
() => t.textStyles.textStyleOptions
|
|
@@ -108987,7 +108984,7 @@ const sI2 = 100, OH = Q({
|
|
|
108987
108984
|
},
|
|
108988
108985
|
emits: ["create-team-cards"],
|
|
108989
108986
|
setup() {
|
|
108990
|
-
const e = c2(), t = A4(), n = B2(), i = Pe(), o =
|
|
108987
|
+
const e = c2(), t = A4(), n = B2(), i = Pe(), o = G2(), s = _e(), r = b2(), a = u6(), l = u4(), d = ci(), c = EI(), u = c5(), h = si(), { captureSnapshot: m } = oI2(), g = w9(), y = h3();
|
|
108991
108988
|
return {
|
|
108992
108989
|
commonTr: L2,
|
|
108993
108990
|
currentNotificationMessage: L(
|
|
@@ -109211,7 +109208,7 @@ const sI2 = 100, OH = Q({
|
|
|
109211
109208
|
}
|
|
109212
109209
|
},
|
|
109213
109210
|
setup() {
|
|
109214
|
-
const e = u6(), t = b2(), n = c2(), i =
|
|
109211
|
+
const e = u6(), t = b2(), n = c2(), i = G2(), o = Te();
|
|
109215
109212
|
return {
|
|
109216
109213
|
isBusy: L(() => e.isBusy),
|
|
109217
109214
|
pageNo: L(() => e.pageNo),
|
|
@@ -109311,7 +109308,7 @@ const sI2 = 100, OH = Q({
|
|
|
109311
109308
|
"S3 token was expired in TemplatesSettings and has been refreshed"
|
|
109312
109309
|
);
|
|
109313
109310
|
} catch (r) {
|
|
109314
|
-
console.error("Error checking/refreshing S3 token:", r), r instanceof Error &&
|
|
109311
|
+
console.error("Error checking/refreshing S3 token:", r), r instanceof Error && N9.safeSendRaygunError(r);
|
|
109315
109312
|
}
|
|
109316
109313
|
},
|
|
109317
109314
|
async onNextClicked() {
|
|
@@ -109335,7 +109332,7 @@ const sI2 = 100, OH = Q({
|
|
|
109335
109332
|
);
|
|
109336
109333
|
t || (t = this.tabsWithTranslations[0], console.warn(`Tab "${e}" not found, defaulting to first tab.`));
|
|
109337
109334
|
const n = this.prevTemplateTab?.key ?? null, i = t.key;
|
|
109338
|
-
i !==
|
|
109335
|
+
i !== r9.categories && n !== i && (this.templateSettingsStore.clearTemplates(), await this.templateSettingsStore.gotoNextPage(), this.prevTemplateTab = t);
|
|
109339
109336
|
},
|
|
109340
109337
|
async setSearchText() {
|
|
109341
109338
|
await this.templateSettingsStore.onSearch({
|
|
@@ -109702,7 +109699,7 @@ const wI2 = /* @__PURE__ */ v(aI2, [["render", yI2], ["__scopeId", "data-v-246f2
|
|
|
109702
109699
|
async updateViewModel(e = !0) {
|
|
109703
109700
|
if (!this.isAdmin)
|
|
109704
109701
|
return;
|
|
109705
|
-
const t =
|
|
109702
|
+
const t = w9();
|
|
109706
109703
|
let n = this.template.brandPageModel;
|
|
109707
109704
|
this.logoImageBase64Url ? n = S$(
|
|
109708
109705
|
n,
|
|
@@ -109819,7 +109816,7 @@ const TN = /* @__PURE__ */ v(_I2, [["render", VI2], ["__scopeId", "data-v-a17238
|
|
|
109819
109816
|
height: { default: 0 }
|
|
109820
109817
|
},
|
|
109821
109818
|
setup(e) {
|
|
109822
|
-
const t = e, n =
|
|
109819
|
+
const t = e, n = G2(), i = W3(), o = c2(), s = _e(), r = L(() => n.logoTheme), a = L(() => {
|
|
109823
109820
|
const h = t.template.personalisationContentIndex;
|
|
109824
109821
|
return n.personalisationData?.[h]?.userPersonalisation;
|
|
109825
109822
|
}), l = L(() => s.sections[V2.header][K1.desktop].logoImage), d = L(
|
|
@@ -112591,7 +112588,7 @@ const y$2 = /* @__PURE__ */ v(u$2, [["render", m$2]]), w$2 = { class: "tw-flex t
|
|
|
112591
112588
|
class: "tw-flex-1 tw-overflow-y-auto tw-mb-4"
|
|
112592
112589
|
}, [
|
|
112593
112590
|
W1(d.$slots, "messages", {}, () => [
|
|
112594
|
-
(C(!0), f(S1, null, G1(e.messages, (u, h) => (C(), $(
|
|
112591
|
+
(C(!0), f(S1, null, G1(e.messages, (u, h) => (C(), $(u9(u.type === "image" ? U$2 : B$2), J2({ key: h }, { ref_for: !0 }, u.props, {
|
|
112595
112592
|
"is-design-com": e.isDesignCom,
|
|
112596
112593
|
onStopGeneration: c[0] || (c[0] = (m) => d.$emit("stop-generation")),
|
|
112597
112594
|
onUseImage: c[1] || (c[1] = (m) => d.$emit("use-image", m)),
|
|
@@ -113713,7 +113710,7 @@ class gB2 extends G5 {
|
|
|
113713
113710
|
}
|
|
113714
113711
|
}
|
|
113715
113712
|
const eI = (e, t) => {
|
|
113716
|
-
const i =
|
|
113713
|
+
const i = O9()[e];
|
|
113717
113714
|
if (!i)
|
|
113718
113715
|
return null;
|
|
113719
113716
|
const o = t ? {
|
|
@@ -113873,7 +113870,7 @@ class j5 extends G5 {
|
|
|
113873
113870
|
};
|
|
113874
113871
|
}
|
|
113875
113872
|
}
|
|
113876
|
-
const
|
|
113873
|
+
const b9 = {
|
|
113877
113874
|
padding_top: "topPadding",
|
|
113878
113875
|
padding_bottom: "bottomPadding"
|
|
113879
113876
|
}, mB2 = {
|
|
@@ -113884,25 +113881,25 @@ const w9 = {
|
|
|
113884
113881
|
background_image_url: "imageUrl",
|
|
113885
113882
|
background_shape_url: "imageUrl",
|
|
113886
113883
|
display_style: "displayStyle",
|
|
113887
|
-
...
|
|
113884
|
+
...b9
|
|
113888
113885
|
}, yB2 = {
|
|
113889
113886
|
title: "title",
|
|
113890
113887
|
description: "description",
|
|
113891
113888
|
button_text: "buttonText",
|
|
113892
113889
|
button_url: "url",
|
|
113893
|
-
...
|
|
113890
|
+
...b9
|
|
113894
113891
|
}, wB2 = {
|
|
113895
113892
|
title: "title",
|
|
113896
113893
|
paragraph: "paragraph",
|
|
113897
113894
|
about_image_url: "imageUrl",
|
|
113898
113895
|
about_shape_url: "imageUrl",
|
|
113899
113896
|
display_style: "displayStyle",
|
|
113900
|
-
...
|
|
113897
|
+
...b9
|
|
113901
113898
|
}, bB2 = {
|
|
113902
113899
|
title: "title",
|
|
113903
113900
|
display_style: "displayStyle",
|
|
113904
113901
|
// items handled separately
|
|
113905
|
-
...
|
|
113902
|
+
...b9
|
|
113906
113903
|
}, vB2 = {
|
|
113907
113904
|
title: "title",
|
|
113908
113905
|
description: "description",
|
|
@@ -113910,18 +113907,18 @@ const w9 = {
|
|
|
113910
113907
|
aspect_ratio: "aspectRatio",
|
|
113911
113908
|
are_images_full_width: "areImagesFullWidth",
|
|
113912
113909
|
// items handled separately
|
|
113913
|
-
...
|
|
113910
|
+
...b9
|
|
113914
113911
|
}, SB2 = {
|
|
113915
113912
|
title: "title",
|
|
113916
113913
|
description: "description",
|
|
113917
113914
|
display_style: "displayStyle",
|
|
113918
113915
|
size: "size",
|
|
113919
113916
|
// items handled separately
|
|
113920
|
-
...
|
|
113917
|
+
...b9
|
|
113921
113918
|
}, _B2 = {
|
|
113922
113919
|
text: "text",
|
|
113923
113920
|
column_style: "columnStyle",
|
|
113924
|
-
...
|
|
113921
|
+
...b9
|
|
113925
113922
|
}, MB2 = {
|
|
113926
113923
|
name: "name",
|
|
113927
113924
|
title: "title",
|
|
@@ -113936,16 +113933,16 @@ const w9 = {
|
|
|
113936
113933
|
header_image_url: "imageUrl",
|
|
113937
113934
|
display_style: "displayStyle",
|
|
113938
113935
|
layout_style: "layoutStyle",
|
|
113939
|
-
...
|
|
113936
|
+
...b9
|
|
113940
113937
|
}, LB2 = {
|
|
113941
113938
|
button_text: "buttonText",
|
|
113942
113939
|
accepted_fields: "acceptedFields",
|
|
113943
|
-
...
|
|
113940
|
+
...b9
|
|
113944
113941
|
}, TB2 = {
|
|
113945
113942
|
title: "title",
|
|
113946
113943
|
icon_style: "iconDisplayStyle",
|
|
113947
113944
|
// links handled separately
|
|
113948
|
-
...
|
|
113945
|
+
...b9
|
|
113949
113946
|
}, VB2 = {
|
|
113950
113947
|
divider_style: "dividerStyle",
|
|
113951
113948
|
padding: "paddingStyle"
|
|
@@ -113955,7 +113952,7 @@ const w9 = {
|
|
|
113955
113952
|
}, HB2 = {
|
|
113956
113953
|
is_full_width: "isFullWidth",
|
|
113957
113954
|
// images handled separately
|
|
113958
|
-
...
|
|
113955
|
+
...b9
|
|
113959
113956
|
}, tI = {
|
|
113960
113957
|
title: "title",
|
|
113961
113958
|
url: "url",
|
|
@@ -116534,9 +116531,9 @@ function yD2(e) {
|
|
|
116534
116531
|
return { mutationToolCalls: t, actions: n };
|
|
116535
116532
|
}
|
|
116536
116533
|
const wD2 = 6e5, tn = new gD2();
|
|
116537
|
-
let
|
|
116534
|
+
let T9 = null;
|
|
116538
116535
|
function bD2() {
|
|
116539
|
-
const e = r0(), t = si(), n = c2(), i = n8(), o = FC(), s = b2(), r = B2(), a =
|
|
116536
|
+
const e = r0(), t = si(), n = c2(), i = n8(), o = FC(), s = b2(), r = B2(), a = G2(), l = cD2(tn), d = F52(), c = Te(), u = e.messages.length > 0, h = d1(
|
|
116540
116537
|
e.messages.length > 0 ? e.messages : [
|
|
116541
116538
|
{
|
|
116542
116539
|
id: "1",
|
|
@@ -116575,18 +116572,18 @@ function bD2() {
|
|
|
116575
116572
|
timestamp: /* @__PURE__ */ new Date()
|
|
116576
116573
|
});
|
|
116577
116574
|
}, x = async () => {
|
|
116578
|
-
const t1 =
|
|
116579
|
-
if (
|
|
116575
|
+
const t1 = T9?.getConnectionId();
|
|
116576
|
+
if (T9 && t1)
|
|
116580
116577
|
return t1;
|
|
116581
|
-
|
|
116578
|
+
T9 && T9.disconnect();
|
|
116582
116579
|
const G = new g82(), q = await G.connect();
|
|
116583
116580
|
return G.onDisconnect(() => {
|
|
116584
116581
|
const i1 = e.isBuildInProgress;
|
|
116585
|
-
if (
|
|
116582
|
+
if (T9 = null, _(), i1) {
|
|
116586
116583
|
const j = new Error(
|
|
116587
116584
|
"There was a disruption in the connection while building your website. Please try again."
|
|
116588
116585
|
);
|
|
116589
|
-
|
|
116586
|
+
N9.safeSendRaygunError(j, {
|
|
116590
116587
|
tags: [
|
|
116591
116588
|
"feature:ai-website-builder",
|
|
116592
116589
|
"failure:websocket_disconnect",
|
|
@@ -116598,7 +116595,7 @@ function bD2() {
|
|
|
116598
116595
|
}
|
|
116599
116596
|
});
|
|
116600
116597
|
}
|
|
116601
|
-
}),
|
|
116598
|
+
}), T9 = G, q;
|
|
116602
116599
|
}, H = 100, D = (t1, G) => {
|
|
116603
116600
|
try {
|
|
116604
116601
|
const q = new URL(t1), i1 = G.trim().slice(0, H);
|
|
@@ -116695,7 +116692,7 @@ function bD2() {
|
|
|
116695
116692
|
aiMessage: i1
|
|
116696
116693
|
};
|
|
116697
116694
|
}, Y = async (t1, G) => {
|
|
116698
|
-
const q = await x(), i1 =
|
|
116695
|
+
const q = await x(), i1 = T9;
|
|
116699
116696
|
try {
|
|
116700
116697
|
const j = X$2(), { message: a1, websiteContext: U1 } = await N(t1), F1 = r.hasPremiumSubscription ? "premium" : "free";
|
|
116701
116698
|
let H1;
|
|
@@ -116761,7 +116758,7 @@ function bD2() {
|
|
|
116761
116758
|
try {
|
|
116762
116759
|
if (E1.length === 0) {
|
|
116763
116760
|
if (!!!(L1.message || P2)) {
|
|
116764
|
-
|
|
116761
|
+
N9.safeSendRaygunError(
|
|
116765
116762
|
new Error(
|
|
116766
116763
|
"AI build server_response had empty toolCalls and empty message"
|
|
116767
116764
|
),
|
|
@@ -116822,7 +116819,7 @@ function bD2() {
|
|
|
116822
116819
|
}
|
|
116823
116820
|
u2.buildId && (e.buildId = u2.buildId), m2 += 1;
|
|
116824
116821
|
} catch (_1) {
|
|
116825
|
-
tn.log("server_response apply error", { err: _1 }),
|
|
116822
|
+
tn.log("server_response apply error", { err: _1 }), N9.safeSendRaygunError(
|
|
116826
116823
|
_1 instanceof Error ? _1 : new Error("AI apply failed: non-Error thrown"),
|
|
116827
116824
|
{
|
|
116828
116825
|
tags: [
|
|
@@ -116843,7 +116840,7 @@ function bD2() {
|
|
|
116843
116840
|
}, D1 = (L1) => {
|
|
116844
116841
|
if (!He()) return;
|
|
116845
116842
|
const E1 = L1;
|
|
116846
|
-
|
|
116843
|
+
N9.safeSendRaygunError(
|
|
116847
116844
|
new Error(
|
|
116848
116845
|
`AI build ${E1.type}: ${E1.code ?? E1.error ?? "unknown"}`
|
|
116849
116846
|
),
|
|
@@ -116957,7 +116954,7 @@ function bD2() {
|
|
|
116957
116954
|
);
|
|
116958
116955
|
H1 !== -1 && (h.value[H1].text = F1 ? S : CD2(U1), h.value[H1].isTyping = !1, h.value[H1].isError = !0);
|
|
116959
116956
|
const g1 = hD2(U1, { stage: "submit" });
|
|
116960
|
-
g1 &&
|
|
116957
|
+
g1 && N9.safeSendRaygunError(g1.error, {
|
|
116961
116958
|
tags: g1.tags,
|
|
116962
116959
|
customData: g1.customData
|
|
116963
116960
|
});
|
|
@@ -116968,7 +116965,7 @@ function bD2() {
|
|
|
116968
116965
|
const G = h.value.findIndex((q) => q.id === t1);
|
|
116969
116966
|
G !== -1 && h.value.splice(G, 1);
|
|
116970
116967
|
}, r1 = async () => {
|
|
116971
|
-
c.sendAiStopGenerationEvent(Dh.AI_BUILDER_TAB), w.value = !0, e.isBuildInProgress = !1,
|
|
116968
|
+
c.sendAiStopGenerationEvent(Dh.AI_BUILDER_TAB), w.value = !0, e.isBuildInProgress = !1, T9 && (T9.setBuildActive(!1), T9.stopResponseHeartbeat()), y.value && (U(y.value), y.value = null), g.value = !1, e.isProcessing = !1;
|
|
116972
116969
|
};
|
|
116973
116970
|
e.stopGeneration = r1;
|
|
116974
116971
|
const C1 = L(() => {
|
|
@@ -117235,7 +117232,7 @@ function DD2(e, t, n, i, o, s) {
|
|
|
117235
117232
|
"has-quick-links": e.shouldShowQuickLinkBar
|
|
117236
117233
|
}, {
|
|
117237
117234
|
tab: e1(() => [
|
|
117238
|
-
e.selectedTabName !== "Preview" ? (C(), $(
|
|
117235
|
+
e.selectedTabName !== "Preview" ? (C(), $(u9(e.selectedTabName), {
|
|
117239
117236
|
key: 0,
|
|
117240
117237
|
ref: "sidebarTabComponent",
|
|
117241
117238
|
onCapturePreviewSnapshot: e.handleCaptureSnapshot
|
|
@@ -117706,7 +117703,7 @@ export {
|
|
|
117706
117703
|
v7 as M,
|
|
117707
117704
|
cy as N,
|
|
117708
117705
|
s92 as O,
|
|
117709
|
-
|
|
117706
|
+
O9 as P,
|
|
117710
117707
|
as as Q,
|
|
117711
117708
|
H92 as R,
|
|
117712
117709
|
L92 as S,
|
|
@@ -117714,7 +117711,7 @@ export {
|
|
|
117714
117711
|
t9 as U,
|
|
117715
117712
|
N42 as V,
|
|
117716
117713
|
$92 as W,
|
|
117717
|
-
|
|
117714
|
+
q2 as X,
|
|
117718
117715
|
Vd as Y,
|
|
117719
117716
|
_o as Z,
|
|
117720
117717
|
v as _,
|
|
@@ -117741,7 +117738,7 @@ export {
|
|
|
117741
117738
|
mR2 as aI,
|
|
117742
117739
|
B1 as aJ,
|
|
117743
117740
|
eC as aK,
|
|
117744
|
-
|
|
117741
|
+
C9 as aL,
|
|
117745
117742
|
XE as aM,
|
|
117746
117743
|
q7 as aN,
|
|
117747
117744
|
e3 as aO,
|
|
@@ -117764,7 +117761,7 @@ export {
|
|
|
117764
117761
|
n9 as ae,
|
|
117765
117762
|
ut as af,
|
|
117766
117763
|
C3 as ag,
|
|
117767
|
-
|
|
117764
|
+
E9 as ah,
|
|
117768
117765
|
D62 as ai,
|
|
117769
117766
|
x92 as aj,
|
|
117770
117767
|
k92 as ak,
|
|
@@ -117784,7 +117781,7 @@ export {
|
|
|
117784
117781
|
qi as ay,
|
|
117785
117782
|
sP as az,
|
|
117786
117783
|
V92 as b,
|
|
117787
|
-
|
|
117784
|
+
l9 as b$,
|
|
117788
117785
|
VT1 as b0,
|
|
117789
117786
|
TT1 as b1,
|
|
117790
117787
|
PN2 as b2,
|
|
@@ -117876,8 +117873,8 @@ export {
|
|
|
117876
117873
|
lD as co,
|
|
117877
117874
|
Is as cp,
|
|
117878
117875
|
u4 as cq,
|
|
117879
|
-
|
|
117880
|
-
|
|
117876
|
+
G2 as cr,
|
|
117877
|
+
w9 as cs,
|
|
117881
117878
|
DT1 as d,
|
|
117882
117879
|
lP as e,
|
|
117883
117880
|
aP as f,
|