@xiping/react-components 1.0.70 → 1.0.77
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/dist/cjs/_virtual/_rolldown/runtime.js +1 -0
- package/dist/cjs/components/blur-fade/BlurFade.js +1 -1
- package/dist/cjs/components/blur-text/BlurText.js +1 -1
- package/dist/cjs/components/button/Button.css +1 -1
- package/dist/cjs/components/button/Button2.js +1 -0
- package/dist/cjs/components/comic-text/ComicText2.js +4 -0
- package/dist/cjs/components/confetti-button/index.js +1 -1
- package/dist/cjs/components/dock/Duck.css +1 -1
- package/dist/cjs/components/dock/Duck2.js +1 -0
- package/dist/cjs/components/flip-text/FlipText.css +1 -1
- package/dist/cjs/components/flip-text/FlipText2.js +1 -0
- package/dist/cjs/components/gradient-text/index.css +1 -1
- package/dist/cjs/components/gradient-text/index2.js +1 -0
- package/dist/cjs/components/hyper-text/HyperText.css +1 -1
- package/dist/cjs/components/hyper-text/index.js +1 -1
- package/dist/cjs/components/image-compare/ImageCompare.css +1 -1
- package/dist/cjs/components/image-compare/ImageCompare2.js +1 -0
- package/dist/cjs/components/image-viewer/ImageThumbnails.css +1 -1
- package/dist/cjs/components/image-viewer/ImageThumbnails2.js +1 -0
- package/dist/cjs/components/image-viewer/ImageViewer.css +1 -1
- package/dist/cjs/components/image-viewer/ImageViewer.d.ts +1 -1
- package/dist/cjs/components/image-viewer/ImageViewer2.js +1 -0
- package/dist/cjs/components/message/Message.css +1 -1
- package/dist/cjs/components/message/Message2.js +1 -0
- package/dist/cjs/components/pinch-content/PinchContent.js +1 -1
- package/dist/cjs/components/pinch-content/index.js +1 -1
- package/dist/cjs/components/pointer/Pointer.css +1 -1
- package/dist/cjs/components/pointer/Pointer2.js +1 -0
- package/dist/cjs/components/scratch-to-reveal/ScratchToReveal.css +1 -1
- package/dist/cjs/components/scratch-to-reveal/ScratchToReveal2.js +1 -0
- package/dist/cjs/components/shimmer-button/ShimmerButton.css +1 -1
- package/dist/cjs/components/shimmer-button/ShimmerButton2.js +1 -0
- package/dist/cjs/components/shiny-button/ShinyButton.css +1 -1
- package/dist/cjs/components/shiny-button/ShinyButton2.js +1 -0
- package/dist/cjs/components/shiny-text/ShinyText2.js +1 -0
- package/dist/cjs/components/sparkles-text/SparklesText.css +1 -1
- package/dist/cjs/components/sparkles-text/SparklesText2.js +1 -0
- package/dist/cjs/components/split-text/SplitText.css +1 -1
- package/dist/cjs/components/split-text/SplitText2.js +1 -0
- package/dist/cjs/components/subtitle-player/CurrentMode.css +1 -1
- package/dist/cjs/components/subtitle-player/CurrentMode2.js +2 -0
- package/dist/cjs/components/subtitle-player/LyricsMode.css +1 -1
- package/dist/cjs/components/subtitle-player/LyricsMode2.js +2 -0
- package/dist/cjs/components/subtitle-player/SubtitlePlayer.css +1 -1
- package/dist/cjs/components/subtitle-player/SubtitlePlayer2.js +1 -0
- package/dist/cjs/components/subtitle-player/utils.js +1 -1
- package/dist/cjs/components/text-animate/TextAnimate.css +1 -1
- package/dist/cjs/components/text-animate/TextAnimate2.js +2 -0
- package/dist/cjs/components/text-type/TextType.css +1 -1
- package/dist/cjs/components/text-type/TextType2.js +1 -0
- package/dist/cjs/components/txt-editor/TxtEditor.js +4 -4
- package/dist/cjs/components/txt-reader/TxtReader.js +1 -1
- package/dist/cjs/components/txt-reader/index.module.css +1 -1
- package/dist/cjs/components/txt-reader/index.module.js +1 -0
- package/dist/cjs/components/typing-animation/index.css +1 -1
- package/dist/cjs/components/typing-animation/index2.js +1 -0
- package/dist/cjs/components/variable-proximity/index.css +1 -1
- package/dist/cjs/components/variable-proximity/index2.js +1 -0
- package/dist/cjs/components/video-dialog/VideoDialog.css +1 -1
- package/dist/cjs/components/video-dialog/VideoDialog2.js +1 -0
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer.css +1 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer.mobile.css +1 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer.pc.css +1 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer2.js +1 -0
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayerMobile.js +1 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayerPC.js +1 -1
- package/dist/cjs/components/video-subtitle-player/layouts/VideoSubtitlePlayerLayoutMobile.js +1 -1
- package/dist/cjs/components/video-subtitle-player/layouts/VideoSubtitlePlayerLayoutPC.js +1 -1
- package/dist/cjs/components/video-subtitle-player/useVideoSubtitleStore.js +1 -1
- package/dist/cjs/components/video-subtitle-player/useXGPlayer.js +1 -1
- package/dist/cjs/hooks/useStayTimeReport.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.24_core-js@3.47.0/node_modules/xgplayer/dist/index.min.css +1 -1
- package/dist/cjs/packages/subtitle/lib/index.js +1 -0
- package/dist/cjs/packages/subtitle/lib/src/json-converter.js +1 -1
- package/dist/cjs/packages/subtitle/lib/src/parser.js +5 -5
- package/dist/cjs/react-components.css +27 -27
- package/dist/es/components/blur-fade/BlurFade.js +37 -49
- package/dist/es/components/blur-text/BlurText.js +67 -76
- package/dist/es/components/button/Button.css +1 -1
- package/dist/es/components/button/Button2.js +48 -0
- package/dist/es/components/comic-text/ComicText2.js +55 -0
- package/dist/es/components/confetti-button/index.js +63 -75
- package/dist/es/components/dock/Duck.css +1 -1
- package/dist/es/components/dock/Duck2.js +60 -0
- package/dist/es/components/flip-text/FlipText.css +1 -1
- package/dist/es/components/flip-text/FlipText2.js +41 -0
- package/dist/es/components/gradient-text/index.css +1 -1
- package/dist/es/components/gradient-text/index2.js +29 -0
- package/dist/es/components/hyper-text/HyperText.css +1 -1
- package/dist/es/components/hyper-text/index.js +51 -79
- package/dist/es/components/image-compare/ImageCompare.css +1 -1
- package/dist/es/components/image-compare/ImageCompare2.js +96 -0
- package/dist/es/components/image-viewer/ImageThumbnails.css +1 -1
- package/dist/es/components/image-viewer/ImageThumbnails2.js +40 -0
- package/dist/es/components/image-viewer/ImageViewer.css +1 -1
- package/dist/es/components/image-viewer/ImageViewer.d.ts +1 -1
- package/dist/es/components/image-viewer/ImageViewer2.js +151 -0
- package/dist/es/components/message/Message.css +1 -1
- package/dist/es/components/message/Message2.js +189 -0
- package/dist/es/components/pinch-content/PinchContent.js +120 -127
- package/dist/es/components/pinch-content/index.js +5 -5
- package/dist/es/components/pointer/Pointer.css +1 -1
- package/dist/es/components/pointer/Pointer2.js +61 -0
- package/dist/es/components/react-force-graph-3d/index.js +2 -0
- package/dist/es/components/scratch-to-reveal/ScratchToReveal.css +1 -1
- package/dist/es/components/scratch-to-reveal/ScratchToReveal2.js +88 -0
- package/dist/es/components/shimmer-button/ShimmerButton.css +1 -1
- package/dist/es/components/shimmer-button/ShimmerButton2.js +33 -0
- package/dist/es/components/shiny-button/ShinyButton.css +1 -1
- package/dist/es/components/shiny-button/ShinyButton2.js +53 -0
- package/dist/es/components/shiny-text/ShinyText2.js +61 -0
- package/dist/es/components/sparkles-text/SparklesText.css +1 -1
- package/dist/es/components/sparkles-text/SparklesText2.js +90 -0
- package/dist/es/components/split-text/SplitText.css +1 -1
- package/dist/es/components/split-text/SplitText2.js +109 -0
- package/dist/es/components/subtitle-player/CurrentMode.css +1 -1
- package/dist/es/components/subtitle-player/CurrentMode2.js +44 -0
- package/dist/es/components/subtitle-player/LyricsMode.css +1 -1
- package/dist/es/components/subtitle-player/LyricsMode2.js +114 -0
- package/dist/es/components/subtitle-player/SubtitlePlayer.css +1 -1
- package/dist/es/components/subtitle-player/SubtitlePlayer2.js +169 -0
- package/dist/es/components/subtitle-player/utils.js +63 -69
- package/dist/es/components/text-animate/TextAnimate.css +1 -1
- package/dist/es/components/text-animate/TextAnimate2.js +312 -0
- package/dist/es/components/text-type/TextType.css +1 -1
- package/dist/es/components/text-type/TextType2.js +80 -0
- package/dist/es/components/txt-editor/TxtEditor.js +60 -95
- package/dist/es/components/txt-reader/TxtReader.js +45 -74
- package/dist/es/components/txt-reader/index.module.css +1 -1
- package/dist/es/components/txt-reader/index.module.js +10 -0
- package/dist/es/components/typing-animation/index.css +1 -1
- package/dist/es/components/typing-animation/index2.js +43 -0
- package/dist/es/components/variable-proximity/index.css +1 -1
- package/dist/es/components/variable-proximity/index2.js +179 -0
- package/dist/es/components/video-dialog/VideoDialog.css +1 -1
- package/dist/es/components/video-dialog/VideoDialog2.js +168 -0
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer.css +1 -1
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer.mobile.css +1 -1
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer.pc.css +1 -1
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer2.js +43 -0
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayerMobile.js +29 -46
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayerPC.js +94 -74
- package/dist/es/components/video-subtitle-player/layouts/VideoSubtitlePlayerLayoutMobile.js +24 -21
- package/dist/es/components/video-subtitle-player/layouts/VideoSubtitlePlayerLayoutPC.js +58 -50
- package/dist/es/components/video-subtitle-player/useVideoSubtitleStore.js +61 -56
- package/dist/es/components/video-subtitle-player/useXGPlayer.js +38 -35
- package/dist/es/hooks/useStayTimeReport.js +29 -29
- package/dist/es/index.js +33 -70
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.24_core-js@3.47.0/node_modules/xgplayer/dist/index.min.css +1 -1
- package/dist/es/packages/subtitle/lib/index.js +2 -0
- package/dist/es/packages/subtitle/lib/src/json-converter.js +22 -23
- package/dist/es/packages/subtitle/lib/src/parser.js +41 -54
- package/dist/es/react-components.css +27 -27
- package/package.json +26 -27
- package/dist/cjs/components/button/Button.js +0 -1
- package/dist/cjs/components/comic-text/ComicText.js +0 -4
- package/dist/cjs/components/dock/Duck.js +0 -1
- package/dist/cjs/components/flip-text/FlipText.js +0 -1
- package/dist/cjs/components/gradient-text/index.js +0 -1
- package/dist/cjs/components/image-compare/ImageCompare.js +0 -1
- package/dist/cjs/components/image-viewer/ImageThumbnails.js +0 -1
- package/dist/cjs/components/image-viewer/ImageViewer.js +0 -1
- package/dist/cjs/components/message/Message.js +0 -1
- package/dist/cjs/components/pointer/Pointer.js +0 -1
- package/dist/cjs/components/scratch-to-reveal/ScratchToReveal.js +0 -1
- package/dist/cjs/components/shimmer-button/ShimmerButton.js +0 -1
- package/dist/cjs/components/shiny-button/ShinyButton.js +0 -1
- package/dist/cjs/components/shiny-text/ShinyText.js +0 -1
- package/dist/cjs/components/sparkles-text/SparklesText.js +0 -1
- package/dist/cjs/components/split-text/SplitText.js +0 -1
- package/dist/cjs/components/subtitle-player/CurrentMode.js +0 -2
- package/dist/cjs/components/subtitle-player/LyricsMode.js +0 -2
- package/dist/cjs/components/subtitle-player/SubtitlePlayer.js +0 -1
- package/dist/cjs/components/text-animate/TextAnimate.js +0 -2
- package/dist/cjs/components/text-type/TextType.js +0 -1
- package/dist/cjs/components/txt-reader/index.module.css.js +0 -1
- package/dist/cjs/components/typing-animation/index.js +0 -1
- package/dist/cjs/components/variable-proximity/index.js +0 -1
- package/dist/cjs/components/video-dialog/VideoDialog.js +0 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer.js +0 -1
- package/dist/es/components/button/Button.js +0 -72
- package/dist/es/components/comic-text/ComicText.js +0 -52
- package/dist/es/components/dock/Duck.js +0 -80
- package/dist/es/components/flip-text/FlipText.js +0 -38
- package/dist/es/components/gradient-text/index.js +0 -22
- package/dist/es/components/image-compare/ImageCompare.js +0 -127
- package/dist/es/components/image-viewer/ImageThumbnails.js +0 -73
- package/dist/es/components/image-viewer/ImageViewer.js +0 -141
- package/dist/es/components/message/Message.js +0 -220
- package/dist/es/components/pointer/Pointer.js +0 -75
- package/dist/es/components/scratch-to-reveal/ScratchToReveal.js +0 -97
- package/dist/es/components/shimmer-button/ShimmerButton.js +0 -42
- package/dist/es/components/shiny-button/ShinyButton.js +0 -61
- package/dist/es/components/shiny-text/ShinyText.js +0 -76
- package/dist/es/components/sparkles-text/SparklesText.js +0 -71
- package/dist/es/components/split-text/SplitText.js +0 -116
- package/dist/es/components/subtitle-player/CurrentMode.js +0 -78
- package/dist/es/components/subtitle-player/LyricsMode.js +0 -152
- package/dist/es/components/subtitle-player/SubtitlePlayer.js +0 -234
- package/dist/es/components/text-animate/TextAnimate.js +0 -310
- package/dist/es/components/text-type/TextType.js +0 -121
- package/dist/es/components/txt-reader/index.module.css.js +0 -10
- package/dist/es/components/typing-animation/index.js +0 -56
- package/dist/es/components/variable-proximity/index.js +0 -211
- package/dist/es/components/video-dialog/VideoDialog.js +0 -113
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer.js +0 -74
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as a, jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import { useState as s } from "react";
|
|
4
|
-
import { AnimatePresence as m, motion as e } from "motion/react";
|
|
5
|
-
import { Play as y, XIcon as x } from "lucide-react";
|
|
6
|
-
import g from "clsx";
|
|
7
|
-
import './VideoDialog.css';/* empty css */
|
|
8
|
-
const v = {
|
|
9
|
-
"from-bottom": {
|
|
10
|
-
initial: { y: "100%", opacity: 0 },
|
|
11
|
-
animate: { y: 0, opacity: 1 },
|
|
12
|
-
exit: { y: "100%", opacity: 0 }
|
|
13
|
-
},
|
|
14
|
-
"from-center": {
|
|
15
|
-
initial: { scale: 0.5, opacity: 0 },
|
|
16
|
-
animate: { scale: 1, opacity: 1 },
|
|
17
|
-
exit: { scale: 0.5, opacity: 0 }
|
|
18
|
-
},
|
|
19
|
-
"from-top": {
|
|
20
|
-
initial: { y: "-100%", opacity: 0 },
|
|
21
|
-
animate: { y: 0, opacity: 1 },
|
|
22
|
-
exit: { y: "-100%", opacity: 0 }
|
|
23
|
-
},
|
|
24
|
-
"from-left": {
|
|
25
|
-
initial: { x: "-100%", opacity: 0 },
|
|
26
|
-
animate: { x: 0, opacity: 1 },
|
|
27
|
-
exit: { x: "-100%", opacity: 0 }
|
|
28
|
-
},
|
|
29
|
-
"from-right": {
|
|
30
|
-
initial: { x: "100%", opacity: 0 },
|
|
31
|
-
animate: { x: 0, opacity: 1 },
|
|
32
|
-
exit: { x: "100%", opacity: 0 }
|
|
33
|
-
},
|
|
34
|
-
fade: {
|
|
35
|
-
initial: { opacity: 0 },
|
|
36
|
-
animate: { opacity: 1 },
|
|
37
|
-
exit: { opacity: 0 }
|
|
38
|
-
},
|
|
39
|
-
"top-in-bottom-out": {
|
|
40
|
-
initial: { y: "-100%", opacity: 0 },
|
|
41
|
-
animate: { y: 0, opacity: 1 },
|
|
42
|
-
exit: { y: "100%", opacity: 0 }
|
|
43
|
-
},
|
|
44
|
-
"left-in-right-out": {
|
|
45
|
-
initial: { x: "-100%", opacity: 0 },
|
|
46
|
-
animate: { x: 0, opacity: 1 },
|
|
47
|
-
exit: { x: "100%", opacity: 0 }
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
function V({
|
|
51
|
-
animationStyle: t = "from-center",
|
|
52
|
-
videoSrc: n,
|
|
53
|
-
thumbnailSrc: c,
|
|
54
|
-
thumbnailAlt: l = "Video thumbnail",
|
|
55
|
-
className: p
|
|
56
|
-
}) {
|
|
57
|
-
const [r, o] = s(!1), d = v[t];
|
|
58
|
-
return /* @__PURE__ */ a("div", { className: g("xiping-video-dialog", p), children: [
|
|
59
|
-
/* @__PURE__ */ a(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: "xiping-video-dialog-container",
|
|
63
|
-
onClick: () => o(!0),
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ i(
|
|
66
|
-
"img",
|
|
67
|
-
{
|
|
68
|
-
src: c,
|
|
69
|
-
alt: l,
|
|
70
|
-
width: 1920,
|
|
71
|
-
height: 1080,
|
|
72
|
-
className: "xiping-video-dialog-thumbnail"
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ i("div", { className: "xiping-video-dialog-overlay", children: /* @__PURE__ */ i("div", { className: "xiping-video-dialog-play-outer", children: /* @__PURE__ */ i("div", { className: "xiping-video-dialog-play-inner", children: /* @__PURE__ */ i(y, { className: "xiping-video-dialog-play-icon" }) }) }) })
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
/* @__PURE__ */ i(m, { children: r && /* @__PURE__ */ i(
|
|
80
|
-
e.div,
|
|
81
|
-
{
|
|
82
|
-
initial: { opacity: 0 },
|
|
83
|
-
animate: { opacity: 1 },
|
|
84
|
-
onClick: () => o(!1),
|
|
85
|
-
exit: { opacity: 0 },
|
|
86
|
-
className: "xiping-video-dialog-modal",
|
|
87
|
-
children: /* @__PURE__ */ a(
|
|
88
|
-
e.div,
|
|
89
|
-
{
|
|
90
|
-
...d,
|
|
91
|
-
transition: { type: "spring", damping: 30, stiffness: 300 },
|
|
92
|
-
className: "xiping-video-dialog-modal-content",
|
|
93
|
-
children: [
|
|
94
|
-
/* @__PURE__ */ i(e.button, { className: "xiping-video-dialog-close-button", children: /* @__PURE__ */ i(x, { className: "xiping-video-dialog-close-icon" }) }),
|
|
95
|
-
/* @__PURE__ */ i("div", { className: "xiping-video-dialog-video-wrapper", children: /* @__PURE__ */ i(
|
|
96
|
-
"iframe",
|
|
97
|
-
{
|
|
98
|
-
src: n,
|
|
99
|
-
className: "xiping-video-dialog-iframe",
|
|
100
|
-
allowFullScreen: !0,
|
|
101
|
-
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
102
|
-
}
|
|
103
|
-
) })
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
)
|
|
107
|
-
}
|
|
108
|
-
) })
|
|
109
|
-
] });
|
|
110
|
-
}
|
|
111
|
-
export {
|
|
112
|
-
V as VideoDialog
|
|
113
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as v, useEffect as w, useCallback as d } from "react";
|
|
3
|
-
import { isMobile as V, isTablet as g } from "react-device-detect";
|
|
4
|
-
import { useVideoSubtitleStore as k } from "./useVideoSubtitleStore.js";
|
|
5
|
-
import { useXGPlayer as H } from "./useXGPlayer.js";
|
|
6
|
-
import { VideoSubtitlePlayerPC as M } from "./VideoSubtitlePlayerPC.js";
|
|
7
|
-
import { VideoSubtitlePlayerMobile as T } from "./VideoSubtitlePlayerMobile.js";
|
|
8
|
-
import './VideoSubtitlePlayer.css';/* empty css */
|
|
9
|
-
const X = ({
|
|
10
|
-
videoUrl: p,
|
|
11
|
-
subtitles: r,
|
|
12
|
-
poster: b,
|
|
13
|
-
className: l = "",
|
|
14
|
-
style: n,
|
|
15
|
-
onFetchDetail: e,
|
|
16
|
-
forceLayout: m
|
|
17
|
-
}) => {
|
|
18
|
-
const t = v(null), c = m !== void 0 ? m === "mobile" : V || g, {
|
|
19
|
-
currentTime: a,
|
|
20
|
-
setCurrentTime: C,
|
|
21
|
-
setIsPlaying: y,
|
|
22
|
-
setSubtitles: s,
|
|
23
|
-
currentDetail: P,
|
|
24
|
-
isLoadingDetail: S,
|
|
25
|
-
fetchDetail: i
|
|
26
|
-
} = k();
|
|
27
|
-
w(() => {
|
|
28
|
-
s(r);
|
|
29
|
-
}, [r, s]), H(
|
|
30
|
-
t,
|
|
31
|
-
p,
|
|
32
|
-
b,
|
|
33
|
-
{ setCurrentTime: C, setIsPlaying: y },
|
|
34
|
-
a
|
|
35
|
-
);
|
|
36
|
-
const f = d(
|
|
37
|
-
async (o) => {
|
|
38
|
-
e ? await e(o) : await i(o);
|
|
39
|
-
},
|
|
40
|
-
[e, i]
|
|
41
|
-
), W = d(
|
|
42
|
-
async (o) => {
|
|
43
|
-
e ? await e(o) : await i(o);
|
|
44
|
-
},
|
|
45
|
-
[e, i]
|
|
46
|
-
);
|
|
47
|
-
return c ? /* @__PURE__ */ u(
|
|
48
|
-
T,
|
|
49
|
-
{
|
|
50
|
-
playerRef: t,
|
|
51
|
-
subtitles: r,
|
|
52
|
-
currentTime: a,
|
|
53
|
-
onWordHoverChange: f,
|
|
54
|
-
onWordClick: W,
|
|
55
|
-
className: l,
|
|
56
|
-
style: n
|
|
57
|
-
}
|
|
58
|
-
) : /* @__PURE__ */ u(
|
|
59
|
-
M,
|
|
60
|
-
{
|
|
61
|
-
playerRef: t,
|
|
62
|
-
subtitles: r,
|
|
63
|
-
currentTime: a,
|
|
64
|
-
currentDetail: P,
|
|
65
|
-
isLoadingDetail: S,
|
|
66
|
-
onWordHoverChange: f,
|
|
67
|
-
className: l,
|
|
68
|
-
style: n
|
|
69
|
-
}
|
|
70
|
-
);
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
X as VideoSubtitlePlayer
|
|
74
|
-
};
|