officialblock 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-BGwpMJLM.js → index-BCcaoJ0l.js} +1 -1
- package/dist/index-BGeYcF-j.mjs +4 -0
- package/dist/{index-BDql3E0O.js → index-BTLvJhC4.js} +1 -1
- package/dist/{index-DLPLaKL8.mjs → index-Bbb-kruM.mjs} +1 -1
- package/dist/{index-8qppW2ED.js → index-BsJGENun.js} +7 -7
- package/dist/{index-DRVMkC6F.mjs → index-NdYskA1v.mjs} +164 -159
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-B-59Wohp.mjs +0 -4
|
@@ -512,7 +512,7 @@ const yy = ["innerHTML"], Cy = ["innerHTML"], by = /* @__PURE__ */ ye({
|
|
|
512
512
|
},
|
|
513
513
|
emits: ["update:show"],
|
|
514
514
|
setup(t, { emit: e }) {
|
|
515
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
515
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
516
516
|
animation: 200,
|
|
517
517
|
group: "item",
|
|
518
518
|
disabled: !1,
|
|
@@ -3161,7 +3161,7 @@ const yy = ["innerHTML"], Cy = ["innerHTML"], by = /* @__PURE__ */ ye({
|
|
|
3161
3161
|
},
|
|
3162
3162
|
emits: ["update:show"],
|
|
3163
3163
|
setup(t, { emit: e }) {
|
|
3164
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
3164
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
3165
3165
|
animation: 200,
|
|
3166
3166
|
group: "gallerys",
|
|
3167
3167
|
// 链接专用分组
|
|
@@ -3513,7 +3513,7 @@ var sn = /* @__PURE__ */ function() {
|
|
|
3513
3513
|
Zr || Ip(xn) || console.warn("Please gsap.registerPlugin(Observer)"), Il || kp();
|
|
3514
3514
|
var i = s.tolerance, a = s.dragMinimum, o = s.type, r = s.target, u = s.lineHeight, c = s.debounce, m = s.preventDefault, h = s.onStop, d = s.onStopDelay, f = s.ignore, A = s.wheelSpeed, p = s.event, D = s.onDragStart, k = s.onDragEnd, C = s.onDrag, w = s.onPress, b = s.onRelease, B = s.onRight, x = s.onLeft, E = s.onUp, V = s.onDown, L = s.onChangeX, Q = s.onChangeY, z = s.onChange, H = s.onToggleX, G = s.onToggleY, N = s.onHover, J = s.onHoverEnd, ie = s.onMove, he = s.ignoreCheck, W = s.isNormalizer, ee = s.onGestureStart, $ = s.onGestureEnd, K = s.onWheel, Z = s.onEnable, ne = s.onDisable, fe = s.onClick, De = s.scrollSpeed, Fe = s.capture, ve = s.allowClicks, Te = s.lockAxis, Xe = s.onLockAxis;
|
|
3515
3515
|
this.target = r = Wn(r) || Xi, this.vars = s, f && (f = xn.utils.toArray(f)), i = i || 1e-9, a = a || 0, A = A || 1, De = De || 1, o = o || "wheel,touch,pointer", c = c !== !1, u || (u = parseFloat(As.getComputedStyle(ro).lineHeight) || 22);
|
|
3516
|
-
var
|
|
3516
|
+
var Me, Ye, Ve, ce, me, Se, Le, we = this, Qe = 0, xe = 0, Be = s.passive || !m && s.passive !== !1, $e = $i(r, Yn), Ge = $i(r, un), It = $e(), Ft = Ge(), Bt = ~o.indexOf("touch") && !~o.indexOf("pointer") && Us[0] === "pointerdown", Cn = Sl(r), Vt = r.ownerDocument || Ji, cn = [0, 0, 0], zt = [0, 0, 0], ys = 0, Li = function() {
|
|
3517
3517
|
return ys = Tl();
|
|
3518
3518
|
}, dt = function(ot, Et) {
|
|
3519
3519
|
return (we.event = ot) && f && K8(ot.target, f) || Et && Bt && ot.pointerType !== "touch" || he && he(ot, Et);
|
|
@@ -3521,11 +3521,11 @@ var sn = /* @__PURE__ */ function() {
|
|
|
3521
3521
|
we._vx.reset(), we._vy.reset(), Ye.pause(), h && h(we);
|
|
3522
3522
|
}, Gn = function() {
|
|
3523
3523
|
var ot = we.deltaX = cA(cn), Et = we.deltaY = cA(zt), qe = Math.abs(ot) >= i, ut = Math.abs(Et) >= i;
|
|
3524
|
-
z && (qe || ut) && z(we, ot, Et, cn, zt), qe && (B && we.deltaX > 0 && B(we), x && we.deltaX < 0 && x(we), L && L(we), H && we.deltaX < 0 != Qe < 0 && H(we), Qe = we.deltaX, cn[0] = cn[1] = cn[2] = 0), ut && (V && we.deltaY > 0 && V(we), E && we.deltaY < 0 && E(we), Q && Q(we), G && we.deltaY < 0 != xe < 0 && G(we), xe = we.deltaY, zt[0] = zt[1] = zt[2] = 0), (ce || Ve) && (ie && ie(we), Ve && (D && Ve === 1 && D(we), C && C(we), Ve = 0), ce = !1), Se && !(Se = !1) && Xe && Xe(we), me && (K(we), me = !1),
|
|
3524
|
+
z && (qe || ut) && z(we, ot, Et, cn, zt), qe && (B && we.deltaX > 0 && B(we), x && we.deltaX < 0 && x(we), L && L(we), H && we.deltaX < 0 != Qe < 0 && H(we), Qe = we.deltaX, cn[0] = cn[1] = cn[2] = 0), ut && (V && we.deltaY > 0 && V(we), E && we.deltaY < 0 && E(we), Q && Q(we), G && we.deltaY < 0 != xe < 0 && G(we), xe = we.deltaY, zt[0] = zt[1] = zt[2] = 0), (ce || Ve) && (ie && ie(we), Ve && (D && Ve === 1 && D(we), C && C(we), Ve = 0), ce = !1), Se && !(Se = !1) && Xe && Xe(we), me && (K(we), me = !1), Me = 0;
|
|
3525
3525
|
}, Mi = function(ot, Et, qe) {
|
|
3526
|
-
cn[qe] += ot, zt[qe] += Et, we._vx.update(ot), we._vy.update(Et), c ?
|
|
3526
|
+
cn[qe] += ot, zt[qe] += Et, we._vx.update(ot), we._vy.update(Et), c ? Me || (Me = requestAnimationFrame(Gn)) : Gn();
|
|
3527
3527
|
}, Qi = function(ot, Et) {
|
|
3528
|
-
Te && !
|
|
3528
|
+
Te && !Le && (we.axis = Le = Math.abs(ot) > Math.abs(Et) ? "x" : "y", Se = !0), Le !== "y" && (cn[2] += ot, we._vx.update(ot, !0)), Le !== "x" && (zt[2] += Et, we._vy.update(Et, !0)), c ? Me || (Me = requestAnimationFrame(Gn)) : Gn();
|
|
3529
3529
|
}, js = function(ot) {
|
|
3530
3530
|
if (!dt(ot, 1)) {
|
|
3531
3531
|
ot = rl(ot, m);
|
|
@@ -3533,7 +3533,7 @@ var sn = /* @__PURE__ */ function() {
|
|
|
3533
3533
|
we.x = Et, we.y = qe, (rt || (ut || et) && (Math.abs(we.startX - Et) >= a || Math.abs(we.startY - qe) >= a)) && (Ve = rt ? 2 : 1, rt || (we.isDragging = !0), Qi(ut, et));
|
|
3534
3534
|
}
|
|
3535
3535
|
}, ci = we.onPress = function(ct) {
|
|
3536
|
-
dt(ct, 1) || ct && ct.button || (we.axis =
|
|
3536
|
+
dt(ct, 1) || ct && ct.button || (we.axis = Le = null, Ye.pause(), we.isPressed = !0, ct = rl(ct), Qe = xe = 0, we.startX = we.x = ct.clientX, we.startY = we.y = ct.clientY, we._vx.reset(), we._vy.reset(), Un(W ? r : Vt, Us[1], js, Be, !0), we.deltaX = we.deltaY = 0, w && w(we));
|
|
3537
3537
|
}, mt = we.onRelease = function(ct) {
|
|
3538
3538
|
if (!dt(ct, 1)) {
|
|
3539
3539
|
Mn(W ? r : Vt, Us[1], js, !0);
|
|
@@ -3974,7 +3974,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
3974
3974
|
} : s, Ur);
|
|
3975
3975
|
var a = s, o = a.onUpdate, r = a.toggleClass, u = a.id, c = a.onToggle, m = a.onRefresh, h = a.scrub, d = a.trigger, f = a.pin, A = a.pinSpacing, p = a.invalidateOnRefresh, D = a.anticipatePin, k = a.onScrubComplete, C = a.onSnapComplete, w = a.once, b = a.snap, B = a.pinReparent, x = a.pinSpacer, E = a.containerAnimation, V = a.fastScrollEnd, L = a.preventOverlaps, Q = s.horizontal || s.containerAnimation && s.horizontal !== !1 ? Yn : un, z = !h && h !== 0, H = Wn(s.scroller || wt), G = Ze.core.getCache(H), N = Da(H), J = ("pinType" in s ? s.pinType : _i(H, "pinType") || N && "fixed") === "fixed", ie = [s.onEnter, s.onLeave, s.onEnterBack, s.onLeaveBack], he = z && s.toggleActions.split(" "), W = "markers" in s ? s.markers : Ur.markers, ee = N ? 0 : parseFloat(ks(H)["border" + Q.p2 + xo]) || 0, $ = this, K = s.onRefreshInit && function() {
|
|
3976
3976
|
return s.onRefreshInit($);
|
|
3977
|
-
}, Z = J8(H, N, Q), ne = X8(H, N), fe = 0, De = 0, Fe = 0, ve = $i(H, Q), Te, Xe,
|
|
3977
|
+
}, Z = J8(H, N, Q), ne = X8(H, N), fe = 0, De = 0, Fe = 0, ve = $i(H, Q), Te, Xe, Me, Ye, Ve, ce, me, Se, Le, we, Qe, xe, Be, $e, Ge, It, Ft, Bt, Cn, Vt, cn, zt, ys, Li, dt, Ua, Gn, Mi, Qi, js, ci, mt, hi, ss, is, as, fi, Oi, Cs;
|
|
3978
3978
|
if ($._startClamp = $._endClamp = !1, $._dir = Q, D *= 45, $.scroller = H, $.scroll = E ? E.time.bind(E) : ve, Ye = ve(), $.vars = s, i = i || s.animation, "refreshPriority" in s && (Tp = 1, s.refreshPriority === -9999 && (Ol = $)), G.tweenScroll = G.tweenScroll || {
|
|
3979
3979
|
top: EA(H, un),
|
|
3980
3980
|
left: EA(H, Yn)
|
|
@@ -3995,7 +3995,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
3995
3995
|
scrollBehavior: "auto"
|
|
3996
3996
|
}), yt.forEach(function(qe) {
|
|
3997
3997
|
return kn(qe) && qe.target === (N ? Rt.scrollingElement || gs : H) && (qe.smooth = !1);
|
|
3998
|
-
}),
|
|
3998
|
+
}), Me = kn(b.snapTo) ? b.snapTo : b.snapTo === "labels" ? _8(i) : b.snapTo === "labelsDirectional" ? $8(i) : b.directional !== !1 ? function(qe, ut) {
|
|
3999
3999
|
return fh(b.snapTo)(qe, Dn() - De < 500 ? 0 : ut.direction);
|
|
4000
4000
|
} : Ze.utils.snap(b.snapTo), ss = b.duration || {
|
|
4001
4001
|
min: 0.1,
|
|
@@ -4004,7 +4004,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4004
4004
|
var qe = ve(), ut = Dn() - De < 500, et = Te.tween;
|
|
4005
4005
|
if ((ut || Math.abs($.getVelocity()) < 10) && !et && !Nd && fe !== qe) {
|
|
4006
4006
|
var rt = (qe - ce) / $e, Dt = i && !z ? i.totalProgress() : rt, bt = ut ? 0 : (Dt - ci) / (Dn() - pl) * 1e3 || 0, Kt = Ze.utils.clamp(-rt, 1 - rt, ja(bt / 2) * bt / 0.185), _t = rt + (b.inertia === !1 ? 0 : Kt), kt, Lt, tt = b, os = tt.onStart, Ot = tt.onInterrupt, hn = tt.onComplete;
|
|
4007
|
-
if (kt =
|
|
4007
|
+
if (kt = Me(_t, $), yl(kt) || (kt = _t), Lt = Math.max(0, Math.round(ce + kt * $e)), qe <= me && qe >= ce && Lt !== qe) {
|
|
4008
4008
|
if (et && !et._initted && et.data <= ja(Lt - qe))
|
|
4009
4009
|
return;
|
|
4010
4010
|
b.inertia === !1 && (Kt = kt - rt), Te(Lt, {
|
|
@@ -4029,7 +4029,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4029
4029
|
}), $.spacer = Bt = Xe.spacer, Qi = ks(f), Li = Qi[A + Q.os2], Vt = Ze.getProperty(f), cn = Ze.quickSetter(f, Q.a, dn), Ou(f, Bt, Qi), Ft = Hr(f)), W) {
|
|
4030
4030
|
xe = ca(W) ? vA(W, wA) : wA, we = Fr("scroller-start", u, H, Q, xe, 0), Qe = Fr("scroller-end", u, H, Q, xe, 0, we), Cn = we["offset" + Q.op.d2];
|
|
4031
4031
|
var ia = Wn(_i(H, "content") || H);
|
|
4032
|
-
Se = this.markerStart = Fr("start", u, ia, Q, xe, Cn, 0, E),
|
|
4032
|
+
Se = this.markerStart = Fr("start", u, ia, Q, xe, Cn, 0, E), Le = this.markerEnd = Fr("end", u, ia, Q, xe, Cn, 0, E), E && (Oi = Ze.quickSetter([Se, Le], Q.a, dn)), !J && !(si.length && _i(H, "fixedMarkers") === !0) && (Z8(N ? Tt : H), Ze.set([we, Qe], {
|
|
4033
4033
|
force3D: !0
|
|
4034
4034
|
}), Ua = Ze.quickSetter(we, Q.a, dn), Mi = Ze.quickSetter(Qe, Q.a, dn));
|
|
4035
4035
|
}
|
|
@@ -4047,7 +4047,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4047
4047
|
if (!ut)
|
|
4048
4048
|
return $.kill(!0);
|
|
4049
4049
|
var et = qe !== !1 || !$.enabled, rt = En;
|
|
4050
|
-
et !== $.isReverted && (et && (as = Math.max(ve(), $.scroll.rec || 0), Fe = $.progress, fi = i && i.progress()), Se && [Se,
|
|
4050
|
+
et !== $.isReverted && (et && (as = Math.max(ve(), $.scroll.rec || 0), Fe = $.progress, fi = i && i.progress()), Se && [Se, Le, we, Qe].forEach(function(Dt) {
|
|
4051
4051
|
return Dt.style.display = et ? "none" : "block";
|
|
4052
4052
|
}), et && (En = $, $.update(et)), f && (!B || !$.isActive) && (et ? n4(f, Bt, Ge) : Ou(f, Bt, ks(f), dt)), et || $.update(et), En = rt, $.isReverted = et);
|
|
4053
4053
|
}, $.refresh = function(qe, ut, et, rt) {
|
|
@@ -4064,9 +4064,9 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4064
4064
|
var Dt = Z(), bt = ne(), Kt = E ? E.duration() : _s(H, Q), _t = $e <= 0.01 || !$e, kt = 0, Lt = rt || 0, tt = ca(et) ? et.end : s.end, os = s.endTrigger || d, Ot = ca(et) ? et.start : s.start || (s.start === 0 || !d ? 0 : f ? "0 0" : "0 100%"), hn = $.pinnedContainer = s.pinnedContainer && Wn(s.pinnedContainer, $), bs = d && Math.max(0, pt.indexOf($)) || 0, Yt = bs, ft, rn, xs, Fa, fn, $t, ls, aa, Ha, Ui, Bs, oa, gi;
|
|
4065
4065
|
for (W && ca(et) && (oa = Ze.getProperty(we, Q.p), gi = Ze.getProperty(Qe, Q.p)); Yt-- > 0; )
|
|
4066
4066
|
$t = pt[Yt], $t.end || $t.refresh(0, 1) || (En = $), ls = $t.pin, ls && (ls === d || ls === f || ls === hn) && !$t.isReverted && (Ui || (Ui = []), Ui.unshift($t), $t.revert(!0, !0)), $t !== pt[Yt] && (bs--, Yt--);
|
|
4067
|
-
for (kn(Ot) && (Ot = Ot($)), Ot = gA(Ot, "start", $), ce = xA(Ot, d, Dt, Q, ve(), Se, we, $, bt, ee, J, Kt, E, $._startClamp && "_startClamp") || (f ? -1e-3 : 0), kn(tt) && (tt = tt($)), fs(tt) && !tt.indexOf("+=") && (~tt.indexOf(" ") ? tt = (fs(Ot) ? Ot.split(" ")[0] : "") + tt : (kt = _r(tt.substr(2), Dt), tt = fs(Ot) ? Ot : (E ? Ze.utils.mapRange(0, E.duration(), E.scrollTrigger.start, E.scrollTrigger.end, ce) : ce) + kt, os = d)), tt = gA(tt, "end", $), me = Math.max(ce, xA(tt || (os ? "100% 0" : Kt), os, Dt, Q, ve() + kt,
|
|
4067
|
+
for (kn(Ot) && (Ot = Ot($)), Ot = gA(Ot, "start", $), ce = xA(Ot, d, Dt, Q, ve(), Se, we, $, bt, ee, J, Kt, E, $._startClamp && "_startClamp") || (f ? -1e-3 : 0), kn(tt) && (tt = tt($)), fs(tt) && !tt.indexOf("+=") && (~tt.indexOf(" ") ? tt = (fs(Ot) ? Ot.split(" ")[0] : "") + tt : (kt = _r(tt.substr(2), Dt), tt = fs(Ot) ? Ot : (E ? Ze.utils.mapRange(0, E.duration(), E.scrollTrigger.start, E.scrollTrigger.end, ce) : ce) + kt, os = d)), tt = gA(tt, "end", $), me = Math.max(ce, xA(tt || (os ? "100% 0" : Kt), os, Dt, Q, ve() + kt, Le, Qe, $, bt, ee, J, Kt, E, $._endClamp && "_endClamp")) || -1e-3, kt = 0, Yt = bs; Yt--; )
|
|
4068
4068
|
$t = pt[Yt], ls = $t.pin, ls && $t.start - $t._pinPush <= ce && !E && $t.end > 0 && (ft = $t.end - ($._startClamp ? Math.max(0, $t.start) : $t.start), (ls === d && $t.start - $t._pinPush < ce || ls === hn) && isNaN(Ot) && (kt += ft * (1 - $t.progress)), ls === f && (Lt += ft));
|
|
4069
|
-
if (ce += kt, me += kt, $._startClamp && ($._startClamp += kt), $._endClamp && !Rn && ($._endClamp = me || -1e-3, me = Math.min(me, _s(H, Q))), $e = me - ce || (ce -= 0.01) && 1e-3, _t && (Fe = Ze.utils.clamp(0, 1, Ze.utils.normalize(ce, me, as))), $._pinPush = Lt, Se && kt && (ft = {}, ft[Q.a] = "+=" + kt, hn && (ft[Q.p] = "-=" + ve()), Ze.set([Se,
|
|
4069
|
+
if (ce += kt, me += kt, $._startClamp && ($._startClamp += kt), $._endClamp && !Rn && ($._endClamp = me || -1e-3, me = Math.min(me, _s(H, Q))), $e = me - ce || (ce -= 0.01) && 1e-3, _t && (Fe = Ze.utils.clamp(0, 1, Ze.utils.normalize(ce, me, as))), $._pinPush = Lt, Se && kt && (ft = {}, ft[Q.a] = "+=" + kt, hn && (ft[Q.p] = "-=" + ve()), Ze.set([Se, Le], ft)), f && !(Ac && $.end >= _s(H, Q)))
|
|
4070
4070
|
ft = ks(f), Fa = Q === un, xs = ve(), zt = parseFloat(Vt(Q.a)) + Lt, !Kt && me > 1 && (Bs = (N ? Rt.scrollingElement || gs : H).style, Bs = {
|
|
4071
4071
|
style: Bs,
|
|
4072
4072
|
value: Bs["overflow" + Q.a.toUpperCase()]
|
|
@@ -4083,7 +4083,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4083
4083
|
rn._pinOffset && (ce -= rn._pinOffset, me -= rn._pinOffset), rn = rn.parentNode;
|
|
4084
4084
|
Ui && Ui.forEach(function(rs) {
|
|
4085
4085
|
return rs.revert(!1, !0);
|
|
4086
|
-
}), $.start = ce, $.end = me, Ye = Ve = Rn ? as : ve(), !E && !Rn && (Ye < as && ve(as), $.scroll.rec = 0), $.revert(!1, !0), De = Dn(), is && (fe = -1, is.restart(!0)), En = 0, i && z && (i._initted || fi) && i.progress() !== fi && i.progress(fi || 0, !0).render(i.time(), !0, !0), (_t || Fe !== $.progress || E || p || i && !i._initted) && (i && !z && (i._initted || Fe || i.vars.immediateRender !== !1) && i.totalProgress(E && ce < -1e-3 && !Fe ? Ze.utils.normalize(ce, me, 0) : Fe, !0), $.progress = _t || (Ye - ce) / $e === Fe ? 0 : Fe), f && A && (Bt._pinOffset = Math.round($.progress * ys)), mt && mt.invalidate(), isNaN(oa) || (oa -= Ze.getProperty(we, Q.p), gi -= Ze.getProperty(Qe, Q.p), Rr(we, Q, oa), Rr(Se, Q, oa - (rt || 0)), Rr(Qe, Q, gi), Rr(
|
|
4086
|
+
}), $.start = ce, $.end = me, Ye = Ve = Rn ? as : ve(), !E && !Rn && (Ye < as && ve(as), $.scroll.rec = 0), $.revert(!1, !0), De = Dn(), is && (fe = -1, is.restart(!0)), En = 0, i && z && (i._initted || fi) && i.progress() !== fi && i.progress(fi || 0, !0).render(i.time(), !0, !0), (_t || Fe !== $.progress || E || p || i && !i._initted) && (i && !z && (i._initted || Fe || i.vars.immediateRender !== !1) && i.totalProgress(E && ce < -1e-3 && !Fe ? Ze.utils.normalize(ce, me, 0) : Fe, !0), $.progress = _t || (Ye - ce) / $e === Fe ? 0 : Fe), f && A && (Bt._pinOffset = Math.round($.progress * ys)), mt && mt.invalidate(), isNaN(oa) || (oa -= Ze.getProperty(we, Q.p), gi -= Ze.getProperty(Qe, Q.p), Rr(we, Q, oa), Rr(Se, Q, oa - (rt || 0)), Rr(Qe, Q, gi), Rr(Le, Q, gi - (rt || 0))), _t && !Rn && $.update(), m && !Rn && !Be && (Be = !0, m($), Be = !1);
|
|
4087
4087
|
}
|
|
4088
4088
|
}, $.getVelocity = function() {
|
|
4089
4089
|
return (ve() - Ve) / (Dn() - pl) * 1e3 || 0;
|
|
@@ -4159,7 +4159,7 @@ var Ze, eo, wt, Rt, gs, Tt, lh, dd, zl, Pl, pl, Vr, En, Nd, hc, Hn, hA, fA, to,
|
|
|
4159
4159
|
return rt.scroller === $.scroller && (et = 1);
|
|
4160
4160
|
}), et || Rn || ($.scroll.rec = 0), i && (i.scrollTrigger = null, qe && i.revert({
|
|
4161
4161
|
kill: !1
|
|
4162
|
-
}), ut || i.kill()), Se && [Se,
|
|
4162
|
+
}), ut || i.kill()), Se && [Se, Le, we, Qe].forEach(function(rt) {
|
|
4163
4163
|
return rt.parentNode && rt.parentNode.removeChild(rt);
|
|
4164
4164
|
}), Ol === $ && (Ol = 0), f && (Xe && (Xe.uncache = 1), et = 0, pt.forEach(function(rt) {
|
|
4165
4165
|
return rt.pin === f && et++;
|
|
@@ -4752,7 +4752,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
4752
4752
|
},
|
|
4753
4753
|
emits: ["update:show"],
|
|
4754
4754
|
setup(t, { emit: e }) {
|
|
4755
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
4755
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
4756
4756
|
animation: 200,
|
|
4757
4757
|
group: "gallerys",
|
|
4758
4758
|
// 链接专用分组
|
|
@@ -6946,7 +6946,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
6946
6946
|
},
|
|
6947
6947
|
emits: ["update:show"],
|
|
6948
6948
|
setup(t, { emit: e }) {
|
|
6949
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
6949
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
6950
6950
|
animation: 200,
|
|
6951
6951
|
group: "btns",
|
|
6952
6952
|
// 链接专用分组
|
|
@@ -7743,7 +7743,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
7743
7743
|
}
|
|
7744
7744
|
},
|
|
7745
7745
|
setup(t) {
|
|
7746
|
-
const e = Je(() => import("vuedraggable")), n = Je(() => import("./index-
|
|
7746
|
+
const e = Je(() => import("vuedraggable")), n = Je(() => import("./index-Bbb-kruM.mjs")), s = O(!1), i = q(() => ({
|
|
7747
7747
|
animation: 200,
|
|
7748
7748
|
group: "buttons",
|
|
7749
7749
|
// 按钮专用分组
|
|
@@ -9096,7 +9096,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
9096
9096
|
], 40, lD)
|
|
9097
9097
|
])) : j("", !0)
|
|
9098
9098
|
], 12, iD),
|
|
9099
|
-
t.isPreview && he.link.includes("http") ? (v(), I("a", {
|
|
9099
|
+
t.isPreview && he.link && he.link.includes("http") ? (v(), I("a", {
|
|
9100
9100
|
key: 0,
|
|
9101
9101
|
href: he.link,
|
|
9102
9102
|
target: "_blank",
|
|
@@ -9162,7 +9162,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
9162
9162
|
], 64);
|
|
9163
9163
|
};
|
|
9164
9164
|
}
|
|
9165
|
-
}), AD = /* @__PURE__ */ ge(gD, [["__scopeId", "data-v-
|
|
9165
|
+
}), AD = /* @__PURE__ */ ge(gD, [["__scopeId", "data-v-16b45fc6"]]), mD = /* @__PURE__ */ ye({
|
|
9166
9166
|
name: "HeroSlide",
|
|
9167
9167
|
__name: "index",
|
|
9168
9168
|
props: {
|
|
@@ -9774,7 +9774,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
9774
9774
|
},
|
|
9775
9775
|
emits: ["update:show"],
|
|
9776
9776
|
setup(t, { emit: e }) {
|
|
9777
|
-
const n = Je(() => import("./index-
|
|
9777
|
+
const n = Je(() => import("./index-Bbb-kruM.mjs")), s = e, i = () => {
|
|
9778
9778
|
s("update:show", !1);
|
|
9779
9779
|
};
|
|
9780
9780
|
return (a, o) => {
|
|
@@ -11295,7 +11295,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
11295
11295
|
},
|
|
11296
11296
|
emits: ["update:show"],
|
|
11297
11297
|
setup(t, { emit: e }) {
|
|
11298
|
-
const n = Je(() => import("./index-
|
|
11298
|
+
const n = Je(() => import("./index-Bbb-kruM.mjs")), s = e, i = () => {
|
|
11299
11299
|
s("update:show", !1);
|
|
11300
11300
|
};
|
|
11301
11301
|
return (a, o) => {
|
|
@@ -11477,7 +11477,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
11477
11477
|
},
|
|
11478
11478
|
emits: ["update:show"],
|
|
11479
11479
|
setup(t, { emit: e }) {
|
|
11480
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
11480
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
11481
11481
|
animation: 200,
|
|
11482
11482
|
group: "links",
|
|
11483
11483
|
// 链接专用分组
|
|
@@ -11855,7 +11855,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
11855
11855
|
},
|
|
11856
11856
|
emits: ["update:show"],
|
|
11857
11857
|
setup(t, { emit: e }) {
|
|
11858
|
-
const n = Je(() => import("./index-
|
|
11858
|
+
const n = Je(() => import("./index-Bbb-kruM.mjs")), s = e, i = () => {
|
|
11859
11859
|
s("update:show", !1);
|
|
11860
11860
|
};
|
|
11861
11861
|
return (a, o) => {
|
|
@@ -12363,7 +12363,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12363
12363
|
},
|
|
12364
12364
|
emits: ["update:show"],
|
|
12365
12365
|
setup(t, { emit: e }) {
|
|
12366
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
12366
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
12367
12367
|
animation: 200,
|
|
12368
12368
|
group: "gallerys",
|
|
12369
12369
|
// 链接专用分组
|
|
@@ -12647,7 +12647,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12647
12647
|
i();
|
|
12648
12648
|
const h = O(0), d = O(0), f = O(0), A = O(0), p = O(""), D = O(""), k = O(!1), C = O(typeof window > "u" ? 1024 : window.innerWidth), w = O(typeof window > "u" ? 0 : window.scrollY), b = O(!1), B = O(null), x = O(null), E = O(null), V = O(null), L = O(null), Q = O(null), z = O([]), H = O([]), G = q(() => C.value > 1023.98 ? 100 : 66), N = q(() => b.value);
|
|
12649
12649
|
Re(C, () => {
|
|
12650
|
-
|
|
12650
|
+
Me();
|
|
12651
12651
|
});
|
|
12652
12652
|
const J = (Ve) => {
|
|
12653
12653
|
if (!Ve) return 0;
|
|
@@ -12678,21 +12678,21 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12678
12678
|
const Ve = w.value + G.value + 64, ce = J(E.value), me = ce + (((we = E.value) == null ? void 0 : we.clientHeight) || 0), Se = {
|
|
12679
12679
|
top: ce + 15,
|
|
12680
12680
|
bottom: me - 378
|
|
12681
|
-
},
|
|
12682
|
-
!V.value || !L.value || (Ve < Se.top ?
|
|
12681
|
+
}, Le = [V.value, L.value];
|
|
12682
|
+
!V.value || !L.value || (Ve < Se.top ? Le.forEach((Qe) => {
|
|
12683
12683
|
Qe == null || Qe.classList.add("is-top"), Qe == null || Qe.classList.remove("is-fixed"), Qe == null || Qe.classList.remove("is-bottom");
|
|
12684
|
-
}) : Ve > Se.bottom ?
|
|
12684
|
+
}) : Ve > Se.bottom ? Le.forEach((Qe) => {
|
|
12685
12685
|
Qe == null || Qe.classList.add("is-bottom"), Qe == null || Qe.classList.remove("is-fixed"), Qe == null || Qe.classList.remove("is-top");
|
|
12686
|
-
}) :
|
|
12686
|
+
}) : Le.forEach((Qe) => {
|
|
12687
12687
|
Qe == null || Qe.classList.add("is-fixed"), Qe == null || Qe.classList.remove("is-top"), Qe == null || Qe.classList.remove("is-bottom");
|
|
12688
12688
|
}));
|
|
12689
12689
|
}, ne = () => {
|
|
12690
12690
|
var we;
|
|
12691
|
-
const Ve = w.value + G.value + 64, ce = Q.value, me = J(E.value), Se = me + (((we = E.value) == null ? void 0 : we.clientHeight) || 0),
|
|
12691
|
+
const Ve = w.value + G.value + 64, ce = Q.value, me = J(E.value), Se = me + (((we = E.value) == null ? void 0 : we.clientHeight) || 0), Le = {
|
|
12692
12692
|
top: me - 80,
|
|
12693
12693
|
bottom: Se - 181
|
|
12694
12694
|
};
|
|
12695
|
-
ce && (Ve <
|
|
12695
|
+
ce && (Ve < Le.top ? (ce.classList.add("is-top"), ce.classList.remove("is-fixed"), ce.classList.remove("is-bottom")) : Ve > Le.bottom ? (ce.classList.add("is-bottom"), ce.classList.remove("is-fixed"), ce.classList.remove("is-top")) : (ce.classList.add("is-fixed"), ce.classList.remove("is-top"), ce.classList.remove("is-bottom")));
|
|
12696
12696
|
}, fe = () => {
|
|
12697
12697
|
var Se;
|
|
12698
12698
|
const Ve = J(E.value), ce = J(Q.value);
|
|
@@ -12702,11 +12702,11 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12702
12702
|
}, De = () => {
|
|
12703
12703
|
const Ve = w.value + G.value + 64, ce = z.value.length;
|
|
12704
12704
|
for (let me = 0; me < ce; me++) {
|
|
12705
|
-
const Se = z.value[me],
|
|
12706
|
-
top:
|
|
12705
|
+
const Se = z.value[me], Le = J(Se), we = Se.clientHeight, Qe = J(Se) + we, xe = H.value[me], Be = xe.clientHeight, $e = N.value ? {
|
|
12706
|
+
top: Le + 31,
|
|
12707
12707
|
bottom: Qe - Be
|
|
12708
12708
|
} : {
|
|
12709
|
-
top:
|
|
12709
|
+
top: Le - 10,
|
|
12710
12710
|
bottom: Qe - Be - 30
|
|
12711
12711
|
};
|
|
12712
12712
|
if (we < Be) {
|
|
@@ -12719,7 +12719,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12719
12719
|
const Ve = w.value + G.value + 64, ce = z.value.length;
|
|
12720
12720
|
let me = !1;
|
|
12721
12721
|
for (let Se = 0; Se < ce; Se++) {
|
|
12722
|
-
const
|
|
12722
|
+
const Le = z.value[Se], we = J(Le), Qe = J(Le) + Le.clientHeight, Be = H.value[Se].clientHeight, $e = {
|
|
12723
12723
|
top: we - 300,
|
|
12724
12724
|
bottom: Qe - Be
|
|
12725
12725
|
};
|
|
@@ -12729,8 +12729,8 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12729
12729
|
}
|
|
12730
12730
|
}
|
|
12731
12731
|
if (!me && ce > 0) {
|
|
12732
|
-
const Se = z.value[0],
|
|
12733
|
-
Ve <
|
|
12732
|
+
const Se = z.value[0], Le = J(Se);
|
|
12733
|
+
Ve < Le - 300 && (h.value = 0);
|
|
12734
12734
|
}
|
|
12735
12735
|
}, ve = (Ve) => {
|
|
12736
12736
|
const ce = C.value < 768 ? 120 : 150, me = ie(z.value[Ve]).y - ce;
|
|
@@ -12740,17 +12740,17 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12740
12740
|
if (!Ve) return;
|
|
12741
12741
|
const ce = Ve.getBoundingClientRect().top, me = Ve.getBoundingClientRect().bottom, Se = typeof window > "u" || typeof document > "u" ? C.value < 768 ? 66 : 100 : Number(
|
|
12742
12742
|
window.getComputedStyle(document.body).getPropertyValue("--header-height-calc").split("px")[0]
|
|
12743
|
-
),
|
|
12744
|
-
|
|
12743
|
+
), Le = x.value;
|
|
12744
|
+
Le && (ce - 80 > Se || me < Se ? (Le.classList.remove("is-fixed"), Le.classList.add("d-none")) : (Le.classList.add("is-fixed"), Le.classList.remove("d-none")));
|
|
12745
12745
|
}, Xe = (Ve) => {
|
|
12746
12746
|
p.value = Ve.text, D.value = Ve.image, he(!0), k.value = !0;
|
|
12747
|
-
},
|
|
12747
|
+
}, Me = () => {
|
|
12748
12748
|
he(!1), k.value = !1;
|
|
12749
12749
|
}, Ye = () => {
|
|
12750
12750
|
const ce = z.value.length;
|
|
12751
12751
|
for (let me = 0; me < ce; me++) {
|
|
12752
|
-
const Se = z.value[me],
|
|
12753
|
-
|
|
12752
|
+
const Se = z.value[me], Le = Se.clientHeight, Qe = H.value[me].clientHeight, xe = Se.children[0];
|
|
12753
|
+
Le < Qe && (xe.style.minHeight = `${Qe}px`);
|
|
12754
12754
|
}
|
|
12755
12755
|
};
|
|
12756
12756
|
return nt(() => {
|
|
@@ -12760,7 +12760,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12760
12760
|
}), es(() => {
|
|
12761
12761
|
ee();
|
|
12762
12762
|
}), (Ve, ce) => {
|
|
12763
|
-
var me, Se,
|
|
12763
|
+
var me, Se, Le, we;
|
|
12764
12764
|
return v(), I(de, null, [
|
|
12765
12765
|
a.value ? (v(), I("div", {
|
|
12766
12766
|
key: 0,
|
|
@@ -12789,7 +12789,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12789
12789
|
ref_key: "listRef",
|
|
12790
12790
|
ref: E
|
|
12791
12791
|
}, [
|
|
12792
|
-
(v(!0), I(de, null, be((
|
|
12792
|
+
(v(!0), I(de, null, be((Le = t.modelValue) == null ? void 0 : Le.data, (Qe, xe) => (v(), I("li", {
|
|
12793
12793
|
class: re(["story__item", { "is-active": h.value == xe }]),
|
|
12794
12794
|
key: Qe.id,
|
|
12795
12795
|
ref_for: !0,
|
|
@@ -12863,7 +12863,7 @@ const d4 = { class: "gallery-container gallery-timeline container-content" }, u4
|
|
|
12863
12863
|
Ue(g(B7, {
|
|
12864
12864
|
text: p.value,
|
|
12865
12865
|
image: D.value,
|
|
12866
|
-
onCloseCaption:
|
|
12866
|
+
onCloseCaption: Me
|
|
12867
12867
|
}, null, 8, ["text", "image"]), [
|
|
12868
12868
|
[Ne, k.value]
|
|
12869
12869
|
])
|
|
@@ -13050,7 +13050,8 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13050
13050
|
setup(t, { emit: e }) {
|
|
13051
13051
|
const n = t, s = e, i = O(!1), a = O(Date.now()), o = O(null), r = q({
|
|
13052
13052
|
get() {
|
|
13053
|
-
|
|
13053
|
+
const m = n.focusKey;
|
|
13054
|
+
return Array.isArray(m) ? m : [];
|
|
13054
13055
|
},
|
|
13055
13056
|
set(m) {
|
|
13056
13057
|
s("updateKey", m);
|
|
@@ -13110,7 +13111,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13110
13111
|
], 512);
|
|
13111
13112
|
};
|
|
13112
13113
|
}
|
|
13113
|
-
}), ak = /* @__PURE__ */ ge(ik, [["__scopeId", "data-v-
|
|
13114
|
+
}), ak = /* @__PURE__ */ ge(ik, [["__scopeId", "data-v-968ec0fd"]]), ok = { class: "tab-blue" }, lk = { class: "tab-blue__wrapper flex-center" }, rk = ["onClick"], dk = {
|
|
13114
13115
|
key: 0,
|
|
13115
13116
|
class: "tab-blue__filter__sort"
|
|
13116
13117
|
}, uk = {
|
|
@@ -13758,8 +13759,10 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13758
13759
|
params: { langCode: n.locale, host: n.host }
|
|
13759
13760
|
})
|
|
13760
13761
|
]).then(([ce, me]) => {
|
|
13761
|
-
var
|
|
13762
|
-
a.value = ce.data.data
|
|
13762
|
+
var Le;
|
|
13763
|
+
a.value = ce.data.data;
|
|
13764
|
+
const Se = me.data.data;
|
|
13765
|
+
o.value = Array.isArray(Se) ? Se : [], n.modelValue.article_category_group_id || (n.modelValue.article_category_group_id = ((Le = a.value[0]) == null ? void 0 : Le.groupId) || void 0), k.value = !0;
|
|
13763
13766
|
});
|
|
13764
13767
|
}, u = () => {
|
|
13765
13768
|
var me, Se;
|
|
@@ -13807,7 +13810,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13807
13810
|
const D = O(null), k = O(!1), C = O(0), w = O(null), b = O(null), B = O(((Ve = (Ye = it[n.locale]) == null ? void 0 : Ye.btn) == null ? void 0 : Ve.all_years) || "所有年份"), x = O(10), E = O(1), V = O(12), L = O([]), Q = O({}), z = O(""), H = O(typeof window > "u" ? 1024 : window.innerWidth), G = () => {
|
|
13808
13811
|
H.value = typeof window > "u" ? 1024 : window.innerWidth;
|
|
13809
13812
|
}, N = q(() => {
|
|
13810
|
-
var Se,
|
|
13813
|
+
var Se, Le;
|
|
13811
13814
|
if (!k.value)
|
|
13812
13815
|
return Object.freeze(((Se = n.modelValue) == null ? void 0 : Se.list) ?? []);
|
|
13813
13816
|
const ce = JSON.parse(
|
|
@@ -13815,9 +13818,9 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13815
13818
|
);
|
|
13816
13819
|
if (!ce || !n.modelValue.article_category_group_id || !ce.find((we) => we.groupId === n.modelValue.article_category_group_id))
|
|
13817
13820
|
return Object.freeze([]);
|
|
13818
|
-
let me = (
|
|
13821
|
+
let me = (Le = ce.find(
|
|
13819
13822
|
(we) => we.groupId === n.modelValue.article_category_group_id
|
|
13820
|
-
)) == null ? void 0 :
|
|
13823
|
+
)) == null ? void 0 : Le.categoryList;
|
|
13821
13824
|
return me = me.filter(function(we) {
|
|
13822
13825
|
return we.hasOwnProperty("hasArticles") && we.hasArticles;
|
|
13823
13826
|
}), Object.freeze(me);
|
|
@@ -13827,7 +13830,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13827
13830
|
me.key !== "all" && ce.push(me.key);
|
|
13828
13831
|
return Object.freeze(ce);
|
|
13829
13832
|
}), ie = q(() => {
|
|
13830
|
-
var me, Se,
|
|
13833
|
+
var me, Se, Le;
|
|
13831
13834
|
if (k.value) {
|
|
13832
13835
|
let we = [
|
|
13833
13836
|
{
|
|
@@ -13844,7 +13847,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13844
13847
|
});
|
|
13845
13848
|
return Object.freeze(we.concat(Qe));
|
|
13846
13849
|
}
|
|
13847
|
-
const ce = (
|
|
13850
|
+
const ce = (Le = n.modelValue) == null ? void 0 : Le.list;
|
|
13848
13851
|
return Array.isArray(ce) ? ce : [];
|
|
13849
13852
|
}), he = q(() => {
|
|
13850
13853
|
var ce;
|
|
@@ -13862,21 +13865,23 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13862
13865
|
}), K = q(() => !b.value || !b.value.length ? $.value : $.value.filter((ce) => {
|
|
13863
13866
|
var Se;
|
|
13864
13867
|
let me = !1;
|
|
13865
|
-
return (Se = b.value) == null || Se.forEach((
|
|
13866
|
-
me = ce && ce.keywords && ce.keywords.includes(
|
|
13868
|
+
return (Se = b.value) == null || Se.forEach((Le) => {
|
|
13869
|
+
me = ce && Array.isArray(ce.keywords) && ce.keywords.includes(Le) ? !0 : me;
|
|
13867
13870
|
}), me;
|
|
13868
13871
|
})), Z = q(() => {
|
|
13869
13872
|
if (!w.value || w.value === "most-recent")
|
|
13870
13873
|
return [...K.value].sort(
|
|
13871
13874
|
(Be, $e) => new Date($e.date).getTime() - new Date(Be.date).getTime()
|
|
13872
13875
|
);
|
|
13873
|
-
const ce = /* @__PURE__ */ new Date(), me = ce.getFullYear(), Se = ce.getMonth(),
|
|
13876
|
+
const ce = /* @__PURE__ */ new Date(), me = ce.getFullYear(), Se = ce.getMonth(), Le = ce.getDate(), we = new Date(me, Se - 1 < 0 ? 11 : Se - 1, Le), Qe = new Date(me - 1, Se, Le), xe = w.value === "past-month" ? we : Qe;
|
|
13874
13877
|
return K.value.filter(
|
|
13875
13878
|
(Be) => new Date(Be.date) > xe && new Date(Be.date) < ce
|
|
13876
13879
|
);
|
|
13877
13880
|
}), ne = q(() => {
|
|
13878
|
-
var
|
|
13879
|
-
|
|
13881
|
+
var me;
|
|
13882
|
+
if (!(((me = n.modelValue) == null ? void 0 : me.displayYearList) ?? !0)) return [];
|
|
13883
|
+
const ce = o.value;
|
|
13884
|
+
return Array.isArray(ce) ? ce : [];
|
|
13880
13885
|
}), fe = q(() => {
|
|
13881
13886
|
var ce, me, Se;
|
|
13882
13887
|
return k.value || (ce = n.modelValue) != null && ce.list && ((Se = (me = n.modelValue.list[0]) == null ? void 0 : me.list) == null ? void 0 : Se.length) === 0 ? L.value : Z.value.slice(
|
|
@@ -13908,7 +13913,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13908
13913
|
const Fe = () => {
|
|
13909
13914
|
L.value = [], x.value = 0;
|
|
13910
13915
|
}, ve = async () => {
|
|
13911
|
-
var ce, me, Se,
|
|
13916
|
+
var ce, me, Se, Le, we, Qe, xe, Be, $e, Ge;
|
|
13912
13917
|
if (k.value || (ce = n.modelValue) != null && ce.list && ((Se = (me = n.modelValue.list[0]) == null ? void 0 : me.list) == null ? void 0 : Se.length) === 0) {
|
|
13913
13918
|
if (J.value.length === 0)
|
|
13914
13919
|
return;
|
|
@@ -13920,7 +13925,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13920
13925
|
page: E.value,
|
|
13921
13926
|
filter: w.value,
|
|
13922
13927
|
year: ne.value.includes(Number(B.value)) || ne.value.includes(String(B.value)) ? Number(B.value) : null,
|
|
13923
|
-
categoryGroupId: ((
|
|
13928
|
+
categoryGroupId: ((Le = n.modelValue) == null ? void 0 : Le.article_category_group_id) ?? null,
|
|
13924
13929
|
category: z.value || ((Qe = (we = ie.value) == null ? void 0 : we.map((Bt) => Bt.key)) == null ? void 0 : Qe.join(",")),
|
|
13925
13930
|
pageNum: E.value,
|
|
13926
13931
|
pageSize: V.value
|
|
@@ -13939,7 +13944,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13939
13944
|
}, Xe = () => {
|
|
13940
13945
|
let ce = 0;
|
|
13941
13946
|
z.value && ie.value && (ce = ie.value.findIndex((me) => me.key == z.value)), C.value = ce > -1 ? ce : 0;
|
|
13942
|
-
},
|
|
13947
|
+
}, Me = (ce) => {
|
|
13943
13948
|
C.value = ce;
|
|
13944
13949
|
const me = ie.value[ce];
|
|
13945
13950
|
me && (z.value = me.key), E.value = 1, ve();
|
|
@@ -13958,8 +13963,8 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13958
13963
|
style: Pe({ backgroundColor: ((Se = t.modelValue) == null ? void 0 : Se.bgColor) || "transparent" }),
|
|
13959
13964
|
ref_key: "parent",
|
|
13960
13965
|
ref: D,
|
|
13961
|
-
onMouseenter: me[6] || (me[6] = (
|
|
13962
|
-
onMouseleave: me[7] || (me[7] = (
|
|
13966
|
+
onMouseenter: me[6] || (me[6] = (Le) => m.value = !0),
|
|
13967
|
+
onMouseleave: me[7] || (me[7] = (Le) => m.value = !1)
|
|
13963
13968
|
}, [
|
|
13964
13969
|
t.host ? (v(), I(de, { key: 1 }, [
|
|
13965
13970
|
l("div", Zk, [
|
|
@@ -13971,15 +13976,15 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
13971
13976
|
keyYear: B.value,
|
|
13972
13977
|
yearList: o.value,
|
|
13973
13978
|
articleTabList: ie.value ? [...ie.value] : void 0,
|
|
13974
|
-
onUpdateIdx:
|
|
13975
|
-
onUpdateSort: me[0] || (me[0] = (
|
|
13976
|
-
onUpdateFilter: me[1] || (me[1] = (
|
|
13977
|
-
onUpdateYear: me[2] || (me[2] = (
|
|
13979
|
+
onUpdateIdx: Me,
|
|
13980
|
+
onUpdateSort: me[0] || (me[0] = (Le) => w.value = typeof Le == "string" ? Le : null),
|
|
13981
|
+
onUpdateFilter: me[1] || (me[1] = (Le) => b.value = Le),
|
|
13982
|
+
onUpdateYear: me[2] || (me[2] = (Le) => B.value = String(Le))
|
|
13978
13983
|
}, null, 8, ["componentProps", "currentIdx", "keySort", "keyFilter", "keyYear", "yearList", "articleTabList"])
|
|
13979
13984
|
]),
|
|
13980
13985
|
l("div", _k, [
|
|
13981
|
-
(v(!0), I(de, null, be(ie.value, (
|
|
13982
|
-
key:
|
|
13986
|
+
(v(!0), I(de, null, be(ie.value, (Le, we) => (v(), I(de, {
|
|
13987
|
+
key: Le.key
|
|
13983
13988
|
}, [
|
|
13984
13989
|
we == C.value ? (v(), I("div", $k, [
|
|
13985
13990
|
l("div", {
|
|
@@ -14018,8 +14023,8 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
14018
14023
|
t.isPreview ? j("", !0) : (v(), ae(We, {
|
|
14019
14024
|
key: 2,
|
|
14020
14025
|
show: m.value,
|
|
14021
|
-
"onUpdate:show": me[4] || (me[4] = (
|
|
14022
|
-
onHandleEdit: me[5] || (me[5] = (
|
|
14026
|
+
"onUpdate:show": me[4] || (me[4] = (Le) => m.value = Le),
|
|
14027
|
+
onHandleEdit: me[5] || (me[5] = (Le) => h.value = !0),
|
|
14023
14028
|
onHandleDelete: d,
|
|
14024
14029
|
onHandleCopy: f,
|
|
14025
14030
|
onHandlePaste: A
|
|
@@ -14028,7 +14033,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
14028
14033
|
t.isPreview ? j("", !0) : (v(), ae(Jk, {
|
|
14029
14034
|
key: 1,
|
|
14030
14035
|
show: h.value,
|
|
14031
|
-
"onUpdate:show": me[8] || (me[8] = (
|
|
14036
|
+
"onUpdate:show": me[8] || (me[8] = (Le) => h.value = Le),
|
|
14032
14037
|
data: t.modelValue,
|
|
14033
14038
|
articleCategoryGroups: a.value,
|
|
14034
14039
|
onHandleChange: Fe
|
|
@@ -14036,7 +14041,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
14036
14041
|
], 64);
|
|
14037
14042
|
};
|
|
14038
14043
|
}
|
|
14039
|
-
}), Sh = /* @__PURE__ */ ge(t5, [["__scopeId", "data-v-
|
|
14044
|
+
}), Sh = /* @__PURE__ */ ge(t5, [["__scopeId", "data-v-99797527"]]), n5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Sh }, Symbol.toStringTag, { value: "Module" })), s5 = { class: "setting-content" }, i5 = { class: "setting-header flex items-center" }, a5 = { class: "setting-header flex items-center" }, o5 = { class: "setting-header flex items-center" }, l5 = { class: "setting-header flex items-center" }, r5 = {
|
|
14040
14045
|
key: 1,
|
|
14041
14046
|
class: "btn-setting"
|
|
14042
14047
|
}, d5 = { class: "btn-group" }, u5 = { class: "item-action flex items-center" }, c5 = { class: "setting-body" }, h5 = { class: "btn-group" }, f5 = {
|
|
@@ -14060,7 +14065,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
14060
14065
|
},
|
|
14061
14066
|
emits: ["update:show"],
|
|
14062
14067
|
setup(t, { emit: e }) {
|
|
14063
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
14068
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
14064
14069
|
animation: 200,
|
|
14065
14070
|
group: "gallerys",
|
|
14066
14071
|
// 链接专用分组
|
|
@@ -14761,7 +14766,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
14761
14766
|
key: ((ve = (Fe = fe.timeSection) == null ? void 0 : Fe[0]) == null ? void 0 : ve.year) + De
|
|
14762
14767
|
}, [
|
|
14763
14768
|
l("h5", {
|
|
14764
|
-
onClick: (
|
|
14769
|
+
onClick: (Me) => z(De),
|
|
14765
14770
|
class: re({
|
|
14766
14771
|
pageActive: d.value === De
|
|
14767
14772
|
})
|
|
@@ -15290,7 +15295,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
15290
15295
|
emits: ["update:show"],
|
|
15291
15296
|
setup(t, { emit: e }) {
|
|
15292
15297
|
const n = Je(
|
|
15293
|
-
() => import("./index-
|
|
15298
|
+
() => import("./index-Bbb-kruM.mjs")
|
|
15294
15299
|
), s = e, i = () => {
|
|
15295
15300
|
s("update:show", !1);
|
|
15296
15301
|
};
|
|
@@ -16718,7 +16723,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
16718
16723
|
setup(t, { emit: e }) {
|
|
16719
16724
|
var B;
|
|
16720
16725
|
const n = Je(() => import("vuedraggable")), s = Je(
|
|
16721
|
-
() => import("./index-
|
|
16726
|
+
() => import("./index-Bbb-kruM.mjs")
|
|
16722
16727
|
), i = q(() => ({
|
|
16723
16728
|
animation: 200,
|
|
16724
16729
|
group: "linkList",
|
|
@@ -17718,7 +17723,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
17718
17723
|
}, A = (C) => {
|
|
17719
17724
|
c("handlePaste", C);
|
|
17720
17725
|
}, p = (C, w) => {
|
|
17721
|
-
w.linkType === "textOnly" || !u.isPreview || (C.includes("http") ? typeof window < "u" && typeof window < "u" && window.open(C, "_blank") : c("handleClick", C));
|
|
17726
|
+
w.linkType === "textOnly" || !u.isPreview || C && (C.includes("http") ? typeof window < "u" && typeof window < "u" && window.open(C, "_blank") : c("handleClick", C));
|
|
17722
17727
|
}, D = () => {
|
|
17723
17728
|
var w;
|
|
17724
17729
|
if (u.modelValue && u.modelValue.image) return;
|
|
@@ -17984,7 +17989,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
17984
17989
|
], 64);
|
|
17985
17990
|
};
|
|
17986
17991
|
}
|
|
17987
|
-
}), Hh = /* @__PURE__ */ ge(rV, [["__scopeId", "data-v-
|
|
17992
|
+
}), Hh = /* @__PURE__ */ ge(rV, [["__scopeId", "data-v-8a558909"]]), dV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Hh }, Symbol.toStringTag, { value: "Module" })), uV = { class: "pagination_wrap" }, cV = { class: "pagination" }, hV = { class: "pagination-list" }, fV = ["onClick"], gV = /* @__PURE__ */ ye({
|
|
17988
17993
|
__name: "Pagination",
|
|
17989
17994
|
props: {
|
|
17990
17995
|
total: {
|
|
@@ -18837,7 +18842,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
18837
18842
|
emits: ["update:show"],
|
|
18838
18843
|
setup(t, { emit: e }) {
|
|
18839
18844
|
const n = Je(
|
|
18840
|
-
() => import("./index-
|
|
18845
|
+
() => import("./index-Bbb-kruM.mjs")
|
|
18841
18846
|
), s = Je(() => import("vuedraggable")), i = t, a = O(!1), o = O(/* @__PURE__ */ new Set()), r = O(/* @__PURE__ */ new Set());
|
|
18842
18847
|
Re(
|
|
18843
18848
|
() => {
|
|
@@ -19596,7 +19601,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
19596
19601
|
w.value = Be.clientX - B.value, b.value = Be.clientY - x.value;
|
|
19597
19602
|
}
|
|
19598
19603
|
D.value = !0;
|
|
19599
|
-
},
|
|
19604
|
+
}, Me = () => {
|
|
19600
19605
|
w.value = k.value, b.value = C.value, D.value = !1;
|
|
19601
19606
|
}, Ye = (xe) => {
|
|
19602
19607
|
if (D.value) {
|
|
@@ -19635,7 +19640,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
19635
19640
|
Ve(B.value, x.value);
|
|
19636
19641
|
}, Se = (xe) => {
|
|
19637
19642
|
A.value = xe;
|
|
19638
|
-
},
|
|
19643
|
+
}, Le = (xe) => {
|
|
19639
19644
|
xe === A.value && (A.value = NaN);
|
|
19640
19645
|
}, we = () => {
|
|
19641
19646
|
me(), Oe(() => {
|
|
@@ -19718,11 +19723,11 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
19718
19723
|
style: Pe(ie.value),
|
|
19719
19724
|
draggable: D.value,
|
|
19720
19725
|
onMousedown: Be[0] || (Be[0] = (Ge) => Xe(Ge)),
|
|
19721
|
-
onMouseup:
|
|
19726
|
+
onMouseup: Me,
|
|
19722
19727
|
onMousemove: Be[1] || (Be[1] = (Ge) => Ye(Ge)),
|
|
19723
|
-
onMouseleave:
|
|
19728
|
+
onMouseleave: Me,
|
|
19724
19729
|
onTouchstart: Be[2] || (Be[2] = (Ge) => Xe(Ge)),
|
|
19725
|
-
onTouchend:
|
|
19730
|
+
onTouchend: Me,
|
|
19726
19731
|
onTouchmove: Be[3] || (Be[3] = (Ge) => Ye(Ge)),
|
|
19727
19732
|
onWheel: ce
|
|
19728
19733
|
}, [
|
|
@@ -19745,7 +19750,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
19745
19750
|
"data-title": Ge.name,
|
|
19746
19751
|
onClick: (Ft) => ve(It),
|
|
19747
19752
|
onMouseover: (Ft) => Se(It),
|
|
19748
|
-
onMouseleave: (Ft) =>
|
|
19753
|
+
onMouseleave: (Ft) => Le(It)
|
|
19749
19754
|
}, null, 46, qL))), 128))
|
|
19750
19755
|
], 46, zL),
|
|
19751
19756
|
g(Ht, { name: "fade" }, {
|
|
@@ -21987,7 +21992,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
21987
21992
|
},
|
|
21988
21993
|
emits: ["update:show"],
|
|
21989
21994
|
setup(t, { emit: e }) {
|
|
21990
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
21995
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
21991
21996
|
animation: 200,
|
|
21992
21997
|
group: "data",
|
|
21993
21998
|
// 专用分组
|
|
@@ -22279,7 +22284,7 @@ const Bn = Kp(), _7 = Kp(), $7 = ["onClick"], ek = /* @__PURE__ */ ye({
|
|
|
22279
22284
|
},
|
|
22280
22285
|
emits: ["update:show"],
|
|
22281
22286
|
setup(t, { emit: e }) {
|
|
22282
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
22287
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
22283
22288
|
animation: 200,
|
|
22284
22289
|
group: "data",
|
|
22285
22290
|
// 专用分组
|
|
@@ -24055,7 +24060,7 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
24055
24060
|
});
|
|
24056
24061
|
};
|
|
24057
24062
|
return (he, W) => {
|
|
24058
|
-
var ee, $, K, Z, ne, fe, De, Fe, ve, Te, Xe,
|
|
24063
|
+
var ee, $, K, Z, ne, fe, De, Fe, ve, Te, Xe, Me, Ye, Ve, ce, me, Se, Le, we, Qe;
|
|
24059
24064
|
return v(), I(de, null, [
|
|
24060
24065
|
a.value ? (v(), I("div", {
|
|
24061
24066
|
key: 0,
|
|
@@ -24149,7 +24154,7 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
24149
24154
|
ref: B,
|
|
24150
24155
|
class: "mb-0",
|
|
24151
24156
|
componentKey: "school_or_organisation_name",
|
|
24152
|
-
title: (
|
|
24157
|
+
title: (Me = Ae(it)[t.locale]) == null ? void 0 : Me.register.school_name_organization,
|
|
24153
24158
|
placeholder: (Ye = Ae(it)[t.locale]) == null ? void 0 : Ye.register.school_name_organization,
|
|
24154
24159
|
value: h.value.school_or_organisation_name,
|
|
24155
24160
|
locale: t.locale,
|
|
@@ -24182,7 +24187,7 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
24182
24187
|
innerHTML: (me = (ce = t.modelValue) == null ? void 0 : ce.data) == null ? void 0 : me.checkText
|
|
24183
24188
|
}, null, 8, WF)
|
|
24184
24189
|
]),
|
|
24185
|
-
Ue(l("div", { class: "register-form-notice mt-3" }, X((
|
|
24190
|
+
Ue(l("div", { class: "register-form-notice mt-3" }, X((Le = (Se = t.modelValue) == null ? void 0 : Se.data) == null ? void 0 : Le.notice), 513), [
|
|
24186
24191
|
[Ne, (Qe = (we = t.modelValue) == null ? void 0 : we.data) == null ? void 0 : Qe.notice]
|
|
24187
24192
|
])
|
|
24188
24193
|
])) : j("", !0)
|
|
@@ -25467,8 +25472,8 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25467
25472
|
const E = O(1024), V = q(
|
|
25468
25473
|
() => E.value >= 768 ? b.value : B.value
|
|
25469
25474
|
), L = q(() => V.value * 2), Q = (ve) => Math.min(2, Math.ceil(ve.length / V.value)), z = (ve, Te) => {
|
|
25470
|
-
const Xe = (Te - 1) * V.value,
|
|
25471
|
-
return ve.slice(Xe,
|
|
25475
|
+
const Xe = (Te - 1) * V.value, Me = Xe + V.value;
|
|
25476
|
+
return ve.slice(Xe, Me);
|
|
25472
25477
|
};
|
|
25473
25478
|
q(() => b.value), q(
|
|
25474
25479
|
() => E.value >= 768 ? E.value >= 1024 ? 4 : 3 : 2
|
|
@@ -25476,8 +25481,8 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25476
25481
|
const H = q(() => {
|
|
25477
25482
|
var Te, Xe;
|
|
25478
25483
|
if ((Te = n.modelValue) != null && Te.getDataType) {
|
|
25479
|
-
const
|
|
25480
|
-
return Array.isArray(
|
|
25484
|
+
const Me = C.value.data;
|
|
25485
|
+
return Array.isArray(Me) ? Me : [];
|
|
25481
25486
|
}
|
|
25482
25487
|
if (x.value)
|
|
25483
25488
|
return Array.isArray(w.value) ? w.value : [];
|
|
@@ -25516,8 +25521,8 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25516
25521
|
}[ve] || "container-content" : typeof ve == "number" ? `container-content-${ve}` : "container-content";
|
|
25517
25522
|
}), ie = () => {
|
|
25518
25523
|
const ve = Array.isArray(H.value) ? H.value : [], Te = [];
|
|
25519
|
-
ve.forEach((Xe,
|
|
25520
|
-
const Ye = Math.floor(
|
|
25524
|
+
ve.forEach((Xe, Me) => {
|
|
25525
|
+
const Ye = Math.floor(Me / L.value);
|
|
25521
25526
|
Te[Ye] || (Te[Ye] = []), Te[Ye].push(Xe);
|
|
25522
25527
|
}), k.value = Te;
|
|
25523
25528
|
}, he = (ve) => {
|
|
@@ -25535,14 +25540,14 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25535
25540
|
}, K = (ve) => {
|
|
25536
25541
|
if (ve.video_type === "outer") return;
|
|
25537
25542
|
const Te = H.value.filter(
|
|
25538
|
-
(
|
|
25539
|
-
), Xe = Te.findIndex((
|
|
25543
|
+
(Me) => Me.video_type !== "outer" && Me.type !== "photo"
|
|
25544
|
+
), Xe = Te.findIndex((Me) => Me.slug === ve.slug);
|
|
25540
25545
|
s("showLightboxVideo", {
|
|
25541
25546
|
idx: Xe,
|
|
25542
25547
|
list: Te
|
|
25543
25548
|
});
|
|
25544
25549
|
}, Z = (ve) => {
|
|
25545
|
-
const Te = H.value.filter((
|
|
25550
|
+
const Te = H.value.filter((Me) => Me.type === "photo"), Xe = Te.findIndex((Me) => Me.slug === ve.slug);
|
|
25546
25551
|
s("showLightBoxImage", {
|
|
25547
25552
|
idx: Xe,
|
|
25548
25553
|
url: ve.url,
|
|
@@ -25551,15 +25556,15 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25551
25556
|
});
|
|
25552
25557
|
}, ne = (ve) => {
|
|
25553
25558
|
if (!ve || !h.value) return;
|
|
25554
|
-
const Te = E.value >= 1024 ? 170 : 150,
|
|
25559
|
+
const Te = E.value >= 1024 ? 170 : 150, Me = ve.getBoundingClientRect().top + window.pageYOffset - Te;
|
|
25555
25560
|
window.scroll({
|
|
25556
|
-
top:
|
|
25561
|
+
top: Me,
|
|
25557
25562
|
left: 0,
|
|
25558
25563
|
behavior: "smooth"
|
|
25559
25564
|
});
|
|
25560
25565
|
}, fe = (ve) => {
|
|
25561
|
-
const Te = ve.currentTarget, Xe = Te == null ? void 0 : Te.dataset.slug,
|
|
25562
|
-
Ye && (
|
|
25566
|
+
const Te = ve.currentTarget, Xe = Te == null ? void 0 : Te.dataset.slug, Me = Te == null ? void 0 : Te.dataset.type, Ye = H.value.find((Ve) => Ve.key == Xe || Ve.slug == Xe);
|
|
25567
|
+
Ye && (Me === "photo" ? Z(Ye) : K(Ye));
|
|
25563
25568
|
}, De = () => {
|
|
25564
25569
|
h.value && (Array.from(document.getElementsByClassName("card-asset")).forEach((ve) => {
|
|
25565
25570
|
ve.addEventListener("click", fe);
|
|
@@ -25580,14 +25585,14 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25580
25585
|
}), es(() => {
|
|
25581
25586
|
Fe();
|
|
25582
25587
|
}), (ve, Te) => {
|
|
25583
|
-
var
|
|
25588
|
+
var Me;
|
|
25584
25589
|
const Xe = F("client-only");
|
|
25585
25590
|
return v(), I(de, null, [
|
|
25586
25591
|
l("div", {
|
|
25587
25592
|
class: "CardCarouselMultiRowArticles_wrap",
|
|
25588
25593
|
ref_key: "parent",
|
|
25589
25594
|
ref: d,
|
|
25590
|
-
style: Pe({ backgroundColor: ((
|
|
25595
|
+
style: Pe({ backgroundColor: ((Me = t.modelValue) == null ? void 0 : Me.bgColor) || "transparent" }),
|
|
25591
25596
|
onMouseenter: Te[2] || (Te[2] = (Ye) => a.value = !0),
|
|
25592
25597
|
onMouseleave: Te[3] || (Te[3] = (Ye) => a.value = !1)
|
|
25593
25598
|
}, [
|
|
@@ -25692,7 +25697,7 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25692
25697
|
emits: ["update:show"],
|
|
25693
25698
|
setup(t, { emit: e }) {
|
|
25694
25699
|
const n = Je(
|
|
25695
|
-
() => import("./index-
|
|
25700
|
+
() => import("./index-Bbb-kruM.mjs")
|
|
25696
25701
|
), s = e, i = () => {
|
|
25697
25702
|
s("update:show", !1);
|
|
25698
25703
|
};
|
|
@@ -25909,7 +25914,7 @@ const NU = /* @__PURE__ */ Qa(RU), YU = { class: "setting-content" }, jU = { cla
|
|
|
25909
25914
|
emits: ["update:show"],
|
|
25910
25915
|
setup(t, { emit: e }) {
|
|
25911
25916
|
const n = Je(
|
|
25912
|
-
() => import("./index-
|
|
25917
|
+
() => import("./index-Bbb-kruM.mjs")
|
|
25913
25918
|
), s = e, i = () => {
|
|
25914
25919
|
s("update:show", !1);
|
|
25915
25920
|
};
|
|
@@ -29839,7 +29844,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
29839
29844
|
},
|
|
29840
29845
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
29841
29846
|
setup(t, { emit: e }) {
|
|
29842
|
-
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Moe), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => zR), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => K9), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => YC), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => QR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => iie), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => ab), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => xS), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => pb), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => T9), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => RO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => LN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => XN), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => Ub), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => j6), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => TH), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => g9), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => Nj), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Zq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => kK), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => aW), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => kY), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => UI), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => PM), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Nie), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => dV), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => UT), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => aT), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => mT), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => UB), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => ZH), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => gW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => EO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => a6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => FY), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => vH), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => P8), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => a8), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => UE), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => E4), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => mx), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => coe), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => pD), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Lne), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => PD), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => nM), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => uR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => bR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => OU), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Cne), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => n5), "/src/components/Process/index.vue": () => Promise.resolve().then(() => SB), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => cL), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
29847
|
+
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Moe), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => zR), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => K9), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => YC), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => QR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => iie), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => ab), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => xS), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => pb), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => T9), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => RO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => LN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => XN), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => Ub), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => j6), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => TH), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => g9), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => Nj), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Zq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => kK), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => aW), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => kY), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => UI), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => PM), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Nie), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => dV), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => UT), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => aT), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => mT), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => UB), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => ZH), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => gW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => EO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => a6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => FY), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => vH), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => P8), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => a8), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => UE), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => E4), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => mx), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => coe), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => pD), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Lne), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => PD), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => nM), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => uR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => bR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => OU), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Cne), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => n5), "/src/components/Process/index.vue": () => Promise.resolve().then(() => SB), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => cL), "/src/components/QuoteText/index.vue": () => import("./index-BGeYcF-j.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => XF), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => kQ), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => qQ), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => a7), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => Tj), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => vP), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => jG), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => Fse), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => fse), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => Eq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => mU), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => lS), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => iI), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => Z7), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Gae) }), s = {};
|
|
29843
29848
|
for (const m in n)
|
|
29844
29849
|
try {
|
|
29845
29850
|
const h = m.split("/"), d = h[h.length - 2];
|
|
@@ -30301,7 +30306,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30301
30306
|
}, W = q(() => A.value - p.value);
|
|
30302
30307
|
function ee(ce) {
|
|
30303
30308
|
var Se;
|
|
30304
|
-
const me = (Se = f.value) == null ? void 0 : Se.findIndex((
|
|
30309
|
+
const me = (Se = f.value) == null ? void 0 : Se.findIndex((Le) => Le.id === ce);
|
|
30305
30310
|
h.value = ce, me !== d.value && (d.value = me, $());
|
|
30306
30311
|
}
|
|
30307
30312
|
const $ = () => {
|
|
@@ -30310,8 +30315,8 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30310
30315
|
if (!ce) return;
|
|
30311
30316
|
const me = ce.clientWidth / 2, Se = window.innerWidth / 2;
|
|
30312
30317
|
x.value = ce.getBoundingClientRect().right - me;
|
|
30313
|
-
const
|
|
30314
|
-
|
|
30318
|
+
const Le = w.value;
|
|
30319
|
+
Le && (Le.scrollLeft -= Se - x.value);
|
|
30315
30320
|
}, K = O(!1), Z = O(!1), ne = q(() => {
|
|
30316
30321
|
var me;
|
|
30317
30322
|
if (!((me = s.modelValue) != null && me.data) || !Array.isArray(s.modelValue.data))
|
|
@@ -30369,7 +30374,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30369
30374
|
}, Xe = (ce) => {
|
|
30370
30375
|
debugger;
|
|
30371
30376
|
i("handleCopy", ce || s.modelValue);
|
|
30372
|
-
},
|
|
30377
|
+
}, Me = (ce, me, Se) => {
|
|
30373
30378
|
debugger;
|
|
30374
30379
|
i("handlePaste", ce, me, Se);
|
|
30375
30380
|
}, Ye = (ce) => {
|
|
@@ -30380,21 +30385,21 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30380
30385
|
let ce = 0, me = 0;
|
|
30381
30386
|
if (a.value) {
|
|
30382
30387
|
if (o.value === 1) {
|
|
30383
|
-
const Se = Math.min(r.value, u.value),
|
|
30388
|
+
const Se = Math.min(r.value, u.value), Le = Math.max(r.value, u.value), we = f.value[Se], Qe = f.value[Le];
|
|
30384
30389
|
if (!we || !Qe) return {};
|
|
30385
30390
|
const xe = typeof window > "u" ? { paddingLeft: "0" } : window.getComputedStyle(we), Be = typeof window > "u" ? { paddingRight: "0" } : window.getComputedStyle(Qe);
|
|
30386
30391
|
ce = we.offsetLeft + parseInt(xe.paddingLeft), me = Qe.offsetLeft + Qe.clientWidth - parseInt(Be.paddingRight) - (we.offsetLeft + parseInt(xe.paddingLeft));
|
|
30387
30392
|
} else if (o.value === 2) {
|
|
30388
30393
|
const Se = f.value[u.value];
|
|
30389
30394
|
if (!Se) return {};
|
|
30390
|
-
const
|
|
30391
|
-
ce = Se.offsetLeft + parseInt(
|
|
30395
|
+
const Le = typeof window > "u" ? { paddingLeft: "0", paddingRight: "0" } : window.getComputedStyle(Se);
|
|
30396
|
+
ce = Se.offsetLeft + parseInt(Le.paddingLeft), me = Se.clientWidth - parseInt(Le.paddingLeft) - parseInt(Le.paddingRight);
|
|
30392
30397
|
}
|
|
30393
30398
|
} else {
|
|
30394
30399
|
const Se = f.value[d.value];
|
|
30395
30400
|
if (!Se) return {};
|
|
30396
|
-
const
|
|
30397
|
-
ce = Se.offsetLeft + parseInt(
|
|
30401
|
+
const Le = typeof window > "u" ? { paddingLeft: "0", paddingRight: "0" } : window.getComputedStyle(Se);
|
|
30402
|
+
ce = Se.offsetLeft + parseInt(Le.paddingLeft), me = Se.clientWidth - parseInt(Le.paddingLeft) - parseInt(Le.paddingRight);
|
|
30398
30403
|
}
|
|
30399
30404
|
return {
|
|
30400
30405
|
"--strip-left": `${ce}px`,
|
|
@@ -30443,7 +30448,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30443
30448
|
}), di(() => {
|
|
30444
30449
|
typeof window < "u" && window.removeEventListener("resize", Ve);
|
|
30445
30450
|
}), (ce, me) => {
|
|
30446
|
-
var Se,
|
|
30451
|
+
var Se, Le, we, Qe, xe;
|
|
30447
30452
|
return De.value ? (v(), I("div", {
|
|
30448
30453
|
key: 0,
|
|
30449
30454
|
class: "tab-default__container",
|
|
@@ -30452,7 +30457,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30452
30457
|
onMouseout: me[10] || (me[10] = (Be) => Z.value = !1)
|
|
30453
30458
|
}, [
|
|
30454
30459
|
l("div", {
|
|
30455
|
-
class: re(["container-content-small", [(
|
|
30460
|
+
class: re(["container-content-small", [(Le = t.modelValue) != null && Le.width ? `container-content-${(we = t.modelValue) == null ? void 0 : we.width}` : "container-content"]])
|
|
30456
30461
|
}, [
|
|
30457
30462
|
l("div", LG, [
|
|
30458
30463
|
l("div", {
|
|
@@ -30523,7 +30528,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30523
30528
|
"props-data": { modelValue: Ge, isPreview: t.isPreview, host: t.host, locale: t.locale, footer: t.footer },
|
|
30524
30529
|
onHandleDelete: me[2] || (me[2] = (Ft) => Te(Ft, ne.value)),
|
|
30525
30530
|
onHandleCopy: me[3] || (me[3] = (Ft) => Xe(Ft)),
|
|
30526
|
-
onHandlePaste: (Ft) =>
|
|
30531
|
+
onHandlePaste: (Ft) => Me(Ft, ne.value, It),
|
|
30527
30532
|
onHandleClick: Ye
|
|
30528
30533
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
30529
30534
|
])
|
|
@@ -30534,7 +30539,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30534
30539
|
"props-data": { modelValue: Be, isPreview: t.isPreview, host: t.host, locale: t.locale, footer: t.footer },
|
|
30535
30540
|
onHandleDelete: me[4] || (me[4] = (Ge) => Te(Ge, ne.value)),
|
|
30536
30541
|
onHandleCopy: me[5] || (me[5] = (Ge) => Xe(Ge)),
|
|
30537
|
-
onHandlePaste: (Ge) =>
|
|
30542
|
+
onHandlePaste: (Ge) => Me(Ge, ne.value, $e),
|
|
30538
30543
|
onHandleClick: Ye
|
|
30539
30544
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
30540
30545
|
])
|
|
@@ -30549,7 +30554,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
30549
30554
|
onHandleEdit: me[7] || (me[7] = (Be) => K.value = !0),
|
|
30550
30555
|
onHandleDelete: Te,
|
|
30551
30556
|
onHandleCopy: Xe,
|
|
30552
|
-
onHandlePaste:
|
|
30557
|
+
onHandlePaste: Me
|
|
30553
30558
|
}, null, 8, ["show"]))
|
|
30554
30559
|
], 2),
|
|
30555
30560
|
t.isPreview ? j("", !0) : (v(), ae(VG, {
|
|
@@ -31750,7 +31755,7 @@ const Ej = { key: 0 }, Dj = {
|
|
|
31750
31755
|
},
|
|
31751
31756
|
emits: ["update:show"],
|
|
31752
31757
|
setup(t, { emit: e }) {
|
|
31753
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
31758
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
31754
31759
|
animation: 200,
|
|
31755
31760
|
group: "programmes",
|
|
31756
31761
|
// 链接专用分组
|
|
@@ -58635,7 +58640,7 @@ browserWorkerPolyFill(self);
|
|
|
58635
58640
|
for (P.byteLength = 0, P.nalCount = 0, P.duration = 0, P.pts = y[0].pts, P.dts = y[0].dts, U.byteLength = 0, U.nalCount = 0, U.duration = 0, U.pts = y[0].pts, U.dts = y[0].dts, S = 0; S < y.length; S++)
|
|
58636
58641
|
M = y[S], M.keyFrame ? (P.length && (U.push(P), U.byteLength += P.byteLength, U.nalCount += P.nalCount, U.duration += P.duration), P = [M], P.nalCount = M.length, P.byteLength = M.byteLength, P.pts = M.pts, P.dts = M.dts, P.duration = M.duration) : (P.duration += M.duration, P.nalCount += M.length, P.byteLength += M.byteLength, P.push(M));
|
|
58637
58642
|
return U.length && P.duration <= 0 && (P.duration = U[U.length - 1].duration), U.byteLength += P.byteLength, U.nalCount += P.nalCount, U.duration += P.duration, U.push(P), U;
|
|
58638
|
-
},
|
|
58643
|
+
}, Me = function(y) {
|
|
58639
58644
|
var S;
|
|
58640
58645
|
return !y[0][0].keyFrame && y.length > 1 && (S = y.shift(), y.byteLength -= S.byteLength, y.nalCount -= S.nalCount, y[0][0].dts = S.dts, y[0][0].pts = S.pts, y[0][0].duration += S.duration), y;
|
|
58641
58646
|
}, Ye = function() {
|
|
@@ -58669,7 +58674,7 @@ browserWorkerPolyFill(self);
|
|
|
58669
58674
|
}, Se = function(y, S) {
|
|
58670
58675
|
var M, P = S || 0, U = [];
|
|
58671
58676
|
return M = Ve(y, P), U.push(M), U;
|
|
58672
|
-
},
|
|
58677
|
+
}, Le = function(y) {
|
|
58673
58678
|
var S, M, P = 0, U = y.byteLength, R = y.length, te = U + 4 * R, se = new Uint8Array(te), oe = new DataView(se.buffer);
|
|
58674
58679
|
for (S = 0; S < y.length; S++)
|
|
58675
58680
|
M = y[S], oe.setUint32(P, M.data.byteLength), P += 4, se.set(M.data, P), P += M.data.byteLength;
|
|
@@ -58677,11 +58682,11 @@ browserWorkerPolyFill(self);
|
|
|
58677
58682
|
}, we = {
|
|
58678
58683
|
groupNalsIntoFrames: Te,
|
|
58679
58684
|
groupFramesIntoGops: Xe,
|
|
58680
|
-
extendFirstKeyFrame:
|
|
58685
|
+
extendFirstKeyFrame: Me,
|
|
58681
58686
|
generateSampleTable: ce,
|
|
58682
58687
|
concatenateNalData: me,
|
|
58683
58688
|
generateSampleTableForFrame: Se,
|
|
58684
|
-
concatenateNalDataForFrame:
|
|
58689
|
+
concatenateNalDataForFrame: Le
|
|
58685
58690
|
}, Qe = [33, 16, 5, 32, 164, 27], xe = [33, 65, 108, 84, 1, 2, 4, 8, 168, 2, 4, 8, 17, 191, 252], Be = function(y) {
|
|
58686
58691
|
for (var S = []; y--; )
|
|
58687
58692
|
S.push(0);
|
|
@@ -69383,19 +69388,19 @@ const cne = /* @__PURE__ */ ge(lne, [["render", une], ["__scopeId", "data-v-c5a2
|
|
|
69383
69388
|
}
|
|
69384
69389
|
]), G = q(() => w.value > 0), N = q(() => b.value - w.value + J.value > B.value), J = q(() => {
|
|
69385
69390
|
if (!C.value) return 24;
|
|
69386
|
-
const
|
|
69387
|
-
return
|
|
69391
|
+
const Me = c.value;
|
|
69392
|
+
return Me ? window.getComputedStyle(Me, null).getPropertyValue("padding-right").split("px")[0] * 2 : 24;
|
|
69388
69393
|
}), ie = q(() => !1);
|
|
69389
69394
|
Re(s, () => {
|
|
69390
69395
|
$(), K();
|
|
69391
69396
|
}), Re(
|
|
69392
69397
|
() => r.currentIdx,
|
|
69393
|
-
(
|
|
69394
|
-
p.value =
|
|
69398
|
+
(Me, Ye) => {
|
|
69399
|
+
p.value = Me > Ye, Oe(he), Oe(fe);
|
|
69395
69400
|
}
|
|
69396
69401
|
), Re(
|
|
69397
69402
|
() => r.tabList,
|
|
69398
|
-
(
|
|
69403
|
+
(Me, Ye) => {
|
|
69399
69404
|
K(), Oe(() => {
|
|
69400
69405
|
he(0);
|
|
69401
69406
|
});
|
|
@@ -69407,44 +69412,44 @@ const cne = /* @__PURE__ */ ge(lne, [["render", une], ["__scopeId", "data-v-c5a2
|
|
|
69407
69412
|
s.value > 1200 && $(), Oe(K);
|
|
69408
69413
|
}
|
|
69409
69414
|
);
|
|
69410
|
-
const he = (
|
|
69411
|
-
const Ye =
|
|
69415
|
+
const he = (Me) => {
|
|
69416
|
+
const Ye = Me ?? 250;
|
|
69412
69417
|
p.value ? (W(), L.value = setTimeout(ee, Ye)) : (ee(), L.value = setTimeout(W, Ye)), Q.value = setTimeout(() => {
|
|
69413
69418
|
D.value = !0;
|
|
69414
69419
|
}, Ye);
|
|
69415
69420
|
}, W = () => {
|
|
69416
|
-
const
|
|
69421
|
+
const Me = h.value;
|
|
69417
69422
|
let Ye = null;
|
|
69418
|
-
|
|
69423
|
+
Me && Me[r.currentIdx] && (Ye = Me[r.currentIdx]), Ye && Ye.getBoundingClientRect && (d.value = Ye.getBoundingClientRect().right);
|
|
69419
69424
|
}, ee = () => {
|
|
69420
|
-
const
|
|
69425
|
+
const Me = h.value;
|
|
69421
69426
|
let Ye = null;
|
|
69422
|
-
|
|
69427
|
+
Me && Me[r.currentIdx] && (Ye = Me[r.currentIdx]), Ye && Ye.getBoundingClientRect && (f.value = Ye.getBoundingClientRect().left);
|
|
69423
69428
|
}, $ = () => {
|
|
69424
69429
|
D.value = !1, Oe(() => he(0)), Oe(Z);
|
|
69425
69430
|
}, K = () => {
|
|
69426
|
-
const
|
|
69427
|
-
if (
|
|
69428
|
-
let Ye =
|
|
69429
|
-
A.value = (
|
|
69431
|
+
const Me = c.value;
|
|
69432
|
+
if (Me) {
|
|
69433
|
+
let Ye = Me.getBoundingClientRect().left;
|
|
69434
|
+
A.value = (Me.offsetWidth - Me.getBoundingClientRect().width) / 2 + Ye;
|
|
69430
69435
|
}
|
|
69431
69436
|
}, Z = () => {
|
|
69432
69437
|
var Ve;
|
|
69433
69438
|
if (!((Ve = r.tabList) != null && Ve.length)) return;
|
|
69434
|
-
const
|
|
69435
|
-
|
|
69439
|
+
const Me = m.value;
|
|
69440
|
+
Me && (w.value = Me.scrollLeft, b.value = Me.scrollWidth);
|
|
69436
69441
|
const Ye = c.value;
|
|
69437
69442
|
Ye && (B.value = Ye.getBoundingClientRect().width);
|
|
69438
|
-
}, ne = (
|
|
69439
|
-
m.value && (
|
|
69443
|
+
}, ne = (Me) => {
|
|
69444
|
+
m.value && (Me == "next" ? m.value.scrollLeft += 9999 : m.value.scrollLeft -= 9999);
|
|
69440
69445
|
}, fe = () => {
|
|
69441
|
-
const
|
|
69442
|
-
if (!
|
|
69443
|
-
const Ye =
|
|
69444
|
-
k.value =
|
|
69445
|
-
}, De = (
|
|
69446
|
-
|
|
69447
|
-
}, Fe = (
|
|
69446
|
+
const Me = h.value[r.currentIdx];
|
|
69447
|
+
if (!Me) return;
|
|
69448
|
+
const Ye = Me.clientWidth / 2, Ve = s.value / 2;
|
|
69449
|
+
k.value = Me.getBoundingClientRect().right - Ye, m.value && (m.value.scrollLeft -= Ve - k.value);
|
|
69450
|
+
}, De = (Me, Ye) => {
|
|
69451
|
+
Me && r.isPreview || u("updateCurrentIdx", Ye);
|
|
69452
|
+
}, Fe = (Me) => Me && r.isPreview ? Me.includes("http") ? "a" : "RouterLink" : "button", ve = (Me) => Me && !Me.includes("http") ? Me : null, Te = (Me) => Me && Me.includes("http") ? Me : null, Xe = (Me) => Me && Me.includes("http") ? "_blank" : null;
|
|
69448
69453
|
return nt(() => {
|
|
69449
69454
|
C.value = !0, Oe(() => {
|
|
69450
69455
|
he(0), x.value = setTimeout($, 300), K(), Oe(() => {
|
|
@@ -69455,7 +69460,7 @@ const cne = /* @__PURE__ */ ge(lne, [["render", une], ["__scopeId", "data-v-c5a2
|
|
|
69455
69460
|
clearTimeout(x.value), clearTimeout(E.value), clearTimeout(V.value), clearTimeout(L.value), clearTimeout(Q.value), window.removeEventListener("resize", () => {
|
|
69456
69461
|
s.value = window.innerWidth;
|
|
69457
69462
|
});
|
|
69458
|
-
}), (
|
|
69463
|
+
}), (Me, Ye) => (v(), I("div", {
|
|
69459
69464
|
class: re(["tab-primary", [{ "is-fixed": t.isFixed }, { "is-campus": !ie.value }, { "is-full-width": t.fullWidth }]]),
|
|
69460
69465
|
ref_key: "wrapper",
|
|
69461
69466
|
ref: c
|
|
@@ -73086,7 +73091,7 @@ const xie = /* @__PURE__ */ Qa(bie), Bie = { class: "setting-content" }, Eie = {
|
|
|
73086
73091
|
},
|
|
73087
73092
|
emits: ["update:show"],
|
|
73088
73093
|
setup(t, { emit: e }) {
|
|
73089
|
-
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-
|
|
73094
|
+
const n = Je(() => import("vuedraggable")), s = Je(() => import("./index-Bbb-kruM.mjs")), i = O(!1), a = q(() => ({
|
|
73090
73095
|
animation: 200,
|
|
73091
73096
|
group: "gallerys",
|
|
73092
73097
|
disabled: !1,
|