@eternalheart/vue-file-preview 1.6.7 → 1.6.8

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 (31) hide show
  1. package/README.md +17 -3
  2. package/README.zh-CN.md +17 -3
  3. package/lib/chunks/{index-06Ivpw6V.mjs → index-B1OYfn_2.mjs} +1 -1
  4. package/lib/chunks/{index-DoqCnKkl.mjs → index-BJpiAJuf.mjs} +2 -2
  5. package/lib/chunks/{index-CK43N0Ho.mjs → index-BgtFv2mf.mjs} +1 -1
  6. package/lib/chunks/{index-DlIRXpmw.mjs → index-C3isZ_ue.mjs} +1 -1
  7. package/lib/chunks/{index-BflKoE04.mjs → index-CG01fzip.mjs} +1 -1
  8. package/lib/chunks/{index-CXAEvuVP.mjs → index-CJYCIk06.mjs} +1 -1
  9. package/lib/chunks/{index-B3jcS1UB.mjs → index-CRTvjRyt.mjs} +1 -1
  10. package/lib/chunks/{index-Cv0lIWeI.mjs → index-CVN9K0qA.mjs} +1 -1
  11. package/lib/chunks/{index-BgTW_P3u.mjs → index-CodGY6nz.mjs} +1 -1
  12. package/lib/chunks/{index-CR3QkKJt.mjs → index-D18co0be.mjs} +1 -1
  13. package/lib/chunks/{index-CBN0qoP1.mjs → index-D4O2OC-3.mjs} +1 -1
  14. package/lib/chunks/index-D5JP7cnv.mjs +110 -0
  15. package/lib/chunks/{index-B6UNmyiS.mjs → index-D6tN6EZR.mjs} +1 -1
  16. package/lib/chunks/{index-Cr7raBmi.mjs → index-DJAZU94G.mjs} +1 -1
  17. package/lib/chunks/{index-sPfLaVRe.mjs → index-DL3r7NGE.mjs} +1 -1
  18. package/lib/chunks/{index-D_XKzCZJ.mjs → index-DYI-zHxA.mjs} +1 -1
  19. package/lib/chunks/{index--sqXkUEP.mjs → index-DbQYYr9C.mjs} +1 -1
  20. package/lib/chunks/{index-DdbaVSB8.mjs → index-Hj5oboUU.mjs} +529 -534
  21. package/lib/chunks/{index-CyIp8Xfg.mjs → index-TlmEk0Wz.mjs} +1 -1
  22. package/lib/chunks/{index-Xta2zHnj.mjs → index-XEPcqTt4.mjs} +1 -1
  23. package/lib/chunks/index-Z3_lfqRQ.mjs +348 -0
  24. package/lib/chunks/{index-CSY197_j.mjs → index-bgq5MUC6.mjs} +1 -1
  25. package/lib/chunks/{useShikiHighlight-J62fUszo.mjs → useShikiHighlight-xcK26Bn3.mjs} +1 -1
  26. package/lib/index.cjs +18 -18
  27. package/lib/index.css +1 -1
  28. package/lib/index.mjs +1 -1
  29. package/package.json +1 -1
  30. package/lib/chunks/index-BWNmKHd0.mjs +0 -110
  31. package/lib/chunks/index-BmsJxBJa.mjs +0 -320
package/README.md CHANGED
@@ -53,23 +53,29 @@ By default, the component automatically uses unpkg CDN to load PDF.js, no additi
53
53
  1. Copy PDF.js files to your public directory:
54
54
 
55
55
  ```bash
56
- cp -r node_modules/pdfjs-dist/build/pdf.worker.min.mjs public/pdfjs/
56
+ cp -r node_modules/pdfjs-dist/legacy/build/pdf.worker.min.mjs public/pdfjs/
57
57
  cp -r node_modules/pdfjs-dist/cmaps public/pdfjs/
58
+ cp -r node_modules/pdfjs-dist/standard_fonts public/pdfjs/
59
+ cp -r node_modules/pdfjs-dist/wasm public/pdfjs/
58
60
  ```
59
61
 
60
62
  2. Configure PDF.js in your app entry:
61
63
 
62
64
  ```ts
63
- import * as pdfjsLib from 'pdfjs-dist/build/pdf.mjs';
65
+ import * as pdfjsLib from 'pdfjs-dist/legacy/build/pdf.mjs';
64
66
  import { configurePdfWorker } from '@eternalheart/vue-file-preview';
65
67
 
66
68
  configurePdfWorker(pdfjsLib, {
67
69
  workerSrc: '/pdfjs/pdf.worker.min.mjs',
68
70
  cMapUrl: '/pdfjs/cmaps/',
69
71
  cMapPacked: true,
72
+ standardFontDataUrl: '/pdfjs/standard_fonts/',
73
+ wasmUrl: '/pdfjs/wasm/',
70
74
  });
71
75
  ```
72
76
 
77
+ Call this during client application initialization, before the first PDF render. The worker must use the legacy build matching the installed `pdfjs-dist` version.
78
+
73
79
  #### Auto-copy with Vite (Recommended)
74
80
 
75
81
  Configure auto-copy in `vite.config.ts`:
@@ -83,12 +89,20 @@ export default defineConfig({
83
89
  viteStaticCopy({
84
90
  targets: [
85
91
  {
86
- src: 'node_modules/pdfjs-dist/build/pdf.worker.min.mjs',
92
+ src: 'node_modules/pdfjs-dist/legacy/build/pdf.worker.min.mjs',
87
93
  dest: 'pdfjs'
88
94
  },
89
95
  {
90
96
  src: 'node_modules/pdfjs-dist/cmaps',
91
97
  dest: 'pdfjs'
98
+ },
99
+ {
100
+ src: 'node_modules/pdfjs-dist/standard_fonts',
101
+ dest: 'pdfjs'
102
+ },
103
+ {
104
+ src: 'node_modules/pdfjs-dist/wasm',
105
+ dest: 'pdfjs'
92
106
  }
93
107
  ]
94
108
  })
package/README.zh-CN.md CHANGED
@@ -53,23 +53,29 @@ import '@eternalheart/vue-file-preview/style.css';
53
53
  1. 将 PDF.js 文件复制到你的 public 目录:
54
54
 
55
55
  ```bash
56
- cp -r node_modules/pdfjs-dist/build/pdf.worker.min.mjs public/pdfjs/
56
+ cp -r node_modules/pdfjs-dist/legacy/build/pdf.worker.min.mjs public/pdfjs/
57
57
  cp -r node_modules/pdfjs-dist/cmaps public/pdfjs/
58
+ cp -r node_modules/pdfjs-dist/standard_fonts public/pdfjs/
59
+ cp -r node_modules/pdfjs-dist/wasm public/pdfjs/
58
60
  ```
59
61
 
60
62
  2. 在应用入口配置 PDF.js:
61
63
 
62
64
  ```ts
63
- import * as pdfjsLib from 'pdfjs-dist/build/pdf.mjs';
65
+ import * as pdfjsLib from 'pdfjs-dist/legacy/build/pdf.mjs';
64
66
  import { configurePdfWorker } from '@eternalheart/vue-file-preview';
65
67
 
66
68
  configurePdfWorker(pdfjsLib, {
67
69
  workerSrc: '/pdfjs/pdf.worker.min.mjs',
68
70
  cMapUrl: '/pdfjs/cmaps/',
69
71
  cMapPacked: true,
72
+ standardFontDataUrl: '/pdfjs/standard_fonts/',
73
+ wasmUrl: '/pdfjs/wasm/',
70
74
  });
71
75
  ```
72
76
 
77
+ 请在客户端应用初始化阶段、首次渲染 PDF 前调用。Worker 必须使用与当前 `pdfjs-dist` 版本匹配的 legacy 构建。
78
+
73
79
  #### 使用 Vite 自动复制(推荐)
74
80
 
75
81
  在 `vite.config.ts` 中配置自动复制:
@@ -83,12 +89,20 @@ export default defineConfig({
83
89
  viteStaticCopy({
84
90
  targets: [
85
91
  {
86
- src: 'node_modules/pdfjs-dist/build/pdf.worker.min.mjs',
92
+ src: 'node_modules/pdfjs-dist/legacy/build/pdf.worker.min.mjs',
87
93
  dest: 'pdfjs'
88
94
  },
89
95
  {
90
96
  src: 'node_modules/pdfjs-dist/cmaps',
91
97
  dest: 'pdfjs'
98
+ },
99
+ {
100
+ src: 'node_modules/pdfjs-dist/standard_fonts',
101
+ dest: 'pdfjs'
102
+ },
103
+ {
104
+ src: 'node_modules/pdfjs-dist/wasm',
105
+ dest: 'pdfjs'
92
106
  }
93
107
  ]
94
108
  })
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Me, ref as i, watch as $, onBeforeUnmount as ee, onMounted as Re, computed as te, openBlock as x, createElementBlock as C, normalizeStyle as ae, createVNode as _e, unref as le, createElementVNode as X, createTextVNode as Le, toDisplayString as S, createCommentVNode as L, createBlock as oe, normalizeClass as ke } from "vue";
2
2
  import { ZoomOut as Ee, ZoomIn as Ce, Scan as Te, Maximize2 as Ue, RotateCcw as Ye, RotateCw as ze, RefreshCw as Se, Loader2 as Xe } from "lucide-vue-next";
3
- import { u as We, i as Be, Z as De, W as Oe, p as je, R as Ze } from "./index-DdbaVSB8.mjs";
3
+ import { u as We, i as Be, Z as De, W as Oe, p as je, R as Ze } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as ne } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  import { T as Pe } from "./base.types-DaftHyg7.mjs";
6
6
  const $e = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as L, ref as c, watch as M, computed as D, openBlock as n, createElementBlock as a, createElementVNode as r, createBlock as H, unref as h, toDisplayString as w, normalizeStyle as B, Fragment as y, renderList as F } from "vue";
2
- import { u as G, b as N, e as P } from "./index-DdbaVSB8.mjs";
3
- import { u as X } from "./useShikiHighlight-J62fUszo.mjs";
2
+ import { u as G, b as N, e as P } from "./index-Hj5oboUU.mjs";
3
+ import { u as X } from "./useShikiHighlight-xcK26Bn3.mjs";
4
4
  import { _ as j } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  const E = {
6
6
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as p, onMounted as D, watch as M, onBeforeUnmount as z, openBlock as v, createElementBlock as h, createElementVNode as m, toDisplayString as B, unref as _, createCommentVNode as w, createBlock as S, normalizeStyle as C } from "vue";
2
2
  import W from "exceljs";
3
3
  import { S as H } from "./index-CyBXARuf.mjs";
4
- import { u as R, b as G, C as L, s as F, y as N, g as O } from "./index-DdbaVSB8.mjs";
4
+ import { u as R, b as G, C as L, s as F, y as N, g as O } from "./index-Hj5oboUU.mjs";
5
5
  import { _ as V } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
6
6
  const $ = { class: "vfp-relative vfp-flex vfp-flex-col vfp-items-center vfp-w-full vfp-h-full" }, j = {
7
7
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ie, ref as c, watch as U, onMounted as se, onBeforeUnmount as ue, openBlock as p, createElementBlock as v, createBlock as fe, createCommentVNode as C, createElementVNode as h, normalizeStyle as T, toDisplayString as N, unref as J, createVNode as ce, Fragment as O, renderList as K } from "vue";
2
2
  import pe from "@likecoin/epub-ts";
3
3
  import { List as ve, ChevronLeft as he, ChevronRight as de, Minimize2 as be, Maximize2 as me, X as ge } from "lucide-vue-next";
4
- import { u as xe, b as ye } from "./index-DdbaVSB8.mjs";
4
+ import { u as xe, b as ye } from "./index-Hj5oboUU.mjs";
5
5
  import { _ as we } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
6
6
  import { T as ke } from "./base.types-DaftHyg7.mjs";
7
7
  const _e = { class: "vfp-relative vfp-w-full vfp-h-full vfp-flex vfp-justify-center vfp-bg-surface-1 vfp-overflow-hidden" }, Te = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as W, ref as y, onMounted as F, watch as L, onBeforeUnmount as P, openBlock as g, createElementBlock as x, createElementVNode as _, toDisplayString as q, unref as B, createCommentVNode as T, createBlock as A, normalizeStyle as G } from "vue";
2
2
  import { init as E } from "pptx-preview";
3
- import { u as H, b as I, D as N } from "./index-DdbaVSB8.mjs";
3
+ import { u as H, b as I, D as N } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as O } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  const S = { class: "vfp-relative vfp-flex vfp-flex-col vfp-items-center vfp-w-full vfp-h-full" }, V = {
6
6
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, ref as a, watch as _, openBlock as n, createElementBlock as c, createElementVNode as l, createBlock as h } from "vue";
2
- import { u as w, b as y, T as x } from "./index-DdbaVSB8.mjs";
2
+ import { u as w, b as y, T as x } from "./index-Hj5oboUU.mjs";
3
3
  import { _ as g } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
4
4
  const b = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Os, ref as Ie, onMounted as ws, onBeforeUnmount as Es, watch as Mr, openBlock as ge, createElementBlock as ke, normalizeStyle as Pr, toDisplayString as K, computed as mt, createElementVNode as P, unref as ae, createBlock as Br, Fragment as Dn, createCommentVNode as Wt, withDirectives as Nr, vModelText as _r, renderList as Gr, createVNode as qt } from "vue";
2
- import { u as Hr, b as Vr, c as zr } from "./index-DdbaVSB8.mjs";
2
+ import { u as Hr, b as Vr, c as zr } from "./index-Hj5oboUU.mjs";
3
3
  import { _ as jr } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
4
4
  var mn = 0, Rs = -3;
5
5
  function at() {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as L, ref as a, watch as _, nextTick as M, computed as y, openBlock as s, createElementBlock as c, createElementVNode as f, createBlock as $, normalizeStyle as p, Fragment as N, renderList as j } from "vue";
2
2
  import I from "mammoth";
3
- import { u as F, b as X, X as C, j as R, B as q } from "./index-DdbaVSB8.mjs";
3
+ import { u as F, b as X, X as C, j as R, B as q } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as z } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  const O = {
6
6
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as er, ref as qe, watch as tr, computed as te, openBlock as J, createElementBlock as Q, createElementVNode as F, createBlock as rr, unref as se, toDisplayString as ne, createVNode as he, createCommentVNode as oe, normalizeStyle as ir, Fragment as nr, renderList as ar, createTextVNode as sr, normalizeClass as or } from "vue";
2
2
  import { User as cr, Users as Ve, Calendar as mt, Clock as Et, Tag as gt, Mail as fr, Paperclip as ur, Hash as hr } from "lucide-vue-next";
3
- import { u as lr, b as dr, _ as pr } from "./index-DdbaVSB8.mjs";
3
+ import { u as lr, b as dr, _ as pr } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as yr } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
6
  function br(e) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as me, ref as p, watch as ue, onMounted as ce, onBeforeUnmount as ve, openBlock as S, createElementBlock as B, createBlock as Me, createCommentVNode as D, createElementVNode as h, normalizeStyle as W, toDisplayString as Ce, unref as K, createVNode as de, h as N } from "vue";
2
2
  import { List as Se, ChevronLeft as Ne, ChevronRight as Re, Minimize2 as ze, Maximize2 as Ae, X as Le } from "lucide-vue-next";
3
3
  import "foliate-js/view.js";
4
- import { u as Fe, b as Pe, _ as $e } from "./index-DdbaVSB8.mjs";
4
+ import { u as Fe, b as Pe, _ as $e } from "./index-Hj5oboUU.mjs";
5
5
  import { _ as He } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
6
6
  import { T as Be } from "./base.types-DaftHyg7.mjs";
7
7
  const De = { class: "vfp-relative vfp-w-full vfp-h-full vfp-flex vfp-justify-center vfp-bg-surface-1 vfp-overflow-hidden" }, We = {
@@ -5,7 +5,7 @@ import { DXFLoader as ce } from "three-dxf-loader";
5
5
  import { STLLoader as ue } from "three/examples/jsm/loaders/STLLoader";
6
6
  import { OBJLoader as de } from "three/examples/jsm/loaders/OBJLoader";
7
7
  import { GLTFLoader as pe } from "three/examples/jsm/loaders/GLTFLoader";
8
- import { u as me, b as ve } from "./index-DdbaVSB8.mjs";
8
+ import { u as me, b as ve } from "./index-Hj5oboUU.mjs";
9
9
  import { T as ge } from "./base.types-DaftHyg7.mjs";
10
10
  import { RotateCcw as we, Box as he, Grid3x3 as be, Axis3d as ye } from "lucide-vue-next";
11
11
  function Me(c) {
@@ -0,0 +1,110 @@
1
+ import { defineComponent as S, ref as i, computed as c, watch as x, unref as h, openBlock as a, createElementBlock as n, createElementVNode as l, createBlock as B, normalizeClass as k, toDisplayString as T, normalizeStyle as F, Fragment as E, renderList as z } from "vue";
2
+ import { WrapText as G, Code as M, Eye as W } from "lucide-vue-next";
3
+ import { u as $, b as j, k as D, e as P } from "./index-Hj5oboUU.mjs";
4
+ import { u as R } from "./useShikiHighlight-xcK26Bn3.mjs";
5
+ import { _ as V } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
6
+ import { T as q } from "./base.types-DaftHyg7.mjs";
7
+ const A = {
8
+ key: 0,
9
+ class: "vfp-flex vfp-items-center vfp-justify-center vfp-w-full vfp-h-full"
10
+ }, I = {
11
+ key: 2,
12
+ class: "vfp-w-full vfp-h-full vfp-bg-surface-toolbar"
13
+ }, J = ["srcdoc", "title"], K = {
14
+ key: 3,
15
+ class: "vfp-w-full vfp-h-full vfp-overflow-auto",
16
+ style: { background: "var(--fp-code-bg)" }
17
+ }, O = {
18
+ key: 4,
19
+ class: "vfp-w-full vfp-h-full vfp-overflow-auto",
20
+ style: { background: "var(--fp-code-bg)" }
21
+ }, Q = { class: "vfp-code-gutter" }, U = ["innerHTML"], se = /* @__PURE__ */ S({
22
+ __name: "index",
23
+ props: {
24
+ url: {},
25
+ fileName: {}
26
+ },
27
+ setup(g, { expose: H }) {
28
+ const d = g, b = new q(), { t: u } = $(), C = j(), t = i(!0), o = i(!1), v = i(""), f = i(!0), p = i(null), r = c(() => D(d.fileName)), L = c(() => r.value !== "text" ? v.value : ""), { lineHtmls: w, loading: N } = R(L, r), y = c(() => r.value === "html");
29
+ x([t, o, f, y], () => {
30
+ b.notify();
31
+ }), x(() => d.url, async () => {
32
+ f.value = !0, p.value = null;
33
+ try {
34
+ const e = await P(d.url, { fetcher: C.value });
35
+ v.value = e;
36
+ } catch (e) {
37
+ console.error(e), p.value = u.value("text.load_failed");
38
+ } finally {
39
+ f.value = !1;
40
+ }
41
+ }, { immediate: !0 });
42
+ const _ = c(() => v.value.split(`
43
+ `));
44
+ return H({
45
+ getToolbarGroups: () => {
46
+ const e = [];
47
+ return e.push({
48
+ items: [
49
+ {
50
+ type: "button",
51
+ icon: G,
52
+ tooltip: t.value ? u.value("toolbar.wrap_off") : u.value("toolbar.wrap_on"),
53
+ action: () => {
54
+ t.value = !t.value;
55
+ },
56
+ active: t.value
57
+ }
58
+ ]
59
+ }), y.value && e.push({
60
+ items: [
61
+ {
62
+ type: "button",
63
+ icon: o.value ? M : W,
64
+ tooltip: o.value ? u.value("toolbar.source") : u.value("toolbar.preview"),
65
+ action: () => {
66
+ o.value = !o.value;
67
+ },
68
+ active: o.value
69
+ }
70
+ ]
71
+ }), e;
72
+ },
73
+ onToolbarChange: (e) => b.subscribe(e)
74
+ }), (e, s) => f.value || r.value !== "text" && h(N) ? (a(), n("div", A, [...s[0] || (s[0] = [
75
+ l("div", { class: "vfp-w-12 vfp-h-12 vfp-border-4 vfp-border-line-strong vfp-border-t-spinner-head vfp-rounded-full vfp-animate-spin" }, null, -1)
76
+ ])])) : p.value ? (a(), B(V, {
77
+ key: 1,
78
+ message: p.value
79
+ }, null, 8, ["message"])) : o.value && r.value === "html" ? (a(), n("div", I, [
80
+ l("iframe", {
81
+ srcdoc: v.value,
82
+ sandbox: "allow-same-origin",
83
+ class: "vfp-w-full vfp-h-full vfp-border-0",
84
+ title: g.fileName
85
+ }, null, 8, J)
86
+ ])) : r.value === "text" || h(w).length === 0 ? (a(), n("div", K, [
87
+ l("pre", {
88
+ class: k(["vfp-py-6 vfp-px-4 vfp-text-fg-primary vfp-font-mono vfp-text-sm", t.value ? "vfp-whitespace-pre-wrap vfp-break-words" : "vfp-whitespace-pre"])
89
+ }, T(v.value), 3)
90
+ ])) : (a(), n("div", O, [
91
+ l("div", {
92
+ class: k(["vfp-code-block with-line-numbers vfp-w-full", { "no-wrap": !t.value }]),
93
+ style: F({ gridTemplateRows: `repeat(${_.value.length}, auto) minmax(1.5rem, 1fr)` })
94
+ }, [
95
+ (a(!0), n(E, null, z(_.value, (Z, m) => (a(), n(E, { key: m }, [
96
+ l("span", Q, T(m + 1), 1),
97
+ l("span", {
98
+ class: "vfp-code-line",
99
+ innerHTML: h(w)[m] ?? ""
100
+ }, null, 8, U)
101
+ ], 64))), 128)),
102
+ s[1] || (s[1] = l("span", { class: "vfp-code-gutter-filler" }, null, -1)),
103
+ s[2] || (s[2] = l("span", { class: "vfp-code-line-filler" }, null, -1))
104
+ ], 6)
105
+ ]));
106
+ }
107
+ });
108
+ export {
109
+ se as default
110
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as f, watch as q, onUnmounted as W, defineComponent as X, toRef as J, computed as B, onMounted as K, onBeforeUnmount as Q, unref as e, openBlock as _, createBlock as V, createElementBlock as H, createElementVNode as a, normalizeClass as D, createVNode as E, toDisplayString as N, normalizeStyle as O, resolveDynamicComponent as Y, Transition as Z, withCtx as ee, createCommentVNode as te } from "vue";
2
2
  import { VolumeX as ae, Volume1 as oe, Volume2 as ne, AudioLines as le, Pause as se, Play as re, SkipBack as ie, SkipForward as fe, Repeat as ve } from "lucide-vue-next";
3
- import { r as ue, u as pe } from "./index-DdbaVSB8.mjs";
3
+ import { r as ue, u as pe } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as de } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  function ce(L) {
6
6
  const v = f(null), y = f(!1), p = f(!0), n = f(0), T = f(0), g = f(1), x = f(!1), h = f(!1), u = f(null);
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, ref as p, onMounted as D, watch as z, onBeforeUnmount as M, openBlock as v, createElementBlock as h, createElementVNode as m, toDisplayString as S, unref as C, createCommentVNode as w, createBlock as N, normalizeStyle as B } from "vue";
2
2
  import { S as H } from "./index-CyBXARuf.mjs";
3
- import { u as O, b as R, e as W, d as G, O as V, l as E } from "./index-DdbaVSB8.mjs";
3
+ import { u as O, b as R, e as W, d as G, O as V, l as E } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as F } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  const L = { class: "vfp-relative vfp-flex vfp-flex-col vfp-items-center vfp-w-full vfp-h-full" }, j = {
6
6
  key: 0,
@@ -14,7 +14,7 @@ var $t = (u, e, t, s) => ({
14
14
  }
15
15
  });
16
16
  import { defineComponent as jb, ref as Si, watch as aa, nextTick as wu, onMounted as Gb, onBeforeUnmount as _b, openBlock as zh, createElementBlock as Eu, normalizeStyle as Ep, createElementVNode as sn, toDisplayString as zb, unref as Im, createVNode as Vb, createCommentVNode as Su, createBlock as Wb } from "vue";
17
- import { a as Xb, u as Yb, Y as Pm, A as Kb } from "./index-DdbaVSB8.mjs";
17
+ import { a as Xb, u as Yb, Y as Pm, A as Kb } from "./index-Hj5oboUU.mjs";
18
18
  import { _ as Jb } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
19
19
  import { X as Qb, Menu as Zb, ChevronLeft as qb, ChevronRight as tA, ZoomOut as eA, ZoomIn as sA, RefreshCw as iA } from "lucide-vue-next";
20
20
  import { T as nA } from "./base.types-DaftHyg7.mjs";
@@ -3,7 +3,7 @@ import N from "markdown-it";
3
3
  import Y from "@traptitech/markdown-it-katex";
4
4
  import { codeToHtml as E } from "shiki";
5
5
  import { Code as F, Eye as W } from "lucide-vue-next";
6
- import { u as z, b as J, c as Q, e as U, _ as X } from "./index-DdbaVSB8.mjs";
6
+ import { u as z, b as J, c as Q, e as U, _ as X } from "./index-Hj5oboUU.mjs";
7
7
  import { _ as Z } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
8
8
  import { T as ee } from "./base.types-DaftHyg7.mjs";
9
9
  const te = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, ref as d, onMounted as b, watch as w, onBeforeUnmount as T, openBlock as f, createBlock as E, createElementBlock as m, createElementVNode as a, toDisplayString as C, unref as D, createCommentVNode as j } from "vue";
2
2
  import B from "video.js";
3
- import { u as N, n as _ } from "./index-DdbaVSB8.mjs";
3
+ import { u as N, n as _ } from "./index-Hj5oboUU.mjs";
4
4
  import { _ as P } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
5
5
  const R = {
6
6
  key: 1,