pptx-vue-viewer 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-CrH4ALw7.cjs → AiChatPanel--kVwOMUw.cjs} +1 -1
- package/dist/AiChatPanel--kVwOMUw.cjs.br +0 -0
- package/dist/AiChatPanel--kVwOMUw.cjs.gz +0 -0
- package/dist/{AiChatPanel-PoHW9EgF.js → AiChatPanel-CpmmucnN.js} +2 -2
- package/dist/AiChatPanel-CpmmucnN.js.br +0 -0
- package/dist/AiChatPanel-CpmmucnN.js.gz +0 -0
- package/dist/{dist-Wymvf4Qa.cjs → dist-BbaI3U3Z.cjs} +5596 -5593
- package/dist/dist-BbaI3U3Z.cjs.br +0 -0
- package/dist/dist-BbaI3U3Z.cjs.gz +0 -0
- package/dist/{dist-BBt4Y9RN.js → dist-CQH4Q96Y.js} +5503 -5500
- package/dist/dist-CQH4Q96Y.js.br +0 -0
- package/dist/dist-CQH4Q96Y.js.gz +0 -0
- package/dist/gif-encoder-DDYg7ynA.cjs +2 -0
- package/dist/gif-encoder-DDYg7ynA.cjs.br +0 -0
- package/dist/gif-encoder-DDYg7ynA.cjs.gz +0 -0
- package/dist/gif-encoder-DcyxwmJ2.js +2 -0
- package/dist/gif-encoder-DcyxwmJ2.js.br +0 -0
- package/dist/gif-encoder-DcyxwmJ2.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-8V6whAcB.cjs → useViewerSettingsDialog-BqkBW1TZ.cjs} +215 -207
- package/dist/useViewerSettingsDialog-BqkBW1TZ.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BqkBW1TZ.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-L6tCAcpX.js → useViewerSettingsDialog-Ctp16X0a.js} +50 -42
- package/dist/useViewerSettingsDialog-Ctp16X0a.js.br +0 -0
- package/dist/useViewerSettingsDialog-Ctp16X0a.js.gz +0 -0
- package/dist/viewer/components/PresentationTransitionOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts +11 -0
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DyqlqMmF.cjs → viewer-D-1Mv-9p.cjs} +14 -8
- package/dist/viewer-D-1Mv-9p.cjs.br +0 -0
- package/dist/viewer-D-1Mv-9p.cjs.gz +0 -0
- package/dist/{viewer-SN384JIT.js → viewer-DfWPlrdP.js} +15 -9
- package/dist/viewer-DfWPlrdP.js.br +0 -0
- package/dist/viewer-DfWPlrdP.js.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-CrH4ALw7.cjs.br +0 -0
- package/dist/AiChatPanel-CrH4ALw7.cjs.gz +0 -0
- package/dist/AiChatPanel-PoHW9EgF.js.br +0 -0
- package/dist/AiChatPanel-PoHW9EgF.js.gz +0 -0
- package/dist/dist-BBt4Y9RN.js.br +0 -0
- package/dist/dist-BBt4Y9RN.js.gz +0 -0
- package/dist/dist-Wymvf4Qa.cjs.br +0 -0
- package/dist/dist-Wymvf4Qa.cjs.gz +0 -0
- package/dist/gif-encoder-291iEEqW.js +0 -2
- package/dist/gif-encoder-291iEEqW.js.br +0 -0
- package/dist/gif-encoder-291iEEqW.js.gz +0 -0
- package/dist/gif-encoder-DkuJPaxy.cjs +0 -2
- package/dist/gif-encoder-DkuJPaxy.cjs.br +0 -0
- package/dist/gif-encoder-DkuJPaxy.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-8V6whAcB.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-8V6whAcB.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-L6tCAcpX.js.br +0 -0
- package/dist/useViewerSettingsDialog-L6tCAcpX.js.gz +0 -0
- package/dist/viewer-DyqlqMmF.cjs.br +0 -0
- package/dist/viewer-DyqlqMmF.cjs.gz +0 -0
- package/dist/viewer-SN384JIT.js.br +0 -0
- package/dist/viewer-SN384JIT.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-
|
|
1
|
+
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-BbaI3U3Z.cjs"), n = require("./i18n-gwdCzBc5.cjs");
|
|
2
2
|
let r = require("vue");
|
|
3
3
|
r = e.__toESM(r, 1);
|
|
4
4
|
let o = require("jszip");
|
|
@@ -651,10 +651,10 @@ var W = "#000000", Y = "#ffff00";
|
|
|
651
651
|
function X(e) {
|
|
652
652
|
return e.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function z(e) {
|
|
655
655
|
return Math.min(1, Math.max(0, e));
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function H(e, t) {
|
|
658
658
|
if (!e || "transparent" === e) return t;
|
|
659
659
|
const n = e.startsWith("#") ? e : `#${e}`;
|
|
660
660
|
return /^#[0-9A-Fa-f]{6}$/u.test(n) ? n : t;
|
|
@@ -669,7 +669,7 @@ function G(e, t) {
|
|
|
669
669
|
b: Number.parseInt(t.slice(4, 6), 16)
|
|
670
670
|
} : null;
|
|
671
671
|
}(e);
|
|
672
|
-
return n ? `rgba(${n.r}, ${n.g}, ${n.b}, ${
|
|
672
|
+
return n ? `rgba(${n.r}, ${n.g}, ${n.b}, ${z(t)})` : e;
|
|
673
673
|
}
|
|
674
674
|
function U(e) {
|
|
675
675
|
if (!e?.shadowColor || "transparent" === e.shadowColor) return;
|
|
@@ -678,31 +678,31 @@ function U(e) {
|
|
|
678
678
|
const r = e.shadowAngle * Math.PI / 180;
|
|
679
679
|
t = Math.cos(r) * e.shadowDistance, n = Math.sin(r) * e.shadowDistance;
|
|
680
680
|
} else t = "number" == typeof e.shadowOffsetX && Number.isFinite(e.shadowOffsetX) ? e.shadowOffsetX : 4, n = "number" == typeof e.shadowOffsetY && Number.isFinite(e.shadowOffsetY) ? e.shadowOffsetY : 4;
|
|
681
|
-
const r = "number" == typeof e.shadowBlur && Number.isFinite(e.shadowBlur) ? Math.max(0, e.shadowBlur) : 6, o = "number" == typeof e.shadowOpacity && Number.isFinite(e.shadowOpacity) ?
|
|
681
|
+
const r = "number" == typeof e.shadowBlur && Number.isFinite(e.shadowBlur) ? Math.max(0, e.shadowBlur) : 6, o = "number" == typeof e.shadowOpacity && Number.isFinite(e.shadowOpacity) ? z(e.shadowOpacity) : .35, a = function(e, t, n) {
|
|
682
682
|
const a = (("number" == typeof e && Number.isFinite(e) ? e / 1e5 : 1) + ("number" == typeof t && Number.isFinite(t) ? t / 1e5 : 1)) / 2;
|
|
683
683
|
if (1 === a) return 0;
|
|
684
684
|
return Math.round(Math.max(n, 4) * (a - 1));
|
|
685
|
-
}(e.shadowScaleX, e.shadowScaleY, r), i = G(
|
|
685
|
+
}(e.shadowScaleX, e.shadowScaleY, r), i = G(H(e.shadowColor, W), o), s = `${Math.round(t)}px ${Math.round(n)}px ${Math.round(r)}px`;
|
|
686
686
|
return 0 === a ? `${s} ${i}` : `${s} ${a}px ${i}`;
|
|
687
687
|
}
|
|
688
688
|
function K(e) {
|
|
689
689
|
if (!e?.innerShadowColor || "transparent" === e.innerShadowColor) return;
|
|
690
|
-
const t = "number" == typeof e.innerShadowOffsetX && Number.isFinite(e.innerShadowOffsetX) ? e.innerShadowOffsetX : 0, n = "number" == typeof e.innerShadowOffsetY && Number.isFinite(e.innerShadowOffsetY) ? e.innerShadowOffsetY : 0, r = "number" == typeof e.innerShadowBlur && Number.isFinite(e.innerShadowBlur) ? Math.max(0, e.innerShadowBlur) : 6, o = "number" == typeof e.innerShadowOpacity && Number.isFinite(e.innerShadowOpacity) ?
|
|
691
|
-
return `inset ${Math.round(t)}px ${Math.round(n)}px ${Math.round(r)}px ${G(
|
|
690
|
+
const t = "number" == typeof e.innerShadowOffsetX && Number.isFinite(e.innerShadowOffsetX) ? e.innerShadowOffsetX : 0, n = "number" == typeof e.innerShadowOffsetY && Number.isFinite(e.innerShadowOffsetY) ? e.innerShadowOffsetY : 0, r = "number" == typeof e.innerShadowBlur && Number.isFinite(e.innerShadowBlur) ? Math.max(0, e.innerShadowBlur) : 6, o = "number" == typeof e.innerShadowOpacity && Number.isFinite(e.innerShadowOpacity) ? z(e.innerShadowOpacity) : .5;
|
|
691
|
+
return `inset ${Math.round(t)}px ${Math.round(n)}px ${Math.round(r)}px ${G(H(e.innerShadowColor, W), o)}`;
|
|
692
692
|
}
|
|
693
693
|
function V(e) {
|
|
694
694
|
if (!e?.shadows || 0 === e.shadows.length) return;
|
|
695
695
|
const t = [];
|
|
696
696
|
for (const n of e.shadows) {
|
|
697
697
|
if (!n.color || "transparent" === n.color) continue;
|
|
698
|
-
const e = (n.angle ?? 0) * Math.PI / 180, r = n.distance ?? 0, o = Math.round(Math.cos(e) * r), a = Math.round(Math.sin(e) * r), i = Math.round(Math.max(0, n.blur ?? 6)), s =
|
|
698
|
+
const e = (n.angle ?? 0) * Math.PI / 180, r = n.distance ?? 0, o = Math.round(Math.cos(e) * r), a = Math.round(Math.sin(e) * r), i = Math.round(Math.max(0, n.blur ?? 6)), s = z(n.opacity ?? .35), l = G(H(n.color, W), s);
|
|
699
699
|
t.push(`${o}px ${a}px ${i}px ${l}`);
|
|
700
700
|
}
|
|
701
701
|
return t.length > 0 ? t.join(", ") : void 0;
|
|
702
702
|
}
|
|
703
703
|
function q(e, t, n) {
|
|
704
704
|
if (!e || "transparent" === e || !t || t <= 0) return;
|
|
705
|
-
const r = "number" == typeof n ?
|
|
705
|
+
const r = "number" == typeof n ? z(n) : .75, o = H(e, Y);
|
|
706
706
|
return `0 0 ${Math.round(.33 * t)}px ${G(o, r)}, 0 0 ${Math.round(.66 * t)}px ${G(o, .6 * r)}, 0 0 ${Math.round(t)}px ${G(o, .3 * r)}`;
|
|
707
707
|
}
|
|
708
708
|
function Z(e) {
|
|
@@ -710,14 +710,14 @@ function Z(e) {
|
|
|
710
710
|
offsetX: "number" == typeof e.lineShadowOffsetX ? e.lineShadowOffsetX : 2,
|
|
711
711
|
offsetY: "number" == typeof e.lineShadowOffsetY ? e.lineShadowOffsetY : 2,
|
|
712
712
|
blur: "number" == typeof e.lineShadowBlur ? Math.max(0, e.lineShadowBlur) : 4,
|
|
713
|
-
color:
|
|
714
|
-
opacity: "number" == typeof e.lineShadowOpacity ?
|
|
713
|
+
color: H(e.lineShadowColor, W),
|
|
714
|
+
opacity: "number" == typeof e.lineShadowOpacity ? z(e.lineShadowOpacity) : .35
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
717
|
function J(e) {
|
|
718
718
|
if (!e?.lineGlowColor || "transparent" === e.lineGlowColor || !e.lineGlowRadius) return;
|
|
719
719
|
const t = "number" == typeof e.lineGlowOpacity ? e.lineGlowOpacity : .75;
|
|
720
|
-
return `drop-shadow(0 0 ${Math.round(Math.max(0, e.lineGlowRadius))}px ${G(
|
|
720
|
+
return `drop-shadow(0 0 ${Math.round(Math.max(0, e.lineGlowRadius))}px ${G(H(e.lineGlowColor, Y), t)})`;
|
|
721
721
|
}
|
|
722
722
|
function Q(e, t) {
|
|
723
723
|
if (!e) return;
|
|
@@ -731,7 +731,7 @@ function Q(e, t) {
|
|
|
731
731
|
0 !== t && n.push(`brightness(${1 + t / 100})`), 0 !== r && n.push(`contrast(${1 + r / 100})`);
|
|
732
732
|
}
|
|
733
733
|
if ("number" == typeof e.dagHslHue && 0 !== e.dagHslHue && n.push(`hue-rotate(${e.dagHslHue}deg)`), "number" == typeof e.dagHslSaturation && 100 !== e.dagHslSaturation && n.push(`saturate(${e.dagHslSaturation / 100})`), "number" == typeof e.dagHslLuminance && 0 !== e.dagHslLuminance && n.push(`brightness(${1 + e.dagHslLuminance / 100})`), "number" == typeof e.dagAlphaModFix) {
|
|
734
|
-
const t =
|
|
734
|
+
const t = z(e.dagAlphaModFix / 100);
|
|
735
735
|
n.push(`opacity(${t})`);
|
|
736
736
|
}
|
|
737
737
|
if ("number" == typeof e.dagTintHue || "number" == typeof e.dagTintAmount) {
|
|
@@ -843,7 +843,7 @@ function se(e, t = {}) {
|
|
|
843
843
|
if (!e) return;
|
|
844
844
|
const n = [];
|
|
845
845
|
if (e.glowColor && "transparent" !== e.glowColor && e.glowRadius) {
|
|
846
|
-
const t = "number" == typeof e.glowOpacity ? e.glowOpacity : .75, r = Math.round(Math.max(0, e.glowRadius)), o = G(
|
|
846
|
+
const t = "number" == typeof e.glowOpacity ? e.glowOpacity : .75, r = Math.round(Math.max(0, e.glowRadius)), o = G(H(e.glowColor, Y), t);
|
|
847
847
|
n.push(`drop-shadow(0 0 ${r}px ${o})`);
|
|
848
848
|
}
|
|
849
849
|
"number" == typeof e.softEdgeRadius && e.softEdgeRadius > 0 && (t ? n.push(`url(#${ae(t)})`) : n.push(`blur(${Math.min(2, Math.round(e.softEdgeRadius))}px)`)), "number" == typeof e.blurRadius && e.blurRadius > 0 && n.push(`blur(${Math.round(e.blurRadius)}px)`);
|
|
@@ -856,7 +856,7 @@ function se(e, t = {}) {
|
|
|
856
856
|
if (!("number" == typeof e.reflectionStartOpacity && e.reflectionStartOpacity > 0 || "number" == typeof e.reflectionDistance && e.reflectionDistance > 0 || "number" == typeof e.reflectionBlurRadius && e.reflectionBlurRadius > 0)) return;
|
|
857
857
|
const n = e.reflectionDistance ?? 0, r = "number" == typeof e.reflectionStartOpacity ? e.reflectionStartOpacity : .5, o = "number" == typeof e.reflectionEndOpacity ? e.reflectionEndOpacity : 0, a = "number" == typeof e.reflectionEndPosition ? Math.round(e.reflectionEndPosition * Math.max(t, 1)) : 100, i = "number" == typeof e.reflectionBlurRadius ? e.reflectionBlurRadius : 0;
|
|
858
858
|
return {
|
|
859
|
-
webkitBoxReflect: ee(n, r, o, a, i, "number" == typeof e.reflectionStartPosition && e.reflectionStartPosition > 0 ? Math.round(
|
|
859
|
+
webkitBoxReflect: ee(n, r, o, a, i, "number" == typeof e.reflectionStartPosition && e.reflectionStartPosition > 0 ? Math.round(z(e.reflectionStartPosition) * a) : 0),
|
|
860
860
|
distance: n,
|
|
861
861
|
startOpacity: r,
|
|
862
862
|
endOpacity: o,
|
|
@@ -866,14 +866,14 @@ function se(e, t = {}) {
|
|
|
866
866
|
}(n, e.height);
|
|
867
867
|
i && (r.webkitBoxReflect = i.webkitBoxReflect);
|
|
868
868
|
const s = function(e) {
|
|
869
|
-
if (e && "number" == typeof e.dagAlphaModFix) return
|
|
869
|
+
if (e && "number" == typeof e.dagAlphaModFix) return z(e.dagAlphaModFix / 100);
|
|
870
870
|
}(n);
|
|
871
871
|
void 0 !== s && (r.opacity = s);
|
|
872
872
|
const l = function(e) {
|
|
873
873
|
if (!e?.dagFillOverlayColor || "transparent" === e.dagFillOverlayColor) return;
|
|
874
874
|
const t = te(e.dagFillOverlayBlend) ?? "normal";
|
|
875
875
|
return {
|
|
876
|
-
color: G(
|
|
876
|
+
color: G(H(e.dagFillOverlayColor, W), e.dagFillOverlayOpacity),
|
|
877
877
|
blendMode: t
|
|
878
878
|
};
|
|
879
879
|
}(n);
|
|
@@ -1584,7 +1584,7 @@ function Xe(e) {
|
|
|
1584
1584
|
if (e) return e;
|
|
1585
1585
|
}
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function ze(e) {
|
|
1588
1588
|
if (!e || "object" != typeof e) return;
|
|
1589
1589
|
const t = e["a:rPr"];
|
|
1590
1590
|
if (t && "object" == typeof t) {
|
|
@@ -1593,15 +1593,15 @@ function He(e) {
|
|
|
1593
1593
|
}
|
|
1594
1594
|
for (const t of Object.values(e)) if (Array.isArray(t)) {
|
|
1595
1595
|
for (const e of t) if (e && "object" == typeof e) {
|
|
1596
|
-
const t =
|
|
1596
|
+
const t = ze(e);
|
|
1597
1597
|
if (t) return t;
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (t && "object" == typeof t) {
|
|
1600
|
-
const e =
|
|
1600
|
+
const e = ze(t);
|
|
1601
1601
|
if (e) return e;
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function He(e, t) {
|
|
1605
1605
|
if (!e) return {};
|
|
1606
1606
|
const n = e[t];
|
|
1607
1607
|
return n && "object" == typeof n && !Array.isArray(n) ? n : {};
|
|
@@ -1736,14 +1736,14 @@ function et(e) {
|
|
|
1736
1736
|
return "";
|
|
1737
1737
|
}(e);
|
|
1738
1738
|
if (0 === t.length) return "";
|
|
1739
|
-
const n = Ke(t), o = Ue(
|
|
1739
|
+
const n = Ke(t), o = Ue(He(He(e, "m:rPr"), "m:nor")), a = "1" === o || "on" === o || "true" === o;
|
|
1740
1740
|
return function(e) {
|
|
1741
1741
|
return /^[0-9]+(?:[.,][0-9]+)?$/u.test(e.trim());
|
|
1742
1742
|
}(t) ? `<mn>${n}</mn>` : (i = t, Ve.has(i.trim()) ? `<mo>${n}</mo>` : a ? `<mi mathvariant="normal">${n}</mi>` : `<mi>${n}</mi>`);
|
|
1743
1743
|
var i;
|
|
1744
1744
|
}
|
|
1745
1745
|
function tt(e, t) {
|
|
1746
|
-
return `<mrow>${t(
|
|
1746
|
+
return `<mrow>${t(He(e, "m:e"))}</mrow>`;
|
|
1747
1747
|
}
|
|
1748
1748
|
function nt(e) {
|
|
1749
1749
|
if (!e || "object" != typeof e) return "";
|
|
@@ -1764,32 +1764,32 @@ function rt(e, t) {
|
|
|
1764
1764
|
switch (e) {
|
|
1765
1765
|
case "m:r": return et(t);
|
|
1766
1766
|
case "m:f": return function(e, t) {
|
|
1767
|
-
const r = Ue(
|
|
1767
|
+
const r = Ue(He(He(e, "m:fPr"), "m:type")), o = `<mrow>${t(He(e, "m:num"))}</mrow>`, a = `<mrow>${t(He(e, "m:den"))}</mrow>`;
|
|
1768
1768
|
return "lin" === r ? `<mrow>${o}<mo>/</mo>${a}</mrow>` : "noBar" === r ? `<mfrac linethickness="0">${o}${a}</mfrac>` : `<mfrac>${o}${a}</mfrac>`;
|
|
1769
1769
|
}(t, nt);
|
|
1770
1770
|
case "m:rad": return function(e, t) {
|
|
1771
|
-
const r = Ue(
|
|
1771
|
+
const r = Ue(He(He(e, "m:radPr"), "m:degHide")), o = t(He(e, "m:e")), a = t(He(e, "m:deg"));
|
|
1772
1772
|
return "1" === r || "on" === r || "true" === r || 0 === a.length ? `<msqrt><mrow>${o}</mrow></msqrt>` : `<mroot><mrow>${o}</mrow><mrow>${a}</mrow></mroot>`;
|
|
1773
1773
|
}(t, nt);
|
|
1774
1774
|
case "m:sSup": return function(e, t) {
|
|
1775
|
-
return `<msup><mrow>${t(
|
|
1775
|
+
return `<msup><mrow>${t(He(e, "m:e"))}</mrow><mrow>${t(He(e, "m:sup"))}</mrow></msup>`;
|
|
1776
1776
|
}(t, nt);
|
|
1777
1777
|
case "m:sSub": return function(e, t) {
|
|
1778
|
-
return `<msub><mrow>${t(
|
|
1778
|
+
return `<msub><mrow>${t(He(e, "m:e"))}</mrow><mrow>${t(He(e, "m:sub"))}</mrow></msub>`;
|
|
1779
1779
|
}(t, nt);
|
|
1780
1780
|
case "m:sSubSup": return function(e, t) {
|
|
1781
|
-
return `<msubsup><mrow>${t(
|
|
1781
|
+
return `<msubsup><mrow>${t(He(e, "m:e"))}</mrow><mrow>${t(He(e, "m:sub"))}</mrow><mrow>${t(He(e, "m:sup"))}</mrow></msubsup>`;
|
|
1782
1782
|
}(t, nt);
|
|
1783
1783
|
case "m:sPre": return function(e, t) {
|
|
1784
|
-
return `<mmultiscripts><mrow>${t(
|
|
1784
|
+
return `<mmultiscripts><mrow>${t(He(e, "m:e"))}</mrow><mprescripts/><mrow>${t(He(e, "m:sub"))}</mrow><mrow>${t(He(e, "m:sup"))}</mrow></mmultiscripts>`;
|
|
1785
1785
|
}(t, nt);
|
|
1786
1786
|
case "m:nary": return function(e, t) {
|
|
1787
|
-
const n =
|
|
1787
|
+
const n = He(e, "m:naryPr"), r = Ue(He(n, "m:chr")), o = Ue(He(n, "m:limLoc")), a = Ue(He(n, "m:subHide")), i = Ue(He(n, "m:supHide")), s = r ? Ze[r] || r : "∫", l = t(He(e, "m:sub")), c = t(He(e, "m:sup")), u = t(He(e, "m:e")), p = "1" !== a && "on" !== a && "true" !== a && l.length > 0, d = "1" !== i && "on" !== i && "true" !== i && c.length > 0;
|
|
1788
1788
|
let f;
|
|
1789
1789
|
return f = p && d ? "undOvr" === o ? `<munderover><mo>${Ke(s)}</mo><mrow>${l}</mrow><mrow>${c}</mrow></munderover>` : `<msubsup><mo>${Ke(s)}</mo><mrow>${l}</mrow><mrow>${c}</mrow></msubsup>` : p ? "undOvr" === o ? `<munder><mo>${Ke(s)}</mo><mrow>${l}</mrow></munder>` : `<msub><mo>${Ke(s)}</mo><mrow>${l}</mrow></msub>` : d ? "undOvr" === o ? `<mover><mo>${Ke(s)}</mo><mrow>${c}</mrow></mover>` : `<msup><mo>${Ke(s)}</mo><mrow>${c}</mrow></msup>` : `<mo>${Ke(s)}</mo>`, `<mrow>${f}<mrow>${u}</mrow></mrow>`;
|
|
1790
1790
|
}(t, nt);
|
|
1791
1791
|
case "m:d": return function(e, t) {
|
|
1792
|
-
const n =
|
|
1792
|
+
const n = He(e, "m:dPr"), r = Ue(He(n, "m:begChr")), o = Ue(He(n, "m:endChr")), a = Ue(He(n, "m:sepChr")), i = r.length > 0 ? r : "(", s = o.length > 0 ? o : ")", l = a.length > 0 ? a : "", c = Je[i] || i, u = Qe[s] || s, p = Ge(e["m:e"]), d = [];
|
|
1793
1793
|
for (let e = 0; e < p.length; e++) e > 0 && l.length > 0 && d.push(`<mo>${Ke(l)}</mo>`), d.push(`<mrow>${t(p[e])}</mrow>`);
|
|
1794
1794
|
const f = i ? `<mo>${Ke(c)}</mo>` : "<mo></mo>", m = s ? `<mo>${Ke(u)}</mo>` : "<mo></mo>";
|
|
1795
1795
|
return `<mrow>${f}${d.join("")}${m}</mrow>`;
|
|
@@ -1804,21 +1804,21 @@ function rt(e, t) {
|
|
|
1804
1804
|
return `<mrow><mo>[</mo><mtable>${r.join("")}</mtable><mo>]</mo></mrow>`;
|
|
1805
1805
|
}(t, nt);
|
|
1806
1806
|
case "m:acc": return function(e, t) {
|
|
1807
|
-
const r = Ue(
|
|
1808
|
-
return `<mover accent="true"><mrow>${t(
|
|
1807
|
+
const r = Ue(He(He(e, "m:accPr"), "m:chr"));
|
|
1808
|
+
return `<mover accent="true"><mrow>${t(He(e, "m:e"))}</mrow><mo>${Ke(r.length > 0 ? qe[r] || r : "̂")}</mo></mover>`;
|
|
1809
1809
|
}(t, nt);
|
|
1810
1810
|
case "m:bar": return function(e, t) {
|
|
1811
|
-
const r = Ue(
|
|
1811
|
+
const r = Ue(He(He(e, "m:barPr"), "m:pos")), o = t(He(e, "m:e"));
|
|
1812
1812
|
return "bot" === r ? `<munder><mrow>${o}</mrow><mo>¯</mo></munder>` : `<mover><mrow>${o}</mrow><mo>¯</mo></mover>`;
|
|
1813
1813
|
}(t, nt);
|
|
1814
1814
|
case "m:limLow": return function(e, t) {
|
|
1815
|
-
return `<munder><mrow>${t(
|
|
1815
|
+
return `<munder><mrow>${t(He(e, "m:e"))}</mrow><mrow>${t(He(e, "m:lim"))}</mrow></munder>`;
|
|
1816
1816
|
}(t, nt);
|
|
1817
1817
|
case "m:limUpp": return function(e, t) {
|
|
1818
|
-
return `<mover><mrow>${t(
|
|
1818
|
+
return `<mover><mrow>${t(He(e, "m:e"))}</mrow><mrow>${t(He(e, "m:lim"))}</mrow></mover>`;
|
|
1819
1819
|
}(t, nt);
|
|
1820
1820
|
case "m:groupChr": return function(e, t) {
|
|
1821
|
-
const n =
|
|
1821
|
+
const n = He(e, "m:groupChrPr"), r = Ue(He(n, "m:chr")), o = Ue(He(n, "m:pos")), a = t(He(e, "m:e")), i = r.length > 0 ? r : "⏟";
|
|
1822
1822
|
return "top" === o ? `<mover><mrow>${a}</mrow><mo>${Ke(i)}</mo></mover>` : `<munder><mrow>${a}</mrow><mo>${Ke(i)}</mo></munder>`;
|
|
1823
1823
|
}(t, nt);
|
|
1824
1824
|
case "m:eqArr": return function(e, t) {
|
|
@@ -1829,7 +1829,7 @@ function rt(e, t) {
|
|
|
1829
1829
|
case "m:box":
|
|
1830
1830
|
case "m:borderBox": return tt(t, nt);
|
|
1831
1831
|
case "m:func": return function(e, t) {
|
|
1832
|
-
return `<mrow>${t(
|
|
1832
|
+
return `<mrow>${t(He(e, "m:fName"))}<mo>⁡</mo><mrow>${t(He(e, "m:e"))}</mrow></mrow>`;
|
|
1833
1833
|
}(t, nt);
|
|
1834
1834
|
case "m:oMath": return `<mrow>${nt(t)}</mrow>`;
|
|
1835
1835
|
default: return "";
|
|
@@ -1857,7 +1857,7 @@ function ot(e) {
|
|
|
1857
1857
|
if (0 === n.length) return "";
|
|
1858
1858
|
const r = n.map((e) => nt(e)).join("");
|
|
1859
1859
|
if (0 === r.length) return "";
|
|
1860
|
-
const o = Xe(e), a = o ? ` mathcolor="${o}"` : "", i =
|
|
1860
|
+
const o = Xe(e), a = o ? ` mathcolor="${o}"` : "", i = ze(e);
|
|
1861
1861
|
return `<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"${a}${i ? ` mathsize="${i}pt"` : ""}>${r}</math>`;
|
|
1862
1862
|
}
|
|
1863
1863
|
var at = {
|
|
@@ -2529,22 +2529,22 @@ function Xt(e, t) {
|
|
|
2529
2529
|
..."maxMin" === t?.orientation ? { reverseOrder: !0 } : {}
|
|
2530
2530
|
};
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function zt(e, t) {
|
|
2533
2533
|
if (!Number.isFinite(t) || t <= 0 || e.logScale) return [];
|
|
2534
2534
|
const n = 1e-12 * Math.max(1, Math.abs(e.min), Math.abs(e.max)), r = Math.ceil((e.min - n) / t), o = Math.floor((e.max + n) / t), a = Math.min(Math.max(o - r + 1, 0), 2e3);
|
|
2535
2535
|
return Array.from({ length: a }, (e, n) => (r + n) * t);
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function Ht(e, t, n) {
|
|
2538
2538
|
if (e.logScale && e.logBase) return function(e) {
|
|
2539
2539
|
if (!e.logScale || !e.logBase) return [];
|
|
2540
2540
|
const t = e.logBase, n = Math.log(e.min) / Math.log(t), r = Math.log(e.max) / Math.log(t), o = Math.ceil(n - 1e-12), a = Math.floor(r + 1e-12);
|
|
2541
2541
|
return a < o ? e.min === e.max ? [e.min] : [e.min, e.max] : Array.from({ length: a - o + 1 }, (e, n) => t ** (o + n));
|
|
2542
2542
|
}(e);
|
|
2543
|
-
const r =
|
|
2543
|
+
const r = zt(e, t?.majorUnit ?? 0);
|
|
2544
2544
|
return r.length > 0 ? r : Array.from({ length: n + 1 }, (t, r) => e.min + e.span / n * r);
|
|
2545
2545
|
}
|
|
2546
2546
|
function Gt(e, t) {
|
|
2547
|
-
const n =
|
|
2547
|
+
const n = zt(e, t?.minorUnit ?? 0);
|
|
2548
2548
|
if (0 === n.length) return [];
|
|
2549
2549
|
const r = t?.majorUnit;
|
|
2550
2550
|
if (!r || !Number.isFinite(r) || r <= 0) return n;
|
|
@@ -3281,7 +3281,7 @@ function Xn(e, t, n, r, o, a, i) {
|
|
|
3281
3281
|
...void 0 !== i ? { opacity: i } : {}
|
|
3282
3282
|
};
|
|
3283
3283
|
}
|
|
3284
|
-
var
|
|
3284
|
+
var zn = "#e2e8f0", Hn = "#e2e8f0";
|
|
3285
3285
|
function Gn(e, t, n, r) {
|
|
3286
3286
|
if (!t || "nextTo" === t) return "left" === n ? {
|
|
3287
3287
|
x: r - 4,
|
|
@@ -3302,10 +3302,10 @@ function Un(e, t) {
|
|
|
3302
3302
|
return t?.displayUnits ? qt(e, t) : Wo(e);
|
|
3303
3303
|
}
|
|
3304
3304
|
function Kn(e, t, n, r = t.plotLeft) {
|
|
3305
|
-
const o = [], a = [], i =
|
|
3305
|
+
const o = [], a = [], i = Ht(e, n, 5), s = Gt(e, n), l = Yn(n, r, t);
|
|
3306
3306
|
if (l && o.push(l), n?.minorGridlines) for (const r of s) {
|
|
3307
3307
|
const a = _o(r, e, t.plotTop, t.plotBottom);
|
|
3308
|
-
o.push(Xn(a, t, n.minorGridlinesSpPr,
|
|
3308
|
+
o.push(Xn(a, t, n.minorGridlinesSpPr, zn, .5, "1 2", .5));
|
|
3309
3309
|
}
|
|
3310
3310
|
for (const a of s) {
|
|
3311
3311
|
const i = Wn(r, _o(a, e, t.plotTop, t.plotBottom), n?.minorTickMark, "left", 2.5, n?.spPr);
|
|
@@ -3313,7 +3313,7 @@ function Kn(e, t, n, r = t.plotLeft) {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
for (const s of i) {
|
|
3315
3315
|
const i = _o(s, e, t.plotTop, t.plotBottom);
|
|
3316
|
-
o.push(Xn(i, t, n?.majorGridlinesSpPr,
|
|
3316
|
+
o.push(Xn(i, t, n?.majorGridlinesSpPr, zn, 1, void 0, void 0));
|
|
3317
3317
|
const l = Wn(r, i, n?.majorTickMark, "left", 4, n?.spPr);
|
|
3318
3318
|
l && o.push(l), "none" !== n?.tickLblPos && a.push({
|
|
3319
3319
|
kind: "text",
|
|
@@ -3347,10 +3347,10 @@ function Kn(e, t, n, r = t.plotLeft) {
|
|
|
3347
3347
|
function Vn(e, t, n, r = t.plotRight) {
|
|
3348
3348
|
const o = [], a = [], i = Nn(n), s = Nn(n, 9), l = Yn(n, r, t);
|
|
3349
3349
|
l && o.push(l);
|
|
3350
|
-
const c =
|
|
3350
|
+
const c = Ht(e, n, 4), u = Gt(e, n);
|
|
3351
3351
|
if (n?.minorGridlines) for (const r of u) {
|
|
3352
3352
|
const a = _o(r, e, t.plotTop, t.plotBottom);
|
|
3353
|
-
o.push(Xn(a, t, n.minorGridlinesSpPr,
|
|
3353
|
+
o.push(Xn(a, t, n.minorGridlinesSpPr, Hn, .5, "1 2", .35));
|
|
3354
3354
|
}
|
|
3355
3355
|
for (const a of u) {
|
|
3356
3356
|
const i = Wn(r, _o(a, e, t.plotTop, t.plotBottom), n?.minorTickMark, "right", 2.5, n?.spPr);
|
|
@@ -3358,7 +3358,7 @@ function Vn(e, t, n, r = t.plotRight) {
|
|
|
3358
3358
|
}
|
|
3359
3359
|
for (const s of c) {
|
|
3360
3360
|
const l = _o(s, e, t.plotTop, t.plotBottom);
|
|
3361
|
-
o.push(Xn(l, t, n?.majorGridlinesSpPr,
|
|
3361
|
+
o.push(Xn(l, t, n?.majorGridlinesSpPr, Hn, .5, "2 3", .5));
|
|
3362
3362
|
const c = Wn(r, l, n?.majorTickMark, "right", 4, n?.spPr);
|
|
3363
3363
|
c && o.push(c), "none" !== n?.tickLblPos && a.push({
|
|
3364
3364
|
kind: "text",
|
|
@@ -4855,18 +4855,18 @@ function Xr(e, t, n) {
|
|
|
4855
4855
|
secondaryAxisLabels: w?.axisLabels
|
|
4856
4856
|
};
|
|
4857
4857
|
}
|
|
4858
|
-
function
|
|
4858
|
+
function zr(e, t, n) {
|
|
4859
4859
|
const r = "inclusive" === n ? (e.length - 1) * t : (e.length + 1) * t - 1, o = Math.max(0, Math.min(r, e.length - 1)), a = Math.floor(o), i = Math.ceil(o), s = o - a;
|
|
4860
4860
|
return e[a] + (e[i] - e[a]) * s;
|
|
4861
4861
|
}
|
|
4862
|
-
function
|
|
4862
|
+
function Hr(e, t) {
|
|
4863
4863
|
if (e.length < 2) return;
|
|
4864
4864
|
const n = [...e].sort((e, t) => e - t);
|
|
4865
4865
|
return t ? {
|
|
4866
4866
|
min: n[0],
|
|
4867
|
-
q1:
|
|
4868
|
-
median:
|
|
4869
|
-
q3:
|
|
4867
|
+
q1: zr(n, .25, t),
|
|
4868
|
+
median: zr(n, .5, t),
|
|
4869
|
+
q3: zr(n, .75, t),
|
|
4870
4870
|
max: n[n.length - 1]
|
|
4871
4871
|
} : {
|
|
4872
4872
|
min: n[0],
|
|
@@ -4984,7 +4984,7 @@ function Zr(e, t, n) {
|
|
|
4984
4984
|
const t = e.series.map((e, t) => ({
|
|
4985
4985
|
value: e.values[u],
|
|
4986
4986
|
seriesIndex: t
|
|
4987
|
-
})).filter((e) => void 0 !== e.value), p =
|
|
4987
|
+
})).filter((e) => void 0 !== e.value), p = Hr(t.map((e) => e.value), l);
|
|
4988
4988
|
if (!p) continue;
|
|
4989
4989
|
const d = p.q3 - p.q1, f = p.q1 - 1.5 * d, m = p.q3 + 1.5 * d, h = t.filter((e) => !s || e.value >= f && e.value <= m), g = Math.min(...h.map((e) => e.value)), y = Math.max(...h.map((e) => e.value)), x = n.plotLeft + a * u + (a - i) / 2, b = t.reduce((e, t) => e + t.value, 0) / t.length;
|
|
4990
4990
|
c.push({
|
|
@@ -6436,7 +6436,7 @@ function Yo(e, t, n, r, o) {
|
|
|
6436
6436
|
plotHeight: m
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
|
-
var Xo = "#e2e8f0",
|
|
6439
|
+
var Xo = "#e2e8f0", zo = "#64748b", Ho = "#94a3b8", Go = 5;
|
|
6440
6440
|
function Uo(e, t) {
|
|
6441
6441
|
const n = [], r = [];
|
|
6442
6442
|
for (let o = 0; o <= Go; o++) {
|
|
@@ -6455,7 +6455,7 @@ function Uo(e, t) {
|
|
|
6455
6455
|
y: i,
|
|
6456
6456
|
text: Wo(a),
|
|
6457
6457
|
fontSize: 8,
|
|
6458
|
-
fill:
|
|
6458
|
+
fill: zo,
|
|
6459
6459
|
textAnchor: "end",
|
|
6460
6460
|
dominantBaseline: "central"
|
|
6461
6461
|
});
|
|
@@ -6474,7 +6474,7 @@ function Ko(e, t) {
|
|
|
6474
6474
|
y1: n,
|
|
6475
6475
|
x2: t.plotRight,
|
|
6476
6476
|
y2: n,
|
|
6477
|
-
stroke:
|
|
6477
|
+
stroke: Ho,
|
|
6478
6478
|
strokeWidth: 1
|
|
6479
6479
|
};
|
|
6480
6480
|
}
|
|
@@ -6486,7 +6486,7 @@ function Vo(e, t, n) {
|
|
|
6486
6486
|
y: t.plotBottom + 12,
|
|
6487
6487
|
text: e,
|
|
6488
6488
|
fontSize: 8,
|
|
6489
|
-
fill:
|
|
6489
|
+
fill: zo,
|
|
6490
6490
|
textAnchor: "middle"
|
|
6491
6491
|
}));
|
|
6492
6492
|
}
|
|
@@ -7337,7 +7337,7 @@ function Xa(e, t) {
|
|
|
7337
7337
|
const n = Ya(e);
|
|
7338
7338
|
return n <= 0 ? 0 : Math.min(t, Math.ceil(n * t));
|
|
7339
7339
|
}
|
|
7340
|
-
function
|
|
7340
|
+
function za(e, t, n) {
|
|
7341
7341
|
if (t) {
|
|
7342
7342
|
if (t.build) {
|
|
7343
7343
|
const a = void 0 === n?.elapsedMs ? 1 : (r = t, o = n.elapsedMs, r.durationMs <= 0 ? o >= r.delayMs ? 1 : 0 : Ya((o - r.delayMs) / r.durationMs));
|
|
@@ -7350,7 +7350,7 @@ function Ha(e, t, n) {
|
|
|
7350
7350
|
t.colorTargets && (t.colorTargets.includes("fill") && (e.animatesFill = !0), t.colorTargets.includes("stroke") && (e.animatesStroke = !0));
|
|
7351
7351
|
}
|
|
7352
7352
|
}
|
|
7353
|
-
function
|
|
7353
|
+
function Ha(e, t) {
|
|
7354
7354
|
const { series: n } = e;
|
|
7355
7355
|
if ("asOne" === t.mode || 0 === n.length) return e;
|
|
7356
7356
|
if ("bySeries" === t.mode) {
|
|
@@ -7956,7 +7956,7 @@ var Oi = class e {
|
|
|
7956
7956
|
visible: this.isElementVisible(r),
|
|
7957
7957
|
cssAnimation: this.activeAnimations.get(r)
|
|
7958
7958
|
};
|
|
7959
|
-
|
|
7959
|
+
za(e, this.activeSteps.get(r), t), n.set(r, e);
|
|
7960
7960
|
}
|
|
7961
7961
|
return n;
|
|
7962
7962
|
}
|
|
@@ -8716,7 +8716,7 @@ function Xi(e) {
|
|
|
8716
8716
|
return `#${e}${e}${t}${t}${r}${r}`;
|
|
8717
8717
|
}
|
|
8718
8718
|
}
|
|
8719
|
-
function
|
|
8719
|
+
function zi(e, t) {
|
|
8720
8720
|
if (!e) return {};
|
|
8721
8721
|
const n = Yi[e];
|
|
8722
8722
|
if (!n) return {};
|
|
@@ -8742,7 +8742,7 @@ function Hi(e, t) {
|
|
|
8742
8742
|
var r, o;
|
|
8743
8743
|
return n;
|
|
8744
8744
|
}
|
|
8745
|
-
function
|
|
8745
|
+
function Hi(e, t, n, r) {
|
|
8746
8746
|
const o = r ? -1 : 1, a = r ? 1 : -1, i = r ? .2 : .3, s = r ? .3 : .2, l = Math.max(t, n);
|
|
8747
8747
|
switch (e) {
|
|
8748
8748
|
case "circle": return [
|
|
@@ -8864,11 +8864,11 @@ function Ki(e) {
|
|
|
8864
8864
|
const t = [];
|
|
8865
8865
|
if (e.bevelTopType && "none" !== e.bevelTopType) {
|
|
8866
8866
|
const n = e.bevelTopWidth ? Math.max(1, Math.round(e.bevelTopWidth / Bi)) : 3, r = e.bevelTopHeight ? Math.max(1, Math.round(e.bevelTopHeight / Bi)) : 3;
|
|
8867
|
-
t.push(
|
|
8867
|
+
t.push(Hi(e.bevelTopType, n, r, !1));
|
|
8868
8868
|
}
|
|
8869
8869
|
if (e.bevelBottomType && "none" !== e.bevelBottomType) {
|
|
8870
8870
|
const n = e.bevelBottomWidth ? Math.max(1, Math.round(e.bevelBottomWidth / Bi)) : 3, r = e.bevelBottomHeight ? Math.max(1, Math.round(e.bevelBottomHeight / Bi)) : 3;
|
|
8871
|
-
t.push(
|
|
8871
|
+
t.push(Hi(e.bevelBottomType, n, r, !0));
|
|
8872
8872
|
}
|
|
8873
8873
|
if (0 === t.length) return;
|
|
8874
8874
|
let n;
|
|
@@ -8892,7 +8892,7 @@ function Ki(e) {
|
|
|
8892
8892
|
const e = _i(o.presetMaterial);
|
|
8893
8893
|
e.filter && y.push(e.filter), void 0 !== e.opacity && (a.opacity = e.opacity), e.boxShadow && m.push(e.boxShadow), e.backgroundImage && x.push(e.backgroundImage);
|
|
8894
8894
|
}
|
|
8895
|
-
const b =
|
|
8895
|
+
const b = zi(r?.lightRigType, r?.lightRigDirection);
|
|
8896
8896
|
return b.filter && y.push(b.filter), b.backgroundImage && x.push(b.backgroundImage), m.length > 0 && (a.boxShadow = m.join(", ")), y.length > 0 && (a.filter = y.join(" ")), x.length > 0 && (a.backgroundImage = x.join(", ")), a;
|
|
8897
8897
|
}
|
|
8898
8898
|
function Vi(e, t, n, r, o) {
|
|
@@ -9629,11 +9629,11 @@ function Xs(e, t) {
|
|
|
9629
9629
|
const n = t.x - e.x, r = t.y - e.y;
|
|
9630
9630
|
return (Math.atan2(n, -r) * Bs % 360 + 360) % 360;
|
|
9631
9631
|
}
|
|
9632
|
-
function
|
|
9632
|
+
function zs(e, t = 15, n = t / 2) {
|
|
9633
9633
|
const r = Math.round(e / t) * t;
|
|
9634
9634
|
return Math.abs(e - r) <= n ? (r % 360 + 360) % 360 : e;
|
|
9635
9635
|
}
|
|
9636
|
-
function
|
|
9636
|
+
function Hs(e) {
|
|
9637
9637
|
return `${e}px`;
|
|
9638
9638
|
}
|
|
9639
9639
|
function Gs(e, t) {
|
|
@@ -9641,10 +9641,10 @@ function Gs(e, t) {
|
|
|
9641
9641
|
e.rotation && n.push(`rotate(${e.rotation}deg)`), e.flipHorizontal && n.push("scaleX(-1)"), e.flipVertical && n.push("scaleY(-1)");
|
|
9642
9642
|
const r = {
|
|
9643
9643
|
position: "absolute",
|
|
9644
|
-
left:
|
|
9645
|
-
top:
|
|
9646
|
-
width:
|
|
9647
|
-
height:
|
|
9644
|
+
left: Hs(e.x),
|
|
9645
|
+
top: Hs(e.y),
|
|
9646
|
+
width: Hs(e.width),
|
|
9647
|
+
height: Hs(e.height),
|
|
9648
9648
|
zIndex: t,
|
|
9649
9649
|
boxSizing: "border-box"
|
|
9650
9650
|
};
|
|
@@ -10257,7 +10257,7 @@ function Xl(e) {
|
|
|
10257
10257
|
const t = String(e);
|
|
10258
10258
|
return t.length > 0 && Yl.test(t);
|
|
10259
10259
|
}
|
|
10260
|
-
function
|
|
10260
|
+
function zl(e, t) {
|
|
10261
10261
|
const n = { ...t }, r = e.tagName.toLowerCase();
|
|
10262
10262
|
if ("b" !== r && "strong" !== r || (n.bold = !0), "i" !== r && "em" !== r || (n.italic = !0), "u" === r && (n.underline = !0), "s" !== r && "strike" !== r || (n.strikethrough = !0), "a" === r) {
|
|
10263
10263
|
const t = e.getAttribute("href");
|
|
@@ -10272,7 +10272,7 @@ function Hl(e, t) {
|
|
|
10272
10272
|
}(o.fontSize);
|
|
10273
10273
|
return void 0 !== a && (n.fontSize = a), o.fontFamily && (n.fontFamily = o.fontFamily), n;
|
|
10274
10274
|
}
|
|
10275
|
-
function
|
|
10275
|
+
function Hl(e) {
|
|
10276
10276
|
const t = Nl(e);
|
|
10277
10277
|
let n = 0;
|
|
10278
10278
|
return t.map((e) => {
|
|
@@ -10328,7 +10328,7 @@ function Zl(e) {
|
|
|
10328
10328
|
style: {},
|
|
10329
10329
|
isParagraphBreak: !0
|
|
10330
10330
|
});
|
|
10331
|
-
const o =
|
|
10331
|
+
const o = zl(e, r), a = e.tagName.toLowerCase(), i = [
|
|
10332
10332
|
"div",
|
|
10333
10333
|
"p",
|
|
10334
10334
|
"li"
|
|
@@ -11447,14 +11447,24 @@ function Wc(e, t, n, r = 8) {
|
|
|
11447
11447
|
};
|
|
11448
11448
|
}
|
|
11449
11449
|
function Yc(e) {
|
|
11450
|
+
if (e.name) {
|
|
11451
|
+
const t = e.name.trim();
|
|
11452
|
+
if (t.startsWith("!!")) return t;
|
|
11453
|
+
}
|
|
11454
|
+
if (t.hasTextProperties(e) && e.text) {
|
|
11455
|
+
const t = e.text.trim();
|
|
11456
|
+
if (t.startsWith("!!")) return t;
|
|
11457
|
+
}
|
|
11458
|
+
}
|
|
11459
|
+
function Xc(e) {
|
|
11450
11460
|
if ("group" !== e.type) return;
|
|
11451
11461
|
const t = e.children;
|
|
11452
11462
|
return Array.isArray(t) && t.length > 0 ? t : void 0;
|
|
11453
11463
|
}
|
|
11454
|
-
function
|
|
11455
|
-
const t =
|
|
11464
|
+
function zc(e) {
|
|
11465
|
+
const t = Xc(e);
|
|
11456
11466
|
if (!t) return !1;
|
|
11457
|
-
for (const e of t) if (void 0 !==
|
|
11467
|
+
for (const e of t) if (void 0 !== Yc(e) || zc(e)) return !0;
|
|
11458
11468
|
return !1;
|
|
11459
11469
|
}
|
|
11460
11470
|
function Hc(e, t, n) {
|
|
@@ -11464,24 +11474,27 @@ function Hc(e, t, n) {
|
|
|
11464
11474
|
y: e.y + n
|
|
11465
11475
|
};
|
|
11466
11476
|
}
|
|
11467
|
-
function
|
|
11468
|
-
const
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
}
|
|
11473
|
-
return r;
|
|
11477
|
+
function Gc(e, t) {
|
|
11478
|
+
const n = Yc(e);
|
|
11479
|
+
return t.find((t) => {
|
|
11480
|
+
return "group" === t.type && (void 0 !== n && Yc(t) === n || !(!e.name || t.name !== e.name) || (r = e, o = t, Math.abs(r.x - o.x) <= .5 && Math.abs(r.y - o.y) <= .5 && Math.abs(r.width - o.width) <= .5 && Math.abs(r.height - o.height) <= .5));
|
|
11481
|
+
var r, o;
|
|
11482
|
+
});
|
|
11474
11483
|
}
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
const
|
|
11479
|
-
if (
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11483
|
-
|
|
11484
|
+
function Uc(e, t, n = 0, r = 0) {
|
|
11485
|
+
const o = [];
|
|
11486
|
+
for (const a of e) {
|
|
11487
|
+
const e = Xc(a);
|
|
11488
|
+
if (e && zc(a)) {
|
|
11489
|
+
const i = Gc(a, t), s = i ? Xc(i) ?? [] : void 0;
|
|
11490
|
+
if (s) {
|
|
11491
|
+
o.push(...Uc(e, s, n + a.x, r + a.y));
|
|
11492
|
+
continue;
|
|
11493
|
+
}
|
|
11494
|
+
}
|
|
11495
|
+
o.push(Hc(a, n, r));
|
|
11484
11496
|
}
|
|
11497
|
+
return o;
|
|
11485
11498
|
}
|
|
11486
11499
|
var Kc = [
|
|
11487
11500
|
"p:nvSpPr",
|
|
@@ -11491,12 +11504,12 @@ var Kc = [
|
|
|
11491
11504
|
"p:nvGraphicFramePr"
|
|
11492
11505
|
];
|
|
11493
11506
|
function Vc(e, t) {
|
|
11494
|
-
const n = [], r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), a =
|
|
11507
|
+
const n = [], r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), a = Uc(e.elements, t.elements), i = Uc(t.elements, e.elements);
|
|
11495
11508
|
for (const e of a) {
|
|
11496
|
-
const t =
|
|
11509
|
+
const t = Yc(e);
|
|
11497
11510
|
if (t) for (const a of i) {
|
|
11498
11511
|
if (o.has(a.id)) continue;
|
|
11499
|
-
if (
|
|
11512
|
+
if (Yc(a) === t) {
|
|
11500
11513
|
n.push({
|
|
11501
11514
|
fromElement: e,
|
|
11502
11515
|
toElement: a
|
|
@@ -11556,15 +11569,6 @@ function Vc(e, t) {
|
|
|
11556
11569
|
toElement: t
|
|
11557
11570
|
}), r.add(e.id), o.add(t.id));
|
|
11558
11571
|
}
|
|
11559
|
-
for (const e of a) if (!r.has(e.id)) {
|
|
11560
|
-
for (const t of i) if (!o.has(t.id) && Math.abs(e.x - t.x) <= Gc && Math.abs(e.y - t.y) <= Gc && Math.abs(e.width - t.width) <= Gc && Math.abs(e.height - t.height) <= Gc) {
|
|
11561
|
-
n.push({
|
|
11562
|
-
fromElement: e,
|
|
11563
|
-
toElement: t
|
|
11564
|
-
}), r.add(e.id), o.add(t.id);
|
|
11565
|
-
break;
|
|
11566
|
-
}
|
|
11567
|
-
}
|
|
11568
11572
|
return {
|
|
11569
11573
|
pairs: n,
|
|
11570
11574
|
unmatchedFrom: a.filter((e) => !r.has(e.id)),
|
|
@@ -11672,7 +11676,11 @@ function ru(e, t) {
|
|
|
11672
11676
|
}
|
|
11673
11677
|
function ou(e, t) {
|
|
11674
11678
|
let n = (t - e) % 360;
|
|
11675
|
-
|
|
11679
|
+
if (n > 180 ? n -= 360 : n < -180 && (n += 360), Math.abs(Math.abs(n) - 180) < 1e-9) {
|
|
11680
|
+
const t = (e % 360 + 360) % 360;
|
|
11681
|
+
n = t >= 90 && t < 270 ? 180 : -180;
|
|
11682
|
+
}
|
|
11683
|
+
return e + n;
|
|
11676
11684
|
}
|
|
11677
11685
|
function au(e) {
|
|
11678
11686
|
return ` rotate(${e.rotation ?? 0}deg)${e.flipHorizontal ? " scaleX(-1)" : ""}${e.flipVertical ? " scaleY(-1)" : ""}`;
|
|
@@ -11784,22 +11792,22 @@ function su(e, n, r, o = "object") {
|
|
|
11784
11792
|
i.push(...l);
|
|
11785
11793
|
const c = function(e, t, n) {
|
|
11786
11794
|
return e.map((e, r) => {
|
|
11787
|
-
const o = `pptx-morph-fadeout-${n + r}-${e.id.replace(/[^a-zA-Z0-9]/gu, "")}`, a = `\n@keyframes ${o} {\n\
|
|
11795
|
+
const o = `pptx-morph-fadeout-${n + r}-${e.id.replace(/[^a-zA-Z0-9]/gu, "")}`, a = `\t\ttransform: scale(1)${au(e)};`, i = `\n@keyframes ${o} {\n\t0% {\n\t\topacity: ${e.opacity ?? 1};\n${a}\n\t}\n\t4% {\n\t\topacity: ${e.opacity ?? 1};\n${a}\n\t}\n\t23% {\n\t\topacity: 0;\n${a}\n\t}\n\t100% {\n\t\topacity: 0;\n${a}\n\t}\n}`;
|
|
11788
11796
|
return {
|
|
11789
11797
|
elementId: e.id,
|
|
11790
|
-
animation: `${o} ${t}ms
|
|
11791
|
-
keyframes:
|
|
11798
|
+
animation: `${o} ${t}ms linear forwards`,
|
|
11799
|
+
keyframes: i
|
|
11792
11800
|
};
|
|
11793
11801
|
});
|
|
11794
11802
|
}(a.unmatchedFrom, r, s.length + l.length);
|
|
11795
11803
|
i.push(...c);
|
|
11796
11804
|
const u = function(e, t, n) {
|
|
11797
11805
|
return e.map((e, r) => {
|
|
11798
|
-
const o = `pptx-morph-fadein-${n + r}-${e.id.replace(/[^a-zA-Z0-9]/gu, "")}`, a = `\n@keyframes ${o} {\n\
|
|
11806
|
+
const o = `pptx-morph-fadein-${n + r}-${e.id.replace(/[^a-zA-Z0-9]/gu, "")}`, a = `\t\ttransform: scale(1)${au(e)};`, i = `\n@keyframes ${o} {\n\t0% {\n\t\topacity: 0;\n${a}\n\t}\n\t42% {\n\t\topacity: 0;\n\t\tanimation-timing-function: cubic-bezier(0, 0, 0.35, 1);\n${a}\n\t}\n\t100% {\n\t\topacity: ${e.opacity ?? 1};\n${a}\n\t}\n}`;
|
|
11799
11807
|
return {
|
|
11800
11808
|
elementId: e.id,
|
|
11801
|
-
animation: `${o} ${t}ms
|
|
11802
|
-
keyframes:
|
|
11809
|
+
animation: `${o} ${t}ms linear forwards`,
|
|
11810
|
+
keyframes: i
|
|
11803
11811
|
};
|
|
11804
11812
|
});
|
|
11805
11813
|
}(a.unmatchedTo, r, s.length + l.length + c.length);
|
|
@@ -11812,7 +11820,7 @@ function cu(e, t, n, r = "object") {
|
|
|
11812
11820
|
if (!e || !t) return;
|
|
11813
11821
|
const o = Vc(e, t);
|
|
11814
11822
|
if (0 === o.pairs.length && 0 === o.unmatchedFrom.length && 0 === o.unmatchedTo.length) return;
|
|
11815
|
-
const a = su(e, t, n, r), i =
|
|
11823
|
+
const a = su(e, t, n, r), i = Uc(e.elements, t.elements), s = new Set(i.map((e) => e.id)), l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), u = [];
|
|
11816
11824
|
for (const e of a) u.push(e.keyframes), s.has(e.elementId) ? c.set(e.elementId, e.animation) : l.set(e.elementId, e.animation);
|
|
11817
11825
|
return {
|
|
11818
11826
|
keyframesCss: u.join("\n"),
|
|
@@ -12082,13 +12090,13 @@ var Xu = /* @__PURE__ */ new Set([
|
|
|
12082
12090
|
"oleEmbeddedData",
|
|
12083
12091
|
"previewImageData",
|
|
12084
12092
|
"modelData"
|
|
12085
|
-
]),
|
|
12093
|
+
]), zu = {
|
|
12086
12094
|
mediaData: "_mdRef",
|
|
12087
12095
|
posterFrameData: "_pfdRef",
|
|
12088
12096
|
oleEmbeddedData: "_oedRef",
|
|
12089
12097
|
previewImageData: "_pidRef",
|
|
12090
12098
|
modelData: "_moRef"
|
|
12091
|
-
},
|
|
12099
|
+
}, Hu = Object.fromEntries(Object.entries(zu).map(([e, t]) => [t, e])), Gu = "__v";
|
|
12092
12100
|
function Uu(e) {
|
|
12093
12101
|
return `${e}${Gu}`;
|
|
12094
12102
|
}
|
|
@@ -12327,7 +12335,7 @@ function lp(e, t, n, r) {
|
|
|
12327
12335
|
const a = t[o];
|
|
12328
12336
|
if ("string" == typeof a && a.length > 0) {
|
|
12329
12337
|
const t = Ku(e, o);
|
|
12330
|
-
r.get(t) !== a && r.set(t, a), n.set(
|
|
12338
|
+
r.get(t) !== a && r.set(t, a), n.set(zu[o], t);
|
|
12331
12339
|
}
|
|
12332
12340
|
}
|
|
12333
12341
|
})(o.id, o, t, r);
|
|
@@ -12337,7 +12345,7 @@ function cp(e, t) {
|
|
|
12337
12345
|
return e.forEach((e, t) => {
|
|
12338
12346
|
if ("textBody" === t) qu(e) && (n.textSegments = ep(e.toDelta()));
|
|
12339
12347
|
else if (function(e) {
|
|
12340
|
-
return e in
|
|
12348
|
+
return e in Hu;
|
|
12341
12349
|
}(t) || function(e) {
|
|
12342
12350
|
return !!e.endsWith(Gu) && Xu.has(e.slice(0, -3));
|
|
12343
12351
|
}(t));
|
|
@@ -12346,7 +12354,7 @@ function cp(e, t) {
|
|
|
12346
12354
|
} catch {}
|
|
12347
12355
|
else n[t] = e;
|
|
12348
12356
|
}), function(e, t, n) {
|
|
12349
|
-
for (const [r, o] of Object.entries(
|
|
12357
|
+
for (const [r, o] of Object.entries(Hu)) {
|
|
12350
12358
|
const a = e.get(r);
|
|
12351
12359
|
if ("string" == typeof a) {
|
|
12352
12360
|
const e = t.get(a);
|
|
@@ -12485,7 +12493,7 @@ function wp(e, t, n, r) {
|
|
|
12485
12493
|
const o = t;
|
|
12486
12494
|
xp(e, o, np), bp(e, o, rp), vp(e, o, n), function(e, t, n, r) {
|
|
12487
12495
|
for (const o of Xu) {
|
|
12488
|
-
const a =
|
|
12496
|
+
const a = zu[o], i = t[o];
|
|
12489
12497
|
if ("string" == typeof i && i.length > 0) {
|
|
12490
12498
|
const t = Ku(e, o);
|
|
12491
12499
|
if (r.get(t) !== i) {
|
|
@@ -12816,11 +12824,11 @@ var Xp = [
|
|
|
12816
12824
|
"dissolve",
|
|
12817
12825
|
"circle",
|
|
12818
12826
|
"zoom"
|
|
12819
|
-
],
|
|
12827
|
+
], zp = {
|
|
12820
12828
|
outgoing: "none",
|
|
12821
12829
|
incoming: "none",
|
|
12822
12830
|
outgoingOnTop: !0
|
|
12823
|
-
},
|
|
12831
|
+
}, Hp = {
|
|
12824
12832
|
fast: 500,
|
|
12825
12833
|
med: 750,
|
|
12826
12834
|
slow: 1e3
|
|
@@ -13066,7 +13074,7 @@ function Jp(e, t, n, r, o) {
|
|
|
13066
13074
|
if (s) return s;
|
|
13067
13075
|
switch (e) {
|
|
13068
13076
|
case "none":
|
|
13069
|
-
case "cut": return
|
|
13077
|
+
case "cut": return zp;
|
|
13070
13078
|
case "fade":
|
|
13071
13079
|
case "morph":
|
|
13072
13080
|
default: return {
|
|
@@ -13228,14 +13236,14 @@ function Jp(e, t, n, r, o) {
|
|
|
13228
13236
|
}
|
|
13229
13237
|
}
|
|
13230
13238
|
function Qp(e) {
|
|
13231
|
-
if (!e || "none" === e.type || "cut" === e.type) return
|
|
13239
|
+
if (!e || "none" === e.type || "cut" === e.type) return zp;
|
|
13232
13240
|
const t = "number" == typeof e.durationMs && e.durationMs > 0 ? e.durationMs : 1e3;
|
|
13233
13241
|
return Jp(e.type, t, e.direction, e.orient, e.spokes);
|
|
13234
13242
|
}
|
|
13235
13243
|
function ed(e) {
|
|
13236
13244
|
if (!e || "none" === e.type || "cut" === e.type) return 0;
|
|
13237
13245
|
if ("number" == typeof e.durationMs && e.durationMs > 0) return e.durationMs;
|
|
13238
|
-
const t = e.speed ?
|
|
13246
|
+
const t = e.speed ? Hp[e.speed] : void 0;
|
|
13239
13247
|
return "number" == typeof t ? t : "morph" === e.type ? 2e3 : 1e3;
|
|
13240
13248
|
}
|
|
13241
13249
|
function td(e, t, n) {
|
|
@@ -13666,7 +13674,7 @@ function Yd(e) {
|
|
|
13666
13674
|
function Xd(e) {
|
|
13667
13675
|
return "number" == typeof e?.abs ? e.abs : 0;
|
|
13668
13676
|
}
|
|
13669
|
-
function
|
|
13677
|
+
function zd(e, t, n, r) {
|
|
13670
13678
|
let o = 0;
|
|
13671
13679
|
for (const a of e) {
|
|
13672
13680
|
const e = Xd(a[r]), i = Math.max(Xd(a[t]) + e, Xd(a[n]) + e / 2, e);
|
|
@@ -13674,7 +13682,7 @@ function Hd(e, t, n, r) {
|
|
|
13674
13682
|
}
|
|
13675
13683
|
return o;
|
|
13676
13684
|
}
|
|
13677
|
-
function
|
|
13685
|
+
function Hd(e, t) {
|
|
13678
13686
|
if (e) return "number" == typeof e.px ? e.px : "number" == typeof e.abs ? e.abs * t : void 0;
|
|
13679
13687
|
}
|
|
13680
13688
|
function Gd(e, t, n) {
|
|
@@ -13699,11 +13707,11 @@ function Ud(e, t, n, r, o, a) {
|
|
|
13699
13707
|
return n;
|
|
13700
13708
|
}(i, n);
|
|
13701
13709
|
if (0 === s.length) return;
|
|
13702
|
-
const l =
|
|
13703
|
-
const o =
|
|
13710
|
+
const l = zd(s, "l", "ctrX", "w"), c = zd(s, "t", "ctrY", "h"), u = l > 0 ? n.width / l : 1, p = c > 0 ? n.height / c : 1, d = s.map((e) => function(e, t, n, r) {
|
|
13711
|
+
const o = Hd(e.w, n), a = Hd(e.h, r), i = Gd(o ?? t.width, 1, t.width), s = Gd(a ?? t.height, 1, t.height), l = Hd(e.l, n), c = Hd(e.ctrX, n);
|
|
13704
13712
|
let u;
|
|
13705
13713
|
u = void 0 !== l ? l : void 0 !== c ? c - i / 2 : (t.width - i) / 2;
|
|
13706
|
-
const p =
|
|
13714
|
+
const p = Hd(e.t, r), d = Hd(e.ctrY, r);
|
|
13707
13715
|
let f;
|
|
13708
13716
|
return f = void 0 !== p ? p : void 0 !== d ? d - s / 2 : (t.height - s) / 2, {
|
|
13709
13717
|
x: Gd(u, 0, t.width - i),
|
|
@@ -15001,12 +15009,12 @@ function Xf(e = "undefined" != typeof window ? window : void 0) {
|
|
|
15001
15009
|
offsetTop: t.offsetTop
|
|
15002
15010
|
} : null;
|
|
15003
15011
|
}
|
|
15004
|
-
function
|
|
15012
|
+
function zf(e) {
|
|
15005
15013
|
if (!e) return "—";
|
|
15006
15014
|
const t = new Date(e);
|
|
15007
15015
|
return Number.isNaN(t.getTime()) ? e : t.toLocaleString();
|
|
15008
15016
|
}
|
|
15009
|
-
function
|
|
15017
|
+
function Hf(e) {
|
|
15010
15018
|
return new Date(e).toLocaleString(void 0, {
|
|
15011
15019
|
month: "short",
|
|
15012
15020
|
day: "numeric",
|
|
@@ -15461,7 +15469,7 @@ var Wm = /* @__PURE__ */ new Set([
|
|
|
15461
15469
|
function Xm(e) {
|
|
15462
15470
|
return !e.ctrlKey && !e.metaKey && !e.altKey;
|
|
15463
15471
|
}
|
|
15464
|
-
function
|
|
15472
|
+
function zm(e, t = { digits: "" }) {
|
|
15465
15473
|
const { key: n } = e;
|
|
15466
15474
|
if (function(e) {
|
|
15467
15475
|
return Boolean(e.ctrlKey || e.metaKey) && !e.altKey;
|
|
@@ -15523,7 +15531,7 @@ function Hm(e, t = { digits: "" }) {
|
|
|
15523
15531
|
}
|
|
15524
15532
|
return { action: "none" };
|
|
15525
15533
|
}
|
|
15526
|
-
var
|
|
15534
|
+
var Hm = {
|
|
15527
15535
|
prevSlide: "ppaction://hlinkshowjump?jump=previousslide",
|
|
15528
15536
|
nextSlide: "ppaction://hlinkshowjump?jump=nextslide",
|
|
15529
15537
|
firstSlide: "ppaction://hlinkshowjump?jump=firstslide",
|
|
@@ -16589,7 +16597,7 @@ function Yh(e, t, n, r, o) {
|
|
|
16589
16597
|
function Xh(e) {
|
|
16590
16598
|
return Math.round(1e5 * e) / 1e3 + "%";
|
|
16591
16599
|
}
|
|
16592
|
-
var
|
|
16600
|
+
var zh = [
|
|
16593
16601
|
[
|
|
16594
16602
|
"none",
|
|
16595
16603
|
"pptx.image.effectNone",
|
|
@@ -16711,7 +16719,7 @@ var Hh = [
|
|
|
16711
16719
|
"grayscale(60%) contrast(120%)"
|
|
16712
16720
|
]
|
|
16713
16721
|
];
|
|
16714
|
-
var
|
|
16722
|
+
var Hh = [
|
|
16715
16723
|
{
|
|
16716
16724
|
name: "Blue Fill",
|
|
16717
16725
|
style: {
|
|
@@ -17757,13 +17765,13 @@ var Yg = [
|
|
|
17757
17765
|
["1/2", "½"],
|
|
17758
17766
|
["1/4", "¼"],
|
|
17759
17767
|
["3/4", "¾"]
|
|
17760
|
-
],
|
|
17768
|
+
], zg = {
|
|
17761
17769
|
st: "ˢᵗ",
|
|
17762
17770
|
nd: "ⁿᵈ",
|
|
17763
17771
|
rd: "ʳᵈ",
|
|
17764
17772
|
th: "ᵗʰ"
|
|
17765
17773
|
};
|
|
17766
|
-
function
|
|
17774
|
+
function Hg(e, t) {
|
|
17767
17775
|
let n = e;
|
|
17768
17776
|
return t.autoCorrectTwoInitialCapitals && (n = function(e) {
|
|
17769
17777
|
if (/^[A-Z]{2}[a-z]/.test(e) && !/^[A-Z]{3,}$/.test(e)) {
|
|
@@ -17780,7 +17788,7 @@ function zg(e, t) {
|
|
|
17780
17788
|
}(n)), t.autoCorrectOrdinals && (n = function(e) {
|
|
17781
17789
|
const t = /^(\d+)(st|nd|rd|th)$/i.exec(e);
|
|
17782
17790
|
if (!t || void 0 === t[1] || void 0 === t[2]) return e;
|
|
17783
|
-
const n =
|
|
17791
|
+
const n = zg[t[2].toLowerCase()];
|
|
17784
17792
|
return n ? `${t[1]}${n}` : e;
|
|
17785
17793
|
}(n)), n;
|
|
17786
17794
|
}
|
|
@@ -18700,14 +18708,14 @@ var Xy = [
|
|
|
18700
18708
|
"<object",
|
|
18701
18709
|
"<foreignobject",
|
|
18702
18710
|
"javascript:"
|
|
18703
|
-
],
|
|
18704
|
-
var
|
|
18711
|
+
], zy = /\son\w+\s*=/iu;
|
|
18712
|
+
var Hy = { USE_PROFILES: { html: !0 } };
|
|
18705
18713
|
function Gy(e) {
|
|
18706
18714
|
const { title: t, bodyHtml: n, frameSlides: r } = e, o = "portrait" === e.orientation ? "portrait" : "landscape";
|
|
18707
18715
|
const a = e.colorFilter, i = function(e) {
|
|
18708
18716
|
const t = e.toLowerCase();
|
|
18709
|
-
return !Xy.some((e) => t.includes(e)) && !
|
|
18710
|
-
}(n) ? Sc(n,
|
|
18717
|
+
return !Xy.some((e) => t.includes(e)) && !zy.test(e);
|
|
18718
|
+
}(n) ? Sc(n, Hy) : "", s = r ? "img.slide-img, .notes-slide, .handout-cell img { border: 2px solid #000 !important; }" : "";
|
|
18711
18719
|
return `<!doctype html>\n<html>\n <head>\n <meta charset="utf-8" />\n <title>${Wy(t)}</title>\n <style>\n :root { color-scheme: light; }\n * { box-sizing: border-box; }\n body { margin: 0; background: #ffffff; color: #111827; font: 12px/1.4 "Segoe UI", Arial, sans-serif; ${a} }\n .page { page-break-after: always; padding: 10mm; width: 100%; }\n .page:last-child { page-break-after: auto; }\n .slide-page { display: flex; align-items: center; justify-content: center; min-height: 250mm; }\n .slide-page img.slide-img { max-width: 100%; max-height: 240mm; border-radius: 4px; }\n .notes-page { display: grid; grid-template-rows: auto 1fr; gap: 4mm; min-height: 250mm; }\n .notes-slide { width: 100%; border: 1px solid #d1d5db; border-radius: 4px; }\n .notes-text { border: 1px solid #d1d5db; border-radius: 4px; padding: 3mm; white-space: pre-wrap; }\n .handout-grid { display: grid; gap: 3mm; width: 100%; height: 250mm; }\n .handout-cell { border: 1px solid #d1d5db; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #ffffff; }\n .handout-cell img { width: 100%; height: 100%; object-fit: contain; display: block; }\n .handout-grid-3 { display: flex; flex-direction: column; gap: 4mm; width: 100%; height: 250mm; }\n .handout-row-3 { display: flex; gap: 4mm; flex: 1; }\n .handout-row-3 .handout-cell { flex: 0 0 45%; }\n .handout-note-lines { flex: 1; position: relative; border-left: 1px solid #d1d5db; padding-left: 3mm; }\n .handout-note-line { position: absolute; left: 3mm; right: 0; height: 0; border-bottom: 1px solid #d1d5db; }\n .outline-page { padding: 10mm; }\n .outline-page h2 { font-size: 14px; margin: 12px 0 4px; color: #374151; }\n .outline-page p { font-size: 12px; margin: 2px 0 2px 16px; color: #4b5563; }\n @page { size: ${o}; margin: 8mm; }\n @media print {\n body {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n color-adjust: exact;\n }\n * {\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n color-adjust: exact !important;\n }\n img { break-inside: avoid; }\n }\n ${s}\n </style>\n </head>\n <body>${i}</body>\n</html>`;
|
|
18712
18720
|
}
|
|
18713
18721
|
var Uy = [
|
|
@@ -18822,7 +18830,7 @@ function Lx(e, t, n) {
|
|
|
18822
18830
|
};
|
|
18823
18831
|
return null != n && (r.source = n), r;
|
|
18824
18832
|
}
|
|
18825
|
-
var Fx = 1, Dx = 2, jx = 3, Rx = 4, Bx = 5, Nx = 6, _x = 7, Wx = 8, Yx = 9, Xx = 10,
|
|
18833
|
+
var Fx = 1, Dx = 2, jx = 3, Rx = 4, Bx = 5, Nx = 6, _x = 7, Wx = 8, Yx = 9, Xx = 10, zx = 11, Hx = 12, Gx = 13, Ux = 14, Kx = 15, Vx = 16, qx = {
|
|
18826
18834
|
[Fx]: "Expected token: '{0}'",
|
|
18827
18835
|
[Dx]: "Invalid token in placeholder: '{0}'",
|
|
18828
18836
|
[jx]: "Unterminated single quote in placeholder",
|
|
@@ -18833,8 +18841,8 @@ var Fx = 1, Dx = 2, jx = 3, Rx = 4, Bx = 5, Nx = 6, _x = 7, Wx = 8, Yx = 9, Xx =
|
|
|
18833
18841
|
[Wx]: "Empty placeholder",
|
|
18834
18842
|
[Yx]: "Not allowed nest placeholder",
|
|
18835
18843
|
[Xx]: "Invalid linked format",
|
|
18836
|
-
[
|
|
18837
|
-
[
|
|
18844
|
+
[zx]: "Plural must have messages",
|
|
18845
|
+
[Hx]: "Unexpected empty linked modifier",
|
|
18838
18846
|
[Gx]: "Unexpected empty linked key",
|
|
18839
18847
|
[Ux]: "Unexpected lexical analysis in token: '{0}'",
|
|
18840
18848
|
[Kx]: "unhandled codegen node type: '{0}'",
|
|
@@ -19232,7 +19240,7 @@ function pb(e = {}) {
|
|
|
19232
19240
|
if (8 === i.type) {
|
|
19233
19241
|
const t = function(e) {
|
|
19234
19242
|
const t = e.nextToken(), n = e.context(), { lastOffset: i, lastStartLoc: s } = n, l = o(8, i, s);
|
|
19235
|
-
return 11 !== t.type ? (r(e,
|
|
19243
|
+
return 11 !== t.type ? (r(e, Hx, n.lastStartLoc, 0), l.value = "", a(l, i, s), {
|
|
19236
19244
|
nextConsumeToken: t,
|
|
19237
19245
|
node: l
|
|
19238
19246
|
}) : (null == t.value && r(e, Ux, n.lastStartLoc, 0, db(t)), l.value = t.value || "", a(l, e.currentOffset(), e.currentPosition()), { node: l });
|
|
@@ -19305,7 +19313,7 @@ function pb(e = {}) {
|
|
|
19305
19313
|
const t = p(e);
|
|
19306
19314
|
l || (l = 0 === t.items.length), c.cases.push(t);
|
|
19307
19315
|
} while (13 !== s.currentType);
|
|
19308
|
-
return l && r(e,
|
|
19316
|
+
return l && r(e, zx, n, 0), a(c, e.currentOffset(), e.currentPosition()), c;
|
|
19309
19317
|
}(e, n, i, s);
|
|
19310
19318
|
}
|
|
19311
19319
|
return { parse: function(n) {
|
|
@@ -19642,14 +19650,14 @@ var Wb = Yb("function:translate");
|
|
|
19642
19650
|
function Yb(e) {
|
|
19643
19651
|
return (t) => _b && _b.emit(e, t);
|
|
19644
19652
|
}
|
|
19645
|
-
var Xb = 17,
|
|
19653
|
+
var Xb = 17, zb = 18, Hb = 19, Gb = 20, Ub = 21, Kb = 22, Vb = 23;
|
|
19646
19654
|
function qb(e) {
|
|
19647
19655
|
return Zx(e, null, "production" !== process.env.NODE_ENV ? { messages: Jb } : void 0);
|
|
19648
19656
|
}
|
|
19649
19657
|
var Zb, Jb = {
|
|
19650
19658
|
[Xb]: "Invalid arguments",
|
|
19651
|
-
[
|
|
19652
|
-
[
|
|
19659
|
+
[zb]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
19660
|
+
[Hb]: "The argument provided is not a valid ISO date string",
|
|
19653
19661
|
[Gb]: "Not support non-string message",
|
|
19654
19662
|
[Ub]: "cannot support promise value",
|
|
19655
19663
|
[Kb]: "cannot support async function",
|
|
@@ -19884,7 +19892,7 @@ function _v(e, t) {
|
|
|
19884
19892
|
return !1;
|
|
19885
19893
|
}
|
|
19886
19894
|
var Wv = "undefined" != typeof Intl, Yv = Wv && void 0 !== Intl.DateTimeFormat, Xv = Wv && void 0 !== Intl.NumberFormat;
|
|
19887
|
-
function
|
|
19895
|
+
function zv(e, ...t) {
|
|
19888
19896
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: i } = e, { __datetimeFormatters: s } = e;
|
|
19889
19897
|
if ("production" !== process.env.NODE_ENV && !Yv) return a($v(gv)), "";
|
|
19890
19898
|
if (!kx(t[0]) && !sx(t[0]) && !ix(t[0])) return "production" !== process.env.NODE_ENV && a($v(vv, { value: String(t[0]) })), "";
|
|
@@ -19918,7 +19926,7 @@ function Hv(e, ...t) {
|
|
|
19918
19926
|
let S = s.get(k);
|
|
19919
19927
|
return S || (S = new Intl.DateTimeFormat(y, ux({}, b, p)), s.set(k, S)), m ? S.formatToParts(c) : S.format(c);
|
|
19920
19928
|
}
|
|
19921
|
-
var
|
|
19929
|
+
var Hv = [
|
|
19922
19930
|
"localeMatcher",
|
|
19923
19931
|
"weekday",
|
|
19924
19932
|
"era",
|
|
@@ -19945,23 +19953,23 @@ function Gv(...e) {
|
|
|
19945
19953
|
let i, s = dx();
|
|
19946
19954
|
if (kx(t)) {
|
|
19947
19955
|
const e = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
19948
|
-
if (!e) throw qb(
|
|
19956
|
+
if (!e) throw qb(Hb);
|
|
19949
19957
|
const n = e[3] ? e[3].trim().startsWith("T") ? `${e[1].trim()}${e[3].trim()}` : `${e[1].trim()}T${e[3].trim()}` : e[1].trim();
|
|
19950
19958
|
i = new Date(n);
|
|
19951
19959
|
try {
|
|
19952
19960
|
i.toISOString();
|
|
19953
19961
|
} catch {
|
|
19954
|
-
throw qb(
|
|
19962
|
+
throw qb(Hb);
|
|
19955
19963
|
}
|
|
19956
19964
|
} else if (sx(t)) {
|
|
19957
|
-
if (isNaN(t.getTime())) throw qb(
|
|
19965
|
+
if (isNaN(t.getTime())) throw qb(zb);
|
|
19958
19966
|
i = t;
|
|
19959
19967
|
} else {
|
|
19960
19968
|
if (!ix(t)) throw qb(Xb);
|
|
19961
19969
|
i = t;
|
|
19962
19970
|
}
|
|
19963
19971
|
return kx(n) ? a.key = n : Cx(n) && Object.keys(n).forEach((e) => {
|
|
19964
|
-
|
|
19972
|
+
Hv.includes(e) ? s[e] = n[e] : a[e] = n[e];
|
|
19965
19973
|
}), kx(r) ? a.locale = r : Cx(r) && (s = r), Cx(o) && (s = o), [
|
|
19966
19974
|
a.key || "",
|
|
19967
19975
|
i,
|
|
@@ -20379,13 +20387,13 @@ function Yw(e, t, n) {
|
|
|
20379
20387
|
function Xw(e) {
|
|
20380
20388
|
return (0, r.createVNode)(r.Text, null, e, 0);
|
|
20381
20389
|
}
|
|
20382
|
-
function
|
|
20390
|
+
function zw() {
|
|
20383
20391
|
const e = "currentInstance";
|
|
20384
20392
|
return e in r ? r[e] : r.getCurrentInstance();
|
|
20385
20393
|
}
|
|
20386
|
-
var
|
|
20394
|
+
var Hw = "__INTLIFY_META__", Gw = () => [], Uw = () => !1, Kw = 0;
|
|
20387
20395
|
function Vw(e) {
|
|
20388
|
-
return (t, n, r, o) => e(n, r,
|
|
20396
|
+
return (t, n, r, o) => e(n, r, zw() || void 0, o);
|
|
20389
20397
|
}
|
|
20390
20398
|
function qw(e = {}) {
|
|
20391
20399
|
const { __root: t, __injectWithOption: n } = e, o = void 0 === t, a = e.flatJson, i = ex ? r.ref : r.shallowRef;
|
|
@@ -20435,9 +20443,9 @@ function qw(e = {}) {
|
|
|
20435
20443
|
l.value, c.value, u.value, p.value, d.value;
|
|
20436
20444
|
try {
|
|
20437
20445
|
("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && Tv((() => {
|
|
20438
|
-
const e =
|
|
20446
|
+
const e = zw();
|
|
20439
20447
|
let t = null;
|
|
20440
|
-
return e && (t = Ww(e)[
|
|
20448
|
+
return e && (t = Ww(e)[Hw]) ? { [Hw]: t } : null;
|
|
20441
20449
|
})()), o || (k.fallbackContext = t ? Ov : void 0), g = e(k);
|
|
20442
20450
|
} finally {
|
|
20443
20451
|
("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && Tv(null), o || (k.fallbackContext = void 0);
|
|
@@ -20601,7 +20609,7 @@ function qw(e = {}) {
|
|
|
20601
20609
|
}(e);
|
|
20602
20610
|
return null != n ? n : t && t.tm(e) || {};
|
|
20603
20611
|
}, F.d = function(...e) {
|
|
20604
|
-
return O((t) => Reflect.apply(
|
|
20612
|
+
return O((t) => Reflect.apply(zv, null, [t, ...e]), () => Gv(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => kx(e) || wx(e));
|
|
20605
20613
|
}, F.n = function(...e) {
|
|
20606
20614
|
return O((t) => Reflect.apply(Kv, null, [t, ...e]), () => qv(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => kx(e) || wx(e));
|
|
20607
20615
|
}, F.getDateTimeFormat = function(e) {
|
|
@@ -20628,7 +20636,7 @@ function qw(e = {}) {
|
|
|
20628
20636
|
return n;
|
|
20629
20637
|
}, () => cw(...e), "translate", (t) => t[kw](...e), (e) => [Xw(e)], (e) => wx(e));
|
|
20630
20638
|
}, F[Sw] = function(...e) {
|
|
20631
|
-
return O((t) => Reflect.apply(
|
|
20639
|
+
return O((t) => Reflect.apply(zv, null, [t, ...e]), () => Gv(...e), "datetime format", (t) => t[Sw](...e), Gw, (e) => kx(e) || wx(e));
|
|
20632
20640
|
}, F[Mw] = function(...e) {
|
|
20633
20641
|
return O((t) => Reflect.apply(Kv, null, [t, ...e]), () => qv(...e), "number format", (t) => t[Mw](...e), Gw, (e) => kx(e) || wx(e));
|
|
20634
20642
|
}, "production" !== process.env.NODE_ENV && (F[Pw] = (e) => {
|
|
@@ -20683,7 +20691,7 @@ ux({
|
|
|
20683
20691
|
}, Qw);
|
|
20684
20692
|
var n$ = ox("global-vue-i18n");
|
|
20685
20693
|
function r$(e = {}) {
|
|
20686
|
-
const t =
|
|
20694
|
+
const t = zw();
|
|
20687
20695
|
if (null == t) throw ww(dw);
|
|
20688
20696
|
if (!t.isCE && null != t.appContext.app && !t.appContext.app.__VUE_I18N_SYMBOL__) throw ww(fw);
|
|
20689
20697
|
const n = function(e) {
|
|
@@ -21548,7 +21556,7 @@ function X$(e, t, n) {
|
|
|
21548
21556
|
};
|
|
21549
21557
|
}(e, t, n);
|
|
21550
21558
|
}
|
|
21551
|
-
function
|
|
21559
|
+
function z$(e, t) {
|
|
21552
21560
|
const n = function(e, t) {
|
|
21553
21561
|
if (e.columnWidths.length <= 1) return e;
|
|
21554
21562
|
if (t < 0 || t >= e.columnWidths.length) return e;
|
|
@@ -21596,7 +21604,7 @@ function H$(e, t) {
|
|
|
21596
21604
|
}(e, t);
|
|
21597
21605
|
return n === e ? null : n;
|
|
21598
21606
|
}
|
|
21599
|
-
function
|
|
21607
|
+
function H$(e, t) {
|
|
21600
21608
|
return !t || t.length < 2 || !function(e, t) {
|
|
21601
21609
|
if (e.length < 2) return !1;
|
|
21602
21610
|
const n = hs(e);
|
|
@@ -23366,7 +23374,7 @@ function Rk(e) {
|
|
|
23366
23374
|
S(X$(n, o, "right"));
|
|
23367
23375
|
break;
|
|
23368
23376
|
case "table-delete-col":
|
|
23369
|
-
S(
|
|
23377
|
+
S(z$(n, o));
|
|
23370
23378
|
break;
|
|
23371
23379
|
case "table-merge-right":
|
|
23372
23380
|
S(function(e, t, n) {
|
|
@@ -23387,7 +23395,7 @@ function Rk(e) {
|
|
|
23387
23395
|
}(n, r, o));
|
|
23388
23396
|
break;
|
|
23389
23397
|
case "table-merge-selected":
|
|
23390
|
-
S(
|
|
23398
|
+
S(H$(n, t.sel.selectedCells));
|
|
23391
23399
|
break;
|
|
23392
23400
|
case "table-split": S(function(e, t, n) {
|
|
23393
23401
|
const r = ks(e, t, n);
|
|
@@ -23707,7 +23715,7 @@ function Xk(e) {
|
|
|
23707
23715
|
}
|
|
23708
23716
|
};
|
|
23709
23717
|
}
|
|
23710
|
-
function
|
|
23718
|
+
function zk(e) {
|
|
23711
23719
|
const { findActiveElement: n, pushHistory: o, effectiveZoom: a, activeTemplateElements: i, activeSlide: s, activeSlideIndex: l, slides: c, templateElementsBySlideId: u, canvasSize: p, enterInlineEdit: d } = e, f = (0, r.ref)(!1), m = (0, r.ref)(!1), h = (0, r.ref)([]), g = (0, r.ref)([]);
|
|
23712
23720
|
let y = null;
|
|
23713
23721
|
function x(e) {
|
|
@@ -23926,7 +23934,7 @@ function Hk(e) {
|
|
|
23926
23934
|
}
|
|
23927
23935
|
};
|
|
23928
23936
|
}
|
|
23929
|
-
function
|
|
23937
|
+
function Hk(e) {
|
|
23930
23938
|
const { canvasSize: n, ops: o, selectedElementIds: a, slides: i, activeSlideIndex: s, pushHistory: l, handler: c } = e;
|
|
23931
23939
|
function u(e, t, r) {
|
|
23932
23940
|
e.width = t, e.height = r, e.x = Math.max(0, Math.round((n.value.width - t) / 2)), e.y = Math.max(0, Math.round((n.value.height - r) / 2));
|
|
@@ -24065,7 +24073,7 @@ function zk(e) {
|
|
|
24065
24073
|
const n = function(e, t) {
|
|
24066
24074
|
const n = Gm[e];
|
|
24067
24075
|
if (!n) return null;
|
|
24068
|
-
const r = n.jump ?
|
|
24076
|
+
const r = n.jump ? Hm[n.jump] : void 0;
|
|
24069
24077
|
return {
|
|
24070
24078
|
id: t,
|
|
24071
24079
|
type: "shape",
|
|
@@ -24361,7 +24369,7 @@ function uS(e) {
|
|
|
24361
24369
|
if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
24362
24370
|
}
|
|
24363
24371
|
function pS(e) {
|
|
24364
|
-
const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-
|
|
24372
|
+
const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-DDYg7ynA.cjs"))).encodeGif), a = e.createRecorder ?? cS, i = e.createCanvas ?? (() => document.createElement("canvas")), s = e.downloadBlob ?? xy, l = (0, r.ref)(!1), c = (0, r.ref)(0);
|
|
24365
24373
|
return {
|
|
24366
24374
|
exporting: l,
|
|
24367
24375
|
progress: c,
|
|
@@ -24755,7 +24763,7 @@ function wS(e) {
|
|
|
24755
24763
|
return t;
|
|
24756
24764
|
}(n)), t.autoCorrectHyphensToDash && (n = function(e) {
|
|
24757
24765
|
return e.replace(/(\S)--(?=\S)/g, "$1—").replace(/ -- /g, " – ");
|
|
24758
|
-
}(n)), (t.autoCorrectTwoInitialCapitals || t.autoCorrectCapitalizeDayNames || t.autoCorrectFractions || t.autoCorrectOrdinals) && (n = n.split(/(\s+)/).map((e) => /^\s+$/.test(e) ? e :
|
|
24766
|
+
}(n)), (t.autoCorrectTwoInitialCapitals || t.autoCorrectCapitalizeDayNames || t.autoCorrectFractions || t.autoCorrectOrdinals) && (n = n.split(/(\s+)/).map((e) => /^\s+$/.test(e) ? e : Hg(e, t)).join("")), t.autoCorrectCapitalizeFirstLetter && (n = function(e) {
|
|
24759
24767
|
return e.replace(/(^|[.!?]\s+)([a-z])/g, (e, t, n) => `${t}${n.toUpperCase()}`);
|
|
24760
24768
|
}(n)), n;
|
|
24761
24769
|
}(t, n) : t;
|
|
@@ -24909,14 +24917,14 @@ function MS(e, n) {
|
|
|
24909
24917
|
m.value = !0, h.value = null, g.value = !1;
|
|
24910
24918
|
const N = e instanceof Uint8Array ? e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) : e, _ = N.slice(0), W = N instanceof ArrayBuffer ? N.byteLength / 1048576 : 0;
|
|
24911
24919
|
W > 50 && console.warn(`[pptx] Large file detected (${W.toFixed(1)} MB). Loading may use significant memory.`);
|
|
24912
|
-
const Y = y.value, X = new t.PptxHandler(),
|
|
24920
|
+
const Y = y.value, X = new t.PptxHandler(), z = await X.load(N);
|
|
24913
24921
|
if (r !== D) return void X.dispose();
|
|
24914
24922
|
Y && Y.dispose();
|
|
24915
|
-
const
|
|
24916
|
-
for (const e of
|
|
24923
|
+
const H = [];
|
|
24924
|
+
for (const e of z.slides) $(e.elements, H);
|
|
24917
24925
|
R(Array.from(f.value.values()));
|
|
24918
24926
|
const G = /* @__PURE__ */ new Map();
|
|
24919
|
-
await Promise.all(
|
|
24927
|
+
await Promise.all(H.map(async (e) => {
|
|
24920
24928
|
const t = e.mediaPath;
|
|
24921
24929
|
if (t) try {
|
|
24922
24930
|
if ("audio" === e.mediaType || "video" === e.mediaType) {
|
|
@@ -24934,8 +24942,8 @@ function MS(e, n) {
|
|
|
24934
24942
|
}
|
|
24935
24943
|
else e.mediaMissing = !0;
|
|
24936
24944
|
}));
|
|
24937
|
-
const { paths: U, refs: K } = k(
|
|
24938
|
-
let V =
|
|
24945
|
+
const { paths: U, refs: K } = k(z.slides);
|
|
24946
|
+
let V = z.slides;
|
|
24939
24947
|
if (U.size > 0) {
|
|
24940
24948
|
const e = /* @__PURE__ */ new Map();
|
|
24941
24949
|
await Promise.all(Array.from(U).map(async (t) => {
|
|
@@ -24971,7 +24979,7 @@ function MS(e, n) {
|
|
|
24971
24979
|
});
|
|
24972
24980
|
return r ? o : n;
|
|
24973
24981
|
};
|
|
24974
|
-
V =
|
|
24982
|
+
V = z.slides.map((t) => {
|
|
24975
24983
|
const n = e(t.elements);
|
|
24976
24984
|
return n === t.elements ? t : {
|
|
24977
24985
|
...t,
|
|
@@ -24996,12 +25004,12 @@ function MS(e, n) {
|
|
|
24996
25004
|
};
|
|
24997
25005
|
}(V);
|
|
24998
25006
|
R(j), j = B, y.value = X, i.value = q.slides, s.value = q.templateElementsBySlideId, f.value = G, l.value = {
|
|
24999
|
-
width:
|
|
25000
|
-
height:
|
|
25001
|
-
}, c.value =
|
|
25002
|
-
width: Math.round(
|
|
25003
|
-
height: Math.round(
|
|
25004
|
-
} : void 0, M.value =
|
|
25007
|
+
width: z.width ?? 1280,
|
|
25008
|
+
height: z.height ?? 720
|
|
25009
|
+
}, c.value = z.theme, u.value = z.themeColorMap, p.value = z.slideMasters ?? [], d.value = z.layoutOptions ?? [], x.value = z.coreProperties, b.value = z.customProperties ?? [], v.value = z.appProperties, w.value = z.tags ?? [], S.value = z.embeddedFonts ?? [], P.value = z.tableStyleMap, I.value = z.sections ?? [], C.value = z.customShows ?? [], T.value = z.presentationProperties ?? {}, O.value = z.headerFooter, A.value = z.notesMaster, E.value = z.handoutMaster, L.value = z.themeOptions ?? [], F.value = "number" == typeof z.notesWidthEmu && "number" == typeof z.notesHeightEmu && z.notesWidthEmu > 0 && z.notesHeightEmu > 0 ? {
|
|
25010
|
+
width: Math.round(z.notesWidthEmu / 9525),
|
|
25011
|
+
height: Math.round(z.notesHeightEmu / 9525)
|
|
25012
|
+
} : void 0, M.value = z.hasDigitalSignatures && _ instanceof ArrayBuffer ? await async function(e) {
|
|
25005
25013
|
try {
|
|
25006
25014
|
const n = await o.default.loadAsync(e), r = new a.XMLParser({
|
|
25007
25015
|
ignoreAttributes: !1,
|
|
@@ -25683,7 +25691,7 @@ function XS(e) {
|
|
|
25683
25691
|
...WS(e)
|
|
25684
25692
|
}));
|
|
25685
25693
|
}
|
|
25686
|
-
function
|
|
25694
|
+
function zS() {
|
|
25687
25695
|
return {
|
|
25688
25696
|
toolbarSection: (0, r.ref)("home"),
|
|
25689
25697
|
newShapeType: (0, r.ref)("rect"),
|
|
@@ -25703,7 +25711,7 @@ function HS() {
|
|
|
25703
25711
|
eyedropperActive: (0, r.ref)(!1)
|
|
25704
25712
|
};
|
|
25705
25713
|
}
|
|
25706
|
-
function
|
|
25714
|
+
function HS(e) {
|
|
25707
25715
|
const { sections: t, slides: n, activeSlideIndex: o, pushHistory: a } = e;
|
|
25708
25716
|
return {
|
|
25709
25717
|
addSection: (e, r) => {
|
|
@@ -26231,7 +26239,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
26231
26239
|
}), Object.defineProperty(exports, "ARTISTIC_EFFECTS", {
|
|
26232
26240
|
enumerable: !0,
|
|
26233
26241
|
get: function() {
|
|
26234
|
-
return
|
|
26242
|
+
return zh;
|
|
26235
26243
|
}
|
|
26236
26244
|
}), Object.defineProperty(exports, "AUDIENCE_HASH", {
|
|
26237
26245
|
enumerable: !0,
|
|
@@ -26526,7 +26534,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
26526
26534
|
}), Object.defineProperty(exports, "SHAPE_QUICK_STYLES", {
|
|
26527
26535
|
enumerable: !0,
|
|
26528
26536
|
get: function() {
|
|
26529
|
-
return
|
|
26537
|
+
return Hh;
|
|
26530
26538
|
}
|
|
26531
26539
|
}), Object.defineProperty(exports, "SHORTCUT_CATALOG", {
|
|
26532
26540
|
enumerable: !0,
|
|
@@ -26646,12 +26654,12 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
26646
26654
|
}), Object.defineProperty(exports, "applyChartBuildReveal", {
|
|
26647
26655
|
enumerable: !0,
|
|
26648
26656
|
get: function() {
|
|
26649
|
-
return
|
|
26657
|
+
return Ha;
|
|
26650
26658
|
}
|
|
26651
26659
|
}), Object.defineProperty(exports, "applyDeleteColumn", {
|
|
26652
26660
|
enumerable: !0,
|
|
26653
26661
|
get: function() {
|
|
26654
|
-
return
|
|
26662
|
+
return z$;
|
|
26655
26663
|
}
|
|
26656
26664
|
}), Object.defineProperty(exports, "applyDeleteRow", {
|
|
26657
26665
|
enumerable: !0,
|
|
@@ -26681,7 +26689,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
26681
26689
|
}), Object.defineProperty(exports, "applyMergeSelected", {
|
|
26682
26690
|
enumerable: !0,
|
|
26683
26691
|
get: function() {
|
|
26684
|
-
return
|
|
26692
|
+
return H$;
|
|
26685
26693
|
}
|
|
26686
26694
|
}), Object.defineProperty(exports, "applyParagraphCommand", {
|
|
26687
26695
|
enumerable: !0,
|
|
@@ -27161,7 +27169,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27161
27169
|
}), Object.defineProperty(exports, "formatIsoDate", {
|
|
27162
27170
|
enumerable: !0,
|
|
27163
27171
|
get: function() {
|
|
27164
|
-
return
|
|
27172
|
+
return zf;
|
|
27165
27173
|
}
|
|
27166
27174
|
}), Object.defineProperty(exports, "formatMobileElapsed", {
|
|
27167
27175
|
enumerable: !0,
|
|
@@ -27186,7 +27194,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27186
27194
|
}), Object.defineProperty(exports, "formatVersionTimestamp", {
|
|
27187
27195
|
enumerable: !0,
|
|
27188
27196
|
get: function() {
|
|
27189
|
-
return
|
|
27197
|
+
return Hf;
|
|
27190
27198
|
}
|
|
27191
27199
|
}), Object.defineProperty(exports, "generateBroadcastRoomId", {
|
|
27192
27200
|
enumerable: !0,
|
|
@@ -27486,7 +27494,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27486
27494
|
}), Object.defineProperty(exports, "mapPresentationKey", {
|
|
27487
27495
|
enumerable: !0,
|
|
27488
27496
|
get: function() {
|
|
27489
|
-
return
|
|
27497
|
+
return zm;
|
|
27490
27498
|
}
|
|
27491
27499
|
}), Object.defineProperty(exports, "markerPath", {
|
|
27492
27500
|
enumerable: !0,
|
|
@@ -27621,7 +27629,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27621
27629
|
}), Object.defineProperty(exports, "px", {
|
|
27622
27630
|
enumerable: !0,
|
|
27623
27631
|
get: function() {
|
|
27624
|
-
return
|
|
27632
|
+
return Hs;
|
|
27625
27633
|
}
|
|
27626
27634
|
}), Object.defineProperty(exports, "readBackstageRecentFile", {
|
|
27627
27635
|
enumerable: !0,
|
|
@@ -27756,7 +27764,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27756
27764
|
}), Object.defineProperty(exports, "segmentsToEditorHtml", {
|
|
27757
27765
|
enumerable: !0,
|
|
27758
27766
|
get: function() {
|
|
27759
|
-
return
|
|
27767
|
+
return Hl;
|
|
27760
27768
|
}
|
|
27761
27769
|
}), Object.defineProperty(exports, "segmentsToPlainText", {
|
|
27762
27770
|
enumerable: !0,
|
|
@@ -27791,7 +27799,7 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27791
27799
|
}), Object.defineProperty(exports, "snapAngle", {
|
|
27792
27800
|
enumerable: !0,
|
|
27793
27801
|
get: function() {
|
|
27794
|
-
return
|
|
27802
|
+
return zs;
|
|
27795
27803
|
}
|
|
27796
27804
|
}), Object.defineProperty(exports, "startMediaAutoplay", {
|
|
27797
27805
|
enumerable: !0,
|
|
@@ -27946,12 +27954,12 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
27946
27954
|
}), Object.defineProperty(exports, "useElementDrag", {
|
|
27947
27955
|
enumerable: !0,
|
|
27948
27956
|
get: function() {
|
|
27949
|
-
return
|
|
27957
|
+
return zk;
|
|
27950
27958
|
}
|
|
27951
27959
|
}), Object.defineProperty(exports, "useElementInsertion", {
|
|
27952
27960
|
enumerable: !0,
|
|
27953
27961
|
get: function() {
|
|
27954
|
-
return
|
|
27962
|
+
return Hk;
|
|
27955
27963
|
}
|
|
27956
27964
|
}), Object.defineProperty(exports, "useEmbeddedFonts", {
|
|
27957
27965
|
enumerable: !0,
|
|
@@ -28096,12 +28104,12 @@ Object.defineProperty(exports, "ACTION_BUTTON_PRESETS", {
|
|
|
28096
28104
|
}), Object.defineProperty(exports, "useRibbonUiState", {
|
|
28097
28105
|
enumerable: !0,
|
|
28098
28106
|
get: function() {
|
|
28099
|
-
return
|
|
28107
|
+
return zS;
|
|
28100
28108
|
}
|
|
28101
28109
|
}), Object.defineProperty(exports, "useSectionOperations", {
|
|
28102
28110
|
enumerable: !0,
|
|
28103
28111
|
get: function() {
|
|
28104
|
-
return
|
|
28112
|
+
return HS;
|
|
28105
28113
|
}
|
|
28106
28114
|
}), Object.defineProperty(exports, "useSelectionPaneWiring", {
|
|
28107
28115
|
enumerable: !0,
|