@das-fed/ui 6.4.0-hot.9.1 → 6.4.0-test.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 (606) hide show
  1. package/esm-map.json +22 -1
  2. package/package.json +9 -8
  3. package/packages/business-components/app-container/index.d.ts +1 -0
  4. package/packages/business-components/app-container/index.js +180 -121
  5. package/packages/business-components/app-container/index.js.gz +0 -0
  6. package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
  7. package/packages/business-components/app-container/src/style-theme.d.ts +13 -0
  8. package/packages/business-components/app-container/src/type.d.ts +1 -0
  9. package/packages/business-components/app-container/style.css +1 -1
  10. package/packages/business-components/app-container/style.css.gz +0 -0
  11. package/packages/{components/button → business-components/area-phone-select}/i18n/index.d.ts +1 -1
  12. package/packages/business-components/area-phone-select/index.d.ts +1368 -0
  13. package/packages/business-components/area-phone-select/index.js +269 -0
  14. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  15. package/packages/business-components/area-phone-select/src/Index.vue.d.ts +15 -0
  16. package/packages/business-components/area-phone-select/src/apis.d.ts +2 -0
  17. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +179 -0
  18. package/packages/business-components/area-phone-select/src/area-popover/type.d.ts +37 -0
  19. package/packages/business-components/area-phone-select/src/type.d.ts +26 -0
  20. package/packages/business-components/area-phone-select/src/utils.d.ts +12 -0
  21. package/packages/business-components/area-phone-select/style.css +1 -0
  22. package/packages/business-components/area-phone-select/style.css.gz +0 -0
  23. package/packages/business-components/change-enterprises/i18n/index.d.ts +18 -0
  24. package/packages/business-components/change-enterprises/index.d.ts +7 -8
  25. package/packages/business-components/change-enterprises/index.js +81 -70
  26. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  27. package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -0
  28. package/packages/business-components/change-enterprises/src/type.d.ts +1 -1
  29. package/packages/business-components/change-enterprises/style.css +1 -1
  30. package/packages/business-components/change-enterprises/style.css.gz +0 -0
  31. package/packages/business-components/change-pwd/i18n/index.d.ts +93 -0
  32. package/packages/business-components/change-pwd/index.d.ts +2 -8
  33. package/packages/business-components/change-pwd/index.js +149 -116
  34. package/packages/business-components/change-pwd/index.js.gz +0 -0
  35. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +16 -16
  36. package/packages/business-components/change-pwd/style.css +1 -1
  37. package/packages/business-components/currency-page/i18n/index.d.ts +23 -0
  38. package/packages/business-components/currency-page/index.js +50 -30
  39. package/packages/business-components/currency-page/index.js.gz +0 -0
  40. package/packages/business-components/currency-page/style.css +1 -1
  41. package/packages/business-components/device-panel/i18n/index.d.ts +1202 -0
  42. package/packages/business-components/device-panel/index.d.ts +2 -2
  43. package/packages/business-components/device-panel/index.js +20784 -18548
  44. package/packages/business-components/device-panel/index.js.gz +0 -0
  45. package/packages/business-components/device-panel/src/apis.d.ts +2 -2
  46. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/dealAlarm.vue.d.ts +2 -2
  47. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/historyList.vue.d.ts +2 -2
  48. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/listItem.vue.d.ts +1 -1
  49. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/liveList.vue.d.ts +2 -2
  50. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/logDetail.vue.d.ts +2 -2
  51. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
  52. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
  53. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
  54. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +17 -0
  55. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
  56. package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts +2 -2
  57. package/packages/business-components/device-panel/src/components/alarmDevicePanel/operatingData/index.vue.d.ts +1 -7
  58. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/dealAlarm.vue.d.ts +2 -2
  59. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/historyList.vue.d.ts +2 -2
  60. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/listItem.vue.d.ts +1 -1
  61. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/liveList.vue.d.ts +2 -2
  62. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/logDetail.vue.d.ts +2 -2
  63. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
  64. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +9 -0
  65. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
  66. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +17 -0
  67. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -0
  68. package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +2 -2
  69. package/packages/business-components/device-panel/src/components/devicePanelModal/preview/index.vue.d.ts +2 -2
  70. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  71. package/packages/business-components/device-panel/src/hooks/use-operating-data.d.ts +22 -0
  72. package/packages/business-components/device-panel/style.css +1 -1
  73. package/packages/business-components/device-panel/style.css.gz +0 -0
  74. package/packages/business-components/echarts/index.d.ts +12 -12
  75. package/packages/business-components/echarts/index.js +7004 -6952
  76. package/packages/business-components/echarts/index.js.gz +0 -0
  77. package/packages/business-components/echarts/src/Index.vue.d.ts +2 -2
  78. package/packages/business-components/echarts/style.css +1 -1
  79. package/packages/business-components/export-button/hooks/useExport.d.ts +5 -6
  80. package/packages/business-components/export-button/i18n/index.d.ts +58 -0
  81. package/packages/business-components/export-button/index.d.ts +6 -10
  82. package/packages/business-components/export-button/index.js +147 -123
  83. package/packages/business-components/export-button/index.js.gz +0 -0
  84. package/packages/business-components/export-button/src/App.vue.d.ts +2 -2
  85. package/packages/business-components/export-button/style.css +1 -1
  86. package/packages/business-components/import-button/hooks/file.d.ts +2 -0
  87. package/packages/business-components/import-button/hooks/useImport.d.ts +13 -12
  88. package/packages/business-components/import-button/i18n/index.d.ts +143 -0
  89. package/packages/business-components/import-button/index.d.ts +14 -18
  90. package/packages/business-components/import-button/index.js +390 -330
  91. package/packages/business-components/import-button/index.js.gz +0 -0
  92. package/packages/business-components/import-button/src/App.vue.d.ts +5 -5
  93. package/packages/business-components/import-button/src/type.d.ts +2 -0
  94. package/packages/business-components/import-button/style.css +1 -1
  95. package/packages/business-components/index.d.ts +2 -0
  96. package/packages/business-components/index.js +2 -0
  97. package/packages/business-components/layout-breadcrumb/index.d.ts +2 -6
  98. package/packages/business-components/layout-breadcrumb/index.js +63 -61
  99. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  100. package/packages/business-components/model-table-dialog/i18n/index.d.ts +33 -0
  101. package/packages/business-components/model-table-dialog/index.d.ts +137 -214
  102. package/packages/business-components/model-table-dialog/index.js +632 -630
  103. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  104. package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +24 -34
  105. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +21 -338
  106. package/packages/business-components/model-table-dialog/style.css +1 -1
  107. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  108. package/packages/business-components/payment/api.d.ts +8 -0
  109. package/packages/business-components/payment/i18n/index.d.ts +68 -0
  110. package/packages/business-components/payment/index.d.ts +56 -0
  111. package/packages/business-components/payment/index.js +372 -0
  112. package/packages/business-components/payment/index.js.gz +0 -0
  113. package/packages/business-components/payment/src/Index.vue.d.ts +7 -0
  114. package/packages/business-components/payment/style.css +1 -0
  115. package/packages/business-components/payment/type.d.ts +42 -0
  116. package/packages/business-components/process-configuration/i18n/index.d.ts +153 -0
  117. package/packages/business-components/process-configuration/index.d.ts +2 -0
  118. package/packages/business-components/process-configuration/index.js +343 -259
  119. package/packages/business-components/process-configuration/index.js.gz +0 -0
  120. package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +2 -3
  121. package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
  122. package/packages/business-components/process-configuration/src/type.d.ts +3 -0
  123. package/packages/business-components/process-configuration/style.css +1 -1
  124. package/packages/business-components/process-configuration/style.css.gz +0 -0
  125. package/packages/business-components/process-form/App.vue.d.ts +1 -0
  126. package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
  127. package/packages/business-components/process-form/apis.d.ts +1 -0
  128. package/packages/business-components/process-form/i18n/index.d.ts +423 -0
  129. package/packages/business-components/process-form/index.d.ts +1 -0
  130. package/packages/business-components/process-form/index.js +1448 -1227
  131. package/packages/business-components/process-form/index.js.gz +0 -0
  132. package/packages/business-components/process-form/src/hooks/useForm.d.ts +16 -16
  133. package/packages/business-components/process-form/src/hooks/useSelector.d.ts +2 -1
  134. package/packages/business-components/process-form/src/utils/common-methods.d.ts +1 -1
  135. package/packages/business-components/process-form/src/widgets/layout/accordion/accordion.d.ts +1 -1
  136. package/packages/business-components/process-form/src/widgets/layout/grid/grid.d.ts +1 -1
  137. package/packages/business-components/process-form/src/widgets/store.d.ts +4 -0
  138. package/packages/business-components/process-form/style.css +1 -1
  139. package/packages/business-components/process-form/type.d.ts +2 -0
  140. package/packages/business-components/process-log/i18n/index.d.ts +47 -1
  141. package/packages/business-components/process-log/index.js +348 -333
  142. package/packages/business-components/process-log/index.js.gz +0 -0
  143. package/packages/business-components/process-log/style.css +1 -1
  144. package/packages/business-components/process-log/style.css.gz +0 -0
  145. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +1 -0
  146. package/packages/business-components/process-search-form/i18n/index.d.ts +48 -0
  147. package/packages/business-components/process-search-form/index.d.ts +2 -2
  148. package/packages/business-components/process-search-form/index.js +612 -560
  149. package/packages/business-components/process-search-form/index.js.gz +0 -0
  150. package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
  151. package/packages/business-components/process-search-form/src/type.d.ts +1 -1
  152. package/packages/business-components/process-table/i18n/index.d.ts +43 -0
  153. package/packages/business-components/process-table/index.d.ts +34 -23
  154. package/packages/business-components/process-table/index.js +673 -618
  155. package/packages/business-components/process-table/index.js.gz +0 -0
  156. package/packages/business-components/process-table/src/App.vue.d.ts +41 -453
  157. package/packages/business-components/process-table/src/type.d.ts +8 -0
  158. package/packages/business-components/process-table/style.css +1 -1
  159. package/packages/business-components/upload-file/i18n/index.d.ts +8 -0
  160. package/packages/business-components/upload-file/index.d.ts +10 -8
  161. package/packages/business-components/upload-file/index.js +63 -55
  162. package/packages/business-components/upload-file/index.js.gz +0 -0
  163. package/packages/business-components/upload-file/src/App.vue.d.ts +2 -0
  164. package/packages/business-components/upload-file/src/type.d.ts +6 -0
  165. package/packages/business-components/upload-file/style.css +1 -1
  166. package/packages/business-components/urgent-panel/i18n/index.d.ts +523 -0
  167. package/packages/business-components/urgent-panel/index.d.ts +2 -2
  168. package/packages/business-components/urgent-panel/index.js +1550 -1411
  169. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  170. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  171. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/urgentMonitorPanel.vue.d.ts +8 -3
  172. package/packages/business-components/urgent-panel/style.css +1 -1
  173. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  174. package/packages/business-components/user-org-dialog/i18n/index.d.ts +72 -1
  175. package/packages/business-components/user-org-dialog/index.d.ts +2 -10
  176. package/packages/business-components/user-org-dialog/index.js +256 -241
  177. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  178. package/packages/business-components/user-org-dialog/style.css +1 -1
  179. package/packages/business-components/user-org-dialog/style.css.gz +0 -0
  180. package/packages/business-components/video-dialog/i18n/index.d.ts +103 -0
  181. package/packages/business-components/video-dialog/index.d.ts +2 -6
  182. package/packages/business-components/video-dialog/index.js +351 -297
  183. package/packages/business-components/video-dialog/index.js.gz +0 -0
  184. package/packages/business-components/video-dialog/style.css +1 -1
  185. package/packages/business-components/video-dialog/style.css.gz +0 -0
  186. package/packages/components/alert/index.d.ts +12 -12
  187. package/packages/components/alert/src/index.vue.d.ts +1 -1
  188. package/packages/components/audio-video/index.d.ts +14 -30
  189. package/packages/components/audio-video/src/Index.vue.d.ts +2 -2
  190. package/packages/components/autocomplete/index.d.ts +59 -68
  191. package/packages/components/autocomplete/index.js +142 -130
  192. package/packages/components/autocomplete/index.js.gz +0 -0
  193. package/packages/components/autocomplete/src/index.vue.d.ts +42 -352
  194. package/packages/components/autocomplete/src/type.d.ts +9 -1
  195. package/packages/components/autocomplete/style.css +1 -1
  196. package/packages/components/autocomplete/style.css.gz +0 -0
  197. package/packages/components/breadcrumb/index.d.ts +10 -8
  198. package/packages/components/breadcrumb/index.js +48 -45
  199. package/packages/components/breadcrumb/index.js.gz +0 -0
  200. package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
  201. package/packages/components/breadcrumb/src/type.d.ts +1 -0
  202. package/packages/components/breadcrumb/style.css +1 -1
  203. package/packages/components/breadcrumb/style.css.gz +0 -0
  204. package/packages/components/button/index.d.ts +4 -7
  205. package/packages/components/button/index.js +64 -71
  206. package/packages/components/button/index.js.gz +0 -0
  207. package/packages/components/button/src/Index.vue.d.ts +1 -1
  208. package/packages/components/calendar/i18n/index.d.ts +80 -26
  209. package/packages/components/calendar/index.d.ts +6 -9
  210. package/packages/components/calendar/index.js +273 -271
  211. package/packages/components/calendar/index.js.gz +0 -0
  212. package/packages/components/calendar/src/Index.vue.d.ts +2 -2
  213. package/packages/components/calendar/src/old-Index.vue.d.ts +2 -2
  214. package/packages/components/cascader/i18n/index.d.ts +8 -0
  215. package/packages/components/cascader/index.d.ts +235 -20
  216. package/packages/components/cascader/index.js +86 -82
  217. package/packages/components/cascader/index.js.gz +0 -0
  218. package/packages/components/cascader/src/Index.vue.d.ts +5 -5
  219. package/packages/components/cascader/style.css +1 -1
  220. package/packages/components/cascader/style.css.gz +0 -0
  221. package/packages/components/checkbox/index.d.ts +62 -74
  222. package/packages/components/checkbox/index.js +149 -137
  223. package/packages/components/checkbox/index.js.gz +0 -0
  224. package/packages/components/checkbox/src/Index.vue.d.ts +8 -8
  225. package/packages/components/checkbox/style.css +1 -1
  226. package/packages/components/checkbox/style.css.gz +0 -0
  227. package/packages/components/collapse-panel/index.d.ts +3 -9
  228. package/packages/components/collapse-transition/index.d.ts +1 -1
  229. package/packages/components/collaspe/index.d.ts +12 -12
  230. package/packages/components/collaspe/src/Index.vue.d.ts +1 -1
  231. package/packages/components/color-picker/i18n/index.d.ts +8 -0
  232. package/packages/components/color-picker/index.d.ts +15 -23
  233. package/packages/components/color-picker/index.js +95 -91
  234. package/packages/components/color-picker/index.js.gz +0 -0
  235. package/packages/components/color-picker/src/Index.vue.d.ts +3 -3
  236. package/packages/components/color-picker/src/type.d.ts +6 -3
  237. package/packages/components/color-picker/style.css +1 -1
  238. package/packages/components/color-picker/style.css.gz +0 -0
  239. package/packages/components/custom-search-item/i18n/index.d.ts +8 -0
  240. package/packages/components/custom-search-item/index.d.ts +27 -36
  241. package/packages/components/custom-search-item/index.js +28 -26
  242. package/packages/components/custom-search-item/index.js.gz +0 -0
  243. package/packages/components/custom-search-item/src/Index.vue.d.ts +3 -3
  244. package/packages/components/custom-search-item/style.css +1 -1
  245. package/packages/components/date-picker/i18n/index.d.ts +33 -0
  246. package/packages/components/date-picker/index.d.ts +65 -84
  247. package/packages/components/date-picker/index.js +591 -556
  248. package/packages/components/date-picker/index.js.gz +0 -0
  249. package/packages/components/date-picker/src/DatePicker.vue.d.ts +6 -5
  250. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +6 -4
  251. package/packages/components/date-picker/src/RangePicker.vue.d.ts +5 -4
  252. package/packages/components/date-picker/src/TimePicker.vue.d.ts +5 -4
  253. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +5 -4
  254. package/packages/components/date-picker/style.css +1 -1
  255. package/packages/components/date-picker/style.css.gz +0 -0
  256. package/packages/components/dialog/i18n/index.d.ts +6 -0
  257. package/packages/components/dialog/index.d.ts +14 -22
  258. package/packages/components/dialog/index.js +92 -92
  259. package/packages/components/dialog/index.js.gz +0 -0
  260. package/packages/components/dialog/src/Index.vue.d.ts +5 -5
  261. package/packages/components/dialog/style.css +1 -1
  262. package/packages/components/dialog/style.css.gz +0 -0
  263. package/packages/components/dimple-layout/editor/index.d.ts +2 -28
  264. package/packages/components/dimple-layout/i18n/index.d.ts +53 -0
  265. package/packages/components/dimple-layout/index.js +2471 -2452
  266. package/packages/components/dimple-layout/index.js.gz +0 -0
  267. package/packages/components/dimple-layout/render/use-render.d.ts +1 -1
  268. package/packages/components/dimple-layout/style.css +1 -1
  269. package/packages/components/dimple-layout/style.css.gz +0 -0
  270. package/packages/components/drawer/index.d.ts +1 -4
  271. package/packages/components/drawer/src/Index.vue.d.ts +1 -64
  272. package/packages/components/dropdown/i18n/index.d.ts +8 -0
  273. package/packages/components/dropdown/index.d.ts +3 -5
  274. package/packages/components/dropdown/index.js +25 -23
  275. package/packages/components/dropdown/index.js.gz +0 -0
  276. package/packages/components/dropdown/src/index.vue.d.ts +1 -41
  277. package/packages/components/edit-table/index.d.ts +44 -36
  278. package/packages/components/edit-table/index.js +2030 -1527
  279. package/packages/components/edit-table/index.js.gz +0 -0
  280. package/packages/components/edit-table/src/components/index.d.ts +1 -0
  281. package/packages/components/edit-table/src/components/row-button/index.vue.d.ts +5 -0
  282. package/packages/components/edit-table/src/components/row-button/type.d.ts +13 -0
  283. package/packages/components/edit-table/src/hooks/use-validator.d.ts +9 -3
  284. package/packages/components/edit-table/src/index.vue.d.ts +45 -456
  285. package/packages/components/edit-table/src/type.d.ts +28 -3
  286. package/packages/components/edit-table/src/utils.d.ts +9 -5
  287. package/packages/components/edit-table/style.css +1 -1
  288. package/packages/components/edit-table/style.css.gz +0 -0
  289. package/packages/components/empty/i18n/index.d.ts +1 -0
  290. package/packages/components/empty/index.d.ts +4 -4
  291. package/packages/components/empty/index.js +18 -20
  292. package/packages/components/empty/index.js.gz +0 -0
  293. package/packages/components/empty/src/Index.vue.d.ts +1 -1
  294. package/packages/components/form/index.d.ts +26 -26
  295. package/packages/components/form/src/Index.vue.d.ts +3 -3
  296. package/packages/components/form-item/index.js +832 -829
  297. package/packages/components/form-item/index.js.gz +0 -0
  298. package/packages/components/form-item/src/type.d.ts +2 -0
  299. package/packages/components/form-item/style.css +1 -1
  300. package/packages/components/form-item/style.css.gz +0 -0
  301. package/packages/components/form-item/theme/index.d.ts +3 -0
  302. package/packages/components/image-upload/i18n/index.d.ts +18 -0
  303. package/packages/components/image-upload/index.d.ts +1 -1
  304. package/packages/components/image-upload/index.js +122 -122
  305. package/packages/components/image-upload/index.js.gz +0 -0
  306. package/packages/components/image-upload/src/Index.vue.d.ts +1 -1
  307. package/packages/components/image-upload/src/hooks/use-imageUpload.d.ts +1 -1
  308. package/packages/components/image-viewer/index.d.ts +1 -1
  309. package/packages/components/image-viewer/index.js +339 -352
  310. package/packages/components/image-viewer/index.js.gz +0 -0
  311. package/packages/components/image-viewer/src/Index.vue.d.ts +1 -1
  312. package/packages/components/image-viewer/src/hooks/use-imageViewer.d.ts +2 -2
  313. package/packages/components/image-viewer/style.css +1 -1
  314. package/packages/components/image-viewer/style.css.gz +0 -0
  315. package/packages/components/index.d.ts +1 -0
  316. package/packages/components/index.js +1 -0
  317. package/packages/components/input/i18n/index.d.ts +18 -0
  318. package/packages/components/input/index.d.ts +18 -15
  319. package/packages/components/input/index.js +123 -112
  320. package/packages/components/input/index.js.gz +0 -0
  321. package/packages/components/input/src/index.vue.d.ts +6 -4
  322. package/packages/components/input/src/type.d.ts +1 -0
  323. package/packages/components/input/style.css +1 -1
  324. package/packages/components/input/style.css.gz +0 -0
  325. package/packages/components/input-dialog-select/i18n/index.d.ts +7 -1
  326. package/packages/components/input-dialog-select/index.d.ts +4 -3
  327. package/packages/components/input-dialog-select/index.js +126 -117
  328. package/packages/components/input-dialog-select/index.js.gz +0 -0
  329. package/packages/components/input-dialog-select/src/Index.vue.d.ts +4 -3
  330. package/packages/components/input-dialog-select/style.css +1 -1
  331. package/packages/components/input-dialog-select/style.css.gz +0 -0
  332. package/packages/components/input-number/index.js +63 -63
  333. package/packages/components/input-number/index.js.gz +0 -0
  334. package/packages/components/input-number/src/App.vue.d.ts +6 -76
  335. package/packages/components/input-number/style.css +1 -1
  336. package/packages/components/input-number/style.css.gz +0 -0
  337. package/packages/components/live-player/i18n/index.d.ts +13 -0
  338. package/packages/components/live-player/index.d.ts +3 -12
  339. package/packages/components/live-player/index.js +214 -204
  340. package/packages/components/live-player/index.js.gz +0 -0
  341. package/packages/components/live-player/style.css +1 -1
  342. package/packages/components/{search → loading}/i18n/index.d.ts +2 -1
  343. package/packages/components/loading/index.js +98 -94
  344. package/packages/components/loading/index.js.gz +0 -0
  345. package/packages/components/map/i18n/index.d.ts +33 -0
  346. package/packages/components/map/index.d.ts +6 -14
  347. package/packages/components/map/index.js +1109 -818
  348. package/packages/components/map/index.js.gz +0 -0
  349. package/packages/components/map/src/get-sdk-config.d.ts +1 -1
  350. package/packages/components/map/src/hooks/use-baidu.d.ts +1 -11
  351. package/packages/components/map/src/hooks/use-gaode.d.ts +1 -11
  352. package/packages/components/map/src/hooks/use-google.d.ts +16 -0
  353. package/packages/components/map/src/hooks/use-map.d.ts +3 -2
  354. package/packages/components/map/src/type.d.ts +1 -1
  355. package/packages/components/map/style.css +1 -1
  356. package/packages/components/menu-aside/i18n/index.d.ts +8 -0
  357. package/packages/components/menu-aside/index.d.ts +10 -15
  358. package/packages/components/menu-aside/index.js +857 -633
  359. package/packages/components/menu-aside/index.js.gz +0 -0
  360. package/packages/components/menu-aside/src/Index.vue.d.ts +4 -6
  361. package/packages/components/menu-aside/src/menu-icon.vue.d.ts +11 -0
  362. package/packages/components/menu-aside/src/style-theme.d.ts +98 -0
  363. package/packages/components/menu-aside/src/sub-menu/sub-menu.vue.d.ts +2 -2
  364. package/packages/components/menu-aside/src/type.d.ts +2 -0
  365. package/packages/components/menu-aside/src/use-aside-menu.d.ts +1 -1
  366. package/packages/components/menu-aside/style.css +1 -1
  367. package/packages/components/menu-aside/style.css.gz +0 -0
  368. package/packages/components/menu-aside/theme/base.d.ts +11 -3
  369. package/packages/components/menu-header/index.d.ts +4 -3
  370. package/packages/components/menu-header/index.js +136 -80
  371. package/packages/components/menu-header/index.js.gz +0 -0
  372. package/packages/components/menu-header/src/Index.vue.d.ts +1 -0
  373. package/packages/components/menu-header/src/style-theme.d.ts +48 -0
  374. package/packages/components/menu-header/src/type.d.ts +1 -0
  375. package/packages/components/menu-header/style.css +1 -1
  376. package/packages/components/menu-header/style.css.gz +0 -0
  377. package/packages/components/menu-header/theme/base.d.ts +3 -8
  378. package/packages/components/message/i18n/index.d.ts +8 -0
  379. package/packages/components/message/index.js +22 -20
  380. package/packages/components/message/index.js.gz +0 -0
  381. package/packages/components/{time-line → notification}/i18n/index.d.ts +2 -1
  382. package/packages/components/notification/index.js +24 -22
  383. package/packages/components/notification/index.js.gz +0 -0
  384. package/packages/components/pagination/i18n/index.d.ts +23 -0
  385. package/packages/components/pagination/index.d.ts +26 -53
  386. package/packages/components/pagination/index.js +157 -146
  387. package/packages/components/pagination/index.js.gz +0 -0
  388. package/packages/components/pagination/src/Pagination.vue.d.ts +4 -31
  389. package/packages/components/pagination/src/components/index.d.ts +4 -20
  390. package/packages/components/pagination/style.css +1 -1
  391. package/packages/components/pagination/style.css.gz +0 -0
  392. package/packages/components/popover/i18n/index.d.ts +2 -0
  393. package/packages/components/popover/index.d.ts +162 -5
  394. package/packages/components/popover/index.js +34 -31
  395. package/packages/components/popover/index.js.gz +0 -0
  396. package/packages/components/popup-mask/index.d.ts +12 -27
  397. package/packages/components/popup-mask/src/Index.vue.d.ts +2 -2
  398. package/packages/components/preview/i18n/index.d.ts +1 -0
  399. package/packages/components/preview/index.d.ts +4 -4
  400. package/packages/components/preview/index.js +9 -10
  401. package/packages/components/preview/index.js.gz +0 -0
  402. package/packages/components/preview/src/Index.vue.d.ts +1 -1
  403. package/packages/components/preview/style.css +1 -1
  404. package/packages/components/progress/index.d.ts +4 -4
  405. package/packages/components/progress/index.js +81 -80
  406. package/packages/components/progress/index.js.gz +0 -0
  407. package/packages/components/progress/src/Index.vue.d.ts +1 -1
  408. package/packages/components/progress/style.css +1 -1
  409. package/packages/components/progress/style.css.gz +0 -0
  410. package/packages/components/radio/index.d.ts +41 -50
  411. package/packages/components/radio/src/Index.vue.d.ts +5 -5
  412. package/packages/components/radio-tabs/index.d.ts +2 -18
  413. package/packages/components/rich-editor/i18n/index.d.ts +23 -0
  414. package/packages/components/rich-editor/index.d.ts +23 -33
  415. package/packages/components/rich-editor/index.js +5496 -5471
  416. package/packages/components/rich-editor/index.js.gz +0 -0
  417. package/packages/components/rich-editor/src/Index.vue.d.ts +5 -5
  418. package/packages/components/rich-editor/src/type.d.ts +3 -0
  419. package/packages/components/scrollbar/index.d.ts +1 -1
  420. package/packages/components/scrollbar/index.js +2 -2
  421. package/packages/components/scrollbar/index.js.gz +0 -0
  422. package/packages/components/scrollbar/src/scrollbar.vue.d.ts +1 -27
  423. package/packages/components/scrollbar/style.css +1 -1
  424. package/packages/components/scrollbar/style.css.gz +0 -0
  425. package/packages/components/search/index.d.ts +14 -5
  426. package/packages/components/search/index.js +56 -47
  427. package/packages/components/search/index.js.gz +0 -0
  428. package/packages/components/search/src/Index.vue.d.ts +20 -5
  429. package/packages/components/search/src/type.d.ts +2 -0
  430. package/packages/components/search/style.css +1 -1
  431. package/packages/components/search/style.css.gz +0 -0
  432. package/packages/components/search-form/i18n/index.d.ts +38 -0
  433. package/packages/components/search-form/index.js +933 -844
  434. package/packages/components/search-form/index.js.gz +0 -0
  435. package/packages/components/search-form/src/Index.vue.d.ts +6 -2
  436. package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
  437. package/packages/components/search-form/src/SearchDateRange.vue.d.ts +3 -3
  438. package/packages/components/search-form/src/hooks/common.d.ts +1 -0
  439. package/packages/components/search-form/src/type.d.ts +6 -0
  440. package/packages/components/search-form/style.css +1 -1
  441. package/packages/components/search-form/style.css.gz +0 -0
  442. package/packages/components/select/i18n/index.d.ts +23 -0
  443. package/packages/components/select/index.d.ts +21 -28
  444. package/packages/components/select/index.js +402 -383
  445. package/packages/components/select/index.js.gz +0 -0
  446. package/packages/components/select/src/Select.vue.d.ts +8 -7
  447. package/packages/components/select/style.css +1 -1
  448. package/packages/components/select/style.css.gz +0 -0
  449. package/packages/components/select-input/index.d.ts +4 -3
  450. package/packages/components/select-input/index.js +68 -61
  451. package/packages/components/select-input/index.js.gz +0 -0
  452. package/packages/components/select-input/src/Index.vue.d.ts +4 -3
  453. package/packages/components/select-input/src/hooks/use-select-input.d.ts +5 -0
  454. package/packages/components/select-input/src/type.d.ts +3 -0
  455. package/packages/components/select-input/style.css +1 -1
  456. package/packages/components/select-input/style.css.gz +0 -0
  457. package/packages/components/select-list/i18n/index.d.ts +4 -0
  458. package/packages/components/select-list/index.d.ts +24 -10
  459. package/packages/components/select-list/index.js +661 -625
  460. package/packages/components/select-list/index.js.gz +0 -0
  461. package/packages/components/select-list/src/Index.vue.d.ts +9 -1
  462. package/packages/components/select-list/src/hooks/use-select-list.d.ts +2 -0
  463. package/packages/components/select-list/src/type.d.ts +22 -4
  464. package/packages/components/select-list/style.css +1 -1
  465. package/packages/components/select-list/style.css.gz +0 -0
  466. package/packages/components/select-list/theme/index.d.ts +2 -0
  467. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
  468. package/packages/components/special-range-picker-month/index.d.ts +3 -3
  469. package/packages/components/special-range-picker-month/index.js +72 -72
  470. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  471. package/packages/components/special-range-picker-month/src/Index.vue.d.ts +3 -3
  472. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
  473. package/packages/components/special-range-picker-year/index.d.ts +3 -3
  474. package/packages/components/special-range-picker-year/index.js +78 -78
  475. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  476. package/packages/components/special-range-picker-year/src/Index.vue.d.ts +3 -3
  477. package/packages/components/spin/i18n/index.d.ts +8 -0
  478. package/packages/components/spin/index.d.ts +4 -4
  479. package/packages/components/spin/index.js +39 -37
  480. package/packages/components/spin/index.js.gz +0 -0
  481. package/packages/components/spin/src/index.vue.d.ts +1 -1
  482. package/packages/components/split-panel/index.d.ts +3 -24
  483. package/packages/components/steps/index.d.ts +1 -1
  484. package/packages/components/table/i18n/index.d.ts +103 -0
  485. package/packages/components/table/index.d.ts +199 -1682
  486. package/packages/components/table/index.js +4241 -4075
  487. package/packages/components/table/index.js.gz +0 -0
  488. package/packages/components/table/src/Table.vue.d.ts +14 -335
  489. package/packages/components/table/src/filter-pane/filterPane.vue.d.ts +2 -2
  490. package/packages/components/table/src/hooks/use-operation.d.ts +55 -5
  491. package/packages/components/table/src/table-column/index.vue.d.ts +4 -65
  492. package/packages/components/table/src/type.d.ts +16 -3
  493. package/packages/components/table/style.css +1 -1
  494. package/packages/components/table/style.css.gz +0 -0
  495. package/packages/components/tabs/i18n/index.d.ts +18 -0
  496. package/packages/components/tabs/index.d.ts +10 -11
  497. package/packages/components/tabs/index.js +171 -146
  498. package/packages/components/tabs/index.js.gz +0 -0
  499. package/packages/components/tabs/src/style-theme.d.ts +13 -0
  500. package/packages/components/tabs/src/type.d.ts +2 -0
  501. package/packages/components/tabs/style.css +1 -1
  502. package/packages/components/tabs/style.css.gz +0 -0
  503. package/packages/components/tabs/theme/base.d.ts +0 -2
  504. package/packages/components/tag/index.d.ts +7 -7
  505. package/packages/components/tag/src/Index.vue.d.ts +2 -2
  506. package/packages/components/text-tooltip/index.js +817 -801
  507. package/packages/components/text-tooltip/index.js.gz +0 -0
  508. package/packages/components/text-tooltip/src/type.d.ts +1 -62
  509. package/packages/components/time-line/index.js +36 -43
  510. package/packages/components/time-line/index.js.gz +0 -0
  511. package/packages/components/tooltip/i18n/index.d.ts +8 -0
  512. package/packages/components/tooltip/index.d.ts +50 -50
  513. package/packages/components/tooltip/index.js +59 -54
  514. package/packages/components/tooltip/index.js.gz +0 -0
  515. package/packages/components/tooltip/src/index.vue.d.ts +7 -330
  516. package/packages/components/tooltip/src/type.d.ts +15 -2
  517. package/packages/components/tooltip/style.css +1 -1
  518. package/packages/components/tooltip/style.css.gz +0 -0
  519. package/packages/components/tree/i18n/index.d.ts +43 -0
  520. package/packages/components/tree/index.js +1409 -1400
  521. package/packages/components/tree/index.js.gz +0 -0
  522. package/packages/components/tree/src/App.vue.d.ts +20 -199
  523. package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
  524. package/packages/components/tree/src/type.d.ts +14 -7
  525. package/packages/components/tree-select/index.js +360 -329
  526. package/packages/components/tree-select/index.js.gz +0 -0
  527. package/packages/components/tree-select/src/App.vue.d.ts +79 -721
  528. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +68 -711
  529. package/packages/components/tree-select/src/type.d.ts +6 -2
  530. package/packages/components/tree-select/style.css +1 -1
  531. package/packages/components/tree-select/style.css.gz +0 -0
  532. package/packages/components/tree-table/index.d.ts +3 -24
  533. package/packages/components/tree-table/index.js +121 -124
  534. package/packages/components/tree-table/index.js.gz +0 -0
  535. package/packages/components/tree-table/style.css +1 -1
  536. package/packages/components/tree-table/style.css.gz +0 -0
  537. package/packages/components/tree-v2/i18n/index.d.ts +36 -0
  538. package/packages/components/tree-v2/index.d.ts +585 -0
  539. package/packages/components/tree-v2/index.js +3372 -0
  540. package/packages/components/tree-v2/index.js.gz +0 -0
  541. package/packages/components/tree-v2/src/App.vue.d.ts +99 -0
  542. package/packages/components/tree-v2/src/empty.vue.d.ts +19 -0
  543. package/packages/components/tree-v2/src/expand-icon.vue.d.ts +2 -0
  544. package/packages/components/tree-v2/src/hooks/use-lazy-tree.d.ts +15 -0
  545. package/packages/components/tree-v2/src/hooks/use-style.d.ts +5 -0
  546. package/packages/components/tree-v2/src/hooks/use-tree.d.ts +43 -0
  547. package/packages/components/tree-v2/src/type.d.ts +283 -0
  548. package/packages/components/tree-v2/src/utils.d.ts +18 -0
  549. package/packages/components/tree-v2/style.css +1 -0
  550. package/packages/components/tree-v2/style.css.gz +0 -0
  551. package/packages/components/tree-v2/theme/base.d.ts +16 -0
  552. package/packages/components/upload/i18n/index.d.ts +10 -0
  553. package/packages/components/upload/index.d.ts +7 -8
  554. package/packages/components/upload/index.js +153 -134
  555. package/packages/components/upload/index.js.gz +0 -0
  556. package/packages/components/upload/src/Index.vue.d.ts +2 -1
  557. package/packages/components/upload/src/type.d.ts +3 -0
  558. package/packages/components/upload/style.css +1 -1
  559. package/packages/components/upload/style.css.gz +0 -0
  560. package/packages/components/virtual-tree/i18n/index.d.ts +8 -0
  561. package/packages/components/virtual-tree/index.js +76 -68
  562. package/packages/components/virtual-tree/index.js.gz +0 -0
  563. package/packages/components/virtual-tree/src/App.vue.d.ts +3 -106
  564. package/packages/components/watermark/index.d.ts +1 -1
  565. package/packages/icons/caret-bottom/index.js +5 -5
  566. package/packages/icons/caret-bottom/index.js.gz +0 -0
  567. package/packages/icons/edit-3/index.d.ts +1 -0
  568. package/packages/icons/edit-3/index.js +17 -0
  569. package/packages/icons/edit-3/index.js.gz +0 -0
  570. package/packages/icons/edit-3/index.vue.d.ts +16 -0
  571. package/packages/icons/exit/index.d.ts +1 -0
  572. package/packages/icons/exit/index.js +17 -0
  573. package/packages/icons/exit/index.js.gz +0 -0
  574. package/packages/icons/exit/index.vue.d.ts +16 -0
  575. package/packages/icons/full-screen/index.js +6 -6
  576. package/packages/icons/full-screen/index.js.gz +0 -0
  577. package/packages/icons/global/index.d.ts +1 -0
  578. package/packages/icons/global/index.js +17 -0
  579. package/packages/icons/global/index.js.gz +0 -0
  580. package/packages/icons/global/index.vue.d.ts +16 -0
  581. package/packages/icons/header-seach/index.js +6 -6
  582. package/packages/icons/header-seach/index.js.gz +0 -0
  583. package/packages/icons/index.d.ts +7 -0
  584. package/packages/icons/index.js +7 -0
  585. package/packages/icons/input-select/index.d.ts +1 -0
  586. package/packages/icons/input-select/index.js +17 -0
  587. package/packages/icons/input-select/index.js.gz +0 -0
  588. package/packages/icons/input-select/index.vue.d.ts +16 -0
  589. package/packages/icons/layout-refresh/index.js +5 -5
  590. package/packages/icons/layout-refresh/index.js.gz +0 -0
  591. package/packages/icons/password-lock2/index.d.ts +1 -0
  592. package/packages/icons/password-lock2/index.js +17 -0
  593. package/packages/icons/password-lock2/index.js.gz +0 -0
  594. package/packages/icons/password-lock2/index.vue.d.ts +16 -0
  595. package/packages/icons/project-list/index.js +5 -5
  596. package/packages/icons/project-list/index.js.gz +0 -0
  597. package/packages/icons/project-tree/index.js +4 -4
  598. package/packages/icons/project-tree/index.js.gz +0 -0
  599. package/packages/icons/right-3/index.d.ts +1 -0
  600. package/packages/icons/right-3/index.js +17 -0
  601. package/packages/icons/right-3/index.js.gz +0 -0
  602. package/packages/icons/right-3/index.vue.d.ts +16 -0
  603. package/packages/icons/system/index.d.ts +1 -0
  604. package/packages/icons/system/index.js +17 -0
  605. package/packages/icons/system/index.js.gz +0 -0
  606. package/packages/icons/system/index.vue.d.ts +16 -0
@@ -1,13 +1,14 @@
1
1
  import '@das-fed/ui/packages/components/live-player/style.css';
2
- import { defineComponent as Xt, useCssVars as Yt, toRefs as Jt, computed as ot, ref as Xe, onMounted as Zt, onBeforeUnmount as $t, withDirectives as Qt, openBlock as dt, createElementBlock as _t, unref as We, normalizeStyle as ei, renderSlot as ti, createTextVNode as ii, toDisplayString as ni } from "vue";
3
- import { withInstall as ai } from "@das-fed/utils/with-install/index";
4
- import { ElLoadingDirective as ri } from "element-plus/es";
2
+ import { defineComponent as Yt, useCssVars as Jt, toRefs as Zt, computed as ot, ref as Xe, onMounted as $t, onBeforeUnmount as Qt, withDirectives as ei, openBlock as dt, createElementBlock as _t, unref as We, normalizeStyle as ti, renderSlot as ii, createTextVNode as ni, toDisplayString as ai } from "vue";
3
+ import { withInstall as ri } from "@das-fed/utils/with-install/index";
4
+ import { ElLoadingDirective as si } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import "element-plus/es/components/loading/style/css";
7
- function si(Ie) {
7
+ import { t as At, setI18nRule as oi } from "@das-fed/web/packages/i18n/index";
8
+ function di(Ie) {
8
9
  return Ie && Ie.__esModule && Object.prototype.hasOwnProperty.call(Ie, "default") ? Ie.default : Ie;
9
10
  }
10
- var Rt = { exports: {} };
11
+ var Tt = { exports: {} };
11
12
  (function(Ie, Ye) {
12
13
  (function(fe, Z) {
13
14
  Ie.exports = Z();
@@ -128,10 +129,10 @@ var Rt = { exports: {} };
128
129
  return f;
129
130
  });
130
131
  var U, B = (U = function(L, x) {
131
- return (U = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(C, F) {
132
- C.__proto__ = F;
133
- } || function(C, F) {
134
- for (var H in F) F.hasOwnProperty(H) && (C[H] = F[H]);
132
+ return (U = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(C, V) {
133
+ C.__proto__ = V;
134
+ } || function(C, V) {
135
+ for (var H in V) V.hasOwnProperty(H) && (C[H] = V[H]);
135
136
  })(L, x);
136
137
  }, function(L, x) {
137
138
  function C() {
@@ -231,11 +232,11 @@ var Rt = { exports: {} };
231
232
  }
232
233
  return y;
233
234
  }
234
- function F() {
235
+ function V() {
235
236
  if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
236
237
  }
237
238
  function H(y, G, T) {
238
- var h = { fired: !1, wrapFn: void 0, target: y, type: G, listener: T }, _ = F.bind(h);
239
+ var h = { fired: !1, wrapFn: void 0, target: y, type: G, listener: T }, _ = V.bind(h);
239
240
  return _.listener = T, h.wrapFn = _, _;
240
241
  }
241
242
  function _e(y, G, T) {
@@ -296,8 +297,8 @@ var Rt = { exports: {} };
296
297
  if (P === void 0) return !1;
297
298
  if (typeof P == "function") m(P, this, G);
298
299
  else {
299
- var D = P.length, V = Y(P, D);
300
- for (T = 0; T < D; ++T) m(V[T], this, G);
300
+ var D = P.length, F = Y(P, D);
301
+ for (T = 0; T < D; ++T) m(F[T], this, G);
301
302
  }
302
303
  return !0;
303
304
  }, v.prototype.addListener = function(y, G) {
@@ -376,13 +377,13 @@ var Rt = { exports: {} };
376
377
  f.length !== 0 && (L.length > 0 && f[0].originalDts < L[L.length - 1].originalDts && this.clear(), Array.prototype.push.apply(L, f));
377
378
  }, v.prototype.getLastSyncPointBeforeDts = function(f) {
378
379
  if (this._list.length == 0) return null;
379
- var L = this._list, x = 0, C = L.length - 1, F = 0, H = 0, _e = C;
380
+ var L = this._list, x = 0, C = L.length - 1, V = 0, H = 0, _e = C;
380
381
  for (f < L[0].dts && (x = 0, H = _e + 1); H <= _e; ) {
381
- if ((F = H + Math.floor((_e - H) / 2)) === C || f >= L[F].dts && f < L[F + 1].dts) {
382
- x = F;
382
+ if ((V = H + Math.floor((_e - H) / 2)) === C || f >= L[V].dts && f < L[V + 1].dts) {
383
+ x = V;
383
384
  break;
384
385
  }
385
- L[F].dts < f ? H = F + 1 : _e = F - 1;
386
+ L[V].dts < f ? H = V + 1 : _e = V - 1;
386
387
  }
387
388
  return this._list[x];
388
389
  }, v;
@@ -401,21 +402,21 @@ var Rt = { exports: {} };
401
402
  }, v.prototype._searchNearestSegmentBefore = function(f) {
402
403
  var L = this._list;
403
404
  if (L.length === 0) return -2;
404
- var x = L.length - 1, C = 0, F = 0, H = x, _e = 0;
405
+ var x = L.length - 1, C = 0, V = 0, H = x, _e = 0;
405
406
  if (f < L[0].originalBeginDts) return _e = -1;
406
- for (; F <= H; ) {
407
- if ((C = F + Math.floor((H - F) / 2)) === x || f > L[C].lastSample.originalDts && f < L[C + 1].originalBeginDts) {
407
+ for (; V <= H; ) {
408
+ if ((C = V + Math.floor((H - V) / 2)) === x || f > L[C].lastSample.originalDts && f < L[C + 1].originalBeginDts) {
408
409
  _e = C;
409
410
  break;
410
411
  }
411
- L[C].originalBeginDts < f ? F = C + 1 : H = C - 1;
412
+ L[C].originalBeginDts < f ? V = C + 1 : H = C - 1;
412
413
  }
413
414
  return _e;
414
415
  }, v.prototype._searchNearestSegmentAfter = function(f) {
415
416
  return this._searchNearestSegmentBefore(f) + 1;
416
417
  }, v.prototype.append = function(f) {
417
- var L = this._list, x = f, C = this._lastAppendLocation, F = 0;
418
- C !== -1 && C < L.length && x.originalBeginDts >= L[C].lastSample.originalDts && (C === L.length - 1 || C < L.length - 1 && x.originalBeginDts < L[C + 1].originalBeginDts) ? F = C + 1 : L.length > 0 && (F = this._searchNearestSegmentBefore(x.originalBeginDts) + 1), this._lastAppendLocation = F, this._list.splice(F, 0, x);
418
+ var L = this._list, x = f, C = this._lastAppendLocation, V = 0;
419
+ C !== -1 && C < L.length && x.originalBeginDts >= L[C].lastSample.originalDts && (C === L.length - 1 || C < L.length - 1 && x.originalBeginDts < L[C + 1].originalBeginDts) ? V = C + 1 : L.length > 0 && (V = this._searchNearestSegmentBefore(x.originalBeginDts) + 1), this._lastAppendLocation = V, this._list.splice(V, 0, x);
419
420
  }, v.prototype.getLastSegmentBefore = function(f) {
420
421
  var L = this._searchNearestSegmentBefore(f);
421
422
  return L >= 0 ? this._list[L] : null;
@@ -546,7 +547,7 @@ var Rt = { exports: {} };
546
547
  t.push("�"), ++e;
547
548
  }
548
549
  return t.join("");
549
- }, C = O(3), F = (L = new ArrayBuffer(2), new DataView(L).setInt16(0, 256, !0), new Int16Array(L)[0] === 256), H = function() {
550
+ }, C = O(3), V = (L = new ArrayBuffer(2), new DataView(L).setInt16(0, 256, !0), new Int16Array(L)[0] === 256), H = function() {
550
551
  function n() {
551
552
  }
552
553
  return n.parseScriptData = function(t, i, e) {
@@ -566,15 +567,15 @@ var Rt = { exports: {} };
566
567
  return n.parseObject(t, i, e);
567
568
  }, n.parseString = function(t, i, e) {
568
569
  if (e < 2) throw new C.a("Data not enough when parse String");
569
- var a = new DataView(t, i, e).getUint16(0, !F);
570
+ var a = new DataView(t, i, e).getUint16(0, !V);
570
571
  return { data: a > 0 ? x(new Uint8Array(t, i + 2, a)) : "", size: 2 + a };
571
572
  }, n.parseLongString = function(t, i, e) {
572
573
  if (e < 4) throw new C.a("Data not enough when parse LongString");
573
- var a = new DataView(t, i, e).getUint32(0, !F);
574
+ var a = new DataView(t, i, e).getUint32(0, !V);
574
575
  return { data: a > 0 ? x(new Uint8Array(t, i + 4, a)) : "", size: 4 + a };
575
576
  }, n.parseDate = function(t, i, e) {
576
577
  if (e < 10) throw new C.a("Data size invalid when parse Date");
577
- var a = new DataView(t, i, e), s = a.getFloat64(0, !F), r = a.getInt16(8, !F);
578
+ var a = new DataView(t, i, e), s = a.getFloat64(0, !V), r = a.getInt16(8, !V);
578
579
  return { data: new Date(s += 60 * r * 1e3), size: 10 };
579
580
  }, n.parseValue = function(t, i, e) {
580
581
  if (e < 1) throw new C.a("Data not enough when parse Value");
@@ -582,7 +583,7 @@ var Rt = { exports: {} };
582
583
  try {
583
584
  switch (o) {
584
585
  case 0:
585
- a = s.getFloat64(1, !F), r += 8;
586
+ a = s.getFloat64(1, !V), r += 8;
586
587
  break;
587
588
  case 1:
588
589
  a = !!s.getUint8(1), r += 1;
@@ -594,27 +595,27 @@ var Rt = { exports: {} };
594
595
  case 3:
595
596
  a = {};
596
597
  var E = 0;
597
- for ((16777215 & s.getUint32(e - 4, !F)) == 9 && (E = 3); r < e - 4; ) {
598
+ for ((16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); r < e - 4; ) {
598
599
  var A = n.parseObject(t, i + r, e - r - E);
599
600
  if (A.objectEnd) break;
600
601
  a[A.data.name] = A.data.value, r += A.size;
601
602
  }
602
- r <= e - 3 && (16777215 & s.getUint32(r - 1, !F)) === 9 && (r += 3);
603
+ r <= e - 3 && (16777215 & s.getUint32(r - 1, !V)) === 9 && (r += 3);
603
604
  break;
604
605
  case 8:
605
- for (a = {}, r += 4, E = 0, (16777215 & s.getUint32(e - 4, !F)) == 9 && (E = 3); r < e - 8; ) {
606
+ for (a = {}, r += 4, E = 0, (16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); r < e - 8; ) {
606
607
  var S = n.parseVariable(t, i + r, e - r - E);
607
608
  if (S.objectEnd) break;
608
609
  a[S.data.name] = S.data.value, r += S.size;
609
610
  }
610
- r <= e - 3 && (16777215 & s.getUint32(r - 1, !F)) === 9 && (r += 3);
611
+ r <= e - 3 && (16777215 & s.getUint32(r - 1, !V)) === 9 && (r += 3);
611
612
  break;
612
613
  case 9:
613
614
  a = void 0, r = 1, p = !0;
614
615
  break;
615
616
  case 10:
616
617
  a = [];
617
- var w = s.getUint32(1, !F);
618
+ var w = s.getUint32(1, !V);
618
619
  r += 4;
619
620
  for (var I = 0; I < w; I++) {
620
621
  var z = n.parseValue(t, i + r, e - r);
@@ -719,13 +720,13 @@ var Rt = { exports: {} };
719
720
  Re = o.readBool(), ye = (ke = je) / (Ne = 2 * Ge);
720
721
  }
721
722
  }
722
- var Ve = 1;
723
- Ae === 1 && he === 1 || (Ve = Ae / he);
723
+ var Fe = 1;
724
+ Ae === 1 && he === 1 || (Fe = Ae / he);
724
725
  var Ce = 0, ge = 0;
725
726
  S === 0 ? (Ce = 1, ge = 2 - Q) : (Ce = S === 3 ? 1 : 2, ge = (S === 1 ? 2 : 1) * (2 - Q));
726
727
  var xe = 16 * (le + 1), Ue = 16 * (K + 1) * (2 - Q);
727
728
  xe -= (ce + te) * Ce, Ue -= (re + be) * ge;
728
- var Je = Math.ceil(xe * Ve);
729
+ var Je = Math.ceil(xe * Fe);
729
730
  return o.destroy(), o = null, { codec_mimetype: e, profile_idc: p, level_idc: g, profile_string: E, level_string: A, chroma_format_idc: S, bit_depth: I, bit_depth_luma: I, bit_depth_chroma: z, ref_frames: de, chroma_format: w, chroma_format_string: n.getChromaFormatString(w), frame_rate: { fixed: Re, fps: ye, fps_den: Ne, fps_num: ke }, sar_ratio: { width: Ae, height: he }, codec_size: { width: xe, height: Ue }, present_size: { width: Je, height: Ue } };
730
731
  }, n._skipScalingList = function(t, i) {
731
732
  for (var e = 8, a = 8, s = 0; s < i; s++) a !== 0 && (a = (e + t.readSEG() + 256) % 256), e = a === 0 ? e : a;
@@ -792,8 +793,8 @@ var Rt = { exports: {} };
792
793
  e.readBool(), e.readBool(), e.readBool() && (e.readByte(), e.readUEG(), e.readUEG(), e.readBool());
793
794
  var Ge = e.readUEG(), je = 0;
794
795
  for (te = 0; te < Ge; te++) {
795
- var Ve = !1;
796
- if (te !== 0 && (Ve = e.readBool()), Ve) {
796
+ var Fe = !1;
797
+ if (te !== 0 && (Fe = e.readBool()), Fe) {
797
798
  te === Ge && e.readUEG(), e.readBool(), e.readUEG();
798
799
  for (var Ce = 0, ge = 0; ge <= je; ge++) {
799
800
  var xe = e.readBool(), Ue = !1;
@@ -807,8 +808,8 @@ var Rt = { exports: {} };
807
808
  }
808
809
  }
809
810
  if (e.readBool()) {
810
- var Kt = e.readUEG();
811
- for (te = 0; te < Kt; te++) {
811
+ var Wt = e.readUEG();
812
+ for (te = 0; te < Wt; te++) {
812
813
  for (ge = 0; ge < Re + 4; ge++) e.readBits(1);
813
814
  e.readBits(1);
814
815
  }
@@ -834,8 +835,8 @@ var Rt = { exports: {} };
834
835
  e.readBool() && (e.readBool(), e.readBool(), e.readBool(), pt = e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG());
835
836
  }
836
837
  e.readBool();
837
- var Wt = "hvc1." + A + ".1.L" + K + ".B0", bt = be - (a + s) * (re === 1 || re === 2 ? 2 : 1), St = Ae - (r + o) * (re === 1 ? 2 : 1), Et = 1;
838
- return He !== 1 && qe !== 1 && (Et = He / qe), e.destroy(), e = null, { codec_mimetype: Wt, level_string: n.getLevelString(K), profile_idc: A, bit_depth: he + 8, ref_frames: 1, chroma_format: re, chroma_format_string: n.getChromaFormatString(re), general_level_idc: K, general_profile_space: g, general_tier_flag: E, general_profile_idc: A, general_profile_compatibility_flags_1: S, general_profile_compatibility_flags_2: w, general_profile_compatibility_flags_3: I, general_profile_compatibility_flags_4: z, general_constraint_indicator_flags_1: N, general_constraint_indicator_flags_2: J, general_constraint_indicator_flags_3: W, general_constraint_indicator_flags_4: q, general_constraint_indicator_flags_5: de, general_constraint_indicator_flags_6: le, min_spatial_segmentation_idc: pt, constant_frame_rate: 0, chroma_format_idc: re, bit_depth_luma_minus8: he, bit_depth_chroma_minus8: ye, frame_rate: { fixed: mt, fps: nt / it, fps_den: it, fps_num: nt }, sar_ratio: { width: He, height: qe }, codec_size: { width: bt, height: St }, present_size: { width: bt * Et, height: St } };
838
+ var Xt = "hvc1." + A + ".1.L" + K + ".B0", bt = be - (a + s) * (re === 1 || re === 2 ? 2 : 1), St = Ae - (r + o) * (re === 1 ? 2 : 1), Et = 1;
839
+ return He !== 1 && qe !== 1 && (Et = He / qe), e.destroy(), e = null, { codec_mimetype: Xt, level_string: n.getLevelString(K), profile_idc: A, bit_depth: he + 8, ref_frames: 1, chroma_format: re, chroma_format_string: n.getChromaFormatString(re), general_level_idc: K, general_profile_space: g, general_tier_flag: E, general_profile_idc: A, general_profile_compatibility_flags_1: S, general_profile_compatibility_flags_2: w, general_profile_compatibility_flags_3: I, general_profile_compatibility_flags_4: z, general_constraint_indicator_flags_1: N, general_constraint_indicator_flags_2: J, general_constraint_indicator_flags_3: W, general_constraint_indicator_flags_4: q, general_constraint_indicator_flags_5: de, general_constraint_indicator_flags_6: le, min_spatial_segmentation_idc: pt, constant_frame_rate: 0, chroma_format_idc: re, bit_depth_luma_minus8: he, bit_depth_chroma_minus8: ye, frame_rate: { fixed: mt, fps: nt / it, fps_den: it, fps_num: nt }, sar_ratio: { width: He, height: qe }, codec_size: { width: bt, height: St }, present_size: { width: bt * Et, height: St } };
839
840
  }, n.parsePPS = function(t) {
840
841
  var i = n._ebsp2rbsp(t), e = new _e(i);
841
842
  e.readByte(), e.readByte(), e.readUEG(), e.readUEG(), e.readBool(), e.readBool(), e.readBits(3), e.readBool(), e.readBool(), e.readUEG(), e.readUEG(), e.readSEG(), e.readBool(), e.readBool(), e.readBool() && e.readUEG(), e.readSEG(), e.readSEG(), e.readBool(), e.readBool(), e.readBool(), e.readBool();
@@ -1274,7 +1275,7 @@ var Rt = { exports: {} };
1274
1275
  (function(n) {
1275
1276
  n[n.kMPEG1Audio = 3] = "kMPEG1Audio", n[n.kMPEG2Audio = 4] = "kMPEG2Audio", n[n.kPESPrivateData = 6] = "kPESPrivateData", n[n.kADTSAAC = 15] = "kADTSAAC", n[n.kLOASAAC = 17] = "kLOASAAC", n[n.kAC3 = 129] = "kAC3", n[n.kID3 = 21] = "kID3", n[n.kSCTE35 = 134] = "kSCTE35", n[n.kH264 = 27] = "kH264", n[n.kH265 = 36] = "kH265";
1276
1277
  })(_ || (_ = {}));
1277
- var D, V = function() {
1278
+ var D, F = function() {
1278
1279
  this.pid_stream_type = {}, this.common_pids = { h264: void 0, h265: void 0, adts_aac: void 0, loas_aac: void 0, opus: void 0, ac3: void 0, mp3: void 0 }, this.pes_private_data_pids = {}, this.timed_id3_pids = {}, this.scte_35_pids = {}, this.smpte2038_pids = {};
1279
1280
  }, ee = function() {
1280
1281
  }, pe = function() {
@@ -1496,35 +1497,35 @@ var Rt = { exports: {} };
1496
1497
  return e.duration_flag && (e.break_duration = Be(n)), e.unique_program_id = n.readBits(16), e.avail_num = n.readBits(8), e.avails_expected = n.readBits(8), e;
1497
1498
  }, tt = function(n, t, i, e) {
1498
1499
  return { descriptor_tag: n, descriptor_length: t, identifier: i, provider_avail_id: e.readBits(32) };
1499
- }, Tt = function(n, t, i, e) {
1500
+ }, wt = function(n, t, i, e) {
1500
1501
  var a = e.readBits(8), s = e.readBits(3);
1501
1502
  e.readBits(5);
1502
1503
  for (var r = "", o = 0; o < s; o++) r += String.fromCharCode(e.readBits(8));
1503
1504
  return { descriptor_tag: n, descriptor_length: t, identifier: i, preroll: a, dtmf_count: s, DTMF_char: r };
1504
- }, wt = function(n) {
1505
+ }, kt = function(n) {
1505
1506
  var t = n.readBits(8);
1506
1507
  return n.readBits(7), { component_tag: t, pts_offset: 4 * n.readBits(31) + n.readBits(2) };
1507
- }, kt = function(n, t, i, e) {
1508
+ }, Lt = function(n, t, i, e) {
1508
1509
  var a = e.readBits(32), s = e.readBool();
1509
1510
  e.readBits(7);
1510
1511
  var r = { descriptor_tag: n, descriptor_length: t, identifier: i, segmentation_event_id: a, segmentation_event_cancel_indicator: s };
1511
1512
  if (s) return r;
1512
1513
  if (r.program_segmentation_flag = e.readBool(), r.segmentation_duration_flag = e.readBool(), r.delivery_not_restricted_flag = e.readBool(), r.delivery_not_restricted_flag ? e.readBits(5) : (r.web_delivery_allowed_flag = e.readBool(), r.no_regional_blackout_flag = e.readBool(), r.archive_allowed_flag = e.readBool(), r.device_restrictions = e.readBits(2)), !r.program_segmentation_flag) {
1513
1514
  r.component_count = e.readBits(8), r.components = [];
1514
- for (var o = 0; o < r.component_count; o++) r.components.push(wt(e));
1515
+ for (var o = 0; o < r.component_count; o++) r.components.push(kt(e));
1515
1516
  }
1516
1517
  r.segmentation_duration_flag && (r.segmentation_duration = e.readBits(40)), r.segmentation_upid_type = e.readBits(8), r.segmentation_upid_length = e.readBits(8);
1517
1518
  var p = new Uint8Array(r.segmentation_upid_length);
1518
1519
  for (o = 0; o < r.segmentation_upid_length; o++) p[o] = e.readBits(8);
1519
1520
  return r.segmentation_upid = p.buffer, r.segmentation_type_id = e.readBits(8), r.segment_num = e.readBits(8), r.segments_expected = e.readBits(8), r.segmentation_type_id !== 52 && r.segmentation_type_id !== 54 && r.segmentation_type_id !== 56 && r.segmentation_type_id !== 58 || (r.sub_segment_num = e.readBits(8), r.sub_segments_expected = e.readBits(8)), r;
1520
- }, Lt = function(n, t, i, e) {
1521
+ }, Dt = function(n, t, i, e) {
1521
1522
  return { descriptor_tag: n, descriptor_length: t, identifier: i, TAI_seconds: e.readBits(48), TAI_ns: e.readBits(32), UTC_offset: e.readBits(16) };
1522
- }, Dt = function(n) {
1523
+ }, Ct = function(n) {
1523
1524
  return { component_tag: n.readBits(8), ISO_code: String.fromCharCode(n.readBits(8), n.readBits(8), n.readBits(8)), Bit_Stream_Mode: n.readBits(3), Num_Channels: n.readBits(4), Full_Srvc_Audio: n.readBool() };
1524
- }, Ct = function(n, t, i, e) {
1525
- for (var a = e.readBits(4), s = [], r = 0; r < a; r++) s.push(Dt(e));
1525
+ }, Bt = function(n, t, i, e) {
1526
+ for (var a = e.readBits(4), s = [], r = 0; r < a; r++) s.push(Ct(e));
1526
1527
  return { descriptor_tag: n, descriptor_length: t, identifier: i, audio_count: a, components: s };
1527
- }, Bt = function(n) {
1528
+ }, It = function(n) {
1528
1529
  var t = new _e(n), i = t.readBits(8), e = t.readBool(), a = t.readBool();
1529
1530
  t.readBits(2);
1530
1531
  var s = t.readBits(12), r = t.readBits(8), o = t.readBool(), p = t.readBits(6), g = 4 * t.readBits(31) + t.readBits(2), E = t.readBits(8), A = t.readBits(12), S = t.readBits(12), w = t.readBits(8), I = null;
@@ -1549,7 +1550,7 @@ var Rt = { exports: {} };
1549
1550
  }(S, t) : t.readBits(8 * S);
1550
1551
  for (var z = [], N = t.readBits(16), J = 0; J < N; ) {
1551
1552
  var W = t.readBits(8), q = t.readBits(8), de = String.fromCharCode(t.readBits(8), t.readBits(8), t.readBits(8), t.readBits(8));
1552
- W === 0 ? z.push(tt(W, q, de, t)) : W === 1 ? z.push(Tt(W, q, de, t)) : W === 2 ? z.push(kt(W, q, de, t)) : W === 3 ? z.push(Lt(W, q, de, t)) : W === 4 ? z.push(Ct(W, q, de, t)) : t.readBits(8 * (q - 4)), J += 2 + q;
1553
+ W === 0 ? z.push(tt(W, q, de, t)) : W === 1 ? z.push(wt(W, q, de, t)) : W === 2 ? z.push(Lt(W, q, de, t)) : W === 3 ? z.push(Dt(W, q, de, t)) : W === 4 ? z.push(Bt(W, q, de, t)) : t.readBits(8 * (q - 4)), J += 2 + q;
1553
1554
  }
1554
1555
  var le = { table_id: i, section_syntax_indicator: e, private_indicator: a, section_length: s, protocol_version: r, encrypted_packet: o, encryption_algorithm: p, pts_adjustment: g, cw_index: E, tier: A, splice_command_length: S, splice_command_type: w, splice_command: I, descriptor_loop_length: N, splice_descriptors: z, E_CRC32: o ? t.readBits(32) : void 0, CRC32: t.readBits(32) };
1555
1556
  if (w === Se.kSpliceInsert) {
@@ -1570,11 +1571,11 @@ var Rt = { exports: {} };
1570
1571
  (function(n) {
1571
1572
  n[n.kSliceIDR_W_RADL = 19] = "kSliceIDR_W_RADL", n[n.kSliceIDR_N_LP = 20] = "kSliceIDR_N_LP", n[n.kSliceCRA_NUT = 21] = "kSliceCRA_NUT", n[n.kSliceVPS = 32] = "kSliceVPS", n[n.kSliceSPS = 33] = "kSliceSPS", n[n.kSlicePPS = 34] = "kSlicePPS", n[n.kSliceAUD = 35] = "kSliceAUD";
1572
1573
  })(Ee || (Ee = {}));
1573
- var It = function() {
1574
- }, Ot = function(n) {
1574
+ var Ot = function() {
1575
+ }, Pt = function(n) {
1575
1576
  var t = n.data.byteLength;
1576
1577
  this.type = n.type, this.data = new Uint8Array(4 + t), new DataView(this.data.buffer).setUint32(0, t), this.data.set(n.data, 4);
1577
- }, Pt = function() {
1578
+ }, Mt = function() {
1578
1579
  function n(t) {
1579
1580
  this.TAG = "H265AnnexBParser", this.current_startcode_offset_ = 0, this.eof_flag_ = !1, this.data_ = t, this.current_startcode_offset_ = this.findNextStartCodeOffset(0), this.eof_flag_ && m.a.e(this.TAG, "Could not find H265 startcode until payload end!");
1580
1581
  }
@@ -1590,12 +1591,12 @@ var Rt = { exports: {} };
1590
1591
  var e = this.current_startcode_offset_, a = t[e += (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) === 1 ? 4 : 3] >> 1 & 63, s = (128 & t[e]) >>> 7, r = this.findNextStartCodeOffset(e);
1591
1592
  if (this.current_startcode_offset_ = r, s === 0) {
1592
1593
  var o = t.subarray(e, r);
1593
- (i = new It()).type = a, i.data = o;
1594
+ (i = new Ot()).type = a, i.data = o;
1594
1595
  }
1595
1596
  }
1596
1597
  return i;
1597
1598
  }, n;
1598
- }(), Mt = function() {
1599
+ }(), xt = function() {
1599
1600
  function n(t, i, e, a) {
1600
1601
  var s = 23 + (5 + t.byteLength) + (5 + i.byteLength) + (5 + e.byteLength), r = this.data = new Uint8Array(s);
1601
1602
  r[0] = 1, r[1] = (3 & a.general_profile_space) << 6 | (a.general_tier_flag ? 1 : 0) << 5 | 31 & a.general_profile_idc, r[2] = a.general_profile_compatibility_flags_1, r[3] = a.general_profile_compatibility_flags_2, r[4] = a.general_profile_compatibility_flags_3, r[5] = a.general_profile_compatibility_flags_4, r[6] = a.general_constraint_indicator_flags_1, r[7] = a.general_constraint_indicator_flags_2, r[8] = a.general_constraint_indicator_flags_3, r[9] = a.general_constraint_indicator_flags_4, r[10] = a.general_constraint_indicator_flags_5, r[11] = a.general_constraint_indicator_flags_6, r[12] = a.general_level_idc, r[13] = 240 | (3840 & a.min_spatial_segmentation_idc) >> 8, r[14] = 255 & a.min_spatial_segmentation_idc, r[15] = 252 | 3 & a.parallelismType, r[16] = 252 | 3 & a.chroma_format_idc, r[17] = 248 | 7 & a.bit_depth_luma_minus8, r[18] = 248 | 7 & a.bit_depth_chroma_minus8, r[19] = 0, r[20] = 0, r[21] = (3 & a.constant_frame_rate) << 6 | (7 & a.num_temporal_layers) << 3 | (a.temporal_id_nested ? 1 : 0) << 2 | 3, r[22] = 3, r[23] = 128 | Ee.kSliceVPS, r[24] = 0, r[25] = 1, r[26] = (65280 & t.byteLength) >> 8, r[27] = (255 & t.byteLength) >> 0, r.set(t, 28), r[23 + (5 + t.byteLength) + 0] = 128 | Ee.kSliceSPS, r[23 + (5 + t.byteLength) + 1] = 0, r[23 + (5 + t.byteLength) + 2] = 1, r[23 + (5 + t.byteLength) + 3] = (65280 & i.byteLength) >> 8, r[23 + (5 + t.byteLength) + 4] = (255 & i.byteLength) >> 0, r.set(i, 23 + (5 + t.byteLength) + 5), r[23 + (5 + t.byteLength + 5 + i.byteLength) + 0] = 128 | Ee.kSlicePPS, r[23 + (5 + t.byteLength + 5 + i.byteLength) + 1] = 0, r[23 + (5 + t.byteLength + 5 + i.byteLength) + 2] = 1, r[23 + (5 + t.byteLength + 5 + i.byteLength) + 3] = (65280 & e.byteLength) >> 8, r[23 + (5 + t.byteLength + 5 + i.byteLength) + 4] = (255 & e.byteLength) >> 0, r.set(e, 23 + (5 + t.byteLength + 5 + i.byteLength) + 5);
@@ -1603,10 +1604,10 @@ var Rt = { exports: {} };
1603
1604
  return n.prototype.getData = function() {
1604
1605
  return this.data;
1605
1606
  }, n;
1606
- }(), xt = function() {
1607
- }, Ut = function() {
1607
+ }(), Ut = function() {
1608
1608
  }, Nt = function() {
1609
- }, Gt = [[64, 64, 80, 80, 96, 96, 112, 112, 128, 128, 160, 160, 192, 192, 224, 224, 256, 256, 320, 320, 384, 384, 448, 448, 512, 512, 640, 640, 768, 768, 896, 896, 1024, 1024, 1152, 1152, 1280, 1280], [69, 70, 87, 88, 104, 105, 121, 122, 139, 140, 174, 175, 208, 209, 243, 244, 278, 279, 348, 349, 417, 418, 487, 488, 557, 558, 696, 697, 835, 836, 975, 976, 1114, 1115, 1253, 1254, 1393, 1394], [96, 96, 120, 120, 144, 144, 168, 168, 192, 192, 240, 240, 288, 288, 336, 336, 384, 384, 480, 480, 576, 576, 672, 672, 768, 768, 960, 960, 1152, 1152, 1344, 1344, 1536, 1536, 1728, 1728, 1920, 1920]], Vt = function() {
1609
+ }, Gt = function() {
1610
+ }, Ft = [[64, 64, 80, 80, 96, 96, 112, 112, 128, 128, 160, 160, 192, 192, 224, 224, 256, 256, 320, 320, 384, 384, 448, 448, 512, 512, 640, 640, 768, 768, 896, 896, 1024, 1024, 1152, 1152, 1280, 1280], [69, 70, 87, 88, 104, 105, 121, 122, 139, 140, 174, 175, 208, 209, 243, 244, 278, 279, 348, 349, 417, 418, 487, 488, 557, 558, 696, 697, 835, 836, 975, 976, 1114, 1115, 1253, 1254, 1393, 1394], [96, 96, 120, 120, 144, 144, 168, 168, 192, 192, 240, 240, 288, 288, 336, 336, 384, 384, 480, 480, 576, 576, 672, 672, 768, 768, 960, 960, 1152, 1152, 1344, 1344, 1536, 1536, 1728, 1728, 1920, 1920]], Vt = function() {
1610
1611
  function n(t) {
1611
1612
  this.TAG = "AC3Parser", this.data_ = t, this.current_syncword_offset_ = this.findNextSyncwordOffset(0), this.eof_flag_ && m.a.e(this.TAG, "Could not found AC3 syncword until payload end");
1612
1613
  }
@@ -1618,7 +1619,7 @@ var Rt = { exports: {} };
1618
1619
  }
1619
1620
  }, n.prototype.readNextAC3Frame = function() {
1620
1621
  for (var t = this.data_, i = null; i == null && !this.eof_flag_; ) {
1621
- var e = this.current_syncword_offset_, a = t[e + 4] >> 6, s = [48e3, 44200, 33e3][a], r = 63 & t[e + 4], o = 2 * Gt[a][r];
1622
+ var e = this.current_syncword_offset_, a = t[e + 4] >> 6, s = [48e3, 44200, 33e3][a], r = 63 & t[e + 4], o = 2 * Ft[a][r];
1622
1623
  if (e + o > this.data_.byteLength) {
1623
1624
  this.eof_flag_ = !0, this.has_last_incomplete_data = !0;
1624
1625
  break;
@@ -1628,7 +1629,7 @@ var Rt = { exports: {} };
1628
1629
  var g = t[e + 5] >> 3, E = 7 & t[e + 5], A = t[e + 6] >> 5, S = 0;
1629
1630
  1 & A && A !== 1 && (S += 2), 4 & A && (S += 2), A === 2 && (S += 2);
1630
1631
  var w = (t[e + 6] << 8 | t[e + 7] << 0) >> 12 - S & 1, I = [2, 1, 2, 3, 3, 4, 4, 5][A] + w;
1631
- (i = new Nt()).sampling_frequency = s, i.channel_count = I, i.channel_mode = A, i.bit_stream_identification = g, i.low_frequency_effects_channel_on = w, i.bit_stream_mode = E, i.frame_size_code = r, i.data = t.subarray(e, e + o);
1632
+ (i = new Gt()).sampling_frequency = s, i.channel_count = I, i.channel_mode = A, i.bit_stream_identification = g, i.low_frequency_effects_channel_on = w, i.bit_stream_mode = E, i.frame_size_code = r, i.data = t.subarray(e, e + o);
1632
1633
  }
1633
1634
  return i;
1634
1635
  }, n.prototype.hasIncompleteData = function() {
@@ -1636,10 +1637,10 @@ var Rt = { exports: {} };
1636
1637
  }, n.prototype.getIncompleteData = function() {
1637
1638
  return this.has_last_incomplete_data ? this.data_.subarray(this.current_syncword_offset_) : null;
1638
1639
  }, n;
1639
- }(), Ft = function(n) {
1640
+ }(), jt = function(n) {
1640
1641
  var t;
1641
1642
  t = [n.sampling_rate_code << 6 | n.bit_stream_identification << 1 | n.bit_stream_mode >> 2, (3 & n.bit_stream_mode) << 6 | n.channel_mode << 3 | n.low_frequency_effects_channel_on << 2 | n.frame_size_code >> 4, n.frame_size_code << 4 & 224], this.config = t, this.sampling_rate = n.sampling_frequency, this.bit_stream_identification = n.bit_stream_identification, this.bit_stream_mode = n.bit_stream_mode, this.low_frequency_effects_channel_on = n.low_frequency_effects_channel_on, this.channel_count = n.channel_count, this.channel_mode = n.channel_mode, this.codec_mimetype = "ac-3", this.original_codec_mimetype = "ac-3";
1642
- }, jt = /* @__PURE__ */ function() {
1643
+ }, zt = /* @__PURE__ */ function() {
1643
1644
  var n = function(t, i) {
1644
1645
  return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, a) {
1645
1646
  e.__proto__ = a;
@@ -1653,8 +1654,8 @@ var Rt = { exports: {} };
1653
1654
  }
1654
1655
  n(t, i), t.prototype = i === null ? Object.create(i) : (e.prototype = i.prototype, new e());
1655
1656
  };
1656
- }(), Fe = function() {
1657
- return (Fe = Object.assign || function(n) {
1657
+ }(), Ve = function() {
1658
+ return (Ve = Object.assign || function(n) {
1658
1659
  for (var t, i = 1, e = arguments.length; i < e; i++) for (var a in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, a) && (n[a] = t[a]);
1659
1660
  return n;
1660
1661
  }).apply(this, arguments);
@@ -1663,7 +1664,7 @@ var Rt = { exports: {} };
1663
1664
  var a = n.call(this) || this;
1664
1665
  return a.TAG = "TSDemuxer", a.first_parse_ = !0, a.media_info_ = new v.a(), a.timescale_ = 90, a.duration_ = 0, a.current_pmt_pid_ = -1, a.program_pmt_map_ = {}, a.pes_slice_queues_ = {}, a.section_slice_queues_ = {}, a.video_metadata_ = { vps: void 0, sps: void 0, pps: void 0, details: void 0 }, a.audio_metadata_ = { codec: void 0, audio_object_type: void 0, sampling_freq_index: void 0, sampling_frequency: void 0, channel_config: void 0 }, a.aac_last_sample_pts_ = void 0, a.aac_last_incomplete_data_ = null, a.has_video_ = !1, a.has_audio_ = !1, a.video_init_segment_dispatched_ = !1, a.audio_init_segment_dispatched_ = !1, a.video_metadata_changed_ = !1, a.audio_metadata_changed_ = !1, a.loas_previous_frame = null, a.video_track_ = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 }, a.audio_track_ = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 }, a.ts_packet_size_ = i.ts_packet_size, a.sync_offset_ = i.sync_offset, a.config_ = e, a;
1665
1666
  }
1666
- return jt(t, n), t.prototype.destroy = function() {
1667
+ return zt(t, n), t.prototype.destroy = function() {
1667
1668
  this.media_info_ = null, this.pes_slice_queues_ = null, this.section_slice_queues_ = null, this.video_metadata_ = null, this.audio_metadata_ = null, this.aac_last_incomplete_data_ = null, this.video_track_ = null, this.audio_track_ = null, n.prototype.destroy.call(this);
1668
1669
  }, t.probe = function(i) {
1669
1670
  var e = new Uint8Array(i), a = -1, s = 188;
@@ -1825,7 +1826,7 @@ var Rt = { exports: {} };
1825
1826
  var e = i[0];
1826
1827
  if (e === 2) {
1827
1828
  var a = (15 & i[1]) << 8 | i[2], s = i[3] << 8 | i[4], r = (62 & i[5]) >>> 1, o = 1 & i[5], p = i[6], g = (i[7], null);
1828
- if (o === 1 && p === 0) (g = new V()).program_number = s, g.version_number = r, this.program_pmt_map_[s] = g;
1829
+ if (o === 1 && p === 0) (g = new F()).program_number = s, g.version_number = r, this.program_pmt_map_[s] = g;
1829
1830
  else if ((g = this.program_pmt_map_[s]) == null) return;
1830
1831
  i[8], i[9];
1831
1832
  for (var E = (15 & i[10]) << 8 | i[11], A = 12 + E, S = a - 9 - E - 4, w = A; w < A + S; ) {
@@ -1865,7 +1866,7 @@ var Rt = { exports: {} };
1865
1866
  s === this.current_program_ && (this.pmt_ == null && m.a.v(this.TAG, "Parsed first PMT: " + JSON.stringify(g)), this.pmt_ = g, (g.common_pids.h264 || g.common_pids.h265) && (this.has_video_ = !0), (g.common_pids.adts_aac || g.common_pids.loas_aac || g.common_pids.ac3 || g.common_pids.opus || g.common_pids.mp3) && (this.has_audio_ = !0));
1866
1867
  } else m.a.e(this.TAG, "parsePMT: table_id " + e + " is not corresponded to PMT!");
1867
1868
  }, t.prototype.parseSCTE35 = function(i) {
1868
- var e = Bt(i);
1869
+ var e = It(i);
1869
1870
  if (e.pts != null) {
1870
1871
  var a = Math.floor(e.pts / this.timescale_);
1871
1872
  e.pts = a;
@@ -1886,14 +1887,14 @@ var Rt = { exports: {} };
1886
1887
  N.samples.push(J), N.length += E;
1887
1888
  }
1888
1889
  }, t.prototype.parseH265Payload = function(i, e, a, s, r) {
1889
- for (var o = new Pt(i), p = null, g = [], E = 0, A = !1; (p = o.readNextNaluPayload()) != null; ) {
1890
- var S = new Ot(p);
1890
+ for (var o = new Mt(i), p = null, g = [], E = 0, A = !1; (p = o.readNextNaluPayload()) != null; ) {
1891
+ var S = new Pt(p);
1891
1892
  if (S.type === Ee.kSliceVPS) {
1892
1893
  if (!this.video_init_segment_dispatched_) {
1893
1894
  var w = ae.parseVPS(p.data);
1894
- this.video_metadata_.vps = S, this.video_metadata_.details = Fe(Fe({}, this.video_metadata_.details), w);
1895
+ this.video_metadata_.vps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w);
1895
1896
  }
1896
- } else S.type === Ee.kSliceSPS ? (w = ae.parseSPS(p.data), this.video_init_segment_dispatched_ ? this.detectVideoMetadataChange(S, w) === !0 && (m.a.v(this.TAG, "H265: Critical h265 metadata has been changed, attempt to re-generate InitSegment"), this.video_metadata_changed_ = !0, this.video_metadata_ = { vps: void 0, sps: S, pps: void 0, details: w }) : (this.video_metadata_.sps = S, this.video_metadata_.details = Fe(Fe({}, this.video_metadata_.details), w))) : S.type === Ee.kSlicePPS ? (!this.video_init_segment_dispatched_ || this.video_metadata_changed_) && (w = ae.parsePPS(p.data), this.video_metadata_.pps = S, this.video_metadata_.details = Fe(Fe({}, this.video_metadata_.details), w), this.video_metadata_.vps && this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : S.type !== Ee.kSliceIDR_W_RADL && S.type !== Ee.kSliceIDR_N_LP && S.type !== Ee.kSliceCRA_NUT || (A = !0);
1897
+ } else S.type === Ee.kSliceSPS ? (w = ae.parseSPS(p.data), this.video_init_segment_dispatched_ ? this.detectVideoMetadataChange(S, w) === !0 && (m.a.v(this.TAG, "H265: Critical h265 metadata has been changed, attempt to re-generate InitSegment"), this.video_metadata_changed_ = !0, this.video_metadata_ = { vps: void 0, sps: S, pps: void 0, details: w }) : (this.video_metadata_.sps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w))) : S.type === Ee.kSlicePPS ? (!this.video_init_segment_dispatched_ || this.video_metadata_changed_) && (w = ae.parsePPS(p.data), this.video_metadata_.pps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w), this.video_metadata_.vps && this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : S.type !== Ee.kSliceIDR_W_RADL && S.type !== Ee.kSliceIDR_N_LP && S.type !== Ee.kSliceCRA_NUT || (A = !0);
1897
1898
  this.video_init_segment_dispatched_ && (g.push(S), E += S.data.byteLength);
1898
1899
  }
1899
1900
  var I = Math.floor(e / this.timescale_), z = Math.floor(a / this.timescale_);
@@ -1915,7 +1916,7 @@ var Rt = { exports: {} };
1915
1916
  e.id = this.video_track_.id, e.timescale = 1e3, e.duration = this.duration_, e.codecWidth = i.codec_size.width, e.codecHeight = i.codec_size.height, e.presentWidth = i.present_size.width, e.presentHeight = i.present_size.height, e.profile = i.profile_string, e.level = i.level_string, e.bitDepth = i.bit_depth, e.chromaFormat = i.chroma_format, e.sarRatio = i.sar_ratio, e.frameRate = i.frame_rate;
1916
1917
  var a = e.frameRate.fps_den, s = e.frameRate.fps_num;
1917
1918
  if (e.refSampleDuration = a / s * 1e3, e.codec = i.codec_mimetype, this.video_metadata_.vps) {
1918
- var r = this.video_metadata_.vps.data.subarray(4), o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4), g = new Mt(r, o, p, i);
1919
+ var r = this.video_metadata_.vps.data.subarray(4), o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4), g = new xt(r, o, p, i);
1919
1920
  e.hvcc = g.getData(), this.video_init_segment_dispatched_ == 0 && m.a.v(this.TAG, "Generated first HEVCDecoderConfigurationRecord for mimeType: " + e.codec);
1920
1921
  } else {
1921
1922
  o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4);
@@ -2037,7 +2038,7 @@ var Rt = { exports: {} };
2037
2038
  case 3:
2038
2039
  w = 32, g < a.length && a[g];
2039
2040
  }
2040
- var I = new Ut();
2041
+ var I = new Nt();
2041
2042
  I.object_type = w, I.sample_rate = S, I.channel_count = A, I.data = i;
2042
2043
  var z = { codec: "mp3", data: I };
2043
2044
  this.audio_init_segment_dispatched_ == 0 ? (this.audio_metadata_ = { codec: "mp3", object_type: w, sample_rate: S, channel_count: A }, this.dispatchAudioInitSegment(z)) : this.detectAudioMetadataChange(z) && (this.dispatchAudioMediaSegment(), this.dispatchAudioInitSegment(z));
@@ -2073,7 +2074,7 @@ var Rt = { exports: {} };
2073
2074
  var a = i.codec === "aac" ? i.data : null, s = new ne(a);
2074
2075
  e.audioSampleRate = s.sampling_rate, e.channelCount = s.channel_count, e.codec = s.codec_mimetype, e.originalCodec = s.original_codec_mimetype, e.config = s.config, e.refSampleDuration = 1024 / e.audioSampleRate * e.timescale;
2075
2076
  } else if (this.audio_metadata_.codec === "ac-3") {
2076
- var r = i.codec === "ac-3" ? i.data : null, o = new Ft(r);
2077
+ var r = i.codec === "ac-3" ? i.data : null, o = new jt(r);
2077
2078
  e.audioSampleRate = o.sampling_rate, e.channelCount = o.channel_count, e.codec = o.codec_mimetype, e.originalCodec = o.original_codec_mimetype, e.config = o.config, e.refSampleDuration = 1536 / e.audioSampleRate * e.timescale;
2078
2079
  } else this.audio_metadata_.codec === "opus" ? (e.audioSampleRate = this.audio_metadata_.sample_rate, e.channelCount = this.audio_metadata_.channel_count, e.channelConfigCode = this.audio_metadata_.channel_config_code, e.codec = "opus", e.originalCodec = "opus", e.config = void 0, e.refSampleDuration = 20) : this.audio_metadata_.codec === "mp3" && (e.audioSampleRate = this.audio_metadata_.sample_rate, e.channelCount = this.audio_metadata_.channel_count, e.codec = "mp3", e.originalCodec = "mp3", e.config = void 0);
2079
2080
  this.audio_init_segment_dispatched_ == 0 && m.a.v(this.TAG, "Generated first AudioSpecificConfig for mimeType: " + e.codec), this.onTrackMetadata("audio", e), this.audio_init_segment_dispatched_ = !0, this.video_metadata_changed_ = !1;
@@ -2105,7 +2106,7 @@ var Rt = { exports: {} };
2105
2106
  }
2106
2107
  this.onTimedID3Metadata && this.onTimedID3Metadata(o);
2107
2108
  }, t.prototype.parseSMPTE2038MetadataPayload = function(i, e, a, s, r) {
2108
- var o = new xt();
2109
+ var o = new Ut();
2109
2110
  if (o.pid = s, o.stream_id = r, o.len = i.byteLength, o.data = i, e != null) {
2110
2111
  var p = Math.floor(e / this.timescale_);
2111
2112
  o.pts = p;
@@ -2139,7 +2140,7 @@ var Rt = { exports: {} };
2139
2140
  return A.destroy(), A = null, w;
2140
2141
  }(i), this.onSMPTE2038Metadata && this.onSMPTE2038Metadata(o);
2141
2142
  }, t;
2142
- }(u), zt = function() {
2143
+ }(u), Ht = function() {
2143
2144
  for (var n = 0, t = 0, i = arguments.length; t < i; t++) n += arguments[t].length;
2144
2145
  var e = Array(n), a = 0;
2145
2146
  for (t = 0; t < i; t++) for (var s = arguments[t], r = 0, o = s.length; r < o; r++, a++) e[a] = s[r];
@@ -2256,7 +2257,7 @@ var Rt = { exports: {} };
2256
2257
  case 136:
2257
2258
  s = [1, 1, 8, 0, 1, 2, 3, 4, 5, 6, 7];
2258
2259
  }
2259
- var r = new Uint8Array(zt([0, i, 0, 0, a >>> 24 & 255, a >>> 17 & 255, a >>> 8 & 255, a >>> 0 & 255, 0, 0], s));
2260
+ var r = new Uint8Array(Ht([0, i, 0, 0, a >>> 24 & 255, a >>> 17 & 255, a >>> 8 & 255, a >>> 0 & 255, 0, 0], s));
2260
2261
  return n.box(n.types.dOps, r);
2261
2262
  }, n.avc1 = function(t) {
2262
2263
  var i = t.avcc, e = t.codecWidth, a = t.codecHeight, s = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, a >>> 8 & 255, 255 & a, 0, 72, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 1, 10, 120, 113, 113, 47, 102, 108, 118, 46, 106, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 255, 255]);
@@ -2402,8 +2403,8 @@ var Rt = { exports: {} };
2402
2403
  originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.round(r) + " ms, generate: " + Ne + " frames"), K = Math.floor(Re), ye = Math.floor(Re + p) - K, (ke = lt.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount)) == null && (m.a.w(this.TAG, "Unable to generate silent frame for " + this._audioMeta.originalCodec + " with " + this._audioMeta.channelCount + " channels, repeat last frame"), ke = re), he = [];
2403
2404
  for (var Pe = 0; Pe < Ne; Pe++) {
2404
2405
  Re += p;
2405
- var Ge = Math.floor(Re), je = Math.floor(Re + p) - Ge, Ve = { dts: Ge, pts: Ge, cts: 0, unit: ke, size: ke.byteLength, duration: je, originalDts: be, flags: { isLeading: 0, dependsOn: 1, isDependedOn: 0, hasRedundancy: 0 } };
2406
- he.push(Ve), I += Ve.size;
2406
+ var Ge = Math.floor(Re), je = Math.floor(Re + p) - Ge, Fe = { dts: Ge, pts: Ge, cts: 0, unit: ke, size: ke.byteLength, duration: je, originalDts: be, flags: { isLeading: 0, dependsOn: 1, isDependedOn: 0, hasRedundancy: 0 } };
2407
+ he.push(Fe), I += Fe.size;
2407
2408
  }
2408
2409
  this._audioNextDts = Re + p;
2409
2410
  } else K = Math.floor(Re), ye = Math.floor(Re + p) - K, this._audioNextDts = Re + p;
@@ -2472,7 +2473,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2472
2473
  var e = new Uint8Array(t.byteLength + i.byteLength);
2473
2474
  return e.set(t, 0), e.set(i, t.byteLength), e;
2474
2475
  }, n;
2475
- }(), Ht = O(11), Le = O(1), qt = function() {
2476
+ }(), qt = O(11), Le = O(1), Kt = function() {
2476
2477
  function n(t, i) {
2477
2478
  this.TAG = "TransmuxingController", this._emitter = new B.a(), this._config = i, t.segments || (t.segments = [{ duration: t.duration, filesize: t.filesize, url: t.url }]), typeof t.cors != "boolean" && (t.cors = !0), typeof t.withCredentials != "boolean" && (t.withCredentials = !1), this._mediaDataSource = t, this._currentSegmentIndex = 0;
2478
2479
  var e = 0;
@@ -2490,7 +2491,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2490
2491
  this._loadSegment(0), this._enableStatisticsReporter();
2491
2492
  }, n.prototype._loadSegment = function(t, i) {
2492
2493
  this._currentSegmentIndex = t;
2493
- var e = this._mediaDataSource.segments[t], a = this._ioctl = new Ht.a(e, this._config, t);
2494
+ var e = this._mediaDataSource.segments[t], a = this._ioctl = new qt.a(e, this._config, t);
2494
2495
  a.onError = this._onIOException.bind(this), a.onSeeked = this._onIOSeeked.bind(this), a.onComplete = this._onIOComplete.bind(this), a.onRedirect = this._onIORedirect.bind(this), a.onRecoveredEarlyEof = this._onIORecoveredEarlyEof.bind(this), i ? this._demuxer.bindDataSource(this._ioctl) : a.onDataArrival = this._onInitChunkArrival.bind(this), a.open(i);
2495
2496
  }, n.prototype.stop = function() {
2496
2497
  this._internalAbort(), this._disableStatisticsReporter();
@@ -2598,7 +2599,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2598
2599
  t.url = this._ioctl.currentURL, t.hasRedirect = this._ioctl.hasRedirect, t.hasRedirect && (t.redirectedURL = this._ioctl.currentRedirectedURL), t.speed = this._ioctl.currentSpeed, t.loaderType = this._ioctl.loaderType, t.currentSegmentIndex = this._currentSegmentIndex, t.totalSegmentCount = this._mediaDataSource.segments.length, this._emitter.emit(Le.a.STATISTICS_INFO, t);
2599
2600
  }, n;
2600
2601
  }();
2601
- Z.a = qt;
2602
+ Z.a = Kt;
2602
2603
  }, function(fe, Z, O) {
2603
2604
  var U, B = O(0), m = function() {
2604
2605
  function T() {
@@ -2648,13 +2649,13 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2648
2649
  this._dataSource = _, this._range = c;
2649
2650
  var P = _.url;
2650
2651
  this._config.reuseRedirectedURL && _.redirectedURL != null && (P = _.redirectedURL);
2651
- var D = this._seekHandler.getConfig(P, c), V = new self.Headers();
2652
+ var D = this._seekHandler.getConfig(P, c), F = new self.Headers();
2652
2653
  if (typeof D.headers == "object") {
2653
2654
  var ee = D.headers;
2654
- for (var pe in ee) ee.hasOwnProperty(pe) && V.append(pe, ee[pe]);
2655
+ for (var pe in ee) ee.hasOwnProperty(pe) && F.append(pe, ee[pe]);
2655
2656
  }
2656
- var ve = { method: "GET", headers: V, mode: "cors", cache: "default", referrerPolicy: "no-referrer-when-downgrade" };
2657
- if (typeof this._config.headers == "object") for (var pe in this._config.headers) V.append(pe, this._config.headers[pe]);
2657
+ var ve = { method: "GET", headers: F, mode: "cors", cache: "default", referrerPolicy: "no-referrer-when-downgrade" };
2658
+ if (typeof this._config.headers == "object") for (var pe in this._config.headers) F.append(pe, this._config.headers[pe]);
2658
2659
  _.cors === !1 && (ve.mode = "same-origin"), _.withCredentials && (ve.credentials = "include"), _.referrerPolicy && (ve.referrerPolicy = _.referrerPolicy), self.AbortController && (this._abortController = new self.AbortController(), ve.signal = this._abortController.signal), this._status = b.c.kConnecting, self.fetch(D.url, ve).then(function(k) {
2659
2660
  if (u._requestAbort) return u._status = b.c.kIdle, void k.body.cancel();
2660
2661
  if (k.ok && k.status >= 200 && k.status <= 299) {
@@ -2691,8 +2692,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2691
2692
  if (c._abortController && c._abortController.signal.aborted) return void (c._status = b.c.kComplete);
2692
2693
  if (c._requestAbort === !0) return c._status = b.c.kComplete, _.cancel();
2693
2694
  c._status = b.c.kBuffering;
2694
- var V = u.value.buffer, ee = c._range.from + c._receivedLength;
2695
- c._receivedLength += V.byteLength, c._onDataArrival && c._onDataArrival(V, ee, c._receivedLength), c._pump(_);
2695
+ var F = u.value.buffer, ee = c._range.from + c._receivedLength;
2696
+ c._receivedLength += F.byteLength, c._onDataArrival && c._onDataArrival(F, ee, c._receivedLength), c._pump(_);
2696
2697
  }
2697
2698
  }).catch(function(u) {
2698
2699
  if (c._abortController && c._abortController.signal.aborted) c._status = b.c.kComplete;
@@ -2718,7 +2719,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2718
2719
  }
2719
2720
  T(h, _), h.prototype = _ === null ? Object.create(_) : (c.prototype = _.prototype, new c());
2720
2721
  };
2721
- }(), F = function(T) {
2722
+ }(), V = function(T) {
2722
2723
  function h(_, c) {
2723
2724
  var u = T.call(this, "xhr-moz-chunked-loader") || this;
2724
2725
  return u.TAG = "MozChunkedLoader", u._seekHandler = _, u._config = c, u._needStash = !0, u._xhr = null, u._requestAbort = !1, u._contentLength = null, u._receivedLength = 0, u;
@@ -2740,12 +2741,12 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2740
2741
  this._requestURL = P.url;
2741
2742
  var D = this._xhr = new XMLHttpRequest();
2742
2743
  if (D.open("GET", P.url, !0), D.responseType = "moz-chunked-arraybuffer", D.onreadystatechange = this._onReadyStateChange.bind(this), D.onprogress = this._onProgress.bind(this), D.onloadend = this._onLoadEnd.bind(this), D.onerror = this._onXhrError.bind(this), _.withCredentials && (D.withCredentials = !0), typeof P.headers == "object") {
2743
- var V = P.headers;
2744
- for (var ee in V) V.hasOwnProperty(ee) && D.setRequestHeader(ee, V[ee]);
2744
+ var F = P.headers;
2745
+ for (var ee in F) F.hasOwnProperty(ee) && D.setRequestHeader(ee, F[ee]);
2745
2746
  }
2746
2747
  if (typeof this._config.headers == "object") {
2747
- V = this._config.headers;
2748
- for (var ee in V) V.hasOwnProperty(ee) && D.setRequestHeader(ee, V[ee]);
2748
+ F = this._config.headers;
2749
+ for (var ee in F) F.hasOwnProperty(ee) && D.setRequestHeader(ee, F[ee]);
2749
2750
  }
2750
2751
  this._status = b.c.kConnecting, D.send();
2751
2752
  }, h.prototype.abort = function() {
@@ -2821,12 +2822,12 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2821
2822
  this._currentRequestURL = P.url;
2822
2823
  var D = this._xhr = new XMLHttpRequest();
2823
2824
  if (D.open("GET", P.url, !0), D.responseType = "arraybuffer", D.onreadystatechange = this._onReadyStateChange.bind(this), D.onprogress = this._onProgress.bind(this), D.onload = this._onLoad.bind(this), D.onerror = this._onXhrError.bind(this), _.withCredentials && (D.withCredentials = !0), typeof P.headers == "object") {
2824
- var V = P.headers;
2825
- for (var ee in V) V.hasOwnProperty(ee) && D.setRequestHeader(ee, V[ee]);
2825
+ var F = P.headers;
2826
+ for (var ee in F) F.hasOwnProperty(ee) && D.setRequestHeader(ee, F[ee]);
2826
2827
  }
2827
2828
  if (typeof this._config.headers == "object") {
2828
- V = this._config.headers;
2829
- for (var ee in V) V.hasOwnProperty(ee) && D.setRequestHeader(ee, V[ee]);
2829
+ F = this._config.headers;
2830
+ for (var ee in F) F.hasOwnProperty(ee) && D.setRequestHeader(ee, F[ee]);
2830
2831
  }
2831
2832
  D.send();
2832
2833
  }, h.prototype.abort = function() {
@@ -2864,11 +2865,11 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2864
2865
  this._lastTimeLoaded = _.loaded, this._speedSampler.addBytes(P);
2865
2866
  }
2866
2867
  }, h.prototype._normalizeSpeed = function(_) {
2867
- var c = this._chunkSizeKBList, u = c.length - 1, P = 0, D = 0, V = u;
2868
+ var c = this._chunkSizeKBList, u = c.length - 1, P = 0, D = 0, F = u;
2868
2869
  if (_ < c[0]) return c[0];
2869
- for (; D <= V; ) {
2870
- if ((P = D + Math.floor((V - D) / 2)) === u || _ >= c[P] && _ < c[P + 1]) return c[P];
2871
- c[P] < _ ? D = P + 1 : V = P - 1;
2870
+ for (; D <= F; ) {
2871
+ if ((P = D + Math.floor((F - D) / 2)) === u || _ >= c[P] && _ < c[P + 1]) return c[P];
2872
+ c[P] < _ ? D = P + 1 : F = P - 1;
2872
2873
  }
2873
2874
  }, h.prototype._onLoad = function(_) {
2874
2875
  if (this._status !== b.c.kError) if (this._waitForTotalLength) this._waitForTotalLength = !1;
@@ -2881,8 +2882,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2881
2882
  }
2882
2883
  var P = _.target.response, D = this._range.from + this._receivedLength;
2883
2884
  this._receivedLength += P.byteLength;
2884
- var V = !1;
2885
- this._contentLength != null && this._receivedLength < this._contentLength ? this._openSubRange() : V = !0, this._onDataArrival && this._onDataArrival(P, D, this._receivedLength), V && (this._status = b.c.kComplete, this._onComplete && this._onComplete(this._range.from, this._range.from + this._receivedLength - 1));
2885
+ var F = !1;
2886
+ this._contentLength != null && this._receivedLength < this._contentLength ? this._openSubRange() : F = !0, this._onDataArrival && this._onDataArrival(P, D, this._receivedLength), F && (this._status = b.c.kComplete, this._onComplete && this._onComplete(this._range.from, this._range.from + this._receivedLength - 1));
2886
2887
  }
2887
2888
  }, h.prototype._onXhrError = function(_) {
2888
2889
  this._status = b.c.kError;
@@ -2986,9 +2987,9 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2986
2987
  var _ = h.split("?")[0], c = void 0, u = h.indexOf("?");
2987
2988
  u !== -1 && (c = h.substring(u + 1));
2988
2989
  var P = "";
2989
- if (c != null && c.length > 0) for (var D = c.split("&"), V = 0; V < D.length; V++) {
2990
- var ee = D[V].split("="), pe = V > 0;
2991
- ee[0] !== this._startName && ee[0] !== this._endName && (pe && (P += "&"), P += D[V]);
2990
+ if (c != null && c.length > 0) for (var D = c.split("&"), F = 0; F < D.length; F++) {
2991
+ var ee = D[F].split("="), pe = F > 0;
2992
+ ee[0] !== this._startName && ee[0] !== this._endName && (pe && (P += "&"), P += D[F]);
2992
2993
  }
2993
2994
  return P.length === 0 ? _ : _ + "?" + P;
2994
2995
  }, T;
@@ -3057,7 +3058,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3057
3058
  if (this._config.customLoader != null) this._loaderClass = this._config.customLoader;
3058
3059
  else if (this._isWebSocketURL) this._loaderClass = Y;
3059
3060
  else if (x.isSupported()) this._loaderClass = x;
3060
- else if (F.isSupported()) this._loaderClass = F;
3061
+ else if (V.isSupported()) this._loaderClass = V;
3061
3062
  else {
3062
3063
  if (!_e.isSupported()) throw new f.d("Your browser doesn't support xhr with arraybuffer responseType!");
3063
3064
  this._loaderClass = _e;
@@ -3128,10 +3129,10 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3128
3129
  var D = this._stashBuffer.slice(0, this._stashUsed);
3129
3130
  (pe = this._dispatchChunks(D, this._stashByteStart)) < D.byteLength ? pe > 0 && (ve = new Uint8Array(D, pe), ee.set(ve, 0), this._stashUsed = ve.byteLength, this._stashByteStart += pe) : (this._stashUsed = 0, this._stashByteStart += pe), this._stashUsed + h.byteLength > this._bufferSize && (this._expandBuffer(this._stashUsed + h.byteLength), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(h), this._stashUsed), this._stashUsed += h.byteLength;
3130
3131
  } else
3131
- (pe = this._dispatchChunks(h, _)) < h.byteLength && ((V = h.byteLength - pe) > this._bufferSize && (this._expandBuffer(V), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(h, pe), 0), this._stashUsed += V, this._stashByteStart = _ + pe);
3132
+ (pe = this._dispatchChunks(h, _)) < h.byteLength && ((F = h.byteLength - pe) > this._bufferSize && (this._expandBuffer(F), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(h, pe), 0), this._stashUsed += F, this._stashByteStart = _ + pe);
3132
3133
  else if (this._stashUsed === 0) {
3133
- var V;
3134
- (pe = this._dispatchChunks(h, _)) < h.byteLength && ((V = h.byteLength - pe) > this._bufferSize && this._expandBuffer(V), (ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)).set(new Uint8Array(h, pe), 0), this._stashUsed += V, this._stashByteStart = _ + pe);
3134
+ var F;
3135
+ (pe = this._dispatchChunks(h, _)) < h.byteLength && ((F = h.byteLength - pe) > this._bufferSize && this._expandBuffer(F), (ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)).set(new Uint8Array(h, pe), 0), this._stashUsed += F, this._stashByteStart = _ + pe);
3135
3136
  } else {
3136
3137
  var ee, pe;
3137
3138
  if (this._stashUsed + h.byteLength > this._bufferSize && this._expandBuffer(this._stashUsed + h.byteLength), (ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)).set(new Uint8Array(h), this._stashUsed), this._stashUsed += h.byteLength, (pe = this._dispatchChunks(this._stashBuffer.slice(0, this._stashUsed), this._stashByteStart)) < this._stashUsed && pe > 0) {
@@ -3201,24 +3202,24 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3201
3202
  var f = {};
3202
3203
  function L(C) {
3203
3204
  if (f[C]) return f[C].exports;
3204
- var F = f[C] = { i: C, l: !1, exports: {} };
3205
- return v[C].call(F.exports, F, F.exports, L), F.l = !0, F.exports;
3205
+ var V = f[C] = { i: C, l: !1, exports: {} };
3206
+ return v[C].call(V.exports, V, V.exports, L), V.l = !0, V.exports;
3206
3207
  }
3207
3208
  L.m = v, L.c = f, L.i = function(C) {
3208
3209
  return C;
3209
- }, L.d = function(C, F, H) {
3210
- L.o(C, F) || Object.defineProperty(C, F, { configurable: !1, enumerable: !0, get: H });
3210
+ }, L.d = function(C, V, H) {
3211
+ L.o(C, V) || Object.defineProperty(C, V, { configurable: !1, enumerable: !0, get: H });
3211
3212
  }, L.r = function(C) {
3212
3213
  Object.defineProperty(C, "__esModule", { value: !0 });
3213
3214
  }, L.n = function(C) {
3214
- var F = C && C.__esModule ? function() {
3215
+ var V = C && C.__esModule ? function() {
3215
3216
  return C.default;
3216
3217
  } : function() {
3217
3218
  return C;
3218
3219
  };
3219
- return L.d(F, "a", F), F;
3220
- }, L.o = function(C, F) {
3221
- return Object.prototype.hasOwnProperty.call(C, F);
3220
+ return L.d(V, "a", V), V;
3221
+ }, L.o = function(C, V) {
3222
+ return Object.prototype.hasOwnProperty.call(C, V);
3222
3223
  }, L.p = "/", L.oe = function(C) {
3223
3224
  throw C;
3224
3225
  };
@@ -3231,9 +3232,9 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3231
3232
  function m(v, f, L) {
3232
3233
  var x = {};
3233
3234
  x[L] = [];
3234
- var C = f.toString(), F = C.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);
3235
- if (!F) return x;
3236
- for (var H, _e = F[1], se = new RegExp("(\\\\n|\\W)" + B(_e) + "\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)", "g"); H = se.exec(C); ) H[3] !== "dll-reference" && x[L].push(H[3]);
3235
+ var C = f.toString(), V = C.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);
3236
+ if (!V) return x;
3237
+ for (var H, _e = V[1], se = new RegExp("(\\\\n|\\W)" + B(_e) + "\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)", "g"); H = se.exec(C); ) H[3] !== "dll-reference" && x[L].push(H[3]);
3237
3238
  for (se = new RegExp("\\(" + B(_e) + '\\("(dll-reference\\s([\\.|\\-|\\+|\\w|/|@]+))"\\)\\)\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)', "g"); H = se.exec(C); ) v[H[2]] || (x[L].push(H[1]), v[H[2]] = O(H[1]).m), x[H[2]] = x[H[2]] || [], x[H[2]].push(H[4]);
3238
3239
  for (var Y, ae = Object.keys(x), y = 0; y < ae.length; y++) for (var G = 0; G < x[ae[y]].length; G++) Y = x[ae[y]][G], isNaN(1 * Y) || (x[ae[y]][G] = 1 * x[ae[y]][G]);
3239
3240
  return x;
@@ -3266,9 +3267,9 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3266
3267
  }), C = C + "new ((" + U.toString().replace("ENTRY_MODULE", JSON.stringify(v)) + ")({" + x.main.map(function(se) {
3267
3268
  return JSON.stringify(se) + ": " + L.main[se].toString();
3268
3269
  }).join(",") + "}))(self);";
3269
- var F = new window.Blob([C], { type: "text/javascript" });
3270
- if (f.bare) return F;
3271
- var H = (window.URL || window.webkitURL || window.mozURL || window.msURL).createObjectURL(F), _e = new window.Worker(H);
3270
+ var V = new window.Blob([C], { type: "text/javascript" });
3271
+ if (f.bare) return V;
3272
+ var H = (window.URL || window.webkitURL || window.mozURL || window.msURL).createObjectURL(V), _e = new window.Worker(H);
3272
3273
  return _e.objectURL = H, _e;
3273
3274
  };
3274
3275
  }, function(fe, Z, O) {
@@ -3291,7 +3292,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3291
3292
  return Object.prototype.toString.call(M) === "[object Array]";
3292
3293
  }, f = 0, L = void 0, x = void 0, C = function(M, j) {
3293
3294
  y[f] = M, y[f + 1] = j, (f += 2) === 2 && (x ? x(G) : u());
3294
- }, F = typeof window < "u" ? window : void 0, H = F || {}, _e = H.MutationObserver || H.WebKitMutationObserver, se = typeof self > "u" && U !== void 0 && {}.toString.call(U) === "[object process]", Y = typeof Uint8ClampedArray < "u" && typeof importScripts < "u" && typeof MessageChannel < "u";
3295
+ }, V = typeof window < "u" ? window : void 0, H = V || {}, _e = H.MutationObserver || H.WebKitMutationObserver, se = typeof self > "u" && U !== void 0 && {}.toString.call(U) === "[object process]", Y = typeof Uint8ClampedArray < "u" && typeof importScripts < "u" && typeof MessageChannel < "u";
3295
3296
  function ae() {
3296
3297
  var M = setTimeout;
3297
3298
  return function() {
@@ -3306,7 +3307,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3306
3307
  var T, h, _, c, u = void 0;
3307
3308
  function P(M, j) {
3308
3309
  var $ = this, ie = new this.constructor(ee);
3309
- ie[V] === void 0 && Se(ie);
3310
+ ie[F] === void 0 && Se(ie);
3310
3311
  var ne = $._state;
3311
3312
  if (ne) {
3312
3313
  var ue = arguments[ne - 1];
@@ -3327,7 +3328,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3327
3328
  c.data = h = ++h % 2;
3328
3329
  }) : Y ? ((T = new MessageChannel()).port1.onmessage = G, u = function() {
3329
3330
  return T.port2.postMessage(0);
3330
- }) : u = F === void 0 ? function() {
3331
+ }) : u = V === void 0 ? function() {
3331
3332
  try {
3332
3333
  var M = Function("return this")().require("vertx");
3333
3334
  return (L = M.runOnLoop || M.runOnContext) !== void 0 ? function() {
@@ -3337,7 +3338,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3337
3338
  return ae();
3338
3339
  }
3339
3340
  }() : ae();
3340
- var V = Math.random().toString(36).substring(2);
3341
+ var F = Math.random().toString(36).substring(2);
3341
3342
  function ee() {
3342
3343
  }
3343
3344
  function pe(M, j, $) {
@@ -3412,11 +3413,11 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3412
3413
  }
3413
3414
  var me = 0;
3414
3415
  function Se(M) {
3415
- M[V] = me++, M._state = void 0, M._result = void 0, M._subscribers = [];
3416
+ M[F] = me++, M._state = void 0, M._result = void 0, M._subscribers = [];
3416
3417
  }
3417
3418
  var De = function() {
3418
3419
  function M(j, $) {
3419
- this._instanceConstructor = j, this.promise = new j(ee), this.promise[V] || Se(this.promise), v($) ? (this.length = $.length, this._remaining = $.length, this._result = new Array(this.length), this.length === 0 ? d(this.promise, this._result) : (this.length = this.length || 0, this._enumerate($), this._remaining === 0 && d(this.promise, this._result))) : l(this.promise, new Error("Array Methods must be provided an Array"));
3420
+ this._instanceConstructor = j, this.promise = new j(ee), this.promise[F] || Se(this.promise), v($) ? (this.length = $.length, this._remaining = $.length, this._result = new Array(this.length), this.length === 0 ? d(this.promise, this._result) : (this.length = this.length || 0, this._enumerate($), this._remaining === 0 && d(this.promise, this._result))) : l(this.promise, new Error("Array Methods must be provided an Array"));
3420
3421
  }
3421
3422
  return M.prototype._enumerate = function(j) {
3422
3423
  for (var $ = 0; this._state === void 0 && $ < j.length; $++) this._eachEntry(j[$], $);
@@ -3451,7 +3452,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3451
3452
  }, M;
3452
3453
  }(), Te = function() {
3453
3454
  function M(j) {
3454
- this[V] = me++, this._result = this._state = void 0, this._subscribers = [], ee !== j && (typeof j != "function" && function() {
3455
+ this[F] = me++, this._result = this._state = void 0, this._subscribers = [], ee !== j && (typeof j != "function" && function() {
3455
3456
  throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");
3456
3457
  }(), this instanceof M ? function($, ie) {
3457
3458
  try {
@@ -3554,12 +3555,12 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3554
3555
  }
3555
3556
  })();
3556
3557
  var f, L = [], x = !1, C = -1;
3557
- function F() {
3558
+ function V() {
3558
3559
  x && f && (x = !1, f.length ? L = f.concat(L) : C = -1, L.length && H());
3559
3560
  }
3560
3561
  function H() {
3561
3562
  if (!x) {
3562
- var Y = v(F);
3563
+ var Y = v(V);
3563
3564
  x = !0;
3564
3565
  for (var ae = L.length; ae; ) {
3565
3566
  for (f = L, L = []; ++C < ae; ) f && f[C].run();
@@ -3617,18 +3618,18 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3617
3618
  O.r(Z);
3618
3619
  var U = O(9), B = O(12), m = O(10), b = O(1);
3619
3620
  Z.default = function(v) {
3620
- var f = null, L = (function(D, V) {
3621
- v.postMessage({ msg: "logcat_callback", data: { type: D, logcat: V } });
3621
+ var f = null, L = (function(D, F) {
3622
+ v.postMessage({ msg: "logcat_callback", data: { type: D, logcat: F } });
3622
3623
  }).bind(this);
3623
- function x(D, V) {
3624
- var ee = { msg: b.a.INIT_SEGMENT, data: { type: D, data: V } };
3625
- v.postMessage(ee, [V.data]);
3624
+ function x(D, F) {
3625
+ var ee = { msg: b.a.INIT_SEGMENT, data: { type: D, data: F } };
3626
+ v.postMessage(ee, [F.data]);
3626
3627
  }
3627
- function C(D, V) {
3628
- var ee = { msg: b.a.MEDIA_SEGMENT, data: { type: D, data: V } };
3629
- v.postMessage(ee, [V.data]);
3628
+ function C(D, F) {
3629
+ var ee = { msg: b.a.MEDIA_SEGMENT, data: { type: D, data: F } };
3630
+ v.postMessage(ee, [F.data]);
3630
3631
  }
3631
- function F() {
3632
+ function V() {
3632
3633
  var D = { msg: b.a.LOADING_COMPLETE };
3633
3634
  v.postMessage(D);
3634
3635
  }
@@ -3637,46 +3638,46 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3637
3638
  v.postMessage(D);
3638
3639
  }
3639
3640
  function _e(D) {
3640
- var V = { msg: b.a.MEDIA_INFO, data: D };
3641
- v.postMessage(V);
3641
+ var F = { msg: b.a.MEDIA_INFO, data: D };
3642
+ v.postMessage(F);
3642
3643
  }
3643
3644
  function se(D) {
3644
- var V = { msg: b.a.METADATA_ARRIVED, data: D };
3645
- v.postMessage(V);
3645
+ var F = { msg: b.a.METADATA_ARRIVED, data: D };
3646
+ v.postMessage(F);
3646
3647
  }
3647
3648
  function Y(D) {
3648
- var V = { msg: b.a.SCRIPTDATA_ARRIVED, data: D };
3649
- v.postMessage(V);
3649
+ var F = { msg: b.a.SCRIPTDATA_ARRIVED, data: D };
3650
+ v.postMessage(F);
3650
3651
  }
3651
3652
  function ae(D) {
3652
- var V = { msg: b.a.TIMED_ID3_METADATA_ARRIVED, data: D };
3653
- v.postMessage(V);
3653
+ var F = { msg: b.a.TIMED_ID3_METADATA_ARRIVED, data: D };
3654
+ v.postMessage(F);
3654
3655
  }
3655
3656
  function y(D) {
3656
- var V = { msg: b.a.SMPTE2038_METADATA_ARRIVED, data: D };
3657
- v.postMessage(V);
3657
+ var F = { msg: b.a.SMPTE2038_METADATA_ARRIVED, data: D };
3658
+ v.postMessage(F);
3658
3659
  }
3659
3660
  function G(D) {
3660
- var V = { msg: b.a.SCTE35_METADATA_ARRIVED, data: D };
3661
- v.postMessage(V);
3661
+ var F = { msg: b.a.SCTE35_METADATA_ARRIVED, data: D };
3662
+ v.postMessage(F);
3662
3663
  }
3663
3664
  function T(D) {
3664
- var V = { msg: b.a.PES_PRIVATE_DATA_DESCRIPTOR, data: D };
3665
- v.postMessage(V);
3665
+ var F = { msg: b.a.PES_PRIVATE_DATA_DESCRIPTOR, data: D };
3666
+ v.postMessage(F);
3666
3667
  }
3667
3668
  function h(D) {
3668
- var V = { msg: b.a.PES_PRIVATE_DATA_ARRIVED, data: D };
3669
- v.postMessage(V);
3669
+ var F = { msg: b.a.PES_PRIVATE_DATA_ARRIVED, data: D };
3670
+ v.postMessage(F);
3670
3671
  }
3671
3672
  function _(D) {
3672
- var V = { msg: b.a.STATISTICS_INFO, data: D };
3673
- v.postMessage(V);
3673
+ var F = { msg: b.a.STATISTICS_INFO, data: D };
3674
+ v.postMessage(F);
3674
3675
  }
3675
- function c(D, V) {
3676
- v.postMessage({ msg: b.a.IO_ERROR, data: { type: D, info: V } });
3676
+ function c(D, F) {
3677
+ v.postMessage({ msg: b.a.IO_ERROR, data: { type: D, info: F } });
3677
3678
  }
3678
- function u(D, V) {
3679
- v.postMessage({ msg: b.a.DEMUX_ERROR, data: { type: D, info: V } });
3679
+ function u(D, F) {
3680
+ v.postMessage({ msg: b.a.DEMUX_ERROR, data: { type: D, info: F } });
3680
3681
  }
3681
3682
  function P(D) {
3682
3683
  v.postMessage({ msg: b.a.RECOMMEND_SEEKPOINT, data: D });
@@ -3684,7 +3685,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3684
3685
  B.a.install(), v.addEventListener("message", function(D) {
3685
3686
  switch (D.data.cmd) {
3686
3687
  case "init":
3687
- (f = new m.a(D.data.param[0], D.data.param[1])).on(b.a.IO_ERROR, c.bind(this)), f.on(b.a.DEMUX_ERROR, u.bind(this)), f.on(b.a.INIT_SEGMENT, x.bind(this)), f.on(b.a.MEDIA_SEGMENT, C.bind(this)), f.on(b.a.LOADING_COMPLETE, F.bind(this)), f.on(b.a.RECOVERED_EARLY_EOF, H.bind(this)), f.on(b.a.MEDIA_INFO, _e.bind(this)), f.on(b.a.METADATA_ARRIVED, se.bind(this)), f.on(b.a.SCRIPTDATA_ARRIVED, Y.bind(this)), f.on(b.a.TIMED_ID3_METADATA_ARRIVED, ae.bind(this)), f.on(b.a.SMPTE2038_METADATA_ARRIVED, y.bind(this)), f.on(b.a.SCTE35_METADATA_ARRIVED, G.bind(this)), f.on(b.a.PES_PRIVATE_DATA_DESCRIPTOR, T.bind(this)), f.on(b.a.PES_PRIVATE_DATA_ARRIVED, h.bind(this)), f.on(b.a.STATISTICS_INFO, _.bind(this)), f.on(b.a.RECOMMEND_SEEKPOINT, P.bind(this));
3688
+ (f = new m.a(D.data.param[0], D.data.param[1])).on(b.a.IO_ERROR, c.bind(this)), f.on(b.a.DEMUX_ERROR, u.bind(this)), f.on(b.a.INIT_SEGMENT, x.bind(this)), f.on(b.a.MEDIA_SEGMENT, C.bind(this)), f.on(b.a.LOADING_COMPLETE, V.bind(this)), f.on(b.a.RECOVERED_EARLY_EOF, H.bind(this)), f.on(b.a.MEDIA_INFO, _e.bind(this)), f.on(b.a.METADATA_ARRIVED, se.bind(this)), f.on(b.a.SCRIPTDATA_ARRIVED, Y.bind(this)), f.on(b.a.TIMED_ID3_METADATA_ARRIVED, ae.bind(this)), f.on(b.a.SMPTE2038_METADATA_ARRIVED, y.bind(this)), f.on(b.a.SCTE35_METADATA_ARRIVED, G.bind(this)), f.on(b.a.PES_PRIVATE_DATA_DESCRIPTOR, T.bind(this)), f.on(b.a.PES_PRIVATE_DATA_ARRIVED, h.bind(this)), f.on(b.a.STATISTICS_INFO, _.bind(this)), f.on(b.a.RECOMMEND_SEEKPOINT, P.bind(this));
3688
3689
  break;
3689
3690
  case "destroy":
3690
3691
  f && (f.destroy(), f = null), v.postMessage({ msg: "destroyed" });
@@ -3705,8 +3706,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3705
3706
  f.resume();
3706
3707
  break;
3707
3708
  case "logging_config":
3708
- var V = D.data.param;
3709
- U.a.applyConfig(V), V.enableCallback === !0 ? U.a.addLogListener(L) : U.a.removeLogListener(L);
3709
+ var F = D.data.param;
3710
+ U.a.applyConfig(F), F.enableCallback === !0 ? U.a.addLogListener(L) : U.a.removeLogListener(L);
3710
3711
  }
3711
3712
  });
3712
3713
  };
@@ -3737,7 +3738,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3737
3738
  var d = { msePlayback: !1, mseLivePlayback: !1, mseH265Playback: !1, networkStreamIO: !1, networkLoaderName: "", nativeMP4H264Playback: !1, nativeMP4H265Playback: !1, nativeWebmVP8Playback: !1, nativeWebmVP9Playback: !1 };
3738
3739
  return d.msePlayback = k.supportMSEH264Playback(), d.networkStreamIO = k.supportNetworkStreamIO(), d.networkLoaderName = k.getNetworkLoaderTypeName(), d.mseLivePlayback = d.msePlayback && d.networkStreamIO, d.mseH265Playback = k.supportMSEH265Playback(), d.nativeMP4H264Playback = k.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'), d.nativeMP4H265Playback = k.supportNativeMediaPlayback('video/mp4; codecs="hvc1.1.6.L93.B0"'), d.nativeWebmVP8Playback = k.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'), d.nativeWebmVP9Playback = k.supportNativeMediaPlayback('video/webm; codecs="vp9"'), d;
3739
3740
  }, k;
3740
- }(), f = O(2), L = O(6), x = O.n(L), C = O(0), F = O(4), H = { ERROR: "error", LOADING_COMPLETE: "loading_complete", RECOVERED_EARLY_EOF: "recovered_early_eof", MEDIA_INFO: "media_info", METADATA_ARRIVED: "metadata_arrived", SCRIPTDATA_ARRIVED: "scriptdata_arrived", TIMED_ID3_METADATA_ARRIVED: "timed_id3_metadata_arrived", SMPTE2038_METADATA_ARRIVED: "smpte2038_metadata_arrived", SCTE35_METADATA_ARRIVED: "scte35_metadata_arrived", PES_PRIVATE_DATA_DESCRIPTOR: "pes_private_data_descriptor", PES_PRIVATE_DATA_ARRIVED: "pes_private_data_arrived", STATISTICS_INFO: "statistics_info" }, _e = O(13), se = O.n(_e), Y = O(9), ae = O(10), y = O(1), G = O(8), T = function() {
3741
+ }(), f = O(2), L = O(6), x = O.n(L), C = O(0), V = O(4), H = { ERROR: "error", LOADING_COMPLETE: "loading_complete", RECOVERED_EARLY_EOF: "recovered_early_eof", MEDIA_INFO: "media_info", METADATA_ARRIVED: "metadata_arrived", SCRIPTDATA_ARRIVED: "scriptdata_arrived", TIMED_ID3_METADATA_ARRIVED: "timed_id3_metadata_arrived", SMPTE2038_METADATA_ARRIVED: "smpte2038_metadata_arrived", SCTE35_METADATA_ARRIVED: "scte35_metadata_arrived", PES_PRIVATE_DATA_DESCRIPTOR: "pes_private_data_descriptor", PES_PRIVATE_DATA_ARRIVED: "pes_private_data_arrived", STATISTICS_INFO: "statistics_info" }, _e = O(13), se = O.n(_e), Y = O(9), ae = O(10), y = O(1), G = O(8), T = function() {
3741
3742
  function k(d, l) {
3742
3743
  if (this.TAG = "Transmuxer", this._emitter = new x.a(), l.enableWorker && typeof Worker < "u") try {
3743
3744
  this._worker = se()(18), this._workerDestroying = !1, this._worker.addEventListener("message", this._onWorkerMessage.bind(this)), this._worker.postMessage({ cmd: "init", param: [d, l] }), this.e = { onLoggingConfigChanged: this._onLoggingConfigChanged.bind(this) }, Y.a.registerListener(this.e.onLoggingConfigChanged), this._worker.postMessage({ cmd: "logging_config", param: Y.a.getConfig() });
@@ -3945,7 +3946,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3945
3946
  }
3946
3947
  this._mimeTypes[R.type] = X;
3947
3948
  }
3948
- l || this._pendingSegments[R.type].push(R), oe || this._sourceBuffers[R.type] && !this._sourceBuffers[R.type].updating && this._doAppendSegments(), F.a.safari && R.container === "audio/mpeg" && R.mediaDuration > 0 && (this._requireSetMediaDuration = !0, this._pendingMediaDuration = R.mediaDuration / 1e3, this._updateMediaSourceDuration());
3949
+ l || this._pendingSegments[R.type].push(R), oe || this._sourceBuffers[R.type] && !this._sourceBuffers[R.type].updating && this._doAppendSegments(), V.a.safari && R.container === "audio/mpeg" && R.mediaDuration > 0 && (this._requireSetMediaDuration = !0, this._pendingMediaDuration = R.mediaDuration / 1e3, this._updateMediaSourceDuration());
3949
3950
  }, k.prototype.appendMediaSegment = function(d) {
3950
3951
  var l = d;
3951
3952
  this._pendingSegments[l.type].push(l), this._config.autoCleanupSourceBuffer && this._needCleanupSourceBuffer() && this._doCleanupSourceBuffer();
@@ -3966,7 +3967,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3966
3967
  var me = R.buffered.start(oe), Se = R.buffered.end(oe);
3967
3968
  this._pendingRemoveRanges[l].push({ start: me, end: Se });
3968
3969
  }
3969
- if (R.updating || this._doRemoveRanges(), F.a.safari) {
3970
+ if (R.updating || this._doRemoveRanges(), V.a.safari) {
3970
3971
  var De = this._lastInitSegments[l];
3971
3972
  De && (this._pendingSegments[l].push(De), R.updating || this._doAppendSegments());
3972
3973
  }
@@ -4053,14 +4054,14 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4053
4054
  }, k.prototype._onSourceBufferError = function(d) {
4054
4055
  C.a.e(this.TAG, "SourceBuffer Error: " + d);
4055
4056
  }, k;
4056
- }(), P = O(5), D = { NETWORK_ERROR: "NetworkError", MEDIA_ERROR: "MediaError", OTHER_ERROR: "OtherError" }, V = { NETWORK_EXCEPTION: f.b.EXCEPTION, NETWORK_STATUS_CODE_INVALID: f.b.HTTP_STATUS_CODE_INVALID, NETWORK_TIMEOUT: f.b.CONNECTING_TIMEOUT, NETWORK_UNRECOVERABLE_EARLY_EOF: f.b.UNRECOVERABLE_EARLY_EOF, MEDIA_MSE_ERROR: "MediaMSEError", MEDIA_FORMAT_ERROR: P.a.FORMAT_ERROR, MEDIA_FORMAT_UNSUPPORTED: P.a.FORMAT_UNSUPPORTED, MEDIA_CODEC_UNSUPPORTED: P.a.CODEC_UNSUPPORTED }, ee = function() {
4057
+ }(), P = O(5), D = { NETWORK_ERROR: "NetworkError", MEDIA_ERROR: "MediaError", OTHER_ERROR: "OtherError" }, F = { NETWORK_EXCEPTION: f.b.EXCEPTION, NETWORK_STATUS_CODE_INVALID: f.b.HTTP_STATUS_CODE_INVALID, NETWORK_TIMEOUT: f.b.CONNECTING_TIMEOUT, NETWORK_UNRECOVERABLE_EARLY_EOF: f.b.UNRECOVERABLE_EARLY_EOF, MEDIA_MSE_ERROR: "MediaMSEError", MEDIA_FORMAT_ERROR: P.a.FORMAT_ERROR, MEDIA_FORMAT_UNSUPPORTED: P.a.FORMAT_UNSUPPORTED, MEDIA_CODEC_UNSUPPORTED: P.a.CODEC_UNSUPPORTED }, ee = function() {
4057
4058
  function k(d, l) {
4058
4059
  this.TAG = "MSEPlayer", this._type = "MSEPlayer", this._emitter = new x.a(), this._config = b(), typeof l == "object" && Object.assign(this._config, l);
4059
4060
  var R = d.type.toLowerCase();
4060
4061
  if (R !== "mse" && R !== "mpegts" && R !== "m2ts" && R !== "flv") throw new c.b("MSEPlayer requires an mpegts/m2ts/flv MediaDataSource input!");
4061
4062
  d.isLive === !0 && (this._config.isLive = !0), this.e = { onvLoadedMetadata: this._onvLoadedMetadata.bind(this), onvSeeking: this._onvSeeking.bind(this), onvCanPlay: this._onvCanPlay.bind(this), onvStalled: this._onvStalled.bind(this), onvProgress: this._onvProgress.bind(this) }, self.performance && self.performance.now ? this._now = self.performance.now.bind(self.performance) : this._now = Date.now, this._pendingSeekTime = null, this._requestSetTime = !1, this._seekpointRecord = null, this._progressChecker = null, this._mediaDataSource = d, this._mediaElement = null, this._msectl = null, this._transmuxer = null, this._mseSourceOpened = !1, this._hasPendingLoad = !1, this._receivedCanPlay = !1, this._mediaInfo = null, this._statisticsInfo = null;
4062
- var X = F.a.chrome && (F.a.version.major < 50 || F.a.version.major === 50 && F.a.version.build < 2661);
4063
- this._alwaysSeekKeyframe = !!(X || F.a.msedge || F.a.msie), this._alwaysSeekKeyframe && (this._config.accurateSeek = !1);
4063
+ var X = V.a.chrome && (V.a.version.major < 50 || V.a.version.major === 50 && V.a.version.build < 2661);
4064
+ this._alwaysSeekKeyframe = !!(X || V.a.msedge || V.a.msie), this._alwaysSeekKeyframe && (this._config.accurateSeek = !1);
4064
4065
  }
4065
4066
  return k.prototype.destroy = function() {
4066
4067
  this._progressChecker != null && (window.clearInterval(this._progressChecker), this._progressChecker = null), this._transmuxer && this.unload(), this._mediaElement && this.detachMediaElement(), this.e = null, this._mediaDataSource = null, this._emitter.removeAllListeners(), this._emitter = null;
@@ -4078,7 +4079,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4078
4079
  if (this._mediaElement = d, d.addEventListener("loadedmetadata", this.e.onvLoadedMetadata), d.addEventListener("seeking", this.e.onvSeeking), d.addEventListener("canplay", this.e.onvCanPlay), d.addEventListener("stalled", this.e.onvStalled), d.addEventListener("progress", this.e.onvProgress), this._msectl = new u(this._config), this._msectl.on(h.UPDATE_END, this._onmseUpdateEnd.bind(this)), this._msectl.on(h.BUFFER_FULL, this._onmseBufferFull.bind(this)), this._msectl.on(h.SOURCE_OPEN, function() {
4079
4080
  l._mseSourceOpened = !0, l._hasPendingLoad && (l._hasPendingLoad = !1, l.load());
4080
4081
  }), this._msectl.on(h.ERROR, function(R) {
4081
- l._emitter.emit(H.ERROR, D.MEDIA_ERROR, V.MEDIA_MSE_ERROR, R);
4082
+ l._emitter.emit(H.ERROR, D.MEDIA_ERROR, F.MEDIA_MSE_ERROR, R);
4082
4083
  }), this._msectl.attachMediaElement(d), this._pendingSeekTime != null) try {
4083
4084
  d.currentTime = this._pendingSeekTime, this._pendingSeekTime = null;
4084
4085
  } catch {
@@ -4203,7 +4204,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4203
4204
  var l = this._isTimepointBuffered(d), R = !1, X = 0;
4204
4205
  if (d < 1 && this._mediaElement.buffered.length > 0) {
4205
4206
  var oe = this._mediaElement.buffered.start(0);
4206
- (oe < 1 && d < oe || F.a.safari) && (R = !0, X = F.a.safari ? 0.1 : oe);
4207
+ (oe < 1 && d < oe || V.a.safari) && (R = !0, X = V.a.safari ? 0.1 : oe);
4207
4208
  }
4208
4209
  if (R) this._requestSetTime = !0, this._mediaElement.currentTime = X;
4209
4210
  else if (l) {
@@ -4232,7 +4233,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4232
4233
  else {
4233
4234
  if (l < 1 && R.length > 0) {
4234
4235
  var X = R.start(0);
4235
- if (X < 1 && l < X || F.a.safari) return this._requestSetTime = !0, void (this._mediaElement.currentTime = F.a.safari ? 0.1 : X);
4236
+ if (X < 1 && l < X || V.a.safari) return this._requestSetTime = !0, void (this._mediaElement.currentTime = V.a.safari ? 0.1 : X);
4236
4237
  }
4237
4238
  if (this._isTimepointBuffered(l)) {
4238
4239
  if (this._alwaysSeekKeyframe) {
@@ -4339,14 +4340,14 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4339
4340
  }, getFeatureList: function() {
4340
4341
  return v.getFeatureList();
4341
4342
  } };
4342
- ve.BaseLoader = f.a, ve.LoaderStatus = f.c, ve.LoaderErrors = f.b, ve.Events = H, ve.ErrorTypes = D, ve.ErrorDetails = V, ve.MSEPlayer = ee, ve.NativePlayer = pe, ve.LoggingControl = Y.a, Object.defineProperty(ve, "version", { enumerable: !0, get: function() {
4343
+ ve.BaseLoader = f.a, ve.LoaderStatus = f.c, ve.LoaderErrors = f.b, ve.Events = H, ve.ErrorTypes = D, ve.ErrorDetails = F, ve.MSEPlayer = ee, ve.NativePlayer = pe, ve.LoggingControl = Y.a, Object.defineProperty(ve, "version", { enumerable: !0, get: function() {
4343
4344
  return "1.7.3";
4344
4345
  } }), Z.default = ve;
4345
4346
  }]);
4346
4347
  });
4347
- })(Rt);
4348
- var oi = Rt.exports;
4349
- const At = /* @__PURE__ */ si(oi), di = ["element-loading-text", "element-loading-spinner", "element-loading-background"], _i = /* @__PURE__ */ Xt({
4348
+ })(Tt);
4349
+ var _i = Tt.exports;
4350
+ const Rt = /* @__PURE__ */ di(_i), hi = ["element-loading-text", "element-loading-spinner", "element-loading-background"], ci = /* @__PURE__ */ Yt({
4350
4351
  __name: "das-live-player",
4351
4352
  props: {
4352
4353
  src: {},
@@ -4361,38 +4362,38 @@ const At = /* @__PURE__ */ si(oi), di = ["element-loading-text", "element-loadin
4361
4362
  },
4362
4363
  emits: ["loaded", "errorClick"],
4363
4364
  setup(Ie, { expose: Ye, emit: fe }) {
4364
- Yt((h) => ({
4365
- "3f4b64f1": G.value
4365
+ Jt((h) => ({
4366
+ "600c0879": G.value
4366
4367
  }));
4367
4368
  const Z = Ie, O = fe;
4368
4369
  let U;
4369
4370
  const {
4370
4371
  fit: B,
4371
- loadingText: m = "加载中",
4372
+ loadingText: m = At("加载中"),
4372
4373
  loading: b = !1,
4373
4374
  error: v = !1,
4374
- errorText: f = "视频加载失败,请点击重试"
4375
- } = Jt(Z), L = ot(() => Z.src || ""), x = ot(() => {
4375
+ errorText: f = At("das-ui-live-player-videoLoadFailedRetry")
4376
+ } = Zt(Z), L = ot(() => Z.src || ""), x = ot(() => {
4376
4377
  const h = L.value.split(".").pop() || void 0;
4377
4378
  return Z.type ?? h ?? "flv";
4378
- }), C = ot(() => Z.config || {}), F = Xe(Z.retryTime || 0), H = Xe(null), _e = async () => {
4379
+ }), C = ot(() => Z.config || {}), V = Xe(Z.retryTime || 0), H = Xe(null), _e = async () => {
4379
4380
  if (!H.value) return;
4380
4381
  const h = {
4381
4382
  type: x.value,
4382
4383
  isLive: !0,
4383
4384
  url: L.value
4384
4385
  };
4385
- U = At.createPlayer(h, C.value), U.attachMediaElement(H.value), U.load(), U.play(), U.on(At.Events.ERROR, se), O("loaded", U);
4386
+ U = Rt.createPlayer(h, C.value), U.attachMediaElement(H.value), U.load(), U.play(), U.on(Rt.Events.ERROR, se), O("loaded", U);
4386
4387
  }, se = (h, _) => {
4387
4388
  Y();
4388
4389
  }, Y = () => {
4389
- F.value !== 0 && (F.value = F.value - 1, ae(), _e());
4390
+ V.value !== 0 && (V.value = V.value - 1, ae(), _e());
4390
4391
  }, ae = () => {
4391
4392
  U && (U.pause(), U.unload(), U.detachMediaElement(), U.destroy(), U = null);
4392
4393
  };
4393
- Zt(() => {
4394
+ $t(() => {
4394
4395
  _e();
4395
- }), $t(() => {
4396
+ }), Qt(() => {
4396
4397
  ae();
4397
4398
  }), Ye({
4398
4399
  video: H
@@ -4401,8 +4402,8 @@ const At = /* @__PURE__ */ si(oi), di = ["element-loading-text", "element-loadin
4401
4402
  _e(), O("errorClick");
4402
4403
  };
4403
4404
  return (h, _) => {
4404
- const c = ri;
4405
- return Qt((dt(), _t("div", {
4405
+ const c = si;
4406
+ return ei((dt(), _t("div", {
4406
4407
  class: "das-live-player",
4407
4408
  "element-loading-text": We(m),
4408
4409
  "element-loading-spinner": y.value,
@@ -4413,9 +4414,9 @@ const At = /* @__PURE__ */ si(oi), di = ["element-loading-text", "element-loadin
4413
4414
  class: "error",
4414
4415
  onClick: T
4415
4416
  }, [
4416
- ti(h.$slots, "error", {}, () => [
4417
- ii(
4418
- ni(We(f)),
4417
+ ii(h.$slots, "error", {}, () => [
4418
+ ni(
4419
+ ai(We(f)),
4419
4420
  1
4420
4421
  /* TEXT */
4421
4422
  )
@@ -4427,25 +4428,34 @@ const At = /* @__PURE__ */ si(oi), di = ["element-loading-text", "element-loadin
4427
4428
  ref_key: "video",
4428
4429
  ref: H,
4429
4430
  class: "video",
4430
- style: ei({ "object-fit": We(B) }),
4431
+ style: ti({ "object-fit": We(B) }),
4431
4432
  muted: ""
4432
4433
  },
4433
4434
  null,
4434
4435
  4
4435
4436
  /* STYLE */
4436
4437
  ))
4437
- ], 8, di)), [
4438
+ ], 8, hi)), [
4438
4439
  [c, We(b)]
4439
4440
  ]);
4440
4441
  };
4441
4442
  }
4442
- }), hi = (Ie, Ye) => {
4443
+ }), li = (Ie, Ye) => {
4443
4444
  const fe = Ie.__vccOpts || Ie;
4444
4445
  for (const [Z, O] of Ye)
4445
4446
  fe[Z] = O;
4446
4447
  return fe;
4447
- }, ci = /* @__PURE__ */ hi(_i, [["__scopeId", "data-v-007b5151"]]), gi = ai(ci), vi = () => Xe(null);
4448
+ }, ui = /* @__PURE__ */ li(ci, [["__scopeId", "data-v-70d5eba5"]]), fi = {
4449
+ 加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
4450
+ "das-ui-live-player-videoLoadFailedRetry": {
4451
+ "zh-CN": "视频加载失败,请点击重试",
4452
+ en: "The video failed to be loaded. please click to try again",
4453
+ _appCode: "framework"
4454
+ }
4455
+ };
4456
+ oi(fi);
4457
+ const Si = ri(ui), Ei = () => Xe(null);
4448
4458
  export {
4449
- gi as DasLivePlayer,
4450
- vi as getDasLivePlayerRef
4459
+ Si as DasLivePlayer,
4460
+ Ei as getDasLivePlayerRef
4451
4461
  };