@deot/docs-client 1.1.4 → 1.1.6
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/README.md +86 -1
- package/dist/chunks/{compile-Bw7v7QE--Dd1-R95H.js → compile-CM_OyqYN-Bd7bk_OB.js} +1711 -2816
- package/dist/chunks/{compiler-sfc.esm-browser-B4_kBkG5.js → compiler-sfc.esm-browser-5dA1IWMJ.js} +185 -305
- package/dist/chunks/{script-xKUjE8pf-oF69rg-w.js → css-DleINdoA-FdeEznDX.js} +2669 -2480
- package/dist/chunks/{dist-DlmO7OlF.js → dist-B44jICwZ.js} +1 -1
- package/dist/chunks/{dist-COjpr4FU.js → dist-DHJhaOSs.js} +2 -2
- package/dist/chunks/{dist-C8z9l0mA.js → dist-DSypl37f.js} +1 -1
- package/dist/chunks/dist-DWn6r6un.js +76 -0
- package/dist/chunks/{dist-CuJyl-ef.js → dist-Wm6vE6kM.js} +8 -8
- package/dist/chunks/{echarts-Dk-pu7GM.js → echarts-BBzcOaek.js} +1075 -1290
- package/dist/chunks/{html2canvas-Deo0mM5K.js → html2canvas-DoKTvaOT.js} +3 -13
- package/dist/chunks/{index.es-UlJ0gfdF.js → index.es-wVPQxEPP.js} +32 -37
- package/dist/chunks/{jspdf.es.min-CJc40v7q.js → jspdf.es.min-Zm27YeAg.js} +1080 -1053
- package/dist/chunks/{jsx-CwMPlI4_-CAiik-V7.js → jsx-CwMPlI4_-CBhlIHLh.js} +8002 -8541
- package/dist/chunks/{jszip.min-BbVwZKYP.js → jszip.min-Da8UgalE.js} +5 -5
- package/dist/chunks/{lodash-Cxf6dD_I.js → lodash-CYyW02I7.js} +10 -14
- package/dist/chunks/{photoswipe.esm-B0V-xGTB.js → photoswipe.esm-D52MAtDT.js} +11 -38
- package/dist/chunks/{purify.es-BiqY1C6m.js → purify.es-DhHsvqCe.js} +1 -23
- package/dist/chunks/{vue-router-C0mj8Ot5.js → vue-router-DZ-KfC9f.js} +373 -361
- package/dist/chunks/{vue.runtime.esm-bundler-XxHGOLq2.js → vue.runtime.esm-bundler-zZTAiuf6.js} +10 -38
- package/dist/eval/chunks/browser-Cmwcvs-d.js +4 -0
- package/dist/eval/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +4 -0
- package/dist/eval/chunks/compile-CM_OyqYN-Bd7bk_OB.js +7 -0
- package/dist/eval/chunks/compiler-sfc.esm-browser-5dA1IWMJ.js +4 -0
- package/dist/eval/chunks/css-DleINdoA-FdeEznDX.js +8 -0
- package/dist/eval/chunks/dayjs.min-B3g34Qcz.js +4 -0
- package/dist/eval/chunks/dist-0ySyXNpo.js +4 -0
- package/dist/eval/chunks/dist-B44jICwZ.js +5 -0
- package/dist/eval/chunks/dist-BUw25nXJ.js +6 -0
- package/dist/eval/chunks/dist-BeOE8qTX.js +4 -0
- package/dist/eval/chunks/dist-C3V7reR4.js +4 -0
- package/dist/eval/chunks/dist-CI9Lp9Cj.js +4 -0
- package/dist/eval/chunks/dist-CQir6D4y.js +5 -0
- package/dist/eval/chunks/dist-Cxf7_ocf.js +4 -0
- package/dist/eval/chunks/dist-DF4kisl2.js +5 -0
- package/dist/eval/chunks/dist-DHJhaOSs.js +5 -0
- package/dist/eval/chunks/dist-DLj8yJdm.js +4 -0
- package/dist/eval/chunks/dist-DSypl37f.js +5 -0
- package/dist/eval/chunks/dist-DWn6r6un.js +4 -0
- package/dist/eval/chunks/dist-DWqBe2Ah.js +6 -0
- package/dist/eval/chunks/dist-D_Uqh6m9.js +4 -0
- package/dist/eval/chunks/dist-DcIU51zW.js +4 -0
- package/dist/eval/chunks/dist-Wm6vE6kM.js +1 -0
- package/dist/eval/chunks/dist-kiZUqqzR.js +4 -0
- package/dist/eval/chunks/dist-oZ12SGqg.js +4 -0
- package/dist/eval/chunks/dist-va7FmnW4.js +4 -0
- package/dist/eval/chunks/echarts-BBzcOaek.js +4 -0
- package/dist/eval/chunks/eval-runtime-e7f6eb9af5d4.js +1 -0
- package/dist/eval/chunks/html2canvas-DoKTvaOT.js +4 -0
- package/dist/eval/chunks/index.es-wVPQxEPP.js +5 -0
- package/dist/eval/chunks/jspdf.es.min-Zm27YeAg.js +78 -0
- package/dist/eval/chunks/jsx-CwMPlI4_-CBhlIHLh.js +4 -0
- package/dist/eval/chunks/jszip.min-Da8UgalE.js +4 -0
- package/dist/eval/chunks/lodash-CYyW02I7.js +4 -0
- package/dist/eval/chunks/photoswipe.esm-D52MAtDT.js +4 -0
- package/dist/eval/chunks/purify.es-DhHsvqCe.js +4 -0
- package/dist/eval/chunks/rolldown-runtime-Ce3zPWPd.js +4 -0
- package/dist/eval/chunks/vue-router-DZ-KfC9f.js +5 -0
- package/dist/eval/chunks/vue.runtime.esm-bundler-zZTAiuf6.js +4 -0
- package/dist/eval/index.js +24 -0
- package/dist/eval/index.style.css +21 -0
- package/dist/index.cjs +986 -325
- package/dist/index.d.ts +1 -0
- package/dist/index.js +73526 -30926
- package/dist/index.style.css +3 -3
- package/package.json +12 -12
- package/dist/chunks/cdn-DEvdGJu2-bmlgKy4E.js +0 -38
- package/dist/chunks/dist-Bm7SK-km.js +0 -24517
- package/dist/chunks/dist-DN0sqx7H.js +0 -39
- package/dist/chunks/dist-uXnwGrO3.js +0 -76
- package/dist/chunks/files-C5UMzYxA-q9oJ4PrI.js +0 -110
- package/dist/chunks/linker-JHdz37DK-CWgUtxZ5.js +0 -118
- package/dist/chunks/local-sandbox-B8IJ5jWb-BgfU3iQ4.js +0 -300
- package/dist/chunks/modules-DlLJF_vd-DcNdL6sc.js +0 -153
- package/dist/chunks/pinia-pDJilYOg.js +0 -326
- package/dist/chunks/remote-DfXAsO9n-C_MtPVYr.js +0 -75
- package/dist/chunks/store-D8vwi-HV-RFStijWr.js +0 -16936
- package/dist/chunks/vc-components-C7ruefOT.js +0 -6
- package/dist/chunks/vc-components-m3l_xrd8.js +0 -6
|
@@ -1744,11 +1744,11 @@ var r = /* @__PURE__ */ n(((n, r) => {
|
|
|
1744
1744
|
}, { "./common": 41 }],
|
|
1745
1745
|
43: [function(e, t, n) {
|
|
1746
1746
|
t.exports = function(e, t, n, r) {
|
|
1747
|
-
for (var i = 65535 & e
|
|
1747
|
+
for (var i = 65535 & e, a = e >>> 16 & 65535, o = 0; n !== 0;) {
|
|
1748
1748
|
for (n -= o = 2e3 < n ? 2e3 : n; a = a + (i = i + t[r++] | 0) | 0, --o;);
|
|
1749
1749
|
i %= 65521, a %= 65521;
|
|
1750
1750
|
}
|
|
1751
|
-
return i | a << 16
|
|
1751
|
+
return i | a << 16;
|
|
1752
1752
|
};
|
|
1753
1753
|
}, {}],
|
|
1754
1754
|
44: [function(e, t, n) {
|
|
@@ -2500,7 +2500,7 @@ while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[+
|
|
|
2500
2500
|
if (v === 0) break e;
|
|
2501
2501
|
v--, b += p[g++] << x, x += 8;
|
|
2502
2502
|
}
|
|
2503
|
-
if (b !== (
|
|
2503
|
+
if (b !== (0 | n.total)) {
|
|
2504
2504
|
e.msg = "incorrect length check", n.mode = 30;
|
|
2505
2505
|
break;
|
|
2506
2506
|
}
|
|
@@ -2680,7 +2680,7 @@ while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[+
|
|
|
2680
2680
|
for (w = 0; w < c; w++) t[n + w] !== 0 && (d[I[t[n + w]]++] = w);
|
|
2681
2681
|
if (v = e === 0 ? (N = L = d, 19) : e === 1 ? (N = i, P -= 257, L = a, R -= 257, 256) : (N = o, L = s, -1), C = T, _ = u, k = w = M = 0, h = -1, g = (j = 1 << (O = D)) - 1, e === 1 && 852 < j || e === 2 && 592 < j) return 1;
|
|
2682
2682
|
for (;;) {
|
|
2683
|
-
for (y = C - k, x = d[w] < v ? (b = 0, d[w]) : d[w] > v ? (b = L[R + d[w]], N[P + d[w]]) : (b = 96, 0), p = 1 << C - k, T = m = 1 << O; l[_ + (M >> k) + (m -= p)] = y << 24 | b << 16 | x
|
|
2683
|
+
for (y = C - k, x = d[w] < v ? (b = 0, d[w]) : d[w] > v ? (b = L[R + d[w]], N[P + d[w]]) : (b = 96, 0), p = 1 << C - k, T = m = 1 << O; l[_ + (M >> k) + (m -= p)] = y << 24 | b << 16 | x, m !== 0;);
|
|
2684
2684
|
for (p = 1 << C - 1; M & p;) p >>= 1;
|
|
2685
2685
|
if (p === 0 ? M = 0 : (M &= p - 1, M += p), w++, --F[C] == 0) {
|
|
2686
2686
|
if (C === E) break;
|
|
@@ -2689,7 +2689,7 @@ while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[+
|
|
|
2689
2689
|
if (D < C && (M & g) !== h) {
|
|
2690
2690
|
for (k === 0 && (k = D), _ += T, A = 1 << (O = C - k); O + k < E && !((A -= F[O + k]) <= 0);) O++, A <<= 1;
|
|
2691
2691
|
if (j += 1 << O, e === 1 && 852 < j || e === 2 && 592 < j) return 1;
|
|
2692
|
-
l[h = M & g] = D << 24 | O << 16 | _ - u
|
|
2692
|
+
l[h = M & g] = D << 24 | O << 16 | _ - u;
|
|
2693
2693
|
}
|
|
2694
2694
|
}
|
|
2695
2695
|
return M !== 0 && (l[_ + M] = C - k << 24 | 4194304), f.bits = D, 0;
|
|
@@ -730,11 +730,8 @@ function R(e) {
|
|
|
730
730
|
//#endregion
|
|
731
731
|
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/assign.js
|
|
732
732
|
var kr = Object.prototype.hasOwnProperty, Ar = Mn(function(e, t) {
|
|
733
|
-
if (Pn(t) || N(t))
|
|
734
|
-
|
|
735
|
-
return;
|
|
736
|
-
}
|
|
737
|
-
for (var n in t) kr.call(t, n) && En(e, n, t[n]);
|
|
733
|
+
if (Pn(t) || N(t)) Dn(t, R(t), e);
|
|
734
|
+
else for (var n in t) kr.call(t, n) && En(e, n, t[n]);
|
|
738
735
|
});
|
|
739
736
|
//#endregion
|
|
740
737
|
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
@@ -2241,16 +2238,15 @@ function ju(e) {
|
|
|
2241
2238
|
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
2242
2239
|
function Mu(e, t, n, r, i, a, o) {
|
|
2243
2240
|
var s = Au(e, n), c = Au(t, n), l = o.get(c);
|
|
2244
|
-
if (l)
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2241
|
+
if (l) ku(e, n, l);
|
|
2242
|
+
else {
|
|
2243
|
+
var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
|
|
2244
|
+
if (d) {
|
|
2245
|
+
var f = x(c), p = !f && Kn(c), m = !f && !p && Sr(c);
|
|
2246
|
+
u = c, f || p || m ? x(s) ? u = s : W(s) ? u = k(s) : p ? (d = !1, u = Xo(c, !0)) : m ? (d = !1, u = Ps(c, !0)) : u = [] : Bi(c) || Vn(c) ? (u = s, Vn(s) ? u = ju(s) : (!C(s) || we(s)) && (u = tc(c))) : d = !1;
|
|
2247
|
+
}
|
|
2248
|
+
d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), ku(e, n, u);
|
|
2252
2249
|
}
|
|
2253
|
-
d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), ku(e, n, u);
|
|
2254
2250
|
}
|
|
2255
2251
|
//#endregion
|
|
2256
2252
|
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
@@ -459,11 +459,7 @@ var A = class {
|
|
|
459
459
|
y: r.bounds.correctPan("y", f.y)
|
|
460
460
|
}, r.setZoomLevel(o);
|
|
461
461
|
let p = !i(f, d);
|
|
462
|
-
|
|
463
|
-
r._setResolution(s), r.applyCurrentZoomPan();
|
|
464
|
-
return;
|
|
465
|
-
}
|
|
466
|
-
n.animations.stopAllPan(), n.animations.startSpring({
|
|
462
|
+
!p && !c && !u ? (r._setResolution(s), r.applyCurrentZoomPan()) : (n.animations.stopAllPan(), n.animations.startSpring({
|
|
467
463
|
isPan: !0,
|
|
468
464
|
start: 0,
|
|
469
465
|
end: 1e3,
|
|
@@ -483,7 +479,7 @@ var A = class {
|
|
|
483
479
|
onComplete: () => {
|
|
484
480
|
r._setResolution(s), r.applyCurrentZoomPan();
|
|
485
481
|
}
|
|
486
|
-
});
|
|
482
|
+
}));
|
|
487
483
|
}
|
|
488
484
|
};
|
|
489
485
|
function j(e) {
|
|
@@ -510,11 +506,8 @@ var M = class {
|
|
|
510
506
|
point: t,
|
|
511
507
|
originalEvent: n
|
|
512
508
|
}).defaultPrevented) {
|
|
513
|
-
if (typeof s == "function")
|
|
514
|
-
|
|
515
|
-
return;
|
|
516
|
-
}
|
|
517
|
-
switch (s) {
|
|
509
|
+
if (typeof s == "function") s.call(i, t, n);
|
|
510
|
+
else switch (s) {
|
|
518
511
|
case "close":
|
|
519
512
|
case "next":
|
|
520
513
|
i[s]();
|
|
@@ -570,11 +563,7 @@ var M = class {
|
|
|
570
563
|
let n = e.type === "mousedown" || e.pointerType === "mouse";
|
|
571
564
|
if (n && e.button > 0) return;
|
|
572
565
|
let { pswp: r } = this;
|
|
573
|
-
|
|
574
|
-
e.preventDefault();
|
|
575
|
-
return;
|
|
576
|
-
}
|
|
577
|
-
r.dispatch("pointerDown", { originalEvent: e }).defaultPrevented || (n && (r.mouseDetected(), this._preventPointerEventBehaviour(e, "down")), r.animations.stopAll(), this._updatePoints(e, "down"), this._numActivePoints === 1 && (this.dragAxis = null, t(this.startP1, this.p1)), this._numActivePoints > 1 ? (this._clearTapTimer(), this.isMultitouch = !0) : this.isMultitouch = !1);
|
|
566
|
+
r.opener.isOpen ? r.dispatch("pointerDown", { originalEvent: e }).defaultPrevented || (n && (r.mouseDetected(), this._preventPointerEventBehaviour(e, "down")), r.animations.stopAll(), this._updatePoints(e, "down"), this._numActivePoints === 1 && (this.dragAxis = null, t(this.startP1, this.p1)), this._numActivePoints > 1 ? (this._clearTapTimer(), this.isMultitouch = !0) : this.isMultitouch = !1) : e.preventDefault();
|
|
578
567
|
}
|
|
579
568
|
onPointerMove(e) {
|
|
580
569
|
this._preventPointerEventBehaviour(e, "move"), this._numActivePoints && (this._updatePoints(e, "move"), !this.pswp.dispatch("pointerMove", { originalEvent: e }).defaultPrevented && (this._numActivePoints === 1 && !this.isDragging ? (this.dragAxis || this._calculateDragDirection(), this.dragAxis && !this.isDragging && (this.isZooming && (this.isZooming = !1, this.zoomLevels.end()), this.isDragging = !0, this._clearTapTimer(), this._updateStartPoints(), this._intervalTime = Date.now(), this._velocityCalculated = !1, t(this._intervalP1, this.p1), this.velocity.x = 0, this.velocity.y = 0, this.drag.start(), this._rafStopLoop(), this._rafRenderLoop())) : this._numActivePoints > 1 && !this.isZooming && (this._finishDrag(), this.isZooming = !0, this._updateStartPoints(), this.zoomLevels.start(), this._rafStopLoop(), this._rafRenderLoop())));
|
|
@@ -1014,13 +1003,9 @@ var ce = {
|
|
|
1014
1003
|
n !== e && (n = e, i("active", e));
|
|
1015
1004
|
}, o = () => {
|
|
1016
1005
|
var e;
|
|
1017
|
-
|
|
1018
|
-
a(!1), r &&= (clearTimeout(r), null);
|
|
1019
|
-
return;
|
|
1020
|
-
}
|
|
1021
|
-
r ||= setTimeout(() => {
|
|
1006
|
+
(e = t.currSlide) != null && e.content.isLoading() ? r ||= setTimeout(() => {
|
|
1022
1007
|
a(!!t.currSlide?.content.isLoading()), r = null;
|
|
1023
|
-
}, t.options.preloaderDelay);
|
|
1008
|
+
}, t.options.preloaderDelay) : (a(!1), r &&= (clearTimeout(r), null));
|
|
1024
1009
|
};
|
|
1025
1010
|
t.on("change", o), t.on("loadComplete", (e) => {
|
|
1026
1011
|
t.currSlide === e.slide && o();
|
|
@@ -1068,11 +1053,7 @@ var me = class {
|
|
|
1068
1053
|
if (this.pswp.opener.isOpen || (r = t.zoomLevels.initial), r === this._lastUpdatedZoomLevel) return;
|
|
1069
1054
|
this._lastUpdatedZoomLevel = r;
|
|
1070
1055
|
let i = t.zoomLevels.initial - t.zoomLevels.secondary;
|
|
1071
|
-
|
|
1072
|
-
X(e, !1), e.classList.remove("pswp--zoom-allowed");
|
|
1073
|
-
return;
|
|
1074
|
-
}
|
|
1075
|
-
e.classList.add("pswp--zoom-allowed"), X(e, (r === t.zoomLevels.initial ? t.zoomLevels.secondary : t.zoomLevels.initial) <= r), (n.imageClickAction === "zoom" || n.imageClickAction === "zoom-or-close") && e.classList.add("pswp--click-to-zoom");
|
|
1056
|
+
Math.abs(i) < .01 || !t.isZoomable() ? (X(e, !1), e.classList.remove("pswp--zoom-allowed")) : (e.classList.add("pswp--zoom-allowed"), X(e, (r === t.zoomLevels.initial ? t.zoomLevels.secondary : t.zoomLevels.initial) <= r), (n.imageClickAction === "zoom" || n.imageClickAction === "zoom-or-close") && e.classList.add("pswp--click-to-zoom"));
|
|
1076
1057
|
}
|
|
1077
1058
|
};
|
|
1078
1059
|
function he(e) {
|
|
@@ -1413,11 +1394,7 @@ var we = class {
|
|
|
1413
1394
|
}
|
|
1414
1395
|
_applyStartProps() {
|
|
1415
1396
|
let { pswp: e } = this, t = this.pswp.currSlide, { options: n } = e;
|
|
1416
|
-
|
|
1417
|
-
this._duration = 0, this._animateZoom = !1, this._animateBgOpacity = !1, this._animateRootOpacity = !0, this.isOpening && (e.element && (e.element.style.opacity = String($)), e.applyBgOpacity(1));
|
|
1418
|
-
return;
|
|
1419
|
-
}
|
|
1420
|
-
this._animateZoom && this._thumbBounds && this._thumbBounds.innerRect ? (this._croppedZoom = !0, this._cropContainer1 = this.pswp.container, this._cropContainer2 = this.pswp.currSlide?.holderElement, e.container && (e.container.style.overflow = "hidden", e.container.style.width = e.viewportSize.x + "px")) : this._croppedZoom = !1, this.isOpening ? (this._animateRootOpacity ? (e.element && (e.element.style.opacity = String($)), e.applyBgOpacity(1)) : (this._animateBgOpacity && e.bg && (e.bg.style.opacity = String($)), e.element && (e.element.style.opacity = "1")), this._animateZoom && (this._setClosedStateZoomPan(), this._placeholder && (this._placeholder.style.willChange = "transform", this._placeholder.style.opacity = String($)))) : this.isClosing && (e.mainScroll.itemHolders[0] && (e.mainScroll.itemHolders[0].el.style.display = "none"), e.mainScroll.itemHolders[2] && (e.mainScroll.itemHolders[2].el.style.display = "none"), this._croppedZoom && e.mainScroll.x !== 0 && (e.mainScroll.resetPosition(), e.mainScroll.resize()));
|
|
1397
|
+
n.showHideAnimationType === "fade" ? (n.showHideOpacity = !0, this._thumbBounds = void 0) : n.showHideAnimationType === "none" ? (n.showHideOpacity = !1, this._duration = 0, this._thumbBounds = void 0) : this._thumbBounds = this.isOpening && e._initialThumbBounds ? e._initialThumbBounds : this.pswp.getThumbBounds(), this._placeholder = t?.getPlaceholderElement(), e.animations.stopAll(), this._useAnimation = !!(this._duration && this._duration > 50), this._animateZoom = !!this._thumbBounds && t?.content.usePlaceholder() && (!this.isClosing || !e.mainScroll.isShifted()), this._animateZoom ? this._animateRootOpacity = n.showHideOpacity ?? !1 : (this._animateRootOpacity = !0, this.isOpening && t && (t.zoomAndPanToInitial(), t.applyCurrentZoomPan())), this._animateBgOpacity = !this._animateRootOpacity && this.pswp.options.bgOpacity > $, this._opacityElement = this._animateRootOpacity ? e.element : e.bg, this._useAnimation ? (this._animateZoom && this._thumbBounds && this._thumbBounds.innerRect ? (this._croppedZoom = !0, this._cropContainer1 = this.pswp.container, this._cropContainer2 = this.pswp.currSlide?.holderElement, e.container && (e.container.style.overflow = "hidden", e.container.style.width = e.viewportSize.x + "px")) : this._croppedZoom = !1, this.isOpening ? (this._animateRootOpacity ? (e.element && (e.element.style.opacity = String($)), e.applyBgOpacity(1)) : (this._animateBgOpacity && e.bg && (e.bg.style.opacity = String($)), e.element && (e.element.style.opacity = "1")), this._animateZoom && (this._setClosedStateZoomPan(), this._placeholder && (this._placeholder.style.willChange = "transform", this._placeholder.style.opacity = String($)))) : this.isClosing && (e.mainScroll.itemHolders[0] && (e.mainScroll.itemHolders[0].el.style.display = "none"), e.mainScroll.itemHolders[2] && (e.mainScroll.itemHolders[2].el.style.display = "none"), this._croppedZoom && e.mainScroll.x !== 0 && (e.mainScroll.resetPosition(), e.mainScroll.resize()))) : (this._duration = 0, this._animateZoom = !1, this._animateBgOpacity = !1, this._animateRootOpacity = !0, this.isOpening && (e.element && (e.element.style.opacity = String($)), e.applyBgOpacity(1)));
|
|
1421
1398
|
}
|
|
1422
1399
|
_start() {
|
|
1423
1400
|
this.isOpening && this._useAnimation && this._placeholder && this._placeholder.tagName === "IMG" ? new Promise((e) => {
|
|
@@ -1557,14 +1534,10 @@ var we = class {
|
|
|
1557
1534
|
}
|
|
1558
1535
|
destroy() {
|
|
1559
1536
|
var e;
|
|
1560
|
-
|
|
1561
|
-
this.options.showHideAnimationType = "none", this.close();
|
|
1562
|
-
return;
|
|
1563
|
-
}
|
|
1564
|
-
this.dispatch("destroy"), this._listeners = {}, this.scrollWrap && (this.scrollWrap.ontouchmove = null, this.scrollWrap.ontouchend = null), (e = this.element) == null || e.remove(), this.mainScroll.itemHolders.forEach((e) => {
|
|
1537
|
+
this.isDestroying ? (this.dispatch("destroy"), this._listeners = {}, this.scrollWrap && (this.scrollWrap.ontouchmove = null, this.scrollWrap.ontouchend = null), (e = this.element) == null || e.remove(), this.mainScroll.itemHolders.forEach((e) => {
|
|
1565
1538
|
var t;
|
|
1566
1539
|
(t = e.slide) == null || t.destroy();
|
|
1567
|
-
}), this.contentLoader.destroy(), this.events.removeAll();
|
|
1540
|
+
}), this.contentLoader.destroy(), this.events.removeAll()) : (this.options.showHideAnimationType = "none", this.close());
|
|
1568
1541
|
}
|
|
1569
1542
|
refreshSlideContent(e) {
|
|
1570
1543
|
this.contentLoader.removeByIndex(e), this.mainScroll.itemHolders.forEach((t, n) => {
|
|
@@ -719,29 +719,7 @@ function Ye() {
|
|
|
719
719
|
}, a = r.length, o = J(e.nodeName);
|
|
720
720
|
for (; a--;) {
|
|
721
721
|
let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = J(s), d = l, f = s === "value" ? d : fe(d), p = !1;
|
|
722
|
-
|
|
723
|
-
Z(s, e, n);
|
|
724
|
-
continue;
|
|
725
|
-
}
|
|
726
|
-
if (u === "attributename" && le(f, "href")) {
|
|
727
|
-
Z(s, e, n);
|
|
728
|
-
continue;
|
|
729
|
-
}
|
|
730
|
-
if (!i.forceKeepAttr) {
|
|
731
|
-
if (!i.keepAttr) {
|
|
732
|
-
Z(s, e, n);
|
|
733
|
-
continue;
|
|
734
|
-
}
|
|
735
|
-
if (!Tt && S(He, f)) {
|
|
736
|
-
Z(s, e, n);
|
|
737
|
-
continue;
|
|
738
|
-
}
|
|
739
|
-
if (B && (f = vn(f)), !On(o, u, f)) {
|
|
740
|
-
Z(s, e, n);
|
|
741
|
-
continue;
|
|
742
|
-
}
|
|
743
|
-
f = jn(o, u, c, f), f !== d && Mn(e, s, c, f) && p && ie(t.removed);
|
|
744
|
-
}
|
|
722
|
+
i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, Q(F.uponSanitizeAttribute, e, i), f = i.attrValue, Nt && (u === "id" || u === "name") && de(f, Pt) !== 0 && (Z(s, e, n), f = Pt + f, p = !0), V && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f) || u === "attributename" && le(f, "href") ? Z(s, e, n) : i.forceKeepAttr || (i.keepAttr ? !Tt && S(He, f) ? Z(s, e, n) : (B && (f = vn(f)), On(o, u, f) ? (f = jn(o, u, c, f), f !== d && Mn(e, s, c, f) && p && ie(t.removed)) : Z(s, e, n)) : Z(s, e, n));
|
|
745
723
|
}
|
|
746
724
|
Q(F.afterSanitizeAttributes, e, null), $(e, n);
|
|
747
725
|
}, Pn = function(e) {
|