officialblock 2.3.12 → 2.4.0
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-uyJaoRtB.mjs → index-BfSPFI87.mjs} +411 -414
- package/dist/index-BtAEY96c.mjs +4 -0
- package/dist/{index-BpsjRSas.mjs → index-C-0R8wn6.mjs} +1 -1
- package/dist/{index-DWhtiR9t.js → index-C5iksA_c.js} +1 -1
- package/dist/{index-Bj3EfBo-.js → index-MiUsIx72.js} +9 -9
- package/dist/{index-eh7UVez1.js → index-efva_vkg.js} +1 -1
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-Bf7VhUqx.mjs +0 -4
|
@@ -482,7 +482,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
482
482
|
},
|
|
483
483
|
emits: ["update:show"],
|
|
484
484
|
setup(t, { emit: e }) {
|
|
485
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
485
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
486
486
|
animation: 200,
|
|
487
487
|
group: "item",
|
|
488
488
|
disabled: !1,
|
|
@@ -3098,7 +3098,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
3098
3098
|
},
|
|
3099
3099
|
emits: ["update:show"],
|
|
3100
3100
|
setup(t, { emit: e }) {
|
|
3101
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
3101
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
3102
3102
|
animation: 200,
|
|
3103
3103
|
group: "gallerys",
|
|
3104
3104
|
// 链接专用分组
|
|
@@ -3448,17 +3448,17 @@ var en = /* @__PURE__ */ function() {
|
|
|
3448
3448
|
var e = t.prototype;
|
|
3449
3449
|
return e.init = function(s) {
|
|
3450
3450
|
Kr || V0(_n) || console.warn("Please gsap.registerPlugin(Observer)"), Vo || S0();
|
|
3451
|
-
var i = s.tolerance, a = s.dragMinimum, l = s.type, r = s.target, u = s.lineHeight, c = s.debounce, v = s.preventDefault, h = s.onStop, d = s.onStopDelay, m = s.ignore, g = s.wheelSpeed, p = s.event, C = s.onDragStart, w = s.onDragEnd, k = s.onDrag, y = s.onPress, x = s.onRelease, T = s.onRight, E = s.onLeft, V = s.onUp, D = s.onDown, O = s.onChangeX, I = s.onChangeY, R = s.onChange, M = s.onToggleX, H = s.onToggleY, Y = s.onHover, oe = s.onHoverEnd, ie = s.onMove, te = s.ignoreCheck, G = s.isNormalizer, Q = s.onGestureStart, X = s.onGestureEnd, z = s.onWheel, se = s.onEnable, ce = s.onDisable,
|
|
3451
|
+
var i = s.tolerance, a = s.dragMinimum, l = s.type, r = s.target, u = s.lineHeight, c = s.debounce, v = s.preventDefault, h = s.onStop, d = s.onStopDelay, m = s.ignore, g = s.wheelSpeed, p = s.event, C = s.onDragStart, w = s.onDragEnd, k = s.onDrag, y = s.onPress, x = s.onRelease, T = s.onRight, E = s.onLeft, V = s.onUp, D = s.onDown, O = s.onChangeX, I = s.onChangeY, R = s.onChange, M = s.onToggleX, H = s.onToggleY, Y = s.onHover, oe = s.onHoverEnd, ie = s.onMove, te = s.ignoreCheck, G = s.isNormalizer, Q = s.onGestureStart, X = s.onGestureEnd, z = s.onWheel, se = s.onEnable, ce = s.onDisable, ye = s.onClick, Le = s.scrollSpeed, tt = s.capture, ve = s.allowClicks, Ae = s.lockAxis, it = s.onLockAxis;
|
|
3452
3452
|
this.target = r = zn(r) || Xi, this.vars = s, m && (m = _n.utils.toArray(m)), i = i || 1e-9, a = a || 0, g = g || 1, Le = Le || 1, l = l || "wheel,touch,pointer", c = c !== !1, u || (u = parseFloat(ms.getComputedStyle(ll).lineHeight) || 22);
|
|
3453
|
-
var Ie,
|
|
3453
|
+
var Ie, _e, Ee, xe, Pe, Ge, Ze, fe = this, ke = 0, Ve = 0, Me = s.passive || !v && s.passive !== !1, He = Qi(r, Rn), xt = Qi(r, on), rn = He(), es = xt(), Nt = ~l.indexOf("touch") && !~l.indexOf("pointer") && Os[0] === "pointerdown", En = Po(r), Pt = r.ownerDocument || Gi, Ft = [0, 0, 0], Pn = [0, 0, 0], ys = 0, $i = function() {
|
|
3454
3454
|
return ys = Eo();
|
|
3455
3455
|
}, lt = function(nt, Ct) {
|
|
3456
3456
|
return (fe.event = nt) && m && j3(nt.target, m) || Ct && Nt && nt.pointerType !== "touch" || te && te(nt, Ct);
|
|
3457
3457
|
}, Oa = function() {
|
|
3458
|
-
fe._vx.reset(), fe._vy.reset(),
|
|
3458
|
+
fe._vx.reset(), fe._vy.reset(), _e.pause(), h && h(fe);
|
|
3459
3459
|
}, Hn = function() {
|
|
3460
3460
|
var nt = fe.deltaX = uf(Ft), Ct = fe.deltaY = uf(Pn), Fe = Math.abs(nt) >= i, ot = Math.abs(Ct) >= i;
|
|
3461
|
-
R && (Fe || ot) && R(fe, nt, Ct, Ft, Pn), Fe && (T && fe.deltaX > 0 && T(fe), E && fe.deltaX < 0 && E(fe), O && O(fe), M && fe.deltaX < 0 != ke < 0 && M(fe), ke = fe.deltaX, Ft[0] = Ft[1] = Ft[2] = 0), ot && (D && fe.deltaY > 0 && D(fe), V && fe.deltaY < 0 && V(fe), I && I(fe), H && fe.deltaY < 0 != Ve < 0 && H(fe), Ve = fe.deltaY, Pn[0] = Pn[1] = Pn[2] = 0), (
|
|
3461
|
+
R && (Fe || ot) && R(fe, nt, Ct, Ft, Pn), Fe && (T && fe.deltaX > 0 && T(fe), E && fe.deltaX < 0 && E(fe), O && O(fe), M && fe.deltaX < 0 != ke < 0 && M(fe), ke = fe.deltaX, Ft[0] = Ft[1] = Ft[2] = 0), ot && (D && fe.deltaY > 0 && D(fe), V && fe.deltaY < 0 && V(fe), I && I(fe), H && fe.deltaY < 0 != Ve < 0 && H(fe), Ve = fe.deltaY, Pn[0] = Pn[1] = Pn[2] = 0), (xe || Ee) && (ie && ie(fe), Ee && (C && Ee === 1 && C(fe), k && k(fe), Ee = 0), xe = !1), Ge && !(Ge = !1) && it && it(fe), Pe && (z(fe), Pe = !1), Ie = 0;
|
|
3462
3462
|
}, Di = function(nt, Ct, Fe) {
|
|
3463
3463
|
Ft[Fe] += nt, Pn[Fe] += Ct, fe._vx.update(nt), fe._vy.update(Ct), c ? Ie || (Ie = requestAnimationFrame(Hn)) : Hn();
|
|
3464
3464
|
}, Li = function(nt, Ct) {
|
|
@@ -3470,7 +3470,7 @@ var en = /* @__PURE__ */ function() {
|
|
|
3470
3470
|
fe.x = Ct, fe.y = Fe, (at || (ot || Ke) && (Math.abs(fe.startX - Ct) >= a || Math.abs(fe.startY - Fe) >= a)) && (Ee = at ? 2 : 1, at || (fe.isDragging = !0), Li(ot, Ke));
|
|
3471
3471
|
}
|
|
3472
3472
|
}, di = fe.onPress = function(dt) {
|
|
3473
|
-
lt(dt, 1) || dt && dt.button || (fe.axis = Ze = null,
|
|
3473
|
+
lt(dt, 1) || dt && dt.button || (fe.axis = Ze = null, _e.pause(), fe.isPressed = !0, dt = lo(dt), ke = Ve = 0, fe.startX = fe.x = dt.clientX, fe.startY = fe.y = dt.clientY, fe._vx.reset(), fe._vy.reset(), In(G ? r : Pt, Os[1], Fs, Me, !0), fe.deltaX = fe.deltaY = 0, y && y(fe));
|
|
3474
3474
|
}, pt = fe.onRelease = function(dt) {
|
|
3475
3475
|
if (!lt(dt, 1)) {
|
|
3476
3476
|
Dn(G ? r : Pt, Os[1], Fs, !0);
|
|
@@ -3484,7 +3484,7 @@ var en = /* @__PURE__ */ function() {
|
|
|
3484
3484
|
Ke.initMouseEvent("click", !0, !0, ms, 1, ot.screenX, ot.screenY, ot.clientX, ot.clientY, !1, !1, !1, !1, 0, null), dt.target.dispatchEvent(Ke);
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
|
-
})), fe.isDragging = fe.isGesturing = fe.isPressed = !1, h && Ct && !G &&
|
|
3487
|
+
})), fe.isDragging = fe.isGesturing = fe.isPressed = !1, h && Ct && !G && _e.restart(!0), Ee && Hn(), w && Ct && w(fe), x && x(fe, Fe);
|
|
3488
3488
|
}
|
|
3489
3489
|
}, ui = function(nt) {
|
|
3490
3490
|
return nt.touches && nt.touches.length > 1 && (fe.isGesturing = !0) && Q(nt, fe.isDragging);
|
|
@@ -3493,28 +3493,28 @@ var en = /* @__PURE__ */ function() {
|
|
|
3493
3493
|
}, ns = function(nt) {
|
|
3494
3494
|
if (!lt(nt)) {
|
|
3495
3495
|
var Ct = He(), Fe = xt();
|
|
3496
|
-
Di((Ct - rn) * Le, (Fe - es) * Le, 1), rn = Ct, es = Fe, h &&
|
|
3496
|
+
Di((Ct - rn) * Le, (Fe - es) * Le, 1), rn = Ct, es = Fe, h && _e.restart(!0);
|
|
3497
3497
|
}
|
|
3498
3498
|
}, ss = function(nt) {
|
|
3499
3499
|
if (!lt(nt)) {
|
|
3500
3500
|
nt = lo(nt, v), z && (Pe = !0);
|
|
3501
3501
|
var Ct = (nt.deltaMode === 1 ? u : nt.deltaMode === 2 ? ms.innerHeight : 1) * g;
|
|
3502
|
-
Di(nt.deltaX * Ct, nt.deltaY * Ct, 0), h && !G &&
|
|
3502
|
+
Di(nt.deltaX * Ct, nt.deltaY * Ct, 0), h && !G && _e.restart(!0);
|
|
3503
3503
|
}
|
|
3504
3504
|
}, ci = function(nt) {
|
|
3505
3505
|
if (!lt(nt)) {
|
|
3506
3506
|
var Ct = nt.clientX, Fe = nt.clientY, ot = Ct - fe.x, Ke = Fe - fe.y;
|
|
3507
|
-
fe.x = Ct, fe.y = Fe,
|
|
3507
|
+
fe.x = Ct, fe.y = Fe, xe = !0, h && _e.restart(!0), (ot || Ke) && Li(ot, Ke);
|
|
3508
3508
|
}
|
|
3509
3509
|
}, Ai = function(nt) {
|
|
3510
3510
|
fe.event = nt, Y(fe);
|
|
3511
3511
|
}, _s = function(nt) {
|
|
3512
3512
|
fe.event = nt, oe(fe);
|
|
3513
3513
|
}, sa = function(nt) {
|
|
3514
|
-
return lt(nt) || lo(nt, v) &&
|
|
3514
|
+
return lt(nt) || lo(nt, v) && ye(fe);
|
|
3515
3515
|
};
|
|
3516
|
-
|
|
3517
|
-
return fe.isEnabled || (In(En ? Pt : r, "scroll", dc), l.indexOf("scroll") >= 0 && In(En ? Pt : r, "scroll", ns, Me, tt), l.indexOf("wheel") >= 0 && In(r, "wheel", ss, Me, tt), (l.indexOf("touch") >= 0 && w0 || l.indexOf("pointer") >= 0) && (In(r, Os[0], di, Me, tt), In(Pt, Os[2], pt), In(Pt, Os[3], pt), ve && In(r, "click", $i, !0, !0),
|
|
3516
|
+
_e = fe._dc = _n.delayedCall(d || 0.25, Oa).pause(), fe.deltaX = fe.deltaY = 0, fe._vx = uc(0, 50, !0), fe._vy = uc(0, 50, !0), fe.scrollX = He, fe.scrollY = xt, fe.isDragging = fe.isGesturing = fe.isPressed = !1, C0(this), fe.enable = function(dt) {
|
|
3517
|
+
return fe.isEnabled || (In(En ? Pt : r, "scroll", dc), l.indexOf("scroll") >= 0 && In(En ? Pt : r, "scroll", ns, Me, tt), l.indexOf("wheel") >= 0 && In(r, "wheel", ss, Me, tt), (l.indexOf("touch") >= 0 && w0 || l.indexOf("pointer") >= 0) && (In(r, Os[0], di, Me, tt), In(Pt, Os[2], pt), In(Pt, Os[3], pt), ve && In(r, "click", $i, !0, !0), ye && In(r, "click", sa), Q && In(Pt, "gesturestart", ui), X && In(Pt, "gestureend", ts), Y && In(r, da + "enter", Ai), oe && In(r, da + "leave", _s), ie && In(r, da + "move", ci)), fe.isEnabled = !0, fe.isDragging = fe.isGesturing = fe.isPressed = xe = Ee = !1, fe._vx.reset(), fe._vy.reset(), rn = He(), es = xt(), dt && dt.type && di(dt), se && se(fe)), fe;
|
|
3518
3518
|
}, fe.disable = function() {
|
|
3519
3519
|
fe.isEnabled && (el.filter(function(dt) {
|
|
3520
3520
|
return dt !== fe && Po(dt.target);
|
|
@@ -3911,8 +3911,8 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
3911
3911
|
} : s, Mr);
|
|
3912
3912
|
var a = s, l = a.onUpdate, r = a.toggleClass, u = a.id, c = a.onToggle, v = a.onRefresh, h = a.scrub, d = a.trigger, m = a.pin, g = a.pinSpacing, p = a.invalidateOnRefresh, C = a.anticipatePin, w = a.onScrubComplete, k = a.onSnapComplete, y = a.once, x = a.snap, T = a.pinReparent, E = a.pinSpacer, V = a.containerAnimation, D = a.fastScrollEnd, O = a.preventOverlaps, I = s.horizontal || s.containerAnimation && s.horizontal !== !1 ? Rn : on, R = !h && h !== 0, M = zn(s.scroller || vt), H = Xe.core.getCache(M), Y = ka(M), oe = ("pinType" in s ? s.pinType : Ki(M, "pinType") || Y && "fixed") === "fixed", ie = [s.onEnter, s.onLeave, s.onEnterBack, s.onLeaveBack], te = R && s.toggleActions.split(" "), G = "markers" in s ? s.markers : Mr.markers, Q = Y ? 0 : parseFloat(ks(M)["border" + I.p2 + bl]) || 0, X = this, z = s.onRefreshInit && function() {
|
|
3913
3913
|
return s.onRefreshInit(X);
|
|
3914
|
-
}, se = z3(M, Y, I), ce = W3(M, Y),
|
|
3915
|
-
if (X._startClamp = X._endClamp = !1, X._dir = I, C *= 45, X.scroller = M, X.scroll = V ? V.time.bind(V) : ve,
|
|
3914
|
+
}, se = z3(M, Y, I), ce = W3(M, Y), ye = 0, Le = 0, tt = 0, ve = Qi(M, I), Ae, it, Ie, _e, Ee, xe, Pe, Ge, Ze, fe, ke, Ve, Me, He, xt, rn, es, Nt, En, Pt, Ft, Pn, ys, $i, lt, Oa, Hn, Di, Li, Fs, di, pt, ui, ts, ns, ss, ci, Ai, _s;
|
|
3915
|
+
if (X._startClamp = X._endClamp = !1, X._dir = I, C *= 45, X.scroller = M, X.scroll = V ? V.time.bind(V) : ve, _e = ve(), X.vars = s, i = i || s.animation, "refreshPriority" in s && (E0 = 1, s.refreshPriority === -9999 && (Oo = X)), H.tweenScroll = H.tweenScroll || {
|
|
3916
3916
|
top: Tf(M, on),
|
|
3917
3917
|
left: Tf(M, Rn)
|
|
3918
3918
|
}, X.tweenTo = Ae = H.tweenScroll[I.p], X.scrubDuration = function(Fe) {
|
|
@@ -3939,9 +3939,9 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
3939
3939
|
max: 2
|
|
3940
3940
|
}, ts = ua(ts) ? $o(ts.min, ts.max) : $o(ts, ts), ns = Xe.delayedCall(x.delay || ui / 2 || 0.1, function() {
|
|
3941
3941
|
var Fe = ve(), ot = wn() - Le < 500, Ke = Ae.tween;
|
|
3942
|
-
if ((ot || Math.abs(X.getVelocity()) < 10) && !Ke && !Nd &&
|
|
3943
|
-
var at = (Fe -
|
|
3944
|
-
if (kt = Ie(Yt, X), _o(kt) || (kt = Yt), $t = Math.max(0, Math.round(
|
|
3942
|
+
if ((ot || Math.abs(X.getVelocity()) < 10) && !Ke && !Nd && ye !== Fe) {
|
|
3943
|
+
var at = (Fe - xe) / He, Tt = i && !R ? i.totalProgress() : at, wt = ot ? 0 : (Tt - di) / (wn() - go) * 1e3 || 0, qt = Xe.utils.clamp(-at, 1 - at, Fa(wt / 2) * wt / 0.185), Yt = at + (x.inertia === !1 ? 0 : qt), kt, $t, Qe = x, is = Qe.onStart, At = Qe.onInterrupt, dn = Qe.onComplete;
|
|
3944
|
+
if (kt = Ie(Yt, X), _o(kt) || (kt = Yt), $t = Math.max(0, Math.round(xe + kt * He)), Fe <= Pe && Fe >= xe && $t !== Fe) {
|
|
3945
3945
|
if (Ke && !Ke._initted && Ke.data <= Fa($t - Fe))
|
|
3946
3946
|
return;
|
|
3947
3947
|
x.inertia === !1 && (qt = kt - at), Ae($t, {
|
|
@@ -3953,11 +3953,11 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
3953
3953
|
return ns.restart(!0) && At && At(X);
|
|
3954
3954
|
},
|
|
3955
3955
|
onComplete: function() {
|
|
3956
|
-
X.update(),
|
|
3956
|
+
X.update(), ye = ve(), i && !R && (pt ? pt.resetTo("totalProgress", kt, i._tTime / i._tDur) : i.progress(kt)), Fs = di = i && !R ? i.totalProgress() : X.progress, k && k(X), dn && dn(X);
|
|
3957
3957
|
}
|
|
3958
3958
|
}, Fe, qt * He, $t - Fe - qt * He), is && is(X, Ae.tween);
|
|
3959
3959
|
}
|
|
3960
|
-
} else X.isActive &&
|
|
3960
|
+
} else X.isActive && ye !== Fe && ns.restart(!0);
|
|
3961
3961
|
}).pause()), u && (fc[u] = X), d = X.trigger = zn(d || m !== !0 && m), _s = d && d._gsap && d._gsap.stRevert, _s && (_s = _s(X)), m = m === !0 ? d : zn(m), cs(r) && (r = {
|
|
3962
3962
|
targets: d,
|
|
3963
3963
|
className: r
|
|
@@ -4001,44 +4001,44 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4001
4001
|
var Tt = se(), wt = ce(), qt = V ? V.duration() : Ks(M, I), Yt = He <= 0.01 || !He, kt = 0, $t = at || 0, Qe = ua(Ke) ? Ke.end : s.end, is = s.endTrigger || d, At = ua(Ke) ? Ke.start : s.start || (s.start === 0 || !d ? 0 : m ? "0 0" : "0 100%"), dn = X.pinnedContainer = s.pinnedContainer && zn(s.pinnedContainer, X), bs = d && Math.max(0, ft.indexOf(X)) || 0, Bt = bs, ct, an, ws, Ma, un, Kt, as, ia, Ua, Ii, xs, aa, hi;
|
|
4002
4002
|
for (G && ua(Ke) && (aa = Xe.getProperty(fe, I.p), hi = Xe.getProperty(ke, I.p)); Bt-- > 0; )
|
|
4003
4003
|
Kt = ft[Bt], Kt.end || Kt.refresh(0, 1) || (bn = X), as = Kt.pin, as && (as === d || as === m || as === dn) && !Kt.isReverted && (Ii || (Ii = []), Ii.unshift(Kt), Kt.revert(!0, !0)), Kt !== ft[Bt] && (bs--, Bt--);
|
|
4004
|
-
for (xn(At) && (At = At(X)), At = mf(At, "start", X),
|
|
4005
|
-
Kt = ft[Bt], as = Kt.pin, as && Kt.start - Kt._pinPush <=
|
|
4006
|
-
if (
|
|
4004
|
+
for (xn(At) && (At = At(X)), At = mf(At, "start", X), xe = xf(At, d, Tt, I, ve(), Ge, fe, X, wt, Q, oe, qt, V, X._startClamp && "_startClamp") || (m ? -1e-3 : 0), xn(Qe) && (Qe = Qe(X)), cs(Qe) && !Qe.indexOf("+=") && (~Qe.indexOf(" ") ? Qe = (cs(At) ? At.split(" ")[0] : "") + Qe : (kt = Qr(Qe.substr(2), Tt), Qe = cs(At) ? At : (V ? Xe.utils.mapRange(0, V.duration(), V.scrollTrigger.start, V.scrollTrigger.end, xe) : xe) + kt, is = d)), Qe = mf(Qe, "end", X), Pe = Math.max(xe, xf(Qe || (is ? "100% 0" : qt), is, Tt, I, ve() + kt, Ze, ke, X, wt, Q, oe, qt, V, X._endClamp && "_endClamp")) || -1e-3, kt = 0, Bt = bs; Bt--; )
|
|
4005
|
+
Kt = ft[Bt], as = Kt.pin, as && Kt.start - Kt._pinPush <= xe && !V && Kt.end > 0 && (ct = Kt.end - (X._startClamp ? Math.max(0, Kt.start) : Kt.start), (as === d && Kt.start - Kt._pinPush < xe || as === dn) && isNaN(At) && (kt += ct * (1 - Kt.progress)), as === m && ($t += ct));
|
|
4006
|
+
if (xe += kt, Pe += kt, X._startClamp && (X._startClamp += kt), X._endClamp && !Un && (X._endClamp = Pe || -1e-3, Pe = Math.min(Pe, Ks(M, I))), He = Pe - xe || (xe -= 0.01) && 1e-3, Yt && (tt = Xe.utils.clamp(0, 1, Xe.utils.normalize(xe, Pe, ss))), X._pinPush = $t, Ge && kt && (ct = {}, ct[I.a] = "+=" + kt, dn && (ct[I.p] = "-=" + ve()), Xe.set([Ge, Ze], ct)), m && !(pc && X.end >= Ks(M, I)))
|
|
4007
4007
|
ct = ks(m), Ma = I === on, ws = ve(), Pn = parseFloat(Pt(I.a)) + $t, !qt && Pe > 1 && (xs = (Y ? Mt.scrollingElement || hs : M).style, xs = {
|
|
4008
4008
|
style: xs,
|
|
4009
4009
|
value: xs["overflow" + I.a.toUpperCase()]
|
|
4010
4010
|
}, Y && ks(St)["overflow" + I.a.toUpperCase()] !== "scroll" && (xs.style["overflow" + I.a.toUpperCase()] = "scroll")), Ou(m, Nt, ct), es = Br(m), an = pi(m, !0), ia = oe && Qi(M, Ma ? Rn : on)(), g ? (lt = [g + I.os2, He + $t + ln], lt.t = Nt, Bt = g === nn ? ud(m, I) + He + $t : 0, Bt && (lt.push(I.d, Bt + ln), Nt.style.flexBasis !== "auto" && (Nt.style.flexBasis = Bt + ln)), rl(lt), dn && ft.forEach(function(ls) {
|
|
4011
4011
|
ls.pin === dn && ls.vars.pinSpacing !== !1 && (ls._subPinOffset = !0);
|
|
4012
4012
|
}), oe && ve(ss)) : (Bt = ud(m, I), Bt && Nt.style.flexBasis !== "auto" && (Nt.style.flexBasis = Bt + ln)), oe && (un = {
|
|
4013
|
-
top: an.top + (Ma ? ws -
|
|
4014
|
-
left: an.left + (Ma ? ia : ws -
|
|
4013
|
+
top: an.top + (Ma ? ws - xe : ia) + ln,
|
|
4014
|
+
left: an.left + (Ma ? ia : ws - xe) + ln,
|
|
4015
4015
|
boxSizing: "border-box",
|
|
4016
4016
|
position: "fixed"
|
|
4017
4017
|
}, un[va] = un["max" + bl] = Math.ceil(an.width) + ln, un[ya] = un["max" + ch] = Math.ceil(an.height) + ln, un[Ts] = un[Ts + Ao] = un[Ts + Do] = un[Ts + Io] = un[Ts + Lo] = "0", un[nn] = ct[nn], un[nn + Ao] = ct[nn + Ao], un[nn + Do] = ct[nn + Do], un[nn + Io] = ct[nn + Io], un[nn + Lo] = ct[nn + Lo], rn = ex(xt, un, T), Un && ve(0)), i ? (Ua = i._initted, $u(1), i.render(i.duration(), !0, !0), ys = Pt(I.a) - Pn + He + $t, Hn = Math.abs(He - ys) > 1, oe && Hn && rn.splice(rn.length - 2, 2), i.render(0, !0, !0), Ua || i.invalidate(!0), i.parent || i.totalTime(i.totalTime()), $u(0)) : ys = He, xs && (xs.value ? xs.style["overflow" + I.a.toUpperCase()] = xs.value : xs.style.removeProperty("overflow-" + I.a));
|
|
4018
4018
|
else if (d && ve() && !V)
|
|
4019
4019
|
for (an = d.parentNode; an && an !== St; )
|
|
4020
|
-
an._pinOffset && (
|
|
4020
|
+
an._pinOffset && (xe -= an._pinOffset, Pe -= an._pinOffset), an = an.parentNode;
|
|
4021
4021
|
Ii && Ii.forEach(function(ls) {
|
|
4022
4022
|
return ls.revert(!1, !0);
|
|
4023
|
-
}), X.start =
|
|
4023
|
+
}), X.start = xe, X.end = Pe, _e = Ee = Un ? ss : ve(), !V && !Un && (_e < ss && ve(ss), X.scroll.rec = 0), X.revert(!1, !0), Le = wn(), ns && (ye = -1, ns.restart(!0)), bn = 0, i && R && (i._initted || ci) && i.progress() !== ci && i.progress(ci || 0, !0).render(i.time(), !0, !0), (Yt || tt !== X.progress || V || p || i && !i._initted) && (i && !R && (i._initted || tt || i.vars.immediateRender !== !1) && i.totalProgress(V && xe < -1e-3 && !tt ? Xe.utils.normalize(xe, Pe, 0) : tt, !0), X.progress = Yt || (_e - xe) / He === tt ? 0 : tt), m && g && (Nt._pinOffset = Math.round(X.progress * ys)), pt && pt.invalidate(), isNaN(aa) || (aa -= Xe.getProperty(fe, I.p), hi -= Xe.getProperty(ke, I.p), Rr(fe, I, aa), Rr(Ge, I, aa - (at || 0)), Rr(ke, I, hi), Rr(Ze, I, hi - (at || 0))), Yt && !Un && X.update(), v && !Un && !Me && (Me = !0, v(X), Me = !1);
|
|
4024
4024
|
}
|
|
4025
4025
|
}, X.getVelocity = function() {
|
|
4026
4026
|
return (ve() - Ee) / (wn() - go) * 1e3 || 0;
|
|
4027
4027
|
}, X.endAnimation = function() {
|
|
4028
4028
|
oo(X.callbackAnimation), i && (pt ? pt.progress(1) : i.paused() ? R || oo(i, X.direction < 0, 1) : oo(i, i.reversed()));
|
|
4029
4029
|
}, X.labelToScroll = function(Fe) {
|
|
4030
|
-
return i && i.labels && (
|
|
4030
|
+
return i && i.labels && (xe || X.refresh() || xe) + i.labels[Fe] / i.duration() * He || 0;
|
|
4031
4031
|
}, X.getTrailing = function(Fe) {
|
|
4032
4032
|
var ot = ft.indexOf(X), Ke = X.direction > 0 ? ft.slice(0, ot).reverse() : ft.slice(ot + 1);
|
|
4033
4033
|
return (cs(Fe) ? Ke.filter(function(at) {
|
|
4034
4034
|
return at.vars.preventOverlaps === Fe;
|
|
4035
4035
|
}) : Ke).filter(function(at) {
|
|
4036
|
-
return X.direction > 0 ? at.end <=
|
|
4036
|
+
return X.direction > 0 ? at.end <= xe : at.start >= Pe;
|
|
4037
4037
|
});
|
|
4038
4038
|
}, X.update = function(Fe, ot, Ke) {
|
|
4039
4039
|
if (!(V && !Ke && !Fe)) {
|
|
4040
|
-
var at = Un === !0 ? ss : X.scroll(), Tt = Fe ? 0 : (at -
|
|
4041
|
-
if (ot && (Ee =
|
|
4040
|
+
var at = Un === !0 ? ss : X.scroll(), Tt = Fe ? 0 : (at - xe) / He, wt = Tt < 0 ? 0 : Tt > 1 ? 1 : Tt || 0, qt = X.progress, Yt, kt, $t, Qe, is, At, dn, bs;
|
|
4041
|
+
if (ot && (Ee = _e, _e = V ? ve() : at, x && (di = Fs, Fs = i && !R ? i.totalProgress() : wt)), C && m && !bn && !Lr && Ss && (!wt && xe < at + (at - Ee) / (wn() - go) * C ? wt = 1e-4 : wt === 1 && Pe > at + (at - Ee) / (wn() - go) * C && (wt = 0.9999)), wt !== qt && X.enabled) {
|
|
4042
4042
|
if (Yt = X.isActive = !!wt && wt < 1, kt = !!qt && qt < 1, At = Yt !== kt, is = At || !!wt != !!qt, X.direction = wt > qt ? 1 : -1, X.progress = wt, is && !bn && ($t = wt && !qt ? 0 : wt === 1 ? 1 : qt === 1 ? 2 : 3, R && (Qe = !At && te[$t + 1] !== "none" && te[$t + 1] || te[$t], bs = i && (Qe === "complete" || Qe === "reset" || Qe in i))), O && (At || bs) && (bs || h || !i) && (xn(O) ? O(X) : X.getTrailing(O).forEach(function(ws) {
|
|
4043
4043
|
return ws.endAnimation();
|
|
4044
4044
|
})), R || (pt && !bn && !Lr ? (pt._dp._time - pt._start !== pt._time && pt.render(pt._dp._time - pt._start), pt.resetTo ? pt.resetTo("totalProgress", wt, i._tTime / i._tDur) : (pt.vars.totalProgress = wt, pt.invalidate().restart())) : i && i.totalProgress(wt, !!(bn && (Le || Fe)))), m) {
|
|
@@ -4047,7 +4047,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4047
4047
|
else if (is) {
|
|
4048
4048
|
if (dn = !Fe && wt > qt && Pe + 1 > at && at + 1 >= Ks(M, I), T)
|
|
4049
4049
|
if (!Fe && (Yt || dn)) {
|
|
4050
|
-
var Bt = pi(m, !0), ct = at -
|
|
4050
|
+
var Bt = pi(m, !0), ct = at - xe;
|
|
4051
4051
|
Cf(m, St, Bt.top + (I === on ? ct : 0) + ln, Bt.left + (I === on ? 0 : ct) + ln);
|
|
4052
4052
|
} else
|
|
4053
4053
|
Cf(m, Nt);
|
|
@@ -4065,7 +4065,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4065
4065
|
Ai && Ai(-at / V.duration() * (V._caScrollDist || 0));
|
|
4066
4066
|
}
|
|
4067
4067
|
}, X.enable = function(Fe, ot) {
|
|
4068
|
-
X.enabled || (X.enabled = !0, mn(M, "resize", bo), Y || mn(M, "scroll", Ha), z && mn(t, "refreshInit", z), Fe !== !1 && (X.progress = tt = 0,
|
|
4068
|
+
X.enabled || (X.enabled = !0, mn(M, "resize", bo), Y || mn(M, "scroll", Ha), z && mn(t, "refreshInit", z), Fe !== !1 && (X.progress = tt = 0, _e = Ee = ye = ve()), ot !== !1 && X.refresh());
|
|
4069
4069
|
}, X.getTween = function(Fe) {
|
|
4070
4070
|
return Fe && Ae ? Ae.tween : pt;
|
|
4071
4071
|
}, X.setPositions = function(Fe, ot, Ke, at) {
|
|
@@ -4104,8 +4104,8 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4104
4104
|
}, ft.push(X), X.enable(!1, !1), _s && _s(X), i && i.add && !He) {
|
|
4105
4105
|
var Ct = X.update;
|
|
4106
4106
|
X.update = function() {
|
|
4107
|
-
X.update = Ct, yt.cache++,
|
|
4108
|
-
}, Xe.delayedCall(0.01, X.update), He = 0.01,
|
|
4107
|
+
X.update = Ct, yt.cache++, xe || Pe || X.refresh();
|
|
4108
|
+
}, Xe.delayedCall(0.01, X.update), He = 0.01, xe = Pe = 0;
|
|
4109
4109
|
} else
|
|
4110
4110
|
X.refresh();
|
|
4111
4111
|
m && Q3();
|
|
@@ -4338,8 +4338,8 @@ var kf = function(e, n, s, i) {
|
|
|
4338
4338
|
}, e.onChange = function(te, G, Q, X, z) {
|
|
4339
4339
|
if (_a !== y && O(), G && s && g(V(X[2] === G ? H + (te.startX - te.x) : g() + G - X[1])), Q) {
|
|
4340
4340
|
m.offset && I();
|
|
4341
|
-
var se = z[2] === Q, ce = se ? Y + te.startY - te.y : m() + Q - z[1],
|
|
4342
|
-
se && ce !==
|
|
4341
|
+
var se = z[2] === Q, ce = se ? Y + te.startY - te.y : m() + Q - z[1], ye = D(ce);
|
|
4342
|
+
se && ce !== ye && (Y += ye - ce), m(ye);
|
|
4343
4343
|
}
|
|
4344
4344
|
(Q || G) && bi();
|
|
4345
4345
|
}, e.onEnable = function() {
|
|
@@ -4686,7 +4686,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
4686
4686
|
},
|
|
4687
4687
|
emits: ["update:show"],
|
|
4688
4688
|
setup(t, { emit: e }) {
|
|
4689
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
4689
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
4690
4690
|
animation: 200,
|
|
4691
4691
|
group: "gallerys",
|
|
4692
4692
|
// 链接专用分组
|
|
@@ -5576,7 +5576,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
5576
5576
|
},
|
|
5577
5577
|
emits: ["update:show"],
|
|
5578
5578
|
setup(t, { emit: e }) {
|
|
5579
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
5579
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
5580
5580
|
animation: 200,
|
|
5581
5581
|
group: "btns",
|
|
5582
5582
|
// 链接专用分组
|
|
@@ -6344,7 +6344,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
6344
6344
|
}
|
|
6345
6345
|
},
|
|
6346
6346
|
setup(t) {
|
|
6347
|
-
const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-
|
|
6347
|
+
const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-C-0R8wn6.mjs")), s = U(!1), i = q(() => ({
|
|
6348
6348
|
animation: 200,
|
|
6349
6349
|
group: "buttons",
|
|
6350
6350
|
// 按钮专用分组
|
|
@@ -8317,7 +8317,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
8317
8317
|
},
|
|
8318
8318
|
emits: ["update:show"],
|
|
8319
8319
|
setup(t, { emit: e }) {
|
|
8320
|
-
const n = qe(() => import("./index-
|
|
8320
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
8321
8321
|
s("update:show", !1);
|
|
8322
8322
|
};
|
|
8323
8323
|
return (a, l) => {
|
|
@@ -9734,7 +9734,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9734
9734
|
},
|
|
9735
9735
|
emits: ["update:show"],
|
|
9736
9736
|
setup(t, { emit: e }) {
|
|
9737
|
-
const n = qe(() => import("./index-
|
|
9737
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
9738
9738
|
s("update:show", !1);
|
|
9739
9739
|
};
|
|
9740
9740
|
return (a, l) => {
|
|
@@ -9916,7 +9916,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9916
9916
|
},
|
|
9917
9917
|
emits: ["update:show"],
|
|
9918
9918
|
setup(t, { emit: e }) {
|
|
9919
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
9919
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
9920
9920
|
animation: 200,
|
|
9921
9921
|
group: "links",
|
|
9922
9922
|
// 链接专用分组
|
|
@@ -10256,7 +10256,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10256
10256
|
},
|
|
10257
10257
|
emits: ["update:show"],
|
|
10258
10258
|
setup(t, { emit: e }) {
|
|
10259
|
-
const n = qe(() => import("./index-
|
|
10259
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
10260
10260
|
s("update:show", !1);
|
|
10261
10261
|
};
|
|
10262
10262
|
return (a, l) => {
|
|
@@ -10737,7 +10737,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10737
10737
|
},
|
|
10738
10738
|
emits: ["update:show"],
|
|
10739
10739
|
setup(t, { emit: e }) {
|
|
10740
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
10740
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
10741
10741
|
animation: 200,
|
|
10742
10742
|
group: "gallerys",
|
|
10743
10743
|
// 链接专用分组
|
|
@@ -10945,7 +10945,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10945
10945
|
const n = t, s = e, i = () => {
|
|
10946
10946
|
var Pe;
|
|
10947
10947
|
if (n.modelValue && n.modelValue.data) return;
|
|
10948
|
-
const
|
|
10948
|
+
const xe = {
|
|
10949
10949
|
id: ((Pe = n.modelValue) == null ? void 0 : Pe.id) || K(),
|
|
10950
10950
|
type: "TimelineStory",
|
|
10951
10951
|
onlyShowPc: !1,
|
|
@@ -10978,35 +10978,35 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10978
10978
|
}
|
|
10979
10979
|
]
|
|
10980
10980
|
};
|
|
10981
|
-
s("update:modelValue",
|
|
10981
|
+
s("update:modelValue", xe);
|
|
10982
10982
|
}, a = q(() => {
|
|
10983
|
-
var
|
|
10984
|
-
return n.isPreview ? !((
|
|
10983
|
+
var xe;
|
|
10984
|
+
return n.isPreview ? !((xe = n.modelValue) != null && xe.onlyShowPc) || !Ye() : !0;
|
|
10985
10985
|
}), l = U(!1), r = U(!1), u = () => {
|
|
10986
10986
|
s("handleDelete", n.modelValue.id);
|
|
10987
10987
|
}, c = () => {
|
|
10988
10988
|
s("handleCopy", n.modelValue);
|
|
10989
|
-
}, v = (
|
|
10990
|
-
s("handlePaste",
|
|
10989
|
+
}, v = (xe) => {
|
|
10990
|
+
s("handlePaste", xe);
|
|
10991
10991
|
};
|
|
10992
10992
|
i();
|
|
10993
10993
|
const h = U(0), d = U(0), m = U(0), g = U(0), p = U(""), C = U(""), w = U(!1), k = U(typeof window > "u" ? 1024 : window.innerWidth), y = U(typeof window > "u" ? 0 : window.scrollY), x = U(!1), T = U(null), E = U(null), V = U(null), D = U(null), O = U(null), I = U(null), R = U(null), M = U([]), H = U([]), Y = q(() => k.value > 1023.98 ? 100 : 66), oe = q(() => x.value);
|
|
10994
10994
|
Ue(k, () => {
|
|
10995
|
-
|
|
10995
|
+
_e();
|
|
10996
10996
|
});
|
|
10997
|
-
const ie = (
|
|
10998
|
-
if (!
|
|
10997
|
+
const ie = (xe) => {
|
|
10998
|
+
if (!xe) return 0;
|
|
10999
10999
|
const Pe = typeof window > "u" ? 0 : window.scrollY;
|
|
11000
|
-
return
|
|
11001
|
-
}, te = (
|
|
11002
|
-
if (!
|
|
11003
|
-
const Pe =
|
|
11000
|
+
return xe.getBoundingClientRect().top + Pe;
|
|
11001
|
+
}, te = (xe) => {
|
|
11002
|
+
if (!xe) return { x: 0, y: 0 };
|
|
11003
|
+
const Pe = xe.getBoundingClientRect(), Ge = typeof window > "u" ? 0 : window.scrollX, Ze = typeof window > "u" ? 0 : window.scrollY;
|
|
11004
11004
|
return {
|
|
11005
11005
|
x: Pe.left + Ge,
|
|
11006
11006
|
y: Pe.top + Ze
|
|
11007
11007
|
};
|
|
11008
|
-
}, G = (
|
|
11009
|
-
typeof document > "u" || (
|
|
11008
|
+
}, G = (xe) => {
|
|
11009
|
+
typeof document > "u" || (xe ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
|
|
11010
11010
|
}, Q = () => {
|
|
11011
11011
|
typeof window > "u" || (window.addEventListener("scroll", se), window.addEventListener("resize", z), z());
|
|
11012
11012
|
}, X = () => {
|
|
@@ -11016,36 +11016,36 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11016
11016
|
}, se = () => {
|
|
11017
11017
|
var Ze;
|
|
11018
11018
|
typeof window < "u" && (y.value = window.scrollY);
|
|
11019
|
-
const
|
|
11020
|
-
|
|
11019
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0);
|
|
11020
|
+
xe < Pe ? h.value = 0 : xe > Ge && (h.value = 999), ce(), ye(), Le(), tt(), ve(), it();
|
|
11021
11021
|
}, ce = () => {
|
|
11022
11022
|
var ke;
|
|
11023
|
-
const
|
|
11023
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), Ze = {
|
|
11024
11024
|
top: Pe + 15,
|
|
11025
11025
|
bottom: Ge - 378
|
|
11026
11026
|
}, fe = [O.value, I.value];
|
|
11027
|
-
!O.value || !I.value || (
|
|
11027
|
+
!O.value || !I.value || (xe < Ze.top ? fe.forEach((Ve) => {
|
|
11028
11028
|
Ve == null || Ve.classList.add("is-top"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11029
|
-
}) :
|
|
11029
|
+
}) : xe > Ze.bottom ? fe.forEach((Ve) => {
|
|
11030
11030
|
Ve == null || Ve.classList.add("is-bottom"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-top");
|
|
11031
11031
|
}) : fe.forEach((Ve) => {
|
|
11032
11032
|
Ve == null || Ve.classList.add("is-fixed"), Ve == null || Ve.classList.remove("is-top"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11033
11033
|
}));
|
|
11034
|
-
},
|
|
11034
|
+
}, ye = () => {
|
|
11035
11035
|
var ke;
|
|
11036
|
-
const
|
|
11036
|
+
const xe = y.value + Y.value + 64, Pe = R.value, Ge = ie(D.value), Ze = Ge + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), fe = {
|
|
11037
11037
|
top: Ge - 80,
|
|
11038
11038
|
bottom: Ze - 181
|
|
11039
11039
|
};
|
|
11040
|
-
Pe && (
|
|
11040
|
+
Pe && (xe < fe.top ? (Pe.classList.add("is-top"), Pe.classList.remove("is-fixed"), Pe.classList.remove("is-bottom")) : xe > fe.bottom ? (Pe.classList.add("is-bottom"), Pe.classList.remove("is-fixed"), Pe.classList.remove("is-top")) : (Pe.classList.add("is-fixed"), Pe.classList.remove("is-top"), Pe.classList.remove("is-bottom")));
|
|
11041
11041
|
}, Le = () => {
|
|
11042
11042
|
var Ze;
|
|
11043
|
-
const
|
|
11043
|
+
const xe = ie(D.value), Pe = ie(R.value);
|
|
11044
11044
|
d.value = ((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0, g.value = 41 / d.value;
|
|
11045
|
-
const Ge = Pe <
|
|
11045
|
+
const Ge = Pe < xe ? y.value + Pe - xe : Pe - xe;
|
|
11046
11046
|
m.value = (Ge + 12) / d.value;
|
|
11047
11047
|
}, tt = () => {
|
|
11048
|
-
const
|
|
11048
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11049
11049
|
for (let Ge = 0; Ge < Pe; Ge++) {
|
|
11050
11050
|
const Ze = M.value[Ge], fe = ie(Ze), ke = Ze.clientHeight, Ve = ie(Ze) + ke, Me = H.value[Ge], He = Me.clientHeight, xt = oe.value ? {
|
|
11051
11051
|
top: fe + 31,
|
|
@@ -11058,38 +11058,38 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11058
11058
|
Me.classList.add("is-top"), Me.classList.remove("is-fixed"), Me.classList.remove("is-bottom");
|
|
11059
11059
|
continue;
|
|
11060
11060
|
}
|
|
11061
|
-
|
|
11061
|
+
xe < xt.top ? (Me.classList.add("is-top"), Me.classList.remove("is-fixed"), Me.classList.remove("is-bottom")) : xe > xt.bottom ? (Me.classList.add("is-bottom"), Me.classList.remove("is-fixed"), Me.classList.remove("is-top")) : (Me.classList.add("is-fixed"), Me.classList.remove("is-top"), Me.classList.remove("is-bottom"));
|
|
11062
11062
|
}
|
|
11063
11063
|
}, ve = () => {
|
|
11064
|
-
const
|
|
11064
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11065
11065
|
let Ge = !1;
|
|
11066
11066
|
for (let Ze = 0; Ze < Pe; Ze++) {
|
|
11067
11067
|
const fe = M.value[Ze], ke = ie(fe), Ve = ie(fe) + fe.clientHeight, He = H.value[Ze].clientHeight, xt = {
|
|
11068
11068
|
top: ke - 300,
|
|
11069
11069
|
bottom: Ve - He
|
|
11070
11070
|
};
|
|
11071
|
-
if (
|
|
11071
|
+
if (xe > xt.top && xe < xt.bottom) {
|
|
11072
11072
|
h.value = Ze, Ge = !0;
|
|
11073
11073
|
break;
|
|
11074
11074
|
}
|
|
11075
11075
|
}
|
|
11076
11076
|
if (!Ge && Pe > 0) {
|
|
11077
11077
|
const Ze = M.value[0], fe = ie(Ze);
|
|
11078
|
-
|
|
11078
|
+
xe < fe - 300 && (h.value = 0);
|
|
11079
11079
|
}
|
|
11080
|
-
}, Ae = (
|
|
11081
|
-
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[
|
|
11080
|
+
}, Ae = (xe) => {
|
|
11081
|
+
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[xe]).y - Pe;
|
|
11082
11082
|
typeof window < "u" && window.scroll({ top: Ge, left: 0, behavior: "smooth" });
|
|
11083
11083
|
}, it = () => {
|
|
11084
|
-
const
|
|
11085
|
-
if (!
|
|
11086
|
-
const Pe =
|
|
11084
|
+
const xe = T.value;
|
|
11085
|
+
if (!xe) return;
|
|
11086
|
+
const Pe = xe.getBoundingClientRect().top, Ge = xe.getBoundingClientRect().bottom, Ze = typeof window > "u" || typeof document > "u" ? k.value < 768 ? 66 : 100 : Number(
|
|
11087
11087
|
window.getComputedStyle(document.body).getPropertyValue("--header-height-calc").split("px")[0]
|
|
11088
11088
|
), fe = V.value;
|
|
11089
11089
|
fe && (Pe - 80 > Ze || Ge < Ze ? (fe.classList.remove("is-fixed"), fe.classList.add("d-none")) : (fe.classList.add("is-fixed"), fe.classList.remove("d-none")));
|
|
11090
|
-
}, Ie = (
|
|
11091
|
-
p.value =
|
|
11092
|
-
},
|
|
11090
|
+
}, Ie = (xe) => {
|
|
11091
|
+
p.value = xe.text, C.value = xe.image, G(!0), w.value = !0;
|
|
11092
|
+
}, _e = () => {
|
|
11093
11093
|
G(!1), w.value = !1;
|
|
11094
11094
|
}, Ee = () => {
|
|
11095
11095
|
const Pe = M.value.length;
|
|
@@ -11104,7 +11104,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11104
11104
|
});
|
|
11105
11105
|
}), Qn(() => {
|
|
11106
11106
|
X();
|
|
11107
|
-
}), (
|
|
11107
|
+
}), (xe, Pe) => {
|
|
11108
11108
|
var Ge, Ze, fe;
|
|
11109
11109
|
return _(), S(ue, null, [
|
|
11110
11110
|
a.value ? (_(), S("div", {
|
|
@@ -11211,7 +11211,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11211
11211
|
$e(f(Kk, {
|
|
11212
11212
|
text: p.value,
|
|
11213
11213
|
image: C.value,
|
|
11214
|
-
onCloseCaption:
|
|
11214
|
+
onCloseCaption: _e
|
|
11215
11215
|
}, null, 8, ["text", "image"]), [
|
|
11216
11216
|
[Oe, w.value]
|
|
11217
11217
|
])
|
|
@@ -11537,8 +11537,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
11537
11537
|
if (!z) return;
|
|
11538
11538
|
const se = z.clientWidth / 2, ce = window.innerWidth / 2;
|
|
11539
11539
|
p.value = z.getBoundingClientRect().right - se;
|
|
11540
|
-
const
|
|
11541
|
-
|
|
11540
|
+
const ye = a.value;
|
|
11541
|
+
ye && (ye.scrollLeft -= ce - p.value);
|
|
11542
11542
|
};
|
|
11543
11543
|
return rt(() => {
|
|
11544
11544
|
if (Re(() => {
|
|
@@ -11570,18 +11570,18 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
11570
11570
|
ref: a,
|
|
11571
11571
|
onScroll: te
|
|
11572
11572
|
}, [
|
|
11573
|
-
(_(!0), S(ue, null, we(C.value, (ce,
|
|
11573
|
+
(_(!0), S(ue, null, we(C.value, (ce, ye) => (_(), S("li", {
|
|
11574
11574
|
key: ce.key,
|
|
11575
11575
|
class: "tab-blue__list__item",
|
|
11576
11576
|
ref_for: !0,
|
|
11577
|
-
ref: (Le) => l.value[
|
|
11577
|
+
ref: (Le) => l.value[ye] = Le
|
|
11578
11578
|
}, [
|
|
11579
11579
|
o("button", {
|
|
11580
11580
|
type: "button",
|
|
11581
|
-
class: re(["tab-blue__btn", { "tab-blue__btn--active": V.value ==
|
|
11581
|
+
class: re(["tab-blue__btn", { "tab-blue__btn--active": V.value == ye }]),
|
|
11582
11582
|
ref_for: !0,
|
|
11583
|
-
ref: (Le) => r.value[
|
|
11584
|
-
onClick: (Le) => V.value =
|
|
11583
|
+
ref: (Le) => r.value[ye] = Le,
|
|
11584
|
+
onClick: (Le) => V.value = ye
|
|
11585
11585
|
}, Z(ce.name), 11, IS)
|
|
11586
11586
|
]))), 128)),
|
|
11587
11587
|
o("span", {
|
|
@@ -12017,13 +12017,13 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12017
12017
|
},
|
|
12018
12018
|
host: {
|
|
12019
12019
|
type: String,
|
|
12020
|
-
default: "
|
|
12021
|
-
|
|
12020
|
+
// default: "cms-web.ycismelody.cn",
|
|
12021
|
+
default: ""
|
|
12022
12022
|
},
|
|
12023
12023
|
locale: {
|
|
12024
12024
|
type: String,
|
|
12025
|
-
default: "sc"
|
|
12026
|
-
|
|
12025
|
+
// default: "sc",
|
|
12026
|
+
default: ""
|
|
12027
12027
|
}
|
|
12028
12028
|
},
|
|
12029
12029
|
emits: [
|
|
@@ -12038,28 +12038,25 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12038
12038
|
articleCategoryGroups: "/article/category/group/listForWeb",
|
|
12039
12039
|
articleYears: "/article/years"
|
|
12040
12040
|
}, a = U([]), l = U([]), r = () => {
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
a.value = ye.data.data, n.modelValue.article_category_group_id = ((Ee = a.value[0]) == null ? void 0 : Ee.groupId) || void 0, w.value = !0;
|
|
12052
|
-
}).catch((ye) => {
|
|
12053
|
-
console.error("articleCategoryGroups error:", ye);
|
|
12041
|
+
Promise.all([
|
|
12042
|
+
Cn.get(i.articleCategoryGroups, {
|
|
12043
|
+
params: { langCode: n.locale, host: n.host }
|
|
12044
|
+
}),
|
|
12045
|
+
Cn.get(i.articleYears, {
|
|
12046
|
+
params: { langCode: n.locale, host: n.host }
|
|
12047
|
+
})
|
|
12048
|
+
]).then(([_e, Ee]) => {
|
|
12049
|
+
var xe;
|
|
12050
|
+
a.value = _e.data.data, l.value = Ee.data.data, n.modelValue.article_category_group_id = ((xe = a.value[0]) == null ? void 0 : xe.groupId) || void 0, w.value = !0;
|
|
12054
12051
|
});
|
|
12055
12052
|
}, u = () => {
|
|
12056
|
-
var Ee,
|
|
12053
|
+
var Ee, xe;
|
|
12057
12054
|
if (n.modelValue && n.modelValue.data) return;
|
|
12058
|
-
const
|
|
12055
|
+
const _e = {
|
|
12059
12056
|
id: ((Ee = n.modelValue) == null ? void 0 : Ee.id) || K(),
|
|
12060
12057
|
type: "NewsList",
|
|
12061
12058
|
onlyShowPc: !1,
|
|
12062
|
-
api: ((
|
|
12059
|
+
api: ((xe = n.modelValue) == null ? void 0 : xe.api) || "/article/newsList",
|
|
12063
12060
|
sort: [
|
|
12064
12061
|
{
|
|
12065
12062
|
key: "most-recent",
|
|
@@ -12080,44 +12077,44 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12080
12077
|
getIsPreviewMode: !1,
|
|
12081
12078
|
getIsReviewMode: !1
|
|
12082
12079
|
};
|
|
12083
|
-
s("update:modelValue",
|
|
12080
|
+
s("update:modelValue", _e);
|
|
12084
12081
|
}, c = q(() => {
|
|
12085
|
-
var
|
|
12086
|
-
return n.isPreview ? !((
|
|
12082
|
+
var _e;
|
|
12083
|
+
return n.isPreview ? !((_e = n.modelValue) != null && _e.onlyShowPc) || !Ye() : !0;
|
|
12087
12084
|
}), v = U(!1), h = U(!1), d = () => {
|
|
12088
12085
|
s("handleDelete", n.modelValue.id);
|
|
12089
12086
|
}, m = () => {
|
|
12090
12087
|
s("handleCopy", n.modelValue);
|
|
12091
|
-
}, g = (
|
|
12092
|
-
s("handlePaste",
|
|
12093
|
-
}, p = (
|
|
12094
|
-
s("handleClick",
|
|
12088
|
+
}, g = (_e) => {
|
|
12089
|
+
s("handlePaste", _e);
|
|
12090
|
+
}, p = (_e) => {
|
|
12091
|
+
s("handleClick", _e);
|
|
12095
12092
|
};
|
|
12096
12093
|
u();
|
|
12097
12094
|
const C = U(null), w = U(!1), k = U(0), y = U(null), x = U(null), T = U("所有年份"), E = U(10), V = U(1), D = U(12), O = U([]), I = U({}), R = U(""), M = U(typeof window > "u" ? 1024 : window.innerWidth), H = () => {
|
|
12098
12095
|
M.value = typeof window > "u" ? 1024 : window.innerWidth;
|
|
12099
12096
|
}, Y = q(() => {
|
|
12100
|
-
var
|
|
12097
|
+
var xe, Pe;
|
|
12101
12098
|
if (!w.value)
|
|
12102
|
-
return Object.freeze(((
|
|
12103
|
-
const
|
|
12099
|
+
return Object.freeze(((xe = n.modelValue) == null ? void 0 : xe.list) ?? []);
|
|
12100
|
+
const _e = JSON.parse(
|
|
12104
12101
|
JSON.stringify(a.value)
|
|
12105
12102
|
);
|
|
12106
|
-
if (!
|
|
12103
|
+
if (!_e || !n.modelValue.article_category_group_id || !_e.find((Ge) => Ge.groupId === n.modelValue.article_category_group_id))
|
|
12107
12104
|
return Object.freeze([]);
|
|
12108
|
-
let Ee = (Pe =
|
|
12105
|
+
let Ee = (Pe = _e.find(
|
|
12109
12106
|
(Ge) => Ge.groupId === n.modelValue.article_category_group_id
|
|
12110
12107
|
)) == null ? void 0 : Pe.categoryList;
|
|
12111
12108
|
return Ee = Ee.filter(function(Ge) {
|
|
12112
12109
|
return Ge.hasOwnProperty("hasArticles") && Ge.hasArticles;
|
|
12113
12110
|
}), Object.freeze(Ee);
|
|
12114
12111
|
}), oe = q(() => {
|
|
12115
|
-
let
|
|
12112
|
+
let _e = [];
|
|
12116
12113
|
for (const Ee of Y.value)
|
|
12117
|
-
Ee.key !== "all" &&
|
|
12118
|
-
return Object.freeze(
|
|
12114
|
+
Ee.key !== "all" && _e.push(Ee.key);
|
|
12115
|
+
return Object.freeze(_e);
|
|
12119
12116
|
}), ie = q(() => {
|
|
12120
|
-
var
|
|
12117
|
+
var _e;
|
|
12121
12118
|
if (w.value) {
|
|
12122
12119
|
let Ee = [
|
|
12123
12120
|
{
|
|
@@ -12125,58 +12122,58 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12125
12122
|
name: "全部",
|
|
12126
12123
|
list: []
|
|
12127
12124
|
}
|
|
12128
|
-
],
|
|
12125
|
+
], xe = Y.value.map(function(Pe) {
|
|
12129
12126
|
return {
|
|
12130
12127
|
key: Pe.key,
|
|
12131
12128
|
name: Pe.name,
|
|
12132
12129
|
list: []
|
|
12133
12130
|
};
|
|
12134
12131
|
});
|
|
12135
|
-
return Object.freeze(Ee.concat(
|
|
12132
|
+
return Object.freeze(Ee.concat(xe));
|
|
12136
12133
|
}
|
|
12137
|
-
return ((
|
|
12134
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.list) ?? void 0;
|
|
12138
12135
|
}), te = q(() => {
|
|
12139
|
-
var
|
|
12140
|
-
return ((
|
|
12136
|
+
var _e;
|
|
12137
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colDesktop) ?? 4;
|
|
12141
12138
|
}), G = q(() => {
|
|
12142
|
-
var
|
|
12143
|
-
return ((
|
|
12139
|
+
var _e;
|
|
12140
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colTablet) ?? 3;
|
|
12144
12141
|
}), Q = q(() => {
|
|
12145
|
-
var
|
|
12146
|
-
return ((
|
|
12142
|
+
var _e;
|
|
12143
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colMobile) ?? 1;
|
|
12147
12144
|
}), X = q(() => {
|
|
12148
|
-
var
|
|
12149
|
-
return ((Ee = (
|
|
12145
|
+
var _e, Ee;
|
|
12146
|
+
return ((Ee = (_e = ie.value) == null ? void 0 : _e[k.value]) == null ? void 0 : Ee.list) ?? null;
|
|
12150
12147
|
}), z = q(() => {
|
|
12151
|
-
var
|
|
12152
|
-
return !x.value || !x.value.length ? X.value : ((
|
|
12148
|
+
var _e;
|
|
12149
|
+
return !x.value || !x.value.length ? X.value : ((_e = X.value) == null ? void 0 : _e.filter((Ee) => {
|
|
12153
12150
|
var Pe;
|
|
12154
|
-
let
|
|
12151
|
+
let xe = !1;
|
|
12155
12152
|
return (Pe = x.value) == null || Pe.forEach((Ge) => {
|
|
12156
|
-
|
|
12157
|
-
}),
|
|
12153
|
+
xe = Ee && Ee.keywords && Ee.keywords.includes(Ge) ? !0 : xe;
|
|
12154
|
+
}), xe;
|
|
12158
12155
|
})) ?? [];
|
|
12159
12156
|
}), se = q(() => {
|
|
12160
12157
|
if (!y.value || y.value === "most-recent")
|
|
12161
12158
|
return [...z.value].sort(
|
|
12162
12159
|
(ke, Ve) => new Date(Ve.date).getTime() - new Date(ke.date).getTime()
|
|
12163
12160
|
);
|
|
12164
|
-
const
|
|
12161
|
+
const _e = /* @__PURE__ */ new Date(), Ee = _e.getFullYear(), xe = _e.getMonth(), Pe = _e.getDate(), Ge = new Date(Ee, xe - 1 < 0 ? 11 : xe - 1, Pe), Ze = new Date(Ee - 1, xe, Pe), fe = y.value === "past-month" ? Ge : Ze;
|
|
12165
12162
|
return z.value.filter(
|
|
12166
|
-
(ke) => new Date(ke.date) > fe && new Date(ke.date) <
|
|
12163
|
+
(ke) => new Date(ke.date) > fe && new Date(ke.date) < _e
|
|
12167
12164
|
);
|
|
12168
12165
|
}), ce = q(() => {
|
|
12169
|
-
var
|
|
12170
|
-
return ((
|
|
12171
|
-
}),
|
|
12172
|
-
var
|
|
12173
|
-
return w.value || (
|
|
12166
|
+
var _e;
|
|
12167
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.displayYearList) ?? !0 ? l.value : [];
|
|
12168
|
+
}), ye = q(() => {
|
|
12169
|
+
var _e, Ee, xe;
|
|
12170
|
+
return w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) === 0 ? O.value : se.value.slice(
|
|
12174
12171
|
(V.value - 1) * D.value,
|
|
12175
12172
|
V.value * D.value
|
|
12176
12173
|
);
|
|
12177
|
-
}), Le = (
|
|
12178
|
-
if (!
|
|
12179
|
-
const Ee = 100,
|
|
12174
|
+
}), Le = (_e) => {
|
|
12175
|
+
if (!_e) return;
|
|
12176
|
+
const Ee = 100, xe = typeof window > "u" ? 0 : window.scrollY, Ge = _e.getBoundingClientRect().top + xe - Ee;
|
|
12180
12177
|
typeof window < "u" && window.scrollTo({
|
|
12181
12178
|
top: Ge,
|
|
12182
12179
|
behavior: "smooth"
|
|
@@ -12189,18 +12186,18 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12189
12186
|
}), Ue(T, () => {
|
|
12190
12187
|
ve(), Ae();
|
|
12191
12188
|
}), Ue(V, () => {
|
|
12192
|
-
const
|
|
12193
|
-
Le(
|
|
12194
|
-
}), Ue(k, (
|
|
12195
|
-
Ae(), ie.value && ie.value[
|
|
12196
|
-
}), Ue(oe, (
|
|
12197
|
-
Ee.length === 0 &&
|
|
12189
|
+
const _e = C.value;
|
|
12190
|
+
Le(_e), ve();
|
|
12191
|
+
}), Ue(k, (_e) => {
|
|
12192
|
+
Ae(), ie.value && ie.value[_e] && (R.value = ie.value[_e].key, V.value = 1, ve());
|
|
12193
|
+
}), Ue(oe, (_e, Ee) => {
|
|
12194
|
+
Ee.length === 0 && _e.length > 0 && (it(), ve());
|
|
12198
12195
|
});
|
|
12199
12196
|
const tt = () => {
|
|
12200
12197
|
O.value = [], E.value = 0;
|
|
12201
12198
|
}, ve = async () => {
|
|
12202
|
-
var
|
|
12203
|
-
if (w.value || (
|
|
12199
|
+
var _e, Ee, xe, Pe;
|
|
12200
|
+
if (w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) === 0) {
|
|
12204
12201
|
let Ge = (Pe = n.modelValue) == null ? void 0 : Pe.api;
|
|
12205
12202
|
if (oe.value.length === 0)
|
|
12206
12203
|
return;
|
|
@@ -12224,27 +12221,27 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12224
12221
|
}
|
|
12225
12222
|
}
|
|
12226
12223
|
}, Ae = () => {
|
|
12227
|
-
var
|
|
12228
|
-
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (
|
|
12224
|
+
var _e, Ee, xe;
|
|
12225
|
+
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) > 0) && (E.value = Math.ceil(se.value.length / D.value));
|
|
12229
12226
|
}, it = () => {
|
|
12230
|
-
let
|
|
12231
|
-
R.value && ie.value && (
|
|
12232
|
-
}, Ie = (
|
|
12233
|
-
k.value =
|
|
12227
|
+
let _e = 0;
|
|
12228
|
+
R.value && ie.value && (_e = ie.value.findIndex((Ee) => Ee.key == R.value)), k.value = _e > -1 ? _e : 0;
|
|
12229
|
+
}, Ie = (_e) => {
|
|
12230
|
+
k.value = _e, R.value = ie.value[_e].key, V.value = 1, ve();
|
|
12234
12231
|
};
|
|
12235
12232
|
return rt(() => {
|
|
12236
12233
|
var Ee;
|
|
12237
12234
|
(((Ee = n.modelValue) == null ? void 0 : Ee.article_category_group_id) ?? null) && (w.value = !0), typeof window < "u" && window.addEventListener("resize", H), H(), Ae(), it(), r();
|
|
12238
12235
|
}), Qn(() => {
|
|
12239
12236
|
typeof window < "u" && window.removeEventListener("resize", H);
|
|
12240
|
-
}), (
|
|
12237
|
+
}), (_e, Ee) => (_(), S(ue, null, [
|
|
12241
12238
|
c.value ? (_(), S("div", {
|
|
12242
12239
|
key: 0,
|
|
12243
12240
|
class: "news-list tab-default",
|
|
12244
12241
|
ref_key: "parent",
|
|
12245
12242
|
ref: C,
|
|
12246
|
-
onMouseenter: Ee[6] || (Ee[6] = (
|
|
12247
|
-
onMouseleave: Ee[7] || (Ee[7] = (
|
|
12243
|
+
onMouseenter: Ee[6] || (Ee[6] = (xe) => v.value = !0),
|
|
12244
|
+
onMouseleave: Ee[7] || (Ee[7] = (xe) => v.value = !1)
|
|
12248
12245
|
}, [
|
|
12249
12246
|
t.host ? (_(), S(ue, { key: 1 }, [
|
|
12250
12247
|
o("div", g9, [
|
|
@@ -12257,14 +12254,14 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12257
12254
|
yearList: l.value,
|
|
12258
12255
|
articleTabList: ie.value ? [...ie.value] : void 0,
|
|
12259
12256
|
onUpdateIdx: Ie,
|
|
12260
|
-
onUpdateSort: Ee[0] || (Ee[0] = (
|
|
12261
|
-
onUpdateFilter: Ee[1] || (Ee[1] = (
|
|
12262
|
-
onUpdateYear: Ee[2] || (Ee[2] = (
|
|
12257
|
+
onUpdateSort: Ee[0] || (Ee[0] = (xe) => y.value = typeof xe == "string" ? xe : null),
|
|
12258
|
+
onUpdateFilter: Ee[1] || (Ee[1] = (xe) => x.value = xe),
|
|
12259
|
+
onUpdateYear: Ee[2] || (Ee[2] = (xe) => T.value = String(xe))
|
|
12263
12260
|
}, null, 8, ["componentProps", "currentIdx", "keySort", "keyFilter", "keyYear", "yearList", "articleTabList"])
|
|
12264
12261
|
]),
|
|
12265
12262
|
o("div", v9, [
|
|
12266
|
-
(_(!0), S(ue, null, we(ie.value, (
|
|
12267
|
-
key:
|
|
12263
|
+
(_(!0), S(ue, null, we(ie.value, (xe, Pe) => (_(), S(ue, {
|
|
12264
|
+
key: xe.key
|
|
12268
12265
|
}, [
|
|
12269
12266
|
Pe == k.value ? (_(), S("div", y9, [
|
|
12270
12267
|
o("div", {
|
|
@@ -12274,7 +12271,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12274
12271
|
`row-cols-lg-${te.value}`
|
|
12275
12272
|
]])
|
|
12276
12273
|
}, [
|
|
12277
|
-
(_(!0), S(ue, null, we(
|
|
12274
|
+
(_(!0), S(ue, null, we(ye.value, (Ge) => (_(), S("div", {
|
|
12278
12275
|
class: "card-item col",
|
|
12279
12276
|
key: Ge.id
|
|
12280
12277
|
}, [
|
|
@@ -12301,8 +12298,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12301
12298
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
12302
12299
|
key: 2,
|
|
12303
12300
|
show: v.value,
|
|
12304
|
-
"onUpdate:show": Ee[4] || (Ee[4] = (
|
|
12305
|
-
onHandleEdit: Ee[5] || (Ee[5] = (
|
|
12301
|
+
"onUpdate:show": Ee[4] || (Ee[4] = (xe) => v.value = xe),
|
|
12302
|
+
onHandleEdit: Ee[5] || (Ee[5] = (xe) => h.value = !0),
|
|
12306
12303
|
onHandleDelete: d,
|
|
12307
12304
|
onHandleCopy: m,
|
|
12308
12305
|
onHandlePaste: g
|
|
@@ -12311,14 +12308,14 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12311
12308
|
t.isPreview ? j("", !0) : (_(), ne(p9, {
|
|
12312
12309
|
key: 1,
|
|
12313
12310
|
show: h.value,
|
|
12314
|
-
"onUpdate:show": Ee[8] || (Ee[8] = (
|
|
12311
|
+
"onUpdate:show": Ee[8] || (Ee[8] = (xe) => h.value = xe),
|
|
12315
12312
|
data: t.modelValue,
|
|
12316
12313
|
articleCategoryGroups: a.value,
|
|
12317
12314
|
onHandleChange: tt
|
|
12318
12315
|
}, null, 8, ["show", "data", "articleCategoryGroups"]))
|
|
12319
12316
|
], 64));
|
|
12320
12317
|
}
|
|
12321
|
-
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-
|
|
12318
|
+
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-0c4e7ec9"]]), w9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Ph }, Symbol.toStringTag, { value: "Module" })), x9 = { class: "setting-content" }, C9 = { class: "setting-header flex items-center" }, T9 = { class: "setting-header flex items-center" }, k9 = { class: "setting-header flex items-center" }, S9 = {
|
|
12322
12319
|
key: 1,
|
|
12323
12320
|
class: "btn-setting"
|
|
12324
12321
|
}, V9 = { class: "btn-group" }, E9 = { class: "item-action flex items-center" }, P9 = { class: "setting-body" }, $9 = { class: "btn-group" }, D9 = {
|
|
@@ -12342,7 +12339,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12342
12339
|
},
|
|
12343
12340
|
emits: ["update:show"],
|
|
12344
12341
|
setup(t, { emit: e }) {
|
|
12345
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
12342
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
12346
12343
|
animation: 200,
|
|
12347
12344
|
group: "gallerys",
|
|
12348
12345
|
// 链接专用分组
|
|
@@ -12912,15 +12909,15 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12912
12909
|
key: se.id
|
|
12913
12910
|
}, {
|
|
12914
12911
|
default: $(() => [
|
|
12915
|
-
(_(!0), S(ue, null, we(se.timeSection, (ce,
|
|
12912
|
+
(_(!0), S(ue, null, we(se.timeSection, (ce, ye) => (_(), S("div", {
|
|
12916
12913
|
class: "inside-wrap leftSide",
|
|
12917
12914
|
key: ce.id
|
|
12918
12915
|
}, [
|
|
12919
12916
|
o("div", {
|
|
12920
|
-
style: je({ zIndex:
|
|
12917
|
+
style: je({ zIndex: ye ? 1 : 50 }),
|
|
12921
12918
|
class: "period",
|
|
12922
|
-
"data-swiper-parallax":
|
|
12923
|
-
"data-swiper-parallax-opacity":
|
|
12919
|
+
"data-swiper-parallax": ye ? -300 : 0,
|
|
12920
|
+
"data-swiper-parallax-opacity": ye ? 0.2 : 0.5
|
|
12924
12921
|
}, [
|
|
12925
12922
|
o("p", null, Z(ce.year), 1),
|
|
12926
12923
|
o("div", {
|
|
@@ -12929,22 +12926,22 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12929
12926
|
}, [
|
|
12930
12927
|
o("img", {
|
|
12931
12928
|
ref_for: !0,
|
|
12932
|
-
ref: ce.year +
|
|
12929
|
+
ref: ce.year + ye ? "right" : "left",
|
|
12933
12930
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05Ljk3OTIyIDE5Ljk1OEMxNS40OTA2IDE5Ljk1OCAxOS45NTg0IDE1LjQ5MDEgMTkuOTU4NCA5Ljk3ODczQzE5Ljk1ODQgNC40NjczNiAxNS40OTA2IC0wLjAwMDQ4ODI4MSA5Ljk3OTIyIC0wLjAwMDQ4ODI4MUM0LjQ2Nzg1IC0wLjAwMDQ4ODI4MSAwIDQuNDY3MzYgMCA5Ljk3ODczQzAgMTUuNDkwMSA0LjQ2Nzg1IDE5Ljk1OCA5Ljk3OTIyIDE5Ljk1OFpNMTQuMTczMiAxMS4wNDU0TDExLjA0NTMgMTEuMDQ1NFYxNC4xNzMzQzExLjA0NTMgMTQuNzQ5MSAxMC41Nzg0IDE1LjIxNiAxMC4wMDI2IDE1LjIxNkM5LjQyNjc3IDE1LjIxNiA4Ljk1OTk3IDE0Ljc0OTEgOC45NTk5NyAxNC4xNzMzVjExLjA0NTRMNS44MzIwMyAxMS4wNDU0QzUuMjU2MiAxMS4wNDU0IDQuNzg5MzkgMTAuNTc4NiA0Ljc4OTM5IDEwLjAwMjdDNC43ODkzOSA5LjQyNjg5IDUuMjU2MiA4Ljk2MDA4IDUuODMyMDMgOC45NjAwOEw4Ljk1OTk3IDguOTYwMDhWNS44MzIxNUM4Ljk1OTk3IDUuMjU2MzEgOS40MjY3NyA0Ljc4OTUgMTAuMDAyNiA0Ljc4OTVDMTAuNTc4NCA0Ljc4OTUgMTEuMDQ1MyA1LjI1NjMxIDExLjA0NTMgNS44MzIxNVY4Ljk2MDA4TDE0LjE3MzIgOC45NjAwOEMxNC43NDkgOC45NjAwOCAxNS4yMTU4IDkuNDI2ODkgMTUuMjE1OCAxMC4wMDI3QzE1LjIxNTggMTAuNTc4NiAxNC43NDkgMTEuMDQ1NCAxNC4xNzMyIDExLjA0NTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K",
|
|
12934
12931
|
alt: "了解更多"
|
|
12935
12932
|
}, null, 512)
|
|
12936
12933
|
], 8, Z9),
|
|
12937
12934
|
o("div", J9, [
|
|
12938
12935
|
o("div", {
|
|
12939
|
-
id: "period__effect__circle" +
|
|
12936
|
+
id: "period__effect__circle" + ye,
|
|
12940
12937
|
class: "period__effect__circle"
|
|
12941
12938
|
}, null, 8, e7)
|
|
12942
12939
|
])
|
|
12943
12940
|
], 12, Q9),
|
|
12944
12941
|
o("div", {
|
|
12945
12942
|
class: "image",
|
|
12946
|
-
"data-swiper-parallax":
|
|
12947
|
-
"data-swiper-parallax-opacity":
|
|
12943
|
+
"data-swiper-parallax": ye ? 600 : -400,
|
|
12944
|
+
"data-swiper-parallax-opacity": ye ? 0 : 0.2
|
|
12948
12945
|
}, [
|
|
12949
12946
|
o("img", {
|
|
12950
12947
|
src: ce.imgSrc,
|
|
@@ -12985,13 +12982,13 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12985
12982
|
ref: C
|
|
12986
12983
|
}, [
|
|
12987
12984
|
(_(!0), S(ue, null, we(E.value, (se, ce) => {
|
|
12988
|
-
var
|
|
12985
|
+
var ye, Le, tt, ve;
|
|
12989
12986
|
return _(), S("div", {
|
|
12990
12987
|
ref_for: !0,
|
|
12991
12988
|
ref_key: "yearBlock",
|
|
12992
12989
|
ref: w,
|
|
12993
12990
|
class: "year-pagination__box",
|
|
12994
|
-
key: ((Le = (
|
|
12991
|
+
key: ((Le = (ye = se.timeSection) == null ? void 0 : ye[0]) == null ? void 0 : Le.year) + ce
|
|
12995
12992
|
}, [
|
|
12996
12993
|
o("h5", {
|
|
12997
12994
|
onClick: (Ae) => I(ce),
|
|
@@ -13523,7 +13520,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
13523
13520
|
emits: ["update:show"],
|
|
13524
13521
|
setup(t, { emit: e }) {
|
|
13525
13522
|
const n = qe(
|
|
13526
|
-
() => import("./index-
|
|
13523
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
13527
13524
|
), s = e, i = () => {
|
|
13528
13525
|
s("update:show", !1);
|
|
13529
13526
|
};
|
|
@@ -14944,7 +14941,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
14944
14941
|
setup(t, { emit: e }) {
|
|
14945
14942
|
var T;
|
|
14946
14943
|
const n = qe(() => import("vuedraggable")), s = qe(
|
|
14947
|
-
() => import("./index-
|
|
14944
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
14948
14945
|
), i = q(() => ({
|
|
14949
14946
|
animation: 200,
|
|
14950
14947
|
group: "links",
|
|
@@ -15414,7 +15411,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
15414
15411
|
mode: "out-in"
|
|
15415
15412
|
}, {
|
|
15416
15413
|
default: $(() => {
|
|
15417
|
-
var V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce,
|
|
15414
|
+
var V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce, ye, Le;
|
|
15418
15415
|
return [
|
|
15419
15416
|
(_(), S("div", {
|
|
15420
15417
|
class: "pc_wrap",
|
|
@@ -15442,7 +15439,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
15442
15439
|
}, null, 8, rP)
|
|
15443
15440
|
]),
|
|
15444
15441
|
(se = (z = (X = (Q = t.modelValue) == null ? void 0 : Q.list) == null ? void 0 : X[l.value]) == null ? void 0 : z.links) != null && se.length ? (_(), S("div", dP, [
|
|
15445
|
-
(_(!0), S(ue, null, we(((Le = (
|
|
15442
|
+
(_(!0), S(ue, null, we(((Le = (ye = (ce = t.modelValue) == null ? void 0 : ce.list) == null ? void 0 : ye[l.value]) == null ? void 0 : Le.links) || [], (tt) => (_(), S("div", {
|
|
15446
15443
|
class: "bottom_item",
|
|
15447
15444
|
key: tt
|
|
15448
15445
|
}, [
|
|
@@ -16012,8 +16009,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16012
16009
|
}, null, 8, zP),
|
|
16013
16010
|
o("span", {
|
|
16014
16011
|
onClick: y[0] || (y[0] = (ce) => {
|
|
16015
|
-
var
|
|
16016
|
-
return p((
|
|
16012
|
+
var ye;
|
|
16013
|
+
return p((ye = n.value) == null ? void 0 : ye.url, n.value);
|
|
16017
16014
|
}),
|
|
16018
16015
|
class: re([n.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16019
16016
|
}, Z((D = n.value) == null ? void 0 : D.text), 3)
|
|
@@ -16027,8 +16024,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16027
16024
|
}, null, 8, XP),
|
|
16028
16025
|
o("span", {
|
|
16029
16026
|
onClick: y[1] || (y[1] = (ce) => {
|
|
16030
|
-
var
|
|
16031
|
-
return p((
|
|
16027
|
+
var ye;
|
|
16028
|
+
return p((ye = s.value) == null ? void 0 : ye.url, s.value);
|
|
16032
16029
|
}),
|
|
16033
16030
|
class: re([s.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16034
16031
|
}, Z((O = s.value) == null ? void 0 : O.text), 3)
|
|
@@ -16041,8 +16038,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16041
16038
|
}, null, 8, KP),
|
|
16042
16039
|
o("span", {
|
|
16043
16040
|
onClick: y[2] || (y[2] = (ce) => {
|
|
16044
|
-
var
|
|
16045
|
-
return p((
|
|
16041
|
+
var ye;
|
|
16042
|
+
return p((ye = i.value) == null ? void 0 : ye.url, i.value);
|
|
16046
16043
|
}),
|
|
16047
16044
|
class: re([i.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16048
16045
|
}, Z((I = i.value) == null ? void 0 : I.text), 3)
|
|
@@ -16058,8 +16055,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16058
16055
|
}, null, 8, JP),
|
|
16059
16056
|
o("span", {
|
|
16060
16057
|
onClick: y[3] || (y[3] = (ce) => {
|
|
16061
|
-
var
|
|
16062
|
-
return p((
|
|
16058
|
+
var ye;
|
|
16059
|
+
return p((ye = a.value) == null ? void 0 : ye.url, a.value);
|
|
16063
16060
|
}),
|
|
16064
16061
|
class: re([a.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16065
16062
|
}, Z((R = a.value) == null ? void 0 : R.text), 3)
|
|
@@ -16072,8 +16069,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16072
16069
|
}, null, 8, t$),
|
|
16073
16070
|
o("span", {
|
|
16074
16071
|
onClick: y[4] || (y[4] = (ce) => {
|
|
16075
|
-
var
|
|
16076
|
-
return p((
|
|
16072
|
+
var ye;
|
|
16073
|
+
return p((ye = l.value) == null ? void 0 : ye.url, l.value);
|
|
16077
16074
|
}),
|
|
16078
16075
|
class: re([l.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16079
16076
|
}, Z((M = l.value) == null ? void 0 : M.text), 3)
|
|
@@ -16087,8 +16084,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16087
16084
|
}, null, 8, s$),
|
|
16088
16085
|
o("span", {
|
|
16089
16086
|
onClick: y[5] || (y[5] = (ce) => {
|
|
16090
|
-
var
|
|
16091
|
-
return p((
|
|
16087
|
+
var ye;
|
|
16088
|
+
return p((ye = r.value) == null ? void 0 : ye.url, r.value);
|
|
16092
16089
|
}),
|
|
16093
16090
|
class: re([r.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16094
16091
|
}, Z((H = r.value) == null ? void 0 : H.text), 3)
|
|
@@ -16113,8 +16110,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16113
16110
|
}, null, 8, d$),
|
|
16114
16111
|
o("span", {
|
|
16115
16112
|
onClick: y[6] || (y[6] = (ce) => {
|
|
16116
|
-
var
|
|
16117
|
-
return p((
|
|
16113
|
+
var ye;
|
|
16114
|
+
return p((ye = n.value) == null ? void 0 : ye.url, n.value);
|
|
16118
16115
|
}),
|
|
16119
16116
|
class: re([n.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16120
16117
|
}, Z((te = n.value) == null ? void 0 : te.text), 3)
|
|
@@ -16127,8 +16124,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16127
16124
|
}, null, 8, c$),
|
|
16128
16125
|
o("span", {
|
|
16129
16126
|
onClick: y[7] || (y[7] = (ce) => {
|
|
16130
|
-
var
|
|
16131
|
-
return p((
|
|
16127
|
+
var ye;
|
|
16128
|
+
return p((ye = s.value) == null ? void 0 : ye.url, s.value);
|
|
16132
16129
|
}),
|
|
16133
16130
|
class: re([s.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16134
16131
|
}, Z((G = s.value) == null ? void 0 : G.text), 3)
|
|
@@ -16141,8 +16138,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16141
16138
|
}, null, 8, m$),
|
|
16142
16139
|
o("span", {
|
|
16143
16140
|
onClick: y[8] || (y[8] = (ce) => {
|
|
16144
|
-
var
|
|
16145
|
-
return p((
|
|
16141
|
+
var ye;
|
|
16142
|
+
return p((ye = i.value) == null ? void 0 : ye.url, i.value);
|
|
16146
16143
|
}),
|
|
16147
16144
|
class: re([i.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16148
16145
|
}, Z((Q = i.value) == null ? void 0 : Q.text), 3)
|
|
@@ -16155,8 +16152,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16155
16152
|
}, null, 8, f$),
|
|
16156
16153
|
o("span", {
|
|
16157
16154
|
onClick: y[9] || (y[9] = (ce) => {
|
|
16158
|
-
var
|
|
16159
|
-
return p((
|
|
16155
|
+
var ye;
|
|
16156
|
+
return p((ye = a.value) == null ? void 0 : ye.url, a.value);
|
|
16160
16157
|
}),
|
|
16161
16158
|
class: re([a.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16162
16159
|
}, Z((X = a.value) == null ? void 0 : X.text), 3)
|
|
@@ -16169,8 +16166,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16169
16166
|
}, null, 8, v$),
|
|
16170
16167
|
o("span", {
|
|
16171
16168
|
onClick: y[10] || (y[10] = (ce) => {
|
|
16172
|
-
var
|
|
16173
|
-
return p((
|
|
16169
|
+
var ye;
|
|
16170
|
+
return p((ye = l.value) == null ? void 0 : ye.url, l.value);
|
|
16174
16171
|
}),
|
|
16175
16172
|
class: re([l.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16176
16173
|
}, Z((z = l.value) == null ? void 0 : z.text), 3)
|
|
@@ -16183,8 +16180,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16183
16180
|
}, null, 8, _$),
|
|
16184
16181
|
o("span", {
|
|
16185
16182
|
onClick: y[11] || (y[11] = (ce) => {
|
|
16186
|
-
var
|
|
16187
|
-
return p((
|
|
16183
|
+
var ye;
|
|
16184
|
+
return p((ye = r.value) == null ? void 0 : ye.url, r.value);
|
|
16188
16185
|
}),
|
|
16189
16186
|
class: re([r.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16190
16187
|
}, Z((se = r.value) == null ? void 0 : se.text), 3)
|
|
@@ -17053,7 +17050,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17053
17050
|
emits: ["update:show"],
|
|
17054
17051
|
setup(t, { emit: e }) {
|
|
17055
17052
|
const n = qe(
|
|
17056
|
-
() => import("./index-
|
|
17053
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
17057
17054
|
), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
|
|
17058
17055
|
Ue(
|
|
17059
17056
|
() => {
|
|
@@ -17322,7 +17319,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17322
17319
|
onEnd: I[9] || (I[9] = (ce) => d.value = !1),
|
|
17323
17320
|
"item-key": "id"
|
|
17324
17321
|
}), {
|
|
17325
|
-
item: $(({ element: ce, index:
|
|
17322
|
+
item: $(({ element: ce, index: ye }) => [
|
|
17326
17323
|
o("div", ED, [
|
|
17327
17324
|
o("div", {
|
|
17328
17325
|
class: "drag_top_box",
|
|
@@ -17359,7 +17356,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17359
17356
|
f(be(n), {
|
|
17360
17357
|
modelValue: ce.desc,
|
|
17361
17358
|
"onUpdate:modelValue": (Le) => ce.desc = Le,
|
|
17362
|
-
name: `MapStatic_editor_${se}_${
|
|
17359
|
+
name: `MapStatic_editor_${se}_${ye}`
|
|
17363
17360
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"]),
|
|
17364
17361
|
I[18] || (I[18] = o("p", {
|
|
17365
17362
|
class: "item-title",
|
|
@@ -17380,7 +17377,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17380
17377
|
f(mt, {
|
|
17381
17378
|
modelValue: ce.image,
|
|
17382
17379
|
"onUpdate:modelValue": (Le) => ce.image = Le,
|
|
17383
|
-
name: `MapStatic_${se}_${
|
|
17380
|
+
name: `MapStatic_${se}_${ye}`,
|
|
17384
17381
|
"button-class": "fit-content"
|
|
17385
17382
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"])
|
|
17386
17383
|
]),
|
|
@@ -17784,7 +17781,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17784
17781
|
var ke;
|
|
17785
17782
|
return ((ke = n.modelValue) == null ? void 0 : ke.zoom_mobile) ?? h.value.zoom_mobile;
|
|
17786
17783
|
}
|
|
17787
|
-
), ce = q(() => (typeof window < "u" ? window.innerWidth : 1024) > 768 ? z.value : se.value),
|
|
17784
|
+
), ce = q(() => (typeof window < "u" ? window.innerWidth : 1024) > 768 ? z.value : se.value), ye = q(
|
|
17788
17785
|
() => typeof window < "u" ? window.innerWidth < 1024 : !1
|
|
17789
17786
|
), Le = (ke, Ve) => ({
|
|
17790
17787
|
left: `${ke}%`,
|
|
@@ -17816,9 +17813,9 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17816
17813
|
const Ve = ke;
|
|
17817
17814
|
C.value = Ve.clientX - (k.value || 0), w.value = Ve.clientY - (y.value || 0);
|
|
17818
17815
|
}
|
|
17819
|
-
|
|
17816
|
+
_e(C.value, w.value);
|
|
17820
17817
|
}
|
|
17821
|
-
},
|
|
17818
|
+
}, _e = (ke, Ve) => {
|
|
17822
17819
|
let Me = ke, He = Ve;
|
|
17823
17820
|
const xt = Y.value, rn = H.value;
|
|
17824
17821
|
if (!xt || !rn) return;
|
|
@@ -17833,21 +17830,21 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17833
17830
|
if (Math.abs(ke.deltaX) > Math.abs(ke.deltaY)) {
|
|
17834
17831
|
ke.preventDefault();
|
|
17835
17832
|
const Ve = x.value - ke.deltaX;
|
|
17836
|
-
|
|
17833
|
+
_e(Ve, T.value);
|
|
17837
17834
|
}
|
|
17838
|
-
},
|
|
17835
|
+
}, xe = () => {
|
|
17839
17836
|
const ke = Y.value, Ve = H.value;
|
|
17840
17837
|
if (ke && Ve && ke.clientWidth) {
|
|
17841
17838
|
const Me = Ve.clientWidth, He = Ve.clientHeight, xt = ke.clientWidth, rn = ke.clientHeight;
|
|
17842
17839
|
x.value = -(xt * Q.value / 100 - Me / 2), T.value = -(rn * X.value / 100 - He / 2);
|
|
17843
17840
|
}
|
|
17844
|
-
|
|
17841
|
+
_e(x.value, T.value);
|
|
17845
17842
|
}, Pe = (ke) => {
|
|
17846
17843
|
m.value = ke;
|
|
17847
17844
|
}, Ge = (ke) => {
|
|
17848
17845
|
ke === m.value && (m.value = NaN);
|
|
17849
17846
|
}, Ze = () => {
|
|
17850
|
-
|
|
17847
|
+
xe(), Re(() => {
|
|
17851
17848
|
typeof window < "u" && window.innerWidth <= 768 && setTimeout(() => E.value = !0, 1300);
|
|
17852
17849
|
});
|
|
17853
17850
|
}, fe = (ke) => {
|
|
@@ -17868,7 +17865,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17868
17865
|
}), Ue(
|
|
17869
17866
|
() => typeof window < "u" ? window.innerWidth : 1024,
|
|
17870
17867
|
() => {
|
|
17871
|
-
|
|
17868
|
+
xe();
|
|
17872
17869
|
}
|
|
17873
17870
|
), Ue(p, () => {
|
|
17874
17871
|
E.value = !0;
|
|
@@ -17900,7 +17897,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17900
17897
|
// 如果需要立即执行一次
|
|
17901
17898
|
}
|
|
17902
17899
|
), rt(() => {
|
|
17903
|
-
|
|
17900
|
+
xe();
|
|
17904
17901
|
}), (ke, Ve) => {
|
|
17905
17902
|
var Me;
|
|
17906
17903
|
return _(), S(ue, null, [
|
|
@@ -17987,7 +17984,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17987
17984
|
f(Ot, { name: "fade" }, {
|
|
17988
17985
|
default: $(() => [
|
|
17989
17986
|
E.value ? j("", !0) : (_(), S("div", lL, [
|
|
17990
|
-
|
|
17987
|
+
ye.value ? (_(), S("div", oL, [...Ve[10] || (Ve[10] = [
|
|
17991
17988
|
o("div", { class: "map-hint-fullscreen__hint" }, "拖动以查看更多学校", -1)
|
|
17992
17989
|
])])) : (_(), S("div", {
|
|
17993
17990
|
key: 0,
|
|
@@ -18460,7 +18457,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18460
18457
|
key: `logo-${X}`
|
|
18461
18458
|
}, [
|
|
18462
18459
|
(_(!0), S(ue, null, we(Q, (z, se) => {
|
|
18463
|
-
var ce,
|
|
18460
|
+
var ce, ye, Le, tt;
|
|
18464
18461
|
return _(), S("div", {
|
|
18465
18462
|
class: "logo-card col flex-center flex-column",
|
|
18466
18463
|
key: `logo-${se}`
|
|
@@ -18475,7 +18472,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18475
18472
|
src: z.imgSrc,
|
|
18476
18473
|
alt: z.alt || z.name
|
|
18477
18474
|
}, null, 8, kL)
|
|
18478
|
-
], 10, TL)) : (
|
|
18475
|
+
], 10, TL)) : (ye = t.modelValue) != null && ye.isPureLogo ? (_(), S("div", {
|
|
18479
18476
|
key: 1,
|
|
18480
18477
|
class: re(["logo-card__img logo-card__img--is-pure-logo", { "logo-card__img--no-clip": (Le = t.modelValue) == null ? void 0 : Le.isNoClip }])
|
|
18481
18478
|
}, [
|
|
@@ -20662,7 +20659,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20662
20659
|
},
|
|
20663
20660
|
emits: ["update:show"],
|
|
20664
20661
|
setup(t, { emit: e }) {
|
|
20665
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20662
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
20666
20663
|
animation: 200,
|
|
20667
20664
|
group: "data",
|
|
20668
20665
|
// 专用分组
|
|
@@ -20951,7 +20948,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20951
20948
|
},
|
|
20952
20949
|
emits: ["update:show"],
|
|
20953
20950
|
setup(t, { emit: e }) {
|
|
20954
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20951
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
20955
20952
|
animation: 200,
|
|
20956
20953
|
group: "data",
|
|
20957
20954
|
// 专用分组
|
|
@@ -22674,7 +22671,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22674
22671
|
});
|
|
22675
22672
|
};
|
|
22676
22673
|
return (te, G) => {
|
|
22677
|
-
var Q, X, z, se, ce,
|
|
22674
|
+
var Q, X, z, se, ce, ye, Le, tt;
|
|
22678
22675
|
return _(), S(ue, null, [
|
|
22679
22676
|
a.value ? (_(), S("div", {
|
|
22680
22677
|
key: 0,
|
|
@@ -22794,7 +22791,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22794
22791
|
innerHTML: (se = (z = t.modelValue) == null ? void 0 : z.data) == null ? void 0 : se.checkText
|
|
22795
22792
|
}, null, 8, tB)
|
|
22796
22793
|
]),
|
|
22797
|
-
$e(o("div", { class: "register-form-notice mt-3" }, Z((
|
|
22794
|
+
$e(o("div", { class: "register-form-notice mt-3" }, Z((ye = (ce = t.modelValue) == null ? void 0 : ce.data) == null ? void 0 : ye.notice), 513), [
|
|
22798
22795
|
[Oe, (tt = (Le = t.modelValue) == null ? void 0 : Le.data) == null ? void 0 : tt.notice]
|
|
22799
22796
|
])
|
|
22800
22797
|
])) : j("", !0)
|
|
@@ -23424,14 +23421,14 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23424
23421
|
}, u = (z) => {
|
|
23425
23422
|
s("handlePaste", z);
|
|
23426
23423
|
}, c = () => {
|
|
23427
|
-
var se, ce,
|
|
23424
|
+
var se, ce, ye, Le;
|
|
23428
23425
|
const z = {
|
|
23429
23426
|
id: ((se = n.modelValue) == null ? void 0 : se.id) || K(),
|
|
23430
23427
|
type: "CardCarouselArticles",
|
|
23431
23428
|
// 修正组件类型type == 'article'
|
|
23432
23429
|
onlyShowPc: !1,
|
|
23433
23430
|
bgColor: ((ce = n.modelValue) == null ? void 0 : ce.bgColor) || "#f8f9fa",
|
|
23434
|
-
width: ((
|
|
23431
|
+
width: ((ye = n.modelValue) == null ? void 0 : ye.width) || "container-content-952",
|
|
23435
23432
|
// 使用CSS类名而不是数字
|
|
23436
23433
|
isLoop: ((Le = n.modelValue) == null ? void 0 : Le.isLoop) ?? !0,
|
|
23437
23434
|
getDataType: !1,
|
|
@@ -23632,7 +23629,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23632
23629
|
var z;
|
|
23633
23630
|
(z = n.modelValue) != null && z.autoFetch && await H();
|
|
23634
23631
|
}), c(), (z, se) => {
|
|
23635
|
-
var ce,
|
|
23632
|
+
var ce, ye;
|
|
23636
23633
|
return _(), S(ue, null, [
|
|
23637
23634
|
v.value ? (_(), S("div", {
|
|
23638
23635
|
key: 0,
|
|
@@ -23642,7 +23639,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23642
23639
|
onMouseleave: se[3] || (se[3] = (Le) => i.value = !1)
|
|
23643
23640
|
}, [
|
|
23644
23641
|
o("div", {
|
|
23645
|
-
class: re(["card-carousel__wrapper", [((
|
|
23642
|
+
class: re(["card-carousel__wrapper", [((ye = t.modelValue) == null ? void 0 : ye.width) || "container-content-952"]])
|
|
23646
23643
|
}, [
|
|
23647
23644
|
M.value && C.value ? (_(), S("div", UB, [
|
|
23648
23645
|
f(be(Us), {
|
|
@@ -24211,8 +24208,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24211
24208
|
}), ie = () => {
|
|
24212
24209
|
const ve = M.value, Ae = [];
|
|
24213
24210
|
ve.forEach((it, Ie) => {
|
|
24214
|
-
const
|
|
24215
|
-
Ae[
|
|
24211
|
+
const _e = Math.floor(Ie / O.value);
|
|
24212
|
+
Ae[_e] || (Ae[_e] = []), Ae[_e].push(it);
|
|
24216
24213
|
}), w.value = Ae;
|
|
24217
24214
|
}, te = (ve) => {
|
|
24218
24215
|
var Ae;
|
|
@@ -24251,20 +24248,20 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24251
24248
|
left: 0,
|
|
24252
24249
|
behavior: "smooth"
|
|
24253
24250
|
});
|
|
24254
|
-
},
|
|
24255
|
-
const Ae = ve.currentTarget, it = Ae == null ? void 0 : Ae.dataset.slug, Ie = Ae == null ? void 0 : Ae.dataset.type,
|
|
24256
|
-
|
|
24251
|
+
}, ye = (ve) => {
|
|
24252
|
+
const Ae = ve.currentTarget, it = Ae == null ? void 0 : Ae.dataset.slug, Ie = Ae == null ? void 0 : Ae.dataset.type, _e = M.value.find((Ee) => Ee.key == it || Ee.slug == it);
|
|
24253
|
+
_e && (Ie === "photo" ? se(_e) : z(_e));
|
|
24257
24254
|
}, Le = () => {
|
|
24258
24255
|
h.value && (Array.from(document.getElementsByClassName("card-asset")).forEach((ve) => {
|
|
24259
|
-
ve.addEventListener("click",
|
|
24256
|
+
ve.addEventListener("click", ye);
|
|
24260
24257
|
}), Array.from(document.getElementsByClassName("card-video")).forEach((ve) => {
|
|
24261
|
-
ve.addEventListener("click",
|
|
24258
|
+
ve.addEventListener("click", ye);
|
|
24262
24259
|
}));
|
|
24263
24260
|
}, tt = () => {
|
|
24264
24261
|
h.value && (Array.from(document.getElementsByClassName("card-asset")).forEach((ve) => {
|
|
24265
|
-
ve.removeEventListener("click",
|
|
24262
|
+
ve.removeEventListener("click", ye);
|
|
24266
24263
|
}), Array.from(document.getElementsByClassName("card-video")).forEach((ve) => {
|
|
24267
|
-
ve.removeEventListener("click",
|
|
24264
|
+
ve.removeEventListener("click", ye);
|
|
24268
24265
|
}));
|
|
24269
24266
|
};
|
|
24270
24267
|
return rt(() => {
|
|
@@ -24282,8 +24279,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24282
24279
|
ref_key: "parent",
|
|
24283
24280
|
ref: d,
|
|
24284
24281
|
style: je({ backgroundColor: ((Ie = t.modelValue) == null ? void 0 : Ie.bgColor) || "transparent" }),
|
|
24285
|
-
onMouseenter: Ae[2] || (Ae[2] = (
|
|
24286
|
-
onMouseleave: Ae[3] || (Ae[3] = (
|
|
24282
|
+
onMouseenter: Ae[2] || (Ae[2] = (_e) => a.value = !0),
|
|
24283
|
+
onMouseleave: Ae[3] || (Ae[3] = (_e) => a.value = !1)
|
|
24287
24284
|
}, [
|
|
24288
24285
|
o("div", {
|
|
24289
24286
|
style: {
|
|
@@ -24311,17 +24308,17 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24311
24308
|
onSlideChange: te
|
|
24312
24309
|
}, {
|
|
24313
24310
|
default: $(() => [
|
|
24314
|
-
(_(!0), S(ue, null, we(w.value, (
|
|
24311
|
+
(_(!0), S(ue, null, we(w.value, (_e, Ee) => (_(), ne(be(Bs), {
|
|
24315
24312
|
class: "swiper-slide",
|
|
24316
24313
|
key: Ee
|
|
24317
24314
|
}, {
|
|
24318
24315
|
default: $(() => [
|
|
24319
|
-
(_(!0), S(ue, null, we(I(
|
|
24320
|
-
key:
|
|
24316
|
+
(_(!0), S(ue, null, we(I(_e), (xe) => (_(), S("div", {
|
|
24317
|
+
key: xe,
|
|
24321
24318
|
class: re(["row", [`row-cols-${D.value}`]]),
|
|
24322
24319
|
style: je({ "--cc-cols": D.value })
|
|
24323
24320
|
}, [
|
|
24324
|
-
(_(!0), S(ue, null, we(R(
|
|
24321
|
+
(_(!0), S(ue, null, we(R(_e, xe), (Pe) => (_(), S("div", {
|
|
24325
24322
|
class: "slide-content col",
|
|
24326
24323
|
key: Pe.key || Pe.slug
|
|
24327
24324
|
}, [
|
|
@@ -24354,8 +24351,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24354
24351
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
24355
24352
|
key: 0,
|
|
24356
24353
|
show: a.value,
|
|
24357
|
-
"onUpdate:show": Ae[0] || (Ae[0] = (
|
|
24358
|
-
onHandleEdit: Ae[1] || (Ae[1] = (
|
|
24354
|
+
"onUpdate:show": Ae[0] || (Ae[0] = (_e) => a.value = _e),
|
|
24355
|
+
onHandleEdit: Ae[1] || (Ae[1] = (_e) => l.value = !0),
|
|
24359
24356
|
onHandleDelete: r,
|
|
24360
24357
|
onHandleCopy: u,
|
|
24361
24358
|
onHandlePaste: c
|
|
@@ -24364,7 +24361,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24364
24361
|
t.isPreview ? j("", !0) : (_(), ne(JB, {
|
|
24365
24362
|
key: 0,
|
|
24366
24363
|
show: l.value,
|
|
24367
|
-
"onUpdate:show": Ae[4] || (Ae[4] = (
|
|
24364
|
+
"onUpdate:show": Ae[4] || (Ae[4] = (_e) => l.value = _e),
|
|
24368
24365
|
data: t.modelValue
|
|
24369
24366
|
}, null, 8, ["show", "data"]))
|
|
24370
24367
|
], 64);
|
|
@@ -24386,7 +24383,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24386
24383
|
emits: ["update:show"],
|
|
24387
24384
|
setup(t, { emit: e }) {
|
|
24388
24385
|
const n = qe(
|
|
24389
|
-
() => import("./index-
|
|
24386
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24390
24387
|
), s = e, i = () => {
|
|
24391
24388
|
s("update:show", !1);
|
|
24392
24389
|
};
|
|
@@ -24602,7 +24599,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24602
24599
|
emits: ["update:show"],
|
|
24603
24600
|
setup(t, { emit: e }) {
|
|
24604
24601
|
const n = qe(
|
|
24605
|
-
() => import("./index-
|
|
24602
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24606
24603
|
), s = e, i = () => {
|
|
24607
24604
|
s("update:show", !1);
|
|
24608
24605
|
};
|
|
@@ -24818,7 +24815,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24818
24815
|
emits: ["update:show"],
|
|
24819
24816
|
setup(t, { emit: e }) {
|
|
24820
24817
|
qe(
|
|
24821
|
-
() => import("./index-
|
|
24818
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24822
24819
|
);
|
|
24823
24820
|
const n = e, s = () => {
|
|
24824
24821
|
n("update:show", !1);
|
|
@@ -27885,15 +27882,15 @@ const IH = { key: 0 }, OH = {
|
|
|
27885
27882
|
host: n.host,
|
|
27886
27883
|
langCode: n.locale
|
|
27887
27884
|
}
|
|
27888
|
-
}, { data:
|
|
27889
|
-
k.value =
|
|
27885
|
+
}, { data: ye } = await Cn.get(se, ce);
|
|
27886
|
+
k.value = ye.data;
|
|
27890
27887
|
}
|
|
27891
27888
|
O();
|
|
27892
27889
|
}, O = () => {
|
|
27893
27890
|
const X = k.value.reduce(
|
|
27894
27891
|
(z, se, ce) => {
|
|
27895
|
-
const
|
|
27896
|
-
return z[
|
|
27892
|
+
const ye = Math.floor(ce / x.value);
|
|
27893
|
+
return z[ye] || (z[ye] = []), z[ye].push(se), z;
|
|
27897
27894
|
},
|
|
27898
27895
|
[]
|
|
27899
27896
|
);
|
|
@@ -27932,8 +27929,8 @@ const IH = { key: 0 }, OH = {
|
|
|
27932
27929
|
const z = y.value >= 1024 ? 170 : 150, se = oe(X).y - z;
|
|
27933
27930
|
window.scroll({ top: se, left: 0, behavior: "smooth" });
|
|
27934
27931
|
}, te = (X) => {
|
|
27935
|
-
const z = X.currentTarget, se = z.dataset.slug, ce = z.dataset.type,
|
|
27936
|
-
|
|
27932
|
+
const z = X.currentTarget, se = z.dataset.slug, ce = z.dataset.type, ye = k.value.find((Le) => Le.key == se || Le.slug == se);
|
|
27933
|
+
ye && (ce === "photo" ? Y(ye) : H(ye));
|
|
27937
27934
|
}, G = () => {
|
|
27938
27935
|
typeof document > "u" || (Object.values(document.getElementsByClassName("card-asset")).forEach(
|
|
27939
27936
|
(X) => {
|
|
@@ -27965,8 +27962,8 @@ const IH = { key: 0 }, OH = {
|
|
|
27965
27962
|
a.value ? (_(), S("div", {
|
|
27966
27963
|
key: 0,
|
|
27967
27964
|
class: "card-carousel-multi-row",
|
|
27968
|
-
onMouseenter: z[2] || (z[2] = (
|
|
27969
|
-
onMouseleave: z[3] || (z[3] = (
|
|
27965
|
+
onMouseenter: z[2] || (z[2] = (ye) => l.value = !0),
|
|
27966
|
+
onMouseleave: z[3] || (z[3] = (ye) => l.value = !1),
|
|
27970
27967
|
ref_key: "parent",
|
|
27971
27968
|
ref: g
|
|
27972
27969
|
}, [
|
|
@@ -27993,7 +27990,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27993
27990
|
onSwiper: I
|
|
27994
27991
|
}, {
|
|
27995
27992
|
default: $(() => [
|
|
27996
|
-
(_(!0), S(ue, null, we(w.value, (
|
|
27993
|
+
(_(!0), S(ue, null, we(w.value, (ye, Le) => (_(), ne(be(Bs), {
|
|
27997
27994
|
class: "swiper-slide",
|
|
27998
27995
|
key: Le
|
|
27999
27996
|
}, {
|
|
@@ -28001,7 +27998,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28001
27998
|
o("div", {
|
|
28002
27999
|
class: re(["row", [`row-cols-${T.value}`]])
|
|
28003
28000
|
}, [
|
|
28004
|
-
(_(!0), S(ue, null, we(
|
|
28001
|
+
(_(!0), S(ue, null, we(ye, (tt) => (_(), S("div", {
|
|
28005
28002
|
class: "slide-content col",
|
|
28006
28003
|
key: tt.key || tt.slug
|
|
28007
28004
|
}, [
|
|
@@ -28032,8 +28029,8 @@ const IH = { key: 0 }, OH = {
|
|
|
28032
28029
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
28033
28030
|
key: 2,
|
|
28034
28031
|
show: l.value,
|
|
28035
|
-
"onUpdate:show": z[0] || (z[0] = (
|
|
28036
|
-
onHandleEdit: z[1] || (z[1] = (
|
|
28032
|
+
"onUpdate:show": z[0] || (z[0] = (ye) => l.value = ye),
|
|
28033
|
+
onHandleEdit: z[1] || (z[1] = (ye) => r.value = !0),
|
|
28037
28034
|
onHandleDelete: u,
|
|
28038
28035
|
onHandleCopy: c,
|
|
28039
28036
|
onHandlePaste: v
|
|
@@ -28042,7 +28039,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28042
28039
|
t.isPreview ? j("", !0) : (_(), ne(zH, {
|
|
28043
28040
|
key: 1,
|
|
28044
28041
|
show: r.value,
|
|
28045
|
-
"onUpdate:show": z[4] || (z[4] = (
|
|
28042
|
+
"onUpdate:show": z[4] || (z[4] = (ye) => r.value = ye),
|
|
28046
28043
|
data: t.modelValue
|
|
28047
28044
|
}, null, 8, ["show", "data"]))
|
|
28048
28045
|
], 64);
|
|
@@ -28414,7 +28411,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28414
28411
|
},
|
|
28415
28412
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
28416
28413
|
setup(t, { emit: e }) {
|
|
28417
|
-
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => uie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => sN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => bk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => YR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Rte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => n8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => OE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => p8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => sk), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => KO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => zN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => oF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => A8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => _T), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => FT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => nR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Nq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => fz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Wz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => eV), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => UL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => bne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => w$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => KV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => yV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => PV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => vC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => cR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => tW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => OO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => N6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => XF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => TB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => V3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => t3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => b5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => wx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => i4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Hse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => e6), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => _ee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => m6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => dL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => TR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => MR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => WM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => ree), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => w9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => uC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => _D), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
28414
|
+
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => uie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => sN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => bk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => YR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Rte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => n8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => OE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => p8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => sk), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => KO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => zN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => oF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => A8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => _T), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => FT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => nR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Nq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => fz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Wz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => eV), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => UL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => bne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => w$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => KV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => yV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => PV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => vC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => cR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => tW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => OO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => N6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => XF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => TB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => V3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => t3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => b5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => wx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => i4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Hse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => e6), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => _ee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => m6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => dL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => TR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => MR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => WM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => ree), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => w9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => uC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => _D), "/src/components/QuoteText/index.vue": () => import("./index-BtAEY96c.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => sB), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => NI), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => iO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => Dk), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => BH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => $P), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => Mj), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => wte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => Qee), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => fq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => SM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => _E), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => w7), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => wS), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Cse) }), s = {};
|
|
28418
28415
|
for (const v in n)
|
|
28419
28416
|
try {
|
|
28420
28417
|
const h = v.split("/"), d = h[h.length - 2];
|
|
@@ -30115,7 +30112,7 @@ const IH = { key: 0 }, OH = {
|
|
|
30115
30112
|
},
|
|
30116
30113
|
emits: ["update:show"],
|
|
30117
30114
|
setup(t, { emit: e }) {
|
|
30118
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
30115
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
30119
30116
|
animation: 200,
|
|
30120
30117
|
group: "programmes",
|
|
30121
30118
|
// 链接专用分组
|
|
@@ -31135,7 +31132,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31135
31132
|
emits: ["update:show"],
|
|
31136
31133
|
setup(t, { emit: e }) {
|
|
31137
31134
|
qe(
|
|
31138
|
-
() => import("./index-
|
|
31135
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
31139
31136
|
);
|
|
31140
31137
|
const n = e, s = () => {
|
|
31141
31138
|
n("update:show", !1);
|
|
@@ -31345,7 +31342,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31345
31342
|
emits: ["update:show"],
|
|
31346
31343
|
setup(t, { emit: e }) {
|
|
31347
31344
|
qe(
|
|
31348
|
-
() => import("./index-
|
|
31345
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
31349
31346
|
);
|
|
31350
31347
|
const n = e, s = () => {
|
|
31351
31348
|
n("update:show", !1);
|
|
@@ -55989,7 +55986,7 @@ browserWorkerPolyFill(self);
|
|
|
55989
55986
|
}, a = {
|
|
55990
55987
|
getUint64: i,
|
|
55991
55988
|
MAX_UINT32: s
|
|
55992
|
-
}, l = a.MAX_UINT32, r, u, c, v, h, d, m, g, p, C, w, k, y, x, T, E, V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce,
|
|
55989
|
+
}, l = a.MAX_UINT32, r, u, c, v, h, d, m, g, p, C, w, k, y, x, T, E, V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce, ye, Le, tt;
|
|
55993
55990
|
(function() {
|
|
55994
55991
|
var b;
|
|
55995
55992
|
if (H = {
|
|
@@ -56182,7 +56179,7 @@ browserWorkerPolyFill(self);
|
|
|
56182
56179
|
0,
|
|
56183
56180
|
0
|
|
56184
56181
|
// entry_count
|
|
56185
|
-
]),
|
|
56182
|
+
]), ye = ce, Le = new Uint8Array([
|
|
56186
56183
|
0,
|
|
56187
56184
|
// version
|
|
56188
56185
|
0,
|
|
@@ -56478,7 +56475,7 @@ browserWorkerPolyFill(self);
|
|
|
56478
56475
|
L = P[B].flags, A[B + 4] = L.dependsOn << 4 | L.isDependedOn << 2 | L.hasRedundancy;
|
|
56479
56476
|
return r(H.sdtp, A);
|
|
56480
56477
|
}, D = function(b) {
|
|
56481
|
-
return r(H.stbl, O(b), r(H.stts, tt), r(H.stsc,
|
|
56478
|
+
return r(H.stbl, O(b), r(H.stts, tt), r(H.stsc, ye), r(H.stsz, Le), r(H.stco, ce));
|
|
56482
56479
|
}, function() {
|
|
56483
56480
|
var b, P;
|
|
56484
56481
|
O = function(A) {
|
|
@@ -56927,7 +56924,7 @@ browserWorkerPolyFill(self);
|
|
|
56927
56924
|
}, Ie = function(b) {
|
|
56928
56925
|
var P;
|
|
56929
56926
|
return !b[0][0].keyFrame && b.length > 1 && (P = b.shift(), b.byteLength -= P.byteLength, b.nalCount -= P.nalCount, b[0][0].dts = P.dts, b[0][0].pts = P.pts, b[0][0].duration += P.duration), b;
|
|
56930
|
-
},
|
|
56927
|
+
}, _e = function() {
|
|
56931
56928
|
return {
|
|
56932
56929
|
size: 0,
|
|
56933
56930
|
flags: {
|
|
@@ -56940,21 +56937,21 @@ browserWorkerPolyFill(self);
|
|
|
56940
56937
|
}
|
|
56941
56938
|
};
|
|
56942
56939
|
}, Ee = function(b, P) {
|
|
56943
|
-
var A =
|
|
56940
|
+
var A = _e();
|
|
56944
56941
|
return A.dataOffset = P, A.compositionTimeOffset = b.pts - b.dts, A.duration = b.duration, A.size = 4 * b.length, A.size += b.byteLength, b.keyFrame && (A.flags.dependsOn = 2, A.flags.isNonSyncSample = 0), A;
|
|
56945
|
-
},
|
|
56942
|
+
}, xe = function(b, P) {
|
|
56946
56943
|
var A, L, B, F, J, ee = P || 0, ae = [];
|
|
56947
56944
|
for (A = 0; A < b.length; A++)
|
|
56948
56945
|
for (F = b[A], L = 0; L < F.length; L++)
|
|
56949
56946
|
J = F[L], B = Ee(J, ee), ee += B.size, ae.push(B);
|
|
56950
56947
|
return ae;
|
|
56951
56948
|
}, Pe = function(b) {
|
|
56952
|
-
var P, A, L, B, F, J, ee = 0, ae = b.byteLength, de = b.nalCount, me = ae + 4 * de,
|
|
56949
|
+
var P, A, L, B, F, J, ee = 0, ae = b.byteLength, de = b.nalCount, me = ae + 4 * de, Ce = new Uint8Array(me), Be = new DataView(Ce.buffer);
|
|
56953
56950
|
for (P = 0; P < b.length; P++)
|
|
56954
56951
|
for (B = b[P], A = 0; A < B.length; A++)
|
|
56955
56952
|
for (F = B[A], L = 0; L < F.length; L++)
|
|
56956
|
-
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4,
|
|
56957
|
-
return
|
|
56953
|
+
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4, Ce.set(J.data, ee), ee += J.data.byteLength;
|
|
56954
|
+
return Ce;
|
|
56958
56955
|
}, Ge = function(b, P) {
|
|
56959
56956
|
var A, L = P || 0, B = [];
|
|
56960
56957
|
return A = Ee(b, L), B.push(A), B;
|
|
@@ -56967,7 +56964,7 @@ browserWorkerPolyFill(self);
|
|
|
56967
56964
|
groupNalsIntoFrames: Ae,
|
|
56968
56965
|
groupFramesIntoGops: it,
|
|
56969
56966
|
extendFirstKeyFrame: Ie,
|
|
56970
|
-
generateSampleTable:
|
|
56967
|
+
generateSampleTable: xe,
|
|
56971
56968
|
concatenateNalData: Pe,
|
|
56972
56969
|
generateSampleTableForFrame: Ge,
|
|
56973
56970
|
concatenateNalDataForFrame: Ze
|
|
@@ -57030,13 +57027,13 @@ browserWorkerPolyFill(self);
|
|
|
57030
57027
|
A = b[P], L += A.data.byteLength;
|
|
57031
57028
|
return L;
|
|
57032
57029
|
}, Li = function(b, P, A, L) {
|
|
57033
|
-
var B, F = 0, J = 0, ee = 0, ae = 0, de, me,
|
|
57030
|
+
var B, F = 0, J = 0, ee = 0, ae = 0, de, me, Ce;
|
|
57034
57031
|
if (P.length && (B = Hn.audioTsToVideoTs(b.baseMediaDecodeTime, b.samplerate), F = Math.ceil(Hn.ONE_SECOND_IN_TS / (b.samplerate / 1024)), A && L && (J = B - Math.max(A, L), ee = Math.floor(J / F), ae = ee * F), !(ee < 1 || ae > Hn.ONE_SECOND_IN_TS / 2))) {
|
|
57035
57032
|
for (de = Oa()[b.samplerate], de || (de = P[0].data), me = 0; me < ee; me++)
|
|
57036
|
-
|
|
57033
|
+
Ce = P[0], P.splice(0, 0, {
|
|
57037
57034
|
data: de,
|
|
57038
|
-
dts:
|
|
57039
|
-
pts:
|
|
57035
|
+
dts: Ce.dts - F,
|
|
57036
|
+
pts: Ce.pts - F
|
|
57040
57037
|
});
|
|
57041
57038
|
return b.baseMediaDecodeTime -= Math.floor(Hn.videoTsToAudioTs(ae, b.samplerate)), ae;
|
|
57042
57039
|
}
|
|
@@ -57333,14 +57330,14 @@ browserWorkerPolyFill(self);
|
|
|
57333
57330
|
A.flushDisplayed(F, A.services[b]);
|
|
57334
57331
|
}), this.services[b];
|
|
57335
57332
|
}, Qe.prototype.handleText = function(b, P, A) {
|
|
57336
|
-
var L = A && A.isExtended, B = A && A.isMultiByte, F = this.current708Packet.data, J = L ? 4096 : 0, ee = F[b], ae = F[b + 1], de = P.currentWindow, me,
|
|
57333
|
+
var L = A && A.isExtended, B = A && A.isMultiByte, F = this.current708Packet.data, J = L ? 4096 : 0, ee = F[b], ae = F[b + 1], de = P.currentWindow, me, Ce;
|
|
57337
57334
|
function Be(Se) {
|
|
57338
57335
|
return Se.map((Je) => ("0" + (Je & 255).toString(16)).slice(-2)).join("");
|
|
57339
57336
|
}
|
|
57340
|
-
if (B ? (
|
|
57341
|
-
me = P.textDecoder_.decode(new Uint8Array(
|
|
57337
|
+
if (B ? (Ce = [ee, ae], b++) : Ce = [ee], P.textDecoder_ && !L)
|
|
57338
|
+
me = P.textDecoder_.decode(new Uint8Array(Ce));
|
|
57342
57339
|
else if (B) {
|
|
57343
|
-
const Se = Be(
|
|
57340
|
+
const Se = Be(Ce);
|
|
57344
57341
|
me = String.fromCharCode(parseInt(Se, 16));
|
|
57345
57342
|
} else
|
|
57346
57343
|
me = qt(J | ee);
|
|
@@ -57878,7 +57875,7 @@ browserWorkerPolyFill(self);
|
|
|
57878
57875
|
for (F = 0; F < P.descriptor.length; F++)
|
|
57879
57876
|
this.dispatchType += ("00" + P.descriptor[F].toString(16)).slice(-2);
|
|
57880
57877
|
this.push = function(J) {
|
|
57881
|
-
var ee, ae, de, me,
|
|
57878
|
+
var ee, ae, de, me, Ce, Be;
|
|
57882
57879
|
if (J.type === "timed-metadata") {
|
|
57883
57880
|
if (J.dataAlignmentIndicator && (B = 0, L.length = 0), L.length === 0 && (J.data.length < 10 || J.data[0] !== 73 || J.data[1] !== 68 || J.data[2] !== 51)) {
|
|
57884
57881
|
this.trigger("log", {
|
|
@@ -57893,8 +57890,8 @@ browserWorkerPolyFill(self);
|
|
|
57893
57890
|
frames: [],
|
|
57894
57891
|
pts: L[0].pts,
|
|
57895
57892
|
dts: L[0].dts
|
|
57896
|
-
},
|
|
57897
|
-
ee.data.set(L[0].data.subarray(0, A -
|
|
57893
|
+
}, Ce = 0; Ce < A; )
|
|
57894
|
+
ee.data.set(L[0].data.subarray(0, A - Ce), Ce), Ce += L[0].data.byteLength, B -= L[0].data.byteLength, L.shift();
|
|
57898
57895
|
ae = 10, ee.data[5] & 64 && (ae += 4, ae += Oi.parseSyncSafeInteger(ee.data.subarray(10, 14)), A -= Oi.parseSyncSafeInteger(ee.data.subarray(16, 20)));
|
|
57899
57896
|
do {
|
|
57900
57897
|
if (de = Oi.parseSyncSafeInteger(ee.data.subarray(ae + 4, ae + 8)), de < 1) {
|
|
@@ -57953,8 +57950,8 @@ browserWorkerPolyFill(self);
|
|
|
57953
57950
|
audio: null,
|
|
57954
57951
|
"timed-metadata": {}
|
|
57955
57952
|
}, J = (B[1] & 15) << 8 | B[2], ee = 3 + J - 4, ae = (B[10] & 15) << 8 | B[11], de = 12 + ae; de < ee; ) {
|
|
57956
|
-
var me = B[de],
|
|
57957
|
-
me === Ls.H264_STREAM_TYPE && L.programMapTable.video === null ? L.programMapTable.video =
|
|
57953
|
+
var me = B[de], Ce = (B[de + 1] & 31) << 8 | B[de + 2];
|
|
57954
|
+
me === Ls.H264_STREAM_TYPE && L.programMapTable.video === null ? L.programMapTable.video = Ce : me === Ls.ADTS_STREAM_TYPE && L.programMapTable.audio === null ? L.programMapTable.audio = Ce : me === Ls.METADATA_STREAM_TYPE && (L.programMapTable["timed-metadata"][Ce] = me), de += ((B[de + 3] & 15) << 8 | B[de + 4]) + 5;
|
|
57958
57955
|
}
|
|
57959
57956
|
F.programMapTable = L.programMapTable;
|
|
57960
57957
|
}
|
|
@@ -57984,16 +57981,16 @@ browserWorkerPolyFill(self);
|
|
|
57984
57981
|
size: 0
|
|
57985
57982
|
}, F, J = function(ae, de) {
|
|
57986
57983
|
var me;
|
|
57987
|
-
const
|
|
57988
|
-
de.data = new Uint8Array(),
|
|
57984
|
+
const Ce = ae[0] << 16 | ae[1] << 8 | ae[2];
|
|
57985
|
+
de.data = new Uint8Array(), Ce === 1 && (de.packetLength = 6 + (ae[4] << 8 | ae[5]), de.dataAlignmentIndicator = (ae[6] & 4) !== 0, me = ae[7], me & 192 && (de.pts = (ae[9] & 14) << 27 | (ae[10] & 255) << 20 | (ae[11] & 254) << 12 | (ae[12] & 255) << 5 | (ae[13] & 254) >>> 3, de.pts *= 4, de.pts += (ae[13] & 6) >>> 1, de.dts = de.pts, me & 64 && (de.dts = (ae[14] & 14) << 27 | (ae[15] & 255) << 20 | (ae[16] & 254) << 12 | (ae[17] & 255) << 5 | (ae[18] & 254) >>> 3, de.dts *= 4, de.dts += (ae[18] & 6) >>> 1)), de.data = ae.subarray(9 + ae[8]));
|
|
57989
57986
|
}, ee = function(ae, de, me) {
|
|
57990
|
-
var
|
|
57987
|
+
var Ce = new Uint8Array(ae.size), Be = {
|
|
57991
57988
|
type: de
|
|
57992
57989
|
}, Se = 0, Je = 0, ht = !1, cn;
|
|
57993
57990
|
if (!(!ae.data.length || ae.size < 9)) {
|
|
57994
57991
|
for (Be.trackId = ae.data[0].pid, Se = 0; Se < ae.data.length; Se++)
|
|
57995
|
-
cn = ae.data[Se],
|
|
57996
|
-
J(
|
|
57992
|
+
cn = ae.data[Se], Ce.set(cn.data, Je), Je += cn.data.byteLength;
|
|
57993
|
+
J(Ce, Be), ht = de === "video" || Be.packetLength <= ae.size, (me || ht) && (ae.size = 0, ae.data.length = 0), ht && b.trigger("data", Be);
|
|
57997
57994
|
}
|
|
57998
57995
|
};
|
|
57999
57996
|
mr.prototype.init.call(this), this.push = function(ae) {
|
|
@@ -58273,21 +58270,21 @@ browserWorkerPolyFill(self);
|
|
|
58273
58270
|
}, this.endTimeline = function() {
|
|
58274
58271
|
b.endTimeline();
|
|
58275
58272
|
}, ee = function(ae, de) {
|
|
58276
|
-
var me = 8,
|
|
58273
|
+
var me = 8, Ce = 8, Be, Se;
|
|
58277
58274
|
for (Be = 0; Be < ae; Be++)
|
|
58278
|
-
|
|
58275
|
+
Ce !== 0 && (Se = de.readExpGolomb(), Ce = (me + Se + 256) % 256), me = Ce === 0 ? me : Ce;
|
|
58279
58276
|
}, F = function(ae) {
|
|
58280
|
-
for (var de = ae.byteLength, me = [],
|
|
58281
|
-
ae[
|
|
58277
|
+
for (var de = ae.byteLength, me = [], Ce = 1, Be, Se; Ce < de - 2; )
|
|
58278
|
+
ae[Ce] === 0 && ae[Ce + 1] === 0 && ae[Ce + 2] === 3 ? (me.push(Ce + 2), Ce += 2) : Ce++;
|
|
58282
58279
|
if (me.length === 0)
|
|
58283
58280
|
return ae;
|
|
58284
58281
|
Be = de - me.length, Se = new Uint8Array(Be);
|
|
58285
58282
|
var Je = 0;
|
|
58286
|
-
for (
|
|
58287
|
-
Je === me[0] && (Je++, me.shift()), Se[
|
|
58283
|
+
for (Ce = 0; Ce < Be; Je++, Ce++)
|
|
58284
|
+
Je === me[0] && (Je++, me.shift()), Se[Ce] = ae[Je];
|
|
58288
58285
|
return Se;
|
|
58289
58286
|
}, J = function(ae) {
|
|
58290
|
-
var de = 0, me = 0,
|
|
58287
|
+
var de = 0, me = 0, Ce = 0, Be = 0, Se, Je, ht, cn, os, Ui, to, no, so, io, Er, Rt = [1, 1], ao, Is;
|
|
58291
58288
|
if (Se = new Oy(ae), Je = Se.readUnsignedByte(), cn = Se.readUnsignedByte(), ht = Se.readUnsignedByte(), Se.skipUnsignedExpGolomb(), Sp[Je] && (os = Se.readUnsignedExpGolomb(), os === 3 && Se.skipBits(1), Se.skipUnsignedExpGolomb(), Se.skipUnsignedExpGolomb(), Se.skipBits(1), Se.readBoolean()))
|
|
58292
58289
|
for (Er = os !== 3 ? 8 : 12, Is = 0; Is < Er; Is++)
|
|
58293
58290
|
Se.readBoolean() && (Is < 6 ? ee(16, Se) : ee(64, Se));
|
|
@@ -58296,7 +58293,7 @@ browserWorkerPolyFill(self);
|
|
|
58296
58293
|
else if (Ui === 1)
|
|
58297
58294
|
for (Se.skipBits(1), Se.skipExpGolomb(), Se.skipExpGolomb(), to = Se.readUnsignedExpGolomb(), Is = 0; Is < to; Is++)
|
|
58298
58295
|
Se.skipExpGolomb();
|
|
58299
|
-
if (Se.skipUnsignedExpGolomb(), Se.skipBits(1), no = Se.readUnsignedExpGolomb(), so = Se.readUnsignedExpGolomb(), io = Se.readBits(1), io === 0 && Se.skipBits(1), Se.skipBits(1), Se.readBoolean() && (de = Se.readUnsignedExpGolomb(), me = Se.readUnsignedExpGolomb(),
|
|
58296
|
+
if (Se.skipUnsignedExpGolomb(), Se.skipBits(1), no = Se.readUnsignedExpGolomb(), so = Se.readUnsignedExpGolomb(), io = Se.readBits(1), io === 0 && Se.skipBits(1), Se.skipBits(1), Se.readBoolean() && (de = Se.readUnsignedExpGolomb(), me = Se.readUnsignedExpGolomb(), Ce = Se.readUnsignedExpGolomb(), Be = Se.readUnsignedExpGolomb()), Se.readBoolean() && Se.readBoolean()) {
|
|
58300
58297
|
switch (ao = Se.readUnsignedByte(), ao) {
|
|
58301
58298
|
case 1:
|
|
58302
58299
|
Rt = [1, 1];
|
|
@@ -58358,7 +58355,7 @@ browserWorkerPolyFill(self);
|
|
|
58358
58355
|
levelIdc: ht,
|
|
58359
58356
|
profileCompatibility: cn,
|
|
58360
58357
|
width: (no + 1) * 16 - de * 2 - me * 2,
|
|
58361
|
-
height: (2 - io) * (so + 1) * 16 -
|
|
58358
|
+
height: (2 - io) * (so + 1) * 16 - Ce * 2 - Be * 2,
|
|
58362
58359
|
// sar is sample aspect ratio
|
|
58363
58360
|
sarRatio: Rt
|
|
58364
58361
|
};
|
|
@@ -58506,12 +58503,12 @@ browserWorkerPolyFill(self);
|
|
|
58506
58503
|
}, this.setAudioAppendStart = function(ee) {
|
|
58507
58504
|
F = ee;
|
|
58508
58505
|
}, this.flush = function() {
|
|
58509
|
-
var ee, ae, de, me,
|
|
58506
|
+
var ee, ae, de, me, Ce, Be, Se;
|
|
58510
58507
|
if (A.length === 0) {
|
|
58511
58508
|
this.trigger("done", "AudioSegmentStream");
|
|
58512
58509
|
return;
|
|
58513
58510
|
}
|
|
58514
|
-
ee = _r.trimAdtsFramesByEarliestDts(A, b, B), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), Se = _r.prefixWithSilence(b, ee, F, J), b.samples = _r.generateSampleTable(ee), de = Yl.mdat(_r.concatenateFrameData(ee)), A = [], ae = Yl.moof(L, [b]), me = new Uint8Array(ae.byteLength + de.byteLength), L++, me.set(ae), me.set(de, ae.byteLength), As.clearDtsInfo(b),
|
|
58511
|
+
ee = _r.trimAdtsFramesByEarliestDts(A, b, B), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), Se = _r.prefixWithSilence(b, ee, F, J), b.samples = _r.generateSampleTable(ee), de = Yl.mdat(_r.concatenateFrameData(ee)), A = [], ae = Yl.moof(L, [b]), me = new Uint8Array(ae.byteLength + de.byteLength), L++, me.set(ae), me.set(de, ae.byteLength), As.clearDtsInfo(b), Ce = Math.ceil(e_ * 1024 / b.samplerate), ee.length && (Be = ee.length * Ce, this.trigger("segmentTimingInfo", Mp(
|
|
58515
58512
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
58516
58513
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
58517
58514
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -58539,7 +58536,7 @@ browserWorkerPolyFill(self);
|
|
|
58539
58536
|
b[ae] = F[ae];
|
|
58540
58537
|
}, this)), ee.nalUnitType === "pic_parameter_set_rbsp" && !J && (J = ee.data, b.pps = [ee.data]), L.push(ee);
|
|
58541
58538
|
}, this.flush = function() {
|
|
58542
|
-
for (var ee, ae, de, me,
|
|
58539
|
+
for (var ee, ae, de, me, Ce, Be, Se = 0, Je, ht; L.length && L[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
58543
58540
|
L.shift();
|
|
58544
58541
|
if (L.length === 0) {
|
|
58545
58542
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58557,7 +58554,7 @@ browserWorkerPolyFill(self);
|
|
|
58557
58554
|
}
|
|
58558
58555
|
As.clearDtsInfo(b), de = cn;
|
|
58559
58556
|
}
|
|
58560
|
-
As.collectDtsInfo(b, de), b.samples = Kl.generateSampleTable(de),
|
|
58557
|
+
As.collectDtsInfo(b, de), b.samples = Kl.generateSampleTable(de), Ce = Yl.mdat(Kl.concatenateNalData(de)), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), this.trigger("processedGopsInfo", de.map(function(os) {
|
|
58561
58558
|
return {
|
|
58562
58559
|
pts: os.pts,
|
|
58563
58560
|
dts: os.dts,
|
|
@@ -58570,7 +58567,7 @@ browserWorkerPolyFill(self);
|
|
|
58570
58567
|
gop: de.pop(),
|
|
58571
58568
|
pps: b.pps,
|
|
58572
58569
|
sps: b.sps
|
|
58573
|
-
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), L = [], this.trigger("baseMediaDecodeTime", b.baseMediaDecodeTime), this.trigger("timelineStartInfo", b.timelineStartInfo), me = Yl.moof(A, [b]), Be = new Uint8Array(me.byteLength +
|
|
58570
|
+
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), L = [], this.trigger("baseMediaDecodeTime", b.baseMediaDecodeTime), this.trigger("timelineStartInfo", b.timelineStartInfo), me = Yl.moof(A, [b]), Be = new Uint8Array(me.byteLength + Ce.byteLength), A++, Be.set(me), Be.set(Ce, me.byteLength), this.trigger("data", {
|
|
58574
58571
|
track: b,
|
|
58575
58572
|
boxes: Be
|
|
58576
58573
|
}), this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58579,28 +58576,28 @@ browserWorkerPolyFill(self);
|
|
|
58579
58576
|
}, this.resetStream_ = function() {
|
|
58580
58577
|
As.clearDtsInfo(b), F = void 0, J = void 0;
|
|
58581
58578
|
}, this.getGopForFusion_ = function(ee) {
|
|
58582
|
-
var ae = 45e3, de = 1 / 0, me,
|
|
58579
|
+
var ae = 45e3, de = 1 / 0, me, Ce, Be, Se, Je;
|
|
58583
58580
|
for (Je = 0; Je < this.gopCache_.length; Je++)
|
|
58584
|
-
Se = this.gopCache_[Je], Be = Se.gop, !(!(b.pps && Op(b.pps[0], Se.pps[0])) || !(b.sps && Op(b.sps[0], Se.sps[0]))) && (Be.dts < b.timelineStartInfo.dts || (me = ee.dts - Be.dts - Be.duration, me >= -1e4 && me <= ae && (!
|
|
58585
|
-
return
|
|
58581
|
+
Se = this.gopCache_[Je], Be = Se.gop, !(!(b.pps && Op(b.pps[0], Se.pps[0])) || !(b.sps && Op(b.sps[0], Se.sps[0]))) && (Be.dts < b.timelineStartInfo.dts || (me = ee.dts - Be.dts - Be.duration, me >= -1e4 && me <= ae && (!Ce || de > me) && (Ce = Se, de = me)));
|
|
58582
|
+
return Ce ? Ce.gop : null;
|
|
58586
58583
|
}, this.alignGopsAtStart_ = function(ee) {
|
|
58587
|
-
var ae, de, me,
|
|
58588
|
-
for (Be = ee.byteLength, Se = ee.nalCount, Je = ee.duration, ae = de = 0; ae < B.length && de < ee.length && (me = B[ae],
|
|
58589
|
-
if (
|
|
58584
|
+
var ae, de, me, Ce, Be, Se, Je, ht;
|
|
58585
|
+
for (Be = ee.byteLength, Se = ee.nalCount, Je = ee.duration, ae = de = 0; ae < B.length && de < ee.length && (me = B[ae], Ce = ee[de], me.pts !== Ce.pts); ) {
|
|
58586
|
+
if (Ce.pts > me.pts) {
|
|
58590
58587
|
ae++;
|
|
58591
58588
|
continue;
|
|
58592
58589
|
}
|
|
58593
|
-
de++, Be -=
|
|
58590
|
+
de++, Be -= Ce.byteLength, Se -= Ce.nalCount, Je -= Ce.duration;
|
|
58594
58591
|
}
|
|
58595
58592
|
return de === 0 ? ee : de === ee.length ? null : (ht = ee.slice(de), ht.byteLength = Be, ht.duration = Je, ht.nalCount = Se, ht.pts = ht[0].pts, ht.dts = ht[0].dts, ht);
|
|
58596
58593
|
}, this.alignGopsAtEnd_ = function(ee) {
|
|
58597
|
-
var ae, de, me,
|
|
58594
|
+
var ae, de, me, Ce, Be, Se;
|
|
58598
58595
|
for (ae = B.length - 1, de = ee.length - 1, Be = null, Se = !1; ae >= 0 && de >= 0; ) {
|
|
58599
|
-
if (me = B[ae],
|
|
58596
|
+
if (me = B[ae], Ce = ee[de], me.pts === Ce.pts) {
|
|
58600
58597
|
Se = !0;
|
|
58601
58598
|
break;
|
|
58602
58599
|
}
|
|
58603
|
-
if (me.pts >
|
|
58600
|
+
if (me.pts > Ce.pts) {
|
|
58604
58601
|
ae--;
|
|
58605
58602
|
continue;
|
|
58606
58603
|
}
|
|
@@ -58781,11 +58778,11 @@ browserWorkerPolyFill(self);
|
|
|
58781
58778
|
version: b[0],
|
|
58782
58779
|
flags: new Uint8Array(b.subarray(1, 4)),
|
|
58783
58780
|
samples: []
|
|
58784
|
-
}, A = new DataView(b.buffer, b.byteOffset, b.byteLength), L = P.flags[2] & 1, B = P.flags[2] & 4, F = P.flags[1] & 1, J = P.flags[1] & 2, ee = P.flags[1] & 4, ae = P.flags[1] & 8, de = A.getUint32(4), me = 8,
|
|
58785
|
-
for (L && (P.dataOffset = A.getInt32(me), me += 4), B && de && (
|
|
58781
|
+
}, A = new DataView(b.buffer, b.byteOffset, b.byteLength), L = P.flags[2] & 1, B = P.flags[2] & 4, F = P.flags[1] & 1, J = P.flags[1] & 2, ee = P.flags[1] & 4, ae = P.flags[1] & 8, de = A.getUint32(4), me = 8, Ce;
|
|
58782
|
+
for (L && (P.dataOffset = A.getInt32(me), me += 4), B && de && (Ce = {
|
|
58786
58783
|
flags: Np(b.subarray(me, me + 4))
|
|
58787
|
-
}, me += 4, F && (
|
|
58788
|
-
|
|
58784
|
+
}, me += 4, F && (Ce.duration = A.getUint32(me), me += 4), J && (Ce.size = A.getUint32(me), me += 4), ae && (P.version === 1 ? Ce.compositionTimeOffset = A.getInt32(me) : Ce.compositionTimeOffset = A.getUint32(me), me += 4), P.samples.push(Ce), de--); de--; )
|
|
58785
|
+
Ce = {}, F && (Ce.duration = A.getUint32(me), me += 4), J && (Ce.size = A.getUint32(me), me += 4), ee && (Ce.flags = Np(b.subarray(me, me + 4)), me += 4), ae && (P.version === 1 ? Ce.compositionTimeOffset = A.getInt32(me) : Ce.compositionTimeOffset = A.getUint32(me), me += 4), P.samples.push(Ce);
|
|
58789
58786
|
return P;
|
|
58790
58787
|
}, Fp = p_, Hp = {
|
|
58791
58788
|
tfdt: wu,
|
|
@@ -58803,11 +58800,11 @@ browserWorkerPolyFill(self);
|
|
|
58803
58800
|
var P = 4, A = b[0], L, B, F, J, ee, ae, de, me;
|
|
58804
58801
|
if (A === 0) {
|
|
58805
58802
|
L = Tr(b.subarray(P)), P += L.length, B = Tr(b.subarray(P)), P += B.length;
|
|
58806
|
-
var
|
|
58807
|
-
F =
|
|
58803
|
+
var Ce = new DataView(b.buffer);
|
|
58804
|
+
F = Ce.getUint32(P), P += 4, ee = Ce.getUint32(P), P += 4, ae = Ce.getUint32(P), P += 4, de = Ce.getUint32(P), P += 4;
|
|
58808
58805
|
} else if (A === 1) {
|
|
58809
|
-
var
|
|
58810
|
-
F =
|
|
58806
|
+
var Ce = new DataView(b.buffer);
|
|
58807
|
+
F = Ce.getUint32(P), P += 4, J = v_(b.subarray(P)), P += 8, ae = Ce.getUint32(P), P += 4, de = Ce.getUint32(P), P += 4, L = Tr(b.subarray(P)), P += L.length, B = Tr(b.subarray(P)), P += B.length;
|
|
58811
58808
|
}
|
|
58812
58809
|
me = new Uint8Array(b.subarray(P, b.byteLength));
|
|
58813
58810
|
var Be = {
|
|
@@ -58845,10 +58842,10 @@ browserWorkerPolyFill(self);
|
|
|
58845
58842
|
var A;
|
|
58846
58843
|
A = Qt(P, ["moof", "traf"]);
|
|
58847
58844
|
var L = A.reduce(function(B, F) {
|
|
58848
|
-
var J = Qt(F, ["tfhd"])[0], ee = kr(J[4] << 24 | J[5] << 16 | J[6] << 8 | J[7]), ae = b[ee] || 9e4, de = Qt(F, ["tfdt"])[0], me = new DataView(de.buffer, de.byteOffset, de.byteLength),
|
|
58849
|
-
de[0] === 1 ?
|
|
58845
|
+
var J = Qt(F, ["tfhd"])[0], ee = kr(J[4] << 24 | J[5] << 16 | J[6] << 8 | J[7]), ae = b[ee] || 9e4, de = Qt(F, ["tfdt"])[0], me = new DataView(de.buffer, de.byteOffset, de.byteLength), Ce;
|
|
58846
|
+
de[0] === 1 ? Ce = k_(de.subarray(4, 12)) : Ce = me.getUint32(4);
|
|
58850
58847
|
let Be;
|
|
58851
|
-
return typeof
|
|
58848
|
+
return typeof Ce == "bigint" ? Be = Ce / Tu.BigInt(ae) : typeof Ce == "number" && !isNaN(Ce) && (Be = Ce / ae), Be < Number.MAX_SAFE_INTEGER && (Be = Number(Be)), Be < B && (B = Be), B;
|
|
58852
58849
|
}, 1 / 0);
|
|
58853
58850
|
return typeof L == "bigint" || isFinite(L) ? L : 0;
|
|
58854
58851
|
}, Xp = function(b, P) {
|
|
@@ -58864,8 +58861,8 @@ browserWorkerPolyFill(self);
|
|
|
58864
58861
|
L = me.baseMediaDecodeTime;
|
|
58865
58862
|
}
|
|
58866
58863
|
if (ee) {
|
|
58867
|
-
var
|
|
58868
|
-
|
|
58864
|
+
var Ce = C_(ee);
|
|
58865
|
+
Ce.samples && Ce.samples.length && (B = Ce.samples[0].compositionTimeOffset || 0);
|
|
58869
58866
|
}
|
|
58870
58867
|
}
|
|
58871
58868
|
var Be = b[F] || 9e4;
|
|
@@ -58877,8 +58874,8 @@ browserWorkerPolyFill(self);
|
|
|
58877
58874
|
return P.forEach(function(L) {
|
|
58878
58875
|
var B = Qt(L, ["mdia", "hdlr"]), F = Qt(L, ["tkhd"]);
|
|
58879
58876
|
B.forEach(function(J, ee) {
|
|
58880
|
-
var ae = Ra(J.subarray(8, 12)), de = F[ee], me,
|
|
58881
|
-
ae === "vide" && (me = new DataView(de.buffer, de.byteOffset, de.byteLength),
|
|
58877
|
+
var ae = Ra(J.subarray(8, 12)), de = F[ee], me, Ce, Be;
|
|
58878
|
+
ae === "vide" && (me = new DataView(de.buffer, de.byteOffset, de.byteLength), Ce = me.getUint8(0), Be = Ce === 0 ? me.getUint32(12) : me.getUint32(20), A.push(Be));
|
|
58882
58879
|
});
|
|
58883
58880
|
}), A;
|
|
58884
58881
|
}, Cu = function(b) {
|
|
@@ -58896,9 +58893,9 @@ browserWorkerPolyFill(self);
|
|
|
58896
58893
|
}
|
|
58897
58894
|
var me = Qt(L, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
58898
58895
|
if (me) {
|
|
58899
|
-
var
|
|
58900
|
-
B.codec = Ra(
|
|
58901
|
-
var Be = Qt(
|
|
58896
|
+
var Ce = me.subarray(8);
|
|
58897
|
+
B.codec = Ra(Ce.subarray(4, 8));
|
|
58898
|
+
var Be = Qt(Ce, [B.codec])[0], Se, Je;
|
|
58902
58899
|
Be && (/^[asm]vc[1-9]$/i.test(B.codec) ? (Se = Be.subarray(78), Je = Ra(Se.subarray(4, 8)), Je === "avcC" && Se.length > 11 ? (B.codec += ".", B.codec += Jl(Se[9]), B.codec += Jl(Se[10]), B.codec += Jl(Se[11])) : B.codec = "avc1.4d400d") : /^mp4[a,v]$/i.test(B.codec) ? (Se = Be.subarray(28), Je = Ra(Se.subarray(4, 8)), Je === "esds" && Se.length > 20 && Se[19] !== 0 ? (B.codec += "." + Jl(Se[19]), B.codec += "." + Jl(Se[20] >>> 2 & 63).replace(/^0/, "")) : B.codec = "mp4a.40.2") : B.codec = B.codec.toLowerCase());
|
|
58903
58900
|
}
|
|
58904
58901
|
var ht = Qt(L, ["mdia", "mdhd"])[0];
|
|
@@ -58945,8 +58942,8 @@ browserWorkerPolyFill(self);
|
|
|
58945
58942
|
var L = P, B = A.defaultSampleDuration || 0, F = A.defaultSampleSize || 0, J = A.trackId, ee = [];
|
|
58946
58943
|
return b.forEach(function(ae) {
|
|
58947
58944
|
var de = V_(ae), me = de.samples;
|
|
58948
|
-
me.forEach(function(
|
|
58949
|
-
|
|
58945
|
+
me.forEach(function(Ce) {
|
|
58946
|
+
Ce.duration === void 0 && (Ce.duration = B), Ce.size === void 0 && (Ce.size = F), Ce.trackId = J, Ce.dts = L, Ce.compositionTimeOffset === void 0 && (Ce.compositionTimeOffset = 0), typeof L == "bigint" ? (Ce.pts = L + Jp.BigInt(Ce.compositionTimeOffset), L += Jp.BigInt(Ce.duration)) : (Ce.pts = L + Ce.compositionTimeOffset, L += Ce.duration);
|
|
58950
58947
|
}), ee = ee.concat(me);
|
|
58951
58948
|
}), ee;
|
|
58952
58949
|
}, ef = {
|
|
@@ -58997,8 +58994,8 @@ browserWorkerPolyFill(self);
|
|
|
58997
58994
|
}, B_ = function(b, P) {
|
|
58998
58995
|
var A = {}, L = I_(b);
|
|
58999
58996
|
return L.forEach(function(B) {
|
|
59000
|
-
var F = B.mdat, J = B.traf, ee = ku(J, ["tfhd"]), ae = A_(ee[0]), de = ae.trackId, me = ku(J, ["tfdt"]),
|
|
59001
|
-
P === de && Be.length > 0 && (Se = O_(Be,
|
|
58997
|
+
var F = B.mdat, J = B.traf, ee = ku(J, ["tfhd"]), ae = A_(ee[0]), de = ae.trackId, me = ku(J, ["tfdt"]), Ce = me.length > 0 ? L_(me[0]).baseMediaDecodeTime : 0, Be = ku(J, ["trun"]), Se, Je;
|
|
58998
|
+
P === de && Be.length > 0 && (Se = O_(Be, Ce, ae), Je = U_(F, Se, de), A[de] || (A[de] = {
|
|
59002
58999
|
seiNals: [],
|
|
59003
59000
|
logs: []
|
|
59004
59001
|
}), A[de].seiNals = A[de].seiNals.concat(Je.seiNals), A[de].logs = A[de].logs.concat(Je.logs));
|
|
@@ -59037,8 +59034,8 @@ browserWorkerPolyFill(self);
|
|
|
59037
59034
|
return A.push(ee), null;
|
|
59038
59035
|
} else return null;
|
|
59039
59036
|
for (; A.length > 0; ) {
|
|
59040
|
-
var
|
|
59041
|
-
this.parse(
|
|
59037
|
+
var Ce = A.shift();
|
|
59038
|
+
this.parse(Ce, ae, de);
|
|
59042
59039
|
}
|
|
59043
59040
|
return me = R_(ee, L, B), me && me.logs && (F.logs = F.logs.concat(me.logs)), me === null || !me.seiNals ? F.logs.length ? {
|
|
59044
59041
|
logs: F.logs,
|
|
@@ -59091,9 +59088,9 @@ browserWorkerPolyFill(self);
|
|
|
59091
59088
|
return L.forEach(function(F) {
|
|
59092
59089
|
const J = F.mdat, ee = F.traf, ae = Mi(ee, ["tfdt"])[0], de = Mi(ee, ["tfhd"])[0], me = Mi(ee, ["trun"]);
|
|
59093
59090
|
if (ae && (B = H_(ae).baseMediaDecodeTime), me.length && de) {
|
|
59094
|
-
const
|
|
59091
|
+
const Ce = q_(me, B, de);
|
|
59095
59092
|
let Be = 0;
|
|
59096
|
-
|
|
59093
|
+
Ce.forEach(function(Se) {
|
|
59097
59094
|
const Je = "utf-8", ht = new TextDecoder(Je), cn = J.slice(Be, Be + Se.size);
|
|
59098
59095
|
if (Mi(cn, ["vtte"])[0]) {
|
|
59099
59096
|
Be += Se.size;
|
|
@@ -59279,7 +59276,7 @@ browserWorkerPolyFill(self);
|
|
|
59279
59276
|
L--, B--;
|
|
59280
59277
|
}
|
|
59281
59278
|
}, eb = function(b, P, A) {
|
|
59282
|
-
for (var L = 0, B = $n, F, J, ee, ae, de, me,
|
|
59279
|
+
for (var L = 0, B = $n, F, J, ee, ae, de, me, Ce, Be, Se = !1, Je = {
|
|
59283
59280
|
data: [],
|
|
59284
59281
|
size: 0
|
|
59285
59282
|
}; B < b.byteLength; ) {
|
|
@@ -59288,8 +59285,8 @@ browserWorkerPolyFill(self);
|
|
|
59288
59285
|
case "pes":
|
|
59289
59286
|
if (ee = Dt.ts.parsePesType(F, P.table), ae = Dt.ts.parsePayloadUnitStartIndicator(F), ee === "video" && (ae && !Se && (de = Dt.ts.parsePesTime(F), de && (de.type = "video", A.video.push(de), Se = !0)), !A.firstKeyFrame)) {
|
|
59290
59287
|
if (ae && Je.size !== 0) {
|
|
59291
|
-
for (me = new Uint8Array(Je.size),
|
|
59292
|
-
Be = Je.data.shift(), me.set(Be,
|
|
59288
|
+
for (me = new Uint8Array(Je.size), Ce = 0; Je.data.length; )
|
|
59289
|
+
Be = Je.data.shift(), me.set(Be, Ce), Ce += Be.byteLength;
|
|
59293
59290
|
if (Dt.ts.videoPacketContainsKeyFrame(me)) {
|
|
59294
59291
|
var ht = Dt.ts.parsePesTime(me);
|
|
59295
59292
|
ht ? (A.firstKeyFrame = ht, A.firstKeyFrame.type = "video") : console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.");
|
|
@@ -67409,7 +67406,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67409
67406
|
emits: ["update:show"],
|
|
67410
67407
|
setup(t, { emit: e }) {
|
|
67411
67408
|
qe(
|
|
67412
|
-
() => import("./index-
|
|
67409
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
67413
67410
|
);
|
|
67414
67411
|
const n = e, s = () => {
|
|
67415
67412
|
n("update:show", !1);
|
|
@@ -67651,12 +67648,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67651
67648
|
X(), z();
|
|
67652
67649
|
}), Ue(
|
|
67653
67650
|
() => r.currentIdx,
|
|
67654
|
-
(Ie,
|
|
67655
|
-
p.value = Ie >
|
|
67651
|
+
(Ie, _e) => {
|
|
67652
|
+
p.value = Ie > _e, Re(te), Re(ye);
|
|
67656
67653
|
}
|
|
67657
67654
|
), Ue(
|
|
67658
67655
|
() => r.tabList,
|
|
67659
|
-
(Ie,
|
|
67656
|
+
(Ie, _e) => {
|
|
67660
67657
|
z(), Re(() => {
|
|
67661
67658
|
te(0);
|
|
67662
67659
|
});
|
|
@@ -67669,53 +67666,53 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67669
67666
|
}
|
|
67670
67667
|
);
|
|
67671
67668
|
const te = (Ie) => {
|
|
67672
|
-
const
|
|
67673
|
-
p.value ? (G(), O.value = setTimeout(Q,
|
|
67669
|
+
const _e = Ie ?? 250;
|
|
67670
|
+
p.value ? (G(), O.value = setTimeout(Q, _e)) : (Q(), O.value = setTimeout(G, _e)), I.value = setTimeout(() => {
|
|
67674
67671
|
C.value = !0;
|
|
67675
|
-
},
|
|
67672
|
+
}, _e);
|
|
67676
67673
|
}, G = () => {
|
|
67677
67674
|
const Ie = h.value;
|
|
67678
|
-
let
|
|
67679
|
-
Ie && Ie[r.currentIdx] && (
|
|
67675
|
+
let _e = null;
|
|
67676
|
+
Ie && Ie[r.currentIdx] && (_e = Ie[r.currentIdx]), _e && _e.getBoundingClientRect && (d.value = _e.getBoundingClientRect().right);
|
|
67680
67677
|
}, Q = () => {
|
|
67681
67678
|
const Ie = h.value;
|
|
67682
|
-
let
|
|
67683
|
-
Ie && Ie[r.currentIdx] && (
|
|
67679
|
+
let _e = null;
|
|
67680
|
+
Ie && Ie[r.currentIdx] && (_e = Ie[r.currentIdx]), _e && _e.getBoundingClientRect && (m.value = _e.getBoundingClientRect().left);
|
|
67684
67681
|
}, X = () => {
|
|
67685
67682
|
C.value = !1, Re(() => te(0)), Re(se);
|
|
67686
67683
|
}, z = () => {
|
|
67687
67684
|
const Ie = c.value;
|
|
67688
67685
|
if (Ie) {
|
|
67689
|
-
let
|
|
67690
|
-
g.value = (Ie.offsetWidth - Ie.getBoundingClientRect().width) / 2 +
|
|
67686
|
+
let _e = Ie.getBoundingClientRect().left;
|
|
67687
|
+
g.value = (Ie.offsetWidth - Ie.getBoundingClientRect().width) / 2 + _e;
|
|
67691
67688
|
}
|
|
67692
67689
|
}, se = () => {
|
|
67693
67690
|
if (r.tabList.length <= 0) return;
|
|
67694
67691
|
const Ie = v.value;
|
|
67695
67692
|
Ie && (y.value = Ie.scrollLeft, x.value = Ie.scrollWidth);
|
|
67696
|
-
const
|
|
67697
|
-
|
|
67693
|
+
const _e = c.value;
|
|
67694
|
+
_e && (T.value = _e.getBoundingClientRect().width);
|
|
67698
67695
|
}, ce = (Ie) => {
|
|
67699
67696
|
v.value && (Ie == "next" ? v.value.scrollLeft += 9999 : v.value.scrollLeft -= 9999);
|
|
67700
|
-
},
|
|
67697
|
+
}, ye = () => {
|
|
67701
67698
|
const Ie = h.value[r.currentIdx];
|
|
67702
67699
|
if (!Ie) return;
|
|
67703
|
-
const
|
|
67704
|
-
w.value = Ie.getBoundingClientRect().right -
|
|
67705
|
-
}, Le = (Ie,
|
|
67706
|
-
Ie || u("updateCurrentIdx",
|
|
67700
|
+
const _e = Ie.clientWidth / 2, Ee = s.value / 2;
|
|
67701
|
+
w.value = Ie.getBoundingClientRect().right - _e, v.value && (v.value.scrollLeft -= Ee - w.value);
|
|
67702
|
+
}, Le = (Ie, _e) => {
|
|
67703
|
+
Ie || u("updateCurrentIdx", _e);
|
|
67707
67704
|
}, tt = (Ie) => Ie ? Ie.includes("http") ? "a" : "RouterLink" : "button", ve = (Ie) => Ie && !Ie.includes("http") ? Ie : null, Ae = (Ie) => Ie && Ie.includes("http") ? Ie : null, it = (Ie) => Ie && Ie.includes("http") ? "_blank" : null;
|
|
67708
67705
|
return rt(() => {
|
|
67709
67706
|
k.value = !0, Re(() => {
|
|
67710
67707
|
te(0), E.value = setTimeout(X, 300), z(), Re(() => {
|
|
67711
|
-
V.value = setTimeout(
|
|
67708
|
+
V.value = setTimeout(ye, 300);
|
|
67712
67709
|
});
|
|
67713
67710
|
});
|
|
67714
67711
|
}), Qn(() => {
|
|
67715
67712
|
clearTimeout(E.value), clearTimeout(V.value), clearTimeout(D.value), clearTimeout(O.value), clearTimeout(I.value), window.removeEventListener("resize", () => {
|
|
67716
67713
|
s.value = window.innerWidth;
|
|
67717
67714
|
});
|
|
67718
|
-
}), (Ie,
|
|
67715
|
+
}), (Ie, _e) => (_(), S("div", {
|
|
67719
67716
|
class: re(["tab-primary", [{ "is-fixed": t.isFixed }, { "is-campus": !ie.value }, { "is-full-width": t.fullWidth }]]),
|
|
67720
67717
|
ref_key: "wrapper",
|
|
67721
67718
|
ref: c
|
|
@@ -67728,12 +67725,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67728
67725
|
}, [
|
|
67729
67726
|
$e(o("div", {
|
|
67730
67727
|
class: "tab-primary__nav__prev",
|
|
67731
|
-
onClick:
|
|
67728
|
+
onClick: _e[0] || (_e[0] = (Ee) => ce("prev"))
|
|
67732
67729
|
}, null, 512), [
|
|
67733
67730
|
[Oe, H.value]
|
|
67734
67731
|
]),
|
|
67735
|
-
(_(!0), S(ue, null, we(t.tabList, (Ee,
|
|
67736
|
-
key:
|
|
67732
|
+
(_(!0), S(ue, null, we(t.tabList, (Ee, xe) => (_(), S("li", {
|
|
67733
|
+
key: xe,
|
|
67737
67734
|
class: re(["tab-primary__item", [{ "is-img": !!Ee.img }]])
|
|
67738
67735
|
}, [
|
|
67739
67736
|
o("div", {
|
|
@@ -67749,10 +67746,10 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67749
67746
|
target: it(Ee.link),
|
|
67750
67747
|
class: re(["tab-primary__btn", [
|
|
67751
67748
|
{
|
|
67752
|
-
"is-active": t.currentIdx ==
|
|
67749
|
+
"is-active": t.currentIdx == xe
|
|
67753
67750
|
}
|
|
67754
67751
|
]]),
|
|
67755
|
-
onClick: (Pe) => Le(Ee.link,
|
|
67752
|
+
onClick: (Pe) => Le(Ee.link, xe)
|
|
67756
67753
|
}, {
|
|
67757
67754
|
default: $(() => [
|
|
67758
67755
|
Ee.img ? (_(), S("div", bee, [
|
|
@@ -67768,7 +67765,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67768
67765
|
], 2))), 128)),
|
|
67769
67766
|
$e(o("div", {
|
|
67770
67767
|
class: "tab-primary__nav__next",
|
|
67771
|
-
onClick:
|
|
67768
|
+
onClick: _e[1] || (_e[1] = (Ee) => ce("next"))
|
|
67772
67769
|
}, null, 512), [
|
|
67773
67770
|
[Oe, Y.value]
|
|
67774
67771
|
])
|
|
@@ -68285,12 +68282,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68285
68282
|
};
|
|
68286
68283
|
n("update:modelValue", Q), c.value = 0;
|
|
68287
68284
|
}, H = () => {
|
|
68288
|
-
var
|
|
68285
|
+
var ye, Le;
|
|
68289
68286
|
const Q = m.value;
|
|
68290
68287
|
if (!Q) return;
|
|
68291
68288
|
const X = Q.getBoundingClientRect().top, z = d.value;
|
|
68292
68289
|
if (!z) return;
|
|
68293
|
-
const se = z.getBoundingClientRect().top, ce = +((Le = (
|
|
68290
|
+
const se = z.getBoundingClientRect().top, ce = +((Le = (ye = window.getComputedStyle(document.body)) == null ? void 0 : ye.getPropertyValue("--header-height-calc")) == null ? void 0 : Le.split("px")[0]) || 0;
|
|
68294
68291
|
if (se > ce) {
|
|
68295
68292
|
v.value = !1;
|
|
68296
68293
|
return;
|
|
@@ -68345,9 +68342,9 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68345
68342
|
key: se.id,
|
|
68346
68343
|
type: se.type,
|
|
68347
68344
|
"props-data": { modelValue: se, isPreview: t.isPreview },
|
|
68348
|
-
onHandleDelete: X[0] || (X[0] = (
|
|
68349
|
-
onHandleCopy: X[1] || (X[1] = (
|
|
68350
|
-
onHandlePaste: (
|
|
68345
|
+
onHandleDelete: X[0] || (X[0] = (ye) => ie(ye, R.value)),
|
|
68346
|
+
onHandleCopy: X[1] || (X[1] = (ye) => te(ye)),
|
|
68347
|
+
onHandlePaste: (ye) => G(ye, R.value, ce)
|
|
68351
68348
|
}, null, 8, ["type", "props-data", "onHandlePaste"]))), 128))
|
|
68352
68349
|
])) : j("", !0)
|
|
68353
68350
|
], 64))), 256))
|
|
@@ -68388,9 +68385,9 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68388
68385
|
key: se.id,
|
|
68389
68386
|
type: se.type,
|
|
68390
68387
|
"props-data": { modelValue: se, isPreview: t.isPreview },
|
|
68391
|
-
onHandleDelete: X[3] || (X[3] = (
|
|
68392
|
-
onHandleCopy: X[4] || (X[4] = (
|
|
68393
|
-
onHandlePaste: (
|
|
68388
|
+
onHandleDelete: X[3] || (X[3] = (ye) => ie(ye, R.value)),
|
|
68389
|
+
onHandleCopy: X[4] || (X[4] = (ye) => te(ye)),
|
|
68390
|
+
onHandlePaste: (ye) => G(ye, R.value, ce)
|
|
68394
68391
|
}, null, 8, ["type", "props-data", "onHandlePaste"]))), 128))
|
|
68395
68392
|
])) : j("", !0)
|
|
68396
68393
|
], 64))), 256))
|
|
@@ -68500,8 +68497,8 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68500
68497
|
}, X = () => {
|
|
68501
68498
|
const se = T.value[r.currentIdx];
|
|
68502
68499
|
if (!se) return;
|
|
68503
|
-
const ce = se.clientWidth / 2,
|
|
68504
|
-
g.value = se.getBoundingClientRect().right - ce, x.value && (x.value.scrollLeft -=
|
|
68500
|
+
const ce = se.clientWidth / 2, ye = s.value / 2;
|
|
68501
|
+
g.value = se.getBoundingClientRect().right - ce, x.value && (x.value.scrollLeft -= ye - g.value);
|
|
68505
68502
|
}, z = (se) => {
|
|
68506
68503
|
u("updateCurrentIdx", se);
|
|
68507
68504
|
};
|
|
@@ -68524,13 +68521,13 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68524
68521
|
}, [
|
|
68525
68522
|
$e(o("div", {
|
|
68526
68523
|
class: "tab-logo__nav__prev",
|
|
68527
|
-
onClick: ce[0] || (ce[0] = (
|
|
68524
|
+
onClick: ce[0] || (ce[0] = (ye) => Q("prev"))
|
|
68528
68525
|
}, null, 512), [
|
|
68529
68526
|
[Oe, O.value]
|
|
68530
68527
|
]),
|
|
68531
|
-
(_(!0), S(ue, null, we(t.tabList, (
|
|
68528
|
+
(_(!0), S(ue, null, we(t.tabList, (ye, Le) => (_(), S("li", {
|
|
68532
68529
|
key: Le,
|
|
68533
|
-
class: re(["tab-logo__item", [{ "tab-logo__item--img": !!
|
|
68530
|
+
class: re(["tab-logo__item", [{ "tab-logo__item--img": !!ye.img }]])
|
|
68534
68531
|
}, [
|
|
68535
68532
|
o("div", {
|
|
68536
68533
|
ref_for: !0,
|
|
@@ -68538,17 +68535,17 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68538
68535
|
ref: T,
|
|
68539
68536
|
class: "flex-center"
|
|
68540
68537
|
}, [
|
|
68541
|
-
(_(), ne(La(
|
|
68542
|
-
type:
|
|
68543
|
-
to: E(
|
|
68538
|
+
(_(), ne(La(ye.link ? "nuxt-link" : "button"), {
|
|
68539
|
+
type: ye.link ? null : "button",
|
|
68540
|
+
to: E(ye.link),
|
|
68544
68541
|
class: re(["tab-logo__btn", [{ "is-active": t.currentIdx == Le }]]),
|
|
68545
68542
|
onClick: (tt) => z(Le)
|
|
68546
68543
|
}, {
|
|
68547
68544
|
default: $(() => [
|
|
68548
68545
|
o("div", Zee, [
|
|
68549
68546
|
o("img", {
|
|
68550
|
-
src:
|
|
68551
|
-
alt:
|
|
68547
|
+
src: ye.img,
|
|
68548
|
+
alt: ye.alt
|
|
68552
68549
|
}, null, 8, Jee)
|
|
68553
68550
|
])
|
|
68554
68551
|
]),
|
|
@@ -68558,7 +68555,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68558
68555
|
], 2))), 128)),
|
|
68559
68556
|
$e(o("div", {
|
|
68560
68557
|
class: "tab-logo__nav__next",
|
|
68561
|
-
onClick: ce[1] || (ce[1] = (
|
|
68558
|
+
onClick: ce[1] || (ce[1] = (ye) => Q("next"))
|
|
68562
68559
|
}, null, 512), [
|
|
68563
68560
|
[Oe, I.value]
|
|
68564
68561
|
])
|
|
@@ -68865,12 +68862,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68865
68862
|
};
|
|
68866
68863
|
n("update:modelValue", G), c.value = 0;
|
|
68867
68864
|
}, M = () => {
|
|
68868
|
-
var ce,
|
|
68865
|
+
var ce, ye;
|
|
68869
68866
|
const G = m.value;
|
|
68870
68867
|
if (!G) return;
|
|
68871
68868
|
const Q = G.getBoundingClientRect().top, X = d.value;
|
|
68872
68869
|
if (!X) return;
|
|
68873
|
-
const z = X.getBoundingClientRect().top, se = +((
|
|
68870
|
+
const z = X.getBoundingClientRect().top, se = +((ye = (ce = window.getComputedStyle(document.body)) == null ? void 0 : ce.getPropertyValue("--header-height-calc")) == null ? void 0 : ye.split("px")[0]) || 0;
|
|
68874
68871
|
if (z > se) {
|
|
68875
68872
|
v.value = !1;
|
|
68876
68873
|
return;
|
|
@@ -71078,7 +71075,7 @@ const ine = /* @__PURE__ */ Aa(sne), ane = { class: "setting-content" }, lne = {
|
|
|
71078
71075
|
},
|
|
71079
71076
|
emits: ["update:show"],
|
|
71080
71077
|
setup(t, { emit: e }) {
|
|
71081
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
71078
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
71082
71079
|
animation: 200,
|
|
71083
71080
|
group: "gallerys",
|
|
71084
71081
|
disabled: !1,
|