pptx-react-viewer 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{AiChatPanel-EX2TBRJM.mjs → AiChatPanel-CS4CONUO.mjs} +4 -4
- package/dist/AiChatPanel-CS4CONUO.mjs.br +0 -0
- package/dist/AiChatPanel-CS4CONUO.mjs.gz +0 -0
- package/dist/{AiChatPanel-PJPSDMN4.js → AiChatPanel-JIXSOZXN.js} +23 -23
- package/dist/AiChatPanel-JIXSOZXN.js.br +0 -0
- package/dist/AiChatPanel-JIXSOZXN.js.gz +0 -0
- package/dist/{Model3DScene-UCBPTEAY.js → Model3DScene-5KMJ4JL6.js} +2 -2
- package/dist/Model3DScene-5KMJ4JL6.js.br +0 -0
- package/dist/Model3DScene-5KMJ4JL6.js.gz +0 -0
- package/dist/{Model3DScene-TTQFV7OS.mjs → Model3DScene-RWFPSN6B.mjs} +1 -1
- package/dist/Model3DScene-RWFPSN6B.mjs.br +0 -0
- package/dist/Model3DScene-RWFPSN6B.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs → SurfaceChart3DScene-2GZQM3LN.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs.br → SurfaceChart3DScene-2GZQM3LN.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-2GZQM3LN.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-ADKCYYOQ.js → SurfaceChart3DScene-BIOKIETC.js} +2 -2
- package/dist/SurfaceChart3DScene-BIOKIETC.js.br +0 -0
- package/dist/SurfaceChart3DScene-BIOKIETC.js.gz +0 -0
- package/dist/{chunk-MM5RMRSP.js → chunk-2VUHJNWM.js} +243 -284
- package/dist/chunk-2VUHJNWM.js.br +0 -0
- package/dist/chunk-2VUHJNWM.js.gz +0 -0
- package/dist/{chunk-N6IHR6PS.js → chunk-3GNSGGY2.js} +377 -2
- package/dist/chunk-3GNSGGY2.js.br +0 -0
- package/dist/chunk-3GNSGGY2.js.gz +0 -0
- package/dist/{chunk-HK2UERUX.mjs → chunk-AOED5MFM.mjs} +45 -64
- package/dist/chunk-AOED5MFM.mjs.br +0 -0
- package/dist/chunk-AOED5MFM.mjs.gz +0 -0
- package/dist/{chunk-L2CM5EUD.mjs → chunk-BJQSHVYH.mjs} +220 -156
- package/dist/chunk-BJQSHVYH.mjs.br +0 -0
- package/dist/chunk-BJQSHVYH.mjs.gz +0 -0
- package/dist/{chunk-RJEY2KZH.mjs → chunk-CEUHGUZ4.mjs} +5 -46
- package/dist/chunk-CEUHGUZ4.mjs.br +0 -0
- package/dist/chunk-CEUHGUZ4.mjs.gz +0 -0
- package/dist/{chunk-53NXKDMZ.mjs → chunk-ECDKYPQ2.mjs} +377 -2
- package/dist/chunk-ECDKYPQ2.mjs.br +0 -0
- package/dist/chunk-ECDKYPQ2.mjs.gz +0 -0
- package/dist/{chunk-UZVRM6LD.mjs → chunk-EJRHYYKE.mjs} +1 -1
- package/dist/chunk-EJRHYYKE.mjs.br +0 -0
- package/dist/chunk-EJRHYYKE.mjs.gz +0 -0
- package/dist/{chunk-HMQVOPQH.js → chunk-PJUQQF3I.js} +538 -42
- package/dist/chunk-PJUQQF3I.js.br +0 -0
- package/dist/chunk-PJUQQF3I.js.gz +0 -0
- package/dist/{chunk-4J7SPY64.js → chunk-PTGTFXPU.js} +366 -385
- package/dist/chunk-PTGTFXPU.js.br +0 -0
- package/dist/chunk-PTGTFXPU.js.gz +0 -0
- package/dist/{chunk-C2UWTH42.mjs → chunk-QGHC65C4.mjs} +518 -43
- package/dist/chunk-QGHC65C4.mjs.br +0 -0
- package/dist/chunk-QGHC65C4.mjs.gz +0 -0
- package/dist/{chunk-E367QIKR.js → chunk-SP7U34QM.js} +1186 -1122
- package/dist/chunk-SP7U34QM.js.br +0 -0
- package/dist/chunk-SP7U34QM.js.gz +0 -0
- package/dist/{chunk-VNP627O5.js → chunk-ZIXSSQAZ.js} +3 -3
- package/dist/chunk-ZIXSSQAZ.js.br +0 -0
- package/dist/chunk-ZIXSSQAZ.js.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +36 -36
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +12 -1
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{useViewerBuildingBlocks-Rqxm0pRS.d.ts → useViewerBuildingBlocks-YvCYsxa3.d.ts} +5 -1
- package/dist/useViewerBuildingBlocks-YvCYsxa3.d.ts.map +1 -0
- package/dist/viewer/index.js +22 -22
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-EX2TBRJM.mjs.br +0 -0
- package/dist/AiChatPanel-EX2TBRJM.mjs.gz +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.br +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.gz +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.br +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.gz +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.br +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.gz +0 -0
- package/dist/SurfaceChart3DScene-5SZCRHZI.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.br +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.gz +0 -0
- package/dist/chunk-4J7SPY64.js.br +0 -0
- package/dist/chunk-4J7SPY64.js.gz +0 -0
- package/dist/chunk-53NXKDMZ.mjs.br +0 -0
- package/dist/chunk-53NXKDMZ.mjs.gz +0 -0
- package/dist/chunk-C2UWTH42.mjs.br +0 -0
- package/dist/chunk-C2UWTH42.mjs.gz +0 -0
- package/dist/chunk-E367QIKR.js.br +0 -0
- package/dist/chunk-E367QIKR.js.gz +0 -0
- package/dist/chunk-HK2UERUX.mjs.br +0 -0
- package/dist/chunk-HK2UERUX.mjs.gz +0 -0
- package/dist/chunk-HMQVOPQH.js.br +0 -0
- package/dist/chunk-HMQVOPQH.js.gz +0 -0
- package/dist/chunk-L2CM5EUD.mjs.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.gz +0 -0
- package/dist/chunk-MM5RMRSP.js.br +0 -0
- package/dist/chunk-MM5RMRSP.js.gz +0 -0
- package/dist/chunk-N6IHR6PS.js.br +0 -0
- package/dist/chunk-N6IHR6PS.js.gz +0 -0
- package/dist/chunk-RJEY2KZH.mjs.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.gz +0 -0
- package/dist/chunk-UZVRM6LD.mjs.br +0 -0
- package/dist/chunk-UZVRM6LD.mjs.gz +0 -0
- package/dist/chunk-VNP627O5.js.br +0 -0
- package/dist/chunk-VNP627O5.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-Rqxm0pRS.d.ts.map +0 -1
|
@@ -15924,6 +15924,15 @@ var MC_NAMESPACE_CAPABILITIES = {
|
|
|
15924
15924
|
"hiddenFill",
|
|
15925
15925
|
"hiddenLine"
|
|
15926
15926
|
]),
|
|
15927
|
+
// PowerPoint 2016+ writes the Morph transition as `<p159:morph @option>`,
|
|
15928
|
+
// either inside an `mc:Choice Requires="p159"` or in a `p:transition/p:extLst`
|
|
15929
|
+
// extension. Both forms are parsed (see `PptxSlideTransitionService`), so the
|
|
15930
|
+
// choice IS supported: without this entry every morph slide reported
|
|
15931
|
+
// `UNSUPPORTED_ALTERNATE_CONTENT_CHOICE`, which reads as "the transition was
|
|
15932
|
+
// dropped and the fallback fade was used" when in fact the morph plays.
|
|
15933
|
+
// `morph` alone is listed on purpose: any OTHER `p159:*` element still makes
|
|
15934
|
+
// the choice unsupported and falls back, which is the honest answer.
|
|
15935
|
+
p159: /* @__PURE__ */ new Set(["morph"]),
|
|
15927
15936
|
a14: /* @__PURE__ */ new Set(["m", "hiddenFill", "hiddenLine", "imgEffect", "imgLayer"]),
|
|
15928
15937
|
a16: /* @__PURE__ */ new Set(["svgBlip", "colId"]),
|
|
15929
15938
|
asvg: /* @__PURE__ */ new Set(["svgBlip"]),
|
|
@@ -87154,6 +87163,97 @@ function resolveDataPointMarker(series, pointIndex) {
|
|
|
87154
87163
|
fill: point?.spPr?.fillColor ?? series.marker?.spPr?.fillColor
|
|
87155
87164
|
};
|
|
87156
87165
|
}
|
|
87166
|
+
function schemaLabel(keys, token2, translate) {
|
|
87167
|
+
if (token2 === void 0) {
|
|
87168
|
+
return "";
|
|
87169
|
+
}
|
|
87170
|
+
const key = keys[token2];
|
|
87171
|
+
return key === void 0 ? token2 : translate(key);
|
|
87172
|
+
}
|
|
87173
|
+
var THEME_COLOR_SLOT_LABEL_KEYS = {
|
|
87174
|
+
dk1: "pptx.themeColor.dark1",
|
|
87175
|
+
lt1: "pptx.themeColor.light1",
|
|
87176
|
+
dk2: "pptx.themeColor.dark2",
|
|
87177
|
+
lt2: "pptx.themeColor.light2",
|
|
87178
|
+
accent1: "pptx.themeColor.accent1",
|
|
87179
|
+
accent2: "pptx.themeColor.accent2",
|
|
87180
|
+
accent3: "pptx.themeColor.accent3",
|
|
87181
|
+
accent4: "pptx.themeColor.accent4",
|
|
87182
|
+
accent5: "pptx.themeColor.accent5",
|
|
87183
|
+
accent6: "pptx.themeColor.accent6",
|
|
87184
|
+
hlink: "pptx.themeColor.hyperlink",
|
|
87185
|
+
folHlink: "pptx.themeColor.followedHyperlink"
|
|
87186
|
+
};
|
|
87187
|
+
var SMARTART_COLOR_SCHEME_LABEL_KEYS = {
|
|
87188
|
+
colorful1: "pptx.smartart.schemeColorful1",
|
|
87189
|
+
colorful2: "pptx.smartart.schemeColorful2",
|
|
87190
|
+
colorful3: "pptx.smartart.schemeColorful3",
|
|
87191
|
+
monochromatic1: "pptx.smartart.schemeMonochromatic1",
|
|
87192
|
+
monochromatic2: "pptx.smartart.schemeMonochromatic2"
|
|
87193
|
+
};
|
|
87194
|
+
var SMARTART_STYLE_LABEL_KEYS = {
|
|
87195
|
+
flat: "pptx.smartart.styleFlat",
|
|
87196
|
+
moderate: "pptx.smartart.styleModerate",
|
|
87197
|
+
intense: "pptx.smartart.styleIntense"
|
|
87198
|
+
};
|
|
87199
|
+
var FILL_PATTERN_LABEL_KEYS = {
|
|
87200
|
+
pct5: "pptx.fillPatterns.pct5",
|
|
87201
|
+
pct10: "pptx.fillPatterns.pct10",
|
|
87202
|
+
pct20: "pptx.fillPatterns.pct20",
|
|
87203
|
+
pct25: "pptx.fillPatterns.pct25",
|
|
87204
|
+
pct30: "pptx.fillPatterns.pct30",
|
|
87205
|
+
pct40: "pptx.fillPatterns.pct40",
|
|
87206
|
+
pct50: "pptx.fillPatterns.pct50",
|
|
87207
|
+
pct60: "pptx.fillPatterns.pct60",
|
|
87208
|
+
pct70: "pptx.fillPatterns.pct70",
|
|
87209
|
+
pct75: "pptx.fillPatterns.pct75",
|
|
87210
|
+
pct80: "pptx.fillPatterns.pct80",
|
|
87211
|
+
pct90: "pptx.fillPatterns.pct90",
|
|
87212
|
+
horz: "pptx.fillPatterns.horizontal",
|
|
87213
|
+
vert: "pptx.fillPatterns.vertical",
|
|
87214
|
+
ltHorz: "pptx.fillPatterns.lightHorizontal",
|
|
87215
|
+
ltVert: "pptx.fillPatterns.lightVertical",
|
|
87216
|
+
dkHorz: "pptx.fillPatterns.darkHorizontal",
|
|
87217
|
+
dkVert: "pptx.fillPatterns.darkVertical",
|
|
87218
|
+
narHorz: "pptx.fillPatterns.narrowHorizontal",
|
|
87219
|
+
narVert: "pptx.fillPatterns.narrowVertical",
|
|
87220
|
+
wdHorz: "pptx.fillPatterns.wideHorizontal",
|
|
87221
|
+
wdVert: "pptx.fillPatterns.wideVertical",
|
|
87222
|
+
dashHorz: "pptx.fillPatterns.dashedHorizontal",
|
|
87223
|
+
dashVert: "pptx.fillPatterns.dashedVertical",
|
|
87224
|
+
cross: "pptx.fillPatterns.cross",
|
|
87225
|
+
dnDiag: "pptx.fillPatterns.downDiagonal",
|
|
87226
|
+
upDiag: "pptx.fillPatterns.upDiagonal",
|
|
87227
|
+
ltDnDiag: "pptx.fillPatterns.lightDownDiagonal",
|
|
87228
|
+
ltUpDiag: "pptx.fillPatterns.lightUpDiagonal",
|
|
87229
|
+
dkDnDiag: "pptx.fillPatterns.darkDownDiagonal",
|
|
87230
|
+
dkUpDiag: "pptx.fillPatterns.darkUpDiagonal",
|
|
87231
|
+
wdDnDiag: "pptx.fillPatterns.wideDownDiagonal",
|
|
87232
|
+
wdUpDiag: "pptx.fillPatterns.wideUpDiagonal",
|
|
87233
|
+
dashDnDiag: "pptx.fillPatterns.dashedDownDiagonal",
|
|
87234
|
+
dashUpDiag: "pptx.fillPatterns.dashedUpDiagonal",
|
|
87235
|
+
diagCross: "pptx.fillPatterns.diagonalCross",
|
|
87236
|
+
smCheck: "pptx.fillPatterns.smallCheck",
|
|
87237
|
+
lgCheck: "pptx.fillPatterns.largeCheck",
|
|
87238
|
+
smGrid: "pptx.fillPatterns.smallGrid",
|
|
87239
|
+
lgGrid: "pptx.fillPatterns.largeGrid",
|
|
87240
|
+
dotGrid: "pptx.fillPatterns.dotGrid",
|
|
87241
|
+
smConfetti: "pptx.fillPatterns.smallConfetti",
|
|
87242
|
+
lgConfetti: "pptx.fillPatterns.largeConfetti",
|
|
87243
|
+
horzBrick: "pptx.fillPatterns.horizontalBrick",
|
|
87244
|
+
diagBrick: "pptx.fillPatterns.diagonalBrick",
|
|
87245
|
+
solidDmnd: "pptx.fillPatterns.solidDiamond",
|
|
87246
|
+
openDmnd: "pptx.fillPatterns.openDiamond",
|
|
87247
|
+
dotDmnd: "pptx.fillPatterns.dottedDiamond",
|
|
87248
|
+
plaid: "pptx.fillPatterns.plaid",
|
|
87249
|
+
sphere: "pptx.fillPatterns.sphere",
|
|
87250
|
+
weave: "pptx.fillPatterns.weave",
|
|
87251
|
+
divot: "pptx.fillPatterns.divot",
|
|
87252
|
+
shingle: "pptx.fillPatterns.shingle",
|
|
87253
|
+
wave: "pptx.fillPatterns.wave",
|
|
87254
|
+
trellis: "pptx.fillPatterns.trellis",
|
|
87255
|
+
zigZag: "pptx.fillPatterns.zigZag"
|
|
87256
|
+
};
|
|
87157
87257
|
function addChartSeries(data) {
|
|
87158
87258
|
return chartDataAddSeries(data, {
|
|
87159
87259
|
name: `Series ${data.series.length + 1}`,
|
|
@@ -92974,6 +93074,28 @@ var DIRECTIONAL_PRESETS = /* @__PURE__ */ new Set([
|
|
|
92974
93074
|
"floatIn",
|
|
92975
93075
|
"peekIn"
|
|
92976
93076
|
]);
|
|
93077
|
+
function animationPresetLabelKey(preset) {
|
|
93078
|
+
return `pptx.animation.preset.${preset}`;
|
|
93079
|
+
}
|
|
93080
|
+
function animationCatalogPresetSlug(presetId) {
|
|
93081
|
+
return presetId.split(".").map((part, index) => index === 0 ? part : part.charAt(0).toUpperCase() + part.slice(1)).join("");
|
|
93082
|
+
}
|
|
93083
|
+
function animationCatalogPresetLabelKey(presetId) {
|
|
93084
|
+
return `pptx.animation.catalogPreset.${animationCatalogPresetSlug(presetId)}`;
|
|
93085
|
+
}
|
|
93086
|
+
function isAnimationCatalogPresetId(token2) {
|
|
93087
|
+
return token2.includes(".");
|
|
93088
|
+
}
|
|
93089
|
+
function animationEffectLabelKey(anim) {
|
|
93090
|
+
const token2 = anim.entrance ?? anim.emphasis ?? anim.exit;
|
|
93091
|
+
if (!token2 || token2 === "none") {
|
|
93092
|
+
return anim.motionPath ? "pptx.animation.motionPath.label" : "pptx.animation.animation";
|
|
93093
|
+
}
|
|
93094
|
+
return isAnimationCatalogPresetId(token2) ? animationCatalogPresetLabelKey(token2) : animationPresetLabelKey(token2);
|
|
93095
|
+
}
|
|
93096
|
+
function animationEffectLabel(anim, translate) {
|
|
93097
|
+
return translate(animationEffectLabelKey(anim));
|
|
93098
|
+
}
|
|
92977
93099
|
var PRESET_ID_TO_EFFECT = {
|
|
92978
93100
|
entr: {
|
|
92979
93101
|
1: "appear",
|
|
@@ -97702,6 +97824,45 @@ function computeMarqueeHitIds(marquee, elements, minSize = MIN_ELEMENT_SIZE) {
|
|
|
97702
97824
|
function mergeAdditiveSelection(baseSelectionIds, hitIds) {
|
|
97703
97825
|
return Array.from(/* @__PURE__ */ new Set([...baseSelectionIds ?? [], ...hitIds]));
|
|
97704
97826
|
}
|
|
97827
|
+
function getImageFitStyle(el) {
|
|
97828
|
+
const uncropped = {
|
|
97829
|
+
width: "100%",
|
|
97830
|
+
height: "100%",
|
|
97831
|
+
objectFit: "cover"
|
|
97832
|
+
};
|
|
97833
|
+
if (!isImageLikeElement(el)) {
|
|
97834
|
+
return uncropped;
|
|
97835
|
+
}
|
|
97836
|
+
const cropLeft = clampCropValue(el.cropLeft);
|
|
97837
|
+
const cropTop = clampCropValue(el.cropTop);
|
|
97838
|
+
const cropRight = clampCropValue(el.cropRight);
|
|
97839
|
+
const cropBottom = clampCropValue(el.cropBottom);
|
|
97840
|
+
if (cropLeft + cropRight <= 1e-4 && cropTop + cropBottom <= 1e-4) {
|
|
97841
|
+
return uncropped;
|
|
97842
|
+
}
|
|
97843
|
+
const horizontalScale = cropLeft + cropRight >= 0.99 ? 0.99 / (cropLeft + cropRight) : 1;
|
|
97844
|
+
const verticalScale = cropTop + cropBottom >= 0.99 ? 0.99 / (cropTop + cropBottom) : 1;
|
|
97845
|
+
const left = clampCropValue(cropLeft * horizontalScale);
|
|
97846
|
+
const right = clampCropValue(cropRight * horizontalScale);
|
|
97847
|
+
const top = clampCropValue(cropTop * verticalScale);
|
|
97848
|
+
const bottom = clampCropValue(cropBottom * verticalScale);
|
|
97849
|
+
const remainingWidth = Math.max(0.01, 1 - left - right);
|
|
97850
|
+
const remainingHeight = Math.max(0.01, 1 - top - bottom);
|
|
97851
|
+
const tx = Math.round(-left / remainingWidth * 1e4) / 100;
|
|
97852
|
+
const ty = Math.round(-top / remainingHeight * 1e4) / 100;
|
|
97853
|
+
const sx = Math.round(1 / remainingWidth * 1e6) / 1e6;
|
|
97854
|
+
const sy = Math.round(1 / remainingHeight * 1e6) / 1e6;
|
|
97855
|
+
return {
|
|
97856
|
+
position: "absolute",
|
|
97857
|
+
width: "100%",
|
|
97858
|
+
height: "100%",
|
|
97859
|
+
maxWidth: "none",
|
|
97860
|
+
maxHeight: "none",
|
|
97861
|
+
objectFit: "fill",
|
|
97862
|
+
transformOrigin: "top left",
|
|
97863
|
+
transform: `translate(${tx}%, ${ty}%) scale(${sx}, ${sy})`
|
|
97864
|
+
};
|
|
97865
|
+
}
|
|
97705
97866
|
function groupElements(elements, ids, groupId) {
|
|
97706
97867
|
const idSet = new Set(ids);
|
|
97707
97868
|
const gathered = [];
|
|
@@ -99772,6 +99933,12 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
|
|
|
99772
99933
|
}
|
|
99773
99934
|
return out;
|
|
99774
99935
|
}
|
|
99936
|
+
function differentText(a, b) {
|
|
99937
|
+
const textOf2 = (element) => (element.text ?? "").replace(/\s+/gu, " ").trim();
|
|
99938
|
+
const fromText = textOf2(a);
|
|
99939
|
+
const toText = textOf2(b);
|
|
99940
|
+
return fromText !== "" && toText !== "" && fromText !== toText;
|
|
99941
|
+
}
|
|
99775
99942
|
var NV_PR_KEYS = [
|
|
99776
99943
|
"p:nvSpPr",
|
|
99777
99944
|
"p:nvPicPr",
|
|
@@ -99886,6 +100053,9 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
99886
100053
|
if (fromEl.type !== toEl.type) {
|
|
99887
100054
|
continue;
|
|
99888
100055
|
}
|
|
100056
|
+
if (differentText(fromEl, toEl)) {
|
|
100057
|
+
continue;
|
|
100058
|
+
}
|
|
99889
100059
|
const widthRatio = Math.max(fromEl.width, toEl.width, 1) / Math.max(Math.min(fromEl.width, toEl.width), 1);
|
|
99890
100060
|
const heightRatio = Math.max(fromEl.height, toEl.height, 1) / Math.max(Math.min(fromEl.height, toEl.height), 1);
|
|
99891
100061
|
if (widthRatio > PROXIMITY_SIZE_RATIO_LIMIT || heightRatio > PROXIMITY_SIZE_RATIO_LIMIT) {
|
|
@@ -100142,6 +100312,27 @@ function appearanceSignature(element, depth = 0) {
|
|
|
100142
100312
|
function morphPairNeedsCrossfade(fromElement, toElement) {
|
|
100143
100313
|
return appearanceSignature(fromElement) !== appearanceSignature(toElement);
|
|
100144
100314
|
}
|
|
100315
|
+
var GEOMETRY_EPSILON = 0.5;
|
|
100316
|
+
function isInertMorphPair(fromElement, toElement) {
|
|
100317
|
+
return Math.abs(fromElement.x - toElement.x) <= GEOMETRY_EPSILON && Math.abs(fromElement.y - toElement.y) <= GEOMETRY_EPSILON && Math.abs(fromElement.width - toElement.width) <= GEOMETRY_EPSILON && Math.abs(fromElement.height - toElement.height) <= GEOMETRY_EPSILON && (fromElement.rotation ?? 0) === (toElement.rotation ?? 0) && Boolean(fromElement.flipHorizontal) === Boolean(toElement.flipHorizontal) && Boolean(fromElement.flipVertical) === Boolean(toElement.flipVertical) && (fromElement.opacity ?? 1) === (toElement.opacity ?? 1) && !morphPairNeedsCrossfade(fromElement, toElement);
|
|
100318
|
+
}
|
|
100319
|
+
function crossfadeIncomingMayFadeIn(element) {
|
|
100320
|
+
const image = element;
|
|
100321
|
+
if (image.imagePath || image.svgPath) {
|
|
100322
|
+
return false;
|
|
100323
|
+
}
|
|
100324
|
+
if (!hasShapeProperties(element)) {
|
|
100325
|
+
return true;
|
|
100326
|
+
}
|
|
100327
|
+
const style = element.shapeStyle;
|
|
100328
|
+
if (!style) {
|
|
100329
|
+
return true;
|
|
100330
|
+
}
|
|
100331
|
+
if (style.fillMode === "none" || (style.fillOpacity ?? 1) === 0) {
|
|
100332
|
+
return true;
|
|
100333
|
+
}
|
|
100334
|
+
return !(style.fillColor || style.fillGradient || style.fillGradientStops?.length || style.fillPatternPreset || style.fillImageUrl);
|
|
100335
|
+
}
|
|
100145
100336
|
function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
100146
100337
|
const animations = [];
|
|
100147
100338
|
for (let index = 0; index < pairs2.length; index++) {
|
|
@@ -100156,13 +100347,15 @@ function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
|
100156
100347
|
const toRot = toElement.rotation ?? 0;
|
|
100157
100348
|
const fromRot = shortestRotationTarget(toRot, fromElement.rotation ?? 0);
|
|
100158
100349
|
const flips = `${toElement.flipHorizontal ? " scaleX(-1)" : ""}${toElement.flipVertical ? " scaleY(-1)" : ""}`;
|
|
100350
|
+
const inert = isInertMorphPair(fromElement, toElement);
|
|
100351
|
+
const crossfadesIn = !inert && morphPairNeedsCrossfade(fromElement, toElement) && crossfadeIncomingMayFadeIn(toElement);
|
|
100159
100352
|
const fromProps = [
|
|
100160
100353
|
` transform: translate(${dx}px, ${dy}px) scale(${sx}, ${sy}) rotate(${fromRot}deg)${flips};`,
|
|
100161
|
-
` opacity: ${fromOpacity};`
|
|
100354
|
+
` opacity: ${inert ? 0 : crossfadesIn ? 0 : fromOpacity};`
|
|
100162
100355
|
];
|
|
100163
100356
|
const toProps = [
|
|
100164
100357
|
` transform: translate(0, 0) scale(1, 1) rotate(${toRot}deg)${flips};`,
|
|
100165
|
-
` opacity: ${toOpacity};`
|
|
100358
|
+
` opacity: ${inert ? 0 : toOpacity};`
|
|
100166
100359
|
];
|
|
100167
100360
|
const colorInterp = buildColorInterpolationProps(fromElement, toElement);
|
|
100168
100361
|
if (colorInterp) {
|
|
@@ -107388,9 +107581,117 @@ async function openNativeEyeDropper() {
|
|
|
107388
107581
|
return null;
|
|
107389
107582
|
}
|
|
107390
107583
|
}
|
|
107584
|
+
var PEN_COLORS = [
|
|
107585
|
+
"#ff0000",
|
|
107586
|
+
"#0000ff",
|
|
107587
|
+
"#00aa00",
|
|
107588
|
+
"#ff8800",
|
|
107589
|
+
"#ffffff",
|
|
107590
|
+
"#000000",
|
|
107591
|
+
"#ff00ff",
|
|
107592
|
+
"#00cccc"
|
|
107593
|
+
];
|
|
107594
|
+
var HIGHLIGHTER_COLORS = [
|
|
107595
|
+
"#ffff00",
|
|
107596
|
+
"#00ff00",
|
|
107597
|
+
"#ff69b4",
|
|
107598
|
+
"#00bfff",
|
|
107599
|
+
"#ff8c00",
|
|
107600
|
+
"#adff2f",
|
|
107601
|
+
"#ff6347",
|
|
107602
|
+
"#87ceeb"
|
|
107603
|
+
];
|
|
107391
107604
|
function formatSlideCounter(currentSlide, totalSlides) {
|
|
107392
107605
|
return `${currentSlide + 1} / ${totalSlides}`;
|
|
107393
107606
|
}
|
|
107607
|
+
var PRESENT_TOOLBAR_CONTROLS = [
|
|
107608
|
+
{
|
|
107609
|
+
id: "previous",
|
|
107610
|
+
kind: "button",
|
|
107611
|
+
labelKey: "pptx.presenter.previousSlide",
|
|
107612
|
+
icon: "chevron-left"
|
|
107613
|
+
},
|
|
107614
|
+
{ id: "counter", kind: "counter" },
|
|
107615
|
+
{ id: "next", kind: "button", labelKey: "pptx.presenter.nextSlide", icon: "chevron-right" },
|
|
107616
|
+
{ id: "divider-navigation", kind: "divider" },
|
|
107617
|
+
{ id: "timer", kind: "timer", labelKey: "pptx.presenter.elapsed", icon: "timer" },
|
|
107618
|
+
{ id: "divider-timer", kind: "divider" },
|
|
107619
|
+
{
|
|
107620
|
+
id: "laser",
|
|
107621
|
+
kind: "toggle",
|
|
107622
|
+
labelKey: "pptx.presentation.laserPointer",
|
|
107623
|
+
icon: "mouse-pointer-2"
|
|
107624
|
+
},
|
|
107625
|
+
{ id: "pen", kind: "toggle", labelKey: "pptx.presentation.pen", icon: "pen-tool" },
|
|
107626
|
+
{
|
|
107627
|
+
id: "pen-color",
|
|
107628
|
+
kind: "caret",
|
|
107629
|
+
labelKey: "pptx.presentationToolbar.penColor",
|
|
107630
|
+
icon: "chevron-down"
|
|
107631
|
+
},
|
|
107632
|
+
{
|
|
107633
|
+
id: "highlighter",
|
|
107634
|
+
kind: "toggle",
|
|
107635
|
+
labelKey: "pptx.presentation.highlighter",
|
|
107636
|
+
icon: "highlighter"
|
|
107637
|
+
},
|
|
107638
|
+
{
|
|
107639
|
+
id: "highlighter-color",
|
|
107640
|
+
kind: "caret",
|
|
107641
|
+
labelKey: "pptx.presentationToolbar.highlighterColor",
|
|
107642
|
+
icon: "chevron-down"
|
|
107643
|
+
},
|
|
107644
|
+
{ id: "eraser", kind: "toggle", labelKey: "pptx.presentation.eraser", icon: "eraser" },
|
|
107645
|
+
{ id: "clear", kind: "button", labelKey: "pptx.presentation.clearAnnotations", icon: "trash-2" },
|
|
107646
|
+
{ id: "divider-tools", kind: "divider" },
|
|
107647
|
+
{
|
|
107648
|
+
id: "presenter-view",
|
|
107649
|
+
kind: "toggle",
|
|
107650
|
+
labelKey: "pptx.presenter.presenterView",
|
|
107651
|
+
icon: "panel-right"
|
|
107652
|
+
},
|
|
107653
|
+
{ id: "end", kind: "button", labelKey: "pptx.presenter.endPresentation", icon: "x" }
|
|
107654
|
+
];
|
|
107655
|
+
PRESENT_TOOLBAR_CONTROLS.map(
|
|
107656
|
+
(control) => control.id
|
|
107657
|
+
);
|
|
107658
|
+
PRESENT_TOOLBAR_CONTROLS.flatMap(
|
|
107659
|
+
(control) => control.labelKey === void 0 ? [] : [control.labelKey]
|
|
107660
|
+
);
|
|
107661
|
+
var PRESENT_TOOLBAR_CLASSES = {
|
|
107662
|
+
/** The floating bar itself. */
|
|
107663
|
+
container: "flex items-center gap-1 px-3 py-2 rounded-xl bg-neutral-900/90 backdrop-blur-md border border-white/15 shadow-2xl",
|
|
107664
|
+
/** The auto-hiding positioner the bar sits in. */
|
|
107665
|
+
wrapper: "absolute bottom-6 left-1/2 -translate-x-1/2 z-[80] transition-opacity duration-300",
|
|
107666
|
+
/** Navigation / action button. */
|
|
107667
|
+
button: "flex items-center justify-center w-9 h-9 rounded-md transition-colors text-white/70 hover:text-white hover:bg-white/10 disabled:text-white/20 disabled:cursor-not-allowed",
|
|
107668
|
+
/** Annotation-tool toggle, inactive. */
|
|
107669
|
+
toggle: "relative flex items-center justify-center w-9 h-9 rounded-md transition-colors text-white/70 hover:text-white hover:bg-white/10",
|
|
107670
|
+
/** Annotation-tool toggle, active. */
|
|
107671
|
+
toggleActive: "relative flex items-center justify-center w-9 h-9 rounded-md transition-colors bg-white/25 text-white",
|
|
107672
|
+
/** Colour caret beside a tool toggle. */
|
|
107673
|
+
caret: "flex items-center justify-center w-7 h-9 -ml-1 rounded-r-md transition-colors text-white/50 hover:text-white hover:bg-white/10",
|
|
107674
|
+
/** Vertical hairline between groups. */
|
|
107675
|
+
divider: "w-px h-6 bg-white/20 mx-1",
|
|
107676
|
+
/** Slide counter. */
|
|
107677
|
+
counter: "text-xs font-mono tabular-nums text-white/80 px-1.5 select-none min-w-[48px] text-center",
|
|
107678
|
+
/** Elapsed-time readout. */
|
|
107679
|
+
timer: "flex items-center gap-1.5 text-xs font-mono tabular-nums text-white/60 px-1 select-none",
|
|
107680
|
+
/**
|
|
107681
|
+
* Colour palette popover.
|
|
107682
|
+
*
|
|
107683
|
+
* `w-max` is load-bearing. An absolutely positioned grid shrink-to-fits its
|
|
107684
|
+
* positioned ancestor, which here is the 64px tool+caret pair, so without it
|
|
107685
|
+
* the four 36px swatch columns are squeezed into 50px and overlap each other
|
|
107686
|
+
* to the point that a swatch cannot be clicked. React shipped it that way,
|
|
107687
|
+
* and the ports faithfully reproduced the defect.
|
|
107688
|
+
*/
|
|
107689
|
+
palette: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 p-3 w-max bg-neutral-800 rounded-lg border border-white/20 shadow-xl grid grid-cols-4 gap-2",
|
|
107690
|
+
/** One colour swatch inside the palette. */
|
|
107691
|
+
swatch: "w-9 h-9 rounded-full border-2 transition-transform hover:scale-110",
|
|
107692
|
+
/** Underline showing a tool's current colour. */
|
|
107693
|
+
swatchBar: "absolute bottom-0.5 left-1/2 -translate-x-1/2 w-3 h-0.5 rounded-full"
|
|
107694
|
+
};
|
|
107394
107695
|
function createPresentationKeyBuffer() {
|
|
107395
107696
|
return { digits: "" };
|
|
107396
107697
|
}
|
|
@@ -108892,6 +109193,134 @@ function getAriaRoleDescription(element) {
|
|
|
108892
109193
|
return void 0;
|
|
108893
109194
|
}
|
|
108894
109195
|
}
|
|
109196
|
+
function shouldLoopContinuously(input) {
|
|
109197
|
+
return Boolean(input.loopContinuously) || input.showType === "kiosk";
|
|
109198
|
+
}
|
|
109199
|
+
function resolveAutoAdvanceDelayMs(slide, options) {
|
|
109200
|
+
if (options?.useTimings === false) {
|
|
109201
|
+
return void 0;
|
|
109202
|
+
}
|
|
109203
|
+
const advanceAfterMs = slide?.transition?.advanceAfterMs;
|
|
109204
|
+
if (typeof advanceAfterMs !== "number" || !Number.isFinite(advanceAfterMs) || advanceAfterMs < 0) {
|
|
109205
|
+
return void 0;
|
|
109206
|
+
}
|
|
109207
|
+
return advanceAfterMs;
|
|
109208
|
+
}
|
|
109209
|
+
var PRESENTATION_INERT_CLICK_SELECTOR = 'a, button, input, select, textarea, video, audio, [data-pptx-action], [role="dialog"]';
|
|
109210
|
+
function isInertMedia(node) {
|
|
109211
|
+
return (node.tagName === "VIDEO" || node.tagName === "AUDIO") && !node.controls;
|
|
109212
|
+
}
|
|
109213
|
+
function isPresentationAdvanceClick(target) {
|
|
109214
|
+
if (typeof Element === "undefined" || !(target instanceof Element)) {
|
|
109215
|
+
return false;
|
|
109216
|
+
}
|
|
109217
|
+
for (let node = target; node !== null; node = node.parentElement) {
|
|
109218
|
+
if (isInertMedia(node)) {
|
|
109219
|
+
continue;
|
|
109220
|
+
}
|
|
109221
|
+
if (node.matches(PRESENTATION_INERT_CLICK_SELECTOR)) {
|
|
109222
|
+
return false;
|
|
109223
|
+
}
|
|
109224
|
+
}
|
|
109225
|
+
return true;
|
|
109226
|
+
}
|
|
109227
|
+
function applyRehearsalTimings(slides, timings) {
|
|
109228
|
+
return slides.map((slide, index) => {
|
|
109229
|
+
const advanceAfterMs = timings[index];
|
|
109230
|
+
if (typeof advanceAfterMs !== "number") {
|
|
109231
|
+
return slide;
|
|
109232
|
+
}
|
|
109233
|
+
return {
|
|
109234
|
+
...slide,
|
|
109235
|
+
transition: {
|
|
109236
|
+
...slide.transition,
|
|
109237
|
+
type: slide.transition?.type ?? "none",
|
|
109238
|
+
advanceAfterMs
|
|
109239
|
+
}
|
|
109240
|
+
};
|
|
109241
|
+
});
|
|
109242
|
+
}
|
|
109243
|
+
function computeEntranceAnimationDelay(delayMs, animationIndex) {
|
|
109244
|
+
return Math.max(0, delayMs || 0) + animationIndex * 60;
|
|
109245
|
+
}
|
|
109246
|
+
var NO_OP_ACTION = "ppaction://noaction";
|
|
109247
|
+
function isNoOpPresentationAction(action) {
|
|
109248
|
+
if (!action) {
|
|
109249
|
+
return true;
|
|
109250
|
+
}
|
|
109251
|
+
const verb = (action.action ?? "").trim().toLowerCase();
|
|
109252
|
+
if (verb === NO_OP_ACTION) {
|
|
109253
|
+
return true;
|
|
109254
|
+
}
|
|
109255
|
+
return verb.length === 0 && typeof action.targetSlideIndex !== "number" && !(action.url ?? "").trim();
|
|
109256
|
+
}
|
|
109257
|
+
function resolvePresentationAction(action, options) {
|
|
109258
|
+
const soundPath = action?.soundPath;
|
|
109259
|
+
if (!action || isNoOpPresentationAction(action)) {
|
|
109260
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109261
|
+
}
|
|
109262
|
+
const verb = (action.action ?? "").toLowerCase();
|
|
109263
|
+
if (typeof action.targetSlideIndex === "number" && Number.isFinite(action.targetSlideIndex)) {
|
|
109264
|
+
if (options.slideCount <= 0) {
|
|
109265
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109266
|
+
}
|
|
109267
|
+
const slideIndex = Math.max(
|
|
109268
|
+
0,
|
|
109269
|
+
Math.min(options.slideCount - 1, Math.floor(action.targetSlideIndex))
|
|
109270
|
+
);
|
|
109271
|
+
return { intent: { kind: "goToSlide", slideIndex }, soundPath };
|
|
109272
|
+
}
|
|
109273
|
+
if (verb.includes("hlinkshowjump")) {
|
|
109274
|
+
if (verb.includes("nextslide")) {
|
|
109275
|
+
return { intent: { kind: "move", direction: 1 }, soundPath };
|
|
109276
|
+
}
|
|
109277
|
+
if (verb.includes("previousslide")) {
|
|
109278
|
+
return { intent: { kind: "move", direction: -1 }, soundPath };
|
|
109279
|
+
}
|
|
109280
|
+
if (verb.includes("firstslide")) {
|
|
109281
|
+
return { intent: { kind: "goToSlide", slideIndex: 0 }, soundPath };
|
|
109282
|
+
}
|
|
109283
|
+
if (verb.includes("lastslide")) {
|
|
109284
|
+
return {
|
|
109285
|
+
intent: options.slideCount > 0 ? { kind: "goToSlide", slideIndex: options.slideCount - 1 } : { kind: "none" },
|
|
109286
|
+
soundPath
|
|
109287
|
+
};
|
|
109288
|
+
}
|
|
109289
|
+
if (verb.includes("endshow")) {
|
|
109290
|
+
return { intent: { kind: "endShow" }, soundPath };
|
|
109291
|
+
}
|
|
109292
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109293
|
+
}
|
|
109294
|
+
if (verb.includes("hlinksldjump")) {
|
|
109295
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109296
|
+
}
|
|
109297
|
+
const url = (action.url ?? "").trim();
|
|
109298
|
+
if (url && isUrlSafe(url)) {
|
|
109299
|
+
return { intent: { kind: "openUrl", url }, soundPath };
|
|
109300
|
+
}
|
|
109301
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109302
|
+
}
|
|
109303
|
+
function runPresentationAction(action, options, runner) {
|
|
109304
|
+
const { intent, soundPath } = resolvePresentationAction(action, options);
|
|
109305
|
+
if (soundPath && runner.playSound) {
|
|
109306
|
+
runner.playSound(soundPath);
|
|
109307
|
+
}
|
|
109308
|
+
switch (intent.kind) {
|
|
109309
|
+
case "goToSlide":
|
|
109310
|
+
runner.goToSlide(intent.slideIndex);
|
|
109311
|
+
return true;
|
|
109312
|
+
case "move":
|
|
109313
|
+
runner.move(intent.direction);
|
|
109314
|
+
return true;
|
|
109315
|
+
case "endShow":
|
|
109316
|
+
runner.endShow();
|
|
109317
|
+
return true;
|
|
109318
|
+
case "openUrl":
|
|
109319
|
+
return safeOpenUrl(intent.url);
|
|
109320
|
+
default:
|
|
109321
|
+
return false;
|
|
109322
|
+
}
|
|
109323
|
+
}
|
|
108895
109324
|
function elementHasTextHyperlink(element) {
|
|
108896
109325
|
if (!hasTextProperties(element)) {
|
|
108897
109326
|
return false;
|
|
@@ -108900,10 +109329,10 @@ function elementHasTextHyperlink(element) {
|
|
|
108900
109329
|
}
|
|
108901
109330
|
function isElementActionable(element, options = {}) {
|
|
108902
109331
|
const { hasActionHandler = true, hasHyperlinkHandler = true, hasZoomHandler = true } = options;
|
|
108903
|
-
if (element.actionClick && hasActionHandler) {
|
|
109332
|
+
if (element.actionClick && hasActionHandler && !isNoOpPresentationAction(element.actionClick)) {
|
|
108904
109333
|
return true;
|
|
108905
109334
|
}
|
|
108906
|
-
if (element.actionHover) {
|
|
109335
|
+
if (element.actionHover && !isNoOpPresentationAction(element.actionHover)) {
|
|
108907
109336
|
return true;
|
|
108908
109337
|
}
|
|
108909
109338
|
if (hasHyperlinkHandler && elementHasTextHyperlink(element)) {
|
|
@@ -110968,55 +111397,101 @@ var VIEWER_SHORTCUT_REFERENCE = [
|
|
|
110968
111397
|
{ actionKey: "pptx.shortcuts.title", shortcut: "?" }
|
|
110969
111398
|
];
|
|
110970
111399
|
var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
|
|
110971
|
-
function
|
|
110972
|
-
|
|
110973
|
-
|
|
110974
|
-
|
|
110975
|
-
if (options?.useTimings === false) {
|
|
110976
|
-
return void 0;
|
|
111400
|
+
function resolveCustomShowIndexes(slides, customShow) {
|
|
111401
|
+
const keys = customShow.slideRIds ?? customShow.slideIds;
|
|
111402
|
+
if (!keys || keys.length === 0) {
|
|
111403
|
+
return [];
|
|
110977
111404
|
}
|
|
110978
|
-
const
|
|
110979
|
-
|
|
110980
|
-
|
|
111405
|
+
const byKey = /* @__PURE__ */ new Map();
|
|
111406
|
+
slides.forEach((slide, index) => {
|
|
111407
|
+
if (slide.id !== void 0 && !byKey.has(slide.id)) {
|
|
111408
|
+
byKey.set(slide.id, index);
|
|
111409
|
+
}
|
|
111410
|
+
});
|
|
111411
|
+
slides.forEach((slide, index) => {
|
|
111412
|
+
if (slide.rId !== void 0) {
|
|
111413
|
+
byKey.set(slide.rId, index);
|
|
111414
|
+
}
|
|
111415
|
+
});
|
|
111416
|
+
const resolved = [];
|
|
111417
|
+
for (const key of keys) {
|
|
111418
|
+
const index = byKey.get(key);
|
|
111419
|
+
if (index !== void 0) {
|
|
111420
|
+
resolved.push(index);
|
|
111421
|
+
}
|
|
110981
111422
|
}
|
|
110982
|
-
return
|
|
111423
|
+
return resolved;
|
|
110983
111424
|
}
|
|
110984
|
-
|
|
110985
|
-
|
|
110986
|
-
|
|
111425
|
+
function resolveShowSlideIndexes(slides, activeCustomShow) {
|
|
111426
|
+
const all = [];
|
|
111427
|
+
for (let index = 0; index < slides.length; index++) {
|
|
111428
|
+
all.push(index);
|
|
111429
|
+
}
|
|
111430
|
+
const base = activeCustomShow ? resolveCustomShowIndexes(slides, activeCustomShow) : all;
|
|
111431
|
+
const effectiveBase = base.length > 0 ? base : all;
|
|
111432
|
+
const visible = effectiveBase.filter((index) => !slides[index]?.hidden);
|
|
111433
|
+
return visible.length > 0 ? visible : effectiveBase;
|
|
110987
111434
|
}
|
|
110988
|
-
function
|
|
110989
|
-
|
|
110990
|
-
|
|
111435
|
+
function showPosition(deckIndex, showIndexes) {
|
|
111436
|
+
return showIndexes.indexOf(deckIndex);
|
|
111437
|
+
}
|
|
111438
|
+
function nextShowSlideIndex(deckIndex, showIndexes, options) {
|
|
111439
|
+
if (showIndexes.length === 0) {
|
|
111440
|
+
return void 0;
|
|
110991
111441
|
}
|
|
110992
|
-
|
|
110993
|
-
|
|
110994
|
-
|
|
111442
|
+
const position2 = showPosition(deckIndex, showIndexes);
|
|
111443
|
+
if (position2 >= 0) {
|
|
111444
|
+
if (position2 + 1 < showIndexes.length) {
|
|
111445
|
+
return showIndexes[position2 + 1];
|
|
110995
111446
|
}
|
|
110996
|
-
|
|
110997
|
-
|
|
111447
|
+
return options?.loop ? showIndexes[0] : void 0;
|
|
111448
|
+
}
|
|
111449
|
+
for (const candidate of showIndexes) {
|
|
111450
|
+
if (candidate > deckIndex) {
|
|
111451
|
+
return candidate;
|
|
110998
111452
|
}
|
|
110999
111453
|
}
|
|
111000
|
-
return
|
|
111454
|
+
return options?.loop ? showIndexes[0] : void 0;
|
|
111001
111455
|
}
|
|
111002
|
-
function
|
|
111003
|
-
|
|
111004
|
-
|
|
111005
|
-
|
|
111006
|
-
|
|
111456
|
+
function previousShowSlideIndex(deckIndex, showIndexes) {
|
|
111457
|
+
if (showIndexes.length === 0) {
|
|
111458
|
+
return void 0;
|
|
111459
|
+
}
|
|
111460
|
+
const position2 = showPosition(deckIndex, showIndexes);
|
|
111461
|
+
if (position2 >= 0) {
|
|
111462
|
+
return position2 > 0 ? showIndexes[position2 - 1] : void 0;
|
|
111463
|
+
}
|
|
111464
|
+
let previous;
|
|
111465
|
+
for (const candidate of showIndexes) {
|
|
111466
|
+
if (candidate < deckIndex) {
|
|
111467
|
+
previous = candidate;
|
|
111007
111468
|
}
|
|
111008
|
-
|
|
111009
|
-
|
|
111010
|
-
transition: {
|
|
111011
|
-
...slide.transition,
|
|
111012
|
-
type: slide.transition?.type ?? "none",
|
|
111013
|
-
advanceAfterMs
|
|
111014
|
-
}
|
|
111015
|
-
};
|
|
111016
|
-
});
|
|
111469
|
+
}
|
|
111470
|
+
return previous;
|
|
111017
111471
|
}
|
|
111018
|
-
function
|
|
111019
|
-
return
|
|
111472
|
+
function hasShowSlideAfter(deckIndex, showIndexes) {
|
|
111473
|
+
return nextShowSlideIndex(deckIndex, showIndexes) !== void 0;
|
|
111474
|
+
}
|
|
111475
|
+
function nextPresentedSlide(slides, deckIndex) {
|
|
111476
|
+
const next = nextShowSlideIndex(deckIndex, resolveShowSlideIndexes(slides));
|
|
111477
|
+
return next === void 0 ? void 0 : slides[next];
|
|
111478
|
+
}
|
|
111479
|
+
function firstShowSlideIndex(showIndexes) {
|
|
111480
|
+
return showIndexes.length > 0 ? showIndexes[0] : void 0;
|
|
111481
|
+
}
|
|
111482
|
+
function lastShowSlideIndex(showIndexes) {
|
|
111483
|
+
return showIndexes.length > 0 ? showIndexes[showIndexes.length - 1] : void 0;
|
|
111484
|
+
}
|
|
111485
|
+
var HIDDEN_SLIDE_LABEL_KEY = "pptx.slideSorter.hidden";
|
|
111486
|
+
var HIDDEN_SLIDE_SLASH_GRADIENT = "linear-gradient(to top right, transparent 47%, color-mix(in srgb, currentColor 60%, transparent) 47%, color-mix(in srgb, currentColor 60%, transparent) 53%, transparent 53%)";
|
|
111487
|
+
function hiddenSlideLabelId(surface, slideIndex) {
|
|
111488
|
+
return `pptx-hidden-slide-${surface}-${slideIndex}`;
|
|
111489
|
+
}
|
|
111490
|
+
function hiddenSlideCue(hidden, surface, slideIndex) {
|
|
111491
|
+
if (!hidden) {
|
|
111492
|
+
return { hidden: false, labelId: void 0, marker: void 0 };
|
|
111493
|
+
}
|
|
111494
|
+
return { hidden: true, labelId: hiddenSlideLabelId(surface, slideIndex), marker: "true" };
|
|
111020
111495
|
}
|
|
111021
111496
|
var VIEWER_PREFS_STORAGE_KEY = "pptx-viewer-prefs";
|
|
111022
111497
|
function hasLocalStorage() {
|
|
@@ -113623,4 +114098,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
113623
114098
|
* `<p:extLst>` (optional)
|
|
113624
114099
|
*/
|
|
113625
114100
|
|
|
113626
|
-
export { ACTION_BUTTON_PRESETS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_INSERT_CHART_TYPE, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_LABELS, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresentationKeyBuffer, createPresentationSessionId, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, derivePresenceList, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, erasePresentationInkAt, evaluatePresetShape, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, flattenTagCollections, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx, getSecondaryValueAxis, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, insertTableColumn, insertTableRow, isActionHidden, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isFirstSlide, isImageLikeElement, isInkElement, isKeyboardOpen, isLastSlide, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterPaneAdvancesOnClick, pressuresToWidths, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, remapTextToSegments, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, storeAudienceContent, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs, zoomInScale, zoomOutScale };
|
|
114101
|
+
export { ACTION_BUTTON_PRESETS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_INSERT_CHART_TYPE, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_LABELS, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresentationKeyBuffer, createPresentationSessionId, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, derivePresenceList, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, erasePresentationInkAt, evaluatePresetShape, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx, getSecondaryValueAxis, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, insertTableColumn, insertTableRow, isActionHidden, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isFirstSlide, isImageLikeElement, isInkElement, isKeyboardOpen, isLastSlide, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterPaneAdvancesOnClick, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, remapTextToSegments, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, schemaLabel, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, storeAudienceContent, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs, zoomInScale, zoomOutScale };
|