@designcrowd/library.brand-page 6.2.10 → 6.2.11
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-CTEj6D-p.js → CreatedOnBrandCrowd-de-de-DDcraD5S.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-ByFNuMoA.js → CreatedOnBrandCrowd-en-us-DtOeaisf.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-lA_3mWIj.js → CreatedOnBrandCrowd-es-es-BZpmJPew.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CS_YkUz3.js → CreatedOnBrandCrowd-fr-ca-CqRwC4e7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CS_YkUz3.js → CreatedOnBrandCrowd-fr-fr-CqRwC4e7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-BoduQ7zJ.js → CreatedOnBrandCrowd-pt-br-DId9Dfjh.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-BoduQ7zJ.js → CreatedOnBrandCrowd-pt-pt-DId9Dfjh.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Co1OO4_u.js → CreatedOnDcom-de-de-BTDfmOcm.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-DqFyqxOJ.js → CreatedOnDcom-en-us-CeAu9Ayx.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DhQWyb7C.js → CreatedOnDcom-es-es-WCv0K41H.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DIxstLTf.js → CreatedOnDcom-fr-ca-BlfevQDY.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-B-z8V1cH.js → CreatedOnDcom-fr-fr-Cvt7MHPZ.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-B7AMR1sc.js → CreatedOnDcom-pt-br-DipZuylv.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-Cdci4yr3.js → CreatedOnDcom-pt-pt-BCw4lcKN.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -1
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-Y-hakSU_.js → lib-1AqtEmvQ.js} +721 -707
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +1 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +1 -0
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +1 -0
- package/lib/src/shared/page-settings/store/page-settings-store.js +28 -1
- package/package.json +1 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +23 -0
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +3 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.test.ts +26 -0
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +1 -0
- package/src/shared/page-settings/store/page-settings-store.test.ts +142 -1
- package/src/shared/page-settings/store/page-settings-store.ts +41 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as u, createElementBlock as f, mergeProps as He, renderSlot as O1, createElementVNode as p, createStaticVNode as m1, Fragment as b1, useId as UC, normalizeClass as B, toDisplayString as P, createCommentVNode as M, createBlock as $, resolveDynamicComponent as U6, resolveComponent as E, createVNode as T, withCtx as i1, createTextVNode as
|
|
1
|
+
import { openBlock as u, createElementBlock as f, mergeProps as He, renderSlot as O1, createElementVNode as p, createStaticVNode as m1, Fragment as b1, useId as UC, normalizeClass as B, toDisplayString as P, createCommentVNode as M, createBlock as $, resolveDynamicComponent as U6, resolveComponent as E, createVNode as T, withCtx as i1, createTextVNode as Ae, defineComponent as e1, unref as V, withDirectives as t2, vModelText as o0, renderList as q1, withModifiers as _1, normalizeStyle as T1, withKeys as A3, vShow as Z3, resolveDirective as Vs, ref as c1, onMounted as h2, onBeforeUpdate as _j, onUpdated as GP, onBeforeUnmount as n8, computed as L, provide as jP, h as A4, watch as xe, nextTick as R3, onUnmounted as f7, getCurrentInstance as o8, watchEffect as Mj, markRaw as WP, customRef as kj, reactive as R2, toRefs as Lj, shallowRef as KP, Teleport as YP, createSlots as Wt, onServerPrefetch as Tj, isVNode as xj, onBeforeMount as XP, isRef as hd, toRef as Vj, useCssVars as Hj, toRaw as Wg, vModelSelect as s_, useSlots as Ij, useModel as Ej, mergeModels as r_ } from "vue";
|
|
2
2
|
import Pj from "vue-cropperjs";
|
|
3
3
|
import * as i2 from "uuid";
|
|
4
4
|
import { v5 as Wi, v4 as j2, validate as Aj } from "uuid";
|
|
@@ -11641,7 +11641,7 @@ function Zw1(e, t, n, o, i, s) {
|
|
|
11641
11641
|
}, [
|
|
11642
11642
|
n.useCustomSlot ? (u(), f("div", Rw1, [
|
|
11643
11643
|
O1(e.$slots, "default", {}, () => [
|
|
11644
|
-
t[0] || (t[0] =
|
|
11644
|
+
t[0] || (t[0] = Ae("Drop files here to upload", -1))
|
|
11645
11645
|
])
|
|
11646
11646
|
])) : M("", !0)
|
|
11647
11647
|
], 10, Nw1);
|
|
@@ -13240,7 +13240,7 @@ function mb1(e, t, n, o, i, s) {
|
|
|
13240
13240
|
"md:tw-hidden": n.shouldUseCompactLayout
|
|
13241
13241
|
}])
|
|
13242
13242
|
}, [
|
|
13243
|
-
|
|
13243
|
+
Ae(P(o.uploadYourLogoTr("dropYourFileHere")) + " ", 1),
|
|
13244
13244
|
p("span", gb1, P(o.uploadYourLogoTr("clickToUpload")), 1)
|
|
13245
13245
|
], 2),
|
|
13246
13246
|
!n.smallLayout && !n.shouldUseCompactLayout ? (u(), f("p", {
|
|
@@ -17376,7 +17376,7 @@ function GM1(e, t, n, o, i, s) {
|
|
|
17376
17376
|
name: "delete",
|
|
17377
17377
|
size: "sm"
|
|
17378
17378
|
}),
|
|
17379
|
-
|
|
17379
|
+
Ae(P(s.sharedPaymentConfigTr("deletePaymentMethod")), 1)
|
|
17380
17380
|
])
|
|
17381
17381
|
], 8, zM1)
|
|
17382
17382
|
])) : M("", !0)
|
|
@@ -17591,7 +17591,7 @@ function XM1(e, t, n, o, i, s) {
|
|
|
17591
17591
|
"alt-text": n.tooltip || void 0
|
|
17592
17592
|
}, null, 8, ["name", "size", "alt-text"])) : (u(), f("div", YM1, [
|
|
17593
17593
|
O1(e.$slots, "title", {}, () => [
|
|
17594
|
-
|
|
17594
|
+
Ae(P(n.title), 1)
|
|
17595
17595
|
])
|
|
17596
17596
|
])),
|
|
17597
17597
|
n.showChevron ? (u(), $(r, {
|
|
@@ -17742,7 +17742,7 @@ function hk1(e, t, n, o, i, s) {
|
|
|
17742
17742
|
class: B(["tw-text-white", e.getPaymentConfigStatusDisplayClasses(e.selectedPaymentConfig.status)])
|
|
17743
17743
|
}, {
|
|
17744
17744
|
default: i1(() => [
|
|
17745
|
-
|
|
17745
|
+
Ae(P(e.getPaymentConfigStatusDisplayText(e.selectedPaymentConfig.status)), 1)
|
|
17746
17746
|
]),
|
|
17747
17747
|
_: 1
|
|
17748
17748
|
}, 8, ["class"])
|
|
@@ -17762,7 +17762,7 @@ function hk1(e, t, n, o, i, s) {
|
|
|
17762
17762
|
class: B(["tw-text-white", e.getPaymentConfigStatusDisplayClasses(C.status)])
|
|
17763
17763
|
}, {
|
|
17764
17764
|
default: i1(() => [
|
|
17765
|
-
|
|
17765
|
+
Ae(P(e.getPaymentConfigStatusDisplayText(C.status)), 1)
|
|
17766
17766
|
]),
|
|
17767
17767
|
_: 2
|
|
17768
17768
|
}, 1032, ["class"])
|
|
@@ -18016,7 +18016,7 @@ function Mk1(e, t, n, o, i, s) {
|
|
|
18016
18016
|
"tw-sr-only": e.showLabelScreenReaderOnly
|
|
18017
18017
|
}])
|
|
18018
18018
|
}, [
|
|
18019
|
-
|
|
18019
|
+
Ae(P(e.label) + " ", 1),
|
|
18020
18020
|
e.required ? (u(), f("span", vk1, "*")) : M("", !0)
|
|
18021
18021
|
], 10, bk1)) : M("", !0),
|
|
18022
18022
|
p("div", {
|
|
@@ -18717,9 +18717,9 @@ function nL1(e, t, n, o, i, s) {
|
|
|
18717
18717
|
onLoadMoreDomains: s.onLoadMoreDomains,
|
|
18718
18718
|
onOnBuyNowClick: s.onBuyNowClick
|
|
18719
18719
|
}, null, 8, ["currency", "domain-name-items", "has-border-box-list-styling", "is-user-authenticated", "is-design-com", "should-show-load-more-domains-button", "load-more-domains-button-text", "domain-search-location", "onLoadMoreDomains", "onOnBuyNowClick"])) : s.shouldShowDomainNameNotFound ? (u(), f("div", eL1, [
|
|
18720
|
-
|
|
18720
|
+
Ae(P(s.domainSearchEmptyMessageWithUserDomainName) + " ", 1),
|
|
18721
18721
|
t[0] || (t[0] = p("br", null, null, -1)),
|
|
18722
|
-
|
|
18722
|
+
Ae(" " + P(o.searchAnotherDomainMessage), 1)
|
|
18723
18723
|
])) : (u(), f("div", tL1))
|
|
18724
18724
|
], 2);
|
|
18725
18725
|
}
|
|
@@ -18922,7 +18922,7 @@ const UA = /* @__PURE__ */ v(oL1, [["render", iL1], ["__scopeId", "data-v-550689
|
|
|
18922
18922
|
function aL1(e, t, n, o, i, s) {
|
|
18923
18923
|
const r = E("TextInput"), a = E("Button"), l = E("SellDomainNameListModal");
|
|
18924
18924
|
return u(), f("div", null, [
|
|
18925
|
-
|
|
18925
|
+
Ae(P(o.domainSearchOrConnectHeaderSubtitle) + " ", 1),
|
|
18926
18926
|
p("div", rL1, [
|
|
18927
18927
|
T(r, {
|
|
18928
18928
|
modelValue: e.searchText,
|
|
@@ -19825,7 +19825,7 @@ function tT1(e, t, n, o, i, s) {
|
|
|
19825
19825
|
p("p", {
|
|
19826
19826
|
class: B({ "tw-text-grayscale-600": n.isDesignCom })
|
|
19827
19827
|
}, [
|
|
19828
|
-
|
|
19828
|
+
Ae(P(o.alreadyHaveADomainLabel) + " ", 1),
|
|
19829
19829
|
p("a", {
|
|
19830
19830
|
href: "#",
|
|
19831
19831
|
class: "tw-text-primary-500 hover:tw-text-primary-600",
|
|
@@ -20066,7 +20066,7 @@ function hT1(e, t, n, o, i, s) {
|
|
|
20066
20066
|
onClick: (C) => s.onSelectPurchasedDomain(d)
|
|
20067
20067
|
}, {
|
|
20068
20068
|
default: i1(() => [
|
|
20069
|
-
|
|
20069
|
+
Ae(P(d.domainName), 1)
|
|
20070
20070
|
]),
|
|
20071
20071
|
_: 2
|
|
20072
20072
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -21459,7 +21459,7 @@ function TI1(e, t, n, o, i, s) {
|
|
|
21459
21459
|
"tw-sr-only": e.showLabelScreenReaderOnly
|
|
21460
21460
|
}])
|
|
21461
21461
|
}, [
|
|
21462
|
-
|
|
21462
|
+
Ae(P(e.label) + " ", 1),
|
|
21463
21463
|
e.required ? (u(), f("span", MI1, "*")) : M("", !0)
|
|
21464
21464
|
], 10, _I1)) : M("", !0),
|
|
21465
21465
|
p("div", {
|
|
@@ -21592,7 +21592,7 @@ function PI1(e, t, n, o, i, s) {
|
|
|
21592
21592
|
"tw-ml-2 tw-order-last": e.inline
|
|
21593
21593
|
}])
|
|
21594
21594
|
}, [
|
|
21595
|
-
|
|
21595
|
+
Ae(P(e.label) + " ", 1),
|
|
21596
21596
|
e.required ? (u(), f("span", HI1, "*")) : M("", !0)
|
|
21597
21597
|
], 2)) : M("", !0),
|
|
21598
21598
|
p("div", II1, [
|
|
@@ -21665,7 +21665,7 @@ function RI1(e, t, n, o, i, s) {
|
|
|
21665
21665
|
"tw-ml-2 tw-order-last": e.inline
|
|
21666
21666
|
}])
|
|
21667
21667
|
}, [
|
|
21668
|
-
|
|
21668
|
+
Ae(P(e.label) + " ", 1),
|
|
21669
21669
|
e.required ? (u(), f("span", OI1, "*")) : M("", !0)
|
|
21670
21670
|
], 2)) : M("", !0),
|
|
21671
21671
|
p("div", BI1, [
|
|
@@ -26399,7 +26399,7 @@ function qP1(e, t, n, o, i, s) {
|
|
|
26399
26399
|
item: n.items[c],
|
|
26400
26400
|
index: c
|
|
26401
26401
|
}, () => [
|
|
26402
|
-
|
|
26402
|
+
Ae(P(n.items[c]), 1)
|
|
26403
26403
|
], !0)
|
|
26404
26404
|
], 4))), 128)),
|
|
26405
26405
|
t2(p("div", {
|
|
@@ -27387,7 +27387,7 @@ const gw = /* @__PURE__ */ v(wA1, [["render", vA1], ["__scopeId", "data-v-4cd691
|
|
|
27387
27387
|
}), ci = () => {
|
|
27388
27388
|
const t = Ns().language;
|
|
27389
27389
|
return mw.includes(t) ? t : En;
|
|
27390
|
-
}, XA1 = "Titles", JA1 = "Headings", QA1 = "Paragraphs", e$1 = "Button Texts", t$1 = void 0, n$1 = void 0, o$1 = "2.25em", ww = "1.5em", X5 = "1em", i$1 = "normal", p3 = "1.3", U4 = "1.4",
|
|
27390
|
+
}, XA1 = "Titles", JA1 = "Headings", QA1 = "Paragraphs", e$1 = "Button Texts", t$1 = void 0, n$1 = void 0, o$1 = "2.25em", ww = "1.5em", X5 = "1em", i$1 = "normal", p3 = "1.3", U4 = "1.4", $e = "1.5", p$ = 12, bw = 12, JC = 128, vw = 0, Sw = 100, _w = 1, Mw = 2.5, f3 = 200, L5 = 1e3, hm = 2e3, kw = () => r2("maxCharacters"), s$1 = () => r2("invalidUrlMessage"), r$1 = () => r2("testimonialEmpty"), a$1 = () => r2("textEmpty"), l$1 = "https://fonts.googleapis.com/css2", c$1 = "&display=swap", IM = 75, d$1 = "#000000", Td = {
|
|
27391
27391
|
url: "url",
|
|
27392
27392
|
google: "google"
|
|
27393
27393
|
};
|
|
@@ -29476,7 +29476,7 @@ const f1 = {
|
|
|
29476
29476
|
title: Se("justified")
|
|
29477
29477
|
}
|
|
29478
29478
|
}
|
|
29479
|
-
],
|
|
29479
|
+
], R1 = {
|
|
29480
29480
|
desktop: "desktop",
|
|
29481
29481
|
mobile: "mobile"
|
|
29482
29482
|
}, R5 = {
|
|
@@ -29536,23 +29536,23 @@ function V$1() {
|
|
|
29536
29536
|
return G.add(k1), G;
|
|
29537
29537
|
}
|
|
29538
29538
|
function he(G, k1) {
|
|
29539
|
-
for (var
|
|
29539
|
+
for (var U1 = -1, Le = G ? G.length : 0; ++U1 < Le && k1(G[U1], U1, G) !== !1; )
|
|
29540
29540
|
;
|
|
29541
29541
|
return G;
|
|
29542
29542
|
}
|
|
29543
|
-
function
|
|
29544
|
-
for (var
|
|
29545
|
-
G[Q3 +
|
|
29543
|
+
function we(G, k1) {
|
|
29544
|
+
for (var U1 = -1, Le = k1.length, Q3 = G.length; ++U1 < Le; )
|
|
29545
|
+
G[Q3 + U1] = k1[U1];
|
|
29546
29546
|
return G;
|
|
29547
29547
|
}
|
|
29548
|
-
function We(G, k1,
|
|
29548
|
+
function We(G, k1, U1, Le) {
|
|
29549
29549
|
for (var Q3 = -1, W4 = G ? G.length : 0; ++Q3 < W4; )
|
|
29550
|
-
|
|
29551
|
-
return
|
|
29550
|
+
U1 = k1(U1, G[Q3], Q3, G);
|
|
29551
|
+
return U1;
|
|
29552
29552
|
}
|
|
29553
29553
|
function Ye(G, k1) {
|
|
29554
|
-
for (var
|
|
29555
|
-
Le[
|
|
29554
|
+
for (var U1 = -1, Le = Array(G); ++U1 < G; )
|
|
29555
|
+
Le[U1] = k1(U1);
|
|
29556
29556
|
return Le;
|
|
29557
29557
|
}
|
|
29558
29558
|
function Ee(G, k1) {
|
|
@@ -29568,31 +29568,31 @@ function V$1() {
|
|
|
29568
29568
|
return k1;
|
|
29569
29569
|
}
|
|
29570
29570
|
function o2(G) {
|
|
29571
|
-
var k1 = -1,
|
|
29571
|
+
var k1 = -1, U1 = Array(G.size);
|
|
29572
29572
|
return G.forEach(function(Le, Q3) {
|
|
29573
|
-
|
|
29574
|
-
}),
|
|
29573
|
+
U1[++k1] = [Q3, Le];
|
|
29574
|
+
}), U1;
|
|
29575
29575
|
}
|
|
29576
29576
|
function k2(G, k1) {
|
|
29577
|
-
return function(
|
|
29578
|
-
return G(k1(
|
|
29577
|
+
return function(U1) {
|
|
29578
|
+
return G(k1(U1));
|
|
29579
29579
|
};
|
|
29580
29580
|
}
|
|
29581
29581
|
function X(G) {
|
|
29582
|
-
var k1 = -1,
|
|
29582
|
+
var k1 = -1, U1 = Array(G.size);
|
|
29583
29583
|
return G.forEach(function(Le) {
|
|
29584
|
-
|
|
29585
|
-
}),
|
|
29584
|
+
U1[++k1] = Le;
|
|
29585
|
+
}), U1;
|
|
29586
29586
|
}
|
|
29587
|
-
var t1 = Array.prototype, v1 = Function.prototype, D1 = Object.prototype,
|
|
29588
|
-
var G = /[^.]+$/.exec(
|
|
29587
|
+
var t1 = Array.prototype, v1 = Function.prototype, D1 = Object.prototype, F1 = L1["__core-js_shared__"], y1 = (function() {
|
|
29588
|
+
var G = /[^.]+$/.exec(F1 && F1.keys && F1.keys.IE_PROTO || "");
|
|
29589
29589
|
return G ? "Symbol(src)_1." + G : "";
|
|
29590
29590
|
})(), M1 = v1.toString, P1 = D1.hasOwnProperty, j1 = D1.toString, ae = RegExp(
|
|
29591
29591
|
"^" + M1.call(P1).replace(n1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
29592
|
-
),
|
|
29592
|
+
), Be = G1 ? L1.Buffer : void 0, s2 = L1.Symbol, J1 = L1.Uint8Array, s1 = k2(Object.getPrototypeOf, Object), E1 = Object.create, Z1 = D1.propertyIsEnumerable, Ke = t1.splice, h3 = Object.getOwnPropertySymbols, c3 = Be ? Be.isBuffer : void 0, L4 = k2(Object.keys, Object), M3 = b8(L1, "DataView"), g3 = b8(L1, "Map"), $5 = b8(L1, "Promise"), B3 = b8(L1, "Set"), q3 = b8(L1, "WeakMap"), G4 = b8(Object, "create"), n6 = I9(M3), Ct = I9(g3), M7 = I9($5), d3 = I9(B3), y6 = I9(q3), p8 = s2 ? s2.prototype : void 0, ut = p8 ? p8.valueOf : void 0;
|
|
29593
29593
|
function u5(G) {
|
|
29594
|
-
var k1 = -1,
|
|
29595
|
-
for (this.clear(); ++k1 <
|
|
29594
|
+
var k1 = -1, U1 = G ? G.length : 0;
|
|
29595
|
+
for (this.clear(); ++k1 < U1; ) {
|
|
29596
29596
|
var Le = G[k1];
|
|
29597
29597
|
this.set(Le[0], Le[1]);
|
|
29598
29598
|
}
|
|
@@ -29606,8 +29606,8 @@ function V$1() {
|
|
|
29606
29606
|
function h8(G) {
|
|
29607
29607
|
var k1 = this.__data__;
|
|
29608
29608
|
if (G4) {
|
|
29609
|
-
var
|
|
29610
|
-
return
|
|
29609
|
+
var U1 = k1[G];
|
|
29610
|
+
return U1 === o ? void 0 : U1;
|
|
29611
29611
|
}
|
|
29612
29612
|
return P1.call(k1, G) ? k1[G] : void 0;
|
|
29613
29613
|
}
|
|
@@ -29616,13 +29616,13 @@ function V$1() {
|
|
|
29616
29616
|
return G4 ? k1[G] !== void 0 : P1.call(k1, G);
|
|
29617
29617
|
}
|
|
29618
29618
|
function o6(G, k1) {
|
|
29619
|
-
var
|
|
29620
|
-
return
|
|
29619
|
+
var U1 = this.__data__;
|
|
29620
|
+
return U1[G] = G4 && k1 === void 0 ? o : k1, this;
|
|
29621
29621
|
}
|
|
29622
29622
|
u5.prototype.clear = f8, u5.prototype.delete = pt, u5.prototype.get = h8, u5.prototype.has = T4, u5.prototype.set = o6;
|
|
29623
29623
|
function j4(G) {
|
|
29624
|
-
var k1 = -1,
|
|
29625
|
-
for (this.clear(); ++k1 <
|
|
29624
|
+
var k1 = -1, U1 = G ? G.length : 0;
|
|
29625
|
+
for (this.clear(); ++k1 < U1; ) {
|
|
29626
29626
|
var Le = G[k1];
|
|
29627
29627
|
this.set(Le[0], Le[1]);
|
|
29628
29628
|
}
|
|
@@ -29631,27 +29631,27 @@ function V$1() {
|
|
|
29631
29631
|
this.__data__ = [];
|
|
29632
29632
|
}
|
|
29633
29633
|
function ft(G) {
|
|
29634
|
-
var k1 = this.__data__,
|
|
29635
|
-
if (
|
|
29634
|
+
var k1 = this.__data__, U1 = w6(k1, G);
|
|
29635
|
+
if (U1 < 0)
|
|
29636
29636
|
return !1;
|
|
29637
29637
|
var Le = k1.length - 1;
|
|
29638
|
-
return
|
|
29638
|
+
return U1 == Le ? k1.pop() : Ke.call(k1, U1, 1), !0;
|
|
29639
29639
|
}
|
|
29640
29640
|
function ht(G) {
|
|
29641
|
-
var k1 = this.__data__,
|
|
29642
|
-
return
|
|
29641
|
+
var k1 = this.__data__, U1 = w6(k1, G);
|
|
29642
|
+
return U1 < 0 ? void 0 : k1[U1][1];
|
|
29643
29643
|
}
|
|
29644
29644
|
function p5(G) {
|
|
29645
29645
|
return w6(this.__data__, G) > -1;
|
|
29646
29646
|
}
|
|
29647
29647
|
function g8(G, k1) {
|
|
29648
|
-
var
|
|
29649
|
-
return Le < 0 ?
|
|
29648
|
+
var U1 = this.__data__, Le = w6(U1, G);
|
|
29649
|
+
return Le < 0 ? U1.push([G, k1]) : U1[Le][1] = k1, this;
|
|
29650
29650
|
}
|
|
29651
29651
|
j4.prototype.clear = K6, j4.prototype.delete = ft, j4.prototype.get = ht, j4.prototype.has = p5, j4.prototype.set = g8;
|
|
29652
29652
|
function i6(G) {
|
|
29653
|
-
var k1 = -1,
|
|
29654
|
-
for (this.clear(); ++k1 <
|
|
29653
|
+
var k1 = -1, U1 = G ? G.length : 0;
|
|
29654
|
+
for (this.clear(); ++k1 < U1; ) {
|
|
29655
29655
|
var Le = G[k1];
|
|
29656
29656
|
this.set(Le[0], Le[1]);
|
|
29657
29657
|
}
|
|
@@ -29692,36 +29692,36 @@ function V$1() {
|
|
|
29692
29692
|
return this.__data__.has(G);
|
|
29693
29693
|
}
|
|
29694
29694
|
function X2(G, k1) {
|
|
29695
|
-
var
|
|
29696
|
-
if (
|
|
29697
|
-
var Le =
|
|
29695
|
+
var U1 = this.__data__;
|
|
29696
|
+
if (U1 instanceof j4) {
|
|
29697
|
+
var Le = U1.__data__;
|
|
29698
29698
|
if (!g3 || Le.length < n - 1)
|
|
29699
29699
|
return Le.push([G, k1]), this;
|
|
29700
|
-
|
|
29700
|
+
U1 = this.__data__ = new i6(Le);
|
|
29701
29701
|
}
|
|
29702
|
-
return
|
|
29702
|
+
return U1.set(G, k1), this;
|
|
29703
29703
|
}
|
|
29704
29704
|
K1.prototype.clear = pe, K1.prototype.delete = A1, K1.prototype.get = k3, K1.prototype.has = n3, K1.prototype.set = X2;
|
|
29705
29705
|
function L3(G, k1) {
|
|
29706
|
-
var
|
|
29706
|
+
var U1 = E9(G) || D0(G) ? Ye(G.length, String) : [], Le = U1.length, Q3 = !!Le;
|
|
29707
29707
|
for (var W4 in G)
|
|
29708
|
-
P1.call(G, W4) && !(Q3 && (W4 == "length" || fp(W4, Le))) &&
|
|
29709
|
-
return
|
|
29708
|
+
P1.call(G, W4) && !(Q3 && (W4 == "length" || fp(W4, Le))) && U1.push(W4);
|
|
29709
|
+
return U1;
|
|
29710
29710
|
}
|
|
29711
|
-
function s6(G, k1,
|
|
29711
|
+
function s6(G, k1, U1) {
|
|
29712
29712
|
var Le = G[k1];
|
|
29713
|
-
(!(P1.call(G, k1) && Hr(Le,
|
|
29713
|
+
(!(P1.call(G, k1) && Hr(Le, U1)) || U1 === void 0 && !(k1 in G)) && (G[k1] = U1);
|
|
29714
29714
|
}
|
|
29715
29715
|
function w6(G, k1) {
|
|
29716
|
-
for (var
|
|
29717
|
-
if (Hr(G[
|
|
29718
|
-
return
|
|
29716
|
+
for (var U1 = G.length; U1--; )
|
|
29717
|
+
if (Hr(G[U1][0], k1))
|
|
29718
|
+
return U1;
|
|
29719
29719
|
return -1;
|
|
29720
29720
|
}
|
|
29721
29721
|
function m3(G, k1) {
|
|
29722
29722
|
return G && Do(k1, P9(k1), G);
|
|
29723
29723
|
}
|
|
29724
|
-
function z2(G, k1,
|
|
29724
|
+
function z2(G, k1, U1, Le, Q3, W4, X6) {
|
|
29725
29725
|
var x4;
|
|
29726
29726
|
if (Le && (x4 = W4 ? Le(G, Q3, W4, X6) : Le(G)), x4 !== void 0)
|
|
29727
29727
|
return x4;
|
|
@@ -29751,17 +29751,17 @@ function V$1() {
|
|
|
29751
29751
|
if ($r)
|
|
29752
29752
|
return $r;
|
|
29753
29753
|
if (X6.set(G, x4), !Ro)
|
|
29754
|
-
var Or =
|
|
29754
|
+
var Or = U1 ? dp(G) : P9(G);
|
|
29755
29755
|
return he(Or || G, function(Zo, Z0) {
|
|
29756
|
-
Or && (Z0 = Zo, Zo = G[Z0]), s6(x4, Z0, z2(Zo, k1,
|
|
29756
|
+
Or && (Z0 = Zo, Zo = G[Z0]), s6(x4, Z0, z2(Zo, k1, U1, Le, Z0, G, X6));
|
|
29757
29757
|
}), x4;
|
|
29758
29758
|
}
|
|
29759
29759
|
function Y6(G) {
|
|
29760
29760
|
return R0(G) ? E1(G) : {};
|
|
29761
29761
|
}
|
|
29762
|
-
function f5(G, k1,
|
|
29762
|
+
function f5(G, k1, U1) {
|
|
29763
29763
|
var Le = k1(G);
|
|
29764
|
-
return E9(G) ? Le :
|
|
29764
|
+
return E9(G) ? Le : we(Le, U1(G));
|
|
29765
29765
|
}
|
|
29766
29766
|
function w8(G) {
|
|
29767
29767
|
return j1.call(G);
|
|
@@ -29776,56 +29776,56 @@ function V$1() {
|
|
|
29776
29776
|
if (!xr(G))
|
|
29777
29777
|
return L4(G);
|
|
29778
29778
|
var k1 = [];
|
|
29779
|
-
for (var
|
|
29780
|
-
P1.call(G,
|
|
29779
|
+
for (var U1 in Object(G))
|
|
29780
|
+
P1.call(G, U1) && U1 != "constructor" && k1.push(U1);
|
|
29781
29781
|
return k1;
|
|
29782
29782
|
}
|
|
29783
29783
|
function ip(G, k1) {
|
|
29784
29784
|
if (k1)
|
|
29785
29785
|
return G.slice();
|
|
29786
|
-
var
|
|
29787
|
-
return G.copy(
|
|
29786
|
+
var U1 = new G.constructor(G.length);
|
|
29787
|
+
return G.copy(U1), U1;
|
|
29788
29788
|
}
|
|
29789
29789
|
function Bo(G) {
|
|
29790
29790
|
var k1 = new G.constructor(G.byteLength);
|
|
29791
29791
|
return new J1(k1).set(new J1(G)), k1;
|
|
29792
29792
|
}
|
|
29793
29793
|
function Mr(G, k1) {
|
|
29794
|
-
var
|
|
29795
|
-
return new G.constructor(
|
|
29794
|
+
var U1 = k1 ? Bo(G.buffer) : G.buffer;
|
|
29795
|
+
return new G.constructor(U1, G.byteOffset, G.byteLength);
|
|
29796
29796
|
}
|
|
29797
|
-
function kr(G, k1,
|
|
29798
|
-
var Le = k1 ?
|
|
29797
|
+
function kr(G, k1, U1) {
|
|
29798
|
+
var Le = k1 ? U1(o2(G), !0) : o2(G);
|
|
29799
29799
|
return We(Le, N1, new G.constructor());
|
|
29800
29800
|
}
|
|
29801
29801
|
function sp(G) {
|
|
29802
29802
|
var k1 = new G.constructor(G.source, g1.exec(G));
|
|
29803
29803
|
return k1.lastIndex = G.lastIndex, k1;
|
|
29804
29804
|
}
|
|
29805
|
-
function rp(G, k1,
|
|
29806
|
-
var Le = k1 ?
|
|
29805
|
+
function rp(G, k1, U1) {
|
|
29806
|
+
var Le = k1 ? U1(X(G), !0) : X(G);
|
|
29807
29807
|
return We(Le, se, new G.constructor());
|
|
29808
29808
|
}
|
|
29809
29809
|
function ap(G) {
|
|
29810
29810
|
return ut ? Object(ut.call(G)) : {};
|
|
29811
29811
|
}
|
|
29812
29812
|
function lp(G, k1) {
|
|
29813
|
-
var
|
|
29814
|
-
return new G.constructor(
|
|
29813
|
+
var U1 = k1 ? Bo(G.buffer) : G.buffer;
|
|
29814
|
+
return new G.constructor(U1, G.byteOffset, G.length);
|
|
29815
29815
|
}
|
|
29816
29816
|
function Lr(G, k1) {
|
|
29817
|
-
var
|
|
29818
|
-
for (k1 || (k1 = Array(Le)); ++
|
|
29819
|
-
k1[
|
|
29817
|
+
var U1 = -1, Le = G.length;
|
|
29818
|
+
for (k1 || (k1 = Array(Le)); ++U1 < Le; )
|
|
29819
|
+
k1[U1] = G[U1];
|
|
29820
29820
|
return k1;
|
|
29821
29821
|
}
|
|
29822
|
-
function Do(G, k1,
|
|
29823
|
-
|
|
29822
|
+
function Do(G, k1, U1, Le) {
|
|
29823
|
+
U1 || (U1 = {});
|
|
29824
29824
|
for (var Q3 = -1, W4 = k1.length; ++Q3 < W4; ) {
|
|
29825
29825
|
var X6 = k1[Q3], x4 = void 0;
|
|
29826
|
-
s6(
|
|
29826
|
+
s6(U1, X6, x4 === void 0 ? G[X6] : x4);
|
|
29827
29827
|
}
|
|
29828
|
-
return
|
|
29828
|
+
return U1;
|
|
29829
29829
|
}
|
|
29830
29830
|
function cp(G, k1) {
|
|
29831
29831
|
return Do(G, Tr(G), k1);
|
|
@@ -29834,16 +29834,16 @@ function V$1() {
|
|
|
29834
29834
|
return f5(G, P9, Tr);
|
|
29835
29835
|
}
|
|
29836
29836
|
function B0(G, k1) {
|
|
29837
|
-
var
|
|
29838
|
-
return hp(k1) ?
|
|
29837
|
+
var U1 = G.__data__;
|
|
29838
|
+
return hp(k1) ? U1[typeof k1 == "string" ? "string" : "hash"] : U1.map;
|
|
29839
29839
|
}
|
|
29840
29840
|
function b8(G, k1) {
|
|
29841
|
-
var
|
|
29842
|
-
return mt(
|
|
29841
|
+
var U1 = Ee(G, k1);
|
|
29842
|
+
return mt(U1) ? U1 : void 0;
|
|
29843
29843
|
}
|
|
29844
29844
|
var Tr = h3 ? k2(h3, Object) : yp, yt = w8;
|
|
29845
29845
|
(M3 && yt(new M3(new ArrayBuffer(1))) != I || g3 && yt(new g3()) != h || $5 && yt($5.resolve()) != y || B3 && yt(new B3()) != b || q3 && yt(new q3()) != k) && (yt = function(G) {
|
|
29846
|
-
var k1 = j1.call(G),
|
|
29846
|
+
var k1 = j1.call(G), U1 = k1 == m ? G.constructor : void 0, Le = U1 ? I9(U1) : void 0;
|
|
29847
29847
|
if (Le)
|
|
29848
29848
|
switch (Le) {
|
|
29849
29849
|
case n6:
|
|
@@ -29860,13 +29860,13 @@ function V$1() {
|
|
|
29860
29860
|
return k1;
|
|
29861
29861
|
});
|
|
29862
29862
|
function Cp(G) {
|
|
29863
|
-
var k1 = G.length,
|
|
29864
|
-
return k1 && typeof G[0] == "string" && P1.call(G, "index") && (
|
|
29863
|
+
var k1 = G.length, U1 = G.constructor(k1);
|
|
29864
|
+
return k1 && typeof G[0] == "string" && P1.call(G, "index") && (U1.index = G.index, U1.input = G.input), U1;
|
|
29865
29865
|
}
|
|
29866
29866
|
function up(G) {
|
|
29867
29867
|
return typeof G.constructor == "function" && !xr(G) ? Y6(s1(G)) : {};
|
|
29868
29868
|
}
|
|
29869
|
-
function pp(G, k1,
|
|
29869
|
+
function pp(G, k1, U1, Le) {
|
|
29870
29870
|
var Q3 = G.constructor;
|
|
29871
29871
|
switch (k1) {
|
|
29872
29872
|
case x:
|
|
@@ -29887,14 +29887,14 @@ function V$1() {
|
|
|
29887
29887
|
case j:
|
|
29888
29888
|
return lp(G, Le);
|
|
29889
29889
|
case h:
|
|
29890
|
-
return kr(G, Le,
|
|
29890
|
+
return kr(G, Le, U1);
|
|
29891
29891
|
case g:
|
|
29892
29892
|
case _:
|
|
29893
29893
|
return new Q3(G);
|
|
29894
29894
|
case w:
|
|
29895
29895
|
return sp(G);
|
|
29896
29896
|
case b:
|
|
29897
|
-
return rp(G, Le,
|
|
29897
|
+
return rp(G, Le, U1);
|
|
29898
29898
|
case S:
|
|
29899
29899
|
return ap(G);
|
|
29900
29900
|
}
|
|
@@ -29910,8 +29910,8 @@ function V$1() {
|
|
|
29910
29910
|
return !!y1 && y1 in G;
|
|
29911
29911
|
}
|
|
29912
29912
|
function xr(G) {
|
|
29913
|
-
var k1 = G && G.constructor,
|
|
29914
|
-
return G ===
|
|
29913
|
+
var k1 = G && G.constructor, U1 = typeof k1 == "function" && k1.prototype || D1;
|
|
29914
|
+
return G === U1;
|
|
29915
29915
|
}
|
|
29916
29916
|
function I9(G) {
|
|
29917
29917
|
if (G != null) {
|
|
@@ -29933,7 +29933,7 @@ function V$1() {
|
|
|
29933
29933
|
return G === k1 || G !== G && k1 !== k1;
|
|
29934
29934
|
}
|
|
29935
29935
|
function D0(G) {
|
|
29936
|
-
return Er(G) && P1.call(G, "callee") && (!
|
|
29936
|
+
return Er(G) && P1.call(G, "callee") && (!Z1.call(G, "callee") || j1.call(G) == s);
|
|
29937
29937
|
}
|
|
29938
29938
|
var E9 = Array.isArray;
|
|
29939
29939
|
function Ir(G) {
|
|
@@ -30077,12 +30077,12 @@ class b$ {
|
|
|
30077
30077
|
}
|
|
30078
30078
|
class v9 extends b$ {
|
|
30079
30079
|
constructor(t = {}, n) {
|
|
30080
|
-
t = $2(t), t.viewport =
|
|
30080
|
+
t = $2(t), t.viewport = R1.desktop, typeof t.displayType > "u" && (t.displayType = V1.TAB_1), super(t, n);
|
|
30081
30081
|
}
|
|
30082
30082
|
}
|
|
30083
30083
|
class i7 extends b$ {
|
|
30084
30084
|
constructor(t = {}, n) {
|
|
30085
|
-
t = $2(t), t.viewport =
|
|
30085
|
+
t = $2(t), t.viewport = R1.mobile, typeof t.displayType > "u" && (t.displayType = V1.HAMBURGER_1), super(t, n);
|
|
30086
30086
|
}
|
|
30087
30087
|
}
|
|
30088
30088
|
const de = {
|
|
@@ -30134,14 +30134,14 @@ const v$ = () => new Z8(de.titles, XA1, {
|
|
|
30134
30134
|
style: {
|
|
30135
30135
|
...Rs,
|
|
30136
30136
|
fontSize: X5,
|
|
30137
|
-
lineHeight:
|
|
30137
|
+
lineHeight: $e,
|
|
30138
30138
|
fontFamily: Ve[Ze].name
|
|
30139
30139
|
}
|
|
30140
30140
|
}), M$ = () => new Z8(de.buttons, e$1, {
|
|
30141
30141
|
style: {
|
|
30142
30142
|
...Rs,
|
|
30143
30143
|
fontSize: X5,
|
|
30144
|
-
lineHeight:
|
|
30144
|
+
lineHeight: $e,
|
|
30145
30145
|
fontFamily: Ve[Ze].name
|
|
30146
30146
|
}
|
|
30147
30147
|
}), E$1 = () => ({
|
|
@@ -30377,7 +30377,7 @@ const s7 = {
|
|
|
30377
30377
|
customField1: "customField1",
|
|
30378
30378
|
customField2: "customField2",
|
|
30379
30379
|
customField3: "customField3"
|
|
30380
|
-
},
|
|
30380
|
+
}, Pe = {
|
|
30381
30381
|
url: "url",
|
|
30382
30382
|
page: "page",
|
|
30383
30383
|
mailTo: "mailTo",
|
|
@@ -30455,14 +30455,14 @@ class L$ {
|
|
|
30455
30455
|
}
|
|
30456
30456
|
class c0 extends L$ {
|
|
30457
30457
|
constructor(t = {}) {
|
|
30458
|
-
t = $2(t), t.viewport =
|
|
30458
|
+
t = $2(t), t.viewport = R1.desktop, typeof t.displayStyle > "u" && (t.displayStyle = oe.DESKTOP_TAB_5, t.navigation = new v9({
|
|
30459
30459
|
displayType: V1.TAB_1
|
|
30460
30460
|
})), typeof t.navigation > "u" && (t.navigation = new v9()), super(t);
|
|
30461
30461
|
}
|
|
30462
30462
|
}
|
|
30463
30463
|
class mo extends L$ {
|
|
30464
30464
|
constructor(t = {}) {
|
|
30465
|
-
t = $2(t), t.viewport =
|
|
30465
|
+
t = $2(t), t.viewport = R1.mobile, typeof t.displayStyle > "u" && (t.displayStyle = oe.MOBILE_TAB_1, t.navigation = new v9({
|
|
30466
30466
|
displayType: V1.TAB_1
|
|
30467
30467
|
})), typeof t.navigation > "u" && (t.navigation = new i7()), super(t);
|
|
30468
30468
|
}
|
|
@@ -30550,12 +30550,12 @@ class x$ extends B$1 {
|
|
|
30550
30550
|
}
|
|
30551
30551
|
class Jn extends T$ {
|
|
30552
30552
|
constructor(t = {}, n) {
|
|
30553
|
-
t = $2(t), t.viewport =
|
|
30553
|
+
t = $2(t), t.viewport = R1.desktop, super(t, n);
|
|
30554
30554
|
}
|
|
30555
30555
|
}
|
|
30556
30556
|
class Fs extends T$ {
|
|
30557
30557
|
constructor(t = {}, n) {
|
|
30558
|
-
t = $2(t), t.viewport =
|
|
30558
|
+
t = $2(t), t.viewport = R1.mobile, t.displayStyle = y5.CENTERED, super(t, n);
|
|
30559
30559
|
}
|
|
30560
30560
|
}
|
|
30561
30561
|
class N7 {
|
|
@@ -31134,8 +31134,8 @@ function D$1() {
|
|
|
31134
31134
|
return Q = N1, K = setTimeout(x1, I), j ? Y(N1) : z;
|
|
31135
31135
|
}
|
|
31136
31136
|
function q(N1) {
|
|
31137
|
-
var se = N1 - U, he = N1 - Q,
|
|
31138
|
-
return n1 ? m(
|
|
31137
|
+
var se = N1 - U, he = N1 - Q, we = I - se;
|
|
31138
|
+
return n1 ? m(we, D - he) : we;
|
|
31139
31139
|
}
|
|
31140
31140
|
function r1(N1) {
|
|
31141
31141
|
var se = N1 - U, he = N1 - Q;
|
|
@@ -33167,9 +33167,9 @@ function mB1() {
|
|
|
33167
33167
|
F /= 255, W /= 255, a1 /= 255;
|
|
33168
33168
|
var C1 = Math.min(F, W, a1), o1 = Math.max(F, W, a1), w1 = (o1 + C1) / 2, S1, B1;
|
|
33169
33169
|
return o1 === C1 ? (S1 = 0, B1 = Number.NaN) : S1 = w1 < 0.5 ? (o1 - C1) / (o1 + C1) : (o1 - C1) / (2 - o1 - C1), F == o1 ? B1 = (W - a1) / (o1 - C1) : W == o1 ? B1 = 2 + (a1 - F) / (o1 - C1) : a1 == o1 && (B1 = 4 + (F - W) / (o1 - C1)), B1 *= 60, B1 < 0 && (B1 += 360), H.length > 3 && H[3] !== void 0 ? [B1, S1, w1, H[3]] : [B1, S1, w1];
|
|
33170
|
-
}, he = se,
|
|
33170
|
+
}, he = se, we = y.unpack, We = y.last, Ye = G1, Ee = he, Qe = Math.round, o2 = function() {
|
|
33171
33171
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
33172
|
-
var F =
|
|
33172
|
+
var F = we(H, "rgba"), W = We(H) || "rgb";
|
|
33173
33173
|
return W.substr(0, 3) == "hsl" ? Ye(Ee(F), W) : (F[0] = Qe(F[0]), F[1] = Qe(F[1]), F[2] = Qe(F[2]), (W === "rgba" || F.length > 3 && F[3] < 1) && (F[3] = F.length > 3 ? F[3] : 1, W = "rgba"), W + "(" + F.slice(0, W === "rgb" ? 3 : 4).join(",") + ")");
|
|
33174
33174
|
}, k2 = o2, X = y.unpack, t1 = Math.round, v1 = function() {
|
|
33175
33175
|
for (var H, A = [], F = arguments.length; F--; ) A[F] = arguments[F];
|
|
@@ -33185,7 +33185,7 @@ function mB1() {
|
|
|
33185
33185
|
H = [t1(Y1[0] * 255), t1(Y1[1] * 255), t1(Y1[2] * 255)], o1 = H[0], w1 = H[1], S1 = H[2];
|
|
33186
33186
|
}
|
|
33187
33187
|
return A.length > 3 ? [o1, w1, S1, A[3]] : [o1, w1, S1, 1];
|
|
33188
|
-
}, D1 = v1,
|
|
33188
|
+
}, D1 = v1, F1 = D1, y1 = w, M1 = /^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/, P1 = /^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/, j1 = /^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, ae = /^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, Be = /^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, s2 = /^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, J1 = Math.round, s1 = function(H) {
|
|
33189
33189
|
H = H.toLowerCase().trim();
|
|
33190
33190
|
var A;
|
|
33191
33191
|
if (y1.format.named)
|
|
@@ -33213,26 +33213,26 @@ function mB1() {
|
|
|
33213
33213
|
S1[B1] = J1(S1[B1] * 2.55);
|
|
33214
33214
|
return S1[3] = +S1[3], S1;
|
|
33215
33215
|
}
|
|
33216
|
-
if (A = H.match(
|
|
33216
|
+
if (A = H.match(Be)) {
|
|
33217
33217
|
var Y1 = A.slice(1, 4);
|
|
33218
33218
|
Y1[1] *= 0.01, Y1[2] *= 0.01;
|
|
33219
|
-
var ge =
|
|
33219
|
+
var ge = F1(Y1);
|
|
33220
33220
|
return ge[3] = 1, ge;
|
|
33221
33221
|
}
|
|
33222
33222
|
if (A = H.match(s2)) {
|
|
33223
33223
|
var te = A.slice(1, 4);
|
|
33224
33224
|
te[1] *= 0.01, te[2] *= 0.01;
|
|
33225
|
-
var Me =
|
|
33225
|
+
var Me = F1(te);
|
|
33226
33226
|
return Me[3] = +A[4], Me;
|
|
33227
33227
|
}
|
|
33228
33228
|
};
|
|
33229
33229
|
s1.test = function(H) {
|
|
33230
|
-
return M1.test(H) || P1.test(H) || j1.test(H) || ae.test(H) ||
|
|
33230
|
+
return M1.test(H) || P1.test(H) || j1.test(H) || ae.test(H) || Be.test(H) || s2.test(H);
|
|
33231
33231
|
};
|
|
33232
|
-
var E1 = s1,
|
|
33232
|
+
var E1 = s1, Z1 = R, Ke = I, h3 = w, c3 = y.type, L4 = k2, M3 = E1;
|
|
33233
33233
|
Ke.prototype.css = function(H) {
|
|
33234
33234
|
return L4(this._rgb, H);
|
|
33235
|
-
},
|
|
33235
|
+
}, Z1.css = function() {
|
|
33236
33236
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
33237
33237
|
return new (Function.prototype.bind.apply(Ke, [null].concat(H, ["css"])))();
|
|
33238
33238
|
}, h3.format.css = M3, h3.autodetect.push({
|
|
@@ -33467,10 +33467,10 @@ function mB1() {
|
|
|
33467
33467
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
33468
33468
|
H = yp(H, "lab");
|
|
33469
33469
|
var F = H[0], W = H[1], a1 = H[2], C1, o1, w1, S1, B1, Y1;
|
|
33470
|
-
return o1 = (F + 16) / 116, C1 = isNaN(W) ? o1 : o1 + W / 500, w1 = isNaN(a1) ? o1 : o1 - a1 / 200, o1 = P9.Yn *
|
|
33470
|
+
return o1 = (F + 16) / 116, C1 = isNaN(W) ? o1 : o1 + W / 500, w1 = isNaN(a1) ? o1 : o1 - a1 / 200, o1 = P9.Yn * U1(o1), C1 = P9.Xn * U1(C1), w1 = P9.Zn * U1(w1), S1 = k1(3.2404542 * C1 - 1.5371385 * o1 - 0.4985314 * w1), B1 = k1(-0.969266 * C1 + 1.8760108 * o1 + 0.041556 * w1), Y1 = k1(0.0556434 * C1 - 0.2040259 * o1 + 1.0572252 * w1), [S1, B1, Y1, H.length > 3 ? H[3] : 1];
|
|
33471
33471
|
}, k1 = function(H) {
|
|
33472
33472
|
return 255 * (H <= 304e-5 ? 12.92 * H : 1.055 * wp(H, 1 / 2.4) - 0.055);
|
|
33473
|
-
},
|
|
33473
|
+
}, U1 = function(H) {
|
|
33474
33474
|
return H > P9.t1 ? H * H * H : P9.t2 * (H - P9.t0);
|
|
33475
33475
|
}, Le = G, Q3 = y.unpack, W4 = y.type, X6 = R, x4 = I, Ro = w, v8 = Pr;
|
|
33476
33476
|
x4.prototype.lab = function() {
|
|
@@ -34069,8 +34069,8 @@ function mB1() {
|
|
|
34069
34069
|
var A = "rgb", F = J6("#ccc"), W = 0, a1 = [0, 1], C1 = [], o1 = [0, 0], w1 = !1, S1 = [], B1 = !1, Y1 = 0, ge = 1, te = !1, Me = {}, _e = !0, a2 = 1, g2 = function(ne) {
|
|
34070
34070
|
if (ne = ne || ["#fff", "#000"], ne && q0(ne) === "string" && J6.brewer && J6.brewer[ne.toLowerCase()] && (ne = J6.brewer[ne.toLowerCase()]), q0(ne) === "array") {
|
|
34071
34071
|
ne.length === 1 && (ne = [ne[0], ne[0]]), ne = ne.slice(0);
|
|
34072
|
-
for (var
|
|
34073
|
-
ne[
|
|
34072
|
+
for (var De = 0; De < ne.length; De++)
|
|
34073
|
+
ne[De] = J6(ne[De]);
|
|
34074
34074
|
C1.length = 0;
|
|
34075
34075
|
for (var C2 = 0; C2 < ne.length; C2++)
|
|
34076
34076
|
C1.push(C2 / (ne.length - 1));
|
|
@@ -34078,7 +34078,7 @@ function mB1() {
|
|
|
34078
34078
|
return O5(), S1 = ne;
|
|
34079
34079
|
}, S2 = function(ne) {
|
|
34080
34080
|
if (w1 != null) {
|
|
34081
|
-
for (var
|
|
34081
|
+
for (var De = w1.length - 1, C2 = 0; C2 < De && ne >= w1[C2]; )
|
|
34082
34082
|
C2++;
|
|
34083
34083
|
return C2 - 1;
|
|
34084
34084
|
}
|
|
@@ -34087,17 +34087,17 @@ function mB1() {
|
|
|
34087
34087
|
return ne;
|
|
34088
34088
|
}, V4 = function(ne) {
|
|
34089
34089
|
return ne;
|
|
34090
|
-
}, c4 = function(ne,
|
|
34090
|
+
}, c4 = function(ne, De) {
|
|
34091
34091
|
var C2, l2;
|
|
34092
|
-
if (
|
|
34092
|
+
if (De == null && (De = !1), isNaN(ne) || ne === null)
|
|
34093
34093
|
return F;
|
|
34094
|
-
if (
|
|
34094
|
+
if (De)
|
|
34095
34095
|
l2 = ne;
|
|
34096
34096
|
else if (w1 && w1.length > 2) {
|
|
34097
34097
|
var H4 = S2(ne);
|
|
34098
34098
|
l2 = H4 / (w1.length - 2);
|
|
34099
34099
|
} else ge !== Y1 ? l2 = (ne - Y1) / (ge - Y1) : l2 = 1;
|
|
34100
|
-
l2 = V4(l2),
|
|
34100
|
+
l2 = V4(l2), De || (l2 = V2(l2)), a2 !== 1 && (l2 = BG(l2, a2)), l2 = o1[0] + l2 * (1 - o1[0] - o1[1]), l2 = Math.min(1, Math.max(0, l2));
|
|
34101
34101
|
var o3 = Math.floor(l2 * 1e4);
|
|
34102
34102
|
if (_e && Me[o3])
|
|
34103
34103
|
C2 = Me[o3];
|
|
@@ -34127,16 +34127,16 @@ function mB1() {
|
|
|
34127
34127
|
};
|
|
34128
34128
|
g2(H);
|
|
34129
34129
|
var b2 = function(ne) {
|
|
34130
|
-
var
|
|
34131
|
-
return B1 &&
|
|
34130
|
+
var De = J6(c4(ne));
|
|
34131
|
+
return B1 && De[B1] ? De[B1]() : De;
|
|
34132
34132
|
};
|
|
34133
34133
|
return b2.classes = function(ne) {
|
|
34134
34134
|
if (ne != null) {
|
|
34135
34135
|
if (q0(ne) === "array")
|
|
34136
34136
|
w1 = ne, a1 = [ne[0], ne[ne.length - 1]];
|
|
34137
34137
|
else {
|
|
34138
|
-
var
|
|
34139
|
-
ne === 0 ? w1 = [
|
|
34138
|
+
var De = J6.analyze(a1);
|
|
34139
|
+
ne === 0 ? w1 = [De.min, De.max] : w1 = J6.limits(De, "e", ne);
|
|
34140
34140
|
}
|
|
34141
34141
|
return b2;
|
|
34142
34142
|
}
|
|
@@ -34145,15 +34145,15 @@ function mB1() {
|
|
|
34145
34145
|
if (!arguments.length)
|
|
34146
34146
|
return a1;
|
|
34147
34147
|
Y1 = ne[0], ge = ne[ne.length - 1], C1 = [];
|
|
34148
|
-
var
|
|
34149
|
-
if (ne.length ===
|
|
34148
|
+
var De = S1.length;
|
|
34149
|
+
if (ne.length === De && Y1 !== ge)
|
|
34150
34150
|
for (var C2 = 0, l2 = Array.from(ne); C2 < l2.length; C2 += 1) {
|
|
34151
34151
|
var H4 = l2[C2];
|
|
34152
34152
|
C1.push((H4 - Y1) / (ge - Y1));
|
|
34153
34153
|
}
|
|
34154
34154
|
else {
|
|
34155
|
-
for (var o3 = 0; o3 <
|
|
34156
|
-
C1.push(o3 / (
|
|
34155
|
+
for (var o3 = 0; o3 < De; o3++)
|
|
34156
|
+
C1.push(o3 / (De - 1));
|
|
34157
34157
|
if (ne.length > 2) {
|
|
34158
34158
|
var _2 = ne.map(function(B2, U2) {
|
|
34159
34159
|
return U2 / (ne.length - 1);
|
|
@@ -34175,26 +34175,26 @@ function mB1() {
|
|
|
34175
34175
|
return a1 = [Y1, ge], b2;
|
|
34176
34176
|
}, b2.mode = function(ne) {
|
|
34177
34177
|
return arguments.length ? (A = ne, O5(), b2) : A;
|
|
34178
|
-
}, b2.range = function(ne,
|
|
34178
|
+
}, b2.range = function(ne, De) {
|
|
34179
34179
|
return g2(ne), b2;
|
|
34180
34180
|
}, b2.out = function(ne) {
|
|
34181
34181
|
return B1 = ne, b2;
|
|
34182
34182
|
}, b2.spread = function(ne) {
|
|
34183
34183
|
return arguments.length ? (W = ne, b2) : W;
|
|
34184
34184
|
}, b2.correctLightness = function(ne) {
|
|
34185
|
-
return ne == null && (ne = !0), te = ne, O5(), te ? V2 = function(
|
|
34186
|
-
for (var C2 = c4(0, !0).lab()[0], l2 = c4(1, !0).lab()[0], H4 = C2 > l2, o3 = c4(
|
|
34185
|
+
return ne == null && (ne = !0), te = ne, O5(), te ? V2 = function(De) {
|
|
34186
|
+
for (var C2 = c4(0, !0).lab()[0], l2 = c4(1, !0).lab()[0], H4 = C2 > l2, o3 = c4(De, !0).lab()[0], _2 = C2 + (l2 - C2) * De, O2 = o3 - _2, B2 = 0, U2 = 1, e9 = 20; Math.abs(O2) > 0.01 && e9-- > 0; )
|
|
34187
34187
|
(function() {
|
|
34188
|
-
return H4 && (O2 *= -1), O2 < 0 ? (B2 =
|
|
34188
|
+
return H4 && (O2 *= -1), O2 < 0 ? (B2 = De, De += (U2 - De) * 0.5) : (U2 = De, De += (B2 - De) * 0.5), o3 = c4(De, !0).lab()[0], O2 = o3 - _2;
|
|
34189
34189
|
})();
|
|
34190
|
-
return
|
|
34191
|
-
} : V2 = function(
|
|
34192
|
-
return
|
|
34190
|
+
return De;
|
|
34191
|
+
} : V2 = function(De) {
|
|
34192
|
+
return De;
|
|
34193
34193
|
}, b2;
|
|
34194
34194
|
}, b2.padding = function(ne) {
|
|
34195
34195
|
return ne != null ? (q0(ne) === "number" && (ne = [ne, ne]), o1 = ne, b2) : o1;
|
|
34196
|
-
}, b2.colors = function(ne,
|
|
34197
|
-
arguments.length < 2 && (
|
|
34196
|
+
}, b2.colors = function(ne, De) {
|
|
34197
|
+
arguments.length < 2 && (De = "hex");
|
|
34198
34198
|
var C2 = [];
|
|
34199
34199
|
if (arguments.length === 0)
|
|
34200
34200
|
C2 = S1.slice(0);
|
|
@@ -34217,8 +34217,8 @@ function mB1() {
|
|
|
34217
34217
|
return b2(U2);
|
|
34218
34218
|
});
|
|
34219
34219
|
}
|
|
34220
|
-
return J6[
|
|
34221
|
-
return U2[
|
|
34220
|
+
return J6[De] && (C2 = C2.map(function(U2) {
|
|
34221
|
+
return U2[De]();
|
|
34222
34222
|
})), C2;
|
|
34223
34223
|
}, b2.cache = function(ne) {
|
|
34224
34224
|
return ne != null ? (_e = ne, b2) : _e;
|
|
@@ -34404,10 +34404,10 @@ function mB1() {
|
|
|
34404
34404
|
for (O5.push(a1); V4; ) {
|
|
34405
34405
|
for (var ne = 0; ne < F; ne++)
|
|
34406
34406
|
V2[ne] = 0;
|
|
34407
|
-
for (var
|
|
34408
|
-
for (var C2 = C1[
|
|
34407
|
+
for (var De = 0; De < g2; De++)
|
|
34408
|
+
for (var C2 = C1[De], l2 = Number.MAX_VALUE, H4 = void 0, o3 = 0; o3 < F; o3++) {
|
|
34409
34409
|
var _2 = Cj(O5[o3] - C2);
|
|
34410
|
-
_2 < l2 && (l2 = _2, H4 = o3), V2[H4]++, S2[
|
|
34410
|
+
_2 < l2 && (l2 = _2, H4 = o3), V2[H4]++, S2[De] = H4;
|
|
34411
34411
|
}
|
|
34412
34412
|
for (var O2 = new Array(F), B2 = 0; B2 < F; B2++)
|
|
34413
34413
|
O2[B2] = null;
|
|
@@ -34450,9 +34450,9 @@ function mB1() {
|
|
|
34450
34450
|
return 2 * QS * T7 / 360;
|
|
34451
34451
|
};
|
|
34452
34452
|
H = new KS(H), A = new KS(A);
|
|
34453
|
-
var w1 = Array.from(H.lab()), S1 = w1[0], B1 = w1[1], Y1 = w1[2], ge = Array.from(A.lab()), te = ge[0], Me = ge[1], _e = ge[2], a2 = (S1 + te) / 2, g2 = wt(G3(B1, 2) + G3(Y1, 2)), S2 = wt(G3(Me, 2) + G3(_e, 2)), V2 = (g2 + S2) / 2, V4 = 0.5 * (1 - wt(G3(V2, 7) / (G3(V2, 7) + G3(25, 7)))), c4 = B1 * (1 + V4), O5 = Me * (1 + V4), b2 = wt(G3(c4, 2) + G3(Y1, 2)), ne = wt(G3(O5, 2) + G3(_e, 2)),
|
|
34453
|
+
var w1 = Array.from(H.lab()), S1 = w1[0], B1 = w1[1], Y1 = w1[2], ge = Array.from(A.lab()), te = ge[0], Me = ge[1], _e = ge[2], a2 = (S1 + te) / 2, g2 = wt(G3(B1, 2) + G3(Y1, 2)), S2 = wt(G3(Me, 2) + G3(_e, 2)), V2 = (g2 + S2) / 2, V4 = 0.5 * (1 - wt(G3(V2, 7) / (G3(V2, 7) + G3(25, 7)))), c4 = B1 * (1 + V4), O5 = Me * (1 + V4), b2 = wt(G3(c4, 2) + G3(Y1, 2)), ne = wt(G3(O5, 2) + G3(_e, 2)), De = (b2 + ne) / 2, C2 = C1(YS(Y1, c4)), l2 = C1(YS(_e, O5)), H4 = C2 >= 0 ? C2 : C2 + 360, o3 = l2 >= 0 ? l2 : l2 + 360, _2 = XS(H4 - o3) > 180 ? (H4 + o3 + 360) / 2 : (H4 + o3) / 2, O2 = 1 - 0.17 * Fr(o1(_2 - 30)) + 0.24 * Fr(o1(2 * _2)) + 0.32 * Fr(o1(3 * _2 + 6)) - 0.2 * Fr(o1(4 * _2 - 63)), B2 = o3 - H4;
|
|
34454
34454
|
B2 = XS(B2) <= 180 ? B2 : o3 <= H4 ? B2 + 360 : B2 - 360, B2 = 2 * wt(b2 * ne) * JS(o1(B2) / 2);
|
|
34455
|
-
var U2 = te - S1, e9 = ne - b2, M8 = 1 + 0.015 * G3(a2 - 50, 2) / wt(20 + G3(a2 - 50, 2)), k8 = 1 + 0.045 *
|
|
34455
|
+
var U2 = te - S1, e9 = ne - b2, M8 = 1 + 0.015 * G3(a2 - 50, 2) / wt(20 + G3(a2 - 50, 2)), k8 = 1 + 0.045 * De, G0 = 1 + 0.015 * De * O2, j0 = 30 * hj(-G3((_2 - 275) / 25, 2)), bt = 2 * wt(G3(De, 7) / (G3(De, 7) + G3(25, 7))), L7 = -bt * JS(2 * o1(j0)), zo = wt(G3(U2 / (F * M8), 2) + G3(e9 / (W * k8), 2) + G3(B2 / (a1 * G0), 2) + L7 * (e9 / (W * k8)) * (B2 / (a1 * G0)));
|
|
34456
34456
|
return fj(0, pj(100, zo));
|
|
34457
34457
|
}, e_ = I, mj = function(H, A, F) {
|
|
34458
34458
|
F === void 0 && (F = "lab"), H = new e_(H), A = new e_(A);
|
|
@@ -36402,14 +36402,14 @@ function HO() {
|
|
|
36402
36402
|
value: null
|
|
36403
36403
|
}
|
|
36404
36404
|
}));
|
|
36405
|
-
let he = !0,
|
|
36405
|
+
let he = !0, we = !0, We = !1, Ye = !0, Ee = !1, Qe = !0, o2 = !1, k2 = !1, X = !1, t1 = !1, v1 = !1, D1 = !1, F1 = !0, y1 = !1;
|
|
36406
36406
|
const M1 = "user-content-";
|
|
36407
|
-
let P1 = !0, j1 = !1, ae = {},
|
|
36407
|
+
let P1 = !0, j1 = !1, ae = {}, Be = null;
|
|
36408
36408
|
const s2 = u2({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
36409
36409
|
let J1 = null;
|
|
36410
36410
|
const s1 = u2({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
36411
36411
|
let E1 = null;
|
|
36412
|
-
const
|
|
36412
|
+
const Z1 = u2({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ke = "http://www.w3.org/1998/Math/MathML", h3 = "http://www.w3.org/2000/svg", c3 = "http://www.w3.org/1999/xhtml";
|
|
36413
36413
|
let L4 = c3, M3 = !1, g3 = null;
|
|
36414
36414
|
const $5 = u2({}, [Ke, h3, c3], vf);
|
|
36415
36415
|
let B3 = u2({}, ["mi", "mo", "mn", "ms", "mtext"]), q3 = u2({}, ["annotation-xml"]);
|
|
@@ -36423,7 +36423,7 @@ function HO() {
|
|
|
36423
36423
|
let l1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
36424
36424
|
if (!(y6 && y6 === l1)) {
|
|
36425
36425
|
if ((!l1 || typeof l1 != "object") && (l1 = {}), l1 = O9(l1), n6 = // eslint-disable-next-line unicorn/prefer-includes
|
|
36426
|
-
Ct.indexOf(l1.PARSER_MEDIA_TYPE) === -1 ? M7 : l1.PARSER_MEDIA_TYPE, d3 = n6 === "application/xhtml+xml" ? vf : Wc, r1 = i9(l1, "ALLOWED_TAGS") ? u2({}, l1.ALLOWED_TAGS, d3) : x1, L1 = i9(l1, "ALLOWED_ATTR") ? u2({}, l1.ALLOWED_ATTR, d3) : $1, g3 = i9(l1, "ALLOWED_NAMESPACES") ? u2({}, l1.ALLOWED_NAMESPACES, vf) : $5, E1 = i9(l1, "ADD_URI_SAFE_ATTR") ? u2(O9(
|
|
36426
|
+
Ct.indexOf(l1.PARSER_MEDIA_TYPE) === -1 ? M7 : l1.PARSER_MEDIA_TYPE, d3 = n6 === "application/xhtml+xml" ? vf : Wc, r1 = i9(l1, "ALLOWED_TAGS") ? u2({}, l1.ALLOWED_TAGS, d3) : x1, L1 = i9(l1, "ALLOWED_ATTR") ? u2({}, l1.ALLOWED_ATTR, d3) : $1, g3 = i9(l1, "ALLOWED_NAMESPACES") ? u2({}, l1.ALLOWED_NAMESPACES, vf) : $5, E1 = i9(l1, "ADD_URI_SAFE_ATTR") ? u2(O9(Z1), l1.ADD_URI_SAFE_ATTR, d3) : Z1, J1 = i9(l1, "ADD_DATA_URI_TAGS") ? u2(O9(s1), l1.ADD_DATA_URI_TAGS, d3) : s1, Be = i9(l1, "FORBID_CONTENTS") ? u2({}, l1.FORBID_CONTENTS, d3) : s2, G1 = i9(l1, "FORBID_TAGS") ? u2({}, l1.FORBID_TAGS, d3) : O9({}), N1 = i9(l1, "FORBID_ATTR") ? u2({}, l1.FORBID_ATTR, d3) : O9({}), ae = i9(l1, "USE_PROFILES") ? l1.USE_PROFILES : !1, he = l1.ALLOW_ARIA_ATTR !== !1, we = l1.ALLOW_DATA_ATTR !== !1, We = l1.ALLOW_UNKNOWN_PROTOCOLS || !1, Ye = l1.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = l1.SAFE_FOR_TEMPLATES || !1, Qe = l1.SAFE_FOR_XML !== !1, o2 = l1.WHOLE_DOCUMENT || !1, t1 = l1.RETURN_DOM || !1, v1 = l1.RETURN_DOM_FRAGMENT || !1, D1 = l1.RETURN_TRUSTED_TYPE || !1, X = l1.FORCE_BODY || !1, F1 = l1.SANITIZE_DOM !== !1, y1 = l1.SANITIZE_NAMED_PROPS || !1, P1 = l1.KEEP_CONTENT !== !1, j1 = l1.IN_PLACE || !1, q = l1.ALLOWED_URI_REGEXP || xO, L4 = l1.NAMESPACE || c3, B3 = l1.MATHML_TEXT_INTEGRATION_POINTS || B3, q3 = l1.HTML_INTEGRATION_POINTS || q3, p1 = l1.CUSTOM_ELEMENT_HANDLING || {}, l1.CUSTOM_ELEMENT_HANDLING && ut(l1.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (p1.tagNameCheck = l1.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l1.CUSTOM_ELEMENT_HANDLING && ut(l1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (p1.attributeNameCheck = l1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l1.CUSTOM_ELEMENT_HANDLING && typeof l1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (p1.allowCustomizedBuiltInElements = l1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (we = !1), v1 && (t1 = !0), ae && (r1 = u2({}, mk), L1 = [], ae.html === !0 && (u2(r1, gk), u2(L1, yk)), ae.svg === !0 && (u2(r1, _f), u2(L1, Lf), u2(L1, da)), ae.svgFilters === !0 && (u2(r1, Mf), u2(L1, Lf), u2(L1, da)), ae.mathMl === !0 && (u2(r1, kf), u2(L1, wk), u2(L1, da))), l1.ADD_TAGS && (typeof l1.ADD_TAGS == "function" ? se.tagCheck = l1.ADD_TAGS : (r1 === x1 && (r1 = O9(r1)), u2(r1, l1.ADD_TAGS, d3))), l1.ADD_ATTR && (typeof l1.ADD_ATTR == "function" ? se.attributeCheck = l1.ADD_ATTR : (L1 === $1 && (L1 = O9(L1)), u2(L1, l1.ADD_ATTR, d3))), l1.ADD_URI_SAFE_ATTR && u2(E1, l1.ADD_URI_SAFE_ATTR, d3), l1.FORBID_CONTENTS && (Be === s2 && (Be = O9(Be)), u2(Be, l1.FORBID_CONTENTS, d3)), l1.ADD_FORBID_CONTENTS && (Be === s2 && (Be = O9(Be)), u2(Be, l1.ADD_FORBID_CONTENTS, d3)), P1 && (r1["#text"] = !0), o2 && u2(r1, ["html", "head", "body"]), r1.table && (u2(r1, ["tbody"]), delete G1.tbody), l1.TRUSTED_TYPES_POLICY) {
|
|
36427
36427
|
if (typeof l1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
36428
36428
|
throw ei('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
36429
36429
|
if (typeof l1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -36528,7 +36528,7 @@ function HO() {
|
|
|
36528
36528
|
if (!(se.tagCheck instanceof Function && se.tagCheck(pe)) && (!r1[pe] || G1[pe])) {
|
|
36529
36529
|
if (!G1[pe] && gt(pe) && (p1.tagNameCheck instanceof RegExp && g5(p1.tagNameCheck, pe) || p1.tagNameCheck instanceof Function && p1.tagNameCheck(pe)))
|
|
36530
36530
|
return !1;
|
|
36531
|
-
if (P1 && !
|
|
36531
|
+
if (P1 && !Be[pe]) {
|
|
36532
36532
|
const A1 = S(l1) || l1.parentNode, k3 = _(l1) || l1.childNodes;
|
|
36533
36533
|
if (k3 && A1) {
|
|
36534
36534
|
const n3 = k3.length;
|
|
@@ -36546,9 +36546,9 @@ function HO() {
|
|
|
36546
36546
|
element: l1.cloneNode()
|
|
36547
36547
|
}), l1.textContent = K1)), p5(z.afterSanitizeElements, l1, null), !1);
|
|
36548
36548
|
}, i6 = function(l1, K1, pe) {
|
|
36549
|
-
if (
|
|
36549
|
+
if (F1 && (K1 === "id" || K1 === "name") && (pe in n || pe in p8))
|
|
36550
36550
|
return !1;
|
|
36551
|
-
if (!(
|
|
36551
|
+
if (!(we && !N1[K1] && g5(j, K1))) {
|
|
36552
36552
|
if (!(he && g5(n1, K1))) {
|
|
36553
36553
|
if (!(se.attributeCheck instanceof Function && se.attributeCheck(K1, l1))) {
|
|
36554
36554
|
if (!L1[K1] || N1[K1]) {
|
|
@@ -41722,7 +41722,7 @@ class Re {
|
|
|
41722
41722
|
found.
|
|
41723
41723
|
*/
|
|
41724
41724
|
static findFrom(t, n, o = !1) {
|
|
41725
|
-
let i = t.parent.inlineContent ? new
|
|
41725
|
+
let i = t.parent.inlineContent ? new Oe(t) : _n(t.node(0), t.parent, t.pos, t.index(), n, o);
|
|
41726
41726
|
if (i)
|
|
41727
41727
|
return i;
|
|
41728
41728
|
for (let s = t.depth - 1; s >= 0; s--) {
|
|
@@ -41789,7 +41789,7 @@ class Re {
|
|
|
41789
41789
|
returns the bookmark for that.
|
|
41790
41790
|
*/
|
|
41791
41791
|
getBookmark() {
|
|
41792
|
-
return
|
|
41792
|
+
return Oe.between(this.$anchor, this.$head).getBookmark();
|
|
41793
41793
|
}
|
|
41794
41794
|
}
|
|
41795
41795
|
Re.prototype.visible = !0;
|
|
@@ -41805,7 +41805,7 @@ let Nk = !1;
|
|
|
41805
41805
|
function Rk(e) {
|
|
41806
41806
|
!Nk && !e.parent.inlineContent && (Nk = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
|
|
41807
41807
|
}
|
|
41808
|
-
class
|
|
41808
|
+
class Oe extends Re {
|
|
41809
41809
|
/**
|
|
41810
41810
|
Construct a text selection between the given points.
|
|
41811
41811
|
*/
|
|
@@ -41824,7 +41824,7 @@ class $e extends Re {
|
|
|
41824
41824
|
if (!o.parent.inlineContent)
|
|
41825
41825
|
return Re.near(o);
|
|
41826
41826
|
let i = t.resolve(n.map(this.anchor));
|
|
41827
|
-
return new
|
|
41827
|
+
return new Oe(i.parent.inlineContent ? i : o, o);
|
|
41828
41828
|
}
|
|
41829
41829
|
replace(t, n = Ce.empty) {
|
|
41830
41830
|
if (super.replace(t, n), n == Ce.empty) {
|
|
@@ -41833,7 +41833,7 @@ class $e extends Re {
|
|
|
41833
41833
|
}
|
|
41834
41834
|
}
|
|
41835
41835
|
eq(t) {
|
|
41836
|
-
return t instanceof
|
|
41836
|
+
return t instanceof Oe && t.anchor == this.anchor && t.head == this.head;
|
|
41837
41837
|
}
|
|
41838
41838
|
getBookmark() {
|
|
41839
41839
|
return new mu(this.anchor, this.head);
|
|
@@ -41847,7 +41847,7 @@ class $e extends Re {
|
|
|
41847
41847
|
static fromJSON(t, n) {
|
|
41848
41848
|
if (typeof n.anchor != "number" || typeof n.head != "number")
|
|
41849
41849
|
throw new RangeError("Invalid input for TextSelection.fromJSON");
|
|
41850
|
-
return new
|
|
41850
|
+
return new Oe(t.resolve(n.anchor), t.resolve(n.head));
|
|
41851
41851
|
}
|
|
41852
41852
|
/**
|
|
41853
41853
|
Create a text selection from non-resolved positions.
|
|
@@ -41873,10 +41873,10 @@ class $e extends Re {
|
|
|
41873
41873
|
else
|
|
41874
41874
|
return Re.near(n, o);
|
|
41875
41875
|
}
|
|
41876
|
-
return t.parent.inlineContent || (i == 0 ? t = n : (t = (Re.findFrom(t, -o, !0) || Re.findFrom(t, o, !0)).$anchor, t.pos < n.pos != i < 0 && (t = n))), new
|
|
41876
|
+
return t.parent.inlineContent || (i == 0 ? t = n : (t = (Re.findFrom(t, -o, !0) || Re.findFrom(t, o, !0)).$anchor, t.pos < n.pos != i < 0 && (t = n))), new Oe(t, n);
|
|
41877
41877
|
}
|
|
41878
41878
|
}
|
|
41879
|
-
Re.jsonID("text",
|
|
41879
|
+
Re.jsonID("text", Oe);
|
|
41880
41880
|
class mu {
|
|
41881
41881
|
constructor(t, n) {
|
|
41882
41882
|
this.anchor = t, this.head = n;
|
|
@@ -41885,7 +41885,7 @@ class mu {
|
|
|
41885
41885
|
return new mu(t.map(this.anchor), t.map(this.head));
|
|
41886
41886
|
}
|
|
41887
41887
|
resolve(t) {
|
|
41888
|
-
return
|
|
41888
|
+
return Oe.between(t.resolve(this.anchor), t.resolve(this.head));
|
|
41889
41889
|
}
|
|
41890
41890
|
}
|
|
41891
41891
|
class Ie extends Re {
|
|
@@ -41995,7 +41995,7 @@ const NN1 = {
|
|
|
41995
41995
|
};
|
|
41996
41996
|
function _n(e, t, n, o, i, s = !1) {
|
|
41997
41997
|
if (t.inlineContent)
|
|
41998
|
-
return
|
|
41998
|
+
return Oe.create(e, n);
|
|
41999
41999
|
for (let r = o - (i > 0 ? 0 : 1); i > 0 ? r < t.childCount : r >= 0; r += i) {
|
|
42000
42000
|
let a = t.child(r);
|
|
42001
42001
|
if (a.isAtom) {
|
|
@@ -42504,7 +42504,7 @@ function vB(e, t, n) {
|
|
|
42504
42504
|
return !1;
|
|
42505
42505
|
if (n) {
|
|
42506
42506
|
let d = e.tr.step(c);
|
|
42507
|
-
d.setSelection(
|
|
42507
|
+
d.setSelection(Oe.create(d.doc, s)), n(d.scrollIntoView());
|
|
42508
42508
|
}
|
|
42509
42509
|
return !0;
|
|
42510
42510
|
}
|
|
@@ -42646,7 +42646,7 @@ const jN1 = (e, t) => {
|
|
|
42646
42646
|
return !1;
|
|
42647
42647
|
if (t) {
|
|
42648
42648
|
let r = (!o.parentOffset && i.index() < i.parent.childCount ? o : i).pos, a = e.tr.insert(r, s.createAndFill());
|
|
42649
|
-
a.setSelection(
|
|
42649
|
+
a.setSelection(Oe.create(a.doc, r + 1)), t(a.scrollIntoView());
|
|
42650
42650
|
}
|
|
42651
42651
|
return !0;
|
|
42652
42652
|
}, xB = (e, t) => {
|
|
@@ -42679,7 +42679,7 @@ function WN1(e) {
|
|
|
42679
42679
|
s.unshift(null);
|
|
42680
42680
|
}
|
|
42681
42681
|
let d = t.tr;
|
|
42682
|
-
(t.selection instanceof
|
|
42682
|
+
(t.selection instanceof Oe || t.selection instanceof W5) && d.deleteSelection();
|
|
42683
42683
|
let C = d.mapping.map(o.pos), h = zt(d.doc, C, s.length, s);
|
|
42684
42684
|
if (h || (s[0] = a ? { type: a } : null, h = zt(d.doc, C, s.length, s)), !h)
|
|
42685
42685
|
return !1;
|
|
@@ -42745,7 +42745,7 @@ function HB(e) {
|
|
|
42745
42745
|
return !1;
|
|
42746
42746
|
s--;
|
|
42747
42747
|
}
|
|
42748
|
-
return i.node(s).isTextblock ? (n && n(t.tr.setSelection(
|
|
42748
|
+
return i.node(s).isTextblock ? (n && n(t.tr.setSelection(Oe.create(t.doc, e < 0 ? i.start(s) : i.end(s)))), !0) : !1;
|
|
42749
42749
|
};
|
|
42750
42750
|
}
|
|
42751
42751
|
const JN1 = HB(-1), QN1 = HB(1);
|
|
@@ -43846,7 +43846,7 @@ class t7 extends er {
|
|
|
43846
43846
|
}
|
|
43847
43847
|
localCompositionInfo(t, n) {
|
|
43848
43848
|
let { from: o, to: i } = t.state.selection;
|
|
43849
|
-
if (!(t.state.selection instanceof
|
|
43849
|
+
if (!(t.state.selection instanceof Oe) || o < n || i > n + this.node.content.size)
|
|
43850
43850
|
return null;
|
|
43851
43851
|
let s = t.input.compositionNode;
|
|
43852
43852
|
if (!s || !this.dom.contains(s.parentNode))
|
|
@@ -44412,7 +44412,7 @@ function qt(e, t = !1) {
|
|
|
44412
44412
|
ZR1(e);
|
|
44413
44413
|
else {
|
|
44414
44414
|
let { anchor: i, head: s } = n, r, a;
|
|
44415
|
-
tL && !(n instanceof
|
|
44415
|
+
tL && !(n instanceof Oe) && (n.$from.parent.inlineContent || (r = nL(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (a = nL(e, n.to))), e.docView.setSelection(i, s, e, t), tL && (r && oL(r), a && oL(a)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && RR1(e));
|
|
44416
44416
|
}
|
|
44417
44417
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
44418
44418
|
}
|
|
@@ -44462,7 +44462,7 @@ function iL(e) {
|
|
|
44462
44462
|
e.lastSelectedViewDesc && (e.lastSelectedViewDesc.parent && e.lastSelectedViewDesc.deselectNode(), e.lastSelectedViewDesc = void 0);
|
|
44463
44463
|
}
|
|
44464
44464
|
function pb(e, t, n, o) {
|
|
44465
|
-
return e.someProp("createSelectionBetween", (i) => i(e, t, n)) ||
|
|
44465
|
+
return e.someProp("createSelectionBetween", (i) => i(e, t, n)) || Oe.between(t, n, o);
|
|
44466
44466
|
}
|
|
44467
44467
|
function sL(e) {
|
|
44468
44468
|
return e.editable && !e.hasFocus() ? !1 : jB(e);
|
|
@@ -44490,13 +44490,13 @@ function H8(e, t) {
|
|
|
44490
44490
|
}
|
|
44491
44491
|
function rL(e, t, n) {
|
|
44492
44492
|
let o = e.state.selection;
|
|
44493
|
-
if (o instanceof
|
|
44493
|
+
if (o instanceof Oe)
|
|
44494
44494
|
if (n.indexOf("s") > -1) {
|
|
44495
44495
|
let { $head: i } = o, s = i.textOffset ? null : t < 0 ? i.nodeBefore : i.nodeAfter;
|
|
44496
44496
|
if (!s || s.isText || !s.isLeaf)
|
|
44497
44497
|
return !1;
|
|
44498
44498
|
let r = e.state.doc.resolve(i.pos + s.nodeSize * (t < 0 ? -1 : 1));
|
|
44499
|
-
return H8(e, new
|
|
44499
|
+
return H8(e, new Oe(o.$anchor, r));
|
|
44500
44500
|
} else if (o.empty) {
|
|
44501
44501
|
if (e.endOfTextblock(t > 0 ? "forward" : "backward")) {
|
|
44502
44502
|
let i = Qm(e.state, t);
|
|
@@ -44506,12 +44506,12 @@ function rL(e, t, n) {
|
|
|
44506
44506
|
if (!s || s.isText)
|
|
44507
44507
|
return !1;
|
|
44508
44508
|
let a = t < 0 ? i.pos - s.nodeSize : i.pos;
|
|
44509
|
-
return s.isAtom || (r = e.docView.descAt(a)) && !r.contentDOM ? Ie.isSelectable(s) ? H8(e, new Ie(t < 0 ? e.state.doc.resolve(i.pos - s.nodeSize) : i)) : Qs ? H8(e, new
|
|
44509
|
+
return s.isAtom || (r = e.docView.descAt(a)) && !r.contentDOM ? Ie.isSelectable(s) ? H8(e, new Ie(t < 0 ? e.state.doc.resolve(i.pos - s.nodeSize) : i)) : Qs ? H8(e, new Oe(e.state.doc.resolve(t < 0 ? a : a + s.nodeSize))) : !1 : !1;
|
|
44510
44510
|
}
|
|
44511
44511
|
} else return !1;
|
|
44512
44512
|
else {
|
|
44513
44513
|
if (o instanceof Ie && o.node.isInline)
|
|
44514
|
-
return H8(e, new
|
|
44514
|
+
return H8(e, new Oe(t > 0 ? o.$to : o.$from));
|
|
44515
44515
|
{
|
|
44516
44516
|
let i = Qm(e.state, t);
|
|
44517
44517
|
return i ? H8(e, i) : !1;
|
|
@@ -44661,7 +44661,7 @@ function aL(e, t) {
|
|
|
44661
44661
|
}
|
|
44662
44662
|
function lL(e, t, n) {
|
|
44663
44663
|
let o = e.state.selection;
|
|
44664
|
-
if (o instanceof
|
|
44664
|
+
if (o instanceof Oe && !o.empty || n.indexOf("s") > -1 || L6 && n.indexOf("m") > -1)
|
|
44665
44665
|
return !1;
|
|
44666
44666
|
let { $from: i, $to: s } = o;
|
|
44667
44667
|
if (!i.parent.inlineContent || e.endOfTextblock(t < 0 ? "up" : "down")) {
|
|
@@ -44676,7 +44676,7 @@ function lL(e, t, n) {
|
|
|
44676
44676
|
return !1;
|
|
44677
44677
|
}
|
|
44678
44678
|
function cL(e, t) {
|
|
44679
|
-
if (!(e.state.selection instanceof
|
|
44679
|
+
if (!(e.state.selection instanceof Oe))
|
|
44680
44680
|
return !0;
|
|
44681
44681
|
let { $head: n, $anchor: o, empty: i } = e.state.selection;
|
|
44682
44682
|
if (!n.sameParent(o))
|
|
@@ -45004,7 +45004,7 @@ H5.keypress = (e, t) => {
|
|
|
45004
45004
|
return;
|
|
45005
45005
|
}
|
|
45006
45006
|
let o = e.state.selection;
|
|
45007
|
-
if (!(o instanceof
|
|
45007
|
+
if (!(o instanceof Oe) || !o.$from.sameParent(o.$to)) {
|
|
45008
45008
|
let i = String.fromCharCode(n.charCode), s = () => e.state.tr.insertText(i).scrollIntoView();
|
|
45009
45009
|
!/[\r\n]/.test(i) && !e.someProp("handleTextInput", (r) => r(e, o.$from.pos, o.$to.pos, i, s)) && e.dispatch(s()), n.preventDefault();
|
|
45010
45010
|
}
|
|
@@ -45065,17 +45065,17 @@ function fZ1(e, t, n) {
|
|
|
45065
45065
|
if (n.button != 0)
|
|
45066
45066
|
return !1;
|
|
45067
45067
|
let o = tD(e, t, !0), i = e.state.doc;
|
|
45068
|
-
return o ? (nr(e, o), o instanceof
|
|
45068
|
+
return o ? (nr(e, o), o instanceof Oe && i.eq(e.state.doc) && (e.input.mouseDown = new gZ1(e, o)), !0) : !1;
|
|
45069
45069
|
}
|
|
45070
45070
|
function tD(e, t, n) {
|
|
45071
45071
|
let o = e.state.doc;
|
|
45072
45072
|
if (t == -1)
|
|
45073
|
-
return o.inlineContent ?
|
|
45073
|
+
return o.inlineContent ? Oe.create(o, 0, o.content.size) : null;
|
|
45074
45074
|
let i = o.resolve(t);
|
|
45075
45075
|
for (let s = i.depth + 1; s > 0; s--) {
|
|
45076
45076
|
let r = s > i.depth ? i.nodeAfter : i.node(s), a = i.before(s);
|
|
45077
45077
|
if (r.inlineContent)
|
|
45078
|
-
return
|
|
45078
|
+
return Oe.create(o, a + 1, a + 1 + r.content.size);
|
|
45079
45079
|
if (n && Ie.isSelectable(r))
|
|
45080
45080
|
return Ie.create(o, a);
|
|
45081
45081
|
}
|
|
@@ -45175,7 +45175,7 @@ class gZ1 extends oD {
|
|
|
45175
45175
|
if (!o)
|
|
45176
45176
|
return;
|
|
45177
45177
|
let { doc: i } = this.view.state, s = this.startSelection, [r, a] = o.from < s.from ? [s.to, o.from] : [s.from, o.to];
|
|
45178
|
-
nr(this.view,
|
|
45178
|
+
nr(this.view, Oe.create(i, r, a));
|
|
45179
45179
|
}
|
|
45180
45180
|
}
|
|
45181
45181
|
V5.touchstart = (e) => {
|
|
@@ -45193,7 +45193,7 @@ H5.compositionstart = H5.compositionupdate = (e) => {
|
|
|
45193
45193
|
if (!e.composing) {
|
|
45194
45194
|
e.domObserver.flush();
|
|
45195
45195
|
let { state: t } = e, n = t.selection.$to;
|
|
45196
|
-
if (t.selection instanceof
|
|
45196
|
+
if (t.selection instanceof Oe && (t.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((o) => o.type.spec.inclusive === !1) || g4 && PB && yZ1(e)))
|
|
45197
45197
|
e.markCursor = e.state.storedMarks || n.marks(), Rd(e, !0), e.markCursor = null;
|
|
45198
45198
|
else if (Rd(e, !t.selection.empty), D6 && t.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
|
|
45199
45199
|
let o = e.domSelectionRange();
|
|
@@ -46217,7 +46217,7 @@ function DZ1(e, t, n, o, i) {
|
|
|
46217
46217
|
return;
|
|
46218
46218
|
}
|
|
46219
46219
|
if (!m)
|
|
46220
|
-
if (o && l instanceof
|
|
46220
|
+
if (o && l instanceof Oe && !l.empty && l.$head.sameParent(l.$anchor) && !e.composing && !(c.sel && c.sel.anchor != c.sel.head))
|
|
46221
46221
|
m = { start: l.from, endA: l.to, endB: l.to };
|
|
46222
46222
|
else {
|
|
46223
46223
|
if (c.sel) {
|
|
@@ -46229,7 +46229,7 @@ function DZ1(e, t, n, o, i) {
|
|
|
46229
46229
|
}
|
|
46230
46230
|
return;
|
|
46231
46231
|
}
|
|
46232
|
-
e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof
|
|
46232
|
+
e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof Oe && (m.start > e.state.selection.from && m.start <= e.state.selection.from + 2 && e.state.selection.from >= c.from ? m.start = e.state.selection.from : m.endA < e.state.selection.to && m.endA >= e.state.selection.to - 2 && e.state.selection.to <= c.to && (m.endB += e.state.selection.to - m.endA, m.endA = e.state.selection.to)), K5 && Q8 <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == " " && (m.start--, m.endA--, m.endB--);
|
|
46233
46233
|
let y = c.doc.resolveNoCache(m.start - c.from), w = c.doc.resolveNoCache(m.endB - c.from), b = d.resolve(m.start), _ = y.sameParent(w) && y.parent.inlineContent && b.end() >= m.endA;
|
|
46234
46234
|
if ((ro && e.input.lastIOSEnter > Date.now() - 225 && (!_ || i.some((O) => O.nodeName == "DIV" || O.nodeName == "P")) || !_ && y.pos < c.doc.content.size && (!y.sameParent(w) || !y.parent.inlineContent) && y.pos < w.pos && !/\S/.test(c.doc.textBetween(y.pos, w.pos, "", ""))) && e.someProp("handleKeyDown", (O) => O(e, B7(13, "Enter")))) {
|
|
46235
46235
|
e.input.lastIOSEnter = 0;
|
|
@@ -47047,7 +47047,7 @@ var QZ1 = () => ({ editor: e, view: t }) => (requestAnimationFrame(() => {
|
|
|
47047
47047
|
const { state: i } = n, s = i.doc.slice(e.from, e.to);
|
|
47048
47048
|
o.deleteRange(e.from, e.to);
|
|
47049
47049
|
const r = o.mapping.map(t);
|
|
47050
|
-
return o.insert(r, s.content), o.setSelection(new
|
|
47050
|
+
return o.insert(r, s.content), o.setSelection(new Oe(o.doc.resolve(Math.max(r - 1, 0)))), !0;
|
|
47051
47051
|
}, sF1 = () => ({ tr: e, dispatch: t }) => {
|
|
47052
47052
|
const { selection: n } = e, o = n.$anchor.node();
|
|
47053
47053
|
if (o.content.size > 0)
|
|
@@ -47161,7 +47161,7 @@ var pF1 = (e, t) => ({ tr: n, state: o, dispatch: i }) => {
|
|
|
47161
47161
|
if (i) {
|
|
47162
47162
|
const C = _b(l, s, t);
|
|
47163
47163
|
if (C && C.from <= c && C.to >= d) {
|
|
47164
|
-
const h =
|
|
47164
|
+
const h = Oe.create(r, C.from, C.to);
|
|
47165
47165
|
n.setSelection(h);
|
|
47166
47166
|
}
|
|
47167
47167
|
}
|
|
@@ -47174,7 +47174,7 @@ var pF1 = (e, t) => ({ tr: n, state: o, dispatch: i }) => {
|
|
|
47174
47174
|
return !1;
|
|
47175
47175
|
};
|
|
47176
47176
|
function Mb(e) {
|
|
47177
|
-
return e instanceof
|
|
47177
|
+
return e instanceof Oe;
|
|
47178
47178
|
}
|
|
47179
47179
|
function Nt(e = 0, t = 0, n = 0) {
|
|
47180
47180
|
return Math.min(Math.max(e, t), n);
|
|
@@ -47188,11 +47188,11 @@ function gD(e, t = null) {
|
|
|
47188
47188
|
if (t === "end")
|
|
47189
47189
|
return o;
|
|
47190
47190
|
const i = n.from, s = o.to;
|
|
47191
|
-
return t === "all" ?
|
|
47191
|
+
return t === "all" ? Oe.create(
|
|
47192
47192
|
e,
|
|
47193
47193
|
Nt(0, i, s),
|
|
47194
47194
|
Nt(e.content.size, i, s)
|
|
47195
|
-
) :
|
|
47195
|
+
) : Oe.create(
|
|
47196
47196
|
e,
|
|
47197
47197
|
Nt(t, i, s),
|
|
47198
47198
|
Nt(t, i, s)
|
|
@@ -48276,7 +48276,7 @@ var cU1 = (e, t = {}) => ({ tr: n, state: o, dispatch: i }) => {
|
|
|
48276
48276
|
}), !0;
|
|
48277
48277
|
}, fU1 = (e) => ({ tr: t, dispatch: n }) => {
|
|
48278
48278
|
if (n) {
|
|
48279
|
-
const { doc: o } = t, { from: i, to: s } = typeof e == "number" ? { from: e, to: e } : e, r =
|
|
48279
|
+
const { doc: o } = t, { from: i, to: s } = typeof e == "number" ? { from: e, to: e } : e, r = Oe.atStart(o).from, a = Oe.atEnd(o).to, l = Nt(i, r, a), c = Nt(s, r, a), d = Oe.create(o, l, c);
|
|
48280
48280
|
t.setSelection(d);
|
|
48281
48281
|
}
|
|
48282
48282
|
return !0;
|
|
@@ -48314,7 +48314,7 @@ var gU1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: o, edito
|
|
|
48314
48314
|
attrs: d
|
|
48315
48315
|
}
|
|
48316
48316
|
] : void 0), o) {
|
|
48317
|
-
if (m && (s instanceof
|
|
48317
|
+
if (m && (s instanceof Oe && t.deleteSelection(), t.split(t.mapping.map(a.pos), 1, g), h && !C && !a.parentOffset && a.parent.type !== h)) {
|
|
48318
48318
|
const y = t.mapping.map(a.before()), w = t.doc.resolve(y);
|
|
48319
48319
|
a.node(-1).canReplaceWith(w.index(), w.index() + 1, h) && t.setNodeMarkup(t.mapping.map(a.before()), h);
|
|
48320
48320
|
}
|
|
@@ -48353,7 +48353,7 @@ var gU1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: o, edito
|
|
|
48353
48353
|
if (O > -1)
|
|
48354
48354
|
return !1;
|
|
48355
48355
|
R.isTextblock && R.content.size === 0 && (O = Z + 1);
|
|
48356
|
-
}), O > -1 && n.setSelection(
|
|
48356
|
+
}), O > -1 && n.setSelection(Oe.near(n.doc.resolve(O))), n.scrollIntoView();
|
|
48357
48357
|
}
|
|
48358
48358
|
return !0;
|
|
48359
48359
|
}
|
|
@@ -48410,7 +48410,7 @@ function yU1(e) {
|
|
|
48410
48410
|
if (!n)
|
|
48411
48411
|
return null;
|
|
48412
48412
|
const o = t.resolve(1), i = t.resolve(n.nodeSize - 1);
|
|
48413
|
-
return
|
|
48413
|
+
return Oe.between(o, i);
|
|
48414
48414
|
}
|
|
48415
48415
|
var wU1 = (e, t, n, o = {}) => ({ editor: i, tr: s, state: r, dispatch: a, chain: l, commands: c, can: d }) => {
|
|
48416
48416
|
const { extensions: C, splittableMarks: h } = i.extensionManager, g = J3(e, r.schema), m = J3(t, r.schema), { selection: y, storedMarks: w } = r, { $from: b, $to: _ } = y, S = b.blockRange(_), k = w || y.$to.parentOffset && y.$from.marks();
|
|
@@ -51130,7 +51130,7 @@ var Gd = (e, t) => {
|
|
|
51130
51130
|
if (d.type !== t || !((n = d.lastChild) != null && n.isTextblock))
|
|
51131
51131
|
return !1;
|
|
51132
51132
|
const C = r.before(), g = C - 1 - 1, { tr: m } = o;
|
|
51133
|
-
return m.delete(C, r.after()).insert(g, r.parent.content), m.setSelection(
|
|
51133
|
+
return m.delete(C, r.after()).insert(g, r.parent.content), m.setSelection(Oe.create(m.doc, g)), i.dispatch(m.scrollIntoView()), !0;
|
|
51134
51134
|
}, gz1 = /^\s*>\s$/, mz1 = m6.create({
|
|
51135
51135
|
name: "blockquote",
|
|
51136
51136
|
addOptions() {
|
|
@@ -51458,7 +51458,7 @@ ${n}
|
|
|
51458
51458
|
let k = d;
|
|
51459
51459
|
for (let I = 0; I < m; I += 1)
|
|
51460
51460
|
k += g[I].length + 1;
|
|
51461
|
-
return a.delete(k, k + S), c - k <= S && a.setSelection(
|
|
51461
|
+
return a.delete(k, k + S), c - k <= S && a.setSelection(Oe.create(a.doc, k)), !0;
|
|
51462
51462
|
}) : e.commands.command(({ tr: a }) => {
|
|
51463
51463
|
const { from: l, to: c } = i, h = o.doc.textBetween(l, c, `
|
|
51464
51464
|
`, `
|
|
@@ -51530,7 +51530,7 @@ ${n}
|
|
|
51530
51530
|
const { tr: r, schema: a } = e.state, l = a.text(n.replace(/\r\n?/g, `
|
|
51531
51531
|
`));
|
|
51532
51532
|
return r.replaceSelectionWith(this.type.create({ language: s }, l)), r.selection.$from.parent.type !== this.type && r.setSelection(
|
|
51533
|
-
|
|
51533
|
+
Oe.near(r.doc.resolve(Math.max(0, r.selection.from - 2)))
|
|
51534
51534
|
), r.setMeta("paste", !0), e.dispatch(r), !0;
|
|
51535
51535
|
}
|
|
51536
51536
|
}
|
|
@@ -51692,10 +51692,10 @@ ${n}
|
|
|
51692
51692
|
if (a) {
|
|
51693
51693
|
const { $to: l } = r.selection, c = l.end();
|
|
51694
51694
|
if (l.nodeAfter)
|
|
51695
|
-
l.nodeAfter.isTextblock ? r.setSelection(
|
|
51695
|
+
l.nodeAfter.isTextblock ? r.setSelection(Oe.create(r.doc, l.pos + 1)) : l.nodeAfter.isBlock ? r.setSelection(Ie.create(r.doc, l.pos)) : r.setSelection(Oe.create(r.doc, l.pos));
|
|
51696
51696
|
else {
|
|
51697
51697
|
const d = s.schema.nodes[this.options.nextNodeType] || l.parent.type.contentMatch.defaultType, C = d?.create();
|
|
51698
|
-
C && (r.insert(c, C), r.setSelection(
|
|
51698
|
+
C && (r.insert(c, C), r.setSelection(Oe.create(r.doc, c + 1)));
|
|
51699
51699
|
}
|
|
51700
51700
|
r.scrollIntoView();
|
|
51701
51701
|
}
|
|
@@ -54352,7 +54352,7 @@ function ka(e, t) {
|
|
|
54352
54352
|
const n = e == "vert" ? t > 0 ? "down" : "up" : t > 0 ? "right" : "left";
|
|
54353
54353
|
return function(o, i, s) {
|
|
54354
54354
|
let r = o.selection, a = t > 0 ? r.$to : r.$from, l = r.empty;
|
|
54355
|
-
if (r instanceof
|
|
54355
|
+
if (r instanceof Oe) {
|
|
54356
54356
|
if (!s.endOfTextblock(n) || a.depth == 0)
|
|
54357
54357
|
return !1;
|
|
54358
54358
|
l = !1, a = o.doc.resolve(t > 0 ? a.after() : a.before());
|
|
@@ -54380,7 +54380,7 @@ function nG1(e, t) {
|
|
|
54380
54380
|
for (let r = o.length - 1; r >= 0; r--)
|
|
54381
54381
|
i = W1.from(o[r].createAndFill(null, i));
|
|
54382
54382
|
let s = e.state.tr.replace(n.pos, n.pos, new Ce(i, 0, 0));
|
|
54383
|
-
return s.setSelection(
|
|
54383
|
+
return s.setSelection(Oe.near(s.doc.resolve(n.pos + 1))), e.dispatch(s), !1;
|
|
54384
54384
|
}
|
|
54385
54385
|
function oG1(e) {
|
|
54386
54386
|
if (!(e.selection instanceof P3))
|
|
@@ -56276,7 +56276,7 @@ const ej1 = async () => typeof DOMParser < "u" ? new DOMParser() : (La || (La =
|
|
|
56276
56276
|
'applyLogoThemeToBrandPageNavigationStyles: Must provide "navigation"'
|
|
56277
56277
|
);
|
|
56278
56278
|
let n = !1;
|
|
56279
|
-
const i = t.viewport ===
|
|
56279
|
+
const i = t.viewport === R1.mobile ? new i7() : new v9();
|
|
56280
56280
|
for (const [s, r] of Object.entries(t))
|
|
56281
56281
|
if (typeof r == "string" || typeof r == "boolean")
|
|
56282
56282
|
if (typeof r == "string") {
|
|
@@ -56301,7 +56301,7 @@ const ej1 = async () => typeof DOMParser < "u" ? new DOMParser() : (La || (La =
|
|
|
56301
56301
|
);
|
|
56302
56302
|
const n = t.viewport;
|
|
56303
56303
|
let o = !1;
|
|
56304
|
-
const i = n ===
|
|
56304
|
+
const i = n === R1.mobile ? new mo() : new c0();
|
|
56305
56305
|
for (const [s, r] of Object.entries(t))
|
|
56306
56306
|
if (typeof r == "string" || typeof r == "boolean" || typeof r == "number")
|
|
56307
56307
|
i[s] = r;
|
|
@@ -56321,7 +56321,7 @@ const ej1 = async () => typeof DOMParser < "u" ? new DOMParser() : (La || (La =
|
|
|
56321
56321
|
);
|
|
56322
56322
|
const n = t.viewport;
|
|
56323
56323
|
let o = !1;
|
|
56324
|
-
const i = n ===
|
|
56324
|
+
const i = n === R1.mobile ? new Fs() : new Jn();
|
|
56325
56325
|
for (const [s, r] of Object.entries(t))
|
|
56326
56326
|
if (typeof r == "string" || typeof r == "boolean" || typeof r == "number")
|
|
56327
56327
|
i[s] = r;
|
|
@@ -57580,7 +57580,7 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
57580
57580
|
onClicked: (a) => {
|
|
57581
57581
|
process.env.NODE_ENV !== "production" && console.error(`Unhandled onClicked: ${JSON.stringify(a)}`);
|
|
57582
57582
|
},
|
|
57583
|
-
buttonLinkType:
|
|
57583
|
+
buttonLinkType: Pe.url,
|
|
57584
57584
|
pageSlug: e.page || ""
|
|
57585
57585
|
},
|
|
57586
57586
|
t
|
|
@@ -57596,11 +57596,11 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
57596
57596
|
const i = {
|
|
57597
57597
|
...e.titleStyle,
|
|
57598
57598
|
fontSize: e.titleStyle?.fontSize || X5,
|
|
57599
|
-
lineHeight: e.titleStyle?.lineHeight ||
|
|
57599
|
+
lineHeight: e.titleStyle?.lineHeight || $e
|
|
57600
57600
|
}, s = {
|
|
57601
57601
|
...e.descriptionStyle,
|
|
57602
57602
|
fontSize: e.descriptionStyle?.fontSize || X5,
|
|
57603
|
-
lineHeight: e.descriptionStyle?.lineHeight ||
|
|
57603
|
+
lineHeight: e.descriptionStyle?.lineHeight || $e
|
|
57604
57604
|
}, r = {
|
|
57605
57605
|
...e.nameStyle,
|
|
57606
57606
|
fontSize: e.nameStyle?.fontSize || ww,
|
|
@@ -57626,7 +57626,7 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
57626
57626
|
} : void 0;
|
|
57627
57627
|
i = _R(i);
|
|
57628
57628
|
const s = {
|
|
57629
|
-
lineHeight:
|
|
57629
|
+
lineHeight: $e,
|
|
57630
57630
|
...e.textSize,
|
|
57631
57631
|
...e.textAlignment,
|
|
57632
57632
|
...e.textColor,
|
|
@@ -58023,10 +58023,10 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
58023
58023
|
galleryStyles: e.galleryStyles,
|
|
58024
58024
|
colors: e.colors ?? []
|
|
58025
58025
|
}), ox = {
|
|
58026
|
-
[
|
|
58027
|
-
[
|
|
58028
|
-
[
|
|
58029
|
-
[
|
|
58026
|
+
[Pe.url]: "general-link",
|
|
58027
|
+
[Pe.page]: "general-link",
|
|
58028
|
+
[Pe.mailTo]: "email",
|
|
58029
|
+
[Pe.tel]: "phone"
|
|
58030
58030
|
}, NW1 = (e, t) => {
|
|
58031
58031
|
if (!e?.isVisible || !e.text?.trim())
|
|
58032
58032
|
return;
|
|
@@ -58036,7 +58036,7 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
58036
58036
|
{
|
|
58037
58037
|
id: "page-header-button",
|
|
58038
58038
|
// Old saved data may have no link kind — treat it as a url.
|
|
58039
|
-
type: ox[e.buttonLinkType] ?? ox[
|
|
58039
|
+
type: ox[e.buttonLinkType] ?? ox[Pe.url],
|
|
58040
58040
|
iconUrl: "",
|
|
58041
58041
|
modalImageUrl: "",
|
|
58042
58042
|
colorReplacements: [],
|
|
@@ -58044,7 +58044,7 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
58044
58044
|
titleStyle: n,
|
|
58045
58045
|
url: e.url ?? "",
|
|
58046
58046
|
page: e.buttonPageId ?? "",
|
|
58047
|
-
clickActionField: e.buttonLinkType ===
|
|
58047
|
+
clickActionField: e.buttonLinkType === Pe.page ? "page" : "url"
|
|
58048
58048
|
},
|
|
58049
58049
|
t,
|
|
58050
58050
|
{ titleStyle: n }
|
|
@@ -58115,7 +58115,7 @@ const ng = /* @__PURE__ */ lt(CW1), rR = (e) => {
|
|
|
58115
58115
|
displayStyle: e.displayStyle,
|
|
58116
58116
|
logo: av(s, r, o),
|
|
58117
58117
|
pages: n.filter((_) => !_.isHidden),
|
|
58118
|
-
navigation: i ===
|
|
58118
|
+
navigation: i === R1.mobile ? new i7({
|
|
58119
58119
|
...e.navigation,
|
|
58120
58120
|
defaultButtonStyle: l,
|
|
58121
58121
|
selectedButtonStyle: C,
|
|
@@ -59074,8 +59074,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
59074
59074
|
return !1;
|
|
59075
59075
|
}
|
|
59076
59076
|
O = D.join("@"), Z = null, z = null;
|
|
59077
|
-
var
|
|
59078
|
-
if (
|
|
59077
|
+
var we = O.match(w);
|
|
59078
|
+
if (we ? (I = "", z = we[1], Z = we[2] || null) : (D = O.split(":"), I = D.shift(), D.length && (Z = D.join(":"))), Z !== null && Z.length > 0) {
|
|
59079
59079
|
if (R = parseInt(Z, 10), !/^[0-9]+$/.test(Z) || R <= 0 || R > 65535)
|
|
59080
59080
|
return !1;
|
|
59081
59081
|
} else if (S.require_port)
|
|
@@ -60995,7 +60995,7 @@ function GK1() {
|
|
|
60995
60995
|
if (P1.has(y1)) return P1.get(y1);
|
|
60996
60996
|
P1.set(y1, ae);
|
|
60997
60997
|
}
|
|
60998
|
-
for (var
|
|
60998
|
+
for (var Be in y1) Be !== "default" && {}.hasOwnProperty.call(y1, Be) && ((j1 = (P1 = Object.defineProperty) && Object.getOwnPropertyDescriptor(y1, Be)) && (j1.get || j1.set) ? P1(ae, Be, j1) : ae[Be] = y1[Be]);
|
|
60999
60999
|
return ae;
|
|
61000
61000
|
})(X, t1);
|
|
61001
61001
|
}
|
|
@@ -61033,23 +61033,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61033
61033
|
var D1 = "".concat(t1, "/").concat(v1, "/").concat(X.slice(4, 6));
|
|
61034
61034
|
if (!(0, s.default)(D1, "YYYY/MM/DD"))
|
|
61035
61035
|
return !1;
|
|
61036
|
-
for (var
|
|
61036
|
+
for (var F1 = X.split("").map(function(j1) {
|
|
61037
61037
|
return parseInt(j1, 10);
|
|
61038
61038
|
}), y1 = [2, 4, 8, 5, 10, 9, 7, 3, 6], M1 = 0, P1 = 0; P1 < y1.length; P1++)
|
|
61039
|
-
M1 +=
|
|
61040
|
-
return M1 = M1 % 11 === 10 ? 0 : M1 % 11, M1 ===
|
|
61039
|
+
M1 += F1[P1] * y1[P1];
|
|
61040
|
+
return M1 = M1 % 11 === 10 ? 0 : M1 % 11, M1 === F1[9];
|
|
61041
61041
|
}
|
|
61042
61042
|
function y(X) {
|
|
61043
|
-
var t1 = X.split(""), v1 = t1.filter(function(
|
|
61043
|
+
var t1 = X.split(""), v1 = t1.filter(function(F1, y1) {
|
|
61044
61044
|
return y1 % 2;
|
|
61045
|
-
}).map(function(
|
|
61046
|
-
return Number(
|
|
61047
|
-
}).join("").split(""), D1 = t1.filter(function(
|
|
61045
|
+
}).map(function(F1) {
|
|
61046
|
+
return Number(F1) * 2;
|
|
61047
|
+
}).join("").split(""), D1 = t1.filter(function(F1, y1) {
|
|
61048
61048
|
return !(y1 % 2);
|
|
61049
|
-
}).concat(v1).map(function(
|
|
61050
|
-
return Number(
|
|
61051
|
-
}).reduce(function(
|
|
61052
|
-
return
|
|
61049
|
+
}).concat(v1).map(function(F1) {
|
|
61050
|
+
return Number(F1);
|
|
61051
|
+
}).reduce(function(F1, y1) {
|
|
61052
|
+
return F1 + y1;
|
|
61053
61053
|
});
|
|
61054
61054
|
return D1 % 10 === 0;
|
|
61055
61055
|
}
|
|
@@ -61078,8 +61078,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61078
61078
|
if (!(0, s.default)(D1, "YYYY/MM/DD"))
|
|
61079
61079
|
return !1;
|
|
61080
61080
|
if (X.length === 10 && parseInt(X, 10) % 11 !== 0) {
|
|
61081
|
-
var
|
|
61082
|
-
if (parseInt(t1, 10) < 1986 &&
|
|
61081
|
+
var F1 = parseInt(X.slice(0, 9), 10) % 11;
|
|
61082
|
+
if (parseInt(t1, 10) < 1986 && F1 === 10) {
|
|
61083
61083
|
if (parseInt(X.slice(9), 10) !== 0)
|
|
61084
61084
|
return !1;
|
|
61085
61085
|
} else
|
|
@@ -61095,8 +61095,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61095
61095
|
return parseInt(j1, 10);
|
|
61096
61096
|
}), v1 = [], D1 = 0; D1 < t1.length - 1; D1++) {
|
|
61097
61097
|
v1.push("");
|
|
61098
|
-
for (var
|
|
61099
|
-
t1[D1] === t1[
|
|
61098
|
+
for (var F1 = 0; F1 < t1.length - 1; F1++)
|
|
61099
|
+
t1[D1] === t1[F1] && (v1[D1] += F1);
|
|
61100
61100
|
}
|
|
61101
61101
|
if (v1 = v1.filter(function(j1) {
|
|
61102
61102
|
return j1.length > 1;
|
|
@@ -61139,24 +61139,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61139
61139
|
var D1 = "".concat(t1, "/").concat(X.slice(2, 4), "/").concat(X.slice(0, 2));
|
|
61140
61140
|
if (!(0, s.default)(D1, "YYYY/MM/DD"))
|
|
61141
61141
|
return !1;
|
|
61142
|
-
for (var
|
|
61142
|
+
for (var F1 = X.split("").map(function(j1) {
|
|
61143
61143
|
return parseInt(j1, 10);
|
|
61144
61144
|
}), y1 = 0, M1 = 4, P1 = 0; P1 < 9; P1++)
|
|
61145
|
-
y1 +=
|
|
61146
|
-
return y1 %= 11, y1 === 1 ? !1 : y1 === 0 ?
|
|
61145
|
+
y1 += F1[P1] * M1, M1 -= 1, M1 === 1 && (M1 = 7);
|
|
61146
|
+
return y1 %= 11, y1 === 1 ? !1 : y1 === 0 ? F1[9] === 0 : F1[9] === 11 - y1;
|
|
61147
61147
|
}
|
|
61148
61148
|
function k(X) {
|
|
61149
61149
|
for (var t1 = X.slice(0, 8).split("").map(function(y1) {
|
|
61150
61150
|
return parseInt(y1, 10);
|
|
61151
61151
|
}), v1 = 0, D1 = 1; D1 < t1.length; D1 += 2)
|
|
61152
61152
|
v1 += t1[D1];
|
|
61153
|
-
for (var
|
|
61154
|
-
t1[
|
|
61153
|
+
for (var F1 = 0; F1 < t1.length; F1 += 2)
|
|
61154
|
+
t1[F1] < 2 ? v1 += 1 - t1[F1] : (v1 += 2 * (t1[F1] - 2) + 5, t1[F1] > 4 && (v1 += 2));
|
|
61155
61155
|
return String.fromCharCode(v1 % 26 + 65) === X.charAt(8);
|
|
61156
61156
|
}
|
|
61157
61157
|
function x(X) {
|
|
61158
|
-
for (var t1 = X.split("").map(function(
|
|
61159
|
-
return parseInt(
|
|
61158
|
+
for (var t1 = X.split("").map(function(F1) {
|
|
61159
|
+
return parseInt(F1, 10);
|
|
61160
61160
|
}), v1 = 0, D1 = 0; D1 < 8; D1++)
|
|
61161
61161
|
v1 += t1[D1] * Math.pow(2, 8 - D1);
|
|
61162
61162
|
return v1 % 11 % 10 === t1[8];
|
|
@@ -61191,8 +61191,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61191
61191
|
return R().indexOf(X.slice(0, 2)) !== -1;
|
|
61192
61192
|
}
|
|
61193
61193
|
function D(X) {
|
|
61194
|
-
for (var t1 = 0, v1 = X.split(""), D1 = parseInt(v1.pop(), 10),
|
|
61195
|
-
t1 += v1[9 -
|
|
61194
|
+
for (var t1 = 0, v1 = X.split(""), D1 = parseInt(v1.pop(), 10), F1 = 0; F1 < v1.length; F1++)
|
|
61195
|
+
t1 += v1[9 - F1] * (2 + F1 % 6);
|
|
61196
61196
|
var y1 = 11 - t1 % 11;
|
|
61197
61197
|
return y1 === 11 ? y1 = 0 : y1 === 10 && (y1 = 9), D1 === y1;
|
|
61198
61198
|
}
|
|
@@ -61214,8 +61214,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61214
61214
|
t1.unshift(0);
|
|
61215
61215
|
var D1 = ["T", "R", "W", "A", "G", "M", "Y", "F", "P", "D", "X", "B", "N", "J", "Z", "S", "Q", "V", "H", "L", "C", "K", "E"];
|
|
61216
61216
|
t1 = t1.join("");
|
|
61217
|
-
var
|
|
61218
|
-
return t1[8] === D1[
|
|
61217
|
+
var F1 = parseInt(t1.slice(0, 8), 10) % 23;
|
|
61218
|
+
return t1[8] === D1[F1];
|
|
61219
61219
|
}
|
|
61220
61220
|
function K(X) {
|
|
61221
61221
|
var t1 = X.slice(1, 3), v1 = X.slice(0, 1);
|
|
@@ -61235,18 +61235,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61235
61235
|
var D1 = "".concat(t1, "/").concat(X.slice(3, 5), "/").concat(X.slice(5, 7));
|
|
61236
61236
|
if (!(0, s.default)(D1, "YYYY/MM/DD"))
|
|
61237
61237
|
return !1;
|
|
61238
|
-
for (var
|
|
61238
|
+
for (var F1 = X.split("").map(function(ae) {
|
|
61239
61239
|
return parseInt(ae, 10);
|
|
61240
61240
|
}), y1 = 0, M1 = 1, P1 = 0; P1 < 10; P1++)
|
|
61241
|
-
y1 +=
|
|
61241
|
+
y1 += F1[P1] * M1, M1 += 1, M1 === 10 && (M1 = 1);
|
|
61242
61242
|
if (y1 % 11 === 10) {
|
|
61243
61243
|
y1 = 0, M1 = 3;
|
|
61244
61244
|
for (var j1 = 0; j1 < 10; j1++)
|
|
61245
|
-
y1 +=
|
|
61245
|
+
y1 += F1[j1] * M1, M1 += 1, M1 === 10 && (M1 = 1);
|
|
61246
61246
|
if (y1 % 11 === 10)
|
|
61247
|
-
return
|
|
61247
|
+
return F1[10] === 0;
|
|
61248
61248
|
}
|
|
61249
|
-
return y1 % 11 ===
|
|
61249
|
+
return y1 % 11 === F1[10];
|
|
61250
61250
|
}
|
|
61251
61251
|
function U(X) {
|
|
61252
61252
|
var t1 = X.slice(4, 6), v1 = X.slice(6, 7);
|
|
@@ -61264,12 +61264,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61264
61264
|
var D1 = "".concat(t1, "/").concat(X.slice(2, 4), "/").concat(X.slice(0, 2));
|
|
61265
61265
|
if (!(0, s.default)(D1, "YYYY/MM/DD"))
|
|
61266
61266
|
return !1;
|
|
61267
|
-
var
|
|
61268
|
-
if (
|
|
61269
|
-
return
|
|
61270
|
-
|
|
61267
|
+
var F1 = parseInt(X.slice(0, 6) + X.slice(7, 10), 10) % 31;
|
|
61268
|
+
if (F1 < 10)
|
|
61269
|
+
return F1 === parseInt(X.slice(10), 10);
|
|
61270
|
+
F1 -= 10;
|
|
61271
61271
|
var y1 = ["A", "B", "C", "D", "E", "F", "H", "J", "K", "L", "M", "N", "P", "R", "S", "T", "U", "V", "W", "X", "Y"];
|
|
61272
|
-
return y1[
|
|
61272
|
+
return y1[F1] === X.slice(10);
|
|
61273
61273
|
}
|
|
61274
61274
|
function Q(X) {
|
|
61275
61275
|
if (X.slice(2, 4) !== "00" || X.slice(4, 6) !== "00") {
|
|
@@ -61293,8 +61293,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61293
61293
|
return i.iso7064Check(X);
|
|
61294
61294
|
}
|
|
61295
61295
|
function Y(X) {
|
|
61296
|
-
for (var t1 = X.split("").map(function(
|
|
61297
|
-
return parseInt(
|
|
61296
|
+
for (var t1 = X.split("").map(function(F1) {
|
|
61297
|
+
return parseInt(F1, 10);
|
|
61298
61298
|
}), v1 = 8, D1 = 1; D1 < 9; D1++)
|
|
61299
61299
|
v1 += t1[D1] * (D1 + 1);
|
|
61300
61300
|
return v1 % 11 === t1[9];
|
|
@@ -61324,8 +61324,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61324
61324
|
T: "7",
|
|
61325
61325
|
U: "8",
|
|
61326
61326
|
V: "9"
|
|
61327
|
-
},
|
|
61328
|
-
var M1 = y1[
|
|
61327
|
+
}, F1 = 0, y1 = v1; F1 < y1.length; F1++) {
|
|
61328
|
+
var M1 = y1[F1];
|
|
61329
61329
|
t1[M1] in D1 && t1.splice(M1, 1, D1[t1[M1]]);
|
|
61330
61330
|
}
|
|
61331
61331
|
var P1 = {
|
|
@@ -61343,8 +61343,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61343
61343
|
T: "12"
|
|
61344
61344
|
}, j1 = P1[t1[8]], ae = parseInt(t1[9] + t1[10], 10);
|
|
61345
61345
|
ae > 40 && (ae -= 40), ae < 10 && (ae = "0".concat(ae));
|
|
61346
|
-
var
|
|
61347
|
-
if (!(0, s.default)(
|
|
61346
|
+
var Be = "".concat(t1[6]).concat(t1[7], "/").concat(j1, "/").concat(ae);
|
|
61347
|
+
if (!(0, s.default)(Be, "YY/MM/DD"))
|
|
61348
61348
|
return !1;
|
|
61349
61349
|
for (var s2 = 0, J1 = 1; J1 < t1.length - 1; J1 += 2) {
|
|
61350
61350
|
var s1 = parseInt(t1[J1], 10);
|
|
@@ -61380,12 +61380,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61380
61380
|
Z: 23,
|
|
61381
61381
|
0: 1,
|
|
61382
61382
|
1: 0
|
|
61383
|
-
},
|
|
61383
|
+
}, Z1 = 0; Z1 < t1.length - 1; Z1 += 2) {
|
|
61384
61384
|
var Ke = 0;
|
|
61385
|
-
if (t1[
|
|
61386
|
-
Ke = E1[t1[
|
|
61385
|
+
if (t1[Z1] in E1)
|
|
61386
|
+
Ke = E1[t1[Z1]];
|
|
61387
61387
|
else {
|
|
61388
|
-
var h3 = parseInt(t1[
|
|
61388
|
+
var h3 = parseInt(t1[Z1], 10);
|
|
61389
61389
|
Ke = 2 * h3 + 1, h3 > 4 && (Ke += 2);
|
|
61390
61390
|
}
|
|
61391
61391
|
s2 += Ke;
|
|
@@ -61410,8 +61410,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61410
61410
|
D1 = "20".concat(D1);
|
|
61411
61411
|
break;
|
|
61412
61412
|
}
|
|
61413
|
-
var
|
|
61414
|
-
if (!(0, s.default)(
|
|
61413
|
+
var F1 = "".concat(D1, "/").concat(X.slice(2, 4), "/").concat(t1);
|
|
61414
|
+
if (!(0, s.default)(F1, "YYYY/MM/DD"))
|
|
61415
61415
|
return !1;
|
|
61416
61416
|
}
|
|
61417
61417
|
for (var y1 = 1101, M1 = [1, 6, 3, 7, 9, 10, 5, 8, 4, 2], P1 = 0; P1 < X.length - 1; P1++)
|
|
@@ -61453,9 +61453,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61453
61453
|
v1 += parseInt(X[D1], 10) * t1[D1];
|
|
61454
61454
|
return v1 %= 11, v1 === 10 ? !1 : v1 === parseInt(X[9], 10);
|
|
61455
61455
|
}
|
|
61456
|
-
var
|
|
61457
|
-
y1 > 80 ? (
|
|
61458
|
-
var M1 = "".concat(
|
|
61456
|
+
var F1 = X.slice(0, 2), y1 = parseInt(X.slice(2, 4), 10);
|
|
61457
|
+
y1 > 80 ? (F1 = "18".concat(F1), y1 -= 80) : y1 > 60 ? (F1 = "22".concat(F1), y1 -= 60) : y1 > 40 ? (F1 = "21".concat(F1), y1 -= 40) : y1 > 20 ? (F1 = "20".concat(F1), y1 -= 20) : F1 = "19".concat(F1), y1 < 10 && (y1 = "0".concat(y1));
|
|
61458
|
+
var M1 = "".concat(F1, "/").concat(y1, "/").concat(X.slice(4, 6));
|
|
61459
61459
|
if (!(0, s.default)(M1, "YYYY/MM/DD"))
|
|
61460
61460
|
return !1;
|
|
61461
61461
|
for (var P1 = 0, j1 = 1, ae = 0; ae < X.length - 1; ae++)
|
|
@@ -61470,7 +61470,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61470
61470
|
for (var D1 = 1; D1 <= 9; D1++) t1 += parseInt(X.substring(D1 - 1, D1), 10) * (11 - D1);
|
|
61471
61471
|
if (v1 = t1 * 10 % 11, v1 === 10 && (v1 = 0), v1 !== parseInt(X.substring(9, 10), 10)) return !1;
|
|
61472
61472
|
t1 = 0;
|
|
61473
|
-
for (var
|
|
61473
|
+
for (var F1 = 1; F1 <= 10; F1++) t1 += parseInt(X.substring(F1 - 1, F1), 10) * (12 - F1);
|
|
61474
61474
|
return v1 = t1 * 10 % 11, v1 === 10 && (v1 = 0), v1 === parseInt(X.substring(10, 11), 10);
|
|
61475
61475
|
}
|
|
61476
61476
|
if (
|
|
@@ -61478,8 +61478,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61478
61478
|
X === "00000000000000" || X === "11111111111111" || X === "22222222222222" || X === "33333333333333" || X === "44444444444444" || X === "55555555555555" || X === "66666666666666" || X === "77777777777777" || X === "88888888888888" || X === "99999999999999"
|
|
61479
61479
|
)
|
|
61480
61480
|
return !1;
|
|
61481
|
-
for (var y1 = X.length - 2, M1 = X.substring(0, y1), P1 = X.substring(y1), j1 = 0, ae = y1 - 7,
|
|
61482
|
-
j1 += M1.charAt(y1 -
|
|
61481
|
+
for (var y1 = X.length - 2, M1 = X.substring(0, y1), P1 = X.substring(y1), j1 = 0, ae = y1 - 7, Be = y1; Be >= 1; Be--)
|
|
61482
|
+
j1 += M1.charAt(y1 - Be) * ae, ae -= 1, ae < 2 && (ae = 9);
|
|
61483
61483
|
var s2 = j1 % 11 < 2 ? 0 : 11 - j1 % 11;
|
|
61484
61484
|
if (s2 !== parseInt(P1.charAt(0), 10))
|
|
61485
61485
|
return !1;
|
|
@@ -61519,8 +61519,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61519
61519
|
return !1;
|
|
61520
61520
|
for (var D1 = X.split("").map(function(P1) {
|
|
61521
61521
|
return parseInt(P1, 10);
|
|
61522
|
-
}),
|
|
61523
|
-
y1 += D1[M1] *
|
|
61522
|
+
}), F1 = [2, 7, 9, 1, 4, 6, 3, 5, 8, 2, 7, 9], y1 = 0, M1 = 0; M1 < F1.length; M1++)
|
|
61523
|
+
y1 += D1[M1] * F1[M1];
|
|
61524
61524
|
return y1 % 11 === 10 ? D1[12] === 1 : D1[12] === y1 % 11;
|
|
61525
61525
|
}
|
|
61526
61526
|
return !0;
|
|
@@ -61547,21 +61547,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61547
61547
|
}), 8) % 11;
|
|
61548
61548
|
return t1 === 10 ? parseInt(X[7], 10) === 0 : t1 === parseInt(X[7], 10);
|
|
61549
61549
|
}
|
|
61550
|
-
function
|
|
61550
|
+
function we(X) {
|
|
61551
61551
|
var t1 = X.slice(0);
|
|
61552
61552
|
X.length > 11 && (t1 = t1.slice(2));
|
|
61553
|
-
var v1 = "", D1 = t1.slice(2, 4),
|
|
61553
|
+
var v1 = "", D1 = t1.slice(2, 4), F1 = parseInt(t1.slice(4, 6), 10);
|
|
61554
61554
|
if (X.length > 11)
|
|
61555
61555
|
v1 = X.slice(0, 4);
|
|
61556
|
-
else if (v1 = X.slice(0, 2), X.length === 11 &&
|
|
61556
|
+
else if (v1 = X.slice(0, 2), X.length === 11 && F1 < 60) {
|
|
61557
61557
|
var y1 = (/* @__PURE__ */ new Date()).getFullYear().toString(), M1 = parseInt(y1.slice(0, 2), 10);
|
|
61558
61558
|
if (y1 = parseInt(y1, 10), X[6] === "-")
|
|
61559
61559
|
parseInt("".concat(M1).concat(v1), 10) > y1 ? v1 = "".concat(M1 - 1).concat(v1) : v1 = "".concat(M1).concat(v1);
|
|
61560
61560
|
else if (v1 = "".concat(M1 - 1).concat(v1), y1 - parseInt(v1, 10) < 100)
|
|
61561
61561
|
return !1;
|
|
61562
61562
|
}
|
|
61563
|
-
|
|
61564
|
-
var P1 = "".concat(v1, "/").concat(D1, "/").concat(
|
|
61563
|
+
F1 > 60 && (F1 -= 60), F1 < 10 && (F1 = "0".concat(F1));
|
|
61564
|
+
var P1 = "".concat(v1, "/").concat(D1, "/").concat(F1);
|
|
61565
61565
|
if (P1.length === 8) {
|
|
61566
61566
|
if (!(0, s.default)(P1, "YY/MM/DD"))
|
|
61567
61567
|
return !1;
|
|
@@ -61572,8 +61572,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61572
61572
|
function We(X) {
|
|
61573
61573
|
for (var t1 = X.split("").map(function(y1) {
|
|
61574
61574
|
return parseInt(y1, 10);
|
|
61575
|
-
}), v1 = [-1, 5, 7, 9, 4, 6, 10, 5, 7], D1 = 0,
|
|
61576
|
-
D1 += t1[
|
|
61575
|
+
}), v1 = [-1, 5, 7, 9, 4, 6, 10, 5, 7], D1 = 0, F1 = 0; F1 < v1.length; F1++)
|
|
61576
|
+
D1 += t1[F1] * v1[F1];
|
|
61577
61577
|
return D1 % 11 === 10 ? t1[9] === 0 : t1[9] === D1 % 11;
|
|
61578
61578
|
}
|
|
61579
61579
|
var Ye = {
|
|
@@ -61643,7 +61643,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61643
61643
|
"ro-RO": N1,
|
|
61644
61644
|
"sk-SK": se,
|
|
61645
61645
|
"sl-SI": he,
|
|
61646
|
-
"sv-SE":
|
|
61646
|
+
"sv-SE": we,
|
|
61647
61647
|
"uk-UA": We
|
|
61648
61648
|
};
|
|
61649
61649
|
Ee["lb-LU"] = Ee["fr-LU"], Ee["lt-LT"] = Ee["et-EE"], Ee["nl-BE"] = Ee["fr-BE"], Ee["fr-CA"] = Ee["en-CA"];
|
|
@@ -63110,7 +63110,7 @@ function _Y1() {
|
|
|
63110
63110
|
Object.defineProperty(t, "__esModule", {
|
|
63111
63111
|
value: !0
|
|
63112
63112
|
}), t.default = void 0;
|
|
63113
|
-
var o = A1(/* @__PURE__ */ dv()), i = A1(/* @__PURE__ */ jR()), s = A1(/* @__PURE__ */ WW1()), r = A1(/* @__PURE__ */ KW1()), a = A1(/* @__PURE__ */ YW1()), l = A1(/* @__PURE__ */ XW1()), c = A1(/* @__PURE__ */ JW1()), d = A1(/* @__PURE__ */ XR()), C = A1(/* @__PURE__ */ QW1()), h = A1(/* @__PURE__ */ eK1()), g = A1(/* @__PURE__ */ Ru()), m = A1(/* @__PURE__ */ tK1()), y = A1(/* @__PURE__ */ Cv()), w = A1(/* @__PURE__ */ QR()), b = A1(/* @__PURE__ */ nK1()), _ = A1(/* @__PURE__ */ oK1()), S = A1(/* @__PURE__ */ iK1()), k = A1(/* @__PURE__ */ sK1()), x = pe(/* @__PURE__ */ rK1()), I = pe(/* @__PURE__ */ aK1()), O = A1(/* @__PURE__ */ lK1()), R = pe(/* @__PURE__ */ cK1()), Z = A1(/* @__PURE__ */ dK1()), D = A1(/* @__PURE__ */ CK1()), z = A1(/* @__PURE__ */ uK1()), K = A1(/* @__PURE__ */ pK1()), U = A1(/* @__PURE__ */ fK1()), Q = A1(/* @__PURE__ */ eZ()), j = A1(/* @__PURE__ */ tZ()), n1 = A1(/* @__PURE__ */ hK1()), g1 = A1(/* @__PURE__ */ gK1()), Y = A1(/* @__PURE__ */ yK1()), J = A1(/* @__PURE__ */ wK1()), q = A1(/* @__PURE__ */ uv()), r1 = pe(/* @__PURE__ */ GR()), x1 = A1(/* @__PURE__ */ bK1()), L1 = A1(/* @__PURE__ */ nZ()), $1 = A1(/* @__PURE__ */ vK1()), p1 = A1(/* @__PURE__ */ SK1()), G1 = A1(/* @__PURE__ */ CO()), N1 = A1(/* @__PURE__ */ _K1()), se = A1(/* @__PURE__ */ MK1()), he = A1(/* @__PURE__ */ kK1()),
|
|
63113
|
+
var o = A1(/* @__PURE__ */ dv()), i = A1(/* @__PURE__ */ jR()), s = A1(/* @__PURE__ */ WW1()), r = A1(/* @__PURE__ */ KW1()), a = A1(/* @__PURE__ */ YW1()), l = A1(/* @__PURE__ */ XW1()), c = A1(/* @__PURE__ */ JW1()), d = A1(/* @__PURE__ */ XR()), C = A1(/* @__PURE__ */ QW1()), h = A1(/* @__PURE__ */ eK1()), g = A1(/* @__PURE__ */ Ru()), m = A1(/* @__PURE__ */ tK1()), y = A1(/* @__PURE__ */ Cv()), w = A1(/* @__PURE__ */ QR()), b = A1(/* @__PURE__ */ nK1()), _ = A1(/* @__PURE__ */ oK1()), S = A1(/* @__PURE__ */ iK1()), k = A1(/* @__PURE__ */ sK1()), x = pe(/* @__PURE__ */ rK1()), I = pe(/* @__PURE__ */ aK1()), O = A1(/* @__PURE__ */ lK1()), R = pe(/* @__PURE__ */ cK1()), Z = A1(/* @__PURE__ */ dK1()), D = A1(/* @__PURE__ */ CK1()), z = A1(/* @__PURE__ */ uK1()), K = A1(/* @__PURE__ */ pK1()), U = A1(/* @__PURE__ */ fK1()), Q = A1(/* @__PURE__ */ eZ()), j = A1(/* @__PURE__ */ tZ()), n1 = A1(/* @__PURE__ */ hK1()), g1 = A1(/* @__PURE__ */ gK1()), Y = A1(/* @__PURE__ */ yK1()), J = A1(/* @__PURE__ */ wK1()), q = A1(/* @__PURE__ */ uv()), r1 = pe(/* @__PURE__ */ GR()), x1 = A1(/* @__PURE__ */ bK1()), L1 = A1(/* @__PURE__ */ nZ()), $1 = A1(/* @__PURE__ */ vK1()), p1 = A1(/* @__PURE__ */ SK1()), G1 = A1(/* @__PURE__ */ CO()), N1 = A1(/* @__PURE__ */ _K1()), se = A1(/* @__PURE__ */ MK1()), he = A1(/* @__PURE__ */ kK1()), we = pe(/* @__PURE__ */ LK1()), We = A1(/* @__PURE__ */ TK1()), Ye = A1(/* @__PURE__ */ xK1()), Ee = A1(/* @__PURE__ */ VK1()), Qe = A1(/* @__PURE__ */ HK1()), o2 = A1(/* @__PURE__ */ IK1()), k2 = A1(/* @__PURE__ */ EK1()), X = A1(/* @__PURE__ */ PK1()), t1 = A1(/* @__PURE__ */ YR()), v1 = A1(/* @__PURE__ */ AK1()), D1 = A1(/* @__PURE__ */ $K1()), F1 = A1(/* @__PURE__ */ OK1()), y1 = A1(/* @__PURE__ */ BK1()), M1 = A1(/* @__PURE__ */ DK1()), P1 = A1(/* @__PURE__ */ NK1()), j1 = A1(/* @__PURE__ */ sZ()), ae = A1(/* @__PURE__ */ RK1()), Be = A1(/* @__PURE__ */ ZK1()), s2 = A1(/* @__PURE__ */ FK1()), J1 = A1(/* @__PURE__ */ UK1()), s1 = A1(/* @__PURE__ */ zK1()), E1 = A1(/* @__PURE__ */ qK1()), Z1 = A1(/* @__PURE__ */ GK1()), Ke = pe(/* @__PURE__ */ jK1()), h3 = A1(/* @__PURE__ */ WK1()), c3 = A1(/* @__PURE__ */ KK1()), L4 = A1(/* @__PURE__ */ YK1()), M3 = /* @__PURE__ */ XK1(), g3 = A1(/* @__PURE__ */ JK1()), $5 = A1(/* @__PURE__ */ QK1()), B3 = A1(/* @__PURE__ */ eY1()), q3 = A1(/* @__PURE__ */ tY1()), G4 = A1(/* @__PURE__ */ oZ()), n6 = A1(/* @__PURE__ */ nY1()), Ct = A1(/* @__PURE__ */ oY1()), M7 = A1(/* @__PURE__ */ iY1()), d3 = A1(/* @__PURE__ */ sY1()), y6 = A1(/* @__PURE__ */ rY1()), p8 = A1(/* @__PURE__ */ iZ()), ut = A1(/* @__PURE__ */ aY1()), u5 = A1(/* @__PURE__ */ lY1()), f8 = A1(/* @__PURE__ */ cY1()), pt = A1(/* @__PURE__ */ dY1()), h8 = A1(/* @__PURE__ */ CY1()), T4 = pe(/* @__PURE__ */ uY1()), o6 = A1(/* @__PURE__ */ lZ()), j4 = A1(/* @__PURE__ */ aZ()), K6 = A1(/* @__PURE__ */ cZ()), ft = A1(/* @__PURE__ */ pY1()), ht = A1(/* @__PURE__ */ fY1()), p5 = A1(/* @__PURE__ */ hY1()), g8 = A1(/* @__PURE__ */ gY1()), i6 = A1(/* @__PURE__ */ dZ()), gt = A1(/* @__PURE__ */ mY1()), m8 = A1(/* @__PURE__ */ yY1()), y8 = A1(/* @__PURE__ */ wY1()), ke = A1(/* @__PURE__ */ bY1()), l1 = A1(/* @__PURE__ */ vY1()), K1 = A1(/* @__PURE__ */ SY1());
|
|
63114
63114
|
function pe(X2, L3) {
|
|
63115
63115
|
if (typeof WeakMap == "function") var s6 = /* @__PURE__ */ new WeakMap(), w6 = /* @__PURE__ */ new WeakMap();
|
|
63116
63116
|
return (pe = function(z2, Y6) {
|
|
@@ -63144,7 +63144,7 @@ function _Y1() {
|
|
|
63144
63144
|
isIPRange: m.default,
|
|
63145
63145
|
isFQDN: y.default,
|
|
63146
63146
|
isBoolean: _.default,
|
|
63147
|
-
isIBAN:
|
|
63147
|
+
isIBAN: we.default,
|
|
63148
63148
|
isBIC: We.default,
|
|
63149
63149
|
isAbaRouting: k.default,
|
|
63150
63150
|
isAlpha: x.default,
|
|
@@ -63186,13 +63186,13 @@ function _Y1() {
|
|
|
63186
63186
|
isByteLength: t1.default,
|
|
63187
63187
|
isULID: v1.default,
|
|
63188
63188
|
isUUID: D1.default,
|
|
63189
|
-
isMongoId:
|
|
63189
|
+
isMongoId: F1.default,
|
|
63190
63190
|
isAfter: y1.default,
|
|
63191
63191
|
isBefore: M1.default,
|
|
63192
63192
|
isIn: P1.default,
|
|
63193
63193
|
isLuhnNumber: j1.default,
|
|
63194
63194
|
isCreditCard: ae.default,
|
|
63195
|
-
isIdentityCard:
|
|
63195
|
+
isIdentityCard: Be.default,
|
|
63196
63196
|
isEAN: s2.default,
|
|
63197
63197
|
isISIN: J1.default,
|
|
63198
63198
|
isISBN: s1.default,
|
|
@@ -63235,12 +63235,12 @@ function _Y1() {
|
|
|
63235
63235
|
toString,
|
|
63236
63236
|
isSlug: y8.default,
|
|
63237
63237
|
isStrongPassword: l1.default,
|
|
63238
|
-
isTaxID:
|
|
63238
|
+
isTaxID: Z1.default,
|
|
63239
63239
|
isDate: w.default,
|
|
63240
63240
|
isTime: b.default,
|
|
63241
63241
|
isLicensePlate: ke.default,
|
|
63242
63242
|
isVAT: K1.default,
|
|
63243
|
-
ibanLocales:
|
|
63243
|
+
ibanLocales: we.locales
|
|
63244
63244
|
};
|
|
63245
63245
|
t.default = n3, e.exports = t.default, e.exports.default = t.default;
|
|
63246
63246
|
})(Ta, Ta.exports)), Ta.exports;
|
|
@@ -64520,7 +64520,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64520
64520
|
...o.textStyle,
|
|
64521
64521
|
textAlign: o.textStyle?.textAlign || "left",
|
|
64522
64522
|
fontFamily: o.textStyle?.fontFamily || Ve[Ze].name,
|
|
64523
|
-
lineHeight: o.textStyle?.lineHeight?.includes("rem") ?
|
|
64523
|
+
lineHeight: o.textStyle?.lineHeight?.includes("rem") ? $e : o.textStyle?.lineHeight || $e
|
|
64524
64524
|
};
|
|
64525
64525
|
}), n.text = "";
|
|
64526
64526
|
} else
|
|
@@ -64528,7 +64528,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64528
64528
|
...n.textStyle,
|
|
64529
64529
|
textAlign: n.textStyle?.textAlign || v2,
|
|
64530
64530
|
fontFamily: n.textStyle?.fontFamily || Ve[Ze].name,
|
|
64531
|
-
lineHeight: n.textStyle?.lineHeight?.includes("rem") ?
|
|
64531
|
+
lineHeight: n.textStyle?.lineHeight?.includes("rem") ? $e : n.textStyle?.lineHeight || $e
|
|
64532
64532
|
};
|
|
64533
64533
|
});
|
|
64534
64534
|
}, aX1 = (e) => {
|
|
@@ -64540,7 +64540,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64540
64540
|
...n.titleStyle,
|
|
64541
64541
|
textAlign: n.titleStyle?.textAlign || v2,
|
|
64542
64542
|
fontFamily: n.titleStyle?.fontFamily || Ve[Ze].name,
|
|
64543
|
-
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ?
|
|
64543
|
+
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? $e : n.titleStyle?.lineHeight || $e
|
|
64544
64544
|
}, n.nameStyle = {
|
|
64545
64545
|
...n.nameStyle,
|
|
64546
64546
|
textAlign: n.nameStyle?.textAlign || v2,
|
|
@@ -64550,7 +64550,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64550
64550
|
...n.descriptionStyle,
|
|
64551
64551
|
textAlign: n.descriptionStyle?.textAlign || v2,
|
|
64552
64552
|
fontFamily: n.descriptionStyle?.fontFamily || Ve[Ze].name,
|
|
64553
|
-
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ?
|
|
64553
|
+
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? $e : n.descriptionStyle?.lineHeight || $e
|
|
64554
64554
|
};
|
|
64555
64555
|
});
|
|
64556
64556
|
}, lX1 = (e) => {
|
|
@@ -64567,7 +64567,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64567
64567
|
...n.buttonTextStyle,
|
|
64568
64568
|
textAlign: n.buttonTextStyle?.textAlign || v2,
|
|
64569
64569
|
fontFamily: n.buttonTextStyle?.fontFamily || Ve[Ze].name,
|
|
64570
|
-
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ?
|
|
64570
|
+
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? $e : n.buttonTextStyle?.lineHeight || $e
|
|
64571
64571
|
};
|
|
64572
64572
|
});
|
|
64573
64573
|
}, cX1 = (e) => {
|
|
@@ -64584,22 +64584,22 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64584
64584
|
...n.headingStyle,
|
|
64585
64585
|
textAlign: n.headingStyle?.textAlign || v2,
|
|
64586
64586
|
fontFamily: n.headingStyle?.fontFamily || Ve[Ze].name,
|
|
64587
|
-
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ?
|
|
64587
|
+
lineHeight: n.headingStyle?.lineHeight?.includes("rem") ? $e : n.headingStyle?.lineHeight || $e
|
|
64588
64588
|
}, n.descriptionStyle = {
|
|
64589
64589
|
...n.descriptionStyle,
|
|
64590
64590
|
textAlign: n.descriptionStyle?.textAlign || v2,
|
|
64591
64591
|
fontFamily: n.descriptionStyle?.fontFamily || Ve[Ze].name,
|
|
64592
|
-
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ?
|
|
64592
|
+
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? $e : n.descriptionStyle?.lineHeight || $e
|
|
64593
64593
|
}, n.buttonTextStyle = {
|
|
64594
64594
|
...n.buttonTextStyle,
|
|
64595
64595
|
textAlign: n.buttonTextStyle?.textAlign || v2,
|
|
64596
64596
|
fontFamily: n.buttonTextStyle?.fontFamily || Ve[Ze].name,
|
|
64597
|
-
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ?
|
|
64597
|
+
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? $e : n.buttonTextStyle?.lineHeight || $e
|
|
64598
64598
|
}, n.itemTextStyle = {
|
|
64599
64599
|
...n.itemTextStyle,
|
|
64600
64600
|
textAlign: n.itemTextStyle?.textAlign || v2,
|
|
64601
64601
|
fontFamily: n.itemTextStyle?.fontFamily || Ve[Ze].name,
|
|
64602
|
-
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ?
|
|
64602
|
+
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? $e : n.itemTextStyle?.lineHeight || $e
|
|
64603
64603
|
};
|
|
64604
64604
|
});
|
|
64605
64605
|
}, dX1 = (e) => {
|
|
@@ -64611,7 +64611,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64611
64611
|
...n.titleStyle,
|
|
64612
64612
|
textAlign: n.titleStyle?.textAlign || v2,
|
|
64613
64613
|
fontFamily: n.titleStyle?.fontFamily || Ve[Ze].name,
|
|
64614
|
-
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ?
|
|
64614
|
+
lineHeight: n.titleStyle?.lineHeight?.includes("rem") ? $e : n.titleStyle?.lineHeight || $e
|
|
64615
64615
|
};
|
|
64616
64616
|
});
|
|
64617
64617
|
}, CX1 = (e) => {
|
|
@@ -64629,12 +64629,12 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64629
64629
|
...n.descriptionStyle,
|
|
64630
64630
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
64631
64631
|
fontFamily: n.descriptionStyle?.fontFamily || Ve[Ze].name,
|
|
64632
|
-
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ?
|
|
64632
|
+
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? $e : n.descriptionStyle?.lineHeight || $e
|
|
64633
64633
|
}, n.buttonTextStyle = {
|
|
64634
64634
|
...n.buttonTextStyle,
|
|
64635
64635
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
64636
64636
|
fontFamily: n.buttonTextStyle?.fontFamily || Ve[Ze].name,
|
|
64637
|
-
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ?
|
|
64637
|
+
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? $e : n.buttonTextStyle?.lineHeight || $e
|
|
64638
64638
|
};
|
|
64639
64639
|
});
|
|
64640
64640
|
}, uX1 = (e) => {
|
|
@@ -64667,7 +64667,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64667
64667
|
...n.paragraphStyle,
|
|
64668
64668
|
textAlign: n.paragraphStyle?.textAlign || o,
|
|
64669
64669
|
fontFamily: n.paragraphStyle?.fontFamily || Ve[Ze].name,
|
|
64670
|
-
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ?
|
|
64670
|
+
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? $e : n.paragraphStyle?.lineHeight || $e
|
|
64671
64671
|
};
|
|
64672
64672
|
});
|
|
64673
64673
|
}, fX1 = (e) => {
|
|
@@ -64692,12 +64692,12 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64692
64692
|
...n.nameStyle,
|
|
64693
64693
|
textAlign: n.nameStyle?.textAlign || o,
|
|
64694
64694
|
fontFamily: n.nameStyle?.fontFamily || Ve[Ze].name,
|
|
64695
|
-
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ?
|
|
64695
|
+
lineHeight: n.nameStyle?.lineHeight?.includes("rem") ? $e : n.nameStyle?.lineHeight || $e
|
|
64696
64696
|
}, n.positionStyle = {
|
|
64697
64697
|
...n.positionStyle,
|
|
64698
64698
|
textAlign: n.positionStyle?.textAlign || o,
|
|
64699
64699
|
fontFamily: n.positionStyle?.fontFamily || Ve[Ze].name,
|
|
64700
|
-
lineHeight: n.positionStyle?.lineHeight?.includes("rem") ?
|
|
64700
|
+
lineHeight: n.positionStyle?.lineHeight?.includes("rem") ? $e : n.positionStyle?.lineHeight || $e
|
|
64701
64701
|
};
|
|
64702
64702
|
});
|
|
64703
64703
|
}, hX1 = (e) => {
|
|
@@ -64719,7 +64719,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64719
64719
|
...n.paragraphStyle,
|
|
64720
64720
|
textAlign: n.paragraphStyle?.textAlign || v2,
|
|
64721
64721
|
fontFamily: n.paragraphStyle?.fontFamily || Ve[Ze].name,
|
|
64722
|
-
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ?
|
|
64722
|
+
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? $e : n.paragraphStyle?.lineHeight || $e
|
|
64723
64723
|
};
|
|
64724
64724
|
});
|
|
64725
64725
|
}, gX1 = (e) => {
|
|
@@ -64741,7 +64741,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64741
64741
|
...n.paragraphStyle,
|
|
64742
64742
|
textAlign: n.paragraphStyle?.textAlign || v2,
|
|
64743
64743
|
fontFamily: n.paragraphStyle?.fontFamily || Ve[Ze].name,
|
|
64744
|
-
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ?
|
|
64744
|
+
lineHeight: n.paragraphStyle?.lineHeight?.includes("rem") ? $e : n.paragraphStyle?.lineHeight || $e
|
|
64745
64745
|
};
|
|
64746
64746
|
});
|
|
64747
64747
|
}, mX1 = (e) => {
|
|
@@ -64766,7 +64766,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64766
64766
|
...n.itemTextStyle,
|
|
64767
64767
|
textAlign: n.itemTextStyle?.textAlign || o,
|
|
64768
64768
|
fontFamily: n.itemTextStyle?.fontFamily || Ve[Ze].name,
|
|
64769
|
-
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ?
|
|
64769
|
+
lineHeight: n.itemTextStyle?.lineHeight?.includes("rem") ? $e : n.itemTextStyle?.lineHeight || $e
|
|
64770
64770
|
};
|
|
64771
64771
|
});
|
|
64772
64772
|
}, wX1 = (e) => {
|
|
@@ -64783,12 +64783,12 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64783
64783
|
...n.descriptionStyle,
|
|
64784
64784
|
textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : n.titleStyle?.textAlign,
|
|
64785
64785
|
fontFamily: n.descriptionStyle?.fontFamily || Ve[Ze].name,
|
|
64786
|
-
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ?
|
|
64786
|
+
lineHeight: n.descriptionStyle?.lineHeight?.includes("rem") ? $e : n.descriptionStyle?.lineHeight || $e
|
|
64787
64787
|
}, n.buttonTextStyle = {
|
|
64788
64788
|
...n.buttonTextStyle,
|
|
64789
64789
|
textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : n.titleStyle?.textAlign,
|
|
64790
64790
|
fontFamily: n.buttonTextStyle?.fontFamily || Ve[Ze].name,
|
|
64791
|
-
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ?
|
|
64791
|
+
lineHeight: n.buttonTextStyle?.lineHeight?.includes("rem") ? $e : n.buttonTextStyle?.lineHeight || $e
|
|
64792
64792
|
};
|
|
64793
64793
|
});
|
|
64794
64794
|
}, bX1 = (e) => {
|
|
@@ -64922,7 +64922,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64922
64922
|
...i,
|
|
64923
64923
|
fontFamily: i?.fontFamily || Ve[Ze].name,
|
|
64924
64924
|
letterSpacing: i.letterSpacing || oa,
|
|
64925
|
-
lineHeight: i?.lineHeight?.includes("rem") ?
|
|
64925
|
+
lineHeight: i?.lineHeight?.includes("rem") ? $e : i?.lineHeight || $e,
|
|
64926
64926
|
fontWeight: i.fontWeight || void 0,
|
|
64927
64927
|
fontStyle: i.fontStyle || void 0,
|
|
64928
64928
|
textDecoration: i.textDecoration || void 0
|
|
@@ -64930,7 +64930,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
64930
64930
|
...s,
|
|
64931
64931
|
fontFamily: s?.fontFamily || Ve[Ze].name,
|
|
64932
64932
|
letterSpacing: s.letterSpacing || oa,
|
|
64933
|
-
lineHeight: s?.lineHeight?.includes("rem") ?
|
|
64933
|
+
lineHeight: s?.lineHeight?.includes("rem") ? $e : s?.lineHeight || $e,
|
|
64934
64934
|
fontWeight: s.fontWeight || void 0,
|
|
64935
64935
|
fontStyle: s.fontStyle || void 0,
|
|
64936
64936
|
textDecoration: s.textDecoration || void 0
|
|
@@ -66520,7 +66520,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
66520
66520
|
bottomPadding: e?.brandPageType === d1.brandSite ? 12 : 0,
|
|
66521
66521
|
textSize: {
|
|
66522
66522
|
fontSize: X5,
|
|
66523
|
-
lineHeight:
|
|
66523
|
+
lineHeight: $e
|
|
66524
66524
|
},
|
|
66525
66525
|
textStyle: {
|
|
66526
66526
|
applyAutoScale: e?.brandPageType === d1.brandSite,
|
|
@@ -66834,7 +66834,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
66834
66834
|
},
|
|
66835
66835
|
backgroundStyle: {},
|
|
66836
66836
|
buttonPageId: "",
|
|
66837
|
-
buttonLinkType:
|
|
66837
|
+
buttonLinkType: Pe.url,
|
|
66838
66838
|
buttonTextStyle: {
|
|
66839
66839
|
applyAutoScale: e?.brandPageType === d1.brandSite,
|
|
66840
66840
|
textStyleType: de.buttons,
|
|
@@ -66865,7 +66865,7 @@ const PZ = /brand-page\/([^?]*)/, tX1 = /logo\/([^\/]*)\//, AZ = /(http|https):\
|
|
|
66865
66865
|
},
|
|
66866
66866
|
backgroundStyle: {},
|
|
66867
66867
|
buttonPageId: "",
|
|
66868
|
-
buttonLinkType:
|
|
66868
|
+
buttonLinkType: Pe.url,
|
|
66869
66869
|
buttonTextStyle: {
|
|
66870
66870
|
applyAutoScale: e?.brandPageType === d1.brandSite,
|
|
66871
66871
|
textStyleType: de.buttons,
|
|
@@ -67826,7 +67826,7 @@ const Dy = e1({
|
|
|
67826
67826
|
name: i,
|
|
67827
67827
|
...t.fields[i]
|
|
67828
67828
|
} : null).filter((i) => !!i).filter((i) => i.shouldRender !== !1).filter((i) => !o.find((s) => s == i.name));
|
|
67829
|
-
}, Av = (e) => e === N("thisIsABannerTitle") || e === N("aboutSectionTitle") || e === N("defaultTextValue"),
|
|
67829
|
+
}, Av = (e) => e === N("thisIsABannerTitle") || e === N("aboutSectionTitle") || e === N("defaultTextValue"), ye = {
|
|
67830
67830
|
header: "header",
|
|
67831
67831
|
footer: "footer"
|
|
67832
67832
|
}, VQ1 = () => ({
|
|
@@ -68003,7 +68003,7 @@ const Dy = e1({
|
|
|
68003
68003
|
}
|
|
68004
68004
|
], MH = {
|
|
68005
68005
|
header: {
|
|
68006
|
-
type:
|
|
68006
|
+
type: ye.header,
|
|
68007
68007
|
isLogoFieldsOptional: !1,
|
|
68008
68008
|
showCopyrightField: !1,
|
|
68009
68009
|
showSocialLinksField: !1,
|
|
@@ -68209,7 +68209,7 @@ const gc = (e, t) => {
|
|
|
68209
68209
|
}
|
|
68210
68210
|
}
|
|
68211
68211
|
}), $Q1 = "pages", od = {
|
|
68212
|
-
...
|
|
68212
|
+
...ye,
|
|
68213
68213
|
pages: "pages"
|
|
68214
68214
|
}, w2 = W2("uiPageSettings", {
|
|
68215
68215
|
state: () => ({
|
|
@@ -68217,28 +68217,28 @@ const gc = (e, t) => {
|
|
|
68217
68217
|
isNewPageModalVisible: !1,
|
|
68218
68218
|
newPageParentId: void 0,
|
|
68219
68219
|
sections: {
|
|
68220
|
-
[
|
|
68221
|
-
[
|
|
68222
|
-
[
|
|
68220
|
+
[ye.header]: {
|
|
68221
|
+
[R1.desktop]: new c0(),
|
|
68222
|
+
[R1.mobile]: new mo()
|
|
68223
68223
|
},
|
|
68224
|
-
[
|
|
68225
|
-
[
|
|
68226
|
-
[
|
|
68224
|
+
[ye.footer]: {
|
|
68225
|
+
[R1.desktop]: new Jn(),
|
|
68226
|
+
[R1.mobile]: new Fs()
|
|
68227
68227
|
}
|
|
68228
68228
|
},
|
|
68229
68229
|
sectionCollapsedStates: {
|
|
68230
68230
|
[$Q1]: !1,
|
|
68231
|
-
[
|
|
68232
|
-
[
|
|
68231
|
+
[ye.header]: !0,
|
|
68232
|
+
[ye.footer]: !0
|
|
68233
68233
|
},
|
|
68234
68234
|
selectedSectionName: void 0,
|
|
68235
68235
|
previousSelectedDisplayStyles: {
|
|
68236
|
-
[
|
|
68237
|
-
[
|
|
68236
|
+
[R1.desktop]: [],
|
|
68237
|
+
[R1.mobile]: []
|
|
68238
68238
|
},
|
|
68239
68239
|
previousSelectedNavigationDisplayTypes: {
|
|
68240
|
-
[
|
|
68241
|
-
[
|
|
68240
|
+
[R1.desktop]: {},
|
|
68241
|
+
[R1.mobile]: {}
|
|
68242
68242
|
}
|
|
68243
68243
|
}),
|
|
68244
68244
|
actions: {
|
|
@@ -68416,6 +68416,20 @@ const gc = (e, t) => {
|
|
|
68416
68416
|
const o = s4();
|
|
68417
68417
|
o.paymentConfig && o.paymentConfig.id === e.id && Object.assign(o.paymentConfig, n);
|
|
68418
68418
|
},
|
|
68419
|
+
resetStalePageLinks() {
|
|
68420
|
+
const e = new Set(this.pages.map(({ id: o }) => o)), t = this.pages.length === 1, n = (o) => {
|
|
68421
|
+
o.buttonLinkType !== Pe.page || e.has(o.buttonPageId ?? "") || (t && (o.buttonLinkType = Pe.url), o.buttonPageId = "");
|
|
68422
|
+
};
|
|
68423
|
+
this.pages.forEach(({ contents: o }) => {
|
|
68424
|
+
o.forEach(({ settings: { content: i } }) => {
|
|
68425
|
+
const s = i;
|
|
68426
|
+
n(s), s.items?.forEach(n);
|
|
68427
|
+
});
|
|
68428
|
+
}), [R1.desktop, R1.mobile].forEach((o) => {
|
|
68429
|
+
const { headerButton: i } = this.sections[ye.header][o];
|
|
68430
|
+
i && n(i);
|
|
68431
|
+
});
|
|
68432
|
+
},
|
|
68419
68433
|
setPageTitle({
|
|
68420
68434
|
pageTitle: e,
|
|
68421
68435
|
pageId: t
|
|
@@ -68513,8 +68527,8 @@ const gc = (e, t) => {
|
|
|
68513
68527
|
},
|
|
68514
68528
|
setPreviousSelectedDisplayStyle(e, t) {
|
|
68515
68529
|
this.previousSelectedDisplayStyles ??= {
|
|
68516
|
-
[
|
|
68517
|
-
[
|
|
68530
|
+
[R1.desktop]: [],
|
|
68531
|
+
[R1.mobile]: []
|
|
68518
68532
|
}, this.previousSelectedDisplayStyles[e] = this.previousSelectedDisplayStyles[e].filter(
|
|
68519
68533
|
(n) => n !== t
|
|
68520
68534
|
), this.previousSelectedDisplayStyles[e] = [
|
|
@@ -68524,8 +68538,8 @@ const gc = (e, t) => {
|
|
|
68524
68538
|
},
|
|
68525
68539
|
setPreviousSelectedNavigationDisplayType(e, t) {
|
|
68526
68540
|
this.previousSelectedNavigationDisplayTypes ??= {
|
|
68527
|
-
[
|
|
68528
|
-
[
|
|
68541
|
+
[R1.desktop]: {},
|
|
68542
|
+
[R1.mobile]: {}
|
|
68529
68543
|
}, this.previousSelectedNavigationDisplayTypes[e] = {
|
|
68530
68544
|
...this.previousSelectedNavigationDisplayTypes[e],
|
|
68531
68545
|
[Pw(t)]: t
|
|
@@ -68713,12 +68727,12 @@ const gc = (e, t) => {
|
|
|
68713
68727
|
const n = le(), o = w2();
|
|
68714
68728
|
if (n.isBrandSite) {
|
|
68715
68729
|
o.updatePageSettingsSectionLogoImageStyle({
|
|
68716
|
-
sectionName:
|
|
68730
|
+
sectionName: ye.header,
|
|
68717
68731
|
viewport: t.viewport,
|
|
68718
68732
|
logoImageHeight: e.style.height,
|
|
68719
68733
|
logoImageWidth: e.style.width
|
|
68720
68734
|
}), o.updatePageSettingsSectionLogoImageStyle({
|
|
68721
|
-
sectionName:
|
|
68735
|
+
sectionName: ye.footer,
|
|
68722
68736
|
viewport: t.viewport,
|
|
68723
68737
|
logoImageHeight: e.style.height,
|
|
68724
68738
|
logoImageWidth: e.style.width
|
|
@@ -68933,9 +68947,9 @@ const gc = (e, t) => {
|
|
|
68933
68947
|
availableNavigationStyleConfigs: _H,
|
|
68934
68948
|
navigationStyleTypeConfigs: MH,
|
|
68935
68949
|
navigation: {
|
|
68936
|
-
[
|
|
68937
|
-
[
|
|
68938
|
-
[
|
|
68950
|
+
[ye.header]: {
|
|
68951
|
+
[R1.desktop]: new v9(),
|
|
68952
|
+
[R1.mobile]: new i7()
|
|
68939
68953
|
}
|
|
68940
68954
|
}
|
|
68941
68955
|
}),
|
|
@@ -69553,25 +69567,25 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69553
69567
|
const j1 = s.value?.style, ae = j1 ? {
|
|
69554
69568
|
...j1,
|
|
69555
69569
|
color: t.styles?.color || j1.color
|
|
69556
|
-
} : t.styles,
|
|
69557
|
-
t.styles.textAlign && s2.setTextAlign(t.styles.textAlign), w5(s2,
|
|
69570
|
+
} : t.styles, Be = kk(P1, ae), s2 = g.chain();
|
|
69571
|
+
t.styles.textAlign && s2.setTextAlign(t.styles.textAlign), w5(s2, Be).run();
|
|
69558
69572
|
}
|
|
69559
69573
|
return !1;
|
|
69560
69574
|
},
|
|
69561
69575
|
copy(y1, M1) {
|
|
69562
69576
|
const P1 = y1.state.selection;
|
|
69563
69577
|
if (P1.empty) return;
|
|
69564
|
-
const j1 = M1.clipboardData, ae = JSON.stringify(t.styles),
|
|
69578
|
+
const j1 = M1.clipboardData, ae = JSON.stringify(t.styles), Be = P1.content(), { dom: s2, text: J1 } = y1.serializeForClipboard(Be);
|
|
69565
69579
|
return j1 && (M1.preventDefault(), j1.clearData(), j1.setData("text/html", s2.innerHTML), j1.setData("text/plain", J1), ae && j1.setData("application/x-rte-styles", ae)), !0;
|
|
69566
69580
|
},
|
|
69567
69581
|
paste(y1, M1) {
|
|
69568
69582
|
const P1 = M1.clipboardData?.getData(
|
|
69569
69583
|
"application/x-rte-styles"
|
|
69570
|
-
), j1 = M1.clipboardData?.getData("text/plain") || "", { state: ae, dispatch:
|
|
69584
|
+
), j1 = M1.clipboardData?.getData("text/plain") || "", { state: ae, dispatch: Be } = y1, { from: s2, to: J1 } = ae.selection;
|
|
69571
69585
|
let s1 = ae.tr;
|
|
69572
69586
|
if (P1)
|
|
69573
69587
|
try {
|
|
69574
|
-
const E1 = JSON.parse(P1),
|
|
69588
|
+
const E1 = JSON.parse(P1), Z1 = {
|
|
69575
69589
|
color: E1.color,
|
|
69576
69590
|
fontFamily: E1.fontFamily,
|
|
69577
69591
|
fontSize: E1.fontSize,
|
|
@@ -69584,7 +69598,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69584
69598
|
backgroundColor: E1.backgroundColor,
|
|
69585
69599
|
textStyleType: void 0
|
|
69586
69600
|
};
|
|
69587
|
-
return t1(
|
|
69601
|
+
return t1(Z1), !1;
|
|
69588
69602
|
} catch {
|
|
69589
69603
|
}
|
|
69590
69604
|
else {
|
|
@@ -69592,7 +69606,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69592
69606
|
const E1 = kk(ae, t.styles);
|
|
69593
69607
|
s1 = s1.setStoredMarks(E1).insertText(j1, s2), r({ label: "None" });
|
|
69594
69608
|
}
|
|
69595
|
-
return
|
|
69609
|
+
return Be(s1), !0;
|
|
69596
69610
|
},
|
|
69597
69611
|
click(y1, M1) {
|
|
69598
69612
|
if (d?.value) return !1;
|
|
@@ -69641,7 +69655,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69641
69655
|
hyperlinkValue: N1,
|
|
69642
69656
|
setHyperlinkUrl: se,
|
|
69643
69657
|
setHyperlinkUrlValue: he,
|
|
69644
|
-
removeHyperlink:
|
|
69658
|
+
removeHyperlink: we,
|
|
69645
69659
|
applyHyperlinkToEditor: We
|
|
69646
69660
|
} = OD1(g), { shouldShow: Ye, bubbleMenuOptions: Ee } = XQ1(
|
|
69647
69661
|
g,
|
|
@@ -69819,7 +69833,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69819
69833
|
n("focus");
|
|
69820
69834
|
}, D1 = () => {
|
|
69821
69835
|
n("blur");
|
|
69822
|
-
},
|
|
69836
|
+
}, F1 = (y1, M1) => {
|
|
69823
69837
|
const P1 = C.value === I4.page ? "internal_link" : "external_link";
|
|
69824
69838
|
switch (y1) {
|
|
69825
69839
|
case "toggle":
|
|
@@ -69862,7 +69876,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69862
69876
|
d.value = !1;
|
|
69863
69877
|
return;
|
|
69864
69878
|
}
|
|
69865
|
-
const
|
|
69879
|
+
const Be = g.state?.selection, s2 = Be ? { from: Be.from, to: Be.to } : void 0;
|
|
69866
69880
|
We(j1, ae, s2), d.value = !1;
|
|
69867
69881
|
break;
|
|
69868
69882
|
case "remove":
|
|
@@ -69872,7 +69886,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69872
69886
|
link_type: P1,
|
|
69873
69887
|
content_type: t.contentType
|
|
69874
69888
|
}
|
|
69875
|
-
}),
|
|
69889
|
+
}), we(), d.value = !1;
|
|
69876
69890
|
break;
|
|
69877
69891
|
}
|
|
69878
69892
|
};
|
|
@@ -69899,7 +69913,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69899
69913
|
setInitialStyleSettings: o2,
|
|
69900
69914
|
copyGlobalStyleSettings: k2,
|
|
69901
69915
|
unsetAllMarks: z,
|
|
69902
|
-
handleHyperlink:
|
|
69916
|
+
handleHyperlink: F1,
|
|
69903
69917
|
hyperlinkValue: N1,
|
|
69904
69918
|
setHyperlinkUrlValue: he,
|
|
69905
69919
|
shouldShow: Ye,
|
|
@@ -70102,7 +70116,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
70102
70116
|
id: null,
|
|
70103
70117
|
eventSource: "pageSettings"
|
|
70104
70118
|
}), this.pageSettingsStore.setSelectedSectionName({
|
|
70105
|
-
sectionName:
|
|
70119
|
+
sectionName: ye.header
|
|
70106
70120
|
}), this.isHeaderSelected = !0, this.isFooterSelected = !1, this.isContentSelected = !1);
|
|
70107
70121
|
},
|
|
70108
70122
|
onPageFooterContainerClick() {
|
|
@@ -70112,7 +70126,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
70112
70126
|
id: null,
|
|
70113
70127
|
eventSource: "pageSettings"
|
|
70114
70128
|
}), this.pageSettingsStore.setSelectedSectionName({
|
|
70115
|
-
sectionName:
|
|
70129
|
+
sectionName: ye.footer
|
|
70116
70130
|
}), this.isHeaderSelected = !1, this.isFooterSelected = !0, this.isContentSelected = !1);
|
|
70117
70131
|
},
|
|
70118
70132
|
onSaveContactWidgetClick() {
|
|
@@ -70203,10 +70217,10 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
70203
70217
|
xe(() => n.context.isDesignCom, async () => {
|
|
70204
70218
|
const _ = $6().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
70205
70219
|
try {
|
|
70206
|
-
const { default: k } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
70220
|
+
const { default: k } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-DDcraD5S.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DtOeaisf.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BZpmJPew.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CqRwC4e7.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CqRwC4e7.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DId9Dfjh.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DId9Dfjh.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BTDfmOcm.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CeAu9Ayx.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-WCv0K41H.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BlfevQDY.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-Cvt7MHPZ.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DipZuylv.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BCw4lcKN.js") }), `./watermark/CreatedOn${S}-${_}.vue`, 3);
|
|
70207
70221
|
o.value = k;
|
|
70208
70222
|
} catch {
|
|
70209
|
-
const { default: x } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
70223
|
+
const { default: x } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DtOeaisf.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CeAu9Ayx.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
70210
70224
|
o.value = x;
|
|
70211
70225
|
}
|
|
70212
70226
|
}, {
|
|
@@ -70296,7 +70310,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
70296
70310
|
}]),
|
|
70297
70311
|
onClick: S[1] || (S[1] = (k) => b(k, "create_your_website"))
|
|
70298
70312
|
}, [
|
|
70299
|
-
|
|
70313
|
+
Ae(P(y.value) + " ", 1),
|
|
70300
70314
|
p("div", o1e, [
|
|
70301
70315
|
T(V(Q1), {
|
|
70302
70316
|
name: "arrow-right",
|
|
@@ -70419,9 +70433,9 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70419
70433
|
const G1 = p1.getBoundingClientRect(), N1 = s.value, he = C.value?.parentElement?.parentElement?.parentElement?.parentElement?.getBoundingClientRect() ?? {
|
|
70420
70434
|
left: 0,
|
|
70421
70435
|
right: window.innerWidth
|
|
70422
|
-
},
|
|
70436
|
+
}, we = he.right - he.left, We = Math.min(
|
|
70423
70437
|
parseInt($1.value, 10),
|
|
70424
|
-
|
|
70438
|
+
we
|
|
70425
70439
|
);
|
|
70426
70440
|
N1 && (N1.style.maxWidth = `${We}px`);
|
|
70427
70441
|
const Ye = N1?.offsetWidth || 150, Ee = Math.min(Ye, We);
|
|
@@ -70485,8 +70499,8 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70485
70499
|
w = d.value.scrollLeft;
|
|
70486
70500
|
const N1 = (he) => {
|
|
70487
70501
|
if (!d.value || !he.touches.length) return;
|
|
70488
|
-
const
|
|
70489
|
-
Math.abs(
|
|
70502
|
+
const we = he.touches[0].pageX - G1;
|
|
70503
|
+
Math.abs(we) > 5 && (h.value = !0, n.value = null, he.preventDefault()), d.value.scrollLeft = w - we * 2, j();
|
|
70490
70504
|
}, se = () => {
|
|
70491
70505
|
document.removeEventListener("touchmove", N1), document.removeEventListener("touchend", se), setTimeout(() => h.value = !1, 100);
|
|
70492
70506
|
};
|
|
@@ -70509,9 +70523,9 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70509
70523
|
}));
|
|
70510
70524
|
}, Y = (p1) => {
|
|
70511
70525
|
if (!d.value) return;
|
|
70512
|
-
const G1 = d.value, N1 = G1.getBoundingClientRect(), se = p1.getBoundingClientRect(),
|
|
70526
|
+
const G1 = d.value, N1 = G1.getBoundingClientRect(), se = p1.getBoundingClientRect(), we = se.left - N1.left + G1.scrollLeft + se.width / 2 - N1.width / 2;
|
|
70513
70527
|
G1.scrollTo({
|
|
70514
|
-
left:
|
|
70528
|
+
left: we,
|
|
70515
70529
|
behavior: "smooth"
|
|
70516
70530
|
}), setTimeout(() => j(), 100);
|
|
70517
70531
|
}, J = () => {
|
|
@@ -70597,9 +70611,9 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70597
70611
|
(u(!0), f(b1, null, q1(x1.value, (se, he) => (u(), f("div", {
|
|
70598
70612
|
key: `${se.relativePath}_${he}`,
|
|
70599
70613
|
ref_for: !0,
|
|
70600
|
-
ref: (
|
|
70614
|
+
ref: (we) => b(`${se.relativePath}_${he}`, we),
|
|
70601
70615
|
class: "carousel-item",
|
|
70602
|
-
onMouseenter: (
|
|
70616
|
+
onMouseenter: (we) => x(`${se.relativePath}_${he}`, se),
|
|
70603
70617
|
onMouseleave: I
|
|
70604
70618
|
}, [
|
|
70605
70619
|
T(N1, {
|
|
@@ -70635,7 +70649,7 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70635
70649
|
style: T1([
|
|
70636
70650
|
k(se) ? e.navigation.selectedButtonStyle : e.navigation.defaultButtonStyle
|
|
70637
70651
|
]),
|
|
70638
|
-
onClick: _1((
|
|
70652
|
+
onClick: _1((we) => z(`${se.relativePath}_${he}`, se), ["stop"])
|
|
70639
70653
|
}, null, 8, ["class", "style", "onClick"])) : M("", !0)
|
|
70640
70654
|
], 40, u1e))), 128))
|
|
70641
70655
|
]),
|
|
@@ -70662,7 +70676,7 @@ const d1e = /* @__PURE__ */ v(r1e, [["render", c1e]]), C1e = { class: "carousel-
|
|
|
70662
70676
|
onClick: Z
|
|
70663
70677
|
}, {
|
|
70664
70678
|
default: i1(() => [
|
|
70665
|
-
|
|
70679
|
+
Ae(P(se.displayName), 1)
|
|
70666
70680
|
]),
|
|
70667
70681
|
_: 2
|
|
70668
70682
|
}, 1032, ["to", "style"]))), 128))
|
|
@@ -71450,7 +71464,7 @@ const j5e = /* @__PURE__ */ v(q5e, [["render", G5e]]), W5e = e1({
|
|
|
71450
71464
|
mixins: [W5e]
|
|
71451
71465
|
}, Y5e = ["viewBox"];
|
|
71452
71466
|
function X5e(e, t, n, o, i, s) {
|
|
71453
|
-
const r = E("IconAmazon"), a = E("IconAppstore"), l = E("IconBehance"), c = E("IconBell"), d = E("IconCalendar"), C = E("IconCoffee"), h = E("IconComment"), g = E("IconController"), m = E("IconDesktop"), y = E("IconDiscord"), w = E("IconDonate"), b = E("IconDribbble"), _ = E("IconEbay"), S = E("IconEmail"), k = E("IconEnvelope"), x = E("IconEtsy"), I = E("IconFacebook"), O = E("IconFax"), R = E("IconForm"), Z = E("IconGeneralLink"), D = E("IconGift"), z = E("IconGlobe"), K = E("IconGoogle"), U = E("IconGooglePlus"), Q = E("IconHeadphones"), j = E("IconHeart"), n1 = E("IconHome"), g1 = E("IconImages"), Y = E("IconImageGallery"), J = E("IconInfo"), q = E("IconInstagram"), r1 = E("IconLinkedIn"), x1 = E("IconMap"), L1 = E("IconMobile"), $1 = E("IconMusic"), p1 = E("IconPhone"), G1 = E("IconPin"), N1 = E("IconPinterest"), se = E("IconPlaystore"), he = E("IconPodcast"),
|
|
71467
|
+
const r = E("IconAmazon"), a = E("IconAppstore"), l = E("IconBehance"), c = E("IconBell"), d = E("IconCalendar"), C = E("IconCoffee"), h = E("IconComment"), g = E("IconController"), m = E("IconDesktop"), y = E("IconDiscord"), w = E("IconDonate"), b = E("IconDribbble"), _ = E("IconEbay"), S = E("IconEmail"), k = E("IconEnvelope"), x = E("IconEtsy"), I = E("IconFacebook"), O = E("IconFax"), R = E("IconForm"), Z = E("IconGeneralLink"), D = E("IconGift"), z = E("IconGlobe"), K = E("IconGoogle"), U = E("IconGooglePlus"), Q = E("IconHeadphones"), j = E("IconHeart"), n1 = E("IconHome"), g1 = E("IconImages"), Y = E("IconImageGallery"), J = E("IconInfo"), q = E("IconInstagram"), r1 = E("IconLinkedIn"), x1 = E("IconMap"), L1 = E("IconMobile"), $1 = E("IconMusic"), p1 = E("IconPhone"), G1 = E("IconPin"), N1 = E("IconPinterest"), se = E("IconPlaystore"), he = E("IconPodcast"), we = E("IconQuestion"), We = E("IconRequestPayment"), Ye = E("IconShape"), Ee = E("IconShipping"), Qe = E("IconShoppingBag"), o2 = E("IconShoppingCart"), k2 = E("IconSlack"), X = E("IconSnapchat"), t1 = E("IconSoundcloud"), v1 = E("IconSpotify"), D1 = E("IconStar"), F1 = E("IconStore"), y1 = E("IconThumbsUp"), M1 = E("IconTikTok"), P1 = E("IconTumblr"), j1 = E("IconTwitch"), ae = E("IconTwitter"), Be = E("IconX"), s2 = E("IconThreads"), J1 = E("IconUser"), s1 = E("IconUtensils"), E1 = E("IconVideo"), Z1 = E("IconWhatsapp"), Ke = E("IconWineGlass"), h3 = E("IconYoutube"), c3 = E("IconReddit"), L4 = E("IconTelegram"), M3 = E("IconSubstack"), g3 = E("IconPatreon"), $5 = E("IconMessenger"), B3 = E("IconAppleMusic"), q3 = E("IconEmailAt"), G4 = E("IconNumeric"), n6 = E("IconGoogleAdsense"), Ct = E("IconGoogleAnalytics");
|
|
71454
71468
|
return u(), f("div", null, [
|
|
71455
71469
|
(u(), f("svg", {
|
|
71456
71470
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -71502,7 +71516,7 @@ function X5e(e, t, n, o, i, s) {
|
|
|
71502
71516
|
e.name === "pinterest" ? (u(), $(N1, { key: 37 })) : M("", !0),
|
|
71503
71517
|
e.name === "playstore" ? (u(), $(se, { key: 38 })) : M("", !0),
|
|
71504
71518
|
e.name === "podcast" ? (u(), $(he, { key: 39 })) : M("", !0),
|
|
71505
|
-
e.name === "question" ? (u(), $(
|
|
71519
|
+
e.name === "question" ? (u(), $(we, { key: 40 })) : M("", !0),
|
|
71506
71520
|
e.name === "request-payment" ? (u(), $(We, { key: 41 })) : M("", !0),
|
|
71507
71521
|
e.name === "shape" ? (u(), $(Ye, { key: 42 })) : M("", !0),
|
|
71508
71522
|
e.name === "shipping" ? (u(), $(Ee, { key: 43 })) : M("", !0),
|
|
@@ -71513,18 +71527,18 @@ function X5e(e, t, n, o, i, s) {
|
|
|
71513
71527
|
e.name === "soundcloud" ? (u(), $(t1, { key: 48 })) : M("", !0),
|
|
71514
71528
|
e.name === "spotify" ? (u(), $(v1, { key: 49 })) : M("", !0),
|
|
71515
71529
|
e.name === "star" ? (u(), $(D1, { key: 50 })) : M("", !0),
|
|
71516
|
-
e.name === "store" ? (u(), $(
|
|
71530
|
+
e.name === "store" ? (u(), $(F1, { key: 51 })) : M("", !0),
|
|
71517
71531
|
e.name === "thumbs-up" ? (u(), $(y1, { key: 52 })) : M("", !0),
|
|
71518
71532
|
e.name === "tiktok" ? (u(), $(M1, { key: 53 })) : M("", !0),
|
|
71519
71533
|
e.name === "tumblr" ? (u(), $(P1, { key: 54 })) : M("", !0),
|
|
71520
71534
|
e.name === "twitch" ? (u(), $(j1, { key: 55 })) : M("", !0),
|
|
71521
71535
|
e.name === "twitter" ? (u(), $(ae, { key: 56 })) : M("", !0),
|
|
71522
|
-
e.name === "x" ? (u(), $(
|
|
71536
|
+
e.name === "x" ? (u(), $(Be, { key: 57 })) : M("", !0),
|
|
71523
71537
|
e.name === "threads" ? (u(), $(s2, { key: 58 })) : M("", !0),
|
|
71524
71538
|
e.name === "user" ? (u(), $(J1, { key: 59 })) : M("", !0),
|
|
71525
71539
|
e.name === "utensils" ? (u(), $(s1, { key: 60 })) : M("", !0),
|
|
71526
71540
|
e.name === "video" ? (u(), $(E1, { key: 61 })) : M("", !0),
|
|
71527
|
-
e.name === "whatsapp" ? (u(), $(
|
|
71541
|
+
e.name === "whatsapp" ? (u(), $(Z1, { key: 62 })) : M("", !0),
|
|
71528
71542
|
e.name === "wine-glass" ? (u(), $(Ke, { key: 63 })) : M("", !0),
|
|
71529
71543
|
e.name === "youtube" ? (u(), $(h3, { key: 64 })) : M("", !0),
|
|
71530
71544
|
e.name === "reddit" ? (u(), $(c3, { key: 65 })) : M("", !0),
|
|
@@ -74911,7 +74925,7 @@ const fte = /* @__PURE__ */ v(Cte, [["render", pte]]), hte = {
|
|
|
74911
74925
|
onClick: (I) => y(x.code)
|
|
74912
74926
|
}, {
|
|
74913
74927
|
default: i1(() => [
|
|
74914
|
-
|
|
74928
|
+
Ae(P(x.name), 1)
|
|
74915
74929
|
]),
|
|
74916
74930
|
_: 2
|
|
74917
74931
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -75234,9 +75248,9 @@ const fte = /* @__PURE__ */ v(Cte, [["render", pte]]), hte = {
|
|
|
75234
75248
|
style: T1(n1.value)
|
|
75235
75249
|
}, [
|
|
75236
75250
|
p("p", qte, [
|
|
75237
|
-
|
|
75251
|
+
Ae(P(V(h5)("termsAgreement")) + " ", 1),
|
|
75238
75252
|
p("a", Gte, P(V(h5)("termsLinkText")), 1),
|
|
75239
|
-
|
|
75253
|
+
Ae(". " + P(V(h5)("termsDisclaimer")), 1)
|
|
75240
75254
|
]),
|
|
75241
75255
|
p1[2] || (p1[2] = p("br", null, null, -1)),
|
|
75242
75256
|
p("div", jte, [
|
|
@@ -78686,7 +78700,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
78686
78700
|
onClick: (I) => y(k.name, x.name, x.id)
|
|
78687
78701
|
}, {
|
|
78688
78702
|
default: i1(() => [
|
|
78689
|
-
|
|
78703
|
+
Ae(P(x.name), 1)
|
|
78690
78704
|
]),
|
|
78691
78705
|
_: 2
|
|
78692
78706
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -79877,7 +79891,7 @@ function Kne(e, t, n, o, i, s) {
|
|
|
79877
79891
|
onClick: e.closeSideMenu
|
|
79878
79892
|
}, {
|
|
79879
79893
|
default: i1(() => [
|
|
79880
|
-
|
|
79894
|
+
Ae(P(c.displayName), 1)
|
|
79881
79895
|
]),
|
|
79882
79896
|
_: 2
|
|
79883
79897
|
}, 1032, ["to", "style", "onClick"]),
|
|
@@ -79907,7 +79921,7 @@ function Kne(e, t, n, o, i, s) {
|
|
|
79907
79921
|
onClick: e.closeSideMenu
|
|
79908
79922
|
}, {
|
|
79909
79923
|
default: i1(() => [
|
|
79910
|
-
|
|
79924
|
+
Ae(P(C.displayName), 1)
|
|
79911
79925
|
]),
|
|
79912
79926
|
_: 2
|
|
79913
79927
|
}, 1032, ["to", "style", "onClick"]))), 128)) : M("", !0)
|
|
@@ -79986,12 +80000,12 @@ const aoe = /* @__PURE__ */ v(ioe, [["render", roe]]), loe = { key: 0 }, coe = {
|
|
|
79986
80000
|
t2(p("div", null, [
|
|
79987
80001
|
O1(t.$slots, "mobile")
|
|
79988
80002
|
], 512), [
|
|
79989
|
-
[Z3, e.viewport === V(
|
|
80003
|
+
[Z3, e.viewport === V(R1).mobile]
|
|
79990
80004
|
]),
|
|
79991
80005
|
t2(p("div", null, [
|
|
79992
80006
|
O1(t.$slots, "desktop")
|
|
79993
80007
|
], 512), [
|
|
79994
|
-
[Z3, e.viewport === V(
|
|
80008
|
+
[Z3, e.viewport === V(R1).desktop]
|
|
79995
80009
|
])
|
|
79996
80010
|
]));
|
|
79997
80011
|
}
|
|
@@ -81134,8 +81148,8 @@ const _0 = (e) => {
|
|
|
81134
81148
|
// undo/redo to repopulate the stripped logoImageBase64Url fields.
|
|
81135
81149
|
stampLogoBase64IntoBrandPageData(e) {
|
|
81136
81150
|
const t = w2();
|
|
81137
|
-
[
|
|
81138
|
-
[
|
|
81151
|
+
[ye.header, ye.footer].forEach((n) => {
|
|
81152
|
+
[R1.desktop, R1.mobile].forEach((o) => {
|
|
81139
81153
|
t.sections[n][o].logoImage.logoDraftToken = this.logoDraftToken;
|
|
81140
81154
|
const i = e !== void 0 ? e : t.sections[n][o].logoImage.logoVariation;
|
|
81141
81155
|
t.sections[n][o].logoImageBase64Url = this.getEditableLogoVariationByVariationId(i).base64;
|
|
@@ -81452,12 +81466,12 @@ const _0 = (e) => {
|
|
|
81452
81466
|
if (G1) {
|
|
81453
81467
|
const se = /* @__PURE__ */ new Set();
|
|
81454
81468
|
try {
|
|
81455
|
-
JSON.parse(G1.snapshot).pages?.forEach((
|
|
81456
|
-
|
|
81469
|
+
JSON.parse(G1.snapshot).pages?.forEach((we) => {
|
|
81470
|
+
we?.id && se.add(we.id);
|
|
81457
81471
|
});
|
|
81458
|
-
for (const
|
|
81459
|
-
if (
|
|
81460
|
-
p1 =
|
|
81472
|
+
for (const we of L1.pages ?? [])
|
|
81473
|
+
if (we?.id && !se.has(we.id)) {
|
|
81474
|
+
p1 = we.id;
|
|
81461
81475
|
break;
|
|
81462
81476
|
}
|
|
81463
81477
|
} catch {
|
|
@@ -81553,16 +81567,16 @@ const _0 = (e) => {
|
|
|
81553
81567
|
getCurrentSizeBytes: n1,
|
|
81554
81568
|
getCurrentEntryCount: g1
|
|
81555
81569
|
};
|
|
81556
|
-
}), eie = () => z5("invalidUrlMessage"), tie = () => z5("invalidEmailMessage"), nie = () => z5("invalidTelMessage"), oie = () => z5("selectAPage"), iie = (e) => typeof e == "string" && e.includes("@"), vF = { message: "", isValid: !0 }, SF = (e) => e.buttonLinkType ===
|
|
81570
|
+
}), eie = () => z5("invalidUrlMessage"), tie = () => z5("invalidEmailMessage"), nie = () => z5("invalidTelMessage"), oie = () => z5("selectAPage"), iie = (e) => typeof e == "string" && e.includes("@"), vF = { message: "", isValid: !0 }, SF = (e) => e.buttonLinkType === Pe.url && (!m4(e.url) || iie(e.url)) ? {
|
|
81557
81571
|
message: eie(),
|
|
81558
81572
|
isValid: !1
|
|
81559
|
-
} : e.buttonLinkType ===
|
|
81573
|
+
} : e.buttonLinkType === Pe.mailTo && typeof e.url == "string" && !F6(e.url) ? {
|
|
81560
81574
|
message: tie(),
|
|
81561
81575
|
isValid: !1
|
|
81562
|
-
} : e.buttonLinkType ===
|
|
81576
|
+
} : e.buttonLinkType === Pe.tel && !e8(e.url) ? {
|
|
81563
81577
|
message: nie(),
|
|
81564
81578
|
isValid: !1
|
|
81565
|
-
} : vF, _F = (e) => e.buttonText !== !1 && e.buttonText?.length > 0 ? SF(e) : vF, MF = (e) => e.buttonLinkType ===
|
|
81579
|
+
} : vF, _F = (e) => e.buttonText !== !1 && e.buttonText?.length > 0 ? SF(e) : vF, MF = (e) => e.buttonLinkType === Pe.page && !e.buttonPageId ? {
|
|
81566
81580
|
message: oie(),
|
|
81567
81581
|
isValid: !1
|
|
81568
81582
|
} : {
|
|
@@ -82578,7 +82592,7 @@ const M2 = W2("uiContentSettings", {
|
|
|
82578
82592
|
), this.$patch(e.newState);
|
|
82579
82593
|
},
|
|
82580
82594
|
addDefaultLogoContentToCurrentPage() {
|
|
82581
|
-
const e = M2(), n = w2().sections[
|
|
82595
|
+
const e = M2(), n = w2().sections[ye.header][R1.desktop];
|
|
82582
82596
|
let o = e.items.filter(
|
|
82583
82597
|
(i) => i.type === "logo"
|
|
82584
82598
|
);
|
|
@@ -82604,8 +82618,8 @@ const M2 = W2("uiContentSettings", {
|
|
|
82604
82618
|
keepLogoVariation: t
|
|
82605
82619
|
}) {
|
|
82606
82620
|
const n = w2();
|
|
82607
|
-
[
|
|
82608
|
-
[
|
|
82621
|
+
[ye.header, ye.footer].forEach((o) => {
|
|
82622
|
+
[R1.desktop, R1.mobile].forEach((i) => {
|
|
82609
82623
|
n.setPageSettingsSectionLogoImage({
|
|
82610
82624
|
sectionName: o,
|
|
82611
82625
|
logoImage: e,
|
|
@@ -82638,29 +82652,29 @@ const M2 = W2("uiContentSettings", {
|
|
|
82638
82652
|
const n = M2(), o = le(), i = w2();
|
|
82639
82653
|
if (o.isBrandSite) {
|
|
82640
82654
|
i.setPageSettingsSectionLogoImage({
|
|
82641
|
-
sectionName:
|
|
82655
|
+
sectionName: ye.header,
|
|
82642
82656
|
logoImage: t,
|
|
82643
82657
|
logoTemplateImage: e.selectedLogoTemplateImage,
|
|
82644
82658
|
logoImageBase64Url: e.selectedLogoImageBase64Url,
|
|
82645
|
-
viewport:
|
|
82659
|
+
viewport: R1.desktop
|
|
82646
82660
|
}), i.setPageSettingsSectionLogoImage({
|
|
82647
|
-
sectionName:
|
|
82661
|
+
sectionName: ye.header,
|
|
82648
82662
|
logoImage: t,
|
|
82649
82663
|
logoTemplateImage: e.selectedLogoTemplateImage,
|
|
82650
82664
|
logoImageBase64Url: e.selectedLogoImageBase64Url,
|
|
82651
|
-
viewport:
|
|
82665
|
+
viewport: R1.mobile
|
|
82652
82666
|
}), i.setPageSettingsSectionLogoImage({
|
|
82653
|
-
sectionName:
|
|
82667
|
+
sectionName: ye.footer,
|
|
82654
82668
|
logoImage: t,
|
|
82655
82669
|
logoTemplateImage: e.selectedLogoTemplateImage,
|
|
82656
82670
|
logoImageBase64Url: e.selectedLogoImageBase64Url,
|
|
82657
|
-
viewport:
|
|
82671
|
+
viewport: R1.desktop
|
|
82658
82672
|
}), i.setPageSettingsSectionLogoImage({
|
|
82659
|
-
sectionName:
|
|
82673
|
+
sectionName: ye.footer,
|
|
82660
82674
|
logoImage: t,
|
|
82661
82675
|
logoTemplateImage: e.selectedLogoTemplateImage,
|
|
82662
82676
|
logoImageBase64Url: e.selectedLogoImageBase64Url,
|
|
82663
|
-
viewport:
|
|
82677
|
+
viewport: R1.mobile
|
|
82664
82678
|
});
|
|
82665
82679
|
return;
|
|
82666
82680
|
}
|
|
@@ -82739,7 +82753,7 @@ const M2 = W2("uiContentSettings", {
|
|
|
82739
82753
|
selectedLogoImageUrl() {
|
|
82740
82754
|
const e = M2();
|
|
82741
82755
|
if (le().isBrandSite) {
|
|
82742
|
-
const s = w2().sections[
|
|
82756
|
+
const s = w2().sections[ye.header][R1.desktop];
|
|
82743
82757
|
return {
|
|
82744
82758
|
logoImageUrl: s.logoTemplateImage?.logoTemplateToken ? Ey(
|
|
82745
82759
|
s.logoTemplateImage
|
|
@@ -82763,7 +82777,7 @@ const M2 = W2("uiContentSettings", {
|
|
|
82763
82777
|
},
|
|
82764
82778
|
selectedLogoTemplateImage() {
|
|
82765
82779
|
const e = le(), t = w2();
|
|
82766
|
-
return e.isBrandSite ? t.sections[
|
|
82780
|
+
return e.isBrandSite ? t.sections[ye.header][R1.desktop].logoTemplateImage : t.pages[0].contents.find(
|
|
82767
82781
|
(o) => o.type === "logo"
|
|
82768
82782
|
)?.settings.content.logoTemplateImage;
|
|
82769
82783
|
},
|
|
@@ -82785,19 +82799,19 @@ function uie() {
|
|
|
82785
82799
|
oI = 1;
|
|
82786
82800
|
var e = 200, t = "__lodash_hash_undefined__", n = 1 / 0, o = "[object Function]", i = "[object GeneratorFunction]", s = /[\\^$.*+?()[\]{}|]/g, r = /^\[object .+?Constructor\]$/, a = typeof e5 == "object" && e5 && e5.Object === Object && e5, l = typeof self == "object" && self && self.Object === Object && self, c = a || l || Function("return this")();
|
|
82787
82801
|
function d(s1, E1) {
|
|
82788
|
-
var
|
|
82789
|
-
return !!
|
|
82802
|
+
var Z1 = s1 ? s1.length : 0;
|
|
82803
|
+
return !!Z1 && h(s1, E1, 0) > -1;
|
|
82790
82804
|
}
|
|
82791
|
-
function C(s1, E1,
|
|
82792
|
-
for (var h3 = s1.length, c3 =
|
|
82805
|
+
function C(s1, E1, Z1, Ke) {
|
|
82806
|
+
for (var h3 = s1.length, c3 = Z1 + -1; ++c3 < h3; )
|
|
82793
82807
|
if (E1(s1[c3], c3, s1))
|
|
82794
82808
|
return c3;
|
|
82795
82809
|
return -1;
|
|
82796
82810
|
}
|
|
82797
|
-
function h(s1, E1,
|
|
82811
|
+
function h(s1, E1, Z1) {
|
|
82798
82812
|
if (E1 !== E1)
|
|
82799
|
-
return C(s1, g,
|
|
82800
|
-
for (var Ke =
|
|
82813
|
+
return C(s1, g, Z1);
|
|
82814
|
+
for (var Ke = Z1 - 1, h3 = s1.length; ++Ke < h3; )
|
|
82801
82815
|
if (s1[Ke] === E1)
|
|
82802
82816
|
return Ke;
|
|
82803
82817
|
return -1;
|
|
@@ -82821,20 +82835,20 @@ function uie() {
|
|
|
82821
82835
|
return E1;
|
|
82822
82836
|
}
|
|
82823
82837
|
function b(s1) {
|
|
82824
|
-
var E1 = -1,
|
|
82838
|
+
var E1 = -1, Z1 = Array(s1.size);
|
|
82825
82839
|
return s1.forEach(function(Ke) {
|
|
82826
|
-
|
|
82827
|
-
}),
|
|
82840
|
+
Z1[++E1] = Ke;
|
|
82841
|
+
}), Z1;
|
|
82828
82842
|
}
|
|
82829
82843
|
var _ = Array.prototype, S = Function.prototype, k = Object.prototype, x = c["__core-js_shared__"], I = (function() {
|
|
82830
82844
|
var s1 = /[^.]+$/.exec(x && x.keys && x.keys.IE_PROTO || "");
|
|
82831
82845
|
return s1 ? "Symbol(src)_1." + s1 : "";
|
|
82832
82846
|
})(), O = S.toString, R = k.hasOwnProperty, Z = k.toString, D = RegExp(
|
|
82833
82847
|
"^" + O.call(R).replace(s, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
82834
|
-
), z = _.splice, K =
|
|
82848
|
+
), z = _.splice, K = F1(c, "Map"), U = F1(c, "Set"), Q = F1(Object, "create");
|
|
82835
82849
|
function j(s1) {
|
|
82836
|
-
var E1 = -1,
|
|
82837
|
-
for (this.clear(); ++E1 <
|
|
82850
|
+
var E1 = -1, Z1 = s1 ? s1.length : 0;
|
|
82851
|
+
for (this.clear(); ++E1 < Z1; ) {
|
|
82838
82852
|
var Ke = s1[E1];
|
|
82839
82853
|
this.set(Ke[0], Ke[1]);
|
|
82840
82854
|
}
|
|
@@ -82848,8 +82862,8 @@ function uie() {
|
|
|
82848
82862
|
function Y(s1) {
|
|
82849
82863
|
var E1 = this.__data__;
|
|
82850
82864
|
if (Q) {
|
|
82851
|
-
var
|
|
82852
|
-
return
|
|
82865
|
+
var Z1 = E1[s1];
|
|
82866
|
+
return Z1 === t ? void 0 : Z1;
|
|
82853
82867
|
}
|
|
82854
82868
|
return R.call(E1, s1) ? E1[s1] : void 0;
|
|
82855
82869
|
}
|
|
@@ -82858,13 +82872,13 @@ function uie() {
|
|
|
82858
82872
|
return Q ? E1[s1] !== void 0 : R.call(E1, s1);
|
|
82859
82873
|
}
|
|
82860
82874
|
function q(s1, E1) {
|
|
82861
|
-
var
|
|
82862
|
-
return
|
|
82875
|
+
var Z1 = this.__data__;
|
|
82876
|
+
return Z1[s1] = Q && E1 === void 0 ? t : E1, this;
|
|
82863
82877
|
}
|
|
82864
82878
|
j.prototype.clear = n1, j.prototype.delete = g1, j.prototype.get = Y, j.prototype.has = J, j.prototype.set = q;
|
|
82865
82879
|
function r1(s1) {
|
|
82866
|
-
var E1 = -1,
|
|
82867
|
-
for (this.clear(); ++E1 <
|
|
82880
|
+
var E1 = -1, Z1 = s1 ? s1.length : 0;
|
|
82881
|
+
for (this.clear(); ++E1 < Z1; ) {
|
|
82868
82882
|
var Ke = s1[E1];
|
|
82869
82883
|
this.set(Ke[0], Ke[1]);
|
|
82870
82884
|
}
|
|
@@ -82873,27 +82887,27 @@ function uie() {
|
|
|
82873
82887
|
this.__data__ = [];
|
|
82874
82888
|
}
|
|
82875
82889
|
function L1(s1) {
|
|
82876
|
-
var E1 = this.__data__,
|
|
82877
|
-
if (
|
|
82890
|
+
var E1 = this.__data__, Z1 = k2(E1, s1);
|
|
82891
|
+
if (Z1 < 0)
|
|
82878
82892
|
return !1;
|
|
82879
82893
|
var Ke = E1.length - 1;
|
|
82880
|
-
return
|
|
82894
|
+
return Z1 == Ke ? E1.pop() : z.call(E1, Z1, 1), !0;
|
|
82881
82895
|
}
|
|
82882
82896
|
function $1(s1) {
|
|
82883
|
-
var E1 = this.__data__,
|
|
82884
|
-
return
|
|
82897
|
+
var E1 = this.__data__, Z1 = k2(E1, s1);
|
|
82898
|
+
return Z1 < 0 ? void 0 : E1[Z1][1];
|
|
82885
82899
|
}
|
|
82886
82900
|
function p1(s1) {
|
|
82887
82901
|
return k2(this.__data__, s1) > -1;
|
|
82888
82902
|
}
|
|
82889
82903
|
function G1(s1, E1) {
|
|
82890
|
-
var
|
|
82891
|
-
return Ke < 0 ?
|
|
82904
|
+
var Z1 = this.__data__, Ke = k2(Z1, s1);
|
|
82905
|
+
return Ke < 0 ? Z1.push([s1, E1]) : Z1[Ke][1] = E1, this;
|
|
82892
82906
|
}
|
|
82893
82907
|
r1.prototype.clear = x1, r1.prototype.delete = L1, r1.prototype.get = $1, r1.prototype.has = p1, r1.prototype.set = G1;
|
|
82894
82908
|
function N1(s1) {
|
|
82895
|
-
var E1 = -1,
|
|
82896
|
-
for (this.clear(); ++E1 <
|
|
82909
|
+
var E1 = -1, Z1 = s1 ? s1.length : 0;
|
|
82910
|
+
for (this.clear(); ++E1 < Z1; ) {
|
|
82897
82911
|
var Ke = s1[E1];
|
|
82898
82912
|
this.set(Ke[0], Ke[1]);
|
|
82899
82913
|
}
|
|
@@ -82908,7 +82922,7 @@ function uie() {
|
|
|
82908
82922
|
function he(s1) {
|
|
82909
82923
|
return D1(this, s1).delete(s1);
|
|
82910
82924
|
}
|
|
82911
|
-
function
|
|
82925
|
+
function we(s1) {
|
|
82912
82926
|
return D1(this, s1).get(s1);
|
|
82913
82927
|
}
|
|
82914
82928
|
function We(s1) {
|
|
@@ -82917,10 +82931,10 @@ function uie() {
|
|
|
82917
82931
|
function Ye(s1, E1) {
|
|
82918
82932
|
return D1(this, s1).set(s1, E1), this;
|
|
82919
82933
|
}
|
|
82920
|
-
N1.prototype.clear = se, N1.prototype.delete = he, N1.prototype.get =
|
|
82934
|
+
N1.prototype.clear = se, N1.prototype.delete = he, N1.prototype.get = we, N1.prototype.has = We, N1.prototype.set = Ye;
|
|
82921
82935
|
function Ee(s1) {
|
|
82922
|
-
var E1 = -1,
|
|
82923
|
-
for (this.__data__ = new N1(); ++E1 <
|
|
82936
|
+
var E1 = -1, Z1 = s1 ? s1.length : 0;
|
|
82937
|
+
for (this.__data__ = new N1(); ++E1 < Z1; )
|
|
82924
82938
|
this.add(s1[E1]);
|
|
82925
82939
|
}
|
|
82926
82940
|
function Qe(s1) {
|
|
@@ -82931,18 +82945,18 @@ function uie() {
|
|
|
82931
82945
|
}
|
|
82932
82946
|
Ee.prototype.add = Ee.prototype.push = Qe, Ee.prototype.has = o2;
|
|
82933
82947
|
function k2(s1, E1) {
|
|
82934
|
-
for (var
|
|
82935
|
-
if (ae(s1[
|
|
82936
|
-
return
|
|
82948
|
+
for (var Z1 = s1.length; Z1--; )
|
|
82949
|
+
if (ae(s1[Z1][0], E1))
|
|
82950
|
+
return Z1;
|
|
82937
82951
|
return -1;
|
|
82938
82952
|
}
|
|
82939
82953
|
function X(s1) {
|
|
82940
82954
|
if (!s2(s1) || M1(s1))
|
|
82941
82955
|
return !1;
|
|
82942
|
-
var E1 =
|
|
82956
|
+
var E1 = Be(s1) || w(s1) ? D : r;
|
|
82943
82957
|
return E1.test(P1(s1));
|
|
82944
82958
|
}
|
|
82945
|
-
function t1(s1, E1,
|
|
82959
|
+
function t1(s1, E1, Z1) {
|
|
82946
82960
|
var Ke = -1, h3 = d, c3 = s1.length, L4 = !0, M3 = [], g3 = M3;
|
|
82947
82961
|
if (c3 >= e) {
|
|
82948
82962
|
var $5 = v1(s1);
|
|
@@ -82959,7 +82973,7 @@ function uie() {
|
|
|
82959
82973
|
if (g3[G4] === q3)
|
|
82960
82974
|
continue e;
|
|
82961
82975
|
M3.push(B3);
|
|
82962
|
-
} else h3(g3, q3,
|
|
82976
|
+
} else h3(g3, q3, Z1) || (g3 !== M3 && g3.push(q3), M3.push(B3));
|
|
82963
82977
|
}
|
|
82964
82978
|
return M3;
|
|
82965
82979
|
}
|
|
@@ -82967,12 +82981,12 @@ function uie() {
|
|
|
82967
82981
|
return new U(s1);
|
|
82968
82982
|
} : J1;
|
|
82969
82983
|
function D1(s1, E1) {
|
|
82970
|
-
var
|
|
82971
|
-
return y1(E1) ?
|
|
82984
|
+
var Z1 = s1.__data__;
|
|
82985
|
+
return y1(E1) ? Z1[typeof E1 == "string" ? "string" : "hash"] : Z1.map;
|
|
82972
82986
|
}
|
|
82973
|
-
function
|
|
82974
|
-
var
|
|
82975
|
-
return X(
|
|
82987
|
+
function F1(s1, E1) {
|
|
82988
|
+
var Z1 = y(s1, E1);
|
|
82989
|
+
return X(Z1) ? Z1 : void 0;
|
|
82976
82990
|
}
|
|
82977
82991
|
function y1(s1) {
|
|
82978
82992
|
var E1 = typeof s1;
|
|
@@ -83000,7 +83014,7 @@ function uie() {
|
|
|
83000
83014
|
function ae(s1, E1) {
|
|
83001
83015
|
return s1 === E1 || s1 !== s1 && E1 !== E1;
|
|
83002
83016
|
}
|
|
83003
|
-
function
|
|
83017
|
+
function Be(s1) {
|
|
83004
83018
|
var E1 = s2(s1) ? Z.call(s1) : "";
|
|
83005
83019
|
return E1 == o || E1 == i;
|
|
83006
83020
|
}
|
|
@@ -84664,7 +84678,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84664
84678
|
isModifiedAfterTemplateApplied: !1,
|
|
84665
84679
|
notificationMessageQueue: [],
|
|
84666
84680
|
selectedTemplateId: !1,
|
|
84667
|
-
viewport:
|
|
84681
|
+
viewport: R1.mobile,
|
|
84668
84682
|
brandPageType: d1.default,
|
|
84669
84683
|
mode: s3.edit,
|
|
84670
84684
|
fieldSettings: void 0,
|
|
@@ -84886,13 +84900,13 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84886
84900
|
}), this.initialisePages({
|
|
84887
84901
|
pages: h.pages,
|
|
84888
84902
|
sections: {
|
|
84889
|
-
[
|
|
84890
|
-
[
|
|
84891
|
-
[
|
|
84903
|
+
[ye.header]: {
|
|
84904
|
+
[R1.desktop]: h.pageHeaderDesktop,
|
|
84905
|
+
[R1.mobile]: h.pageHeaderMobile
|
|
84892
84906
|
},
|
|
84893
|
-
[
|
|
84894
|
-
[
|
|
84895
|
-
[
|
|
84907
|
+
[ye.footer]: {
|
|
84908
|
+
[R1.desktop]: h.pageFooterDesktop,
|
|
84909
|
+
[R1.mobile]: h.pageFooterMobile
|
|
84896
84910
|
}
|
|
84897
84911
|
}
|
|
84898
84912
|
}), b.setCurrentActivePage({}), a.isAdminMaker && (n.setAdminStyleOptionDefaultValues(), r.setAdminBackgroundOptionDefaultValues()), n.setLogoStyles(h.styles.logoStyles), n.setButtonStyles(h.styles.buttonStyles), n.setTextStyles(h.styles.textStyles), n.setGalleryStyles(h.styles.galleryStyles), a.isAdminMaker || a.setDesignTemplateToken({
|
|
@@ -84900,11 +84914,11 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84900
84914
|
}), s.setState({
|
|
84901
84915
|
newState: {
|
|
84902
84916
|
navigation: {
|
|
84903
|
-
[
|
|
84904
|
-
[
|
|
84917
|
+
[ye.header]: {
|
|
84918
|
+
[R1.desktop]: new v9(
|
|
84905
84919
|
h.pageHeaderDesktop.navigation
|
|
84906
84920
|
),
|
|
84907
|
-
[
|
|
84921
|
+
[R1.mobile]: new i7(
|
|
84908
84922
|
h.pageHeaderMobile.navigation
|
|
84909
84923
|
)
|
|
84910
84924
|
}
|
|
@@ -85024,17 +85038,17 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85024
85038
|
this.initialisePagesForCurrentPage({
|
|
85025
85039
|
pages: e.pages,
|
|
85026
85040
|
sections: {
|
|
85027
|
-
[
|
|
85028
|
-
[
|
|
85029
|
-
[
|
|
85041
|
+
[ye.header]: {
|
|
85042
|
+
[R1.desktop]: e.pageHeaderDesktop,
|
|
85043
|
+
[R1.mobile]: e.pageHeaderMobile
|
|
85030
85044
|
},
|
|
85031
|
-
[
|
|
85032
|
-
[
|
|
85033
|
-
[
|
|
85045
|
+
[ye.footer]: {
|
|
85046
|
+
[R1.desktop]: e.pageFooterDesktop,
|
|
85047
|
+
[R1.mobile]: e.pageFooterMobile
|
|
85034
85048
|
}
|
|
85035
85049
|
}
|
|
85036
85050
|
}), a.setNav({ nav: e.nav }), s.$patch((d) => {
|
|
85037
|
-
d.navigation[
|
|
85051
|
+
d.navigation[ye.header][R1.desktop] = new v9(e.pageHeaderDesktop?.navigation), d.navigation[ye.header][R1.mobile] = new i7(e.pageHeaderMobile?.navigation);
|
|
85038
85052
|
}), i.$patch((d) => {
|
|
85039
85053
|
d.buttonStyles = e.styles.buttonStyles, d.logoStyles = e.styles.logoStyles, d.textStyles = e.styles.textStyles, d.galleryStyles = e.styles.galleryStyles;
|
|
85040
85054
|
}), c.setColors(e.styles?.colors ?? []), r.$patch((d) => {
|
|
@@ -85129,25 +85143,25 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85129
85143
|
// TODO: refactor and extend this method for initialise stores.
|
|
85130
85144
|
// TODO: waiting to do undo/redo feature to extend this functionality
|
|
85131
85145
|
async initialiseStoresByBrandPageModelAsync(e) {
|
|
85132
|
-
const t = q2(), n = D4(), o = B4(), i = U9();
|
|
85146
|
+
const t = q2(), n = D4(), o = B4(), i = U9(), s = w2();
|
|
85133
85147
|
t.setNav({ nav: e.nav }), this.initialisePagesForCurrentPage({
|
|
85134
85148
|
pages: e.pages,
|
|
85135
85149
|
sections: {
|
|
85136
|
-
[
|
|
85137
|
-
[
|
|
85138
|
-
[
|
|
85150
|
+
[ye.header]: {
|
|
85151
|
+
[R1.desktop]: e.pageHeaderDesktop,
|
|
85152
|
+
[R1.mobile]: e.pageHeaderMobile
|
|
85139
85153
|
},
|
|
85140
|
-
[
|
|
85141
|
-
[
|
|
85142
|
-
[
|
|
85154
|
+
[ye.footer]: {
|
|
85155
|
+
[R1.desktop]: e.pageFooterDesktop,
|
|
85156
|
+
[R1.mobile]: e.pageFooterMobile
|
|
85143
85157
|
}
|
|
85144
85158
|
}
|
|
85145
|
-
}), i.setState({
|
|
85159
|
+
}), s.resetStalePageLinks(), i.setState({
|
|
85146
85160
|
newState: {
|
|
85147
85161
|
navigation: {
|
|
85148
|
-
[
|
|
85149
|
-
[
|
|
85150
|
-
[
|
|
85162
|
+
[ye.header]: {
|
|
85163
|
+
[R1.desktop]: e.pageHeaderDesktop.navigation,
|
|
85164
|
+
[R1.mobile]: e.pageHeaderMobile.navigation
|
|
85151
85165
|
}
|
|
85152
85166
|
}
|
|
85153
85167
|
}
|
|
@@ -85156,39 +85170,39 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85156
85170
|
e.styles.backgroundStyles
|
|
85157
85171
|
)
|
|
85158
85172
|
});
|
|
85159
|
-
const { buttonStyles:
|
|
85173
|
+
const { buttonStyles: r, logoStyles: a, textStyles: l, galleryStyles: c } = e.styles;
|
|
85160
85174
|
o.setState({
|
|
85161
85175
|
newState: {
|
|
85162
|
-
buttonStyles:
|
|
85163
|
-
logoStyles:
|
|
85164
|
-
textStyles:
|
|
85165
|
-
galleryStyles:
|
|
85176
|
+
buttonStyles: r,
|
|
85177
|
+
logoStyles: a,
|
|
85178
|
+
textStyles: l,
|
|
85179
|
+
galleryStyles: c
|
|
85166
85180
|
}
|
|
85167
|
-
}), b5().setColors(e.styles?.colors ?? []),
|
|
85168
|
-
id:
|
|
85181
|
+
}), b5().setColors(e.styles?.colors ?? []), r.selectedButtonStyleId && o.setSelectedButtonStyle({
|
|
85182
|
+
id: r.selectedButtonStyleId
|
|
85169
85183
|
});
|
|
85170
|
-
const
|
|
85184
|
+
const { externalEditor: d } = b7();
|
|
85171
85185
|
zn(
|
|
85172
|
-
|
|
85186
|
+
s,
|
|
85173
85187
|
d,
|
|
85174
85188
|
void 0,
|
|
85175
85189
|
void 0,
|
|
85176
85190
|
de.titles,
|
|
85177
|
-
|
|
85191
|
+
l.textStyleOptions.titles.style
|
|
85178
85192
|
), zn(
|
|
85179
|
-
|
|
85193
|
+
s,
|
|
85180
85194
|
d,
|
|
85181
85195
|
void 0,
|
|
85182
85196
|
void 0,
|
|
85183
85197
|
de.headings,
|
|
85184
|
-
|
|
85198
|
+
l.textStyleOptions.headings.style
|
|
85185
85199
|
), zn(
|
|
85186
|
-
|
|
85200
|
+
s,
|
|
85187
85201
|
d,
|
|
85188
85202
|
void 0,
|
|
85189
85203
|
void 0,
|
|
85190
85204
|
de.paragraphs,
|
|
85191
|
-
|
|
85205
|
+
l.textStyleOptions.paragraphs.style
|
|
85192
85206
|
), d.destroy();
|
|
85193
85207
|
},
|
|
85194
85208
|
async initialise({
|
|
@@ -85257,7 +85271,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85257
85271
|
if (O.initialise({
|
|
85258
85272
|
reset: !1,
|
|
85259
85273
|
brandPageType: this.brandPageType
|
|
85260
|
-
}), this.brandPageType === d1.brandSite && (this.viewport =
|
|
85274
|
+
}), this.brandPageType === d1.brandSite && (this.viewport = R1.desktop), S.setTemplateType({
|
|
85261
85275
|
templateType: Vie[z]
|
|
85262
85276
|
}), b.setLogoTheme({
|
|
85263
85277
|
logoTheme: Q9(
|
|
@@ -85270,13 +85284,13 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85270
85284
|
}), this.initialisePages({
|
|
85271
85285
|
pages: D.pages,
|
|
85272
85286
|
sections: {
|
|
85273
|
-
[
|
|
85274
|
-
[
|
|
85275
|
-
[
|
|
85287
|
+
[ye.header]: {
|
|
85288
|
+
[R1.desktop]: D.pageHeaderDesktop,
|
|
85289
|
+
[R1.mobile]: D.pageHeaderMobile
|
|
85276
85290
|
},
|
|
85277
|
-
[
|
|
85278
|
-
[
|
|
85279
|
-
[
|
|
85291
|
+
[ye.footer]: {
|
|
85292
|
+
[R1.desktop]: D.pageFooterDesktop,
|
|
85293
|
+
[R1.mobile]: D.pageFooterMobile
|
|
85280
85294
|
}
|
|
85281
85295
|
}
|
|
85282
85296
|
}), s4().initialiseShopStore({
|
|
@@ -85345,9 +85359,9 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85345
85359
|
}), R.setState({
|
|
85346
85360
|
newState: {
|
|
85347
85361
|
navigation: {
|
|
85348
|
-
[
|
|
85349
|
-
[
|
|
85350
|
-
[
|
|
85362
|
+
[ye.header]: {
|
|
85363
|
+
[R1.desktop]: D.pageHeaderDesktop.navigation,
|
|
85364
|
+
[R1.mobile]: D.pageHeaderMobile.navigation
|
|
85351
85365
|
}
|
|
85352
85366
|
}
|
|
85353
85367
|
}
|
|
@@ -85537,16 +85551,16 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85537
85551
|
},
|
|
85538
85552
|
pageHeaderDesktop: Object.assign(
|
|
85539
85553
|
{},
|
|
85540
|
-
e.sections[
|
|
85541
|
-
{ navigation: g[
|
|
85554
|
+
e.sections[ye.header][R1.desktop],
|
|
85555
|
+
{ navigation: g[ye.header][R1.desktop] }
|
|
85542
85556
|
),
|
|
85543
85557
|
pageHeaderMobile: Object.assign(
|
|
85544
85558
|
{},
|
|
85545
|
-
e.sections[
|
|
85546
|
-
{ navigation: g[
|
|
85559
|
+
e.sections[ye.header][R1.mobile],
|
|
85560
|
+
{ navigation: g[ye.header][R1.mobile] }
|
|
85547
85561
|
),
|
|
85548
|
-
pageFooterDesktop: e.sections[
|
|
85549
|
-
pageFooterMobile: e.sections[
|
|
85562
|
+
pageFooterDesktop: e.sections[ye.footer][R1.desktop],
|
|
85563
|
+
pageFooterMobile: e.sections[ye.footer][R1.mobile],
|
|
85550
85564
|
isModifiedAfterTemplateApplied: this.isModifiedAfterTemplateApplied,
|
|
85551
85565
|
brandPageType: this.brandPageType,
|
|
85552
85566
|
faviconUrl: this.faviconUrl,
|
|
@@ -85593,9 +85607,9 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85593
85607
|
},
|
|
85594
85608
|
pageHeaderMobile: Object.assign(
|
|
85595
85609
|
{},
|
|
85596
|
-
e.sections[
|
|
85610
|
+
e.sections[ye.header][R1.mobile],
|
|
85597
85611
|
{
|
|
85598
|
-
navigation: C[
|
|
85612
|
+
navigation: C[ye.header][R1.mobile],
|
|
85599
85613
|
logoImage: u9,
|
|
85600
85614
|
logoImageBase64Url: void 0,
|
|
85601
85615
|
logoTemplateImage: void 0
|
|
@@ -85603,9 +85617,9 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85603
85617
|
),
|
|
85604
85618
|
pageHeaderDesktop: Object.assign(
|
|
85605
85619
|
{},
|
|
85606
|
-
e.sections[
|
|
85620
|
+
e.sections[ye.header][R1.desktop],
|
|
85607
85621
|
{
|
|
85608
|
-
navigation: C[
|
|
85622
|
+
navigation: C[ye.header][R1.desktop],
|
|
85609
85623
|
logoImage: u9,
|
|
85610
85624
|
logoImageBase64Url: void 0,
|
|
85611
85625
|
logoTemplateImage: void 0
|
|
@@ -85613,7 +85627,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85613
85627
|
),
|
|
85614
85628
|
pageFooterMobile: Object.assign(
|
|
85615
85629
|
{},
|
|
85616
|
-
e.sections[
|
|
85630
|
+
e.sections[ye.footer][R1.mobile],
|
|
85617
85631
|
{
|
|
85618
85632
|
logoImage: u9,
|
|
85619
85633
|
logoImageBase64Url: void 0,
|
|
@@ -85622,7 +85636,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85622
85636
|
),
|
|
85623
85637
|
pageFooterDesktop: Object.assign(
|
|
85624
85638
|
{},
|
|
85625
|
-
e.sections[
|
|
85639
|
+
e.sections[ye.footer][R1.desktop],
|
|
85626
85640
|
{
|
|
85627
85641
|
logoImage: u9,
|
|
85628
85642
|
logoImageBase64Url: void 0,
|
|
@@ -86593,23 +86607,23 @@ const Vo = W2("snapshot", {
|
|
|
86593
86607
|
options: [
|
|
86594
86608
|
{
|
|
86595
86609
|
label: U3("url"),
|
|
86596
|
-
value:
|
|
86597
|
-
isSelected: e ===
|
|
86610
|
+
value: Pe.url,
|
|
86611
|
+
isSelected: e === Pe.url
|
|
86598
86612
|
},
|
|
86599
86613
|
{
|
|
86600
86614
|
label: U3("page"),
|
|
86601
|
-
value:
|
|
86602
|
-
isSelected: e ===
|
|
86615
|
+
value: Pe.page,
|
|
86616
|
+
isSelected: e === Pe.page
|
|
86603
86617
|
},
|
|
86604
86618
|
{
|
|
86605
86619
|
label: U3("emailAddress"),
|
|
86606
|
-
value:
|
|
86607
|
-
isSelected: e ===
|
|
86620
|
+
value: Pe.mailTo,
|
|
86621
|
+
isSelected: e === Pe.mailTo
|
|
86608
86622
|
},
|
|
86609
86623
|
{
|
|
86610
86624
|
label: U3("phoneNumber"),
|
|
86611
|
-
value:
|
|
86612
|
-
isSelected: e ===
|
|
86625
|
+
value: Pe.tel,
|
|
86626
|
+
isSelected: e === Pe.tel
|
|
86613
86627
|
}
|
|
86614
86628
|
],
|
|
86615
86629
|
columns: 2
|
|
@@ -86769,7 +86783,7 @@ const Vo = W2("snapshot", {
|
|
|
86769
86783
|
}, BI = {
|
|
86770
86784
|
convertBackToMultipleValues: !1,
|
|
86771
86785
|
convert(e) {
|
|
86772
|
-
return e.lineHeight?.toString() ||
|
|
86786
|
+
return e.lineHeight?.toString() || $e;
|
|
86773
86787
|
},
|
|
86774
86788
|
convertBack(e) {
|
|
86775
86789
|
return {
|
|
@@ -87136,7 +87150,7 @@ const Vo = W2("snapshot", {
|
|
|
87136
87150
|
e.displayStyle,
|
|
87137
87151
|
n
|
|
87138
87152
|
);
|
|
87139
|
-
}, PF = (e) => e?.buttonLinkType !==
|
|
87153
|
+
}, PF = (e) => e?.buttonLinkType !== Pe.page && e?.buttonText !== !1 && e?.buttonText !== "", AF = (e) => e?.buttonLinkType === Pe.page && e?.buttonText !== !1 && e?.buttonText.length > 0, $F = (e) => e?.buttonText !== "" && e?.buttonText !== !1, kse = (e) => e?.displayStyle === l3 || e?.displayStyle === l0, UI = (e) => !!((e.media?.type === "getty-video" || e.imageUrl) && [
|
|
87140
87154
|
l3,
|
|
87141
87155
|
l0,
|
|
87142
87156
|
h9,
|
|
@@ -87998,7 +88012,7 @@ const Vo = W2("snapshot", {
|
|
|
87998
88012
|
type: "slider",
|
|
87999
88013
|
defaultValue: {
|
|
88000
88014
|
fontSize: X5,
|
|
88001
|
-
lineHeight:
|
|
88015
|
+
lineHeight: $e
|
|
88002
88016
|
},
|
|
88003
88017
|
title: N("sizeTitle"),
|
|
88004
88018
|
valueConvertor: Uy,
|
|
@@ -89045,7 +89059,7 @@ const Vo = W2("snapshot", {
|
|
|
89045
89059
|
buttonLinkType: {
|
|
89046
89060
|
type: "radio",
|
|
89047
89061
|
role: "multi",
|
|
89048
|
-
defaultValue:
|
|
89062
|
+
defaultValue: Pe.url,
|
|
89049
89063
|
title: N("buttonLinkTitle"),
|
|
89050
89064
|
groupId: u1.settings,
|
|
89051
89065
|
optionsConvertor: Fv,
|
|
@@ -89780,7 +89794,7 @@ const Vo = W2("snapshot", {
|
|
|
89780
89794
|
buttonLinkType: {
|
|
89781
89795
|
type: "radio",
|
|
89782
89796
|
role: "multi",
|
|
89783
|
-
defaultValue:
|
|
89797
|
+
defaultValue: Pe.url,
|
|
89784
89798
|
title: N("buttonLinkTitle"),
|
|
89785
89799
|
groupId: u1.settings,
|
|
89786
89800
|
optionsConvertor: Fv,
|
|
@@ -93267,7 +93281,7 @@ function Ice(e, t, n, o, i, s) {
|
|
|
93267
93281
|
value: e.gradientAngle,
|
|
93268
93282
|
onInput: t[4] || (t[4] = (...h) => e.onGradientAngleChanged && e.onGradientAngleChanged(...h))
|
|
93269
93283
|
}, null, 40, xce),
|
|
93270
|
-
t[9] || (t[9] =
|
|
93284
|
+
t[9] || (t[9] = Ae(" ° ", -1))
|
|
93271
93285
|
], 512), [
|
|
93272
93286
|
[Z3, e.isLinear]
|
|
93273
93287
|
])
|
|
@@ -95043,7 +95057,7 @@ const iCe = { key: 2 }, sCe = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, rCe
|
|
|
95043
95057
|
};
|
|
95044
95058
|
function ICe(e, t, n, o, i, s) {
|
|
95045
95059
|
return u(), f("p", VCe, [
|
|
95046
|
-
|
|
95060
|
+
Ae(P(n.title) + " ", 1),
|
|
95047
95061
|
n.isRequired ? (u(), f("span", HCe, " * ")) : M("", !0)
|
|
95048
95062
|
]);
|
|
95049
95063
|
}
|
|
@@ -95092,7 +95106,7 @@ const ks = /* @__PURE__ */ v(xCe, [["render", ICe]]), ECe = {
|
|
|
95092
95106
|
onClick: C[0] || (C[0] = (h) => a(void 0))
|
|
95093
95107
|
}, {
|
|
95094
95108
|
default: i1(() => [...C[1] || (C[1] = [
|
|
95095
|
-
|
|
95109
|
+
Ae(" None ", -1)
|
|
95096
95110
|
])]),
|
|
95097
95111
|
_: 1
|
|
95098
95112
|
}),
|
|
@@ -95102,7 +95116,7 @@ const ks = /* @__PURE__ */ v(xCe, [["render", ICe]]), ECe = {
|
|
|
95102
95116
|
onClick: (g) => a(h)
|
|
95103
95117
|
}, {
|
|
95104
95118
|
default: i1(() => [
|
|
95105
|
-
|
|
95119
|
+
Ae(P(h), 1)
|
|
95106
95120
|
]),
|
|
95107
95121
|
_: 2
|
|
95108
95122
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -95219,9 +95233,9 @@ const ks = /* @__PURE__ */ v(xCe, [["render", ICe]]), ECe = {
|
|
|
95219
95233
|
p("div", null, [
|
|
95220
95234
|
p("p", OCe, P(V(Y0)("dropToUpload")), 1),
|
|
95221
95235
|
p("p", null, [
|
|
95222
|
-
|
|
95236
|
+
Ae(P(V(Y0)("acceptText")), 1),
|
|
95223
95237
|
D[0] || (D[0] = p("br", null, null, -1)),
|
|
95224
|
-
|
|
95238
|
+
Ae(P(V(Y0)("maxFiles")), 1)
|
|
95225
95239
|
])
|
|
95226
95240
|
])
|
|
95227
95241
|
])
|
|
@@ -95848,7 +95862,7 @@ const fue = /* @__PURE__ */ v(tue, [["render", pue], ["__scopeId", "data-v-68941
|
|
|
95848
95862
|
window.dispatchEvent(new Event("ON_LOGIN_REQUESTED")), window.dispatchEvent(new Event("SAVE_PROGRESS_CLICKED"));
|
|
95849
95863
|
};
|
|
95850
95864
|
return (n, o) => (u(), f("div", mue, [
|
|
95851
|
-
|
|
95865
|
+
Ae(P(V(TM)("loginPrompt")) + " ", 1),
|
|
95852
95866
|
p("a", {
|
|
95853
95867
|
class: "maker-anchor tw-cursor-pointer",
|
|
95854
95868
|
onClick: t
|
|
@@ -95889,9 +95903,9 @@ function Lue(e, t, n, o, i, s) {
|
|
|
95889
95903
|
e.imageUploaderReady ? (u(), f("div", bue, [
|
|
95890
95904
|
p("p", vue, P(o.myUploadSettingsTr("fileUploadLabel")), 1),
|
|
95891
95905
|
p("p", Sue, [
|
|
95892
|
-
|
|
95906
|
+
Ae(P(e.acceptedTypesSubtitle), 1),
|
|
95893
95907
|
t[0] || (t[0] = p("br", null, null, -1)),
|
|
95894
|
-
|
|
95908
|
+
Ae(" " + P(e.maxUploadedFiles > 1 ? o.myUploadSettingsTr("maxMultipleFiles", {
|
|
95895
95909
|
MAX_UPLOADED_FILES: e.maxUploadedFiles
|
|
95896
95910
|
}) : o.myUploadSettingsTr("maxOneFile", {
|
|
95897
95911
|
MAX_UPLOADED_FILES: e.maxUploadedFiles
|
|
@@ -96524,7 +96538,7 @@ function mpe(e, t, n, o, i, s) {
|
|
|
96524
96538
|
T(l)
|
|
96525
96539
|
])) : M("", !0),
|
|
96526
96540
|
p("p", gpe, [
|
|
96527
|
-
|
|
96541
|
+
Ae(P(o.tr("poweredBy")) + " ", 1),
|
|
96528
96542
|
t[1] || (t[1] = p("a", {
|
|
96529
96543
|
href: "https://unsplash.com",
|
|
96530
96544
|
class: "maker-anchor tw-no-underline"
|
|
@@ -96746,7 +96760,7 @@ const bpe = { "data-component": "video-library" }, vpe = {
|
|
|
96746
96760
|
T(V(A2))
|
|
96747
96761
|
])) : M("", !0),
|
|
96748
96762
|
p("p", Ppe, [
|
|
96749
|
-
|
|
96763
|
+
Ae(P(V(V8)("poweredBy")) + " ", 1),
|
|
96750
96764
|
n1[1] || (n1[1] = p("a", {
|
|
96751
96765
|
href: "https://www.gettyimages.com",
|
|
96752
96766
|
class: "maker-anchor tw-no-underline",
|
|
@@ -98144,8 +98158,8 @@ const wfe = /* @__PURE__ */ v(mfe, [["render", yfe], ["__scopeId", "data-v-0cd8c
|
|
|
98144
98158
|
const n = JSON.parse(
|
|
98145
98159
|
JSON.stringify(t.settings.content.logoImage)
|
|
98146
98160
|
);
|
|
98147
|
-
this.uiLogoSettingsStore.setSelectedLogoImage(n), [
|
|
98148
|
-
[
|
|
98161
|
+
this.uiLogoSettingsStore.setSelectedLogoImage(n), [ye.header, ye.footer].forEach((o) => {
|
|
98162
|
+
[R1.desktop, R1.mobile].forEach((i) => {
|
|
98149
98163
|
this.pageSettingsStore.setPageSettingsSectionLogoImage({
|
|
98150
98164
|
sectionName: o,
|
|
98151
98165
|
logoImage: n,
|
|
@@ -99255,7 +99269,7 @@ const Vhe = /* @__PURE__ */ v(Mhe, [["render", xhe], ["__scopeId", "data-v-8240b
|
|
|
99255
99269
|
O1(l.$slots, "main", { showModal: i })
|
|
99256
99270
|
]),
|
|
99257
99271
|
p("label", $he, [
|
|
99258
|
-
|
|
99272
|
+
Ae(P(V(Yo)("uploadNewLogo")) + " ", 1),
|
|
99259
99273
|
p("input", {
|
|
99260
99274
|
id: "byo-upload-logo-file",
|
|
99261
99275
|
ref_key: "byoLogoFileInput",
|
|
@@ -99718,14 +99732,14 @@ const Vhe = /* @__PURE__ */ v(Mhe, [["render", xhe], ["__scopeId", "data-v-8240b
|
|
|
99718
99732
|
}
|
|
99719
99733
|
};
|
|
99720
99734
|
return (c, d) => (u(), f("div", null, [
|
|
99721
|
-
e.viewport === V(
|
|
99735
|
+
e.viewport === V(R1).mobile ? (u(), $(V(b9), {
|
|
99722
99736
|
key: 0,
|
|
99723
99737
|
modelValue: r.value,
|
|
99724
99738
|
"onUpdate:modelValue": d[0] || (d[0] = (C) => r.value = C),
|
|
99725
99739
|
min: V(eu),
|
|
99726
99740
|
max: V(fo)
|
|
99727
99741
|
}, null, 8, ["modelValue", "min", "max"])) : M("", !0),
|
|
99728
|
-
e.viewport === V(
|
|
99742
|
+
e.viewport === V(R1).desktop ? (u(), $(V(b9), {
|
|
99729
99743
|
key: 1,
|
|
99730
99744
|
modelValue: r.value,
|
|
99731
99745
|
"onUpdate:modelValue": d[1] || (d[1] = (C) => r.value = C),
|
|
@@ -99763,7 +99777,7 @@ const Vhe = /* @__PURE__ */ v(Mhe, [["render", xhe], ["__scopeId", "data-v-8240b
|
|
|
99763
99777
|
return (r, a) => (u(), $(Ls, {
|
|
99764
99778
|
"data-component": "logo-size-slider-field",
|
|
99765
99779
|
value: s.value,
|
|
99766
|
-
viewport: V(
|
|
99780
|
+
viewport: V(R1).desktop,
|
|
99767
99781
|
onOnChange: i
|
|
99768
99782
|
}, null, 8, ["value", "viewport"]));
|
|
99769
99783
|
}
|
|
@@ -102122,7 +102136,7 @@ var et = class Ht extends Re {
|
|
|
102122
102136
|
const s = this.$anchorCell.node(-1) != o.node(-1);
|
|
102123
102137
|
return s && this.isRowSelection() ? Ht.rowSelection(o, i) : s && this.isColSelection() ? Ht.colSelection(o, i) : new Ht(o, i);
|
|
102124
102138
|
}
|
|
102125
|
-
return
|
|
102139
|
+
return Oe.between(o, i);
|
|
102126
102140
|
}
|
|
102127
102141
|
content() {
|
|
102128
102142
|
const t = this.$anchorCell.node(-1), n = At.get(t), o = this.$anchorCell.start(-1), i = n.rectBetween(this.$anchorCell.pos - o, this.$headCell.pos - o), s = {}, r = [];
|
|
@@ -102357,7 +102371,7 @@ function Tc(e, t) {
|
|
|
102357
102371
|
};
|
|
102358
102372
|
}
|
|
102359
102373
|
function nz(e, t, n) {
|
|
102360
|
-
if (!(e.state.selection instanceof
|
|
102374
|
+
if (!(e.state.selection instanceof Oe)) return null;
|
|
102361
102375
|
const { $head: o } = e.state.selection;
|
|
102362
102376
|
for (let i = o.depth - 1; i >= 0; i--) {
|
|
102363
102377
|
const s = o.node(i);
|
|
@@ -106526,7 +106540,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106526
106540
|
if (J1) {
|
|
106527
106541
|
We();
|
|
106528
106542
|
const s1 = s.textStyles.textStyleOptions[J1 ?? "titles"].style;
|
|
106529
|
-
if (
|
|
106543
|
+
if (we(s1), y.value) {
|
|
106530
106544
|
const E1 = {
|
|
106531
106545
|
color: s1.color ?? "",
|
|
106532
106546
|
backgroundColor: void 0
|
|
@@ -106574,9 +106588,9 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106574
106588
|
}
|
|
106575
106589
|
});
|
|
106576
106590
|
else {
|
|
106577
|
-
const
|
|
106591
|
+
const Z1 = s.textStyles.textStyleOptions[J1.value ?? "titles"].style, Ke = {
|
|
106578
106592
|
textStyleType: J1.value,
|
|
106579
|
-
fontSize:
|
|
106593
|
+
fontSize: Z1.fontSize,
|
|
106580
106594
|
color: void 0,
|
|
106581
106595
|
backgroundColor: void 0
|
|
106582
106596
|
};
|
|
@@ -106627,7 +106641,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106627
106641
|
letterSpacingValue: N1,
|
|
106628
106642
|
lineHeightValue: se,
|
|
106629
106643
|
setInitialStyleSettings: he,
|
|
106630
|
-
copyGlobalStyleSettings:
|
|
106644
|
+
copyGlobalStyleSettings: we,
|
|
106631
106645
|
unsetAllMarks: We,
|
|
106632
106646
|
handleHyperlink: Ye,
|
|
106633
106647
|
hyperlinkValue: Ee,
|
|
@@ -106651,9 +106665,9 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106651
106665
|
const J1 = x1.getAttributes("link").href;
|
|
106652
106666
|
return J1 && (J1.startsWith("http://") || J1.startsWith("https://"));
|
|
106653
106667
|
}), D1 = () => {
|
|
106654
|
-
const J1 = Z.value === I4.page ?
|
|
106668
|
+
const J1 = Z.value === I4.page ? F1(I.value) : Ee.value?.value || "";
|
|
106655
106669
|
J1 ? (Qe(J1), Ye("apply")) : x.value = !1;
|
|
106656
|
-
},
|
|
106670
|
+
}, F1 = (J1) => {
|
|
106657
106671
|
const s1 = i.routes.find((E1) => E1.pageId === J1);
|
|
106658
106672
|
return $D1(s1?.pageId || "");
|
|
106659
106673
|
}, y1 = (J1) => {
|
|
@@ -106672,17 +106686,17 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106672
106686
|
"toggle",
|
|
106673
106687
|
void 0
|
|
106674
106688
|
);
|
|
106675
|
-
},
|
|
106689
|
+
}, Be = (J1, s1) => {
|
|
106676
106690
|
P1();
|
|
106677
106691
|
const E1 = x1.getAttributes("link").href;
|
|
106678
106692
|
if (E1) {
|
|
106679
|
-
const
|
|
106680
|
-
|
|
106693
|
+
const Z1 = M1(E1);
|
|
106694
|
+
Z1 ? j1(Z1) : ae();
|
|
106681
106695
|
} else
|
|
106682
106696
|
ae();
|
|
106683
106697
|
}, s2 = (J1) => {
|
|
106684
106698
|
if (Un(J1)) {
|
|
106685
|
-
const s1 = $m(J1), E1 = i.routes.find((
|
|
106699
|
+
const s1 = $m(J1), E1 = i.routes.find((Z1) => Z1.pageId === s1);
|
|
106686
106700
|
return E1 ? E1.pageSlug : "";
|
|
106687
106701
|
}
|
|
106688
106702
|
return J1;
|
|
@@ -106697,7 +106711,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106697
106711
|
ref: l,
|
|
106698
106712
|
"data-test-tag": "text-style-dropdown",
|
|
106699
106713
|
class: "style-editor-button style-editor-button-textstyle",
|
|
106700
|
-
title: _.find((
|
|
106714
|
+
title: _.find((Z1) => Z1.isSelected)?.label ?? V(c9)().none,
|
|
106701
106715
|
"icon-size": "xs",
|
|
106702
106716
|
"element-classes": "text-dropdown-title",
|
|
106703
106717
|
"menu-element-classes": "tw-min-w-[310px] tw-left-0",
|
|
@@ -106705,14 +106719,14 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106705
106719
|
}, {
|
|
106706
106720
|
default: i1(() => [
|
|
106707
106721
|
p("div", nEe, [
|
|
106708
|
-
(u(!0), f(b1, null, q1(_, (
|
|
106709
|
-
key:
|
|
106722
|
+
(u(!0), f(b1, null, q1(_, (Z1) => (u(), f("div", {
|
|
106723
|
+
key: Z1.value,
|
|
106710
106724
|
class: "tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer",
|
|
106711
|
-
onClick: (Ke) => U(
|
|
106725
|
+
onClick: (Ke) => U(Z1)
|
|
106712
106726
|
}, [
|
|
106713
106727
|
p("span", iEe, [
|
|
106714
|
-
|
|
106715
|
-
|
|
106728
|
+
Ae(P(Z1.label) + " ", 1),
|
|
106729
|
+
Z1.isSelected ? (u(), $(V(Q1), {
|
|
106716
106730
|
key: 0,
|
|
106717
106731
|
name: "check-thin",
|
|
106718
106732
|
size: "sm"
|
|
@@ -106723,7 +106737,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106723
106737
|
]),
|
|
106724
106738
|
_: 1
|
|
106725
106739
|
}, 8, ["title"])), [
|
|
106726
|
-
[E1, (
|
|
106740
|
+
[E1, (Z1) => j(Z1)]
|
|
106727
106741
|
]),
|
|
106728
106742
|
t2((u(), $(V(Y5), {
|
|
106729
106743
|
ref_key: "fontStyleDropdownRef",
|
|
@@ -106749,10 +106763,10 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106749
106763
|
class: "tw-w-full",
|
|
106750
106764
|
"font-family-options": c.value,
|
|
106751
106765
|
value: k.selectedFont,
|
|
106752
|
-
onOnSelect: s1[0] || (s1[0] = (
|
|
106766
|
+
onOnSelect: s1[0] || (s1[0] = (Z1) => {
|
|
106753
106767
|
V(p1)({
|
|
106754
106768
|
type: "fontFamily",
|
|
106755
|
-
value: V(Ve)[
|
|
106769
|
+
value: V(Ve)[Z1.key].name
|
|
106756
106770
|
});
|
|
106757
106771
|
})
|
|
106758
106772
|
}, null, 8, ["font-family-options", "value"])
|
|
@@ -106762,13 +106776,13 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106762
106776
|
]),
|
|
106763
106777
|
_: 1
|
|
106764
106778
|
}, 8, ["title"])), [
|
|
106765
|
-
[E1, (
|
|
106779
|
+
[E1, (Z1) => n1(Z1)]
|
|
106766
106780
|
]),
|
|
106767
106781
|
s1[18] || (s1[18] = p("div", { class: "border mobile" }, null, -1)),
|
|
106768
106782
|
p("div", sEe, [
|
|
106769
106783
|
T(V(gw), {
|
|
106770
106784
|
modelValue: k.selectedFontSizePx,
|
|
106771
|
-
"onUpdate:modelValue": s1[1] || (s1[1] = (
|
|
106785
|
+
"onUpdate:modelValue": s1[1] || (s1[1] = (Z1) => k.selectedFontSizePx = Z1),
|
|
106772
106786
|
"data-test-tag": "font-size-stepper",
|
|
106773
106787
|
min: V(p$),
|
|
106774
106788
|
max: V(JC),
|
|
@@ -106777,7 +106791,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106777
106791
|
"input-classes": "tw-min-w-8 tw-text-sm tw-text-grayscale-600",
|
|
106778
106792
|
"container-class": "style-editor-button-stepper tw-h-8 ",
|
|
106779
106793
|
"timer-to-minimum": 750,
|
|
106780
|
-
onInput: s1[2] || (s1[2] = (
|
|
106794
|
+
onInput: s1[2] || (s1[2] = (Z1) => V(p1)({
|
|
106781
106795
|
type: "fontSize",
|
|
106782
106796
|
value: `${k.selectedFontSizePx}px`
|
|
106783
106797
|
}))
|
|
@@ -106797,10 +106811,10 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106797
106811
|
"logo-theme": w.value,
|
|
106798
106812
|
"is-toggled": !0,
|
|
106799
106813
|
popup: !0,
|
|
106800
|
-
"onUpdate:modelValue": s1[3] || (s1[3] = (
|
|
106801
|
-
k.selectedTextColor =
|
|
106814
|
+
"onUpdate:modelValue": s1[3] || (s1[3] = (Z1) => {
|
|
106815
|
+
k.selectedTextColor = Z1.value, V(p1)({
|
|
106802
106816
|
type: "textColor",
|
|
106803
|
-
value:
|
|
106817
|
+
value: Z1.value
|
|
106804
106818
|
});
|
|
106805
106819
|
})
|
|
106806
106820
|
}, null, 8, ["value", "is-admin-maker", "logo-theme"])
|
|
@@ -106813,7 +106827,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106813
106827
|
"data-test-tag": "bold-toolbar",
|
|
106814
106828
|
icon: "maker-bold",
|
|
106815
106829
|
"icon-size": "sm",
|
|
106816
|
-
onClick: s1[4] || (s1[4] = (
|
|
106830
|
+
onClick: s1[4] || (s1[4] = (Z1) => V(p1)({ type: "fontWeight", value: "bold" }))
|
|
106817
106831
|
}, null, 8, ["class"]),
|
|
106818
106832
|
T(V(z1), {
|
|
106819
106833
|
class: B(["toolbar-editor-button", {
|
|
@@ -106822,7 +106836,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106822
106836
|
"data-test-tag": "italic-toolbar",
|
|
106823
106837
|
icon: "maker-italic",
|
|
106824
106838
|
"icon-size": "sm",
|
|
106825
|
-
onClick: s1[5] || (s1[5] = (
|
|
106839
|
+
onClick: s1[5] || (s1[5] = (Z1) => V(p1)({ type: "fontStyle", value: "italic" }))
|
|
106826
106840
|
}, null, 8, ["class"]),
|
|
106827
106841
|
T(V(z1), {
|
|
106828
106842
|
class: B(["toolbar-editor-button", {
|
|
@@ -106831,7 +106845,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106831
106845
|
icon: "maker-underline",
|
|
106832
106846
|
"data-test-tag": "underline-toolbar",
|
|
106833
106847
|
"icon-size": "sm",
|
|
106834
|
-
onClick: s1[6] || (s1[6] = (
|
|
106848
|
+
onClick: s1[6] || (s1[6] = (Z1) => V(p1)({
|
|
106835
106849
|
type: "textDecorationLine",
|
|
106836
106850
|
value: "underline"
|
|
106837
106851
|
}))
|
|
@@ -106845,7 +106859,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106845
106859
|
icon: "maker-strikethrough",
|
|
106846
106860
|
"icon-size": "sm",
|
|
106847
106861
|
justify: "center",
|
|
106848
|
-
onClick: s1[7] || (s1[7] = (
|
|
106862
|
+
onClick: s1[7] || (s1[7] = (Z1) => V(p1)({
|
|
106849
106863
|
type: "textDecorationStrike",
|
|
106850
106864
|
value: "line-through"
|
|
106851
106865
|
}))
|
|
@@ -106863,10 +106877,10 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106863
106877
|
"logo-theme": w.value,
|
|
106864
106878
|
"is-toggled": !0,
|
|
106865
106879
|
popup: !0,
|
|
106866
|
-
"onUpdate:modelValue": s1[8] || (s1[8] = (
|
|
106867
|
-
k.selectedBackgroundColor =
|
|
106880
|
+
"onUpdate:modelValue": s1[8] || (s1[8] = (Z1) => {
|
|
106881
|
+
k.selectedBackgroundColor = Z1.value, V(p1)({
|
|
106868
106882
|
type: "backgroundColor",
|
|
106869
|
-
value:
|
|
106883
|
+
value: Z1.value
|
|
106870
106884
|
});
|
|
106871
106885
|
})
|
|
106872
106886
|
}, null, 8, ["value", "is-admin-maker", "logo-theme"])
|
|
@@ -106879,7 +106893,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106879
106893
|
"data-test-tag": "alignment-toolbar",
|
|
106880
106894
|
"icon-size": "sm",
|
|
106881
106895
|
justify: "center",
|
|
106882
|
-
onClick: s1[9] || (s1[9] = (
|
|
106896
|
+
onClick: s1[9] || (s1[9] = (Z1) => V(p1)({ type: "textAlign", value: "center" }))
|
|
106883
106897
|
}, null, 8, ["icon", "class"]),
|
|
106884
106898
|
T(V(z1), {
|
|
106885
106899
|
class: B(["toolbar-editor-button", {
|
|
@@ -106889,7 +106903,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106889
106903
|
icon: "maker-spacing",
|
|
106890
106904
|
"icon-size": "sm",
|
|
106891
106905
|
justify: "center",
|
|
106892
|
-
onClick: s1[10] || (s1[10] = (
|
|
106906
|
+
onClick: s1[10] || (s1[10] = (Z1) => h.value = !h.value)
|
|
106893
106907
|
}, null, 8, ["class"]),
|
|
106894
106908
|
T(V(z1), {
|
|
106895
106909
|
class: B(["toolbar-editor-button", {
|
|
@@ -106899,7 +106913,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106899
106913
|
icon: "maker-link",
|
|
106900
106914
|
"icon-size": "sm",
|
|
106901
106915
|
justify: "center",
|
|
106902
|
-
onClick: s1[11] || (s1[11] = (
|
|
106916
|
+
onClick: s1[11] || (s1[11] = (Z1) => Be())
|
|
106903
106917
|
}, null, 8, ["class"])
|
|
106904
106918
|
]),
|
|
106905
106919
|
h.value ? t2((u(), f("div", lEe, [
|
|
@@ -106907,7 +106921,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106907
106921
|
p("label", dEe, P(V(um)("letterSpacing")), 1),
|
|
106908
106922
|
T(V(b9), {
|
|
106909
106923
|
modelValue: V(N1),
|
|
106910
|
-
"onUpdate:modelValue": s1[12] || (s1[12] = (
|
|
106924
|
+
"onUpdate:modelValue": s1[12] || (s1[12] = (Z1) => hd(N1) ? N1.value = Z1 : null),
|
|
106911
106925
|
min: V(vw),
|
|
106912
106926
|
max: V(Sw),
|
|
106913
106927
|
"prevent-negative": !0
|
|
@@ -106915,7 +106929,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106915
106929
|
p("label", CEe, P(V(um)("lineHeight")), 1),
|
|
106916
106930
|
T(V(b9), {
|
|
106917
106931
|
modelValue: V(se),
|
|
106918
|
-
"onUpdate:modelValue": s1[13] || (s1[13] = (
|
|
106932
|
+
"onUpdate:modelValue": s1[13] || (s1[13] = (Z1) => hd(se) ? se.value = Z1 : null),
|
|
106919
106933
|
min: V(_w),
|
|
106920
106934
|
max: V(Mw),
|
|
106921
106935
|
step: 0.1,
|
|
@@ -106923,7 +106937,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106923
106937
|
}, null, 8, ["modelValue", "min", "max"])
|
|
106924
106938
|
])
|
|
106925
106939
|
])), [
|
|
106926
|
-
[E1, (
|
|
106940
|
+
[E1, (Z1) => g1(Z1)]
|
|
106927
106941
|
]) : M("", !0),
|
|
106928
106942
|
x.value ? t2((u(), f("div", uEe, [
|
|
106929
106943
|
p("div", pEe, [
|
|
@@ -106932,7 +106946,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106932
106946
|
}, null, 8, ["title"]),
|
|
106933
106947
|
T(V(je), {
|
|
106934
106948
|
modelValue: r1.value,
|
|
106935
|
-
"onUpdate:modelValue": s1[14] || (s1[14] = (
|
|
106949
|
+
"onUpdate:modelValue": s1[14] || (s1[14] = (Z1) => r1.value = Z1),
|
|
106936
106950
|
placeholder: V(N)("displayTextPlaceholder")
|
|
106937
106951
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
106938
106952
|
T(ks, {
|
|
@@ -106951,7 +106965,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106951
106965
|
value: D.value,
|
|
106952
106966
|
settings: z.value,
|
|
106953
106967
|
placeholder: "https://example.com",
|
|
106954
|
-
"onUpdate:modelValue": s1[15] || (s1[15] = (
|
|
106968
|
+
"onUpdate:modelValue": s1[15] || (s1[15] = (Z1) => V(Qe)(Z1.value))
|
|
106955
106969
|
}, null, 8, ["role", "value", "settings"])) : M("", !0),
|
|
106956
106970
|
Z.value === V(I4).page ? (u(), $(ep, {
|
|
106957
106971
|
key: 1,
|
|
@@ -106973,7 +106987,7 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106973
106987
|
}, null, 8, ["disabled", "label"])
|
|
106974
106988
|
])
|
|
106975
106989
|
])), [
|
|
106976
|
-
[E1, (
|
|
106990
|
+
[E1, (Z1) => Y(Z1)]
|
|
106977
106991
|
]) : M("", !0)
|
|
106978
106992
|
]),
|
|
106979
106993
|
p("div", {
|
|
@@ -107003,13 +107017,13 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
107003
107017
|
name: "edit",
|
|
107004
107018
|
size: "sm",
|
|
107005
107019
|
class: "tw-cursor-pointer",
|
|
107006
|
-
onClick: s1[16] || (s1[16] = (
|
|
107020
|
+
onClick: s1[16] || (s1[16] = (Z1) => Be())
|
|
107007
107021
|
}),
|
|
107008
107022
|
T(V(Q1), {
|
|
107009
107023
|
name: "delete",
|
|
107010
107024
|
size: "sm",
|
|
107011
107025
|
class: "tw-cursor-pointer",
|
|
107012
|
-
onClick: s1[17] || (s1[17] = (
|
|
107026
|
+
onClick: s1[17] || (s1[17] = (Z1) => V(Ye)("remove"))
|
|
107013
107027
|
})
|
|
107014
107028
|
])
|
|
107015
107029
|
])
|
|
@@ -107467,7 +107481,7 @@ function iPe(e, t, n, o, i, s) {
|
|
|
107467
107481
|
onClick: (y) => e.onSelectType(g, m)
|
|
107468
107482
|
}, {
|
|
107469
107483
|
default: i1(() => [
|
|
107470
|
-
|
|
107484
|
+
Ae(P(m.display), 1)
|
|
107471
107485
|
]),
|
|
107472
107486
|
_: 2
|
|
107473
107487
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -108992,25 +109006,25 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
108992
109006
|
emits: ["update:buttonConfig"],
|
|
108993
109007
|
setup(e, { emit: t }) {
|
|
108994
109008
|
const n = e, o = w2(), i = c1(""), s = t, r = L(
|
|
108995
|
-
() => n.buttonConfig.buttonLinkType ||
|
|
109009
|
+
() => n.buttonConfig.buttonLinkType || Pe.url
|
|
108996
109010
|
), a = L(
|
|
108997
|
-
() => r.value ===
|
|
109011
|
+
() => r.value === Pe.url
|
|
108998
109012
|
), l = L(
|
|
108999
|
-
() => r.value ===
|
|
109013
|
+
() => r.value === Pe.page
|
|
109000
109014
|
), c = L(
|
|
109001
|
-
() => r.value ===
|
|
109015
|
+
() => r.value === Pe.mailTo || r.value === Pe.tel
|
|
109002
109016
|
), d = L(
|
|
109003
109017
|
() => n.buttonConfig.buttonText || ""
|
|
109004
109018
|
), C = L(() => [
|
|
109005
|
-
{ value:
|
|
109019
|
+
{ value: Pe.url, labelKey: "url", alwaysShow: !0 },
|
|
109006
109020
|
{
|
|
109007
|
-
value:
|
|
109021
|
+
value: Pe.page,
|
|
109008
109022
|
labelKey: "page",
|
|
109009
109023
|
alwaysShow: !1,
|
|
109010
109024
|
condition: () => o.pages && o.pages.length > 1
|
|
109011
109025
|
},
|
|
109012
|
-
{ value:
|
|
109013
|
-
{ value:
|
|
109026
|
+
{ value: Pe.mailTo, labelKey: "email", alwaysShow: !0 },
|
|
109027
|
+
{ value: Pe.tel, labelKey: "telephone", alwaysShow: !0 }
|
|
109014
109028
|
].filter(
|
|
109015
109029
|
(I) => I.alwaysShow || I.condition && I.condition()
|
|
109016
109030
|
).map((I) => ({
|
|
@@ -109020,18 +109034,18 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
109020
109034
|
}))), h = L(() => {
|
|
109021
109035
|
if (!n.buttonConfig.url) return !0;
|
|
109022
109036
|
switch (r.value) {
|
|
109023
|
-
case
|
|
109037
|
+
case Pe.mailTo:
|
|
109024
109038
|
return F6(n.buttonConfig.url);
|
|
109025
|
-
case
|
|
109039
|
+
case Pe.tel:
|
|
109026
109040
|
return e8(n.buttonConfig.url);
|
|
109027
109041
|
default:
|
|
109028
109042
|
return m4(n.buttonConfig.url);
|
|
109029
109043
|
}
|
|
109030
109044
|
}), g = L(() => {
|
|
109031
109045
|
switch (r.value) {
|
|
109032
|
-
case
|
|
109046
|
+
case Pe.mailTo:
|
|
109033
109047
|
return z5("invalidEmailMessage");
|
|
109034
|
-
case
|
|
109048
|
+
case Pe.tel:
|
|
109035
109049
|
return z5("invalidTelMessage");
|
|
109036
109050
|
default:
|
|
109037
109051
|
return z5("invalidUrlMessage");
|
|
@@ -109057,9 +109071,9 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
109057
109071
|
m({ url: I });
|
|
109058
109072
|
}, k = () => {
|
|
109059
109073
|
switch (r.value) {
|
|
109060
|
-
case
|
|
109074
|
+
case Pe.mailTo:
|
|
109061
109075
|
return "me@website.com";
|
|
109062
|
-
case
|
|
109076
|
+
case Pe.tel:
|
|
109063
109077
|
return "12345-6789";
|
|
109064
109078
|
default:
|
|
109065
109079
|
return "https://example.com";
|
|
@@ -109219,7 +109233,7 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
109219
109233
|
p("div", null, P(V(pf)("personalisationOverride")), 1),
|
|
109220
109234
|
p("div", null, [
|
|
109221
109235
|
p("span", zAe, P(l.value), 1),
|
|
109222
|
-
|
|
109236
|
+
Ae(" - " + P(C.value), 1)
|
|
109223
109237
|
])
|
|
109224
109238
|
]),
|
|
109225
109239
|
p("div", qAe, [
|
|
@@ -109245,7 +109259,7 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
109245
109259
|
onClick: (S) => m(_.aiPropertyKey)
|
|
109246
109260
|
}, {
|
|
109247
109261
|
default: i1(() => [
|
|
109248
|
-
|
|
109262
|
+
Ae(P(_.display), 1)
|
|
109249
109263
|
]),
|
|
109250
109264
|
_: 2
|
|
109251
109265
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -110962,7 +110976,7 @@ const lz = /* @__PURE__ */ v(COe, [["render", hOe]]), gOe = { class: "tw-grid tw
|
|
|
110962
110976
|
colspan: "2",
|
|
110963
110977
|
class: B(["tw-font-sans tw-text-xs tw-font-bold tw-text-secondary-500 tw-uppercase tw-text-left", Q ? "tw-pt-3" : ""])
|
|
110964
110978
|
}, [
|
|
110965
|
-
|
|
110979
|
+
Ae(P(U.label), 1),
|
|
110966
110980
|
U.id === "surface" && U.rows.length > 1 ? (u(), f("span", IOe, " · bottom → top")) : M("", !0)
|
|
110967
110981
|
], 2)
|
|
110968
110982
|
]),
|
|
@@ -112144,7 +112158,7 @@ const $Be = /* @__PURE__ */ v(PBe, [["render", ABe], ["__scopeId", "data-v-3a40a
|
|
|
112144
112158
|
"contactsupportclicked"
|
|
112145
112159
|
],
|
|
112146
112160
|
setup(e, { emit: t }) {
|
|
112147
|
-
const n = e, o = L(() => n.viewport ===
|
|
112161
|
+
const n = e, o = L(() => n.viewport === R1.mobile), i = t, s = (l) => {
|
|
112148
112162
|
i("click", l);
|
|
112149
112163
|
}, r = () => {
|
|
112150
112164
|
i("toggle-should-play");
|
|
@@ -112175,7 +112189,7 @@ const $Be = /* @__PURE__ */ v(PBe, [["render", ABe], ["__scopeId", "data-v-3a40a
|
|
|
112175
112189
|
color: "currentColor"
|
|
112176
112190
|
})
|
|
112177
112191
|
]),
|
|
112178
|
-
|
|
112192
|
+
Ae(" " + P(V(LM)("mobile")), 1)
|
|
112179
112193
|
])
|
|
112180
112194
|
], 2),
|
|
112181
112195
|
p("button", {
|
|
@@ -112194,7 +112208,7 @@ const $Be = /* @__PURE__ */ v(PBe, [["render", ABe], ["__scopeId", "data-v-3a40a
|
|
|
112194
112208
|
color: "currentColor"
|
|
112195
112209
|
})
|
|
112196
112210
|
]),
|
|
112197
|
-
|
|
112211
|
+
Ae(" " + P(V(LM)("desktop")), 1)
|
|
112198
112212
|
])
|
|
112199
112213
|
], 2)
|
|
112200
112214
|
]),
|
|
@@ -112444,7 +112458,7 @@ function WBe(e, t, n, o, i, s) {
|
|
|
112444
112458
|
default: i1(() => [
|
|
112445
112459
|
p("div", GBe, [
|
|
112446
112460
|
p("label", jBe, [
|
|
112447
|
-
t[1] || (t[1] =
|
|
112461
|
+
t[1] || (t[1] = Ae(" Upload new logo ", -1)),
|
|
112448
112462
|
p("input", {
|
|
112449
112463
|
id: "byo-upload-logo-file",
|
|
112450
112464
|
ref: "byoLogoFileInput",
|
|
@@ -113534,7 +113548,7 @@ const cNe = /* @__PURE__ */ v(sNe, [["render", lNe], ["__scopeId", "data-v-978bb
|
|
|
113534
113548
|
(i) => i.pageId === e
|
|
113535
113549
|
)?.id;
|
|
113536
113550
|
let o = !1;
|
|
113537
|
-
n && (o = this.pageNavigationStore.isRouteASubpage(n), this.pageNavigationStore.removeNavRoute(n)), this.updatePages(this.pageFields), this.brandPageMakerStore.pruneUnusedPaletteCustoms(), this.eventTracker.sendWebsiteManageRemovePageEvent(
|
|
113551
|
+
n && (o = this.pageNavigationStore.isRouteASubpage(n), this.pageNavigationStore.removeNavRoute(n)), this.updatePages(this.pageFields), this.pageSettingsStore.resetStalePageLinks(), this.brandPageMakerStore.pruneUnusedPaletteCustoms(), this.eventTracker.sendWebsiteManageRemovePageEvent(
|
|
113538
113552
|
this.deleteModalPageTitle,
|
|
113539
113553
|
o
|
|
113540
113554
|
), this.isDeleteModalVisible = !1;
|
|
@@ -113691,14 +113705,14 @@ function yNe(e, t, n, o, i, s) {
|
|
|
113691
113705
|
const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
113692
113706
|
isVisible: !1,
|
|
113693
113707
|
text: DA1("buttonLabelPlaceholder"),
|
|
113694
|
-
buttonLinkType:
|
|
113708
|
+
buttonLinkType: Pe.url
|
|
113695
113709
|
}), qg = () => [
|
|
113696
113710
|
{
|
|
113697
|
-
key:
|
|
113711
|
+
key: R1.desktop,
|
|
113698
113712
|
displayName: Se("desktop")
|
|
113699
113713
|
},
|
|
113700
113714
|
{
|
|
113701
|
-
key:
|
|
113715
|
+
key: R1.mobile,
|
|
113702
113716
|
displayName: Se("mobile")
|
|
113703
113717
|
}
|
|
113704
113718
|
], NC = e1({
|
|
@@ -113764,10 +113778,10 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113764
113778
|
},
|
|
113765
113779
|
navigation() {
|
|
113766
113780
|
const e = U9();
|
|
113767
|
-
return this.viewport ===
|
|
113781
|
+
return this.viewport === R1.mobile ? e.navigation[ye.header][R1.mobile] : e.navigation[ye.header][R1.desktop];
|
|
113768
113782
|
},
|
|
113769
113783
|
header() {
|
|
113770
|
-
return this.sections[
|
|
113784
|
+
return this.sections[ye.header][this.viewport];
|
|
113771
113785
|
},
|
|
113772
113786
|
headerButton() {
|
|
113773
113787
|
return this.header.headerButton;
|
|
@@ -113779,25 +113793,25 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113779
113793
|
return Pw(this.navigation.displayType);
|
|
113780
113794
|
},
|
|
113781
113795
|
footer() {
|
|
113782
|
-
return this.sections[
|
|
113796
|
+
return this.sections[ye.footer][this.viewport];
|
|
113783
113797
|
},
|
|
113784
113798
|
showDeviceWarning() {
|
|
113785
|
-
return this.uiStore.deviceMode === d0.mobile && this.viewport ===
|
|
113799
|
+
return this.uiStore.deviceMode === d0.mobile && this.viewport === R1.desktop;
|
|
113786
113800
|
},
|
|
113787
113801
|
showFooterDisplayStyle() {
|
|
113788
|
-
return this.viewport !==
|
|
113802
|
+
return this.viewport !== R1.mobile;
|
|
113789
113803
|
},
|
|
113790
113804
|
showNavigationBelowLogoOption() {
|
|
113791
|
-
return this.sectionName ===
|
|
113805
|
+
return this.sectionName === ye.header && !this.navigation.displayType.includes("hamburger") && this.contentSettingsStore.items[0]?.type === "logo" && this.contentSettingsStore.items[0]?.settings.content.isLogoVisible;
|
|
113792
113806
|
},
|
|
113793
113807
|
logoImageHeight() {
|
|
113794
113808
|
return this.sections[this.sectionName][this.viewport].logoImageHeight;
|
|
113795
113809
|
},
|
|
113796
113810
|
logoSliderMin() {
|
|
113797
|
-
return this.viewport ===
|
|
113811
|
+
return this.viewport === R1.mobile ? eu : QC;
|
|
113798
113812
|
},
|
|
113799
113813
|
logoSliderMax() {
|
|
113800
|
-
return this.viewport ===
|
|
113814
|
+
return this.viewport === R1.mobile ? fo : x0;
|
|
113801
113815
|
},
|
|
113802
113816
|
backgroundColor() {
|
|
113803
113817
|
return this.sections[this.sectionName][this.viewport].backgroundStyle?.backgroundColor || "";
|
|
@@ -113823,12 +113837,12 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113823
113837
|
sectionName: this.sectionName,
|
|
113824
113838
|
propName: "copyrightText",
|
|
113825
113839
|
value: e,
|
|
113826
|
-
viewport:
|
|
113840
|
+
viewport: R1.mobile
|
|
113827
113841
|
}), this.pageSettingsStore.setPageSettingsSectionValue({
|
|
113828
113842
|
sectionName: this.sectionName,
|
|
113829
113843
|
propName: "copyrightText",
|
|
113830
113844
|
value: e,
|
|
113831
|
-
viewport:
|
|
113845
|
+
viewport: R1.desktop
|
|
113832
113846
|
});
|
|
113833
113847
|
}
|
|
113834
113848
|
},
|
|
@@ -113901,16 +113915,16 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113901
113915
|
return this.footer?.socialLinks || [];
|
|
113902
113916
|
},
|
|
113903
113917
|
isHeader() {
|
|
113904
|
-
return this.sectionName ===
|
|
113918
|
+
return this.sectionName === ye.header;
|
|
113905
113919
|
},
|
|
113906
113920
|
isFooter() {
|
|
113907
|
-
return this.sectionName ===
|
|
113921
|
+
return this.sectionName === ye.footer;
|
|
113908
113922
|
}
|
|
113909
113923
|
},
|
|
113910
113924
|
methods: {
|
|
113911
113925
|
toggleShowNavigationBelowLogo() {
|
|
113912
113926
|
this.navigationStyleSettingsStore.setNavigationOrder({
|
|
113913
|
-
section:
|
|
113927
|
+
section: ye.header,
|
|
113914
113928
|
renderAfterLogo: !this.isRenderAfterLogo,
|
|
113915
113929
|
viewport: this.viewport
|
|
113916
113930
|
});
|
|
@@ -113927,7 +113941,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113927
113941
|
},
|
|
113928
113942
|
handleHeaderDisplayStyleChange(e) {
|
|
113929
113943
|
this.pageSettingsStore.setPageSettingsSectionValue({
|
|
113930
|
-
sectionName:
|
|
113944
|
+
sectionName: ye.header,
|
|
113931
113945
|
propName: "displayStyle",
|
|
113932
113946
|
value: e,
|
|
113933
113947
|
viewport: this.viewport
|
|
@@ -113938,7 +113952,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113938
113952
|
this.viewport,
|
|
113939
113953
|
e
|
|
113940
113954
|
), this.navigationStyleSettingsStore.setDisplayType({
|
|
113941
|
-
section:
|
|
113955
|
+
section: ye.header,
|
|
113942
113956
|
displayType: e,
|
|
113943
113957
|
viewport: this.viewport
|
|
113944
113958
|
});
|
|
@@ -113960,7 +113974,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113960
113974
|
value: t
|
|
113961
113975
|
}) {
|
|
113962
113976
|
this.navigationStyleSettingsStore.setNavigationStyleOptionValue({
|
|
113963
|
-
section:
|
|
113977
|
+
section: ye.header,
|
|
113964
113978
|
option: e,
|
|
113965
113979
|
value: t,
|
|
113966
113980
|
viewport: this.viewport
|
|
@@ -113968,7 +113982,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113968
113982
|
},
|
|
113969
113983
|
handleFooterDisplayStyleChange(e) {
|
|
113970
113984
|
this.pageSettingsStore.setPageSettingsSectionValue({
|
|
113971
|
-
sectionName:
|
|
113985
|
+
sectionName: ye.footer,
|
|
113972
113986
|
propName: "displayStyle",
|
|
113973
113987
|
value: e,
|
|
113974
113988
|
viewport: this.viewport
|
|
@@ -113982,12 +113996,12 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113982
113996
|
sectionName: this.sectionName,
|
|
113983
113997
|
propName: "copyrightText",
|
|
113984
113998
|
value: e,
|
|
113985
|
-
viewport:
|
|
113999
|
+
viewport: R1.mobile
|
|
113986
114000
|
}), this.pageSettingsStore.setPageSettingsSectionValue({
|
|
113987
114001
|
sectionName: this.sectionName,
|
|
113988
114002
|
propName: "copyrightText",
|
|
113989
114003
|
value: e,
|
|
113990
|
-
viewport:
|
|
114004
|
+
viewport: R1.desktop
|
|
113991
114005
|
});
|
|
113992
114006
|
},
|
|
113993
114007
|
onHeaderButtonChange(e) {
|
|
@@ -113997,15 +114011,15 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113997
114011
|
...e
|
|
113998
114012
|
};
|
|
113999
114013
|
this.pageSettingsStore.setPageSettingsSectionValue({
|
|
114000
|
-
sectionName:
|
|
114014
|
+
sectionName: ye.header,
|
|
114001
114015
|
propName: "headerButton",
|
|
114002
114016
|
value: { ...t },
|
|
114003
|
-
viewport:
|
|
114017
|
+
viewport: R1.mobile
|
|
114004
114018
|
}), this.pageSettingsStore.setPageSettingsSectionValue({
|
|
114005
|
-
sectionName:
|
|
114019
|
+
sectionName: ye.header,
|
|
114006
114020
|
propName: "headerButton",
|
|
114007
114021
|
value: { ...t },
|
|
114008
|
-
viewport:
|
|
114022
|
+
viewport: R1.desktop
|
|
114009
114023
|
});
|
|
114010
114024
|
},
|
|
114011
114025
|
onItemListIntentImageReplace(e, { index: t }) {
|
|
@@ -114032,12 +114046,12 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
114032
114046
|
sectionName: this.sectionName,
|
|
114033
114047
|
propName: "socialLinks",
|
|
114034
114048
|
value: e.value,
|
|
114035
|
-
viewport:
|
|
114049
|
+
viewport: R1.mobile
|
|
114036
114050
|
}), this.pageSettingsStore.setPageSettingsSectionValue({
|
|
114037
114051
|
sectionName: this.sectionName,
|
|
114038
114052
|
propName: "socialLinks",
|
|
114039
114053
|
value: e.value,
|
|
114040
|
-
viewport:
|
|
114054
|
+
viewport: R1.desktop
|
|
114041
114055
|
});
|
|
114042
114056
|
},
|
|
114043
114057
|
setTextStyleOption(e, t) {
|
|
@@ -114069,7 +114083,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
114069
114083
|
viewport: this.viewport,
|
|
114070
114084
|
logoImage: i,
|
|
114071
114085
|
logoImageBase64Url: o
|
|
114072
|
-
}), this.sectionName ===
|
|
114086
|
+
}), this.sectionName === ye.header && this.viewport === R1.desktop && X3().setSelectedLogoImage(i);
|
|
114073
114087
|
},
|
|
114074
114088
|
onSelectColor(e) {
|
|
114075
114089
|
this.pageSettingsStore.setPageSettingsSectionValue({
|
|
@@ -114099,12 +114113,12 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
114099
114113
|
sectionName: this.sectionName,
|
|
114100
114114
|
propName: "backgroundColorEnabled",
|
|
114101
114115
|
value: e,
|
|
114102
|
-
viewport:
|
|
114116
|
+
viewport: R1.mobile
|
|
114103
114117
|
}), this.pageSettingsStore.setPageSettingsSectionValue({
|
|
114104
114118
|
sectionName: this.sectionName,
|
|
114105
114119
|
propName: "backgroundColorEnabled",
|
|
114106
114120
|
value: e,
|
|
114107
|
-
viewport:
|
|
114121
|
+
viewport: R1.desktop
|
|
114108
114122
|
});
|
|
114109
114123
|
},
|
|
114110
114124
|
onLogoVisibleChanged(e) {
|
|
@@ -114145,7 +114159,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
114145
114159
|
logoDraftToken: e.token,
|
|
114146
114160
|
logoLastUpdate: n.tick,
|
|
114147
114161
|
logoVariation: this.logoVariation
|
|
114148
|
-
}), this.sectionName ===
|
|
114162
|
+
}), this.sectionName === ye.header && this.viewport === R1.desktop)) {
|
|
114149
114163
|
const i = await r3.getInstance().getLogoAttributesByLogoDraftTokenAsync(
|
|
114150
114164
|
e.token
|
|
114151
114165
|
);
|
|
@@ -114360,7 +114374,7 @@ const FNe = /* @__PURE__ */ v(MNe, [["render", ZNe], ["__scopeId", "data-v-8342f
|
|
|
114360
114374
|
// When unset, show the same Buttons-style default the site actually renders with.
|
|
114361
114375
|
() => n.value?.buttonTextStyle ?? { textStyleType: de.buttons }
|
|
114362
114376
|
), m = L(
|
|
114363
|
-
() => n.value?.buttonLinkType ||
|
|
114377
|
+
() => n.value?.buttonLinkType || Pe.url
|
|
114364
114378
|
), y = {
|
|
114365
114379
|
errorMessage: "",
|
|
114366
114380
|
isValid: !0
|
|
@@ -114423,7 +114437,7 @@ const FNe = /* @__PURE__ */ v(MNe, [["render", ZNe], ["__scopeId", "data-v-8342f
|
|
|
114423
114437
|
onOnSelect: I
|
|
114424
114438
|
}, null, 8, ["options", "columns"]),
|
|
114425
114439
|
p("div", GNe, [
|
|
114426
|
-
m.value === V(
|
|
114440
|
+
m.value === V(Pe).page ? (u(), $(ep, {
|
|
114427
114441
|
key: 0,
|
|
114428
114442
|
id: "headerButton",
|
|
114429
114443
|
"data-test-header-button-page": "",
|
|
@@ -114431,7 +114445,7 @@ const FNe = /* @__PURE__ */ v(MNe, [["render", ZNe], ["__scopeId", "data-v-8342f
|
|
|
114431
114445
|
value: d.value,
|
|
114432
114446
|
placeholder: V(N)("selectAPagePlaceholder"),
|
|
114433
114447
|
"onUpdate:modelValue": R
|
|
114434
|
-
}, null, 8, ["value", "placeholder"])) : m.value === V(
|
|
114448
|
+
}, null, 8, ["value", "placeholder"])) : m.value === V(Pe).mailTo ? (u(), $(vU, {
|
|
114435
114449
|
key: 1,
|
|
114436
114450
|
id: "headerButton",
|
|
114437
114451
|
"data-test-header-button-email": "",
|
|
@@ -114441,7 +114455,7 @@ const FNe = /* @__PURE__ */ v(MNe, [["render", ZNe], ["__scopeId", "data-v-8342f
|
|
|
114441
114455
|
placeholder: V(N)("emailPlaceholder"),
|
|
114442
114456
|
settings: b.value,
|
|
114443
114457
|
"onUpdate:modelValue": O
|
|
114444
|
-
}, null, 8, ["value", "placeholder", "settings"])) : m.value === V(
|
|
114458
|
+
}, null, 8, ["value", "placeholder", "settings"])) : m.value === V(Pe).tel ? (u(), $(xU, {
|
|
114445
114459
|
key: 2,
|
|
114446
114460
|
id: "headerButton",
|
|
114447
114461
|
"data-test-header-button-tel": "",
|
|
@@ -114513,7 +114527,7 @@ const FNe = /* @__PURE__ */ v(MNe, [["render", ZNe], ["__scopeId", "data-v-8342f
|
|
|
114513
114527
|
showHeaderButton: { type: Boolean, default: !1 }
|
|
114514
114528
|
},
|
|
114515
114529
|
setup(e) {
|
|
114516
|
-
const t = e, n = le(), o = w2(), i = q2(), s = L(() => !t.showHeaderButton || t.viewport !==
|
|
114530
|
+
const t = e, n = le(), o = w2(), i = q2(), s = L(() => !t.showHeaderButton || t.viewport !== R1.desktop || t.isLogoVisible ? !1 : t.navigationDisplayType.includes("hamburger") || !i.hasVisibleNavigation), r = L(() => {
|
|
114517
114531
|
let d = Ew.filter((g) => g.viewMode === t.viewport && g.supportLogo === t.isLogoVisible && g.supportedNavTypes.includes(t.navigationDisplayType));
|
|
114518
114532
|
n.isBrandPageOrIsBrandContact && (t.navigationDisplayType === V1.TAB_1 || t.navigationDisplayType === V1.TAB_2 ? d = d.filter(
|
|
114519
114533
|
(g) => g.option.value === oe.DESKTOP_TAB_NO_LOGO_2 || g.option.value === oe.MOBILE_TAB_NO_LOGO_1
|
|
@@ -116847,7 +116861,7 @@ const SFe = 100, nP = e1({
|
|
|
116847
116861
|
}).bind(this)
|
|
116848
116862
|
), this.brandPageViewModel.nav.navItems?.[0] && _0(this.brandPageViewModel.nav.navItems[0].pageId), this.brandPageMakerStore.selectInitialCategories(
|
|
116849
116863
|
this.viewModel.initialCategories
|
|
116850
|
-
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport:
|
|
116864
|
+
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: R1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.brandPageMakerStore.setIsBrandPageLoaded(!0), tp().value && g6().captureBaseline(), this.$emit(Y4.Initialised);
|
|
116851
116865
|
},
|
|
116852
116866
|
watch: {
|
|
116853
116867
|
// Pre-purchase only: the host's save has produced the signed link, so the frame
|
|
@@ -116861,7 +116875,7 @@ const SFe = 100, nP = e1({
|
|
|
116861
116875
|
mounted() {
|
|
116862
116876
|
window && (window.removeEventListener("resize", this.onResizeWithDebounce), window.addEventListener("resize", this.onResizeWithDebounce)), document.body.classList.contains("sb-main-padded") && document.body.classList.remove("sb-main-padded"), cR(), this.snapshotStore.registerCaptureCallback(
|
|
116863
116877
|
() => this.handleCaptureSnapshot()
|
|
116864
|
-
), this.setUiScreenSizeModeBasedOnDeviceWidth(), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport:
|
|
116878
|
+
), this.setUiScreenSizeModeBasedOnDeviceWidth(), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: R1.mobile }) : this.setViewportBasedOnDeviceWidth(!0);
|
|
116865
116879
|
const e = setTimeout(() => {
|
|
116866
116880
|
this.mounted = !0, clearTimeout(e);
|
|
116867
116881
|
}, 800);
|
|
@@ -116902,7 +116916,7 @@ const SFe = 100, nP = e1({
|
|
|
116902
116916
|
});
|
|
116903
116917
|
},
|
|
116904
116918
|
setViewportBasedOnDeviceWidth(e) {
|
|
116905
|
-
window && (window.innerWidth < zy ? this.brandPageMakerStore.setViewport({ viewport:
|
|
116919
|
+
window && (window.innerWidth < zy ? this.brandPageMakerStore.setViewport({ viewport: R1.mobile }) : e && this.brandPageMakerStore.setViewport({ viewport: R1.desktop }));
|
|
116906
116920
|
},
|
|
116907
116921
|
handleSwitchViewport(e) {
|
|
116908
116922
|
this.brandPageMakerStore.setViewport({ viewport: e });
|
|
@@ -117176,7 +117190,7 @@ function $Fe(e, t, n, o, i, s) {
|
|
|
117176
117190
|
template: C,
|
|
117177
117191
|
onTemplateSelected: e.internalOnTemplateSelected
|
|
117178
117192
|
}, () => [
|
|
117179
|
-
|
|
117193
|
+
Ae(P(o.templateSettingsTr("templatePreview")), 1)
|
|
117180
117194
|
], !0)
|
|
117181
117195
|
], 8, xFe))), 128))
|
|
117182
117196
|
], 2),
|
|
@@ -117222,7 +117236,7 @@ function $Fe(e, t, n, o, i, s) {
|
|
|
117222
117236
|
template: C,
|
|
117223
117237
|
onTemplateSelected: e.internalOnTemplateSelected
|
|
117224
117238
|
}, () => [
|
|
117225
|
-
|
|
117239
|
+
Ae(P(o.templateSettingsTr("templatePreview")), 1)
|
|
117226
117240
|
], !0)
|
|
117227
117241
|
], 8, PFe))), 128))
|
|
117228
117242
|
], 2),
|
|
@@ -117372,7 +117386,7 @@ const OFe = /* @__PURE__ */ v(MFe, [["render", $Fe], ["__scopeId", "data-v-246f2
|
|
|
117372
117386
|
};
|
|
117373
117387
|
},
|
|
117374
117388
|
previewViewport() {
|
|
117375
|
-
return !this.viewModel?.brandPageType || this.viewModel?.brandPageType === d1.default ?
|
|
117389
|
+
return !this.viewModel?.brandPageType || this.viewModel?.brandPageType === d1.default ? R1.mobile : R1.desktop;
|
|
117376
117390
|
},
|
|
117377
117391
|
scaledContainerStyle() {
|
|
117378
117392
|
return {
|
|
@@ -117594,7 +117608,7 @@ const mz = /* @__PURE__ */ v(FFe, [["render", jFe], ["__scopeId", "data-v-a17238
|
|
|
117594
117608
|
const t = e, n = Ne(), o = X3(), i = le(), s = w2(), r = L(() => n.logoTheme), a = L(() => {
|
|
117595
117609
|
const h = t.template.personalisationContentIndex;
|
|
117596
117610
|
return n.personalisationData?.[h]?.userPersonalisation;
|
|
117597
|
-
}), l = L(() => s.sections[
|
|
117611
|
+
}), l = L(() => s.sections[ye.header][R1.desktop].logoImage), c = L(
|
|
117598
117612
|
() => o.selectedLogoTemplateImage
|
|
117599
117613
|
), d = L(
|
|
117600
117614
|
() => o.selectedLogoImageUrl.logoImageBase64Url
|
|
@@ -118444,7 +118458,7 @@ function zUe(e, t, n, o, i, s) {
|
|
|
118444
118458
|
onClick: (g) => h.isRegistrationComplete ? e.onSelectPurchasedDomain(h) : void 0
|
|
118445
118459
|
}, {
|
|
118446
118460
|
default: i1(() => [
|
|
118447
|
-
|
|
118461
|
+
Ae(P(h.domainName) + " ", 1),
|
|
118448
118462
|
h.isRegistrationComplete ? M("", !0) : (u(), f("div", AUe, P(o.existingDomainModalTr("registrationInProgress")), 1))
|
|
118449
118463
|
]),
|
|
118450
118464
|
_: 2
|
|
@@ -118687,7 +118701,7 @@ function Gze(e, t, n, o, i, s) {
|
|
|
118687
118701
|
class: "tw-font-sans tw-text-black tw-font-bold tw-text-sm tw-cursor-pointer tw-h-fit"
|
|
118688
118702
|
}, [
|
|
118689
118703
|
p("span", { class: "tw-inline-block" }),
|
|
118690
|
-
|
|
118704
|
+
Ae(" BrandPage URL ")
|
|
118691
118705
|
], -1))
|
|
118692
118706
|
]),
|
|
118693
118707
|
p("div", QUe, [
|
|
@@ -118724,7 +118738,7 @@ function Gze(e, t, n, o, i, s) {
|
|
|
118724
118738
|
}, null, 10, tze),
|
|
118725
118739
|
p("label", nze, [
|
|
118726
118740
|
t[4] || (t[4] = p("span", { class: "tw-inline-block tw-rounded-full" }, null, -1)),
|
|
118727
|
-
|
|
118741
|
+
Ae(" " + P(o.seoSettingsTr("customDomain")), 1)
|
|
118728
118742
|
])
|
|
118729
118743
|
]),
|
|
118730
118744
|
p("div", oze, [
|
|
@@ -119178,7 +119192,7 @@ function Tqe(e, t, n, o, i, s) {
|
|
|
119178
119192
|
p("p", bqe, P(o.socialShareTr("customizeSocial")), 1),
|
|
119179
119193
|
p("div", vqe, [
|
|
119180
119194
|
p("h4", Sqe, [
|
|
119181
|
-
|
|
119195
|
+
Ae(P(o.socialShareTr("thumbnail")) + " ", 1),
|
|
119182
119196
|
p("p", _qe, " (" + P(o.socialShareTr("recommendedSize")) + " 1200x630px) ", 1)
|
|
119183
119197
|
]),
|
|
119184
119198
|
T(r, {
|
|
@@ -119965,13 +119979,13 @@ function VGe(e, t, n, o, i, s) {
|
|
|
119965
119979
|
const HGe = /* @__PURE__ */ v(xGe, [["render", VGe]]), IGe = { key: 0 }, EGe = { class: "tw-mb-4" }, PGe = { key: 1 }, AGe = /* @__PURE__ */ e1({
|
|
119966
119980
|
__name: "LogoStyleSettingsWithState",
|
|
119967
119981
|
setup(e) {
|
|
119968
|
-
const t = M2(), n = le(), o = w2(), i = Object.values(
|
|
119969
|
-
L(() => s.value ===
|
|
119982
|
+
const t = M2(), n = le(), o = w2(), i = Object.values(R1), s = L(() => n.viewport);
|
|
119983
|
+
L(() => s.value === R1.mobile ? eu : QC), L(() => s.value === R1.mobile ? fo : x0);
|
|
119970
119984
|
const r = L(() => n.isBrandSite), a = L(() => t.items.find(
|
|
119971
119985
|
(g) => g.type === "logo"
|
|
119972
119986
|
)), l = L(() => o.sections.header[s.value]), c = L(() => l.value.logoImageHeight), d = L(() => a.value?.settings.content.logoImageHeight), C = (g) => {
|
|
119973
119987
|
const m = `${g.value}${g.suffix}`;
|
|
119974
|
-
[
|
|
119988
|
+
[ye.header, ye.footer].forEach((y) => {
|
|
119975
119989
|
o.updatePageSettingsSectionLogoImageStyle({
|
|
119976
119990
|
sectionName: y,
|
|
119977
119991
|
viewport: s.value,
|
|
@@ -120268,7 +120282,7 @@ const UGe = /* @__PURE__ */ v(BGe, [["render", FGe]]), zGe = { class: "tw-flex t
|
|
|
120268
120282
|
name: "edit",
|
|
120269
120283
|
class: "tw-mr-2"
|
|
120270
120284
|
}),
|
|
120271
|
-
|
|
120285
|
+
Ae(" " + P(e.cta === "publish" ? V(uf)("backToEditor") : V(uf)("edit")), 1)
|
|
120272
120286
|
], 2),
|
|
120273
120287
|
e.cta === "publish" ? (u(), $(V(z1), {
|
|
120274
120288
|
key: 0,
|
|
@@ -120489,7 +120503,7 @@ const UGe = /* @__PURE__ */ v(BGe, [["render", FGe]]), zGe = { class: "tw-flex t
|
|
|
120489
120503
|
], 64)) : c.id === r.value ? (u(), f(b1, { key: 1 }, [
|
|
120490
120504
|
l[2] || (l[2] = p("span", { class: "step-spinner tw-flex-shrink-0" }, null, -1)),
|
|
120491
120505
|
p("span", cje, [
|
|
120492
|
-
|
|
120506
|
+
Ae(P(c.pendingLabel) + " ", 1),
|
|
120493
120507
|
c.subIds?.length ? (u(), f("span", dje, " (" + P(o(c)) + "/" + P(c.subIds.length) + ") ", 1)) : M("", !0)
|
|
120494
120508
|
])
|
|
120495
120509
|
], 64)) : (u(), f(b1, { key: 2 }, [
|
|
@@ -120727,7 +120741,7 @@ const UGe = /* @__PURE__ */ v(BGe, [["render", FGe]]), zGe = { class: "tw-flex t
|
|
|
120727
120741
|
C.content ? {
|
|
120728
120742
|
name: "default",
|
|
120729
120743
|
fn: i1(() => [
|
|
120730
|
-
|
|
120744
|
+
Ae(P(C.content), 1)
|
|
120731
120745
|
]),
|
|
120732
120746
|
key: "0"
|
|
120733
120747
|
} : void 0
|
|
@@ -121863,12 +121877,12 @@ const x9 = {
|
|
|
121863
121877
|
const { button_link_type: n, button_url: o } = t;
|
|
121864
121878
|
if (!(!n || !o))
|
|
121865
121879
|
switch (e.buttonLinkType = n, n) {
|
|
121866
|
-
case
|
|
121867
|
-
case
|
|
121868
|
-
case
|
|
121880
|
+
case Pe.url:
|
|
121881
|
+
case Pe.mailTo:
|
|
121882
|
+
case Pe.tel:
|
|
121869
121883
|
e.url = o;
|
|
121870
121884
|
break;
|
|
121871
|
-
case
|
|
121885
|
+
case Pe.page:
|
|
121872
121886
|
e.buttonPageId = o.replace("pageid:", "");
|
|
121873
121887
|
break;
|
|
121874
121888
|
}
|
|
@@ -122181,7 +122195,7 @@ const HWe = () => VWe ??= SD(Pu()), IWe = (e) => (t) => {
|
|
|
122181
122195
|
),
|
|
122182
122196
|
I5(
|
|
122183
122197
|
"button_link_type",
|
|
122184
|
-
Object.keys(
|
|
122198
|
+
Object.keys(Pe),
|
|
122185
122199
|
"banner-section"
|
|
122186
122200
|
)
|
|
122187
122201
|
];
|
|
@@ -122250,7 +122264,7 @@ const OWe = [
|
|
|
122250
122264
|
T2("button_text_style"),
|
|
122251
122265
|
I5(
|
|
122252
122266
|
"button_link_type",
|
|
122253
|
-
Object.keys(
|
|
122267
|
+
Object.keys(Pe),
|
|
122254
122268
|
"booking-section"
|
|
122255
122269
|
)
|
|
122256
122270
|
];
|
|
@@ -124576,21 +124590,21 @@ function nYe() {
|
|
|
124576
124590
|
let x1 = J.message || "";
|
|
124577
124591
|
const L1 = n.brandPageData, $1 = L1;
|
|
124578
124592
|
(J.toolCalls ?? []).some(
|
|
124579
|
-
(
|
|
124593
|
+
(we) => we.function !== d2.UNDO
|
|
124580
124594
|
) && !d.hasCheckpoint(q) && d.createCheckpoint(q, $1);
|
|
124581
|
-
const G1 = (J.toolCalls ?? []).map((
|
|
124595
|
+
const G1 = (J.toolCalls ?? []).map((we) => {
|
|
124582
124596
|
try {
|
|
124583
|
-
const We = JSON.parse(
|
|
124597
|
+
const We = JSON.parse(we.arguments), Ye = We.mode, Ee = We.page_id;
|
|
124584
124598
|
if (Ye === "create" && Ee && !We.move_before_content_id && (r1.get(Ee)?.length ?? 0) > 0) {
|
|
124585
124599
|
const Qe = r1.get(Ee), o2 = Qe.findIndex((k2) => k2 !== null);
|
|
124586
124600
|
if (o2 !== -1) {
|
|
124587
124601
|
const k2 = Qe[o2];
|
|
124588
|
-
return Qe.splice(o2, 1), We.move_before_content_id = k2, { ...
|
|
124602
|
+
return Qe.splice(o2, 1), We.move_before_content_id = k2, { ...we, arguments: JSON.stringify(We) };
|
|
124589
124603
|
}
|
|
124590
124604
|
}
|
|
124591
124605
|
} catch {
|
|
124592
124606
|
}
|
|
124593
|
-
return
|
|
124607
|
+
return we;
|
|
124594
124608
|
}), N1 = await c.applyAiToolCallsAsync(
|
|
124595
124609
|
L1,
|
|
124596
124610
|
G1,
|
|
@@ -124599,15 +124613,15 @@ function nYe() {
|
|
|
124599
124613
|
eventTracker: C
|
|
124600
124614
|
}
|
|
124601
124615
|
), se = N1.results.map(
|
|
124602
|
-
(
|
|
124603
|
-
toolId:
|
|
124604
|
-
success:
|
|
124616
|
+
(we, We) => ({
|
|
124617
|
+
toolId: we.toolId,
|
|
124618
|
+
success: we.errors && we.errors.length > 0 ? "failed" : "success",
|
|
124605
124619
|
name: G1[We]?.function,
|
|
124606
|
-
errorMessage:
|
|
124620
|
+
errorMessage: we.errors?.length ? we.errors.join("; ") : void 0
|
|
124607
124621
|
})
|
|
124608
124622
|
);
|
|
124609
|
-
N1.parsedToolCalls.forEach((
|
|
124610
|
-
const Ye =
|
|
124623
|
+
N1.parsedToolCalls.forEach((we, We) => {
|
|
124624
|
+
const Ye = we.arguments;
|
|
124611
124625
|
if (Ye.mode !== "create" || !Ye.page_id) return;
|
|
124612
124626
|
const Ee = N1.results[We], Qe = Ye.page_id, o2 = r1.get(Qe) ?? [];
|
|
124613
124627
|
if (Ee.errors && Ee.errors.length > 0)
|
|
@@ -124617,8 +124631,8 @@ function nYe() {
|
|
|
124617
124631
|
k2 !== -1 && (o2[k2] = Ee.contentId);
|
|
124618
124632
|
}
|
|
124619
124633
|
r1.set(Qe, o2);
|
|
124620
|
-
}), N1.parsedToolCalls.forEach((
|
|
124621
|
-
const We =
|
|
124634
|
+
}), N1.parsedToolCalls.forEach((we) => {
|
|
124635
|
+
const We = we.arguments;
|
|
124622
124636
|
We.message && (x1 = x1 ? `${x1} ${We.message}` : We.message);
|
|
124623
124637
|
}), await n.initialiseStoresByBrandPageModelAsync(
|
|
124624
124638
|
N1.model
|
|
@@ -124662,9 +124676,9 @@ function nYe() {
|
|
|
124662
124676
|
...K()
|
|
124663
124677
|
}), e.threadId = N1.threadId, e.buildId = N1.buildId, e.isBuildInProgress = !0, e.buildSectionsCompleted = 0, x1.setBuildActive(!0), x1.startResponseHeartbeat();
|
|
124664
124678
|
const se = (he) => {
|
|
124665
|
-
const
|
|
124666
|
-
if (!
|
|
124667
|
-
const We = m.value.findIndex((Ye) => Ye.id ===
|
|
124679
|
+
const we = b.value;
|
|
124680
|
+
if (!we) return;
|
|
124681
|
+
const We = m.value.findIndex((Ye) => Ye.id === we);
|
|
124668
124682
|
We !== -1 && he(m.value[We]);
|
|
124669
124683
|
};
|
|
124670
124684
|
if (N1.langChainUrl) {
|
|
@@ -124672,19 +124686,19 @@ function nYe() {
|
|
|
124672
124686
|
N1.langChainUrl,
|
|
124673
124687
|
J
|
|
124674
124688
|
);
|
|
124675
|
-
se((
|
|
124676
|
-
|
|
124689
|
+
se((we) => {
|
|
124690
|
+
we.langChainUrl = he;
|
|
124677
124691
|
});
|
|
124678
124692
|
}
|
|
124679
|
-
return new Promise((he,
|
|
124693
|
+
return new Promise((he, we) => {
|
|
124680
124694
|
let We = !1, Ye = 0, Ee = null, Qe, o2 = null;
|
|
124681
124695
|
const k2 = /* @__PURE__ */ new Map(), X = () => {
|
|
124682
124696
|
e.isBuildInProgress = !1, x1.setBuildActive(!1), x1.stopResponseHeartbeat(), o2 && x1.offMessage(o2);
|
|
124683
124697
|
}, t1 = setTimeout(() => {
|
|
124684
|
-
We || (We = !0, X(),
|
|
124698
|
+
We || (We = !0, X(), we(new Error("Build timeout")));
|
|
124685
124699
|
}, tYe), v1 = () => We ? !1 : (We = !0, clearTimeout(t1), X(), !0), D1 = (P1) => {
|
|
124686
124700
|
v1() && he(P1);
|
|
124687
|
-
},
|
|
124701
|
+
}, F1 = (P1) => {
|
|
124688
124702
|
if (P1.type === "chat_started" && P1.message)
|
|
124689
124703
|
return se((j1) => {
|
|
124690
124704
|
j1.initialMessage = P1.message;
|
|
@@ -124732,12 +124746,12 @@ function nYe() {
|
|
|
124732
124746
|
});
|
|
124733
124747
|
return;
|
|
124734
124748
|
}
|
|
124735
|
-
const { toolResults: ae, aiMessage:
|
|
124749
|
+
const { toolResults: ae, aiMessage: Be } = await U(
|
|
124736
124750
|
P1,
|
|
124737
124751
|
q,
|
|
124738
124752
|
k2
|
|
124739
124753
|
);
|
|
124740
|
-
Ee =
|
|
124754
|
+
Ee = Be;
|
|
124741
124755
|
const s2 = ae.filter(
|
|
124742
124756
|
(s1) => s1.success !== "success"
|
|
124743
124757
|
);
|
|
@@ -124760,7 +124774,7 @@ function nYe() {
|
|
|
124760
124774
|
);
|
|
124761
124775
|
if (s2.length === 0) {
|
|
124762
124776
|
D1({
|
|
124763
|
-
text:
|
|
124777
|
+
text: Be || "Your website has been updated.",
|
|
124764
124778
|
actions: Qe
|
|
124765
124779
|
});
|
|
124766
124780
|
return;
|
|
@@ -124816,7 +124830,7 @@ function nYe() {
|
|
|
124816
124830
|
D1({ text: null });
|
|
124817
124831
|
return;
|
|
124818
124832
|
}
|
|
124819
|
-
if (
|
|
124833
|
+
if (F1(P1)) return;
|
|
124820
124834
|
if (P1.type === "server_response") {
|
|
124821
124835
|
const { mutationToolCalls: j1, actions: ae } = eYe(
|
|
124822
124836
|
P1.toolCalls || []
|
|
@@ -125073,7 +125087,7 @@ const oYe = {
|
|
|
125073
125087
|
data() {
|
|
125074
125088
|
return {
|
|
125075
125089
|
SideBarTabNames: f2,
|
|
125076
|
-
VIEWPORTS:
|
|
125090
|
+
VIEWPORTS: R1,
|
|
125077
125091
|
BRAND_PAGE_TYPES: d1,
|
|
125078
125092
|
UI_SCREENSIZE_MODES: X8,
|
|
125079
125093
|
UI_DEVICE_MODES: d0
|
|
@@ -125675,7 +125689,7 @@ export {
|
|
|
125675
125689
|
es as $,
|
|
125676
125690
|
ure as A,
|
|
125677
125691
|
dre as B,
|
|
125678
|
-
|
|
125692
|
+
Pe as C,
|
|
125679
125693
|
nJe as D,
|
|
125680
125694
|
iJe as E,
|
|
125681
125695
|
oJe as F,
|
|
@@ -125788,7 +125802,7 @@ export {
|
|
|
125788
125802
|
jze as bI,
|
|
125789
125803
|
qUe as bJ,
|
|
125790
125804
|
Wse as bK,
|
|
125791
|
-
|
|
125805
|
+
R1 as bL,
|
|
125792
125806
|
zse as bM,
|
|
125793
125807
|
vae as bN,
|
|
125794
125808
|
Jse as bO,
|