f-low-code-renderer 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as $, computed as F, openBlock as M, createElementBlock as L, normalizeStyle as W, createElementVNode as P, toDisplayString as q, inject as vr, provide as qt, Fragment as te, Comment as Aa, mergeProps as gr, cloneVNode as Ca, h as se, useAttrs as La, getCurrentInstance as _a, onBeforeMount as Da, onMounted as Be, onBeforeUnmount as Xi, onUnmounted as wt, onBeforeUpdate as yr, onUpdated as Ui, ref as B, createBlock as U, unref as _, withCtx as ne, renderSlot as ht, mergeDefaults as Ia, resolveDynamicComponent as Oa, TransitionGroup as Ba, Transition as za, createVNode as N, normalizeClass as Ee, createCommentVNode as Y, reactive as Yt, watch as Hi, withDirectives as Ve, vShow as je, renderList as fe, vModelText as Ra, withModifiers as pe, createTextVNode as ka, useModel as Wi, Teleport as wr, useTemplateRef as Fa, mergeModels as br, KeepAlive as ja, nextTick as Sr, useCssVars as $a } from "vue";
|
|
2
|
+
const Na = { class: "relative m-auto w-1200" }, Za = { class: "container" }, Ga = { class: "title csr-v2-title-display" }, Xa = { class: "text csr-v2-text" }, Ua = /* @__PURE__ */ $({
|
|
3
3
|
name: "FBannerV2",
|
|
4
4
|
__name: "FBanner",
|
|
5
5
|
props: {
|
|
@@ -16,7 +16,7 @@ const $a = { class: "relative m-auto w-1200" }, Za = { class: "container" }, Ga
|
|
|
16
16
|
class: "banner_v2",
|
|
17
17
|
style: W(i.value)
|
|
18
18
|
}, [
|
|
19
|
-
P("div",
|
|
19
|
+
P("div", Na, [
|
|
20
20
|
P("div", Za, [
|
|
21
21
|
P("div", Ga, q(t.config.title), 1),
|
|
22
22
|
P("div", Xa, q(t.config.text), 1)
|
|
@@ -274,7 +274,7 @@ function dl(t) {
|
|
|
274
274
|
function Vr(t) {
|
|
275
275
|
return t ? t.flatMap((e) => e.type === te ? Vr(e.children) : [e]) : [];
|
|
276
276
|
}
|
|
277
|
-
const fl =
|
|
277
|
+
const fl = $({
|
|
278
278
|
name: "PrimitiveSlot",
|
|
279
279
|
inheritAttrs: !1,
|
|
280
280
|
setup(t, { attrs: e, slots: i }) {
|
|
@@ -295,7 +295,7 @@ const fl = N({
|
|
|
295
295
|
return r.length === 1 ? c : (r[o] = c, r);
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
}), pl =
|
|
298
|
+
}), pl = $({
|
|
299
299
|
name: "Primitive",
|
|
300
300
|
inheritAttrs: !1,
|
|
301
301
|
props: {
|
|
@@ -326,8 +326,8 @@ process.env.NODE_ENV !== "production" && (qi = function(t, e) {
|
|
|
326
326
|
if (!t)
|
|
327
327
|
throw new Error(e);
|
|
328
328
|
});
|
|
329
|
-
const
|
|
330
|
-
class
|
|
329
|
+
const Ce = /* @__PURE__ */ new WeakMap();
|
|
330
|
+
class ze {
|
|
331
331
|
constructor(e) {
|
|
332
332
|
this.state = e;
|
|
333
333
|
}
|
|
@@ -345,10 +345,10 @@ class Be {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
const re = (t) => t;
|
|
348
|
-
let bt = re,
|
|
348
|
+
let bt = re, Le = re;
|
|
349
349
|
process.env.NODE_ENV !== "production" && (bt = (t, e) => {
|
|
350
350
|
!t && typeof console < "u" && console.warn(e);
|
|
351
|
-
},
|
|
351
|
+
}, Le = (t, e) => {
|
|
352
352
|
if (!t)
|
|
353
353
|
throw new Error(e);
|
|
354
354
|
});
|
|
@@ -424,11 +424,11 @@ function Ar(t, e) {
|
|
|
424
424
|
o[Mt[w]].cancel(v);
|
|
425
425
|
}, state: s, steps: o };
|
|
426
426
|
}
|
|
427
|
-
const { schedule: j, cancel:
|
|
427
|
+
const { schedule: j, cancel: _e, state: Q, steps: si } = Ar(typeof requestAnimationFrame < "u" ? requestAnimationFrame : re, !0);
|
|
428
428
|
function vl(t) {
|
|
429
429
|
return t instanceof SVGElement && t.tagName !== "svg";
|
|
430
430
|
}
|
|
431
|
-
class gl extends
|
|
431
|
+
class gl extends ze {
|
|
432
432
|
mount() {
|
|
433
433
|
const e = this.state.element;
|
|
434
434
|
if (!vl(e))
|
|
@@ -478,13 +478,13 @@ const ot = {
|
|
|
478
478
|
const i = Rn(t, e.target.x), n = Rn(t, e.target.y);
|
|
479
479
|
return `${i}% ${n}%`;
|
|
480
480
|
}
|
|
481
|
-
}, K = (t, e, i) => t + (e - t) * i,
|
|
481
|
+
}, K = (t, e, i) => t + (e - t) * i, De = (t, e, i) => i > e ? e : i < t ? t : i, Qe = {
|
|
482
482
|
test: (t) => typeof t == "number",
|
|
483
483
|
parse: parseFloat,
|
|
484
484
|
transform: (t) => t
|
|
485
485
|
}, mt = {
|
|
486
486
|
...Qe,
|
|
487
|
-
transform: (t) =>
|
|
487
|
+
transform: (t) => De(0, 1, t)
|
|
488
488
|
}, Vt = {
|
|
489
489
|
...Qe,
|
|
490
490
|
default: 1
|
|
@@ -502,10 +502,10 @@ const Sl = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
502
502
|
[i]: parseFloat(o),
|
|
503
503
|
alpha: a !== void 0 ? parseFloat(a) : 1
|
|
504
504
|
};
|
|
505
|
-
}, Tl = (t) =>
|
|
505
|
+
}, Tl = (t) => De(0, 255, t), ri = {
|
|
506
506
|
...Qe,
|
|
507
507
|
transform: (t) => Math.round(Tl(t))
|
|
508
|
-
},
|
|
508
|
+
}, $e = {
|
|
509
509
|
test: /* @__PURE__ */ Ji("rgb", "red"),
|
|
510
510
|
parse: /* @__PURE__ */ Lr("red", "green", "blue"),
|
|
511
511
|
transform: ({ red: t, green: e, blue: i, alpha: n = 1 }) => "rgba(" + ri.transform(t) + ", " + ri.transform(e) + ", " + ri.transform(i) + ", " + ct(mt.transform(n)) + ")"
|
|
@@ -522,15 +522,15 @@ function xl(t) {
|
|
|
522
522
|
const Vi = {
|
|
523
523
|
test: /* @__PURE__ */ Ji("#"),
|
|
524
524
|
parse: xl,
|
|
525
|
-
transform:
|
|
526
|
-
},
|
|
525
|
+
transform: $e.transform
|
|
526
|
+
}, He = {
|
|
527
527
|
test: /* @__PURE__ */ Ji("hsl", "hue"),
|
|
528
528
|
parse: /* @__PURE__ */ Lr("hue", "saturation", "lightness"),
|
|
529
529
|
transform: ({ hue: t, saturation: e, lightness: i, alpha: n = 1 }) => "hsla(" + Math.round(t) + ", " + Te.transform(ct(e)) + ", " + Te.transform(ct(i)) + ", " + ct(mt.transform(n)) + ")"
|
|
530
530
|
}, ee = {
|
|
531
|
-
test: (t) =>
|
|
532
|
-
parse: (t) =>
|
|
533
|
-
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ?
|
|
531
|
+
test: (t) => $e.test(t) || Vi.test(t) || He.test(t),
|
|
532
|
+
parse: (t) => $e.test(t) ? $e.parse(t) : He.test(t) ? He.parse(t) : Vi.parse(t),
|
|
533
|
+
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? $e.transform(t) : He.transform(t)
|
|
534
534
|
}, El = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
535
535
|
function Pl(t) {
|
|
536
536
|
var e, i;
|
|
@@ -567,17 +567,17 @@ function Ll(t) {
|
|
|
567
567
|
const e = Ir(t);
|
|
568
568
|
return Or(t)(e.map(Cl));
|
|
569
569
|
}
|
|
570
|
-
const
|
|
570
|
+
const Ie = {
|
|
571
571
|
test: Pl,
|
|
572
572
|
parse: Ir,
|
|
573
573
|
createTransformer: Or,
|
|
574
574
|
getAnimatableNone: Ll
|
|
575
575
|
}, _l = {
|
|
576
576
|
correct: (t, { treeScale: e, projectionDelta: i }) => {
|
|
577
|
-
const n = t, s =
|
|
577
|
+
const n = t, s = Ie.parse(t);
|
|
578
578
|
if (s.length > 5)
|
|
579
579
|
return n;
|
|
580
|
-
const r =
|
|
580
|
+
const r = Ie.createTransformer(t), o = typeof s[0] != "number" ? 1 : 0, a = i.x.scale * e.x, l = i.y.scale * e.y;
|
|
581
581
|
s[0 + o] /= a, s[1 + o] /= l;
|
|
582
582
|
const c = K(a, l, 0.5);
|
|
583
583
|
return typeof s[2 + o] == "number" && (s[2 + o] /= c), typeof s[3 + o] == "number" && (s[3 + o] /= c), r(s);
|
|
@@ -609,7 +609,7 @@ const De = {
|
|
|
609
609
|
*/
|
|
610
610
|
hasEverUpdated: !1
|
|
611
611
|
};
|
|
612
|
-
class Dl extends
|
|
612
|
+
class Dl extends ze {
|
|
613
613
|
constructor(e) {
|
|
614
614
|
super(e), Cr(Br);
|
|
615
615
|
}
|
|
@@ -721,7 +721,7 @@ class kr {
|
|
|
721
721
|
this.handlers = e;
|
|
722
722
|
}
|
|
723
723
|
end() {
|
|
724
|
-
this.removeListeners && this.removeListeners(),
|
|
724
|
+
this.removeListeners && this.removeListeners(), _e(this.updatePoint);
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
function oi(t, e) {
|
|
@@ -767,12 +767,12 @@ function Fl(t, e) {
|
|
|
767
767
|
function jr({ current: t }) {
|
|
768
768
|
return t ? t.ownerDocument.defaultView : null;
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function $n(t) {
|
|
771
771
|
return (e, i) => {
|
|
772
772
|
t && j.postRender(() => t(e, i));
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
-
class jl extends
|
|
775
|
+
class jl extends ze {
|
|
776
776
|
constructor() {
|
|
777
777
|
super(...arguments), this.removePointerDownListener = re;
|
|
778
778
|
}
|
|
@@ -788,11 +788,11 @@ class jl extends Be {
|
|
|
788
788
|
}
|
|
789
789
|
createPanHandlers() {
|
|
790
790
|
return {
|
|
791
|
-
onSessionStart:
|
|
791
|
+
onSessionStart: $n((e, i) => {
|
|
792
792
|
const { onPanSessionStart: n } = this.state.options;
|
|
793
793
|
n && n(e, i);
|
|
794
794
|
}),
|
|
795
|
-
onStart:
|
|
795
|
+
onStart: $n((e, i) => {
|
|
796
796
|
const { onPanStart: n } = this.state.options;
|
|
797
797
|
n && n(e, i);
|
|
798
798
|
}),
|
|
@@ -822,17 +822,17 @@ class jl extends Be {
|
|
|
822
822
|
function en(t, e) {
|
|
823
823
|
return t ? t[e] || t.default || t : void 0;
|
|
824
824
|
}
|
|
825
|
-
const
|
|
825
|
+
const $l = {
|
|
826
826
|
useManualTiming: !1
|
|
827
827
|
};
|
|
828
828
|
let Bt;
|
|
829
|
-
function
|
|
829
|
+
function Nl() {
|
|
830
830
|
Bt = void 0;
|
|
831
831
|
}
|
|
832
832
|
const ve = {
|
|
833
|
-
now: () => (Bt === void 0 && ve.set(Q.isProcessing ||
|
|
833
|
+
now: () => (Bt === void 0 && ve.set(Q.isProcessing || $l.useManualTiming ? Q.timestamp : performance.now()), Bt),
|
|
834
834
|
set: (t) => {
|
|
835
|
-
Bt = t, queueMicrotask(
|
|
835
|
+
Bt = t, queueMicrotask(Nl);
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
function tn(t, e) {
|
|
@@ -867,12 +867,12 @@ class nn {
|
|
|
867
867
|
this.subscriptions.length = 0;
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function $r(t, e) {
|
|
871
871
|
return e ? t * (1e3 / e) : 0;
|
|
872
872
|
}
|
|
873
|
-
const
|
|
873
|
+
const Nn = /* @__PURE__ */ new Set();
|
|
874
874
|
function sn(t, e, i) {
|
|
875
|
-
t ||
|
|
875
|
+
t || Nn.has(e) || (console.warn(e), Nn.add(e));
|
|
876
876
|
}
|
|
877
877
|
const Zn = 30, Zl = (t) => !isNaN(parseFloat(t));
|
|
878
878
|
class Gl {
|
|
@@ -1016,7 +1016,7 @@ class Gl {
|
|
|
1016
1016
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Zn)
|
|
1017
1017
|
return 0;
|
|
1018
1018
|
const i = Math.min(this.updatedAt - this.prevUpdatedAt, Zn);
|
|
1019
|
-
return
|
|
1019
|
+
return $r(parseFloat(this.current) - parseFloat(this.prevFrameValue), i);
|
|
1020
1020
|
}
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Registers a new animation to control this `MotionValue`. Only one
|
|
@@ -1148,7 +1148,7 @@ class Ul {
|
|
|
1148
1148
|
this.runAll("complete");
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
|
-
class
|
|
1151
|
+
class Nr extends Ul {
|
|
1152
1152
|
then(e, i) {
|
|
1153
1153
|
return Promise.all(this.animations).then(e).catch(i);
|
|
1154
1154
|
}
|
|
@@ -1262,7 +1262,7 @@ function eu(t) {
|
|
|
1262
1262
|
return n !== i && (r *= 100), e + "(" + r + s + ")";
|
|
1263
1263
|
}
|
|
1264
1264
|
const tu = /\b([a-z-]*)\(.*?\)/gu, Ci = {
|
|
1265
|
-
...
|
|
1265
|
+
...Ie,
|
|
1266
1266
|
getAnimatableNone: (t) => {
|
|
1267
1267
|
const e = t.match(tu);
|
|
1268
1268
|
return e ? e.map(eu).join(" ") : t;
|
|
@@ -1359,7 +1359,7 @@ const tu = /\b([a-z-]*)\(.*?\)/gu, Ci = {
|
|
|
1359
1359
|
}, cn = (t) => su[t];
|
|
1360
1360
|
function io(t, e) {
|
|
1361
1361
|
let i = cn(t);
|
|
1362
|
-
return i !== Ci && (i =
|
|
1362
|
+
return i !== Ci && (i = Ie), i.getAnimatableNone ? i.getAnimatableNone(e) : void 0;
|
|
1363
1363
|
}
|
|
1364
1364
|
const ru = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
|
1365
1365
|
function ou(t, e, i) {
|
|
@@ -1487,7 +1487,7 @@ function hu(t) {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
const mu = 4;
|
|
1489
1489
|
function lo(t, e, i = 1) {
|
|
1490
|
-
|
|
1490
|
+
Le(i <= mu, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
|
|
1491
1491
|
const [n, s] = hu(t);
|
|
1492
1492
|
if (!n)
|
|
1493
1493
|
return;
|
|
@@ -1558,7 +1558,7 @@ class fo extends dn {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
const qn = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
|
|
1561
|
-
(
|
|
1561
|
+
(Ie.test(t) || t === "0") && // And it contains numbers and/or colors
|
|
1562
1562
|
!t.startsWith("url("));
|
|
1563
1563
|
function gu(t) {
|
|
1564
1564
|
const e = t[0];
|
|
@@ -1685,26 +1685,26 @@ function Su({ hue: t, saturation: e, lightness: i, alpha: n }) {
|
|
|
1685
1685
|
alpha: n
|
|
1686
1686
|
};
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function $t(t, e) {
|
|
1689
1689
|
return (i) => i > 0 ? e : t;
|
|
1690
1690
|
}
|
|
1691
1691
|
const ui = (t, e, i) => {
|
|
1692
1692
|
const n = t * t, s = i * (e * e - n) + n;
|
|
1693
1693
|
return s < 0 ? 0 : Math.sqrt(s);
|
|
1694
|
-
}, Tu = [Vi,
|
|
1694
|
+
}, Tu = [Vi, $e, He], xu = (t) => Tu.find((e) => e.test(t));
|
|
1695
1695
|
function Yn(t) {
|
|
1696
1696
|
const e = xu(t);
|
|
1697
1697
|
if (bt(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
|
|
1698
1698
|
return !1;
|
|
1699
1699
|
let i = e.parse(t);
|
|
1700
|
-
return e ===
|
|
1700
|
+
return e === He && (i = Su(i)), i;
|
|
1701
1701
|
}
|
|
1702
1702
|
const Jn = (t, e) => {
|
|
1703
1703
|
const i = Yn(t), n = Yn(e);
|
|
1704
1704
|
if (!i || !n)
|
|
1705
|
-
return
|
|
1705
|
+
return $t(t, e);
|
|
1706
1706
|
const s = { ...i };
|
|
1707
|
-
return (r) => (s.red = ui(i.red, n.red, r), s.green = ui(i.green, n.green, r), s.blue = ui(i.blue, n.blue, r), s.alpha = K(i.alpha, n.alpha, r),
|
|
1707
|
+
return (r) => (s.red = ui(i.red, n.red, r), s.green = ui(i.green, n.green, r), s.blue = ui(i.blue, n.blue, r), s.alpha = K(i.alpha, n.alpha, r), $e.transform(s));
|
|
1708
1708
|
}, Di = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
1709
1709
|
function Eu(t, e) {
|
|
1710
1710
|
return Di.has(t) ? (i) => i <= 0 ? t : e : (i) => i >= 1 ? e : t;
|
|
@@ -1713,7 +1713,7 @@ function Pu(t, e) {
|
|
|
1713
1713
|
return (i) => K(t, e, i);
|
|
1714
1714
|
}
|
|
1715
1715
|
function hn(t) {
|
|
1716
|
-
return typeof t == "number" ? Pu : typeof t == "string" ? fn(t) ?
|
|
1716
|
+
return typeof t == "number" ? Pu : typeof t == "string" ? fn(t) ? $t : ee.test(t) ? Jn : Au : Array.isArray(t) ? ho : typeof t == "object" ? ee.test(t) ? Jn : Mu : $t;
|
|
1717
1717
|
}
|
|
1718
1718
|
function ho(t, e) {
|
|
1719
1719
|
const i = [...t], n = i.length, s = t.map((r, o) => hn(r)(r, e[o]));
|
|
@@ -1743,8 +1743,8 @@ function Vu(t, e) {
|
|
|
1743
1743
|
return n;
|
|
1744
1744
|
}
|
|
1745
1745
|
const Au = (t, e) => {
|
|
1746
|
-
const i =
|
|
1747
|
-
return n.indexes.var.length === s.indexes.var.length && n.indexes.color.length === s.indexes.color.length && n.indexes.number.length >= s.indexes.number.length ? Di.has(t) && !s.values.length || Di.has(e) && !n.values.length ? Eu(t, e) : ei(ho(Vu(n, s), s.values), i) : (bt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),
|
|
1746
|
+
const i = Ie.createTransformer(e), n = vt(t), s = vt(e);
|
|
1747
|
+
return n.indexes.var.length === s.indexes.var.length && n.indexes.color.length === s.indexes.color.length && n.indexes.number.length >= s.indexes.number.length ? Di.has(t) && !s.values.length || Di.has(e) && !n.values.length ? Eu(t, e) : ei(ho(Vu(n, s), s.values), i) : (bt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), $t(t, e));
|
|
1748
1748
|
};
|
|
1749
1749
|
function mo(t, e, i) {
|
|
1750
1750
|
return typeof t == "number" && typeof e == "number" && typeof i == "number" ? K(t, e, i) : hn(t)(t, e);
|
|
@@ -1752,7 +1752,7 @@ function mo(t, e, i) {
|
|
|
1752
1752
|
const Cu = 5;
|
|
1753
1753
|
function vo(t, e, i) {
|
|
1754
1754
|
const n = Math.max(e - Cu, 0);
|
|
1755
|
-
return
|
|
1755
|
+
return $r(i - t(n), e - n);
|
|
1756
1756
|
}
|
|
1757
1757
|
const G = {
|
|
1758
1758
|
// Default spring physics
|
|
@@ -1787,7 +1787,7 @@ function Lu({ duration: t = G.duration, bounce: e = G.bounce, velocity: i = G.ve
|
|
|
1787
1787
|
let s, r;
|
|
1788
1788
|
bt(t <= ge(G.maxDuration), "Spring duration must be 10 seconds or less");
|
|
1789
1789
|
let o = 1 - e;
|
|
1790
|
-
o =
|
|
1790
|
+
o = De(G.minDamping, G.maxDamping, o), t = De(G.minDuration, G.maxDuration, xe(t)), o < 1 ? (s = (c) => {
|
|
1791
1791
|
const u = c * o, d = u * t, f = u - i, p = Ii(c, o), h = Math.exp(-d);
|
|
1792
1792
|
return ci - f / p * h;
|
|
1793
1793
|
}, r = (c) => {
|
|
@@ -1841,7 +1841,7 @@ function Bu(t) {
|
|
|
1841
1841
|
};
|
|
1842
1842
|
if (!Qn(t, Ou) && Qn(t, Iu))
|
|
1843
1843
|
if (t.visualDuration) {
|
|
1844
|
-
const i = t.visualDuration, n = 2 * Math.PI / (i * 1.2), s = n * n, r = 2 *
|
|
1844
|
+
const i = t.visualDuration, n = 2 * Math.PI / (i * 1.2), s = n * n, r = 2 * De(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(s);
|
|
1845
1845
|
e = {
|
|
1846
1846
|
...e,
|
|
1847
1847
|
mass: G.mass,
|
|
@@ -1953,11 +1953,11 @@ const zu = /* @__PURE__ */ xt(0.42, 0, 1, 1), Ru = /* @__PURE__ */ xt(0, 0, 0.58
|
|
|
1953
1953
|
anticipate: Yr
|
|
1954
1954
|
}, is = (t) => {
|
|
1955
1955
|
if (on(t)) {
|
|
1956
|
-
|
|
1956
|
+
Le(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
|
|
1957
1957
|
const [e, i, n, s] = t;
|
|
1958
1958
|
return xt(e, i, n, s);
|
|
1959
1959
|
} else if (typeof t == "string")
|
|
1960
|
-
return
|
|
1960
|
+
return Le(ts[t] !== void 0, `Invalid easing type '${t}'`), ts[t];
|
|
1961
1961
|
return t;
|
|
1962
1962
|
};
|
|
1963
1963
|
function ku(t, e, i) {
|
|
@@ -1974,7 +1974,7 @@ function ku(t, e, i) {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
function Fu(t, e, { clamp: i = !0, ease: n, mixer: s } = {}) {
|
|
1976
1976
|
const r = t.length;
|
|
1977
|
-
if (
|
|
1977
|
+
if (Le(r === e.length, "Both input and output ranges must be the same length"), r === 1)
|
|
1978
1978
|
return () => e[0];
|
|
1979
1979
|
if (r === 2 && e[0] === e[1])
|
|
1980
1980
|
return () => e[1];
|
|
@@ -1990,7 +1990,7 @@ function Fu(t, e, { clamp: i = !0, ease: n, mixer: s } = {}) {
|
|
|
1990
1990
|
const f = Tt(t[d], t[d + 1], u);
|
|
1991
1991
|
return a[d](f);
|
|
1992
1992
|
};
|
|
1993
|
-
return i ? (u) => c(
|
|
1993
|
+
return i ? (u) => c(De(t[0], t[r - 1], u)) : c;
|
|
1994
1994
|
}
|
|
1995
1995
|
function wo(t, e) {
|
|
1996
1996
|
const i = t[t.length - 1];
|
|
@@ -2006,10 +2006,10 @@ function bo(t) {
|
|
|
2006
2006
|
function ju(t, e) {
|
|
2007
2007
|
return t.map((i) => i * e);
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function $u(t, e) {
|
|
2010
2010
|
return t.map(() => e || go).splice(0, t.length - 1);
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function Nt({ duration: t = 300, keyframes: e, times: i, ease: n = "easeInOut" }) {
|
|
2013
2013
|
const s = yo(n) ? n.map(is) : is(n), r = {
|
|
2014
2014
|
done: !1,
|
|
2015
2015
|
value: e[0]
|
|
@@ -2019,18 +2019,18 @@ function $t({ duration: t = 300, keyframes: e, times: i, ease: n = "easeInOut" }
|
|
|
2019
2019
|
i && i.length === e.length ? i : bo(e),
|
|
2020
2020
|
t
|
|
2021
2021
|
), a = Fu(o, e, {
|
|
2022
|
-
ease: Array.isArray(s) ? s :
|
|
2022
|
+
ease: Array.isArray(s) ? s : $u(e, s)
|
|
2023
2023
|
});
|
|
2024
2024
|
return {
|
|
2025
2025
|
calculatedDuration: t,
|
|
2026
2026
|
next: (l) => (r.value = a(l), r.done = l >= t, r)
|
|
2027
2027
|
};
|
|
2028
2028
|
}
|
|
2029
|
-
const
|
|
2029
|
+
const Nu = (t) => {
|
|
2030
2030
|
const e = ({ timestamp: i }) => t(i);
|
|
2031
2031
|
return {
|
|
2032
2032
|
start: () => j.update(e, !0),
|
|
2033
|
-
stop: () =>
|
|
2033
|
+
stop: () => _e(e),
|
|
2034
2034
|
/**
|
|
2035
2035
|
* If we're processing this frame we can use the
|
|
2036
2036
|
* framelocked timestamp to keep things in sync.
|
|
@@ -2040,8 +2040,8 @@ const $u = (t) => {
|
|
|
2040
2040
|
}, Zu = {
|
|
2041
2041
|
decay: es,
|
|
2042
2042
|
inertia: es,
|
|
2043
|
-
tween:
|
|
2044
|
-
keyframes:
|
|
2043
|
+
tween: Nt,
|
|
2044
|
+
keyframes: Nt,
|
|
2045
2045
|
spring: mn
|
|
2046
2046
|
}, Gu = (t) => t / 100;
|
|
2047
2047
|
class vn extends po {
|
|
@@ -2060,9 +2060,9 @@ class vn extends po {
|
|
|
2060
2060
|
super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
|
|
2061
2061
|
}
|
|
2062
2062
|
initPlayback(e) {
|
|
2063
|
-
const { type: i = "keyframes", repeat: n = 0, repeatDelay: s = 0, repeatType: r, velocity: o = 0 } = this.options, a = ii(i) ? i : Zu[i] ||
|
|
2063
|
+
const { type: i = "keyframes", repeat: n = 0, repeatDelay: s = 0, repeatType: r, velocity: o = 0 } = this.options, a = ii(i) ? i : Zu[i] || Nt;
|
|
2064
2064
|
let l, c;
|
|
2065
|
-
a !==
|
|
2065
|
+
a !== Nt && typeof e[0] != "number" && (process.env.NODE_ENV !== "production" && Le(e.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), l = ei(Gu, mo(e[0], e[1])), e = [0, 100]);
|
|
2066
2066
|
const u = a({ ...this.options, keyframes: e });
|
|
2067
2067
|
r === "mirror" && (c = a({
|
|
2068
2068
|
...this.options,
|
|
@@ -2100,7 +2100,7 @@ class vn extends po {
|
|
|
2100
2100
|
if (p) {
|
|
2101
2101
|
const T = Math.min(this.currentTime, u) / d;
|
|
2102
2102
|
let S = Math.floor(T), E = T % 1;
|
|
2103
|
-
!E && T >= 1 && (E = 1), E === 1 && S--, S = Math.min(S, p + 1), !!(S % 2) && (h === "reverse" ? (E = 1 - E, m && (E -= m / d)) : h === "mirror" && (x = o)), b =
|
|
2103
|
+
!E && T >= 1 && (E = 1), E === 1 && S--, S = Math.min(S, p + 1), !!(S % 2) && (h === "reverse" ? (E = 1 - E, m && (E -= m / d)) : h === "mirror" && (x = o)), b = De(0, 1, E) * d;
|
|
2104
2104
|
}
|
|
2105
2105
|
const y = w ? { done: !1, value: l[0] } : x.next(b);
|
|
2106
2106
|
a && (y.value = a(y.value));
|
|
@@ -2133,7 +2133,7 @@ class vn extends po {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
if (this.isStopped)
|
|
2135
2135
|
return;
|
|
2136
|
-
const { driver: e =
|
|
2136
|
+
const { driver: e = Nu, onPlay: i, startTime: n } = this.options;
|
|
2137
2137
|
this.driver || (this.driver = e((r) => this.tick(r))), i && i();
|
|
2138
2138
|
const s = this.driver.now();
|
|
2139
2139
|
this.holdTime !== null ? this.startTime = s - this.holdTime : this.startTime ? this.state === "finished" && (this.startTime = s) : this.startTime = n ?? this.calcStartTime(), this.state === "finished" && this.updateFinishedPromise(), this.cancelTime = this.startTime, this.holdTime = null, this.state = "running", this.driver.start();
|
|
@@ -2423,7 +2423,7 @@ const gn = (t, e, i, n = {}, s, r) => (o) => {
|
|
|
2423
2423
|
if (f !== void 0)
|
|
2424
2424
|
return j.update(() => {
|
|
2425
2425
|
u.onUpdate(f), u.onComplete();
|
|
2426
|
-
}), new
|
|
2426
|
+
}), new Nr([]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return !r && ns.supports(u) ? new ns(u) : new vn(u);
|
|
2429
2429
|
};
|
|
@@ -2457,9 +2457,9 @@ class lc {
|
|
|
2457
2457
|
function uc(t, e) {
|
|
2458
2458
|
const i = ve.now(), n = ({ timestamp: s }) => {
|
|
2459
2459
|
const r = s - i;
|
|
2460
|
-
r >= e && (
|
|
2460
|
+
r >= e && (_e(n), t(r - e));
|
|
2461
2461
|
};
|
|
2462
|
-
return j.read(n, !0), () =>
|
|
2462
|
+
return j.read(n, !0), () => _e(n);
|
|
2463
2463
|
}
|
|
2464
2464
|
const cc = (t) => Array.isArray(t), dc = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), fc = (t) => cc(t) ? t[t.length - 1] || 0 : t;
|
|
2465
2465
|
function di(t) {
|
|
@@ -2505,7 +2505,7 @@ function fi(t) {
|
|
|
2505
2505
|
function Oi({ scale: t, scaleX: e, scaleY: i }) {
|
|
2506
2506
|
return !fi(t) || !fi(e) || !fi(i);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2508
|
+
function ke(t) {
|
|
2509
2509
|
return Oi(t) || Vo(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
|
|
2510
2510
|
}
|
|
2511
2511
|
function Vo(t) {
|
|
@@ -2537,10 +2537,10 @@ function gc(t, e, i, n = !1) {
|
|
|
2537
2537
|
for (let a = 0; a < s; a++) {
|
|
2538
2538
|
r = i[a], o = r.projectionDelta;
|
|
2539
2539
|
const { visualElement: l } = r.options;
|
|
2540
|
-
l && l.props.style && l.props.style.display === "contents" || (n && r.options.layoutScroll && r.scroll && r !== r.root &&
|
|
2540
|
+
l && l.props.style && l.props.style.display === "contents" || (n && r.options.layoutScroll && r.scroll && r !== r.root && We(t, {
|
|
2541
2541
|
x: -r.scroll.offset.x,
|
|
2542
2542
|
y: -r.scroll.offset.y
|
|
2543
|
-
}), o && (e.x *= o.x.scale, e.y *= o.y.scale, Ao(t, o)), n &&
|
|
2543
|
+
}), o && (e.x *= o.x.scale, e.y *= o.y.scale, Ao(t, o)), n && ke(r.latestValues) && We(t, r.latestValues));
|
|
2544
2544
|
}
|
|
2545
2545
|
e.x < fs && e.x > ds && (e.x = 1), e.y < fs && e.y > ds && (e.y = 1);
|
|
2546
2546
|
}
|
|
@@ -2551,7 +2551,7 @@ function ps(t, e, i, n, s = 0.5) {
|
|
|
2551
2551
|
const r = K(t.min, t.max, s);
|
|
2552
2552
|
Bi(t, e, i, r, n);
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2554
|
+
function We(t, e) {
|
|
2555
2555
|
ps(t.x, e.x, e.scaleX, e.scale, e.originX), ps(t.y, e.y, e.scaleY, e.scale, e.originY);
|
|
2556
2556
|
}
|
|
2557
2557
|
const Co = 1e-4, yc = 1 - Co, wc = 1 + Co, Lo = 0.01, bc = 0 - Lo, Sc = 0 + Lo;
|
|
@@ -2600,7 +2600,7 @@ const bs = () => ({
|
|
|
2600
2600
|
scale: 1,
|
|
2601
2601
|
origin: 0,
|
|
2602
2602
|
originPoint: 0
|
|
2603
|
-
}),
|
|
2603
|
+
}), Ke = () => ({
|
|
2604
2604
|
x: bs(),
|
|
2605
2605
|
y: bs()
|
|
2606
2606
|
}), Ss = () => ({ min: 0, max: 0 }), H = () => ({
|
|
@@ -2698,7 +2698,7 @@ function Cc(t, e, i) {
|
|
|
2698
2698
|
function Vs(t) {
|
|
2699
2699
|
return [t("x"), t("y")];
|
|
2700
2700
|
}
|
|
2701
|
-
const
|
|
2701
|
+
const Fe = {
|
|
2702
2702
|
type: "projectionFrame",
|
|
2703
2703
|
totalNodes: 0,
|
|
2704
2704
|
resolvedTargetDeltas: 0,
|
|
@@ -2729,7 +2729,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2729
2729
|
this.id = _c++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
2730
2730
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
2731
2731
|
}, this.updateProjection = () => {
|
|
2732
|
-
this.projectionUpdateScheduled = !1, lt && (
|
|
2732
|
+
this.projectionUpdateScheduled = !1, lt && (Fe.totalNodes = Fe.resolvedTargetDeltas = Fe.recalculatedProjection = 0), this.nodes.forEach(Oc), this.nodes.forEach(Fc), this.nodes.forEach(jc), this.nodes.forEach(Bc), lt && window.MotionDebug.record(Fe);
|
|
2733
2733
|
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = o, this.root = a ? a.root || a : this, this.path = a ? [...a.path, a] : [], this.parent = a, this.depth = a ? a.depth + 1 : 0;
|
|
2734
2734
|
for (let l = 0; l < this.path.length; l++)
|
|
2735
2735
|
this.path[l].shouldResetTransform = !0;
|
|
@@ -2782,7 +2782,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2782
2782
|
unmount() {
|
|
2783
2783
|
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
|
|
2784
2784
|
const o = this.getStack();
|
|
2785
|
-
o && o.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0,
|
|
2785
|
+
o && o.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, _e(this.updateProjection);
|
|
2786
2786
|
}
|
|
2787
2787
|
// only on the root
|
|
2788
2788
|
blockUpdate() {
|
|
@@ -2799,7 +2799,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2799
2799
|
}
|
|
2800
2800
|
// Note: currently only running on root node
|
|
2801
2801
|
startUpdate() {
|
|
2802
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
|
2802
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach($c), this.animationId++);
|
|
2803
2803
|
}
|
|
2804
2804
|
getTransformTemplate() {
|
|
2805
2805
|
const { visualElement: o } = this.options;
|
|
@@ -2830,13 +2830,13 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2830
2830
|
}
|
|
2831
2831
|
this.isUpdating || this.nodes.forEach(Rc), this.isUpdating = !1, this.nodes.forEach(kc), this.nodes.forEach(Dc), this.nodes.forEach(Ic), this.clearAllSnapshots();
|
|
2832
2832
|
const a = ve.now();
|
|
2833
|
-
Q.delta =
|
|
2833
|
+
Q.delta = De(0, 1e3 / 60, a - Q.timestamp), Q.timestamp = a, Q.isProcessing = !0, si.update.process(Q), si.preRender.process(Q), si.render.process(Q), Q.isProcessing = !1;
|
|
2834
2834
|
}
|
|
2835
2835
|
didUpdate() {
|
|
2836
2836
|
this.updateScheduled || (this.updateScheduled = !0, oc.read(this.scheduleUpdate));
|
|
2837
2837
|
}
|
|
2838
2838
|
clearAllSnapshots() {
|
|
2839
|
-
this.nodes.forEach(zc), this.sharedNodes.forEach(
|
|
2839
|
+
this.nodes.forEach(zc), this.sharedNodes.forEach(Nc);
|
|
2840
2840
|
}
|
|
2841
2841
|
scheduleUpdateProjection() {
|
|
2842
2842
|
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
|
|
@@ -2880,7 +2880,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2880
2880
|
if (!s)
|
|
2881
2881
|
return;
|
|
2882
2882
|
const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !_o(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
|
|
2883
|
-
o && (a ||
|
|
2883
|
+
o && (a || ke(this.latestValues) || u) && (s(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
|
|
2884
2884
|
}
|
|
2885
2885
|
measure(o = !0) {
|
|
2886
2886
|
const a = this.measurePageBox();
|
|
@@ -2921,25 +2921,25 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2921
2921
|
ue(l, o);
|
|
2922
2922
|
for (let c = 0; c < this.path.length; c++) {
|
|
2923
2923
|
const u = this.path[c];
|
|
2924
|
-
!a && u.options.layoutScroll && u.scroll && u !== u.root &&
|
|
2924
|
+
!a && u.options.layoutScroll && u.scroll && u !== u.root && We(l, {
|
|
2925
2925
|
x: -u.scroll.offset.x,
|
|
2926
2926
|
y: -u.scroll.offset.y
|
|
2927
|
-
}),
|
|
2927
|
+
}), ke(u.latestValues) && We(l, u.latestValues);
|
|
2928
2928
|
}
|
|
2929
|
-
return
|
|
2929
|
+
return ke(this.latestValues) && We(l, this.latestValues), l;
|
|
2930
2930
|
}
|
|
2931
2931
|
removeTransform(o) {
|
|
2932
2932
|
const a = H();
|
|
2933
2933
|
ue(a, o);
|
|
2934
2934
|
for (let l = 0; l < this.path.length; l++) {
|
|
2935
2935
|
const c = this.path[l];
|
|
2936
|
-
if (!c.instance || !
|
|
2936
|
+
if (!c.instance || !ke(c.latestValues))
|
|
2937
2937
|
continue;
|
|
2938
2938
|
Oi(c.latestValues) && c.updateSnapshot();
|
|
2939
2939
|
const u = H(), d = c.measurePageBox();
|
|
2940
2940
|
ue(u, d), ws(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
|
|
2941
2941
|
}
|
|
2942
|
-
return
|
|
2942
|
+
return ke(this.latestValues) && ws(a, this.latestValues), a;
|
|
2943
2943
|
}
|
|
2944
2944
|
setTargetDelta(o) {
|
|
2945
2945
|
this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
|
@@ -2976,7 +2976,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
2976
2976
|
const p = this.getClosestProjectingParent();
|
|
2977
2977
|
p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = H(), this.relativeTargetOrigin = H(), pt(this.relativeTargetOrigin, this.target, p.target), ue(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
2978
2978
|
}
|
|
2979
|
-
lt &&
|
|
2979
|
+
lt && Fe.resolvedTargetDeltas++;
|
|
2980
2980
|
}
|
|
2981
2981
|
}
|
|
2982
2982
|
}
|
|
@@ -3004,7 +3004,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3004
3004
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
3005
3005
|
return;
|
|
3006
3006
|
}
|
|
3007
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ls(this.prevProjectionDelta.x, this.projectionDelta.x), ls(this.prevProjectionDelta.y, this.projectionDelta.y)), ft(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Ms(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ms(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), lt &&
|
|
3007
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ls(this.prevProjectionDelta.x, this.projectionDelta.x), ls(this.prevProjectionDelta.y, this.projectionDelta.y)), ft(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Ms(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ms(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), lt && Fe.recalculatedProjection++;
|
|
3008
3008
|
}
|
|
3009
3009
|
hide() {
|
|
3010
3010
|
this.isVisible = !1;
|
|
@@ -3021,10 +3021,10 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3021
3021
|
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
3022
3022
|
}
|
|
3023
3023
|
createProjectionDeltas() {
|
|
3024
|
-
this.prevProjectionDelta =
|
|
3024
|
+
this.prevProjectionDelta = Ke(), this.projectionDelta = Ke(), this.projectionDeltaWithTransform = Ke();
|
|
3025
3025
|
}
|
|
3026
3026
|
setAnimationOrigin(o, a = !1) {
|
|
3027
|
-
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d =
|
|
3027
|
+
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = Ke();
|
|
3028
3028
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
3029
3029
|
const f = H(), p = l ? l.source : void 0, h = this.layout ? this.layout.source : void 0, m = p !== h, g = this.getStack(), v = !g || g.members.length <= 1, w = !!(m && !v && this.options.crossfade === !0 && !this.path.some(Gc));
|
|
3030
3030
|
this.animationProgress = 0;
|
|
@@ -3035,7 +3035,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3035
3035
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
3036
3036
|
}
|
|
3037
3037
|
startAnimation(o) {
|
|
3038
|
-
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (
|
|
3038
|
+
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (_e(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = j.update(() => {
|
|
3039
3039
|
Ot.hasAnimatedSinceResize = !0, this.currentAnimation = To(0, As, {
|
|
3040
3040
|
...o,
|
|
3041
3041
|
onUpdate: (a) => {
|
|
@@ -3066,7 +3066,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3066
3066
|
const f = we(this.layout.layoutBox.y);
|
|
3067
3067
|
l.y.min = o.target.y.min, l.y.max = l.y.min + f;
|
|
3068
3068
|
}
|
|
3069
|
-
ue(a, l),
|
|
3069
|
+
ue(a, l), We(a, u), ft(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
|
|
3070
3070
|
}
|
|
3071
3071
|
}
|
|
3072
3072
|
registerSharedNode(o, a) {
|
|
@@ -3135,7 +3135,7 @@ function Oo({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3135
3135
|
const d = this.getLead();
|
|
3136
3136
|
if (!this.projectionDelta || !this.layout || !d.target) {
|
|
3137
3137
|
const m = {};
|
|
3138
|
-
return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = di(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !
|
|
3138
|
+
return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = di(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !ke(this.latestValues) && (m.transform = u ? u({}, "") : "none", this.hasProjected = !1), m;
|
|
3139
3139
|
}
|
|
3140
3140
|
const f = d.animationValues || d.latestValues;
|
|
3141
3141
|
this.applyTransformsToTarget(), c.transform = Cc(this.projectionDeltaWithTransform, this.treeScale, f), u && (c.transform = u(f, c.transform));
|
|
@@ -3181,9 +3181,9 @@ function Ic(t) {
|
|
|
3181
3181
|
const f = o ? i.measuredBox[d] : i.layoutBox[d], p = we(n[d]);
|
|
3182
3182
|
f.max = f.min + p, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[d].max = t.relativeTarget[d].min + p);
|
|
3183
3183
|
});
|
|
3184
|
-
const a =
|
|
3184
|
+
const a = Ke();
|
|
3185
3185
|
ft(a, n, i.layoutBox);
|
|
3186
|
-
const l =
|
|
3186
|
+
const l = Ke();
|
|
3187
3187
|
o ? ft(l, t.applyTransform(s, !0), i.measuredBox) : ft(l, n, i.layoutBox);
|
|
3188
3188
|
const c = !_o(a);
|
|
3189
3189
|
let u = !1;
|
|
@@ -3214,7 +3214,7 @@ function Ic(t) {
|
|
|
3214
3214
|
t.options.transition = void 0;
|
|
3215
3215
|
}
|
|
3216
3216
|
function Oc(t) {
|
|
3217
|
-
lt &&
|
|
3217
|
+
lt && Fe.totalNodes++, t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
|
|
3218
3218
|
}
|
|
3219
3219
|
function Bc(t) {
|
|
3220
3220
|
t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
|
|
@@ -3241,10 +3241,10 @@ function Fc(t) {
|
|
|
3241
3241
|
function jc(t) {
|
|
3242
3242
|
t.calcProjection();
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3244
|
+
function $c(t) {
|
|
3245
3245
|
t.resetSkewAndRotation();
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3247
|
+
function Nc(t) {
|
|
3248
3248
|
t.removeLeadSnapshot();
|
|
3249
3249
|
}
|
|
3250
3250
|
function _s(t, e, i) {
|
|
@@ -3315,7 +3315,7 @@ function vi(t) {
|
|
|
3315
3315
|
e && t.removeEventListener("motioncomplete", e), Je.delete(t);
|
|
3316
3316
|
}
|
|
3317
3317
|
const [Yc, Jc] = Jt("AnimatePresenceContext");
|
|
3318
|
-
class Qc extends
|
|
3318
|
+
class Qc extends ze {
|
|
3319
3319
|
constructor(e) {
|
|
3320
3320
|
super(e), Cr(Br);
|
|
3321
3321
|
}
|
|
@@ -3485,7 +3485,7 @@ function Fs(t, e, i) {
|
|
|
3485
3485
|
const s = `onPress${i === "End" ? "" : i}`, r = n[s];
|
|
3486
3486
|
r && j.postRender(() => r(e, Fo(e)));
|
|
3487
3487
|
}
|
|
3488
|
-
class ld extends
|
|
3488
|
+
class ld extends ze {
|
|
3489
3489
|
isActive() {
|
|
3490
3490
|
return !!this.state.options.press;
|
|
3491
3491
|
}
|
|
@@ -3511,7 +3511,7 @@ function js(t, e, i) {
|
|
|
3511
3511
|
const s = `onHover${i}`, r = n[s];
|
|
3512
3512
|
r && j.postRender(() => r(e, Fo(e)));
|
|
3513
3513
|
}
|
|
3514
|
-
class ud extends
|
|
3514
|
+
class ud extends ze {
|
|
3515
3515
|
isActive() {
|
|
3516
3516
|
return !!this.state.getOptions().hover;
|
|
3517
3517
|
}
|
|
@@ -3549,13 +3549,13 @@ function dd(t, e, { root: i, margin: n, amount: s = "some" } = {}) {
|
|
|
3549
3549
|
});
|
|
3550
3550
|
return r.forEach((c) => l.observe(c)), () => l.disconnect();
|
|
3551
3551
|
}
|
|
3552
|
-
function
|
|
3552
|
+
function $s(t, e, i) {
|
|
3553
3553
|
const n = t.options;
|
|
3554
3554
|
n.inView && t.setActive("inView", i === "Enter");
|
|
3555
3555
|
const s = `onViewport${i}`, r = n[s];
|
|
3556
3556
|
r && j.postRender(() => r(e));
|
|
3557
3557
|
}
|
|
3558
|
-
class fd extends
|
|
3558
|
+
class fd extends ze {
|
|
3559
3559
|
isActive() {
|
|
3560
3560
|
return !!this.state.getOptions().inView;
|
|
3561
3561
|
}
|
|
@@ -3566,8 +3566,8 @@ class fd extends Be {
|
|
|
3566
3566
|
const e = this.state.element;
|
|
3567
3567
|
e && (this.unmount = dd(
|
|
3568
3568
|
e,
|
|
3569
|
-
(i) => (
|
|
3570
|
-
|
|
3569
|
+
(i) => ($s(this.state, i, "Enter"), (n) => {
|
|
3570
|
+
$s(this.state, i, "Leave");
|
|
3571
3571
|
})
|
|
3572
3572
|
));
|
|
3573
3573
|
}
|
|
@@ -3581,15 +3581,15 @@ function jo(t) {
|
|
|
3581
3581
|
return e === null ? (e = t, i) : !1;
|
|
3582
3582
|
};
|
|
3583
3583
|
}
|
|
3584
|
-
const
|
|
3584
|
+
const Ns = jo("dragHorizontal"), Zs = jo("dragVertical");
|
|
3585
3585
|
function pd(t) {
|
|
3586
3586
|
let e = !1;
|
|
3587
3587
|
if (t === "y")
|
|
3588
3588
|
e = Zs();
|
|
3589
3589
|
else if (t === "x")
|
|
3590
|
-
e =
|
|
3590
|
+
e = Ns();
|
|
3591
3591
|
else {
|
|
3592
|
-
const i =
|
|
3592
|
+
const i = Ns(), n = Zs();
|
|
3593
3593
|
i && n ? e = () => {
|
|
3594
3594
|
i(), n();
|
|
3595
3595
|
} : (i && i(), n && n());
|
|
@@ -3688,7 +3688,7 @@ function qs(t, e) {
|
|
|
3688
3688
|
if (Ed(i))
|
|
3689
3689
|
return i.add(e);
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function $o({
|
|
3692
3692
|
top: t,
|
|
3693
3693
|
left: e,
|
|
3694
3694
|
right: i,
|
|
@@ -3717,7 +3717,7 @@ function Ys(t, e) {
|
|
|
3717
3717
|
t.min = t.min + e, t.max = t.max + e;
|
|
3718
3718
|
}
|
|
3719
3719
|
function Vd(t, e) {
|
|
3720
|
-
return
|
|
3720
|
+
return $o(
|
|
3721
3721
|
Pd(t.getBoundingClientRect(), e)
|
|
3722
3722
|
);
|
|
3723
3723
|
}
|
|
@@ -3857,7 +3857,7 @@ class Ld {
|
|
|
3857
3857
|
const a = i(
|
|
3858
3858
|
Md(o)
|
|
3859
3859
|
);
|
|
3860
|
-
this.hasMutatedConstraints = !!a, a && (o =
|
|
3860
|
+
this.hasMutatedConstraints = !!a, a && (o = $o(a));
|
|
3861
3861
|
}
|
|
3862
3862
|
return o;
|
|
3863
3863
|
}
|
|
@@ -4032,7 +4032,7 @@ function _d(t, e = 10) {
|
|
|
4032
4032
|
let i = null;
|
|
4033
4033
|
return Math.abs(t.y) > e ? i = "y" : Math.abs(t.x) > e && (i = "x"), i;
|
|
4034
4034
|
}
|
|
4035
|
-
class Dd extends
|
|
4035
|
+
class Dd extends ze {
|
|
4036
4036
|
constructor(e) {
|
|
4037
4037
|
super(e), this.removeGroupControls = re, this.removeListeners = re, this.controls = new Ld(e.visualElement);
|
|
4038
4038
|
}
|
|
@@ -4129,20 +4129,20 @@ for (const t in Qs)
|
|
|
4129
4129
|
ki[t] = {
|
|
4130
4130
|
isEnabled: (e) => Qs[t].some((i) => !!e[i])
|
|
4131
4131
|
};
|
|
4132
|
-
const Rd = typeof window < "u", Fi = { current: null },
|
|
4132
|
+
const Rd = typeof window < "u", Fi = { current: null }, No = { current: !1 };
|
|
4133
4133
|
function kd() {
|
|
4134
|
-
if (
|
|
4134
|
+
if (No.current = !0, !!Rd)
|
|
4135
4135
|
if (window.matchMedia) {
|
|
4136
4136
|
const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Fi.current = t.matches;
|
|
4137
4137
|
t.addListener(e), e();
|
|
4138
4138
|
} else
|
|
4139
4139
|
Fi.current = !1;
|
|
4140
4140
|
}
|
|
4141
|
-
const Fd = [...co, ee,
|
|
4142
|
-
function
|
|
4141
|
+
const Fd = [...co, ee, Ie], jd = (t) => Fd.find(uo(t));
|
|
4142
|
+
function $d(t) {
|
|
4143
4143
|
return t !== null && typeof t == "object" && typeof t.start == "function";
|
|
4144
4144
|
}
|
|
4145
|
-
function
|
|
4145
|
+
function Nd(t) {
|
|
4146
4146
|
return typeof t == "string" || Array.isArray(t);
|
|
4147
4147
|
}
|
|
4148
4148
|
const Zd = [
|
|
@@ -4155,7 +4155,7 @@ const Zd = [
|
|
|
4155
4155
|
"exit"
|
|
4156
4156
|
], Gd = ["initial", ...Zd];
|
|
4157
4157
|
function Zo(t) {
|
|
4158
|
-
return
|
|
4158
|
+
return $d(t.animate) || Gd.some((e) => Nd(t[e]));
|
|
4159
4159
|
}
|
|
4160
4160
|
function Xd(t) {
|
|
4161
4161
|
return !!(Zo(t) || t.variants);
|
|
@@ -4233,10 +4233,10 @@ class Xo {
|
|
|
4233
4233
|
}
|
|
4234
4234
|
}
|
|
4235
4235
|
mount(e) {
|
|
4236
|
-
this.current = e,
|
|
4236
|
+
this.current = e, Ce.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((i, n) => this.bindToMotionValue(n, i)), No.current || kd(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Fi.current, process.env.NODE_ENV !== "production" && sn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
4237
4237
|
}
|
|
4238
4238
|
unmount() {
|
|
4239
|
-
|
|
4239
|
+
Ce.delete(this.current), this.projection && this.projection.unmount(), _e(this.notifyUpdate), _e(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
4240
4240
|
for (const e in this.events)
|
|
4241
4241
|
this.events[e].clear();
|
|
4242
4242
|
for (const e in this.features) {
|
|
@@ -4366,7 +4366,7 @@ class Xo {
|
|
|
4366
4366
|
readValue(e, i) {
|
|
4367
4367
|
var n;
|
|
4368
4368
|
let s = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (n = this.getBaseTargetFromProps(this.props, e)) !== null && n !== void 0 ? n : this.readValueFromInstance(this.current, e, this.options);
|
|
4369
|
-
return s != null && (typeof s == "string" && (ro(s) || eo(s)) ? s = parseFloat(s) : !jd(s) &&
|
|
4369
|
+
return s != null && (typeof s == "string" && (ro(s) || eo(s)) ? s = parseFloat(s) : !jd(s) && Ie.test(i) && (s = io(e, i)), this.setBaseTarget(e, ie(s) ? s.get() : s)), ie(s) ? s.get() : s;
|
|
4370
4370
|
}
|
|
4371
4371
|
/**
|
|
4372
4372
|
* Set the base target to later animate back to. This is currently
|
|
@@ -4699,11 +4699,11 @@ function gf(t, { defaultTransition: e = {}, ...i } = {}, n, s) {
|
|
|
4699
4699
|
R = Pt.ease, D = Pt.duration;
|
|
4700
4700
|
}
|
|
4701
4701
|
D ?? (D = r);
|
|
4702
|
-
const
|
|
4702
|
+
const Re = d + X;
|
|
4703
4703
|
C.length === 1 && C[0] === 0 && (C[1] = 1);
|
|
4704
4704
|
const Ln = C.length - S.length;
|
|
4705
4705
|
if (Ln > 0 && wo(C, Ln), S.length === 1 && S.unshift(null), k) {
|
|
4706
|
-
|
|
4706
|
+
Le(k < vf, "Repeat count too high, must be less than 20"), D = cf(D, k);
|
|
4707
4707
|
const nt = [...S], Et = [...C];
|
|
4708
4708
|
R = Array.isArray(R) ? [...R] : [R];
|
|
4709
4709
|
const Pt = [...R];
|
|
@@ -4714,8 +4714,8 @@ function gf(t, { defaultTransition: e = {}, ...i } = {}, n, s) {
|
|
|
4714
4714
|
}
|
|
4715
4715
|
pf(C, k);
|
|
4716
4716
|
}
|
|
4717
|
-
const _n =
|
|
4718
|
-
ff(V, S, R, C,
|
|
4717
|
+
const _n = Re + D;
|
|
4718
|
+
ff(V, S, R, C, Re, _n), w = Math.max(X + D, w), f = Math.max(_n, f);
|
|
4719
4719
|
};
|
|
4720
4720
|
if (ie(m)) {
|
|
4721
4721
|
const x = sr(m, a);
|
|
@@ -4877,7 +4877,7 @@ function _f(t) {
|
|
|
4877
4877
|
latestValues: {}
|
|
4878
4878
|
}
|
|
4879
4879
|
}, i = Eo(t) ? new Qo(e) : new Yo(e);
|
|
4880
|
-
i.mount(t),
|
|
4880
|
+
i.mount(t), Ce.set(t, i);
|
|
4881
4881
|
}
|
|
4882
4882
|
function Df(t) {
|
|
4883
4883
|
const e = {
|
|
@@ -4890,7 +4890,7 @@ function Df(t) {
|
|
|
4890
4890
|
latestValues: {}
|
|
4891
4891
|
}
|
|
4892
4892
|
}, i = new Lf(e);
|
|
4893
|
-
i.mount(t),
|
|
4893
|
+
i.mount(t), Ce.set(t, i);
|
|
4894
4894
|
}
|
|
4895
4895
|
function If(t, e) {
|
|
4896
4896
|
return ie(t) || typeof t == "number" || typeof t == "string" && !bn(e);
|
|
@@ -4901,11 +4901,11 @@ function ia(t, e, i, n) {
|
|
|
4901
4901
|
s.push(To(t, bn(e) && e.default || e, i && (i.default || i)));
|
|
4902
4902
|
else {
|
|
4903
4903
|
const r = ta(t, e, n), o = r.length;
|
|
4904
|
-
|
|
4904
|
+
Le(!!o, "No valid elements provided.");
|
|
4905
4905
|
for (let a = 0; a < o; a++) {
|
|
4906
4906
|
const l = r[a], c = l instanceof Element ? _f : Df;
|
|
4907
|
-
|
|
4908
|
-
const u =
|
|
4907
|
+
Ce.has(l) || c(l);
|
|
4908
|
+
const u = Ce.get(l), d = { ...i };
|
|
4909
4909
|
"delay" in d && typeof d.delay == "function" && (d.delay = d.delay(a, o)), s.push(...Af(u, { ...e, transition: d }, {}));
|
|
4910
4910
|
}
|
|
4911
4911
|
}
|
|
@@ -4923,7 +4923,7 @@ function Bf(t) {
|
|
|
4923
4923
|
function zf(t) {
|
|
4924
4924
|
function e(i, n, s) {
|
|
4925
4925
|
let r = [];
|
|
4926
|
-
return Bf(i) ? r = Of(i, n, t) : r = ia(i, n, s, t), new
|
|
4926
|
+
return Bf(i) ? r = Of(i, n, t) : r = ia(i, n, s, t), new Nr(r);
|
|
4927
4927
|
}
|
|
4928
4928
|
return e;
|
|
4929
4929
|
}
|
|
@@ -5046,7 +5046,7 @@ class jf {
|
|
|
5046
5046
|
if (qi(
|
|
5047
5047
|
!!e,
|
|
5048
5048
|
"Animation state must be mounted with valid Element"
|
|
5049
|
-
), this.element = e, this.options = i, Ut.set(e, this),
|
|
5049
|
+
), this.element = e, this.options = i, Ut.set(e, this), Ce.get(e) || (this.visualElement.mount(e), Ce.set(e, this.visualElement)), this.visualElement.state = this, this.updateOptions(), typeof this.initial == "object")
|
|
5050
5050
|
for (const s in this.initial)
|
|
5051
5051
|
this.visualElement.setStaticValue(s, this.initial[s]);
|
|
5052
5052
|
else if (typeof this.initial == "string" && this.options.variants)
|
|
@@ -5172,20 +5172,20 @@ class jf {
|
|
|
5172
5172
|
function Ht(t) {
|
|
5173
5173
|
return (t == null ? void 0 : t.nodeType) === 3 || (t == null ? void 0 : t.nodeType) === 8 ? Ht(t.nextSibling) : t;
|
|
5174
5174
|
}
|
|
5175
|
-
function
|
|
5175
|
+
function $f(t) {
|
|
5176
5176
|
var e;
|
|
5177
5177
|
const i = ((e = Ht(t.$el)) == null ? void 0 : e.style.display) === "none";
|
|
5178
5178
|
return t.$.vnode.transition && i;
|
|
5179
5179
|
}
|
|
5180
|
-
const
|
|
5180
|
+
const Nf = {
|
|
5181
5181
|
reduceMotion: "never",
|
|
5182
5182
|
transition: void 0,
|
|
5183
5183
|
nonce: void 0
|
|
5184
5184
|
}, [Zf] = Jt("MotionConfig");
|
|
5185
5185
|
function sa() {
|
|
5186
|
-
return Zf(F(() =>
|
|
5186
|
+
return Zf(F(() => Nf));
|
|
5187
5187
|
}
|
|
5188
|
-
const
|
|
5188
|
+
const Ge = /* @__PURE__ */ $({
|
|
5189
5189
|
name: "Motion",
|
|
5190
5190
|
inheritAttrs: !1,
|
|
5191
5191
|
__name: "Motion",
|
|
@@ -5284,8 +5284,8 @@ const Ze = /* @__PURE__ */ N({
|
|
|
5284
5284
|
const u = _a().proxy;
|
|
5285
5285
|
Da(() => {
|
|
5286
5286
|
c.beforeMount();
|
|
5287
|
-
}),
|
|
5288
|
-
c.mount(Ht(u.$el), l(),
|
|
5287
|
+
}), Be(() => {
|
|
5288
|
+
c.mount(Ht(u.$el), l(), $f(u));
|
|
5289
5289
|
}), Xi(() => c.beforeUnmount()), wt(() => {
|
|
5290
5290
|
const h = Ht(u.$el);
|
|
5291
5291
|
h != null && h.isConnected || c.unmount();
|
|
@@ -5380,7 +5380,7 @@ function Gf(t) {
|
|
|
5380
5380
|
styles: e
|
|
5381
5381
|
};
|
|
5382
5382
|
}
|
|
5383
|
-
const Xf = /* @__PURE__ */
|
|
5383
|
+
const Xf = /* @__PURE__ */ $({
|
|
5384
5384
|
name: "AnimatePresence",
|
|
5385
5385
|
inheritAttrs: !0,
|
|
5386
5386
|
__name: "AnimatePresence",
|
|
@@ -5397,7 +5397,7 @@ const Xf = /* @__PURE__ */ N({
|
|
|
5397
5397
|
initial: e.initial,
|
|
5398
5398
|
custom: e.custom
|
|
5399
5399
|
};
|
|
5400
|
-
Jc(i),
|
|
5400
|
+
Jc(i), Be(() => {
|
|
5401
5401
|
i.initial = void 0;
|
|
5402
5402
|
});
|
|
5403
5403
|
function n(u) {
|
|
@@ -5453,7 +5453,7 @@ function it(t) {
|
|
|
5453
5453
|
})
|
|
5454
5454
|
};
|
|
5455
5455
|
}
|
|
5456
|
-
var Uf = /* @__PURE__ */ ((t) => (t.BANNER_V2 = "banner_v2", t.TITLE_V2 = "title_v2", t.TEXT_V2 = "text_v2", t.MEDIA_V2 = "media_v2", t.TAB_TEXT_MEDIA_V2 = "tabTextMedia_v2", t.CAROUSEL_TEXT_MEDIA_V2 = "carouselTextMedia_v2", t.CASE_SHOW_V2 = "caseShow_v2", t))(Uf || {}), Hf = /* @__PURE__ */ ((t) => (t.LEFT = "left", t.RIGHT = "right", t.CENTER = "center", t.JUSTIFY = "justify", t))(Hf || {}), ji = /* @__PURE__ */ ((t) => (t.MODULE_TITLE = "moduleTitle", t.SORT_TITLE = "sortTitles", t))(ji || {}),
|
|
5456
|
+
var Uf = /* @__PURE__ */ ((t) => (t.BANNER_V2 = "banner_v2", t.TITLE_V2 = "title_v2", t.TEXT_V2 = "text_v2", t.MEDIA_V2 = "media_v2", t.TAB_TEXT_MEDIA_V2 = "tabTextMedia_v2", t.CAROUSEL_TEXT_MEDIA_V2 = "carouselTextMedia_v2", t.CASE_SHOW_V2 = "caseShow_v2", t))(Uf || {}), Hf = /* @__PURE__ */ ((t) => (t.LEFT = "left", t.RIGHT = "right", t.CENTER = "center", t.JUSTIFY = "justify", t))(Hf || {}), ji = /* @__PURE__ */ ((t) => (t.MODULE_TITLE = "moduleTitle", t.SORT_TITLE = "sortTitles", t))(ji || {}), Xe = /* @__PURE__ */ ((t) => (t.TEXT_MEDIA = "textMedia", t.MEDIA = "media", t.TABLE = "table", t))(Xe || {}), Ue = /* @__PURE__ */ ((t) => (t.IMAGE = "image", t.VIDEO = "video", t.DIFF = "diff", t))(Ue || {}), Wf = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t))(Wf || {});
|
|
5457
5457
|
const Z = {
|
|
5458
5458
|
initial: { y: 40, opacity: 0 },
|
|
5459
5459
|
transition: { duration: 0.6, ease: "easeOut" },
|
|
@@ -5462,7 +5462,7 @@ const Z = {
|
|
|
5462
5462
|
y: 0
|
|
5463
5463
|
},
|
|
5464
5464
|
viewport: { once: !0, amount: 0.5 }
|
|
5465
|
-
}, Kf = { class: "sortNumber" }, qf = /* @__PURE__ */
|
|
5465
|
+
}, Kf = { class: "sortNumber" }, qf = /* @__PURE__ */ $({
|
|
5466
5466
|
name: "FTitleV2",
|
|
5467
5467
|
__name: "FTitle",
|
|
5468
5468
|
props: {
|
|
@@ -5480,7 +5480,7 @@ const Z = {
|
|
|
5480
5480
|
class: "title_v2",
|
|
5481
5481
|
style: W(_(i))
|
|
5482
5482
|
}, [
|
|
5483
|
-
|
|
5483
|
+
N(_(Ge), {
|
|
5484
5484
|
is: "div",
|
|
5485
5485
|
class: "m-auto w-1200",
|
|
5486
5486
|
initial: _(Z).initial,
|
|
@@ -5504,7 +5504,7 @@ const Z = {
|
|
|
5504
5504
|
}, 8, ["initial", "transition", "while-in-view", "viewport"])
|
|
5505
5505
|
], 4));
|
|
5506
5506
|
}
|
|
5507
|
-
}), ra = /* @__PURE__ */ oe(qf, [["__scopeId", "data-v-65afca16"]]), Yf = /* @__PURE__ */
|
|
5507
|
+
}), ra = /* @__PURE__ */ oe(qf, [["__scopeId", "data-v-65afca16"]]), Yf = /* @__PURE__ */ $({
|
|
5508
5508
|
name: "FTextV2",
|
|
5509
5509
|
__name: "FText",
|
|
5510
5510
|
props: {
|
|
@@ -5519,7 +5519,7 @@ const Z = {
|
|
|
5519
5519
|
class: "text_v2 csr-v2-text",
|
|
5520
5520
|
style: W(_(i))
|
|
5521
5521
|
}, [
|
|
5522
|
-
|
|
5522
|
+
N(_(Ge), {
|
|
5523
5523
|
is: "div",
|
|
5524
5524
|
class: "m-auto w-1200",
|
|
5525
5525
|
initial: _(Z).initial,
|
|
@@ -5536,7 +5536,7 @@ const Z = {
|
|
|
5536
5536
|
}, 8, ["initial", "transition", "while-in-view", "viewport"])
|
|
5537
5537
|
], 4));
|
|
5538
5538
|
}
|
|
5539
|
-
}), oa = /* @__PURE__ */ oe(Yf, [["__scopeId", "data-v-2ce7f560"]]), aa = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAABgCAYAAADCWOqAAAAL10lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMong+vuzLvuy1I+KtgLe2fRw4zlX/l+0Ct0r6a9s/8/Ef//E/zXNCPMBXfdVXPbi19l3Aa3PV/2e/XUp5n4/5mI+5lSsQz/SlX/qlLx0RvwUc56r/9yTd2lp7m0/8xE/8awABfNVXfdWDM/O3bD+Yq656tt1Syst8zMd8zK0C+PIv//LfAl6bq656Xr/98R//8a+jL//yL39r4Ke46qoXwPbr6Cu+4iu+y/Z7c9VVL4CkW/XlX/7lfxXw0lx11Qsg6VZ9+Zd/+UXgOFdd9YLt6su//MvNVVe9cOjLv/zLzVVXvXDoy7/8y81VV71w6Mu//MvNVVe9cOjLv/zLzVVXvXDoy7/8y81VV71w6Mu//MvNVVe9cOjLv/zLzX8wSd8N/E5m3goQEQ+2/VbAW3PV/0boy7/8y81/nN8upbzPx3zMx9zK8/FVX/VVD26tfRXw1lz1vwn68i//cvMfQNJ3f9zHfdz78CL4iq/4iq+y/dFc9b8F+vIv/3Lz7yTp1o/7uI97CP8KX/7lX/5XwEtz1f8G6Mu//MvNv5Pt1/mET/iE3+Zf4cu+7MteW9JvcdX/BujLv/zLzb+DpFs/7uM+7iH8G3zFV3zF020/mKv+p0Nf/uVfbv59fvrjP/7j34Z/g6/4iq/4LtvvzVX/06Ev//IvN/8Otj/nEz7hEz6bf4Mv+7Iv+2xJn8VV/9OhL//yLzf/DpK++uM+7uM+hn+Dr/iKr/gq2x/NVf/ToS//8i83/z6//fEf//Gvw7/Bl3/5l/8W8Npc9T8d+vIv/3Lz71RKOfExH/Mxu/wrfNVXfdWDW2tP56r/DdCXf/mXm38nSV/9cR/3cR/Dv8JXfMVXfJft9+aq/w3Ql3/5l5v/ALZf5xM+4RN+mxfBl3/5l7818FNc9b8F+vIv/3LzH2PX9ud8wid8wlfzQnzFV3zFe9v+KuA4V/1vgb78y7/c/AeS9N2Z+T2f8Amf8Ns8wJd92Ze9tqTPAl6b/yKSvjsz/0bSawFvzVX/VujLv/zLzX+OXeBWScdtHweO81/I9ut8wid8wm/zTF/+5V/+1sBPcdW/BfryL/9y83+M7Y/5hE/4hK/muXzFV3zFe9v+Lq7610Jf/uVfbv4PkfTVH/dxH/cxvABf9mVf9tGSvoqr/jXQl3/5l5v/IyTd+nEf93EP4V/wZV/2ZZ8t6bO46kWFvvzLv9z8HyDp1oh4nY/5mI+5lRfBl33ZZ322pM/iqhcF+vIv/3Lzf8PbfPzHf/xP86/wFV/xFV9l+6O56l+CvvzLv9z8L2f7cz7hEz7hs/k3+Iqv+Irvsv3eXPXCoC//8i83/7v99Md//Me/Df8OX/7lX/5XwEvzn2NX0k/bfjDw2vzvhL78y7/c/C8l6daIeJ2P+ZiPuZV/h6/6qq863lr7LeCl+Q8k6asj4nM+5mM+ZhfgS7/0S186In4LOM7/LujLv/zLzf9Ou6WUl/mYj/mYW/kP8FVf9VUPzszfsv1g/gNI+u6P+7iPex+ey5d/+Ze/NfBT/O+CvvzLv9z8L2T7Yz7hEz7hq/kP9FVf9VUPzszfsv1g/n3++uM//uNfhhfgK77iK77K9kfzvwf68i//cvO/jKSv/riP+7iP4T/BV33VVz04M3/L9oP5N5B0a0S8zMd8zMfs8gJ81Vd91fHW2m8BL83/DujLv/zLzf8uf/3xH//xL8N/oi/90i996Yj4rYDjXPW/BfryL/9y87+UpFsj4mU+5mM+Zpd/gy/7si97bUmfBbz0/yFJXx0Rn/MxH/MxuwBf+qVf+tIR8VvAca763wJ9+Zd/uflfStKtEfEyH/MxH7PLv8GXfdmXvbakzwJemv8gd0v6adunba8dkb4BeG2u+t8CffmXf7l5gVpr/2rbD5b0VVz1v4Wk78vM75H0u8Bb89+A/gL4YCQ9ICJ+PTPf5WM+5mN28QLZPp2Zn5mZH5KZ35OZ35OZfxsRj7f9/q21x4+Ix0fE4yLizjvPfIqkb+Oq/+kQcGr72RH5+bZ/NTPfPiLeIiLeJCIeHxFvmJk/lpk/kJmvyVUvHER3Z+YbmNcrM98jIr4nIn4yIn4pIn4lIn4lIn4573HLX/7lX27gQVz1Px3amvteZn5TZv5qRHx7RPxMRLxpZn5IZj4sM98qM9+6tfbw1tpjIuK1IuKBmfnAiHiNiHhARDwgIh4QEffPzHtHxANaa/eKiHtExD0i4p4RcU9Jj5Z0t6RHSbpN0q2SbpN0W0TcFhG3RcRf8x63fPmXf3lz1f90iDgzD63M/S0i3iQifiAifj0ivi4iHp2Zb5+Zb5GZb5KZb5KZb5KZb5CZr5+Zr5eZr5WZr5mZr5GZr5GZr5GZr5GZD4qI10j/N9Ijk/TI9D+RHiHpEZIeIemRERFmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmYmd3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1dVVVVVVZmZkZGRLi7m5kKz0xmV3d1d3dPz8zMzMxMong+vuzLvuy1I+KtgLe2fRw4zlX/l+0Ct0r6a9s/8/Ef//E/zXNCPMBXfdVXPbi19l3Aa3PV/2e/XUp5n4/5mI+5lSsQz/SlX/qlLx0RvwUc56r/9yTd2lp7m0/8xE/8awABfNVXfdWDM/O3bD+Yq656tt1Syst8zMd8zK0C+PIv//LfAl6bq656Xr/98R//8a+jL//yL39r4Ke46qoXwPbr6Cu+4iu+y/Z7c9VVL4CkW/XlX/7lfxXw0lx11Qsg6VZ9+Zd/+UXgOFdd9YLt6su//MvNVVe9cOjLv/zLzVVXvXDoy7/8y81VV71w6Mu//MvNVVe9cOjLv/zLzVVXvXDoy7/8y81VV71w6Mu//MvNVVe9cOjLv/zLzVVXvXDoy7/8y81/sB8+4AM+4H1ba2/KVf/XkfTlH/dxH/ewiHhnrnqBbr311k981Ed91K2SXpur/q8j6cs/7uM+7mER8c5c9QLT13/9139yRLy1pNfmqv/rSPqyj/u4j/v/AEmvzVX/fyXpZVtrb8lV/1dprb05V1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddVVV1111VVXXXXVVVddddV/gP8BZBMckFPBhsAAAAASUVORK5CYII=", Jf = ["alt"], Qf = ["src", "width"], ep = /* @__PURE__ */
|
|
5539
|
+
}), oa = /* @__PURE__ */ oe(Yf, [["__scopeId", "data-v-2ce7f560"]]), aa = "data:image/png;base64,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", Jf = ["alt"], Qf = ["src", "width"], ep = /* @__PURE__ */ $({
|
|
5540
5540
|
__name: "index",
|
|
5541
5541
|
props: {
|
|
5542
5542
|
src: {
|
|
@@ -5562,7 +5562,7 @@ const Z = {
|
|
|
5562
5562
|
},
|
|
5563
5563
|
setup(t) {
|
|
5564
5564
|
const e = t, i = B(), n = B(), s = B(!1), r = B(!1), o = B(null);
|
|
5565
|
-
|
|
5565
|
+
Be(() => {
|
|
5566
5566
|
if (!i.value) return;
|
|
5567
5567
|
const u = new IntersectionObserver(
|
|
5568
5568
|
(d) => {
|
|
@@ -5616,7 +5616,7 @@ const Z = {
|
|
|
5616
5616
|
}, null, 8, Qf)
|
|
5617
5617
|
], 6));
|
|
5618
5618
|
}
|
|
5619
|
-
}), Pe = /* @__PURE__ */ oe(ep, [["__scopeId", "data-v-d0696b52"]]), tp = ["loop", "autoplay", "muted", "controls", "controlslist"], ip = ["src", "width"], np = /* @__PURE__ */
|
|
5619
|
+
}), Pe = /* @__PURE__ */ oe(ep, [["__scopeId", "data-v-d0696b52"]]), tp = ["loop", "autoplay", "muted", "controls", "controlslist"], ip = ["src", "width"], np = /* @__PURE__ */ $({
|
|
5620
5620
|
__name: "index",
|
|
5621
5621
|
props: {
|
|
5622
5622
|
src: {
|
|
@@ -5658,7 +5658,7 @@ const Z = {
|
|
|
5658
5658
|
},
|
|
5659
5659
|
setup(t) {
|
|
5660
5660
|
const e = t, i = B(), n = B(), s = B(!1), r = B(!1), o = B(null);
|
|
5661
|
-
|
|
5661
|
+
Be(() => {
|
|
5662
5662
|
if (!i.value) return;
|
|
5663
5663
|
const u = new IntersectionObserver(
|
|
5664
5664
|
(d) => {
|
|
@@ -5715,7 +5715,7 @@ const Z = {
|
|
|
5715
5715
|
}, null, 8, ip)
|
|
5716
5716
|
], 6));
|
|
5717
5717
|
}
|
|
5718
|
-
}),
|
|
5718
|
+
}), Oe = /* @__PURE__ */ oe(np, [["__scopeId", "data-v-e5a9b253"]]);
|
|
5719
5719
|
function yt(t) {
|
|
5720
5720
|
if (!t)
|
|
5721
5721
|
return "";
|
|
@@ -5736,7 +5736,7 @@ const rp = {
|
|
|
5736
5736
|
}, op = {
|
|
5737
5737
|
key: 1,
|
|
5738
5738
|
class: "placeholder"
|
|
5739
|
-
}, ap = { key: 2 }, lp = { key: 3 }, up = /* @__PURE__ */
|
|
5739
|
+
}, ap = { key: 2 }, lp = { key: 3 }, up = /* @__PURE__ */ $({
|
|
5740
5740
|
name: "FMediaV2",
|
|
5741
5741
|
__name: "FMedia",
|
|
5742
5742
|
props: {
|
|
@@ -5751,7 +5751,7 @@ const rp = {
|
|
|
5751
5751
|
class: "media_v2",
|
|
5752
5752
|
style: W(_(i))
|
|
5753
5753
|
}, [
|
|
5754
|
-
|
|
5754
|
+
N(_(Ge), {
|
|
5755
5755
|
is: "div",
|
|
5756
5756
|
class: "m-auto w-1200",
|
|
5757
5757
|
initial: _(Z).initial,
|
|
@@ -5761,11 +5761,11 @@ const rp = {
|
|
|
5761
5761
|
}, {
|
|
5762
5762
|
default: ne(() => [
|
|
5763
5763
|
n.value ? n.value === "other" ? (M(), L("div", op, " 不支持的文件类型 ")) : n.value === "image" ? (M(), L("div", ap, [
|
|
5764
|
-
|
|
5764
|
+
N(Pe, {
|
|
5765
5765
|
src: e.config.src
|
|
5766
5766
|
}, null, 8, ["src"])
|
|
5767
5767
|
])) : n.value === "video" ? (M(), L("div", lp, [
|
|
5768
|
-
|
|
5768
|
+
N(Oe, {
|
|
5769
5769
|
src: e.config.src,
|
|
5770
5770
|
controls: ""
|
|
5771
5771
|
}, null, 8, ["src"])
|
|
@@ -5778,7 +5778,7 @@ const rp = {
|
|
|
5778
5778
|
}), la = /* @__PURE__ */ oe(up, [["__scopeId", "data-v-7c521c80"]]), cp = { class: "editable-table" }, dp = {
|
|
5779
5779
|
key: 0,
|
|
5780
5780
|
class: "toolbar"
|
|
5781
|
-
}, fp = { class: "empty-hint" }, pp = { class: "table-wrap" }, hp = { key: 0 }, mp = ["rowspan", "colspan"], vp = { class: "cell-content csr-v2-description" }, gp = ["onUpdate:modelValue"], yp = ["onClick"], wp = /* @__PURE__ */
|
|
5781
|
+
}, fp = { class: "empty-hint" }, pp = { class: "table-wrap" }, hp = { key: 0 }, mp = ["rowspan", "colspan"], vp = { class: "cell-content csr-v2-description" }, gp = ["onUpdate:modelValue"], yp = ["onClick"], wp = /* @__PURE__ */ $({
|
|
5782
5782
|
__name: "EditableTable",
|
|
5783
5783
|
props: {
|
|
5784
5784
|
modelValue: {},
|
|
@@ -5841,7 +5841,7 @@ const rp = {
|
|
|
5841
5841
|
v.splice(m, 1);
|
|
5842
5842
|
}), c());
|
|
5843
5843
|
}
|
|
5844
|
-
return
|
|
5844
|
+
return Be(() => {
|
|
5845
5845
|
i.modelValue || u();
|
|
5846
5846
|
}), (m, g) => (M(), L("div", cp, [
|
|
5847
5847
|
t.mode === "edit" ? (M(), L("div", dp, [
|
|
@@ -5854,8 +5854,8 @@ const rp = {
|
|
|
5854
5854
|
onClick: p
|
|
5855
5855
|
}, "+ 列")
|
|
5856
5856
|
])) : Y("", !0),
|
|
5857
|
-
|
|
5858
|
-
[
|
|
5857
|
+
Ve(P("div", fp, " 暂无数据 ", 512), [
|
|
5858
|
+
[je, !a.value && !i.modelValue]
|
|
5859
5859
|
]),
|
|
5860
5860
|
P("div", pp, [
|
|
5861
5861
|
P("table", {
|
|
@@ -5872,7 +5872,7 @@ const rp = {
|
|
|
5872
5872
|
P("tbody", null, [
|
|
5873
5873
|
(M(!0), L(te, null, fe(l.rows, (v, w) => (M(), L(te, { key: w }, [
|
|
5874
5874
|
v.some((b) => !b.hidden) ? (M(), L("tr", hp, [
|
|
5875
|
-
(M(!0), L(te, null, fe(v, (b, x) =>
|
|
5875
|
+
(M(!0), L(te, null, fe(v, (b, x) => Ve((M(), L("td", {
|
|
5876
5876
|
key: b.id,
|
|
5877
5877
|
rowspan: b.rowspan,
|
|
5878
5878
|
colspan: b.colspan,
|
|
@@ -5885,7 +5885,7 @@ const rp = {
|
|
|
5885
5885
|
}, [
|
|
5886
5886
|
P("div", vp, [
|
|
5887
5887
|
t.mode === "edit" ? (M(), L(te, { key: 0 }, [
|
|
5888
|
-
|
|
5888
|
+
Ve(P("input", {
|
|
5889
5889
|
"onUpdate:modelValue": (y) => b.content = y,
|
|
5890
5890
|
class: "cell-input",
|
|
5891
5891
|
onInput: c
|
|
@@ -5901,7 +5901,7 @@ const rp = {
|
|
|
5901
5901
|
], 64))
|
|
5902
5902
|
])
|
|
5903
5903
|
], 12, mp)), [
|
|
5904
|
-
[
|
|
5904
|
+
[je, !b.hidden]
|
|
5905
5905
|
])), 128))
|
|
5906
5906
|
])) : Y("", !0)
|
|
5907
5907
|
], 64))), 128))
|
|
@@ -5910,7 +5910,7 @@ const rp = {
|
|
|
5910
5910
|
])
|
|
5911
5911
|
]));
|
|
5912
5912
|
}
|
|
5913
|
-
}), bp = /* @__PURE__ */ oe(wp, [["__scopeId", "data-v-d40a6502"]]), Sp = { class: "modal-container" }, Tp = { class: "modal-body" }, xp = /* @__PURE__ */
|
|
5913
|
+
}), bp = /* @__PURE__ */ oe(wp, [["__scopeId", "data-v-d40a6502"]]), Sp = { class: "modal-container" }, Tp = { class: "modal-body" }, xp = /* @__PURE__ */ $({
|
|
5914
5914
|
__name: "TableDesignModal",
|
|
5915
5915
|
props: {
|
|
5916
5916
|
modelValue: { default: void 0 },
|
|
@@ -5950,7 +5950,7 @@ const rp = {
|
|
|
5950
5950
|
}, "×")
|
|
5951
5951
|
]),
|
|
5952
5952
|
P("div", Tp, [
|
|
5953
|
-
|
|
5953
|
+
N(bp, {
|
|
5954
5954
|
modelValue: i.value,
|
|
5955
5955
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => i.value = u),
|
|
5956
5956
|
mode: "edit"
|
|
@@ -5975,8 +5975,8 @@ const rp = {
|
|
|
5975
5975
|
]));
|
|
5976
5976
|
}
|
|
5977
5977
|
}), Ep = /* @__PURE__ */ oe(xp, [["__scopeId", "data-v-db916ab0"]]);
|
|
5978
|
-
var
|
|
5979
|
-
const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */
|
|
5978
|
+
var $i = /* @__PURE__ */ ((t) => (t.EDIT = "edit", t.VIEW = "view", t))($i || {});
|
|
5979
|
+
const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ $({
|
|
5980
5980
|
__name: "index",
|
|
5981
5981
|
props: /* @__PURE__ */ br({
|
|
5982
5982
|
mode: {}
|
|
@@ -5989,12 +5989,12 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
5989
5989
|
const i = t, n = Wi(t, "modelValue"), s = Fa("tableDesignModal");
|
|
5990
5990
|
function r() {
|
|
5991
5991
|
var o;
|
|
5992
|
-
i.mode ===
|
|
5992
|
+
i.mode === $i.EDIT && ((o = s.value) == null || o.open());
|
|
5993
5993
|
}
|
|
5994
5994
|
return e({
|
|
5995
5995
|
edit: r
|
|
5996
5996
|
}), (o, a) => (M(), L("div", Pp, [
|
|
5997
|
-
t.mode === _(
|
|
5997
|
+
t.mode === _($i).EDIT ? (M(), U(Ep, {
|
|
5998
5998
|
key: 0,
|
|
5999
5999
|
ref: "tableDesignModal",
|
|
6000
6000
|
modelValue: n.value,
|
|
@@ -6002,7 +6002,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6002
6002
|
}, null, 8, ["modelValue"])) : Y("", !0)
|
|
6003
6003
|
]));
|
|
6004
6004
|
}
|
|
6005
|
-
}), Mp = { class: "hs-tab-pane-wrapper" }, Tn = /* @__PURE__ */
|
|
6005
|
+
}), Mp = { class: "hs-tab-pane-wrapper" }, Tn = /* @__PURE__ */ $({
|
|
6006
6006
|
name: "HsTabPane",
|
|
6007
6007
|
__name: "HsTabPane",
|
|
6008
6008
|
props: {
|
|
@@ -6015,7 +6015,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6015
6015
|
if (!i)
|
|
6016
6016
|
throw new Error("TabPane must be used inside Tabs component");
|
|
6017
6017
|
const n = F(() => i.value.activeKey === e.name);
|
|
6018
|
-
return
|
|
6018
|
+
return Be(() => {
|
|
6019
6019
|
i.value.registerPane({
|
|
6020
6020
|
name: e.name,
|
|
6021
6021
|
label: e.label,
|
|
@@ -6028,10 +6028,10 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6028
6028
|
}
|
|
6029
6029
|
), wt(() => {
|
|
6030
6030
|
i.value.unregisterPane(e.name);
|
|
6031
|
-
}), (s, r) =>
|
|
6032
|
-
|
|
6031
|
+
}), (s, r) => Ve((M(), L("div", Mp, [
|
|
6032
|
+
N(_(Xf), { mode: "wait" }, {
|
|
6033
6033
|
default: ne(() => [
|
|
6034
|
-
n.value ? (M(), U(_(
|
|
6034
|
+
n.value ? (M(), U(_(Ge), {
|
|
6035
6035
|
is: "div",
|
|
6036
6036
|
key: e.name,
|
|
6037
6037
|
tag: "div",
|
|
@@ -6051,10 +6051,10 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6051
6051
|
_: 3
|
|
6052
6052
|
})
|
|
6053
6053
|
], 512)), [
|
|
6054
|
-
[
|
|
6054
|
+
[je, n.value]
|
|
6055
6055
|
]);
|
|
6056
6056
|
}
|
|
6057
|
-
}), Vp = { class: "hs-tab" }, Ap = { class: "tab-header" }, Cp = ["onClick"], Lp = /* @__PURE__ */
|
|
6057
|
+
}), Vp = { class: "hs-tab" }, Ap = { class: "tab-header" }, Cp = ["onClick"], Lp = /* @__PURE__ */ $({
|
|
6058
6058
|
name: "HsTab",
|
|
6059
6059
|
__name: "index",
|
|
6060
6060
|
props: /* @__PURE__ */ br({
|
|
@@ -6108,7 +6108,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6108
6108
|
], 4)
|
|
6109
6109
|
]));
|
|
6110
6110
|
}
|
|
6111
|
-
}), xn = /* @__PURE__ */ oe(Lp, [["__scopeId", "data-v-5f5a92ca"]]), _p = ["width", "height"], Dp = ["stroke"], Ip = /* @__PURE__ */
|
|
6111
|
+
}), xn = /* @__PURE__ */ oe(Lp, [["__scopeId", "data-v-5f5a92ca"]]), _p = ["width", "height"], Dp = ["stroke"], Ip = /* @__PURE__ */ $({
|
|
6112
6112
|
__name: "IconClose",
|
|
6113
6113
|
props: {
|
|
6114
6114
|
color: {
|
|
@@ -6137,7 +6137,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6137
6137
|
}, null, 8, Dp)
|
|
6138
6138
|
], 8, _p));
|
|
6139
6139
|
}
|
|
6140
|
-
}), Op = ["width", "height"], Bp = ["fill", "fill-opacity"], En = /* @__PURE__ */
|
|
6140
|
+
}), Op = ["width", "height"], Bp = ["fill", "fill-opacity"], En = /* @__PURE__ */ $({
|
|
6141
6141
|
__name: "Left",
|
|
6142
6142
|
props: {
|
|
6143
6143
|
color: {
|
|
@@ -6168,7 +6168,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6168
6168
|
}, null, 8, Bp)
|
|
6169
6169
|
], 8, Op));
|
|
6170
6170
|
}
|
|
6171
|
-
}), zp = ["width", "height"], Rp = ["fill", "fill-opacity"], Pn = /* @__PURE__ */
|
|
6171
|
+
}), zp = ["width", "height"], Rp = ["fill", "fill-opacity"], Pn = /* @__PURE__ */ $({
|
|
6172
6172
|
__name: "Right",
|
|
6173
6173
|
props: {
|
|
6174
6174
|
color: {
|
|
@@ -6199,7 +6199,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6199
6199
|
}, null, 8, Rp)
|
|
6200
6200
|
], 8, zp));
|
|
6201
6201
|
}
|
|
6202
|
-
}), kp = { class: "modal-mask" }, Fp = { class: "modal-header" }, jp = { class: "file-name csr-v2-description" },
|
|
6202
|
+
}), kp = { class: "modal-mask" }, Fp = { class: "modal-header" }, jp = { class: "file-name csr-v2-description" }, $p = { class: "modal-body" }, Np = /* @__PURE__ */ $({
|
|
6203
6203
|
name: "PreviewModal",
|
|
6204
6204
|
__name: "PreviewModal",
|
|
6205
6205
|
props: {
|
|
@@ -6246,19 +6246,19 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6246
6246
|
P("div", kp, [
|
|
6247
6247
|
P("div", Fp, [
|
|
6248
6248
|
P("span", jp, q(o.value), 1),
|
|
6249
|
-
|
|
6249
|
+
N(Ip, {
|
|
6250
6250
|
color: "white",
|
|
6251
6251
|
size: "32",
|
|
6252
6252
|
onClick: u
|
|
6253
6253
|
})
|
|
6254
6254
|
]),
|
|
6255
|
-
P("div",
|
|
6255
|
+
P("div", $p, [
|
|
6256
6256
|
a.value ? (M(), L("button", {
|
|
6257
6257
|
key: 0,
|
|
6258
6258
|
class: "nav-btn prev",
|
|
6259
6259
|
onClick: d
|
|
6260
6260
|
}, [
|
|
6261
|
-
|
|
6261
|
+
N(En, {
|
|
6262
6262
|
size: "36",
|
|
6263
6263
|
color: "white",
|
|
6264
6264
|
opacity: "1"
|
|
@@ -6269,7 +6269,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6269
6269
|
class: "nav-btn next",
|
|
6270
6270
|
onClick: f
|
|
6271
6271
|
}, [
|
|
6272
|
-
|
|
6272
|
+
N(Pn, {
|
|
6273
6273
|
size: "36",
|
|
6274
6274
|
color: "white",
|
|
6275
6275
|
opacity: "1"
|
|
@@ -6280,7 +6280,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6280
6280
|
src: s.innerUrl,
|
|
6281
6281
|
width: "auto",
|
|
6282
6282
|
height: "auto"
|
|
6283
|
-
}, null, 8, ["src"])) : r.value === "video" ? (M(), U(
|
|
6283
|
+
}, null, 8, ["src"])) : r.value === "video" ? (M(), U(Oe, {
|
|
6284
6284
|
key: 3,
|
|
6285
6285
|
src: s.innerUrl,
|
|
6286
6286
|
controls: "",
|
|
@@ -6291,10 +6291,10 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6291
6291
|
], 512)) : Y("", !0)
|
|
6292
6292
|
]));
|
|
6293
6293
|
}
|
|
6294
|
-
}), Zp = /* @__PURE__ */ oe(
|
|
6294
|
+
}), Zp = /* @__PURE__ */ oe(Np, [["__scopeId", "data-v-68aaa9c5"]]), Gp = ["width", "height"], Xp = { id: "clipPath_0" }, Up = ["fill"], Hp = {
|
|
6295
6295
|
id: "容器 43",
|
|
6296
6296
|
"clip-path": "url(#clipPath_0)"
|
|
6297
|
-
}, Wp = ["fill"], Kp = /* @__PURE__ */
|
|
6297
|
+
}, Wp = ["fill"], Kp = /* @__PURE__ */ $({
|
|
6298
6298
|
__name: "Enlarge",
|
|
6299
6299
|
props: {
|
|
6300
6300
|
color: {
|
|
@@ -6359,7 +6359,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6359
6359
|
}, Qp = {
|
|
6360
6360
|
key: 2,
|
|
6361
6361
|
class: "media-content"
|
|
6362
|
-
}, eh = { class: "handle-content" }, th = /* @__PURE__ */
|
|
6362
|
+
}, eh = { class: "handle-content" }, th = /* @__PURE__ */ $({
|
|
6363
6363
|
name: "PreviewMedia",
|
|
6364
6364
|
__name: "index",
|
|
6365
6365
|
props: {
|
|
@@ -6383,7 +6383,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6383
6383
|
n.value === "image" ? (M(), U(Pe, {
|
|
6384
6384
|
key: 0,
|
|
6385
6385
|
src: e.src
|
|
6386
|
-
}, null, 8, ["src"])) : n.value === "video" ? (M(), U(
|
|
6386
|
+
}, null, 8, ["src"])) : n.value === "video" ? (M(), U(Oe, {
|
|
6387
6387
|
key: 1,
|
|
6388
6388
|
src: e.src,
|
|
6389
6389
|
controls: !1
|
|
@@ -6396,10 +6396,10 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6396
6396
|
}, [
|
|
6397
6397
|
P("div", eh, [
|
|
6398
6398
|
a[0] || (a[0] = P("span", null, "点击放大", -1)),
|
|
6399
|
-
|
|
6399
|
+
N(Kp, { size: "32" })
|
|
6400
6400
|
])
|
|
6401
6401
|
])) : Y("", !0),
|
|
6402
|
-
|
|
6402
|
+
N(Zp, {
|
|
6403
6403
|
ref_key: "previewModalRef",
|
|
6404
6404
|
ref: i,
|
|
6405
6405
|
"default-url": e.src,
|
|
@@ -6416,7 +6416,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6416
6416
|
}, ah = {
|
|
6417
6417
|
key: 2,
|
|
6418
6418
|
class: "table-container"
|
|
6419
|
-
}, lh = /* @__PURE__ */
|
|
6419
|
+
}, lh = { class: "table-tips" }, uh = ["innerHTML"], ch = /* @__PURE__ */ $({
|
|
6420
6420
|
name: "FTabTextMediaV2",
|
|
6421
6421
|
__name: "FTabTextMedia",
|
|
6422
6422
|
props: {
|
|
@@ -6428,13 +6428,13 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6428
6428
|
setup(t) {
|
|
6429
6429
|
const e = t, { commonStyle: i } = it(e.config), n = B(""), s = F(() => {
|
|
6430
6430
|
const r = e.config.items;
|
|
6431
|
-
return r ? r.filter((o) => [
|
|
6431
|
+
return r ? r.filter((o) => [Xe.TEXT_MEDIA, Xe.MEDIA].includes(o.contentType) && o.src !== void 0).map((o) => o.src) : [];
|
|
6432
6432
|
});
|
|
6433
6433
|
return (r, o) => (M(), L("div", {
|
|
6434
6434
|
class: "tab-text-media_v2",
|
|
6435
6435
|
style: W(_(i))
|
|
6436
6436
|
}, [
|
|
6437
|
-
|
|
6437
|
+
N(_(Ge), {
|
|
6438
6438
|
is: "div",
|
|
6439
6439
|
class: "m-auto w-1200",
|
|
6440
6440
|
initial: _(Z).initial,
|
|
@@ -6443,7 +6443,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6443
6443
|
viewport: _(Z).viewport
|
|
6444
6444
|
}, {
|
|
6445
6445
|
default: ne(() => [
|
|
6446
|
-
|
|
6446
|
+
N(xn, {
|
|
6447
6447
|
modelValue: n.value,
|
|
6448
6448
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
|
|
6449
6449
|
"content-height": e.config.contentHeight
|
|
@@ -6455,45 +6455,52 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6455
6455
|
label: a.tabLabel
|
|
6456
6456
|
}, {
|
|
6457
6457
|
default: ne(() => [
|
|
6458
|
-
a.contentType === _(
|
|
6458
|
+
a.contentType === _(Xe).TEXT_MEDIA ? (M(), L("div", ih, [
|
|
6459
6459
|
P("div", nh, [
|
|
6460
|
-
|
|
6461
|
-
[
|
|
6460
|
+
Ve(P("div", { class: "title csr-v2-title-tab" }, q(a.title), 513), [
|
|
6461
|
+
[je, a.title]
|
|
6462
6462
|
]),
|
|
6463
|
-
|
|
6463
|
+
Ve(P("div", sh, [
|
|
6464
6464
|
(M(!0), L(te, null, fe(a.text.split(`
|
|
6465
6465
|
`) || [], (c, u) => (M(), L("div", { key: u }, q(c), 1))), 128))
|
|
6466
6466
|
], 512), [
|
|
6467
|
-
[
|
|
6467
|
+
[je, a.text]
|
|
6468
6468
|
]),
|
|
6469
|
-
|
|
6470
|
-
[
|
|
6469
|
+
Ve(P("div", { class: "description csr-v2-description" }, q(a.description), 513), [
|
|
6470
|
+
[je, a.description]
|
|
6471
6471
|
])
|
|
6472
6472
|
]),
|
|
6473
6473
|
P("div", rh, [
|
|
6474
|
-
|
|
6474
|
+
N(Mn, {
|
|
6475
6475
|
src: a.src,
|
|
6476
6476
|
"preview-list": s.value
|
|
6477
6477
|
}, null, 8, ["src", "preview-list"])
|
|
6478
6478
|
])
|
|
6479
|
-
])) : a.contentType === _(
|
|
6479
|
+
])) : a.contentType === _(Xe).MEDIA ? (M(), L("div", oh, [
|
|
6480
6480
|
a.src ? (M(), L(te, { key: 0 }, [
|
|
6481
6481
|
_(yt)(a.src) === "image" ? (M(), U(Pe, {
|
|
6482
6482
|
key: 0,
|
|
6483
6483
|
src: a.src
|
|
6484
6484
|
}, null, 8, ["src"])) : Y("", !0),
|
|
6485
|
-
_(yt)(a.src) === "video" ? (M(), U(
|
|
6485
|
+
_(yt)(a.src) === "video" ? (M(), U(Oe, {
|
|
6486
6486
|
key: 1,
|
|
6487
6487
|
src: a.src,
|
|
6488
6488
|
controls: ""
|
|
6489
6489
|
}, null, 8, ["src"])) : Y("", !0)
|
|
6490
6490
|
], 64)) : Y("", !0)
|
|
6491
|
-
])) : a.contentType === _(
|
|
6492
|
-
|
|
6491
|
+
])) : a.contentType === _(Xe).TABLE ? (M(), L("div", ah, [
|
|
6492
|
+
N(Sn, {
|
|
6493
6493
|
modelValue: a.tableData,
|
|
6494
6494
|
"onUpdate:modelValue": (c) => a.tableData = c,
|
|
6495
6495
|
mode: "view"
|
|
6496
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
6496
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
6497
|
+
Ve(P("div", lh, [
|
|
6498
|
+
P("div", {
|
|
6499
|
+
innerHTML: a.tip
|
|
6500
|
+
}, null, 8, uh)
|
|
6501
|
+
], 512), [
|
|
6502
|
+
[je, !!a.tip]
|
|
6503
|
+
])
|
|
6497
6504
|
])) : Y("", !0)
|
|
6498
6505
|
]),
|
|
6499
6506
|
_: 2
|
|
@@ -6506,7 +6513,7 @@ const Pp = { class: "dynamic-table" }, Sn = /* @__PURE__ */ N({
|
|
|
6506
6513
|
}, 8, ["initial", "transition", "while-in-view", "viewport"])
|
|
6507
6514
|
], 4));
|
|
6508
6515
|
}
|
|
6509
|
-
}), ua = /* @__PURE__ */ oe(
|
|
6516
|
+
}), ua = /* @__PURE__ */ oe(ch, [["__scopeId", "data-v-d724856c"]]);
|
|
6510
6517
|
function ar(t) {
|
|
6511
6518
|
return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
|
|
6512
6519
|
}
|
|
@@ -6576,7 +6583,7 @@ function ye() {
|
|
|
6576
6583
|
const t = typeof document < "u" ? document : {};
|
|
6577
6584
|
return Vn(t, ca), t;
|
|
6578
6585
|
}
|
|
6579
|
-
const
|
|
6586
|
+
const dh = {
|
|
6580
6587
|
document: ca,
|
|
6581
6588
|
navigator: {
|
|
6582
6589
|
userAgent: ""
|
|
@@ -6636,12 +6643,12 @@ const uh = {
|
|
|
6636
6643
|
};
|
|
6637
6644
|
function ae() {
|
|
6638
6645
|
const t = typeof window < "u" ? window : {};
|
|
6639
|
-
return Vn(t,
|
|
6646
|
+
return Vn(t, dh), t;
|
|
6640
6647
|
}
|
|
6641
|
-
function
|
|
6648
|
+
function fh(t) {
|
|
6642
6649
|
return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
|
|
6643
6650
|
}
|
|
6644
|
-
function
|
|
6651
|
+
function ph(t) {
|
|
6645
6652
|
const e = t;
|
|
6646
6653
|
Object.keys(e).forEach((i) => {
|
|
6647
6654
|
try {
|
|
@@ -6660,29 +6667,29 @@ function da(t, e) {
|
|
|
6660
6667
|
function Wt() {
|
|
6661
6668
|
return Date.now();
|
|
6662
6669
|
}
|
|
6663
|
-
function
|
|
6670
|
+
function hh(t) {
|
|
6664
6671
|
const e = ae();
|
|
6665
6672
|
let i;
|
|
6666
6673
|
return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
|
|
6667
6674
|
}
|
|
6668
|
-
function
|
|
6675
|
+
function mh(t, e) {
|
|
6669
6676
|
e === void 0 && (e = "x");
|
|
6670
6677
|
const i = ae();
|
|
6671
6678
|
let n, s, r;
|
|
6672
|
-
const o =
|
|
6679
|
+
const o = hh(t);
|
|
6673
6680
|
return i.WebKitCSSMatrix ? (s = o.transform || o.webkitTransform, s.split(",").length > 6 && (s = s.split(", ").map((a) => a.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(s === "none" ? "" : s)) : (r = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? s = r.m41 : n.length === 16 ? s = parseFloat(n[12]) : s = parseFloat(n[4])), e === "y" && (i.WebKitCSSMatrix ? s = r.m42 : n.length === 16 ? s = parseFloat(n[13]) : s = parseFloat(n[5])), s || 0;
|
|
6674
6681
|
}
|
|
6675
6682
|
function Dt(t) {
|
|
6676
6683
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
|
|
6677
6684
|
}
|
|
6678
|
-
function
|
|
6685
|
+
function vh(t) {
|
|
6679
6686
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
|
|
6680
6687
|
}
|
|
6681
6688
|
function le() {
|
|
6682
6689
|
const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
6683
6690
|
for (let i = 1; i < arguments.length; i += 1) {
|
|
6684
6691
|
const n = i < 0 || arguments.length <= i ? void 0 : arguments[i];
|
|
6685
|
-
if (n != null && !
|
|
6692
|
+
if (n != null && !vh(n)) {
|
|
6686
6693
|
const s = Object.keys(Object(n)).filter((r) => e.indexOf(r) < 0);
|
|
6687
6694
|
for (let r = 0, o = s.length; r < o; r += 1) {
|
|
6688
6695
|
const a = s[r], l = Object.getOwnPropertyDescriptor(n, a);
|
|
@@ -6728,7 +6735,7 @@ function Se(t, e) {
|
|
|
6728
6735
|
const i = ae(), n = [...t.children];
|
|
6729
6736
|
return i.HTMLSlotElement && t instanceof HTMLSlotElement && n.push(...t.assignedElements()), e ? n.filter((s) => s.matches(e)) : n;
|
|
6730
6737
|
}
|
|
6731
|
-
function
|
|
6738
|
+
function gh(t, e) {
|
|
6732
6739
|
const i = [e];
|
|
6733
6740
|
for (; i.length > 0; ) {
|
|
6734
6741
|
const n = i.shift();
|
|
@@ -6737,10 +6744,10 @@ function mh(t, e) {
|
|
|
6737
6744
|
i.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
|
6738
6745
|
}
|
|
6739
6746
|
}
|
|
6740
|
-
function
|
|
6747
|
+
function yh(t, e) {
|
|
6741
6748
|
const i = ae();
|
|
6742
6749
|
let n = e.contains(t);
|
|
6743
|
-
return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n =
|
|
6750
|
+
return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n = gh(t, e))), n;
|
|
6744
6751
|
}
|
|
6745
6752
|
function Kt(t) {
|
|
6746
6753
|
try {
|
|
@@ -6749,12 +6756,12 @@ function Kt(t) {
|
|
|
6749
6756
|
} catch {
|
|
6750
6757
|
}
|
|
6751
6758
|
}
|
|
6752
|
-
function
|
|
6759
|
+
function Ni(t, e) {
|
|
6753
6760
|
e === void 0 && (e = []);
|
|
6754
6761
|
const i = document.createElement(t);
|
|
6755
|
-
return i.classList.add(...Array.isArray(e) ? e :
|
|
6762
|
+
return i.classList.add(...Array.isArray(e) ? e : fh(e)), i;
|
|
6756
6763
|
}
|
|
6757
|
-
function
|
|
6764
|
+
function wh(t, e) {
|
|
6758
6765
|
const i = [];
|
|
6759
6766
|
for (; t.previousElementSibling; ) {
|
|
6760
6767
|
const n = t.previousElementSibling;
|
|
@@ -6762,7 +6769,7 @@ function gh(t, e) {
|
|
|
6762
6769
|
}
|
|
6763
6770
|
return i;
|
|
6764
6771
|
}
|
|
6765
|
-
function
|
|
6772
|
+
function bh(t, e) {
|
|
6766
6773
|
const i = [];
|
|
6767
6774
|
for (; t.nextElementSibling; ) {
|
|
6768
6775
|
const n = t.nextElementSibling;
|
|
@@ -6770,7 +6777,7 @@ function yh(t, e) {
|
|
|
6770
6777
|
}
|
|
6771
6778
|
return i;
|
|
6772
6779
|
}
|
|
6773
|
-
function
|
|
6780
|
+
function Ae(t, e) {
|
|
6774
6781
|
return ae().getComputedStyle(t, null).getPropertyValue(e);
|
|
6775
6782
|
}
|
|
6776
6783
|
function lr(t) {
|
|
@@ -6781,7 +6788,7 @@ function lr(t) {
|
|
|
6781
6788
|
return i;
|
|
6782
6789
|
}
|
|
6783
6790
|
}
|
|
6784
|
-
function
|
|
6791
|
+
function Sh(t, e) {
|
|
6785
6792
|
const i = [];
|
|
6786
6793
|
let n = t.parentElement;
|
|
6787
6794
|
for (; n; )
|
|
@@ -6841,15 +6848,15 @@ function pa(t) {
|
|
|
6841
6848
|
l = e.params.autoplay.delay, c = e.params.autoplay.delay;
|
|
6842
6849
|
const J = y();
|
|
6843
6850
|
!Number.isNaN(J) && J > 0 && typeof D > "u" && (X = J, l = J, c = J), u = X;
|
|
6844
|
-
const he = e.params.speed,
|
|
6851
|
+
const he = e.params.speed, Re = () => {
|
|
6845
6852
|
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(he, !0, !0), s("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, he, !0, !0), s("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(he, !0, !0), s("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, he, !0, !0), s("autoplay")), e.params.cssMode && (d = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
6846
6853
|
V();
|
|
6847
6854
|
})));
|
|
6848
6855
|
};
|
|
6849
6856
|
return X > 0 ? (clearTimeout(o), o = setTimeout(() => {
|
|
6850
|
-
|
|
6857
|
+
Re();
|
|
6851
6858
|
}, X)) : requestAnimationFrame(() => {
|
|
6852
|
-
|
|
6859
|
+
Re();
|
|
6853
6860
|
}), X;
|
|
6854
6861
|
}, A = () => {
|
|
6855
6862
|
d = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, V(), s("autoplayStart");
|
|
@@ -6923,7 +6930,7 @@ function pa(t) {
|
|
|
6923
6930
|
});
|
|
6924
6931
|
}
|
|
6925
6932
|
let yi;
|
|
6926
|
-
function
|
|
6933
|
+
function Th() {
|
|
6927
6934
|
const t = ae(), e = ye();
|
|
6928
6935
|
return {
|
|
6929
6936
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
@@ -6931,10 +6938,10 @@ function bh() {
|
|
|
6931
6938
|
};
|
|
6932
6939
|
}
|
|
6933
6940
|
function ha() {
|
|
6934
|
-
return yi || (yi =
|
|
6941
|
+
return yi || (yi = Th()), yi;
|
|
6935
6942
|
}
|
|
6936
6943
|
let wi;
|
|
6937
|
-
function
|
|
6944
|
+
function xh(t) {
|
|
6938
6945
|
let {
|
|
6939
6946
|
userAgent: e
|
|
6940
6947
|
} = t === void 0 ? {} : t;
|
|
@@ -6949,10 +6956,10 @@ function Sh(t) {
|
|
|
6949
6956
|
return !u && h && i.touch && m.indexOf(`${a}x${l}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), h = !1), c && !p && (o.os = "android", o.android = !0), (u || f || d) && (o.os = "ios", o.ios = !0), o;
|
|
6950
6957
|
}
|
|
6951
6958
|
function ma(t) {
|
|
6952
|
-
return t === void 0 && (t = {}), wi || (wi =
|
|
6959
|
+
return t === void 0 && (t = {}), wi || (wi = xh(t)), wi;
|
|
6953
6960
|
}
|
|
6954
6961
|
let bi;
|
|
6955
|
-
function
|
|
6962
|
+
function Eh() {
|
|
6956
6963
|
const t = ae(), e = ma();
|
|
6957
6964
|
let i = !1;
|
|
6958
6965
|
function n() {
|
|
@@ -6975,9 +6982,9 @@ function Th() {
|
|
|
6975
6982
|
};
|
|
6976
6983
|
}
|
|
6977
6984
|
function va() {
|
|
6978
|
-
return bi || (bi =
|
|
6985
|
+
return bi || (bi = Eh()), bi;
|
|
6979
6986
|
}
|
|
6980
|
-
function
|
|
6987
|
+
function Ph(t) {
|
|
6981
6988
|
let {
|
|
6982
6989
|
swiper: e,
|
|
6983
6990
|
on: i,
|
|
@@ -7020,7 +7027,7 @@ function xh(t) {
|
|
|
7020
7027
|
c(), s.removeEventListener("resize", a), s.removeEventListener("orientationchange", u);
|
|
7021
7028
|
});
|
|
7022
7029
|
}
|
|
7023
|
-
function
|
|
7030
|
+
function Mh(t) {
|
|
7024
7031
|
let {
|
|
7025
7032
|
swiper: e,
|
|
7026
7033
|
extendParams: i,
|
|
@@ -7048,7 +7055,7 @@ function Eh(t) {
|
|
|
7048
7055
|
}, l = () => {
|
|
7049
7056
|
if (e.params.observer) {
|
|
7050
7057
|
if (e.params.observeParents) {
|
|
7051
|
-
const u =
|
|
7058
|
+
const u = Sh(e.hostEl);
|
|
7052
7059
|
for (let d = 0; d < u.length; d += 1)
|
|
7053
7060
|
a(u[d]);
|
|
7054
7061
|
}
|
|
@@ -7069,7 +7076,7 @@ function Eh(t) {
|
|
|
7069
7076
|
observeSlideChildren: !1
|
|
7070
7077
|
}), n("init", l), n("destroy", c);
|
|
7071
7078
|
}
|
|
7072
|
-
var
|
|
7079
|
+
var Vh = {
|
|
7073
7080
|
on(t, e, i) {
|
|
7074
7081
|
const n = this;
|
|
7075
7082
|
if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
|
|
@@ -7124,17 +7131,17 @@ var Ph = {
|
|
|
7124
7131
|
}), t;
|
|
7125
7132
|
}
|
|
7126
7133
|
};
|
|
7127
|
-
function
|
|
7134
|
+
function Ah() {
|
|
7128
7135
|
const t = this;
|
|
7129
7136
|
let e, i;
|
|
7130
7137
|
const n = t.el;
|
|
7131
|
-
typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = n.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = n.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(
|
|
7138
|
+
typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = n.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = n.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(Ae(n, "padding-left") || 0, 10) - parseInt(Ae(n, "padding-right") || 0, 10), i = i - parseInt(Ae(n, "padding-top") || 0, 10) - parseInt(Ae(n, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
|
|
7132
7139
|
width: e,
|
|
7133
7140
|
height: i,
|
|
7134
7141
|
size: t.isHorizontal() ? e : i
|
|
7135
7142
|
}));
|
|
7136
7143
|
}
|
|
7137
|
-
function
|
|
7144
|
+
function Ch() {
|
|
7138
7145
|
const t = this;
|
|
7139
7146
|
function e(E, C) {
|
|
7140
7147
|
return parseFloat(E.getPropertyValue(t.getDirectionLabel(C)) || 0);
|
|
@@ -7166,7 +7173,7 @@ function Vh() {
|
|
|
7166
7173
|
for (let E = 0; E < d; E += 1) {
|
|
7167
7174
|
T = 0;
|
|
7168
7175
|
let C;
|
|
7169
|
-
if (u[E] && (C = u[E]), A && t.grid.updateSlide(E, C, u), !(u[E] &&
|
|
7176
|
+
if (u[E] && (C = u[E]), A && t.grid.updateSlide(E, C, u), !(u[E] && Ae(C, "display") === "none")) {
|
|
7170
7177
|
if (i.slidesPerView === "auto") {
|
|
7171
7178
|
S && (u[E].style[t.getDirectionLabel("width")] = "");
|
|
7172
7179
|
const O = getComputedStyle(C), k = C.style.transform, ce = C.style.webkitTransform;
|
|
@@ -7179,9 +7186,9 @@ function Vh() {
|
|
|
7179
7186
|
else {
|
|
7180
7187
|
const {
|
|
7181
7188
|
clientWidth: he,
|
|
7182
|
-
offsetWidth:
|
|
7189
|
+
offsetWidth: Re
|
|
7183
7190
|
} = C;
|
|
7184
|
-
T = de + z + R + D + X + (
|
|
7191
|
+
T = de + z + R + D + X + (Re - he);
|
|
7185
7192
|
}
|
|
7186
7193
|
}
|
|
7187
7194
|
k && (C.style.transform = k), ce && (C.style.webkitTransform = ce), i.roundLengths && (T = Math.floor(T));
|
|
@@ -7252,7 +7259,7 @@ function Vh() {
|
|
|
7252
7259
|
d <= i.maxBackfaceHiddenSlides ? C || t.el.classList.add(E) : C && t.el.classList.remove(E);
|
|
7253
7260
|
}
|
|
7254
7261
|
}
|
|
7255
|
-
function
|
|
7262
|
+
function Lh(t) {
|
|
7256
7263
|
const e = this, i = [], n = e.virtual && e.params.virtual.enabled;
|
|
7257
7264
|
let s = 0, r;
|
|
7258
7265
|
typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
|
|
@@ -7277,7 +7284,7 @@ function Ah(t) {
|
|
|
7277
7284
|
}
|
|
7278
7285
|
(s || s === 0) && (e.wrapperEl.style.height = `${s}px`);
|
|
7279
7286
|
}
|
|
7280
|
-
function
|
|
7287
|
+
function _h() {
|
|
7281
7288
|
const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
|
|
7282
7289
|
for (let n = 0; n < e.length; n += 1)
|
|
7283
7290
|
e[n].swiperSlideOffset = (t.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - i - t.cssOverflowAdjustment();
|
|
@@ -7285,7 +7292,7 @@ function Ch() {
|
|
|
7285
7292
|
const dr = (t, e, i) => {
|
|
7286
7293
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
7287
7294
|
};
|
|
7288
|
-
function
|
|
7295
|
+
function Dh(t) {
|
|
7289
7296
|
t === void 0 && (t = this && this.translate || 0);
|
|
7290
7297
|
const e = this, i = e.params, {
|
|
7291
7298
|
slides: n,
|
|
@@ -7306,7 +7313,7 @@ function Lh(t) {
|
|
|
7306
7313
|
g && (e.visibleSlides.push(c), e.visibleSlidesIndexes.push(l)), dr(c, g, i.slideVisibleClass), dr(c, m, i.slideFullyVisibleClass), c.progress = s ? -d : d, c.originalProgress = s ? -f : f;
|
|
7307
7314
|
}
|
|
7308
7315
|
}
|
|
7309
|
-
function
|
|
7316
|
+
function Ih(t) {
|
|
7310
7317
|
const e = this;
|
|
7311
7318
|
if (typeof t > "u") {
|
|
7312
7319
|
const u = e.rtlTranslate ? -1 : 1;
|
|
@@ -7341,7 +7348,7 @@ function _h(t) {
|
|
|
7341
7348
|
const Si = (t, e, i) => {
|
|
7342
7349
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
7343
7350
|
};
|
|
7344
|
-
function
|
|
7351
|
+
function Oh() {
|
|
7345
7352
|
const t = this, {
|
|
7346
7353
|
slides: e,
|
|
7347
7354
|
params: i,
|
|
@@ -7357,7 +7364,7 @@ function Dh() {
|
|
|
7357
7364
|
l = a(`[data-swiper-slide-index="${s}"]`);
|
|
7358
7365
|
else
|
|
7359
7366
|
o ? (l = e.find((d) => d.column === s), u = e.find((d) => d.column === s + 1), c = e.find((d) => d.column === s - 1)) : l = e[s];
|
|
7360
|
-
l && (o || (u =
|
|
7367
|
+
l && (o || (u = bh(l, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u && (u = e[0]), c = wh(l, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c === 0 && (c = e[e.length - 1]))), e.forEach((d) => {
|
|
7361
7368
|
Si(d, d === l, i.slideActiveClass), Si(d, d === u, i.slideNextClass), Si(d, d === c, i.slidePrevClass);
|
|
7362
7369
|
}), t.emitSlidesClasses();
|
|
7363
7370
|
}
|
|
@@ -7400,7 +7407,7 @@ const zt = (t, e) => {
|
|
|
7400
7407
|
for (let o = Math.max(s - e, 0); o <= Math.min(r + e, i - 1); o += 1)
|
|
7401
7408
|
o !== s && (o > r || o < s) && Ti(t, o);
|
|
7402
7409
|
};
|
|
7403
|
-
function
|
|
7410
|
+
function Bh(t) {
|
|
7404
7411
|
const {
|
|
7405
7412
|
slidesGrid: e,
|
|
7406
7413
|
params: i
|
|
@@ -7410,7 +7417,7 @@ function Ih(t) {
|
|
|
7410
7417
|
typeof e[r + 1] < "u" ? n >= e[r] && n < e[r + 1] - (e[r + 1] - e[r]) / 2 ? s = r : n >= e[r] && n < e[r + 1] && (s = r + 1) : n >= e[r] && (s = r);
|
|
7411
7418
|
return i.normalizeSlideIndex && (s < 0 || typeof s > "u") && (s = 0), s;
|
|
7412
7419
|
}
|
|
7413
|
-
function
|
|
7420
|
+
function zh(t) {
|
|
7414
7421
|
const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
|
|
7415
7422
|
snapGrid: n,
|
|
7416
7423
|
params: s,
|
|
@@ -7423,7 +7430,7 @@ function Oh(t) {
|
|
|
7423
7430
|
let h = p - e.virtual.slidesBefore;
|
|
7424
7431
|
return h < 0 && (h = e.virtual.slides.length + h), h >= e.virtual.slides.length && (h -= e.virtual.slides.length), h;
|
|
7425
7432
|
};
|
|
7426
|
-
if (typeof l > "u" && (l =
|
|
7433
|
+
if (typeof l > "u" && (l = Bh(e)), n.indexOf(i) >= 0)
|
|
7427
7434
|
c = n.indexOf(i);
|
|
7428
7435
|
else {
|
|
7429
7436
|
const p = Math.min(s.slidesPerGroupSkip, l);
|
|
@@ -7459,7 +7466,7 @@ function Oh(t) {
|
|
|
7459
7466
|
activeIndex: l
|
|
7460
7467
|
}), e.initialized && Zi(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (o !== f && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
7461
7468
|
}
|
|
7462
|
-
function
|
|
7469
|
+
function Rh(t, e) {
|
|
7463
7470
|
const i = this, n = i.params;
|
|
7464
7471
|
let s = t.closest(`.${n.slideClass}, swiper-slide`);
|
|
7465
7472
|
!s && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
|
|
@@ -7481,18 +7488,18 @@ function Bh(t, e) {
|
|
|
7481
7488
|
}
|
|
7482
7489
|
n.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
|
|
7483
7490
|
}
|
|
7484
|
-
var
|
|
7485
|
-
updateSize:
|
|
7486
|
-
updateSlides:
|
|
7487
|
-
updateAutoHeight:
|
|
7488
|
-
updateSlidesOffset:
|
|
7489
|
-
updateSlidesProgress:
|
|
7490
|
-
updateProgress:
|
|
7491
|
-
updateSlidesClasses:
|
|
7492
|
-
updateActiveIndex:
|
|
7493
|
-
updateClickedSlide:
|
|
7491
|
+
var kh = {
|
|
7492
|
+
updateSize: Ah,
|
|
7493
|
+
updateSlides: Ch,
|
|
7494
|
+
updateAutoHeight: Lh,
|
|
7495
|
+
updateSlidesOffset: _h,
|
|
7496
|
+
updateSlidesProgress: Dh,
|
|
7497
|
+
updateProgress: Ih,
|
|
7498
|
+
updateSlidesClasses: Oh,
|
|
7499
|
+
updateActiveIndex: zh,
|
|
7500
|
+
updateClickedSlide: Rh
|
|
7494
7501
|
};
|
|
7495
|
-
function
|
|
7502
|
+
function Fh(t) {
|
|
7496
7503
|
t === void 0 && (t = this.isHorizontal() ? "x" : "y");
|
|
7497
7504
|
const e = this, {
|
|
7498
7505
|
params: i,
|
|
@@ -7504,10 +7511,10 @@ function Rh(t) {
|
|
|
7504
7511
|
return n ? -s : s;
|
|
7505
7512
|
if (i.cssMode)
|
|
7506
7513
|
return s;
|
|
7507
|
-
let o =
|
|
7514
|
+
let o = mh(r, t);
|
|
7508
7515
|
return o += e.cssOverflowAdjustment(), n && (o = -o), o || 0;
|
|
7509
7516
|
}
|
|
7510
|
-
function
|
|
7517
|
+
function jh(t, e) {
|
|
7511
7518
|
const i = this, {
|
|
7512
7519
|
rtlTranslate: n,
|
|
7513
7520
|
params: s,
|
|
@@ -7521,13 +7528,13 @@ function kh(t, e) {
|
|
|
7521
7528
|
const d = i.maxTranslate() - i.minTranslate();
|
|
7522
7529
|
d === 0 ? u = 0 : u = (t - i.minTranslate()) / d, u !== o && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
|
|
7523
7530
|
}
|
|
7524
|
-
function
|
|
7531
|
+
function $h() {
|
|
7525
7532
|
return -this.snapGrid[0];
|
|
7526
7533
|
}
|
|
7527
|
-
function
|
|
7534
|
+
function Nh() {
|
|
7528
7535
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
7529
7536
|
}
|
|
7530
|
-
function
|
|
7537
|
+
function Zh(t, e, i, n, s) {
|
|
7531
7538
|
t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), n === void 0 && (n = !0);
|
|
7532
7539
|
const r = this, {
|
|
7533
7540
|
params: o,
|
|
@@ -7559,14 +7566,14 @@ function Nh(t, e, i, n, s) {
|
|
|
7559
7566
|
!r || r.destroyed || f.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
|
|
7560
7567
|
}), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
|
|
7561
7568
|
}
|
|
7562
|
-
var
|
|
7563
|
-
getTranslate:
|
|
7564
|
-
setTranslate:
|
|
7565
|
-
minTranslate:
|
|
7566
|
-
maxTranslate:
|
|
7567
|
-
translateTo:
|
|
7569
|
+
var Gh = {
|
|
7570
|
+
getTranslate: Fh,
|
|
7571
|
+
setTranslate: jh,
|
|
7572
|
+
minTranslate: $h,
|
|
7573
|
+
maxTranslate: Nh,
|
|
7574
|
+
translateTo: Zh
|
|
7568
7575
|
};
|
|
7569
|
-
function
|
|
7576
|
+
function Xh(t, e) {
|
|
7570
7577
|
const i = this;
|
|
7571
7578
|
i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
|
|
7572
7579
|
}
|
|
@@ -7584,7 +7591,7 @@ function ga(t) {
|
|
|
7584
7591
|
let a = n;
|
|
7585
7592
|
a || (r > o ? a = "next" : r < o ? a = "prev" : a = "reset"), e.emit(`transition${s}`), i && a === "reset" ? e.emit(`slideResetTransition${s}`) : i && r !== o && (e.emit(`slideChangeTransition${s}`), a === "next" ? e.emit(`slideNextTransition${s}`) : e.emit(`slidePrevTransition${s}`));
|
|
7586
7593
|
}
|
|
7587
|
-
function
|
|
7594
|
+
function Uh(t, e) {
|
|
7588
7595
|
t === void 0 && (t = !0);
|
|
7589
7596
|
const i = this, {
|
|
7590
7597
|
params: n
|
|
@@ -7596,7 +7603,7 @@ function Gh(t, e) {
|
|
|
7596
7603
|
step: "Start"
|
|
7597
7604
|
}));
|
|
7598
7605
|
}
|
|
7599
|
-
function
|
|
7606
|
+
function Hh(t, e) {
|
|
7600
7607
|
t === void 0 && (t = !0);
|
|
7601
7608
|
const i = this, {
|
|
7602
7609
|
params: n
|
|
@@ -7608,12 +7615,12 @@ function Xh(t, e) {
|
|
|
7608
7615
|
step: "End"
|
|
7609
7616
|
}));
|
|
7610
7617
|
}
|
|
7611
|
-
var
|
|
7612
|
-
setTransition:
|
|
7613
|
-
transitionStart:
|
|
7614
|
-
transitionEnd:
|
|
7618
|
+
var Wh = {
|
|
7619
|
+
setTransition: Xh,
|
|
7620
|
+
transitionStart: Uh,
|
|
7621
|
+
transitionEnd: Hh
|
|
7615
7622
|
};
|
|
7616
|
-
function
|
|
7623
|
+
function Kh(t, e, i, n, s) {
|
|
7617
7624
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
7618
7625
|
const r = this;
|
|
7619
7626
|
let o = t;
|
|
@@ -7675,7 +7682,7 @@ function Hh(t, e, i, n, s) {
|
|
|
7675
7682
|
!r || r.destroyed || T.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, w));
|
|
7676
7683
|
}), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
|
|
7677
7684
|
}
|
|
7678
|
-
function
|
|
7685
|
+
function qh(t, e, i, n) {
|
|
7679
7686
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
7680
7687
|
const s = this;
|
|
7681
7688
|
if (s.destroyed) return;
|
|
@@ -7717,7 +7724,7 @@ function Wh(t, e, i, n) {
|
|
|
7717
7724
|
s.slideTo(o, e, i, n);
|
|
7718
7725
|
}), s;
|
|
7719
7726
|
}
|
|
7720
|
-
function
|
|
7727
|
+
function Yh(t, e, i) {
|
|
7721
7728
|
e === void 0 && (e = !0);
|
|
7722
7729
|
const n = this, {
|
|
7723
7730
|
enabled: s,
|
|
@@ -7740,7 +7747,7 @@ function Kh(t, e, i) {
|
|
|
7740
7747
|
}
|
|
7741
7748
|
return r.rewind && n.isEnd ? n.slideTo(0, t, e, i) : n.slideTo(n.activeIndex + l, t, e, i);
|
|
7742
7749
|
}
|
|
7743
|
-
function
|
|
7750
|
+
function Jh(t, e, i) {
|
|
7744
7751
|
e === void 0 && (e = !0);
|
|
7745
7752
|
const n = this, {
|
|
7746
7753
|
params: s,
|
|
@@ -7781,13 +7788,13 @@ function qh(t, e, i) {
|
|
|
7781
7788
|
}), !0;
|
|
7782
7789
|
return n.slideTo(v, t, e, i);
|
|
7783
7790
|
}
|
|
7784
|
-
function
|
|
7791
|
+
function Qh(t, e, i) {
|
|
7785
7792
|
e === void 0 && (e = !0);
|
|
7786
7793
|
const n = this;
|
|
7787
7794
|
if (!n.destroyed)
|
|
7788
7795
|
return typeof t > "u" && (t = n.params.speed), n.slideTo(n.activeIndex, t, e, i);
|
|
7789
7796
|
}
|
|
7790
|
-
function
|
|
7797
|
+
function em(t, e, i, n) {
|
|
7791
7798
|
e === void 0 && (e = !0), n === void 0 && (n = 0.5);
|
|
7792
7799
|
const s = this;
|
|
7793
7800
|
if (s.destroyed) return;
|
|
@@ -7803,7 +7810,7 @@ function Jh(t, e, i, n) {
|
|
|
7803
7810
|
}
|
|
7804
7811
|
return r = Math.max(r, 0), r = Math.min(r, s.slidesGrid.length - 1), s.slideTo(r, t, e, i);
|
|
7805
7812
|
}
|
|
7806
|
-
function
|
|
7813
|
+
function tm() {
|
|
7807
7814
|
const t = this;
|
|
7808
7815
|
if (t.destroyed) return;
|
|
7809
7816
|
const {
|
|
@@ -7820,16 +7827,16 @@ function Qh() {
|
|
|
7820
7827
|
} else
|
|
7821
7828
|
t.slideTo(s);
|
|
7822
7829
|
}
|
|
7823
|
-
var
|
|
7824
|
-
slideTo:
|
|
7825
|
-
slideToLoop:
|
|
7826
|
-
slideNext:
|
|
7827
|
-
slidePrev:
|
|
7828
|
-
slideReset:
|
|
7829
|
-
slideToClosest:
|
|
7830
|
-
slideToClickedSlide:
|
|
7830
|
+
var im = {
|
|
7831
|
+
slideTo: Kh,
|
|
7832
|
+
slideToLoop: qh,
|
|
7833
|
+
slideNext: Yh,
|
|
7834
|
+
slidePrev: Jh,
|
|
7835
|
+
slideReset: Qh,
|
|
7836
|
+
slideToClosest: em,
|
|
7837
|
+
slideToClickedSlide: tm
|
|
7831
7838
|
};
|
|
7832
|
-
function
|
|
7839
|
+
function nm(t, e) {
|
|
7833
7840
|
const i = this, {
|
|
7834
7841
|
params: n,
|
|
7835
7842
|
slidesEl: s
|
|
@@ -7848,7 +7855,7 @@ function tm(t, e) {
|
|
|
7848
7855
|
n.loopAddBlankSlides && (n.slidesPerGroup > 1 || a) && o();
|
|
7849
7856
|
const l = n.slidesPerGroup * (a ? n.grid.rows : 1), c = i.slides.length % l !== 0, u = a && i.slides.length % n.grid.rows !== 0, d = (f) => {
|
|
7850
7857
|
for (let p = 0; p < f; p += 1) {
|
|
7851
|
-
const h = i.isElement ?
|
|
7858
|
+
const h = i.isElement ? Ni("swiper-slide", [n.slideBlankClass]) : Ni("div", [n.slideClass, n.slideBlankClass]);
|
|
7852
7859
|
i.slidesEl.append(h);
|
|
7853
7860
|
}
|
|
7854
7861
|
};
|
|
@@ -7874,7 +7881,7 @@ function tm(t, e) {
|
|
|
7874
7881
|
initial: e
|
|
7875
7882
|
});
|
|
7876
7883
|
}
|
|
7877
|
-
function
|
|
7884
|
+
function sm(t) {
|
|
7878
7885
|
let {
|
|
7879
7886
|
slideRealIndex: e,
|
|
7880
7887
|
slideTo: i = !0,
|
|
@@ -7981,7 +7988,7 @@ function im(t) {
|
|
|
7981
7988
|
}
|
|
7982
7989
|
c.emit("loopFix");
|
|
7983
7990
|
}
|
|
7984
|
-
function
|
|
7991
|
+
function rm() {
|
|
7985
7992
|
const t = this, {
|
|
7986
7993
|
params: e,
|
|
7987
7994
|
slidesEl: i
|
|
@@ -7998,12 +8005,12 @@ function nm() {
|
|
|
7998
8005
|
i.append(s);
|
|
7999
8006
|
}), t.recalcSlides(), t.slideTo(t.realIndex, 0);
|
|
8000
8007
|
}
|
|
8001
|
-
var
|
|
8002
|
-
loopCreate:
|
|
8003
|
-
loopFix:
|
|
8004
|
-
loopDestroy:
|
|
8008
|
+
var om = {
|
|
8009
|
+
loopCreate: nm,
|
|
8010
|
+
loopFix: sm,
|
|
8011
|
+
loopDestroy: rm
|
|
8005
8012
|
};
|
|
8006
|
-
function
|
|
8013
|
+
function am(t) {
|
|
8007
8014
|
const e = this;
|
|
8008
8015
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
|
|
8009
8016
|
const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
|
|
@@ -8011,17 +8018,17 @@ function rm(t) {
|
|
|
8011
8018
|
e.__preventObserver__ = !1;
|
|
8012
8019
|
});
|
|
8013
8020
|
}
|
|
8014
|
-
function
|
|
8021
|
+
function lm() {
|
|
8015
8022
|
const t = this;
|
|
8016
8023
|
t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
|
|
8017
8024
|
t.__preventObserver__ = !1;
|
|
8018
8025
|
}));
|
|
8019
8026
|
}
|
|
8020
|
-
var
|
|
8021
|
-
setGrabCursor:
|
|
8022
|
-
unsetGrabCursor:
|
|
8027
|
+
var um = {
|
|
8028
|
+
setGrabCursor: am,
|
|
8029
|
+
unsetGrabCursor: lm
|
|
8023
8030
|
};
|
|
8024
|
-
function
|
|
8031
|
+
function cm(t, e) {
|
|
8025
8032
|
e === void 0 && (e = this);
|
|
8026
8033
|
function i(n) {
|
|
8027
8034
|
if (!n || n === ye() || n === ae()) return null;
|
|
@@ -8037,7 +8044,7 @@ function fr(t, e, i) {
|
|
|
8037
8044
|
} = t, r = s.edgeSwipeDetection, o = s.edgeSwipeThreshold;
|
|
8038
8045
|
return r && (i <= o || i >= n.innerWidth - o) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
8039
8046
|
}
|
|
8040
|
-
function
|
|
8047
|
+
function dm(t) {
|
|
8041
8048
|
const e = this, i = ye();
|
|
8042
8049
|
let n = t;
|
|
8043
8050
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -8060,11 +8067,11 @@ function um(t) {
|
|
|
8060
8067
|
return;
|
|
8061
8068
|
!e.animating && r.cssMode && r.loop && e.loopFix();
|
|
8062
8069
|
let l = n.target;
|
|
8063
|
-
if (r.touchEventsTarget === "wrapper" && !
|
|
8070
|
+
if (r.touchEventsTarget === "wrapper" && !yh(l, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || s.isTouched && s.isMoved) return;
|
|
8064
8071
|
const c = !!r.noSwipingClass && r.noSwipingClass !== "", u = n.composedPath ? n.composedPath() : n.path;
|
|
8065
8072
|
c && n.target && n.target.shadowRoot && u && (l = u[0]);
|
|
8066
8073
|
const d = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, f = !!(n.target && n.target.shadowRoot);
|
|
8067
|
-
if (r.noSwiping && (f ?
|
|
8074
|
+
if (r.noSwiping && (f ? cm(d, l) : l.closest(d))) {
|
|
8068
8075
|
e.allowClick = !0;
|
|
8069
8076
|
return;
|
|
8070
8077
|
}
|
|
@@ -8086,7 +8093,7 @@ function um(t) {
|
|
|
8086
8093
|
const g = m && e.allowTouchMove && r.touchStartPreventDefault;
|
|
8087
8094
|
(r.touchStartForcePreventDefault || g) && !l.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
|
|
8088
8095
|
}
|
|
8089
|
-
function
|
|
8096
|
+
function fm(t) {
|
|
8090
8097
|
const e = ye(), i = this, n = i.touchEventsData, {
|
|
8091
8098
|
params: s,
|
|
8092
8099
|
touches: r,
|
|
@@ -8202,7 +8209,7 @@ function cm(t) {
|
|
|
8202
8209
|
}
|
|
8203
8210
|
!s.followFinger || s.cssMode || ((s.freeMode && s.freeMode.enabled && i.freeMode || s.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), s.freeMode && s.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(n.currentTranslate), i.setTranslate(n.currentTranslate));
|
|
8204
8211
|
}
|
|
8205
|
-
function
|
|
8212
|
+
function pm(t) {
|
|
8206
8213
|
const e = this, i = e.touchEventsData;
|
|
8207
8214
|
let n = t;
|
|
8208
8215
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -8291,11 +8298,11 @@ function pr() {
|
|
|
8291
8298
|
t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
|
|
8292
8299
|
}, 500)), t.allowSlidePrev = s, t.allowSlideNext = n, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
|
|
8293
8300
|
}
|
|
8294
|
-
function
|
|
8301
|
+
function hm(t) {
|
|
8295
8302
|
const e = this;
|
|
8296
8303
|
e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
|
|
8297
8304
|
}
|
|
8298
|
-
function
|
|
8305
|
+
function mm() {
|
|
8299
8306
|
const t = this, {
|
|
8300
8307
|
wrapperEl: e,
|
|
8301
8308
|
rtlTranslate: i,
|
|
@@ -8307,11 +8314,11 @@ function pm() {
|
|
|
8307
8314
|
const r = t.maxTranslate() - t.minTranslate();
|
|
8308
8315
|
r === 0 ? s = 0 : s = (t.translate - t.minTranslate()) / r, s !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
|
|
8309
8316
|
}
|
|
8310
|
-
function
|
|
8317
|
+
function vm(t) {
|
|
8311
8318
|
const e = this;
|
|
8312
8319
|
zt(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
8313
8320
|
}
|
|
8314
|
-
function
|
|
8321
|
+
function gm() {
|
|
8315
8322
|
const t = this;
|
|
8316
8323
|
t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
|
|
8317
8324
|
}
|
|
@@ -8353,21 +8360,21 @@ const ya = (t, e) => {
|
|
|
8353
8360
|
capture: !0
|
|
8354
8361
|
}));
|
|
8355
8362
|
};
|
|
8356
|
-
function
|
|
8363
|
+
function ym() {
|
|
8357
8364
|
const t = this, {
|
|
8358
8365
|
params: e
|
|
8359
8366
|
} = t;
|
|
8360
|
-
t.onTouchStart =
|
|
8367
|
+
t.onTouchStart = dm.bind(t), t.onTouchMove = fm.bind(t), t.onTouchEnd = pm.bind(t), t.onDocumentTouchStart = gm.bind(t), e.cssMode && (t.onScroll = mm.bind(t)), t.onClick = hm.bind(t), t.onLoad = vm.bind(t), ya(t, "on");
|
|
8361
8368
|
}
|
|
8362
|
-
function
|
|
8369
|
+
function wm() {
|
|
8363
8370
|
ya(this, "off");
|
|
8364
8371
|
}
|
|
8365
|
-
var
|
|
8366
|
-
attachEvents:
|
|
8367
|
-
detachEvents:
|
|
8372
|
+
var bm = {
|
|
8373
|
+
attachEvents: ym,
|
|
8374
|
+
detachEvents: wm
|
|
8368
8375
|
};
|
|
8369
8376
|
const hr = (t, e) => t.grid && e.grid && e.grid.rows > 1;
|
|
8370
|
-
function
|
|
8377
|
+
function Sm() {
|
|
8371
8378
|
const t = this, {
|
|
8372
8379
|
realIndex: e,
|
|
8373
8380
|
initialized: i,
|
|
@@ -8392,7 +8399,7 @@ function wm() {
|
|
|
8392
8399
|
allowSlidePrev: t.params.allowSlidePrev
|
|
8393
8400
|
}), g && !x ? t.disable() : !g && x && t.enable(), t.currentBreakpoint = c, t.emit("_beforeBreakpoint", d), i && (w ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !b && y ? (t.loopCreate(e), t.updateSlides()) : b && !y && t.loopDestroy()), t.emit("breakpoint", d);
|
|
8394
8401
|
}
|
|
8395
|
-
function
|
|
8402
|
+
function Tm(t, e, i) {
|
|
8396
8403
|
if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
|
|
8397
8404
|
let n = !1;
|
|
8398
8405
|
const s = ae(), r = e === "window" ? s.innerHeight : i.clientHeight, o = Object.keys(t).map((a) => {
|
|
@@ -8418,11 +8425,11 @@ function bm(t, e, i) {
|
|
|
8418
8425
|
}
|
|
8419
8426
|
return n || "max";
|
|
8420
8427
|
}
|
|
8421
|
-
var
|
|
8422
|
-
setBreakpoint:
|
|
8423
|
-
getBreakpoint:
|
|
8428
|
+
var xm = {
|
|
8429
|
+
setBreakpoint: Sm,
|
|
8430
|
+
getBreakpoint: Tm
|
|
8424
8431
|
};
|
|
8425
|
-
function
|
|
8432
|
+
function Em(t, e) {
|
|
8426
8433
|
const i = [];
|
|
8427
8434
|
return t.forEach((n) => {
|
|
8428
8435
|
typeof n == "object" ? Object.keys(n).forEach((s) => {
|
|
@@ -8430,14 +8437,14 @@ function Tm(t, e) {
|
|
|
8430
8437
|
}) : typeof n == "string" && i.push(e + n);
|
|
8431
8438
|
}), i;
|
|
8432
8439
|
}
|
|
8433
|
-
function
|
|
8440
|
+
function Pm() {
|
|
8434
8441
|
const t = this, {
|
|
8435
8442
|
classNames: e,
|
|
8436
8443
|
params: i,
|
|
8437
8444
|
rtl: n,
|
|
8438
8445
|
el: s,
|
|
8439
8446
|
device: r
|
|
8440
|
-
} = t, o =
|
|
8447
|
+
} = t, o = Em(["initialized", i.direction, {
|
|
8441
8448
|
"free-mode": t.params.freeMode && i.freeMode.enabled
|
|
8442
8449
|
}, {
|
|
8443
8450
|
autoheight: i.autoHeight
|
|
@@ -8460,18 +8467,18 @@ function xm() {
|
|
|
8460
8467
|
}], i.containerModifierClass);
|
|
8461
8468
|
e.push(...o), s.classList.add(...e), t.emitContainerClasses();
|
|
8462
8469
|
}
|
|
8463
|
-
function
|
|
8470
|
+
function Mm() {
|
|
8464
8471
|
const t = this, {
|
|
8465
8472
|
el: e,
|
|
8466
8473
|
classNames: i
|
|
8467
8474
|
} = t;
|
|
8468
8475
|
!e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
|
|
8469
8476
|
}
|
|
8470
|
-
var
|
|
8471
|
-
addClasses:
|
|
8472
|
-
removeClasses:
|
|
8477
|
+
var Vm = {
|
|
8478
|
+
addClasses: Pm,
|
|
8479
|
+
removeClasses: Mm
|
|
8473
8480
|
};
|
|
8474
|
-
function
|
|
8481
|
+
function Am() {
|
|
8475
8482
|
const t = this, {
|
|
8476
8483
|
isLocked: e,
|
|
8477
8484
|
params: i
|
|
@@ -8485,8 +8492,8 @@ function Mm() {
|
|
|
8485
8492
|
t.isLocked = t.snapGrid.length === 1;
|
|
8486
8493
|
i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
|
|
8487
8494
|
}
|
|
8488
|
-
var
|
|
8489
|
-
checkOverflow:
|
|
8495
|
+
var Cm = {
|
|
8496
|
+
checkOverflow: Am
|
|
8490
8497
|
}, Gi = {
|
|
8491
8498
|
init: !0,
|
|
8492
8499
|
direction: "horizontal",
|
|
@@ -8608,7 +8615,7 @@ var Vm = {
|
|
|
8608
8615
|
// Internals
|
|
8609
8616
|
_emitClasses: !1
|
|
8610
8617
|
};
|
|
8611
|
-
function
|
|
8618
|
+
function Lm(t, e) {
|
|
8612
8619
|
return function(n) {
|
|
8613
8620
|
n === void 0 && (n = {});
|
|
8614
8621
|
const s = Object.keys(n)[0], r = n[s];
|
|
@@ -8628,17 +8635,17 @@ function Am(t, e) {
|
|
|
8628
8635
|
};
|
|
8629
8636
|
}
|
|
8630
8637
|
const xi = {
|
|
8631
|
-
eventsEmitter:
|
|
8632
|
-
update:
|
|
8633
|
-
translate:
|
|
8634
|
-
transition:
|
|
8635
|
-
slide:
|
|
8636
|
-
loop:
|
|
8637
|
-
grabCursor:
|
|
8638
|
-
events:
|
|
8639
|
-
breakpoints:
|
|
8640
|
-
checkOverflow:
|
|
8641
|
-
classes:
|
|
8638
|
+
eventsEmitter: Vh,
|
|
8639
|
+
update: kh,
|
|
8640
|
+
translate: Gh,
|
|
8641
|
+
transition: Wh,
|
|
8642
|
+
slide: im,
|
|
8643
|
+
loop: om,
|
|
8644
|
+
grabCursor: um,
|
|
8645
|
+
events: bm,
|
|
8646
|
+
breakpoints: xm,
|
|
8647
|
+
checkOverflow: Cm,
|
|
8648
|
+
classes: Vm
|
|
8642
8649
|
}, Ei = {};
|
|
8643
8650
|
let An = class be {
|
|
8644
8651
|
constructor() {
|
|
@@ -8665,7 +8672,7 @@ let An = class be {
|
|
|
8665
8672
|
u({
|
|
8666
8673
|
params: i,
|
|
8667
8674
|
swiper: a,
|
|
8668
|
-
extendParams:
|
|
8675
|
+
extendParams: Lm(i, l),
|
|
8669
8676
|
on: a.on.bind(a),
|
|
8670
8677
|
once: a.once.bind(a),
|
|
8671
8678
|
off: a.off.bind(a),
|
|
@@ -8889,7 +8896,7 @@ let An = class be {
|
|
|
8889
8896
|
n.swiper = i, n.parentNode && n.parentNode.host && n.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
|
|
8890
8897
|
const s = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
8891
8898
|
let o = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(s()) : Se(n, s())[0];
|
|
8892
|
-
return !o && i.params.createElements && (o =
|
|
8899
|
+
return !o && i.params.createElements && (o = Ni("div", i.params.wrapperClass), n.append(o), Se(n, `.${i.params.slideClass}`).forEach((a) => {
|
|
8893
8900
|
o.append(a);
|
|
8894
8901
|
})), Object.assign(i, {
|
|
8895
8902
|
el: n,
|
|
@@ -8898,9 +8905,9 @@ let An = class be {
|
|
|
8898
8905
|
hostEl: i.isElement ? n.parentNode.host : n,
|
|
8899
8906
|
mounted: !0,
|
|
8900
8907
|
// RTL
|
|
8901
|
-
rtl: n.dir.toLowerCase() === "rtl" ||
|
|
8902
|
-
rtlTranslate: i.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" ||
|
|
8903
|
-
wrongRTL:
|
|
8908
|
+
rtl: n.dir.toLowerCase() === "rtl" || Ae(n, "direction") === "rtl",
|
|
8909
|
+
rtlTranslate: i.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || Ae(n, "direction") === "rtl"),
|
|
8910
|
+
wrongRTL: Ae(o, "display") === "-webkit-box"
|
|
8904
8911
|
}), !0;
|
|
8905
8912
|
}
|
|
8906
8913
|
init(e) {
|
|
@@ -8926,7 +8933,7 @@ let An = class be {
|
|
|
8926
8933
|
l.classList.remove(s.slideVisibleClass, s.slideFullyVisibleClass, s.slideActiveClass, s.slideNextClass, s.slidePrevClass), l.removeAttribute("style"), l.removeAttribute("data-swiper-slide-index");
|
|
8927
8934
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((l) => {
|
|
8928
8935
|
n.off(l);
|
|
8929
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
8936
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), ph(n)), n.destroyed = !0), null;
|
|
8930
8937
|
}
|
|
8931
8938
|
static extendDefaults(e) {
|
|
8932
8939
|
le(Ei, e);
|
|
@@ -8951,7 +8958,7 @@ Object.keys(xi).forEach((t) => {
|
|
|
8951
8958
|
An.prototype[e] = xi[t][e];
|
|
8952
8959
|
});
|
|
8953
8960
|
});
|
|
8954
|
-
An.use([
|
|
8961
|
+
An.use([Ph, Mh]);
|
|
8955
8962
|
const wa = [
|
|
8956
8963
|
"eventsPrefix",
|
|
8957
8964
|
"injectStyles",
|
|
@@ -9071,13 +9078,13 @@ const wa = [
|
|
|
9071
9078
|
"zoom",
|
|
9072
9079
|
"control"
|
|
9073
9080
|
];
|
|
9074
|
-
function
|
|
9081
|
+
function Ze(t) {
|
|
9075
9082
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
|
|
9076
9083
|
}
|
|
9077
9084
|
function qe(t, e) {
|
|
9078
9085
|
const i = ["__proto__", "constructor", "prototype"];
|
|
9079
9086
|
Object.keys(e).filter((n) => i.indexOf(n) < 0).forEach((n) => {
|
|
9080
|
-
typeof t[n] > "u" ? t[n] = e[n] :
|
|
9087
|
+
typeof t[n] > "u" ? t[n] = e[n] : Ze(e[n]) && Ze(t[n]) && Object.keys(e[n]).length > 0 ? e[n].__swiper__ ? t[n] = e[n] : qe(t[n], e[n]) : t[n] = e[n];
|
|
9081
9088
|
});
|
|
9082
9089
|
}
|
|
9083
9090
|
function ba(t) {
|
|
@@ -9096,10 +9103,10 @@ function xa(t) {
|
|
|
9096
9103
|
i.indexOf(n) < 0 && i.push(n);
|
|
9097
9104
|
}), i.join(" ");
|
|
9098
9105
|
}
|
|
9099
|
-
function
|
|
9106
|
+
function _m(t) {
|
|
9100
9107
|
return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
|
|
9101
9108
|
}
|
|
9102
|
-
function
|
|
9109
|
+
function Dm(t) {
|
|
9103
9110
|
let {
|
|
9104
9111
|
swiper: e,
|
|
9105
9112
|
slides: i,
|
|
@@ -9124,7 +9131,7 @@ function Lm(t) {
|
|
|
9124
9131
|
e[S] && (e[S].destroy(), S === "navigation" ? (e.isElement && (e[S].prevEl.remove(), e[S].nextEl.remove()), u[S].prevEl = void 0, u[S].nextEl = void 0, e[S].prevEl = void 0, e[S].nextEl = void 0) : (e.isElement && e[S].el.remove(), u[S].el = void 0, e[S].el = void 0));
|
|
9125
9132
|
};
|
|
9126
9133
|
s.includes("loop") && e.isElement && (u.loop && !n.loop ? y = !0 : !u.loop && n.loop ? V = !0 : A = !0), c.forEach((S) => {
|
|
9127
|
-
if (
|
|
9134
|
+
if (Ze(u[S]) && Ze(n[S]))
|
|
9128
9135
|
Object.assign(u[S], n[S]), (S === "navigation" || S === "pagination" || S === "scrollbar") && "enabled" in n[S] && !n[S].enabled && T(S);
|
|
9129
9136
|
else {
|
|
9130
9137
|
const E = n[S];
|
|
@@ -9140,7 +9147,7 @@ function mr(t, e) {
|
|
|
9140
9147
|
qe(i, Gi), i._emitClasses = !0, i.init = !1;
|
|
9141
9148
|
const r = {}, o = wa.map((l) => l.replace(/_/, "")), a = Object.assign({}, t);
|
|
9142
9149
|
return Object.keys(a).forEach((l) => {
|
|
9143
|
-
typeof t[l] > "u" || (o.indexOf(l) >= 0 ?
|
|
9150
|
+
typeof t[l] > "u" || (o.indexOf(l) >= 0 ? Ze(t[l]) ? (i[l] = {}, s[l] = {}, qe(i[l], t[l]), qe(s[l], t[l])) : (i[l] = t[l], s[l] = t[l]) : l.search(/on[A-Z]/) === 0 && typeof t[l] == "function" ? i.on[`${l[2].toLowerCase()}${l.substr(3)}`] = t[l] : r[l] = t[l]);
|
|
9144
9151
|
}), ["navigation", "pagination", "scrollbar"].forEach((l) => {
|
|
9145
9152
|
i[l] === !0 && (i[l] = {}), i[l] === !1 && delete i[l];
|
|
9146
9153
|
}), {
|
|
@@ -9150,7 +9157,7 @@ function mr(t, e) {
|
|
|
9150
9157
|
events: n
|
|
9151
9158
|
};
|
|
9152
9159
|
}
|
|
9153
|
-
function
|
|
9160
|
+
function Im(t, e) {
|
|
9154
9161
|
let {
|
|
9155
9162
|
el: i,
|
|
9156
9163
|
nextEl: n,
|
|
@@ -9161,7 +9168,7 @@ function _m(t, e) {
|
|
|
9161
9168
|
} = t;
|
|
9162
9169
|
ba(e) && n && s && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = s, a.originalParams.navigation.prevEl = s), Sa(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), Ta(e) && o && (a.params.scrollbar.el = o, a.originalParams.scrollbar.el = o), a.init(i);
|
|
9163
9170
|
}
|
|
9164
|
-
function
|
|
9171
|
+
function Om(t, e, i, n, s) {
|
|
9165
9172
|
const r = [];
|
|
9166
9173
|
if (!e) return r;
|
|
9167
9174
|
const o = (l) => {
|
|
@@ -9173,7 +9180,7 @@ function Dm(t, e, i, n, s) {
|
|
|
9173
9180
|
}
|
|
9174
9181
|
return wa.filter((l) => l[0] === "_").map((l) => l.replace(/_/, "")).forEach((l) => {
|
|
9175
9182
|
if (l in t && l in e)
|
|
9176
|
-
if (
|
|
9183
|
+
if (Ze(t[l]) && Ze(e[l])) {
|
|
9177
9184
|
const c = Object.keys(t[l]), u = Object.keys(e[l]);
|
|
9178
9185
|
c.length !== u.length ? o(l) : (c.forEach((d) => {
|
|
9179
9186
|
t[l][d] !== e[l][d] && o(l);
|
|
@@ -9183,7 +9190,7 @@ function Dm(t, e, i, n, s) {
|
|
|
9183
9190
|
} else t[l] !== e[l] && o(l);
|
|
9184
9191
|
}), r;
|
|
9185
9192
|
}
|
|
9186
|
-
const
|
|
9193
|
+
const Bm = (t) => {
|
|
9187
9194
|
!t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.emit("_virtualUpdated"), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
|
|
9188
9195
|
};
|
|
9189
9196
|
function Pi(t, e, i) {
|
|
@@ -9208,7 +9215,7 @@ function Pi(t, e, i) {
|
|
|
9208
9215
|
slots: s
|
|
9209
9216
|
};
|
|
9210
9217
|
}
|
|
9211
|
-
function
|
|
9218
|
+
function zm(t, e, i) {
|
|
9212
9219
|
if (!i) return null;
|
|
9213
9220
|
const n = (u) => {
|
|
9214
9221
|
let d = u;
|
|
@@ -9748,8 +9755,8 @@ const Ea = {
|
|
|
9748
9755
|
!c.value && d.value && (d.value.emitSlidesClasses(), c.value = !0);
|
|
9749
9756
|
const {
|
|
9750
9757
|
passedParams: T
|
|
9751
|
-
} = mr(t), S =
|
|
9752
|
-
f.value = T, (S.length || l.value) && d.value && !d.value.destroyed &&
|
|
9758
|
+
} = mr(t), S = Om(T, f.value, p.value, h.value, (E) => E.props && E.props.key);
|
|
9759
|
+
f.value = T, (S.length || l.value) && d.value && !d.value.destroyed && Dm({
|
|
9753
9760
|
swiper: d.value,
|
|
9754
9761
|
slides: p.value,
|
|
9755
9762
|
passedParams: T,
|
|
@@ -9761,10 +9768,10 @@ const Ea = {
|
|
|
9761
9768
|
}), l.value = !1;
|
|
9762
9769
|
}), qt("swiper", d), Hi(a, () => {
|
|
9763
9770
|
Sr(() => {
|
|
9764
|
-
|
|
9771
|
+
Bm(d.value);
|
|
9765
9772
|
});
|
|
9766
|
-
}),
|
|
9767
|
-
u.value && (
|
|
9773
|
+
}), Be(() => {
|
|
9774
|
+
u.value && (Im({
|
|
9768
9775
|
el: u.value,
|
|
9769
9776
|
nextEl: m.value,
|
|
9770
9777
|
prevEl: g.value,
|
|
@@ -9776,7 +9783,7 @@ const Ea = {
|
|
|
9776
9783
|
d.value && !d.value.destroyed && d.value.destroy(!0, !1);
|
|
9777
9784
|
});
|
|
9778
9785
|
function A(T) {
|
|
9779
|
-
return b.virtual ?
|
|
9786
|
+
return b.virtual ? zm(d, T, a.value) : (T.forEach((S, E) => {
|
|
9780
9787
|
S.props || (S.props = {}), S.props.swiperRef = d, S.props.swiperSlideIndex = E;
|
|
9781
9788
|
}), T);
|
|
9782
9789
|
}
|
|
@@ -9789,7 +9796,7 @@ const Ea = {
|
|
|
9789
9796
|
ref: u,
|
|
9790
9797
|
class: xa(o.value)
|
|
9791
9798
|
}, [S["container-start"], se(r, {
|
|
9792
|
-
class:
|
|
9799
|
+
class: _m(b.wrapperClass)
|
|
9793
9800
|
}, [S["wrapper-start"], A(T), S["wrapper-end"]]), ba(t) && [se("div", {
|
|
9794
9801
|
ref: g,
|
|
9795
9802
|
class: "swiper-button-prev"
|
|
@@ -9846,7 +9853,7 @@ const Ea = {
|
|
|
9846
9853
|
function l(d, f, p) {
|
|
9847
9854
|
f === r.value && (o.value = p);
|
|
9848
9855
|
}
|
|
9849
|
-
|
|
9856
|
+
Be(() => {
|
|
9850
9857
|
!s || !s.value || (s.value.on("_slideClass", l), n = !0);
|
|
9851
9858
|
}), yr(() => {
|
|
9852
9859
|
n || !s || !s.value || (s.value.on("_slideClass", l), n = !0);
|
|
@@ -9879,7 +9886,7 @@ const Ea = {
|
|
|
9879
9886
|
class: "swiper-lazy-preloader"
|
|
9880
9887
|
})]);
|
|
9881
9888
|
}
|
|
9882
|
-
},
|
|
9889
|
+
}, Rm = { class: "m-auto w-1200" }, km = { class: "carousel-layout" }, Fm = { class: "text-content" }, jm = { class: "title csr-v2-title-tab" }, $m = { class: "text csr-v2-text" }, Nm = { class: "media-content" }, Zm = { class: "slick-dots-container" }, Gm = { class: "slick-dots" }, Xm = ["onClick"], Um = { class: "dots-number csr-v2-description" }, Hm = { class: "active-text" }, Wm = { class: "length-text" }, Km = /* @__PURE__ */ $({
|
|
9883
9890
|
name: "FCarouselTextMediaV2",
|
|
9884
9891
|
__name: "FCarouselTextMedia",
|
|
9885
9892
|
props: {
|
|
@@ -9920,18 +9927,18 @@ const Ea = {
|
|
|
9920
9927
|
class: "carousel-text-media_v2",
|
|
9921
9928
|
style: W(_(i))
|
|
9922
9929
|
}, [
|
|
9923
|
-
P("div",
|
|
9924
|
-
P("div",
|
|
9930
|
+
P("div", Rm, [
|
|
9931
|
+
P("div", km, [
|
|
9925
9932
|
P("button", {
|
|
9926
9933
|
class: "slick-arrow slick-prev",
|
|
9927
9934
|
onClick: pe(d, ["stop"])
|
|
9928
9935
|
}, [
|
|
9929
|
-
|
|
9936
|
+
N(En, {
|
|
9930
9937
|
size: "30",
|
|
9931
9938
|
color: "white"
|
|
9932
9939
|
})
|
|
9933
9940
|
]),
|
|
9934
|
-
|
|
9941
|
+
N(_(Ge), {
|
|
9935
9942
|
is: "div",
|
|
9936
9943
|
class: "carousel-content",
|
|
9937
9944
|
style: W({ height: e.config.contentHeight }),
|
|
@@ -9941,7 +9948,7 @@ const Ea = {
|
|
|
9941
9948
|
viewport: _(Z).viewport
|
|
9942
9949
|
}, {
|
|
9943
9950
|
default: ne(() => [
|
|
9944
|
-
|
|
9951
|
+
N(_(Ea), {
|
|
9945
9952
|
modules: n,
|
|
9946
9953
|
autoplay: o,
|
|
9947
9954
|
loop: !0,
|
|
@@ -9955,14 +9962,14 @@ const Ea = {
|
|
|
9955
9962
|
class: "text-media-content",
|
|
9956
9963
|
style: W({ height: e.config.contentHeight })
|
|
9957
9964
|
}, [
|
|
9958
|
-
P("div",
|
|
9959
|
-
P("div",
|
|
9960
|
-
P("div",
|
|
9965
|
+
P("div", Fm, [
|
|
9966
|
+
P("div", jm, q(m.title), 1),
|
|
9967
|
+
P("div", $m, [
|
|
9961
9968
|
(M(!0), L(te, null, fe(m.text.split(`
|
|
9962
9969
|
`) || [], (v, w) => (M(), L("div", { key: w }, q(v), 1))), 128))
|
|
9963
9970
|
])
|
|
9964
9971
|
]),
|
|
9965
|
-
P("div",
|
|
9972
|
+
P("div", Nm, [
|
|
9966
9973
|
m.src ? (M(), U(Pe, {
|
|
9967
9974
|
key: 0,
|
|
9968
9975
|
src: m.src
|
|
@@ -9982,29 +9989,29 @@ const Ea = {
|
|
|
9982
9989
|
class: "slick-arrow slick-next",
|
|
9983
9990
|
onClick: pe(f, ["stop"])
|
|
9984
9991
|
}, [
|
|
9985
|
-
|
|
9992
|
+
N(Pn, {
|
|
9986
9993
|
size: "30",
|
|
9987
9994
|
color: "white"
|
|
9988
9995
|
})
|
|
9989
9996
|
])
|
|
9990
9997
|
]),
|
|
9991
|
-
P("div",
|
|
9992
|
-
P("div",
|
|
9998
|
+
P("div", Zm, [
|
|
9999
|
+
P("div", Gm, [
|
|
9993
10000
|
(M(!0), L(te, null, fe(a.value, (m) => (M(), L("div", {
|
|
9994
10001
|
key: m,
|
|
9995
10002
|
class: Ee(`slick-dot ${r.value === m - 1 ? "active" : ""}`),
|
|
9996
10003
|
onClick: pe((g) => u(m), ["stop"])
|
|
9997
|
-
}, null, 10,
|
|
10004
|
+
}, null, 10, Xm))), 128))
|
|
9998
10005
|
]),
|
|
9999
|
-
P("div",
|
|
10000
|
-
P("span",
|
|
10001
|
-
P("span",
|
|
10006
|
+
P("div", Um, [
|
|
10007
|
+
P("span", Hm, q(r.value + 1), 1),
|
|
10008
|
+
P("span", Wm, q(`/${a.value}`), 1)
|
|
10002
10009
|
])
|
|
10003
10010
|
])
|
|
10004
10011
|
])
|
|
10005
10012
|
], 4));
|
|
10006
10013
|
}
|
|
10007
|
-
}), Ma = /* @__PURE__ */ oe(
|
|
10014
|
+
}), Ma = /* @__PURE__ */ oe(Km, [["__scopeId", "data-v-ceecbaf1"]]), qm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAA/UExURUdwTP////////////r6+v///////////////////////////////////xoaGjAwMLW1tZGRkePj43R0dFFRUVXC+pAAAAANdFJOUwBAXTD1pX8X38GPP2+WI0vcAAADkElEQVR42u2c226cQAyGgTkDYw7L+z9rN1GTtpvA2HN0Kv7blVafsMc2xp6uu3Xr1q1bPGXEMCpnrf8t65zSQ2+aMvWz+gR6lVW6b0IltJM+JDeLulS9th4pO1ZjM9p5kuxQw+P6UXq6VGm03vlIuZ4l1jtaqadmkrCKGdRo6dOls3NN1meRzetqZvTZNGa0p7A+o2w2stlnVh5PM8pnV47jaawvoHRziiJcT7LE1N5LX0hySOEafEENTLkSyApzRZMV5/I+Kj8JWR5MCi7xKz2e1eGKIFO+khSNS/tqmkmG9BUl+DkY2c1GX1UjOnP7ysLGWVsbDGlM7atLszuRH6nJcAqt/7QPeD4wlP+7NmCOXajAPjLXCsyx9LDwI1PtwEamD+w6lg0NwS7Dv20JduH+wjdVz6UOw9vStgWzTC15Xv3PrcF0pnQkH7Cd/7rBY890Lol/sy0AcP7z88dlyxJjaYXF+oYVAHuiraQ/nZJr/f0AwIABzZ5zYgJ/OhdgwUhoKi2KbQtQwAj2tCmVxXoA0MAIaN95/0RzLhIY2p4isuSRf1uRBAawYVqnQ9yhXF+xKGAoe44xh3I9AFLAnmh7zLEMJKT9AZAKFnY1RwX76lxxYKEsZYlhbD3BooMFXM2SUvi3zhUNBnBc2JMAJh8AecGuXA0Pti2QH+zc1dBgK0AJMDgrMdFgWymw9X815WlkTXN+meFUfq0oksPFSgoXbAOsRVetaSlJZs2VLZN4sOzZl1SwI1iRqbhWT/lCUUeX1tFgS3Rpjev1vLoaFuzAvYxMKa9vCx3sSHl9w7/wrtQXXnRvxSa2CHZaiwA/8qKS+3afaEGwg9JU0T+rDWWIU0b5G3c+U6tzD7U6qfNUjs9XekzfjnE7ne0HiNa2HPl9EA9YsuEX8WtLNrbl1fCpkQ3BDKPJsXACZ+D+5mcOhLR7ZNNPHTpq9cgQk22O35FsGMtQ05Nchycrzw2HsiT9A2HNUMF9pJnvEHjd6p+0AzFzO5HsVzP4LrOwXf/huzBVpc7guvzGdV2Q64Jl2kpquVXZqUsS1+VivuvYfBfYS9Tac5dJec1pM15Lw/Vaibf8lOsijqnLrRyeJnWRW1WSjyfTe2jc1JXT5FhiRRtUjqWx3tEG4gl1uto1aWLEX/Olp66qxBx2N+l05YvRPo6CvrpKbp7aXnQ3DVo59+fyPevUOIimTLdu3bp160K/AJcD0/uWcqvpAAAAAElFTkSuQmCC", Ym = { class: "image-diff-v2" }, Jm = ["src"], Qm = ["src"], ev = { class: "diff-text left" }, tv = { class: "diff-text right" }, iv = /* @__PURE__ */ $({
|
|
10008
10015
|
name: "ImageDiffv2",
|
|
10009
10016
|
__name: "index",
|
|
10010
10017
|
props: {
|
|
@@ -10026,7 +10033,7 @@ const Ea = {
|
|
|
10026
10033
|
}
|
|
10027
10034
|
},
|
|
10028
10035
|
setup(t) {
|
|
10029
|
-
|
|
10036
|
+
$a((d) => ({
|
|
10030
10037
|
v73e75096: e.width,
|
|
10031
10038
|
v21986f52: e.height,
|
|
10032
10039
|
c554f8e6: r.value
|
|
@@ -10034,7 +10041,7 @@ const Ea = {
|
|
|
10034
10041
|
const e = t, i = B(), n = B(), s = Yt({
|
|
10035
10042
|
dragging: !1,
|
|
10036
10043
|
marginX: 0
|
|
10037
|
-
}), r = F(() => `url(${
|
|
10044
|
+
}), r = F(() => `url(${qm})`);
|
|
10038
10045
|
function o(d) {
|
|
10039
10046
|
d.preventDefault(), s.dragging = !1;
|
|
10040
10047
|
}
|
|
@@ -10052,7 +10059,7 @@ const Ea = {
|
|
|
10052
10059
|
function u(d) {
|
|
10053
10060
|
d.preventDefault(), s.dragging = !1;
|
|
10054
10061
|
}
|
|
10055
|
-
return (d, f) => (M(), L("div",
|
|
10062
|
+
return (d, f) => (M(), L("div", Ym, [
|
|
10056
10063
|
P("div", {
|
|
10057
10064
|
class: "img-diff-container",
|
|
10058
10065
|
style: W({ width: e.width, height: e.height }),
|
|
@@ -10070,13 +10077,13 @@ const Ea = {
|
|
|
10070
10077
|
src: e.medium[0],
|
|
10071
10078
|
alt: "",
|
|
10072
10079
|
class: "img-before"
|
|
10073
|
-
}, null, 8,
|
|
10080
|
+
}, null, 8, Jm)
|
|
10074
10081
|
], 4),
|
|
10075
10082
|
P("img", {
|
|
10076
10083
|
src: e.medium[1],
|
|
10077
10084
|
alt: "",
|
|
10078
10085
|
class: "img-after"
|
|
10079
|
-
}, null, 8,
|
|
10086
|
+
}, null, 8, Qm),
|
|
10080
10087
|
P("div", {
|
|
10081
10088
|
ref_key: "dragTargetRef",
|
|
10082
10089
|
ref: n,
|
|
@@ -10084,15 +10091,15 @@ const Ea = {
|
|
|
10084
10091
|
onMousedown: c,
|
|
10085
10092
|
onMouseup: u
|
|
10086
10093
|
}, [
|
|
10087
|
-
P("div",
|
|
10088
|
-
P("div",
|
|
10094
|
+
P("div", ev, q(e.diffText[0]), 1),
|
|
10095
|
+
P("div", tv, q(e.diffText[1]), 1),
|
|
10089
10096
|
f[0] || (f[0] = P("div", { class: "line top" }, null, -1)),
|
|
10090
10097
|
f[1] || (f[1] = P("div", { class: "line bottom" }, null, -1))
|
|
10091
10098
|
], 544)
|
|
10092
10099
|
], 36)
|
|
10093
10100
|
]));
|
|
10094
10101
|
}
|
|
10095
|
-
}), Cn = /* @__PURE__ */ oe(
|
|
10102
|
+
}), Cn = /* @__PURE__ */ oe(iv, [["__scopeId", "data-v-24c5ab18"]]), nv = { class: "carousel-layout" }, sv = { class: "media-content" }, rv = { class: "text-content csr-v2-description" }, ov = { class: "slick-dots-container" }, av = { class: "slick-dots" }, lv = ["onClick"], uv = /* @__PURE__ */ $({
|
|
10096
10103
|
name: "FCaseShowV2",
|
|
10097
10104
|
__name: "FCaseShow",
|
|
10098
10105
|
props: {
|
|
@@ -10133,7 +10140,7 @@ const Ea = {
|
|
|
10133
10140
|
class: "case-show_v2",
|
|
10134
10141
|
style: W(_(i))
|
|
10135
10142
|
}, [
|
|
10136
|
-
|
|
10143
|
+
N(_(Ge), {
|
|
10137
10144
|
is: "div",
|
|
10138
10145
|
class: "m-auto w-1200",
|
|
10139
10146
|
initial: _(Z).initial,
|
|
@@ -10142,12 +10149,12 @@ const Ea = {
|
|
|
10142
10149
|
viewport: _(Z).viewport
|
|
10143
10150
|
}, {
|
|
10144
10151
|
default: ne(() => [
|
|
10145
|
-
P("div",
|
|
10152
|
+
P("div", nv, [
|
|
10146
10153
|
P("div", {
|
|
10147
10154
|
class: "carousel-content",
|
|
10148
10155
|
style: W({ height: e.config.contentHeight })
|
|
10149
10156
|
}, [
|
|
10150
|
-
|
|
10157
|
+
N(_(Ea), {
|
|
10151
10158
|
modules: n,
|
|
10152
10159
|
autoplay: o.value,
|
|
10153
10160
|
"allow-touch-move": !1,
|
|
@@ -10162,23 +10169,23 @@ const Ea = {
|
|
|
10162
10169
|
class: "case-show-content",
|
|
10163
10170
|
style: W({ height: e.config.contentHeight })
|
|
10164
10171
|
}, [
|
|
10165
|
-
P("div",
|
|
10166
|
-
h.type === _(
|
|
10172
|
+
P("div", sv, [
|
|
10173
|
+
h.type === _(Ue).IMAGE && h.src ? (M(), U(Pe, {
|
|
10167
10174
|
key: 0,
|
|
10168
10175
|
src: h.src
|
|
10169
|
-
}, null, 8, ["src"])) : h.type === _(
|
|
10176
|
+
}, null, 8, ["src"])) : h.type === _(Ue).VIDEO && h.src ? (M(), U(Oe, {
|
|
10170
10177
|
key: 1,
|
|
10171
10178
|
src: h.src,
|
|
10172
10179
|
controls: !1,
|
|
10173
10180
|
autoplay: !0,
|
|
10174
10181
|
loop: !0
|
|
10175
|
-
}, null, 8, ["src"])) : h.type === _(
|
|
10182
|
+
}, null, 8, ["src"])) : h.type === _(Ue).DIFF && h.src && h.src2 ? (M(), U(Cn, {
|
|
10176
10183
|
key: 2,
|
|
10177
10184
|
medium: [h.src, h.src2],
|
|
10178
10185
|
"diff-text": h.diffText
|
|
10179
10186
|
}, null, 8, ["medium", "diff-text"])) : Y("", !0)
|
|
10180
10187
|
]),
|
|
10181
|
-
P("div",
|
|
10188
|
+
P("div", rv, q(h.text), 1)
|
|
10182
10189
|
], 4)
|
|
10183
10190
|
]),
|
|
10184
10191
|
_: 2
|
|
@@ -10190,7 +10197,7 @@ const Ea = {
|
|
|
10190
10197
|
class: "slick-arrow slick-prev",
|
|
10191
10198
|
onClick: pe(u, ["stop"])
|
|
10192
10199
|
}, [
|
|
10193
|
-
|
|
10200
|
+
N(En, {
|
|
10194
10201
|
size: "30",
|
|
10195
10202
|
color: "rgba(255,255,255,0.9)"
|
|
10196
10203
|
})
|
|
@@ -10199,29 +10206,29 @@ const Ea = {
|
|
|
10199
10206
|
class: "slick-arrow slick-next",
|
|
10200
10207
|
onClick: pe(d, ["stop"])
|
|
10201
10208
|
}, [
|
|
10202
|
-
|
|
10209
|
+
N(Pn, {
|
|
10203
10210
|
size: "30",
|
|
10204
10211
|
color: "rgba(255,255,255,0.9)"
|
|
10205
10212
|
})
|
|
10206
10213
|
])
|
|
10207
10214
|
], 4),
|
|
10208
|
-
P("div",
|
|
10209
|
-
P("div",
|
|
10215
|
+
P("div", ov, [
|
|
10216
|
+
P("div", av, [
|
|
10210
10217
|
(M(!0), L(te, null, fe(e.config.items, (h, m) => (M(), L("div", {
|
|
10211
10218
|
key: m,
|
|
10212
10219
|
class: Ee(`slick-dot ${r.value === m ? "active" : ""}`),
|
|
10213
10220
|
onClick: pe((g) => c(m), ["stop"])
|
|
10214
10221
|
}, [
|
|
10215
|
-
[_(
|
|
10222
|
+
[_(Ue).DIFF, _(Ue).IMAGE].includes(h.type) ? (M(), U(Pe, {
|
|
10216
10223
|
key: 0,
|
|
10217
10224
|
src: h.thumbnail || h.src
|
|
10218
|
-
}, null, 8, ["src"])) : (M(), U(
|
|
10225
|
+
}, null, 8, ["src"])) : (M(), U(Oe, {
|
|
10219
10226
|
key: 1,
|
|
10220
10227
|
src: h.src,
|
|
10221
10228
|
controls: !1,
|
|
10222
10229
|
autoplay: !1
|
|
10223
10230
|
}, null, 8, ["src"]))
|
|
10224
|
-
], 10,
|
|
10231
|
+
], 10, lv))), 128))
|
|
10225
10232
|
])
|
|
10226
10233
|
])
|
|
10227
10234
|
])
|
|
@@ -10230,7 +10237,7 @@ const Ea = {
|
|
|
10230
10237
|
}, 8, ["initial", "transition", "while-in-view", "viewport"])
|
|
10231
10238
|
], 4));
|
|
10232
10239
|
}
|
|
10233
|
-
}), Va = /* @__PURE__ */ oe(
|
|
10240
|
+
}), Va = /* @__PURE__ */ oe(uv, [["__scopeId", "data-v-3d97f746"]]), hv = Tr, mv = ra, vv = oa, gv = la, yv = ua, wv = Ma, bv = Va, Sv = Pe, Tv = Oe, xv = xn, Ev = Tn, Pv = Mn, Mv = Cn, Vv = Sn, cv = [
|
|
10234
10241
|
Tr,
|
|
10235
10242
|
ra,
|
|
10236
10243
|
oa,
|
|
@@ -10239,41 +10246,41 @@ const Ea = {
|
|
|
10239
10246
|
Ma,
|
|
10240
10247
|
Va,
|
|
10241
10248
|
Pe,
|
|
10242
|
-
|
|
10249
|
+
Oe,
|
|
10243
10250
|
xn,
|
|
10244
10251
|
Tn,
|
|
10245
10252
|
Mn,
|
|
10246
10253
|
Cn,
|
|
10247
10254
|
Sn
|
|
10248
10255
|
];
|
|
10249
|
-
function
|
|
10250
|
-
|
|
10256
|
+
function dv(t) {
|
|
10257
|
+
cv.forEach((e) => {
|
|
10251
10258
|
const i = e.name || e.__name;
|
|
10252
10259
|
i && t.component(i, e);
|
|
10253
10260
|
});
|
|
10254
10261
|
}
|
|
10255
|
-
const
|
|
10262
|
+
const Av = { install: dv };
|
|
10256
10263
|
export {
|
|
10257
|
-
|
|
10264
|
+
Ue as CaseShowType,
|
|
10258
10265
|
Uf as ComponentType,
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10266
|
+
Vv as DynamicTable,
|
|
10267
|
+
hv as FBannerV2,
|
|
10268
|
+
wv as FCarouselTextMediaV2,
|
|
10269
|
+
bv as FCaseShowV2,
|
|
10270
|
+
gv as FMediaV2,
|
|
10271
|
+
yv as FTabTextMediaV2,
|
|
10272
|
+
vv as FTextV2,
|
|
10273
|
+
mv as FTitleV2,
|
|
10274
|
+
xv as HsTab,
|
|
10275
|
+
Ev as HsTabPane,
|
|
10276
|
+
Mv as ImageDiffv2,
|
|
10277
|
+
Sv as LazyImage,
|
|
10278
|
+
Tv as LazyVideo,
|
|
10279
|
+
Pv as PreviewMedia,
|
|
10280
|
+
Xe as TabContentType,
|
|
10274
10281
|
Hf as TextAlignType,
|
|
10275
10282
|
Wf as ThemeType,
|
|
10276
10283
|
ji as TitleType,
|
|
10277
|
-
|
|
10278
|
-
|
|
10284
|
+
Av as default,
|
|
10285
|
+
dv as install
|
|
10279
10286
|
};
|