@expofp/floorplan 3.23.0 → 3.23.1
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/browser/{Button-Cdcme0dW.js → Button-Cu9clsSR.js} +5 -5
- package/dist/browser/{CookieConsent-B7cDBqp6.js → CookieConsent-mvgZy0jC.js} +8 -8
- package/dist/browser/{Debug-C1YnJvnk.js → Debug-CnnGHGZJ.js} +10 -10
- package/dist/browser/{Demo-BIM3wFq3.js → Demo-DQlgp6cY.js} +10 -10
- package/dist/browser/{Free-D7U5AEcf.js → Free-DgGCDTNd.js} +12 -12
- package/dist/browser/{Gallery-BXlz1tz4.js → GalleryContainer-ixlqlJ9Q.js} +714 -589
- package/dist/browser/{GpsLoader-BdUzK_Wq.js → GpsLoader-9JLK7S2S.js} +31 -31
- package/dist/browser/{KioskStore-t38ARgcW.js → KioskStore-ZtZBfHyG.js} +34 -34
- package/dist/browser/{MaplibreAdapter-CSAShUgd.js → MaplibreAdapter-C__Oc26V.js} +835 -835
- package/dist/browser/{ModalContainer-B33HKAAU.js → ModalContainer-DsyDwSqY.js} +59 -54
- package/dist/browser/{PermissionNotice-F6g9pz0M.js → PermissionNotice-CZ4QlKe_.js} +6 -6
- package/dist/browser/{SetKioskMode-CJoi2gHM.js → SetKioskMode-Bf4b4bnh.js} +15 -15
- package/dist/browser/{ShowKiosk-H4rnBUGh.js → ShowKiosk-BdAccxwG.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-BmJhh8Ln.js → ViewerMenuPanel-_Y9M630H.js} +18 -18
- package/dist/browser/{add-debug-secret-listener-BNoe6VU3.js → add-debug-secret-listener-DQl3P4ki.js} +1 -1
- package/dist/browser/{adopt-global-settings-DIweHmmO.js → adopt-global-settings-DTFmFw7D.js} +9 -9
- package/dist/browser/{boolean-editor-C9fqoeTB.js → boolean-editor-DRaZvwNE.js} +9 -9
- package/dist/browser/{bootIntercom-BB5HdKln.js → bootIntercom-Bxi_kVm1.js} +2 -2
- package/dist/browser/{booth-by-xy-BP9IYJhy.js → booth-by-xy-RZ4XM07z.js} +287 -287
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-Dmeqek3o.js → classnames-yCHhGUHk.js} +2 -2
- package/dist/browser/{client-CBb2454O.js → client-dzWvVFIu.js} +4 -4
- package/dist/browser/{components-DyDFRZBC.js → components-DiWraxYJ.js} +2032 -2034
- package/dist/browser/{debug-overlay-DXOrtUeJ.js → debug-overlay-By2JKe98.js} +10 -10
- package/dist/browser/{debug-ui-tNUnR4wz.js → debug-ui-B7iMFZL2.js} +6 -6
- package/dist/browser/{dist-DcOtrqGG.js → dist-BJYZuYz5.js} +3 -3
- package/dist/browser/{dist-BIFUFe-T.js → dist-D0sDuIMU.js} +5 -5
- package/dist/browser/{dist-DZfEO0RJ.js → dist-XtgimJG-.js} +6 -6
- package/dist/browser/{efp-debug-init-B4ddpmiL.js → efp-debug-init-Cm4noHZv.js} +3 -3
- package/dist/browser/{enum-editor-CJB3E-Vh.js → enum-editor-CmI32f5A.js} +4 -4
- package/dist/browser/{es5-DeTUpXm2.js → es5-97nOnIxB.js} +2 -2
- package/dist/browser/{event-not-found-WRXwMJms.js → event-not-found-Gs3WorrR.js} +1 -1
- package/dist/browser/{exports-C5uYtLxL.js → exports-BzI9isE4.js} +1 -1
- package/dist/browser/{favicon-5gTCZLy9.js → favicon-NX_igce1.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BoyaQteS.js → fetch-retry.umd-BdBGrOUm.js} +2 -2
- package/dist/browser/{flex-DjFgAKFt.js → flex-D0Cx6ssp.js} +5 -5
- package/dist/browser/{floorplan.loader-Ck3XnezM.js → floorplan.loader-BNASIC9N.js} +10 -10
- package/dist/browser/{floorplan.ready-CzTR8qqL.js → floorplan.ready-Bdm_nBoS.js} +269 -269
- package/dist/browser/{fuse-BR27GheK.js → fuse-CArwLmpE.js} +2 -2
- package/dist/browser/{i18n-DNH3sP4D.js → i18n-DJDkRNUS.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-DzGptmYn.js → index.module-AN1k6qf9.js} +4 -4
- package/dist/browser/{integrateKiosk-DN5HgMdz.js → integrateKiosk-BHslPH6W.js} +5 -5
- package/dist/browser/{is-webview-CEqtlsy5.js → is-webview-CpxNA1hf.js} +1 -1
- package/dist/browser/{jsx-runtime-BRUHXGcL.js → jsx-runtime-BTmKWYLh.js} +2 -2
- package/dist/browser/{kiosk-record-C6KsyYH0.js → kiosk-record-Dar5bcb3.js} +1 -1
- package/dist/browser/{lib-BoYL1Y22.js → lib-CH0lKOWr.js} +3 -3
- package/dist/browser/{loadImage-2JV_4hsV.js → loadImage-Cyucj9ZO.js} +4 -4
- package/dist/browser/{logDeviceInfo-Bga4LjdT.js → logDeviceInfo-DrWNwkiz.js} +9 -9
- package/dist/browser/{main-BUSluy8y.js → main-DDG4oAN0.js} +1 -1
- package/dist/browser/{mobx-Cp-RXiD6.js → mobx-CCrzy0oK.js} +4 -4
- package/dist/browser/{optional-boolean-editor-biZOa4EF.js → optional-boolean-editor-B9ghixUw.js} +3 -3
- package/dist/browser/{optional-enum-editor-BuzYWVhL.js → optional-enum-editor-ymdwpZCG.js} +4 -4
- package/dist/browser/{optional-string-editor-1Gxph7oU.js → optional-string-editor-B7GvxUp0.js} +4 -4
- package/dist/browser/{particles.min-Cq5SYO7P.js → particles.min-DR9RAdSY.js} +2 -2
- package/dist/browser/{react-BCiZTNvQ.js → react-Di1u_Olu.js} +2 -2
- package/dist/browser/{react-dom-Gayzbfmi.js → react-dom-DgZLuRw2.js} +3 -3
- package/dist/browser/{rolldown-runtime-C4CgTizo.js → rolldown-runtime-Bq2YTOlP.js} +1 -1
- package/dist/browser/{select-BEAG7sfR.js → select-1HLg5zVy.js} +10 -10
- package/dist/browser/{settings-BJrS0XMO.js → settings-CiVCMVtK.js} +2 -2
- package/dist/browser/{settings-item-C-rqGE6m.js → settings-item-BdvpCLdo.js} +6 -6
- package/dist/browser/{store-DH91iUcL.js → store-CYrJjLi8.js} +5581 -5554
- package/dist/browser/{string-editor-fs3xB248.js → string-editor-OFy8aOQQ.js} +4 -4
- package/dist/browser/{text-field-CN-pynRC.js → text-field-BXXmJXFF.js} +5 -5
- package/dist/browser/{theme-78GgHmsO.js → theme-DpPZfgKy.js} +8 -8
- package/dist/browser/{ui-BFQlKtKk.js → ui-CJ0nQkSv.js} +8 -8
- package/dist/browser/useRenderTarget-roc5qoAU.js +57 -0
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/GalleryContainer.d.ts +6 -0
- package/dist/esm/components/GalleryContainer.js +1 -0
- package/dist/esm/components/OverlayContainer.d.ts +1 -2
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/index.d.ts +1 -3
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/store/OverlayStore.d.ts +19 -0
- package/dist/esm/store/OverlayStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +2 -0
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +0 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/index.d.ts +1 -0
- package/dist/esm/store/index.js +1 -1
- package/package.json +9 -11
- package/dist/browser/useRenderTarget-CtWSXh71.js +0 -48
- package/dist/esm/components/Gallery/Gallery.d.ts +0 -13
- package/dist/esm/components/Gallery/Gallery.js +0 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.d.ts +0 -8
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +0 -1
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +0 -9
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +0 -1
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.d.ts +0 -14
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.js +0 -1
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.d.ts +0 -13
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.js +0 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +0 -12
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +0 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.d.ts +0 -7
- package/dist/esm/components/Gallery/GalleryPreLoader.js +0 -1
- package/dist/esm/components/Gallery/TransformImg/TransformImg.d.ts +0 -10
- package/dist/esm/components/Gallery/TransformImg/TransformImg.js +0 -1
- package/dist/esm/components/Overlay.d.ts +0 -23
- package/dist/esm/components/Overlay.js +0 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +0 -12
- package/dist/esm/components/Toast/ToastContainer.js +0 -1
- package/dist/esm/components/Toast/ToastContext.d.ts +0 -2
- package/dist/esm/components/Toast/ToastContext.js +0 -1
- package/dist/esm/components/Toast/ToastProvider.d.ts +0 -6
- package/dist/esm/components/Toast/ToastProvider.js +0 -1
- package/dist/esm/components/Toast/index.d.ts +0 -2
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/hooks/useDragGesture.d.ts +0 -19
- package/dist/esm/hooks/useDragGesture.js +0 -1
- package/dist/esm/hooks/useWindowSize.d.ts +0 -5
- package/dist/esm/hooks/useWindowSize.js +0 -1
- package/dist/esm/utils/useTimeout.d.ts +0 -2
- package/dist/esm/utils/useTimeout.js +0 -1
|
@@ -2,86 +2,113 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.23.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.23.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ab91d55b-a0c4-4c1c-b075-fca242d825dc", e._sentryDebugIdIdentifier = "sentry-dbid-ab91d55b-a0c4-4c1c-b075-fca242d825dc");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { s as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { t as a } from "./
|
|
15
|
-
import { t as o } from "./
|
|
16
|
-
import { t as s } from "./
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-Bq2YTOlP.js";
|
|
11
|
+
import { s as n } from "./i18n-DJDkRNUS.js";
|
|
12
|
+
import { t as r } from "./react-Di1u_Olu.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BTmKWYLh.js";
|
|
14
|
+
import { t as a } from "./loadImage-Cyucj9ZO.js";
|
|
15
|
+
import { t as o } from "./react-dom-DgZLuRw2.js";
|
|
16
|
+
import { t as s } from "./classnames-yCHhGUHk.js";
|
|
17
|
+
import { n as c, t as l } from "./useRenderTarget-roc5qoAU.js";
|
|
18
|
+
import { t as u } from "./index.module-AN1k6qf9.js";
|
|
19
|
+
//#region ../ui/src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
20
|
+
var d = /* @__PURE__ */ t(r(), 1), f = /* @__PURE__ */ t(s(), 1), p = i(), m = ({ count: e, fullscreenLabel: t, onFullscreen: n }) => /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
21
|
+
className: "efp-gallery__badge efp-gallery__badge-count",
|
|
22
|
+
children: [/* @__PURE__ */ (0, p.jsx)("i", {
|
|
23
|
+
className: "icon-image",
|
|
24
|
+
"aria-hidden": "true"
|
|
25
|
+
}), /* @__PURE__ */ (0, p.jsx)("span", { children: e })]
|
|
26
|
+
}), /* @__PURE__ */ (0, p.jsx)("button", {
|
|
27
|
+
type: "button",
|
|
28
|
+
className: "efp-gallery__badge efp-gallery__badge-fullscreen",
|
|
29
|
+
"aria-label": t,
|
|
30
|
+
title: t,
|
|
31
|
+
onClick: n,
|
|
32
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
33
|
+
className: "icon-maximize",
|
|
34
|
+
"aria-hidden": "true"
|
|
35
|
+
})
|
|
36
|
+
})] }), h = new class {
|
|
27
37
|
constructor() {
|
|
28
38
|
this.cache = [], this.load = (e) => new Promise((t, n) => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
if (!e) {
|
|
40
|
+
t(null);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
let r = this.cache.find((t) => t.src === e);
|
|
44
|
+
if (r) {
|
|
45
|
+
t(r);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
let i = new Image();
|
|
49
|
+
i.crossOrigin = "anonymous", i.src = e, i.onload = () => {
|
|
50
|
+
this.cache.length > 10 && this.cache.shift(), this.cache.push(i), t(i);
|
|
51
|
+
}, i.onerror = () => {
|
|
52
|
+
n(/* @__PURE__ */ Error(`Failed to load image: ${e}`));
|
|
53
|
+
};
|
|
36
54
|
});
|
|
37
55
|
}
|
|
38
|
-
}(),
|
|
39
|
-
let s = (0,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
c.current.style.height = t.height * c.current.clientWidth / t.width + "px", o && o();
|
|
56
|
+
}(), g = ({ url: e, autoHeight: t = !1, position: n = "center", fullscreen: r = !1, leading: i = !1, fillMode: a = "contain", onImageLoadHeightUpdate: o }) => {
|
|
57
|
+
let s = (0, d.useRef)(null), c = (0, d.useRef)(null), l = (0, d.useCallback)(async (e) => {
|
|
58
|
+
if (!t || !c.current) return;
|
|
59
|
+
let n = c.current;
|
|
60
|
+
try {
|
|
61
|
+
let t = await h.load(e);
|
|
62
|
+
if (!t) return;
|
|
63
|
+
n.style.height = t.height * n.clientWidth / t.width + "px", o == null || o();
|
|
47
64
|
} catch {}
|
|
48
|
-
},
|
|
65
|
+
}, [t, o]);
|
|
66
|
+
(0, d.useEffect)(() => {
|
|
67
|
+
!s.current || !c.current || !i || l(e);
|
|
68
|
+
}, [
|
|
69
|
+
e,
|
|
70
|
+
i,
|
|
71
|
+
l
|
|
72
|
+
]);
|
|
73
|
+
let u = {
|
|
49
74
|
backgroundImage: `url("${e}")`,
|
|
50
75
|
backgroundSize: a,
|
|
51
76
|
backgroundRepeat: "no-repeat",
|
|
52
77
|
transition: i ? "all 0.5s ease 0s" : "none",
|
|
53
78
|
backgroundPosition: n
|
|
54
79
|
};
|
|
55
|
-
return /* @__PURE__ */ (0,
|
|
80
|
+
return /* @__PURE__ */ (0, p.jsx)("div", {
|
|
56
81
|
ref: c,
|
|
57
82
|
style: {
|
|
58
83
|
width: "100%",
|
|
59
84
|
height: i && !r ? "250px" : "100%"
|
|
60
85
|
},
|
|
61
|
-
children: /* @__PURE__ */ (0,
|
|
86
|
+
children: /* @__PURE__ */ (0, p.jsx)("div", {
|
|
62
87
|
ref: s,
|
|
63
|
-
className: "gallery__img",
|
|
64
|
-
style:
|
|
88
|
+
className: "efp-gallery__img",
|
|
89
|
+
style: u
|
|
65
90
|
})
|
|
66
91
|
});
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
92
|
+
}, _ = ({ url: e, index: t, itemLabel: n, position: r = "center", leading: i = !1, autoHeight: a = !1, fillMode: o, onClick: s, onImageLoadHeightUpdate: c }) => /* @__PURE__ */ (0, p.jsx)("button", {
|
|
93
|
+
type: "button",
|
|
94
|
+
className: "efp-gallery__item",
|
|
95
|
+
"aria-label": n(t),
|
|
96
|
+
onClick: s,
|
|
97
|
+
children: /* @__PURE__ */ (0, p.jsx)(g, {
|
|
98
|
+
position: r,
|
|
99
|
+
fillMode: o,
|
|
73
100
|
url: e,
|
|
74
|
-
leading:
|
|
75
|
-
|
|
76
|
-
onImageLoadHeightUpdate:
|
|
101
|
+
leading: i,
|
|
102
|
+
autoHeight: a,
|
|
103
|
+
onImageLoadHeightUpdate: c
|
|
77
104
|
})
|
|
78
|
-
}),
|
|
105
|
+
}), v = /* @__PURE__ */ t(o(), 1), y = function(e, t) {
|
|
79
106
|
return Number(e.toFixed(t));
|
|
80
|
-
},
|
|
107
|
+
}, b = function(e, t) {
|
|
81
108
|
return typeof e == "number" ? e : t;
|
|
82
|
-
},
|
|
109
|
+
}, x = function(e, t, n) {
|
|
83
110
|
n && typeof n == "function" && n(e, t);
|
|
84
|
-
},
|
|
111
|
+
}, S = {
|
|
85
112
|
easeOut: function(e) {
|
|
86
113
|
return -Math.cos(e * Math.PI) / 2 + .5;
|
|
87
114
|
},
|
|
@@ -124,35 +151,35 @@ var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(r(), 1), d = i(), f = (
|
|
|
124
151
|
easeInOutQuint: function(e) {
|
|
125
152
|
return e < .5 ? 16 * e * e * e * e * e : 1 + 16 * --e * e * e * e * e;
|
|
126
153
|
}
|
|
127
|
-
},
|
|
154
|
+
}, C = function(e) {
|
|
128
155
|
typeof e == "number" && cancelAnimationFrame(e);
|
|
129
|
-
},
|
|
130
|
-
e.mounted && (
|
|
156
|
+
}, w = function(e) {
|
|
157
|
+
e.mounted && (C(e.animation), e.animate = !1, e.animation = null, e.velocity = null);
|
|
131
158
|
};
|
|
132
|
-
function
|
|
159
|
+
function T(e, t, n, r) {
|
|
133
160
|
if (e.mounted) {
|
|
134
161
|
var i = (/* @__PURE__ */ new Date()).getTime(), a = 1;
|
|
135
|
-
|
|
136
|
-
if (!e.mounted) return
|
|
137
|
-
var o = (/* @__PURE__ */ new Date()).getTime() - i, s = o / n, c =
|
|
162
|
+
w(e), e.animation = function() {
|
|
163
|
+
if (!e.mounted) return C(e.animation);
|
|
164
|
+
var o = (/* @__PURE__ */ new Date()).getTime() - i, s = o / n, c = S[t], l = c(s);
|
|
138
165
|
o >= n ? (r(a), e.animation = null) : e.animation && (r(l), requestAnimationFrame(e.animation));
|
|
139
166
|
}, requestAnimationFrame(e.animation);
|
|
140
167
|
}
|
|
141
168
|
}
|
|
142
|
-
function
|
|
169
|
+
function E(e) {
|
|
143
170
|
var t = e.scale, n = e.positionX, r = e.positionY;
|
|
144
171
|
return !(Number.isNaN(t) || Number.isNaN(n) || Number.isNaN(r));
|
|
145
172
|
}
|
|
146
|
-
function
|
|
147
|
-
var i =
|
|
173
|
+
function D(e, t, n, r) {
|
|
174
|
+
var i = E(t);
|
|
148
175
|
if (!(!e.mounted || !i)) {
|
|
149
176
|
var a = e.setTransformState, o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY, u = t.scale - s, d = t.positionX - c, f = t.positionY - l;
|
|
150
|
-
n === 0 ? a(t.scale, t.positionX, t.positionY) :
|
|
177
|
+
n === 0 ? a(t.scale, t.positionX, t.positionY) : T(e, r, n, function(e) {
|
|
151
178
|
a(s + u * e, c + d * e, l + f * e);
|
|
152
179
|
});
|
|
153
180
|
}
|
|
154
181
|
}
|
|
155
|
-
function
|
|
182
|
+
function O(e, t, n) {
|
|
156
183
|
var r = e.offsetWidth, i = e.offsetHeight, a = t.offsetWidth, o = t.offsetHeight, s = a * n, c = o * n;
|
|
157
184
|
return {
|
|
158
185
|
wrapperWidth: r,
|
|
@@ -163,7 +190,7 @@ function E(e, t, n) {
|
|
|
163
190
|
newDiffHeight: i - c
|
|
164
191
|
};
|
|
165
192
|
}
|
|
166
|
-
var
|
|
193
|
+
var k = function(e, t, n, r, i, a, o) {
|
|
167
194
|
var s = e > t ? n * (o ? 1 : .5) : 0, c = r > i ? a * (o ? 1 : .5) : 0;
|
|
168
195
|
return {
|
|
169
196
|
minPositionX: e - t - s,
|
|
@@ -171,42 +198,42 @@ var ee = function(e, t, n, r, i, a, o) {
|
|
|
171
198
|
minPositionY: r - i - c,
|
|
172
199
|
maxPositionY: c
|
|
173
200
|
};
|
|
174
|
-
},
|
|
201
|
+
}, A = function(e, t) {
|
|
175
202
|
var n = e.wrapperComponent, r = e.contentComponent, i = e.setup.centerZoomedOut;
|
|
176
203
|
if (!n || !r) throw Error("Components are not mounted");
|
|
177
|
-
var a =
|
|
178
|
-
return
|
|
179
|
-
},
|
|
180
|
-
return
|
|
181
|
-
},
|
|
182
|
-
var n =
|
|
204
|
+
var a = O(n, r, t), o = a.wrapperWidth, s = a.wrapperHeight, c = a.newContentWidth, l = a.newDiffWidth, u = a.newContentHeight, d = a.newDiffHeight;
|
|
205
|
+
return k(o, c, l, s, u, d, !!i);
|
|
206
|
+
}, j = function(e, t, n, r) {
|
|
207
|
+
return y(r ? e < t ? t : e > n ? n : e : e, 2);
|
|
208
|
+
}, M = function(e, t) {
|
|
209
|
+
var n = A(e, t);
|
|
183
210
|
return e.bounds = n, n;
|
|
184
211
|
};
|
|
185
|
-
function
|
|
212
|
+
function N(e, t, n, r, i, a, o) {
|
|
186
213
|
var s = n.minPositionX, c = n.minPositionY, l = n.maxPositionX, u = n.maxPositionY, d = 0, f = 0;
|
|
187
214
|
return o && (d = i, f = a), {
|
|
188
|
-
x:
|
|
189
|
-
y:
|
|
215
|
+
x: j(e, s - d, l + d, r),
|
|
216
|
+
y: j(t, c - f, u + f, r)
|
|
190
217
|
};
|
|
191
218
|
}
|
|
192
|
-
function
|
|
219
|
+
function P(e, t, n, r, i, a) {
|
|
193
220
|
var o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY, u = r - s;
|
|
194
221
|
return typeof t != "number" || typeof n != "number" ? (console.error("Mouse X and Y position were not provided!"), {
|
|
195
222
|
x: c,
|
|
196
223
|
y: l
|
|
197
|
-
}) :
|
|
224
|
+
}) : N(c - t * u, l - n * u, i, a, 0, 0, null);
|
|
198
225
|
}
|
|
199
|
-
function
|
|
226
|
+
function F(e, t, n, r, i) {
|
|
200
227
|
var a = t - (i ? r : 0);
|
|
201
228
|
return !Number.isNaN(n) && e >= n ? n : !Number.isNaN(t) && e <= a ? a : e;
|
|
202
229
|
}
|
|
203
|
-
var
|
|
230
|
+
var ee = function(e, t) {
|
|
204
231
|
var n = e.setup.panning.excluded, r = e.isInitialized, i = e.wrapperComponent, a = t.composedPath()[0] || t.target, o = i == null ? void 0 : i.contains(a);
|
|
205
|
-
return !(!(r && a && o) ||
|
|
206
|
-
},
|
|
232
|
+
return !(!(r && a && o) || V(a, n));
|
|
233
|
+
}, te = function(e) {
|
|
207
234
|
var t = e.isInitialized, n = e.isPanning, r = e.setup.panning.disabled;
|
|
208
235
|
return !!(t && n && !r);
|
|
209
|
-
},
|
|
236
|
+
}, ne = function(e, t) {
|
|
210
237
|
var n = e.transformState, r = n.positionX, i = n.positionY;
|
|
211
238
|
e.isPanning = !0;
|
|
212
239
|
var a = t.clientX, o = t.clientY;
|
|
@@ -214,7 +241,7 @@ var N = function(e, t) {
|
|
|
214
241
|
x: a - r,
|
|
215
242
|
y: o - i
|
|
216
243
|
};
|
|
217
|
-
},
|
|
244
|
+
}, re = function(e, t) {
|
|
218
245
|
var n = t.touches, r = e.transformState, i = r.positionX, a = r.positionY;
|
|
219
246
|
if (e.isPanning = !0, n.length === 1) {
|
|
220
247
|
var o = n[0].clientX, s = n[0].clientY;
|
|
@@ -224,10 +251,10 @@ var N = function(e, t) {
|
|
|
224
251
|
};
|
|
225
252
|
}
|
|
226
253
|
};
|
|
227
|
-
function
|
|
254
|
+
function ie(e) {
|
|
228
255
|
var t = e.transformState, n = t.positionX, r = t.positionY, i = t.scale, a = e.setup, o = a.disabled, s = a.limitToBounds, c = a.centerZoomedOut, l = e.wrapperComponent;
|
|
229
256
|
if (!(o || !l || !e.bounds)) {
|
|
230
|
-
var u = e.bounds, d = u.maxPositionX, f = u.minPositionX, p = u.maxPositionY, m = u.minPositionY, h = n > d || n < f, g = r > p || r < m, _ =
|
|
257
|
+
var u = e.bounds, d = u.maxPositionX, f = u.minPositionX, p = u.maxPositionY, m = u.minPositionY, h = n > d || n < f, g = r > p || r < m, _ = P(e, n > d ? l.offsetWidth : e.setup.minPositionX || 0, r > p ? l.offsetHeight : e.setup.minPositionY || 0, i, e.bounds, s || c), v = _.x, y = _.y;
|
|
231
258
|
return {
|
|
232
259
|
scale: i,
|
|
233
260
|
positionX: h ? v : n,
|
|
@@ -235,14 +262,14 @@ function re(e) {
|
|
|
235
262
|
};
|
|
236
263
|
}
|
|
237
264
|
}
|
|
238
|
-
function
|
|
265
|
+
function ae(e, t, n, r, i) {
|
|
239
266
|
var a = e.setup.limitToBounds, o = e.wrapperComponent, s = e.bounds, c = e.transformState, l = c.scale, u = c.positionX, d = c.positionY;
|
|
240
267
|
if (!(o === null || s === null || t === u && n === d)) {
|
|
241
|
-
var f =
|
|
268
|
+
var f = N(t, n, s, a, r, i, o), p = f.x, m = f.y;
|
|
242
269
|
e.setTransformState(l, p, m);
|
|
243
270
|
}
|
|
244
271
|
}
|
|
245
|
-
var
|
|
272
|
+
var oe = function(e, t, n) {
|
|
246
273
|
var r = e.startCoords, i = e.transformState, a = e.setup.panning, o = a.lockAxisX, s = a.lockAxisY, c = i.positionX, l = i.positionY;
|
|
247
274
|
if (!r) return {
|
|
248
275
|
x: c,
|
|
@@ -253,7 +280,7 @@ var ae = function(e, t, n) {
|
|
|
253
280
|
x: o ? c : u,
|
|
254
281
|
y: s ? l : d
|
|
255
282
|
};
|
|
256
|
-
},
|
|
283
|
+
}, I = function(e, t) {
|
|
257
284
|
var n = e.setup, r = e.transformState.scale, i = n.minScale, a = n.disablePadding;
|
|
258
285
|
return t > 0 && r >= i && !a ? t : 0;
|
|
259
286
|
}, se = function(e) {
|
|
@@ -278,7 +305,7 @@ function ue(e, t, n, r, i, a, o, s, c, l) {
|
|
|
278
305
|
return u < s ? s : u > a ? a : u;
|
|
279
306
|
}
|
|
280
307
|
}
|
|
281
|
-
return r ? t :
|
|
308
|
+
return r ? t : j(e, a, o, i);
|
|
282
309
|
}
|
|
283
310
|
function de(e, t) {
|
|
284
311
|
var n = 1;
|
|
@@ -301,32 +328,32 @@ function fe(e, t) {
|
|
|
301
328
|
function pe(e) {
|
|
302
329
|
var t = e.velocity, n = e.bounds, r = e.setup, i = e.wrapperComponent;
|
|
303
330
|
if (!(!ce(e) || !t || !n || !i)) {
|
|
304
|
-
var a = t.velocityX, o = t.velocityY, s = t.total, c = n.maxPositionX, l = n.minPositionX, u = n.maxPositionY, d = n.minPositionY, f = r.limitToBounds, p = r.alignmentAnimation, m = r.zoomAnimation, h = r.panning, g = h.lockAxisY, _ = h.lockAxisX, v = m.animationType, y = p.sizeX,
|
|
305
|
-
|
|
306
|
-
var n = e.transformState, r = n.scale, i = n.positionX, s = n.positionY, m = ((/* @__PURE__ */ new Date()).getTime() -
|
|
307
|
-
(i !==
|
|
331
|
+
var a = t.velocityX, o = t.velocityY, s = t.total, c = n.maxPositionX, l = n.minPositionX, u = n.maxPositionY, d = n.minPositionY, f = r.limitToBounds, p = r.alignmentAnimation, m = r.zoomAnimation, h = r.panning, g = h.lockAxisY, _ = h.lockAxisX, v = m.animationType, y = p.sizeX, b = p.sizeY, x = p.velocityAlignmentTime, C = le(e, s), w = Math.max(C, x), E = I(e, y), D = I(e, b), O = E * i.offsetWidth / 100, k = D * i.offsetHeight / 100, A = c + O, j = l - O, M = u + k, N = d - k, P = e.transformState, F = (/* @__PURE__ */ new Date()).getTime();
|
|
332
|
+
T(e, v, w, function(t) {
|
|
333
|
+
var n = e.transformState, r = n.scale, i = n.positionX, s = n.positionY, m = ((/* @__PURE__ */ new Date()).getTime() - F) / x, h = S[p.animationType], v = 1 - h(Math.min(1, m)), y = 1 - t, b = i + a * y, C = s + o * y, w = ue(b, P.positionX, i, _, f, l, c, j, A, v), T = ue(C, P.positionY, s, g, f, d, u, N, M, v);
|
|
334
|
+
(i !== b || s !== C) && e.setTransformState(r, w, T);
|
|
308
335
|
});
|
|
309
336
|
}
|
|
310
337
|
}
|
|
311
338
|
function me(e, t) {
|
|
312
339
|
var n = e.transformState.scale;
|
|
313
|
-
|
|
340
|
+
w(e), M(e, n), window.TouchEvent !== void 0 && t instanceof TouchEvent ? re(e, t) : ne(e, t);
|
|
314
341
|
}
|
|
315
342
|
function he(e) {
|
|
316
343
|
var t = e.transformState.scale, n = e.setup, r = n.minScale, i = n.alignmentAnimation, a = i.disabled, o = i.sizeX, s = i.sizeY, c = i.animationTime, l = i.animationType;
|
|
317
344
|
if (!(a || t < r || !o && !s)) {
|
|
318
|
-
var u =
|
|
319
|
-
u &&
|
|
345
|
+
var u = ie(e);
|
|
346
|
+
u && D(e, u, c, l);
|
|
320
347
|
}
|
|
321
348
|
}
|
|
322
349
|
function ge(e, t, n) {
|
|
323
350
|
var r = e.startCoords, i = e.setup.alignmentAnimation, a = i.sizeX, o = i.sizeY;
|
|
324
351
|
if (r) {
|
|
325
|
-
var s =
|
|
352
|
+
var s = oe(e, t, n), c = s.x, l = s.y, u = I(e, a), d = I(e, o);
|
|
326
353
|
fe(e, {
|
|
327
354
|
x: c,
|
|
328
355
|
y: l
|
|
329
|
-
}),
|
|
356
|
+
}), ae(e, c, l, u, d);
|
|
330
357
|
}
|
|
331
358
|
}
|
|
332
359
|
function _e(e) {
|
|
@@ -338,7 +365,7 @@ function _e(e) {
|
|
|
338
365
|
}
|
|
339
366
|
}
|
|
340
367
|
function ve(e, t, n, r) {
|
|
341
|
-
var i = e.setup, a = i.minScale, o = i.maxScale, s = i.limitToBounds, c =
|
|
368
|
+
var i = e.setup, a = i.minScale, o = i.maxScale, s = i.limitToBounds, c = F(y(t, 2), a, o, 0, !1), l = P(e, n, r, c, M(e, c), s);
|
|
342
369
|
return {
|
|
343
370
|
scale: c,
|
|
344
371
|
positionX: l.x,
|
|
@@ -349,25 +376,25 @@ function ye(e, t, n) {
|
|
|
349
376
|
var r = e.transformState.scale, i = e.wrapperComponent, a = e.setup, o = a.minScale, s = a.limitToBounds, c = a.zoomAnimation, l = c.disabled, u = c.animationTime, d = c.animationType, f = l || r >= o;
|
|
350
377
|
if ((r >= 1 || s) && he(e), !(f || !i || !e.mounted)) {
|
|
351
378
|
var p = ve(e, o, t || i.offsetWidth / 2, n || i.offsetHeight / 2);
|
|
352
|
-
p &&
|
|
379
|
+
p && D(e, p, u, d);
|
|
353
380
|
}
|
|
354
381
|
}
|
|
355
|
-
var
|
|
356
|
-
return
|
|
382
|
+
var L = function() {
|
|
383
|
+
return L = Object.assign || function(e) {
|
|
357
384
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
358
385
|
return e;
|
|
359
|
-
},
|
|
386
|
+
}, L.apply(this, arguments);
|
|
360
387
|
};
|
|
361
388
|
function be(e, t, n) {
|
|
362
389
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
363
390
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
364
391
|
}
|
|
365
|
-
var
|
|
392
|
+
var R = {
|
|
366
393
|
previousScale: 1,
|
|
367
394
|
scale: 1,
|
|
368
395
|
positionX: 0,
|
|
369
396
|
positionY: 0
|
|
370
|
-
},
|
|
397
|
+
}, z = {
|
|
371
398
|
disabled: !1,
|
|
372
399
|
minPositionX: null,
|
|
373
400
|
maxPositionX: null,
|
|
@@ -432,41 +459,41 @@ var I = {
|
|
|
432
459
|
}, xe = function(e) {
|
|
433
460
|
var t, n, r, i;
|
|
434
461
|
return {
|
|
435
|
-
previousScale: (t = e.initialScale) == null ?
|
|
436
|
-
scale: (n = e.initialScale) == null ?
|
|
437
|
-
positionX: (r = e.initialPositionX) == null ?
|
|
438
|
-
positionY: (i = e.initialPositionY) == null ?
|
|
462
|
+
previousScale: (t = e.initialScale) == null ? R.scale : t,
|
|
463
|
+
scale: (n = e.initialScale) == null ? R.scale : n,
|
|
464
|
+
positionX: (r = e.initialPositionX) == null ? R.positionX : r,
|
|
465
|
+
positionY: (i = e.initialPositionY) == null ? R.positionY : i
|
|
439
466
|
};
|
|
440
467
|
}, Se = function(e) {
|
|
441
|
-
var t =
|
|
468
|
+
var t = L({}, z);
|
|
442
469
|
return Object.keys(e).forEach(function(n) {
|
|
443
470
|
var r = e[n] !== void 0;
|
|
444
|
-
if (
|
|
445
|
-
var i = Object.prototype.toString.call(
|
|
446
|
-
i === "[object Object]" ? t[n] =
|
|
471
|
+
if (z[n] !== void 0 && r) {
|
|
472
|
+
var i = Object.prototype.toString.call(z[n]);
|
|
473
|
+
i === "[object Object]" ? t[n] = L(L({}, z[n]), e[n]) : i === "[object Array]" ? t[n] = be(be([], z[n], !0), e[n], !0) : t[n] = e[n];
|
|
447
474
|
}
|
|
448
475
|
}), t;
|
|
449
476
|
}, Ce = function(e, t, n) {
|
|
450
477
|
var r = e.transformState.scale, i = e.wrapperComponent, a = e.setup, o = a.maxScale, s = a.minScale, c = a.zoomAnimation.size;
|
|
451
478
|
if (!i) throw Error("Wrapper is not mounted");
|
|
452
|
-
return
|
|
479
|
+
return F(y(r * Math.exp(t * n), 3), s, o, c, !1);
|
|
453
480
|
};
|
|
454
481
|
function we(e, t, n, r, i) {
|
|
455
482
|
var a = e.wrapperComponent, o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY;
|
|
456
483
|
if (!a) return console.error("No WrapperComponent found");
|
|
457
484
|
var u = a.offsetWidth, d = a.offsetHeight, f = (u / 2 - c) / s, p = (d / 2 - l) / s, m = ve(e, Ce(e, t, n), f, p);
|
|
458
485
|
if (!m) return console.error("Error during zoom event. New transformation state was not calculated.");
|
|
459
|
-
|
|
486
|
+
D(e, m, r, i);
|
|
460
487
|
}
|
|
461
488
|
function Te(e, t, n, r) {
|
|
462
489
|
var i = e.setup, a = e.wrapperComponent, o = i.limitToBounds, s = xe(e.props), c = e.transformState, l = c.scale, u = c.positionX, d = c.positionY;
|
|
463
490
|
if (a) {
|
|
464
|
-
var f =
|
|
491
|
+
var f = A(e, s.scale), p = N(s.positionX, s.positionY, f, o, 0, 0, a), m = {
|
|
465
492
|
scale: s.scale,
|
|
466
493
|
positionX: p.x,
|
|
467
494
|
positionY: p.y
|
|
468
495
|
};
|
|
469
|
-
l === s.scale && u === s.positionX && d === s.positionY || (r == null || r(),
|
|
496
|
+
l === s.scale && u === s.positionX && d === s.positionY || (r == null || r(), D(e, m, t, n));
|
|
470
497
|
}
|
|
471
498
|
}
|
|
472
499
|
function Ee(e, t, n, r) {
|
|
@@ -479,7 +506,7 @@ function Ee(e, t, n, r) {
|
|
|
479
506
|
function De(e, t, n) {
|
|
480
507
|
var r = e.wrapperComponent, i = e.contentComponent, a = e.transformState, o = e.setup, s = o.limitToBounds, c = o.minScale, l = o.maxScale;
|
|
481
508
|
if (!r || !i) return a;
|
|
482
|
-
var u = r.getBoundingClientRect(), d = t.getBoundingClientRect(), f = Ee(t, r, i, a), p = f.x, m = f.y, h = d.width / a.scale, g = d.height / a.scale, _ = r.offsetWidth / h, v = r.offsetHeight / g, y =
|
|
509
|
+
var u = r.getBoundingClientRect(), d = t.getBoundingClientRect(), f = Ee(t, r, i, a), p = f.x, m = f.y, h = d.width / a.scale, g = d.height / a.scale, _ = r.offsetWidth / h, v = r.offsetHeight / g, y = F(n || Math.min(_, v), c, l, 0, !1), b = (u.width - h * y) / 2, x = (u.height - g * y) / 2, S = N((u.left - p) * y + b, (u.top - m) * y + x, A(e, y), s, 0, 0, r);
|
|
483
510
|
return {
|
|
484
511
|
positionX: S.x,
|
|
485
512
|
positionY: S.y,
|
|
@@ -498,7 +525,7 @@ var Oe = function(e) {
|
|
|
498
525
|
return function(t, n, r, i, a) {
|
|
499
526
|
i === void 0 && (i = 300), a === void 0 && (a = "easeOut");
|
|
500
527
|
var o = e.transformState, s = o.positionX, c = o.positionY, l = o.scale, u = e.wrapperComponent, d = e.contentComponent;
|
|
501
|
-
e.setup.disabled || !u || !d ||
|
|
528
|
+
e.setup.disabled || !u || !d || D(e, {
|
|
502
529
|
positionX: Number.isNaN(t) ? s : t,
|
|
503
530
|
positionY: Number.isNaN(n) ? c : n,
|
|
504
531
|
scale: Number.isNaN(r) ? l : r
|
|
@@ -512,13 +539,13 @@ var Oe = function(e) {
|
|
|
512
539
|
return function(t, n, r) {
|
|
513
540
|
n === void 0 && (n = 200), r === void 0 && (r = "easeOut");
|
|
514
541
|
var i = e.transformState, a = e.wrapperComponent, o = e.contentComponent;
|
|
515
|
-
a && o &&
|
|
542
|
+
a && o && D(e, Be(t || i.scale, a, o), n, r);
|
|
516
543
|
};
|
|
517
544
|
}, Ne = function(e) {
|
|
518
545
|
return function(t, n, r, i) {
|
|
519
|
-
r === void 0 && (r = 600), i === void 0 && (i = "easeOut"),
|
|
546
|
+
r === void 0 && (r = 600), i === void 0 && (i = "easeOut"), w(e);
|
|
520
547
|
var a = e.wrapperComponent, o = typeof t == "string" ? document.getElementById(t) : t;
|
|
521
|
-
a && o && a.contains(o) &&
|
|
548
|
+
a && o && a.contains(o) && D(e, De(e, o, n), r, i);
|
|
522
549
|
};
|
|
523
550
|
}, Pe = function(e) {
|
|
524
551
|
return {
|
|
@@ -535,7 +562,7 @@ var Oe = function(e) {
|
|
|
535
562
|
instance: e,
|
|
536
563
|
state: e.transformState
|
|
537
564
|
};
|
|
538
|
-
},
|
|
565
|
+
}, B = function(e) {
|
|
539
566
|
var t = {};
|
|
540
567
|
return Object.assign(t, Fe(e)), Object.assign(t, Pe(e)), t;
|
|
541
568
|
}, Ie = !1;
|
|
@@ -548,7 +575,7 @@ function Le() {
|
|
|
548
575
|
return Ie = !1, Ie;
|
|
549
576
|
}
|
|
550
577
|
}
|
|
551
|
-
var
|
|
578
|
+
var V = function(e, t) {
|
|
552
579
|
var n = e.tagName.toUpperCase();
|
|
553
580
|
return !!(t.find(function(e) {
|
|
554
581
|
return e.toUpperCase() === n;
|
|
@@ -576,12 +603,12 @@ function Ve(e) {
|
|
|
576
603
|
}
|
|
577
604
|
var He = function(e, t) {
|
|
578
605
|
var n = e.setup.wheel, r = n.disabled, i = n.wheelDisabled, a = n.touchPadDisabled, o = n.excluded, s = e.isInitialized, c = e.isPanning, l = t.target;
|
|
579
|
-
return !(!(s && !c && !r && l) || i && !t.ctrlKey || a && t.ctrlKey ||
|
|
606
|
+
return !(!(s && !c && !r && l) || i && !t.ctrlKey || a && t.ctrlKey || V(l, o));
|
|
580
607
|
}, Ue = function(e) {
|
|
581
608
|
return e ? e.deltaY < 0 ? 1 : -1 : 0;
|
|
582
609
|
};
|
|
583
610
|
function We(e, t) {
|
|
584
|
-
return
|
|
611
|
+
return b(t, Ue(e));
|
|
585
612
|
}
|
|
586
613
|
function Ge(e, t, n) {
|
|
587
614
|
var r = t.getBoundingClientRect(), i = 0, a = 0;
|
|
@@ -601,18 +628,18 @@ var Ke = function(e, t, n, r, i) {
|
|
|
601
628
|
var m = a + t * (a - a * n) * n;
|
|
602
629
|
if (i) return m;
|
|
603
630
|
var h = !r && !p;
|
|
604
|
-
return
|
|
631
|
+
return F(y(m, 3), l, c, f, h && !d);
|
|
605
632
|
}, qe = function(e, t) {
|
|
606
633
|
var n = e.previousWheelEvent, r = e.transformState.scale, i = e.setup, a = i.maxScale, o = i.minScale;
|
|
607
634
|
return n ? r < a || r > o || Math.sign(n.deltaY) !== Math.sign(t.deltaY) || n.deltaY > 0 && n.deltaY < t.deltaY || n.deltaY < 0 && n.deltaY > t.deltaY || Math.sign(n.deltaY) !== Math.sign(t.deltaY) : !1;
|
|
608
635
|
}, Je = function(e, t) {
|
|
609
636
|
var n = e.setup.pinch, r = n.disabled, i = n.excluded, a = e.isInitialized, o = t.target;
|
|
610
|
-
return !(!(a && !r && o) ||
|
|
637
|
+
return !(!(a && !r && o) || V(o, i));
|
|
611
638
|
}, Ye = function(e) {
|
|
612
639
|
var t = e.setup.pinch.disabled, n = e.isInitialized, r = e.pinchStartDistance;
|
|
613
640
|
return !!(n && !t && r);
|
|
614
641
|
}, Xe = function(e, t, n) {
|
|
615
|
-
var r = n.getBoundingClientRect(), i = e.touches, a =
|
|
642
|
+
var r = n.getBoundingClientRect(), i = e.touches, a = y(i[0].clientX - r.left, 5), o = y(i[0].clientY - r.top, 5), s = y(i[1].clientX - r.left, 5), c = y(i[1].clientY - r.top, 5);
|
|
616
643
|
return {
|
|
617
644
|
x: (a + s) / 2 / t,
|
|
618
645
|
y: (o + c) / 2 / t
|
|
@@ -622,29 +649,29 @@ var Ke = function(e, t, n, r, i) {
|
|
|
622
649
|
}, Qe = function(e, t) {
|
|
623
650
|
var n = e.pinchStartScale, r = e.pinchStartDistance, i = e.setup, a = i.maxScale, o = i.minScale, s = i.zoomAnimation, c = i.disablePadding, l = s.size, u = s.disabled;
|
|
624
651
|
if (!n || r === null || !t) throw Error("Pinch touches distance was not provided");
|
|
625
|
-
return t < 0 ? e.transformState.scale :
|
|
652
|
+
return t < 0 ? e.transformState.scale : F(y(t / r * n, 2), o, a, l, !u && !c);
|
|
626
653
|
}, $e = 160, et = 100, tt = function(e, t) {
|
|
627
654
|
var n = e.props, r = n.onWheelStart, i = n.onZoomStart;
|
|
628
|
-
e.wheelStopEventTimer || (
|
|
655
|
+
e.wheelStopEventTimer || (w(e), x(B(e), t, r), x(B(e), t, i));
|
|
629
656
|
}, nt = function(e, t) {
|
|
630
657
|
var n = e.props, r = n.onWheel, i = n.onZoom, a = e.contentComponent, o = e.setup, s = e.transformState.scale, c = o.limitToBounds, l = o.centerZoomedOut, u = o.zoomAnimation, d = o.wheel, f = o.disablePadding, p = u.size, m = u.disabled, h = d.step;
|
|
631
658
|
if (!a) throw Error("Component not mounted");
|
|
632
659
|
t.preventDefault(), t.stopPropagation();
|
|
633
660
|
var g = Ke(e, We(t, null), h, !t.ctrlKey);
|
|
634
661
|
if (s !== g) {
|
|
635
|
-
var _ =
|
|
636
|
-
e.previousWheelEvent = t, e.setTransformState(g, S, C),
|
|
662
|
+
var _ = M(e, g), v = Ge(t, a, s), y = c && (m || p === 0 || l || f), b = P(e, v.x, v.y, g, _, y), S = b.x, C = b.y;
|
|
663
|
+
e.previousWheelEvent = t, e.setTransformState(g, S, C), x(B(e), t, r), x(B(e), t, i);
|
|
637
664
|
}
|
|
638
665
|
}, rt = function(e, t) {
|
|
639
666
|
var n = e.props, r = n.onWheelStop, i = n.onZoomStop;
|
|
640
667
|
Re(e.wheelAnimationTimer), e.wheelAnimationTimer = setTimeout(function() {
|
|
641
668
|
e.mounted && (ye(e, t.x, t.y), e.wheelAnimationTimer = null);
|
|
642
669
|
}, et), qe(e, t) && (Re(e.wheelStopEventTimer), e.wheelStopEventTimer = setTimeout(function() {
|
|
643
|
-
e.mounted && (e.wheelStopEventTimer = null,
|
|
670
|
+
e.mounted && (e.wheelStopEventTimer = null, x(B(e), t, r), x(B(e), t, i));
|
|
644
671
|
}, $e));
|
|
645
672
|
}, it = function(e, t) {
|
|
646
673
|
var n = Ze(t);
|
|
647
|
-
e.pinchStartDistance = n, e.lastDistance = n, e.pinchStartScale = e.transformState.scale, e.isPanning = !1,
|
|
674
|
+
e.pinchStartDistance = n, e.lastDistance = n, e.pinchStartScale = e.transformState.scale, e.isPanning = !1, w(e);
|
|
648
675
|
}, at = function(e, t) {
|
|
649
676
|
var n = e.contentComponent, r = e.pinchStartDistance, i = e.transformState.scale, a = e.setup, o = a.limitToBounds, s = a.centerZoomedOut, c = a.zoomAnimation, l = c.disabled, u = c.size;
|
|
650
677
|
if (!(r === null || !n)) {
|
|
@@ -652,7 +679,7 @@ var Ke = function(e, t, n, r, i) {
|
|
|
652
679
|
if (!(!Number.isFinite(d.x) || !Number.isFinite(d.y))) {
|
|
653
680
|
var f = Ze(t), p = Qe(e, f);
|
|
654
681
|
if (p !== i) {
|
|
655
|
-
var m =
|
|
682
|
+
var m = M(e, p), h = o && (l || u === 0 || s), g = P(e, d.x, d.y, p, m, h), _ = g.x, v = g.y;
|
|
656
683
|
e.pinchMidpoint = d, e.lastDistance = f, e.setTransformState(p, _, v);
|
|
657
684
|
}
|
|
658
685
|
}
|
|
@@ -663,12 +690,12 @@ var Ke = function(e, t, n, r, i) {
|
|
|
663
690
|
}, st = function(e, t) {
|
|
664
691
|
var n = e.props.onZoomStop, r = e.setup.doubleClick.animationTime;
|
|
665
692
|
Re(e.doubleClickStopEventTimer), e.doubleClickStopEventTimer = setTimeout(function() {
|
|
666
|
-
e.doubleClickStopEventTimer = null,
|
|
693
|
+
e.doubleClickStopEventTimer = null, x(B(e), t, n);
|
|
667
694
|
}, r);
|
|
668
695
|
}, ct = function(e, t) {
|
|
669
696
|
var n = e.props, r = n.onZoomStart, i = n.onZoom, a = e.setup.doubleClick, o = a.animationTime, s = a.animationType;
|
|
670
|
-
|
|
671
|
-
return
|
|
697
|
+
x(B(e), t, r), Te(e, o, s, function() {
|
|
698
|
+
return x(B(e), t, i);
|
|
672
699
|
}), st(e, t);
|
|
673
700
|
};
|
|
674
701
|
function lt(e, t) {
|
|
@@ -678,16 +705,16 @@ function lt(e, t) {
|
|
|
678
705
|
if (!a) return console.error("No ContentComponent found");
|
|
679
706
|
var g = Ce(e, f === "zoomOut" ? -1 : 1, p);
|
|
680
707
|
if (o !== g) {
|
|
681
|
-
|
|
708
|
+
x(B(e), t, c);
|
|
682
709
|
var _ = Ge(t, a, o), v = ve(e, g, _.x, _.y);
|
|
683
710
|
if (!v) return console.error("Error during zoom event. New transformation state was not calculated.");
|
|
684
|
-
|
|
711
|
+
x(B(e), t, l), D(e, v, m, h), st(e, t);
|
|
685
712
|
}
|
|
686
713
|
}
|
|
687
714
|
}
|
|
688
715
|
var ut = function(e, t) {
|
|
689
716
|
var n = e.isInitialized, r = e.setup, i = e.wrapperComponent, a = r.doubleClick, o = a.disabled, s = a.excluded, c = t.target, l = i == null ? void 0 : i.contains(c);
|
|
690
|
-
return !(!(n && c && l && !o) ||
|
|
717
|
+
return !(!(n && c && l && !o) || V(c, s));
|
|
691
718
|
}, dt = function() {
|
|
692
719
|
function e(e) {
|
|
693
720
|
var t = this;
|
|
@@ -696,61 +723,61 @@ var ut = function(e, t) {
|
|
|
696
723
|
}, this.unmount = function() {
|
|
697
724
|
t.cleanupWindowEvents();
|
|
698
725
|
}, this.update = function(e) {
|
|
699
|
-
|
|
726
|
+
M(t, t.transformState.scale), t.setup = Se(e);
|
|
700
727
|
}, this.initializeWindowEvents = function() {
|
|
701
728
|
var e, n = Le(), r = (e = t.wrapperComponent) == null ? void 0 : e.ownerDocument, i = r == null ? void 0 : r.defaultView;
|
|
702
729
|
i == null || i.addEventListener("mousedown", t.onPanningStart, n), i == null || i.addEventListener("mousemove", t.onPanning, n), i == null || i.addEventListener("mouseup", t.onPanningStop, n), r == null || r.addEventListener("mouseleave", t.clearPanning, n), i == null || i.addEventListener("keyup", t.setKeyUnPressed, n), i == null || i.addEventListener("keydown", t.setKeyPressed, n);
|
|
703
730
|
}, this.cleanupWindowEvents = function() {
|
|
704
731
|
var e, n, r = Le(), i = (e = t.wrapperComponent) == null ? void 0 : e.ownerDocument, a = i == null ? void 0 : i.defaultView;
|
|
705
|
-
a == null || a.removeEventListener("mousedown", t.onPanningStart, r), a == null || a.removeEventListener("mousemove", t.onPanning, r), a == null || a.removeEventListener("mouseup", t.onPanningStop, r), i == null || i.removeEventListener("mouseleave", t.clearPanning, r), a == null || a.removeEventListener("keyup", t.setKeyUnPressed, r), a == null || a.removeEventListener("keydown", t.setKeyPressed, r), document.removeEventListener("mouseleave", t.clearPanning, r),
|
|
732
|
+
a == null || a.removeEventListener("mousedown", t.onPanningStart, r), a == null || a.removeEventListener("mousemove", t.onPanning, r), a == null || a.removeEventListener("mouseup", t.onPanningStop, r), i == null || i.removeEventListener("mouseleave", t.clearPanning, r), a == null || a.removeEventListener("keyup", t.setKeyUnPressed, r), a == null || a.removeEventListener("keydown", t.setKeyPressed, r), document.removeEventListener("mouseleave", t.clearPanning, r), w(t), (n = t.observer) == null || n.disconnect();
|
|
706
733
|
}, this.handleInitializeWrapperEvents = function(e) {
|
|
707
734
|
var n = Le();
|
|
708
735
|
e.addEventListener("wheel", t.onWheelZoom, n), e.addEventListener("dblclick", t.onDoubleClick, n), e.addEventListener("touchstart", t.onTouchPanningStart, n), e.addEventListener("touchmove", t.onTouchPanning, n), e.addEventListener("touchend", t.onTouchPanningStop, n);
|
|
709
736
|
}, this.handleInitialize = function(e) {
|
|
710
737
|
var n = t.setup.centerOnInit;
|
|
711
738
|
t.applyTransformation(), t.onInitCallbacks.forEach(function(e) {
|
|
712
|
-
return e(
|
|
739
|
+
return e(B(t));
|
|
713
740
|
}), n && (t.setCenter(), t.observer = new ResizeObserver(function() {
|
|
714
741
|
var e;
|
|
715
742
|
t.onInitCallbacks.forEach(function(e) {
|
|
716
|
-
return e(
|
|
743
|
+
return e(B(t));
|
|
717
744
|
}), t.setCenter(), (e = t.observer) == null || e.disconnect();
|
|
718
745
|
}), t.observer.observe(e));
|
|
719
746
|
}, this.onWheelZoom = function(e) {
|
|
720
747
|
t.setup.disabled || He(t, e) && t.isPressingKeys(t.setup.wheel.activationKeys) && (tt(t, e), nt(t, e), rt(t, e));
|
|
721
748
|
}, this.onPanningStart = function(e) {
|
|
722
749
|
var n = t.setup.disabled, r = t.props.onPanningStart;
|
|
723
|
-
n ||
|
|
750
|
+
n || ee(t, e) && t.isPressingKeys(t.setup.panning.activationKeys) && (e.preventDefault(), e.stopPropagation(), w(t), me(t, e), x(B(t), e, r));
|
|
724
751
|
}, this.onPanning = function(e) {
|
|
725
752
|
var n = t.setup.disabled, r = t.props.onPanning;
|
|
726
|
-
n ||
|
|
753
|
+
n || te(t) && t.isPressingKeys(t.setup.panning.activationKeys) && (e.preventDefault(), e.stopPropagation(), ge(t, e.clientX, e.clientY), x(B(t), e, r));
|
|
727
754
|
}, this.onPanningStop = function(e) {
|
|
728
755
|
var n = t.props.onPanningStop;
|
|
729
|
-
t.isPanning && (_e(t),
|
|
756
|
+
t.isPanning && (_e(t), x(B(t), e, n));
|
|
730
757
|
}, this.onPinchStart = function(e) {
|
|
731
758
|
var n = t.setup.disabled, r = t.props, i = r.onPinchingStart, a = r.onZoomStart;
|
|
732
|
-
n || Je(t, e) && (it(t, e),
|
|
759
|
+
n || Je(t, e) && (it(t, e), w(t), x(B(t), e, i), x(B(t), e, a));
|
|
733
760
|
}, this.onPinch = function(e) {
|
|
734
761
|
var n = t.setup.disabled, r = t.props, i = r.onPinching, a = r.onZoom;
|
|
735
|
-
n || Ye(t) && (e.preventDefault(), e.stopPropagation(), at(t, e),
|
|
762
|
+
n || Ye(t) && (e.preventDefault(), e.stopPropagation(), at(t, e), x(B(t), e, i), x(B(t), e, a));
|
|
736
763
|
}, this.onPinchStop = function(e) {
|
|
737
764
|
var n = t.props, r = n.onPinchingStop, i = n.onZoomStop;
|
|
738
|
-
t.pinchStartScale && (ot(t),
|
|
765
|
+
t.pinchStartScale && (ot(t), x(B(t), e, r), x(B(t), e, i));
|
|
739
766
|
}, this.onTouchPanningStart = function(e) {
|
|
740
767
|
var n = t.setup.disabled, r = t.props.onPanningStart;
|
|
741
|
-
if (!n &&
|
|
768
|
+
if (!n && ee(t, e)) if (t.lastTouch && +/* @__PURE__ */ new Date() - t.lastTouch < 200 && e.touches.length === 1) t.onDoubleClick(e);
|
|
742
769
|
else {
|
|
743
|
-
t.lastTouch = +/* @__PURE__ */ new Date(),
|
|
770
|
+
t.lastTouch = +/* @__PURE__ */ new Date(), w(t);
|
|
744
771
|
var i = e.touches, a = i.length === 1, o = i.length === 2;
|
|
745
|
-
a && (
|
|
772
|
+
a && (w(t), me(t, e), x(B(t), e, r)), o && t.onPinchStart(e);
|
|
746
773
|
}
|
|
747
774
|
}, this.onTouchPanning = function(e) {
|
|
748
775
|
var n = t.setup.disabled, r = t.props.onPanning;
|
|
749
776
|
if (t.isPanning && e.touches.length === 1) {
|
|
750
|
-
if (n || !
|
|
777
|
+
if (n || !te(t)) return;
|
|
751
778
|
e.preventDefault(), e.stopPropagation();
|
|
752
779
|
var i = e.touches[0];
|
|
753
|
-
ge(t, i.clientX, i.clientY),
|
|
780
|
+
ge(t, i.clientX, i.clientY), x(B(t), e, r);
|
|
754
781
|
} else e.touches.length > 1 && t.onPinch(e);
|
|
755
782
|
}, this.onTouchPanningStop = function(e) {
|
|
756
783
|
t.onPanningStop(e), t.onPinchStop(e);
|
|
@@ -770,10 +797,10 @@ var ut = function(e, t) {
|
|
|
770
797
|
var i = t.props.onTransformed;
|
|
771
798
|
if (!Number.isNaN(e) && !Number.isNaN(n) && !Number.isNaN(r)) {
|
|
772
799
|
e !== t.transformState.scale && (t.transformState.previousScale = t.transformState.scale, t.transformState.scale = e), t.transformState.positionX = n, t.transformState.positionY = r, t.applyTransformation();
|
|
773
|
-
var a =
|
|
800
|
+
var a = B(t);
|
|
774
801
|
t.onChangeCallbacks.forEach(function(e) {
|
|
775
802
|
return e(a);
|
|
776
|
-
}),
|
|
803
|
+
}), x(a, {
|
|
777
804
|
scale: e,
|
|
778
805
|
positionX: n,
|
|
779
806
|
positionY: r
|
|
@@ -792,7 +819,7 @@ var ut = function(e, t) {
|
|
|
792
819
|
t.contentComponent.style.transform = a;
|
|
793
820
|
}
|
|
794
821
|
}, this.getContext = function() {
|
|
795
|
-
return
|
|
822
|
+
return B(t);
|
|
796
823
|
}, this.onChange = function(e) {
|
|
797
824
|
return t.onChangeCallbacks.has(e) || t.onChangeCallbacks.add(e), function() {
|
|
798
825
|
t.onChangeCallbacks.delete(e);
|
|
@@ -802,30 +829,30 @@ var ut = function(e, t) {
|
|
|
802
829
|
t.onInitCallbacks.delete(e);
|
|
803
830
|
};
|
|
804
831
|
}, this.init = function(e, n) {
|
|
805
|
-
t.cleanupWindowEvents(), t.wrapperComponent = e, t.contentComponent = n,
|
|
832
|
+
t.cleanupWindowEvents(), t.wrapperComponent = e, t.contentComponent = n, M(t, t.transformState.scale), t.handleInitializeWrapperEvents(e), t.handleInitialize(n), t.initializeWindowEvents(), t.isInitialized = !0, x(B(t), void 0, t.props.onInit);
|
|
806
833
|
}, this.props = e, this.setup = Se(this.props), this.transformState = xe(this.props);
|
|
807
834
|
}
|
|
808
835
|
return e;
|
|
809
|
-
}(),
|
|
836
|
+
}(), H = d.createContext(null), ft = function(e, t) {
|
|
810
837
|
return typeof e == "function" ? e(t) : e;
|
|
811
|
-
}, pt =
|
|
812
|
-
var n = (0,
|
|
813
|
-
return (0,
|
|
838
|
+
}, pt = d.forwardRef(function(e, t) {
|
|
839
|
+
var n = (0, d.useRef)(new dt(e)).current, r = ft(e.children, Pe(n));
|
|
840
|
+
return (0, d.useImperativeHandle)(t, function() {
|
|
814
841
|
return Pe(n);
|
|
815
|
-
}, [n]), (0,
|
|
842
|
+
}, [n]), (0, d.useEffect)(function() {
|
|
816
843
|
n.update(e);
|
|
817
|
-
}, [n, e]),
|
|
844
|
+
}, [n, e]), d.createElement(H.Provider, { value: n }, r);
|
|
818
845
|
});
|
|
819
|
-
|
|
820
|
-
var n = (0,
|
|
821
|
-
return (0,
|
|
846
|
+
d.forwardRef(function(e, t) {
|
|
847
|
+
var n = (0, d.useRef)(null), r = (0, d.useContext)(H);
|
|
848
|
+
return (0, d.useEffect)(function() {
|
|
822
849
|
return r.onChange(function(e) {
|
|
823
850
|
if (n.current) {
|
|
824
851
|
var t = 0, i = 0;
|
|
825
852
|
n.current.style.transform = r.handleTransformStyles(t, i, 1 / e.instance.transformState.scale);
|
|
826
853
|
}
|
|
827
854
|
});
|
|
828
|
-
}, [r]),
|
|
855
|
+
}, [r]), d.createElement("div", L({}, e, { ref: Ve([n, t]) }));
|
|
829
856
|
});
|
|
830
857
|
function mt(e, t) {
|
|
831
858
|
t === void 0 && (t = {});
|
|
@@ -841,26 +868,26 @@ var ht = ".transform-component-module_wrapper__SPB86 {\r\n position: relative;\
|
|
|
841
868
|
};
|
|
842
869
|
mt(ht);
|
|
843
870
|
var _t = function(e) {
|
|
844
|
-
var t = e.children, n = e.wrapperClass, r = n === void 0 ? "" : n, i = e.contentClass, a = i === void 0 ? "" : i, o = e.wrapperStyle, s = e.contentStyle, c = e.wrapperProps, l = c === void 0 ? {} : c,
|
|
845
|
-
return (0,
|
|
871
|
+
var t = e.children, n = e.wrapperClass, r = n === void 0 ? "" : n, i = e.contentClass, a = i === void 0 ? "" : i, o = e.wrapperStyle, s = e.contentStyle, c = e.wrapperProps, l = c === void 0 ? {} : c, u = e.contentProps, f = u === void 0 ? {} : u, p = (0, d.useContext)(H).init, m = (0, d.useRef)(null), h = (0, d.useRef)(null);
|
|
872
|
+
return (0, d.useEffect)(function() {
|
|
846
873
|
var e = m.current, t = h.current;
|
|
847
874
|
e !== null && t !== null && p && p(e, t);
|
|
848
|
-
}, []),
|
|
875
|
+
}, []), d.createElement("div", L({}, l, {
|
|
849
876
|
ref: m,
|
|
850
877
|
className: `react-transform-wrapper ${gt.wrapper} ${r}`,
|
|
851
878
|
style: o
|
|
852
|
-
}),
|
|
879
|
+
}), d.createElement("div", L({}, f, {
|
|
853
880
|
ref: h,
|
|
854
881
|
className: `react-transform-component ${gt.content} ${a}`,
|
|
855
882
|
style: s
|
|
856
883
|
}), t));
|
|
857
884
|
}, vt = function() {
|
|
858
|
-
var e = (0,
|
|
885
|
+
var e = (0, d.useContext)(H);
|
|
859
886
|
if (!e) throw Error("Transform context mus be placed inside TransformWrapper");
|
|
860
887
|
return e;
|
|
861
888
|
}, yt = function(e) {
|
|
862
889
|
var t = vt();
|
|
863
|
-
(0,
|
|
890
|
+
(0, d.useEffect)(function() {
|
|
864
891
|
var n, r = t.onChange(function(t) {
|
|
865
892
|
n = e(Fe(t.instance));
|
|
866
893
|
});
|
|
@@ -927,7 +954,7 @@ var St = {
|
|
|
927
954
|
search: ""
|
|
928
955
|
}
|
|
929
956
|
};
|
|
930
|
-
function
|
|
957
|
+
function U() {
|
|
931
958
|
let e = typeof document < "u" ? document : {};
|
|
932
959
|
return xt(e, St), e;
|
|
933
960
|
}
|
|
@@ -975,7 +1002,7 @@ var Ct = {
|
|
|
975
1002
|
typeof setTimeout > "u" || clearTimeout(e);
|
|
976
1003
|
}
|
|
977
1004
|
};
|
|
978
|
-
function
|
|
1005
|
+
function W() {
|
|
979
1006
|
let e = typeof window < "u" ? window : {};
|
|
980
1007
|
return xt(e, Ct), e;
|
|
981
1008
|
}
|
|
@@ -995,24 +1022,24 @@ function wt(e) {
|
|
|
995
1022
|
function Tt(e, t = 0) {
|
|
996
1023
|
return setTimeout(e, t);
|
|
997
1024
|
}
|
|
998
|
-
function
|
|
1025
|
+
function G() {
|
|
999
1026
|
return Date.now();
|
|
1000
1027
|
}
|
|
1001
1028
|
function Et(e) {
|
|
1002
|
-
let t =
|
|
1029
|
+
let t = W(), n;
|
|
1003
1030
|
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
|
|
1004
1031
|
}
|
|
1005
1032
|
function Dt(e, t = "x") {
|
|
1006
|
-
let n =
|
|
1033
|
+
let n = W(), r, i, a, o = Et(e, null);
|
|
1007
1034
|
return n.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((e) => e.replace(",", ".")).join(", ")), a = new n.WebKitCSSMatrix(i === "none" ? "" : i)) : (a = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = a.toString().split(",")), t === "x" && (i = n.WebKitCSSMatrix ? a.m41 : r.length === 16 ? parseFloat(r[12]) : parseFloat(r[4])), t === "y" && (i = n.WebKitCSSMatrix ? a.m42 : r.length === 16 ? parseFloat(r[13]) : parseFloat(r[5])), i || 0;
|
|
1008
1035
|
}
|
|
1009
|
-
function
|
|
1036
|
+
function K(e) {
|
|
1010
1037
|
return typeof e == "object" && !!e && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
1011
1038
|
}
|
|
1012
1039
|
function Ot(e) {
|
|
1013
1040
|
return typeof window < "u" && window.HTMLElement !== void 0 ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
1014
1041
|
}
|
|
1015
|
-
function
|
|
1042
|
+
function q(...e) {
|
|
1016
1043
|
let t = Object(e[0]), n = [
|
|
1017
1044
|
"__proto__",
|
|
1018
1045
|
"constructor",
|
|
@@ -1024,17 +1051,17 @@ function G(...e) {
|
|
|
1024
1051
|
let e = Object.keys(Object(i)).filter((e) => n.indexOf(e) < 0);
|
|
1025
1052
|
for (let n = 0, r = e.length; n < r; n += 1) {
|
|
1026
1053
|
let r = e[n], a = Object.getOwnPropertyDescriptor(i, r);
|
|
1027
|
-
a !== void 0 && a.enumerable && (
|
|
1054
|
+
a !== void 0 && a.enumerable && (K(t[r]) && K(i[r]) ? i[r].__swiper__ ? t[r] = i[r] : q(t[r], i[r]) : !K(t[r]) && K(i[r]) ? (t[r] = {}, i[r].__swiper__ ? t[r] = i[r] : q(t[r], i[r])) : t[r] = i[r]);
|
|
1028
1055
|
}
|
|
1029
1056
|
}
|
|
1030
1057
|
}
|
|
1031
1058
|
return t;
|
|
1032
1059
|
}
|
|
1033
|
-
function
|
|
1060
|
+
function kt(e, t, n) {
|
|
1034
1061
|
e.style.setProperty(t, n);
|
|
1035
1062
|
}
|
|
1036
|
-
function
|
|
1037
|
-
let r =
|
|
1063
|
+
function At({ swiper: e, targetPosition: t, side: n }) {
|
|
1064
|
+
let r = W(), i = -e.translate, a = null, o, s = e.params.speed;
|
|
1038
1065
|
e.wrapperEl.style.scrollSnapType = "none", r.cancelAnimationFrame(e.cssModeFrameID);
|
|
1039
1066
|
let c = t > i ? "next" : "prev", l = (e, t) => c === "next" && e >= t || c === "prev" && e <= t, u = () => {
|
|
1040
1067
|
o = (/* @__PURE__ */ new Date()).getTime(), a === null && (a = o);
|
|
@@ -1049,14 +1076,14 @@ function kt({ swiper: e, targetPosition: t, side: n }) {
|
|
|
1049
1076
|
};
|
|
1050
1077
|
u();
|
|
1051
1078
|
}
|
|
1052
|
-
function
|
|
1079
|
+
function J(e, t = "") {
|
|
1053
1080
|
return [...e.children].filter((e) => e.matches(t));
|
|
1054
1081
|
}
|
|
1055
|
-
function
|
|
1082
|
+
function jt(e, t = []) {
|
|
1056
1083
|
let n = document.createElement(e);
|
|
1057
1084
|
return n.classList.add(...Array.isArray(t) ? t : [t]), n;
|
|
1058
1085
|
}
|
|
1059
|
-
function
|
|
1086
|
+
function Mt(e, t) {
|
|
1060
1087
|
let n = [];
|
|
1061
1088
|
for (; e.previousElementSibling;) {
|
|
1062
1089
|
let r = e.previousElementSibling;
|
|
@@ -1064,7 +1091,7 @@ function jt(e, t) {
|
|
|
1064
1091
|
}
|
|
1065
1092
|
return n;
|
|
1066
1093
|
}
|
|
1067
|
-
function
|
|
1094
|
+
function Nt(e, t) {
|
|
1068
1095
|
let n = [];
|
|
1069
1096
|
for (; e.nextElementSibling;) {
|
|
1070
1097
|
let r = e.nextElementSibling;
|
|
@@ -1072,43 +1099,43 @@ function Mt(e, t) {
|
|
|
1072
1099
|
}
|
|
1073
1100
|
return n;
|
|
1074
1101
|
}
|
|
1075
|
-
function
|
|
1076
|
-
return
|
|
1102
|
+
function Y(e, t) {
|
|
1103
|
+
return W().getComputedStyle(e, null).getPropertyValue(t);
|
|
1077
1104
|
}
|
|
1078
|
-
function
|
|
1105
|
+
function Pt(e) {
|
|
1079
1106
|
let t = e, n;
|
|
1080
1107
|
if (t) {
|
|
1081
1108
|
for (n = 0; (t = t.previousSibling) !== null;) t.nodeType === 1 && (n += 1);
|
|
1082
1109
|
return n;
|
|
1083
1110
|
}
|
|
1084
1111
|
}
|
|
1085
|
-
function
|
|
1112
|
+
function Ft(e, t) {
|
|
1086
1113
|
let n = [], r = e.parentElement;
|
|
1087
1114
|
for (; r;) t ? r.matches(t) && n.push(r) : n.push(r), r = r.parentElement;
|
|
1088
1115
|
return n;
|
|
1089
1116
|
}
|
|
1090
|
-
function
|
|
1091
|
-
let r =
|
|
1117
|
+
function It(e, t, n) {
|
|
1118
|
+
let r = W();
|
|
1092
1119
|
return n ? e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom")) : e.offsetWidth;
|
|
1093
1120
|
}
|
|
1094
1121
|
//#endregion
|
|
1095
1122
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-support.js
|
|
1096
|
-
var
|
|
1097
|
-
function
|
|
1098
|
-
let e =
|
|
1123
|
+
var Lt;
|
|
1124
|
+
function Rt() {
|
|
1125
|
+
let e = W(), t = U();
|
|
1099
1126
|
return {
|
|
1100
1127
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
1101
1128
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
1102
1129
|
};
|
|
1103
1130
|
}
|
|
1104
|
-
function
|
|
1105
|
-
return
|
|
1131
|
+
function zt() {
|
|
1132
|
+
return Lt || (Lt = Rt()), Lt;
|
|
1106
1133
|
}
|
|
1107
1134
|
//#endregion
|
|
1108
1135
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-device.js
|
|
1109
|
-
var
|
|
1110
|
-
function
|
|
1111
|
-
let t =
|
|
1136
|
+
var Bt;
|
|
1137
|
+
function Vt({ userAgent: e } = {}) {
|
|
1138
|
+
let t = zt(), n = W(), r = n.navigator.platform, i = e || n.navigator.userAgent, a = {
|
|
1112
1139
|
ios: !1,
|
|
1113
1140
|
android: !1
|
|
1114
1141
|
}, o = n.screen.width, s = n.screen.height, c = i.match(/(Android);?[\s\/]+([\d.]+)?/), l = i.match(/(iPad).*OS\s([\d_]+)/), u = i.match(/(iPod)(.*OS\s([\d_]+))?/), d = !l && i.match(/(iPhone\sOS|iOS)\s([\d_]+)/), f = r === "Win32", p = r === "MacIntel";
|
|
@@ -1131,14 +1158,14 @@ function Bt({ userAgent: e } = {}) {
|
|
|
1131
1158
|
"13_0_0"
|
|
1132
1159
|
]), p = !1), c && !f && (a.os = "android", a.android = !0), (l || d || u) && (a.os = "ios", a.ios = !0), a;
|
|
1133
1160
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return
|
|
1161
|
+
function Ht(e = {}) {
|
|
1162
|
+
return Bt || (Bt = Vt(e)), Bt;
|
|
1136
1163
|
}
|
|
1137
1164
|
//#endregion
|
|
1138
1165
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-browser.js
|
|
1139
|
-
var
|
|
1140
|
-
function
|
|
1141
|
-
let e =
|
|
1166
|
+
var Ut;
|
|
1167
|
+
function Wt() {
|
|
1168
|
+
let e = W(), t = !1;
|
|
1142
1169
|
function n() {
|
|
1143
1170
|
let t = e.navigator.userAgent.toLowerCase();
|
|
1144
1171
|
return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0;
|
|
@@ -1156,13 +1183,13 @@ function Ut() {
|
|
|
1156
1183
|
isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)
|
|
1157
1184
|
};
|
|
1158
1185
|
}
|
|
1159
|
-
function
|
|
1160
|
-
return
|
|
1186
|
+
function Gt() {
|
|
1187
|
+
return Ut || (Ut = Wt()), Ut;
|
|
1161
1188
|
}
|
|
1162
1189
|
//#endregion
|
|
1163
1190
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/modules/resize/resize.js
|
|
1164
|
-
function
|
|
1165
|
-
let r =
|
|
1191
|
+
function Kt({ swiper: e, on: t, emit: n }) {
|
|
1192
|
+
let r = W(), i = null, a = null, o = () => {
|
|
1166
1193
|
!e || e.destroyed || !e.initialized || (n("beforeResize"), n("resize"));
|
|
1167
1194
|
}, s = () => {
|
|
1168
1195
|
!e || e.destroyed || !e.initialized || (i = new ResizeObserver((t) => {
|
|
@@ -1190,8 +1217,8 @@ function Gt({ swiper: e, on: t, emit: n }) {
|
|
|
1190
1217
|
}
|
|
1191
1218
|
//#endregion
|
|
1192
1219
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/modules/observer/observer.js
|
|
1193
|
-
function
|
|
1194
|
-
let i = [], a =
|
|
1220
|
+
function qt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
1221
|
+
let i = [], a = W(), o = (t, n = {}) => {
|
|
1195
1222
|
let o = new (a.MutationObserver || a.WebkitMutationObserver)((t) => {
|
|
1196
1223
|
if (e.__preventObserver__) return;
|
|
1197
1224
|
if (t.length === 1) {
|
|
@@ -1216,7 +1243,7 @@ function Kt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
1216
1243
|
}), n("init", () => {
|
|
1217
1244
|
if (e.params.observer) {
|
|
1218
1245
|
if (e.params.observeParents) {
|
|
1219
|
-
let t =
|
|
1246
|
+
let t = Ft(e.el);
|
|
1220
1247
|
for (let e = 0; e < t.length; e += 1) o(t[e]);
|
|
1221
1248
|
}
|
|
1222
1249
|
o(e.el, { childList: e.params.observeSlideChildren }), o(e.wrapperEl, { attributes: !1 });
|
|
@@ -1229,7 +1256,7 @@ function Kt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
1229
1256
|
}
|
|
1230
1257
|
//#endregion
|
|
1231
1258
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events-emitter.js
|
|
1232
|
-
var
|
|
1259
|
+
var Jt = {
|
|
1233
1260
|
on(e, t, n) {
|
|
1234
1261
|
let r = this;
|
|
1235
1262
|
if (!r.eventsListeners || r.destroyed || typeof t != "function") return r;
|
|
@@ -1281,9 +1308,9 @@ var qt = {
|
|
|
1281
1308
|
};
|
|
1282
1309
|
//#endregion
|
|
1283
1310
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSize.js
|
|
1284
|
-
function
|
|
1311
|
+
function Yt() {
|
|
1285
1312
|
let e = this, t, n, r = e.el;
|
|
1286
|
-
t = e.params.width !== void 0 && e.params.width !== null ? e.params.width : r.clientWidth, n = e.params.height !== void 0 && e.params.height !== null ? e.params.height : r.clientHeight, !(t === 0 && e.isHorizontal() || n === 0 && e.isVertical()) && (t = t - parseInt(
|
|
1313
|
+
t = e.params.width !== void 0 && e.params.width !== null ? e.params.width : r.clientWidth, n = e.params.height !== void 0 && e.params.height !== null ? e.params.height : r.clientHeight, !(t === 0 && e.isHorizontal() || n === 0 && e.isVertical()) && (t = t - parseInt(Y(r, "padding-left") || 0, 10) - parseInt(Y(r, "padding-right") || 0, 10), n = n - parseInt(Y(r, "padding-top") || 0, 10) - parseInt(Y(r, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(n) && (n = 0), Object.assign(e, {
|
|
1287
1314
|
width: t,
|
|
1288
1315
|
height: n,
|
|
1289
1316
|
size: e.isHorizontal() ? t : n
|
|
@@ -1291,7 +1318,7 @@ function Jt() {
|
|
|
1291
1318
|
}
|
|
1292
1319
|
//#endregion
|
|
1293
1320
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlides.js
|
|
1294
|
-
function
|
|
1321
|
+
function Xt() {
|
|
1295
1322
|
let e = this;
|
|
1296
1323
|
function t(t) {
|
|
1297
1324
|
return e.isHorizontal() ? t : {
|
|
@@ -1308,7 +1335,7 @@ function Yt() {
|
|
|
1308
1335
|
function n(e, n) {
|
|
1309
1336
|
return parseFloat(e.getPropertyValue(t(n)) || 0);
|
|
1310
1337
|
}
|
|
1311
|
-
let r = e.params, { wrapperEl: i, slidesEl: a, size: o, rtlTranslate: s, wrongRTL: c } = e, l = e.virtual && r.virtual.enabled, u = l ? e.virtual.slides.length : e.slides.length, d =
|
|
1338
|
+
let r = e.params, { wrapperEl: i, slidesEl: a, size: o, rtlTranslate: s, wrongRTL: c } = e, l = e.virtual && r.virtual.enabled, u = l ? e.virtual.slides.length : e.slides.length, d = J(a, `.${e.params.slideClass}, swiper-slide`), f = l ? e.virtual.slides.length : d.length, p = [], m = [], h = [], g = r.slidesOffsetBefore;
|
|
1312
1339
|
typeof g == "function" && (g = r.slidesOffsetBefore.call(e));
|
|
1313
1340
|
let _ = r.slidesOffsetAfter;
|
|
1314
1341
|
typeof _ == "function" && (_ = r.slidesOffsetAfter.call(e));
|
|
@@ -1316,18 +1343,18 @@ function Yt() {
|
|
|
1316
1343
|
if (o === void 0) return;
|
|
1317
1344
|
typeof b == "string" && b.indexOf("%") >= 0 ? b = parseFloat(b.replace("%", "")) / 100 * o : typeof b == "string" && (b = parseFloat(b)), e.virtualSize = -b, d.forEach((e) => {
|
|
1318
1345
|
s ? e.style.marginLeft = "" : e.style.marginRight = "", e.style.marginBottom = "", e.style.marginTop = "";
|
|
1319
|
-
}), r.centeredSlides && r.cssMode && (
|
|
1346
|
+
}), r.centeredSlides && r.cssMode && (kt(i, "--swiper-centered-offset-before", ""), kt(i, "--swiper-centered-offset-after", ""));
|
|
1320
1347
|
let w = r.grid && r.grid.rows > 1 && e.grid;
|
|
1321
1348
|
w && e.grid.initSlides(f);
|
|
1322
1349
|
let T, E = r.slidesPerView === "auto" && r.breakpoints && Object.keys(r.breakpoints).filter((e) => r.breakpoints[e].slidesPerView !== void 0).length > 0;
|
|
1323
1350
|
for (let i = 0; i < f; i += 1) {
|
|
1324
1351
|
T = 0;
|
|
1325
1352
|
let a;
|
|
1326
|
-
if (d[i] && (a = d[i]), w && e.grid.updateSlide(i, a, f, t), !(d[i] &&
|
|
1353
|
+
if (d[i] && (a = d[i]), w && e.grid.updateSlide(i, a, f, t), !(d[i] && Y(a, "display") === "none")) {
|
|
1327
1354
|
if (r.slidesPerView === "auto") {
|
|
1328
1355
|
E && (d[i].style[t("width")] = "");
|
|
1329
1356
|
let o = getComputedStyle(a), s = a.style.transform, c = a.style.webkitTransform;
|
|
1330
|
-
if (s && (a.style.transform = "none"), c && (a.style.webkitTransform = "none"), r.roundLengths) T = e.isHorizontal() ?
|
|
1357
|
+
if (s && (a.style.transform = "none"), c && (a.style.webkitTransform = "none"), r.roundLengths) T = e.isHorizontal() ? It(a, "width", !0) : It(a, "height", !0);
|
|
1331
1358
|
else {
|
|
1332
1359
|
let e = n(o, "width"), t = n(o, "padding-left"), r = n(o, "padding-right"), i = n(o, "margin-left"), s = n(o, "margin-right"), c = o.getPropertyValue("box-sizing");
|
|
1333
1360
|
if (c && c === "border-box") T = e + i + s;
|
|
@@ -1390,7 +1417,7 @@ function Yt() {
|
|
|
1390
1417
|
slidesGrid: m,
|
|
1391
1418
|
slidesSizesGrid: h
|
|
1392
1419
|
}), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
|
|
1393
|
-
|
|
1420
|
+
kt(i, "--swiper-centered-offset-before", `${-p[0]}px`), kt(i, "--swiper-centered-offset-after", `${e.size / 2 - h[h.length - 1] / 2}px`);
|
|
1394
1421
|
let t = -e.snapGrid[0], n = -e.slidesGrid[0];
|
|
1395
1422
|
e.snapGrid = e.snapGrid.map((e) => e + t), e.slidesGrid = e.slidesGrid.map((e) => e + n);
|
|
1396
1423
|
}
|
|
@@ -1401,7 +1428,7 @@ function Yt() {
|
|
|
1401
1428
|
}
|
|
1402
1429
|
//#endregion
|
|
1403
1430
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateAutoHeight.js
|
|
1404
|
-
function
|
|
1431
|
+
function Zt(e) {
|
|
1405
1432
|
let t = this, n = [], r = t.virtual && t.params.virtual.enabled, i = 0, a;
|
|
1406
1433
|
typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
|
|
1407
1434
|
let o = (e) => r ? t.slides[t.getSlideIndexByData(e)] : t.slides[e];
|
|
@@ -1422,13 +1449,13 @@ function Xt(e) {
|
|
|
1422
1449
|
}
|
|
1423
1450
|
//#endregion
|
|
1424
1451
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesOffset.js
|
|
1425
|
-
function
|
|
1452
|
+
function Qt() {
|
|
1426
1453
|
let e = this, t = e.slides, n = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
1427
1454
|
for (let r = 0; r < t.length; r += 1) t[r].swiperSlideOffset = (e.isHorizontal() ? t[r].offsetLeft : t[r].offsetTop) - n - e.cssOverflowAdjustment();
|
|
1428
1455
|
}
|
|
1429
1456
|
//#endregion
|
|
1430
1457
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesProgress.js
|
|
1431
|
-
function
|
|
1458
|
+
function $t(e = this && this.translate || 0) {
|
|
1432
1459
|
let t = this, n = t.params, { slides: r, rtlTranslate: i, snapGrid: a } = t;
|
|
1433
1460
|
if (r.length === 0) return;
|
|
1434
1461
|
r[0].swiperSlideOffset === void 0 && t.updateSlidesOffset();
|
|
@@ -1447,7 +1474,7 @@ function Qt(e = this && this.translate || 0) {
|
|
|
1447
1474
|
}
|
|
1448
1475
|
//#endregion
|
|
1449
1476
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateProgress.js
|
|
1450
|
-
function
|
|
1477
|
+
function en(e) {
|
|
1451
1478
|
let t = this;
|
|
1452
1479
|
if (e === void 0) {
|
|
1453
1480
|
let n = t.rtlTranslate ? -1 : 1;
|
|
@@ -1473,8 +1500,8 @@ function $t(e) {
|
|
|
1473
1500
|
}
|
|
1474
1501
|
//#endregion
|
|
1475
1502
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesClasses.js
|
|
1476
|
-
function
|
|
1477
|
-
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = (e) =>
|
|
1503
|
+
function tn() {
|
|
1504
|
+
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = (e) => J(r, `.${n.slideClass}${e}, swiper-slide${e}`)[0];
|
|
1478
1505
|
t.forEach((e) => {
|
|
1479
1506
|
e.classList.remove(n.slideActiveClass, n.slideNextClass, n.slidePrevClass);
|
|
1480
1507
|
});
|
|
@@ -1486,27 +1513,27 @@ function en() {
|
|
|
1486
1513
|
else s = t[i];
|
|
1487
1514
|
if (s) {
|
|
1488
1515
|
s.classList.add(n.slideActiveClass);
|
|
1489
|
-
let e =
|
|
1516
|
+
let e = Nt(s, `.${n.slideClass}, swiper-slide`)[0];
|
|
1490
1517
|
n.loop && !e && (e = t[0]), e && e.classList.add(n.slideNextClass);
|
|
1491
|
-
let r =
|
|
1518
|
+
let r = Mt(s, `.${n.slideClass}, swiper-slide`)[0];
|
|
1492
1519
|
n.loop, r && r.classList.add(n.slidePrevClass);
|
|
1493
1520
|
}
|
|
1494
1521
|
e.emitSlidesClasses();
|
|
1495
1522
|
}
|
|
1496
1523
|
//#endregion
|
|
1497
1524
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/process-lazy-preloader.js
|
|
1498
|
-
var
|
|
1525
|
+
var nn = (e, t) => {
|
|
1499
1526
|
if (!e || e.destroyed || !e.params) return;
|
|
1500
1527
|
let n = t.closest(e.isElement ? "swiper-slide" : `.${e.params.slideClass}`);
|
|
1501
1528
|
if (n) {
|
|
1502
1529
|
let t = n.querySelector(`.${e.params.lazyPreloaderClass}`);
|
|
1503
1530
|
t && t.remove();
|
|
1504
1531
|
}
|
|
1505
|
-
},
|
|
1532
|
+
}, rn = (e, t) => {
|
|
1506
1533
|
if (!e.slides[t]) return;
|
|
1507
1534
|
let n = e.slides[t].querySelector("[loading=\"lazy\"]");
|
|
1508
1535
|
n && n.removeAttribute("loading");
|
|
1509
|
-
},
|
|
1536
|
+
}, an = (e) => {
|
|
1510
1537
|
if (!e || e.destroyed || !e.params) return;
|
|
1511
1538
|
let t = e.params.lazyPreloadPrevNext, n = e.slides.length;
|
|
1512
1539
|
if (!n || !t || t < 0) return;
|
|
@@ -1515,30 +1542,30 @@ var Y = (e, t) => {
|
|
|
1515
1542
|
if (e.params.grid && e.params.grid.rows > 1) {
|
|
1516
1543
|
let n = i, a = [n - t];
|
|
1517
1544
|
a.push(...Array.from({ length: t }).map((e, t) => n + r + t)), e.slides.forEach((t, n) => {
|
|
1518
|
-
a.includes(t.column) &&
|
|
1545
|
+
a.includes(t.column) && rn(e, n);
|
|
1519
1546
|
});
|
|
1520
1547
|
return;
|
|
1521
1548
|
}
|
|
1522
1549
|
let a = i + r - 1;
|
|
1523
1550
|
if (e.params.rewind || e.params.loop) for (let r = i - t; r <= a + t; r += 1) {
|
|
1524
1551
|
let t = (r % n + n) % n;
|
|
1525
|
-
(t < i || t > a) &&
|
|
1552
|
+
(t < i || t > a) && rn(e, t);
|
|
1526
1553
|
}
|
|
1527
|
-
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) &&
|
|
1554
|
+
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) && rn(e, r);
|
|
1528
1555
|
};
|
|
1529
1556
|
//#endregion
|
|
1530
1557
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateActiveIndex.js
|
|
1531
|
-
function
|
|
1558
|
+
function on(e) {
|
|
1532
1559
|
let { slidesGrid: t, params: n } = e, r = e.rtlTranslate ? e.translate : -e.translate, i;
|
|
1533
1560
|
for (let e = 0; e < t.length; e += 1) t[e + 1] === void 0 ? r >= t[e] && (i = e) : r >= t[e] && r < t[e + 1] - (t[e + 1] - t[e]) / 2 ? i = e : r >= t[e] && r < t[e + 1] && (i = e + 1);
|
|
1534
1561
|
return n.normalizeSlideIndex && (i < 0 || i === void 0) && (i = 0), i;
|
|
1535
1562
|
}
|
|
1536
|
-
function
|
|
1563
|
+
function sn(e) {
|
|
1537
1564
|
let t = this, n = t.rtlTranslate ? t.translate : -t.translate, { snapGrid: r, params: i, activeIndex: a, realIndex: o, snapIndex: s } = t, c = e, l, u = (e) => {
|
|
1538
1565
|
let n = e - t.virtual.slidesBefore;
|
|
1539
1566
|
return n < 0 && (n = t.virtual.slides.length + n), n >= t.virtual.slides.length && (n -= t.virtual.slides.length), n;
|
|
1540
1567
|
};
|
|
1541
|
-
if (c === void 0 && (c =
|
|
1568
|
+
if (c === void 0 && (c = on(t)), r.indexOf(n) >= 0) l = r.indexOf(n);
|
|
1542
1569
|
else {
|
|
1543
1570
|
let e = Math.min(i.slidesPerGroupSkip, c);
|
|
1544
1571
|
l = e + Math.floor((c - e) / i.slidesPerGroup);
|
|
@@ -1555,11 +1582,11 @@ function an(e) {
|
|
|
1555
1582
|
realIndex: d,
|
|
1556
1583
|
previousIndex: a,
|
|
1557
1584
|
activeIndex: c
|
|
1558
|
-
}), t.initialized &&
|
|
1585
|
+
}), t.initialized && an(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), o !== d && t.emit("realIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && t.emit("slideChange");
|
|
1559
1586
|
}
|
|
1560
1587
|
//#endregion
|
|
1561
1588
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateClickedSlide.js
|
|
1562
|
-
function
|
|
1589
|
+
function cn(e) {
|
|
1563
1590
|
let t = this, n = t.params, r = e.closest(`.${n.slideClass}, swiper-slide`), i = !1, a;
|
|
1564
1591
|
if (r) {
|
|
1565
1592
|
for (let e = 0; e < t.slides.length; e += 1) if (t.slides[e] === r) {
|
|
@@ -1576,20 +1603,20 @@ function on(e) {
|
|
|
1576
1603
|
}
|
|
1577
1604
|
//#endregion
|
|
1578
1605
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/index.js
|
|
1579
|
-
var
|
|
1580
|
-
updateSize:
|
|
1581
|
-
updateSlides:
|
|
1582
|
-
updateAutoHeight:
|
|
1583
|
-
updateSlidesOffset:
|
|
1584
|
-
updateSlidesProgress:
|
|
1585
|
-
updateProgress:
|
|
1586
|
-
updateSlidesClasses:
|
|
1587
|
-
updateActiveIndex:
|
|
1588
|
-
updateClickedSlide:
|
|
1606
|
+
var ln = {
|
|
1607
|
+
updateSize: Yt,
|
|
1608
|
+
updateSlides: Xt,
|
|
1609
|
+
updateAutoHeight: Zt,
|
|
1610
|
+
updateSlidesOffset: Qt,
|
|
1611
|
+
updateSlidesProgress: $t,
|
|
1612
|
+
updateProgress: en,
|
|
1613
|
+
updateSlidesClasses: tn,
|
|
1614
|
+
updateActiveIndex: sn,
|
|
1615
|
+
updateClickedSlide: cn
|
|
1589
1616
|
};
|
|
1590
1617
|
//#endregion
|
|
1591
1618
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/getTranslate.js
|
|
1592
|
-
function
|
|
1619
|
+
function un(e = this.isHorizontal() ? "x" : "y") {
|
|
1593
1620
|
let t = this, { params: n, rtlTranslate: r, translate: i, wrapperEl: a } = t;
|
|
1594
1621
|
if (n.virtualTranslate) return r ? -i : i;
|
|
1595
1622
|
if (n.cssMode) return i;
|
|
@@ -1598,7 +1625,7 @@ function cn(e = this.isHorizontal() ? "x" : "y") {
|
|
|
1598
1625
|
}
|
|
1599
1626
|
//#endregion
|
|
1600
1627
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/setTranslate.js
|
|
1601
|
-
function
|
|
1628
|
+
function dn(e, t) {
|
|
1602
1629
|
let n = this, { rtlTranslate: r, params: i, wrapperEl: a, progress: o } = n, s = 0, c = 0;
|
|
1603
1630
|
n.isHorizontal() ? s = r ? -e : e : c = e, i.roundLengths && (s = Math.floor(s), c = Math.floor(c)), n.previousTranslate = n.translate, n.translate = n.isHorizontal() ? s : c, i.cssMode ? a[n.isHorizontal() ? "scrollLeft" : "scrollTop"] = n.isHorizontal() ? -s : -c : i.virtualTranslate || (n.isHorizontal() ? s -= n.cssOverflowAdjustment() : c -= n.cssOverflowAdjustment(), a.style.transform = `translate3d(${s}px, ${c}px, 0px)`);
|
|
1604
1631
|
let l, u = n.maxTranslate() - n.minTranslate();
|
|
@@ -1606,17 +1633,17 @@ function ln(e, t) {
|
|
|
1606
1633
|
}
|
|
1607
1634
|
//#endregion
|
|
1608
1635
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/minTranslate.js
|
|
1609
|
-
function
|
|
1636
|
+
function fn() {
|
|
1610
1637
|
return -this.snapGrid[0];
|
|
1611
1638
|
}
|
|
1612
1639
|
//#endregion
|
|
1613
1640
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/maxTranslate.js
|
|
1614
|
-
function
|
|
1641
|
+
function pn() {
|
|
1615
1642
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
1616
1643
|
}
|
|
1617
1644
|
//#endregion
|
|
1618
1645
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/translateTo.js
|
|
1619
|
-
function
|
|
1646
|
+
function mn(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
1620
1647
|
let a = this, { params: o, wrapperEl: s } = a;
|
|
1621
1648
|
if (a.animating && o.preventInteractionOnTransition) return !1;
|
|
1622
1649
|
let c = a.minTranslate(), l = a.maxTranslate(), u;
|
|
@@ -1624,7 +1651,7 @@ function fn(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
1624
1651
|
let e = a.isHorizontal();
|
|
1625
1652
|
if (t === 0) s[e ? "scrollLeft" : "scrollTop"] = -u;
|
|
1626
1653
|
else {
|
|
1627
|
-
if (!a.support.smoothScroll) return
|
|
1654
|
+
if (!a.support.smoothScroll) return At({
|
|
1628
1655
|
swiper: a,
|
|
1629
1656
|
targetPosition: -u,
|
|
1630
1657
|
side: e ? "left" : "top"
|
|
@@ -1642,22 +1669,22 @@ function fn(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
1642
1669
|
}
|
|
1643
1670
|
//#endregion
|
|
1644
1671
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/index.js
|
|
1645
|
-
var
|
|
1646
|
-
getTranslate:
|
|
1647
|
-
setTranslate:
|
|
1648
|
-
minTranslate:
|
|
1649
|
-
maxTranslate:
|
|
1650
|
-
translateTo:
|
|
1672
|
+
var hn = {
|
|
1673
|
+
getTranslate: un,
|
|
1674
|
+
setTranslate: dn,
|
|
1675
|
+
minTranslate: fn,
|
|
1676
|
+
maxTranslate: pn,
|
|
1677
|
+
translateTo: mn
|
|
1651
1678
|
};
|
|
1652
1679
|
//#endregion
|
|
1653
1680
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/setTransition.js
|
|
1654
|
-
function
|
|
1681
|
+
function gn(e, t) {
|
|
1655
1682
|
let n = this;
|
|
1656
1683
|
n.params.cssMode || (n.wrapperEl.style.transitionDuration = `${e}ms`), n.emit("setTransition", e, t);
|
|
1657
1684
|
}
|
|
1658
1685
|
//#endregion
|
|
1659
1686
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionEmit.js
|
|
1660
|
-
function
|
|
1687
|
+
function _n({ swiper: e, runCallbacks: t, direction: n, step: r }) {
|
|
1661
1688
|
let { activeIndex: i, previousIndex: a } = e, o = n;
|
|
1662
1689
|
if (o || (o = i > a ? "next" : i < a ? "prev" : "reset"), e.emit(`transition${r}`), t && i !== a) {
|
|
1663
1690
|
if (o === "reset") {
|
|
@@ -1669,9 +1696,9 @@ function hn({ swiper: e, runCallbacks: t, direction: n, step: r }) {
|
|
|
1669
1696
|
}
|
|
1670
1697
|
//#endregion
|
|
1671
1698
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionStart.js
|
|
1672
|
-
function
|
|
1699
|
+
function vn(e = !0, t) {
|
|
1673
1700
|
let n = this, { params: r } = n;
|
|
1674
|
-
r.cssMode || (r.autoHeight && n.updateAutoHeight(),
|
|
1701
|
+
r.cssMode || (r.autoHeight && n.updateAutoHeight(), _n({
|
|
1675
1702
|
swiper: n,
|
|
1676
1703
|
runCallbacks: e,
|
|
1677
1704
|
direction: t,
|
|
@@ -1680,9 +1707,9 @@ function gn(e = !0, t) {
|
|
|
1680
1707
|
}
|
|
1681
1708
|
//#endregion
|
|
1682
1709
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionEnd.js
|
|
1683
|
-
function
|
|
1710
|
+
function yn(e = !0, t) {
|
|
1684
1711
|
let n = this, { params: r } = n;
|
|
1685
|
-
n.animating = !1, !r.cssMode && (n.setTransition(0),
|
|
1712
|
+
n.animating = !1, !r.cssMode && (n.setTransition(0), _n({
|
|
1686
1713
|
swiper: n,
|
|
1687
1714
|
runCallbacks: e,
|
|
1688
1715
|
direction: t,
|
|
@@ -1691,14 +1718,14 @@ function _n(e = !0, t) {
|
|
|
1691
1718
|
}
|
|
1692
1719
|
//#endregion
|
|
1693
1720
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/index.js
|
|
1694
|
-
var
|
|
1695
|
-
setTransition:
|
|
1696
|
-
transitionStart:
|
|
1697
|
-
transitionEnd:
|
|
1721
|
+
var bn = {
|
|
1722
|
+
setTransition: gn,
|
|
1723
|
+
transitionStart: vn,
|
|
1724
|
+
transitionEnd: yn
|
|
1698
1725
|
};
|
|
1699
1726
|
//#endregion
|
|
1700
1727
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideTo.js
|
|
1701
|
-
function
|
|
1728
|
+
function xn(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
1702
1729
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
1703
1730
|
let a = this, o = e;
|
|
1704
1731
|
o < 0 && (o = 0);
|
|
@@ -1725,7 +1752,7 @@ function yn(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
|
1725
1752
|
a.wrapperEl.style.scrollSnapType = "", a._immediateVirtual = !1;
|
|
1726
1753
|
});
|
|
1727
1754
|
} else {
|
|
1728
|
-
if (!a.support.smoothScroll) return
|
|
1755
|
+
if (!a.support.smoothScroll) return At({
|
|
1729
1756
|
swiper: a,
|
|
1730
1757
|
targetPosition: n,
|
|
1731
1758
|
side: e ? "left" : "top"
|
|
@@ -1743,14 +1770,14 @@ function yn(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
|
1743
1770
|
}
|
|
1744
1771
|
//#endregion
|
|
1745
1772
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToLoop.js
|
|
1746
|
-
function
|
|
1773
|
+
function Sn(e = 0, t = this.params.speed, n = !0, r) {
|
|
1747
1774
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
1748
1775
|
let i = this, a = e;
|
|
1749
1776
|
return i.params.loop && (i.virtual && i.params.virtual.enabled ? a += i.virtual.slidesBefore : a = i.getSlideIndexByData(a)), i.slideTo(a, t, n, r);
|
|
1750
1777
|
}
|
|
1751
1778
|
//#endregion
|
|
1752
1779
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideNext.js
|
|
1753
|
-
function
|
|
1780
|
+
function Cn(e = this.params.speed, t = !0, n) {
|
|
1754
1781
|
let r = this, { enabled: i, params: a, animating: o } = r;
|
|
1755
1782
|
if (!i) return r;
|
|
1756
1783
|
let s = a.slidesPerGroup;
|
|
@@ -1764,7 +1791,7 @@ function xn(e = this.params.speed, t = !0, n) {
|
|
|
1764
1791
|
}
|
|
1765
1792
|
//#endregion
|
|
1766
1793
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slidePrev.js
|
|
1767
|
-
function
|
|
1794
|
+
function wn(e = this.params.speed, t = !0, n) {
|
|
1768
1795
|
let r = this, { params: i, snapGrid: a, slidesGrid: o, rtlTranslate: s, enabled: c, animating: l } = r;
|
|
1769
1796
|
if (!c) return r;
|
|
1770
1797
|
let u = r.virtual && i.virtual.enabled;
|
|
@@ -1792,13 +1819,13 @@ function Sn(e = this.params.speed, t = !0, n) {
|
|
|
1792
1819
|
}
|
|
1793
1820
|
//#endregion
|
|
1794
1821
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideReset.js
|
|
1795
|
-
function
|
|
1822
|
+
function Tn(e = this.params.speed, t = !0, n) {
|
|
1796
1823
|
let r = this;
|
|
1797
1824
|
return r.slideTo(r.activeIndex, e, t, n);
|
|
1798
1825
|
}
|
|
1799
1826
|
//#endregion
|
|
1800
1827
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToClosest.js
|
|
1801
|
-
function
|
|
1828
|
+
function En(e = this.params.speed, t = !0, n, r = .5) {
|
|
1802
1829
|
let i = this, a = i.activeIndex, o = Math.min(i.params.slidesPerGroupSkip, a), s = o + Math.floor((a - o) / i.params.slidesPerGroup), c = i.rtlTranslate ? i.translate : -i.translate;
|
|
1803
1830
|
if (c >= i.snapGrid[s]) {
|
|
1804
1831
|
let e = i.snapGrid[s], t = i.snapGrid[s + 1];
|
|
@@ -1811,33 +1838,33 @@ function wn(e = this.params.speed, t = !0, n, r = .5) {
|
|
|
1811
1838
|
}
|
|
1812
1839
|
//#endregion
|
|
1813
1840
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToClickedSlide.js
|
|
1814
|
-
function
|
|
1841
|
+
function Dn() {
|
|
1815
1842
|
let e = this, { params: t, slidesEl: n } = e, r = t.slidesPerView === "auto" ? e.slidesPerViewDynamic() : t.slidesPerView, i = e.clickedIndex, a, o = e.isElement ? "swiper-slide" : `.${t.slideClass}`;
|
|
1816
1843
|
if (t.loop) {
|
|
1817
1844
|
if (e.animating) return;
|
|
1818
|
-
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - r / 2 || i > e.slides.length - e.loopedSlides + r / 2 ? (e.loopFix(), i = e.getSlideIndex(
|
|
1845
|
+
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - r / 2 || i > e.slides.length - e.loopedSlides + r / 2 ? (e.loopFix(), i = e.getSlideIndex(J(n, `${o}[data-swiper-slide-index="${a}"]`)[0]), Tt(() => {
|
|
1819
1846
|
e.slideTo(i);
|
|
1820
|
-
})) : e.slideTo(i) : i > e.slides.length - r ? (e.loopFix(), i = e.getSlideIndex(
|
|
1847
|
+
})) : e.slideTo(i) : i > e.slides.length - r ? (e.loopFix(), i = e.getSlideIndex(J(n, `${o}[data-swiper-slide-index="${a}"]`)[0]), Tt(() => {
|
|
1821
1848
|
e.slideTo(i);
|
|
1822
1849
|
})) : e.slideTo(i);
|
|
1823
1850
|
} else e.slideTo(i);
|
|
1824
1851
|
}
|
|
1825
1852
|
//#endregion
|
|
1826
1853
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/index.js
|
|
1827
|
-
var
|
|
1828
|
-
slideTo:
|
|
1829
|
-
slideToLoop:
|
|
1830
|
-
slideNext:
|
|
1831
|
-
slidePrev:
|
|
1832
|
-
slideReset:
|
|
1833
|
-
slideToClosest:
|
|
1834
|
-
slideToClickedSlide:
|
|
1854
|
+
var On = {
|
|
1855
|
+
slideTo: xn,
|
|
1856
|
+
slideToLoop: Sn,
|
|
1857
|
+
slideNext: Cn,
|
|
1858
|
+
slidePrev: wn,
|
|
1859
|
+
slideReset: Tn,
|
|
1860
|
+
slideToClosest: En,
|
|
1861
|
+
slideToClickedSlide: Dn
|
|
1835
1862
|
};
|
|
1836
1863
|
//#endregion
|
|
1837
1864
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopCreate.js
|
|
1838
|
-
function
|
|
1865
|
+
function kn(e) {
|
|
1839
1866
|
let t = this, { params: n, slidesEl: r } = t;
|
|
1840
|
-
!n.loop || t.virtual && t.params.virtual.enabled || (
|
|
1867
|
+
!n.loop || t.virtual && t.params.virtual.enabled || (J(r, `.${n.slideClass}, swiper-slide`).forEach((e, t) => {
|
|
1841
1868
|
e.setAttribute("data-swiper-slide-index", t);
|
|
1842
1869
|
}), t.loopFix({
|
|
1843
1870
|
slideRealIndex: e,
|
|
@@ -1846,7 +1873,7 @@ function Dn(e) {
|
|
|
1846
1873
|
}
|
|
1847
1874
|
//#endregion
|
|
1848
1875
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopFix.js
|
|
1849
|
-
function
|
|
1876
|
+
function An({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r, activeSlideIndex: i, byController: a, byMousewheel: o } = {}) {
|
|
1850
1877
|
let s = this;
|
|
1851
1878
|
if (!s.params.loop) return;
|
|
1852
1879
|
s.emit("beforeLoopFix");
|
|
@@ -1904,7 +1931,7 @@ function On({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r,
|
|
|
1904
1931
|
}
|
|
1905
1932
|
//#endregion
|
|
1906
1933
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopDestroy.js
|
|
1907
|
-
function
|
|
1934
|
+
function jn() {
|
|
1908
1935
|
let e = this, { params: t, slidesEl: n } = e;
|
|
1909
1936
|
if (!t.loop || e.virtual && e.params.virtual.enabled) return;
|
|
1910
1937
|
e.recalcSlides();
|
|
@@ -1920,14 +1947,14 @@ function kn() {
|
|
|
1920
1947
|
}
|
|
1921
1948
|
//#endregion
|
|
1922
1949
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/index.js
|
|
1923
|
-
var
|
|
1924
|
-
loopCreate:
|
|
1925
|
-
loopFix:
|
|
1926
|
-
loopDestroy:
|
|
1950
|
+
var Mn = {
|
|
1951
|
+
loopCreate: kn,
|
|
1952
|
+
loopFix: An,
|
|
1953
|
+
loopDestroy: jn
|
|
1927
1954
|
};
|
|
1928
1955
|
//#endregion
|
|
1929
1956
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/setGrabCursor.js
|
|
1930
|
-
function
|
|
1957
|
+
function Nn(e) {
|
|
1931
1958
|
let t = this;
|
|
1932
1959
|
if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
|
|
1933
1960
|
let n = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
|
|
@@ -1937,7 +1964,7 @@ function jn(e) {
|
|
|
1937
1964
|
}
|
|
1938
1965
|
//#endregion
|
|
1939
1966
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/unsetGrabCursor.js
|
|
1940
|
-
function
|
|
1967
|
+
function Pn() {
|
|
1941
1968
|
let e = this;
|
|
1942
1969
|
e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
|
|
1943
1970
|
e.__preventObserver__ = !1;
|
|
@@ -1945,23 +1972,23 @@ function Mn() {
|
|
|
1945
1972
|
}
|
|
1946
1973
|
//#endregion
|
|
1947
1974
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/index.js
|
|
1948
|
-
var
|
|
1949
|
-
setGrabCursor:
|
|
1950
|
-
unsetGrabCursor:
|
|
1975
|
+
var Fn = {
|
|
1976
|
+
setGrabCursor: Nn,
|
|
1977
|
+
unsetGrabCursor: Pn
|
|
1951
1978
|
};
|
|
1952
1979
|
//#endregion
|
|
1953
1980
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchStart.js
|
|
1954
|
-
function
|
|
1981
|
+
function In(e, t = this) {
|
|
1955
1982
|
function n(t) {
|
|
1956
|
-
if (!t || t ===
|
|
1983
|
+
if (!t || t === U() || t === W()) return null;
|
|
1957
1984
|
t.assignedSlot && (t = t.assignedSlot);
|
|
1958
1985
|
let r = t.closest(e);
|
|
1959
1986
|
return !r && !t.getRootNode ? null : r || n(t.getRootNode().host);
|
|
1960
1987
|
}
|
|
1961
1988
|
return n(t);
|
|
1962
1989
|
}
|
|
1963
|
-
function
|
|
1964
|
-
let t = this, n =
|
|
1990
|
+
function Ln(e) {
|
|
1991
|
+
let t = this, n = U(), r = W(), i = t.touchEventsData;
|
|
1965
1992
|
i.evCache.push(e);
|
|
1966
1993
|
let { params: a, touches: o, enabled: s } = t;
|
|
1967
1994
|
if (!s || !a.simulateTouch && e.pointerType === "mouse" || t.animating && a.preventInteractionOnTransition) return;
|
|
@@ -1973,7 +2000,7 @@ function Fn(e) {
|
|
|
1973
2000
|
let u = !!a.noSwipingClass && a.noSwipingClass !== "", d = e.composedPath ? e.composedPath() : e.path;
|
|
1974
2001
|
u && c.target && c.target.shadowRoot && d && (l = d[0]);
|
|
1975
2002
|
let f = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, p = !!(c.target && c.target.shadowRoot);
|
|
1976
|
-
if (a.noSwiping && (p ?
|
|
2003
|
+
if (a.noSwiping && (p ? In(f, l) : l.closest(f))) {
|
|
1977
2004
|
t.allowClick = !0;
|
|
1978
2005
|
return;
|
|
1979
2006
|
}
|
|
@@ -1988,7 +2015,7 @@ function Fn(e) {
|
|
|
1988
2015
|
allowTouchCallbacks: !0,
|
|
1989
2016
|
isScrolling: void 0,
|
|
1990
2017
|
startMoving: void 0
|
|
1991
|
-
}), o.startX = m, o.startY = h, i.touchStartTime =
|
|
2018
|
+
}), o.startX = m, o.startY = h, i.touchStartTime = G(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, a.threshold > 0 && (i.allowThresholdMove = !1);
|
|
1992
2019
|
let v = !0;
|
|
1993
2020
|
l.matches(i.focusableElements) && (v = !1, l.nodeName === "SELECT" && (i.isTouched = !1)), n.activeElement && n.activeElement.matches(i.focusableElements) && n.activeElement !== l && n.activeElement.blur();
|
|
1994
2021
|
let y = v && t.allowTouchMove && a.touchStartPreventDefault;
|
|
@@ -1996,8 +2023,8 @@ function Fn(e) {
|
|
|
1996
2023
|
}
|
|
1997
2024
|
//#endregion
|
|
1998
2025
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchMove.js
|
|
1999
|
-
function
|
|
2000
|
-
let t =
|
|
2026
|
+
function Rn(e) {
|
|
2027
|
+
let t = U(), n = this, r = n.touchEventsData, { params: i, touches: a, rtlTranslate: o, enabled: s } = n;
|
|
2001
2028
|
if (!s || !i.simulateTouch && e.pointerType === "mouse") return;
|
|
2002
2029
|
let c = e;
|
|
2003
2030
|
if (c.originalEvent && (c = c.originalEvent), !r.isTouched) {
|
|
@@ -2019,7 +2046,7 @@ function In(e) {
|
|
|
2019
2046
|
prevY: n.touches.currentY,
|
|
2020
2047
|
currentX: d,
|
|
2021
2048
|
currentY: f
|
|
2022
|
-
}), r.touchStartTime =
|
|
2049
|
+
}), r.touchStartTime = G());
|
|
2023
2050
|
return;
|
|
2024
2051
|
}
|
|
2025
2052
|
if (i.touchReleaseOnEdges && !i.loop) {
|
|
@@ -2090,7 +2117,7 @@ function In(e) {
|
|
|
2090
2117
|
}
|
|
2091
2118
|
//#endregion
|
|
2092
2119
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchEnd.js
|
|
2093
|
-
function
|
|
2120
|
+
function zn(e) {
|
|
2094
2121
|
let t = this, n = t.touchEventsData, r = n.evCache.findIndex((t) => t.pointerId === e.pointerId);
|
|
2095
2122
|
if (r >= 0 && n.evCache.splice(r, 1), [
|
|
2096
2123
|
"pointercancel",
|
|
@@ -2105,12 +2132,12 @@ function Ln(e) {
|
|
|
2105
2132
|
return;
|
|
2106
2133
|
}
|
|
2107
2134
|
i.grabCursor && n.isMoved && n.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
|
|
2108
|
-
let u =
|
|
2135
|
+
let u = G(), d = u - n.touchStartTime;
|
|
2109
2136
|
if (t.allowClick) {
|
|
2110
2137
|
let e = l.path || l.composedPath && l.composedPath();
|
|
2111
2138
|
t.updateClickedSlide(e && e[0] || l.target), t.emit("tap click", l), d < 300 && u - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", l);
|
|
2112
2139
|
}
|
|
2113
|
-
if (n.lastClickTime =
|
|
2140
|
+
if (n.lastClickTime = G(), Tt(() => {
|
|
2114
2141
|
t.destroyed || (t.allowClick = !0);
|
|
2115
2142
|
}), !n.isTouched || !n.isMoved || !t.swipeDirection || a.diff === 0 || n.currentTranslate === n.startTranslate) {
|
|
2116
2143
|
n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
|
|
@@ -2147,7 +2174,7 @@ function Ln(e) {
|
|
|
2147
2174
|
}
|
|
2148
2175
|
//#endregion
|
|
2149
2176
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onResize.js
|
|
2150
|
-
function
|
|
2177
|
+
function Bn() {
|
|
2151
2178
|
let e = this, { params: t, el: n } = e;
|
|
2152
2179
|
if (n && n.offsetWidth === 0) return;
|
|
2153
2180
|
t.breakpoints && e.setBreakpoint();
|
|
@@ -2160,13 +2187,13 @@ function Rn() {
|
|
|
2160
2187
|
}
|
|
2161
2188
|
//#endregion
|
|
2162
2189
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onClick.js
|
|
2163
|
-
function
|
|
2190
|
+
function Vn(e) {
|
|
2164
2191
|
let t = this;
|
|
2165
2192
|
t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
2166
2193
|
}
|
|
2167
2194
|
//#endregion
|
|
2168
2195
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onScroll.js
|
|
2169
|
-
function
|
|
2196
|
+
function Hn() {
|
|
2170
2197
|
let e = this, { wrapperEl: t, rtlTranslate: n, enabled: r } = e;
|
|
2171
2198
|
if (!r) return;
|
|
2172
2199
|
e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, e.translate === 0 && (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
@@ -2175,38 +2202,38 @@ function Bn() {
|
|
|
2175
2202
|
}
|
|
2176
2203
|
//#endregion
|
|
2177
2204
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onLoad.js
|
|
2178
|
-
function
|
|
2205
|
+
function Un(e) {
|
|
2179
2206
|
let t = this;
|
|
2180
|
-
|
|
2207
|
+
nn(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
|
|
2181
2208
|
}
|
|
2182
2209
|
//#endregion
|
|
2183
2210
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/index.js
|
|
2184
|
-
var
|
|
2185
|
-
function
|
|
2186
|
-
var
|
|
2187
|
-
let n =
|
|
2211
|
+
var Wn = !1;
|
|
2212
|
+
function Gn() {}
|
|
2213
|
+
var Kn = (e, t) => {
|
|
2214
|
+
let n = U(), { params: r, el: i, wrapperEl: a, device: o } = e, s = !!r.nested, c = t === "on" ? "addEventListener" : "removeEventListener", l = t;
|
|
2188
2215
|
i[c]("pointerdown", e.onTouchStart, { passive: !1 }), n[c]("pointermove", e.onTouchMove, {
|
|
2189
2216
|
passive: !1,
|
|
2190
2217
|
capture: s
|
|
2191
|
-
}), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), (r.preventClicks || r.preventClicksPropagation) && i[c]("click", e.onClick, !0), r.cssMode && a[c]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate",
|
|
2218
|
+
}), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), (r.preventClicks || r.preventClicksPropagation) && i[c]("click", e.onClick, !0), r.cssMode && a[c]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Bn, !0) : e[l]("observerUpdate", Bn, !0), i[c]("load", e.onLoad, { capture: !0 });
|
|
2192
2219
|
};
|
|
2193
|
-
function
|
|
2194
|
-
let e = this, t =
|
|
2195
|
-
e.onTouchStart =
|
|
2196
|
-
}
|
|
2197
|
-
function
|
|
2198
|
-
|
|
2199
|
-
}
|
|
2200
|
-
var
|
|
2201
|
-
attachEvents:
|
|
2202
|
-
detachEvents:
|
|
2203
|
-
},
|
|
2204
|
-
function
|
|
2220
|
+
function qn() {
|
|
2221
|
+
let e = this, t = U(), { params: n } = e;
|
|
2222
|
+
e.onTouchStart = Ln.bind(e), e.onTouchMove = Rn.bind(e), e.onTouchEnd = zn.bind(e), n.cssMode && (e.onScroll = Hn.bind(e)), e.onClick = Vn.bind(e), e.onLoad = Un.bind(e), Wn || (t.addEventListener("touchstart", Gn), Wn = !0), Kn(e, "on");
|
|
2223
|
+
}
|
|
2224
|
+
function Jn() {
|
|
2225
|
+
Kn(this, "off");
|
|
2226
|
+
}
|
|
2227
|
+
var Yn = {
|
|
2228
|
+
attachEvents: qn,
|
|
2229
|
+
detachEvents: Jn
|
|
2230
|
+
}, Xn = (e, t) => e.grid && t.grid && t.grid.rows > 1;
|
|
2231
|
+
function Zn() {
|
|
2205
2232
|
let e = this, { realIndex: t, initialized: n, params: r, el: i } = e, a = r.breakpoints;
|
|
2206
2233
|
if (!a || a && Object.keys(a).length === 0) return;
|
|
2207
2234
|
let o = e.getBreakpoint(a, e.params.breakpointsBase, e.el);
|
|
2208
2235
|
if (!o || e.currentBreakpoint === o) return;
|
|
2209
|
-
let s = (o in a ? a[o] : void 0) || e.originalParams, c =
|
|
2236
|
+
let s = (o in a ? a[o] : void 0) || e.originalParams, c = Xn(e, r), l = Xn(e, s), u = r.enabled;
|
|
2210
2237
|
c && !l ? (i.classList.remove(`${r.containerModifierClass}grid`, `${r.containerModifierClass}grid-column`), e.emitContainerClasses()) : !c && l && (i.classList.add(`${r.containerModifierClass}grid`), (s.grid.fill && s.grid.fill === "column" || !s.grid.fill && r.grid.fill === "column") && i.classList.add(`${r.containerModifierClass}grid-column`), e.emitContainerClasses()), [
|
|
2211
2238
|
"navigation",
|
|
2212
2239
|
"pagination",
|
|
@@ -2217,7 +2244,7 @@ function Yn() {
|
|
|
2217
2244
|
n && !i && e[t].disable(), !n && i && e[t].enable();
|
|
2218
2245
|
});
|
|
2219
2246
|
let d = s.direction && s.direction !== r.direction, f = r.loop && (s.slidesPerView !== r.slidesPerView || d);
|
|
2220
|
-
d && n && e.changeDirection(),
|
|
2247
|
+
d && n && e.changeDirection(), q(e.params, s);
|
|
2221
2248
|
let p = e.params.enabled;
|
|
2222
2249
|
Object.assign(e, {
|
|
2223
2250
|
allowTouchMove: e.params.allowTouchMove,
|
|
@@ -2227,9 +2254,9 @@ function Yn() {
|
|
|
2227
2254
|
}
|
|
2228
2255
|
//#endregion
|
|
2229
2256
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/breakpoints/getBreakpoint.js
|
|
2230
|
-
function
|
|
2257
|
+
function Qn(e, t = "window", n) {
|
|
2231
2258
|
if (!e || t === "container" && !n) return;
|
|
2232
|
-
let r = !1, i =
|
|
2259
|
+
let r = !1, i = W(), a = t === "window" ? i.innerHeight : n.clientHeight, o = Object.keys(e).map((e) => {
|
|
2233
2260
|
if (typeof e == "string" && e.indexOf("@") === 0) {
|
|
2234
2261
|
let t = parseFloat(e.substr(1));
|
|
2235
2262
|
return {
|
|
@@ -2251,13 +2278,13 @@ function Xn(e, t = "window", n) {
|
|
|
2251
2278
|
}
|
|
2252
2279
|
//#endregion
|
|
2253
2280
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/breakpoints/index.js
|
|
2254
|
-
var
|
|
2255
|
-
setBreakpoint:
|
|
2256
|
-
getBreakpoint:
|
|
2281
|
+
var $n = {
|
|
2282
|
+
setBreakpoint: Zn,
|
|
2283
|
+
getBreakpoint: Qn
|
|
2257
2284
|
};
|
|
2258
2285
|
//#endregion
|
|
2259
2286
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/addClasses.js
|
|
2260
|
-
function
|
|
2287
|
+
function er(e, t) {
|
|
2261
2288
|
let n = [];
|
|
2262
2289
|
return e.forEach((e) => {
|
|
2263
2290
|
typeof e == "object" ? Object.keys(e).forEach((r) => {
|
|
@@ -2265,8 +2292,8 @@ function Qn(e, t) {
|
|
|
2265
2292
|
}) : typeof e == "string" && n.push(t + e);
|
|
2266
2293
|
}), n;
|
|
2267
2294
|
}
|
|
2268
|
-
function
|
|
2269
|
-
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o =
|
|
2295
|
+
function tr() {
|
|
2296
|
+
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o = er([
|
|
2270
2297
|
"initialized",
|
|
2271
2298
|
n.direction,
|
|
2272
2299
|
{ "free-mode": e.params.freeMode && n.freeMode.enabled },
|
|
@@ -2284,19 +2311,19 @@ function $n() {
|
|
|
2284
2311
|
}
|
|
2285
2312
|
//#endregion
|
|
2286
2313
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/removeClasses.js
|
|
2287
|
-
function
|
|
2314
|
+
function nr() {
|
|
2288
2315
|
let e = this, { el: t, classNames: n } = e;
|
|
2289
2316
|
t.classList.remove(...n), e.emitContainerClasses();
|
|
2290
2317
|
}
|
|
2291
2318
|
//#endregion
|
|
2292
2319
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/index.js
|
|
2293
|
-
var
|
|
2294
|
-
addClasses:
|
|
2295
|
-
removeClasses:
|
|
2320
|
+
var rr = {
|
|
2321
|
+
addClasses: tr,
|
|
2322
|
+
removeClasses: nr
|
|
2296
2323
|
};
|
|
2297
2324
|
//#endregion
|
|
2298
2325
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/check-overflow/index.js
|
|
2299
|
-
function
|
|
2326
|
+
function ir() {
|
|
2300
2327
|
let e = this, { isLocked: t, params: n } = e, { slidesOffsetBefore: r } = n;
|
|
2301
2328
|
if (r) {
|
|
2302
2329
|
let t = e.slides.length - 1, n = e.slidesGrid[t] + e.slidesSizesGrid[t] + r * 2;
|
|
@@ -2304,7 +2331,7 @@ function nr() {
|
|
|
2304
2331
|
} else e.isLocked = e.snapGrid.length === 1;
|
|
2305
2332
|
n.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), n.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
2306
2333
|
}
|
|
2307
|
-
var
|
|
2334
|
+
var ar = { checkOverflow: ir }, or = {
|
|
2308
2335
|
init: !0,
|
|
2309
2336
|
direction: "horizontal",
|
|
2310
2337
|
oneWayMovement: !1,
|
|
@@ -2392,11 +2419,11 @@ var rr = { checkOverflow: nr }, ir = {
|
|
|
2392
2419
|
};
|
|
2393
2420
|
//#endregion
|
|
2394
2421
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/moduleExtendParams.js
|
|
2395
|
-
function
|
|
2422
|
+
function sr(e, t) {
|
|
2396
2423
|
return function(n = {}) {
|
|
2397
2424
|
let r = Object.keys(n)[0], i = n[r];
|
|
2398
2425
|
if (typeof i != "object" || !i) {
|
|
2399
|
-
|
|
2426
|
+
q(t, n);
|
|
2400
2427
|
return;
|
|
2401
2428
|
}
|
|
2402
2429
|
if ([
|
|
@@ -2404,52 +2431,52 @@ function ar(e, t) {
|
|
|
2404
2431
|
"pagination",
|
|
2405
2432
|
"scrollbar"
|
|
2406
2433
|
].indexOf(r) >= 0 && e[r] === !0 && (e[r] = { auto: !0 }), !(r in e && "enabled" in i)) {
|
|
2407
|
-
|
|
2434
|
+
q(t, n);
|
|
2408
2435
|
return;
|
|
2409
2436
|
}
|
|
2410
|
-
e[r] === !0 && (e[r] = { enabled: !0 }), typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }),
|
|
2437
|
+
e[r] === !0 && (e[r] = { enabled: !0 }), typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), q(t, n);
|
|
2411
2438
|
};
|
|
2412
2439
|
}
|
|
2413
2440
|
//#endregion
|
|
2414
2441
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/core.js
|
|
2415
|
-
var
|
|
2416
|
-
eventsEmitter:
|
|
2417
|
-
update:
|
|
2418
|
-
translate:
|
|
2419
|
-
transition:
|
|
2420
|
-
slide:
|
|
2421
|
-
loop:
|
|
2422
|
-
grabCursor:
|
|
2423
|
-
events:
|
|
2424
|
-
breakpoints:
|
|
2425
|
-
checkOverflow:
|
|
2426
|
-
classes:
|
|
2427
|
-
},
|
|
2442
|
+
var cr = {
|
|
2443
|
+
eventsEmitter: Jt,
|
|
2444
|
+
update: ln,
|
|
2445
|
+
translate: hn,
|
|
2446
|
+
transition: bn,
|
|
2447
|
+
slide: On,
|
|
2448
|
+
loop: Mn,
|
|
2449
|
+
grabCursor: Fn,
|
|
2450
|
+
events: Yn,
|
|
2451
|
+
breakpoints: $n,
|
|
2452
|
+
checkOverflow: ar,
|
|
2453
|
+
classes: rr
|
|
2454
|
+
}, lr = {}, X = class e {
|
|
2428
2455
|
constructor(...t) {
|
|
2429
2456
|
let n, r;
|
|
2430
|
-
t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r =
|
|
2431
|
-
let i =
|
|
2457
|
+
t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r = q({}, r), n && !r.el && (r.el = n);
|
|
2458
|
+
let i = U();
|
|
2432
2459
|
if (r.el && typeof r.el == "string" && i.querySelectorAll(r.el).length > 1) {
|
|
2433
2460
|
let t = [];
|
|
2434
2461
|
return i.querySelectorAll(r.el).forEach((n) => {
|
|
2435
|
-
let i =
|
|
2462
|
+
let i = q({}, r, { el: n });
|
|
2436
2463
|
t.push(new e(i));
|
|
2437
2464
|
}), t;
|
|
2438
2465
|
}
|
|
2439
2466
|
let a = this;
|
|
2440
|
-
a.__swiper__ = !0, a.support =
|
|
2467
|
+
a.__swiper__ = !0, a.support = zt(), a.device = Ht({ userAgent: r.userAgent }), a.browser = Gt(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && a.modules.push(...r.modules);
|
|
2441
2468
|
let o = {};
|
|
2442
2469
|
return a.modules.forEach((e) => {
|
|
2443
2470
|
e({
|
|
2444
2471
|
params: r,
|
|
2445
2472
|
swiper: a,
|
|
2446
|
-
extendParams:
|
|
2473
|
+
extendParams: sr(r, o),
|
|
2447
2474
|
on: a.on.bind(a),
|
|
2448
2475
|
once: a.once.bind(a),
|
|
2449
2476
|
off: a.off.bind(a),
|
|
2450
2477
|
emit: a.emit.bind(a)
|
|
2451
2478
|
});
|
|
2452
|
-
}), a.params =
|
|
2479
|
+
}), a.params = q({}, q({}, or, o), lr, r), a.originalParams = q({}, a.params), a.passedParams = q({}, r), a.params && a.params.on && Object.keys(a.params.on).forEach((e) => {
|
|
2453
2480
|
a.on(e, a.params.on[e]);
|
|
2454
2481
|
}), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
|
|
2455
2482
|
enabled: a.params.enabled,
|
|
@@ -2510,15 +2537,15 @@ var or = {
|
|
|
2510
2537
|
}), a.emit("_swiper"), a.params.init && a.init(), a;
|
|
2511
2538
|
}
|
|
2512
2539
|
getSlideIndex(e) {
|
|
2513
|
-
let { slidesEl: t, params: n } = this, r =
|
|
2514
|
-
return
|
|
2540
|
+
let { slidesEl: t, params: n } = this, r = Pt(J(t, `.${n.slideClass}, swiper-slide`)[0]);
|
|
2541
|
+
return Pt(e) - r;
|
|
2515
2542
|
}
|
|
2516
2543
|
getSlideIndexByData(e) {
|
|
2517
2544
|
return this.getSlideIndex(this.slides.filter((t) => t.getAttribute("data-swiper-slide-index") * 1 === e)[0]);
|
|
2518
2545
|
}
|
|
2519
2546
|
recalcSlides() {
|
|
2520
2547
|
let e = this, { slidesEl: t, params: n } = e;
|
|
2521
|
-
e.slides =
|
|
2548
|
+
e.slides = J(t, `.${n.slideClass}, swiper-slide`);
|
|
2522
2549
|
}
|
|
2523
2550
|
enable() {
|
|
2524
2551
|
let e = this;
|
|
@@ -2571,7 +2598,7 @@ var or = {
|
|
|
2571
2598
|
if (!e || e.destroyed) return;
|
|
2572
2599
|
let { snapGrid: t, params: n } = e;
|
|
2573
2600
|
n.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll("[loading=\"lazy\"]")].forEach((t) => {
|
|
2574
|
-
t.complete &&
|
|
2601
|
+
t.complete && nn(e, t);
|
|
2575
2602
|
}), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
|
|
2576
2603
|
function r() {
|
|
2577
2604
|
let t = e.rtlTranslate ? e.translate * -1 : e.translate, n = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate());
|
|
@@ -2604,26 +2631,26 @@ var or = {
|
|
|
2604
2631
|
let n = e || t.params.el;
|
|
2605
2632
|
if (typeof n == "string" && (n = document.querySelector(n)), !n) return !1;
|
|
2606
2633
|
n.swiper = t, n.shadowEl && (t.isElement = !0);
|
|
2607
|
-
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) :
|
|
2608
|
-
return !i && t.params.createElements && (i =
|
|
2634
|
+
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) : J(n, r())[0];
|
|
2635
|
+
return !i && t.params.createElements && (i = jt("div", t.params.wrapperClass), n.append(i), J(n, `.${t.params.slideClass}`).forEach((e) => {
|
|
2609
2636
|
i.append(e);
|
|
2610
2637
|
})), Object.assign(t, {
|
|
2611
2638
|
el: n,
|
|
2612
2639
|
wrapperEl: i,
|
|
2613
2640
|
slidesEl: t.isElement ? n : i,
|
|
2614
2641
|
mounted: !0,
|
|
2615
|
-
rtl: n.dir.toLowerCase() === "rtl" ||
|
|
2616
|
-
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" ||
|
|
2617
|
-
wrongRTL:
|
|
2642
|
+
rtl: n.dir.toLowerCase() === "rtl" || Y(n, "direction") === "rtl",
|
|
2643
|
+
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || Y(n, "direction") === "rtl"),
|
|
2644
|
+
wrongRTL: Y(i, "display") === "-webkit-box"
|
|
2618
2645
|
}), !0;
|
|
2619
2646
|
}
|
|
2620
2647
|
init(e) {
|
|
2621
2648
|
let t = this;
|
|
2622
2649
|
return t.initialized || t.mount(e) === !1 ? t : (t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.loop && t.virtual && t.params.virtual.enabled ? t.slideTo(t.params.initialSlide + t.virtual.slidesBefore, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.params.loop && t.loopCreate(), t.attachEvents(), [...t.el.querySelectorAll("[loading=\"lazy\"]")].forEach((e) => {
|
|
2623
|
-
e.complete ?
|
|
2624
|
-
|
|
2650
|
+
e.complete ? nn(t, e) : e.addEventListener("load", (e) => {
|
|
2651
|
+
nn(t, e.target);
|
|
2625
2652
|
});
|
|
2626
|
-
}),
|
|
2653
|
+
}), an(t), t.initialized = !0, an(t), t.emit("init"), t.emit("afterInit"), t);
|
|
2627
2654
|
}
|
|
2628
2655
|
destroy(e = !0, t = !0) {
|
|
2629
2656
|
let n = this, { params: r, el: i, wrapperEl: a, slides: o } = n;
|
|
@@ -2634,13 +2661,13 @@ var or = {
|
|
|
2634
2661
|
}), e !== !1 && (n.el.swiper = null, wt(n)), n.destroyed = !0, null);
|
|
2635
2662
|
}
|
|
2636
2663
|
static extendDefaults(e) {
|
|
2637
|
-
|
|
2664
|
+
q(lr, e);
|
|
2638
2665
|
}
|
|
2639
2666
|
static get extendedDefaults() {
|
|
2640
|
-
return
|
|
2667
|
+
return lr;
|
|
2641
2668
|
}
|
|
2642
2669
|
static get defaults() {
|
|
2643
|
-
return
|
|
2670
|
+
return or;
|
|
2644
2671
|
}
|
|
2645
2672
|
static installModule(t) {
|
|
2646
2673
|
e.prototype.__modules__ || (e.prototype.__modules__ = []);
|
|
@@ -2651,24 +2678,24 @@ var or = {
|
|
|
2651
2678
|
return Array.isArray(t) ? (t.forEach((t) => e.installModule(t)), e) : (e.installModule(t), e);
|
|
2652
2679
|
}
|
|
2653
2680
|
};
|
|
2654
|
-
Object.keys(
|
|
2655
|
-
Object.keys(
|
|
2656
|
-
X.prototype[t] =
|
|
2681
|
+
Object.keys(cr).forEach((e) => {
|
|
2682
|
+
Object.keys(cr[e]).forEach((t) => {
|
|
2683
|
+
X.prototype[t] = cr[e][t];
|
|
2657
2684
|
});
|
|
2658
|
-
}), X.use([
|
|
2685
|
+
}), X.use([Kt, qt]);
|
|
2659
2686
|
//#endregion
|
|
2660
2687
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/create-element-if-not-defined.js
|
|
2661
|
-
function
|
|
2688
|
+
function ur(e, t, n, r) {
|
|
2662
2689
|
return e.params.createElements && Object.keys(r).forEach((i) => {
|
|
2663
2690
|
if (!n[i] && n.auto === !0) {
|
|
2664
|
-
let a =
|
|
2665
|
-
a || (a =
|
|
2691
|
+
let a = J(e.el, `.${r[i]}`)[0];
|
|
2692
|
+
a || (a = jt("div", r[i]), a.className = r[i], e.el.append(a)), n[i] = a, t[i] = a;
|
|
2666
2693
|
}
|
|
2667
2694
|
}), n;
|
|
2668
2695
|
}
|
|
2669
2696
|
//#endregion
|
|
2670
2697
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/modules/navigation/navigation.js
|
|
2671
|
-
function
|
|
2698
|
+
function dr({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
2672
2699
|
t({ navigation: {
|
|
2673
2700
|
nextEl: null,
|
|
2674
2701
|
prevEl: null,
|
|
@@ -2708,7 +2735,7 @@ function lr({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
2708
2735
|
}
|
|
2709
2736
|
function u() {
|
|
2710
2737
|
let t = e.params.navigation;
|
|
2711
|
-
if (e.params.navigation =
|
|
2738
|
+
if (e.params.navigation = ur(e, e.originalParams.navigation, e.params.navigation, {
|
|
2712
2739
|
nextEl: "swiper-button-next",
|
|
2713
2740
|
prevEl: "swiper-button-prev"
|
|
2714
2741
|
}), !(t.nextEl || t.prevEl)) return;
|
|
@@ -2777,33 +2804,33 @@ function Q(e, t) {
|
|
|
2777
2804
|
e[n] === void 0 ? e[n] = t[n] : Z(t[n]) && Z(e[n]) && Object.keys(t[n]).length > 0 ? t[n].__swiper__ ? e[n] = t[n] : Q(e[n], t[n]) : e[n] = t[n];
|
|
2778
2805
|
});
|
|
2779
2806
|
}
|
|
2780
|
-
function
|
|
2807
|
+
function fr(e = {}) {
|
|
2781
2808
|
return e.navigation && e.navigation.nextEl === void 0 && e.navigation.prevEl === void 0;
|
|
2782
2809
|
}
|
|
2783
|
-
function
|
|
2810
|
+
function pr(e = {}) {
|
|
2784
2811
|
return e.pagination && e.pagination.el === void 0;
|
|
2785
2812
|
}
|
|
2786
|
-
function
|
|
2813
|
+
function mr(e = {}) {
|
|
2787
2814
|
return e.scrollbar && e.scrollbar.el === void 0;
|
|
2788
2815
|
}
|
|
2789
|
-
function
|
|
2816
|
+
function hr(e = "") {
|
|
2790
2817
|
let t = e.split(" ").map((e) => e.trim()).filter((e) => !!e), n = [];
|
|
2791
2818
|
return t.forEach((e) => {
|
|
2792
2819
|
n.indexOf(e) < 0 && n.push(e);
|
|
2793
2820
|
}), n.join(" ");
|
|
2794
2821
|
}
|
|
2795
|
-
function
|
|
2822
|
+
function gr(e = "") {
|
|
2796
2823
|
return e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
|
|
2797
2824
|
}
|
|
2798
2825
|
//#endregion
|
|
2799
2826
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/params-list.js
|
|
2800
|
-
var
|
|
2827
|
+
var _r = /* @__PURE__ */ "eventsPrefix.injectStyles.injectStylesUrls.modules.init._direction.oneWayMovement.touchEventsTarget.initialSlide._speed.cssMode.updateOnWindowResize.resizeObserver.nested.focusableElements._enabled._width._height.preventInteractionOnTransition.userAgent.url._edgeSwipeDetection._edgeSwipeThreshold._freeMode._autoHeight.setWrapperSize.virtualTranslate._effect.breakpoints._spaceBetween._slidesPerView.maxBackfaceHiddenSlides._grid._slidesPerGroup._slidesPerGroupSkip._slidesPerGroupAuto._centeredSlides._centeredSlidesBounds._slidesOffsetBefore._slidesOffsetAfter.normalizeSlideIndex._centerInsufficientSlides._watchOverflow.roundLengths.touchRatio.touchAngle.simulateTouch._shortSwipes._longSwipes.longSwipesRatio.longSwipesMs._followFinger.allowTouchMove._threshold.touchMoveStopPropagation.touchStartPreventDefault.touchStartForcePreventDefault.touchReleaseOnEdges.uniqueNavElements._resistance._resistanceRatio._watchSlidesProgress._grabCursor.preventClicks.preventClicksPropagation._slideToClickedSlide._loop.loopedSlides.loopPreventsSliding._rewind._allowSlidePrev._allowSlideNext._swipeHandler._noSwiping.noSwipingClass.noSwipingSelector.passiveListeners.containerModifierClass.slideClass.slideActiveClass.slideVisibleClass.slideNextClass.slidePrevClass.wrapperClass.lazyPreloaderClass.lazyPreloadPrevNext.runCallbacksOnInit.observer.observeParents.observeSlideChildren.a11y._autoplay._controller.coverflowEffect.cubeEffect.fadeEffect.flipEffect.creativeEffect.cardsEffect.hashNavigation.history.keyboard.mousewheel._navigation._pagination.parallax._scrollbar._thumbs.virtual.zoom.control".split(".");
|
|
2801
2828
|
//#endregion
|
|
2802
2829
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/get-params.js
|
|
2803
|
-
function
|
|
2830
|
+
function vr(e = {}, t = !0) {
|
|
2804
2831
|
let n = { on: {} }, r = {}, i = {};
|
|
2805
2832
|
Q(n, X.defaults), Q(n, X.extendedDefaults), n._emitClasses = !0, n.init = !1;
|
|
2806
|
-
let a = {}, o =
|
|
2833
|
+
let a = {}, o = _r.map((e) => e.replace(/_/, "")), s = Object.assign({}, e);
|
|
2807
2834
|
return Object.keys(s).forEach((s) => {
|
|
2808
2835
|
e[s] !== void 0 && (o.indexOf(s) >= 0 ? Z(e[s]) ? (n[s] = {}, i[s] = {}, Q(n[s], e[s]), Q(i[s], e[s])) : (n[s] = e[s], i[s] = e[s]) : s.search(/on[A-Z]/) === 0 && typeof e[s] == "function" ? t ? r[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : n.on[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : a[s] = e[s]);
|
|
2809
2836
|
}), [
|
|
@@ -2821,12 +2848,12 @@ function gr(e = {}, t = !0) {
|
|
|
2821
2848
|
}
|
|
2822
2849
|
//#endregion
|
|
2823
2850
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/mount-swiper.js
|
|
2824
|
-
function
|
|
2825
|
-
|
|
2851
|
+
function yr({ el: e, nextEl: t, prevEl: n, paginationEl: r, scrollbarEl: i, swiper: a }, o) {
|
|
2852
|
+
fr(o) && t && n && (a.params.navigation.nextEl = t, a.originalParams.navigation.nextEl = t, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), pr(o) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), mr(o) && i && (a.params.scrollbar.el = i, a.originalParams.scrollbar.el = i), a.init(e);
|
|
2826
2853
|
}
|
|
2827
2854
|
//#endregion
|
|
2828
2855
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/get-changed-params.js
|
|
2829
|
-
function
|
|
2856
|
+
function br(e, t, n, r, i) {
|
|
2830
2857
|
let a = [];
|
|
2831
2858
|
if (!t) return a;
|
|
2832
2859
|
let o = (e) => {
|
|
@@ -2836,7 +2863,7 @@ function vr(e, t, n, r, i) {
|
|
|
2836
2863
|
let e = r.map(i), t = n.map(i);
|
|
2837
2864
|
e.join("") !== t.join("") && o("children"), r.length !== n.length && o("children");
|
|
2838
2865
|
}
|
|
2839
|
-
return
|
|
2866
|
+
return _r.filter((e) => e[0] === "_").map((e) => e.replace(/_/, "")).forEach((n) => {
|
|
2840
2867
|
if (n in e && n in t) if (Z(e[n]) && Z(t[n])) {
|
|
2841
2868
|
let r = Object.keys(e[n]), i = Object.keys(t[n]);
|
|
2842
2869
|
r.length === i.length ? (r.forEach((r) => {
|
|
@@ -2849,27 +2876,27 @@ function vr(e, t, n, r, i) {
|
|
|
2849
2876
|
}
|
|
2850
2877
|
//#endregion
|
|
2851
2878
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/get-children.js
|
|
2852
|
-
function
|
|
2879
|
+
function xr(e) {
|
|
2853
2880
|
return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
|
|
2854
2881
|
}
|
|
2855
|
-
function
|
|
2882
|
+
function Sr(e) {
|
|
2856
2883
|
let t = [];
|
|
2857
|
-
return
|
|
2858
|
-
|
|
2884
|
+
return d.Children.toArray(e).forEach((e) => {
|
|
2885
|
+
xr(e) ? t.push(e) : e.props && e.props.children && Sr(e.props.children).forEach((e) => t.push(e));
|
|
2859
2886
|
}), t;
|
|
2860
2887
|
}
|
|
2861
|
-
function
|
|
2888
|
+
function Cr(e) {
|
|
2862
2889
|
let t = [], n = {
|
|
2863
2890
|
"container-start": [],
|
|
2864
2891
|
"container-end": [],
|
|
2865
2892
|
"wrapper-start": [],
|
|
2866
2893
|
"wrapper-end": []
|
|
2867
2894
|
};
|
|
2868
|
-
return
|
|
2869
|
-
if (
|
|
2895
|
+
return d.Children.toArray(e).forEach((e) => {
|
|
2896
|
+
if (xr(e)) t.push(e);
|
|
2870
2897
|
else if (e.props && e.props.slot && n[e.props.slot]) n[e.props.slot].push(e);
|
|
2871
2898
|
else if (e.props && e.props.children) {
|
|
2872
|
-
let r =
|
|
2899
|
+
let r = Sr(e.props.children);
|
|
2873
2900
|
r.length > 0 ? r.forEach((e) => t.push(e)) : n["container-end"].push(e);
|
|
2874
2901
|
} else n["container-end"].push(e);
|
|
2875
2902
|
}), {
|
|
@@ -2879,7 +2906,7 @@ function xr(e) {
|
|
|
2879
2906
|
}
|
|
2880
2907
|
//#endregion
|
|
2881
2908
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/update-swiper.js
|
|
2882
|
-
function
|
|
2909
|
+
function wr({ swiper: e, slides: t, passedParams: n, changedParams: r, nextEl: i, prevEl: a, scrollbarEl: o, paginationEl: s }) {
|
|
2883
2910
|
let c = r.filter((e) => e !== "children" && e !== "direction" && e !== "wrapperClass"), { params: l, pagination: u, navigation: d, scrollbar: f, virtual: p, thumbs: m } = e, h, g, _, v, y, b, x, S;
|
|
2884
2911
|
r.includes("thumbs") && n.thumbs && n.thumbs.swiper && l.thumbs && !l.thumbs.swiper && (h = !0), r.includes("controller") && n.controller && n.controller.control && l.controller && !l.controller.control && (g = !0), r.includes("pagination") && n.pagination && (n.pagination.el || s) && (l.pagination || l.pagination === !1) && u && !u.el && (_ = !0), r.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || o) && (l.scrollbar || l.scrollbar === !1) && f && !f.el && (v = !0), r.includes("navigation") && n.navigation && (n.navigation.prevEl || a) && (n.navigation.nextEl || i) && (l.navigation || l.navigation === !1) && d && !d.prevEl && !d.nextEl && (y = !0);
|
|
2885
2912
|
let C = (t) => {
|
|
@@ -2895,14 +2922,14 @@ function Sr({ swiper: e, slides: t, passedParams: n, changedParams: r, nextEl: i
|
|
|
2895
2922
|
}
|
|
2896
2923
|
//#endregion
|
|
2897
2924
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/virtual.js
|
|
2898
|
-
function
|
|
2925
|
+
function Tr(e, t, n) {
|
|
2899
2926
|
if (!n) return null;
|
|
2900
2927
|
let r = (e) => {
|
|
2901
2928
|
let n = e;
|
|
2902
2929
|
return e < 0 ? n = t.length + e : n >= t.length && (n -= t.length), n;
|
|
2903
2930
|
}, i = e.isHorizontal() ? { [e.rtlTranslate ? "right" : "left"]: `${n.offset}px` } : { top: `${n.offset}px` }, { from: a, to: o } = n, s = e.params.loop ? -t.length : 0, c = e.params.loop ? t.length * 2 : t.length, l = [];
|
|
2904
2931
|
for (let e = s; e < c; e += 1) e >= a && e <= o && l.push(t[r(e)]);
|
|
2905
|
-
return l.map((t, n) => /*#__PURE__*/
|
|
2932
|
+
return l.map((t, n) => /*#__PURE__*/ d.cloneElement(t, {
|
|
2906
2933
|
swiper: e,
|
|
2907
2934
|
style: i,
|
|
2908
2935
|
key: `slide-${n}`
|
|
@@ -2910,65 +2937,65 @@ function Cr(e, t, n) {
|
|
|
2910
2937
|
}
|
|
2911
2938
|
//#endregion
|
|
2912
2939
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/update-on-virtual-data.js
|
|
2913
|
-
var
|
|
2940
|
+
var Er = (e) => {
|
|
2914
2941
|
!e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
|
|
2915
2942
|
};
|
|
2916
2943
|
//#endregion
|
|
2917
2944
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/use-isomorphic-layout-effect.js
|
|
2918
2945
|
function $(e, t) {
|
|
2919
|
-
return typeof window > "u" ? (0,
|
|
2946
|
+
return typeof window > "u" ? (0, d.useEffect)(e, t) : (0, d.useLayoutEffect)(e, t);
|
|
2920
2947
|
}
|
|
2921
2948
|
//#endregion
|
|
2922
2949
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/context.js
|
|
2923
|
-
var
|
|
2950
|
+
var Dr = /*#__PURE__*/ (0, d.createContext)(null), Or = /*#__PURE__*/ (0, d.createContext)(null);
|
|
2924
2951
|
//#endregion
|
|
2925
2952
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/swiper.js
|
|
2926
|
-
function
|
|
2927
|
-
return
|
|
2953
|
+
function kr() {
|
|
2954
|
+
return kr = Object.assign ? Object.assign.bind() : function(e) {
|
|
2928
2955
|
for (var t = 1; t < arguments.length; t++) {
|
|
2929
2956
|
var n = arguments[t];
|
|
2930
2957
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2931
2958
|
}
|
|
2932
2959
|
return e;
|
|
2933
|
-
},
|
|
2960
|
+
}, kr.apply(this, arguments);
|
|
2934
2961
|
}
|
|
2935
|
-
var
|
|
2936
|
-
let { className: n, tag: r = "div", wrapperTag: i = "div", children: a, onSwiper: o, ...s } = e === void 0 ? {} : e, c = !1, [l,
|
|
2962
|
+
var Ar = /*#__PURE__*/ (0, d.forwardRef)(function(e, t) {
|
|
2963
|
+
let { className: n, tag: r = "div", wrapperTag: i = "div", children: a, onSwiper: o, ...s } = e === void 0 ? {} : e, c = !1, [l, u] = (0, d.useState)("swiper"), [f, p] = (0, d.useState)(null), [m, h] = (0, d.useState)(!1), g = (0, d.useRef)(!1), _ = (0, d.useRef)(null), v = (0, d.useRef)(null), y = (0, d.useRef)(null), b = (0, d.useRef)(null), x = (0, d.useRef)(null), S = (0, d.useRef)(null), C = (0, d.useRef)(null), w = (0, d.useRef)(null), { params: T, passedParams: E, rest: D, events: O } = vr(s), { slides: k, slots: A } = Cr(a), j = () => {
|
|
2937
2964
|
h(!m);
|
|
2938
2965
|
};
|
|
2939
2966
|
Object.assign(T.on, { _containerClasses(e, t) {
|
|
2940
|
-
|
|
2967
|
+
u(t);
|
|
2941
2968
|
} });
|
|
2942
|
-
let
|
|
2943
|
-
Object.assign(T.on,
|
|
2969
|
+
let M = () => {
|
|
2970
|
+
Object.assign(T.on, O), c = !0;
|
|
2944
2971
|
let e = { ...T };
|
|
2945
2972
|
if (delete e.wrapperClass, v.current = new X(e), v.current.virtual && v.current.params.virtual.enabled) {
|
|
2946
|
-
v.current.virtual.slides =
|
|
2973
|
+
v.current.virtual.slides = k;
|
|
2947
2974
|
let e = {
|
|
2948
2975
|
cache: !1,
|
|
2949
|
-
slides:
|
|
2976
|
+
slides: k,
|
|
2950
2977
|
renderExternal: p,
|
|
2951
2978
|
renderExternalUpdate: !1
|
|
2952
2979
|
};
|
|
2953
2980
|
Q(v.current.params.virtual, e), Q(v.current.originalParams.virtual, e);
|
|
2954
2981
|
}
|
|
2955
2982
|
};
|
|
2956
|
-
_.current ||
|
|
2957
|
-
let
|
|
2958
|
-
c || !
|
|
2959
|
-
v.current.on(e,
|
|
2983
|
+
_.current || M(), v.current && v.current.on("_beforeBreakpoint", j);
|
|
2984
|
+
let N = () => {
|
|
2985
|
+
c || !O || !v.current || Object.keys(O).forEach((e) => {
|
|
2986
|
+
v.current.on(e, O[e]);
|
|
2960
2987
|
});
|
|
2961
|
-
},
|
|
2962
|
-
!
|
|
2963
|
-
v.current.off(e,
|
|
2988
|
+
}, P = () => {
|
|
2989
|
+
!O || !v.current || Object.keys(O).forEach((e) => {
|
|
2990
|
+
v.current.off(e, O[e]);
|
|
2964
2991
|
});
|
|
2965
2992
|
};
|
|
2966
|
-
(0,
|
|
2967
|
-
v.current && v.current.off("_beforeBreakpoint",
|
|
2968
|
-
}), (0,
|
|
2993
|
+
(0, d.useEffect)(() => () => {
|
|
2994
|
+
v.current && v.current.off("_beforeBreakpoint", j);
|
|
2995
|
+
}), (0, d.useEffect)(() => {
|
|
2969
2996
|
!g.current && v.current && (v.current.emitSlidesClasses(), g.current = !0);
|
|
2970
2997
|
}), $(() => {
|
|
2971
|
-
if (t && (t.current = _.current), _.current) return v.current.destroyed &&
|
|
2998
|
+
if (t && (t.current = _.current), _.current) return v.current.destroyed && M(), yr({
|
|
2972
2999
|
el: _.current,
|
|
2973
3000
|
nextEl: x.current,
|
|
2974
3001
|
prevEl: S.current,
|
|
@@ -2979,11 +3006,11 @@ var Or = /*#__PURE__*/ (0, u.forwardRef)(function(e, t) {
|
|
|
2979
3006
|
v.current && !v.current.destroyed && v.current.destroy(!0, !1);
|
|
2980
3007
|
};
|
|
2981
3008
|
}, []), $(() => {
|
|
2982
|
-
|
|
2983
|
-
let e =
|
|
2984
|
-
return y.current = E, b.current =
|
|
3009
|
+
N();
|
|
3010
|
+
let e = br(E, y.current, k, b.current, (e) => e.key);
|
|
3011
|
+
return y.current = E, b.current = k, e.length && v.current && !v.current.destroyed && wr({
|
|
2985
3012
|
swiper: v.current,
|
|
2986
|
-
slides:
|
|
3013
|
+
slides: k,
|
|
2987
3014
|
passedParams: E,
|
|
2988
3015
|
changedParams: e,
|
|
2989
3016
|
nextEl: x.current,
|
|
@@ -2991,48 +3018,48 @@ var Or = /*#__PURE__*/ (0, u.forwardRef)(function(e, t) {
|
|
|
2991
3018
|
scrollbarEl: w.current,
|
|
2992
3019
|
paginationEl: C.current
|
|
2993
3020
|
}), () => {
|
|
2994
|
-
|
|
3021
|
+
P();
|
|
2995
3022
|
};
|
|
2996
3023
|
}), $(() => {
|
|
2997
|
-
|
|
3024
|
+
Er(v.current);
|
|
2998
3025
|
}, [f]);
|
|
2999
|
-
function
|
|
3000
|
-
return T.virtual ?
|
|
3026
|
+
function F() {
|
|
3027
|
+
return T.virtual ? Tr(v.current, k, f) : k.map((e, t) => /*#__PURE__*/ d.cloneElement(e, {
|
|
3001
3028
|
swiper: v.current,
|
|
3002
3029
|
swiperSlideIndex: t
|
|
3003
3030
|
}));
|
|
3004
3031
|
}
|
|
3005
|
-
return /*#__PURE__*/
|
|
3032
|
+
return /*#__PURE__*/ d.createElement(r, kr({
|
|
3006
3033
|
ref: _,
|
|
3007
|
-
className:
|
|
3008
|
-
},
|
|
3034
|
+
className: hr(`${l}${n ? ` ${n}` : ""}`)
|
|
3035
|
+
}, D), /*#__PURE__*/ d.createElement(Or.Provider, { value: v.current }, A["container-start"], /*#__PURE__*/ d.createElement(i, { className: gr(T.wrapperClass) }, A["wrapper-start"], F(), A["wrapper-end"]), fr(T) && /*#__PURE__*/ d.createElement(d.Fragment, null, /*#__PURE__*/ d.createElement("div", {
|
|
3009
3036
|
ref: S,
|
|
3010
3037
|
className: "swiper-button-prev"
|
|
3011
|
-
}), /*#__PURE__*/
|
|
3038
|
+
}), /*#__PURE__*/ d.createElement("div", {
|
|
3012
3039
|
ref: x,
|
|
3013
3040
|
className: "swiper-button-next"
|
|
3014
|
-
})),
|
|
3041
|
+
})), mr(T) && /*#__PURE__*/ d.createElement("div", {
|
|
3015
3042
|
ref: w,
|
|
3016
3043
|
className: "swiper-scrollbar"
|
|
3017
|
-
}),
|
|
3044
|
+
}), pr(T) && /*#__PURE__*/ d.createElement("div", {
|
|
3018
3045
|
ref: C,
|
|
3019
3046
|
className: "swiper-pagination"
|
|
3020
|
-
}),
|
|
3047
|
+
}), A["container-end"]));
|
|
3021
3048
|
});
|
|
3022
|
-
|
|
3049
|
+
Ar.displayName = "Swiper";
|
|
3023
3050
|
//#endregion
|
|
3024
3051
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/swiper-slide.js
|
|
3025
|
-
function
|
|
3026
|
-
return
|
|
3052
|
+
function jr() {
|
|
3053
|
+
return jr = Object.assign ? Object.assign.bind() : function(e) {
|
|
3027
3054
|
for (var t = 1; t < arguments.length; t++) {
|
|
3028
3055
|
var n = arguments[t];
|
|
3029
3056
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
3030
3057
|
}
|
|
3031
3058
|
return e;
|
|
3032
|
-
},
|
|
3059
|
+
}, jr.apply(this, arguments);
|
|
3033
3060
|
}
|
|
3034
|
-
var
|
|
3035
|
-
let { tag: n = "div", children: r, className: i = "", swiper: a, zoom: o, lazy: s, virtualIndex: c, swiperSlideIndex: l, ...
|
|
3061
|
+
var Mr = /*#__PURE__*/ (0, d.forwardRef)(function(e, t) {
|
|
3062
|
+
let { tag: n = "div", children: r, className: i = "", swiper: a, zoom: o, lazy: s, virtualIndex: c, swiperSlideIndex: l, ...u } = e === void 0 ? {} : e, f = (0, d.useRef)(null), [p, m] = (0, d.useState)("swiper-slide"), [h, g] = (0, d.useState)(!1);
|
|
3036
3063
|
function _(e, t, n) {
|
|
3037
3064
|
t === f.current && m(n);
|
|
3038
3065
|
}
|
|
@@ -3055,176 +3082,274 @@ var Ar = /*#__PURE__*/ (0, u.forwardRef)(function(e, t) {
|
|
|
3055
3082
|
isPrev: p.indexOf("swiper-slide-prev") >= 0,
|
|
3056
3083
|
isNext: p.indexOf("swiper-slide-next") >= 0
|
|
3057
3084
|
}, y = () => typeof r == "function" ? r(v) : r;
|
|
3058
|
-
return /*#__PURE__*/
|
|
3085
|
+
return /*#__PURE__*/ d.createElement(n, jr({
|
|
3059
3086
|
ref: f,
|
|
3060
|
-
className:
|
|
3087
|
+
className: hr(`${p}${i ? ` ${i}` : ""}`),
|
|
3061
3088
|
"data-swiper-slide-index": c,
|
|
3062
3089
|
onLoad: () => {
|
|
3063
3090
|
g(!0);
|
|
3064
3091
|
}
|
|
3065
|
-
},
|
|
3092
|
+
}, u), o && /*#__PURE__*/ d.createElement(Dr.Provider, { value: v }, /*#__PURE__*/ d.createElement("div", {
|
|
3066
3093
|
className: "swiper-zoom-container",
|
|
3067
3094
|
"data-swiper-zoom": typeof o == "number" ? o : void 0
|
|
3068
|
-
}, y(), s && !h && /*#__PURE__*/
|
|
3095
|
+
}, y(), s && !h && /*#__PURE__*/ d.createElement("div", { className: "swiper-lazy-preloader" }))), !o && /*#__PURE__*/ d.createElement(Dr.Provider, { value: v }, y(), s && !h && /*#__PURE__*/ d.createElement("div", { className: "swiper-lazy-preloader" })));
|
|
3069
3096
|
});
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3097
|
+
Mr.displayName = "SwiperSlide";
|
|
3098
|
+
//#endregion
|
|
3099
|
+
//#region ../ui/src/shared/hooks/useOnEscape.ts
|
|
3100
|
+
function Nr(e, t = !0) {
|
|
3101
|
+
let n = (0, d.useRef)(e);
|
|
3102
|
+
(0, d.useEffect)(() => {
|
|
3103
|
+
n.current = e;
|
|
3104
|
+
}), (0, d.useEffect)(() => {
|
|
3105
|
+
if (!t) return;
|
|
3106
|
+
let e = (e) => {
|
|
3107
|
+
e.key === "Escape" && n.current();
|
|
3108
|
+
};
|
|
3109
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
3110
|
+
}, [t]);
|
|
3111
|
+
}
|
|
3112
|
+
//#endregion
|
|
3113
|
+
//#region ../ui/src/components/Gallery/GalleryControls/GalleryControls.tsx
|
|
3114
|
+
var Pr = ({ closeLabel: e, zoomInLabel: t, zoomOutLabel: n, zoomIn: r, zoomOut: i, onClose: a }) => /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
3115
|
+
className: "efp-gallery-slider__controls",
|
|
3073
3116
|
children: [
|
|
3074
|
-
/* @__PURE__ */ (0,
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3117
|
+
/* @__PURE__ */ (0, p.jsx)("button", {
|
|
3118
|
+
type: "button",
|
|
3119
|
+
className: "efp-gallery-slider__btn efp-gallery-slider__btn--close",
|
|
3120
|
+
title: e,
|
|
3121
|
+
"aria-label": e,
|
|
3122
|
+
onClick: a,
|
|
3123
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
3080
3124
|
className: "icon-close",
|
|
3081
3125
|
"aria-hidden": "true"
|
|
3082
3126
|
})
|
|
3083
3127
|
}),
|
|
3084
|
-
/* @__PURE__ */ (0,
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3128
|
+
/* @__PURE__ */ (0, p.jsx)("button", {
|
|
3129
|
+
type: "button",
|
|
3130
|
+
className: "efp-gallery-slider__btn efp-gallery-slider__btn--zoom-in",
|
|
3131
|
+
title: t,
|
|
3132
|
+
"aria-label": t,
|
|
3133
|
+
onClick: () => r(),
|
|
3134
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
3090
3135
|
className: "icon-zoom-in",
|
|
3091
3136
|
"aria-hidden": "true"
|
|
3092
3137
|
})
|
|
3093
3138
|
}),
|
|
3094
|
-
/* @__PURE__ */ (0,
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3139
|
+
/* @__PURE__ */ (0, p.jsx)("button", {
|
|
3140
|
+
type: "button",
|
|
3141
|
+
className: "efp-gallery-slider__btn efp-gallery-slider__btn--zoom-out",
|
|
3142
|
+
title: n,
|
|
3143
|
+
"aria-label": n,
|
|
3144
|
+
onClick: () => i(),
|
|
3145
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
3100
3146
|
className: "icon-zoom-out",
|
|
3101
3147
|
"aria-hidden": "true"
|
|
3102
3148
|
})
|
|
3103
3149
|
})
|
|
3104
3150
|
]
|
|
3105
|
-
})
|
|
3151
|
+
}), Fr = ({ swiperRef: e, leading: t, url: n }) => (yt(({ state: t, instance: n }) => {
|
|
3106
3152
|
e.current && (e.current.allowTouchMove = t.scale === 1, t.scale === 1 && t.positionX !== 0 && t.positionY !== 0 && n.setCenter());
|
|
3107
|
-
}), /* @__PURE__ */ (0,
|
|
3108
|
-
wrapperClass: "gallery-slider__zoom",
|
|
3109
|
-
contentClass: "gallery-slider__zoom-content",
|
|
3110
|
-
children: /* @__PURE__ */ (0,
|
|
3111
|
-
|
|
3153
|
+
}), /* @__PURE__ */ (0, p.jsx)(_t, {
|
|
3154
|
+
wrapperClass: "efp-gallery-slider__zoom",
|
|
3155
|
+
contentClass: "efp-gallery-slider__zoom-content",
|
|
3156
|
+
children: /* @__PURE__ */ (0, p.jsx)(g, {
|
|
3157
|
+
fullscreen: !0,
|
|
3112
3158
|
leading: t,
|
|
3113
3159
|
url: n
|
|
3114
3160
|
})
|
|
3115
|
-
})),
|
|
3116
|
-
let { images: t, leading:
|
|
3117
|
-
|
|
3161
|
+
})), Ir = (e) => e.getClientRects().length > 0 && getComputedStyle(e).visibility !== "hidden", Lr = (e) => {
|
|
3162
|
+
let { images: t, leading: n, initialSlideIndex: r, closeLabel: i, zoomInLabel: a, zoomOutLabel: o, nextSlideLabel: s, prevSlideLabel: l, itemLabel: u, renderTarget: m, onSlideActivate: h, onClose: g, className: _ } = e, [y, b] = (0, d.useState)(r), [x, S] = (0, d.useState)([]), C = (0, d.useRef)(null), w = (0, d.useRef)(null), T = (0, d.useRef)(null), E = (0, d.useRef)(null);
|
|
3163
|
+
Nr(g), (0, d.useEffect)(() => {
|
|
3164
|
+
let e = c(E.current), t = document.body.style.overflow;
|
|
3165
|
+
document.body.style.overflow = "hidden";
|
|
3166
|
+
let n = 0, r = requestAnimationFrame(() => {
|
|
3167
|
+
n = requestAnimationFrame(() => {
|
|
3168
|
+
var e;
|
|
3169
|
+
return (e = E.current) == null ? void 0 : e.focus();
|
|
3170
|
+
});
|
|
3171
|
+
}), i = (e) => {
|
|
3172
|
+
if (e.key !== "Tab") return;
|
|
3173
|
+
let t = E.current;
|
|
3174
|
+
if (!t) return;
|
|
3175
|
+
let n = Array.from(t.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")).filter(Ir);
|
|
3176
|
+
if (n.length === 0) {
|
|
3177
|
+
e.preventDefault();
|
|
3178
|
+
return;
|
|
3179
|
+
}
|
|
3180
|
+
let r = n[0], i = n[n.length - 1], a = c(t);
|
|
3181
|
+
e.shiftKey ? (a === r || a === t) && (e.preventDefault(), i.focus()) : a === i && (e.preventDefault(), r.focus());
|
|
3182
|
+
};
|
|
3183
|
+
return document.addEventListener("keydown", i), () => {
|
|
3184
|
+
cancelAnimationFrame(r), cancelAnimationFrame(n), document.removeEventListener("keydown", i), document.body.style.overflow = t, e == null || e.focus();
|
|
3185
|
+
};
|
|
3186
|
+
}, []), (0, d.useEffect)(() => {
|
|
3187
|
+
h == null || h(y);
|
|
3188
|
+
}, [y, h]);
|
|
3189
|
+
let D = {
|
|
3190
|
+
initialSlide: r,
|
|
3118
3191
|
draggable: !1,
|
|
3119
|
-
modules: [
|
|
3192
|
+
modules: [dr],
|
|
3120
3193
|
spaceBetween: 50,
|
|
3121
3194
|
slidesPerView: 1,
|
|
3122
3195
|
navigation: {
|
|
3123
|
-
prevEl:
|
|
3124
|
-
nextEl:
|
|
3196
|
+
prevEl: w.current,
|
|
3197
|
+
nextEl: T.current
|
|
3125
3198
|
},
|
|
3126
3199
|
grabCursor: !0
|
|
3127
|
-
}
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3200
|
+
};
|
|
3201
|
+
return (0, v.createPortal)(/* @__PURE__ */ (0, p.jsx)("div", {
|
|
3202
|
+
className: (0, f.default)("efp-gallery-modal", _),
|
|
3203
|
+
role: "dialog",
|
|
3204
|
+
"aria-modal": "true",
|
|
3205
|
+
"aria-label": u(y),
|
|
3206
|
+
ref: E,
|
|
3207
|
+
tabIndex: -1,
|
|
3208
|
+
children: /* @__PURE__ */ (0, p.jsxs)(Ar, {
|
|
3209
|
+
onSwiper: (e) => C.current = e,
|
|
3210
|
+
className: "efp-gallery-slider",
|
|
3132
3211
|
onSlideChange: (e) => {
|
|
3133
3212
|
var t;
|
|
3134
|
-
|
|
3213
|
+
b(e.activeIndex), (t = x[e.previousIndex]) == null || t.resetTransform();
|
|
3135
3214
|
},
|
|
3136
|
-
...
|
|
3215
|
+
...D,
|
|
3137
3216
|
children: [
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3217
|
+
x[y] ? /* @__PURE__ */ (0, p.jsx)(Pr, {
|
|
3218
|
+
closeLabel: i,
|
|
3219
|
+
zoomInLabel: a,
|
|
3220
|
+
zoomOutLabel: o,
|
|
3221
|
+
onClose: g,
|
|
3222
|
+
zoomIn: x[y].zoomIn,
|
|
3223
|
+
zoomOut: x[y].zoomOut
|
|
3142
3224
|
}) : null,
|
|
3143
|
-
t.length > 1 && /* @__PURE__ */ (0,
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3225
|
+
t.length > 1 && /* @__PURE__ */ (0, p.jsx)("button", {
|
|
3226
|
+
type: "button",
|
|
3227
|
+
ref: T,
|
|
3228
|
+
title: s,
|
|
3229
|
+
"aria-label": s,
|
|
3230
|
+
className: "efp-gallery-slider__btn efp-gallery-slider__btn--next",
|
|
3231
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
3232
|
+
className: "icon-chevron-right",
|
|
3233
|
+
"aria-hidden": "true"
|
|
3234
|
+
})
|
|
3149
3235
|
}),
|
|
3150
|
-
t.length > 1 && /* @__PURE__ */ (0,
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3236
|
+
t.length > 1 && /* @__PURE__ */ (0, p.jsx)("button", {
|
|
3237
|
+
type: "button",
|
|
3238
|
+
ref: w,
|
|
3239
|
+
title: l,
|
|
3240
|
+
"aria-label": l,
|
|
3241
|
+
className: "efp-gallery-slider__btn efp-gallery-slider__btn--prev",
|
|
3242
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
3243
|
+
className: "icon-chevron-left",
|
|
3244
|
+
"aria-hidden": "true"
|
|
3245
|
+
})
|
|
3156
3246
|
}),
|
|
3157
|
-
t.map((e, t) => /* @__PURE__ */ (0,
|
|
3247
|
+
t.map((e, t) => /* @__PURE__ */ (0, p.jsx)(Mr, { children: /* @__PURE__ */ (0, p.jsx)(pt, {
|
|
3158
3248
|
initialScale: 1,
|
|
3159
3249
|
alignmentAnimation: {
|
|
3160
3250
|
sizeX: 0,
|
|
3161
3251
|
sizeY: 0
|
|
3162
3252
|
},
|
|
3163
3253
|
onInit: (e) => {
|
|
3164
|
-
|
|
3254
|
+
S((t) => [...t, e]);
|
|
3165
3255
|
},
|
|
3166
|
-
children: /* @__PURE__ */ (0,
|
|
3167
|
-
leading:
|
|
3168
|
-
swiperRef:
|
|
3169
|
-
url: e
|
|
3256
|
+
children: /* @__PURE__ */ (0, p.jsx)(Fr, {
|
|
3257
|
+
leading: n,
|
|
3258
|
+
swiperRef: C,
|
|
3259
|
+
url: e.fullUrl
|
|
3170
3260
|
})
|
|
3171
|
-
}) }, e + t))
|
|
3261
|
+
}) }, e.thumbnailUrl + t))
|
|
3172
3262
|
]
|
|
3173
3263
|
})
|
|
3174
|
-
});
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
if (t.length > 0) {
|
|
3188
|
-
let e = S(t[0], !0);
|
|
3189
|
-
try {
|
|
3190
|
-
await p.load(e), v(!0);
|
|
3191
|
-
} catch {
|
|
3192
|
-
v(!1);
|
|
3193
|
-
}
|
|
3194
|
-
}
|
|
3195
|
-
})();
|
|
3196
|
-
}, [t]), /* @__PURE__ */ (0, d.jsxs)(u.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
3197
|
-
className: (0, l.default)("gallery", { "gallery-leading": n }, o),
|
|
3198
|
-
children: [/* @__PURE__ */ (0, d.jsx)("div", {
|
|
3199
|
-
className: "gallery__wrapper",
|
|
3200
|
-
children: n ? /* @__PURE__ */ (0, d.jsx)(h, {
|
|
3201
|
-
url: t[0],
|
|
3264
|
+
}), m);
|
|
3265
|
+
}, Rr = (e) => {
|
|
3266
|
+
let { images: t, leading: n = !1, closeLabel: r, zoomInLabel: i, zoomOutLabel: a, nextSlideLabel: o, prevSlideLabel: s, fullscreenLabel: c, itemLabel: l, renderTarget: u, onImageLoadHeightUpdate: h, onSlideActivate: g, onOpenGallery: v, onCloseGallery: y, className: b } = e, [x, S] = (0, d.useState)(!1), [C, w] = (0, d.useState)(0), T = (e) => {
|
|
3267
|
+
u && (w(e), S(!0), v == null || v());
|
|
3268
|
+
};
|
|
3269
|
+
return /* @__PURE__ */ (0, p.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
3270
|
+
className: (0, f.default)("efp-gallery", { "efp-gallery--leading": n }, b),
|
|
3271
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", {
|
|
3272
|
+
className: "efp-gallery__wrapper",
|
|
3273
|
+
children: n ? /* @__PURE__ */ (0, p.jsx)(_, {
|
|
3274
|
+
url: t[0].thumbnailUrl,
|
|
3275
|
+
index: 0,
|
|
3276
|
+
itemLabel: l,
|
|
3202
3277
|
leading: n,
|
|
3203
|
-
|
|
3278
|
+
autoHeight: !0,
|
|
3204
3279
|
fillMode: "contain",
|
|
3205
|
-
onClick: () =>
|
|
3206
|
-
onImageLoadHeightUpdate:
|
|
3207
|
-
}) : t.map((e, t) => /* @__PURE__ */ (0,
|
|
3208
|
-
url: e,
|
|
3280
|
+
onClick: () => T(0),
|
|
3281
|
+
onImageLoadHeightUpdate: h
|
|
3282
|
+
}) : t.map((e, t) => /* @__PURE__ */ (0, p.jsx)(_, {
|
|
3283
|
+
url: e.thumbnailUrl,
|
|
3284
|
+
index: t,
|
|
3285
|
+
itemLabel: l,
|
|
3209
3286
|
position: "top",
|
|
3210
3287
|
fillMode: "cover",
|
|
3211
|
-
onClick: () =>
|
|
3212
|
-
onImageLoadHeightUpdate:
|
|
3213
|
-
}, e + t))
|
|
3214
|
-
}), !n && /* @__PURE__ */ (0,
|
|
3215
|
-
|
|
3288
|
+
onClick: () => T(t),
|
|
3289
|
+
onImageLoadHeightUpdate: h
|
|
3290
|
+
}, e.thumbnailUrl + t))
|
|
3291
|
+
}), !n && /* @__PURE__ */ (0, p.jsx)(m, {
|
|
3292
|
+
fullscreenLabel: c,
|
|
3293
|
+
onFullscreen: () => T(0),
|
|
3216
3294
|
count: t.length
|
|
3217
3295
|
})]
|
|
3218
|
-
}),
|
|
3219
|
-
className:
|
|
3220
|
-
images: t
|
|
3296
|
+
}), x && u && /* @__PURE__ */ (0, p.jsx)(Lr, {
|
|
3297
|
+
className: b,
|
|
3298
|
+
images: t,
|
|
3221
3299
|
leading: n,
|
|
3222
|
-
initialSlideIndex:
|
|
3223
|
-
|
|
3300
|
+
initialSlideIndex: C,
|
|
3301
|
+
closeLabel: r,
|
|
3302
|
+
zoomInLabel: i,
|
|
3303
|
+
zoomOutLabel: a,
|
|
3304
|
+
nextSlideLabel: o,
|
|
3305
|
+
prevSlideLabel: s,
|
|
3306
|
+
itemLabel: l,
|
|
3307
|
+
renderTarget: u,
|
|
3308
|
+
onSlideActivate: g,
|
|
3309
|
+
onClose: () => {
|
|
3310
|
+
S(!1), y == null || y();
|
|
3311
|
+
}
|
|
3224
3312
|
})] });
|
|
3225
|
-
}
|
|
3313
|
+
}, zr = /* @__PURE__ */ e({ default: () => Ur }), Br = (e) => {
|
|
3314
|
+
let t = e.split("/"), n = t[t.length - 1];
|
|
3315
|
+
return n.includes("original-") || (t[t.length - 1] = "original-" + n), t.join("/");
|
|
3316
|
+
}, Vr = /* @__PURE__ */ new Map(), Hr = (e) => {
|
|
3317
|
+
let t = Vr.get(e);
|
|
3318
|
+
if (t) return t;
|
|
3319
|
+
let n = Br(e), r = n === e ? Promise.resolve(e) : a(n).then((t) => t ? n : e);
|
|
3320
|
+
return Vr.set(e, r), r;
|
|
3321
|
+
}, Ur = u((e) => {
|
|
3322
|
+
let { images: t, ...r } = e, i = l(), [a, o] = (0, d.useState)({}), s = (0, d.useCallback)((e) => {
|
|
3323
|
+
let n = t[e];
|
|
3324
|
+
n && Hr(n).then((e) => {
|
|
3325
|
+
e !== n && o((t) => t[n] === e ? t : {
|
|
3326
|
+
...t,
|
|
3327
|
+
[n]: e
|
|
3328
|
+
});
|
|
3329
|
+
});
|
|
3330
|
+
}, [t]), c = t.map((e) => {
|
|
3331
|
+
var t;
|
|
3332
|
+
return {
|
|
3333
|
+
thumbnailUrl: e,
|
|
3334
|
+
fullUrl: (t = a[e]) == null ? e : t
|
|
3335
|
+
};
|
|
3336
|
+
});
|
|
3337
|
+
return /* @__PURE__ */ (0, p.jsx)(Rr, {
|
|
3338
|
+
...r,
|
|
3339
|
+
images: c,
|
|
3340
|
+
closeLabel: n("Close"),
|
|
3341
|
+
zoomInLabel: n("Zoom In"),
|
|
3342
|
+
zoomOutLabel: n("Zoom Out"),
|
|
3343
|
+
nextSlideLabel: n("Next slide"),
|
|
3344
|
+
prevSlideLabel: n("Prev slide"),
|
|
3345
|
+
fullscreenLabel: n("View fullscreen"),
|
|
3346
|
+
itemLabel: (e) => n("View image {{index}}", { index: e + 1 }),
|
|
3347
|
+
renderTarget: i,
|
|
3348
|
+
onSlideActivate: s
|
|
3349
|
+
});
|
|
3350
|
+
});
|
|
3226
3351
|
//#endregion
|
|
3227
|
-
export {
|
|
3352
|
+
export { Nr as n, zr as t };
|
|
3228
3353
|
|
|
3229
3354
|
;/* vite-per-chunk-css */
|
|
3230
|
-
__vite_inject_css__("@font-face{font-family:swiper-icons;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{z-index:1;margin-left:auto;margin-right:auto;padding:0;list-style:none;display:block;position:relative;overflow:hidden}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{z-index:1;width:100%;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box;display:flex;position:relative}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate(0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.swiper-css-mode>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-top:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-top-color:#0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.gallery{height:calc(15rem * var(--ui-scale));cursor:pointer;position:relative}.gallery .icon{fill:none}.gallery__img{width:100%;height:100%}.gallery__wrapper{height:100%;display:flex;overflow:hidden}.gallery__item{background:var(--color-black);flex-shrink:0;gap:10px;width:100%}.gallery__badge{z-index:2;height:calc(2rem * var(--ui-scale));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-size:var(--font-size-lg);color:var(--color-white);background:#1f1f1f99;border-radius:6px;justify-content:center;align-items:center;display:flex;position:absolute}.gallery__badge:hover{background:#303030cc}.gallery__badge-count{top:calc(.9375rem * var(--ui-scale));padding:0 calc(.625rem * var(--ui-scale));pointer-events:none}.gallery__badge-count:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen{top:calc(.9375rem * var(--ui-scale));width:calc(2rem * var(--ui-scale))}.gallery__badge-fullscreen:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}@media (max-width:998px){.gallery__badge-fullscreen{display:none}}.gallery__badge span:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.gallery__badge span:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.gallery__badge span:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.gallery__badge span:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.gallery__badge>i{font-size:var(--icon-size-md)}.gallery-leading{height:auto}.gallery-leading .gallery__img{background-size:contain}.gallery-leading .gallery__item{height:auto!important}.gallery.xs .gallery__wrapper,.gallery.sm .gallery__wrapper,.gallery.md .gallery__wrapper{grid-gap:calc(1rem * var(--ui-scale));-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-template-rows:50%;grid-template-columns:repeat(auto-fill,minmax(75%,1fr));grid-auto-columns:minmax(75%,1fr);grid-auto-flow:column;display:grid;overflow-x:visible}.gallery.xs .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.sm .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.md .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.xs .gallery__item,.gallery.sm .gallery__item,.gallery.md .gallery__item{height:240px}.gallery.xs .gallery__item:nth-child(3n+2),.gallery.sm .gallery__item:nth-child(3n+2),.gallery.md .gallery__item:nth-child(3n+2){grid-row:1/-1;height:120px}.gallery.xs .gallery__item:nth-child(3n),.gallery.sm .gallery__item:nth-child(3n),.gallery.md .gallery__item:nth-child(3n){grid-row:2/-1;height:120px}.gallery.xs .gallery__item:nth-child(3n-2),.gallery.sm .gallery__item:nth-child(3n-2),.gallery.md .gallery__item:nth-child(3n-2){grid-row:1/-1}.gallery.xs .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.gallery.sm .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.gallery.md .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)){grid-row:span 2;height:240px}.gallery-modal{z-index:999;background:#16171a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.gallery-modal .icon{fill:none}.gallery-slider{width:100%;height:100%}.gallery-slider .swiper-slide{align-items:center;display:flex;overflow:hidden}.gallery-slider .gallery__img{background-position:50%}.gallery-slider__controls{top:calc(1.875rem * var(--ui-scale));z-index:10;gap:calc(.5rem * var(--ui-scale));flex-direction:column;display:flex;position:absolute}.gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:calc(3.125rem * var(--ui-scale));cursor:pointer;background:#3030308f;border:none;justify-content:center;align-items:center;padding:0;transition:background .2s;display:flex}.gallery-slider__btn>i{font-size:calc(1.5rem * var(--ui-scale));color:#fff}.gallery-slider__btn:hover{background:#30303066}.gallery-slider__btn.next,.gallery-slider__btn.prev{z-index:11;position:absolute;top:50%;transform:translateY(-50%)}.gallery-slider__btn.next:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn:disabled{display:none}.gallery-slider__zoom{width:100%;height:100%;overflow:visible}.gallery-slider__zoom-content{width:100%;height:100%;padding:calc(2.5rem * var(--ui-scale));transform-origin:0 0;justify-content:center;align-items:center;display:flex}.gallery-modal.xs .gallery-slider__controls,.gallery-modal.sm .gallery-slider__controls,.gallery-modal.md .gallery-slider__controls{top:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__btn,.gallery-modal.sm .gallery-slider__btn,.gallery-modal.md .gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__btn.zoom-in,.gallery-modal.xs .gallery-slider__btn.zoom-out,.gallery-modal.xs .gallery-slider__btn.next,.gallery-modal.xs .gallery-slider__btn.prev,.gallery-modal.sm .gallery-slider__btn.zoom-in,.gallery-modal.sm .gallery-slider__btn.zoom-out,.gallery-modal.sm .gallery-slider__btn.next,.gallery-modal.sm .gallery-slider__btn.prev,.gallery-modal.md .gallery-slider__btn.zoom-in,.gallery-modal.md .gallery-slider__btn.zoom-out,.gallery-modal.md .gallery-slider__btn.next,.gallery-modal.md .gallery-slider__btn.prev{display:none}.gallery-modal.xs .gallery-slider__zoom-content,.gallery-modal.sm .gallery-slider__zoom-content,.gallery-modal.md .gallery-slider__zoom-content{padding:20px}.layout[dir=rtl] .gallery-slider__btn.next,.layout[dir=rtl] .gallery-slider__btn.prev{transform:scaleX(-1)}\n/*$vite$:1*/", "Gallery.css", false);
|
|
3355
|
+
__vite_inject_css__("@font-face{font-family:swiper-icons;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{z-index:1;margin-left:auto;margin-right:auto;padding:0;list-style:none;display:block;position:relative;overflow:hidden}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{z-index:1;width:100%;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box;display:flex;position:relative}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate(0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.swiper-css-mode>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-top:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-top-color:#0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.efp-gallery{height:calc(15rem * var(--ui-scale));cursor:pointer;position:relative}.efp-gallery__img{width:100%;height:100%}.efp-gallery__wrapper{height:100%;display:flex;overflow:hidden}.efp-gallery__item{background:var(--color-black);width:100%;font:inherit;color:inherit;text-align:inherit;border:none;flex-shrink:0;gap:10px;padding:0}.efp-gallery__badge{z-index:2;height:calc(2rem * var(--ui-scale));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-size:var(--font-size-lg);color:var(--color-white);background:#1f1f1f99;border-radius:6px;justify-content:center;align-items:center;display:flex;position:absolute}.efp-gallery__badge:hover{background:#303030cc}.efp-gallery__badge-count{top:calc(.9375rem * var(--ui-scale));padding:0 calc(.625rem * var(--ui-scale));pointer-events:none}.efp-gallery__badge-count:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-count:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-count:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-count:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-fullscreen{top:calc(.9375rem * var(--ui-scale));width:calc(2rem * var(--ui-scale));font:inherit;color:inherit;border:none;padding:0}.efp-gallery__badge-fullscreen:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-fullscreen:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-fullscreen:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}.efp-gallery__badge-fullscreen:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}@media (max-width:998px){.efp-gallery__badge-fullscreen{display:none}}.efp-gallery__badge span:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.efp-gallery__badge span:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.efp-gallery__badge span:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.efp-gallery__badge span:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.efp-gallery__badge>i{font-size:var(--icon-size-md)}.efp-gallery--leading{height:auto}.efp-gallery--leading .efp-gallery__img{background-size:contain}.efp-gallery--leading .efp-gallery__item{height:auto!important}.efp-gallery.xs .efp-gallery__wrapper,.efp-gallery.sm .efp-gallery__wrapper,.efp-gallery.md .efp-gallery__wrapper{grid-gap:calc(1rem * var(--ui-scale));-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-template-rows:50%;grid-template-columns:repeat(auto-fill,minmax(75%,1fr));grid-auto-columns:minmax(75%,1fr);grid-auto-flow:column;display:grid;overflow-x:visible}.efp-gallery.xs .efp-gallery__wrapper::-webkit-scrollbar{display:none}.efp-gallery.sm .efp-gallery__wrapper::-webkit-scrollbar{display:none}.efp-gallery.md .efp-gallery__wrapper::-webkit-scrollbar{display:none}.efp-gallery.xs .efp-gallery__item,.efp-gallery.sm .efp-gallery__item,.efp-gallery.md .efp-gallery__item{height:240px}.efp-gallery.xs .efp-gallery__item:nth-child(3n+2),.efp-gallery.sm .efp-gallery__item:nth-child(3n+2),.efp-gallery.md .efp-gallery__item:nth-child(3n+2){grid-row:1/-1;height:120px}.efp-gallery.xs .efp-gallery__item:nth-child(3n),.efp-gallery.sm .efp-gallery__item:nth-child(3n),.efp-gallery.md .efp-gallery__item:nth-child(3n){grid-row:2/-1;height:120px}.efp-gallery.xs .efp-gallery__item:nth-child(3n-2),.efp-gallery.sm .efp-gallery__item:nth-child(3n-2),.efp-gallery.md .efp-gallery__item:nth-child(3n-2){grid-row:1/-1}.efp-gallery.xs .efp-gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.efp-gallery.sm .efp-gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.efp-gallery.md .efp-gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)){grid-row:span 2;height:240px}.efp-gallery-modal{z-index:999;background:#16171a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.efp-gallery-slider{width:100%;height:100%}.efp-gallery-slider .swiper-slide{align-items:center;display:flex;overflow:hidden}.efp-gallery-slider__controls{top:calc(1.875rem * var(--ui-scale));z-index:10;gap:calc(.5rem * var(--ui-scale));flex-direction:column;display:flex;position:absolute}.efp-gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:calc(3.125rem * var(--ui-scale));cursor:pointer;background:#3030308f;border:none;justify-content:center;align-items:center;padding:0;transition:background .2s;display:flex}.efp-gallery-slider__btn>i{font-size:calc(1.5rem * var(--ui-scale));color:var(--color-white)}.efp-gallery-slider__btn:hover{background:#30303066}.efp-gallery-slider__btn--next,.efp-gallery-slider__btn--prev{z-index:11;position:absolute;top:50%;transform:translateY(-50%)}.efp-gallery-slider__btn--next:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--next:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--next:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--next:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--prev:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--prev:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--prev:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn--prev:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.efp-gallery-slider__btn:disabled{display:none}.efp-gallery-slider__zoom{width:100%;height:100%;overflow:visible}.efp-gallery-slider__zoom-content{width:100%;height:100%;padding:calc(2.5rem * var(--ui-scale));transform-origin:0 0;justify-content:center;align-items:center;display:flex}.efp-gallery-modal.xs .efp-gallery-slider__controls,.efp-gallery-modal.sm .efp-gallery-slider__controls,.efp-gallery-modal.md .efp-gallery-slider__controls{top:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.sm .efp-gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.sm .efp-gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.md .efp-gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.md .efp-gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.sm .efp-gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.sm .efp-gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.md .efp-gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.md .efp-gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__btn,.efp-gallery-modal.sm .efp-gallery-slider__btn,.efp-gallery-modal.md .efp-gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale))}.efp-gallery-modal.xs .efp-gallery-slider__btn--zoom-in,.efp-gallery-modal.xs .efp-gallery-slider__btn--zoom-out,.efp-gallery-modal.xs .efp-gallery-slider__btn--next,.efp-gallery-modal.xs .efp-gallery-slider__btn--prev,.efp-gallery-modal.sm .efp-gallery-slider__btn--zoom-in,.efp-gallery-modal.sm .efp-gallery-slider__btn--zoom-out,.efp-gallery-modal.sm .efp-gallery-slider__btn--next,.efp-gallery-modal.sm .efp-gallery-slider__btn--prev,.efp-gallery-modal.md .efp-gallery-slider__btn--zoom-in,.efp-gallery-modal.md .efp-gallery-slider__btn--zoom-out,.efp-gallery-modal.md .efp-gallery-slider__btn--next,.efp-gallery-modal.md .efp-gallery-slider__btn--prev{display:none}.efp-gallery-modal.xs .efp-gallery-slider__zoom-content,.efp-gallery-modal.sm .efp-gallery-slider__zoom-content,.efp-gallery-modal.md .efp-gallery-slider__zoom-content{padding:20px}.layout[dir=rtl] .efp-gallery-slider__btn--next,.layout[dir=rtl] .efp-gallery-slider__btn--prev{transform:scaleX(-1)}\n/*$vite$:1*/", "GalleryContainer.css", false);
|