pptx-vue-viewer 1.16.0 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/composables-unstable.cjs +1 -1
  3. package/dist/composables-unstable.cjs.br +0 -0
  4. package/dist/composables-unstable.cjs.gz +0 -0
  5. package/dist/composables-unstable.js +1 -1
  6. package/dist/composables-unstable.js.br +0 -0
  7. package/dist/composables-unstable.js.gz +0 -0
  8. package/dist/{dist-DcGdaJLX.js → dist-CWpXI8G2.js} +38 -38
  9. package/dist/dist-CWpXI8G2.js.br +0 -0
  10. package/dist/dist-CWpXI8G2.js.gz +0 -0
  11. package/dist/{dist-CpaTf__p.cjs → dist-Csq4hmh0.cjs} +38 -38
  12. package/dist/dist-Csq4hmh0.cjs.br +0 -0
  13. package/dist/dist-Csq4hmh0.cjs.gz +0 -0
  14. package/dist/gif-encoder-BScPa-WB.js +2 -0
  15. package/dist/gif-encoder-BScPa-WB.js.br +0 -0
  16. package/dist/gif-encoder-BScPa-WB.js.gz +0 -0
  17. package/dist/gif-encoder-CW8xHxKQ.cjs +2 -0
  18. package/dist/gif-encoder-CW8xHxKQ.cjs.br +0 -0
  19. package/dist/gif-encoder-CW8xHxKQ.cjs.gz +0 -0
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.cjs.br +0 -0
  22. package/dist/index.cjs.gz +0 -0
  23. package/dist/index.js +2 -2
  24. package/dist/index.js.br +0 -0
  25. package/dist/index.js.gz +0 -0
  26. package/dist/{useViewerSettingsDialog-bSmte4rJ.js → useViewerSettingsDialog-C9EnaFCw.js} +3 -3
  27. package/dist/useViewerSettingsDialog-C9EnaFCw.js.br +0 -0
  28. package/dist/{useViewerSettingsDialog-bSmte4rJ.js.gz → useViewerSettingsDialog-C9EnaFCw.js.gz} +0 -0
  29. package/dist/{useViewerSettingsDialog-CsDM0LXb.cjs → useViewerSettingsDialog-DYWm56Nq.cjs} +3 -3
  30. package/dist/useViewerSettingsDialog-DYWm56Nq.cjs.br +0 -0
  31. package/dist/useViewerSettingsDialog-DYWm56Nq.cjs.gz +0 -0
  32. package/dist/viewer/index.cjs +1 -1
  33. package/dist/viewer/index.cjs.br +0 -0
  34. package/dist/viewer/index.cjs.gz +0 -0
  35. package/dist/viewer/index.js +2 -2
  36. package/dist/viewer/index.js.br +0 -0
  37. package/dist/viewer/index.js.gz +0 -0
  38. package/dist/{viewer-C4TfCHJD.cjs → viewer-CT81mPA2.cjs} +1 -1
  39. package/dist/viewer-CT81mPA2.cjs.br +0 -0
  40. package/dist/viewer-CT81mPA2.cjs.gz +0 -0
  41. package/dist/{viewer-Ba3GRLyQ.js → viewer-CXvPEBjH.js} +2 -2
  42. package/dist/viewer-CXvPEBjH.js.br +0 -0
  43. package/dist/viewer-CXvPEBjH.js.gz +0 -0
  44. package/package.json +1 -1
  45. package/dist/dist-CpaTf__p.cjs.br +0 -0
  46. package/dist/dist-CpaTf__p.cjs.gz +0 -0
  47. package/dist/dist-DcGdaJLX.js.br +0 -0
  48. package/dist/dist-DcGdaJLX.js.gz +0 -0
  49. package/dist/gif-encoder-BSjMjvbE.cjs +0 -2
  50. package/dist/gif-encoder-BSjMjvbE.cjs.br +0 -0
  51. package/dist/gif-encoder-BSjMjvbE.cjs.gz +0 -0
  52. package/dist/gif-encoder-D_xHGPht.js +0 -2
  53. package/dist/gif-encoder-D_xHGPht.js.br +0 -0
  54. package/dist/gif-encoder-D_xHGPht.js.gz +0 -0
  55. package/dist/useViewerSettingsDialog-CsDM0LXb.cjs.br +0 -0
  56. package/dist/useViewerSettingsDialog-CsDM0LXb.cjs.gz +0 -0
  57. package/dist/useViewerSettingsDialog-bSmte4rJ.js.br +0 -0
  58. package/dist/viewer-Ba3GRLyQ.js.br +0 -0
  59. package/dist/viewer-Ba3GRLyQ.js.gz +0 -0
  60. package/dist/viewer-C4TfCHJD.cjs.br +0 -0
  61. package/dist/viewer-C4TfCHJD.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [1.16.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.16.0) - 2026-07-11
8
+
7
9
  ## [1.15.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.15.0) - 2026-07-11
8
10
 
9
11
  ## [1.14.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.14.1) - 2026-07-11
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-CsDM0LXb.cjs");
2
+ const e = require("./useViewerSettingsDialog-DYWm56Nq.cjs");
3
3
  let t = require("vue");
4
4
  function s(e, t, s = 0, o = null) {
5
5
  if (null === e) return 0;
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { $ as a, $t as s, A as t, B as e, Bt as l, C as u, Ct as n, D as v, E as o, Et as r, F as i, Ft as c, G as f, Gt as d, H as m, Hn as g, Ht as h, I as p, It as S, J as M, Ji as w, Jt as y, K as I, Kt as x, L as E, Lt as T, M as V, Mt as $, N as b, Nt as j, O as C, P as D, Pt as H, Q as J, Qt as P, R, Rt as k, S as z, St as B, T as F, Tt as G, U as K, Ut as L, V as N, Vn as O, Vt as Q, W as U, Wt as W, X as Y, Y as Z, Yn as _, Z as q, Zt as A, _ as X, _t as aa, a as sa, b as ta, bt as ea, c as la, ct as ua, d as na, dt as va, en as oa, et as ra, f as ia, ft as ca, g as fa, gt as da, h as ma, ht as ga, i as ha, in as pa, it as Sa, j as Ma, k as wa, l as ya, lt as Ia, m as xa, mt as Ea, n as Ta, nn as Va, nt as $a, o as ba, p as ja, pt as Ca, q as Da, r as Ha, rn as Ja, rt as Pa, s as Ra, st as ka, t as za, tn as Ba, tt as Fa, u as Ga, un as Ka, ur as La, ut as Na, v as Oa, vt as Qa, w as Ua, wt as Wa, x as Ya, xt as Za, y as _a, yt as qa, z as Aa, zt as Xa } from "./useViewerSettingsDialog-bSmte4rJ.js";
1
+ import { $ as a, $t as s, A as t, B as e, Bt as l, C as u, Ct as n, D as v, E as o, Et as r, F as i, Ft as c, G as f, Gt as d, H as m, Hn as g, Ht as h, I as p, It as S, J as M, Ji as w, Jt as y, K as I, Kt as x, L as E, Lt as T, M as V, Mt as $, N as b, Nt as j, O as C, P as D, Pt as H, Q as J, Qt as P, R, Rt as k, S as z, St as B, T as F, Tt as G, U as K, Ut as L, V as N, Vn as O, Vt as Q, W as U, Wt as W, X as Y, Y as Z, Yn as _, Z as q, Zt as A, _ as X, _t as aa, a as sa, b as ta, bt as ea, c as la, ct as ua, d as na, dt as va, en as oa, et as ra, f as ia, ft as ca, g as fa, gt as da, h as ma, ht as ga, i as ha, in as pa, it as Sa, j as Ma, k as wa, l as ya, lt as Ia, m as xa, mt as Ea, n as Ta, nn as Va, nt as $a, o as ba, p as ja, pt as Ca, q as Da, r as Ha, rn as Ja, rt as Pa, s as Ra, st as ka, t as za, tn as Ba, tt as Fa, u as Ga, un as Ka, ur as La, ut as Na, v as Oa, vt as Qa, w as Ua, wt as Wa, x as Ya, xt as Za, y as _a, yt as qa, z as Aa, zt as Xa } from "./useViewerSettingsDialog-C9EnaFCw.js";
2
2
  import { computed as as, onScopeDispose as ss, readonly as ts, ref as es } from "vue";
3
3
  function ls(a) {
4
4
  const s = Math.max(0, Math.floor(a / 1e3)), t = Math.floor(s / 60), e = s % 60;
Binary file
Binary file
@@ -13066,7 +13066,7 @@ var Xo = new Uint8Array([
13066
13066
  17,
13067
13067
  224,
13068
13068
  161,
13069
- 27,
13069
+ 177,
13070
13070
  26,
13071
13071
  225
13072
13072
  ]), zo = 4294967294, Go = 4294967295, Wo = 4294967293, Ho = 4294967290, Vo = 0, Yo = 2, qo = 5, Ko = 128, Zo = class extends Error {
@@ -16796,7 +16796,7 @@ var Wc = new Uint8Array([
16796
16796
  17,
16797
16797
  224,
16798
16798
  161,
16799
- 27,
16799
+ 177,
16800
16800
  26,
16801
16801
  225
16802
16802
  ]), Hc = new Uint8Array([80, 75]);
@@ -17245,14 +17245,14 @@ function yd(t) {
17245
17245
  throw new Error(`Unsupported encryption version: ${n}.${r}. Only Standard (2.2-4.2) and Agile (4.4) encryption are supported.`);
17246
17246
  }
17247
17247
  async function xd(t, e) {
17248
- const n = t.passwordKeyEncryptor, o = await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.verifierHashInput, n.keyBits, n.hashSize), await gd(n.hashAlgorithm, n.saltValue, md.verifierHashInput, n.blockSize), n.encryptedVerifierHashInput), l = await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.verifierHashValue, n.keyBits, n.hashSize), await gd(n.hashAlgorithm, n.saltValue, md.verifierHashValue, n.blockSize), n.encryptedVerifierHashValue), c = await dd(n.hashAlgorithm, o.subarray(0, n.saltSize)), d = l.subarray(0, n.hashSize), h = c.subarray(0, n.hashSize);
17249
- let p = !0;
17250
- for (let t = 0; t < n.hashSize; t++) if (d[t] !== h[t]) {
17251
- p = !1;
17248
+ const n = t.passwordKeyEncryptor, i = await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.verifierHashInput, n.keyBits, n.hashSize), n.saltValue, n.encryptedVerifierHashInput), a = await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.verifierHashValue, n.keyBits, n.hashSize), n.saltValue, n.encryptedVerifierHashValue), s = await dd(n.hashAlgorithm, i.subarray(0, n.saltSize)), l = a.subarray(0, n.hashSize), c = s.subarray(0, n.hashSize);
17249
+ let d = !0;
17250
+ for (let t = 0; t < n.hashSize; t++) if (l[t] !== c[t]) {
17251
+ d = !1;
17252
17252
  break;
17253
17253
  }
17254
- if (!p) return null;
17255
- return (await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.encryptedKeyValue, n.keyBits, n.hashSize), await gd(n.hashAlgorithm, n.saltValue, md.encryptedKeyValue, n.blockSize), n.encryptedKeyValue)).subarray(0, t.keyData.keyBits / 8);
17254
+ if (!d) return null;
17255
+ return (await hd(await fd(e, n.saltValue, n.spinCount, n.hashAlgorithm, md.encryptedKeyValue, n.keyBits, n.hashSize), n.saltValue, n.encryptedKeyValue)).subarray(0, t.keyData.keyBits / 8);
17256
17256
  }
17257
17257
  async function bd(t, e) {
17258
17258
  const n = await async function(t, e, n) {
@@ -17293,14 +17293,14 @@ async function Sd(t, e) {
17293
17293
  return await async function(t, e, n) {
17294
17294
  const r = t.keyData;
17295
17295
  if (!t.dataIntegrity) return;
17296
- const o = (await hd(e, await gd(r.hashAlgorithm, r.saltValue, md.dataIntegrityHmacKey, r.blockSize), t.dataIntegrity.encryptedHmacKey)).subarray(0, r.hashSize), s = (await hd(e, await gd(r.hashAlgorithm, r.saltValue, md.dataIntegrityHmacValue, r.blockSize), t.dataIntegrity.encryptedHmacValue)).subarray(0, r.hashSize), l = n.subarray(8), c = await ud(r.hashAlgorithm, o, l);
17297
- let d = !0;
17298
- if (c.length < r.hashSize) d = !1;
17299
- else for (let t = 0; t < r.hashSize; t++) if (c[t] !== s[t]) {
17300
- d = !1;
17296
+ const o = (await hd(e, await gd(r.hashAlgorithm, r.saltValue, md.dataIntegrityHmacKey, r.blockSize), t.dataIntegrity.encryptedHmacKey)).subarray(0, r.hashSize), s = (await hd(e, await gd(r.hashAlgorithm, r.saltValue, md.dataIntegrityHmacValue, r.blockSize), t.dataIntegrity.encryptedHmacValue)).subarray(0, r.hashSize), l = await ud(r.hashAlgorithm, o, n);
17297
+ let c = !0;
17298
+ if (l.length < r.hashSize) c = !1;
17299
+ else for (let t = 0; t < r.hashSize; t++) if (l[t] !== s[t]) {
17300
+ c = !1;
17301
17301
  break;
17302
17302
  }
17303
- if (!d) throw new nd("Data integrity check failed. The encrypted file may be corrupted or tampered with.");
17303
+ if (!c) throw new nd("Data integrity check failed. The encrypted file may be corrupted or tampered with.");
17304
17304
  }(a, s, i), async function(t, e, n) {
17305
17305
  const r = n.keyData, i = new DataView(t.buffer, t.byteOffset, 8), o = i.getUint32(0, !0) + 4294967296 * i.getUint32(4, !0), a = t.subarray(8), s = 4096, l = new Uint8Array(o);
17306
17306
  let c = 0;
@@ -17324,13 +17324,13 @@ async function vd(t, e, n) {
17324
17324
  i.getRandomValues(s);
17325
17325
  const l = "SHA-512", c = 64, d = 16, h = n?.spinCount ?? 1e5, p = /* @__PURE__ */ new Uint8Array(16);
17326
17326
  i.getRandomValues(p);
17327
- const u = await dd(l, p), m = await fd(e, a, h, l, md.verifierHashInput, r, c), f = await gd(l, a, md.verifierHashInput, d), g = new Uint8Array(Math.ceil(p.length / d) * d);
17328
- g.set(p);
17329
- const y = await pd(m, f, g), x = await fd(e, a, h, l, md.verifierHashValue, r, c), b = await gd(l, a, md.verifierHashValue, d), S = new Uint8Array(Math.ceil(u.length / d) * d);
17330
- S.set(u);
17331
- const v = await pd(x, b, S), w = await fd(e, a, h, l, md.encryptedKeyValue, r, c), T = await gd(l, a, md.encryptedKeyValue, d), C = new Uint8Array(Math.ceil(s.length / d) * d);
17332
- C.set(s);
17333
- const k = await pd(w, T, C), _ = {
17327
+ const u = await dd(l, p), m = await fd(e, a, h, l, md.verifierHashInput, r, c), f = new Uint8Array(Math.ceil(p.length / d) * d);
17328
+ f.set(p);
17329
+ const g = await pd(m, a, f), y = await fd(e, a, h, l, md.verifierHashValue, r, c), x = new Uint8Array(Math.ceil(u.length / d) * d);
17330
+ x.set(u);
17331
+ const b = await pd(y, a, x), S = await fd(e, a, h, l, md.encryptedKeyValue, r, c), v = new Uint8Array(Math.ceil(s.length / d) * d);
17332
+ v.set(s);
17333
+ const w = await pd(S, a, v), T = {
17334
17334
  keyData: {
17335
17335
  saltSize: 16,
17336
17336
  blockSize: d,
@@ -17355,11 +17355,11 @@ async function vd(t, e, n) {
17355
17355
  hashAlgorithm: l,
17356
17356
  saltValue: a,
17357
17357
  spinCount: h,
17358
- encryptedVerifierHashInput: y,
17359
- encryptedVerifierHashValue: v,
17360
- encryptedKeyValue: k
17358
+ encryptedVerifierHashInput: g,
17359
+ encryptedVerifierHashValue: b,
17360
+ encryptedKeyValue: w
17361
17361
  }
17362
- }, M = await async function(t, e, n) {
17362
+ }, k = await async function(t, e, n) {
17363
17363
  const r = n.keyData, i = 4096, o = Math.ceil(t.length / i) * i, a = new Uint8Array(o);
17364
17364
  a.set(t);
17365
17365
  const s = new Uint8Array(8 + o), l = new DataView(s.buffer, 0, 8);
@@ -17370,22 +17370,22 @@ async function vd(t, e, n) {
17370
17370
  s.set(h, 8 + n);
17371
17371
  }
17372
17372
  return s;
17373
- }(new Uint8Array(t), s, _), I = new Uint8Array(c);
17374
- i.getRandomValues(I);
17375
- const A = await ud(l, I, M.subarray(8)), F = await gd(l, o, md.dataIntegrityHmacKey, d), L = new Uint8Array(Math.ceil(I.length / d) * d);
17376
- L.set(I);
17377
- const D = await pd(s, F, L), R = await gd(l, o, md.dataIntegrityHmacValue, d), B = new Uint8Array(Math.ceil(A.length / d) * d);
17378
- B.set(A);
17379
- _.dataIntegrity = {
17380
- encryptedHmacKey: D,
17381
- encryptedHmacValue: await pd(s, R, B)
17373
+ }(new Uint8Array(t), s, T), _ = new Uint8Array(c);
17374
+ i.getRandomValues(_);
17375
+ const P = await ud(l, _, k), M = await gd(l, o, md.dataIntegrityHmacKey, d), I = new Uint8Array(Math.ceil(_.length / d) * d);
17376
+ I.set(_);
17377
+ const A = await pd(s, M, I), F = await gd(l, o, md.dataIntegrityHmacValue, d), L = new Uint8Array(Math.ceil(P.length / d) * d);
17378
+ L.set(P);
17379
+ T.dataIntegrity = {
17380
+ encryptedHmacKey: A,
17381
+ encryptedHmacValue: await pd(s, F, L)
17382
17382
  };
17383
- var E, $, O;
17384
- const j = function(t) {
17383
+ var R, B, N;
17384
+ const E = function(t) {
17385
17385
  const e = new TextEncoder().encode(t), n = new Uint8Array(8 + e.length), r = new DataView(n.buffer);
17386
17386
  return r.setUint16(0, 4, !0), r.setUint16(2, 4, !0), r.setUint32(4, 64, !0), n.set(e, 8), n;
17387
- }((E = _.keyData, $ = _.passwordKeyEncryptor, O = _.dataIntegrity, `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><keyData saltSize="${E.saltSize}" blockSize="${E.blockSize}" keyBits="${E.keyBits}" hashSize="${E.hashSize}" cipherAlgorithm="${E.cipherAlgorithm}" cipherChaining="${E.cipherChaining}" hashAlgorithm="${E.hashAlgorithm}" saltValue="${ld(E.saltValue)}"/><dataIntegrity encryptedHmacKey="${ld(O.encryptedHmacKey)}" encryptedHmacValue="${ld(O.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${$.spinCount}" saltSize="${$.saltSize}" blockSize="${$.blockSize}" keyBits="${$.keyBits}" hashSize="${$.hashSize}" cipherAlgorithm="${$.cipherAlgorithm}" cipherChaining="${$.cipherChaining}" hashAlgorithm="${$.hashAlgorithm}" saltValue="${ld($.saltValue)}" encryptedVerifierHashInput="${ld($.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${ld($.encryptedVerifierHashValue)}" encryptedKeyValue="${ld($.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`)), U = /* @__PURE__ */ new Map();
17388
- return U.set("EncryptionInfo", j), U.set("EncryptedPackage", M), td(U);
17387
+ }((R = T.keyData, B = T.passwordKeyEncryptor, N = T.dataIntegrity, `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><keyData saltSize="${R.saltSize}" blockSize="${R.blockSize}" keyBits="${R.keyBits}" hashSize="${R.hashSize}" cipherAlgorithm="${R.cipherAlgorithm}" cipherChaining="${R.cipherChaining}" hashAlgorithm="${R.hashAlgorithm}" saltValue="${ld(R.saltValue)}"/><dataIntegrity encryptedHmacKey="${ld(N.encryptedHmacKey)}" encryptedHmacValue="${ld(N.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${B.spinCount}" saltSize="${B.saltSize}" blockSize="${B.blockSize}" keyBits="${B.keyBits}" hashSize="${B.hashSize}" cipherAlgorithm="${B.cipherAlgorithm}" cipherChaining="${B.cipherChaining}" hashAlgorithm="${B.hashAlgorithm}" saltValue="${ld(B.saltValue)}" encryptedVerifierHashInput="${ld(B.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${ld(B.encryptedVerifierHashValue)}" encryptedKeyValue="${ld(B.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`)), $ = /* @__PURE__ */ new Map();
17388
+ return $.set("EncryptionInfo", E), $.set("EncryptedPackage", k), td($);
17389
17389
  }
17390
17390
  async function wd(t, e) {
17391
17391
  try {
Binary file
Binary file
@@ -13067,7 +13067,7 @@ var Uo = new Uint8Array([
13067
13067
  17,
13068
13068
  224,
13069
13069
  161,
13070
- 27,
13070
+ 177,
13071
13071
  26,
13072
13072
  225
13073
13073
  ]), Xo = 4294967294, zo = 4294967295, Go = 4294967293, Wo = 4294967290, Ho = 0, Vo = 2, Yo = 5, qo = 128, Ko = class extends Error {
@@ -16797,7 +16797,7 @@ var Gc = new Uint8Array([
16797
16797
  17,
16798
16798
  224,
16799
16799
  161,
16800
- 27,
16800
+ 177,
16801
16801
  26,
16802
16802
  225
16803
16803
  ]), Wc = new Uint8Array([80, 75]);
@@ -17246,14 +17246,14 @@ function gd(t) {
17246
17246
  throw new Error(`Unsupported encryption version: ${n}.${r}. Only Standard (2.2-4.2) and Agile (4.4) encryption are supported.`);
17247
17247
  }
17248
17248
  async function yd(t, e) {
17249
- const n = t.passwordKeyEncryptor, o = await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.verifierHashInput, n.keyBits, n.hashSize), await fd(n.hashAlgorithm, n.saltValue, ud.verifierHashInput, n.blockSize), n.encryptedVerifierHashInput), l = await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.verifierHashValue, n.keyBits, n.hashSize), await fd(n.hashAlgorithm, n.saltValue, ud.verifierHashValue, n.blockSize), n.encryptedVerifierHashValue), c = await cd(n.hashAlgorithm, o.subarray(0, n.saltSize)), d = l.subarray(0, n.hashSize), h = c.subarray(0, n.hashSize);
17250
- let p = !0;
17251
- for (let t = 0; t < n.hashSize; t++) if (d[t] !== h[t]) {
17252
- p = !1;
17249
+ const n = t.passwordKeyEncryptor, i = await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.verifierHashInput, n.keyBits, n.hashSize), n.saltValue, n.encryptedVerifierHashInput), a = await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.verifierHashValue, n.keyBits, n.hashSize), n.saltValue, n.encryptedVerifierHashValue), s = await cd(n.hashAlgorithm, i.subarray(0, n.saltSize)), l = a.subarray(0, n.hashSize), c = s.subarray(0, n.hashSize);
17250
+ let d = !0;
17251
+ for (let t = 0; t < n.hashSize; t++) if (l[t] !== c[t]) {
17252
+ d = !1;
17253
17253
  break;
17254
17254
  }
17255
- if (!p) return null;
17256
- return (await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.encryptedKeyValue, n.keyBits, n.hashSize), await fd(n.hashAlgorithm, n.saltValue, ud.encryptedKeyValue, n.blockSize), n.encryptedKeyValue)).subarray(0, t.keyData.keyBits / 8);
17255
+ if (!d) return null;
17256
+ return (await dd(await md(e, n.saltValue, n.spinCount, n.hashAlgorithm, ud.encryptedKeyValue, n.keyBits, n.hashSize), n.saltValue, n.encryptedKeyValue)).subarray(0, t.keyData.keyBits / 8);
17257
17257
  }
17258
17258
  async function xd(t, e) {
17259
17259
  const n = await async function(t, e, n) {
@@ -17294,14 +17294,14 @@ async function bd(t, e) {
17294
17294
  return await async function(t, e, n) {
17295
17295
  const r = t.keyData;
17296
17296
  if (!t.dataIntegrity) return;
17297
- const o = (await dd(e, await fd(r.hashAlgorithm, r.saltValue, ud.dataIntegrityHmacKey, r.blockSize), t.dataIntegrity.encryptedHmacKey)).subarray(0, r.hashSize), s = (await dd(e, await fd(r.hashAlgorithm, r.saltValue, ud.dataIntegrityHmacValue, r.blockSize), t.dataIntegrity.encryptedHmacValue)).subarray(0, r.hashSize), l = n.subarray(8), c = await pd(r.hashAlgorithm, o, l);
17298
- let d = !0;
17299
- if (c.length < r.hashSize) d = !1;
17300
- else for (let t = 0; t < r.hashSize; t++) if (c[t] !== s[t]) {
17301
- d = !1;
17297
+ const o = (await dd(e, await fd(r.hashAlgorithm, r.saltValue, ud.dataIntegrityHmacKey, r.blockSize), t.dataIntegrity.encryptedHmacKey)).subarray(0, r.hashSize), s = (await dd(e, await fd(r.hashAlgorithm, r.saltValue, ud.dataIntegrityHmacValue, r.blockSize), t.dataIntegrity.encryptedHmacValue)).subarray(0, r.hashSize), l = await pd(r.hashAlgorithm, o, n);
17298
+ let c = !0;
17299
+ if (l.length < r.hashSize) c = !1;
17300
+ else for (let t = 0; t < r.hashSize; t++) if (l[t] !== s[t]) {
17301
+ c = !1;
17302
17302
  break;
17303
17303
  }
17304
- if (!d) throw new ed("Data integrity check failed. The encrypted file may be corrupted or tampered with.");
17304
+ if (!c) throw new ed("Data integrity check failed. The encrypted file may be corrupted or tampered with.");
17305
17305
  }(a, s, i), async function(t, e, n) {
17306
17306
  const r = n.keyData, i = new DataView(t.buffer, t.byteOffset, 8), o = i.getUint32(0, !0) + 4294967296 * i.getUint32(4, !0), a = t.subarray(8), s = 4096, l = new Uint8Array(o);
17307
17307
  let c = 0;
@@ -17325,13 +17325,13 @@ async function Sd(t, e, n) {
17325
17325
  i.getRandomValues(s);
17326
17326
  const l = "SHA-512", c = 64, d = 16, h = n?.spinCount ?? 1e5, p = /* @__PURE__ */ new Uint8Array(16);
17327
17327
  i.getRandomValues(p);
17328
- const u = await cd(l, p), m = await md(e, a, h, l, ud.verifierHashInput, r, c), f = await fd(l, a, ud.verifierHashInput, d), g = new Uint8Array(Math.ceil(p.length / d) * d);
17329
- g.set(p);
17330
- const y = await hd(m, f, g), x = await md(e, a, h, l, ud.verifierHashValue, r, c), b = await fd(l, a, ud.verifierHashValue, d), S = new Uint8Array(Math.ceil(u.length / d) * d);
17331
- S.set(u);
17332
- const v = await hd(x, b, S), w = await md(e, a, h, l, ud.encryptedKeyValue, r, c), T = await fd(l, a, ud.encryptedKeyValue, d), C = new Uint8Array(Math.ceil(s.length / d) * d);
17333
- C.set(s);
17334
- const k = await hd(w, T, C), _ = {
17328
+ const u = await cd(l, p), m = await md(e, a, h, l, ud.verifierHashInput, r, c), f = new Uint8Array(Math.ceil(p.length / d) * d);
17329
+ f.set(p);
17330
+ const g = await hd(m, a, f), y = await md(e, a, h, l, ud.verifierHashValue, r, c), x = new Uint8Array(Math.ceil(u.length / d) * d);
17331
+ x.set(u);
17332
+ const b = await hd(y, a, x), S = await md(e, a, h, l, ud.encryptedKeyValue, r, c), v = new Uint8Array(Math.ceil(s.length / d) * d);
17333
+ v.set(s);
17334
+ const w = await hd(S, a, v), T = {
17335
17335
  keyData: {
17336
17336
  saltSize: 16,
17337
17337
  blockSize: d,
@@ -17356,11 +17356,11 @@ async function Sd(t, e, n) {
17356
17356
  hashAlgorithm: l,
17357
17357
  saltValue: a,
17358
17358
  spinCount: h,
17359
- encryptedVerifierHashInput: y,
17360
- encryptedVerifierHashValue: v,
17361
- encryptedKeyValue: k
17359
+ encryptedVerifierHashInput: g,
17360
+ encryptedVerifierHashValue: b,
17361
+ encryptedKeyValue: w
17362
17362
  }
17363
- }, M = await async function(t, e, n) {
17363
+ }, k = await async function(t, e, n) {
17364
17364
  const r = n.keyData, i = 4096, o = Math.ceil(t.length / i) * i, a = new Uint8Array(o);
17365
17365
  a.set(t);
17366
17366
  const s = new Uint8Array(8 + o), l = new DataView(s.buffer, 0, 8);
@@ -17371,22 +17371,22 @@ async function Sd(t, e, n) {
17371
17371
  s.set(h, 8 + n);
17372
17372
  }
17373
17373
  return s;
17374
- }(new Uint8Array(t), s, _), I = new Uint8Array(c);
17375
- i.getRandomValues(I);
17376
- const A = await pd(l, I, M.subarray(8)), F = await fd(l, o, ud.dataIntegrityHmacKey, d), L = new Uint8Array(Math.ceil(I.length / d) * d);
17377
- L.set(I);
17378
- const D = await hd(s, F, L), R = await fd(l, o, ud.dataIntegrityHmacValue, d), B = new Uint8Array(Math.ceil(A.length / d) * d);
17379
- B.set(A);
17380
- _.dataIntegrity = {
17381
- encryptedHmacKey: D,
17382
- encryptedHmacValue: await hd(s, R, B)
17374
+ }(new Uint8Array(t), s, T), _ = new Uint8Array(c);
17375
+ i.getRandomValues(_);
17376
+ const P = await pd(l, _, k), M = await fd(l, o, ud.dataIntegrityHmacKey, d), I = new Uint8Array(Math.ceil(_.length / d) * d);
17377
+ I.set(_);
17378
+ const A = await hd(s, M, I), F = await fd(l, o, ud.dataIntegrityHmacValue, d), L = new Uint8Array(Math.ceil(P.length / d) * d);
17379
+ L.set(P);
17380
+ T.dataIntegrity = {
17381
+ encryptedHmacKey: A,
17382
+ encryptedHmacValue: await hd(s, F, L)
17383
17383
  };
17384
- var E, O, j;
17385
- const $ = function(t) {
17384
+ var R, B, N;
17385
+ const E = function(t) {
17386
17386
  const e = new TextEncoder().encode(t), n = new Uint8Array(8 + e.length), r = new DataView(n.buffer);
17387
17387
  return r.setUint16(0, 4, !0), r.setUint16(2, 4, !0), r.setUint32(4, 64, !0), n.set(e, 8), n;
17388
- }((E = _.keyData, O = _.passwordKeyEncryptor, j = _.dataIntegrity, `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><keyData saltSize="${E.saltSize}" blockSize="${E.blockSize}" keyBits="${E.keyBits}" hashSize="${E.hashSize}" cipherAlgorithm="${E.cipherAlgorithm}" cipherChaining="${E.cipherChaining}" hashAlgorithm="${E.hashAlgorithm}" saltValue="${sd(E.saltValue)}"/><dataIntegrity encryptedHmacKey="${sd(j.encryptedHmacKey)}" encryptedHmacValue="${sd(j.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${O.spinCount}" saltSize="${O.saltSize}" blockSize="${O.blockSize}" keyBits="${O.keyBits}" hashSize="${O.hashSize}" cipherAlgorithm="${O.cipherAlgorithm}" cipherChaining="${O.cipherChaining}" hashAlgorithm="${O.hashAlgorithm}" saltValue="${sd(O.saltValue)}" encryptedVerifierHashInput="${sd(O.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${sd(O.encryptedVerifierHashValue)}" encryptedKeyValue="${sd(O.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`)), U = /* @__PURE__ */ new Map();
17389
- return U.set("EncryptionInfo", $), U.set("EncryptedPackage", M), Qc(U);
17388
+ }((R = T.keyData, B = T.passwordKeyEncryptor, N = T.dataIntegrity, `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><keyData saltSize="${R.saltSize}" blockSize="${R.blockSize}" keyBits="${R.keyBits}" hashSize="${R.hashSize}" cipherAlgorithm="${R.cipherAlgorithm}" cipherChaining="${R.cipherChaining}" hashAlgorithm="${R.hashAlgorithm}" saltValue="${sd(R.saltValue)}"/><dataIntegrity encryptedHmacKey="${sd(N.encryptedHmacKey)}" encryptedHmacValue="${sd(N.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${B.spinCount}" saltSize="${B.saltSize}" blockSize="${B.blockSize}" keyBits="${B.keyBits}" hashSize="${B.hashSize}" cipherAlgorithm="${B.cipherAlgorithm}" cipherChaining="${B.cipherChaining}" hashAlgorithm="${B.hashAlgorithm}" saltValue="${sd(B.saltValue)}" encryptedVerifierHashInput="${sd(B.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${sd(B.encryptedVerifierHashValue)}" encryptedKeyValue="${sd(B.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`)), O = /* @__PURE__ */ new Map();
17389
+ return O.set("EncryptionInfo", E), O.set("EncryptedPackage", k), Qc(O);
17390
17390
  }
17391
17391
  async function vd(t, e) {
17392
17392
  try {
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import { Qr as e } from "./useViewerSettingsDialog-C9EnaFCw.js";
2
+ export { e as encodeGif };
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ const e = require("./useViewerSettingsDialog-DYWm56Nq.cjs");
2
+ exports.encodeGif = e.encodeGif;
Binary file
Binary file
package/dist/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-CsDM0LXb.cjs"), r = require("./viewer-C4TfCHJD.cjs");
2
+ const e = require("./useViewerSettingsDialog-DYWm56Nq.cjs"), r = require("./viewer-CT81mPA2.cjs");
3
3
  exports.AUDIENCE_HASH = r.AUDIENCE_HASH, exports.ElementRenderer = r.ElementRenderer_default, exports.PowerPointViewer = r.PowerPointViewer_default, exports.SlideCanvas = r.SlideCanvas_default, exports.SlideStage = r.SlideStage_default, exports.clearAudienceContent = r.clearAudienceContent, exports.cn = r.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.isAudienceTab = r.isAudienceTab, exports.loadAudienceContent = r.loadAudienceContent, exports.provideViewerTheme = r.provideViewerTheme, exports.storeAudienceContent = r.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useThemeStyle = r.useThemeStyle, exports.useViewerTheme = r.useViewerTheme, exports.vermilionDarkColors = e.vermilionDarkColors, exports.vermilionDarkTheme = e.vermilionDarkTheme, exports.vermilionLightColors = e.vermilionLightColors, exports.vermilionLightTheme = e.vermilionLightTheme, exports.vermilionRadius = e.vermilionRadius;
package/dist/index.cjs.br CHANGED
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { Ba as a, Gr as s, Jr as e, Kr as r, La as i, Ma as o, Ra as t, Va as n, za as l } from "./useViewerSettingsDialog-bSmte4rJ.js";
2
- import { D as m, E as w, T as S, a as d, c as g, i as p, l as V, n as f, o as j, r as u, s as v, t as D, u as E } from "./viewer-Ba3GRLyQ.js";
1
+ import { Ba as a, Gr as s, Jr as e, Kr as r, La as i, Ma as o, Ra as t, Va as n, za as l } from "./useViewerSettingsDialog-C9EnaFCw.js";
2
+ import { D as m, E as w, T as S, a as d, c as g, i as p, l as V, n as f, o as j, r as u, s as v, t as D, u as E } from "./viewer-CXvPEBjH.js";
3
3
  export { D as AUDIENCE_HASH, E as ElementRenderer, j as PowerPointViewer, v as SlideCanvas, V as SlideStage, f as clearAudienceContent, g as cn, s as defaultCssVars, r as defaultRadius, e as defaultThemeColors, u as isAudienceTab, p as loadAudienceContent, S as provideViewerTheme, d as storeAudienceContent, o as themeToCssVars, w as useThemeStyle, m as useViewerTheme, i as vermilionDarkColors, t as vermilionDarkTheme, l as vermilionLightColors, a as vermilionLightTheme, n as vermilionRadius };
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -1,4 +1,4 @@
1
- import { $ as e, A as t, C as n, Ct as r, D as o, E as a, Et as i, F as s, H as l, I as c, K as u, L as d, M as p, N as f, O as h, P as m, Q as g, S as x, St as v, T as y, Tt as b, W as w, X as $, Y as M, _ as k, _t as S, b as C, bt as I, c as T, ct as L, dt as P, ft as F, g as E, gt as A, ht as O, it as B, j as _, k as R, lt as N, m as W, mt as z, nt as j, o as Y, p as H, pt as X, tt as V, v as q, vt as J, w as Q, x as te, xt as ne, y as re, yt as oe, z as ae } from "./dist-DcGdaJLX.js";
1
+ import { $ as e, A as t, C as n, Ct as r, D as o, E as a, Et as i, F as s, H as l, I as c, K as u, L as d, M as p, N as f, O as h, P as m, Q as g, S as x, St as v, T as y, Tt as b, W as w, X as $, Y as M, _ as k, _t as S, b as C, bt as I, c as T, ct as L, dt as P, ft as F, g as E, gt as A, ht as O, it as B, j as _, k as R, lt as N, m as W, mt as z, nt as j, o as Y, p as H, pt as X, tt as V, v as q, vt as J, w as Q, x as te, xt as ne, y as re, yt as oe, z as ae } from "./dist-CWpXI8G2.js";
2
2
  import { n as ie } from "./i18n-BanYktlo.js";
3
3
  import * as se from "vue";
4
4
  import { Text as ce, computed as ue, createVNode as de, getCurrentInstance as he, getCurrentScope as me, inject as xe, nextTick as ye, onBeforeUnmount as be, onMounted as we, onScopeDispose as $e, onUnmounted as Me, provide as ke, readonly as Se, ref as Ce, shallowRef as Ie, toRaw as Te, toValue as Le, unref as Pe, watch as Fe, watchEffect as Ee } from "vue";
@@ -15499,7 +15499,7 @@ function fx(e) {
15499
15499
  if (!n || !r.onWriteBack) return;
15500
15500
  const o = e.getSourceBytes?.();
15501
15501
  if (o) try {
15502
- const { PptxHandler: t } = await import("./dist-DcGdaJLX.js").then((e) => e.R), a = new t();
15502
+ const { PptxHandler: t } = await import("./dist-CWpXI8G2.js").then((e) => e.R), a = new t();
15503
15503
  await a.load(o.buffer);
15504
15504
  const i = Dl(n), s = e.mergeTemplateElements ? e.mergeTemplateElements(i, e.getTemplateElements?.() ?? {}) : i, l = await a.save(s);
15505
15505
  r.onWriteBack(l);
@@ -17000,7 +17000,7 @@ function Hx(e) {
17000
17000
  if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
17001
17001
  }
17002
17002
  function Xx(e) {
17003
- const { slideCount: t, rasterizeSlide: n } = e, r = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-D_xHGPht.js")).encodeGif), o = e.createRecorder ?? Yx, a = e.createCanvas ?? (() => document.createElement("canvas")), i = e.downloadBlob ?? ed, s = Ce(!1), l = Ce(0);
17003
+ const { slideCount: t, rasterizeSlide: n } = e, r = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-BScPa-WB.js")).encodeGif), o = e.createRecorder ?? Yx, a = e.createCanvas ?? (() => document.createElement("canvas")), i = e.downloadBlob ?? ed, s = Ce(!1), l = Ce(0);
17004
17004
  return {
17005
17005
  exporting: s,
17006
17006
  progress: l,
@@ -1,4 +1,4 @@
1
- const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-CpaTf__p.cjs"), n = require("./i18n-4gnzze6J.cjs");
1
+ const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-Csq4hmh0.cjs"), n = require("./i18n-4gnzze6J.cjs");
2
2
  let r = require("vue");
3
3
  r = e.__toESM(r, 1);
4
4
  let o = require("dompurify");
@@ -15499,7 +15499,7 @@ function $m(e) {
15499
15499
  if (!n || !r.onWriteBack) return;
15500
15500
  const o = e.getSourceBytes?.();
15501
15501
  if (o) try {
15502
- const { PptxHandler: t } = await Promise.resolve().then(() => require("./dist-CpaTf__p.cjs")).then((e) => e.dist_exports), a = new t();
15502
+ const { PptxHandler: t } = await Promise.resolve().then(() => require("./dist-Csq4hmh0.cjs")).then((e) => e.dist_exports), a = new t();
15503
15503
  await a.load(o.buffer);
15504
15504
  const i = rs(n), s = e.mergeTemplateElements ? e.mergeTemplateElements(i, e.getTemplateElements?.() ?? {}) : i, l = await a.save(s);
15505
15505
  r.onWriteBack(l);
@@ -17000,7 +17000,7 @@ function Qm(e) {
17000
17000
  if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
17001
17001
  }
17002
17002
  function eg(e) {
17003
- const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-BSjMjvbE.cjs"))).encodeGif), a = e.createRecorder ?? Jm, i = e.createCanvas ?? (() => document.createElement("canvas")), s = e.downloadBlob ?? vc, l = (0, r.ref)(!1), c = (0, r.ref)(0);
17003
+ const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-CW8xHxKQ.cjs"))).encodeGif), a = e.createRecorder ?? Jm, i = e.createCanvas ?? (() => document.createElement("canvas")), s = e.downloadBlob ?? vc, l = (0, r.ref)(!1), c = (0, r.ref)(0);
17004
17004
  return {
17005
17005
  exporting: l,
17006
17006
  progress: c,
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("../useViewerSettingsDialog-CsDM0LXb.cjs"), t = require("../viewer-C4TfCHJD.cjs");
2
+ const e = require("../useViewerSettingsDialog-DYWm56Nq.cjs"), t = require("../viewer-CT81mPA2.cjs");
3
3
  exports.AUDIENCE_HASH = t.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = t.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = t.isAudienceTab, exports.loadAudienceContent = t.loadAudienceContent, exports.storeAudienceContent = t.storeAudienceContent, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent;
Binary file
Binary file
@@ -1,3 +1,3 @@
1
- import { Dr as a, Er as s, Fi as e, K as r, Pi as n, T as o, W as d, an as t, cn as i, dr as R, ln as l, on as m, sn as S } from "../useViewerSettingsDialog-bSmte4rJ.js";
2
- import { C as w, S as g, _ as p, a as C, b as f, d as u, f as v, g as x, h as D, i as E, l as P, m as T, n as b, o as c, p as h, r as j, s as A, t as V, u as W, v as k, w as q, x as y, y as F } from "../viewer-Ba3GRLyQ.js";
1
+ import { Dr as a, Er as s, Fi as e, K as r, Pi as n, T as o, W as d, an as t, cn as i, dr as R, ln as l, on as m, sn as S } from "../useViewerSettingsDialog-C9EnaFCw.js";
2
+ import { C as w, S as g, _ as p, a as C, b as f, d as u, f as v, g as x, h as D, i as E, l as P, m as T, n as b, o as c, p as h, r as j, s as A, t as V, u as W, v as k, w as q, x as y, y as F } from "../viewer-CXvPEBjH.js";
3
3
  export { V as AUDIENCE_HASH, f as ChartRenderer, F as ConnectorRenderer, t as DEFAULT_CANVAS_HEIGHT, m as DEFAULT_CANVAS_WIDTH, S as DEFAULT_FILL_COLOR, i as DEFAULT_STROKE_COLOR, l as DEFAULT_TEXT_COLOR, W as ElementRenderer, k as EquationRenderer, p as InkRenderer, x as Model3DRenderer, D as OleRenderer, c as PowerPointViewer, A as SlideCanvas, P as SlideStage, T as SmartArtRenderer, h as TableRenderer, v as WordArtText, u as ZoomRenderer, R as buildInitialGuides, b as clearAudienceContent, s as collectImagePaths, a as collectMediaElements, y as getContainerStyle, g as getImageSrc, n as getResolvedShapeClipPath, e as getResolvedShapeClipPathFor, w as getShapeFillStrokeStyle, q as getTextBlockStyle, j as isAudienceTab, E as loadAudienceContent, C as storeAudienceContent, r as useEditorHistory, d as useEditorOperations, o as useLoadContent };
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-CpaTf__p.cjs"), n = require("./useViewerSettingsDialog-CsDM0LXb.cjs");
1
+ const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-Csq4hmh0.cjs"), n = require("./useViewerSettingsDialog-DYWm56Nq.cjs");
2
2
  let o = require("vue"), l = require("dompurify");
3
3
  l = e.__toESM(l, 1);
4
4
  let a = require("lucide-vue-next"), r = require("clsx"), i = require("tailwind-merge");
Binary file
Binary file
@@ -1,5 +1,5 @@
1
- import { B as e, Ct as t, G as n, J as o, M as a, Q as l, U as r, V as i, Z as s, a as p, at as d, d as u, et as c, f as x, i as m, it as v, k as b, l as g, n as y, nt as h, ot as f, r as k, st as w, t as S, tt as C, u as T, ut as F } from "./dist-DcGdaJLX.js";
2
- import { $i as E, $n as P, $r as I, $t as _, A, Aa as M, Ai as B, An as D, Ar as z, At as R, Bi as L, Bn as O, Br as $, C as U, Ca as K, Ci as N, Cn as j, Cr as W, D as V, Da as H, Di as G, Dn as q, Dt as Y, E as X, Ea as Z, Ei as J, En as Q, Et as ee, Fa as te, Fn as ne, Fr as oe, Ft as ae, G as le, Gi as re, Gn as ie, H as se, Ha as pe, Hi as de, Hr as ue, I as ce, Ia as xe, Ii as me, In as ve, Ir as be, J as ge, Jn as ye, Jt as he, K as fe, Ki as ke, Kn as we, Kt as Se, L as Ce, Li as Te, Ln as Fe, Lr as Ee, Lt as Pe, M as Ie, Ma as _e, Mi as Ae, Mn as Me, Mr as Be, Mt as De, Na as ze, Ni as Re, Nn as Le, Nr as Oe, Nt as $e, O as Ue, Oa as Ke, Oi as Ne, On as je, Or as We, Ot as Ve, Pa as He, Pi as Ge, Pn as qe, Pr as Ye, Pt as Xe, Qi as Ze, Qn as Je, Qt as Qe, Ri as et, Rn as tt, Rr as nt, Rt as ot, S as at, Sa as lt, Si as rt, Sn as it, Sr as st, T as pt, Ta as dt, Ti as ut, Tn as ct, Tr as xt, Tt as mt, U as vt, Ua as bt, Ui as gt, Un as yt, Ur as ht, V as ft, Vi as kt, Vr as wt, W as St, Wi as Ct, Wn as Tt, Wr as Ft, Wt as Et, X as Pt, Xi as It, Xn as _t, Xr as At, Xt as Mt, Yi as Bt, Yr as Dt, Yt as zt, Z as Rt, Zi as Lt, Zn as Ot, Zr as $t, Zt as Ut, _a as Kt, _i as Nt, _n as jt, _r as Wt, a as Vt, aa as Ht, ai as Gt, ar as qt, at as Yt, b as Xt, ba as Zt, bi as Jt, bn as Qt, br as en, c as tn, ca as nn, ci as on, cr as ln, d as rn, da as sn, di as pn, dn, ea as un, ei as cn, en as xn, et as vn, f as bn, fa as gn, fi as yn, fn as hn, fr as fn, ft as kn, ga as wn, gi as Sn, gn as Cn, gr as Tn, gt as Fn, h as En, ha as Pn, hi as In, hn as _n, hr as An, ht as Mn, ia as Bn, ii as Dn, in as zn, ir as Rn, it as Ln, j as On, ja as $n, ji as Un, jn as Kn, jr as Nn, jt as jn, k as Wn, ka as Vn, ki as Hn, kn as Gn, kr as qn, kt as Yn, l as Xn, la as Zn, li as Jn, ln as Qn, lr as eo, m as to, ma as no, mi as oo, mn as ao, mr as lo, n as ro, na as io, ni as so, nn as po, nr as uo, nt as co, o as xo, oa as mo, oi as vo, or as bo, ot as go, p as yo, pa as ho, pi as fo, pn as ko, pr as wo, q as So, qi as Co, qn as To, qr as Fo, qt as Eo, ra as Po, ri as Io, rn as _o, rr as Ao, rt as Mo, s as Bo, sa as Do, si as zo, sr as Ro, st as Lo, t as Oo, ta as $o, ti as Uo, tn as Ko, tr as No, u as jo, ua as Wo, ui as Vo, un as Ho, ut as Go, v as qo, va as Yo, vi as Xo, vn as Zo, vr as Jo, w as Qo, wa as ea, wi as ta, wn as na, wr as oa, wt as aa, x as la, xa as ra, xi as ia, xn as sa, xr as pa, xt as da, y as ua, ya as ca, yi as xa, yn as ma, yr as va, zi as ba, zn as ga, zr as ya, zt as ha } from "./useViewerSettingsDialog-bSmte4rJ.js";
1
+ import { B as e, Ct as t, G as n, J as o, M as a, Q as l, U as r, V as i, Z as s, a as p, at as d, d as u, et as c, f as x, i as m, it as v, k as b, l as g, n as y, nt as h, ot as f, r as k, st as w, t as S, tt as C, u as T, ut as F } from "./dist-CWpXI8G2.js";
2
+ import { $i as E, $n as P, $r as I, $t as _, A, Aa as M, Ai as B, An as D, Ar as z, At as R, Bi as L, Bn as O, Br as $, C as U, Ca as K, Ci as N, Cn as j, Cr as W, D as V, Da as H, Di as G, Dn as q, Dt as Y, E as X, Ea as Z, Ei as J, En as Q, Et as ee, Fa as te, Fn as ne, Fr as oe, Ft as ae, G as le, Gi as re, Gn as ie, H as se, Ha as pe, Hi as de, Hr as ue, I as ce, Ia as xe, Ii as me, In as ve, Ir as be, J as ge, Jn as ye, Jt as he, K as fe, Ki as ke, Kn as we, Kt as Se, L as Ce, Li as Te, Ln as Fe, Lr as Ee, Lt as Pe, M as Ie, Ma as _e, Mi as Ae, Mn as Me, Mr as Be, Mt as De, Na as ze, Ni as Re, Nn as Le, Nr as Oe, Nt as $e, O as Ue, Oa as Ke, Oi as Ne, On as je, Or as We, Ot as Ve, Pa as He, Pi as Ge, Pn as qe, Pr as Ye, Pt as Xe, Qi as Ze, Qn as Je, Qt as Qe, Ri as et, Rn as tt, Rr as nt, Rt as ot, S as at, Sa as lt, Si as rt, Sn as it, Sr as st, T as pt, Ta as dt, Ti as ut, Tn as ct, Tr as xt, Tt as mt, U as vt, Ua as bt, Ui as gt, Un as yt, Ur as ht, V as ft, Vi as kt, Vr as wt, W as St, Wi as Ct, Wn as Tt, Wr as Ft, Wt as Et, X as Pt, Xi as It, Xn as _t, Xr as At, Xt as Mt, Yi as Bt, Yr as Dt, Yt as zt, Z as Rt, Zi as Lt, Zn as Ot, Zr as $t, Zt as Ut, _a as Kt, _i as Nt, _n as jt, _r as Wt, a as Vt, aa as Ht, ai as Gt, ar as qt, at as Yt, b as Xt, ba as Zt, bi as Jt, bn as Qt, br as en, c as tn, ca as nn, ci as on, cr as ln, d as rn, da as sn, di as pn, dn, ea as un, ei as cn, en as xn, et as vn, f as bn, fa as gn, fi as yn, fn as hn, fr as fn, ft as kn, ga as wn, gi as Sn, gn as Cn, gr as Tn, gt as Fn, h as En, ha as Pn, hi as In, hn as _n, hr as An, ht as Mn, ia as Bn, ii as Dn, in as zn, ir as Rn, it as Ln, j as On, ja as $n, ji as Un, jn as Kn, jr as Nn, jt as jn, k as Wn, ka as Vn, ki as Hn, kn as Gn, kr as qn, kt as Yn, l as Xn, la as Zn, li as Jn, ln as Qn, lr as eo, m as to, ma as no, mi as oo, mn as ao, mr as lo, n as ro, na as io, ni as so, nn as po, nr as uo, nt as co, o as xo, oa as mo, oi as vo, or as bo, ot as go, p as yo, pa as ho, pi as fo, pn as ko, pr as wo, q as So, qi as Co, qn as To, qr as Fo, qt as Eo, ra as Po, ri as Io, rn as _o, rr as Ao, rt as Mo, s as Bo, sa as Do, si as zo, sr as Ro, st as Lo, t as Oo, ta as $o, ti as Uo, tn as Ko, tr as No, u as jo, ua as Wo, ui as Vo, un as Ho, ut as Go, v as qo, va as Yo, vi as Xo, vn as Zo, vr as Jo, w as Qo, wa as ea, wi as ta, wn as na, wr as oa, wt as aa, x as la, xa as ra, xi as ia, xn as sa, xr as pa, xt as da, y as ua, ya as ca, yi as xa, yn as ma, yr as va, zi as ba, zn as ga, zr as ya, zt as ha } from "./useViewerSettingsDialog-C9EnaFCw.js";
3
3
  import { Fragment as fa, Teleport as ka, computed as wa, createBlock as Sa, createCommentVNode as Ca, createElementBlock as Ta, createElementVNode as Fa, createTextVNode as Ea, createVNode as Pa, defineComponent as Ia, guardReactiveProps as _a, inject as Aa, mergeModels as Ma, mergeProps as Ba, nextTick as Da, normalizeClass as za, normalizeProps as Ra, normalizeStyle as La, onBeforeUnmount as Oa, onMounted as $a, onScopeDispose as Ua, onUnmounted as Ka, onUpdated as Na, openBlock as ja, provide as Wa, ref as Va, renderList as Ha, renderSlot as Ga, resolveComponent as qa, resolveDynamicComponent as Ya, shallowRef as Xa, toDisplayString as Za, toRef as Ja, toValue as Qa, unref as el, useModel as tl, vModelCheckbox as nl, vModelDynamic as ol, vModelSelect as al, vModelText as ll, vShow as rl, watch as il, watchEffect as sl, withCtx as pl, withDirectives as dl, withKeys as ul, withModifiers as cl } from "vue";
4
4
  import xl from "dompurify";
5
5
  import { AArrowDown as ml, AArrowUp as vl, AlignCenter as bl, AlignHorizontalSpaceAround as gl, AlignJustify as yl, AlignLeft as hl, AlignRight as fl, AlignVerticalSpaceAround as kl, ArrowRightLeft as wl, Bold as Sl, Captions as Cl, Cast as Tl, Check as Fl, ChevronDown as El, ChevronUp as Pl, Circle as Il, ClipboardList as _l, ClipboardPaste as Al, Clock as Ml, Columns2 as Bl, Copy as Dl, Database as zl, Diamond as Rl, Download as Ll, Ellipsis as Ol, Eye as $l, EyeOff as Ul, File as Kl, FileText as Nl, FolderOpen as jl, FolderPlus as Wl, GitCompare as Vl, Globe as Hl, GripVertical as Gl, Highlighter as ql, Image as Yl, IndentDecrease as Xl, IndentIncrease as Zl, Info as Jl, Italic as Ql, Layers as er, LayoutGrid as tr, Link as nr, List as or, ListOrdered as ar, Lock as lr, LockOpen as rr, Menu as ir, MessageSquare as sr, Minus as pr, Monitor as dr, MoveRight as ur, Package as cr, PaintBucket as xr, Paintbrush as mr, Palette as vr, PanelLeft as br, PanelRight as gr, PenLine as yr, PenTool as hr, Pencil as fr, Pipette as kr, Play as wr, Plus as Sr, Presentation as Cr, Printer as Tr, Radio as Fr, Redo as Er, RemoveFormatting as Pr, RotateCcw as Ir, RotateCw as _r, Save as Ar, Scissors as Mr, Search as Br, Settings as Dr, Shapes as zr, Share2 as Rr, ShieldAlert as Lr, ShieldCheck as Or, Sparkles as $r, SpellCheck as Ur, Spline as Kr, Square as Nr, StickyNote as jr, Strikethrough as Wr, TextCursorInput as Vr, Trash2 as Hr, Triangle as Gr, TriangleAlert as qr, Type as Yr, Underline as Xr, Undo as Zr, Video as Jr, Wand as Qr, X as ei } from "lucide-vue-next";
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-vue-viewer",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Vue 3 PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "editor",
Binary file
Binary file
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- const e = require("./useViewerSettingsDialog-CsDM0LXb.cjs");
2
- exports.encodeGif = e.encodeGif;
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import { Qr as e } from "./useViewerSettingsDialog-bSmte4rJ.js";
2
- export { e as encodeGif };
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file