@staging-apiplus/essentials 0.0.1 → 0.0.2
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/gallery.js
CHANGED
|
@@ -2229,17 +2229,64 @@ var xi = {
|
|
|
2229
2229
|
function Si(...e) {
|
|
2230
2230
|
return new Proxy({ props: e }, xi);
|
|
2231
2231
|
}
|
|
2232
|
-
var Ci = /* @__PURE__ */ new
|
|
2233
|
-
function
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2232
|
+
var Ci = "data-qp-dev-slot-mock", wi = "qp-dev-shell-slots-applied", Ti = /* @__PURE__ */ new WeakMap();
|
|
2233
|
+
function Ei(e) {
|
|
2234
|
+
let t = Object.keys(e).sort(), n = {};
|
|
2235
|
+
for (let r of t) n[r] = e[r]?.trim() ?? "";
|
|
2236
|
+
return JSON.stringify(n);
|
|
2237
|
+
}
|
|
2238
|
+
function Di(e, t) {
|
|
2239
|
+
let n = Ei(t), r = Object.values(t).some((e) => e.trim().length > 0), i = e.querySelector(`[${Ci}]`) != null;
|
|
2240
|
+
if (Ti.get(e) === n && (!r || i)) return !1;
|
|
2241
|
+
for (let t of e.querySelectorAll(`[${Ci}]`)) t.remove();
|
|
2242
|
+
for (let [n, r] of Object.entries(t)) r.trim() && Oi(e, n, r);
|
|
2243
|
+
return Ti.set(e, n), e.dispatchEvent(new CustomEvent(wi, { bubbles: !1 })), !0;
|
|
2244
|
+
}
|
|
2245
|
+
function Oi(e, t, n) {
|
|
2246
|
+
let r = document.createElement("template");
|
|
2247
|
+
r.innerHTML = n.trim();
|
|
2248
|
+
let i = [...r.content.children];
|
|
2249
|
+
if (i.length !== 0) for (let n of i) {
|
|
2250
|
+
let r = n;
|
|
2251
|
+
r.hasAttribute("slot") || r.setAttribute("slot", t), r.setAttribute(Ci, "true"), r.getAttribute("class") || r.classList.add("qp-dev-slot-child"), e.appendChild(r);
|
|
2237
2252
|
}
|
|
2238
|
-
customElements.get(e) || (customElements.define(e, t), Ci.set(e, t));
|
|
2239
2253
|
}
|
|
2240
2254
|
//#endregion
|
|
2241
|
-
//#region ../../packages/
|
|
2242
|
-
|
|
2255
|
+
//#region ../../packages/qp_sdk/src/schema/dev_shell_protocol.ts
|
|
2256
|
+
var ki = {
|
|
2257
|
+
PROPS: "qp-ext-props",
|
|
2258
|
+
SLOTS: "qp-ext-slots",
|
|
2259
|
+
READY: "qp-ext-ready",
|
|
2260
|
+
SIZE: "qp-ext-size"
|
|
2261
|
+
};
|
|
2262
|
+
function Ai(e) {
|
|
2263
|
+
return typeof e == "object" && !!e && e.type === ki.PROPS;
|
|
2264
|
+
}
|
|
2265
|
+
function ji(e) {
|
|
2266
|
+
return typeof e == "object" && !!e && e.type === ki.SLOTS;
|
|
2267
|
+
}
|
|
2268
|
+
//#endregion
|
|
2269
|
+
//#region ../../packages/qp_sdk/src/svelte/declared_styles.ts
|
|
2270
|
+
var Mi = ":host{display:block}";
|
|
2271
|
+
function Ni(e) {
|
|
2272
|
+
return e === void 0 ? [] : (typeof e == "string" ? [e] : e).filter((e) => e.trim().length > 0);
|
|
2273
|
+
}
|
|
2274
|
+
function Pi(e) {
|
|
2275
|
+
let t = Ni(e);
|
|
2276
|
+
if (t.length !== 0) return t.join("\n");
|
|
2277
|
+
}
|
|
2278
|
+
function Fi(e) {
|
|
2279
|
+
let t = Pi(e);
|
|
2280
|
+
return t ? `${Mi}\n${t}` : Mi;
|
|
2281
|
+
}
|
|
2282
|
+
function Ii(e) {
|
|
2283
|
+
let t = 5381;
|
|
2284
|
+
for (let n = 0; n < e.length; n += 1) t = Math.imul(t, 33) ^ e.charCodeAt(n);
|
|
2285
|
+
return `qp-style-${(t >>> 0).toString(36)}`;
|
|
2286
|
+
}
|
|
2287
|
+
//#endregion
|
|
2288
|
+
//#region ../../packages/qp_sdk/src/component/parse_props.ts
|
|
2289
|
+
function Li(e) {
|
|
2243
2290
|
if (!e) return {};
|
|
2244
2291
|
try {
|
|
2245
2292
|
let t = JSON.parse(e);
|
|
@@ -2248,98 +2295,98 @@ function Ti(e) {
|
|
|
2248
2295
|
return {};
|
|
2249
2296
|
}
|
|
2250
2297
|
//#endregion
|
|
2251
|
-
//#region ../../packages/
|
|
2252
|
-
var
|
|
2253
|
-
function
|
|
2298
|
+
//#region ../../packages/qp_sdk/src/schema/dev_sample_css.ts
|
|
2299
|
+
var Ri = "\n.qp-dev-sample,\n.qp-dev-slot-child {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 4rem;\n margin: 0.5rem;\n padding: 0.75rem 1rem;\n border-radius: 0.5rem;\n background: #f4f4f5;\n color: #18181b;\n font-size: 0.95rem;\n font-weight: 600;\n}\n", zi = "svelte-", Bi = /* @__PURE__ */ new Map(), Vi = /* @__PURE__ */ new WeakMap();
|
|
2300
|
+
function Hi(e = zi) {
|
|
2254
2301
|
let t = /* @__PURE__ */ new Set();
|
|
2255
2302
|
if (typeof document > "u") return t;
|
|
2256
2303
|
for (let n of document.head.querySelectorAll(`style[id^="${e}"]`)) n.id && t.add(n.id);
|
|
2257
2304
|
return t;
|
|
2258
2305
|
}
|
|
2259
|
-
function
|
|
2306
|
+
function Ui(e) {
|
|
2260
2307
|
if (typeof document > "u") {
|
|
2261
|
-
|
|
2308
|
+
Vi.delete(e);
|
|
2262
2309
|
return;
|
|
2263
2310
|
}
|
|
2264
|
-
let t =
|
|
2265
|
-
if (
|
|
2311
|
+
let t = Vi.get(e);
|
|
2312
|
+
if (Vi.delete(e), t) for (let n of t) e.getElementById(n)?.remove(), document.getElementById(n)?.remove();
|
|
2266
2313
|
}
|
|
2267
|
-
function
|
|
2314
|
+
function Wi(e, t = zi, n = /* @__PURE__ */ new Set()) {
|
|
2268
2315
|
if (typeof document > "u") return;
|
|
2269
|
-
let r =
|
|
2316
|
+
let r = Vi.get(e) ?? /* @__PURE__ */ new Set();
|
|
2270
2317
|
for (let i of document.head.querySelectorAll(`style[id^="${t}"]`)) i instanceof HTMLStyleElement && i.id && (n.has(i.id) || (e.contains(i) || e.prepend(i), r.add(i.id)));
|
|
2271
|
-
|
|
2318
|
+
Vi.set(e, r);
|
|
2272
2319
|
}
|
|
2273
|
-
function
|
|
2320
|
+
function Gi(e) {
|
|
2274
2321
|
return `qp-shadow-css-${e.replace(/[^a-zA-Z0-9._-]+/g, "-")}`;
|
|
2275
2322
|
}
|
|
2276
|
-
function
|
|
2277
|
-
let n =
|
|
2278
|
-
return n || (n = new CSSStyleSheet(), n.replaceSync(t),
|
|
2323
|
+
function Ki(e, t) {
|
|
2324
|
+
let n = Bi.get(e);
|
|
2325
|
+
return n || (n = new CSSStyleSheet(), n.replaceSync(t), Bi.set(e, n)), n;
|
|
2279
2326
|
}
|
|
2280
|
-
function
|
|
2327
|
+
function qi(e, t, n) {
|
|
2281
2328
|
if (!n) return;
|
|
2282
2329
|
if (typeof CSSStyleSheet < "u" && "adoptedStyleSheets" in e) {
|
|
2283
|
-
let r =
|
|
2330
|
+
let r = Ki(t, n);
|
|
2284
2331
|
if (e.adoptedStyleSheets.includes(r) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, r]), e.adoptedStyleSheets.includes(r)) return;
|
|
2285
2332
|
}
|
|
2286
|
-
let r =
|
|
2333
|
+
let r = Gi(t);
|
|
2287
2334
|
if (e.getElementById(r)) return;
|
|
2288
2335
|
let i = document.createElement("style");
|
|
2289
2336
|
i.id = r, i.textContent = n, e.prepend(i);
|
|
2290
2337
|
}
|
|
2291
|
-
function
|
|
2292
|
-
let n = t.idPrefix ??
|
|
2293
|
-
|
|
2338
|
+
function Ji(e, t) {
|
|
2339
|
+
let n = t.idPrefix ?? zi, { preexistingIds: r } = t, i = () => {
|
|
2340
|
+
Wi(e, n, r);
|
|
2294
2341
|
};
|
|
2295
2342
|
queueMicrotask(i), requestAnimationFrame(i);
|
|
2296
2343
|
}
|
|
2297
2344
|
//#endregion
|
|
2298
|
-
//#region ../../packages/
|
|
2299
|
-
var
|
|
2300
|
-
function
|
|
2345
|
+
//#region ../../packages/qp_sdk/src/component/dev_hot_reload.ts
|
|
2346
|
+
var Yi = Symbol.for("qp.extension.devRenderers"), Xi = Symbol.for("qp.extension.devMounts");
|
|
2347
|
+
function Zi() {
|
|
2301
2348
|
let e = globalThis;
|
|
2302
|
-
return e[
|
|
2349
|
+
return e[Yi] || (e[Yi] = /* @__PURE__ */ new Map()), e[Yi];
|
|
2303
2350
|
}
|
|
2304
|
-
function
|
|
2351
|
+
function Qi() {
|
|
2305
2352
|
let e = globalThis;
|
|
2306
|
-
return e[
|
|
2353
|
+
return e[Xi] || (e[Xi] = /* @__PURE__ */ new WeakMap()), e[Xi];
|
|
2307
2354
|
}
|
|
2308
|
-
function
|
|
2309
|
-
let n =
|
|
2355
|
+
function $i(e, t) {
|
|
2356
|
+
let n = Qi().get(e);
|
|
2310
2357
|
if (n !== void 0) {
|
|
2311
2358
|
try {
|
|
2312
2359
|
t(n);
|
|
2313
2360
|
} catch {}
|
|
2314
|
-
|
|
2361
|
+
Qi().delete(e);
|
|
2315
2362
|
}
|
|
2316
2363
|
for (; e.firstChild;) e.firstChild.remove();
|
|
2317
|
-
|
|
2364
|
+
Ui(e);
|
|
2318
2365
|
}
|
|
2319
|
-
function
|
|
2320
|
-
if (
|
|
2366
|
+
function ea(e, t) {
|
|
2367
|
+
if (Zi().set(e, t), typeof document < "u") for (let n of document.querySelectorAll(e)) {
|
|
2321
2368
|
if (!(n instanceof HTMLElement) || !n.shadowRoot) continue;
|
|
2322
|
-
let e =
|
|
2369
|
+
let e = Li(n.dataset.props);
|
|
2323
2370
|
t(n.shadowRoot, e);
|
|
2324
2371
|
}
|
|
2325
2372
|
}
|
|
2326
2373
|
//#endregion
|
|
2327
|
-
//#region ../../packages/qp_sdk/src/
|
|
2328
|
-
var
|
|
2329
|
-
function
|
|
2330
|
-
|
|
2374
|
+
//#region ../../packages/qp_sdk/src/component/slot_layout_css.ts
|
|
2375
|
+
var ta = "qp-code-component-slot-layout", na = "[data-qp-container]::after{content:\"\";display:block;width:var(--qp-pc-w,0);height:var(--qp-pc-h,0);pointer-events:none;flex:0 0 auto;}[data-qp-container]:has(> :not(template):not([style*=\"display:none\"]):not([style*=\"display: none\"]):not([style*=\"position:absolute\"]):not([style*=\"position: absolute\"]):not([style*=\"position:fixed\"]):not([style*=\"position: fixed\"]))::after{display:none;}";
|
|
2376
|
+
function ra(e) {
|
|
2377
|
+
qi(e, ta, na);
|
|
2331
2378
|
}
|
|
2332
2379
|
//#endregion
|
|
2333
|
-
//#region ../../packages/
|
|
2334
|
-
var
|
|
2335
|
-
function
|
|
2380
|
+
//#region ../../packages/qp_sdk/src/component/qp_extension_element_base.ts
|
|
2381
|
+
var ia = "qp-dev-sample";
|
|
2382
|
+
function aa(e) {
|
|
2336
2383
|
return [...e.children].filter((e) => e instanceof HTMLElement && e.hasAttribute("slot"));
|
|
2337
2384
|
}
|
|
2338
|
-
var
|
|
2385
|
+
var oa = class extends HTMLElement {
|
|
2339
2386
|
shadow = null;
|
|
2340
2387
|
shadowViewMounted = !1;
|
|
2341
2388
|
static hotAccept(e, t) {
|
|
2342
|
-
|
|
2389
|
+
ea(e, t);
|
|
2343
2390
|
}
|
|
2344
2391
|
connectedCallback() {
|
|
2345
2392
|
this.shadow = this.shadowRoot ?? this.attachShadow({ mode: "open" }), !this.shadowViewMounted && this.rerender();
|
|
@@ -2354,12 +2401,12 @@ var Ji = class extends HTMLElement {
|
|
|
2354
2401
|
}
|
|
2355
2402
|
rerender() {
|
|
2356
2403
|
if (!this.shadow) return;
|
|
2357
|
-
let e =
|
|
2404
|
+
let e = aa(this), t = Li(this.dataset.props), n = this.tagName.toLowerCase(), r = Zi().get(n);
|
|
2358
2405
|
if (r) {
|
|
2359
|
-
|
|
2406
|
+
ra(this.shadow), qi(this.shadow, ia, Ri), r(this.shadow, t), this.restoreLightDomSlotChildren(e), this.shadowViewMounted = !0;
|
|
2360
2407
|
return;
|
|
2361
2408
|
}
|
|
2362
|
-
this.destroy(), this.render(this.shadow, t),
|
|
2409
|
+
this.destroy(), this.render(this.shadow, t), ra(this.shadow), qi(this.shadow, ia, Ri), this.restoreLightDomSlotChildren(e), this.shadowViewMounted = !0;
|
|
2363
2410
|
}
|
|
2364
2411
|
restoreLightDomSlotChildren(e) {
|
|
2365
2412
|
for (let t of e) this.contains(t) || this.appendChild(t);
|
|
@@ -2367,69 +2414,20 @@ var Ji = class extends HTMLElement {
|
|
|
2367
2414
|
static get observedAttributes() {
|
|
2368
2415
|
return ["data-props"];
|
|
2369
2416
|
}
|
|
2370
|
-
}, Yi = {
|
|
2371
|
-
PROPS: "qp-ext-props",
|
|
2372
|
-
SLOTS: "qp-ext-slots",
|
|
2373
|
-
READY: "qp-ext-ready",
|
|
2374
|
-
SIZE: "qp-ext-size"
|
|
2375
2417
|
};
|
|
2376
|
-
function Xi(e) {
|
|
2377
|
-
return typeof e == "object" && !!e && e.type === Yi.PROPS;
|
|
2378
|
-
}
|
|
2379
|
-
function Zi(e) {
|
|
2380
|
-
return typeof e == "object" && !!e && e.type === Yi.SLOTS;
|
|
2381
|
-
}
|
|
2382
2418
|
//#endregion
|
|
2383
|
-
//#region ../../packages/
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
let t = Object.keys(e).sort(), n = {};
|
|
2387
|
-
for (let r of t) n[r] = e[r]?.trim() ?? "";
|
|
2388
|
-
return JSON.stringify(n);
|
|
2389
|
-
}
|
|
2390
|
-
function na(e, t) {
|
|
2391
|
-
let n = ta(t), r = Object.values(t).some((e) => e.trim().length > 0), i = e.querySelector(`[${Qi}]`) != null;
|
|
2392
|
-
if (ea.get(e) === n && (!r || i)) return !1;
|
|
2393
|
-
for (let t of e.querySelectorAll(`[${Qi}]`)) t.remove();
|
|
2394
|
-
for (let [n, r] of Object.entries(t)) r.trim() && ra(e, n, r);
|
|
2395
|
-
return ea.set(e, n), e.dispatchEvent(new CustomEvent($i, { bubbles: !1 })), !0;
|
|
2396
|
-
}
|
|
2397
|
-
function ra(e, t, n) {
|
|
2398
|
-
let r = document.createElement("template");
|
|
2399
|
-
r.innerHTML = n.trim();
|
|
2400
|
-
let i = [...r.content.children];
|
|
2401
|
-
if (i.length !== 0) for (let n of i) {
|
|
2402
|
-
let r = n;
|
|
2403
|
-
r.hasAttribute("slot") || r.setAttribute("slot", t), r.setAttribute(Qi, "true"), r.getAttribute("class") || r.classList.add("qp-dev-slot-child"), e.appendChild(r);
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
//#endregion
|
|
2407
|
-
//#region ../../packages/qp_sdk/src/svelte/declared_styles.ts
|
|
2408
|
-
var ia = ":host{display:block}";
|
|
2409
|
-
function aa(e) {
|
|
2410
|
-
return e === void 0 ? [] : (typeof e == "string" ? [e] : e).filter((e) => e.trim().length > 0);
|
|
2411
|
-
}
|
|
2412
|
-
function oa(e) {
|
|
2413
|
-
let t = aa(e);
|
|
2414
|
-
if (t.length !== 0) return t.join("\n");
|
|
2415
|
-
}
|
|
2416
|
-
function sa(e) {
|
|
2417
|
-
let t = oa(e);
|
|
2418
|
-
return t ? `${ia}\n${t}` : ia;
|
|
2419
|
-
}
|
|
2420
|
-
function ca(e) {
|
|
2421
|
-
let t = 5381;
|
|
2422
|
-
for (let n = 0; n < e.length; n += 1) t = Math.imul(t, 33) ^ e.charCodeAt(n);
|
|
2423
|
-
return `qp-style-${(t >>> 0).toString(36)}`;
|
|
2419
|
+
//#region ../../packages/qp_sdk/src/component/register_component_element.ts
|
|
2420
|
+
function sa(e, t) {
|
|
2421
|
+
typeof customElements < "u" && (customElements.get(e) || customElements.define(e, t));
|
|
2424
2422
|
}
|
|
2425
2423
|
//#endregion
|
|
2426
2424
|
//#region ../../packages/qp_sdk/src/component/bootstrap_code_component.ts
|
|
2427
|
-
function
|
|
2425
|
+
function ca(e) {
|
|
2428
2426
|
if (typeof window > "u" || window.parent === window) return;
|
|
2429
2427
|
let t = (t) => {
|
|
2430
2428
|
for (let n of document.querySelectorAll(e.tag)) n instanceof HTMLElement && n.setAttribute("data-props", JSON.stringify(t));
|
|
2431
2429
|
}, n = (t) => {
|
|
2432
|
-
for (let n of document.querySelectorAll(e.tag)) n instanceof HTMLElement &&
|
|
2430
|
+
for (let n of document.querySelectorAll(e.tag)) n instanceof HTMLElement && Di(n, t);
|
|
2433
2431
|
}, r = new URLSearchParams(window.location.search), i = r.get("props");
|
|
2434
2432
|
if (i) try {
|
|
2435
2433
|
t(JSON.parse(i));
|
|
@@ -2441,30 +2439,28 @@ function la(e) {
|
|
|
2441
2439
|
let o = r.get("instanceId");
|
|
2442
2440
|
if (o) for (let t of document.querySelectorAll(e.tag)) t instanceof HTMLElement && (t.dataset.qpCodeComponentInstance = o, t.dataset.qpNode = o);
|
|
2443
2441
|
window.addEventListener("message", (e) => {
|
|
2444
|
-
if (
|
|
2442
|
+
if (Ai(e.data)) {
|
|
2445
2443
|
t(e.data.props);
|
|
2446
2444
|
return;
|
|
2447
2445
|
}
|
|
2448
|
-
|
|
2446
|
+
ji(e.data) && n(e.data.slots);
|
|
2449
2447
|
}), window.parent.postMessage({
|
|
2450
|
-
type:
|
|
2448
|
+
type: ki.READY,
|
|
2451
2449
|
moduleId: e.moduleId,
|
|
2452
2450
|
tag: e.tag
|
|
2453
2451
|
}, "*");
|
|
2454
2452
|
}
|
|
2455
|
-
function
|
|
2456
|
-
if (typeof document < "u") for (let n of document.querySelectorAll(e)) n instanceof HTMLElement && n.shadowRoot && t(n.shadowRoot,
|
|
2453
|
+
function la(e, t) {
|
|
2454
|
+
if (typeof document < "u") for (let n of document.querySelectorAll(e)) n instanceof HTMLElement && n.shadowRoot && t(n.shadowRoot, Li(n.dataset.props));
|
|
2457
2455
|
}
|
|
2458
|
-
function
|
|
2459
|
-
for (let n of
|
|
2456
|
+
function ua(e, t) {
|
|
2457
|
+
for (let n of Ni(t)) qi(e, Ii(n), n);
|
|
2460
2458
|
}
|
|
2461
|
-
function
|
|
2462
|
-
let r = e.
|
|
2463
|
-
|
|
2464
|
-
let i = (n, r) => {
|
|
2465
|
-
da(n, e.def.styles), t(n, r);
|
|
2459
|
+
function da(e, t, n) {
|
|
2460
|
+
let r = e.tag, i = (n, r) => {
|
|
2461
|
+
ua(n, e.def.styles), t(n, r);
|
|
2466
2462
|
};
|
|
2467
|
-
class a extends
|
|
2463
|
+
class a extends oa {
|
|
2468
2464
|
render(e, t) {
|
|
2469
2465
|
i(e, t);
|
|
2470
2466
|
}
|
|
@@ -2472,23 +2468,23 @@ function fa(e, t, n) {
|
|
|
2472
2468
|
this.shadow && n(this.shadow);
|
|
2473
2469
|
}
|
|
2474
2470
|
}
|
|
2475
|
-
|
|
2471
|
+
oa.hotAccept(r, i), sa(r, a), la(r, i), ca({
|
|
2476
2472
|
tag: r,
|
|
2477
2473
|
moduleId: e.def.id
|
|
2478
2474
|
});
|
|
2479
2475
|
}
|
|
2480
2476
|
//#endregion
|
|
2481
2477
|
//#region ../../packages/qp_sdk/src/prop/prop_run_surface.ts
|
|
2482
|
-
var
|
|
2478
|
+
var fa = {
|
|
2483
2479
|
editor: "editor",
|
|
2484
2480
|
preview: "preview",
|
|
2485
2481
|
published: "published"
|
|
2486
|
-
},
|
|
2487
|
-
function
|
|
2488
|
-
let t = e?.dataset?.[
|
|
2489
|
-
return t ===
|
|
2482
|
+
}, pa = "qpSurface";
|
|
2483
|
+
function ma(e) {
|
|
2484
|
+
let t = e?.dataset?.[pa];
|
|
2485
|
+
return t === fa.editor || t === fa.preview || t === fa.published ? t : fa.published;
|
|
2490
2486
|
}
|
|
2491
|
-
function
|
|
2487
|
+
function ha(e, t) {
|
|
2492
2488
|
return !e || e.length === 0 || e.includes(t);
|
|
2493
2489
|
}
|
|
2494
2490
|
//#endregion
|
|
@@ -2496,7 +2492,7 @@ function ga(e, t) {
|
|
|
2496
2492
|
typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
|
|
2497
2493
|
//#endregion
|
|
2498
2494
|
//#region ../../packages/qp_sdk/src/svelte/dev_code_component_host.svelte
|
|
2499
|
-
function
|
|
2495
|
+
function ga(e, t) {
|
|
2500
2496
|
Be(t, !0);
|
|
2501
2497
|
let n = /* @__PURE__ */ st(() => t.state.view);
|
|
2502
2498
|
var r = Cr();
|
|
@@ -2506,7 +2502,7 @@ function _a(e, t) {
|
|
|
2506
2502
|
}
|
|
2507
2503
|
//#endregion
|
|
2508
2504
|
//#region ../../packages/qp_sdk/src/svelte/dev_code_component_state.svelte.ts
|
|
2509
|
-
var
|
|
2505
|
+
var _a = class {
|
|
2510
2506
|
view;
|
|
2511
2507
|
#e = /* @__PURE__ */ P(Bt({}));
|
|
2512
2508
|
get viewProps() {
|
|
@@ -2524,7 +2520,7 @@ var va = class {
|
|
|
2524
2520
|
};
|
|
2525
2521
|
//#endregion
|
|
2526
2522
|
//#region ../../packages/qp_sdk/src/svelte/resolve_props_from_definition.ts
|
|
2527
|
-
function
|
|
2523
|
+
function va(e) {
|
|
2528
2524
|
if (e.default !== void 0) return e.default;
|
|
2529
2525
|
switch (e.__kind) {
|
|
2530
2526
|
case "boolean": return !1;
|
|
@@ -2533,8 +2529,8 @@ function ya(e) {
|
|
|
2533
2529
|
default: return e;
|
|
2534
2530
|
}
|
|
2535
2531
|
}
|
|
2536
|
-
function
|
|
2537
|
-
let r = n?.surface ??
|
|
2532
|
+
function ya(e, t, n) {
|
|
2533
|
+
let r = n?.surface ?? fa.published, i = {};
|
|
2538
2534
|
for (let [n, r] of Object.entries(e.props)) {
|
|
2539
2535
|
let e = t[n];
|
|
2540
2536
|
if (e !== void 0) {
|
|
@@ -2550,50 +2546,50 @@ function ba(e, t, n) {
|
|
|
2550
2546
|
let r = n.valueBundles[String(e)];
|
|
2551
2547
|
r && (Object.assign(i, r), i[t] = e);
|
|
2552
2548
|
}
|
|
2553
|
-
for (let [t, n] of Object.entries(e.props))
|
|
2549
|
+
for (let [t, n] of Object.entries(e.props)) ha(n.runOn, r) || (i[t] = va(n));
|
|
2554
2550
|
return i;
|
|
2555
2551
|
}
|
|
2556
2552
|
//#endregion
|
|
2557
2553
|
//#region ../../packages/qp_sdk/src/svelte/bootstrap_svelte_code_component.ts
|
|
2558
|
-
var
|
|
2559
|
-
function
|
|
2554
|
+
var ba = Symbol.for("qp.extension.devCodeComponentStates");
|
|
2555
|
+
function xa() {
|
|
2560
2556
|
let e = globalThis;
|
|
2561
|
-
return e[
|
|
2557
|
+
return e[ba] || (e[ba] = /* @__PURE__ */ new WeakMap()), e[ba];
|
|
2562
2558
|
}
|
|
2563
|
-
function
|
|
2564
|
-
let { def: t, svelteComponent: n } = e, r =
|
|
2559
|
+
function Sa(e) {
|
|
2560
|
+
let { def: t, svelteComponent: n } = e, r = xa(), i = (e) => {
|
|
2565
2561
|
Nr(e);
|
|
2566
2562
|
};
|
|
2567
|
-
|
|
2568
|
-
let o = e.host instanceof HTMLElement ? e.host : void 0, s =
|
|
2563
|
+
da(e, (e, a) => {
|
|
2564
|
+
let o = e.host instanceof HTMLElement ? e.host : void 0, s = ya(t, a, { surface: ma(o) }), c = r.get(e), l = n;
|
|
2569
2565
|
if (c && c.view === l) {
|
|
2570
2566
|
c.update(s);
|
|
2571
2567
|
return;
|
|
2572
2568
|
}
|
|
2573
2569
|
c && r.delete(e);
|
|
2574
|
-
let u =
|
|
2575
|
-
|
|
2576
|
-
let d = new
|
|
2570
|
+
let u = Hi();
|
|
2571
|
+
$i(e, i);
|
|
2572
|
+
let d = new _a(l, s);
|
|
2577
2573
|
r.set(e, d);
|
|
2578
|
-
let f = kr(
|
|
2574
|
+
let f = kr(ga, {
|
|
2579
2575
|
target: e,
|
|
2580
2576
|
props: { state: d }
|
|
2581
2577
|
});
|
|
2582
|
-
|
|
2578
|
+
Qi().set(e, f), Ji(e, { preexistingIds: u });
|
|
2583
2579
|
}, (e) => {
|
|
2584
|
-
r.delete(e),
|
|
2580
|
+
r.delete(e), $i(e, i);
|
|
2585
2581
|
});
|
|
2586
2582
|
}
|
|
2587
2583
|
//#endregion
|
|
2588
2584
|
//#region ../../packages/qp_sdk/src/manifest/library_platform_contracts.ts
|
|
2589
|
-
var
|
|
2585
|
+
var Ca = {
|
|
2590
2586
|
slotIdPrefix: "qp-slot-id:",
|
|
2591
2587
|
customElementTagPrefix: "qp-ext-",
|
|
2592
2588
|
siteManifestScriptId: "qp-site-manifest"
|
|
2593
2589
|
};
|
|
2594
2590
|
//#endregion
|
|
2595
2591
|
//#region ../../packages/qp_sdk/src/prop/to_json_schema.ts
|
|
2596
|
-
function
|
|
2592
|
+
function wa(e) {
|
|
2597
2593
|
let t = {
|
|
2598
2594
|
"x-qp-label": e.label,
|
|
2599
2595
|
...e.group ? { "x-qp-group": e.group } : {},
|
|
@@ -2627,7 +2623,7 @@ function Ta(e) {
|
|
|
2627
2623
|
default: return e;
|
|
2628
2624
|
}
|
|
2629
2625
|
}
|
|
2630
|
-
function
|
|
2626
|
+
function Ta(e) {
|
|
2631
2627
|
let t = {};
|
|
2632
2628
|
for (let [n, r] of Object.entries(e)) t[n] = {
|
|
2633
2629
|
"x-qp-label": r.label,
|
|
@@ -2636,45 +2632,64 @@ function Ea(e) {
|
|
|
2636
2632
|
};
|
|
2637
2633
|
return t;
|
|
2638
2634
|
}
|
|
2639
|
-
function
|
|
2635
|
+
function Ea(e, t) {
|
|
2640
2636
|
let n = {}, r = [];
|
|
2641
|
-
for (let [t, i] of Object.entries(e)) n[t] =
|
|
2637
|
+
for (let [t, i] of Object.entries(e)) n[t] = wa(i), i.default === void 0 && r.push(t);
|
|
2642
2638
|
return {
|
|
2643
2639
|
$schema: "https://quickpage.dev/schemas/component/v1",
|
|
2644
2640
|
type: "object",
|
|
2645
2641
|
properties: n,
|
|
2646
2642
|
required: r.length > 0 ? r : void 0,
|
|
2647
|
-
...t && Object.keys(t).length > 0 ? { "x-qp-prop-groups":
|
|
2643
|
+
...t && Object.keys(t).length > 0 ? { "x-qp-prop-groups": Ta(t) } : {}
|
|
2648
2644
|
};
|
|
2649
2645
|
}
|
|
2650
2646
|
//#endregion
|
|
2651
2647
|
//#region ../../packages/qp_sdk/src/slot/to_json_schema.ts
|
|
2652
|
-
function
|
|
2648
|
+
function Da(e) {
|
|
2653
2649
|
return {
|
|
2654
2650
|
"x-qp-label": e.label,
|
|
2655
2651
|
...e.wrapperClass ? { "x-qp-wrapper-class": e.wrapperClass } : {},
|
|
2656
2652
|
...e.accepts?.length ? { "x-qp-accepts": e.accepts } : {}
|
|
2657
2653
|
};
|
|
2658
2654
|
}
|
|
2659
|
-
function
|
|
2655
|
+
function Oa(e) {
|
|
2660
2656
|
let t = {};
|
|
2661
|
-
for (let [n, r] of Object.entries(e)) t[n] =
|
|
2657
|
+
for (let [n, r] of Object.entries(e)) t[n] = Da(r);
|
|
2662
2658
|
return t;
|
|
2663
2659
|
}
|
|
2664
2660
|
//#endregion
|
|
2661
|
+
//#region ../../packages/qp_sdk/src/manifest/versioned_component_tag.ts
|
|
2662
|
+
function ka(e, t) {
|
|
2663
|
+
if (!t) throw Error(`Cannot qualify custom element tag "${e}" without a code package version.`);
|
|
2664
|
+
let n = t.toLowerCase().replace(/[^a-z0-9-]/g, "_");
|
|
2665
|
+
return `${e.toLowerCase()}--v${n}`;
|
|
2666
|
+
}
|
|
2667
|
+
//#endregion
|
|
2668
|
+
//#region ../../packages/qp_sdk/src/define/component_tag.ts
|
|
2669
|
+
function Aa() {
|
|
2670
|
+
return "0.0.2";
|
|
2671
|
+
}
|
|
2672
|
+
function ja(e) {
|
|
2673
|
+
let t = e.def.tag;
|
|
2674
|
+
if (!t) throw Error(`Code component "${e.def.id}" is missing a custom element tag.`);
|
|
2675
|
+
return ka(t, Aa());
|
|
2676
|
+
}
|
|
2677
|
+
//#endregion
|
|
2665
2678
|
//#region ../../packages/qp_sdk/src/define/define_code_component.ts
|
|
2666
|
-
function
|
|
2667
|
-
let n = e.tag ?? `${
|
|
2679
|
+
function Ma(e, t) {
|
|
2680
|
+
let n = e.tag ?? `${Ca.customElementTagPrefix}qp-${e.id}`, r = {
|
|
2668
2681
|
...e,
|
|
2669
2682
|
tag: n
|
|
2670
|
-
}
|
|
2671
|
-
return {
|
|
2683
|
+
}, i = {
|
|
2672
2684
|
kind: "component",
|
|
2673
2685
|
def: r,
|
|
2674
2686
|
component: t,
|
|
2675
|
-
|
|
2687
|
+
get tag() {
|
|
2688
|
+
return ja(i);
|
|
2689
|
+
},
|
|
2690
|
+
toStyles: () => Fi(r.styles),
|
|
2676
2691
|
toSchema: () => {
|
|
2677
|
-
let e =
|
|
2692
|
+
let e = Ea(r.props, r.propGroups), t = Oa(r.slots);
|
|
2678
2693
|
return {
|
|
2679
2694
|
...e,
|
|
2680
2695
|
...Object.keys(t).length > 0 ? { "x-qp-slots": t } : {}
|
|
@@ -2696,15 +2711,13 @@ function Aa(e, t) {
|
|
|
2696
2711
|
})) } : {}
|
|
2697
2712
|
})
|
|
2698
2713
|
};
|
|
2714
|
+
return i;
|
|
2699
2715
|
}
|
|
2700
2716
|
//#endregion
|
|
2701
2717
|
//#region ../../packages/qp_sdk/src/define/define_component.ts
|
|
2702
|
-
function
|
|
2703
|
-
let { component: t, ...n } = e, r = {
|
|
2704
|
-
|
|
2705
|
-
svelteComponent: t
|
|
2706
|
-
};
|
|
2707
|
-
return typeof window < "u" && typeof document < "u" && window.location !== void 0 && Ca(r), r;
|
|
2718
|
+
function Na(e) {
|
|
2719
|
+
let { component: t, ...n } = e, r = Object.assign(Ma(n, t), { svelteComponent: t });
|
|
2720
|
+
return typeof window < "u" && typeof document < "u" && window.location !== void 0 && Sa(r), r;
|
|
2708
2721
|
}
|
|
2709
2722
|
//#endregion
|
|
2710
2723
|
//#region ../../packages/qp_sdk/src/prop/prop.ts
|
|
@@ -2724,7 +2737,7 @@ var K = {
|
|
|
2724
2737
|
};
|
|
2725
2738
|
//#endregion
|
|
2726
2739
|
//#region ../../packages/qp_sdk/src/slot/slot.ts
|
|
2727
|
-
function
|
|
2740
|
+
function Pa(e) {
|
|
2728
2741
|
return {
|
|
2729
2742
|
label: e?.label,
|
|
2730
2743
|
accepts: e?.accepts,
|
|
@@ -2733,7 +2746,7 @@ function Ma(e) {
|
|
|
2733
2746
|
}
|
|
2734
2747
|
//#endregion
|
|
2735
2748
|
//#region ../../packages/qp_sdk/src/svelte/native_slot.svelte
|
|
2736
|
-
function
|
|
2749
|
+
function Fa(e, t) {
|
|
2737
2750
|
var n = Cr();
|
|
2738
2751
|
Lr(Qt(n), () => "slot", !1, (e, n) => {
|
|
2739
2752
|
hi(e, () => ({ name: t.name }));
|
|
@@ -2741,14 +2754,14 @@ function Na(e, t) {
|
|
|
2741
2754
|
}
|
|
2742
2755
|
//#endregion
|
|
2743
2756
|
//#region \0qp-shadow-css:swiper/css/bundle
|
|
2744
|
-
var Pa = "/**\n * Swiper 12.2.0\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2026 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: May 27, 2026\n */\n\n:root {\n --swiper-theme-color: #007aff;\n /*\n --swiper-preloader-color: var(--swiper-theme-color);\n --swiper-wrapper-transition-timing-function: initial;\n */\n}\n:host {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n z-index: 1;\n}\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n display: block;\n}\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n}\n.swiper-android .swiper-slide,\n.swiper-ios .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.swiper-horizontal {\n touch-action: pan-y;\n}\n.swiper-vertical {\n touch-action: pan-x;\n}\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n}\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n/* Auto Height */\n.swiper-autoheight,\n.swiper-autoheight .swiper-slide {\n height: auto;\n}\n.swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n/* 3D Effects */\n.swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n.swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n.swiper-3d {\n perspective: 1200px;\n .swiper-slide,\n .swiper-cube-shadow {\n transform-style: preserve-3d;\n }\n}\n\n/* CSS Mode */\n.swiper-css-mode {\n > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none; /* For Firefox */\n -ms-overflow-style: none; /* For Internet Explorer and Edge */\n &::-webkit-scrollbar {\n display: none;\n }\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n }\n &.swiper-horizontal {\n > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-slides-offset-before);\n scroll-margin-inline-start: var(--swiper-slides-offset-before);\n }\n > .swiper-wrapper > .swiper-slide:last-child {\n margin-inline-end: var(--swiper-slides-offset-after);\n }\n }\n &.swiper-vertical {\n > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n }\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-slides-offset-before);\n scroll-margin-block-start: var(--swiper-slides-offset-before);\n }\n > .swiper-wrapper > .swiper-slide:last-child {\n margin-block-end: var(--swiper-slides-offset-after);\n }\n }\n &.swiper-free-mode {\n > .swiper-wrapper {\n scroll-snap-type: none;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: none;\n }\n }\n &.swiper-centered {\n > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n }\n }\n &.swiper-centered.swiper-horizontal {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n }\n }\n &.swiper-centered.swiper-vertical {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n }\n }\n}\n\n/* Slide styles start */\n/* 3D Shadows */\n.swiper-3d {\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom,\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n }\n .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n }\n .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n}\n.swiper-lazy-preloader {\n width: 42px;\n height: 42px;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -21px;\n margin-top: -21px;\n z-index: 10;\n transform-origin: 50%;\n box-sizing: border-box;\n border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));\n border-radius: 50%;\n border-top-color: transparent;\n}\n.swiper:not(.swiper-watch-progress),\n.swiper-watch-progress .swiper-slide-visible {\n .swiper-lazy-preloader {\n animation: swiper-preloader-spin 1s infinite linear;\n }\n}\n.swiper-lazy-preloader-white {\n --swiper-preloader-color: #fff;\n}\n.swiper-lazy-preloader-black {\n --swiper-preloader-color: #000;\n}\n@keyframes swiper-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n/* Slide styles end */\n\n.swiper-virtual .swiper-slide {\n -webkit-backface-visibility: hidden;\n transform: translateZ(0);\n}\n.swiper-virtual.swiper-css-mode {\n .swiper-wrapper::after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n }\n}\n.swiper-virtual.swiper-css-mode.swiper-horizontal {\n .swiper-wrapper::after {\n height: 1px;\n width: var(--swiper-virtual-size);\n }\n}\n\n.swiper-virtual.swiper-css-mode.swiper-vertical {\n .swiper-wrapper::after {\n width: 1px;\n height: var(--swiper-virtual-size);\n }\n}\n\n\n\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 4px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n\n width: var(--swiper-navigation-size);\n height: var(--swiper-navigation-size);\n\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n &.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n }\n &.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n }\n .swiper-navigation-disabled & {\n display: none !important;\n }\n\n ::slotted(svg),\n svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n fill: currentColor;\n pointer-events: none;\n }\n}\n\n.swiper-button-lock {\n display: none;\n}\n\n.swiper-button-prev,\n.swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n}\n.swiper-button-prev {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n}\n.swiper-button-next {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n}\n.swiper-horizontal {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-left: 0;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n }\n .swiper-button-next,\n & ~ .swiper-button-next,\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n }\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(0deg);\n }\n }\n}\n.swiper-vertical {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n left: var(--swiper-navigation-top-offset, 50%);\n right: auto;\n margin-left: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-top: 0;\n }\n .swiper-button-prev,\n ~ .swiper-button-prev {\n top: var(--swiper-navigation-sides-offset, 4px);\n bottom: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(-90deg);\n }\n }\n .swiper-button-next,\n ~ .swiper-button-next {\n bottom: var(--swiper-navigation-sides-offset, 4px);\n top: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(90deg);\n }\n }\n}\n\n:root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-left: auto;\n --swiper-pagination-right: 8px;\n --swiper-pagination-bottom: 8px;\n --swiper-pagination-top: auto;\n --swiper-pagination-fraction-color: inherit;\n --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);\n --swiper-pagination-progressbar-size: 4px;\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-border-radius: 50%;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n}\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n &.swiper-pagination-hidden {\n opacity: 0;\n }\n .swiper-pagination-disabled > &,\n &.swiper-pagination-disabled {\n display: none !important;\n }\n}\n/* Common Styles */\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: var(--swiper-pagination-bottom, 8px);\n top: var(--swiper-pagination-top, auto);\n left: 0;\n width: 100%;\n}\n/* Bullets */\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n}\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: var(--swiper-pagination-bullet-border-radius, 50%);\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n button& {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n appearance: none;\n }\n .swiper-pagination-clickable & {\n cursor: pointer;\n }\n\n &:only-child {\n display: none !important;\n }\n}\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: var(--swiper-pagination-right, 8px);\n left: var(--swiper-pagination-left, auto);\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n }\n &.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n .swiper-pagination-bullet {\n display: inline-block;\n transition:\n 200ms transform,\n 200ms top;\n }\n }\n}\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-horizontal.swiper-pagination-bullets {\n .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n }\n &.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms left;\n }\n }\n}\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms right;\n}\n/* Fraction */\n.swiper-pagination-fraction {\n color: var(--swiper-pagination-fraction-color, inherit);\n}\n/* Progress */\n.swiper-pagination-progressbar {\n background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n }\n .swiper-rtl & .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n }\n .swiper-horizontal > &,\n &.swiper-pagination-horizontal,\n .swiper-vertical > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: var(--swiper-pagination-progressbar-size, 4px);\n left: 0;\n top: 0;\n }\n .swiper-vertical > &,\n &.swiper-pagination-vertical,\n .swiper-horizontal > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: var(--swiper-pagination-progressbar-size, 4px);\n height: 100%;\n left: 0;\n top: 0;\n }\n}\n.swiper-pagination-lock {\n display: none;\n}\n\n:root {\n /*\n --swiper-scrollbar-border-radius: 10px;\n --swiper-scrollbar-top: auto;\n --swiper-scrollbar-bottom: 4px;\n --swiper-scrollbar-left: auto;\n --swiper-scrollbar-right: 4px;\n --swiper-scrollbar-sides-offset: 1%;\n --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1);\n --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5);\n --swiper-scrollbar-size: 4px;\n */\n}\n.swiper-scrollbar {\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n position: relative;\n touch-action: none;\n background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));\n .swiper-scrollbar-disabled > &,\n &.swiper-scrollbar-disabled {\n display: none !important;\n }\n .swiper-horizontal > &,\n &.swiper-scrollbar-horizontal {\n position: absolute;\n left: var(--swiper-scrollbar-sides-offset, 1%);\n bottom: var(--swiper-scrollbar-bottom, 4px);\n top: var(--swiper-scrollbar-top, auto);\n z-index: 50;\n height: var(--swiper-scrollbar-size, 4px);\n width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n }\n .swiper-vertical > &,\n &.swiper-scrollbar-vertical {\n position: absolute;\n left: var(--swiper-scrollbar-left, auto);\n right: var(--swiper-scrollbar-right, 4px);\n top: var(--swiper-scrollbar-sides-offset, 1%);\n z-index: 50;\n width: var(--swiper-scrollbar-size, 4px);\n height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n }\n}\n.swiper-scrollbar-drag {\n height: 100%;\n width: 100%;\n position: relative;\n background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n left: 0;\n top: 0;\n}\n.swiper-scrollbar-cursor-drag {\n cursor: move;\n}\n.swiper-scrollbar-lock {\n display: none;\n}\n\n\n/* Zoom container styles start */\n.swiper-zoom-container {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n > img,\n > svg,\n > canvas {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n}\n/* Zoom container styles end */\n\n.swiper-slide-zoomed {\n cursor: move;\n touch-action: none;\n}\n\n\n/* a11y */\n.swiper .swiper-notification {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n}\n\n\n\n\n.swiper-thumbs {\n .swiper-slide-thumb-active {\n /* Styles for active thumb slide */\n }\n}\n\n.swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n\n.swiper-grid > .swiper-wrapper {\n flex-wrap: wrap;\n}\n.swiper-grid-column > .swiper-wrapper {\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n\n.swiper-fade {\n &.swiper-free-mode {\n .swiper-slide {\n transition-timing-function: ease-out;\n }\n }\n .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n .swiper-slide {\n pointer-events: none;\n }\n }\n .swiper-slide-active {\n pointer-events: auto;\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n}\n\n.swiper.swiper-cube {\n overflow: visible;\n}\n.swiper-cube {\n .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n visibility: hidden;\n transform-origin: 0 0;\n width: 100%;\n height: 100%;\n .swiper-slide {\n pointer-events: none;\n }\n }\n &.swiper-rtl .swiper-slide {\n transform-origin: 100% 0;\n }\n .swiper-slide-active {\n &,\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n .swiper-slide-active,\n .swiper-slide-next,\n .swiper-slide-prev {\n pointer-events: auto;\n visibility: visible;\n }\n\n .swiper-cube-shadow {\n position: absolute;\n left: 0;\n bottom: 0px;\n width: 100%;\n height: 100%;\n opacity: 0.6;\n z-index: 0;\n\n &:before {\n content: '';\n background: #000;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n filter: blur(50px);\n }\n }\n}\n.swiper-cube {\n .swiper-slide-next + .swiper-slide {\n pointer-events: auto;\n visibility: visible;\n }\n}\n/* Cube slide shadows start */\n.swiper-cube {\n .swiper-slide-shadow-cube.swiper-slide-shadow-top,\n .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,\n .swiper-slide-shadow-cube.swiper-slide-shadow-left,\n .swiper-slide-shadow-cube.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n }\n}\n/* Cube slide shadows end */\n\n.swiper.swiper-flip {\n overflow: visible;\n}\n.swiper-flip {\n .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n .swiper-slide {\n pointer-events: none;\n }\n }\n .swiper-slide-active {\n &,\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n}\n/* Flip slide shadows start */\n.swiper-flip {\n .swiper-slide-shadow-flip.swiper-slide-shadow-top,\n .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,\n .swiper-slide-shadow-flip.swiper-slide-shadow-left,\n .swiper-slide-shadow-flip.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n }\n}\n/* Flip slide shadows end */\n\n.swiper-coverflow {\n}\n\n.swiper-creative {\n .swiper-slide {\n backface-visibility: hidden;\n overflow: hidden;\n transition-property: transform, opacity, height;\n }\n}\n\n.swiper.swiper-cards {\n overflow: visible;\n}\n.swiper-cards {\n .swiper-slide {\n transform-origin: center bottom;\n backface-visibility: hidden;\n overflow: hidden;\n }\n}\n", q = {
|
|
2757
|
+
var Ia = "/**\n * Swiper 12.2.0\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2026 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: May 27, 2026\n */\n\n:root {\n --swiper-theme-color: #007aff;\n /*\n --swiper-preloader-color: var(--swiper-theme-color);\n --swiper-wrapper-transition-timing-function: initial;\n */\n}\n:host {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n z-index: 1;\n}\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n display: block;\n}\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n}\n.swiper-android .swiper-slide,\n.swiper-ios .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.swiper-horizontal {\n touch-action: pan-y;\n}\n.swiper-vertical {\n touch-action: pan-x;\n}\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n}\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n/* Auto Height */\n.swiper-autoheight,\n.swiper-autoheight .swiper-slide {\n height: auto;\n}\n.swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n/* 3D Effects */\n.swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n.swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n.swiper-3d {\n perspective: 1200px;\n .swiper-slide,\n .swiper-cube-shadow {\n transform-style: preserve-3d;\n }\n}\n\n/* CSS Mode */\n.swiper-css-mode {\n > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none; /* For Firefox */\n -ms-overflow-style: none; /* For Internet Explorer and Edge */\n &::-webkit-scrollbar {\n display: none;\n }\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n }\n &.swiper-horizontal {\n > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-slides-offset-before);\n scroll-margin-inline-start: var(--swiper-slides-offset-before);\n }\n > .swiper-wrapper > .swiper-slide:last-child {\n margin-inline-end: var(--swiper-slides-offset-after);\n }\n }\n &.swiper-vertical {\n > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n }\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-slides-offset-before);\n scroll-margin-block-start: var(--swiper-slides-offset-before);\n }\n > .swiper-wrapper > .swiper-slide:last-child {\n margin-block-end: var(--swiper-slides-offset-after);\n }\n }\n &.swiper-free-mode {\n > .swiper-wrapper {\n scroll-snap-type: none;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: none;\n }\n }\n &.swiper-centered {\n > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n }\n }\n &.swiper-centered.swiper-horizontal {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n }\n }\n &.swiper-centered.swiper-vertical {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n }\n }\n}\n\n/* Slide styles start */\n/* 3D Shadows */\n.swiper-3d {\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom,\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n }\n .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n }\n .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n}\n.swiper-lazy-preloader {\n width: 42px;\n height: 42px;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -21px;\n margin-top: -21px;\n z-index: 10;\n transform-origin: 50%;\n box-sizing: border-box;\n border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));\n border-radius: 50%;\n border-top-color: transparent;\n}\n.swiper:not(.swiper-watch-progress),\n.swiper-watch-progress .swiper-slide-visible {\n .swiper-lazy-preloader {\n animation: swiper-preloader-spin 1s infinite linear;\n }\n}\n.swiper-lazy-preloader-white {\n --swiper-preloader-color: #fff;\n}\n.swiper-lazy-preloader-black {\n --swiper-preloader-color: #000;\n}\n@keyframes swiper-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n/* Slide styles end */\n\n.swiper-virtual .swiper-slide {\n -webkit-backface-visibility: hidden;\n transform: translateZ(0);\n}\n.swiper-virtual.swiper-css-mode {\n .swiper-wrapper::after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n }\n}\n.swiper-virtual.swiper-css-mode.swiper-horizontal {\n .swiper-wrapper::after {\n height: 1px;\n width: var(--swiper-virtual-size);\n }\n}\n\n.swiper-virtual.swiper-css-mode.swiper-vertical {\n .swiper-wrapper::after {\n width: 1px;\n height: var(--swiper-virtual-size);\n }\n}\n\n\n\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 4px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n\n width: var(--swiper-navigation-size);\n height: var(--swiper-navigation-size);\n\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n &.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n }\n &.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n }\n .swiper-navigation-disabled & {\n display: none !important;\n }\n\n ::slotted(svg),\n svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n fill: currentColor;\n pointer-events: none;\n }\n}\n\n.swiper-button-lock {\n display: none;\n}\n\n.swiper-button-prev,\n.swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n}\n.swiper-button-prev {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n}\n.swiper-button-next {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n}\n.swiper-horizontal {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-left: 0;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n }\n .swiper-button-next,\n & ~ .swiper-button-next,\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n }\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(0deg);\n }\n }\n}\n.swiper-vertical {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n left: var(--swiper-navigation-top-offset, 50%);\n right: auto;\n margin-left: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-top: 0;\n }\n .swiper-button-prev,\n ~ .swiper-button-prev {\n top: var(--swiper-navigation-sides-offset, 4px);\n bottom: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(-90deg);\n }\n }\n .swiper-button-next,\n ~ .swiper-button-next {\n bottom: var(--swiper-navigation-sides-offset, 4px);\n top: auto;\n ::slotted(.swiper-navigation-icon),\n .swiper-navigation-icon {\n transform: rotate(90deg);\n }\n }\n}\n\n:root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-left: auto;\n --swiper-pagination-right: 8px;\n --swiper-pagination-bottom: 8px;\n --swiper-pagination-top: auto;\n --swiper-pagination-fraction-color: inherit;\n --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);\n --swiper-pagination-progressbar-size: 4px;\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-border-radius: 50%;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n}\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n &.swiper-pagination-hidden {\n opacity: 0;\n }\n .swiper-pagination-disabled > &,\n &.swiper-pagination-disabled {\n display: none !important;\n }\n}\n/* Common Styles */\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: var(--swiper-pagination-bottom, 8px);\n top: var(--swiper-pagination-top, auto);\n left: 0;\n width: 100%;\n}\n/* Bullets */\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n}\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: var(--swiper-pagination-bullet-border-radius, 50%);\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n button& {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n appearance: none;\n }\n .swiper-pagination-clickable & {\n cursor: pointer;\n }\n\n &:only-child {\n display: none !important;\n }\n}\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: var(--swiper-pagination-right, 8px);\n left: var(--swiper-pagination-left, auto);\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n }\n &.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n .swiper-pagination-bullet {\n display: inline-block;\n transition:\n 200ms transform,\n 200ms top;\n }\n }\n}\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-horizontal.swiper-pagination-bullets {\n .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n }\n &.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms left;\n }\n }\n}\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms right;\n}\n/* Fraction */\n.swiper-pagination-fraction {\n color: var(--swiper-pagination-fraction-color, inherit);\n}\n/* Progress */\n.swiper-pagination-progressbar {\n background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n }\n .swiper-rtl & .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n }\n .swiper-horizontal > &,\n &.swiper-pagination-horizontal,\n .swiper-vertical > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: var(--swiper-pagination-progressbar-size, 4px);\n left: 0;\n top: 0;\n }\n .swiper-vertical > &,\n &.swiper-pagination-vertical,\n .swiper-horizontal > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: var(--swiper-pagination-progressbar-size, 4px);\n height: 100%;\n left: 0;\n top: 0;\n }\n}\n.swiper-pagination-lock {\n display: none;\n}\n\n:root {\n /*\n --swiper-scrollbar-border-radius: 10px;\n --swiper-scrollbar-top: auto;\n --swiper-scrollbar-bottom: 4px;\n --swiper-scrollbar-left: auto;\n --swiper-scrollbar-right: 4px;\n --swiper-scrollbar-sides-offset: 1%;\n --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1);\n --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5);\n --swiper-scrollbar-size: 4px;\n */\n}\n.swiper-scrollbar {\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n position: relative;\n touch-action: none;\n background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));\n .swiper-scrollbar-disabled > &,\n &.swiper-scrollbar-disabled {\n display: none !important;\n }\n .swiper-horizontal > &,\n &.swiper-scrollbar-horizontal {\n position: absolute;\n left: var(--swiper-scrollbar-sides-offset, 1%);\n bottom: var(--swiper-scrollbar-bottom, 4px);\n top: var(--swiper-scrollbar-top, auto);\n z-index: 50;\n height: var(--swiper-scrollbar-size, 4px);\n width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n }\n .swiper-vertical > &,\n &.swiper-scrollbar-vertical {\n position: absolute;\n left: var(--swiper-scrollbar-left, auto);\n right: var(--swiper-scrollbar-right, 4px);\n top: var(--swiper-scrollbar-sides-offset, 1%);\n z-index: 50;\n width: var(--swiper-scrollbar-size, 4px);\n height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n }\n}\n.swiper-scrollbar-drag {\n height: 100%;\n width: 100%;\n position: relative;\n background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n left: 0;\n top: 0;\n}\n.swiper-scrollbar-cursor-drag {\n cursor: move;\n}\n.swiper-scrollbar-lock {\n display: none;\n}\n\n\n/* Zoom container styles start */\n.swiper-zoom-container {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n > img,\n > svg,\n > canvas {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n}\n/* Zoom container styles end */\n\n.swiper-slide-zoomed {\n cursor: move;\n touch-action: none;\n}\n\n\n/* a11y */\n.swiper .swiper-notification {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n}\n\n\n\n\n.swiper-thumbs {\n .swiper-slide-thumb-active {\n /* Styles for active thumb slide */\n }\n}\n\n.swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n\n.swiper-grid > .swiper-wrapper {\n flex-wrap: wrap;\n}\n.swiper-grid-column > .swiper-wrapper {\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n\n.swiper-fade {\n &.swiper-free-mode {\n .swiper-slide {\n transition-timing-function: ease-out;\n }\n }\n .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n .swiper-slide {\n pointer-events: none;\n }\n }\n .swiper-slide-active {\n pointer-events: auto;\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n}\n\n.swiper.swiper-cube {\n overflow: visible;\n}\n.swiper-cube {\n .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n visibility: hidden;\n transform-origin: 0 0;\n width: 100%;\n height: 100%;\n .swiper-slide {\n pointer-events: none;\n }\n }\n &.swiper-rtl .swiper-slide {\n transform-origin: 100% 0;\n }\n .swiper-slide-active {\n &,\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n .swiper-slide-active,\n .swiper-slide-next,\n .swiper-slide-prev {\n pointer-events: auto;\n visibility: visible;\n }\n\n .swiper-cube-shadow {\n position: absolute;\n left: 0;\n bottom: 0px;\n width: 100%;\n height: 100%;\n opacity: 0.6;\n z-index: 0;\n\n &:before {\n content: '';\n background: #000;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n filter: blur(50px);\n }\n }\n}\n.swiper-cube {\n .swiper-slide-next + .swiper-slide {\n pointer-events: auto;\n visibility: visible;\n }\n}\n/* Cube slide shadows start */\n.swiper-cube {\n .swiper-slide-shadow-cube.swiper-slide-shadow-top,\n .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,\n .swiper-slide-shadow-cube.swiper-slide-shadow-left,\n .swiper-slide-shadow-cube.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n }\n}\n/* Cube slide shadows end */\n\n.swiper.swiper-flip {\n overflow: visible;\n}\n.swiper-flip {\n .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n .swiper-slide {\n pointer-events: none;\n }\n }\n .swiper-slide-active {\n &,\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n}\n/* Flip slide shadows start */\n.swiper-flip {\n .swiper-slide-shadow-flip.swiper-slide-shadow-top,\n .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,\n .swiper-slide-shadow-flip.swiper-slide-shadow-left,\n .swiper-slide-shadow-flip.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n }\n}\n/* Flip slide shadows end */\n\n.swiper-coverflow {\n}\n\n.swiper-creative {\n .swiper-slide {\n backface-visibility: hidden;\n overflow: hidden;\n transition-property: transform, opacity, height;\n }\n}\n\n.swiper.swiper-cards {\n overflow: visible;\n}\n.swiper-cards {\n .swiper-slide {\n transform-origin: center bottom;\n backface-visibility: hidden;\n overflow: hidden;\n }\n}\n", q = {
|
|
2745
2758
|
slide: "slide",
|
|
2746
2759
|
cards: "cards",
|
|
2747
2760
|
coverflow: "coverflow",
|
|
2748
2761
|
flip: "flip",
|
|
2749
2762
|
cube: "cube",
|
|
2750
2763
|
creative: "creative"
|
|
2751
|
-
},
|
|
2764
|
+
}, La = {
|
|
2752
2765
|
shared: {
|
|
2753
2766
|
label: "Gallery",
|
|
2754
2767
|
props: [
|
|
@@ -2842,20 +2855,20 @@ var Pa = "/**\n * Swiper 12.2.0\n * Most modern mobile touch slider and framewor
|
|
|
2842
2855
|
};
|
|
2843
2856
|
//#endregion
|
|
2844
2857
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/ssr-window.esm.mjs
|
|
2845
|
-
function
|
|
2858
|
+
function Ra(e) {
|
|
2846
2859
|
return typeof e == "object" && !!e && "constructor" in e && e.constructor === Object;
|
|
2847
2860
|
}
|
|
2848
|
-
function
|
|
2861
|
+
function za(e = {}, t = {}) {
|
|
2849
2862
|
let n = [
|
|
2850
2863
|
"__proto__",
|
|
2851
2864
|
"constructor",
|
|
2852
2865
|
"prototype"
|
|
2853
2866
|
];
|
|
2854
2867
|
Object.keys(t).filter((e) => n.indexOf(e) < 0).forEach((n) => {
|
|
2855
|
-
e[n] === void 0 ? e[n] = t[n] :
|
|
2868
|
+
e[n] === void 0 ? e[n] = t[n] : Ra(t[n]) && Ra(e[n]) && Object.keys(t[n]).length > 0 && za(e[n], t[n]);
|
|
2856
2869
|
});
|
|
2857
2870
|
}
|
|
2858
|
-
var
|
|
2871
|
+
var Ba = {
|
|
2859
2872
|
body: {},
|
|
2860
2873
|
addEventListener() {},
|
|
2861
2874
|
removeEventListener() {},
|
|
@@ -2905,10 +2918,10 @@ var Ra = {
|
|
|
2905
2918
|
};
|
|
2906
2919
|
function J() {
|
|
2907
2920
|
let e = typeof document < "u" ? document : {};
|
|
2908
|
-
return
|
|
2921
|
+
return za(e, Ba), e;
|
|
2909
2922
|
}
|
|
2910
|
-
var
|
|
2911
|
-
document:
|
|
2923
|
+
var Va = {
|
|
2924
|
+
document: Ba,
|
|
2912
2925
|
navigator: { userAgent: "" },
|
|
2913
2926
|
location: {
|
|
2914
2927
|
hash: "",
|
|
@@ -2953,14 +2966,14 @@ var za = {
|
|
|
2953
2966
|
};
|
|
2954
2967
|
function Y() {
|
|
2955
2968
|
let e = typeof window < "u" ? window : {};
|
|
2956
|
-
return
|
|
2969
|
+
return za(e, Va), e;
|
|
2957
2970
|
}
|
|
2958
2971
|
//#endregion
|
|
2959
2972
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/utils.mjs
|
|
2960
|
-
function
|
|
2973
|
+
function Ha(e = "") {
|
|
2961
2974
|
return e.trim().split(" ").filter((e) => !!e.trim());
|
|
2962
2975
|
}
|
|
2963
|
-
function
|
|
2976
|
+
function Ua(e) {
|
|
2964
2977
|
let t = e;
|
|
2965
2978
|
Object.keys(t).forEach((e) => {
|
|
2966
2979
|
try {
|
|
@@ -2971,44 +2984,44 @@ function Va(e) {
|
|
|
2971
2984
|
} catch {}
|
|
2972
2985
|
});
|
|
2973
2986
|
}
|
|
2974
|
-
function
|
|
2987
|
+
function Wa(e, t = 0) {
|
|
2975
2988
|
return setTimeout(e, t);
|
|
2976
2989
|
}
|
|
2977
2990
|
function X() {
|
|
2978
2991
|
return Date.now();
|
|
2979
2992
|
}
|
|
2980
|
-
function
|
|
2993
|
+
function Ga(e) {
|
|
2981
2994
|
let t = Y(), n;
|
|
2982
2995
|
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n ||= e.style, n;
|
|
2983
2996
|
}
|
|
2984
|
-
function
|
|
2985
|
-
let n = Y(), r, i, a, o =
|
|
2997
|
+
function Ka(e, t = "x") {
|
|
2998
|
+
let n = Y(), r, i, a, o = Ga(e);
|
|
2986
2999
|
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;
|
|
2987
3000
|
}
|
|
2988
|
-
function
|
|
3001
|
+
function qa(e) {
|
|
2989
3002
|
return typeof e == "object" && !!e && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
2990
3003
|
}
|
|
2991
|
-
function
|
|
3004
|
+
function Ja(e) {
|
|
2992
3005
|
return typeof window < "u" && window.HTMLElement !== void 0 ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
2993
3006
|
}
|
|
2994
3007
|
function Z(...e) {
|
|
2995
3008
|
let t = Object(e[0]);
|
|
2996
3009
|
for (let n = 1; n < e.length; n += 1) {
|
|
2997
3010
|
let r = e[n];
|
|
2998
|
-
if (r != null && !
|
|
3011
|
+
if (r != null && !Ja(r)) {
|
|
2999
3012
|
let e = Object.keys(Object(r)).filter((e) => e !== "__proto__" && e !== "constructor" && e !== "prototype");
|
|
3000
3013
|
for (let n = 0, i = e.length; n < i; n += 1) {
|
|
3001
3014
|
let i = e[n], a = Object.getOwnPropertyDescriptor(r, i);
|
|
3002
|
-
a !== void 0 && a.enumerable && (
|
|
3015
|
+
a !== void 0 && a.enumerable && (qa(t[i]) && qa(r[i]) ? r[i].__swiper__ ? t[i] = r[i] : Z(t[i], r[i]) : !qa(t[i]) && qa(r[i]) ? (t[i] = {}, r[i].__swiper__ ? t[i] = r[i] : Z(t[i], r[i])) : t[i] = r[i]);
|
|
3003
3016
|
}
|
|
3004
3017
|
}
|
|
3005
3018
|
}
|
|
3006
3019
|
return t;
|
|
3007
3020
|
}
|
|
3008
|
-
function
|
|
3021
|
+
function Ya(e, t, n) {
|
|
3009
3022
|
e.style.setProperty(t, n);
|
|
3010
3023
|
}
|
|
3011
|
-
function
|
|
3024
|
+
function Xa({ swiper: e, targetPosition: t, side: n }) {
|
|
3012
3025
|
let r = Y(), i = -e.translate, a = null, o, s = e.params.speed;
|
|
3013
3026
|
e.wrapperEl.style.scrollSnapType = "none", r.cancelAnimationFrame(e.cssModeFrameID);
|
|
3014
3027
|
let c = t > i ? "next" : "prev", l = (e, t) => c === "next" && e >= t || c === "prev" && e <= t, u = () => {
|
|
@@ -3024,14 +3037,14 @@ function Ja({ swiper: e, targetPosition: t, side: n }) {
|
|
|
3024
3037
|
};
|
|
3025
3038
|
u();
|
|
3026
3039
|
}
|
|
3027
|
-
function
|
|
3040
|
+
function Za(e) {
|
|
3028
3041
|
return e.querySelector(".swiper-slide-transform") || e.shadowRoot && e.shadowRoot.querySelector(".swiper-slide-transform") || e;
|
|
3029
3042
|
}
|
|
3030
|
-
function
|
|
3043
|
+
function Qa(e, t = "") {
|
|
3031
3044
|
let n = Y(), r = [...e.children];
|
|
3032
3045
|
return n.HTMLSlotElement && e instanceof HTMLSlotElement && r.push(...e.assignedElements()), t ? r.filter((e) => e.matches(t)) : r;
|
|
3033
3046
|
}
|
|
3034
|
-
function
|
|
3047
|
+
function $a(e, t) {
|
|
3035
3048
|
let n = [t];
|
|
3036
3049
|
for (; n.length > 0;) {
|
|
3037
3050
|
let t = n.shift();
|
|
@@ -3039,28 +3052,28 @@ function Za(e, t) {
|
|
|
3039
3052
|
n.push(...t.children, ...t.shadowRoot ? t.shadowRoot.children : [], ...t.assignedElements ? t.assignedElements() : []);
|
|
3040
3053
|
}
|
|
3041
3054
|
}
|
|
3042
|
-
function
|
|
3055
|
+
function eo(e, t) {
|
|
3043
3056
|
let n = Y(), r = t.contains(e);
|
|
3044
|
-
return !r && n.HTMLSlotElement && t instanceof HTMLSlotElement && (r = [...t.assignedElements()].includes(e), r ||=
|
|
3057
|
+
return !r && n.HTMLSlotElement && t instanceof HTMLSlotElement && (r = [...t.assignedElements()].includes(e), r ||= $a(e, t)), r;
|
|
3045
3058
|
}
|
|
3046
|
-
function
|
|
3059
|
+
function to(e) {
|
|
3047
3060
|
try {
|
|
3048
3061
|
console.warn(e);
|
|
3049
3062
|
return;
|
|
3050
3063
|
} catch {}
|
|
3051
3064
|
}
|
|
3052
|
-
function
|
|
3065
|
+
function no(e, t = []) {
|
|
3053
3066
|
let n = document.createElement(e);
|
|
3054
|
-
return n.classList.add(...Array.isArray(t) ? t :
|
|
3067
|
+
return n.classList.add(...Array.isArray(t) ? t : Ha(t)), n;
|
|
3055
3068
|
}
|
|
3056
|
-
function
|
|
3069
|
+
function ro(e) {
|
|
3057
3070
|
let t = Y(), n = J(), r = e.getBoundingClientRect(), i = n.body, a = e.clientTop || i.clientTop || 0, o = e.clientLeft || i.clientLeft || 0, s = e === t ? t.scrollY : e.scrollTop, c = e === t ? t.scrollX : e.scrollLeft;
|
|
3058
3071
|
return {
|
|
3059
3072
|
top: r.top + s - a,
|
|
3060
3073
|
left: r.left + c - o
|
|
3061
3074
|
};
|
|
3062
3075
|
}
|
|
3063
|
-
function
|
|
3076
|
+
function io(e, t) {
|
|
3064
3077
|
let n = [];
|
|
3065
3078
|
for (; e.previousElementSibling;) {
|
|
3066
3079
|
let r = e.previousElementSibling;
|
|
@@ -3068,7 +3081,7 @@ function no(e, t) {
|
|
|
3068
3081
|
}
|
|
3069
3082
|
return n;
|
|
3070
3083
|
}
|
|
3071
|
-
function
|
|
3084
|
+
function ao(e, t) {
|
|
3072
3085
|
let n = [];
|
|
3073
3086
|
for (; e.nextElementSibling;) {
|
|
3074
3087
|
let r = e.nextElementSibling;
|
|
@@ -3076,56 +3089,56 @@ function ro(e, t) {
|
|
|
3076
3089
|
}
|
|
3077
3090
|
return n;
|
|
3078
3091
|
}
|
|
3079
|
-
function
|
|
3092
|
+
function oo(e, t) {
|
|
3080
3093
|
return Y().getComputedStyle(e, null).getPropertyValue(t);
|
|
3081
3094
|
}
|
|
3082
|
-
function
|
|
3095
|
+
function so(e) {
|
|
3083
3096
|
let t = e, n;
|
|
3084
3097
|
if (t) {
|
|
3085
3098
|
for (n = 0; (t = t.previousSibling) !== null;) t.nodeType === 1 && (n += 1);
|
|
3086
3099
|
return n;
|
|
3087
3100
|
}
|
|
3088
3101
|
}
|
|
3089
|
-
function
|
|
3102
|
+
function co(e, t) {
|
|
3090
3103
|
let n = [], r = e.parentElement;
|
|
3091
3104
|
for (; r;) t ? r.matches(t) && n.push(r) : n.push(r), r = r.parentElement;
|
|
3092
3105
|
return n;
|
|
3093
3106
|
}
|
|
3094
|
-
function
|
|
3107
|
+
function lo(e, t) {
|
|
3095
3108
|
function n(r) {
|
|
3096
3109
|
r.target === e && (t.call(e, r), e.removeEventListener("transitionend", n));
|
|
3097
3110
|
}
|
|
3098
3111
|
t && e.addEventListener("transitionend", n);
|
|
3099
3112
|
}
|
|
3100
|
-
function
|
|
3113
|
+
function uo(e, t, n) {
|
|
3101
3114
|
let r = Y();
|
|
3102
3115
|
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;
|
|
3103
3116
|
}
|
|
3104
3117
|
function Q(e) {
|
|
3105
3118
|
return (Array.isArray(e) ? e : [e]).filter((e) => !!e);
|
|
3106
3119
|
}
|
|
3107
|
-
function
|
|
3120
|
+
function fo(e) {
|
|
3108
3121
|
return (t) => Math.abs(t) > 0 && e.browser && e.browser.need3dFix && Math.abs(t) % 90 == 0 ? t + .001 : t;
|
|
3109
3122
|
}
|
|
3110
|
-
function
|
|
3123
|
+
function po(e, t = "") {
|
|
3111
3124
|
e.innerHTML = typeof trustedTypes < "u" ? trustedTypes.createPolicy("html", { createHTML: (e) => e }).createHTML(t) : t;
|
|
3112
3125
|
}
|
|
3113
3126
|
//#endregion
|
|
3114
3127
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/swiper-core.mjs
|
|
3115
|
-
var
|
|
3116
|
-
function
|
|
3128
|
+
var mo;
|
|
3129
|
+
function ho() {
|
|
3117
3130
|
let e = Y(), t = J();
|
|
3118
3131
|
return {
|
|
3119
3132
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
3120
3133
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
3121
3134
|
};
|
|
3122
3135
|
}
|
|
3123
|
-
function
|
|
3124
|
-
return
|
|
3136
|
+
function go() {
|
|
3137
|
+
return mo ||= ho(), mo;
|
|
3125
3138
|
}
|
|
3126
|
-
var
|
|
3127
|
-
function
|
|
3128
|
-
let t =
|
|
3139
|
+
var _o;
|
|
3140
|
+
function vo({ userAgent: e } = {}) {
|
|
3141
|
+
let t = go(), n = Y(), r = n.navigator.platform, i = e || n.navigator.userAgent, a = {
|
|
3129
3142
|
ios: !1,
|
|
3130
3143
|
android: !1
|
|
3131
3144
|
}, o = n.screen.width, s = n.screen.height, c = i.match(/(Android);?[\s\/]+([\d.]+)?/), l = i.match(/(iPad)(?!\1).*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";
|
|
@@ -3148,12 +3161,12 @@ function go({ userAgent: e } = {}) {
|
|
|
3148
3161
|
"13_0_0"
|
|
3149
3162
|
], p = !1), c && !f && (a.os = "android", a.android = !0), (l || d || u) && (a.os = "ios", a.ios = !0), a;
|
|
3150
3163
|
}
|
|
3151
|
-
function
|
|
3152
|
-
return
|
|
3164
|
+
function yo(e = {}) {
|
|
3165
|
+
return _o ||= vo(e), _o;
|
|
3153
3166
|
}
|
|
3154
|
-
var
|
|
3155
|
-
function
|
|
3156
|
-
let e = Y(), t =
|
|
3167
|
+
var bo;
|
|
3168
|
+
function xo() {
|
|
3169
|
+
let e = Y(), t = yo(), n = !1;
|
|
3157
3170
|
function r() {
|
|
3158
3171
|
let t = e.navigator.userAgent.toLowerCase();
|
|
3159
3172
|
return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0;
|
|
@@ -3173,10 +3186,10 @@ function yo() {
|
|
|
3173
3186
|
isWebView: i
|
|
3174
3187
|
};
|
|
3175
3188
|
}
|
|
3176
|
-
function
|
|
3177
|
-
return
|
|
3189
|
+
function So() {
|
|
3190
|
+
return bo ||= xo(), bo;
|
|
3178
3191
|
}
|
|
3179
|
-
function
|
|
3192
|
+
function Co({ swiper: e, on: t, emit: n }) {
|
|
3180
3193
|
let r = Y(), i = null, a = null, o = () => {
|
|
3181
3194
|
e && !e.destroyed && e.initialized && (n("beforeResize"), n("resize"));
|
|
3182
3195
|
}, s = () => {
|
|
@@ -3203,7 +3216,7 @@ function xo({ swiper: e, on: t, emit: n }) {
|
|
|
3203
3216
|
c(), r.removeEventListener("resize", o), r.removeEventListener("orientationchange", l);
|
|
3204
3217
|
});
|
|
3205
3218
|
}
|
|
3206
|
-
function
|
|
3219
|
+
function wo({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
3207
3220
|
let i = [], a = Y(), o = (t, n = {}) => {
|
|
3208
3221
|
let o = new (a.MutationObserver || a.WebkitMutationObserver)((t) => {
|
|
3209
3222
|
if (e.__preventObserver__) return;
|
|
@@ -3229,7 +3242,7 @@ function So({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
3229
3242
|
}), n("init", () => {
|
|
3230
3243
|
if (e.params.observer) {
|
|
3231
3244
|
if (e.params.observeParents) {
|
|
3232
|
-
let t =
|
|
3245
|
+
let t = co(e.hostEl);
|
|
3233
3246
|
for (let e = 0; e < t.length; e += 1) o(t[e]);
|
|
3234
3247
|
}
|
|
3235
3248
|
o(e.hostEl, { childList: e.params.observeSlideChildren }), o(e.wrapperEl, { attributes: !1 });
|
|
@@ -3240,7 +3253,7 @@ function So({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
3240
3253
|
}), i.splice(0, i.length);
|
|
3241
3254
|
});
|
|
3242
3255
|
}
|
|
3243
|
-
var
|
|
3256
|
+
var To = {
|
|
3244
3257
|
on(e, t, n) {
|
|
3245
3258
|
let r = this;
|
|
3246
3259
|
if (!r.eventsListeners || r.destroyed || typeof t != "function") return r;
|
|
@@ -3290,20 +3303,20 @@ var Co = {
|
|
|
3290
3303
|
}), t;
|
|
3291
3304
|
}
|
|
3292
3305
|
};
|
|
3293
|
-
function
|
|
3306
|
+
function Eo() {
|
|
3294
3307
|
let e = this, t, n, r = e.el;
|
|
3295
|
-
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(
|
|
3308
|
+
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(oo(r, "padding-left") || 0, 10) - parseInt(oo(r, "padding-right") || 0, 10), n = n - parseInt(oo(r, "padding-top") || 0, 10) - parseInt(oo(r, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(n) && (n = 0), Object.assign(e, {
|
|
3296
3309
|
width: t,
|
|
3297
3310
|
height: n,
|
|
3298
3311
|
size: e.isHorizontal() ? t : n
|
|
3299
3312
|
}));
|
|
3300
3313
|
}
|
|
3301
|
-
function
|
|
3314
|
+
function Do() {
|
|
3302
3315
|
let e = this;
|
|
3303
3316
|
function t(t, n) {
|
|
3304
3317
|
return parseFloat(t.getPropertyValue(e.getDirectionLabel(n)) || 0);
|
|
3305
3318
|
}
|
|
3306
|
-
let n = e.params, { wrapperEl: r, slidesEl: i, rtlTranslate: a, wrongRTL: o } = e, s = e.virtual && n.virtual.enabled, c = s ? e.virtual.slides.length : e.slides.length, l =
|
|
3319
|
+
let n = e.params, { wrapperEl: r, slidesEl: i, rtlTranslate: a, wrongRTL: o } = e, s = e.virtual && n.virtual.enabled, c = s ? e.virtual.slides.length : e.slides.length, l = Qa(i, `.${e.params.slideClass}, swiper-slide`), u = s ? e.virtual.slides.length : l.length, d = [], f = [], p = [], m = n.slidesOffsetBefore;
|
|
3307
3320
|
typeof m == "function" && (m = n.slidesOffsetBefore.call(e));
|
|
3308
3321
|
let h = n.slidesOffsetAfter;
|
|
3309
3322
|
typeof h == "function" && (h = n.slidesOffsetAfter.call(e));
|
|
@@ -3311,19 +3324,19 @@ function To() {
|
|
|
3311
3324
|
if (v === void 0) return;
|
|
3312
3325
|
typeof y == "string" && y.indexOf("%") >= 0 ? y = parseFloat(y.replace("%", "")) / 100 * v : typeof y == "string" && (y = parseFloat(y)), e.virtualSize = -y - m - h, l.forEach((e) => {
|
|
3313
3326
|
a ? e.style.marginLeft = "" : e.style.marginRight = "", e.style.marginBottom = "", e.style.marginTop = "";
|
|
3314
|
-
}), n.centeredSlides && n.cssMode && (
|
|
3327
|
+
}), n.centeredSlides && n.cssMode && (Ya(r, "--swiper-centered-offset-before", ""), Ya(r, "--swiper-centered-offset-after", "")), n.cssMode && (Ya(r, "--swiper-slides-offset-before", `${m}px`), Ya(r, "--swiper-slides-offset-after", `${h}px`));
|
|
3315
3328
|
let C = n.grid && n.grid.rows > 1 && e.grid;
|
|
3316
3329
|
C ? e.grid.initSlides(l) : e.grid && e.grid.unsetSlides();
|
|
3317
3330
|
let w, T = n.slidesPerView === "auto" && n.breakpoints && Object.keys(n.breakpoints).filter((e) => n.breakpoints[e].slidesPerView !== void 0).length > 0;
|
|
3318
3331
|
for (let r = 0; r < u; r += 1) {
|
|
3319
3332
|
w = 0;
|
|
3320
3333
|
let i = l[r];
|
|
3321
|
-
if (!(i && (C && e.grid.updateSlide(r, i, l),
|
|
3334
|
+
if (!(i && (C && e.grid.updateSlide(r, i, l), oo(i, "display") === "none"))) {
|
|
3322
3335
|
if (s && n.slidesPerView === "auto") n.virtual.slidesPerViewAutoSlideSize && (w = n.virtual.slidesPerViewAutoSlideSize), w && i && (n.roundLengths && (w = Math.floor(w)), i.style[e.getDirectionLabel("width")] = `${w}px`);
|
|
3323
3336
|
else if (n.slidesPerView === "auto") {
|
|
3324
3337
|
T && (i.style[e.getDirectionLabel("width")] = "");
|
|
3325
3338
|
let r = getComputedStyle(i), a = i.style.transform, o = i.style.webkitTransform;
|
|
3326
|
-
if (a && (i.style.transform = "none"), o && (i.style.webkitTransform = "none"), n.roundLengths) w = e.isHorizontal() ?
|
|
3339
|
+
if (a && (i.style.transform = "none"), o && (i.style.webkitTransform = "none"), n.roundLengths) w = e.isHorizontal() ? uo(i, "width", !0) : uo(i, "height", !0);
|
|
3327
3340
|
else {
|
|
3328
3341
|
let e = t(r, "width"), n = t(r, "padding-left"), a = t(r, "padding-right"), o = t(r, "margin-left"), s = t(r, "margin-right"), c = r.getPropertyValue("box-sizing");
|
|
3329
3342
|
if (c && c === "border-box") w = e + o + s;
|
|
@@ -3396,7 +3409,7 @@ function To() {
|
|
|
3396
3409
|
slidesGrid: f,
|
|
3397
3410
|
slidesSizesGrid: p
|
|
3398
3411
|
}), n.centeredSlides && n.cssMode && !n.centeredSlidesBounds) {
|
|
3399
|
-
|
|
3412
|
+
Ya(r, "--swiper-centered-offset-before", `${-d[0]}px`), Ya(r, "--swiper-centered-offset-after", `${e.size / 2 - p[p.length - 1] / 2}px`);
|
|
3400
3413
|
let t = -e.snapGrid[0], n = -e.slidesGrid[0];
|
|
3401
3414
|
e.snapGrid = e.snapGrid.map((e) => e + t), e.slidesGrid = e.slidesGrid.map((e) => e + n);
|
|
3402
3415
|
}
|
|
@@ -3405,7 +3418,7 @@ function To() {
|
|
|
3405
3418
|
u <= n.maxBackfaceHiddenSlides ? r || e.el.classList.add(t) : r && e.el.classList.remove(t);
|
|
3406
3419
|
}
|
|
3407
3420
|
}
|
|
3408
|
-
function
|
|
3421
|
+
function Oo(e) {
|
|
3409
3422
|
let t = this, n = [], r = t.virtual && t.params.virtual.enabled, i = 0, a;
|
|
3410
3423
|
typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
|
|
3411
3424
|
let o = (e) => r ? t.slides[t.getSlideIndexByData(e)] : t.slides[e];
|
|
@@ -3425,14 +3438,14 @@ function Eo(e) {
|
|
|
3425
3438
|
}
|
|
3426
3439
|
(i || i === 0) && (t.wrapperEl.style.height = `${i}px`);
|
|
3427
3440
|
}
|
|
3428
|
-
function
|
|
3441
|
+
function ko() {
|
|
3429
3442
|
let e = this, t = e.slides, n = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
3430
3443
|
for (let r = 0; r < t.length; r += 1) t[r].swiperSlideOffset = (e.isHorizontal() ? t[r].offsetLeft : t[r].offsetTop) - n - e.cssOverflowAdjustment();
|
|
3431
3444
|
}
|
|
3432
|
-
var
|
|
3445
|
+
var Ao = (e, t, n) => {
|
|
3433
3446
|
t && !e.classList.contains(n) ? e.classList.add(n) : !t && e.classList.contains(n) && e.classList.remove(n);
|
|
3434
3447
|
};
|
|
3435
|
-
function
|
|
3448
|
+
function jo(e = this && this.translate || 0) {
|
|
3436
3449
|
let t = this, n = t.params, { slides: r, rtlTranslate: i, snapGrid: a } = t;
|
|
3437
3450
|
if (r.length === 0) return;
|
|
3438
3451
|
r[0].swiperSlideOffset === void 0 && t.updateSlidesOffset();
|
|
@@ -3444,10 +3457,10 @@ function ko(e = this && this.translate || 0) {
|
|
|
3444
3457
|
let c = r[e], l = c.swiperSlideOffset;
|
|
3445
3458
|
n.cssMode && n.centeredSlides && (l -= r[0].swiperSlideOffset);
|
|
3446
3459
|
let u = (o + (n.centeredSlides ? t.minTranslate() : 0) - l) / (c.swiperSlideSize + s), d = (o - a[0] + (n.centeredSlides ? t.minTranslate() : 0) - l) / (c.swiperSlideSize + s), f = -(o - l), p = f + t.slidesSizesGrid[e], m = f >= 0 && f <= t.size - t.slidesSizesGrid[e], h = f >= 0 && f < t.size - 1 || p > 1 && p <= t.size || f <= 0 && p >= t.size;
|
|
3447
|
-
h && (t.visibleSlides.push(c), t.visibleSlidesIndexes.push(e)),
|
|
3460
|
+
h && (t.visibleSlides.push(c), t.visibleSlidesIndexes.push(e)), Ao(c, h, n.slideVisibleClass), Ao(c, m, n.slideFullyVisibleClass), c.progress = i ? -u : u, c.originalProgress = i ? -d : d;
|
|
3448
3461
|
}
|
|
3449
3462
|
}
|
|
3450
|
-
function
|
|
3463
|
+
function Mo(e) {
|
|
3451
3464
|
let t = this;
|
|
3452
3465
|
if (e === void 0) {
|
|
3453
3466
|
let n = t.rtlTranslate ? -1 : 1;
|
|
@@ -3471,22 +3484,22 @@ function Ao(e) {
|
|
|
3471
3484
|
isEnd: o
|
|
3472
3485
|
}), (n.watchSlidesProgress || n.centeredSlides && n.autoHeight) && t.updateSlidesProgress(e), a && !c && t.emit("reachBeginning toEdge"), o && !l && t.emit("reachEnd toEdge"), (c && !a || l && !o) && t.emit("fromEdge"), t.emit("progress", i);
|
|
3473
3486
|
}
|
|
3474
|
-
var
|
|
3487
|
+
var No = (e, t, n) => {
|
|
3475
3488
|
t && !e.classList.contains(n) ? e.classList.add(n) : !t && e.classList.contains(n) && e.classList.remove(n);
|
|
3476
3489
|
};
|
|
3477
|
-
function
|
|
3478
|
-
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = e.grid && n.grid && n.grid.rows > 1, s = (e) =>
|
|
3490
|
+
function Po() {
|
|
3491
|
+
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = e.grid && n.grid && n.grid.rows > 1, s = (e) => Qa(r, `.${n.slideClass}${e}, swiper-slide${e}`)[0], c, l, u;
|
|
3479
3492
|
if (a) {
|
|
3480
3493
|
if (n.loop) {
|
|
3481
3494
|
let t = i - e.virtual.slidesBefore;
|
|
3482
3495
|
t < 0 && (t = e.virtual.slides.length + t), t >= e.virtual.slides.length && (t -= e.virtual.slides.length), c = s(`[data-swiper-slide-index="${t}"]`);
|
|
3483
3496
|
} else c = s(`[data-swiper-slide-index="${i}"]`);
|
|
3484
3497
|
} else o ? (c = t.find((e) => e.column === i), u = t.find((e) => e.column === i + 1), l = t.find((e) => e.column === i - 1)) : c = t[i];
|
|
3485
|
-
c && (o || (u =
|
|
3486
|
-
|
|
3498
|
+
c && (o || (u = ao(c, `.${n.slideClass}, swiper-slide`)[0], n.loop && !u && (u = t[0]), l = io(c, `.${n.slideClass}, swiper-slide`)[0], n.loop)), t.forEach((e) => {
|
|
3499
|
+
No(e, e === c, n.slideActiveClass), No(e, e === u, n.slideNextClass), No(e, e === l, n.slidePrevClass);
|
|
3487
3500
|
}), e.emitSlidesClasses();
|
|
3488
3501
|
}
|
|
3489
|
-
var
|
|
3502
|
+
var Fo = (e, t) => {
|
|
3490
3503
|
if (!e || e.destroyed || !e.params) return;
|
|
3491
3504
|
let n = t.closest(e.isElement ? "swiper-slide" : `.${e.params.slideClass}`);
|
|
3492
3505
|
if (n) {
|
|
@@ -3495,11 +3508,11 @@ var No = (e, t) => {
|
|
|
3495
3508
|
n.shadowRoot && (t = n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`), t && !t.lazyPreloaderManaged && t.remove());
|
|
3496
3509
|
})), t && !t.lazyPreloaderManaged && t.remove();
|
|
3497
3510
|
}
|
|
3498
|
-
},
|
|
3511
|
+
}, Io = (e, t) => {
|
|
3499
3512
|
if (!e.slides[t]) return;
|
|
3500
3513
|
let n = e.slides[t].querySelector("[loading=\"lazy\"]");
|
|
3501
3514
|
n && n.removeAttribute("loading");
|
|
3502
|
-
},
|
|
3515
|
+
}, Lo = (e) => {
|
|
3503
3516
|
if (!e || e.destroyed || !e.params) return;
|
|
3504
3517
|
let t = e.params.lazyPreloadPrevNext, n = e.slides.length;
|
|
3505
3518
|
if (!n || !t || t < 0) return;
|
|
@@ -3508,28 +3521,28 @@ var No = (e, t) => {
|
|
|
3508
3521
|
if (e.params.grid && e.params.grid.rows > 1) {
|
|
3509
3522
|
let n = i, a = [n - t];
|
|
3510
3523
|
a.push(...Array.from({ length: t }).map((e, t) => n + r + t)), e.slides.forEach((t, n) => {
|
|
3511
|
-
a.includes(t.column) &&
|
|
3524
|
+
a.includes(t.column) && Io(e, n);
|
|
3512
3525
|
});
|
|
3513
3526
|
return;
|
|
3514
3527
|
}
|
|
3515
3528
|
let a = i + r - 1;
|
|
3516
3529
|
if (e.params.rewind || e.params.loop) for (let r = i - t; r <= a + t; r += 1) {
|
|
3517
3530
|
let t = (r % n + n) % n;
|
|
3518
|
-
(t < i || t > a) &&
|
|
3531
|
+
(t < i || t > a) && Io(e, t);
|
|
3519
3532
|
}
|
|
3520
|
-
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) &&
|
|
3533
|
+
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) && Io(e, r);
|
|
3521
3534
|
};
|
|
3522
|
-
function
|
|
3535
|
+
function Ro(e) {
|
|
3523
3536
|
let { slidesGrid: t, params: n } = e, r = e.rtlTranslate ? e.translate : -e.translate, i;
|
|
3524
3537
|
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);
|
|
3525
3538
|
return n.normalizeSlideIndex && (i < 0 || i === void 0) && (i = 0), i;
|
|
3526
3539
|
}
|
|
3527
|
-
function
|
|
3540
|
+
function zo(e) {
|
|
3528
3541
|
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) => {
|
|
3529
3542
|
let n = e - t.virtual.slidesBefore;
|
|
3530
3543
|
return n < 0 && (n = t.virtual.slides.length + n), n >= t.virtual.slides.length && (n -= t.virtual.slides.length), n;
|
|
3531
3544
|
};
|
|
3532
|
-
if (c === void 0 && (c =
|
|
3545
|
+
if (c === void 0 && (c = Ro(t)), r.indexOf(n) >= 0) l = r.indexOf(n);
|
|
3533
3546
|
else {
|
|
3534
3547
|
let e = Math.min(i.slidesPerGroupSkip, c);
|
|
3535
3548
|
l = e + Math.floor((c - e) / i.slidesPerGroup);
|
|
@@ -3558,9 +3571,9 @@ function Lo(e) {
|
|
|
3558
3571
|
realIndex: f,
|
|
3559
3572
|
previousIndex: a,
|
|
3560
3573
|
activeIndex: c
|
|
3561
|
-
}), t.initialized &&
|
|
3574
|
+
}), t.initialized && Lo(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (o !== f && t.emit("realIndexChange"), t.emit("slideChange"));
|
|
3562
3575
|
}
|
|
3563
|
-
function
|
|
3576
|
+
function Bo(e, t) {
|
|
3564
3577
|
let n = this, r = n.params, i = e.closest(`.${r.slideClass}, swiper-slide`);
|
|
3565
3578
|
!i && n.isElement && t && t.length > 1 && t.includes(e) && [...t.slice(t.indexOf(e) + 1, t.length)].forEach((e) => {
|
|
3566
3579
|
!i && e.matches && e.matches(`.${r.slideClass}, swiper-slide`) && (i = e);
|
|
@@ -3579,37 +3592,37 @@ function Ro(e, t) {
|
|
|
3579
3592
|
}
|
|
3580
3593
|
r.slideToClickedSlide && n.clickedIndex !== void 0 && n.clickedIndex !== n.activeIndex && n.slideToClickedSlide();
|
|
3581
3594
|
}
|
|
3582
|
-
var
|
|
3583
|
-
updateSize:
|
|
3584
|
-
updateSlides:
|
|
3585
|
-
updateAutoHeight:
|
|
3586
|
-
updateSlidesOffset:
|
|
3587
|
-
updateSlidesProgress:
|
|
3588
|
-
updateProgress:
|
|
3589
|
-
updateSlidesClasses:
|
|
3590
|
-
updateActiveIndex:
|
|
3591
|
-
updateClickedSlide:
|
|
3595
|
+
var Vo = {
|
|
3596
|
+
updateSize: Eo,
|
|
3597
|
+
updateSlides: Do,
|
|
3598
|
+
updateAutoHeight: Oo,
|
|
3599
|
+
updateSlidesOffset: ko,
|
|
3600
|
+
updateSlidesProgress: jo,
|
|
3601
|
+
updateProgress: Mo,
|
|
3602
|
+
updateSlidesClasses: Po,
|
|
3603
|
+
updateActiveIndex: zo,
|
|
3604
|
+
updateClickedSlide: Bo
|
|
3592
3605
|
};
|
|
3593
|
-
function
|
|
3606
|
+
function Ho(e = this.isHorizontal() ? "x" : "y") {
|
|
3594
3607
|
let t = this, { params: n, rtlTranslate: r, translate: i, wrapperEl: a } = t;
|
|
3595
3608
|
if (n.virtualTranslate) return r ? -i : i;
|
|
3596
3609
|
if (n.cssMode) return i;
|
|
3597
|
-
let o =
|
|
3610
|
+
let o = Ka(a, e);
|
|
3598
3611
|
return o += t.cssOverflowAdjustment(), r && (o = -o), o || 0;
|
|
3599
3612
|
}
|
|
3600
|
-
function
|
|
3613
|
+
function Uo(e, t) {
|
|
3601
3614
|
let n = this, { rtlTranslate: r, params: i, wrapperEl: a, progress: o } = n, s = 0, c = 0;
|
|
3602
3615
|
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)`);
|
|
3603
3616
|
let l, u = n.maxTranslate() - n.minTranslate();
|
|
3604
3617
|
l = u === 0 ? 0 : (e - n.minTranslate()) / u, l !== o && n.updateProgress(e), n.emit("setTranslate", n.translate, t);
|
|
3605
3618
|
}
|
|
3606
|
-
function
|
|
3619
|
+
function Wo() {
|
|
3607
3620
|
return -this.snapGrid[0];
|
|
3608
3621
|
}
|
|
3609
|
-
function
|
|
3622
|
+
function Go() {
|
|
3610
3623
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
3611
3624
|
}
|
|
3612
|
-
function
|
|
3625
|
+
function Ko(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
3613
3626
|
let a = this, { params: o, wrapperEl: s } = a;
|
|
3614
3627
|
if (a.animating && o.preventInteractionOnTransition) return !1;
|
|
3615
3628
|
let c = a.minTranslate(), l = a.maxTranslate(), u;
|
|
@@ -3617,7 +3630,7 @@ function Wo(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
3617
3630
|
let e = a.isHorizontal();
|
|
3618
3631
|
if (t === 0) s[e ? "scrollLeft" : "scrollTop"] = -u;
|
|
3619
3632
|
else {
|
|
3620
|
-
if (!a.support.smoothScroll) return
|
|
3633
|
+
if (!a.support.smoothScroll) return Xa({
|
|
3621
3634
|
swiper: a,
|
|
3622
3635
|
targetPosition: -u,
|
|
3623
3636
|
side: e ? "left" : "top"
|
|
@@ -3633,45 +3646,45 @@ function Wo(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
3633
3646
|
a && !a.destroyed && e.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onTranslateToWrapperTransitionEnd), a.onTranslateToWrapperTransitionEnd = null, delete a.onTranslateToWrapperTransitionEnd, a.animating = !1, n && a.emit("transitionEnd"));
|
|
3634
3647
|
}, a.wrapperEl.addEventListener("transitionend", a.onTranslateToWrapperTransitionEnd))), !0;
|
|
3635
3648
|
}
|
|
3636
|
-
var
|
|
3637
|
-
getTranslate:
|
|
3638
|
-
setTranslate:
|
|
3639
|
-
minTranslate:
|
|
3640
|
-
maxTranslate:
|
|
3641
|
-
translateTo:
|
|
3649
|
+
var qo = {
|
|
3650
|
+
getTranslate: Ho,
|
|
3651
|
+
setTranslate: Uo,
|
|
3652
|
+
minTranslate: Wo,
|
|
3653
|
+
maxTranslate: Go,
|
|
3654
|
+
translateTo: Ko
|
|
3642
3655
|
};
|
|
3643
|
-
function
|
|
3656
|
+
function Jo(e, t) {
|
|
3644
3657
|
let n = this;
|
|
3645
3658
|
n.params.cssMode || (n.wrapperEl.style.transitionDuration = `${e}ms`, n.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), n.emit("setTransition", e, t);
|
|
3646
3659
|
}
|
|
3647
|
-
function
|
|
3660
|
+
function Yo({ swiper: e, runCallbacks: t, direction: n, step: r }) {
|
|
3648
3661
|
let { activeIndex: i, previousIndex: a } = e, o = n;
|
|
3649
3662
|
o ||= i > a ? "next" : i < a ? "prev" : "reset", e.emit(`transition${r}`), t && o === "reset" ? e.emit(`slideResetTransition${r}`) : t && i !== a && (e.emit(`slideChangeTransition${r}`), o === "next" ? e.emit(`slideNextTransition${r}`) : e.emit(`slidePrevTransition${r}`));
|
|
3650
3663
|
}
|
|
3651
|
-
function
|
|
3664
|
+
function Xo(e = !0, t) {
|
|
3652
3665
|
let n = this, { params: r } = n;
|
|
3653
|
-
r.cssMode || (r.autoHeight && n.updateAutoHeight(),
|
|
3666
|
+
r.cssMode || (r.autoHeight && n.updateAutoHeight(), Yo({
|
|
3654
3667
|
swiper: n,
|
|
3655
3668
|
runCallbacks: e,
|
|
3656
3669
|
direction: t,
|
|
3657
3670
|
step: "Start"
|
|
3658
3671
|
}));
|
|
3659
3672
|
}
|
|
3660
|
-
function
|
|
3673
|
+
function Zo(e = !0, t) {
|
|
3661
3674
|
let n = this, { params: r } = n;
|
|
3662
|
-
n.animating = !1, !r.cssMode && (n.setTransition(0),
|
|
3675
|
+
n.animating = !1, !r.cssMode && (n.setTransition(0), Yo({
|
|
3663
3676
|
swiper: n,
|
|
3664
3677
|
runCallbacks: e,
|
|
3665
3678
|
direction: t,
|
|
3666
3679
|
step: "End"
|
|
3667
3680
|
}));
|
|
3668
3681
|
}
|
|
3669
|
-
var
|
|
3670
|
-
setTransition:
|
|
3671
|
-
transitionStart:
|
|
3672
|
-
transitionEnd:
|
|
3682
|
+
var Qo = {
|
|
3683
|
+
setTransition: Jo,
|
|
3684
|
+
transitionStart: Xo,
|
|
3685
|
+
transitionEnd: Zo
|
|
3673
3686
|
};
|
|
3674
|
-
function
|
|
3687
|
+
function $o(e = 0, t, n = !0, r, i) {
|
|
3675
3688
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
3676
3689
|
let a = this, o = e;
|
|
3677
3690
|
o < 0 && (o = 0);
|
|
@@ -3699,7 +3712,7 @@ function Zo(e = 0, t, n = !0, r, i) {
|
|
|
3699
3712
|
a.wrapperEl.style.scrollSnapType = "", a._immediateVirtual = !1;
|
|
3700
3713
|
});
|
|
3701
3714
|
else {
|
|
3702
|
-
if (!a.support.smoothScroll) return
|
|
3715
|
+
if (!a.support.smoothScroll) return Xa({
|
|
3703
3716
|
swiper: a,
|
|
3704
3717
|
targetPosition: n,
|
|
3705
3718
|
side: e ? "left" : "top"
|
|
@@ -3711,12 +3724,12 @@ function Zo(e = 0, t, n = !0, r, i) {
|
|
|
3711
3724
|
}
|
|
3712
3725
|
return !0;
|
|
3713
3726
|
}
|
|
3714
|
-
let b =
|
|
3727
|
+
let b = So().isSafari;
|
|
3715
3728
|
return y && !i && b && a.isElement && a.virtual.update(!1, !1, o), a.setTransition(t), a.setTranslate(_), a.updateActiveIndex(o), a.updateSlidesClasses(), a.emit("beforeTransitionStart", t, r), a.transitionStart(n, v), t === 0 ? a.transitionEnd(n, v) : a.animating || (a.animating = !0, a.onSlideToWrapperTransitionEnd ||= function(e) {
|
|
3716
3729
|
a && !a.destroyed && e.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.onSlideToWrapperTransitionEnd = null, delete a.onSlideToWrapperTransitionEnd, a.transitionEnd(n, v));
|
|
3717
3730
|
}, a.wrapperEl.addEventListener("transitionend", a.onSlideToWrapperTransitionEnd)), !0;
|
|
3718
3731
|
}
|
|
3719
|
-
function
|
|
3732
|
+
function es(e = 0, t, n = !0, r) {
|
|
3720
3733
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
3721
3734
|
let i = this;
|
|
3722
3735
|
if (i.destroyed) return;
|
|
@@ -3752,7 +3765,7 @@ function Qo(e = 0, t, n = !0, r) {
|
|
|
3752
3765
|
i.slideTo(o, t, n, r);
|
|
3753
3766
|
}), i;
|
|
3754
3767
|
}
|
|
3755
|
-
function
|
|
3768
|
+
function ts(e, t = !0, n) {
|
|
3756
3769
|
let r = this, { enabled: i, params: a, animating: o } = r;
|
|
3757
3770
|
if (!i || r.destroyed) return r;
|
|
3758
3771
|
e === void 0 && (e = r.params.speed);
|
|
@@ -3767,7 +3780,7 @@ function $o(e, t = !0, n) {
|
|
|
3767
3780
|
}
|
|
3768
3781
|
return a.rewind && r.isEnd ? r.slideTo(0, e, t, n) : r.slideTo(r.activeIndex + c, e, t, n);
|
|
3769
3782
|
}
|
|
3770
|
-
function
|
|
3783
|
+
function ns(e, t = !0, n) {
|
|
3771
3784
|
let r = this, { params: i, snapGrid: a, slidesGrid: o, rtlTranslate: s, enabled: c, animating: l } = r;
|
|
3772
3785
|
if (!c || r.destroyed) return r;
|
|
3773
3786
|
e === void 0 && (e = r.params.speed);
|
|
@@ -3796,11 +3809,11 @@ function es(e, t = !0, n) {
|
|
|
3796
3809
|
r.slideTo(_, e, t, n);
|
|
3797
3810
|
}), !0) : r.slideTo(_, e, t, n);
|
|
3798
3811
|
}
|
|
3799
|
-
function
|
|
3812
|
+
function rs(e, t = !0, n) {
|
|
3800
3813
|
let r = this;
|
|
3801
3814
|
if (!r.destroyed) return e === void 0 && (e = r.params.speed), r.slideTo(r.activeIndex, e, t, n);
|
|
3802
3815
|
}
|
|
3803
|
-
function
|
|
3816
|
+
function is(e, t = !0, n, r = .5) {
|
|
3804
3817
|
let i = this;
|
|
3805
3818
|
if (i.destroyed) return;
|
|
3806
3819
|
e === void 0 && (e = i.params.speed);
|
|
@@ -3814,35 +3827,35 @@ function ns(e, t = !0, n, r = .5) {
|
|
|
3814
3827
|
}
|
|
3815
3828
|
return a = Math.max(a, 0), a = Math.min(a, i.slidesGrid.length - 1), i.slideTo(a, e, t, n);
|
|
3816
3829
|
}
|
|
3817
|
-
function
|
|
3830
|
+
function as() {
|
|
3818
3831
|
let e = this;
|
|
3819
3832
|
if (e.destroyed) return;
|
|
3820
3833
|
let { params: t, slidesEl: n } = e, r = t.slidesPerView === "auto" ? e.slidesPerViewDynamic() : t.slidesPerView, i = e.getSlideIndexWhenGrid(e.clickedIndex), a, o = e.isElement ? "swiper-slide" : `.${t.slideClass}`, s = e.grid && e.params.grid && e.params.grid.rows > 1;
|
|
3821
3834
|
if (t.loop) {
|
|
3822
3835
|
if (e.animating) return;
|
|
3823
|
-
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(a) : i > (s ? (e.slides.length - r) / 2 - (e.params.grid.rows - 1) : e.slides.length - r) ? (e.loopFix(), i = e.getSlideIndex(
|
|
3836
|
+
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(a) : i > (s ? (e.slides.length - r) / 2 - (e.params.grid.rows - 1) : e.slides.length - r) ? (e.loopFix(), i = e.getSlideIndex(Qa(n, `${o}[data-swiper-slide-index="${a}"]`)[0]), Wa(() => {
|
|
3824
3837
|
e.slideTo(i);
|
|
3825
3838
|
})) : e.slideTo(i);
|
|
3826
3839
|
} else e.slideTo(i);
|
|
3827
3840
|
}
|
|
3828
|
-
var
|
|
3829
|
-
slideTo:
|
|
3830
|
-
slideToLoop:
|
|
3831
|
-
slideNext:
|
|
3832
|
-
slidePrev:
|
|
3833
|
-
slideReset:
|
|
3834
|
-
slideToClosest:
|
|
3835
|
-
slideToClickedSlide:
|
|
3841
|
+
var os = {
|
|
3842
|
+
slideTo: $o,
|
|
3843
|
+
slideToLoop: es,
|
|
3844
|
+
slideNext: ts,
|
|
3845
|
+
slidePrev: ns,
|
|
3846
|
+
slideReset: rs,
|
|
3847
|
+
slideToClosest: is,
|
|
3848
|
+
slideToClickedSlide: as
|
|
3836
3849
|
};
|
|
3837
|
-
function
|
|
3850
|
+
function ss(e, t) {
|
|
3838
3851
|
let n = this, { params: r, slidesEl: i } = n;
|
|
3839
3852
|
if (!r.loop || n.virtual && n.params.virtual.enabled) return;
|
|
3840
3853
|
let a = () => {
|
|
3841
|
-
|
|
3854
|
+
Qa(i, `.${r.slideClass}, swiper-slide`).forEach((e, t) => {
|
|
3842
3855
|
e.setAttribute("data-swiper-slide-index", t);
|
|
3843
3856
|
});
|
|
3844
3857
|
}, o = () => {
|
|
3845
|
-
let e =
|
|
3858
|
+
let e = Qa(i, `.${r.slideBlankClass}`);
|
|
3846
3859
|
e.forEach((e) => {
|
|
3847
3860
|
e.remove();
|
|
3848
3861
|
}), e.length > 0 && (n.recalcSlides(), n.updateSlides());
|
|
@@ -3850,11 +3863,11 @@ function as(e, t) {
|
|
|
3850
3863
|
r.loopAddBlankSlides && (r.slidesPerGroup > 1 || s) && o();
|
|
3851
3864
|
let c = r.slidesPerGroup * (s ? r.grid.rows : 1), l = n.slides.length % c !== 0, u = s && n.slides.length % r.grid.rows !== 0, d = (e) => {
|
|
3852
3865
|
for (let t = 0; t < e; t += 1) {
|
|
3853
|
-
let e = n.isElement ?
|
|
3866
|
+
let e = n.isElement ? no("swiper-slide", [r.slideBlankClass]) : no("div", [r.slideClass, r.slideBlankClass]);
|
|
3854
3867
|
n.slidesEl.append(e);
|
|
3855
3868
|
}
|
|
3856
3869
|
};
|
|
3857
|
-
l ? (r.loopAddBlankSlides ? (d(c - n.slides.length % c), n.recalcSlides(), n.updateSlides()) :
|
|
3870
|
+
l ? (r.loopAddBlankSlides ? (d(c - n.slides.length % c), n.recalcSlides(), n.updateSlides()) : to("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"), a()) : (u && (r.loopAddBlankSlides ? (d(r.grid.rows - n.slides.length % r.grid.rows), n.recalcSlides(), n.updateSlides()) : to("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")), a());
|
|
3858
3871
|
let f = r.centeredSlides || !!r.slidesOffsetBefore || !!r.slidesOffsetAfter;
|
|
3859
3872
|
n.loopFix({
|
|
3860
3873
|
slideRealIndex: e,
|
|
@@ -3862,7 +3875,7 @@ function as(e, t) {
|
|
|
3862
3875
|
initial: t
|
|
3863
3876
|
});
|
|
3864
3877
|
}
|
|
3865
|
-
function
|
|
3878
|
+
function cs({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r, activeSlideIndex: i, initial: a, byController: o, byMousewheel: s } = {}) {
|
|
3866
3879
|
let c = this;
|
|
3867
3880
|
if (!c.params.loop) return;
|
|
3868
3881
|
c.emit("beforeLoopFix");
|
|
@@ -3876,7 +3889,7 @@ function os({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r,
|
|
|
3876
3889
|
let b = p.slidesPerGroupAuto ? y : p.slidesPerGroup, x = v ? Math.max(b, Math.ceil(y / 2)) : b;
|
|
3877
3890
|
x % b !== 0 && (x += b - x % b), x += p.loopAdditionalSlides, c.loopedSlides = x;
|
|
3878
3891
|
let S = c.grid && p.grid && p.grid.rows > 1;
|
|
3879
|
-
l.length < y + x || c.params.effect === "cards" && l.length < y + x * 2 ?
|
|
3892
|
+
l.length < y + x || c.params.effect === "cards" && l.length < y + x * 2 ? to("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : S && p.grid.fill === "row" && to("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
3880
3893
|
let C = [], w = [], T = S ? Math.ceil(l.length / p.grid.rows) : l.length, ee = a && T - _ < y && !v, te = ee ? _ : c.activeIndex;
|
|
3881
3894
|
i === void 0 ? i = c.getSlideIndex(l.find((e) => e.classList.contains(p.slideActiveClass))) : te = i;
|
|
3882
3895
|
let ne = n === "next" || !n, re = n === "prev" || !n, ie = 0, ae = 0, oe = (S ? l[i].column : i) + (v && r === void 0 ? -y / 2 + .5 : 0);
|
|
@@ -3945,7 +3958,7 @@ function os({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r,
|
|
|
3945
3958
|
}
|
|
3946
3959
|
c.emit("loopFix");
|
|
3947
3960
|
}
|
|
3948
|
-
function
|
|
3961
|
+
function ls() {
|
|
3949
3962
|
let e = this, { params: t, slidesEl: n } = e;
|
|
3950
3963
|
if (!t.loop || !n || e.virtual && e.params.virtual.enabled) return;
|
|
3951
3964
|
e.recalcSlides();
|
|
@@ -3959,12 +3972,12 @@ function ss() {
|
|
|
3959
3972
|
n.append(e);
|
|
3960
3973
|
}), e.recalcSlides(), e.slideTo(e.realIndex, 0);
|
|
3961
3974
|
}
|
|
3962
|
-
var
|
|
3963
|
-
loopCreate:
|
|
3964
|
-
loopFix:
|
|
3965
|
-
loopDestroy:
|
|
3975
|
+
var us = {
|
|
3976
|
+
loopCreate: ss,
|
|
3977
|
+
loopFix: cs,
|
|
3978
|
+
loopDestroy: ls
|
|
3966
3979
|
};
|
|
3967
|
-
function
|
|
3980
|
+
function ds(e) {
|
|
3968
3981
|
let t = this;
|
|
3969
3982
|
if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
|
|
3970
3983
|
let n = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
|
|
@@ -3972,17 +3985,17 @@ function ls(e) {
|
|
|
3972
3985
|
t.__preventObserver__ = !1;
|
|
3973
3986
|
});
|
|
3974
3987
|
}
|
|
3975
|
-
function
|
|
3988
|
+
function fs() {
|
|
3976
3989
|
let e = this;
|
|
3977
3990
|
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(() => {
|
|
3978
3991
|
e.__preventObserver__ = !1;
|
|
3979
3992
|
}));
|
|
3980
3993
|
}
|
|
3981
|
-
var
|
|
3982
|
-
setGrabCursor:
|
|
3983
|
-
unsetGrabCursor:
|
|
3994
|
+
var ps = {
|
|
3995
|
+
setGrabCursor: ds,
|
|
3996
|
+
unsetGrabCursor: fs
|
|
3984
3997
|
};
|
|
3985
|
-
function
|
|
3998
|
+
function ms(e, t = this) {
|
|
3986
3999
|
function n(t) {
|
|
3987
4000
|
if (!t || t === J() || t === Y()) return null;
|
|
3988
4001
|
t.assignedSlot && (t = t.assignedSlot);
|
|
@@ -3991,11 +4004,11 @@ function fs(e, t = this) {
|
|
|
3991
4004
|
}
|
|
3992
4005
|
return n(t);
|
|
3993
4006
|
}
|
|
3994
|
-
function
|
|
4007
|
+
function hs(e, t, n) {
|
|
3995
4008
|
let r = Y(), { params: i } = e, a = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
|
|
3996
4009
|
return a && (n <= o || n >= r.innerWidth - o) ? a === "prevent" && (t.preventDefault(), !0) : !0;
|
|
3997
4010
|
}
|
|
3998
|
-
function
|
|
4011
|
+
function gs(e) {
|
|
3999
4012
|
let t = this;
|
|
4000
4013
|
if (t.destroyed) return;
|
|
4001
4014
|
let n = J(), r = e;
|
|
@@ -4006,25 +4019,25 @@ function ms(e) {
|
|
|
4006
4019
|
i.pointerId = r.pointerId;
|
|
4007
4020
|
} else r.type === "touchstart" && r.targetTouches.length === 1 && (i.touchId = r.targetTouches[0].identifier);
|
|
4008
4021
|
if (r.type === "touchstart") {
|
|
4009
|
-
|
|
4022
|
+
hs(t, r, r.targetTouches[0].pageX);
|
|
4010
4023
|
return;
|
|
4011
4024
|
}
|
|
4012
4025
|
let { params: a, touches: o, enabled: s } = t;
|
|
4013
4026
|
if (!s || !a.simulateTouch && r.pointerType === "mouse" || t.animating && a.preventInteractionOnTransition) return;
|
|
4014
4027
|
!t.animating && a.cssMode && a.loop && t.loopFix();
|
|
4015
4028
|
let c = r.target;
|
|
4016
|
-
if (a.touchEventsTarget === "wrapper" && !
|
|
4029
|
+
if (a.touchEventsTarget === "wrapper" && !eo(c, t.wrapperEl) || "which" in r && r.which === 3 || "button" in r && r.button > 0 || i.isTouched && i.isMoved) return;
|
|
4017
4030
|
let l = !!a.noSwipingClass && a.noSwipingClass !== "", u = r.composedPath ? r.composedPath() : r.path;
|
|
4018
4031
|
l && r.target && r.target.shadowRoot && u && (c = u[0]);
|
|
4019
4032
|
let d = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, f = !!(r.target && r.target.shadowRoot);
|
|
4020
|
-
if (a.noSwiping && (f ?
|
|
4033
|
+
if (a.noSwiping && (f ? ms(d, c) : c.closest(d))) {
|
|
4021
4034
|
t.allowClick = !0;
|
|
4022
4035
|
return;
|
|
4023
4036
|
}
|
|
4024
4037
|
if (a.swipeHandler && !c.closest(a.swipeHandler)) return;
|
|
4025
4038
|
o.currentX = r.pageX, o.currentY = r.pageY;
|
|
4026
4039
|
let p = o.currentX, m = o.currentY;
|
|
4027
|
-
if (!
|
|
4040
|
+
if (!hs(t, r, p)) return;
|
|
4028
4041
|
Object.assign(i, {
|
|
4029
4042
|
isTouched: !0,
|
|
4030
4043
|
isMoved: !1,
|
|
@@ -4037,7 +4050,7 @@ function ms(e) {
|
|
|
4037
4050
|
let g = h && t.allowTouchMove && a.touchStartPreventDefault;
|
|
4038
4051
|
(a.touchStartForcePreventDefault || g) && !c.isContentEditable && r.preventDefault(), a.freeMode && a.freeMode.enabled && t.freeMode && t.animating && !a.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", r);
|
|
4039
4052
|
}
|
|
4040
|
-
function
|
|
4053
|
+
function _s(e) {
|
|
4041
4054
|
let t = J(), n = this;
|
|
4042
4055
|
if (n.destroyed) return;
|
|
4043
4056
|
let r = n.touchEventsData, { params: i, touches: a, rtlTranslate: o, enabled: s } = n;
|
|
@@ -4141,7 +4154,7 @@ function hs(e) {
|
|
|
4141
4154
|
}
|
|
4142
4155
|
i.followFinger && !i.cssMode && ((i.freeMode && i.freeMode.enabled && n.freeMode || i.watchSlidesProgress) && (n.updateActiveIndex(), n.updateSlidesClasses()), i.freeMode && i.freeMode.enabled && n.freeMode && n.freeMode.onTouchMove(), n.updateProgress(r.currentTranslate), n.setTranslate(r.currentTranslate));
|
|
4143
4156
|
}
|
|
4144
|
-
function
|
|
4157
|
+
function vs(e) {
|
|
4145
4158
|
let t = this;
|
|
4146
4159
|
if (t.destroyed) return;
|
|
4147
4160
|
let n = t.touchEventsData, r = e;
|
|
@@ -4170,7 +4183,7 @@ function gs(e) {
|
|
|
4170
4183
|
let e = r.path || r.composedPath && r.composedPath();
|
|
4171
4184
|
t.updateClickedSlide(e && e[0] || r.target, e), t.emit("tap click", r), d < 300 && u - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", r);
|
|
4172
4185
|
}
|
|
4173
|
-
if (n.lastClickTime = X(),
|
|
4186
|
+
if (n.lastClickTime = X(), Wa(() => {
|
|
4174
4187
|
t.destroyed || (t.allowClick = !0);
|
|
4175
4188
|
}), !n.isTouched || !n.isMoved || !t.swipeDirection || o.diff === 0 && !n.loopSwapReset || n.currentTranslate === n.startTranslate && !n.loopSwapReset) {
|
|
4176
4189
|
n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
|
|
@@ -4205,7 +4218,7 @@ function gs(e) {
|
|
|
4205
4218
|
!t.navigation || r.target !== t.navigation.nextEl && r.target !== t.navigation.prevEl ? (t.swipeDirection === "next" && t.slideTo(g === null ? m + y : g), t.swipeDirection === "prev" && t.slideTo(_ === null ? m : _)) : r.target === t.navigation.nextEl ? t.slideTo(m + y) : t.slideTo(m);
|
|
4206
4219
|
}
|
|
4207
4220
|
}
|
|
4208
|
-
function
|
|
4221
|
+
function ys() {
|
|
4209
4222
|
let e = this, { params: t, el: n } = e;
|
|
4210
4223
|
if (n && n.offsetWidth === 0) return;
|
|
4211
4224
|
t.breakpoints && e.setBreakpoint();
|
|
@@ -4220,11 +4233,11 @@ function _s() {
|
|
|
4220
4233
|
e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.resume();
|
|
4221
4234
|
}, 500)), e.allowSlidePrev = i, e.allowSlideNext = r, e.params.watchOverflow && a !== e.snapGrid && e.checkOverflow();
|
|
4222
4235
|
}
|
|
4223
|
-
function
|
|
4236
|
+
function bs(e) {
|
|
4224
4237
|
let t = this;
|
|
4225
4238
|
t.destroyed || t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
4226
4239
|
}
|
|
4227
|
-
function
|
|
4240
|
+
function xs() {
|
|
4228
4241
|
let e = this;
|
|
4229
4242
|
if (e.destroyed) return;
|
|
4230
4243
|
let { wrapperEl: t, rtlTranslate: n, enabled: r } = e;
|
|
@@ -4233,15 +4246,15 @@ function ys() {
|
|
|
4233
4246
|
let i, a = e.maxTranslate() - e.minTranslate();
|
|
4234
4247
|
i = a === 0 ? 0 : (e.translate - e.minTranslate()) / a, i !== e.progress && e.updateProgress(n ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
|
|
4235
4248
|
}
|
|
4236
|
-
function
|
|
4249
|
+
function Ss(e) {
|
|
4237
4250
|
let t = this;
|
|
4238
|
-
t.destroyed || (
|
|
4251
|
+
t.destroyed || (Fo(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update());
|
|
4239
4252
|
}
|
|
4240
|
-
function
|
|
4253
|
+
function Cs() {
|
|
4241
4254
|
let e = this;
|
|
4242
4255
|
e.destroyed || e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
4243
4256
|
}
|
|
4244
|
-
var
|
|
4257
|
+
var ws = (e, t) => {
|
|
4245
4258
|
let n = J(), { params: r, el: i, wrapperEl: a, device: o } = e, s = !!r.nested, c = t === "on" ? "addEventListener" : "removeEventListener", l = t;
|
|
4246
4259
|
i && typeof i != "string" && (n[c]("touchstart", e.onDocumentTouchStart, {
|
|
4247
4260
|
passive: !1,
|
|
@@ -4252,25 +4265,25 @@ var Ss = (e, t) => {
|
|
|
4252
4265
|
}), n[c]("pointermove", e.onTouchMove, {
|
|
4253
4266
|
passive: !1,
|
|
4254
4267
|
capture: s
|
|
4255
|
-
}), n[c]("touchend", e.onTouchEnd, { passive: !0 }), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("touchcancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), n[c]("contextmenu", 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",
|
|
4268
|
+
}), n[c]("touchend", e.onTouchEnd, { passive: !0 }), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("touchcancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), n[c]("contextmenu", 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", ys, !0) : e[l]("observerUpdate", ys, !0), i[c]("load", e.onLoad, { capture: !0 }));
|
|
4256
4269
|
};
|
|
4257
|
-
function
|
|
4270
|
+
function Ts() {
|
|
4258
4271
|
let e = this, { params: t } = e;
|
|
4259
|
-
e.onTouchStart =
|
|
4272
|
+
e.onTouchStart = gs.bind(e), e.onTouchMove = _s.bind(e), e.onTouchEnd = vs.bind(e), e.onDocumentTouchStart = Cs.bind(e), t.cssMode && (e.onScroll = xs.bind(e)), e.onClick = bs.bind(e), e.onLoad = Ss.bind(e), ws(e, "on");
|
|
4260
4273
|
}
|
|
4261
|
-
function
|
|
4262
|
-
|
|
4274
|
+
function Es() {
|
|
4275
|
+
ws(this, "off");
|
|
4263
4276
|
}
|
|
4264
|
-
var
|
|
4265
|
-
attachEvents:
|
|
4266
|
-
detachEvents:
|
|
4267
|
-
},
|
|
4268
|
-
function
|
|
4277
|
+
var Ds = {
|
|
4278
|
+
attachEvents: Ts,
|
|
4279
|
+
detachEvents: Es
|
|
4280
|
+
}, Os = (e, t) => e.grid && t.grid && t.grid.rows > 1;
|
|
4281
|
+
function ks() {
|
|
4269
4282
|
let e = this, { realIndex: t, initialized: n, params: r, el: i } = e, a = r.breakpoints;
|
|
4270
4283
|
if (!a || a && Object.keys(a).length === 0) return;
|
|
4271
4284
|
let o = J(), s = r.breakpointsBase === "window" || !r.breakpointsBase ? r.breakpointsBase : "container", c = ["window", "container"].includes(r.breakpointsBase) || !r.breakpointsBase ? e.el : o.querySelector(r.breakpointsBase), l = e.getBreakpoint(a, s, c);
|
|
4272
4285
|
if (!l || e.currentBreakpoint === l) return;
|
|
4273
|
-
let u = (l in a ? a[l] : void 0) || e.originalParams, d =
|
|
4286
|
+
let u = (l in a ? a[l] : void 0) || e.originalParams, d = Os(e, r), f = Os(e, u), p = e.params.grabCursor, m = u.grabCursor, h = r.enabled;
|
|
4274
4287
|
d && !f ? (i.classList.remove(`${r.containerModifierClass}grid`, `${r.containerModifierClass}grid-column`), e.emitContainerClasses()) : !d && f && (i.classList.add(`${r.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && r.grid.fill === "column") && i.classList.add(`${r.containerModifierClass}grid-column`), e.emitContainerClasses()), p && !m ? e.unsetGrabCursor() : !p && m && e.setGrabCursor(), [
|
|
4275
4288
|
"navigation",
|
|
4276
4289
|
"pagination",
|
|
@@ -4289,7 +4302,7 @@ function Ds() {
|
|
|
4289
4302
|
allowSlidePrev: e.params.allowSlidePrev
|
|
4290
4303
|
}), h && !y ? e.disable() : !h && y && e.enable(), e.currentBreakpoint = l, e.emit("_beforeBreakpoint", u), n && (_ ? (e.loopDestroy(), e.loopCreate(t), e.updateSlides()) : !v && b ? (e.loopCreate(t), e.updateSlides()) : v && !b && e.loopDestroy()), e.emit("breakpoint", u);
|
|
4291
4304
|
}
|
|
4292
|
-
function
|
|
4305
|
+
function As(e, t = "window", n) {
|
|
4293
4306
|
if (!e || t === "container" && !n) return;
|
|
4294
4307
|
let r = !1, i = Y(), a = t === "window" ? i.innerHeight : n.clientHeight, o = Object.keys(e).map((e) => {
|
|
4295
4308
|
if (typeof e == "string" && e.indexOf("@") === 0) {
|
|
@@ -4311,11 +4324,11 @@ function Os(e, t = "window", n) {
|
|
|
4311
4324
|
}
|
|
4312
4325
|
return r || "max";
|
|
4313
4326
|
}
|
|
4314
|
-
var
|
|
4315
|
-
setBreakpoint:
|
|
4316
|
-
getBreakpoint:
|
|
4327
|
+
var js = {
|
|
4328
|
+
setBreakpoint: ks,
|
|
4329
|
+
getBreakpoint: As
|
|
4317
4330
|
};
|
|
4318
|
-
function
|
|
4331
|
+
function Ms(e, t) {
|
|
4319
4332
|
let n = [];
|
|
4320
4333
|
return e.forEach((e) => {
|
|
4321
4334
|
typeof e == "object" ? Object.keys(e).forEach((r) => {
|
|
@@ -4323,8 +4336,8 @@ function As(e, t) {
|
|
|
4323
4336
|
}) : typeof e == "string" && n.push(t + e);
|
|
4324
4337
|
}), n;
|
|
4325
4338
|
}
|
|
4326
|
-
function
|
|
4327
|
-
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o =
|
|
4339
|
+
function Ns() {
|
|
4340
|
+
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o = Ms([
|
|
4328
4341
|
"initialized",
|
|
4329
4342
|
n.direction,
|
|
4330
4343
|
{ "free-mode": e.params.freeMode && n.freeMode.enabled },
|
|
@@ -4340,15 +4353,15 @@ function js() {
|
|
|
4340
4353
|
], n.containerModifierClass);
|
|
4341
4354
|
t.push(...o), i.classList.add(...t), e.emitContainerClasses();
|
|
4342
4355
|
}
|
|
4343
|
-
function
|
|
4356
|
+
function Ps() {
|
|
4344
4357
|
let e = this, { el: t, classNames: n } = e;
|
|
4345
4358
|
t && typeof t != "string" && (t.classList.remove(...n), e.emitContainerClasses());
|
|
4346
4359
|
}
|
|
4347
|
-
var
|
|
4348
|
-
addClasses:
|
|
4349
|
-
removeClasses:
|
|
4360
|
+
var Fs = {
|
|
4361
|
+
addClasses: Ns,
|
|
4362
|
+
removeClasses: Ps
|
|
4350
4363
|
};
|
|
4351
|
-
function
|
|
4364
|
+
function Is() {
|
|
4352
4365
|
let e = this, { isLocked: t, params: n } = e, { slidesOffsetBefore: r } = n;
|
|
4353
4366
|
if (r) {
|
|
4354
4367
|
let t = e.slides.length - 1, n = e.slidesGrid[t] + e.slidesSizesGrid[t] + r * 2;
|
|
@@ -4356,7 +4369,7 @@ function Ps() {
|
|
|
4356
4369
|
} else e.isLocked = e.snapGrid.length === 1;
|
|
4357
4370
|
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");
|
|
4358
4371
|
}
|
|
4359
|
-
var
|
|
4372
|
+
var Ls = { checkOverflow: Is }, Rs = {
|
|
4360
4373
|
init: !0,
|
|
4361
4374
|
direction: "horizontal",
|
|
4362
4375
|
oneWayMovement: !1,
|
|
@@ -4448,7 +4461,7 @@ var Fs = { checkOverflow: Ps }, Is = {
|
|
|
4448
4461
|
runCallbacksOnInit: !0,
|
|
4449
4462
|
_emitClasses: !1
|
|
4450
4463
|
};
|
|
4451
|
-
function
|
|
4464
|
+
function zs(e, t) {
|
|
4452
4465
|
return function(n = {}) {
|
|
4453
4466
|
let r = Object.keys(n)[0], i = n[r];
|
|
4454
4467
|
if (typeof i != "object" || !i) {
|
|
@@ -4462,19 +4475,19 @@ function Ls(e, t) {
|
|
|
4462
4475
|
typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), Z(t, n);
|
|
4463
4476
|
};
|
|
4464
4477
|
}
|
|
4465
|
-
var
|
|
4466
|
-
eventsEmitter:
|
|
4467
|
-
update:
|
|
4468
|
-
translate:
|
|
4469
|
-
transition:
|
|
4470
|
-
slide:
|
|
4471
|
-
loop:
|
|
4472
|
-
grabCursor:
|
|
4473
|
-
events:
|
|
4474
|
-
breakpoints:
|
|
4475
|
-
checkOverflow:
|
|
4476
|
-
classes:
|
|
4477
|
-
},
|
|
4478
|
+
var Bs = {
|
|
4479
|
+
eventsEmitter: To,
|
|
4480
|
+
update: Vo,
|
|
4481
|
+
translate: qo,
|
|
4482
|
+
transition: Qo,
|
|
4483
|
+
slide: os,
|
|
4484
|
+
loop: us,
|
|
4485
|
+
grabCursor: ps,
|
|
4486
|
+
events: Ds,
|
|
4487
|
+
breakpoints: js,
|
|
4488
|
+
checkOverflow: Ls,
|
|
4489
|
+
classes: Fs
|
|
4490
|
+
}, Vs = {}, Hs = class e {
|
|
4478
4491
|
constructor(...t) {
|
|
4479
4492
|
let n, r;
|
|
4480
4493
|
t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r ||= {}, r = Z({}, r), n && !r.el && (r.el = n);
|
|
@@ -4487,7 +4500,7 @@ var Rs = {
|
|
|
4487
4500
|
}), t;
|
|
4488
4501
|
}
|
|
4489
4502
|
let a = this;
|
|
4490
|
-
a.__swiper__ = !0, a.support =
|
|
4503
|
+
a.__swiper__ = !0, a.support = go(), a.device = yo({ userAgent: r.userAgent }), a.browser = So(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && r.modules.forEach((e) => {
|
|
4491
4504
|
typeof e == "function" && a.modules.indexOf(e) < 0 && a.modules.push(e);
|
|
4492
4505
|
});
|
|
4493
4506
|
let o = {};
|
|
@@ -4495,13 +4508,13 @@ var Rs = {
|
|
|
4495
4508
|
e({
|
|
4496
4509
|
params: r,
|
|
4497
4510
|
swiper: a,
|
|
4498
|
-
extendParams:
|
|
4511
|
+
extendParams: zs(r, o),
|
|
4499
4512
|
on: a.on.bind(a),
|
|
4500
4513
|
once: a.once.bind(a),
|
|
4501
4514
|
off: a.off.bind(a),
|
|
4502
4515
|
emit: a.emit.bind(a)
|
|
4503
4516
|
});
|
|
4504
|
-
}), a.params = Z({}, Z({},
|
|
4517
|
+
}), a.params = Z({}, Z({}, Rs, o), Vs, r), a.originalParams = Z({}, a.params), a.passedParams = Z({}, r), a.params && a.params.on && Object.keys(a.params.on).forEach((e) => {
|
|
4505
4518
|
a.on(e, a.params.on[e]);
|
|
4506
4519
|
}), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
|
|
4507
4520
|
enabled: a.params.enabled,
|
|
@@ -4575,8 +4588,8 @@ var Rs = {
|
|
|
4575
4588
|
}[e];
|
|
4576
4589
|
}
|
|
4577
4590
|
getSlideIndex(e) {
|
|
4578
|
-
let { slidesEl: t, params: n } = this, r =
|
|
4579
|
-
return
|
|
4591
|
+
let { slidesEl: t, params: n } = this, r = so(Qa(t, `.${n.slideClass}, swiper-slide`)[0]);
|
|
4592
|
+
return so(e) - r;
|
|
4580
4593
|
}
|
|
4581
4594
|
getSlideIndexByData(e) {
|
|
4582
4595
|
return this.getSlideIndex(this.slides.find((t) => t.getAttribute("data-swiper-slide-index") * 1 === e));
|
|
@@ -4586,7 +4599,7 @@ var Rs = {
|
|
|
4586
4599
|
}
|
|
4587
4600
|
recalcSlides() {
|
|
4588
4601
|
let e = this, { slidesEl: t, params: n } = e;
|
|
4589
|
-
e.slides =
|
|
4602
|
+
e.slides = Qa(t, `.${n.slideClass}, swiper-slide`);
|
|
4590
4603
|
}
|
|
4591
4604
|
enable() {
|
|
4592
4605
|
let e = this;
|
|
@@ -4640,7 +4653,7 @@ var Rs = {
|
|
|
4640
4653
|
if (!e || e.destroyed) return;
|
|
4641
4654
|
let { snapGrid: t, params: n } = e;
|
|
4642
4655
|
n.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll("[loading=\"lazy\"]")].forEach((t) => {
|
|
4643
|
-
t.complete &&
|
|
4656
|
+
t.complete && Fo(e, t);
|
|
4644
4657
|
}), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
|
|
4645
4658
|
function r() {
|
|
4646
4659
|
let t = e.rtlTranslate ? e.translate * -1 : e.translate, n = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate());
|
|
@@ -4673,8 +4686,8 @@ var Rs = {
|
|
|
4673
4686
|
let n = e || t.params.el;
|
|
4674
4687
|
if (typeof n == "string" && (n = document.querySelector(n)), !n) return !1;
|
|
4675
4688
|
n.swiper = t, n.parentNode && n.parentNode.host && n.parentNode.host.nodeName === t.params.swiperElementNodeName.toUpperCase() && (t.isElement = !0);
|
|
4676
|
-
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) :
|
|
4677
|
-
return !i && t.params.createElements && (i =
|
|
4689
|
+
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) : Qa(n, r())[0];
|
|
4690
|
+
return !i && t.params.createElements && (i = no("div", t.params.wrapperClass), n.append(i), Qa(n, `.${t.params.slideClass}`).forEach((e) => {
|
|
4678
4691
|
i.append(e);
|
|
4679
4692
|
})), Object.assign(t, {
|
|
4680
4693
|
el: n,
|
|
@@ -4682,9 +4695,9 @@ var Rs = {
|
|
|
4682
4695
|
slidesEl: t.isElement && !n.parentNode.host.slideSlots ? n.parentNode.host : i,
|
|
4683
4696
|
hostEl: t.isElement ? n.parentNode.host : n,
|
|
4684
4697
|
mounted: !0,
|
|
4685
|
-
rtl: n.dir.toLowerCase() === "rtl" ||
|
|
4686
|
-
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" ||
|
|
4687
|
-
wrongRTL:
|
|
4698
|
+
rtl: n.dir.toLowerCase() === "rtl" || oo(n, "direction") === "rtl",
|
|
4699
|
+
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || oo(n, "direction") === "rtl"),
|
|
4700
|
+
wrongRTL: oo(i, "display") === "-webkit-box"
|
|
4688
4701
|
}), !0;
|
|
4689
4702
|
}
|
|
4690
4703
|
init(e) {
|
|
@@ -4693,10 +4706,10 @@ var Rs = {
|
|
|
4693
4706
|
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(void 0, !0), t.attachEvents();
|
|
4694
4707
|
let n = [...t.el.querySelectorAll("[loading=\"lazy\"]")];
|
|
4695
4708
|
return t.isElement && n.push(...t.hostEl.querySelectorAll("[loading=\"lazy\"]")), n.forEach((e) => {
|
|
4696
|
-
e.complete ?
|
|
4697
|
-
|
|
4709
|
+
e.complete ? Fo(t, e) : e.addEventListener("load", (e) => {
|
|
4710
|
+
Fo(t, e.target);
|
|
4698
4711
|
});
|
|
4699
|
-
}),
|
|
4712
|
+
}), Lo(t), t.initialized = !0, Lo(t), t.emit("init"), t.emit("afterInit"), t;
|
|
4700
4713
|
}
|
|
4701
4714
|
destroy(e = !0, t = !0) {
|
|
4702
4715
|
let n = this, { params: r, el: i, wrapperEl: a, slides: o } = n;
|
|
@@ -4704,16 +4717,16 @@ var Rs = {
|
|
|
4704
4717
|
e.classList.remove(r.slideVisibleClass, r.slideFullyVisibleClass, r.slideActiveClass, r.slideNextClass, r.slidePrevClass), e.removeAttribute("style"), e.removeAttribute("data-swiper-slide-index");
|
|
4705
4718
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((e) => {
|
|
4706
4719
|
n.off(e);
|
|
4707
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
4720
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Ua(n)), n.destroyed = !0, null);
|
|
4708
4721
|
}
|
|
4709
4722
|
static extendDefaults(e) {
|
|
4710
|
-
Z(
|
|
4723
|
+
Z(Vs, e);
|
|
4711
4724
|
}
|
|
4712
4725
|
static get extendedDefaults() {
|
|
4713
|
-
return
|
|
4726
|
+
return Vs;
|
|
4714
4727
|
}
|
|
4715
4728
|
static get defaults() {
|
|
4716
|
-
return
|
|
4729
|
+
return Rs;
|
|
4717
4730
|
}
|
|
4718
4731
|
static installModule(t) {
|
|
4719
4732
|
e.prototype.__modules__ || (e.prototype.__modules__ = []);
|
|
@@ -4724,14 +4737,14 @@ var Rs = {
|
|
|
4724
4737
|
return Array.isArray(t) ? (t.forEach((t) => e.installModule(t)), e) : (e.installModule(t), e);
|
|
4725
4738
|
}
|
|
4726
4739
|
};
|
|
4727
|
-
Object.keys(
|
|
4728
|
-
Object.keys(
|
|
4729
|
-
|
|
4740
|
+
Object.keys(Bs).forEach((e) => {
|
|
4741
|
+
Object.keys(Bs[e]).forEach((t) => {
|
|
4742
|
+
Hs.prototype[t] = Bs[e][t];
|
|
4730
4743
|
});
|
|
4731
|
-
}),
|
|
4744
|
+
}), Hs.use([Co, wo]);
|
|
4732
4745
|
//#endregion
|
|
4733
4746
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/keyboard.mjs
|
|
4734
|
-
function
|
|
4747
|
+
function Us({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
4735
4748
|
let i = J(), a = Y();
|
|
4736
4749
|
e.keyboard = { enabled: !1 }, t({ keyboard: {
|
|
4737
4750
|
enabled: !1,
|
|
@@ -4748,8 +4761,8 @@ function Vs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4748
4761
|
if (o.shiftKey || o.altKey || o.ctrlKey || o.metaKey || i.activeElement && (i.activeElement.isContentEditable || i.activeElement.nodeName && (i.activeElement.nodeName.toLowerCase() === "input" || i.activeElement.nodeName.toLowerCase() === "textarea"))) return;
|
|
4749
4762
|
if (e.params.keyboard.onlyInViewport && (l || u || d || f || p || m)) {
|
|
4750
4763
|
let t = !1;
|
|
4751
|
-
if (
|
|
4752
|
-
let r = e.el, i = r.clientWidth, o = r.clientHeight, s = a.innerWidth, c = a.innerHeight, l =
|
|
4764
|
+
if (co(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && co(e.el, `.${e.params.slideActiveClass}`).length === 0) return;
|
|
4765
|
+
let r = e.el, i = r.clientWidth, o = r.clientHeight, s = a.innerWidth, c = a.innerHeight, l = ro(r);
|
|
4753
4766
|
n && (l.left -= r.scrollLeft);
|
|
4754
4767
|
let u = [
|
|
4755
4768
|
[l.left, l.top],
|
|
@@ -4786,7 +4799,7 @@ function Vs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4786
4799
|
}
|
|
4787
4800
|
//#endregion
|
|
4788
4801
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/mousewheel.mjs
|
|
4789
|
-
function
|
|
4802
|
+
function Ws({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
4790
4803
|
let i = Y();
|
|
4791
4804
|
t({ mousewheel: {
|
|
4792
4805
|
enabled: !1,
|
|
@@ -4874,11 +4887,11 @@ function Hs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4874
4887
|
if (c.push(t), n && (t.delta > n.delta || t.direction !== n.direction)) c.splice(0);
|
|
4875
4888
|
else if (c.length >= 15 && t.time - r.time < 500 && r.delta - t.delta >= 1 && t.delta <= 6) {
|
|
4876
4889
|
let n = m > 0 ? .8 : .2;
|
|
4877
|
-
s = t, c.splice(0), a =
|
|
4890
|
+
s = t, c.splice(0), a = Wa(() => {
|
|
4878
4891
|
!e.destroyed && e.params && e.slideToClosest(e.params.speed, !0, void 0, n);
|
|
4879
4892
|
}, 0);
|
|
4880
4893
|
}
|
|
4881
|
-
a ||=
|
|
4894
|
+
a ||= Wa(() => {
|
|
4882
4895
|
!e.destroyed && e.params && (s = t, c.splice(0), e.slideToClosest(e.params.speed, !0, void 0, .5));
|
|
4883
4896
|
}, 500);
|
|
4884
4897
|
}
|
|
@@ -4908,18 +4921,18 @@ function Hs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4908
4921
|
}
|
|
4909
4922
|
//#endregion
|
|
4910
4923
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/create-element-if-not-defined.mjs
|
|
4911
|
-
function
|
|
4924
|
+
function Gs(e, t, n, r) {
|
|
4912
4925
|
return e.params.createElements && Object.keys(r).forEach((i) => {
|
|
4913
4926
|
if (!n[i] && n.auto === !0) {
|
|
4914
|
-
let a =
|
|
4915
|
-
a || (a =
|
|
4927
|
+
let a = Qa(e.el, `.${r[i]}`)[0];
|
|
4928
|
+
a || (a = no("div", r[i]), a.className = r[i], e.el.append(a)), n[i] = a, t[i] = a;
|
|
4916
4929
|
}
|
|
4917
4930
|
}), n;
|
|
4918
4931
|
}
|
|
4919
4932
|
//#endregion
|
|
4920
4933
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/navigation.mjs
|
|
4921
|
-
var
|
|
4922
|
-
function
|
|
4934
|
+
var Ks = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewBox=\"0 0 11 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z\" fill=\"currentColor\"/></svg>";
|
|
4935
|
+
function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
4923
4936
|
t({ navigation: {
|
|
4924
4937
|
nextEl: null,
|
|
4925
4938
|
prevEl: null,
|
|
@@ -4932,7 +4945,7 @@ function Gs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4932
4945
|
} }), e.navigation = {
|
|
4933
4946
|
nextEl: null,
|
|
4934
4947
|
prevEl: null,
|
|
4935
|
-
arrowSvg:
|
|
4948
|
+
arrowSvg: Ks
|
|
4936
4949
|
};
|
|
4937
4950
|
function i(t) {
|
|
4938
4951
|
let n;
|
|
@@ -4960,7 +4973,7 @@ function Gs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4960
4973
|
}
|
|
4961
4974
|
function l() {
|
|
4962
4975
|
let t = e.params.navigation;
|
|
4963
|
-
if (e.params.navigation =
|
|
4976
|
+
if (e.params.navigation = Gs(e, e.originalParams.navigation, e.params.navigation, {
|
|
4964
4977
|
nextEl: "swiper-button-next",
|
|
4965
4978
|
prevEl: "swiper-button-prev"
|
|
4966
4979
|
}), !(t.nextEl || t.prevEl)) return;
|
|
@@ -4973,7 +4986,7 @@ function Gs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
4973
4986
|
if (n) {
|
|
4974
4987
|
if (t.addIcons && n.matches(".swiper-button-next,.swiper-button-prev") && !n.querySelector("svg")) {
|
|
4975
4988
|
let e = document.createElement("div");
|
|
4976
|
-
|
|
4989
|
+
po(e, Ks), n.appendChild(e.querySelector("svg")), e.remove();
|
|
4977
4990
|
}
|
|
4978
4991
|
n.addEventListener("click", r === "next" ? c : s);
|
|
4979
4992
|
}
|
|
@@ -5031,12 +5044,12 @@ function Gs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5031
5044
|
}
|
|
5032
5045
|
//#endregion
|
|
5033
5046
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/classes-to-selector.mjs
|
|
5034
|
-
function
|
|
5047
|
+
function Js(e = "") {
|
|
5035
5048
|
return `.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g, "\\$1").replace(/ /g, ".")}`;
|
|
5036
5049
|
}
|
|
5037
5050
|
//#endregion
|
|
5038
5051
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/pagination.mjs
|
|
5039
|
-
function
|
|
5052
|
+
function Ys({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
5040
5053
|
let i = "swiper-pagination";
|
|
5041
5054
|
t({ pagination: {
|
|
5042
5055
|
el: null,
|
|
@@ -5083,10 +5096,10 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5083
5096
|
if (t === e - 1) return "previous";
|
|
5084
5097
|
}
|
|
5085
5098
|
function u(t) {
|
|
5086
|
-
let n = t.target.closest(
|
|
5099
|
+
let n = t.target.closest(Js(e.params.pagination.bulletClass));
|
|
5087
5100
|
if (!n) return;
|
|
5088
5101
|
t.preventDefault();
|
|
5089
|
-
let r =
|
|
5102
|
+
let r = so(n) * e.params.slidesPerGroup;
|
|
5090
5103
|
if (e.params.loop) {
|
|
5091
5104
|
if (e.realIndex === r) return;
|
|
5092
5105
|
let t = l(e.realIndex, r, e.slides.length);
|
|
@@ -5101,7 +5114,7 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5101
5114
|
let l, u, d = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, f = e.params.loop ? Math.ceil(d / e.params.slidesPerGroup) : e.snapGrid.length;
|
|
5102
5115
|
if (e.params.loop ? (u = e.previousRealIndex || 0, l = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : e.snapIndex === void 0 ? (u = e.previousIndex || 0, l = e.activeIndex || 0) : (l = e.snapIndex, u = e.previousSnapIndex), n.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
5103
5116
|
let r = e.pagination.bullets, s, d, f;
|
|
5104
|
-
if (n.dynamicBullets && (a =
|
|
5117
|
+
if (n.dynamicBullets && (a = uo(r[0], e.isHorizontal() ? "width" : "height", !0), i.forEach((t) => {
|
|
5105
5118
|
t.style[e.isHorizontal() ? "width" : "height"] = `${a * (n.dynamicMainBullets + 4)}px`;
|
|
5106
5119
|
}), n.dynamicMainBullets > 1 && u !== void 0 && (o += l - (u || 0), o > n.dynamicMainBullets - 1 ? o = n.dynamicMainBullets - 1 : o < 0 && (o = 0)), s = Math.max(l - o, 0), d = s + (Math.min(r.length, n.dynamicMainBullets) - 1), f = (d + s) / 2), r.forEach((e) => {
|
|
5107
5120
|
let t = [...[
|
|
@@ -5114,7 +5127,7 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5114
5127
|
].map((e) => `${n.bulletActiveClass}${e}`)].map((e) => typeof e == "string" && e.includes(" ") ? e.split(" ") : e).flat();
|
|
5115
5128
|
e.classList.remove(...t);
|
|
5116
5129
|
}), i.length > 1) r.forEach((t) => {
|
|
5117
|
-
let r =
|
|
5130
|
+
let r = so(t);
|
|
5118
5131
|
r === l ? t.classList.add(...n.bulletActiveClass.split(" ")) : e.isElement && t.setAttribute("part", "bullet"), n.dynamicBullets && (r >= s && r <= d && t.classList.add(...`${n.bulletActiveClass}-main`.split(" ")), r === s && c(t, "prev"), r === d && c(t, "next"));
|
|
5119
5132
|
});
|
|
5120
5133
|
else {
|
|
@@ -5135,19 +5148,19 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5135
5148
|
}
|
|
5136
5149
|
}
|
|
5137
5150
|
i.forEach((t, i) => {
|
|
5138
|
-
if (n.type === "fraction" && (t.querySelectorAll(
|
|
5151
|
+
if (n.type === "fraction" && (t.querySelectorAll(Js(n.currentClass)).forEach((e) => {
|
|
5139
5152
|
e.textContent = n.formatFractionCurrent(l + 1);
|
|
5140
|
-
}), t.querySelectorAll(
|
|
5153
|
+
}), t.querySelectorAll(Js(n.totalClass)).forEach((e) => {
|
|
5141
5154
|
e.textContent = n.formatFractionTotal(f);
|
|
5142
5155
|
})), n.type === "progressbar") {
|
|
5143
5156
|
let r;
|
|
5144
5157
|
r = n.progressbarOpposite ? e.isHorizontal() ? "vertical" : "horizontal" : e.isHorizontal() ? "horizontal" : "vertical";
|
|
5145
5158
|
let i = (l + 1) / f, a = 1, o = 1;
|
|
5146
|
-
r === "horizontal" ? a = i : o = i, t.querySelectorAll(
|
|
5159
|
+
r === "horizontal" ? a = i : o = i, t.querySelectorAll(Js(n.progressbarFillClass)).forEach((t) => {
|
|
5147
5160
|
t.style.transform = `translate3d(0,0,0) scaleX(${a}) scaleY(${o})`, t.style.transitionDuration = `${e.params.speed}ms`;
|
|
5148
5161
|
});
|
|
5149
5162
|
}
|
|
5150
|
-
n.type === "custom" && n.renderCustom ? (
|
|
5163
|
+
n.type === "custom" && n.renderCustom ? (po(t, n.renderCustom(e, l + 1, f)), i === 0 && r("paginationRender", t)) : (i === 0 && r("paginationRender", t), r("paginationUpdate", t)), e.params.watchOverflow && e.enabled && t.classList[e.isLocked ? "add" : "remove"](n.lockClass);
|
|
5151
5164
|
});
|
|
5152
5165
|
}
|
|
5153
5166
|
function f() {
|
|
@@ -5162,15 +5175,15 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5162
5175
|
for (let n = 0; n < r; n += 1) t.renderBullet ? a += t.renderBullet.call(e, n, t.bulletClass) : a += `<${t.bulletElement} ${e.isElement ? "part=\"bullet\"" : ""} class="${t.bulletClass}"></${t.bulletElement}>`;
|
|
5163
5176
|
}
|
|
5164
5177
|
t.type === "fraction" && (a = t.renderFraction ? t.renderFraction.call(e, t.currentClass, t.totalClass) : `<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`), t.type === "progressbar" && (a = t.renderProgressbar ? t.renderProgressbar.call(e, t.progressbarFillClass) : `<span class="${t.progressbarFillClass}"></span>`), e.pagination.bullets = [], i.forEach((n) => {
|
|
5165
|
-
t.type !== "custom" &&
|
|
5178
|
+
t.type !== "custom" && po(n, a || ""), t.type === "bullets" && e.pagination.bullets.push(...n.querySelectorAll(Js(t.bulletClass)));
|
|
5166
5179
|
}), t.type !== "custom" && r("paginationRender", i[0]);
|
|
5167
5180
|
}
|
|
5168
5181
|
function p() {
|
|
5169
|
-
e.params.pagination =
|
|
5182
|
+
e.params.pagination = Gs(e, e.originalParams.pagination, e.params.pagination, { el: "swiper-pagination" });
|
|
5170
5183
|
let t = e.params.pagination;
|
|
5171
5184
|
if (!t.el) return;
|
|
5172
5185
|
let n;
|
|
5173
|
-
typeof t.el == "string" && e.isElement && (n = e.el.querySelector(t.el)), !n && typeof t.el == "string" && (n = [...document.querySelectorAll(t.el)]), n ||= t.el, n && n.length !== 0 && (e.params.uniqueNavElements && typeof t.el == "string" && Array.isArray(n) && n.length > 1 && (n = [...e.el.querySelectorAll(t.el)], n.length > 1 && (n = n.find((t) =>
|
|
5186
|
+
typeof t.el == "string" && e.isElement && (n = e.el.querySelector(t.el)), !n && typeof t.el == "string" && (n = [...document.querySelectorAll(t.el)]), n ||= t.el, n && n.length !== 0 && (e.params.uniqueNavElements && typeof t.el == "string" && Array.isArray(n) && n.length > 1 && (n = [...e.el.querySelectorAll(t.el)], n.length > 1 && (n = n.find((t) => co(t, ".swiper")[0] === e.el))), Array.isArray(n) && n.length === 1 && (n = n[0]), Object.assign(e.pagination, { el: n }), n = Q(n), n.forEach((n) => {
|
|
5174
5187
|
t.type === "bullets" && t.clickable && n.classList.add(...(t.clickableClass || "").split(" ")), n.classList.add(t.modifierClass + t.type), n.classList.add(e.isHorizontal() ? t.horizontalClass : t.verticalClass), t.type === "bullets" && t.dynamicBullets && (n.classList.add(`${t.modifierClass}${t.type}-dynamic`), o = 0, t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)), t.type === "progressbar" && t.progressbarOpposite && n.classList.add(t.progressbarOppositeClass), t.clickable && n.addEventListener("click", u), e.enabled || n.classList.add(t.lockClass);
|
|
5175
5188
|
}));
|
|
5176
5189
|
}
|
|
@@ -5230,7 +5243,7 @@ function qs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5230
5243
|
}
|
|
5231
5244
|
//#endregion
|
|
5232
5245
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/scrollbar.mjs
|
|
5233
|
-
function
|
|
5246
|
+
function Xs({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
5234
5247
|
let i = J(), a = !1, o = null, s = null, c, l, u, d;
|
|
5235
5248
|
t({ scrollbar: {
|
|
5236
5249
|
el: null,
|
|
@@ -5267,7 +5280,7 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5267
5280
|
}
|
|
5268
5281
|
function g(t) {
|
|
5269
5282
|
let { scrollbar: n, rtlTranslate: r } = e, { el: i } = n, a;
|
|
5270
|
-
a = (h(t) -
|
|
5283
|
+
a = (h(t) - ro(i)[e.isHorizontal() ? "left" : "top"] - (c === null ? l / 2 : c)) / (u - l), a = Math.max(Math.min(a, 1), 0), r && (a = 1 - a);
|
|
5271
5284
|
let o = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * a;
|
|
5272
5285
|
e.updateProgress(o), e.setTranslate(o), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
5273
5286
|
}
|
|
@@ -5281,7 +5294,7 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5281
5294
|
}
|
|
5282
5295
|
function y(t) {
|
|
5283
5296
|
let n = e.params.scrollbar, { scrollbar: i, wrapperEl: o } = e, { el: c } = i;
|
|
5284
|
-
a && (a = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", o.style.transitionDuration = ""), n.hide && (clearTimeout(s), s =
|
|
5297
|
+
a && (a = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", o.style.transitionDuration = ""), n.hide && (clearTimeout(s), s = Wa(() => {
|
|
5285
5298
|
c.style.opacity = 0, c.style.transitionDuration = "400ms";
|
|
5286
5299
|
}, 1e3)), r("scrollbarDragEnd", t), n.snapOnRelease && e.slideToClosest());
|
|
5287
5300
|
}
|
|
@@ -5307,7 +5320,7 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5307
5320
|
}
|
|
5308
5321
|
function C() {
|
|
5309
5322
|
let { scrollbar: t, el: n } = e;
|
|
5310
|
-
e.params.scrollbar =
|
|
5323
|
+
e.params.scrollbar = Gs(e, e.originalParams.scrollbar, e.params.scrollbar, { el: "swiper-scrollbar" });
|
|
5311
5324
|
let r = e.params.scrollbar;
|
|
5312
5325
|
if (!r.el) return;
|
|
5313
5326
|
let a;
|
|
@@ -5316,14 +5329,14 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5316
5329
|
} else a ||= r.el;
|
|
5317
5330
|
e.params.uniqueNavElements && typeof r.el == "string" && a.length > 1 && n.querySelectorAll(r.el).length === 1 && (a = n.querySelector(r.el)), a.length > 0 && (a = a[0]), a.classList.add(e.isHorizontal() ? r.horizontalClass : r.verticalClass);
|
|
5318
5331
|
let o;
|
|
5319
|
-
a && (o = a.querySelector(
|
|
5332
|
+
a && (o = a.querySelector(Js(e.params.scrollbar.dragClass)), o || (o = no("div", e.params.scrollbar.dragClass), a.append(o))), Object.assign(t, {
|
|
5320
5333
|
el: a,
|
|
5321
5334
|
dragEl: o
|
|
5322
|
-
}), r.draggable && x(), a && a.classList[e.enabled ? "remove" : "add"](...
|
|
5335
|
+
}), r.draggable && x(), a && a.classList[e.enabled ? "remove" : "add"](...Ha(e.params.scrollbar.lockClass));
|
|
5323
5336
|
}
|
|
5324
5337
|
function w() {
|
|
5325
5338
|
let t = e.params.scrollbar, n = e.scrollbar.el;
|
|
5326
|
-
n && n.classList.remove(...
|
|
5339
|
+
n && n.classList.remove(...Ha(e.isHorizontal() ? t.horizontalClass : t.verticalClass)), S();
|
|
5327
5340
|
}
|
|
5328
5341
|
n("changeDirection", () => {
|
|
5329
5342
|
if (!e.scrollbar || !e.scrollbar.el) return;
|
|
@@ -5341,14 +5354,14 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5341
5354
|
p(t);
|
|
5342
5355
|
}), n("enable disable", () => {
|
|
5343
5356
|
let { el: t } = e.scrollbar;
|
|
5344
|
-
t && t.classList[e.enabled ? "remove" : "add"](...
|
|
5357
|
+
t && t.classList[e.enabled ? "remove" : "add"](...Ha(e.params.scrollbar.lockClass));
|
|
5345
5358
|
}), n("destroy", () => {
|
|
5346
5359
|
w();
|
|
5347
5360
|
});
|
|
5348
5361
|
let T = () => {
|
|
5349
|
-
e.el.classList.remove(...
|
|
5362
|
+
e.el.classList.remove(...Ha(e.params.scrollbar.scrollbarDisabledClass)), e.scrollbar.el && e.scrollbar.el.classList.remove(...Ha(e.params.scrollbar.scrollbarDisabledClass)), C(), m(), f();
|
|
5350
5363
|
}, ee = () => {
|
|
5351
|
-
e.el.classList.add(...
|
|
5364
|
+
e.el.classList.add(...Ha(e.params.scrollbar.scrollbarDisabledClass)), e.scrollbar.el && e.scrollbar.el.classList.add(...Ha(e.params.scrollbar.scrollbarDisabledClass)), w();
|
|
5352
5365
|
};
|
|
5353
5366
|
Object.assign(e.scrollbar, {
|
|
5354
5367
|
enable: T,
|
|
@@ -5361,7 +5374,7 @@ function Js({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
5361
5374
|
}
|
|
5362
5375
|
//#endregion
|
|
5363
5376
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/autoplay.mjs
|
|
5364
|
-
function
|
|
5377
|
+
function Zs({ swiper: e, extendParams: t, on: n, emit: r, params: i }) {
|
|
5365
5378
|
e.autoplay = {
|
|
5366
5379
|
running: !1,
|
|
5367
5380
|
paused: !1,
|
|
@@ -5480,7 +5493,7 @@ function Ys({ swiper: e, extendParams: t, on: n, emit: r, params: i }) {
|
|
|
5480
5493
|
}
|
|
5481
5494
|
//#endregion
|
|
5482
5495
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/free-mode.mjs
|
|
5483
|
-
function
|
|
5496
|
+
function Qs({ swiper: e, extendParams: t, emit: n, once: r }) {
|
|
5484
5497
|
t({ freeMode: {
|
|
5485
5498
|
enabled: !1,
|
|
5486
5499
|
momentum: !0,
|
|
@@ -5548,13 +5561,13 @@ function Xs({ swiper: e, extendParams: t, emit: n, once: r }) {
|
|
|
5548
5561
|
e.slideToClosest();
|
|
5549
5562
|
return;
|
|
5550
5563
|
}
|
|
5551
|
-
i.freeMode.momentumBounce && d ? (e.updateProgress(f), e.setTransition(t), e.setTranslate(u), e.transitionStart(!0, e.swipeDirection), e.animating = !0,
|
|
5564
|
+
i.freeMode.momentumBounce && d ? (e.updateProgress(f), e.setTransition(t), e.setTranslate(u), e.transitionStart(!0, e.swipeDirection), e.animating = !0, lo(a, () => {
|
|
5552
5565
|
e && !e.destroyed && c.allowMomentumBounce && (n("momentumBounce"), e.setTransition(i.speed), setTimeout(() => {
|
|
5553
|
-
e.setTranslate(f),
|
|
5566
|
+
e.setTranslate(f), lo(a, () => {
|
|
5554
5567
|
e && !e.destroyed && e.transitionEnd();
|
|
5555
5568
|
});
|
|
5556
5569
|
}, 0));
|
|
5557
|
-
})) : e.velocity ? (n("_freeModeNoMomentumRelease"), e.updateProgress(u), e.setTransition(t), e.setTranslate(u), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0,
|
|
5570
|
+
})) : e.velocity ? (n("_freeModeNoMomentumRelease"), e.updateProgress(u), e.setTransition(t), e.setTranslate(u), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, lo(a, () => {
|
|
5558
5571
|
e && !e.destroyed && e.transitionEnd();
|
|
5559
5572
|
}))) : e.updateProgress(u), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
5560
5573
|
} else if (i.freeMode.sticky) {
|
|
@@ -5571,7 +5584,7 @@ function Xs({ swiper: e, extendParams: t, emit: n, once: r }) {
|
|
|
5571
5584
|
}
|
|
5572
5585
|
//#endregion
|
|
5573
5586
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/effect-init.mjs
|
|
5574
|
-
function
|
|
5587
|
+
function $s(e) {
|
|
5575
5588
|
let { effect: t, swiper: n, on: r, setTranslate: i, setTransition: a, overwriteParams: o, perspective: s, recreateShadows: c, getEffectParams: l } = e;
|
|
5576
5589
|
r("beforeInit", () => {
|
|
5577
5590
|
if (n.params.effect !== t) return;
|
|
@@ -5599,13 +5612,13 @@ function Zs(e) {
|
|
|
5599
5612
|
}
|
|
5600
5613
|
//#endregion
|
|
5601
5614
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/effect-target.mjs
|
|
5602
|
-
function
|
|
5603
|
-
let n =
|
|
5615
|
+
function ec(e, t) {
|
|
5616
|
+
let n = Za(t);
|
|
5604
5617
|
return n !== t && (n.style.backfaceVisibility = "hidden", n.style["-webkit-backface-visibility"] = "hidden"), n;
|
|
5605
5618
|
}
|
|
5606
5619
|
//#endregion
|
|
5607
5620
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/effect-virtual-transition-end.mjs
|
|
5608
|
-
function
|
|
5621
|
+
function tc({ swiper: e, duration: t, transformElements: n, allSlides: r }) {
|
|
5609
5622
|
let { activeIndex: i } = e, a = (t) => t.parentElement ? t.parentElement : e.slides.find((e) => e.shadowRoot && e.shadowRoot === t.parentNode);
|
|
5610
5623
|
if (e.params.virtualTranslate && t !== 0) {
|
|
5611
5624
|
let t = !1, o;
|
|
@@ -5613,7 +5626,7 @@ function $s({ swiper: e, duration: t, transformElements: n, allSlides: r }) {
|
|
|
5613
5626
|
let n = t.classList.contains("swiper-slide-transform") ? a(t) : t;
|
|
5614
5627
|
return e.getSlideIndex(n) === i;
|
|
5615
5628
|
}), o.forEach((n) => {
|
|
5616
|
-
|
|
5629
|
+
lo(n, () => {
|
|
5617
5630
|
if (t || !e || e.destroyed) return;
|
|
5618
5631
|
t = !0, e.animating = !1;
|
|
5619
5632
|
let n = new window.CustomEvent("transitionend", {
|
|
@@ -5627,7 +5640,7 @@ function $s({ swiper: e, duration: t, transformElements: n, allSlides: r }) {
|
|
|
5627
5640
|
}
|
|
5628
5641
|
//#endregion
|
|
5629
5642
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/effect-cube.mjs
|
|
5630
|
-
function
|
|
5643
|
+
function nc({ swiper: e, extendParams: t, on: n }) {
|
|
5631
5644
|
t({ cubeEffect: {
|
|
5632
5645
|
slideShadows: !0,
|
|
5633
5646
|
shadow: !0,
|
|
@@ -5636,15 +5649,15 @@ function ec({ swiper: e, extendParams: t, on: n }) {
|
|
|
5636
5649
|
} });
|
|
5637
5650
|
let r = (e, t, n) => {
|
|
5638
5651
|
let r = n ? e.querySelector(".swiper-slide-shadow-left") : e.querySelector(".swiper-slide-shadow-top"), i = n ? e.querySelector(".swiper-slide-shadow-right") : e.querySelector(".swiper-slide-shadow-bottom");
|
|
5639
|
-
r || (r =
|
|
5652
|
+
r || (r = no("div", `swiper-slide-shadow-cube swiper-slide-shadow-${n ? "left" : "top"}`.split(" ")), e.append(r)), i || (i = no("div", `swiper-slide-shadow-cube swiper-slide-shadow-${n ? "right" : "bottom"}`.split(" ")), e.append(i)), r && (r.style.opacity = Math.max(-t, 0)), i && (i.style.opacity = Math.max(t, 0));
|
|
5640
5653
|
};
|
|
5641
|
-
|
|
5654
|
+
$s({
|
|
5642
5655
|
effect: "cube",
|
|
5643
5656
|
swiper: e,
|
|
5644
5657
|
on: n,
|
|
5645
5658
|
setTranslate: () => {
|
|
5646
|
-
let { el: t, wrapperEl: n, slides: i, width: a, height: o, rtlTranslate: s, size: c, browser: l } = e, u =
|
|
5647
|
-
d.shadow && (f ? (h = e.wrapperEl.querySelector(".swiper-cube-shadow"), h || (h =
|
|
5659
|
+
let { el: t, wrapperEl: n, slides: i, width: a, height: o, rtlTranslate: s, size: c, browser: l } = e, u = fo(e), d = e.params.cubeEffect, f = e.isHorizontal(), p = e.virtual && e.params.virtual.enabled, m = 0, h;
|
|
5660
|
+
d.shadow && (f ? (h = e.wrapperEl.querySelector(".swiper-cube-shadow"), h || (h = no("div", "swiper-cube-shadow"), e.wrapperEl.append(h)), h.style.height = `${a}px`) : (h = t.querySelector(".swiper-cube-shadow"), h || (h = no("div", "swiper-cube-shadow"), t.append(h))));
|
|
5648
5661
|
for (let e = 0; e < i.length; e += 1) {
|
|
5649
5662
|
let t = i[e], n = e;
|
|
5650
5663
|
p && (n = parseInt(t.getAttribute("data-swiper-slide-index"), 10));
|
|
@@ -5698,43 +5711,43 @@ function ec({ swiper: e, extendParams: t, on: n }) {
|
|
|
5698
5711
|
}
|
|
5699
5712
|
//#endregion
|
|
5700
5713
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/shared/create-shadow.mjs
|
|
5701
|
-
function
|
|
5702
|
-
let r = `swiper-slide-shadow${n ? `-${n}` : ""}${e ? ` swiper-slide-shadow-${e}` : ""}`, i =
|
|
5703
|
-
return a || (a =
|
|
5714
|
+
function rc(e, t, n) {
|
|
5715
|
+
let r = `swiper-slide-shadow${n ? `-${n}` : ""}${e ? ` swiper-slide-shadow-${e}` : ""}`, i = Za(t), a = i.querySelector(`.${r.split(" ").join(".")}`);
|
|
5716
|
+
return a || (a = no("div", r.split(" ")), i.append(a)), a;
|
|
5704
5717
|
}
|
|
5705
5718
|
//#endregion
|
|
5706
5719
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/effect-flip.mjs
|
|
5707
|
-
function
|
|
5720
|
+
function ic({ swiper: e, extendParams: t, on: n }) {
|
|
5708
5721
|
t({ flipEffect: {
|
|
5709
5722
|
slideShadows: !0,
|
|
5710
5723
|
limitRotation: !0
|
|
5711
5724
|
} });
|
|
5712
5725
|
let r = (t, n) => {
|
|
5713
5726
|
let r = e.isHorizontal() ? t.querySelector(".swiper-slide-shadow-left") : t.querySelector(".swiper-slide-shadow-top"), i = e.isHorizontal() ? t.querySelector(".swiper-slide-shadow-right") : t.querySelector(".swiper-slide-shadow-bottom");
|
|
5714
|
-
r ||=
|
|
5727
|
+
r ||= rc("flip", t, e.isHorizontal() ? "left" : "top"), i ||= rc("flip", t, e.isHorizontal() ? "right" : "bottom"), r && (r.style.opacity = Math.max(-n, 0)), i && (i.style.opacity = Math.max(n, 0));
|
|
5715
5728
|
};
|
|
5716
|
-
|
|
5729
|
+
$s({
|
|
5717
5730
|
effect: "flip",
|
|
5718
5731
|
swiper: e,
|
|
5719
5732
|
on: n,
|
|
5720
5733
|
setTranslate: () => {
|
|
5721
|
-
let { slides: t, rtlTranslate: n } = e, i = e.params.flipEffect, a =
|
|
5734
|
+
let { slides: t, rtlTranslate: n } = e, i = e.params.flipEffect, a = fo(e);
|
|
5722
5735
|
for (let o = 0; o < t.length; o += 1) {
|
|
5723
5736
|
let s = t[o], c = s.progress;
|
|
5724
5737
|
e.params.flipEffect.limitRotation && (c = Math.max(Math.min(s.progress, 1), -1));
|
|
5725
5738
|
let l = s.swiperSlideOffset, u = -180 * c, d = 0, f = e.params.cssMode ? -l - e.translate : -l, p = 0;
|
|
5726
5739
|
e.isHorizontal() ? n && (u = -u) : (p = f, f = 0, d = -u, u = 0), s.style.zIndex = -Math.abs(Math.round(c)) + t.length, i.slideShadows && r(s, c);
|
|
5727
|
-
let m = `translate3d(${f}px, ${p}px, 0px) rotateX(${a(d)}deg) rotateY(${a(u)}deg)`, h =
|
|
5740
|
+
let m = `translate3d(${f}px, ${p}px, 0px) rotateX(${a(d)}deg) rotateY(${a(u)}deg)`, h = ec(i, s);
|
|
5728
5741
|
h.style.transform = m;
|
|
5729
5742
|
}
|
|
5730
5743
|
},
|
|
5731
5744
|
setTransition: (t) => {
|
|
5732
|
-
let n = e.slides.map((e) =>
|
|
5745
|
+
let n = e.slides.map((e) => Za(e));
|
|
5733
5746
|
n.forEach((e) => {
|
|
5734
5747
|
e.style.transitionDuration = `${t}ms`, e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e) => {
|
|
5735
5748
|
e.style.transitionDuration = `${t}ms`;
|
|
5736
5749
|
});
|
|
5737
|
-
}),
|
|
5750
|
+
}), tc({
|
|
5738
5751
|
swiper: e,
|
|
5739
5752
|
duration: t,
|
|
5740
5753
|
transformElements: n
|
|
@@ -5759,7 +5772,7 @@ function nc({ swiper: e, extendParams: t, on: n }) {
|
|
|
5759
5772
|
}
|
|
5760
5773
|
//#endregion
|
|
5761
5774
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/effect-coverflow.mjs
|
|
5762
|
-
function
|
|
5775
|
+
function ac({ swiper: e, extendParams: t, on: n }) {
|
|
5763
5776
|
t({ coverflowEffect: {
|
|
5764
5777
|
rotate: 50,
|
|
5765
5778
|
stretch: 0,
|
|
@@ -5767,26 +5780,26 @@ function rc({ swiper: e, extendParams: t, on: n }) {
|
|
|
5767
5780
|
scale: 1,
|
|
5768
5781
|
modifier: 1,
|
|
5769
5782
|
slideShadows: !0
|
|
5770
|
-
} }),
|
|
5783
|
+
} }), $s({
|
|
5771
5784
|
effect: "coverflow",
|
|
5772
5785
|
swiper: e,
|
|
5773
5786
|
on: n,
|
|
5774
5787
|
setTranslate: () => {
|
|
5775
|
-
let { width: t, height: n, slides: r, slidesSizesGrid: i } = e, a = e.params.coverflowEffect, o = e.isHorizontal(), s = e.translate, c = o ? -s + t / 2 : -s + n / 2, l = o ? a.rotate : -a.rotate, u = a.depth, d =
|
|
5788
|
+
let { width: t, height: n, slides: r, slidesSizesGrid: i } = e, a = e.params.coverflowEffect, o = e.isHorizontal(), s = e.translate, c = o ? -s + t / 2 : -s + n / 2, l = o ? a.rotate : -a.rotate, u = a.depth, d = fo(e);
|
|
5776
5789
|
for (let e = 0, t = r.length; e < t; e += 1) {
|
|
5777
5790
|
let t = r[e], n = i[e], s = (c - t.swiperSlideOffset - n / 2) / n, f = typeof a.modifier == "function" ? a.modifier(s) : s * a.modifier, p = o ? l * f : 0, m = o ? 0 : l * f, h = -u * Math.abs(f), g = a.stretch;
|
|
5778
5791
|
typeof g == "string" && g.indexOf("%") !== -1 && (g = parseFloat(a.stretch) / 100 * n);
|
|
5779
5792
|
let _ = o ? 0 : g * f, v = o ? g * f : 0, y = 1 - (1 - a.scale) * Math.abs(f);
|
|
5780
5793
|
Math.abs(v) < .001 && (v = 0), Math.abs(_) < .001 && (_ = 0), Math.abs(h) < .001 && (h = 0), Math.abs(p) < .001 && (p = 0), Math.abs(m) < .001 && (m = 0), Math.abs(y) < .001 && (y = 0);
|
|
5781
|
-
let b = `translate3d(${v}px,${_}px,${h}px) rotateX(${d(m)}deg) rotateY(${d(p)}deg) scale(${y})`, x =
|
|
5794
|
+
let b = `translate3d(${v}px,${_}px,${h}px) rotateX(${d(m)}deg) rotateY(${d(p)}deg) scale(${y})`, x = ec(a, t);
|
|
5782
5795
|
if (x.style.transform = b, t.style.zIndex = -Math.abs(Math.round(f)) + 1, a.slideShadows) {
|
|
5783
5796
|
let e = o ? t.querySelector(".swiper-slide-shadow-left") : t.querySelector(".swiper-slide-shadow-top"), n = o ? t.querySelector(".swiper-slide-shadow-right") : t.querySelector(".swiper-slide-shadow-bottom");
|
|
5784
|
-
e ||=
|
|
5797
|
+
e ||= rc("coverflow", t, o ? "left" : "top"), n ||= rc("coverflow", t, o ? "right" : "bottom"), e && (e.style.opacity = f > 0 ? f : 0), n && (n.style.opacity = -f > 0 ? -f : 0);
|
|
5785
5798
|
}
|
|
5786
5799
|
}
|
|
5787
5800
|
},
|
|
5788
5801
|
setTransition: (t) => {
|
|
5789
|
-
e.slides.map((e) =>
|
|
5802
|
+
e.slides.map((e) => Za(e)).forEach((e) => {
|
|
5790
5803
|
e.style.transitionDuration = `${t}ms`, e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e) => {
|
|
5791
5804
|
e.style.transitionDuration = `${t}ms`;
|
|
5792
5805
|
});
|
|
@@ -5798,7 +5811,7 @@ function rc({ swiper: e, extendParams: t, on: n }) {
|
|
|
5798
5811
|
}
|
|
5799
5812
|
//#endregion
|
|
5800
5813
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/effect-creative.mjs
|
|
5801
|
-
function
|
|
5814
|
+
function oc({ swiper: e, extendParams: t, on: n }) {
|
|
5802
5815
|
t({ creativeEffect: {
|
|
5803
5816
|
limitProgress: 1,
|
|
5804
5817
|
shadowPerProgress: !1,
|
|
@@ -5834,12 +5847,12 @@ function ic({ swiper: e, extendParams: t, on: n }) {
|
|
|
5834
5847
|
}
|
|
5835
5848
|
} });
|
|
5836
5849
|
let r = (e) => typeof e == "string" ? e : `${e}px`;
|
|
5837
|
-
|
|
5850
|
+
$s({
|
|
5838
5851
|
effect: "creative",
|
|
5839
5852
|
swiper: e,
|
|
5840
5853
|
on: n,
|
|
5841
5854
|
setTranslate: () => {
|
|
5842
|
-
let { slides: t, wrapperEl: n, slidesSizesGrid: i } = e, a = e.params.creativeEffect, { progressMultiplier: o } = a, s = e.params.centeredSlides, c =
|
|
5855
|
+
let { slides: t, wrapperEl: n, slidesSizesGrid: i } = e, a = e.params.creativeEffect, { progressMultiplier: o } = a, s = e.params.centeredSlides, c = fo(e);
|
|
5843
5856
|
if (s) {
|
|
5844
5857
|
let t = i[0] / 2 - e.params.slidesOffsetBefore || 0;
|
|
5845
5858
|
n.style.transform = `translateX(calc(50% - ${t}px))`;
|
|
@@ -5880,22 +5893,22 @@ function ic({ swiper: e, extendParams: t, on: n }) {
|
|
|
5880
5893
|
let _ = p.join(", "), v = `rotateX(${c(m[0])}deg) rotateY(${c(m[1])}deg) rotateZ(${c(m[2])}deg)`, y = d < 0 ? `scale(${1 + (1 - g.scale) * d * o})` : `scale(${1 - (1 - g.scale) * d * o})`, b = d < 0 ? 1 + (1 - g.opacity) * d * o : 1 - (1 - g.opacity) * d * o, x = `translate3d(${_}) ${v} ${y}`;
|
|
5881
5894
|
if (h && g.shadow || !h) {
|
|
5882
5895
|
let e = i.querySelector(".swiper-slide-shadow");
|
|
5883
|
-
if (!e && g.shadow && (e =
|
|
5896
|
+
if (!e && g.shadow && (e = rc("creative", i)), e) {
|
|
5884
5897
|
let t = a.shadowPerProgress ? u * (1 / a.limitProgress) : u;
|
|
5885
5898
|
e.style.opacity = Math.min(Math.max(Math.abs(t), 0), 1);
|
|
5886
5899
|
}
|
|
5887
5900
|
}
|
|
5888
|
-
let S =
|
|
5901
|
+
let S = ec(a, i);
|
|
5889
5902
|
S.style.transform = x, S.style.opacity = b, g.origin && (S.style.transformOrigin = g.origin);
|
|
5890
5903
|
}
|
|
5891
5904
|
},
|
|
5892
5905
|
setTransition: (t) => {
|
|
5893
|
-
let n = e.slides.map((e) =>
|
|
5906
|
+
let n = e.slides.map((e) => Za(e));
|
|
5894
5907
|
n.forEach((e) => {
|
|
5895
5908
|
e.style.transitionDuration = `${t}ms`, e.querySelectorAll(".swiper-slide-shadow").forEach((e) => {
|
|
5896
5909
|
e.style.transitionDuration = `${t}ms`;
|
|
5897
5910
|
});
|
|
5898
|
-
}),
|
|
5911
|
+
}), tc({
|
|
5899
5912
|
swiper: e,
|
|
5900
5913
|
duration: t,
|
|
5901
5914
|
transformElements: n,
|
|
@@ -5911,13 +5924,13 @@ function ic({ swiper: e, extendParams: t, on: n }) {
|
|
|
5911
5924
|
}
|
|
5912
5925
|
//#endregion
|
|
5913
5926
|
//#region ../../node_modules/.pnpm/swiper@12.2.0/node_modules/swiper/modules/effect-cards.mjs
|
|
5914
|
-
function
|
|
5927
|
+
function sc({ swiper: e, extendParams: t, on: n }) {
|
|
5915
5928
|
t({ cardsEffect: {
|
|
5916
5929
|
slideShadows: !0,
|
|
5917
5930
|
rotate: !0,
|
|
5918
5931
|
perSlideRotate: 2,
|
|
5919
5932
|
perSlideOffset: 8
|
|
5920
|
-
} }),
|
|
5933
|
+
} }), $s({
|
|
5921
5934
|
effect: "cards",
|
|
5922
5935
|
swiper: e,
|
|
5923
5936
|
on: n,
|
|
@@ -5942,20 +5955,20 @@ function ac({ swiper: e, extendParams: t, on: n }) {
|
|
|
5942
5955
|
`;
|
|
5943
5956
|
if (i.slideShadows) {
|
|
5944
5957
|
let e = l.querySelector(".swiper-slide-shadow");
|
|
5945
|
-
e ||=
|
|
5958
|
+
e ||= rc("cards", l), e && (e.style.opacity = Math.min(Math.max((Math.abs(d) - .5) / .5, 0), 1));
|
|
5946
5959
|
}
|
|
5947
5960
|
l.style.zIndex = -Math.abs(Math.round(u)) + t.length;
|
|
5948
|
-
let w =
|
|
5961
|
+
let w = ec(i, l);
|
|
5949
5962
|
w.style.transform = C;
|
|
5950
5963
|
}
|
|
5951
5964
|
},
|
|
5952
5965
|
setTransition: (t) => {
|
|
5953
|
-
let n = e.slides.map((e) =>
|
|
5966
|
+
let n = e.slides.map((e) => Za(e));
|
|
5954
5967
|
n.forEach((e) => {
|
|
5955
5968
|
e.style.transitionDuration = `${t}ms`, e.querySelectorAll(".swiper-slide-shadow").forEach((e) => {
|
|
5956
5969
|
e.style.transitionDuration = `${t}ms`;
|
|
5957
5970
|
});
|
|
5958
|
-
}),
|
|
5971
|
+
}), tc({
|
|
5959
5972
|
swiper: e,
|
|
5960
5973
|
duration: t,
|
|
5961
5974
|
transformElements: n
|
|
@@ -5973,51 +5986,51 @@ function ac({ swiper: e, extendParams: t, on: n }) {
|
|
|
5973
5986
|
}
|
|
5974
5987
|
//#endregion
|
|
5975
5988
|
//#region src/gallery/slots/adopt_slides.ts
|
|
5976
|
-
var
|
|
5977
|
-
function
|
|
5978
|
-
|
|
5989
|
+
var cc = "data-qp-gallery-adopted";
|
|
5990
|
+
function lc(e, t) {
|
|
5991
|
+
uc(t);
|
|
5979
5992
|
let n = e.querySelectorAll(":scope > [slot=\"slide\"]");
|
|
5980
5993
|
for (let e of n) {
|
|
5981
5994
|
let n = document.createElement("div");
|
|
5982
|
-
n.className = "swiper-slide qp-gallery-slide", n.setAttribute(
|
|
5995
|
+
n.className = "swiper-slide qp-gallery-slide", n.setAttribute(cc, "true");
|
|
5983
5996
|
let r = e.cloneNode(!0);
|
|
5984
5997
|
r.removeAttribute("slot"), r.classList.remove("swiper-slide"), r.classList.add("qp-gallery-slide-content"), r.style.removeProperty("transform"), n.appendChild(r), t.appendChild(n), e instanceof HTMLElement && (e.hidden = !0);
|
|
5985
5998
|
}
|
|
5986
5999
|
return n.length;
|
|
5987
6000
|
}
|
|
5988
|
-
function
|
|
5989
|
-
for (let t of e.querySelectorAll(`[${
|
|
6001
|
+
function uc(e) {
|
|
6002
|
+
for (let t of e.querySelectorAll(`[${cc}]`)) t.remove();
|
|
5990
6003
|
}
|
|
5991
6004
|
//#endregion
|
|
5992
6005
|
//#region src/gallery/slots/slot_hosts.ts
|
|
5993
|
-
var
|
|
6006
|
+
var dc = {
|
|
5994
6007
|
Slide: "slide",
|
|
5995
6008
|
Pagination: "pagination"
|
|
5996
6009
|
};
|
|
5997
6010
|
//#endregion
|
|
5998
6011
|
//#region src/gallery/slots/host_slide_changes.ts
|
|
5999
|
-
function
|
|
6000
|
-
return e.querySelectorAll(`:scope > [slot="${
|
|
6012
|
+
function fc(e) {
|
|
6013
|
+
return e.querySelectorAll(`:scope > [slot="${dc.Slide}"]`).length;
|
|
6001
6014
|
}
|
|
6002
|
-
function
|
|
6003
|
-
let n =
|
|
6004
|
-
let r =
|
|
6015
|
+
function pc(e, t) {
|
|
6016
|
+
let n = mc(e), r = () => {
|
|
6017
|
+
let r = mc(e);
|
|
6005
6018
|
r !== n && (n = r, t());
|
|
6006
6019
|
};
|
|
6007
|
-
e.addEventListener(
|
|
6020
|
+
e.addEventListener(wi, r);
|
|
6008
6021
|
let i = new MutationObserver(r);
|
|
6009
6022
|
return i.observe(e, { childList: !0 }), () => {
|
|
6010
|
-
e.removeEventListener(
|
|
6023
|
+
e.removeEventListener(wi, r), i.disconnect();
|
|
6011
6024
|
};
|
|
6012
6025
|
}
|
|
6013
|
-
function
|
|
6014
|
-
let t = e.querySelectorAll(`:scope > [slot="${
|
|
6026
|
+
function mc(e) {
|
|
6027
|
+
let t = e.querySelectorAll(`:scope > [slot="${dc.Slide}"]`);
|
|
6015
6028
|
return JSON.stringify([...t].map((e) => e.outerHTML));
|
|
6016
6029
|
}
|
|
6017
6030
|
//#endregion
|
|
6018
6031
|
//#region src/gallery/swiper/swiper_config.ts
|
|
6019
|
-
function
|
|
6020
|
-
let i = e.loop && t > 1, a =
|
|
6032
|
+
function hc(e, t, n, r) {
|
|
6033
|
+
let i = e.loop && t > 1, a = _c(e.slidesPerView, t), o = r?.lockSlideInteraction === !0, s = {
|
|
6021
6034
|
effect: e.effect,
|
|
6022
6035
|
direction: e.direction,
|
|
6023
6036
|
speed: e.speed,
|
|
@@ -6091,7 +6104,7 @@ function pc(e, t, n, r) {
|
|
|
6091
6104
|
] }
|
|
6092
6105
|
}), s;
|
|
6093
6106
|
}
|
|
6094
|
-
function
|
|
6107
|
+
function gc(e) {
|
|
6095
6108
|
return {
|
|
6096
6109
|
navigation: e.navigation != null,
|
|
6097
6110
|
pagination: e.pagination != null,
|
|
@@ -6102,26 +6115,26 @@ function mc(e) {
|
|
|
6102
6115
|
freeMode: e.freeMode != null
|
|
6103
6116
|
};
|
|
6104
6117
|
}
|
|
6105
|
-
function
|
|
6118
|
+
function _c(e, t) {
|
|
6106
6119
|
return !Number.isFinite(e) || e <= 0 ? 1 : t <= 0 ? Math.max(1, e) : Math.max(1, Math.min(e, t));
|
|
6107
6120
|
}
|
|
6108
6121
|
//#endregion
|
|
6109
6122
|
//#region src/gallery/view/view.svelte
|
|
6110
|
-
var
|
|
6123
|
+
var vc = /* @__PURE__ */ Sr("<div class=\"qp-gallery-pagination swiper-pagination\"></div>"), yc = /* @__PURE__ */ Sr("<div class=\"qp-gallery-scrollbar swiper-scrollbar\"></div>"), bc = /* @__PURE__ */ Sr("<button type=\"button\" class=\"qp-gallery-prev swiper-button-prev svelte-iv0sc9\" aria-label=\"Previous slide\"></button> <button type=\"button\" class=\"qp-gallery-next swiper-button-next svelte-iv0sc9\" aria-label=\"Next slide\"></button>", 1), xc = /* @__PURE__ */ Sr("<div><div class=\"qp-gallery-wrapper swiper-wrapper svelte-iv0sc9\"></div> <div class=\"qp-gallery-slot-source svelte-iv0sc9\" hidden=\"\"><!></div> <!> <!> <!></div>"), Sc = {
|
|
6111
6124
|
hash: "svelte-iv0sc9",
|
|
6112
|
-
code: ":host {display:block;box-sizing:border-box;max-width:100%;}:host([data-qp-size-width='fill']),\n :host([data-qp-size-width='fixed']) {width:100%;}:host([data-qp-size-height='fill']),\n :host([data-qp-size-height='fixed']) {height:100%;}\n\n /*\n * Hug: fixed used width in shadow CSS only — no JS vars. Swiper track max-content\n * stays inside overflow:hidden; light-DOM slot assignees are hidden after adopt.\n */:host([data-qp-size-width='hug']) {width:min(100%, 16rem);min-width:0;overflow:clip;contain:inline-size;}:host([data-qp-size-height='hug']) {height:min(100%, 12rem);min-height:0;overflow:clip;contain:block-size;}.qp-gallery.svelte-iv0sc9 {position:relative;min-height:0;overflow:hidden;border-radius:0.75rem;background:#0f172a;color:#f8fafc;}:host([data-qp-size-width='fill']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-width='fixed']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-width='hug']) .qp-gallery.svelte-iv0sc9 {width:100%;}:host([data-qp-size-height='fill']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-height='fixed']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-height='hug']) .qp-gallery.svelte-iv0sc9 {height:100%;}.qp-gallery--effect.svelte-iv0sc9 {\n /* Room for 3D transforms without padding that can crush a small host. */min-height:12rem;}.qp-gallery--vertical.svelte-iv0sc9 {min-height:12rem;}:host([data-qp-size-width='fill']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-width='fixed']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-width='hug']) .qp-gallery-wrapper.svelte-iv0sc9 {width:100%;}:host([data-qp-size-height='fill']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-height='fixed']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-height='hug']) .qp-gallery-wrapper.svelte-iv0sc9 {height:100%;}.qp-gallery-slot-source.svelte-iv0sc9 {display:none;}.qp-gallery-wrapper > .swiper-slide {display:block;box-sizing:border-box;overflow:hidden;\n /* Hug projected fit-content roots — do not stretch to the host height. */height:auto;border-radius:0.5rem;}\n\n /* Projected content keeps intrinsic size (variant fit-content). Coverflow\n still owns transform on the shell; stretching width/height to 100% made\n slides look crushed/stretched vs the component editor. */.qp-gallery-wrapper > .swiper-slide > .qp-gallery-slide-content,\n .qp-gallery-wrapper > .swiper-slide > * {max-width:100%;max-height:100%;box-sizing:border-box;pointer-events:none;user-select:none;}.qp-gallery .swiper-pagination-bullet {background:rgb(248 250 252 / 55%);}.qp-gallery .swiper-pagination-bullet-active {background:#f8fafc;}"
|
|
6125
|
+
code: ":host {display:block;box-sizing:border-box;max-width:100%;}:host([data-qp-size-width='fill']),\n :host([data-qp-size-width='fixed']) {width:100%;}:host([data-qp-size-height='fill']),\n :host([data-qp-size-height='fixed']) {height:100%;}\n\n /*\n * Hug: fixed used width in shadow CSS only — no JS vars. Swiper track max-content\n * stays inside overflow:hidden; light-DOM slot assignees are hidden after adopt.\n */:host([data-qp-size-width='hug']) {width:min(100%, 16rem);min-width:0;overflow:clip;contain:inline-size;}:host([data-qp-size-height='hug']) {height:min(100%, 12rem);min-height:0;overflow:clip;contain:block-size;}.qp-gallery.svelte-iv0sc9 {position:relative;min-height:0;overflow:hidden;border-radius:0.75rem;background:#0f172a;color:#f8fafc;}:host([data-qp-size-width='fill']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-width='fixed']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-width='hug']) .qp-gallery.svelte-iv0sc9 {width:100%;}:host([data-qp-size-height='fill']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-height='fixed']) .qp-gallery.svelte-iv0sc9,\n :host([data-qp-size-height='hug']) .qp-gallery.svelte-iv0sc9 {height:100%;}.qp-gallery--effect.svelte-iv0sc9 {\n /* Room for 3D transforms without padding that can crush a small host. */min-height:12rem;}.qp-gallery--vertical.svelte-iv0sc9 {min-height:12rem;}:host([data-qp-size-width='fill']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-width='fixed']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-width='hug']) .qp-gallery-wrapper.svelte-iv0sc9 {width:100%;}:host([data-qp-size-height='fill']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-height='fixed']) .qp-gallery-wrapper.svelte-iv0sc9,\n :host([data-qp-size-height='hug']) .qp-gallery-wrapper.svelte-iv0sc9 {height:100%;}.qp-gallery-slot-source.svelte-iv0sc9 {display:none;}.qp-gallery-wrapper > .swiper-slide {display:block;box-sizing:border-box;overflow:hidden;\n /* Hug projected fit-content roots — do not stretch to the host height. */height:auto;border-radius:0.5rem;}\n\n /* Projected content keeps intrinsic size (variant fit-content). Coverflow\n still owns transform on the shell; stretching width/height to 100% made\n slides look crushed/stretched vs the component editor. */.qp-gallery-wrapper > .swiper-slide > .qp-gallery-slide-content,\n .qp-gallery-wrapper > .swiper-slide > * {max-width:100%;max-height:100%;box-sizing:border-box;pointer-events:none;user-select:none;}.qp-gallery-prev.svelte-iv0sc9,\n .qp-gallery-next.svelte-iv0sc9 {color:#f8fafc;}.qp-gallery .swiper-pagination-bullet {background:rgb(248 250 252 / 55%);}.qp-gallery .swiper-pagination-bullet-active {background:#f8fafc;}"
|
|
6113
6126
|
};
|
|
6114
|
-
function
|
|
6115
|
-
Be(t, !0), Rr(e,
|
|
6116
|
-
let n = /* @__PURE__ */ P(void 0), r = /* @__PURE__ */ P(void 0), i = /* @__PURE__ */ P(void 0), a = /* @__PURE__ */ P(void 0), o;
|
|
6117
|
-
function
|
|
6127
|
+
function Cc(e, t) {
|
|
6128
|
+
Be(t, !0), Rr(e, Sc);
|
|
6129
|
+
let n = /* @__PURE__ */ P(void 0), r = /* @__PURE__ */ P(void 0), i = /* @__PURE__ */ P(void 0), a = /* @__PURE__ */ P(void 0), o = /* @__PURE__ */ P(void 0), s = /* @__PURE__ */ P(void 0), c;
|
|
6130
|
+
function l() {
|
|
6118
6131
|
return new Promise((e) => {
|
|
6119
6132
|
requestAnimationFrame(() => {
|
|
6120
6133
|
requestAnimationFrame(() => e());
|
|
6121
6134
|
});
|
|
6122
6135
|
});
|
|
6123
6136
|
}
|
|
6124
|
-
let
|
|
6137
|
+
let u = /* @__PURE__ */ st(() => JSON.stringify({
|
|
6125
6138
|
templateId: t.templateId,
|
|
6126
6139
|
effect: t.effect,
|
|
6127
6140
|
direction: t.direction,
|
|
@@ -6160,47 +6173,47 @@ function bc(e, t) {
|
|
|
6160
6173
|
cubeEffectShadow: t.cubeEffectShadow,
|
|
6161
6174
|
cubeEffectShadowOffset: t.cubeEffectShadowOffset
|
|
6162
6175
|
}));
|
|
6163
|
-
function
|
|
6176
|
+
function d(e) {
|
|
6164
6177
|
let t = e.getRootNode();
|
|
6165
6178
|
return t instanceof ShadowRoot ? t : null;
|
|
6166
6179
|
}
|
|
6167
|
-
function
|
|
6168
|
-
let t =
|
|
6180
|
+
function f(e) {
|
|
6181
|
+
let t = d(e);
|
|
6169
6182
|
return t?.host instanceof HTMLElement ? t.host : null;
|
|
6170
6183
|
}
|
|
6171
|
-
function
|
|
6184
|
+
function p(e, t) {
|
|
6172
6185
|
let n = [];
|
|
6173
|
-
switch (t.navigation && n.push(
|
|
6186
|
+
switch (t.navigation && n.push(qs), t.pagination && n.push(Ys), t.scrollbar && n.push(Xs), t.keyboard && n.push(Us), t.mousewheel && n.push(Ws), t.autoplay && n.push(Zs), e === "slide" && t.freeMode && n.push(Qs), e) {
|
|
6174
6187
|
case "cards":
|
|
6175
|
-
n.push(
|
|
6188
|
+
n.push(sc);
|
|
6176
6189
|
break;
|
|
6177
6190
|
case "coverflow":
|
|
6178
|
-
n.push(
|
|
6191
|
+
n.push(ac);
|
|
6179
6192
|
break;
|
|
6180
6193
|
case "flip":
|
|
6181
|
-
n.push(
|
|
6194
|
+
n.push(ic);
|
|
6182
6195
|
break;
|
|
6183
6196
|
case "cube":
|
|
6184
|
-
n.push(
|
|
6197
|
+
n.push(nc);
|
|
6185
6198
|
break;
|
|
6186
|
-
case "creative": n.push(
|
|
6199
|
+
case "creative": n.push(oc);
|
|
6187
6200
|
}
|
|
6188
6201
|
return n;
|
|
6189
6202
|
}
|
|
6190
|
-
function
|
|
6203
|
+
function m(e, t, n) {
|
|
6191
6204
|
return e?.isConnected ? e : t.querySelector(n);
|
|
6192
6205
|
}
|
|
6193
|
-
async function
|
|
6194
|
-
let t =
|
|
6206
|
+
async function h(e) {
|
|
6207
|
+
let t = f(e);
|
|
6195
6208
|
if (!t) return 0;
|
|
6196
6209
|
for (let e = 0; e < 6; e += 1) {
|
|
6197
|
-
let e =
|
|
6210
|
+
let e = fc(t);
|
|
6198
6211
|
if (e > 0) return e;
|
|
6199
|
-
await
|
|
6212
|
+
await l();
|
|
6200
6213
|
}
|
|
6201
|
-
return
|
|
6214
|
+
return fc(t);
|
|
6202
6215
|
}
|
|
6203
|
-
function
|
|
6216
|
+
function g() {
|
|
6204
6217
|
return {
|
|
6205
6218
|
effect: t.effect,
|
|
6206
6219
|
direction: t.direction,
|
|
@@ -6240,86 +6253,93 @@ function bc(e, t) {
|
|
|
6240
6253
|
cubeEffectShadowOffset: t.cubeEffectShadowOffset
|
|
6241
6254
|
};
|
|
6242
6255
|
}
|
|
6243
|
-
async function
|
|
6256
|
+
async function _(e) {
|
|
6244
6257
|
for (let t = 0; t < 12; t += 1) {
|
|
6245
6258
|
if (e.clientWidth > 0 && e.clientHeight > 0) return !0;
|
|
6246
|
-
await
|
|
6259
|
+
await l();
|
|
6247
6260
|
}
|
|
6248
6261
|
return e.clientWidth > 0 && e.clientHeight > 0;
|
|
6249
6262
|
}
|
|
6250
|
-
async function
|
|
6251
|
-
let
|
|
6252
|
-
if (!
|
|
6253
|
-
for (let e of
|
|
6254
|
-
|
|
6255
|
-
let
|
|
6256
|
-
if (await
|
|
6257
|
-
let
|
|
6258
|
-
nextEl:
|
|
6259
|
-
prevEl:
|
|
6260
|
-
paginationEl:
|
|
6261
|
-
scrollbarEl:
|
|
6262
|
-
}, { lockSlideInteraction:
|
|
6263
|
-
|
|
6264
|
-
...
|
|
6265
|
-
modules:
|
|
6263
|
+
async function v(e, t, n, r) {
|
|
6264
|
+
let u = d(e), g = f(e);
|
|
6265
|
+
if (!u || !g || await h(e) === 0 || r()) return;
|
|
6266
|
+
for (let e of g.querySelectorAll(":scope > [slot=\"slide\"]")) e instanceof HTMLElement && (e.hidden = !0);
|
|
6267
|
+
uc(t);
|
|
6268
|
+
let v = lc(g, t);
|
|
6269
|
+
if (await l(), v === 0 || r() || !e.isConnected || !await _(e) || r() || !e.isConnected) return;
|
|
6270
|
+
let y = hc(n, v, {
|
|
6271
|
+
nextEl: m(G(a), e, ".qp-gallery-next"),
|
|
6272
|
+
prevEl: m(G(i), e, ".qp-gallery-prev"),
|
|
6273
|
+
paginationEl: m(G(o), e, ".qp-gallery-pagination"),
|
|
6274
|
+
scrollbarEl: m(G(s), e, ".qp-gallery-scrollbar")
|
|
6275
|
+
}, { lockSlideInteraction: ma(g) === fa.editor });
|
|
6276
|
+
c = new Hs(e, {
|
|
6277
|
+
...y,
|
|
6278
|
+
modules: p(n.effect, gc(y))
|
|
6266
6279
|
}), requestAnimationFrame(() => {
|
|
6267
|
-
!r() &&
|
|
6280
|
+
!r() && c && e.isConnected && c.update();
|
|
6268
6281
|
});
|
|
6269
6282
|
}
|
|
6270
6283
|
dn(() => {
|
|
6271
6284
|
if (!G(n) || !G(r)) return;
|
|
6272
|
-
let e = G(n), t = G(r), i =
|
|
6273
|
-
G(
|
|
6274
|
-
let a = !1,
|
|
6275
|
-
|
|
6276
|
-
let n =
|
|
6277
|
-
|
|
6278
|
-
await
|
|
6285
|
+
let e = G(n), t = G(r), i = g();
|
|
6286
|
+
G(u);
|
|
6287
|
+
let a = !1, o = 0, s = f(e), l = (t) => a || t !== o || !e.isConnected, d = () => {
|
|
6288
|
+
o += 1;
|
|
6289
|
+
let n = o;
|
|
6290
|
+
c?.destroy(!0, !0), c = void 0, uc(t), (async () => {
|
|
6291
|
+
await v(e, t, i, () => l(n));
|
|
6279
6292
|
})();
|
|
6280
6293
|
};
|
|
6281
|
-
|
|
6282
|
-
let p =
|
|
6283
|
-
a ||
|
|
6294
|
+
d();
|
|
6295
|
+
let p = s ? pc(s, () => {
|
|
6296
|
+
a || d();
|
|
6284
6297
|
}) : void 0;
|
|
6285
6298
|
return () => {
|
|
6286
|
-
a = !0, p?.(),
|
|
6299
|
+
a = !0, p?.(), c?.destroy(!0, !0), c = void 0, uc(t);
|
|
6287
6300
|
};
|
|
6288
6301
|
});
|
|
6289
|
-
var
|
|
6290
|
-
let
|
|
6291
|
-
var
|
|
6292
|
-
bi(
|
|
6293
|
-
var
|
|
6294
|
-
|
|
6295
|
-
var
|
|
6296
|
-
var t =
|
|
6297
|
-
bi(t, (e) => F(
|
|
6302
|
+
var y = xc();
|
|
6303
|
+
let b;
|
|
6304
|
+
var x = Zt(y);
|
|
6305
|
+
bi(x, (e) => F(r, e), () => G(r));
|
|
6306
|
+
var S = $t(x, 2);
|
|
6307
|
+
Fa(Zt(S), { name: "slide" }), Ce(S);
|
|
6308
|
+
var C = $t(S, 2), w = (e) => {
|
|
6309
|
+
var t = vc();
|
|
6310
|
+
bi(t, (e) => F(o, e), () => G(o)), wr(e, t);
|
|
6298
6311
|
};
|
|
6299
|
-
Fr(
|
|
6300
|
-
t.pagination && e(
|
|
6312
|
+
Fr(C, (e) => {
|
|
6313
|
+
t.pagination && e(w);
|
|
6301
6314
|
});
|
|
6302
|
-
var
|
|
6303
|
-
var t =
|
|
6304
|
-
bi(t, (e) => F(
|
|
6315
|
+
var T = $t(C, 2), ee = (e) => {
|
|
6316
|
+
var t = yc();
|
|
6317
|
+
bi(t, (e) => F(s, e), () => G(s)), wr(e, t);
|
|
6305
6318
|
};
|
|
6306
|
-
Fr(
|
|
6307
|
-
t.scrollbar && e(
|
|
6308
|
-
})
|
|
6309
|
-
|
|
6319
|
+
Fr(T, (e) => {
|
|
6320
|
+
t.scrollbar && e(ee);
|
|
6321
|
+
});
|
|
6322
|
+
var te = $t(T, 2), ne = (e) => {
|
|
6323
|
+
var t = bc(), n = Qt(t);
|
|
6324
|
+
bi(n, (e) => F(i, e), () => G(i)), bi($t(n, 2), (e) => F(a, e), () => G(a)), wr(e, t);
|
|
6325
|
+
};
|
|
6326
|
+
Fr(te, (e) => {
|
|
6327
|
+
t.navigation && e(ne);
|
|
6328
|
+
}), Ce(y), bi(y, (e) => F(n, e), () => G(n)), _n(() => {
|
|
6329
|
+
b = Jr(y, 1, "qp-gallery swiper svelte-iv0sc9", null, b, {
|
|
6310
6330
|
"qp-gallery--vertical": t.direction === "vertical",
|
|
6311
6331
|
"qp-gallery--effect": t.effect !== "slide"
|
|
6312
|
-
}), pi(
|
|
6313
|
-
}), wr(e,
|
|
6332
|
+
}), pi(y, "data-template", t.templateId), pi(y, "data-effect", t.effect);
|
|
6333
|
+
}), wr(e, y), Ve();
|
|
6314
6334
|
}
|
|
6315
6335
|
//#endregion
|
|
6316
6336
|
//#region src/gallery/index.ts
|
|
6317
|
-
var
|
|
6337
|
+
var wc = [fa.preview, fa.published], $ = (e) => ({
|
|
6318
6338
|
prop: "templateId",
|
|
6319
6339
|
equals: e
|
|
6320
|
-
}),
|
|
6340
|
+
}), Tc = Na({
|
|
6321
6341
|
id: "gallery",
|
|
6322
|
-
propGroups:
|
|
6342
|
+
propGroups: La,
|
|
6323
6343
|
props: {
|
|
6324
6344
|
templateId: K.string({
|
|
6325
6345
|
default: q.slide,
|
|
@@ -6532,18 +6552,18 @@ var xc = [pa.preview, pa.published], $ = (e) => ({
|
|
|
6532
6552
|
autoplay: K.boolean({
|
|
6533
6553
|
default: !1,
|
|
6534
6554
|
label: "Autoplay",
|
|
6535
|
-
runOn:
|
|
6555
|
+
runOn: wc
|
|
6536
6556
|
}),
|
|
6537
6557
|
autoplayDelay: K.number({
|
|
6538
6558
|
default: 3e3,
|
|
6539
6559
|
min: 500,
|
|
6540
6560
|
label: "Autoplay delay (ms)",
|
|
6541
|
-
runOn:
|
|
6561
|
+
runOn: wc
|
|
6542
6562
|
}),
|
|
6543
6563
|
autoplayDisableOnInteraction: K.boolean({
|
|
6544
6564
|
default: !0,
|
|
6545
6565
|
label: "Disable autoplay on interaction",
|
|
6546
|
-
runOn:
|
|
6566
|
+
runOn: wc
|
|
6547
6567
|
}),
|
|
6548
6568
|
freeMode: K.boolean({
|
|
6549
6569
|
default: !1,
|
|
@@ -6626,12 +6646,12 @@ var xc = [pa.preview, pa.published], $ = (e) => ({
|
|
|
6626
6646
|
visibleWhen: $(q.cube)
|
|
6627
6647
|
})
|
|
6628
6648
|
},
|
|
6629
|
-
slots: { slide:
|
|
6649
|
+
slots: { slide: Pa({
|
|
6630
6650
|
label: "Slides",
|
|
6631
6651
|
wrapperClass: "swiper-slide"
|
|
6632
6652
|
}) },
|
|
6633
|
-
styles: [
|
|
6634
|
-
component:
|
|
6653
|
+
styles: [Ia],
|
|
6654
|
+
component: Cc
|
|
6635
6655
|
});
|
|
6636
6656
|
//#endregion
|
|
6637
|
-
export {
|
|
6657
|
+
export { Tc as default };
|