@wix/system-core-components 1.3.4 → 1.3.6
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/dist/bundles/debug/es/system-core-components.mjs +3 -0
- package/dist/bundles/debug/es/system-core-components.mjs.map +1 -1
- package/dist/bundles/debug/umd/system-core-components.js +3 -0
- package/dist/bundles/debug/umd/system-core-components.js.map +1 -1
- package/dist/bundles/es/system-core-components.mjs +332 -331
- package/dist/bundles/es/system-core-components.mjs.map +1 -1
- package/dist/bundles/umd/system-core-components.js +1 -1
- package/dist/bundles/umd/system-core-components.js.map +1 -1
- package/dist/esm/PinnedLayer.d.ts +9 -0
- package/dist/esm/PinnedLayer.js +6 -0
- package/dist/esm/PinnedLayer.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/PinnedLayer.d.ts +10 -0
- package/dist/types/PinnedLayer.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/PinnedLayer.tsx +12 -0
- package/src/index.ts +1 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import st from "react";
|
|
2
2
|
import { useStateOverrides as $r } from "@wix/builder-state-react";
|
|
3
3
|
import Yr from "react-dom";
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function ct(Ce) {
|
|
5
|
+
return Ce && Ce.__esModule && Object.prototype.hasOwnProperty.call(Ce, "default") ? Ce.default : Ce;
|
|
6
6
|
}
|
|
7
7
|
var or = { exports: {} }, Ur = or.exports, yr;
|
|
8
8
|
function Vr() {
|
|
9
|
-
return yr || (yr = 1, (function(
|
|
10
|
-
(function(
|
|
11
|
-
|
|
12
|
-
})(typeof self < "u" ? self : Ur, function(
|
|
9
|
+
return yr || (yr = 1, (function(Ce, We) {
|
|
10
|
+
(function(le, ee) {
|
|
11
|
+
Ce.exports = ee(st);
|
|
12
|
+
})(typeof self < "u" ? self : Ur, function(le) {
|
|
13
13
|
return (function() {
|
|
14
14
|
var ee = { "Xdf/": function(i) {
|
|
15
|
-
i.exports =
|
|
15
|
+
i.exports = le;
|
|
16
16
|
}, Fe5V: function(i) {
|
|
17
17
|
function s() {
|
|
18
18
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -60,13 +60,13 @@ function Vr() {
|
|
|
60
60
|
})(or)), or.exports;
|
|
61
61
|
}
|
|
62
62
|
var Zr = Vr();
|
|
63
|
-
const zr = /* @__PURE__ */
|
|
63
|
+
const zr = /* @__PURE__ */ ct(Zr), ni = zr;
|
|
64
64
|
var sr = { exports: {} }, Dr = sr.exports, Ar;
|
|
65
65
|
function Wr() {
|
|
66
|
-
return Ar || (Ar = 1, (function(
|
|
67
|
-
(function(
|
|
68
|
-
|
|
69
|
-
})(typeof self < "u" ? self : Dr, function(
|
|
66
|
+
return Ar || (Ar = 1, (function(Ce, We) {
|
|
67
|
+
(function(le, ee) {
|
|
68
|
+
Ce.exports = ee(st);
|
|
69
|
+
})(typeof self < "u" ? self : Dr, function(le) {
|
|
70
70
|
return (function() {
|
|
71
71
|
var ee = { XCHU: function(i, s, c) {
|
|
72
72
|
c.d(s, { default: function() {
|
|
@@ -81,15 +81,15 @@ function Wr() {
|
|
|
81
81
|
};
|
|
82
82
|
var ae = c("guqK");
|
|
83
83
|
const P = "mesh-container-content", w = "inline-content", R = (H) => u().createElement("div", { key: H.props.id + "-rotated-wrapper", "data-mesh-id": H.props.id + "-rotated-wrapper" }, H), N = (H, G) => {
|
|
84
|
-
const { id: _, className: $, wedges: v = [], rotatedComponents: se = [], children: pe, fixedComponents: me = [], extraClassName: be = "", renderRotatedComponents: Re = R } = H, Be = u().Children.toArray(pe()), Se = [],
|
|
85
|
-
Be.forEach((ie) => me.includes(ie.props.id) ? Se.push(ie) :
|
|
84
|
+
const { id: _, className: $, wedges: v = [], rotatedComponents: se = [], children: pe, fixedComponents: me = [], extraClassName: be = "", renderRotatedComponents: Re = R } = H, Be = u().Children.toArray(pe()), Se = [], Me = [];
|
|
85
|
+
Be.forEach((ie) => me.includes(ie.props.id) ? Se.push(ie) : Me.push(ie));
|
|
86
86
|
const Le = ((ie) => {
|
|
87
87
|
const { wedges: Ge, rotatedComponents: V, childrenArray: K, renderRotatedComponents: Ue } = ie, ge = V.reduce((je, De) => ({ ...je, [De]: !0 }), {});
|
|
88
88
|
return [...K.map((je) => {
|
|
89
89
|
return ge[De = je, De.props.id.split("__")[0]] ? Ue(je) : je;
|
|
90
90
|
var De;
|
|
91
91
|
}), ...Ge.map((je) => u().createElement("div", { key: je, "data-mesh-id": je }))];
|
|
92
|
-
})({ childrenArray:
|
|
92
|
+
})({ childrenArray: Me, rotatedComponents: se, wedges: v, renderRotatedComponents: Re });
|
|
93
93
|
return u().createElement("div", g()({}, (0, ae.P5)(H), { "data-mesh-id": _ + "inlineContent", "data-testid": w, className: (0, L.Z)($, be), ref: G }), u().createElement("div", { "data-mesh-id": _ + "inlineContent-gridContainer", "data-testid": P }, Le), Se);
|
|
94
94
|
};
|
|
95
95
|
var X = u().forwardRef(N), _e = { root: "footer" }, A = (H) => {
|
|
@@ -102,7 +102,7 @@ function Wr() {
|
|
|
102
102
|
} });
|
|
103
103
|
const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
|
|
104
104
|
}, "Xdf/": function(i) {
|
|
105
|
-
i.exports =
|
|
105
|
+
i.exports = le;
|
|
106
106
|
}, Fe5V: function(i) {
|
|
107
107
|
function s() {
|
|
108
108
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -166,16 +166,16 @@ function Wr() {
|
|
|
166
166
|
})(sr)), sr.exports;
|
|
167
167
|
}
|
|
168
168
|
var qr = Wr();
|
|
169
|
-
const Jr = /* @__PURE__ */
|
|
170
|
-
const [ee = {}, , Oe] = $r(
|
|
171
|
-
return
|
|
172
|
-
},
|
|
169
|
+
const Jr = /* @__PURE__ */ ct(qr), mt = (Ce) => ({ children: We, ...le }) => st.createElement(Ce, { ...le }, () => We || []), br = (Ce, We) => (le) => {
|
|
170
|
+
const [ee = {}, , Oe] = $r(le.nickname), E = We.useComponentProps({ ...le, ...ee }, {}, Oe);
|
|
171
|
+
return st.createElement(Ce, { ...le, ...E });
|
|
172
|
+
}, ri = mt(Jr);
|
|
173
173
|
var cr = { exports: {} }, Xr = cr.exports, xr;
|
|
174
174
|
function Kr() {
|
|
175
|
-
return xr || (xr = 1, (function(
|
|
176
|
-
(function(
|
|
177
|
-
|
|
178
|
-
})(typeof self < "u" ? self : Xr, function(
|
|
175
|
+
return xr || (xr = 1, (function(Ce, We) {
|
|
176
|
+
(function(le, ee) {
|
|
177
|
+
Ce.exports = ee(st);
|
|
178
|
+
})(typeof self < "u" ? self : Xr, function(le) {
|
|
179
179
|
return (function() {
|
|
180
180
|
var ee = { iCIt: function(i, s, c) {
|
|
181
181
|
c.d(s, { default: function() {
|
|
@@ -197,7 +197,7 @@ function Kr() {
|
|
|
197
197
|
var P = c("guqK");
|
|
198
198
|
const w = "section-container";
|
|
199
199
|
var R = "jhxvbR";
|
|
200
|
-
const N = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, $ = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, v = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [v.CENTER]: { x: 0.5, y: 0.5 }, [v.TOP_LEFT]: { x: 0, y: 0 }, [v.TOP_RIGHT]: { x: 1, y: 0 }, [v.TOP]: { x: 0.5, y: 0 }, [v.BOTTOM_LEFT]: { x: 0, y: 1 }, [v.BOTTOM_RIGHT]: { x: 1, y: 1 }, [v.BOTTOM]: { x: 0.5, y: 1 }, [v.RIGHT]: { x: 1, y: 0.5 }, [v.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Re = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 },
|
|
200
|
+
const N = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, $ = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, v = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [v.CENTER]: { x: 0.5, y: 0.5 }, [v.TOP_LEFT]: { x: 0, y: 0 }, [v.TOP_RIGHT]: { x: 1, y: 0 }, [v.TOP]: { x: 0.5, y: 0 }, [v.BOTTOM_LEFT]: { x: 0, y: 1 }, [v.BOTTOM_RIGHT]: { x: 1, y: 1 }, [v.BOTTOM]: { x: 0.5, y: 1 }, [v.RIGHT]: { x: 1, y: 0.5 }, [v.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Re = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Me = 25e6, Le = [1.5, 2, 4], ie = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Ge = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, V = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, K = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, Ue = { AVIF: "AVIF", PAVIF: "PAVIF" };
|
|
201
201
|
function ge(e, ...t) {
|
|
202
202
|
return function(...a) {
|
|
203
203
|
const n = a[a.length - 1] || {}, r = [e[0]];
|
|
@@ -210,14 +210,14 @@ function Kr() {
|
|
|
210
210
|
function je(e) {
|
|
211
211
|
return e[e.length - 1];
|
|
212
212
|
}
|
|
213
|
-
const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF],
|
|
213
|
+
const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF], Je = [K.JPEG, K.JPG, K.JPE];
|
|
214
214
|
function ze(e, t, a) {
|
|
215
215
|
return a && t && !(!(n = t.id) || !n.trim() || n.toLowerCase() === "none") && Object.values(_).includes(e);
|
|
216
216
|
var n;
|
|
217
217
|
}
|
|
218
218
|
function Ye(e, t, a, n) {
|
|
219
219
|
if (/(^https?)|(^data)|(^\/\/)/.test(e) || !(function(h, f, p) {
|
|
220
|
-
return !(
|
|
220
|
+
return !(Xe(h) || rt(h)) || !f || p;
|
|
221
221
|
})(e, t, a)) return !1;
|
|
222
222
|
const r = (function(h) {
|
|
223
223
|
return De.includes(Ze(h));
|
|
@@ -229,7 +229,7 @@ function Kr() {
|
|
|
229
229
|
function Ve(e) {
|
|
230
230
|
return Ze(e) === K.PNG;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Xe(e) {
|
|
233
233
|
return Ze(e) === K.WEBP;
|
|
234
234
|
}
|
|
235
235
|
function dt(e) {
|
|
@@ -238,11 +238,11 @@ function Kr() {
|
|
|
238
238
|
function rt(e) {
|
|
239
239
|
return Ze(e) === K.AVIF;
|
|
240
240
|
}
|
|
241
|
-
const bt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"],
|
|
242
|
-
function
|
|
241
|
+
const bt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"], gt = "_";
|
|
242
|
+
function _t(e) {
|
|
243
243
|
return (function(t) {
|
|
244
|
-
return
|
|
245
|
-
})(e) ? K.JPG : Ve(e) ? K.PNG :
|
|
244
|
+
return Je.includes(Ze(t));
|
|
245
|
+
})(e) ? K.JPG : Ve(e) ? K.PNG : Xe(e) ? K.WEBP : dt(e) ? K.GIF : rt(e) ? K.AVIF : K.UNRECOGNIZED;
|
|
246
246
|
}
|
|
247
247
|
function Ze(e) {
|
|
248
248
|
return (/[.]([^.]+)$/.exec(e) && /[.]([^.]+)$/.exec(e)[1] || "").toLowerCase();
|
|
@@ -259,20 +259,20 @@ function Kr() {
|
|
|
259
259
|
e = e || n.width, t = t || n.height;
|
|
260
260
|
const { scaleFactor: h, width: f, height: p } = (function(y, I, x, O, M) {
|
|
261
261
|
let S, k = x, W = O;
|
|
262
|
-
if (S = Ke(y, I, x, O, M), M === $.FIT && (k = y * S, W = I * S), k && W && k * W >
|
|
263
|
-
const q = Math.sqrt(
|
|
262
|
+
if (S = Ke(y, I, x, O, M), M === $.FIT && (k = y * S, W = I * S), k && W && k * W > Me) {
|
|
263
|
+
const q = Math.sqrt(Me / (k * W));
|
|
264
264
|
k *= q, W *= q, S = Ke(y, I, k, W, M);
|
|
265
265
|
}
|
|
266
266
|
return { scaleFactor: S, width: k, height: W };
|
|
267
267
|
})(e, t, n.width * r, n.height * r, a);
|
|
268
268
|
return (function(y, I, x, O, M, S, k) {
|
|
269
|
-
const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = (function(fe, ce,
|
|
269
|
+
const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = (function(fe, ce, ue, J) {
|
|
270
270
|
return J === "auto" ? (function(U, Ee) {
|
|
271
271
|
const Ie = vt(U, Ee);
|
|
272
272
|
return { optimizedScaleFactor: ie[Ie].maxUpscale, upscaleMethodValue: Re.classic, forceUSM: !1 };
|
|
273
273
|
})(fe, ce) : J === "super" ? (function(U) {
|
|
274
274
|
return { optimizedScaleFactor: je(Le), upscaleMethodValue: Re.super, forceUSM: !(Le.includes(U) || U > je(Le)) };
|
|
275
|
-
})(
|
|
275
|
+
})(ue) : (function(U, Ee) {
|
|
276
276
|
const Ie = vt(U, Ee);
|
|
277
277
|
return { optimizedScaleFactor: ie[Ie].maxUpscale, upscaleMethodValue: Re.classic, forceUSM: !1 };
|
|
278
278
|
})(fe, ce);
|
|
@@ -289,13 +289,13 @@ function Kr() {
|
|
|
289
289
|
return { width: Te, height: he, scaleFactor: W, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !0 };
|
|
290
290
|
})(e, t, f, p, o, h, a);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function lt(e, t, a, n) {
|
|
293
293
|
const r = xt(a) || (function(o = v.CENTER) {
|
|
294
294
|
return se[o];
|
|
295
295
|
})(n);
|
|
296
296
|
return { x: Math.max(0, Math.min(e.width - t.width, r.x * e.width - t.width / 2)), y: Math.max(0, Math.min(e.height - t.height, r.y * e.height - t.height / 2)), width: Math.min(e.width, t.width), height: Math.min(e.height, t.height) };
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function ut(e) {
|
|
299
299
|
return e.alignment && pe[e.alignment] || pe[v.CENTER];
|
|
300
300
|
}
|
|
301
301
|
function xt(e) {
|
|
@@ -314,7 +314,7 @@ function Kr() {
|
|
|
314
314
|
return e && e.upscaleMethod && be[e.upscaleMethod.toUpperCase()] || be.AUTO;
|
|
315
315
|
}
|
|
316
316
|
function Ft(e, t) {
|
|
317
|
-
const a =
|
|
317
|
+
const a = Xe(e) || rt(e);
|
|
318
318
|
return Ze(e) === K.GIF || a && t;
|
|
319
319
|
}
|
|
320
320
|
const Lt = { isMobile: !1 }, Gt = function(e) {
|
|
@@ -515,7 +515,7 @@ function Kr() {
|
|
|
515
515
|
case _.SCALE_TO_FILL:
|
|
516
516
|
e.parts.push((function(r, o) {
|
|
517
517
|
const h = it(r.src.width, r.src.height, $.FILL, o, r.devicePixelRatio, r.upscaleMethod), f = xt(r.focalPoint);
|
|
518
|
-
return { transformType: f ? $.FILL_FOCAL : $.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment:
|
|
518
|
+
return { transformType: f ? $.FILL_FOCAL : $.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment: ut(o), focalPointX: f && f.x, focalPointY: f && f.y, upscale: h.scaleFactor > 1, forceUSM: h.forceUSM, scaleFactor: h.scaleFactor, cssUpscaleNeeded: h.cssUpscaleNeeded, upscaleMethodValue: h.upscaleMethodValue };
|
|
519
519
|
})(e, a));
|
|
520
520
|
break;
|
|
521
521
|
case _.STRETCH:
|
|
@@ -529,14 +529,14 @@ function Kr() {
|
|
|
529
529
|
case _.TILE:
|
|
530
530
|
case _.LEGACY_ORIGINAL_SIZE:
|
|
531
531
|
case _.ORIGINAL_SIZE:
|
|
532
|
-
n =
|
|
532
|
+
n = lt(e.src, a, e.focalPoint, a.alignment), e.src.isCropped ? (Object.assign(e.parts[0], n), e.src.width = n.width, e.src.height = n.height) : e.parts.push(F(n));
|
|
533
533
|
break;
|
|
534
534
|
case _.LEGACY_STRIP_TILE_HORIZONTAL:
|
|
535
535
|
case _.LEGACY_STRIP_TILE_VERTICAL:
|
|
536
536
|
case _.LEGACY_STRIP_TILE:
|
|
537
537
|
case _.LEGACY_STRIP_ORIGINAL_SIZE:
|
|
538
538
|
e.parts.push((function(r) {
|
|
539
|
-
return { transformType: $.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment:
|
|
539
|
+
return { transformType: $.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
|
|
540
540
|
})(a));
|
|
541
541
|
break;
|
|
542
542
|
case _.LEGACY_STRIP_SCALE_TO_FIT:
|
|
@@ -547,7 +547,7 @@ function Kr() {
|
|
|
547
547
|
break;
|
|
548
548
|
case _.LEGACY_STRIP_SCALE_TO_FILL:
|
|
549
549
|
e.parts.push((function(r) {
|
|
550
|
-
return { transformType: $.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment:
|
|
550
|
+
return { transformType: $.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
|
|
551
551
|
})(a));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -593,12 +593,12 @@ function Kr() {
|
|
|
593
593
|
function ne(e, t, a, n) {
|
|
594
594
|
const r = (function(O) {
|
|
595
595
|
return O?.isSEOBot ?? !1;
|
|
596
|
-
})(n), o =
|
|
596
|
+
})(n), o = _t(t.id), h = (function(O, M) {
|
|
597
597
|
const S = /\.([^.]*)$/, k = new RegExp(`(${bt.concat(nt).join("|")})`, "g");
|
|
598
598
|
if (M && M.length) {
|
|
599
599
|
let q = M;
|
|
600
600
|
const D = M.match(S);
|
|
601
|
-
return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k,
|
|
601
|
+
return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k, gt);
|
|
602
602
|
}
|
|
603
603
|
const W = O.match(/\/(.*?)$/);
|
|
604
604
|
return (W ? W[1] : O).replace(S, "");
|
|
@@ -619,10 +619,10 @@ function Kr() {
|
|
|
619
619
|
}
|
|
620
620
|
return n;
|
|
621
621
|
}
|
|
622
|
-
const Ae = ge`fit/w_${"width"},h_${"height"}`, Pe = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, $e = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,
|
|
623
|
-
function
|
|
622
|
+
const Ae = ge`fit/w_${"width"},h_${"height"}`, Pe = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, $e = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, qe = ge`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Qe = ge`crop/w_${"width"},h_${"height"},al_${"alignment"}`, ht = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, at = ge`,lg_${"upscaleMethodValue"}`, _n = ge`,q_${"quality"}`, $t = ge`,quality_auto`, En = ge`,usm_${"radius"}_${"amount"}_${"threshold"}`, Tn = ge`,bl`, vn = ge`,wm_${"watermark"}`, In = { [V.CONTRAST]: ge`,con_${"contrast"}`, [V.BRIGHTNESS]: ge`,br_${"brightness"}`, [V.SATURATION]: ge`,sat_${"saturation"}`, [V.HUE]: ge`,hue_${"hue"}`, [V.BLUR]: ge`,blur_${"blur"}` }, bn = ge`,enc_auto`, Ln = ge`,enc_avif`, Yt = ge`,enc_pavif`, nn = ge`,pstr`, yn = ge`,anm_all`;
|
|
623
|
+
function Et(e, t, a, n = {}, r) {
|
|
624
624
|
if (Ye(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation)) {
|
|
625
|
-
if (
|
|
625
|
+
if (Xe(t.id) || rt(t.id)) {
|
|
626
626
|
const { alignment: o, ...h } = a;
|
|
627
627
|
t.focalPoint = { x: void 0, y: void 0 }, delete t?.crop, r = ne(e, t, h, n);
|
|
628
628
|
} else r = r || ne(e, t, a, n);
|
|
@@ -631,7 +631,7 @@ function Kr() {
|
|
|
631
631
|
o.parts.forEach((p) => {
|
|
632
632
|
switch (p.transformType) {
|
|
633
633
|
case $.CROP:
|
|
634
|
-
h.push(
|
|
634
|
+
h.push(qe(p));
|
|
635
635
|
break;
|
|
636
636
|
case $.LEGACY_CROP:
|
|
637
637
|
h.push(Qe(p));
|
|
@@ -697,8 +697,8 @@ function Kr() {
|
|
|
697
697
|
if (!ze(e, t, a)) return Se;
|
|
698
698
|
const I = !0, x = p ?? I, O = Ye(t.id, f, x);
|
|
699
699
|
if (!O || h) return yt(e, t, a, { ...n, autoEncode: r, useSrcset: O });
|
|
700
|
-
const M = { ...a, ...xn(t, a) }, { alignment: S, htmlTag: k } = M, W = Vt(e, t, M), q = (function(J, U, { width: Ee, height: Ie },
|
|
701
|
-
if (
|
|
700
|
+
const M = { ...a, ...xn(t, a) }, { alignment: S, htmlTag: k } = M, W = Vt(e, t, M), q = (function(J, U, { width: Ee, height: Ie }, de = !1) {
|
|
701
|
+
if (de) return { width: Ee, height: Ie };
|
|
702
702
|
const we = !An.includes(J), ke = Vt(J, U, { width: Ee, height: Ie }), ye = !ke && It.includes(J), ve = ye ? U.width : Ee, xe = ye ? U.height : Ie, He = we ? (function(Ne, Fe) {
|
|
703
703
|
return Ne > 900 ? Fe ? 0.05 : 0.15 : Ne > 500 ? Fe ? 0.1 : 0.18 : Ne > 200 ? 0.25 : 1;
|
|
704
704
|
})(ve, Ve(U.id)) : 1;
|
|
@@ -708,16 +708,16 @@ function Kr() {
|
|
|
708
708
|
})(M.width, e, o), Te = (function(J, U) {
|
|
709
709
|
const Ee = It.includes(J) && !U;
|
|
710
710
|
return J === _.SCALE_TO_FILL || Ee ? _.SCALE_TO_FIT : J;
|
|
711
|
-
})(e, W), he = an(e, t, a, S), { uri: fe } = yt(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: x, encoding: y, isPlaceholderFlow: I }), { attr: ce = {}, css:
|
|
712
|
-
return
|
|
711
|
+
})(e, W), he = an(e, t, a, S), { uri: fe } = yt(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: x, encoding: y, isPlaceholderFlow: I }), { attr: ce = {}, css: ue } = yt(e, t, { ...M, alignment: S, htmlTag: k }, {});
|
|
712
|
+
return ue.img = ue.img || {}, ue.container = ue.container || {}, Object.assign(ue.img, he.img, On), Object.assign(ue.container, he.container), { uri: fe, css: ue, attr: ce, transformed: !0 };
|
|
713
713
|
}
|
|
714
714
|
function yt(e, t, a, n) {
|
|
715
715
|
let r = {};
|
|
716
716
|
if (ze(e, t, a)) {
|
|
717
717
|
const o = re(e, t, a), h = ne(e, t, o, n);
|
|
718
|
-
r.uri =
|
|
718
|
+
r.uri = Et(e, t, o, n, h), n?.useSrcset && (r.srcset = (function(f, p, y, I, x) {
|
|
719
719
|
const O = y.pixelAspectRatio || 1;
|
|
720
|
-
return { dpr: [`${O === 1 ? x.uri :
|
|
720
|
+
return { dpr: [`${O === 1 ? x.uri : Et(f, p, { ...y, pixelAspectRatio: 1 }, I)} 1x`, `${O === 2 ? x.uri : Et(f, p, { ...y, pixelAspectRatio: 2 }, I)} 2x`] };
|
|
721
721
|
})(e, t, o, n, r)), Object.assign(r, (function(f, p) {
|
|
722
722
|
let y;
|
|
723
723
|
return y = p.htmlTag === me.BG ? Bt : p.htmlTag === me.SVG ? z : j, y(f, p);
|
|
@@ -732,27 +732,27 @@ function Kr() {
|
|
|
732
732
|
return r?.uri && !/^[a-z]+:/.test(r.uri) && (r.uri = `${Dt}${r.uri}`), r;
|
|
733
733
|
}, sn = /^[a-z]+:/, cn = (e) => {
|
|
734
734
|
const { id: t, containerId: a, uri: n, alt: r, name: o = "", role: h, width: f, height: p, displayMode: y, devicePixelRatio: I, quality: x, alignType: O, bgEffectName: M = "", focalPoint: S, upscaleMethod: k, className: W = "", crop: q, imageStyles: D = {}, targetWidth: Te, targetHeight: he, targetScale: fe, onLoad: ce = () => {
|
|
735
|
-
}, onError:
|
|
736
|
-
}, shouldUseLQIP: J, containerWidth: U, containerHeight: Ee, getPlaceholder: Ie, isInFirstFold:
|
|
735
|
+
}, onError: ue = () => {
|
|
736
|
+
}, shouldUseLQIP: J, containerWidth: U, containerHeight: Ee, getPlaceholder: Ie, isInFirstFold: de, placeholderTransition: we, socialAttrs: ke, isSEOBot: ye, skipMeasure: ve, hasAnimation: xe, encoding: He, isFluidLayout: Ne } = e, Fe = u.useRef(null);
|
|
737
737
|
let Pt = "";
|
|
738
738
|
const nr = we === "blur", et = u.useRef(null);
|
|
739
|
-
if (!et.current) if (Ie || J ||
|
|
740
|
-
const tt = { upscaleMethod: k, ...x || {}, shouldLoadHQImage:
|
|
741
|
-
et.current = (Ie || on)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: U, height: Ee, alignment: O, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed ||
|
|
739
|
+
if (!et.current) if (Ie || J || de || ye) {
|
|
740
|
+
const tt = { upscaleMethod: k, ...x || {}, shouldLoadHQImage: de, isSEOBot: ye, hasAnimation: xe, encoding: He };
|
|
741
|
+
et.current = (Ie || on)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: U, height: Ee, alignment: O, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed || de || ye ? "" : "true";
|
|
742
742
|
} else et.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
|
|
743
|
-
const Nt = !ye && (Ie || J) && !
|
|
743
|
+
const Nt = !ye && (Ie || J) && !de && et.current.transformed, rr = u.useMemo(() => JSON.stringify({ containerId: a, ...a && { containerId: a }, ...O && { alignType: O }, ...ve && { skipMeasure: !0 }, displayMode: y, ...U && { targetWidth: U }, ...Ee && { targetHeight: Ee }, ...Te && { targetWidth: Te }, ...he && { targetHeight: he }, ...fe && { targetScale: fe }, isLQIP: Nt, isSEOBot: ye, lqipTransition: we, encoding: He, imageData: { width: f, height: p, uri: n, name: o, displayMode: y, hasAnimation: xe, ...x && { quality: x }, ...I && { devicePixelRatio: I }, ...S && { focalPoint: S }, ...q && { crop: q }, ...k && { upscaleMethod: k } } }), [a, O, ve, y, U, Ee, Te, he, fe, Nt, ye, we, He, f, p, n, o, xe, x, I, S, q, k]), ft = et.current, ar = ft?.uri, gn = ft?.srcset, pt = ft.css?.img, Lr = `${R} ${W}`;
|
|
744
744
|
u.useEffect(() => {
|
|
745
745
|
const tt = Fe.current;
|
|
746
746
|
ce && tt?.currentSrc && tt?.complete && ce({ target: tt });
|
|
747
747
|
}, []);
|
|
748
748
|
const ir = ft && !ft?.transformed ? `max(${f}px, 100%)` : Te ? `${Te}px` : null;
|
|
749
|
-
return u.createElement("wow-image", { id: t, class: Lr, "data-image-info": rr, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Nt && nr ? "" : void 0, "data-is-responsive": Ne ? "true" : void 0, style: ir ? { "--wix-img-max-width": ir } : {} }, u.createElement("img", { src: ar, ref: Fe, alt: r || "", role: h, style: { ...pt, ...D }, onLoad: ce, onError:
|
|
749
|
+
return u.createElement("wow-image", { id: t, class: Lr, "data-image-info": rr, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Nt && nr ? "" : void 0, "data-is-responsive": Ne ? "true" : void 0, style: ir ? { "--wix-img-max-width": ir } : {} }, u.createElement("img", { src: ar, ref: Fe, alt: r || "", role: h, style: { ...pt, ...D }, onLoad: ce, onError: ue, width: U || void 0, height: Ee || void 0, ...ke, srcSet: de ? gn?.dpr?.map((tt) => sn.test(tt) ? tt : `${Dt}${tt}`).join(", ") : void 0, fetchpriority: de ? "high" : void 0, loading: de === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
|
|
750
750
|
};
|
|
751
751
|
var Wt = "Tj01hh", qt = (e) => {
|
|
752
752
|
var t, a;
|
|
753
|
-
const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: I, onError: x, containerWidth: O, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || O, fe = y || M, { fallbackSrc: ce, srcset:
|
|
753
|
+
const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: I, onError: x, containerWidth: O, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || O, fe = y || M, { fallbackSrc: ce, srcset: ue, sources: J, css: U } = q || {}, { width: Ee, height: Ie, ...de } = (q == null || (t = q.css) == null ? void 0 : t.img) || {}, we = Te === "original_size" ? q == null || (a = q.css) == null ? void 0 : a.img : de;
|
|
754
754
|
var ke;
|
|
755
|
-
return ce &&
|
|
755
|
+
return ce && ue && U ? u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, sizes: he + "px", srcSet: W ? D?.srcset : q?.srcset, id: n, src: ce, alt: r || "", role: o, style: { ...f, ...W ? { ...D == null || (ke = D.css) == null ? void 0 : ke.img } : { ...we } }, onLoad: I, onError: x, className: (0, B.Z)(h, Wt), width: he, height: fe }, k)) : ce && J && U ? u.createElement("picture", null, J.map((ye) => {
|
|
756
756
|
let { srcset: ve, media: xe, sizes: He } = ye;
|
|
757
757
|
return u.createElement("source", { key: xe, srcSet: ve, media: xe, sizes: He });
|
|
758
758
|
}), u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, id: n, src: J[0].fallbackSrc, alt: r || "", role: o, style: { ...f, objectFit: J[0].imgStyle.objectFit, objectPosition: J[0].imgStyle.objectPosition }, onLoad: I, onError: x, className: (0, B.Z)(h, Wt), width: he, height: fe }, k))) : u.createElement(cn, e);
|
|
@@ -785,13 +785,13 @@ function Kr() {
|
|
|
785
785
|
const Qt = "bgImage";
|
|
786
786
|
var qn = (e) => {
|
|
787
787
|
const { videoRef: t, canvasRef: a, hasBgFullscreenScrollEffect: n, image: r, backgroundImage: o, backgroundMedia: h, video: f, backgroundOverlay: p, shouldPadMedia: y, extraClass: I = "", shouldRenderUnderlay: x = !f, reducedMotion: O = !1, getPlaceholder: M, hasCanvasAnimation: S, useWixMediaCanvas: k, onClick: W } = e, { onImageLoad: q } = ((Ee) => {
|
|
788
|
-
let { onReady: Ie, image:
|
|
788
|
+
let { onReady: Ie, image: de } = Ee;
|
|
789
789
|
return (0, u.useEffect)(() => {
|
|
790
|
-
Ie && !
|
|
791
|
-
}, [Ie,
|
|
792
|
-
|
|
790
|
+
Ie && !de && Ie();
|
|
791
|
+
}, [Ie, de]), { onImageLoad: (we) => {
|
|
792
|
+
de != null && de.onLoad && de.onLoad(we), Ie && Ie();
|
|
793
793
|
} };
|
|
794
|
-
})(e), D = Mt(e.containerId), Te = "img_" + Mt(D), he = r && u.createElement(qt, m()({ id: Te, className: (0, B.Z)(Rt, Jt, Kt, Qt), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Ct, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Jt, Kt, Qt), getPlaceholder: M })), ce = f && u.createElement(Hn, m()({ id: "videoContainer_" + D }, f, { extraClassName: hn, reducedMotion: O, videoRef: t, getPlaceholder: M })),
|
|
794
|
+
})(e), D = Mt(e.containerId), Te = "img_" + Mt(D), he = r && u.createElement(qt, m()({ id: Te, className: (0, B.Z)(Rt, Jt, Kt, Qt), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Ct, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Jt, Kt, Qt), getPlaceholder: M })), ce = f && u.createElement(Hn, m()({ id: "videoContainer_" + D }, f, { extraClassName: hn, reducedMotion: O, videoRef: t, getPlaceholder: M })), ue = k && a || S ? u.createElement("wix-media-canvas", { "data-container-id": D, class: S ? Wn : "" }, he, fe, ce, u.createElement("canvas", { id: D + "webglcanvas", className: (0, B.Z)(Xt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": St })) : u.createElement(u.Fragment, null, he, fe, ce, a && u.createElement("canvas", { id: D + "webglcanvas", ref: a, className: (0, B.Z)(Xt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": St })), J = h ? u.createElement(jn, m()({ id: "bgMedia_" + D }, h), ue) : u.createElement("div", { id: "bgMedia_" + D, "data-motion-part": "BG_MEDIA " + D, className: dn }, ue), U = p && u.createElement(Un, p);
|
|
795
795
|
return u.createElement("div", { id: kt + "_" + D, "data-hook": kt, "data-motion-part": "BG_LAYER " + D, className: (0, B.Z)(un, I, { [zn]: n }), onClick: W }, x && u.createElement("div", { "data-testid": Vn, className: (0, B.Z)(Dn, Rt) }), y ? u.createElement("div", { "data-testid": Zn, className: fn }, J, U) : u.createElement(u.Fragment, null, J, U));
|
|
796
796
|
}, Jn = (e) => u.createElement(qn, e), Xn = "dkukWC", pn = "FRCqDF", Kn = "xnZvZH", Qn = "MBOSCN";
|
|
797
797
|
const At = (e, t, a) => {
|
|
@@ -808,7 +808,7 @@ function Kr() {
|
|
|
808
808
|
return At("bottom", e?.hasBottomDivider, e == null || (o = e.bottomLayers) == null ? void 0 : o.size);
|
|
809
809
|
}, [e?.hasBottomDivider, e == null || (a = e.bottomLayers) == null ? void 0 : a.size]);
|
|
810
810
|
return u.createElement(u.Fragment, null, n, r);
|
|
811
|
-
}, er = { root: "section" },
|
|
811
|
+
}, er = { root: "section" }, Tt = c("p1x1");
|
|
812
812
|
const en = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
|
|
813
813
|
en.displayName = "PauseSmall";
|
|
814
814
|
var tr = en;
|
|
@@ -817,26 +817,26 @@ function Kr() {
|
|
|
817
817
|
var d = tn;
|
|
818
818
|
const T = (e, t) => {
|
|
819
819
|
var a;
|
|
820
|
-
const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: I = e.fillLayers || e.background, tagName: x, getPlaceholder: O, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder:
|
|
820
|
+
const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: I = e.fillLayers || e.background, tagName: x, getPlaceholder: O, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder: ue } = e, J = x || "section", { shouldOmitWrapperLayers: U } = p, Ee = (0, B.Z)(Tt.Z[r], h, o, S ? ae(S.root, ...f) : ae(er.root, ...f), { [Tt.Z.shouldOmitWrapperLayers]: U }), Ie = !(I == null || !I.video), de = (function(ve, xe, He) {
|
|
821
821
|
const Ne = L().useRef(null), Fe = L().useRef(null);
|
|
822
822
|
return xe ? Fe.current || (Fe.current = { play: () => Ne.current?.play(), load: () => Ne.current?.load(), pause: () => Ne.current?.pause(), stop: () => {
|
|
823
823
|
Ne.current && (Ne.current.pause(), Ne.current.currentTime = 0, He && He(Ne.current));
|
|
824
824
|
} }) : Fe.current = null, L().useImperativeHandle(ve, () => Fe.current || { load() {
|
|
825
825
|
}, stop() {
|
|
826
826
|
} }), Ne;
|
|
827
|
-
})(t, Ie, k), [we, ke] = u.useState(!(
|
|
827
|
+
})(t, Ie, k), [we, ke] = u.useState(!(de != null && (a = de.current) != null && a.paused));
|
|
828
828
|
return u.createElement(J, m()({ id: n }, (0, P.P5)(e), ((ve = {}) => {
|
|
829
829
|
const xe = ve.tabIndex ?? ve.tabindex ?? void 0;
|
|
830
830
|
return xe !== void 0 ? { tabIndex: Number(xe) } : {};
|
|
831
|
-
})(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " +
|
|
832
|
-
const ve =
|
|
831
|
+
})(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " + Tt.Z.section, "data-testid": w, onClick: W, onDoubleClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he }), I && !ue && u.createElement(Jn, m()({}, I, { videoRef: de, getPlaceholder: O })), Ie && ce && !ue && u.createElement("button", { className: "" + Tt.Z.videoPlayPauseButton, onClick: () => {
|
|
832
|
+
const ve = de?.current;
|
|
833
833
|
ve && (ve.paused ? ve.play() : ve.pause(), ke((xe) => {
|
|
834
834
|
const He = !xe, Ne = document.getElementById(n);
|
|
835
835
|
return Ne && Ne.querySelectorAll("video").forEach((Fe) => {
|
|
836
836
|
Fe !== ve && (He ? Fe.play() : Fe.pause());
|
|
837
837
|
}), He;
|
|
838
838
|
}));
|
|
839
|
-
}, "aria-pressed": we, "aria-label": fe?.ariaLabel }, we ? u.createElement(tr, null) : u.createElement(d, null)), M && !
|
|
839
|
+
}, "aria-pressed": we, "aria-label": fe?.ariaLabel }, we ? u.createElement(tr, null) : u.createElement(d, null)), M && !ue && u.createElement(mn, M), y());
|
|
840
840
|
var ye;
|
|
841
841
|
};
|
|
842
842
|
var C = u.forwardRef(T);
|
|
@@ -848,7 +848,7 @@ function Kr() {
|
|
|
848
848
|
} });
|
|
849
849
|
const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
|
|
850
850
|
}, "Xdf/": function(i) {
|
|
851
|
-
i.exports =
|
|
851
|
+
i.exports = le;
|
|
852
852
|
}, Fe5V: function(i) {
|
|
853
853
|
function s() {
|
|
854
854
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -905,13 +905,13 @@ function Kr() {
|
|
|
905
905
|
})(cr)), cr.exports;
|
|
906
906
|
}
|
|
907
907
|
var Qr = Kr();
|
|
908
|
-
const ea = /* @__PURE__ */
|
|
908
|
+
const ea = /* @__PURE__ */ ct(Qr), ai = mt(ea);
|
|
909
909
|
var lr = { exports: {} }, ta = lr.exports, Or;
|
|
910
910
|
function na() {
|
|
911
|
-
return Or || (Or = 1, (function(
|
|
912
|
-
(function(
|
|
913
|
-
|
|
914
|
-
})(typeof self < "u" ? self : ta, function(
|
|
911
|
+
return Or || (Or = 1, (function(Ce, We) {
|
|
912
|
+
(function(le, ee) {
|
|
913
|
+
Ce.exports = ee(st);
|
|
914
|
+
})(typeof self < "u" ? self : ta, function(le) {
|
|
915
915
|
return (function() {
|
|
916
916
|
var ee = { eV9E: function(i, s, c) {
|
|
917
917
|
c.d(s, { default: function() {
|
|
@@ -926,37 +926,37 @@ function na() {
|
|
|
926
926
|
};
|
|
927
927
|
var ae = c("guqK");
|
|
928
928
|
const P = "mesh-container-content", w = "inline-content", R = (v) => u().createElement("div", { key: v.props.id + "-rotated-wrapper", "data-mesh-id": v.props.id + "-rotated-wrapper" }, v), N = (v, se) => {
|
|
929
|
-
const { id: pe, className: me, wedges: be = [], rotatedComponents: Re = [], children: Be, fixedComponents: Se = [], extraClassName:
|
|
929
|
+
const { id: pe, className: me, wedges: be = [], rotatedComponents: Re = [], children: Be, fixedComponents: Se = [], extraClassName: Me = "", renderRotatedComponents: Le = R } = v, ie = u().Children.toArray(Be()), Ge = [], V = [];
|
|
930
930
|
ie.forEach((Ue) => Se.includes(Ue.props.id) ? Ge.push(Ue) : V.push(Ue));
|
|
931
931
|
const K = ((Ue) => {
|
|
932
|
-
const { wedges: ge, rotatedComponents: je, childrenArray: De, renderRotatedComponents:
|
|
932
|
+
const { wedges: ge, rotatedComponents: je, childrenArray: De, renderRotatedComponents: Je } = Ue, ze = je.reduce((Ye, Ve) => ({ ...Ye, [Ve]: !0 }), {});
|
|
933
933
|
return [...De.map((Ye) => {
|
|
934
|
-
return ze[Ve = Ye, Ve.props.id.split("__")[0]] ?
|
|
934
|
+
return ze[Ve = Ye, Ve.props.id.split("__")[0]] ? Je(Ye) : Ye;
|
|
935
935
|
var Ve;
|
|
936
936
|
}), ...ge.map((Ye) => u().createElement("div", { key: Ye, "data-mesh-id": Ye }))];
|
|
937
937
|
})({ childrenArray: V, rotatedComponents: Re, wedges: be, renderRotatedComponents: Le });
|
|
938
|
-
return u().createElement("div", g()({}, (0, ae.P5)(v), { "data-mesh-id": pe + "inlineContent", "data-testid": w, className: (0, L.Z)(me,
|
|
938
|
+
return u().createElement("div", g()({}, (0, ae.P5)(v), { "data-mesh-id": pe + "inlineContent", "data-testid": w, className: (0, L.Z)(me, Me), ref: se }), u().createElement("div", { "data-mesh-id": pe + "inlineContent-gridContainer", "data-testid": P }, K), Ge);
|
|
939
939
|
};
|
|
940
940
|
var X = u().forwardRef(N), _e = c("5zKW"), A = { root: "header" };
|
|
941
941
|
const H = "Reverse", G = "up", _ = "down";
|
|
942
942
|
var $ = (v) => {
|
|
943
|
-
const { id: se, skin: pe, children: me, animations: be, meshProps: Re, className: Be, customClassNames: Se = [], fillLayers:
|
|
943
|
+
const { id: se, skin: pe, children: me, animations: be, meshProps: Re, className: Be, customClassNames: Se = [], fillLayers: Me, lang: Le } = v, [ie, Ge] = (0, m.useState)(""), [V, K] = (0, m.useState)(!1), Ue = (Ve) => {
|
|
944
944
|
Ge(Ve), K(!1);
|
|
945
945
|
};
|
|
946
946
|
(0, m.useEffect)(() => {
|
|
947
947
|
window.TransitionEvent || setTimeout(() => K(!0), 200);
|
|
948
948
|
}, [ie]);
|
|
949
949
|
const ge = ie && !((Ve) => Ve.endsWith(H))(ie), je = () => {
|
|
950
|
-
const Ve = ((
|
|
950
|
+
const Ve = ((Xe) => "" + Xe + H)(ie);
|
|
951
951
|
Ue(Ve);
|
|
952
952
|
}, De = { onMouseEnter: v.onMouseEnter, onMouseLeave: v.onMouseLeave, onClick: v.onClick, onDoubleClick: v.onDblClick, onFocus: ge ? je : void 0, onTransitionEnd: () => K(!0) };
|
|
953
|
-
let
|
|
953
|
+
let Je = _, ze = 0;
|
|
954
954
|
(0, _e.R)((Ve) => {
|
|
955
|
-
var
|
|
955
|
+
var Xe, dt;
|
|
956
956
|
let { currPos: rt, prevPos: bt } = Ve;
|
|
957
|
-
const nt = rt.y && -1 * rt.y,
|
|
957
|
+
const nt = rt.y && -1 * rt.y, gt = bt.y && -1 * bt.y, _t = be[be.length - 1], Ze = (Xe = _t.params) == null || (Xe = Xe.animations) == null ? void 0 : Xe[_t.params.animations.length - 1];
|
|
958
958
|
if (!Ze) return;
|
|
959
|
-
const Ke = ((dt =
|
|
959
|
+
const Ke = ((dt = _t.viewMode) == null ? void 0 : dt.toLowerCase()) === "mobile" ? 1 : ((it) => {
|
|
960
960
|
switch (it) {
|
|
961
961
|
case "HeaderFadeOut":
|
|
962
962
|
return 200;
|
|
@@ -966,12 +966,12 @@ function na() {
|
|
|
966
966
|
return null;
|
|
967
967
|
}
|
|
968
968
|
})(Ze.name);
|
|
969
|
-
Ke && (((it,
|
|
970
|
-
|
|
971
|
-
})(nt,
|
|
969
|
+
Ke && (((it, lt) => {
|
|
970
|
+
Je === _ && it < lt ? (ze = lt, Je = G) : Je === G && it > lt && it >= 0 && lt >= 0 && (ze = lt, Je = _);
|
|
971
|
+
})(nt, gt), ge ? (Je === G && nt + Ke < ze || rt.y === 0) && je() : Je === _ && nt - ze >= Ke && Ue(Ze.name));
|
|
972
972
|
}, [ie, be], { disabled: !be || !be.length });
|
|
973
973
|
const Ye = (0, L.Z)(Be, oe(A.root, ...Se));
|
|
974
|
-
return u().createElement(pe, { wrapperProps: { id: se, tagName: "header", eventHandlers: De, className: Ye, transition: ie, transitionEnded: V, tabIndex: "-1", lang: Le }, "data-block-level-container": "HeaderContainer", fillLayers:
|
|
974
|
+
return u().createElement(pe, { wrapperProps: { id: se, tagName: "header", eventHandlers: De, className: Ye, transition: ie, transitionEnded: V, tabIndex: "-1", lang: Le }, "data-block-level-container": "HeaderContainer", fillLayers: Me }, u().createElement(X, g()({ id: se }, Re, { children: me })));
|
|
975
975
|
};
|
|
976
976
|
}, "5zKW": function(i, s, c) {
|
|
977
977
|
c.d(s, { R: function() {
|
|
@@ -1065,7 +1065,7 @@ function na() {
|
|
|
1065
1065
|
} });
|
|
1066
1066
|
const l = () => typeof window < "u", g = (m) => Object.entries(m).reduce((u, [L, B]) => (L.includes("data-") && (u[L] = B), u), {});
|
|
1067
1067
|
}, "Xdf/": function(i) {
|
|
1068
|
-
i.exports =
|
|
1068
|
+
i.exports = le;
|
|
1069
1069
|
}, Fe5V: function(i) {
|
|
1070
1070
|
function s() {
|
|
1071
1071
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -1129,16 +1129,16 @@ function na() {
|
|
|
1129
1129
|
})(lr)), lr.exports;
|
|
1130
1130
|
}
|
|
1131
1131
|
var ra = na();
|
|
1132
|
-
const aa = /* @__PURE__ */
|
|
1132
|
+
const aa = /* @__PURE__ */ ct(ra);
|
|
1133
1133
|
var ur = { exports: {} }, ia = ur.exports, wr;
|
|
1134
1134
|
function oa() {
|
|
1135
|
-
return wr || (wr = 1, (function(
|
|
1136
|
-
(function(
|
|
1137
|
-
|
|
1138
|
-
})(typeof self < "u" ? self : ia, function(
|
|
1135
|
+
return wr || (wr = 1, (function(Ce, We) {
|
|
1136
|
+
(function(le, ee) {
|
|
1137
|
+
Ce.exports = ee(st);
|
|
1138
|
+
})(typeof self < "u" ? self : ia, function(le) {
|
|
1139
1139
|
return (function() {
|
|
1140
1140
|
var ee = { "Xdf/": function(i) {
|
|
1141
|
-
i.exports =
|
|
1141
|
+
i.exports = le;
|
|
1142
1142
|
} }, Oe = {};
|
|
1143
1143
|
function E(i) {
|
|
1144
1144
|
var s = Oe[i];
|
|
@@ -1184,13 +1184,13 @@ function oa() {
|
|
|
1184
1184
|
})(ur)), ur.exports;
|
|
1185
1185
|
}
|
|
1186
1186
|
var sa = oa();
|
|
1187
|
-
const ca = /* @__PURE__ */
|
|
1187
|
+
const ca = /* @__PURE__ */ ct(sa), ii = mt(br(aa, ca));
|
|
1188
1188
|
var dr = { exports: {} }, la = dr.exports, Cr;
|
|
1189
1189
|
function ua() {
|
|
1190
|
-
return Cr || (Cr = 1, (function(
|
|
1191
|
-
(function(
|
|
1192
|
-
|
|
1193
|
-
})(typeof self < "u" ? self : la, function(
|
|
1190
|
+
return Cr || (Cr = 1, (function(Ce, We) {
|
|
1191
|
+
(function(le, ee) {
|
|
1192
|
+
Ce.exports = ee(st);
|
|
1193
|
+
})(typeof self < "u" ? self : la, function(le) {
|
|
1194
1194
|
return (function() {
|
|
1195
1195
|
var ee = { iCIt: function(i, s, c) {
|
|
1196
1196
|
c.d(s, { default: function() {
|
|
@@ -1212,7 +1212,7 @@ function ua() {
|
|
|
1212
1212
|
var P = c("guqK");
|
|
1213
1213
|
const w = "section-container";
|
|
1214
1214
|
var R = "jhxvbR";
|
|
1215
|
-
const N = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, $ = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, v = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [v.CENTER]: { x: 0.5, y: 0.5 }, [v.TOP_LEFT]: { x: 0, y: 0 }, [v.TOP_RIGHT]: { x: 1, y: 0 }, [v.TOP]: { x: 0.5, y: 0 }, [v.BOTTOM_LEFT]: { x: 0, y: 1 }, [v.BOTTOM_RIGHT]: { x: 1, y: 1 }, [v.BOTTOM]: { x: 0.5, y: 1 }, [v.RIGHT]: { x: 1, y: 0.5 }, [v.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Re = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 },
|
|
1215
|
+
const N = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, $ = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, v = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [v.CENTER]: { x: 0.5, y: 0.5 }, [v.TOP_LEFT]: { x: 0, y: 0 }, [v.TOP_RIGHT]: { x: 1, y: 0 }, [v.TOP]: { x: 0.5, y: 0 }, [v.BOTTOM_LEFT]: { x: 0, y: 1 }, [v.BOTTOM_RIGHT]: { x: 1, y: 1 }, [v.BOTTOM]: { x: 0.5, y: 1 }, [v.RIGHT]: { x: 1, y: 0.5 }, [v.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Re = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Me = 25e6, Le = [1.5, 2, 4], ie = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Ge = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, V = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, K = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, Ue = { AVIF: "AVIF", PAVIF: "PAVIF" };
|
|
1216
1216
|
function ge(e, ...t) {
|
|
1217
1217
|
return function(...a) {
|
|
1218
1218
|
const n = a[a.length - 1] || {}, r = [e[0]];
|
|
@@ -1225,14 +1225,14 @@ function ua() {
|
|
|
1225
1225
|
function je(e) {
|
|
1226
1226
|
return e[e.length - 1];
|
|
1227
1227
|
}
|
|
1228
|
-
const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF],
|
|
1228
|
+
const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF], Je = [K.JPEG, K.JPG, K.JPE];
|
|
1229
1229
|
function ze(e, t, a) {
|
|
1230
1230
|
return a && t && !(!(n = t.id) || !n.trim() || n.toLowerCase() === "none") && Object.values(_).includes(e);
|
|
1231
1231
|
var n;
|
|
1232
1232
|
}
|
|
1233
1233
|
function Ye(e, t, a, n) {
|
|
1234
1234
|
if (/(^https?)|(^data)|(^\/\/)/.test(e) || !(function(h, f, p) {
|
|
1235
|
-
return !(
|
|
1235
|
+
return !(Xe(h) || rt(h)) || !f || p;
|
|
1236
1236
|
})(e, t, a)) return !1;
|
|
1237
1237
|
const r = (function(h) {
|
|
1238
1238
|
return De.includes(Ze(h));
|
|
@@ -1244,7 +1244,7 @@ function ua() {
|
|
|
1244
1244
|
function Ve(e) {
|
|
1245
1245
|
return Ze(e) === K.PNG;
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Xe(e) {
|
|
1248
1248
|
return Ze(e) === K.WEBP;
|
|
1249
1249
|
}
|
|
1250
1250
|
function dt(e) {
|
|
@@ -1253,11 +1253,11 @@ function ua() {
|
|
|
1253
1253
|
function rt(e) {
|
|
1254
1254
|
return Ze(e) === K.AVIF;
|
|
1255
1255
|
}
|
|
1256
|
-
const bt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"],
|
|
1257
|
-
function
|
|
1256
|
+
const bt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"], gt = "_";
|
|
1257
|
+
function _t(e) {
|
|
1258
1258
|
return (function(t) {
|
|
1259
|
-
return
|
|
1260
|
-
})(e) ? K.JPG : Ve(e) ? K.PNG :
|
|
1259
|
+
return Je.includes(Ze(t));
|
|
1260
|
+
})(e) ? K.JPG : Ve(e) ? K.PNG : Xe(e) ? K.WEBP : dt(e) ? K.GIF : rt(e) ? K.AVIF : K.UNRECOGNIZED;
|
|
1261
1261
|
}
|
|
1262
1262
|
function Ze(e) {
|
|
1263
1263
|
return (/[.]([^.]+)$/.exec(e) && /[.]([^.]+)$/.exec(e)[1] || "").toLowerCase();
|
|
@@ -1274,20 +1274,20 @@ function ua() {
|
|
|
1274
1274
|
e = e || n.width, t = t || n.height;
|
|
1275
1275
|
const { scaleFactor: h, width: f, height: p } = (function(y, I, x, O, M) {
|
|
1276
1276
|
let S, k = x, W = O;
|
|
1277
|
-
if (S = Ke(y, I, x, O, M), M === $.FIT && (k = y * S, W = I * S), k && W && k * W >
|
|
1278
|
-
const q = Math.sqrt(
|
|
1277
|
+
if (S = Ke(y, I, x, O, M), M === $.FIT && (k = y * S, W = I * S), k && W && k * W > Me) {
|
|
1278
|
+
const q = Math.sqrt(Me / (k * W));
|
|
1279
1279
|
k *= q, W *= q, S = Ke(y, I, k, W, M);
|
|
1280
1280
|
}
|
|
1281
1281
|
return { scaleFactor: S, width: k, height: W };
|
|
1282
1282
|
})(e, t, n.width * r, n.height * r, a);
|
|
1283
1283
|
return (function(y, I, x, O, M, S, k) {
|
|
1284
|
-
const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = (function(fe, ce,
|
|
1284
|
+
const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = (function(fe, ce, ue, J) {
|
|
1285
1285
|
return J === "auto" ? (function(U, Ee) {
|
|
1286
1286
|
const Ie = vt(U, Ee);
|
|
1287
1287
|
return { optimizedScaleFactor: ie[Ie].maxUpscale, upscaleMethodValue: Re.classic, forceUSM: !1 };
|
|
1288
1288
|
})(fe, ce) : J === "super" ? (function(U) {
|
|
1289
1289
|
return { optimizedScaleFactor: je(Le), upscaleMethodValue: Re.super, forceUSM: !(Le.includes(U) || U > je(Le)) };
|
|
1290
|
-
})(
|
|
1290
|
+
})(ue) : (function(U, Ee) {
|
|
1291
1291
|
const Ie = vt(U, Ee);
|
|
1292
1292
|
return { optimizedScaleFactor: ie[Ie].maxUpscale, upscaleMethodValue: Re.classic, forceUSM: !1 };
|
|
1293
1293
|
})(fe, ce);
|
|
@@ -1304,13 +1304,13 @@ function ua() {
|
|
|
1304
1304
|
return { width: Te, height: he, scaleFactor: W, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !0 };
|
|
1305
1305
|
})(e, t, f, p, o, h, a);
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function lt(e, t, a, n) {
|
|
1308
1308
|
const r = xt(a) || (function(o = v.CENTER) {
|
|
1309
1309
|
return se[o];
|
|
1310
1310
|
})(n);
|
|
1311
1311
|
return { x: Math.max(0, Math.min(e.width - t.width, r.x * e.width - t.width / 2)), y: Math.max(0, Math.min(e.height - t.height, r.y * e.height - t.height / 2)), width: Math.min(e.width, t.width), height: Math.min(e.height, t.height) };
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function ut(e) {
|
|
1314
1314
|
return e.alignment && pe[e.alignment] || pe[v.CENTER];
|
|
1315
1315
|
}
|
|
1316
1316
|
function xt(e) {
|
|
@@ -1329,7 +1329,7 @@ function ua() {
|
|
|
1329
1329
|
return e && e.upscaleMethod && be[e.upscaleMethod.toUpperCase()] || be.AUTO;
|
|
1330
1330
|
}
|
|
1331
1331
|
function Ft(e, t) {
|
|
1332
|
-
const a =
|
|
1332
|
+
const a = Xe(e) || rt(e);
|
|
1333
1333
|
return Ze(e) === K.GIF || a && t;
|
|
1334
1334
|
}
|
|
1335
1335
|
const Lt = { isMobile: !1 }, Gt = function(e) {
|
|
@@ -1530,7 +1530,7 @@ function ua() {
|
|
|
1530
1530
|
case _.SCALE_TO_FILL:
|
|
1531
1531
|
e.parts.push((function(r, o) {
|
|
1532
1532
|
const h = it(r.src.width, r.src.height, $.FILL, o, r.devicePixelRatio, r.upscaleMethod), f = xt(r.focalPoint);
|
|
1533
|
-
return { transformType: f ? $.FILL_FOCAL : $.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment:
|
|
1533
|
+
return { transformType: f ? $.FILL_FOCAL : $.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment: ut(o), focalPointX: f && f.x, focalPointY: f && f.y, upscale: h.scaleFactor > 1, forceUSM: h.forceUSM, scaleFactor: h.scaleFactor, cssUpscaleNeeded: h.cssUpscaleNeeded, upscaleMethodValue: h.upscaleMethodValue };
|
|
1534
1534
|
})(e, a));
|
|
1535
1535
|
break;
|
|
1536
1536
|
case _.STRETCH:
|
|
@@ -1544,14 +1544,14 @@ function ua() {
|
|
|
1544
1544
|
case _.TILE:
|
|
1545
1545
|
case _.LEGACY_ORIGINAL_SIZE:
|
|
1546
1546
|
case _.ORIGINAL_SIZE:
|
|
1547
|
-
n =
|
|
1547
|
+
n = lt(e.src, a, e.focalPoint, a.alignment), e.src.isCropped ? (Object.assign(e.parts[0], n), e.src.width = n.width, e.src.height = n.height) : e.parts.push(F(n));
|
|
1548
1548
|
break;
|
|
1549
1549
|
case _.LEGACY_STRIP_TILE_HORIZONTAL:
|
|
1550
1550
|
case _.LEGACY_STRIP_TILE_VERTICAL:
|
|
1551
1551
|
case _.LEGACY_STRIP_TILE:
|
|
1552
1552
|
case _.LEGACY_STRIP_ORIGINAL_SIZE:
|
|
1553
1553
|
e.parts.push((function(r) {
|
|
1554
|
-
return { transformType: $.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment:
|
|
1554
|
+
return { transformType: $.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
|
|
1555
1555
|
})(a));
|
|
1556
1556
|
break;
|
|
1557
1557
|
case _.LEGACY_STRIP_SCALE_TO_FIT:
|
|
@@ -1562,7 +1562,7 @@ function ua() {
|
|
|
1562
1562
|
break;
|
|
1563
1563
|
case _.LEGACY_STRIP_SCALE_TO_FILL:
|
|
1564
1564
|
e.parts.push((function(r) {
|
|
1565
|
-
return { transformType: $.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment:
|
|
1565
|
+
return { transformType: $.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
|
|
1566
1566
|
})(a));
|
|
1567
1567
|
}
|
|
1568
1568
|
}
|
|
@@ -1608,12 +1608,12 @@ function ua() {
|
|
|
1608
1608
|
function ne(e, t, a, n) {
|
|
1609
1609
|
const r = (function(O) {
|
|
1610
1610
|
return O?.isSEOBot ?? !1;
|
|
1611
|
-
})(n), o =
|
|
1611
|
+
})(n), o = _t(t.id), h = (function(O, M) {
|
|
1612
1612
|
const S = /\.([^.]*)$/, k = new RegExp(`(${bt.concat(nt).join("|")})`, "g");
|
|
1613
1613
|
if (M && M.length) {
|
|
1614
1614
|
let q = M;
|
|
1615
1615
|
const D = M.match(S);
|
|
1616
|
-
return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k,
|
|
1616
|
+
return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k, gt);
|
|
1617
1617
|
}
|
|
1618
1618
|
const W = O.match(/\/(.*?)$/);
|
|
1619
1619
|
return (W ? W[1] : O).replace(S, "");
|
|
@@ -1634,10 +1634,10 @@ function ua() {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
return n;
|
|
1636
1636
|
}
|
|
1637
|
-
const Ae = ge`fit/w_${"width"},h_${"height"}`, Pe = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, $e = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,
|
|
1638
|
-
function
|
|
1637
|
+
const Ae = ge`fit/w_${"width"},h_${"height"}`, Pe = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, $e = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, qe = ge`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Qe = ge`crop/w_${"width"},h_${"height"},al_${"alignment"}`, ht = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, at = ge`,lg_${"upscaleMethodValue"}`, _n = ge`,q_${"quality"}`, $t = ge`,quality_auto`, En = ge`,usm_${"radius"}_${"amount"}_${"threshold"}`, Tn = ge`,bl`, vn = ge`,wm_${"watermark"}`, In = { [V.CONTRAST]: ge`,con_${"contrast"}`, [V.BRIGHTNESS]: ge`,br_${"brightness"}`, [V.SATURATION]: ge`,sat_${"saturation"}`, [V.HUE]: ge`,hue_${"hue"}`, [V.BLUR]: ge`,blur_${"blur"}` }, bn = ge`,enc_auto`, Ln = ge`,enc_avif`, Yt = ge`,enc_pavif`, nn = ge`,pstr`, yn = ge`,anm_all`;
|
|
1638
|
+
function Et(e, t, a, n = {}, r) {
|
|
1639
1639
|
if (Ye(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation)) {
|
|
1640
|
-
if (
|
|
1640
|
+
if (Xe(t.id) || rt(t.id)) {
|
|
1641
1641
|
const { alignment: o, ...h } = a;
|
|
1642
1642
|
t.focalPoint = { x: void 0, y: void 0 }, delete t?.crop, r = ne(e, t, h, n);
|
|
1643
1643
|
} else r = r || ne(e, t, a, n);
|
|
@@ -1646,7 +1646,7 @@ function ua() {
|
|
|
1646
1646
|
o.parts.forEach((p) => {
|
|
1647
1647
|
switch (p.transformType) {
|
|
1648
1648
|
case $.CROP:
|
|
1649
|
-
h.push(
|
|
1649
|
+
h.push(qe(p));
|
|
1650
1650
|
break;
|
|
1651
1651
|
case $.LEGACY_CROP:
|
|
1652
1652
|
h.push(Qe(p));
|
|
@@ -1712,8 +1712,8 @@ function ua() {
|
|
|
1712
1712
|
if (!ze(e, t, a)) return Se;
|
|
1713
1713
|
const I = !0, x = p ?? I, O = Ye(t.id, f, x);
|
|
1714
1714
|
if (!O || h) return yt(e, t, a, { ...n, autoEncode: r, useSrcset: O });
|
|
1715
|
-
const M = { ...a, ...xn(t, a) }, { alignment: S, htmlTag: k } = M, W = Vt(e, t, M), q = (function(J, U, { width: Ee, height: Ie },
|
|
1716
|
-
if (
|
|
1715
|
+
const M = { ...a, ...xn(t, a) }, { alignment: S, htmlTag: k } = M, W = Vt(e, t, M), q = (function(J, U, { width: Ee, height: Ie }, de = !1) {
|
|
1716
|
+
if (de) return { width: Ee, height: Ie };
|
|
1717
1717
|
const we = !An.includes(J), ke = Vt(J, U, { width: Ee, height: Ie }), ye = !ke && It.includes(J), ve = ye ? U.width : Ee, xe = ye ? U.height : Ie, He = we ? (function(Ne, Fe) {
|
|
1718
1718
|
return Ne > 900 ? Fe ? 0.05 : 0.15 : Ne > 500 ? Fe ? 0.1 : 0.18 : Ne > 200 ? 0.25 : 1;
|
|
1719
1719
|
})(ve, Ve(U.id)) : 1;
|
|
@@ -1723,16 +1723,16 @@ function ua() {
|
|
|
1723
1723
|
})(M.width, e, o), Te = (function(J, U) {
|
|
1724
1724
|
const Ee = It.includes(J) && !U;
|
|
1725
1725
|
return J === _.SCALE_TO_FILL || Ee ? _.SCALE_TO_FIT : J;
|
|
1726
|
-
})(e, W), he = an(e, t, a, S), { uri: fe } = yt(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: x, encoding: y, isPlaceholderFlow: I }), { attr: ce = {}, css:
|
|
1727
|
-
return
|
|
1726
|
+
})(e, W), he = an(e, t, a, S), { uri: fe } = yt(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: x, encoding: y, isPlaceholderFlow: I }), { attr: ce = {}, css: ue } = yt(e, t, { ...M, alignment: S, htmlTag: k }, {});
|
|
1727
|
+
return ue.img = ue.img || {}, ue.container = ue.container || {}, Object.assign(ue.img, he.img, On), Object.assign(ue.container, he.container), { uri: fe, css: ue, attr: ce, transformed: !0 };
|
|
1728
1728
|
}
|
|
1729
1729
|
function yt(e, t, a, n) {
|
|
1730
1730
|
let r = {};
|
|
1731
1731
|
if (ze(e, t, a)) {
|
|
1732
1732
|
const o = re(e, t, a), h = ne(e, t, o, n);
|
|
1733
|
-
r.uri =
|
|
1733
|
+
r.uri = Et(e, t, o, n, h), n?.useSrcset && (r.srcset = (function(f, p, y, I, x) {
|
|
1734
1734
|
const O = y.pixelAspectRatio || 1;
|
|
1735
|
-
return { dpr: [`${O === 1 ? x.uri :
|
|
1735
|
+
return { dpr: [`${O === 1 ? x.uri : Et(f, p, { ...y, pixelAspectRatio: 1 }, I)} 1x`, `${O === 2 ? x.uri : Et(f, p, { ...y, pixelAspectRatio: 2 }, I)} 2x`] };
|
|
1736
1736
|
})(e, t, o, n, r)), Object.assign(r, (function(f, p) {
|
|
1737
1737
|
let y;
|
|
1738
1738
|
return y = p.htmlTag === me.BG ? Bt : p.htmlTag === me.SVG ? z : j, y(f, p);
|
|
@@ -1747,27 +1747,27 @@ function ua() {
|
|
|
1747
1747
|
return r?.uri && !/^[a-z]+:/.test(r.uri) && (r.uri = `${Dt}${r.uri}`), r;
|
|
1748
1748
|
}, sn = /^[a-z]+:/, cn = (e) => {
|
|
1749
1749
|
const { id: t, containerId: a, uri: n, alt: r, name: o = "", role: h, width: f, height: p, displayMode: y, devicePixelRatio: I, quality: x, alignType: O, bgEffectName: M = "", focalPoint: S, upscaleMethod: k, className: W = "", crop: q, imageStyles: D = {}, targetWidth: Te, targetHeight: he, targetScale: fe, onLoad: ce = () => {
|
|
1750
|
-
}, onError:
|
|
1751
|
-
}, shouldUseLQIP: J, containerWidth: U, containerHeight: Ee, getPlaceholder: Ie, isInFirstFold:
|
|
1750
|
+
}, onError: ue = () => {
|
|
1751
|
+
}, shouldUseLQIP: J, containerWidth: U, containerHeight: Ee, getPlaceholder: Ie, isInFirstFold: de, placeholderTransition: we, socialAttrs: ke, isSEOBot: ye, skipMeasure: ve, hasAnimation: xe, encoding: He, isFluidLayout: Ne } = e, Fe = u.useRef(null);
|
|
1752
1752
|
let Pt = "";
|
|
1753
1753
|
const nr = we === "blur", et = u.useRef(null);
|
|
1754
|
-
if (!et.current) if (Ie || J ||
|
|
1755
|
-
const tt = { upscaleMethod: k, ...x || {}, shouldLoadHQImage:
|
|
1756
|
-
et.current = (Ie || on)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: U, height: Ee, alignment: O, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed ||
|
|
1754
|
+
if (!et.current) if (Ie || J || de || ye) {
|
|
1755
|
+
const tt = { upscaleMethod: k, ...x || {}, shouldLoadHQImage: de, isSEOBot: ye, hasAnimation: xe, encoding: He };
|
|
1756
|
+
et.current = (Ie || on)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: U, height: Ee, alignment: O, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed || de || ye ? "" : "true";
|
|
1757
1757
|
} else et.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
|
|
1758
|
-
const Nt = !ye && (Ie || J) && !
|
|
1758
|
+
const Nt = !ye && (Ie || J) && !de && et.current.transformed, rr = u.useMemo(() => JSON.stringify({ containerId: a, ...a && { containerId: a }, ...O && { alignType: O }, ...ve && { skipMeasure: !0 }, displayMode: y, ...U && { targetWidth: U }, ...Ee && { targetHeight: Ee }, ...Te && { targetWidth: Te }, ...he && { targetHeight: he }, ...fe && { targetScale: fe }, isLQIP: Nt, isSEOBot: ye, lqipTransition: we, encoding: He, imageData: { width: f, height: p, uri: n, name: o, displayMode: y, hasAnimation: xe, ...x && { quality: x }, ...I && { devicePixelRatio: I }, ...S && { focalPoint: S }, ...q && { crop: q }, ...k && { upscaleMethod: k } } }), [a, O, ve, y, U, Ee, Te, he, fe, Nt, ye, we, He, f, p, n, o, xe, x, I, S, q, k]), ft = et.current, ar = ft?.uri, gn = ft?.srcset, pt = ft.css?.img, Lr = `${R} ${W}`;
|
|
1759
1759
|
u.useEffect(() => {
|
|
1760
1760
|
const tt = Fe.current;
|
|
1761
1761
|
ce && tt?.currentSrc && tt?.complete && ce({ target: tt });
|
|
1762
1762
|
}, []);
|
|
1763
1763
|
const ir = ft && !ft?.transformed ? `max(${f}px, 100%)` : Te ? `${Te}px` : null;
|
|
1764
|
-
return u.createElement("wow-image", { id: t, class: Lr, "data-image-info": rr, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Nt && nr ? "" : void 0, "data-is-responsive": Ne ? "true" : void 0, style: ir ? { "--wix-img-max-width": ir } : {} }, u.createElement("img", { src: ar, ref: Fe, alt: r || "", role: h, style: { ...pt, ...D }, onLoad: ce, onError:
|
|
1764
|
+
return u.createElement("wow-image", { id: t, class: Lr, "data-image-info": rr, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Nt && nr ? "" : void 0, "data-is-responsive": Ne ? "true" : void 0, style: ir ? { "--wix-img-max-width": ir } : {} }, u.createElement("img", { src: ar, ref: Fe, alt: r || "", role: h, style: { ...pt, ...D }, onLoad: ce, onError: ue, width: U || void 0, height: Ee || void 0, ...ke, srcSet: de ? gn?.dpr?.map((tt) => sn.test(tt) ? tt : `${Dt}${tt}`).join(", ") : void 0, fetchpriority: de ? "high" : void 0, loading: de === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
|
|
1765
1765
|
};
|
|
1766
1766
|
var Wt = "Tj01hh", qt = (e) => {
|
|
1767
1767
|
var t, a;
|
|
1768
|
-
const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: I, onError: x, containerWidth: O, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || O, fe = y || M, { fallbackSrc: ce, srcset:
|
|
1768
|
+
const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: I, onError: x, containerWidth: O, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || O, fe = y || M, { fallbackSrc: ce, srcset: ue, sources: J, css: U } = q || {}, { width: Ee, height: Ie, ...de } = (q == null || (t = q.css) == null ? void 0 : t.img) || {}, we = Te === "original_size" ? q == null || (a = q.css) == null ? void 0 : a.img : de;
|
|
1769
1769
|
var ke;
|
|
1770
|
-
return ce &&
|
|
1770
|
+
return ce && ue && U ? u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, sizes: he + "px", srcSet: W ? D?.srcset : q?.srcset, id: n, src: ce, alt: r || "", role: o, style: { ...f, ...W ? { ...D == null || (ke = D.css) == null ? void 0 : ke.img } : { ...we } }, onLoad: I, onError: x, className: (0, B.Z)(h, Wt), width: he, height: fe }, k)) : ce && J && U ? u.createElement("picture", null, J.map((ye) => {
|
|
1771
1771
|
let { srcset: ve, media: xe, sizes: He } = ye;
|
|
1772
1772
|
return u.createElement("source", { key: xe, srcSet: ve, media: xe, sizes: He });
|
|
1773
1773
|
}), u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, id: n, src: J[0].fallbackSrc, alt: r || "", role: o, style: { ...f, objectFit: J[0].imgStyle.objectFit, objectPosition: J[0].imgStyle.objectPosition }, onLoad: I, onError: x, className: (0, B.Z)(h, Wt), width: he, height: fe }, k))) : u.createElement(cn, e);
|
|
@@ -1800,13 +1800,13 @@ function ua() {
|
|
|
1800
1800
|
const Qt = "bgImage";
|
|
1801
1801
|
var qn = (e) => {
|
|
1802
1802
|
const { videoRef: t, canvasRef: a, hasBgFullscreenScrollEffect: n, image: r, backgroundImage: o, backgroundMedia: h, video: f, backgroundOverlay: p, shouldPadMedia: y, extraClass: I = "", shouldRenderUnderlay: x = !f, reducedMotion: O = !1, getPlaceholder: M, hasCanvasAnimation: S, useWixMediaCanvas: k, onClick: W } = e, { onImageLoad: q } = ((Ee) => {
|
|
1803
|
-
let { onReady: Ie, image:
|
|
1803
|
+
let { onReady: Ie, image: de } = Ee;
|
|
1804
1804
|
return (0, u.useEffect)(() => {
|
|
1805
|
-
Ie && !
|
|
1806
|
-
}, [Ie,
|
|
1807
|
-
|
|
1805
|
+
Ie && !de && Ie();
|
|
1806
|
+
}, [Ie, de]), { onImageLoad: (we) => {
|
|
1807
|
+
de != null && de.onLoad && de.onLoad(we), Ie && Ie();
|
|
1808
1808
|
} };
|
|
1809
|
-
})(e), D = Mt(e.containerId), Te = "img_" + Mt(D), he = r && u.createElement(qt, m()({ id: Te, className: (0, B.Z)(Rt, Jt, Kt, Qt), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Ct, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Jt, Kt, Qt), getPlaceholder: M })), ce = f && u.createElement(Hn, m()({ id: "videoContainer_" + D }, f, { extraClassName: hn, reducedMotion: O, videoRef: t, getPlaceholder: M })),
|
|
1809
|
+
})(e), D = Mt(e.containerId), Te = "img_" + Mt(D), he = r && u.createElement(qt, m()({ id: Te, className: (0, B.Z)(Rt, Jt, Kt, Qt), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Ct, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Jt, Kt, Qt), getPlaceholder: M })), ce = f && u.createElement(Hn, m()({ id: "videoContainer_" + D }, f, { extraClassName: hn, reducedMotion: O, videoRef: t, getPlaceholder: M })), ue = k && a || S ? u.createElement("wix-media-canvas", { "data-container-id": D, class: S ? Wn : "" }, he, fe, ce, u.createElement("canvas", { id: D + "webglcanvas", className: (0, B.Z)(Xt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": St })) : u.createElement(u.Fragment, null, he, fe, ce, a && u.createElement("canvas", { id: D + "webglcanvas", ref: a, className: (0, B.Z)(Xt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": St })), J = h ? u.createElement(jn, m()({ id: "bgMedia_" + D }, h), ue) : u.createElement("div", { id: "bgMedia_" + D, "data-motion-part": "BG_MEDIA " + D, className: dn }, ue), U = p && u.createElement(Un, p);
|
|
1810
1810
|
return u.createElement("div", { id: kt + "_" + D, "data-hook": kt, "data-motion-part": "BG_LAYER " + D, className: (0, B.Z)(un, I, { [zn]: n }), onClick: W }, x && u.createElement("div", { "data-testid": Vn, className: (0, B.Z)(Dn, Rt) }), y ? u.createElement("div", { "data-testid": Zn, className: fn }, J, U) : u.createElement(u.Fragment, null, J, U));
|
|
1811
1811
|
}, Jn = (e) => u.createElement(qn, e), Xn = "dkukWC", pn = "FRCqDF", Kn = "xnZvZH", Qn = "MBOSCN";
|
|
1812
1812
|
const At = (e, t, a) => {
|
|
@@ -1823,7 +1823,7 @@ function ua() {
|
|
|
1823
1823
|
return At("bottom", e?.hasBottomDivider, e == null || (o = e.bottomLayers) == null ? void 0 : o.size);
|
|
1824
1824
|
}, [e?.hasBottomDivider, e == null || (a = e.bottomLayers) == null ? void 0 : a.size]);
|
|
1825
1825
|
return u.createElement(u.Fragment, null, n, r);
|
|
1826
|
-
}, er = { root: "section" },
|
|
1826
|
+
}, er = { root: "section" }, Tt = c("p1x1");
|
|
1827
1827
|
const en = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
|
|
1828
1828
|
en.displayName = "PauseSmall";
|
|
1829
1829
|
var tr = en;
|
|
@@ -1832,26 +1832,26 @@ function ua() {
|
|
|
1832
1832
|
var d = tn;
|
|
1833
1833
|
const T = (e, t) => {
|
|
1834
1834
|
var a;
|
|
1835
|
-
const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: I = e.fillLayers || e.background, tagName: x, getPlaceholder: O, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder:
|
|
1835
|
+
const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: I = e.fillLayers || e.background, tagName: x, getPlaceholder: O, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder: ue } = e, J = x || "section", { shouldOmitWrapperLayers: U } = p, Ee = (0, B.Z)(Tt.Z[r], h, o, S ? ae(S.root, ...f) : ae(er.root, ...f), { [Tt.Z.shouldOmitWrapperLayers]: U }), Ie = !(I == null || !I.video), de = (function(ve, xe, He) {
|
|
1836
1836
|
const Ne = L().useRef(null), Fe = L().useRef(null);
|
|
1837
1837
|
return xe ? Fe.current || (Fe.current = { play: () => Ne.current?.play(), load: () => Ne.current?.load(), pause: () => Ne.current?.pause(), stop: () => {
|
|
1838
1838
|
Ne.current && (Ne.current.pause(), Ne.current.currentTime = 0, He && He(Ne.current));
|
|
1839
1839
|
} }) : Fe.current = null, L().useImperativeHandle(ve, () => Fe.current || { load() {
|
|
1840
1840
|
}, stop() {
|
|
1841
1841
|
} }), Ne;
|
|
1842
|
-
})(t, Ie, k), [we, ke] = u.useState(!(
|
|
1842
|
+
})(t, Ie, k), [we, ke] = u.useState(!(de != null && (a = de.current) != null && a.paused));
|
|
1843
1843
|
return u.createElement(J, m()({ id: n }, (0, P.P5)(e), ((ve = {}) => {
|
|
1844
1844
|
const xe = ve.tabIndex ?? ve.tabindex ?? void 0;
|
|
1845
1845
|
return xe !== void 0 ? { tabIndex: Number(xe) } : {};
|
|
1846
|
-
})(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " +
|
|
1847
|
-
const ve =
|
|
1846
|
+
})(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " + Tt.Z.section, "data-testid": w, onClick: W, onDoubleClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he }), I && !ue && u.createElement(Jn, m()({}, I, { videoRef: de, getPlaceholder: O })), Ie && ce && !ue && u.createElement("button", { className: "" + Tt.Z.videoPlayPauseButton, onClick: () => {
|
|
1847
|
+
const ve = de?.current;
|
|
1848
1848
|
ve && (ve.paused ? ve.play() : ve.pause(), ke((xe) => {
|
|
1849
1849
|
const He = !xe, Ne = document.getElementById(n);
|
|
1850
1850
|
return Ne && Ne.querySelectorAll("video").forEach((Fe) => {
|
|
1851
1851
|
Fe !== ve && (He ? Fe.play() : Fe.pause());
|
|
1852
1852
|
}), He;
|
|
1853
1853
|
}));
|
|
1854
|
-
}, "aria-pressed": we, "aria-label": fe?.ariaLabel }, we ? u.createElement(tr, null) : u.createElement(d, null)), M && !
|
|
1854
|
+
}, "aria-pressed": we, "aria-label": fe?.ariaLabel }, we ? u.createElement(tr, null) : u.createElement(d, null)), M && !ue && u.createElement(mn, M), y());
|
|
1855
1855
|
var ye;
|
|
1856
1856
|
};
|
|
1857
1857
|
var C = u.forwardRef(T);
|
|
@@ -1918,7 +1918,7 @@ function ua() {
|
|
|
1918
1918
|
} });
|
|
1919
1919
|
const l = () => typeof window < "u", g = (m) => Object.entries(m).reduce((u, [L, B]) => (L.includes("data-") && (u[L] = B), u), {});
|
|
1920
1920
|
}, "Xdf/": function(i) {
|
|
1921
|
-
i.exports =
|
|
1921
|
+
i.exports = le;
|
|
1922
1922
|
}, Fe5V: function(i) {
|
|
1923
1923
|
function s() {
|
|
1924
1924
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -2009,8 +2009,8 @@ function ua() {
|
|
|
2009
2009
|
let me = 0, be = "DOWN";
|
|
2010
2010
|
return (Re) => {
|
|
2011
2011
|
let { prevPos: Be, currPos: Se } = Re;
|
|
2012
|
-
const
|
|
2013
|
-
|
|
2012
|
+
const Me = -1 * Se.y, Le = -1 * Be.y;
|
|
2013
|
+
Me >= Le ? (be === "UP" && (me = Le, be = "DOWN"), Me - me > /* @__PURE__ */ ((ie) => ie === "move" ? 400 : 200)(se) && pe("scrolled-down")) : (be === "DOWN" && (me = Le, be = "UP"), (me - Me > 100 || Me <= 10) && pe("scrolled-up"));
|
|
2014
2014
|
};
|
|
2015
2015
|
})(A.animate, $), [], { waitFor: 45, disabled: A.animate === "none" }), A.isBuilder && !A.isHeaderUseMarginsEnabled) return l().createElement(X, s()({}, A, { animationState: _, scrolled: H }));
|
|
2016
2016
|
const v = _ === "scrolled-down" && A.animate === "fade";
|
|
@@ -2022,22 +2022,22 @@ function ua() {
|
|
|
2022
2022
|
})(dr)), dr.exports;
|
|
2023
2023
|
}
|
|
2024
2024
|
var da = ua();
|
|
2025
|
-
const ha = /* @__PURE__ */
|
|
2025
|
+
const ha = /* @__PURE__ */ ct(da);
|
|
2026
2026
|
var hr = { exports: {} }, fa = hr.exports, Mr;
|
|
2027
2027
|
function pa() {
|
|
2028
|
-
return Mr || (Mr = 1, (function(
|
|
2029
|
-
(function(
|
|
2030
|
-
|
|
2028
|
+
return Mr || (Mr = 1, (function(Ce, We) {
|
|
2029
|
+
(function(le, ee) {
|
|
2030
|
+
Ce.exports = ee();
|
|
2031
2031
|
})(typeof self < "u" ? self : fa, function() {
|
|
2032
2032
|
return (function() {
|
|
2033
|
-
var
|
|
2034
|
-
for (var m in g)
|
|
2033
|
+
var le = { d: function(l, g) {
|
|
2034
|
+
for (var m in g) le.o(g, m) && !le.o(l, m) && Object.defineProperty(l, m, { enumerable: !0, get: g[m] });
|
|
2035
2035
|
}, o: function(l, g) {
|
|
2036
2036
|
return Object.prototype.hasOwnProperty.call(l, g);
|
|
2037
2037
|
}, r: function(l) {
|
|
2038
2038
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(l, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(l, "__esModule", { value: !0 });
|
|
2039
2039
|
} }, ee = {};
|
|
2040
|
-
|
|
2040
|
+
le.r(ee), le.d(ee, { default: function() {
|
|
2041
2041
|
return c;
|
|
2042
2042
|
} });
|
|
2043
2043
|
const Oe = (l) => l.replace(/([A-Z])/g, (g) => `-${g.toLowerCase()}`), E = (l = {}, g) => l[g] === !0 || l[g] === "true" || l[g] === "new", te = "specs.thunderbolt.HeaderSectionAddVisibilityTransition", i = "specs.thunderbolt.headerUseMargins";
|
|
@@ -2061,13 +2061,13 @@ function pa() {
|
|
|
2061
2061
|
})(hr)), hr.exports;
|
|
2062
2062
|
}
|
|
2063
2063
|
var ma = pa();
|
|
2064
|
-
const ga = /* @__PURE__ */
|
|
2064
|
+
const ga = /* @__PURE__ */ ct(ma), oi = mt(br(ha, ga));
|
|
2065
2065
|
var fr = { exports: {} }, _a = fr.exports, Sr;
|
|
2066
2066
|
function Ea() {
|
|
2067
|
-
return Sr || (Sr = 1, (function(
|
|
2068
|
-
(function(
|
|
2069
|
-
|
|
2070
|
-
})(typeof self < "u" ? self : _a, function(
|
|
2067
|
+
return Sr || (Sr = 1, (function(Ce, We) {
|
|
2068
|
+
(function(le, ee) {
|
|
2069
|
+
Ce.exports = ee(st);
|
|
2070
|
+
})(typeof self < "u" ? self : _a, function(le) {
|
|
2071
2071
|
return (function() {
|
|
2072
2072
|
var ee = { QRCH: function(i, s, c) {
|
|
2073
2073
|
c.d(s, { default: function() {
|
|
@@ -2080,7 +2080,7 @@ function Ea() {
|
|
|
2080
2080
|
return m.createElement(P, g()({ id: B, className: oe, customClassNames: ae }, ((H) => Object.entries(H).reduce((G, [_, $]) => (_.includes("data-") && (G[_] = $), G), {}))(L), { pageDidMount: w, onClick: R, onDblClick: N, onMouseEnter: X, onMouseLeave: _e }), A);
|
|
2081
2081
|
};
|
|
2082
2082
|
}, "Xdf/": function(i) {
|
|
2083
|
-
i.exports =
|
|
2083
|
+
i.exports = le;
|
|
2084
2084
|
}, Fe5V: function(i) {
|
|
2085
2085
|
function s() {
|
|
2086
2086
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -2149,16 +2149,16 @@ function Ea() {
|
|
|
2149
2149
|
})(fr)), fr.exports;
|
|
2150
2150
|
}
|
|
2151
2151
|
var Ta = Ea();
|
|
2152
|
-
const va = /* @__PURE__ */
|
|
2152
|
+
const va = /* @__PURE__ */ ct(Ta), si = mt(va);
|
|
2153
2153
|
var pr = { exports: {} }, Ia = pr.exports, Rr;
|
|
2154
2154
|
function ba() {
|
|
2155
|
-
return Rr || (Rr = 1, (function(
|
|
2156
|
-
(function(
|
|
2157
|
-
|
|
2158
|
-
})(typeof self < "u" ? self : Ia, function(
|
|
2155
|
+
return Rr || (Rr = 1, (function(Ce, We) {
|
|
2156
|
+
(function(le, ee) {
|
|
2157
|
+
Ce.exports = ee(st);
|
|
2158
|
+
})(typeof self < "u" ? self : Ia, function(le) {
|
|
2159
2159
|
return (function() {
|
|
2160
2160
|
var ee = { "Xdf/": function(i) {
|
|
2161
|
-
i.exports =
|
|
2161
|
+
i.exports = le;
|
|
2162
2162
|
} }, Oe = {};
|
|
2163
2163
|
function E(i) {
|
|
2164
2164
|
var s = Oe[i];
|
|
@@ -2212,16 +2212,16 @@ function ba() {
|
|
|
2212
2212
|
})(pr)), pr.exports;
|
|
2213
2213
|
}
|
|
2214
2214
|
var La = ba();
|
|
2215
|
-
const ya = /* @__PURE__ */
|
|
2215
|
+
const ya = /* @__PURE__ */ ct(La), ci = mt(ya);
|
|
2216
2216
|
var mr = { exports: {} }, Aa = mr.exports, Pr;
|
|
2217
2217
|
function xa() {
|
|
2218
|
-
return Pr || (Pr = 1, (function(
|
|
2219
|
-
(function(
|
|
2220
|
-
|
|
2221
|
-
})(typeof self < "u" ? self : Aa, function(
|
|
2218
|
+
return Pr || (Pr = 1, (function(Ce, We) {
|
|
2219
|
+
(function(le, ee) {
|
|
2220
|
+
Ce.exports = ee(st, Yr);
|
|
2221
|
+
})(typeof self < "u" ? self : Aa, function(le, ee) {
|
|
2222
2222
|
return (function() {
|
|
2223
2223
|
var Oe = { "Xdf/": function(s) {
|
|
2224
|
-
s.exports =
|
|
2224
|
+
s.exports = le;
|
|
2225
2225
|
}, NUjG: function(s) {
|
|
2226
2226
|
s.exports = ee;
|
|
2227
2227
|
}, Fe5V: function(s) {
|
|
@@ -2322,16 +2322,16 @@ function xa() {
|
|
|
2322
2322
|
Z = Z || {}, Y = Y || {};
|
|
2323
2323
|
var re, Ae = /* @__PURE__ */ Object.create(null), Pe = [];
|
|
2324
2324
|
for (var $e in Z) $e in Y ? Pe.length && (Ae[$e] = Pe, Pe = []) : Pe.push($e);
|
|
2325
|
-
var
|
|
2325
|
+
var qe = {};
|
|
2326
2326
|
for (var Qe in Y) {
|
|
2327
2327
|
if (Ae[Qe]) for (re = 0; re < Ae[Qe].length; re++) {
|
|
2328
2328
|
var ht = Ae[Qe][re];
|
|
2329
|
-
|
|
2329
|
+
qe[Ae[Qe][re]] = ne(ht);
|
|
2330
2330
|
}
|
|
2331
|
-
|
|
2331
|
+
qe[Qe] = ne(Qe);
|
|
2332
2332
|
}
|
|
2333
|
-
for (re = 0; re < Pe.length; re++)
|
|
2334
|
-
return
|
|
2333
|
+
for (re = 0; re < Pe.length; re++) qe[Pe[re]] = ne(Pe[re]);
|
|
2334
|
+
return qe;
|
|
2335
2335
|
})(z, b);
|
|
2336
2336
|
return Object.keys(F).forEach(function(Z) {
|
|
2337
2337
|
var Y = F[Z];
|
|
@@ -2468,9 +2468,9 @@ function xa() {
|
|
|
2468
2468
|
return g().createElement(w.Provider, { value: null }, typeof Z == "function" ? Z(b, Y) : g().cloneElement(g().Children.only(Z), Y));
|
|
2469
2469
|
}, z;
|
|
2470
2470
|
})(g().Component);
|
|
2471
|
-
function
|
|
2471
|
+
function Me() {
|
|
2472
2472
|
}
|
|
2473
|
-
Se.contextType = w, Se.propTypes = {}, Se.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, onEnter:
|
|
2473
|
+
Se.contextType = w, Se.propTypes = {}, Se.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, onEnter: Me, onEntering: Me, onEntered: Me, onExit: Me, onExiting: Me, onExited: Me }, Se.UNMOUNTED = pe, Se.EXITED = me, Se.ENTERING = be, Se.ENTERED = Re, Se.EXITING = Be;
|
|
2474
2474
|
var Le = Se, ie = function(j, z) {
|
|
2475
2475
|
return j && z && z.split(" ").forEach(function(Q) {
|
|
2476
2476
|
return F = Q, void ((b = j).classList ? b.classList.remove(F) : typeof b.className == "string" ? b.className = G(b.className, F) : b.setAttribute("class", G(b.className && b.className.baseVal || "", F)));
|
|
@@ -2510,10 +2510,10 @@ function xa() {
|
|
|
2510
2510
|
var Y = this.getClassNames(F)[Z + "ClassName"], ne = this.getClassNames("enter").doneClassName;
|
|
2511
2511
|
F === "appear" && Z === "done" && ne && (Y += " " + ne), Z === "active" && b && se(b), Y && (this.appliedClasses[F][Z] = Y, (function(re, Ae) {
|
|
2512
2512
|
re && Ae && Ae.split(" ").forEach(function(Pe) {
|
|
2513
|
-
return
|
|
2513
|
+
return qe = Pe, void (($e = re).classList ? $e.classList.add(qe) : (function(Qe, ht) {
|
|
2514
2514
|
return Qe.classList ? !!ht && Qe.classList.contains(ht) : (" " + (Qe.className.baseVal || Qe.className) + " ").indexOf(" " + ht + " ") !== -1;
|
|
2515
|
-
})($e,
|
|
2516
|
-
var $e,
|
|
2515
|
+
})($e, qe) || (typeof $e.className == "string" ? $e.className = $e.className + " " + qe : $e.setAttribute("class", ($e.className && $e.className.baseVal || "") + " " + qe)));
|
|
2516
|
+
var $e, qe;
|
|
2517
2517
|
});
|
|
2518
2518
|
})(b, Y));
|
|
2519
2519
|
}, Q.removeClasses = function(b, F) {
|
|
@@ -2525,19 +2525,19 @@ function xa() {
|
|
|
2525
2525
|
}, z;
|
|
2526
2526
|
})(g().Component);
|
|
2527
2527
|
Ge.defaultProps = { classNames: "" }, Ge.propTypes = {};
|
|
2528
|
-
var V = Ge, K = "sNF2R0", Ue = "hLoBV3", ge = "Rdf41z", je = "ftlZWo", De = "ATGlOr",
|
|
2528
|
+
var V = Ge, K = "sNF2R0", Ue = "hLoBV3", ge = "Rdf41z", je = "ftlZWo", De = "ATGlOr", Je = "KQSXD0", ze = "pagQKE", Ye = "_6zG5H", Ve = "BB49uC", Xe = "j9xE1V", dt = "ICs7Rs", rt = "DxijZJ", bt = "B5kjYq", nt = "cJijIV", gt = "hOxaWM", _t = "T9p3fN", Ze = "qDxYJm", Ke = "aA9V0P", it = "YPXPAS", lt = "Xf2zsA", ut = "y7Kt7s", xt = "EeUgMu", vt = "fdHrtm", ot = "WIFaG4";
|
|
2529
2529
|
const Ht = { CrossFade: (j) => {
|
|
2530
2530
|
const { reverse: z, ...Q } = j;
|
|
2531
2531
|
return l.createElement(V, c()({}, Q, { classNames: { enter: K, enterActive: Ue, exit: ge, exitActive: je } }), j.children);
|
|
2532
2532
|
}, OutIn: (j) => {
|
|
2533
2533
|
const { reverse: z, ...Q } = j;
|
|
2534
|
-
return l.createElement(V, c()({}, Q, { classNames: { enter: De, enterActive:
|
|
2534
|
+
return l.createElement(V, c()({}, Q, { classNames: { enter: De, enterActive: Je, exit: ze, exitActive: Ye } }), j.children);
|
|
2535
2535
|
}, SlideHorizontal: (j) => {
|
|
2536
2536
|
const { reverse: z, ...Q } = j;
|
|
2537
|
-
return l.createElement(V, c()({}, Q, { classNames: z ? { enter: bt, enterActive: nt, exit:
|
|
2537
|
+
return l.createElement(V, c()({}, Q, { classNames: z ? { enter: bt, enterActive: nt, exit: gt, exitActive: _t } : { enter: Ve, enterActive: Xe, exit: dt, exitActive: rt } }), j.children);
|
|
2538
2538
|
}, SlideVertical: (j) => {
|
|
2539
2539
|
const { reverse: z, ...Q } = j;
|
|
2540
|
-
return l.createElement(V, c()({}, Q, { classNames: z ? { enter:
|
|
2540
|
+
return l.createElement(V, c()({}, Q, { classNames: z ? { enter: ut, enterActive: xt, exit: vt, exitActive: ot } : { enter: Ze, enterActive: Ke, exit: it, exitActive: lt } }), j.children);
|
|
2541
2541
|
} };
|
|
2542
2542
|
var Ft = (j) => {
|
|
2543
2543
|
const z = Ht[j.type], { type: Q, ...b } = j;
|
|
@@ -2547,8 +2547,8 @@ function xa() {
|
|
|
2547
2547
|
var Gt = (j) => {
|
|
2548
2548
|
const { id: z = Lt, transition: Q = "none", transitionDuration: b = 0, transitionEnabled: F = !0, onTransitionComplete: Z = () => {
|
|
2549
2549
|
}, onTransitionStarting: Y = () => {
|
|
2550
|
-
}, className: ne, children: re, shouldUseViewTransition: Ae } = j, Pe = l.Children.toArray(re())[0], $e = Pe?.props.id,
|
|
2551
|
-
return l.createElement(l.Fragment, null,
|
|
2550
|
+
}, className: ne, children: re, shouldUseViewTransition: Ae } = j, Pe = l.Children.toArray(re())[0], $e = Pe?.props.id, qe = Q === "none", Qe = Q === "SlideVertical", ht = typeof window < "u" && "startViewTransition" in document && Ae;
|
|
2551
|
+
return l.createElement(l.Fragment, null, qe ? re() : ht ? l.createElement("div", c()({ id: z }, L(j), { className: ne }), re()) : l.createElement(H, c()({ id: z }, L(j), { className: ne, childFactory: (at) => l.cloneElement(at, { reverse: Qe }) }), l.createElement(Ft, { type: Q, key: $e, timeout: b, onEntered: Z, onExiting: Y, enter: F, exit: F, unmountOnExit: !0 }, () => Pe)));
|
|
2552
2552
|
}, Ot = "JsJXaX", Bt = "AnQkDU";
|
|
2553
2553
|
const wt = l.memo(Gt, (j, z) => !z.children().length);
|
|
2554
2554
|
var jt = (j) => {
|
|
@@ -2561,16 +2561,16 @@ function xa() {
|
|
|
2561
2561
|
})(mr)), mr.exports;
|
|
2562
2562
|
}
|
|
2563
2563
|
var Oa = xa();
|
|
2564
|
-
const wa = /* @__PURE__ */
|
|
2564
|
+
const wa = /* @__PURE__ */ ct(Oa), li = mt(wa);
|
|
2565
2565
|
var gr = { exports: {} }, Ca = gr.exports, Nr;
|
|
2566
2566
|
function Ma() {
|
|
2567
|
-
return Nr || (Nr = 1, (function(
|
|
2568
|
-
(function(
|
|
2569
|
-
|
|
2570
|
-
})(typeof self < "u" ? self : Ca, function(
|
|
2567
|
+
return Nr || (Nr = 1, (function(Ce, We) {
|
|
2568
|
+
(function(le, ee) {
|
|
2569
|
+
Ce.exports = ee(st);
|
|
2570
|
+
})(typeof self < "u" ? self : Ca, function(le) {
|
|
2571
2571
|
return (function() {
|
|
2572
2572
|
var ee = { "Xdf/": function(i) {
|
|
2573
|
-
i.exports =
|
|
2573
|
+
i.exports = le;
|
|
2574
2574
|
}, Fe5V: function(i) {
|
|
2575
2575
|
function s() {
|
|
2576
2576
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -2618,13 +2618,13 @@ function Ma() {
|
|
|
2618
2618
|
})(gr)), gr.exports;
|
|
2619
2619
|
}
|
|
2620
2620
|
var Sa = Ma();
|
|
2621
|
-
const Ra = /* @__PURE__ */
|
|
2621
|
+
const Ra = /* @__PURE__ */ ct(Sa), ui = mt(Ra);
|
|
2622
2622
|
var _r = { exports: {} }, Pa = _r.exports, Fr;
|
|
2623
2623
|
function Na() {
|
|
2624
|
-
return Fr || (Fr = 1, (function(
|
|
2625
|
-
(function(
|
|
2626
|
-
|
|
2627
|
-
})(typeof self < "u" ? self : Pa, function(
|
|
2624
|
+
return Fr || (Fr = 1, (function(Ce, We) {
|
|
2625
|
+
(function(le, ee) {
|
|
2626
|
+
Ce.exports = ee(st);
|
|
2627
|
+
})(typeof self < "u" ? self : Pa, function(le) {
|
|
2628
2628
|
return (function() {
|
|
2629
2629
|
var ee = { jBV1: function(i, s, c) {
|
|
2630
2630
|
c.d(s, { V5: function() {
|
|
@@ -2637,7 +2637,7 @@ function Na() {
|
|
|
2637
2637
|
}), g(ae, l);
|
|
2638
2638
|
};
|
|
2639
2639
|
}, "Xdf/": function(i) {
|
|
2640
|
-
i.exports =
|
|
2640
|
+
i.exports = le;
|
|
2641
2641
|
}, MRkx: function(i, s, c) {
|
|
2642
2642
|
function l(g) {
|
|
2643
2643
|
var m, u, L = "";
|
|
@@ -2687,8 +2687,8 @@ function Na() {
|
|
|
2687
2687
|
const me = !_e && N;
|
|
2688
2688
|
let be = -1;
|
|
2689
2689
|
X && se !== void 0 && (be = se);
|
|
2690
|
-
const Re = me ? be : void 0, Be = (0, i.useCallback)((Le) => me ? s().createElement(L, { className: (0, l.Z)(R, _) }, Le) : Le, [me, R, _]), Se = N ? w : (0, l.Z)(w, _),
|
|
2691
|
-
return pe === "multi-column-layouter" ? (
|
|
2690
|
+
const Re = me ? be : void 0, Be = (0, i.useCallback)((Le) => me ? s().createElement(L, { className: (0, l.Z)(R, _) }, Le) : Le, [me, R, _]), Se = N ? w : (0, l.Z)(w, _), Me = { ref: P, "data-testid": m, tabIndex: Re, ...H ? { role: H } : {}, ...G ? { "aria-label": G } : {}, ...$ ? { "aria-live": $ } : {}, ...(0, c.V5)(v) };
|
|
2691
|
+
return pe === "multi-column-layouter" ? (Me.class = Se, Me.style = { visibility: "hidden" }) : Me.className = Se, Be(_e ? s().createElement(s().Fragment, null, A()) : s().createElement(pe || "div", Me, A()));
|
|
2692
2692
|
};
|
|
2693
2693
|
var oe = s().forwardRef(B);
|
|
2694
2694
|
})(), te;
|
|
@@ -2697,16 +2697,16 @@ function Na() {
|
|
|
2697
2697
|
})(_r)), _r.exports;
|
|
2698
2698
|
}
|
|
2699
2699
|
var Fa = Na();
|
|
2700
|
-
const jr = /* @__PURE__ */
|
|
2701
|
-
var Er = { exports: {} },
|
|
2702
|
-
function
|
|
2703
|
-
return Gr || (Gr = 1, (function(
|
|
2704
|
-
(function(
|
|
2705
|
-
|
|
2706
|
-
})(typeof self < "u" ? self :
|
|
2700
|
+
const jr = /* @__PURE__ */ ct(Fa), di = mt(jr), Ga = ({ id: Ce, className: We, children: le }) => st.createElement("div", { id: Ce, className: We }, le()), hi = mt(Ga), fi = mt(jr);
|
|
2701
|
+
var Er = { exports: {} }, ka = Er.exports, Gr;
|
|
2702
|
+
function Ha() {
|
|
2703
|
+
return Gr || (Gr = 1, (function(Ce, We) {
|
|
2704
|
+
(function(le, ee) {
|
|
2705
|
+
Ce.exports = ee(st);
|
|
2706
|
+
})(typeof self < "u" ? self : ka, function(le) {
|
|
2707
2707
|
return (function() {
|
|
2708
2708
|
var ee = { "Xdf/": function(i) {
|
|
2709
|
-
i.exports =
|
|
2709
|
+
i.exports = le;
|
|
2710
2710
|
}, Fe5V: function(i) {
|
|
2711
2711
|
function s() {
|
|
2712
2712
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -2764,40 +2764,40 @@ function ka() {
|
|
|
2764
2764
|
}, oe = "responsive-container-overflow", ae = "responsive-container-content";
|
|
2765
2765
|
var P = "gNqkn3";
|
|
2766
2766
|
const w = l().forwardRef(({ children: v, className: se }, pe) => l().createElement("div", { className: m(se, P), "data-testid": oe, ref: pe }, v));
|
|
2767
|
-
var R = l().forwardRef(({ containerLayoutClassName: v, overlowWrapperClassName: se, hasOverflow: pe, hasScrollOverflow: me, shouldOmitWrapperLayers: be, children: Re, role: Be, label: Se, extraRootClass:
|
|
2767
|
+
var R = l().forwardRef(({ containerLayoutClassName: v, overlowWrapperClassName: se, hasOverflow: pe, hasScrollOverflow: me, shouldOmitWrapperLayers: be, children: Re, role: Be, label: Se, extraRootClass: Me = "", ariaLive: Le, ariaAttributes: ie, tabIndex: Ge, tagName: V = "div" }, K) => {
|
|
2768
2768
|
const Ue = !be && pe;
|
|
2769
2769
|
let ge = -1;
|
|
2770
2770
|
me && Ge !== void 0 && (ge = Ge);
|
|
2771
|
-
const je = Ue ? ge : void 0, De = (0, c.useCallback)((Ye) => Ue ? l().createElement(w, { className: m(se,
|
|
2772
|
-
return V === "multi-column-layouter" ? (ze.class =
|
|
2771
|
+
const je = Ue ? ge : void 0, De = (0, c.useCallback)((Ye) => Ue ? l().createElement(w, { className: m(se, Me) }, Ye) : Ye, [Ue, se, Me]), Je = pe ? v : m(v, Me), ze = { ref: K, "data-testid": ae, tabIndex: je, ...Be ? { role: Be } : {}, ...Se ? { "aria-label": Se } : {}, ...Le ? { "aria-live": Le } : {}, ...B(ie) };
|
|
2772
|
+
return V === "multi-column-layouter" ? (ze.class = Je, ze.style = { visibility: "hidden" }) : ze.className = Je, De(be ? l().createElement(l().Fragment, null, Re()) : l().createElement(V || "div", ze, Re()));
|
|
2773
2773
|
});
|
|
2774
2774
|
const N = "ResponsivePopupPageOverlay";
|
|
2775
2775
|
var X = "_6rK0h", _e = "v_sFOS", A = "wEzP_D", H = "QN18GJ", G = "bfgH5E", _ = "SHhFKf", $ = (v) => {
|
|
2776
|
-
const { id: se, className: pe, pageDidMount: me, onClick: be, children: Re, containerProps: Be, withOverlay: Se = !0, fixOverlayTouchAction:
|
|
2777
|
-
return c.createElement("div", s()({ id: se }, ((Le) => Object.entries(Le).reduce((ie, [Ge, V]) => (Ge.includes("data-") && (ie[Ge] = V), ie), {}))(v), { className: m(pe, X, { [A]: be }), ref: me, "data-block-level-container": "PopupPage" }), Se && c.createElement("div", { className: m(H, { [G]:
|
|
2776
|
+
const { id: se, className: pe, pageDidMount: me, onClick: be, children: Re, containerProps: Be, withOverlay: Se = !0, fixOverlayTouchAction: Me } = v;
|
|
2777
|
+
return c.createElement("div", s()({ id: se }, ((Le) => Object.entries(Le).reduce((ie, [Ge, V]) => (Ge.includes("data-") && (ie[Ge] = V), ie), {}))(v), { className: m(pe, X, { [A]: be }), ref: me, "data-block-level-container": "PopupPage" }), Se && c.createElement("div", { className: m(H, { [G]: Me }), onClick: be, "data-testid": N }), c.createElement(R, s()({}, Be, { extraRootClass: _e }), () => c.createElement("div", { className: _ }, Re())));
|
|
2778
2778
|
};
|
|
2779
2779
|
})(), te;
|
|
2780
2780
|
})();
|
|
2781
2781
|
});
|
|
2782
2782
|
})(Er)), Er.exports;
|
|
2783
2783
|
}
|
|
2784
|
-
var
|
|
2785
|
-
const
|
|
2786
|
-
var Tr = { exports: {} },
|
|
2787
|
-
function
|
|
2788
|
-
return kr || (kr = 1, (function(
|
|
2789
|
-
(function(
|
|
2790
|
-
|
|
2791
|
-
})(typeof self < "u" ? self :
|
|
2784
|
+
var Ba = Ha();
|
|
2785
|
+
const ja = /* @__PURE__ */ ct(Ba);
|
|
2786
|
+
var Tr = { exports: {} }, $a = Tr.exports, kr;
|
|
2787
|
+
function Ya() {
|
|
2788
|
+
return kr || (kr = 1, (function(Ce, We) {
|
|
2789
|
+
(function(le, ee) {
|
|
2790
|
+
Ce.exports = ee();
|
|
2791
|
+
})(typeof self < "u" ? self : $a, function() {
|
|
2792
2792
|
return (function() {
|
|
2793
|
-
var
|
|
2794
|
-
for (var l in c)
|
|
2793
|
+
var le = { d: function(s, c) {
|
|
2794
|
+
for (var l in c) le.o(c, l) && !le.o(s, l) && Object.defineProperty(s, l, { enumerable: !0, get: c[l] });
|
|
2795
2795
|
}, o: function(s, c) {
|
|
2796
2796
|
return Object.prototype.hasOwnProperty.call(s, c);
|
|
2797
2797
|
}, r: function(s) {
|
|
2798
2798
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
|
|
2799
2799
|
} }, ee = {};
|
|
2800
|
-
|
|
2800
|
+
le.r(ee), le.d(ee, { default: function() {
|
|
2801
2801
|
return i;
|
|
2802
2802
|
} });
|
|
2803
2803
|
const Oe = (s) => s.replace(/([A-Z])/g, (c) => `-${c.toLowerCase()}`), E = (s = {}, c) => s[c] === !0 || s[c] === "true" || s[c] === "new";
|
|
@@ -2820,14 +2820,14 @@ function $a() {
|
|
|
2820
2820
|
});
|
|
2821
2821
|
})(Tr)), Tr.exports;
|
|
2822
2822
|
}
|
|
2823
|
-
var
|
|
2824
|
-
const
|
|
2825
|
-
var vr = { exports: {} },
|
|
2826
|
-
function
|
|
2827
|
-
return Hr || (Hr = 1, (function(
|
|
2828
|
-
(function(
|
|
2829
|
-
|
|
2830
|
-
})(typeof self < "u" ? self :
|
|
2823
|
+
var Ua = Ya();
|
|
2824
|
+
const Va = /* @__PURE__ */ ct(Ua), pi = mt(br(ja, Va));
|
|
2825
|
+
var vr = { exports: {} }, Za = vr.exports, Hr;
|
|
2826
|
+
function za() {
|
|
2827
|
+
return Hr || (Hr = 1, (function(Ce, We) {
|
|
2828
|
+
(function(le, ee) {
|
|
2829
|
+
Ce.exports = ee(st);
|
|
2830
|
+
})(typeof self < "u" ? self : Za, function(le) {
|
|
2831
2831
|
return (function() {
|
|
2832
2832
|
var ee = { p1x1: function(i, s) {
|
|
2833
2833
|
s.Z = { "bg-underlay": "LWbAav", bgUnderlay: "LWbAav", "layers-container": "MW5IWV", layersContainer: "MW5IWV", animate: "V7OeEw", headerSectionAddVisibilityTransition: "MDGLoD", move: "BHIo43", fade: "UvF1nu", scrollUp: "YzrQFb", RectangleArea: "xuzjBY", rectangleArea: "xuzjBY", DefaultAreaSkin: "O7Ybkb", defaultAreaSkin: "O7Ybkb", "full-screen-scroll-effect": "GeNLDt", fullScreenScrollEffect: "GeNLDt", "fill-layer": "K8pHFh", fillLayer: "K8pHFh", "image-fill-layer": "TaweqS", imageFillLayer: "TaweqS", "bg-media": "yzHyNT", bgMedia: "yzHyNT", videoFillLayer: "zBFCpO", "alpha-canvas": "xjgrS3", alphaCanvas: "xjgrS3", "media-padding-layer": "b3zSS0", mediaPaddingLayer: "b3zSS0", transforms: "Wsv3ak", "media-canvas": "IiJMfn", mediaCanvas: "IiJMfn", RectangleAreaAfterScroll: "KJgt14", rectangleAreaAfterScroll: "KJgt14", scrolled: "VTwcX7", section: "Gzsk0j", "video-play-pause-button": "MdLl0h", videoPlayPauseButton: "MdLl0h", childrenContainer: "Gmmci1" };
|
|
@@ -2837,7 +2837,7 @@ function Za() {
|
|
|
2837
2837
|
} });
|
|
2838
2838
|
const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
|
|
2839
2839
|
}, "Xdf/": function(i) {
|
|
2840
|
-
i.exports =
|
|
2840
|
+
i.exports = le;
|
|
2841
2841
|
}, Fe5V: function(i) {
|
|
2842
2842
|
function s() {
|
|
2843
2843
|
return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
|
|
@@ -2903,7 +2903,7 @@ function Za() {
|
|
|
2903
2903
|
var B = E("guqK");
|
|
2904
2904
|
const oe = "section-container";
|
|
2905
2905
|
var ae = "jhxvbR";
|
|
2906
|
-
const P = "v1", w = 2, R = 1920, N = 1920, X = 1e3, _e = 1e3, A = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, H = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, G = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, _ = { [G.CENTER]: { x: 0.5, y: 0.5 }, [G.TOP_LEFT]: { x: 0, y: 0 }, [G.TOP_RIGHT]: { x: 1, y: 0 }, [G.TOP]: { x: 0.5, y: 0 }, [G.BOTTOM_LEFT]: { x: 0, y: 1 }, [G.BOTTOM_RIGHT]: { x: 1, y: 1 }, [G.BOTTOM]: { x: 0.5, y: 1 }, [G.RIGHT]: { x: 1, y: 0.5 }, [G.LEFT]: { x: 0, y: 0.5 } }, $ = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, v = { BG: "bg", SVG: "svg" }, se = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, pe = { classic: 1, super: 2 }, me = { radius: "0.66", amount: "1.00", threshold: "0.01" }, be = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Re = 25e6, Be = [1.5, 2, 4], Se = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } },
|
|
2906
|
+
const P = "v1", w = 2, R = 1920, N = 1920, X = 1e3, _e = 1e3, A = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, H = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, G = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, _ = { [G.CENTER]: { x: 0.5, y: 0.5 }, [G.TOP_LEFT]: { x: 0, y: 0 }, [G.TOP_RIGHT]: { x: 1, y: 0 }, [G.TOP]: { x: 0.5, y: 0 }, [G.BOTTOM_LEFT]: { x: 0, y: 1 }, [G.BOTTOM_RIGHT]: { x: 1, y: 1 }, [G.BOTTOM]: { x: 0.5, y: 1 }, [G.RIGHT]: { x: 1, y: 0.5 }, [G.LEFT]: { x: 0, y: 0.5 } }, $ = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, v = { BG: "bg", SVG: "svg" }, se = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, pe = { classic: 1, super: 2 }, me = { radius: "0.66", amount: "1.00", threshold: "0.01" }, be = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Re = 25e6, Be = [1.5, 2, 4], Se = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Me = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, Le = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, ie = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, Ge = { AVIF: "AVIF", PAVIF: "PAVIF" };
|
|
2907
2907
|
function V(d, ...T) {
|
|
2908
2908
|
return function(...C) {
|
|
2909
2909
|
const e = C[C.length - 1] || {}, t = [d[0]];
|
|
@@ -2932,7 +2932,7 @@ function Za() {
|
|
|
2932
2932
|
})(d, C, e);
|
|
2933
2933
|
return t || a;
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Je(d) {
|
|
2936
2936
|
return nt(d) === ie.PNG;
|
|
2937
2937
|
}
|
|
2938
2938
|
function ze(d) {
|
|
@@ -2944,16 +2944,16 @@ function Za() {
|
|
|
2944
2944
|
function Ve(d) {
|
|
2945
2945
|
return nt(d) === ie.AVIF;
|
|
2946
2946
|
}
|
|
2947
|
-
const
|
|
2947
|
+
const Xe = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), dt = ["\\.", "\\*"], rt = "_";
|
|
2948
2948
|
function bt(d) {
|
|
2949
2949
|
return (function(T) {
|
|
2950
2950
|
return ge.includes(nt(T));
|
|
2951
|
-
})(d) ? ie.JPG :
|
|
2951
|
+
})(d) ? ie.JPG : Je(d) ? ie.PNG : ze(d) ? ie.WEBP : Ye(d) ? ie.GIF : Ve(d) ? ie.AVIF : ie.UNRECOGNIZED;
|
|
2952
2952
|
}
|
|
2953
2953
|
function nt(d) {
|
|
2954
2954
|
return (/[.]([^.]+)$/.exec(d) && /[.]([^.]+)$/.exec(d)[1] || "").toLowerCase();
|
|
2955
2955
|
}
|
|
2956
|
-
function
|
|
2956
|
+
function gt(d, T, C, e, t) {
|
|
2957
2957
|
let a;
|
|
2958
2958
|
return a = t === H.FILL ? (function(n, r, o, h) {
|
|
2959
2959
|
return Math.max(o / n, h / r);
|
|
@@ -2961,25 +2961,25 @@ function Za() {
|
|
|
2961
2961
|
return Math.min(o / n, h / r);
|
|
2962
2962
|
})(d, T, C, e) : 1, a;
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2964
|
+
function _t(d, T, C, e, t, a) {
|
|
2965
2965
|
d = d || e.width, T = T || e.height;
|
|
2966
2966
|
const { scaleFactor: n, width: r, height: o } = (function(h, f, p, y, I) {
|
|
2967
2967
|
let x, O = p, M = y;
|
|
2968
|
-
if (x =
|
|
2968
|
+
if (x = gt(h, f, p, y, I), I === H.FIT && (O = h * x, M = f * x), O && M && O * M > Re) {
|
|
2969
2969
|
const S = Math.sqrt(Re / (O * M));
|
|
2970
|
-
O *= S, M *= S, x =
|
|
2970
|
+
O *= S, M *= S, x = gt(h, f, O, M, I);
|
|
2971
2971
|
}
|
|
2972
2972
|
return { scaleFactor: x, width: O, height: M };
|
|
2973
2973
|
})(d, T, e.width * t, e.height * t, C);
|
|
2974
2974
|
return (function(h, f, p, y, I, x, O) {
|
|
2975
2975
|
const { optimizedScaleFactor: M, upscaleMethodValue: S, forceUSM: k } = (function(D, Te, he, fe) {
|
|
2976
|
-
return fe === "auto" ? (function(ce,
|
|
2977
|
-
const J =
|
|
2976
|
+
return fe === "auto" ? (function(ce, ue) {
|
|
2977
|
+
const J = lt(ce, ue);
|
|
2978
2978
|
return { optimizedScaleFactor: Se[J].maxUpscale, upscaleMethodValue: pe.classic, forceUSM: !1 };
|
|
2979
2979
|
})(D, Te) : fe === "super" ? (function(ce) {
|
|
2980
2980
|
return { optimizedScaleFactor: K(Be), upscaleMethodValue: pe.super, forceUSM: !(Be.includes(ce) || ce > K(Be)) };
|
|
2981
|
-
})(he) : (function(ce,
|
|
2982
|
-
const J =
|
|
2981
|
+
})(he) : (function(ce, ue) {
|
|
2982
|
+
const J = lt(ce, ue);
|
|
2983
2983
|
return { optimizedScaleFactor: Se[J].maxUpscale, upscaleMethodValue: pe.classic, forceUSM: !1 };
|
|
2984
2984
|
})(D, Te);
|
|
2985
2985
|
})(h, f, x, I);
|
|
@@ -3006,13 +3006,13 @@ function Za() {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
function it(d) {
|
|
3008
3008
|
let T;
|
|
3009
|
-
return !d || typeof d.x != "number" || isNaN(d.x) || typeof d.y != "number" || isNaN(d.y) || (T = { x:
|
|
3009
|
+
return !d || typeof d.x != "number" || isNaN(d.x) || typeof d.y != "number" || isNaN(d.y) || (T = { x: ut(Math.max(0, Math.min(100, d.x)) / 100, 2), y: ut(Math.max(0, Math.min(100, d.y)) / 100, 2) }), T;
|
|
3010
3010
|
}
|
|
3011
|
-
function
|
|
3011
|
+
function lt(d, T) {
|
|
3012
3012
|
const C = d * T;
|
|
3013
|
-
return C > Se[
|
|
3013
|
+
return C > Se[Me.HIGH].size ? Me.HIGH : C > Se[Me.MEDIUM].size ? Me.MEDIUM : C > Se[Me.LOW].size ? Me.LOW : Me.TINY;
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function ut(d, T) {
|
|
3016
3016
|
const C = Math.pow(10, T);
|
|
3017
3017
|
return (d * C / C).toFixed(T);
|
|
3018
3018
|
}
|
|
@@ -3161,7 +3161,7 @@ function Za() {
|
|
|
3161
3161
|
break;
|
|
3162
3162
|
case A.SCALE_TO_FILL:
|
|
3163
3163
|
De(d.src.id) ? (t.img.width = T.width, t.img.height = T.height) : (h = (function(f, p, y, I, x) {
|
|
3164
|
-
const O =
|
|
3164
|
+
const O = gt(f, p, y, I, x);
|
|
3165
3165
|
return { width: Math.round(f * O), height: Math.round(p * O) };
|
|
3166
3166
|
})(r, o, T.width, T.height, H.FILL), t.img.width = h.width, t.img.height = h.height), t.img.x = 0, t.img.y = 0, t.img.transform = "", t.img.preserveAspectRatio = "xMidYMid slice";
|
|
3167
3167
|
}
|
|
@@ -3220,13 +3220,13 @@ function Za() {
|
|
|
3220
3220
|
break;
|
|
3221
3221
|
case A.SCALE_TO_FILL:
|
|
3222
3222
|
d.parts.push((function(t, a) {
|
|
3223
|
-
const n =
|
|
3223
|
+
const n = _t(t.src.width, t.src.height, H.FILL, a, t.devicePixelRatio, t.upscaleMethod), r = it(t.focalPoint);
|
|
3224
3224
|
return { transformType: r ? H.FILL_FOCAL : H.FILL, width: Math.round(n.width), height: Math.round(n.height), alignment: Ke(a), focalPointX: r && r.x, focalPointY: r && r.y, upscale: n.scaleFactor > 1, forceUSM: n.forceUSM, scaleFactor: n.scaleFactor, cssUpscaleNeeded: n.cssUpscaleNeeded, upscaleMethodValue: n.upscaleMethodValue };
|
|
3225
3225
|
})(d, C));
|
|
3226
3226
|
break;
|
|
3227
3227
|
case A.STRETCH:
|
|
3228
3228
|
d.parts.push((function(t, a) {
|
|
3229
|
-
const n =
|
|
3229
|
+
const n = gt(t.src.width, t.src.height, a.width, a.height, H.FILL), r = { ...a };
|
|
3230
3230
|
return r.width = t.src.width * n, r.height = t.src.height * n, j(t, r);
|
|
3231
3231
|
})(d, C));
|
|
3232
3232
|
break;
|
|
@@ -3258,7 +3258,7 @@ function Za() {
|
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
function j(d, T) {
|
|
3261
|
-
const C =
|
|
3261
|
+
const C = _t(d.src.width, d.src.height, H.FIT, T, d.devicePixelRatio, d.upscaleMethod);
|
|
3262
3262
|
return { transformType: !d.src.width || !d.src.height ? H.FIT : H.FILL, width: Math.round(C.width), height: Math.round(C.height), alignment: $.center, upscale: C.scaleFactor > 1, forceUSM: C.forceUSM, scaleFactor: C.scaleFactor, cssUpscaleNeeded: C.cssUpscaleNeeded, upscaleMethodValue: C.upscaleMethodValue };
|
|
3263
3263
|
}
|
|
3264
3264
|
function z(d) {
|
|
@@ -3268,7 +3268,7 @@ function Za() {
|
|
|
3268
3268
|
T = T || {}, d.quality = (function(C, e) {
|
|
3269
3269
|
const t = C.fileType === ie.PNG, a = C.fileType === ie.JPG, n = C.fileType === ie.WEBP, r = C.fileType === ie.AVIF;
|
|
3270
3270
|
if (a || t || n || r) {
|
|
3271
|
-
const p = K(C.parts), y = (h = p.width, f = p.height, Se[
|
|
3271
|
+
const p = K(C.parts), y = (h = p.width, f = p.height, Se[lt(h, f)].quality);
|
|
3272
3272
|
let I = e.quality && e.quality >= 5 && e.quality <= 90 ? e.quality : y;
|
|
3273
3273
|
return I = t ? I + 5 : I, I;
|
|
3274
3274
|
}
|
|
@@ -3282,7 +3282,7 @@ function Za() {
|
|
|
3282
3282
|
if ((function(a) {
|
|
3283
3283
|
const n = typeof (a = a || {}).radius == "number" && !isNaN(a.radius) && a.radius >= 0.1 && a.radius <= 500, r = typeof a.amount == "number" && !isNaN(a.amount) && a.amount >= 0 && a.amount <= 10, o = typeof a.threshold == "number" && !isNaN(a.threshold) && a.threshold >= 0 && a.threshold <= 255;
|
|
3284
3284
|
return n && r && o;
|
|
3285
|
-
})(e.unsharpMask)) return { radius:
|
|
3285
|
+
})(e.unsharpMask)) return { radius: ut(e.unsharpMask?.radius, 2), amount: ut(e.unsharpMask?.amount, 2), threshold: ut(e.unsharpMask?.threshold, 2) };
|
|
3286
3286
|
if ((typeof (t = (t = e.unsharpMask) || {}).radius != "number" || isNaN(t.radius) || t.radius !== 0 || typeof t.amount != "number" || isNaN(t.amount) || t.amount !== 0 || typeof t.threshold != "number" || isNaN(t.threshold) || t.threshold !== 0) && (function(a) {
|
|
3287
3287
|
const n = K(a.parts);
|
|
3288
3288
|
return !(n.scaleFactor >= 1) || n.forceUSM || n.transformType === H.FIT;
|
|
@@ -3300,7 +3300,7 @@ function Za() {
|
|
|
3300
3300
|
const t = (function(y) {
|
|
3301
3301
|
return y?.isSEOBot ?? !1;
|
|
3302
3302
|
})(e), a = bt(T.id), n = (function(y, I) {
|
|
3303
|
-
const x = /\.([^.]*)$/, O = new RegExp(`(${
|
|
3303
|
+
const x = /\.([^.]*)$/, O = new RegExp(`(${Xe.concat(dt).join("|")})`, "g");
|
|
3304
3304
|
if (I && I.length) {
|
|
3305
3305
|
let S = I;
|
|
3306
3306
|
const k = I.match(x);
|
|
@@ -3325,7 +3325,7 @@ function Za() {
|
|
|
3325
3325
|
}
|
|
3326
3326
|
return e;
|
|
3327
3327
|
}
|
|
3328
|
-
const Y = V`fit/w_${"width"},h_${"height"}`, ne = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`, re = V`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, Ae = V`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Pe = V`crop/w_${"width"},h_${"height"},al_${"alignment"}`, $e = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`,
|
|
3328
|
+
const Y = V`fit/w_${"width"},h_${"height"}`, ne = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`, re = V`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, Ae = V`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Pe = V`crop/w_${"width"},h_${"height"},al_${"alignment"}`, $e = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`, qe = V`,lg_${"upscaleMethodValue"}`, Qe = V`,q_${"quality"}`, ht = V`,quality_auto`, at = V`,usm_${"radius"}_${"amount"}_${"threshold"}`, _n = V`,bl`, $t = V`,wm_${"watermark"}`, En = { [Le.CONTRAST]: V`,con_${"contrast"}`, [Le.BRIGHTNESS]: V`,br_${"brightness"}`, [Le.SATURATION]: V`,sat_${"saturation"}`, [Le.HUE]: V`,hue_${"hue"}`, [Le.BLUR]: V`,blur_${"blur"}` }, Tn = V`,enc_auto`, vn = V`,enc_avif`, In = V`,enc_pavif`, bn = V`,pstr`, Ln = V`,anm_all`;
|
|
3329
3329
|
function Yt(d, T, C, e = {}, t) {
|
|
3330
3330
|
if (De(T.id, e?.hasAnimation, e?.allowAnimatedTransform, e?.allowFullGIFTransformation)) {
|
|
3331
3331
|
if (ze(T.id) || Ve(T.id)) {
|
|
@@ -3344,19 +3344,19 @@ function Za() {
|
|
|
3344
3344
|
break;
|
|
3345
3345
|
case H.LEGACY_FILL:
|
|
3346
3346
|
let h = $e(o);
|
|
3347
|
-
o.upscale && (h +=
|
|
3347
|
+
o.upscale && (h += qe(o)), n.push(h);
|
|
3348
3348
|
break;
|
|
3349
3349
|
case H.FIT:
|
|
3350
3350
|
let f = Y(o);
|
|
3351
|
-
o.upscale && (f +=
|
|
3351
|
+
o.upscale && (f += qe(o)), n.push(f);
|
|
3352
3352
|
break;
|
|
3353
3353
|
case H.FILL:
|
|
3354
3354
|
let p = ne(o);
|
|
3355
|
-
o.upscale && (p +=
|
|
3355
|
+
o.upscale && (p += qe(o)), n.push(p);
|
|
3356
3356
|
break;
|
|
3357
3357
|
case H.FILL_FOCAL:
|
|
3358
3358
|
let y = re(o);
|
|
3359
|
-
o.upscale && (y +=
|
|
3359
|
+
o.upscale && (y += qe(o)), n.push(y);
|
|
3360
3360
|
}
|
|
3361
3361
|
});
|
|
3362
3362
|
let r = n.join("/");
|
|
@@ -3369,7 +3369,7 @@ function Za() {
|
|
|
3369
3369
|
}
|
|
3370
3370
|
return T.id;
|
|
3371
3371
|
}
|
|
3372
|
-
const nn = { [G.CENTER]: "50% 50%", [G.TOP_LEFT]: "0% 0%", [G.TOP_RIGHT]: "100% 0%", [G.TOP]: "50% 0%", [G.BOTTOM_LEFT]: "0% 100%", [G.BOTTOM_RIGHT]: "100% 100%", [G.BOTTOM]: "50% 100%", [G.RIGHT]: "100% 50%", [G.LEFT]: "0% 50%" }, yn = Object.entries(nn).reduce((d, [T, C]) => (d[C] = T, d), {}),
|
|
3372
|
+
const nn = { [G.CENTER]: "50% 50%", [G.TOP_LEFT]: "0% 0%", [G.TOP_RIGHT]: "100% 0%", [G.TOP]: "50% 0%", [G.BOTTOM_LEFT]: "0% 100%", [G.BOTTOM_RIGHT]: "100% 100%", [G.BOTTOM]: "50% 100%", [G.RIGHT]: "100% 50%", [G.LEFT]: "0% 50%" }, yn = Object.entries(nn).reduce((d, [T, C]) => (d[C] = T, d), {}), Et = [A.TILE, A.TILE_HORIZONTAL, A.TILE_VERTICAL, A.LEGACY_BG_FIT_AND_TILE, A.LEGACY_BG_FIT_AND_TILE_HORIZONTAL, A.LEGACY_BG_FIT_AND_TILE_VERTICAL], Ut = [A.LEGACY_ORIGINAL_SIZE, A.ORIGINAL_SIZE, A.LEGACY_BG_NORMAL];
|
|
3373
3373
|
function rn(d, T, { width: C, height: e }) {
|
|
3374
3374
|
return d === A.TILE && T.width > C && T.height > e;
|
|
3375
3375
|
}
|
|
@@ -3388,7 +3388,7 @@ function Za() {
|
|
|
3388
3388
|
return yn[o] || "";
|
|
3389
3389
|
})(T.focalPoint), n = a || e;
|
|
3390
3390
|
T.focalPoint && !a ? t.img = { objectPosition: Vt(T, C, T.focalPoint) } : t.img = { objectPosition: nn[n] };
|
|
3391
|
-
} else [A.LEGACY_ORIGINAL_SIZE, A.ORIGINAL_SIZE].includes(d) ? t.img = { objectFit: "none", top: "auto", left: "auto", right: "auto", bottom: "auto" } :
|
|
3391
|
+
} else [A.LEGACY_ORIGINAL_SIZE, A.ORIGINAL_SIZE].includes(d) ? t.img = { objectFit: "none", top: "auto", left: "auto", right: "auto", bottom: "auto" } : Et.includes(d) && (t.container = { backgroundSize: `${T.width}px ${T.height}px` });
|
|
3392
3392
|
return t;
|
|
3393
3393
|
}
|
|
3394
3394
|
function Vt(d, T, C) {
|
|
@@ -3403,17 +3403,17 @@ function Za() {
|
|
|
3403
3403
|
if (!je(d, T, C)) return be;
|
|
3404
3404
|
const f = !0, p = o ?? f, y = De(T.id, r, p);
|
|
3405
3405
|
if (!y || n) return Zt(d, T, C, { ...e, autoEncode: t, useSrcset: y });
|
|
3406
|
-
const I = { ...C, ...It(T, C) }, { alignment: x, htmlTag: O } = I, M = rn(d, T, I), S = (function(fe, ce, { width:
|
|
3407
|
-
if (U) return { width:
|
|
3408
|
-
const Ee = !Ut.includes(fe), Ie = rn(fe, ce, { width:
|
|
3406
|
+
const I = { ...C, ...It(T, C) }, { alignment: x, htmlTag: O } = I, M = rn(d, T, I), S = (function(fe, ce, { width: ue, height: J }, U = !1) {
|
|
3407
|
+
if (U) return { width: ue, height: J };
|
|
3408
|
+
const Ee = !Ut.includes(fe), Ie = rn(fe, ce, { width: ue, height: J }), de = !Ie && Et.includes(fe), we = de ? ce.width : ue, ke = de ? ce.height : J, ye = Ee ? (function(ve, xe) {
|
|
3409
3409
|
return ve > 900 ? xe ? 0.05 : 0.15 : ve > 500 ? xe ? 0.1 : 0.18 : ve > 200 ? 0.25 : 1;
|
|
3410
|
-
})(we,
|
|
3410
|
+
})(we, Je(ce.id)) : 1;
|
|
3411
3411
|
return { width: Ie ? 1920 : we * ye, height: ke * ye };
|
|
3412
|
-
})(d, T, I, a), k = (function(fe, ce,
|
|
3413
|
-
return
|
|
3412
|
+
})(d, T, I, a), k = (function(fe, ce, ue) {
|
|
3413
|
+
return ue ? 0 : Et.includes(ce) ? 1 : fe > 200 ? 2 : 3;
|
|
3414
3414
|
})(I.width, d, a), W = (function(fe, ce) {
|
|
3415
|
-
const
|
|
3416
|
-
return fe === A.SCALE_TO_FILL ||
|
|
3415
|
+
const ue = Et.includes(fe) && !ce;
|
|
3416
|
+
return fe === A.SCALE_TO_FILL || ue ? A.SCALE_TO_FIT : fe;
|
|
3417
3417
|
})(d, M), q = An(d, T, C, x), { uri: D } = Zt(W, T, { ...S, alignment: x, htmlTag: O }, { autoEncode: t, filters: k ? { blur: k } : {}, hasAnimation: r, allowAnimatedTransform: p, encoding: h, isPlaceholderFlow: f }), { attr: Te = {}, css: he } = Zt(d, T, { ...I, alignment: x, htmlTag: O }, {});
|
|
3418
3418
|
return he.img = he.img || {}, he.container = he.container || {}, Object.assign(he.img, q.img, xn), Object.assign(he.container, q.container), { uri: D, css: he, attr: Te, transformed: !0 };
|
|
3419
3419
|
}
|
|
@@ -3439,27 +3439,27 @@ function Za() {
|
|
|
3439
3439
|
}, Cn = /^[a-z]+:/, Dt = (d) => {
|
|
3440
3440
|
const { id: T, containerId: C, uri: e, alt: t, name: a = "", role: n, width: r, height: o, displayMode: h, devicePixelRatio: f, quality: p, alignType: y, bgEffectName: I = "", focalPoint: x, upscaleMethod: O, className: M = "", crop: S, imageStyles: k = {}, targetWidth: W, targetHeight: q, targetScale: D, onLoad: Te = () => {
|
|
3441
3441
|
}, onError: he = () => {
|
|
3442
|
-
}, shouldUseLQIP: fe, containerWidth: ce, containerHeight:
|
|
3442
|
+
}, shouldUseLQIP: fe, containerWidth: ce, containerHeight: ue, getPlaceholder: J, isInFirstFold: U, placeholderTransition: Ee, socialAttrs: Ie, isSEOBot: de, skipMeasure: we, hasAnimation: ke, encoding: ye, isFluidLayout: ve } = d, xe = l.useRef(null);
|
|
3443
3443
|
let He = "";
|
|
3444
3444
|
const Ne = Ee === "blur", Fe = l.useRef(null);
|
|
3445
|
-
if (!Fe.current) if (J || fe || U ||
|
|
3446
|
-
const pt = { upscaleMethod: O, ...p || {}, shouldLoadHQImage: U, isSEOBot:
|
|
3447
|
-
Fe.current = (J || wn)({ fittingType: h, src: { id: e, width: r, height: o, crop: S, name: a, focalPoint: x }, target: { width: ce, height:
|
|
3445
|
+
if (!Fe.current) if (J || fe || U || de) {
|
|
3446
|
+
const pt = { upscaleMethod: O, ...p || {}, shouldLoadHQImage: U, isSEOBot: de, hasAnimation: ke, encoding: ye };
|
|
3447
|
+
Fe.current = (J || wn)({ fittingType: h, src: { id: e, width: r, height: o, crop: S, name: a, focalPoint: x }, target: { width: ce, height: ue, alignment: y, htmlTag: "img" }, options: pt }), He = !Fe.current.transformed || U || de ? "" : "true";
|
|
3448
3448
|
} else Fe.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
|
|
3449
|
-
const Pt = !
|
|
3449
|
+
const Pt = !de && (J || fe) && !U && Fe.current.transformed, nr = l.useMemo(() => JSON.stringify({ containerId: C, ...C && { containerId: C }, ...y && { alignType: y }, ...we && { skipMeasure: !0 }, displayMode: h, ...ce && { targetWidth: ce }, ...ue && { targetHeight: ue }, ...W && { targetWidth: W }, ...q && { targetHeight: q }, ...D && { targetScale: D }, isLQIP: Pt, isSEOBot: de, lqipTransition: Ee, encoding: ye, imageData: { width: r, height: o, uri: e, name: a, displayMode: h, hasAnimation: ke, ...p && { quality: p }, ...f && { devicePixelRatio: f }, ...x && { focalPoint: x }, ...S && { crop: S }, ...O && { upscaleMethod: O } } }), [C, y, we, h, ce, ue, W, q, D, Pt, de, Ee, ye, r, o, e, a, ke, p, f, x, S, O]), et = Fe.current, Nt = et?.uri, rr = et?.srcset, ft = et.css?.img, ar = `${ae} ${M}`;
|
|
3450
3450
|
l.useEffect(() => {
|
|
3451
3451
|
const pt = xe.current;
|
|
3452
3452
|
Te && pt?.currentSrc && pt?.complete && Te({ target: pt });
|
|
3453
3453
|
}, []);
|
|
3454
3454
|
const gn = et && !et?.transformed ? `max(${r}px, 100%)` : W ? `${W}px` : null;
|
|
3455
|
-
return l.createElement("wow-image", { id: T, class: ar, "data-image-info": nr, "data-motion-part": `BG_IMG ${C}`, "data-bg-effect-name": I, "data-has-ssr-src": He, "data-animate-blur": !
|
|
3455
|
+
return l.createElement("wow-image", { id: T, class: ar, "data-image-info": nr, "data-motion-part": `BG_IMG ${C}`, "data-bg-effect-name": I, "data-has-ssr-src": He, "data-animate-blur": !de && Pt && Ne ? "" : void 0, "data-is-responsive": ve ? "true" : void 0, style: gn ? { "--wix-img-max-width": gn } : {} }, l.createElement("img", { src: Nt, ref: xe, alt: t || "", role: n, style: { ...ft, ...k }, onLoad: Te, onError: he, width: ce || void 0, height: ue || void 0, ...Ie, srcSet: U ? rr?.dpr?.map((pt) => Cn.test(pt) ? pt : `${yt}${pt}`).join(", ") : void 0, fetchpriority: U ? "high" : void 0, loading: U === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
|
|
3456
3456
|
};
|
|
3457
3457
|
var on = "Tj01hh", sn = (d) => {
|
|
3458
3458
|
var T, C;
|
|
3459
|
-
const { id: e, alt: t, role: a, className: n, imageStyles: r = {}, targetWidth: o, targetHeight: h, onLoad: f, onError: p, containerWidth: y, containerHeight: I, isInFirstFold: x, socialAttrs: O, skipMeasure: M, responsiveImageProps: S, zoomedImageResponsiveOverride: k, displayMode: W } = d, q = o || y, D = h || I, { fallbackSrc: Te, srcset: he, sources: fe, css: ce } = S || {}, { width:
|
|
3459
|
+
const { id: e, alt: t, role: a, className: n, imageStyles: r = {}, targetWidth: o, targetHeight: h, onLoad: f, onError: p, containerWidth: y, containerHeight: I, isInFirstFold: x, socialAttrs: O, skipMeasure: M, responsiveImageProps: S, zoomedImageResponsiveOverride: k, displayMode: W } = d, q = o || y, D = h || I, { fallbackSrc: Te, srcset: he, sources: fe, css: ce } = S || {}, { width: ue, height: J, ...U } = (S == null || (T = S.css) == null ? void 0 : T.img) || {}, Ee = W === "original_size" ? S == null || (C = S.css) == null ? void 0 : C.img : U;
|
|
3460
3460
|
var Ie;
|
|
3461
|
-
return Te && he && ce ? l.createElement("img", c()({ fetchpriority: x ? "high" : void 0, loading: x === !1 ? "lazy" : void 0, sizes: q + "px", srcSet: M ? k?.srcset : S?.srcset, id: e, src: Te, alt: t || "", role: a, style: { ...r, ...M ? { ...k == null || (Ie = k.css) == null ? void 0 : Ie.img } : { ...Ee } }, onLoad: f, onError: p, className: (0, m.Z)(n, on), width: q, height: D }, O)) : Te && fe && ce ? l.createElement("picture", null, fe.map((
|
|
3462
|
-
let { srcset: we, media: ke, sizes: ye } =
|
|
3461
|
+
return Te && he && ce ? l.createElement("img", c()({ fetchpriority: x ? "high" : void 0, loading: x === !1 ? "lazy" : void 0, sizes: q + "px", srcSet: M ? k?.srcset : S?.srcset, id: e, src: Te, alt: t || "", role: a, style: { ...r, ...M ? { ...k == null || (Ie = k.css) == null ? void 0 : Ie.img } : { ...Ee } }, onLoad: f, onError: p, className: (0, m.Z)(n, on), width: q, height: D }, O)) : Te && fe && ce ? l.createElement("picture", null, fe.map((de) => {
|
|
3462
|
+
let { srcset: we, media: ke, sizes: ye } = de;
|
|
3463
3463
|
return l.createElement("source", { key: ke, srcSet: we, media: ke, sizes: ye });
|
|
3464
3464
|
}), l.createElement("img", c()({ fetchpriority: x ? "high" : void 0, loading: x === !1 ? "lazy" : void 0, id: e, src: fe[0].fallbackSrc, alt: t || "", role: a, style: { ...r, objectFit: fe[0].imgStyle.objectFit, objectPosition: fe[0].imgStyle.objectPosition }, onLoad: f, onError: p, className: (0, m.Z)(n, on), width: q, height: D }, O))) : l.createElement(Dt, d);
|
|
3465
3465
|
}, cn = (d) => {
|
|
@@ -3490,8 +3490,8 @@ function Za() {
|
|
|
3490
3490
|
var Vn = "MW5IWV", Zn = "N3eg0s", St = "Kv1aVt", un = "dLPlxY", zn = "VgO9Yg", Rt = "LWbAav", Jt = "yK6aSC", dn = "K_YxMd", Dn = "NGjcJN", hn = "mNGsUM", Xt = "I8xA4L";
|
|
3491
3491
|
const fn = "bgImage";
|
|
3492
3492
|
var Kt = (d) => {
|
|
3493
|
-
const { videoRef: T, canvasRef: C, hasBgFullscreenScrollEffect: e, image: t, backgroundImage: a, backgroundMedia: n, video: r, backgroundOverlay: o, shouldPadMedia: h, extraClass: f = "", shouldRenderUnderlay: p = !r, reducedMotion: y = !1, getPlaceholder: I, hasCanvasAnimation: x, useWixMediaCanvas: O, onClick: M } = d, { onImageLoad: S } = ((
|
|
3494
|
-
let { onReady: J, image: U } =
|
|
3493
|
+
const { videoRef: T, canvasRef: C, hasBgFullscreenScrollEffect: e, image: t, backgroundImage: a, backgroundMedia: n, video: r, backgroundOverlay: o, shouldPadMedia: h, extraClass: f = "", shouldRenderUnderlay: p = !r, reducedMotion: y = !1, getPlaceholder: I, hasCanvasAnimation: x, useWixMediaCanvas: O, onClick: M } = d, { onImageLoad: S } = ((ue) => {
|
|
3494
|
+
let { onReady: J, image: U } = ue;
|
|
3495
3495
|
return (0, l.useEffect)(() => {
|
|
3496
3496
|
J && !U && J();
|
|
3497
3497
|
}, [J, U]), { onImageLoad: (Ee) => {
|
|
@@ -3518,12 +3518,12 @@ function Za() {
|
|
|
3518
3518
|
const mn = ({ size: d, ...T }) => l.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: d || "18", height: d || "18", ...T }, l.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
|
|
3519
3519
|
mn.displayName = "PauseSmall";
|
|
3520
3520
|
var er = mn;
|
|
3521
|
-
const
|
|
3522
|
-
|
|
3523
|
-
var en =
|
|
3521
|
+
const Tt = ({ size: d, ...T }) => l.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: d || "18", height: d || "18", ...T }, l.createElement("path", { d: "M6.87468837,5.45041947 L12.7318793,8.46657119 C13.20163,8.68731241 13.20163,9.26940918 12.7318793,9.53342881 L6.87468837,12.5495805 C6.58008377,12.7012867 6.00070071,12.5801226 6,12.0161517 L6,5.98384828 C6,5.65247743 6.35266876,5.20682168 6.87468837,5.45041947 Z M7,11.3602529 L11.5834735,9 L7,6.63974714 L7,11.3602529 Z" }));
|
|
3522
|
+
Tt.displayName = "PlaySmall";
|
|
3523
|
+
var en = Tt;
|
|
3524
3524
|
const tr = (d, T) => {
|
|
3525
3525
|
var C;
|
|
3526
|
-
const { id: e, skin: t = "RectangleArea", className: a, containerRootClassName: n = "", customClassNames: r = [], containerProps: o, children: h, fillLayers: f = d.fillLayers || d.background, tagName: p, getPlaceholder: y, dividers: I, semanticClassNames: x, onStop: O, onClick: M, onDblClick: S, onMouseEnter: k, onMouseLeave: W, lang: q, translations: D, isPlayPauseSectionExperimentOn: Te, isBuilder: he } = d, fe = p || "section", { shouldOmitWrapperLayers: ce } = o,
|
|
3526
|
+
const { id: e, skin: t = "RectangleArea", className: a, containerRootClassName: n = "", customClassNames: r = [], containerProps: o, children: h, fillLayers: f = d.fillLayers || d.background, tagName: p, getPlaceholder: y, dividers: I, semanticClassNames: x, onStop: O, onClick: M, onDblClick: S, onMouseEnter: k, onMouseLeave: W, lang: q, translations: D, isPlayPauseSectionExperimentOn: Te, isBuilder: he } = d, fe = p || "section", { shouldOmitWrapperLayers: ce } = o, ue = (0, m.Z)(At.Z[t], n, a, x ? L(x.root, ...r) : L(Qn.root, ...r), { [At.Z.shouldOmitWrapperLayers]: ce }), J = !(f == null || !f.video), U = (function(we, ke, ye) {
|
|
3527
3527
|
const ve = g().useRef(null), xe = g().useRef(null);
|
|
3528
3528
|
return ke ? xe.current || (xe.current = { play: () => ve.current?.play(), load: () => ve.current?.load(), pause: () => ve.current?.pause(), stop: () => {
|
|
3529
3529
|
ve.current && (ve.current.pause(), ve.current.currentTime = 0, ye && ye(ve.current));
|
|
@@ -3534,7 +3534,7 @@ function Za() {
|
|
|
3534
3534
|
return l.createElement(fe, c()({ id: e }, (0, B.P5)(d), ((we = {}) => {
|
|
3535
3535
|
const ke = we.tabIndex ?? we.tabindex ?? void 0;
|
|
3536
3536
|
return ke !== void 0 ? { tabIndex: Number(ke) } : {};
|
|
3537
|
-
})(d.a11y || { tabIndex: -1 }), (
|
|
3537
|
+
})(d.a11y || { tabIndex: -1 }), (de = d.a11y, de?.label ? { "aria-label": de.label } : {}), { "data-block-level-container": "Section", className: ue + " " + At.Z.section, "data-testid": oe, onClick: M, onDoubleClick: S, onMouseEnter: k, onMouseLeave: W, lang: q }), f && !he && l.createElement(Wn, c()({}, f, { videoRef: U, getPlaceholder: y })), J && Te && !he && l.createElement("button", { className: "" + At.Z.videoPlayPauseButton, onClick: () => {
|
|
3538
3538
|
const we = U?.current;
|
|
3539
3539
|
we && (we.paused ? we.play() : we.pause(), Ie((ke) => {
|
|
3540
3540
|
const ye = !ke, ve = document.getElementById(e);
|
|
@@ -3543,7 +3543,7 @@ function Za() {
|
|
|
3543
3543
|
}), ye;
|
|
3544
3544
|
}));
|
|
3545
3545
|
}, "aria-pressed": Ee, "aria-label": D?.ariaLabel }, Ee ? l.createElement(er, null) : l.createElement(en, null)), I && !he && l.createElement(Kn, I), h());
|
|
3546
|
-
var
|
|
3546
|
+
var de;
|
|
3547
3547
|
};
|
|
3548
3548
|
var tn = l.forwardRef(tr);
|
|
3549
3549
|
})(), te;
|
|
@@ -3551,23 +3551,23 @@ function Za() {
|
|
|
3551
3551
|
});
|
|
3552
3552
|
})(vr)), vr.exports;
|
|
3553
3553
|
}
|
|
3554
|
-
var
|
|
3555
|
-
const
|
|
3556
|
-
var Ir = { exports: {} },
|
|
3557
|
-
function
|
|
3558
|
-
return Br || (Br = 1, (function(
|
|
3559
|
-
(function(
|
|
3560
|
-
|
|
3561
|
-
})(typeof self < "u" ? self :
|
|
3554
|
+
var Da = za();
|
|
3555
|
+
const Wa = /* @__PURE__ */ ct(Da);
|
|
3556
|
+
var Ir = { exports: {} }, qa = Ir.exports, Br;
|
|
3557
|
+
function Ja() {
|
|
3558
|
+
return Br || (Br = 1, (function(Ce, We) {
|
|
3559
|
+
(function(le, ee) {
|
|
3560
|
+
Ce.exports = ee();
|
|
3561
|
+
})(typeof self < "u" ? self : qa, function() {
|
|
3562
3562
|
return (function() {
|
|
3563
|
-
var
|
|
3564
|
-
for (var c in s)
|
|
3563
|
+
var le = { d: function(i, s) {
|
|
3564
|
+
for (var c in s) le.o(s, c) && !le.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
|
|
3565
3565
|
}, o: function(i, s) {
|
|
3566
3566
|
return Object.prototype.hasOwnProperty.call(i, s);
|
|
3567
3567
|
}, r: function(i) {
|
|
3568
3568
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
|
|
3569
3569
|
} }, ee = {};
|
|
3570
|
-
|
|
3570
|
+
le.r(ee), le.d(ee, { default: function() {
|
|
3571
3571
|
return te;
|
|
3572
3572
|
} });
|
|
3573
3573
|
const Oe = (i) => i.replace(/([A-Z])/g, (s) => `-${s.toLowerCase()}`);
|
|
@@ -3590,21 +3590,22 @@ function qa() {
|
|
|
3590
3590
|
});
|
|
3591
3591
|
})(Ir)), Ir.exports;
|
|
3592
3592
|
}
|
|
3593
|
-
var
|
|
3594
|
-
const
|
|
3593
|
+
var Xa = Ja();
|
|
3594
|
+
const Ka = /* @__PURE__ */ ct(Xa), mi = mt(br(Wa, Ka));
|
|
3595
3595
|
export {
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3596
|
+
ni as Anchor,
|
|
3597
|
+
ri as FooterContainer_TransparentScreen,
|
|
3598
|
+
ai as FooterSection,
|
|
3599
|
+
ii as HeaderContainer_TransparentScreen,
|
|
3600
|
+
oi as HeaderSection,
|
|
3601
|
+
li as PageGroup,
|
|
3602
|
+
di as PageSections,
|
|
3603
|
+
si as Page_BasicPageSkin,
|
|
3604
|
+
ci as Page_ResponsivePageWithColorBG,
|
|
3605
|
+
ui as PagesContainer,
|
|
3606
|
+
hi as PinnedLayer,
|
|
3607
|
+
fi as ResponsiveContainer,
|
|
3608
|
+
pi as ResponsivePopupPage_WithoutOverlay,
|
|
3609
|
+
mi as Section
|
|
3609
3610
|
};
|
|
3610
3611
|
//# sourceMappingURL=system-core-components.mjs.map
|