pptx-vue-viewer 4.36.2 → 4.36.3
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 +7 -0
- package/dist/{AiChatPanel-BeOTgP5C.cjs → AiChatPanel-Bn-iDAZn.cjs} +1 -1
- package/dist/AiChatPanel-Bn-iDAZn.cjs.br +0 -0
- package/dist/AiChatPanel-Bn-iDAZn.cjs.gz +0 -0
- package/dist/{AiChatPanel-t6dL7YP4.js → AiChatPanel-EKhjFMJ6.js} +2 -2
- package/dist/AiChatPanel-EKhjFMJ6.js.br +0 -0
- package/dist/AiChatPanel-EKhjFMJ6.js.gz +0 -0
- package/dist/i18n/de.cjs +76 -1
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +76 -1
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +76 -1
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +76 -1
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +76 -1
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +76 -1
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +76 -1
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +76 -1
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.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 +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +11 -11
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-TAbf4Ixp.cjs → useViewerSettingsDialog-B6Kgdt-N.cjs} +437 -423
- package/dist/useViewerSettingsDialog-B6Kgdt-N.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-B6Kgdt-N.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js → useViewerSettingsDialog-DC1BK_TE.js} +326 -317
- package/dist/useViewerSettingsDialog-DC1BK_TE.js.br +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js.gz → useViewerSettingsDialog-DC1BK_TE.js.gz} +0 -0
- 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 +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-SxxyChcY.js → viewer-B9i-UUPm.js} +9660 -9664
- package/dist/viewer-B9i-UUPm.js.br +0 -0
- package/dist/viewer-B9i-UUPm.js.gz +0 -0
- package/dist/{viewer-CDJjPn4g.cjs → viewer-DLYseLiI.cjs} +13 -17
- package/dist/viewer-DLYseLiI.cjs.br +0 -0
- package/dist/viewer-DLYseLiI.cjs.gz +0 -0
- package/dist/{y-webrtc-KiXq-fxq.cjs → y-webrtc-BLNwChNj.cjs} +1 -1
- package/dist/y-webrtc-BLNwChNj.cjs.br +0 -0
- package/dist/{y-webrtc-KiXq-fxq.cjs.gz → y-webrtc-BLNwChNj.cjs.gz} +0 -0
- package/dist/{y-webrtc-swexTCT2.js → y-webrtc-moBg1ISb.js} +74 -74
- package/dist/y-webrtc-moBg1ISb.js.br +0 -0
- package/dist/y-webrtc-moBg1ISb.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-BeOTgP5C.cjs.br +0 -0
- package/dist/AiChatPanel-BeOTgP5C.cjs.gz +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.br +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.gz +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-r1bUiLdb.js.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.gz +0 -0
- package/dist/viewer-SxxyChcY.js.br +0 -0
- package/dist/viewer-SxxyChcY.js.gz +0 -0
- package/dist/y-webrtc-KiXq-fxq.cjs.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.gz +0 -0
|
@@ -5635,7 +5635,15 @@ function _g(e, t) {
|
|
|
5635
5635
|
};
|
|
5636
5636
|
}
|
|
5637
5637
|
var Cg = Symbol("pptx-vue-table-theme");
|
|
5638
|
-
|
|
5638
|
+
function Pg(e, t) {
|
|
5639
|
+
return {
|
|
5640
|
+
colorScheme: e?.colorScheme,
|
|
5641
|
+
tableStyleMap: t,
|
|
5642
|
+
fontScheme: e?.fontScheme,
|
|
5643
|
+
formatScheme: e?.formatScheme
|
|
5644
|
+
};
|
|
5645
|
+
}
|
|
5646
|
+
var Tg = Av(ls({
|
|
5639
5647
|
__name: "TableResizeOverlay",
|
|
5640
5648
|
props: {
|
|
5641
5649
|
columnWidths: {},
|
|
@@ -5746,23 +5754,23 @@ var Pg = Av(ls({
|
|
|
5746
5754
|
})
|
|
5747
5755
|
}, [...n[1] || (n[1] = [ts("div", { class: "my-auto h-px w-full bg-transparent transition-colors group-hover:bg-blue-400/60" }, null, -1)])], 4))), 128))], 4))), 128))], 64)) : Qr("", !0)], 544));
|
|
5748
5756
|
}
|
|
5749
|
-
}), [["__scopeId", "data-v-288ab33e"]]),
|
|
5757
|
+
}), [["__scopeId", "data-v-288ab33e"]]), Dg = ["data-element-id", "data-pptx-element"], Mg = { key: 0 }, Og = [
|
|
5750
5758
|
"colspan",
|
|
5751
5759
|
"rowspan",
|
|
5752
5760
|
"onClick",
|
|
5753
5761
|
"onDblclick"
|
|
5754
|
-
],
|
|
5762
|
+
], Lg = {
|
|
5755
5763
|
key: 0,
|
|
5756
5764
|
class: "pptx-vue-table__diag",
|
|
5757
5765
|
"aria-hidden": "true",
|
|
5758
5766
|
preserveAspectRatio: "none"
|
|
5759
|
-
},
|
|
5767
|
+
}, zg = ["stroke", "stroke-width"], Ag = ["stroke", "stroke-width"], Fg = { key: 0 }, Ng = {
|
|
5760
5768
|
key: 0,
|
|
5761
5769
|
class: "pptx-vue-table__para-break"
|
|
5762
|
-
},
|
|
5770
|
+
}, Rg = { key: 1 }, $g = {
|
|
5763
5771
|
key: 4,
|
|
5764
5772
|
class: "pptx-vue-table__text"
|
|
5765
|
-
},
|
|
5773
|
+
}, Bg = Av(ls({
|
|
5766
5774
|
__name: "TableRenderer",
|
|
5767
5775
|
props: {
|
|
5768
5776
|
element: {},
|
|
@@ -5793,10 +5801,11 @@ var Pg = Av(ls({
|
|
|
5793
5801
|
if (!e) return [];
|
|
5794
5802
|
const n = t.element.id, a = u.value, l = c.value, i = (s = o) ? Ms(s) : void 0;
|
|
5795
5803
|
var s;
|
|
5796
|
-
const d = t.colorScheme ?? i?.colorScheme, p = t.tableStyleMap ?? i?.tableStyleMap, v = i?.fontScheme, m = d || p || v ? {
|
|
5804
|
+
const d = t.colorScheme ?? i?.colorScheme, p = t.tableStyleMap ?? i?.tableStyleMap, v = i?.fontScheme, m = i?.formatScheme, f = d || p || v || m ? {
|
|
5797
5805
|
colorScheme: d,
|
|
5798
5806
|
tableStyleMap: p,
|
|
5799
|
-
fontScheme: v
|
|
5807
|
+
fontScheme: v,
|
|
5808
|
+
formatScheme: m
|
|
5800
5809
|
} : void 0;
|
|
5801
5810
|
return e.rows.map((t, o) => {
|
|
5802
5811
|
const i = [];
|
|
@@ -5807,7 +5816,7 @@ var Pg = Av(ls({
|
|
|
5807
5816
|
cellIndex: r,
|
|
5808
5817
|
rowCount: a,
|
|
5809
5818
|
columnCount: l
|
|
5810
|
-
},
|
|
5819
|
+
}, f), d = t.style ? function(e) {
|
|
5811
5820
|
return yt(e);
|
|
5812
5821
|
}(t.style) : null, p = t, v = p.textRuns && p.textRuns.length > 0 ? p.textRuns : null;
|
|
5813
5822
|
i.push({
|
|
@@ -5826,7 +5835,7 @@ var Pg = Av(ls({
|
|
|
5826
5835
|
cellIndex: r,
|
|
5827
5836
|
rowCount: a,
|
|
5828
5837
|
columnCount: l
|
|
5829
|
-
},
|
|
5838
|
+
}, f)
|
|
5830
5839
|
});
|
|
5831
5840
|
}), {
|
|
5832
5841
|
key: `${n}-row-${o}`,
|
|
@@ -5903,7 +5912,7 @@ var Pg = Av(ls({
|
|
|
5903
5912
|
default: Rs(() => [ns(Ts(e.textStyleOverrideCss), 1)]),
|
|
5904
5913
|
_: 1
|
|
5905
5914
|
})) : Qr("", !0),
|
|
5906
|
-
as(
|
|
5915
|
+
as(Tg, {
|
|
5907
5916
|
"column-widths": r.value.columnWidths,
|
|
5908
5917
|
rows: r.value.rows,
|
|
5909
5918
|
editable: E.value,
|
|
@@ -5913,7 +5922,7 @@ var Pg = Av(ls({
|
|
|
5913
5922
|
default: Rs(() => [ts("table", {
|
|
5914
5923
|
class: "pptx-vue-table__grid",
|
|
5915
5924
|
style: ms(s.value)
|
|
5916
|
-
}, [d.value.length > 0 ? (ks(), es("colgroup",
|
|
5925
|
+
}, [d.value.length > 0 ? (ks(), es("colgroup", Mg, [(ks(!0), es(Yr, null, Es(d.value, (t, n) => (ks(), es("col", {
|
|
5917
5926
|
key: `${e.element.id}-col-${n}`,
|
|
5918
5927
|
style: ms({ width: t })
|
|
5919
5928
|
}, null, 4))), 128))])) : Qr("", !0), ts("tbody", null, [(ks(!0), es(Yr, null, Es(p.value, (e) => (ks(), es("tr", {
|
|
@@ -5943,7 +5952,7 @@ var Pg = Av(ls({
|
|
|
5943
5952
|
E.value && (e.stopPropagation(), y.selectCell(t.rowIndex, t.colIndex, e.shiftKey));
|
|
5944
5953
|
}(t, e),
|
|
5945
5954
|
onDblclick: (t) => _(t, e)
|
|
5946
|
-
}, [e.diagonals ? (ks(), es("svg",
|
|
5955
|
+
}, [e.diagonals ? (ks(), es("svg", Lg, [e.diagonals.diagDownColor && e.diagonals.diagDownWidth ? (ks(), es("line", {
|
|
5947
5956
|
key: 0,
|
|
5948
5957
|
x1: "0",
|
|
5949
5958
|
y1: "0",
|
|
@@ -5952,7 +5961,7 @@ var Pg = Av(ls({
|
|
|
5952
5961
|
stroke: e.diagonals.diagDownColor,
|
|
5953
5962
|
"stroke-width": e.diagonals.diagDownWidth,
|
|
5954
5963
|
style: ms({ strokeWidth: Os(Ki)(e.diagonals.diagDownWidth) })
|
|
5955
|
-
}, null, 12,
|
|
5964
|
+
}, null, 12, zg)) : Qr("", !0), e.diagonals.diagUpColor && e.diagonals.diagUpWidth ? (ks(), es("line", {
|
|
5956
5965
|
key: 1,
|
|
5957
5966
|
x1: "0",
|
|
5958
5967
|
y1: "100%",
|
|
@@ -5961,7 +5970,7 @@ var Pg = Av(ls({
|
|
|
5961
5970
|
stroke: e.diagonals.diagUpColor,
|
|
5962
5971
|
"stroke-width": e.diagonals.diagUpWidth,
|
|
5963
5972
|
style: ms({ strokeWidth: Os(Ki)(e.diagonals.diagUpWidth) })
|
|
5964
|
-
}, null, 12,
|
|
5973
|
+
}, null, 12, Ag)) : Qr("", !0)])) : Qr("", !0), I(e) ? $s((ks(), es("input", {
|
|
5965
5974
|
key: 1,
|
|
5966
5975
|
ref_for: !0,
|
|
5967
5976
|
ref: S,
|
|
@@ -5981,25 +5990,25 @@ var Pg = Av(ls({
|
|
|
5981
5990
|
display: "block",
|
|
5982
5991
|
...t.css
|
|
5983
5992
|
})
|
|
5984
|
-
}, [(ks(!0), es(Yr, null, Es(t.runs, (t, a) => (ks(), es(Yr, { key: `${e.key}-para-${n}-run-${a}` }, [t.isLineBreak ? (ks(), es("br",
|
|
5993
|
+
}, [(ks(!0), es(Yr, null, Es(t.runs, (t, a) => (ks(), es(Yr, { key: `${e.key}-para-${n}-run-${a}` }, [t.isLineBreak ? (ks(), es("br", Fg)) : (ks(), es("span", {
|
|
5985
5994
|
key: 1,
|
|
5986
5995
|
class: "pptx-vue-table__run",
|
|
5987
5996
|
style: ms(m(t))
|
|
5988
|
-
}, Ts(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? (ks(!0), es(Yr, { key: 3 }, Es(e.textRuns, (t, n) => (ks(), es(Yr, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? (ks(), es("div",
|
|
5997
|
+
}, Ts(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? (ks(!0), es(Yr, { key: 3 }, Es(e.textRuns, (t, n) => (ks(), es(Yr, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? (ks(), es("div", Ng)) : t.isLineBreak ? (ks(), es("br", Rg)) : (ks(), es("span", {
|
|
5989
5998
|
key: 2,
|
|
5990
5999
|
class: "pptx-vue-table__run",
|
|
5991
6000
|
style: ms(m(t))
|
|
5992
|
-
}, Ts(t.text), 5))], 64))), 128)) : (ks(), es("span",
|
|
6001
|
+
}, Ts(t.text), 5))], 64))), 128)) : (ks(), es("span", $g, Ts(e.text), 1))], 46, Og))), 128))], 4))), 128))])], 4)]),
|
|
5993
6002
|
_: 1
|
|
5994
6003
|
}, 8, [
|
|
5995
6004
|
"column-widths",
|
|
5996
6005
|
"rows",
|
|
5997
6006
|
"editable"
|
|
5998
6007
|
])
|
|
5999
|
-
], 12,
|
|
6008
|
+
], 12, Dg)) : Qr("", !0);
|
|
6000
6009
|
}
|
|
6001
|
-
}), [["__scopeId", "data-v-
|
|
6002
|
-
var
|
|
6010
|
+
}), [["__scopeId", "data-v-813c8811"]]), Wg = new y(), Ug = Ss(0), Vg = dn(Wg);
|
|
6011
|
+
var Hg = ["d", "fill"], jg = [
|
|
6003
6012
|
"x",
|
|
6004
6013
|
"y",
|
|
6005
6014
|
"transform",
|
|
@@ -6009,7 +6018,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6009
6018
|
"font-style",
|
|
6010
6019
|
"font-family",
|
|
6011
6020
|
"text-decoration"
|
|
6012
|
-
],
|
|
6021
|
+
], Gg = ["data-glyph-slices"], qg = ["id"], Kg = ["x", "width"], Yg = [
|
|
6013
6022
|
"x",
|
|
6014
6023
|
"y",
|
|
6015
6024
|
"transform",
|
|
@@ -6020,7 +6029,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6020
6029
|
"font-style",
|
|
6021
6030
|
"font-family",
|
|
6022
6031
|
"text-decoration"
|
|
6023
|
-
],
|
|
6032
|
+
], Xg = ls({
|
|
6024
6033
|
__name: "WordArtEnvelopeGlyph",
|
|
6025
6034
|
props: {
|
|
6026
6035
|
glyph: {},
|
|
@@ -6036,7 +6045,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6036
6045
|
key: 0,
|
|
6037
6046
|
d: e.glyph.outlinePath,
|
|
6038
6047
|
fill: e.tspan.fill
|
|
6039
|
-
}, null, 8,
|
|
6048
|
+
}, null, 8, Hg)) : !e.glyph.slices || e.glyph.slices.length <= 1 ? (ks(), es("text", {
|
|
6040
6049
|
key: 1,
|
|
6041
6050
|
x: e.glyph.x,
|
|
6042
6051
|
y: e.glyph.y,
|
|
@@ -6047,7 +6056,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6047
6056
|
"font-style": e.tspan.fontStyle,
|
|
6048
6057
|
"font-family": e.tspan.fontFamily,
|
|
6049
6058
|
"text-decoration": e.tspan.textDecoration
|
|
6050
|
-
}, Ts(e.glyph.char), 9,
|
|
6059
|
+
}, Ts(e.glyph.char), 9, jg)) : (ks(), es("g", {
|
|
6051
6060
|
key: 2,
|
|
6052
6061
|
"data-glyph-slices": e.glyph.slices.length
|
|
6053
6062
|
}, [(ks(!0), es(Yr, null, Es(e.glyph.slices, (e, t) => (ks(), es("clipPath", {
|
|
@@ -6059,7 +6068,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6059
6068
|
y: "-100000",
|
|
6060
6069
|
width: Math.max(0, e.clipX1 - e.clipX0),
|
|
6061
6070
|
height: "200000"
|
|
6062
|
-
}, null, 8,
|
|
6071
|
+
}, null, 8, Kg)], 8, qg))), 128)), (ks(!0), es(Yr, null, Es(e.glyph.slices, (t, a) => (ks(), es("text", {
|
|
6063
6072
|
key: `txt-${a}`,
|
|
6064
6073
|
x: e.glyph.x,
|
|
6065
6074
|
y: e.glyph.y,
|
|
@@ -6071,34 +6080,34 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6071
6080
|
"font-style": e.tspan.fontStyle,
|
|
6072
6081
|
"font-family": e.tspan.fontFamily,
|
|
6073
6082
|
"text-decoration": e.tspan.textDecoration
|
|
6074
|
-
}, Ts(e.glyph.char), 9,
|
|
6083
|
+
}, Ts(e.glyph.char), 9, Yg))), 128))], 8, Gg));
|
|
6075
6084
|
}
|
|
6076
|
-
}),
|
|
6085
|
+
}), Zg = [
|
|
6077
6086
|
"width",
|
|
6078
6087
|
"height",
|
|
6079
6088
|
"viewBox"
|
|
6080
|
-
],
|
|
6089
|
+
], Jg = [
|
|
6081
6090
|
"width",
|
|
6082
6091
|
"height",
|
|
6083
6092
|
"viewBox"
|
|
6084
|
-
],
|
|
6093
|
+
], Qg = ["id", "d"], ex = [
|
|
6085
6094
|
"font-size",
|
|
6086
6095
|
"font-family",
|
|
6087
6096
|
"fill",
|
|
6088
6097
|
"font-weight",
|
|
6089
6098
|
"font-style"
|
|
6090
|
-
],
|
|
6099
|
+
], tx = [
|
|
6091
6100
|
"href",
|
|
6092
6101
|
"startOffset",
|
|
6093
6102
|
"text-anchor"
|
|
6094
|
-
],
|
|
6103
|
+
], nx = [
|
|
6095
6104
|
"fill",
|
|
6096
6105
|
"font-size",
|
|
6097
6106
|
"font-weight",
|
|
6098
6107
|
"font-style",
|
|
6099
6108
|
"font-family",
|
|
6100
6109
|
"text-decoration"
|
|
6101
|
-
],
|
|
6110
|
+
], ax = "#111827", lx = Av(ls({
|
|
6102
6111
|
__name: "WordArtText",
|
|
6103
6112
|
props: {
|
|
6104
6113
|
element: {},
|
|
@@ -6134,11 +6143,11 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6134
6143
|
textAnchor: "start"
|
|
6135
6144
|
};
|
|
6136
6145
|
}
|
|
6137
|
-
}), m = Zr(() => n.value?.textStyle?.fontSize ?? 24), f = Zr(() => n.value?.textStyle?.fontFamily ? (0, lu.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : i), h = Zr(() => to(n.value?.textStyle?.color,
|
|
6146
|
+
}), m = Zr(() => n.value?.textStyle?.fontSize ?? 24), f = Zr(() => n.value?.textStyle?.fontFamily ? (0, lu.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : i), h = Zr(() => to(n.value?.textStyle?.color, ax)), y = Zr(() => n.value?.textStyle?.bold ? 700 : 400), g = Zr(() => n.value?.textStyle?.italic ? "italic" : "normal");
|
|
6138
6147
|
function x(e) {
|
|
6139
6148
|
const t = e.style ?? {}, a = [];
|
|
6140
6149
|
(t.underline || t.hyperlink) && a.push("underline"), t.strikethrough && a.push("line-through");
|
|
6141
|
-
const l = n.value?.textStyle, o = t.hyperlink ? to(t.color ?? l?.color, "#0563C1") : to(t.color ?? l?.color,
|
|
6150
|
+
const l = n.value?.textStyle, o = t.hyperlink ? to(t.color ?? l?.color, "#0563C1") : to(t.color ?? l?.color, ax), r = t.fontFamily ?? l?.fontFamily;
|
|
6142
6151
|
return {
|
|
6143
6152
|
fill: o,
|
|
6144
6153
|
fontSize: t.fontSize ?? l?.fontSize ?? 24,
|
|
@@ -6166,12 +6175,12 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6166
6175
|
useGlyphEnvelope: c,
|
|
6167
6176
|
glyphLines: Zr(() => {
|
|
6168
6177
|
if (!c.value) return [];
|
|
6169
|
-
|
|
6178
|
+
Ug.value;
|
|
6170
6179
|
const e = Re(n.value, a.value.map((e) => e.segments.map((e, t) => ({
|
|
6171
6180
|
text: e.text,
|
|
6172
6181
|
font: d(e),
|
|
6173
6182
|
segmentIndex: t
|
|
6174
|
-
}))), l.value, o.value, t.value?.textStyle?.align, i.value, r.value,
|
|
6183
|
+
}))), l.value, o.value, t.value?.textStyle?.align, i.value, r.value, Vg);
|
|
6175
6184
|
return a.value.map((t, n) => ({
|
|
6176
6185
|
lineIndex: n,
|
|
6177
6186
|
glyphs: e[n] ?? [],
|
|
@@ -6200,7 +6209,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6200
6209
|
"aria-hidden": "true",
|
|
6201
6210
|
style: ms({ zIndex: e.zIndex })
|
|
6202
6211
|
}, [(ks(!0), es(Yr, null, Es(Os(b), (e) => (ks(), es(Yr, { key: `line-${e.lineIndex}` }, [(ks(!0), es(Yr, null, Es(e.glyphs, (t, n) => {
|
|
6203
|
-
return ks(), Jr(
|
|
6212
|
+
return ks(), Jr(Xg, {
|
|
6204
6213
|
key: `g-${e.lineIndex}-${n}`,
|
|
6205
6214
|
glyph: t,
|
|
6206
6215
|
tspan: (o = t, i = e.segments, x(i[o.segmentIndex])),
|
|
@@ -6211,7 +6220,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6211
6220
|
"clip-id-prefix"
|
|
6212
6221
|
]);
|
|
6213
6222
|
var a, l, o, i;
|
|
6214
|
-
}), 128))], 64))), 128))], 12,
|
|
6223
|
+
}), 128))], 64))), 128))], 12, Zg)) : l.value && u.value.length > 0 ? (ks(), es("svg", {
|
|
6215
6224
|
key: 1,
|
|
6216
6225
|
class: "pptx-vue-wordart",
|
|
6217
6226
|
width: o.value,
|
|
@@ -6225,7 +6234,7 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6225
6234
|
key: `def-${t}`,
|
|
6226
6235
|
d: k(t),
|
|
6227
6236
|
fill: "none"
|
|
6228
|
-
}, null, 8,
|
|
6237
|
+
}, null, 8, Qg))), 128))]), (ks(!0), es(Yr, null, Es(u.value, (e, t) => (ks(), es("text", {
|
|
6229
6238
|
key: `txt-${t}`,
|
|
6230
6239
|
"font-size": m.value,
|
|
6231
6240
|
"font-family": f.value,
|
|
@@ -6244,31 +6253,31 @@ var Vg = ["d", "fill"], Hg = [
|
|
|
6244
6253
|
"font-style": x(e).fontStyle,
|
|
6245
6254
|
"font-family": x(e).fontFamily,
|
|
6246
6255
|
"text-decoration": x(e).textDecoration
|
|
6247
|
-
}, Ts(e.text), 9,
|
|
6256
|
+
}, Ts(e.text), 9, nx))), 128))], 8, tx)], 8, ex))), 128))], 12, Jg)) : Qr("", !0);
|
|
6248
6257
|
}
|
|
6249
|
-
}), [["__scopeId", "data-v-51c1eadc"]]),
|
|
6250
|
-
function
|
|
6251
|
-
ws(
|
|
6258
|
+
}), [["__scopeId", "data-v-51c1eadc"]]), ox = Symbol("pptx-vue-zoom-navigation");
|
|
6259
|
+
function ix(e) {
|
|
6260
|
+
ws(ox, e);
|
|
6252
6261
|
}
|
|
6253
|
-
var
|
|
6254
|
-
function
|
|
6262
|
+
var rx = Symbol("pptx-vue-zoom-target");
|
|
6263
|
+
function sx(e) {
|
|
6255
6264
|
if (e) return {
|
|
6256
6265
|
backgroundColor: e.backgroundColor,
|
|
6257
6266
|
slideNumber: e.slideNumber,
|
|
6258
6267
|
sectionName: e.sectionName
|
|
6259
6268
|
};
|
|
6260
6269
|
}
|
|
6261
|
-
function
|
|
6262
|
-
ws(
|
|
6270
|
+
function ux(e) {
|
|
6271
|
+
ws(rx, e);
|
|
6263
6272
|
}
|
|
6264
|
-
var
|
|
6273
|
+
var cx = [
|
|
6265
6274
|
"data-element-id",
|
|
6266
6275
|
"data-zoom-type",
|
|
6267
6276
|
"data-zoom-target",
|
|
6268
6277
|
"aria-label",
|
|
6269
6278
|
"role",
|
|
6270
6279
|
"tabindex"
|
|
6271
|
-
],
|
|
6280
|
+
], dx = [
|
|
6272
6281
|
"data-zoom-target",
|
|
6273
6282
|
"data-section-id",
|
|
6274
6283
|
"aria-label",
|
|
@@ -6276,13 +6285,13 @@ var ux = [
|
|
|
6276
6285
|
"tabindex",
|
|
6277
6286
|
"onClick",
|
|
6278
6287
|
"onKeydown"
|
|
6279
|
-
],
|
|
6288
|
+
], px = ["src", "alt"], vx = {
|
|
6280
6289
|
key: 2,
|
|
6281
6290
|
class: "pptx-vue-zoom-tile"
|
|
6282
|
-
},
|
|
6291
|
+
}, mx = ["src", "alt"], fx = { class: "pptx-vue-zoom-slide-label" }, hx = {
|
|
6283
6292
|
key: 0,
|
|
6284
6293
|
class: "pptx-vue-zoom-section-label"
|
|
6285
|
-
},
|
|
6294
|
+
}, yx = { class: "pptx-vue-zoom-badge" }, xx = Av(ls({
|
|
6286
6295
|
__name: "ZoomRenderer",
|
|
6287
6296
|
props: {
|
|
6288
6297
|
element: {},
|
|
@@ -6292,10 +6301,10 @@ var ux = [
|
|
|
6292
6301
|
presenting: { type: Boolean }
|
|
6293
6302
|
},
|
|
6294
6303
|
setup(e) {
|
|
6295
|
-
const t = e, { t: n } = Dv(), a = Zr(() => jv(t.element, t.zIndex)), l = Yv(() => t.element, () => t.interactive, () => t.presenting), o = Zr(() => (0, lu.isZoomElement)(t.element) ? t.element : void 0), i = Zr(() => o.value?.imageData), r = Zr(() => o.value?.targetSlideIndex ?? 0), s = Zr(() => o.value?.zoomType ?? "slide"), u = Zr(() => o.value?.targetSectionId), c = Zr(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), d = us(
|
|
6304
|
+
const t = e, { t: n } = Dv(), a = Zr(() => jv(t.element, t.zIndex)), l = Yv(() => t.element, () => t.interactive, () => t.presenting), o = Zr(() => (0, lu.isZoomElement)(t.element) ? t.element : void 0), i = Zr(() => o.value?.imageData), r = Zr(() => o.value?.targetSlideIndex ?? 0), s = Zr(() => o.value?.zoomType ?? "slide"), u = Zr(() => o.value?.targetSectionId), c = Zr(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), d = us(rx, void 0), p = Zr(() => d?.(r.value)), v = Zr(() => o.value ? lt(o.value, d, (e, t) => n(e, t ?? {})) : void 0), m = Zr(() => ({ backgroundColor: p.value?.backgroundColor ?? "#f0f0f0" })), f = Zr(() => void 0 !== p.value?.slideNumber ? n("pptx.notes.slideN", { n: p.value.slideNumber }) : n("pptx.notes.slideN", { n: r.value + 1 })), h = Zr(() => p.value?.sectionName ?? u.value), y = Zr(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
|
|
6296
6305
|
number: r.value + 1,
|
|
6297
6306
|
section: u.value
|
|
6298
|
-
}) : n("pptx.zoom.ariaLabel", { number: r.value + 1 })), g = us(
|
|
6307
|
+
}) : n("pptx.zoom.ariaLabel", { number: r.value + 1 })), g = us(ox, void 0), x = Zr(() => Boolean(g && o.value));
|
|
6299
6308
|
function k() {
|
|
6300
6309
|
if (!g || !o.value) return;
|
|
6301
6310
|
const e = Ni(o.value);
|
|
@@ -6354,19 +6363,19 @@ var ux = [
|
|
|
6354
6363
|
src: e.imageSrc,
|
|
6355
6364
|
alt: e.ariaLabel,
|
|
6356
6365
|
draggable: "false"
|
|
6357
|
-
}, null, 8,
|
|
6366
|
+
}, null, 8, px)) : (ks(), es(Yr, { key: 1 }, [ts("div", null, Ts(e.label), 1), ts("div", null, Ts(e.slideLabel), 1)], 64))], 44, dx))), 128)), o[0] || (o[0] = ts("div", { class: "pptx-vue-zoom-badge" }, "Summary Zoom", -1))], 4)) : (ks(), es("div", vx, [i.value ? (ks(), es("img", {
|
|
6358
6367
|
key: 0,
|
|
6359
6368
|
src: i.value,
|
|
6360
6369
|
alt: Os(n)("pptx.zoom.slidePreviewAlt", { number: r.value + 1 }),
|
|
6361
6370
|
class: "pptx-vue-zoom-img",
|
|
6362
6371
|
draggable: "false"
|
|
6363
|
-
}, null, 8,
|
|
6372
|
+
}, null, 8, mx)) : (ks(), es("div", {
|
|
6364
6373
|
key: 1,
|
|
6365
6374
|
class: "pptx-vue-zoom-thumbnail",
|
|
6366
6375
|
style: ms(m.value)
|
|
6367
|
-
}, [ts("div",
|
|
6376
|
+
}, [ts("div", fx, Ts(f.value), 1), h.value ? (ks(), es("div", hx, Ts(h.value), 1)) : Qr("", !0)], 4)), ts("div", yx, Ts(c.value), 1)]))], 46, cx));
|
|
6368
6377
|
}
|
|
6369
|
-
}), [["__scopeId", "data-v-12ce2987"]]),
|
|
6378
|
+
}), [["__scopeId", "data-v-12ce2987"]]), kx = ["data-element-id", "data-pptx-element"], wx = ["data-element-id", "data-pptx-element"], bx = ["data-anim-id", "data-pptx-animation-layer"], Sx = ["data-element-id", "data-pptx-element"], Ex = { class: "pptx-vue-placeholder" }, Ix = ls({
|
|
6370
6379
|
__name: "ElementRenderer",
|
|
6371
6380
|
props: {
|
|
6372
6381
|
element: {},
|
|
@@ -6449,7 +6458,7 @@ var ux = [
|
|
|
6449
6458
|
"parent-group-fill",
|
|
6450
6459
|
"inline-editing-element-id"
|
|
6451
6460
|
]))), 128))
|
|
6452
|
-
], 14,
|
|
6461
|
+
], 14, kx)) : g.value ? (ks(), Jr(zh, {
|
|
6453
6462
|
key: 2,
|
|
6454
6463
|
element: e.element,
|
|
6455
6464
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6496,7 +6505,7 @@ var ux = [
|
|
|
6496
6505
|
"animation-state",
|
|
6497
6506
|
"text-style-override-css",
|
|
6498
6507
|
"data-pptx-element"
|
|
6499
|
-
])) : "table" === e.element.type ? (ks(), Jr(
|
|
6508
|
+
])) : "table" === e.element.type ? (ks(), Jr(Bg, {
|
|
6500
6509
|
key: 5,
|
|
6501
6510
|
element: e.element,
|
|
6502
6511
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6632,7 +6641,7 @@ var ux = [
|
|
|
6632
6641
|
"interactive",
|
|
6633
6642
|
"presenting",
|
|
6634
6643
|
"data-pptx-element"
|
|
6635
|
-
])) : "zoom" === e.element.type ? (ks(), Jr(
|
|
6644
|
+
])) : "zoom" === e.element.type ? (ks(), Jr(xx, {
|
|
6636
6645
|
key: 13,
|
|
6637
6646
|
element: e.element,
|
|
6638
6647
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6694,8 +6703,8 @@ var ux = [
|
|
|
6694
6703
|
data: h.value
|
|
6695
6704
|
}, null, 8, ["data"])) : Qr("", !0),
|
|
6696
6705
|
as(am, { element: e.element }, null, 8, ["element"])
|
|
6697
|
-
], 12,
|
|
6698
|
-
T.value ? Qr("", !0) : (ks(), es(Yr, { key: 2 }, [k.value ? (ks(), Jr(
|
|
6706
|
+
], 12, bx),
|
|
6707
|
+
T.value ? Qr("", !0) : (ks(), es(Yr, { key: 2 }, [k.value ? (ks(), Jr(lx, {
|
|
6699
6708
|
key: 0,
|
|
6700
6709
|
element: e.element,
|
|
6701
6710
|
"z-index": 0
|
|
@@ -6715,21 +6724,21 @@ var ux = [
|
|
|
6715
6724
|
class: "pptx-vue-text pptx-vue-placeholder-prompt",
|
|
6716
6725
|
style: ms([f.value, E.value.style])
|
|
6717
6726
|
}, Ts(E.value.text), 5)) : Qr("", !0)], 64))
|
|
6718
|
-
], 14,
|
|
6727
|
+
], 14, wx)) : (ks(), es("div", {
|
|
6719
6728
|
key: 16,
|
|
6720
6729
|
class: vs(["pptx-vue-element pptx-vue-unsupported", I.value]),
|
|
6721
6730
|
style: ms([c.value, C.value]),
|
|
6722
6731
|
"data-element-id": e.element.id,
|
|
6723
6732
|
"data-pptx-element": _.value
|
|
6724
|
-
}, [ts("div",
|
|
6733
|
+
}, [ts("div", Ex, Ts(e.element.type), 1)], 14, Sx)) : (ks(), es(Yr, { key: 0 }, [], 64));
|
|
6725
6734
|
};
|
|
6726
6735
|
}
|
|
6727
|
-
}),
|
|
6736
|
+
}), _x = [
|
|
6728
6737
|
"role",
|
|
6729
6738
|
"aria-roledescription",
|
|
6730
6739
|
"aria-label",
|
|
6731
6740
|
"aria-hidden"
|
|
6732
|
-
],
|
|
6741
|
+
], Cx = ls({
|
|
6733
6742
|
__name: "SlideStage",
|
|
6734
6743
|
props: {
|
|
6735
6744
|
slide: {},
|
|
@@ -6793,7 +6802,7 @@ var ux = [
|
|
|
6793
6802
|
"aria-label": e.presenting ? Os(n)("pptx.canvas.slide") : void 0,
|
|
6794
6803
|
"aria-hidden": e.interactive || e.presenting ? void 0 : "true"
|
|
6795
6804
|
}, [
|
|
6796
|
-
(ks(!0), es(Yr, null, Es(l.value, (t, n) => (ks(), Jr(
|
|
6805
|
+
(ks(!0), es(Yr, null, Es(l.value, (t, n) => (ks(), Jr(Ix, {
|
|
6797
6806
|
key: t.id,
|
|
6798
6807
|
element: t,
|
|
6799
6808
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6811,7 +6820,7 @@ var ux = [
|
|
|
6811
6820
|
"template-editing",
|
|
6812
6821
|
"inline-editing-element-id"
|
|
6813
6822
|
]))), 128)),
|
|
6814
|
-
(ks(!0), es(Yr, null, Es(e.slide?.elements ?? [], (t, n) => (ks(), Jr(
|
|
6823
|
+
(ks(!0), es(Yr, null, Es(e.slide?.elements ?? [], (t, n) => (ks(), Jr(Ix, {
|
|
6815
6824
|
key: t.id,
|
|
6816
6825
|
element: t,
|
|
6817
6826
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6828,10 +6837,10 @@ var ux = [
|
|
|
6828
6837
|
"inline-editing-element-id"
|
|
6829
6838
|
]))), 128)),
|
|
6830
6839
|
Is(t.$slots, "default")
|
|
6831
|
-
], 12,
|
|
6840
|
+
], 12, _x));
|
|
6832
6841
|
}
|
|
6833
6842
|
});
|
|
6834
|
-
function
|
|
6843
|
+
function Px(e) {
|
|
6835
6844
|
return {
|
|
6836
6845
|
x: e.x,
|
|
6837
6846
|
y: e.y,
|
|
@@ -6840,7 +6849,7 @@ function Cx(e) {
|
|
|
6840
6849
|
rotation: e.rotation ?? 0
|
|
6841
6850
|
};
|
|
6842
6851
|
}
|
|
6843
|
-
function
|
|
6852
|
+
function Tx(e, t) {
|
|
6844
6853
|
const n = Zr(() => function(e, t) {
|
|
6845
6854
|
const n = new Set(t), a = /* @__PURE__ */ new Map();
|
|
6846
6855
|
for (const t of e) n.has(t.id) && a.set(t.id, ui(t));
|
|
@@ -6851,7 +6860,7 @@ function Px(e, t) {
|
|
|
6851
6860
|
canRotate: (e) => !1 !== n.value.get(e)?.rotatable
|
|
6852
6861
|
};
|
|
6853
6862
|
}
|
|
6854
|
-
function
|
|
6863
|
+
function Dx(e, t) {
|
|
6855
6864
|
return {
|
|
6856
6865
|
isHidden: (t) => dl(t, e()),
|
|
6857
6866
|
visibleTabs: Zr(() => {
|
|
@@ -6860,14 +6869,14 @@ function Tx(e, t) {
|
|
|
6860
6869
|
})
|
|
6861
6870
|
};
|
|
6862
6871
|
}
|
|
6863
|
-
var
|
|
6864
|
-
function
|
|
6865
|
-
|
|
6872
|
+
var Mx = null;
|
|
6873
|
+
function Ox(e, t = !1) {
|
|
6874
|
+
Lx(), "undefined" != typeof Audio && ((Mx = new Audio(e)).loop = t, Mx.play().catch(() => {}));
|
|
6866
6875
|
}
|
|
6867
|
-
function
|
|
6868
|
-
|
|
6876
|
+
function Lx() {
|
|
6877
|
+
Mx && (Mx.pause(), Mx.currentTime = 0, Mx = null);
|
|
6869
6878
|
}
|
|
6870
|
-
function
|
|
6879
|
+
function zx(e = 768, t) {
|
|
6871
6880
|
const n = Ss(!1), a = Ss(!1), l = Ss(!1), o = Ss(On()), i = Ss(Mn()), r = Ss(!1), s = Ss("undefined" != typeof window ? window.innerWidth : B), u = "undefined" != typeof window, c = Ss(u ? window.innerWidth : B), d = Ss(u ? window.innerHeight : 800), p = {
|
|
6872
6881
|
isMobile: bs(n),
|
|
6873
6882
|
isTablet: bs(a),
|
|
@@ -6941,10 +6950,10 @@ function Lx(e = 768, t) {
|
|
|
6941
6950
|
y.removeEventListener("change", x), window.removeEventListener("resize", h);
|
|
6942
6951
|
}), p;
|
|
6943
6952
|
}
|
|
6944
|
-
function
|
|
6953
|
+
function Ax(e, t) {
|
|
6945
6954
|
return Zr(() => Ft(Ms(e), Ms(t)));
|
|
6946
6955
|
}
|
|
6947
|
-
var
|
|
6956
|
+
var Fx = [
|
|
6948
6957
|
{
|
|
6949
6958
|
id: "undo",
|
|
6950
6959
|
combo: "Mod+Z",
|
|
@@ -7065,21 +7074,21 @@ var Ax = [
|
|
|
7065
7074
|
group: "general",
|
|
7066
7075
|
descriptionKey: "pptx.slideShow.fromCurrent"
|
|
7067
7076
|
}
|
|
7068
|
-
],
|
|
7077
|
+
], Nx = {
|
|
7069
7078
|
history: "pptx.editorToolbar.history",
|
|
7070
7079
|
clipboard: "pptx.ribbon.clipboard",
|
|
7071
7080
|
editing: "pptx.shortcuts.group.editing",
|
|
7072
7081
|
navigation: "pptx.shortcuts.group.navigation",
|
|
7073
7082
|
general: "pptx.settings.general"
|
|
7074
7083
|
};
|
|
7075
|
-
function
|
|
7076
|
-
return Object.keys(
|
|
7084
|
+
function Rx(e = Fx) {
|
|
7085
|
+
return Object.keys(Nx).map((t) => ({
|
|
7077
7086
|
group: t,
|
|
7078
|
-
labelKey:
|
|
7087
|
+
labelKey: Nx[t],
|
|
7079
7088
|
shortcuts: e.filter((e) => e.group === t)
|
|
7080
7089
|
})).filter((e) => e.shortcuts.length > 0);
|
|
7081
7090
|
}
|
|
7082
|
-
function
|
|
7091
|
+
function $x(e, t, n, a, l = !1, o) {
|
|
7083
7092
|
return Ll({
|
|
7084
7093
|
key: e,
|
|
7085
7094
|
ctrlKey: t,
|
|
@@ -7096,23 +7105,23 @@ function Rx(e, t, n, a, l = !1, o) {
|
|
|
7096
7105
|
isControlTarget: a.isControl ?? !1
|
|
7097
7106
|
}, o);
|
|
7098
7107
|
}
|
|
7099
|
-
function
|
|
7108
|
+
function Bx(e) {
|
|
7100
7109
|
return hl(e.target);
|
|
7101
7110
|
}
|
|
7102
|
-
function
|
|
7111
|
+
function Wx(e) {
|
|
7103
7112
|
const { actions: t } = e;
|
|
7104
7113
|
function n(t) {
|
|
7105
7114
|
const n = t.metaKey || t.ctrlKey;
|
|
7106
|
-
return
|
|
7115
|
+
return $x(t.key, n, t.shiftKey, function(t) {
|
|
7107
7116
|
return {
|
|
7108
|
-
canEdit:
|
|
7109
|
-
canPaste:
|
|
7110
|
-
isPresenting:
|
|
7111
|
-
hasSelection:
|
|
7112
|
-
inlineEditingElementId:
|
|
7113
|
-
tableEditorIsEditing:
|
|
7114
|
-
activeTool:
|
|
7115
|
-
isTextInput:
|
|
7117
|
+
canEdit: Ux(e.canEdit, !0),
|
|
7118
|
+
canPaste: Ux(e.canPaste, !0),
|
|
7119
|
+
isPresenting: Ux(e.isPresenting, !1),
|
|
7120
|
+
hasSelection: Ux(e.hasSelection, !1),
|
|
7121
|
+
inlineEditingElementId: Ux(e.inlineEditingElementId, null),
|
|
7122
|
+
tableEditorIsEditing: Ux(e.tableEditorIsEditing, !1),
|
|
7123
|
+
activeTool: Ux(e.activeTool, "select"),
|
|
7124
|
+
isTextInput: Bx(t),
|
|
7116
7125
|
isControl: fl(t.target)
|
|
7117
7126
|
};
|
|
7118
7127
|
}(t), t.altKey, e.keyboard?.());
|
|
@@ -7143,10 +7152,10 @@ function Bx(e) {
|
|
|
7143
7152
|
attach: l
|
|
7144
7153
|
};
|
|
7145
7154
|
}
|
|
7146
|
-
function
|
|
7155
|
+
function Ux(e, t) {
|
|
7147
7156
|
return void 0 === e ? t : Ms(e);
|
|
7148
7157
|
}
|
|
7149
|
-
function
|
|
7158
|
+
function Vx(e, t, n, a = () => !0) {
|
|
7150
7159
|
const l = (e) => n(e), o = (e) => {
|
|
7151
7160
|
const n = t.value;
|
|
7152
7161
|
n && l(vo(n, e));
|
|
@@ -7251,7 +7260,7 @@ function Ux(e, t, n, a = () => !0) {
|
|
|
7251
7260
|
}
|
|
7252
7261
|
};
|
|
7253
7262
|
}
|
|
7254
|
-
function
|
|
7263
|
+
function Hx(e, t = 180) {
|
|
7255
7264
|
let n, a;
|
|
7256
7265
|
const l = () => {
|
|
7257
7266
|
void 0 !== n && (clearTimeout(n), n = void 0), a = void 0;
|
|
@@ -7267,7 +7276,7 @@ function Vx(e, t = 180) {
|
|
|
7267
7276
|
void 0 !== n && (clearTimeout(n), o());
|
|
7268
7277
|
}, ys(l), i;
|
|
7269
7278
|
}
|
|
7270
|
-
function
|
|
7279
|
+
function jx() {
|
|
7271
7280
|
const e = /* @__PURE__ */ new Map(), t = Ss(null);
|
|
7272
7281
|
return {
|
|
7273
7282
|
pendingFocusId: t,
|
|
@@ -7281,21 +7290,21 @@ function Hx() {
|
|
|
7281
7290
|
}
|
|
7282
7291
|
};
|
|
7283
7292
|
}
|
|
7284
|
-
var
|
|
7293
|
+
var Gx = [
|
|
7285
7294
|
"colorful1",
|
|
7286
7295
|
"colorful2",
|
|
7287
7296
|
"colorful3",
|
|
7288
7297
|
"monochromatic1",
|
|
7289
7298
|
"monochromatic2"
|
|
7290
|
-
],
|
|
7299
|
+
], qx = [
|
|
7291
7300
|
"flat",
|
|
7292
7301
|
"moderate",
|
|
7293
7302
|
"intense"
|
|
7294
7303
|
];
|
|
7295
|
-
function
|
|
7304
|
+
function Kx(e, t) {
|
|
7296
7305
|
return Gi($, e, t);
|
|
7297
7306
|
}
|
|
7298
|
-
function
|
|
7307
|
+
function Yx(e) {
|
|
7299
7308
|
const { smartArtData: t, apply: n } = e, a = Zr(() => t.value.nodes ?? []), l = Zr(() => t.value.colorScheme ?? "colorful1"), o = Zr(() => t.value.style ?? "flat"), i = Zr(() => t.value.resolvedLayoutType ?? "list"), r = Zr(() => nn(t.value)), s = Zr(() => ct(i.value, r.value)), u = Zr(() => Dn(i.value)), c = Zr(() => jn(t.value)), d = Zr(() => {
|
|
7300
7309
|
const e = t.value, n = ft(i.value, r.value);
|
|
7301
7310
|
let l = 0;
|
|
@@ -7313,7 +7322,7 @@ function Kx(e) {
|
|
|
7313
7322
|
removeDisabled: a.value.length <= 1 || !i && !n
|
|
7314
7323
|
};
|
|
7315
7324
|
});
|
|
7316
|
-
}), { pendingFocusId: p, setInputEl: v, focusNode: m } =
|
|
7325
|
+
}), { pendingFocusId: p, setInputEl: v, focusNode: m } = jx();
|
|
7317
7326
|
function f(t, a) {
|
|
7318
7327
|
const l = e.box?.value, o = l ? Mo(t, t.layout, xi(t), t.style ?? "flat", e.elementId ?? "smartart", l) : t;
|
|
7319
7328
|
n({ smartArtData: o }), m(a);
|
|
@@ -7397,24 +7406,24 @@ function Kx(e) {
|
|
|
7397
7406
|
}
|
|
7398
7407
|
};
|
|
7399
7408
|
}
|
|
7400
|
-
function
|
|
7409
|
+
function Xx(e, t, n) {
|
|
7401
7410
|
return cl(Ds(e), t, n);
|
|
7402
7411
|
}
|
|
7403
|
-
function
|
|
7412
|
+
function Zx(e, t) {
|
|
7404
7413
|
const n = Ds(e), a = Go(n, t);
|
|
7405
7414
|
return a === n ? null : a;
|
|
7406
7415
|
}
|
|
7407
|
-
function
|
|
7416
|
+
function Jx(e, t, n) {
|
|
7408
7417
|
return ul(Ds(e), t, n);
|
|
7409
7418
|
}
|
|
7410
|
-
function
|
|
7419
|
+
function Qx(e, t) {
|
|
7411
7420
|
const n = Ds(e), a = jo(n, t);
|
|
7412
7421
|
return a === n ? null : a;
|
|
7413
7422
|
}
|
|
7414
|
-
function
|
|
7423
|
+
function ek(e, t) {
|
|
7415
7424
|
return !t || t.length < 2 || !mt(t, e) ? null : Vl(t, e);
|
|
7416
7425
|
}
|
|
7417
|
-
function
|
|
7426
|
+
function tk(e) {
|
|
7418
7427
|
const t = Ps(/* @__PURE__ */ new Map()), n = Ps(""), a = Ps(/* @__PURE__ */ new Set()), l = Ps(/* @__PURE__ */ new Set()), o = Ps(!0);
|
|
7419
7428
|
let i = null;
|
|
7420
7429
|
const r = [], s = ln(), u = {
|
|
@@ -7424,8 +7433,8 @@ function ek(e) {
|
|
|
7424
7433
|
timers: r,
|
|
7425
7434
|
buildHandle: { current: null },
|
|
7426
7435
|
onPlayActionSound: e.onPlayActionSound,
|
|
7427
|
-
playSound:
|
|
7428
|
-
stopSound:
|
|
7436
|
+
playSound: Ox,
|
|
7437
|
+
stopSound: Lx,
|
|
7429
7438
|
frameRoot: e.frameRoot
|
|
7430
7439
|
}, c = () => !1 !== Ms(e.showWithAnimation);
|
|
7431
7440
|
function d() {
|
|
@@ -7494,11 +7503,11 @@ function ek(e) {
|
|
|
7494
7503
|
clearTimers: d
|
|
7495
7504
|
};
|
|
7496
7505
|
}
|
|
7497
|
-
var
|
|
7498
|
-
function
|
|
7506
|
+
var nk = 2.5, ak = 14, lk = .4, ok = 16, ik = 0;
|
|
7507
|
+
function rk(e, t, n, a, l) {
|
|
7499
7508
|
const o = "pen" === e;
|
|
7500
7509
|
return {
|
|
7501
|
-
id: `stroke-${
|
|
7510
|
+
id: `stroke-${ik += 1}`,
|
|
7502
7511
|
points: [{
|
|
7503
7512
|
x: t,
|
|
7504
7513
|
y: n
|
|
@@ -7508,14 +7517,14 @@ function ik(e, t, n, a, l) {
|
|
|
7508
7517
|
opacity: o ? 1 : .4
|
|
7509
7518
|
};
|
|
7510
7519
|
}
|
|
7511
|
-
function
|
|
7520
|
+
function sk(e, t, n, a = 16) {
|
|
7512
7521
|
const l = a * a, o = e.filter((e) => !e.points.some((e) => {
|
|
7513
7522
|
const a = e.x - t, o = e.y - n;
|
|
7514
7523
|
return a * a + o * o < l;
|
|
7515
7524
|
}));
|
|
7516
7525
|
return o.length === e.length ? e : o;
|
|
7517
7526
|
}
|
|
7518
|
-
function
|
|
7527
|
+
function uk(e) {
|
|
7519
7528
|
const t = Ss("none"), n = Ss("#ff0000"), a = Ss("#ffff00"), l = Ss([]), o = Ss(null), i = Ss(null), r = /* @__PURE__ */ new Map(), s = Ss(0);
|
|
7520
7529
|
let u = !1, c = Ms(e.activeSlideIndex);
|
|
7521
7530
|
function d() {
|
|
@@ -7545,7 +7554,7 @@ function sk(e) {
|
|
|
7545
7554
|
handlePointerDown: function(l, i) {
|
|
7546
7555
|
if (!Ms(e.isActive)) return;
|
|
7547
7556
|
const r = t.value;
|
|
7548
|
-
"pen" !== r && "highlighter" !== r || (u = !0, o.value =
|
|
7557
|
+
"pen" !== r && "highlighter" !== r || (u = !0, o.value = rk(r, l, i, n.value, a.value));
|
|
7549
7558
|
},
|
|
7550
7559
|
handlePointerMove: function(t, n) {
|
|
7551
7560
|
if (!Ms(e.isActive) || !u) return;
|
|
@@ -7579,7 +7588,7 @@ function sk(e) {
|
|
|
7579
7588
|
},
|
|
7580
7589
|
eraseAtPoint: function(n, a) {
|
|
7581
7590
|
if (!Ms(e.isActive) || "eraser" !== t.value) return;
|
|
7582
|
-
const o =
|
|
7591
|
+
const o = sk(l.value, n, a);
|
|
7583
7592
|
if (o === l.value) return;
|
|
7584
7593
|
l.value = o;
|
|
7585
7594
|
const i = Ms(e.activeSlideIndex);
|
|
@@ -7599,7 +7608,7 @@ function sk(e) {
|
|
|
7599
7608
|
hasAnyAnnotations: Zr(() => (s.value, l.value.length > 0 || r.size > 0))
|
|
7600
7609
|
};
|
|
7601
7610
|
}
|
|
7602
|
-
function
|
|
7611
|
+
function ck(e) {
|
|
7603
7612
|
const n = Ss(!1);
|
|
7604
7613
|
let a = null;
|
|
7605
7614
|
function l() {
|
|
@@ -7621,7 +7630,7 @@ function uk(e) {
|
|
|
7621
7630
|
}
|
|
7622
7631
|
};
|
|
7623
7632
|
}
|
|
7624
|
-
function
|
|
7633
|
+
function dk(e) {
|
|
7625
7634
|
const { targetRef: t, currentScale: n, minScale: a, maxScale: l, callbacks: o, enabled: i = !0 } = e;
|
|
7626
7635
|
let r = null;
|
|
7627
7636
|
const s = () => {
|
|
@@ -7645,7 +7654,7 @@ function ck(e) {
|
|
|
7645
7654
|
})(e);
|
|
7646
7655
|
}, { immediate: !0 }), ys(s);
|
|
7647
7656
|
}
|
|
7648
|
-
function
|
|
7657
|
+
function pk(e) {
|
|
7649
7658
|
const t = Zr(() => {
|
|
7650
7659
|
const t = e.transition();
|
|
7651
7660
|
return "morph" === t?.type ? Ge(e.outgoingSlide(), e.incomingSlide(), e.durationMs(), Gl(t.morphOption)) : void 0;
|
|
@@ -7702,7 +7711,7 @@ function dk(e) {
|
|
|
7702
7711
|
})
|
|
7703
7712
|
};
|
|
7704
7713
|
}
|
|
7705
|
-
var
|
|
7714
|
+
var vk = ["data-pptx-transition-fragment"], mk = Av(ls({
|
|
7706
7715
|
__name: "FragmentedTransitionLayer",
|
|
7707
7716
|
props: {
|
|
7708
7717
|
layer: {},
|
|
@@ -7735,7 +7744,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7735
7744
|
"data-pptx-transition-fragment": t.id,
|
|
7736
7745
|
class: "pptx-vue-transition-fragment",
|
|
7737
7746
|
style: ms(a(t))
|
|
7738
|
-
}, [as(
|
|
7747
|
+
}, [as(Cx, {
|
|
7739
7748
|
slide: e.slide,
|
|
7740
7749
|
"canvas-size": e.canvasSize,
|
|
7741
7750
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7745,9 +7754,9 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7745
7754
|
"canvas-size",
|
|
7746
7755
|
"media-data-urls",
|
|
7747
7756
|
"scale"
|
|
7748
|
-
])], 12,
|
|
7757
|
+
])], 12, vk))), 128));
|
|
7749
7758
|
}
|
|
7750
|
-
}), [["__scopeId", "data-v-f67781fa"]]),
|
|
7759
|
+
}), [["__scopeId", "data-v-f67781fa"]]), fk = ["data-pptx-morph-crossfade"], hk = Av(ls({
|
|
7751
7760
|
__name: "MorphExtraLayers",
|
|
7752
7761
|
props: {
|
|
7753
7762
|
liftedSlide: {},
|
|
@@ -7763,7 +7772,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7763
7772
|
"data-pptx-transition-layer": "lifted",
|
|
7764
7773
|
"data-pptx-morph-lifted": "true",
|
|
7765
7774
|
style: ms(e.liftedLayerStyle)
|
|
7766
|
-
}, [as(
|
|
7775
|
+
}, [as(Cx, {
|
|
7767
7776
|
slide: e.liftedSlide,
|
|
7768
7777
|
"canvas-size": e.canvasSize,
|
|
7769
7778
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7784,7 +7793,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7784
7793
|
"data-pptx-transition-layer": "outgoing",
|
|
7785
7794
|
"data-pptx-morph-outgoing": "true",
|
|
7786
7795
|
style: ms(t.outgoingStyle)
|
|
7787
|
-
}, [as(
|
|
7796
|
+
}, [as(Cx, {
|
|
7788
7797
|
slide: t.outgoingSlide,
|
|
7789
7798
|
"canvas-size": e.canvasSize,
|
|
7790
7799
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7801,7 +7810,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7801
7810
|
"data-pptx-transition-layer": "lifted",
|
|
7802
7811
|
"data-pptx-morph-lifted": "true",
|
|
7803
7812
|
style: ms(t.incomingStyle)
|
|
7804
|
-
}, [as(
|
|
7813
|
+
}, [as(Cx, {
|
|
7805
7814
|
slide: t.incomingSlide,
|
|
7806
7815
|
"canvas-size": e.canvasSize,
|
|
7807
7816
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7813,11 +7822,11 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7813
7822
|
"canvas-size",
|
|
7814
7823
|
"media-data-urls",
|
|
7815
7824
|
"scale"
|
|
7816
|
-
])], 4)], 12,
|
|
7817
|
-
}), [["__scopeId", "data-v-adf1a9bf"]]),
|
|
7825
|
+
])], 4)], 12, fk))), 128))], 64))
|
|
7826
|
+
}), [["__scopeId", "data-v-adf1a9bf"]]), yk = {
|
|
7818
7827
|
class: "pptx-vue-transition-overlay",
|
|
7819
7828
|
"data-pptx-transition-overlay": ""
|
|
7820
|
-
},
|
|
7829
|
+
}, gk = ["data-pptx-morph-outgoing", "data-pptx-transition-fragments"], xk = ["data-pptx-morph-incoming", "data-pptx-transition-fragments"], kk = Av(ls({
|
|
7821
7830
|
__name: "PresentationTransitionOverlay",
|
|
7822
7831
|
props: {
|
|
7823
7832
|
outgoingSlide: {},
|
|
@@ -7829,7 +7838,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7829
7838
|
},
|
|
7830
7839
|
emits: ["done"],
|
|
7831
7840
|
setup(e, { emit: t }) {
|
|
7832
|
-
const n = e, a = t, l = Zr(() => Ci(n.transition)), o = Zr(() => Li(n.transition)), i = Zr(() => n.transition ? Ia(n.transition.type, o.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: r, morphOutgoingSlide: s, morphLiftedSlide: u, morphCrossfadeGroups: c, morphCss: d } =
|
|
7841
|
+
const n = e, a = t, l = Zr(() => Ci(n.transition)), o = Zr(() => Li(n.transition)), i = Zr(() => n.transition ? Ia(n.transition.type, o.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: r, morphOutgoingSlide: s, morphLiftedSlide: u, morphCrossfadeGroups: c, morphCss: d } = pk({
|
|
7833
7842
|
transition: () => n.transition,
|
|
7834
7843
|
outgoingSlide: () => n.outgoingSlide,
|
|
7835
7844
|
incomingSlide: () => n.incomingSlide,
|
|
@@ -7843,8 +7852,8 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7843
7852
|
}));
|
|
7844
7853
|
As(() => n.transition, (e) => {
|
|
7845
7854
|
xe(e, (e) => n.mediaDataUrls.get(e), {
|
|
7846
|
-
play:
|
|
7847
|
-
stop:
|
|
7855
|
+
play: Ox,
|
|
7856
|
+
stop: Lx
|
|
7848
7857
|
});
|
|
7849
7858
|
}, { immediate: !0 });
|
|
7850
7859
|
let y = null;
|
|
@@ -7855,7 +7864,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7855
7864
|
}, e);
|
|
7856
7865
|
}), fs(function() {
|
|
7857
7866
|
null !== y && (clearTimeout(y), y = null);
|
|
7858
|
-
}), (t, n) => (ks(), es("div",
|
|
7867
|
+
}), (t, n) => (ks(), es("div", yk, [
|
|
7859
7868
|
(ks(), Jr(Cs("style"), null, {
|
|
7860
7869
|
default: Rs(() => [ns(Ts(Os(R)), 1)]),
|
|
7861
7870
|
_: 1
|
|
@@ -7870,7 +7879,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7870
7879
|
"data-pptx-morph-outgoing": Os(r) ? "true" : void 0,
|
|
7871
7880
|
"data-pptx-transition-fragments": !Os(r) && i.value?.outgoing ? i.value.outgoing.keyframesName : void 0,
|
|
7872
7881
|
style: ms(m.value)
|
|
7873
|
-
}, [!Os(r) && i.value?.outgoing ? (ks(), Jr(
|
|
7882
|
+
}, [!Os(r) && i.value?.outgoing ? (ks(), Jr(mk, {
|
|
7874
7883
|
key: 0,
|
|
7875
7884
|
layer: i.value.outgoing,
|
|
7876
7885
|
slide: e.outgoingSlide,
|
|
@@ -7884,7 +7893,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7884
7893
|
"canvas-size",
|
|
7885
7894
|
"media-data-urls",
|
|
7886
7895
|
"scale"
|
|
7887
|
-
])) : (ks(), Jr(
|
|
7896
|
+
])) : (ks(), Jr(Cx, {
|
|
7888
7897
|
key: 1,
|
|
7889
7898
|
slide: Os(r) ? Os(s) : e.outgoingSlide,
|
|
7890
7899
|
"canvas-size": e.canvasSize,
|
|
@@ -7899,14 +7908,14 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7899
7908
|
"scale",
|
|
7900
7909
|
"preserve-element-ids",
|
|
7901
7910
|
"transparent-background"
|
|
7902
|
-
]))], 12,
|
|
7911
|
+
]))], 12, gk),
|
|
7903
7912
|
ts("div", {
|
|
7904
7913
|
class: "pptx-vue-transition-layer",
|
|
7905
7914
|
"data-pptx-transition-layer": "incoming",
|
|
7906
7915
|
"data-pptx-morph-incoming": Os(r) ? "true" : void 0,
|
|
7907
7916
|
"data-pptx-transition-fragments": !Os(r) && i.value?.incoming ? i.value.incoming.keyframesName : void 0,
|
|
7908
7917
|
style: ms(h.value)
|
|
7909
|
-
}, [!Os(r) && i.value?.incoming ? (ks(), Jr(
|
|
7918
|
+
}, [!Os(r) && i.value?.incoming ? (ks(), Jr(mk, {
|
|
7910
7919
|
key: 0,
|
|
7911
7920
|
layer: i.value.incoming,
|
|
7912
7921
|
slide: e.incomingSlide,
|
|
@@ -7920,7 +7929,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7920
7929
|
"canvas-size",
|
|
7921
7930
|
"media-data-urls",
|
|
7922
7931
|
"scale"
|
|
7923
|
-
])) : (ks(), Jr(
|
|
7932
|
+
])) : (ks(), Jr(Cx, {
|
|
7924
7933
|
key: 1,
|
|
7925
7934
|
slide: e.incomingSlide,
|
|
7926
7935
|
"canvas-size": e.canvasSize,
|
|
@@ -7933,8 +7942,8 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7933
7942
|
"media-data-urls",
|
|
7934
7943
|
"scale",
|
|
7935
7944
|
"preserve-element-ids"
|
|
7936
|
-
]))], 12,
|
|
7937
|
-
as(
|
|
7945
|
+
]))], 12, xk),
|
|
7946
|
+
as(hk, {
|
|
7938
7947
|
"lifted-slide": Os(u),
|
|
7939
7948
|
"lifted-layer-style": f.value,
|
|
7940
7949
|
"crossfade-groups": Os(c),
|
|
@@ -7952,16 +7961,16 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
|
|
|
7952
7961
|
]));
|
|
7953
7962
|
}
|
|
7954
7963
|
}), [["__scopeId", "data-v-be6bfe13"]]);
|
|
7955
|
-
function
|
|
7964
|
+
function wk(e) {
|
|
7956
7965
|
const t = Math.max(0, Math.floor(e / 1e3)), n = Math.floor(t / 60), a = t % 60;
|
|
7957
7966
|
return `${String(n)}:${String(a).padStart(2, "0")}`;
|
|
7958
7967
|
}
|
|
7959
|
-
function
|
|
7968
|
+
function bk(e, t, n = 0, a = null) {
|
|
7960
7969
|
if (null === e) return 0;
|
|
7961
7970
|
let l = n;
|
|
7962
7971
|
return null !== a && (l += t - a), Math.max(0, t - e - l);
|
|
7963
7972
|
}
|
|
7964
|
-
function
|
|
7973
|
+
function Sk(e = {}) {
|
|
7965
7974
|
const t = e.now ?? Date.now, n = e.tickIntervalMs ?? 250, a = Ss(!1), l = Ss(!1), o = Ss(!1), i = Ss({}), r = Ss(null), s = Ss(null);
|
|
7966
7975
|
let u = 0, c = null;
|
|
7967
7976
|
const d = Ss(0);
|
|
@@ -7974,7 +7983,7 @@ function bk(e = {}) {
|
|
|
7974
7983
|
d.value += 1;
|
|
7975
7984
|
}, n));
|
|
7976
7985
|
}
|
|
7977
|
-
const f = Zr(() => (d.value, a.value ?
|
|
7986
|
+
const f = Zr(() => (d.value, a.value ? bk(s.value, t(), u, c) : 0)), h = Zr(() => (d.value, a.value ? bk(r.value, t()) : 0)), y = Zr(() => Object.values(i.value).reduce((e, t) => e + t, 0));
|
|
7978
7987
|
return ys(v), {
|
|
7979
7988
|
rehearsing: a,
|
|
7980
7989
|
paused: l,
|
|
@@ -7989,7 +7998,7 @@ function bk(e = {}) {
|
|
|
7989
7998
|
},
|
|
7990
7999
|
recordCurrentSlideTime: function(e) {
|
|
7991
8000
|
if (null === s.value) return;
|
|
7992
|
-
const n =
|
|
8001
|
+
const n = bk(s.value, t(), u, c);
|
|
7993
8002
|
i.value = {
|
|
7994
8003
|
...i.value,
|
|
7995
8004
|
[e]: n
|
|
@@ -8009,18 +8018,18 @@ function bk(e = {}) {
|
|
|
8009
8018
|
}
|
|
8010
8019
|
};
|
|
8011
8020
|
}
|
|
8012
|
-
var
|
|
8021
|
+
var Ek = {
|
|
8013
8022
|
valid: 0,
|
|
8014
8023
|
unverified: 1,
|
|
8015
8024
|
unknownCA: 2,
|
|
8016
8025
|
expired: 3,
|
|
8017
8026
|
invalid: 4
|
|
8018
8027
|
};
|
|
8019
|
-
function
|
|
8028
|
+
function Ik(e) {
|
|
8020
8029
|
const t = Zr(() => Ms(e) ?? []), n = Zr(() => t.value.length > 0), a = Zr(() => {
|
|
8021
8030
|
if (0 === t.value.length) return;
|
|
8022
8031
|
let e = "valid";
|
|
8023
|
-
for (const n of t.value)
|
|
8032
|
+
for (const n of t.value) Ek[n.status] > Ek[e] && (e = n.status);
|
|
8024
8033
|
return e;
|
|
8025
8034
|
});
|
|
8026
8035
|
return {
|
|
@@ -8030,26 +8039,26 @@ function Ek(e) {
|
|
|
8030
8039
|
overall: Zr(() => n.value ? "invalid" === a.value ? "invalid" : "signed" : "unsigned")
|
|
8031
8040
|
};
|
|
8032
8041
|
}
|
|
8033
|
-
var
|
|
8042
|
+
var _k = {
|
|
8034
8043
|
error: 0,
|
|
8035
8044
|
warning: 1,
|
|
8036
8045
|
tip: 2
|
|
8037
8046
|
};
|
|
8038
|
-
function
|
|
8047
|
+
function Ck(e, t = {}) {
|
|
8039
8048
|
const n = Zr(() => {
|
|
8040
8049
|
const n = Ms(e), a = Ms(t), l = a.minContrastRatio ?? 4.5, o = a.skipContrast ?? !1, i = a.skipBlankSlide ?? !1, r = [];
|
|
8041
8050
|
for (let e = 0; e < n.length; e++) {
|
|
8042
8051
|
const t = n[e];
|
|
8043
8052
|
r.push(...(0, lu.checkMissingAltText)(t, e)), r.push(...(0, lu.checkMissingSlideTitle)(t, e)), o || r.push(...(0, lu.checkLowContrast)(t, e, l, t.backgroundColor)), r.push(...(0, lu.checkComplexTables)(t, e)), i || r.push(...(0, lu.checkBlankSlide)(t, e));
|
|
8044
8053
|
}
|
|
8045
|
-
return r.push(...(0, lu.checkDuplicateTitles)(n)), r.sort((e, t) => e.slideIndex - t.slideIndex ||
|
|
8054
|
+
return r.push(...(0, lu.checkDuplicateTitles)(n)), r.sort((e, t) => e.slideIndex - t.slideIndex || _k[e.severity] - _k[t.severity]), r;
|
|
8046
8055
|
});
|
|
8047
8056
|
return {
|
|
8048
8057
|
issues: n,
|
|
8049
8058
|
issueCount: Zr(() => n.value.length)
|
|
8050
8059
|
};
|
|
8051
8060
|
}
|
|
8052
|
-
function
|
|
8061
|
+
function Pk(e) {
|
|
8053
8062
|
const { selectedElements: t, selectedElementIds: n, activeSlideIndex: a, slides: l, canvasSize: o, pushHistory: i } = e;
|
|
8054
8063
|
function r(e) {
|
|
8055
8064
|
if (0 === e.size) return;
|
|
@@ -8107,14 +8116,14 @@ function Ck(e) {
|
|
|
8107
8116
|
}
|
|
8108
8117
|
};
|
|
8109
8118
|
}
|
|
8110
|
-
var
|
|
8119
|
+
var Tk = {
|
|
8111
8120
|
setTimer: (e, t) => setTimeout(e, t),
|
|
8112
8121
|
clearTimer: (e) => {
|
|
8113
8122
|
clearTimeout(e);
|
|
8114
8123
|
}
|
|
8115
8124
|
};
|
|
8116
|
-
function
|
|
8117
|
-
const { slides: t, templateElements: n, enabled: a = !0, intervalMs: l, onSave: o } = e, i = e.timers ??
|
|
8125
|
+
function Dk(e) {
|
|
8126
|
+
const { slides: t, templateElements: n, enabled: a = !0, intervalMs: l, onSave: o } = e, i = e.timers ?? Tk, r = Ss("idle"), s = Ss(null), u = Ss(!1);
|
|
8118
8127
|
let c = null, d = null, p = null;
|
|
8119
8128
|
const v = () => !1 !== Ms(a), m = () => {
|
|
8120
8129
|
null !== c && (i.clearTimer(c), c = null);
|
|
@@ -8157,7 +8166,7 @@ function Tk(e) {
|
|
|
8157
8166
|
isDirty: u
|
|
8158
8167
|
};
|
|
8159
8168
|
}
|
|
8160
|
-
function
|
|
8169
|
+
function Mk(e, t) {
|
|
8161
8170
|
const n = Ss(!1), a = rn();
|
|
8162
8171
|
let l = null, o = null, i = null, r = !1, s = "", u = null, c = null;
|
|
8163
8172
|
const d = wn({
|
|
@@ -8245,13 +8254,13 @@ function Dk(e, t) {
|
|
|
8245
8254
|
}
|
|
8246
8255
|
};
|
|
8247
8256
|
}
|
|
8248
|
-
var
|
|
8249
|
-
function
|
|
8250
|
-
if (void 0 === e) return
|
|
8257
|
+
var Ok = 1e5;
|
|
8258
|
+
function Lk(e) {
|
|
8259
|
+
if (void 0 === e) return Ok;
|
|
8251
8260
|
const t = "number" == typeof e ? e : e.value;
|
|
8252
|
-
return t > 0 ? t :
|
|
8261
|
+
return t > 0 ? t : Ok;
|
|
8253
8262
|
}
|
|
8254
|
-
function
|
|
8263
|
+
function zk(e) {
|
|
8255
8264
|
const t = Ss([]), n = Ss([]), a = Ss([]), l = Ss(null), o = Zr(() => t.value.find((e) => e.clientId === l.value)?.activeSlide ?? null), i = Zr(() => t.value.find((e) => "owner" === e.role)?.activeSlide ?? null), r = function() {
|
|
8256
8265
|
const e = mn();
|
|
8257
8266
|
let t = [];
|
|
@@ -8289,7 +8298,7 @@ function Lk(e) {
|
|
|
8289
8298
|
let s = null, u = null, c = 0, d = null;
|
|
8290
8299
|
function p() {
|
|
8291
8300
|
if (!s) return;
|
|
8292
|
-
const o = r.project(s.getStates(), s.clientID ?? -1,
|
|
8301
|
+
const o = r.project(s.getStates(), s.clientID ?? -1, Lk(e.canvasWidth), Lk(e.canvasHeight), c);
|
|
8293
8302
|
o.changed && (t.value = o.presences, n.value = o.remoteUsers, a.value = o.cursors, null === l.value || o.presences.some((e) => e.clientId === l.value) || (l.value = null));
|
|
8294
8303
|
}
|
|
8295
8304
|
return {
|
|
@@ -8323,8 +8332,8 @@ function Lk(e) {
|
|
|
8323
8332
|
}
|
|
8324
8333
|
};
|
|
8325
8334
|
}
|
|
8326
|
-
function
|
|
8327
|
-
const t = Ss("disconnected"), n = Zr(() => "connected" === t.value), a = Ss(!1), o = Ps(null), i = Ss(void 0), r =
|
|
8335
|
+
function Ak(e) {
|
|
8336
|
+
const t = Ss("disconnected"), n = Zr(() => "connected" === t.value), a = Ss(!1), o = Ps(null), i = Ss(void 0), r = zk(e), s = Mk(e, t), u = Zr(() => li({
|
|
8328
8337
|
authorizedCanEdit: Ms(e.canEdit) ?? !0,
|
|
8329
8338
|
configured: Boolean(Ms(e.collaboration) || o.value),
|
|
8330
8339
|
readOnly: s.readOnly.value,
|
|
@@ -8365,7 +8374,7 @@ function zk(e) {
|
|
|
8365
8374
|
}
|
|
8366
8375
|
const x = await async function(e, t, n) {
|
|
8367
8376
|
if ("webrtc" === e) {
|
|
8368
|
-
const { WebrtcProvider: e } = await import("./y-webrtc-
|
|
8377
|
+
const { WebrtcProvider: e } = await import("./y-webrtc-moBg1ISb.js"), a = new e(t.roomId, n, {
|
|
8369
8378
|
signaling: t.signaling?.length ? t.signaling : void 0,
|
|
8370
8379
|
password: t.authToken || void 0
|
|
8371
8380
|
}), l = un(t.roomId, a.awareness);
|
|
@@ -8451,8 +8460,8 @@ function zk(e) {
|
|
|
8451
8460
|
livePatcher: s.livePatcher
|
|
8452
8461
|
};
|
|
8453
8462
|
}
|
|
8454
|
-
function
|
|
8455
|
-
const { slides: t, loadVersion: n, getLoadOrigin: a, getTemplateElements: l, getSourceBytes: o, getSaveOptions: i, initialUserColor: r, canvasWidth: s, canvasHeight: u, collaborationProp: c, selectedElementIds: d, activeSlideIndex: p, goTo: v, effectiveZoom: m, authorName: f, onStartCollaboration: h, onStopCollaboration: y } = e, g =
|
|
8463
|
+
function Fk(e) {
|
|
8464
|
+
const { slides: t, loadVersion: n, getLoadOrigin: a, getTemplateElements: l, getSourceBytes: o, getSaveOptions: i, initialUserColor: r, canvasWidth: s, canvasHeight: u, collaborationProp: c, selectedElementIds: d, activeSlideIndex: p, goTo: v, effectiveZoom: m, authorName: f, onStartCollaboration: h, onStopCollaboration: y } = e, g = Ak({
|
|
8456
8465
|
collaboration: c,
|
|
8457
8466
|
slides: t,
|
|
8458
8467
|
loadVersion: n,
|
|
@@ -8522,7 +8531,7 @@ function Ak(e) {
|
|
|
8522
8531
|
}
|
|
8523
8532
|
};
|
|
8524
8533
|
}
|
|
8525
|
-
function
|
|
8534
|
+
function Nk(e) {
|
|
8526
8535
|
const t = Zr(() => Ms(e.comments) ?? []);
|
|
8527
8536
|
return {
|
|
8528
8537
|
slideComments: t,
|
|
@@ -8557,12 +8566,12 @@ function Fk(e) {
|
|
|
8557
8566
|
}
|
|
8558
8567
|
};
|
|
8559
8568
|
}
|
|
8560
|
-
function
|
|
8569
|
+
function Rk(e) {
|
|
8561
8570
|
const { activeSlide: t, activeSlideIndex: n, slides: a, authorName: l, pushHistory: o } = e, i = Ss(!1), r = Zr(() => t.value?.comments ?? []);
|
|
8562
8571
|
return {
|
|
8563
8572
|
showComments: i,
|
|
8564
8573
|
activeComments: r,
|
|
8565
|
-
commentsApi:
|
|
8574
|
+
commentsApi: Nk({
|
|
8566
8575
|
comments: r,
|
|
8567
8576
|
activeSlideIndex: n,
|
|
8568
8577
|
authorName: l
|
|
@@ -8583,7 +8592,7 @@ function Nk(e) {
|
|
|
8583
8592
|
}
|
|
8584
8593
|
};
|
|
8585
8594
|
}
|
|
8586
|
-
async function
|
|
8595
|
+
async function $k(e, t = {}) {
|
|
8587
8596
|
const { default: n } = await import("html2canvas-pro"), a = t.onclone;
|
|
8588
8597
|
return n(e, {
|
|
8589
8598
|
...t,
|
|
@@ -8592,7 +8601,7 @@ async function Rk(e, t = {}) {
|
|
|
8592
8601
|
}
|
|
8593
8602
|
});
|
|
8594
8603
|
}
|
|
8595
|
-
function
|
|
8604
|
+
function Bk(e, t, n) {
|
|
8596
8605
|
const a = t?.el.tableData;
|
|
8597
8606
|
if (!t || !a) return;
|
|
8598
8607
|
const l = (e) => {
|
|
@@ -8605,22 +8614,22 @@ function $k(e, t, n) {
|
|
|
8605
8614
|
}, { rowIndex: i, columnIndex: r } = t.sel;
|
|
8606
8615
|
switch (e) {
|
|
8607
8616
|
case "table-insert-row-above":
|
|
8608
|
-
o(
|
|
8617
|
+
o(Xx(t.el, i, "above"));
|
|
8609
8618
|
break;
|
|
8610
8619
|
case "table-insert-row-below":
|
|
8611
|
-
o(
|
|
8620
|
+
o(Xx(t.el, i, "below"));
|
|
8612
8621
|
break;
|
|
8613
8622
|
case "table-delete-row":
|
|
8614
|
-
o(
|
|
8623
|
+
o(Zx(t.el, i));
|
|
8615
8624
|
break;
|
|
8616
8625
|
case "table-insert-col-left":
|
|
8617
|
-
o(
|
|
8626
|
+
o(Jx(t.el, r, "left"));
|
|
8618
8627
|
break;
|
|
8619
8628
|
case "table-insert-col-right":
|
|
8620
|
-
o(
|
|
8629
|
+
o(Jx(t.el, r, "right"));
|
|
8621
8630
|
break;
|
|
8622
8631
|
case "table-delete-col":
|
|
8623
|
-
o(
|
|
8632
|
+
o(Qx(t.el, r));
|
|
8624
8633
|
break;
|
|
8625
8634
|
case "table-merge-right":
|
|
8626
8635
|
l(function(e, t, n) {
|
|
@@ -8641,7 +8650,7 @@ function $k(e, t, n) {
|
|
|
8641
8650
|
}(a, i, r));
|
|
8642
8651
|
break;
|
|
8643
8652
|
case "table-merge-selected":
|
|
8644
|
-
l(
|
|
8653
|
+
l(ek(a, t.sel.selectedCells));
|
|
8645
8654
|
break;
|
|
8646
8655
|
case "table-split": l(function(e, t, n) {
|
|
8647
8656
|
const a = Yt(e, t, n);
|
|
@@ -8652,7 +8661,7 @@ function $k(e, t, n) {
|
|
|
8652
8661
|
}(a, i, r));
|
|
8653
8662
|
}
|
|
8654
8663
|
}
|
|
8655
|
-
function
|
|
8664
|
+
function Wk(e) {
|
|
8656
8665
|
const { t } = Dv(), { canEdit: n, findActiveElement: a, tableSelection: l, hasClipboard: o, canGroup: i, selectionGroupable: r, editTemplateMode: s, selectedElementIds: u, inlineEditingElementId: c, inspectorOpen: d, enterInlineEdit: p, ops: v, cutElement: m, copyElement: f, pasteElement: h, onGroup: y, onUngroup: g, openHyperlinkDialog: x, onAddComment: k, aiEnabled: w, onAskAi: b, onFixAi: S, onEmptyCanvasContextMenu: E, customization: I, onEditPoints: _, mergeCrop: C } = e, P = Ss({
|
|
8657
8666
|
open: !1,
|
|
8658
8667
|
x: 0,
|
|
@@ -8788,7 +8797,7 @@ function Bk(e) {
|
|
|
8788
8797
|
const l = a.getBoundingClientRect(), o = l.width || a.offsetWidth, i = l.height || a.offsetHeight;
|
|
8789
8798
|
await Vi(a, o, i, document, Bn(t, n), {
|
|
8790
8799
|
scale: 2,
|
|
8791
|
-
html2canvasFallback: (e, t) =>
|
|
8800
|
+
html2canvasFallback: (e, t) => $k(a, {
|
|
8792
8801
|
scale: t.width / (e.width || 1),
|
|
8793
8802
|
x: e.x,
|
|
8794
8803
|
y: e.y,
|
|
@@ -8815,14 +8824,14 @@ function Bk(e) {
|
|
|
8815
8824
|
break;
|
|
8816
8825
|
default: {
|
|
8817
8826
|
const t = Hl(e);
|
|
8818
|
-
t ? C?.merge(t) :
|
|
8827
|
+
t ? C?.merge(t) : Bk(e, D.value, v);
|
|
8819
8828
|
break;
|
|
8820
8829
|
}
|
|
8821
8830
|
}
|
|
8822
8831
|
}
|
|
8823
8832
|
};
|
|
8824
8833
|
}
|
|
8825
|
-
function
|
|
8834
|
+
function Uk(e) {
|
|
8826
8835
|
const { customShows: t, slides: n, activeSlideIndex: a, pushHistory: l } = e, o = Zr(() => {
|
|
8827
8836
|
const e = n.value[a.value];
|
|
8828
8837
|
return e?.rId && e.rId.length > 0 ? e.rId : void 0;
|
|
@@ -8885,8 +8894,8 @@ function Wk(e) {
|
|
|
8885
8894
|
activeSlideRId: o
|
|
8886
8895
|
};
|
|
8887
8896
|
}
|
|
8888
|
-
function
|
|
8889
|
-
const { customShows: t, slides: n, activeSlideIndex: a, activeSlide: l, pushHistory: o } = e, { t: i } = Dv(), r = Ss(!1), s = Ss(null), u =
|
|
8897
|
+
function Vk(e) {
|
|
8898
|
+
const { customShows: t, slides: n, activeSlideIndex: a, activeSlide: l, pushHistory: o } = e, { t: i } = Dv(), r = Ss(!1), s = Ss(null), u = Uk({
|
|
8890
8899
|
customShows: t,
|
|
8891
8900
|
slides: n,
|
|
8892
8901
|
activeSlideIndex: a,
|
|
@@ -8929,7 +8938,7 @@ function Uk(e) {
|
|
|
8929
8938
|
}
|
|
8930
8939
|
};
|
|
8931
8940
|
}
|
|
8932
|
-
function
|
|
8941
|
+
function Hk(e) {
|
|
8933
8942
|
const { coreProperties: t, customProperties: n, appProperties: a } = e, l = Ss(!1);
|
|
8934
8943
|
return {
|
|
8935
8944
|
propertiesOpen: l,
|
|
@@ -8944,7 +8953,7 @@ function Vk(e) {
|
|
|
8944
8953
|
}
|
|
8945
8954
|
};
|
|
8946
8955
|
}
|
|
8947
|
-
function
|
|
8956
|
+
function jk(e, t, n) {
|
|
8948
8957
|
const a = new f({ maxDepth: n?.maxDepth ?? 120 }), l = Ps(0), o = () => {
|
|
8949
8958
|
l.value++;
|
|
8950
8959
|
}, i = (e) => {
|
|
@@ -8986,17 +8995,17 @@ function Hk(e, t, n) {
|
|
|
8986
8995
|
}
|
|
8987
8996
|
};
|
|
8988
8997
|
}
|
|
8989
|
-
function
|
|
8998
|
+
function Gk(e, t) {
|
|
8990
8999
|
return 0 === t.size ? e : ye(e, Zo(e, t));
|
|
8991
9000
|
}
|
|
8992
|
-
function
|
|
9001
|
+
function qk(e) {
|
|
8993
9002
|
const { slides: t, activeSlideIndex: n, templateElementsBySlideId: a } = e;
|
|
8994
9003
|
return function(e) {
|
|
8995
9004
|
if (0 === e.size) return;
|
|
8996
9005
|
const l = n.value, o = function(e, t, n) {
|
|
8997
9006
|
const a = e[t];
|
|
8998
9007
|
if (!a) return e;
|
|
8999
|
-
const l =
|
|
9008
|
+
const l = Gk(a.elements, n);
|
|
9000
9009
|
if (l === a.elements) return e;
|
|
9001
9010
|
const o = e.slice();
|
|
9002
9011
|
return o[t] = {
|
|
@@ -9007,11 +9016,11 @@ function Gk(e) {
|
|
|
9007
9016
|
o !== t.value && (t.value = o);
|
|
9008
9017
|
const i = t.value[l], r = i ? a.value[i.id] : void 0;
|
|
9009
9018
|
if (!i || !r) return;
|
|
9010
|
-
const s =
|
|
9019
|
+
const s = Gk(r, e);
|
|
9011
9020
|
s !== r && (a.value = lr(a.value, i.id, s));
|
|
9012
9021
|
};
|
|
9013
9022
|
}
|
|
9014
|
-
function
|
|
9023
|
+
function Kk(e) {
|
|
9015
9024
|
const { canEdit: t, hasSelection: n, presenting: a, findOpen: l, selectedElementIds: o, activeSlide: i, activeSlideIndex: r, slides: s, templateElementsBySlideId: u, pushHistory: c, undo: d, redo: p, copyElement: v, cutElement: m, pasteElement: f, onPasteSpecial: h, duplicateSelected: y, deleteSelected: g, goPrev: x, goNext: k, onEscape: w, onGroup: b, onUngroup: S, presentFromBeginning: E, startPresenting: I, inlineEditingElementId: _, tableEditorIsEditing: C, activeTool: P, selectedElements: T, selectElement: D, ribbonUpdateTextStyle: M, addSlide: O, openHyperlinkForSelection: L, toggleFormatPainter: z, applyFormatToTarget: A, cancelFormatPainter: F } = e, N = Ss(!1);
|
|
9016
9025
|
function R() {
|
|
9017
9026
|
o.value = (i.value?.elements ?? []).map((e) => e.id);
|
|
@@ -9025,7 +9034,7 @@ function qk(e) {
|
|
|
9025
9034
|
e && m(e);
|
|
9026
9035
|
}
|
|
9027
9036
|
const W = function(e) {
|
|
9028
|
-
const { selectedElementIds: t, activeSlideIndex: n, slides: a, templateElementsBySlideId: l, pushHistory: o } = e, i =
|
|
9037
|
+
const { selectedElementIds: t, activeSlideIndex: n, slides: a, templateElementsBySlideId: l, pushHistory: o } = e, i = qk({
|
|
9029
9038
|
slides: a,
|
|
9030
9039
|
activeSlideIndex: n,
|
|
9031
9040
|
templateElementsBySlideId: l
|
|
@@ -9075,7 +9084,7 @@ function qk(e) {
|
|
|
9075
9084
|
const t = (i.value?.elements ?? []).map((e) => e.id), n = Sn(t, o.value[0] ?? null, e);
|
|
9076
9085
|
n && D(n, !1);
|
|
9077
9086
|
}
|
|
9078
|
-
const H =
|
|
9087
|
+
const H = Wx({
|
|
9079
9088
|
canPaste: e.canPaste,
|
|
9080
9089
|
actions: {
|
|
9081
9090
|
undo: d,
|
|
@@ -9154,7 +9163,7 @@ function qk(e) {
|
|
|
9154
9163
|
selectAllElements: R
|
|
9155
9164
|
};
|
|
9156
9165
|
}
|
|
9157
|
-
function
|
|
9166
|
+
function Yk(e) {
|
|
9158
9167
|
const { slides: t, activeSlideIndex: n, pushHistory: a } = e, l = e.selectedElementIds ?? Ss([]), o = Zr(() => t.value[n.value]), i = (e) => {
|
|
9159
9168
|
const l = n.value;
|
|
9160
9169
|
t.value[l] && (a(), t.value = t.value.map((t, n) => n === l ? {
|
|
@@ -9247,7 +9256,7 @@ function Kk(e) {
|
|
|
9247
9256
|
}
|
|
9248
9257
|
};
|
|
9249
9258
|
}
|
|
9250
|
-
function
|
|
9259
|
+
function Xk(e) {
|
|
9251
9260
|
const { findActiveElement: t, pushHistory: n, effectiveZoom: a, activeTemplateElements: l, activeSlide: o, activeSlideIndex: i, slides: r, templateElementsBySlideId: s, canvasSize: u, enterInlineEdit: c, gridSpacingPx: d } = e, p = function(e) {
|
|
9252
9261
|
const t = Ss(!1), n = Ss(!1), a = Ss([]), l = Ss([]);
|
|
9253
9262
|
return {
|
|
@@ -9292,13 +9301,13 @@ function Yk(e) {
|
|
|
9292
9301
|
elements: u
|
|
9293
9302
|
}, t.value = c;
|
|
9294
9303
|
};
|
|
9295
|
-
}(y), x =
|
|
9304
|
+
}(y), x = qk(y);
|
|
9296
9305
|
let k = null, w = !0, b = !1;
|
|
9297
9306
|
const S = cn({
|
|
9298
9307
|
getScale: () => a.value,
|
|
9299
9308
|
getElementBox: (e) => {
|
|
9300
9309
|
const n = t(e);
|
|
9301
|
-
return n ?
|
|
9310
|
+
return n ? Px(n) : void 0;
|
|
9302
9311
|
},
|
|
9303
9312
|
getSiblings: () => {
|
|
9304
9313
|
if (!k) return [];
|
|
@@ -9380,7 +9389,7 @@ function Yk(e) {
|
|
|
9380
9389
|
cancelElementDrag: () => S.dispose(),
|
|
9381
9390
|
onTransformStart: function(e) {
|
|
9382
9391
|
const a = e ? t(e.id) : void 0;
|
|
9383
|
-
I = a ? ui(a) : null, _ = a ?
|
|
9392
|
+
I = a ? ui(a) : null, _ = a ? Px(a) : null, n();
|
|
9384
9393
|
},
|
|
9385
9394
|
onTransform: function(e) {
|
|
9386
9395
|
E(C(e));
|
|
@@ -9402,7 +9411,7 @@ function Yk(e) {
|
|
|
9402
9411
|
}
|
|
9403
9412
|
};
|
|
9404
9413
|
}
|
|
9405
|
-
function
|
|
9414
|
+
function Zk(e) {
|
|
9406
9415
|
const { canvasSize: t, ops: n, selectedElementIds: a, activeSlideIndex: l } = e, o = function(e) {
|
|
9407
9416
|
const { slides: t, activeSlideIndex: n, handler: a, pushHistory: l, templateElementsBySlideId: o } = e;
|
|
9408
9417
|
return {
|
|
@@ -9550,27 +9559,27 @@ function Xk(e) {
|
|
|
9550
9559
|
...o
|
|
9551
9560
|
};
|
|
9552
9561
|
}
|
|
9553
|
-
var
|
|
9562
|
+
var Jk = /["\\\n\r;}<>]/u, Qk = /* @__PURE__ */ new Set([
|
|
9554
9563
|
"truetype",
|
|
9555
9564
|
"opentype",
|
|
9556
9565
|
"woff",
|
|
9557
9566
|
"woff2"
|
|
9558
|
-
]),
|
|
9559
|
-
function
|
|
9567
|
+
]), ew = /^data:font\/[a-z0-9+.-]+(?:;charset=[a-z0-9-]+)?;base64,[a-z0-9+/=]+$/iu;
|
|
9568
|
+
function tw() {
|
|
9560
9569
|
return "undefined" != typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "undefined" != typeof Blob;
|
|
9561
9570
|
}
|
|
9562
|
-
var
|
|
9571
|
+
var nw = {
|
|
9563
9572
|
truetype: "font/ttf",
|
|
9564
9573
|
opentype: "font/otf",
|
|
9565
9574
|
woff: "font/woff",
|
|
9566
9575
|
woff2: "font/woff2"
|
|
9567
9576
|
};
|
|
9568
|
-
function
|
|
9577
|
+
function aw(e) {
|
|
9569
9578
|
const t = "string" == typeof e.name ? e.name.trim() : "";
|
|
9570
|
-
if (0 === t.length ||
|
|
9579
|
+
if (0 === t.length || Jk.test(t)) return null;
|
|
9571
9580
|
const n = e.bold ? "700" : "400", a = e.italic ? "italic" : "normal";
|
|
9572
|
-
if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") ||
|
|
9573
|
-
const l = e.format &&
|
|
9581
|
+
if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") || ew.test(l))) {
|
|
9582
|
+
const l = e.format && Qk.has(e.format) ? e.format : "truetype";
|
|
9574
9583
|
return {
|
|
9575
9584
|
name: t,
|
|
9576
9585
|
url: e.dataUrl,
|
|
@@ -9580,10 +9589,10 @@ function nw(e) {
|
|
|
9580
9589
|
};
|
|
9581
9590
|
}
|
|
9582
9591
|
var l;
|
|
9583
|
-
if (!
|
|
9592
|
+
if (!tw()) return null;
|
|
9584
9593
|
let o;
|
|
9585
9594
|
if (e.rawFontData && e.rawFontData.length > 0 ? o = e.rawFontData : e.originalPartBytes && e.originalPartBytes.length > 0 && e.fontGuid && (o = (0, lu.deobfuscateFont)(e.originalPartBytes, e.fontGuid)), !o || o.length < 4) return null;
|
|
9586
|
-
const i = (0, lu.detectFontFormat)(o), r =
|
|
9595
|
+
const i = (0, lu.detectFontFormat)(o), r = Qk.has(i) ? i : "truetype", s = nw[r] ?? "font/ttf", u = new Uint8Array(o.length);
|
|
9587
9596
|
u.set(o);
|
|
9588
9597
|
const c = new Blob([u], { type: s }), d = URL.createObjectURL(c);
|
|
9589
9598
|
return {
|
|
@@ -9595,7 +9604,7 @@ function nw(e) {
|
|
|
9595
9604
|
objectUrl: d
|
|
9596
9605
|
};
|
|
9597
9606
|
}
|
|
9598
|
-
function
|
|
9607
|
+
function lw(e) {
|
|
9599
9608
|
return [
|
|
9600
9609
|
"@font-face {",
|
|
9601
9610
|
`\tfont-family: "${e.name}";`,
|
|
@@ -9606,22 +9615,22 @@ function aw(e) {
|
|
|
9606
9615
|
"}"
|
|
9607
9616
|
].join("\n");
|
|
9608
9617
|
}
|
|
9609
|
-
function
|
|
9618
|
+
function ow(e) {
|
|
9610
9619
|
let t = [], n = null;
|
|
9611
9620
|
const a = (e) => {
|
|
9612
|
-
if (
|
|
9621
|
+
if (tw()) for (const t of e) URL.revokeObjectURL(t);
|
|
9613
9622
|
}, l = Zr(() => {
|
|
9614
9623
|
const n = Ms(e) ?? [], l = t, o = [], i = [];
|
|
9615
9624
|
for (const e of n) {
|
|
9616
|
-
const t =
|
|
9625
|
+
const t = aw(e);
|
|
9617
9626
|
t && (i.push(t), t.objectUrl && o.push(t.objectUrl));
|
|
9618
9627
|
}
|
|
9619
9628
|
return t = o, a(l), i;
|
|
9620
|
-
}), o = Zr(() => l.value.map(
|
|
9629
|
+
}), o = Zr(() => l.value.map(lw).join("\n\n")), i = Zr(() => {
|
|
9621
9630
|
const e = /* @__PURE__ */ new Set(), t = [];
|
|
9622
9631
|
for (const n of l.value) e.has(n.name) || (e.add(n.name), t.push((0, lu.getSubstituteFontFamily)(n.name)));
|
|
9623
9632
|
return t;
|
|
9624
|
-
}), r = As(() => Ms(e) ?? [], (e) =>
|
|
9633
|
+
}), r = As(() => Ms(e) ?? [], (e) => Wg.registerEmbeddedFonts(e), { immediate: !0 }), s = As(o, (e) => {
|
|
9625
9634
|
if ("undefined" != typeof document && "function" == typeof document.createElement && void 0 !== document.head) {
|
|
9626
9635
|
if (0 === e.length) return n && n.parentNode && n.parentNode.removeChild(n), void (n = null);
|
|
9627
9636
|
n || (n = document.createElement("style"), n.id = "pptx-vue-embedded-fonts", document.head.appendChild(n)), n.textContent = e;
|
|
@@ -9634,11 +9643,11 @@ function lw(e) {
|
|
|
9634
9643
|
fontFamilies: i
|
|
9635
9644
|
};
|
|
9636
9645
|
}
|
|
9637
|
-
function
|
|
9646
|
+
function iw(e) {
|
|
9638
9647
|
const t = "string" == typeof e || void 0 === e ? e : e.value;
|
|
9639
9648
|
return ci(t);
|
|
9640
9649
|
}
|
|
9641
|
-
function
|
|
9650
|
+
function rw(e) {
|
|
9642
9651
|
const { slides: t, canvasSize: n, rasterizeSlide: a } = e, l = Ss(!1);
|
|
9643
9652
|
return {
|
|
9644
9653
|
exporting: l,
|
|
@@ -9647,7 +9656,7 @@ function iw(e) {
|
|
|
9647
9656
|
l.value = !0;
|
|
9648
9657
|
try {
|
|
9649
9658
|
const t = e.rasterizeSlideToRaster ? await Eo(await e.rasterizeSlideToRaster(n)) : (await a(n)).toDataURL("image/png");
|
|
9650
|
-
Fn(t, `${
|
|
9659
|
+
Fn(t, `${iw(e.fileName)}-slide-${n + 1}.png`);
|
|
9651
9660
|
} finally {
|
|
9652
9661
|
l.value = !1;
|
|
9653
9662
|
}
|
|
@@ -9677,14 +9686,14 @@ function iw(e) {
|
|
|
9677
9686
|
c.addImage(e.toDataURL("image/png"), "PNG", 0, 0, o, s);
|
|
9678
9687
|
}
|
|
9679
9688
|
}
|
|
9680
|
-
c.save(`${
|
|
9689
|
+
c.save(`${iw(e.fileName)}.pdf`);
|
|
9681
9690
|
} finally {
|
|
9682
9691
|
l.value = !1;
|
|
9683
9692
|
}
|
|
9684
9693
|
}
|
|
9685
9694
|
};
|
|
9686
9695
|
}
|
|
9687
|
-
function
|
|
9696
|
+
function sw(e) {
|
|
9688
9697
|
const { exporter: t, mediaExport: n } = e, { t: a } = Dv(), l = Ss(!1), o = Ss(""), i = Ss(0), r = Ss("");
|
|
9689
9698
|
let s = null;
|
|
9690
9699
|
function u(e) {
|
|
@@ -9752,12 +9761,12 @@ function rw(e) {
|
|
|
9752
9761
|
}
|
|
9753
9762
|
};
|
|
9754
9763
|
}
|
|
9755
|
-
var
|
|
9756
|
-
function
|
|
9764
|
+
var uw = 2e3;
|
|
9765
|
+
function cw(e) {
|
|
9757
9766
|
const t = "string" == typeof e || void 0 === e ? e : e.value;
|
|
9758
9767
|
return ci(t);
|
|
9759
9768
|
}
|
|
9760
|
-
function
|
|
9769
|
+
function dw(e, t) {
|
|
9761
9770
|
const { width: n, height: a } = bt(e.width, e.height, t);
|
|
9762
9771
|
let l = e;
|
|
9763
9772
|
if (n !== e.width || a !== e.height) {
|
|
@@ -9774,16 +9783,16 @@ function cw(e, t) {
|
|
|
9774
9783
|
height: a
|
|
9775
9784
|
};
|
|
9776
9785
|
}
|
|
9777
|
-
var
|
|
9778
|
-
function
|
|
9786
|
+
var pw = 3e3, vw = 30, mw = 5e6;
|
|
9787
|
+
function fw(e, t, n) {
|
|
9779
9788
|
const a = e.captureStream(t);
|
|
9780
9789
|
return new MediaRecorder(a, n);
|
|
9781
9790
|
}
|
|
9782
|
-
function
|
|
9791
|
+
function hw(e) {
|
|
9783
9792
|
if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
9784
9793
|
}
|
|
9785
|
-
function
|
|
9786
|
-
const { slideCount: t, rasterizeSlide: n } = e, a = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-BavNpjL0.js")).encodeGif), l = e.createRecorder ??
|
|
9794
|
+
function yw(e) {
|
|
9795
|
+
const { slideCount: t, rasterizeSlide: n } = e, a = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-BavNpjL0.js")).encodeGif), l = e.createRecorder ?? fw, o = e.createCanvas ?? (() => document.createElement("canvas")), i = e.downloadBlob ?? An, r = Ss(!1), s = Ss(0);
|
|
9787
9796
|
return {
|
|
9788
9797
|
exporting: r,
|
|
9789
9798
|
progress: s,
|
|
@@ -9791,21 +9800,21 @@ function hw(e) {
|
|
|
9791
9800
|
return async function(e, t = {}) {
|
|
9792
9801
|
const { slideCount: n, rasterizeSlide: a, loadGifEncoder: l, exporting: o, progress: i } = e, r = e.downloadBlob ?? An, s = n.value;
|
|
9793
9802
|
if (o.value || 0 === s) return;
|
|
9794
|
-
const { slideDurationMs: u =
|
|
9803
|
+
const { slideDurationMs: u = uw, slideTimingsMs: c, maxSide: d = h, onProgress: p, signal: v } = t;
|
|
9795
9804
|
o.value = !0, i.value = 0;
|
|
9796
9805
|
try {
|
|
9797
9806
|
const t = [];
|
|
9798
9807
|
for (let e = 0; e < s; e++) {
|
|
9799
9808
|
if (v?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
9800
9809
|
p?.(e, s);
|
|
9801
|
-
const n =
|
|
9810
|
+
const n = dw(await a(e), d);
|
|
9802
9811
|
n && (t.push(n), i.value = Math.round((e + 1) / s * 90));
|
|
9803
9812
|
}
|
|
9804
9813
|
if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for GIF export");
|
|
9805
9814
|
const n = await l(), o = c?.[0], m = void 0 !== o && c?.every((e) => e === o) ? o : u, f = n(t, Math.max(1, Math.round(m / 10))), h = new ArrayBuffer(f.length);
|
|
9806
9815
|
new Uint8Array(h).set(f);
|
|
9807
9816
|
const y = new Blob([h], { type: "image/gif" });
|
|
9808
|
-
return p?.(s, s), i.value = 95, r(y, `${
|
|
9817
|
+
return p?.(s, s), i.value = 95, r(y, `${cw(e.fileName)}.gif`), i.value = 100, y;
|
|
9809
9818
|
} finally {
|
|
9810
9819
|
o.value = !1;
|
|
9811
9820
|
}
|
|
@@ -9822,11 +9831,11 @@ function hw(e) {
|
|
|
9822
9831
|
exportWebm: async function(a = {}) {
|
|
9823
9832
|
const u = t.value;
|
|
9824
9833
|
if (r.value || 0 === u) return;
|
|
9825
|
-
const { slideDurationMs: c =
|
|
9834
|
+
const { slideDurationMs: c = pw, slideTimingsMs: d, fps: p = vw, videoBitsPerSecond: v = mw, onProgress: m, onRecordProgress: f, signal: h } = a;
|
|
9826
9835
|
r.value = !0, s.value = 0;
|
|
9827
9836
|
try {
|
|
9828
9837
|
const t = [];
|
|
9829
|
-
for (let e = 0; e < u; e++)
|
|
9838
|
+
for (let e = 0; e < u; e++) hw(h), m?.(e, u), t.push(await n(e)), s.value = Math.round((e + 1) / u * 45);
|
|
9830
9839
|
if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for video export");
|
|
9831
9840
|
const a = t[0], r = o();
|
|
9832
9841
|
r.width = a.width, r.height = a.height;
|
|
@@ -9864,7 +9873,7 @@ function hw(e) {
|
|
|
9864
9873
|
}
|
|
9865
9874
|
g.stop(), await k;
|
|
9866
9875
|
const a = new Blob(x, { type: "video/webm" });
|
|
9867
|
-
return m?.(u, u), s.value = 95, i(a, `${
|
|
9876
|
+
return m?.(u, u), s.value = 95, i(a, `${cw(e.fileName)}.webm`), s.value = 100, a;
|
|
9868
9877
|
} finally {
|
|
9869
9878
|
Er(g.stream);
|
|
9870
9879
|
}
|
|
@@ -9874,7 +9883,7 @@ function hw(e) {
|
|
|
9874
9883
|
}
|
|
9875
9884
|
};
|
|
9876
9885
|
}
|
|
9877
|
-
function
|
|
9886
|
+
function gw(e) {
|
|
9878
9887
|
const { mergedSlides: t, slides: n, slideCount: a, canvasSize: l, activeSlideIndex: o, saveAs: i, imageExportScale: r } = e, s = Ss(null), u = Ss(0), c = Zr(() => t.value[u.value]), { rasterizeSlide: d, rasterizeSlideToRaster: p, rasterizeSlideToTiles: v } = function(e) {
|
|
9879
9888
|
const { exportStageRef: t, exportIndex: n, canvasSize: a, imageExportScale: l } = e;
|
|
9880
9889
|
async function o(e) {
|
|
@@ -9889,7 +9898,7 @@ function yw(e) {
|
|
|
9889
9898
|
return 2 * (l?.() ?? 1) * e;
|
|
9890
9899
|
}
|
|
9891
9900
|
function r(e, t, n) {
|
|
9892
|
-
return
|
|
9901
|
+
return $k(e, {
|
|
9893
9902
|
backgroundColor: "#ffffff",
|
|
9894
9903
|
scale: n.width / (t.width || 1),
|
|
9895
9904
|
x: t.x,
|
|
@@ -9930,16 +9939,16 @@ function yw(e) {
|
|
|
9930
9939
|
exportIndex: u,
|
|
9931
9940
|
canvasSize: l,
|
|
9932
9941
|
imageExportScale: r
|
|
9933
|
-
}), m =
|
|
9942
|
+
}), m = rw({
|
|
9934
9943
|
slides: n,
|
|
9935
9944
|
canvasSize: l,
|
|
9936
9945
|
rasterizeSlide: d,
|
|
9937
9946
|
rasterizeSlideToRaster: p,
|
|
9938
9947
|
rasterizeSlideToTiles: v
|
|
9939
|
-
}), f =
|
|
9948
|
+
}), f = yw({
|
|
9940
9949
|
slideCount: a,
|
|
9941
9950
|
rasterizeSlide: d
|
|
9942
|
-
}), h =
|
|
9951
|
+
}), h = sw({
|
|
9943
9952
|
exporter: m,
|
|
9944
9953
|
mediaExport: f
|
|
9945
9954
|
});
|
|
@@ -9996,7 +10005,7 @@ function yw(e) {
|
|
|
9996
10005
|
}
|
|
9997
10006
|
};
|
|
9998
10007
|
}
|
|
9999
|
-
function
|
|
10008
|
+
function xw({ slides: e, activeSlideIndex: t, pushHistory: n }) {
|
|
10000
10009
|
const a = Ss(""), l = Ss(""), o = Ss(!1), i = Ss(!1), r = Ss(!0), s = Ss(!1), u = Ss(0), c = Zr(() => Jn(e.value, a.value, {
|
|
10001
10010
|
matchCase: o.value,
|
|
10002
10011
|
includeNotes: i.value,
|
|
@@ -10042,7 +10051,7 @@ function gw({ slides: e, activeSlideIndex: t, pushHistory: n }) {
|
|
|
10042
10051
|
}
|
|
10043
10052
|
};
|
|
10044
10053
|
}
|
|
10045
|
-
function
|
|
10054
|
+
function kw(e) {
|
|
10046
10055
|
const { slides: t, embeddedFonts: n } = e, a = Ss(!1), l = Zr(() => Tt(t.value)), o = Zr(() => n.value.map((e) => e.name)), i = Zr(() => Tn(o.value)), r = Ss(i.value.initialEnabled);
|
|
10047
10056
|
return As(i, (e) => {
|
|
10048
10057
|
r.value = e.initialEnabled;
|
|
@@ -10054,7 +10063,7 @@ function xw(e) {
|
|
|
10054
10063
|
fontEmbedding: i
|
|
10055
10064
|
};
|
|
10056
10065
|
}
|
|
10057
|
-
function
|
|
10066
|
+
function ww(e) {
|
|
10058
10067
|
const { selectedElements: t, findActiveElement: n, ops: a } = e, l = Ss(!1), o = Ss(null), i = Zr(() => 1 === t.value.length && tl(t.value[0]));
|
|
10059
10068
|
function r() {
|
|
10060
10069
|
l.value = !1, o.value = null;
|
|
@@ -10076,7 +10085,7 @@ function kw(e) {
|
|
|
10076
10085
|
}
|
|
10077
10086
|
};
|
|
10078
10087
|
}
|
|
10079
|
-
function
|
|
10088
|
+
function bw(e) {
|
|
10080
10089
|
const { headerFooter: t } = e, n = Ss(!1);
|
|
10081
10090
|
return {
|
|
10082
10091
|
showHeaderFooter: n,
|
|
@@ -10085,7 +10094,7 @@ function ww(e) {
|
|
|
10085
10094
|
}
|
|
10086
10095
|
};
|
|
10087
10096
|
}
|
|
10088
|
-
function
|
|
10097
|
+
function Sw(e) {
|
|
10089
10098
|
const { canEdit: t, presenting: n, activeTool: a, activeSlide: l, selectedElementIds: o, ops: i } = e;
|
|
10090
10099
|
return {
|
|
10091
10100
|
drawingActive: Zr(() => t() && !n.value && "select" !== a.value),
|
|
@@ -10106,7 +10115,7 @@ function bw(e) {
|
|
|
10106
10115
|
}
|
|
10107
10116
|
};
|
|
10108
10117
|
}
|
|
10109
|
-
function
|
|
10118
|
+
function Ew(e) {
|
|
10110
10119
|
const { canEdit: t, findActiveElement: n, ops: a } = e;
|
|
10111
10120
|
function l(t) {
|
|
10112
10121
|
const n = e.proofing?.();
|
|
@@ -10185,7 +10194,7 @@ function Sw(e) {
|
|
|
10185
10194
|
}
|
|
10186
10195
|
};
|
|
10187
10196
|
}
|
|
10188
|
-
function
|
|
10197
|
+
function Iw(e) {
|
|
10189
10198
|
const { ops: t, selectedElementIds: n, findActiveElement: a } = e, l = Ss(!1), o = Ss(!1), i = Ss(null), r = Ss(null);
|
|
10190
10199
|
function s() {
|
|
10191
10200
|
o.value = !1, i.value = null, r.value = null;
|
|
@@ -10210,7 +10219,7 @@ function Ew(e) {
|
|
|
10210
10219
|
closeEquationEditor: s
|
|
10211
10220
|
};
|
|
10212
10221
|
}
|
|
10213
|
-
function
|
|
10222
|
+
function _w(e) {
|
|
10214
10223
|
if (e <= 0 || "undefined" == typeof document) return;
|
|
10215
10224
|
const t = document.activeElement;
|
|
10216
10225
|
if (!function(e) {
|
|
@@ -10227,7 +10236,7 @@ function Iw(e) {
|
|
|
10227
10236
|
behavior: "smooth"
|
|
10228
10237
|
});
|
|
10229
10238
|
}
|
|
10230
|
-
function
|
|
10239
|
+
function Cw() {
|
|
10231
10240
|
const e = Ss(0), t = Ss(!1);
|
|
10232
10241
|
return hs(() => {
|
|
10233
10242
|
if ("undefined" == typeof window) return;
|
|
@@ -10235,11 +10244,11 @@ function _w() {
|
|
|
10235
10244
|
if (!n) return;
|
|
10236
10245
|
const a = () => {
|
|
10237
10246
|
const n = Do(window), a = n ? $t(n) : 0;
|
|
10238
|
-
e.value = a, t.value = El(a), a > 0 && window.requestAnimationFrame(() =>
|
|
10247
|
+
e.value = a, t.value = El(a), a > 0 && window.requestAnimationFrame(() => _w(a));
|
|
10239
10248
|
}, l = () => {
|
|
10240
10249
|
window.requestAnimationFrame(() => {
|
|
10241
10250
|
const e = Do(window), t = e ? $t(e) : 0;
|
|
10242
|
-
t > 0 &&
|
|
10251
|
+
t > 0 && _w(t);
|
|
10243
10252
|
});
|
|
10244
10253
|
};
|
|
10245
10254
|
a(), n.addEventListener("resize", a), n.addEventListener("scroll", a), document.addEventListener("focusin", l), ys(() => {
|
|
@@ -10250,7 +10259,7 @@ function _w() {
|
|
|
10250
10259
|
isKeyboardOpen: bs(t)
|
|
10251
10260
|
};
|
|
10252
10261
|
}
|
|
10253
|
-
async function
|
|
10262
|
+
async function Pw(e) {
|
|
10254
10263
|
try {
|
|
10255
10264
|
const t = await Hs.loadAsync(e), n = new Vs({
|
|
10256
10265
|
ignoreAttributes: !1,
|
|
@@ -10270,7 +10279,7 @@ async function Cw(e) {
|
|
|
10270
10279
|
return [];
|
|
10271
10280
|
}
|
|
10272
10281
|
}
|
|
10273
|
-
function
|
|
10282
|
+
function Tw(e, t) {
|
|
10274
10283
|
const n = Ps([]), a = Ps({}), l = Ss({
|
|
10275
10284
|
width: 1280,
|
|
10276
10285
|
height: 720
|
|
@@ -10361,7 +10370,7 @@ function Pw(e, t) {
|
|
|
10361
10370
|
te = await Ti(te, (e) => U.getImageData(e));
|
|
10362
10371
|
const ne = await Di(Y.tableStyleMap, (e) => U.getImageData(e));
|
|
10363
10372
|
te = await Mi(te, (e) => U.getImageData(e));
|
|
10364
|
-
const ae = Y.hasDigitalSignatures && G instanceof ArrayBuffer ? await
|
|
10373
|
+
const ae = Y.hasDigitalSignatures && G instanceof ArrayBuffer ? await Pw(G) : [];
|
|
10365
10374
|
if (W !== R) return;
|
|
10366
10375
|
const le = po(te);
|
|
10367
10376
|
K?.dispose(), B(Array.from(c.value.values())), B($), $ = H, V.commit(), m.value = U, n.value = le.slides, a.value = le.templateElementsBySlideId, c.value = Z, l.value = {
|
|
@@ -10425,7 +10434,7 @@ function Pw(e, t) {
|
|
|
10425
10434
|
getRecoverySnapshot: () => W("pptx", "recovery-snapshot")
|
|
10426
10435
|
};
|
|
10427
10436
|
}
|
|
10428
|
-
function
|
|
10437
|
+
function Dw() {
|
|
10429
10438
|
const e = Ss(!1), t = Ss("slides"), n = Ss(0), a = Ss(null);
|
|
10430
10439
|
return {
|
|
10431
10440
|
showMasterView: e,
|
|
@@ -10441,13 +10450,13 @@ function Tw() {
|
|
|
10441
10450
|
}
|
|
10442
10451
|
};
|
|
10443
10452
|
}
|
|
10444
|
-
var
|
|
10453
|
+
var Mw = {
|
|
10445
10454
|
slides: "slides",
|
|
10446
10455
|
format: "inspector",
|
|
10447
10456
|
comments: "comments",
|
|
10448
10457
|
notes: "notes"
|
|
10449
10458
|
};
|
|
10450
|
-
function
|
|
10459
|
+
function Ow(e) {
|
|
10451
10460
|
const { presenting: t, addText: n } = e, a = Ss(!1), l = Ss(!1), o = Ss(!1), i = Ss(!1);
|
|
10452
10461
|
function r(e) {
|
|
10453
10462
|
a.value = "slides" === e, l.value = "format" === e, o.value = "comments" === e, i.value = "notes" === e;
|
|
@@ -10460,8 +10469,8 @@ function Mw(e) {
|
|
|
10460
10469
|
mobileNotesOpen: i,
|
|
10461
10470
|
openMobileSheet: r,
|
|
10462
10471
|
toggleMobileSheet: function(e) {
|
|
10463
|
-
const t = s.value ?
|
|
10464
|
-
null === Rr(t,
|
|
10472
|
+
const t = s.value ? Mw[s.value] : null;
|
|
10473
|
+
null === Rr(t, Mw[e]) ? (a.value = !1, l.value = !1, o.value = !1, i.value = !1) : r(e);
|
|
10465
10474
|
},
|
|
10466
10475
|
activeSheet: s,
|
|
10467
10476
|
mobileQuickInsert: function() {
|
|
@@ -10472,7 +10481,7 @@ function Mw(e) {
|
|
|
10472
10481
|
}
|
|
10473
10482
|
};
|
|
10474
10483
|
}
|
|
10475
|
-
function
|
|
10484
|
+
function Lw(e) {
|
|
10476
10485
|
const { selectedElementIds: t, ops: n, clearSelection: a } = e;
|
|
10477
10486
|
return {
|
|
10478
10487
|
deleteSelected: function() {
|
|
@@ -10495,7 +10504,7 @@ function Ow(e) {
|
|
|
10495
10504
|
}
|
|
10496
10505
|
};
|
|
10497
10506
|
}
|
|
10498
|
-
function
|
|
10507
|
+
function zw() {
|
|
10499
10508
|
const e = Ss(!1), t = Ss(!1), n = Ss(null);
|
|
10500
10509
|
return {
|
|
10501
10510
|
showPasswordDialog: e,
|
|
@@ -10509,7 +10518,7 @@ function Lw() {
|
|
|
10509
10518
|
}
|
|
10510
10519
|
};
|
|
10511
10520
|
}
|
|
10512
|
-
function
|
|
10521
|
+
function Aw(e) {
|
|
10513
10522
|
const { slides: t, activeSlideIndex: n, pushHistory: a } = e, l = Ss("undefined" != typeof window && Pl(window.location.hash));
|
|
10514
10523
|
return {
|
|
10515
10524
|
presenting: l,
|
|
@@ -10542,22 +10551,22 @@ function zw(e) {
|
|
|
10542
10551
|
}
|
|
10543
10552
|
};
|
|
10544
10553
|
}
|
|
10545
|
-
function
|
|
10554
|
+
function Fw(e, t, n, a = {}) {
|
|
10546
10555
|
return lu.SvgExporter.exportSlide(e, t, n, a);
|
|
10547
10556
|
}
|
|
10548
|
-
function
|
|
10549
|
-
return new Blob([
|
|
10557
|
+
function Nw(e, t, n, a = {}) {
|
|
10558
|
+
return new Blob([Fw(e, t, n, a)], { type: "image/svg+xml;charset=utf-8" });
|
|
10550
10559
|
}
|
|
10551
|
-
function
|
|
10560
|
+
function Rw(e, t = {}) {
|
|
10552
10561
|
return lu.SvgExporter.exportAll(e, t);
|
|
10553
10562
|
}
|
|
10554
|
-
function
|
|
10555
|
-
return
|
|
10563
|
+
function $w(e, t = {}) {
|
|
10564
|
+
return Rw(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
|
|
10556
10565
|
}
|
|
10557
|
-
function
|
|
10566
|
+
function Bw(e) {
|
|
10558
10567
|
return ro(e);
|
|
10559
10568
|
}
|
|
10560
|
-
function
|
|
10569
|
+
function Ww(e, t, n, a, l, o) {
|
|
10561
10570
|
return Ze({
|
|
10562
10571
|
title: e,
|
|
10563
10572
|
bodyHtml: t,
|
|
@@ -10567,7 +10576,7 @@ function Bw(e, t, n, a, l, o) {
|
|
|
10567
10576
|
scaleToFit: o
|
|
10568
10577
|
});
|
|
10569
10578
|
}
|
|
10570
|
-
function
|
|
10579
|
+
function Uw(e) {
|
|
10571
10580
|
const { slides: t, activeSlideIndex: n, rasterizeSlide: a } = e, l = e.openPrintWindow, o = e.slideSize ?? Ss({
|
|
10572
10581
|
width: 960,
|
|
10573
10582
|
height: 540
|
|
@@ -10585,13 +10594,13 @@ function Ww(e) {
|
|
|
10585
10594
|
const d = t.value, p = zt(u.colorMode), v = r?.value ?? c, m = Gn(qt(u.slideRange, n.value, d.length, u.customRangeFrom, u.customRangeTo), d, v.advanced.printHiddenSlides);
|
|
10586
10595
|
if ("outline" === u.printWhat) {
|
|
10587
10596
|
const e = Ke(m, d);
|
|
10588
|
-
(l ??
|
|
10597
|
+
(l ?? Bw)(Ww("Outline", `<div class="outline-page">${e}</div>`, u.orientation, p, u.frameSlides, u.scaleToFit));
|
|
10589
10598
|
return;
|
|
10590
10599
|
}
|
|
10591
10600
|
if (0 === m.length) return;
|
|
10592
10601
|
if ("slides" === u.printWhat) try {
|
|
10593
|
-
const { width: e, height: t } = o.value, n = m.map((n) =>
|
|
10594
|
-
(l ??
|
|
10602
|
+
const { width: e, height: t } = o.value, n = m.map((n) => Fw(d[n], e, t));
|
|
10603
|
+
(l ?? Bw)(Xe(n, e, t, {
|
|
10595
10604
|
title: "Slides (Vector)",
|
|
10596
10605
|
orientation: u.orientation,
|
|
10597
10606
|
colorFilter: p,
|
|
@@ -10612,17 +10621,17 @@ function Ww(e) {
|
|
|
10612
10621
|
const l = await a(e, t);
|
|
10613
10622
|
n.push(l.toDataURL("image/png"));
|
|
10614
10623
|
}
|
|
10615
|
-
if ("slides" === u.printWhat) return void h(
|
|
10616
|
-
if ("notes" === u.printWhat) return void h(
|
|
10624
|
+
if ("slides" === u.printWhat) return void h(Ww("Slides", et(n, m), u.orientation, p, u.frameSlides, u.scaleToFit));
|
|
10625
|
+
if ("notes" === u.printWhat) return void h(Ww("Notes Pages", qe(n, m, d), "portrait", p, u.frameSlides, u.scaleToFit));
|
|
10617
10626
|
const l = u.slidesPerPage;
|
|
10618
|
-
h(
|
|
10627
|
+
h(Ww(`Handout ${l} per page`, $e(n, m, l, e.handoutMaster?.value), "portrait", p, u.frameSlides, u.scaleToFit));
|
|
10619
10628
|
} catch (e) {
|
|
10620
10629
|
console.error("[PowerPointViewer] Print layout failed:", e), f?.close();
|
|
10621
10630
|
}
|
|
10622
10631
|
}
|
|
10623
10632
|
};
|
|
10624
10633
|
}
|
|
10625
|
-
var
|
|
10634
|
+
var Vw = {
|
|
10626
10635
|
left: "left",
|
|
10627
10636
|
center: "centerH",
|
|
10628
10637
|
right: "right",
|
|
@@ -10630,10 +10639,10 @@ var Uw = {
|
|
|
10630
10639
|
middle: "middle",
|
|
10631
10640
|
bottom: "bottom"
|
|
10632
10641
|
};
|
|
10633
|
-
function
|
|
10642
|
+
function Hw(e) {
|
|
10634
10643
|
return "ellipse" === e || "roundRect" === e || "triangle" === e ? e : "rect";
|
|
10635
10644
|
}
|
|
10636
|
-
function
|
|
10645
|
+
function jw(e) {
|
|
10637
10646
|
const { canEdit: t, presenting: n, showMasterView: a, tableSelection: l, selectedElements: o, selectedElementIds: i, activeSlide: r, activeSlideIndex: s, slides: u, pushHistory: c, ops: d } = e;
|
|
10638
10647
|
return {
|
|
10639
10648
|
ribbonMode: Zr(() => n.value ? "present" : a.value ? "master" : t() ? "edit" : "preview"),
|
|
@@ -10743,7 +10752,7 @@ function Hw(e) {
|
|
|
10743
10752
|
}
|
|
10744
10753
|
};
|
|
10745
10754
|
}
|
|
10746
|
-
function
|
|
10755
|
+
function Gw(e) {
|
|
10747
10756
|
return {
|
|
10748
10757
|
toolbarSection: Ss("home"),
|
|
10749
10758
|
newShapeType: Ss("rect"),
|
|
@@ -10764,7 +10773,7 @@ function jw(e) {
|
|
|
10764
10773
|
eyedropperActive: Ss(!1)
|
|
10765
10774
|
};
|
|
10766
10775
|
}
|
|
10767
|
-
function
|
|
10776
|
+
function qw(e) {
|
|
10768
10777
|
const { sections: t, slides: n, activeSlideIndex: a, pushHistory: l } = e;
|
|
10769
10778
|
return {
|
|
10770
10779
|
addSection: (e, a) => {
|
|
@@ -10806,7 +10815,7 @@ function Gw(e) {
|
|
|
10806
10815
|
slidesBySection: Zr(() => el(t.value, n.value))
|
|
10807
10816
|
};
|
|
10808
10817
|
}
|
|
10809
|
-
function
|
|
10818
|
+
function Kw(e) {
|
|
10810
10819
|
const { findActiveElement: t, activeSlide: n, selectedElementIds: a, ops: l } = e;
|
|
10811
10820
|
return {
|
|
10812
10821
|
showSelectionPane: Ss(!1),
|
|
@@ -10826,8 +10835,8 @@ function qw(e) {
|
|
|
10826
10835
|
}
|
|
10827
10836
|
};
|
|
10828
10837
|
}
|
|
10829
|
-
function
|
|
10830
|
-
const { signatures: t, isDirty: n } = e, a = Ss(!1), l =
|
|
10838
|
+
function Yw(e) {
|
|
10839
|
+
const { signatures: t, isDirty: n } = e, a = Ss(!1), l = Ik(t), o = Zr(() => t.value.length > 0), i = Ss(!1), r = Ss(!1);
|
|
10831
10840
|
return As(() => n.value, (e) => {
|
|
10832
10841
|
e && o.value && !r.value && (i.value = !0);
|
|
10833
10842
|
}), {
|
|
@@ -10840,7 +10849,7 @@ function Kw(e) {
|
|
|
10840
10849
|
}
|
|
10841
10850
|
};
|
|
10842
10851
|
}
|
|
10843
|
-
function
|
|
10852
|
+
function Xw(e) {
|
|
10844
10853
|
const { slides: t, activeSlideIndex: n, activeSlide: a, pushHistory: l, selectedElements: o } = e;
|
|
10845
10854
|
function i(e) {
|
|
10846
10855
|
const a = n.value, o = t.value[a];
|
|
@@ -10920,7 +10929,7 @@ function Yw(e) {
|
|
|
10920
10929
|
}
|
|
10921
10930
|
};
|
|
10922
10931
|
}
|
|
10923
|
-
function
|
|
10932
|
+
function Zw(e) {
|
|
10924
10933
|
const { slides: t, activeSlideIndex: n, pushHistory: a } = e;
|
|
10925
10934
|
return {
|
|
10926
10935
|
addSlide: (e = n.value) => {
|
|
@@ -10955,7 +10964,7 @@ function Xw(e) {
|
|
|
10955
10964
|
}
|
|
10956
10965
|
};
|
|
10957
10966
|
}
|
|
10958
|
-
function
|
|
10967
|
+
function Jw(e) {
|
|
10959
10968
|
const { presentationProperties: t } = e, n = Ss(!1), a = Ss(!1);
|
|
10960
10969
|
return As(() => t.value.showSubtitles, (e) => {
|
|
10961
10970
|
a.value = Boolean(e);
|
|
@@ -10979,7 +10988,7 @@ function Zw(e) {
|
|
|
10979
10988
|
}
|
|
10980
10989
|
};
|
|
10981
10990
|
}
|
|
10982
|
-
function
|
|
10991
|
+
function Qw(e) {
|
|
10983
10992
|
const { canvasSize: t, slides: n, activeSlideIndex: a, pushHistory: l, theme: o } = e;
|
|
10984
10993
|
return { insertSlideFromTemplate: function(e) {
|
|
10985
10994
|
const i = Math.max(0, Math.min(a.value + 1, n.value.length));
|
|
@@ -10992,7 +11001,7 @@ function Jw(e) {
|
|
|
10992
11001
|
s.splice(i, 0, r), n.value = s, a.value = i;
|
|
10993
11002
|
} };
|
|
10994
11003
|
}
|
|
10995
|
-
function
|
|
11004
|
+
function eb(e) {
|
|
10996
11005
|
const { canEdit: t, findActiveElement: n, updateElement: a, canEditInline: l } = e;
|
|
10997
11006
|
function o(e, t) {
|
|
10998
11007
|
return Mo(t, t.layout, xi(t), t.style ?? "flat", e.id, {
|
|
@@ -11019,7 +11028,7 @@ function Qw(e) {
|
|
|
11019
11028
|
}
|
|
11020
11029
|
});
|
|
11021
11030
|
}
|
|
11022
|
-
function
|
|
11031
|
+
function tb(e) {
|
|
11023
11032
|
const { canEdit: t, canEditInline: n, findActiveElement: a, updateElement: l, commitTableCell: o } = e;
|
|
11024
11033
|
ws(wg, {
|
|
11025
11034
|
canEdit: n,
|
|
@@ -11052,7 +11061,7 @@ function eb(e) {
|
|
|
11052
11061
|
}
|
|
11053
11062
|
}), { tableSelection: i };
|
|
11054
11063
|
}
|
|
11055
|
-
function
|
|
11064
|
+
function nb(e) {
|
|
11056
11065
|
const t = Ss(!1), { slides: n, pptxTheme: a, themeColorMap: l, pushHistory: o, themeGalleryOpen: i, themeEditorOpen: r, templateElementsBySlideId: s } = e;
|
|
11057
11066
|
function u(e, t, i) {
|
|
11058
11067
|
o();
|
|
@@ -11085,21 +11094,21 @@ function tb(e) {
|
|
|
11085
11094
|
themeEditorBusy: t
|
|
11086
11095
|
};
|
|
11087
11096
|
}
|
|
11088
|
-
var
|
|
11089
|
-
function lb(e) {
|
|
11090
|
-
return `ver-${e}-${ab += 1}-${Math.random().toString(36).slice(2, 6)}`;
|
|
11091
|
-
}
|
|
11097
|
+
var ab = 50, lb = 0;
|
|
11092
11098
|
function ob(e) {
|
|
11093
|
-
return e.
|
|
11099
|
+
return `ver-${e}-${lb += 1}-${Math.random().toString(36).slice(2, 6)}`;
|
|
11094
11100
|
}
|
|
11095
11101
|
function ib(e) {
|
|
11102
|
+
return e.map(lu.cloneSlide);
|
|
11103
|
+
}
|
|
11104
|
+
function rb(e) {
|
|
11096
11105
|
const { slides: t, pushHistory: n } = e, a = Math.max(1, e.maxVersions ?? 50), l = Ps([]);
|
|
11097
11106
|
return {
|
|
11098
11107
|
versions: l,
|
|
11099
11108
|
hasVersions: Zr(() => l.value.length > 0),
|
|
11100
11109
|
capture: (e, n) => {
|
|
11101
|
-
const o =
|
|
11102
|
-
id:
|
|
11110
|
+
const o = ib(t.value), i = {
|
|
11111
|
+
id: ob(n),
|
|
11103
11112
|
label: e,
|
|
11104
11113
|
timestamp: n,
|
|
11105
11114
|
slideCount: o.length,
|
|
@@ -11110,7 +11119,7 @@ function ib(e) {
|
|
|
11110
11119
|
},
|
|
11111
11120
|
restore: (e) => {
|
|
11112
11121
|
const a = l.value.find((t) => t.id === e);
|
|
11113
|
-
return !!a && (n(), t.value =
|
|
11122
|
+
return !!a && (n(), t.value = ib(a.slides), !0);
|
|
11114
11123
|
},
|
|
11115
11124
|
remove: (e) => {
|
|
11116
11125
|
const t = l.value.filter((t) => t.id !== e);
|
|
@@ -11121,8 +11130,8 @@ function ib(e) {
|
|
|
11121
11130
|
}
|
|
11122
11131
|
};
|
|
11123
11132
|
}
|
|
11124
|
-
function
|
|
11125
|
-
const { slides: t, pushHistory: n } = e, a =
|
|
11133
|
+
function sb(e) {
|
|
11134
|
+
const { slides: t, pushHistory: n } = e, a = rb({
|
|
11126
11135
|
slides: t,
|
|
11127
11136
|
pushHistory: n
|
|
11128
11137
|
}), l = Ss(!1), o = Ss(null), i = Ss(null), r = Ss(null), s = Zr(() => null !== o.value);
|
|
@@ -11154,7 +11163,7 @@ function rb(e) {
|
|
|
11154
11163
|
}
|
|
11155
11164
|
};
|
|
11156
11165
|
}
|
|
11157
|
-
function
|
|
11166
|
+
function ub(e) {
|
|
11158
11167
|
return {
|
|
11159
11168
|
onSetMode: (t) => {
|
|
11160
11169
|
"present" === t ? e.startPresenting() : e.presenting.value = !1;
|
|
@@ -11189,7 +11198,7 @@ function sb(e) {
|
|
|
11189
11198
|
e.newShapeType.value = t;
|
|
11190
11199
|
},
|
|
11191
11200
|
onAddTextBox: e.addText,
|
|
11192
|
-
onAddShape: () => e.addShape(
|
|
11201
|
+
onAddShape: () => e.addShape(Hw(e.newShapeType.value)),
|
|
11193
11202
|
onAddTable: e.addTable,
|
|
11194
11203
|
onAddChart: e.addChart,
|
|
11195
11204
|
onAddSmartArt: () => {
|
|
@@ -11237,7 +11246,7 @@ function sb(e) {
|
|
|
11237
11246
|
},
|
|
11238
11247
|
onAddGuide: e.addGuide,
|
|
11239
11248
|
onAlignElements: (t) => {
|
|
11240
|
-
const n =
|
|
11249
|
+
const n = Vw[t];
|
|
11241
11250
|
n && e.onAlign(n);
|
|
11242
11251
|
},
|
|
11243
11252
|
onDistributeElements: (t) => {
|
|
@@ -11396,7 +11405,7 @@ function sb(e) {
|
|
|
11396
11405
|
onPresentationPropertiesChange: e.onPresentationPropertiesUpdate
|
|
11397
11406
|
};
|
|
11398
11407
|
}
|
|
11399
|
-
function
|
|
11408
|
+
function cb(e) {
|
|
11400
11409
|
return {
|
|
11401
11410
|
mode: e.ribbonMode.value,
|
|
11402
11411
|
canEdit: e.canEdit(),
|
|
@@ -11457,13 +11466,13 @@ function ub(e) {
|
|
|
11457
11466
|
collaboratorCount: e.collab.connectedCount.value
|
|
11458
11467
|
};
|
|
11459
11468
|
}
|
|
11460
|
-
function
|
|
11469
|
+
function db(e) {
|
|
11461
11470
|
return Zr(() => ({
|
|
11462
|
-
...
|
|
11463
|
-
...
|
|
11471
|
+
...cb(e),
|
|
11472
|
+
...ub(e)
|
|
11464
11473
|
}));
|
|
11465
11474
|
}
|
|
11466
|
-
function
|
|
11475
|
+
function pb(e) {
|
|
11467
11476
|
const t = Ss(!1), n = Ss({
|
|
11468
11477
|
...d,
|
|
11469
11478
|
autoSave: e.autoSave.value,
|
|
@@ -11523,4 +11532,4 @@ function db(e) {
|
|
|
11523
11532
|
}
|
|
11524
11533
|
};
|
|
11525
11534
|
}
|
|
11526
|
-
export {
|
|
11535
|
+
export { jk as $, Ig as $n, uk as $t, Pw as A, Ax as An, qv as Ar, L as At, bw as B, Cx as Bn, Dv as Br, ri as Bt, Fw as C, Gt as Cn, Jv as Cr, a as Ct, Lw as D, no as Dn, jv as Dr, k as Dt, zw as E, Ca as En, Zv as Er, p as Et, Cw as F, zx as Fn, Uv as Fr, G as Ft, yw as G, ix as Gn, dk as Gt, kw as H, xx as Hn, Qs as Hr, Ci as Ht, Iw as I, Ox as In, Fv as Ir, da as It, ow as J, Ug as Jn, lk as Jt, sw as K, lx as Kn, ck as Kt, Ew as L, Lx as Ln, Av as Lr, Ga as Lt, We as M, E as Mn, Bv as Mr, N as Mt, Ct as N, B as Nn, Vv as Nr, R as Nt, Ow as O, Ft as On, Kv as Or, M as Ot, Pt as P, Cl as Pn, Hv as Pr, H as Pt, Kk as Q, bg as Qn, sk as Qt, Ro as R, Dx as Rn, zv as Rr, Ya as Rt, $w as S, Un as Sn, vm as Sr, pk as St, Aw as T, Nn as Tn, em as Tr, u as Tt, xw as U, ux as Un, au as Ur, Li as Ut, ww as V, Ix as Vn, lu as Vr, gi as Vt, gw as W, sx as Wn, nu as Wr, Fi as Wt, Xk as X, Cg as Xn, nk as Xt, Zk as Y, Bg as Yn, ak as Yt, Yk as Z, Pg as Zn, rk as Zt, Vw as _, Wx as _n, Hf as _r, wk as _t, rb as a, Xx as an, zy as ar, Rk as at, Uw as b, Rx as bn, uf as br, hk as bt, eb as c, Gx as cn, Ay as cr, Fk as ct, Zw as d, jx as dn, py as dr, yl as dt, ze as en, Eg as er, Hk as et, Xw as f, Hx as fn, dy as fr, Dk as ft, Gw as g, $x as gn, Uf as gr, bk as gt, qw as h, P as hn, Wf as hr, Ik as ht, ab as i, Jx as in, $y as ir, $k as it, Tw as j, S as jn, Wv as jr, F as jt, Dw as k, an as kn, Gv as kr, O as kt, Qw as l, qx as ln, My as lr, Ak as lt, Kw as m, C as mn, Vf as mr, Ck as mt, db as n, Qx as nn, _g as nr, Uk as nt, nb as o, ek as on, Oy as or, aa as ot, Yw as p, Vx as pn, ny as pr, Pk as pt, rw as q, Wg as qn, ok as qt, sb as r, Zx as rn, hg as rr, Wk as rt, tb as s, Yx as sn, Ly as sr, Nk as st, pb as t, tk as tn, Sg as tr, Vk as tt, Jw as u, Kx as un, hy as ur, Je as ut, Hw as v, Fx as vn, Bf as vr, Sk as vt, Nw as w, qt as wn, Qv as wr, r as wt, Rw as x, g as xn, pm as xr, mk as xt, jw as y, Nx as yn, If as yr, kk as yt, Sw as z, Tx as zn, Lv as zr, ii as zt };
|