@gsc-basic/components 1.1.8 → 1.1.10

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 (1053) hide show
  1. package/dist/es/Button/index.js +3 -3
  2. package/dist/es/Button/src/Button.css +3 -3
  3. package/dist/es/Button/src/Button.vue.js +3 -3
  4. package/dist/es/Button/src/Button2.css +3 -3
  5. package/dist/es/CodeEditor/index.js +3 -3
  6. package/dist/es/CodeEditor/src/index.css +3 -3
  7. package/dist/es/CodeEditor/src/index.vue.js +3 -3
  8. package/dist/es/CodeEditor/src/index2.css +3 -3
  9. package/dist/es/CodeEditor/src/index3.css +3 -3
  10. package/dist/es/ConfigProvider/index.js +3 -3
  11. package/dist/es/ConfigProvider/src/configProvider.js +3 -3
  12. package/dist/es/ConfigProvider/src/configProviderProps.js +3 -3
  13. package/dist/es/ConfigProvider/src/constants.js +3 -3
  14. package/dist/es/ConfigProvider/src/useGlobalConfig.js +3 -3
  15. package/dist/es/CountTo/index.js +3 -3
  16. package/dist/es/CountTo/src/index.css +4 -4
  17. package/dist/es/CountTo/src/index.vue.js +7 -7
  18. package/dist/es/Ellipsis/index.js +3 -3
  19. package/dist/es/Ellipsis/src/components/JsEllipsis.css +3 -3
  20. package/dist/es/Ellipsis/src/components/JsEllipsis.vue.js +3 -3
  21. package/dist/es/Ellipsis/src/components/NativeEllipsis.css +3 -3
  22. package/dist/es/Ellipsis/src/components/NativeEllipsis.vue.js +3 -3
  23. package/dist/es/Ellipsis/src/components/NativeEllipsis2.css +3 -3
  24. package/dist/es/Ellipsis/src/index.css +3 -3
  25. package/dist/es/Ellipsis/src/index.vue.js +3 -3
  26. package/dist/es/Ellipsis/src/utils/utils.js +3 -3
  27. package/dist/es/Form/index.js +3 -3
  28. package/dist/es/Form/src/Form.css +4 -4
  29. package/dist/es/Form/src/Form.vue.js +84 -85
  30. package/dist/es/Form/src/Form2.css +4 -4
  31. package/dist/es/Form/src/styles/form.css +3 -3
  32. package/dist/es/Marquee/index.js +3 -3
  33. package/dist/es/Marquee/src/index.css +3 -3
  34. package/dist/es/Marquee/src/index.vue.js +3 -3
  35. package/dist/es/Marquee/src/index2.css +3 -3
  36. package/dist/es/Overlay/index.js +3 -3
  37. package/dist/es/Overlay/src/Message.css +3 -3
  38. package/dist/es/Overlay/src/Message.vue.js +3 -3
  39. package/dist/es/Overlay/src/Message2.css +3 -3
  40. package/dist/es/Overlay/src/Modal.css +3 -3
  41. package/dist/es/Overlay/src/Modal.vue.js +3 -3
  42. package/dist/es/Overlay/src/Modal2.css +3 -3
  43. package/dist/es/Overlay/src/Notice.css +3 -3
  44. package/dist/es/Overlay/src/Notice.vue.js +3 -3
  45. package/dist/es/Overlay/src/Notice2.css +3 -3
  46. package/dist/es/Overlay/src/Tooltip.css +3 -3
  47. package/dist/es/Overlay/src/Tooltip.vue.js +3 -3
  48. package/dist/es/Overlay/src/Tooltip2.css +3 -3
  49. package/dist/es/RichTextEditor/index.js +3 -3
  50. package/dist/es/RichTextEditor/src/ToolbarPanel.css +4 -4
  51. package/dist/es/RichTextEditor/src/ToolbarPanel.vue.js +69 -59
  52. package/dist/es/RichTextEditor/src/ToolbarPanel2.css +4 -4
  53. package/dist/es/RichTextEditor/src/components/BlockquoteButton.css +3 -3
  54. package/dist/es/RichTextEditor/src/components/BlockquoteButton.vue.js +3 -3
  55. package/dist/es/RichTextEditor/src/components/CodeBlockButton.css +3 -3
  56. package/dist/es/RichTextEditor/src/components/CodeBlockButton.vue.js +3 -3
  57. package/dist/es/RichTextEditor/src/components/ColorHighlightPopover.css +4 -4
  58. package/dist/es/RichTextEditor/src/components/ColorHighlightPopover.vue.js +15 -15
  59. package/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.css +3 -3
  60. package/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +3 -3
  61. package/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.css +3 -3
  62. package/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +3 -3
  63. package/dist/es/RichTextEditor/src/components/ImageUploadButton.css +4 -4
  64. package/dist/es/RichTextEditor/src/components/ImageUploadButton.vue.js +44 -38
  65. package/dist/es/RichTextEditor/src/components/LinkPopover.css +3 -3
  66. package/dist/es/RichTextEditor/src/components/LinkPopover.vue.js +3 -3
  67. package/dist/es/RichTextEditor/src/components/LinkPopover2.css +3 -3
  68. package/dist/es/RichTextEditor/src/components/ListDropdownMenu.css +3 -3
  69. package/dist/es/RichTextEditor/src/components/ListDropdownMenu.vue.js +3 -3
  70. package/dist/es/RichTextEditor/src/components/MarkButton.css +3 -3
  71. package/dist/es/RichTextEditor/src/components/MarkButton.vue.js +3 -3
  72. package/dist/es/RichTextEditor/src/components/TableButton.css +3 -3
  73. package/dist/es/RichTextEditor/src/components/TableButton.vue.js +3 -3
  74. package/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.css +3 -3
  75. package/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +3 -3
  76. package/dist/es/RichTextEditor/src/components/TextColorPopover.css +3 -3
  77. package/dist/es/RichTextEditor/src/components/TextColorPopover.vue.js +3 -3
  78. package/dist/es/RichTextEditor/src/components/ToolbarGroup.css +3 -3
  79. package/dist/es/RichTextEditor/src/components/ToolbarGroup.vue.js +3 -3
  80. package/dist/es/RichTextEditor/src/components/ToolbarSeparator.css +3 -3
  81. package/dist/es/RichTextEditor/src/components/ToolbarSeparator.vue.js +3 -3
  82. package/dist/es/RichTextEditor/src/components/UndoRedoButton.css +3 -3
  83. package/dist/es/RichTextEditor/src/components/UndoRedoButton.vue.js +3 -3
  84. package/dist/es/RichTextEditor/src/components/VideoUploadButton.css +4 -4
  85. package/dist/es/RichTextEditor/src/components/VideoUploadButton.vue.js +44 -38
  86. package/dist/es/RichTextEditor/src/components/basic/ColorPicker.css +3 -3
  87. package/dist/es/RichTextEditor/src/components/basic/ColorPicker.vue.js +3 -3
  88. package/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.css +4 -4
  89. package/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +155 -139
  90. package/dist/es/RichTextEditor/src/components/basic/MediaUploadModal2.css +4 -4
  91. package/dist/es/RichTextEditor/src/components/basic/SelectMenu.css +4 -4
  92. package/dist/es/RichTextEditor/src/components/basic/SelectMenu.vue.js +5 -5
  93. package/dist/es/RichTextEditor/src/components/basic/SelectMenu2.css +4 -4
  94. package/dist/es/RichTextEditor/src/constant/index.js +3 -3
  95. package/dist/es/RichTextEditor/src/extensions/styledTable.js +112 -0
  96. package/dist/es/RichTextEditor/src/extensions/video.js +3 -3
  97. package/dist/es/RichTextEditor/src/index.css +3 -3
  98. package/dist/es/RichTextEditor/src/index.vue.js +87 -79
  99. package/dist/es/RichTextEditor/src/index2.css +4 -4
  100. package/dist/es/RichTextEditor/src/props.js +19 -3
  101. package/dist/es/ScaleScreen/index.js +3 -3
  102. package/dist/es/ScaleScreen/src/index.css +3 -3
  103. package/dist/es/ScaleScreen/src/index.vue.js +3 -3
  104. package/dist/es/ScaleScreen/src/index2.css +3 -3
  105. package/dist/es/Transition/index.js +3 -3
  106. package/dist/es/Transition/src/CollapseTransition.css +3 -3
  107. package/dist/es/Transition/src/CollapseTransition.vue.js +3 -3
  108. package/dist/es/Transition/src/CollapseTransition2.css +3 -3
  109. package/dist/es/Transition/src/CreateTransition.js +3 -3
  110. package/dist/es/Transition/src/ExpandTransition.js +3 -3
  111. package/dist/es/Transition/src/style/index.css +3 -3
  112. package/dist/es/Transition/style.js +3 -3
  113. package/dist/es/VideoBackground/index.js +3 -3
  114. package/dist/es/VideoBackground/src/helper.js +3 -3
  115. package/dist/es/VideoBackground/src/index.css +3 -3
  116. package/dist/es/VideoBackground/src/index.vue.js +3 -3
  117. package/dist/es/VideoBackground/src/index2.css +3 -3
  118. package/dist/es/VideoBackground/src/index3.css +3 -3
  119. package/dist/es/VideoBackground/src/videoBackground.js +3 -3
  120. package/dist/es/VideoPlayer/index.js +3 -3
  121. package/dist/es/VideoPlayer/src/index.css +3 -3
  122. package/dist/es/VideoPlayer/src/index.vue.js +3 -3
  123. package/dist/es/VirtualScroll/index.js +3 -3
  124. package/dist/es/VirtualScroll/src/index.css +3 -3
  125. package/dist/es/VirtualScroll/src/index.vue.js +3 -3
  126. package/dist/es/VirtualScroll/src/index.vue2.js +3 -3
  127. package/dist/es/VirtualScroll/src/index2.css +3 -3
  128. package/dist/es/_virtual/_commonjsHelpers.js +3 -3
  129. package/dist/es/_virtual/_plugin-vue_export-helper.js +3 -3
  130. package/dist/es/_virtual/delegate.js +3 -3
  131. package/dist/es/_virtual/index.js +3 -3
  132. package/dist/es/_virtual/index2.js +3 -3
  133. package/dist/es/_virtual/index3.js +3 -3
  134. package/dist/es/_virtual/index4.js +3 -3
  135. package/dist/es/hooks/useLocale.js +3 -3
  136. package/dist/es/hooks/useNamespace.js +3 -3
  137. package/dist/es/index.js +3 -3
  138. package/dist/es/locale/lang/en-US.js +3 -46
  139. package/dist/es/locale/lang/ja-JP.js +3 -46
  140. package/dist/es/locale/lang/zh-CN.js +3 -46
  141. package/dist/es/node_modules/@codemirror/autocomplete/dist/index.js +3 -3
  142. package/dist/es/node_modules/@codemirror/commands/dist/index.js +3 -3
  143. package/dist/es/node_modules/@codemirror/lang-java/dist/index.js +3 -3
  144. package/dist/es/node_modules/@codemirror/lang-javascript/dist/index.js +3 -3
  145. package/dist/es/node_modules/@codemirror/lang-json/dist/index.js +3 -3
  146. package/dist/es/node_modules/@codemirror/lang-python/dist/index.js +3 -3
  147. package/dist/es/node_modules/@codemirror/lang-sql/dist/index.js +3 -3
  148. package/dist/es/node_modules/@codemirror/lang-xml/dist/index.js +3 -3
  149. package/dist/es/node_modules/@codemirror/lang-yaml/dist/index.js +3 -3
  150. package/dist/es/node_modules/@codemirror/language/dist/index.js +3 -3
  151. package/dist/es/node_modules/@codemirror/lint/dist/index.js +3 -3
  152. package/dist/es/node_modules/@codemirror/search/dist/index.js +3 -3
  153. package/dist/es/node_modules/@codemirror/state/dist/index.js +3 -3
  154. package/dist/es/node_modules/@codemirror/theme-one-dark/dist/index.js +3 -3
  155. package/dist/es/node_modules/@codemirror/view/dist/index.js +3 -3
  156. package/dist/es/node_modules/@lezer/common/dist/index.js +3 -3
  157. package/dist/es/node_modules/@lezer/highlight/dist/index.js +3 -3
  158. package/dist/es/node_modules/@lezer/java/dist/index.js +3 -3
  159. package/dist/es/node_modules/@lezer/javascript/dist/index.js +3 -3
  160. package/dist/es/node_modules/@lezer/json/dist/index.js +3 -3
  161. package/dist/es/node_modules/@lezer/lr/dist/index.js +3 -3
  162. package/dist/es/node_modules/@lezer/python/dist/index.js +3 -3
  163. package/dist/es/node_modules/@lezer/xml/dist/index.js +3 -3
  164. package/dist/es/node_modules/@lezer/yaml/dist/index.js +3 -3
  165. package/dist/es/node_modules/@marijn/find-cluster-break/src/index.js +3 -3
  166. package/dist/es/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +3 -3
  167. package/dist/es/node_modules/@tanstack/form-core/dist/esm/EventClient.js +3 -3
  168. package/dist/es/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +3 -3
  169. package/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +3 -3
  170. package/dist/es/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +3 -3
  171. package/dist/es/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +3 -3
  172. package/dist/es/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +3 -3
  173. package/dist/es/node_modules/@tanstack/form-core/dist/esm/utils.js +3 -3
  174. package/dist/es/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +3 -3
  175. package/dist/es/node_modules/@tanstack/store/dist/esm/alien.js +3 -3
  176. package/dist/es/node_modules/@tanstack/store/dist/esm/atom.js +3 -3
  177. package/dist/es/node_modules/@tanstack/store/dist/esm/batch.js +3 -3
  178. package/dist/es/node_modules/@tanstack/store/dist/esm/store.js +3 -3
  179. package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useField.js +3 -3
  180. package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useForm.js +3 -3
  181. package/dist/es/node_modules/@tanstack/vue-store/dist/esm/index.js +3 -3
  182. package/dist/es/node_modules/@tiptap/core/dist/index.js +44 -40
  183. package/dist/es/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +3 -3
  184. package/dist/es/node_modules/@tiptap/extension-blockquote/dist/index.js +21 -16
  185. package/dist/es/node_modules/@tiptap/extension-bold/dist/index.js +12 -6
  186. package/dist/es/node_modules/@tiptap/extension-character-count/dist/index.js +3 -3
  187. package/dist/es/node_modules/@tiptap/extension-code/dist/index.js +3 -3
  188. package/dist/es/node_modules/@tiptap/extension-code-block/dist/index.js +3 -3
  189. package/dist/es/node_modules/@tiptap/extension-document/dist/index.js +3 -3
  190. package/dist/es/node_modules/@tiptap/extension-hard-break/dist/index.js +3 -3
  191. package/dist/es/node_modules/@tiptap/extension-heading/dist/index.js +3 -3
  192. package/dist/es/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +3 -3
  193. package/dist/es/node_modules/@tiptap/extension-image/dist/index.js +3 -3
  194. package/dist/es/node_modules/@tiptap/extension-italic/dist/index.js +23 -17
  195. package/dist/es/node_modules/@tiptap/extension-link/dist/index.js +3 -3
  196. package/dist/es/node_modules/@tiptap/extension-list/dist/index.js +132 -130
  197. package/dist/es/node_modules/@tiptap/extension-paragraph/dist/index.js +24 -19
  198. package/dist/es/node_modules/@tiptap/extension-strike/dist/index.js +3 -3
  199. package/dist/es/node_modules/@tiptap/extension-subscript/dist/index.js +3 -3
  200. package/dist/es/node_modules/@tiptap/extension-superscript/dist/index.js +3 -3
  201. package/dist/es/node_modules/@tiptap/extension-table/dist/index.js +43 -43
  202. package/dist/es/node_modules/@tiptap/extension-task-item/dist/index.js +3 -3
  203. package/dist/es/node_modules/@tiptap/extension-task-list/dist/index.js +3 -3
  204. package/dist/es/node_modules/@tiptap/extension-text/dist/index.js +3 -3
  205. package/dist/es/node_modules/@tiptap/extension-text-align/dist/index.js +3 -3
  206. package/dist/es/node_modules/@tiptap/extension-text-style/dist/index.js +3 -3
  207. package/dist/es/node_modules/@tiptap/extension-underline/dist/index.js +3 -3
  208. package/dist/es/node_modules/@tiptap/extensions/dist/index.js +12 -10
  209. package/dist/es/node_modules/@tiptap/html/dist/index.js +3 -3
  210. package/dist/es/node_modules/@tiptap/starter-kit/dist/index.js +3 -3
  211. package/dist/es/node_modules/@tiptap/vue-3/dist/index.js +3 -3
  212. package/dist/es/node_modules/@vueuse/core/dist/index.js +3 -3
  213. package/dist/es/node_modules/@vueuse/shared/dist/index.js +3 -3
  214. package/dist/es/node_modules/codemirror/dist/index.js +3 -3
  215. package/dist/es/node_modules/crelt/index.js +3 -3
  216. package/dist/es/node_modules/delegate/src/closest.js +3 -3
  217. package/dist/es/node_modules/delegate/src/delegate.js +3 -3
  218. package/dist/es/node_modules/eventemitter3/index.js +3 -3
  219. package/dist/es/node_modules/linkifyjs/dist/linkify.js +3 -3
  220. package/dist/es/node_modules/lodash-es/_DataView.js +3 -3
  221. package/dist/es/node_modules/lodash-es/_Hash.js +3 -3
  222. package/dist/es/node_modules/lodash-es/_ListCache.js +3 -3
  223. package/dist/es/node_modules/lodash-es/_Map.js +3 -3
  224. package/dist/es/node_modules/lodash-es/_MapCache.js +3 -3
  225. package/dist/es/node_modules/lodash-es/_Promise.js +3 -3
  226. package/dist/es/node_modules/lodash-es/_Set.js +3 -3
  227. package/dist/es/node_modules/lodash-es/_SetCache.js +3 -3
  228. package/dist/es/node_modules/lodash-es/_Stack.js +3 -3
  229. package/dist/es/node_modules/lodash-es/_Symbol.js +3 -3
  230. package/dist/es/node_modules/lodash-es/_Uint8Array.js +3 -3
  231. package/dist/es/node_modules/lodash-es/_WeakMap.js +3 -3
  232. package/dist/es/node_modules/lodash-es/_apply.js +3 -3
  233. package/dist/es/node_modules/lodash-es/_arrayEach.js +3 -3
  234. package/dist/es/node_modules/lodash-es/_arrayFilter.js +3 -3
  235. package/dist/es/node_modules/lodash-es/_arrayIncludes.js +3 -3
  236. package/dist/es/node_modules/lodash-es/_arrayIncludesWith.js +3 -3
  237. package/dist/es/node_modules/lodash-es/_arrayLikeKeys.js +3 -3
  238. package/dist/es/node_modules/lodash-es/_arrayMap.js +3 -3
  239. package/dist/es/node_modules/lodash-es/_arrayPush.js +3 -3
  240. package/dist/es/node_modules/lodash-es/_arraySome.js +3 -3
  241. package/dist/es/node_modules/lodash-es/_asciiToArray.js +3 -3
  242. package/dist/es/node_modules/lodash-es/_assignMergeValue.js +3 -3
  243. package/dist/es/node_modules/lodash-es/_assignValue.js +3 -3
  244. package/dist/es/node_modules/lodash-es/_assocIndexOf.js +3 -3
  245. package/dist/es/node_modules/lodash-es/_baseAssignValue.js +3 -3
  246. package/dist/es/node_modules/lodash-es/_baseClone.js +3 -3
  247. package/dist/es/node_modules/lodash-es/_baseCreate.js +3 -3
  248. package/dist/es/node_modules/lodash-es/_baseFindIndex.js +3 -3
  249. package/dist/es/node_modules/lodash-es/_baseFlatten.js +3 -3
  250. package/dist/es/node_modules/lodash-es/_baseFor.js +3 -3
  251. package/dist/es/node_modules/lodash-es/_baseGet.js +3 -3
  252. package/dist/es/node_modules/lodash-es/_baseGetAllKeys.js +3 -3
  253. package/dist/es/node_modules/lodash-es/_baseGetTag.js +3 -3
  254. package/dist/es/node_modules/lodash-es/_baseIndexOf.js +3 -3
  255. package/dist/es/node_modules/lodash-es/_baseIntersection.js +3 -3
  256. package/dist/es/node_modules/lodash-es/_baseIsArguments.js +3 -3
  257. package/dist/es/node_modules/lodash-es/_baseIsEqual.js +3 -3
  258. package/dist/es/node_modules/lodash-es/_baseIsEqualDeep.js +3 -3
  259. package/dist/es/node_modules/lodash-es/_baseIsMap.js +3 -3
  260. package/dist/es/node_modules/lodash-es/_baseIsNaN.js +3 -3
  261. package/dist/es/node_modules/lodash-es/_baseIsNative.js +3 -3
  262. package/dist/es/node_modules/lodash-es/_baseIsRegExp.js +3 -3
  263. package/dist/es/node_modules/lodash-es/_baseIsSet.js +3 -3
  264. package/dist/es/node_modules/lodash-es/_baseIsTypedArray.js +3 -3
  265. package/dist/es/node_modules/lodash-es/_baseKeys.js +3 -3
  266. package/dist/es/node_modules/lodash-es/_baseKeysIn.js +3 -3
  267. package/dist/es/node_modules/lodash-es/_baseMerge.js +3 -3
  268. package/dist/es/node_modules/lodash-es/_baseMergeDeep.js +3 -3
  269. package/dist/es/node_modules/lodash-es/_baseRest.js +3 -3
  270. package/dist/es/node_modules/lodash-es/_baseSetToString.js +3 -3
  271. package/dist/es/node_modules/lodash-es/_baseSlice.js +3 -3
  272. package/dist/es/node_modules/lodash-es/_baseTimes.js +3 -3
  273. package/dist/es/node_modules/lodash-es/_baseToString.js +3 -3
  274. package/dist/es/node_modules/lodash-es/_baseUnary.js +3 -3
  275. package/dist/es/node_modules/lodash-es/_baseUniq.js +3 -3
  276. package/dist/es/node_modules/lodash-es/_baseUnset.js +3 -3
  277. package/dist/es/node_modules/lodash-es/_cacheHas.js +3 -3
  278. package/dist/es/node_modules/lodash-es/_castArrayLikeObject.js +3 -3
  279. package/dist/es/node_modules/lodash-es/_castPath.js +3 -3
  280. package/dist/es/node_modules/lodash-es/_castSlice.js +3 -3
  281. package/dist/es/node_modules/lodash-es/_cloneArrayBuffer.js +3 -3
  282. package/dist/es/node_modules/lodash-es/_cloneBuffer.js +3 -3
  283. package/dist/es/node_modules/lodash-es/_cloneDataView.js +3 -3
  284. package/dist/es/node_modules/lodash-es/_cloneRegExp.js +3 -3
  285. package/dist/es/node_modules/lodash-es/_cloneSymbol.js +3 -3
  286. package/dist/es/node_modules/lodash-es/_cloneTypedArray.js +3 -3
  287. package/dist/es/node_modules/lodash-es/_copyArray.js +3 -3
  288. package/dist/es/node_modules/lodash-es/_copyObject.js +3 -3
  289. package/dist/es/node_modules/lodash-es/_coreJsData.js +3 -3
  290. package/dist/es/node_modules/lodash-es/_createAssigner.js +3 -3
  291. package/dist/es/node_modules/lodash-es/_createBaseFor.js +3 -3
  292. package/dist/es/node_modules/lodash-es/_createCaseFirst.js +3 -3
  293. package/dist/es/node_modules/lodash-es/_createSet.js +3 -3
  294. package/dist/es/node_modules/lodash-es/_customOmitClone.js +3 -3
  295. package/dist/es/node_modules/lodash-es/_defineProperty.js +3 -3
  296. package/dist/es/node_modules/lodash-es/_equalArrays.js +3 -3
  297. package/dist/es/node_modules/lodash-es/_equalByTag.js +3 -3
  298. package/dist/es/node_modules/lodash-es/_equalObjects.js +3 -3
  299. package/dist/es/node_modules/lodash-es/_flatRest.js +3 -3
  300. package/dist/es/node_modules/lodash-es/_freeGlobal.js +3 -3
  301. package/dist/es/node_modules/lodash-es/_getAllKeys.js +3 -3
  302. package/dist/es/node_modules/lodash-es/_getAllKeysIn.js +3 -3
  303. package/dist/es/node_modules/lodash-es/_getMapData.js +3 -3
  304. package/dist/es/node_modules/lodash-es/_getNative.js +3 -3
  305. package/dist/es/node_modules/lodash-es/_getPrototype.js +3 -3
  306. package/dist/es/node_modules/lodash-es/_getRawTag.js +3 -3
  307. package/dist/es/node_modules/lodash-es/_getSymbols.js +3 -3
  308. package/dist/es/node_modules/lodash-es/_getSymbolsIn.js +3 -3
  309. package/dist/es/node_modules/lodash-es/_getTag.js +3 -3
  310. package/dist/es/node_modules/lodash-es/_getValue.js +3 -3
  311. package/dist/es/node_modules/lodash-es/_hasUnicode.js +3 -3
  312. package/dist/es/node_modules/lodash-es/_hashClear.js +3 -3
  313. package/dist/es/node_modules/lodash-es/_hashDelete.js +3 -3
  314. package/dist/es/node_modules/lodash-es/_hashGet.js +3 -3
  315. package/dist/es/node_modules/lodash-es/_hashHas.js +3 -3
  316. package/dist/es/node_modules/lodash-es/_hashSet.js +3 -3
  317. package/dist/es/node_modules/lodash-es/_initCloneArray.js +3 -3
  318. package/dist/es/node_modules/lodash-es/_initCloneByTag.js +3 -3
  319. package/dist/es/node_modules/lodash-es/_initCloneObject.js +3 -3
  320. package/dist/es/node_modules/lodash-es/_isFlattenable.js +3 -3
  321. package/dist/es/node_modules/lodash-es/_isIndex.js +3 -3
  322. package/dist/es/node_modules/lodash-es/_isIterateeCall.js +3 -3
  323. package/dist/es/node_modules/lodash-es/_isKey.js +3 -3
  324. package/dist/es/node_modules/lodash-es/_isKeyable.js +3 -3
  325. package/dist/es/node_modules/lodash-es/_isMasked.js +3 -3
  326. package/dist/es/node_modules/lodash-es/_isPrototype.js +3 -3
  327. package/dist/es/node_modules/lodash-es/_listCacheClear.js +3 -3
  328. package/dist/es/node_modules/lodash-es/_listCacheDelete.js +3 -3
  329. package/dist/es/node_modules/lodash-es/_listCacheGet.js +3 -3
  330. package/dist/es/node_modules/lodash-es/_listCacheHas.js +3 -3
  331. package/dist/es/node_modules/lodash-es/_listCacheSet.js +3 -3
  332. package/dist/es/node_modules/lodash-es/_mapCacheClear.js +3 -3
  333. package/dist/es/node_modules/lodash-es/_mapCacheDelete.js +3 -3
  334. package/dist/es/node_modules/lodash-es/_mapCacheGet.js +3 -3
  335. package/dist/es/node_modules/lodash-es/_mapCacheHas.js +3 -3
  336. package/dist/es/node_modules/lodash-es/_mapCacheSet.js +3 -3
  337. package/dist/es/node_modules/lodash-es/_mapToArray.js +3 -3
  338. package/dist/es/node_modules/lodash-es/_memoizeCapped.js +3 -3
  339. package/dist/es/node_modules/lodash-es/_nativeCreate.js +3 -3
  340. package/dist/es/node_modules/lodash-es/_nativeKeys.js +3 -3
  341. package/dist/es/node_modules/lodash-es/_nativeKeysIn.js +3 -3
  342. package/dist/es/node_modules/lodash-es/_nodeUtil.js +3 -3
  343. package/dist/es/node_modules/lodash-es/_objectToString.js +3 -3
  344. package/dist/es/node_modules/lodash-es/_overArg.js +3 -3
  345. package/dist/es/node_modules/lodash-es/_overRest.js +3 -3
  346. package/dist/es/node_modules/lodash-es/_parent.js +3 -3
  347. package/dist/es/node_modules/lodash-es/_root.js +3 -3
  348. package/dist/es/node_modules/lodash-es/_safeGet.js +3 -3
  349. package/dist/es/node_modules/lodash-es/_setCacheAdd.js +3 -3
  350. package/dist/es/node_modules/lodash-es/_setCacheHas.js +3 -3
  351. package/dist/es/node_modules/lodash-es/_setToArray.js +3 -3
  352. package/dist/es/node_modules/lodash-es/_setToString.js +3 -3
  353. package/dist/es/node_modules/lodash-es/_shortOut.js +3 -3
  354. package/dist/es/node_modules/lodash-es/_stackClear.js +3 -3
  355. package/dist/es/node_modules/lodash-es/_stackDelete.js +3 -3
  356. package/dist/es/node_modules/lodash-es/_stackGet.js +3 -3
  357. package/dist/es/node_modules/lodash-es/_stackHas.js +3 -3
  358. package/dist/es/node_modules/lodash-es/_stackSet.js +3 -3
  359. package/dist/es/node_modules/lodash-es/_strictIndexOf.js +3 -3
  360. package/dist/es/node_modules/lodash-es/_stringToArray.js +3 -3
  361. package/dist/es/node_modules/lodash-es/_stringToPath.js +3 -3
  362. package/dist/es/node_modules/lodash-es/_toKey.js +3 -3
  363. package/dist/es/node_modules/lodash-es/_toSource.js +3 -3
  364. package/dist/es/node_modules/lodash-es/_unicodeToArray.js +3 -3
  365. package/dist/es/node_modules/lodash-es/constant.js +3 -3
  366. package/dist/es/node_modules/lodash-es/eq.js +3 -3
  367. package/dist/es/node_modules/lodash-es/flatten.js +3 -3
  368. package/dist/es/node_modules/lodash-es/get.js +3 -3
  369. package/dist/es/node_modules/lodash-es/identity.js +3 -3
  370. package/dist/es/node_modules/lodash-es/intersectionWith.js +3 -3
  371. package/dist/es/node_modules/lodash-es/isArguments.js +3 -3
  372. package/dist/es/node_modules/lodash-es/isArray.js +3 -3
  373. package/dist/es/node_modules/lodash-es/isArrayLike.js +3 -3
  374. package/dist/es/node_modules/lodash-es/isArrayLikeObject.js +3 -3
  375. package/dist/es/node_modules/lodash-es/isBuffer.js +3 -3
  376. package/dist/es/node_modules/lodash-es/isEqual.js +3 -3
  377. package/dist/es/node_modules/lodash-es/isFinite.js +3 -3
  378. package/dist/es/node_modules/lodash-es/isFunction.js +3 -3
  379. package/dist/es/node_modules/lodash-es/isLength.js +3 -3
  380. package/dist/es/node_modules/lodash-es/isMap.js +3 -3
  381. package/dist/es/node_modules/lodash-es/isNaN.js +3 -3
  382. package/dist/es/node_modules/lodash-es/isNil.js +3 -3
  383. package/dist/es/node_modules/lodash-es/isNumber.js +3 -3
  384. package/dist/es/node_modules/lodash-es/isObject.js +3 -3
  385. package/dist/es/node_modules/lodash-es/isObjectLike.js +3 -3
  386. package/dist/es/node_modules/lodash-es/isPlainObject.js +3 -3
  387. package/dist/es/node_modules/lodash-es/isRegExp.js +3 -3
  388. package/dist/es/node_modules/lodash-es/isSet.js +3 -3
  389. package/dist/es/node_modules/lodash-es/isString.js +3 -3
  390. package/dist/es/node_modules/lodash-es/isSymbol.js +3 -3
  391. package/dist/es/node_modules/lodash-es/isTypedArray.js +3 -3
  392. package/dist/es/node_modules/lodash-es/keys.js +3 -3
  393. package/dist/es/node_modules/lodash-es/keysIn.js +3 -3
  394. package/dist/es/node_modules/lodash-es/last.js +3 -3
  395. package/dist/es/node_modules/lodash-es/memoize.js +3 -3
  396. package/dist/es/node_modules/lodash-es/mergeWith.js +3 -3
  397. package/dist/es/node_modules/lodash-es/noop.js +3 -3
  398. package/dist/es/node_modules/lodash-es/omit.js +3 -3
  399. package/dist/es/node_modules/lodash-es/stubArray.js +3 -3
  400. package/dist/es/node_modules/lodash-es/stubFalse.js +3 -3
  401. package/dist/es/node_modules/lodash-es/toPlainObject.js +3 -3
  402. package/dist/es/node_modules/lodash-es/toString.js +3 -3
  403. package/dist/es/node_modules/lodash-es/unionWith.js +3 -3
  404. package/dist/es/node_modules/lodash-es/upperFirst.js +3 -3
  405. package/dist/es/node_modules/orderedmap/dist/index.js +3 -3
  406. package/dist/es/node_modules/path-to-regexp/dist/index.js +3 -3
  407. package/dist/es/node_modules/prosemirror-commands/dist/index.js +3 -3
  408. package/dist/es/node_modules/prosemirror-dropcursor/dist/index.js +3 -3
  409. package/dist/es/node_modules/prosemirror-gapcursor/dist/index.js +3 -3
  410. package/dist/es/node_modules/prosemirror-history/dist/index.js +3 -3
  411. package/dist/es/node_modules/prosemirror-keymap/dist/index.js +3 -3
  412. package/dist/es/node_modules/prosemirror-model/dist/index.js +3 -3
  413. package/dist/es/node_modules/prosemirror-schema-list/dist/index.js +3 -3
  414. package/dist/es/node_modules/prosemirror-state/dist/index.js +3 -3
  415. package/dist/es/node_modules/prosemirror-tables/dist/index.js +4 -4
  416. package/dist/es/node_modules/prosemirror-transform/dist/index.js +3 -3
  417. package/dist/es/node_modules/prosemirror-view/dist/index.js +12 -6
  418. package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +3 -3
  419. package/dist/es/node_modules/rope-sequence/dist/index.js +3 -3
  420. package/dist/es/node_modules/sortablejs/modular/sortable.esm.js +3 -3
  421. package/dist/es/node_modules/style-mod/src/style-mod.js +3 -3
  422. package/dist/es/node_modules/title-case/dist/index.js +3 -3
  423. package/dist/es/node_modules/vue-codemirror/dist/vue-codemirror.esm.js +3 -3
  424. package/dist/es/node_modules/w3c-keyname/index.js +3 -3
  425. package/dist/es/node_modules/xgplayer/dist/index.min.css +3 -3
  426. package/dist/es/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +105 -69
  427. package/dist/es/node_modules/xgplayer/es/constant.js +3 -3
  428. package/dist/es/node_modules/xgplayer/es/defaultConfig.js +3 -3
  429. package/dist/es/node_modules/xgplayer/es/error.js +3 -3
  430. package/dist/es/node_modules/xgplayer/es/events.js +3 -3
  431. package/dist/es/node_modules/xgplayer/es/index.umd.js +3 -3
  432. package/dist/es/node_modules/xgplayer/es/instManager.js +3 -3
  433. package/dist/es/node_modules/xgplayer/es/lang/en.js +4 -3
  434. package/dist/es/node_modules/xgplayer/es/lang/i18n.js +3 -3
  435. package/dist/es/node_modules/xgplayer/es/lang/jp.js +4 -3
  436. package/dist/es/node_modules/xgplayer/es/lang/zh-cn.js +4 -3
  437. package/dist/es/node_modules/xgplayer/es/mediaProxy.js +3 -3
  438. package/dist/es/node_modules/xgplayer/es/player.js +406 -393
  439. package/dist/es/node_modules/xgplayer/es/plugin/basePlugin.js +3 -3
  440. package/dist/es/node_modules/xgplayer/es/plugin/hooksDescriptor.js +3 -3
  441. package/dist/es/node_modules/xgplayer/es/plugin/plugin.js +3 -3
  442. package/dist/es/node_modules/xgplayer/es/plugin/pluginsManager.js +3 -3
  443. package/dist/es/node_modules/xgplayer/es/plugin/preset.js +3 -3
  444. package/dist/es/node_modules/xgplayer/es/plugin/resizeObserver.js +3 -3
  445. package/dist/es/node_modules/xgplayer/es/plugins/assets/back.js +3 -3
  446. package/dist/es/node_modules/xgplayer/es/plugins/assets/download.js +3 -3
  447. package/dist/es/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +3 -3
  448. package/dist/es/node_modules/xgplayer/es/plugins/assets/exitFull.js +3 -3
  449. package/dist/es/node_modules/xgplayer/es/plugins/assets/loading.js +3 -3
  450. package/dist/es/node_modules/xgplayer/es/plugins/assets/pause.js +3 -3
  451. package/dist/es/node_modules/xgplayer/es/plugins/assets/pipIcon.js +3 -3
  452. package/dist/es/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +3 -3
  453. package/dist/es/node_modules/xgplayer/es/plugins/assets/play.js +3 -3
  454. package/dist/es/node_modules/xgplayer/es/plugins/assets/playNext.js +3 -3
  455. package/dist/es/node_modules/xgplayer/es/plugins/assets/replay.js +3 -3
  456. package/dist/es/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +3 -3
  457. package/dist/es/node_modules/xgplayer/es/plugins/assets/requestFull.js +3 -3
  458. package/dist/es/node_modules/xgplayer/es/plugins/assets/rotate.js +3 -3
  459. package/dist/es/node_modules/xgplayer/es/plugins/assets/seekicon.js +3 -3
  460. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +3 -3
  461. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +3 -3
  462. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +3 -3
  463. package/dist/es/node_modules/xgplayer/es/plugins/common/iconPlugin.js +3 -3
  464. package/dist/es/node_modules/xgplayer/es/plugins/common/iconTools.js +3 -3
  465. package/dist/es/node_modules/xgplayer/es/plugins/common/optionList.js +3 -3
  466. package/dist/es/node_modules/xgplayer/es/plugins/common/optionsIcon.js +3 -3
  467. package/dist/es/node_modules/xgplayer/es/plugins/common/thumbnail.js +3 -3
  468. package/dist/es/node_modules/xgplayer/es/plugins/controls/index.js +3 -3
  469. package/dist/es/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +3 -3
  470. package/dist/es/node_modules/xgplayer/es/plugins/definition/index.js +3 -3
  471. package/dist/es/node_modules/xgplayer/es/plugins/download/index.js +20 -19
  472. package/dist/es/node_modules/xgplayer/es/plugins/download/saveAs.js +195 -0
  473. package/dist/es/node_modules/xgplayer/es/plugins/dynamicBg/index.js +3 -3
  474. package/dist/es/node_modules/xgplayer/es/plugins/enter/index.js +3 -3
  475. package/dist/es/node_modules/xgplayer/es/plugins/error/index.js +3 -3
  476. package/dist/es/node_modules/xgplayer/es/plugins/fpsDetect/index.js +3 -3
  477. package/dist/es/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +3 -3
  478. package/dist/es/node_modules/xgplayer/es/plugins/fullscreen/index.js +3 -3
  479. package/dist/es/node_modules/xgplayer/es/plugins/gapJump/index.js +3 -3
  480. package/dist/es/node_modules/xgplayer/es/plugins/keyboard/index.js +3 -3
  481. package/dist/es/node_modules/xgplayer/es/plugins/loading/index.js +3 -3
  482. package/dist/es/node_modules/xgplayer/es/plugins/logger/index.js +3 -3
  483. package/dist/es/node_modules/xgplayer/es/plugins/miniScreen/index.js +3 -3
  484. package/dist/es/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +3 -3
  485. package/dist/es/node_modules/xgplayer/es/plugins/mobile/index.js +19 -17
  486. package/dist/es/node_modules/xgplayer/es/plugins/mobile/touch.js +3 -3
  487. package/dist/es/node_modules/xgplayer/es/plugins/pc/index.js +71 -53
  488. package/dist/es/node_modules/xgplayer/es/plugins/pip/index.js +3 -3
  489. package/dist/es/node_modules/xgplayer/es/plugins/play/index.js +3 -3
  490. package/dist/es/node_modules/xgplayer/es/plugins/playNext/index.js +3 -3
  491. package/dist/es/node_modules/xgplayer/es/plugins/playbackRate/index.js +3 -3
  492. package/dist/es/node_modules/xgplayer/es/plugins/poster/index.js +50 -44
  493. package/dist/es/node_modules/xgplayer/es/plugins/progress/index.js +3 -3
  494. package/dist/es/node_modules/xgplayer/es/plugins/progress/innerList.js +3 -3
  495. package/dist/es/node_modules/xgplayer/es/plugins/progress/miniProgress.js +3 -3
  496. package/dist/es/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +3 -3
  497. package/dist/es/node_modules/xgplayer/es/plugins/progressPreview/index.js +3 -3
  498. package/dist/es/node_modules/xgplayer/es/plugins/prompt/index.js +3 -3
  499. package/dist/es/node_modules/xgplayer/es/plugins/replay/index.js +3 -3
  500. package/dist/es/node_modules/xgplayer/es/plugins/rotate/index.js +3 -3
  501. package/dist/es/node_modules/xgplayer/es/plugins/screenShot/index.js +3 -3
  502. package/dist/es/node_modules/xgplayer/es/plugins/start/index.js +3 -3
  503. package/dist/es/node_modules/xgplayer/es/plugins/stats/index.js +3 -3
  504. package/dist/es/node_modules/xgplayer/es/plugins/testspeed/index.js +3 -3
  505. package/dist/es/node_modules/xgplayer/es/plugins/time/index.js +3 -3
  506. package/dist/es/node_modules/xgplayer/es/plugins/time/timesegments.js +3 -3
  507. package/dist/es/node_modules/xgplayer/es/plugins/volume/index.js +3 -3
  508. package/dist/es/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +3 -3
  509. package/dist/es/node_modules/xgplayer/es/presets/default.js +3 -3
  510. package/dist/es/node_modules/xgplayer/es/state.js +3 -3
  511. package/dist/es/node_modules/xgplayer/es/stateClassMap.js +3 -3
  512. package/dist/es/node_modules/xgplayer/es/utils/database.js +3 -3
  513. package/dist/es/node_modules/xgplayer/es/utils/debug.js +3 -3
  514. package/dist/es/node_modules/xgplayer/es/utils/draggabilly.js +3 -3
  515. package/dist/es/node_modules/xgplayer/es/utils/sniffer.js +22 -20
  516. package/dist/es/node_modules/xgplayer/es/utils/util.js +3 -3
  517. package/dist/es/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +3 -3
  518. package/dist/es/node_modules/xgplayer/es/version.js +4 -4
  519. package/dist/es/packages/components/index.js +3 -3
  520. package/dist/es/packages/hooks/dist/index.js +3 -3
  521. package/dist/es/packages/utils/dist/index.js +3 -3
  522. package/dist/es/styles/tokens.css +3 -3
  523. package/dist/lib/Button/index.js +3 -3
  524. package/dist/lib/Button/src/Button.css +3 -3
  525. package/dist/lib/Button/src/Button.vue.js +3 -3
  526. package/dist/lib/Button/src/Button2.css +3 -3
  527. package/dist/lib/CodeEditor/index.js +3 -3
  528. package/dist/lib/CodeEditor/src/index.css +3 -3
  529. package/dist/lib/CodeEditor/src/index.vue.js +3 -3
  530. package/dist/lib/CodeEditor/src/index2.css +3 -3
  531. package/dist/lib/CodeEditor/src/index3.css +3 -3
  532. package/dist/lib/ConfigProvider/index.js +3 -3
  533. package/dist/lib/ConfigProvider/src/configProvider.js +3 -3
  534. package/dist/lib/ConfigProvider/src/configProviderProps.js +3 -3
  535. package/dist/lib/ConfigProvider/src/constants.js +3 -3
  536. package/dist/lib/ConfigProvider/src/useGlobalConfig.js +3 -3
  537. package/dist/lib/CountTo/index.js +3 -3
  538. package/dist/lib/CountTo/src/index.css +4 -4
  539. package/dist/lib/CountTo/src/index.vue.js +4 -4
  540. package/dist/lib/Ellipsis/index.js +3 -3
  541. package/dist/lib/Ellipsis/src/components/JsEllipsis.css +3 -3
  542. package/dist/lib/Ellipsis/src/components/JsEllipsis.vue.js +3 -3
  543. package/dist/lib/Ellipsis/src/components/NativeEllipsis.css +3 -3
  544. package/dist/lib/Ellipsis/src/components/NativeEllipsis.vue.js +3 -3
  545. package/dist/lib/Ellipsis/src/components/NativeEllipsis2.css +3 -3
  546. package/dist/lib/Ellipsis/src/index.css +3 -3
  547. package/dist/lib/Ellipsis/src/index.vue.js +3 -3
  548. package/dist/lib/Ellipsis/src/utils/utils.js +3 -3
  549. package/dist/lib/Form/index.js +3 -3
  550. package/dist/lib/Form/src/Form.css +4 -4
  551. package/dist/lib/Form/src/Form.vue.js +4 -4
  552. package/dist/lib/Form/src/Form2.css +4 -4
  553. package/dist/lib/Form/src/styles/form.css +3 -3
  554. package/dist/lib/Marquee/index.js +3 -3
  555. package/dist/lib/Marquee/src/index.css +3 -3
  556. package/dist/lib/Marquee/src/index.vue.js +3 -3
  557. package/dist/lib/Marquee/src/index2.css +3 -3
  558. package/dist/lib/Overlay/index.js +3 -3
  559. package/dist/lib/Overlay/src/Message.css +3 -3
  560. package/dist/lib/Overlay/src/Message.vue.js +3 -3
  561. package/dist/lib/Overlay/src/Message2.css +3 -3
  562. package/dist/lib/Overlay/src/Modal.css +3 -3
  563. package/dist/lib/Overlay/src/Modal.vue.js +3 -3
  564. package/dist/lib/Overlay/src/Modal2.css +3 -3
  565. package/dist/lib/Overlay/src/Notice.css +3 -3
  566. package/dist/lib/Overlay/src/Notice.vue.js +3 -3
  567. package/dist/lib/Overlay/src/Notice2.css +3 -3
  568. package/dist/lib/Overlay/src/Tooltip.css +3 -3
  569. package/dist/lib/Overlay/src/Tooltip.vue.js +3 -3
  570. package/dist/lib/Overlay/src/Tooltip2.css +3 -3
  571. package/dist/lib/RichTextEditor/index.js +3 -3
  572. package/dist/lib/RichTextEditor/src/ToolbarPanel.css +4 -4
  573. package/dist/lib/RichTextEditor/src/ToolbarPanel.vue.js +4 -4
  574. package/dist/lib/RichTextEditor/src/ToolbarPanel2.css +4 -4
  575. package/dist/lib/RichTextEditor/src/components/BlockquoteButton.css +3 -3
  576. package/dist/lib/RichTextEditor/src/components/BlockquoteButton.vue.js +3 -3
  577. package/dist/lib/RichTextEditor/src/components/CodeBlockButton.css +3 -3
  578. package/dist/lib/RichTextEditor/src/components/CodeBlockButton.vue.js +3 -3
  579. package/dist/lib/RichTextEditor/src/components/ColorHighlightPopover.css +4 -4
  580. package/dist/lib/RichTextEditor/src/components/ColorHighlightPopover.vue.js +4 -4
  581. package/dist/lib/RichTextEditor/src/components/FontSizeDropdownMenu.css +3 -3
  582. package/dist/lib/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +3 -3
  583. package/dist/lib/RichTextEditor/src/components/HeadingDropdownMenu.css +3 -3
  584. package/dist/lib/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +3 -3
  585. package/dist/lib/RichTextEditor/src/components/ImageUploadButton.css +4 -4
  586. package/dist/lib/RichTextEditor/src/components/ImageUploadButton.vue.js +4 -4
  587. package/dist/lib/RichTextEditor/src/components/LinkPopover.css +3 -3
  588. package/dist/lib/RichTextEditor/src/components/LinkPopover.vue.js +3 -3
  589. package/dist/lib/RichTextEditor/src/components/LinkPopover2.css +3 -3
  590. package/dist/lib/RichTextEditor/src/components/ListDropdownMenu.css +3 -3
  591. package/dist/lib/RichTextEditor/src/components/ListDropdownMenu.vue.js +3 -3
  592. package/dist/lib/RichTextEditor/src/components/MarkButton.css +3 -3
  593. package/dist/lib/RichTextEditor/src/components/MarkButton.vue.js +3 -3
  594. package/dist/lib/RichTextEditor/src/components/TableButton.css +3 -3
  595. package/dist/lib/RichTextEditor/src/components/TableButton.vue.js +3 -3
  596. package/dist/lib/RichTextEditor/src/components/TextAlignDropdownMenu.css +3 -3
  597. package/dist/lib/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +3 -3
  598. package/dist/lib/RichTextEditor/src/components/TextColorPopover.css +3 -3
  599. package/dist/lib/RichTextEditor/src/components/TextColorPopover.vue.js +3 -3
  600. package/dist/lib/RichTextEditor/src/components/ToolbarGroup.css +3 -3
  601. package/dist/lib/RichTextEditor/src/components/ToolbarGroup.vue.js +3 -3
  602. package/dist/lib/RichTextEditor/src/components/ToolbarSeparator.css +3 -3
  603. package/dist/lib/RichTextEditor/src/components/ToolbarSeparator.vue.js +3 -3
  604. package/dist/lib/RichTextEditor/src/components/UndoRedoButton.css +3 -3
  605. package/dist/lib/RichTextEditor/src/components/UndoRedoButton.vue.js +3 -3
  606. package/dist/lib/RichTextEditor/src/components/VideoUploadButton.css +4 -4
  607. package/dist/lib/RichTextEditor/src/components/VideoUploadButton.vue.js +4 -4
  608. package/dist/lib/RichTextEditor/src/components/basic/ColorPicker.css +3 -3
  609. package/dist/lib/RichTextEditor/src/components/basic/ColorPicker.vue.js +3 -3
  610. package/dist/lib/RichTextEditor/src/components/basic/MediaUploadModal.css +4 -4
  611. package/dist/lib/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +4 -4
  612. package/dist/lib/RichTextEditor/src/components/basic/MediaUploadModal2.css +4 -4
  613. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu.css +4 -4
  614. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu.vue.js +4 -4
  615. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu2.css +4 -4
  616. package/dist/lib/RichTextEditor/src/constant/index.js +3 -3
  617. package/dist/lib/RichTextEditor/src/extensions/styledTable.js +14 -0
  618. package/dist/lib/RichTextEditor/src/extensions/video.js +3 -3
  619. package/dist/lib/RichTextEditor/src/index.css +3 -3
  620. package/dist/lib/RichTextEditor/src/index.vue.js +4 -4
  621. package/dist/lib/RichTextEditor/src/index2.css +4 -4
  622. package/dist/lib/RichTextEditor/src/props.js +4 -4
  623. package/dist/lib/ScaleScreen/index.js +3 -3
  624. package/dist/lib/ScaleScreen/src/index.css +3 -3
  625. package/dist/lib/ScaleScreen/src/index.vue.js +3 -3
  626. package/dist/lib/ScaleScreen/src/index2.css +3 -3
  627. package/dist/lib/Transition/index.js +3 -3
  628. package/dist/lib/Transition/src/CollapseTransition.css +3 -3
  629. package/dist/lib/Transition/src/CollapseTransition.vue.js +3 -3
  630. package/dist/lib/Transition/src/CollapseTransition2.css +3 -3
  631. package/dist/lib/Transition/src/CreateTransition.js +3 -3
  632. package/dist/lib/Transition/src/ExpandTransition.js +3 -3
  633. package/dist/lib/Transition/src/style/index.css +3 -3
  634. package/dist/lib/Transition/style.js +3 -3
  635. package/dist/lib/VideoBackground/index.js +3 -3
  636. package/dist/lib/VideoBackground/src/helper.js +3 -3
  637. package/dist/lib/VideoBackground/src/index.css +3 -3
  638. package/dist/lib/VideoBackground/src/index.vue.js +3 -3
  639. package/dist/lib/VideoBackground/src/index2.css +3 -3
  640. package/dist/lib/VideoBackground/src/index3.css +3 -3
  641. package/dist/lib/VideoBackground/src/videoBackground.js +3 -3
  642. package/dist/lib/VideoPlayer/index.js +3 -3
  643. package/dist/lib/VideoPlayer/src/index.css +3 -3
  644. package/dist/lib/VideoPlayer/src/index.vue.js +3 -3
  645. package/dist/lib/VirtualScroll/index.js +3 -3
  646. package/dist/lib/VirtualScroll/src/index.css +3 -3
  647. package/dist/lib/VirtualScroll/src/index.vue.js +3 -3
  648. package/dist/lib/VirtualScroll/src/index.vue2.js +3 -3
  649. package/dist/lib/VirtualScroll/src/index2.css +3 -3
  650. package/dist/lib/_virtual/_commonjsHelpers.js +3 -3
  651. package/dist/lib/_virtual/_plugin-vue_export-helper.js +3 -3
  652. package/dist/lib/_virtual/delegate.js +3 -3
  653. package/dist/lib/_virtual/index.js +3 -3
  654. package/dist/lib/_virtual/index2.js +3 -3
  655. package/dist/lib/_virtual/index3.js +3 -3
  656. package/dist/lib/_virtual/index4.js +3 -3
  657. package/dist/lib/hooks/useLocale.js +3 -3
  658. package/dist/lib/hooks/useNamespace.js +3 -3
  659. package/dist/lib/index.js +3 -3
  660. package/dist/lib/locale/lang/en-US.js +4 -4
  661. package/dist/lib/locale/lang/ja-JP.js +4 -4
  662. package/dist/lib/locale/lang/zh-CN.js +4 -4
  663. package/dist/lib/node_modules/@codemirror/autocomplete/dist/index.js +3 -3
  664. package/dist/lib/node_modules/@codemirror/commands/dist/index.js +3 -3
  665. package/dist/lib/node_modules/@codemirror/lang-java/dist/index.js +3 -3
  666. package/dist/lib/node_modules/@codemirror/lang-javascript/dist/index.js +3 -3
  667. package/dist/lib/node_modules/@codemirror/lang-json/dist/index.js +3 -3
  668. package/dist/lib/node_modules/@codemirror/lang-python/dist/index.js +3 -3
  669. package/dist/lib/node_modules/@codemirror/lang-sql/dist/index.js +3 -3
  670. package/dist/lib/node_modules/@codemirror/lang-xml/dist/index.js +3 -3
  671. package/dist/lib/node_modules/@codemirror/lang-yaml/dist/index.js +3 -3
  672. package/dist/lib/node_modules/@codemirror/language/dist/index.js +3 -3
  673. package/dist/lib/node_modules/@codemirror/lint/dist/index.js +3 -3
  674. package/dist/lib/node_modules/@codemirror/search/dist/index.js +3 -3
  675. package/dist/lib/node_modules/@codemirror/state/dist/index.js +3 -3
  676. package/dist/lib/node_modules/@codemirror/theme-one-dark/dist/index.js +3 -3
  677. package/dist/lib/node_modules/@codemirror/view/dist/index.js +3 -3
  678. package/dist/lib/node_modules/@lezer/common/dist/index.js +3 -3
  679. package/dist/lib/node_modules/@lezer/highlight/dist/index.js +3 -3
  680. package/dist/lib/node_modules/@lezer/java/dist/index.js +3 -3
  681. package/dist/lib/node_modules/@lezer/javascript/dist/index.js +3 -3
  682. package/dist/lib/node_modules/@lezer/json/dist/index.js +3 -3
  683. package/dist/lib/node_modules/@lezer/lr/dist/index.js +3 -3
  684. package/dist/lib/node_modules/@lezer/python/dist/index.js +3 -3
  685. package/dist/lib/node_modules/@lezer/xml/dist/index.js +3 -3
  686. package/dist/lib/node_modules/@lezer/yaml/dist/index.js +3 -3
  687. package/dist/lib/node_modules/@marijn/find-cluster-break/src/index.js +3 -3
  688. package/dist/lib/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +3 -3
  689. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/EventClient.js +3 -3
  690. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +3 -3
  691. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FormApi.js +3 -3
  692. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +3 -3
  693. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +3 -3
  694. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +3 -3
  695. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/utils.js +3 -3
  696. package/dist/lib/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +3 -3
  697. package/dist/lib/node_modules/@tanstack/store/dist/esm/alien.js +3 -3
  698. package/dist/lib/node_modules/@tanstack/store/dist/esm/atom.js +3 -3
  699. package/dist/lib/node_modules/@tanstack/store/dist/esm/batch.js +3 -3
  700. package/dist/lib/node_modules/@tanstack/store/dist/esm/store.js +3 -3
  701. package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useField.js +3 -3
  702. package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useForm.js +3 -3
  703. package/dist/lib/node_modules/@tanstack/vue-store/dist/esm/index.js +3 -3
  704. package/dist/lib/node_modules/@tiptap/core/dist/index.js +10 -8
  705. package/dist/lib/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +3 -3
  706. package/dist/lib/node_modules/@tiptap/extension-blockquote/dist/index.js +7 -7
  707. package/dist/lib/node_modules/@tiptap/extension-bold/dist/index.js +4 -4
  708. package/dist/lib/node_modules/@tiptap/extension-character-count/dist/index.js +3 -3
  709. package/dist/lib/node_modules/@tiptap/extension-code/dist/index.js +3 -3
  710. package/dist/lib/node_modules/@tiptap/extension-code-block/dist/index.js +3 -3
  711. package/dist/lib/node_modules/@tiptap/extension-document/dist/index.js +3 -3
  712. package/dist/lib/node_modules/@tiptap/extension-hard-break/dist/index.js +3 -3
  713. package/dist/lib/node_modules/@tiptap/extension-heading/dist/index.js +3 -3
  714. package/dist/lib/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +3 -3
  715. package/dist/lib/node_modules/@tiptap/extension-image/dist/index.js +3 -3
  716. package/dist/lib/node_modules/@tiptap/extension-italic/dist/index.js +4 -4
  717. package/dist/lib/node_modules/@tiptap/extension-link/dist/index.js +3 -3
  718. package/dist/lib/node_modules/@tiptap/extension-list/dist/index.js +14 -14
  719. package/dist/lib/node_modules/@tiptap/extension-paragraph/dist/index.js +4 -4
  720. package/dist/lib/node_modules/@tiptap/extension-strike/dist/index.js +3 -3
  721. package/dist/lib/node_modules/@tiptap/extension-subscript/dist/index.js +3 -3
  722. package/dist/lib/node_modules/@tiptap/extension-superscript/dist/index.js +3 -3
  723. package/dist/lib/node_modules/@tiptap/extension-table/dist/index.js +5 -5
  724. package/dist/lib/node_modules/@tiptap/extension-task-item/dist/index.js +3 -3
  725. package/dist/lib/node_modules/@tiptap/extension-task-list/dist/index.js +3 -3
  726. package/dist/lib/node_modules/@tiptap/extension-text/dist/index.js +3 -3
  727. package/dist/lib/node_modules/@tiptap/extension-text-align/dist/index.js +3 -3
  728. package/dist/lib/node_modules/@tiptap/extension-text-style/dist/index.js +3 -3
  729. package/dist/lib/node_modules/@tiptap/extension-underline/dist/index.js +3 -3
  730. package/dist/lib/node_modules/@tiptap/extensions/dist/index.js +4 -4
  731. package/dist/lib/node_modules/@tiptap/html/dist/index.js +3 -3
  732. package/dist/lib/node_modules/@tiptap/starter-kit/dist/index.js +3 -3
  733. package/dist/lib/node_modules/@tiptap/vue-3/dist/index.js +3 -3
  734. package/dist/lib/node_modules/@vueuse/core/dist/index.js +3 -3
  735. package/dist/lib/node_modules/@vueuse/shared/dist/index.js +3 -3
  736. package/dist/lib/node_modules/codemirror/dist/index.js +3 -3
  737. package/dist/lib/node_modules/crelt/index.js +3 -3
  738. package/dist/lib/node_modules/delegate/src/closest.js +3 -3
  739. package/dist/lib/node_modules/delegate/src/delegate.js +3 -3
  740. package/dist/lib/node_modules/eventemitter3/index.js +3 -3
  741. package/dist/lib/node_modules/linkifyjs/dist/linkify.js +3 -3
  742. package/dist/lib/node_modules/lodash-es/_DataView.js +3 -3
  743. package/dist/lib/node_modules/lodash-es/_Hash.js +3 -3
  744. package/dist/lib/node_modules/lodash-es/_ListCache.js +3 -3
  745. package/dist/lib/node_modules/lodash-es/_Map.js +3 -3
  746. package/dist/lib/node_modules/lodash-es/_MapCache.js +3 -3
  747. package/dist/lib/node_modules/lodash-es/_Promise.js +3 -3
  748. package/dist/lib/node_modules/lodash-es/_Set.js +3 -3
  749. package/dist/lib/node_modules/lodash-es/_SetCache.js +3 -3
  750. package/dist/lib/node_modules/lodash-es/_Stack.js +3 -3
  751. package/dist/lib/node_modules/lodash-es/_Symbol.js +3 -3
  752. package/dist/lib/node_modules/lodash-es/_Uint8Array.js +3 -3
  753. package/dist/lib/node_modules/lodash-es/_WeakMap.js +3 -3
  754. package/dist/lib/node_modules/lodash-es/_apply.js +3 -3
  755. package/dist/lib/node_modules/lodash-es/_arrayEach.js +3 -3
  756. package/dist/lib/node_modules/lodash-es/_arrayFilter.js +3 -3
  757. package/dist/lib/node_modules/lodash-es/_arrayIncludes.js +3 -3
  758. package/dist/lib/node_modules/lodash-es/_arrayIncludesWith.js +3 -3
  759. package/dist/lib/node_modules/lodash-es/_arrayLikeKeys.js +3 -3
  760. package/dist/lib/node_modules/lodash-es/_arrayMap.js +3 -3
  761. package/dist/lib/node_modules/lodash-es/_arrayPush.js +3 -3
  762. package/dist/lib/node_modules/lodash-es/_arraySome.js +3 -3
  763. package/dist/lib/node_modules/lodash-es/_asciiToArray.js +3 -3
  764. package/dist/lib/node_modules/lodash-es/_assignMergeValue.js +3 -3
  765. package/dist/lib/node_modules/lodash-es/_assignValue.js +3 -3
  766. package/dist/lib/node_modules/lodash-es/_assocIndexOf.js +3 -3
  767. package/dist/lib/node_modules/lodash-es/_baseAssignValue.js +3 -3
  768. package/dist/lib/node_modules/lodash-es/_baseClone.js +3 -3
  769. package/dist/lib/node_modules/lodash-es/_baseCreate.js +3 -3
  770. package/dist/lib/node_modules/lodash-es/_baseFindIndex.js +3 -3
  771. package/dist/lib/node_modules/lodash-es/_baseFlatten.js +3 -3
  772. package/dist/lib/node_modules/lodash-es/_baseFor.js +3 -3
  773. package/dist/lib/node_modules/lodash-es/_baseGet.js +3 -3
  774. package/dist/lib/node_modules/lodash-es/_baseGetAllKeys.js +3 -3
  775. package/dist/lib/node_modules/lodash-es/_baseGetTag.js +3 -3
  776. package/dist/lib/node_modules/lodash-es/_baseIndexOf.js +3 -3
  777. package/dist/lib/node_modules/lodash-es/_baseIntersection.js +3 -3
  778. package/dist/lib/node_modules/lodash-es/_baseIsArguments.js +3 -3
  779. package/dist/lib/node_modules/lodash-es/_baseIsEqual.js +3 -3
  780. package/dist/lib/node_modules/lodash-es/_baseIsEqualDeep.js +3 -3
  781. package/dist/lib/node_modules/lodash-es/_baseIsMap.js +3 -3
  782. package/dist/lib/node_modules/lodash-es/_baseIsNaN.js +3 -3
  783. package/dist/lib/node_modules/lodash-es/_baseIsNative.js +3 -3
  784. package/dist/lib/node_modules/lodash-es/_baseIsRegExp.js +3 -3
  785. package/dist/lib/node_modules/lodash-es/_baseIsSet.js +3 -3
  786. package/dist/lib/node_modules/lodash-es/_baseIsTypedArray.js +3 -3
  787. package/dist/lib/node_modules/lodash-es/_baseKeys.js +3 -3
  788. package/dist/lib/node_modules/lodash-es/_baseKeysIn.js +3 -3
  789. package/dist/lib/node_modules/lodash-es/_baseMerge.js +3 -3
  790. package/dist/lib/node_modules/lodash-es/_baseMergeDeep.js +3 -3
  791. package/dist/lib/node_modules/lodash-es/_baseRest.js +3 -3
  792. package/dist/lib/node_modules/lodash-es/_baseSetToString.js +3 -3
  793. package/dist/lib/node_modules/lodash-es/_baseSlice.js +3 -3
  794. package/dist/lib/node_modules/lodash-es/_baseTimes.js +3 -3
  795. package/dist/lib/node_modules/lodash-es/_baseToString.js +3 -3
  796. package/dist/lib/node_modules/lodash-es/_baseUnary.js +3 -3
  797. package/dist/lib/node_modules/lodash-es/_baseUniq.js +3 -3
  798. package/dist/lib/node_modules/lodash-es/_baseUnset.js +3 -3
  799. package/dist/lib/node_modules/lodash-es/_cacheHas.js +3 -3
  800. package/dist/lib/node_modules/lodash-es/_castArrayLikeObject.js +3 -3
  801. package/dist/lib/node_modules/lodash-es/_castPath.js +3 -3
  802. package/dist/lib/node_modules/lodash-es/_castSlice.js +3 -3
  803. package/dist/lib/node_modules/lodash-es/_cloneArrayBuffer.js +3 -3
  804. package/dist/lib/node_modules/lodash-es/_cloneBuffer.js +3 -3
  805. package/dist/lib/node_modules/lodash-es/_cloneDataView.js +3 -3
  806. package/dist/lib/node_modules/lodash-es/_cloneRegExp.js +3 -3
  807. package/dist/lib/node_modules/lodash-es/_cloneSymbol.js +3 -3
  808. package/dist/lib/node_modules/lodash-es/_cloneTypedArray.js +3 -3
  809. package/dist/lib/node_modules/lodash-es/_copyArray.js +3 -3
  810. package/dist/lib/node_modules/lodash-es/_copyObject.js +3 -3
  811. package/dist/lib/node_modules/lodash-es/_coreJsData.js +3 -3
  812. package/dist/lib/node_modules/lodash-es/_createAssigner.js +3 -3
  813. package/dist/lib/node_modules/lodash-es/_createBaseFor.js +3 -3
  814. package/dist/lib/node_modules/lodash-es/_createCaseFirst.js +3 -3
  815. package/dist/lib/node_modules/lodash-es/_createSet.js +3 -3
  816. package/dist/lib/node_modules/lodash-es/_customOmitClone.js +3 -3
  817. package/dist/lib/node_modules/lodash-es/_defineProperty.js +3 -3
  818. package/dist/lib/node_modules/lodash-es/_equalArrays.js +3 -3
  819. package/dist/lib/node_modules/lodash-es/_equalByTag.js +3 -3
  820. package/dist/lib/node_modules/lodash-es/_equalObjects.js +3 -3
  821. package/dist/lib/node_modules/lodash-es/_flatRest.js +3 -3
  822. package/dist/lib/node_modules/lodash-es/_freeGlobal.js +3 -3
  823. package/dist/lib/node_modules/lodash-es/_getAllKeys.js +3 -3
  824. package/dist/lib/node_modules/lodash-es/_getAllKeysIn.js +3 -3
  825. package/dist/lib/node_modules/lodash-es/_getMapData.js +3 -3
  826. package/dist/lib/node_modules/lodash-es/_getNative.js +3 -3
  827. package/dist/lib/node_modules/lodash-es/_getPrototype.js +3 -3
  828. package/dist/lib/node_modules/lodash-es/_getRawTag.js +3 -3
  829. package/dist/lib/node_modules/lodash-es/_getSymbols.js +3 -3
  830. package/dist/lib/node_modules/lodash-es/_getSymbolsIn.js +3 -3
  831. package/dist/lib/node_modules/lodash-es/_getTag.js +3 -3
  832. package/dist/lib/node_modules/lodash-es/_getValue.js +3 -3
  833. package/dist/lib/node_modules/lodash-es/_hasUnicode.js +3 -3
  834. package/dist/lib/node_modules/lodash-es/_hashClear.js +3 -3
  835. package/dist/lib/node_modules/lodash-es/_hashDelete.js +3 -3
  836. package/dist/lib/node_modules/lodash-es/_hashGet.js +3 -3
  837. package/dist/lib/node_modules/lodash-es/_hashHas.js +3 -3
  838. package/dist/lib/node_modules/lodash-es/_hashSet.js +3 -3
  839. package/dist/lib/node_modules/lodash-es/_initCloneArray.js +3 -3
  840. package/dist/lib/node_modules/lodash-es/_initCloneByTag.js +3 -3
  841. package/dist/lib/node_modules/lodash-es/_initCloneObject.js +3 -3
  842. package/dist/lib/node_modules/lodash-es/_isFlattenable.js +3 -3
  843. package/dist/lib/node_modules/lodash-es/_isIndex.js +3 -3
  844. package/dist/lib/node_modules/lodash-es/_isIterateeCall.js +3 -3
  845. package/dist/lib/node_modules/lodash-es/_isKey.js +3 -3
  846. package/dist/lib/node_modules/lodash-es/_isKeyable.js +3 -3
  847. package/dist/lib/node_modules/lodash-es/_isMasked.js +3 -3
  848. package/dist/lib/node_modules/lodash-es/_isPrototype.js +3 -3
  849. package/dist/lib/node_modules/lodash-es/_listCacheClear.js +3 -3
  850. package/dist/lib/node_modules/lodash-es/_listCacheDelete.js +3 -3
  851. package/dist/lib/node_modules/lodash-es/_listCacheGet.js +3 -3
  852. package/dist/lib/node_modules/lodash-es/_listCacheHas.js +3 -3
  853. package/dist/lib/node_modules/lodash-es/_listCacheSet.js +3 -3
  854. package/dist/lib/node_modules/lodash-es/_mapCacheClear.js +3 -3
  855. package/dist/lib/node_modules/lodash-es/_mapCacheDelete.js +3 -3
  856. package/dist/lib/node_modules/lodash-es/_mapCacheGet.js +3 -3
  857. package/dist/lib/node_modules/lodash-es/_mapCacheHas.js +3 -3
  858. package/dist/lib/node_modules/lodash-es/_mapCacheSet.js +3 -3
  859. package/dist/lib/node_modules/lodash-es/_mapToArray.js +3 -3
  860. package/dist/lib/node_modules/lodash-es/_memoizeCapped.js +3 -3
  861. package/dist/lib/node_modules/lodash-es/_nativeCreate.js +3 -3
  862. package/dist/lib/node_modules/lodash-es/_nativeKeys.js +3 -3
  863. package/dist/lib/node_modules/lodash-es/_nativeKeysIn.js +3 -3
  864. package/dist/lib/node_modules/lodash-es/_nodeUtil.js +3 -3
  865. package/dist/lib/node_modules/lodash-es/_objectToString.js +3 -3
  866. package/dist/lib/node_modules/lodash-es/_overArg.js +3 -3
  867. package/dist/lib/node_modules/lodash-es/_overRest.js +3 -3
  868. package/dist/lib/node_modules/lodash-es/_parent.js +3 -3
  869. package/dist/lib/node_modules/lodash-es/_root.js +3 -3
  870. package/dist/lib/node_modules/lodash-es/_safeGet.js +3 -3
  871. package/dist/lib/node_modules/lodash-es/_setCacheAdd.js +3 -3
  872. package/dist/lib/node_modules/lodash-es/_setCacheHas.js +3 -3
  873. package/dist/lib/node_modules/lodash-es/_setToArray.js +3 -3
  874. package/dist/lib/node_modules/lodash-es/_setToString.js +3 -3
  875. package/dist/lib/node_modules/lodash-es/_shortOut.js +3 -3
  876. package/dist/lib/node_modules/lodash-es/_stackClear.js +3 -3
  877. package/dist/lib/node_modules/lodash-es/_stackDelete.js +3 -3
  878. package/dist/lib/node_modules/lodash-es/_stackGet.js +3 -3
  879. package/dist/lib/node_modules/lodash-es/_stackHas.js +3 -3
  880. package/dist/lib/node_modules/lodash-es/_stackSet.js +3 -3
  881. package/dist/lib/node_modules/lodash-es/_strictIndexOf.js +3 -3
  882. package/dist/lib/node_modules/lodash-es/_stringToArray.js +3 -3
  883. package/dist/lib/node_modules/lodash-es/_stringToPath.js +3 -3
  884. package/dist/lib/node_modules/lodash-es/_toKey.js +3 -3
  885. package/dist/lib/node_modules/lodash-es/_toSource.js +3 -3
  886. package/dist/lib/node_modules/lodash-es/_unicodeToArray.js +3 -3
  887. package/dist/lib/node_modules/lodash-es/constant.js +3 -3
  888. package/dist/lib/node_modules/lodash-es/eq.js +3 -3
  889. package/dist/lib/node_modules/lodash-es/flatten.js +3 -3
  890. package/dist/lib/node_modules/lodash-es/get.js +3 -3
  891. package/dist/lib/node_modules/lodash-es/identity.js +3 -3
  892. package/dist/lib/node_modules/lodash-es/intersectionWith.js +3 -3
  893. package/dist/lib/node_modules/lodash-es/isArguments.js +3 -3
  894. package/dist/lib/node_modules/lodash-es/isArray.js +3 -3
  895. package/dist/lib/node_modules/lodash-es/isArrayLike.js +3 -3
  896. package/dist/lib/node_modules/lodash-es/isArrayLikeObject.js +3 -3
  897. package/dist/lib/node_modules/lodash-es/isBuffer.js +3 -3
  898. package/dist/lib/node_modules/lodash-es/isEqual.js +3 -3
  899. package/dist/lib/node_modules/lodash-es/isFinite.js +3 -3
  900. package/dist/lib/node_modules/lodash-es/isFunction.js +3 -3
  901. package/dist/lib/node_modules/lodash-es/isLength.js +3 -3
  902. package/dist/lib/node_modules/lodash-es/isMap.js +3 -3
  903. package/dist/lib/node_modules/lodash-es/isNaN.js +3 -3
  904. package/dist/lib/node_modules/lodash-es/isNil.js +3 -3
  905. package/dist/lib/node_modules/lodash-es/isNumber.js +3 -3
  906. package/dist/lib/node_modules/lodash-es/isObject.js +3 -3
  907. package/dist/lib/node_modules/lodash-es/isObjectLike.js +3 -3
  908. package/dist/lib/node_modules/lodash-es/isPlainObject.js +3 -3
  909. package/dist/lib/node_modules/lodash-es/isRegExp.js +3 -3
  910. package/dist/lib/node_modules/lodash-es/isSet.js +3 -3
  911. package/dist/lib/node_modules/lodash-es/isString.js +3 -3
  912. package/dist/lib/node_modules/lodash-es/isSymbol.js +3 -3
  913. package/dist/lib/node_modules/lodash-es/isTypedArray.js +3 -3
  914. package/dist/lib/node_modules/lodash-es/keys.js +3 -3
  915. package/dist/lib/node_modules/lodash-es/keysIn.js +3 -3
  916. package/dist/lib/node_modules/lodash-es/last.js +3 -3
  917. package/dist/lib/node_modules/lodash-es/memoize.js +3 -3
  918. package/dist/lib/node_modules/lodash-es/mergeWith.js +3 -3
  919. package/dist/lib/node_modules/lodash-es/noop.js +3 -3
  920. package/dist/lib/node_modules/lodash-es/omit.js +3 -3
  921. package/dist/lib/node_modules/lodash-es/stubArray.js +3 -3
  922. package/dist/lib/node_modules/lodash-es/stubFalse.js +3 -3
  923. package/dist/lib/node_modules/lodash-es/toPlainObject.js +3 -3
  924. package/dist/lib/node_modules/lodash-es/toString.js +3 -3
  925. package/dist/lib/node_modules/lodash-es/unionWith.js +3 -3
  926. package/dist/lib/node_modules/lodash-es/upperFirst.js +3 -3
  927. package/dist/lib/node_modules/orderedmap/dist/index.js +3 -3
  928. package/dist/lib/node_modules/path-to-regexp/dist/index.js +3 -3
  929. package/dist/lib/node_modules/prosemirror-commands/dist/index.js +3 -3
  930. package/dist/lib/node_modules/prosemirror-dropcursor/dist/index.js +3 -3
  931. package/dist/lib/node_modules/prosemirror-gapcursor/dist/index.js +3 -3
  932. package/dist/lib/node_modules/prosemirror-history/dist/index.js +3 -3
  933. package/dist/lib/node_modules/prosemirror-keymap/dist/index.js +3 -3
  934. package/dist/lib/node_modules/prosemirror-model/dist/index.js +3 -3
  935. package/dist/lib/node_modules/prosemirror-schema-list/dist/index.js +3 -3
  936. package/dist/lib/node_modules/prosemirror-state/dist/index.js +3 -3
  937. package/dist/lib/node_modules/prosemirror-tables/dist/index.js +3 -3
  938. package/dist/lib/node_modules/prosemirror-transform/dist/index.js +3 -3
  939. package/dist/lib/node_modules/prosemirror-view/dist/index.js +4 -4
  940. package/dist/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +3 -3
  941. package/dist/lib/node_modules/rope-sequence/dist/index.js +3 -3
  942. package/dist/lib/node_modules/sortablejs/modular/sortable.esm.js +3 -3
  943. package/dist/lib/node_modules/style-mod/src/style-mod.js +3 -3
  944. package/dist/lib/node_modules/title-case/dist/index.js +3 -3
  945. package/dist/lib/node_modules/vue-codemirror/dist/vue-codemirror.esm.js +3 -3
  946. package/dist/lib/node_modules/w3c-keyname/index.js +3 -3
  947. package/dist/lib/node_modules/xgplayer/dist/index.min.css +3 -3
  948. package/dist/lib/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +6 -5
  949. package/dist/lib/node_modules/xgplayer/es/constant.js +3 -3
  950. package/dist/lib/node_modules/xgplayer/es/defaultConfig.js +3 -3
  951. package/dist/lib/node_modules/xgplayer/es/error.js +3 -3
  952. package/dist/lib/node_modules/xgplayer/es/events.js +3 -3
  953. package/dist/lib/node_modules/xgplayer/es/index.umd.js +3 -3
  954. package/dist/lib/node_modules/xgplayer/es/instManager.js +3 -3
  955. package/dist/lib/node_modules/xgplayer/es/lang/en.js +4 -4
  956. package/dist/lib/node_modules/xgplayer/es/lang/i18n.js +3 -3
  957. package/dist/lib/node_modules/xgplayer/es/lang/jp.js +4 -4
  958. package/dist/lib/node_modules/xgplayer/es/lang/zh-cn.js +4 -4
  959. package/dist/lib/node_modules/xgplayer/es/mediaProxy.js +3 -3
  960. package/dist/lib/node_modules/xgplayer/es/player.js +4 -4
  961. package/dist/lib/node_modules/xgplayer/es/plugin/basePlugin.js +3 -3
  962. package/dist/lib/node_modules/xgplayer/es/plugin/hooksDescriptor.js +3 -3
  963. package/dist/lib/node_modules/xgplayer/es/plugin/plugin.js +3 -3
  964. package/dist/lib/node_modules/xgplayer/es/plugin/pluginsManager.js +3 -3
  965. package/dist/lib/node_modules/xgplayer/es/plugin/preset.js +3 -3
  966. package/dist/lib/node_modules/xgplayer/es/plugin/resizeObserver.js +3 -3
  967. package/dist/lib/node_modules/xgplayer/es/plugins/assets/back.js +3 -3
  968. package/dist/lib/node_modules/xgplayer/es/plugins/assets/download.js +3 -3
  969. package/dist/lib/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +3 -3
  970. package/dist/lib/node_modules/xgplayer/es/plugins/assets/exitFull.js +3 -3
  971. package/dist/lib/node_modules/xgplayer/es/plugins/assets/loading.js +3 -3
  972. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pause.js +3 -3
  973. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pipIcon.js +3 -3
  974. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +3 -3
  975. package/dist/lib/node_modules/xgplayer/es/plugins/assets/play.js +3 -3
  976. package/dist/lib/node_modules/xgplayer/es/plugins/assets/playNext.js +3 -3
  977. package/dist/lib/node_modules/xgplayer/es/plugins/assets/replay.js +3 -3
  978. package/dist/lib/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +3 -3
  979. package/dist/lib/node_modules/xgplayer/es/plugins/assets/requestFull.js +3 -3
  980. package/dist/lib/node_modules/xgplayer/es/plugins/assets/rotate.js +3 -3
  981. package/dist/lib/node_modules/xgplayer/es/plugins/assets/seekicon.js +3 -3
  982. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +3 -3
  983. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +3 -3
  984. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +3 -3
  985. package/dist/lib/node_modules/xgplayer/es/plugins/common/iconPlugin.js +3 -3
  986. package/dist/lib/node_modules/xgplayer/es/plugins/common/iconTools.js +3 -3
  987. package/dist/lib/node_modules/xgplayer/es/plugins/common/optionList.js +3 -3
  988. package/dist/lib/node_modules/xgplayer/es/plugins/common/optionsIcon.js +3 -3
  989. package/dist/lib/node_modules/xgplayer/es/plugins/common/thumbnail.js +3 -3
  990. package/dist/lib/node_modules/xgplayer/es/plugins/controls/index.js +3 -3
  991. package/dist/lib/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +3 -3
  992. package/dist/lib/node_modules/xgplayer/es/plugins/definition/index.js +3 -3
  993. package/dist/lib/node_modules/xgplayer/es/plugins/download/index.js +6 -6
  994. package/dist/lib/node_modules/xgplayer/es/plugins/download/saveAs.js +16 -0
  995. package/dist/lib/node_modules/xgplayer/es/plugins/dynamicBg/index.js +3 -3
  996. package/dist/lib/node_modules/xgplayer/es/plugins/enter/index.js +3 -3
  997. package/dist/lib/node_modules/xgplayer/es/plugins/error/index.js +3 -3
  998. package/dist/lib/node_modules/xgplayer/es/plugins/fpsDetect/index.js +3 -3
  999. package/dist/lib/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +3 -3
  1000. package/dist/lib/node_modules/xgplayer/es/plugins/fullscreen/index.js +3 -3
  1001. package/dist/lib/node_modules/xgplayer/es/plugins/gapJump/index.js +3 -3
  1002. package/dist/lib/node_modules/xgplayer/es/plugins/keyboard/index.js +3 -3
  1003. package/dist/lib/node_modules/xgplayer/es/plugins/loading/index.js +3 -3
  1004. package/dist/lib/node_modules/xgplayer/es/plugins/logger/index.js +3 -3
  1005. package/dist/lib/node_modules/xgplayer/es/plugins/miniScreen/index.js +3 -3
  1006. package/dist/lib/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +3 -3
  1007. package/dist/lib/node_modules/xgplayer/es/plugins/mobile/index.js +5 -5
  1008. package/dist/lib/node_modules/xgplayer/es/plugins/mobile/touch.js +3 -3
  1009. package/dist/lib/node_modules/xgplayer/es/plugins/pc/index.js +4 -4
  1010. package/dist/lib/node_modules/xgplayer/es/plugins/pip/index.js +3 -3
  1011. package/dist/lib/node_modules/xgplayer/es/plugins/play/index.js +3 -3
  1012. package/dist/lib/node_modules/xgplayer/es/plugins/playNext/index.js +3 -3
  1013. package/dist/lib/node_modules/xgplayer/es/plugins/playbackRate/index.js +3 -3
  1014. package/dist/lib/node_modules/xgplayer/es/plugins/poster/index.js +5 -5
  1015. package/dist/lib/node_modules/xgplayer/es/plugins/progress/index.js +3 -3
  1016. package/dist/lib/node_modules/xgplayer/es/plugins/progress/innerList.js +3 -3
  1017. package/dist/lib/node_modules/xgplayer/es/plugins/progress/miniProgress.js +3 -3
  1018. package/dist/lib/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +3 -3
  1019. package/dist/lib/node_modules/xgplayer/es/plugins/progressPreview/index.js +3 -3
  1020. package/dist/lib/node_modules/xgplayer/es/plugins/prompt/index.js +3 -3
  1021. package/dist/lib/node_modules/xgplayer/es/plugins/replay/index.js +3 -3
  1022. package/dist/lib/node_modules/xgplayer/es/plugins/rotate/index.js +3 -3
  1023. package/dist/lib/node_modules/xgplayer/es/plugins/screenShot/index.js +3 -3
  1024. package/dist/lib/node_modules/xgplayer/es/plugins/start/index.js +3 -3
  1025. package/dist/lib/node_modules/xgplayer/es/plugins/stats/index.js +3 -3
  1026. package/dist/lib/node_modules/xgplayer/es/plugins/testspeed/index.js +3 -3
  1027. package/dist/lib/node_modules/xgplayer/es/plugins/time/index.js +3 -3
  1028. package/dist/lib/node_modules/xgplayer/es/plugins/time/timesegments.js +3 -3
  1029. package/dist/lib/node_modules/xgplayer/es/plugins/volume/index.js +3 -3
  1030. package/dist/lib/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +3 -3
  1031. package/dist/lib/node_modules/xgplayer/es/presets/default.js +3 -3
  1032. package/dist/lib/node_modules/xgplayer/es/state.js +3 -3
  1033. package/dist/lib/node_modules/xgplayer/es/stateClassMap.js +3 -3
  1034. package/dist/lib/node_modules/xgplayer/es/utils/database.js +3 -3
  1035. package/dist/lib/node_modules/xgplayer/es/utils/debug.js +3 -3
  1036. package/dist/lib/node_modules/xgplayer/es/utils/draggabilly.js +3 -3
  1037. package/dist/lib/node_modules/xgplayer/es/utils/sniffer.js +4 -4
  1038. package/dist/lib/node_modules/xgplayer/es/utils/util.js +3 -3
  1039. package/dist/lib/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +3 -3
  1040. package/dist/lib/node_modules/xgplayer/es/version.js +4 -4
  1041. package/dist/lib/packages/components/index.js +3 -3
  1042. package/dist/lib/packages/hooks/dist/index.js +3 -3
  1043. package/dist/lib/packages/utils/dist/index.js +3 -3
  1044. package/dist/lib/styles/tokens.css +3 -3
  1045. package/package.json +20 -21
  1046. package/dist/es/_virtual/download.js +0 -20
  1047. package/dist/es/_virtual/download2.js +0 -17
  1048. package/dist/es/node_modules/@tiptap/extension-highlight/dist/index.js +0 -98
  1049. package/dist/es/node_modules/downloadjs/download.js +0 -90
  1050. package/dist/lib/_virtual/download.js +0 -14
  1051. package/dist/lib/_virtual/download2.js +0 -14
  1052. package/dist/lib/node_modules/@tiptap/extension-highlight/dist/index.js +0 -14
  1053. package/dist/lib/node_modules/downloadjs/download.js +0 -16
@@ -7,90 +7,90 @@ You shall not disclose such Confidential Information and shall use it only in
7
7
  accordance with the terms of the license agreement.
8
8
 
9
9
  --- Build Info ---
10
- Version: 1.1.7
11
- Build Time: 2026/3/13 18:25:06
12
- Build Commit: 0b162dea954baa715e67b70f80401a571205058a
10
+ Version: 1.1.9
11
+ Build Time: 2026/3/20 11:52:06
12
+ Build Commit: 51d3fee0ebb4d4acf3f1f2fa074d0e388aaaafb8
13
13
  */
14
- import { defineProperty as b, inherits as he, createSuper as de, classCallCheck as ge, assertThisInitialized as A, possibleConstructorReturn as ve, createClass as me, get as R, getPrototypeOf as L, objectSpread2 as U } from "./_virtual/_rollupPluginBabelHelpers.js";
14
+ import { defineProperty as U, inherits as he, createSuper as de, classCallCheck as ge, assertThisInitialized as A, possibleConstructorReturn as ve, createClass as me, get as R, getPrototypeOf as L, objectSpread2 as x } from "./_virtual/_rollupPluginBabelHelpers.js";
15
15
  import pe from "./mediaProxy.js";
16
16
  import l, { checkIsCurrentVideo as ye } from "./utils/util.js";
17
17
  import k from "./utils/sniffer.js";
18
18
  import _e from "./utils/database.js";
19
19
  import Ee from "./error.js";
20
- import { CANPLAY as x, USER_ACTION as $, FULLSCREEN_CHANGE as D, READY as Te, ERROR as Pe, LOADED_DATA as j, PLAY as K, URL_NULL as Se, COMPLETE as Ce, AUTOPLAY_STARTED as B, AUTOPLAY_PREVENTED as Ae, SEEKED as G, DEFINITION_CHANGE as ke, AFTER_DEFINITION_CHANGE as X, RESET as Ne, DESTROY as Re, REPLAY as Le, CSS_FULLSCREEN_CHANGE as q, PLAYER_FOCUS as Fe, PLAYER_BLUR as Ie, DURATION_CHANGE as Oe, LOADING as De, PLAYNEXT as be, VIDEO_RESIZE as we } from "./events.js";
20
+ import { CANPLAY as H, USER_ACTION as j, FULLSCREEN_CHANGE as w, READY as Te, ERROR as Pe, LOADED_DATA as $, PLAY as K, URL_NULL as Se, COMPLETE as Ce, AUTOPLAY_STARTED as W, AUTOPLAY_PREVENTED as Ae, SEEKED as z, DEFINITION_CHANGE as ke, AFTER_DEFINITION_CHANGE as X, RESET as Ne, DESTROY as Re, REPLAY as Le, CSS_FULLSCREEN_CHANGE as q, PLAYER_FOCUS as Fe, PLAYER_BLUR as Ie, DURATION_CHANGE as Oe, LOADING as De, PLAYNEXT as be, VIDEO_RESIZE as we } from "./events.js";
21
21
  import * as Ze from "./events.js";
22
- import { PLATER_ID as I, FULLSCREEN_EVENTS as Q, GET_FULLSCREEN_API as Z, EXIT_FULLSCREEN_API as J } from "./constant.js";
23
- import { POSITIONS as W } from "./plugin/plugin.js";
22
+ import { PLATER_ID as O, FULLSCREEN_EVENTS as Q, GET_FULLSCREEN_API as Z, EXIT_FULLSCREEN_API as J } from "./constant.js";
23
+ import { POSITIONS as Y } from "./plugin/plugin.js";
24
24
  import { default as vt } from "./plugin/plugin.js";
25
25
  import ee from "./plugin/basePlugin.js";
26
- import E from "./plugin/pluginsManager.js";
27
- import n from "./stateClassMap.js";
26
+ import T from "./plugin/pluginsManager.js";
27
+ import o from "./stateClassMap.js";
28
28
  import te from "./defaultConfig.js";
29
29
  import { usePreset as Ue } from "./plugin/preset.js";
30
- import xe, { runHooks as w, delHooksDescriptor as He, hook as ie, useHooks as se, removeHooks as re, usePluginHooks as ne, removePluginHooks as oe } from "./plugin/hooksDescriptor.js";
30
+ import xe, { runHooks as D, delHooksDescriptor as He, hook as ie, useHooks as se, removeHooks as re, usePluginHooks as ne, removePluginHooks as oe } from "./plugin/hooksDescriptor.js";
31
31
  import Be from "./plugins/controls/index.js";
32
- import S, { bindDebug as Ge } from "./utils/debug.js";
33
- import H from "./lang/i18n.js";
32
+ import C, { bindDebug as Ge } from "./utils/debug.js";
33
+ import B from "./lang/i18n.js";
34
34
  import We from "./version.js";
35
- import { STATES as g, STATE_ARRAY as ae } from "./state.js";
35
+ import { STATES as v, STATE_ARRAY as ae } from "./state.js";
36
36
  import { InstManager as ze, checkPlayerRoot as Ye } from "./instManager.js";
37
- var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /* @__PURE__ */ (function(ce) {
38
- he(m, ce);
39
- var fe = de(m);
40
- function m(s) {
41
- var e;
42
- ge(this, m);
43
- var t = l.deepMerge(te(), s);
44
- e = fe.call(this, t), b(A(e), "canPlayFunc", function() {
45
- if (e.config) {
46
- var h = e.config, v = h.autoplay, p = h.defaultPlaybackRate;
47
- S.logInfo("player", "canPlayFunc, startTime", e.__startTime), e._seekToStartTime(), e.playbackRate = p, (v || e._useAutoplay) && e.mediaPlay(), e.off(x, e.canPlayFunc), e.removeClass(n.ENTER);
37
+ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, V = /* @__PURE__ */ (function(ce) {
38
+ he(p, ce);
39
+ var fe = de(p);
40
+ function p(s) {
41
+ var e, i, t;
42
+ ge(this, p);
43
+ var r = l.deepMerge(te(), s);
44
+ t = fe.call(this, r), U(A(t), "canPlayFunc", function() {
45
+ if (t.config) {
46
+ var g = t.config, S = g.autoplay, P = g.defaultPlaybackRate;
47
+ C.logInfo("player", "canPlayFunc, startTime", t.__startTime), t._seekToStartTime(), t.playbackRate = P, (S || t._useAutoplay) && t.mediaPlay(), t.off(H, t.canPlayFunc), t.removeClass(o.ENTER);
48
48
  }
49
- }), b(A(e), "onFullscreenChange", function(h, v) {
50
- var p = function() {
51
- l.setTimeout(A(e), function() {
52
- e.resize();
49
+ }), U(A(t), "onFullscreenChange", function(g, S) {
50
+ var P = function() {
51
+ l.setTimeout(A(t), function() {
52
+ t.resize();
53
53
  }, 100);
54
- }, T = l.getFullScreenEl();
55
- e._fullActionFrom ? e._fullActionFrom = "" : e.emit($, {
54
+ }, E = l.getFullScreenEl();
55
+ t._fullActionFrom ? t._fullActionFrom = "" : t.emit(j, {
56
56
  eventType: "system",
57
57
  action: "switch_fullscreen",
58
58
  pluginName: "player",
59
- currentTime: e.currentTime,
60
- duration: e.duration,
59
+ currentTime: t.currentTime,
60
+ duration: t.duration,
61
61
  props: [{
62
62
  prop: "fullscreen",
63
63
  from: !0,
64
64
  to: !1
65
65
  }]
66
66
  });
67
- var C = ye(T, e.playerId, I);
68
- if (v || T && (T === e._fullscreenEl || C))
69
- p(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, T, n.FULLSCREEN), e.emit(D, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
70
- else if (e.fullscreen) {
71
- p();
72
- var P = A(e), y = P._fullScreenOffset, _ = P.config;
73
- if (_.needFullscreenScroll ? (window.scrollTo(y.left, y.top), l.setTimeout(A(e), function() {
74
- e.fullscreen = !1, e._fullScreenOffset = null;
75
- }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
76
- e.removeClass(n.FULLSCREEN);
67
+ var _ = ye(E, t.playerId, O);
68
+ if (S || E && (E === t._fullscreenEl || _))
69
+ P(), !t.config.closeFocusVideoFocus && t.media.focus(), t.fullscreen = !0, t.changeFullStyle(t.root, E, o.FULLSCREEN), t.emit(w, !0, t._fullScreenOffset), t.cssfullscreen && t.exitCssFullscreen();
70
+ else if (t.fullscreen) {
71
+ P();
72
+ var y = A(t), N = y._fullScreenOffset, I = y.config;
73
+ if (I.needFullscreenScroll ? (window.scrollTo(N.left, N.top), l.setTimeout(A(t), function() {
74
+ t.fullscreen = !1, t._fullScreenOffset = null;
75
+ }, 100)) : (!t.config.closeFocusVideoFocus && t.media.focus(), t.fullscreen = !1, t._fullScreenOffset = null), t.cssfullscreen)
76
+ t.removeClass(o.FULLSCREEN);
77
77
  else {
78
- var N = e._fullscreenEl;
79
- !N && (e.root.contains(h.target) || h.target === e.root) && (N = h.target), e.recoverFullStyle(e.root, N, n.FULLSCREEN);
78
+ var b = t._fullscreenEl;
79
+ !b && (t.root.contains(g.target) || g.target === t.root) && (b = g.target), t.recoverFullStyle(t.root, b, o.FULLSCREEN);
80
80
  }
81
- e._fullscreenEl = null, e.emit(D, !1);
81
+ t._fullscreenEl = null, t.emit(w, !1);
82
82
  }
83
- }), b(A(e), "_onWebkitbeginfullscreen", function(h) {
84
- e._fullscreenEl = e.media, e.onFullscreenChange(h, !0);
85
- }), b(A(e), "_onWebkitendfullscreen", function(h) {
86
- e.onFullscreenChange(h, !1);
87
- }), xe(A(e), Ve), e.config = t, e._pluginInfoId = l.generateSessionId(), Ge(A(e));
88
- var i = e.constructor.defaultPreset;
89
- if (e.config.presets.length) {
90
- var r = e.config.presets.indexOf("default");
91
- r >= 0 && i && (e.config.presets[r] = i);
92
- } else i && e.config.presets.push(i);
93
- e.userTimer = null, e.waitTimer = null, e.handleSource = !0, e._state = g.INITIAL, e.isAd = !1, e.isError = !1, e._hasStart = !1, e.isSeeking = !1, e.isCanplay = !1, e._useAutoplay = !1, e.__startTime = -1, e.rotateDeg = 0, e.isActive = !1, e.fullscreen = !1, e.cssfullscreen = !1, e.isRotateFullscreen = !1, e._fullscreenEl = null, e.timeSegments = [], e._cssfullscreenEl = null, e.curDefinition = null, e._orgCss = "", e._fullScreenOffset = null, e._videoHeight = 0, e._videoWidth = 0, e.videoPos = {
83
+ }), U(A(t), "_onWebkitbeginfullscreen", function(g) {
84
+ t._fullscreenEl = t.media, t.onFullscreenChange(g, !0);
85
+ }), U(A(t), "_onWebkitendfullscreen", function(g) {
86
+ t.onFullscreenChange(g, !1);
87
+ }), xe(A(t), Ve), t.config = r, t._pluginInfoId = l.generateSessionId(), Ge(A(t));
88
+ var n = t.constructor.defaultPreset;
89
+ if (t.config.presets.length) {
90
+ var a = t.config.presets.indexOf("default");
91
+ a >= 0 && n && (t.config.presets[a] = n);
92
+ } else n && t.config.presets.push(n);
93
+ t.userTimer = null, t.waitTimer = null, t.handleSource = !0, t._state = v.INITIAL, t.isAd = !1, t.isError = !1, t._hasStart = !1, t.isSeeking = !1, t.isCanplay = !1, t._useAutoplay = !1, t.__startTime = -1, t.rotateDeg = 0, t.isActive = !1, t.fullscreen = !1, t.cssfullscreen = !1, t.isRotateFullscreen = !1, t._fullscreenEl = null, t.timeSegments = [], t._cssfullscreenEl = null, t.curDefinition = null, t._orgCss = "", t._fullScreenOffset = null, t._videoHeight = 0, t._videoWidth = 0, t.videoPos = {
94
94
  pi: 1,
95
95
  scale: 0,
96
96
  rotate: -1,
@@ -100,43 +100,43 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
100
100
  w: -1,
101
101
  vy: 0,
102
102
  vx: 0
103
- }, e.sizeInfo = {
103
+ }, t.sizeInfo = {
104
104
  width: 0,
105
105
  height: 0,
106
106
  left: 0,
107
107
  top: 0
108
- }, e._accPlayed = {
108
+ }, t._accPlayed = {
109
109
  t: 0,
110
110
  acc: 0,
111
111
  loopAcc: 0
112
- }, e._offsetInfo = {
112
+ }, t._offsetInfo = {
113
113
  currentTime: -1,
114
114
  duration: 0
115
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = H.init(e._pluginInfoId), k.os.isAndroid && k.osVersion > 0 && k.osVersion < 6 && (e.config.autoplay = !1), e.database = new _e(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
115
+ }, t.innerContainer = null, t.controls = null, t.topBar = null, t.root = null, t.__i18n = B.init(t._pluginInfoId), k.os.isAndroid && k.osVersion > 0 && k.osVersion < 6 && (t.config.autoplay = !1), t.database = new _e(), t.isUserActive = !1, t._onceSeekCanplay = null, t._isPauseBeforeSeek = 0, t.innerStates = {
116
116
  isActiveLocked: !1
117
- }, e.instManager = F;
118
- var o = e._initDOM();
119
- if (!o)
120
- return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), ve(e);
121
- var a = e.config, f = a.definition, u = f === void 0 ? {} : f, c = a.url;
122
- if (!c && u.list && u.list.length > 0) {
123
- var d = u.list.find(function(h) {
124
- return h.definition && h.definition === u.defaultDefinition;
117
+ }, t.instManager = F;
118
+ var f = t._initDOM();
119
+ if (!f)
120
+ return console.error(new Error("can't find the dom which id is ".concat(t.config.id, " or this.config.el does not exist"))), ve(t);
121
+ var u = t.config, c = u.definition, h = c === void 0 ? {} : c, d = u.url;
122
+ if (Array.isArray(h?.list) && h.list.length > 0) {
123
+ var m = h.list.find(function(g) {
124
+ return g.definition && g.definition === h.defaultDefinition;
125
125
  });
126
- d || (u.defaultDefinition = u.list[0].definition, d = u.list[0]), e.config.url = d.url, e.curDefinition = d;
126
+ m || (h.defaultDefinition = h.list[0].definition, m = h.list[0]), t.curDefinition = m, d || (t.config.url = m.url);
127
127
  }
128
- return e._bindEvents(), e._registerPresets(), e._registerPlugins(), E.onPluginsReady(A(e)), e.getInitDefinition(), e.setState(g.READY), l.setTimeout(A(e), function() {
129
- e.emit(Te);
130
- }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < g.ATTACHED) && e.start(), e;
128
+ return t._bindEvents(), t._registerPresets(), t._registerPlugins(), T.onPluginsReady(A(t)), t.getInitDefinition(), t.setState(v.READY), l.setTimeout(A(t), function() {
129
+ t.emit(Te);
130
+ }, 0), (e = (i = t).onReady) === null || e === void 0 || e.call(i), (t.config.videoInit || t.config.autoplay) && (!t.hasStart || t.state < v.ATTACHED) && t.start(), t;
131
131
  }
132
- return me(m, [{
132
+ return me(p, [{
133
133
  key: "_initDOM",
134
134
  value: function() {
135
- var e, t = this;
135
+ var e, i = this;
136
136
  if (this.root = this.config.id ? document.getElementById(this.config.id) : null, !this.root) {
137
- var i = this.config.el;
138
- if (i && i.nodeType === 1)
139
- this.root = i;
137
+ var t = this.config.el;
138
+ if (t && t.nodeType === 1)
139
+ this.root = t;
140
140
  else
141
141
  return this.emit(Pe, new Ee("use", this.config.vid, {
142
142
  line: 32,
@@ -145,31 +145,31 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
145
145
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
146
146
  }
147
147
  var r = Ye(this.root);
148
- if (r && (S.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), r.destroy()), this.root.setAttribute(I, this.playerId), this.media.setAttribute(I, this.playerId), (e = F) === null || e === void 0 || e.add(this), E.init(this), this._initBaseDoms(), this.config.controls) {
149
- var o = this.config.controls.root || null, a = E.register(this, Be, {
150
- root: o
148
+ if (r && (C.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), r.destroy()), this.root.setAttribute(O, this.playerId), this.media.setAttribute(O, this.playerId), (e = F) === null || e === void 0 || e.add(this), T.init(this), this._initBaseDoms(), this.config.controls) {
149
+ var n = this.config.controls.root || null, a = T.register(this, Be, {
150
+ root: n
151
151
  });
152
152
  this.controls = a;
153
153
  }
154
154
  var f = this.config.isMobileSimulateMode === "mobile" ? "mobile" : k.device;
155
- if (this.addClass("".concat(n.DEFAULT, " ").concat(n.INACTIVE, " xgplayer-").concat(f, " ").concat(this.config.controls ? "" : n.NO_CONTROLS)), this.config.autoplay ? this.addClass(n.ENTER) : this.addClass(n.NO_START), this.config.fluid) {
156
- var u = this.config, c = u.width, d = u.height;
157
- (typeof c != "number" || typeof d != "number") && (c = 600, d = 337.5);
158
- var h = {
155
+ if (this.addClass("".concat(o.DEFAULT, " ").concat(o.INACTIVE, " xgplayer-").concat(f, " ").concat(this.config.controls ? "" : o.NO_CONTROLS)), this.config.autoplay ? this.addClass(o.ENTER) : this.addClass(o.NO_START), this.config.fluid) {
156
+ var u = this.config, c = u.width, h = u.height;
157
+ (typeof c != "number" || typeof h != "number") && (c = 600, h = 337.5);
158
+ var d = {
159
159
  width: "100%",
160
160
  height: "0",
161
161
  "max-width": "100%",
162
- "padding-top": "".concat(d * 100 / c, "%")
162
+ "padding-top": "".concat(h * 100 / c, "%")
163
163
  };
164
- Object.keys(h).forEach(function(y) {
165
- t.root.style[y] = h[y];
164
+ Object.keys(d).forEach(function(_) {
165
+ i.root.style[_] = d[_];
166
166
  });
167
167
  } else
168
- ["width", "height"].forEach(function(y) {
169
- t.config[y] && (typeof t.config[y] != "number" ? t.root.style[y] = t.config[y] : t.root.style[y] = "".concat(t.config[y], "px"));
168
+ ["width", "height"].forEach(function(_) {
169
+ i.config[_] && (typeof i.config[_] != "number" ? i.root.style[_] = i.config[_] : i.root.style[_] = "".concat(i.config[_], "px"));
170
170
  });
171
- var v = this.root.getBoundingClientRect(), p = v.width, T = v.height, C = v.left, P = v.top;
172
- return this.sizeInfo.width = p, this.sizeInfo.height = T, this.sizeInfo.left = C, this.sizeInfo.top = P, !0;
171
+ var m = this.root.getBoundingClientRect(), g = m.width, S = m.height, P = m.left, E = m.top;
172
+ return this.sizeInfo.width = g, this.sizeInfo.height = S, this.sizeInfo.left = P, this.sizeInfo.top = E, !0;
173
173
  }
174
174
  }, {
175
175
  key: "_initBaseDoms",
@@ -182,11 +182,11 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
182
182
  key: "_bindEvents",
183
183
  value: function() {
184
184
  var e = this;
185
- ["focus", "blur"].forEach(function(t) {
186
- e.on(t, e["on" + t.charAt(0).toUpperCase() + t.slice(1)]);
187
- }), Q.forEach(function(t) {
188
- document && document.addEventListener(t, e.onFullscreenChange);
189
- }), k.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(j, this.resize), this.playFunc = function() {
185
+ ["focus", "blur"].forEach(function(i) {
186
+ e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
187
+ }), Q.forEach(function(i) {
188
+ document && document.addEventListener(i, e.onFullscreenChange);
189
+ }), k.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once($, this.resize), this.playFunc = function() {
190
190
  e.config.closeFocusVideoFocus || e.media.focus();
191
191
  }, this.once(K, this.playFunc);
192
192
  }
@@ -194,9 +194,9 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
194
194
  key: "_unbindEvents",
195
195
  value: function() {
196
196
  var e = this;
197
- this.root.removeEventListener("mousemove", this.mousemoveFunc), Q.forEach(function(t) {
198
- document.removeEventListener(t, e.onFullscreenChange);
199
- }), this.playFunc && this.off(K, this.playFunc), this.off(x, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
197
+ this.root.removeEventListener("mousemove", this.mousemoveFunc), Q.forEach(function(i) {
198
+ document.removeEventListener(i, e.onFullscreenChange);
199
+ }), this.playFunc && this.off(K, this.playFunc), this.off(H, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
200
200
  }
201
201
  }, {
202
202
  key: "_clearUserTimer",
@@ -206,46 +206,46 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
206
206
  }, {
207
207
  key: "_startInit",
208
208
  value: function(e) {
209
- var t = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
210
- if (this.media && !((!e || e === "" || l.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Se), S.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
211
- l.isNotNull(i.playSessionId) && (this._playSessionId = i.playSessionId), this.handleSource && (this._detachSourceEvents(this.media), l.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), l.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
209
+ var i = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
210
+ if (this.media && !((!e || e === "" || l.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Se), C.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
211
+ l.isNotNull(t.playSessionId) && (this._playSessionId = t.playSessionId), this.handleSource && (this._detachSourceEvents(this.media), l.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), l.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
212
212
  var r = this.innerContainer ? this.innerContainer : this.root;
213
213
  this.media instanceof window.Element && !r.contains(this.media) && r.insertBefore(this.media, r.firstChild);
214
- var o = this.media.readyState;
215
- S.logInfo("_startInit readyState", o), this.config.autoplay && (!l.isMSE(this.media) && this.load(), (k.os.isIpad || k.os.isPhone) && this.mediaPlay());
214
+ var n = this.media.readyState;
215
+ C.logInfo("_startInit readyState", n), this.config.autoplay && (!l.isMSE(this.media) && this.load(), (k.os.isIpad || k.os.isPhone) && this.mediaPlay());
216
216
  var a = this.config.startTime;
217
- this.__startTime = a > 0 ? a : -1, this.config.startTime = 0, o >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(x, this.canPlayFunc), (!this.hasStart || this.state < g.ATTACHED) && E.afterInit(this), this.hasStart = !0, this.setState(g.ATTACHED), l.setTimeout(this, function() {
218
- t.emit(Ce);
217
+ this.__startTime = a > 0 ? a : -1, this.config.startTime = 0, n >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(H, this.canPlayFunc), (!this.hasStart || this.state < v.ATTACHED) && T.afterInit(this), this.hasStart = !0, this.setState(v.ATTACHED), l.setTimeout(this, function() {
218
+ i.emit(Ce);
219
219
  }, 0);
220
220
  }
221
221
  }
222
222
  }, {
223
223
  key: "_registerPlugins",
224
224
  value: function() {
225
- var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
225
+ var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
226
226
  this._loadingPlugins = [];
227
- var i = this.config.ignores || [], r = this.config.plugins || [], o = this.config.i18n || [];
228
- t && H.extend(o, this.__i18n);
229
- var a = i.join("||").toLowerCase().split("||"), f = this.plugins;
227
+ var t = this.config.ignores || [], r = this.config.plugins || [], n = this.config.i18n || [];
228
+ i && B.extend(n, this.__i18n);
229
+ var a = t.join("||").toLowerCase().split("||"), f = this.plugins;
230
230
  r.forEach(function(u) {
231
231
  try {
232
232
  var c = u.plugin ? u.plugin.pluginName : u.pluginName;
233
233
  if (c && a.indexOf(c.toLowerCase()) > -1)
234
234
  return null;
235
- if (!t && f[c.toLowerCase()])
235
+ if (!i && f[c.toLowerCase()])
236
236
  return;
237
237
  if (u.lazy && u.loader) {
238
- var d = E.lazyRegister(e, u);
239
- u.forceBeforeInit && (d.then(function() {
240
- e._loadingPlugins.splice(e._loadingPlugins.indexOf(d), 1);
241
- }).catch(function(h) {
242
- S.logError("_registerPlugins:loadingPlugin", h), e._loadingPlugins.splice(e._loadingPlugins.indexOf(d), 1);
243
- }), e._loadingPlugins.push(d));
238
+ var h = T.lazyRegister(e, u);
239
+ u.forceBeforeInit && (h.then(function() {
240
+ e._loadingPlugins.splice(e._loadingPlugins.indexOf(h), 1);
241
+ }).catch(function(d) {
242
+ C.logError("_registerPlugins:loadingPlugin", d), e._loadingPlugins.splice(e._loadingPlugins.indexOf(h), 1);
243
+ }), e._loadingPlugins.push(h));
244
244
  return;
245
245
  }
246
246
  return e.registerPlugin(u);
247
- } catch (h) {
248
- S.logError("_registerPlugins:", h);
247
+ } catch (d) {
248
+ C.logError("_registerPlugins:", d);
249
249
  }
250
250
  });
251
251
  }
@@ -253,64 +253,64 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
253
253
  key: "_registerPresets",
254
254
  value: function() {
255
255
  var e = this;
256
- this.config.presets.forEach(function(t) {
257
- Ue(e, t);
256
+ this.config.presets.forEach(function(i) {
257
+ Ue(e, i);
258
258
  });
259
259
  }
260
260
  }, {
261
261
  key: "_getRootByPosition",
262
262
  value: function(e) {
263
- var t = null;
263
+ var i = null;
264
264
  switch (e) {
265
- case W.ROOT_RIGHT:
266
- this.rightBar || (this.rightBar = l.createPositionBar("xg-right-bar", this.root)), t = this.rightBar;
265
+ case Y.ROOT_RIGHT:
266
+ this.rightBar || (this.rightBar = l.createPositionBar("xg-right-bar", this.root)), i = this.rightBar;
267
267
  break;
268
- case W.ROOT_LEFT:
269
- this.leftBar || (this.leftBar = l.createPositionBar("xg-left-bar", this.root)), t = this.leftBar;
268
+ case Y.ROOT_LEFT:
269
+ this.leftBar || (this.leftBar = l.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
270
270
  break;
271
- case W.ROOT_TOP:
272
- this.topBar || (this.topBar = l.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && l.addClass(this.topBar, n.TOP_BAR_AUTOHIDE)), t = this.topBar;
271
+ case Y.ROOT_TOP:
272
+ this.topBar || (this.topBar = l.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && l.addClass(this.topBar, o.TOP_BAR_AUTOHIDE)), i = this.topBar;
273
273
  break;
274
274
  default:
275
- t = this.innerContainer || this.root;
275
+ i = this.innerContainer || this.root;
276
276
  break;
277
277
  }
278
- return t;
278
+ return i;
279
279
  }
280
280
  }, {
281
281
  key: "registerPlugin",
282
- value: function(e, t) {
283
- var i = E.formatPluginInfo(e, t), r = i.PLUFGIN, o = i.options, a = this.config.plugins, f = E.checkPluginIfExits(r.pluginName, a);
282
+ value: function(e, i) {
283
+ var t = T.formatPluginInfo(e, i), r = t.PLUFGIN, n = t.options, a = this.config.plugins, f = T.checkPluginIfExits(r.pluginName, a);
284
284
  !f && a.push(r);
285
- var u = E.getRootByConfig(r.pluginName, this.config);
286
- u.root && (o.root = u.root), u.position && (o.position = u.position);
287
- var c = o.position ? o.position : o.config && o.config.position || r.defaultConfig && r.defaultConfig.position;
288
- if (!o.root && typeof c == "string" && c.indexOf("controls") > -1) {
289
- var d;
290
- return (d = this.controls) === null || d === void 0 ? void 0 : d.registerPlugin(r, o, r.pluginName);
285
+ var u = T.getRootByConfig(r.pluginName, this.config);
286
+ u.root && (n.root = u.root), u.position && (n.position = u.position);
287
+ var c = n.position ? n.position : n.config && n.config.position || r.defaultConfig && r.defaultConfig.position;
288
+ if (!n.root && typeof c == "string" && c.indexOf("controls") > -1) {
289
+ var h;
290
+ return (h = this.controls) === null || h === void 0 ? void 0 : h.registerPlugin(r, n, r.pluginName);
291
291
  }
292
- return o.root || (o.root = this._getRootByPosition(c)), E.register(this, r, o);
292
+ return n.root || (n.root = this._getRootByPosition(c)), T.register(this, r, n);
293
293
  }
294
294
  }, {
295
295
  key: "deregister",
296
296
  value: function(e) {
297
- typeof e == "string" ? E.unRegister(this, e) : e instanceof ee && E.unRegister(this, e.pluginName);
297
+ typeof e == "string" ? T.unRegister(this, e) : e instanceof ee && T.unRegister(this, e.pluginName);
298
298
  }
299
299
  }, {
300
300
  key: "unRegisterPlugin",
301
301
  value: function(e) {
302
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
303
- this.deregister(e), t && this.removePluginFromConfig(e);
302
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
303
+ this.deregister(e), i && this.removePluginFromConfig(e);
304
304
  }
305
305
  }, {
306
306
  key: "removePluginFromConfig",
307
307
  value: function(e) {
308
- var t;
309
- if (typeof e == "string" ? t = e : e instanceof ee && (t = e.pluginName), !!t)
310
- for (var i = this.config.plugins.length - 1; i > -1; i--) {
311
- var r = this.config.plugins[i];
312
- if (r.pluginName.toLowerCase() === t.toLowerCase()) {
313
- this.config.plugins.splice(i, 1);
308
+ var i;
309
+ if (typeof e == "string" ? i = e : e instanceof ee && (i = e.pluginName), !!i)
310
+ for (var t = this.config.plugins.length - 1; t > -1; t--) {
311
+ var r = this.config.plugins[t];
312
+ if (r.pluginName.toLowerCase() === i.toLowerCase()) {
313
+ this.config.plugins.splice(t, 1);
314
314
  break;
315
315
  }
316
316
  }
@@ -318,13 +318,13 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
318
318
  }, {
319
319
  key: "plugins",
320
320
  get: function() {
321
- return E.getPlugins(this);
321
+ return T.getPlugins(this);
322
322
  }
323
323
  }, {
324
324
  key: "getPlugin",
325
325
  value: function(e) {
326
- var t = E.findPlugin(this, e);
327
- return t && t.pluginName ? t : null;
326
+ var i = T.findPlugin(this, e);
327
+ return i && i.pluginName ? i : null;
328
328
  }
329
329
  }, {
330
330
  key: "addClass",
@@ -344,55 +344,55 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
344
344
  }
345
345
  }, {
346
346
  key: "setAttribute",
347
- value: function(e, t) {
348
- this.root && this.root.setAttribute(e, t);
347
+ value: function(e, i) {
348
+ this.root && this.root.setAttribute(e, i);
349
349
  }
350
350
  }, {
351
351
  key: "removeAttribute",
352
- value: function(e, t) {
353
- this.root && this.root.removeAttribute(e, t);
352
+ value: function(e, i) {
353
+ this.root && this.root.removeAttribute(e, i);
354
354
  }
355
355
  }, {
356
356
  key: "start",
357
357
  value: function(e) {
358
- var t = this;
359
- if (!(this.state > g.ATTACHING)) {
360
- var i = this._playSessionId;
361
- return l.isNotNull(i) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(g.ATTACHING), this._registerPlugins(!1), E.beforeInit(this).then(function() {
362
- if (t.config) {
363
- e || (e = t.url || t.config.url);
364
- var r = t.preProcessUrl(e), o = t._startInit(r.url, {
365
- playSessionId: i
358
+ var i = this;
359
+ if (!(this.state > v.ATTACHING)) {
360
+ var t = this._playSessionId;
361
+ return l.isNotNull(t) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(v.ATTACHING), this._registerPlugins(!1), T.beforeInit(this).then(function() {
362
+ if (i.config) {
363
+ e || (e = i.url || i.config.url);
364
+ var r = i.preProcessUrl(e), n = i._startInit(r.url, {
365
+ playSessionId: t
366
366
  });
367
- return o;
367
+ return n;
368
368
  }
369
369
  }).catch(function(r) {
370
- throw r.fileName = "player", r.lineNumber = "236", S.logError("start:beforeInit:", r), r;
370
+ throw r.fileName = "player", r.lineNumber = "236", C.logError("start:beforeInit:", r), r;
371
371
  });
372
372
  }
373
373
  }
374
374
  }, {
375
375
  key: "switchURL",
376
- value: function(e, t) {
377
- var i = this, r = e;
376
+ value: function(e, i) {
377
+ var t = this, r = e;
378
378
  l.typeOf(e) === "Object" && (r = e.url), r = this.preProcessUrl(r).url;
379
- var o = this.currentTime;
380
- this.__startTime = o;
379
+ var n = this.currentTime;
380
+ this.__startTime = n;
381
381
  var a = this.paused && !this.isError;
382
382
  return this.src = r, new Promise(function(f, u) {
383
- var c = function(v) {
384
- i.off("timeupdate", d), i.off("canplay", d), u(v);
385
- }, d = function() {
386
- i._seekToStartTime(), a && i.pause(), i.off("error", c), f(!0);
383
+ var c = function(m) {
384
+ t.off("timeupdate", h), t.off("canplay", h), u(m);
385
+ }, h = function() {
386
+ t._seekToStartTime(), a && t.pause(), t.off("error", c), f(!0);
387
387
  };
388
- if (i.once("error", c), !r) {
389
- i.errorHandler("error", {
388
+ if (t.once("error", c), !r) {
389
+ t.errorHandler("error", {
390
390
  code: 6,
391
391
  message: "empty_src"
392
392
  });
393
393
  return;
394
394
  }
395
- k.os.isAndroid ? i.once("timeupdate", d) : i.once("canplay", d), i.play();
395
+ k.os.isAndroid ? t.once("timeupdate", h) : t.once("canplay", h), t.play();
396
396
  });
397
397
  }
398
398
  }, {
@@ -404,39 +404,39 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
404
404
  key: "mediaPlay",
405
405
  value: function() {
406
406
  var e = this;
407
- if (!this.hasStart && this.state < g.ATTACHED) {
408
- this.removeClass(n.NO_START), this.addClass(n.ENTER), this.start(), this._useAutoplay = !0;
407
+ if (!this.hasStart && this.state < v.ATTACHED) {
408
+ this.removeClass(o.NO_START), this.addClass(o.ENTER), this.start(), this._useAutoplay = !0;
409
409
  return;
410
410
  }
411
- this.state < g.RUNNING && (this.removeClass(n.NO_START), !this.isCanplay && this.addClass(n.ENTER));
412
- var t = R(L(m.prototype), "play", this).call(this);
413
- return t !== void 0 && t && t.then ? t.then(function() {
414
- e.removeClass(n.NOT_ALLOW_AUTOPLAY), e.addClass(n.PLAYING), e.state < g.RUNNING && (S.logInfo(">>>>playPromise.then"), e.setState(g.RUNNING), e.emit(B));
415
- }).catch(function(i) {
416
- if (S.logWarn(">>>>playPromise.catch", i.name), e.media && e.media.error) {
417
- e.onError(), e.removeClass(n.ENTER);
411
+ this.state < v.RUNNING && (this.removeClass(o.NO_START), !this.isCanplay && this.addClass(o.ENTER));
412
+ var i = R(L(p.prototype), "play", this).call(this);
413
+ return i !== void 0 && i && i.then ? i.then(function() {
414
+ e.removeClass(o.NOT_ALLOW_AUTOPLAY), e.addClass(o.PLAYING), e.state < v.RUNNING && (C.logInfo(">>>>playPromise.then"), e.setState(v.RUNNING), e.emit(W));
415
+ }).catch(function(t) {
416
+ if (C.logWarn(">>>>playPromise.catch", t.name), e.media && e.media.error) {
417
+ e.onError(), e.removeClass(o.ENTER);
418
418
  return;
419
419
  }
420
- i.name === "NotAllowedError" && (e._errorTimer = l.setTimeout(e, function() {
421
- e._errorTimer = null, e.emit(Ae), e.addClass(n.NOT_ALLOW_AUTOPLAY), e.removeClass(n.ENTER), e.pause(), e.setState(g.NOTALLOW);
420
+ t.name === "NotAllowedError" && (e._errorTimer = l.setTimeout(e, function() {
421
+ e._errorTimer = null, e.emit(Ae), e.addClass(o.NOT_ALLOW_AUTOPLAY), e.removeClass(o.ENTER), e.pause(), e.setState(v.NOTALLOW);
422
422
  }, 0));
423
- }) : (S.logWarn("video.play not return promise"), this.state < g.RUNNING && (this.setState(g.RUNNING), this.removeClass(n.NOT_ALLOW_AUTOPLAY), this.removeClass(n.NO_START), this.removeClass(n.ENTER), this.addClass(n.PLAYING), this.emit(B))), t;
423
+ }) : (C.logWarn("video.play not return promise"), this.state < v.RUNNING && (this.setState(v.RUNNING), this.removeClass(o.NOT_ALLOW_AUTOPLAY), this.removeClass(o.NO_START), this.removeClass(o.ENTER), this.addClass(o.PLAYING), this.emit(W))), i;
424
424
  }
425
425
  }, {
426
426
  key: "mediaPause",
427
427
  value: function() {
428
- R(L(m.prototype), "pause", this).call(this);
428
+ R(L(p.prototype), "pause", this).call(this);
429
429
  }
430
430
  }, {
431
431
  key: "videoPause",
432
432
  value: function() {
433
- R(L(m.prototype), "pause", this).call(this);
433
+ R(L(p.prototype), "pause", this).call(this);
434
434
  }
435
435
  }, {
436
436
  key: "play",
437
437
  value: function() {
438
438
  var e = this;
439
- return this.removeClass(n.PAUSED), w(this, "play", function() {
439
+ return this.removeClass(o.PAUSED), D(this, "play", function() {
440
440
  return e.mediaPlay();
441
441
  });
442
442
  }
@@ -444,62 +444,62 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
444
444
  key: "pause",
445
445
  value: function() {
446
446
  var e = this;
447
- w(this, "pause", function() {
448
- R(L(m.prototype), "pause", e).call(e);
447
+ D(this, "pause", function() {
448
+ R(L(p.prototype), "pause", e).call(e);
449
449
  });
450
450
  }
451
451
  }, {
452
452
  key: "seek",
453
- value: function(e, t) {
454
- var i = this;
453
+ value: function(e, i) {
454
+ var t = this;
455
455
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
456
- var r = this.config, o = r.isSeekedPlay, a = r.seekedStatus, f = t || (o ? "play" : a);
457
- e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(G, this._onceSeekCanplay), this._onceSeekCanplay = function() {
458
- switch (i.removeClass(n.ENTER), i.isSeeking = !1, f) {
456
+ var r = this.config, n = r.isSeekedPlay, a = r.seekedStatus, f = i || (n ? "play" : a);
457
+ e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(z, this._onceSeekCanplay), this._onceSeekCanplay = function() {
458
+ switch (t.removeClass(o.ENTER), t.isSeeking = !1, f) {
459
459
  case "play":
460
- i.play();
460
+ t.play();
461
461
  break;
462
462
  case "pause":
463
- i.pause();
463
+ t.pause();
464
464
  break;
465
465
  default:
466
- i._isPauseBeforeSeek > 1 || i.paused ? i.pause() : i.play();
466
+ t._isPauseBeforeSeek > 1 || t.paused ? t.pause() : t.play();
467
467
  }
468
- i._isPauseBeforeSeek = 0, i._onceSeekCanplay = null;
469
- }, this.once(G, this._onceSeekCanplay), this.state < g.RUNNING ? (this.removeClass(n.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
468
+ t._isPauseBeforeSeek = 0, t._onceSeekCanplay = null;
469
+ }, this.once(z, this._onceSeekCanplay), this.state < v.RUNNING ? (this.removeClass(o.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
470
470
  }
471
471
  }
472
472
  }, {
473
473
  key: "getInitDefinition",
474
474
  value: function() {
475
- var e = this, t = this.config, i = t.definition, r = t.url;
476
- !r && i && i.list && i.list.length > 0 && i.defaultDefinition && i.list.map(function(o) {
477
- o.definition === i.defaultDefinition && (e.config.url = o.url, e.curDefinition = o);
475
+ var e = this, i = this.config, t = i.definition, r = i.url;
476
+ !r && t && t.list && t.list.length > 0 && t.defaultDefinition && t.list.map(function(n) {
477
+ n.definition === t.defaultDefinition && (e.config.url = n.url, e.curDefinition = n);
478
478
  });
479
479
  }
480
480
  }, {
481
481
  key: "changeDefinition",
482
- value: function(e, t) {
483
- var i = this, r = this.config.definition;
482
+ value: function(e, i) {
483
+ var t = this, r = this.config.definition;
484
484
  if (Array.isArray(r?.list) && r.list.forEach(function(a) {
485
- e?.definition === a.definition && (i.curDefinition = a);
485
+ e?.definition === a.definition && (t.curDefinition = a);
486
486
  }), e != null && e.bitrate && typeof e.bitrate != "number" && (e.bitrate = parseInt(e.bitrate, 10) || 0), this.emit(ke, {
487
- from: t,
487
+ from: i,
488
488
  to: e
489
489
  }), !this.hasStart) {
490
490
  this.config.url = e.url;
491
491
  return;
492
492
  }
493
- var o = this.switchURL(e.url, U({
493
+ var n = this.switchURL(e.url, x({
494
494
  seamless: r.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
495
495
  }, e));
496
- o && o.then ? o.then(function() {
497
- i.emit(X, {
498
- from: t,
496
+ n && n.then ? n.then(function() {
497
+ t.emit(X, {
498
+ from: i,
499
499
  to: e
500
500
  });
501
501
  }) : this.emit(X, {
502
- from: t,
502
+ from: i,
503
503
  to: e
504
504
  });
505
505
  }
@@ -508,47 +508,47 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
508
508
  value: function() {
509
509
  this.load(), this.reloadFunc = function() {
510
510
  this.play();
511
- }, this.once(j, this.reloadFunc);
511
+ }, this.once($, this.reloadFunc);
512
512
  }
513
513
  }, {
514
514
  key: "resetState",
515
515
  value: function() {
516
- var e = this, t = n.NOT_ALLOW_AUTOPLAY, i = n.PLAYING, r = n.NO_START, o = n.PAUSED, a = n.REPLAY, f = n.ENTER, u = n.ENDED, c = n.ERROR, d = n.LOADING, h = [t, i, r, o, a, f, u, c, d];
517
- this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, h.forEach(function(v) {
518
- e.removeClass(v);
519
- }), this.addClass(n.NO_START), this.emit(Ne);
516
+ var e = this, i = o.NOT_ALLOW_AUTOPLAY, t = o.PLAYING, r = o.NO_START, n = o.PAUSED, a = o.REPLAY, f = o.ENTER, u = o.ENDED, c = o.ERROR, h = o.LOADING, d = [i, t, r, n, a, f, u, c, h];
517
+ this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, d.forEach(function(m) {
518
+ e.removeClass(m);
519
+ }), this.addClass(o.NO_START), this.emit(Ne);
520
520
  }
521
521
  }, {
522
522
  key: "reset",
523
523
  value: function() {
524
- var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], i = arguments.length > 1 ? arguments[1] : void 0;
524
+ var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 ? arguments[1] : void 0;
525
525
  this.resetState();
526
526
  var r = this.plugins;
527
- if (r && (t.map(function(a) {
527
+ if (r && (i.map(function(a) {
528
528
  e.deregister(a);
529
- }), i)) {
530
- var o = te();
529
+ }), t)) {
530
+ var n = te();
531
531
  Object.keys(this.config).forEach(function(a) {
532
- e.config[a] !== "undefined" && (a === "plugins" || a === "presets" || a === "el" || a === "id") && (e.config[a] = o[a]);
532
+ e.config[a] !== "undefined" && (a === "plugins" || a === "presets" || a === "el" || a === "id") && (e.config[a] = n[a]);
533
533
  });
534
534
  }
535
535
  }
536
536
  }, {
537
537
  key: "destroy",
538
538
  value: function() {
539
- var e, t = this, i = this.innerContainer, r = this.root, o = this.media;
540
- if (!(!r || !o)) {
541
- if (this.hasStart = !1, this._useAutoplay = !1, r.removeAttribute(I), o.removeAttribute(I), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), l.clearAllTimers(this), this.emit(Re), (e = F) === null || e === void 0 || e.remove(this), E.destroy(this), He(this), R(L(m.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), i)
542
- for (var a = i.children, f = 0; f < a.length; f++)
543
- i.removeChild(a[f]);
544
- !i && o instanceof window.Node && r.contains(o) && !this.config.remainMediaAfterDestroy && r.removeChild(o), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(c) {
545
- t[c] && r.removeChild(t[c]), t[c] = null;
539
+ var e, i = this, t = this.innerContainer, r = this.root, n = this.media;
540
+ if (!(!r || !n)) {
541
+ if (this.hasStart = !1, this._useAutoplay = !1, r.removeAttribute(O), n.removeAttribute(O), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), l.clearAllTimers(this), this.emit(Re), (e = F) === null || e === void 0 || e.remove(this), T.destroy(this), He(this), R(L(p.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), t)
542
+ for (var a = t.children, f = 0; f < a.length; f++)
543
+ t.removeChild(a[f]);
544
+ !t && n instanceof window.Node && r.contains(n) && !this.config.remainMediaAfterDestroy && r.removeChild(n), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(c) {
545
+ i[c] && r.removeChild(i[c]), i[c] = null;
546
546
  });
547
547
  var u = r.className.split(" ");
548
548
  u.length > 0 ? r.className = u.filter(function(c) {
549
549
  return c.indexOf("xgplayer") < 0;
550
550
  }).join(" ") : r.className = "", this.removeAttribute("data-xgfill"), ["isSeeking", "isCanplay", "isActive", "cssfullscreen", "fullscreen"].forEach(function(c) {
551
- t[c] = !1;
551
+ i[c] = !1;
552
552
  });
553
553
  }
554
554
  }
@@ -556,11 +556,11 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
556
556
  key: "replay",
557
557
  value: function() {
558
558
  var e = this;
559
- this.removeClass(n.ENDED), this.currentTime = 0, this.isSeeking = !1, w(this, "replay", function() {
560
- e.once(G, function() {
561
- var t = e.mediaPlay();
562
- t && t.catch && t.catch(function(i) {
563
- console.log(i);
559
+ this.removeClass(o.ENDED), this.currentTime = 0, this.isSeeking = !1, D(this, "replay", function() {
560
+ e.once(z, function() {
561
+ var i = e.mediaPlay();
562
+ i && i.catch && i.catch(function(t) {
563
+ console.log(t);
564
564
  });
565
565
  }), e.emit(Le), e.onPlay();
566
566
  });
@@ -569,30 +569,30 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
569
569
  key: "retry",
570
570
  value: function() {
571
571
  var e = this;
572
- this.removeClass(n.ERROR), this.addClass(n.LOADING), w(this, "retry", function() {
573
- var t = e.currentTime, i = e.config.url, r = l.isMSE(e.media) ? {
574
- url: i
575
- } : e.preProcessUrl(i);
576
- e.src = r.url, !e.config.isLive && (e.currentTime = t), e.once(x, function() {
572
+ this.removeClass(o.ERROR), this.addClass(o.LOADING), D(this, "retry", function() {
573
+ var i = e.currentTime, t = e.config.url, r = l.isMSE(e.media) ? {
574
+ url: t
575
+ } : e.preProcessUrl(t);
576
+ e.src = r.url, !e.config.isLive && (e.currentTime = i), e.once(H, function() {
577
577
  e.mediaPlay();
578
578
  });
579
579
  });
580
580
  }
581
581
  }, {
582
582
  key: "changeFullStyle",
583
- value: function(e, t, i, r) {
584
- e && (r || (r = n.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = l.filterStyleFromText(e)), l.addClass(e, i), t && t !== e && !this._orgPCss && (this._orgPCss = l.filterStyleFromText(t), l.addClass(t, r), t.setAttribute(I, this.playerId)));
583
+ value: function(e, i, t, r) {
584
+ e && (r || (r = o.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = l.filterStyleFromText(e)), l.addClass(e, t), i && i !== e && !this._orgPCss && (this._orgPCss = l.filterStyleFromText(i), l.addClass(i, r), i.setAttribute(O, this.playerId)));
585
585
  }
586
586
  }, {
587
587
  key: "recoverFullStyle",
588
- value: function(e, t, i, r) {
589
- r || (r = n.PARENT_FULLSCREEN), this._orgCss && (l.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), l.removeClass(e, i), t && t !== e && this._orgPCss && (l.setStyleFromCsstext(t, this._orgPCss), this._orgPCss = "", l.removeClass(t, r), t.removeAttribute(I));
588
+ value: function(e, i, t, r) {
589
+ r || (r = o.PARENT_FULLSCREEN), this._orgCss && (l.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), l.removeClass(e, t), i && i !== e && this._orgPCss && (l.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", l.removeClass(i, r), i.removeAttribute(O));
590
590
  }
591
591
  }, {
592
592
  key: "getFullscreen",
593
593
  value: function() {
594
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget, t = this.root, i = this.media;
595
- (e === "video" || e === "media") && (e = this[e]), e || (e = t), this._fullScreenOffset = {
594
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget, i = this.root, t = this.media;
595
+ (e === "video" || e === "media") && (e = this[e]), e || (e = i), this._fullScreenOffset = {
596
596
  top: l.scrollTop(),
597
597
  left: l.scrollLeft()
598
598
  }, this._fullscreenEl = e, this._fullActionFrom = "get";
@@ -600,14 +600,14 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
600
600
  if (r === this._fullscreenEl)
601
601
  return this.onFullscreenChange(), Promise.resolve();
602
602
  try {
603
- for (var o = 0; o < Z.length; o++) {
604
- var a = Z[o];
603
+ for (var n = 0; n < Z.length; n++) {
604
+ var a = Z[n];
605
605
  if (e[a]) {
606
606
  var f = a === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[a]();
607
607
  return f && f.then ? f : Promise.resolve();
608
608
  }
609
609
  }
610
- return i.fullscreenEnabled || i.webkitSupportsFullscreen ? (i.webkitEnterFullscreen(), Promise.resolve()) : Promise.reject(new Error("call getFullscreen fail"));
610
+ return t.fullscreenEnabled || t.webkitSupportsFullscreen ? (t.webkitEnterFullscreen(), Promise.resolve()) : Promise.reject(new Error("call getFullscreen fail"));
611
611
  } catch {
612
612
  return Promise.reject(new Error("call getFullscreen fail"));
613
613
  }
@@ -617,17 +617,23 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
617
617
  value: function(e) {
618
618
  if (this.isRotateFullscreen && this.exitRotateFullscreen(), !(!this._fullscreenEl && !l.getFullScreenEl())) {
619
619
  this.root;
620
- var t = this.media;
620
+ var i = this.media;
621
621
  this._fullActionFrom = "exit";
622
622
  try {
623
- for (var i = 0; i < J.length; i++) {
624
- var r = J[i];
623
+ for (var t = 0; t < J.length; t++) {
624
+ var r = J[t];
625
625
  if (document[r]) {
626
- var o = document[r]();
627
- return o && o.then ? o : Promise.resolve();
626
+ var n = document[r]();
627
+ return n && n.then ? (n.catch(function() {
628
+ }), n) : Promise.resolve();
628
629
  }
629
630
  }
630
- return t && t.webkitSupportsFullscreen ? (t.webkitExitFullScreen(), Promise.resolve()) : Promise.reject(new Error("call exitFullscreen fail"));
631
+ if (i && i.webkitSupportsFullscreen) {
632
+ var a = i.webkitExitFullScreen();
633
+ return a && a.catch && a.catch(function() {
634
+ }), Promise.resolve();
635
+ }
636
+ return Promise.reject(new Error("call exitFullscreen fail"));
631
637
  } catch {
632
638
  return Promise.reject(new Error("call exitFullscreen fail"));
633
639
  }
@@ -638,20 +644,20 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
638
644
  value: function() {
639
645
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
640
646
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
641
- var t = e ? "".concat(n.INNER_FULLSCREEN, " ").concat(n.CSS_FULLSCREEN) : n.CSS_FULLSCREEN;
642
- this.changeFullStyle(this.root, e, t);
643
- var i = this.config.fullscreen, r = i === void 0 ? {} : i, o = r.useCssFullscreen === !0 || typeof r.useCssFullscreen == "function" && r.useCssFullscreen();
644
- o && (this.fullscreen = !0, this.emit(D, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(q, !0);
647
+ var i = e ? "".concat(o.INNER_FULLSCREEN, " ").concat(o.CSS_FULLSCREEN) : o.CSS_FULLSCREEN;
648
+ this.changeFullStyle(this.root, e, i);
649
+ var t = this.config.fullscreen, r = t === void 0 ? {} : t, n = r.useCssFullscreen === !0 || typeof r.useCssFullscreen == "function" && r.useCssFullscreen();
650
+ n && (this.fullscreen = !0, this.emit(w, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(q, !0);
645
651
  }
646
652
  }, {
647
653
  key: "exitCssFullscreen",
648
654
  value: function() {
649
- var e = this._cssfullscreenEl ? "".concat(n.INNER_FULLSCREEN, " ").concat(n.CSS_FULLSCREEN) : n.CSS_FULLSCREEN;
655
+ var e = this._cssfullscreenEl ? "".concat(o.INNER_FULLSCREEN, " ").concat(o.CSS_FULLSCREEN) : o.CSS_FULLSCREEN;
650
656
  if (!this.fullscreen)
651
657
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
652
658
  else {
653
- var t = this.config.fullscreen, i = t === void 0 ? {} : t, r = i.useCssFullscreen === !0 || typeof i.useCssFullscreen == "function" && i.useCssFullscreen();
654
- r ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(D, !1)) : this.removeClass(e);
659
+ var i = this.config.fullscreen, t = i === void 0 ? {} : i, r = t.useCssFullscreen === !0 || typeof t.useCssFullscreen == "function" && t.useCssFullscreen();
660
+ r ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(w, !1)) : this.removeClass(e);
655
661
  }
656
662
  this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(q, !1);
657
663
  }
@@ -660,16 +666,16 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
660
666
  value: function() {
661
667
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
662
668
  this.cssfullscreen && this.exitCssFullscreen(e);
663
- var t = e ? "".concat(n.INNER_FULLSCREEN, " ").concat(n.ROTATE_FULLSCREEN) : n.ROTATE_FULLSCREEN;
664
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, t, n.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
665
- var i = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
666
- this.root.style.width = i ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(D, !0);
669
+ var i = e ? "".concat(o.INNER_FULLSCREEN, " ").concat(o.ROTATE_FULLSCREEN) : o.ROTATE_FULLSCREEN;
670
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, o.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
671
+ var t = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
672
+ this.root.style.width = t ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(w, !0);
667
673
  }
668
674
  }, {
669
675
  key: "exitRotateFullscreen",
670
676
  value: function(e) {
671
- var t = this._fullscreenEl !== this.root ? "".concat(n.INNER_FULLSCREEN, " ").concat(n.ROTATE_FULLSCREEN) : n.ROTATE_FULLSCREEN;
672
- this.recoverFullStyle(this.root, this._fullscreenEl, t, n.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(D, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
677
+ var i = this._fullscreenEl !== this.root ? "".concat(o.INNER_FULLSCREEN, " ").concat(o.ROTATE_FULLSCREEN) : o.ROTATE_FULLSCREEN;
678
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, o.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(w, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
673
679
  }
674
680
  }, {
675
681
  key: "setRotateDeg",
@@ -687,7 +693,7 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
687
693
  this.onFocus(e);
688
694
  return;
689
695
  }
690
- this.emit(Fe, U({
696
+ this.emit(Fe, x({
691
697
  paused: this.paused,
692
698
  ended: this.ended
693
699
  }, e));
@@ -702,7 +708,7 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
702
708
  this.onBlur(e);
703
709
  return;
704
710
  }
705
- this._clearUserTimer(), this.emit(Ie, U({
711
+ this._clearUserTimer(), this.emit(Ie, x({
706
712
  paused: this.paused,
707
713
  ended: this.ended
708
714
  }, e));
@@ -710,15 +716,15 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
710
716
  }, {
711
717
  key: "onFocus",
712
718
  value: function() {
713
- var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
719
+ var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
714
720
  autoHide: !0,
715
721
  delay: 3e3
716
- }, i = this.innerStates;
717
- if (this.isActive = !0, this.removeClass(n.INACTIVE), this._clearUserTimer(), t.isLock !== void 0 && (i.isActiveLocked = t.isLock), t.autoHide === !1 || t.isLock === !0 || i.isActiveLocked) {
722
+ }, t = this.innerStates;
723
+ if (this.isActive = !0, this.removeClass(o.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (t.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || t.isActiveLocked) {
718
724
  this._clearUserTimer();
719
725
  return;
720
726
  }
721
- var r = t && t.delay ? t.delay : this.config.inactive;
727
+ var r = i && i.delay ? i.delay : this.config.inactive;
722
728
  this.userTimer = l.setTimeout(this, function() {
723
729
  e.userTimer = null, e.blur();
724
730
  }, r);
@@ -726,10 +732,10 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
726
732
  }, {
727
733
  key: "onBlur",
728
734
  value: function() {
729
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.ignorePaused, i = t === void 0 ? !1 : t;
735
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, t = i === void 0 ? !1 : i;
730
736
  if (!this.innerStates.isActiveLocked) {
731
737
  var r = this.config.closePauseVideoFocus;
732
- this.isActive = !1, (i || r || !this.paused && !this.ended) && this.addClass(n.INACTIVE);
738
+ this.isActive = !1, (t || r || !this.paused && !this.ended) && this.addClass(o.INACTIVE);
733
739
  }
734
740
  }
735
741
  }, {
@@ -740,7 +746,7 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
740
746
  }, {
741
747
  key: "onCanplay",
742
748
  value: function() {
743
- this.removeClass(n.ENTER), this.removeClass(n.ERROR), this.removeClass(n.LOADING), this.isCanplay = !0, this.waitTimer && l.clearTimeout(this, this.waitTimer);
749
+ this.removeClass(o.ENTER), this.removeClass(o.ERROR), this.removeClass(o.LOADING), this.isCanplay = !0, this.waitTimer && l.clearTimeout(this, this.waitTimer);
744
750
  }
745
751
  }, {
746
752
  key: "onLoadeddata",
@@ -753,44 +759,44 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
753
759
  }, {
754
760
  key: "onLoadstart",
755
761
  value: function() {
756
- this.removeClass(n.ERROR), this.isCanplay = !1;
762
+ this.removeClass(o.ERROR), this.isCanplay = !1;
757
763
  }
758
764
  }, {
759
765
  key: "onPlay",
760
766
  value: function() {
761
- this.state === g.ENDED && this.setState(g.RUNNING), this.removeClass(n.PAUSED), this.ended && this.removeClass(n.ENDED), !this.config.closePlayVideoFocus && this.focus();
767
+ this.state === v.ENDED && this.setState(v.RUNNING), this.removeClass(o.PAUSED), this.ended && this.removeClass(o.ENDED), !this.config.closePlayVideoFocus && this.focus();
762
768
  }
763
769
  }, {
764
770
  key: "onPause",
765
771
  value: function() {
766
- this.addClass(n.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
772
+ this.addClass(o.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
767
773
  }
768
774
  }, {
769
775
  key: "onEnded",
770
776
  value: function() {
771
- this.updateAcc("ended"), this.addClass(n.ENDED), this.setState(g.ENDED);
777
+ this.updateAcc("ended"), this.addClass(o.ENDED), this.setState(v.ENDED);
772
778
  }
773
779
  }, {
774
780
  key: "onError",
775
781
  value: function() {
776
- this.isError = !0, this.updateAcc("error"), this.removeClass(n.NOT_ALLOW_AUTOPLAY), this.removeClass(n.NO_START), this.removeClass(n.ENTER), this.removeClass(n.LOADING), this.addClass(n.ERROR);
782
+ this.isError = !0, this.updateAcc("error"), this.removeClass(o.NOT_ALLOW_AUTOPLAY), this.removeClass(o.NO_START), this.removeClass(o.ENTER), this.removeClass(o.LOADING), this.addClass(o.ERROR);
777
783
  }
778
784
  }, {
779
785
  key: "onSeeking",
780
786
  value: function() {
781
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(n.SEEKING);
787
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(o.SEEKING);
782
788
  }
783
789
  }, {
784
790
  key: "onSeeked",
785
791
  value: function() {
786
- this.isSeeking = !1, this.waitTimer && l.clearTimeout(this, this.waitTimer), this.removeClass(n.LOADING), this.removeClass(n.SEEKING);
792
+ this.isSeeking = !1, this.waitTimer && l.clearTimeout(this, this.waitTimer), this.removeClass(o.LOADING), this.removeClass(o.SEEKING);
787
793
  }
788
794
  }, {
789
795
  key: "onWaiting",
790
796
  value: function() {
791
797
  var e = this;
792
798
  this.waitTimer && l.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = l.setTimeout(this, function() {
793
- e.addClass(n.LOADING), e.emit(De), l.clearTimeout(e, e.waitTimer), e.waitTimer = null;
799
+ e.addClass(o.LOADING), e.emit(De), l.clearTimeout(e, e.waitTimer), e.waitTimer = null;
794
800
  }, this.config.minWaitDelay);
795
801
  }
796
802
  }, {
@@ -798,7 +804,7 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
798
804
  value: function() {
799
805
  var e = this;
800
806
  this.isError = !1;
801
- var t = n.NO_START, i = n.PAUSED, r = n.ENDED, o = n.ERROR, a = n.REPLAY, f = n.LOADING, u = [t, i, r, o, a, f];
807
+ var i = o.NO_START, t = o.PAUSED, r = o.ENDED, n = o.ERROR, a = o.REPLAY, f = o.LOADING, u = [i, t, r, n, a, f];
802
808
  u.forEach(function(c) {
803
809
  e.removeClass(c);
804
810
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -806,7 +812,7 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
806
812
  }, {
807
813
  key: "onTimeupdate",
808
814
  value: function() {
809
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(n.LOADING)) && this.media.readyState > 2 && (this.removeClass(n.LOADING), l.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === g.NOTALLOW && this.duration && (this.setState(g.RUNNING), this.emit(B)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
815
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(o.LOADING)) && this.media.readyState > 2 && (this.removeClass(o.LOADING), l.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === v.NOTALLOW && this.duration && (this.setState(v.RUNNING), this.emit(W)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
810
816
  }
811
817
  }, {
812
818
  key: "onVolumechange",
@@ -820,62 +826,62 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
820
826
  }
821
827
  }, {
822
828
  key: "emitUserAction",
823
- value: function(e, t, i) {
824
- if (!(!this.media || !t || !e)) {
829
+ value: function(e, i, t) {
830
+ if (!(!this.media || !i || !e)) {
825
831
  var r = l.typeOf(e) === "String" ? e : e.type || "";
826
- i.props && l.typeOf(i.props) !== "Array" && (i.props = [i.props]), this.emit($, U({
832
+ t.props && l.typeOf(t.props) !== "Array" && (t.props = [t.props]), this.emit(j, x({
827
833
  eventType: r,
828
- action: t,
834
+ action: i,
829
835
  currentTime: this.currentTime,
830
836
  duration: this.duration,
831
837
  ended: this.ended,
832
838
  event: e
833
- }, i));
839
+ }, t));
834
840
  }
835
841
  }
836
842
  }, {
837
843
  key: "updateAcc",
838
844
  value: function(e) {
839
845
  if (this._accPlayed.t) {
840
- var t = (/* @__PURE__ */ new Date()).getTime() - this._accPlayed.t;
841
- this._accPlayed.acc += t, this._accPlayed.t = 0, (e === "ended" || this.ended) && (this._accPlayed.loopAcc = this._accPlayed.acc);
846
+ var i = (/* @__PURE__ */ new Date()).getTime() - this._accPlayed.t;
847
+ this._accPlayed.acc += i, this._accPlayed.t = 0, (e === "ended" || this.ended) && (this._accPlayed.loopAcc = this._accPlayed.acc);
842
848
  }
843
849
  }
844
850
  }, {
845
851
  key: "checkBuffer",
846
852
  value: function(e) {
847
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
853
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
848
854
  startDiff: 0,
849
855
  endDiff: 0
850
- }, i = t || {}, r = i.startDiff, o = r === void 0 ? 0 : r, a = i.endDiff, f = a === void 0 ? 0 : a, u = this.media.buffered;
856
+ }, t = i || {}, r = t.startDiff, n = r === void 0 ? 0 : r, a = t.endDiff, f = a === void 0 ? 0 : a, u = this.media.buffered;
851
857
  if (!u || u.length === 0 || !this.duration)
852
858
  return !0;
853
- for (var c = e || this.media.currentTime || 0.2, d = u.length, h = 0; h < d; h++)
854
- if (u.start(h) + o <= c && u.end(h) - f > c)
859
+ for (var c = e || this.media.currentTime || 0.2, h = u.length, d = 0; d < h; d++)
860
+ if (u.start(d) + n <= c && u.end(d) - f > c)
855
861
  return !0;
856
862
  return !1;
857
863
  }
858
864
  }, {
859
865
  key: "resizePosition",
860
866
  value: function() {
861
- var e = this, t = this.videoPos, i = t.vy, r = t.vx, o = t.h, a = t.w, f = this.videoPos.rotate;
862
- if (!(f < 0 && o < 0 && a < 0)) {
867
+ var e = this, i = this.videoPos, t = i.vy, r = i.vx, n = i.h, a = i.w, f = this.videoPos.rotate;
868
+ if (!(f < 0 && n < 0 && a < 0)) {
863
869
  var u = this.videoPos._pi;
864
870
  if (!u && this.media.videoHeight && (u = this.media.videoWidth / this.media.videoHeight * 100), !!u) {
865
871
  this.videoPos.pi = u, f = f < 0 ? 0 : f;
866
872
  var c = {
867
873
  rotate: f
868
- }, d = 0, h = 0, v = 1, p = Math.abs(f / 90), T = this.root, C = this.innerContainer, P = T.offsetWidth, y = C ? C.offsetHeight : T.offsetHeight, _ = {}, N = y, O = P;
869
- if (p % 2 === 0)
870
- v = o > 0 ? 100 / o : a > 0 ? 100 / a : 1, c.scale = v, d = i > 0 ? (100 - o) / 2 - i : 0, c.y = p === 2 ? 0 - d : d, h = r > 0 ? (100 - a) / 2 - r : 0, c.x = p === 2 ? 0 - h : h, _.width = "".concat(O, "px"), _.height = "".concat(N, "px"), _.maxWidth = "", _.maxHeight = "";
871
- else if (p % 2 === 1) {
872
- O = y, N = P;
873
- var Y = y - P;
874
- h = -Y / 2 / O * 100, c.x = p === 3 ? h + i / 2 : h - i / 2, d = Y / 2 / N * 100, c.y = p === 3 ? d + r / 2 : d - r / 2, c.scale = v, _.width = "".concat(O, "px"), _.maxWidth = "".concat(O, "px"), _.height = "".concat(N, "px"), _.maxHeight = "".concat(N, "px");
874
+ }, h = 0, d = 0, m = 1, g = Math.abs(f / 90), S = this.root, P = this.innerContainer, E = S.offsetWidth, _ = P ? P.offsetHeight : S.offsetHeight, y = {}, N = _, I = E;
875
+ if (g % 2 === 0)
876
+ m = n > 0 ? 100 / n : a > 0 ? 100 / a : 1, c.scale = m, h = t > 0 ? (100 - n) / 2 - t : 0, c.y = g === 2 ? 0 - h : h, d = r > 0 ? (100 - a) / 2 - r : 0, c.x = g === 2 ? 0 - d : d, y.width = "".concat(I, "px"), y.height = "".concat(N, "px"), y.maxWidth = "", y.maxHeight = "";
877
+ else if (g % 2 === 1) {
878
+ I = _, N = E;
879
+ var b = _ - E;
880
+ d = -b / 2 / I * 100, c.x = g === 3 ? d + t / 2 : d - t / 2, h = b / 2 / N * 100, c.y = g === 3 ? h + r / 2 : h - r / 2, c.scale = m, y.width = "".concat(I, "px"), y.maxWidth = "".concat(I, "px"), y.height = "".concat(N, "px"), y.maxHeight = "".concat(N, "px");
875
881
  }
876
- var V = l.getTransformStyle(c, this.media.style.transform || this.media.style.webkitTransform);
877
- _.transform = V, _.webkitTransform = V, Object.keys(_).map(function(M) {
878
- e.media.style[M] = _[M];
882
+ var G = l.getTransformStyle(c, this.media.style.transform || this.media.style.webkitTransform);
883
+ y.transform = G, y.webkitTransform = G, Object.keys(y).map(function(M) {
884
+ e.media.style[M] = y[M];
879
885
  });
880
886
  }
881
887
  }
@@ -890,28 +896,28 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
890
896
  w: 0
891
897
  };
892
898
  if (!(!this.media || !e || !e.h)) {
893
- var t = this.videoPos;
894
- t.h = e.h * 100 || 0, t.w = e.w * 100 || 0, t.vx = e.x * 100 || 0, t.vy = e.y * 100 || 0, this.resizePosition();
899
+ var i = this.videoPos;
900
+ i.h = e.h * 100 || 0, i.w = e.w * 100 || 0, i.vx = e.x * 100 || 0, i.vy = e.y * 100 || 0, this.resizePosition();
895
901
  }
896
902
  }
897
903
  }, {
898
904
  key: "setConfig",
899
905
  value: function(e) {
900
- var t = this;
901
- e && Object.keys(e).map(function(i) {
902
- if (i !== "plugins") {
903
- t.config[i] = e[i];
904
- var r = t.plugins[i.toLowerCase()];
905
- r && l.typeOf(r.setConfig) === "Function" && r.setConfig(e[i]);
906
+ var i = this;
907
+ e && Object.keys(e).map(function(t) {
908
+ if (t !== "plugins") {
909
+ i.config[t] = e[t];
910
+ var r = i.plugins[t.toLowerCase()];
911
+ r && l.typeOf(r.setConfig) === "Function" && r.setConfig(e[t]);
906
912
  }
907
913
  });
908
914
  }
909
915
  }, {
910
916
  key: "playNext",
911
917
  value: function(e) {
912
- var t = this;
913
- this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, w(this, "playnext", function() {
914
- t.start(), t.emit(be, e);
918
+ var i = this;
919
+ this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, D(this, "playnext", function() {
920
+ i.start(), i.emit(be, e);
915
921
  });
916
922
  }
917
923
  }, {
@@ -919,45 +925,45 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
919
925
  value: function() {
920
926
  var e = this;
921
927
  if (!(!this.media || !this.root)) {
922
- var t = this.root.getBoundingClientRect();
923
- this.sizeInfo.width = t.width, this.sizeInfo.height = t.height, this.sizeInfo.left = t.left, this.sizeInfo.top = t.top;
924
- var i = this.media, r = i.videoWidth, o = i.videoHeight, a = this.config, f = a.fitVideoSize, u = a.videoFillMode;
925
- if ((u === "fill" || u === "cover" || u === "contain") && this.setAttribute("data-xgfill", u), !(!o || !r)) {
926
- this._videoHeight = o, this._videoWidth = r;
927
- var c = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, d = t.width, h = t.height - c, v = parseInt(r / o * 1e3, 10), p = parseInt(d / h * 1e3, 10), T = d, C = h, P = {};
928
- f === "auto" && p > v || f === "fixWidth" ? (C = d / v * 1e3, this.config.fluid ? P.paddingTop = "".concat(C * 100 / T, "%") : P.height = "".concat(C + c, "px")) : (f === "auto" && p < v || f === "fixHeight") && (T = v * h / 1e3, P.width = "".concat(T, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(P).forEach(function(_) {
929
- e.root.style[_] = P[_];
930
- }), (u === "fillHeight" && p < v || u === "fillWidth" && p > v) && this.setAttribute("data-xgfill", "cover");
931
- var y = {
932
- videoScale: v,
933
- vWidth: T,
934
- vHeight: C,
935
- cWidth: T,
936
- cHeight: C + c
928
+ var i = this.root.getBoundingClientRect();
929
+ this.sizeInfo.width = i.width, this.sizeInfo.height = i.height, this.sizeInfo.left = i.left, this.sizeInfo.top = i.top;
930
+ var t = this.media, r = t.videoWidth, n = t.videoHeight, a = this.config, f = a.fitVideoSize, u = a.videoFillMode;
931
+ if ((u === "fill" || u === "cover" || u === "contain") && this.setAttribute("data-xgfill", u), !(!n || !r)) {
932
+ this._videoHeight = n, this._videoWidth = r;
933
+ var c = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, h = i.width, d = i.height - c, m = parseInt(r / n * 1e3, 10), g = parseInt(h / d * 1e3, 10), S = h, P = d, E = {};
934
+ f === "auto" && g > m || f === "fixWidth" ? (P = h / m * 1e3, this.config.fluid ? E.paddingTop = "".concat(P * 100 / S, "%") : E.height = "".concat(P + c, "px")) : (f === "auto" && g < m || f === "fixHeight") && (S = m * d / 1e3, E.width = "".concat(S, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(E).forEach(function(y) {
935
+ e.root.style[y] = E[y];
936
+ }), (u === "fillHeight" && g < m || u === "fillWidth" && g > m) && this.setAttribute("data-xgfill", "cover");
937
+ var _ = {
938
+ videoScale: m,
939
+ vWidth: S,
940
+ vHeight: P,
941
+ cWidth: S,
942
+ cHeight: P + c
937
943
  };
938
- this.resizePosition(), this.emit(we, y);
944
+ this.resizePosition(), this.emit(we, _);
939
945
  }
940
946
  }
941
947
  }
942
948
  }, {
943
949
  key: "updateObjectPosition",
944
950
  value: function() {
945
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
951
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
946
952
  if (this.media.updateObjectPosition) {
947
- this.media.updateObjectPosition(e, t);
953
+ this.media.updateObjectPosition(e, i);
948
954
  return;
949
955
  }
950
- this.media.style.objectPosition = "".concat(e * 100, "% ").concat(t * 100, "%");
956
+ this.media.style.objectPosition = "".concat(e * 100, "% ").concat(i * 100, "%");
951
957
  }
952
958
  }, {
953
959
  key: "setState",
954
960
  value: function(e) {
955
- S.logInfo("setState", "state from:".concat(ae[this.state], " to:").concat(ae[e])), this._state = e;
961
+ C.logInfo("setState", "state from:".concat(ae[this.state], " to:").concat(ae[e])), this._state = e;
956
962
  }
957
963
  }, {
958
964
  key: "preProcessUrl",
959
- value: function(e, t) {
960
- var i = this.config, r = i.preProcessUrl, o = i.preProcessUrlOptions, a = Object.assign({}, o, t);
965
+ value: function(e, i) {
966
+ var t = this.config, r = t.preProcessUrl, n = t.preProcessUrlOptions, a = Object.assign({}, n, i);
961
967
  return !l.isBlob(e) && typeof r == "function" ? r(e, a) : {
962
968
  url: e
963
969
  };
@@ -988,15 +994,15 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
988
994
  return this._hasStart;
989
995
  },
990
996
  set: function(e) {
991
- typeof e == "boolean" && (this._hasStart = e, e === !1 && this.setState(g.READY), this.emit("hasstart"));
997
+ typeof e == "boolean" && (this._hasStart = e, e === !1 && this.setState(v.READY), this.emit("hasstart"));
992
998
  }
993
999
  }, {
994
1000
  key: "isPlaying",
995
1001
  get: function() {
996
- return this._state === g.RUNNING || this._state === g.ENDED;
1002
+ return this._state === v.RUNNING || this._state === v.ENDED;
997
1003
  },
998
1004
  set: function(e) {
999
- e ? this.setState(g.RUNNING) : this._state >= g.RUNNING && this.setState(g.ATTACHED);
1005
+ e ? this.setState(v.RUNNING) : this._state >= v.RUNNING && this.setState(v.ATTACHED);
1000
1006
  }
1001
1007
  }, {
1002
1008
  key: "definitionList",
@@ -1004,11 +1010,11 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1004
1010
  return !this.config || !this.config.definition ? [] : this.config.definition.list || [];
1005
1011
  },
1006
1012
  set: function(e) {
1007
- var t = this, i = this.config.definition, r = null, o = null;
1008
- i.list = e, this.emit("resourceReady", e), e.forEach(function(a) {
1013
+ var i = this, t = this.config.definition, r = null, n = null;
1014
+ t.list = e, this.emit("resourceReady", e), e.forEach(function(a) {
1009
1015
  var f;
1010
- ((f = t.curDefinition) === null || f === void 0 ? void 0 : f.definition) === a.definition && (r = a), i.defaultDefinition === a.definition && (o = a);
1011
- }), !o && e.length > 0 && (o = e[0]), r ? this.changeDefinition(r) : o && this.changeDefinition(o);
1016
+ ((f = i.curDefinition) === null || f === void 0 ? void 0 : f.definition) === a.definition && (r = a), t.defaultDefinition === a.definition && (n = a);
1017
+ }), !n && e.length > 0 && (n = e[0]), r ? this.changeDefinition(r) : n && this.changeDefinition(n);
1012
1018
  }
1013
1019
  }, {
1014
1020
  key: "videoFrameInfo",
@@ -1022,8 +1028,8 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1022
1028
  };
1023
1029
  if (!this.media || !this.media.getVideoPlaybackQuality)
1024
1030
  return e;
1025
- var t = this.media.getVideoPlaybackQuality();
1026
- return e.dropped = t.droppedVideoFrames || 0, e.total = t.totalVideoFrames || 0, e.corrupted = t.corruptedVideoFrames || 0, e.total > 0 && (e.droppedRate = e.dropped / e.total * 100, e.droppedDuration = parseInt(this.cumulateTime / e.total * e.dropped, 0)), e;
1031
+ var i = this.media.getVideoPlaybackQuality();
1032
+ return e.dropped = i.droppedVideoFrames || 0, e.total = i.totalVideoFrames || 0, e.corrupted = i.corruptedVideoFrames || 0, e.total > 0 && (e.droppedRate = e.dropped / e.total * 100, e.droppedDuration = parseInt(this.cumulateTime / e.total * e.dropped, 0)), e;
1027
1033
  }
1028
1034
  }, {
1029
1035
  key: "lang",
@@ -1031,14 +1037,14 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1031
1037
  return this.config.lang;
1032
1038
  },
1033
1039
  set: function(e) {
1034
- var t = H.langKeys.filter(function(i) {
1035
- return i === e;
1040
+ var i = B.langKeys.filter(function(t) {
1041
+ return t === e;
1036
1042
  });
1037
- if (t.length === 0 && e !== "zh") {
1038
- console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(H.langKeys.join(), "] "));
1043
+ if (i.length === 0 && e !== "zh") {
1044
+ console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(B.langKeys.join(), "] "));
1039
1045
  return;
1040
1046
  }
1041
- this.config.lang = e, E.setLang(e, this);
1047
+ this.config.lang = e, T.setLang(e, this);
1042
1048
  }
1043
1049
  }, {
1044
1050
  key: "i18n",
@@ -1080,18 +1086,18 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1080
1086
  }, {
1081
1087
  key: "readyState",
1082
1088
  get: function() {
1083
- return R(L(m.prototype), "readyState", this);
1089
+ return R(L(p.prototype), "readyState", this);
1084
1090
  }
1085
1091
  }, {
1086
1092
  key: "error",
1087
1093
  get: function() {
1088
- var e = R(L(m.prototype), "error", this);
1094
+ var e = R(L(p.prototype), "error", this);
1089
1095
  return this.i18n[e] || e;
1090
1096
  }
1091
1097
  }, {
1092
1098
  key: "networkState",
1093
1099
  get: function() {
1094
- return R(L(m.prototype), "networkState", this);
1100
+ return R(L(p.prototype), "networkState", this);
1095
1101
  }
1096
1102
  }, {
1097
1103
  key: "fullscreenChanging",
@@ -1101,8 +1107,8 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1101
1107
  }, {
1102
1108
  key: "cumulateTime",
1103
1109
  get: function() {
1104
- var e = this._accPlayed, t = e.acc, i = e.t;
1105
- return i ? (/* @__PURE__ */ new Date()).getTime() - i + t : t;
1110
+ var e = this._accPlayed, i = e.acc, t = e.t;
1111
+ return t ? (/* @__PURE__ */ new Date()).getTime() - t + i : i;
1106
1112
  }
1107
1113
  }, {
1108
1114
  key: "zoom",
@@ -1154,46 +1160,53 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1154
1160
  }
1155
1161
  }, {
1156
1162
  key: "hook",
1157
- value: function(e, t) {
1163
+ value: function(e, i) {
1158
1164
  return ie.call.apply(ie, [this].concat(Array.prototype.slice.call(arguments)));
1159
1165
  }
1166
+ }, {
1167
+ key: "runHooks",
1168
+ value: function() {
1169
+ for (var e = arguments.length, i = new Array(e), t = 0; t < e; t++)
1170
+ i[t] = arguments[t];
1171
+ return D.call.apply(D, [this].concat(Array.prototype.slice.call(arguments)));
1172
+ }
1160
1173
  }, {
1161
1174
  key: "useHooks",
1162
- value: function(e, t) {
1175
+ value: function(e, i) {
1163
1176
  return se.call.apply(se, [this].concat(Array.prototype.slice.call(arguments)));
1164
1177
  }
1165
1178
  }, {
1166
1179
  key: "removeHooks",
1167
- value: function(e, t) {
1180
+ value: function(e, i) {
1168
1181
  return re.call.apply(re, [this].concat(Array.prototype.slice.call(arguments)));
1169
1182
  }
1170
1183
  }, {
1171
1184
  key: "usePluginHooks",
1172
- value: function(e, t, i) {
1173
- for (var r = arguments.length, o = new Array(r > 3 ? r - 3 : 0), a = 3; a < r; a++)
1174
- o[a - 3] = arguments[a];
1185
+ value: function(e, i, t) {
1186
+ for (var r = arguments.length, n = new Array(r > 3 ? r - 3 : 0), a = 3; a < r; a++)
1187
+ n[a - 3] = arguments[a];
1175
1188
  return ne.call.apply(ne, [this].concat(Array.prototype.slice.call(arguments)));
1176
1189
  }
1177
1190
  }, {
1178
1191
  key: "removePluginHooks",
1179
- value: function(e, t, i) {
1180
- for (var r = arguments.length, o = new Array(r > 3 ? r - 3 : 0), a = 3; a < r; a++)
1181
- o[a - 3] = arguments[a];
1192
+ value: function(e, i, t) {
1193
+ for (var r = arguments.length, n = new Array(r > 3 ? r - 3 : 0), a = 3; a < r; a++)
1194
+ n[a - 3] = arguments[a];
1182
1195
  return oe.call.apply(oe, [this].concat(Array.prototype.slice.call(arguments)));
1183
1196
  }
1184
1197
  }, {
1185
1198
  key: "setUserActive",
1186
- value: function(e, t) {
1187
- var i;
1188
- typeof t == "boolean" && t !== this.muted && (this.addInnerOP("volumechange"), l.typeOf(t) === Boolean && (this.muted = t)), (i = F) === null || i === void 0 || i.setActive(this.playerId, e);
1199
+ value: function(e, i) {
1200
+ var t;
1201
+ typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), l.typeOf(i) === Boolean && (this.muted = i)), (t = F) === null || t === void 0 || t.setActive(this.playerId, e);
1189
1202
  }
1190
1203
  }], [{
1191
1204
  key: "debugger",
1192
1205
  get: function() {
1193
- return S.config.debug;
1206
+ return C.config.debug;
1194
1207
  },
1195
1208
  set: function(e) {
1196
- S.config.debug = e;
1209
+ C.config.debug = e;
1197
1210
  }
1198
1211
  }, {
1199
1212
  key: "instManager",
@@ -1211,9 +1224,9 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1211
1224
  }
1212
1225
  }, {
1213
1226
  key: "setCurrentUserActive",
1214
- value: function(e, t) {
1215
- var i;
1216
- (i = F) === null || i === void 0 || i.setActive(e, t);
1227
+ value: function(e, i) {
1228
+ var t;
1229
+ (t = F) === null || t === void 0 || t.setActive(e, i);
1217
1230
  }
1218
1231
  }, {
1219
1232
  key: "isHevcSupported",
@@ -1227,27 +1240,27 @@ var Ve = ["play", "pause", "replay", "retry"], le = 0, ue = 0, F = null, z = /*
1227
1240
  }
1228
1241
  }, {
1229
1242
  key: "install",
1230
- value: function(e, t) {
1231
- m.plugins || (m.plugins = {}), m.plugins[e] || (m.plugins[e] = t);
1243
+ value: function(e, i) {
1244
+ p.plugins || (p.plugins = {}), p.plugins[e] || (p.plugins[e] = i);
1232
1245
  }
1233
1246
  }, {
1234
1247
  key: "use",
1235
- value: function(e, t) {
1236
- m.plugins || (m.plugins = {}), m.plugins[e] = t;
1248
+ value: function(e, i) {
1249
+ p.plugins || (p.plugins = {}), p.plugins[e] = i;
1237
1250
  }
1238
- }]), m;
1251
+ }]), p;
1239
1252
  })(pe);
1240
- b(z, "defaultPreset", null);
1241
- b(z, "XgVideoProxy", null);
1242
- z.instManager = ze.getInstance();
1253
+ U(V, "defaultPreset", null);
1254
+ U(V, "XgVideoProxy", null);
1255
+ V.instManager = ze.getInstance();
1243
1256
  export {
1244
1257
  ee as BasePlugin,
1245
1258
  Ee as Errors,
1246
1259
  Ze as Events,
1247
- H as I18N,
1260
+ B as I18N,
1248
1261
  vt as Plugin,
1249
- n as STATE_CLASS,
1262
+ o as STATE_CLASS,
1250
1263
  k as Sniffer,
1251
1264
  l as Util,
1252
- z as default
1265
+ V as default
1253
1266
  };