officialblock 3.3.9 → 3.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-DaTfdtuc.js → index-BN85yr1I.js} +1 -1
- package/dist/{index-TaWGzDtM.mjs → index-BO2b2Px3.mjs} +438 -435
- package/dist/{index-DRAlvvpm.mjs → index-CHFxx1ZN.mjs} +1 -1
- package/dist/{index-Cd_Tnxs1.js → index-DSXNkZJa.js} +9 -9
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -2839,7 +2839,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
2839
2839
|
},
|
|
2840
2840
|
emits: ["update:show"],
|
|
2841
2841
|
setup(t, { emit: e }) {
|
|
2842
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
2842
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
2843
2843
|
animation: 200,
|
|
2844
2844
|
group: "item",
|
|
2845
2845
|
disabled: !1,
|
|
@@ -2975,7 +2975,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
2975
2975
|
);
|
|
2976
2976
|
};
|
|
2977
2977
|
return (Q, O) => {
|
|
2978
|
-
const V = j("a-radio"), R = j("a-radio-group"), N = j("a-option"), K = j("a-select"), _ = j("icon-plus"), X = j("a-button"), $ = j("a-button-group"), ne = j("icon-drag-arrow"),
|
|
2978
|
+
const V = j("a-radio"), R = j("a-radio-group"), N = j("a-option"), K = j("a-select"), _ = j("icon-plus"), X = j("a-button"), $ = j("a-button-group"), ne = j("icon-drag-arrow"), oe = j("icon-delete"), G = j("a-input"), ae = j("a-checkbox"), te = j("a-drawer");
|
|
2979
2979
|
return y(), de(te, {
|
|
2980
2980
|
width: 600,
|
|
2981
2981
|
visible: t.show,
|
|
@@ -3167,7 +3167,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3167
3167
|
r("div", zC, [
|
|
3168
3168
|
h(ne, { class: "drag-icon" })
|
|
3169
3169
|
]),
|
|
3170
|
-
h(
|
|
3170
|
+
h(oe, {
|
|
3171
3171
|
class: "btn-delete",
|
|
3172
3172
|
onClick: (ie) => p(Z.id)
|
|
3173
3173
|
}, null, 8, ["onClick"])
|
|
@@ -3215,7 +3215,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3215
3215
|
m(Z.buttonList) ? (y(), P("div", KC, [
|
|
3216
3216
|
h(ne, { class: "drag-icon" })
|
|
3217
3217
|
])) : W("", !0),
|
|
3218
|
-
h(
|
|
3218
|
+
h(oe, {
|
|
3219
3219
|
class: "btn-delete",
|
|
3220
3220
|
onClick: (re) => k(Z.buttonList, ie.id)
|
|
3221
3221
|
}, null, 8, ["onClick"])
|
|
@@ -3285,7 +3285,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3285
3285
|
m(Z.linkList) ? (y(), P("div", e8, [
|
|
3286
3286
|
h(ne, { class: "drag-icon" })
|
|
3287
3287
|
])) : W("", !0),
|
|
3288
|
-
h(
|
|
3288
|
+
h(oe, {
|
|
3289
3289
|
class: "btn-delete",
|
|
3290
3290
|
onClick: (re) => I(Z.linkList, ie.id)
|
|
3291
3291
|
}, null, 8, ["onClick"])
|
|
@@ -3370,12 +3370,12 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3370
3370
|
m(Z.categories) ? (y(), P("div", d8, [
|
|
3371
3371
|
h(ne, { class: "drag-icon" })
|
|
3372
3372
|
])) : W("", !0),
|
|
3373
|
-
h(
|
|
3373
|
+
h(oe, {
|
|
3374
3374
|
class: "btn-delete",
|
|
3375
3375
|
onClick: (re) => L(Z.categories, ie.id)
|
|
3376
3376
|
}, null, 8, ["onClick"])
|
|
3377
3377
|
]),
|
|
3378
|
-
h(
|
|
3378
|
+
h(oe, {
|
|
3379
3379
|
class: "btn-delete",
|
|
3380
3380
|
onClick: (re) => L(Z.categories, ie.id)
|
|
3381
3381
|
}, null, 8, ["onClick"]),
|
|
@@ -3432,7 +3432,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3432
3432
|
m(Z.linkList) ? (y(), P("div", m8, [
|
|
3433
3433
|
h(ne, { class: "drag-icon" })
|
|
3434
3434
|
])) : W("", !0),
|
|
3435
|
-
h(
|
|
3435
|
+
h(oe, {
|
|
3436
3436
|
class: "btn-delete",
|
|
3437
3437
|
onClick: (re) => I(Z.linkList, ie.id)
|
|
3438
3438
|
}, null, 8, ["onClick"])
|
|
@@ -3549,7 +3549,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3549
3549
|
m(Z.imageList) ? (y(), P("div", B8, [
|
|
3550
3550
|
h(ne, { class: "drag-icon" })
|
|
3551
3551
|
])) : W("", !0),
|
|
3552
|
-
h(
|
|
3552
|
+
h(oe, {
|
|
3553
3553
|
class: "btn-delete",
|
|
3554
3554
|
onClick: (re) => S(Z.imageList, ie.id)
|
|
3555
3555
|
}, null, 8, ["onClick"])
|
|
@@ -3784,9 +3784,13 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3784
3784
|
"handleClick"
|
|
3785
3785
|
],
|
|
3786
3786
|
setup(t, { emit: e }) {
|
|
3787
|
-
const n = t, { themeStyle: a } = Je(n.brand), { t: s } = Be(() => n.locale), i = e, l = J(() =>
|
|
3788
|
-
|
|
3789
|
-
|
|
3787
|
+
const n = t, { themeStyle: a } = Je(n.brand), { t: s } = Be(() => n.locale), i = e, l = J(() => {
|
|
3788
|
+
var k;
|
|
3789
|
+
const x = (k = n.modelValue) == null ? void 0 : k.data;
|
|
3790
|
+
return !Array.isArray(x) || x.length === 0 ? !1 : x.some(
|
|
3791
|
+
(B) => B.type !== "Article" && B.type !== "Contact"
|
|
3792
|
+
);
|
|
3793
|
+
}), o = J(() => !n.modelValue || !n.modelValue.data ? [] : n.modelValue.data.filter(
|
|
3790
3794
|
(x) => x.type === "Article" || x.type === "Contact"
|
|
3791
3795
|
)), d = J(() => !n.modelValue || !n.modelValue.data ? [] : n.modelValue.data.filter(
|
|
3792
3796
|
(x) => x.type !== "Article" && x.type !== "Contact"
|
|
@@ -3913,7 +3917,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
3913
3917
|
], 64);
|
|
3914
3918
|
};
|
|
3915
3919
|
}
|
|
3916
|
-
}), Nd = /* @__PURE__ */ pe(G8, [["__scopeId", "data-v-
|
|
3920
|
+
}), Nd = /* @__PURE__ */ pe(G8, [["__scopeId", "data-v-cb1ba0a9"]]), SA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Nd }, Symbol.toStringTag, { value: "Module" })), q8 = { class: "banner-quicklinks" }, K8 = { class: "quick-links__list is-big" }, W8 = /* @__PURE__ */ we({
|
|
3917
3921
|
__name: "index",
|
|
3918
3922
|
props: {
|
|
3919
3923
|
data: {
|
|
@@ -5722,7 +5726,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
5722
5726
|
},
|
|
5723
5727
|
emits: ["update:show"],
|
|
5724
5728
|
setup(t, { emit: e }) {
|
|
5725
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
5729
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
5726
5730
|
animation: 200,
|
|
5727
5731
|
group: "gallerys",
|
|
5728
5732
|
// 链接专用分组
|
|
@@ -6101,7 +6105,7 @@ var sn = /* @__PURE__ */ function() {
|
|
|
6101
6105
|
var e = t.prototype;
|
|
6102
6106
|
return e.init = function(a) {
|
|
6103
6107
|
$r || YA(En) || console.warn("Please gsap.registerPlugin(Observer)"), Sl || jA();
|
|
6104
|
-
var s = a.tolerance, i = a.dragMinimum, l = a.type, o = a.target, d = a.lineHeight, u = a.debounce, m = a.preventDefault, w = a.onStop, b = a.onStopDelay, f = a.ignore, A = a.wheelSpeed, v = a.event, p = a.onDragStart, x = a.onDragEnd, k = a.onDrag, B = a.onPress, I = a.onRelease, E = a.onRight, L = a.onLeft, T = a.onUp, S = a.onDown, Q = a.onChangeX, O = a.onChangeY, V = a.onChange, R = a.onToggleX, N = a.onToggleY, K = a.onHover, _ = a.onHoverEnd, X = a.onMove, $ = a.ignoreCheck, ne = a.isNormalizer,
|
|
6108
|
+
var s = a.tolerance, i = a.dragMinimum, l = a.type, o = a.target, d = a.lineHeight, u = a.debounce, m = a.preventDefault, w = a.onStop, b = a.onStopDelay, f = a.ignore, A = a.wheelSpeed, v = a.event, p = a.onDragStart, x = a.onDragEnd, k = a.onDrag, B = a.onPress, I = a.onRelease, E = a.onRight, L = a.onLeft, T = a.onUp, S = a.onDown, Q = a.onChangeX, O = a.onChangeY, V = a.onChange, R = a.onToggleX, N = a.onToggleY, K = a.onHover, _ = a.onHoverEnd, X = a.onMove, $ = a.ignoreCheck, ne = a.isNormalizer, oe = a.onGestureStart, G = a.onGestureEnd, ae = a.onWheel, te = a.onEnable, Z = a.onDisable, ie = a.onClick, re = a.scrollSpeed, ye = a.capture, xe = a.allowClicks, je = a.lockAxis, Pe = a.onLockAxis;
|
|
6105
6109
|
this.target = o = _n(o) || $s, this.vars = a, f && (f = En.utils.toArray(f)), s = s || 1e-9, i = i || 0, A = A || 1, re = re || 1, l = l || "wheel,touch,pointer", u = u !== !1, d || (d = parseFloat(va.getComputedStyle(ho).lineHeight) || 22);
|
|
6106
6110
|
var Le, Ae, Ee, Ne, be, Ce, He, me = this, Ue = 0, ct = 0, Oe = a.passive || !m && a.passive !== !1, nt = ni(o, Gn), Qe = ni(o, cn), qe = nt(), It = Qe(), et = ~l.indexOf("touch") && !~l.indexOf("pointer") && Ra[0] === "pointerdown", xt = Vl(o), kt = o.ownerDocument || _s, xn = [0, 0, 0], Dn = [0, 0, 0], On = 0, Qa = function() {
|
|
6107
6111
|
return On = Ml();
|
|
@@ -6140,7 +6144,7 @@ var sn = /* @__PURE__ */ function() {
|
|
|
6140
6144
|
})), me.isDragging = me.isGesturing = me.isPressed = !1, w && Tt && !ne && Ae.restart(!0), Ee && Xn(), x && Tt && x(me), I && I(me, Xe);
|
|
6141
6145
|
}
|
|
6142
6146
|
}, As = function(dt) {
|
|
6143
|
-
return dt.touches && dt.touches.length > 1 && (me.isGesturing = !0) &&
|
|
6147
|
+
return dt.touches && dt.touches.length > 1 && (me.isGesturing = !0) && oe(dt, me.isDragging);
|
|
6144
6148
|
}, oa = function() {
|
|
6145
6149
|
return (me.isGesturing = !1) || G(me);
|
|
6146
6150
|
}, la = function(dt) {
|
|
@@ -6167,7 +6171,7 @@ var sn = /* @__PURE__ */ function() {
|
|
|
6167
6171
|
return it(dt) || cl(dt, m) && ie(me);
|
|
6168
6172
|
};
|
|
6169
6173
|
Ae = me._dc = En.delayedCall(b || 0.25, Ri).pause(), me.deltaX = me.deltaY = 0, me._vx = fc(0, 50, !0), me._vy = fc(0, 50, !0), me.scrollX = nt, me.scrollY = Qe, me.isDragging = me.isGesturing = me.isPressed = !1, RA(this), me.enable = function(mt) {
|
|
6170
|
-
return me.isEnabled || (Rn(xt ? kt : o, "scroll", gc), l.indexOf("scroll") >= 0 && Rn(xt ? kt : o, "scroll", la, Oe, ye), l.indexOf("wheel") >= 0 && Rn(o, "wheel", ra, Oe, ye), (l.indexOf("touch") >= 0 && HA || l.indexOf("pointer") >= 0) && (Rn(o, Ra[0], ps, Oe, ye), Rn(kt, Ra[2], wt), Rn(kt, Ra[3], wt), xe && Rn(o, "click", Qa, !0, !0), ie && Rn(o, "click", di),
|
|
6174
|
+
return me.isEnabled || (Rn(xt ? kt : o, "scroll", gc), l.indexOf("scroll") >= 0 && Rn(xt ? kt : o, "scroll", la, Oe, ye), l.indexOf("wheel") >= 0 && Rn(o, "wheel", ra, Oe, ye), (l.indexOf("touch") >= 0 && HA || l.indexOf("pointer") >= 0) && (Rn(o, Ra[0], ps, Oe, ye), Rn(kt, Ra[2], wt), Rn(kt, Ra[3], wt), xe && Rn(o, "click", Qa, !0, !0), ie && Rn(o, "click", di), oe && Rn(kt, "gesturestart", As), G && Rn(kt, "gestureend", oa), K && Rn(o, mi + "enter", Fs), _ && Rn(o, mi + "leave", xa), X && Rn(o, mi + "move", vs)), me.isEnabled = !0, me.isDragging = me.isGesturing = me.isPressed = Ne = Ee = !1, me._vx.reset(), me._vy.reset(), qe = nt(), It = Qe(), mt && mt.type && ps(mt), te && te(me)), me;
|
|
6171
6175
|
}, me.disable = function() {
|
|
6172
6176
|
me.isEnabled && (io.filter(function(mt) {
|
|
6173
6177
|
return mt !== me && Vl(mt.target);
|
|
@@ -6562,7 +6566,7 @@ var tt, ao, Dt, zt, Aa, Vt, ch, cd, Kl, Ll, wl, Or, kn, jd, mc, zn, wm, bm, so,
|
|
|
6562
6566
|
a = Em(pa(a) || xl(a) || a.nodeType ? {
|
|
6563
6567
|
trigger: a
|
|
6564
6568
|
} : a, Rr);
|
|
6565
|
-
var i = a, l = i.onUpdate, o = i.toggleClass, d = i.id, u = i.onToggle, m = i.onRefresh, w = i.scrub, b = i.trigger, f = i.pin, A = i.pinSpacing, v = i.invalidateOnRefresh, p = i.anticipatePin, x = i.onScrubComplete, k = i.onSnapComplete, B = i.once, I = i.snap, E = i.pinReparent, L = i.pinSpacer, T = i.containerAnimation, S = i.fastScrollEnd, Q = i.preventOverlaps, O = a.horizontal || a.containerAnimation && a.horizontal !== !1 ? Gn : cn, V = !w && w !== 0, R = _n(a.scroller || Dt), N = tt.core.getCache(R), K = Si(R), _ = ("pinType" in a ? a.pinType : ti(R, "pinType") || K && "fixed") === "fixed", X = [a.onEnter, a.onLeave, a.onEnterBack, a.onLeaveBack], $ = V && a.toggleActions.split(" "), ne = "markers" in a ? a.markers : Rr.markers,
|
|
6569
|
+
var i = a, l = i.onUpdate, o = i.toggleClass, d = i.id, u = i.onToggle, m = i.onRefresh, w = i.scrub, b = i.trigger, f = i.pin, A = i.pinSpacing, v = i.invalidateOnRefresh, p = i.anticipatePin, x = i.onScrubComplete, k = i.onSnapComplete, B = i.once, I = i.snap, E = i.pinReparent, L = i.pinSpacer, T = i.containerAnimation, S = i.fastScrollEnd, Q = i.preventOverlaps, O = a.horizontal || a.containerAnimation && a.horizontal !== !1 ? Gn : cn, V = !w && w !== 0, R = _n(a.scroller || Dt), N = tt.core.getCache(R), K = Si(R), _ = ("pinType" in a ? a.pinType : ti(R, "pinType") || K && "fixed") === "fixed", X = [a.onEnter, a.onLeave, a.onEnterBack, a.onLeaveBack], $ = V && a.toggleActions.split(" "), ne = "markers" in a ? a.markers : Rr.markers, oe = K ? 0 : parseFloat(Ia(R)["border" + O.p2 + Eo]) || 0, G = this, ae = a.onRefreshInit && function() {
|
|
6566
6570
|
return a.onRefreshInit(G);
|
|
6567
6571
|
}, te = Lx(R, K, O), Z = Ox(R, K), ie = 0, re = 0, ye = 0, xe = ni(R, O), je, Pe, Le, Ae, Ee, Ne, be, Ce, He, me, Ue, ct, Oe, nt, Qe, qe, It, et, xt, kt, xn, Dn, On, Qa, it, Ri, Xn, Us, Hs, qa, ps, wt, As, oa, la, ra, vs, Fs, xa;
|
|
6568
6572
|
if (G._startClamp = G._endClamp = !1, G._dir = O, p *= 45, G.scroller = R, G.scroll = T ? T.time.bind(T) : xe, Ae = xe(), G.vars = a, s = s || a.animation, "refreshPriority" in a && (GA = 1, a.refreshPriority === -9999 && (Fl = G)), N.tweenScroll = N.tweenScroll || {
|
|
@@ -6654,7 +6658,7 @@ var tt, ao, Dt, zt, Aa, Vt, ch, cd, Kl, Ll, wl, Or, kn, jd, mc, zn, wm, bm, so,
|
|
|
6654
6658
|
var St = te(), Pt = Z(), Wt = T ? T.duration() : ns(R, O), $t = nt <= 0.01 || !nt, Mt = 0, Qt = ht || 0, ot = pi(st) ? st.end : a.end, da = a.endTrigger || b, Ft = pi(st) ? st.start : a.start || (a.start === 0 || !b ? 0 : f ? "0 0" : "0 100%"), gn = G.pinnedContainer = a.pinnedContainer && _n(a.pinnedContainer, G), Da = b && Math.max(0, bt.indexOf(G)) || 0, Yt = Da, vt, dn, Ba, Ni, fn, en, ua, ui, zi, Rs, Ea, ci, ys;
|
|
6655
6659
|
for (ne && pi(st) && (ci = tt.getProperty(me, O.p), ys = tt.getProperty(Ue, O.p)); Yt-- > 0; )
|
|
6656
6660
|
en = bt[Yt], en.end || en.refresh(0, 1) || (kn = G), ua = en.pin, ua && (ua === b || ua === f || ua === gn) && !en.isReverted && (Rs || (Rs = []), Rs.unshift(en), en.revert(!0, !0)), en !== bt[Yt] && (Da--, Yt--);
|
|
6657
|
-
for (Tn(Ft) && (Ft = Ft(G)), Ft = Cm(Ft, "start", G), Ne = Sm(Ft, b, St, O, xe(), Ce, me, G, Pt,
|
|
6661
|
+
for (Tn(Ft) && (Ft = Ft(G)), Ft = Cm(Ft, "start", G), Ne = Sm(Ft, b, St, O, xe(), Ce, me, G, Pt, oe, _, Wt, T, G._startClamp && "_startClamp") || (f ? -1e-3 : 0), Tn(ot) && (ot = ot(G)), pa(ot) && !ot.indexOf("+=") && (~ot.indexOf(" ") ? ot = (pa(Ft) ? Ft.split(" ")[0] : "") + ot : (Mt = ed(ot.substr(2), St), ot = pa(Ft) ? Ft : (T ? tt.utils.mapRange(0, T.duration(), T.scrollTrigger.start, T.scrollTrigger.end, Ne) : Ne) + Mt, da = b)), ot = Cm(ot, "end", G), be = Math.max(Ne, Sm(ot || (da ? "100% 0" : Wt), da, St, O, xe() + Mt, He, Ue, G, Pt, oe, _, Wt, T, G._endClamp && "_endClamp")) || -1e-3, Mt = 0, Yt = Da; Yt--; )
|
|
6658
6662
|
en = bt[Yt], ua = en.pin, ua && en.start - en._pinPush <= Ne && !T && en.end > 0 && (vt = en.end - (G._startClamp ? Math.max(0, en.start) : en.start), (ua === b && en.start - en._pinPush < Ne || ua === gn) && isNaN(Ft) && (Mt += vt * (1 - en.progress)), ua === f && (Qt += vt));
|
|
6659
6663
|
if (Ne += Mt, be += Mt, G._startClamp && (G._startClamp += Mt), G._endClamp && !jn && (G._endClamp = be || -1e-3, be = Math.min(be, ns(R, O))), nt = be - Ne || (Ne -= 0.01) && 1e-3, $t && (ye = tt.utils.clamp(0, 1, tt.utils.normalize(Ne, be, ra))), G._pinPush = Qt, Ce && Mt && (vt = {}, vt[O.a] = "+=" + Mt, gn && (vt[O.p] = "-=" + xe()), tt.set([Ce, He], vt)), f && !(vc && G.end >= ns(R, O)))
|
|
6660
6664
|
vt = Ia(f), Ni = O === cn, Ba = xe(), Dn = parseFloat(kt(O.a)) + Qt, !Wt && be > 1 && (Ea = (K ? zt.scrollingElement || Aa : R).style, Ea = {
|
|
@@ -6954,9 +6958,9 @@ var Lm = function(e, n, a, s) {
|
|
|
6954
6958
|
}, V = function() {
|
|
6955
6959
|
if (I) {
|
|
6956
6960
|
requestAnimationFrame(L);
|
|
6957
|
-
var ne = Cl(o.deltaY / 2),
|
|
6958
|
-
if (b &&
|
|
6959
|
-
f.offset =
|
|
6961
|
+
var ne = Cl(o.deltaY / 2), oe = S(f.v - ne);
|
|
6962
|
+
if (b && oe !== f.v + f.offset) {
|
|
6963
|
+
f.offset = oe - f.v;
|
|
6960
6964
|
var G = Cl((parseFloat(b && b._gsap.y) || 0) - f.offset);
|
|
6961
6965
|
b.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + G + ", 0, 1)", b._gsap.y = G + "px", f.cacheID = Bt.cache, ks();
|
|
6962
6966
|
}
|
|
@@ -6979,22 +6983,22 @@ var Lm = function(e, n, a, s) {
|
|
|
6979
6983
|
_.restart(!0);
|
|
6980
6984
|
else {
|
|
6981
6985
|
Bt.cache++;
|
|
6982
|
-
var
|
|
6983
|
-
a && (G = A(), ae = G +
|
|
6986
|
+
var oe = k(), G, ae;
|
|
6987
|
+
a && (G = A(), ae = G + oe * 0.05 * -$.velocityX / 0.227, oe *= Lm(A, G, ae, ns(u, Gn)), R.vars.scrollX = T(ae)), G = f(), ae = G + oe * 0.05 * -$.velocityY / 0.227, oe *= Lm(f, G, ae, ns(u, cn)), R.vars.scrollY = S(ae), R.invalidate().duration(oe).play(0.01), (Xs && R.vars.scrollY >= d || G >= d - 1) && tt.to({}, {
|
|
6984
6988
|
onUpdate: X,
|
|
6985
|
-
duration:
|
|
6989
|
+
duration: oe
|
|
6986
6990
|
});
|
|
6987
6991
|
}
|
|
6988
6992
|
l && l($);
|
|
6989
6993
|
}, e.onWheel = function() {
|
|
6990
6994
|
R._ts && R.pause(), Pn() - x > 1e3 && (B = 0, x = Pn());
|
|
6991
|
-
}, e.onChange = function($, ne,
|
|
6992
|
-
if (Bi !== B && Q(), ne && a && A(T(G[2] === ne ? N + ($.startX - $.x) : A() + ne - G[1])),
|
|
6995
|
+
}, e.onChange = function($, ne, oe, G, ae) {
|
|
6996
|
+
if (Bi !== B && Q(), ne && a && A(T(G[2] === ne ? N + ($.startX - $.x) : A() + ne - G[1])), oe) {
|
|
6993
6997
|
f.offset && O();
|
|
6994
|
-
var te = ae[2] ===
|
|
6998
|
+
var te = ae[2] === oe, Z = te ? K + $.startY - $.y : f() + oe - ae[1], ie = S(Z);
|
|
6995
6999
|
te && Z !== ie && (K += ie - Z), f(ie);
|
|
6996
7000
|
}
|
|
6997
|
-
(
|
|
7001
|
+
(oe || ne) && ks();
|
|
6998
7002
|
}, e.onEnable = function() {
|
|
6999
7003
|
Ru(u, a ? !1 : "x"), Et.addEventListener("refresh", X), An(Dt, "resize", X), f.smooth && (f.target.style.scrollBehavior = "auto", f.smooth = A.smooth = !1), E.enable();
|
|
7000
7004
|
}, e.onDisable = function() {
|
|
@@ -7169,7 +7173,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7169
7173
|
var X, $;
|
|
7170
7174
|
A = dd.timeline();
|
|
7171
7175
|
const N = T.value, K = S.value, _ = ($ = (X = Q.value) == null ? void 0 : X.$el) == null ? void 0 : $.querySelector(".simplebar-content-wrapper");
|
|
7172
|
-
!N || !K || N.forEach((ne,
|
|
7176
|
+
!N || !K || N.forEach((ne, oe) => {
|
|
7173
7177
|
A.fromTo(
|
|
7174
7178
|
ne,
|
|
7175
7179
|
{
|
|
@@ -7178,10 +7182,10 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7178
7182
|
{
|
|
7179
7183
|
"--line-height": "100%",
|
|
7180
7184
|
scrollTrigger: {
|
|
7181
|
-
start: () => (typeof window > "u" ? 1024 : window.innerWidth) < 768 ? "top center" : `top top+=${50 +
|
|
7182
|
-
end: () => (typeof window > "u" ? 1024 : window.innerWidth) < 768 ? "center center" : `bottom center+=${
|
|
7185
|
+
start: () => (typeof window > "u" ? 1024 : window.innerWidth) < 768 ? "top center" : `top top+=${50 + oe * 35}px`,
|
|
7186
|
+
end: () => (typeof window > "u" ? 1024 : window.innerWidth) < 768 ? "center center" : `bottom center+=${oe * 25}px`,
|
|
7183
7187
|
scrub: 1,
|
|
7184
|
-
trigger: K[
|
|
7188
|
+
trigger: K[oe],
|
|
7185
7189
|
scroller: _,
|
|
7186
7190
|
onEnter: (G) => {
|
|
7187
7191
|
G.trigger.classList.add("is-enter");
|
|
@@ -7362,7 +7366,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7362
7366
|
},
|
|
7363
7367
|
emits: ["update:show"],
|
|
7364
7368
|
setup(t, { emit: e }) {
|
|
7365
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
7369
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
7366
7370
|
animation: 200,
|
|
7367
7371
|
group: "gallerys",
|
|
7368
7372
|
// 链接专用分组
|
|
@@ -7809,9 +7813,9 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7809
7813
|
const Q = z([]), O = z([]), V = z([]), R = () => {
|
|
7810
7814
|
Q.value = [], O.value = [], v = null, Fe(N);
|
|
7811
7815
|
}, N = () => {
|
|
7812
|
-
var ne,
|
|
7816
|
+
var ne, oe;
|
|
7813
7817
|
v = dd.timeline();
|
|
7814
|
-
const _ = Q.value, X = O.value, $ = (
|
|
7818
|
+
const _ = Q.value, X = O.value, $ = (oe = (ne = V.value[0]) == null ? void 0 : ne.$el) == null ? void 0 : oe.querySelector(".simplebar-content-wrapper");
|
|
7815
7819
|
!_ || !X || _.forEach((G, ae) => {
|
|
7816
7820
|
v.fromTo(
|
|
7817
7821
|
G,
|
|
@@ -7854,7 +7858,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7854
7858
|
R();
|
|
7855
7859
|
});
|
|
7856
7860
|
}, { deep: !0 }), (_, X) => {
|
|
7857
|
-
var ne,
|
|
7861
|
+
var ne, oe;
|
|
7858
7862
|
const $ = j("a-image");
|
|
7859
7863
|
return y(), P(he, null, [
|
|
7860
7864
|
u.value ? (y(), P("div", {
|
|
@@ -7866,7 +7870,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
7866
7870
|
}, [
|
|
7867
7871
|
r("div", UD, [
|
|
7868
7872
|
r("div", HD, [
|
|
7869
|
-
(y(!0), P(he, null, ke((
|
|
7873
|
+
(y(!0), P(he, null, ke((oe = t.modelValue) == null ? void 0 : oe.data, (G) => (y(), P("div", {
|
|
7870
7874
|
class: "col",
|
|
7871
7875
|
key: G.id
|
|
7872
7876
|
}, [
|
|
@@ -8782,7 +8786,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
8782
8786
|
},
|
|
8783
8787
|
emits: ["update:show"],
|
|
8784
8788
|
setup(t, { emit: e }) {
|
|
8785
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
8789
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
8786
8790
|
animation: 200,
|
|
8787
8791
|
group: "btns",
|
|
8788
8792
|
// 链接专用分组
|
|
@@ -9661,7 +9665,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
9661
9665
|
}
|
|
9662
9666
|
},
|
|
9663
9667
|
setup(t) {
|
|
9664
|
-
const e = $e(() => import("vuedraggable")), n = $e(() => import("./index-
|
|
9668
|
+
const e = $e(() => import("vuedraggable")), n = $e(() => import("./index-CHFxx1ZN.mjs")), a = z(!1), s = J(() => d.locale === "sc" ? `按钮(最多${d.maxNum}个)` : d.locale === "hk" ? `按鈕(最多${d.maxNum}個)` : `Buttons(max ${d.maxNum})`), i = J(() => ({
|
|
9665
9669
|
animation: 200,
|
|
9666
9670
|
group: "buttons",
|
|
9667
9671
|
// 按钮专用分组
|
|
@@ -9948,6 +9952,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
9948
9952
|
r("p", c7, g(c(u)("setting.content")), 1),
|
|
9949
9953
|
h(c(n), {
|
|
9950
9954
|
name: `${t.name}_editor_${E.id}`,
|
|
9955
|
+
accept: "all",
|
|
9951
9956
|
modelValue: E.content,
|
|
9952
9957
|
"onUpdate:modelValue": (L) => E.content = L
|
|
9953
9958
|
}, null, 8, ["name", "modelValue", "onUpdate:modelValue"])
|
|
@@ -9966,7 +9971,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
9966
9971
|
], 64);
|
|
9967
9972
|
};
|
|
9968
9973
|
}
|
|
9969
|
-
}), Yd = /* @__PURE__ */ pe(g7, [["__scopeId", "data-v-
|
|
9974
|
+
}), Yd = /* @__PURE__ */ pe(g7, [["__scopeId", "data-v-8e99b0fb"]]), f7 = { class: "setting-content" }, m7 = { class: "setting-header flex items-center mb-10" }, p7 = { class: "header-title" }, A7 = { class: "setting-header flex items-center" }, v7 = { class: "header-title" }, y7 = { class: "setting-header flex items-center" }, w7 = { class: "header-title" }, b7 = { class: "setting-header flex items-center" }, C7 = { class: "header-title" }, x7 = { class: "setting-body" }, D7 = { class: "setting-item" }, B7 = { class: "btn-group" }, E7 = {
|
|
9970
9975
|
key: 0,
|
|
9971
9976
|
class: "drag-handle"
|
|
9972
9977
|
}, k7 = { class: "item-title" }, P7 = { class: "item-title" }, I7 = { class: "item-title" }, T7 = ["src"], S7 = { class: "item-uplaod flex items-center" }, M7 = { class: "item-title" }, V7 = { style: { "font-size": "12px", color: "#999" } }, L7 = {
|
|
@@ -10951,8 +10956,8 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
10951
10956
|
let o = null, d = 0, u = null, m = null, w = null, b = null, f = null, A = null;
|
|
10952
10957
|
const v = async () => {
|
|
10953
10958
|
try {
|
|
10954
|
-
const X = await import("swiper"), { Navigation: $, Pagination: ne, Autoplay:
|
|
10955
|
-
m = X.Swiper, w = $, b = ne, f =
|
|
10959
|
+
const X = await import("swiper"), { Navigation: $, Pagination: ne, Autoplay: oe, EffectFade: G } = await import("swiper/modules");
|
|
10960
|
+
m = X.Swiper, w = $, b = ne, f = oe, A = G, l.value && (o = new m(l.value, {
|
|
10956
10961
|
modules: [w, b, f, A],
|
|
10957
10962
|
autoHeight: !1,
|
|
10958
10963
|
// 禁用自适应高度,使用固定高度
|
|
@@ -11042,44 +11047,45 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11042
11047
|
ref: l
|
|
11043
11048
|
}, [
|
|
11044
11049
|
r("div", OE, [
|
|
11045
|
-
(y(!0), P(he, null, ke(t.data, (
|
|
11050
|
+
(y(!0), P(he, null, ke(t.data, (oe, G) => (y(), P("div", {
|
|
11046
11051
|
class: "swiper-slide",
|
|
11047
|
-
key:
|
|
11052
|
+
key: oe.id
|
|
11048
11053
|
}, [
|
|
11049
11054
|
r("div", {
|
|
11050
11055
|
class: "swiper-slide__media",
|
|
11051
|
-
style: Ve({ cursor:
|
|
11052
|
-
onClick: (ae) => _(
|
|
11056
|
+
style: Ve({ cursor: oe.link ? "pointer" : "default" }),
|
|
11057
|
+
onClick: (ae) => _(oe.link || "")
|
|
11053
11058
|
}, [
|
|
11054
|
-
|
|
11059
|
+
oe.type === "Image" ? (y(), P("img", {
|
|
11055
11060
|
key: 0,
|
|
11056
11061
|
class: "swiper-slide__media-img",
|
|
11057
|
-
src:
|
|
11058
|
-
alt:
|
|
11059
|
-
}, null, 8, UE)) :
|
|
11060
|
-
|
|
11062
|
+
src: oe.imgSrc,
|
|
11063
|
+
alt: oe.alt
|
|
11064
|
+
}, null, 8, UE)) : oe.type === "Video" ? (y(), P("div", HE, [
|
|
11065
|
+
(y(), P("video", {
|
|
11066
|
+
key: `${oe.id}-${oe.videoSrc || ""}`,
|
|
11061
11067
|
ref_for: !0,
|
|
11062
11068
|
ref: (ae) => L(ae, G),
|
|
11063
11069
|
playsinline: "",
|
|
11064
|
-
poster:
|
|
11070
|
+
poster: oe.imgSrc,
|
|
11065
11071
|
onEnded: I
|
|
11066
11072
|
}, [
|
|
11067
11073
|
r("source", {
|
|
11068
|
-
src:
|
|
11074
|
+
src: oe.videoSrc,
|
|
11069
11075
|
type: "video/mp4"
|
|
11070
11076
|
}, null, 8, RE)
|
|
11071
|
-
], 40, FE)
|
|
11077
|
+
], 40, FE))
|
|
11072
11078
|
])) : W("", !0)
|
|
11073
11079
|
], 12, QE),
|
|
11074
|
-
t.isPreview &&
|
|
11080
|
+
t.isPreview && oe.link && oe.link.includes("http") ? (y(), P("a", {
|
|
11075
11081
|
key: 0,
|
|
11076
|
-
href:
|
|
11082
|
+
href: oe.link,
|
|
11077
11083
|
target: "_blank",
|
|
11078
11084
|
class: "swiper-slide__link"
|
|
11079
11085
|
}, null, 8, NE)) : W("", !0),
|
|
11080
11086
|
r("div", zE, [
|
|
11081
|
-
r("div", jE, g(
|
|
11082
|
-
|
|
11087
|
+
r("div", jE, g(oe.title), 1),
|
|
11088
|
+
oe.type === "Video" ? (y(), P(he, { key: 0 }, [
|
|
11083
11089
|
T.value ? W("", !0) : (y(), P("button", {
|
|
11084
11090
|
key: 0,
|
|
11085
11091
|
type: "button",
|
|
@@ -11103,7 +11109,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11103
11109
|
], 512),
|
|
11104
11110
|
h(ne, {
|
|
11105
11111
|
visible: O.value,
|
|
11106
|
-
"onUpdate:visible": $[0] || ($[0] = (
|
|
11112
|
+
"onUpdate:visible": $[0] || ($[0] = (oe) => O.value = oe),
|
|
11107
11113
|
footer: !1,
|
|
11108
11114
|
width: "1200px",
|
|
11109
11115
|
onCancel: K
|
|
@@ -11114,7 +11120,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11114
11120
|
default: C(() => [
|
|
11115
11121
|
r("div", YE, [
|
|
11116
11122
|
R.value ? (y(), P("video", {
|
|
11117
|
-
key:
|
|
11123
|
+
key: R.value,
|
|
11118
11124
|
ref_key: "videoElement",
|
|
11119
11125
|
ref: V,
|
|
11120
11126
|
controls: "",
|
|
@@ -11125,7 +11131,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11125
11131
|
src: R.value,
|
|
11126
11132
|
type: "video/mp4"
|
|
11127
11133
|
}, null, 8, GE)
|
|
11128
|
-
]
|
|
11134
|
+
])) : W("", !0)
|
|
11129
11135
|
])
|
|
11130
11136
|
]),
|
|
11131
11137
|
_: 1
|
|
@@ -11133,7 +11139,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11133
11139
|
], 64);
|
|
11134
11140
|
};
|
|
11135
11141
|
}
|
|
11136
|
-
}), KE = /* @__PURE__ */ pe(qE, [["__scopeId", "data-v-
|
|
11142
|
+
}), KE = /* @__PURE__ */ pe(qE, [["__scopeId", "data-v-8fcc9415"]]), WE = /* @__PURE__ */ we({
|
|
11137
11143
|
name: "HeroSlide",
|
|
11138
11144
|
__name: "index",
|
|
11139
11145
|
props: {
|
|
@@ -11786,7 +11792,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
11786
11792
|
},
|
|
11787
11793
|
emits: ["update:show"],
|
|
11788
11794
|
setup(t, { emit: e }) {
|
|
11789
|
-
const n = $e(() => import("./index-
|
|
11795
|
+
const n = $e(() => import("./index-CHFxx1ZN.mjs")), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
11790
11796
|
i("update:show", !1);
|
|
11791
11797
|
};
|
|
11792
11798
|
return (o, d) => {
|
|
@@ -12758,11 +12764,11 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
12758
12764
|
const n = t, { themeStyle: a } = Je(n.brand), { t: s } = Be(() => n.locale), { t: i } = Be(() => n.lang), l = e, o = ($) => {
|
|
12759
12765
|
l("handleClick", $);
|
|
12760
12766
|
}, d = J(() => {
|
|
12761
|
-
var ne,
|
|
12767
|
+
var ne, oe, G, ae;
|
|
12762
12768
|
if (typeof window > "u")
|
|
12763
12769
|
return !0;
|
|
12764
12770
|
const $ = window.innerWidth;
|
|
12765
|
-
return ((
|
|
12771
|
+
return ((oe = (ne = n.modelValue) == null ? void 0 : ne.data) == null ? void 0 : oe.length) > 3 && $ >= 1024 || ((ae = (G = n.modelValue) == null ? void 0 : G.data) == null ? void 0 : ae.length) > 2 && $ >= 768 && $ < 1024 || $ < 768;
|
|
12766
12772
|
}), u = z(!0), m = [Ls, ms, Fo], w = {
|
|
12767
12773
|
768: {
|
|
12768
12774
|
slidesPerView: 3,
|
|
@@ -12778,8 +12784,8 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
12778
12784
|
}, b = z(0), f = z(!1), A = z(), v = ($) => {
|
|
12779
12785
|
b.value = $.realIndex ?? 0;
|
|
12780
12786
|
}, p = ($) => {
|
|
12781
|
-
var ne,
|
|
12782
|
-
_.value = (
|
|
12787
|
+
var ne, oe;
|
|
12788
|
+
_.value = (oe = (ne = n.modelValue) == null ? void 0 : ne.data) == null ? void 0 : oe[$], K.value = !0;
|
|
12783
12789
|
}, x = ($) => {
|
|
12784
12790
|
A.value = $, f.value || Fe(() => {
|
|
12785
12791
|
setTimeout(() => {
|
|
@@ -12802,10 +12808,10 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
12802
12808
|
}, L = () => {
|
|
12803
12809
|
A.value && A.value.slideNext(600);
|
|
12804
12810
|
}, T = () => {
|
|
12805
|
-
var ne,
|
|
12811
|
+
var ne, oe;
|
|
12806
12812
|
if (n.modelValue && ((ne = n.modelValue) != null && ne.data)) return;
|
|
12807
12813
|
const $ = {
|
|
12808
|
-
id: ((
|
|
12814
|
+
id: ((oe = n.modelValue) == null ? void 0 : oe.id) || ee(),
|
|
12809
12815
|
type: "CardCarousel",
|
|
12810
12816
|
showMode: "",
|
|
12811
12817
|
width: "",
|
|
@@ -12861,7 +12867,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
12861
12867
|
k();
|
|
12862
12868
|
}), T(), ($, ne) => {
|
|
12863
12869
|
var G, ae, te, Z;
|
|
12864
|
-
const
|
|
12870
|
+
const oe = j("client-only");
|
|
12865
12871
|
return y(), P(he, null, [
|
|
12866
12872
|
S.value ? (y(), P("div", {
|
|
12867
12873
|
key: 0,
|
|
@@ -12873,7 +12879,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
12873
12879
|
r("div", {
|
|
12874
12880
|
class: ue(["card-carousel__wrapper", [(ae = t.modelValue) != null && ae.width ? `container-content-${(te = t.modelValue) == null ? void 0 : te.width}` : "container-content"]])
|
|
12875
12881
|
}, [
|
|
12876
|
-
d.value && u.value ? (y(), de(
|
|
12882
|
+
d.value && u.value ? (y(), de(oe, { key: 0 }, {
|
|
12877
12883
|
default: C(() => [
|
|
12878
12884
|
h(c(za), {
|
|
12879
12885
|
ref: "swiperRef",
|
|
@@ -13257,8 +13263,8 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
13257
13263
|
var _;
|
|
13258
13264
|
const R = (_ = n.modelValue) == null ? void 0 : _.data, K = (Array.isArray(R) ? R : []).reduce(
|
|
13259
13265
|
(X, $, ne) => {
|
|
13260
|
-
const
|
|
13261
|
-
return X[
|
|
13266
|
+
const oe = Math.floor(ne / p.value);
|
|
13267
|
+
return X[oe] || (X[oe] = []), X[oe].push($), X;
|
|
13262
13268
|
},
|
|
13263
13269
|
[]
|
|
13264
13270
|
);
|
|
@@ -13397,17 +13403,17 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
13397
13403
|
}, {
|
|
13398
13404
|
default: C(() => [
|
|
13399
13405
|
r("div", nP, [
|
|
13400
|
-
(y(!0), P(he, null, ke($, (
|
|
13406
|
+
(y(!0), P(he, null, ke($, (oe, G) => (y(), P("div", {
|
|
13401
13407
|
class: "slide-content col",
|
|
13402
13408
|
key: "item-" + G,
|
|
13403
|
-
onClick: (ae) => V(
|
|
13409
|
+
onClick: (ae) => V(oe)
|
|
13404
13410
|
}, [
|
|
13405
13411
|
r("div", sP, [
|
|
13406
13412
|
r("div", iP, [
|
|
13407
13413
|
r("div", oP, [
|
|
13408
13414
|
r("img", {
|
|
13409
|
-
src:
|
|
13410
|
-
alt:
|
|
13415
|
+
src: oe.imgSrc,
|
|
13416
|
+
alt: oe.alt
|
|
13411
13417
|
}, null, 8, lP),
|
|
13412
13418
|
r("div", rP, [
|
|
13413
13419
|
r("div", dP, g(c(i)("btn.profile")), 1)
|
|
@@ -13415,8 +13421,8 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
13415
13421
|
])
|
|
13416
13422
|
]),
|
|
13417
13423
|
r("div", uP, [
|
|
13418
|
-
r("div", cP, g(
|
|
13419
|
-
r("h6", hP, g(
|
|
13424
|
+
r("div", cP, g(oe.title), 1),
|
|
13425
|
+
r("h6", hP, g(oe.name), 1)
|
|
13420
13426
|
])
|
|
13421
13427
|
])
|
|
13422
13428
|
], 8, aP))), 128))
|
|
@@ -13484,7 +13490,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
13484
13490
|
},
|
|
13485
13491
|
emits: ["update:show"],
|
|
13486
13492
|
setup(t, { emit: e }) {
|
|
13487
|
-
const n = $e(() => import("./index-
|
|
13493
|
+
const n = $e(() => import("./index-CHFxx1ZN.mjs")), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
13488
13494
|
i("update:show", !1);
|
|
13489
13495
|
};
|
|
13490
13496
|
return (o, d) => {
|
|
@@ -13715,7 +13721,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
13715
13721
|
},
|
|
13716
13722
|
emits: ["update:show"],
|
|
13717
13723
|
setup(t, { emit: e }) {
|
|
13718
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
13724
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
13719
13725
|
animation: 200,
|
|
13720
13726
|
group: "links",
|
|
13721
13727
|
// 链接专用分组
|
|
@@ -14132,7 +14138,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
14132
14138
|
},
|
|
14133
14139
|
emits: ["update:show"],
|
|
14134
14140
|
setup(t, { emit: e }) {
|
|
14135
|
-
const n = $e(() => import("./index-
|
|
14141
|
+
const n = $e(() => import("./index-CHFxx1ZN.mjs")), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
14136
14142
|
i("update:show", !1);
|
|
14137
14143
|
};
|
|
14138
14144
|
return (o, d) => {
|
|
@@ -14683,7 +14689,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
14683
14689
|
},
|
|
14684
14690
|
emits: ["update:show"],
|
|
14685
14691
|
setup(t, { emit: e }) {
|
|
14686
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
14692
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
14687
14693
|
animation: 200,
|
|
14688
14694
|
group: "gallerys",
|
|
14689
14695
|
// 链接专用分组
|
|
@@ -15018,7 +15024,7 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
15018
15024
|
x: Ce.left + He,
|
|
15019
15025
|
y: Ce.top + me
|
|
15020
15026
|
};
|
|
15021
|
-
},
|
|
15027
|
+
}, oe = (be) => {
|
|
15022
15028
|
typeof document > "u" || (be ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
|
|
15023
15029
|
}, G = () => {
|
|
15024
15030
|
typeof window > "u" || (window.addEventListener("scroll", Z), window.addEventListener("resize", te), te());
|
|
@@ -15101,9 +15107,9 @@ const Wx = { class: "gallery-container gallery-timeline container-content" }, Xx
|
|
|
15101
15107
|
), Ue = S.value;
|
|
15102
15108
|
Ue && (Ce - 80 > me || He < me ? (Ue.classList.remove("is-fixed"), Ue.classList.add("d-none")) : (Ue.classList.add("is-fixed"), Ue.classList.remove("d-none")));
|
|
15103
15109
|
}, Ae = (be) => {
|
|
15104
|
-
x.value = be.text, k.value = be.image,
|
|
15110
|
+
x.value = be.text, k.value = be.image, oe(!0), B.value = !0;
|
|
15105
15111
|
}, Ee = () => {
|
|
15106
|
-
|
|
15112
|
+
oe(!1), B.value = !1;
|
|
15107
15113
|
}, Ne = () => {
|
|
15108
15114
|
const Ce = N.value.length;
|
|
15109
15115
|
for (let He = 0; He < Ce; He++) {
|
|
@@ -15561,7 +15567,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
15561
15567
|
const ie = Z[Z.length - 1];
|
|
15562
15568
|
ie && (f.value = ie.getBoundingClientRect().right);
|
|
15563
15569
|
}
|
|
15564
|
-
},
|
|
15570
|
+
}, oe = () => {
|
|
15565
15571
|
$();
|
|
15566
15572
|
}, G = (Z) => {
|
|
15567
15573
|
const ie = o.value;
|
|
@@ -15580,7 +15586,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
15580
15586
|
};
|
|
15581
15587
|
return at(() => {
|
|
15582
15588
|
if (Fe(() => {
|
|
15583
|
-
setTimeout(
|
|
15589
|
+
setTimeout(oe, 300);
|
|
15584
15590
|
}), typeof window < "u") {
|
|
15585
15591
|
const Z = () => {
|
|
15586
15592
|
R.value = window.innerWidth;
|
|
@@ -15609,7 +15615,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
15609
15615
|
class: "tab-blue__list px-4",
|
|
15610
15616
|
ref_key: "list",
|
|
15611
15617
|
ref: o,
|
|
15612
|
-
onScroll:
|
|
15618
|
+
onScroll: oe
|
|
15613
15619
|
}, [
|
|
15614
15620
|
(y(!0), P(he, null, ke(k.value, (re, ye) => (y(), P("li", {
|
|
15615
15621
|
key: re.key,
|
|
@@ -16247,7 +16253,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
16247
16253
|
}
|
|
16248
16254
|
const be = (Ce = n.modelValue) == null ? void 0 : Ce.list;
|
|
16249
16255
|
return Array.isArray(be) ? be : [];
|
|
16250
|
-
}),
|
|
16256
|
+
}), oe = J(() => {
|
|
16251
16257
|
var be;
|
|
16252
16258
|
return ((be = n.modelValue) == null ? void 0 : be.colDesktop) ?? 4;
|
|
16253
16259
|
}), G = J(() => {
|
|
@@ -16399,7 +16405,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
16399
16405
|
class: ue(["card-list row container-content-middle", [
|
|
16400
16406
|
`row-cols-${ae.value}`,
|
|
16401
16407
|
`row-cols-md-${G.value}`,
|
|
16402
|
-
`row-cols-lg-${
|
|
16408
|
+
`row-cols-lg-${oe.value}`
|
|
16403
16409
|
]])
|
|
16404
16410
|
}, [
|
|
16405
16411
|
(y(!0), P(he, null, ke(ye.value, (ct) => (y(), P("div", {
|
|
@@ -16480,7 +16486,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
16480
16486
|
},
|
|
16481
16487
|
emits: ["update:show"],
|
|
16482
16488
|
setup(t, { emit: e }) {
|
|
16483
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
16489
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
16484
16490
|
animation: 200,
|
|
16485
16491
|
group: "gallerys",
|
|
16486
16492
|
// 链接专用分组
|
|
@@ -17089,7 +17095,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
17089
17095
|
v.value = K, S.value && S.value.slideTo(K);
|
|
17090
17096
|
};
|
|
17091
17097
|
return (K, _) => {
|
|
17092
|
-
var X, $, ne,
|
|
17098
|
+
var X, $, ne, oe, G, ae, te, Z, ie, re;
|
|
17093
17099
|
return y(), P(he, null, [
|
|
17094
17100
|
d.value ? (y(), P("div", {
|
|
17095
17101
|
key: 0,
|
|
@@ -17223,7 +17229,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
17223
17229
|
]);
|
|
17224
17230
|
}), 128))
|
|
17225
17231
|
], 512),
|
|
17226
|
-
((
|
|
17232
|
+
((oe = t.modelValue) == null ? void 0 : oe.btnType) === "btn" ? (y(), P(he, { key: 0 }, [
|
|
17227
17233
|
t.isPreview ? (y(), P("a", {
|
|
17228
17234
|
key: 0,
|
|
17229
17235
|
href: ((G = t.modelValue) == null ? void 0 : G.btnUrl) || "#",
|
|
@@ -17792,7 +17798,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
17792
17798
|
emits: ["update:show"],
|
|
17793
17799
|
setup(t, { emit: e }) {
|
|
17794
17800
|
const n = $e(
|
|
17795
|
-
() => import("./index-
|
|
17801
|
+
() => import("./index-CHFxx1ZN.mjs")
|
|
17796
17802
|
), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
17797
17803
|
i("update:show", !1);
|
|
17798
17804
|
};
|
|
@@ -19427,7 +19433,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19427
19433
|
setup(t, { emit: e }) {
|
|
19428
19434
|
var L;
|
|
19429
19435
|
const n = $e(() => import("vuedraggable")), a = $e(
|
|
19430
|
-
() => import("./index-
|
|
19436
|
+
() => import("./index-CHFxx1ZN.mjs")
|
|
19431
19437
|
), s = J(() => ({
|
|
19432
19438
|
animation: 200,
|
|
19433
19439
|
group: "linkList",
|
|
@@ -19574,7 +19580,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19574
19580
|
r("div", GO, [
|
|
19575
19581
|
r("div", {
|
|
19576
19582
|
class: "drag-handle",
|
|
19577
|
-
onClick: (
|
|
19583
|
+
onClick: (oe) => b(ne)
|
|
19578
19584
|
}, [
|
|
19579
19585
|
h(V, { style: { "margin-right": "10px" } }),
|
|
19580
19586
|
U(g(ne.name), 1)
|
|
@@ -19583,7 +19589,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19583
19589
|
h(R, { class: "icon_drag" }),
|
|
19584
19590
|
h(N, {
|
|
19585
19591
|
class: "btn-delete",
|
|
19586
|
-
onClick: pt((
|
|
19592
|
+
onClick: pt((oe) => f(ne.id), ["stop"])
|
|
19587
19593
|
}, null, 8, ["onClick"])
|
|
19588
19594
|
])
|
|
19589
19595
|
]),
|
|
@@ -19593,14 +19599,14 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19593
19599
|
r("p", KO, g(c(u)("setting.name")), 1),
|
|
19594
19600
|
h(K, {
|
|
19595
19601
|
modelValue: ne.name,
|
|
19596
|
-
"onUpdate:modelValue": (
|
|
19602
|
+
"onUpdate:modelValue": (oe) => ne.name = oe,
|
|
19597
19603
|
placeholder: c(u)("setting.input_name"),
|
|
19598
19604
|
"allow-clear": ""
|
|
19599
19605
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
19600
19606
|
r("p", WO, g(c(u)("setting.title")), 1),
|
|
19601
19607
|
h(K, {
|
|
19602
19608
|
modelValue: ne.title,
|
|
19603
|
-
"onUpdate:modelValue": (
|
|
19609
|
+
"onUpdate:modelValue": (oe) => ne.title = oe,
|
|
19604
19610
|
placeholder: c(u)("setting.input_title"),
|
|
19605
19611
|
"allow-clear": ""
|
|
19606
19612
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
@@ -19613,13 +19619,13 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19613
19619
|
r("div", ZO, [
|
|
19614
19620
|
h(K, {
|
|
19615
19621
|
modelValue: ne.image,
|
|
19616
|
-
"onUpdate:modelValue": (
|
|
19622
|
+
"onUpdate:modelValue": (oe) => ne.image = oe,
|
|
19617
19623
|
placeholder: c(u)("setting.image_link"),
|
|
19618
19624
|
"allow-clear": ""
|
|
19619
19625
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
19620
19626
|
h(ft, {
|
|
19621
19627
|
modelValue: ne.image,
|
|
19622
|
-
"onUpdate:modelValue": (
|
|
19628
|
+
"onUpdate:modelValue": (oe) => ne.image = oe,
|
|
19623
19629
|
name: `ScrollKeyInfo_${ne.id}`,
|
|
19624
19630
|
"button-class": "fit-content"
|
|
19625
19631
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"])
|
|
@@ -19627,14 +19633,14 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19627
19633
|
r("p", _O, g(c(u)("setting.label")), 1),
|
|
19628
19634
|
h(K, {
|
|
19629
19635
|
modelValue: ne.label,
|
|
19630
|
-
"onUpdate:modelValue": (
|
|
19636
|
+
"onUpdate:modelValue": (oe) => ne.label = oe,
|
|
19631
19637
|
placeholder: c(u)("setting.label"),
|
|
19632
19638
|
"allow-clear": ""
|
|
19633
19639
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
19634
19640
|
r("p", $O, g(c(u)("setting.content")), 1),
|
|
19635
19641
|
h(c(a), {
|
|
19636
19642
|
modelValue: ne.content,
|
|
19637
|
-
"onUpdate:modelValue": (
|
|
19643
|
+
"onUpdate:modelValue": (oe) => ne.content = oe,
|
|
19638
19644
|
height: 100,
|
|
19639
19645
|
placeholder: c(u)("setting.input_content"),
|
|
19640
19646
|
name: `ScrollKeyInfo_editor_${ne.id}`
|
|
@@ -19643,7 +19649,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19643
19649
|
ne.linkList.length ? W("", !0) : (y(), P("div", tQ, g(c(u)("setting.no_data")), 1)),
|
|
19644
19650
|
h(c(n), We({
|
|
19645
19651
|
modelValue: ne.linkList,
|
|
19646
|
-
"onUpdate:modelValue": (
|
|
19652
|
+
"onUpdate:modelValue": (oe) => ne.linkList = oe,
|
|
19647
19653
|
"component-data": {
|
|
19648
19654
|
tag: "div",
|
|
19649
19655
|
type: "transition-group",
|
|
@@ -19651,16 +19657,16 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19651
19657
|
}
|
|
19652
19658
|
}, i.value, {
|
|
19653
19659
|
disabled: !1,
|
|
19654
|
-
onStart: S[1] || (S[1] = (
|
|
19655
|
-
onEnd: S[2] || (S[2] = (
|
|
19660
|
+
onStart: S[1] || (S[1] = (oe) => o.value = !0),
|
|
19661
|
+
onEnd: S[2] || (S[2] = (oe) => o.value = !1),
|
|
19656
19662
|
"item-key": "id"
|
|
19657
19663
|
}), {
|
|
19658
|
-
item: C(({ element:
|
|
19664
|
+
item: C(({ element: oe, index: G }) => [
|
|
19659
19665
|
r("div", nQ, [
|
|
19660
19666
|
r("div", aQ, [
|
|
19661
19667
|
r("div", {
|
|
19662
19668
|
class: "drag-handle",
|
|
19663
|
-
onClick: (ae) => k(
|
|
19669
|
+
onClick: (ae) => k(oe)
|
|
19664
19670
|
}, [
|
|
19665
19671
|
h(V, { style: { "margin-right": "10px" } }),
|
|
19666
19672
|
U(g(c(u)("setting.link")), 1)
|
|
@@ -19669,7 +19675,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19669
19675
|
h(R, { class: "icon_drag" }),
|
|
19670
19676
|
h(N, {
|
|
19671
19677
|
class: "btn-delete",
|
|
19672
|
-
onClick: pt((ae) => E(ne.id,
|
|
19678
|
+
onClick: pt((ae) => E(ne.id, oe.id), ["stop"])
|
|
19673
19679
|
}, null, 8, ["onClick"])
|
|
19674
19680
|
])
|
|
19675
19681
|
]),
|
|
@@ -19678,14 +19684,14 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19678
19684
|
Re(r("div", null, [
|
|
19679
19685
|
r("p", iQ, g(c(u)("setting.link_text")), 1),
|
|
19680
19686
|
h(K, {
|
|
19681
|
-
modelValue:
|
|
19682
|
-
"onUpdate:modelValue": (ae) =>
|
|
19687
|
+
modelValue: oe.text,
|
|
19688
|
+
"onUpdate:modelValue": (ae) => oe.text = ae,
|
|
19683
19689
|
placeholder: c(u)("setting.please_input")
|
|
19684
19690
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
19685
19691
|
r("div", oQ, [
|
|
19686
19692
|
h(K, {
|
|
19687
|
-
modelValue:
|
|
19688
|
-
"onUpdate:modelValue": (ae) =>
|
|
19693
|
+
modelValue: oe.url,
|
|
19694
|
+
"onUpdate:modelValue": (ae) => oe.url = ae,
|
|
19689
19695
|
placeholder: c(u)("setting.input_link_url")
|
|
19690
19696
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
19691
19697
|
]),
|
|
@@ -19695,7 +19701,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19695
19701
|
U(g(c(u)("setting.link_outside_site_notice")), 1)
|
|
19696
19702
|
])
|
|
19697
19703
|
], 512), [
|
|
19698
|
-
[Ge, !B(
|
|
19704
|
+
[Ge, !B(oe)]
|
|
19699
19705
|
])
|
|
19700
19706
|
]),
|
|
19701
19707
|
_: 2
|
|
@@ -19708,7 +19714,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19708
19714
|
style: { "margin-top": "20px" },
|
|
19709
19715
|
size: "mini",
|
|
19710
19716
|
type: "primary",
|
|
19711
|
-
onClick: (
|
|
19717
|
+
onClick: (oe) => I(ne.id)
|
|
19712
19718
|
}, {
|
|
19713
19719
|
icon: C(() => [
|
|
19714
19720
|
h(_)
|
|
@@ -19889,7 +19895,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19889
19895
|
mode: "out-in"
|
|
19890
19896
|
}, {
|
|
19891
19897
|
default: C(() => {
|
|
19892
|
-
var Q, O, V, R, N, K, _, X, $, ne,
|
|
19898
|
+
var Q, O, V, R, N, K, _, X, $, ne, oe, G, ae, te, Z, ie, re, ye, xe;
|
|
19893
19899
|
return [
|
|
19894
19900
|
(y(), P("div", {
|
|
19895
19901
|
class: "pc_wrap",
|
|
@@ -19913,7 +19919,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
19913
19919
|
r("div", vQ, [
|
|
19914
19920
|
r("div", {
|
|
19915
19921
|
class: "content",
|
|
19916
|
-
innerHTML: (G = (
|
|
19922
|
+
innerHTML: (G = (oe = (ne = t.modelValue) == null ? void 0 : ne.list) == null ? void 0 : oe[d.value]) == null ? void 0 : G.content
|
|
19917
19923
|
}, null, 8, yQ)
|
|
19918
19924
|
]),
|
|
19919
19925
|
(ie = (Z = (te = (ae = t.modelValue) == null ? void 0 : ae.list) == null ? void 0 : te[d.value]) == null ? void 0 : Z.linkList) != null && ie.length ? (y(), P("div", wQ, [
|
|
@@ -20020,14 +20026,14 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
20020
20026
|
mode: "out-in"
|
|
20021
20027
|
}, {
|
|
20022
20028
|
default: C(() => {
|
|
20023
|
-
var Q, O, V, R, N, K, _, X, $, ne,
|
|
20029
|
+
var Q, O, V, R, N, K, _, X, $, ne, oe, G, ae, te, Z, ie, re, ye, xe, je, Pe, Le, Ae, Ee, Ne;
|
|
20024
20030
|
return [
|
|
20025
20031
|
(y(), P("div", {
|
|
20026
20032
|
class: "tab__content__card",
|
|
20027
20033
|
key: d.value
|
|
20028
20034
|
}, [
|
|
20029
20035
|
(V = (O = (Q = t.modelValue) == null ? void 0 : Q.list) == null ? void 0 : O[d.value]) != null && V.title ? (y(), P("h5", MQ, g((K = (N = (R = t.modelValue) == null ? void 0 : R.list) == null ? void 0 : N[d.value]) == null ? void 0 : K.title), 1)) : W("", !0),
|
|
20030
|
-
($ = (X = (_ = t.modelValue) == null ? void 0 : _.list) == null ? void 0 : X[d.value]) != null && $.label ? (y(), P("div", VQ, g((G = (
|
|
20036
|
+
($ = (X = (_ = t.modelValue) == null ? void 0 : _.list) == null ? void 0 : X[d.value]) != null && $.label ? (y(), P("div", VQ, g((G = (oe = (ne = t.modelValue) == null ? void 0 : ne.list) == null ? void 0 : oe[d.value]) == null ? void 0 : G.label), 1)) : W("", !0),
|
|
20031
20037
|
(Z = (te = (ae = t.modelValue) == null ? void 0 : ae.list) == null ? void 0 : te[d.value]) != null && Z.content ? (y(), P("div", LQ, [
|
|
20032
20038
|
r("p", {
|
|
20033
20039
|
innerHTML: (ye = (re = (ie = t.modelValue) == null ? void 0 : ie.list) == null ? void 0 : re[d.value]) == null ? void 0 : ye.content
|
|
@@ -20460,7 +20466,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
20460
20466
|
// 立即执行一次回调
|
|
20461
20467
|
}
|
|
20462
20468
|
), B(), (E, L) => {
|
|
20463
|
-
var T, S, Q, O, V, R, N, K, _, X, $, ne,
|
|
20469
|
+
var T, S, Q, O, V, R, N, K, _, X, $, ne, oe, G, ae, te, Z, ie, re;
|
|
20464
20470
|
return y(), P(he, null, [
|
|
20465
20471
|
I.value ? (y(), P("div", {
|
|
20466
20472
|
key: 0,
|
|
@@ -20583,7 +20589,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
20583
20589
|
}, null, 8, CU)
|
|
20584
20590
|
]),
|
|
20585
20591
|
r("div", xU, [
|
|
20586
|
-
r("h4", null, g((
|
|
20592
|
+
r("h4", null, g((oe = k.value) == null ? void 0 : oe.title), 1),
|
|
20587
20593
|
n.value.text ? (y(), P("div", DU, [
|
|
20588
20594
|
r("img", {
|
|
20589
20595
|
class: "icon_link_icon",
|
|
@@ -20982,8 +20988,8 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
20982
20988
|
);
|
|
20983
20989
|
}, L = (S) => w.value.has(S.key), T = (S) => b.value.has(S.id);
|
|
20984
20990
|
return (S, Q) => {
|
|
20985
|
-
const O = j("a-radio"), V = j("a-radio-group"), R = j("a-option"), N = j("a-select"), K = j("icon-drag-dot"), _ = j("icon-drag-arrow"), X = j("icon-delete"), $ = j("a-input"), ne = j("a-button"),
|
|
20986
|
-
return y(), de(
|
|
20991
|
+
const O = j("a-radio"), V = j("a-radio-group"), R = j("a-option"), N = j("a-select"), K = j("icon-drag-dot"), _ = j("icon-drag-arrow"), X = j("icon-delete"), $ = j("a-input"), ne = j("a-button"), oe = j("a-drawer");
|
|
20992
|
+
return y(), de(oe, {
|
|
20987
20993
|
width: 600,
|
|
20988
20994
|
visible: t.show,
|
|
20989
20995
|
footer: !1,
|
|
@@ -21692,7 +21698,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
21692
21698
|
}), ze(d, (G, ae) => {
|
|
21693
21699
|
b.value = G > ae, O();
|
|
21694
21700
|
});
|
|
21695
|
-
const
|
|
21701
|
+
const oe = J(() => {
|
|
21696
21702
|
var G, ae;
|
|
21697
21703
|
return n.isPreview ? ((G = n.modelValue) == null ? void 0 : G.showMode) === "pc" ? !Ie() : ((ae = n.modelValue) == null ? void 0 : ae.showMode) === "mobile" ? Ie() : !0 : !0;
|
|
21698
21704
|
});
|
|
@@ -21701,7 +21707,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
21701
21707
|
}), k(), (G, ae) => {
|
|
21702
21708
|
var te;
|
|
21703
21709
|
return y(), P(he, null, [
|
|
21704
|
-
|
|
21710
|
+
oe.value ? (y(), P("div", {
|
|
21705
21711
|
key: 0,
|
|
21706
21712
|
class: "publications",
|
|
21707
21713
|
style: Ve([c(a), { backgroundColor: ((te = t.modelValue) == null ? void 0 : te.bgColor) || "transparent" }]),
|
|
@@ -21871,7 +21877,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
21871
21877
|
emits: ["update:show"],
|
|
21872
21878
|
setup(t, { emit: e }) {
|
|
21873
21879
|
const n = $e(
|
|
21874
|
-
() => import("./index-
|
|
21880
|
+
() => import("./index-CHFxx1ZN.mjs")
|
|
21875
21881
|
), a = $e(() => import("vuedraggable")), s = t, { t: i } = Be(() => s.locale), l = z(!1), o = z(/* @__PURE__ */ new Set()), d = z(/* @__PURE__ */ new Set());
|
|
21876
21882
|
ze(
|
|
21877
21883
|
() => {
|
|
@@ -21971,7 +21977,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
21971
21977
|
R && R.list && (R.list = R.list.filter((N) => N.id !== O));
|
|
21972
21978
|
};
|
|
21973
21979
|
return (O, V) => {
|
|
21974
|
-
const R = j("a-radio"), N = j("a-radio-group"), K = j("a-input"), _ = j("icon-drag-dot"), X = j("icon-drag-arrow"), $ = j("icon-delete"), ne = j("a-option"),
|
|
21980
|
+
const R = j("a-radio"), N = j("a-radio-group"), K = j("a-input"), _ = j("icon-drag-dot"), X = j("icon-drag-arrow"), $ = j("icon-delete"), ne = j("a-option"), oe = j("a-select"), G = j("icon-plus"), ae = j("a-button"), te = j("a-drawer");
|
|
21975
21981
|
return y(), de(te, {
|
|
21976
21982
|
width: 600,
|
|
21977
21983
|
visible: t.show,
|
|
@@ -22116,7 +22122,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
22116
22122
|
}, ["stop"]))
|
|
22117
22123
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
22118
22124
|
r("p", $H, g(c(i)("setting.detail_popup_position")), 1),
|
|
22119
|
-
h(
|
|
22125
|
+
h(oe, {
|
|
22120
22126
|
modelValue: Z.textPos,
|
|
22121
22127
|
"onUpdate:modelValue": (re) => Z.textPos = re,
|
|
22122
22128
|
style: { width: "320px" },
|
|
@@ -22504,7 +22510,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
22504
22510
|
y_coordinates: 70,
|
|
22505
22511
|
zoom_desktop: 1.75,
|
|
22506
22512
|
zoom_mobile: 2.25
|
|
22507
|
-
}), p = z(NaN), x = z(NaN), k = z(!1), B = z(!1), I = z(null), E = z(null), L = z(null), T = z(null), S = z(0), Q = z(0), O = z(!1), V = z(0), R = z(0), N = z(!0), K = z(!0), _ = z(!0), X = z(!0), $ = z(), ne = z(),
|
|
22513
|
+
}), p = z(NaN), x = z(NaN), k = z(!1), B = z(!1), I = z(null), E = z(null), L = z(null), T = z(null), S = z(0), Q = z(0), O = z(!1), V = z(0), R = z(0), N = z(!0), K = z(!0), _ = z(!0), X = z(!0), $ = z(), ne = z(), oe = J(() => ({
|
|
22508
22514
|
transformOrigin: `${Z.value}% 50%`,
|
|
22509
22515
|
transform: `translate(${S.value}px, ${Q.value}px)`,
|
|
22510
22516
|
height: `${xe.value * 100}%`
|
|
@@ -22676,7 +22682,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
22676
22682
|
}]),
|
|
22677
22683
|
ref_key: "wrapper",
|
|
22678
22684
|
ref: ne,
|
|
22679
|
-
style: Ve(
|
|
22685
|
+
style: Ve(oe.value),
|
|
22680
22686
|
draggable: B.value,
|
|
22681
22687
|
onMousedown: qe[0] || (qe[0] = (et) => Ee(et)),
|
|
22682
22688
|
onMouseup: Ne,
|
|
@@ -23185,11 +23191,11 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
23185
23191
|
}), k = J(() => v.value >= 768 ? 2 : 3), B = J(() => {
|
|
23186
23192
|
var X;
|
|
23187
23193
|
const R = (X = n.modelValue) == null ? void 0 : X.data;
|
|
23188
|
-
return (Array.isArray(R) ? R : []).reduce(($, ne,
|
|
23189
|
-
const G = Math.floor(
|
|
23194
|
+
return (Array.isArray(R) ? R : []).reduce(($, ne, oe) => {
|
|
23195
|
+
const G = Math.floor(oe / x.value);
|
|
23190
23196
|
return $[G] || ($[G] = []), $[G].push(ne), $;
|
|
23191
|
-
}, []).reduce(($, ne,
|
|
23192
|
-
const G = Math.floor(
|
|
23197
|
+
}, []).reduce(($, ne, oe) => {
|
|
23198
|
+
const G = Math.floor(oe / k.value);
|
|
23193
23199
|
return $[G] || ($[G] = []), $[G].push(ne), $;
|
|
23194
23200
|
}, []);
|
|
23195
23201
|
}), I = z(0), E = z(), L = z(!1), T = (R) => {
|
|
@@ -23213,7 +23219,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
23213
23219
|
return at(() => {
|
|
23214
23220
|
S();
|
|
23215
23221
|
}), l(), (R, N) => {
|
|
23216
|
-
var _, X, $, ne,
|
|
23222
|
+
var _, X, $, ne, oe;
|
|
23217
23223
|
const K = j("client-only");
|
|
23218
23224
|
return y(), P(he, null, [
|
|
23219
23225
|
o.value ? (y(), P("div", {
|
|
@@ -23227,7 +23233,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
23227
23233
|
class: ue(["carousel-logo__container", [(X = t.modelValue) != null && X.width ? `container-content-${($ = t.modelValue) == null ? void 0 : $.width}` : "container-content"]])
|
|
23228
23234
|
}, [
|
|
23229
23235
|
(ne = t.modelValue) != null && ne.isNoSlide ? (y(), P("div", CR, [
|
|
23230
|
-
(y(!0), P(he, null, ke((
|
|
23236
|
+
(y(!0), P(he, null, ke((oe = t.modelValue) == null ? void 0 : oe.data, (G, ae) => {
|
|
23231
23237
|
var te, Z, ie, re;
|
|
23232
23238
|
return y(), P("div", {
|
|
23233
23239
|
class: "logo-card col flex-center flex-column",
|
|
@@ -23952,7 +23958,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
23952
23958
|
i("handleClick", V);
|
|
23953
23959
|
};
|
|
23954
23960
|
return (V, R) => {
|
|
23955
|
-
var N, K, _, X, $, ne,
|
|
23961
|
+
var N, K, _, X, $, ne, oe, G, ae, te, Z, ie;
|
|
23956
23962
|
return y(), P(he, null, [
|
|
23957
23963
|
o.value ? (y(), P("div", {
|
|
23958
23964
|
key: 0,
|
|
@@ -24014,7 +24020,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
24014
24020
|
r("div", AN, [
|
|
24015
24021
|
I.value ? (y(), P("div", vN, [
|
|
24016
24022
|
r("img", {
|
|
24017
|
-
src: (
|
|
24023
|
+
src: (oe = f.value) == null ? void 0 : oe.qrcode,
|
|
24018
24024
|
alt: "qrcode"
|
|
24019
24025
|
}, null, 8, yN)
|
|
24020
24026
|
])) : W("", !0),
|
|
@@ -25128,7 +25134,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
25128
25134
|
},
|
|
25129
25135
|
emits: ["update:show"],
|
|
25130
25136
|
setup(t, { emit: e }) {
|
|
25131
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
25137
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
25132
25138
|
animation: 200,
|
|
25133
25139
|
group: "data",
|
|
25134
25140
|
// 专用分组
|
|
@@ -25465,7 +25471,7 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
25465
25471
|
},
|
|
25466
25472
|
emits: ["update:show"],
|
|
25467
25473
|
setup(t, { emit: e }) {
|
|
25468
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
25474
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
25469
25475
|
animation: 200,
|
|
25470
25476
|
group: "data",
|
|
25471
25477
|
// 专用分组
|
|
@@ -25995,14 +26001,14 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
25995
26001
|
]),
|
|
25996
26002
|
r("div", Zj, [
|
|
25997
26003
|
(y(!0), P(he, null, ke(X.collapseList || [], ($, ne) => {
|
|
25998
|
-
var
|
|
26004
|
+
var oe;
|
|
25999
26005
|
return y(), P("div", {
|
|
26000
26006
|
class: "",
|
|
26001
26007
|
key: $.id
|
|
26002
26008
|
}, [
|
|
26003
26009
|
h(R1, {
|
|
26004
26010
|
index: Number(ne) + 1,
|
|
26005
|
-
maxIndex: ((
|
|
26011
|
+
maxIndex: ((oe = X.collapseList) == null ? void 0 : oe.length) ?? 0,
|
|
26006
26012
|
collapseID: $.id,
|
|
26007
26013
|
title: $.title,
|
|
26008
26014
|
detail: $.detail,
|
|
@@ -26012,12 +26018,12 @@ const hn = x1(), wT = x1(), bT = ["onClick"], CT = /* @__PURE__ */ we({
|
|
|
26012
26018
|
]);
|
|
26013
26019
|
}), 128)),
|
|
26014
26020
|
(y(!0), P(he, null, ke(X.basicList || [], ($) => {
|
|
26015
|
-
var ne,
|
|
26021
|
+
var ne, oe;
|
|
26016
26022
|
return y(), P("div", {
|
|
26017
26023
|
key: $.id
|
|
26018
26024
|
}, [
|
|
26019
26025
|
r("p", {
|
|
26020
|
-
class: ue(["mt-6", { "tx-h4": (ne = t.modelValue) == null ? void 0 : ne.isDescription, "tx-body-big": !((
|
|
26026
|
+
class: ue(["mt-6", { "tx-h4": (ne = t.modelValue) == null ? void 0 : ne.isDescription, "tx-body-big": !((oe = t.modelValue) != null && oe.isDescription) }])
|
|
26021
26027
|
}, g($.title), 3)
|
|
26022
26028
|
]);
|
|
26023
26029
|
}), 128))
|
|
@@ -27301,13 +27307,13 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
27301
27307
|
school_or_organisation_name: [],
|
|
27302
27308
|
opt_out_direct_marketing: !1
|
|
27303
27309
|
}, x.value = !1, k.value = !0, setTimeout(() => {
|
|
27304
|
-
k.value = !1,
|
|
27310
|
+
k.value = !1, oe();
|
|
27305
27311
|
}, 2500);
|
|
27306
27312
|
}, ne = () => {
|
|
27307
27313
|
x.value = !1, B.value = !0, setTimeout(() => {
|
|
27308
27314
|
B.value = !1;
|
|
27309
27315
|
}, 3500);
|
|
27310
|
-
},
|
|
27316
|
+
}, oe = () => {
|
|
27311
27317
|
p.value = !1, Fe(() => {
|
|
27312
27318
|
p.value = !0;
|
|
27313
27319
|
});
|
|
@@ -28165,7 +28171,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
28165
28171
|
return ((re = n.modelValue) == null ? void 0 : re.isLoop) ?? !0;
|
|
28166
28172
|
}), K = z([]), _ = J(() => S.value < 768), X = J(() => K.value.length), $ = J(() => K.value.length > 3 && S.value >= 1024 || K.value.length > 2 && S.value >= 768 && S.value < 1024 || S.value < 768), ne = (re) => {
|
|
28167
28173
|
I.value = re.realIndex;
|
|
28168
|
-
},
|
|
28174
|
+
}, oe = (re) => {
|
|
28169
28175
|
T.value = re, E.value || Fe(() => {
|
|
28170
28176
|
setTimeout(ie, 100);
|
|
28171
28177
|
});
|
|
@@ -28217,7 +28223,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
28217
28223
|
class: "swiper card-carousel__swiper",
|
|
28218
28224
|
onSlideChange: ne,
|
|
28219
28225
|
onClickSlide: Z,
|
|
28220
|
-
onSwiper:
|
|
28226
|
+
onSwiper: oe
|
|
28221
28227
|
}, {
|
|
28222
28228
|
default: C(() => [
|
|
28223
28229
|
(y(!0), P(he, null, ke(K.value, (Pe, Le) => (y(), de(c(ja), {
|
|
@@ -28780,7 +28786,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
28780
28786
|
max: "container-content-max",
|
|
28781
28787
|
中: "container-content-middle"
|
|
28782
28788
|
}[Pe] || "container-content" : typeof Pe == "number" ? `container-content-${Pe}` : "container-content";
|
|
28783
|
-
}),
|
|
28789
|
+
}), oe = (Pe) => {
|
|
28784
28790
|
var Le;
|
|
28785
28791
|
B.value = (Pe == null ? void 0 : Pe.realIndex) ?? ((Le = x.value) == null ? void 0 : Le.realIndex) ?? 0, je(), xe();
|
|
28786
28792
|
}, G = (Pe) => {
|
|
@@ -28868,7 +28874,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
28868
28874
|
"auto-height": !0,
|
|
28869
28875
|
class: "swiper card-carousel__swiper",
|
|
28870
28876
|
onSwiper: k,
|
|
28871
|
-
onSlideChange:
|
|
28877
|
+
onSlideChange: oe
|
|
28872
28878
|
}, {
|
|
28873
28879
|
default: C(() => [
|
|
28874
28880
|
(y(!0), P(he, null, ke(_.value, (Ee, Ne) => (y(), de(c(ja), {
|
|
@@ -28954,7 +28960,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
28954
28960
|
emits: ["update:show"],
|
|
28955
28961
|
setup(t, { emit: e }) {
|
|
28956
28962
|
const n = $e(
|
|
28957
|
-
() => import("./index-
|
|
28963
|
+
() => import("./index-CHFxx1ZN.mjs")
|
|
28958
28964
|
), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
28959
28965
|
i("update:show", !1);
|
|
28960
28966
|
};
|
|
@@ -29216,7 +29222,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
29216
29222
|
emits: ["update:show"],
|
|
29217
29223
|
setup(t, { emit: e }) {
|
|
29218
29224
|
const n = $e(
|
|
29219
|
-
() => import("./index-
|
|
29225
|
+
() => import("./index-CHFxx1ZN.mjs")
|
|
29220
29226
|
), a = t, { t: s } = Be(() => a.locale), i = e, l = () => {
|
|
29221
29227
|
i("update:show", !1);
|
|
29222
29228
|
};
|
|
@@ -31027,27 +31033,27 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
31027
31033
|
},
|
|
31028
31034
|
emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste", "showLightboxVideo", "showLightboxImage", "handleClick"],
|
|
31029
31035
|
setup(t, { emit: e }) {
|
|
31030
|
-
const n = t, { themeStyle: a } = Je(n.brand), s = e, i = (
|
|
31031
|
-
s("handleClick",
|
|
31036
|
+
const n = t, { themeStyle: a } = Je(n.brand), s = e, i = (oe) => {
|
|
31037
|
+
s("handleClick", oe);
|
|
31032
31038
|
}, l = () => {
|
|
31033
31039
|
var G, ae, te;
|
|
31034
|
-
const
|
|
31040
|
+
const oe = {
|
|
31035
31041
|
id: ((G = n.modelValue) == null ? void 0 : G.id) || ee(),
|
|
31036
31042
|
type: "BlessingSlider",
|
|
31037
31043
|
showMode: "",
|
|
31038
31044
|
bgColor: ((ae = n.modelValue) == null ? void 0 : ae.bgColor) || "",
|
|
31039
31045
|
api: ((te = n.modelValue) == null ? void 0 : te.api) || "/blessing-board/blessing-messages/featured?count=6"
|
|
31040
31046
|
};
|
|
31041
|
-
s("update:modelValue",
|
|
31047
|
+
s("update:modelValue", oe);
|
|
31042
31048
|
}, o = J(() => {
|
|
31043
|
-
var
|
|
31044
|
-
return n.isPreview ? ((
|
|
31049
|
+
var oe, G;
|
|
31050
|
+
return n.isPreview ? ((oe = n.modelValue) == null ? void 0 : oe.showMode) === "pc" ? !Ie() : ((G = n.modelValue) == null ? void 0 : G.showMode) === "mobile" ? Ie() : !0 : !0;
|
|
31045
31051
|
}), d = z(!1), u = z(!1), m = () => {
|
|
31046
31052
|
s("handleDelete", n.modelValue.id);
|
|
31047
31053
|
}, w = () => {
|
|
31048
31054
|
s("handleCopy", n.modelValue);
|
|
31049
|
-
}, b = (
|
|
31050
|
-
s("handlePaste",
|
|
31055
|
+
}, b = (oe) => {
|
|
31056
|
+
s("handlePaste", oe);
|
|
31051
31057
|
};
|
|
31052
31058
|
l();
|
|
31053
31059
|
const f = z([]), A = z(0), v = z(1), p = z(0), x = z(0), k = z(null), B = z(!1), I = J(() => f.value.length), E = J(() => f.value[A.value]), L = J(
|
|
@@ -31094,29 +31100,29 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
31094
31100
|
value: "其他"
|
|
31095
31101
|
}
|
|
31096
31102
|
]), V = J(() => {
|
|
31097
|
-
var
|
|
31098
|
-
return E.value ? E.value.person_type === "others" ? (
|
|
31103
|
+
var oe, G, ae;
|
|
31104
|
+
return E.value ? E.value.person_type === "others" ? (oe = E.value) == null ? void 0 : oe.label : ((G = O.value.find((te) => {
|
|
31099
31105
|
var Z;
|
|
31100
31106
|
return te.key === ((Z = E.value) == null ? void 0 : Z.person_type);
|
|
31101
31107
|
})) == null ? void 0 : G.name) ?? ((ae = E.value) == null ? void 0 : ae.label) : null;
|
|
31102
|
-
}), R = (
|
|
31103
|
-
v.value =
|
|
31108
|
+
}), R = (oe) => {
|
|
31109
|
+
v.value = oe > A.value ? 1 : -1, A.value = (oe + I.value) % I.value;
|
|
31104
31110
|
}, N = () => {
|
|
31105
31111
|
x.value < p.value && R(A.value + 1), x.value > p.value && R(A.value - 1);
|
|
31106
|
-
}, K = (
|
|
31107
|
-
p.value =
|
|
31108
|
-
}, _ = (
|
|
31109
|
-
x.value =
|
|
31110
|
-
}, X = z(!1), $ = (
|
|
31111
|
-
k.value =
|
|
31112
|
+
}, K = (oe) => {
|
|
31113
|
+
p.value = oe.changedTouches[0].screenX;
|
|
31114
|
+
}, _ = (oe) => {
|
|
31115
|
+
x.value = oe.changedTouches[0].screenX, N();
|
|
31116
|
+
}, X = z(!1), $ = (oe) => {
|
|
31117
|
+
k.value = oe, X.value = !0;
|
|
31112
31118
|
}, ne = async () => {
|
|
31113
|
-
const
|
|
31119
|
+
const oe = {
|
|
31114
31120
|
headers: {
|
|
31115
31121
|
website: `${n.website}-${n.lang}`
|
|
31116
31122
|
}
|
|
31117
31123
|
};
|
|
31118
31124
|
try {
|
|
31119
|
-
const { data: G } = await hn.get("/blessing-board/blessing-messages/featured?count=6",
|
|
31125
|
+
const { data: G } = await hn.get("/blessing-board/blessing-messages/featured?count=6", oe);
|
|
31120
31126
|
f.value = Array.isArray(G == null ? void 0 : G.data) ? G.data : [];
|
|
31121
31127
|
} catch {
|
|
31122
31128
|
f.value = [];
|
|
@@ -31124,7 +31130,7 @@ const EY = /* @__PURE__ */ Hi(BY), kY = { class: "setting-content" }, PY = { cla
|
|
|
31124
31130
|
};
|
|
31125
31131
|
return at(() => {
|
|
31126
31132
|
ne();
|
|
31127
|
-
}), (
|
|
31133
|
+
}), (oe, G) => {
|
|
31128
31134
|
var ae;
|
|
31129
31135
|
return y(), P(he, null, [
|
|
31130
31136
|
o.value ? (y(), P("div", {
|
|
@@ -33225,27 +33231,27 @@ const iZ = {
|
|
|
33225
33231
|
if (!te || typeof window > "u") return;
|
|
33226
33232
|
const Z = E.value >= 1024 ? 170 : 150, ie = $(te).y - Z;
|
|
33227
33233
|
window.scroll({ top: ie, left: 0, behavior: "smooth" });
|
|
33228
|
-
},
|
|
33234
|
+
}, oe = (te) => {
|
|
33229
33235
|
const Z = te.currentTarget, ie = Z.dataset.slug, re = Z.dataset.type, ye = I.value.find((xe) => xe.key == ie || xe.slug == ie);
|
|
33230
33236
|
ye && (re === "photo" ? X(ye) : _(ye));
|
|
33231
33237
|
}, G = () => {
|
|
33232
33238
|
typeof document > "u" || (Object.values(document.getElementsByClassName("card-asset")).forEach(
|
|
33233
33239
|
(te) => {
|
|
33234
|
-
te.addEventListener("click",
|
|
33240
|
+
te.addEventListener("click", oe);
|
|
33235
33241
|
}
|
|
33236
33242
|
), Object.values(document.getElementsByClassName("card-video")).forEach(
|
|
33237
33243
|
(te) => {
|
|
33238
|
-
te.addEventListener("click",
|
|
33244
|
+
te.addEventListener("click", oe);
|
|
33239
33245
|
}
|
|
33240
33246
|
));
|
|
33241
33247
|
}, ae = () => {
|
|
33242
33248
|
typeof document > "u" || (Object.values(document.getElementsByClassName("card-asset")).forEach(
|
|
33243
33249
|
(te) => {
|
|
33244
|
-
te.removeEventListener("click",
|
|
33250
|
+
te.removeEventListener("click", oe);
|
|
33245
33251
|
}
|
|
33246
33252
|
), Object.values(document.getElementsByClassName("card-video")).forEach(
|
|
33247
33253
|
(te) => {
|
|
33248
|
-
te.removeEventListener("click",
|
|
33254
|
+
te.removeEventListener("click", oe);
|
|
33249
33255
|
}
|
|
33250
33256
|
));
|
|
33251
33257
|
};
|
|
@@ -34120,9 +34126,6 @@ const iZ = {
|
|
|
34120
34126
|
}, m = () => {
|
|
34121
34127
|
l.data.data.push({
|
|
34122
34128
|
id: ee(),
|
|
34123
|
-
type: "Video",
|
|
34124
|
-
videoSrc: "",
|
|
34125
|
-
imgSrc: "",
|
|
34126
34129
|
name: "",
|
|
34127
34130
|
key: "",
|
|
34128
34131
|
componentsDataJson: []
|
|
@@ -34381,7 +34384,7 @@ const iZ = {
|
|
|
34381
34384
|
}, 8, ["visible"]);
|
|
34382
34385
|
};
|
|
34383
34386
|
}
|
|
34384
|
-
}), R$ = /* @__PURE__ */ pe(F$, [["__scopeId", "data-v-
|
|
34387
|
+
}), R$ = /* @__PURE__ */ pe(F$, [["__scopeId", "data-v-cb0f5cca"]]), N$ = { class: "tab-default__tab" }, z$ = { class: "tab-blue__wrapper flex-center" }, j$ = ["id"], Y$ = ["id", "onClick"], G$ = { class: "tab-default__content" }, q$ = {
|
|
34385
34388
|
"data-aos": "fade-in",
|
|
34386
34389
|
"data-aos-duration": "1500",
|
|
34387
34390
|
class: "aos-init aos-animate"
|
|
@@ -34487,7 +34490,7 @@ const iZ = {
|
|
|
34487
34490
|
B.value = Ae.getBoundingClientRect().right - Ee;
|
|
34488
34491
|
const be = p.value;
|
|
34489
34492
|
be && (be.scrollLeft -= Ne - B.value);
|
|
34490
|
-
}, ne = z(!1),
|
|
34493
|
+
}, ne = z(!1), oe = z(!1), G = J(() => {
|
|
34491
34494
|
var Ee;
|
|
34492
34495
|
if (!((Ee = a.modelValue) != null && Ee.data) || !Array.isArray(a.modelValue.data))
|
|
34493
34496
|
return [];
|
|
@@ -34612,8 +34615,8 @@ const iZ = {
|
|
|
34612
34615
|
key: 0,
|
|
34613
34616
|
class: "tab-default__container",
|
|
34614
34617
|
style: Ve([c(s), { backgroundColor: (Ne = t.modelValue) == null ? void 0 : Ne.bgColor }]),
|
|
34615
|
-
onMouseover: Ee[9] || (Ee[9] = (Ue) =>
|
|
34616
|
-
onMouseout: Ee[10] || (Ee[10] = (Ue) =>
|
|
34618
|
+
onMouseover: Ee[9] || (Ee[9] = (Ue) => oe.value = !0),
|
|
34619
|
+
onMouseout: Ee[10] || (Ee[10] = (Ue) => oe.value = !1)
|
|
34617
34620
|
}, [
|
|
34618
34621
|
r("div", {
|
|
34619
34622
|
class: ue(["container-content-small", [(be = t.modelValue) != null && be.width ? `container-content-${(Ce = t.modelValue) == null ? void 0 : Ce.width}` : "container-content"]])
|
|
@@ -34708,8 +34711,8 @@ const iZ = {
|
|
|
34708
34711
|
]),
|
|
34709
34712
|
!t.isPreview && t.showOperate ? (y(), de(Ze, {
|
|
34710
34713
|
key: 0,
|
|
34711
|
-
show:
|
|
34712
|
-
"onUpdate:show": Ee[6] || (Ee[6] = (Ue) =>
|
|
34714
|
+
show: oe.value,
|
|
34715
|
+
"onUpdate:show": Ee[6] || (Ee[6] = (Ue) => oe.value = Ue),
|
|
34713
34716
|
locale: t.locale,
|
|
34714
34717
|
onHandleEdit: Ee[7] || (Ee[7] = (Ue) => ne.value = !0),
|
|
34715
34718
|
onHandleDelete: re,
|
|
@@ -34938,11 +34941,11 @@ const iZ = {
|
|
|
34938
34941
|
}, V = () => {
|
|
34939
34942
|
const R = w.value;
|
|
34940
34943
|
R && R.forEach((N, K) => {
|
|
34941
|
-
const _ = m.value[K], X = co(_).y, $ = co(_).y + _.clientHeight, ne = i.value + T() + 80,
|
|
34944
|
+
const _ = m.value[K], X = co(_).y, $ = co(_).y + _.clientHeight, ne = i.value + T() + 80, oe = {
|
|
34942
34945
|
top: X,
|
|
34943
34946
|
bottom: $
|
|
34944
34947
|
};
|
|
34945
|
-
ne <
|
|
34948
|
+
ne < oe.top ? (N.classList.add("is-btn-top"), N.classList.remove("is-btn-fixed"), N.classList.remove("is-btn-bottom")) : ne > oe.bottom ? (N.classList.add("is-btn-bottom"), N.classList.remove("is-btn-fixed"), N.classList.remove("is-btn-top")) : (N.classList.add("is-btn-fixed"), N.classList.remove("is-btn-top"), N.classList.remove("is-btn-bottom"));
|
|
34946
34949
|
});
|
|
34947
34950
|
};
|
|
34948
34951
|
return ze(
|
|
@@ -35453,12 +35456,12 @@ const iZ = {
|
|
|
35453
35456
|
}, V = () => {
|
|
35454
35457
|
var G, ae;
|
|
35455
35458
|
if (!w.value || !m.value) return;
|
|
35456
|
-
const X = w.value.getBoundingClientRect().top, $ = m.value.getBoundingClientRect().top, ne = m.value.getBoundingClientRect().bottom,
|
|
35457
|
-
if ($ >
|
|
35459
|
+
const X = w.value.getBoundingClientRect().top, $ = m.value.getBoundingClientRect().top, ne = m.value.getBoundingClientRect().bottom, oe = +((ae = (G = window.getComputedStyle(document.body)) == null ? void 0 : G.getPropertyValue("--header-height-calc")) == null ? void 0 : ae.split("px")[0]) || 72;
|
|
35460
|
+
if ($ > oe || ne < oe) {
|
|
35458
35461
|
A.value = !1;
|
|
35459
35462
|
return;
|
|
35460
35463
|
}
|
|
35461
|
-
X <=
|
|
35464
|
+
X <= oe && (A.value = !0);
|
|
35462
35465
|
}, R = () => {
|
|
35463
35466
|
if (a.value <= 768) return;
|
|
35464
35467
|
const X = m.value, ne = co(X).y - 150;
|
|
@@ -35480,7 +35483,7 @@ const iZ = {
|
|
|
35480
35483
|
}), E(), at(() => {
|
|
35481
35484
|
K();
|
|
35482
35485
|
}), (X, $) => {
|
|
35483
|
-
var ne,
|
|
35486
|
+
var ne, oe, G;
|
|
35484
35487
|
return L.value ? (y(), P("div", {
|
|
35485
35488
|
key: 0,
|
|
35486
35489
|
class: ue(["tab-timeline", x.value]),
|
|
@@ -35492,7 +35495,7 @@ const iZ = {
|
|
|
35492
35495
|
}, [
|
|
35493
35496
|
r("div", {
|
|
35494
35497
|
class: ue(["tab-timeline__wrapper", [
|
|
35495
|
-
(
|
|
35498
|
+
(oe = t.modelValue) != null && oe.width ? `container-content-${(G = t.modelValue) == null ? void 0 : G.width}` : "container-content"
|
|
35496
35499
|
]])
|
|
35497
35500
|
}, [
|
|
35498
35501
|
Re(r("div", {
|
|
@@ -36060,7 +36063,7 @@ const iZ = {
|
|
|
36060
36063
|
},
|
|
36061
36064
|
emits: ["update:show"],
|
|
36062
36065
|
setup(t, { emit: e }) {
|
|
36063
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
36066
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
36064
36067
|
animation: 200,
|
|
36065
36068
|
group: "programmes",
|
|
36066
36069
|
// 链接专用分组
|
|
@@ -62160,7 +62163,7 @@ browserWorkerPolyFill(self);
|
|
|
62160
62163
|
}, i = {
|
|
62161
62164
|
getUint64: s,
|
|
62162
62165
|
MAX_UINT32: a
|
|
62163
|
-
}, l = i.MAX_UINT32, o, d, u, m, w, b, f, A, v, p, x, k, B, I, E, L, T, S, Q, O, V, R, N, K, _, X, $, ne,
|
|
62166
|
+
}, l = i.MAX_UINT32, o, d, u, m, w, b, f, A, v, p, x, k, B, I, E, L, T, S, Q, O, V, R, N, K, _, X, $, ne, oe, G, ae, te, Z, ie, re, ye;
|
|
62164
62167
|
(function() {
|
|
62165
62168
|
var D;
|
|
62166
62169
|
if (N = {
|
|
@@ -62297,7 +62300,7 @@ browserWorkerPolyFill(self);
|
|
|
62297
62300
|
114,
|
|
62298
62301
|
0
|
|
62299
62302
|
// name: 'SoundHandler'
|
|
62300
|
-
]),
|
|
62303
|
+
]), oe = {
|
|
62301
62304
|
video: $,
|
|
62302
62305
|
audio: ne
|
|
62303
62306
|
}, te = new Uint8Array([
|
|
@@ -62458,7 +62461,7 @@ browserWorkerPolyFill(self);
|
|
|
62458
62461
|
}, m = function() {
|
|
62459
62462
|
return o(N.ftyp, K, _, K, X);
|
|
62460
62463
|
}, L = function(D) {
|
|
62461
|
-
return o(N.hdlr,
|
|
62464
|
+
return o(N.hdlr, oe[D]);
|
|
62462
62465
|
}, w = function(D) {
|
|
62463
62466
|
return o(N.mdat, D);
|
|
62464
62467
|
}, E = function(D) {
|
|
@@ -62666,11 +62669,11 @@ browserWorkerPolyFill(self);
|
|
|
62666
62669
|
1
|
|
62667
62670
|
]), F.type === "video" ? D(F) : M(F));
|
|
62668
62671
|
}, D = function(F) {
|
|
62669
|
-
var H = F.sps || [], Y = F.pps || [], q = [], se = [],
|
|
62670
|
-
for (
|
|
62671
|
-
q.push((H[
|
|
62672
|
-
for (
|
|
62673
|
-
se.push((Y[
|
|
62672
|
+
var H = F.sps || [], Y = F.pps || [], q = [], se = [], le, ce;
|
|
62673
|
+
for (le = 0; le < H.length; le++)
|
|
62674
|
+
q.push((H[le].byteLength & 65280) >>> 8), q.push(H[le].byteLength & 255), q = q.concat(Array.prototype.slice.call(H[le]));
|
|
62675
|
+
for (le = 0; le < Y.length; le++)
|
|
62676
|
+
se.push((Y[le].byteLength & 65280) >>> 8), se.push(Y[le].byteLength & 255), se = se.concat(Array.prototype.slice.call(Y[le]));
|
|
62674
62677
|
if (ce = [N.avc1, new Uint8Array([
|
|
62675
62678
|
0,
|
|
62676
62679
|
0,
|
|
@@ -62953,7 +62956,7 @@ browserWorkerPolyFill(self);
|
|
|
62953
62956
|
]);
|
|
62954
62957
|
return o(N.tkhd, M);
|
|
62955
62958
|
}, O = function(D) {
|
|
62956
|
-
var M, F, H, Y, q, se,
|
|
62959
|
+
var M, F, H, Y, q, se, le;
|
|
62957
62960
|
return M = o(N.tfhd, new Uint8Array([
|
|
62958
62961
|
0,
|
|
62959
62962
|
// version 0
|
|
@@ -62986,7 +62989,7 @@ browserWorkerPolyFill(self);
|
|
|
62986
62989
|
0,
|
|
62987
62990
|
0
|
|
62988
62991
|
// default_sample_flags
|
|
62989
|
-
])), se = Math.floor(D.baseMediaDecodeTime / l),
|
|
62992
|
+
])), se = Math.floor(D.baseMediaDecodeTime / l), le = Math.floor(D.baseMediaDecodeTime % l), F = o(N.tfdt, new Uint8Array([
|
|
62990
62993
|
1,
|
|
62991
62994
|
// version 1
|
|
62992
62995
|
0,
|
|
@@ -62998,10 +63001,10 @@ browserWorkerPolyFill(self);
|
|
|
62998
63001
|
se >>> 16 & 255,
|
|
62999
63002
|
se >>> 8 & 255,
|
|
63000
63003
|
se & 255,
|
|
63001
|
-
|
|
63002
|
-
|
|
63003
|
-
|
|
63004
|
-
|
|
63004
|
+
le >>> 24 & 255,
|
|
63005
|
+
le >>> 16 & 255,
|
|
63006
|
+
le >>> 8 & 255,
|
|
63007
|
+
le & 255
|
|
63005
63008
|
])), q = 92, D.type === "audio" ? (H = R(D, q), o(N.traf, M, F, H)) : (Y = T(D), H = R(D, Y.length + q), o(N.traf, M, F, H, Y));
|
|
63006
63009
|
}, k = function(D) {
|
|
63007
63010
|
return D.duration = D.duration || 4294967295, o(N.trak, B(D), I(D));
|
|
@@ -63043,12 +63046,12 @@ browserWorkerPolyFill(self);
|
|
|
63043
63046
|
}, function() {
|
|
63044
63047
|
var D, M, F;
|
|
63045
63048
|
F = function(H, Y) {
|
|
63046
|
-
var q = 0, se = 0,
|
|
63047
|
-
return H.length && (H[0].duration !== void 0 && (q = 1), H[0].size !== void 0 && (se = 2), H[0].flags !== void 0 && (
|
|
63049
|
+
var q = 0, se = 0, le = 0, ce = 0;
|
|
63050
|
+
return H.length && (H[0].duration !== void 0 && (q = 1), H[0].size !== void 0 && (se = 2), H[0].flags !== void 0 && (le = 4), H[0].compositionTimeOffset !== void 0 && (ce = 8)), [
|
|
63048
63051
|
0,
|
|
63049
63052
|
// version 0
|
|
63050
63053
|
0,
|
|
63051
|
-
q | se |
|
|
63054
|
+
q | se | le | ce,
|
|
63052
63055
|
1,
|
|
63053
63056
|
// flags
|
|
63054
63057
|
(H.length & 4278190080) >>> 24,
|
|
@@ -63063,13 +63066,13 @@ browserWorkerPolyFill(self);
|
|
|
63063
63066
|
// data_offset
|
|
63064
63067
|
];
|
|
63065
63068
|
}, M = function(H, Y) {
|
|
63066
|
-
var q, se,
|
|
63067
|
-
for (ce = H.samples || [], Y += 20 + 16 * ce.length,
|
|
63069
|
+
var q, se, le, ce, fe, ve;
|
|
63070
|
+
for (ce = H.samples || [], Y += 20 + 16 * ce.length, le = F(ce, Y), se = new Uint8Array(le.length + ce.length * 16), se.set(le), q = le.length, ve = 0; ve < ce.length; ve++)
|
|
63068
63071
|
fe = ce[ve], se[q++] = (fe.duration & 4278190080) >>> 24, se[q++] = (fe.duration & 16711680) >>> 16, se[q++] = (fe.duration & 65280) >>> 8, se[q++] = fe.duration & 255, se[q++] = (fe.size & 4278190080) >>> 24, se[q++] = (fe.size & 16711680) >>> 16, se[q++] = (fe.size & 65280) >>> 8, se[q++] = fe.size & 255, se[q++] = fe.flags.isLeading << 2 | fe.flags.dependsOn, se[q++] = fe.flags.isDependedOn << 6 | fe.flags.hasRedundancy << 4 | fe.flags.paddingValue << 1 | fe.flags.isNonSyncSample, se[q++] = fe.flags.degradationPriority & 61440, se[q++] = fe.flags.degradationPriority & 15, se[q++] = (fe.compositionTimeOffset & 4278190080) >>> 24, se[q++] = (fe.compositionTimeOffset & 16711680) >>> 16, se[q++] = (fe.compositionTimeOffset & 65280) >>> 8, se[q++] = fe.compositionTimeOffset & 255;
|
|
63069
63072
|
return o(N.trun, se);
|
|
63070
63073
|
}, D = function(H, Y) {
|
|
63071
|
-
var q, se,
|
|
63072
|
-
for (ce = H.samples || [], Y += 20 + 8 * ce.length,
|
|
63074
|
+
var q, se, le, ce, fe, ve;
|
|
63075
|
+
for (ce = H.samples || [], Y += 20 + 8 * ce.length, le = F(ce, Y), q = new Uint8Array(le.length + ce.length * 8), q.set(le), se = le.length, ve = 0; ve < ce.length; ve++)
|
|
63073
63076
|
fe = ce[ve], q[se++] = (fe.duration & 4278190080) >>> 24, q[se++] = (fe.duration & 16711680) >>> 16, q[se++] = (fe.duration & 65280) >>> 8, q[se++] = fe.duration & 255, q[se++] = (fe.size & 4278190080) >>> 24, q[se++] = (fe.size & 16711680) >>> 16, q[se++] = (fe.size & 65280) >>> 8, q[se++] = fe.size & 255;
|
|
63074
63077
|
return o(N.trun, q);
|
|
63075
63078
|
}, R = function(H, Y) {
|
|
@@ -63114,26 +63117,26 @@ browserWorkerPolyFill(self);
|
|
|
63114
63117
|
var F = Ae();
|
|
63115
63118
|
return F.dataOffset = M, F.compositionTimeOffset = D.pts - D.dts, F.duration = D.duration, F.size = 4 * D.length, F.size += D.byteLength, D.keyFrame && (F.flags.dependsOn = 2, F.flags.isNonSyncSample = 0), F;
|
|
63116
63119
|
}, Ne = function(D, M) {
|
|
63117
|
-
var F, H, Y, q, se,
|
|
63120
|
+
var F, H, Y, q, se, le = M || 0, ce = [];
|
|
63118
63121
|
for (F = 0; F < D.length; F++)
|
|
63119
63122
|
for (q = D[F], H = 0; H < q.length; H++)
|
|
63120
|
-
se = q[H], Y = Ee(se,
|
|
63123
|
+
se = q[H], Y = Ee(se, le), le += Y.size, ce.push(Y);
|
|
63121
63124
|
return ce;
|
|
63122
63125
|
}, be = function(D) {
|
|
63123
|
-
var M, F, H, Y, q, se,
|
|
63126
|
+
var M, F, H, Y, q, se, le = 0, ce = D.byteLength, fe = D.nalCount, ve = ce + 4 * fe, Te = new Uint8Array(ve), Ke = new DataView(Te.buffer);
|
|
63124
63127
|
for (M = 0; M < D.length; M++)
|
|
63125
63128
|
for (Y = D[M], F = 0; F < Y.length; F++)
|
|
63126
63129
|
for (q = Y[F], H = 0; H < q.length; H++)
|
|
63127
|
-
se = q[H], Ke.setUint32(
|
|
63130
|
+
se = q[H], Ke.setUint32(le, se.data.byteLength), le += 4, Te.set(se.data, le), le += se.data.byteLength;
|
|
63128
63131
|
return Te;
|
|
63129
63132
|
}, Ce = function(D, M) {
|
|
63130
63133
|
var F, H = M || 0, Y = [];
|
|
63131
63134
|
return F = Ee(D, H), Y.push(F), Y;
|
|
63132
63135
|
}, He = function(D) {
|
|
63133
|
-
var M, F, H = 0, Y = D.byteLength, q = D.length, se = Y + 4 * q,
|
|
63136
|
+
var M, F, H = 0, Y = D.byteLength, q = D.length, se = Y + 4 * q, le = new Uint8Array(se), ce = new DataView(le.buffer);
|
|
63134
63137
|
for (M = 0; M < D.length; M++)
|
|
63135
|
-
F = D[M], ce.setUint32(H, F.data.byteLength), H += 4,
|
|
63136
|
-
return
|
|
63138
|
+
F = D[M], ce.setUint32(H, F.data.byteLength), H += 4, le.set(F.data, H), H += F.data.byteLength;
|
|
63139
|
+
return le;
|
|
63137
63140
|
}, me = {
|
|
63138
63141
|
groupNalsIntoFrames: je,
|
|
63139
63142
|
groupFramesIntoGops: Pe,
|
|
@@ -63201,9 +63204,9 @@ browserWorkerPolyFill(self);
|
|
|
63201
63204
|
F = D[M], H += F.data.byteLength;
|
|
63202
63205
|
return H;
|
|
63203
63206
|
}, Hs = function(D, M, F, H) {
|
|
63204
|
-
var Y, q = 0, se = 0,
|
|
63205
|
-
if (M.length && (Y = Xn.audioTsToVideoTs(D.baseMediaDecodeTime, D.samplerate), q = Math.ceil(Xn.ONE_SECOND_IN_TS / (D.samplerate / 1024)), F && H && (se = Y - Math.max(F, H),
|
|
63206
|
-
for (fe = Ri()[D.samplerate], fe || (fe = M[0].data), ve = 0; ve <
|
|
63207
|
+
var Y, q = 0, se = 0, le = 0, ce = 0, fe, ve, Te;
|
|
63208
|
+
if (M.length && (Y = Xn.audioTsToVideoTs(D.baseMediaDecodeTime, D.samplerate), q = Math.ceil(Xn.ONE_SECOND_IN_TS / (D.samplerate / 1024)), F && H && (se = Y - Math.max(F, H), le = Math.floor(se / q), ce = le * q), !(le < 1 || ce > Xn.ONE_SECOND_IN_TS / 2))) {
|
|
63209
|
+
for (fe = Ri()[D.samplerate], fe || (fe = M[0].data), ve = 0; ve < le; ve++)
|
|
63207
63210
|
Te = M[0], M.splice(0, 0, {
|
|
63208
63211
|
data: fe,
|
|
63209
63212
|
dts: Te.dts - q,
|
|
@@ -63504,17 +63507,17 @@ browserWorkerPolyFill(self);
|
|
|
63504
63507
|
F.flushDisplayed(q, F.services[D]);
|
|
63505
63508
|
}), this.services[D];
|
|
63506
63509
|
}, ot.prototype.handleText = function(D, M, F) {
|
|
63507
|
-
var H = F && F.isExtended, Y = F && F.isMultiByte, q = this.current708Packet.data, se = H ? 4096 : 0,
|
|
63510
|
+
var H = F && F.isExtended, Y = F && F.isMultiByte, q = this.current708Packet.data, se = H ? 4096 : 0, le = q[D], ce = q[D + 1], fe = M.currentWindow, ve, Te;
|
|
63508
63511
|
function Ke(Me) {
|
|
63509
63512
|
return Me.map((lt) => ("0" + (lt & 255).toString(16)).slice(-2)).join("");
|
|
63510
63513
|
}
|
|
63511
|
-
if (Y ? (Te = [
|
|
63514
|
+
if (Y ? (Te = [le, ce], D++) : Te = [le], M.textDecoder_ && !H)
|
|
63512
63515
|
ve = M.textDecoder_.decode(new Uint8Array(Te));
|
|
63513
63516
|
else if (Y) {
|
|
63514
63517
|
const Me = Ke(Te);
|
|
63515
63518
|
ve = String.fromCharCode(parseInt(Me, 16));
|
|
63516
63519
|
} else
|
|
63517
|
-
ve = Wt(se |
|
|
63520
|
+
ve = Wt(se | le);
|
|
63518
63521
|
return fe.pendingNewLine && !fe.isEmpty() && fe.newLine(this.getPts(D)), fe.pendingNewLine = !1, fe.addText(ve), D;
|
|
63519
63522
|
}, ot.prototype.multiByteCharacter = function(D, M) {
|
|
63520
63523
|
var F = this.current708Packet.data, H = F[D + 1], Y = F[D + 2];
|
|
@@ -63781,7 +63784,7 @@ browserWorkerPolyFill(self);
|
|
|
63781
63784
|
return D;
|
|
63782
63785
|
}, vt = function(D, M) {
|
|
63783
63786
|
vt.prototype.init.call(this), this.field_ = D || 0, this.dataChannel_ = M || 0, this.name_ = "CC" + ((this.field_ << 1 | this.dataChannel_) + 1), this.setConstants(), this.reset(), this.push = function(F) {
|
|
63784
|
-
var H, Y, q, se,
|
|
63787
|
+
var H, Y, q, se, le;
|
|
63785
63788
|
if (H = F.ccData & 32639, H === this.lastControlCode_) {
|
|
63786
63789
|
this.lastControlCode_ = null;
|
|
63787
63790
|
return;
|
|
@@ -63808,9 +63811,9 @@ browserWorkerPolyFill(self);
|
|
|
63808
63811
|
else if (H === this.RESUME_DIRECT_CAPTIONING_)
|
|
63809
63812
|
this.mode_ !== "paintOn" && (this.flushDisplayed(F.pts), this.displayed_ = Yt()), this.mode_ = "paintOn", this.startPts_ = F.pts;
|
|
63810
63813
|
else if (this.isSpecialCharacter(q, se))
|
|
63811
|
-
q = (q & 3) << 8,
|
|
63814
|
+
q = (q & 3) << 8, le = Ft(q | se), this[this.mode_](F.pts, le), this.column_++;
|
|
63812
63815
|
else if (this.isExtCharacter(q, se))
|
|
63813
|
-
this.mode_ === "popOn" ? this.nonDisplayed_[this.row_].text = this.nonDisplayed_[this.row_].text.slice(0, -1) : this.displayed_[this.row_].text = this.displayed_[this.row_].text.slice(0, -1), q = (q & 3) << 8,
|
|
63816
|
+
this.mode_ === "popOn" ? this.nonDisplayed_[this.row_].text = this.nonDisplayed_[this.row_].text.slice(0, -1) : this.displayed_[this.row_].text = this.displayed_[this.row_].text.slice(0, -1), q = (q & 3) << 8, le = Ft(q | se), this[this.mode_](F.pts, le), this.column_++;
|
|
63814
63817
|
else if (this.isMidRowCode(q, se))
|
|
63815
63818
|
this.clearFormatting(F.pts), this[this.mode_](F.pts, " "), this.column_++, (se & 14) === 14 && this.addFormatting(F.pts, ["i"]), (se & 1) === 1 && this.addFormatting(F.pts, ["u"]);
|
|
63816
63819
|
else if (this.isOffsetControlCode(q, se)) {
|
|
@@ -63823,7 +63826,7 @@ browserWorkerPolyFill(self);
|
|
|
63823
63826
|
this.column_ = fe * 4, this.nonDisplayed_[this.row_].indent += fe;
|
|
63824
63827
|
}
|
|
63825
63828
|
this.isColorPAC(se) && (se & 14) === 14 && this.addFormatting(F.pts, ["i"]);
|
|
63826
|
-
} else this.isNormalChar(q) && (se === 0 && (se = null),
|
|
63829
|
+
} else this.isNormalChar(q) && (se === 0 && (se = null), le = Ft(q), le += Ft(se), this[this.mode_](F.pts, le), this.column_ += le.length);
|
|
63827
63830
|
};
|
|
63828
63831
|
};
|
|
63829
63832
|
vt.prototype = new st(), vt.prototype.flushDisplayed = function(D) {
|
|
@@ -64025,11 +64028,11 @@ browserWorkerPolyFill(self);
|
|
|
64025
64028
|
if (M = Zo(D.subarray(H + 4, H + 8)), M < 1)
|
|
64026
64029
|
break;
|
|
64027
64030
|
F = String.fromCharCode(D[H], D[H + 1], D[H + 2], D[H + 3]);
|
|
64028
|
-
var
|
|
64031
|
+
var le = {
|
|
64029
64032
|
id: F,
|
|
64030
64033
|
data: D.subarray(H + 10, H + M + 10)
|
|
64031
64034
|
};
|
|
64032
|
-
|
|
64035
|
+
le.key = le.id, _o[le.id] ? _o[le.id](le) : le.id[0] === "T" ? _o["T*"](le) : le.id[0] === "W" && _o["W*"](le), q.push(le), H += 10, H += M;
|
|
64033
64036
|
} while (H < Y);
|
|
64034
64037
|
return q;
|
|
64035
64038
|
}
|
|
@@ -64049,7 +64052,7 @@ browserWorkerPolyFill(self);
|
|
|
64049
64052
|
for (q = 0; q < M.descriptor.length; q++)
|
|
64050
64053
|
this.dispatchType += ("00" + M.descriptor[q].toString(16)).slice(-2);
|
|
64051
64054
|
this.push = function(se) {
|
|
64052
|
-
var
|
|
64055
|
+
var le, ce, fe, ve, Te, Ke;
|
|
64053
64056
|
if (se.type === "timed-metadata") {
|
|
64054
64057
|
if (se.dataAlignmentIndicator && (Y = 0, H.length = 0), H.length === 0 && (se.data.length < 10 || se.data[0] !== 73 || se.data[1] !== 68 || se.data[2] !== 51)) {
|
|
64055
64058
|
this.trigger("log", {
|
|
@@ -64059,32 +64062,32 @@ browserWorkerPolyFill(self);
|
|
|
64059
64062
|
return;
|
|
64060
64063
|
}
|
|
64061
64064
|
if (H.push(se), Y += se.data.byteLength, H.length === 1 && (F = Ns.parseSyncSafeInteger(se.data.subarray(6, 10)), F += 10), !(Y < F)) {
|
|
64062
|
-
for (
|
|
64065
|
+
for (le = {
|
|
64063
64066
|
data: new Uint8Array(F),
|
|
64064
64067
|
frames: [],
|
|
64065
64068
|
pts: H[0].pts,
|
|
64066
64069
|
dts: H[0].dts
|
|
64067
64070
|
}, Te = 0; Te < F; )
|
|
64068
|
-
|
|
64069
|
-
ce = 10,
|
|
64071
|
+
le.data.set(H[0].data.subarray(0, F - Te), Te), Te += H[0].data.byteLength, Y -= H[0].data.byteLength, H.shift();
|
|
64072
|
+
ce = 10, le.data[5] & 64 && (ce += 4, ce += Ns.parseSyncSafeInteger(le.data.subarray(10, 14)), F -= Ns.parseSyncSafeInteger(le.data.subarray(16, 20)));
|
|
64070
64073
|
do {
|
|
64071
|
-
if (fe = Ns.parseSyncSafeInteger(
|
|
64074
|
+
if (fe = Ns.parseSyncSafeInteger(le.data.subarray(ce + 4, ce + 8)), fe < 1) {
|
|
64072
64075
|
this.trigger("log", {
|
|
64073
64076
|
level: "warn",
|
|
64074
64077
|
message: "Malformed ID3 frame encountered. Skipping remaining metadata parsing."
|
|
64075
64078
|
});
|
|
64076
64079
|
break;
|
|
64077
64080
|
}
|
|
64078
|
-
if (Ke = String.fromCharCode(
|
|
64081
|
+
if (Ke = String.fromCharCode(le.data[ce], le.data[ce + 1], le.data[ce + 2], le.data[ce + 3]), ve = {
|
|
64079
64082
|
id: Ke,
|
|
64080
|
-
data:
|
|
64083
|
+
data: le.data.subarray(ce + 10, ce + fe + 10)
|
|
64081
64084
|
}, ve.key = ve.id, Ns.frameParsers[ve.id] ? Ns.frameParsers[ve.id](ve) : ve.id[0] === "T" ? Ns.frameParsers["T*"](ve) : ve.id[0] === "W" && Ns.frameParsers["W*"](ve), ve.owner === "com.apple.streaming.transportStreamTimestamp") {
|
|
64082
64085
|
var Me = ve.data, lt = (Me[3] & 1) << 30 | Me[4] << 22 | Me[5] << 14 | Me[6] << 6 | Me[7] >>> 2;
|
|
64083
|
-
lt *= 4, lt += Me[7] & 3, ve.timeStamp = lt,
|
|
64086
|
+
lt *= 4, lt += Me[7] & 3, ve.timeStamp = lt, le.pts === void 0 && le.dts === void 0 && (le.pts = ve.timeStamp, le.dts = ve.timeStamp), this.trigger("timestamp", ve);
|
|
64084
64087
|
}
|
|
64085
|
-
|
|
64088
|
+
le.frames.push(ve), ce += 10, ce += fe;
|
|
64086
64089
|
} while (ce < F);
|
|
64087
|
-
this.trigger("data",
|
|
64090
|
+
this.trigger("data", le);
|
|
64088
64091
|
}
|
|
64089
64092
|
}
|
|
64090
64093
|
};
|
|
@@ -64117,13 +64120,13 @@ browserWorkerPolyFill(self);
|
|
|
64117
64120
|
}, M = function(Y, q) {
|
|
64118
64121
|
q.section_number = Y[7], q.last_section_number = Y[8], H.pmtPid = (Y[10] & 31) << 8 | Y[11], q.pmtPid = H.pmtPid;
|
|
64119
64122
|
}, F = function(Y, q) {
|
|
64120
|
-
var se,
|
|
64123
|
+
var se, le, ce, fe;
|
|
64121
64124
|
if (Y[5] & 1) {
|
|
64122
64125
|
for (H.programMapTable = {
|
|
64123
64126
|
video: null,
|
|
64124
64127
|
audio: null,
|
|
64125
64128
|
"timed-metadata": {}
|
|
64126
|
-
}, se = (Y[1] & 15) << 8 | Y[2],
|
|
64129
|
+
}, se = (Y[1] & 15) << 8 | Y[2], le = 3 + se - 4, ce = (Y[10] & 15) << 8 | Y[11], fe = 12 + ce; fe < le; ) {
|
|
64127
64130
|
var ve = Y[fe], Te = (Y[fe + 1] & 31) << 8 | Y[fe + 2];
|
|
64128
64131
|
ve === Ua.H264_STREAM_TYPE && H.programMapTable.video === null ? H.programMapTable.video = Te : ve === Ua.ADTS_STREAM_TYPE && H.programMapTable.audio === null ? H.programMapTable.audio = Te : ve === Ua.METADATA_STREAM_TYPE && (H.programMapTable["timed-metadata"][Te] = ve), fe += ((Y[fe + 3] & 15) << 8 | Y[fe + 4]) + 5;
|
|
64129
64132
|
}
|
|
@@ -64157,7 +64160,7 @@ browserWorkerPolyFill(self);
|
|
|
64157
64160
|
var ve;
|
|
64158
64161
|
const Te = ce[0] << 16 | ce[1] << 8 | ce[2];
|
|
64159
64162
|
fe.data = new Uint8Array(), Te === 1 && (fe.packetLength = 6 + (ce[4] << 8 | ce[5]), fe.dataAlignmentIndicator = (ce[6] & 4) !== 0, ve = ce[7], ve & 192 && (fe.pts = (ce[9] & 14) << 27 | (ce[10] & 255) << 20 | (ce[11] & 254) << 12 | (ce[12] & 255) << 5 | (ce[13] & 254) >>> 3, fe.pts *= 4, fe.pts += (ce[13] & 6) >>> 1, fe.dts = fe.pts, ve & 64 && (fe.dts = (ce[14] & 14) << 27 | (ce[15] & 255) << 20 | (ce[16] & 254) << 12 | (ce[17] & 255) << 5 | (ce[18] & 254) >>> 3, fe.dts *= 4, fe.dts += (ce[18] & 6) >>> 1)), fe.data = ce.subarray(9 + ce[8]));
|
|
64160
|
-
},
|
|
64163
|
+
}, le = function(ce, fe, ve) {
|
|
64161
64164
|
var Te = new Uint8Array(ce.size), Ke = {
|
|
64162
64165
|
type: fe
|
|
64163
64166
|
}, Me = 0, lt = 0, yt = !1, mn;
|
|
@@ -64186,7 +64189,7 @@ browserWorkerPolyFill(self);
|
|
|
64186
64189
|
default:
|
|
64187
64190
|
return;
|
|
64188
64191
|
}
|
|
64189
|
-
ce.payloadUnitStartIndicator &&
|
|
64192
|
+
ce.payloadUnitStartIndicator && le(fe, ve, !0), fe.data.push(ce), fe.size += ce.data.byteLength;
|
|
64190
64193
|
},
|
|
64191
64194
|
pmt: function() {
|
|
64192
64195
|
var fe = {
|
|
@@ -64213,7 +64216,7 @@ browserWorkerPolyFill(self);
|
|
|
64213
64216
|
}, this.reset = function() {
|
|
64214
64217
|
F.size = 0, F.data.length = 0, H.size = 0, H.data.length = 0, this.trigger("reset");
|
|
64215
64218
|
}, this.flushStreams_ = function() {
|
|
64216
|
-
|
|
64219
|
+
le(F, "video"), le(H, "audio"), le(Y, "timed-metadata");
|
|
64217
64220
|
}, this.flush = function() {
|
|
64218
64221
|
if (!M && q) {
|
|
64219
64222
|
var ce = {
|
|
@@ -64262,9 +64265,9 @@ browserWorkerPolyFill(self);
|
|
|
64262
64265
|
message: `adts skiping bytes ${H} to ${Y} in frame ${F} outside syncword`
|
|
64263
64266
|
});
|
|
64264
64267
|
}, this.push = function(H) {
|
|
64265
|
-
var Y = 0, q, se,
|
|
64268
|
+
var Y = 0, q, se, le, ce, fe;
|
|
64266
64269
|
if (D || (F = 0), H.type === "audio") {
|
|
64267
|
-
M && M.length ? (
|
|
64270
|
+
M && M.length ? (le = M, M = new Uint8Array(le.byteLength + H.data.byteLength), M.set(le), M.set(H.data, le.byteLength)) : M = H.data;
|
|
64268
64271
|
for (var ve; Y + 7 < M.length; ) {
|
|
64269
64272
|
if (M[Y] !== 255 || (M[Y + 1] & 246) !== 240) {
|
|
64270
64273
|
typeof ve != "number" && (ve = Y), Y++;
|
|
@@ -64398,7 +64401,7 @@ browserWorkerPolyFill(self);
|
|
|
64398
64401
|
139: !0,
|
|
64399
64402
|
134: !0
|
|
64400
64403
|
}, yr = function() {
|
|
64401
|
-
var D = new wr(), M, F, H, Y, q, se,
|
|
64404
|
+
var D = new wr(), M, F, H, Y, q, se, le;
|
|
64402
64405
|
yr.prototype.init.call(this), M = this, this.push = function(ce) {
|
|
64403
64406
|
ce.type === "video" && (F = ce.trackId, H = ce.pts, Y = ce.dts, D.push(ce));
|
|
64404
64407
|
}, D.on("data", function(ce) {
|
|
@@ -64443,7 +64446,7 @@ browserWorkerPolyFill(self);
|
|
|
64443
64446
|
D.reset();
|
|
64444
64447
|
}, this.endTimeline = function() {
|
|
64445
64448
|
D.endTimeline();
|
|
64446
|
-
},
|
|
64449
|
+
}, le = function(ce, fe) {
|
|
64447
64450
|
var ve = 8, Te = 8, Ke, Me;
|
|
64448
64451
|
for (Ke = 0; Ke < ce; Ke++)
|
|
64449
64452
|
Te !== 0 && (Me = fe.readExpGolomb(), Te = (ve + Me + 256) % 256), ve = Te === 0 ? ve : Te;
|
|
@@ -64461,7 +64464,7 @@ browserWorkerPolyFill(self);
|
|
|
64461
64464
|
var fe = 0, ve = 0, Te = 0, Ke = 0, Me, lt, yt, mn, ha, js, ol, ll, rl, dl, Mr, Gt = [1, 1], ul, Fa;
|
|
64462
64465
|
if (Me = new dw(ce), lt = Me.readUnsignedByte(), mn = Me.readUnsignedByte(), yt = Me.readUnsignedByte(), Me.skipUnsignedExpGolomb(), Of[lt] && (ha = Me.readUnsignedExpGolomb(), ha === 3 && Me.skipBits(1), Me.skipUnsignedExpGolomb(), Me.skipUnsignedExpGolomb(), Me.skipBits(1), Me.readBoolean()))
|
|
64463
64466
|
for (Mr = ha !== 3 ? 8 : 12, Fa = 0; Fa < Mr; Fa++)
|
|
64464
|
-
Me.readBoolean() && (Fa < 6 ?
|
|
64467
|
+
Me.readBoolean() && (Fa < 6 ? le(16, Me) : le(64, Me));
|
|
64465
64468
|
if (Me.skipUnsignedExpGolomb(), js = Me.readUnsignedExpGolomb(), js === 0)
|
|
64466
64469
|
Me.readUnsignedExpGolomb();
|
|
64467
64470
|
else if (js === 1)
|
|
@@ -64582,8 +64585,8 @@ browserWorkerPolyFill(self);
|
|
|
64582
64585
|
if (H[q] === 0) {
|
|
64583
64586
|
var se = fw(H, 0, q);
|
|
64584
64587
|
if (se === "com.apple.streaming.transportStreamTimestamp") {
|
|
64585
|
-
var
|
|
64586
|
-
return ce *= 4, ce +=
|
|
64588
|
+
var le = H.subarray(q + 1), ce = (le[3] & 1) << 30 | le[4] << 22 | le[5] << 14 | le[6] << 6 | le[7] >>> 2;
|
|
64589
|
+
return ce *= 4, ce += le[7] & 3, ce;
|
|
64587
64590
|
}
|
|
64588
64591
|
break;
|
|
64589
64592
|
}
|
|
@@ -64604,7 +64607,7 @@ browserWorkerPolyFill(self);
|
|
|
64604
64607
|
br.prototype.init.call(this), this.setTimestamp = function(F) {
|
|
64605
64608
|
M = F;
|
|
64606
64609
|
}, this.push = function(F) {
|
|
64607
|
-
var H = 0, Y = 0, q, se,
|
|
64610
|
+
var H = 0, Y = 0, q, se, le, ce;
|
|
64608
64611
|
for (D.length ? (ce = D.length, D = new Uint8Array(F.byteLength + ce), D.set(D.subarray(0, ce)), D.set(F, ce)) : D = F; D.length - Y >= 3; ) {
|
|
64609
64612
|
if (D[Y] === 73 && D[Y + 1] === 68 && D[Y + 2] === 51) {
|
|
64610
64613
|
if (D.length - Y < 10 || (H = Ff.parseId3TagSize(D, Y), Y + H > D.length))
|
|
@@ -64617,12 +64620,12 @@ browserWorkerPolyFill(self);
|
|
|
64617
64620
|
} else if ((D[Y] & 255) === 255 && (D[Y + 1] & 240) === 240) {
|
|
64618
64621
|
if (D.length - Y < 7 || (H = Ff.parseAdtsSize(D, Y), Y + H > D.length))
|
|
64619
64622
|
break;
|
|
64620
|
-
|
|
64623
|
+
le = {
|
|
64621
64624
|
type: "audio",
|
|
64622
64625
|
data: D.subarray(Y, Y + H),
|
|
64623
64626
|
pts: M,
|
|
64624
64627
|
dts: M
|
|
64625
|
-
}, this.trigger("data",
|
|
64628
|
+
}, this.trigger("data", le), Y += H;
|
|
64626
64629
|
continue;
|
|
64627
64630
|
}
|
|
64628
64631
|
Y++;
|
|
@@ -64650,14 +64653,14 @@ browserWorkerPolyFill(self);
|
|
|
64650
64653
|
return !1;
|
|
64651
64654
|
return !0;
|
|
64652
64655
|
}, Gf = function(D, M, F, H, Y, q) {
|
|
64653
|
-
var se = F - M,
|
|
64656
|
+
var se = F - M, le = H - M, ce = Y - F;
|
|
64654
64657
|
return {
|
|
64655
64658
|
start: {
|
|
64656
64659
|
dts: D,
|
|
64657
64660
|
pts: D + se
|
|
64658
64661
|
},
|
|
64659
64662
|
end: {
|
|
64660
|
-
dts: D +
|
|
64663
|
+
dts: D + le,
|
|
64661
64664
|
pts: D + ce
|
|
64662
64665
|
},
|
|
64663
64666
|
prependedContentDuration: q,
|
|
@@ -64666,36 +64669,36 @@ browserWorkerPolyFill(self);
|
|
|
64666
64669
|
};
|
|
64667
64670
|
nl = function(D, M) {
|
|
64668
64671
|
var F = [], H, Y = 0, q = 0, se = 1 / 0;
|
|
64669
|
-
M = M || {}, H = M.firstSequenceNumber || 0, nl.prototype.init.call(this), this.push = function(
|
|
64670
|
-
Ha.collectDtsInfo(D,
|
|
64671
|
-
D[ce] =
|
|
64672
|
-
}), F.push(
|
|
64673
|
-
}, this.setEarliestDts = function(
|
|
64674
|
-
Y =
|
|
64675
|
-
}, this.setVideoBaseMediaDecodeTime = function(
|
|
64676
|
-
se =
|
|
64677
|
-
}, this.setAudioAppendStart = function(
|
|
64678
|
-
q =
|
|
64672
|
+
M = M || {}, H = M.firstSequenceNumber || 0, nl.prototype.init.call(this), this.push = function(le) {
|
|
64673
|
+
Ha.collectDtsInfo(D, le), D && Nf.forEach(function(ce) {
|
|
64674
|
+
D[ce] = le[ce];
|
|
64675
|
+
}), F.push(le);
|
|
64676
|
+
}, this.setEarliestDts = function(le) {
|
|
64677
|
+
Y = le;
|
|
64678
|
+
}, this.setVideoBaseMediaDecodeTime = function(le) {
|
|
64679
|
+
se = le;
|
|
64680
|
+
}, this.setAudioAppendStart = function(le) {
|
|
64681
|
+
q = le;
|
|
64679
64682
|
}, this.flush = function() {
|
|
64680
|
-
var
|
|
64683
|
+
var le, ce, fe, ve, Te, Ke, Me;
|
|
64681
64684
|
if (F.length === 0) {
|
|
64682
64685
|
this.trigger("done", "AudioSegmentStream");
|
|
64683
64686
|
return;
|
|
64684
64687
|
}
|
|
64685
|
-
|
|
64688
|
+
le = xr.trimAdtsFramesByEarliestDts(F, D, Y), D.baseMediaDecodeTime = Ha.calculateTrackBaseMediaDecodeTime(D, M.keepOriginalTimestamps), Me = xr.prefixWithSilence(D, le, q, se), D.samples = xr.generateSampleTable(le), fe = el.mdat(xr.concatenateFrameData(le)), F = [], ce = el.moof(H, [D]), ve = new Uint8Array(ce.byteLength + fe.byteLength), H++, ve.set(ce), ve.set(fe, ce.byteLength), Ha.clearDtsInfo(D), Te = Math.ceil(Pw * 1024 / D.samplerate), le.length && (Ke = le.length * Te, this.trigger("segmentTimingInfo", Gf(
|
|
64686
64689
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
64687
64690
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
64688
64691
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
64689
64692
|
Dr.audioTsToVideoTs(D.baseMediaDecodeTime, D.samplerate),
|
|
64690
64693
|
// frame times are already in video clock, as is segment duration
|
|
64691
|
-
|
|
64692
|
-
|
|
64693
|
-
|
|
64694
|
-
|
|
64694
|
+
le[0].dts,
|
|
64695
|
+
le[0].pts,
|
|
64696
|
+
le[0].dts + Ke,
|
|
64697
|
+
le[0].pts + Ke,
|
|
64695
64698
|
Me || 0
|
|
64696
64699
|
)), this.trigger("timingInfo", {
|
|
64697
|
-
start:
|
|
64698
|
-
end:
|
|
64700
|
+
start: le[0].pts,
|
|
64701
|
+
end: le[0].pts + Ke
|
|
64699
64702
|
})), this.trigger("data", {
|
|
64700
64703
|
track: D,
|
|
64701
64704
|
boxes: ve
|
|
@@ -64705,18 +64708,18 @@ browserWorkerPolyFill(self);
|
|
|
64705
64708
|
};
|
|
64706
64709
|
}, nl.prototype = new Cr(), Br = function(D, M) {
|
|
64707
64710
|
var F, H = [], Y = [], q, se;
|
|
64708
|
-
M = M || {}, F = M.firstSequenceNumber || 0, Br.prototype.init.call(this), delete D.minPTS, this.gopCache_ = [], this.push = function(
|
|
64709
|
-
Ha.collectDtsInfo(D,
|
|
64711
|
+
M = M || {}, F = M.firstSequenceNumber || 0, Br.prototype.init.call(this), delete D.minPTS, this.gopCache_ = [], this.push = function(le) {
|
|
64712
|
+
Ha.collectDtsInfo(D, le), le.nalUnitType === "seq_parameter_set_rbsp" && !q && (q = le.config, D.sps = [le.data], zf.forEach(function(ce) {
|
|
64710
64713
|
D[ce] = q[ce];
|
|
64711
|
-
}, this)),
|
|
64714
|
+
}, this)), le.nalUnitType === "pic_parameter_set_rbsp" && !se && (se = le.data, D.pps = [le.data]), H.push(le);
|
|
64712
64715
|
}, this.flush = function() {
|
|
64713
|
-
for (var
|
|
64716
|
+
for (var le, ce, fe, ve, Te, Ke, Me = 0, lt, yt; H.length && H[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
64714
64717
|
H.shift();
|
|
64715
64718
|
if (H.length === 0) {
|
|
64716
64719
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
64717
64720
|
return;
|
|
64718
64721
|
}
|
|
64719
|
-
if (
|
|
64722
|
+
if (le = tl.groupNalsIntoFrames(H), fe = tl.groupFramesIntoGops(le), fe[0][0].keyFrame || (ce = this.getGopForFusion_(H[0], D), ce ? (Me = ce.duration, fe.unshift(ce), fe.byteLength += ce.byteLength, fe.nalCount += ce.nalCount, fe.pts = ce.pts, fe.dts = ce.dts, fe.duration += ce.duration) : fe = tl.extendFirstKeyFrame(fe)), Y.length) {
|
|
64720
64723
|
var mn;
|
|
64721
64724
|
if (M.alignGopsAtEnd ? mn = this.alignGopsAtEnd_(fe) : mn = this.alignGopsAtStart_(fe), !mn) {
|
|
64722
64725
|
this.gopCache_.unshift({
|
|
@@ -64749,25 +64752,25 @@ browserWorkerPolyFill(self);
|
|
|
64749
64752
|
this.resetStream_(), H = [], this.gopCache_.length = 0, Y.length = 0, this.trigger("reset");
|
|
64750
64753
|
}, this.resetStream_ = function() {
|
|
64751
64754
|
Ha.clearDtsInfo(D), q = void 0, se = void 0;
|
|
64752
|
-
}, this.getGopForFusion_ = function(
|
|
64755
|
+
}, this.getGopForFusion_ = function(le) {
|
|
64753
64756
|
var ce = 45e3, fe = 1 / 0, ve, Te, Ke, Me, lt;
|
|
64754
64757
|
for (lt = 0; lt < this.gopCache_.length; lt++)
|
|
64755
|
-
Me = this.gopCache_[lt], Ke = Me.gop, !(!(D.pps && Yf(D.pps[0], Me.pps[0])) || !(D.sps && Yf(D.sps[0], Me.sps[0]))) && (Ke.dts < D.timelineStartInfo.dts || (ve =
|
|
64758
|
+
Me = this.gopCache_[lt], Ke = Me.gop, !(!(D.pps && Yf(D.pps[0], Me.pps[0])) || !(D.sps && Yf(D.sps[0], Me.sps[0]))) && (Ke.dts < D.timelineStartInfo.dts || (ve = le.dts - Ke.dts - Ke.duration, ve >= -1e4 && ve <= ce && (!Te || fe > ve) && (Te = Me, fe = ve)));
|
|
64756
64759
|
return Te ? Te.gop : null;
|
|
64757
|
-
}, this.alignGopsAtStart_ = function(
|
|
64760
|
+
}, this.alignGopsAtStart_ = function(le) {
|
|
64758
64761
|
var ce, fe, ve, Te, Ke, Me, lt, yt;
|
|
64759
|
-
for (Ke =
|
|
64762
|
+
for (Ke = le.byteLength, Me = le.nalCount, lt = le.duration, ce = fe = 0; ce < Y.length && fe < le.length && (ve = Y[ce], Te = le[fe], ve.pts !== Te.pts); ) {
|
|
64760
64763
|
if (Te.pts > ve.pts) {
|
|
64761
64764
|
ce++;
|
|
64762
64765
|
continue;
|
|
64763
64766
|
}
|
|
64764
64767
|
fe++, Ke -= Te.byteLength, Me -= Te.nalCount, lt -= Te.duration;
|
|
64765
64768
|
}
|
|
64766
|
-
return fe === 0 ?
|
|
64767
|
-
}, this.alignGopsAtEnd_ = function(
|
|
64769
|
+
return fe === 0 ? le : fe === le.length ? null : (yt = le.slice(fe), yt.byteLength = Ke, yt.duration = lt, yt.nalCount = Me, yt.pts = yt[0].pts, yt.dts = yt[0].dts, yt);
|
|
64770
|
+
}, this.alignGopsAtEnd_ = function(le) {
|
|
64768
64771
|
var ce, fe, ve, Te, Ke, Me;
|
|
64769
|
-
for (ce = Y.length - 1, fe =
|
|
64770
|
-
if (ve = Y[ce], Te =
|
|
64772
|
+
for (ce = Y.length - 1, fe = le.length - 1, Ke = null, Me = !1; ce >= 0 && fe >= 0; ) {
|
|
64773
|
+
if (ve = Y[ce], Te = le[fe], ve.pts === Te.pts) {
|
|
64771
64774
|
Me = !0;
|
|
64772
64775
|
break;
|
|
64773
64776
|
}
|
|
@@ -64781,8 +64784,8 @@ browserWorkerPolyFill(self);
|
|
|
64781
64784
|
return null;
|
|
64782
64785
|
var lt;
|
|
64783
64786
|
if (Me ? lt = fe : lt = Ke, lt === 0)
|
|
64784
|
-
return
|
|
64785
|
-
var yt =
|
|
64787
|
+
return le;
|
|
64788
|
+
var yt = le.slice(lt), mn = yt.reduce(function(ha, js) {
|
|
64786
64789
|
return ha.byteLength += js.byteLength, ha.duration += js.duration, ha.nalCount += js.nalCount, ha;
|
|
64787
64790
|
}, {
|
|
64788
64791
|
byteLength: 0,
|
|
@@ -64790,8 +64793,8 @@ browserWorkerPolyFill(self);
|
|
|
64790
64793
|
nalCount: 0
|
|
64791
64794
|
});
|
|
64792
64795
|
return yt.byteLength = mn.byteLength, yt.duration = mn.duration, yt.nalCount = mn.nalCount, yt.pts = yt[0].pts, yt.dts = yt[0].dts, yt;
|
|
64793
|
-
}, this.alignGopsWith = function(
|
|
64794
|
-
Y =
|
|
64796
|
+
}, this.alignGopsWith = function(le) {
|
|
64797
|
+
Y = le;
|
|
64795
64798
|
};
|
|
64796
64799
|
}, Br.prototype = new Cr(), hi = function(D, M) {
|
|
64797
64800
|
this.numberOfTracks = 0, this.metadataStream = M, D = D || {}, typeof D.remux < "u" ? this.remuxTracks = !!D.remux : this.remuxTracks = !0, typeof D.keepOriginalTimestamps == "boolean" ? this.keepOriginalTimestamps = D.keepOriginalTimestamps : this.keepOriginalTimestamps = !1, this.pendingTracks = [], this.videoTrack = null, this.pendingBoxes = [], this.pendingCaptions = [], this.pendingMetadata = [], this.pendingBytes = 0, this.emittedTracks = 0, hi.prototype.init.call(this), this.push = function(F) {
|
|
@@ -64807,7 +64810,7 @@ browserWorkerPolyFill(self);
|
|
|
64807
64810
|
captionStreams: {},
|
|
64808
64811
|
metadata: [],
|
|
64809
64812
|
info: {}
|
|
64810
|
-
}, H, Y, q, se = 0,
|
|
64813
|
+
}, H, Y, q, se = 0, le;
|
|
64811
64814
|
if (this.pendingTracks.length < this.numberOfTracks) {
|
|
64812
64815
|
if (D !== "VideoSegmentStream" && D !== "AudioSegmentStream")
|
|
64813
64816
|
return;
|
|
@@ -64823,16 +64826,16 @@ browserWorkerPolyFill(self);
|
|
|
64823
64826
|
}, this)) : this.audioTrack && (se = this.audioTrack.timelineStartInfo.pts, Nf.forEach(function(ce) {
|
|
64824
64827
|
F.info[ce] = this.audioTrack[ce];
|
|
64825
64828
|
}, this)), this.videoTrack || this.audioTrack) {
|
|
64826
|
-
for (this.pendingTracks.length === 1 ? F.type = this.pendingTracks[0].type : F.type = "combined", this.emittedTracks += this.pendingTracks.length, q = el.initSegment(this.pendingTracks), F.initSegment = new Uint8Array(q.byteLength), F.initSegment.set(q), F.data = new Uint8Array(this.pendingBytes),
|
|
64827
|
-
F.data.set(this.pendingBoxes[
|
|
64828
|
-
for (
|
|
64829
|
-
H = this.pendingCaptions[
|
|
64830
|
-
for (
|
|
64831
|
-
Y = this.pendingMetadata[
|
|
64832
|
-
for (F.metadata.dispatchType = this.metadataStream.dispatchType, this.pendingTracks.length = 0, this.videoTrack = null, this.pendingBoxes.length = 0, this.pendingCaptions.length = 0, this.pendingBytes = 0, this.pendingMetadata.length = 0, this.trigger("data", F),
|
|
64833
|
-
H = F.captions[
|
|
64834
|
-
for (
|
|
64835
|
-
Y = F.metadata[
|
|
64829
|
+
for (this.pendingTracks.length === 1 ? F.type = this.pendingTracks[0].type : F.type = "combined", this.emittedTracks += this.pendingTracks.length, q = el.initSegment(this.pendingTracks), F.initSegment = new Uint8Array(q.byteLength), F.initSegment.set(q), F.data = new Uint8Array(this.pendingBytes), le = 0; le < this.pendingBoxes.length; le++)
|
|
64830
|
+
F.data.set(this.pendingBoxes[le], M), M += this.pendingBoxes[le].byteLength;
|
|
64831
|
+
for (le = 0; le < this.pendingCaptions.length; le++)
|
|
64832
|
+
H = this.pendingCaptions[le], H.startTime = Dr.metadataTsToSeconds(H.startPts, se, this.keepOriginalTimestamps), H.endTime = Dr.metadataTsToSeconds(H.endPts, se, this.keepOriginalTimestamps), F.captionStreams[H.stream] = !0, F.captions.push(H);
|
|
64833
|
+
for (le = 0; le < this.pendingMetadata.length; le++)
|
|
64834
|
+
Y = this.pendingMetadata[le], Y.cueTime = Dr.metadataTsToSeconds(Y.pts, se, this.keepOriginalTimestamps), F.metadata.push(Y);
|
|
64835
|
+
for (F.metadata.dispatchType = this.metadataStream.dispatchType, this.pendingTracks.length = 0, this.videoTrack = null, this.pendingBoxes.length = 0, this.pendingCaptions.length = 0, this.pendingBytes = 0, this.pendingMetadata.length = 0, this.trigger("data", F), le = 0; le < F.captions.length; le++)
|
|
64836
|
+
H = F.captions[le], this.trigger("caption", H);
|
|
64837
|
+
for (le = 0; le < F.metadata.length; le++)
|
|
64838
|
+
Y = F.metadata[le], this.trigger("id3Frame", Y);
|
|
64836
64839
|
}
|
|
64837
64840
|
this.emittedTracks >= this.numberOfTracks && (this.trigger("done"), this.emittedTracks = 0);
|
|
64838
64841
|
}, hi.prototype.setRemux = function(D) {
|
|
@@ -64858,10 +64861,10 @@ browserWorkerPolyFill(self);
|
|
|
64858
64861
|
}, this.setupTsPipeline = function() {
|
|
64859
64862
|
var q = {};
|
|
64860
64863
|
this.transmuxPipeline_ = q, q.type = "ts", q.metadataStream = new ws.MetadataStream(), q.packetStream = new ws.TransportPacketStream(), q.parseStream = new ws.TransportParseStream(), q.elementaryStream = new ws.ElementaryStream(), q.timestampRolloverStream = new ws.TimestampRolloverStream(), q.adtsStream = new Rf(), q.h264Stream = new Bw(), q.captionStream = new ws.CaptionStream(D), q.coalesceStream = new hi(D, q.metadataStream), q.headOfPipeline = q.packetStream, q.packetStream.pipe(q.parseStream).pipe(q.elementaryStream).pipe(q.timestampRolloverStream), q.timestampRolloverStream.pipe(q.h264Stream), q.timestampRolloverStream.pipe(q.adtsStream), q.timestampRolloverStream.pipe(q.metadataStream).pipe(q.coalesceStream), q.h264Stream.pipe(q.captionStream).pipe(q.coalesceStream), q.elementaryStream.on("data", function(se) {
|
|
64861
|
-
var
|
|
64864
|
+
var le;
|
|
64862
64865
|
if (se.type === "metadata") {
|
|
64863
|
-
for (
|
|
64864
|
-
!H && se.tracks[
|
|
64866
|
+
for (le = se.tracks.length; le--; )
|
|
64867
|
+
!H && se.tracks[le].type === "video" ? (H = se.tracks[le], H.timelineStartInfo.baseMediaDecodeTime = M.baseMediaDecodeTime) : !Y && se.tracks[le].type === "audio" && (Y = se.tracks[le], Y.timelineStartInfo.baseMediaDecodeTime = M.baseMediaDecodeTime);
|
|
64865
64868
|
H && !q.videoSegmentStream && (q.coalesceStream.numberOfTracks++, q.videoSegmentStream = new Br(H, D), q.videoSegmentStream.on("log", M.getLogTrigger_("videoSegmentStream")), q.videoSegmentStream.on("timelineStartInfo", function(ce) {
|
|
64866
64869
|
Y && !D.keepOriginalTimestamps && (Y.timelineStartInfo = ce, q.audioSegmentStream.setEarliestDts(ce.dts - M.baseMediaDecodeTime));
|
|
64867
64870
|
}), q.videoSegmentStream.on("processedGopsInfo", M.trigger.bind(M, "gopInfo")), q.videoSegmentStream.on("segmentTimingInfo", M.trigger.bind(M, "videoSegmentTimingInfo")), q.videoSegmentStream.on("baseMediaDecodeTime", function(ce) {
|
|
@@ -64886,8 +64889,8 @@ browserWorkerPolyFill(self);
|
|
|
64886
64889
|
H && this.transmuxPipeline_.videoSegmentStream && this.transmuxPipeline_.videoSegmentStream.alignGopsWith(q);
|
|
64887
64890
|
}, this.getLogTrigger_ = function(q) {
|
|
64888
64891
|
var se = this;
|
|
64889
|
-
return function(
|
|
64890
|
-
|
|
64892
|
+
return function(le) {
|
|
64893
|
+
le.stream = q, se.trigger("log", le);
|
|
64891
64894
|
};
|
|
64892
64895
|
}, this.push = function(q) {
|
|
64893
64896
|
if (F) {
|
|
@@ -64918,11 +64921,11 @@ browserWorkerPolyFill(self);
|
|
|
64918
64921
|
var M = "";
|
|
64919
64922
|
return M += String.fromCharCode(D[0]), M += String.fromCharCode(D[1]), M += String.fromCharCode(D[2]), M += String.fromCharCode(D[3]), M;
|
|
64920
64923
|
}, qf = Vw, Lw = kr.toUnsigned, Ow = qf, Kf = function(D, M) {
|
|
64921
|
-
var F = [], H, Y, q, se,
|
|
64924
|
+
var F = [], H, Y, q, se, le;
|
|
64922
64925
|
if (!M.length)
|
|
64923
64926
|
return null;
|
|
64924
64927
|
for (H = 0; H < D.byteLength; )
|
|
64925
|
-
Y = Lw(D[H] << 24 | D[H + 1] << 16 | D[H + 2] << 8 | D[H + 3]), q = Ow(D.subarray(H + 4, H + 8)), se = Y > 1 ? H + Y : D.byteLength, q === M[0] && (M.length === 1 ? F.push(D.subarray(H + 8, se)) : (
|
|
64928
|
+
Y = Lw(D[H] << 24 | D[H + 1] << 16 | D[H + 2] << 8 | D[H + 3]), q = Ow(D.subarray(H + 4, H + 8)), se = Y > 1 ? H + Y : D.byteLength, q === M[0] && (M.length === 1 ? F.push(D.subarray(H + 8, se)) : (le = Kf(D.subarray(H + 8, se), M.slice(1)), le.length && (F = F.concat(le)))), H = se;
|
|
64926
64929
|
return F;
|
|
64927
64930
|
}, xu = Kf, Qw = kr.toUnsigned, Uw = i.getUint64, Hw = function(D) {
|
|
64928
64931
|
var M = {
|
|
@@ -64935,8 +64938,8 @@ browserWorkerPolyFill(self);
|
|
|
64935
64938
|
version: D[0],
|
|
64936
64939
|
flags: new Uint8Array(D.subarray(1, 4)),
|
|
64937
64940
|
trackId: M.getUint32(4)
|
|
64938
|
-
}, H = F.flags[2] & 1, Y = F.flags[2] & 2, q = F.flags[2] & 8, se = F.flags[2] & 16,
|
|
64939
|
-
return ve = 8, H && (ve += 4, F.baseDataOffset = M.getUint32(12), ve += 4), Y && (F.sampleDescriptionIndex = M.getUint32(ve), ve += 4), q && (F.defaultSampleDuration = M.getUint32(ve), ve += 4), se && (F.defaultSampleSize = M.getUint32(ve), ve += 4),
|
|
64941
|
+
}, H = F.flags[2] & 1, Y = F.flags[2] & 2, q = F.flags[2] & 8, se = F.flags[2] & 16, le = F.flags[2] & 32, ce = F.flags[0] & 65536, fe = F.flags[0] & 131072, ve;
|
|
64942
|
+
return ve = 8, H && (ve += 4, F.baseDataOffset = M.getUint32(12), ve += 4), Y && (F.sampleDescriptionIndex = M.getUint32(ve), ve += 4), q && (F.defaultSampleDuration = M.getUint32(ve), ve += 4), se && (F.defaultSampleSize = M.getUint32(ve), ve += 4), le && (F.defaultSampleFlags = M.getUint32(ve)), ce && (F.durationIsEmpty = !0), !H && fe && (F.baseDataOffsetIsMoof = !0), F;
|
|
64940
64943
|
}, Wf = Fw, Rw = function(D) {
|
|
64941
64944
|
return {
|
|
64942
64945
|
isLeading: (D[0] & 12) >>> 2,
|
|
@@ -64952,11 +64955,11 @@ browserWorkerPolyFill(self);
|
|
|
64952
64955
|
version: D[0],
|
|
64953
64956
|
flags: new Uint8Array(D.subarray(1, 4)),
|
|
64954
64957
|
samples: []
|
|
64955
|
-
}, F = new DataView(D.buffer, D.byteOffset, D.byteLength), H = M.flags[2] & 1, Y = M.flags[2] & 4, q = M.flags[1] & 1, se = M.flags[1] & 2,
|
|
64958
|
+
}, F = new DataView(D.buffer, D.byteOffset, D.byteLength), H = M.flags[2] & 1, Y = M.flags[2] & 4, q = M.flags[1] & 1, se = M.flags[1] & 2, le = M.flags[1] & 4, ce = M.flags[1] & 8, fe = F.getUint32(4), ve = 8, Te;
|
|
64956
64959
|
for (H && (M.dataOffset = F.getInt32(ve), ve += 4), Y && fe && (Te = {
|
|
64957
64960
|
flags: Xf(D.subarray(ve, ve + 4))
|
|
64958
64961
|
}, ve += 4, q && (Te.duration = F.getUint32(ve), ve += 4), se && (Te.size = F.getUint32(ve), ve += 4), ce && (M.version === 1 ? Te.compositionTimeOffset = F.getInt32(ve) : Te.compositionTimeOffset = F.getUint32(ve), ve += 4), M.samples.push(Te), fe--); fe--; )
|
|
64959
|
-
Te = {}, q && (Te.duration = F.getUint32(ve), ve += 4), se && (Te.size = F.getUint32(ve), ve += 4),
|
|
64962
|
+
Te = {}, q && (Te.duration = F.getUint32(ve), ve += 4), se && (Te.size = F.getUint32(ve), ve += 4), le && (Te.flags = Xf(D.subarray(ve, ve + 4)), ve += 4), ce && (M.version === 1 ? Te.compositionTimeOffset = F.getInt32(ve) : Te.compositionTimeOffset = F.getUint32(ve), ve += 4), M.samples.push(Te);
|
|
64960
64963
|
return M;
|
|
64961
64964
|
}, Jf = zw, Zf = {
|
|
64962
64965
|
tfdt: Du,
|
|
@@ -64971,11 +64974,11 @@ browserWorkerPolyFill(self);
|
|
|
64971
64974
|
}, Yw = {
|
|
64972
64975
|
uint8ToCString: jw
|
|
64973
64976
|
}, Pr = Yw.uint8ToCString, Gw = i.getUint64, qw = function(D) {
|
|
64974
|
-
var M = 4, F = D[0], H, Y, q, se,
|
|
64977
|
+
var M = 4, F = D[0], H, Y, q, se, le, ce, fe, ve;
|
|
64975
64978
|
if (F === 0) {
|
|
64976
64979
|
H = Pr(D.subarray(M)), M += H.length, Y = Pr(D.subarray(M)), M += Y.length;
|
|
64977
64980
|
var Te = new DataView(D.buffer);
|
|
64978
|
-
q = Te.getUint32(M), M += 4,
|
|
64981
|
+
q = Te.getUint32(M), M += 4, le = Te.getUint32(M), M += 4, ce = Te.getUint32(M), M += 4, fe = Te.getUint32(M), M += 4;
|
|
64979
64982
|
} else if (F === 1) {
|
|
64980
64983
|
var Te = new DataView(D.buffer);
|
|
64981
64984
|
q = Te.getUint32(M), M += 4, se = Gw(D.subarray(M)), M += 8, ce = Te.getUint32(M), M += 4, fe = Te.getUint32(M), M += 4, H = Pr(D.subarray(M)), M += H.length, Y = Pr(D.subarray(M)), M += Y.length;
|
|
@@ -64987,7 +64990,7 @@ browserWorkerPolyFill(self);
|
|
|
64987
64990
|
// if timescale is undefined or 0 set to 1
|
|
64988
64991
|
timescale: q || 1,
|
|
64989
64992
|
presentation_time: se,
|
|
64990
|
-
presentation_time_delta:
|
|
64993
|
+
presentation_time_delta: le,
|
|
64991
64994
|
event_duration: ce,
|
|
64992
64995
|
id: fe,
|
|
64993
64996
|
message_data: ve
|
|
@@ -65009,14 +65012,14 @@ browserWorkerPolyFill(self);
|
|
|
65009
65012
|
tm = function(D) {
|
|
65010
65013
|
var M = {}, F = tn(D, ["moov", "trak"]);
|
|
65011
65014
|
return F.reduce(function(H, Y) {
|
|
65012
|
-
var q, se,
|
|
65013
|
-
return q = tn(Y, ["tkhd"])[0], !q || (se = q[0],
|
|
65015
|
+
var q, se, le, ce, fe;
|
|
65016
|
+
return q = tn(Y, ["tkhd"])[0], !q || (se = q[0], le = se === 0 ? 12 : 20, ce = Ir(q[le] << 24 | q[le + 1] << 16 | q[le + 2] << 8 | q[le + 3]), fe = tn(Y, ["mdia", "mdhd"])[0], !fe) ? null : (se = fe[0], le = se === 0 ? 12 : 20, H[ce] = Ir(fe[le] << 24 | fe[le + 1] << 16 | fe[le + 2] << 8 | fe[le + 3]), H);
|
|
65014
65017
|
}, M);
|
|
65015
65018
|
}, nm = function(D, M) {
|
|
65016
65019
|
var F;
|
|
65017
65020
|
F = tn(M, ["moof", "traf"]);
|
|
65018
65021
|
var H = F.reduce(function(Y, q) {
|
|
65019
|
-
var se = tn(q, ["tfhd"])[0],
|
|
65022
|
+
var se = tn(q, ["tfhd"])[0], le = Ir(se[4] << 24 | se[5] << 16 | se[6] << 8 | se[7]), ce = D[le] || 9e4, fe = tn(q, ["tfdt"])[0], ve = new DataView(fe.buffer, fe.byteOffset, fe.byteLength), Te;
|
|
65020
65023
|
fe[0] === 1 ? Te = $w(fe.subarray(4, 12)) : Te = ve.getUint32(4);
|
|
65021
65024
|
let Ke;
|
|
65022
65025
|
return typeof Te == "bigint" ? Ke = Te / ku.BigInt(ce) : typeof Te == "number" && !isNaN(Te) && (Ke = Te / ce), Ke < Number.MAX_SAFE_INTEGER && (Ke = Number(Ke)), Ke < Y && (Y = Ke), Y;
|
|
@@ -65025,7 +65028,7 @@ browserWorkerPolyFill(self);
|
|
|
65025
65028
|
}, am = function(D, M) {
|
|
65026
65029
|
var F = tn(M, ["moof", "traf"]), H = 0, Y = 0, q;
|
|
65027
65030
|
if (F && F.length) {
|
|
65028
|
-
var se = tn(F[0], ["tfhd"])[0],
|
|
65031
|
+
var se = tn(F[0], ["tfhd"])[0], le = tn(F[0], ["trun"])[0], ce = tn(F[0], ["tfdt"])[0];
|
|
65029
65032
|
if (se) {
|
|
65030
65033
|
var fe = Jw(se);
|
|
65031
65034
|
q = fe.trackId;
|
|
@@ -65034,8 +65037,8 @@ browserWorkerPolyFill(self);
|
|
|
65034
65037
|
var ve = _w(ce);
|
|
65035
65038
|
H = ve.baseMediaDecodeTime;
|
|
65036
65039
|
}
|
|
65037
|
-
if (
|
|
65038
|
-
var Te = Zw(
|
|
65040
|
+
if (le) {
|
|
65041
|
+
var Te = Zw(le);
|
|
65039
65042
|
Te.samples && Te.samples.length && (Y = Te.samples[0].compositionTimeOffset || 0);
|
|
65040
65043
|
}
|
|
65041
65044
|
}
|
|
@@ -65047,8 +65050,8 @@ browserWorkerPolyFill(self);
|
|
|
65047
65050
|
var M = tn(D, ["moov", "trak"]), F = [];
|
|
65048
65051
|
return M.forEach(function(H) {
|
|
65049
65052
|
var Y = tn(H, ["mdia", "hdlr"]), q = tn(H, ["tkhd"]);
|
|
65050
|
-
Y.forEach(function(se,
|
|
65051
|
-
var ce = Yi(se.subarray(8, 12)), fe = q[
|
|
65053
|
+
Y.forEach(function(se, le) {
|
|
65054
|
+
var ce = Yi(se.subarray(8, 12)), fe = q[le], ve, Te, Ke;
|
|
65052
65055
|
ce === "vide" && (ve = new DataView(fe.buffer, fe.byteOffset, fe.byteLength), Te = ve.getUint8(0), Ke = Te === 0 ? ve.getUint32(12) : ve.getUint32(20), F.push(Ke));
|
|
65053
65056
|
});
|
|
65054
65057
|
}), F;
|
|
@@ -65058,8 +65061,8 @@ browserWorkerPolyFill(self);
|
|
|
65058
65061
|
}, im = function(D) {
|
|
65059
65062
|
var M = tn(D, ["moov", "trak"]), F = [];
|
|
65060
65063
|
return M.forEach(function(H) {
|
|
65061
|
-
var Y = {}, q = tn(H, ["tkhd"])[0], se,
|
|
65062
|
-
q && (se = new DataView(q.buffer, q.byteOffset, q.byteLength),
|
|
65064
|
+
var Y = {}, q = tn(H, ["tkhd"])[0], se, le;
|
|
65065
|
+
q && (se = new DataView(q.buffer, q.byteOffset, q.byteLength), le = se.getUint8(0), Y.id = le === 0 ? se.getUint32(12) : se.getUint32(20));
|
|
65063
65066
|
var ce = tn(H, ["mdia", "hdlr"])[0];
|
|
65064
65067
|
if (ce) {
|
|
65065
65068
|
var fe = Yi(ce.subarray(8, 12));
|
|
@@ -65113,13 +65116,13 @@ browserWorkerPolyFill(self);
|
|
|
65113
65116
|
});
|
|
65114
65117
|
}), H;
|
|
65115
65118
|
}, ab = function(D, M, F) {
|
|
65116
|
-
var H = M, Y = F.defaultSampleDuration || 0, q = F.defaultSampleSize || 0, se = F.trackId,
|
|
65119
|
+
var H = M, Y = F.defaultSampleDuration || 0, q = F.defaultSampleSize || 0, se = F.trackId, le = [];
|
|
65117
65120
|
return D.forEach(function(ce) {
|
|
65118
65121
|
var fe = tb(ce), ve = fe.samples;
|
|
65119
65122
|
ve.forEach(function(Te) {
|
|
65120
65123
|
Te.duration === void 0 && (Te.duration = Y), Te.size === void 0 && (Te.size = q), Te.trackId = se, Te.dts = H, Te.compositionTimeOffset === void 0 && (Te.compositionTimeOffset = 0), typeof H == "bigint" ? (Te.pts = H + rm.BigInt(Te.compositionTimeOffset), H += rm.BigInt(Te.duration)) : (Te.pts = H + Te.compositionTimeOffset, H += Te.duration);
|
|
65121
|
-
}),
|
|
65122
|
-
}),
|
|
65124
|
+
}), le = le.concat(ve);
|
|
65125
|
+
}), le;
|
|
65123
65126
|
}, dm = {
|
|
65124
65127
|
getMdatTrafPairs: nb,
|
|
65125
65128
|
parseSamples: ab
|
|
@@ -65138,15 +65141,15 @@ browserWorkerPolyFill(self);
|
|
|
65138
65141
|
var H = new DataView(D.buffer, D.byteOffset, D.byteLength), Y = {
|
|
65139
65142
|
logs: [],
|
|
65140
65143
|
seiNals: []
|
|
65141
|
-
}, q, se,
|
|
65142
|
-
for (se = 0; se + 4 < D.length; se +=
|
|
65143
|
-
if (
|
|
65144
|
+
}, q, se, le, ce;
|
|
65145
|
+
for (se = 0; se + 4 < D.length; se += le)
|
|
65146
|
+
if (le = H.getUint32(se), se += 4, !(le <= 0))
|
|
65144
65147
|
switch (D[se] & 31) {
|
|
65145
65148
|
case 6:
|
|
65146
|
-
var fe = D.subarray(se + 1, se + 1 +
|
|
65149
|
+
var fe = D.subarray(se + 1, se + 1 + le), ve = ub(se, M);
|
|
65147
65150
|
if (q = {
|
|
65148
65151
|
nalUnitType: "sei_rbsp",
|
|
65149
|
-
size:
|
|
65152
|
+
size: le,
|
|
65150
65153
|
data: fe,
|
|
65151
65154
|
escapedRBSP: sb(fe),
|
|
65152
65155
|
trackId: F
|
|
@@ -65168,7 +65171,7 @@ browserWorkerPolyFill(self);
|
|
|
65168
65171
|
}, hb = function(D, M) {
|
|
65169
65172
|
var F = {}, H = rb(D);
|
|
65170
65173
|
return H.forEach(function(Y) {
|
|
65171
|
-
var q = Y.mdat, se = Y.traf,
|
|
65174
|
+
var q = Y.mdat, se = Y.traf, le = Pu(se, ["tfhd"]), ce = lb(le[0]), fe = ce.trackId, ve = Pu(se, ["tfdt"]), Te = ve.length > 0 ? ob(ve[0]).baseMediaDecodeTime : 0, Ke = Pu(se, ["trun"]), Me, lt;
|
|
65172
65175
|
M === fe && Ke.length > 0 && (Me = db(Ke, Te, ce), lt = cb(q, Me, fe), F[fe] || (F[fe] = {
|
|
65173
65176
|
seiNals: [],
|
|
65174
65177
|
logs: []
|
|
@@ -65189,15 +65192,15 @@ browserWorkerPolyFill(self);
|
|
|
65189
65192
|
var D = !1, M, F, H, Y, q, se;
|
|
65190
65193
|
this.isInitialized = function() {
|
|
65191
65194
|
return D;
|
|
65192
|
-
}, this.init = function(
|
|
65193
|
-
M = new ib(), D = !0, se =
|
|
65195
|
+
}, this.init = function(le) {
|
|
65196
|
+
M = new ib(), D = !0, se = le ? le.isPartial : !1, M.on("data", function(ce) {
|
|
65194
65197
|
ce.startTime = ce.startPts / Y, ce.endTime = ce.endPts / Y, q.captions.push(ce), q.captionStreams[ce.stream] = !0;
|
|
65195
65198
|
}), M.on("log", function(ce) {
|
|
65196
65199
|
q.logs.push(ce);
|
|
65197
65200
|
});
|
|
65198
|
-
}, this.isNewInit = function(
|
|
65199
|
-
return
|
|
65200
|
-
}, this.parse = function(
|
|
65201
|
+
}, this.isNewInit = function(le, ce) {
|
|
65202
|
+
return le && le.length === 0 || ce && typeof ce == "object" && Object.keys(ce).length === 0 ? !1 : H !== le[0] || Y !== ce[H];
|
|
65203
|
+
}, this.parse = function(le, ce, fe) {
|
|
65201
65204
|
var ve;
|
|
65202
65205
|
if (this.isInitialized()) {
|
|
65203
65206
|
if (!ce || !fe)
|
|
@@ -65205,21 +65208,21 @@ browserWorkerPolyFill(self);
|
|
|
65205
65208
|
if (this.isNewInit(ce, fe))
|
|
65206
65209
|
H = ce[0], Y = fe[H];
|
|
65207
65210
|
else if (H === null || !Y)
|
|
65208
|
-
return F.push(
|
|
65211
|
+
return F.push(le), null;
|
|
65209
65212
|
} else return null;
|
|
65210
65213
|
for (; F.length > 0; ) {
|
|
65211
65214
|
var Te = F.shift();
|
|
65212
65215
|
this.parse(Te, ce, fe);
|
|
65213
65216
|
}
|
|
65214
|
-
return ve = gb(
|
|
65217
|
+
return ve = gb(le, H, Y), ve && ve.logs && (q.logs = q.logs.concat(ve.logs)), ve === null || !ve.seiNals ? q.logs.length ? {
|
|
65215
65218
|
logs: q.logs,
|
|
65216
65219
|
captions: [],
|
|
65217
65220
|
captionStreams: []
|
|
65218
65221
|
} : null : (this.pushNals(ve.seiNals), this.flushStream(), q);
|
|
65219
|
-
}, this.pushNals = function(
|
|
65220
|
-
if (!this.isInitialized() || !
|
|
65222
|
+
}, this.pushNals = function(le) {
|
|
65223
|
+
if (!this.isInitialized() || !le || le.length === 0)
|
|
65221
65224
|
return null;
|
|
65222
|
-
|
|
65225
|
+
le.forEach(function(ce) {
|
|
65223
65226
|
M.push(ce);
|
|
65224
65227
|
});
|
|
65225
65228
|
}, this.flushStream = function() {
|
|
@@ -65260,7 +65263,7 @@ browserWorkerPolyFill(self);
|
|
|
65260
65263
|
const F = [], H = yb(M);
|
|
65261
65264
|
let Y = 0;
|
|
65262
65265
|
return H.forEach(function(q) {
|
|
65263
|
-
const se = q.mdat,
|
|
65266
|
+
const se = q.mdat, le = q.traf, ce = zs(le, ["tfdt"])[0], fe = zs(le, ["tfhd"])[0], ve = zs(le, ["trun"]);
|
|
65264
65267
|
if (ce && (Y = pb(ce).baseMediaDecodeTime), ve.length && fe) {
|
|
65265
65268
|
const Te = vb(ve, Y, fe);
|
|
65266
65269
|
let Ke = 0;
|
|
@@ -65315,9 +65318,9 @@ browserWorkerPolyFill(self);
|
|
|
65315
65318
|
if (F && (H += D[H] + 1), !!(D[H + 5] & 1)) {
|
|
65316
65319
|
var Y, q, se;
|
|
65317
65320
|
Y = (D[H + 1] & 15) << 8 | D[H + 2], q = 3 + Y - 4, se = (D[H + 10] & 15) << 8 | D[H + 11];
|
|
65318
|
-
for (var
|
|
65319
|
-
var ce = H +
|
|
65320
|
-
M[(D[ce + 1] & 31) << 8 | D[ce + 2]] = D[ce],
|
|
65321
|
+
for (var le = 12 + se; le < q; ) {
|
|
65322
|
+
var ce = H + le;
|
|
65323
|
+
M[(D[ce + 1] & 31) << 8 | D[ce + 2]] = D[ce], le += ((D[ce + 3] & 15) << 8 | D[ce + 4]) + 5;
|
|
65321
65324
|
}
|
|
65322
65325
|
return M;
|
|
65323
65326
|
}
|
|
@@ -65410,8 +65413,8 @@ browserWorkerPolyFill(self);
|
|
|
65410
65413
|
break;
|
|
65411
65414
|
case "pmt":
|
|
65412
65415
|
var se = Ut.ts.parsePmt(Y);
|
|
65413
|
-
M.table = M.table || {}, Object.keys(se).forEach(function(
|
|
65414
|
-
M.table[
|
|
65416
|
+
M.table = M.table || {}, Object.keys(se).forEach(function(le) {
|
|
65417
|
+
M.table[le] = se[le];
|
|
65415
65418
|
});
|
|
65416
65419
|
break;
|
|
65417
65420
|
}
|
|
@@ -65421,11 +65424,11 @@ browserWorkerPolyFill(self);
|
|
|
65421
65424
|
F++, H++;
|
|
65422
65425
|
}
|
|
65423
65426
|
}, gm = function(D, M, F) {
|
|
65424
|
-
for (var H = 0, Y = Qn, q, se,
|
|
65427
|
+
for (var H = 0, Y = Qn, q, se, le, ce, fe, ve = !1; Y <= D.byteLength; ) {
|
|
65425
65428
|
if (D[H] === Ka && (D[Y] === Ka || Y === D.byteLength)) {
|
|
65426
65429
|
switch (q = D.subarray(H, Y), se = Ut.ts.parseType(q, M.pid), se) {
|
|
65427
65430
|
case "pes":
|
|
65428
|
-
|
|
65431
|
+
le = Ut.ts.parsePesType(q, M.table), ce = Ut.ts.parsePayloadUnitStartIndicator(q), le === "audio" && ce && (fe = Ut.ts.parsePesTime(q), fe && (fe.type = "audio", F.audio.push(fe), ve = !0));
|
|
65429
65432
|
break;
|
|
65430
65433
|
}
|
|
65431
65434
|
if (ve)
|
|
@@ -65439,7 +65442,7 @@ browserWorkerPolyFill(self);
|
|
|
65439
65442
|
if (D[H] === Ka && (D[Y] === Ka || Y === D.byteLength)) {
|
|
65440
65443
|
switch (q = D.subarray(H, Y), se = Ut.ts.parseType(q, M.pid), se) {
|
|
65441
65444
|
case "pes":
|
|
65442
|
-
|
|
65445
|
+
le = Ut.ts.parsePesType(q, M.table), ce = Ut.ts.parsePayloadUnitStartIndicator(q), le === "audio" && ce && (fe = Ut.ts.parsePesTime(q), fe && (fe.type = "audio", F.audio.push(fe), ve = !0));
|
|
65443
65446
|
break;
|
|
65444
65447
|
}
|
|
65445
65448
|
if (ve)
|
|
@@ -65450,14 +65453,14 @@ browserWorkerPolyFill(self);
|
|
|
65450
65453
|
H--, Y--;
|
|
65451
65454
|
}
|
|
65452
65455
|
}, Pb = function(D, M, F) {
|
|
65453
|
-
for (var H = 0, Y = Qn, q, se,
|
|
65456
|
+
for (var H = 0, Y = Qn, q, se, le, ce, fe, ve, Te, Ke, Me = !1, lt = {
|
|
65454
65457
|
data: [],
|
|
65455
65458
|
size: 0
|
|
65456
65459
|
}; Y < D.byteLength; ) {
|
|
65457
65460
|
if (D[H] === Ka && D[Y] === Ka) {
|
|
65458
65461
|
switch (q = D.subarray(H, Y), se = Ut.ts.parseType(q, M.pid), se) {
|
|
65459
65462
|
case "pes":
|
|
65460
|
-
if (
|
|
65463
|
+
if (le = Ut.ts.parsePesType(q, M.table), ce = Ut.ts.parsePayloadUnitStartIndicator(q), le === "video" && (ce && !Me && (fe = Ut.ts.parsePesTime(q), fe && (fe.type = "video", F.video.push(fe), Me = !0)), !F.firstKeyFrame)) {
|
|
65461
65464
|
if (ce && lt.size !== 0) {
|
|
65462
65465
|
for (ve = new Uint8Array(lt.size), Te = 0; lt.data.length; )
|
|
65463
65466
|
Ke = lt.data.shift(), ve.set(Ke, Te), Te += Ke.byteLength;
|
|
@@ -65482,7 +65485,7 @@ browserWorkerPolyFill(self);
|
|
|
65482
65485
|
if (D[H] === Ka && D[Y] === Ka) {
|
|
65483
65486
|
switch (q = D.subarray(H, Y), se = Ut.ts.parseType(q, M.pid), se) {
|
|
65484
65487
|
case "pes":
|
|
65485
|
-
|
|
65488
|
+
le = Ut.ts.parsePesType(q, M.table), ce = Ut.ts.parsePayloadUnitStartIndicator(q), le === "video" && ce && (fe = Ut.ts.parsePesTime(q), fe && (fe.type = "video", F.video.push(fe), Me = !0));
|
|
65486
65489
|
break;
|
|
65487
65490
|
}
|
|
65488
65491
|
if (Me)
|
|
@@ -65509,7 +65512,7 @@ browserWorkerPolyFill(self);
|
|
|
65509
65512
|
}
|
|
65510
65513
|
}
|
|
65511
65514
|
}, Tb = function(D) {
|
|
65512
|
-
for (var M = !1, F = 0, H = null, Y = null, q = 0, se = 0,
|
|
65515
|
+
for (var M = !1, F = 0, H = null, Y = null, q = 0, se = 0, le; D.length - se >= 3; ) {
|
|
65513
65516
|
var ce = Ut.aac.parseType(D, se);
|
|
65514
65517
|
switch (ce) {
|
|
65515
65518
|
case "timed-metadata":
|
|
@@ -65521,7 +65524,7 @@ browserWorkerPolyFill(self);
|
|
|
65521
65524
|
M = !0;
|
|
65522
65525
|
break;
|
|
65523
65526
|
}
|
|
65524
|
-
Y === null && (
|
|
65527
|
+
Y === null && (le = D.subarray(se, se + q), Y = Ut.aac.parseAacTimestamp(le)), se += q;
|
|
65525
65528
|
break;
|
|
65526
65529
|
case "audio":
|
|
65527
65530
|
if (D.length - se < 7) {
|
|
@@ -65532,7 +65535,7 @@ browserWorkerPolyFill(self);
|
|
|
65532
65535
|
M = !0;
|
|
65533
65536
|
break;
|
|
65534
65537
|
}
|
|
65535
|
-
H === null && (
|
|
65538
|
+
H === null && (le = D.subarray(se, se + q), H = Ut.aac.parseSampleRate(le)), F++, se += q;
|
|
65536
65539
|
break;
|
|
65537
65540
|
default:
|
|
65538
65541
|
se++;
|
|
@@ -70055,9 +70058,9 @@ const Xde = hy(gy(function() {
|
|
|
70055
70058
|
let T = p ^ L[0], S = B ^ L[1], Q = k ^ L[2], O = x ^ L[3], V, R, N;
|
|
70056
70059
|
const K = L.length / 4 - 2;
|
|
70057
70060
|
let _, X = 4;
|
|
70058
|
-
const $ = this._tables[1], ne = $[0],
|
|
70061
|
+
const $ = this._tables[1], ne = $[0], oe = $[1], G = $[2], ae = $[3], te = $[4];
|
|
70059
70062
|
for (_ = 0; _ < K; _++)
|
|
70060
|
-
V = ne[T >>> 24] ^
|
|
70063
|
+
V = ne[T >>> 24] ^ oe[S >> 16 & 255] ^ G[Q >> 8 & 255] ^ ae[O & 255] ^ L[X], R = ne[S >>> 24] ^ oe[Q >> 16 & 255] ^ G[O >> 8 & 255] ^ ae[T & 255] ^ L[X + 1], N = ne[Q >>> 24] ^ oe[O >> 16 & 255] ^ G[T >> 8 & 255] ^ ae[S & 255] ^ L[X + 2], O = ne[O >>> 24] ^ oe[T >> 16 & 255] ^ G[S >> 8 & 255] ^ ae[Q & 255] ^ L[X + 3], X += 4, T = V, S = R, Q = N;
|
|
70061
70064
|
for (_ = 0; _ < 4; _++)
|
|
70062
70065
|
I[(3 & -_) + E] = te[T >>> 24] << 24 ^ te[S >> 16 & 255] << 16 ^ te[Q >> 8 & 255] << 8 ^ te[O & 255] ^ L[X++], V = T, T = S, S = Q, Q = O, O = V;
|
|
70063
70066
|
}
|
|
@@ -73937,10 +73940,10 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
73937
73940
|
);
|
|
73938
73941
|
const ne = (Ae) => {
|
|
73939
73942
|
const Ee = Ae ?? 250;
|
|
73940
|
-
p.value ? (
|
|
73943
|
+
p.value ? (oe(), O.value = setTimeout(G, Ee)) : (G(), O.value = setTimeout(oe, Ee)), V.value = setTimeout(() => {
|
|
73941
73944
|
x.value = !0;
|
|
73942
73945
|
}, Ee);
|
|
73943
|
-
},
|
|
73946
|
+
}, oe = () => {
|
|
73944
73947
|
const Ae = b.value;
|
|
73945
73948
|
let Ee = null;
|
|
73946
73949
|
Ae && Ae[o.currentIdx] && (Ee = Ae[o.currentIdx]), Ee && Ee.getBoundingClientRect && (f.value = Ee.getBoundingClientRect().right);
|
|
@@ -74598,7 +74601,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74598
74601
|
}, ne = (te, Z) => {
|
|
74599
74602
|
debugger;
|
|
74600
74603
|
n("handleDelete", te || u.modelValue.id, Z);
|
|
74601
|
-
},
|
|
74604
|
+
}, oe = (te) => {
|
|
74602
74605
|
debugger;
|
|
74603
74606
|
n("handleCopy", te || u.modelValue);
|
|
74604
74607
|
}, G = (te, Z, ie) => {
|
|
@@ -74647,7 +74650,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74647
74650
|
type: xe.type,
|
|
74648
74651
|
"props-data": { modelValue: xe, isPreview: t.isPreview, host: t.host, locale: t.locale, lang: t.lang, footer: t.footer, brand: t.brand, showOperate: t.showOperate },
|
|
74649
74652
|
onHandleDelete: Z[0] || (Z[0] = (Pe) => ne(Pe, R.value)),
|
|
74650
|
-
onHandleCopy: Z[1] || (Z[1] = (Pe) =>
|
|
74653
|
+
onHandleCopy: Z[1] || (Z[1] = (Pe) => oe(Pe)),
|
|
74651
74654
|
onHandlePaste: (Pe) => G(Pe, R.value, je),
|
|
74652
74655
|
onHandleClick: ae
|
|
74653
74656
|
}, null, 8, ["hash", "type", "props-data", "onHandlePaste"]))), 128))
|
|
@@ -74699,7 +74702,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74699
74702
|
type: je.type,
|
|
74700
74703
|
"props-data": { modelValue: je, isPreview: !0, host: t.host, locale: t.locale, lang: t.lang, footer: t.footer, brand: t.brand, showOperate: t.showOperate },
|
|
74701
74704
|
onHandleDelete: Z[3] || (Z[3] = (Le) => ne(Le, R.value)),
|
|
74702
|
-
onHandleCopy: Z[4] || (Z[4] = (Le) =>
|
|
74705
|
+
onHandleCopy: Z[4] || (Z[4] = (Le) => oe(Le)),
|
|
74703
74706
|
onHandlePaste: (Le) => G(Le, R.value, Pe),
|
|
74704
74707
|
onHandleClick: ae
|
|
74705
74708
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
@@ -74708,7 +74711,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74708
74711
|
type: ye.type,
|
|
74709
74712
|
"props-data": { modelValue: ye, isPreview: t.isPreview, host: t.host, locale: t.locale, lang: t.lang, footer: t.footer, brand: t.brand, showOperate: t.showOperate },
|
|
74710
74713
|
onHandleDelete: Z[5] || (Z[5] = (je) => ne(je, R.value)),
|
|
74711
|
-
onHandleCopy: Z[6] || (Z[6] = (je) =>
|
|
74714
|
+
onHandleCopy: Z[6] || (Z[6] = (je) => oe(je)),
|
|
74712
74715
|
onHandlePaste: (je) => G(je, R.value, xe),
|
|
74713
74716
|
onHandleClick: ae
|
|
74714
74717
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
@@ -74728,7 +74731,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74728
74731
|
locale: t.locale,
|
|
74729
74732
|
onHandleEdit: Z[8] || (Z[8] = (re) => p.value = !0),
|
|
74730
74733
|
onHandleDelete: ne,
|
|
74731
|
-
onHandleCopy:
|
|
74734
|
+
onHandleCopy: oe,
|
|
74732
74735
|
onHandlePaste: G
|
|
74733
74736
|
}, null, 8, ["show", "locale"])) : W("", !0),
|
|
74734
74737
|
!t.isPreview && t.showOperate ? (y(), de(rhe, {
|
|
@@ -74828,7 +74831,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74828
74831
|
}, ne = () => {
|
|
74829
74832
|
var te;
|
|
74830
74833
|
(te = o.tabList) != null && te.length && (E.value && (x.value = E.value.scrollLeft, k.value = E.value.scrollWidth), I.value && (B.value = I.value.getBoundingClientRect().width));
|
|
74831
|
-
},
|
|
74834
|
+
}, oe = (te) => {
|
|
74832
74835
|
E.value && (te == "next" ? E.value.scrollLeft += 9999 : E.value.scrollLeft -= 9999);
|
|
74833
74836
|
}, G = () => {
|
|
74834
74837
|
const te = L.value[o.currentIdx];
|
|
@@ -74858,7 +74861,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74858
74861
|
}, [
|
|
74859
74862
|
Re(r("div", {
|
|
74860
74863
|
class: "tab-logo__nav__prev",
|
|
74861
|
-
onClick: Z[0] || (Z[0] = (ie) =>
|
|
74864
|
+
onClick: Z[0] || (Z[0] = (ie) => oe("prev"))
|
|
74862
74865
|
}, null, 512), [
|
|
74863
74866
|
[Ge, Q.value]
|
|
74864
74867
|
]),
|
|
@@ -74892,7 +74895,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
74892
74895
|
], 2))), 128)),
|
|
74893
74896
|
Re(r("div", {
|
|
74894
74897
|
class: "tab-logo__nav__next",
|
|
74895
|
-
onClick: Z[1] || (Z[1] = (ie) =>
|
|
74898
|
+
onClick: Z[1] || (Z[1] = (ie) => oe("next"))
|
|
74896
74899
|
}, null, 512), [
|
|
74897
74900
|
[Ge, O.value]
|
|
74898
74901
|
])
|
|
@@ -75172,7 +75175,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
75172
75175
|
}, 8, ["visible"]);
|
|
75173
75176
|
};
|
|
75174
75177
|
}
|
|
75175
|
-
}), Uhe = /* @__PURE__ */ pe(Qhe, [["__scopeId", "data-v-
|
|
75178
|
+
}), Uhe = /* @__PURE__ */ pe(Qhe, [["__scopeId", "data-v-e2fbc2f5"]]), Hhe = { class: "tab-page__content" }, Fhe = { key: 0 }, Rhe = {
|
|
75176
75179
|
key: 1,
|
|
75177
75180
|
class: "component-wrapper",
|
|
75178
75181
|
style: { position: "relative" }
|
|
@@ -75330,7 +75333,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
75330
75333
|
n("handleCopy", G || u.modelValue);
|
|
75331
75334
|
}, ne = (G, ae, te) => {
|
|
75332
75335
|
n("handlePaste", G, ae, te);
|
|
75333
|
-
},
|
|
75336
|
+
}, oe = (G) => {
|
|
75334
75337
|
n("handleClick", G);
|
|
75335
75338
|
};
|
|
75336
75339
|
return ze(
|
|
@@ -75399,7 +75402,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
75399
75402
|
onHandleDelete: ae[1] || (ae[1] = (je) => X(je, V.value)),
|
|
75400
75403
|
onHandleCopy: ae[2] || (ae[2] = (je) => $(je)),
|
|
75401
75404
|
onHandlePaste: (je) => ne(je, V.value, xe),
|
|
75402
|
-
onHandleClick:
|
|
75405
|
+
onHandleClick: oe
|
|
75403
75406
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
75404
75407
|
]))), 128)) : (y(), P("div", Rhe, [
|
|
75405
75408
|
h(bn, {
|
|
@@ -75408,7 +75411,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
75408
75411
|
onHandleDelete: ae[3] || (ae[3] = (ye) => X(ye, V.value)),
|
|
75409
75412
|
onHandleCopy: ae[4] || (ae[4] = (ye) => $(ye)),
|
|
75410
75413
|
onHandlePaste: (ye) => ne(ye, V.value, re),
|
|
75411
|
-
onHandleClick:
|
|
75414
|
+
onHandleClick: oe
|
|
75412
75415
|
}, null, 8, ["type", "props-data", "onHandlePaste"])
|
|
75413
75416
|
]))
|
|
75414
75417
|
], 64))), 128))
|
|
@@ -75716,7 +75719,7 @@ const dce = /* @__PURE__ */ pe(ice, [["render", rce], ["__scopeId", "data-v-c5a2
|
|
|
75716
75719
|
}, 8, ["visible"]);
|
|
75717
75720
|
};
|
|
75718
75721
|
}
|
|
75719
|
-
}), ige = /* @__PURE__ */ pe(sge, [["__scopeId", "data-v-
|
|
75722
|
+
}), ige = /* @__PURE__ */ pe(sge, [["__scopeId", "data-v-22ddc9ad"]]), oge = ["onClick"], lge = ["src", "alt"], rge = { class: "tab-image-tab__title" }, dge = /* @__PURE__ */ we({
|
|
75720
75723
|
name: "TabImageTab",
|
|
75721
75724
|
__name: "TabImageTab",
|
|
75722
75725
|
props: {
|
|
@@ -77577,18 +77580,18 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77577
77580
|
])) : W("", !0),
|
|
77578
77581
|
h(V, {
|
|
77579
77582
|
class: "btn-delete",
|
|
77580
|
-
onClick: (
|
|
77583
|
+
onClick: (oe) => B(ne.key, "categories", X.categoriesList)
|
|
77581
77584
|
}, null, 8, ["onClick"]),
|
|
77582
77585
|
h(R, {
|
|
77583
77586
|
class: "btn-delete",
|
|
77584
|
-
onClick: (
|
|
77587
|
+
onClick: (oe) => f(ne, "Category")
|
|
77585
77588
|
}, null, 8, ["onClick"])
|
|
77586
77589
|
])
|
|
77587
77590
|
]),
|
|
77588
77591
|
E[13] || (E[13] = r("p", null, "Name", -1)),
|
|
77589
77592
|
h(N, {
|
|
77590
77593
|
modelValue: ne.name,
|
|
77591
|
-
"onUpdate:modelValue": (
|
|
77594
|
+
"onUpdate:modelValue": (oe) => ne.name = oe,
|
|
77592
77595
|
placeholder: c(u)("setting.input_title"),
|
|
77593
77596
|
"allow-clear": ""
|
|
77594
77597
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
@@ -77596,7 +77599,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77596
77599
|
r("div", null, [
|
|
77597
77600
|
h(c(n), We({
|
|
77598
77601
|
modelValue: ne.facilitiesList,
|
|
77599
|
-
"onUpdate:modelValue": (
|
|
77602
|
+
"onUpdate:modelValue": (oe) => ne.facilitiesList = oe,
|
|
77600
77603
|
"component-data": {
|
|
77601
77604
|
tag: "div",
|
|
77602
77605
|
type: "transition-group",
|
|
@@ -77604,19 +77607,19 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77604
77607
|
}
|
|
77605
77608
|
}, i.value, {
|
|
77606
77609
|
disabled: !o(ne.facilitiesList),
|
|
77607
|
-
onStart: E[2] || (E[2] = (
|
|
77608
|
-
onEnd: E[3] || (E[3] = (
|
|
77610
|
+
onStart: E[2] || (E[2] = (oe) => a.value = !0),
|
|
77611
|
+
onEnd: E[3] || (E[3] = (oe) => a.value = !1),
|
|
77609
77612
|
"item-key": "id"
|
|
77610
77613
|
}), {
|
|
77611
|
-
item: C(({ element:
|
|
77614
|
+
item: C(({ element: oe }) => [
|
|
77612
77615
|
(y(), P("div", {
|
|
77613
77616
|
class: ue(["item-button draggable-item", { "sortable-disabled": !o(ne.facilitiesList) }]),
|
|
77614
|
-
key:
|
|
77617
|
+
key: oe.key,
|
|
77615
77618
|
style: { border: "1px solid #d9d9d9", "border-radius": "8px" }
|
|
77616
77619
|
}, [
|
|
77617
77620
|
r("div", ime, [
|
|
77618
77621
|
r("div", null, [
|
|
77619
|
-
r("h4", null, g(
|
|
77622
|
+
r("h4", null, g(oe.name), 1)
|
|
77620
77623
|
]),
|
|
77621
77624
|
r("div", ome, [
|
|
77622
77625
|
o(ne.facilitiesList) ? (y(), P("div", lme, [
|
|
@@ -77624,43 +77627,43 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77624
77627
|
])) : W("", !0),
|
|
77625
77628
|
h(V, {
|
|
77626
77629
|
class: "btn-delete",
|
|
77627
|
-
onClick: (G) => B(
|
|
77630
|
+
onClick: (G) => B(oe.key, "facilitiy", ne.facilitiesList)
|
|
77628
77631
|
}, null, 8, ["onClick"]),
|
|
77629
77632
|
h(R, {
|
|
77630
77633
|
class: "btn-delete",
|
|
77631
|
-
onClick: (G) => f(
|
|
77634
|
+
onClick: (G) => f(oe, "Facility")
|
|
77632
77635
|
}, null, 8, ["onClick"])
|
|
77633
77636
|
])
|
|
77634
77637
|
]),
|
|
77635
77638
|
E[11] || (E[11] = r("p", { class: "item-title" }, "Name", -1)),
|
|
77636
77639
|
h(N, {
|
|
77637
|
-
modelValue:
|
|
77638
|
-
"onUpdate:modelValue": (G) =>
|
|
77640
|
+
modelValue: oe.name,
|
|
77641
|
+
"onUpdate:modelValue": (G) => oe.name = G,
|
|
77639
77642
|
placeholder: c(u)("setting.input_title"),
|
|
77640
77643
|
"allow-clear": ""
|
|
77641
77644
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
77642
77645
|
r("p", rme, g(c(u)("setting.image")), 1),
|
|
77643
77646
|
r("img", {
|
|
77644
77647
|
class: "item-img",
|
|
77645
|
-
src:
|
|
77648
|
+
src: oe.url
|
|
77646
77649
|
}, null, 8, dme),
|
|
77647
77650
|
r("div", ume, [
|
|
77648
77651
|
h(N, {
|
|
77649
|
-
modelValue:
|
|
77650
|
-
"onUpdate:modelValue": (G) =>
|
|
77652
|
+
modelValue: oe.url,
|
|
77653
|
+
"onUpdate:modelValue": (G) => oe.url = G,
|
|
77651
77654
|
placeholder: c(u)("setting.image_link"),
|
|
77652
77655
|
"allow-clear": ""
|
|
77653
77656
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
77654
77657
|
h(ft, {
|
|
77655
|
-
modelValue:
|
|
77656
|
-
"onUpdate:modelValue": (G) =>
|
|
77657
|
-
name:
|
|
77658
|
+
modelValue: oe.url,
|
|
77659
|
+
"onUpdate:modelValue": (G) => oe.url = G,
|
|
77660
|
+
name: oe.key
|
|
77658
77661
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"])
|
|
77659
77662
|
]),
|
|
77660
77663
|
E[12] || (E[12] = r("p", { class: "item-title" }, "VR Embed URL", -1)),
|
|
77661
77664
|
h(N, {
|
|
77662
|
-
modelValue:
|
|
77663
|
-
"onUpdate:modelValue": (G) =>
|
|
77665
|
+
modelValue: oe.embed,
|
|
77666
|
+
"onUpdate:modelValue": (G) => oe.embed = G,
|
|
77664
77667
|
placeholder: c(u)("setting.please_input"),
|
|
77665
77668
|
"allow-clear": ""
|
|
77666
77669
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
@@ -77672,7 +77675,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77672
77675
|
r("div", cme, [
|
|
77673
77676
|
h(K, {
|
|
77674
77677
|
type: "primary",
|
|
77675
|
-
onClick: (
|
|
77678
|
+
onClick: (oe) => k("facilitiy", ne)
|
|
77676
77679
|
}, {
|
|
77677
77680
|
default: C(() => [
|
|
77678
77681
|
U(g(c(u)("setting.add")) + " Facility", 1)
|
|
@@ -77683,7 +77686,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
77683
77686
|
type: "primary",
|
|
77684
77687
|
style: { "margin-left": "10px" },
|
|
77685
77688
|
disabled: !w.value || b.value !== "Facility",
|
|
77686
|
-
onClick: (
|
|
77689
|
+
onClick: (oe) => p(ne)
|
|
77687
77690
|
}, {
|
|
77688
77691
|
default: C(() => [
|
|
77689
77692
|
U(g(c(u)("setting.paste")) + " Facility", 1)
|
|
@@ -78076,8 +78079,8 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78076
78079
|
E("update:show", !1);
|
|
78077
78080
|
};
|
|
78078
78081
|
return (T, S) => {
|
|
78079
|
-
const Q = j("a-radio"), O = j("a-radio-group"), V = j("a-option"), R = j("a-select"), N = j("icon-drag-dot"), K = j("icon-drag-arrow"), _ = j("icon-delete"), X = j("a-input"), $ = j("icon-plus"), ne = j("a-button"),
|
|
78080
|
-
return y(), de(
|
|
78082
|
+
const Q = j("a-radio"), O = j("a-radio-group"), V = j("a-option"), R = j("a-select"), N = j("icon-drag-dot"), K = j("icon-drag-arrow"), _ = j("icon-delete"), X = j("a-input"), $ = j("icon-plus"), ne = j("a-button"), oe = j("a-drawer");
|
|
78083
|
+
return y(), de(oe, {
|
|
78081
78084
|
width: 600,
|
|
78082
78085
|
visible: t.show,
|
|
78083
78086
|
footer: !1,
|
|
@@ -78587,7 +78590,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78587
78590
|
},
|
|
78588
78591
|
emits: ["update:show"],
|
|
78589
78592
|
setup(t, { emit: e }) {
|
|
78590
|
-
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-
|
|
78593
|
+
const n = $e(() => import("vuedraggable")), a = $e(() => import("./index-CHFxx1ZN.mjs")), s = z(!1), i = J(() => ({
|
|
78591
78594
|
animation: 200,
|
|
78592
78595
|
group: "gallerys",
|
|
78593
78596
|
disabled: !1,
|
|
@@ -78816,13 +78819,13 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78816
78819
|
emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
78817
78820
|
setup(t, { emit: e }) {
|
|
78818
78821
|
const { proxy: n } = Ca(), { $_vsWidth: a, $_vsScrollY: s, $vsScreenAddListener: i, $vsScreenDestroyListener: l } = n, o = t, { themeStyle: d } = Je(o.brand), { t: u } = Be(() => o.locale), { t: m } = Be(() => o.lang), w = e, b = () => {
|
|
78819
|
-
var
|
|
78822
|
+
var oe;
|
|
78820
78823
|
if (o.modelValue && Array.isArray(o.modelValue.data) && o.modelValue.data.length) {
|
|
78821
78824
|
o.modelValue.openFirst && p.value.size === 0 && p.value.add(o.modelValue.data[0].key);
|
|
78822
78825
|
return;
|
|
78823
78826
|
}
|
|
78824
78827
|
const ne = {
|
|
78825
|
-
id: ((
|
|
78828
|
+
id: ((oe = o.modelValue) == null ? void 0 : oe.id) || ee(),
|
|
78826
78829
|
//componentKey
|
|
78827
78830
|
type: "AccordionText",
|
|
78828
78831
|
showMode: "",
|
|
@@ -78842,8 +78845,8 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78842
78845
|
};
|
|
78843
78846
|
w("update:modelValue", ne);
|
|
78844
78847
|
}, f = z(Date.now()), A = z(6), v = z(6), p = z(/* @__PURE__ */ new Set()), x = z([]), k = z([]), B = z(!1), I = z(!1), E = J(() => {
|
|
78845
|
-
var ne,
|
|
78846
|
-
return o.isPreview ? ((ne = o.modelValue) == null ? void 0 : ne.showMode) === "pc" ? !Ie() : ((
|
|
78848
|
+
var ne, oe;
|
|
78849
|
+
return o.isPreview ? ((ne = o.modelValue) == null ? void 0 : ne.showMode) === "pc" ? !Ie() : ((oe = o.modelValue) == null ? void 0 : oe.showMode) === "mobile" ? Ie() : !0 : !0;
|
|
78847
78850
|
}), L = J(() => {
|
|
78848
78851
|
var ne;
|
|
78849
78852
|
return (ne = o.modelValue) != null && ne.hasOwnProperty("classes") ? o.modelValue.classes : null;
|
|
@@ -78856,12 +78859,12 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78856
78859
|
return (ne = o.modelValue) != null && ne.hasOwnProperty("width") ? o.modelValue.width : null;
|
|
78857
78860
|
});
|
|
78858
78861
|
const S = J(() => {
|
|
78859
|
-
var
|
|
78860
|
-
const ne = (
|
|
78862
|
+
var oe;
|
|
78863
|
+
const ne = (oe = o.modelValue) == null ? void 0 : oe.data;
|
|
78861
78864
|
return Array.isArray(ne) ? ne : [];
|
|
78862
78865
|
}), Q = J(() => S.value.slice(0, A.value)), O = (ne) => {
|
|
78863
|
-
var
|
|
78864
|
-
p.value.has(ne) ? p.value.delete(ne) : ((
|
|
78866
|
+
var oe;
|
|
78867
|
+
p.value.has(ne) ? p.value.delete(ne) : ((oe = o.modelValue) != null && oe.allowMultiple || p.value.clear(), p.value.add(ne)), setTimeout(() => {
|
|
78865
78868
|
R(document.getElementById(`accordion-${f.value}-${ne}`));
|
|
78866
78869
|
}, 350);
|
|
78867
78870
|
}, V = (ne) => p.value.has(ne), R = (ne) => {
|
|
@@ -78870,20 +78873,20 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78870
78873
|
window.scroll({ top: G, left: 0, behavior: "smooth" });
|
|
78871
78874
|
}, N = () => {
|
|
78872
78875
|
a.value >= 768 ? (A.value = 6, v.value = 6) : (A.value = 4, v.value = 4);
|
|
78873
|
-
}, K = (ne,
|
|
78876
|
+
}, K = (ne, oe) => {
|
|
78874
78877
|
debugger;
|
|
78875
|
-
w("handleDelete", ne || o.modelValue.id,
|
|
78878
|
+
w("handleDelete", ne || o.modelValue.id, oe);
|
|
78876
78879
|
}, _ = (ne) => {
|
|
78877
78880
|
debugger;
|
|
78878
78881
|
w("handleCopy", ne || o.modelValue);
|
|
78879
|
-
}, X = (ne,
|
|
78882
|
+
}, X = (ne, oe) => {
|
|
78880
78883
|
debugger;
|
|
78881
|
-
w("handlePaste", ne,
|
|
78884
|
+
w("handlePaste", ne, oe);
|
|
78882
78885
|
}, $ = () => {
|
|
78883
78886
|
};
|
|
78884
78887
|
return ze(
|
|
78885
78888
|
S,
|
|
78886
|
-
(ne,
|
|
78889
|
+
(ne, oe) => {
|
|
78887
78890
|
var G;
|
|
78888
78891
|
N(), (G = o.modelValue) != null && G.openFirst && ne.length > 0 && p.value.size === 0 && p.value.add(ne[0].key);
|
|
78889
78892
|
},
|
|
@@ -78897,8 +78900,8 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78897
78900
|
), at(() => {
|
|
78898
78901
|
var ne;
|
|
78899
78902
|
Fe(N), (ne = o.modelValue) != null && ne.openFirst && S.value.length > 0 && p.value.size === 0 && p.value.add(S.value[0].key), Fe(() => {
|
|
78900
|
-
k.value.forEach((
|
|
78901
|
-
|
|
78903
|
+
k.value.forEach((oe) => {
|
|
78904
|
+
oe && oe.querySelectorAll("a").forEach((ae) => {
|
|
78902
78905
|
ae.addEventListener("click", (te) => {
|
|
78903
78906
|
const Z = te.target.getAttribute("href");
|
|
78904
78907
|
Z && !Z.startsWith("http") && (te.preventDefault(), w("handleClick", Z));
|
|
@@ -78906,12 +78909,12 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78906
78909
|
});
|
|
78907
78910
|
});
|
|
78908
78911
|
});
|
|
78909
|
-
}), b(), (ne,
|
|
78912
|
+
}), b(), (ne, oe) => {
|
|
78910
78913
|
var G, ae;
|
|
78911
78914
|
return E.value ? (y(), P("div", {
|
|
78912
78915
|
key: 0,
|
|
78913
|
-
onMouseover:
|
|
78914
|
-
onMouseout:
|
|
78916
|
+
onMouseover: oe[4] || (oe[4] = (te) => I.value = !0),
|
|
78917
|
+
onMouseout: oe[5] || (oe[5] = (te) => I.value = !1),
|
|
78915
78918
|
class: ue(["accordion-text", L.value]),
|
|
78916
78919
|
id: `accordion-parent-${f.value}`,
|
|
78917
78920
|
style: Ve([c(d), T.value])
|
|
@@ -78939,7 +78942,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78939
78942
|
r("div", null, [
|
|
78940
78943
|
r("div", vpe, g(te.title), 1)
|
|
78941
78944
|
]),
|
|
78942
|
-
|
|
78945
|
+
oe[6] || (oe[6] = r("span", { class: "accordion-button__icon" }, null, -1))
|
|
78943
78946
|
], 10, Ape)
|
|
78944
78947
|
], 8, ppe),
|
|
78945
78948
|
r("div", {
|
|
@@ -78967,10 +78970,10 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78967
78970
|
r("button", {
|
|
78968
78971
|
type: "button",
|
|
78969
78972
|
class: "btn btn__load-more",
|
|
78970
|
-
onClick:
|
|
78973
|
+
onClick: oe[0] || (oe[0] = (te) => A.value += v.value)
|
|
78971
78974
|
}, [
|
|
78972
78975
|
r("div", xpe, g(c(m)("text.see_more")), 1),
|
|
78973
|
-
|
|
78976
|
+
oe[7] || (oe[7] = r("span", { class: "i i-load-more" }, null, -1))
|
|
78974
78977
|
])
|
|
78975
78978
|
], 512), [
|
|
78976
78979
|
[Ge, A.value < S.value.length]
|
|
@@ -78978,9 +78981,9 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78978
78981
|
!t.isPreview && t.showOperate ? (y(), de(Ze, {
|
|
78979
78982
|
key: 0,
|
|
78980
78983
|
show: I.value,
|
|
78981
|
-
"onUpdate:show":
|
|
78984
|
+
"onUpdate:show": oe[1] || (oe[1] = (te) => I.value = te),
|
|
78982
78985
|
locale: t.locale,
|
|
78983
|
-
onHandleEdit:
|
|
78986
|
+
onHandleEdit: oe[2] || (oe[2] = (te) => B.value = !0),
|
|
78984
78987
|
onHandleDelete: K,
|
|
78985
78988
|
onHandleCopy: _,
|
|
78986
78989
|
onHandlePaste: X,
|
|
@@ -78990,7 +78993,7 @@ const $ge = /* @__PURE__ */ Hi(_ge), efe = { class: "setting-content" }, tfe = {
|
|
|
78990
78993
|
!t.isPreview && t.showOperate ? (y(), de(fpe, {
|
|
78991
78994
|
key: 0,
|
|
78992
78995
|
show: B.value,
|
|
78993
|
-
"onUpdate:show":
|
|
78996
|
+
"onUpdate:show": oe[3] || (oe[3] = (te) => B.value = te),
|
|
78994
78997
|
data: t.modelValue,
|
|
78995
78998
|
locale: t.locale
|
|
78996
78999
|
}, null, 8, ["show", "data", "locale"])) : W("", !0)
|