@opendesign-plus-test/components 0.0.1-rc.19 → 0.0.1-rc.190

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 (863) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +1111 -189
  3. package/dist/components/activity/OActivityApproval.vue.d.ts +280 -0
  4. package/dist/components/activity/OActivityForm.vue.d.ts +288 -0
  5. package/dist/components/activity/OActivityMyCalendar.vue.d.ts +644 -0
  6. package/dist/components/activity/composables/useActivityConfig.d.ts +17 -0
  7. package/dist/components/activity/config.d.ts +1 -0
  8. package/dist/components/activity/index.d.ts +947 -0
  9. package/dist/components/activity/types.d.ts +88 -0
  10. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +29 -0
  11. package/dist/components/anchor-bar/index.d.ts +45 -0
  12. package/dist/components/anchor-bar/types.d.ts +20 -0
  13. package/dist/components/article/OArticle.vue.d.ts +73 -0
  14. package/dist/components/article/OArticleList.vue.d.ts +54 -0
  15. package/dist/components/article/index.d.ts +204 -0
  16. package/dist/components/article/types.d.ts +26 -0
  17. package/dist/components/article-pagination/OArticlePagination.vue.d.ts +24 -0
  18. package/dist/components/article-pagination/index.d.ts +76 -0
  19. package/dist/components/article-pagination/types.d.ts +4 -0
  20. package/dist/components/banner/OBanner.vue.d.ts +13 -0
  21. package/dist/components/banner/OBannerContent.vue.d.ts +7 -0
  22. package/dist/components/banner/index.d.ts +68 -0
  23. package/dist/components/banner/types.d.ts +31 -0
  24. package/dist/components/brand/OBrandFile.vue.d.ts +5 -0
  25. package/dist/components/brand/OBrandLogo.vue.d.ts +6 -0
  26. package/dist/components/brand/OBrandStandard.vue.d.ts +3 -0
  27. package/dist/components/brand/index.d.ts +63 -0
  28. package/dist/components/brand/types.d.ts +60 -0
  29. package/dist/components/brand/utils.d.ts +3 -0
  30. package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +24 -0
  31. package/dist/components/config-provider/index.d.ts +30 -0
  32. package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
  33. package/dist/components/cookie-notice/index.d.ts +53 -0
  34. package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
  35. package/dist/components/empty/OEmpty.vue.d.ts +24 -0
  36. package/dist/components/empty/index.d.ts +39 -0
  37. package/dist/components/events/OEventsList.vue.d.ts +2 -0
  38. package/dist/components/events/config.d.ts +6 -18
  39. package/dist/components/events/index.d.ts +2 -0
  40. package/dist/components/events/types.d.ts +8 -1
  41. package/dist/components/feedback-doc/OFeedbackDoc.vue.d.ts +221 -0
  42. package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +38 -0
  43. package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +39 -0
  44. package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +48 -0
  45. package/dist/components/feedback-doc/index.d.ts +545 -0
  46. package/dist/components/float-poster/OFloatPoster.vue.d.ts +24 -0
  47. package/dist/components/float-poster/index.d.ts +72 -0
  48. package/dist/components/float-poster/types.d.ts +21 -0
  49. package/dist/components/footer/OFooter.vue.d.ts +25 -0
  50. package/dist/components/footer/components/FooterList.vue.d.ts +21 -0
  51. package/dist/components/footer/components/FooterSimple.vue.d.ts +23 -0
  52. package/dist/components/footer/index.d.ts +33 -0
  53. package/dist/components/footer/types.d.ts +48 -0
  54. package/dist/components/header/OHeader.vue.d.ts +40 -0
  55. package/dist/components/header/OHeaderMobile.vue.d.ts +177 -0
  56. package/dist/components/header/components/HeaderContent.vue.d.ts +13 -0
  57. package/dist/components/header/components/HeaderFlatten.vue.d.ts +19 -0
  58. package/dist/components/header/components/HeaderNav.vue.d.ts +25 -0
  59. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +34 -0
  60. package/dist/components/header/index.d.ts +170 -0
  61. package/dist/components/header/types.d.ts +99 -0
  62. package/dist/components/header/utils.d.ts +4 -0
  63. package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +67 -0
  64. package/dist/components/header-language-switcher/index.d.ts +120 -0
  65. package/dist/components/header-search/OHeaderSearch.vue.d.ts +1047 -0
  66. package/dist/components/header-search/index.d.ts +616 -0
  67. package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +20 -0
  68. package/dist/components/header-source-code/index.d.ts +26 -0
  69. package/dist/components/header-theme/OHeaderTheme.vue.d.ts +25 -0
  70. package/dist/components/header-theme/index.d.ts +50 -0
  71. package/dist/components/header-user/OHeaderUser.vue.d.ts +126 -0
  72. package/dist/components/header-user/index.d.ts +131 -0
  73. package/dist/components/icon/index.d.ts +9 -0
  74. package/dist/components/logo-swiper/OLogoSwiper.vue.d.ts +18 -0
  75. package/dist/components/logo-swiper/OLogoSwiperItems.vue.d.ts +18 -0
  76. package/dist/components/logo-swiper/index.d.ts +77 -0
  77. package/dist/components/logo-swiper/types.d.ts +19 -0
  78. package/dist/components/markdown/OMarkdown.vue.d.ts +51 -0
  79. package/dist/components/markdown/components/MarkdownCode.vue.d.ts +9 -0
  80. package/dist/components/markdown/components/MarkdownImage.vue.d.ts +8 -0
  81. package/dist/components/markdown/components/MarkdownPageTitle.vue.d.ts +23 -0
  82. package/dist/components/markdown/components/MarkdownTable.vue.d.ts +5 -0
  83. package/dist/components/markdown/components/MarkdownTableData.vue.d.ts +11 -0
  84. package/dist/components/markdown/components/MarkdownTableExpand.vue.d.ts +12 -0
  85. package/dist/components/markdown/components/MarkdownTitle.vue.d.ts +6 -0
  86. package/dist/components/markdown/index.d.ts +108 -0
  87. package/dist/components/markdown/replacer/code.d.ts +5 -0
  88. package/dist/components/markdown/replacer/h1.d.ts +11 -0
  89. package/dist/components/markdown/replacer/h2.d.ts +2 -0
  90. package/dist/components/markdown/replacer/img.d.ts +2 -0
  91. package/dist/components/markdown/replacer/table.d.ts +2 -0
  92. package/dist/components/markdown/types.d.ts +2 -0
  93. package/dist/components/meeting/OMeetingCalendar.vue.d.ts +305 -0
  94. package/dist/components/meeting/OMeetingForm.vue.d.ts +293 -0
  95. package/dist/components/meeting/OMeetingMinutes.vue.d.ts +375 -0
  96. package/dist/components/meeting/OMeetingMinutesCopyDetail.vue.d.ts +7 -0
  97. package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +652 -0
  98. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +96 -0
  99. package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +294 -0
  100. package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +37 -0
  101. package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +30 -0
  102. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  103. package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +13 -0
  104. package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +20 -0
  105. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
  106. package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +324 -0
  107. package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +194 -0
  108. package/dist/components/meeting/composables/useMeetingConfig.d.ts +14 -0
  109. package/dist/components/meeting/config.d.ts +12 -0
  110. package/dist/components/meeting/index.d.ts +1582 -0
  111. package/dist/components/meeting/types.d.ts +263 -0
  112. package/dist/components/meeting/utils.d.ts +9 -0
  113. package/dist/components/org/OOrgDesc.vue.d.ts +22 -0
  114. package/dist/components/org/OOrgMembers.vue.d.ts +5 -0
  115. package/dist/components/org/index.d.ts +55 -0
  116. package/dist/components/org/types.d.ts +19 -0
  117. package/dist/components/search/OSearchInput.vue.d.ts +1037 -0
  118. package/dist/components/search/composables/useImageSearch.d.ts +48 -0
  119. package/dist/components/search/composables/useKeywordHighlight.d.ts +2 -0
  120. package/dist/components/search/composables/useSearchHistory.d.ts +14 -0
  121. package/dist/components/search/index.d.ts +606 -0
  122. package/dist/components/search/internal/HighlightText.vue.d.ts +9 -0
  123. package/dist/components/search/internal/SearchImageInput.vue.d.ts +748 -0
  124. package/dist/components/search/internal/SearchPanel.vue.d.ts +100 -0
  125. package/dist/components/search/types.d.ts +20 -0
  126. package/dist/components/section/OSection.vue.d.ts +37 -0
  127. package/dist/components/section/index.d.ts +47 -0
  128. package/dist/components/sig/OSigDetail.vue.d.ts +31 -0
  129. package/dist/components/sig/OSigList.vue.d.ts +15 -0
  130. package/dist/components/sig/components/OSigDetailInfoCard.vue.d.ts +15 -0
  131. package/dist/components/sig/components/OSigItem.vue.d.ts +14 -0
  132. package/dist/components/sig/components/OSigMember.vue.d.ts +10 -0
  133. package/dist/components/sig/components/OSigRepo.vue.d.ts +9 -0
  134. package/dist/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
  135. package/dist/components/sig/components/utils.d.ts +41 -0
  136. package/dist/components/sig/index.d.ts +78 -0
  137. package/dist/components/sig/types.d.ts +180 -0
  138. package/dist/components/summit/OSummit.vue.d.ts +7 -0
  139. package/dist/components/summit/OSummitIntro.vue.d.ts +3 -0
  140. package/dist/components/summit/OSummitLive.vue.d.ts +7 -0
  141. package/dist/components/summit/OSummitSchedule.vue.d.ts +3 -0
  142. package/dist/components/summit/components/OSummitTabs.vue.d.ts +16 -0
  143. package/dist/components/summit/index.d.ts +83 -0
  144. package/dist/components/summit/types.d.ts +69 -0
  145. package/dist/components/video/OVideoDetail.vue.d.ts +7 -0
  146. package/dist/components/video/index.d.ts +27 -0
  147. package/dist/components/video/types.d.ts +24 -0
  148. package/dist/components.cjs.js +225 -3
  149. package/dist/components.css +1 -1
  150. package/dist/components.es.js +52278 -3108
  151. package/dist/index.d.ts +28 -16
  152. package/dist/treeshaking/_virtual/@babel/runtime/helpers/esm/extends.js.mjs +12 -0
  153. package/dist/treeshaking/_virtual/@babel/runtime/helpers/extends.js.mjs +22 -0
  154. package/dist/treeshaking/_virtual/@babel/runtime/helpers/extends.js2.mjs +4 -0
  155. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/byte-helpers.js.mjs +141 -0
  156. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/codecs.js.mjs +158 -0
  157. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/containers.js.mjs +161 -0
  158. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js.mjs +15 -0
  159. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/ebml-helpers.js.mjs +126 -0
  160. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/id3-helpers.js.mjs +32 -0
  161. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/media-groups.js.mjs +13 -0
  162. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/media-types.js.mjs +17 -0
  163. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/mp4-helpers.js.mjs +57 -0
  164. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/nal-helpers.js.mjs +78 -0
  165. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/resolve-url.js.mjs +23 -0
  166. package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/stream.js.mjs +51 -0
  167. package/dist/treeshaking/_virtual/@videojs/xhr/lib/http-handler.js.mjs +55 -0
  168. package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js.mjs +7 -0
  169. package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js2.mjs +300 -0
  170. package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js3.mjs +4 -0
  171. package/dist/treeshaking/_virtual/@videojs/xhr/lib/interceptors.js.mjs +109 -0
  172. package/dist/treeshaking/_virtual/@videojs/xhr/lib/retry.js.mjs +104 -0
  173. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/conventions.js.mjs +142 -0
  174. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/conventions.js2.mjs +4 -0
  175. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom-parser.js.mjs +224 -0
  176. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom-parser.js2.mjs +4 -0
  177. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom.js.mjs +1449 -0
  178. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom.js2.mjs +4 -0
  179. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/entities.js.mjs +2149 -0
  180. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/entities.js2.mjs +4 -0
  181. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js.mjs +5 -0
  182. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js2.mjs +16 -0
  183. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js3.mjs +4 -0
  184. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/sax.js.mjs +594 -0
  185. package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/sax.js2.mjs +4 -0
  186. package/dist/treeshaking/_virtual/___vite-browser-external.mjs +6 -0
  187. package/dist/treeshaking/_virtual/__vite-browser-external.mjs +4 -0
  188. package/dist/treeshaking/_virtual/_commonjsHelpers.mjs +33 -0
  189. package/dist/treeshaking/_virtual/_plugin-vue_export-helper.mjs +10 -0
  190. package/dist/treeshaking/_virtual/global/document.js.mjs +7 -0
  191. package/dist/treeshaking/_virtual/global/document.js2.mjs +24 -0
  192. package/dist/treeshaking/_virtual/global/window.js.mjs +7 -0
  193. package/dist/treeshaking/_virtual/global/window.js2.mjs +22 -0
  194. package/dist/treeshaking/_virtual/icon-all.mjs +20 -0
  195. package/dist/treeshaking/_virtual/icon-atomgit.mjs +25 -0
  196. package/dist/treeshaking/_virtual/icon-avatar-line.mjs +20 -0
  197. package/dist/treeshaking/_virtual/icon-caret-left.mjs +20 -0
  198. package/dist/treeshaking/_virtual/icon-caret-right.mjs +20 -0
  199. package/dist/treeshaking/_virtual/icon-checked.mjs +20 -0
  200. package/dist/treeshaking/_virtual/icon-chevron-down.mjs +20 -0
  201. package/dist/treeshaking/_virtual/icon-chevron-right.mjs +20 -0
  202. package/dist/treeshaking/_virtual/icon-chevron-up.mjs +20 -0
  203. package/dist/treeshaking/_virtual/icon-close.mjs +20 -0
  204. package/dist/treeshaking/_virtual/icon-competition.mjs +31 -0
  205. package/dist/treeshaking/_virtual/icon-copy.mjs +21 -0
  206. package/dist/treeshaking/_virtual/icon-copy2.mjs +20 -0
  207. package/dist/treeshaking/_virtual/icon-delete-hover.mjs +24 -0
  208. package/dist/treeshaking/_virtual/icon-delete.mjs +17 -0
  209. package/dist/treeshaking/_virtual/icon-download.mjs +17 -0
  210. package/dist/treeshaking/_virtual/icon-email.mjs +21 -0
  211. package/dist/treeshaking/_virtual/icon-event.mjs +21 -0
  212. package/dist/treeshaking/_virtual/icon-events.mjs +31 -0
  213. package/dist/treeshaking/_virtual/icon-expand.mjs +21 -0
  214. package/dist/treeshaking/_virtual/icon-forum.mjs +21 -0
  215. package/dist/treeshaking/_virtual/icon-gitee.mjs +20 -0
  216. package/dist/treeshaking/_virtual/icon-header-back.mjs +20 -0
  217. package/dist/treeshaking/_virtual/icon-header-menu.mjs +20 -0
  218. package/dist/treeshaking/_virtual/icon-header-search.mjs +20 -0
  219. package/dist/treeshaking/_virtual/icon-help.mjs +21 -0
  220. package/dist/treeshaking/_virtual/icon-image-upload.mjs +20 -0
  221. package/dist/treeshaking/_virtual/icon-image-zoomin.mjs +20 -0
  222. package/dist/treeshaking/_virtual/icon-link.mjs +31 -0
  223. package/dist/treeshaking/_virtual/icon-locale.mjs +20 -0
  224. package/dist/treeshaking/_virtual/icon-mail.mjs +17 -0
  225. package/dist/treeshaking/_virtual/icon-material.mjs +21 -0
  226. package/dist/treeshaking/_virtual/icon-meet.mjs +21 -0
  227. package/dist/treeshaking/_virtual/icon-moon.mjs +20 -0
  228. package/dist/treeshaking/_virtual/icon-more.mjs +19 -0
  229. package/dist/treeshaking/_virtual/icon-next.mjs +23 -0
  230. package/dist/treeshaking/_virtual/icon-notice.mjs +20 -0
  231. package/dist/treeshaking/_virtual/icon-outlink.mjs +20 -0
  232. package/dist/treeshaking/_virtual/icon-playing.mjs +33 -0
  233. package/dist/treeshaking/_virtual/icon-refresh.mjs +21 -0
  234. package/dist/treeshaking/_virtual/icon-release.mjs +31 -0
  235. package/dist/treeshaking/_virtual/icon-search.mjs +17 -0
  236. package/dist/treeshaking/_virtual/icon-search2.mjs +17 -0
  237. package/dist/treeshaking/_virtual/icon-smile.mjs +21 -0
  238. package/dist/treeshaking/_virtual/icon-speaker.mjs +17 -0
  239. package/dist/treeshaking/_virtual/icon-star.mjs +20 -0
  240. package/dist/treeshaking/_virtual/icon-summit.mjs +21 -0
  241. package/dist/treeshaking/_virtual/icon-summit2.mjs +31 -0
  242. package/dist/treeshaking/_virtual/icon-sun.mjs +20 -0
  243. package/dist/treeshaking/_virtual/icon-time.mjs +20 -0
  244. package/dist/treeshaking/_virtual/icon-tip.mjs +21 -0
  245. package/dist/treeshaking/_virtual/icon-tips.mjs +17 -0
  246. package/dist/treeshaking/_virtual/icon-unexpand.mjs +22 -0
  247. package/dist/treeshaking/_virtual/icon-user.mjs +17 -0
  248. package/dist/treeshaking/_virtual/icon-video.mjs +28 -0
  249. package/dist/treeshaking/_virtual/icon-working.mjs +17 -0
  250. package/dist/treeshaking/_virtual/is-function/index.js.mjs +20 -0
  251. package/dist/treeshaking/_virtual/m3u8-parser/dist/m3u8-parser.es.js.mjs +1390 -0
  252. package/dist/treeshaking/_virtual/mpd-parser/dist/mpd-parser.es.js.mjs +1693 -0
  253. package/dist/treeshaking/_virtual/mux.js/lib/tools/parse-sidx.js.mjs +7 -0
  254. package/dist/treeshaking/_virtual/mux.js/lib/tools/parse-sidx.js2.mjs +45 -0
  255. package/dist/treeshaking/_virtual/mux.js/lib/utils/clock.js.mjs +5 -0
  256. package/dist/treeshaking/_virtual/mux.js/lib/utils/clock.js2.mjs +42 -0
  257. package/dist/treeshaking/_virtual/mux.js/lib/utils/numbers.js.mjs +27 -0
  258. package/dist/treeshaking/_virtual/sig-space.mjs +20 -0
  259. package/dist/treeshaking/_virtual/video.js/dist/video-js.css +2018 -0
  260. package/dist/treeshaking/_virtual/video.js/dist/video.es.js.mjs +40111 -0
  261. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js.mjs +7 -0
  262. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js2.mjs +37 -0
  263. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js3.mjs +4 -0
  264. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vtt.js.mjs +1082 -0
  265. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vttcue.js.mjs +235 -0
  266. package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vttregion.js.mjs +122 -0
  267. package/dist/treeshaking/assets/meeting/empty.png.mjs +4 -0
  268. package/dist/treeshaking/assets/meeting/transparent.png.mjs +4 -0
  269. package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +4 -0
  270. package/dist/treeshaking/components/activity/OActivityApproval.css +339 -0
  271. package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +280 -0
  272. package/dist/treeshaking/components/activity/OActivityApproval.vue.mjs +672 -0
  273. package/dist/treeshaking/components/activity/OActivityApproval.vue4.mjs +6 -0
  274. package/dist/treeshaking/components/activity/OActivityApproval2.css +40 -0
  275. package/dist/treeshaking/components/activity/OActivityForm.css +364 -0
  276. package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +288 -0
  277. package/dist/treeshaking/components/activity/OActivityForm.vue.mjs +628 -0
  278. package/dist/treeshaking/components/activity/OActivityForm.vue4.mjs +6 -0
  279. package/dist/treeshaking/components/activity/OActivityForm2.css +327 -0
  280. package/dist/treeshaking/components/activity/OActivityMyCalendar.css +1375 -0
  281. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +644 -0
  282. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.mjs +861 -0
  283. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue4.mjs +6 -0
  284. package/dist/treeshaking/components/activity/OActivityMyCalendar2.css +318 -0
  285. package/dist/treeshaking/components/activity/composables/useActivityConfig.d.ts +17 -0
  286. package/dist/treeshaking/components/activity/composables/useActivityConfig.mjs +139 -0
  287. package/dist/treeshaking/components/activity/config.d.ts +1 -0
  288. package/dist/treeshaking/components/activity/config.mjs +4 -0
  289. package/dist/treeshaking/components/activity/index.d.ts +947 -0
  290. package/dist/treeshaking/components/activity/index.mjs +29 -0
  291. package/dist/treeshaking/components/activity/types.d.ts +88 -0
  292. package/dist/treeshaking/components/anchor-bar/OAnchorBar.css +138 -0
  293. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +29 -0
  294. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.mjs +7 -0
  295. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue2.mjs +103 -0
  296. package/dist/treeshaking/components/anchor-bar/index.d.ts +45 -0
  297. package/dist/treeshaking/components/anchor-bar/index.mjs +9 -0
  298. package/dist/treeshaking/components/anchor-bar/types.d.ts +20 -0
  299. package/dist/treeshaking/components/article/OArticle.css +211 -0
  300. package/dist/treeshaking/components/article/OArticle.vue.d.ts +73 -0
  301. package/dist/treeshaking/components/article/OArticle.vue.mjs +7 -0
  302. package/dist/treeshaking/components/article/OArticle.vue2.mjs +136 -0
  303. package/dist/treeshaking/components/article/OArticleList.css +232 -0
  304. package/dist/treeshaking/components/article/OArticleList.vue.d.ts +54 -0
  305. package/dist/treeshaking/components/article/OArticleList.vue.mjs +205 -0
  306. package/dist/treeshaking/components/article/OArticleList.vue3.mjs +5 -0
  307. package/dist/treeshaking/components/article/index.d.ts +204 -0
  308. package/dist/treeshaking/components/article/index.mjs +17 -0
  309. package/dist/treeshaking/components/article/types.d.ts +26 -0
  310. package/dist/treeshaking/components/article-pagination/OArticlePagination.css +218 -0
  311. package/dist/treeshaking/components/article-pagination/OArticlePagination.vue.d.ts +24 -0
  312. package/dist/treeshaking/components/article-pagination/OArticlePagination.vue.mjs +7 -0
  313. package/dist/treeshaking/components/article-pagination/OArticlePagination.vue2.mjs +107 -0
  314. package/dist/treeshaking/components/article-pagination/index.d.ts +76 -0
  315. package/dist/treeshaking/components/article-pagination/index.mjs +9 -0
  316. package/dist/treeshaking/components/article-pagination/types.d.ts +4 -0
  317. package/dist/treeshaking/components/banner/OBanner.css +151 -0
  318. package/dist/treeshaking/components/banner/OBanner.vue.d.ts +13 -0
  319. package/dist/treeshaking/components/banner/OBanner.vue.mjs +8 -0
  320. package/dist/treeshaking/components/banner/OBanner.vue2.mjs +142 -0
  321. package/dist/treeshaking/components/banner/OBanner2.css +39 -0
  322. package/dist/treeshaking/components/banner/OBannerContent.css +113 -0
  323. package/dist/treeshaking/components/banner/OBannerContent.vue.d.ts +7 -0
  324. package/dist/treeshaking/components/banner/OBannerContent.vue.mjs +7 -0
  325. package/dist/treeshaking/components/banner/OBannerContent.vue2.mjs +102 -0
  326. package/dist/treeshaking/components/banner/index.d.ts +68 -0
  327. package/dist/treeshaking/components/banner/index.mjs +16 -0
  328. package/dist/treeshaking/components/banner/types.d.ts +31 -0
  329. package/dist/treeshaking/components/brand/OBrandFile.css +65 -0
  330. package/dist/treeshaking/components/brand/OBrandFile.vue.d.ts +5 -0
  331. package/dist/treeshaking/components/brand/OBrandFile.vue.mjs +7 -0
  332. package/dist/treeshaking/components/brand/OBrandFile.vue2.mjs +70 -0
  333. package/dist/treeshaking/components/brand/OBrandLogo.css +105 -0
  334. package/dist/treeshaking/components/brand/OBrandLogo.vue.d.ts +6 -0
  335. package/dist/treeshaking/components/brand/OBrandLogo.vue.mjs +8 -0
  336. package/dist/treeshaking/components/brand/OBrandLogo.vue2.mjs +120 -0
  337. package/dist/treeshaking/components/brand/OBrandLogo2.css +11 -0
  338. package/dist/treeshaking/components/brand/OBrandStandard.css +120 -0
  339. package/dist/treeshaking/components/brand/OBrandStandard.vue.d.ts +3 -0
  340. package/dist/treeshaking/components/brand/OBrandStandard.vue.mjs +7 -0
  341. package/dist/treeshaking/components/brand/OBrandStandard.vue2.mjs +59 -0
  342. package/dist/treeshaking/components/brand/index.d.ts +63 -0
  343. package/dist/treeshaking/components/brand/index.mjs +23 -0
  344. package/dist/treeshaking/components/brand/types.d.ts +60 -0
  345. package/dist/treeshaking/components/brand/utils.d.ts +3 -0
  346. package/dist/treeshaking/components/brand/utils.mjs +28 -0
  347. package/dist/treeshaking/components/common/AppAvatar.css +20 -0
  348. package/dist/treeshaking/components/common/AppAvatar.vue.mjs +7 -0
  349. package/dist/treeshaking/components/common/AppAvatar.vue2.mjs +83 -0
  350. package/dist/treeshaking/components/common/ClientOnly.vue.mjs +16 -0
  351. package/dist/treeshaking/components/common/ClientOnly.vue2.mjs +4 -0
  352. package/dist/treeshaking/components/common/ContentWrapper.css +36 -0
  353. package/dist/treeshaking/components/common/ContentWrapper.vue.mjs +7 -0
  354. package/dist/treeshaking/components/common/ContentWrapper.vue2.mjs +50 -0
  355. package/dist/treeshaking/components/common/TooltipText.css +35 -0
  356. package/dist/treeshaking/components/common/TooltipText.vue.mjs +105 -0
  357. package/dist/treeshaking/components/common/TooltipText.vue3.mjs +5 -0
  358. package/dist/treeshaking/components/common/WordAvatar.css +19 -0
  359. package/dist/treeshaking/components/common/WordAvatar.vue.mjs +84 -0
  360. package/dist/treeshaking/components/common/WordAvatar.vue3.mjs +5 -0
  361. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +24 -0
  362. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +33 -0
  363. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue2.mjs +4 -0
  364. package/dist/treeshaking/components/config-provider/index.d.ts +30 -0
  365. package/dist/treeshaking/components/config-provider/index.mjs +9 -0
  366. package/dist/treeshaking/components/cookie-notice/OCookieNotice.css +35 -0
  367. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
  368. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.mjs +8 -0
  369. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue2.mjs +367 -0
  370. package/dist/treeshaking/components/cookie-notice/OCookieNotice2.css +309 -0
  371. package/dist/treeshaking/components/cookie-notice/index.d.ts +53 -0
  372. package/dist/treeshaking/components/cookie-notice/index.mjs +9 -0
  373. package/dist/treeshaking/components/element-plus/OElCookieNotice.css +303 -0
  374. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.d.ts +34 -0
  375. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +8 -0
  376. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue2.mjs +384 -0
  377. package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +688 -0
  378. package/dist/treeshaking/components/element-plus/index.d.ts +2 -0
  379. package/dist/treeshaking/components/empty/404.png.mjs +4 -0
  380. package/dist/treeshaking/components/empty/404_dark.png.mjs +4 -0
  381. package/dist/treeshaking/components/empty/OEmpty.css +60 -0
  382. package/dist/treeshaking/components/empty/OEmpty.vue.d.ts +24 -0
  383. package/dist/treeshaking/components/empty/OEmpty.vue.mjs +7 -0
  384. package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +40 -0
  385. package/dist/treeshaking/components/empty/index.d.ts +39 -0
  386. package/dist/treeshaking/components/empty/index.mjs +9 -0
  387. package/dist/treeshaking/components/events/OEventsApply.css +583 -0
  388. package/dist/treeshaking/components/events/OEventsApply.vue.d.ts +16 -0
  389. package/dist/treeshaking/components/events/OEventsApply.vue.mjs +98 -0
  390. package/dist/treeshaking/components/events/OEventsApply.vue3.mjs +5 -0
  391. package/dist/treeshaking/components/events/OEventsCalendar.css +524 -0
  392. package/dist/treeshaking/components/events/OEventsCalendar.vue.d.ts +5 -0
  393. package/dist/treeshaking/components/events/OEventsCalendar.vue.mjs +289 -0
  394. package/dist/treeshaking/components/events/OEventsCalendar.vue3.mjs +5 -0
  395. package/dist/treeshaking/components/events/OEventsList.css +492 -0
  396. package/dist/treeshaking/components/events/OEventsList.vue.d.ts +28 -0
  397. package/dist/treeshaking/components/events/OEventsList.vue.mjs +237 -0
  398. package/dist/treeshaking/components/events/OEventsList.vue3.mjs +5 -0
  399. package/dist/treeshaking/components/events/config.d.ts +14 -0
  400. package/dist/treeshaking/components/events/config.mjs +37 -0
  401. package/dist/treeshaking/components/events/index.d.ts +80 -0
  402. package/dist/treeshaking/components/events/index.mjs +26 -0
  403. package/dist/treeshaking/components/events/types.d.ts +73 -0
  404. package/dist/treeshaking/components/events/types.mjs +9 -0
  405. package/{src/components/events/utils.ts → dist/treeshaking/components/events/utils.d.ts} +7 -9
  406. package/dist/treeshaking/components/events/utils.mjs +6 -0
  407. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +23 -0
  408. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +221 -0
  409. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +7 -0
  410. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +165 -0
  411. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +143 -0
  412. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +38 -0
  413. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +7 -0
  414. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +309 -0
  415. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +39 -0
  416. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +99 -0
  417. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue2.mjs +4 -0
  418. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +11 -0
  419. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +48 -0
  420. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +7 -0
  421. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +95 -0
  422. package/dist/treeshaking/components/feedback-doc/index.d.ts +545 -0
  423. package/dist/treeshaking/components/feedback-doc/index.mjs +30 -0
  424. package/dist/treeshaking/components/float-poster/OFloatPoster.css +78 -0
  425. package/dist/treeshaking/components/float-poster/OFloatPoster.vue.d.ts +24 -0
  426. package/dist/treeshaking/components/float-poster/OFloatPoster.vue.mjs +7 -0
  427. package/dist/treeshaking/components/float-poster/OFloatPoster.vue2.mjs +84 -0
  428. package/dist/treeshaking/components/float-poster/index.d.ts +72 -0
  429. package/dist/treeshaking/components/float-poster/index.mjs +9 -0
  430. package/dist/treeshaking/components/float-poster/types.d.ts +21 -0
  431. package/dist/treeshaking/components/footer/OFooter.css +60 -0
  432. package/dist/{components → treeshaking/components/footer}/OFooter.vue.d.ts +5 -5
  433. package/dist/treeshaking/components/footer/OFooter.vue.mjs +7 -0
  434. package/dist/treeshaking/components/footer/OFooter.vue2.mjs +92 -0
  435. package/dist/treeshaking/components/footer/components/FooterList.css +475 -0
  436. package/dist/treeshaking/components/footer/components/FooterList.vue.d.ts +21 -0
  437. package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +7 -0
  438. package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +215 -0
  439. package/dist/treeshaking/components/footer/components/FooterSimple.css +123 -0
  440. package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +23 -0
  441. package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +7 -0
  442. package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +109 -0
  443. package/dist/treeshaking/components/footer/index.d.ts +33 -0
  444. package/dist/treeshaking/components/footer/index.mjs +9 -0
  445. package/dist/treeshaking/components/footer/types.d.ts +48 -0
  446. package/dist/treeshaking/components/header/OHeader.css +101 -0
  447. package/dist/treeshaking/components/header/OHeader.vue.d.ts +40 -0
  448. package/dist/treeshaking/components/header/OHeader.vue.mjs +7 -0
  449. package/dist/treeshaking/components/header/OHeader.vue2.mjs +271 -0
  450. package/dist/treeshaking/components/header/OHeaderMobile.css +106 -0
  451. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +177 -0
  452. package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +7 -0
  453. package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +145 -0
  454. package/dist/treeshaking/components/header/components/HeaderContent.css +887 -0
  455. package/dist/treeshaking/components/header/components/HeaderContent.vue.d.ts +13 -0
  456. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +7 -0
  457. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +365 -0
  458. package/dist/treeshaking/components/header/components/HeaderFlatten.css +301 -0
  459. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.d.ts +19 -0
  460. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +7 -0
  461. package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +288 -0
  462. package/dist/treeshaking/components/header/components/HeaderNav.css +237 -0
  463. package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +25 -0
  464. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +7 -0
  465. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +244 -0
  466. package/dist/treeshaking/components/header/components/HeaderNavMobile.css +434 -0
  467. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +34 -0
  468. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +7 -0
  469. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +253 -0
  470. package/dist/treeshaking/components/header/index.d.ts +170 -0
  471. package/dist/treeshaking/components/header/index.mjs +16 -0
  472. package/dist/treeshaking/components/header/types.d.ts +99 -0
  473. package/dist/treeshaking/components/header/types.mjs +9 -0
  474. package/dist/treeshaking/components/header/utils.d.ts +4 -0
  475. package/dist/treeshaking/components/header/utils.mjs +20 -0
  476. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +124 -0
  477. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +67 -0
  478. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +8 -0
  479. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +129 -0
  480. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher2.css +11 -0
  481. package/dist/treeshaking/components/header-language-switcher/index.d.ts +120 -0
  482. package/dist/treeshaking/components/header-language-switcher/index.mjs +9 -0
  483. package/dist/treeshaking/components/header-search/OHeaderSearch.css +220 -0
  484. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +1047 -0
  485. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +7 -0
  486. package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +436 -0
  487. package/dist/treeshaking/components/header-search/index.d.ts +616 -0
  488. package/dist/treeshaking/components/header-search/index.mjs +9 -0
  489. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +157 -0
  490. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.d.ts +20 -0
  491. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +7 -0
  492. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +89 -0
  493. package/dist/treeshaking/components/header-source-code/index.d.ts +26 -0
  494. package/dist/treeshaking/components/header-source-code/index.mjs +9 -0
  495. package/dist/treeshaking/components/header-theme/OHeaderTheme.css +48 -0
  496. package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.d.ts +25 -0
  497. package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.mjs +7 -0
  498. package/dist/treeshaking/components/header-theme/OHeaderTheme.vue2.mjs +86 -0
  499. package/dist/treeshaking/components/header-theme/index.d.ts +50 -0
  500. package/dist/treeshaking/components/header-theme/index.mjs +9 -0
  501. package/dist/treeshaking/components/header-user/OHeaderUser.css +207 -0
  502. package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +126 -0
  503. package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +8 -0
  504. package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +161 -0
  505. package/dist/treeshaking/components/header-user/OHeaderUser2.css +31 -0
  506. package/dist/treeshaking/components/header-user/index.d.ts +131 -0
  507. package/dist/treeshaking/components/header-user/index.mjs +9 -0
  508. package/dist/treeshaking/components/icon/index.d.ts +9 -0
  509. package/dist/treeshaking/components/icon/index.mjs +12 -0
  510. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.css +45 -0
  511. package/dist/{components/OHeader.vue.d.ts → treeshaking/components/logo-swiper/OLogoSwiper.vue.d.ts} +3 -8
  512. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.mjs +7 -0
  513. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue2.mjs +21 -0
  514. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +101 -0
  515. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.d.ts +18 -0
  516. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +7 -0
  517. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +162 -0
  518. package/dist/treeshaking/components/logo-swiper/index.d.ts +77 -0
  519. package/dist/treeshaking/components/logo-swiper/index.mjs +16 -0
  520. package/dist/treeshaking/components/logo-swiper/types.d.ts +19 -0
  521. package/dist/treeshaking/components/markdown/OMarkdown.css +1160 -0
  522. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +51 -0
  523. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +8 -0
  524. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +163 -0
  525. package/dist/treeshaking/components/markdown/OMarkdown2.css +14 -0
  526. package/dist/treeshaking/components/markdown/components/MarkdownCode.css +12 -0
  527. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.d.ts +9 -0
  528. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.mjs +8 -0
  529. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue2.mjs +127 -0
  530. package/dist/treeshaking/components/markdown/components/MarkdownCode2.css +136 -0
  531. package/dist/treeshaking/components/markdown/components/MarkdownImage.css +73 -0
  532. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.d.ts +8 -0
  533. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.mjs +7 -0
  534. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue2.mjs +76 -0
  535. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +288 -0
  536. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.d.ts +23 -0
  537. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +7 -0
  538. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue2.mjs +255 -0
  539. package/dist/treeshaking/components/markdown/components/MarkdownTable.css +61 -0
  540. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.d.ts +5 -0
  541. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.mjs +7 -0
  542. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue2.mjs +59 -0
  543. package/dist/treeshaking/components/markdown/components/MarkdownTableData.css +111 -0
  544. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.d.ts +11 -0
  545. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.mjs +7 -0
  546. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue2.mjs +181 -0
  547. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.css +66 -0
  548. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.d.ts +12 -0
  549. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.mjs +7 -0
  550. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue2.mjs +57 -0
  551. package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +173 -0
  552. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.d.ts +6 -0
  553. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +7 -0
  554. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +69 -0
  555. package/dist/treeshaking/components/markdown/index.d.ts +108 -0
  556. package/dist/treeshaking/components/markdown/index.mjs +9 -0
  557. package/dist/treeshaking/components/markdown/replacer/code.d.ts +5 -0
  558. package/dist/treeshaking/components/markdown/replacer/code.mjs +23 -0
  559. package/dist/treeshaking/components/markdown/replacer/h1.d.ts +11 -0
  560. package/dist/treeshaking/components/markdown/replacer/h1.mjs +29 -0
  561. package/dist/treeshaking/components/markdown/replacer/h2.d.ts +2 -0
  562. package/dist/treeshaking/components/markdown/replacer/h2.mjs +22 -0
  563. package/dist/treeshaking/components/markdown/replacer/img.d.ts +2 -0
  564. package/dist/treeshaking/components/markdown/replacer/img.mjs +22 -0
  565. package/dist/treeshaking/components/markdown/replacer/table.d.ts +2 -0
  566. package/dist/treeshaking/components/markdown/replacer/table.mjs +22 -0
  567. package/dist/treeshaking/components/markdown/types.d.ts +2 -0
  568. package/dist/treeshaking/components/meeting/OMeetingCalendar.css +1100 -0
  569. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +305 -0
  570. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +597 -0
  571. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue3.mjs +5 -0
  572. package/dist/treeshaking/components/meeting/OMeetingForm.css +777 -0
  573. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +293 -0
  574. package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +1076 -0
  575. package/dist/treeshaking/components/meeting/OMeetingForm.vue4.mjs +6 -0
  576. package/dist/treeshaking/components/meeting/OMeetingForm2.css +358 -0
  577. package/dist/treeshaking/components/meeting/OMeetingMinutes.css +486 -0
  578. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +375 -0
  579. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +415 -0
  580. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue3.mjs +5 -0
  581. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.css +95 -0
  582. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.d.ts +7 -0
  583. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.mjs +7 -0
  584. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue2.mjs +74 -0
  585. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +1344 -0
  586. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +652 -0
  587. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +916 -0
  588. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue4.mjs +6 -0
  589. package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +333 -0
  590. package/dist/treeshaking/components/meeting/OMeetingPlayback.css +360 -0
  591. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +96 -0
  592. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +398 -0
  593. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue3.mjs +5 -0
  594. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +229 -0
  595. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +294 -0
  596. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +221 -0
  597. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue3.mjs +5 -0
  598. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +258 -0
  599. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +37 -0
  600. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +396 -0
  601. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue3.mjs +5 -0
  602. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +449 -0
  603. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.d.ts +30 -0
  604. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +415 -0
  605. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue3.mjs +5 -0
  606. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.css +379 -0
  607. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  608. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.mjs +132 -0
  609. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue4.mjs +6 -0
  610. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector2.css +343 -0
  611. package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +149 -0
  612. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.d.ts +13 -0
  613. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +194 -0
  614. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue3.mjs +5 -0
  615. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +740 -0
  616. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +20 -0
  617. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +426 -0
  618. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue4.mjs +6 -0
  619. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles2.css +344 -0
  620. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.css +438 -0
  621. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
  622. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +244 -0
  623. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue3.mjs +5 -0
  624. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +14 -0
  625. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +324 -0
  626. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +7 -0
  627. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue2.mjs +93 -0
  628. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +176 -0
  629. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +194 -0
  630. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +152 -0
  631. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue3.mjs +5 -0
  632. package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +14 -0
  633. package/dist/treeshaking/components/meeting/composables/useMeetingConfig.mjs +97 -0
  634. package/dist/treeshaking/components/meeting/config.d.ts +12 -0
  635. package/dist/treeshaking/components/meeting/config.mjs +19 -0
  636. package/dist/treeshaking/components/meeting/index.d.ts +1582 -0
  637. package/dist/treeshaking/components/meeting/index.mjs +67 -0
  638. package/dist/treeshaking/components/meeting/types.d.ts +263 -0
  639. package/dist/treeshaking/components/meeting/types.mjs +17 -0
  640. package/dist/treeshaking/components/meeting/utils.d.ts +9 -0
  641. package/dist/treeshaking/components/meeting/utils.mjs +68 -0
  642. package/dist/treeshaking/components/org/OOrgDesc.css +107 -0
  643. package/dist/treeshaking/components/org/OOrgDesc.vue.d.ts +22 -0
  644. package/dist/treeshaking/components/org/OOrgDesc.vue.mjs +7 -0
  645. package/dist/treeshaking/components/org/OOrgDesc.vue2.mjs +40 -0
  646. package/dist/treeshaking/components/org/OOrgMembers.css +234 -0
  647. package/dist/treeshaking/components/org/OOrgMembers.vue.d.ts +5 -0
  648. package/dist/treeshaking/components/org/OOrgMembers.vue.mjs +7 -0
  649. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +108 -0
  650. package/dist/treeshaking/components/org/index.d.ts +55 -0
  651. package/dist/treeshaking/components/org/index.mjs +16 -0
  652. package/dist/treeshaking/components/org/types.d.ts +19 -0
  653. package/dist/treeshaking/components/search/OSearchInput.css +155 -0
  654. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +1037 -0
  655. package/dist/treeshaking/components/search/OSearchInput.vue.mjs +7 -0
  656. package/dist/treeshaking/components/search/OSearchInput.vue2.mjs +382 -0
  657. package/dist/treeshaking/components/search/composables/useImageSearch.d.ts +48 -0
  658. package/dist/treeshaking/components/search/composables/useImageSearch.mjs +134 -0
  659. package/dist/treeshaking/components/search/composables/useKeywordHighlight.d.ts +2 -0
  660. package/dist/treeshaking/components/search/composables/useKeywordHighlight.mjs +28 -0
  661. package/dist/treeshaking/components/search/composables/useSearchHistory.d.ts +14 -0
  662. package/dist/treeshaking/components/search/composables/useSearchHistory.mjs +58 -0
  663. package/dist/treeshaking/components/search/index.d.ts +606 -0
  664. package/dist/treeshaking/components/search/index.mjs +9 -0
  665. package/dist/treeshaking/components/search/internal/HighlightText.css +12 -0
  666. package/dist/treeshaking/components/search/internal/HighlightText.vue.d.ts +9 -0
  667. package/dist/treeshaking/components/search/internal/HighlightText.vue.mjs +7 -0
  668. package/dist/treeshaking/components/search/internal/HighlightText.vue2.mjs +33 -0
  669. package/dist/treeshaking/components/search/internal/SearchImageInput.css +242 -0
  670. package/dist/{components/OHeaderSearch.vue.d.ts → treeshaking/components/search/internal/SearchImageInput.vue.d.ts} +245 -189
  671. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +8 -0
  672. package/dist/treeshaking/components/search/internal/SearchImageInput.vue2.mjs +305 -0
  673. package/dist/treeshaking/components/search/internal/SearchImageInput2.css +38 -0
  674. package/dist/treeshaking/components/search/internal/SearchPanel.css +653 -0
  675. package/dist/treeshaking/components/search/internal/SearchPanel.vue.d.ts +100 -0
  676. package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +7 -0
  677. package/dist/treeshaking/components/search/internal/SearchPanel.vue2.mjs +255 -0
  678. package/dist/treeshaking/components/search/types.d.ts +20 -0
  679. package/dist/treeshaking/components/section/OSection.css +173 -0
  680. package/dist/{components → treeshaking/components/section}/OSection.vue.d.ts +4 -4
  681. package/dist/treeshaking/components/section/OSection.vue.mjs +7 -0
  682. package/dist/treeshaking/components/section/OSection.vue2.mjs +93 -0
  683. package/dist/treeshaking/components/section/index.d.ts +47 -0
  684. package/dist/treeshaking/components/section/index.mjs +9 -0
  685. package/dist/treeshaking/components/sig/OSigDetail.css +243 -0
  686. package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +31 -0
  687. package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +262 -0
  688. package/dist/treeshaking/components/sig/OSigDetail.vue3.mjs +5 -0
  689. package/dist/treeshaking/components/sig/OSigList.css +845 -0
  690. package/dist/treeshaking/components/sig/OSigList.vue.d.ts +15 -0
  691. package/dist/treeshaking/components/sig/OSigList.vue.mjs +524 -0
  692. package/dist/treeshaking/components/sig/OSigList.vue3.mjs +5 -0
  693. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +218 -0
  694. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.d.ts +15 -0
  695. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +90 -0
  696. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue3.mjs +5 -0
  697. package/dist/treeshaking/components/sig/components/OSigItem.css +373 -0
  698. package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +14 -0
  699. package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +212 -0
  700. package/dist/treeshaking/components/sig/components/OSigItem.vue3.mjs +5 -0
  701. package/dist/treeshaking/components/sig/components/OSigMember.css +317 -0
  702. package/dist/treeshaking/components/sig/components/OSigMember.vue.d.ts +10 -0
  703. package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +274 -0
  704. package/dist/treeshaking/components/sig/components/OSigMember.vue3.mjs +5 -0
  705. package/dist/treeshaking/components/sig/components/OSigRepo.css +139 -0
  706. package/dist/treeshaking/components/sig/components/OSigRepo.vue.d.ts +9 -0
  707. package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +191 -0
  708. package/dist/treeshaking/components/sig/components/OSigRepo.vue3.mjs +5 -0
  709. package/dist/treeshaking/components/sig/components/OSigUserContribute.css +276 -0
  710. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
  711. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +328 -0
  712. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue3.mjs +5 -0
  713. package/dist/treeshaking/components/sig/components/utils.d.ts +41 -0
  714. package/dist/treeshaking/components/sig/components/utils.mjs +43 -0
  715. package/dist/treeshaking/components/sig/index.d.ts +78 -0
  716. package/dist/treeshaking/components/sig/index.mjs +18 -0
  717. package/dist/treeshaking/components/sig/types.d.ts +180 -0
  718. package/dist/treeshaking/components/summit/OSummit.css +13 -0
  719. package/dist/treeshaking/components/summit/OSummit.vue.d.ts +7 -0
  720. package/dist/treeshaking/components/summit/OSummit.vue.mjs +7 -0
  721. package/dist/treeshaking/components/summit/OSummit.vue2.mjs +49 -0
  722. package/dist/treeshaking/components/summit/OSummitIntro.css +27 -0
  723. package/dist/treeshaking/components/summit/OSummitIntro.vue.d.ts +3 -0
  724. package/dist/treeshaking/components/summit/OSummitIntro.vue.mjs +7 -0
  725. package/dist/treeshaking/components/summit/OSummitIntro.vue2.mjs +26 -0
  726. package/dist/treeshaking/components/summit/OSummitLive.css +103 -0
  727. package/dist/treeshaking/components/summit/OSummitLive.vue.d.ts +7 -0
  728. package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +7 -0
  729. package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +135 -0
  730. package/dist/treeshaking/components/summit/OSummitSchedule.css +187 -0
  731. package/dist/treeshaking/components/summit/OSummitSchedule.vue.d.ts +3 -0
  732. package/dist/treeshaking/components/summit/OSummitSchedule.vue.mjs +8 -0
  733. package/dist/treeshaking/components/summit/OSummitSchedule.vue2.mjs +266 -0
  734. package/dist/treeshaking/components/summit/OSummitSchedule2.css +43 -0
  735. package/dist/treeshaking/components/summit/components/OSummitTabs.css +137 -0
  736. package/dist/treeshaking/components/summit/components/OSummitTabs.vue.d.ts +16 -0
  737. package/dist/treeshaking/components/summit/components/OSummitTabs.vue.mjs +7 -0
  738. package/dist/treeshaking/components/summit/components/OSummitTabs.vue2.mjs +155 -0
  739. package/dist/treeshaking/components/summit/index.d.ts +83 -0
  740. package/dist/treeshaking/components/summit/index.mjs +30 -0
  741. package/dist/treeshaking/components/summit/types.d.ts +69 -0
  742. package/dist/treeshaking/components/video/OVideoDetail.css +754 -0
  743. package/dist/treeshaking/components/video/OVideoDetail.vue.d.ts +7 -0
  744. package/dist/treeshaking/components/video/OVideoDetail.vue.mjs +318 -0
  745. package/dist/treeshaking/components/video/OVideoDetail.vue3.mjs +5 -0
  746. package/dist/treeshaking/components/video/index.d.ts +27 -0
  747. package/dist/treeshaking/components/video/index.mjs +10 -0
  748. package/dist/treeshaking/components/video/types.d.ts +24 -0
  749. package/dist/treeshaking/i18n/en.mjs +443 -0
  750. package/dist/treeshaking/i18n/index.mjs +49 -0
  751. package/dist/treeshaking/i18n/zh.mjs +446 -0
  752. package/dist/treeshaking/index.d.ts +30 -0
  753. package/dist/treeshaking/index.mjs +94 -0
  754. package/dist/treeshaking/shared/anchor.mjs +9 -0
  755. package/dist/treeshaking/shared/provide.mjs +4 -0
  756. package/dist/treeshaking/shared/theme.mjs +25 -0
  757. package/package.json +26 -12
  758. package/dist/components/OBanner.vue.d.ts +0 -2
  759. package/dist/components/OCookieNotice.vue.d.ts +0 -16
  760. package/dist/components/OHeaderMoblie.vue.d.ts +0 -33
  761. package/dist/components/OHeaderUser.vue.d.ts +0 -40
  762. package/dist/components/OPlusConfigProvider.vue.d.ts +0 -23
  763. package/dist/components/OSourceCode.vue.d.ts +0 -18
  764. package/dist/components/OThemeSwitcher.vue.d.ts +0 -28
  765. package/docs/design.md +0 -27
  766. package/docs/design_banner.md +0 -41
  767. package/docs/design_section.md +0 -27
  768. package/scripts/generate-components-index.js +0 -100
  769. package/src/assets/events/svg-icons/icon-checked.svg +0 -3
  770. package/src/assets/events/svg-icons/icon-competition.svg +0 -7
  771. package/src/assets/events/svg-icons/icon-events.svg +0 -4
  772. package/src/assets/events/svg-icons/icon-release.svg +0 -4
  773. package/src/assets/events/svg-icons/icon-summit.svg +0 -4
  774. package/src/assets/svg-icons/icon-arrow-left.svg +0 -3
  775. package/src/assets/svg-icons/icon-avatar-line.svg +0 -3
  776. package/src/assets/svg-icons/icon-caret-left.svg +0 -3
  777. package/src/assets/svg-icons/icon-caret-right.svg +0 -3
  778. package/src/assets/svg-icons/icon-chevron-down.svg +0 -3
  779. package/src/assets/svg-icons/icon-chevron-right.svg +0 -3
  780. package/src/assets/svg-icons/icon-close.svg +0 -3
  781. package/src/assets/svg-icons/icon-delete.svg +0 -3
  782. package/src/assets/svg-icons/icon-header-back.svg +0 -3
  783. package/src/assets/svg-icons/icon-header-delete.svg +0 -3
  784. package/src/assets/svg-icons/icon-header-menu.svg +0 -3
  785. package/src/assets/svg-icons/icon-header-person.svg +0 -3
  786. package/src/assets/svg-icons/icon-header-search.svg +0 -4
  787. package/src/assets/svg-icons/icon-locale.svg +0 -3
  788. package/src/assets/svg-icons/icon-log-off.svg +0 -3
  789. package/src/assets/svg-icons/icon-message.svg +0 -3
  790. package/src/assets/svg-icons/icon-moon.svg +0 -3
  791. package/src/assets/svg-icons/icon-outlink.svg +0 -3
  792. package/src/assets/svg-icons/icon-overview.svg +0 -3
  793. package/src/assets/svg-icons/icon-setting.svg +0 -3
  794. package/src/assets/svg-icons/icon-sun.svg +0 -3
  795. package/src/components/OBanner.vue +0 -390
  796. package/src/components/OCookieNotice.vue +0 -423
  797. package/src/components/OFooter.vue +0 -540
  798. package/src/components/OHeader.vue +0 -96
  799. package/src/components/OHeaderMoblie.vue +0 -149
  800. package/src/components/OHeaderSearch.vue +0 -601
  801. package/src/components/OHeaderUser.vue +0 -304
  802. package/src/components/OPlusConfigProvider.vue +0 -32
  803. package/src/components/OSection.vue +0 -178
  804. package/src/components/OSourceCode.vue +0 -124
  805. package/src/components/OThemeSwitcher.vue +0 -108
  806. package/src/components/common/AppAvatar.vue +0 -83
  807. package/src/components/common/ClientOnlyWrapper.ts +0 -21
  808. package/src/components/common/ContentWrapper.vue +0 -85
  809. package/src/components/common/HeaderEulerNav.vue +0 -1112
  810. package/src/components/common/HeaderNavMoblie.vue +0 -344
  811. package/src/components/common/HeaderUbmcNav.vue +0 -597
  812. package/src/components/element-plus/OElCookieNotice.vue +0 -412
  813. package/src/components/element-plus/index.ts +0 -3
  814. package/src/components/events/OEventsApply.vue +0 -487
  815. package/src/components/events/OEventsCalendar.vue +0 -613
  816. package/src/components/events/OEventsList.vue +0 -402
  817. package/src/components/events/config.ts +0 -33
  818. package/src/components/events/index.ts +0 -23
  819. package/src/components/events/types.ts +0 -80
  820. package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/3e/17/1865217b9acb9f4921c53a09b5c76587cd2ab748beb2699ff6cfb1341d73b1aa56ed91ffc5ab2c9c9b3fbe626103b35d9a79ff29ff6b8cbb8d89755fe1a2 +0 -1
  821. package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/a6/15/47bb7552ec9248079e839a5feecc1742d4de19524fdf041cf581701cf4760a5025106036145e279ba193b07c8fa5b07ae3d75f1b6032f0cb2219115b6167 +0 -1
  822. package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/d1/4c/133b32e09c97101a27a07cc4432f94e470cff02d120d21babcea77c3f5cd436793516dc1a8e282ee1a568f923c148b1a48f4a43233462a530d35e8b41c67 +0 -1
  823. package/src/components/meeting/npmcachae/_cacache/index-v5/54/0d/a4909047714a0a7198bb9bd37020992464e47c79a791889919b84d90aab0 +0 -3
  824. package/src/components/meeting/npmcachae/_cacache/index-v5/8e/2b/21a79778e2ac08cf5663baf83cb35f951995a496007eb2e2f7fba54021a4 +0 -3
  825. package/src/components/meeting/npmcachae/_cacache/index-v5/eb/a0/b70c8132e5b57a0f1e129b8cc941796420a9c147c0baa680710083740898 +0 -2
  826. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_54_955Z-debug-0.log +0 -277
  827. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_57_842Z-debug-0.log +0 -277
  828. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_00_016Z-debug-0.log +0 -277
  829. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_02_191Z-debug-0.log +0 -277
  830. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_04_425Z-debug-0.log +0 -277
  831. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_06_642Z-debug-0.log +0 -277
  832. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_08_826Z-debug-0.log +0 -277
  833. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_36_140Z-debug-0.log +0 -433
  834. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_39_573Z-debug-0.log +0 -433
  835. package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_42_134Z-debug-0.log +0 -212
  836. package/src/components/meeting/npmcachae/_update-notifier-last-checked +0 -0
  837. package/src/draft/Banner.vue +0 -265
  838. package/src/draft/ButtonCards.vue +0 -106
  839. package/src/draft/Feature.vue +0 -134
  840. package/src/draft/Footer.vue +0 -512
  841. package/src/draft/HorizontalAnchor.vue +0 -165
  842. package/src/draft/ItemSwiper.vue +0 -133
  843. package/src/draft/Logo.vue +0 -141
  844. package/src/draft/LogoCard.vue +0 -75
  845. package/src/draft/LogoV2.vue +0 -19
  846. package/src/draft/MainCard.vue +0 -38
  847. package/src/draft/MultiCard.vue +0 -95
  848. package/src/draft/MultiIconCard.vue +0 -74
  849. package/src/draft/OInfoCard.vue +0 -176
  850. package/src/draft/Process.vue +0 -81
  851. package/src/draft/Section.vue +0 -167
  852. package/src/draft/SingleTabCard.vue +0 -85
  853. package/src/draft/SliderCard.vue +0 -110
  854. package/src/env.d.ts +0 -1
  855. package/src/i18n/en.ts +0 -20
  856. package/src/i18n/index.ts +0 -42
  857. package/src/i18n/zh.ts +0 -14
  858. package/src/index.ts +0 -46
  859. package/src/shared/provide.ts +0 -6
  860. package/src/shims-vue-dompurify-html.d.ts +0 -17
  861. package/src/vue.d.ts +0 -10
  862. package/tsconfig.json +0 -33
  863. package/vite.config.ts +0 -102
@@ -1,3 +1,225 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@opensig/opendesign"),Q=require("@opendesign-plus/composables"),P=require("./chunk-OElCookieNotice.cjs.js"),pt=require("@vueuse/core"),_o=require("element-plus");require("element-plus/es/components/cascader-panel/style/index");const yo=require("https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg"),Eo=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(o){const t=Symbol("default"),r=o,l=e.computed(()=>r.verticalPadding?i.isBoolean(r.verticalPadding)?t:i.isString(r.verticalPadding)?r.verticalPadding:r.verticalPadding[0]:0),a=e.computed(()=>r.verticalPadding?i.isBoolean(r.verticalPadding)?t:i.isString(r.verticalPadding)?r.verticalPadding:i.isUndefined(r.verticalPadding[1])?r.verticalPadding[0]:r.verticalPadding[1]:0);return(s,m)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":l.value===e.unref(t)?void 0:l.value,"--content-wrapper-vertical-paddingBottom":a.value===e.unref(t)?void 0:a.value})},[e.renderSlot(s.$slots,"default",{},void 0,!0)],4))}}),ve=P._export_sfc(Eo,[["__scopeId","data-v-29de9f52"]]),Bo={key:0},No={class:"banner-content"},wo=["src"],Vo={key:1,class:"banner-title"},So={key:2,class:"banner-subtitle"},bo={key:4,class:"banner-opts"},Lo=e.defineComponent({__name:"OBanner",props:{options:void 0,size:"large",contentJustifyCenter:!1},setup(o){const t=o,{isLight:r}=Q.useTheme("opendesignplus",document.domain||"localhost"),{isPhone:l}=Q.useScreen(),a=e.computed(()=>t.options),s=e.ref(""),m=c=>{setTimeout(()=>{s.value=a.value[c].bg_theme??"light"},100)},p=(c,y)=>{c&&!y&&window.open(c)};return(c,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",o.size])},[o.size==="tiny"?(e.openBlock(),e.createElementBlock("div",Bo,e.toDisplayString(a.value[1].title),1)):e.unref(l)?(e.openBlock(),e.createBlock(e.unref(i.OCarousel),{key:2,class:"banner-carousel",effect:"gallery","indicator-click":"","data-o-theme":s.value,arrow:"never","auto-play":!0,onBeforeChange:m},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,k)=>(e.openBlock(),e.createBlock(e.unref(i.OCarouselItem),{class:e.normalizeClass(["banner-item",`banner-item${k}`])},{default:e.withCtx(()=>[e.createVNode(ve,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OFigure),{class:"banner-bg",src:u.bg,onClick:B=>p(u.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),256))]),_:1},8,["data-o-theme"])):(e.openBlock(),e.createBlock(e.unref(i.OCarousel),{key:1,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":!0,"data-o-theme":s.value,onBeforeChange:m},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,k)=>(e.openBlock(),e.createBlock(e.unref(i.OCarouselItem),{key:k,class:e.normalizeClass(["banner-item",`banner-item${k}`])},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":u.withStickyBg,"in-dark":!e.unref(r),"cursor-pointer":u.href&&!u.btn}]),src:u.bg,style:e.normalizeStyle({"--pad-offset":u.pad_offset}),onClick:B=>p(u.href,u.btn)},{default:e.withCtx(()=>[e.createVNode(ve,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",o.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",No,[!e.unref(l)&&u.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:u.attach,class:"banner-attach"},null,8,wo)):e.createCommentVNode("",!0),u.title?(e.openBlock(),e.createElementBlock("div",Vo,e.toDisplayString(u.title),1)):e.createCommentVNode("",!0),u.subtitle?(e.openBlock(),e.createElementBlock("div",So,e.toDisplayString(u.subtitle),1)):e.createCommentVNode("",!0),u.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${u.bg_text})`,"--pc-width":u.pc_text_width,"--pc-height":u.pc_text_height,"--pad-width":u.pad_text_width,"--pad-height":u.pad_text_height})},null,4)):e.createCommentVNode("",!0),u.btn?(e.openBlock(),e.createElementBlock("div",bo,[e.createVNode(e.unref(i.OButton),{href:u.href,target:"_blank",variant:"solid",color:"primary",size:o.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.btn),1)]),_:2},1032,["href","size"])])):e.createCommentVNode("",!0)])]),_:2},1032,["class"])]),_:2},1032,["src","class","style","onClick"])]),_:2},1032,["class"]))),128))]),_:1},8,["data-o-theme"]))],2))}}),Zt=P._export_sfc(Lo,[["__scopeId","data-v-a5902620"]]),Oo={key:0,class:"cookie-notice"},$o={class:"cookie-notice-content"},Do=["type"],xo={class:"cookie-notice-left"},To={key:0,class:"cookie-desc",style:{"margin-top":"0"}},Ao=["href"],Io={class:"cookie-title"},Mo={class:"cookie-desc"},Ro=["href"],zo={key:0,class:"cookie-notice-right"},Fo={class:"cookie-dlg-title"},Po={class:"cookie-dlg-content"},Ho={class:"content-item"},Uo={class:"item-header"},Wo={class:"item-title"},Go={class:"item-extra"},jo={class:"item-detail"},qo={class:"content-item"},Ko={class:"item-header"},Zo={class:"item-title"},Yo={class:"item-extra"},Xo={class:"item-detail"},Jo="0",At="1",Qo="2",Ae="3",en="agreed-cookiepolicy-zh",tn="agreed-cookiepolicy-en",on=e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(o,{expose:t,emit:r}){const l=o,a=r,{lePadV:s,leLaptop:m}=Q.useScreen(),{locale:p,t:c}=P.useI18n(),y=e.computed(()=>p.value==="zh"),u=e.computed(()=>y.value?en:tn),k=e.ref(!1),B=pt.useVModel(l,"visible",a,{defaultValue:!1}),E=M=>{const S=document.cookie.split(";").find(z=>z.split("=")[0].trim()===encodeURIComponent(M));return S?decodeURIComponent(S.split("=")[1]):null},N=(M,S,z,h)=>{const b=`; max-age=${z*24*60*60}`;document.cookie=`${encodeURIComponent(M)}=${encodeURIComponent(S)}${b}; path=/; domain=${h}`},w=(M,S)=>{document.cookie=`${encodeURIComponent(M)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${S}`},g=M=>{typeof M=="boolean"?B.value=M:B.value=!B.value,e.nextTick(()=>{!B.value&&y.value&&E(u.value)!==Ae&&N(u.value,Ae,180,l.cookieDomain??location.hostname)})},O=e.ref(!1),I=M=>{typeof M=="boolean"?O.value=M:O.value=!O.value},C=()=>y.value?E(u.value)!==Ae:(E(u.value)??"0")===Jo,$=()=>y.value?E(u.value)===Ae:E(u.value)===At;e.onMounted(()=>{C()&&g(!0)}),e.watch(p,()=>{g(C())});const V=()=>{k.value=!0,w(u.value,l.cookieDomain??location.hostname),N(u.value,At,180,l.cookieDomain??location.hostname),g(!1)},A=()=>{k.value=!1,w(u.value,l.cookieDomain??location.hostname),N(u.value,Qo,180,l.cookieDomain??location.hostname),g(!1)},H=e.computed(()=>[{id:"save",color:"primary",label:c("cookie.saveSetting"),variant:"outline",size:"large",round:"pill",onClick:()=>{k.value?V():A(),I(!1)}},{id:"allowAll",color:"primary",label:c("cookie.acceptAll"),variant:"outline",size:"large",round:"pill",onClick:()=>{k.value=!0,V(),I(!1)}}]),ne=M=>{M&&(k.value=$())};return t({check(){$()===B.value&&g()}}),(M,S)=>(e.openBlock(),e.createBlock(e.unref(P.ClientOnly),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:o.wrapper||"#app"},[e.unref(B)?(e.openBlock(),e.createElementBlock("div",Oo,[e.createElementVNode("div",$o,[e.createElementVNode("div",{type:e.unref(p),class:e.normalizeClass({"cookie-notice-wrap-grid":o.enableGrid,"cookie-notice-wrap":!o.enableGrid})},[e.createElementVNode("div",xo,[y.value?(e.openBlock(),e.createElementBlock("p",To,[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:o.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(c)("cookie.about")),9,Ao)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",Io,e.toDisplayString(e.unref(c)("cookie.title",[o.community])),1),e.createElementVNode("p",Mo,[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:o.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(c)("cookie.about")),9,Ro),S[4]||(S[4]=e.createTextVNode(". ",-1))])],64))]),y.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zo,[e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:A},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:S[0]||(S[0]=z=>I(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(i.OIcon),{class:"cookie-notice-close",type:e.unref(p),onClick:S[1]||(S[1]=z=>g(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconClose))]),_:1},8,["type"])],10,Do)]),e.createVNode(e.unref(i.ODialog),{visible:O.value,"onUpdate:visible":S[3]||(S[3]=z=>O.value=z),size:e.unref(m)?"medium":"large","phone-half-full":e.unref(s),class:"cookie-dlg",actions:H.value,onChange:ne},{header:e.withCtx(()=>[e.createElementVNode("span",Fo,e.toDisplayString(e.unref(c)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",Po,[e.createElementVNode("div",Ho,[e.createElementVNode("div",Uo,[e.createElementVNode("span",Wo,e.toDisplayString(e.unref(c)("cookie.necessaryCookie")),1),e.createElementVNode("span",Go,e.toDisplayString(e.unref(c)("cookie.alwaysOn")),1)]),e.createElementVNode("div",jo,e.toDisplayString(e.unref(c)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",qo,[e.createElementVNode("div",Ko,[e.createElementVNode("span",Zo,e.toDisplayString(e.unref(c)("cookie.analyticalCookie")),1),e.createElementVNode("span",Yo,[e.createVNode(e.unref(i.OSwitch),{modelValue:k.value,"onUpdate:modelValue":S[2]||(S[2]=z=>k.value=z)},null,8,["modelValue"])])]),e.createElementVNode("div",Xo,e.toDisplayString(e.unref(c)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","actions"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),Yt=P._export_sfc(on,[["__scopeId","data-v-f1dd144c"]]),nn={key:0,class:"atom"},rn={class:"atom-text"},an=["href"],ln=["src"],cn={key:0,class:"quick-nav"},sn={class:"category-title"},dn={class:"navs"},un=["href"],mn={key:0,class:"friendship-link"},pn={class:"friendship-link-title"},fn={class:"friendship-link-box"},hn=["href"],vn={key:0,class:"footer-logo"},kn=["src"],gn=["src"],Cn=["href"],_n={key:1,class:"footer-option"},yn={class:"footer-option-item"},En=["href"],Bn={class:"license"},Nn={class:"copyright"},wn={class:"filing"},Vn=["href"],Sn=["src"],bn={key:2,class:"footer-right"},Ln={key:0,class:"code-box"},On=["src"],$n={class:"code-layer"},Dn=["src"],xn={class:"txt"},Tn={class:"app-footer-pc"},An={key:0,class:"footer-left"},In=["href"],Mn=["src"],Rn={key:0,class:"footer-right"},zn=["href"],Fn={class:"app-footer-mb"},Pn={key:0,class:"links"},Hn=["href"],Un={class:"copyright"},Wn={key:0,class:"approval"},Gn=["href"],jn=["src"],qn=e.defineComponent({__name:"OFooter",props:{simple:!1,atom:void 0,lang:void 0,quickNav:void 0,friendshipLink:void 0,footerLogo:void 0,footerOption:void 0,qrcode:void 0,footerBg:void 0},setup(o){const t=o;return(r,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.simple?"app-footer-simple":"app-footer"])},[t.simple?(e.openBlock(),e.createBlock(ve,{key:1},{default:e.withCtx(()=>[e.createElementVNode("div",Tn,[r.$slots.left||t.footerOption?e.renderSlot(r.$slots,"left",{key:0},()=>[t.footerOption?(e.openBlock(),e.createElementBlock("div",An,[e.createElementVNode("span",null,e.toDisplayString(t.footerOption[t.lang].copyright),1),e.createElementVNode("a",{class:"approval",href:t.footerOption[t.lang].beianLink,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(t.footerOption[t.lang].beianInfo1),9,In),e.createElementVNode("img",{class:"police-img",src:t.footerOption[t.lang].policeIcon},null,8,Mn),e.createElementVNode("span",null,e.toDisplayString(t.footerOption[t.lang].beianInfo2),1)])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),r.$slots.right||t.footerOption?e.renderSlot(r.$slots,"right",{key:1},()=>[t.footerOption?(e.openBlock(),e.createElementBlock("div",Rn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.footerOption[t.lang].link,(a,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a.url},[e.createElementVNode("a",{target:"_blank",href:a.url,class:"link"},e.toDisplayString(a.name),9,zn),s!==t.footerOption[t.lang].link.length-1?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0)]),e.createElementVNode("div",Fn,[r.$slots.right||t.footerOption?e.renderSlot(r.$slots,"right",{key:0},()=>[t.footerOption?(e.openBlock(),e.createElementBlock("div",Pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.footerOption[t.lang].link,(a,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a.url},[e.createElementVNode("a",{target:"_blank",href:a.url,class:"link"},e.toDisplayString(a.name),9,Hn),s!==t.footerOption[t.lang].link.length-1?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"copyright",{},()=>[e.createElementVNode("div",Un,e.toDisplayString(t.footerOption[t.lang].copyright),1)],!0),r.$slots.left||t.footerOption?e.renderSlot(r.$slots,"left",{key:1},()=>[t.footerOption?(e.openBlock(),e.createElementBlock("div",Wn,[e.createElementVNode("a",{href:t.footerOption[t.lang].beianLink,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(t.footerOption[t.lang].beianInfo1),9,Gn),e.createElementVNode("img",{class:"police-img",src:t.footerOption[t.lang].policeIcon},null,8,jn),e.createElementVNode("span",null,e.toDisplayString(t.footerOption[t.lang].beianInfo2),1)])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0)])]),_:3})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.$slots.atom||t.atom?(e.openBlock(),e.createBlock(ve,{key:0},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"atom",{},()=>[t.atom?(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("p",rn,e.toDisplayString(t.atom[t.lang].title),1),e.createElementVNode("a",{href:t.atom[t.lang].href,target:"_blank"},[e.createElementVNode("img",{src:t.atom[t.lang].img,class:"atom-logo",alt:""},null,8,ln)],8,an)])):e.createCommentVNode("",!0),e.createVNode(e.unref(i.ODivider),{style:{"--o-divider-bd-color":"rgba(229, 229, 229, 0.12)","--o-divider-gap":"16px"}})],!0)]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"footer-content",style:e.normalizeStyle({backgroundImage:`url(${t.footerBg})`})},[e.createVNode(ve,null,{default:e.withCtx(()=>[r.$slots.quickNav||t.quickNav?e.renderSlot(r.$slots,"quickNav",{key:0},()=>[t.quickNav?(e.openBlock(),e.createElementBlock("div",cn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.quickNav[t.lang],a=>(e.openBlock(),e.createElementBlock("div",{key:a.title,class:"category"},[e.createElementVNode("div",sn,e.toDisplayString(a.title),1),e.createElementVNode("ul",dn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.list,s=>(e.openBlock(),e.createElementBlock("li",{key:s.title,class:"nav"},[e.createElementVNode("a",{href:s.link,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(s.title),9,un)]))),128))])]))),128))])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),r.$slots.friendshipLink||t.friendshipLink?e.renderSlot(r.$slots,"friendshipLink",{key:1},()=>[t.friendshipLink?(e.openBlock(),e.createElementBlock("div",mn,[e.createElementVNode("div",pn,e.toDisplayString(t.friendshipLink.title[t.lang]),1),e.createElementVNode("div",fn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.friendshipLink.link[t.lang],a=>(e.openBlock(),e.createElementBlock("a",{href:a.link,key:a.link,target:"_blank"},e.toDisplayString(a.title),9,hn))),128))])])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"footer",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(["inner",{"inner-en":t.lang==="en"}])},[t.footerLogo?(e.openBlock(),e.createElementBlock("div",vn,[e.createElementVNode("img",{class:"show-pc",src:t.footerLogo.logo,alt:""},null,8,kn),e.createElementVNode("img",{class:"show-mo",src:t.footerLogo.logoMb,alt:""},null,8,gn),e.createElementVNode("p",null,[e.createElementVNode("a",{class:"email",href:`mailto:${t.footerLogo.email}`,target:"_blank"},e.toDisplayString(t.footerLogo.email),9,Cn)])])):e.createCommentVNode("",!0),t.footerOption?(e.openBlock(),e.createElementBlock("div",_n,[e.createElementVNode("div",yn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.footerOption[t.lang].link,(a,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a.url},[e.createElementVNode("a",{target:"_blank",href:a.url},e.toDisplayString(a.name),9,En),s!==t.footerOption[t.lang].link.length-1?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:0,style:{"--o-divider-bd-color":"var(--o-color-white)","--o-divider-label-gap":"0 8px"},direction:"v"})):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("p",Bn,[e.createElementVNode("span",null,e.toDisplayString(t.footerOption[t.lang].licenseText),1),e.createTextVNode(" "+e.toDisplayString(t.footerOption[t.lang].licenseInfo),1)]),e.createElementVNode("div",Nn,[e.createElementVNode("p",null,e.toDisplayString(t.footerOption[t.lang].copyright),1),e.createElementVNode("div",wn,[e.createElementVNode("a",{href:t.footerOption[t.lang].beianLink,target:"_blank"},e.toDisplayString(t.footerOption[t.lang].beianInfo1),9,Vn),e.createElementVNode("img",{src:t.footerOption[t.lang].policeIcon,class:"filing-img"},null,8,Sn),e.createElementVNode("p",null,e.toDisplayString(t.footerOption[t.lang].beianInfo2),1)])])])):e.createCommentVNode("",!0),t.qrcode?(e.openBlock(),e.createElementBlock("div",bn,[t.lang==="zh"?(e.openBlock(),e.createElementBlock("div",Ln,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.qrcode,(a,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"code-pop"},[e.createElementVNode("img",{src:a.img,class:"code-img",alt:""},null,8,On),e.createElementVNode("div",$n,[e.createElementVNode("img",{src:a.code,alt:""},null,8,Dn),e.createElementVNode("p",xn,e.toDisplayString(a.label),1)])]))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2)],!0)]),_:3})],4)],64))],2))}}),Xt=P._export_sfc(qn,[["__scopeId","data-v-e5b1ce1e"]]),Kn={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Zn(o,t){return e.openBlock(),e.createElementBlock("svg",Kn,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.461 11.616l4.719-3.932c0.212-0.177 0.527-0.148 0.704 0.064 0.075 0.090 0.116 0.203 0.116 0.32v7.865c0 0.276-0.224 0.5-0.5 0.5-0.117 0-0.23-0.041-0.32-0.116l-4.719-3.932c-0.212-0.177-0.241-0.492-0.064-0.704 0.019-0.023 0.041-0.045 0.064-0.064z"},null,-1)])])}const Yn={name:"components-icon-caret-left",render:Zn},Xn={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Jn(o,t){return e.openBlock(),e.createElementBlock("svg",Xn,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M14.539 11.616l-4.719-3.932c-0.212-0.177-0.527-0.148-0.704 0.064-0.075 0.090-0.116 0.203-0.116 0.32v7.865c0 0.276 0.224 0.5 0.5 0.5 0.117 0 0.23-0.041 0.32-0.116l4.719-3.932c0.212-0.177 0.241-0.492 0.064-0.704-0.019-0.023-0.041-0.045-0.064-0.064z"},null,-1)])])}const Qn={name:"components-icon-caret-right",render:Jn},er={class:"header-content"},tr={key:0,class:"right-icon"},or=["onMouseenter"],nr=["id"],rr={class:"nav-drop-content"},ar={class:"nav-sub-content"},lr={class:"content-left"},cr={class:"content-label"},sr={class:"content-container"},ir=["onClick"],dr={class:"item-name"},ur={class:"desc-container"},mr=["title"],pr={key:0,class:"split-line"},fr={key:1,class:"content-right"},hr=["onClick"],vr=["onClick"],kr=["src"],gr={class:"review-content"},Cr={class:"review-label"},_r={class:"review-property"},yr={key:1,class:"right-icon"},Er=e.defineComponent({__name:"HeaderEulerNav",props:{navData:void 0,bgLeft:void 0,bgRight:void 0},setup(o){const t=o,{locale:r}=Q.useLocale(),{theme:l}=Q.useTheme(),a=e.ref(),s=e.ref(),m=e.ref(null),p=e.ref(!1),c=e.ref(!1),y=e.ref(!1),u=e.ref(),k=e.ref([]),B=e.ref([]),E=e.ref(!1),N=pt.useDebounceFn(function(V){V===null||(u.value=V.id,y.value=!0,k.value=V.children,B.value=V.shortcut,E.value=V.withPicture)},100),w=(V,A)=>{window.open(V,A),u.value="",y.value=!1},g=e.ref(!1),O=V=>{!V||!V.target||(g.value=V.target.clientHeight<V.target.scrollHeight)},I=()=>{c.value=!0,e.nextTick(()=>{a.value.scrollTo({left:a.value.clientWidth,behavior:"smooth"})})},C=()=>{a.value.scrollTo({left:0,behavior:"smooth"}),c.value=!1},$=()=>{var V,A;((V=a.value)==null?void 0:V.clientWidth)<((A=s.value)==null?void 0:A.clientWidth)&&(p.value=!0)};return e.onMounted(()=>{window.addEventListener("resize",$),e.nextTick(()=>{$(),m.value=setTimeout(()=>{$()},1e3)})}),e.onUnmounted(()=>{window.removeEventListener("resize",$),clearTimeout(m.value)}),(V,A)=>(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("div",{class:e.normalizeClass(["header-nav",{"header-nav-scroll":c.value}])},[c.value?(e.openBlock(),e.createElementBlock("div",tr,[e.createVNode(e.unref(i.OIcon),{onClick:C},{default:e.withCtx(()=>[e.createVNode(e.unref(Yn))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("nav",{ref_key:"navRef",ref:a,class:e.normalizeClass(["o-nav",{"o-nav-scroll":c.value||!p.value}])},[e.createElementVNode("ul",{ref_key:"navListRef",ref:s,class:"o-nav-list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navData,H=>(e.openBlock(),e.createElementBlock("li",{key:H.id,onMouseenter:ne=>e.unref(N)(H),onMouseleave:A[1]||(A[1]=ne=>e.unref(N)(null))},[e.createElementVNode("span",{id:"tour_headerNav_"+H.ID,class:"nav-item"},e.toDisplayString(H.label),9,nr),e.createVNode(e.Transition,{name:"transition"},{default:e.withCtx(()=>[y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-dropdown",u.value,e.unref(l),`${u.value}-${e.unref(r)}`])},[e.createElementVNode("div",rr,[e.createElementVNode("div",{class:"nav-background-left",style:e.normalizeStyle({backgroundImage:`url(${t.bgLeft})`})},null,4),e.createElementVNode("div",{class:"nav-background-right",style:e.normalizeStyle({backgroundImage:`url(${t.bgRight})`})},null,4),e.createVNode(e.unref(i.OScroller),{class:"nav-scroller","show-type":"always",size:"small","disabled-y":""},{default:e.withCtx(()=>{var ne,M;return[e.createElementVNode("div",ar,[e.createElementVNode("div",lr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(S,z)=>(e.openBlock(),e.createElementBlock("div",{class:"item-sub",key:z},[e.createElementVNode("span",cr,e.toDisplayString(S.label),1),e.createElementVNode("div",sr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.children,h=>(e.openBlock(),e.createElementBlock("div",{key:h.label,class:"content-item"},[e.createElementVNode("a",{onClick:b=>w(h.href,"_self"),rel:"noopener noreferrer",class:"item-label"},[e.createElementVNode("span",dr,e.toDisplayString(h.label),1),h.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0),h.tag?(e.openBlock(),e.createBlock(e.unref(i.OTag),{key:1,round:"pill",color:"danger",size:"small",class:"content-tag"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.tag),1)]),_:2},1024)):e.createCommentVNode("",!0)],8,ir),e.createElementVNode("div",ur,[e.createElementVNode("p",{class:"item-desc",title:g.value?h.description:null,onMouseenter:A[0]||(A[0]=b=>O(b))},e.toDisplayString(h.description),41,mr)])]))),128))])]))),128))]),(ne=B.value)!=null&&ne.length?(e.openBlock(),e.createElementBlock("div",pr)):e.createCommentVNode("",!0),(M=B.value)!=null&&M.length?(e.openBlock(),e.createElementBlock("div",fr,[A[2]||(A[2]=e.createElementVNode("span",{class:"content-label"},"快捷链接",-1)),E.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(B.value,S=>(e.openBlock(),e.createElementBlock("a",{key:S.label,onClick:z=>w(S.href,"_self"),rel:"noopener noreferrer",class:"review"},[e.createElementVNode("img",{src:S.picture,class:"review-picture"},null,8,kr),e.createElementVNode("div",gr,[e.createElementVNode("p",Cr,e.toDisplayString(S.label),1),e.createElementVNode("div",_r,[e.createElementVNode("span",null,e.toDisplayString(S.remark),1)])])],8,vr))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(B.value,S=>(e.openBlock(),e.createElementBlock("div",{key:S.label,class:"shortcut"},[e.createElementVNode("a",{onClick:z=>w(S.href,"_self"),rel:"noopener noreferrer",class:"shortcut-link"},[e.createElementVNode("span",null,e.toDisplayString(S.label),1),S.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)],8,hr)]))),128))])):e.createCommentVNode("",!0)])]}),_:1})])],2)):e.createCommentVNode("",!0)]),_:1})],40,or))),128))],512)],2),p.value&&!c.value?(e.openBlock(),e.createElementBlock("div",yr,[e.createVNode(e.unref(i.OIcon),{onClick:I},{default:e.withCtx(()=>[e.createVNode(e.unref(Qn))]),_:1})])):e.createCommentVNode("",!0)],2)]))}}),Br=P._export_sfc(Er,[["__scopeId","data-v-d32c1156"]]),Nr=["id","onMouseenter","onMouseleave"],wr=["href"],Vr={key:1,class:"info-wrap"},Sr={class:"dropdown-wrapper"},br={key:0,class:"tab-disabled"},Lr={key:1,class:"tab-expand"},Or=["href","target","rel"],$r={class:"dropdown-body-wrapper",style:{display:"none !important"}},Dr=["onMouseenter"],xr={key:0,class:"dropdown-item"},Tr={class:"tab-disabled"},Ar={key:1,class:"dropdown-item"},Ir=["href","target","rel"],Be="more",Mr=e.defineComponent({__name:"HeaderUbmcNav",props:{navData:void 0,hasPerm:void 0,tagMap:void 0,currentPath:void 0},setup(o){const t=o,{locale:r}=Q.useLocale(),{lePadV:l}=Q.useScreen(),a={},s=e.ref({}),m=e.ref(-1),p=h=>{m.value=h},c=h=>{var b;m.value=-1,(b=s.value[h])==null||b.clearCheckedNodes()},y=e.ref(-1),u=()=>{var b;const h=(b=a==null?void 0:a.fullPath)==null?void 0:b.split("/").slice(0,3).join("/");y.value=[...N.value,E.value].findIndex(R=>{var T,X;const D=h==null?void 0:h.indexOf("#");return H.value.length&&!H.value.includes(R.id)&&R.id!==Be?!1:z(R.href)===h||((T=R.children)==null?void 0:T.some(_=>{var ce;return(ce=_.children)!=null&&ce.length?_.children.some(le=>z(le.href)===h):z(_.href)===h}))||((X=R.keys)==null?void 0:X.includes(h==null?void 0:h.slice(1,D!==-1?D:h==null?void 0:h.length)))})};e.onMounted(()=>{u()}),e.watch(()=>a.path,()=>{u()});const k=(h,b)=>{let R=!0;return h&&(R=R&&new Date(h).getTime()>=Date.now()),b&&(R=R&&r.value===b),R},B=(h,b)=>h.checkPermKey?b[h.checkPermKey]:!0,E=e.computed(()=>({id:Be,label:"更多",children:N.value.filter(h=>!H.value.includes(h.id))||[]})),N=e.computed(()=>{const h=[];let b=[];const R={meeting:t.hasPerm};try{b=t.navData.filter(D=>B(D,R)).map(function D(T){h.push(T.label);const X={...T,_path:[...h]};return T.children&&(X.children=T.children.filter(_=>B(_,R)).map(D)),h.pop(),X})}catch{b=t.navData}return b});let w=0,g=0;const O=h=>{const b=Date.now()-w,R=g+1;if(w=0,g=0,h._path){const D={};return h._path.forEach((T,X)=>{D[`level${X+1}`]=T}),{properties:{module:"navigation",timeUsed:b,steps:R,...D}}}},I=h=>{if(g++,!w)return w=Date.now(),{event:"hover",properties:{module:"navigation",target:h.label}}},C=()=>{w=0,g=0},$=h=>h?h.startsWith("http"):!1,V=e.ref(null),A=e.ref(null),H=e.ref([]),ne=e.ref(null),M=e.ref(0),S=()=>{if(!V.value)return;if(H.value=[],M.value=V.value.clientWidth,l.value&&(H.value=N.value.map(T=>T.id)),V.value.clientWidth>=A.value.clientWidth){H.value=N.value.map(T=>T.id);return}M.value=0;const h=A.value.querySelector(`li.nav-item#${Be}`);let b=V.value.clientWidth-h.clientWidth;const R=A.value.querySelectorAll("li.nav-item");let D=!1;[...R].forEach((T,X)=>{T.id!==Be&&b>T.clientWidth&&!D?(b-=T.clientWidth,H.value.push(N.value[X].id),M.value+=T.clientWidth):D=!0})};e.onMounted(()=>{window.addEventListener("resize",S),e.nextTick(()=>{S(),ne.value=setTimeout(()=>{S()},1e3)})}),e.onUnmounted(()=>{window.removeEventListener("resize",S),clearTimeout(ne.value)}),e.watch(()=>N.value,()=>{e.nextTick(()=>{S()})},{deep:!0});const z=h=>(h==="/"&&(h=""),$(h)?h:`/${r.value}${h}`);return(h,b)=>{const R=e.resolveDirective("analytics");return e.openBlock(),e.createElementBlock("nav",{class:"header-nav-ubmc",ref_key:"wrapperRef",ref:V},[e.createElementVNode("ul",{class:"nav-list",onMouseleave:C,ref_key:"listRef",ref:A,style:e.normalizeStyle({"--more-left":M.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...N.value,E.value],(D,T)=>{var X;return e.withDirectives((e.openBlock(),e.createElementBlock("li",{key:D.id,id:D.id,class:e.normalizeClass(["nav-item",{"is-selected":y.value===T,"is-active":m.value===T,hidden:!H.value.includes(D.id)&&D.id!==Be||D.id===Be&&D.children.length===0}]),onMouseenter:_=>p(T),onMouseleave:_=>c(T)},[!((X=D.children)!=null&&X.length)&&D.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"info-wrap clickable",href:z(D.href)},[e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(D.label),1)])],8,wr)):(e.openBlock(),e.createElementBlock("div",Vr,[e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(D.label),1)]),e.createElementVNode("div",Sr,[e.createVNode(e.unref(_o.ElCascaderPanel),{options:D.children,value:"id",expandTrigger:"hover",ref_for:!0,ref:_=>s.value[T]=_},{default:e.withCtx(({data:_})=>{var ce;return[_.disabled?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("span",null,e.toDisplayString(_.label),1),b[0]||(b[0]=e.createElementVNode("span",{class:"disabled-tag"},"待上线",-1))])):_!=null&&_.children?(e.openBlock(),e.createElementBlock("div",Lr,[e.createElementVNode("span",null,e.toDisplayString(_.label),1),e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconChevronRight))]),_:1})])):(e.openBlock(),e.createElementBlock("a",{key:2,href:z(_.href),class:"dropdown-link",target:$(_.href)?"_blank":"_self",rel:$(_.href)?"noopener noreferrer":""},[e.createElementVNode("span",null,e.toDisplayString(_.label),1),(o.tagMap[(ce=_==null?void 0:_.href)==null?void 0:ce.slice(1)]||_.tag)&&k(_.tagExpire,_.tagLang)?(e.openBlock(),e.createBlock(e.unref(i.OTag),{key:0,color:"danger",size:"small",round:"pill"},{default:e.withCtx(()=>{var le;return[e.createTextVNode(e.toDisplayString(o.tagMap[(le=_==null?void 0:_.href)==null?void 0:le.slice(1)]||_.tag),1)]}),_:2},1024)):e.createCommentVNode("",!0),_.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:1,class:"jump-out-icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)],8,Or))]}),_:1},8,["options"]),e.createElementVNode("div",$r,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.children,(_,ce)=>{var le;return e.openBlock(),e.createElementBlock("div",{class:"dropdown-body",key:ce,onMouseenter:Ne=>p(T),onMouseleave:c},[_.disabled?(e.openBlock(),e.createElementBlock("div",xr,[e.createElementVNode("div",Tr,[e.createElementVNode("span",null,e.toDisplayString(_.label),1),b[1]||(b[1]=e.createElementVNode("span",{class:"disabled-tag"},"待上线",-1))])])):e.withDirectives((e.openBlock(),e.createElementBlock("div",Ar,[e.createElementVNode("a",{href:z(_.href),class:"dropdown-link",target:$(_.href)?"_blank":"_self",rel:$(_.href)?"noopener noreferrer":""},[e.createElementVNode("span",null,e.toDisplayString(_.label),1),(o.tagMap[(le=_==null?void 0:_.href)==null?void 0:le.slice(1)]||_.tag)&&k(_.tagExpire,_.tagLang)?(e.openBlock(),e.createBlock(e.unref(i.OTag),{key:0,color:"danger",size:"small",round:"pill"},{default:e.withCtx(()=>{var Ne;return[e.createTextVNode(e.toDisplayString(o.tagMap[(Ne=_==null?void 0:_.href)==null?void 0:Ne.slice(1)]||_.tag),1)]}),_:2},1024)):e.createCommentVNode("",!0),_.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:1,class:"jump-out-icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)],8,Ir)])),[[R,()=>O(_)]])],40,Dr)}),128))])])]))],42,Nr)),[[R,()=>I(D),"mouseenter"]])}),128))],36)],512)}}}),Rr=P._export_sfc(Mr,[["__scopeId","data-v-41c316dc"]]),zr={class:"header"},Fr=["src"],Pr={key:0,class:"header-nav"},Hr={key:1,class:"header-content"},Ur={key:2,class:"header-toolbar"},Wr=e.defineComponent({__name:"OHeader",props:{logo:void 0,lang:void 0,community:void 0,navData:void 0,bgLeft:void 0,bgRight:void 0,tagMap:void 0},emits:["go-home"],setup(o,{emit:t}){const r=t,l=o,a=()=>{r("go-home")};return(s,m)=>(e.openBlock(),e.createElementBlock("div",zr,[e.createVNode(ve,{class:"header-wrap"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"header-logo",onClick:a},[e.renderSlot(s.$slots,"logo",{},()=>[l.logo?(e.openBlock(),e.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:l.logo},null,8,Fr)):e.createCommentVNode("",!0)],!0)]),l.community==="openEuler"?(e.openBlock(),e.createElementBlock("div",Pr,[e.renderSlot(s.$slots,"nav",{},()=>[l.navData?(e.openBlock(),e.createBlock(Br,{key:0,"nav-data":l.navData,"bg-left":l.bgLeft,"bg-right":l.bgRight},null,8,["nav-data","bg-left","bg-right"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),l.community==="openUBMC"?(e.openBlock(),e.createElementBlock("div",Hr,[e.renderSlot(s.$slots,"nav",{},()=>[l.navData?(e.openBlock(),e.createBlock(Rr,{key:0,"nav-data":l.navData,"has-perm":!0,"tag-map":o.tagMap},null,8,["nav-data","tag-map"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),s.$slots.toolbar?(e.openBlock(),e.createElementBlock("div",Ur,[e.renderSlot(s.$slots,"toolbar",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3})]))}}),Jt=P._export_sfc(Wr,[["__scopeId","data-v-0ac30735"]]),Gr={class:"header-content-mb"},jr={class:"o-nav"},qr={class:"o-nav-list"},Kr=["onClick"],Zr={class:"nav-aside"},Yr={key:0,class:"nav-aside-wrapper"},Xr=["value","title"],Jr={class:"content-label"},Qr={class:"container-mobile"},ea=["onClick"],ta={class:"item-label"},oa={class:"desc-container"},na={class:"item-desc"},ra=["onClick"],aa={class:"item-label"},la={key:1,class:"nav-aside-wrapper"},ca=["onClick"],sa={class:"header-tool"},ia={key:1},da=e.defineComponent({__name:"HeaderNavMoblie",props:{menuShow:{type:Boolean,default(){return!1}},navData:void 0,codeData:void 0},emits:["link-click"],setup(o,{emit:t}){const r=o,l=e.ref(""),a=e.ref({}),s=c=>{c?(l.value=c.id,a.value=c):(l.value="source_code",a.value=r.codeData)},m=t,p=(c,y)=>{window.open(c,y),m("link-click")};return e.onMounted(()=>{l.value=r.navData[0].id,a.value=r.navData[0]}),e.watch(()=>r.navData||r.codeData,()=>{a.value=l.value==="source_code"?r.codeData:r.navData.find(c=>c.id===l.value)},{deep:!0}),(c,y)=>(e.openBlock(),e.createElementBlock("div",Gr,[e.createElementVNode("div",{class:e.normalizeClass(["header-nav",{active:o.menuShow}])},[e.createElementVNode("div",jr,[e.createElementVNode("ul",qr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navData,u=>(e.openBlock(),e.createElementBlock("li",{key:u.id,class:e.normalizeClass({active:l.value===u.id})},[e.createElementVNode("span",{onClick:k=>s(u)},e.toDisplayString(u.label),9,Kr)],2))),128))]),e.createElementVNode("div",Zr,[l.value!=="source_code"?(e.openBlock(),e.createElementBlock("ul",Yr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value.children,u=>(e.openBlock(),e.createElementBlock("li",{value:u.label,title:u.label,key:u.label,class:"nav-aside-content"},[u!=null&&u.children?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("p",Jr,e.toDisplayString(u.label),1),e.createElementVNode("div",Qr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u==null?void 0:u.children,k=>(e.openBlock(),e.createElementBlock("div",{key:k.label,class:"content-container-mobile"},[e.createElementVNode("a",{onClick:B=>p(k.href,"_blank"),rel:"noopener noreferrer",class:"content-subtitle"},[e.createElementVNode("span",ta,e.toDisplayString(k.label),1),k.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0),k.tag?(e.openBlock(),e.createBlock(e.unref(i.OTag),{key:1,round:"pill",color:"danger",size:"small",class:"content-tag"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k.tag),1)]),_:2},1024)):e.createCommentVNode("",!0)],8,ea),e.createElementVNode("div",oa,[e.createElementVNode("p",na,e.toDisplayString(k.description),1)])]))),128))])],64)):(e.openBlock(),e.createElementBlock("a",{key:1,onClick:k=>p(u.href,"_blank"),rel:"noopener noreferrer",class:"content-subtitle item-not-children"},[e.createElementVNode("span",aa,e.toDisplayString(u.label),1),u.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0),u.tag?(e.openBlock(),e.createBlock(e.unref(i.OTag),{key:1,round:"pill",color:"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.tag),1)]),_:2},1024)):e.createCommentVNode("",!0)],8,ra))],8,Xr))),128))])):(e.openBlock(),e.createElementBlock("div",la,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,u=>(e.openBlock(),e.createElementBlock("a",{key:u.label,onClick:k=>p(u.href,"_blank"),class:"source-code-item"},[e.createElementVNode("span",null,e.toDisplayString(u.label),1),u.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)],8,ca))),128))]))])]),e.createElementVNode("div",sa,[o.codeData?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["header-tool-code",{active:l.value==="source_code"}]),onClick:y[0]||(y[0]=u=>s(null))}," 源码 ",2)):e.createCommentVNode("",!0),c.$slots.tool?(e.openBlock(),e.createElementBlock("div",ia,[e.renderSlot(c.$slots,"tool",{},void 0,!0)])):e.createCommentVNode("",!0)])],2)]))}}),ua=P._export_sfc(da,[["__scopeId","data-v-7c70a6eb"]]),ma={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function pa(o,t){return e.openBlock(),e.createElementBlock("svg",ma,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const Qt={name:"components-icon-close",render:pa},fa={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ha(o,t){return e.openBlock(),e.createElementBlock("svg",fa,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M3.8 5h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 11h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 17h16.4c0.442 0 0.8 0.358 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.359-0.8-0.8s0.358-0.8 0.8-0.8z"},null,-1)])])}const va={name:"components-icon-header-menu",render:ha},ka={class:"header"},ga={key:0,class:"header-simple"},Ca={class:"simple-header-left"},_a={key:0,class:"header-title"},ya={key:0,class:"simple-header-right"},Ea={class:"header-left"},Ba={class:"header-center"},Na=["src"],wa={class:"header-right"},Va=e.defineComponent({__name:"OHeaderMoblie",props:{logo:void 0,navData:void 0,codeData:void 0,isSimpleHeader:void 0,headerTitle:void 0},emits:["go-back","go-home"],setup(o,{emit:t}){const r=t,l=o,a=()=>{r("go-back")},s=()=>{r("go-home")},m=e.ref(!1),p=()=>{setTimeout(()=>{m.value=!m.value,document.body.style.overflow=m.value?"hidden":""},200)},c=()=>{p()};return(y,u)=>(e.openBlock(),e.createElementBlock("div",ka,[e.createVNode(ve,{class:"header-wrap"},{default:e.withCtx(()=>[o.isSimpleHeader?(e.openBlock(),e.createElementBlock("div",ga,[e.createElementVNode("div",Ca,[e.createVNode(e.unref(i.OIcon),{onClick:a},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconArrowLeft))]),_:1}),o.headerTitle?(e.openBlock(),e.createElementBlock("div",_a,e.toDisplayString(o.headerTitle),1)):e.createCommentVNode("",!0)]),y.$slots.rightConfig?(e.openBlock(),e.createElementBlock("div",ya,[e.renderSlot(y.$slots,"rightConfig",{},void 0,!0)])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ea,[e.createVNode(e.unref(i.OIcon),{onClick:p},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createBlock(e.unref(Qt),{key:1})):(e.openBlock(),e.createBlock(e.unref(va),{key:0}))]),_:1})]),e.createVNode(ua,{ref:"mobileNav","nav-data":o.navData,"code-data":o.codeData,"menu-show":m.value,onLinkClick:c},{tool:e.withCtx(()=>[e.renderSlot(y.$slots,"tool",{},void 0,!0)]),_:3},8,["nav-data","code-data","menu-show"]),e.createElementVNode("div",Ba,[e.createElementVNode("div",{class:"header-logo",onClick:s},[e.renderSlot(y.$slots,"logo",{},()=>[l.logo?(e.openBlock(),e.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:l.logo},null,8,Na)):e.createCommentVNode("",!0)],!0)])]),e.createElementVNode("div",wa,[e.renderSlot(y.$slots,"toolbar",{},void 0,!0)])],64))]),_:3})]))}}),eo=P._export_sfc(Va,[["__scopeId","data-v-f3195197"]]),Sa={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ba(o,t){return e.openBlock(),e.createElementBlock("svg",Sa,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"},null,-1),e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"},null,-1)])])}const It={name:"components-icon-header-search",render:ba},La={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Oa(o,t){return e.openBlock(),e.createElementBlock("svg",La,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"},null,-1)])])}const $a={name:"components-icon-header-delete",render:Oa},Da={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xa(o,t){return e.openBlock(),e.createElementBlock("svg",Da,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"},null,-1)])])}const Ta={name:"components-icon-delete",render:xa},Aa={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function Ia(o,t){return e.openBlock(),e.createElementBlock("svg",Aa,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const Ma={name:"components-icon-header-back",render:Ia},Ra={class:"o-header-search"},za={class:"o-header-search-drawer"},Fa={key:0,class:"o-header-search-recommend-container"},Pa=["onClick"],Ha={key:1,class:"o-header-search-history-container"},Ua={class:"o-header-search-history-header"},Wa={class:"o-header-search-history-header-title"},Ga={class:"o-header-search-history-item-container"},ja=["onClick"],qa={class:"o-header-search-history-item-text"},Ka={key:3,class:"o-header-search-hot-container"},Za={class:"o-header-search-hot-header"},Ya={class:"o-header-search-hot-item-container"},Xa=["onClick"],Ja=e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{}},emits:["update:modelValue","update:historyItems","clear","search","delete-history","delete-history-item"],setup(o,{emit:t}){const{lePadV:r}=Q.useScreen(),{t:l}=P.useI18n(),a=o,s=t,m=e.ref(a.modelValue),p=e.ref(a.historyItems),c=e.ref(!1),y=e.ref(),u=e.computed(()=>!r.value&&c.value||r.value&&m.value);e.watch(()=>a.modelValue,C=>{m.value!==C&&(m.value=C)}),e.watch(()=>m.value,C=>{s("update:modelValue",C)}),e.watch(()=>a.historyItems,C=>{p.value!==C&&(p.value=C)}),e.watch(()=>p.value,C=>{s("update:historyItems",C)}),e.onMounted(()=>{if(a.storeHistory&&a.storageKey)try{const C=JSON.parse(localStorage.getItem(a.storageKey)||"[]");Array.isArray(C)&&C.length&&(p.value=Array.from(new Set([...p.value,...C])))}catch{}});const k=()=>{c.value=!0},B=()=>{const C=m.value.trim();C&&(c.value=!1,p.value.unshift(C),p.value=Array.from(new Set(p.value)),p.value.length>a.maxHistoryCount&&p.value.pop(),a.storeHistory&&a.storeHistory&&localStorage.setItem(a.storageKey,JSON.stringify(p.value)),s("search",C),a.searchUrl&&window.open(a.searchUrl+C,a.searchUrlOpenBlank?"_blank":"_self","noopener noreferrer"))},E=()=>{m.value="",s("clear"),r.value||(c.value=!1)},N=()=>{const C=[...p.value];p.value=[],a.storeHistory&&a.storeHistory&&localStorage.removeItem(a.storageKey),s("delete-history",C)},w=C=>{p.value=p.value.filter($=>$!==C),a.storeHistory&&a.storeHistory&&(p.value.length?localStorage.setItem(a.storageKey,JSON.stringify(p.value)):localStorage.removeItem(a.storageKey)),s("delete-history-item",C)},g=C=>{m.value=C,B()},O=()=>{m.value="",c.value=!1},I=e.ref();return pt.onClickOutside(I,E),(C,$)=>(e.openBlock(),e.createElementBlock("div",Ra,[e.createElementVNode("div",{ref_key:"posWrapper",ref:I,class:e.normalizeClass({"o-header-search-input-pc-wrapper":!e.unref(r),"o-header-search-input-pc-wrapper-left":!e.unref(r)&&o.expandDirection==="left","o-header-search-input-pc-wrapper-right":!e.unref(r)&&o.expandDirection==="right","o-header-search-input-mobile-wrapper":e.unref(r),focus:c.value})},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-input-wrapper",{focus:c.value}])},[e.unref(r)&&c.value?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon",onClick:O},{default:e.withCtx(()=>[e.createVNode(e.unref(Ma))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(i.OInput),{ref_key:"inputRef",ref:y,modelValue:m.value,"onUpdate:modelValue":$[0]||($[0]=V=>m.value=V),class:"o-header-search-input",placeholder:c.value?o.expandedPlaceholder??e.unref(l)("search.expandedPlaceholder"):o.placeholder??e.unref(l)("search.placeholder"),onFocus:k,onKeyup:e.withKeys(B,["enter"])},{prefix:e.withCtx(()=>[e.renderSlot(C.$slots,"input-prefix",{},()=>[e.createVNode(e.unref(i.OIcon),{class:"o-header-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(It))]),_:1})],!0)]),suffix:e.withCtx(()=>[e.renderSlot(C.$slots,"input-suffix",{},()=>[o.clearable&&u.value?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon close",onClick:E},{default:e.withCtx(()=>[e.createVNode(e.unref(Qt))]),_:1})):e.createCommentVNode("",!0)],!0)]),_:3},8,["modelValue","placeholder"]),e.unref(r)&&c.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:B},e.toDisplayString(o.searchTextMobile??e.unref(l)("search")),1)):e.createCommentVNode("",!0)],2),e.withDirectives(e.createElementVNode("div",za,[e.renderSlot(C.$slots,"drawer",{recommendItems:o.recommendItems,historyItems:p.value,hotItems:o.hotItems},()=>[o.recommendItems.length?(e.openBlock(),e.createElementBlock("div",Fa,[e.renderSlot(C.$slots,"recommend-header",{recommend:o.recommendItems},void 0,!0),e.renderSlot(C.$slots,"recommend-content",{recommend:o.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.recommendItems,V=>(e.openBlock(),e.createElementBlock("div",{class:"o-header-search-recommend-item",key:V,onClick:A=>g(V)},e.toDisplayString(V),9,Pa))),128))],!0)])):p.value.length?(e.openBlock(),e.createElementBlock("div",Ha,[e.renderSlot(C.$slots,"history-header",{history:p.value},()=>[e.createElementVNode("div",Ua,[e.createElementVNode("span",Wa,e.toDisplayString(o.historyTitle??e.unref(l)("search.history")),1),e.createVNode(e.unref(i.OIcon),{class:"o-header-search-icon",onClick:N},{default:e.withCtx(()=>[e.createVNode(e.unref(Ta))]),_:1})])],!0),e.renderSlot(C.$slots,"history-content",{history:p.value},()=>[e.createElementVNode("div",Ga,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,V=>(e.openBlock(),e.createElementBlock("div",{key:V,class:"o-header-search-history-item",onClick:A=>g(V)},[e.createElementVNode("span",qa,e.toDisplayString(V),1),e.createVNode(e.unref(i.OIcon),{class:"o-header-search-history-item-icon",onClick:e.withModifiers(A=>w(V),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref($a),{class:"icon-delete"})]),_:1},8,["onClick"])],8,ja))),128))])],!0)])):e.createCommentVNode("",!0),(o.recommendItems.length||p.value.length)&&o.hotItems.length?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:2,class:"o-header-search-drawer-divider"})):e.createCommentVNode("",!0),o.hotItems.length?(e.openBlock(),e.createElementBlock("div",Ka,[e.renderSlot(C.$slots,"hot-header",{hot:o.hotItems},()=>[e.createElementVNode("div",Za,e.toDisplayString(o.hotTitle??e.unref(l)("search.hot")),1)],!0),e.renderSlot(C.$slots,"hot-content",{hot:o.hotItems},()=>[e.createElementVNode("div",Ya,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.hotItems,V=>(e.openBlock(),e.createElementBlock("div",{key:V,class:"o-header-search-hot-item",onClick:A=>g(V)},e.toDisplayString(V),9,Xa))),128))])],!0)])):e.createCommentVNode("",!0)],!0)],512),[[e.vShow,c.value]])],2),e.unref(r)?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon-mobile",onClick:k},{default:e.withCtx(()=>[e.createVNode(e.unref(It))]),_:1})):e.createCommentVNode("",!0)]))}}),to=P._export_sfc(Ja,[["__scopeId","data-v-9f1bd8fc"]]),Qa=["src"],el=e.defineComponent({__name:"AppAvatar",props:{avatar:{type:String,default:""},name:{type:String,default:"",required:!0},size:{type:String,default:"medium"},customSize:{type:Number,default:0},variant:{type:String,default:"round"}},setup(o){const t=o,r=["#058EF0","#FA7305","#03B5A5"],l=e.computed(()=>{var s;return(s=t.name)==null?void 0:s.charAt(0).toUpperCase()}),a=e.computed(()=>{var p;const s={"background-color":"",width:"32px",height:"32px","font-size":"20px"};s["background-color"]=t.name?r[((p=t.name)==null?void 0:p.length)%r.length]:"transparent";let m=0;return t.customSize?m=Number(t.customSize):m={mini:16,small:24,medium:40,large:64}[t.size],s.height=`${m}px`,s.width=`${m}px`,s["font-size"]=`${m/2}px`,s});return(s,m)=>o.avatar&&!o.avatar.includes("gitcode")?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.avatar,class:e.normalizeClass(["img-avatar",o.variant]),style:e.normalizeStyle(a.value),alt:""},null,14,Qa)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["word-avatar",o.variant]),style:e.normalizeStyle(a.value)},e.toDisplayString(l.value),7))}}),Mt=P._export_sfc(el,[["__scopeId","data-v-340348ce"]]),tl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ol(o,t){return e.openBlock(),e.createElementBlock("svg",tl,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M9.412 10.332c0 2.188 1.066 4.127 2.708 5.326-4.858 1.582-8.364 6.052-8.364 11.328 0 0.515 0.418 0.933 0.933 0.933s0.933-0.418 0.933-0.933c0-5.465 4.487-9.922 10.092-10.070 0.095 0.004 0.191 0.006 0.288 0.006 3.639 0 6.59-2.95 6.59-6.59s-2.951-6.59-6.59-6.59-6.59 2.95-6.59 6.59zM16.088 15.049c-0.028-0.003-0.057-0.004-0.087-0.004-0.061 0-0.122 0-0.183 0.001-2.524-0.096-4.541-2.172-4.541-4.72 0-2.608 2.115-4.723 4.723-4.723s4.723 2.115 4.723 4.723c0 2.579-2.067 4.676-4.635 4.722zM21.784 16.465c3.945 2.064 6.463 6.077 6.463 10.528 0 0.515-0.418 0.933-0.933 0.933s-0.933-0.418-0.933-0.933c0-3.744-2.123-7.127-5.462-8.874-0.457-0.239-0.633-0.803-0.394-1.26s0.803-0.633 1.26-0.394z"},null,-1)])])}const nl={name:"components-icon-avatar-line",render:ol},rl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function al(o,t){return e.openBlock(),e.createElementBlock("svg",rl,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z"},null,-1)])])}const oo={name:"components-icon-chevron-down",render:al},ll={class:"header-user"},cl={key:0,class:"user-info"},sl={class:"info-wrap hover-icon-rotate"},il={class:"user-account"},dl={key:0,class:"user-info-dropdown"},ul={class:"right-info"},ml={class:"user-account"},pl={key:1},fl=e.defineComponent({__name:"OHeaderUser",props:{token:{default:void 0},lang:{default:void 0},noticeTotal:{default:void 0},userInfo:{default:void 0},userInfoVisible:{type:Boolean,default:void 0},options:{default:void 0}},emits:["login","logout"],setup(o,{emit:t}){const{lePadV:r}=Q.useScreen(),l=t,a=()=>{l("login")},s=m=>{m!=null&&m.logout?l("logout"):window.open(m.url,m.target)};return(m,p)=>(e.openBlock(),e.createElementBlock("div",ll,[o.token?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,onClick:a,class:"avatar-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(nl))]),_:1})),e.createVNode(e.Transition,{name:"header-user-zoom-in"},{default:e.withCtx(()=>[o.token?(e.openBlock(),e.createElementBlock("div",cl,[e.createVNode(e.unref(i.ODropdown),{trigger:e.unref(r)?"click":"hover",optionPosition:e.unref(r)?"br":"bottom","option-wrap-class":`user-dropdown ${o.lang==="en"?"is-en":""} user-dropdown${o.userInfoVisible?"-info":""}`},{dropdown:e.withCtx(()=>[o.userInfoVisible?(e.openBlock(),e.createElementBlock("div",dl,[e.createVNode(Mt,{avatar:o.userInfo.photo,name:o.userInfo.username,"custom-size":32},null,8,["avatar","name"]),e.createElementVNode("div",ul,[p[0]||(p[0]=e.createElementVNode("p",{class:"user-fullname"},"用户名",-1)),e.createElementVNode("p",ml,e.toDisplayString(o.userInfo.username),1)])])):e.createCommentVNode("",!0),o.userInfoVisible?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:1,style:{"--o-divider-gap":"6px"}})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,c=>(e.openBlock(),e.createBlock(e.unref(i.ODropdownItem),{key:c.label,style:e.normalizeStyle({"--dropdown-item-justify":o.userInfoVisible?"flex-start":"center"}),onClick:y=>s(c)},{default:e.withCtx(()=>[c!=null&&c.icon?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(i.OBadge),{value:c.total,color:"danger",class:e.normalizeClass(["header-message icon-message",{"notice-not":!c.total}])},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.icon),{class:"icon"}))]),_:2},1024)]),_:2},1032,["value","class"]),e.createElementVNode("span",null,e.toDisplayString(c.label),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c!=null&&c.total?(e.openBlock(),e.createBlock(e.unref(i.OBadge),{key:0,value:c.total,color:"danger",class:e.normalizeClass(["header-message message",{"notice-not":!c.total}])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),_:2},1032,["value","class"])):(e.openBlock(),e.createElementBlock("span",pl,e.toDisplayString(c.label),1))],64))]),_:2},1032,["style","onClick"]))),128))]),default:e.withCtx(()=>[e.createElementVNode("div",sl,[e.createVNode(e.unref(i.OBadge),{value:o.noticeTotal,color:"danger",class:e.normalizeClass(["header-message user-avatar",{"notice-not":!o.noticeTotal}])},{default:e.withCtx(()=>[e.createVNode(Mt,{avatar:o.userInfo.photo,name:o.userInfo.username,"custom-size":e.unref(r)?24:32},null,8,["avatar","name","custom-size"])]),_:1},8,["value","class"]),e.createElementVNode("p",il,e.toDisplayString(o.userInfo.username),1),e.createVNode(e.unref(i.OIcon),{class:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(oo))]),_:1})])]),_:1},8,["trigger","optionPosition","option-wrap-class"])])):e.createCommentVNode("",!0)]),_:1})]))}}),no=P._export_sfc(fl,[["__scopeId","data-v-66736d3f"]]),hl={locale:"zh-CN","common.empty":"暂无数据","common.loading":"加载中...","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}"},vl={locale:"en-US","common.empty":"No Data","common.loading":"Loading...","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}"},ro=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{},theme:{default:"light"}},setup(o){const t=o,r=e.reactive({locale:e.computed(()=>t.locale),theme:e.computed(()=>t.theme)});return e.provide(P.configProviderInjectKey,r),(l,a)=>(e.openBlock(),e.createBlock(e.unref(i.OConfigProvider),{locale:o.locale==="zh"?e.unref(hl):e.unref(vl)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["locale"]))}}),kl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function gl(o,t){return e.openBlock(),e.createElementBlock("svg",kl,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Cl={name:"components-icon-chevron-right",render:gl},_l={class:"section-wrapper"},yl={key:1,class:"section-title"},El={key:2,class:"section-subtitle"},Bl={key:1,class:"section-body"},Nl={key:2,class:"section-footer"},wl=e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(o){const t=o;return(r,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":t.full}])},[e.createElementVNode("div",_l,[e.renderSlot(r.$slots,"main",{},()=>[r.$slots.header||t.title||t.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!t.headerJustifyCenter}])},[e.renderSlot(r.$slots,"header",{},()=>[e.unref(i.isArray)(t.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.title,a=>(e.openBlock(),e.createElementBlock("h2",{key:a,class:"section-title"},e.toDisplayString(a),1))),128)):r.$slots.title||t.title?(e.openBlock(),e.createElementBlock("h2",yl,[e.renderSlot(r.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)])):e.createCommentVNode("",!0),r.$slots.subtitle||t.subtitle?(e.openBlock(),e.createElementBlock("p",El,[e.renderSlot(r.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),r.$slots.default?(e.openBlock(),e.createElementBlock("div",Bl,[e.renderSlot(r.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),r.$slots.footer||t.footer?(e.openBlock(),e.createElementBlock("div",Nl,[e.renderSlot(r.$slots,"footer",{},()=>[e.createVNode(e.unref(i.OLink),{href:t.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Cl))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),ao=P._export_sfc(wl,[["__scopeId","data-v-2fc90e8a"]]),Vl={class:"source-code"},Sl={key:0,class:"info-wrap"},bl={class:"title"},Ll={class:"info-wrap hover-icon-rotate"},Ol={class:"title"},$l=e.defineComponent({__name:"OSourceCode",props:{title:{default:void 0},options:{default:void 0},url:{default:void 0},icon:{default:void 0}},setup(o){const t=r=>{window.open(r.url,"_blank")};return(r,l)=>(e.openBlock(),e.createElementBlock("div",Vl,[o.url?(e.openBlock(),e.createElementBlock("div",Sl,[e.createElementVNode("span",bl,e.toDisplayString(o.title),1),o.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{class:"icon"}))]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(i.ODropdown),{key:1,trigger:"hover",optionPosition:"bottom","option-wrap-class":"dropdown"},{dropdown:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,a=>(e.openBlock(),e.createBlock(e.unref(i.ODropdownItem),{onClick:s=>t(a),key:a.url,class:"list"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label)+" ",1),a.icon?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)]),_:2},1032,["onClick"]))),128))]),default:e.withCtx(()=>[e.createElementVNode("div",Ll,[e.createElementVNode("span",Ol,e.toDisplayString(o.title),1),e.createVNode(e.unref(i.OIcon),{class:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(oo))]),_:1})])]),_:1}))]))}}),lo=P._export_sfc($l,[["__scopeId","data-v-9247229d"]]),Dl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xl(o,t){return e.openBlock(),e.createElementBlock("svg",Dl,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const ot={name:"components-icon-sun",render:xl},Tl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Al(o,t){return e.openBlock(),e.createElementBlock("svg",Tl,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const nt={name:"components-icon-moon",render:Al},Il={class:"o-theme-switcher"},Ml={key:1,class:"o-theme-switcher-mobile"},Rl=e.defineComponent({__name:"OThemeSwitcher",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},lightIcon:{default:ot},darkIcon:{default:nt}},emits:["update:theme","change"],setup(o,{emit:t}){const r=o,l=t,{gtPhone:a}=Q.useScreen(),s=e.computed({get(){return r.theme},set(c){l("update:theme",c),l("change",c)}}),m=e.computed(()=>r.type==="common"||r.type==="auto"&&a.value),p=()=>{s.value=s.value===r.lightValue?r.darkValue:r.lightValue};return(c,y)=>(e.openBlock(),e.createElementBlock("div",Il,[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-theme-switcher-common",onClick:p},[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[s.value===o.lightValue?(e.openBlock(),e.createBlock(e.unref(nt),{key:0})):(e.openBlock(),e.createBlock(e.unref(ot),{key:1}))]),_:1})])):(e.openBlock(),e.createElementBlock("div",Ml,[e.createVNode(e.unref(i.OSwitch),{modelValue:s.value,"onUpdate:modelValue":y[0]||(y[0]=u=>s.value=u),class:"o-theme-switch","checked-value":o.darkValue,"unchecked-value":o.lightValue},{on:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ot))]),_:1})]),off:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(nt))]),_:1})]),_:1},8,["modelValue","checked-value","unchecked-value"])]))]))}}),co=P._export_sfc(Rl,[["__scopeId","data-v-9aaa2610"]]);/*! @license DOMPurify 2.5.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.9/LICENSE */function ue(o){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(o)}function dt(o,t){return dt=Object.setPrototypeOf||function(l,a){return l.__proto__=a,l},dt(o,t)}function zl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ze(o,t,r){return zl()?ze=Reflect.construct:ze=function(a,s,m){var p=[null];p.push.apply(p,s);var c=Function.bind.apply(a,p),y=new c;return m&&dt(y,m.prototype),y},ze.apply(null,arguments)}function ae(o){return Fl(o)||Pl(o)||Hl(o)||Ul()}function Fl(o){if(Array.isArray(o))return ut(o)}function Pl(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function Hl(o,t){if(o){if(typeof o=="string")return ut(o,t);var r=Object.prototype.toString.call(o).slice(8,-1);if(r==="Object"&&o.constructor&&(r=o.constructor.name),r==="Map"||r==="Set")return Array.from(o);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ut(o,t)}}function ut(o,t){(t==null||t>o.length)&&(t=o.length);for(var r=0,l=new Array(t);r<t;r++)l[r]=o[r];return l}function Ul(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Wl=Object.hasOwnProperty,Rt=Object.setPrototypeOf,Gl=Object.isFrozen,jl=Object.getPrototypeOf,ql=Object.getOwnPropertyDescriptor,Y=Object.freeze,te=Object.seal,Kl=Object.create,so=typeof Reflect<"u"&&Reflect,Pe=so.apply,mt=so.construct;Pe||(Pe=function(t,r,l){return t.apply(r,l)});Y||(Y=function(t){return t});te||(te=function(t){return t});mt||(mt=function(t,r){return ze(t,ae(r))});var Zl=oe(Array.prototype.forEach),zt=oe(Array.prototype.pop),be=oe(Array.prototype.push),Fe=oe(String.prototype.toLowerCase),rt=oe(String.prototype.toString),Ft=oe(String.prototype.match),re=oe(String.prototype.replace),Yl=oe(String.prototype.indexOf),Xl=oe(String.prototype.trim),K=oe(RegExp.prototype.test),at=Jl(TypeError);function oe(o){return function(t){for(var r=arguments.length,l=new Array(r>1?r-1:0),a=1;a<r;a++)l[a-1]=arguments[a];return Pe(o,t,l)}}function Jl(o){return function(){for(var t=arguments.length,r=new Array(t),l=0;l<t;l++)r[l]=arguments[l];return mt(o,r)}}function L(o,t,r){var l;r=(l=r)!==null&&l!==void 0?l:Fe,Rt&&Rt(o,null);for(var a=t.length;a--;){var s=t[a];if(typeof s=="string"){var m=r(s);m!==s&&(Gl(t)||(t[a]=m),s=m)}o[s]=!0}return o}function he(o){var t=Kl(null),r;for(r in o)Pe(Wl,o,[r])===!0&&(t[r]=o[r]);return t}function Ie(o,t){for(;o!==null;){var r=ql(o,t);if(r){if(r.get)return oe(r.get);if(typeof r.value=="function")return oe(r.value)}o=jl(o)}function l(a){return console.warn("fallback value for",a),null}return l}var Pt=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lt=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ct=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ql=Y(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),st=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),e1=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ht=Y(["#text"]),Ut=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),it=Y(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Wt=Y(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Me=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),t1=te(/\{\{[\w\W]*|[\w\W]*\}\}/gm),o1=te(/<%[\w\W]*|[\w\W]*%>/gm),n1=te(/\${[\w\W]*}/gm),r1=te(/^data-[\-\w.\u00B7-\uFFFF]+$/),a1=te(/^aria-[\-\w]+$/),l1=te(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),c1=te(/^(?:\w+script|data):/i),s1=te(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),i1=te(/^html$/i),d1=te(/^[a-z][.\w]*(-[.\w]+)+$/i),u1=function(){return typeof window>"u"?null:window},m1=function(t,r){if(ue(t)!=="object"||typeof t.createPolicy!="function")return null;var l=null,a="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(a)&&(l=r.currentScript.getAttribute(a));var s="dompurify"+(l?"#"+l:"");try{return t.createPolicy(s,{createHTML:function(p){return p},createScriptURL:function(p){return p}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}};function io(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u1(),t=function(n){return io(n)};if(t.version="2.5.9",t.removed=[],!o||!o.document||o.document.nodeType!==9)return t.isSupported=!1,t;var r=o.document,l=o.document,a=o.DocumentFragment,s=o.HTMLTemplateElement,m=o.Node,p=o.Element,c=o.NodeFilter,y=o.NamedNodeMap,u=y===void 0?o.NamedNodeMap||o.MozNamedAttrMap:y,k=o.HTMLFormElement,B=o.DOMParser,E=o.trustedTypes,N=p.prototype,w=Ie(N,"cloneNode"),g=Ie(N,"nextSibling"),O=Ie(N,"childNodes"),I=Ie(N,"parentNode");if(typeof s=="function"){var C=l.createElement("template");C.content&&C.content.ownerDocument&&(l=C.content.ownerDocument)}var $=m1(E,r),V=$?$.createHTML(""):"",A=l,H=A.implementation,ne=A.createNodeIterator,M=A.createDocumentFragment,S=A.getElementsByTagName,z=r.importNode,h={};try{h=he(l).documentMode?l.documentMode:{}}catch{}var b={};t.isSupported=typeof I=="function"&&H&&H.createHTMLDocument!==void 0&&h!==9;var R=t1,D=o1,T=n1,X=r1,_=a1,ce=c1,le=s1,Ne=d1,He=l1,W=null,ft=L({},[].concat(ae(Pt),ae(lt),ae(ct),ae(st),ae(Ht))),G=null,ht=L({},[].concat(ae(Ut),ae(it),ae(Wt),ae(Me))),F=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),we=null,Ue=null,vt=!0,We=!0,kt=!1,gt=!0,ke=!1,Ge=!0,me=!1,je=!1,qe=!1,ge=!1,Le=!1,Oe=!1,Ct=!0,_t=!1,mo="user-content-",Ke=!0,Ve=!1,Ce={},_e=null,yt=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Et=null,Bt=L({},["audio","video","img","source","image","track"]),Ze=null,Nt=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",De="http://www.w3.org/2000/svg",se="http://www.w3.org/1999/xhtml",ye=se,Ye=!1,Xe=null,po=L({},[$e,De,se],rt),pe,fo=["application/xhtml+xml","text/html"],ho="text/html",j,Ee=null,vo=l.createElement("form"),wt=function(n){return n instanceof RegExp||n instanceof Function},Je=function(n){Ee&&Ee===n||((!n||ue(n)!=="object")&&(n={}),n=he(n),pe=fo.indexOf(n.PARSER_MEDIA_TYPE)===-1?pe=ho:pe=n.PARSER_MEDIA_TYPE,j=pe==="application/xhtml+xml"?rt:Fe,W="ALLOWED_TAGS"in n?L({},n.ALLOWED_TAGS,j):ft,G="ALLOWED_ATTR"in n?L({},n.ALLOWED_ATTR,j):ht,Xe="ALLOWED_NAMESPACES"in n?L({},n.ALLOWED_NAMESPACES,rt):po,Ze="ADD_URI_SAFE_ATTR"in n?L(he(Nt),n.ADD_URI_SAFE_ATTR,j):Nt,Et="ADD_DATA_URI_TAGS"in n?L(he(Bt),n.ADD_DATA_URI_TAGS,j):Bt,_e="FORBID_CONTENTS"in n?L({},n.FORBID_CONTENTS,j):yt,we="FORBID_TAGS"in n?L({},n.FORBID_TAGS,j):{},Ue="FORBID_ATTR"in n?L({},n.FORBID_ATTR,j):{},Ce="USE_PROFILES"in n?n.USE_PROFILES:!1,vt=n.ALLOW_ARIA_ATTR!==!1,We=n.ALLOW_DATA_ATTR!==!1,kt=n.ALLOW_UNKNOWN_PROTOCOLS||!1,gt=n.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ke=n.SAFE_FOR_TEMPLATES||!1,Ge=n.SAFE_FOR_XML!==!1,me=n.WHOLE_DOCUMENT||!1,ge=n.RETURN_DOM||!1,Le=n.RETURN_DOM_FRAGMENT||!1,Oe=n.RETURN_TRUSTED_TYPE||!1,qe=n.FORCE_BODY||!1,Ct=n.SANITIZE_DOM!==!1,_t=n.SANITIZE_NAMED_PROPS||!1,Ke=n.KEEP_CONTENT!==!1,Ve=n.IN_PLACE||!1,He=n.ALLOWED_URI_REGEXP||He,ye=n.NAMESPACE||se,F=n.CUSTOM_ELEMENT_HANDLING||{},n.CUSTOM_ELEMENT_HANDLING&&wt(n.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=n.CUSTOM_ELEMENT_HANDLING.tagNameCheck),n.CUSTOM_ELEMENT_HANDLING&&wt(n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),n.CUSTOM_ELEMENT_HANDLING&&typeof n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(F.allowCustomizedBuiltInElements=n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(We=!1),Le&&(ge=!0),Ce&&(W=L({},ae(Ht)),G=[],Ce.html===!0&&(L(W,Pt),L(G,Ut)),Ce.svg===!0&&(L(W,lt),L(G,it),L(G,Me)),Ce.svgFilters===!0&&(L(W,ct),L(G,it),L(G,Me)),Ce.mathMl===!0&&(L(W,st),L(G,Wt),L(G,Me))),n.ADD_TAGS&&(W===ft&&(W=he(W)),L(W,n.ADD_TAGS,j)),n.ADD_ATTR&&(G===ht&&(G=he(G)),L(G,n.ADD_ATTR,j)),n.ADD_URI_SAFE_ATTR&&L(Ze,n.ADD_URI_SAFE_ATTR,j),n.FORBID_CONTENTS&&(_e===yt&&(_e=he(_e)),L(_e,n.FORBID_CONTENTS,j)),Ke&&(W["#text"]=!0),me&&L(W,["html","head","body"]),W.table&&(L(W,["tbody"]),delete we.tbody),Y&&Y(n),Ee=n)},Vt=L({},["mi","mo","mn","ms","mtext"]),St=L({},["annotation-xml"]),ko=L({},["title","style","font","a","script"]),xe=L({},lt);L(xe,ct),L(xe,Ql);var Qe=L({},st);L(Qe,e1);var go=function(n){var d=I(n);(!d||!d.tagName)&&(d={namespaceURI:ye,tagName:"template"});var f=Fe(n.tagName),x=Fe(d.tagName);return Xe[n.namespaceURI]?n.namespaceURI===De?d.namespaceURI===se?f==="svg":d.namespaceURI===$e?f==="svg"&&(x==="annotation-xml"||Vt[x]):!!xe[f]:n.namespaceURI===$e?d.namespaceURI===se?f==="math":d.namespaceURI===De?f==="math"&&St[x]:!!Qe[f]:n.namespaceURI===se?d.namespaceURI===De&&!St[x]||d.namespaceURI===$e&&!Vt[x]?!1:!Qe[f]&&(ko[f]||!xe[f]):!!(pe==="application/xhtml+xml"&&Xe[n.namespaceURI]):!1},ee=function(n){be(t.removed,{element:n});try{n.parentNode.removeChild(n)}catch{try{n.outerHTML=V}catch{n.remove()}}},Te=function(n,d){try{be(t.removed,{attribute:d.getAttributeNode(n),from:d})}catch{be(t.removed,{attribute:null,from:d})}if(d.removeAttribute(n),n==="is"&&!G[n])if(ge||Le)try{ee(d)}catch{}else try{d.setAttribute(n,"")}catch{}},bt=function(n){var d,f;if(qe)n="<remove></remove>"+n;else{var x=Ft(n,/^[\r\n\t ]+/);f=x&&x[0]}pe==="application/xhtml+xml"&&ye===se&&(n='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+n+"</body></html>");var J=$?$.createHTML(n):n;if(ye===se)try{d=new B().parseFromString(J,pe)}catch{}if(!d||!d.documentElement){d=H.createDocument(ye,"template",null);try{d.documentElement.innerHTML=Ye?V:J}catch{}}var Z=d.body||d.documentElement;return n&&f&&Z.insertBefore(l.createTextNode(f),Z.childNodes[0]||null),ye===se?S.call(d,me?"html":"body")[0]:me?d.documentElement:Z},Lt=function(n){return ne.call(n.ownerDocument||n,n,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null,!1)},et=function(n){return n instanceof k&&(typeof n.nodeName!="string"||typeof n.textContent!="string"||typeof n.removeChild!="function"||!(n.attributes instanceof u)||typeof n.removeAttribute!="function"||typeof n.setAttribute!="function"||typeof n.namespaceURI!="string"||typeof n.insertBefore!="function"||typeof n.hasChildNodes!="function")},Se=function(n){return ue(m)==="object"?n instanceof m:n&&ue(n)==="object"&&typeof n.nodeType=="number"&&typeof n.nodeName=="string"},ie=function(n,d,f){b[n]&&Zl(b[n],function(x){x.call(t,d,f,Ee)})},Ot=function(n){var d;if(ie("beforeSanitizeElements",n,null),et(n)||K(/[\u0080-\uFFFF]/,n.nodeName))return ee(n),!0;var f=j(n.nodeName);if(ie("uponSanitizeElement",n,{tagName:f,allowedTags:W}),n.hasChildNodes()&&!Se(n.firstElementChild)&&(!Se(n.content)||!Se(n.content.firstElementChild))&&K(/<[/\w]/g,n.innerHTML)&&K(/<[/\w]/g,n.textContent)||f==="select"&&K(/<template/i,n.innerHTML)||n.nodeType===7||Ge&&n.nodeType===8&&K(/<[/\w]/g,n.data))return ee(n),!0;if(!W[f]||we[f]){if(!we[f]&&Dt(f)&&(F.tagNameCheck instanceof RegExp&&K(F.tagNameCheck,f)||F.tagNameCheck instanceof Function&&F.tagNameCheck(f)))return!1;if(Ke&&!_e[f]){var x=I(n)||n.parentNode,J=O(n)||n.childNodes;if(J&&x)for(var Z=J.length,q=Z-1;q>=0;--q){var fe=w(J[q],!0);fe.__removalCount=(n.__removalCount||0)+1,x.insertBefore(fe,g(n))}}return ee(n),!0}return n instanceof p&&!go(n)||(f==="noscript"||f==="noembed"||f==="noframes")&&K(/<\/no(script|embed|frames)/i,n.innerHTML)?(ee(n),!0):(ke&&n.nodeType===3&&(d=n.textContent,d=re(d,R," "),d=re(d,D," "),d=re(d,T," "),n.textContent!==d&&(be(t.removed,{element:n.cloneNode()}),n.textContent=d)),ie("afterSanitizeElements",n,null),!1)},$t=function(n,d,f){if(Ct&&(d==="id"||d==="name")&&(f in l||f in vo))return!1;if(!(We&&!Ue[d]&&K(X,d))){if(!(vt&&K(_,d))){if(!G[d]||Ue[d]){if(!(Dt(n)&&(F.tagNameCheck instanceof RegExp&&K(F.tagNameCheck,n)||F.tagNameCheck instanceof Function&&F.tagNameCheck(n))&&(F.attributeNameCheck instanceof RegExp&&K(F.attributeNameCheck,d)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(d))||d==="is"&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&K(F.tagNameCheck,f)||F.tagNameCheck instanceof Function&&F.tagNameCheck(f))))return!1}else if(!Ze[d]){if(!K(He,re(f,le,""))){if(!((d==="src"||d==="xlink:href"||d==="href")&&n!=="script"&&Yl(f,"data:")===0&&Et[n])){if(!(kt&&!K(ce,re(f,le,"")))){if(f)return!1}}}}}}return!0},Dt=function(n){return n!=="annotation-xml"&&Ft(n,Ne)},xt=function(n){var d,f,x,J;ie("beforeSanitizeAttributes",n,null);var Z=n.attributes;if(!(!Z||et(n))){var q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G};for(J=Z.length;J--;){d=Z[J];var fe=d,U=fe.name,tt=fe.namespaceURI;if(f=U==="value"?d.value:Xl(d.value),x=j(U),q.attrName=x,q.attrValue=f,q.keepAttr=!0,q.forceKeepAttr=void 0,ie("uponSanitizeAttribute",n,q),f=q.attrValue,!q.forceKeepAttr&&(Te(U,n),!!q.keepAttr)){if(!gt&&K(/\/>/i,f)){Te(U,n);continue}ke&&(f=re(f,R," "),f=re(f,D," "),f=re(f,T," "));var Tt=j(n.nodeName);if($t(Tt,x,f)){if(_t&&(x==="id"||x==="name")&&(Te(U,n),f=mo+f),Ge&&K(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){Te(U,n);continue}if($&&ue(E)==="object"&&typeof E.getAttributeType=="function"&&!tt)switch(E.getAttributeType(Tt,x)){case"TrustedHTML":{f=$.createHTML(f);break}case"TrustedScriptURL":{f=$.createScriptURL(f);break}}try{tt?n.setAttributeNS(tt,U,f):n.setAttribute(U,f),et(n)?ee(n):zt(t.removed)}catch{}}}}ie("afterSanitizeAttributes",n,null)}},Co=function v(n){var d,f=Lt(n);for(ie("beforeSanitizeShadowDOM",n,null);d=f.nextNode();)ie("uponSanitizeShadowNode",d,null),Ot(d),xt(d),d.content instanceof a&&v(d.content);ie("afterSanitizeShadowDOM",n,null)};return t.sanitize=function(v){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,f,x,J,Z;if(Ye=!v,Ye&&(v="<!-->"),typeof v!="string"&&!Se(v))if(typeof v.toString=="function"){if(v=v.toString(),typeof v!="string")throw at("dirty is not a string, aborting")}else throw at("toString is not a function");if(!t.isSupported){if(ue(o.toStaticHTML)==="object"||typeof o.toStaticHTML=="function"){if(typeof v=="string")return o.toStaticHTML(v);if(Se(v))return o.toStaticHTML(v.outerHTML)}return v}if(je||Je(n),t.removed=[],typeof v=="string"&&(Ve=!1),Ve){if(v.nodeName){var q=j(v.nodeName);if(!W[q]||we[q])throw at("root node is forbidden and cannot be sanitized in-place")}}else if(v instanceof m)d=bt("<!---->"),f=d.ownerDocument.importNode(v,!0),f.nodeType===1&&f.nodeName==="BODY"||f.nodeName==="HTML"?d=f:d.appendChild(f);else{if(!ge&&!ke&&!me&&v.indexOf("<")===-1)return $&&Oe?$.createHTML(v):v;if(d=bt(v),!d)return ge?null:Oe?V:""}d&&qe&&ee(d.firstChild);for(var fe=Lt(Ve?v:d);x=fe.nextNode();)x.nodeType===3&&x===J||(Ot(x),xt(x),x.content instanceof a&&Co(x.content),J=x);if(J=null,Ve)return v;if(ge){if(Le)for(Z=M.call(d.ownerDocument);d.firstChild;)Z.appendChild(d.firstChild);else Z=d;return(G.shadowroot||G.shadowrootmod)&&(Z=z.call(r,Z,!0)),Z}var U=me?d.outerHTML:d.innerHTML;return me&&W["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&K(i1,d.ownerDocument.doctype.name)&&(U="<!DOCTYPE "+d.ownerDocument.doctype.name+`>
3
- `+U),ke&&(U=re(U,R," "),U=re(U,D," "),U=re(U,T," ")),$&&Oe?$.createHTML(U):U},t.setConfig=function(v){Je(v),je=!0},t.clearConfig=function(){Ee=null,je=!1},t.isValidAttribute=function(v,n,d){Ee||Je({});var f=j(v),x=j(n);return $t(f,x,d)},t.addHook=function(v,n){typeof n=="function"&&(b[v]=b[v]||[],be(b[v],n))},t.removeHook=function(v){if(b[v])return zt(b[v])},t.removeHooks=function(v){b[v]&&(b[v]=[])},t.removeAllHooks=function(){b={}},t}var p1=io();function f1(o,t){const r=o.hooks??{};let l;for(l in r){const a=r[l];a!==void 0&&t.addHook(l,a)}}function h1(){return p1()}function uo(o={},t=h1){const r=t();f1(o,r);const l=function(a,s){const m=s.value;if(s.oldValue===m)return;const p=`${m}`,c=s.arg,y=o.namedConfigurations,u=o.default??{};if(y&&c!==void 0){a.innerHTML=r.sanitize(p,y[c]??u);return}a.innerHTML=r.sanitize(p,u)};return{mounted:l,updated:l}}const v1={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function k1(o,t){return e.openBlock(),e.createElementBlock("svg",v1,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"峰会",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 425",d:"M8.36719 4.75439L8.36523 4.75537L8.36523 4.75537C7.63184 5.05518 6.93555 5.44629 6.27734 5.9292C6.00098 6.13184 5.94238 6.5083 6.14551 6.78516C6.34766 7.06201 6.72461 7.11963 7.00098 6.91699C7.61035 6.47119 8.25391 6.11475 8.93262 5.84766C9.05371 5.7998 9.17676 5.75488 9.30078 5.71289C9.73242 5.56641 10.1699 5.45752 10.6143 5.38672C10.6191 5.38574 10.624 5.38525 10.6289 5.38428L10.6289 5.38428C11.0439 5.31836 11.4639 5.28564 11.8896 5.28564C12.3193 5.28564 12.7451 5.31934 13.1641 5.38672L13.165 5.38672C13.6084 5.45752 14.0459 5.56641 14.4775 5.71289C14.6016 5.75488 14.7246 5.7998 14.8457 5.84766C15.5254 6.11475 16.1689 6.47119 16.7773 6.91699C17.0537 7.11963 17.4307 7.06201 17.6328 6.78516C17.8359 6.5083 17.7783 6.13184 17.501 5.9292C16.8418 5.4458 16.1455 5.0542 15.4111 4.75439C15.2334 4.68213 15.0537 4.61475 14.8711 4.55273C14.376 4.38477 13.873 4.25977 13.3643 4.17773C12.8789 4.09961 12.3877 4.06055 11.8896 4.06055C11.3916 4.06055 10.8994 4.09961 10.4141 4.17773L10.4141 4.17773C9.90527 4.25977 9.40332 4.38477 8.90723 4.55273C8.72559 4.61475 8.54492 4.68213 8.36719 4.75439L8.36719 4.75439ZM20.377 14.2979L20.377 13.4229C20.377 13.0801 20.1074 12.8105 19.7646 12.8105C19.4219 12.8105 19.1523 13.0801 19.1523 13.4229L19.1523 14.2979C19.1523 14.334 19.1455 14.3677 19.1328 14.3984L19.1328 14.3989C19.1074 14.4243 19.0215 14.5283 18.9902 14.5415C18.96 14.5542 18.9258 14.5605 18.8896 14.5605L4.88965 14.5605C4.85352 14.5605 4.82031 14.5542 4.78906 14.5415C4.76367 14.5156 4.65918 14.4297 4.64648 14.3989C4.63379 14.3677 4.62695 14.3345 4.62695 14.2979L4.62695 9.04785C4.62695 9.01172 4.63379 8.97803 4.64648 8.94727C4.67188 8.92188 4.75781 8.81738 4.78906 8.80469L4.78906 8.80469C4.82031 8.79199 4.85352 8.78564 4.88965 8.78564L18.8896 8.78564C18.9258 8.78564 18.96 8.79199 18.9902 8.80469C19.0166 8.83057 19.1201 8.9165 19.1328 8.94727C19.1455 8.97803 19.1523 9.01172 19.1523 9.04785L19.1523 11.6729C19.1523 12.0161 19.4219 12.2856 19.7646 12.2856C20.1074 12.2856 20.377 12.0161 20.377 11.6729L20.377 9.04785C20.377 8.94141 20.3662 8.83691 20.3447 8.73535L20.3447 8.73438L20.3447 8.73389C20.3252 8.64355 20.2969 8.55518 20.2598 8.46875C20.2236 8.3833 20.1807 8.30225 20.1299 8.22559C20.0752 8.14355 20.0127 8.06738 19.9414 7.99609C19.8701 7.92529 19.7939 7.8623 19.7119 7.80811C19.6357 7.75732 19.5547 7.71387 19.4688 7.67773C19.3828 7.64111 19.2939 7.61328 19.2041 7.59375C19.1016 7.57178 18.9971 7.56055 18.8896 7.56055L4.88965 7.56055C4.78418 7.56055 4.68066 7.57129 4.5791 7.59277L4.5791 7.59277C4.57812 7.59326 4.57715 7.59326 4.57617 7.59375L4.5752 7.59375C4.48535 7.61328 4.39746 7.64111 4.31055 7.67773C4.22461 7.71387 4.14355 7.75732 4.06738 7.80811C3.98535 7.8623 3.90918 7.92529 3.83789 7.99609C3.7666 8.06738 3.7041 8.14355 3.64941 8.22559C3.64941 8.22656 3.64844 8.22705 3.64844 8.22803C3.59863 8.30371 3.55566 8.38379 3.51953 8.46875C3.48242 8.55518 3.45508 8.64355 3.43555 8.73389C3.41309 8.83643 3.40234 8.94092 3.40234 9.04785L3.40234 14.2979C3.40234 14.4053 3.41309 14.5098 3.43555 14.6123C3.45508 14.7021 3.48242 14.7905 3.51953 14.8774C3.55566 14.9629 3.59961 15.0439 3.64941 15.1201C3.7041 15.2021 3.7666 15.2788 3.83789 15.3501C3.90918 15.4209 3.98535 15.4834 4.06738 15.5381C4.14355 15.5889 4.22461 15.6323 4.31055 15.6685C4.39746 15.7051 4.48535 15.7329 4.5752 15.7524C4.67773 15.7744 4.78223 15.7856 4.88965 15.7856L18.8896 15.7856C18.9971 15.7856 19.1016 15.7744 19.2041 15.7524C19.2939 15.7329 19.3828 15.7051 19.4688 15.6685C19.5547 15.6318 19.6357 15.5889 19.7119 15.5381C19.7939 15.4834 19.8701 15.4209 19.9414 15.3501C20.0127 15.2788 20.0752 15.2021 20.1299 15.1201C20.1807 15.0439 20.2236 14.9629 20.2598 14.8774C20.2969 14.7905 20.3252 14.7021 20.3447 14.6123C20.3662 14.5098 20.377 14.4053 20.377 14.2979ZM14.8291 16.3438L14.8291 16.3438C14.9189 16.3633 15.0078 16.3911 15.0938 16.4277C15.1797 16.4639 15.2607 16.5073 15.3369 16.5581C15.4189 16.6123 15.4951 16.6753 15.5664 16.7461C15.6377 16.8174 15.7002 16.8936 15.7549 16.9756C15.8057 17.0522 15.8486 17.1328 15.8848 17.2188C15.9219 17.3052 15.9502 17.3936 15.9697 17.4839C15.9912 17.5864 16.002 17.6909 16.002 17.7979C16.002 17.9053 15.9912 18.0098 15.9697 18.1123C15.9502 18.2021 15.9219 18.2905 15.8848 18.3774C15.8486 18.4629 15.8057 18.5439 15.7549 18.6201C15.7002 18.7021 15.6377 18.7788 15.5664 18.8501C15.4951 18.9209 15.4189 18.9834 15.3369 19.0381C15.2607 19.0889 15.1797 19.1318 15.0938 19.1685C15.0078 19.2051 14.9189 19.2329 14.8291 19.2524C14.7266 19.2744 14.6221 19.2856 14.5146 19.2856L9.26465 19.2856C9.1582 19.2856 9.05273 19.2744 8.9502 19.2524C8.86035 19.2329 8.77246 19.2051 8.68555 19.1685C8.59961 19.1318 8.51855 19.0889 8.44238 19.0381C8.36035 18.9834 8.28418 18.9209 8.21289 18.8501C8.1416 18.7788 8.0791 18.7021 8.02441 18.6201C7.97461 18.5439 7.93066 18.4629 7.89453 18.3774C7.85742 18.2905 7.83008 18.2021 7.81055 18.1123C7.78809 18.0098 7.77734 17.9053 7.77734 17.7979C7.77734 17.6909 7.78809 17.5864 7.81055 17.4839C7.83008 17.3936 7.85742 17.3052 7.89453 17.2188C7.93066 17.1328 7.97461 17.0522 8.02441 16.9756C8.0791 16.8936 8.1416 16.8174 8.21289 16.7461C8.28418 16.6753 8.36035 16.6123 8.44238 16.5581C8.51855 16.5073 8.59961 16.4639 8.68555 16.4277C8.77246 16.3911 8.86035 16.3633 8.9502 16.3438C9.05273 16.3218 9.1582 16.3105 9.26465 16.3105L14.5146 16.3105C14.6221 16.3105 14.7266 16.3218 14.8291 16.3438ZM9.2666 17.5352L14.5166 17.5352C14.5527 17.5352 14.5859 17.5415 14.6172 17.5547C14.6426 17.5801 14.7471 17.666 14.7598 17.6973C14.7725 17.728 14.7793 17.7617 14.7793 17.7979C14.7793 17.834 14.7725 17.8677 14.7598 17.8984C14.7344 17.9243 14.6484 18.0283 14.6172 18.041C14.5859 18.0542 14.5527 18.0605 14.5166 18.0605L9.2666 18.0605C9.23047 18.0605 9.19629 18.0542 9.16602 18.041C9.13965 18.0156 9.03613 17.9297 9.02344 17.8984C9.01074 17.8677 9.00391 17.834 9.00391 17.7979C9.00391 17.7617 9.01074 17.728 9.02344 17.6973C9.04883 17.6714 9.13477 17.5674 9.16602 17.5547C9.19629 17.5415 9.23047 17.5352 9.2666 17.5352Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const g1={name:"events-icon-summit",render:k1},C1={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function _1(o,t){return e.openBlock(),e.createElementBlock("svg",C1,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"活动",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 426",d:"M18.3065 11.0924L17.7206 11.6295C17.455 11.8722 17.4384 12.2711 17.6806 12.5362C17.9237 12.8009 18.3221 12.8185 18.5868 12.5758L19.1737 12.0387L20.0418 11.2433C20.1746 11.1217 20.2811 10.9859 20.3631 10.8365C20.4256 10.7198 20.4735 10.5948 20.5057 10.4615C20.5369 10.3316 20.5516 10.2017 20.5496 10.0723C20.5467 9.92 20.5213 9.76765 20.4725 9.61531C20.4237 9.46345 20.3553 9.32478 20.2684 9.19978C20.1942 9.09333 20.1063 8.99665 20.0057 8.90925C19.9012 8.81989 19.7899 8.74616 19.6698 8.68854C19.5165 8.61481 19.3504 8.56744 19.1717 8.54645L15.3212 8.09185C15.2997 8.08355 15.2119 8.05572 15.1923 8.04156C15.1777 8.02398 15.1142 7.9566 15.1044 7.93511L13.4697 4.43751C13.3945 4.27638 13.2978 4.13477 13.1816 4.0127L13.1816 4.0127C13.0898 3.91797 12.9853 3.83496 12.8691 3.76416C12.7549 3.69531 12.6367 3.64209 12.5137 3.60498L12.5137 3.60498C12.3682 3.56104 12.2168 3.53906 12.0586 3.53906C11.8994 3.53906 11.7481 3.56104 11.6025 3.60498L11.6025 3.60498C11.4795 3.64209 11.3613 3.69531 11.2471 3.76416C11.1309 3.83496 11.0264 3.91797 10.9356 4.0127C10.8184 4.13477 10.7217 4.27589 10.6465 4.43751L9.01178 7.93511C8.99713 7.95269 8.94342 8.0274 8.92389 8.04156C8.90241 8.04986 8.81843 8.08892 8.79499 8.09185L4.94448 8.54645C4.76577 8.56744 4.59976 8.61481 4.44644 8.68854L4.44644 8.68854C4.32731 8.74616 4.215 8.81989 4.11149 8.90925C4.00993 8.99665 3.92204 9.09333 3.8488 9.19978C3.76091 9.32478 3.69353 9.46345 3.64373 9.61531C3.5949 9.76765 3.56951 9.92 3.56658 10.0723C3.56463 10.2017 3.57927 10.3316 3.61052 10.4615C3.64275 10.5948 3.6906 10.7198 3.75407 10.8365C3.83513 10.9859 3.94157 11.1217 4.07438 11.2433L6.90635 13.837C6.91807 13.8566 6.97374 13.9313 6.98155 13.9542C6.98155 13.9606 6.98252 13.9713 6.98448 13.9845L6.98448 13.986C6.98838 14.0226 6.99327 14.0763 6.98936 14.0939L6.2384 17.8488C6.20324 18.0241 6.19738 18.196 6.21985 18.3635C6.23645 18.4948 6.2716 18.6232 6.32434 18.7497C6.37512 18.8727 6.43957 18.986 6.51671 19.0891C6.60851 19.2106 6.71788 19.3181 6.84679 19.4118C6.97471 19.5061 7.11045 19.5778 7.254 19.6281C7.37607 19.6711 7.50302 19.698 7.63583 19.7097C7.77157 19.7209 7.90438 19.7155 8.03524 19.6926L8.03524 19.6926C8.20223 19.6628 8.36336 19.6047 8.52058 19.5183L11.9248 17.6369C11.9473 17.631 12.0342 17.6022 12.0586 17.6022C12.0801 17.6081 12.1709 17.6252 12.1914 17.6369L15.5117 19.4719C15.6718 19.5603 15.8368 19.6189 16.0068 19.6481L16.0077 19.6481C16.1396 19.6706 16.2743 19.675 16.412 19.6618C16.5468 19.6491 16.6747 19.6203 16.7968 19.5754C16.9423 19.5222 17.079 19.447 17.2079 19.3488C17.3368 19.2512 17.4462 19.1394 17.537 19.0139C17.6132 18.9079 17.6747 18.7917 17.7235 18.6662C17.7733 18.5368 17.8046 18.4055 17.8182 18.2722C17.8368 18.1008 17.8241 17.926 17.7821 17.7482L16.3495 11.7125C16.2665 11.3629 15.9267 11.1534 15.5771 11.2359C15.2275 11.3189 15.0175 11.6593 15.1005 12.0089L16.5331 18.0446C16.5468 18.1027 16.5458 18.155 16.5292 18.2023C16.5116 18.2492 16.4794 18.2907 16.4325 18.3268C16.3847 18.363 16.3359 18.383 16.286 18.3864C16.2362 18.3903 16.1855 18.3776 16.1327 18.3488L12.8115 16.5133C12.6943 16.4489 12.5732 16.4001 12.4473 16.3678L12.4473 16.3678C12.3223 16.3351 12.1924 16.319 12.0586 16.319C11.9238 16.319 11.794 16.3351 11.669 16.3678C11.543 16.4001 11.4219 16.4489 11.3047 16.5133L7.8995 18.3952C7.84872 18.4235 7.79794 18.4362 7.74911 18.4328C7.69931 18.4299 7.65146 18.4108 7.60458 18.3762C7.55673 18.342 7.52451 18.3015 7.50693 18.2556C7.48837 18.2097 7.48545 18.1579 7.49716 18.1003L8.24813 14.3453C8.27449 14.2116 8.28426 14.0792 8.27644 13.9474C8.26863 13.816 8.24324 13.6852 8.20125 13.5558C8.15926 13.4259 8.10262 13.3058 8.03036 13.1949C7.95907 13.0841 7.87313 12.983 7.77255 12.8907L4.94155 10.297C4.89761 10.2569 4.87026 10.213 4.85757 10.1651C4.84487 10.1173 4.8478 10.0655 4.86538 10.0094C4.88393 9.95369 4.91128 9.90975 4.94936 9.8785C4.98842 9.84676 5.03628 9.82771 5.09487 9.82088L8.94538 9.36628C9.07916 9.35066 9.20709 9.31892 9.32916 9.27155C9.45025 9.22419 9.56646 9.16071 9.67583 9.0821C9.7852 9.003 9.8809 8.91315 9.96391 8.81256C10.0479 8.71198 10.1172 8.60065 10.1748 8.47858L11.8086 4.98097C11.834 4.92824 11.8672 4.88869 11.9082 4.86183C11.9502 4.83546 12 4.82228 12.0586 4.82228C12.1162 4.82228 12.166 4.83546 12.208 4.86183C12.25 4.88869 12.2822 4.92824 12.3076 4.98097L13.9414 8.47858C13.999 8.60065 14.0693 8.71198 14.1523 8.81256C14.2353 8.91315 14.332 9.003 14.4414 9.0821C14.5507 9.16071 14.666 9.22419 14.7871 9.27155C14.9091 9.31892 15.0371 9.35066 15.1708 9.36628L19.0213 9.82088C19.0799 9.82771 19.1278 9.84676 19.1668 9.8785C19.2049 9.90975 19.2333 9.95369 19.2508 10.0094C19.2694 10.0655 19.2713 10.1173 19.2586 10.1651C19.2459 10.213 19.2186 10.2569 19.1747 10.297L18.3065 11.0924ZM9.31256 13.2311L7.93856 11.8561C7.68368 11.6017 7.68368 11.2027 7.93856 10.9483C8.19246 10.6944 8.59187 10.6944 8.84577 10.9483L10.2207 12.3233C10.4746 12.5777 10.4746 12.9772 10.2207 13.2311C9.96586 13.485 9.56743 13.485 9.31256 13.2311Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const y1={name:"events-icon-events",render:_1},E1={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function B1(o,t){return e.openBlock(),e.createElementBlock("svg",E1,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"高校 & 比赛",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 578",d:"M3.05078 7.51904L11.6914 4.13965C11.8086 4.09424 11.9219 4.07178 12.0391 4.07178C12.1523 4.07178 12.2695 4.09473 12.3867 4.14062L20.9609 7.51953C21.0625 7.55957 21.1523 7.61328 21.2305 7.67969C21.2969 7.73779 21.3555 7.80566 21.4062 7.88379C21.5078 8.03857 21.5586 8.20898 21.5625 8.39502C21.5625 8.58057 21.5156 8.75195 21.418 8.9082C21.3125 9.07861 21.1641 9.20264 20.9766 9.28076L19.457 9.91309L19.457 12.2915C19.457 12.6558 19.168 12.9419 18.8047 12.9419C18.4414 12.9419 18.1562 12.6558 18.1562 12.292L18.1562 10.4531L16.0742 11.3188L16.0742 14.7134C16.2852 14.897 16.418 15.1675 16.418 15.4692C16.418 16.0215 15.9688 16.4692 15.418 16.4692C14.8672 16.4692 14.418 16.0215 14.418 15.4692C14.418 15.1626 14.5547 14.8887 14.7734 14.7051L14.7734 11.8589L12.4023 12.8442C12.2852 12.8926 12.1641 12.917 12.0391 12.917C11.9141 12.9175 11.793 12.8936 11.6758 12.8452L5.63281 10.354L5.61328 17.6836C5.61328 17.7285 5.62109 17.771 5.63281 17.8101C5.65234 17.854 5.67969 17.894 5.71484 17.9307C5.75 17.9658 5.78906 17.9917 5.83203 18.0088C5.87109 18.0259 5.91797 18.0342 5.96484 18.0342L17.7812 18.0342C17.832 18.0342 17.875 18.0254 17.918 18.0083C17.957 17.9912 17.9961 17.9658 18.0312 17.9316C18.0625 17.8975 18.0898 17.8599 18.1055 17.8184C18.125 17.7773 18.1328 17.7324 18.1328 17.6841L18.1328 14.1411C18.1328 13.7773 18.418 13.4912 18.7812 13.4912C19.1445 13.4912 19.4336 13.7773 19.4336 14.1411L19.4336 17.6841C19.4336 17.8032 19.418 17.9194 19.3945 18.0332C19.375 18.1333 19.3438 18.231 19.3008 18.3267C19.2188 18.5239 19.1016 18.6987 18.9492 18.8511C18.8711 18.9297 18.7852 18.9995 18.6953 19.0596C18.6094 19.1157 18.5195 19.1641 18.4258 19.2041C18.3281 19.2446 18.2305 19.2759 18.1328 19.2974L18.1328 19.2974C18.0156 19.3218 17.9023 19.334 17.7812 19.334L5.96484 19.334C5.84375 19.334 5.73047 19.3218 5.61719 19.2979C5.51562 19.2759 5.41797 19.2446 5.32031 19.2036C5.12109 19.1201 4.94922 19.002 4.79688 18.8501C4.64453 18.6978 4.52734 18.5225 4.44141 18.3252C4.35547 18.1196 4.3125 17.9048 4.3125 17.6797L4.33594 9.81836L3.03125 9.28174C2.84375 9.2041 2.69531 9.08008 2.58984 8.90967C2.54297 8.83496 2.50781 8.75684 2.48438 8.67578C2.45703 8.58643 2.44531 8.49268 2.44531 8.39502C2.44531 8.29736 2.46094 8.20361 2.48828 8.11475C2.51562 8.03369 2.55078 7.95654 2.59766 7.8833C2.65234 7.80469 2.71094 7.73682 2.77734 7.67871C2.85547 7.61182 2.94922 7.55859 3.05078 7.51904ZM18.5547 8.87891L15.457 10.1665L11.5 8.05322C11.1758 7.88184 10.7891 7.99951 10.6172 8.32031C10.4492 8.6416 10.5664 9.02832 10.8867 9.19971L13.9062 10.8115L12.0352 11.5884L5.23438 8.78271L4.33594 8.41211L12.0352 5.40039L19.6797 8.41211L18.5547 8.87891Z",fill:"rgb(255,254.745,254.745)","fill-rule":"evenodd"},null,-1)])])}const N1={name:"events-icon-competition",render:B1},w1={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function V1(o,t){return e.openBlock(),e.createElementBlock("svg",w1,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"版本发布计划",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 579",d:"M8.94922 6.90332L8.94922 6.3335C8.94922 6.23779 8.95703 6.14404 8.97656 6.05225L8.97656 6.05225C8.99609 5.97119 9.01953 5.89209 9.05469 5.81396C9.08594 5.7373 9.125 5.66455 9.17188 5.59619C9.21875 5.52246 9.27734 5.4541 9.33984 5.39062C9.40234 5.32715 9.47266 5.271 9.54297 5.22217L9.54297 5.22217L9.54297 5.22217C9.61328 5.17676 9.6875 5.1377 9.76172 5.10498C9.83984 5.07227 9.91797 5.04688 10 5.02979L10 5.02979C10.0938 5.00977 10.1875 5 10.2812 5L18.668 5C18.7617 5 18.8555 5.00977 18.9492 5.02979L18.9492 5.02979C19.0273 5.04688 19.1094 5.07227 19.1875 5.10498C19.2617 5.1377 19.3359 5.17676 19.4023 5.22217C19.4766 5.271 19.5469 5.32715 19.6094 5.39062C19.6719 5.4541 19.7305 5.52246 19.7773 5.59619L19.7773 5.59619C19.8242 5.66455 19.8633 5.7373 19.8945 5.81396C19.9297 5.89209 19.9531 5.97119 19.9688 6.05225C19.9883 6.14404 20 6.23779 20 6.3335L20 12.2441C20 12.3398 19.9883 12.4336 19.9688 12.5249C19.9531 12.606 19.9297 12.6855 19.8945 12.7632C19.8633 12.8403 19.8242 12.9131 19.7773 12.9814C19.7305 13.0547 19.6719 13.123 19.6094 13.187C19.5469 13.2505 19.4766 13.3066 19.4023 13.3555C19.3359 13.4009 19.2617 13.4399 19.1875 13.4722C19.1094 13.5054 19.0273 13.5303 18.9492 13.5479C18.8555 13.5674 18.7617 13.5771 18.668 13.5771L18.3906 13.5771C18.0664 13.5771 17.8125 13.3232 17.8125 13C17.8125 12.6768 18.0664 12.4229 18.3906 12.4229L18.668 12.4229C18.6914 12.4229 18.7734 12.3789 18.793 12.3701C18.8086 12.353 18.8359 12.2651 18.8438 12.2441L18.8438 6.3335C18.8438 6.30859 18.8008 6.22803 18.793 6.20703C18.7773 6.18945 18.6875 6.16357 18.668 6.15479L10.2812 6.15479C10.2578 6.15479 10.1758 6.19824 10.1562 6.20703C10.1367 6.22461 10.1133 6.3125 10.1016 6.3335L10.1016 6.90332C10.1016 7.22656 9.84766 7.48047 9.52734 7.48047C9.20312 7.48047 8.94922 7.22656 8.94922 6.90332ZM6.47266 9.39307L6.47266 9.21973C6.47266 9.12402 6.48438 9.03027 6.50391 8.93896C6.51953 8.85791 6.54688 8.77832 6.57812 8.70068C6.61328 8.62354 6.65234 8.55127 6.69531 8.48242C6.74609 8.40918 6.80078 8.34082 6.86328 8.27734C6.92969 8.21338 6.99609 8.15723 7.07031 8.10889C7.13672 8.06299 7.21094 8.02441 7.28906 7.9917C7.36719 7.9585 7.44531 7.93359 7.52734 7.91602C7.61719 7.89648 7.71094 7.88672 7.80859 7.88672L16.1914 7.88672C16.2891 7.88672 16.3828 7.89648 16.4727 7.91602C16.5547 7.93359 16.6328 7.9585 16.7109 7.9917C16.7891 8.02441 16.8594 8.06299 16.9297 8.1084C17.0039 8.15723 17.0703 8.21338 17.1367 8.27734C17.1992 8.34082 17.2539 8.40918 17.3047 8.48242C17.3477 8.55127 17.3867 8.62354 17.4219 8.70068C17.4531 8.77832 17.4805 8.85791 17.4961 8.93896C17.5156 9.03027 17.5273 9.12402 17.5273 9.21973L17.5273 15.1304C17.5273 15.2266 17.5156 15.3198 17.4961 15.4116C17.4805 15.4927 17.4531 15.5718 17.4219 15.6499C17.3867 15.7266 17.3477 15.7993 17.3047 15.8682C17.2539 15.9414 17.1992 16.0098 17.1367 16.0732C17.0703 16.1367 17.0039 16.1929 16.9297 16.2417C16.8633 16.2871 16.7891 16.3262 16.7109 16.3589C16.6328 16.3916 16.5547 16.417 16.4727 16.4346C16.3828 16.4541 16.2891 16.4639 16.1914 16.4639L15.8789 16.4639C15.5547 16.4639 15.3008 16.21 15.3008 15.8867C15.3008 15.5635 15.5547 15.3091 15.8789 15.3091L16.1914 15.3091C16.2188 15.3091 16.2969 15.2656 16.3203 15.2568C16.3359 15.2393 16.3633 15.1519 16.3711 15.1304L16.3711 9.21973C16.3711 9.19531 16.3281 9.11475 16.3203 9.09375C16.3008 9.07617 16.2148 9.0498 16.1914 9.04102L7.80859 9.04102C7.78125 9.04102 7.70312 9.08496 7.67969 9.09375C7.66406 9.11084 7.63672 9.19873 7.62891 9.21973L7.62891 9.39307C7.62891 9.71631 7.375 9.97021 7.05078 9.97021C6.72656 9.97021 6.47266 9.71631 6.47266 9.39307ZM14 10.3901C13.9062 10.3706 13.8125 10.3608 13.7188 10.3608L5.33203 10.3608C5.23828 10.3608 5.14453 10.3706 5.05078 10.3901L5.05078 10.3901C4.97266 10.4077 4.89062 10.4331 4.8125 10.4658C4.73828 10.4985 4.66406 10.5376 4.59766 10.583L4.59766 10.583L4.59766 10.583C4.52344 10.6318 4.45312 10.688 4.39062 10.7515C4.32812 10.8149 4.26953 10.8833 4.22266 10.957C4.17578 11.0254 4.13672 11.0981 4.10547 11.1748C4.07031 11.2529 4.04688 11.332 4.03125 11.4131L4.03125 11.4131C4.01172 11.5049 4 11.5981 4 11.6943L4 17.605C4 17.7007 4.01172 17.7944 4.03125 17.8857C4.04688 17.9668 4.07031 18.0464 4.10547 18.124C4.13672 18.2012 4.17578 18.2739 4.22266 18.3423C4.26953 18.4155 4.32812 18.4839 4.39062 18.5479C4.45312 18.6113 4.52344 18.6675 4.59766 18.7163C4.66406 18.7617 4.73828 18.8008 4.8125 18.833C4.89062 18.8662 4.97266 18.8911 5.05078 18.9087L5.05078 18.9087C5.14453 18.9282 5.23828 18.938 5.33203 18.938L13.7188 18.938C13.8125 18.938 13.9062 18.9282 14 18.9087C14.082 18.8911 14.1602 18.8662 14.2383 18.833C14.3125 18.8008 14.3867 18.7617 14.457 18.7163C14.5273 18.6675 14.5977 18.6113 14.6602 18.5479C14.7227 18.4839 14.7812 18.4155 14.8281 18.3423C14.875 18.2739 14.9141 18.2012 14.9453 18.124C14.9805 18.0464 15.0039 17.9668 15.0234 17.8857C15.043 17.7944 15.0508 17.7007 15.0508 17.605L15.0508 11.6943C15.0508 11.5981 15.043 11.5049 15.0234 11.4131C15.0039 11.332 14.9805 11.2529 14.9453 11.1748C14.9141 11.0981 14.875 11.0254 14.8281 10.957C14.7812 10.8833 14.7227 10.8149 14.6602 10.7515C14.5977 10.688 14.5273 10.6318 14.457 10.583C14.3867 10.5376 14.3125 10.4985 14.2383 10.4658C14.1602 10.4331 14.082 10.4077 14 10.3901ZM5.33203 11.5156L13.7188 11.5156C13.7383 11.5244 13.8281 11.5503 13.8438 11.5679C13.8516 11.5889 13.8984 11.6694 13.8984 11.6943L13.8984 17.605C13.8867 17.626 13.8633 17.7139 13.8438 17.731C13.8242 17.7397 13.7422 17.7837 13.7188 17.7837L5.33203 17.7837C5.3125 17.7749 5.22266 17.7485 5.20703 17.731C5.19922 17.71 5.15625 17.6294 5.15625 17.605L5.15625 11.6943C5.16406 11.6733 5.19141 11.5854 5.20703 11.5679C5.22266 11.5503 5.3125 11.5244 5.33203 11.5156ZM11 12.7754C10.8086 12.5776 10.5 12.5742 10.3008 12.7676C10.1055 12.9614 10.1016 13.2695 10.293 13.4678L11 14.1875L8.36719 14.1875C8.08984 14.1875 7.87109 14.4053 7.87109 14.6826C7.87109 14.9595 8.08984 15.1772 8.36719 15.1772L10.9414 15.1772L10.2969 15.8286C10.1016 16.0254 10.1016 16.3335 10.3008 16.5283C10.4961 16.7236 10.8047 16.7222 11 16.5254L12.5039 15.0078C12.6172 14.8926 12.6758 14.7769 12.6758 14.6611C12.6758 14.5459 12.6172 14.4297 12.5039 14.3135L11 12.7754ZM7.39453 13.6792L7.39453 15.9336C7.39453 16.2109 7.17969 16.4287 6.90234 16.4287C6.625 16.4287 6.40625 16.2109 6.40625 15.9336L6.40625 13.6792C6.40625 13.4019 6.625 13.1841 6.90234 13.1841C7.17969 13.1841 7.39453 13.4019 7.39453 13.6792Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const S1={name:"events-icon-release",render:V1},b1={summit:"--o-orange-6",events:"--o-cyan-6",competition:"--o-blue-6",release:"--o-purple-6"},L1={events:y1,competition:N1,release:S1,summit:g1},Re={上海:"https://infrastructure-website.osinfra.cn/picture/city/shanghai.jpg",北京:"https://infrastructure-website.osinfra.cn/picture/city/beijing.jpg",南京:"https://infrastructure-website.osinfra.cn/picture/city/nanjing.jpg",天津:"https://infrastructure-website.osinfra.cn/picture/city/tianjin.jpg",成都:"https://infrastructure-website.osinfra.cn/picture/city/chengdu.jpg",无锡:"https://infrastructure-website.osinfra.cn/picture/city/wuxi.jpg",杭州:"https://infrastructure-website.osinfra.cn/picture/city/hangzhou.jpg",深圳:["https://infrastructure-website.osinfra.cn/picture/city/shenzhen1.jpg","https://infrastructure-website.osinfra.cn/picture/city/shenzhen2.jpg"],苏州:"https://infrastructure-website.osinfra.cn/picture/city/suzhou.jpg",西安:"https://infrastructure-website.osinfra.cn/picture/city/xian.jpg",郑州:"https://infrastructure-website.osinfra.cn/picture/city/zhengzhou.jpg",武汉:"https://infrastructure-website.osinfra.cn/picture/city/wuhan.jpg"},O1={class:"o-events-calendar"},$1={key:0,class:"month-list"},D1={class:"collapse-header"},x1={class:"collapse-title"},T1={key:0,class:"collapse-desc"},A1={key:0,class:"month-content month-content-span"},I1={key:0,class:"event-location"},M1={class:"event-name"},R1={key:1},z1={key:0,class:"month-content-row"},F1={class:"month-name"},P1={class:"event-name"},H1={class:"event-location"},U1={class:"event-name"},W1={class:"event-location"},G1={key:1,class:"month-content month-content-column"},j1={class:"event-location"},q1={class:"event-name"},K1={key:1},Gt=e.defineComponent({__name:"OEventsCalendar",props:{data:{default:()=>[]}},setup(o){const t=uo(),{lePadV:r}=Q.useScreen(),l=o,a=["JAN","FEB","MAR","Apr","May","JUN","Jul","Aug","Sep","Oct","Nov","Dec"],s=e.ref([]);e.watch([()=>l.data,()=>r.value],()=>{var k;l.data.length?r.value?s.value=[(k=l.data[0])==null?void 0:k.name]:s.value=l.data.map(B=>B.name):s.value=[]},{immediate:!0});const m=k=>{const B=k.split("/");return parseInt(B[1],10)},p=k=>{const B=new Array(12).fill(0),E=[];return k.forEach((N,w)=>{const[g,O]=Array.isArray(N.date)?[m(N.date[0]),m(N.date[1])]:[m(N.date),m(N.date)];let I=0;for(let $=g-1;$<O;$++)I=Math.max(I,B[$]);const C=I+1;for(let $=g-1;$<O;$++)B[$]=C;E.push({event:N,row:C,eventIndex:w,start:g,end:O})}),E},c=k=>{const B=Array.from({length:12},()=>[]);return k.forEach(E=>{const N=Array.isArray(E.date)?m(E.date[0]):m(E.date);B[N-1].push(E)}),B},y=k=>{const B=k.color||b1[k.type];return B!=null&&B.startsWith("--")?`var(${B})`:B},u=k=>k.icon?k.icon:L1[k.type];return(k,B)=>(e.openBlock(),e.createElementBlock("div",O1,[e.unref(r)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",$1,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(a,E=>e.createElementVNode("div",{class:"month-header",key:E},e.toDisplayString(E),1)),64))])),e.createVNode(e.unref(i.OCollapse),{modelValue:s.value,"onUpdate:modelValue":B[0]||(B[0]=E=>s.value=E)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data,(E,N)=>(e.openBlock(),e.createBlock(e.unref(i.OCollapseItem),{key:N,value:E.name},{title:e.withCtx(()=>[e.createElementVNode("div",D1,[e.createElementVNode("div",x1,[e.createElementVNode("div",{class:"title-icon",style:e.normalizeStyle({"--bg-color":y(E)})},[e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(E))))]),_:2},1024)],4),e.createElementVNode("span",null,e.toDisplayString(E.name),1)]),E.desc?(e.openBlock(),e.createElementBlock("div",T1,[e.withDirectives(e.createElementVNode("div",null,null,512),[[e.unref(t),E.desc]])])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[E.isSpanMonth?(e.openBlock(),e.createElementBlock("div",A1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p(E.data),({event:w,row:g,eventIndex:O,start:I,end:C})=>(e.openBlock(),e.createElementBlock("div",{key:O,class:e.normalizeClass(["event-item",{"event-item-center":w.align==="center","has-link":w.link}]),style:e.normalizeStyle({gridColumn:`${I} / ${C+1}`,gridRow:g,"--bg-color":y(E)||void 0})},[w.location?(e.openBlock(),e.createElementBlock("div",I1,e.toDisplayString(w.location),1)):e.createCommentVNode("",!0),e.createElementVNode("div",M1,[w.link?(e.openBlock(),e.createBlock(e.unref(i.OLink),e.mergeProps({key:0,href:w.link,target:"_blank"},{ref_for:!0},w.linkProps||{}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.name),1)]),_:2},1040,["href"])):(e.openBlock(),e.createElementBlock("span",R1,e.toDisplayString(w.name),1))])],6))),128))])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(r)?(e.openBlock(),e.createElementBlock("div",z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(E.data),(w,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:e.normalizeClass(["month-row",{"empty-month":w.length===0}])},[e.createElementVNode("div",F1,e.toDisplayString(a[g]),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w,(O,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(["event-item",O.link?"has-link":""]),style:e.normalizeStyle({"--bd-color":y(E)||void 0})},[O.link?(e.openBlock(),e.createBlock(e.unref(i.OLink),{key:0,href:O.link,target:"_blank"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",P1,[e.createElementVNode("span",null,e.toDisplayString(O.name),1)]),e.createElementVNode("div",H1,e.toDisplayString(O.location),1)]),e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconChevronRight))]),_:1})]),_:2},1032,["href"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",U1,e.toDisplayString(O.name),1),e.createElementVNode("div",W1,e.toDisplayString(O.location),1)],64))],6))),128))],2))),128))])):(e.openBlock(),e.createElementBlock("div",G1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(E.data),(w,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:"month-column"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w,(O,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(["event-item",O.link?"has-link":""]),style:e.normalizeStyle({"--bg-color":y(E)||void 0})},[e.createElementVNode("div",j1,e.toDisplayString(O.location),1),e.createElementVNode("div",q1,[O.link?(e.openBlock(),e.createBlock(e.unref(i.OLink),{key:0,href:O.link,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(O.name),1)]),_:2},1032,["href"])):(e.openBlock(),e.createElementBlock("span",K1,e.toDisplayString(O.name),1))])],6))),128))]))),128))]))],64))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]))}});var de=(o=>(o.FINISH="finish",o.ING="ing",o.ALL="",o))(de||{});const jt=(o,t)=>new Date(o).getTime()>new Date(t).getTime(),Z1={class:"o-events-list"},Y1={class:"filter-wrapper"},X1={class:"filter-left"},J1={class:"list-content"},Q1={class:"event-name"},ec={class:"event-desc"},tc={class:"event-date"},oc={key:0,class:"event-location"},qt=e.defineComponent({__name:"OEventsList",props:{data:{default:()=>[]},page:{},pageSize:{},total:{}},emits:["search"],setup(o,{emit:t}){const{t:r}=P.useI18n(),{lePadV:l}=Q.useScreen(),a=o,s=[{label:r("events.statusAll"),value:de.ALL},{label:r("events.statusIng"),value:de.ING},{label:r("events.statusFinish"),value:de.FINISH}],m=t,p=e.ref(de.ALL),c=e.ref(""),y=e.ref(""),u=(N={})=>{m("search",Object.assign({page:a.page,pageSize:a.pageSize,status:p.value,keyword:y.value},N))},k=()=>{u()},B=()=>{y.value=c.value,u()},E=e.computed(()=>a.data.map(N=>({...N,status:jt(new Date,N.date)?de.FINISH:de.ING})).sort((N,w)=>jt(N.date,w.date)?-1:1).map(N=>{var O,I,C;const w=(C=(I=(O=N.city)==null?void 0:O.replace("市",""))==null?void 0:I.replace("中国",""))==null?void 0:C.replaceAll(" ","");let g=null;return Array.isArray(Re[w])?g=Re[w][N.name.length%Re[w].length]:g=Re[w],g||(g=yo),{...N,cover:g}}));return(N,w)=>(e.openBlock(),e.createElementBlock("div",Z1,[e.createElementVNode("div",Y1,[e.createElementVNode("div",X1,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("events.status")),1),e.createVNode(e.unref(i.ORadioGroup),{modelValue:p.value,"onUpdate:modelValue":w[0]||(w[0]=g=>p.value=g),style:{"--radio-group-gap":"8px"},onChange:k},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,g=>e.createVNode(e.unref(i.ORadio),{key:g.value,value:g.value},{radio:e.withCtx(({checked:O})=>[e.createVNode(e.unref(i.OToggle),{checked:O},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.label),1)]),_:2},1032,["checked"])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),e.createVNode(e.unref(i.OInput),{modelValue:c.value,"onUpdate:modelValue":w[1]||(w[1]=g=>c.value=g),placeholder:e.unref(r)("events.searchPlaceholder"),onPressEnter:B,onClear:B,clearable:""},{prefix:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"input-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconSearch))]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",J1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,g=>(e.openBlock(),e.createBlock(e.unref(i.OCard),{key:g.name,cover:g.cover,href:g.link},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OTag),{class:"event-status"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.status===e.unref(de).ING?e.unref(r)("events.statusIng"):e.unref(r)("events.statusFinish")),1)]),_:2},1024),e.createElementVNode("div",Q1,e.toDisplayString(g.name),1),e.createElementVNode("div",ec,[e.createElementVNode("div",tc,e.toDisplayString(g.date),1),e.createVNode(e.unref(i.ODivider),{direction:"v"}),g.city?(e.openBlock(),e.createElementBlock("div",oc,e.toDisplayString(g.city),1)):e.createCommentVNode("",!0)])]),_:2},1032,["cover","href"]))),128))]),E.value.length?e.createCommentVNode("",!0):e.renderSlot(N.$slots,"empty",{key:0}),o.total>8?(e.openBlock(),e.createBlock(e.unref(i.OPagination),{key:1,page:o.page,simple:e.unref(l),"show-total":!0,pageSize:o.pageSize,total:o.total,onChange:u,pageSizes:[4,12,24,36,48]},null,8,["page","simple","pageSize","total"])):e.createCommentVNode("",!0)]))}}),nc={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function rc(o,t){return e.openBlock(),e.createElementBlock("svg",nc,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#1da9ff",d:"M20.4 5.95c0.27-0.27 0.71-0.27 0.99 0 0.24 0.25 0.27 0.63 0.070 0.91l-0.070 0.080-10.5 10.47c-0.53 0.53-1.36 0.56-1.93 0.1l-0.11-0.1-5.23-5.2c-0.28-0.28-0.28-0.72-0.010-0.99 0.25-0.25 0.63-0.28 0.91-0.080l0.080 0.070 5.24 5.21c0.010 0.010 0.030 0.010 0.040 0.010l0.030-0.010 10.49-10.47z"},null,-1)])])}const ac={name:"events-icon-checked",render:rc},lc={class:"o-events-apply"},cc={class:"events-apply-grid"},sc={class:"timeline-number"},ic={class:"number-circle"},dc={class:"step-title"},uc={class:"step-idx"},mc={class:"step-desc"},pc={key:0},fc={class:"desc-list-wrapper"},hc={key:0,class:"desc-list-title"},vc={class:"desc-list-content"},kc={class:"desc-list-item-title"},gc={class:"desc-list-item-desc"},Kt=e.defineComponent({__name:"OEventsApply",props:{steps:{}},setup(o){const{isDark:t}=Q.useTheme(),r=uo();return(l,a)=>(e.openBlock(),e.createElementBlock("div",lc,[e.createElementVNode("div",cc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.steps,(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createElementVNode("div",sc,[e.createElementVNode("div",ic,e.toDisplayString(m+1),1)]),e.createElementVNode("div",{class:e.normalizeClass(["step-item",`step-${m+1} ${e.unref(t)?"is-dark":""}`]),style:{}},[e.createElementVNode("div",dc,[e.createElementVNode("div",uc,e.toDisplayString(m+1),1),e.createElementVNode("span",null,e.toDisplayString(s.title),1)]),e.createElementVNode("div",mc,[s.desc?e.withDirectives((e.openBlock(),e.createElementBlock("div",pc,null,512)),[[e.unref(r),s.desc]]):e.createCommentVNode("",!0),e.renderSlot(l.$slots,`step${m+1}`),e.createElementVNode("div",fc,[s.listTitle?(e.openBlock(),e.createElementBlock("div",hc,e.toDisplayString(s.listTitle),1)):e.createCommentVNode("",!0),e.createElementVNode("div",vc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,(p,c)=>(e.openBlock(),e.createElementBlock("div",{class:"desc-list-item",key:c},[e.createElementVNode("div",kc,[e.createVNode(e.unref(i.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ac))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(p.title),1)]),e.createElementVNode("div",gc,e.toDisplayString(p.desc),1)]))),128))])])]),s.img?(e.openBlock(),e.createElementBlock("div",{key:0,class:"img-wrapper",style:e.normalizeStyle({backgroundImage:`url(${s.img})`})},null,4)):e.createCommentVNode("",!0),s.imgPhone?(e.openBlock(),e.createElementBlock("div",{key:1,class:"img-wrapper-phone",style:e.normalizeStyle({backgroundImage:`url(${s.imgPhone})`})},null,4)):e.createCommentVNode("",!0)],2)],64))),128))])]))}}),Cc=Object.assign(Gt,{install(o){o.component("OEventsCalendar",Gt)}}),_c=Object.assign(qt,{install(o){o.component("OEventsList",qt)}}),yc=Object.assign(Kt,{install(o){o.component("OEventsApply",Kt)}}),Ec={OBanner:Zt,OCookieNotice:Yt,OFooter:Xt,OHeader:Jt,OHeaderMoblie:eo,OHeaderSearch:to,OHeaderUser:no,OPlusConfigProvider:ro,OSection:ao,OSourceCode:lo,OThemeSwitcher:co},Bc={install:o=>{Object.entries(Ec).forEach(([t,r])=>{o.component(t,r)})}};exports.OElCookieNotice=P.OElCookieNotice;exports.EventsStatusT=de;exports.OBanner=Zt;exports.OCookieNotice=Yt;exports.OEventsApply=yc;exports.OEventsCalendar=Cc;exports.OEventsList=_c;exports.OFooter=Xt;exports.OHeader=Jt;exports.OHeaderMoblie=eo;exports.OHeaderSearch=to;exports.OHeaderUser=no;exports.OPlusConfigProvider=ro;exports.OSection=ao;exports.OSourceCode=lo;exports.OThemeSwitcher=co;exports.default=Bc;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),T=require("@opensig/opendesign"),nt=require("@opendesign-plus/composables"),gt=require("element-plus"),xe=require("./chunk-OElCookieNotice.cjs.js"),ct=require("@vueuse/core"),Ac=/^https?:\/\/\S+/;var Fe=(i=>(i.ALL="all",i.MEETING="meeting",i.EVENTS="events",i.SUMMIT="summit",i.APPROVAL="approval",i))(Fe||{}),pn=(i=>(i.SIG="sig",i.GROUP="group",i))(pn||{});const tg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ng(i,t){return e.openBlock(),e.createElementBlock("svg",tg,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#000",d:"M14.671 15.599c0.129 0 0.248-0.023 0.358-0.068l0-0c0.11-0.045 0.211-0.114 0.302-0.205s0.159-0.192 0.205-0.302l0-0.001c0.045-0.11 0.068-0.229 0.068-0.357v-4.667c0-0.413-0.044-0.817-0.131-1.211l-0-0.001c-0.073-0.33-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902v0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.638-0.237-0.968-0.31l-0.001-0c-0.394-0.087-0.798-0.131-1.212-0.131s-0.816 0.043-1.209 0.13l-0.002 0.001-0.001 0c-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.001 0.001-0.002 0.001-0.003 0.002-0.313 0.207-0.604 0.445-0.875 0.716s-0.511 0.564-0.718 0.878l-0 0.001c-0.187 0.283-0.347 0.583-0.481 0.901-0.134 0.316-0.237 0.638-0.31 0.968l-0 0.001-0 0.001c-0.087 0.394-0.131 0.798-0.131 1.211s0.043 0.816 0.13 1.21v0l0 0.001v0c0.073 0.33 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31l0.001 0c0.394 0.087 0.798 0.131 1.211 0.131h4.667zM16.401 14.666c0 0.129 0.023 0.248 0.068 0.358s0.114 0.211 0.205 0.302c0.091 0.091 0.192 0.159 0.302 0.205s0.229 0.068 0.358 0.068h4.667c0.414 0 0.817-0.044 1.212-0.131h0c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.135 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878l0-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968v-0c0.087-0.394 0.131-0.798 0.131-1.211s-0.044-0.817-0.131-1.212c-0.073-0.33-0.176-0.652-0.31-0.968s-0.294-0.617-0.481-0.9l-0.001-0.002v-0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131s-0.817 0.044-1.212 0.131c-0.33 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.347 0.584-0.482 0.902-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212v4.667zM22.001 13.732h-3.733v-3.733c0-0.287 0.031-0.568 0.094-0.84 0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.303-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0.001-0.001c0.184-0.12 0.379-0.224 0.585-0.311 0.2-0.085 0.404-0.151 0.612-0.199 0.273-0.063 0.553-0.094 0.84-0.094s0.567 0.031 0.84 0.094c0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612l0 0.001c0.063 0.273 0.094 0.553 0.094 0.84s-0.031 0.568-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586l-0.001 0.002c-0.14 0.214-0.303 0.414-0.488 0.599s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199l-0.001 0c-0.273 0.063-0.552 0.094-0.84 0.094zM13.734 9.999v3.733h-3.733c-0.287 0-0.567-0.031-0.84-0.094v-0c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.14-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612v-0c-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.84c0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586v-0c0.141-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0-0c0.184-0.12 0.38-0.224 0.586-0.311 0.195-0.083 0.395-0.148 0.598-0.196 0.005-0.001 0.009-0.002 0.014-0.003 0.273-0.063 0.553-0.094 0.84-0.094s0.568 0.031 0.841 0.094c0.208 0.048 0.413 0.114 0.612 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.84zM16.401 21.999c0 0.413 0.044 0.817 0.131 1.212 0.073 0.329 0.176 0.652 0.31 0.968 0.135 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212s-0.044-0.817-0.131-1.212c-0.073-0.329-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131h-4.667c-0.129 0-0.248 0.023-0.358 0.068s-0.211 0.114-0.302 0.205c-0.182 0.182-0.273 0.402-0.273 0.66v4.667zM10.004 16.399c-0.413 0-0.817 0.044-1.212 0.131-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.348 0.584-0.482 0.901-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212s0.044 0.817 0.131 1.212c0.073 0.329 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902v0c0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131v-0c0.33-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878v-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212v-4.667c0-0.258-0.091-0.478-0.273-0.66-0.091-0.091-0.192-0.159-0.302-0.205s-0.23-0.068-0.358-0.068h-4.667zM13.734 18.266v3.733c0 0.287-0.031 0.567-0.094 0.84-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.585l-0 0c-0.14 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.612 0.199-0.273 0.063-0.553 0.094-0.841 0.094s-0.567-0.031-0.84-0.094l-0.001-0c-0.208-0.048-0.412-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311l-0-0c-0.215-0.14-0.416-0.303-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.841c0.048-0.208 0.114-0.412 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489c0.184-0.12 0.38-0.224 0.586-0.311 0.2-0.085 0.404-0.151 0.612-0.199l0.001-0 0.004-0.001c0.272-0.062 0.55-0.093 0.836-0.093h3.733zM18.268 18.266h3.733c0.287 0 0.567 0.031 0.84 0.094 0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.303 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.841s-0.031 0.567-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586-0.141 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199-0.273 0.063-0.553 0.094-0.84 0.094s-0.567-0.031-0.84-0.094c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.141-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84v-3.733z"},null,-1)])])}const ig={name:"meeting-icon-all",render:ng},rg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function sg(i,t){return e.openBlock(),e.createElementBlock("svg",rg,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M25.091 14.218l-0.852 0.781c-0.385 0.353-0.411 0.933-0.058 1.319s0.933 0.411 1.319 0.058l2.116-1.938c0.193-0.177 0.349-0.374 0.467-0.591 0.092-0.17 0.162-0.351 0.208-0.546 0.045-0.189 0.067-0.378 0.063-0.566-0.004-0.222-0.041-0.444-0.112-0.665s-0.17-0.423-0.297-0.605c-0.107-0.155-0.235-0.295-0.382-0.422-0.151-0.13-0.314-0.237-0.488-0.321-0.223-0.107-0.464-0.176-0.724-0.207l-5.601-0.661c-0.031-0.012-0.159-0.053-0.187-0.073-0.021-0.026-0.113-0.124-0.128-0.155l-2.377-5.087c-0.11-0.235-0.25-0.441-0.42-0.618-0.133-0.138-0.285-0.259-0.454-0.362-0.165-0.1-0.338-0.177-0.517-0.232l-0-0c-0.211-0.064-0.432-0.096-0.662-0.096s-0.451 0.032-0.662 0.096v0c-0.002 0.001-0.004 0.001-0.006 0.002-0.177 0.054-0.348 0.131-0.511 0.23-0.17 0.103-0.321 0.224-0.454 0.362-0.17 0.177-0.31 0.383-0.42 0.618l-2.377 5.087c-0.021 0.026-0.1 0.135-0.128 0.155-0.031 0.012-0.153 0.069-0.187 0.073l-5.601 0.661c-0.26 0.031-0.501 0.1-0.724 0.207l-0 0c-0.174 0.084-0.336 0.191-0.488 0.321-0.147 0.127-0.275 0.267-0.382 0.422-0.127 0.182-0.226 0.384-0.297 0.605s-0.109 0.443-0.112 0.665v0.001c-0.003 0.188 0.018 0.376 0.063 0.565 0.047 0.194 0.116 0.376 0.208 0.546 0.118 0.217 0.274 0.414 0.467 0.591l4.119 3.773c0.018 0.029 0.099 0.137 0.11 0.171 0.001 0.009 0.002 0.025 0.004 0.044l0 0.002c0.005 0.054 0.013 0.132 0.008 0.157l-1.093 5.462c-0.051 0.255-0.060 0.505-0.028 0.749 0.025 0.191 0.076 0.378 0.152 0.562 0.074 0.179 0.168 0.343 0.28 0.493 0.133 0.177 0.293 0.333 0.479 0.47s0.384 0.241 0.593 0.315c0.177 0.062 0.362 0.101 0.555 0.118 0.198 0.017 0.392 0.009 0.581-0.025l0.001-0c0.242-0.043 0.478-0.127 0.705-0.253l4.953-2.737c0.032-0.008 0.159-0.050 0.193-0.050 0.032 0.008 0.163 0.033 0.193 0.050l4.831 2.669c0.233 0.129 0.473 0.214 0.72 0.256l0.001 0c0.192 0.033 0.388 0.039 0.588 0.020 0.195-0.019 0.382-0.061 0.56-0.126 0.211-0.077 0.411-0.187 0.598-0.329s0.347-0.305 0.478-0.488c0.111-0.154 0.201-0.323 0.271-0.506 0.072-0.188 0.119-0.379 0.139-0.573 0.026-0.25 0.008-0.504-0.053-0.762l-2.084-8.779c-0.121-0.509-0.615-0.813-1.124-0.693s-0.813 0.615-0.693 1.124l2.084 8.779c0.020 0.084 0.018 0.161-0.007 0.229s-0.071 0.129-0.141 0.181c-0.069 0.053-0.14 0.081-0.213 0.087s-0.147-0.013-0.223-0.055l-4.831-2.669c-0.171-0.094-0.347-0.165-0.53-0.212v-0c-0.183-0.047-0.372-0.071-0.566-0.071s-0.384 0.024-0.566 0.071c-0.183 0.047-0.359 0.118-0.53 0.212l-4.953 2.737c-0.075 0.041-0.148 0.059-0.219 0.055s-0.142-0.032-0.21-0.082c-0.069-0.050-0.116-0.109-0.142-0.176s-0.031-0.142-0.014-0.226l1.093-5.462c0.039-0.195 0.053-0.387 0.041-0.579s-0.048-0.381-0.109-0.57c-0.062-0.189-0.144-0.363-0.248-0.525s-0.229-0.309-0.375-0.443l-4.119-3.773c-0.063-0.058-0.104-0.122-0.122-0.191s-0.014-0.145 0.012-0.227c0.026-0.081 0.067-0.145 0.123-0.191s0.126-0.074 0.211-0.084l5.601-0.661c0.195-0.023 0.381-0.069 0.558-0.138s0.345-0.161 0.504-0.276c0.159-0.115 0.299-0.245 0.42-0.392s0.223-0.308 0.306-0.486l2.377-5.087c0.036-0.077 0.084-0.135 0.145-0.173s0.133-0.058 0.218-0.058c0.085 0 0.157 0.019 0.218 0.058s0.109 0.096 0.144 0.173l2.377 5.087c0.083 0.178 0.185 0.34 0.306 0.486s0.261 0.277 0.42 0.392c0.159 0.115 0.327 0.207 0.504 0.276s0.363 0.115 0.558 0.138l5.601 0.661c0.085 0.010 0.155 0.038 0.211 0.084s0.097 0.109 0.123 0.191c0.026 0.081 0.030 0.157 0.012 0.227s-0.059 0.133-0.122 0.191l-1.263 1.157zM12.006 17.328l-2-2c-0.37-0.37-0.37-0.95 0-1.32s0.951-0.369 1.32 0l2 2c0.37 0.37 0.37 0.95-0 1.32s-0.95 0.37-1.32 0z"},null,-1)])])}const hh={name:"meeting-icon-event",render:sg},ag={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function og(i,t){return e.openBlock(),e.createElementBlock("svg",ag,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M16.933 4.002v1.733h8.4c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.37 0.199 0.125 0.083 0.242 0.179 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v7.222c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-7.222c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.154-0.029h-18.667c-0.055 0-0.106 0.010-0.153 0.029s-0.178 0.178-0.217 0.217c-0.020 0.047-0.029 0.098-0.029 0.154v13.333c0 0.055 0.010 0.106 0.029 0.153l0 0c0.020 0.047 0.178 0.178 0.217 0.217 0.047 0.019 0.098 0.029 0.153 0.029h18.667c0.055 0 0.107-0.010 0.154-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.153v-2.953c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933v2.953c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404-0.055 0.131-0.121 0.254-0.199 0.37-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.37 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.316 0.051-0.479 0.051h-0.44l2.42 2.42c0.37 0.37 0.37 0.95 0 1.32s-0.95 0.37-1.32 0l-3.74-3.74h-12.507l-3.74 3.74c-0.37 0.37-0.95 0.37-1.32 0s-0.369-0.95 0-1.32l2.42-2.42h-0.44c-0.161 0-0.319-0.017-0.474-0.049l-0.005-0.001-0-0c-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.122-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37-0.056-0.132-0.098-0.267-0.128-0.404-0.034-0.156-0.050-0.315-0.050-0.479v-13.333c0-0.163 0.017-0.323 0.050-0.479v0l0-0c0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.121-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128h0c0.002-0 0.003-0.001 0.005-0.001v0c0.154-0.033 0.312-0.049 0.474-0.049h8.4v-1.733c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM23.332 12.652l-4.615 4.741c-0.195 0.169-0.479 0.298-0.736 0.28s-0.47-0.125-0.639-0.32l-3.397-3.925-3.91 4.518c-0.342 0.395-0.921 0.437-1.316 0.095s-0.437-0.921-0.095-1.317l4.615-5.333c0.169-0.195 0.382-0.302 0.639-0.32s0.483 0.056 0.678 0.225l3.532 4.067 3.906-4.012c0.365-0.374 0.945-0.382 1.32-0.018s0.382 0.945 0.018 1.32z"},null,-1)])])}const fh={name:"meeting-icon-meet",render:og},lg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ug(i,t){return e.openBlock(),e.createElementBlock("svg",lg,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M10.634 5.455c-1.119 0.457-2.181 1.053-3.185 1.79-0.422 0.309-0.51 0.883-0.201 1.305s0.883 0.51 1.305 0.201c0.927-0.68 1.908-1.223 2.943-1.629 0.185-0.073 0.373-0.141 0.562-0.205 0.658-0.223 1.325-0.389 2.001-0.497 0.639-0.103 1.287-0.154 1.943-0.154s1.304 0.051 1.943 0.154v0c0.676 0.108 1.343 0.274 2.001 0.497 0.189 0.064 0.376 0.133 0.562 0.205v0c1.035 0.407 2.015 0.95 2.943 1.629 0.422 0.309 0.996 0.221 1.305-0.201s0.221-0.996-0.201-1.305c-1.005-0.736-2.066-1.333-3.185-1.79-0.271-0.111-0.545-0.213-0.823-0.307-0.755-0.256-1.52-0.447-2.297-0.572-0.739-0.119-1.489-0.179-2.247-0.179s-1.508 0.060-2.247 0.179l-0 0c-0.776 0.125-1.541 0.316-2.296 0.572-0.278 0.094-0.552 0.197-0.823 0.307h-0zM28.934 18.666v1.333c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404s-0.121 0.254-0.199 0.37c-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.371 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.315 0.050-0.479 0.050h-21.333c-0.163 0-0.323-0.017-0.479-0.050-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.121-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37s-0.098-0.266-0.128-0.404c-0.034-0.156-0.050-0.315-0.050-0.479v-8c0-0.163 0.017-0.323 0.050-0.479 0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.122-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128 0.156-0.034 0.316-0.050 0.479-0.050h21.333c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.371 0.199 0.125 0.083 0.241 0.178 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v4c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-4c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.153-0.029h-21.333c-0.055 0-0.106 0.010-0.154 0.029v0c-0.047 0.020-0.178 0.178-0.217 0.217-0.020 0.047-0.029 0.098-0.029 0.154v8c0 0.055 0.010 0.106 0.029 0.154s0.178 0.178 0.217 0.217c0.047 0.020 0.098 0.029 0.154 0.029h21.333c0.055 0 0.106-0.010 0.153-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.154v-1.333c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM20.479 23.116h-0c-0.156-0.034-0.315-0.050-0.479-0.050h-8c-0.163 0-0.323 0.017-0.479 0.050-0.137 0.030-0.272 0.072-0.404 0.128-0.131 0.055-0.254 0.121-0.37 0.199-0.125 0.083-0.242 0.179-0.35 0.287s-0.204 0.225-0.287 0.35c-0.077 0.116-0.143 0.24-0.199 0.37s-0.098 0.266-0.128 0.404c-0.034 0.156-0.050 0.315-0.050 0.479s0.017 0.323 0.050 0.479v0c0.030 0.137 0.072 0.272 0.128 0.404s0.121 0.254 0.199 0.37c0.083 0.125 0.179 0.242 0.287 0.35s0.225 0.204 0.35 0.287c0.116 0.077 0.24 0.143 0.37 0.199 0.132 0.056 0.266 0.098 0.404 0.128 0.156 0.034 0.316 0.050 0.479 0.050h8c0.163 0 0.323-0.017 0.479-0.050 0.137-0.030 0.272-0.072 0.404-0.128 0.131-0.055 0.254-0.121 0.37-0.199 0.125-0.083 0.242-0.179 0.35-0.287s0.204-0.225 0.287-0.35c0.077-0.116 0.143-0.24 0.199-0.37s0.098-0.266 0.128-0.404c0.034-0.156 0.051-0.316 0.051-0.479s-0.017-0.323-0.051-0.479v-0c-0.030-0.137-0.072-0.272-0.128-0.404s-0.121-0.254-0.199-0.37c-0.083-0.125-0.179-0.242-0.287-0.35s-0.225-0.204-0.35-0.287c-0.116-0.077-0.24-0.143-0.37-0.199-0.132-0.056-0.266-0.099-0.404-0.128zM12 24.932h8c0.055 0 0.106 0.010 0.153 0.029 0.039 0.039 0.198 0.17 0.217 0.217v0c0.020 0.047 0.029 0.098 0.029 0.154s-0.010 0.106-0.029 0.154c-0.039 0.039-0.17 0.198-0.217 0.217s-0.098 0.029-0.153 0.029h-8c-0.055 0-0.106-0.010-0.154-0.029-0.039-0.039-0.198-0.17-0.217-0.217s-0.029-0.098-0.029-0.154 0.010-0.106 0.029-0.154c0.039-0.039 0.17-0.198 0.217-0.217s0.098-0.029 0.154-0.029z"},null,-1)])])}const mh={name:"meeting-icon-summit",render:ug},bo={summit:"rgba(var(--o-orange-6))",events:"rgba(var(--o-cyan-6))",meeting:"rgba(var(--o-deepblue-6))"},vi=0,yi=1,si=2,$l=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,cg=["var(--o-color-auxiliary5)","var(--o-color-auxiliary6)","var(--o-color-auxiliary7)","var(--o-color-auxiliary8)","var(--o-color-auxiliary1)","var(--o-color-auxiliary2)"],La=()=>{const{t:i}=xe.useI18n(),t=e.computed(()=>new Map([[1,{label:i("meeting.offline"),value:1}],[2,{label:i("meeting.online"),value:2}],[3,{label:i("meeting.onlineOffline"),value:3}]])),n=e.computed(()=>new Map([[1,{id:"draft",label:i("meeting.statusDraft"),text:i("meeting.statusDraft"),value:1}],[2,{id:"under-review",label:i("meeting.statusUnderReview"),text:i("meeting.statusPending"),value:2}],[3,{id:"registration",label:i("meeting.statusRegistering"),text:i("meeting.statusApproved"),value:3}],[4,{id:"in-progress",label:i("meeting.statusInProgress"),text:i("meeting.statusApproved"),value:4}],[5,{id:"ended",label:i("meeting.statusEnded"),text:i("meeting.statusEnded"),value:5}],[6,{id:"modified",label:i("meeting.statusModified"),text:i("meeting.statusModified"),value:6}],[7,{id:"reject",label:i("meeting.statusRejected"),text:i("meeting.statusRejected"),value:7}]])),r=e.computed(()=>new Map([["all",{label:i("common.all"),value:"all"}],["rejected",{label:i("meeting.statusRejected"),value:"rejected"}],["approved",{label:i("meeting.statusApproved"),value:"approved"}],["publish",{label:i("meeting.statusPending"),value:"publish"}],["cancel",{label:i("meeting.statusCanceled"),value:"cancel"}]]));return{t:i,activityTypeMap:t,statusMap:n,approvalStatusMap:r}},dg={class:"o-activity-form"},hg={class:"time-config"},fg={class:"form-btns"},wc=e.defineComponent({__name:"OActivityForm",props:{data:{},creatActivity:{},editActivity:{},admins:{},organizers:{}},emits:["confirm","close"],setup(i,{expose:t,emit:n}){const r=n,s=T.useMessage(null),{lePadV:a}=nt.useScreen(),{t:o}=xe.useI18n(),l=o,{activityTypeMap:u}=La(),d=i,f=e.computed(()=>!!d.data),p=e.ref({title:"",organizer:"",start_date:"",end_date:"",register_end_date:"",activity_type:"",synopsis:"",register_url:"",content_url:"",address:"",start:"",end:"",is_publish:"true",email_list:"",approver:""}),E=e.ref(),C=e.ref(!1),x=e.ref({title:[{required:!0,message:o("meeting.enterActivityName")},{validator:V=>{if(V.length>50)return{type:"danger",message:o("meeting.activityNameMaxLength")}}}],activity_type:[{required:!0,message:o("meeting.selectActivityType")}],organizer:[{required:!0,message:o("meeting.selectActivityOrganizer")}],start_date:[{required:!0,message:o("meeting.selectActivityTime")},{validator:()=>{const{start_date:V,end_date:S}=p.value,L=V.split(" "),w=S.split(" ");if(!V||!S)return{type:"danger",message:o("meeting.selectActivityDate")};const B=L[1].split(":").map(Number),F=w[1].split(":").map(Number);if(B[0]<8||B[0]>21||F[0]<8||F[0]>21)return{type:"danger",message:o("meeting.activityTimeRange")};if(gt.dayjs(V).valueOf()>gt.dayjs(S).valueOf())return{type:"danger",message:o("meeting.endDateAfterStartDate")};p.value.start_date=L[0],p.value.end_date=w[0],p.value.start=L[1],p.value.end=w[1]},triggers:["blur","change"]}],register_end_date:[{validator:()=>{const{register_end_date:V,end_date:S,end:L}=p.value;if(V&&gt.dayjs(`${S} ${L}`).valueOf()<gt.dayjs(V).valueOf())return{type:"danger",message:o("meeting.registerDeadlineBeforeEnd")}},triggers:["blur","change"]}],address:[{required:!0,message:o("meeting.enterActivityAddress")},{validator:V=>{if(V.length>255)return{type:"danger",message:o("meeting.activityAddressMaxLength")}}}],register_url:[{validator:V=>{const S=V.replaceAll(" ","")||"";if(S.length&&(S.split(";")||[]).some(w=>!Ac.test(w)))return{type:"danger",message:o("meeting.invalidRegistrationUrl")}},triggers:["blur","change"]}],content_url:[{validator:V=>{const S=V.replaceAll(" ","")||"";if(S.length&&(S.split(";")||[]).some(w=>!Ac.test(w)))return{type:"danger",message:o("meeting.invalidActivityDetailUrl")}},triggers:["blur","change"]}],synopsis:[{validator:V=>{if(V.length>1e3)return{type:"danger",message:o("meeting.activityContentMaxLength")}}}],email_list:[{validator:V=>{const S=V.replaceAll(" ","").replaceAll(",",";")||"";if(S.length){if(S.length>1020)return{type:"danger",message:o("meeting.emailTooLong")};const L=S.split(";")||[];if(L.some(w=>!$l.test(w)))return{type:"danger",message:o("meeting.emailInvalid")};if(L.some(w=>w.length>50))return{type:"danger",message:o("meeting.singleEmailTooLong")};if(L.length>20)return{type:"danger",message:o("meeting.emailCountTooLong")}}},triggers:["blur","change"]}],approver:[{required:!0,message:o("meeting.selectActivityApprover")}]}),m=e.computed(()=>d.admins||[]),g=e.ref(""),k=e.ref([]);u.value.forEach(V=>{k.value.push(V)});const A=V=>{const S=k.value.find(L=>L.label===V);p.value.activity_type=S==null?void 0:S.value},D=V=>V.getTime()<Date.now()-1440*60*1e3;e.watch(()=>d.data,V=>{var S;if(V){const{title:L,start_date:w,end_date:B,register_end_date:F,activity_type:Q,register_url:I,content_url:q,address:U,start:G,end:z,is_publish:Z,approver:W,update_activity_id:R,synopsis:Y,email_list:j,organizer:ae}=V;let he={title:L,start_date:w,end_date:B,register_end_date:F,activity_type:Q,register_url:I,content_url:q,address:U,start:G,end:z,is_publish:Z,approver:W,update_activity_id:R,synopsis:Y,email_list:j,organizer:ae};p.value={...he},g.value=(S=u.value.get(Number(V.activity_type)))==null?void 0:S.label,p.value.start_date=`${p.value.start_date} ${p.value.start}`,p.value.end_date=`${p.value.end_date} ${p.value.end}`}},{immediate:!0,deep:!0});const O=async V=>{var L,w,B,F,Q,I,q;let S=f.value?o("meeting.modifyActivity"):o(V?"meeting.create":"meeting.saveDraft");try{if((await((L=E.value)==null?void 0:L.validate())).some(z=>!!z))return;C.value=!0,p.value.is_publish=`${V}`;let G;if(f.value&&((w=d.data)==null?void 0:w.status)===3?(p.value.update_activity_id=(B=d.data)==null?void 0:B.id,G=await((F=d.creatActivity)==null?void 0:F.call(d,p.value))):f.value?G=await((I=d.editActivity)==null?void 0:I.call(d,(Q=d.data)==null?void 0:Q.id,p.value)):G=await((q=d.creatActivity)==null?void 0:q.call(d,p.value)),typeof G=="boolean"&&!G)return;s.success({content:o("meeting.activityActionSuccess",[p.value.title,S.toLowerCase()])}),M(),r("confirm")}finally{C.value=!1}},M=()=>{p.value={},r("close")};return t({confirm:O}),(V,S)=>(e.openBlock(),e.createElementBlock("div",dg,[e.createVNode(e.unref(T.OForm),{model:p.value,ref_key:"formRef",ref:E,"has-required":"","label-width":"108px",layout:e.unref(a)?"v":"h",class:"form-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFormItem),{rules:x.value.title,label:e.unref(o)("meeting.activityName"),field:"title"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{size:"large",placeholder:e.unref(o)("meeting.enterActivityName"),modelValue:p.value.title,"onUpdate:modelValue":S[0]||(S[0]=L=>p.value.title=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.organizer,label:e.unref(o)("meeting.activityOrganizer"),field:"organizer"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OSelect),{placeholder:e.unref(o)("meeting.selectActivityOrganizer"),size:"large",modelValue:p.value.organizer,"onUpdate:modelValue":S[1]||(S[1]=L=>p.value.organizer=L)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.organizers,L=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:L.name,value:L.name},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.activity_type,label:e.unref(o)("meeting.activityType"),field:"activity_type"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OSelect),{placeholder:e.unref(o)("meeting.selectActivityType"),size:"large",modelValue:g.value,"onUpdate:modelValue":S[2]||(S[2]=L=>g.value=L),onChange:A},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,L=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:L.value,value:L.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),p.value.activity_type===1||p.value.activity_type===3?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0,rules:x.value.address,label:e.unref(o)("meeting.activityAddress"),field:"address"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{size:"large",placeholder:e.unref(o)("meeting.enterActivityAddress"),modelValue:p.value.address,"onUpdate:modelValue":S[3]||(S[3]=L=>p.value.address=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),{rules:x.value.start_date,label:e.unref(o)("meeting.activityTime"),field:"start_date",required:""},{default:e.withCtx(()=>[e.createElementVNode("div",hg,[e.createVNode(e.unref(T.OFormItem),{label:e.unref(o)("meeting.startDate"),field:"start_date"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElDatePicker),{size:"large",modelValue:p.value.start_date,"onUpdate:modelValue":S[4]||(S[4]=L=>p.value.start_date=L),type:"datetime",placeholder:e.unref(o)("meeting.selectDate"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm","disabled-date":D,clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createVNode(e.unref(T.OFormItem),{label:e.unref(o)("meeting.endDate"),field:"end_date"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElDatePicker),{size:"large",modelValue:p.value.end_date,"onUpdate:modelValue":S[5]||(S[5]=L=>p.value.end_date=L),type:"datetime",placeholder:e.unref(o)("meeting.selectDate"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm","disabled-date":D,clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.register_end_date,label:e.unref(o)("meeting.registrationDeadline"),field:"register_end_date"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElDatePicker),{size:"large",modelValue:p.value.register_end_date,"onUpdate:modelValue":S[6]||(S[6]=L=>p.value.register_end_date=L),type:"datetime",placeholder:e.unref(o)("meeting.selectActivityDeadline"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm",clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.register_url,label:e.unref(o)("meeting.registrationUrl"),field:"register_url"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{size:"large",placeholder:e.unref(o)("meeting.enterActivityRegistrationUrl"),modelValue:p.value.register_url,"onUpdate:modelValue":S[7]||(S[7]=L=>p.value.register_url=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.content_url,label:e.unref(o)("meeting.activityDetailUrl"),field:"content_url"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{size:"large",placeholder:e.unref(o)("meeting.enterActivityDetailUrl"),modelValue:p.value.content_url,"onUpdate:modelValue":S[8]||(S[8]=L=>p.value.content_url=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.synopsis,label:e.unref(o)("meeting.activityContent"),field:"synopsis"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTextarea),{size:"large",placeholder:e.unref(o)("meeting.enterActivityContent"),modelValue:p.value.synopsis,"onUpdate:modelValue":S[9]||(S[9]=L=>p.value.synopsis=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{field:"email_list",rules:x.value.email_list,label:e.unref(o)("meeting.email")},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTextarea),{disabled:f.value,size:"large",placeholder:e.unref(l)("meeting.enterEmail"),rows:4,modelValue:p.value.email_list,"onUpdate:modelValue":S[10]||(S[10]=L=>p.value.email_list=L)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:x.value.approver,label:e.unref(o)("meeting.activityApprover"),field:"approver"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OSelect),{placeholder:e.unref(o)("meeting.selectActivityApprover"),size:"large",modelValue:p.value.approver,"onUpdate:modelValue":S[11]||(S[11]=L=>p.value.approver=L)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,L=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:L,value:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"])]),_:1},8,["model","layout"]),e.createElementVNode("div",fg,[e.createVNode(e.unref(T.OButton),{color:"primary",variant:"solid",size:"large",round:"pill",onClick:S[12]||(S[12]=L=>O(!0)),loading:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value?e.unref(o)("common.save"):e.unref(o)("meeting.create")),1)]),_:1},8,["loading"]),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,color:"primary",variant:"outline",round:"pill",size:"large",onClick:S[13]||(S[13]=L=>O(!1)),loading:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("meeting.saveDraft")),1)]),_:1},8,["loading"])),e.createVNode(e.unref(T.OButton),{color:"primary",variant:"outline",size:"large",round:"pill",onClick:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("meeting.cancelBtn")),1)]),_:1})])]))}});var ca=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function mg(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var s=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return i[r]}})}),n}var ra={exports:{}},pg=ra.exports,Sc;function gg(){return Sc||(Sc=1,(function(i,t){(function(n,r){i.exports=r()})(pg,(function(){var n=1e3,r=6e4,s=36e5,a="millisecond",o="second",l="minute",u="hour",d="day",f="week",p="month",E="quarter",C="year",x="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(q){var U=["th","st","nd","rd"],G=q%100;return"["+q+(U[(G-20)%10]||U[G]||U[0])+"]"}},D=function(q,U,G){var z=String(q);return!z||z.length>=U?q:""+Array(U+1-z.length).join(G)+q},O={s:D,z:function(q){var U=-q.utcOffset(),G=Math.abs(U),z=Math.floor(G/60),Z=G%60;return(U<=0?"+":"-")+D(z,2,"0")+":"+D(Z,2,"0")},m:function q(U,G){if(U.date()<G.date())return-q(G,U);var z=12*(G.year()-U.year())+(G.month()-U.month()),Z=U.clone().add(z,p),W=G-Z<0,R=U.clone().add(z+(W?-1:1),p);return+(-(z+(G-Z)/(W?Z-R:R-Z))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:p,y:C,w:f,d,D:x,h:u,m:l,s:o,ms:a,Q:E}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},M="en",V={};V[M]=A;var S="$isDayjsObject",L=function(q){return q instanceof Q||!(!q||!q[S])},w=function q(U,G,z){var Z;if(!U)return M;if(typeof U=="string"){var W=U.toLowerCase();V[W]&&(Z=W),G&&(V[W]=G,Z=W);var R=U.split("-");if(!Z&&R.length>1)return q(R[0])}else{var Y=U.name;V[Y]=U,Z=Y}return!z&&Z&&(M=Z),Z||!z&&M},B=function(q,U){if(L(q))return q.clone();var G=typeof U=="object"?U:{};return G.date=q,G.args=arguments,new Q(G)},F=O;F.l=w,F.i=L,F.w=function(q,U){return B(q,{locale:U.$L,utc:U.$u,x:U.$x,$offset:U.$offset})};var Q=(function(){function q(G){this.$L=w(G.locale,null,!0),this.parse(G),this.$x=this.$x||G.x||{},this[S]=!0}var U=q.prototype;return U.parse=function(G){this.$d=(function(z){var Z=z.date,W=z.utc;if(Z===null)return new Date(NaN);if(F.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var R=Z.match(g);if(R){var Y=R[2]-1||0,j=(R[7]||"0").substring(0,3);return W?new Date(Date.UTC(R[1],Y,R[3]||1,R[4]||0,R[5]||0,R[6]||0,j)):new Date(R[1],Y,R[3]||1,R[4]||0,R[5]||0,R[6]||0,j)}}return new Date(Z)})(G),this.init()},U.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},U.$utils=function(){return F},U.isValid=function(){return this.$d.toString()!==m},U.isSame=function(G,z){var Z=B(G);return this.startOf(z)<=Z&&Z<=this.endOf(z)},U.isAfter=function(G,z){return B(G)<this.startOf(z)},U.isBefore=function(G,z){return this.endOf(z)<B(G)},U.$g=function(G,z,Z){return F.u(G)?this[z]:this.set(Z,G)},U.unix=function(){return Math.floor(this.valueOf()/1e3)},U.valueOf=function(){return this.$d.getTime()},U.startOf=function(G,z){var Z=this,W=!!F.u(z)||z,R=F.p(G),Y=function(le,_e){var qe=F.w(Z.$u?Date.UTC(Z.$y,_e,le):new Date(Z.$y,_e,le),Z);return W?qe:qe.endOf(d)},j=function(le,_e){return F.w(Z.toDate()[le].apply(Z.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice(_e)),Z)},ae=this.$W,he=this.$M,ue=this.$D,be="set"+(this.$u?"UTC":"");switch(R){case C:return W?Y(1,0):Y(31,11);case p:return W?Y(1,he):Y(0,he+1);case f:var ne=this.$locale().weekStart||0,Ce=(ae<ne?ae+7:ae)-ne;return Y(W?ue-Ce:ue+(6-Ce),he);case d:case x:return j(be+"Hours",0);case u:return j(be+"Minutes",1);case l:return j(be+"Seconds",2);case o:return j(be+"Milliseconds",3);default:return this.clone()}},U.endOf=function(G){return this.startOf(G,!1)},U.$set=function(G,z){var Z,W=F.p(G),R="set"+(this.$u?"UTC":""),Y=(Z={},Z[d]=R+"Date",Z[x]=R+"Date",Z[p]=R+"Month",Z[C]=R+"FullYear",Z[u]=R+"Hours",Z[l]=R+"Minutes",Z[o]=R+"Seconds",Z[a]=R+"Milliseconds",Z)[W],j=W===d?this.$D+(z-this.$W):z;if(W===p||W===C){var ae=this.clone().set(x,1);ae.$d[Y](j),ae.init(),this.$d=ae.set(x,Math.min(this.$D,ae.daysInMonth())).$d}else Y&&this.$d[Y](j);return this.init(),this},U.set=function(G,z){return this.clone().$set(G,z)},U.get=function(G){return this[F.p(G)]()},U.add=function(G,z){var Z,W=this;G=Number(G);var R=F.p(z),Y=function(he){var ue=B(W);return F.w(ue.date(ue.date()+Math.round(he*G)),W)};if(R===p)return this.set(p,this.$M+G);if(R===C)return this.set(C,this.$y+G);if(R===d)return Y(1);if(R===f)return Y(7);var j=(Z={},Z[l]=r,Z[u]=s,Z[o]=n,Z)[R]||1,ae=this.$d.getTime()+G*j;return F.w(ae,this)},U.subtract=function(G,z){return this.add(-1*G,z)},U.format=function(G){var z=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||m;var W=G||"YYYY-MM-DDTHH:mm:ssZ",R=F.z(this),Y=this.$H,j=this.$m,ae=this.$M,he=Z.weekdays,ue=Z.months,be=Z.meridiem,ne=function(_e,qe,fe,Te){return _e&&(_e[qe]||_e(z,W))||fe[qe].slice(0,Te)},Ce=function(_e){return F.s(Y%12||12,_e,"0")},le=be||function(_e,qe,fe){var Te=_e<12?"AM":"PM";return fe?Te.toLowerCase():Te};return W.replace(k,(function(_e,qe){return qe||(function(fe){switch(fe){case"YY":return String(z.$y).slice(-2);case"YYYY":return F.s(z.$y,4,"0");case"M":return ae+1;case"MM":return F.s(ae+1,2,"0");case"MMM":return ne(Z.monthsShort,ae,ue,3);case"MMMM":return ne(ue,ae);case"D":return z.$D;case"DD":return F.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return ne(Z.weekdaysMin,z.$W,he,2);case"ddd":return ne(Z.weekdaysShort,z.$W,he,3);case"dddd":return he[z.$W];case"H":return String(Y);case"HH":return F.s(Y,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return le(Y,j,!0);case"A":return le(Y,j,!1);case"m":return String(j);case"mm":return F.s(j,2,"0");case"s":return String(z.$s);case"ss":return F.s(z.$s,2,"0");case"SSS":return F.s(z.$ms,3,"0");case"Z":return R}return null})(_e)||R.replace(":","")}))},U.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},U.diff=function(G,z,Z){var W,R=this,Y=F.p(z),j=B(G),ae=(j.utcOffset()-this.utcOffset())*r,he=this-j,ue=function(){return F.m(R,j)};switch(Y){case C:W=ue()/12;break;case p:W=ue();break;case E:W=ue()/3;break;case f:W=(he-ae)/6048e5;break;case d:W=(he-ae)/864e5;break;case u:W=he/s;break;case l:W=he/r;break;case o:W=he/n;break;default:W=he}return Z?W:F.a(W)},U.daysInMonth=function(){return this.endOf(p).$D},U.$locale=function(){return V[this.$L]},U.locale=function(G,z){if(!G)return this.$L;var Z=this.clone(),W=w(G,z,!0);return W&&(Z.$L=W),Z},U.clone=function(){return F.w(this.$d,this)},U.toDate=function(){return new Date(this.valueOf())},U.toJSON=function(){return this.isValid()?this.toISOString():null},U.toISOString=function(){return this.$d.toISOString()},U.toString=function(){return this.$d.toUTCString()},q})(),I=Q.prototype;return B.prototype=I,[["$ms",a],["$s",o],["$m",l],["$H",u],["$W",d],["$M",p],["$y",C],["$D",x]].forEach((function(q){I[q[1]]=function(U){return this.$g(U,q[0],q[1])}})),B.extend=function(q,U){return q.$i||(q(U,Q,B),q.$i=!0),B},B.locale=w,B.isDayjs=L,B.unix=function(q){return B(1e3*q)},B.en=V[M],B.Ls=V,B.p={},B}))})(ra)),ra.exports}var vg=gg();const Se=Tr(vg),rt=(i=new Date,t="YYYY/MM/DD")=>{let n=i;return n||(n=void 0),Se(new Date(n)).isValid()?Se(new Date(n)).format(t):n},yg=(i,t,n="label",r="value")=>{const s=t.find(a=>a[r]===i);return(s==null?void 0:s[n])||i},Cg=i=>{const t=/\d+/g,n=i.match(t)||"";return parseInt(n[0])},Oi=i=>{const t=i.split(":");if(t.length>3||!t.length)return 0;let n=0,r=1;for(;t.length>0;){const s=t.pop();n+=parseInt(s)*r,r*=60}return n},To=i=>i<0?"Invalid number":i>=10?`${i}`:`0${i}`,Dc=i=>{if(i>1440*60)return"Invalid date";const t=Math.floor(i/60/60),n=Math.floor((i-t*60*60)/60),r=i%60;return`${To(t)}:${To(n)}:${To(r)}`},$r=i=>{const t=i.split(":"),n=t[t.length-3]?parseInt(t[t.length-3]):0,r=parseInt(t[t.length-2]),s=parseFloat(t[t.length-1]);return n*60*60+r*60+s},bg=i=>{const t=Math.floor(i/3600),n=Math.floor((i-t*3600)/60),r=Math.floor(i-t*3600-n*60);return`${t?`${t.toString().padStart(2,"0")}:`:""}${n.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`},wn=()=>{const{t:i,locale:t}=xe.useI18n(),n=e.computed(()=>[{label:i("meeting.meetingTypeAll"),value:Fe.ALL,icon:ig},{label:i("meeting.meetingTypeMeet"),value:Fe.MEETING,icon:fh,color:bo.meeting,zIndex:3},{label:i("meeting.meetingTypeEvents"),value:Fe.EVENTS,icon:hh,color:bo.events,zIndex:2},{label:i("meeting.meetingTypeSummit"),value:Fe.SUMMIT,icon:mh,color:bo.summit,zIndex:1}]),r=e.computed(()=>[{label:i("meeting.day0"),value:vi,max:7},{label:i("meeting.week0"),value:yi,max:2},{label:i("meeting.month0"),value:si,max:1}]),s=e.computed(()=>[{label:i("meeting.day"),value:vi,max:7},{label:i("meeting.week"),value:yi,max:2},{label:i("meeting.month"),value:si,max:1}]),a=e.computed(()=>[i("meeting.sunday"),i("meeting.monday"),i("meeting.tuesday"),i("meeting.wednesday"),i("meeting.thursday"),i("meeting.friday"),i("meeting.saturday")]),o=e.computed(()=>{const p=[];for(let E=1;E<=7;E++){const C=E%7;p.push({value:C,label:a.value[C]})}return p});return{t:i,locale:t,meetingTabs:n,cycleTypeOptions0:r,cycleTypeOptions:s,weekDay:a,intervalWeekOptions:o,getPointStr:(p,E)=>p===yi?E.sort((C,x)=>{const m=o.value.findIndex(k=>k.value===C||k.value.toString()===C),g=o.value.findIndex(k=>k.value===x||k.value.toString()===x);return m-g}).map(C=>{const x=o.value.find(m=>m.value===C||m.value.toString()===C);return(x==null?void 0:x.label)||String(C)}).join(i("meeting.cycleSplit")):p===si?E.join(i("meeting.cycleSplit")):"",getConfig:(p,E)=>{let C=p;const x=n.value.find(m=>m.value===C);return(x==null?void 0:x[E])||""},getPlatformLabel:p=>{switch(p){case"WELINK":return"WeLink";case"ZOOM":return"Zoom";case"TENCENT":return t.value==="zh"?"腾讯会议":"Tencent";default:return p}},getWeekFromDate:p=>a.value[Se(p).day()]}},Hi=e.defineComponent({__name:"TooltipText",props:{lines:{},width:{},type:{default:""},size:{default:14}},setup(i){const t=e.ref(null),n=e.ref(!0),r=i,s=e.useSlots();let a=null,o=null;const l=()=>{if(!T.isClient)return;const E=t.value;if(E){if(r.lines&&r.lines>1){const C=E.offsetHeight,x=E.style.display;E.style.display="block";const m=E.scrollHeight;E.style.display=x,m&&C&&(n.value=m>C+1);return}n.value=E.scrollWidth>E.offsetWidth+1||E.scrollHeight>E.offsetHeight+1}},u=()=>{o!==null&&cancelAnimationFrame(o),o=requestAnimationFrame(l)};e.onMounted(()=>{l(),!(!T.isClient||!t.value)&&(a=new ResizeObserver(()=>l()),a.observe(t.value),window.addEventListener("resize",u))}),e.onUnmounted(()=>{a==null||a.disconnect(),o!==null&&cancelAnimationFrame(o),window.removeEventListener("resize",u)}),e.watch(()=>[r.lines,r.width],()=>{T.isClient&&requestAnimationFrame(l)});const d=E=>{const C=E.children??"";return Array.isArray(C)?C.map(x=>d(x)).join(""):String(C)},f=e.computed(()=>{var C;return(((C=s.default)==null?void 0:C.call(s))||[]).map(x=>d(x)).join(`
2
+ `)}),p=e.computed(()=>({width:Number.isNaN(Number(r.width))?r.width:`${r.width}px`}));return(E,C)=>(e.openBlock(),e.createElementBlock("div",{class:"tooltip-text-wrapper",style:e.normalizeStyle(p.value)},[e.createVNode(e.unref(T.OPopover),{anchor:"",disabled:!n.value,adjustMinWidth:!1,adjustWidth:!0},{target:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["tooltip-text",i.type,n.value&&"ellipsis",i.lines&&i.lines>1&&"multi-lines"]),ref_key:"contentRef",ref:t,style:e.normalizeStyle(`--lines: ${i.lines};`),onMouseenter:l},[e.renderSlot(E.$slots,"default")],38)]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["popup-box2",`fz-${i.size}`])},e.toDisplayString(f.value),3)]),_:3},8,["disabled"])],4))}}),Tg={class:"o-meeting-detail"},kg={class:"label"},Eg={key:2},xg={key:3,class:"value"},_g={key:0,class:"extra"},Ag={class:"value-text"},wg={class:"label"},Bc="|",cs=e.defineComponent({__name:"OMeetingDetail",props:{data:{},from:{},show:{type:Boolean},page:{}},setup(i,{expose:t}){const n=i,{t:r,getPlatformLabel:s}=wn(),{locale:a}=xe.useI18n(),o=e.computed(()=>a.value==="en"),l=e.computed(()=>[{label:r("meeting.meetingDetail"),key:"agenda",ellipsis:!0},{label:r("meeting.meetingCreator"),key:"sponsor"},{label:r("meeting.meetingDate2"),key:"timeRange",extra:"date"},{label:r("meeting.meetingId"),key:"mid"},{label:r("meeting.meetingPlatform"),key:"platform"},{label:r("meeting.meetingLink"),key:"join_url",isLink:!0},{label:r("meeting.meetingEtherpad"),key:"etherpad",isLink:!0},{label:r("meeting.meetingReplay"),key:"replay_url",isLink:!0}].slice(0,n.from==="my"?7:8)),u=e.computed(()=>{var g;const m=!!((g=n.data.live_url)!=null&&g.length);return[{label:r("meeting.activityDetail2"),key:"agenda",ellipsis:!0},{label:r("meeting.startDate"),key:"start_date_time"},{label:r("meeting.endDate"),key:"end_date_time"},{label:r("meeting.registrationDeadline"),key:"register_end_date"},{label:r(m?"meeting.livePlatform":"meeting.activityAddress"),key:m?"live_url":"address"},{label:r("meeting.activityDetailUrl"),key:"content_url",isLink:!0},{label:r("meeting.activityApprover"),key:"approver"},{label:r("meeting.reviewNotesLabel"),key:"approve_record",isRecord:!0}].slice(0,n.from==="home"?5:8)}),d=e.computed(()=>{var g;const m=!!((g=n.data.live_url)!=null&&g.length);return[{label:r("meeting.activityType"),key:"activity_type",isType:!0},{label:r(m?"meeting.livePlatform":"meeting.activityAddress"),key:m?"live_url":"address"},{label:r("meeting.startDate"),key:"start_date_time"},{label:r("meeting.endDate"),key:"end_date_time"},{label:r("meeting.registrationDeadline"),key:"register_end_date"},{label:r("meeting.registrationUrl"),key:"register_url",isLink:!0},{label:r("meeting.activityDetailUrl"),key:"content_url",isLink:!0},{label:r("meeting.activityApprover"),key:"approver"},{label:r("meeting.reviewNotesLabel"),key:"approve_record",isRecord:!0}]}),f=m=>{const g=n.data[m];return m==="register_end_date"&&g?rt(g,"YYYY/MM/DD HH:mm"):m==="date"&&g?n.data.is_cycle?"":rt(g):g},p=e.computed(()=>n.data.type===Fe.EVENTS?n.page===Fe.APPROVAL?d.value:u.value:n.data.type===Fe.SUMMIT?u.value:l.value),E=e.ref([]),C=e.ref({[Fe.ALL]:r("meeting.meetingTopic"),[Fe.MEETING]:r("meeting.meetingTopic"),[Fe.EVENTS]:r("meeting.eventsTitle"),[Fe.APPROVAL]:r("meeting.eventsTitle"),[Fe.SUMMIT]:r("meeting.summitTitle")});return t({copyInfo:()=>{try{const m=o.value?": ":":";let g=`${C.value[n.data.type]??r("meeting.meetingTopic")}${m}${n.data.topic||n.data.name||n.data.title}
3
+ `;return g+=[...E.value].reduce((k,A)=>A.textContent?`${k}${A.textContent?A.textContent.replace(Bc,m):""}
4
+ `:k,""),navigator.clipboard.writeText(g),Promise.resolve()}catch(m){return Promise.reject(m)}}}),(m,g)=>(e.openBlock(),e.createElementBlock("div",Tg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(k,A)=>{var D,O,M;return e.openBlock(),e.createElementBlock("div",{ref_for:!0,ref_key:"domRef",ref:E,class:e.normalizeClass(["label-item",{"record-item":k.isRecord&&((D=f(k.key))==null?void 0:D.length),"link-item":k.isLink,"is-empty":!((O=f(k.key))!=null&&O.length),[`label-item_${i.data.id}`]:!0,[`type_${i.data.type}`]:!0,"is-en":o.value}]),key:A},[f(k.key)&&!k.isRecord?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",kg,e.toDisplayString(k.label),1),e.createElementVNode("span",{class:"split-mark"},e.toDisplayString(Bc)),k.ellipsis?(e.openBlock(),e.createBlock(Hi,{key:0,lines:3},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f(k.key)||"-"),1)]),_:2},1024)):k.isLink?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,target:"_blank",class:"value",color:"primary","hover-underline":"",href:f(k.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f(k.key)),1)]),_:2},1032,["href"])):k.key==="platform"?(e.openBlock(),e.createElementBlock("span",Eg,e.toDisplayString(e.unref(s)(f(k.key))),1)):(e.openBlock(),e.createElementBlock("span",xg,[k.extra&&f(k.extra)?(e.openBlock(),e.createElementBlock("i",_g,e.toDisplayString(f(k.extra))+" ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",Ag,e.toDisplayString(f(k.key)||"-"),1)]))],64)):e.createCommentVNode("",!0),k.isRecord&&((M=f(k.key))!=null&&M.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",wg,e.toDisplayString(k.label),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f(k.key),V=>(e.openBlock(),e.createElementBlock("p",{key:V.create_time,class:"value"},e.toDisplayString(V.reason)+"   "+e.toDisplayString(e.unref(rt)(V.create_time,"YYYY/MM/DD HH:mm:ss"))+" "+e.toDisplayString(V.action===1?e.unref(r)("meeting.approveReview"):e.unref(r)("meeting.rejectReview")),1))),128))])],64)):e.createCommentVNode("",!0)],2)}),128))]))}}),Sg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Dg(i,t){return e.openBlock(),e.createElementBlock("svg",Sg,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"},null,-1)])])}const eu={name:"meeting-icon-copy",render:Dg},Bg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Vg(i,t){return e.openBlock(),e.createElementBlock("svg",Bg,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Ji={name:"components-icon-chevron-right",render:Vg},Ng={class:"meet-title-left"},Ig={class:"meet-title"},Og={class:"text"},Pg={class:"item-title-text"},Lg={key:0,class:"tag-wrapper"},Mg={class:"start-time"},Rg={class:"btn-wrapper"},qg={class:"calendar-info"},ph=e.defineComponent({__name:"OMeetingCalendarList",props:{list:{default:()=>[]},groupType:{},disableFormat:{type:Boolean},replayPath:{}},setup(i){const{activityTypeMap:t}=La(),n=i,{t:r,locale:s,getConfig:a,getPointStr:o}=wn(),l=e.ref([]),u=T.useMessage(null),d=async m=>{await l.value[m].copyInfo(),u.success({content:r("common.copySuccess")})},f=e.ref([]),p=e.computed(()=>({SIG_GROUP:`${n.groupType===pn.GROUP?r("meeting.groups"):r("meeting.sigs")}: `,NEW_DATE:r("meeting.latestMeeting"),EMPTY_TEXT:r("meeting.meetingEmptyText"),LEARN_MORE:r("common.seeMore"),JOIN_MEETING:r("meeting.joinMeeting"),SIGN:r("meeting.sign"),DETAILS:r("meeting.detail")})),E=e.ref();let C=null;e.watch([()=>n.list,()=>T.isClient],()=>{n.list.length===1?f.value=[n.list[0].id]:f.value=[],T.isClient&&e.nextTick(()=>{var m;C?C.disconnect():C=new ResizeObserver(g=>{for(let k of g){const{height:A}=k.contentRect;k.target.classList.remove("hidden-divider"),A>=30&&k.target.classList.add("hidden-divider")}}),(m=E.value)==null||m.forEach(g=>{C.observe(g)})})});const x=e.computed(()=>n.list.map(m=>{var R,Y;const g=m.type;let k="",A="",D="",O=!1;if(g!==Fe.MEETING){let j=(R=t.value.get(m.activity_type))==null?void 0:R.label;const ae=m.start_date&&(m.start_date===m.end_date||!m.end_date);m.start_date&&(k=n.disableFormat?m.start_date:rt(m.start_date)),ae?m.start&&(k+=`${k?" ":""}${m.start}`,m.end&&(k+=`${k?" - ":""}${m.end}`)):(m.start&&(k+=`${k?" ":""}${m.start}`),m.end_date&&(k+=`${k?" - ":""}${n.disableFormat?m.end_date:rt(m.end_date)}`,m.end&&(k+=`${k?" ":""}${m.end}`))),m.start_date&&(A=n.disableFormat?m.start_date:rt(m.start_date)),m.start&&(A+=`${A?" ":""}${m.start}`),m.end_date&&(D=n.disableFormat?m.end_date:rt(m.end_date)),m.end&&(D+=`${D?" ":""}${m.end}`);const he=`${m.end_date||m.start_date} ${m.end||m.start||""}`;return Se(he).isValid()&&(O=Se().isAfter(Se(he))),{...m,activity_type:j,dateRange:k,start_date_time:A,end_date_time:D,isExpired:O}}const{is_cycle:M,date:V,start:S,end:L,cycle_start_date:w,cycle_end_date:B,cycle_start:F,cycle_end:Q,cycle_type:I,cycle_interval:q,cycle_point:U}=m;k=n.disableFormat?V:rt(V),S&&L?k+=`${k?" ":""}${S} - ${L}`:(S||L)&&(k+=`${k?" ":""}${S||L}`),M&&(k=`${n.disableFormat?w:rt(w)} - ${n.disableFormat?B:rt(B)}`);let G="";S&&L?G=`${S} - ${L}`:(S&&(G=S),L&&(G=L));let z=null,Z=!1;const W=((Y=m.obs_data)==null?void 0:Y.filter(j=>j.text_video_url))||[];if(M){let j="";I===vi&&(j=r("meeting.cycleDay")),I===yi&&(q>1?j=r("meeting.cycleWeek.other",[o(I,U),q]):j=r("meeting.cycleWeek.one",[o(I,U)])),I===si&&(j=r("meeting.cycleMonth",[o(I,U)])),G=r("meeting.cycleMeetingText2",{startDate:rt(w),endDate:rt(B),startTime:F,endTime:Q,cycleType:j}),Z=W.some(ae=>{var he;return ae.sub_id===((he=m.cycle_sub.find(ue=>ue.date===V))==null?void 0:he.sub_id)})}else Z=W.length>0;return Z&&n.replayPath!==null&&(z=`${location.origin}/${s.value}/${n.replayPath}/${m.group_name}/${m.mid}/${V}`),{...m,dateRange:k,timeRange:G,replay_url:z,isExpired:Se().isAfter(Se(`${m.date} ${m.end||m.cycle_end}`))}}));return(m,g)=>{var k,A;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["o-meeting-calendar-list",(k=x.value)!=null&&k.length?"":"is-empty"])},[(A=x.value)!=null&&A.length?(e.openBlock(),e.createBlock(e.unref(T.OCollapse),{key:1,modelValue:f.value,"onUpdate:modelValue":g[0]||(g[0]=D=>f.value=D),style:{"--collapse-padding":"0"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(D,O)=>(e.openBlock(),e.createBlock(e.unref(T.OCollapseItem),{key:D.id,value:D.id,class:e.normalizeClass({"is-expired":D.isExpired})},{title:e.withCtx(()=>[e.createElementVNode("div",Ng,[e.createElementVNode("div",Ig,[e.createVNode(e.unref(T.OIcon),{style:e.normalizeStyle({backgroundColor:`${e.unref(a)(D.type,"color")}`})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)(D.type,"icon"))))]),_:2},1032,["style"]),e.createElementVNode("div",Og,[e.createVNode(Hi,null,{default:e.withCtx(()=>[e.createElementVNode("span",Pg,e.toDisplayString(D.topic||D.name||D.title),1)]),_:2},1024)]),D.is_cycle?(e.openBlock(),e.createElementBlock("div",Lg,[e.createVNode(e.unref(T.OTag),{color:"primary",variant:"outline"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.cycle")),1)]),_:1})])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"meet-info",ref_for:!0,ref_key:"meetInfoRef",ref:E},[e.createElementVNode("span",Mg,[e.createElementVNode("span",null,e.toDisplayString(D.dateRange),1)]),D.group_name||D.activity_type?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[D.group_name?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(p.value.SIG_GROUP)+" "+e.toDisplayString(D.group_name),1)],64)):e.createCommentVNode("",!0),D.activity_type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(D.activity_type),1)],64)):e.createCommentVNode("",!0)])],512),e.createElementVNode("div",Rg,[D.url?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,variant:"text",href:D.url,target:"_blank",class:"jump-detail-link"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(p.value.LEARN_MORE),1)]),_:1},8,["href"])):e.createCommentVNode("",!0),D.join_url&&!D.isExpired?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:1,variant:"text",href:D.join_url,target:"_blank",class:"jump-detail-link"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(p.value.JOIN_MEETING),1)]),_:1},8,["href"])):e.createCommentVNode("",!0),D.content_url?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:2,variant:"text",href:D.content_url,target:"_blank",class:"jump-detail-link"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(p.value.DETAILS),1)]),_:1},8,["href"])):e.createCommentVNode("",!0),D.register_url&&!D.isExpired?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:3,variant:"text",href:D.register_url,target:"_blank",class:"jump-detail-link"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(p.value.SIGN),1)]),_:1},8,["href"])):e.createCommentVNode("",!0)])]),e.createVNode(e.unref(T.OIcon),{onClick:e.withModifiers(()=>d(O),["stop"]),class:"copy-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(eu))]),_:1},8,["onClick"])]),default:e.withCtx(()=>[e.createElementVNode("div",qg,[e.createVNode(cs,{show:f.value.includes(D.id),data:D,ref_for:!0,ref:M=>l.value[O]=M,from:"home"},null,8,["show","data"])])]),_:2},1032,["value","class"]))),128))]),_:1},8,["modelValue"])):e.renderSlot(m.$slots,"empty",{key:0})],2)}}}),gh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAIwCAYAAAAWB9pWAABjVklEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMorjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666n+Nr/rG73zox3zo+z6Nq6666qqrrvq3Q1x11VX/a3zV13/n+ztcs8Vvf/xHvM8TuOqqq6666qp/PcRVV131v8bXfP13vWkqXxHA+I/3Nspvf/b7vM+Kq6666qqrrnrRIa666qr/Nb7qG7/z9bFfnecQP/0xH/Y+f81VV1111VVXvWgQV1111f8aX/V13/baRLw2z8Xinq7xsx/xEe93F1ddddVVV131wiGuuuqq/zW+8hu+/eFC784LYPzHexvltz/7fd5nxVVXXXXVVVc9f4irrrrqf42v+7rvuGEKPpAXwuKeGvrdj/zg930cV1111VVXXfW8EFddddX/Gt/yLd+ycTTVT+RFYHHP3iK++7Pf531WXHXVVVddddWzIa666qr/NT77sz87jp25+TP5VzD+472N8tuf/T7vs+Kqq6666qqrAHHVVVf9r/JV3/Adn82/ksU92eK3P/4j3ucJXHXVVVdd9f8d4qqrrvpf5au+/jvfH/km/g0s7tlbxHd/9vu8z4qrrrrqqqv+v0JcddVV/6t81Td++1tjvTT/DoF+9eKG/vKz3+d9Vlx11VVXXfX/DeKqq676X+WrvvE7Xx/71fl3srgnW/z2x3/E+zyBq6666qqr/j9BXHXVVf+rfNU3fefrkn5N/oOE408vbvKbn/0+77Piqquuuuqq/w8QV1111f8qX/X13/myyG/JCyP2sG4DvzgvsvjpS2ef8bef/dmfnVx11VVXXfV/GeKqq676X+Urv+HbHy707vxLpN8HwH51XkQW92SL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ugc/0Zf9Q3f9dKQb80LI/3+x3zo+/46V1111VVX/W+AuOqqq/7X+6qv/86XRX5LAMSeG7+7txV//9nv8z4r/gN81Td+5+tjvzoviPT7H/Oh7/vrXHXVVVdd9b8B4qqrrvpf7yu/4dsfLuKlMU+7dO62v/7sz/7s5D/YV339t78v0i08P9Lvf8yHvu+vc9VVV1111f8GiKuuuuqqF8Fnf/Znx841N3+gzHU8N+n3P+ZD3/fXueqqq6666n8DxFVXXXXVi+izv+u75seW+aGYHR5I+v2P+dD3/XWuuuqqq6763wBx1VVXXfWv8OXf8i2ny1Q/nAeSfv9jPvR9f52rrrrqqqv+N0BcddVVV/0rfe03f+djW/M7cj/p9z/mQ9/317nqqquuuup/A8RVV1111b/BV33Dd7005FsDIP3+x3zo+/46V1111VVX/W+AuOqqq676N/qqb/zO18d+daTf/5gPfd9f56qrrrrqqv8NEFddddVV/0af/dmfHcdO3/TeRNz2MR/6vr/OVVddddVV/xsgrrrqqqv+HT77u75rfmLVHv5RH/L+f89VV1111VX/GyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVv9O3fMu3HFtlufmjPuT9/56rrrrqqqv+p0NcddVVV/07fdU3fOe7gB/Vefl1H/7hH36eq6666qqr/idDXHXVVVf9O331N37HW9q8rN1+7GM//AP/gauuuuqqq/4nQ1x11VVX/Tt91Td95+uSfs2A3/moD3u/3+Kqq6666qr/yRBXXXXVVf9OX/0N3/UKJt8M+c8+5kPf/xf4P+pHf/RHy+Me9zgdO/agrY2NYbj77rtXn/3Zn51cddVVV/3vgrjqqquu+nf66m/7tms9xIco9Ocf/SHv+/P8H/NV3/Sdr4v90pgdno9QPCnle9zlX3/s+7//Ba666qqr/mdDXHXVVVf9B7AtSeb/oK/+pu98I6dfhftJdwifsNnkOeSPfMyHfcDjueqqq676nw1x1VVXXXXVC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h7JVVddddX/QUne9zEf+v4/zVVX/fdDXHXV/xBf9XXf9tpRyiO56qqrrvo/KMn7PuZD3/+nueqq/36Iq676H+Krvu7bXjtKeSRXXXXV/wDujLck9ZjjNhtIlwRP46p/kyTv+5gPff+f5qqr/vshrrrqf4iv+rpve+0o5ZFcddVV/60klMkbITqe067g97jq3yTJ+z7mQ9//p7nqqv9+iKuu+h/iq77u2147SnkkV1111f8AenGLOeRIai18gDgLWnPVv0mS933Mh77/T3PVVf/9EFdd9T/EV33dt712lPJIrrrqqqv+D0ryvo/50Pf/aa666r8f4qqr/of4qq/7tteOUh7JVVddddX/QUne9zEf+v4/zVVX/fdDXHXV/xBf9XXf9tpRyiO56qqrrvo/KMn7PuZD3/+nueqq/36Iq676H+Krvu7bXjtKeSRXXXXVVf8HJXnfx3zo+/80V1313w9x1VX/Q3zV133ba0cpj+Sqq6666v+gJO/7mA99/5/mqqv++yGuuup/iK/6um977SjlkVx11VVX/R+U5H0f86Hv/9NcddV/P8RVV/0P8VVf922vHaU8kquuuuqq/4OSvO9jPvT9f5qrrvrvh7jqqv8hvurrvu21o5RHctVVV131f1CS933Mh77/T3PVVf/9EFdd9T/EV33dt712lPJIrrrqqqv+D0ryvo/50Pf/aa666r8f4qqr/of4qq/7tteOUh7JVVddddX/QUne9zEf+v4/zVVX/fdDXHXV/xBf9XXf9tpRyiO56qqrrvo/KMn7PuZD3/+nueqq/36Iq676H+Krvu7bXjtKeSRXXXXVVf8HJXnfx3zo+/80V1313w9x1VX/Q3zV133ba0cpj+Sqq6666v+gJO/7mA99/5/mqqv++yGuuup/iK/6um977SjlkVx11VVX/R+U5H0f86Hv/9NcddV/P8RVV/0P8VVf922vHaU8kquuuuqq/4OSvO9jPvT9f5qrrvrvh7jqqv8hvurrvu21o5RHctVVV131f1CS933Mh77/T3PVVf/9EFdd9T/EV33dt712lPJIrrrqqqv+D0ryvo/50Pf/aa666r8f4qqr/of4qq/7tteOUh7JVVddddX/QUne9zEf+v4/zVVX/fdD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666qqr/scbx2wv/dIPPnid13mdiecP8XzY1rd+67cuDkuZc9VVV1111VVXXXXV/zqbra0+8AM/cCnJPCfEc/mWb/mW7uio37RbcNVVV1111VVXXXXV/1pSyY2N4fCDPuiDRp4N8Wz67G/5lsU1bWvGVVddddVVV1111VX/Z9xXDtaf/UEftAQMIIAf/dEfLffcM2we1r3CVVddddVVV1111VX/52xOO+266/rDd3zHd2z67M/+rvn112/Ojo4OxVVXXXXVVVddddVV/2dtbGz67rsP1/qqr/qu41x11VVXXXXVVVdd9f8F+uJv+ZZjXHXVVVddddVVV131/wX62q/9/h2uuuqqq6666qqrrvr/An3t137/DlddddVVV1111VVX/X+BvuM7vmObq6666qqrrrrqqqv+v0Bf8h3fsc1VV1111VVXXXXVVf9foG/4hh/d4qqrrrrqqquuuuqq/y/QN3zDN2xx1VVXXXXVVVddddX/F+jLvvd7N7nqqquuuuqqq6666v8L9GVf9r2bXHXVVVddddVVV131/wX6lm/5lg2uuuqqq6666qqrrvr/An3lj/7ogquuuuqqq6666qqr/r9AX/mVP7rgqquuuuqqq6666qr/L9B3fdd3zbnqqquuuuqqq6666v8L9Nnf9V1zrrrqqquuuuqqq676/wJ97df+4oyrrrrqqquuuuqqq/6/QF/7tV8746qrrrrqqquuuuqq/y/QZ//oj/ZcddVVV1111VVXXfX/Bfrsz/7snquuuuqqq6666qqr/r9A3/It39Jx1VVXXXXVVVddddX/F+hbvuVbOq666qqrrrrqqquu+v8CffZnf3blqquuuuqqq6666qr/L9CP/uiPFq666qqrrrrqqquu+v8C/eiP/mjhqquuuuqqq6666qr/L9Bnf/ZnB1ddddVVV1111VVX/X+BPvuzPzu46qqrrrrqqquuuur/C2RbXHXVVVddddVVV131/wUCxFVXXXXVVVddddVV/18grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/Cf8IBEyADNBEKx8AAAAASUVORK5CYII=",Fg={key:0,class:"o-meeting-calendar-desc"},Ug={class:"calendar-body"},zg={class:"calender-header-left"},Hg={class:"left-title"},jg={class:"month-date"},Xg={class:"right-title"},Gg=["onClick"],Qg={class:"day-box"},Yg={class:"icon-box"},Kg={class:"detail-list"},Wg={class:"current-day"},Jg={class:"right-title"},Zg={class:"title-list"},$g="2021-01-01",Vc=e.defineComponent({__name:"OMeetingCalendar",props:{getDateListRequest:{},getMeetingListRequest:{},getSummitListRequest:{default:async()=>[]},getSummitDatesRequest:{},getEventsListRequest:{default:async()=>[]},getEventsDatesRequest:{},hiddenEvents:{type:Boolean,default:!1},hiddenSummit:{type:Boolean,default:!1},groupType:{default:pn.SIG},groups:{default:()=>[]},disableFormat:{type:Boolean},emptyImg:{},emptyText:{},showDesc:{type:Boolean,default:!1},replayPath:{default:"video"}},emits:["create"],setup(i,{expose:t,emit:n}){const r=i,{t:s,locale:a,meetingTabs:o,getConfig:l}=wn(),u=e.computed(()=>a.value===xe.Locales.EN),d=e.ref([]),f=e.ref([]),p=e.ref([]),E=e.ref([]),C=e.ref([]),x=e.ref([]),m=e.ref(Fe.ALL),g=e.computed(()=>{let fe=o.value;return r.hiddenEvents&&(fe=fe.filter(Te=>Te.value!==Fe.EVENTS)),r.hiddenSummit&&(fe=fe.filter(Te=>Te.value!==Fe.SUMMIT)),fe.filter(Te=>Te.value!==Fe.ALL).length===1?[]:fe});e.watch(()=>g.value,()=>{var fe;m.value=((fe=g.value[0])==null?void 0:fe.value)??Fe.MEETING});const k=e.ref(),A=e.ref("407px"),D=e.ref(!1),O=e.ref(""),M=e.ref(!1),V=e.ref(""),S=async fe=>{if(r.getSummitListRequest){f.value=[];const Te=await r.getSummitListRequest(fe);f.value=(Te||[]).map(Be=>({...Be,type:Fe.SUMMIT}))}else f.value=[]},L=async fe=>{if(r.getEventsListRequest){E.value=[];const Te=await r.getEventsListRequest(fe);E.value=(Te||[]).map(Be=>({...Be,type:Fe.EVENTS}))}else E.value=[]},w=e.ref([!1,!1,!1]),B=e.computed(()=>w.value.every(fe=>!!fe)),F=async fe=>{r.getDateListRequest?r.getDateListRequest(fe,V.value||"").then(Te=>{d.value=Te}).finally(()=>{w.value[0]=!0}):w.value[0]=!0,r.getEventsDatesRequest?r.getEventsDatesRequest(fe).then(Te=>{C.value=Te}).finally(()=>{w.value[1]=!0}):w.value[1]=!0,r.getSummitDatesRequest?r.getSummitDatesRequest(fe).then(Te=>{p.value=Te}).finally(()=>{w.value[2]=!0}):w.value[2]=!0},Q=async fe=>{if(r.getMeetingListRequest&&fe.date)try{const Te=await r.getMeetingListRequest(fe.date,V.value,"");x.value=Te.map(Be=>({...Be,time:`${Be.start}-${Be.end}`,type:Fe.MEETING,date:Be.date||fe.date})).sort((Be,Ie)=>{var Ae,me;return parseInt((Ae=Be.start||Be.cycle_start)==null?void 0:Ae.replace(":",""))-parseInt(Ie.end||((me=Ie.cycle_end)==null?void 0:me.replace(":","")))})}catch{x.value=[]}finally{S(fe.date),L(fe.date)}},I=e.computed(()=>[...x.value,...E.value,...f.value].filter(fe=>m.value===Fe.ALL?!0:fe.type===m.value)),q=async fe=>{const Te=Se(fe).format("YYYY-MM-DD");O.value=Te,F(Te),Q({date:Te,type:m.value})},U=e.computed(()=>B.value?[...new Set([...d.value,...p.value,...C.value])].flat().sort((fe,Te)=>Se(fe).isAfter(Se(Te))?1:-1):[]),G=e.ref(""),z=e.computed(()=>{if(G.value)return G.value;const fe=U.value;if(!fe.length)return null;const Te=Se().format("YYYY-MM-DD");let Be=0,Ie=fe.length-1;for(;Be<=Ie;){const Ae=Be+Ie>>1;fe[Ae]<Te?Be=Ae+1:Ie=Ae-1}return rt(Be<fe.length?fe[Be]:fe[fe.length-1])}),Z=ct.useDebounceFn((fe,Te)=>{if(M.value){M.value=!1;return}if(new Date(fe).getTime()/1e3<1610380800){Te==null||Te.stopPropagation();return}q(fe)},300);e.watch(()=>z.value,()=>{var fe;z.value?(z.value!==G.value&&(G.value=z.value),(fe=k.value)==null||fe.pickDay(Se(z.value)),Z(z.value)):Z(rt())},{immediate:!0});const W=(fe,Te)=>{if(rt(Te)===rt($g)&&fe==="prev-month"){D.value=!0;return}D.value=!1,k.value.selectDate(fe),Z(rt(k.value.selectedDay))},R=()=>{e.nextTick(()=>{const fe=rt(O.value,"YYYY-MM-DD");F(fe),Q({date:fe,type:m.value})})},Y=fe=>fe.replace(/^0+(?=\d)/,""),j=fe=>{new MutationObserver(function(){A.value=`${fe.offsetHeight-2}px`}).observe(fe,{childList:!0,subtree:!0,characterData:!0})},ae=async()=>{const fe=document.querySelector(".calendar-body .el-calendar__body");fe&&(j(fe),A.value=`${fe.offsetHeight-2}px`)},he=e.ref(null);let ue=null;const be=ct.useDebounceFn(()=>{const fe=he.value;if(!fe||!T.isClient||r.hiddenSummit||r.hiddenEvents)return;const Te=fe.querySelector(".o-tab");if(!Te)return;const Be=Te.querySelector(".o-tab-navs-container");if(!Be)return;const Ie=Be.getBoundingClientRect().width;if(!Ie)return;const Ae=u.value?430:330;Te.classList.toggle("hide-icons",Ie<Ae)},120);e.onMounted(()=>{ae(),e.nextTick(be),T.isClient&&typeof ResizeObserver<"u"&&he.value&&(ue=new ResizeObserver(()=>be()),ue.observe(he.value))}),e.onBeforeUnmount(()=>{ue==null||ue.disconnect(),ue=null}),e.watch(()=>g.value,()=>e.nextTick(be));const ne=e.watch(()=>U.value.length,()=>{T.isClient&&!O.value&&e.nextTick(()=>{const fe=document.querySelector(".is-today .out-box");fe&&(M.value=!0,fe.click(),ne())})}),Ce=fe=>u.value?fe.split(" ").reverse().join(" "):fe,le=(fe,Te)=>fe===Fe.MEETING?[Fe.ALL,Fe.MEETING].includes(m.value)&&d.value.includes(Te):fe===Fe.SUMMIT?[Fe.ALL,Fe.SUMMIT].includes(m.value)&&p.value.includes(Te):fe===Fe.EVENTS?[Fe.ALL,Fe.EVENTS].includes(m.value)&&C.value.includes(Te):!1,_e=n;t({refresh:q});const qe=()=>{_e("create")};return(fe,Te)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:he,class:"o-meeting-calendar"},[i.showDesc?(e.openBlock(),e.createElementBlock("div",Fg,[e.createElementVNode("span",null,e.toDisplayString(i.groupType===e.unref(pn).GROUP?e.unref(s)("meeting.meetingDescGroup"):e.unref(s)("meeting.meetingDesc")),1),e.createVNode(e.unref(T.OButton),{color:"primary",variant:"solid",round:"pill",onClick:qe},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.meetingCreate")),1)]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",Ug,[e.createVNode(e.unref(gt.ElCalendar),{ref_key:"calendar",ref:k,class:"calender"},{header:e.withCtx(({date:Be})=>{var Ie;return[e.createElementVNode("div",zg,[e.createElementVNode("div",Hg,[e.createVNode(e.unref(T.OIcon),{onClick:Ae=>W("prev-month",Be)},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft),{class:e.normalizeClass({disable:D.value})},null,8,["class"])]),_:1},8,["onClick"]),e.createElementVNode("span",jg,e.toDisplayString(Ce(Be)),1),e.createVNode(e.unref(T.OIcon),{onClick:Ae=>W("next-month",Be)},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1},8,["onClick"])]),((Ie=i.groups)==null?void 0:Ie.length)>0?(e.openBlock(),e.createBlock(e.unref(T.OSelect),{key:0,modelValue:V.value,"onUpdate:modelValue":Te[0]||(Te[0]=Ae=>V.value=Ae),placeholder:e.unref(s)(i.groupType===e.unref(pn).GROUP?"meeting.allGroups":"meeting.allSigs"),clearable:"",onChange:R},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.groups,Ae=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{value:Ae,key:Ae},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Ae),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","placeholder"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xg,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.latestMeeting"))+" ",1),e.createElementVNode("span",null,e.toDisplayString(z.value?z.value:e.unref(rt)()),1)])]}),"date-cell":e.withCtx(({data:Be})=>[e.createElementVNode("div",{class:e.normalizeClass(["out-box",{"has-calender":U.value.includes(Be.day)}]),onClick:Ie=>e.unref(Z)(Be.day,Ie)},[e.createElementVNode("div",Qg,[e.createElementVNode("p",{class:e.normalizeClass([Be.isSelected?"is-selected":"","date-calender"])},e.toDisplayString(Y(Be.day.split("-").at(-1)||"")),3),e.createElementVNode("div",Yg,[le(e.unref(Fe).MEETING,Be.day)?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"meeting",style:e.normalizeStyle({zIndex:e.unref(l)(e.unref(Fe).MEETING,"zIndex"),backgroundColor:e.unref(l)(e.unref(Fe).MEETING,"color")})},{default:e.withCtx(()=>[e.createVNode(e.unref(fh))]),_:1},8,["style"])):e.createCommentVNode("",!0),le(e.unref(Fe).EVENTS,Be.day)?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:1,class:"events",style:e.normalizeStyle({zIndex:e.unref(l)(e.unref(Fe).EVENTS,"zIndex"),backgroundColor:e.unref(l)(e.unref(Fe).EVENTS,"color")})},{default:e.withCtx(()=>[e.createVNode(e.unref(hh))]),_:1},8,["style"])):e.createCommentVNode("",!0),le(e.unref(Fe).SUMMIT,Be.day)?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:2,class:"summit",style:e.normalizeStyle({zIndex:e.unref(l)(e.unref(Fe).SUMMIT,"zIndex"),backgroundColor:e.unref(l)(e.unref(Fe).SUMMIT,"color")})},{default:e.withCtx(()=>[e.createVNode(e.unref(mh))]),_:1},8,["style"])):e.createCommentVNode("",!0)])])],10,Gg)]),_:1},512),e.createElementVNode("div",Kg,[e.createElementVNode("div",Wg,[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.latestMeeting"))+"  ",1),e.createElementVNode("span",null,e.toDisplayString(z.value?z.value:e.unref(rt)()),1)]),e.createElementVNode("div",Jg,[e.createElementVNode("div",Zg,[e.createVNode(e.unref(T.OSelect),{modelValue:V.value,"onUpdate:modelValue":Te[1]||(Te[1]=Be=>V.value=Be),placeholder:e.unref(s)(i.groupType===e.unref(pn).GROUP?"meeting.allGroups":"meeting.allSigs"),clearable:"",onChange:R},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.groups,Be=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{value:Be,key:Be},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Be),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","placeholder"]),e.createVNode(e.unref(T.OTab),{modelValue:m.value,"onUpdate:modelValue":Te[2]||(Te[2]=Be=>m.value=Be),line:!1,"max-show":9999},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,Be=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:Be.value,value:Be.value},{nav:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Be.icon)))]),_:2},1024),e.createTextVNode(" "+e.toDisplayString(Be.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])]),e.createElementVNode("div",null,[e.createVNode(e.unref(T.OScroller),{class:"meeting-list","show-type":"hover",size:"small",style:e.normalizeStyle({"--height":A.value})},{default:e.withCtx(()=>[e.createVNode(ph,{list:I.value,groupType:i.groupType,disableFormat:i.disableFormat,replayPath:i.replayPath},{empty:e.withCtx(()=>[e.renderSlot(fe.$slots,"empty",{},()=>[e.createVNode(e.unref(T.OResult),{class:"empty-result"},{image:e.withCtx(()=>[e.createVNode(e.unref(T.OFigure),{class:"img",src:i.emptyImg??e.unref(gh)},null,8,["src"])]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.emptyText??e.unref(s)("meeting.meetingEmptyText")),1)]),_:1})])]),_:3},8,["list","groupType","disableFormat","replayPath"])]),_:3},8,["style"])])])])],512))}}),e2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function t2(i,t){return e.openBlock(),e.createElementBlock("svg",e2,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M16 0.371c1.623 0 3.214 0.248 4.731 0.729 0.59 0.187 0.916 0.817 0.729 1.406s-0.817 0.916-1.406 0.729c-1.299-0.412-2.662-0.624-4.054-0.624-7.394 0-13.389 5.994-13.389 13.389s5.994 13.389 13.389 13.389c7.394 0 13.389-5.994 13.389-13.389 0-4.287-2.027-8.235-5.402-10.747-0.496-0.369-0.599-1.071-0.23-1.567s1.071-0.599 1.567-0.23c3.937 2.931 6.305 7.541 6.305 12.544 0 8.632-6.997 15.629-15.629 15.629s-15.629-6.997-15.629-15.629c0-8.632 6.997-15.629 15.629-15.629zM16 22.816c1.002 0 1.814 0.812 1.814 1.814s-0.812 1.814-1.814 1.814c-1.002 0-1.814-0.812-1.814-1.814s0.812-1.814 1.814-1.814zM16.349 6.831c3.423 0 6.198 2.775 6.198 6.198 0 3.086-2.268 5.689-5.196 6.114-0.085 0.020-0.255 0.278-0.302 0.479 0 0-0.004 0.031-0.012 0.094v1.317c0 0.619-0.501 1.12-1.12 1.12-0.567 0-1.036-0.421-1.11-0.968 0 0-0.003-0.051-0.010-0.152v-1.317c0-1.154 0.814-2.461 2.133-2.77 1.929-0.283 3.378-1.946 3.378-3.916 0-2.186-1.772-3.958-3.958-3.958s-3.958 1.772-3.958 3.958c0 0.619-0.501 1.12-1.12 1.12s-1.12-0.501-1.12-1.12c0-3.423 2.775-6.198 6.198-6.198z"},null,-1)])])}const Nc={name:"meeting-icon-help",render:t2},n2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function i2(i,t){return e.openBlock(),e.createElementBlock("svg",n2,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.6",fill:"#000",d:"M16.050 0.559c2.61 0 5.13 0.646 7.377 1.862 0.544 0.294 0.746 0.974 0.452 1.518s-0.974 0.746-1.518 0.452c-1.922-1.040-4.075-1.592-6.31-1.592-7.334 0-13.28 5.946-13.28 13.28s5.946 13.28 13.28 13.28c7.334 0 13.28-5.946 13.28-13.28 0-3.3-1.207-6.409-3.355-8.824-0.411-0.462-0.37-1.17 0.092-1.581s1.17-0.37 1.581 0.092c2.51 2.821 3.922 6.459 3.922 10.313 0 8.571-6.949 15.52-15.52 15.52s-15.52-6.949-15.52-15.52c0-8.571 6.949-15.52 15.52-15.52zM16.024 11.822c0.567 0.002 1.034 0.425 1.106 0.972l0.010 0.152-0.040 10.822c-0.002 0.619-0.506 1.118-1.124 1.116-0.567-0.002-1.034-0.425-1.106-0.972l-0.010-0.152 0.040-10.822c0.002-0.619 0.506-1.118 1.124-1.116zM16 7.232c1.001 0 1.813 0.812 1.813 1.813s-0.812 1.813-1.813 1.813c-1.001 0-1.813-0.812-1.813-1.813s0.812-1.813 1.813-1.813z"},null,-1)])])}const Ic={name:"meeting-icon-tip",render:i2},r2=e.defineComponent({__name:"OMeetingCalendarSelector",props:{modelValue:{default:()=>[]},multiple:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:t}){const{t:n}=xe.useI18n(),r=i,s=t,a=()=>{let m=[];for(let g=1;g<=31;g++)m.push(g);return m},o=e.computed(()=>a()),l=e.ref([]),u=e.ref([]),d=e.ref(null),f=()=>{l.value=[...r.modelValue],u.value=[...r.modelValue]};e.watchEffect(()=>{f()});const p=()=>{s("update:modelValue",u.value),d.value&&(d.value.expanded=!1)},E=()=>{f(),d.value&&(d.value.expanded=!1)},C=m=>{if(r.multiple){const g=u.value.indexOf(m);g===-1?u.value.push(m):u.value.splice(g,1),u.value.sort()}else u.value=[m],p()},x=m=>{r.multiple?C(m):u.value=[],p()};return(m,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["o-meeting-calendar-selector",!i.multiple&&"is-single"])},[e.createVNode(e.unref(gt.ElSelect),{ref_key:"selectorRef",ref:d,"popper-class":"o-meeting-calendar-selector-popper",placeholder:e.unref(n)("meeting.selectRepeatDate"),size:"large",multiple:"",collapseTags:"",maxCollapseTags:3,modelValue:l.value,onRemoveTag:x},e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,k=>(e.openBlock(),e.createBlock(e.unref(gt.ElOption),{key:k,label:k,value:k,onClick:A=>C(k),class:e.normalizeClass(u.value.includes(k)&&"is-checked")},null,8,["label","value","onClick","class"]))),128))]),_:2},[i.multiple?{name:"footer",fn:e.withCtx(()=>[e.createVNode(e.unref(T.OButton),{round:"pill",color:"primary",variant:"outline",onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.confirm")),1)]),_:1}),e.createVNode(e.unref(T.OButton),{variant:"text",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.cancel")),1)]),_:1})]),key:"0"}:void 0]),1032,["placeholder","modelValue"])],2))}}),s2={class:"o-meeting-form"},a2={key:1,class:"label-wrapper"},o2={class:"o-meeting-form-popover-content etherpad"},l2={class:"repeat-config-wrapper"},u2={class:"repeat-config"},c2={class:"repeat-config-item"},d2={class:"time-select-wrapper"},h2={key:1},f2={key:1,class:"switch-wrapper"},m2={class:"switch-text"},p2={key:0},g2={key:2,class:"switch-wrapper"},v2={class:"switch-text"},y2={key:1,class:"label-wrapper"},C2={class:"o-meeting-form-popover-content"},b2=["href"],T2={key:0,class:"form-btns"},Oc=e.defineComponent({__name:"OMeetingForm",props:{data:{},subId:{},createMeetingRequest:{},editMeetingRequest:{},editSubMeetingRequest:{},getPlatformsRequest:{},getGroupsRequest:{},showBtns:{type:Boolean,default:!0},groupType:{default:pn.SIG},confirmText:{},labelMap:{},privateContactEmail:{default:""},enablePrivate:{type:Boolean,default:!1}},emits:["confirm","cancel"],setup(i,{expose:t,emit:n}){const{t:r,locale:s,cycleTypeOptions0:a,intervalWeekOptions:o,getPlatformLabel:l}=wn(),u=i,d=T.useMessage(null),f=a,p=o,E=e.computed(()=>Object.keys((u==null?void 0:u.data)||{}).length>0),C=e.computed(()=>!!u.subId),x=e.computed(()=>yg(g.value.cycle_type,f.value,"max")),m={is_record:!0,agenda:"",email_list:"",platform:"WELINK",topic:"",group_name:"",etherpad:"",date:"",date_range:[],start:"",end:"",time:"",is_cycle:!1,cycle_interval:1,cycle_type:vi,cycle_point:[],is_private:!1},g=e.ref(Object.assign({},m)),k=e.ref(null),A=e.ref(!1),D=e.ref(!1),O=e.computed(()=>({topic:[{required:!0,message:r("meeting.enterMeetingName")},{validator:R=>{if(R.length>128)return{type:"danger",message:r("meeting.meetingNameTooLong")}}}],agenda:[{validator:R=>{if(R.length>4096)return{type:"danger",message:r("meeting.meetingAgendaTooLong")}}}],group_name:[{required:!0,message:u.groupType===pn.GROUP?r("meeting.selectGroup"):r("meeting.selectSig")}],etherpad:[{required:!0,message:r("meeting.enterEtherpad")}],date:[{required:!0,message:r("meeting.selectDate")}],platform:[{required:!0,message:r("meeting.selectPlatform")}],time:[{validator:R=>{var Ce;const{is_cycle:Y,cycle_type:j,cycle_interval:ae,cycle_point:he,date:ue,date_range:be}=g.value;if(Y){const le=r("meeting.finishMeetingConfig");if(j===vi&&!ae)return{type:"danger",message:le};if(j===yi&&(!ae||!(he!=null&&he.length)))return{type:"danger",message:le};if(j===si&&(!ae||!(he!=null&&he.length)))return{type:"danger",message:le};if(!(be!=null&&be.length))return{type:"danger",message:r("meeting.selectMeetingDate")};const _e=r("meeting.invalidMeetingDuration");let qe=be[0];const fe=be[1];if(j===yi){const Te=new Set;for(;!Se(qe).isAfter(Se(fe));)Te.add(Se(qe).day()),qe=Se(qe).add(1,"day").format("YYYY-MM-DD");if(he.every(Be=>!Te.has(Be)))return{type:"danger",message:_e}}if(j===si){const Te=new Set;for(;!Se(qe).isAfter(Se(fe));)Te.add(Se(qe).date()),qe=Se(qe).add(1,"day").format("YYYY-MM-DD");if(he.every(Be=>!Te.has(Be)))return{type:"danger",message:_e}}}else if(!ue)return{type:"danger",message:r("meeting.selectMeetingDate")};if(!((Ce=R==null?void 0:R.trim())!=null&&Ce.length))return{type:"danger",message:r("meeting.selectMeetingTime")};const ne=R.split("-").map(le=>le.split(":").map(Number));if(ne[0][0]>ne[1][0]||ne[0][0]===ne[1][0]&&ne[0][1]>=ne[1][1])return{type:"danger",message:r("meeting.endTimeAfterStartTime")};if(!g.value.is_cycle&&g.value.date&&g.value.start){const le=`${g.value.date} ${g.value.start}`;if(Se(le).isBefore(Se()))return{type:"danger",message:r("meeting.startTimeBeforeEndTime")}}},triggers:["blur","change"]}],email_list:[{validator:R=>{if(E.value)return{};const Y=R.replaceAll(" ","").replaceAll(",",";")||"";if(Y.length){if(Y.length>1020)return{type:"danger",message:r("meeting.emailTooLong")};const j=Y.split(";")||[];if(j.some(ae=>!$l.test(ae)))return{type:"danger",message:r("meeting.emailInvalid")};if(j.some(ae=>ae.length>50))return{type:"danger",message:r("meeting.singleEmailTooLong")};if(j.length>20)return{type:"danger",message:r("meeting.emailCountTooLong")}}},triggers:["blur","change"]}]})),M=e.ref([]),V=async()=>{if(!u.getGroupsRequest)return;const R=await u.getGroupsRequest();M.value=R.map(Y=>({...Y,label:Y.group_name,value:Y.group_name})),u.data&&z(g.value.group_name)},S=e.ref([]),L=async()=>{if(!u.getPlatformsRequest)return;const R=await u.getPlatformsRequest();S.value=R.map(Y=>({label:l(Y),value:Y})),u.data||(g.value.platform=S.value[0].value)},w=n,B=()=>{if(!u.data)return{};const{start:R,end:Y,is_cycle:j,cycle_start_date:ae,cycle_end_date:he,cycle_point:ue,cycle_interval:be,cycle_start:ne,cycle_end:Ce,is_private:le}=u.data;return{...u.data,is_private:le??!1,time:`${R}-${Y}`,...j?{date_range:[ae,he],cycle_point:(ue==null?void 0:ue.map(_e=>parseInt(_e)))||[],cycle_interval:be||1,time:`${ne}-${Ce}`,start:ne,end:Ce}:{}}};e.watch([()=>u.data,()=>M.value],([R])=>{var Y;if(R){const j=B(),ae=((Y=j==null?void 0:j.cycle_sub)==null?void 0:Y.find(_e=>_e.sub_id===u.subId))||{},{mid:he,date:ue,start:be,end:ne,sub_id:Ce}=ae;Object.assign(g.value,j,C.value?{is_cycle:!1,mid:he,date:ue,start:be,end:ne,sub_id:Ce}:{});const le=M.value.find(_e=>_e.value===g.value.group_name);A.value=(le==null?void 0:le.private_enable)??!1}else{const j=Se().format("YYYY-MM-DD"),ae=Se().format("HH:mm");let he="",ue="";const be=Oi(ae);if(be<=Oi("08:00"))he="08:00",ue="09:00";else if(Oi("22:15")<=be)he="08:00",ue="09:00";else{let[Ce,le]=ae.split(":").map(Number);le>=45?(Ce++,le=0):le=(Math.floor(le/15)+1)*15,he=Dc(Ce*60+le).slice(3),ue=Dc(Ce*60+le+60).slice(3)}const ne=[Se().format("YYYY-MM-DD"),Se().add(1,"month").format("YYYY-MM-DD")];Object.assign(g.value,{date:j,start:he,end:ue,time:`${he}-${ue}`,date_range:ne})}},{immediate:!0,deep:!0});const F=()=>{var R,Y,j,ae;g.value=Object.assign({},m),(Y=(R=k.value)==null?void 0:R.clearValidate)==null||Y.call(R),(ae=(j=k.value)==null?void 0:j.resetFields)==null||ae.call(j),w("cancel")},Q=()=>{if(g.value.is_private)g.value.is_cycle=!1,g.value.email_list="",q();else{const R=M.value.find(Y=>Y.value===g.value.group_name);g.value.email_list=(R==null?void 0:R.email_list)||""}},I=()=>{g.value.cycle_point=[],g.value.cycle_interval=1},q=()=>{var R;g.value.platform=((R=S.value.find(Y=>Y.value.toLowerCase()==="welink"))==null?void 0:R.value)||"WeLink"},{lePadV:U}=nt.useScreen(),G=async()=>{var Y;let R=E.value?r("meeting.editSuccess"):r("meeting.createSuccess");try{D.value=!0;const j=await k.value.validate();if(!j||j.some(Ue=>!!Ue))return;const{topic:ae,etherpad:he,group_name:ue,platform:be,date:ne,start:Ce,end:le,agenda:_e,is_record:qe,is_cycle:fe,date_range:Te,cycle_type:Be,cycle_interval:Ie,cycle_point:Ae,is_private:me}=g.value;let ke={topic:ae,etherpad:he,agenda:_e,is_record:qe,group_name:ue,platform:be,is_cycle:fe,is_private:me},Ee;if(fe?(ke={...ke,cycle_interval:Ie,cycle_type:Be,cycle_start_date:(Te==null?void 0:Te[0])||"",cycle_end_date:(Te==null?void 0:Te[1])||"",cycle_start:Ce,cycle_end:le},Be!==vi&&(ke={...ke,cycle_point:Ae.join(",")})):ke={...ke,date:(ne==null?void 0:ne.split(" ")[0])||"",start:Ce,end:le},E.value)if(C.value){const{mid:Ue,sub_id:Ke}=g.value,{date:re,start:oe,end:se}=ke;Ee=await(u==null?void 0:u.editSubMeetingRequest(Ke,{mid:Ue,date:re,start:oe,end:se,is_notify:!0}))}else{const{email_list:Ue,platform:Ke,group_name:re,etherpad:oe,...se}=ke;Ee=await(u==null?void 0:u.editMeetingRequest((Y=u.data)==null?void 0:Y.id,{...se,is_notify:!0}))}else Ee=await(u==null?void 0:u.createMeetingRequest({...ke,email_list:g.value.email_list.replaceAll(" ","")}));if(typeof Ee=="boolean"&&!Ee)return;const Ne=r("meeting.meetingHandleSuccess",[g.value.topic,R]);d.success({content:Ne}),w("confirm")}finally{D.value=!1}};e.onMounted(()=>{V(),L()});const z=R=>{const Y=M.value.find(j=>j.value===R);A.value=u.enablePrivate&&((Y==null?void 0:Y.private_enable)??!1),E.value||(g.value.etherpad=(Y==null?void 0:Y.etherpad)||"",g.value.email_list=(Y==null?void 0:Y.email_list)||"")},Z=R=>R.getTime()<Date.now()-1440*60*1e3,W=()=>{g.value.start&&g.value.end?g.value.time=`${g.value.start}-${g.value.end}`:g.value.time=""};return t({confirm:G}),(R,Y)=>(e.openBlock(),e.createElementBlock("div",s2,[e.createVNode(e.unref(T.OForm),{model:g.value,ref_key:"formRef",ref:k,"has-required":"",layout:e.unref(U)?"v":"h",class:"form-wrapper"},{default:e.withCtx(()=>{var j,ae,he,ue,be,ne,Ce;return[e.createVNode(e.unref(T.OFormItem),{rules:O.value.topic,label:((j=i.labelMap)==null?void 0:j.topic)??e.unref(r)("meeting.meetingName"),field:"topic"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{disabled:C.value,size:"large",placeholder:e.unref(r)("meeting.enterMeetingName"),style:{width:"100%"},modelValue:g.value.topic,"onUpdate:modelValue":Y[0]||(Y[0]=le=>g.value.topic=le)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),e.createVNode(e.unref(T.OFormItem),{rules:O.value.group_name,label:((ae=i.labelMap)==null?void 0:ae.group_name)??(i.groupType===e.unref(pn).GROUP?e.unref(r)("meeting.meetingGroup"):e.unref(r)("meeting.meetingSig")),field:"group_name"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OSelect),{disabled:E.value,placeholder:i.groupType===e.unref(pn).GROUP?e.unref(r)("meeting.selectGroup"):e.unref(r)("meeting.selectSig"),size:"large",style:{width:"100%"},modelValue:g.value.group_name,"onUpdate:modelValue":Y[1]||(Y[1]=le=>g.value.group_name=le),onChange:z},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,le=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:le.value,value:le.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(le.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),g.value.group_name?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0,rules:O.value.etherpad,label:"Etherpad",field:"etherpad"},{label:e.withCtx(()=>{var le;return[(le=i.labelMap)!=null&&le.etherpad?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(i.labelMap.etherpad),1)],64)):(e.openBlock(),e.createElementBlock("div",a2,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.etherpad"))+" ",1),e.createVNode(e.unref(T.OPopover),null,{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Nc))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",o2,e.toDisplayString(e.unref(r)("meeting.etherpadDesc")),1)]),_:1})]))]}),default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{disabled:E.value,size:"large",placeholder:e.unref(r)("meeting.enterEtherpad"),style:{width:"100%"},modelValue:g.value.etherpad,"onUpdate:modelValue":Y[2]||(Y[2]=le=>g.value.etherpad=le)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules"])):e.createCommentVNode("",!0),A.value?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:1,label:((he=i.labelMap)==null?void 0:he.is_private)??e.unref(r)("meeting.meetingType"),required:"",field:"is_private"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadioGroup),{modelValue:g.value.is_private,"onUpdate:modelValue":Y[3]||(Y[3]=le=>g.value.is_private=le),onChange:Q,disabled:E.value},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadio),{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.public")),1)]),_:1}),e.createVNode(e.unref(T.ORadio),{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.private")),1)]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),{label:((ue=i.labelMap)==null?void 0:ue.time)??e.unref(r)("meeting.meetingTime"),field:"time",rules:O.value.time,class:"repeat-row",required:""},{default:e.withCtx(()=>{var le,_e,qe;return[e.createElementVNode("div",l2,[C.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0,field:"repeat",class:"repeat-radio-item"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadioGroup),{modelValue:g.value.is_cycle,"onUpdate:modelValue":Y[4]||(Y[4]=fe=>g.value.is_cycle=fe),onChange:q,disabled:E.value||g.value.is_private},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadio),{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.nonRepeat")),1)]),_:1}),e.createVNode(e.unref(T.ORadio),{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.isRepeat")),1)]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1})),e.createElementVNode("div",u2,[g.value.is_cycle?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(T.OFormItem),{label:e.unref(r)("meeting.every"),class:"full-width-item"},{default:e.withCtx(()=>[e.createElementVNode("div",c2,[g.value.cycle_type!==e.unref(si)?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElInputNumber),{size:"large",modelValue:g.value.cycle_interval,"onUpdate:modelValue":Y[5]||(Y[5]=fe=>g.value.cycle_interval=fe),min:1,max:x.value},null,8,["modelValue","max"])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OSelect),{size:"large",modelValue:g.value.cycle_type,"onUpdate:modelValue":Y[6]||(Y[6]=fe=>g.value.cycle_type=fe),class:"interval-select",optionWrapClass:"o-meeting-form-interval-select-options",onChange:I},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),fe=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:fe.value,value:fe.value,label:fe.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})])]),_:1},8,["label"]),g.value.cycle_type!==e.unref(vi)?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0,label:((le=i.labelMap)==null?void 0:le.cycle_point)??e.unref(r)("meeting.in"),field:"cycle_point",class:"point-item"},{default:e.withCtx(()=>[g.value.cycle_type===e.unref(yi)?(e.openBlock(),e.createBlock(e.unref(T.OSelect),{key:0,size:"large",multiple:"",modelValue:g.value.cycle_point,"onUpdate:modelValue":Y[7]||(Y[7]=fe=>g.value.cycle_point=fe),placeholder:e.unref(r)("meeting.selectRepeatDate"),"max-tag-count":1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),fe=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:fe.value,value:fe.value,label:fe.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","placeholder"])):e.createCommentVNode("",!0),g.value.cycle_type===e.unref(si)?(e.openBlock(),e.createBlock(r2,{key:1,modelValue:g.value.cycle_point,"onUpdate:modelValue":Y[8]||(Y[8]=fe=>g.value.cycle_point=fe)},null,8,["modelValue"])):e.createCommentVNode("",!0)]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),{label:((_e=i.labelMap)==null?void 0:_e.date_range)??e.unref(r)("meeting.meetingDuration"),field:"date_range"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElDatePicker),{size:"large",modelValue:g.value.date_range,"onUpdate:modelValue":Y[9]||(Y[9]=fe=>g.value.date_range=fe),"start-placeholder":e.unref(r)("meeting.startDate"),"end-placeholder":e.unref(r)("meeting.endDate"),style:{width:"100%"},"value-format":"YYYY-MM-DD","disabled-date":Z,clearable:!1,type:"daterange","popper-class":"o-meeting-form-date-picker-popper"},null,8,["modelValue","start-placeholder","end-placeholder"])]),_:1},8,["label"])],64)):(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:1,label:((qe=i.labelMap)==null?void 0:qe.date)??e.unref(r)("meeting.meetingDate"),field:"date"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElDatePicker),{"popper-class":"o-meeting-form-date-picker-popper",size:"large",modelValue:g.value.date,"onUpdate:modelValue":Y[10]||(Y[10]=fe=>g.value.date=fe),placeholder:e.unref(r)("meeting.selectDate"),style:{width:"100%"},"value-format":"YYYY-MM-DD","disabled-date":Z,clearable:!1},null,8,["modelValue","placeholder"])]),_:1},8,["label"])),e.createVNode(e.unref(T.OFormItem),{label:e.unref(r)("meeting.meetingTime")},{default:e.withCtx(()=>[e.createElementVNode("div",d2,[e.createVNode(e.unref(T.OFormItem),{field:"start"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElTimeSelect),{"popper-class":"meeting-form-time-popover",step:"00:15",start:"08:00",end:"22:45",placeholder:e.unref(r)("meeting.startTime"),modelValue:g.value.start,"onUpdate:modelValue":Y[11]||(Y[11]=fe=>g.value.start=fe),size:"large",clearable:!1,onChange:W},null,8,["placeholder","modelValue"])]),_:1}),Y[18]||(Y[18]=e.createElementVNode("span",null,"-",-1)),e.createVNode(e.unref(T.OFormItem),{field:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElTimeSelect),{"popper-class":"meeting-form-time-popover",step:"00:15",start:"08:00",end:"22:45",placeholder:e.unref(r)("meeting.endTime"),modelValue:g.value.end,"onUpdate:modelValue":Y[12]||(Y[12]=fe=>g.value.end=fe),size:"large",clearable:!1,onChange:W},null,8,["placeholder","modelValue"])]),_:1}),e.createVNode(e.unref(T.OIconTime))])]),_:1},8,["label"])])])]}),_:1},8,["label","rules"]),e.createVNode(e.unref(T.OFormItem),{label:((be=i.labelMap)==null?void 0:be.platform)??e.unref(r)("meeting.meetingPlatform"),field:"platform",rules:O.value.platform,class:"platform-item"},{default:e.withCtx(()=>[i.data?(e.openBlock(),e.createElementBlock("span",h2,e.toDisplayString(e.unref(l)(g.value.platform)),1)):(e.openBlock(),e.createBlock(e.unref(T.ORadioGroup),{key:0,modelValue:g.value.platform,"onUpdate:modelValue":Y[13]||(Y[13]=le=>g.value.platform=le),disabled:g.value.is_cycle||g.value.is_private},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,le=>(e.openBlock(),e.createBlock(e.unref(T.ORadio),{key:le.value,value:le.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)(le.label)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","disabled"]))]),_:1},8,["label","rules"]),e.createVNode(e.unref(T.OFormItem),{field:"agenda",label:((ne=i.labelMap)==null?void 0:ne.agenda)??e.unref(r)("meeting.meetingAgenda"),rules:O.value.genda},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTextarea),{disabled:C.value,size:"large",placeholder:e.unref(r)("meeting.enterMeetingAgenda"),style:{width:"100%"},rows:4,modelValue:g.value.agenda,"onUpdate:modelValue":Y[14]||(Y[14]=le=>g.value.agenda=le)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["label","rules"]),e.createVNode(e.unref(T.OFormItem),{label:((Ce=i.labelMap)==null?void 0:Ce.is_record)??e.unref(r)("meeting.meetingRecord"),field:"is_record",class:"record-item full-width-item"},{default:e.withCtx(()=>[e.unref(U)?(e.openBlock(),e.createBlock(e.unref(T.OSwitch),{key:0,modelValue:g.value.is_record,"onUpdate:modelValue":Y[15]||(Y[15]=le=>g.value.is_record=le),disabled:C.value},null,8,["modelValue","disabled"])):(e.openBlock(),e.createElementBlock("div",f2,[e.createVNode(e.unref(T.OSwitch),{modelValue:g.value.is_record,"onUpdate:modelValue":Y[16]||(Y[16]=le=>g.value.is_record=le),disabled:C.value},null,8,["modelValue","disabled"]),e.createElementVNode("div",m2,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ic))]),_:1}),e.createElementVNode("div",null,[g.value.is_private?(e.openBlock(),e.createElementBlock("span",p2,e.toDisplayString(e.unref(r)("meeting.privateRecordDesc",[g.value.platform,i.privateContactEmail])),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.meetingRecordDesc1")),1),Y[19]||(Y[19]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.meetingRecordDesc2")),1)],64))])])]))]),_:1},8,["label"]),e.unref(U)?(e.openBlock(),e.createElementBlock("div",g2,[e.createElementVNode("div",v2,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ic))]),_:1}),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.meetingRecordDesc1")),1),Y[20]||(Y[20]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.meetingRecordDesc2")),1)])])])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),{field:"email_list",rules:O.value.email_list},{label:e.withCtx(()=>{var le;return[(le=i.labelMap)!=null&&le.email_list?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(i.labelMap.email_list),1)],64)):(e.openBlock(),e.createElementBlock("div",y2,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.meetingEmail"))+" ",1),e.createVNode(e.unref(T.OPopover),null,{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Nc))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",C2,[e.createTextVNode(e.toDisplayString(e.unref(r)("meeting.meetingEmailDesc"))+" ",1),e.createElementVNode("a",{class:"link-text",href:`/${e.unref(s)}/sig`},e.toDisplayString(e.unref(r)("meeting.sigGroupEmail")),9,b2)])]),_:1})]))]}),default:e.withCtx(()=>[e.createVNode(e.unref(T.OTextarea),{disabled:E.value,size:"large",placeholder:g.value.is_private?e.unref(r)("meeting.privateEnterEmail"):e.unref(r)("meeting.enterEmail"),style:{width:"100%"},rows:4,modelValue:g.value.email_list,"onUpdate:modelValue":Y[17]||(Y[17]=le=>g.value.email_list=le)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules"])]}),_:1},8,["model","layout"]),i.showBtns?(e.openBlock(),e.createElementBlock("div",T2,[e.createVNode(e.unref(T.OButton),{color:"primary",variant:"solid",size:"large",onClick:G,loading:D.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E.value?e.unref(r)("common.save"):i.confirmText||e.unref(r)("meeting.create")),1)]),_:1},8,["loading"]),e.createVNode(e.unref(T.OButton),{color:"primary",variant:"outline",size:"large",onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("common.cancel")),1)]),_:1})])):e.createCommentVNode("",!0)]))}}),k2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function E2(i,t){return e.openBlock(),e.createElementBlock("svg",k2,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#0071f3",d:"M9.669 4.029l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM12.669 7.526l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM6.669 8.52l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM15.669 9.531l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM3.669 11.023l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM18.669 11.777l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM20.349 13.234l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM5.349 13.989l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM17.349 15.497l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM8.349 16.474l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM14.349 17.486l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM11.349 20.486l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857z"},null,-1),e.createElementVNode("path",{fill:"none",stroke:"#0071f3","stroke-linejoin":"round","stroke-linecap":"round","stroke-miterlimit":"4","stroke-width":"1.71",d:"M4.491 10.989v3M7.491 8.486v7.989M10.491 3.994v16.491M13.491 7.491v9.994M16.491 9.497v6M19.491 11.743v1.491"},null,-1),e.createElementVNode("path",{fill:"#0071f3",d:"M22.491 12.994c0.274 0 0.497-0.223 0.497-0.497s-0.223-0.497-0.497-0.497c-0.274 0-0.497 0.223-0.497 0.497s0.223 0.497 0.497 0.497zM1.491 12.994c0.274 0 0.497-0.223 0.497-0.497s-0.223-0.497-0.497-0.497c-0.274 0-0.497 0.223-0.497 0.497s0.223 0.497 0.497 0.497z"},null,-1)])])}const x2={name:"meeting-icon-playing",render:E2},_2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function A2(i,t){return e.openBlock(),e.createElementBlock("svg",_2,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M23.399 22.031l0.116 0.099 3.68 3.672c0.365 0.364 0.365 0.955 0.001 1.32-0.328 0.328-0.839 0.361-1.204 0.1l-0.116-0.099-3.68-3.672c-0.365-0.364-0.365-0.955-0.001-1.32 0.328-0.328 0.839-0.361 1.204-0.1zM14.428 4.605c5.465 0 9.897 4.431 9.897 9.897s-4.431 9.897-9.897 9.897c-5.465 0-9.897-4.431-9.897-9.897s4.431-9.897 9.897-9.897zM14.428 6.472c-4.435 0-8.031 3.595-8.031 8.031s3.595 8.031 8.031 8.031c4.435 0 8.031-3.595 8.031-8.031s-3.595-8.031-8.031-8.031z"},null,-1)])])}const w2={name:"components-icon-search",render:A2},S2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function D2(i,t){return e.openBlock(),e.createElementBlock("svg",S2,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z"},null,-1)])])}const ds={name:"components-icon-chevron-down",render:D2},B2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function V2(i,t){return e.openBlock(),e.createElementBlock("svg",B2,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.759 15.127c0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.016-5.016c0.1-0.1 0.254-0.115 0.37-0.043l0.054 0.043 5.062 5.062c0.273 0.273 0.717 0.273 0.99 0 0.251-0.251 0.271-0.644 0.063-0.918l-0.063-0.072-5.062-5.062c-0.629-0.629-1.628-0.662-2.296-0.099l-0.108 0.099-5.016 5.016c-0.273 0.273-0.273 0.717 0 0.99z"},null,-1)])])}const N2={name:"components-icon-chevron-up",render:V2},I2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function O2(i,t){return e.openBlock(),e.createElementBlock("svg",I2,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const Ma={name:"components-icon-close",render:O2},P2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function L2(i,t){return e.openBlock(),e.createElementBlock("svg",P2,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M3.42 6.060c0-2.52 2.040-4.575 4.575-4.575 2.52 0 4.575 2.055 4.575 4.575s-2.055 4.575-4.575 4.575c-2.535 0-4.575-2.055-4.575-4.575zM15.015 10.47c0-1.8 1.455-3.27 3.255-3.27 1.815 0 3.27 1.47 3.27 3.27s-1.455 3.27-3.27 3.27c-1.8 0-3.255-1.47-3.255-3.27zM4.56 12.915h6.855c2.535 0 4.575 2.055 4.575 4.575 0 0.255-0.015 0.51-0.060 0.75-0.36 2.16-2.235 3.825-4.515 3.825h-6.855c-2.52 0-4.575-2.055-4.575-4.575s2.055-4.575 4.575-4.575zM17.595 17.49c0-0.75-0.135-1.455-0.375-2.115h3.51c1.8 0 3.255 1.455 3.255 3.255s-1.455 3.27-3.255 3.27h-4.995c1.155-1.125 1.86-2.685 1.86-4.41z"},null,-1)])])}const M2={name:"meeting-icon-speaker",render:L2};/*! @license DOMPurify 2.5.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.9/LICENSE */function gi(i){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(i)}function ul(i,t){return ul=Object.setPrototypeOf||function(r,s){return r.__proto__=s,r},ul(i,t)}function R2(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sa(i,t,n){return R2()?sa=Reflect.construct:sa=function(s,a,o){var l=[null];l.push.apply(l,a);var u=Function.bind.apply(s,l),d=new u;return o&&ul(d,o.prototype),d},sa.apply(null,arguments)}function Pn(i){return q2(i)||F2(i)||U2(i)||z2()}function q2(i){if(Array.isArray(i))return cl(i)}function F2(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function U2(i,t){if(i){if(typeof i=="string")return cl(i,t);var n=Object.prototype.toString.call(i).slice(8,-1);if(n==="Object"&&i.constructor&&(n=i.constructor.name),n==="Map"||n==="Set")return Array.from(i);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cl(i,t)}}function cl(i,t){(t==null||t>i.length)&&(t=i.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=i[n];return r}function z2(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H2=Object.hasOwnProperty,Pc=Object.setPrototypeOf,j2=Object.isFrozen,X2=Object.getPrototypeOf,G2=Object.getOwnPropertyDescriptor,nn=Object.freeze,En=Object.seal,Q2=Object.create,vh=typeof Reflect<"u"&&Reflect,da=vh.apply,dl=vh.construct;da||(da=function(t,n,r){return t.apply(n,r)});nn||(nn=function(t){return t});En||(En=function(t){return t});dl||(dl=function(t,n){return sa(t,Pn(n))});var Y2=xn(Array.prototype.forEach),Lc=xn(Array.prototype.pop),Qr=xn(Array.prototype.push),aa=xn(String.prototype.toLowerCase),ko=xn(String.prototype.toString),Mc=xn(String.prototype.match),On=xn(String.prototype.replace),K2=xn(String.prototype.indexOf),W2=xn(String.prototype.trim),qt=xn(RegExp.prototype.test),Eo=J2(TypeError);function xn(i){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return da(i,t,r)}}function J2(i){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return dl(i,n)}}function Ze(i,t,n){var r;n=(r=n)!==null&&r!==void 0?r:aa,Pc&&Pc(i,null);for(var s=t.length;s--;){var a=t[s];if(typeof a=="string"){var o=n(a);o!==a&&(j2(t)||(t[s]=o),a=o)}i[a]=!0}return i}function Ai(i){var t=Q2(null),n;for(n in i)da(H2,i,[n])===!0&&(t[n]=i[n]);return t}function js(i,t){for(;i!==null;){var n=G2(i,t);if(n){if(n.get)return xn(n.get);if(typeof n.value=="function")return xn(n.value)}i=X2(i)}function r(s){return console.warn("fallback value for",s),null}return r}var Rc=nn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xo=nn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),_o=nn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Z2=nn(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ao=nn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),$2=nn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),qc=nn(["#text"]),Fc=nn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),wo=nn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Uc=nn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xs=nn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ev=En(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tv=En(/<%[\w\W]*|[\w\W]*%>/gm),nv=En(/\${[\w\W]*}/gm),iv=En(/^data-[\-\w.\u00B7-\uFFFF]+$/),rv=En(/^aria-[\-\w]+$/),sv=En(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),av=En(/^(?:\w+script|data):/i),ov=En(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lv=En(/^html$/i),uv=En(/^[a-z][.\w]*(-[.\w]+)+$/i),cv=function(){return typeof window>"u"?null:window},dv=function(t,n){if(gi(t)!=="object"||typeof t.createPolicy!="function")return null;var r=null,s="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(s)&&(r=n.currentScript.getAttribute(s));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(l){return l},createScriptURL:function(l){return l}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function yh(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cv(),t=function(te){return yh(te)};if(t.version="2.5.9",t.removed=[],!i||!i.document||i.document.nodeType!==9)return t.isSupported=!1,t;var n=i.document,r=i.document,s=i.DocumentFragment,a=i.HTMLTemplateElement,o=i.Node,l=i.Element,u=i.NodeFilter,d=i.NamedNodeMap,f=d===void 0?i.NamedNodeMap||i.MozNamedAttrMap:d,p=i.HTMLFormElement,E=i.DOMParser,C=i.trustedTypes,x=l.prototype,m=js(x,"cloneNode"),g=js(x,"nextSibling"),k=js(x,"childNodes"),A=js(x,"parentNode");if(typeof a=="function"){var D=r.createElement("template");D.content&&D.content.ownerDocument&&(r=D.content.ownerDocument)}var O=dv(C,n),M=O?O.createHTML(""):"",V=r,S=V.implementation,L=V.createNodeIterator,w=V.createDocumentFragment,B=V.getElementsByTagName,F=n.importNode,Q={};try{Q=Ai(r).documentMode?r.documentMode:{}}catch{}var I={};t.isSupported=typeof A=="function"&&S&&S.createHTMLDocument!==void 0&&Q!==9;var q=ev,U=tv,G=nv,z=iv,Z=rv,W=av,R=ov,Y=uv,j=sv,ae=null,he=Ze({},[].concat(Pn(Rc),Pn(xo),Pn(_o),Pn(Ao),Pn(qc))),ue=null,be=Ze({},[].concat(Pn(Fc),Pn(wo),Pn(Uc),Pn(Xs))),ne=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,le=null,_e=!0,qe=!0,fe=!1,Te=!0,Be=!1,Ie=!0,Ae=!1,me=!1,ke=!1,Ee=!1,Ne=!1,Ue=!1,Ke=!0,re=!1,oe="user-content-",se=!0,Oe=!1,ge={},Ge=null,Qe=Ze({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Dt=null,Gt=Ze({},["audio","video","img","source","image","track"]),et=null,dn=Ze({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",Bt="http://www.w3.org/2000/svg",_t="http://www.w3.org/1999/xhtml",Vt=_t,yn=!1,Qt=null,Jn=Ze({},[Mt,Bt,_t],ko),Nt,Cn=["application/xhtml+xml","text/html"],N="text/html",P,ee=null,de=r.createElement("form"),Ve=function(te){return te instanceof RegExp||te instanceof Function},He=function(te){ee&&ee===te||((!te||gi(te)!=="object")&&(te={}),te=Ai(te),Nt=Cn.indexOf(te.PARSER_MEDIA_TYPE)===-1?Nt=N:Nt=te.PARSER_MEDIA_TYPE,P=Nt==="application/xhtml+xml"?ko:aa,ae="ALLOWED_TAGS"in te?Ze({},te.ALLOWED_TAGS,P):he,ue="ALLOWED_ATTR"in te?Ze({},te.ALLOWED_ATTR,P):be,Qt="ALLOWED_NAMESPACES"in te?Ze({},te.ALLOWED_NAMESPACES,ko):Jn,et="ADD_URI_SAFE_ATTR"in te?Ze(Ai(dn),te.ADD_URI_SAFE_ATTR,P):dn,Dt="ADD_DATA_URI_TAGS"in te?Ze(Ai(Gt),te.ADD_DATA_URI_TAGS,P):Gt,Ge="FORBID_CONTENTS"in te?Ze({},te.FORBID_CONTENTS,P):Qe,Ce="FORBID_TAGS"in te?Ze({},te.FORBID_TAGS,P):{},le="FORBID_ATTR"in te?Ze({},te.FORBID_ATTR,P):{},ge="USE_PROFILES"in te?te.USE_PROFILES:!1,_e=te.ALLOW_ARIA_ATTR!==!1,qe=te.ALLOW_DATA_ATTR!==!1,fe=te.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=te.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=te.SAFE_FOR_TEMPLATES||!1,Ie=te.SAFE_FOR_XML!==!1,Ae=te.WHOLE_DOCUMENT||!1,Ee=te.RETURN_DOM||!1,Ne=te.RETURN_DOM_FRAGMENT||!1,Ue=te.RETURN_TRUSTED_TYPE||!1,ke=te.FORCE_BODY||!1,Ke=te.SANITIZE_DOM!==!1,re=te.SANITIZE_NAMED_PROPS||!1,se=te.KEEP_CONTENT!==!1,Oe=te.IN_PLACE||!1,j=te.ALLOWED_URI_REGEXP||j,Vt=te.NAMESPACE||_t,ne=te.CUSTOM_ELEMENT_HANDLING||{},te.CUSTOM_ELEMENT_HANDLING&&Ve(te.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ne.tagNameCheck=te.CUSTOM_ELEMENT_HANDLING.tagNameCheck),te.CUSTOM_ELEMENT_HANDLING&&Ve(te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ne.attributeNameCheck=te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),te.CUSTOM_ELEMENT_HANDLING&&typeof te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ne.allowCustomizedBuiltInElements=te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(qe=!1),Ne&&(Ee=!0),ge&&(ae=Ze({},Pn(qc)),ue=[],ge.html===!0&&(Ze(ae,Rc),Ze(ue,Fc)),ge.svg===!0&&(Ze(ae,xo),Ze(ue,wo),Ze(ue,Xs)),ge.svgFilters===!0&&(Ze(ae,_o),Ze(ue,wo),Ze(ue,Xs)),ge.mathMl===!0&&(Ze(ae,Ao),Ze(ue,Uc),Ze(ue,Xs))),te.ADD_TAGS&&(ae===he&&(ae=Ai(ae)),Ze(ae,te.ADD_TAGS,P)),te.ADD_ATTR&&(ue===be&&(ue=Ai(ue)),Ze(ue,te.ADD_ATTR,P)),te.ADD_URI_SAFE_ATTR&&Ze(et,te.ADD_URI_SAFE_ATTR,P),te.FORBID_CONTENTS&&(Ge===Qe&&(Ge=Ai(Ge)),Ze(Ge,te.FORBID_CONTENTS,P)),se&&(ae["#text"]=!0),Ae&&Ze(ae,["html","head","body"]),ae.table&&(Ze(ae,["tbody"]),delete Ce.tbody),nn&&nn(te),ee=te)},st=Ze({},["mi","mo","mn","ms","mtext"]),At=Ze({},["annotation-xml"]),Yt=Ze({},["title","style","font","a","script"]),Ut=Ze({},xo);Ze(Ut,_o),Ze(Ut,Z2);var Rt=Ze({},Ao);Ze(Rt,$2);var rn=function(te){var we=A(te);(!we||!we.tagName)&&(we={namespaceURI:Vt,tagName:"template"});var Me=aa(te.tagName),it=aa(we.tagName);return Qt[te.namespaceURI]?te.namespaceURI===Bt?we.namespaceURI===_t?Me==="svg":we.namespaceURI===Mt?Me==="svg"&&(it==="annotation-xml"||st[it]):!!Ut[Me]:te.namespaceURI===Mt?we.namespaceURI===_t?Me==="math":we.namespaceURI===Bt?Me==="math"&&At[it]:!!Rt[Me]:te.namespaceURI===_t?we.namespaceURI===Bt&&!At[it]||we.namespaceURI===Mt&&!st[it]?!1:!Rt[Me]&&(Yt[Me]||!Ut[Me]):!!(Nt==="application/xhtml+xml"&&Qt[te.namespaceURI]):!1},tt=function(te){Qr(t.removed,{element:te});try{te.parentNode.removeChild(te)}catch{try{te.outerHTML=M}catch{te.remove()}}},sn=function(te,we){try{Qr(t.removed,{attribute:we.getAttributeNode(te),from:we})}catch{Qr(t.removed,{attribute:null,from:we})}if(we.removeAttribute(te),te==="is"&&!ue[te])if(Ee||Ne)try{tt(we)}catch{}else try{we.setAttribute(te,"")}catch{}},Kt=function(te){var we,Me;if(ke)te="<remove></remove>"+te;else{var it=Mc(te,/^[\r\n\t ]+/);Me=it&&it[0]}Nt==="application/xhtml+xml"&&Vt===_t&&(te='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+te+"</body></html>");var zt=O?O.createHTML(te):te;if(Vt===_t)try{we=new E().parseFromString(zt,Nt)}catch{}if(!we||!we.documentElement){we=S.createDocument(Vt,"template",null);try{we.documentElement.innerHTML=yn?M:zt}catch{}}var St=we.body||we.documentElement;return te&&Me&&St.insertBefore(r.createTextNode(Me),St.childNodes[0]||null),Vt===_t?B.call(we,Ae?"html":"body")[0]:Ae?we.documentElement:St},Wt=function(te){return L.call(te.ownerDocument||te,te,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null,!1)},wt=function(te){return te instanceof p&&(typeof te.nodeName!="string"||typeof te.textContent!="string"||typeof te.removeChild!="function"||!(te.attributes instanceof f)||typeof te.removeAttribute!="function"||typeof te.setAttribute!="function"||typeof te.namespaceURI!="string"||typeof te.insertBefore!="function"||typeof te.hasChildNodes!="function")},dt=function(te){return gi(o)==="object"?te instanceof o:te&&gi(te)==="object"&&typeof te.nodeType=="number"&&typeof te.nodeName=="string"},Je=function(te,we,Me){I[te]&&Y2(I[te],function(it){it.call(t,we,Me,ee)})},Dn=function(te){var we;if(Je("beforeSanitizeElements",te,null),wt(te)||qt(/[\u0080-\uFFFF]/,te.nodeName))return tt(te),!0;var Me=P(te.nodeName);if(Je("uponSanitizeElement",te,{tagName:Me,allowedTags:ae}),te.hasChildNodes()&&!dt(te.firstElementChild)&&(!dt(te.content)||!dt(te.content.firstElementChild))&&qt(/<[/\w]/g,te.innerHTML)&&qt(/<[/\w]/g,te.textContent)||Me==="select"&&qt(/<template/i,te.innerHTML)||te.nodeType===7||Ie&&te.nodeType===8&&qt(/<[/\w]/g,te.data))return tt(te),!0;if(!ae[Me]||Ce[Me]){if(!Ce[Me]&&Ei(Me)&&(ne.tagNameCheck instanceof RegExp&&qt(ne.tagNameCheck,Me)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(Me)))return!1;if(se&&!Ge[Me]){var it=A(te)||te.parentNode,zt=k(te)||te.childNodes;if(zt&&it)for(var St=zt.length,Tt=St-1;Tt>=0;--Tt){var Bn=m(zt[Tt],!0);Bn.__removalCount=(te.__removalCount||0)+1,it.insertBefore(Bn,g(te))}}return tt(te),!0}return te instanceof l&&!rn(te)||(Me==="noscript"||Me==="noembed"||Me==="noframes")&&qt(/<\/no(script|embed|frames)/i,te.innerHTML)?(tt(te),!0):(Be&&te.nodeType===3&&(we=te.textContent,we=On(we,q," "),we=On(we,U," "),we=On(we,G," "),te.textContent!==we&&(Qr(t.removed,{element:te.cloneNode()}),te.textContent=we)),Je("afterSanitizeElements",te,null),!1)},qn=function(te,we,Me){if(Ke&&(we==="id"||we==="name")&&(Me in r||Me in de))return!1;if(!(qe&&!le[we]&&qt(z,we))){if(!(_e&&qt(Z,we))){if(!ue[we]||le[we]){if(!(Ei(te)&&(ne.tagNameCheck instanceof RegExp&&qt(ne.tagNameCheck,te)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(te))&&(ne.attributeNameCheck instanceof RegExp&&qt(ne.attributeNameCheck,we)||ne.attributeNameCheck instanceof Function&&ne.attributeNameCheck(we))||we==="is"&&ne.allowCustomizedBuiltInElements&&(ne.tagNameCheck instanceof RegExp&&qt(ne.tagNameCheck,Me)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(Me))))return!1}else if(!et[we]){if(!qt(j,On(Me,R,""))){if(!((we==="src"||we==="xlink:href"||we==="href")&&te!=="script"&&K2(Me,"data:")===0&&Dt[te])){if(!(fe&&!qt(W,On(Me,R,"")))){if(Me)return!1}}}}}}return!0},Ei=function(te){return te!=="annotation-xml"&&Mc(te,Y)},Es=function(te){var we,Me,it,zt;Je("beforeSanitizeAttributes",te,null);var St=te.attributes;if(!(!St||wt(te))){var Tt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ue};for(zt=St.length;zt--;){we=St[zt];var Bn=we,Ct=Bn.name,Dr=Bn.namespaceURI;if(Me=Ct==="value"?we.value:W2(we.value),it=P(Ct),Tt.attrName=it,Tt.attrValue=Me,Tt.keepAttr=!0,Tt.forceKeepAttr=void 0,Je("uponSanitizeAttribute",te,Tt),Me=Tt.attrValue,!Tt.forceKeepAttr&&(sn(Ct,te),!!Tt.keepAttr)){if(!Te&&qt(/\/>/i,Me)){sn(Ct,te);continue}Be&&(Me=On(Me,q," "),Me=On(Me,U," "),Me=On(Me,G," "));var xs=P(te.nodeName);if(qn(xs,it,Me)){if(re&&(it==="id"||it==="name")&&(sn(Ct,te),Me=oe+Me),Ie&&qt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Me)){sn(Ct,te);continue}if(O&&gi(C)==="object"&&typeof C.getAttributeType=="function"&&!Dr)switch(C.getAttributeType(xs,it)){case"TrustedHTML":{Me=O.createHTML(Me);break}case"TrustedScriptURL":{Me=O.createScriptURL(Me);break}}try{Dr?te.setAttributeNS(Dr,Ct,Me):te.setAttribute(Ct,Me),wt(te)?tt(te):Lc(t.removed)}catch{}}}}Je("afterSanitizeAttributes",te,null)}},Zn=function Pe(te){var we,Me=Wt(te);for(Je("beforeSanitizeShadowDOM",te,null);we=Me.nextNode();)Je("uponSanitizeShadowNode",we,null),Dn(we),Es(we),we.content instanceof s&&Pe(we.content);Je("afterSanitizeShadowDOM",te,null)};return t.sanitize=function(Pe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we,Me,it,zt,St;if(yn=!Pe,yn&&(Pe="<!-->"),typeof Pe!="string"&&!dt(Pe))if(typeof Pe.toString=="function"){if(Pe=Pe.toString(),typeof Pe!="string")throw Eo("dirty is not a string, aborting")}else throw Eo("toString is not a function");if(!t.isSupported){if(gi(i.toStaticHTML)==="object"||typeof i.toStaticHTML=="function"){if(typeof Pe=="string")return i.toStaticHTML(Pe);if(dt(Pe))return i.toStaticHTML(Pe.outerHTML)}return Pe}if(me||He(te),t.removed=[],typeof Pe=="string"&&(Oe=!1),Oe){if(Pe.nodeName){var Tt=P(Pe.nodeName);if(!ae[Tt]||Ce[Tt])throw Eo("root node is forbidden and cannot be sanitized in-place")}}else if(Pe instanceof o)we=Kt("<!---->"),Me=we.ownerDocument.importNode(Pe,!0),Me.nodeType===1&&Me.nodeName==="BODY"||Me.nodeName==="HTML"?we=Me:we.appendChild(Me);else{if(!Ee&&!Be&&!Ae&&Pe.indexOf("<")===-1)return O&&Ue?O.createHTML(Pe):Pe;if(we=Kt(Pe),!we)return Ee?null:Ue?M:""}we&&ke&&tt(we.firstChild);for(var Bn=Wt(Oe?Pe:we);it=Bn.nextNode();)it.nodeType===3&&it===zt||(Dn(it),Es(it),it.content instanceof s&&Zn(it.content),zt=it);if(zt=null,Oe)return Pe;if(Ee){if(Ne)for(St=w.call(we.ownerDocument);we.firstChild;)St.appendChild(we.firstChild);else St=we;return(ue.shadowroot||ue.shadowrootmod)&&(St=F.call(n,St,!0)),St}var Ct=Ae?we.outerHTML:we.innerHTML;return Ae&&ae["!doctype"]&&we.ownerDocument&&we.ownerDocument.doctype&&we.ownerDocument.doctype.name&&qt(lv,we.ownerDocument.doctype.name)&&(Ct="<!DOCTYPE "+we.ownerDocument.doctype.name+`>
6
+ `+Ct),Be&&(Ct=On(Ct,q," "),Ct=On(Ct,U," "),Ct=On(Ct,G," ")),O&&Ue?O.createHTML(Ct):Ct},t.setConfig=function(Pe){He(Pe),me=!0},t.clearConfig=function(){ee=null,me=!1},t.isValidAttribute=function(Pe,te,we){ee||He({});var Me=P(Pe),it=P(te);return qn(Me,it,we)},t.addHook=function(Pe,te){typeof te=="function"&&(I[Pe]=I[Pe]||[],Qr(I[Pe],te))},t.removeHook=function(Pe){if(I[Pe])return Lc(I[Pe])},t.removeHooks=function(Pe){I[Pe]&&(I[Pe]=[])},t.removeAllHooks=function(){I={}},t}var hv=yh();function fv(i,t){const n=i.hooks??{};let r;for(r in n){const s=n[r];s!==void 0&&t.addHook(r,s)}}function mv(){return hv()}function Ti(i={},t=mv){const n=t();fv(i,n);const r=function(s,a){const o=a.value;if(a.oldValue===o)return;const l=`${o}`,u=a.arg,d=i.namedConfigurations,f=i.default??{};if(d&&u!==void 0){s.innerHTML=n.sanitize(l,d[u]??f);return}s.innerHTML=n.sanitize(l,f)};return{mounted:r,updated:r}}const pv={class:"o-meeting-playback-subtitles"},gv={class:"search-captions"},vv={key:0,class:"suffix-box"},yv={class:"right-handle"},Cv=["onClick"],bv={class:"info"},Tv={class:"num"},kv={class:"speaker"},Ev={class:"start-time"},xv={class:"text"},_v={key:1},Av=e.defineComponent({__name:"OMeetingPlaybackSubtitles",props:{captions:{default:()=>[]},instance:{},trackIdx:{}},setup(i){const t=Ti(),n=i,{t:r}=xe.useI18n(),s=e.computed(()=>n.trackIdx),a=e.ref(),o=e.ref(!1),l=()=>{o.value=!0},u=ct.useDebounceFn(()=>{o.value=!1},3e3);e.watch(()=>o.value,I=>{I&&u()});const d=e.ref([]);e.watch(()=>n.captions,()=>{d.value=n.captions||[],e.nextTick(()=>{var I;a.value&&((I=a.value)==null||I.scrollTo({top:0,behavior:"smooth"}))})},{immediate:!0,deep:!0});const f=I=>`00:${I.split(".")[0]}`.slice(-8),p=I=>{const q=I.split(":"),U=q[q.length-3]?parseInt(q[q.length-3]):0,G=parseInt(q[q.length-2]),z=parseFloat(q[q.length-1]);return U*60*60+G*60+z};e.onMounted(()=>{var I;a.value=document.querySelector("#captionsScrollDom > .o-scroller-container"),(I=a.value)==null||I.addEventListener("wheel",l)}),e.watch(()=>d.value,()=>{var I;a.value=document.querySelector("#captionsScrollDom > .o-scroller-container"),(I=a.value)==null||I.addEventListener("wheel",l)});const E=e.ref(0),C=()=>{},x=I=>{const q=n.instance;if(!q)return;const U=p(I);q.currentTime(U)},m=e.ref(""),g=e.ref(0),k=e.ref(0),A=e.ref([]),D=r("common.all"),O=e.computed(()=>[...new Set(n.captions.map(I=>I.speakerLabel).sort().reverse())]);e.watch(()=>s.value,()=>{var q,U;if(o.value&&m.value)return;const I=(q=a.value)==null?void 0:q.querySelectorAll(".captions-item")[s.value-1];(U=a.value)==null||U.scrollTo({top:(I==null?void 0:I.offsetTop)-16,behavior:"smooth"})}),e.onUnmounted(()=>{a.value&&a.value.removeEventListener("wheel",l)});const M=(I,q)=>{var W,R,Y,j,ae,he;const U=document.getElementsByClassName("light-keyword")[I-1],G=document.getElementsByClassName("light-keyword")[I-q];G==null||G.classList.remove("light-keyword-active"),U==null||U.classList.add("light-keyword-active");const z=U.offsetTop+U.offsetHeight<((W=a.value)==null?void 0:W.scrollTop),Z=U.offsetTop>((R=a.value)==null?void 0:R.offsetHeight)+((Y=a.value)==null?void 0:Y.scrollTop);(z||Z)&&((he=a.value)==null||he.scrollTo({top:(ae=(j=U.parentElement)==null?void 0:j.parentElement)==null?void 0:ae.offsetTop,behavior:"smooth"}))},V=()=>{!g.value||k.value===1||(k.value--,M(k.value,0))},S=I=>{I!=null&&I.shiftKey||!g.value||k.value===g.value||(k.value++,M(k.value,2))},L=I=>{d.value=n.captions.filter(q=>A.value.includes(q.speakerLabel)).map(q=>({...q,contentHtml:I?q.contentHtml.replaceAll(I,`<span class="light-keyword">${I}</span>`):q.contentHtml})),e.nextTick(()=>{var U;const q=document.getElementsByClassName("light-keyword");g.value=q.length,g.value?S():(U=a.value)==null||U.scrollTo({top:0,behavior:"smooth"})})},w=ct.useDebounceFn(L,300);e.watch(()=>m.value,I=>{k.value=0,w(I)}),e.watch(()=>O.value,I=>{A.value=I},{immediate:!0});const B=e.ref(!1),F=e.ref(!1),Q=I=>{F.value=!1,I?A.value=O.value:A.value=[]};return e.watch(()=>A.value,I=>{I.length===0?(B.value=!1,F.value=!1):I.length===O.value.length?(B.value=!0,F.value=!1):F.value=!0,w(m.value)},{deep:!0}),(I,q)=>(e.openBlock(),e.createElementBlock("div",pv,[e.createElementVNode("div",gv,[e.createVNode(e.unref(T.OInput),{modelValue:m.value,"onUpdate:modelValue":q[1]||(q[1]=U=>m.value=U),onKeydown:[e.withKeys(S,["enter"]),e.withKeys(e.withModifiers(V,["shift","stop"]),["enter"])],placeholder:e.unref(r)("meeting.searchSubtitlePlaceholder"),size:"large",class:"input-captions"},{prefix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(w2))]),_:1})]),suffix:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("div",vv,[e.createElementVNode("span",null,e.toDisplayString(k.value)+"/"+e.toDisplayString(g.value),1),e.createVNode(e.unref(T.OIcon),{onClick:V},{default:e.withCtx(()=>[e.createVNode(e.unref(N2))]),_:1}),e.createVNode(e.unref(T.OIcon),{onClick:S},{default:e.withCtx(()=>[e.createVNode(e.unref(ds))]),_:1}),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createVNode(e.unref(T.OIcon),{class:"hover-close",onClick:q[0]||(q[0]=U=>m.value="")},{default:e.withCtx(()=>[e.createVNode(e.unref(Ma))]),_:1})])):e.createCommentVNode("",!0)]),_:1},8,["modelValue","onKeydown","placeholder"]),e.createElementVNode("div",yv,[e.createVNode(e.unref(gt.ElSelect),{multiple:"",modelValue:A.value,"onUpdate:modelValue":q[3]||(q[3]=U=>A.value=U),"popper-class":"speakers-selector-popper",class:"speakers-selector",placement:"bottom"},{prefix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(M2))]),_:1})]),header:e.withCtx(()=>[e.createVNode(e.unref(gt.ElCheckbox),{modelValue:B.value,"onUpdate:modelValue":q[2]||(q[2]=U=>B.value=U),indeterminate:F.value,onChange:Q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(D)),1)]),_:1},8,["modelValue","indeterminate"])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,U=>(e.openBlock(),e.createBlock(e.unref(gt.ElOption),{key:U,label:U,value:U},{default:e.withCtx(()=>[e.createVNode(e.unref(gt.ElCheckbox),{"model-value":A.value.includes(U)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(U),1)]),_:2},1032,["model-value"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),e.createVNode(e.unref(T.OTab),{modelValue:E.value,"onUpdate:modelValue":q[4]||(q[4]=U=>E.value=U),variant:"text",class:"captions-tab",onChange:C,"max-show":9999},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTabPane),{value:0,label:e.unref(r)("meeting.audioToText")},{default:e.withCtx(()=>[d.value.length?(e.openBlock(),e.createBlock(e.unref(T.OScroller),{key:0,id:"captionsScrollDom",class:"captions-scroller","show-type":"hover",size:"small","disabled-x":""},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORow),{gap:"0 8px",wrap:"wrap"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(U,G)=>(e.openBlock(),e.createBlock(e.unref(T.OCol),{flex:"0 0 100%",key:G},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["captions-item",{"captions-item-active":s.value===G+1}]),onClick:z=>x(U.start_time)},[e.createElementVNode("div",bv,[e.createElementVNode("div",Tv,e.toDisplayString(U.speakerIdx),1),e.createElementVNode("div",kv,e.toDisplayString(U.speakerLabel),1),e.createElementVNode("div",Ev,e.toDisplayString(f(U.start_time)),1),s.value===G+1?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"playing initial-fill"},{default:e.withCtx(()=>[e.createVNode(e.unref(x2))]),_:1})):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("div",xv,null,512),[[e.unref(t),U.contentHtml]])],10,Cv)]),_:2},1024))),128))]),_:1})]),_:1})):(e.openBlock(),e.createElementBlock("div",_v,[e.renderSlot(I.$slots,"empty")]))]),_:3},8,["label"])]),_:3},8,["modelValue"])]))}});var So,zc;function Ra(){if(zc)return So;zc=1;var i;return typeof window<"u"?i=window:typeof ca<"u"?i=ca:typeof self<"u"?i=self:i={},So=i,So}var wv=Ra();const J=Tr(wv),Sv={},Dv=Object.freeze(Object.defineProperty({__proto__:null,default:Sv},Symbol.toStringTag,{value:"Module"})),Bv=mg(Dv);var Do,Hc;function Ch(){if(Hc)return Do;Hc=1;var i=typeof ca<"u"?ca:typeof window<"u"?window:{},t=Bv,n;return typeof document<"u"?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"],n||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=t)),Do=n,Do}var Vv=Ch();const De=Tr(Vv);var Gs={exports:{}},Bo={exports:{}},jc;function Nv(){return jc||(jc=1,(function(i){function t(){return i.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var a in s)({}).hasOwnProperty.call(s,a)&&(n[a]=s[a])}return n},i.exports.__esModule=!0,i.exports.default=i.exports,t.apply(null,arguments)}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(Bo)),Bo.exports}var Vo,Xc;function Iv(){if(Xc)return Vo;Xc=1,Vo=t;var i=Object.prototype.toString;function t(n){if(!n)return!1;var r=i.call(n);return r==="[object Function]"||typeof n=="function"&&r!=="[object RegExp]"||typeof window<"u"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}return Vo}var No,Gc;function Ov(){if(Gc)return No;Gc=1;function i(s,a){var o=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(o)return(o=o.call(s)).next.bind(o);if(Array.isArray(s)||(o=t(s))||a){o&&(s=o);var l=0;return function(){return l>=s.length?{done:!0}:{done:!1,value:s[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function t(s,a){if(s){if(typeof s=="string")return n(s,a);var o=Object.prototype.toString.call(s).slice(8,-1);if(o==="Object"&&s.constructor&&(o=s.constructor.name),o==="Map"||o==="Set")return Array.from(s);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(s,a)}}function n(s,a){(a==null||a>s.length)&&(a=s.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=s[o];return l}var r=(function(){function s(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var a=s.prototype;return a.getIsEnabled=function(){return this.enabled_},a.enable=function(){this.enabled_=!0},a.disable=function(){this.enabled_=!1},a.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},a.addInterceptor=function(l,u){this.typeToInterceptorsMap_.has(l)||this.typeToInterceptorsMap_.set(l,new Set);var d=this.typeToInterceptorsMap_.get(l);return d.has(u)?!1:(d.add(u),!0)},a.removeInterceptor=function(l,u){var d=this.typeToInterceptorsMap_.get(l);return d&&d.has(u)?(d.delete(u),!0):!1},a.clearInterceptorsByType=function(l){var u=this.typeToInterceptorsMap_.get(l);return u?(this.typeToInterceptorsMap_.delete(l),this.typeToInterceptorsMap_.set(l,new Set),!0):!1},a.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},a.getForType=function(l){return this.typeToInterceptorsMap_.get(l)||new Set},a.execute=function(l,u){for(var d=this.getForType(l),f=i(d),p;!(p=f()).done;){var E=p.value;try{u=E(u)}catch{}}return u},s})();return No=r,No}var Io,Qc;function Pv(){if(Qc)return Io;Qc=1;var i=(function(){function n(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var r=n.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},r.getMaxAttempts=function(){return this.maxAttempts_},r.setMaxAttempts=function(a){this.maxAttempts_=a},r.getDelayFactor=function(){return this.delayFactor_},r.setDelayFactor=function(a){this.delayFactor_=a},r.getFuzzFactor=function(){return this.fuzzFactor_},r.setFuzzFactor=function(a){this.fuzzFactor_=a},r.getInitialDelay=function(){return this.initialDelay_},r.setInitialDelay=function(a){this.initialDelay_=a},r.createRetry=function(a){var o=a===void 0?{}:a,l=o.maxAttempts,u=o.delayFactor,d=o.fuzzFactor,f=o.initialDelay;return new t({maxAttempts:l||this.maxAttempts_,delayFactor:u||this.delayFactor_,fuzzFactor:d||this.fuzzFactor_,initialDelay:f||this.initialDelay_})},n})(),t=(function(){function n(s){this.maxAttempts_=s.maxAttempts,this.delayFactor_=s.delayFactor,this.fuzzFactor_=s.fuzzFactor,this.currentDelay_=s.initialDelay,this.currentAttempt_=1}var r=n.prototype;return r.moveToNextAttempt=function(){this.currentAttempt_++;var a=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+a},r.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},r.getCurrentDelay=function(){return this.currentDelay_},r.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},r.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},r.getCurrentFuzzedDelay=function(){var a=this.getCurrentMinPossibleDelay(),o=this.getCurrentMaxPossibleDelay();return a+Math.random()*(o-a)},n})();return Io=i,Io}var Oo,Yc;function Lv(){if(Yc)return Oo;Yc=1;var i=Ra(),t=function(s,a){return a===void 0&&(a=!1),function(o,l,u){if(o){s(o);return}if(l.statusCode>=400&&l.statusCode<=599){var d=u;if(a)if(i.TextDecoder){var f=n(l.headers&&l.headers["content-type"]);try{d=new TextDecoder(f).decode(u)}catch{}}else d=String.fromCharCode.apply(null,new Uint8Array(u));s({cause:d});return}s(null,u)}};function n(r){return r===void 0&&(r=""),r.toLowerCase().split(";").reduce(function(s,a){var o=a.split("="),l=o[0],u=o[1];return l.trim()==="charset"?u.trim():s},"utf-8")}return Oo=t,Oo}var Kc;function Mv(){if(Kc)return Gs.exports;Kc=1;var i=Ra(),t=Nv(),n=Iv(),r=Ov(),s=Pv();d.httpHandler=Lv(),d.requestInterceptorsStorage=new r,d.responseInterceptorsStorage=new r,d.retryManager=new s;/**
8
+ * @license
9
+ * slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
10
+ * Copyright (c) 2014 David Björklund
11
+ * Available under the MIT license
12
+ * <https://github.com/kesla/parse-headers/blob/master/LICENCE>
13
+ */var a=function(x){var m={};return x&&x.trim().split(`
14
+ `).forEach(function(g){var k=g.indexOf(":"),A=g.slice(0,k).trim().toLowerCase(),D=g.slice(k+1).trim();typeof m[A]>"u"?m[A]=D:Array.isArray(m[A])?m[A].push(D):m[A]=[m[A],D]}),m};Gs.exports=d,Gs.exports.default=d,d.XMLHttpRequest=i.XMLHttpRequest||E,d.XDomainRequest="withCredentials"in new d.XMLHttpRequest?d.XMLHttpRequest:i.XDomainRequest,o(["get","put","post","patch","head","delete"],function(C){d[C==="delete"?"del":C]=function(x,m,g){return m=u(x,m,g),m.method=C.toUpperCase(),f(m)}});function o(C,x){for(var m=0;m<C.length;m++)x(C[m])}function l(C){for(var x in C)if(C.hasOwnProperty(x))return!1;return!0}function u(C,x,m){var g=C;return n(x)?(m=x,typeof C=="string"&&(g={uri:C})):g=t({},x,{uri:C}),g.callback=m,g}function d(C,x,m){return x=u(C,x,m),f(x)}function f(C){if(typeof C.callback>"u")throw new Error("callback argument missing");if(C.requestType&&d.requestInterceptorsStorage.getIsEnabled()){var x={uri:C.uri||C.url,headers:C.headers||{},body:C.body,metadata:C.metadata||{},retry:C.retry,timeout:C.timeout},m=d.requestInterceptorsStorage.execute(C.requestType,x);C.uri=m.uri,C.headers=m.headers,C.body=m.body,C.metadata=m.metadata,C.retry=m.retry,C.timeout=m.timeout}var g=!1,k=function(Z,W,R){g||(g=!0,C.callback(Z,W,R))};function A(){V.readyState===4&&!d.responseInterceptorsStorage.getIsEnabled()&&setTimeout(M,0)}function D(){var z=void 0;if(V.response?z=V.response:z=V.responseText||p(V),q)try{z=JSON.parse(z)}catch{}return z}function O(z){if(clearTimeout(U),clearTimeout(C.retryTimeout),z instanceof Error||(z=new Error(""+(z||"Unknown XMLHttpRequest Error"))),z.statusCode=0,!L&&d.retryManager.getIsEnabled()&&C.retry&&C.retry.shouldRetry()){C.retryTimeout=setTimeout(function(){C.retry.moveToNextAttempt(),C.xhr=V,f(C)},C.retry.getCurrentFuzzedDelay());return}if(C.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var Z={headers:G.headers||{},body:G.body,responseUrl:V.responseURL,responseType:V.responseType},W=d.responseInterceptorsStorage.execute(C.requestType,Z);G.body=W.body,G.headers=W.headers}return k(z,G)}function M(){if(!L){var z;clearTimeout(U),clearTimeout(C.retryTimeout),C.useXDR&&V.status===void 0?z=200:z=V.status===1223?204:V.status;var Z=G,W=null;if(z!==0?(Z={body:D(),statusCode:z,method:B,headers:{},url:w,rawRequest:V},V.getAllResponseHeaders&&(Z.headers=a(V.getAllResponseHeaders()))):W=new Error("Internal XMLHttpRequest Error"),C.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var R={headers:Z.headers||{},body:Z.body,responseUrl:V.responseURL,responseType:V.responseType},Y=d.responseInterceptorsStorage.execute(C.requestType,R);Z.body=Y.body,Z.headers=Y.headers}return k(W,Z,Z.body)}}var V=C.xhr||null;V||(C.cors||C.useXDR?V=new d.XDomainRequest:V=new d.XMLHttpRequest);var S,L,w=V.url=C.uri||C.url,B=V.method=C.method||"GET",F=C.body||C.data,Q=V.headers=C.headers||{},I=!!C.sync,q=!1,U,G={body:void 0,headers:{},statusCode:0,method:B,url:w,rawRequest:V};if("json"in C&&C.json!==!1&&(q=!0,Q.accept||Q.Accept||(Q.Accept="application/json"),B!=="GET"&&B!=="HEAD"&&(Q["content-type"]||Q["Content-Type"]||(Q["Content-Type"]="application/json"),F=JSON.stringify(C.json===!0?F:C.json))),V.onreadystatechange=A,V.onload=M,V.onerror=O,V.onprogress=function(){},V.onabort=function(){L=!0,clearTimeout(C.retryTimeout)},V.ontimeout=O,V.open(B,w,!I,C.username,C.password),I||(V.withCredentials=!!C.withCredentials),!I&&C.timeout>0&&(U=setTimeout(function(){if(!L){L=!0,V.abort("timeout");var z=new Error("XMLHttpRequest timeout");z.code="ETIMEDOUT",O(z)}},C.timeout)),V.setRequestHeader)for(S in Q)Q.hasOwnProperty(S)&&V.setRequestHeader(S,Q[S]);else if(C.headers&&!l(C.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in C&&(V.responseType=C.responseType),"beforeSend"in C&&typeof C.beforeSend=="function"&&C.beforeSend(V),V.send(F||null),V}function p(C){try{if(C.responseType==="document")return C.responseXML;var x=C.responseXML&&C.responseXML.documentElement.nodeName==="parsererror";if(C.responseType===""&&!x)return C.responseXML}catch{}return null}function E(){}return Gs.exports}var Rv=Mv();const bh=Tr(Rv);var Po={exports:{}},Lo,Wc;function qv(){if(Wc)return Lo;Wc=1;var i=Ch(),t=Object.create||(function(){function w(){}return function(B){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return w.prototype=B,new w}})();function n(w,B){this.name="ParsingError",this.code=w.code,this.message=B||w.message}n.prototype=t(Error.prototype),n.prototype.constructor=n,n.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function r(w){function B(Q,I,q,U){return(Q|0)*3600+(I|0)*60+(q|0)+(U|0)/1e3}var F=w.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return F?F[3]?B(F[1],F[2],F[3].replace(":",""),F[4]):F[1]>59?B(F[1],F[2],0,F[4]):B(0,F[1],F[2],F[4]):null}function s(){this.values=t(null)}s.prototype={set:function(w,B){!this.get(w)&&B!==""&&(this.values[w]=B)},get:function(w,B,F){return F?this.has(w)?this.values[w]:B[F]:this.has(w)?this.values[w]:B},has:function(w){return w in this.values},alt:function(w,B,F){for(var Q=0;Q<F.length;++Q)if(B===F[Q]){this.set(w,B);break}},integer:function(w,B){/^-?\d+$/.test(B)&&this.set(w,parseInt(B,10))},percent:function(w,B){return B.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(B=parseFloat(B),B>=0&&B<=100)?(this.set(w,B),!0):!1}};function a(w,B,F,Q){var I=Q?w.split(Q):[w];for(var q in I)if(typeof I[q]=="string"){var U=I[q].split(F);if(U.length===2){var G=U[0].trim(),z=U[1].trim();B(G,z)}}}function o(w,B,F){var Q=w;function I(){var G=r(w);if(G===null)throw new n(n.Errors.BadTimeStamp,"Malformed timestamp: "+Q);return w=w.replace(/^[^\sa-zA-Z-]+/,""),G}function q(G,z){var Z=new s;a(G,function(W,R){switch(W){case"region":for(var Y=F.length-1;Y>=0;Y--)if(F[Y].id===R){Z.set(W,F[Y].region);break}break;case"vertical":Z.alt(W,R,["rl","lr"]);break;case"line":var j=R.split(","),ae=j[0];Z.integer(W,ae),Z.percent(W,ae)&&Z.set("snapToLines",!1),Z.alt(W,ae,["auto"]),j.length===2&&Z.alt("lineAlign",j[1],["start","center","end"]);break;case"position":j=R.split(","),Z.percent(W,j[0]),j.length===2&&Z.alt("positionAlign",j[1],["start","center","end"]);break;case"size":Z.percent(W,R);break;case"align":Z.alt(W,R,["start","center","end","left","right"]);break}},/:/,/\s/),z.region=Z.get("region",null),z.vertical=Z.get("vertical","");try{z.line=Z.get("line","auto")}catch{}z.lineAlign=Z.get("lineAlign","start"),z.snapToLines=Z.get("snapToLines",!0),z.size=Z.get("size",100);try{z.align=Z.get("align","center")}catch{z.align=Z.get("align","middle")}try{z.position=Z.get("position","auto")}catch{z.position=Z.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},z.align)}z.positionAlign=Z.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},z.align)}function U(){w=w.replace(/^\s+/,"")}if(U(),B.startTime=I(),U(),w.substr(0,3)!=="-->")throw new n(n.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+Q);w=w.substr(3),U(),B.endTime=I(),U(),q(w,B)}var l=i.createElement&&i.createElement("textarea"),u={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},p={rt:"ruby"};function E(w,B){function F(){if(!B)return null;function ae(ue){return B=B.substr(ue.length),ue}var he=B.match(/^([^<]*)(<[^>]*>?)?/);return ae(he[1]?he[1]:he[2])}function Q(ae){return l.innerHTML=ae,ae=l.textContent,l.textContent="",ae}function I(ae,he){return!p[he.localName]||p[he.localName]===ae.localName}function q(ae,he){var ue=u[ae];if(!ue)return null;var be=w.document.createElement(ue),ne=f[ae];return ne&&he&&(be[ne]=he.trim()),be}for(var U=w.document.createElement("div"),G=U,z,Z=[];(z=F())!==null;){if(z[0]==="<"){if(z[1]==="/"){Z.length&&Z[Z.length-1]===z.substr(2).replace(">","")&&(Z.pop(),G=G.parentNode);continue}var W=r(z.substr(1,z.length-2)),R;if(W){R=w.document.createProcessingInstruction("timestamp",W),G.appendChild(R);continue}var Y=z.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!Y||(R=q(Y[1],Y[3]),!R)||!I(G,R))continue;if(Y[2]){var j=Y[2].split(".");j.forEach(function(ae){var he=/^bg_/.test(ae),ue=he?ae.slice(3):ae;if(d.hasOwnProperty(ue)){var be=he?"background-color":"color",ne=d[ue];R.style[be]=ne}}),R.className=j.join(" ")}Z.push(Y[1]),G.appendChild(R),G=R;continue}G.appendChild(w.document.createTextNode(Q(z)))}return U}var C=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function x(w){for(var B=0;B<C.length;B++){var F=C[B];if(w>=F[0]&&w<=F[1])return!0}return!1}function m(w){var B=[],F="",Q;if(!w||!w.childNodes)return"ltr";function I(G,z){for(var Z=z.childNodes.length-1;Z>=0;Z--)G.push(z.childNodes[Z])}function q(G){if(!G||!G.length)return null;var z=G.pop(),Z=z.textContent||z.innerText;if(Z){var W=Z.match(/^.*(\n|\r)/);return W?(G.length=0,W[0]):Z}if(z.tagName==="ruby")return q(G);if(z.childNodes)return I(G,z),q(G)}for(I(B,w);F=q(B);)for(var U=0;U<F.length;U++)if(Q=F.charCodeAt(U),x(Q))return"rtl";return"ltr"}function g(w){if(typeof w.line=="number"&&(w.snapToLines||w.line>=0&&w.line<=100))return w.line;if(!w.track||!w.track.textTrackList||!w.track.textTrackList.mediaElement)return-1;for(var B=w.track,F=B.textTrackList,Q=0,I=0;I<F.length&&F[I]!==B;I++)F[I].mode==="showing"&&Q++;return++Q*-1}function k(){}k.prototype.applyStyles=function(w,B){B=B||this.div;for(var F in w)w.hasOwnProperty(F)&&(B.style[F]=w[F])},k.prototype.formatStyle=function(w,B){return w===0?0:w+B};function A(w,B,F){k.call(this),this.cue=B,this.cueDiv=E(w,B.text);var Q={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:B.vertical===""?"horizontal-tb":B.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(Q,this.cueDiv),this.div=w.document.createElement("div"),Q={direction:m(this.cueDiv),writingMode:B.vertical===""?"horizontal-tb":B.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:B.align==="middle"?"center":B.align,font:F.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(Q),this.div.appendChild(this.cueDiv);var I=0;switch(B.positionAlign){case"start":case"line-left":I=B.position;break;case"center":I=B.position-B.size/2;break;case"end":case"line-right":I=B.position-B.size;break}B.vertical===""?this.applyStyles({left:this.formatStyle(I,"%"),width:this.formatStyle(B.size,"%")}):this.applyStyles({top:this.formatStyle(I,"%"),height:this.formatStyle(B.size,"%")}),this.move=function(q){this.applyStyles({top:this.formatStyle(q.top,"px"),bottom:this.formatStyle(q.bottom,"px"),left:this.formatStyle(q.left,"px"),right:this.formatStyle(q.right,"px"),height:this.formatStyle(q.height,"px"),width:this.formatStyle(q.width,"px")})}}A.prototype=t(k.prototype),A.prototype.constructor=A;function D(w){var B,F,Q,I;if(w.div){F=w.div.offsetHeight,Q=w.div.offsetWidth,I=w.div.offsetTop;var q=(q=w.div.childNodes)&&(q=q[0])&&q.getClientRects&&q.getClientRects();w=w.div.getBoundingClientRect(),B=q?Math.max(q[0]&&q[0].height||0,w.height/q.length):0}this.left=w.left,this.right=w.right,this.top=w.top||I,this.height=w.height||F,this.bottom=w.bottom||I+(w.height||F),this.width=w.width||Q,this.lineHeight=B!==void 0?B:w.lineHeight}D.prototype.move=function(w,B){switch(B=B!==void 0?B:this.lineHeight,w){case"+x":this.left+=B,this.right+=B;break;case"-x":this.left-=B,this.right-=B;break;case"+y":this.top+=B,this.bottom+=B;break;case"-y":this.top-=B,this.bottom-=B;break}},D.prototype.overlaps=function(w){return this.left<w.right&&this.right>w.left&&this.top<w.bottom&&this.bottom>w.top},D.prototype.overlapsAny=function(w){for(var B=0;B<w.length;B++)if(this.overlaps(w[B]))return!0;return!1},D.prototype.within=function(w){return this.top>=w.top&&this.bottom<=w.bottom&&this.left>=w.left&&this.right<=w.right},D.prototype.overlapsOppositeAxis=function(w,B){switch(B){case"+x":return this.left<w.left;case"-x":return this.right>w.right;case"+y":return this.top<w.top;case"-y":return this.bottom>w.bottom}},D.prototype.intersectPercentage=function(w){var B=Math.max(0,Math.min(this.right,w.right)-Math.max(this.left,w.left)),F=Math.max(0,Math.min(this.bottom,w.bottom)-Math.max(this.top,w.top)),Q=B*F;return Q/(this.height*this.width)},D.prototype.toCSSCompatValues=function(w){return{top:this.top-w.top,bottom:w.bottom-this.bottom,left:this.left-w.left,right:w.right-this.right,height:this.height,width:this.width}},D.getSimpleBoxPosition=function(w){var B=w.div?w.div.offsetHeight:w.tagName?w.offsetHeight:0,F=w.div?w.div.offsetWidth:w.tagName?w.offsetWidth:0,Q=w.div?w.div.offsetTop:w.tagName?w.offsetTop:0;w=w.div?w.div.getBoundingClientRect():w.tagName?w.getBoundingClientRect():w;var I={left:w.left,right:w.right,top:w.top||Q,height:w.height||B,bottom:w.bottom||Q+(w.height||B),width:w.width||F};return I};function O(w,B,F,Q){function I(ue,be){for(var ne,Ce=new D(ue),le=1,_e=0;_e<be.length;_e++){for(;ue.overlapsOppositeAxis(F,be[_e])||ue.within(F)&&ue.overlapsAny(Q);)ue.move(be[_e]);if(ue.within(F))return ue;var qe=ue.intersectPercentage(F);le>qe&&(ne=new D(ue),le=qe),ue=new D(Ce)}return ne||Ce}var q=new D(B),U=B.cue,G=g(U),z=[];if(U.snapToLines){var Z;switch(U.vertical){case"":z=["+y","-y"],Z="height";break;case"rl":z=["+x","-x"],Z="width";break;case"lr":z=["-x","+x"],Z="width";break}var W=q.lineHeight,R=W*Math.round(G),Y=F[Z]+W,j=z[0];Math.abs(R)>Y&&(R=R<0?-1:1,R*=Math.ceil(Y/W)*W),G<0&&(R+=U.vertical===""?F.height:F.width,z=z.reverse()),q.move(j,R)}else{var ae=q.lineHeight/F.height*100;switch(U.lineAlign){case"center":G-=ae/2;break;case"end":G-=ae;break}switch(U.vertical){case"":B.applyStyles({top:B.formatStyle(G,"%")});break;case"rl":B.applyStyles({left:B.formatStyle(G,"%")});break;case"lr":B.applyStyles({right:B.formatStyle(G,"%")});break}z=["+y","-x","+x","-y"],q=new D(B)}var he=I(q,z);B.move(he.toCSSCompatValues(F))}function M(){}M.StringDecoder=function(){return{decode:function(w){if(!w)return"";if(typeof w!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(w))}}},M.convertCueToDOMTree=function(w,B){return!w||!B?null:E(w,B)};var V=.05,S="sans-serif",L="1.5%";return M.processCues=function(w,B,F){if(!w||!B||!F)return null;for(;F.firstChild;)F.removeChild(F.firstChild);var Q=w.document.createElement("div");Q.style.position="absolute",Q.style.left="0",Q.style.right="0",Q.style.top="0",Q.style.bottom="0",Q.style.margin=L,F.appendChild(Q);function I(W){for(var R=0;R<W.length;R++)if(W[R].hasBeenReset||!W[R].displayState)return!0;return!1}if(!I(B)){for(var q=0;q<B.length;q++)Q.appendChild(B[q].displayState);return}var U=[],G=D.getSimpleBoxPosition(Q),z=Math.round(G.height*V*100)/100,Z={font:z+"px "+S};(function(){for(var W,R,Y=0;Y<B.length;Y++)R=B[Y],W=new A(w,R,Z),Q.appendChild(W.div),O(w,W,G,U),R.displayState=W.div,U.push(D.getSimpleBoxPosition(W))})()},M.Parser=function(w,B,F){F||(F=B,B={}),B||(B={}),this.window=w,this.vttjs=B,this.state="INITIAL",this.buffer="",this.decoder=F||new TextDecoder("utf8"),this.regionList=[]},M.Parser.prototype={reportOrThrowError:function(w){if(w instanceof n)this.onparsingerror&&this.onparsingerror(w);else throw w},parse:function(w){var B=this;w&&(B.buffer+=B.decoder.decode(w,{stream:!0}));function F(){for(var W=B.buffer,R=0;R<W.length&&W[R]!=="\r"&&W[R]!==`
15
+ `;)++R;var Y=W.substr(0,R);return W[R]==="\r"&&++R,W[R]===`
16
+ `&&++R,B.buffer=W.substr(R),Y}function Q(W){var R=new s;if(a(W,function(j,ae){switch(j){case"id":R.set(j,ae);break;case"width":R.percent(j,ae);break;case"lines":R.integer(j,ae);break;case"regionanchor":case"viewportanchor":var he=ae.split(",");if(he.length!==2)break;var ue=new s;if(ue.percent("x",he[0]),ue.percent("y",he[1]),!ue.has("x")||!ue.has("y"))break;R.set(j+"X",ue.get("x")),R.set(j+"Y",ue.get("y"));break;case"scroll":R.alt(j,ae,["up"]);break}},/=/,/\s/),R.has("id")){var Y=new(B.vttjs.VTTRegion||B.window.VTTRegion);Y.width=R.get("width",100),Y.lines=R.get("lines",3),Y.regionAnchorX=R.get("regionanchorX",0),Y.regionAnchorY=R.get("regionanchorY",100),Y.viewportAnchorX=R.get("viewportanchorX",0),Y.viewportAnchorY=R.get("viewportanchorY",100),Y.scroll=R.get("scroll",""),B.onregion&&B.onregion(Y),B.regionList.push({id:R.get("id"),region:Y})}}function I(W){var R=new s;a(W,function(Y,j){switch(Y){case"MPEGT":R.integer(Y+"S",j);break;case"LOCA":R.set(Y+"L",r(j));break}},/[^\d]:/,/,/),B.ontimestampmap&&B.ontimestampmap({MPEGTS:R.get("MPEGTS"),LOCAL:R.get("LOCAL")})}function q(W){W.match(/X-TIMESTAMP-MAP/)?a(W,function(R,Y){switch(R){case"X-TIMESTAMP-MAP":I(Y);break}},/=/):a(W,function(R,Y){switch(R){case"Region":Q(Y);break}},/:/)}try{var U;if(B.state==="INITIAL"){if(!/\r\n|\n/.test(B.buffer))return this;U=F();var G=U.match(/^WEBVTT([ \t].*)?$/);if(!G||!G[0])throw new n(n.Errors.BadSignature);B.state="HEADER"}for(var z=!1;B.buffer;){if(!/\r\n|\n/.test(B.buffer))return this;switch(z?z=!1:U=F(),B.state){case"HEADER":/:/.test(U)?q(U):U||(B.state="ID");continue;case"NOTE":U||(B.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(U)){B.state="NOTE";break}if(!U)continue;B.cue=new(B.vttjs.VTTCue||B.window.VTTCue)(0,0,"");try{B.cue.align="center"}catch{B.cue.align="middle"}if(B.state="CUE",U.indexOf("-->")===-1){B.cue.id=U;continue}case"CUE":try{o(U,B.cue,B.regionList)}catch(W){B.reportOrThrowError(W),B.cue=null,B.state="BADCUE";continue}B.state="CUETEXT";continue;case"CUETEXT":var Z=U.indexOf("-->")!==-1;if(!U||Z&&(z=!0)){B.oncue&&B.oncue(B.cue),B.cue=null,B.state="ID";continue}B.cue.text&&(B.cue.text+=`
17
+ `),B.cue.text+=U.replace(/\u2028/g,`
18
+ `).replace(/u2029/g,`
19
+ `);continue;case"BADCUE":U||(B.state="ID");continue}}}catch(W){B.reportOrThrowError(W),B.state==="CUETEXT"&&B.cue&&B.oncue&&B.oncue(B.cue),B.cue=null,B.state=B.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var w=this;try{if(w.buffer+=w.decoder.decode(),(w.cue||w.state==="HEADER")&&(w.buffer+=`
20
+
21
+ `,w.parse()),w.state==="INITIAL")throw new n(n.Errors.BadSignature)}catch(B){w.reportOrThrowError(B)}return w.onflush&&w.onflush(),this}},Lo=M,Lo}var Mo,Jc;function Fv(){if(Jc)return Mo;Jc=1;var i="auto",t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(o){if(typeof o!="string")return!1;var l=t[o.toLowerCase()];return l?o.toLowerCase():!1}function s(o){if(typeof o!="string")return!1;var l=n[o.toLowerCase()];return l?o.toLowerCase():!1}function a(o,l,u){this.hasBeenReset=!1;var d="",f=!1,p=o,E=l,C=u,x=null,m="",g=!0,k="auto",A="start",D="auto",O="auto",M=100,V="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return d},set:function(S){d=""+S}},pauseOnExit:{enumerable:!0,get:function(){return f},set:function(S){f=!!S}},startTime:{enumerable:!0,get:function(){return p},set:function(S){if(typeof S!="number")throw new TypeError("Start time must be set to a number.");p=S,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return E},set:function(S){if(typeof S!="number")throw new TypeError("End time must be set to a number.");E=S,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return C},set:function(S){C=""+S,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return x},set:function(S){x=S,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return m},set:function(S){var L=r(S);if(L===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");m=L,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return g},set:function(S){g=!!S,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return k},set:function(S){if(typeof S!="number"&&S!==i)throw new SyntaxError("Line: an invalid number or illegal string was specified.");k=S,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return A},set:function(S){var L=s(S);L?(A=L,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return D},set:function(S){if(S<0||S>100)throw new Error("Position must be between 0 and 100.");D=S,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return O},set:function(S){var L=s(S);L?(O=L,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return M},set:function(S){if(S<0||S>100)throw new Error("Size must be between 0 and 100.");M=S,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return V},set:function(S){var L=s(S);if(!L)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");V=L,this.hasBeenReset=!0}}}),this.displayState=void 0}return a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},Mo=a,Mo}var Ro,Zc;function Uv(){if(Zc)return Ro;Zc=1;var i={"":!0,up:!0};function t(s){if(typeof s!="string")return!1;var a=i[s.toLowerCase()];return a?s.toLowerCase():!1}function n(s){return typeof s=="number"&&s>=0&&s<=100}function r(){var s=100,a=3,o=0,l=100,u=0,d=100,f="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return s},set:function(p){if(!n(p))throw new Error("Width must be between 0 and 100.");s=p}},lines:{enumerable:!0,get:function(){return a},set:function(p){if(typeof p!="number")throw new TypeError("Lines must be set to a number.");a=p}},regionAnchorY:{enumerable:!0,get:function(){return l},set:function(p){if(!n(p))throw new Error("RegionAnchorX must be between 0 and 100.");l=p}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(p){if(!n(p))throw new Error("RegionAnchorY must be between 0 and 100.");o=p}},viewportAnchorY:{enumerable:!0,get:function(){return d},set:function(p){if(!n(p))throw new Error("ViewportAnchorY must be between 0 and 100.");d=p}},viewportAnchorX:{enumerable:!0,get:function(){return u},set:function(p){if(!n(p))throw new Error("ViewportAnchorX must be between 0 and 100.");u=p}},scroll:{enumerable:!0,get:function(){return f},set:function(p){var E=t(p);E===!1?console.warn("Scroll: an invalid or illegal string was specified."):f=E}}})}return Ro=r,Ro}var $c;function zv(){if($c)return Po.exports;$c=1;var i=Ra(),t=Po.exports={WebVTT:qv(),VTTCue:Fv(),VTTRegion:Uv()};i.vttjs=t,i.WebVTT=t.WebVTT;var n=t.VTTCue,r=t.VTTRegion,s=i.VTTCue,a=i.VTTRegion;return t.shim=function(){i.VTTCue=n,i.VTTRegion=r},t.restore=function(){i.VTTCue=s,i.VTTRegion=a},i.VTTCue||t.shim(),Po.exports}var Hv=zv();const ed=Tr(Hv);function Et(){return Et=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(i[r]=n[r])}return i},Et.apply(null,arguments)}var td="https://example.com",qa=function(t,n){if(/^[a-z]+:/i.test(n))return n;/^data:/.test(t)&&(t=J.location&&J.location.href||"");var r=/^\/\//.test(t),s=!J.location&&!/\/\//i.test(t);t=new J.URL(t,J.location||td);var a=new URL(n,t);return s?a.href.slice(td.length):r?a.href.slice(a.protocol.length):a.href},tu=(function(){function i(){this.listeners={}}var t=i.prototype;return t.on=function(r,s){this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push(s)},t.off=function(r,s){if(!this.listeners[r])return!1;var a=this.listeners[r].indexOf(s);return this.listeners[r]=this.listeners[r].slice(0),this.listeners[r].splice(a,1),a>-1},t.trigger=function(r){var s=this.listeners[r];if(s)if(arguments.length===2)for(var a=s.length,o=0;o<a;++o)s[o].call(this,arguments[1]);else for(var l=Array.prototype.slice.call(arguments,1),u=s.length,d=0;d<u;++d)s[d].apply(this,l)},t.dispose=function(){this.listeners={}},t.pipe=function(r){this.on("data",function(s){r.push(s)})},i})(),jv=function(t){return J.atob?J.atob(t):Buffer.from(t,"base64").toString("binary")};function Th(i){for(var t=jv(i),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */class Xv extends tu{constructor(){super(),this.buffer=""}push(t){let n;for(this.buffer+=t,n=this.buffer.indexOf(`
22
+ `);n>-1;n=this.buffer.indexOf(`
23
+ `))this.trigger("data",this.buffer.substring(0,n)),this.buffer=this.buffer.substring(n+1)}}const Gv=" ",qo=function(i){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(i||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},Qv=function(){const n="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+n+")")},Zt=function(i){const t={};if(!i)return t;const n=i.split(Qv());let r=n.length,s;for(;r--;)n[r]!==""&&(s=/([^=]*)=(.*)/.exec(n[r]).slice(1),s[0]=s[0].replace(/^\s+|\s+$/g,""),s[1]=s[1].replace(/^\s+|\s+$/g,""),s[1]=s[1].replace(/^['"](.*)['"]$/g,"$1"),t[s[0]]=s[1]);return t},nd=i=>{const t=i.split("x"),n={};return t[0]&&(n.width=parseInt(t[0],10)),t[1]&&(n.height=parseInt(t[1],10)),n};class Yv extends tu{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let n,r;if(t=t.trim(),t.length===0)return;if(t[0]!=="#"){this.trigger("data",{type:"uri",uri:t});return}this.tagMappers.reduce((a,o)=>{const l=o(t);return l===t?a:a.concat([l])},[t]).forEach(a=>{for(let o=0;o<this.customParsers.length;o++)if(this.customParsers[o].call(this,a))return;if(a.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:a.slice(1)});return}if(a=a.replace("\r",""),n=/^#EXTM3U/.exec(a),n){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(n=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(a),n){r={type:"tag",tagType:"inf"},n[1]&&(r.duration=parseFloat(n[1])),n[2]&&(r.title=n[2]),this.trigger("data",r);return}if(n=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(a),n){r={type:"tag",tagType:"targetduration"},n[1]&&(r.duration=parseInt(n[1],10)),this.trigger("data",r);return}if(n=/^#EXT-X-VERSION:([0-9.]*)?/.exec(a),n){r={type:"tag",tagType:"version"},n[1]&&(r.version=parseInt(n[1],10)),this.trigger("data",r);return}if(n=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(a),n){r={type:"tag",tagType:"media-sequence"},n[1]&&(r.number=parseInt(n[1],10)),this.trigger("data",r);return}if(n=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(a),n){r={type:"tag",tagType:"discontinuity-sequence"},n[1]&&(r.number=parseInt(n[1],10)),this.trigger("data",r);return}if(n=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(a),n){r={type:"tag",tagType:"playlist-type"},n[1]&&(r.playlistType=n[1]),this.trigger("data",r);return}if(n=/^#EXT-X-BYTERANGE:(.*)?$/.exec(a),n){r=Et(qo(n[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",r);return}if(n=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(a),n){r={type:"tag",tagType:"allow-cache"},n[1]&&(r.allowed=!/NO/.test(n[1])),this.trigger("data",r);return}if(n=/^#EXT-X-MAP:(.*)$/.exec(a),n){if(r={type:"tag",tagType:"map"},n[1]){const o=Zt(n[1]);o.URI&&(r.uri=o.URI),o.BYTERANGE&&(r.byterange=qo(o.BYTERANGE))}this.trigger("data",r);return}if(n=/^#EXT-X-STREAM-INF:(.*)$/.exec(a),n){r={type:"tag",tagType:"stream-inf"},n[1]&&(r.attributes=Zt(n[1]),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=nd(r.attributes.RESOLUTION)),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))),this.trigger("data",r);return}if(n=/^#EXT-X-MEDIA:(.*)$/.exec(a),n){r={type:"tag",tagType:"media"},n[1]&&(r.attributes=Zt(n[1])),this.trigger("data",r);return}if(n=/^#EXT-X-ENDLIST/.exec(a),n){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(n=/^#EXT-X-DISCONTINUITY/.exec(a),n){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(n=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(a),n){r={type:"tag",tagType:"program-date-time"},n[1]&&(r.dateTimeString=n[1],r.dateTimeObject=new Date(n[1])),this.trigger("data",r);return}if(n=/^#EXT-X-KEY:(.*)$/.exec(a),n){r={type:"tag",tagType:"key"},n[1]&&(r.attributes=Zt(n[1]),r.attributes.IV&&(r.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=r.attributes.IV.match(/.{8}/g),r.attributes.IV[0]=parseInt(r.attributes.IV[0],16),r.attributes.IV[1]=parseInt(r.attributes.IV[1],16),r.attributes.IV[2]=parseInt(r.attributes.IV[2],16),r.attributes.IV[3]=parseInt(r.attributes.IV[3],16),r.attributes.IV=new Uint32Array(r.attributes.IV))),this.trigger("data",r);return}if(n=/^#EXT-X-START:(.*)$/.exec(a),n){r={type:"tag",tagType:"start"},n[1]&&(r.attributes=Zt(n[1]),r.attributes["TIME-OFFSET"]=parseFloat(r.attributes["TIME-OFFSET"]),r.attributes.PRECISE=/YES/.test(r.attributes.PRECISE)),this.trigger("data",r);return}if(n=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(a),n){r={type:"tag",tagType:"cue-out-cont"},n[1]?r.data=n[1]:r.data="",this.trigger("data",r);return}if(n=/^#EXT-X-CUE-OUT:(.*)?$/.exec(a),n){r={type:"tag",tagType:"cue-out"},n[1]?r.data=n[1]:r.data="",this.trigger("data",r);return}if(n=/^#EXT-X-CUE-IN:?(.*)?$/.exec(a),n){r={type:"tag",tagType:"cue-in"},n[1]?r.data=n[1]:r.data="",this.trigger("data",r);return}if(n=/^#EXT-X-SKIP:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"skip"},r.attributes=Zt(n[1]),r.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(r.attributes["SKIPPED-SEGMENTS"]=parseInt(r.attributes["SKIPPED-SEGMENTS"],10)),r.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(r.attributes["RECENTLY-REMOVED-DATERANGES"]=r.attributes["RECENTLY-REMOVED-DATERANGES"].split(Gv)),this.trigger("data",r);return}if(n=/^#EXT-X-PART:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"part"},r.attributes=Zt(n[1]),["DURATION"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=parseFloat(r.attributes[o]))}),["INDEPENDENT","GAP"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=/YES/.test(r.attributes[o]))}),r.attributes.hasOwnProperty("BYTERANGE")&&(r.attributes.byterange=qo(r.attributes.BYTERANGE)),this.trigger("data",r);return}if(n=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"server-control"},r.attributes=Zt(n[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=parseFloat(r.attributes[o]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=/YES/.test(r.attributes[o]))}),this.trigger("data",r);return}if(n=/^#EXT-X-PART-INF:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"part-inf"},r.attributes=Zt(n[1]),["PART-TARGET"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=parseFloat(r.attributes[o]))}),this.trigger("data",r);return}if(n=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"preload-hint"},r.attributes=Zt(n[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(o){if(r.attributes.hasOwnProperty(o)){r.attributes[o]=parseInt(r.attributes[o],10);const l=o==="BYTERANGE-LENGTH"?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[l]=r.attributes[o],delete r.attributes[o]}}),this.trigger("data",r);return}if(n=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"rendition-report"},r.attributes=Zt(n[1]),["LAST-MSN","LAST-PART"].forEach(function(o){r.attributes.hasOwnProperty(o)&&(r.attributes[o]=parseInt(r.attributes[o],10))}),this.trigger("data",r);return}if(n=/^#EXT-X-DATERANGE:(.*)$/.exec(a),n&&n[1]){r={type:"tag",tagType:"daterange"},r.attributes=Zt(n[1]),["ID","CLASS"].forEach(function(l){r.attributes.hasOwnProperty(l)&&(r.attributes[l]=String(r.attributes[l]))}),["START-DATE","END-DATE"].forEach(function(l){r.attributes.hasOwnProperty(l)&&(r.attributes[l]=new Date(r.attributes[l]))}),["DURATION","PLANNED-DURATION"].forEach(function(l){r.attributes.hasOwnProperty(l)&&(r.attributes[l]=parseFloat(r.attributes[l]))}),["END-ON-NEXT"].forEach(function(l){r.attributes.hasOwnProperty(l)&&(r.attributes[l]=/YES/i.test(r.attributes[l]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(l){r.attributes.hasOwnProperty(l)&&(r.attributes[l]=r.attributes[l].toString(16))});const o=/^X-([A-Z]+-)+[A-Z]+$/;for(const l in r.attributes){if(!o.test(l))continue;const u=/[0-9A-Fa-f]{6}/g.test(r.attributes[l]),d=/^\d+(\.\d+)?$/.test(r.attributes[l]);r.attributes[l]=u?r.attributes[l].toString(16):d?parseFloat(r.attributes[l]):String(r.attributes[l])}this.trigger("data",r);return}if(n=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(a),n){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(n=/^#EXT-X-I-FRAMES-ONLY/.exec(a),n){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(n=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(a),n){r={type:"tag",tagType:"content-steering"},r.attributes=Zt(n[1]),this.trigger("data",r);return}if(n=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(a),n){r={type:"tag",tagType:"i-frame-playlist"},r.attributes=Zt(n[1]),r.attributes.URI&&(r.uri=r.attributes.URI),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=nd(r.attributes.RESOLUTION)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),this.trigger("data",r);return}if(n=/^#EXT-X-DEFINE:(.*)$/.exec(a),n){r={type:"tag",tagType:"define"},r.attributes=Zt(n[1]),this.trigger("data",r);return}this.trigger("data",{type:"tag",data:a.slice(4)})})}addParser({expression:t,customType:n,dataParser:r,segment:s}){typeof r!="function"&&(r=a=>a),this.customParsers.push(a=>{if(t.exec(a))return this.trigger("data",{type:"custom",data:r(a),customType:n,segment:s}),!0})}addTagMapper({expression:t,map:n}){const r=s=>t.test(s)?n(s):s;this.tagMappers.push(r)}}const Kv=i=>i.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase()),di=function(i){const t={};return Object.keys(i).forEach(function(n){t[Kv(n)]=i[n]}),t},Fo=function(i){const{serverControl:t,targetDuration:n,partTargetDuration:r}=i;if(!t)return;const s="#EXT-X-SERVER-CONTROL",a="holdBack",o="partHoldBack",l=n&&n*3,u=r&&r*2;n&&!t.hasOwnProperty(a)&&(t[a]=l,this.trigger("info",{message:`${s} defaulting HOLD-BACK to targetDuration * 3 (${l}).`})),l&&t[a]<l&&(this.trigger("warn",{message:`${s} clamping HOLD-BACK (${t[a]}) to targetDuration * 3 (${l})`}),t[a]=l),r&&!t.hasOwnProperty(o)&&(t[o]=r*3,this.trigger("info",{message:`${s} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[o]}).`})),r&&t[o]<u&&(this.trigger("warn",{message:`${s} clamping PART-HOLD-BACK (${t[o]}) to partTargetDuration * 2 (${u}).`}),t[o]=u)};class Wv extends tu{constructor(t={}){super(),this.lineStream=new Xv,this.parseStream=new Yv,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const n=this,r=[];let s={},a,o,l=!1;const u=function(){},d={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},f="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let p=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let E=0,C=0;const x={};this.on("end",()=>{s.uri||!s.parts&&!s.preloadHints||(!s.map&&a&&(s.map=a),!s.key&&o&&(s.key=o),!s.timeline&&typeof p=="number"&&(s.timeline=p),this.manifest.preloadSegment=s)}),this.parseStream.on("data",function(m){let g,k;if(n.manifest.definitions){for(const A in n.manifest.definitions)if(m.uri&&(m.uri=m.uri.replace(`{$${A}}`,n.manifest.definitions[A])),m.attributes)for(const D in m.attributes)typeof m.attributes[D]=="string"&&(m.attributes[D]=m.attributes[D].replace(`{$${A}}`,n.manifest.definitions[A]))}({tag(){({version(){m.version&&(this.manifest.version=m.version)},"allow-cache"(){this.manifest.allowCache=m.allowed,"allowed"in m||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const A={};"length"in m&&(s.byterange=A,A.length=m.length,"offset"in m||(m.offset=E)),"offset"in m&&(s.byterange=A,A.offset=m.offset),E=A.offset+A.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),m.title&&(s.title=m.title),m.duration>0&&(s.duration=m.duration),m.duration===0&&(s.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=r},key(){if(!m.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(m.attributes.METHOD==="NONE"){o=null;return}if(!m.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(m.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:m.attributes};return}if(m.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:m.attributes.URI};return}if(m.attributes.KEYFORMAT===f){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(m.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(m.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),m.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(m.attributes.KEYID&&m.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:m.attributes.KEYFORMAT,keyId:m.attributes.KEYID.substring(2)},pssh:Th(m.attributes.URI.split(",")[1])};return}m.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),o={method:m.attributes.METHOD||"AES-128",uri:m.attributes.URI},typeof m.attributes.IV<"u"&&(o.iv=m.attributes.IV)},"media-sequence"(){if(!isFinite(m.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+m.number});return}this.manifest.mediaSequence=m.number},"discontinuity-sequence"(){if(!isFinite(m.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+m.number});return}this.manifest.discontinuitySequence=m.number,p=m.number},"playlist-type"(){if(!/VOD|EVENT/.test(m.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+m.playlist});return}this.manifest.playlistType=m.playlistType},map(){a={},m.uri&&(a.uri=m.uri),m.byterange&&(a.byterange=m.byterange),o&&(a.key=o)},"stream-inf"(){if(this.manifest.playlists=r,this.manifest.mediaGroups=this.manifest.mediaGroups||d,!m.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}s.attributes||(s.attributes={}),Et(s.attributes,m.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||d,!(m.attributes&&m.attributes.TYPE&&m.attributes["GROUP-ID"]&&m.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const A=this.manifest.mediaGroups[m.attributes.TYPE];A[m.attributes["GROUP-ID"]]=A[m.attributes["GROUP-ID"]]||{},g=A[m.attributes["GROUP-ID"]],k={default:/yes/i.test(m.attributes.DEFAULT)},k.default?k.autoselect=!0:k.autoselect=/yes/i.test(m.attributes.AUTOSELECT),m.attributes.LANGUAGE&&(k.language=m.attributes.LANGUAGE),m.attributes.URI&&(k.uri=m.attributes.URI),m.attributes["INSTREAM-ID"]&&(k.instreamId=m.attributes["INSTREAM-ID"]),m.attributes.CHARACTERISTICS&&(k.characteristics=m.attributes.CHARACTERISTICS),m.attributes.FORCED&&(k.forced=/yes/i.test(m.attributes.FORCED)),g[m.attributes.NAME]=k},discontinuity(){p+=1,s.discontinuity=!0,this.manifest.discontinuityStarts.push(r.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=m.dateTimeString,this.manifest.dateTimeObject=m.dateTimeObject),s.dateTimeString=m.dateTimeString,s.dateTimeObject=m.dateTimeObject;const{lastProgramDateTime:A}=this;this.lastProgramDateTime=new Date(m.dateTimeString).getTime(),A===null&&this.manifest.segments.reduceRight((D,O)=>(O.programDateTime=D-O.duration*1e3,O.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(m.duration)||m.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+m.duration});return}this.manifest.targetDuration=m.duration,Fo.call(this,this.manifest)},start(){if(!m.attributes||isNaN(m.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:m.attributes["TIME-OFFSET"],precise:m.attributes.PRECISE}},"cue-out"(){s.cueOut=m.data},"cue-out-cont"(){s.cueOutCont=m.data},"cue-in"(){s.cueIn=m.data},skip(){this.manifest.skip=di(m.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",m.attributes,["SKIPPED-SEGMENTS"])},part(){l=!0;const A=this.manifest.segments.length,D=di(m.attributes);s.parts=s.parts||[],s.parts.push(D),D.byterange&&(D.byterange.hasOwnProperty("offset")||(D.byterange.offset=C),C=D.byterange.offset+D.byterange.length);const O=s.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${O} for segment #${A}`,m.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((M,V)=>{M.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${V} lacks required attribute(s): LAST-PART`})})},"server-control"(){const A=this.manifest.serverControl=di(m.attributes);A.hasOwnProperty("canBlockReload")||(A.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),Fo.call(this,this.manifest),A.canSkipDateranges&&!A.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const A=this.manifest.segments.length,D=di(m.attributes),O=D.type&&D.type==="PART";s.preloadHints=s.preloadHints||[],s.preloadHints.push(D),D.byterange&&(D.byterange.hasOwnProperty("offset")||(D.byterange.offset=O?C:0,O&&(C=D.byterange.offset+D.byterange.length)));const M=s.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${M} for segment #${A}`,m.attributes,["TYPE","URI"]),!!D.type)for(let V=0;V<s.preloadHints.length-1;V++){const S=s.preloadHints[V];S.type&&S.type===D.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${M} for segment #${A} has the same TYPE ${D.type} as preload hint #${V}`})}},"rendition-report"(){const A=di(m.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(A);const D=this.manifest.renditionReports.length-1,O=["LAST-MSN","URI"];l&&O.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${D}`,m.attributes,O)},"part-inf"(){this.manifest.partInf=di(m.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",m.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),Fo.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(di(m.attributes));const A=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${A}`,m.attributes,["ID","START-DATE"]);const D=this.manifest.dateRanges[A];D.endDate&&D.startDate&&new Date(D.endDate)<new Date(D.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),D.duration&&D.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),D.plannedDuration&&D.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const O=!!D.endOnNext;if(O&&!D.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),O&&(D.duration||D.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),D.duration&&D.endDate){const V=D.startDate.getTime()+D.duration*1e3;this.manifest.dateRanges[A].endDate=new Date(V)}if(!x[D.id])x[D.id]=D;else{for(const V in x[D.id])if(D[V]&&JSON.stringify(x[D.id][V])!==JSON.stringify(D[V])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const M=this.manifest.dateRanges.findIndex(V=>V.id===D.id);this.manifest.dateRanges[M]=Et(this.manifest.dateRanges[M],D),x[D.id]=Et(x[D.id],D),this.manifest.dateRanges.pop()}},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=di(m.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",m.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const A=(D,O)=>{if(D in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${D}`});return}this.manifest.definitions[D]=O};if("QUERYPARAM"in m.attributes){if("NAME"in m.attributes||"IMPORT"in m.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const D=this.params.get(m.attributes.QUERYPARAM);if(!D){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${m.attributes.QUERYPARAM}`});return}A(m.attributes.QUERYPARAM,decodeURIComponent(D));return}if("NAME"in m.attributes){if("IMPORT"in m.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in m.attributes)||typeof m.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${m.attributes.NAME}`});return}A(m.attributes.NAME,m.attributes.VALUE);return}if("IMPORT"in m.attributes){if(!this.mainDefinitions[m.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${m.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}A(m.attributes.IMPORT,this.mainDefinitions[m.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:m.attributes,uri:m.uri,timeline:p}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",m.attributes,["BANDWIDTH","URI"])}}[m.tagType]||u).call(n)},uri(){s.uri=m.uri,r.push(s),this.manifest.targetDuration&&!("duration"in s)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),s.duration=this.manifest.targetDuration),o&&(s.key=o),s.timeline=p,a&&(s.map=a),C=0,this.lastProgramDateTime!==null&&(s.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=s.duration*1e3),s={}},comment(){},custom(){m.segment?(s.custom=s.custom||{},s.custom[m.customType]=m.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[m.customType]=m.data)}})[m.type].call(n)})}requiredCompatibilityversion(t,n){(t<n||!t)&&this.trigger("warn",{message:`manifest must be at least version ${n}`})}warnOnMissingAttributes_(t,n,r){const s=[];r.forEach(function(a){n.hasOwnProperty(a)||s.push(a)}),s.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${s.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push(`
24
+ `),this.manifest.dateRanges.length&&this.lastProgramDateTime===null&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}var Pi={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},Jv=["video","audio","text"],id=["Video","Audio","Text"],kh=function(t){return t&&t.replace(/avc1\.(\d+)\.(\d+)/i,function(n,r,s){var a=("00"+Number(r).toString(16)).slice(-2),o=("00"+Number(s).toString(16)).slice(-2);return"avc1."+a+"00"+o})},zn=function(t){t===void 0&&(t="");var n=t.split(","),r=[];return n.forEach(function(s){s=s.trim();var a;Jv.forEach(function(o){var l=Pi[o].exec(s.toLowerCase());if(!(!l||l.length<=1)){a=o;var u=s.substring(0,l[1].length),d=s.replace(u,"");r.push({type:u,details:d,mediaType:o})}}),a||r.push({type:s,details:"",mediaType:"unknown"})}),r},Zv=function(t,n){if(!t.mediaGroups.AUDIO||!n)return null;var r=t.mediaGroups.AUDIO[n];if(!r)return null;for(var s in r){var a=r[s];if(a.default&&a.playlists)return zn(a.playlists[0].attributes.CODECS)}return null},Eh=function(t){return t===void 0&&(t=""),Pi.audio.test(t.trim().toLowerCase())},$v=function(t){return t===void 0&&(t=""),Pi.text.test(t.trim().toLowerCase())},hr=function(t){if(!(!t||typeof t!="string")){var n=t.toLowerCase().split(",").map(function(a){return kh(a.trim())}),r="video";n.length===1&&Eh(n[0])?r="audio":n.length===1&&$v(n[0])&&(r="application");var s="mp4";return n.every(function(a){return Pi.mp4.test(a)})?s="mp4":n.every(function(a){return Pi.webm.test(a)})?s="webm":n.every(function(a){return Pi.ogg.test(a)})&&(s="ogg"),r+"/"+s+';codecs="'+t+'"'}},rs=function(t,n){return t===void 0&&(t=""),n===void 0&&(n=!1),J.MediaSource&&J.MediaSource.isTypeSupported&&J.MediaSource.isTypeSupported(hr(t))||n&&J.ManagedMediaSource&&J.ManagedMediaSource.isTypeSupported&&J.ManagedMediaSource.isTypeSupported(hr(t))||!1},Uo=function(t){return t===void 0&&(t=""),t.toLowerCase().split(",").every(function(n){n=n.trim();for(var r=0;r<id.length;r++){var s=id[r];if(Pi["muxer"+s].test(n))return!0}return!1})},rd="mp4a.40.2",e3="avc1.4d400d",t3=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,n3=/^application\/dash\+xml/i,xh=function(t){return t3.test(t)?"hls":n3.test(t)?"dash":t==="application/vnd.videojs.vhs+json"?"vhs-json":null},i3=function(t){return t.toString(2).length},r3=function(t){return Math.ceil(i3(t)/8)},_h=function(t){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},s3=function(t){return _h(t)},je=function(t){return t instanceof Uint8Array?t:(!Array.isArray(t)&&!s3(t)&&!(t instanceof ArrayBuffer)&&(typeof t!="number"||typeof t=="number"&&t!==t?t=0:t=[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},Ft=J.BigInt||Number,hl=[Ft("0x1"),Ft("0x100"),Ft("0x10000"),Ft("0x1000000"),Ft("0x100000000"),Ft("0x10000000000"),Ft("0x1000000000000"),Ft("0x100000000000000"),Ft("0x10000000000000000")];(function(){var i=new Uint16Array([65484]),t=new Uint8Array(i.buffer,i.byteOffset,i.byteLength);return t[0]===255?"big":t[0]===204?"little":"unknown"})();var a3=function(t,n){var r=n===void 0?{}:n,s=r.signed,a=s===void 0?!1:s,o=r.le,l=o===void 0?!1:o;t=je(t);var u=l?"reduce":"reduceRight",d=t[u]?t[u]:Array.prototype[u],f=d.call(t,function(E,C,x){var m=l?x:Math.abs(x+1-t.length);return E+Ft(C)*hl[m]},Ft(0));if(a){var p=hl[t.length]/Ft(2)-Ft(1);f=Ft(f),f>p&&(f-=p,f-=p,f-=Ft(2))}return Number(f)},o3=function(t,n){var r={},s=r.le,a=s===void 0?!1:s;(typeof t!="bigint"&&typeof t!="number"||typeof t=="number"&&t!==t)&&(t=0),t=Ft(t);for(var o=r3(t),l=new Uint8Array(new ArrayBuffer(o)),u=0;u<o;u++){var d=a?u:Math.abs(u+1-l.length);l[d]=Number(t/hl[u]&Ft(255)),t<0&&(l[d]=Math.abs(~l[d]),l[d]-=u===0?1:2)}return l},Ah=function(t,n){if(typeof t!="string"&&t&&typeof t.toString=="function"&&(t=t.toString()),typeof t!="string")return new Uint8Array;n||(t=unescape(encodeURIComponent(t)));for(var r=new Uint8Array(t.length),s=0;s<t.length;s++)r[s]=t.charCodeAt(s);return r},l3=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n=n.filter(function(l){return l&&(l.byteLength||l.length)&&typeof l!="string"}),n.length<=1)return je(n[0]);var s=n.reduce(function(l,u,d){return l+(u.byteLength||u.length)},0),a=new Uint8Array(s),o=0;return n.forEach(function(l){l=je(l),a.set(l,o),o+=l.byteLength}),a},mt=function(t,n,r){var s=r===void 0?{}:r,a=s.offset,o=a===void 0?0:a,l=s.mask,u=l===void 0?[]:l;t=je(t),n=je(n);var d=n.every?n.every:Array.prototype.every;return n.length&&t.length-o>=n.length&&d.call(n,function(f,p){var E=u[p]?u[p]&t[o+p]:t[o+p];return f===E})},u3=function(t,n,r){n.forEach(function(s){for(var a in t.mediaGroups[s])for(var o in t.mediaGroups[s][a]){var l=t.mediaGroups[s][a][o];r(l,s,a,o)}})},Yr={},ei={},wi={},sd;function Fa(){if(sd)return wi;sd=1;function i(a,o,l){if(l===void 0&&(l=Array.prototype),a&&typeof l.find=="function")return l.find.call(a,o);for(var u=0;u<a.length;u++)if(Object.prototype.hasOwnProperty.call(a,u)){var d=a[u];if(o.call(void 0,d,u,a))return d}}function t(a,o){return o===void 0&&(o=Object),o&&typeof o.freeze=="function"?o.freeze(a):a}function n(a,o){if(a===null||typeof a!="object")throw new TypeError("target is not an object");for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(a[l]=o[l]);return a}var r=t({HTML:"text/html",isHTML:function(a){return a===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=t({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(a){return a===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return wi.assign=n,wi.find=i,wi.freeze=t,wi.MIME_TYPE=r,wi.NAMESPACE=s,wi}var ad;function wh(){if(ad)return ei;ad=1;var i=Fa(),t=i.find,n=i.NAMESPACE;function r(N){return N!==""}function s(N){return N?N.split(/[\t\n\f\r ]+/).filter(r):[]}function a(N,P){return N.hasOwnProperty(P)||(N[P]=!0),N}function o(N){if(!N)return[];var P=s(N);return Object.keys(P.reduce(a,{}))}function l(N){return function(P){return N&&N.indexOf(P)!==-1}}function u(N,P){for(var ee in N)Object.prototype.hasOwnProperty.call(N,ee)&&(P[ee]=N[ee])}function d(N,P){var ee=N.prototype;if(!(ee instanceof P)){let de=function(){};de.prototype=P.prototype,de=new de,u(ee,de),N.prototype=ee=de}ee.constructor!=N&&(typeof N!="function"&&console.error("unknown Class:"+N),ee.constructor=N)}var f={},p=f.ELEMENT_NODE=1,E=f.ATTRIBUTE_NODE=2,C=f.TEXT_NODE=3,x=f.CDATA_SECTION_NODE=4,m=f.ENTITY_REFERENCE_NODE=5,g=f.ENTITY_NODE=6,k=f.PROCESSING_INSTRUCTION_NODE=7,A=f.COMMENT_NODE=8,D=f.DOCUMENT_NODE=9,O=f.DOCUMENT_TYPE_NODE=10,M=f.DOCUMENT_FRAGMENT_NODE=11,V=f.NOTATION_NODE=12,S={},L={};S.INDEX_SIZE_ERR=(L[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(L[2]="DOMString size error",2);var w=S.HIERARCHY_REQUEST_ERR=(L[3]="Hierarchy request error",3);S.WRONG_DOCUMENT_ERR=(L[4]="Wrong document",4);var B=S.INVALID_CHARACTER_ERR=(L[5]="Invalid character",5);S.NO_DATA_ALLOWED_ERR=(L[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(L[7]="No modification allowed",7);var F=S.NOT_FOUND_ERR=(L[8]="Not found",8);S.NOT_SUPPORTED_ERR=(L[9]="Not supported",9);var Q=S.INUSE_ATTRIBUTE_ERR=(L[10]="Attribute in use",10);S.INVALID_STATE_ERR=(L[11]="Invalid state",11),S.SYNTAX_ERR=(L[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(L[13]="Invalid modification",13),S.NAMESPACE_ERR=(L[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(L[15]="Invalid access",15);function I(N,P){if(P instanceof Error)var ee=P;else ee=this,Error.call(this,L[N]),this.message=L[N],Error.captureStackTrace&&Error.captureStackTrace(this,I);return ee.code=N,P&&(this.message=this.message+": "+P),ee}I.prototype=Error.prototype,u(S,I);function q(){}q.prototype={length:0,item:function(N){return N>=0&&N<this.length?this[N]:null},toString:function(N,P){for(var ee=[],de=0;de<this.length;de++)Qt(this[de],ee,N,P);return ee.join("")},filter:function(N){return Array.prototype.filter.call(this,N)},indexOf:function(N){return Array.prototype.indexOf.call(this,N)}};function U(N,P){this._node=N,this._refresh=P,G(this)}function G(N){var P=N._node._inc||N._node.ownerDocument._inc;if(N._inc!==P){var ee=N._refresh(N._node);if(Cn(N,"length",ee.length),!N.$$length||ee.length<N.$$length)for(var de=ee.length;de in N;de++)Object.prototype.hasOwnProperty.call(N,de)&&delete N[de];u(ee,N),N._inc=P}}U.prototype.item=function(N){return G(this),this[N]||null},d(U,q);function z(){}function Z(N,P){for(var ee=N.length;ee--;)if(N[ee]===P)return ee}function W(N,P,ee,de){if(de?P[Z(P,de)]=ee:P[P.length++]=ee,N){ee.ownerElement=N;var Ve=N.ownerDocument;Ve&&(de&&ne(Ve,N,de),be(Ve,N,ee))}}function R(N,P,ee){var de=Z(P,ee);if(de>=0){for(var Ve=P.length-1;de<Ve;)P[de]=P[++de];if(P.length=Ve,N){var He=N.ownerDocument;He&&(ne(He,N,ee),ee.ownerElement=null)}}else throw new I(F,new Error(N.tagName+"@"+ee))}z.prototype={length:0,item:q.prototype.item,getNamedItem:function(N){for(var P=this.length;P--;){var ee=this[P];if(ee.nodeName==N)return ee}},setNamedItem:function(N){var P=N.ownerElement;if(P&&P!=this._ownerElement)throw new I(Q);var ee=this.getNamedItem(N.nodeName);return W(this._ownerElement,this,N,ee),ee},setNamedItemNS:function(N){var P=N.ownerElement,ee;if(P&&P!=this._ownerElement)throw new I(Q);return ee=this.getNamedItemNS(N.namespaceURI,N.localName),W(this._ownerElement,this,N,ee),ee},removeNamedItem:function(N){var P=this.getNamedItem(N);return R(this._ownerElement,this,P),P},removeNamedItemNS:function(N,P){var ee=this.getNamedItemNS(N,P);return R(this._ownerElement,this,ee),ee},getNamedItemNS:function(N,P){for(var ee=this.length;ee--;){var de=this[ee];if(de.localName==P&&de.namespaceURI==N)return de}return null}};function Y(){}Y.prototype={hasFeature:function(N,P){return!0},createDocument:function(N,P,ee){var de=new ue;if(de.implementation=this,de.childNodes=new q,de.doctype=ee||null,ee&&de.appendChild(ee),P){var Ve=de.createElementNS(N,P);de.appendChild(Ve)}return de},createDocumentType:function(N,P,ee){var de=new Qe;return de.name=N,de.nodeName=N,de.publicId=P||"",de.systemId=ee||"",de}};function j(){}j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(N,P){return Ne(this,N,P)},replaceChild:function(N,P){Ne(this,N,P,Ee),P&&this.removeChild(P)},removeChild:function(N){return le(this,N)},appendChild:function(N){return this.insertBefore(N,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(N){return Nt(this.ownerDocument||this,this,N)},normalize:function(){for(var N=this.firstChild;N;){var P=N.nextSibling;P&&P.nodeType==C&&N.nodeType==C?(this.removeChild(P),N.appendData(P.data)):(N.normalize(),N=P)}},isSupported:function(N,P){return this.ownerDocument.implementation.hasFeature(N,P)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(N){for(var P=this;P;){var ee=P._nsMap;if(ee){for(var de in ee)if(Object.prototype.hasOwnProperty.call(ee,de)&&ee[de]===N)return de}P=P.nodeType==E?P.ownerDocument:P.parentNode}return null},lookupNamespaceURI:function(N){for(var P=this;P;){var ee=P._nsMap;if(ee&&Object.prototype.hasOwnProperty.call(ee,N))return ee[N];P=P.nodeType==E?P.ownerDocument:P.parentNode}return null},isDefaultNamespace:function(N){var P=this.lookupPrefix(N);return P==null}};function ae(N){return N=="<"&&"&lt;"||N==">"&&"&gt;"||N=="&"&&"&amp;"||N=='"'&&"&quot;"||"&#"+N.charCodeAt()+";"}u(f,j),u(f,j.prototype);function he(N,P){if(P(N))return!0;if(N=N.firstChild)do if(he(N,P))return!0;while(N=N.nextSibling)}function ue(){this.ownerDocument=this}function be(N,P,ee){N&&N._inc++;var de=ee.namespaceURI;de===n.XMLNS&&(P._nsMap[ee.prefix?ee.localName:""]=ee.value)}function ne(N,P,ee,de){N&&N._inc++;var Ve=ee.namespaceURI;Ve===n.XMLNS&&delete P._nsMap[ee.prefix?ee.localName:""]}function Ce(N,P,ee){if(N&&N._inc){N._inc++;var de=P.childNodes;if(ee)de[de.length++]=ee;else{for(var Ve=P.firstChild,He=0;Ve;)de[He++]=Ve,Ve=Ve.nextSibling;de.length=He,delete de[de.length]}}}function le(N,P){var ee=P.previousSibling,de=P.nextSibling;return ee?ee.nextSibling=de:N.firstChild=de,de?de.previousSibling=ee:N.lastChild=ee,P.parentNode=null,P.previousSibling=null,P.nextSibling=null,Ce(N.ownerDocument,N),P}function _e(N){return N&&(N.nodeType===j.DOCUMENT_NODE||N.nodeType===j.DOCUMENT_FRAGMENT_NODE||N.nodeType===j.ELEMENT_NODE)}function qe(N){return N&&(Te(N)||Be(N)||fe(N)||N.nodeType===j.DOCUMENT_FRAGMENT_NODE||N.nodeType===j.COMMENT_NODE||N.nodeType===j.PROCESSING_INSTRUCTION_NODE)}function fe(N){return N&&N.nodeType===j.DOCUMENT_TYPE_NODE}function Te(N){return N&&N.nodeType===j.ELEMENT_NODE}function Be(N){return N&&N.nodeType===j.TEXT_NODE}function Ie(N,P){var ee=N.childNodes||[];if(t(ee,Te)||fe(P))return!1;var de=t(ee,fe);return!(P&&de&&ee.indexOf(de)>ee.indexOf(P))}function Ae(N,P){var ee=N.childNodes||[];function de(He){return Te(He)&&He!==P}if(t(ee,de))return!1;var Ve=t(ee,fe);return!(P&&Ve&&ee.indexOf(Ve)>ee.indexOf(P))}function me(N,P,ee){if(!_e(N))throw new I(w,"Unexpected parent node type "+N.nodeType);if(ee&&ee.parentNode!==N)throw new I(F,"child not in parent");if(!qe(P)||fe(P)&&N.nodeType!==j.DOCUMENT_NODE)throw new I(w,"Unexpected node type "+P.nodeType+" for parent node type "+N.nodeType)}function ke(N,P,ee){var de=N.childNodes||[],Ve=P.childNodes||[];if(P.nodeType===j.DOCUMENT_FRAGMENT_NODE){var He=Ve.filter(Te);if(He.length>1||t(Ve,Be))throw new I(w,"More than one element or text in fragment");if(He.length===1&&!Ie(N,ee))throw new I(w,"Element in fragment can not be inserted before doctype")}if(Te(P)&&!Ie(N,ee))throw new I(w,"Only one element can be added and only after doctype");if(fe(P)){if(t(de,fe))throw new I(w,"Only one doctype is allowed");var st=t(de,Te);if(ee&&de.indexOf(st)<de.indexOf(ee))throw new I(w,"Doctype can only be inserted before an element");if(!ee&&st)throw new I(w,"Doctype can not be appended since element is present")}}function Ee(N,P,ee){var de=N.childNodes||[],Ve=P.childNodes||[];if(P.nodeType===j.DOCUMENT_FRAGMENT_NODE){var He=Ve.filter(Te);if(He.length>1||t(Ve,Be))throw new I(w,"More than one element or text in fragment");if(He.length===1&&!Ae(N,ee))throw new I(w,"Element in fragment can not be inserted before doctype")}if(Te(P)&&!Ae(N,ee))throw new I(w,"Only one element can be added and only after doctype");if(fe(P)){if(t(de,function(Yt){return fe(Yt)&&Yt!==ee}))throw new I(w,"Only one doctype is allowed");var st=t(de,Te);if(ee&&de.indexOf(st)<de.indexOf(ee))throw new I(w,"Doctype can only be inserted before an element")}}function Ne(N,P,ee,de){me(N,P,ee),N.nodeType===j.DOCUMENT_NODE&&(de||ke)(N,P,ee);var Ve=P.parentNode;if(Ve&&Ve.removeChild(P),P.nodeType===M){var He=P.firstChild;if(He==null)return P;var st=P.lastChild}else He=st=P;var At=ee?ee.previousSibling:N.lastChild;He.previousSibling=At,st.nextSibling=ee,At?At.nextSibling=He:N.firstChild=He,ee==null?N.lastChild=st:ee.previousSibling=st;do{He.parentNode=N;var Yt=N.ownerDocument||N;Ue(He,Yt)}while(He!==st&&(He=He.nextSibling));return Ce(N.ownerDocument||N,N),P.nodeType==M&&(P.firstChild=P.lastChild=null),P}function Ue(N,P){if(N.ownerDocument!==P){if(N.ownerDocument=P,N.nodeType===p&&N.attributes)for(var ee=0;ee<N.attributes.length;ee++){var de=N.attributes.item(ee);de&&(de.ownerDocument=P)}for(var Ve=N.firstChild;Ve;)Ue(Ve,P),Ve=Ve.nextSibling}}function Ke(N,P){P.parentNode&&P.parentNode.removeChild(P),P.parentNode=N,P.previousSibling=N.lastChild,P.nextSibling=null,P.previousSibling?P.previousSibling.nextSibling=P:N.firstChild=P,N.lastChild=P,Ce(N.ownerDocument,N,P);var ee=N.ownerDocument||N;return Ue(P,ee),P}ue.prototype={nodeName:"#document",nodeType:D,doctype:null,documentElement:null,_inc:1,insertBefore:function(N,P){if(N.nodeType==M){for(var ee=N.firstChild;ee;){var de=ee.nextSibling;this.insertBefore(ee,P),ee=de}return N}return Ne(this,N,P),Ue(N,this),this.documentElement===null&&N.nodeType===p&&(this.documentElement=N),N},removeChild:function(N){return this.documentElement==N&&(this.documentElement=null),le(this,N)},replaceChild:function(N,P){Ne(this,N,P,Ee),Ue(N,this),P&&this.removeChild(P),Te(N)&&(this.documentElement=N)},importNode:function(N,P){return Jn(this,N,P)},getElementById:function(N){var P=null;return he(this.documentElement,function(ee){if(ee.nodeType==p&&ee.getAttribute("id")==N)return P=ee,!0}),P},getElementsByClassName:function(N){var P=o(N);return new U(this,function(ee){var de=[];return P.length>0&&he(ee.documentElement,function(Ve){if(Ve!==ee&&Ve.nodeType===p){var He=Ve.getAttribute("class");if(He){var st=N===He;if(!st){var At=o(He);st=P.every(l(At))}st&&de.push(Ve)}}}),de})},createElement:function(N){var P=new re;P.ownerDocument=this,P.nodeName=N,P.tagName=N,P.localName=N,P.childNodes=new q;var ee=P.attributes=new z;return ee._ownerElement=P,P},createDocumentFragment:function(){var N=new dn;return N.ownerDocument=this,N.childNodes=new q,N},createTextNode:function(N){var P=new Oe;return P.ownerDocument=this,P.appendData(N),P},createComment:function(N){var P=new ge;return P.ownerDocument=this,P.appendData(N),P},createCDATASection:function(N){if(N.indexOf("]]>")!==-1)throw new I(B,'data contains "]]>"');var P=new Ge;return P.ownerDocument=this,P.appendData(N),P},createProcessingInstruction:function(N,P){var ee=new Mt;return ee.ownerDocument=this,ee.tagName=ee.nodeName=ee.target=N,ee.nodeValue=ee.data=P,ee},createAttribute:function(N){var P=new oe;return P.ownerDocument=this,P.name=N,P.nodeName=N,P.localName=N,P.specified=!0,P},createEntityReference:function(N){var P=new et;return P.ownerDocument=this,P.nodeName=N,P},createElementNS:function(N,P){var ee=new re,de=P.split(":"),Ve=ee.attributes=new z;return ee.childNodes=new q,ee.ownerDocument=this,ee.nodeName=P,ee.tagName=P,ee.namespaceURI=N,de.length==2?(ee.prefix=de[0],ee.localName=de[1]):ee.localName=P,Ve._ownerElement=ee,ee},createAttributeNS:function(N,P){var ee=new oe,de=P.split(":");return ee.ownerDocument=this,ee.nodeName=P,ee.name=P,ee.namespaceURI=N,ee.specified=!0,de.length==2?(ee.prefix=de[0],ee.localName=de[1]):ee.localName=P,ee}},d(ue,j);function re(){this._nsMap={}}re.prototype={nodeType:p,hasAttribute:function(N){return this.getAttributeNode(N)!=null},getAttribute:function(N){var P=this.getAttributeNode(N);return P&&P.value||""},getAttributeNode:function(N){return this.attributes.getNamedItem(N)},setAttribute:function(N,P){var ee=this.ownerDocument.createAttribute(N);ee.value=ee.nodeValue=""+P,this.setAttributeNode(ee)},removeAttribute:function(N){var P=this.getAttributeNode(N);P&&this.removeAttributeNode(P)},appendChild:function(N){return N.nodeType===M?this.insertBefore(N,null):Ke(this,N)},setAttributeNode:function(N){return this.attributes.setNamedItem(N)},setAttributeNodeNS:function(N){return this.attributes.setNamedItemNS(N)},removeAttributeNode:function(N){return this.attributes.removeNamedItem(N.nodeName)},removeAttributeNS:function(N,P){var ee=this.getAttributeNodeNS(N,P);ee&&this.removeAttributeNode(ee)},hasAttributeNS:function(N,P){return this.getAttributeNodeNS(N,P)!=null},getAttributeNS:function(N,P){var ee=this.getAttributeNodeNS(N,P);return ee&&ee.value||""},setAttributeNS:function(N,P,ee){var de=this.ownerDocument.createAttributeNS(N,P);de.value=de.nodeValue=""+ee,this.setAttributeNode(de)},getAttributeNodeNS:function(N,P){return this.attributes.getNamedItemNS(N,P)},getElementsByTagName:function(N){return new U(this,function(P){var ee=[];return he(P,function(de){de!==P&&de.nodeType==p&&(N==="*"||de.tagName==N)&&ee.push(de)}),ee})},getElementsByTagNameNS:function(N,P){return new U(this,function(ee){var de=[];return he(ee,function(Ve){Ve!==ee&&Ve.nodeType===p&&(N==="*"||Ve.namespaceURI===N)&&(P==="*"||Ve.localName==P)&&de.push(Ve)}),de})}},ue.prototype.getElementsByTagName=re.prototype.getElementsByTagName,ue.prototype.getElementsByTagNameNS=re.prototype.getElementsByTagNameNS,d(re,j);function oe(){}oe.prototype.nodeType=E,d(oe,j);function se(){}se.prototype={data:"",substringData:function(N,P){return this.data.substring(N,N+P)},appendData:function(N){N=this.data+N,this.nodeValue=this.data=N,this.length=N.length},insertData:function(N,P){this.replaceData(N,0,P)},appendChild:function(N){throw new Error(L[w])},deleteData:function(N,P){this.replaceData(N,P,"")},replaceData:function(N,P,ee){var de=this.data.substring(0,N),Ve=this.data.substring(N+P);ee=de+ee+Ve,this.nodeValue=this.data=ee,this.length=ee.length}},d(se,j);function Oe(){}Oe.prototype={nodeName:"#text",nodeType:C,splitText:function(N){var P=this.data,ee=P.substring(N);P=P.substring(0,N),this.data=this.nodeValue=P,this.length=P.length;var de=this.ownerDocument.createTextNode(ee);return this.parentNode&&this.parentNode.insertBefore(de,this.nextSibling),de}},d(Oe,se);function ge(){}ge.prototype={nodeName:"#comment",nodeType:A},d(ge,se);function Ge(){}Ge.prototype={nodeName:"#cdata-section",nodeType:x},d(Ge,se);function Qe(){}Qe.prototype.nodeType=O,d(Qe,j);function Dt(){}Dt.prototype.nodeType=V,d(Dt,j);function Gt(){}Gt.prototype.nodeType=g,d(Gt,j);function et(){}et.prototype.nodeType=m,d(et,j);function dn(){}dn.prototype.nodeName="#document-fragment",dn.prototype.nodeType=M,d(dn,j);function Mt(){}Mt.prototype.nodeType=k,d(Mt,j);function Bt(){}Bt.prototype.serializeToString=function(N,P,ee){return _t.call(N,P,ee)},j.prototype.toString=_t;function _t(N,P){var ee=[],de=this.nodeType==9&&this.documentElement||this,Ve=de.prefix,He=de.namespaceURI;if(He&&Ve==null){var Ve=de.lookupPrefix(He);if(Ve==null)var st=[{namespace:He,prefix:null}]}return Qt(this,ee,N,P,st),ee.join("")}function Vt(N,P,ee){var de=N.prefix||"",Ve=N.namespaceURI;if(!Ve||de==="xml"&&Ve===n.XML||Ve===n.XMLNS)return!1;for(var He=ee.length;He--;){var st=ee[He];if(st.prefix===de)return st.namespace!==Ve}return!0}function yn(N,P,ee){N.push(" ",P,'="',ee.replace(/[<>&"\t\n\r]/g,ae),'"')}function Qt(N,P,ee,de,Ve){if(Ve||(Ve=[]),de)if(N=de(N),N){if(typeof N=="string"){P.push(N);return}}else return;switch(N.nodeType){case p:var He=N.attributes,st=He.length,dt=N.firstChild,At=N.tagName;ee=n.isHTML(N.namespaceURI)||ee;var Yt=At;if(!ee&&!N.prefix&&N.namespaceURI){for(var Ut,Rt=0;Rt<He.length;Rt++)if(He.item(Rt).name==="xmlns"){Ut=He.item(Rt).value;break}if(!Ut)for(var rn=Ve.length-1;rn>=0;rn--){var tt=Ve[rn];if(tt.prefix===""&&tt.namespace===N.namespaceURI){Ut=tt.namespace;break}}if(Ut!==N.namespaceURI)for(var rn=Ve.length-1;rn>=0;rn--){var tt=Ve[rn];if(tt.namespace===N.namespaceURI){tt.prefix&&(Yt=tt.prefix+":"+At);break}}}P.push("<",Yt);for(var sn=0;sn<st;sn++){var Kt=He.item(sn);Kt.prefix=="xmlns"?Ve.push({prefix:Kt.localName,namespace:Kt.value}):Kt.nodeName=="xmlns"&&Ve.push({prefix:"",namespace:Kt.value})}for(var sn=0;sn<st;sn++){var Kt=He.item(sn);if(Vt(Kt,ee,Ve)){var Wt=Kt.prefix||"",wt=Kt.namespaceURI;yn(P,Wt?"xmlns:"+Wt:"xmlns",wt),Ve.push({prefix:Wt,namespace:wt})}Qt(Kt,P,ee,de,Ve)}if(At===Yt&&Vt(N,ee,Ve)){var Wt=N.prefix||"",wt=N.namespaceURI;yn(P,Wt?"xmlns:"+Wt:"xmlns",wt),Ve.push({prefix:Wt,namespace:wt})}if(dt||ee&&!/^(?:meta|link|img|br|hr|input)$/i.test(At)){if(P.push(">"),ee&&/^script$/i.test(At))for(;dt;)dt.data?P.push(dt.data):Qt(dt,P,ee,de,Ve.slice()),dt=dt.nextSibling;else for(;dt;)Qt(dt,P,ee,de,Ve.slice()),dt=dt.nextSibling;P.push("</",Yt,">")}else P.push("/>");return;case D:case M:for(var dt=N.firstChild;dt;)Qt(dt,P,ee,de,Ve.slice()),dt=dt.nextSibling;return;case E:return yn(P,N.name,N.value);case C:return P.push(N.data.replace(/[<&>]/g,ae));case x:return P.push("<![CDATA[",N.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>");case A:return P.push("<!--",N.data,"-->");case O:var Je=N.publicId,Dn=N.systemId;if(P.push("<!DOCTYPE ",N.name),Je)P.push(" PUBLIC ",Je),Dn&&Dn!="."&&P.push(" ",Dn),P.push(">");else if(Dn&&Dn!=".")P.push(" SYSTEM ",Dn,">");else{var qn=N.internalSubset;qn&&P.push(" [",qn,"]"),P.push(">")}return;case k:return P.push("<?",N.target," ",N.data,"?>");case m:return P.push("&",N.nodeName,";");default:P.push("??",N.nodeName)}}function Jn(N,P,ee){var de;switch(P.nodeType){case p:de=P.cloneNode(!1),de.ownerDocument=N;case M:break;case E:ee=!0;break}if(de||(de=P.cloneNode(!1)),de.ownerDocument=N,de.parentNode=null,ee)for(var Ve=P.firstChild;Ve;)de.appendChild(Jn(N,Ve,ee)),Ve=Ve.nextSibling;return de}function Nt(N,P,ee){var de=new P.constructor;for(var Ve in P)if(Object.prototype.hasOwnProperty.call(P,Ve)){var He=P[Ve];typeof He!="object"&&He!=de[Ve]&&(de[Ve]=He)}switch(P.childNodes&&(de.childNodes=new q),de.ownerDocument=N,de.nodeType){case p:var st=P.attributes,At=de.attributes=new z,Yt=st.length;At._ownerElement=de;for(var Ut=0;Ut<Yt;Ut++)de.setAttributeNode(Nt(N,st.item(Ut),!0));break;case E:ee=!0}if(ee)for(var Rt=P.firstChild;Rt;)de.appendChild(Nt(N,Rt,ee)),Rt=Rt.nextSibling;return de}function Cn(N,P,ee){N[P]=ee}try{if(Object.defineProperty){let N=function(P){switch(P.nodeType){case p:case M:var ee=[];for(P=P.firstChild;P;)P.nodeType!==7&&P.nodeType!==8&&ee.push(N(P)),P=P.nextSibling;return ee.join("");default:return P.nodeValue}};Object.defineProperty(U.prototype,"length",{get:function(){return G(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return N(this)},set:function(P){switch(this.nodeType){case p:case M:for(;this.firstChild;)this.removeChild(this.firstChild);(P||String(P))&&this.appendChild(this.ownerDocument.createTextNode(P));break;default:this.data=P,this.value=P,this.nodeValue=P}}}),Cn=function(P,ee,de){P["$$"+ee]=de}}}catch{}return ei.DocumentType=Qe,ei.DOMException=I,ei.DOMImplementation=Y,ei.Element=re,ei.Node=j,ei.NodeList=q,ei.XMLSerializer=Bt,ei}var Kr={},zo={},od;function c3(){return od||(od=1,(function(i){var t=Fa().freeze;i.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),i.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
25
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),i.entityMap=i.HTML_ENTITIES})(zo)),zo}var Qs={},ld;function d3(){if(ld)return Qs;ld=1;var i=Fa().NAMESPACE,t=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=new RegExp("[\\-\\.0-9"+t.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+t.source+n.source+"*(?::"+t.source+n.source+"*)?$"),s=0,a=1,o=2,l=3,u=4,d=5,f=6,p=7;function E(w,B){this.message=w,this.locator=B,Error.captureStackTrace&&Error.captureStackTrace(this,E)}E.prototype=new Error,E.prototype.name=E.name;function C(){}C.prototype={parse:function(w,B,F){var Q=this.domBuilder;Q.startDocument(),O(B,B={}),x(w,B,F,Q,this.errorHandler),Q.endDocument()}};function x(w,B,F,Q,I){function q(Ue){if(Ue>65535){Ue-=65536;var Ke=55296+(Ue>>10),re=56320+(Ue&1023);return String.fromCharCode(Ke,re)}else return String.fromCharCode(Ue)}function U(Ue){var Ke=Ue.slice(1,-1);return Object.hasOwnProperty.call(F,Ke)?F[Ke]:Ke.charAt(0)==="#"?q(parseInt(Ke.substr(1).replace("x","0x"))):(I.error("entity not found:"+Ue),Ue)}function G(Ue){if(Ue>he){var Ke=w.substring(he,Ue).replace(/&#?\w+;/g,U);Y&&z(he),Q.characters(Ke,0,Ue-he),he=Ue}}function z(Ue,Ke){for(;Ue>=W&&(Ke=R.exec(w));)Z=Ke.index,W=Z+Ke[0].length,Y.lineNumber++;Y.columnNumber=Ue-Z+1}for(var Z=0,W=0,R=/.*(?:\r\n?|\n)|.*$/g,Y=Q.locator,j=[{currentNSMap:B}],ae={},he=0;;){try{var ue=w.indexOf("<",he);if(ue<0){if(!w.substr(he).match(/^\s*$/)){var be=Q.doc,ne=be.createTextNode(w.substr(he));be.appendChild(ne),Q.currentElement=ne}return}switch(ue>he&&G(ue),w.charAt(ue+1)){case"/":var Ae=w.indexOf(">",ue+3),Ce=w.substring(ue+2,Ae).replace(/[ \t\n\r]+$/g,""),le=j.pop();Ae<0?(Ce=w.substring(ue+2).replace(/[\s<].*/,""),I.error("end tag name: "+Ce+" is not complete:"+le.tagName),Ae=ue+1+Ce.length):Ce.match(/\s</)&&(Ce=Ce.replace(/[\s<].*/,""),I.error("end tag name: "+Ce+" maybe not complete"),Ae=ue+1+Ce.length);var _e=le.localNSMap,qe=le.tagName==Ce,fe=qe||le.tagName&&le.tagName.toLowerCase()==Ce.toLowerCase();if(fe){if(Q.endElement(le.uri,le.localName,Ce),_e)for(var Te in _e)Object.prototype.hasOwnProperty.call(_e,Te)&&Q.endPrefixMapping(Te);qe||I.fatalError("end tag name: "+Ce+" is not match the current start tagName:"+le.tagName)}else j.push(le);Ae++;break;case"?":Y&&z(ue),Ae=V(w,ue,Q);break;case"!":Y&&z(ue),Ae=M(w,ue,Q,I);break;default:Y&&z(ue);var Be=new S,Ie=j[j.length-1].currentNSMap,Ae=g(w,ue,Be,Ie,U,I),me=Be.length;if(!Be.closed&&D(w,Ae,Be.tagName,ae)&&(Be.closed=!0,F.nbsp||I.warning("unclosed xml attribute")),Y&&me){for(var ke=m(Y,{}),Ee=0;Ee<me;Ee++){var Ne=Be[Ee];z(Ne.offset),Ne.locator=m(Y,{})}Q.locator=ke,k(Be,Q,Ie)&&j.push(Be),Q.locator=Y}else k(Be,Q,Ie)&&j.push(Be);i.isHTML(Be.uri)&&!Be.closed?Ae=A(w,Ae,Be.tagName,U,Q):Ae++}}catch(Ue){if(Ue instanceof E)throw Ue;I.error("element parse error: "+Ue),Ae=-1}Ae>he?he=Ae:G(Math.max(ue,he)+1)}}function m(w,B){return B.lineNumber=w.lineNumber,B.columnNumber=w.columnNumber,B}function g(w,B,F,Q,I,q){function U(Y,j,ae){F.attributeNames.hasOwnProperty(Y)&&q.fatalError("Attribute "+Y+" redefined"),F.addValue(Y,j.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,I),ae)}for(var G,z,Z=++B,W=s;;){var R=w.charAt(Z);switch(R){case"=":if(W===a)G=w.slice(B,Z),W=l;else if(W===o)W=l;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(W===l||W===a)if(W===a&&(q.warning('attribute value must after "="'),G=w.slice(B,Z)),B=Z+1,Z=w.indexOf(R,B),Z>0)z=w.slice(B,Z),U(G,z,B-1),W=d;else throw new Error("attribute value no end '"+R+"' match");else if(W==u)z=w.slice(B,Z),U(G,z,B),q.warning('attribute "'+G+'" missed start quot('+R+")!!"),B=Z+1,W=d;else throw new Error('attribute value must after "="');break;case"/":switch(W){case s:F.setTagName(w.slice(B,Z));case d:case f:case p:W=p,F.closed=!0;case u:case a:break;case o:F.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return q.error("unexpected end of input"),W==s&&F.setTagName(w.slice(B,Z)),Z;case">":switch(W){case s:F.setTagName(w.slice(B,Z));case d:case f:case p:break;case u:case a:z=w.slice(B,Z),z.slice(-1)==="/"&&(F.closed=!0,z=z.slice(0,-1));case o:W===o&&(z=G),W==u?(q.warning('attribute "'+z+'" missed quot(")!'),U(G,z,B)):((!i.isHTML(Q[""])||!z.match(/^(?:disabled|checked|selected)$/i))&&q.warning('attribute "'+z+'" missed value!! "'+z+'" instead!!'),U(z,z,B));break;case l:throw new Error("attribute value missed!!")}return Z;case"€":R=" ";default:if(R<=" ")switch(W){case s:F.setTagName(w.slice(B,Z)),W=f;break;case a:G=w.slice(B,Z),W=o;break;case u:var z=w.slice(B,Z);q.warning('attribute "'+z+'" missed quot(")!!'),U(G,z,B);case d:W=f;break}else switch(W){case o:F.tagName,(!i.isHTML(Q[""])||!G.match(/^(?:disabled|checked|selected)$/i))&&q.warning('attribute "'+G+'" missed value!! "'+G+'" instead2!!'),U(G,G,B),B=Z,W=a;break;case d:q.warning('attribute space is required"'+G+'"!!');case f:W=a,B=Z;break;case l:W=u,B=Z;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}Z++}}function k(w,B,F){for(var Q=w.tagName,I=null,R=w.length;R--;){var q=w[R],U=q.qName,G=q.value,Y=U.indexOf(":");if(Y>0)var z=q.prefix=U.slice(0,Y),Z=U.slice(Y+1),W=z==="xmlns"&&Z;else Z=U,z=null,W=U==="xmlns"&&"";q.localName=Z,W!==!1&&(I==null&&(I={},O(F,F={})),F[W]=I[W]=G,q.uri=i.XMLNS,B.startPrefixMapping(W,G))}for(var R=w.length;R--;){q=w[R];var z=q.prefix;z&&(z==="xml"&&(q.uri=i.XML),z!=="xmlns"&&(q.uri=F[z||""]))}var Y=Q.indexOf(":");Y>0?(z=w.prefix=Q.slice(0,Y),Z=w.localName=Q.slice(Y+1)):(z=null,Z=w.localName=Q);var j=w.uri=F[z||""];if(B.startElement(j,Z,Q,w),w.closed){if(B.endElement(j,Z,Q),I)for(z in I)Object.prototype.hasOwnProperty.call(I,z)&&B.endPrefixMapping(z)}else return w.currentNSMap=F,w.localNSMap=I,!0}function A(w,B,F,Q,I){if(/^(?:script|textarea)$/i.test(F)){var q=w.indexOf("</"+F+">",B),U=w.substring(B+1,q);if(/[&<]/.test(U))return/^script$/i.test(F)?(I.characters(U,0,U.length),q):(U=U.replace(/&#?\w+;/g,Q),I.characters(U,0,U.length),q)}return B+1}function D(w,B,F,Q){var I=Q[F];return I==null&&(I=w.lastIndexOf("</"+F+">"),I<B&&(I=w.lastIndexOf("</"+F)),Q[F]=I),I<B}function O(w,B){for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(B[F]=w[F])}function M(w,B,F,Q){var I=w.charAt(B+2);switch(I){case"-":if(w.charAt(B+3)==="-"){var q=w.indexOf("-->",B+4);return q>B?(F.comment(w,B+4,q-B-4),q+3):(Q.error("Unclosed comment"),-1)}else return-1;default:if(w.substr(B+3,6)=="CDATA["){var q=w.indexOf("]]>",B+9);return F.startCDATA(),F.characters(w,B+9,q-B-9),F.endCDATA(),q+3}var U=L(w,B),G=U.length;if(G>1&&/!doctype/i.test(U[0][0])){var z=U[1][0],Z=!1,W=!1;G>3&&(/^public$/i.test(U[2][0])?(Z=U[3][0],W=G>4&&U[4][0]):/^system$/i.test(U[2][0])&&(W=U[3][0]));var R=U[G-1];return F.startDTD(z,Z,W),F.endDTD(),R.index+R[0].length}}return-1}function V(w,B,F){var Q=w.indexOf("?>",B);if(Q){var I=w.substring(B,Q).match(/^<\?(\S*)\s*([\s\S]*?)$/);return I?(I[0].length,F.processingInstruction(I[1],I[2]),Q+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(w){if(!r.test(w))throw new Error("invalid tagName:"+w);this.tagName=w},addValue:function(w,B,F){if(!r.test(w))throw new Error("invalid attribute:"+w);this.attributeNames[w]=this.length,this[this.length++]={qName:w,value:B,offset:F}},length:0,getLocalName:function(w){return this[w].localName},getLocator:function(w){return this[w].locator},getQName:function(w){return this[w].qName},getURI:function(w){return this[w].uri},getValue:function(w){return this[w].value}};function L(w,B){var F,Q=[],I=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(I.lastIndex=B,I.exec(w);F=I.exec(w);)if(Q.push(F),F[1])return Q}return Qs.XMLReader=C,Qs.ParseError=E,Qs}var ud;function h3(){if(ud)return Kr;ud=1;var i=Fa(),t=wh(),n=c3(),r=d3(),s=t.DOMImplementation,a=i.NAMESPACE,o=r.ParseError,l=r.XMLReader;function u(g){return g.replace(/\r[\n\u0085]/g,`
26
+ `).replace(/[\r\u0085\u2028]/g,`
27
+ `)}function d(g){this.options=g||{locator:{}}}d.prototype.parseFromString=function(g,k){var A=this.options,D=new l,O=A.domBuilder||new p,M=A.errorHandler,V=A.locator,S=A.xmlns||{},L=/\/x?html?$/.test(k),w=L?n.HTML_ENTITIES:n.XML_ENTITIES;V&&O.setDocumentLocator(V),D.errorHandler=f(M,O,V),D.domBuilder=A.domBuilder||O,L&&(S[""]=a.HTML),S.xml=S.xml||a.XML;var B=A.normalizeLineEndings||u;return g&&typeof g=="string"?D.parse(B(g),S,w):D.errorHandler.error("invalid doc source"),O.doc};function f(g,k,A){if(!g){if(k instanceof p)return k;g=k}var D={},O=g instanceof Function;A=A||{};function M(V){var S=g[V];!S&&O&&(S=g.length==2?function(L){g(V,L)}:g),D[V]=S&&function(L){S("[xmldom "+V+"] "+L+C(A))}||function(){}}return M("warning"),M("error"),M("fatalError"),D}function p(){this.cdata=!1}function E(g,k){k.lineNumber=g.lineNumber,k.columnNumber=g.columnNumber}p.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(g,k,A,D){var O=this.doc,M=O.createElementNS(g,A||k),V=D.length;m(this,M),this.currentElement=M,this.locator&&E(this.locator,M);for(var S=0;S<V;S++){var g=D.getURI(S),L=D.getValue(S),A=D.getQName(S),w=O.createAttributeNS(g,A);this.locator&&E(D.getLocator(S),w),w.value=w.nodeValue=L,M.setAttributeNode(w)}},endElement:function(g,k,A){var D=this.currentElement;D.tagName,this.currentElement=D.parentNode},startPrefixMapping:function(g,k){},endPrefixMapping:function(g){},processingInstruction:function(g,k){var A=this.doc.createProcessingInstruction(g,k);this.locator&&E(this.locator,A),m(this,A)},ignorableWhitespace:function(g,k,A){},characters:function(g,k,A){if(g=x.apply(this,arguments),g){if(this.cdata)var D=this.doc.createCDATASection(g);else var D=this.doc.createTextNode(g);this.currentElement?this.currentElement.appendChild(D):/^\s*$/.test(g)&&this.doc.appendChild(D),this.locator&&E(this.locator,D)}},skippedEntity:function(g){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(g){(this.locator=g)&&(g.lineNumber=0)},comment:function(g,k,A){g=x.apply(this,arguments);var D=this.doc.createComment(g);this.locator&&E(this.locator,D),m(this,D)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(g,k,A){var D=this.doc.implementation;if(D&&D.createDocumentType){var O=D.createDocumentType(g,k,A);this.locator&&E(this.locator,O),m(this,O),this.doc.doctype=O}},warning:function(g){console.warn("[xmldom warning] "+g,C(this.locator))},error:function(g){console.error("[xmldom error] "+g,C(this.locator))},fatalError:function(g){throw new o(g,this.locator)}};function C(g){if(g)return`
28
+ @`+(g.systemId||"")+"#[line:"+g.lineNumber+",col:"+g.columnNumber+"]"}function x(g,k,A){return typeof g=="string"?g.substr(k,A):g.length>=k+A||k?new java.lang.String(g,k,A)+"":g}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(g){p.prototype[g]=function(){return null}});function m(g,k){g.currentElement?g.currentElement.appendChild(k):g.doc.appendChild(k)}return Kr.__DOMHandler=p,Kr.normalizeLineEndings=u,Kr.DOMParser=d,Kr}var cd;function f3(){if(cd)return Yr;cd=1;var i=wh();return Yr.DOMImplementation=i.DOMImplementation,Yr.XMLSerializer=i.XMLSerializer,Yr.DOMParser=h3().DOMParser,Yr}var m3=f3();/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */const dd=i=>!!i&&typeof i=="object",Pt=(...i)=>i.reduce((t,n)=>(typeof n!="object"||Object.keys(n).forEach(r=>{Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):dd(t[r])&&dd(n[r])?t[r]=Pt(t[r],n[r]):t[r]=n[r]}),t),{}),Sh=i=>Object.keys(i).map(t=>i[t]),p3=(i,t)=>{const n=[];for(let r=i;r<t;r++)n.push(r);return n},fr=i=>i.reduce((t,n)=>t.concat(n),[]),Dh=i=>{if(!i.length)return[];const t=[];for(let n=0;n<i.length;n++)t.push(i[n]);return t},g3=(i,t)=>i.reduce((n,r,s)=>(r[t]&&n.push(s),n),[]),v3=(i,t)=>Sh(i.reduce((n,r)=>(r.forEach(s=>{n[t(s)]=s}),n),{}));var mr={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};const hs=({baseUrl:i="",source:t="",range:n="",indexRange:r=""})=>{const s={uri:t,resolvedUri:qa(i||"",t)};if(n||r){const o=(n||r).split("-");let l=J.BigInt?J.BigInt(o[0]):parseInt(o[0],10),u=J.BigInt?J.BigInt(o[1]):parseInt(o[1],10);l<Number.MAX_SAFE_INTEGER&&typeof l=="bigint"&&(l=Number(l)),u<Number.MAX_SAFE_INTEGER&&typeof u=="bigint"&&(u=Number(u));let d;typeof u=="bigint"||typeof l=="bigint"?d=J.BigInt(u)-J.BigInt(l)+J.BigInt(1):d=u-l+1,typeof d=="bigint"&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),s.byterange={length:d,offset:l}}return s},y3=i=>{let t;return typeof i.offset=="bigint"||typeof i.length=="bigint"?t=J.BigInt(i.offset)+J.BigInt(i.length)-J.BigInt(1):t=i.offset+i.length-1,`${i.offset}-${t}`},hd=i=>(i&&typeof i!="number"&&(i=parseInt(i,10)),isNaN(i)?null:i),C3={static(i){const{duration:t,timescale:n=1,sourceDuration:r,periodDuration:s}=i,a=hd(i.endNumber),o=t/n;return typeof a=="number"?{start:0,end:a}:typeof s=="number"?{start:0,end:s/o}:{start:0,end:r/o}},dynamic(i){const{NOW:t,clientOffset:n,availabilityStartTime:r,timescale:s=1,duration:a,periodStart:o=0,minimumUpdatePeriod:l=0,timeShiftBufferDepth:u=1/0}=i,d=hd(i.endNumber),f=(t+n)/1e3,p=r+o,C=f+l-p,x=Math.ceil(C*s/a),m=Math.floor((f-p-u)*s/a),g=Math.floor((f-p)*s/a);return{start:Math.max(0,m),end:typeof d=="number"?d:Math.min(x,g)}}},b3=i=>t=>{const{duration:n,timescale:r=1,periodStart:s,startNumber:a=1}=i;return{number:a+t,duration:n/r,timeline:s,time:t*n}},nu=i=>{const{type:t,duration:n,timescale:r=1,periodDuration:s,sourceDuration:a}=i,{start:o,end:l}=C3[t](i),u=p3(o,l).map(b3(i));if(t==="static"){const d=u.length-1,f=typeof s=="number"?s:a;u[d].duration=f-n/r*d}return u},Bh=i=>{const{baseUrl:t,initialization:n={},sourceDuration:r,indexRange:s="",periodStart:a,presentationTime:o,number:l=0,duration:u}=i;if(!t)throw new Error(mr.NO_BASE_URL);const d=hs({baseUrl:t,source:n.sourceURL,range:n.range}),f=hs({baseUrl:t,source:t,indexRange:s});if(f.map=d,u){const p=nu(i);p.length&&(f.duration=p[0].duration,f.timeline=p[0].timeline)}else r&&(f.duration=r,f.timeline=a);return f.presentationTime=o||a,f.number=l,[f]},iu=(i,t,n)=>{const r=i.sidx.map?i.sidx.map:null,s=i.sidx.duration,a=i.timeline||0,o=i.sidx.byterange,l=o.offset+o.length,u=t.timescale,d=t.references.filter(g=>g.referenceType!==1),f=[],p=i.endList?"static":"dynamic",E=i.sidx.timeline;let C=E,x=i.mediaSequence||0,m;typeof t.firstOffset=="bigint"?m=J.BigInt(l)+t.firstOffset:m=l+t.firstOffset;for(let g=0;g<d.length;g++){const k=t.references[g],A=k.referencedSize,D=k.subsegmentDuration;let O;typeof m=="bigint"?O=m+J.BigInt(A)-J.BigInt(1):O=m+A-1;const M=`${m}-${O}`,S=Bh({baseUrl:n,timescale:u,timeline:a,periodStart:E,presentationTime:C,number:x,duration:D,sourceDuration:s,indexRange:M,type:p})[0];r&&(S.map=r),f.push(S),typeof m=="bigint"?m+=J.BigInt(A):m+=A,C+=D/u,x++}return i.segments=f,i},T3=["AUDIO","SUBTITLES"],k3=1/60,Vh=i=>v3(i,({timeline:t})=>t).sort((t,n)=>t.timeline>n.timeline?1:-1),E3=(i,t)=>{for(let n=0;n<i.length;n++)if(i[n].attributes.NAME===t)return i[n];return null},fd=i=>{let t=[];return u3(i,T3,(n,r,s,a)=>{t=t.concat(n.playlists||[])}),t},md=({playlist:i,mediaSequence:t})=>{i.mediaSequence=t,i.segments.forEach((n,r)=>{n.number=i.mediaSequence+r})},x3=({oldPlaylists:i,newPlaylists:t,timelineStarts:n})=>{t.forEach(r=>{r.discontinuitySequence=n.findIndex(function({timeline:u}){return u===r.timeline});const s=E3(i,r.attributes.NAME);if(!s||r.sidx)return;const a=r.segments[0],o=s.segments.findIndex(function(u){return Math.abs(u.presentationTime-a.presentationTime)<k3});if(o===-1){md({playlist:r,mediaSequence:s.mediaSequence+s.segments.length}),r.segments[0].discontinuity=!0,r.discontinuityStarts.unshift(0),(!s.segments.length&&r.timeline>s.timeline||s.segments.length&&r.timeline>s.segments[s.segments.length-1].timeline)&&r.discontinuitySequence--;return}s.segments[o].discontinuity&&!a.discontinuity&&(a.discontinuity=!0,r.discontinuityStarts.unshift(0),r.discontinuitySequence--),md({playlist:r,mediaSequence:s.segments[o].number})})},_3=({oldManifest:i,newManifest:t})=>{const n=i.playlists.concat(fd(i)),r=t.playlists.concat(fd(t));return t.timelineStarts=Vh([i.timelineStarts,t.timelineStarts]),x3({oldPlaylists:n,newPlaylists:r,timelineStarts:t.timelineStarts}),t},Ua=i=>i&&i.uri+"-"+y3(i.byterange),Ho=i=>{const t=i.reduce(function(r,s){return r[s.attributes.baseUrl]||(r[s.attributes.baseUrl]=[]),r[s.attributes.baseUrl].push(s),r},{});let n=[];return Object.values(t).forEach(r=>{const s=Sh(r.reduce((a,o)=>{const l=o.attributes.id+(o.attributes.lang||"");return a[l]?(o.segments&&(o.segments[0]&&(o.segments[0].discontinuity=!0),a[l].segments.push(...o.segments)),o.attributes.contentProtection&&(a[l].attributes.contentProtection=o.attributes.contentProtection)):(a[l]=o,a[l].attributes.timelineStarts=[]),a[l].attributes.timelineStarts.push({start:o.attributes.periodStart,timeline:o.attributes.periodStart}),a},{}));n=n.concat(s)}),n.map(r=>(r.discontinuityStarts=g3(r.segments||[],"discontinuity"),r))},ru=(i,t)=>{const n=Ua(i.sidx),r=n&&t[n]&&t[n].sidx;return r&&iu(i,r,i.sidx.resolvedUri),i},A3=(i,t={})=>{if(!Object.keys(t).length)return i;for(const n in i)i[n]=ru(i[n],t);return i},w3=({attributes:i,segments:t,sidx:n,mediaSequence:r,discontinuitySequence:s,discontinuityStarts:a},o)=>{const l={attributes:{NAME:i.id,BANDWIDTH:i.bandwidth,CODECS:i.codecs,"PROGRAM-ID":1},uri:"",endList:i.type==="static",timeline:i.periodStart,resolvedUri:i.baseUrl||"",targetDuration:i.duration,discontinuitySequence:s,discontinuityStarts:a,timelineStarts:i.timelineStarts,mediaSequence:r,segments:t};return i.contentProtection&&(l.contentProtection=i.contentProtection),i.serviceLocation&&(l.attributes.serviceLocation=i.serviceLocation),n&&(l.sidx=n),o&&(l.attributes.AUDIO="audio",l.attributes.SUBTITLES="subs"),l},S3=({attributes:i,segments:t,mediaSequence:n,discontinuityStarts:r,discontinuitySequence:s})=>{typeof t>"u"&&(t=[{uri:i.baseUrl,timeline:i.periodStart,resolvedUri:i.baseUrl||"",duration:i.sourceDuration,number:0}],i.duration=i.sourceDuration);const a={NAME:i.id,BANDWIDTH:i.bandwidth,"PROGRAM-ID":1};i.codecs&&(a.CODECS=i.codecs);const o={attributes:a,uri:"",endList:i.type==="static",timeline:i.periodStart,resolvedUri:i.baseUrl||"",targetDuration:i.duration,timelineStarts:i.timelineStarts,discontinuityStarts:r,discontinuitySequence:s,mediaSequence:n,segments:t};return i.serviceLocation&&(o.attributes.serviceLocation=i.serviceLocation),o},D3=(i,t={},n=!1)=>{let r;const s=i.reduce((a,o)=>{const l=o.attributes.role&&o.attributes.role.value||"",u=o.attributes.lang||"";let d=o.attributes.label||"main";if(u&&!o.attributes.label){const p=l?` (${l})`:"";d=`${o.attributes.lang}${p}`}a[d]||(a[d]={language:u,autoselect:!0,default:l==="main",playlists:[],uri:""});const f=ru(w3(o,n),t);return a[d].playlists.push(f),typeof r>"u"&&l==="main"&&(r=o,r.default=!0),a},{});if(!r){const a=Object.keys(s)[0];s[a].default=!0}return s},B3=(i,t={})=>i.reduce((n,r)=>{const s=r.attributes.label||r.attributes.lang||"text",a=r.attributes.lang||"und";return n[s]||(n[s]={language:a,default:!1,autoselect:!1,playlists:[],uri:""}),n[s].playlists.push(ru(S3(r),t)),n},{}),V3=i=>i.reduce((t,n)=>(n&&n.forEach(r=>{const{channel:s,language:a}=r;t[a]={autoselect:!1,default:!1,instreamId:s,language:a},r.hasOwnProperty("aspectRatio")&&(t[a].aspectRatio=r.aspectRatio),r.hasOwnProperty("easyReader")&&(t[a].easyReader=r.easyReader),r.hasOwnProperty("3D")&&(t[a]["3D"]=r["3D"])}),t),{}),N3=({attributes:i,segments:t,sidx:n,discontinuityStarts:r})=>{const s={attributes:{NAME:i.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:i.width,height:i.height},CODECS:i.codecs,BANDWIDTH:i.bandwidth,"PROGRAM-ID":1},uri:"",endList:i.type==="static",timeline:i.periodStart,resolvedUri:i.baseUrl||"",targetDuration:i.duration,discontinuityStarts:r,timelineStarts:i.timelineStarts,segments:t};return i.frameRate&&(s.attributes["FRAME-RATE"]=i.frameRate),i.contentProtection&&(s.contentProtection=i.contentProtection),i.serviceLocation&&(s.attributes.serviceLocation=i.serviceLocation),n&&(s.sidx=n),s},I3=({attributes:i})=>i.mimeType==="video/mp4"||i.mimeType==="video/webm"||i.contentType==="video",O3=({attributes:i})=>i.mimeType==="audio/mp4"||i.mimeType==="audio/webm"||i.contentType==="audio",P3=({attributes:i})=>i.mimeType==="text/vtt"||i.contentType==="text",L3=(i,t)=>{i.forEach(n=>{n.mediaSequence=0,n.discontinuitySequence=t.findIndex(function({timeline:r}){return r===n.timeline}),n.segments&&n.segments.forEach((r,s)=>{r.number=s})})},pd=i=>i?Object.keys(i).reduce((t,n)=>{const r=i[n];return t.concat(r.playlists)},[]):[],M3=({dashPlaylists:i,locations:t,contentSteering:n,sidxMapping:r={},previousManifest:s,eventStream:a})=>{if(!i.length)return{};const{sourceDuration:o,type:l,suggestedPresentationDelay:u,minimumUpdatePeriod:d}=i[0].attributes,f=Ho(i.filter(I3)).map(N3),p=Ho(i.filter(O3)),E=Ho(i.filter(P3)),C=i.map(O=>O.attributes.captionServices).filter(Boolean),x={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:A3(f,r)};d>=0&&(x.minimumUpdatePeriod=d*1e3),t&&(x.locations=t),n&&(x.contentSteering=n),l==="dynamic"&&(x.suggestedPresentationDelay=u),a&&a.length>0&&(x.eventStream=a);const m=x.playlists.length===0,g=p.length?D3(p,r,m):null,k=E.length?B3(E,r):null,A=f.concat(pd(g),pd(k)),D=A.map(({timelineStarts:O})=>O);return x.timelineStarts=Vh(D),L3(A,x.timelineStarts),g&&(x.mediaGroups.AUDIO.audio=g),k&&(x.mediaGroups.SUBTITLES.subs=k),C.length&&(x.mediaGroups["CLOSED-CAPTIONS"].cc=V3(C)),s?_3({oldManifest:s,newManifest:x}):x},R3=(i,t,n)=>{const{NOW:r,clientOffset:s,availabilityStartTime:a,timescale:o=1,periodStart:l=0,minimumUpdatePeriod:u=0}=i,d=(r+s)/1e3,f=a+l,E=d+u-f;return Math.ceil((E*o-t)/n)},Nh=(i,t)=>{const{type:n,minimumUpdatePeriod:r=0,media:s="",sourceDuration:a,timescale:o=1,startNumber:l=1,periodStart:u}=i,d=[];let f=-1;for(let p=0;p<t.length;p++){const E=t[p],C=E.d,x=E.r||0,m=E.t||0;f<0&&(f=m),m&&m>f&&(f=m);let g;if(x<0){const D=p+1;D===t.length?n==="dynamic"&&r>0&&s.indexOf("$Number$")>0?g=R3(i,f,C):g=(a*o-f)/C:g=(t[D].t-f)/C}else g=x+1;const k=l+d.length+g;let A=l+d.length;for(;A<k;)d.push({number:A,duration:C/o,time:f,timeline:u}),f+=C,A++}return d},q3=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,F3=i=>(t,n,r,s)=>{if(t==="$$")return"$";if(typeof i[n]>"u")return t;const a=""+i[n];return n==="RepresentationID"||(r?s=parseInt(s,10):s=1,a.length>=s)?a:`${new Array(s-a.length+1).join("0")}${a}`},gd=(i,t)=>i.replace(q3,F3(t)),U3=(i,t)=>!i.duration&&!t?[{number:i.startNumber||1,duration:i.sourceDuration,time:0,timeline:i.periodStart}]:i.duration?nu(i):Nh(i,t),z3=(i,t)=>{const n={RepresentationID:i.id,Bandwidth:i.bandwidth||0},{initialization:r={sourceURL:"",range:""}}=i,s=hs({baseUrl:i.baseUrl,source:gd(r.sourceURL,n),range:r.range});return U3(i,t).map(o=>{n.Number=o.number,n.Time=o.time;const l=gd(i.media||"",n),u=i.timescale||1,d=i.presentationTimeOffset||0,f=i.periodStart+(o.time-d)/u;return{uri:l,timeline:o.timeline,duration:o.duration,resolvedUri:qa(i.baseUrl||"",l),map:s,number:o.number,presentationTime:f}})},H3=(i,t)=>{const{baseUrl:n,initialization:r={}}=i,s=hs({baseUrl:n,source:r.sourceURL,range:r.range}),a=hs({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=s,a},j3=(i,t)=>{const{duration:n,segmentUrls:r=[],periodStart:s}=i;if(!n&&!t||n&&t)throw new Error(mr.SEGMENT_TIME_UNSPECIFIED);const a=r.map(u=>H3(i,u));let o;return n&&(o=nu(i)),t&&(o=Nh(i,t)),o.map((u,d)=>{if(a[d]){const f=a[d],p=i.timescale||1,E=i.presentationTimeOffset||0;return f.timeline=u.timeline,f.duration=u.duration,f.number=u.number,f.presentationTime=s+(u.time-E)/p,f}}).filter(u=>u)},X3=({attributes:i,segmentInfo:t})=>{let n,r;t.template?(r=z3,n=Pt(i,t.template)):t.base?(r=Bh,n=Pt(i,t.base)):t.list&&(r=j3,n=Pt(i,t.list));const s={attributes:i};if(!r)return s;const a=r(n,t.segmentTimeline);if(n.duration){const{duration:o,timescale:l=1}=n;n.duration=o/l}else a.length?n.duration=a.reduce((o,l)=>Math.max(o,Math.ceil(l.duration)),0):n.duration=0;return s.attributes=n,s.segments=a,t.base&&n.indexRange&&(s.sidx=a[0],s.segments=[]),s},G3=i=>i.map(X3),pt=(i,t)=>Dh(i.childNodes).filter(({tagName:n})=>n===t),vs=i=>i.textContent.trim(),Q3=i=>parseFloat(i.split("/").reduce((t,n)=>t/n)),Yi=i=>{const l=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(i);if(!l)return 0;const[u,d,f,p,E,C]=l.slice(1);return parseFloat(u||0)*31536e3+parseFloat(d||0)*2592e3+parseFloat(f||0)*86400+parseFloat(p||0)*3600+parseFloat(E||0)*60+parseFloat(C||0)},Y3=i=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(i)&&(i+="Z"),Date.parse(i)),vd={mediaPresentationDuration(i){return Yi(i)},availabilityStartTime(i){return Y3(i)/1e3},minimumUpdatePeriod(i){return Yi(i)},suggestedPresentationDelay(i){return Yi(i)},type(i){return i},timeShiftBufferDepth(i){return Yi(i)},start(i){return Yi(i)},width(i){return parseInt(i,10)},height(i){return parseInt(i,10)},bandwidth(i){return parseInt(i,10)},frameRate(i){return Q3(i)},startNumber(i){return parseInt(i,10)},timescale(i){return parseInt(i,10)},presentationTimeOffset(i){return parseInt(i,10)},duration(i){const t=parseInt(i,10);return isNaN(t)?Yi(i):t},d(i){return parseInt(i,10)},t(i){return parseInt(i,10)},r(i){return parseInt(i,10)},presentationTime(i){return parseInt(i,10)},DEFAULT(i){return i}},xt=i=>i&&i.attributes?Dh(i.attributes).reduce((t,n)=>{const r=vd[n.name]||vd.DEFAULT;return t[n.name]=r(n.value),t},{}):{},K3={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},za=(i,t)=>t.length?fr(i.map(function(n){return t.map(function(r){const s=vs(r),a=qa(n.baseUrl,s),o=Pt(xt(r),{baseUrl:a});return a!==s&&!o.serviceLocation&&n.serviceLocation&&(o.serviceLocation=n.serviceLocation),o})})):i,su=i=>{const t=pt(i,"SegmentTemplate")[0],n=pt(i,"SegmentList")[0],r=n&&pt(n,"SegmentURL").map(p=>Pt({tag:"SegmentURL"},xt(p))),s=pt(i,"SegmentBase")[0],a=n||t,o=a&&pt(a,"SegmentTimeline")[0],l=n||s||t,u=l&&pt(l,"Initialization")[0],d=t&&xt(t);d&&u?d.initialization=u&&xt(u):d&&d.initialization&&(d.initialization={sourceURL:d.initialization});const f={template:d,segmentTimeline:o&&pt(o,"S").map(p=>xt(p)),list:n&&Pt(xt(n),{segmentUrls:r,initialization:xt(u)}),base:s&&Pt(xt(s),{initialization:xt(u)})};return Object.keys(f).forEach(p=>{f[p]||delete f[p]}),f},W3=(i,t,n)=>r=>{const s=pt(r,"BaseURL"),a=za(t,s),o=Pt(i,xt(r)),l=su(r);return a.map(u=>({segmentInfo:Pt(n,l),attributes:Pt(o,u)}))},J3=i=>i.reduce((t,n)=>{const r=xt(n);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());const s=K3[r.schemeIdUri];if(s){t[s]={attributes:r};const a=pt(n,"cenc:pssh")[0];if(a){const o=vs(a);t[s].pssh=o&&Th(o)}}return t},{}),Z3=i=>{if(i.schemeIdUri==="urn:scte:dash:cc:cea-608:2015")return(typeof i.value!="string"?[]:i.value.split(";")).map(n=>{let r,s;return s=n,/^CC\d=/.test(n)?[r,s]=n.split("="):/^CC\d$/.test(n)&&(r=n),{channel:r,language:s}});if(i.schemeIdUri==="urn:scte:dash:cc:cea-708:2015")return(typeof i.value!="string"?[]:i.value.split(";")).map(n=>{const r={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(n)){const[s,a=""]=n.split("=");r.channel=s,r.language=n,a.split(",").forEach(o=>{const[l,u]=o.split(":");l==="lang"?r.language=u:l==="er"?r.easyReader=Number(u):l==="war"?r.aspectRatio=Number(u):l==="3D"&&(r["3D"]=Number(u))})}else r.language=n;return r.channel&&(r.channel="SERVICE"+r.channel),r})},$3=i=>fr(pt(i.node,"EventStream").map(t=>{const n=xt(t),r=n.schemeIdUri;return pt(t,"Event").map(s=>{const a=xt(s),o=a.presentationTime||0,l=n.timescale||1,u=a.duration||0,d=o/l+i.attributes.start;return{schemeIdUri:r,value:n.value,id:a.id,start:d,end:d+u/l,messageData:vs(s)||a.messageData,contentEncoding:n.contentEncoding,presentationTimeOffset:n.presentationTimeOffset||0}})})),ey=(i,t,n)=>r=>{const s=xt(r),a=za(t,pt(r,"BaseURL")),o=pt(r,"Role")[0],l={role:xt(o)};let u=Pt(i,s,l);const d=pt(r,"Accessibility")[0],f=Z3(xt(d));f&&(u=Pt(u,{captionServices:f}));const p=pt(r,"Label")[0];if(p&&p.childNodes.length){const g=p.childNodes[0].nodeValue.trim();u=Pt(u,{label:g})}const E=J3(pt(r,"ContentProtection"));Object.keys(E).length&&(u=Pt(u,{contentProtection:E}));const C=su(r),x=pt(r,"Representation"),m=Pt(n,C);return fr(x.map(W3(u,a,m)))},ty=(i,t)=>(n,r)=>{const s=za(t,pt(n.node,"BaseURL")),a=Pt(i,{periodStart:n.attributes.start});typeof n.attributes.duration=="number"&&(a.periodDuration=n.attributes.duration);const o=pt(n.node,"AdaptationSet"),l=su(n.node);return fr(o.map(ey(a,s,l)))},ny=(i,t)=>{if(i.length>1&&t({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!i.length)return null;const n=Pt({serverURL:vs(i[0])},xt(i[0]));return n.queryBeforeStart=n.queryBeforeStart==="true",n},iy=({attributes:i,priorPeriodAttributes:t,mpdType:n})=>typeof i.start=="number"?i.start:t&&typeof t.start=="number"&&typeof t.duration=="number"?t.start+t.duration:!t&&n==="static"?0:null,ry=(i,t={})=>{const{manifestUri:n="",NOW:r=Date.now(),clientOffset:s=0,eventHandler:a=function(){}}=t,o=pt(i,"Period");if(!o.length)throw new Error(mr.INVALID_NUMBER_OF_PERIOD);const l=pt(i,"Location"),u=xt(i),d=za([{baseUrl:n}],pt(i,"BaseURL")),f=pt(i,"ContentSteering");u.type=u.type||"static",u.sourceDuration=u.mediaPresentationDuration||0,u.NOW=r,u.clientOffset=s,l.length&&(u.locations=l.map(vs));const p=[];return o.forEach((E,C)=>{const x=xt(E),m=p[C-1];x.start=iy({attributes:x,priorPeriodAttributes:m?m.attributes:null,mpdType:u.type}),p.push({node:E,attributes:x})}),{locations:u.locations,contentSteeringInfo:ny(f,a),representationInfo:fr(p.map(ty(u,d))),eventStream:fr(p.map($3))}},Ih=i=>{if(i==="")throw new Error(mr.DASH_EMPTY_MANIFEST);const t=new m3.DOMParser;let n,r;try{n=t.parseFromString(i,"application/xml"),r=n&&n.documentElement.tagName==="MPD"?n.documentElement:null}catch{}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(mr.DASH_INVALID_XML);return r},sy=i=>{const t=pt(i,"UTCTiming")[0];if(!t)return null;const n=xt(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(mr.UNSUPPORTED_UTC_TIMING_SCHEME)}return n},ay=(i,t={})=>{const n=ry(Ih(i),t),r=G3(n.representationInfo);return M3({dashPlaylists:r,locations:n.locations,contentSteering:n.contentSteeringInfo,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:n.eventStream})},oy=i=>sy(Ih(i));var jo,yd;function ly(){if(yd)return jo;yd=1;var i=Math.pow(2,32),t=function(n){var r=new DataView(n.buffer,n.byteOffset,n.byteLength),s;return r.getBigUint64?(s=r.getBigUint64(0),s<Number.MAX_SAFE_INTEGER?Number(s):s):r.getUint32(0)*i+r.getUint32(4)};return jo={getUint64:t,MAX_UINT32:i},jo}var Xo,Cd;function uy(){if(Cd)return Xo;Cd=1;var i=ly().getUint64,t=function(n){var r=new DataView(n.buffer,n.byteOffset,n.byteLength),s={version:n[0],flags:new Uint8Array(n.subarray(1,4)),references:[],referenceId:r.getUint32(4),timescale:r.getUint32(8)},a=12;s.version===0?(s.earliestPresentationTime=r.getUint32(a),s.firstOffset=r.getUint32(a+4),a+=8):(s.earliestPresentationTime=i(n.subarray(a)),s.firstOffset=i(n.subarray(a+8)),a+=16),a+=2;var o=r.getUint16(a);for(a+=2;o>0;a+=12,o--)s.references.push({referenceType:(n[a]&128)>>>7,referencedSize:r.getUint32(a)&2147483647,subsegmentDuration:r.getUint32(a+4),startsWithSap:!!(n[a+8]&128),sapType:(n[a+8]&112)>>>4,sapDeltaTime:r.getUint32(a+8)&268435455});return s};return Xo=t,Xo}var cy=uy();const dy=Tr(cy);var hy=je([73,68,51]),fy=function(t,n){n===void 0&&(n=0),t=je(t);var r=t[n+5],s=t[n+6]<<21|t[n+7]<<14|t[n+8]<<7|t[n+9],a=(r&16)>>4;return a?s+20:s+10},es=function i(t,n){return n===void 0&&(n=0),t=je(t),t.length-n<10||!mt(t,hy,{offset:n})?n:(n+=fy(t,n),i(t,n))},bd=function(t){return typeof t=="string"?Ah(t):t},my=function(t){return Array.isArray(t)?t.map(function(n){return bd(n)}):[bd(t)]},py=function i(t,n,r){r===void 0&&(r=!1),n=my(n),t=je(t);var s=[];if(!n.length)return s;for(var a=0;a<t.length;){var o=(t[a]<<24|t[a+1]<<16|t[a+2]<<8|t[a+3])>>>0,l=t.subarray(a+4,a+8);if(o===0)break;var u=a+o;if(u>t.length){if(r)break;u=t.length}var d=t.subarray(a+8,u);mt(l,n[0])&&(n.length===1?s.push(d):s.push.apply(s,i(d,n.slice(1),r))),a=u}return s},Ys={EBML:je([26,69,223,163]),DocType:je([66,130]),Segment:je([24,83,128,103]),SegmentInfo:je([21,73,169,102]),Tracks:je([22,84,174,107]),Track:je([174]),TrackNumber:je([215]),DefaultDuration:je([35,227,131]),TrackEntry:je([174]),TrackType:je([131]),FlagDefault:je([136]),CodecID:je([134]),CodecPrivate:je([99,162]),VideoTrack:je([224]),AudioTrack:je([225]),Cluster:je([31,67,182,117]),Timestamp:je([231]),TimestampScale:je([42,215,177]),BlockGroup:je([160]),BlockDuration:je([155]),Block:je([161]),SimpleBlock:je([163])},fl=[128,64,32,16,8,4,2,1],gy=function(t){for(var n=1,r=0;r<fl.length&&!(t&fl[r]);r++)n++;return n},ha=function(t,n,r,s){r===void 0&&(r=!0),s===void 0&&(s=!1);var a=gy(t[n]),o=t.subarray(n,n+a);return r&&(o=Array.prototype.slice.call(t,n,n+a),o[0]^=fl[a-1]),{length:a,value:a3(o,{signed:s}),bytes:o}},Td=function i(t){return typeof t=="string"?t.match(/.{1,2}/g).map(function(n){return i(n)}):typeof t=="number"?o3(t):t},vy=function(t){return Array.isArray(t)?t.map(function(n){return Td(n)}):[Td(t)]},yy=function i(t,n,r){if(r>=n.length)return n.length;var s=ha(n,r,!1);if(mt(t.bytes,s.bytes))return r;var a=ha(n,r+s.length);return i(t,n,r+a.length+a.value+s.length)},kd=function i(t,n){n=vy(n),t=je(t);var r=[];if(!n.length)return r;for(var s=0;s<t.length;){var a=ha(t,s,!1),o=ha(t,s+a.length),l=s+a.length+o.length;o.value===127&&(o.value=yy(a,t,l),o.value!==t.length&&(o.value-=l));var u=l+o.value>t.length?t.length:l+o.value,d=t.subarray(l,u);mt(n[0],a.bytes)&&(n.length===1?r.push(d):r=r.concat(i(d,n.slice(1))));var f=a.length+o.length+d.length;s+=f}return r},Cy=je([0,0,0,1]),by=je([0,0,1]),Ty=je([0,0,3]),ky=function(t){for(var n=[],r=1;r<t.length-2;)mt(t.subarray(r,r+3),Ty)&&(n.push(r+2),r++),r++;if(n.length===0)return t;var s=t.length-n.length,a=new Uint8Array(s),o=0;for(r=0;r<s;o++,r++)o===n[0]&&(o++,n.shift()),a[r]=t[o];return a},Oh=function(t,n,r,s){t=je(t),r=[].concat(r);for(var a=0,o,l=0;a<t.length&&(l<s||o);){var u=void 0;if(mt(t.subarray(a),Cy)?u=4:mt(t.subarray(a),by)&&(u=3),!u){a++;continue}if(l++,o)return ky(t.subarray(o,a));var d=void 0;n==="h264"?d=t[a+u]&31:n==="h265"&&(d=t[a+u]>>1&63),r.indexOf(d)!==-1&&(o=a+u),a+=u+(n==="h264"?1:2)}return t.subarray(0,0)},Ey=function(t,n,r){return Oh(t,"h264",n,r)},xy=function(t,n,r){return Oh(t,"h265",n,r)},$t={webm:je([119,101,98,109]),matroska:je([109,97,116,114,111,115,107,97]),flac:je([102,76,97,67]),ogg:je([79,103,103,83]),ac3:je([11,119]),riff:je([82,73,70,70]),avi:je([65,86,73]),wav:je([87,65,86,69]),"3gp":je([102,116,121,112,51,103]),mp4:je([102,116,121,112]),fmp4:je([115,116,121,112]),mov:je([102,116,121,112,113,116]),moov:je([109,111,111,118]),moof:je([109,111,111,102])},pr={aac:function(t){var n=es(t);return mt(t,[255,16],{offset:n,mask:[255,22]})},mp3:function(t){var n=es(t);return mt(t,[255,2],{offset:n,mask:[255,6]})},webm:function(t){var n=kd(t,[Ys.EBML,Ys.DocType])[0];return mt(n,$t.webm)},mkv:function(t){var n=kd(t,[Ys.EBML,Ys.DocType])[0];return mt(n,$t.matroska)},mp4:function(t){if(pr["3gp"](t)||pr.mov(t))return!1;if(mt(t,$t.mp4,{offset:4})||mt(t,$t.fmp4,{offset:4})||mt(t,$t.moof,{offset:4})||mt(t,$t.moov,{offset:4}))return!0},mov:function(t){return mt(t,$t.mov,{offset:4})},"3gp":function(t){return mt(t,$t["3gp"],{offset:4})},ac3:function(t){var n=es(t);return mt(t,$t.ac3,{offset:n})},ts:function(t){if(t.length<189&&t.length>=1)return t[0]===71;for(var n=0;n+188<t.length&&n<188;){if(t[n]===71&&t[n+188]===71)return!0;n+=1}return!1},flac:function(t){var n=es(t);return mt(t,$t.flac,{offset:n})},ogg:function(t){return mt(t,$t.ogg)},avi:function(t){return mt(t,$t.riff)&&mt(t,$t.avi,{offset:8})},wav:function(t){return mt(t,$t.riff)&&mt(t,$t.wav,{offset:8})},h264:function(t){return Ey(t,7,3).length},h265:function(t){return xy(t,[32,33],3).length}},ml=Object.keys(pr).filter(function(i){return i!=="ts"&&i!=="h264"&&i!=="h265"}).concat(["ts","h264","h265"]);ml.forEach(function(i){var t=pr[i];pr[i]=function(n){return t(je(n))}});var _y=pr,au=function(t){t=je(t);for(var n=0;n<ml.length;n++){var r=ml[n];if(_y[r](t))return r}return""},Ay=function(t){return py(t,["moof"]).length>0},Go,Ed;function wy(){if(Ed)return Go;Ed=1;var i=9e4,t,n,r,s,a,o,l;return t=function(u){return u*i},n=function(u,d){return u*d},r=function(u){return u/i},s=function(u,d){return u/d},a=function(u,d){return t(s(u,d))},o=function(u,d){return n(r(u),d)},l=function(u,d,f){return r(f?u:u-d)},Go={ONE_SECOND_IN_TS:i,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:s,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:l},Go}var Ni=wy();/**
29
+ * @license
30
+ * Video.js 8.23.7 <http://videojs.com/>
31
+ * Copyright 2010-present Video.js contributors
32
+ * Available under Apache License Version 2.0
33
+ * <https://github.com/videojs/video.js/blob/main/LICENSE>
34
+ *
35
+ * Includes vtt.js <https://github.com/mozilla/vtt.js>
36
+ * Available under Apache License Version 2.0
37
+ * <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
38
+ */var pl="8.23.7";const ii={},Ci=function(i,t){return ii[i]=ii[i]||[],t&&(ii[i]=ii[i].concat(t)),ii[i]},Sy=function(i,t){Ci(i,t)},Ph=function(i,t){const n=Ci(i).indexOf(t);return n<=-1?!1:(ii[i]=ii[i].slice(),ii[i].splice(n,1),!0)},Dy=function(i,t){Ci(i,[].concat(t).map(n=>{const r=(...s)=>(Ph(i,r),n(...s));return r}))},fa={prefixed:!0},oa=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],xd=oa[0];let ts;for(let i=0;i<oa.length;i++)if(oa[i][1]in De){ts=oa[i];break}if(ts){for(let i=0;i<ts.length;i++)fa[xd[i]]=ts[i];fa.prefixed=ts[0]!==xd[0]}let an=[];const By=(i,t,n)=>(r,s,a)=>{const o=t.levels[s],l=new RegExp(`^(${o})$`);let u=i;if(r!=="log"&&a.unshift(r.toUpperCase()+":"),n&&(u=`%c${i}`,a.unshift(n)),a.unshift(u+":"),an){an.push([].concat(a));const f=an.length-1e3;an.splice(0,f>0?f:0)}if(!J.console)return;let d=J.console[r];!d&&r==="debug"&&(d=J.console.info||J.console.log),!(!d||!o||!l.test(r))&&d[Array.isArray(a)?"apply":"call"](J.console,a)};function gl(i,t=":",n=""){let r="info",s;function a(...o){s("log",r,o)}return s=By(i,a,n),a.createLogger=(o,l,u)=>{const d=l!==void 0?l:t,f=u!==void 0?u:n,p=`${i} ${d} ${o}`;return gl(p,d,f)},a.createNewLogger=(o,l,u)=>gl(o,l,u),a.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},a.level=o=>{if(typeof o=="string"){if(!a.levels.hasOwnProperty(o))throw new Error(`"${o}" in not a valid log level`);r=o}return r},a.history=()=>an?[].concat(an):[],a.history.filter=o=>(an||[]).filter(l=>new RegExp(`.*${o}.*`).test(l[0])),a.history.clear=()=>{an&&(an.length=0)},a.history.disable=()=>{an!==null&&(an.length=0,an=null)},a.history.enable=()=>{an===null&&(an=[])},a.error=(...o)=>s("error",r,o),a.warn=(...o)=>s("warn",r,o),a.debug=(...o)=>s("debug",r,o),a}const $e=gl("VIDEOJS"),Lh=$e.createLogger,Vy=Object.prototype.toString,Mh=function(i){return Yn(i)?Object.keys(i):[]};function tr(i,t){Mh(i).forEach(n=>t(i[n],n))}function Rh(i,t,n=0){return Mh(i).reduce((r,s)=>t(r,i[s],s),n)}function Yn(i){return!!i&&typeof i=="object"}function gr(i){return Yn(i)&&Vy.call(i)==="[object Object]"&&i.constructor===Object}function ut(...i){const t={};return i.forEach(n=>{n&&tr(n,(r,s)=>{if(!gr(r)){t[s]=r;return}gr(t[s])||(t[s]={}),t[s]=ut(t[s],r)})}),t}function qh(i={}){const t=[];for(const n in i)if(i.hasOwnProperty(n)){const r=i[n];t.push(r)}return t}function Ha(i,t,n,r=!0){const s=o=>Object.defineProperty(i,t,{value:o,enumerable:!0,writable:!0}),a={configurable:!0,enumerable:!0,get(){const o=n();return s(o),o}};return r&&(a.set=s),Object.defineProperty(i,t,a)}var Ny=Object.freeze({__proto__:null,each:tr,reduce:Rh,isObject:Yn,isPlain:gr,merge:ut,values:qh,defineLazyProperty:Ha});let ou=!1,Fh=null,Mn=!1,Uh,zh=!1,nr=!1,ir=!1,Kn=!1,lu=null,ja=null;const Iy=!!(J.cast&&J.cast.framework&&J.cast.framework.CastReceiverContext);let Hh=null,ma=!1,Xa=!1,pa=!1,Ga=!1,ga=!1,va=!1,ya=!1;const fs=!!(kr()&&("ontouchstart"in J||J.navigator.maxTouchPoints||J.DocumentTouch&&J.document instanceof J.DocumentTouch)),hi=J.navigator&&J.navigator.userAgentData;hi&&hi.platform&&hi.brands&&(Mn=hi.platform==="Android",nr=!!hi.brands.find(i=>i.brand==="Microsoft Edge"),ir=!!hi.brands.find(i=>i.brand==="Chromium"),Kn=!nr&&ir,lu=ja=(hi.brands.find(i=>i.brand==="Chromium")||{}).version||null,Xa=hi.platform==="Windows");if(!ir){const i=J.navigator&&J.navigator.userAgent||"";ou=/iPod/i.test(i),Fh=(function(){const t=i.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null})(),Mn=/Android/i.test(i),Uh=(function(){const t=i.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const n=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return n&&r?parseFloat(t[1]+"."+t[2]):n||null})(),zh=/Firefox/i.test(i),nr=/Edg/i.test(i),ir=/Chrome/i.test(i)||/CriOS/i.test(i),Kn=!nr&&ir,lu=ja=(function(){const t=i.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null})(),Hh=(function(){const t=/MSIE\s(\d+)\.\d/.exec(i);let n=t&&parseFloat(t[1]);return!n&&/Trident\/7.0/i.test(i)&&/rv:11.0/.test(i)&&(n=11),n})(),ga=/Tizen/i.test(i),va=/Web0S/i.test(i),ya=ga||va,ma=/Safari/i.test(i)&&!Kn&&!Mn&&!nr&&!ya,Xa=/Windows/i.test(i),pa=/iPad/i.test(i)||ma&&fs&&!/iPhone/i.test(i),Ga=/iPhone/i.test(i)&&!pa}const Ht=Ga||pa||ou,Qa=(ma||Ht)&&!Kn;var jh=Object.freeze({__proto__:null,get IS_IPOD(){return ou},get IOS_VERSION(){return Fh},get IS_ANDROID(){return Mn},get ANDROID_VERSION(){return Uh},get IS_FIREFOX(){return zh},get IS_EDGE(){return nr},get IS_CHROMIUM(){return ir},get IS_CHROME(){return Kn},get CHROMIUM_VERSION(){return lu},get CHROME_VERSION(){return ja},IS_CHROMECAST_RECEIVER:Iy,get IE_VERSION(){return Hh},get IS_SAFARI(){return ma},get IS_WINDOWS(){return Xa},get IS_IPAD(){return pa},get IS_IPHONE(){return Ga},get IS_TIZEN(){return ga},get IS_WEBOS(){return va},get IS_SMART_TV(){return ya},TOUCH_ENABLED:fs,IS_IOS:Ht,IS_ANY_SAFARI:Qa});function _d(i){return typeof i=="string"&&!!i.trim()}function Oy(i){if(i.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function kr(){return De===J.document}function Er(i){return Yn(i)&&i.nodeType===1}function Xh(){try{return J.parent!==J.self}catch{return!0}}function Gh(i){return function(t,n){if(!_d(t))return De[i](null);_d(n)&&(n=De.querySelector(n));const r=Er(n)?n:De;return r[i]&&r[i](t)}}function Xe(i="div",t={},n={},r){const s=De.createElement(i);return Object.getOwnPropertyNames(t).forEach(function(a){const o=t[a];a==="textContent"?ki(s,o):(s[a]!==o||a==="tabIndex")&&(s[a]=o)}),Object.getOwnPropertyNames(n).forEach(function(a){s.setAttribute(a,n[a])}),r&&uu(s,r),s}function ki(i,t){return typeof i.textContent>"u"?i.innerText=t:i.textContent=t,i}function vl(i,t){t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)}function ss(i,t){return Oy(t),i.classList.contains(t)}function Li(i,...t){return i.classList.add(...t.reduce((n,r)=>n.concat(r.split(/\s+/)),[])),i}function Ya(i,...t){return i?(i.classList.remove(...t.reduce((n,r)=>n.concat(r.split(/\s+/)),[])),i):($e.warn("removeClass was called with an element that doesn't exist"),null)}function Qh(i,t,n){return typeof n=="function"&&(n=n(i,t)),typeof n!="boolean"&&(n=void 0),t.split(/\s+/).forEach(r=>i.classList.toggle(r,n)),i}function Yh(i,t){Object.getOwnPropertyNames(t).forEach(function(n){const r=t[n];r===null||typeof r>"u"||r===!1?i.removeAttribute(n):i.setAttribute(n,r===!0?"":r)})}function mi(i){const t={},n=["autoplay","controls","playsinline","loop","muted","default","defaultMuted"];if(i&&i.attributes&&i.attributes.length>0){const r=i.attributes;for(let s=r.length-1;s>=0;s--){const a=r[s].name;let o=r[s].value;n.includes(a)&&(o=o!==null),t[a]=o}}return t}function Kh(i,t){return i.getAttribute(t)}function vr(i,t,n){i.setAttribute(t,n)}function Ka(i,t){i.removeAttribute(t)}function Wh(){De.body.focus(),De.onselectstart=function(){return!1}}function Jh(){De.onselectstart=function(){return!0}}function yr(i){if(i&&i.getBoundingClientRect&&i.parentNode){const t=i.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(r=>{t[r]!==void 0&&(n[r]=t[r])}),n.height||(n.height=parseFloat(Cr(i,"height"))),n.width||(n.width=parseFloat(Cr(i,"width"))),n}}function ms(i){if(!i||i&&!i.offsetParent)return{left:0,top:0,width:0,height:0};const t=i.offsetWidth,n=i.offsetHeight;let r=0,s=0;for(;i.offsetParent&&i!==De[fa.fullscreenElement];)r+=i.offsetLeft,s+=i.offsetTop,i=i.offsetParent;return{left:r,top:s,width:t,height:n}}function Wa(i,t){const n={x:0,y:0};if(Ht){let f=i;for(;f&&f.nodeName.toLowerCase()!=="html";){const p=Cr(f,"transform");if(/^matrix/.test(p)){const E=p.slice(7,-1).split(/,\s/).map(Number);n.x+=E[4],n.y+=E[5]}else if(/^matrix3d/.test(p)){const E=p.slice(9,-1).split(/,\s/).map(Number);n.x+=E[12],n.y+=E[13]}if(f.assignedSlot&&f.assignedSlot.parentElement&&J.WebKitCSSMatrix){const E=J.getComputedStyle(f.assignedSlot.parentElement).transform,C=new J.WebKitCSSMatrix(E);n.x+=C.m41,n.y+=C.m42}f=f.parentNode||f.host}}const r={},s=ms(t.target),a=ms(i),o=a.width,l=a.height;let u=t.offsetY-(a.top-s.top),d=t.offsetX-(a.left-s.left);return t.changedTouches&&(d=t.changedTouches[0].pageX-a.left,u=t.changedTouches[0].pageY+a.top,Ht&&(d-=n.x,u-=n.y)),r.y=1-Math.max(0,Math.min(1,u/l)),r.x=Math.max(0,Math.min(1,d/o)),r}function Zh(i){return Yn(i)&&i.nodeType===3}function Ja(i){for(;i.firstChild;)i.removeChild(i.firstChild);return i}function $h(i){return typeof i=="function"&&(i=i()),(Array.isArray(i)?i:[i]).map(t=>{if(typeof t=="function"&&(t=t()),Er(t)||Zh(t))return t;if(typeof t=="string"&&/\S/.test(t))return De.createTextNode(t)}).filter(t=>t)}function uu(i,t){return $h(t).forEach(n=>i.appendChild(n)),i}function ef(i,t){return uu(Ja(i),t)}function ps(i){return i.button===void 0&&i.buttons===void 0||i.button===0&&i.buttons===void 0||i.type==="mouseup"&&i.button===0&&i.buttons===0||i.type==="mousedown"&&i.button===0&&i.buttons===0?!0:!(i.button!==0||i.buttons!==1)}const bi=Gh("querySelector"),tf=Gh("querySelectorAll");function Cr(i,t){if(!i||!t)return"";if(typeof J.getComputedStyle=="function"){let n;try{n=J.getComputedStyle(i)}catch{return""}return n?n.getPropertyValue(t)||n[t]:""}return""}function nf(i){[...De.styleSheets].forEach(t=>{try{const n=[...t.cssRules].map(s=>s.cssText).join(""),r=De.createElement("style");r.textContent=n,i.document.head.appendChild(r)}catch{const r=De.createElement("link");r.rel="stylesheet",r.type=t.type,r.media=t.media.mediaText,r.href=t.href,i.document.head.appendChild(r)}})}var rf=Object.freeze({__proto__:null,isReal:kr,isEl:Er,isInFrame:Xh,createEl:Xe,textContent:ki,prependTo:vl,hasClass:ss,addClass:Li,removeClass:Ya,toggleClass:Qh,setAttributes:Yh,getAttributes:mi,getAttribute:Kh,setAttribute:vr,removeAttribute:Ka,blockTextSelection:Wh,unblockTextSelection:Jh,getBoundingClientRect:yr,findPosition:ms,getPointerPosition:Wa,isTextNode:Zh,emptyEl:Ja,normalizeContent:$h,appendContent:uu,insertContent:ef,isSingleLeftClick:ps,$:bi,$$:tf,computedStyle:Cr,copyStyleSheetsToWindow:nf});let sf=!1,yl;const Py=function(){if(yl.options.autoSetup===!1)return;const i=Array.prototype.slice.call(De.getElementsByTagName("video")),t=Array.prototype.slice.call(De.getElementsByTagName("audio")),n=Array.prototype.slice.call(De.getElementsByTagName("video-js")),r=i.concat(t,n);if(r&&r.length>0)for(let s=0,a=r.length;s<a;s++){const o=r[s];if(o&&o.getAttribute)o.player===void 0&&o.getAttribute("data-setup")!==null&&yl(o);else{Cl(1);break}}else sf||Cl(1)};function Cl(i,t){kr()&&(t&&(yl=t),J.setTimeout(Py,i))}function bl(){sf=!0,J.removeEventListener("load",bl)}kr()&&(De.readyState==="complete"?bl():J.addEventListener("load",bl));const af=function(i){const t=De.createElement("style");return t.className=i,t},of=function(i,t){i.styleSheet?i.styleSheet.cssText=t:i.textContent=t};var tn=new WeakMap;const Ly=3;let My=Ly;function _n(){return My++}function Ad(i,t){if(!tn.has(i))return;const n=tn.get(i);n.handlers[t].length===0&&(delete n.handlers[t],i.removeEventListener?i.removeEventListener(t,n.dispatcher,!1):i.detachEvent&&i.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),Object.getOwnPropertyNames(n).length===0&&tn.delete(i)}function cu(i,t,n,r){n.forEach(function(s){i(t,s,r)})}function Za(i){if(i.fixed_)return i;function t(){return!0}function n(){return!1}if(!i||!i.isPropagationStopped||!i.isImmediatePropagationStopped){const r=i||J.event;i={};const s=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const a in r)s.includes(a)||a==="returnValue"&&r.preventDefault||(i[a]=r[a]);if(i.target||(i.target=i.srcElement||De),i.relatedTarget||(i.relatedTarget=i.fromElement===i.target?i.toElement:i.fromElement),i.preventDefault=function(){r.preventDefault&&r.preventDefault(),i.returnValue=!1,r.returnValue=!1,i.defaultPrevented=!0},i.defaultPrevented=!1,i.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),i.cancelBubble=!0,r.cancelBubble=!0,i.isPropagationStopped=t},i.isPropagationStopped=n,i.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),i.isImmediatePropagationStopped=t,i.stopPropagation()},i.isImmediatePropagationStopped=n,i.clientX!==null&&i.clientX!==void 0){const a=De.documentElement,o=De.body;i.pageX=i.clientX+(a&&a.scrollLeft||o&&o.scrollLeft||0)-(a&&a.clientLeft||o&&o.clientLeft||0),i.pageY=i.clientY+(a&&a.scrollTop||o&&o.scrollTop||0)-(a&&a.clientTop||o&&o.clientTop||0)}i.which=i.charCode||i.keyCode,i.button!==null&&i.button!==void 0&&(i.button=i.button&1?0:i.button&4?1:i.button&2?2:0)}return i.fixed_=!0,i}let Ks;const Ry=function(){if(typeof Ks!="boolean"){Ks=!1;try{const i=Object.defineProperty({},"passive",{get(){Ks=!0}});J.addEventListener("test",null,i),J.removeEventListener("test",null,i)}catch{}}return Ks},qy=["touchstart","touchmove"];function gn(i,t,n){if(Array.isArray(t))return cu(gn,i,t,n);tn.has(i)||tn.set(i,{});const r=tn.get(i);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=_n()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(s,a){if(r.disabled)return;s=Za(s);const o=r.handlers[s.type];if(o){const l=o.slice(0);for(let u=0,d=l.length;u<d&&!s.isImmediatePropagationStopped();u++)try{l[u].call(i,s,a)}catch(f){$e.error(f)}}}),r.handlers[t].length===1)if(i.addEventListener){let s=!1;Ry()&&qy.indexOf(t)>-1&&(s={passive:!0}),i.addEventListener(t,r.dispatcher,s)}else i.attachEvent&&i.attachEvent("on"+t,r.dispatcher)}function jt(i,t,n){if(!tn.has(i))return;const r=tn.get(i);if(!r.handlers)return;if(Array.isArray(t))return cu(jt,i,t,n);const s=function(o,l){r.handlers[l]=[],Ad(o,l)};if(t===void 0){for(const o in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},o)&&s(i,o);return}const a=r.handlers[t];if(a){if(!n){s(i,t);return}if(n.guid)for(let o=0;o<a.length;o++)a[o].guid===n.guid&&a.splice(o--,1);Ad(i,t)}}function xr(i,t,n){const r=tn.has(i)?tn.get(i):{},s=i.parentNode||i.ownerDocument;if(typeof t=="string"?t={type:t,target:i}:t.target||(t.target=i),t=Za(t),r.dispatcher&&r.dispatcher.call(i,t,n),s&&!t.isPropagationStopped()&&t.bubbles===!0)xr.call(null,s,t,n);else if(!s&&!t.defaultPrevented&&t.target&&t.target[t.type]){tn.has(t.target)||tn.set(t.target,{});const a=tn.get(t.target);t.target[t.type]&&(a.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),a.disabled=!1)}return!t.defaultPrevented}function $a(i,t,n){if(Array.isArray(t))return cu($a,i,t,n);const r=function(){jt(i,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||_n(),gn(i,t,r)}function du(i,t,n){const r=function(){jt(i,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||_n(),gn(i,t,r)}var Fy=Object.freeze({__proto__:null,fixEvent:Za,on:gn,off:jt,trigger:xr,one:$a,any:du});const An=30,ht=function(i,t,n){t.guid||(t.guid=_n());const r=t.bind(i);return r.guid=n?n+"_"+t.guid:t.guid,r},Wn=function(i,t){let n=J.performance.now();return function(...s){const a=J.performance.now();a-n>=t&&(i(...s),n=a)}},lf=function(i,t,n,r=J){let s;const a=()=>{r.clearTimeout(s),s=null},o=function(){const l=this,u=arguments;let d=function(){s=null,d=null,n||i.apply(l,u)};!s&&n&&i.apply(l,u),r.clearTimeout(s),s=r.setTimeout(d,t)};return o.cancel=a,o};var Uy=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:An,bind_:ht,throttle:Wn,debounce:lf});let Wr;class vn{on(t,n){const r=this.addEventListener;this.addEventListener=()=>{},gn(this,t,n),this.addEventListener=r}off(t,n){jt(this,t,n)}one(t,n){const r=this.addEventListener;this.addEventListener=()=>{},$a(this,t,n),this.addEventListener=r}any(t,n){const r=this.addEventListener;this.addEventListener=()=>{},du(this,t,n),this.addEventListener=r}trigger(t){const n=t.type||t;typeof t=="string"&&(t={type:n}),t=Za(t),this.allowedEvents_[n]&&this["on"+n]&&this["on"+n](t),xr(this,t)}queueTrigger(t){Wr||(Wr=new Map);const n=t.type||t;let r=Wr.get(this);r||(r=new Map,Wr.set(this,r));const s=r.get(n);r.delete(n),J.clearTimeout(s);const a=J.setTimeout(()=>{r.delete(n),r.size===0&&(r=null,Wr.delete(this)),this.trigger(t)},0);r.set(n,a)}}vn.prototype.allowedEvents_={};vn.prototype.addEventListener=vn.prototype.on;vn.prototype.removeEventListener=vn.prototype.off;vn.prototype.dispatchEvent=vn.prototype.trigger;const eo=i=>typeof i.name=="function"?i.name():typeof i.name=="string"?i.name:i.name_?i.name_:i.constructor&&i.constructor.name?i.constructor.name:typeof i,ai=i=>i instanceof vn||!!i.eventBusEl_&&["on","one","off","trigger"].every(t=>typeof i[t]=="function"),zy=(i,t)=>{ai(i)?t():(i.eventedCallbacks||(i.eventedCallbacks=[]),i.eventedCallbacks.push(t))},Tl=i=>typeof i=="string"&&/\S/.test(i)||Array.isArray(i)&&!!i.length,Ca=(i,t,n)=>{if(!i||!i.nodeName&&!ai(i))throw new Error(`Invalid target for ${eo(t)}#${n}; must be a DOM node or evented object.`)},uf=(i,t,n)=>{if(!Tl(i))throw new Error(`Invalid event type for ${eo(t)}#${n}; must be a non-empty string or array.`)},cf=(i,t,n)=>{if(typeof i!="function")throw new Error(`Invalid listener for ${eo(t)}#${n}; must be a function.`)},Qo=(i,t,n)=>{const r=t.length<3||t[0]===i||t[0]===i.eventBusEl_;let s,a,o;return r?(s=i.eventBusEl_,t.length>=3&&t.shift(),[a,o]=t):(s=t[0],a=t[1],o=t[2]),Ca(s,i,n),uf(a,i,n),cf(o,i,n),o=ht(i,o),{isTargetingSelf:r,target:s,type:a,listener:o}},Si=(i,t,n,r)=>{Ca(i,i,t),i.nodeName?Fy[t](i,n,r):i[t](n,r)},Hy={on(...i){const{isTargetingSelf:t,target:n,type:r,listener:s}=Qo(this,i,"on");if(Si(n,"on",r,s),!t){const a=()=>this.off(n,r,s);a.guid=s.guid;const o=()=>this.off("dispose",a);o.guid=s.guid,Si(this,"on","dispose",a),Si(n,"on","dispose",o)}},one(...i){const{isTargetingSelf:t,target:n,type:r,listener:s}=Qo(this,i,"one");if(t)Si(n,"one",r,s);else{const a=(...o)=>{this.off(n,r,a),s.apply(null,o)};a.guid=s.guid,Si(n,"one",r,a)}},any(...i){const{isTargetingSelf:t,target:n,type:r,listener:s}=Qo(this,i,"any");if(t)Si(n,"any",r,s);else{const a=(...o)=>{this.off(n,r,a),s.apply(null,o)};a.guid=s.guid,Si(n,"any",r,a)}},off(i,t,n){if(!i||Tl(i))jt(this.eventBusEl_,i,t);else{const r=i,s=t;Ca(r,this,"off"),uf(s,this,"off"),cf(n,this,"off"),n=ht(this,n),this.off("dispose",n),r.nodeName?(jt(r,s,n),jt(r,"dispose",n)):ai(r)&&(r.off(s,n),r.off("dispose",n))}},trigger(i,t){Ca(this.eventBusEl_,this,"trigger");const n=i&&typeof i!="string"?i.type:i;if(!Tl(n))throw new Error(`Invalid event type for ${eo(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return xr(this.eventBusEl_,i,t)}};function hu(i,t={}){const{eventBusKey:n}=t;if(n){if(!i[n].nodeName)throw new Error(`The eventBusKey "${n}" does not refer to an element.`);i.eventBusEl_=i[n]}else i.eventBusEl_=Xe("span",{className:"vjs-event-bus"});return Object.assign(i,Hy),i.eventedCallbacks&&i.eventedCallbacks.forEach(r=>{r()}),i.on("dispose",()=>{i.off(),[i,i.el_,i.eventBusEl_].forEach(function(r){r&&tn.has(r)&&tn.delete(r)}),J.setTimeout(()=>{i.eventBusEl_=null},0)}),i}const jy={state:{},setState(i){typeof i=="function"&&(i=i());let t;return tr(i,(n,r)=>{this.state[r]!==n&&(t=t||{},t[r]={from:this.state[r],to:n}),this.state[r]=n}),t&&ai(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function df(i,t){return Object.assign(i,jy),i.state=Object.assign({},i.state,t),typeof i.handleStateChanged=="function"&&ai(i)&&i.on("statechanged",i.handleStateChanged),i}const as=function(i){return typeof i!="string"?i:i.replace(/./,t=>t.toLowerCase())},bt=function(i){return typeof i!="string"?i:i.replace(/./,t=>t.toUpperCase())},hf=function(i,t){return bt(i)===bt(t)};var Xy=Object.freeze({__proto__:null,toLowerCase:as,toTitleCase:bt,titleCaseEquals:hf});class ve{constructor(t,n,r){if(!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=ut({},this.options_),n=this.options_=ut(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){const s=t&&t.id&&t.id()||"no_player";this.id_=`${s}_component_${_n()}`}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),n.className&&this.el_&&n.className.split(" ").forEach(s=>this.addClass(s)),["on","off","one","any","trigger"].forEach(s=>{this[s]=void 0}),n.evented!==!1&&(hu(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),df(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}dispose(t={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(t.restoreEl?this.el_.parentNode.replaceChild(t.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return!!this.isDisposed_}player(){return this.player_}options(t){return t?(this.options_=ut(this.options_,t),this.options_):this.options_}el(){return this.el_}createEl(t,n,r){return Xe(t,n,r)}localize(t,n,r=t){const s=this.player_.language&&this.player_.language(),a=this.player_.languages&&this.player_.languages(),o=a&&a[s],l=s&&s.split("-")[0],u=a&&a[l];let d=r;return o&&o[t]?d=o[t]:u&&u[t]&&(d=u[t]),n&&(d=d.replace(/\{(\d+)\}/g,function(f,p){const E=n[p-1];let C=E;return typeof E>"u"&&(C=f),C})),d}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(t){return this.childIndex_[t]}getChild(t){if(t)return this.childNameIndex_[t]}getDescendant(...t){t=t.reduce((r,s)=>r.concat(s),[]);let n=this;for(let r=0;r<t.length;r++)if(n=n.getChild(t[r]),!n||!n.getChild)return;return n}setIcon(t,n=this.el()){if(!this.player_.options_.experimentalSvgIcons)return;const r="http://www.w3.org/2000/svg",s=Xe("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),a=De.createElementNS(r,"svg");a.setAttributeNS(null,"viewBox","0 0 512 512");const o=De.createElementNS(r,"use");return a.appendChild(o),o.setAttributeNS(null,"href",`#vjs-icon-${t}`),s.appendChild(a),this.iconIsSet_?n.replaceChild(s,n.querySelector(".vjs-icon-placeholder")):n.appendChild(s),this.iconIsSet_=!0,s}addChild(t,n={},r=this.children_.length){let s,a;if(typeof t=="string"){a=bt(t);const o=n.componentClass||a;n.name=a;const l=ve.getComponent(o);if(!l)throw new Error(`Component ${o} does not exist`);if(typeof l!="function")return null;s=new l(this.player_||this,n)}else s=t;if(s.parentComponent_&&s.parentComponent_.removeChild(s),this.children_.splice(r,0,s),s.parentComponent_=this,typeof s.id=="function"&&(this.childIndex_[s.id()]=s),a=a||s.name&&bt(s.name()),a&&(this.childNameIndex_[a]=s,this.childNameIndex_[as(a)]=s),typeof s.el=="function"&&s.el()){let o=null;this.children_[r+1]&&(this.children_[r+1].el_?o=this.children_[r+1].el_:Er(this.children_[r+1])&&(o=this.children_[r+1])),this.contentEl().insertBefore(s.el(),o)}return s}removeChild(t){if(typeof t=="string"&&(t=this.getChild(t)),!t||!this.children_)return;let n=!1;for(let s=this.children_.length-1;s>=0;s--)if(this.children_[s]===t){n=!0,this.children_.splice(s,1);break}if(!n)return;t.parentComponent_=null,this.childIndex_[t.id()]=null,this.childNameIndex_[bt(t.name())]=null,this.childNameIndex_[as(t.name())]=null;const r=t.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}initChildren(){const t=this.options_.children;if(t){const n=this.options_,r=o=>{const l=o.name;let u=o.opts;if(n[l]!==void 0&&(u=n[l]),u===!1)return;u===!0&&(u={}),u.playerOptions=this.options_.playerOptions;const d=this.addChild(l,u);d&&(this[l]=d)};let s;const a=ve.getComponent("Tech");Array.isArray(t)?s=t:s=Object.keys(t),s.concat(Object.keys(this.options_).filter(function(o){return!s.some(function(l){return typeof l=="string"?o===l:o===l.name})})).map(o=>{let l,u;return typeof o=="string"?(l=o,u=t[l]||this.options_[l]||{}):(l=o.name,u=o),{name:l,opts:u}}).filter(o=>{const l=ve.getComponent(o.opts.componentClass||bt(o.name));return l&&!a.isTech(l)}).forEach(r)}}buildCSSClass(){return""}ready(t,n=!1){if(t){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(t);return}n?t.call(this):this.setTimeout(t,1)}}triggerReady(){this.isReady_=!0,this.setTimeout(function(){const t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(n){n.call(this)},this),this.trigger("ready")},1)}$(t,n){return bi(t,n||this.contentEl())}$$(t,n){return tf(t,n||this.contentEl())}hasClass(t){return ss(this.el_,t)}addClass(...t){Li(this.el_,...t)}removeClass(...t){Ya(this.el_,...t)}toggleClass(t,n){Qh(this.el_,t,n)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(t){return Kh(this.el_,t)}setAttribute(t,n){vr(this.el_,t,n)}removeAttribute(t){Ka(this.el_,t)}width(t,n){return this.dimension("width",t,n)}height(t,n){return this.dimension("height",t,n)}dimensions(t,n){this.width(t,!0),this.height(n)}dimension(t,n,r){if(n!==void 0){(n===null||n!==n)&&(n=0),(""+n).indexOf("%")!==-1||(""+n).indexOf("px")!==-1?this.el_.style[t]=n:n==="auto"?this.el_.style[t]="":this.el_.style[t]=n+"px",r||this.trigger("componentresize");return}if(!this.el_)return 0;const s=this.el_.style[t],a=s.indexOf("px");return parseInt(a!==-1?s.slice(0,a):this.el_["offset"+bt(t)],10)}currentDimension(t){let n=0;if(t!=="width"&&t!=="height")throw new Error("currentDimension only accepts width or height value");if(n=Cr(this.el_,t),n=parseFloat(n),n===0||isNaN(n)){const r=`offset${bt(t)}`;n=this.el_[r]}return n}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}getPositions(){const t=this.el_.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left},r={x:t.left+t.width/2,y:t.top+t.height/2,width:0,height:0,top:t.top+t.height/2,right:t.left+t.width/2,bottom:t.top+t.height/2,left:t.left+t.width/2};return{boundingClientRect:n,center:r}}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(t){this.player_&&(t.key!=="Tab"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled)&&t.stopPropagation(),this.player_.handleKeyDown(t))}handleKeyPress(t){this.handleKeyDown(t)}emitTapEvents(){let t=0,n=null;const r=10,s=200;let a;this.on("touchstart",function(l){l.touches.length===1&&(n={pageX:l.touches[0].pageX,pageY:l.touches[0].pageY},t=J.performance.now(),a=!0)}),this.on("touchmove",function(l){if(l.touches.length>1)a=!1;else if(n){const u=l.touches[0].pageX-n.pageX,d=l.touches[0].pageY-n.pageY;Math.sqrt(u*u+d*d)>r&&(a=!1)}});const o=function(){a=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(l){n=null,a===!0&&J.performance.now()-t<s&&(l.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const t=ht(this.player(),this.player().reportUserActivity);let n;this.on("touchstart",function(){t(),this.clearInterval(n),n=this.setInterval(t,250)});const r=function(s){t(),this.clearInterval(n)};this.on("touchmove",t),this.on("touchend",r),this.on("touchcancel",r)}setTimeout(t,n){var r;return t=ht(this,t),this.clearTimersOnDispose_(),r=J.setTimeout(()=>{this.setTimeoutIds_.has(r)&&this.setTimeoutIds_.delete(r),t()},n),this.setTimeoutIds_.add(r),r}clearTimeout(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),J.clearTimeout(t)),t}setInterval(t,n){t=ht(this,t),this.clearTimersOnDispose_();const r=J.setInterval(t,n);return this.setIntervalIds_.add(r),r}clearInterval(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),J.clearInterval(t)),t}requestAnimationFrame(t){this.clearTimersOnDispose_();var n;return t=ht(this,t),n=J.requestAnimationFrame(()=>{this.rafIds_.has(n)&&this.rafIds_.delete(n),t()}),this.rafIds_.add(n),n}requestNamedAnimationFrame(t,n){this.namedRafs_.has(t)&&this.cancelNamedAnimationFrame(t),this.clearTimersOnDispose_(),n=ht(this,n);const r=this.requestAnimationFrame(()=>{n(),this.namedRafs_.has(t)&&this.namedRafs_.delete(t)});return this.namedRafs_.set(t,r),t}cancelNamedAnimationFrame(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))}cancelAnimationFrame(t){return this.rafIds_.has(t)&&(this.rafIds_.delete(t),J.cancelAnimationFrame(t)),t}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(([t,n])=>{this[t].forEach((r,s)=>this[n](s))}),this.clearingTimersOnDispose_=!1}))}getIsDisabled(){return!!this.el_.disabled}getIsExpresslyInert(){return this.el_.inert&&!this.el_.ownerDocument.documentElement.inert}getIsFocusable(t){return(t||this.el_).tabIndex>=0&&!(this.getIsDisabled()||this.getIsExpresslyInert())}getIsAvailableToBeFocused(t){function n(a){const o=J.getComputedStyle(a,null),l=o.getPropertyValue("visibility");return o.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(l)}function r(a){return!(!n(a.parentElement)||!n(a)||a.style.opacity==="0"||J.getComputedStyle(a).height==="0px"||J.getComputedStyle(a).width==="0px")}function s(a){if(a.offsetWidth+a.offsetHeight+a.getBoundingClientRect().height+a.getBoundingClientRect().width===0)return!1;const o={x:a.getBoundingClientRect().left+a.offsetWidth/2,y:a.getBoundingClientRect().top+a.offsetHeight/2};if(o.x<0||o.x>(De.documentElement.clientWidth||J.innerWidth)||o.y<0||o.y>(De.documentElement.clientHeight||J.innerHeight))return!1;let l=De.elementFromPoint(o.x,o.y);for(;l;){if(l===a)return!0;if(l.parentNode)l=l.parentNode;else return!1}}return t||(t=this.el()),!!(s(t)&&r(t)&&(!t.parentElement||t.tabIndex>=0))}static registerComponent(t,n){if(typeof t!="string"||!t)throw new Error(`Illegal component name, "${t}"; must be a non-empty string.`);const r=ve.getComponent("Tech"),s=r&&r.isTech(n),a=ve===n||ve.prototype.isPrototypeOf(n.prototype);if(s||!a){let l;throw s?l="techs must be registered using Tech.registerTech()":l="must be a Component subclass",new Error(`Illegal component, "${t}"; ${l}.`)}t=bt(t),ve.components_||(ve.components_={});const o=ve.getComponent("Player");if(t==="Player"&&o&&o.players){const l=o.players,u=Object.keys(l);if(l&&u.length>0){for(let d=0;d<u.length;d++)if(l[u[d]]!==null)throw new Error("Can not register Player component after player has been created.")}}return ve.components_[t]=n,ve.components_[as(t)]=n,n}static getComponent(t){if(!(!t||!ve.components_))return ve.components_[t]}}ve.registerComponent("Component",ve);function Gy(i,t,n){if(typeof t!="number"||t<0||t>n)throw new Error(`Failed to execute '${i}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${n}).`)}function wd(i,t,n,r){return Gy(i,r,n.length-1),n[r][t]}function Yo(i){let t;return i===void 0||i.length===0?t={length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:t={length:i.length,start:wd.bind(null,"start",0,i),end:wd.bind(null,"end",1,i)},J.Symbol&&J.Symbol.iterator&&(t[J.Symbol.iterator]=()=>(i||[]).values()),t}function Ln(i,t){return Array.isArray(i)?Yo(i):i===void 0||t===void 0?Yo():Yo([[i,t]])}const ff=function(i,t){i=i<0?0:i;let n=Math.floor(i%60),r=Math.floor(i/60%60),s=Math.floor(i/3600);const a=Math.floor(t/60%60),o=Math.floor(t/3600);return(isNaN(i)||i===1/0)&&(s=r=n="-"),s=s>0||o>0?s+":":"",r=((s||a>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,s+r+n};let fu=ff;function mf(i){fu=i}function pf(){fu=ff}function Ui(i,t=i){return fu(i,t)}var Qy=Object.freeze({__proto__:null,createTimeRanges:Ln,createTimeRange:Ln,setFormatTime:mf,resetFormatTime:pf,formatTime:Ui});function gf(i,t){let n=0,r,s;if(!t)return 0;(!i||!i.length)&&(i=Ln(0,0));for(let a=0;a<i.length;a++)r=i.start(a),s=i.end(a),s>t&&(s=t),n+=s-r;return n/t}function yt(i){if(i instanceof yt)return i;typeof i=="number"?this.code=i:typeof i=="string"?this.message=i:Yn(i)&&(typeof i.code=="number"&&(this.code=i.code),Object.assign(this,i)),this.message||(this.message=yt.defaultMessages[this.code]||"")}yt.prototype.code=0;yt.prototype.message="";yt.prototype.status=null;yt.prototype.metadata=null;yt.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"];yt.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};yt.MEDIA_ERR_CUSTOM=0;yt.prototype.MEDIA_ERR_CUSTOM=0;yt.MEDIA_ERR_ABORTED=1;yt.prototype.MEDIA_ERR_ABORTED=1;yt.MEDIA_ERR_NETWORK=2;yt.prototype.MEDIA_ERR_NETWORK=2;yt.MEDIA_ERR_DECODE=3;yt.prototype.MEDIA_ERR_DECODE=3;yt.MEDIA_ERR_SRC_NOT_SUPPORTED=4;yt.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4;yt.MEDIA_ERR_ENCRYPTED=5;yt.prototype.MEDIA_ERR_ENCRYPTED=5;function os(i){return i!=null&&typeof i.then=="function"}function jn(i){os(i)&&i.then(null,t=>{})}const kl=function(i){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((n,r,s)=>(i[r]&&(n[r]=i[r]),n),{cues:i.cues&&Array.prototype.map.call(i.cues,function(n){return{startTime:n.startTime,endTime:n.endTime,text:n.text,id:n.id}})})},Yy=function(i){const t=i.$$("track"),n=Array.prototype.map.call(t,s=>s.track);return Array.prototype.map.call(t,function(s){const a=kl(s.track);return s.src&&(a.src=s.src),a}).concat(Array.prototype.filter.call(i.textTracks(),function(s){return n.indexOf(s)===-1}).map(kl))},Ky=function(i,t){return i.forEach(function(n){const r=t.addRemoteTextTrack(n).track;!n.src&&n.cues&&n.cues.forEach(s=>r.addCue(s))}),t.textTracks()};var El={textTracksToJson:Yy,jsonToTextTracks:Ky,trackToJson:kl};const Ko="vjs-modal-dialog";class _r extends ve{constructor(t,n){super(t,n),this.handleKeyDown_=r=>this.handleKeyDown(r),this.close_=r=>this.close(r),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=Xe("div",{className:`${Ko}-content`},{role:"document"}),this.descEl_=Xe("p",{className:`${Ko}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),ki(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog","aria-live":"polite"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${Ko} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t}open(){if(this.opened_){this.options_.fillAlways&&this.fill();return}const t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}opened(t){return typeof t=="boolean"&&this[t?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger({type:"modalclose",bubbles:!0}),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(t){if(typeof t=="boolean"){const n=this.closeable_=!!t;let r=this.getChild("closeButton");if(n&&!r){const s=this.contentEl_;this.contentEl_=this.el_,r=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=s,this.on(r,"close",this.close_)}!n&&r&&(this.off(r,"close",this.close_),this.removeChild(r),r.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(t){const n=this.contentEl(),r=n.parentNode,s=n.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,r.removeChild(n),this.empty(),ef(n,t),this.trigger("modalfill"),s?r.insertBefore(n,s):r.appendChild(n);const a=this.getChild("closeButton");a&&r.appendChild(a.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),Ja(this.contentEl()),this.trigger("modalempty")}content(t){return typeof t<"u"&&(this.content_=t),this.content_}conditionalFocus_(){const t=De.activeElement,n=this.player_.el_;this.previouslyActiveEl_=null,(n.contains(t)||n===t)&&(this.previouslyActiveEl_=t,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(t){if(this.trigger({type:"modalKeydown",originalEvent:t,target:this,bubbles:!0}),t.stopPropagation(),t.key==="Escape"&&this.closeable()){t.preventDefault(),this.close();return}if(t.key!=="Tab")return;const n=this.focusableEls_(),r=this.el_.querySelector(":focus");let s;for(let a=0;a<n.length;a++)if(r===n[a]){s=a;break}De.activeElement===this.el_&&(s=0),t.shiftKey&&s===0?(n[n.length-1].focus(),t.preventDefault()):!t.shiftKey&&s===n.length-1&&(n[0].focus(),t.preventDefault())}focusableEls_(){const t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,n=>(n instanceof J.HTMLAnchorElement||n instanceof J.HTMLAreaElement)&&n.hasAttribute("href")||(n instanceof J.HTMLInputElement||n instanceof J.HTMLSelectElement||n instanceof J.HTMLTextAreaElement||n instanceof J.HTMLButtonElement)&&!n.hasAttribute("disabled")||n instanceof J.HTMLIFrameElement||n instanceof J.HTMLObjectElement||n instanceof J.HTMLEmbedElement||n.hasAttribute("tabindex")&&n.getAttribute("tabindex")!==-1||n.hasAttribute("contenteditable"))}}_r.prototype.options_={pauseOnOpen:!0,temporary:!0};ve.registerComponent("ModalDialog",_r);class zi extends vn{constructor(t=[]){super(),this.tracks_=[];for(let n=0;n<t.length;n++)this.addTrack(t[n])}get length(){return this.tracks_.length}addTrack(t){const n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get(){return this.tracks_[n]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack",target:this})),t.labelchange_=()=>{this.trigger({track:t,type:"labelchange",target:this})},ai(t)&&t.addEventListener("labelchange",t.labelchange_)}removeTrack(t){let n;for(let r=0,s=this.length;r<s;r++)if(this[r]===t){n=this[r],n.off&&n.off(),this.tracks_.splice(r,1);break}n&&this.trigger({track:n,type:"removetrack",target:this})}getTrackById(t){let n=null;for(let r=0,s=this.length;r<s;r++){const a=this[r];if(a.id===t){n=a;break}}return n}}zi.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const i in zi.prototype.allowedEvents_)zi.prototype["on"+i]=null;const Wo=function(i,t){for(let n=0;n<i.length;n++)!Object.keys(i[n]).length||t.id===i[n].id||(i[n].enabled=!1)};class vf extends zi{constructor(t=[]){for(let n=t.length-1;n>=0;n--)if(t[n].enabled){Wo(t,t[n]);break}super(t),this.changing_=!1}addTrack(t){t.enabled&&Wo(this,t),super.addTrack(t),t.addEventListener&&(t.enabledChange_=()=>{this.changing_||(this.changing_=!0,Wo(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)}}const Jo=function(i,t){for(let n=0;n<i.length;n++)!Object.keys(i[n]).length||t.id===i[n].id||(i[n].selected=!1)};class yf extends zi{constructor(t=[]){for(let n=t.length-1;n>=0;n--)if(t[n].selected){Jo(t,t[n]);break}super(t),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let n=0;n<this.length;n++)if(this[n].selected)return n;return-1},set(){}})}addTrack(t){t.selected&&Jo(this,t),super.addTrack(t),t.addEventListener&&(t.selectedChange_=()=>{this.changing_||(this.changing_=!0,Jo(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)}}class mu extends zi{addTrack(t){super.addTrack(t),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),t.addEventListener("modechange",this.queueChange_),["metadata","chapters"].indexOf(t.kind)===-1&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(t){super.removeTrack(t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}toJSON(){return this.tracks_.map(t=>t.toJSON())}}class Wy{constructor(t=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let n=0,r=t.length;n<r;n++)this.addTrackElement_(t[n])}addTrackElement_(t){const n=this.trackElements_.length;""+n in this||Object.defineProperty(this,n,{get(){return this.trackElements_[n]}}),this.trackElements_.indexOf(t)===-1&&this.trackElements_.push(t)}getTrackElementByTrack_(t){let n;for(let r=0,s=this.trackElements_.length;r<s;r++)if(t===this.trackElements_[r].track){n=this.trackElements_[r];break}return n}removeTrackElement_(t){for(let n=0,r=this.trackElements_.length;n<r;n++)if(t===this.trackElements_[n]){this.trackElements_[n].track&&typeof this.trackElements_[n].track.off=="function"&&this.trackElements_[n].track.off(),typeof this.trackElements_[n].off=="function"&&this.trackElements_[n].off(),this.trackElements_.splice(n,1);break}}}class ba{constructor(t){ba.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(t){const n=this.length||0;let r=0;const s=t.length;this.cues_=t,this.length_=t.length;const a=function(o){""+o in this||Object.defineProperty(this,""+o,{get(){return this.cues_[o]}})};if(n<s)for(r=n;r<s;r++)a.call(this,r)}getCueById(t){let n=null;for(let r=0,s=this.length;r<s;r++){const a=this[r];if(a.id===t){n=a;break}}return n}}const Jy={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Zy={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},$y={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Sd={disabled:"disabled",hidden:"hidden",showing:"showing"};class pu extends vn{constructor(t={}){super();const n={id:t.id||"vjs_track_"+_n(),kind:t.kind||"",language:t.language||""};let r=t.label||"";for(const s in n)Object.defineProperty(this,s,{get(){return n[s]},set(){}});Object.defineProperty(this,"label",{get(){return r},set(s){s!==r&&(r=s,this.trigger("labelchange"))}})}}const gu=function(i){return new URL(i,De.baseURI)},Cf=function(i){return new URL(i,De.baseURI).href},vu=function(i){if(typeof i=="string"){const n=i.split("?")[0].replace(/\/+$/,"").match(/\.([^.\/]+)$/);return n?n[1].toLowerCase():""}return""},to=function(i,t=J.location){return gu(i).origin!==t.origin};var e4=Object.freeze({__proto__:null,parseUrl:gu,getAbsoluteURL:Cf,getFileExtension:vu,isCrossOrigin:to});const Dd=function(i,t){const n=new J.WebVTT.Parser(J,J.vttjs,J.WebVTT.StringDecoder()),r=[];n.oncue=function(s){t.addCue(s)},n.onparsingerror=function(s){r.push(s)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(i),r.length>0&&(J.console&&J.console.groupCollapsed&&J.console.groupCollapsed(`Text Track parsing errors for ${t.src}`),r.forEach(s=>$e.error(s)),J.console&&J.console.groupEnd&&J.console.groupEnd()),n.flush()},Bd=function(i,t){const n={uri:i},r=to(i);r&&(n.cors=r);const s=t.tech_.crossOrigin()==="use-credentials";s&&(n.withCredentials=s),bh(n,ht(this,function(a,o,l){if(a)return $e.error(a,o);t.loaded_=!0,typeof J.WebVTT!="function"?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],u=>{if(u.type==="vttjserror"){$e.error(`vttjs failed to load, stopping trying to process ${t.src}`);return}return Dd(l,t)}):Dd(l,t)}))};class ys extends pu{constructor(t={}){if(!t.tech)throw new Error("A tech was not provided.");const n=ut(t,{kind:$y[t.kind]||"subtitles",language:t.language||t.srclang||""});let r=Sd[n.mode]||"disabled";const s=n.default;(n.kind==="metadata"||n.kind==="chapters")&&(r="hidden"),super(n),this.tech_=n.tech,this.cues_=[],this.activeCues_=[],this.preload_=this.tech_.preloadTextTracks!==!1;const a=new ba(this.cues_),o=new ba(this.activeCues_);let l=!1;this.timeupdateHandler=ht(this,function(d={}){if(!this.tech_.isDisposed()){if(!this.tech_.isReady_){d.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),d.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});const u=()=>{this.stopTracking()};this.tech_.one("dispose",u),r!=="disabled"&&this.startTracking(),Object.defineProperties(this,{default:{get(){return s},set(){}},mode:{get(){return r},set(d){Sd[d]&&r!==d&&(r=d,!this.preload_&&r!=="disabled"&&this.cues.length===0&&Bd(this.src,this),this.stopTracking(),r!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?a:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return o;const d=this.tech_.currentTime(),f=[];for(let p=0,E=this.cues.length;p<E;p++){const C=this.cues[p];C.startTime<=d&&C.endTime>=d&&f.push(C)}if(l=!1,f.length!==this.activeCues_.length)l=!0;else for(let p=0;p<f.length;p++)this.activeCues_.indexOf(f[p])===-1&&(l=!0);return this.activeCues_=f,o.setCues_(this.activeCues_),o},set(){}}}),n.src?(this.src=n.src,this.preload_||(this.loaded_=!0),(this.preload_||n.kind!=="subtitles"&&n.kind!=="captions")&&Bd(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(t){let n=t;if(!("getCueAsHTML"in n)){n=new J.vttjs.VTTCue(t.startTime,t.endTime,t.text);for(const s in t)s in n||(n[s]=t[s]);n.id=t.id,n.originalCue_=t}const r=this.tech_.textTracks();for(let s=0;s<r.length;s++)r[s]!==this&&r[s].removeCue(n);this.cues_.push(n),this.cues.setCues_(this.cues_)}toJSON(){return El.trackToJson(this)}removeCue(t){let n=this.cues_.length;for(;n--;){const r=this.cues_[n];if(r===t||r.originalCue_&&r.originalCue_===t){this.cues_.splice(n,1),this.cues.setCues_(this.cues_);break}}}}ys.prototype.allowedEvents_={cuechange:"cuechange"};class bf extends pu{constructor(t={}){const n=ut(t,{kind:Zy[t.kind]||""});super(n);let r=!1;Object.defineProperty(this,"enabled",{get(){return r},set(s){typeof s!="boolean"||s===r||(r=s,this.trigger("enabledchange"))}}),n.enabled&&(this.enabled=n.enabled),this.loaded_=!0}}class Tf extends pu{constructor(t={}){const n=ut(t,{kind:Jy[t.kind]||""});super(n);let r=!1;Object.defineProperty(this,"selected",{get(){return r},set(s){typeof s!="boolean"||s===r||(r=s,this.trigger("selectedchange"))}}),n.selected&&(this.selected=n.selected)}}class oi extends vn{constructor(t={}){super();let n;const r=new ys(t);this.kind=r.kind,this.src=r.src,this.srclang=r.language,this.label=r.label,this.default=r.default,Object.defineProperties(this,{readyState:{get(){return n}},track:{get(){return r}}}),n=oi.NONE,r.addEventListener("loadeddata",()=>{n=oi.LOADED,this.trigger({type:"load",target:this})})}}oi.prototype.allowedEvents_={load:"load"};oi.NONE=0;oi.LOADING=1;oi.LOADED=2;oi.ERROR=3;const kn={audio:{ListClass:vf,TrackClass:bf,capitalName:"Audio"},video:{ListClass:yf,TrackClass:Tf,capitalName:"Video"},text:{ListClass:mu,TrackClass:ys,capitalName:"Text"}};Object.keys(kn).forEach(function(i){kn[i].getterName=`${i}Tracks`,kn[i].privateName=`${i}Tracks_`});const br={remoteText:{ListClass:mu,TrackClass:ys,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Wy,TrackClass:oi,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},en=Object.assign({},kn,br);br.names=Object.keys(br);kn.names=Object.keys(kn);en.names=[].concat(br.names).concat(kn.names);function t4(i,t,n,r,s={}){const a=i.textTracks();s.kind=t,n&&(s.label=n),r&&(s.language=r),s.tech=i;const o=new en.text.TrackClass(s);return a.addTrack(o),o}class Ye extends ve{constructor(t={},n=function(){}){t.reportTouchActivity=!1,super(null,t,n),this.onDurationChange_=r=>this.onDurationChange(r),this.trackProgress_=r=>this.trackProgress(r),this.trackCurrentTime_=r=>this.trackCurrentTime(r),this.stopTrackingCurrentTime_=r=>this.stopTrackingCurrentTime(r),this.disposeSourceHandler_=r=>this.disposeSourceHandler(r),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),en.names.forEach(r=>{const s=en[r];t&&t[s.getterName]&&(this[s.privateName]=t[s.getterName])}),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(r=>{t[`native${r}Tracks`]===!1&&(this[`featuresNative${r}Tracks`]=!1)}),t.nativeCaptions===!1||t.nativeTextTracks===!1?this.featuresNativeTextTracks=!1:(t.nativeCaptions===!0||t.nativeTextTracks===!0)&&(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=t.preloadTextTracks!==!1,this.autoRemoteTextTracks_=new en.text.ListClass,this.initTrackListeners(),t.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(t){this.isReady_||this.one("ready",()=>this.setTimeout(()=>this.triggerSourceset(t),1)),this.trigger({src:t,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(ht(this,function(){const n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress"),this.bufferedPercent_=n,n===1&&this.stopTrackingProgress()}),500)}onDurationChange(t){this.duration_=this.duration()}buffered(){return Ln(0,0)}bufferedPercent(){return gf(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(kn.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(t){t=[].concat(t),t.forEach(n=>{const r=this[`${n}Tracks`]()||[];let s=r.length;for(;s--;){const a=r[s];n==="text"&&this.removeRemoteTextTrack(a),r.removeTrack(a)}})}cleanupAutoTextTracks(){const t=this.autoRemoteTextTracks_||[];let n=t.length;for(;n--;){const r=t[n];this.removeRemoteTextTrack(r)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(t){return t!==void 0&&(this.error_=new yt(t),this.trigger("error")),this.error_}played(){return this.hasStarted_?Ln(0,0):Ln()}play(){}setScrubbing(t){}scrubbing(){}setCurrentTime(t){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){kn.names.forEach(t=>{const n=kn[t],r=()=>{this.trigger(`${t}trackchange`)},s=this[n.getterName]();s.addEventListener("removetrack",r),s.addEventListener("addtrack",r),this.on("dispose",()=>{s.removeEventListener("removetrack",r),s.removeEventListener("addtrack",r)})})}addWebVttScript_(){if(!J.WebVTT)if(De.body.contains(this.el())){if(!this.options_["vtt.js"]&&gr(ed)&&Object.keys(ed).length>0){this.trigger("vttjsloaded");return}const t=De.createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=()=>{this.trigger("vttjsloaded")},t.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",()=>{t.onload=null,t.onerror=null}),J.WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const t=this.textTracks(),n=this.remoteTextTracks(),r=l=>t.addTrack(l.track),s=l=>t.removeTrack(l.track);n.on("addtrack",r),n.on("removetrack",s),this.addWebVttScript_();const a=()=>this.trigger("texttrackchange"),o=()=>{a();for(let l=0;l<t.length;l++){const u=t[l];u.removeEventListener("cuechange",a),u.mode==="showing"&&u.addEventListener("cuechange",a)}};o(),t.addEventListener("change",o),t.addEventListener("addtrack",o),t.addEventListener("removetrack",o),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",s),t.removeEventListener("change",o),t.removeEventListener("addtrack",o),t.removeEventListener("removetrack",o);for(let l=0;l<t.length;l++)t[l].removeEventListener("cuechange",a)})}addTextTrack(t,n,r){if(!t)throw new Error("TextTrack kind is required but was not provided");return t4(this,t,n,r)}createRemoteTextTrack(t){const n=ut(t,{tech:this});return new br.remoteTextEl.TrackClass(n)}addRemoteTextTrack(t={},n){const r=this.createRemoteTextTrack(t);return typeof n!="boolean"&&(n=!1),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),n===!1&&this.ready(()=>this.autoRemoteTextTracks_.addTrack(r.track)),r}removeRemoteTextTrack(t){const n=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(n),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(t){const n=_n();return!this.isReady_||this.paused()?(this.queuedHanders_.add(n),this.one("playing",()=>{this.queuedHanders_.has(n)&&(this.queuedHanders_.delete(n),t())})):this.requestNamedAnimationFrame(n,t),n}cancelVideoFrameCallback(t){this.queuedHanders_.has(t)?this.queuedHanders_.delete(t):this.cancelNamedAnimationFrame(t)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(t){}overrideNativeVideoTracks(t){}canPlayType(t){return""}static canPlayType(t){return""}static canPlaySource(t,n){return Ye.canPlayType(t.type)}static isTech(t){return t.prototype instanceof Ye||t instanceof Ye||t===Ye}static registerTech(t,n){if(Ye.techs_||(Ye.techs_={}),!Ye.isTech(n))throw new Error(`Tech ${t} must be a Tech`);if(!Ye.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Ye.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=bt(t),Ye.techs_[t]=n,Ye.techs_[as(t)]=n,t!=="Tech"&&Ye.defaultTechOrder_.push(t),n}static getTech(t){if(t){if(Ye.techs_&&Ye.techs_[t])return Ye.techs_[t];if(t=bt(t),J&&J.videojs&&J.videojs[t])return $e.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),J.videojs[t]}}}en.names.forEach(function(i){const t=en[i];Ye.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}});Ye.prototype.featuresVolumeControl=!0;Ye.prototype.featuresMuteControl=!0;Ye.prototype.featuresFullscreenResize=!1;Ye.prototype.featuresPlaybackRate=!1;Ye.prototype.featuresProgressEvents=!1;Ye.prototype.featuresSourceset=!1;Ye.prototype.featuresTimeupdateEvents=!1;Ye.prototype.featuresNativeTextTracks=!1;Ye.prototype.featuresVideoFrameCallback=!1;Ye.withSourceHandlers=function(i){i.registerSourceHandler=function(n,r){let s=i.sourceHandlers;s||(s=i.sourceHandlers=[]),r===void 0&&(r=s.length),s.splice(r,0,n)},i.canPlayType=function(n){const r=i.sourceHandlers||[];let s;for(let a=0;a<r.length;a++)if(s=r[a].canPlayType(n),s)return s;return""},i.selectSourceHandler=function(n,r){const s=i.sourceHandlers||[];let a;for(let o=0;o<s.length;o++)if(a=s[o].canHandleSource(n,r),a)return s[o];return null},i.canPlaySource=function(n,r){const s=i.selectSourceHandler(n,r);return s?s.canHandleSource(n,r):""},["seekable","seeking","duration"].forEach(function(n){const r=this[n];typeof r=="function"&&(this[n]=function(){return this.sourceHandler_&&this.sourceHandler_[n]?this.sourceHandler_[n].apply(this.sourceHandler_,arguments):r.apply(this,arguments)})},i.prototype),i.prototype.setSource=function(n){let r=i.selectSourceHandler(n,this.options_);r||(i.nativeSourceHandler?r=i.nativeSourceHandler:$e.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),r!==i.nativeSourceHandler&&(this.currentSource_=n),this.sourceHandler_=r.handleSource(n,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},i.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};ve.registerComponent("Tech",Ye);Ye.registerTech("Tech",Ye);Ye.defaultTechOrder_=[];const Mi={},Ta={},ka={};function n4(i,t){Mi[i]=Mi[i]||[],Mi[i].push(t)}function i4(i,t,n){i.setTimeout(()=>Di(t,Mi[t.type],n,i),1)}function r4(i,t){i.forEach(n=>n.setTech&&n.setTech(t))}function s4(i,t,n){return i.reduceRight(yu(n),t[n]())}function a4(i,t,n,r){return t[n](i.reduce(yu(n),r))}function Vd(i,t,n,r=null){const s="call"+bt(n),a=i.reduce(yu(s),r),o=a===ka,l=o?null:t[n](a);return u4(i,n,l,o),l}const o4={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},l4={setCurrentTime:1,setMuted:1,setVolume:1},Nd={play:1,pause:1};function yu(i){return(t,n)=>t===ka?ka:n[i]?n[i](t):t}function u4(i,t,n,r){for(let s=i.length-1;s>=0;s--){const a=i[s];a[t]&&a[t](r,n)}}function c4(i){Ta.hasOwnProperty(i.id())&&delete Ta[i.id()]}function d4(i,t){const n=Ta[i.id()];let r=null;if(n==null)return r=t(i),Ta[i.id()]=[[t,r]],r;for(let s=0;s<n.length;s++){const[a,o]=n[s];a===t&&(r=o)}return r===null&&(r=t(i),n.push([t,r])),r}function Di(i={},t=[],n,r,s=[],a=!1){const[o,...l]=t;if(typeof o=="string")Di(i,Mi[o],n,r,s,a);else if(o){const u=d4(r,o);if(!u.setSource)return s.push(u),Di(i,l,n,r,s,a);u.setSource(Object.assign({},i),function(d,f){if(d)return Di(i,l,n,r,s,a);s.push(u),Di(f,i.type===f.type?l:Mi[f.type],n,r,s,a)})}else l.length?Di(i,l,n,r,s,a):a?n(i,s):Di(i,Mi["*"],n,r,s,!0)}const h4={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},Ea=function(i=""){const t=vu(i);return h4[t.toLowerCase()]||""},f4=(i,t)=>{if(!t)return"";if(i.cache_.source.src===t&&i.cache_.source.type)return i.cache_.source.type;const n=i.cache_.sources.filter(s=>s.src===t);if(n.length)return n[0].type;const r=i.$$("source");for(let s=0;s<r.length;s++){const a=r[s];if(a.type&&a.src&&a.src===t)return a.type}return Ea(t)},kf=function(i){if(Array.isArray(i)){let t=[];i.forEach(function(n){n=kf(n),Array.isArray(n)?t=t.concat(n):Yn(n)&&t.push(n)}),i=t}else typeof i=="string"&&i.trim()?i=[Id({src:i})]:Yn(i)&&typeof i.src=="string"&&i.src&&i.src.trim()?i=[Id(i)]:i=[];return i};function Id(i){if(!i.type){const t=Ea(i.src);t&&(i.type=t)}return i}var m4=`<svg xmlns="http://www.w3.org/2000/svg">
39
+ <defs>
40
+ <symbol viewBox="0 0 48 48" id="vjs-icon-play">
41
+ <path d="M16 10v28l22-14z"></path>
42
+ </symbol>
43
+ <symbol viewBox="0 0 48 48" id="vjs-icon-pause">
44
+ <path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"></path>
45
+ </symbol>
46
+ <symbol viewBox="0 0 48 48" id="vjs-icon-audio">
47
+ <path d="M24 2C14.06 2 6 10.06 6 20v14c0 3.31 2.69 6 6 6h6V24h-8v-4c0-7.73 6.27-14 14-14s14 6.27 14 14v4h-8v16h6c3.31 0 6-2.69 6-6V20c0-9.94-8.06-18-18-18z"></path>
48
+ </symbol>
49
+ <symbol viewBox="0 0 48 48" id="vjs-icon-captions">
50
+ <path d="M38 8H10c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM22 22h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2zm14 0h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2z"></path>
51
+ </symbol>
52
+ <symbol viewBox="0 0 48 48" id="vjs-icon-subtitles">
53
+ <path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"></path>
54
+ </symbol>
55
+ <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-enter">
56
+ <path d="M14 28h-4v10h10v-4h-6v-6zm-4-8h4v-6h6v-4H10v10zm24 14h-6v4h10V28h-4v6zm-6-24v4h6v6h4V10H28z"></path>
57
+ </symbol>
58
+ <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-exit">
59
+ <path d="M10 32h6v6h4V28H10v4zm6-16h-6v4h10V10h-4v6zm12 22h4v-6h6v-4H28v10zm4-22v-6h-4v10h10v-4h-6z"></path>
60
+ </symbol>
61
+ <symbol viewBox="0 0 48 48" id="vjs-icon-play-circle">
62
+ <path d="M20 33l12-9-12-9v18zm4-29C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
63
+ </symbol>
64
+ <symbol viewBox="0 0 48 48" id="vjs-icon-volume-mute">
65
+ <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13a17.94 17.94 0 0 0 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"></path>
66
+ </symbol>
67
+ <symbol viewBox="0 0 48 48" id="vjs-icon-volume-low">
68
+ <path d="M14 18v12h8l10 10V8L22 18h-8z"></path>
69
+ </symbol>
70
+ <symbol viewBox="0 0 48 48" id="vjs-icon-volume-medium">
71
+ <path d="M37 24c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zm-27-6v12h8l10 10V8L18 18h-8z"></path>
72
+ </symbol>
73
+ <symbol viewBox="0 0 48 48" id="vjs-icon-volume-high">
74
+ <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"></path>
75
+ </symbol>
76
+ <symbol viewBox="0 0 48 48" id="vjs-icon-spinner">
77
+ <path d="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64 4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77 18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44 24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0 1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99 12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0 9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"></path>
78
+ </symbol>
79
+ <symbol viewBox="0 0 24 24" id="vjs-icon-hd">
80
+ <path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path>
81
+ </symbol>
82
+ <symbol viewBox="0 0 48 48" id="vjs-icon-chapters">
83
+ <path d="M6 26h4v-4H6v4zm0 8h4v-4H6v4zm0-16h4v-4H6v4zm8 8h28v-4H14v4zm0 8h28v-4H14v4zm0-20v4h28v-4H14z"></path>
84
+ </symbol>
85
+ <symbol viewBox="0 0 40 40" id="vjs-icon-downloading">
86
+ <path d="M18.208 36.875q-3.208-.292-5.979-1.729-2.771-1.438-4.812-3.729-2.042-2.292-3.188-5.229-1.146-2.938-1.146-6.23 0-6.583 4.334-11.416 4.333-4.834 10.833-5.5v3.166q-5.167.75-8.583 4.646Q6.25 14.75 6.25 19.958q0 5.209 3.396 9.104 3.396 3.896 8.562 4.646zM20 28.417L11.542 20l2.083-2.083 4.917 4.916v-11.25h2.916v11.25l4.875-4.916L28.417 20zm1.792 8.458v-3.167q1.833-.25 3.541-.958 1.709-.708 3.167-1.875l2.333 2.292q-1.958 1.583-4.25 2.541-2.291.959-4.791 1.167zm6.791-27.792q-1.541-1.125-3.25-1.854-1.708-.729-3.541-1.021V3.042q2.5.25 4.77 1.208 2.271.958 4.271 2.5zm4.584 21.584l-2.25-2.25q1.166-1.5 1.854-3.209.687-1.708.937-3.541h3.209q-.292 2.5-1.229 4.791-.938 2.292-2.521 4.209zm.541-12.417q-.291-1.833-.958-3.562-.667-1.73-1.833-3.188l2.375-2.208q1.541 1.916 2.458 4.208.917 2.292 1.167 4.75z"></path>
87
+ </symbol>
88
+ <symbol viewBox="0 0 48 48" id="vjs-icon-file-download">
89
+ <path d="M10.8 40.55q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h26.35v-7.7h3.4v7.7q0 1.4-1 2.4t-2.4 1zM24 32.1L13.9 22.05l2.45-2.45 5.95 5.95V7.15h3.4v18.4l5.95-5.95 2.45 2.45z"></path>
90
+ </symbol>
91
+ <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-done">
92
+ <path d="M9.8 40.5v-3.45h28.4v3.45zm9.2-9.05L7.4 19.85l2.45-2.35L19 26.65l19.2-19.2 2.4 2.4z"></path>
93
+ </symbol>
94
+ <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-off">
95
+ <path d="M4.9 4.75L43.25 43.1 41 45.3l-4.75-4.75q-.05.05-.075.025-.025-.025-.075-.025H10.8q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h22.05l-7-7-1.85 1.8L13.9 21.9l1.85-1.85L2.7 7zm26.75 14.7l2.45 2.45-3.75 3.8-2.45-2.5zM25.7 7.15V21.1l-3.4-3.45V7.15z"></path>
96
+ </symbol>
97
+ <symbol viewBox="0 0 48 48" id="vjs-icon-share">
98
+ <path d="M36 32.17c-1.52 0-2.89.59-3.93 1.54L17.82 25.4c.11-.45.18-.92.18-1.4s-.07-.95-.18-1.4l14.1-8.23c1.07 1 2.5 1.62 4.08 1.62 3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6c0 .48.07.95.18 1.4l-14.1 8.23c-1.07-1-2.5-1.62-4.08-1.62-3.31 0-6 2.69-6 6s2.69 6 6 6c1.58 0 3.01-.62 4.08-1.62l14.25 8.31c-.1.42-.16.86-.16 1.31A5.83 5.83 0 1 0 36 32.17z"></path>
99
+ </symbol>
100
+ <symbol viewBox="0 0 48 48" id="vjs-icon-cog">
101
+ <path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3a14.8 14.8 0 0 0-3.38 1.97L9.9 10.1a1 1 0 0 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3a14.8 14.8 0 0 0 3.38-1.97l4.98 2.01a1 1 0 0 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path>
102
+ </symbol>
103
+ <symbol viewBox="0 0 48 48" id="vjs-icon-square">
104
+ <path d="M36 8H12c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zm0 28H12V12h24v24z"></path>
105
+ </symbol>
106
+ <symbol viewBox="0 0 48 48" id="vjs-icon-circle">
107
+ <circle cx="24" cy="24" r="20"></circle>
108
+ </symbol>
109
+ <symbol viewBox="0 0 48 48" id="vjs-icon-circle-outline">
110
+ <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
111
+ </symbol>
112
+ <symbol viewBox="0 0 48 48" id="vjs-icon-circle-inner-circle">
113
+ <path d="M24 4C12.97 4 4 12.97 4 24s8.97 20 20 20 20-8.97 20-20S35.03 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm6-16c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6 6 2.69 6 6z"></path>
114
+ </symbol>
115
+ <symbol viewBox="0 0 48 48" id="vjs-icon-cancel">
116
+ <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 27.17L31.17 34 24 26.83 16.83 34 14 31.17 21.17 24 14 16.83 16.83 14 24 21.17 31.17 14 34 16.83 26.83 24 34 31.17z"></path>
117
+ </symbol>
118
+ <symbol viewBox="0 0 48 48" id="vjs-icon-replay">
119
+ <path d="M24 10V2L14 12l10 10v-8c6.63 0 12 5.37 12 12s-5.37 12-12 12-12-5.37-12-12H8c0 8.84 7.16 16 16 16s16-7.16 16-16-7.16-16-16-16z"></path>
120
+ </symbol>
121
+ <symbol viewBox="0 0 48 48" id="vjs-icon-repeat">
122
+ <path d="M14 14h20v6l8-8-8-8v6H10v12h4v-8zm20 20H14v-6l-8 8 8 8v-6h24V26h-4v8z"></path>
123
+ </symbol>
124
+ <symbol viewBox="0 96 48 48" id="vjs-icon-replay-5">
125
+ <path d="M17.689 98l-8.697 8.696 8.697 8.697 2.486-2.485-4.32-4.319h1.302c4.93 0 9.071 1.722 12.424 5.165 3.352 3.443 5.029 7.638 5.029 12.584h3.55c0-2.958-.553-5.73-1.658-8.313-1.104-2.583-2.622-4.841-4.555-6.774-1.932-1.932-4.19-3.45-6.773-4.555-2.584-1.104-5.355-1.657-8.313-1.657H15.5l4.615-4.615zm-8.08 21.659v13.861h11.357v5.008H9.609V143h12.7c.834 0 1.55-.298 2.146-.894.596-.597.895-1.31.895-2.145v-7.781c0-.835-.299-1.55-.895-2.147a2.929 2.929 0 0 0-2.147-.894h-8.227v-5.096H25.35v-4.384z"></path>
126
+ </symbol>
127
+ <symbol viewBox="0 96 48 48" id="vjs-icon-replay-10">
128
+ <path d="M42.315 125.63c0-4.997-1.694-9.235-5.08-12.713-3.388-3.479-7.571-5.218-12.552-5.218h-1.315l4.363 4.363-2.51 2.51-8.787-8.786L25.221 97l2.45 2.45-4.662 4.663h1.375c2.988 0 5.788.557 8.397 1.673 2.61 1.116 4.892 2.65 6.844 4.602 1.953 1.953 3.487 4.234 4.602 6.844 1.116 2.61 1.674 5.41 1.674 8.398zM8.183 142v-19.657H3.176V117.8h9.643V142zm13.63 0c-1.156 0-2.127-.393-2.912-1.178-.778-.778-1.168-1.746-1.168-2.902v-16.04c0-1.156.393-2.127 1.178-2.912.779-.779 1.746-1.168 2.902-1.168h7.696c1.156 0 2.126.392 2.911 1.177.779.78 1.168 1.747 1.168 2.903v16.04c0 1.156-.392 2.127-1.177 2.912-.779.779-1.746 1.168-2.902 1.168zm.556-4.636h6.583v-15.02H22.37z"></path>
129
+ </symbol>
130
+ <symbol viewBox="0 96 48 48" id="vjs-icon-replay-30">
131
+ <path d="M26.047 97l-8.733 8.732 8.733 8.733 2.496-2.494-4.336-4.338h1.307c4.95 0 9.108 1.73 12.474 5.187 3.367 3.458 5.051 7.668 5.051 12.635h3.565c0-2.97-.556-5.751-1.665-8.346-1.109-2.594-2.633-4.862-4.574-6.802-1.94-1.941-4.208-3.466-6.803-4.575-2.594-1.109-5.375-1.664-8.345-1.664H23.85l4.634-4.634zM2.555 117.531v4.688h10.297v5.25H5.873v4.687h6.979v5.156H2.555V142H13.36c1.061 0 1.95-.395 2.668-1.186.718-.79 1.076-1.772 1.076-2.94v-16.218c0-1.168-.358-2.149-1.076-2.94-.717-.79-1.607-1.185-2.668-1.185zm22.482.14c-1.149 0-2.11.39-2.885 1.165-.78.78-1.172 1.744-1.172 2.893v15.943c0 1.149.388 2.11 1.163 2.885.78.78 1.745 1.172 2.894 1.172h7.649c1.148 0 2.11-.388 2.884-1.163.78-.78 1.17-1.745 1.17-2.894v-15.943c0-1.15-.386-2.111-1.16-2.885-.78-.78-1.746-1.172-2.894-1.172zm.553 4.518h6.545v14.93H25.59z"></path>
132
+ </symbol>
133
+ <symbol viewBox="0 96 48 48" id="vjs-icon-forward-5">
134
+ <path d="M29.508 97l-2.431 2.43 4.625 4.625h-1.364c-2.965 0-5.742.554-8.332 1.66-2.589 1.107-4.851 2.629-6.788 4.566-1.937 1.937-3.458 4.2-4.565 6.788-1.107 2.59-1.66 5.367-1.66 8.331h3.557c0-4.957 1.68-9.16 5.04-12.611 3.36-3.45 7.51-5.177 12.451-5.177h1.304l-4.326 4.33 2.49 2.49 8.715-8.716zm-9.783 21.61v13.89h11.382v5.018H19.725V142h12.727a2.93 2.93 0 0 0 2.15-.896 2.93 2.93 0 0 0 .896-2.15v-7.798c0-.837-.299-1.554-.896-2.152a2.93 2.93 0 0 0-2.15-.896h-8.245V123h11.29v-4.392z"></path>
135
+ </symbol>
136
+ <symbol viewBox="0 96 48 48" id="vjs-icon-forward-10">
137
+ <path d="M23.119 97l-2.386 2.383 4.538 4.538h-1.339c-2.908 0-5.633.543-8.173 1.63-2.54 1.085-4.76 2.577-6.66 4.478-1.9 1.9-3.392 4.12-4.478 6.66-1.085 2.54-1.629 5.264-1.629 8.172h3.49c0-4.863 1.648-8.986 4.944-12.372 3.297-3.385 7.368-5.078 12.216-5.078h1.279l-4.245 4.247 2.443 2.442 8.55-8.55zm-9.52 21.45v4.42h4.871V142h4.513v-23.55zm18.136 0c-1.125 0-2.066.377-2.824 1.135-.764.764-1.148 1.709-1.148 2.834v15.612c0 1.124.38 2.066 1.139 2.824.764.764 1.708 1.145 2.833 1.145h7.489c1.125 0 2.066-.378 2.824-1.136.764-.764 1.145-1.709 1.145-2.833v-15.612c0-1.125-.378-2.067-1.136-2.825-.764-.764-1.708-1.145-2.833-1.145zm.54 4.42h6.408v14.617h-6.407z"></path>
138
+ </symbol>
139
+ <symbol viewBox="0 96 48 48" id="vjs-icon-forward-30">
140
+ <path d="M25.549 97l-2.437 2.434 4.634 4.635H26.38c-2.97 0-5.753.555-8.347 1.664-2.594 1.109-4.861 2.633-6.802 4.574-1.94 1.94-3.465 4.207-4.574 6.802-1.109 2.594-1.664 5.377-1.664 8.347h3.565c0-4.967 1.683-9.178 5.05-12.636 3.366-3.458 7.525-5.187 12.475-5.187h1.307l-4.335 4.338 2.495 2.494 8.732-8.732zm-11.553 20.53v4.689h10.297v5.249h-6.978v4.688h6.978v5.156H13.996V142h10.808c1.06 0 1.948-.395 2.666-1.186.718-.79 1.077-1.771 1.077-2.94v-16.217c0-1.169-.36-2.15-1.077-2.94-.718-.79-1.605-1.186-2.666-1.186zm21.174.168c-1.149 0-2.11.389-2.884 1.163-.78.78-1.172 1.745-1.172 2.894v15.942c0 1.15.388 2.11 1.162 2.885.78.78 1.745 1.17 2.894 1.17h7.649c1.149 0 2.11-.386 2.885-1.16.78-.78 1.17-1.746 1.17-2.895v-15.942c0-1.15-.387-2.11-1.161-2.885-.78-.78-1.745-1.172-2.894-1.172zm.552 4.516h6.542v14.931h-6.542z"></path>
141
+ </symbol>
142
+ <symbol viewBox="0 0 512 512" id="vjs-icon-audio-description">
143
+ <g fill-rule="evenodd"><path d="M227.29 381.351V162.993c50.38-1.017 89.108-3.028 117.631 17.126 27.374 19.342 48.734 56.965 44.89 105.325-4.067 51.155-41.335 94.139-89.776 98.475-24.085 2.155-71.972 0-71.972 0s-.84-1.352-.773-2.568m48.755-54.804c31.43 1.26 53.208-16.633 56.495-45.386 4.403-38.51-21.188-63.552-58.041-60.796v103.612c-.036 1.466.575 2.22 1.546 2.57"></path><path d="M383.78 381.328c13.336 3.71 17.387-11.06 23.215-21.408 12.722-22.571 22.294-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.226 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M425.154 381.328c13.336 3.71 17.384-11.061 23.215-21.408 12.721-22.571 22.291-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.511c-.586 3.874 2.226 7.315 3.866 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M466.26 381.328c13.337 3.71 17.385-11.061 23.216-21.408 12.722-22.571 22.292-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.225 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894M4.477 383.005H72.58l18.573-28.484 64.169-.135s.065 19.413.065 28.62h48.756V160.307h-58.816c-5.653 9.537-140.85 222.697-140.85 222.697zm152.667-145.282v71.158l-40.453-.27 40.453-70.888z"></path></g>
144
+ </symbol>
145
+ <symbol viewBox="0 0 48 48" id="vjs-icon-next-item">
146
+ <path d="M12 36l17-12-17-12v24zm20-24v24h4V12h-4z"></path>
147
+ </symbol>
148
+ <symbol viewBox="0 0 48 48" id="vjs-icon-previous-item">
149
+ <path d="M12 12h4v24h-4zm7 12l17 12V12z"></path>
150
+ </symbol>
151
+ <symbol viewBox="0 0 48 48" id="vjs-icon-shuffle">
152
+ <path d="M21.17 18.34L10.83 8 8 10.83l10.34 10.34 2.83-2.83zM29 8l4.09 4.09L8 37.17 10.83 40l25.09-25.09L40 19V8H29zm.66 18.83l-2.83 2.83 6.26 6.26L29 40h11V29l-4.09 4.09-6.25-6.26z"></path>
153
+ </symbol>
154
+ <symbol viewBox="0 0 48 48" id="vjs-icon-cast">
155
+ <path d="M42 6H6c-2.21 0-4 1.79-4 4v6h4v-6h36v28H28v4h14c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zM2 36v6h6c0-3.31-2.69-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.73-6.27-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.15-9.85-22-22-22z"></path>
156
+ </symbol>
157
+ <symbol viewBox="0 0 48 48" id="vjs-icon-picture-in-picture-enter">
158
+ <path d="M38 22H22v11.99h16V22zm8 16V9.96C46 7.76 44.2 6 42 6H6C3.8 6 2 7.76 2 9.96V38c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4zm-4 .04H6V9.94h36v28.1z"></path>
159
+ </symbol>
160
+ <symbol viewBox="0 0 22 18" id="vjs-icon-picture-in-picture-exit">
161
+ <path d="M18 4H4v10h14V4zm4 12V1.98C22 .88 21.1 0 20 0H2C.9 0 0 .88 0 1.98V16c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H2V1.97h18v14.05z"></path>
162
+ <path fill="none" d="M-1-3h24v24H-1z"></path>
163
+ </symbol>
164
+ <symbol viewBox="0 0 1792 1792" id="vjs-icon-facebook">
165
+ <path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"></path>
166
+ </symbol>
167
+ <symbol viewBox="0 0 1792 1792" id="vjs-icon-linkedin">
168
+ <path d="M477 625v991H147V625h330zm21-306q1 73-50.5 122T312 490h-2q-82 0-132-49t-50-122q0-74 51.5-122.5T314 148t133 48.5T498 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1168 862q-63 0-105.5 34.5T999 982q-11 30-11 81v553H659q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1285 602q171 0 275 113.5t104 332.5z"></path>
169
+ </symbol>
170
+ <symbol viewBox="0 0 1200 1227" id="vjs-icon-twitter">
171
+ <path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/>
172
+ </symbol>
173
+ <symbol viewBox="0 0 1792 1792" id="vjs-icon-tumblr">
174
+ <path d="M1328 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T787 1564t-95-106-55.5-120-16.5-118V676H452V461q72-26 129-69.5t91-90 58-102 34-99T779 12q1-5 4.5-8.5T791 0h244v424h333v252h-334v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z"></path>
175
+ </symbol>
176
+ <symbol viewBox="0 0 1792 1792" id="vjs-icon-pinterest">
177
+ <path d="M1664 896q0 209-103 385.5T1281.5 1561 896 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1180 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T377 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T904 517q151 0 235.5 82t84.5 213q0 170-68.5 289T980 1220q-61 0-98-43.5T859 1072q8-35 26.5-93.5t30-103T927 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T128 896q0-209 103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z"></path>
178
+ </symbol>
179
+ </defs>
180
+ </svg>`;const Od=ga?10009:va?461:8,Ki={codes:{play:415,pause:19,ff:417,rw:412,back:Od},names:{415:"play",19:"pause",417:"ff",412:"rw",[Od]:"back"},isEventKey(i,t){return t=t.toLowerCase(),!!(this.names[i.keyCode]&&this.names[i.keyCode]===t)},getEventName(i){if(this.names[i.keyCode])return this.names[i.keyCode];if(this.codes[i.code]){const t=this.codes[i.code];return this.names[t]}return null}},Pd=5;class p4 extends vn{constructor(t){super(),this.player_=t,this.focusableComponents=[],this.isListening_=!1,this.isPaused_=!1,this.onKeyDown_=this.onKeyDown_.bind(this),this.lastFocusedComponent_=null}start(){this.isListening_||(this.player_.on("keydown",this.onKeyDown_),this.player_.on("modalKeydown",this.onKeyDown_),this.player_.on("loadedmetadata",()=>{this.focus(this.updateFocusableComponents()[0])}),this.player_.on("modalclose",()=>{this.refocusComponent()}),this.player_.on("focusin",this.handlePlayerFocus_.bind(this)),this.player_.on("focusout",this.handlePlayerBlur_.bind(this)),this.isListening_=!0,this.player_.errorDisplay&&this.player_.errorDisplay.on("aftermodalfill",()=>{this.updateFocusableComponents(),this.focusableComponents.length&&(this.focusableComponents.length>1?this.focusableComponents[1].focus():this.focusableComponents[0].focus())}))}stop(){this.player_.off("keydown",this.onKeyDown_),this.isListening_=!1}onKeyDown_(t){const n=t.originalEvent?t.originalEvent:t;if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(n.key)){if(this.isPaused_)return;n.preventDefault();const r=n.key.substring(5).toLowerCase();this.move(r)}else if(Ki.isEventKey(n,"play")||Ki.isEventKey(n,"pause")||Ki.isEventKey(n,"ff")||Ki.isEventKey(n,"rw")){n.preventDefault();const r=Ki.getEventName(n);this.performMediaAction_(r)}else Ki.isEventKey(n,"Back")&&t.target&&typeof t.target.closeable=="function"&&t.target.closeable()&&(n.preventDefault(),t.target.close())}performMediaAction_(t){if(this.player_)switch(t){case"play":this.player_.paused()&&this.player_.play();break;case"pause":this.player_.paused()||this.player_.pause();break;case"ff":this.userSeek_(this.player_.currentTime()+Pd);break;case"rw":this.userSeek_(this.player_.currentTime()-Pd);break}}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}pause(){this.isPaused_=!0}resume(){this.isPaused_=!1}handlePlayerBlur_(t){const n=t.relatedTarget;let r=null;const s=this.getCurrentComponent(t.target);n&&(r=!!n.closest(".video-js"),n.classList.contains("vjs-text-track-settings")&&!this.isPaused_&&this.searchForTrackSelect_()),(!t.currentTarget.contains(t.relatedTarget)&&!r||!n)&&(s&&s.name()==="CloseButton"?this.refocusComponent():(this.pause(),s&&s.el()&&(this.lastFocusedComponent_=s)))}handlePlayerFocus_(){this.getCurrentComponent()&&this.getCurrentComponent().getIsFocusable()&&this.resume()}updateFocusableComponents(){const t=this.player_,n=[];function r(s){for(const a of s)a.hasOwnProperty("el_")&&a.getIsFocusable()&&a.getIsAvailableToBeFocused(a.el())&&n.push(a),a.hasOwnProperty("children_")&&a.children_.length>0&&r(a.children_)}return t.children_.forEach(s=>{if(s.hasOwnProperty("el_"))if(s.getIsFocusable&&s.getIsAvailableToBeFocused&&s.getIsFocusable()&&s.getIsAvailableToBeFocused(s.el())){n.push(s);return}else s.hasOwnProperty("children_")&&s.children_.length>0?r(s.children_):s.hasOwnProperty("items")&&s.items.length>0?r(s.items):this.findSuitableDOMChild(s)&&n.push(s);if(s.name_==="ErrorDisplay"&&s.opened_){const a=s.el_.querySelector(".vjs-errors-ok-button-container");a&&a.querySelectorAll("button").forEach((l,u)=>{n.push({name:()=>"ModalButton"+(u+1),el:()=>l,getPositions:()=>{const d=l.getBoundingClientRect(),f={x:d.x,y:d.y,width:d.width,height:d.height,top:d.top,right:d.right,bottom:d.bottom,left:d.left},p={x:d.left+d.width/2,y:d.top+d.height/2,width:0,height:0,top:d.top+d.height/2,right:d.left+d.width/2,bottom:d.top+d.height/2,left:d.left+d.width/2};return{boundingClientRect:f,center:p}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:d=>!0,focus:()=>l.focus()})})}}),this.focusableComponents=n,this.focusableComponents}findSuitableDOMChild(t){function n(r){if(t.getIsFocusable(r)&&t.getIsAvailableToBeFocused(r))return r;for(let s=0;s<r.children.length;s++){const a=r.children[s],o=n(a);if(o)return o}return null}return t.el()?n(t.el()):null}getCurrentComponent(t){this.updateFocusableComponents();const n=t||document.activeElement;if(this.focusableComponents.length){for(const r of this.focusableComponents)if(r.el()===n)return r}}add(t){const n=[...this.focusableComponents];t.hasOwnProperty("el_")&&t.getIsFocusable()&&t.getIsAvailableToBeFocused(t.el())&&n.push(t),this.focusableComponents=n,this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents})}remove(t){for(let n=0;n<this.focusableComponents.length;n++)if(this.focusableComponents[n].name()===t.name()){this.focusableComponents.splice(n,1),this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents});return}}clear(){this.focusableComponents.length>0&&(this.focusableComponents=[],this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents}))}move(t){const n=this.getCurrentComponent();if(!n)return;const r=n.getPositions(),s=this.focusableComponents.filter(o=>o!==n&&this.isInDirection_(r.boundingClientRect,o.getPositions().boundingClientRect,t)),a=this.findBestCandidate_(r.center,s,t);a?this.focus(a):this.trigger({type:"endOfFocusableComponents",direction:t,focusedComponent:n})}findBestCandidate_(t,n,r){let s=1/0,a=null;for(const o of n){const l=o.getPositions().center,u=this.calculateDistance_(t,l,r);u<s&&(s=u,a=o)}return a}isInDirection_(t,n,r){switch(r){case"right":return n.left>=t.right;case"left":return n.right<=t.left;case"down":return n.top>=t.bottom;case"up":return n.bottom<=t.top;default:return!1}}refocusComponent(){if(this.lastFocusedComponent_){this.player_.userActive()||this.player_.userActive(!0),this.updateFocusableComponents();for(let t=0;t<this.focusableComponents.length;t++)if(this.focusableComponents[t].name()===this.lastFocusedComponent_.name()){this.focus(this.focusableComponents[t]);return}}else this.focus(this.updateFocusableComponents()[0])}focus(t){typeof t=="object"&&(t.getIsAvailableToBeFocused(t.el())?t.focus():this.findSuitableDOMChild(t)&&this.findSuitableDOMChild(t).focus())}calculateDistance_(t,n,r){const s=Math.abs(t.x-n.x),a=Math.abs(t.y-n.y);let o;switch(r){case"right":case"left":o=s+a*100;break;case"up":o=a*2+s*.5;break;case"down":o=a*5+s;break;default:o=s+a}return o}searchForTrackSelect_(){const t=this;for(const n of t.updateFocusableComponents())if(n.constructor.name==="TextTrackSelect"){t.focus(n);break}}}class g4 extends ve{constructor(t,n,r){const s=ut({createEl:!1},n);if(super(t,s,r),!n.playerOptions.sources||n.playerOptions.sources.length===0)for(let a=0,o=n.playerOptions.techOrder;a<o.length;a++){const l=bt(o[a]);let u=Ye.getTech(l);if(l||(u=ve.getComponent(l)),u&&u.isSupported()){t.loadTech_(l);break}}else t.src(n.playerOptions.sources)}}ve.registerComponent("MediaLoader",g4);class no extends ve{constructor(t,n){super(t,n),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=r=>this.handleMouseOver(r),this.handleMouseOut_=r=>this.handleMouseOut(r),this.handleClick_=r=>this.handleClick(r),this.handleKeyDown_=r=>this.handleKeyDown(r),this.emitTapEvents(),this.enable()}createEl(t="div",n={},r={}){n=Object.assign({className:this.buildCSSClass(),tabIndex:0},n),t==="button"&&$e.error(`Creating a ClickableComponent with an HTML element of ${t} is not supported; use a Button instead.`),r=Object.assign({role:"button"},r),this.tabIndex_=n.tabIndex;const s=Xe(t,n,r);return this.player_.options_.experimentalSvgIcons||s.appendChild(Xe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(s),s}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(t){return this.controlTextEl_=Xe("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_}controlText(t,n=this.el()){if(t===void 0)return this.controlText_||"Need Text";const r=this.localize(t);this.controlText_=t,ki(this.controlTextEl_,r),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&n.setAttribute("title",r)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(t){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(t){t.key===" "||t.key==="Enter"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}ve.registerComponent("ClickableComponent",no);class xl extends no{constructor(t,n){super(t,n),this.update(),this.update_=r=>this.update(r),t.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return Xe("div",{className:"vjs-poster"})}crossOrigin(t){if(typeof t>"u")return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){this.player_.log.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.$("img")&&(this.$("img").crossOrigin=t)}update(t){const n=this.player().poster();this.setSrc(n),n?this.show():this.hide()}setSrc(t){if(!t){this.el_.textContent="";return}this.$("img")||this.el_.appendChild(Xe("picture",{className:"vjs-poster",tabIndex:-1},{},Xe("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=t}handleClick(t){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?jn(this.player_.play()):this.player_.pause())}}xl.prototype.crossorigin=xl.prototype.crossOrigin;ve.registerComponent("PosterImage",xl);const bn="#222",Ld="#ccc",v4={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Zo(i,t){let n;if(i.length===4)n=i[1]+i[1]+i[2]+i[2]+i[3]+i[3];else if(i.length===7)n=i.slice(1);else throw new Error("Invalid color code provided, "+i+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Un(i,t,n){try{i.style[t]=n}catch{return}}function Md(i){return i?`${i}px`:""}class y4 extends ve{constructor(t,n,r){super(t,n,r);const s=o=>this.updateDisplay(o),a=o=>{this.updateDisplayOverlay(),this.updateDisplay(o)};t.on("loadstart",o=>this.toggleDisplay(o)),t.on("useractive",s),t.on("userinactive",s),t.on("texttrackchange",s),t.on("loadedmetadata",o=>{this.updateDisplayOverlay(),this.preselectTrack(o)}),t.ready(ht(this,function(){if(t.tech_&&t.tech_.featuresNativeTextTracks){this.hide();return}t.on("fullscreenchange",a),t.on("playerresize",a);const o=J.screen.orientation||J,l=J.screen.orientation?"change":"orientationchange";o.addEventListener(l,a),t.on("dispose",()=>o.removeEventListener(l,a));const u=this.options_.playerOptions.tracks||[];for(let d=0;d<u.length;d++)this.player_.addRemoteTextTrack(u[d],!0);this.preselectTrack()}))}preselectTrack(){const t={captions:1,subtitles:1},n=this.player_.textTracks(),r=this.player_.cache_.selectedLanguage;let s,a,o;for(let l=0;l<n.length;l++){const u=n[l];r&&r.enabled&&r.language&&r.language===u.language&&u.kind in t?u.kind===r.kind?o=u:o||(o=u):r&&!r.enabled?(o=null,s=null,a=null):u.default&&(u.kind==="descriptions"&&!s?s=u:u.kind in t&&!a&&(a=u))}o?o.mode="showing":a?a.mode="showing":s&&(s.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){typeof J.WebVTT=="function"&&J.WebVTT.processCues(J,[],this.el_)}updateDisplay(){const t=this.player_.textTracks(),n=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),n){const o=[];for(let l=0;l<t.length;++l){const u=t[l];u.mode==="showing"&&o.push(u)}this.updateForTrack(o);return}let r=null,s=null,a=t.length;for(;a--;){const o=t[a];o.mode==="showing"&&(o.kind==="descriptions"?r=o:s=o)}if(s?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(s)):r&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(r)),!(J.CSS!==void 0&&J.CSS.supports("inset","10px"))){const o=this.el_,l=o.querySelectorAll(".vjs-text-track-cue"),u=this.player_.controlBar.el_.getBoundingClientRect().height,d=this.player_.el_.getBoundingClientRect().height;o.style="",Un(o,"position","relative"),Un(o,"height",d-u+"px"),Un(o,"top","unset"),ya?Un(o,"bottom",d+"px"):Un(o,"bottom","0px"),l.length>0&&l.forEach(f=>{if(f.style.inset){const p=f.style.inset.split(" ");p.length===3&&Object.assign(f.style,{top:p[0],right:p[1],bottom:p[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!(J.CSS!==void 0&&J.CSS.supports("inset-inline: 10px")))return;const t=this.player_.currentWidth(),n=this.player_.currentHeight(),r=t/n,s=this.player_.videoWidth()/this.player_.videoHeight();let a=0,o=0;Math.abs(r-s)>.1&&(r>s?a=Math.round((t-n*s)/2):o=Math.round((n-t/s)/2)),Un(this.el_,"insetInline",Md(a)),Un(this.el_,"insetBlock",Md(o))}updateDisplayState(t){const n=this.player_.textTrackSettings.getValues(),r=t.activeCues;let s=r.length;for(;s--;){const a=r[s];if(!a)continue;const o=a.displayState;if(n.color&&(o.firstChild.style.color=n.color),n.textOpacity&&Un(o.firstChild,"color",Zo(n.color||"#fff",n.textOpacity)),n.backgroundColor&&(o.firstChild.style.backgroundColor=n.backgroundColor),n.backgroundOpacity&&Un(o.firstChild,"backgroundColor",Zo(n.backgroundColor||"#000",n.backgroundOpacity)),n.windowColor&&(n.windowOpacity?Un(o,"backgroundColor",Zo(n.windowColor,n.windowOpacity)):o.style.backgroundColor=n.windowColor),n.edgeStyle&&(n.edgeStyle==="dropshadow"?o.firstChild.style.textShadow=`2px 2px 3px ${bn}, 2px 2px 4px ${bn}, 2px 2px 5px ${bn}`:n.edgeStyle==="raised"?o.firstChild.style.textShadow=`1px 1px ${bn}, 2px 2px ${bn}, 3px 3px ${bn}`:n.edgeStyle==="depressed"?o.firstChild.style.textShadow=`1px 1px ${Ld}, 0 1px ${Ld}, -1px -1px ${bn}, 0 -1px ${bn}`:n.edgeStyle==="uniform"&&(o.firstChild.style.textShadow=`0 0 4px ${bn}, 0 0 4px ${bn}, 0 0 4px ${bn}, 0 0 4px ${bn}`)),n.fontPercent&&n.fontPercent!==1){const l=J.parseFloat(o.style.fontSize);o.style.fontSize=l*n.fontPercent+"px",o.style.height="auto",o.style.top="auto"}n.fontFamily&&n.fontFamily!=="default"&&(n.fontFamily==="small-caps"?o.firstChild.style.fontVariant="small-caps":o.firstChild.style.fontFamily=v4[n.fontFamily])}}updateForTrack(t){if(Array.isArray(t)||(t=[t]),typeof J.WebVTT!="function"||t.every(r=>!r.activeCues))return;const n=[];for(let r=0;r<t.length;++r){const s=t[r];for(let a=0;a<s.activeCues.length;++a)n.push(s.activeCues[a])}J.WebVTT.processCues(J,n,this.el_);for(let r=0;r<t.length;++r){const s=t[r];for(let a=0;a<s.activeCues.length;++a){const o=s.activeCues[a].displayState;Li(o,"vjs-text-track-cue","vjs-text-track-cue-"+(s.language?s.language:r)),s.language&&vr(o,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}}ve.registerComponent("TextTrackDisplay",y4);class C4 extends ve{createEl(){const t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=Xe("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),s=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return s.appendChild(r),s}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}}ve.registerComponent("LoadingSpinner",C4);class Xt extends no{createEl(t,n={},r={}){t="button",n=Object.assign({className:this.buildCSSClass()},n),r=Object.assign({type:"button"},r);const s=Xe(t,n,r);return this.player_.options_.experimentalSvgIcons||s.appendChild(Xe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(s),s}addChild(t,n={}){const r=this.constructor.name;return $e.warn(`Adding an actionable (user controllable) child to a Button (${r}) is not supported; use a ClickableComponent instead.`),ve.prototype.addChild.call(this,t,n)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(t){if(t.key===" "||t.key==="Enter"){t.stopPropagation();return}super.handleKeyDown(t)}}ve.registerComponent("Button",Xt);class Ef extends Xt{constructor(t,n){super(t,n),this.mouseused_=!1,this.setIcon("play"),this.on("mousedown",r=>this.handleMouseDown(r))}buildCSSClass(){return"vjs-big-play-button"}handleClick(t){const n=this.player_.play();if(t.type==="tap"||this.mouseused_&&"clientX"in t&&"clientY"in t){jn(n),this.player_.tech(!0)&&this.player_.tech(!0).focus();return}const r=this.player_.getChild("controlBar"),s=r&&r.getChild("playToggle");if(!s){this.player_.tech(!0).focus();return}const a=()=>s.focus();os(n)?n.then(a,()=>{}):this.setTimeout(a,1)}handleKeyDown(t){this.mouseused_=!1,super.handleKeyDown(t)}handleMouseDown(t){this.mouseused_=!0}}Ef.prototype.controlText_="Play Video";ve.registerComponent("BigPlayButton",Ef);class b4 extends Xt{constructor(t,n){super(t,n),this.setIcon("cancel"),this.controlText(n&&n.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(t){this.trigger({type:"close",bubbles:!1})}handleKeyDown(t){t.key==="Escape"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}ve.registerComponent("CloseButton",b4);class xf extends Xt{constructor(t,n={}){super(t,n),n.replay=n.replay===void 0||n.replay,this.setIcon("play"),this.on(t,"play",r=>this.handlePlay(r)),this.on(t,"pause",r=>this.handlePause(r)),n.replay&&this.on(t,"ended",r=>this.handleEnded(r))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(t){this.player_.paused()?jn(this.player_.play()):this.player_.pause()}handleSeeked(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)}handlePlay(t){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.setIcon("pause"),this.controlText("Pause")}handlePause(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.setIcon("play"),this.controlText("Play")}handleEnded(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.setIcon("replay"),this.controlText("Replay"),this.one(this.player_,"seeked",n=>this.handleSeeked(n))}}xf.prototype.controlText_="Play";ve.registerComponent("PlayToggle",xf);class Ar extends ve{constructor(t,n){super(t,n),this.on(t,["timeupdate","ended","seeking"],r=>this.update(r)),this.updateTextNode_()}createEl(){const t=this.buildCSSClass(),n=super.createEl("div",{className:`${t} vjs-time-control vjs-control`}),r=Xe("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return n.appendChild(r),this.contentEl_=Xe("span",{className:`${t}-display`},{role:"presentation"}),n.appendChild(this.contentEl_),n}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}update(t){!this.player_.options_.enableSmoothSeeking&&t.type==="seeking"||this.updateContent(t)}updateTextNode_(t=0){t=Ui(t),this.formattedTime_!==t&&(this.formattedTime_=t,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",()=>{if(!this.contentEl_)return;let n=this.textNode_;n&&this.contentEl_.firstChild!==n&&(n=null,$e.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=De.createTextNode(this.formattedTime_),this.textNode_&&(n?this.contentEl_.replaceChild(this.textNode_,n):this.contentEl_.appendChild(this.textNode_))}))}updateContent(t){}}Ar.prototype.labelText_="Time";Ar.prototype.controlText_="Time";ve.registerComponent("TimeDisplay",Ar);class Cu extends Ar{buildCSSClass(){return"vjs-current-time"}updateContent(t){let n;this.player_.ended()?n=this.player_.duration():t&&t.target&&typeof t.target.pendingSeekTime=="function"&&t.target.pendingSeekTime()!==null?n=t.target.pendingSeekTime():n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(n)}}Cu.prototype.labelText_="Current Time";Cu.prototype.controlText_="Current Time";ve.registerComponent("CurrentTimeDisplay",Cu);class bu extends Ar{constructor(t,n){super(t,n);const r=s=>this.updateContent(s);this.on(t,"durationchange",r),this.on(t,"loadstart",r),this.on(t,"loadedmetadata",r)}buildCSSClass(){return"vjs-duration"}updateContent(t){const n=this.player_.duration();this.updateTextNode_(n)}}bu.prototype.labelText_="Duration";bu.prototype.controlText_="Duration";ve.registerComponent("DurationDisplay",bu);class T4 extends ve{createEl(){const t=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=super.createEl("div"),r=super.createEl("span",{textContent:"/"});return n.appendChild(r),t.appendChild(n),t}}ve.registerComponent("TimeDivider",T4);class Tu extends Ar{constructor(t,n){super(t,n),this.on(t,"durationchange",r=>this.updateContent(r))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const t=super.createEl();return this.options_.displayNegative!==!1&&t.insertBefore(Xe("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t}updateContent(t){if(typeof this.player_.duration()!="number")return;let n;this.player_.ended()?n=0:this.player_.remainingTimeDisplay?n=this.player_.remainingTimeDisplay():n=this.player_.remainingTime(),this.updateTextNode_(n)}}Tu.prototype.labelText_="Remaining Time";Tu.prototype.controlText_="Remaining Time";ve.registerComponent("RemainingTimeDisplay",Tu);class k4 extends ve{constructor(t,n){super(t,n),this.updateShowing(),this.on(this.player(),"durationchange",r=>this.updateShowing(r))}createEl(){const t=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Xe("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Xe("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(De.createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,super.dispose()}updateShowing(t){this.player().duration()===1/0?this.show():this.hide()}}ve.registerComponent("LiveDisplay",k4);class _f extends Xt{constructor(t,n){super(t,n),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=r=>this.updateLiveEdgeStatus(r),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const t=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.setIcon("circle",t),this.textEl_=Xe("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}_f.prototype.controlText_="Seek to live, currently playing live";ve.registerComponent("SeekToLive",_f);function Cs(i,t,n){return i=Number(i),Math.min(n,Math.max(t,isNaN(i)?t:i))}var E4=Object.freeze({__proto__:null,clamp:Cs});class ku extends ve{constructor(t,n){super(t,n),this.handleMouseDown_=r=>this.handleMouseDown(r),this.handleMouseUp_=r=>this.handleMouseUp(r),this.handleKeyDown_=r=>this.handleKeyDown(r),this.handleClick_=r=>this.handleClick(r),this.handleMouseMove_=r=>this.handleMouseMove(r),this.update_=r=>this.update(r),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(t,n={},r={}){return n.className=n.className+" vjs-slider",n=Object.assign({tabIndex:0},n),r=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},r),super.createEl(t,n,r)}handleMouseDown(t){const n=this.bar.el_.ownerDocument;t.type==="mousedown"&&t.preventDefault(),t.type==="touchstart"&&!Kn&&t.preventDefault(),Wh(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(n,"mousemove",this.handleMouseMove_),this.on(n,"mouseup",this.handleMouseUp_),this.on(n,"touchmove",this.handleMouseMove_),this.on(n,"touchend",this.handleMouseUp_),this.handleMouseMove(t,!0)}handleMouseMove(t){}handleMouseUp(t){const n=this.bar.el_.ownerDocument;Jh(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(n,"mousemove",this.handleMouseMove_),this.off(n,"mouseup",this.handleMouseUp_),this.off(n,"touchmove",this.handleMouseMove_),this.off(n,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",()=>{const n=this.vertical()?"height":"width";this.bar.el().style[n]=(t*100).toFixed(2)+"%"})),t}getProgress(){return Number(Cs(this.getPercent(),0,1).toFixed(4))}calculateDistance(t){const n=Wa(this.el_,t);return this.vertical()?n.y:n.x}handleKeyDown(t){const n=this.options_.playerOptions.spatialNavigation,r=n&&n.enabled,s=n&&n.horizontalSeek;r?s&&t.key==="ArrowLeft"||!s&&t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):s&&t.key==="ArrowRight"||!s&&t.key==="ArrowUp"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(this.pendingSeekTime()&&(this.pendingSeekTime(null),this.userSeek_(this.player_.currentTime())),super.handleKeyDown(t)):t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):t.key==="ArrowUp"||t.key==="ArrowRight"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):super.handleKeyDown(t)}handleClick(t){t.stopPropagation(),t.preventDefault()}vertical(t){if(t===void 0)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}ve.registerComponent("Slider",ku);const $o=(i,t)=>Cs(i/t*100,0,100).toFixed(2)+"%";class x4 extends ve{constructor(t,n){super(t,n),this.partEls_=[],this.on(t,"progress",r=>this.update(r))}createEl(){const t=super.createEl("div",{className:"vjs-load-progress"}),n=Xe("span",{className:"vjs-control-text"}),r=Xe("span",{textContent:this.localize("Loaded")}),s=De.createTextNode(": ");return this.percentageEl_=Xe("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(s),n.appendChild(this.percentageEl_),t}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(t){this.requestNamedAnimationFrame("LoadProgressBar#update",()=>{const n=this.player_.liveTracker,r=this.player_.buffered(),s=n&&n.isLive()?n.seekableEnd():this.player_.duration(),a=this.player_.bufferedEnd(),o=this.partEls_,l=$o(a,s);this.percent_!==l&&(this.el_.style.width=l,ki(this.percentageEl_,l),this.percent_=l);for(let u=0;u<r.length;u++){const d=r.start(u),f=r.end(u);let p=o[u];p||(p=this.el_.appendChild(Xe()),o[u]=p),!(p.dataset.start===d&&p.dataset.end===f)&&(p.dataset.start=d,p.dataset.end=f,p.style.left=$o(d,a),p.style.width=$o(f-d,a))}for(let u=o.length;u>r.length;u--)this.el_.removeChild(o[u-1]);o.length=r.length})}}ve.registerComponent("LoadProgressBar",x4);class _4 extends ve{constructor(t,n){super(t,n),this.update=Wn(ht(this,this.update),An)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(t,n,r){const s=ms(this.el_),a=yr(this.player_.el()),o=t.width*n;if(!a||!s)return;let l=t.left-a.left+o,u=t.width-o+(a.right-t.right);u||(u=t.width-o,l=o);let d=s.width/2;l<d?d+=d-l:u<d&&(d=u),d<0?d=0:d>s.width&&(d=s.width),d=Math.round(d),this.el_.style.right=`-${d}px`,this.write(r)}write(t){ki(this.el_,t)}updateTime(t,n,r,s){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let a;const o=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const l=this.player_.liveTracker.liveWindow(),u=l-n*l;a=(u<1?"":"-")+Ui(u,l)}else a=Ui(r,o);this.update(t,n,a),s&&s()})}}ve.registerComponent("TimeTooltip",_4);class Eu extends ve{constructor(t,n){super(t,n),this.setIcon("circle"),this.update=Wn(ht(this,this.update),An)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(t,n,r){const s=this.getChild("timeTooltip");if(!s)return;const a=r&&r.target&&typeof r.target.pendingSeekTime=="function"?r.target.pendingSeekTime():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();s.updateTime(t,n,a)}}Eu.prototype.options_={children:[]};!Ht&&!Mn&&Eu.prototype.options_.children.push("timeTooltip");ve.registerComponent("PlayProgressBar",Eu);class Af extends ve{constructor(t,n){super(t,n),this.update=Wn(ht(this,this.update),An)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,n){const r=n*this.player_.duration();this.getChild("timeTooltip").updateTime(t,n,r,()=>{this.el_.style.left=`${t.width*n}px`})}}Af.prototype.options_={children:["timeTooltip"]};ve.registerComponent("MouseTimeDisplay",Af);class io extends ku{constructor(t,n){n=ut(io.prototype.options_,n),n.children=[...n.children];const r=t.options_.disableSeekWhileScrubbingOnMobile&&(Ht||Mn)||t.options_.disableSeekWhileScrubbingOnSTV;(!Ht&&!Mn||r)&&n.children.splice(1,0,"mouseTimeDisplay"),super(t,n),this.shouldDisableSeekWhileScrubbing_=r,this.pendingSeekTime_=null,this.setEventHandlers_()}setEventHandlers_(){this.update_=ht(this,this.update),this.update=Wn(this.update_,An),this.on(this.player_,["durationchange","timeupdate"],this.update),this.on(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=t=>this.enableInterval_(t),this.disableIntervalHandler_=t=>this.disableInterval_(t),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in De&&"visibilityState"in De&&this.on(De,"visibilitychange",this.toggleVisibility_)}toggleVisibility_(t){De.visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(t)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,An))}disableInterval_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&t.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(t){if(De.visibilityState==="hidden")return;const n=super.update();return this.requestNamedAnimationFrame("SeekBar#update",()=>{const r=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),s=this.player_.liveTracker;let a=this.player_.duration();s&&s.isLive()&&(a=this.player_.liveTracker.liveCurrentTime()),this.percent_!==n&&(this.el_.setAttribute("aria-valuenow",(n*100).toFixed(2)),this.percent_=n),(this.currentTime_!==r||this.duration_!==a)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Ui(r,a),Ui(a,a)],"{1} of {2}")),this.currentTime_=r,this.duration_=a),this.bar&&this.bar.update(yr(this.el()),this.getProgress(),t)}),n}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}pendingSeekTime(t){if(t!==void 0)if(t!==null){const n=this.player_.duration();this.pendingSeekTime_=Math.max(0,Math.min(t,n))}else this.pendingSeekTime_=null;return this.pendingSeekTime_}getPercent(){if(this.pendingSeekTime()!==null)return this.pendingSeekTime()/this.player_.duration();const t=this.getCurrentTime_();let n;const r=this.player_.liveTracker;return r&&r.isLive()?(n=(t-r.seekableStart())/r.liveWindow(),r.atLiveEdge()&&(n=1)):n=t/this.player_.duration(),n}handleMouseDown(t){ps(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.shouldDisableSeekWhileScrubbing_||this.player_.pause(),super.handleMouseDown(t))}handleMouseMove(t,n=!1){if(!ps(t)||isNaN(this.player_.duration()))return;!n&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let r;const s=this.calculateDistance(t),a=this.player_.liveTracker;if(!a||!a.isLive())r=s*this.player_.duration(),r===this.player_.duration()&&(r=r-.1);else{if(s>=.99){a.seekToLiveEdge();return}const o=a.seekableStart(),l=a.liveCurrentTime();if(r=o+s*a.liveWindow(),r>=l&&(r=l),r<=o&&(r=o+.1),r===1/0)return}this.shouldDisableSeekWhileScrubbing_?this.pendingSeekTime(r):this.userSeek_(r),this.player_.options_.enableSmoothSeeking&&this.update()}enable(){super.enable();const t=this.getChild("mouseTimeDisplay");t&&t.show()}disable(){super.disable();const t=this.getChild("mouseTimeDisplay");t&&t.hide()}handleMouseUp(t){super.handleMouseUp(t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?jn(this.player_.play()):this.update_()}handlePendingSeek_(t){this.player_.paused()||this.player_.pause();const n=this.pendingSeekTime()!==null?this.pendingSeekTime():this.player_.currentTime();this.pendingSeekTime(n+t),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}stepForward(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(this.options().stepSeconds):this.userSeek_(this.player_.currentTime()+this.options().stepSeconds)}stepBack(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(-this.options().stepSeconds):this.userSeek_(this.player_.currentTime()-this.options().stepSeconds)}handleAction(t){this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(t){const n=this.player_.liveTracker;if(t.key===" "||t.key==="Enter")t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(t.key==="Home")t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(t.key==="End")t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(t.key)){t.preventDefault(),t.stopPropagation();const r=parseInt(t.key,10)*.1;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else t.key==="PageDown"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-this.options().stepSeconds*this.options().pageMultiplier)):t.key==="PageUp"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+this.options().stepSeconds*this.options().pageMultiplier)):super.handleKeyDown(t)}dispose(){this.disableInterval_(),this.off(this.player_,["durationchange","timeupdate"],this.update),this.off(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in De&&"visibilityState"in De&&this.off(De,"visibilitychange",this.toggleVisibility_),super.dispose()}}io.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar",stepSeconds:5,pageMultiplier:12};ve.registerComponent("SeekBar",io);class wf extends ve{constructor(t,n){super(t,n),this.handleMouseMove=Wn(ht(this,this.handleMouseMove),An),this.throttledHandleMouseSeek=Wn(ht(this,this.handleMouseSeek),An),this.handleMouseUpHandler_=r=>this.handleMouseUp(r),this.handleMouseDownHandler_=r=>this.handleMouseDown(r),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(t){const n=this.getChild("seekBar");if(!n)return;const r=n.getChild("playProgressBar"),s=n.getChild("mouseTimeDisplay");if(!r&&!s)return;const a=n.el(),o=ms(a);let l=Wa(a,t).x;l=Cs(l,0,1),s&&s.update(o,l),r&&r.update(o,n.getProgress())}handleMouseSeek(t){const n=this.getChild("seekBar");n&&n.handleMouseMove(t)}enabled(){return this.enabled_}disable(){if(this.children().forEach(t=>t.disable&&t.disable()),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const t=this.getChild("seekBar");this.player_.scrubbing(!1),t.videoWasPlaying&&jn(this.player_.play())}}enable(){this.children().forEach(t=>t.enable&&t.enable()),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseDown(t){const n=this.el_.ownerDocument,r=this.getChild("seekBar");r&&r.handleMouseDown(t),this.on(n,"mousemove",this.throttledHandleMouseSeek),this.on(n,"touchmove",this.throttledHandleMouseSeek),this.on(n,"mouseup",this.handleMouseUpHandler_),this.on(n,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.removeListenersAddedOnMousedownAndTouchstart()}}wf.prototype.options_={children:["seekBar"]};ve.registerComponent("ProgressControl",wf);class Sf extends Xt{constructor(t,n){super(t,n),this.setIcon("picture-in-picture-enter"),this.on(t,["enterpictureinpicture","leavepictureinpicture"],r=>this.handlePictureInPictureChange(r)),this.on(t,["disablepictureinpicturechanged","loadedmetadata"],r=>this.handlePictureInPictureEnabledChange(r)),this.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],()=>this.handlePictureInPictureAudioModeChange()),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control vjs-hidden ${super.buildCSSClass()}`}handlePictureInPictureAudioModeChange(){if(!(this.player_.currentType().substring(0,5)==="audio"||this.player_.audioPosterMode()||this.player_.audioOnlyMode())){this.show();return}this.player_.isInPictureInPicture()&&this.player_.exitPictureInPicture(),this.hide()}handlePictureInPictureEnabledChange(){De.pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in J?this.enable():this.disable()}handlePictureInPictureChange(t){this.player_.isInPictureInPicture()?(this.setIcon("picture-in-picture-exit"),this.controlText("Exit Picture-in-Picture")):(this.setIcon("picture-in-picture-enter"),this.controlText("Picture-in-Picture")),this.handlePictureInPictureEnabledChange()}handleClick(t){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}show(){typeof De.exitPictureInPicture=="function"&&super.show()}}Sf.prototype.controlText_="Picture-in-Picture";ve.registerComponent("PictureInPictureToggle",Sf);class Df extends Xt{constructor(t,n){super(t,n),this.setIcon("fullscreen-enter"),this.on(t,"fullscreenchange",r=>this.handleFullscreenChange(r)),De[t.fsApi_.fullscreenEnabled]===!1&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(t){this.player_.isFullscreen()?(this.controlText("Exit Fullscreen"),this.setIcon("fullscreen-exit")):(this.controlText("Fullscreen"),this.setIcon("fullscreen-enter"))}handleClick(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}Df.prototype.controlText_="Fullscreen";ve.registerComponent("FullscreenToggle",Df);const A4=function(i,t){t.tech_&&!t.tech_.featuresVolumeControl&&i.addClass("vjs-hidden"),i.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?i.removeClass("vjs-hidden"):i.addClass("vjs-hidden")})};class w4 extends ve{createEl(){const t=super.createEl("div",{className:"vjs-volume-level"});return this.setIcon("circle",t),t.appendChild(super.createEl("span",{className:"vjs-control-text"})),t}}ve.registerComponent("VolumeLevel",w4);class S4 extends ve{constructor(t,n){super(t,n),this.update=Wn(ht(this,this.update),An)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(t,n,r,s){if(!r){const a=yr(this.el_),o=yr(this.player_.el()),l=t.width*n;if(!o||!a)return;const u=t.left-o.left+l,d=t.width-l+(o.right-t.right);let f=a.width/2;u<f?f+=f-u:d<f&&(f=d),f<0?f=0:f>a.width&&(f=a.width),this.el_.style.right=`-${f}px`}this.write(`${s}%`)}write(t){ki(this.el_,t)}updateVolume(t,n,r,s,a){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(t,n,r,s.toFixed(0)),a&&a()})}}ve.registerComponent("VolumeLevelTooltip",S4);class Bf extends ve{constructor(t,n){super(t,n),this.update=Wn(ht(this,this.update),An)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,n,r){const s=100*n;this.getChild("volumeLevelTooltip").updateVolume(t,n,r,s,()=>{r?this.el_.style.bottom=`${t.height*n}px`:this.el_.style.left=`${t.width*n}px`})}}Bf.prototype.options_={children:["volumeLevelTooltip"]};ve.registerComponent("MouseVolumeLevelDisplay",Bf);class ro extends ku{constructor(t,n){super(t,n),this.on("slideractive",r=>this.updateLastVolume_(r)),this.on(t,"volumechange",r=>this.updateARIAAttributes(r)),t.ready(()=>this.updateARIAAttributes())}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(t){ps(t)&&super.handleMouseDown(t)}handleMouseMove(t){const n=this.getChild("mouseVolumeLevelDisplay");if(n){const r=this.el(),s=yr(r),a=this.vertical();let o=Wa(r,t);o=a?o.y:o.x,o=Cs(o,0,1),n.update(s,o,a)}ps(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(t){const n=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",n),this.el_.setAttribute("aria-valuetext",n+"%")}volumeAsPercentage_(){return Math.round(this.player_.volume()*100)}updateLastVolume_(){const t=this.player_.volume();this.one("sliderinactive",()=>{this.player_.volume()===0&&this.player_.lastVolume_(t)})}}ro.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};!Ht&&!Mn&&ro.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay");ro.prototype.playerEvent="volumechange";ve.registerComponent("VolumeBar",ro);class Vf extends ve{constructor(t,n={}){n.vertical=n.vertical||!1,(typeof n.volumeBar>"u"||gr(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),super(t,n),A4(this,t),this.throttledHandleMouseMove=Wn(ht(this,this.handleMouseMove),An),this.handleMouseUpHandler_=r=>this.handleMouseUp(r),this.on("mousedown",r=>this.handleMouseDown(r)),this.on("touchstart",r=>this.handleMouseDown(r)),this.on("mousemove",r=>this.handleMouseMove(r)),this.on(this.volumeBar,["focus","slideractive"],()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")}),this.on(this.volumeBar,["blur","sliderinactive"],()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")})}createEl(){let t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${t}`})}handleMouseDown(t){const n=this.el_.ownerDocument;this.on(n,"mousemove",this.throttledHandleMouseMove),this.on(n,"touchmove",this.throttledHandleMouseMove),this.on(n,"mouseup",this.handleMouseUpHandler_),this.on(n,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const n=this.el_.ownerDocument;this.off(n,"mousemove",this.throttledHandleMouseMove),this.off(n,"touchmove",this.throttledHandleMouseMove),this.off(n,"mouseup",this.handleMouseUpHandler_),this.off(n,"touchend",this.handleMouseUpHandler_)}handleMouseMove(t){this.volumeBar.handleMouseMove(t)}}Vf.prototype.options_={children:["volumeBar"]};ve.registerComponent("VolumeControl",Vf);const D4=function(i,t){t.tech_&&!t.tech_.featuresMuteControl&&i.addClass("vjs-hidden"),i.on(t,"loadstart",function(){t.tech_.featuresMuteControl?i.removeClass("vjs-hidden"):i.addClass("vjs-hidden")})};class Nf extends Xt{constructor(t,n){super(t,n),D4(this,t),this.on(t,["loadstart","volumechange"],r=>this.update(r))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(t){const n=this.player_.volume(),r=this.player_.lastVolume_();if(n===0){const s=r<.1?.1:r;this.player_.volume(s),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(t){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const t=this.player_.volume();let n=3;this.setIcon("volume-high"),Ht&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),t===0||this.player_.muted()?(this.setIcon("volume-mute"),n=0):t<.33?(this.setIcon("volume-low"),n=1):t<.67&&(this.setIcon("volume-medium"),n=2),Ya(this.el_,[0,1,2,3].reduce((r,s)=>r+`${s?" ":""}vjs-vol-${s}`,"")),Li(this.el_,`vjs-vol-${n}`)}updateControlText_(){const n=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==n&&this.controlText(n)}}Nf.prototype.controlText_="Mute";ve.registerComponent("MuteToggle",Nf);class If extends ve{constructor(t,n={}){typeof n.inline<"u"?n.inline=n.inline:n.inline=!0,(typeof n.volumeControl>"u"||gr(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),super(t,n),this.handleKeyPressHandler_=r=>this.handleKeyPress(r),this.on(t,["loadstart"],r=>this.volumePanelState_(r)),this.on(this.muteToggle,"keyup",r=>this.handleKeyPress(r)),this.on(this.volumeControl,"keyup",r=>this.handleVolumeControlKeyUp(r)),this.on("keydown",r=>this.handleKeyPress(r)),this.on("mouseover",r=>this.handleMouseOver(r)),this.on("mouseout",r=>this.handleMouseOut(r)),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${t}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(t){t.key==="Escape"&&this.muteToggle.focus()}handleMouseOver(t){this.addClass("vjs-hover"),gn(De,"keyup",this.handleKeyPressHandler_)}handleMouseOut(t){this.removeClass("vjs-hover"),jt(De,"keyup",this.handleKeyPressHandler_)}handleKeyPress(t){t.key==="Escape"&&this.handleMouseOut()}}If.prototype.options_={children:["muteToggle","volumeControl"]};ve.registerComponent("VolumePanel",If);class Of extends Xt{constructor(t,n){super(t,n),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`forward-${this.skipTime}`),this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipForwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(t){if(isNaN(this.player_.duration()))return;const n=this.player_.currentTime(),r=this.player_.liveTracker,s=r&&r.isLive()?r.seekableEnd():this.player_.duration();let a;n+this.skipTime<=s?a=n+this.skipTime:a=s,this.player_.currentTime(a)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}Of.prototype.controlText_="Skip Forward";ve.registerComponent("SkipForward",Of);class Pf extends Xt{constructor(t,n){super(t,n),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`replay-${this.skipTime}`),this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipBackwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(t){const n=this.player_.currentTime(),r=this.player_.liveTracker,s=r&&r.isLive()&&r.seekableStart();let a;s&&n-this.skipTime<=s?a=s:n>=this.skipTime?a=n-this.skipTime:a=0,this.player_.currentTime(a)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}Pf.prototype.controlText_="Skip Backward";ve.registerComponent("SkipBackward",Pf);class Lf extends ve{constructor(t,n){super(t,n),n&&(this.menuButton_=n.menuButton),this.focusedChild_=-1,this.on("keydown",r=>this.handleKeyDown(r)),this.boundHandleBlur_=r=>this.handleBlur(r),this.boundHandleTapClick_=r=>this.handleTapClick(r)}addEventListenerForItem(t){t instanceof ve&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(t){t instanceof ve&&(this.off(t,"blur",this.boundHandleBlur_),this.off(t,["tap","click"],this.boundHandleTapClick_))}removeChild(t){typeof t=="string"&&(t=this.getChild(t)),this.removeEventListenerForItem(t),super.removeChild(t)}addItem(t){const n=this.addChild(t);n&&this.addEventListenerForItem(n)}createEl(){const t=this.options_.contentElType||"ul";this.contentEl_=Xe(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const n=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),gn(n,"click",function(r){r.preventDefault(),r.stopImmediatePropagation()}),n}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(t){const n=t.relatedTarget||De.activeElement;if(!this.children().some(r=>r.el()===n)){const r=this.menuButton_;r&&r.buttonPressed_&&n!==r.el().firstChild&&r.unpressButton()}}handleTapClick(t){if(this.menuButton_){this.menuButton_.unpressButton();const n=this.children();if(!Array.isArray(n))return;const r=n.filter(s=>s.el()===t.target)[0];if(!r)return;r.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}}handleKeyDown(t){t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(t.key==="ArrowRight"||t.key==="ArrowUp")&&(t.preventDefault(),t.stopPropagation(),this.stepBack())}stepForward(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_+1),this.focus(t)}stepBack(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_-1),this.focus(t)}focus(t=0){const n=this.children().slice();n.length&&n[0].hasClass("vjs-menu-title")&&n.shift(),n.length>0&&(t<0?t=0:t>=n.length&&(t=n.length-1),this.focusedChild_=t,n[t].el_.focus())}}ve.registerComponent("Menu",Lf);class xu extends ve{constructor(t,n={}){super(t,n),this.menuButton_=new Xt(t,n),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const r=Xt.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+r,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const s=a=>this.handleClick(a);this.handleMenuKeyUp_=a=>this.handleMenuKeyUp(a),this.on(this.menuButton_,"tap",s),this.on(this.menuButton_,"click",s),this.on(this.menuButton_,"keydown",a=>this.handleKeyDown(a)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),gn(De,"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",a=>this.handleMouseLeave(a)),this.on("keydown",a=>this.handleSubmenuKeyDown(a))}update(){const t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const t=new Lf(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const n=Xe("li",{className:"vjs-menu-title",textContent:bt(this.options_.title),tabIndex:-1}),r=new ve(this.player_,{el:n});t.addItem(r)}if(this.items=this.createItems(),this.items)for(let n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}setIcon(t){return super.setIcon(t,this.menuButton_.el_)}buildWrapperCSSClass(){let t="vjs-menu-button";this.options_.inline===!0?t+="-inline":t+="-popup";const n=Xt.prototype.buildCSSClass();return`vjs-menu-button ${t} ${n} ${super.buildCSSClass()}`}buildCSSClass(){let t="vjs-menu-button";return this.options_.inline===!0?t+="-inline":t+="-popup",`vjs-menu-button ${t} ${super.buildCSSClass()}`}controlText(t,n=this.menuButton_.el()){return this.menuButton_.controlText(t,n)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(t){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(t){this.removeClass("vjs-hover"),jt(De,"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(t){t.key==="Escape"||t.key==="Tab"?(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus())):(t.key==="Up"||t.key==="Down"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))}handleMenuKeyUp(t){(t.key==="Escape"||t.key==="Tab")&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(t){this.handleSubmenuKeyDown(t)}handleSubmenuKeyDown(t){(t.key==="Escape"||t.key==="Tab")&&(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Ht&&Xh())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}ve.registerComponent("MenuButton",xu);class _u extends xu{constructor(t,n){const r=n.tracks;if(super(t,n),this.items.length<=1&&this.hide(),!r)return;const s=ht(this,this.update);r.addEventListener("removetrack",s),r.addEventListener("addtrack",s),r.addEventListener("labelchange",s),this.player_.on("ready",s),this.player_.on("dispose",function(){r.removeEventListener("removetrack",s),r.removeEventListener("addtrack",s),r.removeEventListener("labelchange",s)})}}ve.registerComponent("TrackButton",_u);class bs extends no{constructor(t,n){super(t,n),this.selectable=n.selectable,this.isSelected_=n.selected||!1,this.multiSelectable=n.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(t,n,r){this.nonIconControl=!0;const s=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},n),r),a=Xe("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?s.appendChild(a):s.replaceChild(a,s.querySelector(".vjs-icon-placeholder")),s}handleKeyDown(t){["Tab","Escape","ArrowUp","ArrowLeft","ArrowRight","ArrowDown"].includes(t.key)||super.handleKeyDown(t)}handleClick(t){this.selected(!0)}selected(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}ve.registerComponent("MenuItem",bs);class Ts extends bs{constructor(t,n){const r=n.track,s=t.textTracks();n.label=r.label||r.language||"Unknown",n.selected=r.mode==="showing",super(t,n),this.track=r,this.kinds=(n.kinds||[n.kind||this.track.kind]).filter(Boolean);const a=(...l)=>{this.handleTracksChange.apply(this,l)},o=(...l)=>{this.handleSelectedLanguageChange.apply(this,l)};if(t.on(["loadstart","texttrackchange"],a),s.addEventListener("change",a),s.addEventListener("selectedlanguagechange",o),this.on("dispose",function(){t.off(["loadstart","texttrackchange"],a),s.removeEventListener("change",a),s.removeEventListener("selectedlanguagechange",o)}),s.onchange===void 0){let l;this.on(["tap","click"],function(){if(typeof J.Event!="object")try{l=new J.Event("change")}catch{}l||(l=De.createEvent("Event"),l.initEvent("change",!0,!0)),s.dispatchEvent(l)})}this.handleTracksChange()}handleClick(t){const n=this.track,r=this.player_.textTracks();if(super.handleClick(t),!!r)for(let s=0;s<r.length;s++){const a=r[s];this.kinds.indexOf(a.kind)!==-1&&(a===n?a.mode!=="showing"&&(a.mode="showing"):a.mode!=="disabled"&&(a.mode="disabled"))}}handleTracksChange(t){const n=this.track.mode==="showing";n!==this.isSelected_&&this.selected(n)}handleSelectedLanguageChange(t){if(this.track.mode==="showing"){const n=this.player_.cache_.selectedLanguage;if(n&&n.enabled&&n.language===this.track.language&&n.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}ve.registerComponent("TextTrackMenuItem",Ts);class Mf extends Ts{constructor(t,n){n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,super(t,n)}handleTracksChange(t){const n=this.player().textTracks();let r=!0;for(let s=0,a=n.length;s<a;s++){const o=n[s];if(this.options_.kinds.indexOf(o.kind)>-1&&o.mode==="showing"){r=!1;break}}r!==this.isSelected_&&this.selected(r)}handleSelectedLanguageChange(t){const n=this.player().textTracks();let r=!0;for(let s=0,a=n.length;s<a;s++){const o=n[s];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&o.mode==="showing"){r=!1;break}}r&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}ve.registerComponent("OffTextTrackMenuItem",Mf);class wr extends _u{constructor(t,n={}){n.tracks=t.textTracks(),super(t,n)}createItems(t=[],n=Ts){let r;this.label_&&(r=`${this.label_} off`),t.push(new Mf(this.player_,{kinds:this.kinds_,kind:this.kind_,label:r})),this.hideThreshold_+=1;const s=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let a=0;a<s.length;a++){const o=s[a];if(this.kinds_.indexOf(o.kind)>-1){const l=new n(this.player_,{track:o,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});l.addClass(`vjs-${o.kind}-menu-item`),t.push(l)}}return t}}ve.registerComponent("TextTrackButton",wr);class Rf extends bs{constructor(t,n){const r=n.track,s=n.cue,a=t.currentTime();n.selectable=!0,n.multiSelectable=!1,n.label=s.text,n.selected=s.startTime<=a&&a<s.endTime,super(t,n),this.track=r,this.cue=s}handleClick(t){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}ve.registerComponent("ChaptersTrackMenuItem",Rf);class Au extends wr{constructor(t,n,r){super(t,n,r),this.setIcon("chapters"),this.selectCurrentItem_=()=>{this.items.forEach(s=>{s.selected(this.track_.activeCues[0]===s.cue)})}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(t){if(t&&t.track&&t.track.kind!=="chapters")return;const n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),super.update()):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&super.update()}setTrack(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";const n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const t=this.player_.textTracks()||[];for(let n=t.length-1;n>=0;n--){const r=t[n];if(r.kind===this.kind_)return r}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(bt(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const t=[];if(!this.track_)return t;const n=this.track_.cues;if(!n)return t;for(let r=0,s=n.length;r<s;r++){const a=n[r],o=new Rf(this.player_,{track:this.track_,cue:a});t.push(o)}return t}}Au.prototype.kind_="chapters";Au.prototype.controlText_="Chapters";ve.registerComponent("ChaptersButton",Au);class wu extends wr{constructor(t,n,r){super(t,n,r),this.setIcon("audio-description");const s=t.textTracks(),a=ht(this,this.handleTracksChange);s.addEventListener("change",a),this.on("dispose",function(){s.removeEventListener("change",a)})}handleTracksChange(t){const n=this.player().textTracks();let r=!1;for(let s=0,a=n.length;s<a;s++){const o=n[s];if(o.kind!==this.kind_&&o.mode==="showing"){r=!0;break}}r?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}wu.prototype.kind_="descriptions";wu.prototype.controlText_="Descriptions";ve.registerComponent("DescriptionsButton",wu);class Su extends wr{constructor(t,n,r){super(t,n,r),this.setIcon("subtitles")}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}Su.prototype.kind_="subtitles";Su.prototype.controlText_="Subtitles";ve.registerComponent("SubtitlesButton",Su);class Du extends Ts{constructor(t,n){n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",super(t,n),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+n.kind+" settings dialog")}handleClick(t){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}ve.registerComponent("CaptionSettingsMenuItem",Du);class Bu extends wr{constructor(t,n,r){super(t,n,r),this.setIcon("captions")}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new Du(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(t)}}Bu.prototype.kind_="captions";Bu.prototype.controlText_="Captions";ve.registerComponent("CaptionsButton",Bu);class qf extends Ts{createEl(t,n,r){const s=super.createEl(t,n,r),a=s.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",s):a.appendChild(Xe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Xe("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),s}}ve.registerComponent("SubsCapsMenuItem",qf);class Vu extends wr{constructor(t,n={}){super(t,n),this.label_="subtitles",this.setIcon("subtitles"),["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions",this.setIcon("captions")),this.menuButton_.controlText(bt(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new Du(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=super.createItems(t,qf),t}}Vu.prototype.kinds_=["captions","subtitles"];Vu.prototype.controlText_="Subtitles";ve.registerComponent("SubsCapsButton",Vu);class Ff extends bs{constructor(t,n){const r=n.track,s=t.audioTracks();n.label=r.label||r.language||"Unknown",n.selected=r.enabled,super(t,n),this.track=r,this.addClass(`vjs-${r.kind}-menu-item`);const a=(...o)=>{this.handleTracksChange.apply(this,o)};s.addEventListener("change",a),this.on("dispose",()=>{s.removeEventListener("change",a)})}createEl(t,n,r){const s=super.createEl(t,n,r),a=s.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(a.appendChild(Xe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Xe("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),s}handleClick(t){if(super.handleClick(t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const n=this.player_.audioTracks();for(let r=0;r<n.length;r++){const s=n[r];s!==this.track&&(s.enabled=s===this.track)}}}handleTracksChange(t){this.selected(this.track.enabled)}}ve.registerComponent("AudioTrackMenuItem",Ff);class Uf extends _u{constructor(t,n={}){n.tracks=t.audioTracks(),super(t,n),this.setIcon("audio")}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(t=[]){this.hideThreshold_=1;const n=this.player_.audioTracks();for(let r=0;r<n.length;r++){const s=n[r];t.push(new Ff(this.player_,{track:s,selectable:!0,multiSelectable:!1}))}return t}}Uf.prototype.controlText_="Audio Track";ve.registerComponent("AudioTrackButton",Uf);class Nu extends bs{constructor(t,n){const r=n.rate,s=parseFloat(r,10);n.label=r,n.selected=s===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,super(t,n),this.label=r,this.rate=s,this.on(t,"ratechange",a=>this.update(a))}handleClick(t){super.handleClick(),this.player().playbackRate(this.rate)}update(t){this.selected(this.player().playbackRate()===this.rate)}}Nu.prototype.contentElType="button";ve.registerComponent("PlaybackRateMenuItem",Nu);class zf extends xu{constructor(t,n){super(t,n),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(t,"loadstart",r=>this.updateVisibility(r)),this.on(t,"ratechange",r=>this.updateLabel(r)),this.on(t,"playbackrateschange",r=>this.handlePlaybackRateschange(r))}createEl(){const t=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Xe("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const t=this.playbackRates(),n=[];for(let r=t.length-1;r>=0;r--)n.push(new Nu(this.player(),{rate:t[r]+"x"}));return n}handlePlaybackRateschange(t){this.update()}playbackRates(){const t=this.player();return t.playbackRates&&t.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(t){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}zf.prototype.controlText_="Playback Rate";ve.registerComponent("PlaybackRateMenuButton",zf);class Hf extends ve{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(t="div",n={},r={}){return n.className||(n.className=this.buildCSSClass()),super.createEl(t,n,r)}}ve.registerComponent("Spacer",Hf);class B4 extends Hf{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}}ve.registerComponent("CustomControlSpacer",B4);class jf extends ve{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}jf.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]};ve.registerComponent("ControlBar",jf);class Xf extends _r{constructor(t,n){super(t,n),this.on(t,"error",r=>{this.open(r)})}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const t=this.player().error();return t?this.localize(t.message):""}}Xf.prototype.options_=Object.assign({},_r.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0});ve.registerComponent("ErrorDisplay",Xf);class Gf extends ve{constructor(t,n={}){super(t,n),this.el_.setAttribute("aria-labelledby",this.selectLabelledbyIds)}createEl(){return this.selectLabelledbyIds=[this.options_.legendId,this.options_.labelId].join(" ").trim(),Xe("select",{id:this.options_.id},{},this.options_.SelectOptions.map(n=>{const r=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${_n()}`)+"-"+n[1].replace(/\W+/g,""),s=Xe("option",{id:r,value:this.localize(n[0]),textContent:this.localize(n[1])});return s.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${r}`),s}))}}ve.registerComponent("TextTrackSelect",Gf);class Ri extends ve{constructor(t,n={}){super(t,n);const r=Xe("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(r);const s=this.options_.selects;for(const a of s){const o=this.options_.selectConfigs[a],l=o.className,u=o.id.replace("%s",this.options_.id_);let d=null;const f=`vjs_select_${_n()}`;if(this.options_.type==="colors"){d=Xe("span",{className:l});const E=Xe("label",{id:u,className:"vjs-label",textContent:this.localize(o.label)});E.setAttribute("for",f),d.appendChild(E)}const p=new Gf(t,{SelectOptions:o.options,legendId:this.options_.legendId,id:f,labelId:u});this.addChild(p),this.options_.type==="colors"&&(d.appendChild(p.el()),this.el().appendChild(d))}}createEl(){return Xe("fieldset",{className:this.options_.className})}}ve.registerComponent("TextTrackFieldset",Ri);class Qf extends ve{constructor(t,n={}){super(t,n);const r=this.options_.textTrackComponentid,s=new Ri(t,{id_:r,legendId:`captions-text-legend-${r}`,legendText:this.localize("Text"),className:"vjs-fg vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(s);const a=new Ri(t,{id_:r,legendId:`captions-background-${r}`,legendText:this.localize("Text Background"),className:"vjs-bg vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(a);const o=new Ri(t,{id_:r,legendId:`captions-window-${r}`,legendText:this.localize("Caption Area Background"),className:"vjs-window vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(o)}createEl(){return Xe("div",{className:"vjs-track-settings-colors"})}}ve.registerComponent("TextTrackSettingsColors",Qf);class Yf extends ve{constructor(t,n={}){super(t,n);const r=this.options_.textTrackComponentid,s=new Ri(t,{id_:r,legendId:`captions-font-size-${r}`,legendText:"Font Size",className:"vjs-font-percent vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(s);const a=new Ri(t,{id_:r,legendId:`captions-edge-style-${r}`,legendText:this.localize("Text Edge Style"),className:"vjs-edge-style vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(a);const o=new Ri(t,{id_:r,legendId:`captions-font-family-${r}`,legendText:this.localize("Font Family"),className:"vjs-font-family vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(o)}createEl(){return Xe("div",{className:"vjs-track-settings-font"})}}ve.registerComponent("TextTrackSettingsFont",Yf);class Kf extends ve{constructor(t,n={}){super(t,n);const r=new Xt(t,{controlText:this.localize("restore all settings to the default values"),className:"vjs-default-button"});r.el().classList.remove("vjs-control","vjs-button"),r.el().textContent=this.localize("Reset"),this.addChild(r);const s=this.localize("Done"),a=new Xt(t,{controlText:s,className:"vjs-done-button"});a.el().classList.remove("vjs-control","vjs-button"),a.el().textContent=s,this.addChild(a)}createEl(){return Xe("div",{className:"vjs-track-settings-controls"})}}ve.registerComponent("TrackSettingsControls",Kf);const el="vjs-text-track-settings",Rd=["#000","Black"],qd=["#00F","Blue"],Fd=["#0FF","Cyan"],Ud=["#0F0","Green"],zd=["#F0F","Magenta"],Hd=["#F00","Red"],jd=["#FFF","White"],Xd=["#FF0","Yellow"],tl=["1","Opaque"],nl=["0.5","Semi-Transparent"],Gd=["0","Transparent"],pi={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Rd,jd,Hd,Ud,qd,Xd,zd,Fd],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[tl,nl,Gd],className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[jd,Rd,Hd,Ud,qd,Xd,zd,Fd],className:"vjs-text-color"},edgeStyle:{selector:".vjs-edge-style > select",id:"",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Drop shadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:i=>i==="1.00"?null:Number(i)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[tl,nl],className:"vjs-text-opacity vjs-opacity"},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color",className:"vjs-window-color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[Gd,nl,tl],className:"vjs-window-opacity vjs-opacity"}};pi.windowColor.options=pi.backgroundColor.options;function Wf(i,t){if(t&&(i=t(i)),i&&i!=="none")return i}function V4(i,t){const n=i.options[i.options.selectedIndex].value;return Wf(n,t)}function N4(i,t,n){if(t){for(let r=0;r<i.options.length;r++)if(Wf(i.options[r].value,n)===t){i.selectedIndex=r;break}}}class I4 extends _r{constructor(t,n){n.temporary=!1,super(t,n),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.renderModalComponents(t),this.endDialog=Xe("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),n.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.bindFunctionsToSelectsAndButtons(),this.options_.persistTextTrackSettings&&this.restoreSettings()}renderModalComponents(t){const n=new Qf(t,{textTrackComponentid:this.id_,selectConfigs:pi,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(n);const r=new Yf(t,{textTrackComponentid:this.id_,selectConfigs:pi,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(r);const s=new Kf(t);this.addChild(s)}bindFunctionsToSelectsAndButtons(){this.on(this.$(".vjs-done-button"),["click","tap"],()=>{this.saveSettings(),this.close()}),this.on(this.$(".vjs-default-button"),["click","tap"],()=>{this.setDefaults(),this.updateDisplay()}),tr(pi,t=>{this.on(this.$(t.selector),"change",this.updateDisplay)})}dispose(){this.endDialog=null,super.dispose()}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return Rh(pi,(t,n,r)=>{const s=V4(this.$(n.selector),n.parser);return s!==void 0&&(t[r]=s),t},{})}setValues(t){tr(pi,(n,r)=>{N4(this.$(n.selector),t[r],n.parser)})}setDefaults(){tr(pi,t=>{const n=t.hasOwnProperty("default")?t.default:0;this.$(t.selector).selectedIndex=n})}restoreSettings(){let t;try{t=JSON.parse(J.localStorage.getItem(el))}catch(n){$e.warn(n)}t&&this.setValues(t)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const t=this.getValues();try{Object.keys(t).length?J.localStorage.setItem(el,JSON.stringify(t)):J.localStorage.removeItem(el)}catch(n){$e.warn(n)}}updateDisplay(){const t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}ve.registerComponent("TextTrackSettings",I4);class O4 extends ve{constructor(t,n){let r=n.ResizeObserver||J.ResizeObserver;n.ResizeObserver===null&&(r=!1);const s=ut({createEl:!r,reportTouchActivity:!1},n);super(t,s),this.ResizeObserver=n.ResizeObserver||J.ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=lf(()=>{this.resizeHandler()},100,!1,this),r?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(t.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const a=this.debouncedHandler_;let o=this.unloadListener_=function(){jt(this,"resize",a),jt(this,"unload",o),o=null};gn(this.el_.contentWindow,"unload",o),gn(this.el_.contentWindow,"resize",a)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}}ve.registerComponent("ResizeManager",O4);const P4={trackingThreshold:20,liveTolerance:15};class L4 extends ve{constructor(t,n){const r=ut(P4,n,{createEl:!1});super(t,r),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=s=>this.handlePlay(s),this.handleFirstTimeupdate_=s=>this.handleFirstTimeupdate(s),this.handleSeeked_=s=>this.handleSeeked(s),this.seekToLiveEdge_=s=>this.seekToLiveEdge(s),this.reset_(),this.on(this.player_,"durationchange",s=>this.handleDurationchange(s)),this.on(this.player_,"canplay",()=>this.toggleTracking())}trackLive_(){const t=this.player_.seekable();if(!t||!t.length)return;const n=Number(J.performance.now().toFixed(4)),r=this.lastTime_===-1?0:(n-this.lastTime_)/1e3;this.lastTime_=n,this.pastSeekEnd_=this.pastSeekEnd()+r;const s=this.liveCurrentTime(),a=this.player_.currentTime();let o=this.player_.paused()||this.seekedBehindLive_||Math.abs(s-a)>this.options_.liveTolerance;(!this.timeupdateSeen_||s===1/0)&&(o=!1),o!==this.behindLiveEdge_&&(this.behindLiveEdge_=o,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,An),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&t>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const t=this.player_.seekable(),n=[];let r=t?t.length:0;for(;r--;)n.push(t.end(r));return n.length?n.sort()[n.length-1]:1/0}seekableStart(){const t=this.player_.seekable(),n=[];let r=t?t.length:0;for(;r--;)n.push(t.start(r));return n.length?n.sort()[0]:0}liveWindow(){const t=this.liveCurrentTime();return t===1/0?0:t-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const t=this.seekableEnd();return this.lastSeekEnd_!==-1&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return typeof this.trackingInterval_=="number"}seekToLiveEdge(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}ve.registerComponent("LiveTracker",L4);class M4 extends ve{constructor(t,n){super(t,n),this.on("statechanged",r=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:Xe("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${_n()}`}),description:Xe("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${_n()}`})},Xe("div",{className:"vjs-title-bar"},{},qh(this.els))}updateDom_(){const t=this.player_.tech_,n=t&&t.el_,r={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(s=>{const a=this.state[s],o=this.els[s],l=r[s];Ja(o),a&&ki(o,a),n&&(n.removeAttribute(l),a&&n.setAttribute(l,o.id))}),this.state.title||this.state.description?this.show():this.hide()}update(t){this.setState(t)}dispose(){const t=this.player_.tech_,n=t&&t.el_;n&&(n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-describedby")),super.dispose(),this.els=null}}ve.registerComponent("TitleBar",M4);const R4={initialDisplay:4e3,position:[],takeFocus:!1};class q4 extends Xt{constructor(t,n){n=ut(R4,n),super(t,n),this.controlText(n.controlText),this.hide(),this.on(this.player_,["useractive","userinactive"],r=>{this.removeClass("force-display")})}buildCSSClass(){return`vjs-transient-button focus-visible ${this.options_.position.map(t=>`vjs-${t}`).join(" ")}`}createEl(){const t=Xe("button",{},{type:"button",class:this.buildCSSClass()},Xe("span"));return this.controlTextEl_=t.querySelector("span"),t}show(){super.show(),this.addClass("force-display"),this.options_.takeFocus&&this.el().focus({preventScroll:!0}),this.forceDisplayTimeout=this.player_.setTimeout(()=>{this.removeClass("force-display")},this.options_.initialDisplay)}hide(){this.removeClass("force-display"),super.hide()}dispose(){this.player_.clearTimeout(this.forceDisplayTimeout),super.dispose()}}ve.registerComponent("TransientButton",q4);const _l=i=>{const t=i.el();if(t.hasAttribute("src"))return i.triggerSourceset(t.src),!0;const n=i.$$("source"),r=[];let s="";if(!n.length)return!1;for(let a=0;a<n.length;a++){const o=n[a].src;o&&r.indexOf(o)===-1&&r.push(o)}return r.length?(r.length===1&&(s=r[0]),i.triggerSourceset(s),!0):!1},F4=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(i){const t=De.createElement(this.nodeName.toLowerCase());t.innerHTML=i;const n=De.createDocumentFragment();for(;t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",J.Element.prototype.appendChild.call(this,n),this.innerHTML}}),Jf=(i,t)=>{let n={};for(let r=0;r<i.length&&(n=Object.getOwnPropertyDescriptor(i[r],t),!(n&&n.set&&n.get));r++);return n.enumerable=!0,n.configurable=!0,n},U4=i=>Jf([i.el(),J.HTMLMediaElement.prototype,J.Element.prototype,F4],"innerHTML"),Qd=function(i){const t=i.el();if(t.resetSourceWatch_)return;const n={},r=U4(i),s=a=>(...o)=>{const l=a.apply(t,o);return _l(i),l};["append","appendChild","insertAdjacentHTML"].forEach(a=>{t[a]&&(n[a]=t[a],t[a]=s(n[a]))}),Object.defineProperty(t,"innerHTML",ut(r,{set:s(r.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(n).forEach(a=>{t[a]=n[a]}),Object.defineProperty(t,"innerHTML",r)},i.one("sourceset",t.resetSourceWatch_)},z4=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?Cf(J.Element.prototype.getAttribute.call(this,"src")):""},set(i){return J.Element.prototype.setAttribute.call(this,"src",i),i}}),H4=i=>Jf([i.el(),J.HTMLMediaElement.prototype,z4],"src"),j4=function(i){if(!i.featuresSourceset)return;const t=i.el();if(t.resetSourceset_)return;const n=H4(i),r=t.setAttribute,s=t.load;Object.defineProperty(t,"src",ut(n,{set:a=>{const o=n.set.call(t,a);return i.triggerSourceset(t.src),o}})),t.setAttribute=(a,o)=>{const l=r.call(t,a,o);return/src/i.test(a)&&i.triggerSourceset(t.src),l},t.load=()=>{const a=s.call(t);return _l(i)||(i.triggerSourceset(""),Qd(i)),a},t.currentSrc?i.triggerSourceset(t.currentSrc):_l(i)||Qd(i),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=s,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}};class Re extends Ye{constructor(t,n){super(t,n);const r=t.source;let s=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&this.el_.tagName==="VIDEO",r&&(this.el_.currentSrc!==r.src||t.tag&&t.tag.initNetworkState_===3)?this.setSource(r):this.handleLateInit_(this.el_),t.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const a=this.el_.childNodes;let o=a.length;const l=[];for(;o--;){const u=a[o];u.nodeName.toLowerCase()==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(u),this.remoteTextTracks().addTrack(u.track),this.textTracks().addTrack(u.track),!s&&!this.el_.hasAttribute("crossorigin")&&to(u.src)&&(s=!0)):l.push(u))}for(let u=0;u<l.length;u++)this.el_.removeChild(l[u])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&s&&$e.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
181
+ This may prevent text tracks from loading.`),this.restoreMetadataTracksInIOSNativePlayer_(),(fs||Ga)&&t.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Re.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){j4(this)}restoreMetadataTracksInIOSNativePlayer_(){const t=this.textTracks();let n;const r=()=>{n=[];for(let a=0;a<t.length;a++){const o=t[a];o.kind==="metadata"&&n.push({track:o,storedMode:o.mode})}};r(),t.addEventListener("change",r),this.on("dispose",()=>t.removeEventListener("change",r));const s=()=>{for(let a=0;a<n.length;a++){const o=n[a];o.track.mode==="disabled"&&o.track.mode!==o.storedMode&&(o.track.mode=o.storedMode)}t.removeEventListener("change",s)};this.on("webkitbeginfullscreen",()=>{t.removeEventListener("change",r),t.removeEventListener("change",s),t.addEventListener("change",s)}),this.on("webkitendfullscreen",()=>{t.removeEventListener("change",r),t.addEventListener("change",r),t.removeEventListener("change",s)})}overrideNative_(t,n){if(n!==this[`featuresNative${t}Tracks`])return;const r=t.toLowerCase();this[`${r}TracksListeners_`]&&Object.keys(this[`${r}TracksListeners_`]).forEach(s=>{this.el()[`${r}Tracks`].removeEventListener(s,this[`${r}TracksListeners_`][s])}),this[`featuresNative${t}Tracks`]=!n,this[`${r}TracksListeners_`]=null,this.proxyNativeTracksForType_(r)}overrideNativeAudioTracks(t){this.overrideNative_("Audio",t)}overrideNativeVideoTracks(t){this.overrideNative_("Video",t)}proxyNativeTracksForType_(t){const n=kn[t],r=this.el()[n.getterName],s=this[n.getterName]();if(!this[`featuresNative${n.capitalName}Tracks`]||!r||!r.addEventListener)return;const a={change:l=>{const u={type:"change",target:s,currentTarget:s,srcElement:s};s.trigger(u),t==="text"&&this[br.remoteText.getterName]().trigger(u)},addtrack(l){s.addTrack(l.track)},removetrack(l){s.removeTrack(l.track)}},o=function(){const l=[];for(let u=0;u<s.length;u++){let d=!1;for(let f=0;f<r.length;f++)if(r[f]===s[u]){d=!0;break}d||l.push(s[u])}for(;l.length;)s.removeTrack(l.shift())};this[n.getterName+"Listeners_"]=a,Object.keys(a).forEach(l=>{const u=a[l];r.addEventListener(l,u),this.on("dispose",d=>r.removeEventListener(l,u))}),this.on("loadstart",o),this.on("dispose",l=>this.off("loadstart",o))}proxyNativeTracks_(){kn.names.forEach(t=>{this.proxyNativeTracksForType_(t)})}createEl(){let t=this.options_.tag;if(!t||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(t){const r=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(r,t),Re.disposeMediaElement(t),t=r}else{t=De.createElement("video");const r=this.options_.tag&&mi(this.options_.tag),s=ut({},r);(!fs||this.options_.nativeControlsForTouch!==!0)&&delete s.controls,Yh(t,Object.assign(s,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&vr(t,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(t.disablePictureInPicture=this.options_.disablePictureInPicture);const n=["loop","muted","playsinline","autoplay"];for(let r=0;r<n.length;r++){const s=n[r],a=this.options_[s];typeof a<"u"&&(a?vr(t,s,s):Ka(t,s),t[s]=a)}return t}handleLateInit_(t){if(t.networkState===0||t.networkState===3)return;if(t.readyState===0){let r=!1;const s=function(){r=!0};this.on("loadstart",s);const a=function(){r||this.trigger("loadstart")};this.on("loadedmetadata",a),this.ready(function(){this.off("loadstart",s),this.off("loadedmetadata",a),r||this.trigger("loadstart")});return}const n=["loadstart"];n.push("loadedmetadata"),t.readyState>=2&&n.push("loadeddata"),t.readyState>=3&&n.push("canplay"),t.readyState>=4&&n.push("canplaythrough"),this.ready(function(){n.forEach(function(r){this.trigger(r)},this)})}setScrubbing(t){this.isScrubbing_=t}scrubbing(){return this.isScrubbing_}setCurrentTime(t){try{this.isScrubbing_&&this.el_.fastSeek&&Qa?this.el_.fastSeek(t):this.el_.currentTime=t}catch(n){$e(n,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Mn&&Kn&&this.el_.currentTime===0){const t=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",()=>{this.off("webkitbeginfullscreen",n),this.off("webkitendfullscreen",t)})}supportsFullScreen(){return typeof this.el_.webkitEnterFullScreen=="function"}enterFullScreen(){const t=this.el_;if(t.paused&&t.networkState<=t.HAVE_METADATA)jn(this.el_.play()),this.setTimeout(function(){t.pause();try{t.webkitEnterFullScreen()}catch(n){this.trigger("fullscreenerror",n)}},0);else try{t.webkitEnterFullScreen()}catch(n){this.trigger("fullscreenerror",n)}}exitFullScreen(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):super.requestVideoFrameCallback(t)}cancelVideoFrameCallback(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):super.cancelVideoFrameCallback(t)}src(t){if(t===void 0)return this.el_.src;this.setSrc(t)}addSourceElement(t,n){if(!t)return $e.error("Invalid source URL."),!1;const r={src:t};n&&(r.type=n);const s=Xe("source",{},r);return this.el_.appendChild(s),!0}removeSourceElement(t){if(!t)return $e.error("Source URL is required to remove the source element."),!1;const n=this.el_.querySelectorAll("source");for(const r of n)if(r.src===t)return this.el_.removeChild(r),!0;return $e.warn(`No matching source element found with src: ${t}`),!1}reset(){Re.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(t){this.el_.controls=!!t}addTextTrack(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):super.addTextTrack(t,n,r)}createRemoteTextTrack(t){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(t);const n=De.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n}addRemoteTextTrack(t,n){const r=super.addRemoteTextTrack(t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r}removeRemoteTextTrack(t){if(super.removeRemoteTextTrack(t),this.featuresNativeTextTracks){const n=this.$$("track");let r=n.length;for(;r--;)(t===n[r]||t===n[r].track)&&this.el().removeChild(n[r])}}getVideoPlaybackQuality(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();const t={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),J.performance&&(t.creationTime=J.performance.now()),t}}Ha(Re,"TEST_VID",function(){if(!kr())return;const i=De.createElement("video"),t=De.createElement("track");return t.kind="captions",t.srclang="en",t.label="English",i.appendChild(t),i});Re.isSupported=function(){try{Re.TEST_VID.volume=.5}catch{return!1}return!!(Re.TEST_VID&&Re.TEST_VID.canPlayType)};Re.canPlayType=function(i){return Re.TEST_VID.canPlayType(i)};Re.canPlaySource=function(i,t){return Re.canPlayType(i.type)};Re.canControlVolume=function(){try{const i=Re.TEST_VID.volume;Re.TEST_VID.volume=i/2+.1;const t=i!==Re.TEST_VID.volume;return t&&Ht?(J.setTimeout(()=>{Re&&Re.prototype&&(Re.prototype.featuresVolumeControl=i!==Re.TEST_VID.volume)}),!1):t}catch{return!1}};Re.canMuteVolume=function(){try{const i=Re.TEST_VID.muted;return Re.TEST_VID.muted=!i,Re.TEST_VID.muted?vr(Re.TEST_VID,"muted","muted"):Ka(Re.TEST_VID,"muted","muted"),i!==Re.TEST_VID.muted}catch{return!1}};Re.canControlPlaybackRate=function(){if(Mn&&Kn&&ja<58)return!1;try{const i=Re.TEST_VID.playbackRate;return Re.TEST_VID.playbackRate=i/2+.1,i!==Re.TEST_VID.playbackRate}catch{return!1}};Re.canOverrideAttributes=function(){try{const i=()=>{};Object.defineProperty(De.createElement("video"),"src",{get:i,set:i}),Object.defineProperty(De.createElement("audio"),"src",{get:i,set:i}),Object.defineProperty(De.createElement("video"),"innerHTML",{get:i,set:i}),Object.defineProperty(De.createElement("audio"),"innerHTML",{get:i,set:i})}catch{return!1}return!0};Re.supportsNativeTextTracks=function(){return Qa||Ht&&Kn};Re.supportsNativeVideoTracks=function(){return!!(Re.TEST_VID&&Re.TEST_VID.videoTracks)};Re.supportsNativeAudioTracks=function(){return!!(Re.TEST_VID&&Re.TEST_VID.audioTracks)};Re.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"];[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function([i,t]){Ha(Re.prototype,i,()=>Re[t](),!0)});Re.prototype.featuresVolumeControl=Re.canControlVolume();Re.prototype.movingMediaElementInDOM=!Ht;Re.prototype.featuresFullscreenResize=!0;Re.prototype.featuresProgressEvents=!0;Re.prototype.featuresTimeupdateEvents=!0;Re.prototype.featuresVideoFrameCallback=!!(Re.TEST_VID&&Re.TEST_VID.requestVideoFrameCallback);Re.disposeMediaElement=function(i){if(i){for(i.parentNode&&i.parentNode.removeChild(i);i.hasChildNodes();)i.removeChild(i.firstChild);i.removeAttribute("src"),typeof i.load=="function"&&(function(){try{i.load()}catch{}})()}};Re.resetMediaElement=function(i){if(!i)return;const t=i.querySelectorAll("source");let n=t.length;for(;n--;)i.removeChild(t[n]);i.removeAttribute("src"),typeof i.load=="function"&&(function(){try{i.load()}catch{}})()};["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(i){Re.prototype[i]=function(){return this.el_[i]||this.el_.hasAttribute(i)}});["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(i){Re.prototype["set"+bt(i)]=function(t){this.el_[i]=t,t?this.el_.setAttribute(i,i):this.el_.removeAttribute(i)}});["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(i){Re.prototype[i]=function(){return this.el_[i]}});["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(i){Re.prototype["set"+bt(i)]=function(t){this.el_[i]=t}});["pause","load","play"].forEach(function(i){Re.prototype[i]=function(){return this.el_[i]()}});Ye.withSourceHandlers(Re);Re.nativeSourceHandler={};Re.nativeSourceHandler.canPlayType=function(i){try{return Re.TEST_VID.canPlayType(i)}catch{return""}};Re.nativeSourceHandler.canHandleSource=function(i,t){if(i.type)return Re.nativeSourceHandler.canPlayType(i.type);if(i.src){const n=vu(i.src);return Re.nativeSourceHandler.canPlayType(`video/${n}`)}return""};Re.nativeSourceHandler.handleSource=function(i,t,n){t.setSrc(i.src)};Re.nativeSourceHandler.dispose=function(){};Re.registerSourceHandler(Re.nativeSourceHandler);Ye.registerTech("Html5",Re);const Zf=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],il={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Al=["tiny","xsmall","small","medium","large","xlarge","huge"],la={};Al.forEach(i=>{const t=i.charAt(0)==="x"?`x-${i.substring(1)}`:i;la[i]=`vjs-layout-${t}`});const X4={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class at extends ve{constructor(t,n,r){if(t.id=t.id||n.id||`vjs_video_${_n()}`,n=Object.assign(at.getTagSettings(t),n),n.initChildren=!1,n.createEl=!1,n.evented=!1,n.reportTouchActivity=!1,!n.language){const o=t.closest("[lang]");o&&(n.language=o.getAttribute("lang"))}if(super(null,n,r),this.boundDocumentFullscreenChange_=o=>this.documentFullscreenChange_(o),this.boundFullWindowOnEscKey_=o=>this.fullWindowOnEscKey(o),this.boundUpdateStyleEl_=o=>this.updateStyleEl_(o),this.boundApplyInitTime_=o=>this.applyInitTime_(o),this.boundUpdateCurrentBreakpoint_=o=>this.updateCurrentBreakpoint_(o),this.boundHandleTechClick_=o=>this.handleTechClick_(o),this.boundHandleTechDoubleClick_=o=>this.handleTechDoubleClick_(o),this.boundHandleTechTouchStart_=o=>this.handleTechTouchStart_(o),this.boundHandleTechTouchMove_=o=>this.handleTechTouchMove_(o),this.boundHandleTechTouchEnd_=o=>this.handleTechTouchEnd_(o),this.boundHandleTechTap_=o=>this.handleTechTap_(o),this.boundUpdatePlayerHeightOnAudioOnlyMode_=o=>this.updatePlayerHeightOnAudioOnlyMode_(o),this.isFullscreen_=!1,this.log=Lh(this.id_),this.fsApi_=fa,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={controlBarHeight:null,playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=t,this.tagAttributes=t&&mi(t),this.language(this.options_.language),n.languages){const o={};Object.getOwnPropertyNames(n.languages).forEach(function(l){o[l.toLowerCase()]=n.languages[l]}),this.languages_=o}else this.languages_=at.prototype.options_.languages;this.resetCache_(),this.poster_=n.poster||"",this.controls_=!!n.controls,t.controls=!1,t.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],t.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),n.plugins&&Object.keys(n.plugins).forEach(o=>{if(typeof this[o]!="function")throw new Error(`plugin "${o}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),hu(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(gn(De,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const s=ut(this.options_);if(n.plugins&&Object.keys(n.plugins).forEach(o=>{this[o](n.plugins[o])}),n.debug&&this.debug(!0),this.options_.playerOptions=s,this.middleware_=[],this.playbackRates(n.playbackRates),n.experimentalSvgIcons){const l=new J.DOMParser().parseFromString(m4,"image/svg+xml");if(l.querySelector("parsererror"))$e.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const d=l.documentElement;d.style.display="none",this.el_.appendChild(d),this.addClass("vjs-svg-icons-enabled")}}this.initChildren(),this.isAudio(t.nodeName.toLowerCase()==="audio"),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),n.spatialNavigation&&n.spatialNavigation.enabled&&(this.spatialNavigation=new p4(this),this.addClass("vjs-spatial-navigation-enabled")),fs&&this.addClass("vjs-touch-enabled"),Ht||this.addClass("vjs-workinghover"),at.players[this.id_]=this;const a=pl.split(".")[0];this.addClass(`vjs-v${a}`),this.userActive(!0),this.reportUserActivity(),this.one("play",o=>this.listenForUserActivity_(o)),this.on("keydown",o=>this.handleKeyDown(o)),this.on("languagechange",o=>this.handleLanguagechange(o)),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)})}dispose(){this.trigger("dispose"),this.off("dispose"),jt(De,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),jt(De,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),at.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),c4(this),en.names.forEach(t=>{const n=en[t],r=this[n.getterName]();r&&r.off&&r.off()}),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let t=this.tag,n,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const s=this.tag.tagName.toLowerCase()==="video-js";r?n=this.el_=t.parentNode:s||(n=this.el_=super.createEl("div"));const a=mi(t);if(s){for(n=this.el_=t,t=this.tag=De.createElement("video");n.children.length;)t.appendChild(n.firstChild);ss(n,"video-js")||Li(n,"video-js"),n.appendChild(t),r=this.playerElIngest_=n,Object.keys(n).forEach(u=>{try{t[u]=n[u]}catch{}})}t.setAttribute("tabindex","-1"),a.tabindex="-1",Kn&&Xa&&(t.setAttribute("role","application"),a.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in a&&delete a.width,"height"in a&&delete a.height,Object.getOwnPropertyNames(a).forEach(function(u){s&&u==="class"||n.setAttribute(u,a[u]),s&&t.setAttribute(u,a[u])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused");const o=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(u=>jh[u]).map(u=>"vjs-device-"+u.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...o),J.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=af("vjs-styles-dimensions");const u=bi(".vjs-styles-defaults"),d=bi("head");d.insertBefore(this.styleEl_,u?u.nextSibling:d.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const l=t.getElementsByTagName("a");for(let u=0;u<l.length;u++){const d=l.item(u);Li(d,"vjs-hidden"),d.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),vl(t,n),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=n,n}crossOrigin(t){if(typeof t>"u")return this.techGet_("crossOrigin");if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){$e.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.techCall_("setCrossOrigin",t),this.posterImage&&this.posterImage.crossOrigin(t)}width(t){return this.dimension("width",t)}height(t){return this.dimension("height",t)}dimension(t,n){const r=t+"_";if(n===void 0)return this[r]||0;if(n===""||n==="auto"){this[r]=void 0,this.updateStyleEl_();return}const s=parseFloat(n);if(isNaN(s)){$e.error(`Improper value "${n}" supplied for for ${t}`);return}this[r]=s,this.updateStyleEl_()}fluid(t){if(t===void 0)return!!this.fluid_;this.fluid_=!!t,ai(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),zy(this,()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(t){if(t===void 0)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(t){if(t===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(J.VIDEOJS_NO_DYNAMIC_STYLE===!0){const l=typeof this.width_=="number"?this.width_:this.options_.width,u=typeof this.height_=="number"?this.height_:this.options_.height,d=this.tech_&&this.tech_.el();d&&(l>=0&&(d.width=l),u>=0&&(d.height=u));return}let t,n,r,s;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?r=this.aspectRatio_:this.videoWidth()>0?r=this.videoWidth()+":"+this.videoHeight():r="16:9";const a=r.split(":"),o=a[1]/a[0];this.width_!==void 0?t=this.width_:this.height_!==void 0?t=this.height_/o:t=this.videoWidth()||300,this.height_!==void 0?n=this.height_:n=t*o,/^[^a-zA-Z]/.test(this.id())?s="dimensions-"+this.id():s=this.id()+"-dimensions",this.addClass(s),of(this.styleEl_,`
182
+ .${s} {
183
+ width: ${t}px;
184
+ height: ${n}px;
185
+ }
186
+
187
+ .${s}.vjs-fluid:not(.vjs-audio-only-mode) {
188
+ padding-top: ${o*100}%;
189
+ }
190
+ `)}loadTech_(t,n){this.tech_&&this.unloadTech_();const r=bt(t),s=t.charAt(0).toLowerCase()+t.slice(1);r!=="Html5"&&this.tag&&(Ye.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;let a=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(a=!1);const o={source:n,autoplay:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${s}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};en.names.forEach(u=>{const d=en[u];o[d.getterName]=this[d.privateName]}),Object.assign(o,this.options_[r]),Object.assign(o,this.options_[s]),Object.assign(o,this.options_[t.toLowerCase()]),this.tag&&(o.tag=this.tag),n&&n.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);const l=Ye.getTech(t);if(!l)throw new Error(`No Tech named '${r}' exists! '${r}' should be registered using videojs.registerTech()'`);this.tech_=new l(o),this.tech_.ready(ht(this,this.handleTechReady_),!0),El.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Zf.forEach(u=>{this.on(this.tech_,u,d=>this[`handleTech${bt(u)}_`](d))}),Object.keys(il).forEach(u=>{this.on(this.tech_,u,d=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${il[u]}_`].bind(this),event:d});return}this[`handleTech${il[u]}_`](d)})}),this.on(this.tech_,"loadstart",u=>this.handleTechLoadStart_(u)),this.on(this.tech_,"sourceset",u=>this.handleTechSourceset_(u)),this.on(this.tech_,"waiting",u=>this.handleTechWaiting_(u)),this.on(this.tech_,"ended",u=>this.handleTechEnded_(u)),this.on(this.tech_,"seeking",u=>this.handleTechSeeking_(u)),this.on(this.tech_,"play",u=>this.handleTechPlay_(u)),this.on(this.tech_,"pause",u=>this.handleTechPause_(u)),this.on(this.tech_,"durationchange",u=>this.handleTechDurationChange_(u)),this.on(this.tech_,"fullscreenchange",(u,d)=>this.handleTechFullscreenChange_(u,d)),this.on(this.tech_,"fullscreenerror",(u,d)=>this.handleTechFullscreenError_(u,d)),this.on(this.tech_,"enterpictureinpicture",u=>this.handleTechEnterPictureInPicture_(u)),this.on(this.tech_,"leavepictureinpicture",u=>this.handleTechLeavePictureInPicture_(u)),this.on(this.tech_,"error",u=>this.handleTechError_(u)),this.on(this.tech_,"posterchange",u=>this.handleTechPosterChange_(u)),this.on(this.tech_,"textdata",u=>this.handleTechTextData_(u)),this.on(this.tech_,"ratechange",u=>this.handleTechRateChange_(u)),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(r!=="Html5"||!this.tag)&&vl(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){en.names.forEach(t=>{const n=en[t];this[n.privateName]=this[n.getterName]()}),this.textTracksJson_=El.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(t){return t===void 0&&$e.warn(`Using the tech directly can be dangerous. I hope you know what you're doing.
191
+ See https://github.com/videojs/video.js/issues/2617 for more info.
192
+ `),this.tech_}version(){return{"video.js":pl}}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(t){if(!this.tech_||typeof t!="string")return;const n=()=>{const s=this.muted();this.muted(!0);const a=()=>{this.muted(s)};this.playTerminatedQueue_.push(a);const o=this.play();if(os(o))return o.catch(l=>{throw a(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${l||""}`)})};let r;if(t==="any"&&!this.muted()?(r=this.play(),os(r)&&(r=r.catch(n))):t==="muted"&&!this.muted()?r=n():r=this.play(),!!os(r))return r.then(()=>{this.trigger({type:"autoplay-success",autoplay:t})}).catch(()=>{this.trigger({type:"autoplay-failure",autoplay:t})})}updateSourceCaches_(t=""){let n=t,r="";typeof n!="string"&&(n=t.src,r=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],n&&!r&&(r=f4(this,n)),this.cache_.source=ut({},t,{src:n,type:r});const s=this.cache_.sources.filter(u=>u.src&&u.src===n),a=[],o=this.$$("source"),l=[];for(let u=0;u<o.length;u++){const d=mi(o[u]);a.push(d),d.src&&d.src===n&&l.push(d.src)}l.length&&!s.length?this.cache_.sources=a:s.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=n}handleTechSourceset_(t){if(!this.changingSrc_){let n=a=>this.updateSourceCaches_(a);const r=this.currentSource().src,s=t.src;r&&!/^blob:/.test(r)&&/^blob:/.test(s)&&(!this.lastSource_||this.lastSource_.tech!==s&&this.lastSource_.player!==r)&&(n=()=>{}),n(s),t.src||this.tech_.any(["sourceset","loadstart"],a=>{if(a.type==="sourceset")return;const o=this.techGet_("currentSrc");this.lastSource_.tech=o,this.updateSourceCaches_(o)})}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})}hasStarted(t){if(t===void 0)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(t=>t.callback(t.event)),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const t=this.currentTime(),n=()=>{t!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",n))};this.on("timeupdate",n)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(t){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,t):this.paused()?jn(this.play()):this.pause())}handleTechDoubleClick_(t){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),r=>r.contains(t.target))||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,t):this.isInPictureInPicture()&&!De.pictureInPictureElement?this.exitPictureInPicture():this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(t){t.cancelable&&t.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(t){const n=t.target.player;if(n&&n!==this)return;const r=this.el();let s=De[this.fsApi_.fullscreenElement]===r;!s&&r.matches&&(s=r.matches(":"+this.fsApi_.fullscreen)),this.isFullscreen(s)}handleTechFullscreenChange_(t,n){n&&(n.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",()=>{this.removeClass("vjs-ios-native-fs")})),this.isFullscreen(n.isFullscreen))}handleTechFullscreenError_(t,n){this.trigger("fullscreenerror",n)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(t){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(t){this.isInPictureInPicture(!1)}handleTechError_(){const t=this.tech_.error();t&&this.error(t)}handleTechTextData_(){let t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(t,n){this.ready(function(){if(t in l4)return a4(this.middleware_,this.tech_,t,n);if(t in Nd)return Vd(this.middleware_,this.tech_,t,n);try{this.tech_&&this.tech_[t](n)}catch(r){throw $e(r),r}},!0)}techGet_(t){if(!(!this.tech_||!this.tech_.isReady_)){if(t in o4)return s4(this.middleware_,this.tech_,t);if(t in Nd)return Vd(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(n){throw this.tech_[t]===void 0?($e(`Video.js: ${t} method not defined for ${this.techName_} playback technology.`,n),n):n.name==="TypeError"?($e(`Video.js: ${t} unavailable on ${this.techName_} playback technology element.`,n),this.tech_.isReady_=!1,n):($e(n),n)}}}play(){return new Promise(t=>{this.play_(t)})}play_(t=jn){this.playCallbacks_.push(t);const n=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),r=!!(Qa||Ht);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n){this.waitToPlay_=o=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!n&&r&&this.load();return}const s=this.techGet_("play");r&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),s===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(s)}runPlayTerminatedQueue_(){const t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach(function(n){n()})}runPlayCallbacks_(t){const n=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],n.forEach(function(r){r(t)})}pause(){this.techCall_("pause")}paused(){return this.techGet_("paused")!==!1}played(){return this.techGet_("played")||Ln(0,0)}scrubbing(t){if(typeof t>"u")return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(t){if(t===void 0)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;if(t<0&&(t=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=t,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",t),this.cache_.initTime=0,isFinite(t)&&(this.cache_.currentTime=Number(t))}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(t){if(t===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let t=this.techGet_("buffered");return(!t||!t.length)&&(t=Ln(0,0)),t}seekable(){let t=this.techGet_("seekable");return(!t||!t.length)&&(t=Ln(0,0)),t}seeking(){return this.techGet_("seeking")}ended(){return this.techGet_("ended")}networkState(){return this.techGet_("networkState")}readyState(){return this.techGet_("readyState")}bufferedPercent(){return gf(this.buffered(),this.duration())}bufferedEnd(){const t=this.buffered(),n=this.duration();let r=t.end(t.length-1);return r>n&&(r=n),r}volume(t){let n;if(t!==void 0){n=Math.max(0,Math.min(1,t)),this.cache_.volume=n,this.techCall_("setVolume",n),n>0&&this.lastVolume_(n);return}return n=parseFloat(this.techGet_("volume")),isNaN(n)?1:n}muted(t){if(t!==void 0){this.techCall_("setMuted",t);return}return this.techGet_("muted")||!1}defaultMuted(t){return t!==void 0&&this.techCall_("setDefaultMuted",t),this.techGet_("defaultMuted")||!1}lastVolume_(t){if(t!==void 0&&t!==0){this.cache_.lastVolume=t;return}return this.cache_.lastVolume}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(t){if(t!==void 0){const n=this.isFullscreen_;this.isFullscreen_=!!t,this.isFullscreen_!==n&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_}requestFullscreen(t){this.isInPictureInPicture()&&this.exitPictureInPicture();const n=this;return new Promise((r,s)=>{function a(){n.off("fullscreenerror",l),n.off("fullscreenchange",o)}function o(){a(),r()}function l(d,f){a(),s(f)}n.one("fullscreenchange",o),n.one("fullscreenerror",l);const u=n.requestFullscreenHelper_(t);u&&(u.then(a,a),u.then(r,s))})}requestFullscreenHelper_(t){let n;if(this.fsApi_.prefixed||(n=this.options_.fullscreen&&this.options_.fullscreen.options||{},t!==void 0&&(n=t)),this.fsApi_.requestFullscreen){const r=this.el_[this.fsApi_.requestFullscreen](n);return r&&r.then(()=>this.isFullscreen(!0),()=>this.isFullscreen(!1)),r}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const t=this;return new Promise((n,r)=>{function s(){t.off("fullscreenerror",o),t.off("fullscreenchange",a)}function a(){s(),n()}function o(u,d){s(),r(d)}t.one("fullscreenchange",a),t.one("fullscreenerror",o);const l=t.exitFullscreenHelper_();l&&(l.then(s,s),l.then(n,r))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const t=De[this.fsApi_.exitFullscreen]();return t&&jn(t.then(()=>this.isFullscreen(!1))),t}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=De.documentElement.style.overflow,gn(De,"keydown",this.boundFullWindowOnEscKey_),De.documentElement.style.overflow="hidden",Li(De.body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(t){t.key==="Escape"&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,jt(De,"keydown",this.boundFullWindowOnEscKey_),De.documentElement.style.overflow=this.docOrigOverflow,Ya(De.body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(t){if(t===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(t){if(t!==void 0){this.isInPictureInPicture_=!!t,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&J.documentPictureInPicture){const t=De.createElement(this.el().tagName);return t.classList=this.el().classList,t.classList.add("vjs-pip-container"),this.posterImage&&t.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&t.appendChild(this.titleBar.el().cloneNode(!0)),t.appendChild(Xe("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),J.documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(n=>(nf(n),this.el_.parentNode.insertBefore(t,this.el_),n.document.body.appendChild(this.el_),n.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger({type:"enterpictureinpicture",pipWindow:n}),n.addEventListener("pagehide",r=>{const s=r.target.querySelector(".video-js");t.parentNode.replaceChild(s,t),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")}),n))}return"pictureInPictureEnabled"in De&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(J.documentPictureInPicture&&J.documentPictureInPicture.window)return J.documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in De)return De.exitPictureInPicture()}handleKeyDown(t){const{userActions:n}=this.options_;!n||!n.hotkeys||(s=>{const a=s.tagName.toLowerCase();if(s.isContentEditable)return!0;const o=["button","checkbox","hidden","radio","reset","submit"];return a==="input"?o.indexOf(s.type)===-1:["textarea"].indexOf(a)!==-1})(this.el_.ownerDocument.activeElement)||(typeof n.hotkeys=="function"?n.hotkeys.call(this,t):this.handleHotkeys(t))}handleHotkeys(t){const n=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:r=o=>t.key.toLowerCase()==="f",muteKey:s=o=>t.key.toLowerCase()==="m",playPauseKey:a=o=>t.key.toLowerCase()==="k"||t.key.toLowerCase()===" "}=n;if(r.call(this,t)){t.preventDefault(),t.stopPropagation();const o=ve.getComponent("FullscreenToggle");De[this.fsApi_.fullscreenEnabled]!==!1&&o.prototype.handleClick.call(this,t)}else s.call(this,t)?(t.preventDefault(),t.stopPropagation(),ve.getComponent("MuteToggle").prototype.handleClick.call(this,t)):a.call(this,t)&&(t.preventDefault(),t.stopPropagation(),ve.getComponent("PlayToggle").prototype.handleClick.call(this,t))}canPlayType(t){let n;for(let r=0,s=this.options_.techOrder;r<s.length;r++){const a=s[r];let o=Ye.getTech(a);if(o||(o=ve.getComponent(a)),!o){$e.error(`The "${a}" tech is undefined. Skipped browser support check for that tech.`);continue}if(o.isSupported()&&(n=o.canPlayType(t),n))return n}return""}selectSource(t){const n=this.options_.techOrder.map(l=>[l,Ye.getTech(l)]).filter(([l,u])=>u?u.isSupported():($e.error(`The "${l}" tech is undefined. Skipped browser support check for that tech.`),!1)),r=function(l,u,d){let f;return l.some(p=>u.some(E=>{if(f=d(p,E),f)return!0})),f};let s;const a=l=>(u,d)=>l(d,u),o=([l,u],d)=>{if(u.canPlaySource(d,this.options_[l.toLowerCase()]))return{source:d,tech:l}};return this.options_.sourceOrder?s=r(t,n,a(o)):s=r(n,t,o),s||!1}handleSrc_(t,n){if(typeof t>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const r=kf(t);if(!r.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,n||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),i4(this,r[0],(s,a)=>{if(this.middleware_=a,n||(this.cache_.sources=r),this.updateSourceCaches_(s),this.src_(s)){if(r.length>1)return this.handleSrc_(r.slice(1));this.changingSrc_=!1,this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),this.triggerReady();return}r4(a,this.tech_)}),r.length>1){const s=()=>{this.error(null),this.handleSrc_(r.slice(1),!0)},a=()=>{this.off("error",s)};this.one("error",s),this.one("playing",a),this.resetRetryOnError_=()=>{this.off("error",s),this.off("playing",a)}}}src(t){return this.handleSrc_(t,!1)}src_(t){const n=this.selectSource([t]);return n?hf(n.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(n.tech,n.source),this.tech_.ready(()=>{this.changingSrc_=!1}),!1):!0}addSourceElement(t,n){return this.tech_?this.tech_.addSourceElement(t,n):!1}removeSourceElement(t){return this.tech_?this.tech_.removeSourceElement(t):!1}load(){if(this.tech_&&this.tech_.vhs){this.src(this.currentSource());return}this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{const t=this.play();jn(t.then(()=>this.doReset_()))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),this.error(null),this.titleBar&&this.titleBar.update({title:void 0,description:void 0}),ai(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:t,durationDisplay:n,progressControl:r,remainingTimeDisplay:s}=this.controlBar||{},{seekBar:a}=r||{};t&&t.updateContent(),n&&n.updateContent(),s&&s.updateContent(),a&&(a.update(),a.loadProgressBar&&a.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const t=this.currentSource(),n=[];return Object.keys(t).length!==0&&n.push(t),this.cache_.sources||n}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(t){if(t!==void 0){this.techCall_("setPreload",t),this.options_.preload=t;return}return this.techGet_("preload")}autoplay(t){if(t===void 0)return this.options_.autoplay||!1;let n;typeof t=="string"&&/(any|play|muted)/.test(t)||t===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=t,this.manualAutoplay_(typeof t=="string"?t:"play"),n=!1):t?this.options_.autoplay=!0:this.options_.autoplay=!1,n=typeof n>"u"?this.options_.autoplay:n,this.tech_&&this.techCall_("setAutoplay",n)}playsinline(t){return t!==void 0&&(this.techCall_("setPlaysinline",t),this.options_.playsinline=t),this.techGet_("playsinline")}loop(t){if(t!==void 0){this.techCall_("setLoop",t),this.options_.loop=t;return}return this.techGet_("loop")}poster(t){if(t===void 0)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(t){if(t===void 0)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(t){if(t===void 0)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(t){if(t===void 0)return this.error_||null;if(Ci("beforeerror").forEach(n=>{const r=n(this,t);if(!(Yn(r)&&!Array.isArray(r)||typeof r=="string"||typeof r=="number"||r===null)){this.log.error("please return a value that MediaError expects in beforeerror hooks");return}t=r}),this.options_.suppressNotSupportedError&&t&&t.code===4){const n=function(){this.error(t)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),this.one("loadstart",function(){this.off(["click","touchstart"],n)});return}if(t===null){this.error_=null,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new yt(t),this.addClass("vjs-error"),$e.error(`(CODE:${this.error_.code} ${yt.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),Ci("error").forEach(n=>n(this,this.error_))}reportUserActivity(t){this.userActivity_=!0}userActive(t){if(t===void 0)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(n){n.stopPropagation(),n.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let t,n,r;const s=ht(this,this.reportUserActivity),a=function(p){(p.screenX!==n||p.screenY!==r)&&(n=p.screenX,r=p.screenY,s())},o=function(){s(),this.clearInterval(t),t=this.setInterval(s,250)},l=function(p){s(),this.clearInterval(t)};this.on("mousedown",o),this.on("mousemove",a),this.on("mouseup",l),this.on("mouseleave",l);const u=this.getChild("controlBar");u&&!Ht&&!Mn&&(u.on("mouseenter",function(p){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),u.on("mouseleave",function(p){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",s),this.on("keyup",s);let d;const f=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(d);const p=this.options_.inactivityTimeout;p<=0||(d=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},p))};this.setInterval(f,250)}playbackRate(t){if(t!==void 0){this.techCall_("setPlaybackRate",t);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1}defaultPlaybackRate(t){return t!==void 0?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(t){if(t!==void 0){this.isAudio_=!!t;return}return!!this.isAudio_}updatePlayerHeightOnAudioOnlyMode_(){const t=this.getChild("ControlBar");!t||this.audioOnlyCache_.controlBarHeight===t.currentHeight()||(this.audioOnlyCache_.controlBarHeight=t.currentHeight(),this.height(this.audioOnlyCache_.controlBarHeight))}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const t=this.children(),n=this.getChild("ControlBar"),r=n&&n.currentHeight();t.forEach(s=>{s!==n&&s.el_&&!s.hasClass("vjs-hidden")&&(s.hide(),this.audioOnlyCache_.hiddenChildren.push(s))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.audioOnlyCache_.controlBarHeight=r,this.on("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.height(r),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.off("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.audioOnlyCache_.hiddenChildren.forEach(t=>t.show()),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(t){if(typeof t!="boolean"||t===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=t,t){const n=[];return this.isInPictureInPicture()&&n.push(this.exitPictureInPicture()),this.isFullscreen()&&n.push(this.exitFullscreen()),this.audioPosterMode()&&n.push(this.audioPosterMode(!1)),Promise.all(n).then(()=>this.enableAudioOnlyUI_())}return Promise.resolve().then(()=>this.disableAudioOnlyUI_())}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(t){return typeof t!="boolean"||t===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=t,t?this.audioOnlyMode()?this.audioOnlyMode(!1).then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.disablePosterModeUI_()}))}addTextTrack(t,n,r){if(this.tech_)return this.tech_.addTextTrack(t,n,r)}addRemoteTextTrack(t,n){if(this.tech_)return this.tech_.addRemoteTextTrack(t,n)}removeRemoteTextTrack(t={}){let{track:n}=t;if(n||(n=t),this.tech_)return this.tech_.removeRemoteTextTrack(n)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(t){if(t===void 0)return this.language_;this.language_!==String(t).toLowerCase()&&(this.language_=String(t).toLowerCase(),ai(this)&&this.trigger("languagechange"))}languages(){return ut(at.prototype.options_.languages,this.languages_)}toJSON(){const t=ut(this.options_),n=t.tracks;t.tracks=[];for(let r=0;r<n.length;r++){let s=n[r];s=ut(s),s.player=void 0,t.tracks[r]=s}return t}createModal(t,n){n=n||{},n.content=t||"";const r=new _r(this,n);return this.addChild(r),r.on("dispose",()=>{this.removeChild(r)}),r.open(),r}updateCurrentBreakpoint_(){if(!this.responsive())return;const t=this.currentBreakpoint(),n=this.currentWidth();for(let r=0;r<Al.length;r++){const s=Al[r],a=this.breakpoints_[s];if(n<=a){if(t===s)return;t&&this.removeClass(la[t]),this.addClass(la[s]),this.breakpoint_=s;break}}}removeCurrentBreakpoint_(){const t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)}breakpoints(t){return t===void 0?Object.assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=Object.assign({},X4,t),this.updateCurrentBreakpoint_(),Object.assign(this.breakpoints_))}responsive(t){if(t===void 0)return this.responsive_;t=!!t;const n=this.responsive_;if(t!==n)return this.responsive_=t,t?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return la[this.breakpoint_]||""}loadMedia(t,n){if(!t||typeof t!="object")return;const r=this.crossOrigin();this.reset(),this.cache_.media=ut(t);const{artist:s,artwork:a,description:o,poster:l,src:u,textTracks:d,title:f}=this.cache_.media;!a&&l&&(this.cache_.media.artwork=[{src:l,type:Ea(l)}]),r&&this.crossOrigin(r),u&&this.src(u),l&&this.poster(l),Array.isArray(d)&&d.forEach(p=>this.addRemoteTextTrack(p,!1)),this.titleBar&&this.titleBar.update({title:f,description:o||s||""}),this.ready(n)}getMedia(){if(!this.cache_.media){const t=this.poster(),n=this.currentSources(),r=Array.prototype.map.call(this.remoteTextTracks(),a=>({kind:a.kind,label:a.label,language:a.language,src:a.src})),s={src:n,textTracks:r};return t&&(s.poster=t,s.artwork=[{src:s.poster,type:Ea(s.poster)}]),s}return ut(this.cache_.media)}static getTagSettings(t){const n={sources:[],tracks:[]},r=mi(t),s=r["data-setup"];if(ss(t,"vjs-fill")&&(r.fill=!0),ss(t,"vjs-fluid")&&(r.fluid=!0),s!==null)try{Object.assign(r,JSON.parse(s||"{}"))}catch(a){$e.error("data-setup",a)}if(Object.assign(n,r),t.hasChildNodes()){const a=t.childNodes;for(let o=0,l=a.length;o<l;o++){const u=a[o],d=u.nodeName.toLowerCase();d==="source"?n.sources.push(mi(u)):d==="track"&&n.tracks.push(mi(u))}}return n}debug(t){if(t===void 0)return this.debugEnabled_;t?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(t){if(t===void 0)return this.cache_.playbackRates;Array.isArray(t)&&t.every(n=>typeof n=="number")&&(this.cache_.playbackRates=t,this.trigger("playbackrateschange"))}}at.prototype.videoTracks=()=>{};at.prototype.audioTracks=()=>{};at.prototype.textTracks=()=>{};at.prototype.remoteTextTracks=()=>{};at.prototype.remoteTextTrackEls=()=>{};en.names.forEach(function(i){const t=en[i];at.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}});at.prototype.crossorigin=at.prototype.crossOrigin;at.players={};const Jr=J.navigator;at.prototype.options_={techOrder:Ye.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Jr&&(Jr.languages&&Jr.languages[0]||Jr.userLanguage||Jr.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1,spatialNavigation:{enabled:!1,horizontalSeek:!1},enableSmoothSeeking:!1,disableSeekWhileScrubbingOnMobile:!1,disableSeekWhileScrubbingOnSTV:!1};Zf.forEach(function(i){at.prototype[`handleTech${bt(i)}_`]=function(){return this.trigger(i)}});ve.registerComponent("Player",at);const xa="plugin",rr="activePlugins_",Zi={},_a=i=>Zi.hasOwnProperty(i),ua=i=>_a(i)?Zi[i]:void 0,$f=(i,t)=>{i[rr]=i[rr]||{},i[rr][t]=!0},Aa=(i,t,n)=>{const r=(n?"before":"")+"pluginsetup";i.trigger(r,t),i.trigger(r+":"+t.name,t)},G4=function(i,t){const n=function(){Aa(this,{name:i,plugin:t,instance:null},!0);const r=t.apply(this,arguments);return $f(this,i),Aa(this,{name:i,plugin:t,instance:r}),r};return Object.keys(t).forEach(function(r){n[r]=t[r]}),n},Yd=(i,t)=>(t.prototype.name=i,function(...n){Aa(this,{name:i,plugin:t,instance:null},!0);const r=new t(this,...n);return this[i]=()=>r,Aa(this,r.getEventHash()),r});class cn{constructor(t){if(this.constructor===cn)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),hu(this),delete this.trigger,df(this,this.constructor.defaultState),$f(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(t={}){return t.name=this.name,t.plugin=this.constructor,t.instance=this,t}trigger(t,n={}){return xr(this.eventBusEl_,t,this.getEventHash(n))}handleStateChanged(t){}dispose(){const{name:t,player:n}=this;this.trigger("dispose"),this.off(),n.off("dispose",this.dispose),n[rr][t]=!1,this.player=this.state=null,n[t]=Yd(t,Zi[t])}static isBasic(t){const n=typeof t=="string"?ua(t):t;return typeof n=="function"&&!cn.prototype.isPrototypeOf(n.prototype)}static registerPlugin(t,n){if(typeof t!="string")throw new Error(`Illegal plugin name, "${t}", must be a string, was ${typeof t}.`);if(_a(t))$e.warn(`A plugin named "${t}" already exists. You may want to avoid re-registering plugins!`);else if(at.prototype.hasOwnProperty(t))throw new Error(`Illegal plugin name, "${t}", cannot share a name with an existing player method!`);if(typeof n!="function")throw new Error(`Illegal plugin for "${t}", must be a function, was ${typeof n}.`);return Zi[t]=n,t!==xa&&(cn.isBasic(n)?at.prototype[t]=G4(t,n):at.prototype[t]=Yd(t,n)),n}static deregisterPlugin(t){if(t===xa)throw new Error("Cannot de-register base plugin.");_a(t)&&(delete Zi[t],delete at.prototype[t])}static getPlugins(t=Object.keys(Zi)){let n;return t.forEach(r=>{const s=ua(r);s&&(n=n||{},n[r]=s)}),n}static getPluginVersion(t){const n=ua(t);return n&&n.VERSION||""}}cn.getPlugin=ua;cn.BASE_PLUGIN_NAME=xa;cn.registerPlugin(xa,cn);at.prototype.usingPlugin=function(i){return!!this[rr]&&this[rr][i]===!0};at.prototype.hasPlugin=function(i){return!!_a(i)};function Q4(i,t){let n=!1;return function(...r){return n||$e.warn(i),n=!0,t.apply(this,r)}}function Rn(i,t,n,r){return Q4(`${t} is deprecated and will be removed in ${i}.0; please use ${n} instead.`,r)}var Y4={NetworkBadStatus:"networkbadstatus",NetworkRequestFailed:"networkrequestfailed",NetworkRequestAborted:"networkrequestaborted",NetworkRequestTimeout:"networkrequesttimeout",NetworkBodyParserFailed:"networkbodyparserfailed",StreamingHlsPlaylistParserError:"streaminghlsplaylistparsererror",StreamingDashManifestParserError:"streamingdashmanifestparsererror",StreamingContentSteeringParserError:"streamingcontentsteeringparsererror",StreamingVttParserError:"streamingvttparsererror",StreamingFailedToSelectNextSegment:"streamingfailedtoselectnextsegment",StreamingFailedToDecryptSegment:"streamingfailedtodecryptsegment",StreamingFailedToTransmuxSegment:"streamingfailedtotransmuxsegment",StreamingFailedToAppendSegment:"streamingfailedtoappendsegment",StreamingCodecsChangeError:"streamingcodecschangeerror"};const e1=i=>i.indexOf("#")===0?i.slice(1):i;function ce(i,t,n){let r=ce.getPlayer(i);if(r)return t&&$e.warn(`Player "${i}" is already initialised. Options will not be applied.`),n&&r.ready(n),r;const s=typeof i=="string"?bi("#"+e1(i)):i;if(!Er(s))throw new TypeError("The element or ID supplied is not valid. (videojs)");const o=("getRootNode"in s?s.getRootNode()instanceof J.ShadowRoot:!1)?s.getRootNode():s.ownerDocument.body;(!s.ownerDocument.defaultView||!o.contains(s))&&$e.warn("The element supplied is not included in the DOM"),t=t||{},t.restoreEl===!0&&(t.restoreEl=(s.parentNode&&s.parentNode.hasAttribute&&s.parentNode.hasAttribute("data-vjs-player")?s.parentNode:s).cloneNode(!0)),Ci("beforesetup").forEach(u=>{const d=u(s,ut(t));if(!Yn(d)||Array.isArray(d)){$e.error("please return an object in beforesetup hooks");return}t=ut(t,d)});const l=ve.getComponent("Player");return r=new l(s,t,n),Ci("setup").forEach(u=>u(r)),r}ce.hooks_=ii;ce.hooks=Ci;ce.hook=Sy;ce.hookOnce=Dy;ce.removeHook=Ph;if(J.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&kr()){let i=bi(".vjs-styles-defaults");if(!i){i=af("vjs-styles-defaults");const t=bi("head");t&&t.insertBefore(i,t.firstChild),of(i,`
193
+ .video-js {
194
+ width: 300px;
195
+ height: 150px;
196
+ }
197
+
198
+ .vjs-fluid:not(.vjs-audio-only-mode) {
199
+ padding-top: 56.25%
200
+ }
201
+ `)}}Cl(1,ce);ce.VERSION=pl;ce.options=at.prototype.options_;ce.getPlayers=()=>at.players;ce.getPlayer=i=>{const t=at.players;let n;if(typeof i=="string"){const r=e1(i),s=t[r];if(s)return s;n=bi("#"+r)}else n=i;if(Er(n)){const{player:r,playerId:s}=n;if(r||t[s])return r||t[s]}};ce.getAllPlayers=()=>Object.keys(at.players).map(i=>at.players[i]).filter(Boolean);ce.players=at.players;ce.getComponent=ve.getComponent;ce.registerComponent=(i,t)=>(Ye.isTech(t)&&$e.warn(`The ${i} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),ve.registerComponent.call(ve,i,t));ce.getTech=Ye.getTech;ce.registerTech=Ye.registerTech;ce.use=n4;Object.defineProperty(ce,"middleware",{value:{},writeable:!1,enumerable:!0});Object.defineProperty(ce.middleware,"TERMINATOR",{value:ka,writeable:!1,enumerable:!0});ce.browser=jh;ce.obj=Ny;ce.mergeOptions=Rn(9,"videojs.mergeOptions","videojs.obj.merge",ut);ce.defineLazyProperty=Rn(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",Ha);ce.bind=Rn(9,"videojs.bind","native Function.prototype.bind",ht);ce.registerPlugin=cn.registerPlugin;ce.deregisterPlugin=cn.deregisterPlugin;ce.plugin=(i,t)=>($e.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),cn.registerPlugin(i,t));ce.getPlugins=cn.getPlugins;ce.getPlugin=cn.getPlugin;ce.getPluginVersion=cn.getPluginVersion;ce.addLanguage=function(i,t){return i=(""+i).toLowerCase(),ce.options.languages=ut(ce.options.languages,{[i]:t}),ce.options.languages[i]};ce.log=$e;ce.createLogger=Lh;ce.time=Qy;ce.createTimeRange=Rn(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Ln);ce.createTimeRanges=Rn(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Ln);ce.formatTime=Rn(9,"videojs.formatTime","videojs.time.formatTime",Ui);ce.setFormatTime=Rn(9,"videojs.setFormatTime","videojs.time.setFormatTime",mf);ce.resetFormatTime=Rn(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",pf);ce.parseUrl=Rn(9,"videojs.parseUrl","videojs.url.parseUrl",gu);ce.isCrossOrigin=Rn(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",to);ce.EventTarget=vn;ce.any=du;ce.on=gn;ce.one=$a;ce.off=jt;ce.trigger=xr;ce.xhr=bh;ce.TrackList=zi;ce.TextTrack=ys;ce.TextTrackList=mu;ce.AudioTrack=bf;ce.AudioTrackList=vf;ce.VideoTrack=Tf;ce.VideoTrackList=yf;["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(i=>{ce[i]=function(){return $e.warn(`videojs.${i}() is deprecated; use videojs.dom.${i}() instead`),rf[i].apply(null,arguments)}});ce.computedStyle=Rn(9,"videojs.computedStyle","videojs.dom.computedStyle",Cr);ce.dom=rf;ce.fn=Uy;ce.num=E4;ce.str=Xy;ce.url=e4;ce.Error=Y4;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class K4{constructor(t){let n=this;return n.id=t.id,n.label=n.id,n.width=t.width,n.height=t.height,n.bitrate=t.bandwidth,n.frameRate=t.frameRate,n.enabled_=t.enabled,Object.defineProperty(n,"enabled",{get(){return n.enabled_()},set(r){n.enabled_(r)}}),n}}class wa extends ce.EventTarget{constructor(){super();let t=this;return t.levels_=[],t.selectedIndex_=-1,Object.defineProperty(t,"selectedIndex",{get(){return t.selectedIndex_}}),Object.defineProperty(t,"length",{get(){return t.levels_.length}}),t[Symbol.iterator]=()=>t.levels_.values(),t}addQualityLevel(t){let n=this.getQualityLevelById(t.id);if(n)return n;const r=this.levels_.length;return n=new K4(t),""+r in this||Object.defineProperty(this,r,{get(){return this.levels_[r]}}),this.levels_.push(n),this.trigger({qualityLevel:n,type:"addqualitylevel"}),n}removeQualityLevel(t){let n=null;for(let r=0,s=this.length;r<s;r++)if(this[r]===t){n=this.levels_.splice(r,1)[0],this.selectedIndex_===r?this.selectedIndex_=-1:this.selectedIndex_>r&&this.selectedIndex_--;break}return n&&this.trigger({qualityLevel:t,type:"removequalitylevel"}),n}getQualityLevelById(t){for(let n=0,r=this.length;n<r;n++){const s=this[n];if(s.id===t)return s}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}wa.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const i in wa.prototype.allowedEvents_)wa.prototype["on"+i]=null;var t1="4.1.0";const W4=function(i,t){const n=i.qualityLevels,r=new wa,s=function(){r.dispose(),i.qualityLevels=n,i.off("dispose",s)};return i.on("dispose",s),i.qualityLevels=()=>r,i.qualityLevels.VERSION=t1,r},n1=function(i){return W4(this,ce.obj.merge({},i))};ce.registerPlugin("qualityLevels",n1);n1.VERSION=t1;/*! @name @videojs/http-streaming @version 3.17.3 @license Apache-2.0 */const on=qa,Sa=(i,t)=>t&&t.responseURL&&i!==t.responseURL?t.responseURL:i,Sn=i=>ce.log.debug?ce.log.debug.bind(ce,"VHS:",`${i} >`):function(){};function ot(...i){const t=ce.obj||ce;return(t.merge||t.mergeOptions).apply(t,i)}function Lt(...i){const t=ce.time||ce;return(t.createTimeRanges||t.createTimeRanges).apply(t,i)}function J4(i){if(i.length===0)return"Buffered Ranges are empty";let t=`Buffered Ranges:
202
+ `;for(let n=0;n<i.length;n++){const r=i.start(n),s=i.end(n);t+=`${r} --> ${s}. Duration (${s-r})
203
+ `}return t}const Xn=1/30,Gn=Xn*3,i1=function(i,t){const n=[];let r;if(i&&i.length)for(r=0;r<i.length;r++)t(i.start(r),i.end(r))&&n.push([i.start(r),i.end(r)]);return Lt(n)},$i=function(i,t){return i1(i,function(n,r){return n-Gn<=t&&r+Gn>=t})},Ws=function(i,t){return i1(i,function(n){return n-Xn>=t})},Z4=function(i){if(i.length<2)return Lt();const t=[];for(let n=1;n<i.length;n++){const r=i.end(n-1),s=i.start(n);t.push([r,s])}return Lt(t)},$4=function(i,t){let n=null,r=null,s=0;const a=[],o=[];if(!i||!i.length||!t||!t.length)return Lt();let l=i.length;for(;l--;)a.push({time:i.start(l),type:"start"}),a.push({time:i.end(l),type:"end"});for(l=t.length;l--;)a.push({time:t.start(l),type:"start"}),a.push({time:t.end(l),type:"end"});for(a.sort(function(u,d){return u.time-d.time}),l=0;l<a.length;l++)a[l].type==="start"?(s++,s===2&&(n=a[l].time)):a[l].type==="end"&&(s--,s===1&&(r=a[l].time)),n!==null&&r!==null&&(o.push([n,r]),n=null,r=null);return Lt(o)},r1=i=>{const t=[];if(!i||!i.length)return"";for(let n=0;n<i.length;n++)t.push(i.start(n)+" => "+i.end(n));return t.join(", ")},e8=function(i,t,n=1){return((i.length?i.end(i.length-1):0)-t)/n},Ii=i=>{const t=[];for(let n=0;n<i.length;n++)t.push({start:i.start(n),end:i.end(n)});return t},t8=function(i,t){if(i===t)return!1;if(!i&&t||!t&&i||i.length!==t.length)return!0;for(let n=0;n<i.length;n++)if(i.start(n)!==t.start(n)||i.end(n)!==t.end(n))return!0;return!1},rl=function(i){if(!(!i||!i.length||!i.end))return i.end(i.length-1)},Iu=function(i,t){let n=0;if(!i||!i.length)return n;for(let r=0;r<i.length;r++){const s=i.start(r),a=i.end(r);if(!(t>a)){if(t>s&&t<=a){n+=a-t;continue}n+=a-s}}return n},Ou=(i,t)=>{if(!t.preload)return t.duration;let n=0;return(t.parts||[]).forEach(function(r){n+=r.duration}),(t.preloadHints||[]).forEach(function(r){r.type==="PART"&&(n+=i.partTargetDuration)}),n},wl=i=>(i.segments||[]).reduce((t,n,r)=>(n.parts?n.parts.forEach(function(s,a){t.push({duration:s.duration,segmentIndex:r,partIndex:a,part:s,segment:n})}):t.push({duration:n.duration,segmentIndex:r,partIndex:null,segment:n,part:null}),t),[]),s1=i=>{const t=i.segments&&i.segments.length&&i.segments[i.segments.length-1];return t&&t.parts||[]},a1=({preloadSegment:i})=>{if(!i)return;const{parts:t,preloadHints:n}=i;let r=(n||[]).reduce((s,a)=>s+(a.type==="PART"?1:0),0);return r+=t&&t.length?t.length:0,r},o1=(i,t)=>{if(t.endList)return 0;if(i&&i.suggestedPresentationDelay)return i.suggestedPresentationDelay;const n=s1(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?t.partTargetDuration*3:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?t.targetDuration*3:0},n8=function(i,t){let n=0,r=t-i.mediaSequence,s=i.segments[r];if(s){if(typeof s.start<"u")return{result:s.start,precise:!0};if(typeof s.end<"u")return{result:s.end-s.duration,precise:!0}}for(;r--;){if(s=i.segments[r],typeof s.end<"u")return{result:n+s.end,precise:!0};if(n+=Ou(i,s),typeof s.start<"u")return{result:n+s.start,precise:!0}}return{result:n,precise:!1}},i8=function(i,t){let n=0,r,s=t-i.mediaSequence;for(;s<i.segments.length;s++){if(r=i.segments[s],typeof r.start<"u")return{result:r.start-n,precise:!0};if(n+=Ou(i,r),typeof r.end<"u")return{result:r.end-n,precise:!0}}return{result:-1,precise:!1}},l1=function(i,t,n){if(typeof t>"u"&&(t=i.mediaSequence+i.segments.length),t<i.mediaSequence)return 0;const r=n8(i,t);if(r.precise)return r.result;const s=i8(i,t);return s.precise?s.result:r.result+n},u1=function(i,t,n){if(!i)return 0;if(typeof n!="number"&&(n=0),typeof t>"u"){if(i.totalDuration)return i.totalDuration;if(!i.endList)return J.Infinity}return l1(i,t,n)},ls=function({defaultDuration:i,durationList:t,startIndex:n,endIndex:r}){let s=0;if(n>r&&([n,r]=[r,n]),n<0){for(let a=n;a<Math.min(0,r);a++)s+=i;n=0}for(let a=n;a<r;a++)s+=t[a].duration;return s},c1=function(i,t,n,r){if(!i||!i.segments)return null;if(i.endList)return u1(i);if(t===null)return null;t=t||0;let s=l1(i,i.mediaSequence+i.segments.length,t);return n&&(r=typeof r=="number"?r:o1(null,i),s-=r),Math.max(0,s)},r8=function(i,t,n){const s=t||0;let a=c1(i,t,!0,n);return a===null?Lt():(a<s&&(a=s),Lt(s,a))},s8=function({playlist:i,currentTime:t,startingSegmentIndex:n,startingPartIndex:r,startTime:s,exactManifestTimings:a}){let o=t-s;const l=wl(i);let u=0;for(let d=0;d<l.length;d++){const f=l[d];if(n===f.segmentIndex&&!(typeof r=="number"&&typeof f.partIndex=="number"&&r!==f.partIndex)){u=d;break}}if(o<0){if(u>0)for(let d=u-1;d>=0;d--){const f=l[d];if(o+=f.duration,a){if(o<0)continue}else if(o+Xn<=0)continue;return{partIndex:f.partIndex,segmentIndex:f.segmentIndex,startTime:s-ls({defaultDuration:i.targetDuration,durationList:l,startIndex:u,endIndex:d})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:t}}if(u<0){for(let d=u;d<0;d++)if(o-=i.targetDuration,o<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:t};u=0}for(let d=u;d<l.length;d++){const f=l[d];o-=f.duration;const p=f.duration>Xn,E=o===0,C=p&&o+Xn>=0;if(!((E||C)&&d!==l.length-1)){if(a){if(o>0)continue}else if(o-Xn>=0)continue;return{partIndex:f.partIndex,segmentIndex:f.segmentIndex,startTime:s+ls({defaultDuration:i.targetDuration,durationList:l,startIndex:u,endIndex:d})}}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:t}},d1=function(i){return i.excludeUntil&&i.excludeUntil>Date.now()},Pu=function(i){return i.excludeUntil&&i.excludeUntil===1/0},so=function(i){const t=d1(i);return!i.disabled&&!t},a8=function(i){return i.disabled},o8=function(i){for(let t=0;t<i.segments.length;t++)if(i.segments[t].key)return!0;return!1},h1=function(i,t){return t.attributes&&t.attributes[i]},l8=function(i,t,n,r=0){return h1("BANDWIDTH",n)?(i*n.attributes.BANDWIDTH-r*8)/t:NaN},Sl=(i,t)=>{if(i.playlists.length===1)return!0;const n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return i.playlists.filter(r=>so(r)?(r.attributes.BANDWIDTH||0)<n:!1).length===0},Lu=(i,t)=>!i&&!t||!i&&t||i&&!t?!1:!!(i===t||i.id&&t.id&&i.id===t.id||i.resolvedUri&&t.resolvedUri&&i.resolvedUri===t.resolvedUri||i.uri&&t.uri&&i.uri===t.uri),Kd=function(i,t){const n=i&&i.mediaGroups&&i.mediaGroups.AUDIO||{};let r=!1;for(const s in n){for(const a in n[s])if(r=t(n[s][a]),r)break;if(r)break}return!!r},ks=i=>{if(!i||!i.playlists||!i.playlists.length)return Kd(i,n=>n.playlists&&n.playlists.length||n.uri);for(let t=0;t<i.playlists.length;t++){const n=i.playlists[t],r=n.attributes&&n.attributes.CODECS;if(!(r&&r.split(",").every(a=>Eh(a))||Kd(i,a=>Lu(n,a))))return!1}return!0};var un={liveEdgeDelay:o1,duration:u1,seekable:r8,getMediaInfoForTime:s8,isEnabled:so,isDisabled:a8,isExcluded:d1,isIncompatible:Pu,playlistEnd:c1,isAes:o8,hasAttribute:h1,estimateSegmentRequestTime:l8,isLowestEnabledRendition:Sl,isAudioOnly:ks,playlistMatch:Lu,segmentDurationWithParts:Ou};const{log:f1}=ce,sr=(i,t)=>`${i}-${t}`,m1=(i,t,n)=>`placeholder-uri-${i}-${t}-${n}`,u8=({onwarn:i,oninfo:t,manifestString:n,customTagParsers:r=[],customTagMappers:s=[],llhls:a})=>{const o=new Wv;i&&o.on("warn",i),t&&o.on("info",t),r.forEach(d=>o.addParser(d)),s.forEach(d=>o.addTagMapper(d)),o.push(n),o.end();const l=o.manifest;if(a||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),l.segments&&l.segments.forEach(function(d){["parts","preloadHints"].forEach(function(f){d.hasOwnProperty(f)&&delete d[f]})})),!l.targetDuration){let d=10;l.segments&&l.segments.length&&(d=l.segments.reduce((f,p)=>Math.max(f,p.duration),0)),i&&i({message:`manifest has no targetDuration defaulting to ${d}`}),l.targetDuration=d}const u=s1(l);if(u.length&&!l.partTargetDuration){const d=u.reduce((f,p)=>Math.max(f,p.duration),0);i&&(i({message:`manifest has no partTargetDuration defaulting to ${d}`}),f1.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),l.partTargetDuration=d}return l},Sr=(i,t)=>{i.mediaGroups&&["AUDIO","SUBTITLES"].forEach(n=>{if(i.mediaGroups[n])for(const r in i.mediaGroups[n])for(const s in i.mediaGroups[n][r]){const a=i.mediaGroups[n][r][s];t(a,n,r,s)}})},p1=({playlist:i,uri:t,id:n})=>{i.id=n,i.playlistErrors_=0,t&&(i.uri=t),i.attributes=i.attributes||{}},c8=i=>{let t=i.playlists.length;for(;t--;){const n=i.playlists[t];p1({playlist:n,id:sr(t,n.uri)}),n.resolvedUri=on(i.uri,n.uri),i.playlists[n.id]=n,i.playlists[n.uri]=n,n.attributes.BANDWIDTH||f1.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},d8=i=>{Sr(i,t=>{t.uri&&(t.resolvedUri=on(i.uri,t.uri))})},h8=(i,t)=>{const n=sr(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:J.location.href,resolvedUri:J.location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r},g1=(i,t,n=m1)=>{i.uri=t;for(let s=0;s<i.playlists.length;s++)if(!i.playlists[s].uri){const a=`placeholder-uri-${s}`;i.playlists[s].uri=a}const r=ks(i);Sr(i,(s,a,o,l)=>{if(!s.playlists||!s.playlists.length){if(r&&a==="AUDIO"&&!s.uri)for(let u=0;u<i.playlists.length;u++){const d=i.playlists[u];if(d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===o)return}s.playlists=[Et({},s)]}s.playlists.forEach(function(u,d){const f=n(a,o,l,u),p=sr(d,f);u.uri?u.resolvedUri=u.resolvedUri||on(i.uri,u.uri):(u.uri=d===0?f:p,u.resolvedUri=u.uri),u.id=u.id||p,u.attributes=u.attributes||{},i.playlists[u.id]=u,i.playlists[u.uri]=u})}),c8(i),d8(i)};class Wd{constructor(){this.offset_=null,this.pendingDateRanges_=new Map,this.processedDateRanges_=new Map}setOffset(t=[]){if(this.offset_!==null||!t.length)return;const[n]=t;n.programDateTime!==void 0&&(this.offset_=n.programDateTime/1e3)}setPendingDateRanges(t=[]){if(!t.length)return;const[n]=t,r=n.startDate.getTime();this.trimProcessedDateRanges_(r),this.pendingDateRanges_=t.reduce((s,a)=>(s.set(a.id,a),s),new Map)}processDateRange(t){this.pendingDateRanges_.delete(t.id),this.processedDateRanges_.set(t.id,t)}getDateRangesToProcess(){if(this.offset_===null)return[];const t={},n=[];this.pendingDateRanges_.forEach((r,s)=>{if(!this.processedDateRanges_.has(s)&&(r.startTime=r.startDate.getTime()/1e3-this.offset_,r.processDateRange=()=>this.processDateRange(r),n.push(r),!!r.class))if(t[r.class]){const a=t[r.class].push(r);r.classListIndex=a-1}else t[r.class]=[r],r.classListIndex=0});for(const r of n){const s=t[r.class]||[];r.endDate?r.endTime=r.endDate.getTime()/1e3-this.offset_:r.endOnNext&&s[r.classListIndex+1]?r.endTime=s[r.classListIndex+1].startTime:r.duration?r.endTime=r.startTime+r.duration:r.plannedDuration?r.endTime=r.startTime+r.plannedDuration:r.endTime=r.startTime}return n}trimProcessedDateRanges_(t){new Map(this.processedDateRanges_).forEach((r,s)=>{r.startDate.getTime()<t&&this.processedDateRanges_.delete(s)})}}const v1=22,qi=({requestType:i,request:t,error:n,parseFailure:r})=>{const s=t.status<200||t.status>299,a=t.status>=400&&t.status<=499,o={uri:t.uri,requestType:i},l=s&&!a||r;if(n&&a)o.error=Et({},n),o.errorType=ce.Error.NetworkRequestFailed;else if(t.aborted)o.errorType=ce.Error.NetworkRequestAborted;else if(t.timedout)o.errorType=ce.Error.NetworkRequestTimeout;else if(l){const u=r?ce.Error.NetworkBodyParserFailed:ce.Error.NetworkBadStatus;o.errorType=u,o.status=t.status,o.headers=t.headers}return o},f8=Sn("CodecUtils"),y1=function(i){const t=i.attributes||{};if(t.CODECS)return zn(t.CODECS)},C1=(i,t)=>{const n=t.attributes||{};return i&&i.mediaGroups&&i.mediaGroups.AUDIO&&n.AUDIO&&i.mediaGroups.AUDIO[n.AUDIO]},m8=(i,t)=>{if(!C1(i,t))return!0;const n=t.attributes||{},r=i.mediaGroups.AUDIO[n.AUDIO];for(const s in r)if(!r[s].uri&&!r[s].playlists)return!0;return!1},gs=function(i){const t={};return i.forEach(({mediaType:n,type:r,details:s})=>{t[n]=t[n]||[],t[n].push(kh(`${r}${s}`))}),Object.keys(t).forEach(function(n){if(t[n].length>1){f8(`multiple ${n} codecs found as attributes: ${t[n].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),t[n]=null;return}t[n]=t[n][0]}),t},Jd=function(i){let t=0;return i.audio&&t++,i.video&&t++,t},us=function(i,t){const n=t.attributes||{},r=gs(y1(t)||[]);if(C1(i,t)&&!r.audio&&!m8(i,t)){const s=gs(Zv(i,n.AUDIO)||[]);s.audio&&(r.audio=s.audio)}return r},{EventTarget:p8}=ce,g8=(i,t)=>{if(t.endList||!t.serverControl)return i;const n={};if(t.serverControl.canBlockReload){const{preloadSegment:r}=t;let s=t.mediaSequence+t.segments.length;if(r){const a=r.parts||[],o=a1(t)-1;o>-1&&o!==a.length-1&&(n._HLS_part=o),(o>-1||a.length)&&s--}n._HLS_msn=s}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){const r=new J.URL(i);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(s){n.hasOwnProperty(s)&&r.searchParams.set(s,n[s])}),i=r.toString()}return i},v8=(i,t)=>{if(!i)return t;const n=ot(i,t);if(i.preloadHints&&!t.preloadHints&&delete n.preloadHints,i.parts&&!t.parts)delete n.parts;else if(i.parts&&t.parts)for(let r=0;r<t.parts.length;r++)i.parts&&i.parts[r]&&(n.parts[r]=ot(i.parts[r],t.parts[r]));return!i.skipped&&t.skipped&&(n.skipped=!1),i.preload&&!t.preload&&(n.preload=!1),n},y8=(i,t,n)=>{const r=i.slice(),s=t.slice();n=n||0;const a=[];let o;for(let l=0;l<s.length;l++){const u=r[l+n],d=s[l];u?(o=u.map||o,a.push(v8(u,d))):(o&&!d.map&&(d.map=o),a.push(d))}return a},b1=(i,t)=>{!i.resolvedUri&&i.uri&&(i.resolvedUri=on(t,i.uri)),i.key&&!i.key.resolvedUri&&(i.key.resolvedUri=on(t,i.key.uri)),i.map&&!i.map.resolvedUri&&(i.map.resolvedUri=on(t,i.map.uri)),i.map&&i.map.key&&!i.map.key.resolvedUri&&(i.map.key.resolvedUri=on(t,i.map.key.uri)),i.parts&&i.parts.length&&i.parts.forEach(n=>{n.resolvedUri||(n.resolvedUri=on(t,n.uri))}),i.preloadHints&&i.preloadHints.length&&i.preloadHints.forEach(n=>{n.resolvedUri||(n.resolvedUri=on(t,n.uri))})},T1=function(i){const t=i.segments||[],n=i.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints){for(let r=0;r<n.preloadHints.length;r++)if(n.preloadHints[r].type==="MAP")return t}n.duration=i.targetDuration,n.preload=!0,t.push(n)}return t},k1=(i,t)=>i===t||i.segments&&t.segments&&i.segments.length===t.segments.length&&i.endList===t.endList&&i.mediaSequence===t.mediaSequence&&i.preloadSegment===t.preloadSegment,Dl=(i,t,n=k1)=>{const r=ot(i,{}),s=r.playlists[t.id];if(!s||n(s,t))return null;t.segments=T1(t);const a=ot(s,t);if(a.preloadSegment&&!t.preloadSegment&&delete a.preloadSegment,s.segments){if(t.skip){t.segments=t.segments||[];for(let o=0;o<t.skip.skippedSegments;o++)t.segments.unshift({skipped:!0})}a.segments=y8(s.segments,t.segments,t.mediaSequence-s.mediaSequence)}a.segments.forEach(o=>{b1(o,a.resolvedUri)});for(let o=0;o<r.playlists.length;o++)r.playlists[o].id===t.id&&(r.playlists[o]=a);return r.playlists[t.id]=a,r.playlists[t.uri]=a,Sr(i,(o,l,u,d)=>{if(o.playlists)for(let f=0;f<o.playlists.length;f++)t.id===o.playlists[f].id&&(o.playlists[f]=a)}),r},Bl=(i,t)=>{const n=i.segments||[],r=n[n.length-1],s=r&&r.parts&&r.parts[r.parts.length-1],a=s&&s.duration||r&&r.duration;return t&&a?a*1e3:(i.partTargetDuration||i.targetDuration||10)*500},Zd=(i,t,n)=>{if(!i)return;const r=[];return i.forEach(s=>{if(!s.attributes)return;const{BANDWIDTH:a,RESOLUTION:o,CODECS:l}=s.attributes;r.push({id:s.id,bandwidth:a,resolution:o,codecs:l})}),{type:t,isLive:n,renditions:r}};class er extends p8{constructor(t,n,r={}){if(super(),!t)throw new Error("A non-empty playlist URL or object is required");this.logger_=Sn("PlaylistLoader");const{withCredentials:s=!1}=r;this.src=t,this.vhs_=n,this.withCredentials=s,this.addDateRangesToTextTrack_=r.addDateRangesToTextTrack;const a=n.options_;this.customTagParsers=a&&a.customTagParsers||[],this.customTagMappers=a&&a.customTagMappers||[],this.llhls=a&&a.llhls,this.dateRangesStorage_=new Wd,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_),this.on("loadedplaylist",this.handleLoadedPlaylist_.bind(this))}handleLoadedPlaylist_(){const t=this.media();if(!t)return;this.dateRangesStorage_.setOffset(t.segments),this.dateRangesStorage_.setPendingDateRanges(t.dateRanges);const n=this.dateRangesStorage_.getDateRangesToProcess();!n.length||!this.addDateRangesToTextTrack_||this.addDateRangesToTextTrack_(n)}handleMediaupdatetimeout_(){if(this.state!=="HAVE_METADATA")return;const t=this.media();let n=on(this.main.uri,t.uri);this.llhls&&(n=g8(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials,requestType:"hls-playlist"},(r,s)=>{if(this.request){if(r)return this.playlistRequestError(this.request,this.media(),"HAVE_METADATA");this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}})}playlistRequestError(t,n,r){const{uri:s,id:a}=n;this.request=null,r&&(this.state=r),this.error={playlist:this.main.playlists[a],status:t.status,message:`HLS playlist request error at URL: ${s}.`,responseText:t.responseText,code:t.status>=500?4:2,metadata:qi({requestType:t.requestType,request:t,error:t.error})},this.trigger("error")}parseManifest_({url:t,manifestString:n}){try{const r=u8({onwarn:({message:s})=>this.logger_(`m3u8-parser warn for ${t}: ${s}`),oninfo:({message:s})=>this.logger_(`m3u8-parser info for ${t}: ${s}`),manifestString:n,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls});return!r.playlists||!r.playlists.length||this.excludeAudioOnlyVariants(r.playlists),r}catch(r){this.error=r,this.error.metadata={errorType:ce.Error.StreamingHlsPlaylistParserError,error:r}}}excludeAudioOnlyVariants(t){const n=r=>{const s=r.attributes||{},{width:a,height:o}=s.RESOLUTION||{};if(a&&o)return!0;const l=y1(r)||[];return!!gs(l).video};t.some(n)&&t.forEach(r=>{n(r)||(r.excludeUntil=1/0)})}haveMetadata({playlistString:t,playlistObject:n,url:r,id:s}){this.request=null,this.state="HAVE_METADATA";const a={playlistInfo:{type:"media",uri:r}};this.trigger({type:"playlistparsestart",metadata:a});const o=n||this.parseManifest_({url:r,manifestString:t});o.lastRequest=Date.now(),p1({playlist:o,uri:r,id:s});const l=Dl(this.main,o);this.targetDuration=o.partTargetDuration||o.targetDuration,this.pendingMedia_=null,l?(this.main=l,this.media_=this.main.playlists[s]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Bl(this.media(),!!l)),a.parsedPlaylist=Zd(this.main.playlists,a.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:a}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),J.clearTimeout(this.mediaUpdateTimeout),J.clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new Wd,this.off()}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t,n){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof t=="string"){if(!this.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.main.playlists[t]}if(J.clearTimeout(this.finalRenditionTimeout),n){const l=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=J.setTimeout(this.media.bind(this,t,!1),l);return}const r=this.state,s=!this.media_||t.id!==this.media_.id,a=this.main.playlists[t.id];if(a&&a.endList||t.endList&&t.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,s&&(this.trigger("mediachanging"),r==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(Bl(t,!0)),!s)return;if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=t;const o={playlistInfo:{type:"media",uri:t.uri}};this.trigger({type:"playlistrequeststart",metadata:o}),this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(l,u)=>{if(this.request){if(t.lastRequest=Date.now(),t.resolvedUri=Sa(t.resolvedUri,u),l)return this.playlistRequestError(this.request,t,r);this.trigger({type:"playlistrequestcomplete",metadata:o}),this.haveMetadata({playlistString:u.responseText,url:t.uri,id:t.id}),r==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")}load(t){this.mediaUpdateTimeout&&(J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const n=this.media();if(t){const r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=J.setTimeout(()=>{this.mediaUpdateTimeout=null,this.load()},r);return}if(!this.started){this.start();return}n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")}updateMediaUpdateTimeout_(t){this.mediaUpdateTimeout&&(J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=J.setTimeout(()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(t)},t))}start(){if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=J.location.href),this.src.resolvedUri=this.src.uri,setTimeout(()=>{this.setupInitialPlaylist(this.src)},0);return}const t={playlistInfo:{type:"multivariant",uri:this.src}};this.trigger({type:"playlistrequeststart",metadata:t}),this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials,requestType:"hls-playlist"},(n,r)=>{if(!this.request)return;if(this.request=null,n)return this.error={status:r.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:r.responseText,code:2,metadata:qi({requestType:r.requestType,request:r,error:n})},this.state==="HAVE_NOTHING"&&(this.started=!1),this.trigger("error");this.trigger({type:"playlistrequestcomplete",metadata:t}),this.src=Sa(this.src,r),this.trigger({type:"playlistparsestart",metadata:t});const s=this.parseManifest_({manifestString:r.responseText,url:this.src});t.parsedPlaylist=Zd(s.playlists,t.playlistInfo.type,!1),this.trigger({type:"playlistparsecomplete",metadata:t}),this.setupInitialPlaylist(s)})}srcUri(){return typeof this.src=="string"?this.src:this.src.uri}setupInitialPlaylist(t){if(this.state="HAVE_MAIN_MANIFEST",t.playlists){this.main=t,g1(this.main,this.srcUri()),t.playlists.forEach(r=>{r.segments=T1(r),r.segments.forEach(s=>{b1(s,r.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const n=this.srcUri()||J.location.href;this.main=h8(t,n),this.haveMetadata({playlistObject:t,url:n,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}updateOrDeleteClone(t,n){const r=this.main,s=t.ID;let a=r.playlists.length;for(;a--;){const o=r.playlists[a];if(o.attributes["PATHWAY-ID"]===s){const l=o.resolvedUri,u=o.id;if(n){const d=this.createCloneURI_(o.resolvedUri,t),f=sr(s,d),p=this.createCloneAttributes_(s,o.attributes),E=this.createClonePlaylist_(o,f,t,p);r.playlists[a]=E,r.playlists[f]=E,r.playlists[d]=E}else r.playlists.splice(a,1);delete r.playlists[u],delete r.playlists[l]}}this.updateOrDeleteCloneMedia(t,n)}updateOrDeleteCloneMedia(t,n){const r=this.main,s=t.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(a=>{if(!(!r.mediaGroups[a]||!r.mediaGroups[a][s])){for(const o in r.mediaGroups[a])if(o===s){for(const l in r.mediaGroups[a][o])r.mediaGroups[a][o][l].playlists.forEach((d,f)=>{const p=r.playlists[d.id],E=p.id,C=p.resolvedUri;delete r.playlists[E],delete r.playlists[C]});delete r.mediaGroups[a][o]}}}),n&&this.createClonedMediaGroups_(t)}addClonePathway(t,n={}){const r=this.main,s=r.playlists.length,a=this.createCloneURI_(n.resolvedUri,t),o=sr(t.ID,a),l=this.createCloneAttributes_(t.ID,n.attributes),u=this.createClonePlaylist_(n,o,t,l);r.playlists[s]=u,r.playlists[o]=u,r.playlists[a]=u,this.createClonedMediaGroups_(t)}createClonedMediaGroups_(t){const n=t.ID,r=t["BASE-ID"],s=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(a=>{if(!(!s.mediaGroups[a]||s.mediaGroups[a][n]))for(const o in s.mediaGroups[a]){if(o===r)s.mediaGroups[a][n]={};else continue;for(const l in s.mediaGroups[a][o]){const u=s.mediaGroups[a][o][l];s.mediaGroups[a][n][l]=Et({},u);const d=s.mediaGroups[a][n][l],f=this.createCloneURI_(u.resolvedUri,t);d.resolvedUri=f,d.uri=f,d.playlists=[],u.playlists.forEach((p,E)=>{const C=s.playlists[p.id],x=m1(a,n,l),m=sr(n,x);if(C&&!s.playlists[m]){const g=this.createClonePlaylist_(C,m,t),k=g.resolvedUri;s.playlists[m]=g,s.playlists[k]=g}d.playlists[E]=this.createClonePlaylist_(p,m,t)})}}})}createClonePlaylist_(t,n,r,s){const a=this.createCloneURI_(t.resolvedUri,r),o={resolvedUri:a,uri:a,id:n};return t.segments&&(o.segments=[]),s&&(o.attributes=s),ot(t,o)}createCloneURI_(t,n){const r=new URL(t);r.hostname=n["URI-REPLACEMENT"].HOST;const s=n["URI-REPLACEMENT"].PARAMS;for(const a of Object.keys(s))r.searchParams.set(a,s[a]);return r.href}createCloneAttributes_(t,n){const r={"PATHWAY-ID":t};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(s=>{n[s]&&(r[s]=t)}),r}getKeyIdSet(t){const n=new Set;if(!t||!t.contentProtection)return n;for(const r in t.contentProtection)if(t.contentProtection[r]&&t.contentProtection[r].attributes&&t.contentProtection[r].attributes.keyId){const s=t.contentProtection[r].attributes.keyId;n.add(s.toLowerCase())}return n}}const Vl=function(i,t,n,r){const s=i.responseType==="arraybuffer"?i.response:i.responseText;!t&&s&&(i.responseTime=Date.now(),i.roundTripTime=i.responseTime-i.requestTime,i.bytesReceived=s.byteLength||s.length,i.bandwidth||(i.bandwidth=Math.floor(i.bytesReceived/i.roundTripTime*8*1e3))),n.headers&&(i.responseHeaders=n.headers),t&&t.code==="ETIMEDOUT"&&(i.timedout=!0),!t&&!i.aborted&&n.statusCode!==200&&n.statusCode!==206&&n.statusCode!==0&&(t=new Error("XHR Failed with a response of: "+(i&&(s||i.responseText)))),r(t,i)},C8=(i,t)=>{if(!i||!i.size)return;let n=t;return i.forEach(r=>{n=r(n)}),n},b8=(i,t,n,r)=>{!i||!i.size||i.forEach(s=>{s(t,n,r)})},E1=function(){const i=function t(n,r){n=ot({timeout:45e3},n);const s=t.beforeRequest||ce.Vhs.xhr.beforeRequest,a=t._requestCallbackSet||ce.Vhs.xhr._requestCallbackSet||new Set,o=t._responseCallbackSet||ce.Vhs.xhr._responseCallbackSet;s&&typeof s=="function"&&(ce.log.warn("beforeRequest is deprecated, use onRequest instead."),a.add(s));const l=ce.Vhs.xhr.original===!0?ce.xhr:ce.Vhs.xhr,u=C8(a,n);a.delete(s);const d=l(u||n,function(p,E){return b8(o,d,p,E),Vl(d,p,E,r)}),f=d.abort;return d.abort=function(){return d.aborted=!0,f.apply(d,arguments)},d.uri=n.uri,d.requestType=n.requestType,d.requestTime=Date.now(),d};return i.original=!0,i},T8=function(i){let t;const n=i.offset;return typeof i.offset=="bigint"||typeof i.length=="bigint"?t=J.BigInt(i.offset)+J.BigInt(i.length)-J.BigInt(1):t=i.offset+i.length-1,"bytes="+n+"-"+t},Nl=function(i){const t={};return i.byterange&&(t.Range=T8(i.byterange)),t},k8=function(i,t){return i.start(t)+"-"+i.end(t)},E8=function(i,t){const n=i.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},x8=function(i){return i>=32&&i<126?String.fromCharCode(i):"."},x1=function(i){const t={};return Object.keys(i).forEach(n=>{const r=i[n];_h(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r}),t},Da=function(i){const t=i.byterange||{length:1/0,offset:0};return[t.length,t.offset,i.resolvedUri].join(",")},_1=function(i){return i.resolvedUri},A1=i=>{const t=Array.prototype.slice.call(i),n=16;let r="",s,a;for(let o=0;o<t.length/n;o++)s=t.slice(o*n,o*n+n).map(E8).join(""),a=t.slice(o*n,o*n+n).map(x8).join(""),r+=s+" "+a+`
204
+ `;return r},_8=({bytes:i})=>A1(i),A8=i=>{let t="",n;for(n=0;n<i.length;n++)t+=k8(i,n)+" ";return t};var w8=Object.freeze({__proto__:null,createTransferableMessage:x1,initSegmentId:Da,segmentKeyId:_1,hexDump:A1,tagDump:_8,textRanges:A8});const w1=.25,S8=(i,t)=>{if(!t.dateTimeObject)return null;const n=t.videoTimingInfo.transmuxerPrependedSeconds,s=t.videoTimingInfo.transmuxedPresentationStart+n,a=i-s;return new Date(t.dateTimeObject.getTime()+a*1e3)},D8=i=>i.transmuxedPresentationEnd-i.transmuxedPresentationStart-i.transmuxerPrependedSeconds,B8=(i,t)=>{let n;try{n=new Date(i)}catch{return null}if(!t||!t.segments||t.segments.length===0)return null;let r=t.segments[0];if(n<new Date(r.dateTimeObject))return null;for(let u=0;u<t.segments.length-1;u++){r=t.segments[u];const d=new Date(t.segments[u+1].dateTimeObject);if(n<d)break}const s=t.segments[t.segments.length-1],a=s.dateTimeObject,o=s.videoTimingInfo?D8(s.videoTimingInfo):s.duration+s.duration*w1,l=new Date(a.getTime()+o*1e3);return n>l?null:(n>new Date(a)&&(r=s),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:un.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})},V8=(i,t)=>{if(!t||!t.segments||t.segments.length===0)return null;let n=0,r;for(let a=0;a<t.segments.length&&(r=t.segments[a],n=r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationEnd:n+r.duration,!(i<=n));a++);const s=t.segments[t.segments.length-1];if(s.videoTimingInfo&&s.videoTimingInfo.transmuxedPresentationEnd<i)return null;if(i>n){if(i>n+s.duration*w1)return null;r=s}return{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:n-r.duration,type:r.videoTimingInfo?"accurate":"estimate"}},N8=(i,t)=>{let n,r;try{n=new Date(i),r=new Date(t)}catch{}const s=n.getTime();return(r.getTime()-s)/1e3},I8=i=>{if(!i.segments||i.segments.length===0)return!1;for(let t=0;t<i.segments.length;t++)if(!i.segments[t].dateTimeObject)return!1;return!0},O8=({playlist:i,time:t=void 0,callback:n})=>{if(!n)throw new Error("getProgramTime: callback must be provided");if(!i||t===void 0)return n({message:"getProgramTime: playlist and time must be provided"});const r=V8(t,i);if(!r)return n({message:"valid programTime was not found"});if(r.type==="estimate")return n({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:r.estimatedStart});const s={mediaSeconds:t},a=S8(t,r.segment);return a&&(s.programDateTime=a.toISOString()),n(null,s)},S1=({programTime:i,playlist:t,retryCount:n=2,seekTo:r,pauseAfterSeek:s=!0,tech:a,callback:o})=>{if(!o)throw new Error("seekToProgramTime: callback must be provided");if(typeof i>"u"||!t||!r)return o({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!a.hasStarted_)return o({message:"player must be playing a live stream to start buffering"});if(!I8(t))return o({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const l=B8(i,t);if(!l)return o({message:`${i} was not found in the stream`});const u=l.segment,d=N8(u.dateTimeObject,i);if(l.type==="estimate"){if(n===0)return o({message:`${i} is not buffered yet. Try again`});r(l.estimatedStart+d),a.one("seeked",()=>{S1({programTime:i,playlist:t,retryCount:n-1,seekTo:r,pauseAfterSeek:s,tech:a,callback:o})});return}const f=u.start+d,p=()=>o(null,a.currentTime());a.one("seeked",p),s&&a.pause(),r(f)},sl=(i,t)=>{if(i.readyState===4)return t()},P8=(i,t,n,r)=>{let s=[],a,o=!1;const l=function(p,E,C,x){return E.abort(),o=!0,n(p,E,C,x)},u=function(p,E){if(o)return;if(p)return p.metadata=qi({requestType:r,request:E,error:p}),l(p,E,"",s);const C=E.responseText.substring(s&&s.byteLength||0,E.responseText.length);if(s=l3(s,Ah(C,!0)),a=a||es(s),s.length<10||a&&s.length<a+2)return sl(E,()=>l(p,E,"",s));const x=au(s);return x==="ts"&&s.length<188?sl(E,()=>l(p,E,"",s)):!x&&s.length<376?sl(E,()=>l(p,E,"",s)):l(null,E,x,s)},f=t({uri:i,beforeSend(p){p.overrideMimeType("text/plain; charset=x-user-defined"),p.addEventListener("progress",function({total:E,loaded:C}){return Vl(p,null,{statusCode:p.status},u)})}},function(p,E){return Vl(f,p,E,u)});return f},{EventTarget:L8}=ce,$d=function(i,t){if(!k1(i,t)||i.sidx&&t.sidx&&(i.sidx.offset!==t.sidx.offset||i.sidx.length!==t.sidx.length))return!1;if(!i.sidx&&t.sidx||i.sidx&&!t.sidx||i.segments&&!t.segments||!i.segments&&t.segments)return!1;if(!i.segments&&!t.segments)return!0;for(let n=0;n<i.segments.length;n++){const r=i.segments[n],s=t.segments[n];if(r.uri!==s.uri)return!1;if(!r.byterange&&!s.byterange)continue;const a=r.byterange,o=s.byterange;if(a&&!o||!a&&o||a.offset!==o.offset||a.length!==o.length)return!1}return!0},M8=(i,t,n,r)=>{const s=r.attributes.NAME||n;return`placeholder-uri-${i}-${t}-${s}`},R8=({mainXml:i,srcUrl:t,clientOffset:n,sidxMapping:r,previousManifest:s})=>{const a=ay(i,{manifestUri:t,clientOffset:n,sidxMapping:r,previousManifest:s});return g1(a,t,M8),a},q8=(i,t)=>{Sr(i,(n,r,s,a)=>{(!t.mediaGroups[r][s]||!(a in t.mediaGroups[r][s]))&&delete i.mediaGroups[r][s][a]})},F8=(i,t,n)=>{let r=!0,s=ot(i,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let a=0;a<t.playlists.length;a++){const o=t.playlists[a];if(o.sidx){const u=Ua(o.sidx);n&&n[u]&&n[u].sidx&&iu(o,n[u].sidx,o.sidx.resolvedUri)}const l=Dl(s,o,$d);l&&(s=l,r=!1)}return Sr(t,(a,o,l,u)=>{if(a.playlists&&a.playlists.length){const d=a.playlists[0].id,f=Dl(s,a.playlists[0],$d);f&&(s=f,u in s.mediaGroups[o][l]||(s.mediaGroups[o][l][u]=a),s.mediaGroups[o][l][u].playlists[0]=s.playlists[d],r=!1)}}),q8(s,t),t.minimumUpdatePeriod!==i.minimumUpdatePeriod&&(r=!1),r?null:s},U8=(i,t)=>(!i.map&&!t.map||!!(i.map&&t.map&&i.map.byterange.offset===t.map.byterange.offset&&i.map.byterange.length===t.map.byterange.length))&&i.uri===t.uri&&i.byterange.offset===t.byterange.offset&&i.byterange.length===t.byterange.length,e0=(i,t)=>{const n={};for(const r in i){const a=i[r].sidx;if(a){const o=Ua(a);if(!t[o])break;const l=t[o].sidxInfo;U8(l,a)&&(n[o]=t[o])}}return n},z8=(i,t)=>{let r=e0(i.playlists,t);return Sr(i,(s,a,o,l)=>{if(s.playlists&&s.playlists.length){const u=s.playlists;r=ot(r,e0(u,t))}}),r};class Il extends L8{constructor(t,n,r={},s){super(),this.isPaused_=!0,this.mainPlaylistLoader_=s||this,s||(this.isMain_=!0);const{withCredentials:a=!1}=r;if(this.vhs_=n,this.withCredentials=a,this.addMetadataToTextTrack=r.addMetadataToTextTrack,!t)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",()=>{this.refreshXml_()}),this.on("mediaupdatetimeout",()=>{this.refreshMedia_(this.media().id)}),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=Sn("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=t,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=t}get isPaused(){return this.isPaused_}requestErrored_(t,n,r){if(!this.request)return!0;if(this.request=null,t)return this.error=typeof t=="object"&&!(t instanceof Error)?t:{status:n.status,message:"DASH request error at URL: "+n.uri,response:n.response,code:2,metadata:t.metadata},r&&(this.state=r),this.trigger("error"),!0}addSidxSegments_(t,n,r){const s=t.sidx&&Ua(t.sidx);if(!t.sidx||!s||this.mainPlaylistLoader_.sidxMapping_[s]){J.clearTimeout(this.mediaRequest_),this.mediaRequest_=J.setTimeout(()=>r(!1),0);return}const a=Sa(t.sidx.resolvedUri),o=(u,d)=>{if(this.requestErrored_(u,d,n))return;const f=this.mainPlaylistLoader_.sidxMapping_,{requestType:p}=d;let E;try{E=dy(je(d.response).subarray(8))}catch(C){C.metadata=qi({requestType:p,request:d,parseFailure:!0}),this.requestErrored_(C,d,n);return}return f[s]={sidxInfo:t.sidx,sidx:E},iu(t,E,t.sidx.resolvedUri),r(!0)},l="dash-sidx";this.request=P8(a,this.vhs_.xhr,(u,d,f,p)=>{if(u)return o(u,d);if(!f||f!=="mp4"){const x=f||"unknown";return o({status:d.status,message:`Unsupported ${x} container type for sidx segment at URL: ${a}`,response:"",playlist:t,internal:!0,playlistExclusionDuration:1/0,code:2},d)}const{offset:E,length:C}=t.sidx.byterange;if(p.length>=C+E)return o(u,{response:p.subarray(E,E+C),status:d.status,uri:d.uri});this.request=this.vhs_.xhr({uri:a,responseType:"arraybuffer",requestType:"dash-sidx",headers:Nl({byterange:t.sidx.byterange})},o)},l)}dispose(){this.isPaused_=!0,this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},J.clearTimeout(this.minimumUpdatePeriodTimeout_),J.clearTimeout(this.mediaRequest_),J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);const n=this.state;if(typeof t=="string"){if(!this.mainPlaylistLoader_.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.mainPlaylistLoader_.main.playlists[t]}const r=!this.media_||t.id!==this.media_.id;if(r&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList){this.state="HAVE_METADATA",this.media_=t,r&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(t,n,s=>{this.haveMetadata({startingState:n,playlist:t})}))}haveMetadata({startingState:t,playlist:n}){this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,J.clearTimeout(this.mediaRequest_),this.mediaRequest_=null,this.refreshMedia_(n.id),t==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.isPaused_=!0,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(J.clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(t){this.isPaused_=!1,J.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const n=this.media();if(t){const r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=J.setTimeout(()=>this.load(),r);return}if(!this.started){this.start();return}n&&!n.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")}start(){if(this.started=!0,!this.isMain_){J.clearTimeout(this.mediaRequest_),this.mediaRequest_=J.setTimeout(()=>this.haveMain_(),0);return}this.requestMain_((t,n)=>{this.haveMain_(),!this.hasPendingRequest()&&!this.media_&&this.media(this.mainPlaylistLoader_.main.playlists[0])})}requestMain_(t){const n={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestrequeststart",metadata:n}),this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials,requestType:"dash-manifest"},(r,s)=>{if(r){const{requestType:o}=s;r.metadata=qi({requestType:o,request:s,error:r})}if(this.requestErrored_(r,s)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:n});const a=s.responseText!==this.mainPlaylistLoader_.mainXml_;if(this.mainPlaylistLoader_.mainXml_=s.responseText,s.responseHeaders&&s.responseHeaders.date?this.mainLoaded_=Date.parse(s.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=Sa(this.mainPlaylistLoader_.srcUrl,s),a){this.handleMain_(),this.syncClientServerClock_(()=>t(s,a));return}return t(s,a)})}syncClientServerClock_(t){const n=oy(this.mainPlaylistLoader_.mainXml_);if(n===null)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t();if(n.method==="DIRECT")return this.mainPlaylistLoader_.clientOffset_=n.value-Date.now(),t();this.request=this.vhs_.xhr({uri:on(this.mainPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials,requestType:"dash-clock-sync"},(r,s)=>{if(!this.request)return;if(r){const{requestType:o}=s;return this.error.metadata=qi({requestType:o,request:s,error:r}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t()}let a;n.method==="HEAD"?!s.responseHeaders||!s.responseHeaders.date?a=this.mainLoaded_:a=Date.parse(s.responseHeaders.date):a=Date.parse(s.responseText),this.mainPlaylistLoader_.clientOffset_=a-Date.now(),t()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){J.clearTimeout(this.mediaRequest_),this.mediaRequest_=null;const t=this.mainPlaylistLoader_.main,n={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestparsestart",metadata:n});let r;try{r=R8({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:t})}catch(a){this.error=a,this.error.metadata={errorType:ce.Error.StreamingDashManifestParserError,error:a},this.trigger("error")}t&&(r=F8(t,r,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=r||t;const s=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];if(s&&s!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=s),(!t||r&&r.minimumUpdatePeriod!==t.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),this.addEventStreamToMetadataTrack_(r),r){const{duration:a,endList:o}=r,l=[];r.playlists.forEach(d=>{l.push({id:d.id,bandwidth:d.attributes.BANDWIDTH,resolution:d.attributes.RESOLUTION,codecs:d.attributes.CODECS})});const u={duration:a,isLive:!o,renditions:l};n.parsedManifest=u,this.trigger({type:"manifestparsecomplete",metadata:n})}return!!r}updateMinimumUpdatePeriodTimeout_(){const t=this.mainPlaylistLoader_;t.createMupOnMedia_&&(t.off("loadedmetadata",t.createMupOnMedia_),t.createMupOnMedia_=null),t.minimumUpdatePeriodTimeout_&&(J.clearTimeout(t.minimumUpdatePeriodTimeout_),t.minimumUpdatePeriodTimeout_=null);let n=t.main&&t.main.minimumUpdatePeriod;if(n===0&&(t.media()?n=t.media().targetDuration*1e3:(t.createMupOnMedia_=t.updateMinimumUpdatePeriodTimeout_,t.one("loadedmetadata",t.createMupOnMedia_))),typeof n!="number"||n<=0){n<0&&this.logger_(`found invalid minimumUpdatePeriod of ${n}, not setting a timeout`);return}this.createMUPTimeout_(n)}createMUPTimeout_(t){const n=this.mainPlaylistLoader_;n.minimumUpdatePeriodTimeout_=J.setTimeout(()=>{n.minimumUpdatePeriodTimeout_=null,n.trigger("minimumUpdatePeriod"),n.createMUPTimeout_(t)},t)}refreshXml_(){this.requestMain_((t,n)=>{n&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=z8(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,r=>{this.refreshMedia_(this.media().id)}))})}refreshMedia_(t){if(!t)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const n=this.mainPlaylistLoader_.main.playlists,r=!this.media_||this.media_!==n[t];if(r?this.media_=n[t]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const s=()=>{this.media().endList||(this.mediaUpdateTimeout=J.setTimeout(()=>{this.trigger("mediaupdatetimeout"),s()},Bl(this.media(),!!r)))};s()}this.trigger("loadedplaylist")}addEventStreamToMetadataTrack_(t){if(t&&this.mainPlaylistLoader_.main.eventStream){const n=this.mainPlaylistLoader_.main.eventStream.map(r=>({cueTime:r.start,frames:[{data:r.messageData}]}));this.addMetadataToTextTrack("EventStream",n,this.mainPlaylistLoader_.main.duration)}}getKeyIdSet(t){if(t.contentProtection){const n=new Set;for(const r in t.contentProtection){const s=t.contentProtection[r].attributes["cenc:default_KID"];s&&n.add(s.replace(/-/g,"").toLowerCase())}return n}}}var Ot={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const H8=i=>{const t=new Uint8Array(new ArrayBuffer(i.length));for(let n=0;n<i.length;n++)t[n]=i.charCodeAt(n);return t.buffer},D1=function(i){return i.on=i.addEventListener,i.off=i.removeEventListener,i},j8=function(i){try{return URL.createObjectURL(new Blob([i],{type:"application/javascript"}))}catch{const n=new BlobBuilder;return n.append(i),URL.createObjectURL(n.getBlob())}},B1=function(i){return function(){const t=j8(i),n=D1(new Worker(t));n.objURL=t;const r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},V1=function(i){return`var browserWorkerPolyFill = ${D1.toString()};
205
+ browserWorkerPolyFill(self);
206
+ `+i},N1=function(i){return i.toString().replace(/^function.+?{/,"").slice(0,-1)},X8=V1(N1(function(){var i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=function(){this.init=function(){var c={};this.on=function(h,y){c[h]||(c[h]=[]),c[h]=c[h].concat(y)},this.off=function(h,y){var v;return c[h]?(v=c[h].indexOf(y),c[h]=c[h].slice(),c[h].splice(v,1),v>-1):!1},this.trigger=function(h){var y,v,b,_;if(y=c[h],!!y)if(arguments.length===2)for(b=y.length,v=0;v<b;++v)y[v].call(this,arguments[1]);else{for(_=[],v=arguments.length,v=1;v<arguments.length;++v)_.push(arguments[v]);for(b=y.length,v=0;v<b;++v)y[v].apply(this,_)}},this.dispose=function(){c={}}}};t.prototype.pipe=function(c){return this.on("data",function(h){c.push(h)}),this.on("done",function(h){c.flush(h)}),this.on("partialdone",function(h){c.partialFlush(h)}),this.on("endedtimeline",function(h){c.endTimeline(h)}),this.on("reset",function(h){c.reset(h)}),c},t.prototype.push=function(c){this.trigger("data",c)},t.prototype.flush=function(c){this.trigger("done",c)},t.prototype.partialFlush=function(c){this.trigger("partialdone",c)},t.prototype.endTimeline=function(c){this.trigger("endedtimeline",c)},t.prototype.reset=function(c){this.trigger("reset",c)};var n=t,r=Math.pow(2,32),s=function(c){var h=new DataView(c.buffer,c.byteOffset,c.byteLength),y;return h.getBigUint64?(y=h.getBigUint64(0),y<Number.MAX_SAFE_INTEGER?Number(y):y):h.getUint32(0)*r+h.getUint32(4)},a={getUint64:s,MAX_UINT32:r},o=a.MAX_UINT32,l,u,d,f,p,E,C,x,m,g,k,A,D,O,M,V,S,L,w,B,F,Q,I,q,U,G,z,Z,W,R,Y,j,ae,he,ue,be;(function(){var c;if(I={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(c in I)I.hasOwnProperty(c)&&(I[c]=[c.charCodeAt(0),c.charCodeAt(1),c.charCodeAt(2),c.charCodeAt(3)]);q=new Uint8Array([105,115,111,109]),G=new Uint8Array([97,118,99,49]),U=new Uint8Array([0,0,0,1]),z=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),Z=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),W={video:z,audio:Z},j=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Y=new Uint8Array([0,0,0,0,0,0,0,0]),ae=new Uint8Array([0,0,0,0,0,0,0,0]),he=ae,ue=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),be=ae,R=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),l=function(c){var h=[],y=0,v,b,_;for(v=1;v<arguments.length;v++)h.push(arguments[v]);for(v=h.length;v--;)y+=h[v].byteLength;for(b=new Uint8Array(y+8),_=new DataView(b.buffer,b.byteOffset,b.byteLength),_.setUint32(0,b.byteLength),b.set(c,4),v=0,y=8;v<h.length;v++)b.set(h[v],y),y+=h[v].byteLength;return b},u=function(){return l(I.dinf,l(I.dref,j))},d=function(c){return l(I.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,c.audioobjecttype<<3|c.samplingfrequencyindex>>>1,c.samplingfrequencyindex<<7|c.channelcount<<3,6,1,2]))},f=function(){return l(I.ftyp,q,U,q,G)},V=function(c){return l(I.hdlr,W[c])},p=function(c){return l(I.mdat,c)},M=function(c){var h=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,c.duration>>>24&255,c.duration>>>16&255,c.duration>>>8&255,c.duration&255,85,196,0,0]);return c.samplerate&&(h[12]=c.samplerate>>>24&255,h[13]=c.samplerate>>>16&255,h[14]=c.samplerate>>>8&255,h[15]=c.samplerate&255),l(I.mdhd,h)},O=function(c){return l(I.mdia,M(c),V(c.type),C(c))},E=function(c){return l(I.mfhd,new Uint8Array([0,0,0,0,(c&4278190080)>>24,(c&16711680)>>16,(c&65280)>>8,c&255]))},C=function(c){return l(I.minf,c.type==="video"?l(I.vmhd,R):l(I.smhd,Y),u(),L(c))},x=function(c,h){for(var y=[],v=h.length;v--;)y[v]=B(h[v]);return l.apply(null,[I.moof,E(c)].concat(y))},m=function(c){for(var h=c.length,y=[];h--;)y[h]=A(c[h]);return l.apply(null,[I.moov,k(4294967295)].concat(y).concat(g(c)))},g=function(c){for(var h=c.length,y=[];h--;)y[h]=F(c[h]);return l.apply(null,[I.mvex].concat(y))},k=function(c){var h=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(c&4278190080)>>24,(c&16711680)>>16,(c&65280)>>8,c&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return l(I.mvhd,h)},S=function(c){var h=c.samples||[],y=new Uint8Array(4+h.length),v,b;for(b=0;b<h.length;b++)v=h[b].flags,y[b+4]=v.dependsOn<<4|v.isDependedOn<<2|v.hasRedundancy;return l(I.sdtp,y)},L=function(c){return l(I.stbl,w(c),l(I.stts,be),l(I.stsc,he),l(I.stsz,ue),l(I.stco,ae))},(function(){var c,h;w=function(y){return l(I.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),y.type==="video"?c(y):h(y))},c=function(y){var v=y.sps||[],b=y.pps||[],_=[],H=[],X,K;for(X=0;X<v.length;X++)_.push((v[X].byteLength&65280)>>>8),_.push(v[X].byteLength&255),_=_.concat(Array.prototype.slice.call(v[X]));for(X=0;X<b.length;X++)H.push((b[X].byteLength&65280)>>>8),H.push(b[X].byteLength&255),H=H.concat(Array.prototype.slice.call(b[X]));if(K=[I.avc1,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,(y.width&65280)>>8,y.width&255,(y.height&65280)>>8,y.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),l(I.avcC,new Uint8Array([1,y.profileIdc,y.profileCompatibility,y.levelIdc,255].concat([v.length],_,[b.length],H))),l(I.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],y.sarRatio){var $=y.sarRatio[0],ie=y.sarRatio[1];K.push(l(I.pasp,new Uint8Array([($&4278190080)>>24,($&16711680)>>16,($&65280)>>8,$&255,(ie&4278190080)>>24,(ie&16711680)>>16,(ie&65280)>>8,ie&255])))}return l.apply(null,K)},h=function(y){return l(I.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(y.channelcount&65280)>>8,y.channelcount&255,(y.samplesize&65280)>>8,y.samplesize&255,0,0,0,0,(y.samplerate&65280)>>8,y.samplerate&255,0,0]),d(y))}})(),D=function(c){var h=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(c.id&4278190080)>>24,(c.id&16711680)>>16,(c.id&65280)>>8,c.id&255,0,0,0,0,(c.duration&4278190080)>>24,(c.duration&16711680)>>16,(c.duration&65280)>>8,c.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(c.width&65280)>>8,c.width&255,0,0,(c.height&65280)>>8,c.height&255,0,0]);return l(I.tkhd,h)},B=function(c){var h,y,v,b,_,H,X;return h=l(I.tfhd,new Uint8Array([0,0,0,58,(c.id&4278190080)>>24,(c.id&16711680)>>16,(c.id&65280)>>8,c.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),H=Math.floor(c.baseMediaDecodeTime/o),X=Math.floor(c.baseMediaDecodeTime%o),y=l(I.tfdt,new Uint8Array([1,0,0,0,H>>>24&255,H>>>16&255,H>>>8&255,H&255,X>>>24&255,X>>>16&255,X>>>8&255,X&255])),_=92,c.type==="audio"?(v=Q(c,_),l(I.traf,h,y,v)):(b=S(c),v=Q(c,b.length+_),l(I.traf,h,y,v,b))},A=function(c){return c.duration=c.duration||4294967295,l(I.trak,D(c),O(c))},F=function(c){var h=new Uint8Array([0,0,0,0,(c.id&4278190080)>>24,(c.id&16711680)>>16,(c.id&65280)>>8,c.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return c.type!=="video"&&(h[h.length-1]=0),l(I.trex,h)},(function(){var c,h,y;y=function(v,b){var _=0,H=0,X=0,K=0;return v.length&&(v[0].duration!==void 0&&(_=1),v[0].size!==void 0&&(H=2),v[0].flags!==void 0&&(X=4),v[0].compositionTimeOffset!==void 0&&(K=8)),[0,0,_|H|X|K,1,(v.length&4278190080)>>>24,(v.length&16711680)>>>16,(v.length&65280)>>>8,v.length&255,(b&4278190080)>>>24,(b&16711680)>>>16,(b&65280)>>>8,b&255]},h=function(v,b){var _,H,X,K,$,ie;for(K=v.samples||[],b+=20+16*K.length,X=y(K,b),H=new Uint8Array(X.length+K.length*16),H.set(X),_=X.length,ie=0;ie<K.length;ie++)$=K[ie],H[_++]=($.duration&4278190080)>>>24,H[_++]=($.duration&16711680)>>>16,H[_++]=($.duration&65280)>>>8,H[_++]=$.duration&255,H[_++]=($.size&4278190080)>>>24,H[_++]=($.size&16711680)>>>16,H[_++]=($.size&65280)>>>8,H[_++]=$.size&255,H[_++]=$.flags.isLeading<<2|$.flags.dependsOn,H[_++]=$.flags.isDependedOn<<6|$.flags.hasRedundancy<<4|$.flags.paddingValue<<1|$.flags.isNonSyncSample,H[_++]=$.flags.degradationPriority&61440,H[_++]=$.flags.degradationPriority&15,H[_++]=($.compositionTimeOffset&4278190080)>>>24,H[_++]=($.compositionTimeOffset&16711680)>>>16,H[_++]=($.compositionTimeOffset&65280)>>>8,H[_++]=$.compositionTimeOffset&255;return l(I.trun,H)},c=function(v,b){var _,H,X,K,$,ie;for(K=v.samples||[],b+=20+8*K.length,X=y(K,b),_=new Uint8Array(X.length+K.length*8),_.set(X),H=X.length,ie=0;ie<K.length;ie++)$=K[ie],_[H++]=($.duration&4278190080)>>>24,_[H++]=($.duration&16711680)>>>16,_[H++]=($.duration&65280)>>>8,_[H++]=$.duration&255,_[H++]=($.size&4278190080)>>>24,_[H++]=($.size&16711680)>>>16,_[H++]=($.size&65280)>>>8,_[H++]=$.size&255;return l(I.trun,_)},Q=function(v,b){return v.type==="audio"?c(v,b):h(v,b)}})();var ne={ftyp:f,mdat:p,moof:x,moov:m,initSegment:function(c){var h=f(),y=m(c),v;return v=new Uint8Array(h.byteLength+y.byteLength),v.set(h),v.set(y,h.byteLength),v}},Ce=function(c){var h,y,v=[],b=[];for(b.byteLength=0,b.nalCount=0,b.duration=0,v.byteLength=0,h=0;h<c.length;h++)y=c[h],y.nalUnitType==="access_unit_delimiter_rbsp"?(v.length&&(v.duration=y.dts-v.dts,b.byteLength+=v.byteLength,b.nalCount+=v.length,b.duration+=v.duration,b.push(v)),v=[y],v.byteLength=y.data.byteLength,v.pts=y.pts,v.dts=y.dts):(y.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(v.keyFrame=!0),v.duration=y.dts-v.dts,v.byteLength+=y.data.byteLength,v.push(y));return b.length&&(!v.duration||v.duration<=0)&&(v.duration=b[b.length-1].duration),b.byteLength+=v.byteLength,b.nalCount+=v.length,b.duration+=v.duration,b.push(v),b},le=function(c){var h,y,v=[],b=[];for(v.byteLength=0,v.nalCount=0,v.duration=0,v.pts=c[0].pts,v.dts=c[0].dts,b.byteLength=0,b.nalCount=0,b.duration=0,b.pts=c[0].pts,b.dts=c[0].dts,h=0;h<c.length;h++)y=c[h],y.keyFrame?(v.length&&(b.push(v),b.byteLength+=v.byteLength,b.nalCount+=v.nalCount,b.duration+=v.duration),v=[y],v.nalCount=y.length,v.byteLength=y.byteLength,v.pts=y.pts,v.dts=y.dts,v.duration=y.duration):(v.duration+=y.duration,v.nalCount+=y.length,v.byteLength+=y.byteLength,v.push(y));return b.length&&v.duration<=0&&(v.duration=b[b.length-1].duration),b.byteLength+=v.byteLength,b.nalCount+=v.nalCount,b.duration+=v.duration,b.push(v),b},_e=function(c){var h;return!c[0][0].keyFrame&&c.length>1&&(h=c.shift(),c.byteLength-=h.byteLength,c.nalCount-=h.nalCount,c[0][0].dts=h.dts,c[0][0].pts=h.pts,c[0][0].duration+=h.duration),c},qe=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},fe=function(c,h){var y=qe();return y.dataOffset=h,y.compositionTimeOffset=c.pts-c.dts,y.duration=c.duration,y.size=4*c.length,y.size+=c.byteLength,c.keyFrame&&(y.flags.dependsOn=2,y.flags.isNonSyncSample=0),y},Te=function(c,h){var y,v,b,_,H,X=h||0,K=[];for(y=0;y<c.length;y++)for(_=c[y],v=0;v<_.length;v++)H=_[v],b=fe(H,X),X+=b.size,K.push(b);return K},Be=function(c){var h,y,v,b,_,H,X=0,K=c.byteLength,$=c.nalCount,ie=K+4*$,pe=new Uint8Array(ie),Le=new DataView(pe.buffer);for(h=0;h<c.length;h++)for(b=c[h],y=0;y<b.length;y++)for(_=b[y],v=0;v<_.length;v++)H=_[v],Le.setUint32(X,H.data.byteLength),X+=4,pe.set(H.data,X),X+=H.data.byteLength;return pe},Ie=function(c,h){var y,v=h||0,b=[];return y=fe(c,v),b.push(y),b},Ae=function(c){var h,y,v=0,b=c.byteLength,_=c.length,H=b+4*_,X=new Uint8Array(H),K=new DataView(X.buffer);for(h=0;h<c.length;h++)y=c[h],K.setUint32(v,y.data.byteLength),v+=4,X.set(y.data,v),v+=y.data.byteLength;return X},me={groupNalsIntoFrames:Ce,groupFramesIntoGops:le,extendFirstKeyFrame:_e,generateSampleTable:Te,concatenateNalData:Be,generateSampleTableForFrame:Ie,concatenateNalDataForFrame:Ae},ke=[33,16,5,32,164,27],Ee=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],Ne=function(c){for(var h=[];c--;)h.push(0);return h},Ue=function(c){return Object.keys(c).reduce(function(h,y){return h[y]=new Uint8Array(c[y].reduce(function(v,b){return v.concat(b)},[])),h},{})},Ke,re=function(){if(!Ke){var c={96e3:[ke,[227,64],Ne(154),[56]],88200:[ke,[231],Ne(170),[56]],64e3:[ke,[248,192],Ne(240),[56]],48e3:[ke,[255,192],Ne(268),[55,148,128],Ne(54),[112]],44100:[ke,[255,192],Ne(268),[55,163,128],Ne(84),[112]],32e3:[ke,[255,192],Ne(268),[55,234],Ne(226),[112]],24e3:[ke,[255,192],Ne(268),[55,255,128],Ne(268),[111,112],Ne(126),[224]],16e3:[ke,[255,192],Ne(268),[55,255,128],Ne(268),[111,255],Ne(269),[223,108],Ne(195),[1,192]],12e3:[Ee,Ne(268),[3,127,248],Ne(268),[6,255,240],Ne(268),[13,255,224],Ne(268),[27,253,128],Ne(259),[56]],11025:[Ee,Ne(268),[3,127,248],Ne(268),[6,255,240],Ne(268),[13,255,224],Ne(268),[27,255,192],Ne(268),[55,175,128],Ne(108),[112]],8e3:[Ee,Ne(268),[3,121,16],Ne(47),[7]]};Ke=Ue(c)}return Ke},oe=9e4,se,Oe,ge,Ge,Qe,Dt,Gt;se=function(c){return c*oe},Oe=function(c,h){return c*h},ge=function(c){return c/oe},Ge=function(c,h){return c/h},Qe=function(c,h){return se(Ge(c,h))},Dt=function(c,h){return Oe(ge(c),h)},Gt=function(c,h,y){return ge(y?c:c-h)};var et={ONE_SECOND_IN_TS:oe,secondsToVideoTs:se,secondsToAudioTs:Oe,videoTsToSeconds:ge,audioTsToSeconds:Ge,audioTsToVideoTs:Qe,videoTsToAudioTs:Dt,metadataTsToSeconds:Gt},dn=re,Mt=et,Bt=function(c){var h,y,v=0;for(h=0;h<c.length;h++)y=c[h],v+=y.data.byteLength;return v},_t=function(c,h,y,v){var b,_=0,H=0,X=0,K=0,$,ie,pe;if(h.length&&(b=Mt.audioTsToVideoTs(c.baseMediaDecodeTime,c.samplerate),_=Math.ceil(Mt.ONE_SECOND_IN_TS/(c.samplerate/1024)),y&&v&&(H=b-Math.max(y,v),X=Math.floor(H/_),K=X*_),!(X<1||K>Mt.ONE_SECOND_IN_TS/2))){for($=dn()[c.samplerate],$||($=h[0].data),ie=0;ie<X;ie++)pe=h[0],h.splice(0,0,{data:$,dts:pe.dts-_,pts:pe.pts-_});return c.baseMediaDecodeTime-=Math.floor(Mt.videoTsToAudioTs(K,c.samplerate)),K}},Vt=function(c,h,y){return h.minSegmentDts>=y?c:(h.minSegmentDts=1/0,c.filter(function(v){return v.dts>=y?(h.minSegmentDts=Math.min(h.minSegmentDts,v.dts),h.minSegmentPts=h.minSegmentDts,!0):!1}))},yn=function(c){var h,y,v=[];for(h=0;h<c.length;h++)y=c[h],v.push({size:y.data.byteLength,duration:1024});return v},Qt=function(c){var h,y,v=0,b=new Uint8Array(Bt(c));for(h=0;h<c.length;h++)y=c[h],b.set(y.data,v),v+=y.data.byteLength;return b},Jn={prefixWithSilence:_t,trimAdtsFramesByEarliestDts:Vt,generateSampleTable:yn,concatenateFrameData:Qt},Nt=et.ONE_SECOND_IN_TS,Cn=function(c,h){typeof h.pts=="number"&&(c.timelineStartInfo.pts===void 0&&(c.timelineStartInfo.pts=h.pts),c.minSegmentPts===void 0?c.minSegmentPts=h.pts:c.minSegmentPts=Math.min(c.minSegmentPts,h.pts),c.maxSegmentPts===void 0?c.maxSegmentPts=h.pts:c.maxSegmentPts=Math.max(c.maxSegmentPts,h.pts)),typeof h.dts=="number"&&(c.timelineStartInfo.dts===void 0&&(c.timelineStartInfo.dts=h.dts),c.minSegmentDts===void 0?c.minSegmentDts=h.dts:c.minSegmentDts=Math.min(c.minSegmentDts,h.dts),c.maxSegmentDts===void 0?c.maxSegmentDts=h.dts:c.maxSegmentDts=Math.max(c.maxSegmentDts,h.dts))},N=function(c){delete c.minSegmentDts,delete c.maxSegmentDts,delete c.minSegmentPts,delete c.maxSegmentPts},P=function(c,h){var y,v,b=c.minSegmentDts;return h||(b-=c.timelineStartInfo.dts),y=c.timelineStartInfo.baseMediaDecodeTime,y+=b,y=Math.max(0,y),c.type==="audio"&&(v=c.samplerate/Nt,y*=v,y=Math.floor(y)),y},ee={clearDtsInfo:N,calculateTrackBaseMediaDecodeTime:P,collectDtsInfo:Cn},de=4,Ve=128,He=function(c){for(var h=0,y={payloadType:-1,payloadSize:0},v=0,b=0;h<c.byteLength&&c[h]!==Ve;){for(;c[h]===255;)v+=255,h++;for(v+=c[h++];c[h]===255;)b+=255,h++;if(b+=c[h++],!y.payload&&v===de){var _=String.fromCharCode(c[h+3],c[h+4],c[h+5],c[h+6]);if(_==="GA94"){y.payloadType=v,y.payloadSize=b,y.payload=c.subarray(h,h+b);break}else y.payload=void 0}h+=b,v=0,b=0}return y},st=function(c){return c.payload[0]!==181||(c.payload[1]<<8|c.payload[2])!==49||String.fromCharCode(c.payload[3],c.payload[4],c.payload[5],c.payload[6])!=="GA94"||c.payload[7]!==3?null:c.payload.subarray(8,c.payload.length-1)},At=function(c,h){var y=[],v,b,_,H;if(!(h[0]&64))return y;for(b=h[0]&31,v=0;v<b;v++)_=v*3,H={type:h[_+2]&3,pts:c},h[_+2]&4&&(H.ccData=h[_+3]<<8|h[_+4],y.push(H));return y},Yt=function(c){for(var h=c.byteLength,y=[],v=1,b,_;v<h-2;)c[v]===0&&c[v+1]===0&&c[v+2]===3?(y.push(v+2),v+=2):v++;if(y.length===0)return c;b=h-y.length,_=new Uint8Array(b);var H=0;for(v=0;v<b;H++,v++)H===y[0]&&(H++,y.shift()),_[v]=c[H];return _},Ut={parseSei:He,parseUserData:st,parseCaptionPackets:At,discardEmulationPreventionBytes:Yt,USER_DATA_REGISTERED_ITU_T_T35:de},Rt=n,rn=Ut,tt=function(c){c=c||{},tt.prototype.init.call(this),this.parse708captions_=typeof c.parse708captions=="boolean"?c.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new Pe(0,0),new Pe(0,1),new Pe(1,0),new Pe(1,1)],this.parse708captions_&&(this.cc708Stream_=new Je({captionServices:c.captionServices})),this.reset(),this.ccStreams_.forEach(function(h){h.on("data",this.trigger.bind(this,"data")),h.on("partialdone",this.trigger.bind(this,"partialdone")),h.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};tt.prototype=new Rt,tt.prototype.push=function(c){var h,y,v;if(c.nalUnitType==="sei_rbsp"&&(h=rn.parseSei(c.escapedRBSP),!!h.payload&&h.payloadType===rn.USER_DATA_REGISTERED_ITU_T_T35&&(y=rn.parseUserData(h),!!y))){if(c.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(c.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}v=rn.parseCaptionPackets(c.pts,y),this.captionPackets_=this.captionPackets_.concat(v),this.latestDts_!==c.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=c.dts}},tt.prototype.flushCCStreams=function(c){this.ccStreams_.forEach(function(h){return c==="flush"?h.flush():h.partialFlush()},this)},tt.prototype.flushStream=function(c){if(!this.captionPackets_.length){this.flushCCStreams(c);return}this.captionPackets_.forEach(function(h,y){h.presortIndex=y}),this.captionPackets_.sort(function(h,y){return h.pts===y.pts?h.presortIndex-y.presortIndex:h.pts-y.pts}),this.captionPackets_.forEach(function(h){h.type<2?this.dispatchCea608Packet(h):this.dispatchCea708Packet(h)},this),this.captionPackets_.length=0,this.flushCCStreams(c)},tt.prototype.flush=function(){return this.flushStream("flush")},tt.prototype.partialFlush=function(){return this.flushStream("partialFlush")},tt.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(c){c.reset()})},tt.prototype.dispatchCea608Packet=function(c){this.setsTextOrXDSActive(c)?this.activeCea608Channel_[c.type]=null:this.setsChannel1Active(c)?this.activeCea608Channel_[c.type]=0:this.setsChannel2Active(c)&&(this.activeCea608Channel_[c.type]=1),this.activeCea608Channel_[c.type]!==null&&this.ccStreams_[(c.type<<1)+this.activeCea608Channel_[c.type]].push(c)},tt.prototype.setsChannel1Active=function(c){return(c.ccData&30720)===4096},tt.prototype.setsChannel2Active=function(c){return(c.ccData&30720)===6144},tt.prototype.setsTextOrXDSActive=function(c){return(c.ccData&28928)===256||(c.ccData&30974)===4138||(c.ccData&30974)===6186},tt.prototype.dispatchCea708Packet=function(c){this.parse708captions_&&this.cc708Stream_.push(c)};var sn={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Kt=function(c){var h=sn[c]||c;return c&4096&&c===h?"":String.fromCharCode(h)},Wt=function(c){return 32<=c&&c<=127||160<=c&&c<=255},wt=function(c){this.windowNum=c,this.reset()};wt.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},wt.prototype.getText=function(){return this.rows.join(`
207
+ `)},wt.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},wt.prototype.newLine=function(c){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(c),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},wt.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},wt.prototype.addText=function(c){this.rows[this.rowIdx]+=c},wt.prototype.backspace=function(){if(!this.isEmpty()){var c=this.rows[this.rowIdx];this.rows[this.rowIdx]=c.substr(0,c.length-1)}};var dt=function(c,h,y){this.serviceNum=c,this.text="",this.currentWindow=new wt(-1),this.windows=[],this.stream=y,typeof h=="string"&&this.createTextDecoder(h)};dt.prototype.init=function(c,h){this.startPts=c;for(var y=0;y<8;y++)this.windows[y]=new wt(y),typeof h=="function"&&(this.windows[y].beforeRowOverflow=h)},dt.prototype.setCurrentWindow=function(c){this.currentWindow=this.windows[c]},dt.prototype.createTextDecoder=function(c){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(c)}catch(h){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+c+" encoding. "+h})}};var Je=function(c){c=c||{},Je.prototype.init.call(this);var h=this,y=c.captionServices||{},v={},b;Object.keys(y).forEach(_=>{b=y[_],/^SERVICE/.test(_)&&(v[_]=b.encoding)}),this.serviceEncodings=v,this.current708Packet=null,this.services={},this.push=function(_){_.type===3?(h.new708Packet(),h.add708Bytes(_)):(h.current708Packet===null&&h.new708Packet(),h.add708Bytes(_))}};Je.prototype=new Rt,Je.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Je.prototype.add708Bytes=function(c){var h=c.ccData,y=h>>>8,v=h&255;this.current708Packet.ptsVals.push(c.pts),this.current708Packet.data.push(y),this.current708Packet.data.push(v)},Je.prototype.push708Packet=function(){var c=this.current708Packet,h=c.data,y=null,v=null,b=0,_=h[b++];for(c.seq=_>>6,c.sizeCode=_&63;b<h.length;b++)_=h[b++],y=_>>5,v=_&31,y===7&&v>0&&(_=h[b++],y=_),this.pushServiceBlock(y,b,v),v>0&&(b+=v-1)},Je.prototype.pushServiceBlock=function(c,h,y){var v,b=h,_=this.current708Packet.data,H=this.services[c];for(H||(H=this.initService(c,b));b<h+y&&b<_.length;b++)v=_[b],Wt(v)?b=this.handleText(b,H):v===24?b=this.multiByteCharacter(b,H):v===16?b=this.extendedCommands(b,H):128<=v&&v<=135?b=this.setCurrentWindow(b,H):152<=v&&v<=159?b=this.defineWindow(b,H):v===136?b=this.clearWindows(b,H):v===140?b=this.deleteWindows(b,H):v===137?b=this.displayWindows(b,H):v===138?b=this.hideWindows(b,H):v===139?b=this.toggleWindows(b,H):v===151?b=this.setWindowAttributes(b,H):v===144?b=this.setPenAttributes(b,H):v===145?b=this.setPenColor(b,H):v===146?b=this.setPenLocation(b,H):v===143?H=this.reset(b,H):v===8?H.currentWindow.backspace():v===12?H.currentWindow.clearText():v===13?H.currentWindow.pendingNewLine=!0:v===14?H.currentWindow.clearText():v===141&&b++},Je.prototype.extendedCommands=function(c,h){var y=this.current708Packet.data,v=y[++c];return Wt(v)&&(c=this.handleText(c,h,{isExtended:!0})),c},Je.prototype.getPts=function(c){return this.current708Packet.ptsVals[Math.floor(c/2)]},Je.prototype.initService=function(c,h){var v="SERVICE"+c,y=this,v,b;return v in this.serviceEncodings&&(b=this.serviceEncodings[v]),this.services[c]=new dt(c,b,y),this.services[c].init(this.getPts(h),function(_){y.flushDisplayed(_,y.services[c])}),this.services[c]},Je.prototype.handleText=function(c,h,y){var v=y&&y.isExtended,b=y&&y.isMultiByte,_=this.current708Packet.data,H=v?4096:0,X=_[c],K=_[c+1],$=h.currentWindow,ie,pe;function Le(ye){return ye.map(ze=>("0"+(ze&255).toString(16)).slice(-2)).join("")}if(b?(pe=[X,K],c++):pe=[X],h.textDecoder_&&!v)ie=h.textDecoder_.decode(new Uint8Array(pe));else if(b){const ye=Le(pe);ie=String.fromCharCode(parseInt(ye,16))}else ie=Kt(H|X);return $.pendingNewLine&&!$.isEmpty()&&$.newLine(this.getPts(c)),$.pendingNewLine=!1,$.addText(ie),c},Je.prototype.multiByteCharacter=function(c,h){var y=this.current708Packet.data,v=y[c+1],b=y[c+2];return Wt(v)&&Wt(b)&&(c=this.handleText(++c,h,{isMultiByte:!0})),c},Je.prototype.setCurrentWindow=function(c,h){var y=this.current708Packet.data,v=y[c],b=v&7;return h.setCurrentWindow(b),c},Je.prototype.defineWindow=function(c,h){var y=this.current708Packet.data,v=y[c],b=v&7;h.setCurrentWindow(b);var _=h.currentWindow;return v=y[++c],_.visible=(v&32)>>5,_.rowLock=(v&16)>>4,_.columnLock=(v&8)>>3,_.priority=v&7,v=y[++c],_.relativePositioning=(v&128)>>7,_.anchorVertical=v&127,v=y[++c],_.anchorHorizontal=v,v=y[++c],_.anchorPoint=(v&240)>>4,_.rowCount=v&15,v=y[++c],_.columnCount=v&63,v=y[++c],_.windowStyle=(v&56)>>3,_.penStyle=v&7,_.virtualRowCount=_.rowCount+1,c},Je.prototype.setWindowAttributes=function(c,h){var y=this.current708Packet.data,v=y[c],b=h.currentWindow.winAttr;return v=y[++c],b.fillOpacity=(v&192)>>6,b.fillRed=(v&48)>>4,b.fillGreen=(v&12)>>2,b.fillBlue=v&3,v=y[++c],b.borderType=(v&192)>>6,b.borderRed=(v&48)>>4,b.borderGreen=(v&12)>>2,b.borderBlue=v&3,v=y[++c],b.borderType+=(v&128)>>5,b.wordWrap=(v&64)>>6,b.printDirection=(v&48)>>4,b.scrollDirection=(v&12)>>2,b.justify=v&3,v=y[++c],b.effectSpeed=(v&240)>>4,b.effectDirection=(v&12)>>2,b.displayEffect=v&3,c},Je.prototype.flushDisplayed=function(c,h){for(var y=[],v=0;v<8;v++)h.windows[v].visible&&!h.windows[v].isEmpty()&&y.push(h.windows[v].getText());h.endPts=c,h.text=y.join(`
208
+
209
+ `),this.pushCaption(h),h.startPts=c},Je.prototype.pushCaption=function(c){c.text!==""&&(this.trigger("data",{startPts:c.startPts,endPts:c.endPts,text:c.text,stream:"cc708_"+c.serviceNum}),c.text="",c.startPts=c.endPts)},Je.prototype.displayWindows=function(c,h){var y=this.current708Packet.data,v=y[++c],b=this.getPts(c);this.flushDisplayed(b,h);for(var _=0;_<8;_++)v&1<<_&&(h.windows[_].visible=1);return c},Je.prototype.hideWindows=function(c,h){var y=this.current708Packet.data,v=y[++c],b=this.getPts(c);this.flushDisplayed(b,h);for(var _=0;_<8;_++)v&1<<_&&(h.windows[_].visible=0);return c},Je.prototype.toggleWindows=function(c,h){var y=this.current708Packet.data,v=y[++c],b=this.getPts(c);this.flushDisplayed(b,h);for(var _=0;_<8;_++)v&1<<_&&(h.windows[_].visible^=1);return c},Je.prototype.clearWindows=function(c,h){var y=this.current708Packet.data,v=y[++c],b=this.getPts(c);this.flushDisplayed(b,h);for(var _=0;_<8;_++)v&1<<_&&h.windows[_].clearText();return c},Je.prototype.deleteWindows=function(c,h){var y=this.current708Packet.data,v=y[++c],b=this.getPts(c);this.flushDisplayed(b,h);for(var _=0;_<8;_++)v&1<<_&&h.windows[_].reset();return c},Je.prototype.setPenAttributes=function(c,h){var y=this.current708Packet.data,v=y[c],b=h.currentWindow.penAttr;return v=y[++c],b.textTag=(v&240)>>4,b.offset=(v&12)>>2,b.penSize=v&3,v=y[++c],b.italics=(v&128)>>7,b.underline=(v&64)>>6,b.edgeType=(v&56)>>3,b.fontStyle=v&7,c},Je.prototype.setPenColor=function(c,h){var y=this.current708Packet.data,v=y[c],b=h.currentWindow.penColor;return v=y[++c],b.fgOpacity=(v&192)>>6,b.fgRed=(v&48)>>4,b.fgGreen=(v&12)>>2,b.fgBlue=v&3,v=y[++c],b.bgOpacity=(v&192)>>6,b.bgRed=(v&48)>>4,b.bgGreen=(v&12)>>2,b.bgBlue=v&3,v=y[++c],b.edgeRed=(v&48)>>4,b.edgeGreen=(v&12)>>2,b.edgeBlue=v&3,c},Je.prototype.setPenLocation=function(c,h){var y=this.current708Packet.data,v=y[c],b=h.currentWindow.penLoc;return h.currentWindow.pendingNewLine=!0,v=y[++c],b.row=v&15,v=y[++c],b.column=v&63,c},Je.prototype.reset=function(c,h){var y=this.getPts(c);return this.flushDisplayed(y,h),this.initService(h.serviceNum,c)};var Dn={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},qn=function(c){return c===null?"":(c=Dn[c]||c,String.fromCharCode(c))},Ei=14,Es=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Zn=function(){for(var c=[],h=Ei+1;h--;)c.push({text:"",indent:0,offset:0});return c},Pe=function(c,h){Pe.prototype.init.call(this),this.field_=c||0,this.dataChannel_=h||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(y){var v,b,_,H,X;if(v=y.ccData&32639,v===this.lastControlCode_){this.lastControlCode_=null;return}if((v&61440)===4096?this.lastControlCode_=v:v!==this.PADDING_&&(this.lastControlCode_=null),_=v>>>8,H=v&255,v!==this.PADDING_)if(v===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(v===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(y.pts),this.flushDisplayed(y.pts),b=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=b,this.startPts_=y.pts;else if(v===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(y.pts);else if(v===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(y.pts);else if(v===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(y.pts);else if(v===this.CARRIAGE_RETURN_)this.clearFormatting(y.pts),this.flushDisplayed(y.pts),this.shiftRowsUp_(),this.startPts_=y.pts;else if(v===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1);else if(v===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(y.pts),this.displayed_=Zn();else if(v===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Zn();else if(v===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(y.pts),this.displayed_=Zn()),this.mode_="paintOn",this.startPts_=y.pts;else if(this.isSpecialCharacter(_,H))_=(_&3)<<8,X=qn(_|H),this[this.mode_](y.pts,X),this.column_++;else if(this.isExtCharacter(_,H))this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1),_=(_&3)<<8,X=qn(_|H),this[this.mode_](y.pts,X),this.column_++;else if(this.isMidRowCode(_,H))this.clearFormatting(y.pts),this[this.mode_](y.pts," "),this.column_++,(H&14)===14&&this.addFormatting(y.pts,["i"]),(H&1)===1&&this.addFormatting(y.pts,["u"]);else if(this.isOffsetControlCode(_,H)){const $=H&3;this.nonDisplayed_[this.row_].offset=$,this.column_+=$}else if(this.isPAC(_,H)){var K=Es.indexOf(v&7968);if(this.mode_==="rollUp"&&(K-this.rollUpRows_+1<0&&(K=this.rollUpRows_-1),this.setRollUp(y.pts,K)),K!==this.row_&&K>=0&&K<=14&&(this.clearFormatting(y.pts),this.row_=K),H&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(y.pts,["u"]),(v&16)===16){const $=(v&14)>>1;this.column_=$*4,this.nonDisplayed_[this.row_].indent+=$}this.isColorPAC(H)&&(H&14)===14&&this.addFormatting(y.pts,["i"])}else this.isNormalChar(_)&&(H===0&&(H=null),X=qn(_),X+=qn(H),this[this.mode_](y.pts,X),this.column_+=X.length)}};Pe.prototype=new Rt,Pe.prototype.flushDisplayed=function(c){const h=v=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+v+"."})},y=[];this.displayed_.forEach((v,b)=>{if(v&&v.text&&v.text.length){try{v.text=v.text.trim()}catch{h(b)}v.text.length&&y.push({text:v.text,line:b+1,position:10+Math.min(70,v.indent*10)+v.offset*2.5})}else v==null&&h(b)}),y.length&&this.trigger("data",{startPts:this.startPts_,endPts:c,content:y,stream:this.name_})},Pe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Zn(),this.nonDisplayed_=Zn(),this.lastControlCode_=null,this.column_=0,this.row_=Ei,this.rollUpRows_=2,this.formatting_=[]},Pe.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},Pe.prototype.isSpecialCharacter=function(c,h){return c===this.EXT_&&h>=48&&h<=63},Pe.prototype.isExtCharacter=function(c,h){return(c===this.EXT_+1||c===this.EXT_+2)&&h>=32&&h<=63},Pe.prototype.isMidRowCode=function(c,h){return c===this.EXT_&&h>=32&&h<=47},Pe.prototype.isOffsetControlCode=function(c,h){return c===this.OFFSET_&&h>=33&&h<=35},Pe.prototype.isPAC=function(c,h){return c>=this.BASE_&&c<this.BASE_+8&&h>=64&&h<=127},Pe.prototype.isColorPAC=function(c){return c>=64&&c<=79||c>=96&&c<=127},Pe.prototype.isNormalChar=function(c){return c>=32&&c<=127},Pe.prototype.setRollUp=function(c,h){if(this.mode_!=="rollUp"&&(this.row_=Ei,this.mode_="rollUp",this.flushDisplayed(c),this.nonDisplayed_=Zn(),this.displayed_=Zn()),h!==void 0&&h!==this.row_)for(var y=0;y<this.rollUpRows_;y++)this.displayed_[h-y]=this.displayed_[this.row_-y],this.displayed_[this.row_-y]={text:"",indent:0,offset:0};h===void 0&&(h=this.row_),this.topRow_=h-this.rollUpRows_+1},Pe.prototype.addFormatting=function(c,h){this.formatting_=this.formatting_.concat(h);var y=h.reduce(function(v,b){return v+"<"+b+">"},"");this[this.mode_](c,y)},Pe.prototype.clearFormatting=function(c){if(this.formatting_.length){var h=this.formatting_.reverse().reduce(function(y,v){return y+"</"+v+">"},"");this.formatting_=[],this[this.mode_](c,h)}},Pe.prototype.popOn=function(c,h){var y=this.nonDisplayed_[this.row_].text;y+=h,this.nonDisplayed_[this.row_].text=y},Pe.prototype.rollUp=function(c,h){var y=this.displayed_[this.row_].text;y+=h,this.displayed_[this.row_].text=y},Pe.prototype.shiftRowsUp_=function(){var c;for(c=0;c<this.topRow_;c++)this.displayed_[c]={text:"",indent:0,offset:0};for(c=this.row_+1;c<Ei+1;c++)this.displayed_[c]={text:"",indent:0,offset:0};for(c=this.topRow_;c<this.row_;c++)this.displayed_[c]=this.displayed_[c+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},Pe.prototype.paintOn=function(c,h){var y=this.displayed_[this.row_].text;y+=h,this.displayed_[this.row_].text=y};var te={CaptionStream:tt,Cea608Stream:Pe,Cea708Stream:Je},we={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Me=n,it=8589934592,zt=4294967296,St="shared",Tt=function(c,h){var y=1;for(c>h&&(y=-1);Math.abs(h-c)>zt;)c+=y*it;return c},Bn=function(c){var h,y;Bn.prototype.init.call(this),this.type_=c||St,this.push=function(v){if(v.type==="metadata"){this.trigger("data",v);return}this.type_!==St&&v.type!==this.type_||(y===void 0&&(y=v.dts),v.dts=Tt(v.dts,y),v.pts=Tt(v.pts,y),h=v.dts,this.trigger("data",v))},this.flush=function(){y=h,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){y=void 0,h=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Bn.prototype=new Me;var Ct={TimestampRolloverStream:Bn,handleRollover:Tt},Dr=(c,h,y)=>{if(!c)return-1;for(var v=y;v<c.length;v++)if(c[v]===h)return v;return-1},xs={typedArrayIndexOf:Dr},Br=xs.typedArrayIndexOf,_s={Utf8:3},Fu=function(c,h,y){var v,b="";for(v=h;v<y;v++)b+="%"+("00"+c[v].toString(16)).slice(-2);return b},Vr=function(c,h,y){return decodeURIComponent(Fu(c,h,y))},Nr=function(c,h,y){return unescape(Fu(c,h,y))},Ir=function(c){return c[0]<<21|c[1]<<14|c[2]<<7|c[3]},Or={APIC:function(c){var h=1,y,v,b="-->";c.data[0]===_s.Utf8&&(y=Br(c.data,0,h),!(y<0)&&(c.mimeType=Nr(c.data,h,y),h=y+1,c.pictureType=c.data[h],h++,v=Br(c.data,0,h),!(v<0)&&(c.description=Vr(c.data,h,v),h=v+1,c.mimeType===b?c.url=Nr(c.data,h,c.data.length):c.pictureData=c.data.subarray(h,c.data.length))))},"T*":function(c){c.data[0]===_s.Utf8&&(c.value=Vr(c.data,1,c.data.length).replace(/\0*$/,""),c.values=c.value.split("\0"))},TXXX:function(c){var h;c.data[0]===_s.Utf8&&(h=Br(c.data,0,1),h!==-1&&(c.description=Vr(c.data,1,h),c.value=Vr(c.data,h+1,c.data.length).replace(/\0*$/,""),c.data=c.value))},"W*":function(c){c.url=Nr(c.data,0,c.data.length).replace(/\0.*$/,"")},WXXX:function(c){var h;c.data[0]===_s.Utf8&&(h=Br(c.data,0,1),h!==-1&&(c.description=Vr(c.data,1,h),c.url=Nr(c.data,h+1,c.data.length).replace(/\0.*$/,"")))},PRIV:function(c){var h;for(h=0;h<c.data.length;h++)if(c.data[h]===0){c.owner=Nr(c.data,0,h);break}c.privateData=c.data.subarray(h+1),c.data=c.privateData}},Cm=function(c){var h,y,v=10,b=0,_=[];if(!(c.length<10||c[0]!==73||c[1]!==68||c[2]!==51)){b=Ir(c.subarray(6,10)),b+=10;var H=c[5]&64;H&&(v+=4,v+=Ir(c.subarray(10,14)),b-=Ir(c.subarray(16,20)));do{if(h=Ir(c.subarray(v+4,v+8)),h<1)break;y=String.fromCharCode(c[v],c[v+1],c[v+2],c[v+3]);var X={id:y,data:c.subarray(v+10,v+h+10)};X.key=X.id,Or[X.id]?Or[X.id](X):X.id[0]==="T"?Or["T*"](X):X.id[0]==="W"&&Or["W*"](X),_.push(X),v+=10,v+=h}while(v<b);return _}},Uu={parseId3Frames:Cm,parseSyncSafeInteger:Ir,frameParsers:Or},bm=n,Tm=we,li=Uu,As;As=function(c){var h={descriptor:c&&c.descriptor},y=0,v=[],b=0,_;if(As.prototype.init.call(this),this.dispatchType=Tm.METADATA_STREAM_TYPE.toString(16),h.descriptor)for(_=0;_<h.descriptor.length;_++)this.dispatchType+=("00"+h.descriptor[_].toString(16)).slice(-2);this.push=function(H){var X,K,$,ie,pe,Le;if(H.type==="timed-metadata"){if(H.dataAlignmentIndicator&&(b=0,v.length=0),v.length===0&&(H.data.length<10||H.data[0]!==73||H.data[1]!==68||H.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(v.push(H),b+=H.data.byteLength,v.length===1&&(y=li.parseSyncSafeInteger(H.data.subarray(6,10)),y+=10),!(b<y)){for(X={data:new Uint8Array(y),frames:[],pts:v[0].pts,dts:v[0].dts},pe=0;pe<y;)X.data.set(v[0].data.subarray(0,y-pe),pe),pe+=v[0].data.byteLength,b-=v[0].data.byteLength,v.shift();K=10,X.data[5]&64&&(K+=4,K+=li.parseSyncSafeInteger(X.data.subarray(10,14)),y-=li.parseSyncSafeInteger(X.data.subarray(16,20)));do{if($=li.parseSyncSafeInteger(X.data.subarray(K+4,K+8)),$<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(Le=String.fromCharCode(X.data[K],X.data[K+1],X.data[K+2],X.data[K+3]),ie={id:Le,data:X.data.subarray(K+10,K+$+10)},ie.key=ie.id,li.frameParsers[ie.id]?li.frameParsers[ie.id](ie):ie.id[0]==="T"?li.frameParsers["T*"](ie):ie.id[0]==="W"&&li.frameParsers["W*"](ie),ie.owner==="com.apple.streaming.transportStreamTimestamp"){var ye=ie.data,ze=(ye[3]&1)<<30|ye[4]<<22|ye[5]<<14|ye[6]<<6|ye[7]>>>2;ze*=4,ze+=ye[7]&3,ie.timeStamp=ze,X.pts===void 0&&X.dts===void 0&&(X.pts=ie.timeStamp,X.dts=ie.timeStamp),this.trigger("timestamp",ie)}X.frames.push(ie),K+=10,K+=$}while(K<y);this.trigger("data",X)}}}},As.prototype=new bm;var km=As,ao=n,oo=te,Vn=we,Em=Ct.TimestampRolloverStream,ws,Pr,Ss,Xi=188,lo=71;ws=function(){var c=new Uint8Array(Xi),h=0;ws.prototype.init.call(this),this.push=function(y){var v=0,b=Xi,_;for(h?(_=new Uint8Array(y.byteLength+h),_.set(c.subarray(0,h)),_.set(y,h),h=0):_=y;b<_.byteLength;){if(_[v]===lo&&_[b]===lo){this.trigger("data",_.subarray(v,b)),v+=Xi,b+=Xi;continue}v++,b++}v<_.byteLength&&(c.set(_.subarray(v),0),h=_.byteLength-v)},this.flush=function(){h===Xi&&c[0]===lo&&(this.trigger("data",c),h=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){h=0,this.trigger("reset")}},ws.prototype=new ao,Pr=function(){var c,h,y,v;Pr.prototype.init.call(this),v=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,c=function(b,_){var H=0;_.payloadUnitStartIndicator&&(H+=b[H]+1),_.type==="pat"?h(b.subarray(H),_):y(b.subarray(H),_)},h=function(b,_){_.section_number=b[7],_.last_section_number=b[8],v.pmtPid=(b[10]&31)<<8|b[11],_.pmtPid=v.pmtPid},y=function(b,_){var H,X,K,$;if(b[5]&1){for(v.programMapTable={video:null,audio:null,"timed-metadata":{}},H=(b[1]&15)<<8|b[2],X=3+H-4,K=(b[10]&15)<<8|b[11],$=12+K;$<X;){var ie=b[$],pe=(b[$+1]&31)<<8|b[$+2];ie===Vn.H264_STREAM_TYPE&&v.programMapTable.video===null?v.programMapTable.video=pe:ie===Vn.ADTS_STREAM_TYPE&&v.programMapTable.audio===null?v.programMapTable.audio=pe:ie===Vn.METADATA_STREAM_TYPE&&(v.programMapTable["timed-metadata"][pe]=ie),$+=((b[$+3]&15)<<8|b[$+4])+5}_.programMapTable=v.programMapTable}},this.push=function(b){var _={},H=4;if(_.payloadUnitStartIndicator=!!(b[1]&64),_.pid=b[1]&31,_.pid<<=8,_.pid|=b[2],(b[3]&48)>>>4>1&&(H+=b[H]+1),_.pid===0)_.type="pat",c(b.subarray(H),_),this.trigger("data",_);else if(_.pid===this.pmtPid)for(_.type="pmt",c(b.subarray(H),_),this.trigger("data",_);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([b,H,_]):this.processPes_(b,H,_)},this.processPes_=function(b,_,H){H.pid===this.programMapTable.video?H.streamType=Vn.H264_STREAM_TYPE:H.pid===this.programMapTable.audio?H.streamType=Vn.ADTS_STREAM_TYPE:H.streamType=this.programMapTable["timed-metadata"][H.pid],H.type="pes",H.data=b.subarray(_),this.trigger("data",H)}},Pr.prototype=new ao,Pr.STREAM_TYPES={h264:27,adts:15},Ss=function(){var c=this,h=!1,y={data:[],size:0},v={data:[],size:0},b={data:[],size:0},_,H=function(K,$){var ie;const pe=K[0]<<16|K[1]<<8|K[2];$.data=new Uint8Array,pe===1&&($.packetLength=6+(K[4]<<8|K[5]),$.dataAlignmentIndicator=(K[6]&4)!==0,ie=K[7],ie&192&&($.pts=(K[9]&14)<<27|(K[10]&255)<<20|(K[11]&254)<<12|(K[12]&255)<<5|(K[13]&254)>>>3,$.pts*=4,$.pts+=(K[13]&6)>>>1,$.dts=$.pts,ie&64&&($.dts=(K[14]&14)<<27|(K[15]&255)<<20|(K[16]&254)<<12|(K[17]&255)<<5|(K[18]&254)>>>3,$.dts*=4,$.dts+=(K[18]&6)>>>1)),$.data=K.subarray(9+K[8]))},X=function(K,$,ie){var pe=new Uint8Array(K.size),Le={type:$},ye=0,ze=0,We=!1,It;if(!(!K.data.length||K.size<9)){for(Le.trackId=K.data[0].pid,ye=0;ye<K.data.length;ye++)It=K.data[ye],pe.set(It.data,ze),ze+=It.data.byteLength;H(pe,Le),We=$==="video"||Le.packetLength<=K.size,(ie||We)&&(K.size=0,K.data.length=0),We&&c.trigger("data",Le)}};Ss.prototype.init.call(this),this.push=function(K){({pat:function(){},pes:function(){var $,ie;switch(K.streamType){case Vn.H264_STREAM_TYPE:$=y,ie="video";break;case Vn.ADTS_STREAM_TYPE:$=v,ie="audio";break;case Vn.METADATA_STREAM_TYPE:$=b,ie="timed-metadata";break;default:return}K.payloadUnitStartIndicator&&X($,ie,!0),$.data.push(K),$.size+=K.data.byteLength},pmt:function(){var $={type:"metadata",tracks:[]};_=K.programMapTable,_.video!==null&&$.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+_.video,codec:"avc",type:"video"}),_.audio!==null&&$.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+_.audio,codec:"adts",type:"audio"}),h=!0,c.trigger("data",$)}})[K.type]()},this.reset=function(){y.size=0,y.data.length=0,v.size=0,v.data.length=0,this.trigger("reset")},this.flushStreams_=function(){X(y,"video"),X(v,"audio"),X(b,"timed-metadata")},this.flush=function(){if(!h&&_){var K={type:"metadata",tracks:[]};_.video!==null&&K.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+_.video,codec:"avc",type:"video"}),_.audio!==null&&K.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+_.audio,codec:"adts",type:"audio"}),c.trigger("data",K)}h=!1,this.flushStreams_(),this.trigger("done")}},Ss.prototype=new ao;var zu={PAT_PID:0,MP2T_PACKET_LENGTH:Xi,TransportPacketStream:ws,TransportParseStream:Pr,ElementaryStream:Ss,TimestampRolloverStream:Em,CaptionStream:oo.CaptionStream,Cea608Stream:oo.Cea608Stream,Cea708Stream:oo.Cea708Stream,MetadataStream:km};for(var uo in Vn)Vn.hasOwnProperty(uo)&&(zu[uo]=Vn[uo]);var xm=zu,_m=n,Am=et.ONE_SECOND_IN_TS,Ds,Hu=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];Ds=function(c){var h,y=0;Ds.prototype.init.call(this),this.skipWarn_=function(v,b){this.trigger("log",{level:"warn",message:`adts skiping bytes ${v} to ${b} in frame ${y} outside syncword`})},this.push=function(v){var b=0,_,H,X,K,$;if(c||(y=0),v.type==="audio"){h&&h.length?(X=h,h=new Uint8Array(X.byteLength+v.data.byteLength),h.set(X),h.set(v.data,X.byteLength)):h=v.data;for(var ie;b+7<h.length;){if(h[b]!==255||(h[b+1]&246)!==240){typeof ie!="number"&&(ie=b),b++;continue}if(typeof ie=="number"&&(this.skipWarn_(ie,b),ie=null),H=(~h[b+1]&1)*2,_=(h[b+3]&3)<<11|h[b+4]<<3|(h[b+5]&224)>>5,K=((h[b+6]&3)+1)*1024,$=K*Am/Hu[(h[b+2]&60)>>>2],h.byteLength-b<_)break;this.trigger("data",{pts:v.pts+y*$,dts:v.dts+y*$,sampleCount:K,audioobjecttype:(h[b+2]>>>6&3)+1,channelcount:(h[b+2]&1)<<2|(h[b+3]&192)>>>6,samplerate:Hu[(h[b+2]&60)>>>2],samplingfrequencyindex:(h[b+2]&60)>>>2,samplesize:16,data:h.subarray(b+7+H,b+_)}),y++,b+=_}typeof ie=="number"&&(this.skipWarn_(ie,b),ie=null),h=h.subarray(b)}},this.flush=function(){y=0,this.trigger("done")},this.reset=function(){h=void 0,this.trigger("reset")},this.endTimeline=function(){h=void 0,this.trigger("endedtimeline")}},Ds.prototype=new _m;var wm=Ds,ju;ju=function(c){var h=c.byteLength,y=0,v=0;this.length=function(){return 8*h},this.bitsAvailable=function(){return 8*h+v},this.loadWord=function(){var b=c.byteLength-h,_=new Uint8Array(4),H=Math.min(4,h);if(H===0)throw new Error("no bytes available");_.set(c.subarray(b,b+H)),y=new DataView(_.buffer).getUint32(0),v=H*8,h-=H},this.skipBits=function(b){var _;v>b?(y<<=b,v-=b):(b-=v,_=Math.floor(b/8),b-=_*8,h-=_,this.loadWord(),y<<=b,v-=b)},this.readBits=function(b){var _=Math.min(v,b),H=y>>>32-_;return v-=_,v>0?y<<=_:h>0&&this.loadWord(),_=b-_,_>0?H<<_|this.readBits(_):H},this.skipLeadingZeros=function(){var b;for(b=0;b<v;++b)if((y&2147483648>>>b)!==0)return y<<=b,v-=b,b;return this.loadWord(),b+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var b=this.skipLeadingZeros();return this.readBits(b+1)-1},this.readExpGolomb=function(){var b=this.readUnsignedExpGolomb();return 1&b?1+b>>>1:-1*(b>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var Sm=ju,Xu=n,Dm=Sm,Bs,Vs,Gu;Vs=function(){var c=0,h,y;Vs.prototype.init.call(this),this.push=function(v){var b;y?(b=new Uint8Array(y.byteLength+v.data.byteLength),b.set(y),b.set(v.data,y.byteLength),y=b):y=v.data;for(var _=y.byteLength;c<_-3;c++)if(y[c+2]===1){h=c+5;break}for(;h<_;)switch(y[h]){case 0:if(y[h-1]!==0){h+=2;break}else if(y[h-2]!==0){h++;break}c+3!==h-2&&this.trigger("data",y.subarray(c+3,h-2));do h++;while(y[h]!==1&&h<_);c=h-2,h+=3;break;case 1:if(y[h-1]!==0||y[h-2]!==0){h+=3;break}this.trigger("data",y.subarray(c+3,h-2)),c=h-2,h+=3;break;default:h+=3;break}y=y.subarray(c),h-=c,c=0},this.reset=function(){y=null,c=0,this.trigger("reset")},this.flush=function(){y&&y.byteLength>3&&this.trigger("data",y.subarray(c+3)),y=null,c=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},Vs.prototype=new Xu,Gu={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},Bs=function(){var c=new Vs,h,y,v,b,_,H,X;Bs.prototype.init.call(this),h=this,this.push=function(K){K.type==="video"&&(y=K.trackId,v=K.pts,b=K.dts,c.push(K))},c.on("data",function(K){var $={trackId:y,pts:v,dts:b,data:K,nalUnitTypeCode:K[0]&31};switch($.nalUnitTypeCode){case 5:$.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:$.nalUnitType="sei_rbsp",$.escapedRBSP=_(K.subarray(1));break;case 7:$.nalUnitType="seq_parameter_set_rbsp",$.escapedRBSP=_(K.subarray(1)),$.config=H($.escapedRBSP);break;case 8:$.nalUnitType="pic_parameter_set_rbsp";break;case 9:$.nalUnitType="access_unit_delimiter_rbsp";break}h.trigger("data",$)}),c.on("done",function(){h.trigger("done")}),c.on("partialdone",function(){h.trigger("partialdone")}),c.on("reset",function(){h.trigger("reset")}),c.on("endedtimeline",function(){h.trigger("endedtimeline")}),this.flush=function(){c.flush()},this.partialFlush=function(){c.partialFlush()},this.reset=function(){c.reset()},this.endTimeline=function(){c.endTimeline()},X=function(K,$){var ie=8,pe=8,Le,ye;for(Le=0;Le<K;Le++)pe!==0&&(ye=$.readExpGolomb(),pe=(ie+ye+256)%256),ie=pe===0?ie:pe},_=function(K){for(var $=K.byteLength,ie=[],pe=1,Le,ye;pe<$-2;)K[pe]===0&&K[pe+1]===0&&K[pe+2]===3?(ie.push(pe+2),pe+=2):pe++;if(ie.length===0)return K;Le=$-ie.length,ye=new Uint8Array(Le);var ze=0;for(pe=0;pe<Le;ze++,pe++)ze===ie[0]&&(ze++,ie.shift()),ye[pe]=K[ze];return ye},H=function(K){var $=0,ie=0,pe=0,Le=0,ye,ze,We,It,hn,ci,zr,Hr,jr,Xr,Hs,ft=[1,1],Gr,In;if(ye=new Dm(K),ze=ye.readUnsignedByte(),It=ye.readUnsignedByte(),We=ye.readUnsignedByte(),ye.skipUnsignedExpGolomb(),Gu[ze]&&(hn=ye.readUnsignedExpGolomb(),hn===3&&ye.skipBits(1),ye.skipUnsignedExpGolomb(),ye.skipUnsignedExpGolomb(),ye.skipBits(1),ye.readBoolean()))for(Hs=hn!==3?8:12,In=0;In<Hs;In++)ye.readBoolean()&&(In<6?X(16,ye):X(64,ye));if(ye.skipUnsignedExpGolomb(),ci=ye.readUnsignedExpGolomb(),ci===0)ye.readUnsignedExpGolomb();else if(ci===1)for(ye.skipBits(1),ye.skipExpGolomb(),ye.skipExpGolomb(),zr=ye.readUnsignedExpGolomb(),In=0;In<zr;In++)ye.skipExpGolomb();if(ye.skipUnsignedExpGolomb(),ye.skipBits(1),Hr=ye.readUnsignedExpGolomb(),jr=ye.readUnsignedExpGolomb(),Xr=ye.readBits(1),Xr===0&&ye.skipBits(1),ye.skipBits(1),ye.readBoolean()&&($=ye.readUnsignedExpGolomb(),ie=ye.readUnsignedExpGolomb(),pe=ye.readUnsignedExpGolomb(),Le=ye.readUnsignedExpGolomb()),ye.readBoolean()&&ye.readBoolean()){switch(Gr=ye.readUnsignedByte(),Gr){case 1:ft=[1,1];break;case 2:ft=[12,11];break;case 3:ft=[10,11];break;case 4:ft=[16,11];break;case 5:ft=[40,33];break;case 6:ft=[24,11];break;case 7:ft=[20,11];break;case 8:ft=[32,11];break;case 9:ft=[80,33];break;case 10:ft=[18,11];break;case 11:ft=[15,11];break;case 12:ft=[64,33];break;case 13:ft=[160,99];break;case 14:ft=[4,3];break;case 15:ft=[3,2];break;case 16:ft=[2,1];break;case 255:{ft=[ye.readUnsignedByte()<<8|ye.readUnsignedByte(),ye.readUnsignedByte()<<8|ye.readUnsignedByte()];break}}ft&&ft[0]/ft[1]}return{profileIdc:ze,levelIdc:We,profileCompatibility:It,width:(Hr+1)*16-$*2-ie*2,height:(2-Xr)*(jr+1)*16-pe*2-Le*2,sarRatio:ft}}},Bs.prototype=new Xu;var Bm={H264Stream:Bs},Vm=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Qu=function(c,h){var y=c[h+6]<<21|c[h+7]<<14|c[h+8]<<7|c[h+9],v=c[h+5],b=(v&16)>>4;return y=y>=0?y:0,b?y+20:y+10},Yu=function(c,h){return c.length-h<10||c[h]!==73||c[h+1]!==68||c[h+2]!==51?h:(h+=Qu(c,h),Yu(c,h))},Nm=function(c){var h=Yu(c,0);return c.length>=h+2&&(c[h]&255)===255&&(c[h+1]&240)===240&&(c[h+1]&22)===16},Ku=function(c){return c[0]<<21|c[1]<<14|c[2]<<7|c[3]},Im=function(c,h,y){var v,b="";for(v=h;v<y;v++)b+="%"+("00"+c[v].toString(16)).slice(-2);return b},Om=function(c,h,y){return unescape(Im(c,h,y))},Pm=function(c,h){var y=(c[h+5]&224)>>5,v=c[h+4]<<3,b=c[h+3]&6144;return b|v|y},Lm=function(c,h){return c[h]===73&&c[h+1]===68&&c[h+2]===51?"timed-metadata":c[h]&!0&&(c[h+1]&240)===240?"audio":null},Mm=function(c){for(var h=0;h+5<c.length;){if(c[h]!==255||(c[h+1]&246)!==240){h++;continue}return Vm[(c[h+2]&60)>>>2]}return null},Rm=function(c){var h,y,v,b;h=10,c[5]&64&&(h+=4,h+=Ku(c.subarray(10,14)));do{if(y=Ku(c.subarray(h+4,h+8)),y<1)return null;if(b=String.fromCharCode(c[h],c[h+1],c[h+2],c[h+3]),b==="PRIV"){v=c.subarray(h+10,h+y+10);for(var _=0;_<v.byteLength;_++)if(v[_]===0){var H=Om(v,0,_);if(H==="com.apple.streaming.transportStreamTimestamp"){var X=v.subarray(_+1),K=(X[3]&1)<<30|X[4]<<22|X[5]<<14|X[6]<<6|X[7]>>>2;return K*=4,K+=X[7]&3,K}break}}h+=10,h+=y}while(h<c.byteLength);return null},co={isLikelyAacData:Nm,parseId3TagSize:Qu,parseAdtsSize:Pm,parseType:Lm,parseSampleRate:Mm,parseAacTimestamp:Rm},qm=n,Wu=co,Ns;Ns=function(){var c=new Uint8Array,h=0;Ns.prototype.init.call(this),this.setTimestamp=function(y){h=y},this.push=function(y){var v=0,b=0,_,H,X,K;for(c.length?(K=c.length,c=new Uint8Array(y.byteLength+K),c.set(c.subarray(0,K)),c.set(y,K)):c=y;c.length-b>=3;){if(c[b]===73&&c[b+1]===68&&c[b+2]===51){if(c.length-b<10||(v=Wu.parseId3TagSize(c,b),b+v>c.length))break;H={type:"timed-metadata",data:c.subarray(b,b+v)},this.trigger("data",H),b+=v;continue}else if((c[b]&255)===255&&(c[b+1]&240)===240){if(c.length-b<7||(v=Wu.parseAdtsSize(c,b),b+v>c.length))break;X={type:"audio",data:c.subarray(b,b+v),pts:h,dts:h},this.trigger("data",X),b+=v;continue}b++}_=c.length-b,_>0?c=c.subarray(b):c=new Uint8Array},this.reset=function(){c=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){c=new Uint8Array,this.trigger("endedtimeline")}},Ns.prototype=new qm;var Fm=Ns,Um=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],zm=Um,Hm=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],jm=Hm,Is=n,Lr=ne,Mr=me,Os=Jn,Nn=ee,$n=xm,Ps=et,Ju=wm,Xm=Bm.H264Stream,Gm=Fm,Qm=co.isLikelyAacData,Ym=et.ONE_SECOND_IN_TS,Zu=zm,$u=jm,Ls,Rr,Ms,xi,Km=function(c,h){h.stream=c,this.trigger("log",h)},ec=function(c,h){for(var y=Object.keys(h),v=0;v<y.length;v++){var b=y[v];b==="headOfPipeline"||!h[b].on||h[b].on("log",Km.bind(c,b))}},tc=function(c,h){var y;if(c.length!==h.length)return!1;for(y=0;y<c.length;y++)if(c[y]!==h[y])return!1;return!0},nc=function(c,h,y,v,b,_){var H=y-h,X=v-h,K=b-y;return{start:{dts:c,pts:c+H},end:{dts:c+X,pts:c+K},prependedContentDuration:_,baseMediaDecodeTime:c}};Rr=function(c,h){var y=[],v,b=0,_=0,H=1/0;h=h||{},v=h.firstSequenceNumber||0,Rr.prototype.init.call(this),this.push=function(X){Nn.collectDtsInfo(c,X),c&&Zu.forEach(function(K){c[K]=X[K]}),y.push(X)},this.setEarliestDts=function(X){b=X},this.setVideoBaseMediaDecodeTime=function(X){H=X},this.setAudioAppendStart=function(X){_=X},this.flush=function(){var X,K,$,ie,pe,Le,ye;if(y.length===0){this.trigger("done","AudioSegmentStream");return}X=Os.trimAdtsFramesByEarliestDts(y,c,b),c.baseMediaDecodeTime=Nn.calculateTrackBaseMediaDecodeTime(c,h.keepOriginalTimestamps),ye=Os.prefixWithSilence(c,X,_,H),c.samples=Os.generateSampleTable(X),$=Lr.mdat(Os.concatenateFrameData(X)),y=[],K=Lr.moof(v,[c]),ie=new Uint8Array(K.byteLength+$.byteLength),v++,ie.set(K),ie.set($,K.byteLength),Nn.clearDtsInfo(c),pe=Math.ceil(Ym*1024/c.samplerate),X.length&&(Le=X.length*pe,this.trigger("segmentTimingInfo",nc(Ps.audioTsToVideoTs(c.baseMediaDecodeTime,c.samplerate),X[0].dts,X[0].pts,X[0].dts+Le,X[0].pts+Le,ye||0)),this.trigger("timingInfo",{start:X[0].pts,end:X[0].pts+Le})),this.trigger("data",{track:c,boxes:ie}),this.trigger("done","AudioSegmentStream")},this.reset=function(){Nn.clearDtsInfo(c),y=[],this.trigger("reset")}},Rr.prototype=new Is,Ls=function(c,h){var y,v=[],b=[],_,H;h=h||{},y=h.firstSequenceNumber||0,Ls.prototype.init.call(this),delete c.minPTS,this.gopCache_=[],this.push=function(X){Nn.collectDtsInfo(c,X),X.nalUnitType==="seq_parameter_set_rbsp"&&!_&&(_=X.config,c.sps=[X.data],$u.forEach(function(K){c[K]=_[K]},this)),X.nalUnitType==="pic_parameter_set_rbsp"&&!H&&(H=X.data,c.pps=[X.data]),v.push(X)},this.flush=function(){for(var X,K,$,ie,pe,Le,ye=0,ze,We;v.length&&v[0].nalUnitType!=="access_unit_delimiter_rbsp";)v.shift();if(v.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(X=Mr.groupNalsIntoFrames(v),$=Mr.groupFramesIntoGops(X),$[0][0].keyFrame||(K=this.getGopForFusion_(v[0],c),K?(ye=K.duration,$.unshift(K),$.byteLength+=K.byteLength,$.nalCount+=K.nalCount,$.pts=K.pts,$.dts=K.dts,$.duration+=K.duration):$=Mr.extendFirstKeyFrame($)),b.length){var It;if(h.alignGopsAtEnd?It=this.alignGopsAtEnd_($):It=this.alignGopsAtStart_($),!It){this.gopCache_.unshift({gop:$.pop(),pps:c.pps,sps:c.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),v=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}Nn.clearDtsInfo(c),$=It}Nn.collectDtsInfo(c,$),c.samples=Mr.generateSampleTable($),pe=Lr.mdat(Mr.concatenateNalData($)),c.baseMediaDecodeTime=Nn.calculateTrackBaseMediaDecodeTime(c,h.keepOriginalTimestamps),this.trigger("processedGopsInfo",$.map(function(hn){return{pts:hn.pts,dts:hn.dts,byteLength:hn.byteLength}})),ze=$[0],We=$[$.length-1],this.trigger("segmentTimingInfo",nc(c.baseMediaDecodeTime,ze.dts,ze.pts,We.dts+We.duration,We.pts+We.duration,ye)),this.trigger("timingInfo",{start:$[0].pts,end:$[$.length-1].pts+$[$.length-1].duration}),this.gopCache_.unshift({gop:$.pop(),pps:c.pps,sps:c.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),v=[],this.trigger("baseMediaDecodeTime",c.baseMediaDecodeTime),this.trigger("timelineStartInfo",c.timelineStartInfo),ie=Lr.moof(y,[c]),Le=new Uint8Array(ie.byteLength+pe.byteLength),y++,Le.set(ie),Le.set(pe,ie.byteLength),this.trigger("data",{track:c,boxes:Le}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),v=[],this.gopCache_.length=0,b.length=0,this.trigger("reset")},this.resetStream_=function(){Nn.clearDtsInfo(c),_=void 0,H=void 0},this.getGopForFusion_=function(X){var K=45e3,$=1/0,ie,pe,Le,ye,ze;for(ze=0;ze<this.gopCache_.length;ze++)ye=this.gopCache_[ze],Le=ye.gop,!(!(c.pps&&tc(c.pps[0],ye.pps[0]))||!(c.sps&&tc(c.sps[0],ye.sps[0])))&&(Le.dts<c.timelineStartInfo.dts||(ie=X.dts-Le.dts-Le.duration,ie>=-1e4&&ie<=K&&(!pe||$>ie)&&(pe=ye,$=ie)));return pe?pe.gop:null},this.alignGopsAtStart_=function(X){var K,$,ie,pe,Le,ye,ze,We;for(Le=X.byteLength,ye=X.nalCount,ze=X.duration,K=$=0;K<b.length&&$<X.length&&(ie=b[K],pe=X[$],ie.pts!==pe.pts);){if(pe.pts>ie.pts){K++;continue}$++,Le-=pe.byteLength,ye-=pe.nalCount,ze-=pe.duration}return $===0?X:$===X.length?null:(We=X.slice($),We.byteLength=Le,We.duration=ze,We.nalCount=ye,We.pts=We[0].pts,We.dts=We[0].dts,We)},this.alignGopsAtEnd_=function(X){var K,$,ie,pe,Le,ye;for(K=b.length-1,$=X.length-1,Le=null,ye=!1;K>=0&&$>=0;){if(ie=b[K],pe=X[$],ie.pts===pe.pts){ye=!0;break}if(ie.pts>pe.pts){K--;continue}K===b.length-1&&(Le=$),$--}if(!ye&&Le===null)return null;var ze;if(ye?ze=$:ze=Le,ze===0)return X;var We=X.slice(ze),It=We.reduce(function(hn,ci){return hn.byteLength+=ci.byteLength,hn.duration+=ci.duration,hn.nalCount+=ci.nalCount,hn},{byteLength:0,duration:0,nalCount:0});return We.byteLength=It.byteLength,We.duration=It.duration,We.nalCount=It.nalCount,We.pts=We[0].pts,We.dts=We[0].dts,We},this.alignGopsWith=function(X){b=X}},Ls.prototype=new Is,xi=function(c,h){this.numberOfTracks=0,this.metadataStream=h,c=c||{},typeof c.remux<"u"?this.remuxTracks=!!c.remux:this.remuxTracks=!0,typeof c.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=c.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,xi.prototype.init.call(this),this.push=function(y){if(y.content||y.text)return this.pendingCaptions.push(y);if(y.frames)return this.pendingMetadata.push(y);this.pendingTracks.push(y.track),this.pendingBytes+=y.boxes.byteLength,y.track.type==="video"&&(this.videoTrack=y.track,this.pendingBoxes.push(y.boxes)),y.track.type==="audio"&&(this.audioTrack=y.track,this.pendingBoxes.unshift(y.boxes))}},xi.prototype=new Is,xi.prototype.flush=function(c){var h=0,y={captions:[],captionStreams:{},metadata:[],info:{}},v,b,_,H=0,X;if(this.pendingTracks.length<this.numberOfTracks){if(c!=="VideoSegmentStream"&&c!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(H=this.videoTrack.timelineStartInfo.pts,$u.forEach(function(K){y.info[K]=this.videoTrack[K]},this)):this.audioTrack&&(H=this.audioTrack.timelineStartInfo.pts,Zu.forEach(function(K){y.info[K]=this.audioTrack[K]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?y.type=this.pendingTracks[0].type:y.type="combined",this.emittedTracks+=this.pendingTracks.length,_=Lr.initSegment(this.pendingTracks),y.initSegment=new Uint8Array(_.byteLength),y.initSegment.set(_),y.data=new Uint8Array(this.pendingBytes),X=0;X<this.pendingBoxes.length;X++)y.data.set(this.pendingBoxes[X],h),h+=this.pendingBoxes[X].byteLength;for(X=0;X<this.pendingCaptions.length;X++)v=this.pendingCaptions[X],v.startTime=Ps.metadataTsToSeconds(v.startPts,H,this.keepOriginalTimestamps),v.endTime=Ps.metadataTsToSeconds(v.endPts,H,this.keepOriginalTimestamps),y.captionStreams[v.stream]=!0,y.captions.push(v);for(X=0;X<this.pendingMetadata.length;X++)b=this.pendingMetadata[X],b.cueTime=Ps.metadataTsToSeconds(b.pts,H,this.keepOriginalTimestamps),y.metadata.push(b);for(y.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",y),X=0;X<y.captions.length;X++)v=y.captions[X],this.trigger("caption",v);for(X=0;X<y.metadata.length;X++)b=y.metadata[X],this.trigger("id3Frame",b)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},xi.prototype.setRemux=function(c){this.remuxTracks=c},Ms=function(c){var h=this,y=!0,v,b;Ms.prototype.init.call(this),c=c||{},this.baseMediaDecodeTime=c.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var _={};this.transmuxPipeline_=_,_.type="aac",_.metadataStream=new $n.MetadataStream,_.aacStream=new Gm,_.audioTimestampRolloverStream=new $n.TimestampRolloverStream("audio"),_.timedMetadataTimestampRolloverStream=new $n.TimestampRolloverStream("timed-metadata"),_.adtsStream=new Ju,_.coalesceStream=new xi(c,_.metadataStream),_.headOfPipeline=_.aacStream,_.aacStream.pipe(_.audioTimestampRolloverStream).pipe(_.adtsStream),_.aacStream.pipe(_.timedMetadataTimestampRolloverStream).pipe(_.metadataStream).pipe(_.coalesceStream),_.metadataStream.on("timestamp",function(H){_.aacStream.setTimestamp(H.timeStamp)}),_.aacStream.on("data",function(H){H.type!=="timed-metadata"&&H.type!=="audio"||_.audioSegmentStream||(b=b||{timelineStartInfo:{baseMediaDecodeTime:h.baseMediaDecodeTime},codec:"adts",type:"audio"},_.coalesceStream.numberOfTracks++,_.audioSegmentStream=new Rr(b,c),_.audioSegmentStream.on("log",h.getLogTrigger_("audioSegmentStream")),_.audioSegmentStream.on("timingInfo",h.trigger.bind(h,"audioTimingInfo")),_.adtsStream.pipe(_.audioSegmentStream).pipe(_.coalesceStream),h.trigger("trackinfo",{hasAudio:!!b,hasVideo:!!v}))}),_.coalesceStream.on("data",this.trigger.bind(this,"data")),_.coalesceStream.on("done",this.trigger.bind(this,"done")),ec(this,_)},this.setupTsPipeline=function(){var _={};this.transmuxPipeline_=_,_.type="ts",_.metadataStream=new $n.MetadataStream,_.packetStream=new $n.TransportPacketStream,_.parseStream=new $n.TransportParseStream,_.elementaryStream=new $n.ElementaryStream,_.timestampRolloverStream=new $n.TimestampRolloverStream,_.adtsStream=new Ju,_.h264Stream=new Xm,_.captionStream=new $n.CaptionStream(c),_.coalesceStream=new xi(c,_.metadataStream),_.headOfPipeline=_.packetStream,_.packetStream.pipe(_.parseStream).pipe(_.elementaryStream).pipe(_.timestampRolloverStream),_.timestampRolloverStream.pipe(_.h264Stream),_.timestampRolloverStream.pipe(_.adtsStream),_.timestampRolloverStream.pipe(_.metadataStream).pipe(_.coalesceStream),_.h264Stream.pipe(_.captionStream).pipe(_.coalesceStream),_.elementaryStream.on("data",function(H){var X;if(H.type==="metadata"){for(X=H.tracks.length;X--;)!v&&H.tracks[X].type==="video"?(v=H.tracks[X],v.timelineStartInfo.baseMediaDecodeTime=h.baseMediaDecodeTime):!b&&H.tracks[X].type==="audio"&&(b=H.tracks[X],b.timelineStartInfo.baseMediaDecodeTime=h.baseMediaDecodeTime);v&&!_.videoSegmentStream&&(_.coalesceStream.numberOfTracks++,_.videoSegmentStream=new Ls(v,c),_.videoSegmentStream.on("log",h.getLogTrigger_("videoSegmentStream")),_.videoSegmentStream.on("timelineStartInfo",function(K){b&&!c.keepOriginalTimestamps&&(b.timelineStartInfo=K,_.audioSegmentStream.setEarliestDts(K.dts-h.baseMediaDecodeTime))}),_.videoSegmentStream.on("processedGopsInfo",h.trigger.bind(h,"gopInfo")),_.videoSegmentStream.on("segmentTimingInfo",h.trigger.bind(h,"videoSegmentTimingInfo")),_.videoSegmentStream.on("baseMediaDecodeTime",function(K){b&&_.audioSegmentStream.setVideoBaseMediaDecodeTime(K)}),_.videoSegmentStream.on("timingInfo",h.trigger.bind(h,"videoTimingInfo")),_.h264Stream.pipe(_.videoSegmentStream).pipe(_.coalesceStream)),b&&!_.audioSegmentStream&&(_.coalesceStream.numberOfTracks++,_.audioSegmentStream=new Rr(b,c),_.audioSegmentStream.on("log",h.getLogTrigger_("audioSegmentStream")),_.audioSegmentStream.on("timingInfo",h.trigger.bind(h,"audioTimingInfo")),_.audioSegmentStream.on("segmentTimingInfo",h.trigger.bind(h,"audioSegmentTimingInfo")),_.adtsStream.pipe(_.audioSegmentStream).pipe(_.coalesceStream)),h.trigger("trackinfo",{hasAudio:!!b,hasVideo:!!v})}}),_.coalesceStream.on("data",this.trigger.bind(this,"data")),_.coalesceStream.on("id3Frame",function(H){H.dispatchType=_.metadataStream.dispatchType,h.trigger("id3Frame",H)}),_.coalesceStream.on("caption",this.trigger.bind(this,"caption")),_.coalesceStream.on("done",this.trigger.bind(this,"done")),ec(this,_)},this.setBaseMediaDecodeTime=function(_){var H=this.transmuxPipeline_;c.keepOriginalTimestamps||(this.baseMediaDecodeTime=_),b&&(b.timelineStartInfo.dts=void 0,b.timelineStartInfo.pts=void 0,Nn.clearDtsInfo(b),H.audioTimestampRolloverStream&&H.audioTimestampRolloverStream.discontinuity()),v&&(H.videoSegmentStream&&(H.videoSegmentStream.gopCache_=[]),v.timelineStartInfo.dts=void 0,v.timelineStartInfo.pts=void 0,Nn.clearDtsInfo(v),H.captionStream.reset()),H.timestampRolloverStream&&H.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(_){b&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(_)},this.setRemux=function(_){var H=this.transmuxPipeline_;c.remux=_,H&&H.coalesceStream&&H.coalesceStream.setRemux(_)},this.alignGopsWith=function(_){v&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(_)},this.getLogTrigger_=function(_){var H=this;return function(X){X.stream=_,H.trigger("log",X)}},this.push=function(_){if(y){var H=Qm(_);H&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!H&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),y=!1}this.transmuxPipeline_.headOfPipeline.push(_)},this.flush=function(){y=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},Ms.prototype=new Is;var Wm={Transmuxer:Ms},Jm=function(c){return c>>>0},Zm=function(c){return("00"+c.toString(16)).slice(-2)},Rs={toUnsigned:Jm,toHexString:Zm},$m=function(c){var h="";return h+=String.fromCharCode(c[0]),h+=String.fromCharCode(c[1]),h+=String.fromCharCode(c[2]),h+=String.fromCharCode(c[3]),h},ic=$m,ep=Rs.toUnsigned,tp=ic,rc=function(c,h){var y=[],v,b,_,H,X;if(!h.length)return null;for(v=0;v<c.byteLength;)b=ep(c[v]<<24|c[v+1]<<16|c[v+2]<<8|c[v+3]),_=tp(c.subarray(v+4,v+8)),H=b>1?v+b:c.byteLength,_===h[0]&&(h.length===1?y.push(c.subarray(v+8,H)):(X=rc(c.subarray(v+8,H),h.slice(1)),X.length&&(y=y.concat(X)))),v=H;return y},ho=rc,np=Rs.toUnsigned,ip=a.getUint64,rp=function(c){var h={version:c[0],flags:new Uint8Array(c.subarray(1,4))};return h.version===1?h.baseMediaDecodeTime=ip(c.subarray(4)):h.baseMediaDecodeTime=np(c[4]<<24|c[5]<<16|c[6]<<8|c[7]),h},fo=rp,sp=function(c){var h=new DataView(c.buffer,c.byteOffset,c.byteLength),y={version:c[0],flags:new Uint8Array(c.subarray(1,4)),trackId:h.getUint32(4)},v=y.flags[2]&1,b=y.flags[2]&2,_=y.flags[2]&8,H=y.flags[2]&16,X=y.flags[2]&32,K=y.flags[0]&65536,$=y.flags[0]&131072,ie;return ie=8,v&&(ie+=4,y.baseDataOffset=h.getUint32(12),ie+=4),b&&(y.sampleDescriptionIndex=h.getUint32(ie),ie+=4),_&&(y.defaultSampleDuration=h.getUint32(ie),ie+=4),H&&(y.defaultSampleSize=h.getUint32(ie),ie+=4),X&&(y.defaultSampleFlags=h.getUint32(ie)),K&&(y.durationIsEmpty=!0),!v&&$&&(y.baseDataOffsetIsMoof=!0),y},sc=sp,ap=function(c){return{isLeading:(c[0]&12)>>>2,dependsOn:c[0]&3,isDependedOn:(c[1]&192)>>>6,hasRedundancy:(c[1]&48)>>>4,paddingValue:(c[1]&14)>>>1,isNonSyncSample:c[1]&1,degradationPriority:c[2]<<8|c[3]}},op=ap,ac=op,lp=function(c){var h={version:c[0],flags:new Uint8Array(c.subarray(1,4)),samples:[]},y=new DataView(c.buffer,c.byteOffset,c.byteLength),v=h.flags[2]&1,b=h.flags[2]&4,_=h.flags[1]&1,H=h.flags[1]&2,X=h.flags[1]&4,K=h.flags[1]&8,$=y.getUint32(4),ie=8,pe;for(v&&(h.dataOffset=y.getInt32(ie),ie+=4),b&&$&&(pe={flags:ac(c.subarray(ie,ie+4))},ie+=4,_&&(pe.duration=y.getUint32(ie),ie+=4),H&&(pe.size=y.getUint32(ie),ie+=4),K&&(h.version===1?pe.compositionTimeOffset=y.getInt32(ie):pe.compositionTimeOffset=y.getUint32(ie),ie+=4),h.samples.push(pe),$--);$--;)pe={},_&&(pe.duration=y.getUint32(ie),ie+=4),H&&(pe.size=y.getUint32(ie),ie+=4),X&&(pe.flags=ac(c.subarray(ie,ie+4)),ie+=4),K&&(h.version===1?pe.compositionTimeOffset=y.getInt32(ie):pe.compositionTimeOffset=y.getUint32(ie),ie+=4),h.samples.push(pe);return h},oc=lp,lc={tfdt:fo,trun:oc},uc={parseTfdt:lc.tfdt,parseTrun:lc.trun},up=function(c){for(var h=0,y=String.fromCharCode(c[h]),v="";y!=="\0";)v+=y,h++,y=String.fromCharCode(c[h]);return v+=y,v},cp={uint8ToCString:up},qs=cp.uint8ToCString,dp=a.getUint64,hp=function(c){var h=4,y=c[0],v,b,_,H,X,K,$,ie;if(y===0){v=qs(c.subarray(h)),h+=v.length,b=qs(c.subarray(h)),h+=b.length;var pe=new DataView(c.buffer);_=pe.getUint32(h),h+=4,X=pe.getUint32(h),h+=4,K=pe.getUint32(h),h+=4,$=pe.getUint32(h),h+=4}else if(y===1){var pe=new DataView(c.buffer);_=pe.getUint32(h),h+=4,H=dp(c.subarray(h)),h+=8,K=pe.getUint32(h),h+=4,$=pe.getUint32(h),h+=4,v=qs(c.subarray(h)),h+=v.length,b=qs(c.subarray(h)),h+=b.length}ie=new Uint8Array(c.subarray(h,c.byteLength));var Le={scheme_id_uri:v,value:b,timescale:_||1,presentation_time:H,presentation_time_delta:X,event_duration:K,id:$,message_data:ie};return mp(y,Le)?Le:void 0},fp=function(c,h,y,v){return c||c===0?c/h:v+y/h},mp=function(c,h){var y=h.scheme_id_uri!=="\0",v=c===0&&cc(h.presentation_time_delta)&&y,b=c===1&&cc(h.presentation_time)&&y;return!(c>1)&&v||b},cc=function(c){return c!==void 0||c!==null},pp={parseEmsgBox:hp,scaleTime:fp},qr;typeof window<"u"?qr=window:typeof i<"u"?qr=i:typeof self<"u"?qr=self:qr={};var dc=qr,Fs=Rs.toUnsigned,Fr=Rs.toHexString,kt=ho,Gi=ic,mo=pp,gp=sc,vp=oc,yp=fo,Cp=a.getUint64,hc,fc,mc,pc,gc,po,vc,go=dc,bp=Uu.parseId3Frames;hc=function(c){var h={},y=kt(c,["moov","trak"]);return y.reduce(function(v,b){var _,H,X,K,$;return _=kt(b,["tkhd"])[0],!_||(H=_[0],X=H===0?12:20,K=Fs(_[X]<<24|_[X+1]<<16|_[X+2]<<8|_[X+3]),$=kt(b,["mdia","mdhd"])[0],!$)?null:(H=$[0],X=H===0?12:20,v[K]=Fs($[X]<<24|$[X+1]<<16|$[X+2]<<8|$[X+3]),v)},h)},fc=function(c,h){var y;y=kt(h,["moof","traf"]);var v=y.reduce(function(b,_){var H=kt(_,["tfhd"])[0],X=Fs(H[4]<<24|H[5]<<16|H[6]<<8|H[7]),K=c[X]||9e4,$=kt(_,["tfdt"])[0],ie=new DataView($.buffer,$.byteOffset,$.byteLength),pe;$[0]===1?pe=Cp($.subarray(4,12)):pe=ie.getUint32(4);let Le;return typeof pe=="bigint"?Le=pe/go.BigInt(K):typeof pe=="number"&&!isNaN(pe)&&(Le=pe/K),Le<Number.MAX_SAFE_INTEGER&&(Le=Number(Le)),Le<b&&(b=Le),b},1/0);return typeof v=="bigint"||isFinite(v)?v:0},mc=function(c,h){var y=kt(h,["moof","traf"]),v=0,b=0,_;if(y&&y.length){var H=kt(y[0],["tfhd"])[0],X=kt(y[0],["trun"])[0],K=kt(y[0],["tfdt"])[0];if(H){var $=gp(H);_=$.trackId}if(K){var ie=yp(K);v=ie.baseMediaDecodeTime}if(X){var pe=vp(X);pe.samples&&pe.samples.length&&(b=pe.samples[0].compositionTimeOffset||0)}}var Le=c[_]||9e4;typeof v=="bigint"&&(b=go.BigInt(b),Le=go.BigInt(Le));var ye=(v+b)/Le;return typeof ye=="bigint"&&ye<Number.MAX_SAFE_INTEGER&&(ye=Number(ye)),ye},pc=function(c){var h=kt(c,["moov","trak"]),y=[];return h.forEach(function(v){var b=kt(v,["mdia","hdlr"]),_=kt(v,["tkhd"]);b.forEach(function(H,X){var K=Gi(H.subarray(8,12)),$=_[X],ie,pe,Le;K==="vide"&&(ie=new DataView($.buffer,$.byteOffset,$.byteLength),pe=ie.getUint8(0),Le=pe===0?ie.getUint32(12):ie.getUint32(20),y.push(Le))})}),y},po=function(c){var h=c[0],y=h===0?12:20;return Fs(c[y]<<24|c[y+1]<<16|c[y+2]<<8|c[y+3])},gc=function(c){var h=kt(c,["moov","trak"]),y=[];return h.forEach(function(v){var b={},_=kt(v,["tkhd"])[0],H,X;_&&(H=new DataView(_.buffer,_.byteOffset,_.byteLength),X=H.getUint8(0),b.id=X===0?H.getUint32(12):H.getUint32(20));var K=kt(v,["mdia","hdlr"])[0];if(K){var $=Gi(K.subarray(8,12));$==="vide"?b.type="video":$==="soun"?b.type="audio":b.type=$}var ie=kt(v,["mdia","minf","stbl","stsd"])[0];if(ie){var pe=ie.subarray(8);b.codec=Gi(pe.subarray(4,8));var Le=kt(pe,[b.codec])[0],ye,ze;Le&&(/^[asm]vc[1-9]$/i.test(b.codec)?(ye=Le.subarray(78),ze=Gi(ye.subarray(4,8)),ze==="avcC"&&ye.length>11?(b.codec+=".",b.codec+=Fr(ye[9]),b.codec+=Fr(ye[10]),b.codec+=Fr(ye[11])):b.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(b.codec)?(ye=Le.subarray(28),ze=Gi(ye.subarray(4,8)),ze==="esds"&&ye.length>20&&ye[19]!==0?(b.codec+="."+Fr(ye[19]),b.codec+="."+Fr(ye[20]>>>2&63).replace(/^0/,"")):b.codec="mp4a.40.2"):b.codec=b.codec.toLowerCase())}var We=kt(v,["mdia","mdhd"])[0];We&&(b.timescale=po(We)),y.push(b)}),y},vc=function(c,h=0){var y=kt(c,["emsg"]);return y.map(v=>{var b=mo.parseEmsgBox(new Uint8Array(v)),_=bp(b.message_data);return{cueTime:mo.scaleTime(b.presentation_time,b.timescale,b.presentation_time_delta,h),duration:mo.scaleTime(b.event_duration,b.timescale),frames:_}})};var Ur={findBox:kt,parseType:Gi,timescale:hc,startTime:fc,compositionStartTime:mc,videoTrackIds:pc,tracks:gc,getTimescaleFromMediaHeader:po,getEmsgID3:vc};const{parseTrun:Tp}=uc,{findBox:yc}=Ur;var Cc=dc,kp=function(c){var h=yc(c,["moof","traf"]),y=yc(c,["mdat"]),v=[];return y.forEach(function(b,_){var H=h[_];v.push({mdat:b,traf:H})}),v},Ep=function(c,h,y){var v=h,b=y.defaultSampleDuration||0,_=y.defaultSampleSize||0,H=y.trackId,X=[];return c.forEach(function(K){var $=Tp(K),ie=$.samples;ie.forEach(function(pe){pe.duration===void 0&&(pe.duration=b),pe.size===void 0&&(pe.size=_),pe.trackId=H,pe.dts=v,pe.compositionTimeOffset===void 0&&(pe.compositionTimeOffset=0),typeof v=="bigint"?(pe.pts=v+Cc.BigInt(pe.compositionTimeOffset),v+=Cc.BigInt(pe.duration)):(pe.pts=v+pe.compositionTimeOffset,v+=pe.duration)}),X=X.concat(ie)}),X},bc={getMdatTrafPairs:kp,parseSamples:Ep},xp=Ut.discardEmulationPreventionBytes,_p=te.CaptionStream,vo=ho,Ap=fo,wp=sc,{getMdatTrafPairs:Sp,parseSamples:Dp}=bc,Bp=function(c,h){for(var y=c,v=0;v<h.length;v++){var b=h[v];if(y<b.size)return b;y-=b.size}return null},Vp=function(c,h,y){var v=new DataView(c.buffer,c.byteOffset,c.byteLength),b={logs:[],seiNals:[]},_,H,X,K;for(H=0;H+4<c.length;H+=X)if(X=v.getUint32(H),H+=4,!(X<=0))switch(c[H]&31){case 6:var $=c.subarray(H+1,H+1+X),ie=Bp(H,h);if(_={nalUnitType:"sei_rbsp",size:X,data:$,escapedRBSP:xp($),trackId:y},ie)_.pts=ie.pts,_.dts=ie.dts,K=ie;else if(K)_.pts=K.pts,_.dts=K.dts;else{b.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+H+" for trackId "+y+". See mux.js#223."});break}b.seiNals.push(_);break}return b},Np=function(c,h){var y={},v=Sp(c);return v.forEach(function(b){var _=b.mdat,H=b.traf,X=vo(H,["tfhd"]),K=wp(X[0]),$=K.trackId,ie=vo(H,["tfdt"]),pe=ie.length>0?Ap(ie[0]).baseMediaDecodeTime:0,Le=vo(H,["trun"]),ye,ze;h===$&&Le.length>0&&(ye=Dp(Le,pe,K),ze=Vp(_,ye,$),y[$]||(y[$]={seiNals:[],logs:[]}),y[$].seiNals=y[$].seiNals.concat(ze.seiNals),y[$].logs=y[$].logs.concat(ze.logs))}),y},Ip=function(c,h,y){var v;if(h===null)return null;v=Np(c,h);var b=v[h]||{};return{seiNals:b.seiNals,logs:b.logs,timescale:y}},Op=function(){var c=!1,h,y,v,b,_,H;this.isInitialized=function(){return c},this.init=function(X){h=new _p,c=!0,H=X?X.isPartial:!1,h.on("data",function(K){K.startTime=K.startPts/b,K.endTime=K.endPts/b,_.captions.push(K),_.captionStreams[K.stream]=!0}),h.on("log",function(K){_.logs.push(K)})},this.isNewInit=function(X,K){return X&&X.length===0||K&&typeof K=="object"&&Object.keys(K).length===0?!1:v!==X[0]||b!==K[v]},this.parse=function(X,K,$){var ie;if(this.isInitialized()){if(!K||!$)return null;if(this.isNewInit(K,$))v=K[0],b=$[v];else if(v===null||!b)return y.push(X),null}else return null;for(;y.length>0;){var pe=y.shift();this.parse(pe,K,$)}return ie=Ip(X,v,b),ie&&ie.logs&&(_.logs=_.logs.concat(ie.logs)),ie===null||!ie.seiNals?_.logs.length?{logs:_.logs,captions:[],captionStreams:[]}:null:(this.pushNals(ie.seiNals),this.flushStream(),_)},this.pushNals=function(X){if(!this.isInitialized()||!X||X.length===0)return null;X.forEach(function(K){h.push(K)})},this.flushStream=function(){if(!this.isInitialized())return null;H?h.partialFlush():h.flush()},this.clearParsedCaptions=function(){_.captions=[],_.captionStreams={},_.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;h.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){y=[],v=null,b=null,_?this.clearParsedCaptions():_={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},Pp=Op;const{parseTfdt:Lp}=uc,ui=ho,{getTimescaleFromMediaHeader:Mp}=Ur,{parseSamples:Rp,getMdatTrafPairs:qp}=bc;var Tc=function(){let c=9e4;this.init=function(h){const y=ui(h,["moov","trak","mdia","mdhd"])[0];y&&(c=Mp(y))},this.parseSegment=function(h){const y=[],v=qp(h);let b=0;return v.forEach(function(_){const H=_.mdat,X=_.traf,K=ui(X,["tfdt"])[0],$=ui(X,["tfhd"])[0],ie=ui(X,["trun"]);if(K&&(b=Lp(K).baseMediaDecodeTime),ie.length&&$){const pe=Rp(ie,b,$);let Le=0;pe.forEach(function(ye){const ze="utf-8",We=new TextDecoder(ze),It=H.slice(Le,Le+ye.size);if(ui(It,["vtte"])[0]){Le+=ye.size;return}ui(It,["vttc"]).forEach(function(zr){const Hr=ui(zr,["payl"])[0],jr=ui(zr,["sttg"])[0],Xr=ye.pts/c,Hs=(ye.pts+ye.duration)/c;let ft,Gr;if(Hr)try{ft=We.decode(Hr)}catch(In){console.error(In)}if(jr)try{Gr=We.decode(jr)}catch(In){console.error(In)}ye.duration&&ft&&y.push({cueText:ft,start:Xr,end:Hs,settings:Gr})}),Le+=ye.size})}}),y}},yo=we,kc=function(c){var h=c[1]&31;return h<<=8,h|=c[2],h},Us=function(c){return!!(c[1]&64)},zs=function(c){var h=0;return(c[3]&48)>>>4>1&&(h+=c[4]+1),h},Fp=function(c,h){var y=kc(c);return y===0?"pat":y===h?"pmt":h?"pes":null},Up=function(c){var h=Us(c),y=4+zs(c);return h&&(y+=c[y]+1),(c[y+10]&31)<<8|c[y+11]},zp=function(c){var h={},y=Us(c),v=4+zs(c);if(y&&(v+=c[v]+1),!!(c[v+5]&1)){var b,_,H;b=(c[v+1]&15)<<8|c[v+2],_=3+b-4,H=(c[v+10]&15)<<8|c[v+11];for(var X=12+H;X<_;){var K=v+X;h[(c[K+1]&31)<<8|c[K+2]]=c[K],X+=((c[K+3]&15)<<8|c[K+4])+5}return h}},Hp=function(c,h){var y=kc(c),v=h[y];switch(v){case yo.H264_STREAM_TYPE:return"video";case yo.ADTS_STREAM_TYPE:return"audio";case yo.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},jp=function(c){var h=Us(c);if(!h)return null;var y=4+zs(c);if(y>=c.byteLength)return null;var v=null,b;return b=c[y+7],b&192&&(v={},v.pts=(c[y+9]&14)<<27|(c[y+10]&255)<<20|(c[y+11]&254)<<12|(c[y+12]&255)<<5|(c[y+13]&254)>>>3,v.pts*=4,v.pts+=(c[y+13]&6)>>>1,v.dts=v.pts,b&64&&(v.dts=(c[y+14]&14)<<27|(c[y+15]&255)<<20|(c[y+16]&254)<<12|(c[y+17]&255)<<5|(c[y+18]&254)>>>3,v.dts*=4,v.dts+=(c[y+18]&6)>>>1)),v},Co=function(c){switch(c){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Xp=function(c){for(var h=4+zs(c),y=c.subarray(h),v=0,b=0,_=!1,H;b<y.byteLength-3;b++)if(y[b+2]===1){v=b+5;break}for(;v<y.byteLength;)switch(y[v]){case 0:if(y[v-1]!==0){v+=2;break}else if(y[v-2]!==0){v++;break}b+3!==v-2&&(H=Co(y[b+3]&31),H==="slice_layer_without_partitioning_rbsp_idr"&&(_=!0));do v++;while(y[v]!==1&&v<y.length);b=v-2,v+=3;break;case 1:if(y[v-1]!==0||y[v-2]!==0){v+=3;break}H=Co(y[b+3]&31),H==="slice_layer_without_partitioning_rbsp_idr"&&(_=!0),b=v-2,v+=3;break;default:v+=3;break}return y=y.subarray(b),v-=b,b=0,y&&y.byteLength>3&&(H=Co(y[b+3]&31),H==="slice_layer_without_partitioning_rbsp_idr"&&(_=!0)),_},Gp={parseType:Fp,parsePat:Up,parsePmt:zp,parsePayloadUnitStartIndicator:Us,parsePesType:Hp,parsePesTime:jp,videoPacketContainsKeyFrame:Xp},Ec=we,Qi=Ct.handleRollover,lt={};lt.ts=Gp,lt.aac=co;var _i=et.ONE_SECOND_IN_TS,Jt=188,Fn=71,Qp=function(c,h){for(var y=0,v=Jt,b,_;v<c.byteLength;){if(c[y]===Fn&&c[v]===Fn){switch(b=c.subarray(y,v),_=lt.ts.parseType(b,h.pid),_){case"pat":h.pid=lt.ts.parsePat(b);break;case"pmt":var H=lt.ts.parsePmt(b);h.table=h.table||{},Object.keys(H).forEach(function(X){h.table[X]=H[X]});break}y+=Jt,v+=Jt;continue}y++,v++}},xc=function(c,h,y){for(var v=0,b=Jt,_,H,X,K,$,ie=!1;b<=c.byteLength;){if(c[v]===Fn&&(c[b]===Fn||b===c.byteLength)){switch(_=c.subarray(v,b),H=lt.ts.parseType(_,h.pid),H){case"pes":X=lt.ts.parsePesType(_,h.table),K=lt.ts.parsePayloadUnitStartIndicator(_),X==="audio"&&K&&($=lt.ts.parsePesTime(_),$&&($.type="audio",y.audio.push($),ie=!0));break}if(ie)break;v+=Jt,b+=Jt;continue}v++,b++}for(b=c.byteLength,v=b-Jt,ie=!1;v>=0;){if(c[v]===Fn&&(c[b]===Fn||b===c.byteLength)){switch(_=c.subarray(v,b),H=lt.ts.parseType(_,h.pid),H){case"pes":X=lt.ts.parsePesType(_,h.table),K=lt.ts.parsePayloadUnitStartIndicator(_),X==="audio"&&K&&($=lt.ts.parsePesTime(_),$&&($.type="audio",y.audio.push($),ie=!0));break}if(ie)break;v-=Jt,b-=Jt;continue}v--,b--}},Yp=function(c,h,y){for(var v=0,b=Jt,_,H,X,K,$,ie,pe,Le,ye=!1,ze={data:[],size:0};b<c.byteLength;){if(c[v]===Fn&&c[b]===Fn){switch(_=c.subarray(v,b),H=lt.ts.parseType(_,h.pid),H){case"pes":if(X=lt.ts.parsePesType(_,h.table),K=lt.ts.parsePayloadUnitStartIndicator(_),X==="video"&&(K&&!ye&&($=lt.ts.parsePesTime(_),$&&($.type="video",y.video.push($),ye=!0)),!y.firstKeyFrame)){if(K&&ze.size!==0){for(ie=new Uint8Array(ze.size),pe=0;ze.data.length;)Le=ze.data.shift(),ie.set(Le,pe),pe+=Le.byteLength;if(lt.ts.videoPacketContainsKeyFrame(ie)){var We=lt.ts.parsePesTime(ie);We?(y.firstKeyFrame=We,y.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}ze.size=0}ze.data.push(_),ze.size+=_.byteLength}break}if(ye&&y.firstKeyFrame)break;v+=Jt,b+=Jt;continue}v++,b++}for(b=c.byteLength,v=b-Jt,ye=!1;v>=0;){if(c[v]===Fn&&c[b]===Fn){switch(_=c.subarray(v,b),H=lt.ts.parseType(_,h.pid),H){case"pes":X=lt.ts.parsePesType(_,h.table),K=lt.ts.parsePayloadUnitStartIndicator(_),X==="video"&&K&&($=lt.ts.parsePesTime(_),$&&($.type="video",y.video.push($),ye=!0));break}if(ye)break;v-=Jt,b-=Jt;continue}v--,b--}},Kp=function(c,h){if(c.audio&&c.audio.length){var y=h;(typeof y>"u"||isNaN(y))&&(y=c.audio[0].dts),c.audio.forEach(function(_){_.dts=Qi(_.dts,y),_.pts=Qi(_.pts,y),_.dtsTime=_.dts/_i,_.ptsTime=_.pts/_i})}if(c.video&&c.video.length){var v=h;if((typeof v>"u"||isNaN(v))&&(v=c.video[0].dts),c.video.forEach(function(_){_.dts=Qi(_.dts,v),_.pts=Qi(_.pts,v),_.dtsTime=_.dts/_i,_.ptsTime=_.pts/_i}),c.firstKeyFrame){var b=c.firstKeyFrame;b.dts=Qi(b.dts,v),b.pts=Qi(b.pts,v),b.dtsTime=b.dts/_i,b.ptsTime=b.pts/_i}}},Wp=function(c){for(var h=!1,y=0,v=null,b=null,_=0,H=0,X;c.length-H>=3;){var K=lt.aac.parseType(c,H);switch(K){case"timed-metadata":if(c.length-H<10){h=!0;break}if(_=lt.aac.parseId3TagSize(c,H),_>c.length){h=!0;break}b===null&&(X=c.subarray(H,H+_),b=lt.aac.parseAacTimestamp(X)),H+=_;break;case"audio":if(c.length-H<7){h=!0;break}if(_=lt.aac.parseAdtsSize(c,H),_>c.length){h=!0;break}v===null&&(X=c.subarray(H,H+_),v=lt.aac.parseSampleRate(X)),y++,H+=_;break;default:H++;break}if(h)return null}if(v===null||b===null)return null;var $=_i/v,ie={audio:[{type:"audio",dts:b,pts:b},{type:"audio",dts:b+y*1024*$,pts:b+y*1024*$}]};return ie},Jp=function(c){var h={pid:null,table:null},y={};Qp(c,h);for(var v in h.table)if(h.table.hasOwnProperty(v)){var b=h.table[v];switch(b){case Ec.H264_STREAM_TYPE:y.video=[],Yp(c,h,y),y.video.length===0&&delete y.video;break;case Ec.ADTS_STREAM_TYPE:y.audio=[],xc(c,h,y),y.audio.length===0&&delete y.audio;break}}return y},Zp=function(c,h){var y=lt.aac.isLikelyAacData(c),v;return y?v=Wp(c):v=Jp(c),!v||!v.audio&&!v.video?null:(Kp(v,h),v)},$p={inspect:Zp,parseAudioPes_:xc};const eg=function(c,h){h.on("data",function(y){const v=y.initSegment;y.initSegment={data:v.buffer,byteOffset:v.byteOffset,byteLength:v.byteLength};const b=y.data;y.data=b.buffer,c.postMessage({action:"data",segment:y,byteOffset:b.byteOffset,byteLength:b.byteLength},[y.data])}),h.on("done",function(y){c.postMessage({action:"done"})}),h.on("gopInfo",function(y){c.postMessage({action:"gopInfo",gopInfo:y})}),h.on("videoSegmentTimingInfo",function(y){const v={start:{decode:et.videoTsToSeconds(y.start.dts),presentation:et.videoTsToSeconds(y.start.pts)},end:{decode:et.videoTsToSeconds(y.end.dts),presentation:et.videoTsToSeconds(y.end.pts)},baseMediaDecodeTime:et.videoTsToSeconds(y.baseMediaDecodeTime)};y.prependedContentDuration&&(v.prependedContentDuration=et.videoTsToSeconds(y.prependedContentDuration)),c.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:v})}),h.on("audioSegmentTimingInfo",function(y){const v={start:{decode:et.videoTsToSeconds(y.start.dts),presentation:et.videoTsToSeconds(y.start.pts)},end:{decode:et.videoTsToSeconds(y.end.dts),presentation:et.videoTsToSeconds(y.end.pts)},baseMediaDecodeTime:et.videoTsToSeconds(y.baseMediaDecodeTime)};y.prependedContentDuration&&(v.prependedContentDuration=et.videoTsToSeconds(y.prependedContentDuration)),c.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:v})}),h.on("id3Frame",function(y){c.postMessage({action:"id3Frame",id3Frame:y})}),h.on("caption",function(y){c.postMessage({action:"caption",caption:y})}),h.on("trackinfo",function(y){c.postMessage({action:"trackinfo",trackInfo:y})}),h.on("audioTimingInfo",function(y){c.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:et.videoTsToSeconds(y.start),end:et.videoTsToSeconds(y.end)}})}),h.on("videoTimingInfo",function(y){c.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:et.videoTsToSeconds(y.start),end:et.videoTsToSeconds(y.end)}})}),h.on("log",function(y){c.postMessage({action:"log",log:y})})};class _c{constructor(h,y){this.options=y||{},this.self=h,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Wm.Transmuxer(this.options),eg(this.self,this.transmuxer)}pushMp4Captions(h){this.captionParser||(this.captionParser=new Pp,this.captionParser.init());const y=new Uint8Array(h.data,h.byteOffset,h.byteLength),v=this.captionParser.parse(y,h.trackIds,h.timescales);this.self.postMessage({action:"mp4Captions",captions:v&&v.captions||[],logs:v&&v.logs||[],data:y.buffer},[y.buffer])}initMp4WebVttParser(h){this.webVttParser||(this.webVttParser=new Tc);const y=new Uint8Array(h.data,h.byteOffset,h.byteLength);this.webVttParser.init(y)}getMp4WebVttText(h){this.webVttParser||(this.webVttParser=new Tc);const y=new Uint8Array(h.data,h.byteOffset,h.byteLength),v=this.webVttParser.parseSegment(y);this.self.postMessage({action:"getMp4WebVttText",mp4VttCues:v||[],data:y.buffer},[y.buffer])}probeMp4StartTime({timescales:h,data:y}){const v=Ur.startTime(h,y);this.self.postMessage({action:"probeMp4StartTime",startTime:v,data:y},[y.buffer])}probeMp4Tracks({data:h}){const y=Ur.tracks(h);this.self.postMessage({action:"probeMp4Tracks",tracks:y,data:h},[h.buffer])}probeEmsgID3({data:h,offset:y}){const v=Ur.getEmsgID3(h,y);this.self.postMessage({action:"probeEmsgID3",id3Frames:v,emsgData:h},[h.buffer])}probeTs({data:h,baseStartTime:y}){const v=typeof y=="number"&&!isNaN(y)?y*et.ONE_SECOND_IN_TS:void 0,b=$p.inspect(h,v);let _=null;b&&(_={hasVideo:b.video&&b.video.length===2||!1,hasAudio:b.audio&&b.audio.length===2||!1},_.hasVideo&&(_.videoStart=b.video[0].ptsTime),_.hasAudio&&(_.audioStart=b.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:_,data:h},[h.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(h){const y=new Uint8Array(h.data,h.byteOffset,h.byteLength);this.transmuxer.push(y)}reset(){this.transmuxer.reset()}setTimestampOffset(h){const y=h.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(et.secondsToVideoTs(y)))}setAudioAppendStart(h){this.transmuxer.setAudioAppendStart(Math.ceil(et.secondsToVideoTs(h.appendStart)))}setRemux(h){this.transmuxer.setRemux(h.remux)}flush(h){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(h){this.transmuxer.alignGopsWith(h.gopsToAlignWith.slice())}}self.onmessage=function(c){if(c.data.action==="init"&&c.data.options){this.messageHandlers=new _c(self,c.data.options);return}this.messageHandlers||(this.messageHandlers=new _c(self)),c.data&&c.data.action&&c.data.action!=="init"&&this.messageHandlers[c.data.action]&&this.messageHandlers[c.data.action](c.data)}}));var G8=B1(X8);const Q8=(i,t,n)=>{const{type:r,initSegment:s,captions:a,captionStreams:o,metadata:l,videoFrameDtsTime:u,videoFramePtsTime:d}=i.data.segment;t.buffer.push({captions:a,captionStreams:o,metadata:l});const f=i.data.segment.boxes||{data:i.data.segment.data},p={type:r,data:new Uint8Array(f.data,f.data.byteOffset,f.data.byteLength),initSegment:new Uint8Array(s.data,s.byteOffset,s.byteLength)};typeof u<"u"&&(p.videoFrameDtsTime=u),typeof d<"u"&&(p.videoFramePtsTime=d),n(p)},Y8=({transmuxedData:i,callback:t})=>{i.buffer=[],t(i)},K8=(i,t)=>{t.gopInfo=i.data.gopInfo},I1=i=>{const{transmuxer:t,bytes:n,audioAppendStart:r,gopsToAlignWith:s,remux:a,onData:o,onTrackInfo:l,onAudioTimingInfo:u,onVideoTimingInfo:d,onVideoSegmentTimingInfo:f,onAudioSegmentTimingInfo:p,onId3:E,onCaptions:C,onDone:x,onEndedTimeline:m,onTransmuxerLog:g,isEndOfTimeline:k,segment:A,triggerSegmentEventFn:D}=i,O={buffer:[]};let M=k;const V=L=>{t.currentTransmux===i&&(L.data.action==="data"&&Q8(L,O,o),L.data.action==="trackinfo"&&l(L.data.trackInfo),L.data.action==="gopInfo"&&K8(L,O),L.data.action==="audioTimingInfo"&&u(L.data.audioTimingInfo),L.data.action==="videoTimingInfo"&&d(L.data.videoTimingInfo),L.data.action==="videoSegmentTimingInfo"&&f(L.data.videoSegmentTimingInfo),L.data.action==="audioSegmentTimingInfo"&&p(L.data.audioSegmentTimingInfo),L.data.action==="id3Frame"&&E([L.data.id3Frame],L.data.id3Frame.dispatchType),L.data.action==="caption"&&C(L.data.caption),L.data.action==="endedtimeline"&&(M=!1,m()),L.data.action==="log"&&g(L.data.log),L.data.type==="transmuxed"&&(M||(t.onmessage=null,Y8({transmuxedData:O,callback:x}),O1(t))))},S=()=>{const L={message:"Received an error message from the transmuxer worker",metadata:{errorType:ce.Error.StreamingFailedToTransmuxSegment,segmentInfo:Bi({segment:A})}};x(null,L)};if(t.onmessage=V,t.onerror=S,r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(s)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:s}),typeof a<"u"&&t.postMessage({action:"setRemux",remux:a}),n.byteLength){const L=n instanceof ArrayBuffer?n:n.buffer,w=n instanceof ArrayBuffer?0:n.byteOffset;D({type:"segmenttransmuxingstart",segment:A}),t.postMessage({action:"push",data:L,byteOffset:w,byteLength:n.byteLength},[L])}k&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},O1=i=>{i.currentTransmux=null,i.transmuxQueue.length&&(i.currentTransmux=i.transmuxQueue.shift(),typeof i.currentTransmux=="function"?i.currentTransmux():I1(i.currentTransmux))},t0=(i,t)=>{i.postMessage({action:t}),O1(i)},P1=(i,t)=>{if(!t.currentTransmux){t.currentTransmux=i,t0(t,i);return}t.transmuxQueue.push(t0.bind(null,t,i))},W8=i=>{P1("reset",i)},J8=i=>{P1("endTimeline",i)},L1=i=>{if(!i.transmuxer.currentTransmux){i.transmuxer.currentTransmux=i,I1(i);return}i.transmuxer.transmuxQueue.push(i)},Z8=i=>{const t=new G8;t.currentTransmux=null,t.transmuxQueue=[];const n=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)),t.postMessage({action:"init",options:i}),t};var al={reset:W8,endTimeline:J8,transmux:L1,createTransmuxer:Z8};const ar=function(i){const t=i.transmuxer,n=i.endAction||i.action,r=i.callback,s=Et({},i,{endAction:null,transmuxer:null,callback:null}),a=o=>{o.data.action===n&&(t.removeEventListener("message",a),o.data.data&&(o.data.data=new Uint8Array(o.data.data,i.byteOffset||0,i.byteLength||o.data.data.byteLength),i.data&&(i.data=o.data.data)),r(o.data))};if(t.addEventListener("message",a),i.data){const o=i.data instanceof ArrayBuffer;s.byteOffset=o?0:i.data.byteOffset,s.byteLength=i.data.byteLength;const l=[o?i.data:i.data.buffer];t.postMessage(s,l)}else t.postMessage(s)},Qn={FAILURE:2,TIMEOUT:-101,ABORTED:-102},M1="wvtt",Ol=i=>{i.forEach(t=>{t.abort()})},$8=i=>({bandwidth:i.bandwidth,bytesReceived:i.bytesReceived||0,roundTripTime:i.roundTripTime||0}),e7=i=>{const t=i.target,r={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return r.bytesReceived=i.loaded,r.bandwidth=Math.floor(r.bytesReceived/r.roundTripTime*8*1e3),r},Mu=(i,t)=>{const{requestType:n}=t,r=qi({requestType:n,request:t,error:i});return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Qn.TIMEOUT,xhr:t,metadata:r}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Qn.ABORTED,xhr:t,metadata:r}:i?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Qn.FAILURE,xhr:t,metadata:r}:t.responseType==="arraybuffer"&&t.response.byteLength===0?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Qn.FAILURE,xhr:t,metadata:r}:null},n0=(i,t,n,r)=>(s,a)=>{const o=a.response,l=Mu(s,a);if(l)return n(l,i);if(o.byteLength!==16)return n({status:a.status,message:"Invalid HLS key at URL: "+a.uri,code:Qn.FAILURE,xhr:a},i);const u=new DataView(o),d=new Uint32Array([u.getUint32(0),u.getUint32(4),u.getUint32(8),u.getUint32(12)]);for(let p=0;p<t.length;p++)t[p].bytes=d;const f={uri:a.uri};return r({type:"segmentkeyloadcomplete",segment:i,keyInfo:f}),n(null,i)},t7=(i,t)=>{t===M1&&i.transmuxer.postMessage({action:"initMp4WebVttParser",data:i.map.bytes})},n7=(i,t,n)=>{t===M1&&ar({action:"getMp4WebVttText",data:i.bytes,transmuxer:i.transmuxer,callback:({data:r,mp4VttCues:s})=>{i.bytes=r,n(null,i,{mp4VttCues:s})}})},R1=(i,t)=>{const n=au(i.map.bytes);if(n!=="mp4"){const r=i.map.resolvedUri||i.map.uri,s=n||"unknown";return t({internal:!0,message:`Found unsupported ${s} container for initialization segment at URL: ${r}`,code:Qn.FAILURE,metadata:{mediaType:s}})}ar({action:"probeMp4Tracks",data:i.map.bytes,transmuxer:i.transmuxer,callback:({tracks:r,data:s})=>(i.map.bytes=s,r.forEach(function(a){i.map.tracks=i.map.tracks||{},!i.map.tracks[a.type]&&(i.map.tracks[a.type]=a,typeof a.id=="number"&&a.timescale&&(i.map.timescales=i.map.timescales||{},i.map.timescales[a.id]=a.timescale),a.type==="text"&&t7(i,a.codec))}),t(null))})},i7=({segment:i,finishProcessingFn:t,triggerSegmentEventFn:n})=>(r,s)=>{const a=Mu(r,s);if(a)return t(a,i);const o=new Uint8Array(s.response);if(n({type:"segmentloaded",segment:i}),i.map.key)return i.map.encryptedBytes=o,t(null,i);i.map.bytes=o,R1(i,function(l){if(l)return l.xhr=s,l.status=s.status,t(l,i);t(null,i)})},r7=({segment:i,finishProcessingFn:t,responseType:n,triggerSegmentEventFn:r})=>(s,a)=>{const o=Mu(s,a);if(o)return t(o,i);r({type:"segmentloaded",segment:i});const l=n==="arraybuffer"||!a.responseText?a.response:H8(a.responseText.substring(i.lastReachedChar||0));return i.stats=$8(a),i.key?i.encryptedBytes=new Uint8Array(l):i.bytes=new Uint8Array(l),t(null,i)},s7=({segment:i,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{const x=i.map&&i.map.tracks||{},m=!!(x.audio&&x.video);let g=r.bind(null,i,"audio","start");const k=r.bind(null,i,"audio","end");let A=r.bind(null,i,"video","start");const D=r.bind(null,i,"video","end"),O=()=>L1({bytes:t,transmuxer:i.transmuxer,audioAppendStart:i.audioAppendStart,gopsToAlignWith:i.gopsToAlignWith,remux:m,onData:M=>{M.type=M.type==="combined"?"video":M.type,f(i,M)},onTrackInfo:M=>{n&&(m&&(M.isMuxed=!0),n(i,M))},onAudioTimingInfo:M=>{g&&typeof M.start<"u"&&(g(M.start),g=null),k&&typeof M.end<"u"&&k(M.end)},onVideoTimingInfo:M=>{A&&typeof M.start<"u"&&(A(M.start),A=null),D&&typeof M.end<"u"&&D(M.end)},onVideoSegmentTimingInfo:M=>{const V={pts:{start:M.start.presentation,end:M.end.presentation},dts:{start:M.start.decode,end:M.end.decode}};C({type:"segmenttransmuxingtiminginfoavailable",segment:i,timingInfo:V}),s(M)},onAudioSegmentTimingInfo:M=>{const V={pts:{start:M.start.pts,end:M.end.pts},dts:{start:M.start.dts,end:M.end.dts}};C({type:"segmenttransmuxingtiminginfoavailable",segment:i,timingInfo:V}),a(M)},onId3:(M,V)=>{o(i,M,V)},onCaptions:M=>{l(i,[M])},isEndOfTimeline:u,onEndedTimeline:()=>{d()},onTransmuxerLog:E,onDone:(M,V)=>{p&&(M.type=M.type==="combined"?"video":M.type,C({type:"segmenttransmuxingcomplete",segment:i}),p(V,i,M))},segment:i,triggerSegmentEventFn:C});ar({action:"probeTs",transmuxer:i.transmuxer,data:t,baseStartTime:i.baseStartTime,callback:M=>{i.bytes=t=M.data;const V=M.result;V&&(n(i,{hasAudio:V.hasAudio,hasVideo:V.hasVideo,isMuxed:m}),n=null),O()}})},q1=({segment:i,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{let x=new Uint8Array(t);if(Ay(x)){i.isFmp4=!0;const{tracks:m}=i.map;if(m.text&&(!m.audio||!m.video)){f(i,{data:x,type:"text"}),n7(i,m.text.codec,p);return}const k={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&m.audio.codec!=="enca"&&(k.audioCodec=m.audio.codec),m.video&&m.video.codec&&m.video.codec!=="encv"&&(k.videoCodec=m.video.codec),m.video&&m.audio&&(k.isMuxed=!0),n(i,k);const A=(D,O)=>{f(i,{data:x,type:k.hasAudio&&!k.isMuxed?"audio":"video"}),O&&O.length&&o(i,O),D&&D.length&&l(i,D),p(null,i,{})};ar({action:"probeMp4StartTime",timescales:i.map.timescales,data:x,transmuxer:i.transmuxer,callback:({data:D,startTime:O})=>{t=D.buffer,i.bytes=x=D,k.hasAudio&&!k.isMuxed&&r(i,"audio","start",O),k.hasVideo&&r(i,"video","start",O),ar({action:"probeEmsgID3",data:x,transmuxer:i.transmuxer,offset:O,callback:({emsgData:M,id3Frames:V})=>{if(t=M.buffer,i.bytes=x=M,!m.video||!M.byteLength||!i.transmuxer){A(void 0,V);return}ar({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:i.transmuxer,data:x,timescales:i.map.timescales,trackIds:[m.video.id],callback:S=>{t=S.data.buffer,i.bytes=x=S.data,S.logs.forEach(function(L){E(ot(L,{stream:"mp4CaptionParser"}))}),A(S.captions,V)}})}})}});return}if(!i.transmuxer){p(null,i,{});return}if(typeof i.container>"u"&&(i.container=au(x)),i.container!=="ts"&&i.container!=="aac"){n(i,{hasAudio:!1,hasVideo:!1}),p(null,i,{});return}s7({segment:i,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})},F1=function({id:i,key:t,encryptedBytes:n,decryptionWorker:r,segment:s,doneFn:a},o){const l=d=>{if(d.data.source===i){r.removeEventListener("message",l);const f=d.data.decrypted;o(new Uint8Array(f.bytes,f.byteOffset,f.byteLength))}};r.onerror=()=>{const d="An error occurred in the decryption worker",f=Bi({segment:s}),p={message:d,metadata:{error:new Error(d),errorType:ce.Error.StreamingFailedToDecryptSegment,segmentInfo:f,keyInfo:{uri:s.key.resolvedUri||s.map.key.resolvedUri}}};a(p,s)},r.addEventListener("message",l);let u;t.bytes.slice?u=t.bytes.slice():u=new Uint32Array(Array.prototype.slice.call(t.bytes)),r.postMessage(x1({source:i,encrypted:n,key:u,iv:t.iv}),[n.buffer,u.buffer])},a7=({decryptionWorker:i,segment:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{C({type:"segmentdecryptionstart"}),F1({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:i,segment:t,doneFn:p},x=>{t.bytes=x,C({type:"segmentdecryptioncomplete",segment:t}),q1({segment:t,bytes:t.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})})},o7=({activeXhrs:i,decryptionWorker:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{let x=0,m=!1;return(g,k)=>{if(!m){if(g)return m=!0,Ol(i),p(g,k);if(x+=1,x===i.length){const A=function(){if(k.encryptedBytes)return a7({decryptionWorker:t,segment:k,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C});q1({segment:k,bytes:k.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f,doneFn:p,onTransmuxerLog:E,triggerSegmentEventFn:C})};if(k.endOfAllRequests=Date.now(),k.map&&k.map.encryptedBytes&&!k.map.bytes)return C({type:"segmentdecryptionstart",segment:k}),F1({decryptionWorker:t,id:k.requestId+"-init",encryptedBytes:k.map.encryptedBytes,key:k.map.key,segment:k,doneFn:p},D=>{k.map.bytes=D,C({type:"segmentdecryptioncomplete",segment:k}),R1(k,O=>{if(O)return Ol(i),p(O,k);A()})});A()}}}},l7=({loadendState:i,abortFn:t})=>n=>{n.target.aborted&&t&&!i.calledAbortFn&&(t(),i.calledAbortFn=!0)},u7=({segment:i,progressFn:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:d,dataFn:f})=>p=>{if(!p.target.aborted)return i.stats=ot(i.stats,e7(p)),!i.stats.firstBytesReceivedAt&&i.stats.bytesReceived&&(i.stats.firstBytesReceivedAt=Date.now()),t(p,i)},c7=({xhr:i,xhrOptions:t,decryptionWorker:n,segment:r,abortFn:s,progressFn:a,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:d,id3Fn:f,captionsFn:p,isEndOfTimeline:E,endedTimelineFn:C,dataFn:x,doneFn:m,onTransmuxerLog:g,triggerSegmentEventFn:k})=>{const A=[],D=o7({activeXhrs:A,decryptionWorker:n,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:d,id3Fn:f,captionsFn:p,isEndOfTimeline:E,endedTimelineFn:C,dataFn:x,doneFn:m,onTransmuxerLog:g,triggerSegmentEventFn:k});if(r.key&&!r.key.bytes){const L=[r.key];r.map&&!r.map.bytes&&r.map.key&&r.map.key.resolvedUri===r.key.resolvedUri&&L.push(r.map.key);const w=ot(t,{uri:r.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),B=n0(r,L,D,k),F={uri:r.key.resolvedUri};k({type:"segmentkeyloadstart",segment:r,keyInfo:F});const Q=i(w,B);A.push(Q)}if(r.map&&!r.map.bytes){if(r.map.key&&(!r.key||r.key.resolvedUri!==r.map.key.resolvedUri)){const Q=ot(t,{uri:r.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),I=n0(r,[r.map.key],D,k),q={uri:r.map.key.resolvedUri};k({type:"segmentkeyloadstart",segment:r,keyInfo:q});const U=i(Q,I);A.push(U)}const w=ot(t,{uri:r.map.resolvedUri,responseType:"arraybuffer",headers:Nl(r.map),requestType:"segment-media-initialization"}),B=i7({segment:r,finishProcessingFn:D,triggerSegmentEventFn:k});k({type:"segmentloadstart",segment:r});const F=i(w,B);A.push(F)}const O=ot(t,{uri:r.part&&r.part.resolvedUri||r.resolvedUri,responseType:"arraybuffer",headers:Nl(r),requestType:"segment"}),M=r7({segment:r,finishProcessingFn:D,responseType:O.responseType,triggerSegmentEventFn:k});k({type:"segmentloadstart",segment:r});const V=i(O,M);V.addEventListener("progress",u7({segment:r,progressFn:a,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:d,id3Fn:f,captionsFn:p,isEndOfTimeline:E,endedTimelineFn:C,dataFn:x})),A.push(V);const S={};return A.forEach(L=>{L.addEventListener("loadend",l7({loadendState:S,abortFn:s}))}),()=>Ol(A)},Js=Sn("PlaylistSelector"),i0=function(i){if(!i||!i.playlist)return;const t=i.playlist;return JSON.stringify({id:t.id,bandwidth:i.bandwidth,width:i.width,height:i.height,codecs:t.attributes&&t.attributes.CODECS||""})},or=function(i,t){if(!i)return"";const n=J.getComputedStyle(i);return n?n[t]:""},lr=function(i,t){const n=i.slice();i.sort(function(r,s){const a=t(r,s);return a===0?n.indexOf(r)-n.indexOf(s):a})},Ru=function(i,t){let n,r;return i.attributes.BANDWIDTH&&(n=i.attributes.BANDWIDTH),n=n||J.Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),r=r||J.Number.MAX_VALUE,n-r},d7=function(i,t){let n,r;return i.attributes.RESOLUTION&&i.attributes.RESOLUTION.width&&(n=i.attributes.RESOLUTION.width),n=n||J.Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),r=r||J.Number.MAX_VALUE,n===r&&i.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?i.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r};let U1=function(i){const{main:t,bandwidth:n,playerWidth:r,playerHeight:s,playerObjectFit:a,limitRenditionByPlayerDimensions:o,playlistController:l}=i;if(!t)return;const u={bandwidth:n,width:r,height:s,limitRenditionByPlayerDimensions:o};let d=t.playlists;un.isAudioOnly(t)&&(d=l.getAudioTrackPlaylists_(),u.audioOnly=!0);let f=d.map(S=>{let L;const w=S.attributes&&S.attributes.RESOLUTION&&S.attributes.RESOLUTION.width,B=S.attributes&&S.attributes.RESOLUTION&&S.attributes.RESOLUTION.height;return L=S.attributes&&S.attributes.BANDWIDTH,L=L||J.Number.MAX_VALUE,{bandwidth:L,width:w,height:B,playlist:S}});lr(f,(S,L)=>S.bandwidth-L.bandwidth),f=f.filter(S=>!un.isIncompatible(S.playlist));let p=f.filter(S=>un.isEnabled(S.playlist));p.length||(p=f.filter(S=>!un.isDisabled(S.playlist)));const E=p.filter(S=>S.bandwidth*Ot.BANDWIDTH_VARIANCE<n);let C=E[E.length-1];const x=E.filter(S=>S.bandwidth===C.bandwidth)[0];if(o===!1){const S=x||p[0]||f[0];if(S&&S.playlist){let L="sortedPlaylistReps";return x&&(L="bandwidthBestRep"),p[0]&&(L="enabledPlaylistReps"),Js(`choosing ${i0(S)} using ${L} with options`,u),S.playlist}return Js("could not choose a playlist with options",u),null}const m=E.filter(S=>S.width&&S.height);lr(m,(S,L)=>S.width-L.width);const g=m.filter(S=>S.width===r&&S.height===s);C=g[g.length-1];const k=g.filter(S=>S.bandwidth===C.bandwidth)[0];let A,D,O;k||(A=m.filter(S=>a==="cover"?S.width>r&&S.height>s:S.width>r||S.height>s),D=A.filter(S=>S.width===A[0].width&&S.height===A[0].height),C=D[D.length-1],O=D.filter(S=>S.bandwidth===C.bandwidth)[0]);let M;if(l.leastPixelDiffSelector){const S=m.map(L=>(L.pixelDiff=Math.abs(L.width-r)+Math.abs(L.height-s),L));lr(S,(L,w)=>L.pixelDiff===w.pixelDiff?w.bandwidth-L.bandwidth:L.pixelDiff-w.pixelDiff),M=S[0]}const V=M||O||k||x||p[0]||f[0];if(V&&V.playlist){let S="sortedPlaylistReps";return M?S="leastPixelDiffRep":O?S="resolutionPlusOneRep":k?S="resolutionBestRep":x?S="bandwidthBestRep":p[0]&&(S="enabledPlaylistReps"),Js(`choosing ${i0(V)} using ${S} with options`,u),V.playlist}return Js("could not choose a playlist with options",u),null};const r0=function(){let i=this.useDevicePixelRatio&&J.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(i=this.customPixelRatio),U1({main:this.playlists.main,bandwidth:this.systemBandwidth,playerWidth:parseInt(or(this.tech_.el(),"width"),10)*i,playerHeight:parseInt(or(this.tech_.el(),"height"),10)*i,playerObjectFit:this.usePlayerObjectFit?or(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})},h7=function(i){let t=-1,n=-1;if(i<0||i>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){let r=this.useDevicePixelRatio&&J.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(r=this.customPixelRatio),t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=i*this.systemBandwidth+(1-i)*t,n=this.systemBandwidth),U1({main:this.playlists.main,bandwidth:t,playerWidth:parseInt(or(this.tech_.el(),"width"),10)*r,playerHeight:parseInt(or(this.tech_.el(),"height"),10)*r,playerObjectFit:this.usePlayerObjectFit?or(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})}},f7=function(i){const{main:t,currentTime:n,bandwidth:r,duration:s,segmentDuration:a,timeUntilRebuffer:o,currentTimeline:l,syncController:u}=i,d=t.playlists.filter(x=>!un.isIncompatible(x));let f=d.filter(un.isEnabled);f.length||(f=d.filter(x=>!un.isDisabled(x)));const E=f.filter(un.hasAttribute.bind(null,"BANDWIDTH")).map(x=>{const g=u.getSyncPoint(x,s,l,n)?1:2,A=un.estimateSegmentRequestTime(a,r,x)*g-o;return{playlist:x,rebufferingImpact:A}}),C=E.filter(x=>x.rebufferingImpact<=0);return lr(C,(x,m)=>Ru(m.playlist,x.playlist)),C.length?C[0]:(lr(E,(x,m)=>x.rebufferingImpact-m.rebufferingImpact),E[0]||null)},m7=function(){const i=this.playlists.main.playlists.filter(un.isEnabled);return lr(i,(n,r)=>Ru(n,r)),i.filter(n=>!!us(this.playlists.main,n).video)[0]||null},p7=i=>{let t=0,n;return i.bytes&&(n=new Uint8Array(i.bytes),i.segments.forEach(r=>{n.set(r,t),t+=r.byteLength})),n};function z1(i){try{return new URL(i).pathname.split("/").slice(-2).join("/")}catch{return""}}const g7=function(i,t,n){if(!i[n]){t.trigger({type:"usage",name:"vhs-608"});let r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);const s=t.textTracks().getTrackById(r);if(s)i[n]=s;else{const a=t.options_.vhs&&t.options_.vhs.captionServices||{};let o=n,l=n,u=!1;const d=a[r];d&&(o=d.label,l=d.language,u=d.default),i[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:u,label:o,language:l},!1).track}}},v7=function({inbandTextTracks:i,captionArray:t,timestampOffset:n}){if(!t)return;const r=J.WebKitDataCue||J.VTTCue;t.forEach(s=>{const a=s.stream;s.content?s.content.forEach(o=>{const l=new r(s.startTime+n,s.endTime+n,o.text);l.line=o.line,l.align="left",l.position=o.position,l.positionAlign="line-left",i[a].addCue(l)}):i[a].addCue(new r(s.startTime+n,s.endTime+n,s.text))})},y7=function(i){Object.defineProperties(i.frame,{id:{get(){return ce.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),i.value.key}},value:{get(){return ce.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),i.value.data}},privateData:{get(){return ce.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),i.value.data}}})},C7=({inbandTextTracks:i,metadataArray:t,timestampOffset:n,videoDuration:r})=>{if(!t)return;const s=J.WebKitDataCue||J.VTTCue,a=i.metadataTrack_;if(!a||(t.forEach(f=>{const p=f.cueTime+n;typeof p!="number"||J.isNaN(p)||p<0||!(p<1/0)||!f.frames||!f.frames.length||f.frames.forEach(E=>{const C=new s(p,p,E.value||E.url||E.data||"");C.frame=E,C.value=E,y7(C),a.addCue(C)})}),!a.cues||!a.cues.length))return;const o=a.cues,l=[];for(let f=0;f<o.length;f++)o[f]&&l.push(o[f]);const u=l.reduce((f,p)=>{const E=f[p.startTime]||[];return E.push(p),f[p.startTime]=E,f},{}),d=Object.keys(u).sort((f,p)=>Number(f)-Number(p));d.forEach((f,p)=>{const E=u[f],C=isFinite(r)?r:f,x=Number(d[p+1])||C;E.forEach(m=>{m.endTime=x})})},b7={id:"ID",class:"CLASS",startDate:"START-DATE",duration:"DURATION",endDate:"END-DATE",endOnNext:"END-ON-NEXT",plannedDuration:"PLANNED-DURATION",scte35Out:"SCTE35-OUT",scte35In:"SCTE35-IN"},T7=new Set(["id","class","startDate","duration","endDate","endOnNext","startTime","endTime","processDateRange"]),k7=({inbandTextTracks:i,dateRanges:t})=>{const n=i.metadataTrack_;if(!n)return;const r=J.WebKitDataCue||J.VTTCue;t.forEach(s=>{for(const a of Object.keys(s)){if(T7.has(a))continue;const o=new r(s.startTime,s.endTime,"");o.id=s.id,o.type="com.apple.quicktime.HLS",o.value={key:b7[a],data:s[a]},(a==="scte35Out"||a==="scte35In")&&(o.value.data=new Uint8Array(o.value.data.match(/[\da-f]{2}/gi)).buffer),n.addCue(o)}s.processDateRange()})},s0=(i,t,n)=>{i.metadataTrack_||(i.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,ce.browser.IS_ANY_SAFARI||(i.metadataTrack_.inBandMetadataTrackDispatchType=t))},ns=function(i,t,n){let r,s;if(n&&n.cues)for(r=n.cues.length;r--;)s=n.cues[r],s.startTime>=i&&s.endTime<=t&&n.removeCue(s)},E7=function(i){const t=i.cues;if(!t)return;const n={};for(let r=t.length-1;r>=0;r--){const s=t[r],a=`${s.startTime}-${s.endTime}-${s.text}`;n[a]?i.removeCue(s):n[a]=s}},x7=(i,t,n)=>{if(typeof t>"u"||t===null||!i.length)return[];const r=Math.ceil((t-n+3)*Ni.ONE_SECOND_IN_TS);let s;for(s=0;s<i.length&&!(i[s].pts>r);s++);return i.slice(s)},_7=(i,t,n)=>{if(!t.length)return i;if(n)return t.slice();const r=t[0].pts;let s=0;for(s;s<i.length&&!(i[s].pts>=r);s++);return i.slice(0,s).concat(t)},A7=(i,t,n,r)=>{const s=Math.ceil((t-r)*Ni.ONE_SECOND_IN_TS),a=Math.ceil((n-r)*Ni.ONE_SECOND_IN_TS),o=i.slice();let l=i.length;for(;l--&&!(i[l].pts<=a););if(l===-1)return o;let u=l+1;for(;u--&&!(i[u].pts<=s););return u=Math.max(u,0),o.splice(u,l-u+1),o},w7=function(i,t){if(!i&&!t||!i&&t||i&&!t)return!1;if(i===t)return!0;const n=Object.keys(i).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(let s=0;s<n.length;s++){const a=n[s];if(a!==r[s]||i[a]!==t[a])return!1}return!0},S7=function(i,t,n){t=t||[];const r=[];let s=0;for(let a=0;a<t.length;a++){const o=t[a];if(i===o.timeline&&(r.push(a),s+=o.duration,s>n))return a}return r.length===0?0:r[r.length-1]},Zr=1,D7=500,a0=i=>typeof i=="number"&&isFinite(i),Zs=1/60,B7=(i,t,n)=>i!=="main"||!t||!n?null:!n.hasAudio&&!n.hasVideo?"Neither audio nor video found in segment.":t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null,V7=(i,t,n)=>{let r=t-Ot.BACK_BUFFER_LENGTH;i.length&&(r=Math.max(r,i.start(0)));const s=t-n;return Math.min(s,r)},Wi=i=>{const{startOfSegment:t,duration:n,segment:r,part:s,playlist:{mediaSequence:a,id:o,segments:l=[]},mediaIndex:u,partIndex:d,timeline:f}=i,p=l.length-1;let E="mediaIndex/partIndex increment";i.getMediaInfoForTime?E=`getMediaInfoForTime (${i.getMediaInfoForTime})`:i.isSyncRequest&&(E="getSyncSegmentCandidate (isSyncRequest)"),i.independent&&(E+=` with independent ${i.independent}`);const C=typeof d=="number",x=i.segment.uri?"segment":"pre-segment",m=C?a1({preloadSegment:r})-1:0;return`${x} [${a+u}/${a+p}]`+(C?` part [${d}/${m}]`:"")+` segment start/end [${r.start} => ${r.end}]`+(C?` part start/end [${s.start} => ${s.end}]`:"")+` startOfSegment [${t}] duration [${n}] timeline [${f}] selected by [${E}] playlist [${o}]`},o0=i=>`${i}TimingInfo`,N7=({segmentTimeline:i,currentTimeline:t,startOfSegment:n,buffered:r,overrideCheck:s})=>!s&&i===t?null:i<t?n:r.length?r.end(r.length-1):n,Pl=({timelineChangeController:i,currentTimeline:t,segmentTimeline:n,loaderType:r,audioDisabled:s})=>{if(t===n)return!1;if(r==="audio"){const a=i.lastTimelineChange({type:"main"});return!a||a.to!==n}if(r==="main"&&s){const a=i.pendingTimelineChange({type:"audio"});return!(a&&a.to===n)}return!1},I7=i=>{if(!i)return!1;const t=i.pendingTimelineChange({type:"audio"}),n=i.pendingTimelineChange({type:"main"}),r=t&&n,s=r&&t.to!==n.to;return!!(r&&t.from!==-1&&n.from!==-1&&s)},O7=i=>{const t=i.timelineChangeController_.pendingTimelineChange({type:"audio"}),n=i.timelineChangeController_.pendingTimelineChange({type:"main"});return t&&n&&t.to<n.to},fi=i=>{const t=i.pendingSegment_;if(!t)return;if(Pl({timelineChangeController:i.timelineChangeController_,currentTimeline:i.currentTimeline_,segmentTimeline:t.timeline,loaderType:i.loaderType_,audioDisabled:i.audioDisabled_})&&I7(i.timelineChangeController_)){if(O7(i)){i.timelineChangeController_.trigger("audioTimelineBehind");return}i.timelineChangeController_.trigger("fixBadTimelineChange")}},P7=i=>{let t=0;return["video","audio"].forEach(function(n){const r=i[`${n}TimingInfo`];if(!r)return;const{start:s,end:a}=r;let o;typeof s=="bigint"||typeof a=="bigint"?o=J.BigInt(a)-J.BigInt(s):typeof s=="number"&&typeof a=="number"&&(o=a-s),typeof o<"u"&&o>t&&(t=o)}),typeof t=="bigint"&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t},l0=({segmentDuration:i,maxDuration:t})=>i?Math.round(i)>t+Xn:!1,L7=(i,t)=>{if(t!=="hls")return null;const n=P7({audioTimingInfo:i.audioTimingInfo,videoTimingInfo:i.videoTimingInfo});if(!n)return null;const r=i.playlist.targetDuration,s=l0({segmentDuration:n,maxDuration:r*2}),a=l0({segmentDuration:n,maxDuration:r}),o=`Segment with index ${i.mediaIndex} from playlist ${i.playlist.id} has a duration of ${n} when the reported duration is ${i.duration} and the target duration is ${r}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return s||a?{severity:s?"warn":"info",message:o}:null},Bi=({type:i,segment:t})=>{if(!t)return;const n=!!(t.key||t.map&&t.map.ke),r=!!(t.map&&!t.map.bytes),s=t.startOfSegment===void 0?t.start:t.startOfSegment;return{type:i||t.type,uri:t.resolvedUri||t.uri,start:s,duration:t.duration,isEncrypted:n,isMediaInitialization:r}};class Ll extends ce.EventTarget{constructor(t,n={}){if(super(),!t)throw new TypeError("Initialization settings are required");if(typeof t.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=t.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=t.hasPlayed,this.currentTime_=t.currentTime,this.seekable_=t.seekable,this.seeking_=t.seeking,this.duration_=t.duration,this.mediaSource_=t.mediaSource,this.vhs_=t.vhs,this.loaderType_=t.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=t.segmentMetadataTrack,this.goalBufferLength_=t.goalBufferLength,this.sourceType_=t.sourceType,this.sourceUpdater_=t.sourceUpdater,this.inbandTextTracks_=t.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=t.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=t.parse708captions,this.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,this.captionServices_=t.captionServices,this.exactManifestTimings=t.exactManifestTimings,this.addMetadataToTextTrack=t.addMetadataToTextTrack,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.shouldForceTimestampOffsetAfterResync_=!1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=!1,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=t.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=t.decrypter,this.syncController_=t.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",()=>{this.isEndOfStream_()||(this.ended_=!1)}),this.fetchAtBuffer_=!1,this.logger_=Sn(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(r){r!==this.state_&&(this.logger_(`${this.state_} -> ${r}`),this.state_=r,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():fi(this)}),this.sourceUpdater_.on("codecschange",r=>{this.trigger(Et({type:"codecschange"},r))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():fi(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",r=>{this.trigger(Et({type:"timelinechange"},r)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():fi(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():fi(this)})}get mediaSequenceSync_(){return this.syncController_.getMediaSequenceSync(this.loaderType_)}createTransmuxer_(){return al.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&J.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null),this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,J.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(t){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==t}error(t){return typeof t<"u"&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&al.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const t=this.getMediaInfo_();if(!this.sourceUpdater_||!t)return Lt();if(this.loaderType_==="main"){const{hasAudio:n,hasVideo:r,isMuxed:s}=t;if(r&&n&&!this.audioDisabled_&&!s)return this.sourceUpdater_.buffered();if(r)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(t,n=!1){if(!t)return null;const r=Da(t);let s=this.initSegments_[r];return n&&!s&&t.bytes&&(this.initSegments_[r]=s={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes,tracks:t.tracks,timescales:t.timescales}),s||t}segmentKey(t,n=!1){if(!t)return null;const r=_1(t);let s=this.keyCache_[r];this.cacheEncryptionKeys_&&n&&!s&&t.bytes&&(this.keyCache_[r]=s={resolvedUri:t.resolvedUri,bytes:t.bytes});const a={resolvedUri:(s||t).resolvedUri};return s&&(a.bytes=s.bytes),a}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(t,n={}){if(!t||this.playlist_&&this.playlist_.endList&&t.endList&&this.playlist_.uri===t.uri)return;const r=this.playlist_,s=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=n,this.state==="INIT"&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(t));let a=null;if(r&&(r.id?a=r.id:r.uri&&(a=r.uri)),this.logger_(`playlist update [${a} => ${t.id||t.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(t,this.currentTime_()),this.logger_(`Playlist update:
210
+ currentTime: ${this.currentTime_()}
211
+ bufferedEnd: ${rl(this.buffered_())}
212
+ `,this.mediaSequenceSync_.diagnostics)),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!r||r.uri!==t.uri){this.mediaIndex!==null&&(!t.endList&&typeof t.partTargetDuration=="number"?this.resetLoader():this.resyncLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}const o=t.mediaSequence-r.mediaSequence;if(this.logger_(`live window shift [${o}]`),this.mediaIndex!==null)if(this.mediaIndex-=o,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const l=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!l.parts||!l.parts.length||!l.parts[this.partIndex])){const u=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=u}}s&&(s.mediaIndex-=o,s.mediaIndex<0?(s.mediaIndex=null,s.partIndex=null):(s.mediaIndex>=0&&(s.segment=t.segments[s.mediaIndex]),s.partIndex>=0&&s.segment.parts&&(s.part=s.segment.parts[s.partIndex]))),this.syncController_.saveExpiredSegmentInfo(r,t)}pause(){this.checkBufferTimeout_&&(J.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return this.checkBufferTimeout_===null}resetEverything(t){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.mediaSequenceSync_&&this.mediaSequenceSync_.resetAppendedStatus(),this.resyncLoader()}resyncLoader(){this.transmuxer_&&al.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1;const t=this.currentMediaInfo_&&this.currentMediaInfo_.isFmp4;this.sourceType_==="hls"&&!t&&(this.shouldForceTimestampOffsetAfterResync_=!0),this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(t,n,r=()=>{},s=!1){if(n===1/0&&(n=this.duration_()),n<=t){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}let a=1;const o=()=>{a--,a===0&&r()};(s||!this.audioDisabled_)&&(a++,this.sourceUpdater_.removeAudio(t,n,o)),(s||this.loaderType_==="main")&&(this.gopBuffer_=A7(this.gopBuffer_,t,n,this.timeMapping_),a++,this.sourceUpdater_.removeVideo(t,n,o));for(const l in this.inbandTextTracks_)ns(t,n,this.inbandTextTracks_[l]);ns(t,n,this.segmentMetadataTrack_),o()}monitorBuffer_(){this.checkBufferTimeout_&&J.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=J.setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&J.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=J.setTimeout(this.monitorBufferTick_.bind(this),D7)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const t=this.chooseNextRequest_();if(!t)return;const n={segmentInfo:Bi({type:this.loaderType_,segment:t})};this.trigger({type:"segmentselected",metadata:n}),typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline})),this.loadSegment_(t)}isEndOfStream_(t=this.mediaIndex,n=this.playlist_,r=this.partIndex){if(!n||!this.mediaSource_)return!1;const s=typeof t=="number"&&n.segments[t],a=t+1===n.segments.length,o=!s||!s.parts||r+1===s.parts.length;return n.endList&&this.mediaSource_.readyState==="open"&&a&&o}chooseNextRequest_(){const t=this.buffered_(),n=rl(t)||0,r=Iu(t,this.currentTime_()),s=!this.hasPlayed_()&&r>=1,a=r>=this.goalBufferLength_(),o=this.playlist_.segments;if(!o.length||s||a)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const l={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(l.isSyncRequest)l.mediaIndex=S7(this.currentTimeline_,o,n),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${l.mediaIndex}`);else if(this.mediaIndex!==null){const E=o[this.mediaIndex],C=typeof this.partIndex=="number"?this.partIndex:-1;l.startOfSegment=E.end?E.end:n,E.parts&&E.parts[C+1]?(l.mediaIndex=this.mediaIndex,l.partIndex=C+1):l.mediaIndex=this.mediaIndex+1}else{let E,C,x;const m=this.fetchAtBuffer_?n:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch:
213
+ For TargetTime: ${m}.
214
+ CurrentTime: ${this.currentTime_()}
215
+ BufferedEnd: ${n}
216
+ Fetch At Buffer: ${this.fetchAtBuffer_}
217
+ `,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const g=this.getSyncInfoFromMediaSequenceSync_(m);if(!g){const k="No sync info found while using media sequence sync";return this.error({message:k,metadata:{errorType:ce.Error.StreamingFailedToSelectNextSegment,error:new Error(k)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${g.start} --> ${g.end})`),E=g.segmentIndex,C=g.partIndex,x=g.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const g=un.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:m,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});E=g.segmentIndex,C=g.partIndex,x=g.startTime}l.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${m}`:`currentTime ${m}`,l.mediaIndex=E,l.startOfSegment=x,l.partIndex=C,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${l.mediaIndex} `)}const u=o[l.mediaIndex];let d=u&&typeof l.partIndex=="number"&&u.parts&&u.parts[l.partIndex];if(!u||typeof l.partIndex=="number"&&!d)return null;typeof l.partIndex!="number"&&u.parts&&(l.partIndex=0,d=u.parts[0]);const f=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!r&&d&&!f&&!d.independent)if(l.partIndex===0){const E=o[l.mediaIndex-1],C=E.parts&&E.parts.length&&E.parts[E.parts.length-1];C&&C.independent&&(l.mediaIndex-=1,l.partIndex=E.parts.length-1,l.independent="previous segment")}else u.parts[l.partIndex-1].independent&&(l.partIndex-=1,l.independent="previous part");const p=this.mediaSource_&&this.mediaSource_.readyState==="ended";return l.mediaIndex>=o.length-1&&p&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,l.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(l))}getSyncInfoFromMediaSequenceSync_(t){if(!this.mediaSequenceSync_)return null;const n=Math.max(t,this.mediaSequenceSync_.start);t!==n&&this.logger_(`getSyncInfoFromMediaSequenceSync_. Pulled target time from ${t} to ${n}`);const r=this.mediaSequenceSync_.getSyncInfoForTime(n);if(!r)return null;if(!r.isAppended)return r;const s=this.mediaSequenceSync_.getSyncInfoForTime(r.end);return s?(s.isAppended&&this.logger_("getSyncInfoFromMediaSequenceSync_: We encounter unexpected scenario where next media sequence sync info is also appended!"),s):null}generateSegmentInfo_(t){const{independent:n,playlist:r,mediaIndex:s,startOfSegment:a,isSyncRequest:o,partIndex:l,forceTimestampOffset:u,getMediaInfoForTime:d}=t,f=r.segments[s],p=typeof l=="number"&&f.parts[l],E={requestId:"segment-loader-"+Math.random(),uri:p&&p.resolvedUri||f.resolvedUri,mediaIndex:s,partIndex:p?l:null,isSyncRequest:o,startOfSegment:a,playlist:r,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:f.timeline,duration:p&&p.duration||f.duration,segment:f,part:p,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:d,independent:n},C=typeof u<"u"?u:this.isPendingTimestampOffset_;E.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:f.timeline,currentTimeline:this.currentTimeline_,startOfSegment:a,buffered:this.buffered_(),overrideCheck:C});const x=rl(this.sourceUpdater_.audioBuffered());return typeof x=="number"&&(E.audioAppendStart=x-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(E.gopsToAlignWith=x7(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),E}timestampOffsetForSegment_(t){return N7(t)}earlyAbortWhenNeeded_(t){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return;const n=this.currentTime_(),r=t.bandwidth,s=this.pendingSegment_.duration,a=un.estimateSegmentRequestTime(s,r,this.playlist_,t.bytesReceived),o=e8(this.buffered_(),n,this.vhs_.tech_.playbackRate())-1;if(a<=o)return;const l=f7({main:this.vhs_.playlists.main,currentTime:n,bandwidth:r,duration:this.duration_(),segmentDuration:s,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!l)return;const d=a-o-l.rebufferingImpact;let f=.5;o<=Xn&&(f=1),!(!l.playlist||l.playlist.uri===this.playlist_.uri||d<f)&&(this.bandwidth=l.playlist.attributes.BANDWIDTH*Ot.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(t){this.logger_(`Aborting ${Wi(t)}`),this.mediaRequestsAborted+=1}handleProgress_(t,n){this.earlyAbortWhenNeeded_(n.stats),!this.checkForAbort_(n.requestId)&&this.trigger("progress")}handleTrackInfo_(t,n){const{hasAudio:r,hasVideo:s}=n,a={segmentInfo:Bi({type:this.loaderType_,segment:t}),trackInfo:{hasAudio:r,hasVideo:s}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:a}),this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)&&(this.checkForIllegalMediaSwitch(n)||(n=n||{},w7(this.currentMediaInfo_,n)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=n,this.currentMediaInfo_=n,this.logger_("trackinfo update",n),this.trigger("trackinfo")),!this.checkForAbort_(t.requestId)&&(this.pendingSegment_.trackInfo=n,this.hasEnoughInfoToAppend_()?this.processCallQueue_():fi(this))))}handleTimingInfo_(t,n,r,s){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;const a=this.pendingSegment_,o=o0(n);a[o]=a[o]||{},a[o][r]=s,this.logger_(`timinginfo: ${n} - ${r} - ${s}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():fi(this)}handleCaptions_(t,n){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(n.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,n));return}const s=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),a={};n.forEach(o=>{a[o.stream]=a[o.stream]||{startTime:1/0,captions:[],endTime:0};const l=a[o.stream];l.startTime=Math.min(l.startTime,o.startTime+s),l.endTime=Math.max(l.endTime,o.endTime+s),l.captions.push(o)}),Object.keys(a).forEach(o=>{const{startTime:l,endTime:u,captions:d}=a[o],f=this.inbandTextTracks_;this.logger_(`adding cues from ${l} -> ${u} for ${o}`),g7(f,this.vhs_.tech_,o),ns(l,u,f[o]),v7({captionArray:d,inbandTextTracks:f,timestampOffset:s})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(t,n,r){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,n,r));return}this.addMetadataToTextTrack(r,n,this.duration_())}processMetadataQueue_(){this.metadataQueue_.id3.forEach(t=>t()),this.metadataQueue_.caption.forEach(t=>t()),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const t=this.callQueue_;this.callQueue_=[],t.forEach(n=>n())}processLoadQueue_(){const t=this.loadQueue_;this.loadQueue_=[],t.forEach(n=>n())}hasEnoughInfoToLoad_(){if(this.loaderType_!=="audio")return!0;const t=this.pendingSegment_;return t?this.getCurrentMediaInfo_()?!Pl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1}getCurrentMediaInfo_(t=this.pendingSegment_){return t&&t.trackInfo||this.currentMediaInfo_}getMediaInfo_(t=this.pendingSegment_){return this.getCurrentMediaInfo_(t)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const t=this.pendingSegment_,n=this.getCurrentMediaInfo_();if(!t||!n)return!1;const{hasAudio:r,hasVideo:s,isMuxed:a}=n;return!(s&&!t.videoTimingInfo||r&&!this.audioDisabled_&&!a&&!t.audioTimingInfo||Pl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(t,n){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){fi(this),this.callQueue_.push(this.handleData_.bind(this,t,n));return}const r=this.pendingSegment_;if(this.setTimeMapping_(r.timeline),this.updateMediaSecondsLoaded_(r.part||r.segment),this.mediaSource_.readyState!=="closed"){if(t.map&&(t.map=this.initSegmentForMap(t.map,!0),r.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),r.isFmp4=t.isFmp4,r.timingInfo=r.timingInfo||{},r.isFmp4)this.trigger("fmp4"),r.timingInfo.start=r[o0(n.type)].start;else{const s=this.getCurrentMediaInfo_(),a=this.loaderType_==="main"&&s&&s.hasVideo;let o;a&&(o=r.videoTimingInfo.start),r.timingInfo.start=this.trueSegmentStart_({currentStart:r.timingInfo.start,playlist:r.playlist,mediaIndex:r.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:a,firstVideoFrameTimeForData:o,videoTimingInfo:r.videoTimingInfo,audioTimingInfo:r.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(r,n.type),this.updateSourceBufferTimestampOffset_(r),r.isSyncRequest){this.updateTimingInfoEnd_(r),this.syncController_.saveSegmentTimingInfo({segmentInfo:r,shouldSaveTimelineMapping:this.loaderType_==="main"});const s=this.chooseNextRequest_();if(s.mediaIndex!==r.mediaIndex||s.partIndex!==r.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}r.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(r,n)}}updateAppendInitSegmentStatus(t,n){this.loaderType_==="main"&&typeof t.timestampOffset=="number"&&!t.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[n]!==t.playlist&&(this.appendInitSegment_[n]=!0)}getInitSegmentAndUpdateState_({type:t,initSegment:n,map:r,playlist:s}){if(r){const a=Da(r);if(this.activeInitSegmentId_===a)return null;n=this.initSegmentForMap(r,!0).bytes,this.activeInitSegmentId_=a}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=s,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null}handleQuotaExceededError_({segmentInfo:t,type:n,bytes:r},s){const a=this.sourceUpdater_.audioBuffered(),o=this.sourceUpdater_.videoBuffered();a.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Ii(a).join(", ")),o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Ii(o).join(", "));const l=a.length?a.start(0):0,u=a.length?a.end(a.length-1):0,d=o.length?o.start(0):0,f=o.length?o.end(o.length-1):0;if(u-l<=Zr&&f-d<=Zr){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${r.byteLength}, audio buffer: ${Ii(a).join(", ")}, video buffer: ${Ii(o).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:t,type:n,bytes:r}));const E=this.currentTime_()-Zr;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${E}`),this.remove(0,E,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${Zr}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=J.setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},Zr*1e3)},!0)}handleAppendError_({segmentInfo:t,type:n,bytes:r},s){if(s){if(s.code===v1){this.handleQuotaExceededError_({segmentInfo:t,type:n,bytes:r});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",s),this.error({message:`${n} append of ${r.length}b failed for segment #${t.mediaIndex} in playlist ${t.playlist.id}`,metadata:{errorType:ce.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:t,type:n,initSegment:r,data:s,bytes:a}){if(!a){const l=[s];let u=s.byteLength;r&&(l.unshift(r),u+=r.byteLength),a=p7({bytes:u,segments:l})}const o={segmentInfo:Bi({type:this.loaderType_,segment:t})};this.trigger({type:"segmentappendstart",metadata:o}),this.sourceUpdater_.appendBuffer({segmentInfo:t,type:n,bytes:a},this.handleAppendError_.bind(this,{segmentInfo:t,type:n,bytes:a}))}handleSegmentTimingInfo_(t,n,r){if(!this.pendingSegment_||n!==this.pendingSegment_.requestId)return;const s=this.pendingSegment_.segment,a=`${t}TimingInfo`;s[a]||(s[a]={}),s[a].transmuxerPrependedSeconds=r.prependedContentDuration||0,s[a].transmuxedPresentationStart=r.start.presentation,s[a].transmuxedDecodeStart=r.start.decode,s[a].transmuxedPresentationEnd=r.end.presentation,s[a].transmuxedDecodeEnd=r.end.decode,s[a].baseMediaDecodeTime=r.baseMediaDecodeTime}appendData_(t,n){const{type:r,data:s}=n;if(!s||!s.byteLength||r==="audio"&&this.audioDisabled_)return;const a=this.getInitSegmentAndUpdateState_({type:r,initSegment:n.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:r,initSegment:a,data:s})}loadSegment_(t){if(this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),typeof t.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){fi(this),this.loadQueue_.push(()=>{const n=Et({},t,{forceTimestampOffset:!0});Et(t,this.generateSegmentInfo_(n)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(t)});return}this.updateTransmuxerAndRequestSegment_(t)}updateTransmuxerAndRequestSegment_(t){this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));const n=this.createSimplifiedSegmentObj_(t),r=this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex),s=this.mediaIndex!==null,a=t.timeline!==this.currentTimeline_&&t.timeline>0,o=r||s&&a;this.logger_(`Requesting
218
+ ${z1(t.uri)}
219
+ ${Wi(t)}`),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),t.abortRequests=c7({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,t),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",t.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",t.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:o,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:l,level:u,stream:d})=>{this.logger_(`${Wi(t)} logged from transmuxer stream ${d} as a ${u}: ${l}`)},triggerSegmentEventFn:({type:l,segment:u,keyInfo:d,trackInfo:f,timingInfo:p})=>{const C={segmentInfo:Bi({segment:u})};d&&(C.keyInfo=d),f&&(C.trackInfo=f),p&&(C.timingInfo=p),this.trigger({type:l,metadata:C})}})}trimBackBuffer_(t){const n=V7(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);n>0&&this.remove(0,n)}createSimplifiedSegmentObj_(t){const n=t.segment,r=t.part,s=t.segment.key||t.segment.map&&t.segment.map.key,a=t.segment.map&&!t.segment.map.bytes,o={resolvedUri:r?r.resolvedUri:n.resolvedUri,byterange:r?r.byterange:n.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,part:t.part,type:this.loaderType_,start:t.startOfSegment,duration:t.duration,isEncrypted:s,isMediaInitialization:a},l=t.playlist.segments[t.mediaIndex-1];if(l&&l.timeline===n.timeline&&(l.videoTimingInfo?o.baseStartTime=l.videoTimingInfo.transmuxedDecodeEnd:l.audioTimingInfo&&(o.baseStartTime=l.audioTimingInfo.transmuxedDecodeEnd)),n.key){const u=n.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);o.key=this.segmentKey(n.key),o.key.iv=u}return n.map&&(o.map=this.initSegmentForMap(n.map)),o}saveTransferStats_(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)}saveBandwidthRelatedStats_(t,n){if(this.pendingSegment_.byteLength=n.bytesReceived,t<Zs){this.logger_(`Ignoring segment's bandwidth because its duration of ${t} is less than the min to record ${Zs}`);return}const r={bandwidthInfo:{from:this.bandwidth,to:n.bandwidth}};this.trigger({type:"bandwidthupdated",metadata:r}),this.bandwidth=n.bandwidth,this.roundTrip=n.roundTripTime}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(t,n,r){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,n,r));return}if(this.saveTransferStats_(n.stats),!this.pendingSegment_||n.requestId!==this.pendingSegment_.requestId)return;if(t){if(this.pendingSegment_=null,this.state="READY",t.code===Qn.ABORTED)return;if(this.pause(),t.code===Qn.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(t),this.trigger("error");return}const s=this.pendingSegment_;this.saveBandwidthRelatedStats_(s.duration,n.stats),s.endOfAllRequests=n.endOfAllRequests,r.gopInfo&&(this.gopBuffer_=_7(this.gopBuffer_,r.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(s)}setTimeMapping_(t){const n=this.syncController_.mappingForTimeline(t);n!==null&&(this.timeMapping_=n)}updateMediaSecondsLoaded_(t){typeof t.start=="number"&&typeof t.end=="number"?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration}shouldUpdateTransmuxerTimestampOffset_(t){return t===null?!1:this.loaderType_==="main"&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset()}trueSegmentStart_({currentStart:t,playlist:n,mediaIndex:r,firstVideoFrameTimeForData:s,currentVideoTimestampOffset:a,useVideoTimingInfo:o,videoTimingInfo:l,audioTimingInfo:u}){if(typeof t<"u")return t;if(!o)return u.start;const d=n.segments[r-1];return r===0||!d||typeof d.start>"u"||d.end!==s+a?s:l.start}waitForAppendsToComplete_(t){const n=this.getCurrentMediaInfo_(t);if(!n){this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),this.trigger("error");return}const{hasAudio:r,hasVideo:s,isMuxed:a}=n,o=this.loaderType_==="main"&&s,l=!this.audioDisabled_&&r&&!a;if(t.waitingOnAppends=0,!t.hasAppendedData_){!t.timingInfo&&typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),this.checkAppendsDone_(t);return}o&&t.waitingOnAppends++,l&&t.waitingOnAppends++,o&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),l&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))}checkAppendsDone_(t){this.checkForAbort_(t.requestId)||(t.waitingOnAppends--,t.waitingOnAppends===0&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(t){const n=B7(this.loaderType_,this.getCurrentMediaInfo_(),t);return n?(this.error({message:n,playlistExclusionDuration:1/0}),this.trigger("error"),!0):!1}updateSourceBufferTimestampOffset_(t){if(t.timestampOffset===null||typeof t.timingInfo.start!="number"||t.changedTimestampOffset||this.loaderType_!=="main")return;let n=!1;t.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t.segment.videoTimingInfo,audioTimingInfo:t.segment.audioTimingInfo,timingInfo:t.timingInfo}),t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),n=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),n=!0),n&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t,audioTimingInfo:n,timingInfo:r}){return this.useDtsForTimestampOffset_?t&&typeof t.transmuxedDecodeStart=="number"?t.transmuxedDecodeStart:n&&typeof n.transmuxedDecodeStart=="number"?n.transmuxedDecodeStart:r.start:r.start}updateTimingInfoEnd_(t){t.timingInfo=t.timingInfo||{};const n=this.getMediaInfo_(),s=this.loaderType_==="main"&&n&&n.hasVideo&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;s&&(t.timingInfo.end=typeof s.end=="number"?s.end:s.start+t.duration)}handleAppendsDone_(){if(this.pendingSegment_){const u={segmentInfo:Bi({type:this.loaderType_,segment:this.pendingSegment_})};this.trigger({type:"appendsdone",metadata:u})}if(!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}const t=this.pendingSegment_;t.part&&t.part.syncInfo?t.part.syncInfo.markAppended():t.segment.syncInfo&&t.segment.syncInfo.markAppended(),this.updateTimingInfoEnd_(t),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:this.loaderType_==="main"});const n=L7(t,this.sourceType_);if(n&&(n.severity==="warn"?ce.log.warn(n.message):this.logger_(n.message)),this.recordThroughput_(t),this.pendingSegment_=null,this.state="READY",t.isSyncRequest&&(this.trigger("syncinfoupdate"),!t.hasAppendedData_)){this.logger_(`Throwing away un-appended sync request ${Wi(t)}`);return}this.logger_(`Appended ${Wi(t)}`),this.addSegmentMetadataCue_(t),this.fetchAtBuffer_=!0,this.currentTimeline_!==t.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:t.timeline})),this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate");const r=t.segment,s=t.part,a=r.end&&this.currentTime_()-r.end>t.playlist.targetDuration*3,o=s&&s.end&&this.currentTime_()-s.end>t.playlist.partTargetDuration*3;if(a||o){this.logger_(`bad ${a?"segment":"part"} ${Wi(t)}`),this.resetEverything();return}this.mediaIndex!==null&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=t.mediaIndex,this.partIndex=t.partIndex,this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex)&&this.endOfStream(),this.trigger("appended"),t.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(t){if(t.duration<Zs){this.logger_(`Ignoring segment's throughput because its duration of ${t.duration} is less than the min to record ${Zs}`);return}const n=this.throughput.rate,r=Date.now()-t.endOfAllRequests+1,s=Math.floor(t.byteLength/r*8*1e3);this.throughput.rate+=(s-n)/++this.throughput.count}addSegmentMetadataCue_(t){if(!this.segmentMetadataTrack_)return;const n=t.segment,r=n.start,s=n.end;if(!a0(r)||!a0(s))return;ns(r,s,this.segmentMetadataTrack_);const a=J.WebKitDataCue||J.VTTCue,o={custom:n.custom,dateTimeObject:n.dateTimeObject,dateTimeString:n.dateTimeString,programDateTime:n.programDateTime,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:r,end:s},l=JSON.stringify(o),u=new a(r,s,l);u.value=o,this.segmentMetadataTrack_.addCue(u)}}function ri(){}const H1=function(i){return typeof i!="string"?i:i.replace(/./,t=>t.toUpperCase())},M7=["video","audio"],Ml=(i,t)=>{const n=t[`${i}Buffer`];return n&&n.updating||t.queuePending[i]},R7=(i,t)=>{for(let n=0;n<t.length;n++){const r=t[n];if(r.type==="mediaSource")return null;if(r.type===i)return n}return null},ur=(i,t)=>{if(t.queue.length===0)return;let n=0,r=t.queue[n];if(r.type==="mediaSource"){!t.updating()&&t.mediaSource.readyState!=="closed"&&(t.queue.shift(),r.action(t),r.doneFn&&r.doneFn(),ur("audio",t),ur("video",t));return}if(i!=="mediaSource"&&!(!t.ready()||t.mediaSource.readyState==="closed"||Ml(i,t))){if(r.type!==i){if(n=R7(i,t.queue),n===null)return;r=t.queue[n]}if(t.queue.splice(n,1),t.queuePending[i]=r,r.action(i,t),!r.doneFn){t.queuePending[i]=null,ur(i,t);return}}},j1=(i,t)=>{const n=t[`${i}Buffer`],r=H1(i);n&&(n.removeEventListener("updateend",t[`on${r}UpdateEnd_`]),n.removeEventListener("error",t[`on${r}Error_`]),t.codecs[i]=null,t[`${i}Buffer`]=null)},Hn=(i,t)=>i&&t&&Array.prototype.indexOf.call(i.sourceBuffers,t)!==-1,fn={appendBuffer:(i,t,n)=>(r,s)=>{const a=s[`${r}Buffer`];if(Hn(s.mediaSource,a)){s.logger_(`Appending segment ${t.mediaIndex}'s ${i.length} bytes to ${r}Buffer`);try{a.appendBuffer(i)}catch(o){s.logger_(`Error with code ${o.code} `+(o.code===v1?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${r}Buffer`),s.queuePending[r]=null,n(o)}}},remove:(i,t)=>(n,r)=>{const s=r[`${n}Buffer`];if(Hn(r.mediaSource,s)){r.logger_(`Removing ${i} to ${t} from ${n}Buffer`);try{s.remove(i,t)}catch{r.logger_(`Remove ${i} to ${t} from ${n}Buffer failed`)}}},timestampOffset:i=>(t,n)=>{const r=n[`${t}Buffer`];Hn(n.mediaSource,r)&&(n.logger_(`Setting ${t}timestampOffset to ${i}`),r.timestampOffset=i)},callback:i=>(t,n)=>{i()},endOfStream:i=>t=>{if(t.mediaSource.readyState==="open"){t.logger_(`Calling mediaSource endOfStream(${i||""})`);try{t.mediaSource.endOfStream(i)}catch(n){ce.log.warn("Failed to call media source endOfStream",n)}}},duration:i=>t=>{t.logger_(`Setting mediaSource duration to ${i}`);try{t.mediaSource.duration=i}catch(n){ce.log.warn("Failed to set media source duration",n)}},abort:()=>(i,t)=>{if(t.mediaSource.readyState!=="open")return;const n=t[`${i}Buffer`];if(Hn(t.mediaSource,n)){t.logger_(`calling abort on ${i}Buffer`);try{n.abort()}catch(r){ce.log.warn(`Failed to abort on ${i}Buffer`,r)}}},addSourceBuffer:(i,t)=>n=>{const r=H1(i),s=hr(t);n.logger_(`Adding ${i}Buffer with codec ${t} to mediaSource`);const a=n.mediaSource.addSourceBuffer(s);a.addEventListener("updateend",n[`on${r}UpdateEnd_`]),a.addEventListener("error",n[`on${r}Error_`]),n.codecs[i]=t,n[`${i}Buffer`]=a},removeSourceBuffer:i=>t=>{const n=t[`${i}Buffer`];if(j1(i,t),!!Hn(t.mediaSource,n)){t.logger_(`Removing ${i}Buffer with codec ${t.codecs[i]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(n)}catch(r){ce.log.warn(`Failed to removeSourceBuffer ${i}Buffer`,r)}}},changeType:i=>(t,n)=>{const r=n[`${t}Buffer`],s=hr(i);if(!Hn(n.mediaSource,r))return;const a=i.substring(0,i.indexOf(".")),o=n.codecs[t];if(o.substring(0,o.indexOf("."))===a)return;const u={codecsChangeInfo:{from:o,to:i}};n.trigger({type:"codecschange",metadata:u}),n.logger_(`changing ${t}Buffer codec from ${o} to ${i}`);try{r.changeType(s),n.codecs[t]=i}catch(d){u.errorType=ce.Error.StreamingCodecsChangeError,u.error=d,d.metadata=u,n.error_=d,n.trigger("error"),ce.log.warn(`Failed to changeType on ${t}Buffer`,d)}}},mn=({type:i,sourceUpdater:t,action:n,doneFn:r,name:s})=>{t.queue.push({type:i,action:n,doneFn:r,name:s}),ur(i,t)},u0=(i,t)=>n=>{const r=t[`${i}Buffered`](),s=J4(r);if(t.logger_(`received "updateend" event for ${i} Source Buffer: `,s),t.queuePending[i]){const a=t.queuePending[i].doneFn;t.queuePending[i]=null,a&&a(t[`${i}Error_`])}ur(i,t)};class X1 extends ce.EventTarget{constructor(t){super(),this.mediaSource=t,this.sourceopenListener_=()=>ur("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=Sn("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=u0("video",this),this.onAudioUpdateEnd_=u0("audio",this),this.onVideoError_=n=>{this.videoError_=n},this.onAudioError_=n=>{this.audioError_=n},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(t){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(t),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(t,n){mn({type:"mediaSource",sourceUpdater:this,action:fn.addSourceBuffer(t,n),name:"addSourceBuffer"})}abort(t){mn({type:t,sourceUpdater:this,action:fn.abort(t),name:"abort"})}removeSourceBuffer(t){if(!this.canRemoveSourceBuffer()){ce.log.error("removeSourceBuffer is not supported!");return}mn({type:"mediaSource",sourceUpdater:this,action:fn.removeSourceBuffer(t),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!ce.browser.IS_FIREFOX&&J.MediaSource&&J.MediaSource.prototype&&typeof J.MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return J.SourceBuffer&&J.SourceBuffer.prototype&&typeof J.SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(t,n){if(!this.canChangeType()){ce.log.error("changeType is not supported!");return}mn({type:t,sourceUpdater:this,action:fn.changeType(n),name:"changeType"})}addOrChangeSourceBuffers(t){if(!t||typeof t!="object"||Object.keys(t).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(t).forEach(n=>{const r=t[n];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(n,r);this.canChangeType()&&this.changeType(n,r)})}appendBuffer(t,n){const{segmentInfo:r,type:s,bytes:a}=t;if(this.processedAppend_=!0,s==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([t,n]),this.logger_(`delayed audio append of ${a.length} until video append`);return}const o=n;if(mn({type:s,sourceUpdater:this,action:fn.appendBuffer(a,r||{mediaIndex:-1},o),doneFn:n,name:"appendBuffer"}),s==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const l=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${l.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,l.forEach(u=>{this.appendBuffer.apply(this,u)})}}audioBuffered(){return Hn(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Lt()}videoBuffered(){return Hn(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Lt()}buffered(){const t=Hn(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,n=Hn(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return n&&!t?this.audioBuffered():t&&!n?this.videoBuffered():$4(this.audioBuffered(),this.videoBuffered())}setDuration(t,n=ri){mn({type:"mediaSource",sourceUpdater:this,action:fn.duration(t),name:"duration",doneFn:n})}endOfStream(t=null,n=ri){typeof t!="string"&&(t=void 0),mn({type:"mediaSource",sourceUpdater:this,action:fn.endOfStream(t),name:"endOfStream",doneFn:n})}removeAudio(t,n,r=ri){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){r();return}mn({type:"audio",sourceUpdater:this,action:fn.remove(t,n),doneFn:r,name:"remove"})}removeVideo(t,n,r=ri){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){r();return}mn({type:"video",sourceUpdater:this,action:fn.remove(t,n),doneFn:r,name:"remove"})}updating(){return!!(Ml("audio",this)||Ml("video",this))}audioTimestampOffset(t){return typeof t<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(mn({type:"audio",sourceUpdater:this,action:fn.timestampOffset(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_}videoTimestampOffset(t){return typeof t<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==t&&(mn({type:"video",sourceUpdater:this,action:fn.timestampOffset(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_}audioQueueCallback(t){this.audioBuffer&&mn({type:"audio",sourceUpdater:this,action:fn.callback(t),name:"callback"})}videoQueueCallback(t){this.videoBuffer&&mn({type:"video",sourceUpdater:this,action:fn.callback(t),name:"callback"})}dispose(){this.trigger("dispose"),M7.forEach(t=>{this.abort(t),this.canRemoveSourceBuffer()?this.removeSourceBuffer(t):this[`${t}QueueCallback`](()=>j1(t,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const c0=i=>decodeURIComponent(escape(String.fromCharCode.apply(null,i))),q7=i=>{const t=new Uint8Array(i);return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("")},d0=new Uint8Array(`
220
+
221
+ `.split("").map(i=>i.charCodeAt(0)));class F7 extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class U7 extends Ll{constructor(t,n={}){super(t,n),this.mediaSource_=null,this.subtitlesTrack_=null,this.featuresNativeTextTracks_=t.featuresNativeTextTracks,this.loadVttJs=t.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Lt();const t=this.subtitlesTrack_.cues,n=t[0].startTime,r=t[t.length-1].startTime;return Lt([[n,r]])}initSegmentForMap(t,n=!1){if(!t)return null;const r=Da(t);let s=this.initSegments_[r];if(n&&!s&&t.bytes){const a=d0.byteLength+t.bytes.byteLength,o=new Uint8Array(a);o.set(t.bytes),o.set(d0,t.bytes.byteLength),this.initSegments_[r]=s={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:o}}return s||t}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(t){return typeof t>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=t,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}remove(t,n){ns(t,n,this.subtitlesTrack_)}fillBuffer_(){const t=this.chooseNextRequest_();if(t){if(this.syncController_.timestampOffsetForTimeline(t.timeline)===null){const n=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};this.syncController_.one("timestampoffset",n),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(t)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(t){for(;t&&t.segment.empty;){if(t.mediaIndex+1>=t.playlist.segments.length){t=null;break}t=this.generateSegmentInfo_({playlist:t.playlist,mediaIndex:t.mediaIndex+1,startOfSegment:t.startOfSegment+t.duration,isSyncRequest:t.isSyncRequest})}return t}stopForError(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(t,n,r){if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(n.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(t){t.code===Qn.TIMEOUT&&this.handleTimeout_(),t.code===Qn.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(t);return}const s=this.pendingSegment_,a=r.mp4VttCues&&r.mp4VttCues.length;a&&(s.mp4VttCues=r.mp4VttCues),this.saveBandwidthRelatedStats_(s.duration,n.stats),n.key&&this.segmentKey(n.key,!0),this.state="APPENDING",this.trigger("appending");const o=s.segment;if(o.map&&(o.map.bytes=n.map.bytes),s.bytes=n.bytes,typeof J.WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(()=>this.segmentRequestFinished_(t,n,r),()=>this.stopForError({message:"Error loading vtt.js"}));return}o.requested=!0;try{this.parseVTTCues_(s)}catch(l){this.stopForError({message:l.message,metadata:{errorType:ce.Error.StreamingVttParserError,error:l}});return}if(a||this.updateTimeMapping_(s,this.syncController_.timelines[s.timeline],this.playlist_),s.cues.length?s.timingInfo={start:s.cues[0].startTime,end:s.cues[s.cues.length-1].endTime}:s.timingInfo={start:s.startOfSegment,end:s.startOfSegment+s.duration},s.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}s.byteLength=s.bytes.byteLength,this.mediaSecondsLoaded+=o.duration,s.cues.forEach(l=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new J.VTTCue(l.startTime,l.endTime,l.text):l)}),E7(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(t,n){const r=t&&t.type==="vtt",s=n&&n.type==="text";r&&s&&super.handleData_(t,n)}updateTimingInfoEnd_(){}parseMp4VttCues_(t){const n=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();t.mp4VttCues.forEach(r=>{const s=r.start+n,a=r.end+n,o=new J.VTTCue(s,a,r.cueText);r.settings&&r.settings.split(" ").forEach(l=>{const u=l.split(":"),d=u[0],f=u[1];o[d]=isNaN(f)?f:Number(f)}),t.cues.push(o)})}parseVTTCues_(t){let n,r=!1;if(typeof J.WebVTT!="function")throw new F7;if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},t.mp4VttCues){this.parseMp4VttCues_(t);return}typeof J.TextDecoder=="function"?n=new J.TextDecoder("utf8"):(n=J.WebVTT.StringDecoder(),r=!0);const s=new J.WebVTT.Parser(J,J.vttjs,n);if(s.oncue=t.cues.push.bind(t.cues),s.ontimestampmap=o=>{t.timestampmap=o},s.onparsingerror=o=>{ce.log.warn("Error encountered when parsing cues: "+o.message)},t.segment.map){let o=t.segment.map.bytes;r&&(o=c0(o)),s.parse(o)}let a=t.bytes;r&&(a=c0(a)),s.parse(a),s.flush()}updateTimeMapping_(t,n,r){const s=t.segment;if(!n)return;if(!t.cues.length){s.empty=!0;return}const{MPEGTS:a,LOCAL:o}=t.timestampmap,u=a/Ni.ONE_SECOND_IN_TS-o+n.mapping;if(t.cues.forEach(d=>{const f=d.endTime-d.startTime,p=this.handleRollover_(d.startTime+u,n.time);d.startTime=Math.max(p,0),d.endTime=Math.max(p+f,0)}),!r.syncInfo){const d=t.cues[0].startTime,f=t.cues[t.cues.length-1].startTime;r.syncInfo={mediaSequence:r.mediaSequence+t.mediaIndex,time:Math.min(d,f-s.duration)}}}handleRollover_(t,n){if(n===null)return t;let r=t*Ni.ONE_SECOND_IN_TS;const s=n*Ni.ONE_SECOND_IN_TS;let a;for(s<r?a=-8589934592:a=8589934592;Math.abs(r-s)>4294967296;)r+=a;return r/Ni.ONE_SECOND_IN_TS}}const z7=function(i,t){const n=i.cues;for(let r=0;r<n.length;r++){const s=n[r];if(t>=s.adStartTime&&t<=s.adEndTime)return s}return null},H7=function(i,t,n=0){if(!i.segments)return;let r=n,s;for(let a=0;a<i.segments.length;a++){const o=i.segments[a];if(s||(s=z7(t,r+o.duration/2)),s){if("cueIn"in o){s.endTime=r,s.adEndTime=r,r+=o.duration,s=null;continue}if(r<s.endTime){r+=o.duration;continue}s.endTime+=o.duration}else if("cueOut"in o&&(s=new J.VTTCue(r,r+o.duration,o.cueOut),s.adStartTime=r,s.adEndTime=r+parseFloat(o.cueOut),t.addCue(s)),"cueOutCont"in o){const[l,u]=o.cueOutCont.split("/").map(parseFloat);s=new J.VTTCue(r,r+o.duration,""),s.adStartTime=r-l,s.adEndTime=s.adStartTime+u,t.addCue(s)}r+=o.duration}};class h0{constructor({start:t,end:n,segmentIndex:r,partIndex:s=null,appended:a=!1}){this.start_=t,this.end_=n,this.segmentIndex_=r,this.partIndex_=s,this.appended_=a}isInRange(t){return t>=this.start&&t<this.end}markAppended(){this.appended_=!0}resetAppendedStatus(){this.appended_=!1}get isAppended(){return this.appended_}get start(){return this.start_}get end(){return this.end_}get segmentIndex(){return this.segmentIndex_}get partIndex(){return this.partIndex_}}class j7{constructor(t,n=[]){this.segmentSyncInfo_=t,this.partsSyncInfo_=n}get segmentSyncInfo(){return this.segmentSyncInfo_}get partsSyncInfo(){return this.partsSyncInfo_}get hasPartsSyncInfo(){return this.partsSyncInfo_.length>0}resetAppendStatus(){this.segmentSyncInfo_.resetAppendedStatus(),this.partsSyncInfo_.forEach(t=>t.resetAppendedStatus())}}class G1{constructor(){this.storage_=new Map,this.diagnostics_="",this.isReliable_=!1,this.start_=-1/0,this.end_=1/0}get start(){return this.start_}get end(){return this.end_}get diagnostics(){return this.diagnostics_}get isReliable(){return this.isReliable_}resetAppendedStatus(){this.storage_.forEach(t=>t.resetAppendStatus())}update(t,n){const{mediaSequence:r,segments:s}=t;if(this.isReliable_=this.isReliablePlaylist_(r,s),!!this.isReliable_)return this.updateStorage_(s,r,this.calculateBaseTime_(r,s,n))}getSyncInfoForTime(t){for(const{segmentSyncInfo:n,partsSyncInfo:r}of this.storage_.values())if(r.length){for(const s of r)if(s.isInRange(t))return s}else if(n.isInRange(t))return n;return null}getSyncInfoForMediaSequence(t){return this.storage_.get(t)}updateStorage_(t,n,r){const s=new Map;let a=`
222
+ `,o=r,l=n;this.start_=o,t.forEach((u,d)=>{const f=this.storage_.get(l),p=o,E=p+u.duration,C=!!(f&&f.segmentSyncInfo&&f.segmentSyncInfo.isAppended),x=new h0({start:p,end:E,appended:C,segmentIndex:d});u.syncInfo=x;let m=o;const g=(u.parts||[]).map((k,A)=>{const D=m,O=m+k.duration,M=!!(f&&f.partsSyncInfo&&f.partsSyncInfo[A]&&f.partsSyncInfo[A].isAppended),V=new h0({start:D,end:O,appended:M,segmentIndex:d,partIndex:A});return m=O,a+=`Media Sequence: ${l}.${A} | Range: ${D} --> ${O} | Appended: ${M}
223
+ `,k.syncInfo=V,V});s.set(l,new j7(x,g)),a+=`${z1(u.resolvedUri)} | Media Sequence: ${l} | Range: ${p} --> ${E} | Appended: ${C}
224
+ `,l++,o=E}),this.end_=o,this.storage_=s,this.diagnostics_=a}calculateBaseTime_(t,n,r){if(!this.storage_.size)return 0;if(this.storage_.has(t))return this.storage_.get(t).segmentSyncInfo.start;const s=Math.min(...this.storage_.keys());if(t<s){const a=s-t;let o=this.storage_.get(s).segmentSyncInfo.start;for(let l=0;l<a;l++){const u=n[l];o-=u.duration}return o}return r}isReliablePlaylist_(t,n){return t!=null&&Array.isArray(n)&&n.length}}class f0 extends G1{constructor(t){super(),this.parent_=t}calculateBaseTime_(t,n,r){if(!this.storage_.size){const s=this.parent_.getSyncInfoForMediaSequence(t);return s?s.segmentSyncInfo.start:0}return super.calculateBaseTime_(t,n,r)}}const X7=86400,ol=[{name:"VOD",run:(i,t,n,r,s)=>n!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(i,t,n,r,s,a)=>{const o=i.getMediaSequenceSync(a);if(!o||!o.isReliable)return null;const l=o.getSyncInfoForTime(s);return l?{time:l.start,partIndex:l.partIndex,segmentIndex:l.segmentIndex}:null}},{name:"ProgramDateTime",run:(i,t,n,r,s)=>{if(!Object.keys(i.timelineToDatetimeMappings).length)return null;let a=null,o=null;const l=wl(t);s=s||0;for(let u=0;u<l.length;u++){const d=t.endList||s===0?u:l.length-(u+1),f=l[d],p=f.segment,E=i.timelineToDatetimeMappings[p.timeline];if(!E||!p.dateTimeObject)continue;let x=p.dateTimeObject.getTime()/1e3+E;if(p.parts&&typeof f.partIndex=="number")for(let g=0;g<f.partIndex;g++)x+=p.parts[g].duration;const m=Math.abs(s-x);if(o!==null&&(m===0||o<m))break;o=m,a={time:x,segmentIndex:f.segmentIndex,partIndex:f.partIndex}}return a}},{name:"Segment",run:(i,t,n,r,s)=>{let a=null,o=null;s=s||0;const l=wl(t);for(let u=0;u<l.length;u++){const d=t.endList||s===0?u:l.length-(u+1),f=l[d],p=f.segment,E=f.part&&f.part.start||p&&p.start;if(p.timeline===r&&typeof E<"u"){const C=Math.abs(s-E);if(o!==null&&o<C)break;(!a||o===null||o>=C)&&(o=C,a={time:E,segmentIndex:f.segmentIndex,partIndex:f.partIndex})}}return a}},{name:"Discontinuity",run:(i,t,n,r,s)=>{let a=null;if(s=s||0,t.discontinuityStarts&&t.discontinuityStarts.length){let o=null;for(let l=0;l<t.discontinuityStarts.length;l++){const u=t.discontinuityStarts[l],d=t.discontinuitySequence+l+1,f=i.discontinuities[d];if(f){const p=Math.abs(s-f.time);if(o!==null&&o<p)break;(!a||o===null||o>=p)&&(o=p,a={time:f.time,segmentIndex:u,partIndex:null})}}}return a}},{name:"Playlist",run:(i,t,n,r,s)=>t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}];class G7 extends ce.EventTarget{constructor(t={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const n=new G1,r=new f0(n),s=new f0(n);this.mediaSequenceStorage_={main:n,audio:r,vtt:s},this.logger_=Sn("SyncController")}getMediaSequenceSync(t){return this.mediaSequenceStorage_[t]||null}getSyncPoint(t,n,r,s,a){if(n!==1/0)return ol.find(({name:u})=>u==="VOD").run(this,t,n);const o=this.runStrategies_(t,n,r,s,a);if(!o.length)return null;for(const l of o){const{syncPoint:u,strategy:d}=l,{segmentIndex:f,time:p}=u;if(f<0)continue;const E=t.segments[f],C=p,x=C+E.duration;if(this.logger_(`Strategy: ${d}. Current time: ${s}. selected segment: ${f}. Time: [${C} -> ${x}]}`),s>=C&&s<x)return this.logger_("Found sync point with exact match: ",u),u}return this.selectSyncPoint_(o,{key:"time",value:s})}getExpiredTime(t,n){if(!t||!t.segments)return null;const r=this.runStrategies_(t,n,t.discontinuitySequence,0);if(!r.length)return null;const s=this.selectSyncPoint_(r,{key:"segmentIndex",value:0});return s.segmentIndex>0&&(s.time*=-1),Math.abs(s.time+ls({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:s.segmentIndex,endIndex:0}))}runStrategies_(t,n,r,s,a){const o=[];for(let l=0;l<ol.length;l++){const u=ol[l],d=u.run(this,t,n,r,s,a);d&&(d.strategy=u.name,o.push({strategy:u.name,syncPoint:d}))}return o}selectSyncPoint_(t,n){let r=t[0].syncPoint,s=Math.abs(t[0].syncPoint[n.key]-n.value),a=t[0].strategy;for(let o=1;o<t.length;o++){const l=Math.abs(t[o].syncPoint[n.key]-n.value);l<s&&(s=l,r=t[o].syncPoint,a=t[o].strategy)}return this.logger_(`syncPoint for [${n.key}: ${n.value}] chosen with strategy [${a}]: [time:${r.time}, segmentIndex:${r.segmentIndex}`+(typeof r.partIndex=="number"?`,partIndex:${r.partIndex}`:"")+"]"),r}saveExpiredSegmentInfo(t,n){const r=n.mediaSequence-t.mediaSequence;if(r>X7){ce.log.warn(`Not saving expired segment info. Media sequence gap ${r} is too large.`);return}for(let s=r-1;s>=0;s--){const a=t.segments[s];if(a&&typeof a.start<"u"){n.syncInfo={mediaSequence:t.mediaSequence+s,time:a.start},this.logger_(`playlist refresh sync: [time:${n.syncInfo.time}, mediaSequence: ${n.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(t){if(this.timelineToDatetimeMappings={},t.segments&&t.segments.length&&t.segments[0].dateTimeObject){const n=t.segments[0],r=n.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[n.timeline]=-r}}saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:n}){const r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),s=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:s.start}));const a=s.dateTimeObject;s.discontinuity&&n&&a&&(this.timelineToDatetimeMappings[s.timeline]=-(a.getTime()/1e3))}timestampOffsetForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].time}mappingForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].mapping}calculateSegmentTimeMapping_(t,n,r){const s=t.segment,a=t.part;let o=this.timelines[t.timeline],l,u;if(typeof t.timestampOffset=="number")o={time:t.startOfSegment,mapping:t.startOfSegment-n.start},r&&(this.timelines[t.timeline]=o,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${t.timeline}: [time: ${o.time}] [mapping: ${o.mapping}]`)),l=t.startOfSegment,u=n.end+o.mapping;else if(o)l=n.start+o.mapping,u=n.end+o.mapping;else return!1;return a&&(a.start=l,a.end=u),(!s.start||l<s.start)&&(s.start=l),s.end=u,!0}saveDiscontinuitySyncInfo_(t){const n=t.playlist,r=t.segment;if(r.discontinuity)this.discontinuities[r.timeline]={time:r.start,accuracy:0};else if(n.discontinuityStarts&&n.discontinuityStarts.length)for(let s=0;s<n.discontinuityStarts.length;s++){const a=n.discontinuityStarts[s],o=n.discontinuitySequence+s+1,l=a-t.mediaIndex,u=Math.abs(l);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>u){let d;l<0?d=r.start-ls({defaultDuration:n.targetDuration,durationList:n.segments,startIndex:t.mediaIndex,endIndex:a}):d=r.end+ls({defaultDuration:n.targetDuration,durationList:n.segments,startIndex:t.mediaIndex+1,endIndex:a}),this.discontinuities[o]={time:d,accuracy:u}}}}dispose(){this.trigger("dispose"),this.off()}}class Q7 extends ce.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:t,from:n,to:r}){return typeof n=="number"&&typeof r=="number"&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]}lastTimelineChange({type:t,from:n,to:r}){if(typeof n=="number"&&typeof r=="number"){this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t];const s={timelineChangeInfo:{from:n,to:r}};this.trigger({type:"timelinechange",metadata:s})}return this.lastTimelineChanges_[t]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const Y7=V1(N1(function(){var i=(function(){function m(){this.listeners={}}var g=m.prototype;return g.on=function(A,D){this.listeners[A]||(this.listeners[A]=[]),this.listeners[A].push(D)},g.off=function(A,D){if(!this.listeners[A])return!1;var O=this.listeners[A].indexOf(D);return this.listeners[A]=this.listeners[A].slice(0),this.listeners[A].splice(O,1),O>-1},g.trigger=function(A){var D=this.listeners[A];if(D)if(arguments.length===2)for(var O=D.length,M=0;M<O;++M)D[M].call(this,arguments[1]);else for(var V=Array.prototype.slice.call(arguments,1),S=D.length,L=0;L<S;++L)D[L].apply(this,V)},g.dispose=function(){this.listeners={}},g.pipe=function(A){this.on("data",function(D){A.push(D)})},m})();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function t(m){return m.subarray(0,m.byteLength-m[m.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const n=function(){const m=[[[],[],[],[],[]],[[],[],[],[],[]]],g=m[0],k=m[1],A=g[4],D=k[4];let O,M,V;const S=[],L=[];let w,B,F,Q,I,q;for(O=0;O<256;O++)L[(S[O]=O<<1^(O>>7)*283)^O]=O;for(M=V=0;!A[M];M^=w||1,V=L[V]||1)for(Q=V^V<<1^V<<2^V<<3^V<<4,Q=Q>>8^Q&255^99,A[M]=Q,D[Q]=M,F=S[B=S[w=S[M]]],q=F*16843009^B*65537^w*257^M*16843008,I=S[Q]*257^Q*16843008,O=0;O<4;O++)g[O][M]=I=I<<24^I>>>8,k[O][Q]=q=q<<24^q>>>8;for(O=0;O<5;O++)g[O]=g[O].slice(0),k[O]=k[O].slice(0);return m};let r=null;class s{constructor(g){r||(r=n()),this._tables=[[r[0][0].slice(),r[0][1].slice(),r[0][2].slice(),r[0][3].slice(),r[0][4].slice()],[r[1][0].slice(),r[1][1].slice(),r[1][2].slice(),r[1][3].slice(),r[1][4].slice()]];let k,A,D;const O=this._tables[0][4],M=this._tables[1],V=g.length;let S=1;if(V!==4&&V!==6&&V!==8)throw new Error("Invalid aes key size");const L=g.slice(0),w=[];for(this._key=[L,w],k=V;k<4*V+28;k++)D=L[k-1],(k%V===0||V===8&&k%V===4)&&(D=O[D>>>24]<<24^O[D>>16&255]<<16^O[D>>8&255]<<8^O[D&255],k%V===0&&(D=D<<8^D>>>24^S<<24,S=S<<1^(S>>7)*283)),L[k]=L[k-V]^D;for(A=0;k;A++,k--)D=L[A&3?k:k-4],k<=4||A<4?w[A]=D:w[A]=M[0][O[D>>>24]]^M[1][O[D>>16&255]]^M[2][O[D>>8&255]]^M[3][O[D&255]]}decrypt(g,k,A,D,O,M){const V=this._key[1];let S=g^V[0],L=D^V[1],w=A^V[2],B=k^V[3],F,Q,I;const q=V.length/4-2;let U,G=4;const z=this._tables[1],Z=z[0],W=z[1],R=z[2],Y=z[3],j=z[4];for(U=0;U<q;U++)F=Z[S>>>24]^W[L>>16&255]^R[w>>8&255]^Y[B&255]^V[G],Q=Z[L>>>24]^W[w>>16&255]^R[B>>8&255]^Y[S&255]^V[G+1],I=Z[w>>>24]^W[B>>16&255]^R[S>>8&255]^Y[L&255]^V[G+2],B=Z[B>>>24]^W[S>>16&255]^R[L>>8&255]^Y[w&255]^V[G+3],G+=4,S=F,L=Q,w=I;for(U=0;U<4;U++)O[(3&-U)+M]=j[S>>>24]<<24^j[L>>16&255]<<16^j[w>>8&255]<<8^j[B&255]^V[G++],F=S,S=L,L=w,w=B,B=F}}class a extends i{constructor(){super(i),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(g){this.jobs.push(g),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const o=function(m){return m<<24|(m&65280)<<8|(m&16711680)>>8|m>>>24},l=function(m,g,k){const A=new Int32Array(m.buffer,m.byteOffset,m.byteLength>>2),D=new s(Array.prototype.slice.call(g)),O=new Uint8Array(m.byteLength),M=new Int32Array(O.buffer);let V,S,L,w,B,F,Q,I,q;for(V=k[0],S=k[1],L=k[2],w=k[3],q=0;q<A.length;q+=4)B=o(A[q]),F=o(A[q+1]),Q=o(A[q+2]),I=o(A[q+3]),D.decrypt(B,F,Q,I,M,q),M[q]=o(M[q]^V),M[q+1]=o(M[q+1]^S),M[q+2]=o(M[q+2]^L),M[q+3]=o(M[q+3]^w),V=B,S=F,L=Q,w=I;return O};class u{constructor(g,k,A,D){const O=u.STEP,M=new Int32Array(g.buffer),V=new Uint8Array(g.byteLength);let S=0;for(this.asyncStream_=new a,this.asyncStream_.push(this.decryptChunk_(M.subarray(S,S+O),k,A,V)),S=O;S<M.length;S+=O)A=new Uint32Array([o(M[S-4]),o(M[S-3]),o(M[S-2]),o(M[S-1])]),this.asyncStream_.push(this.decryptChunk_(M.subarray(S,S+O),k,A,V));this.asyncStream_.push(function(){D(null,t(V))})}static get STEP(){return 32e3}decryptChunk_(g,k,A,D){return function(){const O=l(g,k,A);D.set(O,g.byteOffset)}}}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f;typeof window<"u"?f=window:typeof d<"u"?f=d:typeof self<"u"?f=self:f={};var p=f,E=function(g){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(g):g&&g.buffer instanceof ArrayBuffer},C=p.BigInt||Number;C("0x1"),C("0x100"),C("0x10000"),C("0x1000000"),C("0x100000000"),C("0x10000000000"),C("0x1000000000000"),C("0x100000000000000"),C("0x10000000000000000"),(function(){var m=new Uint16Array([65484]),g=new Uint8Array(m.buffer,m.byteOffset,m.byteLength);return g[0]===255?"big":g[0]===204?"little":"unknown"})();const x=function(m){const g={};return Object.keys(m).forEach(k=>{const A=m[k];E(A)?g[k]={bytes:A.buffer,byteOffset:A.byteOffset,byteLength:A.byteLength}:g[k]=A}),g};self.onmessage=function(m){const g=m.data,k=new Uint8Array(g.encrypted.bytes,g.encrypted.byteOffset,g.encrypted.byteLength),A=new Uint32Array(g.key.bytes,g.key.byteOffset,g.key.byteLength/4),D=new Uint32Array(g.iv.bytes,g.iv.byteOffset,g.iv.byteLength/4);new u(k,A,D,function(O,M){self.postMessage(x({source:g.source,decrypted:M}),[M.buffer])})}}));var K7=B1(Y7);const W7=i=>{let t=i.default?"main":"alternative";return i.characteristics&&i.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Q1=(i,t)=>{i.abort(),i.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Rl=(i,t)=>{t.activePlaylistLoader=i,i.load()},J7=(i,t)=>()=>{const{segmentLoaders:{[i]:n,main:r},mediaTypes:{[i]:s}}=t,a=s.activeTrack(),o=s.getActiveGroup(),l=s.activePlaylistLoader,u=s.lastGroup_;if(!(o&&u&&o.id===u.id)&&(s.lastGroup_=o,s.lastTrack_=a,Q1(n,s),!(!o||o.isMainPlaylist))){if(!o.playlistLoader){l&&r.resetEverything();return}n.resyncLoader(),Rl(o.playlistLoader,s)}},Z7=(i,t)=>()=>{const{segmentLoaders:{[i]:n},mediaTypes:{[i]:r}}=t;r.lastGroup_=null,n.abort(),n.pause()},$7=(i,t)=>()=>{const{mainPlaylistLoader:n,segmentLoaders:{[i]:r,main:s},mediaTypes:{[i]:a}}=t,o=a.activeTrack(),l=a.getActiveGroup(),u=a.activePlaylistLoader,d=a.lastTrack_;if(!(d&&o&&d.id===o.id)&&(a.lastGroup_=l,a.lastTrack_=o,Q1(r,a),!!l)){if(l.isMainPlaylist){if(!o||!d||o.id===d.id)return;const f=t.vhs.playlistController_,p=f.selectPlaylist();if(f.media()===p)return;a.logger_(`track change. Switching main audio from ${d.id} to ${o.id}`),n.pause(),s.resetEverything(),f.fastQualityChange_(p);return}if(i==="AUDIO"){if(!l.playlistLoader){s.setAudio(!0),s.resetEverything();return}r.setAudio(!0),s.setAudio(!1)}if(u===l.playlistLoader){Rl(l.playlistLoader,a);return}r.track&&r.track(o),r.resetEverything(),Rl(l.playlistLoader,a)}},Ba={AUDIO:(i,t)=>()=>{const{mediaTypes:{[i]:n},excludePlaylist:r}=t,s=n.activeTrack(),a=n.activeGroup(),o=(a.filter(u=>u.default)[0]||a[0]).id,l=n.tracks[o];if(s===l){r({error:{message:"Problem encountered loading the default audio track."}});return}ce.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const u in n.tracks)n.tracks[u].enabled=n.tracks[u]===l;n.onTrackChanged()},SUBTITLES:(i,t)=>()=>{const{mediaTypes:{[i]:n}}=t;ce.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const r=n.activeTrack();r&&(r.mode="disabled"),n.onTrackChanged()}},m0={AUDIO:(i,t,n)=>{if(!t)return;const{tech:r,requestOptions:s,segmentLoaders:{[i]:a}}=n;t.on("loadedmetadata",()=>{const o=t.media();a.playlist(o,s),(!r.paused()||o.endList&&r.preload()!=="none")&&a.load()}),t.on("loadedplaylist",()=>{a.playlist(t.media(),s),r.paused()||a.load()}),t.on("error",Ba[i](i,n))},SUBTITLES:(i,t,n)=>{const{tech:r,requestOptions:s,segmentLoaders:{[i]:a},mediaTypes:{[i]:o}}=n;t.on("loadedmetadata",()=>{const l=t.media();a.playlist(l,s),a.track(o.activeTrack()),(!r.paused()||l.endList&&r.preload()!=="none")&&a.load()}),t.on("loadedplaylist",()=>{a.playlist(t.media(),s),r.paused()||a.load()}),t.on("error",Ba[i](i,n))}},e5={AUDIO:(i,t)=>{const{vhs:n,sourceType:r,segmentLoaders:{[i]:s},requestOptions:a,main:{mediaGroups:o},mediaTypes:{[i]:{groups:l,tracks:u,logger_:d}},mainPlaylistLoader:f}=t,p=ks(f.main);(!o[i]||Object.keys(o[i]).length===0)&&(o[i]={main:{default:{default:!0}}},p&&(o[i].main.default.playlists=f.main.playlists));for(const E in o[i]){l[E]||(l[E]=[]);for(const C in o[i][E]){let x=o[i][E][C],m;if(p?(d(`AUDIO group '${E}' label '${C}' is a main playlist`),x.isMainPlaylist=!0,m=null):r==="vhs-json"&&x.playlists?m=new er(x.playlists[0],n,a):x.resolvedUri?m=new er(x.resolvedUri,n,a):x.playlists&&r==="dash"?m=new Il(x.playlists[0],n,a,f):m=null,x=ot({id:C,playlistLoader:m},x),m0[i](i,x.playlistLoader,t),l[E].push(x),typeof u[C]>"u"){const g=new ce.AudioTrack({id:C,kind:W7(x),enabled:!1,language:x.language,default:x.default,label:C});u[C]=g}}}s.on("error",Ba[i](i,t))},SUBTITLES:(i,t)=>{const{tech:n,vhs:r,sourceType:s,segmentLoaders:{[i]:a},requestOptions:o,main:{mediaGroups:l},mediaTypes:{[i]:{groups:u,tracks:d}},mainPlaylistLoader:f}=t;for(const p in l[i]){u[p]||(u[p]=[]);for(const E in l[i][p]){if(!r.options_.useForcedSubtitles&&l[i][p][E].forced)continue;let C=l[i][p][E],x;if(s==="hls")x=new er(C.resolvedUri,r,o);else if(s==="dash"){if(!C.playlists.filter(g=>g.excludeUntil!==1/0).length)return;x=new Il(C.playlists[0],r,o,f)}else s==="vhs-json"&&(x=new er(C.playlists?C.playlists[0]:C.resolvedUri,r,o));if(C=ot({id:E,playlistLoader:x},C),m0[i](i,C.playlistLoader,t),u[p].push(C),typeof d[E]>"u"){const m=n.addRemoteTextTrack({id:E,kind:"subtitles",default:C.default&&C.autoselect,language:C.language,label:E},!1).track;d[E]=m}}}a.on("error",Ba[i](i,t))},"CLOSED-CAPTIONS":(i,t)=>{const{tech:n,main:{mediaGroups:r},mediaTypes:{[i]:{groups:s,tracks:a}}}=t;for(const o in r[i]){s[o]||(s[o]=[]);for(const l in r[i][o]){const u=r[i][o][l];if(!/^(?:CC|SERVICE)/.test(u.instreamId))continue;const d=n.options_.vhs&&n.options_.vhs.captionServices||{};let f={label:l,language:u.language,instreamId:u.instreamId,default:u.default&&u.autoselect};if(d[f.instreamId]&&(f=ot(f,d[f.instreamId])),f.default===void 0&&delete f.default,s[o].push(ot({id:l},u)),typeof a[l]>"u"){const p=n.addRemoteTextTrack({id:f.instreamId,kind:"captions",default:f.default,language:f.language,label:f.label},!1).track;a[l]=p}}}}},Y1=(i,t)=>{for(let n=0;n<i.length;n++)if(Lu(t,i[n])||i[n].playlists&&Y1(i[n].playlists,t))return!0;return!1},t5=(i,t)=>n=>{const{mainPlaylistLoader:r,mediaTypes:{[i]:{groups:s}}}=t,a=r.media();if(!a)return null;let o=null;a.attributes[i]&&(o=s[a.attributes[i]]);const l=Object.keys(s);if(!o)if(i==="AUDIO"&&l.length>1&&ks(t.main))for(let u=0;u<l.length;u++){const d=s[l[u]];if(Y1(d,a)){o=d;break}}else s.main?o=s.main:l.length===1&&(o=s[l[0]]);return typeof n>"u"?o:n===null||!o?null:o.filter(u=>u.id===n.id)[0]||null},n5={AUDIO:(i,t)=>()=>{const{mediaTypes:{[i]:{tracks:n}}}=t;for(const r in n)if(n[r].enabled)return n[r];return null},SUBTITLES:(i,t)=>()=>{const{mediaTypes:{[i]:{tracks:n}}}=t;for(const r in n)if(n[r].mode==="showing"||n[r].mode==="hidden")return n[r];return null}},i5=(i,{mediaTypes:t})=>()=>{const n=t[i].activeTrack();return n?t[i].activeGroup(n):null},r5=i=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(d=>{e5[d](d,i)});const{mediaTypes:t,mainPlaylistLoader:n,tech:r,vhs:s,segmentLoaders:{["AUDIO"]:a,main:o}}=i;["AUDIO","SUBTITLES"].forEach(d=>{t[d].activeGroup=t5(d,i),t[d].activeTrack=n5[d](d,i),t[d].onGroupChanged=J7(d,i),t[d].onGroupChanging=Z7(d,i),t[d].onTrackChanged=$7(d,i),t[d].getActiveGroup=i5(d,i)});const l=t.AUDIO.activeGroup();if(l){const d=(l.filter(p=>p.default)[0]||l[0]).id;t.AUDIO.tracks[d].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(o.setAudio(!1),a.setAudio(!0)):o.setAudio(!0)}n.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(d=>t[d].onGroupChanged())}),n.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(d=>t[d].onGroupChanging())});const u=()=>{t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"})};r.audioTracks().addEventListener("change",u),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),s.on("dispose",()=>{r.audioTracks().removeEventListener("change",u),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)}),r.clearTracks("audio");for(const d in t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[d])},s5=()=>{const i={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{i[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:ri,activeTrack:ri,getActiveGroup:ri,onGroupChanged:ri,onTrackChanged:ri,lastTrack_:null,logger_:Sn(`MediaGroups[${t}]`)}}),i};class p0{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(t){t===1&&(this.version_=t)}set ttl(t){this.ttl_=t||300}set reloadUri(t){t&&(this.reloadUri_=on(this.reloadUri_,t))}set priority(t){t&&t.length&&(this.priority_=t)}set pathwayClones(t){t&&t.length&&(this.pathwayClones_=new Map(t.map(n=>[n.ID,n])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class a5 extends ce.EventTarget{constructor(t,n){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new p0,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=Sn("Content Steering"),this.xhr_=t,this.getBandwidth_=n}assignTagProperties(t,n){this.manifestType_=n.serverUri?"HLS":"DASH";const r=n.serverUri||n.serverURL;if(!r){this.logger_(`steering manifest URL is ${r}, cannot request steering manifest.`),this.trigger("error");return}if(r.startsWith("data:")){this.decodeDataUriManifest_(r.substring(r.indexOf(",")+1));return}this.steeringManifest.reloadUri=on(t,r),this.defaultPathway=n.pathwayId||n.defaultServiceLocation,this.queryBeforeStart=n.queryBeforeStart,this.proxyServerUrl_=n.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(t){const n=this.steeringManifest.reloadUri;if(!n)return;const r=t?n:this.getRequestURI(n);if(!r){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const s={contentSteeringInfo:{uri:r}};this.trigger({type:"contentsteeringloadstart",metadata:s}),this.request_=this.xhr_({uri:r,requestType:"content-steering-manifest"},(a,o)=>{if(a){if(o.status===410){this.logger_(`manifest request 410 ${a}.`),this.logger_(`There will be no more content steering requests to ${r} this session.`),this.excludedSteeringManifestURLs.add(r);return}if(o.status===429){const d=o.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${a}.`),this.logger_(`content steering will retry in ${d} seconds.`),this.startTTLTimeout_(parseInt(d,10));return}this.logger_(`manifest failed to load ${a}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:s});let l;try{l=JSON.parse(this.request_.responseText)}catch(d){const f={errorType:ce.Error.StreamingContentSteeringParserError,error:d};this.trigger({type:"error",metadata:f})}this.assignSteeringProperties_(l);const u={contentSteeringInfo:s.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:u}),this.startTTLTimeout_()})}setProxyServerUrl_(t){const n=new J.URL(t),r=new J.URL(this.proxyServerUrl_);return r.searchParams.set("url",encodeURI(n.toString())),this.setSteeringParams_(r.toString())}decodeDataUriManifest_(t){const n=JSON.parse(J.atob(t));this.assignSteeringProperties_(n)}setSteeringParams_(t){const n=new J.URL(t),r=this.getPathway(),s=this.getBandwidth_();if(r){const a=`_${this.manifestType_}_pathway`;n.searchParams.set(a,r)}if(s){const a=`_${this.manifestType_}_throughput`;n.searchParams.set(a,s)}return n.toString()}assignSteeringProperties_(t){if(this.steeringManifest.version=t.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${t.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=t.TTL,this.steeringManifest.reloadUri=t["RELOAD-URI"],this.steeringManifest.priority=t["PATHWAY-PRIORITY"]||t["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=t["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const r=(s=>{for(const a of s)if(this.availablePathways_.has(a))return a;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==r&&(this.currentPathway=r,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(t){if(!t)return null;const n=s=>this.excludedSteeringManifestURLs.has(s);if(this.proxyServerUrl_){const s=this.setProxyServerUrl_(t);if(!n(s))return s}const r=this.setSteeringParams_(t);return n(r)?null:r}startTTLTimeout_(t=this.steeringManifest.ttl){const n=t*1e3;this.ttlTimeout_=J.setTimeout(()=>{this.requestSteeringManifest()},n)}clearTTLTimeout_(){J.clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new p0}addAvailablePathway(t){t&&this.availablePathways_.add(t)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(t){return this.availablePathways_.delete(t)}didDASHTagChange(t,n){return!n&&this.steeringManifest.reloadUri||n&&(on(t,n.serverURL)!==this.steeringManifest.reloadUri||n.defaultServiceLocation!==this.defaultPathway||n.queryBeforeStart!==this.queryBeforeStart||n.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const o5=(i,t)=>{let n=null;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{i.apply(null,r)},t)}},l5=10;let ti;const u5=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],c5=function(i){return this.audioSegmentLoader_[i]+this.mainSegmentLoader_[i]},d5=function({currentPlaylist:i,buffered:t,currentTime:n,nextPlaylist:r,bufferLowWaterLine:s,bufferHighWaterLine:a,duration:o,bufferBasedABR:l,log:u}){if(!r)return ce.log.warn("We received no playlist to switch to. Please check your stream."),!1;const d=`allowing switch ${i&&i.id||"null"} -> ${r.id}`;if(!i)return u(`${d} as current playlist is not set`),!0;if(r.id===i.id)return!1;const f=!!$i(t,n).length;if(!i.endList)return!f&&typeof i.partTargetDuration=="number"?(u(`not ${d} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(u(`${d} as current playlist is live`),!0);const p=Iu(t,n),E=l?Ot.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Ot.MAX_BUFFER_LOW_WATER_LINE;if(o<E)return u(`${d} as duration < max low water line (${o} < ${E})`),!0;const C=r.attributes.BANDWIDTH,x=i.attributes.BANDWIDTH;if(C<x&&(!l||p<a)){let m=`${d} as next bandwidth < current bandwidth (${C} < ${x})`;return l&&(m+=` and forwardBuffer < bufferHighWaterLine (${p} < ${a})`),u(m),!0}if((!l||C>x)&&p>=s){let m=`${d} as forwardBuffer >= bufferLowWaterLine (${p} >= ${s})`;return l&&(m+=` and next bandwidth > current bandwidth (${C} > ${x})`),u(m),!0}return u(`not ${d} as no switching criteria met`),!1};class h5 extends ce.EventTarget{constructor(t){super(),this.fastQualityChange_=o5(this.fastQualityChange_.bind(this),100);const{src:n,withCredentials:r,tech:s,bandwidth:a,externVhs:o,useCueTags:l,playlistExclusionDuration:u,enableLowInitialPlaylist:d,sourceType:f,cacheEncryptionKeys:p,bufferBasedABR:E,leastPixelDiffSelector:C,captionServices:x,experimentalUseMMS:m}=t;if(!n)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:g}=t;(g===null||typeof g>"u")&&(g=1/0),ti=o,this.bufferBasedABR=!!E,this.leastPixelDiffSelector=!!C,this.withCredentials=r,this.tech_=s,this.vhs_=s.vhs,this.player_=t.player_,this.sourceType_=f,this.useCueTags_=l,this.playlistExclusionDuration=u,this.maxPlaylistRetries=g,this.enableLowInitialPlaylist=d,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:r,maxPlaylistRetries:g,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=s5(),m&&J.ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new J.ManagedMediaSource,this.usingManagedMediaSource_=!0,ce.log("Using ManagedMediaSource")):J.MediaSource&&(this.mediaSource=new J.MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.load=this.load.bind(this),this.pause=this.pause.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.mediaSource.addEventListener("startstreaming",this.load),this.mediaSource.addEventListener("endstreaming",this.pause),this.seekable_=Lt(),this.hasPlayed_=!1,this.syncController_=new G7(t),this.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.segmentMetadataTrack_.mode="hidden",this.decrypter_=new K7,this.sourceUpdater_=new X1(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new Q7,this.keyStatusMap_=new Map;const k={vhs:this.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:x,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:a,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:p,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:t.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new Il(n,this.vhs_,ot(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new er(n,this.vhs_,ot(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Ll(ot(k,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),t),this.audioSegmentLoader_=new Ll(ot(k,{loaderType:"audio"}),t),this.subtitleSegmentLoader_=new U7(ot(k,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((O,M)=>{function V(){s.off("vttjserror",S),O()}function S(){s.off("vttjsloaded",V),M()}s.one("vttjsloaded",V),s.one("vttjserror",S),s.addWebVttScript_()})}),t);const A=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new a5(this.vhs_.xhr,A),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),u5.forEach(O=>{this[O+"_"]=c5.bind(this,O)}),this.logger_=Sn("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const D=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(D,()=>{const O=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-O,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const t=this.mainAppendsToLoadedData_(),n=this.audioAppendsToLoadedData_();return t===-1||n===-1?-1:t+n}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(t="abr"){const n=this.selectPlaylist();n&&this.shouldSwitchToMedia_(n)&&this.switchMedia_(n,t)}switchMedia_(t,n,r){const s=this.media(),a=s&&(s.id||s.uri),o=t&&(t.id||t.uri);if(a&&a!==o){this.logger_(`switch media ${a} -> ${o} from ${n}`);const l={renditionInfo:{id:o,bandwidth:t.attributes.BANDWIDTH,resolution:t.attributes.RESOLUTION,codecs:t.attributes.CODECS},cause:n};this.trigger({type:"renditionselected",metadata:l}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${n}`})}this.mainPlaylistLoader_.media(t,r)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{const n=this.mediaTypes_[t],r=n?n.activeGroup():null,s=this.contentSteeringController_.getPathway();if(r&&s){const o=(r.length?r[0].playlists:r.playlists).filter(l=>l.attributes.serviceLocation===s);o.length&&this.mediaTypes_[t].activePlaylistLoader.media(o[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=J.setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(J.clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const t=this.main(),n=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return n;const r=t.mediaGroups.AUDIO,s=Object.keys(r);let a;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)a=this.mediaTypes_.AUDIO.activeTrack();else{const l=r.main||s.length&&r[s[0]];for(const u in l)if(l[u].default){a={label:u};break}}if(!a)return n;const o=[];for(const l in r)if(r[l][a.label]){const u=r[l][a.label];if(u.playlists&&u.playlists.length)o.push.apply(o,u.playlists);else if(u.uri)o.push(u);else if(t.playlists.length)for(let d=0;d<t.playlists.length;d++){const f=t.playlists[d];f.attributes&&f.attributes.AUDIO&&f.attributes.AUDIO===l&&o.push(f)}}return o.length?o:n}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const n=this.mainPlaylistLoader_.media(),r=n.targetDuration*1.5*1e3;Sl(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=r,n.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(n,this.requestOptions_),this.mainSegmentLoader_.load()),r5({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),n),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let n=this.mainPlaylistLoader_.media();if(!n){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let r;if(this.enableLowInitialPlaylist&&(r=this.selectInitialPlaylist()),r||(r=this.selectPlaylist()),!r||!this.shouldSwitchToMedia_(r)||(this.initialMedia_=r,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;n=this.initialMedia_}this.handleUpdatedMediaPlaylist(n)}),this.mainPlaylistLoader_.on("error",()=>{const n=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:n.playlist,error:n})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const n=this.mainPlaylistLoader_.media(),r=n.targetDuration*1.5*1e3;Sl(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=r,this.sourceType_==="dash"&&this.mainPlaylistLoader_.isPaused&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(n,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const n=this.mainPlaylistLoader_.media();if(n.lastExcludeReason_==="playlist-unchanged")return;this.stuckAtPlaylistEnd_(n)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(n=>{this.mainPlaylistLoader_.on(n,r=>{this.player_.trigger(Et({},r))})})}handleUpdatedMediaPlaylist(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(t,n){const r=t.mediaGroups||{};let s=!0;const a=Object.keys(r.AUDIO);for(const o in r.AUDIO)for(const l in r.AUDIO[o])r.AUDIO[o][l].uri||(s=!1);s&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(r.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),ti.Playlist.isAes(n)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),a.length&&Object.keys(r.AUDIO[a[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(t){const n=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,r=this.tech_.currentTime(),s=this.bufferLowWaterLine(),a=this.bufferHighWaterLine(),o=this.tech_.buffered();return d5({buffered:o,currentTime:r,currentPlaylist:n,nextPlaylist:t,bufferLowWaterLine:s,bufferHighWaterLine:a,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const r=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:r.playlist,error:r})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const r=this.audioSegmentLoader_.pendingSegment_;if(!r||!r.segment||!r.segment.syncInfo)return;const s=r.segment.syncInfo.end+.01;this.tech_.setCurrentTime(s)}),this.timelineChangeController_.on("fixBadTimelineChange",()=>{this.logger_("Fix bad timeline change. Restarting al segment loaders..."),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}),this.mainSegmentLoader_.on("earlyabort",r=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:l5}))});const t=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const r=this.getCodecsOrExclude_();r&&this.sourceUpdater_.addOrChangeSourceBuffers(r)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(r=>{this.mainSegmentLoader_.on(r,s=>{this.player_.trigger(Et({},s))}),this.audioSegmentLoader_.on(r,s=>{this.player_.trigger(Et({},s))}),this.subtitleSegmentLoader_.on(r,s=>{this.player_.trigger(Et({},s))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}pause(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}fastQualityChange_(t=this.selectPlaylist()){if(t&&t===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(t,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const t=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0))return this.tech_.setCurrentTime(t.end(t.length-1))}setupFirstPlay(){const t=this.mainPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList||t.start){const n=this.seekable();if(!n.length)return!1;const r=n.end(0);let s=r;if(t.start){const a=t.start.timeOffset;if(a<0){const o=this.mainPlaylistLoader_.main,l=ti.Playlist.liveEdgeDelay(o,t),u=r+l;s=Math.max(Math.min(u+a,r),n.start(0))}else s=Math.min(r,a)}this.trigger("firstplay"),this.tech_.setCurrentTime(s)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const t=this.tech_.play();typeof t<"u"&&typeof t.then=="function"&&t.then(null,n=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const t=this.inbandTextTracks_.metadataTrack_.cues;if(!t||!t.length)return;const n=this.duration();t[t.length-1].endTime=isNaN(n)||Math.abs(n)===1/0?Number.MAX_VALUE:n}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let t=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const n=this.mainSegmentLoader_.getCurrentMediaInfo_();!n||n.hasVideo?t=t&&this.audioSegmentLoader_.ended_:t=this.audioSegmentLoader_.ended_}t&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(t){if(!this.seekable().length)return!1;const r=this.syncController_.getExpiredTime(t,this.duration());if(r===null)return!1;const s=ti.Playlist.playlistEnd(t,r),a=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return s-a<=Gn;const l=o.end(o.length-1);return l-a<=Gn&&s-l<=Gn}excludePlaylist({playlistToExclude:t=this.mainPlaylistLoader_.media(),error:n={},playlistExclusionDuration:r}){if(t=t||this.mainPlaylistLoader_.media(),r=r||n.playlistExclusionDuration||this.playlistExclusionDuration,!t){this.error=n,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}t.playlistErrors_++;const s=this.mainPlaylistLoader_.main.playlists,a=s.filter(so),o=a.length===1&&a[0]===t;if(s.length===1&&r!==1/0)return ce.log.warn(`Problem encountered with playlist ${t.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(o);if(o){if(this.main().contentSteering){const x=this.pathwayAttribute_(t),m=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(x),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(x)},m);return}let C=!1;s.forEach(x=>{if(x===t)return;const m=x.excludeUntil;typeof m<"u"&&m!==1/0&&(C=!0,delete x.excludeUntil)}),C&&(ce.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let l;t.playlistErrors_>this.maxPlaylistRetries?l=1/0:l=Date.now()+r*1e3,t.excludeUntil=l,n.reason&&(t.lastExcludeReason_=n.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const u=this.selectPlaylist();if(!u){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const d=n.internal?this.logger_:ce.log.warn,f=n.message?" "+n.message:"";d(`${n.internal?"Internal problem":"Problem"} encountered with playlist ${t.id}.${f} Switching to playlist ${u.id}.`),u.attributes.AUDIO!==t.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),u.attributes.SUBTITLES!==t.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const p=u.targetDuration/2*1e3||5*1e3,E=typeof u.lastRequest=="number"&&Date.now()-u.lastRequest<=p;return this.switchMedia_(u,"exclude",o||E)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(t,n){const r=[],s=t==="all";(s||t==="main")&&r.push(this.mainPlaylistLoader_);const a=[];(s||t==="audio")&&a.push("AUDIO"),(s||t==="subtitle")&&(a.push("CLOSED-CAPTIONS"),a.push("SUBTITLES")),a.forEach(o=>{const l=this.mediaTypes_[o]&&this.mediaTypes_[o].activePlaylistLoader;l&&r.push(l)}),["main","audio","subtitle"].forEach(o=>{const l=this[`${o}SegmentLoader_`];l&&(t===o||t==="all")&&r.push(l)}),r.forEach(o=>n.forEach(l=>{typeof o[l]=="function"&&o[l]()}))}setCurrentTime(t){const n=$i(this.tech_.buffered(),t);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(n&&n.length)return t;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const t=this.mainPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:ti.Playlist.duration(t):1/0:0}seekable(){return this.seekable_}getSeekableRange_(t,n){const r=t.media();if(!r)return null;const s=this.syncController_.getMediaSequenceSync(n);if(s&&s.isReliable){const l=s.start,u=s.end;if(!isFinite(l)||!isFinite(u))return null;const d=ti.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,r),f=Math.max(l,u-d);return Lt([[l,f]])}const a=this.syncController_.getExpiredTime(r,this.duration());if(a===null)return null;const o=ti.Playlist.seekable(r,a,ti.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,r));return o.length?o:null}computeFinalSeekable_(t,n){if(!n)return t;const r=t.start(0),s=t.end(0),a=n.start(0),o=n.end(0);return a>s||r>o?t:Lt([[Math.max(r,a),Math.min(s,o)]])}onSyncInfoUpdate_(){if(!this.mainPlaylistLoader_)return;const t=this.getSeekableRange_(this.mainPlaylistLoader_,"main");if(!t)return;let n;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(n=this.getSeekableRange_(this.mediaTypes_.AUDIO.activePlaylistLoader,"audio"),!n))return;const r=this.seekable_;if(this.seekable_=this.computeFinalSeekable_(t,n),!this.seekable_||r&&r.length&&this.seekable_.length&&r.start(0)===this.seekable_.start(0)&&r.end(0)===this.seekable_.end(0))return;this.logger_(`seekable updated [${r1(this.seekable_)}]`);const s={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:s}),this.tech_.trigger("seekablechanged")}updateDuration(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,t),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(t){const s=this.seekable();if(!s.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<s.end(s.length-1))&&this.sourceUpdater_.setDuration(s.end(s.length-1));return}const n=this.tech_.buffered();let r=ti.Playlist.duration(this.mainPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(t=>{const n=this.mediaTypes_[t].groups;for(const r in n)n[r].forEach(s=>{s.playlistLoader&&s.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const t=!!this.mediaTypes_.AUDIO.activePlaylistLoader,n=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),r=t?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!n||!r)}getCodecsOrExclude_(){const t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},n=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();t.video=t.main;const r=us(this.main(),n),s={},a=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(s.video=r.video||t.main.videoCodec||e3),t.main.isMuxed&&(s.video+=`,${r.audio||t.main.audioCodec||rd}`),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||a)&&(s.audio=r.audio||t.main.audioCodec||t.audio.audioCodec||rd,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),!s.audio&&!s.video){this.excludePlaylist({playlistToExclude:n,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const o=(d,f)=>d?rs(f,this.usingManagedMediaSource_):Uo(f),l={};let u;if(["video","audio"].forEach(function(d){if(s.hasOwnProperty(d)&&!o(t[d].isFmp4,s[d])){const f=t[d].isFmp4?"browser":"muxer";l[f]=l[f]||[],l[f].push(s[d]),d==="audio"&&(u=f)}}),a&&u&&n.attributes.AUDIO){const d=n.attributes.AUDIO;this.main().playlists.forEach(f=>{(f.attributes&&f.attributes.AUDIO)===d&&f!==n&&(f.excludeUntil=1/0)}),this.logger_(`excluding audio group ${d} as ${u} does not support codec(s): "${s.audio}"`)}if(Object.keys(l).length){const d=Object.keys(l).reduce((f,p)=>(f&&(f+=", "),f+=`${p} does not support codec(s): "${l[p].join(",")}"`,f),"")+".";this.excludePlaylist({playlistToExclude:n,error:{internal:!0,message:d},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const d=[];if(["video","audio"].forEach(f=>{const p=(zn(this.sourceUpdater_.codecs[f]||"")[0]||{}).type,E=(zn(s[f]||"")[0]||{}).type;p&&E&&p.toLowerCase()!==E.toLowerCase()&&d.push(`"${this.sourceUpdater_.codecs[f]}" -> "${s[f]}"`)}),d.length){this.excludePlaylist({playlistToExclude:n,error:{message:`Codec switching not supported: ${d.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return s}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const t=this.getCodecsOrExclude_();if(!t)return;this.sourceUpdater_.createSourceBuffers(t);const n=[t.video,t.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(n)}excludeUnsupportedVariants_(){const t=this.main().playlists,n=[];Object.keys(t).forEach(r=>{const s=t[r];if(n.indexOf(s.id)!==-1)return;n.push(s.id);const a=us(this.main,s),o=[];a.audio&&!Uo(a.audio)&&!rs(a.audio,this.usingManagedMediaSource_)&&o.push(`audio codec ${a.audio}`),a.video&&!Uo(a.video)&&!rs(a.video,this.usingManagedMediaSource_)&&o.push(`video codec ${a.video}`),a.text&&a.text==="stpp.ttml.im1t"&&o.push(`text codec ${a.text}`),o.length&&(s.excludeUntil=1/0,this.logger_(`excluding ${s.id} for unsupported: ${o.join(", ")}`))})}excludeIncompatibleVariants_(t){const n=[],r=this.main().playlists,s=gs(zn(t)),a=Jd(s),o=s.video&&zn(s.video)[0]||null,l=s.audio&&zn(s.audio)[0]||null;Object.keys(r).forEach(u=>{const d=r[u];if(n.indexOf(d.id)!==-1||d.excludeUntil===1/0)return;n.push(d.id);const f=[],p=us(this.mainPlaylistLoader_.main,d),E=Jd(p);if(!(!p.audio&&!p.video)){if(E!==a&&f.push(`codec count "${E}" !== "${a}"`),!this.sourceUpdater_.canChangeType()){const C=p.video&&zn(p.video)[0]||null,x=p.audio&&zn(p.audio)[0]||null;C&&o&&C.type.toLowerCase()!==o.type.toLowerCase()&&f.push(`video codec "${C.type}" !== "${o.type}"`),x&&l&&x.type.toLowerCase()!==l.type.toLowerCase()&&f.push(`audio codec "${x.type}" !== "${l.type}"`)}f.length&&(d.excludeUntil=1/0,this.logger_(`excluding ${d.id}: ${f.join(" && ")}`))}})}updateAdCues_(t){let n=0;const r=this.seekable();r.length&&(n=r.start(0)),H7(t,this.cueTagsTrack_,n)}goalBufferLength(){const t=this.tech_.currentTime(),n=Ot.GOAL_BUFFER_LENGTH,r=Ot.GOAL_BUFFER_LENGTH_RATE,s=Math.max(n,Ot.MAX_GOAL_BUFFER_LENGTH);return Math.min(n+t*r,s)}bufferLowWaterLine(){const t=this.tech_.currentTime(),n=Ot.BUFFER_LOW_WATER_LINE,r=Ot.BUFFER_LOW_WATER_LINE_RATE,s=Math.max(n,Ot.MAX_BUFFER_LOW_WATER_LINE),a=Math.max(n,Ot.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(n+t*r,this.bufferBasedABR?a:s)}bufferHighWaterLine(){return Ot.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(t){s0(this.inbandTextTracks_,"com.apple.streaming",this.tech_),k7({inbandTextTracks:this.inbandTextTracks_,dateRanges:t})}addMetadataToTextTrack(t,n,r){const s=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();s0(this.inbandTextTracks_,t,this.tech_),C7({inbandTextTracks:this.inbandTextTracks_,metadataArray:n,timestampOffset:s,videoDuration:r})}pathwayAttribute_(t){return t.attributes["PATHWAY-ID"]||t.attributes.serviceLocation}initContentSteeringController_(){const t=this.main();if(t.contentSteering){for(const n of t.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(n));if(this.contentSteeringController_.assignTagProperties(t.uri,t.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(n=>{this.contentSteeringController_.on(n,r=>{this.trigger(Et({},r))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const n=this.main();(this.contentSteeringController_.didDASHTagChange(n.uri,n.contentSteering)||(()=>{const a=this.contentSteeringController_.getAvailablePathways(),o=[];for(const l of n.playlists){const u=l.attributes.serviceLocation;if(u&&(o.push(u),!a.has(u)))return!0}return!!(!o.length&&a.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const t=this.contentSteeringController_.getPathway();if(!t)return;this.handlePathwayClones_();const r=this.main().playlists,s=new Set;let a=!1;Object.keys(r).forEach(o=>{const l=r[o],u=this.pathwayAttribute_(l),d=u&&t!==u;l.excludeUntil===1/0&&l.lastExcludeReason_==="content-steering"&&!d&&(delete l.excludeUntil,delete l.lastExcludeReason_,a=!0);const p=!l.excludeUntil&&l.excludeUntil!==1/0;!s.has(l.id)&&d&&p&&(s.add(l.id),l.excludeUntil=1/0,l.lastExcludeReason_="content-steering",this.logger_(`excluding ${l.id} for ${l.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(o=>{const l=this.mediaTypes_[o];if(l.activePlaylistLoader){const u=l.activePlaylistLoader.media_;u&&u.attributes.serviceLocation!==t&&(a=!0)}}),a&&this.changeSegmentPathway_()}handlePathwayClones_(){const n=this.main().playlists,r=this.contentSteeringController_.currentPathwayClones,s=this.contentSteeringController_.nextPathwayClones;if(r&&r.size||s&&s.size){for(const[o,l]of r.entries())s.get(o)||(this.mainPlaylistLoader_.updateOrDeleteClone(l),this.contentSteeringController_.excludePathway(o));for(const[o,l]of s.entries()){const u=r.get(o);if(!u){n.filter(f=>f.attributes["PATHWAY-ID"]===l["BASE-ID"]).forEach(f=>{this.mainPlaylistLoader_.addClonePathway(l,f)}),this.contentSteeringController_.addAvailablePathway(o);continue}this.equalPathwayClones_(u,l)||(this.mainPlaylistLoader_.updateOrDeleteClone(l,!0),this.contentSteeringController_.addAvailablePathway(o))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...s])))}}equalPathwayClones_(t,n){if(t["BASE-ID"]!==n["BASE-ID"]||t.ID!==n.ID||t["URI-REPLACEMENT"].HOST!==n["URI-REPLACEMENT"].HOST)return!1;const r=t["URI-REPLACEMENT"].PARAMS,s=n["URI-REPLACEMENT"].PARAMS;for(const a in r)if(r[a]!==s[a])return!1;for(const a in s)if(r[a]!==s[a])return!1;return!0}changeSegmentPathway_(){const t=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(t,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let t=0;const n="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(r=>{const s=this.mainPlaylistLoader_.getKeyIdSet(r);!s||!s.size||s.forEach(a=>{const o="usable",l=this.keyStatusMap_.has(a)&&this.keyStatusMap_.get(a)===o,u=r.lastExcludeReason_===n&&r.excludeUntil===1/0;l?l&&u&&(delete r.excludeUntil,delete r.lastExcludeReason_,this.logger_(`enabling playlist ${r.id} because key ID ${a} is ${o}`)):(r.excludeUntil!==1/0&&r.lastExcludeReason_!==n&&(r.excludeUntil=1/0,r.lastExcludeReason_=n,this.logger_(`excluding playlist ${r.id} because the key ID ${a} doesn't exist in the keyStatusMap or is not ${o}`)),t++)})}),t>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(r=>{const s=r&&r.attributes&&r.attributes.RESOLUTION&&r.attributes.RESOLUTION.height<720,a=r.excludeUntil===1/0&&r.lastExcludeReason_===n;s&&a&&(delete r.excludeUntil,ce.log.warn(`enabling non-HD playlist ${r.id} because all playlists were excluded due to ${n} key IDs`))})}addKeyStatus_(t,n){const a=(typeof t=="string"?t:q7(t)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${n}' with key ID ${a} added to the keyStatusMap`),this.keyStatusMap_.set(a,n)}updatePlaylistByKeyStatus(t,n){this.addKeyStatus_(t,n),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const f5=(i,t,n)=>r=>{const s=i.main.playlists[t],a=Pu(s),o=so(s);if(typeof r>"u")return o;r?delete s.disabled:s.disabled=!0;const l={renditionInfo:{id:t,bandwidth:s.attributes.BANDWIDTH,resolution:s.attributes.RESOLUTION,codecs:s.attributes.CODECS},cause:"fast-quality"};return r!==o&&!a&&(r?(n(s),i.trigger({type:"renditionenabled",metadata:l})):i.trigger({type:"renditiondisabled",metadata:l})),r};class m5{constructor(t,n,r){const{playlistController_:s}=t,a=s.fastQualityChange_.bind(s);if(n.attributes){const o=n.attributes.RESOLUTION;this.width=o&&o.width,this.height=o&&o.height,this.bandwidth=n.attributes.BANDWIDTH,this.frameRate=n.attributes["FRAME-RATE"]}this.codecs=us(s.main(),n),this.playlist=n,this.id=r,this.enabled=f5(t.playlists,n.id,a)}}const p5=function(i){i.representations=()=>{const t=i.playlistController_.main(),n=ks(t)?i.playlistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter(r=>!Pu(r)).map((r,s)=>new m5(i,r,r.id)):[]}},g0=["seeking","seeked","pause","playing","error"];class g5 extends ce.EventTarget{constructor(t){super(),this.playlistController_=t.playlistController,this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=t.liveRangeSafeTimeDelta,this.media=t.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=Sn("PlaybackWatcher"),this.logger_("initialize");const n=()=>this.monitorCurrentTime_(),r=()=>this.monitorCurrentTime_(),s=()=>this.techWaiting_(),a=()=>this.resetTimeUpdate_(),o=this.playlistController_,l=["main","subtitle","audio"],u={};l.forEach(f=>{u[f]={reset:()=>this.resetSegmentDownloads_(f),updateend:()=>this.checkSegmentDownloads_(f)},o[`${f}SegmentLoader_`].on("appendsdone",u[f].updateend),o[`${f}SegmentLoader_`].on("playlistupdate",u[f].reset),this.tech_.on(["seeked","seeking"],u[f].reset)});const d=f=>{["main","audio"].forEach(p=>{o[`${p}SegmentLoader_`][f]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),d("off"))},this.clearSeekingAppendCheck_=()=>d("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),d("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",s),this.tech_.on(g0,a),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",s),this.tech_.off(g0,a),this.tech_.off("canplay",r),this.tech_.off("play",n),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),l.forEach(f=>{o[`${f}SegmentLoader_`].off("appendsdone",u[f].updateend),o[`${f}SegmentLoader_`].off("playlistupdate",u[f].reset),this.tech_.off(["seeked","seeking"],u[f].reset)}),this.checkCurrentTimeTimeout_&&J.clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&J.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=J.setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(t){const n=this.playlistController_[`${t}SegmentLoader_`];this[`${t}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${t} loader`),this[`${t}StalledDownloads_`]=0,this[`${t}Buffered_`]=n.buffered_()}checkSegmentDownloads_(t){const n=this.playlistController_,r=n[`${t}SegmentLoader_`],s=r.buffered_(),a=t8(this[`${t}Buffered_`],s);if(this[`${t}Buffered_`]=s,a){const o={bufferedRanges:s};n.trigger({type:"bufferedrangeschanged",metadata:o}),this.resetSegmentDownloads_(t);return}this[`${t}StalledDownloads_`]++,this.logger_(`found #${this[`${t}StalledDownloads_`]} ${t} appends that did not increase buffer (possible stalled download)`,{playlistId:r.playlist_&&r.playlist_.id,buffered:Ii(s)}),!(this[`${t}StalledDownloads_`]<10)&&(this.logger_(`${t} loader stalled download exclusion`),this.resetSegmentDownloads_(t),this.tech_.trigger({type:"usage",name:`vhs-${t}-download-exclusion`}),t!=="subtitle"&&n.excludePlaylist({error:{message:`Excessive ${t} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const t=this.tech_.currentTime(),n=this.tech_.buffered();if(this.lastRecordedTime===t&&(!n.length||t+Gn>=n.end(n.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&t===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(t===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(Lt([this.lastRecordedTime,t]));const r={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:r}),this.consecutiveUpdates=0,this.lastRecordedTime=t}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const n=this.seekable(),r=this.tech_.currentTime(),s=this.afterSeekableWindow_(n,r,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let a;if(s&&(a=n.end(n.length-1)),this.beforeSeekableWindow_(n,r)){const x=n.start(0);a=x+(x===n.end(0)?0:Gn)}if(typeof a<"u")return this.logger_(`Trying to seek outside of seekable at time ${r} with seekable range ${r1(n)}. Seeking to ${a}.`),this.tech_.setCurrentTime(a),!0;const o=this.playlistController_.sourceUpdater_,l=this.tech_.buffered(),u=o.audioBuffer?o.audioBuffered():null,d=o.videoBuffer?o.videoBuffered():null,f=this.media(),p=f.partTargetDuration?f.partTargetDuration:(f.targetDuration-Xn)*2,E=[u,d];for(let x=0;x<E.length;x++){if(!E[x])continue;if(Iu(E[x],r)<p)return!1}const C=Ws(l,r);return C.length===0?!1:(a=C.start(0)+Gn,this.logger_(`Buffered region starts (${C.start(0)}) just beyond seek point (${r}). Seeking to ${a}.`),this.tech_.setCurrentTime(a),!0)}waiting_(){if(this.techWaiting_())return;const t=this.tech_.currentTime(),n=this.tech_.buffered(),r=$i(n,t);if(r.length&&t+3<=r.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.logger_(`Stopped at ${t} while inside a buffered region [${r.start(0)} -> ${r.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const t=this.seekable(),n=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(t,n)){const l=t.end(t.length-1);return this.logger_(`Fell out of live window at time ${n}. Seeking to live point (seekable end) ${l}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(l),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const r=this.tech_.vhs.playlistController_.sourceUpdater_,s=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:n}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const o=Ws(s,n);return o.length>0?(this.logger_(`Stopped at ${n} and seeking to ${o.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(n),!0):!1}afterSeekableWindow_(t,n,r,s=!1){if(!t.length)return!1;let a=t.end(t.length-1)+Gn;const o=!r.endList,l=typeof r.partTargetDuration=="number";return o&&(l||s)&&(a=t.end(t.length-1)+r.targetDuration*3),n>a}beforeSeekableWindow_(t,n){return!!(t.length&&t.start(0)>0&&n<t.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:t,audioBuffered:n,currentTime:r}){if(!t)return;let s;if(t.length&&n.length){const a=$i(t,r-3),o=$i(t,r),l=$i(n,r);l.length&&!o.length&&a.length&&(s={start:a.end(0),end:l.end(0)})}else Ws(t,r).length||(s=this.gapFromVideoUnderflow_(t,r));return s?(this.logger_(`Encountered a gap in video from ${s.start} to ${s.end}. Seeking to current time ${r}`),!0):!1}skipTheGap_(t){const n=this.tech_.buffered(),r=this.tech_.currentTime(),s=Ws(n,r);if(this.resetTimeUpdate_(),s.length===0||r!==t)return;this.logger_("skipTheGap_:","currentTime:",r,"scheduled currentTime:",t,"nextRange start:",s.start(0)),this.tech_.setCurrentTime(s.start(0)+Xn);const a={gapInfo:{from:r,to:s.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:a}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(t,n){const r=Z4(t);for(let s=0;s<r.length;s++){const a=r.start(s),o=r.end(s);if(n-a<4&&n-a>2)return{start:a,end:o}}return null}}const v5={errorInterval:30,getSource(i){const n=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return i(n)}},K1=function(i,t){let n=0,r=0;const s=ot(v5,t);i.ready(()=>{i.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const a=function(){r&&i.currentTime(r)},o=function(f){f!=null&&(r=i.duration()!==1/0&&i.currentTime()||0,i.one("loadedmetadata",a),i.src(f),i.trigger({type:"usage",name:"vhs-error-reload"}),i.play())},l=function(){if(Date.now()-n<s.errorInterval*1e3){i.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!s.getSource||typeof s.getSource!="function"){ce.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return n=Date.now(),s.getSource.call(i,o)},u=function(){i.off("loadedmetadata",a),i.off("error",l),i.off("dispose",u)},d=function(f){u(),K1(i,f)};i.on("error",l),i.on("dispose",u),i.reloadSourceOnError=d},y5=function(i){K1(this,i)};var W1="3.17.3",C5="7.1.0",b5="1.3.1",T5="7.2.0",k5="4.0.2";const vt={PlaylistLoader:er,Playlist:un,utils:w8,STANDARD_PLAYLIST_SELECTOR:r0,INITIAL_PLAYLIST_SELECTOR:m7,lastBandwidthSelector:r0,movingAverageBandwidthSelector:h7,comparePlaylistBandwidth:Ru,comparePlaylistResolution:d7,xhr:E1()};Object.keys(Ot).forEach(i=>{Object.defineProperty(vt,i,{get(){return ce.log.warn(`using Vhs.${i} is UNSAFE be sure you know what you are doing`),Ot[i]},set(t){if(ce.log.warn(`using Vhs.${i} is UNSAFE be sure you know what you are doing`),typeof t!="number"||t<0){ce.log.warn(`value of Vhs.${i} must be greater than or equal to 0`);return}Ot[i]=t}})});const J1="videojs-vhs",Z1=function(i,t){const n=t.media();let r=-1;for(let s=0;s<i.length;s++)if(i[s].id===n.id){r=s;break}i.selectedIndex_=r,i.trigger({selectedIndex:r,type:"change"})},E5=function(i,t){t.representations().forEach(n=>{i.addQualityLevel(n)}),Z1(i,t.playlists)};vt.canPlaySource=function(){return ce.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const x5=(i,t,n)=>{if(!i)return i;let r={};t&&t.attributes&&t.attributes.CODECS&&(r=gs(zn(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);const s=hr(r.video),a=hr(r.audio),o={};for(const l in i)o[l]={},a&&(o[l].audioContentType=a),s&&(o[l].videoContentType=s),t.contentProtection&&t.contentProtection[l]&&t.contentProtection[l].pssh&&(o[l].pssh=t.contentProtection[l].pssh),typeof i[l]=="string"&&(o[l].url=i[l]);return ot(i,o)},_5=(i,t)=>i.reduce((n,r)=>{if(!r.contentProtection)return n;const s=t.reduce((a,o)=>{const l=r.contentProtection[o];return l&&l.pssh&&(a[o]={pssh:l.pssh}),a},{});return Object.keys(s).length&&n.push(s),n},[]),A5=({player:i,sourceKeySystems:t,audioMedia:n,mainPlaylists:r})=>{if(!i.eme.initializeMediaKeys)return Promise.resolve();const s=n?r.concat([n]):r,a=_5(s,Object.keys(t)),o=[],l=[];return a.forEach(u=>{l.push(new Promise((d,f)=>{i.tech_.one("keysessioncreated",d)})),o.push(new Promise((d,f)=>{i.eme.initializeMediaKeys({keySystems:u},p=>{if(p){f(p);return}d()})}))}),Promise.race([Promise.all(o),Promise.race(l)])},w5=({player:i,sourceKeySystems:t,media:n,audioMedia:r})=>{const s=x5(t,n,r);return s?(i.currentSource().keySystems=s,s&&!i.eme?(ce.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},$1=()=>{if(!J.localStorage)return null;const i=J.localStorage.getItem(J1);if(!i)return null;try{return JSON.parse(i)}catch{return null}},S5=i=>{if(!J.localStorage)return!1;let t=$1();t=t?ot(t,i):i;try{J.localStorage.setItem(J1,JSON.stringify(t))}catch{return!1}return t},D5=i=>i.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(i.substring(i.indexOf(",")+1)):i,em=(i,t)=>{i._requestCallbackSet||(i._requestCallbackSet=new Set),i._requestCallbackSet.add(t)},tm=(i,t)=>{i._responseCallbackSet||(i._responseCallbackSet=new Set),i._responseCallbackSet.add(t)},nm=(i,t)=>{i._requestCallbackSet&&(i._requestCallbackSet.delete(t),i._requestCallbackSet.size||delete i._requestCallbackSet)},im=(i,t)=>{i._responseCallbackSet&&(i._responseCallbackSet.delete(t),i._responseCallbackSet.size||delete i._responseCallbackSet)};vt.supportsNativeHls=(function(){if(!De||!De.createElement)return!1;const i=De.createElement("video");return ce.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(n){return/maybe|probably/i.test(i.canPlayType(n))}):!1})();vt.supportsNativeDash=(function(){return!De||!De.createElement||!ce.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(De.createElement("video").canPlayType("application/dash+xml"))})();vt.supportsTypeNatively=i=>i==="hls"?vt.supportsNativeHls:i==="dash"?vt.supportsNativeDash:!1;vt.isSupported=function(){return ce.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};vt.xhr.onRequest=function(i){em(vt.xhr,i)};vt.xhr.onResponse=function(i){tm(vt.xhr,i)};vt.xhr.offRequest=function(i){nm(vt.xhr,i)};vt.xhr.offResponse=function(i){im(vt.xhr,i)};const B5=ce.getComponent("Component");class rm extends B5{constructor(t,n,r){if(super(n,r.vhs),typeof r.initialBandwidth=="number"&&(this.options_.bandwidth=r.initialBandwidth),this.logger_=Sn("VhsHandler"),n.options_&&n.options_.playerId){const s=ce.getPlayer(n.options_.playerId);this.player_=s}if(this.tech_=n,this.source_=t,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(De,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],s=>{const a=De.fullscreenElement||De.webkitFullscreenElement||De.mozFullScreenElement||De.msFullscreenElement;a&&a.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(t={}){if(this.options_=ot(this.options_,t),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.usePlayerObjectFit=this.options_.usePlayerObjectFit||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=typeof this.options_.useNetworkInformationApi<"u"?this.options_.useNetworkInformationApi:!0,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const r=$1();r&&r.bandwidth&&(this.options_.bandwidth=r.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),r&&r.throughput&&(this.options_.throughput=r.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Ot.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Ot.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","usePlayerObjectFit","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(r=>{typeof this.source_[r]<"u"&&(this.options_[r]=this.source_[r])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio,this.usePlayerObjectFit=this.options_.usePlayerObjectFit;const n=this.options_.customPixelRatio;typeof n=="number"&&n>=0&&(this.customPixelRatio=n)}setOptions(t={}){this.setOptions_(t)}src(t,n){if(!t)return;this.setOptions_(),this.options_.src=D5(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=vt,this.options_.sourceType=xh(n),this.options_.seekTo=a=>{this.tech_.setCurrentTime(a)},this.options_.player_=this.player_,this.playlistController_=new h5(this.options_);const r=ot({liveRangeSafeTimeDelta:Gn},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new g5(r),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const a=ce.players[this.tech_.options_.playerId];let o=this.playlistController_.error;typeof o=="object"&&!o.code?o.code=3:typeof o=="string"&&(o={message:o,code:3}),a.error(o)});const s=this.options_.bufferBasedABR?vt.movingAverageBandwidthSelector(.55):vt.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):s.bind(this),this.playlistController_.selectInitialPlaylist=vt.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(a){this.playlistController_.selectPlaylist=a.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(a){this.playlistController_.mainSegmentLoader_.throughput.rate=a,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let a=this.playlistController_.mainSegmentLoader_.bandwidth;const o=J.navigator.connection||J.navigator.mozConnection||J.navigator.webkitConnection,l=1e7;if(this.options_.useNetworkInformationApi&&o){const u=o.downlink*1e3*1e3;u>=l&&a>=l?a=Math.max(a,u):a=u}return a},set(a){this.playlistController_.mainSegmentLoader_.bandwidth=a,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const a=1/(this.bandwidth||1);let o;return this.throughput>0?o=1/this.throughput:o=0,Math.floor(1/(a+o))},set(){ce.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>Ii(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>Ii(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&S5({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{p5(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=J.URL.createObjectURL(this.playlistController_.mediaSource),(ce.browser.IS_ANY_SAFARI||ce.browser.IS_IOS)&&this.options_.overrideNative&&this.options_.sourceType==="hls"&&typeof this.tech_.addSourceElement=="function"?(this.tech_.addSourceElement(this.mediaSourceUrl_),this.tech_.addSourceElement(this.source_.src)):this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),A5({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(n=>{this.logger_("error while creating EME key session",n),this.player_.error({message:"Failed to initialize media keys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=w5({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});if(this.player_.tech_.on("keystatuschange",r=>{this.playlistController_.updatePlaylistByKeyStatus(r.keyId,r.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!n){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const t=ce.players[this.tech_.options_.playerId];!t||!t.qualityLevels||this.qualityLevels_||(this.qualityLevels_=t.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{E5(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{Z1(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":W1,"mux.js":C5,"mpd-parser":b5,"m3u8-parser":T5,"aes-decrypter":k5}}version(){return this.constructor.version()}canChangeType(){return X1.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(t){this.playlistController_.setCurrentTime(t)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&J.URL.revokeObjectURL&&(J.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(t,n){return O8({playlist:this.playlistController_.media(),time:t,callback:n})}seekToProgramTime(t,n,r=!0,s=2){return S1({programTime:t,playlist:this.playlistController_.media(),retryCount:s,pauseAfterSeek:r,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:n})}setupXhrHooks_(){this.xhr.onRequest=t=>{em(this.xhr,t)},this.xhr.onResponse=t=>{tm(this.xhr,t)},this.xhr.offRequest=t=>{nm(this.xhr,t)},this.xhr.offResponse=t=>{im(this.xhr,t)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const t=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],n=["gapjumped","playedrangeschanged"];t.forEach(r=>{this.playlistController_.on(r,s=>{this.player_.trigger(Et({},s))})}),n.forEach(r=>{this.playbackWatcher_.on(r,s=>{this.player_.trigger(Et({},s))})})}}const Va={name:"videojs-http-streaming",VERSION:W1,canHandleSource(i,t={}){const n=ot(ce.options,t);return!n.vhs.experimentalUseMMS&&!rs("avc1.4d400d,mp4a.40.2",!1)?!1:Va.canPlayType(i.type,n)},handleSource(i,t,n={}){const r=ot(ce.options,n);return t.vhs=new rm(i,t,r),t.vhs.xhr=E1(),t.vhs.setupXhrHooks_(),t.vhs.src(i.src,i.type),t.vhs},canPlayType(i,t){const n=xh(i);if(!n)return"";const r=Va.getOverrideNative(t);return!vt.supportsTypeNatively(n)||r?"maybe":""},getOverrideNative(i={}){const{vhs:t={}}=i,n=!(ce.browser.IS_ANY_SAFARI||ce.browser.IS_IOS),{overrideNative:r=n}=t;return r}},V5=()=>rs("avc1.4d400d,mp4a.40.2",!0);V5()&&ce.getTech("Html5").registerSourceHandler(Va,0);ce.VhsHandler=rm;ce.VhsSourceHandler=Va;ce.Vhs=vt;ce.use||ce.registerComponent("Vhs",vt);ce.options.vhs=ce.options.vhs||{};(!ce.getPlugin||!ce.getPlugin("reloadSourceOnError"))&&ce.registerPlugin("reloadSourceOnError",y5);const N5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAANQTFRFAAAAp3o92gAAAAF0Uk5TAEDm2GYAAASYSURBVHic7c8BDQAgDMAw7t80Lk5SVgXbnM/M64BtDesa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNay7Fz0EOVPDeGwAAAAASUVORK5CYII=",I5={class:"o-meeting-playback-video"},O5={key:0,class:"poster-title"},P5=e.defineComponent({__name:"OMeetingPlaybackVideo",props:{src:{default:""},vtt:{default:""},captions:{default:()=>[]},poster:{},posterTitle:{},instance:{},trackIdx:{}},emits:["getDuration","getInstance","setTrackIdx"],setup(i,{expose:t,emit:n}){const r=i,s=e.ref(),a=e.ref(),o=e.ref(),l=n,u=e.ref(!1),d=()=>{u.value=!1},f=(m,g=!1)=>{var D,O;const k=r.instance;if(!k)return;const A=(D=m.activeCues)==null?void 0:D[0];if(s.value&&clearInterval(s.value),A){A.text=((O=A==null?void 0:A.text)==null?void 0:O.replace(/\[(SPEAKER_)\d+]: /g,""))||"";const M=A.text.split(`
225
+ `),V=M.length,S=A.endTime-A.startTime,L=parseFloat((S/V).toFixed(3));let w=0;if(g){const Q=(k.currentTime()-A.startTime)/(A.endTime-A.startTime);for(;(w+1)/V<Q;)w++}w<V?A.text=M.length?M[w]:A==null?void 0:A.text:A.text=M.length?M[0]:A==null?void 0:A.text;let B=L*1e3;const F=()=>{s.value=setInterval(()=>{m.mode="hidden",w++,w>M.length-1?clearInterval(s.value):w===M.length-1?(A.text=M[w],clearInterval(s.value),B=L*(V-w)*1e3,F()):A.text=M[w],m.mode="showing"},B)};F()}},p=e.ref([]);e.watch(()=>p.value,m=>{const g=r.instance;if(g){const k=g.textTracks();for(let A=0;A<k.length;A++)k[A].kind==="subtitles"&&(f(k[A],!0),k[A].mode=m.length?"showing":"hidden")}},{deep:!0});const E=e.ref(!1),C=e.ref("init"),x=async()=>{if(!r.src)return;const m=ce("playerId",{controls:!0,autoplay:!1,preload:"auto",fluid:!0,poster:r.poster||N5,playbackRates:[.5,.75,1,1.25,1.5,2],controlBar:{skipButtons:{backward:5,forward:5},children:{playToggle:!0,SkipBackward:{backward:5},skipForward:{forward:5},currentTimeDisplay:!0,timeDivider:!0,durationDisplay:!0,progressControl:!0,PlaybackRateMenuButton:!0,volumePanel:{inline:!1},FullscreenToggle:!0}}});l("getInstance",m),m.src(r.src),m.addRemoteTextTrack({kind:"subtitles",src:r.vtt,srclang:"zh",label:"中文",default:!1}),E.value=!0;class g extends ce.getComponent("Button"){constructor(D,O){super(D,O),this.addClass("vjs-subtitle-toggle-button","vjs-subtitle-hidden"),this.controlText("Toggle Subtitles")}buildCSSClass(){return`vjs-subtitle-toggle-button ${super.buildCSSClass()}`}handleClick(){const D=this.player().textTracks();for(let O=0;O<D.length;O++)D[O].kind==="subtitles"&&(f(D[O],!0),D[O].mode=D[O].mode==="showing"?"hidden":"showing",D[O].mode==="showing"?(this.removeClass("vjs-subtitle-hidden"),this.addClass("vjs-subtitle-showing")):(this.removeClass("vjs-subtitle-showing"),this.addClass("vjs-subtitle-hidden")))}}r.vtt&&(ce.registerComponent("SubtitleToggleButton",g),m.controlBar.children_.some(A=>A.name_==="SubtitleToggleButton")||m.controlBar.addChild("SubtitleToggleButton",{},8)),(m==null?void 0:m.textTracks().tracks_).forEach(A=>{A==null||A.addEventListener("cuechange",()=>{f(A)})}),m.on("play",()=>{C.value="playing"}),m.on("timeupdate",()=>{const A=m.currentTime()||0,D=r.captions.findIndex(O=>$r(O.start_time)>A);l("setTrackIdx",D)}),m.one("loadedmetadata",()=>{l("getDuration",m.duration())}),e.nextTick(()=>{const A=document.getElementsByClassName("o-meeting-playback-video")[0];a.value=A.offsetHeight}),o.value=m};return e.onMounted(()=>{x(),document.addEventListener("click",d)}),e.watch(()=>r.src,()=>{x()}),e.onUnmounted(()=>{var m;(m=r==null?void 0:r.instance)==null||m.dispose(),document.removeEventListener("click",d)}),t({changeTime:m=>{var g;(g=o.value)==null||g.currentTime(m)}}),(m,g)=>(e.openBlock(),e.createElementBlock("div",I5,[e.createElementVNode("div",{class:e.normalizeClass(["video-placeholder",{loaded:E.value,"no-poster":!i.poster,[C.value]:!0}])},[g[0]||(g[0]=e.createElementVNode("video",{class:"video-js",id:"playerId"},null,-1)),i.posterTitle?(e.openBlock(),e.createElementBlock("div",O5,e.toDisplayString(i.posterTitle),1)):e.createCommentVNode("",!0)],2)]))}}),L5={class:"o-meeting-playback"},M5={class:"video-header"},R5={class:"video-title"},q5={class:"video-content"},F5={class:"info-wrapper"},U5={key:0,class:"base-info"},z5={class:"info-item"},H5={class:"info-item"},j5={class:"info-item"},X5={class:"info-item"},G5={key:1,class:"subject-list"},Q5={class:"subject-title"},Y5={key:0,class:"subject-progress"},K5=["data-start","data-end"],W5=168,v0=e.defineComponent({__name:"OMeetingPlayback",props:{dates:{default:()=>[]},detail:{default:()=>({})},data:{default:()=>({})},dev:{type:Boolean}},emits:["change-date"],setup(i,{emit:t}){const n=i,r=t,{t:s}=xe.useI18n(),a=e.ref(null),o=be=>{a.value=be},l=e.ref(0),u=be=>{l.value=be},d=e.ref([]),f=async be=>{const Ce=await(await fetch(be)).json();d.value=(Ce.segments||[]).map(le=>{const _e=Cg(le.speaker);return{...le,contentHtml:le.content,speakerIdx:_e,speakerLabel:`${s("meeting.speaker")}${_e}`}})},p=e.ref([]),E=be=>cg[be%6],C=e.ref(0),x=be=>{C.value=be},m=e.ref(),g=e.ref(""),k=e.ref([0,0]);function A(be,ne){const Ce=ne.getBoundingClientRect(),_e=(be.clientX-Ce.left)/Ce.width;return k.value[1]=`${ne.offsetTop+ne.parentElement.offsetTop}px`,k.value[0]=`${_e*100}%`,_e*C.value}const D=be=>{let ne=be;for(;ne&&ne.className!=="subject-progress";)ne=ne.parentElement;return ne},O=be=>{let ne=D(be.target);ne&&(g.value=bg(A(be,ne)))},M=()=>{g.value=""},V=be=>{var Ce;let ne=D(be.target);ne&&((Ce=m.value)==null||Ce.changeTime(A(be,ne)))},S=async be=>{const Ce=await(await fetch(be)).json();n.dev?p.value=[...Ce||[],...Ce||[],...Ce||[]].map(le=>({...le,startTimeNumber:$r(le.startTime),endTimeNumber:$r(le.endTime)})):p.value=(Ce||[]).map(le=>({...le,startTimeNumber:$r(le.startTime),endTimeNumber:$r(le.endTime)}))},L=e.ref("info"),w=e.computed(()=>{const be=[{label:s("meeting.baseInfo"),value:"info"}];return p.value.length&&be.push({label:s("meeting.subject"),value:"subject"}),be}),B=()=>{n.data&&(n.data.textJson&&f(n.data.textJson),n.data.topicJson&&S(n.data.topicJson))};e.watchEffect(()=>{B()});const F=be=>{r("change-date",be)},Q=e.ref(null),I=e.ref("auto");let q=null,U=null;const G=()=>{Q.value&&(I.value=`${Q.value.offsetHeight}px`)},z=()=>{cancelAnimationFrame(U),U=requestAnimationFrame(G)},Z=e.ref(null),W=e.ref(!1),R=()=>{const be=Z.value;be&&(W.value=be.offsetHeight>W5)};let Y=null,j=null;const ae=()=>{cancelAnimationFrame(Y),Y=requestAnimationFrame(R)};e.watch(L,()=>{e.nextTick(R)}),e.onMounted(()=>{Q.value&&(q=new ResizeObserver(z),q.observe(Q.value),G()),Z.value&&(j=new ResizeObserver(ae),j.observe(Z.value),R())}),e.onUnmounted(()=>{cancelAnimationFrame(U),q==null||q.disconnect(),cancelAnimationFrame(Y),j==null||j.disconnect()});const he=e.ref(!1),ue=()=>{he.value=!he.value};return(be,ne)=>{var Ce,le;return e.openBlock(),e.createElementBlock("div",L5,[e.createElementVNode("div",{class:"left-card card-wrapper",ref_key:"leftRef",ref:Q},[e.createElementVNode("div",M5,[e.createElementVNode("div",R5,[e.createVNode(Hi,{lines:2},{default:e.withCtx(()=>{var _e,qe;return[e.createTextVNode(e.toDisplayString((_e=i.detail)==null?void 0:_e.topic)+"("+e.toDisplayString((qe=i.detail)==null?void 0:qe.date)+")",1)]}),_:1})]),(Ce=i.dates)!=null&&Ce.length?(e.openBlock(),e.createBlock(e.unref(T.OSelect),{key:0,size:"large",clearable:!1,"model-value":(le=i.detail)==null?void 0:le.date,placeholder:e.unref(s)("meeting.selectDate"),onChange:F},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.dates,_e=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:_e,value:_e,label:_e},null,8,["value","label"]))),128))]),_:1},8,["model-value","placeholder"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",q5,[i.data?(e.openBlock(),e.createBlock(P5,{key:0,ref_key:"playerRef",ref:m,src:i.data.video,vtt:i.data.textVtt,poster:i.data.poster,captions:d.value,onGetDuration:x,instance:a.value,onGetInstance:o,trackIdx:l.value,onSetTrackIdx:u},null,8,["src","vtt","poster","captions","instance","trackIdx"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",F5,[e.createVNode(e.unref(T.OTab),{modelValue:L.value,"onUpdate:modelValue":ne[0]||(ne[0]=_e=>L.value=_e),"max-show":9999},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,_e=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:_e.value,value:_e.value,label:_e.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),e.createVNode(e.unref(T.OScroller),{class:e.normalizeClass(["tab-content",`tab-content-${L.value}`,he.value?"is-expanded":"",W.value?"is-collapsible":""]),"show-type":"hover"},{default:e.withCtx(()=>{var _e;return[e.createElementVNode("div",{class:"tab-content-inner",ref_key:"contentRef",ref:Z},[L.value===w.value[0].value?(e.openBlock(),e.createElementBlock("div",U5,[e.createElementVNode("div",z5,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.item1")),1),e.createElementVNode("span",null,e.toDisplayString(i.detail.sponsor),1)]),e.createElementVNode("div",H5,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.item2")),1),e.createElementVNode("span",null,e.toDisplayString(i.detail.groupName),1)]),e.createElementVNode("div",j5,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.item3")),1),e.createElementVNode("span",null,e.toDisplayString(i.detail.date)+"  "+e.toDisplayString(i.detail.start)+"~"+e.toDisplayString(i.detail.end),1)]),e.createElementVNode("div",X5,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.item4")),1),e.createElementVNode("span",null,e.toDisplayString(i.detail.agenda||"-"),1)])])):e.createCommentVNode("",!0),L.value===((_e=w.value[1])==null?void 0:_e.value)?(e.openBlock(),e.createElementBlock("div",G5,[g.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mouse-current-time",style:e.normalizeStyle({top:k.value[1],left:k.value[0]})},e.toDisplayString(g.value),5)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(qe,fe)=>(e.openBlock(),e.createElementBlock("div",{class:"subject-item",key:qe.title},[e.createElementVNode("div",Q5,e.toDisplayString(qe.title),1),C.value?(e.openBlock(),e.createElementBlock("div",Y5,[e.createElementVNode("div",{class:"subject-progress-item",onClick:V,onMousemove:O,onMouseleave:M,"data-start":qe.startTime,"data-end":qe.endTime,style:e.normalizeStyle({"--start":(qe.startTimeNumber<0?0:qe.startTimeNumber)/C.value,"--end":(qe.endTimeNumber>C.value?C.value:qe.endTimeNumber)/C.value,background:E(fe)})},null,44,K5)])):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)],512),e.createElementVNode("span",{class:"more-btn",onClick:ue},[e.createElementVNode("span",null,e.toDisplayString(he.value?e.unref(s)("common.collapse"):e.unref(s)("common.viewMore")),1),e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronDown))]),_:1})])]}),_:1},8,["class"])])],512),e.createElementVNode("div",{class:"right-card card-wrapper",style:e.normalizeStyle({height:I.value})},[e.createVNode(Av,{captions:d.value,trackIdx:l.value,instance:a.value},{empty:e.withCtx(()=>[e.renderSlot(be.$slots,"empty")]),_:3},8,["captions","trackIdx","instance"])],4)])}}}),J5={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Z5(i,t){return e.openBlock(),e.createElementBlock("svg",J5,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z"},null,-1)])])}const $5={name:"components-icon-tips",render:Z5},e6={class:"o-sig-meeting-aside"},t6={class:"month"},n6={class:"days"},i6=["onClick"],r6={class:"day-d"},s6={class:"day-c"},a6={class:"arrow-wrapper"},$s=1,o6=e.defineComponent({__name:"OMeetingSigAside",props:{data:{},current:{},total:{},active:{},meetingDates:{},eventsDates:{}},emits:["click-date","change-month"],setup(i,{emit:t}){const{getConfig:n}=wn(),r=i,s=t,a=p=>{s("click-date",p)},o=p=>{r.current+p>=r.total||r.current+p<0||s("change-month",p)},l=e.ref(null),u=()=>{var m,g;const p=((g=(m=l.value)==null?void 0:m.getContainerEl)==null?void 0:g.call(m))??null;if(!p)return!1;const E=p.querySelector(".day-item.active");if(!E)return!1;const C=p.getBoundingClientRect(),x=E.getBoundingClientRect();return p.scrollTop+=x.top-C.top,!0};let d=!1;const f=e.watch([()=>r.active,()=>r.data],()=>{d||!r.active||e.nextTick(()=>{d||u()&&(d=!0,f())})},{immediate:!0,flush:"post"});return(p,E)=>(e.openBlock(),e.createElementBlock("div",e6,[e.createVNode(e.unref(T.OScroller),{ref_key:"scrollerRef",ref:l,class:"month-wrapper","show-type":"hover",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.data,(C,x)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:x},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C,m=>(e.openBlock(),e.createElementBlock("div",{key:m.month,class:"month-item"},[e.createElementVNode("div",t6,e.toDisplayString(m.month.replace(/-/g,"/")),1),e.createElementVNode("div",n6,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.days,g=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["day-item",i.active===`${m.month}-${g}`&&"active"]),key:g,onClick:k=>a(`${m.month}-${g}`)},[e.createElementVNode("div",r6,e.toDisplayString(g),1),e.createElementVNode("div",s6,[i.meetingDates.includes(`${m.month}-${g}`)?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,style:e.normalizeStyle({zIndex:e.unref(n)(e.unref(Fe).MEETING,"zIndex"),backgroundColor:e.unref(n)(e.unref(Fe).MEETING,"color")})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(n)(e.unref(Fe).MEETING,"icon"))))]),_:1},8,["style"])):e.createCommentVNode("",!0),i.eventsDates.includes(`${m.month}-${g}`)?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:1,style:e.normalizeStyle({zIndex:e.unref(n)(e.unref(Fe).EVENTS,"zIndex"),backgroundColor:e.unref(n)(e.unref(Fe).EVENTS,"color")})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(n)(e.unref(Fe).EVENTS,"icon"))))]),_:1},8,["style"])):e.createCommentVNode("",!0)])],10,i6))),128))])]))),128))],64))),128))]),_:1},512),e.createElementVNode("div",a6,[e.createVNode(e.unref(T.OIcon),{onClick:E[0]||(E[0]=C=>o(0-$s)),class:e.normalizeClass(i.current-$s<0&&"disabled")},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowLeft))]),_:1},8,["class"]),e.createVNode(e.unref(T.OIcon),{onClick:E[1]||(E[1]=C=>o($s)),class:e.normalizeClass(i.current+$s>=i.total&&"disabled")},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowRight))]),_:1},8,["class"])])]))}}),l6={key:0,class:"meeting-card-header"},u6={key:0,class:"header-left"},c6={key:1,class:"phone-filter-wrapper"},d6={class:"date-select"},h6={class:"phone-filter-tab-wrapper"},f6={class:"meeting-card-content"},y0=e.defineComponent({__name:"OMeetingSigCalendar",props:{sigName:{},getMeetingListRequest:{},isStreamDateList:{type:Boolean},getDateListRequest:{},getEventsListRequest:{},emptyImg:{},emptyText:{},replayPath:{default:"video"}},emits:["change-date"],setup(i,{emit:t}){const n=i,{t:r,locale:s,meetingTabs:a}=wn(),o=e.computed(()=>s.value===xe.Locales.EN),{lePadV:l}=nt.useScreen(),u=e.ref(""),d=t,f=e.ref(!1),p=e.ref([]),E=e.computed(()=>l.value?100:5),C=e.ref(""),x=e.ref([]),m=e.ref([]),g=e.ref([]),k=e.ref(-1),A=W=>{O(W)},D=W=>{O(W)},O=async W=>{if(d("change-date",W),!!n.getMeetingListRequest)try{f.value=!0,u.value=Se(W).format("YYYY-MM-DD");const R=await n.getMeetingListRequest(u.value,n.sigName);p.value=R.map(Y=>({...Y,time:`${Y.start}-${Y.end}`,date:Y.date||u.value,type:Fe.MEETING}))}finally{f.value=!1}},M=async()=>{if(n.getDateListRequest)if(n.isStreamDateList){x.value=[];for await(const W of n.getDateListRequest())Array.isArray(W)?x.value.push(...W):typeof W=="string"&&x.value.push(W)}else x.value=await n.getDateListRequest();n.getEventsListRequest&&(g.value=(await n.getEventsListRequest(u.value,n.sigName)).map(W=>({...W,type:Fe.EVENTS})),m.value=(g.value||[]).map(W=>W.dates||[]).flat())},V=e.ref(Fe.ALL),S=()=>{M()},L=W=>{const R=Se(W).format("YYYY-MM-DD");return[R.slice(0,7),R.slice(8,10)]},w=e.computed(()=>{let W;return V.value===Fe.ALL?W=[...x.value||[],...m.value]:V.value===Fe.MEETING?W=x.value||[]:V.value===Fe.EVENTS?W=m.value||[]:W=[],[...new Set(W)].sort((R,Y)=>Se(R).isAfter(Se(Y))?1:-1).map(R=>Se(R).format("YYYY-MM-DD"))}),B=()=>{let W=w.value.find(R=>R===Se().format("YYYY-MM-DD"));W||(W=w.value.find(R=>!Se().isAfter(Se(R)))||[...w.value].reverse().find(R=>!Se(R).isAfter(Se()))),C.value=W};e.watch(()=>w.value,W=>{W.length&&(B(),e.nextTick(()=>{O(C.value)}))});const F=e.computed(()=>{const W=w.value.reduce((R,Y)=>{var he;const[j,ae]=L(Y);return R[j]={days:[...((he=R[j])==null?void 0:he.days)||[],ae]},R},{});return Object.keys(W).map(R=>{var j,ae;let Y=[];return(ae=(j=W[R])==null?void 0:j.days)==null||ae.map(he=>{Y.push({month:R,day:he})}),Y})}),Q=e.computed(()=>F.value.map(W=>{const R=W.reduce((Y,j)=>(Y[j.month]=Y[j.month]||[],Y[j.month].push(j.day),Y),{});return Object.keys(R).map(Y=>({month:Y,days:R[Y]||[]}))})),I=()=>{F.value.length?(k.value=F.value.findIndex(W=>W.some(R=>C.value===`${R.month}-${R.day}`)),k.value===-1&&(k.value=F.value.findIndex(W=>W.some(R=>C.value.includes(R.month))))):k.value=-1};e.watch([()=>F.value,()=>C.value],()=>{I()},{deep:!0});const q=W=>{k.value+=W},U=e.ref(null);let G=null;const z=ct.useDebounceFn(()=>{const W=U.value;if(!W||!T.isClient)return;const R=W.querySelector(".meeting-card-header .o-tab");if(!R)return;const Y=R.querySelector(".o-tab-navs-container");if(!Y)return;const j=Y.getBoundingClientRect().width;if(!j)return;const ae=o.value?130:120;R.classList.toggle("hide-icons",j<ae)},120);e.onMounted(()=>{M(),e.nextTick(z),T.isClient&&typeof ResizeObserver<"u"&&U.value&&(G=new ResizeObserver(()=>z()),G.observe(U.value))}),e.onBeforeUnmount(()=>{G==null||G.disconnect(),G=null}),e.watch(()=>a.value,()=>e.nextTick(z));const Z=e.computed(()=>{let W;return V.value===Fe.ALL?W=[...p.value||[],...g.value]:V.value===Fe.MEETING?W=p.value||[]:V.value===Fe.EVENTS?W=g.value||[]:W=[],W});return(W,R)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:U,class:"o-sig-meeting-calendar",style:{"--height":400}},[e.unref(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",l6,[C.value?(e.openBlock(),e.createElementBlock("div",u6,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("meeting.latestMeeting")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(Se)(C.value).format("YYYY/MM/DD")),1),e.createVNode(e.unref(T.OPopover),null,{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"tips"},{default:e.withCtx(()=>[e.createVNode(e.unref($5))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",null,e.toDisplayString(e.unref(r)("meeting.detailHalfYearMeetings")),1)])]),_:1})])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OTab),{modelValue:V.value,"onUpdate:modelValue":R[0]||(R[0]=Y=>V.value=Y),onChange:S,line:!1,"max-show":9999,class:e.normalizeClass({"full-width":!C.value})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a).slice(0,-1),Y=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:Y.value,value:Y.value},{nav:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Y.icon)))]),_:2},1024),e.createTextVNode(" "+e.toDisplayString(Y.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])])),e.unref(l)?(e.openBlock(),e.createElementBlock("div",c6,[e.createElementVNode("div",d6,[e.createVNode(e.unref(T.OSelect),{modelValue:u.value,"onUpdate:modelValue":R[1]||(R[1]=Y=>u.value=Y),onChange:D,placeholder:e.unref(r)("meeting.selectDate")},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,Y=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:Y,value:Y,label:e.unref(rt)(Y)},null,8,["value","label"]))),128))]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",h6,[e.createVNode(e.unref(T.OTab),{modelValue:V.value,"onUpdate:modelValue":R[2]||(R[2]=Y=>V.value=Y),onChange:S,line:!1,"max-show":9999},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a).slice(0,-1),Y=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:Y.value,value:Y.value},{nav:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Y.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.ODivider),{class:"meeting-divider"}),e.createElementVNode("div",f6,[!e.unref(l)&&k.value!==-1?(e.openBlock(),e.createBlock(o6,{key:0,data:Q.value.slice(k.value,k.value+1),meetingDates:V.value!==e.unref(Fe).EVENTS?x.value:[],eventsDates:V.value!==e.unref(Fe).MEETING?m.value:[],onClickDate:A,onChangeMonth:q,current:k.value,total:Q.value.length,active:u.value},null,8,["data","meetingDates","eventsDates","current","total","active"])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OScroller),{class:"list-content","show-type":"hover",size:"small"},{default:e.withCtx(()=>[e.createVNode(ph,{replayPath:i.replayPath,list:Z.value,rows:E.value},{empty:e.withCtx(()=>[e.renderSlot(W.$slots,"empty",{},()=>[e.createVNode(e.unref(T.OResult),{class:"empty-result"},{image:e.withCtx(()=>[e.createVNode(e.unref(T.OFigure),{class:"img",src:i.emptyImg??e.unref(gh)},null,8,["src"])]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.emptyText??e.unref(r)("meeting.meetingEmptyText")),1)]),_:1})])]),_:3},8,["replayPath","list","rows"])]),_:3})])],512))}}),m6={class:"o-my-meeting-calendar"},p6={class:"meeting-list"},g6={class:"list-calendar-mb"},v6={class:"list-calendar"},y6=["onClick"],C6={class:"date-cell-text"},b6={class:"list-body"},T6=["id"],k6={class:"item-header"},E6={class:"item-header-left"},x6={class:"header-info"},_6={class:"meeting-title"},A6={key:0},w6={class:"title-wrapper"},S6={class:"title-text"},D6={key:1,class:"tag-wrapper"},B6={key:2,class:"tag-wrapper"},V6={class:"meeting-info"},N6={key:0,class:"item-header-right"},I6={class:"meeting-detail"},O6={key:0,class:"meeting-btn"},P6={key:0,class:"load-text"},L6={class:"dialog-content"},C0=e.defineComponent({__name:"OMeetingMyCalendar",props:{cancelSubMeetingRequest:{},deleteMeetingRequest:{},getMeetingListRequest:{},groupType:{default:pn.SIG}},emits:["edit"],setup(i,{emit:t}){const n=T.useMessage(null),r=e.ref(!1),s=e.ref(1),a=e.ref(50),o=e.ref(null),l=e.ref([]),u=e.ref([]),d=e.computed(()=>o.value===null||u.value.length<o.value),f=e.ref(!1),{t:p,locale:E,getPointStr:C,getConfig:x,getWeekFromDate:m}=wn(),g=e.computed(()=>E.value===xe.Locales.EN),k=i,A=e.ref(!1),{isPhone:D}=nt.useScreen(),O=e.ref([]),M=t,V=e.ref(!1),S=e.ref(!1),L=async()=>{if(k.getMeetingListRequest&&!V.value)try{if(o.value!==null&&o.value>0&&(s.value-1)*a.value>o.value)return;if(!d.value&&D.value){Ae("next-month");return}r.value=!0,V.value=!0;const re=await k.getMeetingListRequest({page:s.value,size:a.value,order_by:"date",order_type:"asc",month:Se(Te.value).format("YYYY-MM")}),oe=(re.data||[]).map(se=>{var yn,Qt,Jn;const{is_cycle:Oe,date:ge,start:Ge,end:Qe,cycle_sub:Dt,cycle_start_date:Gt,cycle_end_date:et,cycle_start:dn,cycle_end:Mt,cycle_type:Bt,cycle_interval:_t,cycle_point:Vt}=se;if(Oe){let Nt="",Cn="";Bt===vi&&(Cn=p("meeting.cycleDay")),Bt===yi&&(_t>1?Cn=p("meeting.cycleWeek.other",[C(Bt,Vt),_t]):Cn=p("meeting.cycleWeek.one",[C(Bt,Vt)])),Bt===si&&(Cn=p("meeting.cycleMonth",[C(Bt,Vt)])),Nt=p("meeting.cycleMeetingText2",{startDate:Gt,endDate:et,startTime:dn,endTime:Mt,cycleType:Cn});const N=((yn=se.obs_data)==null?void 0:yn.filter(P=>P.text_video_url))||[];return Dt.filter(P=>Se(P.date).isBefore(Se(Te.value).add(1,"month").format("YYYY-MM-01"))&&!Se(P.date).isBefore(Se(Te.value).format("YYYY-MM-01"))).map(({id:P,...ee})=>({...se,...ee,timeRange:Nt,dateRange:`${ee.start}-${ee.end}`,hasObsData:N.find(de=>de.sub_id===ee.sub_id),time:`${ee.start}-${ee.end}`,isExpired:Se(`${ee.date} ${ee.start}`).isBefore(Se())}))}return[{...se,dateRange:`${Ge} - ${Qe}`,timeRange:`${Ge} - ${Qe}`,hasObsData:!!((Jn=(Qt=se.obs_data)==null?void 0:Qt.filter(Nt=>Nt.text_video_url))!=null&&Jn.length),time:`${Ge}-${Qe}`,isExpired:Se(`${ge} ${Ge}`).isBefore(Se())}]}).flat().filter(se=>se.date.slice(0,7)===rt(Te.value,"YYYY-MM-DD").slice(0,7));f.value?(u.value=re.data||[],l.value=oe):s.value===1&&!D.value?(u.value=re.data||[],l.value=oe):(u.value=[...u.value,...re.data||[]],l.value=[...l.value,...oe]),l.value.sort((se,Oe)=>se.date===Oe.date?Oi(se.start)>Oi(Oe.start)?1:-1:Se(se.date).isAfter(Se(Oe.date))?1:-1),o.value=(re==null?void 0:re.total)||0,e.nextTick(()=>{Be(),ke.value&&!D.value&&I()})}finally{r.value=!1,V.value=!1,S.value=!1,f.value=!1}},w=ct.useDebounceFn(()=>{d.value&&(D.value||(S.value=!0,s.value++,L()))},200),B=ct.useDebounceFn(()=>{if(!d.value||!D.value)return;const re=window.scrollY||window.pageYOffset,oe=window.innerHeight;document.documentElement.scrollHeight-(re+oe)<=300&&!V.value&&(S.value=!0,s.value++,L())},200),F=re=>{const oe=l.value.filter(se=>se.date===re);return oe.length&&oe.every(se=>se.is_delete)},Q=re=>{const oe=re.target;if(!oe)return;const se=oe.scrollTop,Oe=oe.scrollHeight,ge=oe.clientHeight;se+ge>=Oe&&w()},I=()=>{ke.value.getContainerEl().addEventListener("scroll",Q)},q=e.ref({}),U=(re,oe)=>{re&&oe&&(q.value[oe]=re)},G=async re=>{await q.value[re].copyInfo(),n.success({content:p("common.copySuccess")})},z=e.ref(!1),Z=e.ref(null),W=re=>{M("edit",re,"whole")},R=re=>{Z.value=re,z.value=!0},Y=async()=>{if(k.deleteMeetingRequest&&Z.value)try{A.value=!0;const re=await k.deleteMeetingRequest(Z.value.id);if(typeof re=="boolean"&&!re)return;z.value=!1,n.success({content:`${p("meeting.meetingCancel",[Z.value.topic])}`}),f.value=!0,L()}finally{A.value=!1}},j=e.ref(!1),ae=e.ref(""),he=e.ref(null),ue=[{label:p("meeting.meetingSingle"),value:"single"},{label:p("meeting.meetingCycle"),value:"whole"}],be=e.ref("single"),ne=(re,oe)=>{re.is_cycle?(he.value=re,ae.value=oe,j.value=!0):oe==="cancel"?R(re):W(re)},Ce=()=>{j.value=!1,he.value=null,ae.value="",be.value="single"},le=async()=>{const re=he.value;if(re)if(ae.value==="cancel")try{let oe;if(A.value=!0,be.value==="single"&&re.is_cycle){if(!k.cancelSubMeetingRequest)return;oe=await k.cancelSubMeetingRequest(re.sub_id)}else{if(!k.deleteMeetingRequest)return;oe=await k.deleteMeetingRequest(re.id)}if(typeof oe=="boolean"&&!oe)return;n.success({content:`${p("meeting.meetingCancel",[re.topic])}`}),Ce(),f.value=!0,L()}finally{A.value=!1}else M("edit",re,be.value),Ce()},_e=e.ref(),qe=e.computed(()=>[...new Set(l.value.map(re=>re.date))].sort((re,oe)=>Se(re).isBefore(Se(oe))?-1:1)),fe=e.computed(()=>[...new Set(l.value.filter(re=>!re.isExpired&&!re.is_delete).map(re=>re.date))].sort((re,oe)=>Se(re).isBefore(Se(oe))?-1:1)),Te=e.ref(),Be=()=>{var se;const re=fe.value.find(Oe=>!Se(Oe).isBefore(Se(new Date).format("YYYY-MM-DD")));re?Te.value=re:Te.value||(Te.value=Se().format("YYYY-MM-DD")),(se=_e.value)==null||se.pickDay(Se(Te.value)),Te.value=Se(Te.value).format("YYYY-MM-DD");const oe=l.value.find(Oe=>Oe.date===Te.value&&!Oe.isExpired&&!Oe.is_delete);oe&&(O.value=[oe.sub_id||oe.id])},Ie=(re,oe)=>{var se;(!oe||!((se=re.target)!=null&&se.className.includes("date-cell-text")))&&(re.stopPropagation(),re.preventDefault())},Ae=re=>{_e.value&&(s.value=1,o.value=null,window.scrollTo({top:0,behavior:"smooth"}),_e.value.selectDate(re),f.value=!0,e.nextTick(()=>{Te.value=Se(_e.value.selectedDay).format("YYYY-MM-DD"),L()}))},me=e.computed(()=>l.value.reduce((re,oe)=>{if(re.length){const se=re.at(-1);return(se==null?void 0:se.date)===oe.date?se.list.push(oe):re.push({date:oe.date,list:[oe]}),re}else return[{date:oe.date,list:[oe]}]},[])),ke=e.ref();e.watch(()=>Te.value,()=>{Ee(Te.value)});const Ee=re=>{var Oe,ge,Ge;const oe=Se(re).format("YYYY-MM-DD"),se=document.querySelector(`#group-title-${oe}`);se&&(D.value?window.scrollTo({top:(((Oe=se.parentElement)==null?void 0:Oe.offsetTop)||0)-52,behavior:"smooth"}):(Ge=ke.value)==null||Ge.scrollTo({top:((ge=se.parentElement)==null?void 0:ge.offsetTop)||0,behavior:"smooth"}))};e.onMounted(()=>{L(),window.addEventListener("scroll",B),window.addEventListener("resize",B)}),e.onUnmounted(()=>{var oe;window.removeEventListener("scroll",B),window.removeEventListener("resize",B);const re=(oe=ke.value)==null?void 0:oe.getContainerEl();re==null||re.removeEventListener("scroll",Q)});const Ne=re=>{const oe=Se(re||void 0);return g.value?oe.format("MMMM YYYY"):oe.format("YYYY MM月")},Ue=e.computed(()=>[{id:"confirm",color:"primary",label:p("common.confirm"),variant:"solid",size:"large",round:"pill",loading:A.value,onClick:()=>{le()}},{id:"cancel",color:"primary",label:p("common.cancel"),variant:"outline",size:"large",round:"pill",onClick:()=>{Ce()}}]),Ke=e.computed(()=>[{id:"confirm",color:"primary",label:p("common.confirm"),variant:"solid",size:"large",round:"pill",loading:A.value,onClick:()=>{Y()}},{id:"cancel",color:"primary",label:p("common.cancel"),variant:"outline",size:"large",round:"pill",onClick:()=>{z.value=!1}}]);return(re,oe)=>(e.openBlock(),e.createElementBlock("div",m6,[e.createElementVNode("div",p6,[e.createElementVNode("div",g6,[e.createElementVNode("span",null,e.toDisplayString(Ne(Te.value)),1),e.createElementVNode("span",null,[e.createVNode(e.unref(T.OIcon),{onClick:oe[0]||(oe[0]=se=>Ae("prev-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft))]),_:1}),e.createVNode(e.unref(T.OIcon),{onClick:oe[1]||(oe[1]=se=>Ae("next-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})])]),e.createElementVNode("div",v6,[e.createVNode(e.unref(gt.ElCalendar),{ref_key:"calendarRef",ref:_e,modelValue:Te.value,"onUpdate:modelValue":oe[4]||(oe[4]=se=>Te.value=se)},{header:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Ne(Te.value)),1),e.createElementVNode("div",null,[e.createVNode(e.unref(T.OIcon),{onClick:oe[2]||(oe[2]=se=>Ae("prev-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft))]),_:1}),e.createVNode(e.unref(T.OIcon),{onClick:oe[3]||(oe[3]=se=>Ae("next-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})])]),"date-cell":e.withCtx(({data:se})=>[e.createElementVNode("div",{onClick:Oe=>Ie(Oe,qe.value.includes(se.day)),class:e.normalizeClass({"date-cell":!0,"is-selected":se.isSelected,"is-today":e.unref(rt)(se.day)===e.unref(rt)(),clickable:qe.value.includes(se.day),expired:e.unref(Se)(e.unref(rt)()).isAfter(e.unref(Se)(se.day)),"all-deleted":F(se.day)}),style:e.normalizeStyle({"--dot-bg":`${e.unref(x)(e.unref(Fe).MEETING,"color")}`})},[e.createElementVNode("div",C6,e.toDisplayString(Number(se.day.split("-")[2])),1)],14,y6)]),_:1},8,["modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass(["list-wrapper",l.value.length?"":"is-empty"])},[l.value.length?(e.openBlock(),e.createBlock(e.unref(T.OScroller),{key:0,ref_key:"scrollerRef",ref:ke,onScrollend:e.unref(w),class:"scroller-container","show-type":"hover"},{default:e.withCtx(()=>[e.createElementVNode("div",b6,[e.createVNode(e.unref(T.OCollapse),{modelValue:O.value,"onUpdate:modelValue":oe[7]||(oe[7]=se=>O.value=se),accordion:e.unref(D)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(me.value,(se,Oe)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:se.date},[Oe===0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"list-month-change prev-month",onClick:oe[5]||(oe[5]=ge=>Ae("prev-month"))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowLeft))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(p)("meeting.preMonth")),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["group-item",Oe===me.value.length-1&&"last-item"])},[e.createElementVNode("div",{class:e.normalizeClass({"group-bar":!0,"is-active":e.unref(Se)(Te.value).format("YYYY-MM-DD")===se.date,"is-end":se.list.every(ge=>ge.isExpired)})},[...oe[11]||(oe[11]=[e.createElementVNode("div",{class:"group-bar-line"},null,-1),e.createElementVNode("div",{class:"group-bar-dot"},null,-1)])],2),e.createElementVNode("div",{class:e.normalizeClass({"group-title":!0,"is-end":se.list.every(ge=>ge.isExpired)}),id:`group-title-${e.unref(Se)(new Date(se.date)).format("YYYY-MM-DD")}`},e.toDisplayString(e.unref(Se)(se.date).format("MM/DD"))+" "+e.toDisplayString(e.unref(m)(se.date)),11,T6),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(se.list,(ge,Ge)=>(e.openBlock(),e.createBlock(e.unref(T.OCollapseItem),{key:ge.sub_id||ge.id,value:ge.sub_id||ge.id,class:e.normalizeClass({"last-item":Oe===me.value.length-1&&Ge===se.list.length-1,"is-delete":ge.is_delete,"is-end":ge.isExpired})},{title:e.withCtx(()=>[e.createElementVNode("div",k6,[e.createElementVNode("div",E6,[e.createElementVNode("div",{class:"meeting-icon",style:e.normalizeStyle({backgroundColor:`${ge.is_delete?"var(--o-color-info4)":e.unref(x)(e.unref(Fe).MEETING,"color")}`})},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(x)(e.unref(Fe).MEETING,"icon"))))]),_:1})],4),e.createElementVNode("div",x6,[e.createElementVNode("div",_6,[ge.is_delete?(e.openBlock(),e.createElementBlock("div",A6,e.toDisplayString(e.unref(p)("meeting.meetingCancelled")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",w6,[e.createElementVNode("div",S6,[e.createVNode(Hi,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(ge.topic),1)]),_:2},1024)])]),ge.is_cycle?(e.openBlock(),e.createElementBlock("div",D6,[e.createVNode(e.unref(T.OTag),{color:"primary",variant:"outline"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.cycle")),1)]),_:1})])):e.createCommentVNode("",!0),ge.is_private?(e.openBlock(),e.createElementBlock("div",B6,[e.createVNode(e.unref(T.OTag),{color:"primary",class:"private-tag",variant:"outline"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.privateTag")),1)]),_:1})])):e.createCommentVNode("",!0)]),e.createElementVNode("div",V6,[e.createElementVNode("span",null,e.toDisplayString(ge.dateRange),1),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createElementVNode("span",null,e.toDisplayString(i.groupType===e.unref(pn).GROUP?e.unref(p)("meeting.groups"):e.unref(p)("meeting.sigs"))+": "+e.toDisplayString(ge.group_name),1)])])]),ge.is_delete?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",N6,[ge.isExpired?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ge.etherpad?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,"hover-underline":!1,target:"_blank",href:ge.etherpad},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.meetingSummary"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0),ge.hasObsData?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,"hover-underline":!1,target:"_blank",href:`/${e.unref(E)}/video/${ge.group_name}/${ge.mid}/${ge.date}`},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.viewRecord"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,"hover-underline":!1,target:"_blank",href:ge.join_url,rel:"noopener noreferrer"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.joinMeeting"))+" ",1)]),_:1},8,["href"]))]))]),e.createVNode(e.unref(T.OIcon),{onClick:e.withModifiers(()=>G(ge.sub_id||ge.id),["stop"]),class:"copy-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(eu))]),_:1},8,["onClick"])]),default:e.withCtx(()=>[e.createElementVNode("div",I6,[e.createVNode(cs,{show:O.value.includes(ge.sub_id||ge.id),data:ge,ref_for:!0,ref:Qe=>U(Qe,ge.sub_id||ge.id),from:"my"},null,8,["show","data"]),!ge.isExpired&&!ge.is_delete?(e.openBlock(),e.createElementBlock("div",O6,[e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",onClick:Qe=>ne(ge,"edit")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.editMeeting")),1)]),_:1},8,["onClick"]),e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",onClick:Qe=>ne(ge,"cancel")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.cancelMeeting")),1)]),_:1},8,["onClick"])])):e.createCommentVNode("",!0)])]),_:2},1032,["value","class"]))),128)),oe[12]||(oe[12]=e.createElementVNode("div",{class:"height-placeholder"},null,-1))],2),Oe===me.value.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value?(e.openBlock(),e.createElementBlock("div",P6,e.toDisplayString(e.unref(p)("common.loading")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"list-month-change next-month",onClick:oe[6]||(oe[6]=ge=>Ae("next-month"))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowRight))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(p)("meeting.nextMonth")),1)])],64)):e.createCommentVNode("",!0)],64))),128))]),_:1},8,["modelValue","accordion"])])]),_:1},8,["onScrollend"])):r.value?e.createCommentVNode("",!0):e.renderSlot(re.$slots,"empty",{key:1})],2),e.createVNode(e.unref(T.ODialog),{class:"handle-wrapper-dialog",visible:j.value,"onUpdate:visible":oe[9]||(oe[9]=se=>j.value=se),"main-class":"handle-dialog",onClose:Ce,actions:Ue.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.meetingHandleText",[ae.value==="edit"?e.unref(p)("meeting.edit"):e.unref(p)("meeting.cancel")])),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadioGroup),{modelValue:be.value,"onUpdate:modelValue":oe[8]||(oe[8]=se=>be.value=se)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(ue,se=>e.createVNode(e.unref(T.ORadio),{value:se.value,key:se.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(se.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["visible","actions"]),e.createVNode(e.unref(T.ODialog),{visible:z.value,"onUpdate:visible":oe[10]||(oe[10]=se=>z.value=se),"main-class":"cancel-dialog",actions:Ke.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)("meeting.confirmCancel")),1)]),default:e.withCtx(()=>{var se;return[e.createElementVNode("div",L6,e.toDisplayString(e.unref(p)("meeting.confirmCancelDesc",[(se=Z.value)==null?void 0:se.topic])),1)]}),_:1},8,["visible","actions"])])]))}}),M6={class:"sender-text"},R6=["placeholder","onKeydown"],q6={class:"email-body-content"},ql=e.defineComponent({__name:"OMeetingSendMinutesForm",props:{meeting:{},prefill:{},sendMinutesRequest:{}},emits:["sent"],setup(i,{expose:t,emit:n}){const r=i,s=n,{t:a}=wn(),{lePadV:o}=nt.useScreen(),l=T.useMessage(null),u=e.ref({recipients:[],subject:""}),d=e.ref(""),f=e.ref(!1),p=e.ref(null),E=e.ref(null),C={recipients:[{required:!0,message:a("meeting.sendMinutesEmptyRecipient")}],subject:[{required:!0,message:a("meeting.sendMinutesSubjectPlaceholder")},{validator:S=>{if(S.length>128)return{type:"danger",message:a("meeting.sendMinutesSubjectTooLong")}}}]},x=e.computed(()=>{var S;return((S=r.meeting)==null?void 0:S.sender)||""}),m=()=>{if(!r.meeting)return"";const{topic:S,date:L}=r.meeting;return a("meeting.sendMinutesSubjectDefault",[S,L||""])},g=S=>[...new Set(S.map(L=>L.trim()).filter(Boolean))],k=()=>{var S;r.meeting&&(r.prefill&&r.prefill.length?u.value.recipients=g(r.prefill):u.value.recipients=g((r.meeting.email_list||"").split(/[,;,;]/)),u.value.subject=m(),d.value="",(S=E.value)==null||S.clearValidate())};e.watch([()=>r.meeting,()=>r.prefill],k,{immediate:!0});const A=()=>{var L;const S=d.value.trim();if(S){if(!$l.test(S)){l.warning({content:a("meeting.sendMinutesEmailInvalid")});return}if(u.value.recipients.includes(S)){l.warning({content:a("meeting.sendMinutesEmailExists")});return}u.value.recipients.push(S),d.value="",(L=E.value)==null||L.clearValidate("recipients")}},D=S=>{u.value.recipients=u.value.recipients.filter(L=>L!==S)},O=S=>{d.value===""&&u.value.recipients.length>0&&(S.preventDefault(),u.value.recipients.pop())},M=()=>{var S;(S=p.value)==null||S.focus()};return t({send:async()=>{var L;if(!r.meeting||!r.sendMinutesRequest)return;const S=await((L=E.value)==null?void 0:L.validate());if(!(S!=null&&S.some(w=>!!w)))try{f.value=!0;const w=await r.sendMinutesRequest(r.meeting.id,u.value.recipients,u.value.subject);l.success({content:a("meeting.sendMinutesSent")}),s("sent",w)}finally{f.value=!1}},sending:f,reset:k}),(S,L)=>(e.openBlock(),e.createBlock(e.unref(T.OForm),{ref_key:"formRef",ref:E,class:"o-meeting-send-minutes",model:u.value,"has-required":"",layout:e.unref(o)?"v":"h"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFormItem),{label:e.unref(a)("meeting.sendMinutesSender"),class:"text-item"},{default:e.withCtx(()=>[e.createElementVNode("span",M6,e.toDisplayString(x.value),1)]),_:1},8,["label"]),e.createVNode(e.unref(T.OFormItem),{label:e.unref(a)("meeting.sendMinutesRecipient"),field:"recipients",rules:C.recipients},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"o-meeting-send-minutes-recipient-editor",onClick:M},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.recipients,w=>(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:w,class:"recipient-tag",variant:"solid",color:"primary",closable:"",onClose:B=>D(w)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w),1)]),_:2},1032,["onClose"]))),128)),e.withDirectives(e.createElementVNode("input",{ref_key:"recipientInputRef",ref:p,"onUpdate:modelValue":L[0]||(L[0]=w=>d.value=w),class:"recipient-native-input",type:"text",placeholder:e.unref(a)("meeting.sendMinutesRecipientPlaceholder"),onKeydown:[e.withKeys(e.withModifiers(A,["prevent"]),["enter"]),e.withKeys(O,["backspace"])]},null,40,R6),[[e.vModelText,d.value]])])]),_:1},8,["label","rules"]),e.createVNode(e.unref(T.OFormItem),{label:e.unref(a)("meeting.sendMinutesSubject"),field:"subject",rules:C.subject},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OInput),{modelValue:u.value.subject,"onUpdate:modelValue":L[1]||(L[1]=w=>u.value.subject=w),class:"subject-input",size:"large",placeholder:e.unref(a)("meeting.sendMinutesSubjectPlaceholder")},null,8,["modelValue","placeholder"])]),_:1},8,["label","rules"]),e.createVNode(e.unref(T.OFormItem),{label:e.unref(a)("meeting.sendMinutesBody"),class:"text-item"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OScroller),{class:"o-meeting-send-minutes-email-body-scroller","disabled-x":"","show-type":"auto"},{default:e.withCtx(()=>{var w;return[e.createElementVNode("div",q6,e.toDisplayString((w=i.meeting)==null?void 0:w.minutes),1)]}),_:1})]),_:1},8,["label"])]),_:1},8,["model","layout"]))}}),F6={class:"o-meeting-send-minutes-footer"},U6=e.defineComponent({__name:"OMeetingSendMinutesDialog",props:{visible:{type:Boolean},meeting:{},prefill:{},sendMinutesRequest:{}},emits:["update:visible","sent"],setup(i,{emit:t}){const n=i,r=t,{t:s}=wn(),a=e.ref(null);e.watch(()=>n.visible,l=>{var u;l&&((u=a.value)==null||u.reset())});const o=l=>{r("sent",l),r("update:visible",!1)};return(l,u)=>(e.openBlock(),e.createBlock(e.unref(T.ODialog),{visible:i.visible,"onUpdate:visible":u[2]||(u[2]=d=>r("update:visible",d)),class:"o-meeting-send-minutes-dialog"},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.sendMinutesDialogTitle")),1)]),footer:e.withCtx(()=>{var d;return[e.createElementVNode("div",F6,[e.createVNode(e.unref(T.OButton),{color:"primary",variant:"solid",round:"pill",size:"large",loading:(d=a.value)==null?void 0:d.sending,onClick:u[0]||(u[0]=f=>{var p;return(p=a.value)==null?void 0:p.send()})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.sendMinutesSend")),1)]),_:1},8,["loading"]),e.createVNode(e.unref(T.OButton),{color:"primary",variant:"outline",round:"pill",size:"large",onClick:u[1]||(u[1]=f=>r("update:visible",!1))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.sendMinutesCancel")),1)]),_:1})])]}),default:e.withCtx(()=>[e.createVNode(ql,{ref_key:"formRef",ref:a,meeting:i.meeting,prefill:i.prefill,"send-minutes-request":i.sendMinutesRequest,onSent:o},null,8,["meeting","prefill","send-minutes-request"])]),_:1},8,["visible"]))}}),z6=xe._export_sfc(U6,[["__scopeId","data-v-1bd384f6"]]),H6={key:0,class:"o-meeting-minutes-log-loading"},j6={key:1,class:"o-meeting-minutes-copy-detail"},X6={class:"o-meeting-minutes-copy-meta"},G6={class:"o-meeting-minutes-copy-field"},Q6={class:"copy-label"},Y6={class:"copy-value"},K6={class:"o-meeting-minutes-copy-field"},W6={class:"copy-label"},J6={class:"copy-value"},Z6={class:"o-meeting-minutes-copy-field"},$6={class:"copy-label"},e9={class:"copy-value copy-subject"},t9={class:"o-meeting-minutes-copy-field"},n9={class:"copy-label"},i9={class:"copy-value"},r9={class:"o-meeting-minutes-copy-field"},s9={class:"copy-label"},a9={class:"copy-value copy-body"},o9=e.defineComponent({__name:"OMeetingMinutesCopyDetail",props:{log:{},loading:{type:Boolean}},setup(i){const{t}=wn();return(n,r)=>i.loading?(e.openBlock(),e.createElementBlock("div",H6,[e.createVNode(e.unref(T.OIcon),{class:"log-loading-icon o-rotating"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconLoading))]),_:1})])):i.log?(e.openBlock(),e.createElementBlock("div",j6,[e.createElementVNode("div",X6,[e.createElementVNode("div",G6,[e.createElementVNode("span",Q6,e.toDisplayString(e.unref(t)("meeting.minutesCopySender")),1),e.createElementVNode("span",Y6,e.toDisplayString(i.log.sender),1)]),e.createElementVNode("div",K6,[e.createElementVNode("span",W6,e.toDisplayString(e.unref(t)("meeting.minutesCopyRecipient")),1),e.createElementVNode("span",J6,e.toDisplayString((i.log.recipients||[]).join("、")),1)]),e.createElementVNode("div",Z6,[e.createElementVNode("span",$6,e.toDisplayString(e.unref(t)("meeting.minutesCopySubject")),1),e.createElementVNode("span",e9,e.toDisplayString(i.log.subject),1)]),e.createElementVNode("div",t9,[e.createElementVNode("span",n9,e.toDisplayString(e.unref(t)("meeting.minutesCopyTime")),1),e.createElementVNode("span",i9,e.toDisplayString(e.unref(rt)(i.log.send_time,"YYYY/MM/DD HH:mm:ss")),1)]),e.createElementVNode("div",r9,[e.createElementVNode("span",s9,e.toDisplayString(e.unref(t)("meeting.minutesCopyBody")),1),e.createElementVNode("span",a9,e.toDisplayString(i.log.content),1)])])])):e.createCommentVNode("",!0)}}),Fl=xe._export_sfc(o9,[["__scopeId","data-v-6e742903"]]),l9={key:0,class:"o-meeting-minutes-main o-meeting-minutes-main-loading o-meeting-minutes-card"},u9={class:"o-meeting-minutes-head"},c9={class:"o-meeting-minutes-head-left"},d9={class:"o-meeting-minutes-title-wrap"},h9={class:"minutes-meta"},f9={class:"o-meeting-minutes-body-wrap"},m9={class:"o-meeting-minutes-body-header"},p9={class:"o-meeting-minutes-body-content"},g9={key:1,class:"o-meeting-minutes-main o-meeting-minutes-card"},v9={class:"o-meeting-minutes-head"},y9={class:"o-meeting-minutes-head-left"},C9={class:"o-meeting-minutes-title-wrap"},b9={class:"minutes-title"},T9={class:"minutes-meta"},k9={class:"o-meeting-minutes-head-right"},E9={class:"o-meeting-minutes-body-wrap"},x9={class:"o-meeting-minutes-body-header"},_9={class:"o-meeting-minutes-body-header-text"},A9={class:"o-meeting-minutes-body-header-btns"},w9={key:1,class:"minutes-preview"},S9={key:0,class:"o-meeting-minutes-body-footer"},D9={class:"o-meeting-minutes-last-modified"},B9={class:"o-meeting-minutes-origin"},V9={class:"o-meeting-minutes-log-card o-meeting-minutes-card"},N9={class:"o-meeting-minutes-log-block"},I9={class:"o-meeting-minutes-log-head-left"},O9={class:"block-title"},P9={class:"block-count"},L9={class:"o-meeting-minutes-log-body"},M9={key:0,class:"o-meeting-minutes-timeline"},R9={class:"o-meeting-minutes-timeline-content"},q9={class:"o-meeting-minutes-timeline-summary"},F9={class:"timeline-time"},U9={class:"timeline-desc"},z9={key:1,class:"log-empty"},b0=e.defineComponent({__name:"OMeetingMinutes",props:{mid:{},getMinutesDetailRequest:{},saveMinutesRequest:{},getSendLogsRequest:{},sendMinutesRequest:{},getLogDetailRequest:{}},setup(i,{expose:t}){const n=i,r=T.useMessage(null),{t:s}=wn(),a=e.ref(null),o=e.ref(!1),l=e.ref(),u=e.computed(()=>{var Q;return((Q=l.value)==null?void 0:Q.$el)??null}),d=e.ref("preview"),f=e.ref(""),p=e.ref(!1),E=e.ref([]),C=e.ref(!1),x=e.ref(!1),m=e.ref(null),g=e.ref(!1);let k=0;const A=e.ref(!0);e.watch(()=>d.value,Q=>{A.value=Q!=="edit"});const D=()=>{A.value=!A.value},O=Q=>[...Q].sort((I,q)=>new Date(q.send_time).getTime()-new Date(I.send_time).getTime()),M=async()=>{var I;const Q=n.mid;if(!(!Q||!n.getMinutesDetailRequest)){o.value=!0;try{const q=await n.getMinutesDetailRequest(Q),U=((I=q==null?void 0:q.data)==null?void 0:I.data)??(q==null?void 0:q.data)??q??null;a.value=U,a.value&&(d.value="preview",f.value=a.value.minutes||"",n.getSendLogsRequest&&(E.value=O(await n.getSendLogsRequest(a.value.id))))}finally{o.value=!1}}};e.onMounted(M);const V=()=>{var Q;f.value=((Q=a.value)==null?void 0:Q.minutes)||"",d.value="edit"},S=()=>{var Q;d.value="preview",f.value=((Q=a.value)==null?void 0:Q.minutes)||""},L=async()=>{if(!(!a.value||!n.saveMinutesRequest)&&!p.value)try{p.value=!0;const Q=await n.saveMinutesRequest(a.value.id,f.value);a.value&&(a.value.minutes=f.value),d.value="preview",r.success({content:s("meeting.minutesSaved")}),Q!=null&&Q.updated_at&&a.value&&(a.value.updated_at=Q.updated_at)}finally{p.value=!1}},w=()=>{C.value=!0},B=async Q=>{if(x.value=!0,m.value=null,!n.getLogDetailRequest){m.value=Q;return}const I=++k;g.value=!0;try{const q=await n.getLogDetailRequest(Q);if(I!==k)return;m.value={...Q,content:q}}finally{I===k&&(g.value=!1)}},F=async()=>{a.value&&n.getSendLogsRequest&&(E.value=O(await n.getSendLogsRequest(a.value.id)))};return t({refresh:M}),(Q,I)=>(e.openBlock(),e.createBlock(e.unref(T.OScroller),{ref_key:"rootRef",ref:l,class:"o-meeting-minutes","disabled-x":"","show-type":"auto"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",l9,[e.createElementVNode("div",u9,[e.createElementVNode("div",c9,[e.createElementVNode("div",d9,[e.createVNode(e.unref(T.OSkeleton),{loading:"",rows:1,class:"minutes-skeleton minutes-skeleton-title"})]),e.createElementVNode("div",h9,[e.createVNode(e.unref(T.OSkeleton),{loading:"",rows:1,class:"minutes-skeleton minutes-skeleton-meta"})])])]),e.createVNode(e.unref(T.ODivider),{style:{"--o-divider-gap":"var(--o-r-gap-5)"}}),e.createElementVNode("div",f9,[e.createElementVNode("div",m9,[e.createVNode(e.unref(T.OSkeleton),{loading:"",rows:1,class:"minutes-skeleton minutes-skeleton-body-title"})]),e.createElementVNode("div",p9,[e.createVNode(e.unref(T.OSkeleton),{loading:"",rows:5,class:"minutes-skeleton minutes-skeleton-body"})])])])):a.value?(e.openBlock(),e.createElementBlock("div",g9,[e.createElementVNode("div",v9,[e.createElementVNode("div",y9,[e.createElementVNode("div",C9,[e.createElementVNode("span",b9,e.toDisplayString(a.value.topic),1),e.createVNode(e.unref(T.OTag),{variant:"outline",color:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesExpired")),1)]),_:1})]),e.createElementVNode("div",T9,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.minutesSigGroup"))+e.toDisplayString(a.value.group_name),1),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createElementVNode("span",null,e.toDisplayString(a.value.date)+" "+e.toDisplayString(a.value.time),1)])]),e.createElementVNode("div",k9,[e.createVNode(e.unref(T.OButton),{color:"primary",size:"large",variant:"solid",round:"pill",onClick:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesSend")),1)]),_:1})])]),e.createVNode(e.unref(T.ODivider),{style:{"--o-divider-gap":"var(--o-r-gap-5)"}}),e.createElementVNode("div",E9,[e.createElementVNode("div",x9,[e.createElementVNode("span",_9,e.toDisplayString(e.unref(s)("meeting.minutesBodyTitle")),1),e.createElementVNode("div",A9,[d.value==="preview"?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,color:"primary","hover-underline":!1,onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesEdit")),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(T.OLink),{"hover-underline":!1,onClick:S,class:"cancel-btn"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesCancel")),1)]),_:1}),e.createVNode(e.unref(T.OLink),{"hover-underline":!1,loading:p.value,onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesSave")),1)]),_:1},8,["loading"])],64))])]),e.createElementVNode("div",{class:e.normalizeClass(`o-meeting-minutes-body-content o-meeting-minutes-body-content_${d.value} ${a.value.minutes?"":"is-empty"}`)},[d.value==="preview"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a.value.minutes?(e.openBlock(),e.createElementBlock("div",w9,e.toDisplayString(a.value.minutes),1)):e.renderSlot(Q.$slots,"empty",{key:0},()=>[I[3]||(I[3]=e.createTextVNode("空状态占位,传入empty slot",-1))])],64)):(e.openBlock(),e.createBlock(e.unref(T.OTextarea),{key:1,modelValue:f.value,"onUpdate:modelValue":I[0]||(I[0]=q=>f.value=q),rows:22,class:"minutes-editor"},null,8,["modelValue"]))],2),a.value.minutes?(e.openBlock(),e.createElementBlock("div",S9,[e.createElementVNode("div",D9,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.minutesLastModified")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(rt)(a.value.updated_at||a.value.update_time,"YYYY/MM/DD HH:mm:ss")),1)]),e.createElementVNode("div",B9,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("meeting.minutesOrigin")),1),e.createVNode(e.unref(T.OLink),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.etherpad),1)]),_:1})])])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.ODivider),{style:{"--o-divider-gap":"var(--o-r-gap-5)"}}),e.createElementVNode("div",V9,[e.createElementVNode("div",N9,[e.createElementVNode("div",{class:"o-meeting-minutes-log-head",onClick:D},[e.createElementVNode("div",I9,[e.createElementVNode("span",O9,e.toDisplayString(e.unref(s)("meeting.minutesSendLogs")),1),e.createElementVNode("span",P9,e.toDisplayString(E.value.length),1)]),e.createVNode(e.unref(T.OIcon),{class:e.normalizeClass(["expand-icon",{"is-expanded":A.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronDown))]),_:1},8,["class"])]),e.withDirectives(e.createElementVNode("div",L9,[E.value.length?(e.openBlock(),e.createElementBlock("ul",M9,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,q=>(e.openBlock(),e.createElementBlock("li",{key:q.id,class:"o-meeting-minutes-timeline-item"},[I[4]||(I[4]=e.createElementVNode("span",{class:"timeline-dot"},[e.createElementVNode("span",{class:"timeline-dot-core"})],-1)),e.createElementVNode("div",R9,[e.createElementVNode("div",q9,[e.createElementVNode("span",F9,e.toDisplayString(q.send_time),1),e.createElementVNode("span",U9,e.toDisplayString(e.unref(s)("meeting.minutesSendLogsDesc")),1),e.createVNode(e.unref(T.OLink),{color:"primary","hover-underline":!1,onClick:U=>B(q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesViewDetail")),1)]),_:1},8,["onClick"])])])]))),128))])):(e.openBlock(),e.createElementBlock("div",z9,e.toDisplayString(e.unref(s)("meeting.minutesNoLogs")),1))],512),[[e.vShow,A.value]])])])]),e.createVNode(z6,{visible:C.value,"onUpdate:visible":I[1]||(I[1]=q=>C.value=q),meeting:a.value,"send-minutes-request":i.sendMinutesRequest,onSent:F,wrapper:u.value},null,8,["visible","meeting","send-minutes-request","wrapper"]),e.createVNode(e.unref(T.ODialog),{visible:x.value,"onUpdate:visible":I[2]||(I[2]=q=>x.value=q),wrapper:u.value,class:"o-meeting-minutes-log-detail"},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("meeting.minutesCopyTitle")),1)]),default:e.withCtx(()=>[e.createVNode(Fl,{log:m.value,loading:g.value},null,8,["log","loading"])]),_:1},8,["visible","wrapper"])])):e.renderSlot(Q.$slots,"empty",{key:2})]),_:3},512))}}),H9=Object.assign(Vc,{install(i){i.component("OMeetingCalendar",Vc)}}),j9=Object.assign(Oc,{install(i){i.component("OMeetingForm",Oc)}}),X9=Object.assign(v0,{install(i){i.component("OMeetingPlayback",v0)}}),G9=Object.assign(y0,{install(i){i.component("OMeetingSigCalendar",y0)}}),Q9=Object.assign(C0,{install(i){i.component("OMeetingMyCalendar",C0)}}),Y9=Object.assign(b0,{install(i){i.component("OMeetingMinutes",b0)}}),K9=Object.assign(ql,{install(i){i.component("OMeetingSendMinutesForm",ql)}}),W9=Object.assign(Fl,{install(i){i.component("OMeetingMinutesCopyDetail",Fl)}}),J9={class:"o-activity-table"},Z9={key:0,class:"table-wrapper"},$9={class:"expand-detail"},eC={class:"activity-btn"},tC={key:0,class:"pagination-wrapper"},nC={key:1,class:"collapse-wrapper"},iC={class:"title-top"},rC={class:"act-title"},sC={class:"act-sponsor"},aC={class:"sponsor"},oC={class:"activity-btn"},lC={class:"activity-detail"},uC={key:0,class:"pagination"},cC={class:"dialog-content"},dC={class:"dialog-content"},T0=e.defineComponent({__name:"OActivityApproval",props:{getTableDataRequest:{},applicantList:{},cancelActivityRequest:{},deleteActivityRequest:{},approveActivityRequest:{},rejectActivityRequest:{},getActivityDetailRequest:{}},setup(i){const{t,locale:n}=xe.useI18n(),r=e.computed(()=>n.value==="zh"),{approvalStatusMap:s,statusMap:a,activityTypeMap:o}=La(),l=T.useMessage(null),{isPhone:u,lePadV:d}=nt.useScreen(),f=i,p=Ie=>Ie,E=e.reactive({page:1,size:10,status:"",is_delete:0,search:"",sponsor:"",order_by:""}),C=e.computed(()=>{const Ie=[];return s.value.forEach(Ae=>{Ie.push(Ae)}),Ie.slice(1)}),x=e.computed(()=>[{key:"title",label:t("meeting.activityName")},{key:"sponsor",label:t("meeting.applicant"),filter:{optionsFn:()=>f.applicantList.map(Ie=>({label:Ie,value:Ie})),multiple:!0}},{key:"create_time",label:t("meeting.submissionTime"),sortKey:"create_time"},{key:"status",label:t("meeting.status"),width:90,filter:{optionsFn:()=>C.value,multiple:!1}},{key:"action",label:t("meeting.action")}]),m=Ie=>{if(!Ie)return;const{key:Ae,newVal:me}=Ie;if(Ae==="sponsor")E.sponsor=me.join(",");else if(Ae==="status"){const ke=me[0];E.status=ke??"",ke==="cancel"?E.is_delete=1:E.is_delete=0}},g=Ie=>{const{newVal:Ae}=Ie;Ae===1?E.order_by="asc":Ae===-1?E.order_by="desc":E.order_by=""},k=e.ref([]),A=e.ref(0),D=[10,20,30,40],O=async()=>{const{page:Ie,size:Ae,status:me,sponsor:ke,order_by:Ee,search:Ne,is_delete:Ue}=E;let Ke={page:Ie,size:Ae,sponsor:ke,order_by:Ee,search:Ne};if(me!=="all"&&me!==""&&(Ke.is_delete=Ue),me==="cancel"?Ke.status="":Ke.status=me,!f.getTableDataRequest)return;const re=await f.getTableDataRequest(Ke);k.value=(re.data||[]).map(oe=>{var Dt;const{start_date:se,end_date:Oe,start:ge,end:Ge,activity_type:Qe}=oe;return[{...oe,time:`${se}-${Ge}`,start_date_time:`${se} ${ge}`,end_date_time:`${Oe} ${Ge}`,type:Fe.EVENTS,dateRange:`${se} ${ge}-${Oe} ${Ge}`,activity_type:(Dt=o.value.get(Qe))==null?void 0:Dt.label}]}).flat(),A.value=re.total},M=Ie=>{Ie.pageSize!==E.size?E.page=1:E.page=Ie.page,E.size=Ie.pageSize,O()},V=e.ref({reason:""}),S=e.ref(),L=e.ref(!1),w=e.ref(null),B=e.ref(""),F=e.ref(0),Q=e.ref(!1),I=e.ref({reason:[{required:!0,message:t("meeting.enterReviewNotes")}]}),q=async()=>{var Ie,Ae,me,ke;if(!(!f.approveActivityRequest||!f.rejectActivityRequest))try{L.value=!0;const Ee=await((Ie=S.value)==null?void 0:Ie.validate());if(!Ee||Ee.some(Ne=>!!Ne)){L.value=!1;return}F.value===1?await f.approveActivityRequest((Ae=w.value)==null?void 0:Ae.id,V.value):await f.rejectActivityRequest((me=w.value)==null?void 0:me.id,V.value),O(),U(),l.success({content:t("meeting.reviewSuccess",[(ke=w.value)==null?void 0:ke.title])})}finally{Q.value=!1,L.value=!1}},U=()=>{Q.value=!1,z.value=!1,L.value=!1,V.value.reason=""},G=async()=>{var Ie;if(f.deleteActivityRequest&&f.cancelActivityRequest)try{L.value=!0,R.value===1?await f.cancelActivityRequest(w.value.id,V.value):await f.deleteActivityRequest(w.value.id,V.value),O(),U(),l.success({content:t("meeting.activityActionSuccess",[(Ie=w.value)==null?void 0:Ie.title,W.value])})}finally{L.value=!1,z.value=!1}},z=e.ref(!1),Z=e.ref(""),W=e.ref(""),R=e.ref(0),Y=Ie=>{Z.value=t("meeting.deleteActivity"),W.value=t("meeting.deleteActivity").toLowerCase(),w.value=Ie,R.value=0,z.value=!0},j=Ie=>{Z.value=t("meeting.cancelActivity"),W.value=t("common.cancel").toLowerCase(),w.value=Ie,R.value=1,z.value=!0},ae=Ie=>{w.value=Ie,B.value=t("meeting.approveReview"),F.value=1,Q.value=!0},he=Ie=>{w.value=Ie,B.value=t("meeting.rejectReview"),F.value=0,Q.value=!0},ue=e.ref([]),be=e.ref(new Set),ne=Ie=>{const Ae=Ie.toString();!f.getActivityDetailRequest||be.value.has(Ae)||(be.value.add(Ae),f.getActivityDetailRequest(Ae).then(me=>{var ke;(ke=k.value)==null||ke.forEach(Ee=>{Ee.id===me.id&&(Ee.approve_record=me.approve_record,Ee.approver=me.approver)})}))},Ce=Ie=>{ue.value=Ie,Ie.forEach(Ae=>ne(Ae))},le=e.ref([]),_e=Ie=>{Ie.length&&Ie.forEach(Ae=>{ne(Ae)})},qe=e.ref({}),fe=(Ie,Ae)=>{Ie&&Ae&&(qe.value[Ae]=Ie)};e.onMounted(()=>{O()}),e.watch(()=>[E.status,E.sponsor,E.order_by,E.search,E.is_delete],()=>{O()},{deep:!0});const Te=e.computed(()=>[{id:"confirm",loading:L.value,color:"primary",variant:d.value?"text":"solid",round:"pill",size:"large",label:t("meeting.confirmBtn"),onClick:()=>{G()}},{id:"cancel",color:"primary",variant:d.value?"text":"outline",round:"pill",size:"large",label:t("meeting.cancelBtn"),onClick:()=>{U()}}]),Be=e.computed(()=>[{id:"confirm",loading:L.value,color:"primary",variant:d.value?"text":"solid",round:"pill",size:"large",label:t("meeting.confirmBtn"),onClick:()=>{q()}},{id:"cancel",color:"primary",variant:d.value?"text":"outline",round:"pill",size:"large",label:t("meeting.cancelBtn"),onClick:()=>{U()}}]);return(Ie,Ae)=>(e.openBlock(),e.createElementBlock("div",J9,[e.unref(u)?(e.openBlock(),e.createElementBlock("div",nC,[e.createVNode(e.unref(T.OCollapse),{modelValue:le.value,"onUpdate:modelValue":Ae[0]||(Ae[0]=me=>le.value=me),accordion:e.unref(u),onChange:_e},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,me=>{var ke;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me.id},[e.createElementVNode("div",iC,[e.createElementVNode("p",rC,e.toDisplayString(me.title),1),me.is_delete!==1?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,color:"primary",variant:"outline",class:e.normalizeClass([`tag-${(ke=e.unref(a).get(me.status))==null?void 0:ke.id}`])},{default:e.withCtx(()=>{var Ee;return[e.createTextVNode(e.toDisplayString((Ee=e.unref(a).get(me.status))==null?void 0:Ee.text),1)]}),_:2},1032,["class"])):(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:1,color:"primary",variant:"outline",class:"tag-cancel"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.statusCanceled")),1)]),_:1}))]),e.createVNode(e.unref(T.OCollapseItem),{value:me.id},{title:e.withCtx(()=>[e.createElementVNode("div",sC,[e.createElementVNode("p",aC,e.toDisplayString(me.sponsor),1),e.createElementVNode("p",null,e.toDisplayString(e.unref(Se)(me.create_time).format("YYYY/MM/DD HH:mm:ss")),1)]),e.createElementVNode("div",oC,[me.status===7||me.is_delete?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,color:"danger",variant:"text",onClick:e.withModifiers(Ee=>Y(me),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),(me.status===3||me.status===4)&&me.is_delete!==1?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,color:"danger",variant:"text",onClick:e.withModifiers(Ee=>j(me),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.cancelActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),me.status===2?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:2,color:"primary",variant:"text",onClick:e.withModifiers(Ee=>ae(me),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.approve")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),me.status===2?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:3,color:"primary",variant:"text",onClick:e.withModifiers(Ee=>he(me),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.reject")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",lC,[e.createVNode(cs,{show:le.value.includes(me.id),data:me,ref_for:!0,ref:Ee=>fe(Ee,me.id),page:e.unref(Fe).APPROVAL},null,8,["show","data","page"])])]),_:2},1032,["value"])],64)}),128))]),_:1},8,["modelValue","accordion"]),A.value>D[0]?(e.openBlock(),e.createElementBlock("div",uC,[e.createVNode(e.unref(T.OPagination),{total:A.value,page:E.page,"page-size":E.size,"page-sizes":D,layout:["total","jumper","pager","pagesize"],"show-more":!1,simple:!0,onChange:M},null,8,["total","page","page-size"])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Z9,[e.createVNode(e.unref(T.ODataTable),{data:k.value,columns:x.value,"row-key":"id",border:"row-frame","min-table-width":600,"expanded-row-keys":ue.value,"onUpdate:expandedRowKeys":Ce,onConditionUpdate:m,onSortUpdate:g},{expand:e.withCtx(({row:me})=>[e.createElementVNode("div",$9,[e.createVNode(cs,{data:me,page:e.unref(Fe).APPROVAL,show:""},null,8,["data","page"])])]),td_create_time:e.withCtx(({row:me})=>[e.createTextVNode(e.toDisplayString(e.unref(Se)(p(me).create_time).format("YYYY/MM/DD HH:mm:ss")),1)]),td_status:e.withCtx(({row:me})=>{var ke;return[p(me).is_delete!==1?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,color:"primary",variant:"outline",class:e.normalizeClass([`tag-${(ke=e.unref(a).get(p(me).status))==null?void 0:ke.id}`])},{default:e.withCtx(()=>{var Ee;return[e.createTextVNode(e.toDisplayString((Ee=e.unref(a).get(p(me).status))==null?void 0:Ee.text),1)]}),_:2},1032,["class"])):(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:1,color:"primary",variant:"outline",class:"tag-cancel"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.statusCanceled")),1)]),_:1}))]}),td_action:e.withCtx(({row:me})=>[e.createElementVNode("div",eC,[p(me).status===7||p(me).is_delete?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,"hover-underline":!1,color:"danger",onClick:ke=>Y(p(me))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),(p(me).status===3||p(me).status===4)&&p(me).is_delete!==1?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,"hover-underline":!1,color:"danger",onClick:ke=>j(p(me))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.cancelActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),p(me).status===2?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:2,"hover-underline":!1,color:"primary",onClick:ke=>ae(p(me))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.approve")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),p(me).status===2?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:3,"hover-underline":!1,color:"primary",onClick:ke=>he(p(me))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("meeting.reject")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])]),_:1},8,["data","columns","expanded-row-keys"]),A.value>D[0]?(e.openBlock(),e.createElementBlock("div",tC,[e.createVNode(e.unref(T.OPagination),{total:A.value,page:E.page,"page-size":E.size,"page-sizes":D,layout:["total","jumper","pager","pagesize"],"show-more":!1,onChange:M},null,8,["total","page","page-size"])])):e.createCommentVNode("",!0)])),e.createVNode(e.unref(T.ODialog),{visible:Q.value,"onUpdate:visible":Ae[2]||(Ae[2]=me=>Q.value=me),"phone-half-full":e.unref(d),"main-class":"handle-dialog-approval review-dialog",actions:Be.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B.value),1)]),default:e.withCtx(()=>[e.createElementVNode("div",cC,[e.createVNode(e.unref(T.OForm),{model:V.value,ref_key:"formRef",ref:S,"has-required":"",layout:"v",class:"form-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFormItem),{rules:I.value.reason,label:`${e.unref(t)("meeting.reviewNotesLabel")}${r.value?":":": "}`,field:"reason"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTextarea),{size:"large",placeholder:e.unref(t)("meeting.enterReviewNotes"),rows:4,resize:"none","max-length":1e3,"input-on-outlimit":!1,modelValue:V.value.reason,"onUpdate:modelValue":Ae[1]||(Ae[1]=me=>V.value.reason=me)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"])]),_:1},8,["model"])])]),_:1},8,["visible","phone-half-full","actions"]),e.createVNode(e.unref(T.ODialog),{visible:z.value,"onUpdate:visible":Ae[3]||(Ae[3]=me=>z.value=me),"phone-half-full":e.unref(d),"main-class":"handle-dialog-approval cancel-dialog",actions:Te.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Z.value),1)]),default:e.withCtx(()=>{var me,ke;return[e.createElementVNode("div",dC,e.toDisplayString(R.value===1?e.unref(t)("meeting.confirmCancelActivity",[(me=w.value)==null?void 0:me.title]):e.unref(t)("meeting.confirmDeleteActivity",[(ke=w.value)==null?void 0:ke.title])),1)]}),_:1},8,["visible","phone-half-full","actions"])]))}}),hC={class:"o-my-activity-calendar"},fC={class:"activity-list"},mC={class:"list-calendar-mb"},pC={class:"list-calendar"},gC=["onClick"],vC={class:"date-cell-text"},yC={class:"list-body"},CC=["id"],bC={class:"item-header"},TC={class:"item-header-left"},kC={class:"header-info"},EC={class:"act-title"},xC={class:"title-wrapper"},_C={class:"title-text"},AC={class:"act-info"},wC={key:0,class:"item-header-right"},SC={class:"activity-detail"},DC={key:0,class:"activity-btn"},BC={key:0,class:"load-text"},VC={class:"dialog-content"},NC={class:"dialog-content"},IC=e.defineComponent({__name:"OActivityMyCalendar",props:{getListRequest:{},revokeActivityRequest:{},deleteActivityRequest:{},editActivityRequest:{},getActivityDetailRequest:{}},emits:["edit"],setup(i,{emit:t}){const{t:n,locale:r}=xe.useI18n(),s=e.computed(()=>r.value===xe.Locales.ZH),{statusMap:a,activityTypeMap:o}=La(),{getConfig:l}=wn(),u=re=>{const oe=Se(re||new Date);return s.value?oe.format("YYYY MM月"):oe.format("MMMM YYYY")},d=T.useMessage(null),{isPhone:f}=nt.useScreen(),p=i,E=t,C=e.ref([]),x=e.ref([]),m=e.ref(1),g=e.ref(50),k=e.ref(null),A=e.ref(!1),D=e.ref([]),O=e.ref(!1),M=e.ref(!1),V=e.computed(()=>k.value===null||x.value.length<k.value),S=async()=>{if(p.getListRequest&&!O.value)try{if(k.value!==null&&k.value>0&&(m.value-1)*g.value>k.value)return;if(!V.value&&f.value){R("next-month");return}O.value=!0;const re=await p.getListRequest({page:m.value,size:g.value,start_date:U.value}),oe=(re.data||[]).map(se=>{const{start_date:Oe,end_date:ge,start:Ge,end:Qe}=se;return[{...se,time:`${Oe}-${Qe}`,start_date_time:`${Oe} ${Ge}`,end_date_time:`${ge} ${Qe}`,type:Fe.EVENTS,dateRange:`${Oe} ${Ge}-${ge} ${Qe}`,isExpired:Se(`${Oe} ${Ge}`).isBefore(Se())}]}).flat().filter(se=>se.start_date.slice(0,7)===rt(U.value,"YYYY-MM-DD").slice(0,7));A.value?(x.value=re.data||[],C.value=oe):m.value===1&&!f.value?(x.value=re.data||[],C.value=oe):(x.value=[...x.value,...re.data||[]],C.value=[...C.value,...oe]),C.value.sort((se,Oe)=>se.start_date===Oe.start_date?Oi(se.start)>Oi(Oe.start)?1:-1:Se(se.start_date).isAfter(Se(Oe.start_date))?1:-1),k.value=(re==null?void 0:re.total)||0,e.nextTick(()=>{Z(),ue.value&&!f.value&&I()})}finally{O.value=!1,M.value=!1,A.value=!1}},L=e.ref([]),w=re=>{p.getActivityDetailRequest&&(L.value.includes(re)||(L.value.push(re),p.getActivityDetailRequest(re).then(oe=>{var se;(se=C.value)==null||se.forEach(Oe=>{Oe.id===oe.id&&(Oe.approve_record=oe.approve_record)})})))},B=re=>{re.length&&re.forEach(oe=>{w(oe)})},F=re=>{const oe=C.value.filter(se=>se.start_date===re);return oe.length&&oe.every(se=>se.status===3||se.status===4)},Q=re=>{const oe=re.target;if(!oe)return;const se=oe.scrollTop,Oe=oe.scrollHeight,ge=oe.clientHeight;se+ge>=Oe&&ne()},I=()=>{ue.value.getContainerEl().addEventListener("scroll",Q)},q=e.ref(),U=e.ref(Se().format("YYYY-MM-DD")),G=e.computed(()=>[...new Set(C.value.map(re=>re.start_date))].sort((re,oe)=>Se(re).isBefore(Se(oe))?-1:1)),z=e.computed(()=>[...new Set(C.value.filter(re=>!re.isExpired&&!re.is_delete).map(re=>re.start_date))].sort((re,oe)=>Se(re).isBefore(Se(oe))?-1:1)),Z=()=>{var se;const re=z.value.find(Oe=>!Se(Oe).isBefore(Se(new Date).format("YYYY-MM-DD")));re?U.value=re:U.value||(U.value=Se().format("YYYY-MM-DD")),(se=q.value)==null||se.pickDay(Se(U.value)),U.value=Se(U.value).format("YYYY-MM-DD");const oe=C.value.find(Oe=>Oe.start_date===U.value&&!Oe.isExpired&&!Oe.is_delete);oe&&(w(oe.id),D.value=[oe.id])},W=(re,oe)=>{var se;(!oe||!((se=re.target)!=null&&se.className.includes("date-cell-text")))&&(re.stopPropagation(),re.preventDefault())},R=re=>{q.value&&(m.value=1,k.value=null,L.value=[],window.scrollTo({top:0,behavior:"smooth"}),q.value.selectDate(re),A.value=!0,e.nextTick(()=>{U.value=Se(q.value.selectedDay).format("YYYY-MM-DD"),S()}))},Y=e.computed(()=>C.value.reduce((re,oe)=>{if(re.length){const se=re.at(-1);return(se==null?void 0:se.start_date)===oe.start_date?se==null||se.list.push(oe):re.push({start_date:oe.start_date,list:[oe]}),re}else return[{start_date:oe.start_date,list:[oe]}]},[])),j=e.ref({}),ae=(re,oe)=>{re&&oe&&(j.value[oe]=re)},he=async re=>{await j.value[re].copyInfo(),d.success({content:n("common.copySuccess")})},ue=e.ref(),be=re=>{var Oe,ge,Ge;const oe=Se(re).format("YYYY-MM-DD"),se=document.querySelector(`#group-title-${oe}`);se&&(f.value?window.scrollTo({top:(((Oe=se.parentElement)==null?void 0:Oe.offsetTop)||0)-52,behavior:"smooth"}):(Ge=ue.value)==null||Ge.scrollTo({top:((ge=se.parentElement)==null?void 0:ge.offsetTop)||0,behavior:"smooth"}))};e.watch(()=>U.value,()=>{be(U.value)});const ne=ct.useDebounceFn(()=>{V.value&&(f.value||(M.value=!0,m.value++,S()))},200),Ce=e.ref(!1),le=e.ref(null),_e=e.ref(!1),qe=re=>{le.value=re,_e.value=!0},fe=()=>{var re;p.revokeActivityRequest&&le.value&&(Ce.value=!0,p.revokeActivityRequest((re=le.value)==null?void 0:re.id).then(oe=>{var se;typeof oe=="boolean"&&!oe||(d.success({content:n("meeting.revokeActivitySuccess",[(se=le.value)==null?void 0:se.title])}),A.value=!0,S())}).finally(()=>{_e.value=!1,Ce.value=!1}))},Te=()=>{_e.value=!1},Be=re=>{E("edit",re)},Ie=re=>{if(!p.editActivityRequest)return;const{title:oe,start_date:se,end_date:Oe,register_end_date:ge,activity_type:Ge,synopsis:Qe,register_url:Dt,content_url:Gt,address:et,start:dn,end:Mt,approver:Bt}=re;let _t={title:oe,start_date:se,end_date:Oe,register_end_date:ge,activity_type:Ge,synopsis:Qe,register_url:Dt,content_url:Gt,address:et,start:dn,end:Mt,approver:Bt,is_publish:"true"};p.editActivityRequest(re.id,_t).then(Vt=>{typeof Vt=="boolean"&&!Vt||(d.success({content:n("meeting.submitReviewSuccess",[re.title])}),A.value=!0,S())})},Ae=e.ref(!1),me=re=>{le.value=re,Ae.value=!0},ke=()=>{var re;p.deleteActivityRequest&&(Ce.value=!0,p.deleteActivityRequest((re=le.value)==null?void 0:re.id).then(oe=>{var se;typeof oe=="boolean"&&!oe||(d.success({content:n("meeting.deleteActivitySuccess",[(se=le.value)==null?void 0:se.title])}),A.value=!0,S())}).finally(()=>{Ae.value=!1,Ce.value=!1}))},Ee=()=>{Ae.value=!1},Ne=ct.useDebounceFn(()=>{if(!V.value||!f.value)return;const re=window.scrollY||window.pageYOffset,oe=window.innerHeight;document.documentElement.scrollHeight-(re+oe)<=300&&!O.value&&(M.value=!0,m.value++,S())},200);e.onMounted(()=>{S(),window.addEventListener("scroll",Ne),window.addEventListener("resize",Ne)}),e.onUnmounted(()=>{var oe;window.removeEventListener("scroll",Ne),window.removeEventListener("resize",Ne);const re=(oe=ue.value)==null?void 0:oe.getContainerEl();re==null||re.removeEventListener("scroll",Q)});const Ue=e.computed(()=>[{id:"confirm",loading:Ce.value,color:"primary",variant:"outline",round:"pill",size:"large",label:n("meeting.confirmBtn"),onClick:()=>{fe()}},{id:"cancel",color:"primary",variant:"solid",round:"pill",size:"large",label:n("meeting.cancelBtn"),onClick:()=>{Te()}}]),Ke=e.computed(()=>[{id:"confirm",loading:Ce.value,color:"primary",variant:"outline",round:"pill",size:"large",label:n("meeting.confirmBtn"),onClick:()=>{ke()}},{id:"cancel",color:"primary",variant:"solid",round:"pill",size:"large",label:n("meeting.cancelBtn"),onClick:()=>{Ee()}}]);return(re,oe)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",hC,[e.createElementVNode("div",fC,[e.createElementVNode("div",mC,[e.createElementVNode("span",null,e.toDisplayString(u(U.value)),1),e.createElementVNode("span",null,[e.createVNode(e.unref(T.OIcon),{onClick:oe[0]||(oe[0]=se=>R("prev-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft))]),_:1}),e.createVNode(e.unref(T.OIcon),{onClick:oe[1]||(oe[1]=se=>R("next-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})])]),e.createElementVNode("div",pC,[e.createVNode(e.unref(gt.ElCalendar),{ref_key:"calendarRef",ref:q,modelValue:U.value,"onUpdate:modelValue":oe[4]||(oe[4]=se=>U.value=se)},{header:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(u(U.value)),1),e.createElementVNode("div",null,[e.createVNode(e.unref(T.OIcon),{onClick:oe[2]||(oe[2]=se=>R("prev-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft))]),_:1}),e.createVNode(e.unref(T.OIcon),{onClick:oe[3]||(oe[3]=se=>R("next-month"))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})])]),"date-cell":e.withCtx(({data:se})=>[e.createElementVNode("div",{onClick:Oe=>W(Oe,G.value.includes(se.day)),class:e.normalizeClass({"date-cell":!0,"is-selected":se.isSelected,"is-today":e.unref(rt)(se.day)===e.unref(rt)(),clickable:G.value.includes(se.day),expired:e.unref(Se)(e.unref(rt)()).isAfter(e.unref(Se)(se.day)),approved:F(se.day)}),style:e.normalizeStyle({"--dot-bg":`${e.unref(l)(e.unref(Fe).EVENTS,"color")}`})},[e.createElementVNode("div",vC,e.toDisplayString(Number(se.day.split("-")[2])),1)],14,gC)]),_:1},8,["modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass(["list-wrapper",C.value.length?"":"is-empty"])},[C.value.length?(e.openBlock(),e.createBlock(e.unref(T.OScroller),{key:0,ref_key:"scrollerRef",ref:ue,onScrollend:e.unref(ne),"show-type":"hover",class:"scroller-container"},{default:e.withCtx(()=>[e.createElementVNode("div",yC,[e.createVNode(e.unref(T.OCollapse),{modelValue:D.value,"onUpdate:modelValue":oe[7]||(oe[7]=se=>D.value=se),accordion:e.unref(f),onChange:B},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Y.value,(se,Oe)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:se.start_date},[Oe===0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"list-month-change prev-month",onClick:oe[5]||(oe[5]=ge=>R("prev-month"))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowLeft))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("meeting.preMonth")),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["act-item",Oe===Y.value.length-1&&"last-item"])},[e.createElementVNode("div",{class:e.normalizeClass({"act-bar":!0,"is-active":e.unref(Se)(U.value).format("YYYY-MM-DD")===se.start_date,"is-end":se.list.every(ge=>ge.isExpired),approved:se.list.every(ge=>ge.status===3||ge.status===4)})},[...oe[10]||(oe[10]=[e.createElementVNode("div",{class:"act-bar-line"},null,-1),e.createElementVNode("div",{class:"act-bar-dot"},null,-1)])],2),e.createElementVNode("div",{class:e.normalizeClass({"group-title":!0,"is-end":se.list.every(ge=>ge.isExpired)}),id:`group-title-${e.unref(Se)(new Date(se.start_date)).format("YYYY-MM-DD")}`},e.toDisplayString(e.unref(Se)(se.start_date).format("MM/DD")),11,CC),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(se.list,(ge,Ge)=>(e.openBlock(),e.createBlock(e.unref(T.OCollapseItem),{key:ge.sub_id||ge.id,value:ge.sub_id||ge.id,class:e.normalizeClass({"last-item":Oe===Y.value.length-1&&Ge===se.list.length-1,"is-delete":ge.is_delete,"is-end":ge.isExpired})},{title:e.withCtx(()=>{var Qe,Dt;return[e.createElementVNode("div",bC,[e.createElementVNode("div",TC,[e.createElementVNode("div",{class:"act-icon",style:e.normalizeStyle({backgroundColor:`${ge.is_delete?"var(--o-color-info4)":e.unref(l)(e.unref(Fe).EVENTS,"color")}`})},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)(e.unref(Fe).EVENTS,"icon"))))]),_:1})],4),e.createElementVNode("div",kC,[e.createElementVNode("div",EC,[e.createElementVNode("div",xC,[e.createElementVNode("div",_C,[e.createVNode(Hi,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(ge.title),1)]),_:2},1024)])]),e.createVNode(e.unref(T.OTag),{color:"primary",variant:"outline",class:e.normalizeClass([`tag-${ge.is_delete?"delete":(Qe=e.unref(a).get(ge.status))==null?void 0:Qe.id}`])},{default:e.withCtx(()=>{var Gt;return[e.createTextVNode(e.toDisplayString(ge.is_delete===1?e.unref(n)("meeting.statusCanceled"):(Gt=e.unref(a).get(ge.status))==null?void 0:Gt.text),1)]}),_:2},1032,["class"])]),e.createElementVNode("div",AC,[e.createElementVNode("span",null,e.toDisplayString(ge.dateRange),1),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createElementVNode("span",null,e.toDisplayString((Dt=e.unref(o).get(ge.activity_type))==null?void 0:Dt.label),1)])])]),ge.content_url&&!ge.is_delete&&[3,4,5,6].includes(ge.status)?(e.openBlock(),e.createElementBlock("div",wC,[ge.content_url?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,"hover-underline":!1,href:ge.content_url,target:"_blank",rel:"noopener noreferrer"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.activityDetail"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0),ge.register_url&&(ge.status===3||ge.status===4||ge.status===2&&ge.update_activity_id&&new Date(ge.register_end_date).getTime()>new Date().getTime())?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,"hover-underline":!1,href:ge.register_url,target:"_blank",rel:"noopener noreferrer"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.registerNow"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createVNode(e.unref(T.OIcon),{onClick:e.withModifiers(()=>he(ge.id),["stop"]),class:"copy-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(eu))]),_:1},8,["onClick"])]}),default:e.withCtx(()=>[e.createElementVNode("div",SC,[e.createVNode(cs,{show:D.value.includes(ge.id),data:ge,ref_for:!0,ref:Qe=>ae(Qe,ge.id)},null,8,["show","data"]),!ge.isExpired&&!ge.is_delete?(e.openBlock(),e.createElementBlock("div",DC,[ge.status===2?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,variant:"text",onClick:Qe=>qe(ge)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.withdrawReview")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),ge.status===1||ge.status===3||ge.status===4||ge.status===7?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:1,variant:"text",onClick:Qe=>Be(ge)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.modifyActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),ge.status===1||ge.status===7?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:2,variant:"text",onClick:Qe=>me(ge)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),ge.status===1||ge.status===7?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:3,variant:"text",onClick:Qe=>Ie(ge)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.submitReview")),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])]),_:2},1032,["value","class"]))),128)),oe[11]||(oe[11]=e.createElementVNode("div",{class:"height-placeholder"},null,-1))],2),Oe===Y.value.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[M.value?(e.openBlock(),e.createElementBlock("div",BC,e.toDisplayString(e.unref(n)("meeting.loading")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"list-month-change next-month",onClick:oe[6]||(oe[6]=ge=>R("next-month"))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowRight))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("meeting.nextMonth")),1)])],64)):e.createCommentVNode("",!0)],64))),128))]),_:1},8,["modelValue","accordion"])])]),_:1},8,["onScrollend"])):e.renderSlot(re.$slots,"empty",{key:1})],2)])]),e.createVNode(e.unref(T.ODialog),{class:"handle-dialog-active-wrapper",visible:_e.value,"onUpdate:visible":oe[8]||(oe[8]=se=>_e.value=se),"main-class":"handle-dialog-active",actions:Ue.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.withdrawReview")),1)]),default:e.withCtx(()=>{var se;return[e.createElementVNode("div",VC,e.toDisplayString(e.unref(n)("meeting.confirmRevokeActivity",[(se=le.value)==null?void 0:se.title])),1)]}),_:1},8,["visible","actions"]),e.createVNode(e.unref(T.ODialog),{class:"handle-dialog-active-wrapper",visible:Ae.value,"onUpdate:visible":oe[9]||(oe[9]=se=>Ae.value=se),"main-class":"handle-dialog-active",actions:Ke.value},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("meeting.deleteActivity")),1)]),default:e.withCtx(()=>{var se;return[e.createElementVNode("div",NC,e.toDisplayString(e.unref(n)("meeting.confirmDeleteActivity",[(se=le.value)==null?void 0:se.title])),1)]}),_:1},8,["visible","actions"])],64))}}),OC=Object.assign(wc,{install(i){i.component("OActivityForm",wc)}}),PC=Object.assign(T0,{install(i){i.component("OActivityApproval",T0)}}),sm=Object.assign(IC,{install(i){i.component("OActivityMyCalendar",sm)}}),LC=8,MC=(i,t,n)=>i-(n?LC:0)<=t,RC=e.defineComponent({__name:"OAnchorBar",props:{mobileFixed:{type:Boolean,default:!1},mode:{default:"anchor"},items:{default:()=>[]},targetOffset:{default:void 0}},setup(i,{expose:t}){var u;const n=i,r=e.ref(((u=n.items[0])==null?void 0:u.id)??""),{lePadV:s}=nt.useScreen(),a=e.ref(),o=e.ref(!1),l=()=>{const d=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--layout-header-height"))||0,f=a.value;f&&(o.value=MC(f.getBoundingClientRect().top,d,s.value))};return ct.useEventListener(window,"scroll",l,{passive:!0}),e.onMounted(()=>l()),t({isSticky:o}),(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"sentinelRef",ref:a,class:"o-anchor-bar-sentinel"},null,512),e.createElementVNode("div",{class:e.normalizeClass(["o-anchor-bar-body",{"is-sticky":o.value,"is-mobile-fixed":n.mobileFixed}])},[n.items.length?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["o-anchor-bar-tabs",`is-${n.mode}`])},[n.mode==="anchor"?(e.openBlock(),e.createBlock(e.unref(T.OAnchor),{key:0,"target-offset":n.targetOffset},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OTab),{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=p=>r.value=p),line:!1,"max-show":10},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,p=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:p.id??p.title},{nav:e.withCtx(()=>[e.createVNode(e.unref(T.OAnchorItem),{title:p.title,href:`#${p.id}`},null,8,["title","href"])]),_:2},1024))),128))]),_:1},8,["modelValue"])]),_:1},8,["target-offset"])):(e.openBlock(),e.createBlock(e.unref(T.OTab),{key:1,modelValue:r.value,"onUpdate:modelValue":f[1]||(f[1]=p=>r.value=p),line:!1,"max-show":10},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,p=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:p.id??p.title},{nav:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.title),1)]),_:2},1024))),128))]),_:1},8,["modelValue"]))],2)):e.renderSlot(d.$slots,"default",{key:0},void 0,!0)],2)],64))}}),k0=xe._export_sfc(RC,[["__scopeId","data-v-77e4459f"]]),qC=Object.assign(k0,{install(i){i.component("OAnchorBar",k0)}}),FC={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function UC(i,t){return e.openBlock(),e.createElementBlock("svg",FC,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12.708 5.281c0-0.322-0.261-0.583-0.583-0.583h-5.856c-0.92 0-1.667 0.746-1.667 1.667v11.145c0 0.921 0.746 1.667 1.667 1.667h11.354c0.921 0 1.667-0.746 1.667-1.667v-5.798c0-0.322-0.261-0.583-0.583-0.583s-0.583 0.261-0.583 0.583v5.798c0 0.276-0.224 0.5-0.5 0.5h-11.354c-0.276 0-0.5-0.224-0.5-0.5v-11.145c0-0.276 0.224-0.5 0.5-0.5h5.856c0.322 0 0.583-0.261 0.583-0.583zM17.422 4.701c0.921 0 1.667 0.746 1.667 1.667v3.292c0 0.322-0.261 0.583-0.583 0.583s-0.583-0.261-0.583-0.583v-2.928l-4.11 4.072c-0.229 0.227-0.598 0.225-0.825-0.004s-0.225-0.598 0.004-0.825l4.146-4.108h-3.006c-0.322 0-0.583-0.261-0.583-0.583s0.261-0.583 0.583-0.583h3.292z"},null,-1)])])}const cr={name:"components-icon-outlink",render:UC},zC={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function HC(i,t){return e.openBlock(),e.createElementBlock("svg",zC,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentcolor",d:"M12 10.459a1.36 1.36 0 1 1 .001 2.721A1.36 1.36 0 0 1 12 10.46m-6.039 0a1.36 1.36 0 1 1 .001 2.721 1.36 1.36 0 0 1 0-2.721m12.08 0a1.36 1.36 0 1 1 .001 2.721 1.36 1.36 0 0 1 0-2.721"},null,-1)])])}const jC={name:"components-icon-more",render:HC},XC={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function GC(i,t){return e.openBlock(),e.createElementBlock("svg",XC,[...t[0]||(t[0]=[e.createStaticVNode('<g fill="currentColor"><path d="M11.298 15.073V3.796q0-.405.333-.585a.71.71 0 0 1 .675 0q.333.18.333.585v11.367l3.582-3.61q.351-.278.693-.152a.7.7 0 0 1 .459.486q.108.36-.18.639l-4.23 4.23a1.4 1.4 0 0 1-.981.387q-.576 0-.981-.387l-4.24-4.23q-.295-.306-.18-.657a.7.7 0 0 1 .487-.477q.369-.117.666.18l3.564 3.5z"></path><path fill-rule="evenodd" d="M11.198 14.834V3.796a.8.8 0 0 1 .119-.438.7.7 0 0 1 .266-.235l.002-.001a.85.85 0 0 1 .403-.097.8.8 0 0 1 .363.097.73.73 0 0 1 .27.239.77.77 0 0 1 .118.435V14.92l3.415-3.441.004-.004q.27-.214.54-.214.126 0 .25.046a.8.8 0 0 1 .323.203q.135.14.197.348a.7.7 0 0 1 .021.355.75.75 0 0 1-.227.384l-4.23 4.23-.001.002a1.5 1.5 0 0 1-.483.31 1.5 1.5 0 0 1-.566.104 1.5 1.5 0 0 1-.62-.124 1.5 1.5 0 0 1-.43-.291L6.69 12.596a.8.8 0 0 1-.239-.454q-.018-.147.035-.305a.8.8 0 0 1 .19-.325.85.85 0 0 1 .36-.216.7.7 0 0 1 .355-.028.8.8 0 0 1 .412.233zm0 .14.1.099V3.796q0-.405.333-.585a.75.75 0 0 1 .357-.086.7.7 0 0 1 .318.086q.333.18.333.585v11.367l3.582-3.61q.351-.278.693-.152a.7.7 0 0 1 .459.486q.108.36-.18.639l-4.23 4.23a1.4 1.4 0 0 1-.452.29 1.4 1.4 0 0 1-.53.097q-.316 0-.581-.118a1.4 1.4 0 0 1-.4-.27l-4.238-4.23a.7.7 0 0 1-.21-.403.73.73 0 0 1 .197-.54.75.75 0 0 1 .319-.19.6.6 0 0 1 .3-.025q.195.033.366.205z"></path><path d="M19.659 17.508a1.93 1.93 0 0 1-.594 1.413 1.96 1.96 0 0 1-1.44.594H6.357a1.97 1.97 0 0 1-1.431-.595 1.92 1.92 0 0 1-.603-1.413v-1.854q0-.413-.333-.585a.71.71 0 0 0-.675 0q-.333.172-.333.585v1.854q0 .909.459 1.683a3.34 3.34 0 0 0 2.916 1.683h11.268q.909 0 1.692-.45.774-.45 1.242-1.232a3.24 3.24 0 0 0 .459-1.683v-1.881q0-.405-.342-.568a.76.76 0 0 0-.684 0q-.333.163-.333.568z"></path><path fill-rule="evenodd" d="M19.442 18.17a1.9 1.9 0 0 1-.448.68 1.9 1.9 0 0 1-.607.416 1.9 1.9 0 0 1-.762.149H6.357q-.362 0-.679-.12a1.95 1.95 0 0 1-.682-.446 1.9 1.9 0 0 1-.461-.696 1.8 1.8 0 0 1-.112-.645v-1.854a.77.77 0 0 0-.13-.459.83.83 0 0 0-.62-.313.85.85 0 0 0-.403.097.7.7 0 0 0-.259.218.77.77 0 0 0-.13.457v1.854a3.37 3.37 0 0 0 .473 1.734 3.44 3.44 0 0 0 3.002 1.732h11.269a3.47 3.47 0 0 0 2.368-.925 3.6 3.6 0 0 0 .652-.807 3.35 3.35 0 0 0 .473-1.734v-1.881a.74.74 0 0 0-.121-.432.7.7 0 0 0-.278-.226.9.9 0 0 0-.433-.09.9.9 0 0 0-.338.09.7.7 0 0 0-.263.216.74.74 0 0 0-.126.441v1.882q0 .353-.117.662m-.377.75a1.93 1.93 0 0 0 .594-1.413v-1.88q0-.235.112-.388a.6.6 0 0 1 .22-.18.76.76 0 0 1 .685 0q.15.072.235.19.107.151.107.377v1.882a3.27 3.27 0 0 1-.459 1.683 3.45 3.45 0 0 1-1.242 1.232q-.783.45-1.692.45H6.357q-.477 0-.919-.123a3.4 3.4 0 0 1-.773-.326A3.3 3.3 0 0 1 3.44 19.19a3.27 3.27 0 0 1-.46-1.683v-1.854a.67.67 0 0 1 .118-.405.6.6 0 0 1 .216-.18.75.75 0 0 1 .357-.086.7.7 0 0 1 .318.085q.136.07.216.18a.67.67 0 0 1 .117.405v1.854q0 .364.12.685.149.399.483.729.324.319.714.467.335.127.717.127h11.268q.433 0 .8-.156.35-.149.64-.439z"></path></g>',1)])])}const E0={name:"components-icon-download",render:GC},QC={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function YC(i,t){return e.openBlock(),e.createElementBlock("svg",QC,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M11.56 10.84c-0.013 0.027-0.093 0.133-0.12 0.16-0.040 0.013-0.16 0.053-0.187 0.067l-5.613 0.667c-0.253 0.027-0.493 0.093-0.72 0.2-0.173 0.093-0.333 0.2-0.48 0.333-0.16 0.12-0.28 0.267-0.387 0.413-0.133 0.187-0.227 0.387-0.293 0.613-0.080 0.213-0.12 0.44-0.12 0.653 0 0.2 0.027 0.387 0.067 0.573s0.12 0.373 0.2 0.547c0.12 0.213 0.28 0.413 0.48 0.587l4.107 3.773c0.027 0.027 0.093 0.147 0.12 0.173 0 0.027 0 0.173 0.013 0.2l-1.093 5.467c-0.053 0.253-0.067 0.507-0.027 0.747 0.013 0.187 0.067 0.373 0.147 0.56 0.080 0.173 0.173 0.347 0.28 0.493 0.133 0.173 0.293 0.333 0.48 0.467s0.387 0.24 0.587 0.32c0.187 0.053 0.373 0.093 0.56 0.12 0.2 0.013 0.387 0 0.587-0.027 0.24-0.040 0.467-0.133 0.707-0.253l4.48-2.493c0.667-0.36 1.2-0.667 1.587-0.907 0.453-0.293 1.040-0.707 1.76-1.24 0.067-0.053 0.133-0.080 0.2-0.107 0.427-0.307 0.867-0.627 1.333-0.987s0.96-0.733 1.453-1.133l0.96 4.8c0.013 0.080 0.013 0.16-0.013 0.227s-0.067 0.12-0.147 0.173c-0.067 0.053-0.133 0.080-0.2 0.080-0.080 0.013-0.147-0.013-0.227-0.053l-2.96-1.64c-0.573 0.413-1.053 0.747-1.453 1-0.080 0.067-0.187 0.12-0.28 0.187l3.787 2.093c0.24 0.12 0.467 0.213 0.72 0.253 0.187 0.027 0.373 0.040 0.573 0.027 0.2-0.027 0.373-0.067 0.56-0.12 0.2-0.080 0.4-0.187 0.587-0.32s0.347-0.293 0.48-0.467c0.107-0.147 0.213-0.32 0.28-0.493 0.080-0.187 0.133-0.373 0.147-0.56 0.040-0.24 0.027-0.493-0.027-0.747l-1.093-5.467c-0.013-0.107 0.067-0.293 0.107-0.373l4.133-3.773c0.2-0.173 0.36-0.373 0.48-0.6 0.093-0.173 0.16-0.347 0.2-0.533 0.053-0.187 0.067-0.387 0.067-0.573 0-0.213-0.040-0.44-0.12-0.653-0.067-0.227-0.16-0.427-0.293-0.613-0.107-0.147-0.227-0.293-0.387-0.413-0.147-0.133-0.307-0.24-0.48-0.333-0.227-0.107-0.467-0.173-0.72-0.2l-5.6-0.667c-0.040 0-0.16-0.053-0.2-0.067-0.027-0.027-0.107-0.133-0.12-0.16l-2.387-5.080c-0.107-0.24-0.24-0.44-0.413-0.627-0.133-0.133-0.28-0.253-0.453-0.36-0.16-0.093-0.333-0.173-0.52-0.227-0.213-0.067-0.427-0.093-0.653-0.093-0.24 0-0.453 0.027-0.667 0.093-0.187 0.053-0.36 0.133-0.52 0.227-0.173 0.107-0.32 0.227-0.453 0.36-0.173 0.187-0.307 0.387-0.413 0.627l-2.387 5.080zM26.347 14.28l-3.253 2.96c-1.4 1.187-2.747 2.267-4.013 3.24-1.693 1.28-3.080 2.227-4.173 2.827-0.013 0.013-0.12 0.080-0.133 0.080l-4.827 2.667c-0.080 0.040-0.147 0.067-0.227 0.053-0.067 0-0.133-0.027-0.2-0.080-0.080-0.053-0.12-0.107-0.147-0.173s-0.027-0.147-0.013-0.227l1.093-5.467c0.040-0.187 0.053-0.387 0.040-0.573s-0.053-0.387-0.107-0.573c-0.067-0.187-0.147-0.36-0.253-0.52s-0.227-0.307-0.373-0.44l-4.12-3.773c-0.067-0.053-0.107-0.12-0.12-0.187-0.013-0.080-0.013-0.147 0.013-0.227 0.027-0.093 0.067-0.147 0.12-0.2 0.053-0.040 0.133-0.067 0.213-0.080l5.6-0.667c0.187-0.013 0.373-0.067 0.56-0.133 0.173-0.067 0.347-0.16 0.507-0.28 0.147-0.107 0.293-0.24 0.413-0.387s0.227-0.307 0.307-0.48l2.373-5.093c0.040-0.080 0.093-0.133 0.147-0.173 0.067-0.040 0.133-0.053 0.227-0.053 0.080 0 0.147 0.013 0.213 0.053 0.053 0.040 0.107 0.093 0.147 0.173l2.373 5.080c0.080 0.187 0.187 0.347 0.307 0.493s0.267 0.28 0.413 0.387c0.173 0.12 0.347 0.213 0.52 0.28s0.36 0.12 0.547 0.133l5.6 0.667c0.093 0.013 0.16 0.040 0.213 0.080 0.053 0.053 0.093 0.107 0.12 0.2 0.027 0.080 0.027 0.147 0.013 0.227-0.013 0.067-0.053 0.12-0.12 0.187z"},null,-1)])])}const x0={name:"components-icon-star",render:YC},KC={class:"o-md-page-title-content"},WC={class:"o-md-page-title-text __mounted"},JC={key:0,class:"o-md-page-title-actions"},ZC={class:"o-md-page-title-actions-left"},$C={key:0,class:"o-md-page-title-update-time"},eb={class:"o-md-page-dlg-action-box-container"},tb={class:"o-md-page-dlg-action-box-icon"},nb={class:"o-md-page-dlg-action-box-label"},ib={class:"o-md-page-dlg-action-box-icon"},rb={class:"o-md-page-dlg-action-box-label"},sb={class:"o-md-page-dlg-action-box-icon"},ab={class:"o-md-page-dlg-action-box-label"},ob=e.defineComponent({__name:"MarkdownPageTitle",props:{el:{},bgImage:{},sourceUrl:{},updateTime:{},enableDownload:{default:!1},enableStar:{default:!1}},emits:["download","collect"],setup(i,{emit:t}){e.useCssVars(O=>({v49b38883:s.value}));const n=i,r=t,s=e.computed(()=>{const O=e.toValue(n.bgImage);return O?`url(${O})`:"none"}),a=e.computed(()=>e.toValue(n.sourceUrl)),o=e.computed(()=>e.toValue(n.updateTime)),l=e.computed(()=>e.toValue(n.enableDownload)),u=e.computed(()=>e.toValue(n.enableStar)),d=e.computed(()=>a.value||o.value||l.value||u.value),f=e.computed(()=>a.value&&(l.value||u.value)),p=Ti({default:{FORBID_ATTR:["style"]}}),{lePadV:E}=nt.useScreen(),{width:C}=ct.useWindowSize(),{t:x}=xe.useI18n(),m=e.ref(),g=e.ref(!1),k=e.ref(!1),A=()=>{var V;const O=document.querySelector(".o-markdown-body h1"),M=(V=m.value)==null?void 0:V.querySelector("h1");g.value=M===O};e.onMounted(async()=>{await e.nextTick(),A()}),e.watch([E,C],async()=>{await e.nextTick(),A()});const D=()=>{window.open(a.value,"_blank","noopener,noreferrer")};return(O,M)=>{var V;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"titleRef",ref:m,class:e.normalizeClass(["o-md-page-title",{"is-simple":!g.value||e.unref(E),"first-h1":g.value,"more-h1":!g.value}])},[e.createElementVNode("div",KC,[e.withDirectives(e.createElementVNode("div",WC,null,512),[[e.unref(p),(V=i.el)==null?void 0:V.outerHTML]])]),g.value&&d.value?(e.openBlock(),e.createElementBlock("div",JC,[e.unref(E)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.value?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"o-md-page-title-icon-more",onClick:M[0]||(M[0]=S=>k.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(jC))]),_:1})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",ZC,[l.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,position:"top",trigger:"hover",offset:12},{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"o-md-page-title-icon-download",onClick:M[1]||(M[1]=S=>r("download"))},{default:e.withCtx(()=>[e.createVNode(e.unref(E0))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(x)("md.downloadDoc")),1)]),_:1})):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:1,position:"top",trigger:"hover",offset:12},{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"o-md-page-title-icon-star",onClick:M[2]||(M[2]=S=>r("collect"))},{default:e.withCtx(()=>[e.createVNode(e.unref(x0))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(x)("md.starDoc")),1)]),_:1})):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:2,direction:"v",style:{"--o-divider-label-gap":"0"}})):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:3,class:"o-md-page-title-source-code",size:"large",href:a.value,target:"_blank",rel:"noopener noreferrer"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(x)("md.gitSource"))+" ",1),e.createVNode(e.unref(T.OIcon),{class:"o-md-page-title-icon-outlink"},{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),_:1},8,["href"])):e.createCommentVNode("",!0)]),o.value?(e.openBlock(),e.createElementBlock("span",$C,e.toDisplayString(e.unref(x)("md.updateTime"))+e.toDisplayString(o.value),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],2),e.unref(E)&&d.value?(e.openBlock(),e.createBlock(e.unref(T.ODialog),{key:0,visible:k.value,"onUpdate:visible":M[5]||(M[5]=S=>k.value=S),size:"medium","phone-half-full":""},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(x)("md.moreActions")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",eb,[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-md-page-dlg-action-box",onClick:M[3]||(M[3]=S=>r("download"))},[e.createElementVNode("div",tb,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(E0))]),_:1})]),e.createElementVNode("div",nb,e.toDisplayString(e.unref(x)("md.downloadDoc")),1)])):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"o-md-page-dlg-action-box",onClick:M[4]||(M[4]=S=>r("collect"))},[e.createElementVNode("div",ib,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(x0))]),_:1})]),e.createElementVNode("div",rb,e.toDisplayString(e.unref(x)("md.starDoc")),1)])):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:"o-md-page-dlg-action-box",onClick:D},[e.createElementVNode("div",sb,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),e.createElementVNode("div",ab,e.toDisplayString(e.unref(x)("md.gitSource")),1)])):e.createCommentVNode("",!0)])]),_:1},8,["visible"])):e.createCommentVNode("",!0)],64)}}}),lb=xe._export_sfc(ob,[["__scopeId","data-v-279d789e"]]);function ub(i,t,n){var a,o,l;if((a=i.className)!=null&&a.includes("o-")||(l=(o=i.parentNode)==null?void 0:o.className)!=null&&l.includes("__mounted"))return;let r=e.createVNode(lb,{el:i,sourceUrl:n==null?void 0:n.sourceUrl,updateTime:n==null?void 0:n.updateTime,bgImage:n==null?void 0:n.titleBg,enableDownload:n==null?void 0:n.enableDownload,enableStar:n==null?void 0:n.enableStar,onDownload:n==null?void 0:n.onDownload,onCollect:n==null?void 0:n.onCollect});r.appContext=t;let s=document.createElement("div");return e.render(r,s),i.replaceWith(s.querySelector(".o-md-page-title")),()=>{r=null,s=null}}const cb={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24",height:"24",fill:"none"};function db(i,t){return e.openBlock(),e.createElementBlock("svg",cb,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M8.32498 12.6C8.68446 12.6 8.97831 12.881 8.99884 13.2353L8.99998 13.275L8.99998 16.65C8.99998 19.1353 6.98527 21.15 4.49999 21.15C2.0406 21.15 0.0420243 19.177 0.000654458 16.7275L0 13.275C0 12.9022 0.302208 12.6 0.674999 12.6C1.03448 12.6 1.32832 12.881 1.34885 13.2353L1.35 13.275L1.35 16.65C1.35 18.3897 2.7603 19.8 4.49999 19.8C6.21618 19.8 7.61181 18.4275 7.64922 16.7203L7.64999 13.275C7.64999 12.9022 7.95219 12.6 8.32498 12.6ZM4.49999 6.07499C4.87278 6.07499 5.17499 6.3772 5.17499 6.74999L5.17499 14.4C5.17499 14.7728 4.87278 15.075 4.49999 15.075C4.1272 15.075 3.82499 14.7728 3.82499 14.4L3.82499 6.74999C3.82499 6.3772 4.1272 6.07499 4.49999 6.07499ZM4.49999 0C6.95938 0 8.95796 1.97296 8.99933 4.42248L8.99998 7.87499C8.99998 8.24778 8.69778 8.54999 8.32498 8.54999C7.96551 8.54999 7.67166 8.26898 7.65113 7.91465L7.64999 7.87499L7.64999 4.49999C7.64999 2.7603 6.23969 1.35 4.49999 1.35C2.78381 1.35 1.38817 2.72244 1.35077 4.42965L1.35 4.49999L1.35 7.87499C1.35 8.24778 1.04779 8.54999 0.674999 8.54999C0.315521 8.54999 0.0216765 8.26898 0.00114584 7.91465L0 7.87499L0 4.49999C0 2.01472 2.01472 0 4.49999 0Z",fill:"currentColor","fill-opacity":"0.800000012","fill-rule":"nonzero",transform:"matrix(-3.37175e-07,1,-1,-3.37175e-07,22.5747,7.5)"},null,-1),e.createElementVNode("path",{d:"M9.09998 7.87497L9.09933 4.42246L9.09932 4.42079C9.09365 4.08526 9.05311 3.75797 8.9777 3.43892C8.91482 3.17288 8.82769 2.91257 8.71632 2.658C8.60492 2.40335 8.47293 2.16253 8.32035 1.93556C8.14853 1.67996 7.9506 1.4419 7.72656 1.2214C7.50176 1.00014 7.25972 0.805465 7.00045 0.637374C6.77151 0.488953 6.52914 0.361258 6.27333 0.25429C6.02138 0.148937 5.76421 0.0670796 5.50181 0.00871881C5.17593 -0.0637604 4.84199 -0.1 4.49999 -0.1C4.15533 -0.1 3.8189 -0.0632175 3.49073 0.0103474C3.22489 0.0699391 2.96446 0.153667 2.70944 0.261531C2.45087 0.370897 2.2062 0.501412 1.97543 0.653078C1.71502 0.824222 1.47231 1.0223 1.24731 1.24731C1.02231 1.47231 0.824234 1.71501 0.653092 1.97541C0.501421 2.20618 0.3709 2.45086 0.261531 2.70944C0.15368 2.96442 0.0699595 3.22482 0.0103692 3.49063C-0.0632103 3.81884 -0.1 4.15529 -0.1 4.49999L-0.1 7.87643L-0.0987706 7.91899L-0.0986869 7.92043C-0.092831 8.0215 -0.0701743 8.11481 -0.0307166 8.20038C0.00948499 8.28756 0.067127 8.3667 0.142209 8.4378C0.216796 8.50843 0.298416 8.56143 0.38707 8.59679C0.475973 8.63226 0.571949 8.64999 0.674999 8.64999C0.782003 8.64999 0.881173 8.63107 0.972507 8.59324C1.06384 8.55541 1.14734 8.49866 1.22301 8.42299C1.29867 8.34733 1.35542 8.26383 1.39325 8.17249C1.43108 8.08116 1.45 7.98199 1.45 7.87499L1.44999 4.50109L1.45074 4.43184C1.4556 4.2102 1.4834 3.99408 1.53414 3.78349C1.57642 3.60804 1.63462 3.43642 1.70875 3.26864C1.78274 3.10116 1.87018 2.94278 1.97108 2.79348C2.08539 2.62434 2.21697 2.46686 2.36582 2.32106C2.51534 2.17459 2.67626 2.0458 2.84858 1.93469C2.99952 1.83737 3.15921 1.75361 3.32764 1.68342C3.49288 1.61456 3.66153 1.56093 3.83358 1.52254C4.05032 1.47418 4.27246 1.45 4.49999 1.45C4.72977 1.45 4.95399 1.47464 5.17266 1.52392C5.34772 1.56337 5.51922 1.61861 5.68716 1.68964C5.85796 1.76189 6.01963 1.84806 6.17215 1.94816C6.34546 2.0619 6.50696 2.19362 6.65666 2.34332C6.80634 2.49299 6.93804 2.65447 7.05176 2.82774C7.15189 2.98029 7.23808 3.14199 7.31034 3.31283C7.38138 3.48077 7.43662 3.65227 7.47607 3.82733C7.52535 4.046 7.54999 4.27022 7.54999 4.49999L7.54999 7.87644L7.55122 7.91898L7.5513 7.92043C7.55716 8.02149 7.57981 8.11481 7.61927 8.20037C7.65947 8.28756 7.71711 8.3667 7.7922 8.4378C7.86678 8.50843 7.9484 8.56143 8.03706 8.59679C8.12596 8.63226 8.22194 8.64999 8.32498 8.64999C8.43199 8.64999 8.53115 8.63107 8.62249 8.59324C8.71382 8.55541 8.79733 8.49866 8.87299 8.42299C8.94864 8.34735 9.00538 8.26387 9.04321 8.17255C9.08106 8.0812 9.09998 7.982 9.09998 7.87497ZM8.99933 4.42248C8.95796 1.97296 6.95938 0 4.49999 0C2.01472 0 0 2.01472 0 4.49999L0 7.87499L0.00114584 7.91465C0.0216765 8.26898 0.315521 8.54999 0.674999 8.54999C1.04779 8.54999 1.35 8.24778 1.35 7.87499L1.35 4.49999L1.35077 4.42965C1.38817 2.72244 2.78381 1.35 4.49999 1.35C6.23969 1.35 7.64999 2.7603 7.64999 4.49999L7.64999 7.87499L7.65113 7.91465C7.67166 8.26898 7.96551 8.54999 8.32498 8.54999C8.69778 8.54999 8.99998 8.24778 8.99998 7.87499L8.99933 4.42248ZM5.27499 14.4L5.27499 6.74999C5.27499 6.64298 5.25607 6.54381 5.21824 6.45247C5.18041 6.36114 5.12366 6.27764 5.048 6.20198C4.97233 6.12632 4.88883 6.06957 4.7975 6.03174C4.70616 5.99391 4.607 5.97499 4.49999 5.97499C4.39299 5.97499 4.29382 5.99391 4.20248 6.03174C4.11115 6.06957 4.02765 6.12632 3.95198 6.20198C3.87632 6.27765 3.81957 6.36115 3.78174 6.45248C3.74391 6.54382 3.72499 6.64299 3.72499 6.74999L3.72499 14.4C3.72499 14.507 3.74391 14.6061 3.78174 14.6975C3.81957 14.7888 3.87632 14.8723 3.95198 14.948C4.02765 15.0236 4.11115 15.0804 4.20249 15.1182C4.29382 15.1561 4.39299 15.175 4.49999 15.175C4.607 15.175 4.70616 15.1561 4.7975 15.1182C4.88883 15.0804 4.97233 15.0236 5.048 14.948C5.12366 14.8723 5.18041 14.7888 5.21824 14.6975C5.25608 14.6061 5.27499 14.507 5.27499 14.4ZM5.17499 6.74999C5.17499 6.3772 4.87278 6.07499 4.49999 6.07499C4.1272 6.07499 3.82499 6.3772 3.82499 6.74999L3.82499 14.4C3.82499 14.7728 4.1272 15.075 4.49999 15.075C4.87278 15.075 5.17499 14.7728 5.17499 14.4L5.17499 6.74999ZM9.09998 13.2735L9.0988 13.2324L9.09875 13.231L9.09867 13.2295C9.09281 13.1285 9.07016 13.0351 9.03069 12.9496C8.99049 12.8624 8.93285 12.7833 8.85777 12.7122C8.78319 12.6415 8.70157 12.5885 8.61292 12.5532C8.52402 12.5177 8.42804 12.5 8.32498 12.5C8.21798 12.5 8.11881 12.5189 8.02748 12.5567C7.93614 12.5946 7.85264 12.6513 7.77698 12.727C7.70129 12.8027 7.64454 12.8862 7.6067 12.9775C7.56889 13.0688 7.54999 13.168 7.54999 13.275L7.54924 16.7181C7.54439 16.9397 7.5166 17.1558 7.46588 17.3663C7.4236 17.5418 7.36538 17.7135 7.29124 17.8813C7.21729 18.0487 7.12989 18.207 7.02906 18.3562C6.91472 18.5255 6.78308 18.683 6.63417 18.8289C6.48462 18.9754 6.32366 19.1042 6.1513 19.2153C6.00039 19.3126 5.84074 19.3964 5.67235 19.4665C5.50697 19.5355 5.3382 19.5891 5.16602 19.6275C4.9494 19.6758 4.72739 19.7 4.49999 19.7C4.27012 19.7 4.04581 19.6753 3.82706 19.626C3.65209 19.5865 3.48068 19.5313 3.31283 19.4603C3.14192 19.388 2.98016 19.3018 2.82755 19.2016C2.65435 19.0879 2.49294 18.9563 2.34332 18.8066C2.1936 18.6569 2.06186 18.4954 1.94812 18.3221C1.84803 18.1696 1.76187 18.0079 1.68964 17.8371C1.61861 17.6692 1.56337 17.4977 1.52392 17.3227C1.47464 17.104 1.45 16.8798 1.45 16.65L1.45 13.2735L1.44877 13.231L1.44868 13.2295C1.44283 13.1285 1.42017 13.0352 1.38071 12.9496C1.34051 12.8624 1.28287 12.7833 1.20779 12.7122C1.1332 12.6415 1.05158 12.5885 0.962928 12.5532C0.874025 12.5177 0.778048 12.5 0.674999 12.5C0.567991 12.5 0.468818 12.5189 0.377482 12.5567C0.28615 12.5946 0.202654 12.6513 0.126992 12.727C0.0513432 12.8026 -0.00539727 12.8861 -0.0432293 12.9774C-0.0810764 13.0688 -0.1 13.168 -0.1 13.275L-0.0993325 16.7292C-0.0936636 17.0648 -0.0531002 17.3922 0.022358 17.7114C0.0852322 17.9773 0.172333 18.2375 0.28366 18.492C0.39509 18.7467 0.527115 18.9875 0.679734 19.2146C0.851533 19.4701 1.04943 19.7081 1.27342 19.9286C1.4983 20.1499 1.74042 20.3446 1.99978 20.5128C2.22865 20.6611 2.47094 20.7887 2.72666 20.8957C2.9787 21.0011 3.23597 21.0829 3.49846 21.1413C3.82425 21.2138 4.1581 21.25 4.49999 21.25C4.84478 21.25 5.18132 21.2132 5.5096 21.1395C5.77532 21.08 6.03564 20.9963 6.29055 20.8884C6.54928 20.779 6.79409 20.6484 7.02498 20.4966C7.28523 20.3255 7.5278 20.1275 7.75268 19.9027C7.97781 19.6775 8.17598 19.4347 8.34719 19.1741C8.49874 18.9435 8.62916 18.6989 8.73845 18.4405C8.84633 18.1855 8.93006 17.925 8.98966 17.6591C9.06321 17.331 9.09998 16.9946 9.09998 16.65L9.09998 13.2735ZM8.99884 13.2353C8.97831 12.881 8.68446 12.6 8.32498 12.6C7.95219 12.6 7.64999 12.9022 7.64999 13.275L7.64922 16.7203C7.61181 18.4275 6.21618 19.8 4.49999 19.8C2.7603 19.8 1.35 18.3897 1.35 16.65L1.35 13.275L1.34885 13.2353C1.32832 12.881 1.03448 12.6 0.674999 12.6C0.302208 12.6 0 12.9022 0 13.275L0.000654458 16.7275C0.0420243 19.177 2.0406 21.15 4.49999 21.15C6.98527 21.15 8.99998 19.1353 8.99998 16.65L8.99998 13.275L8.99884 13.2353Z",fill:"currentColor","fill-opacity":"0.800000012","fill-rule":"evenodd",transform:"matrix(-3.37175e-07,1,-1,-3.37175e-07,22.5747,7.5)"},null,-1)])])}const hb={name:"components-icon-link",render:db},fb={class:"o-md-title-wrap"},mb={class:"o-md-title __mounted"},pb={class:"o-md-title-copy-link-wrap"},gb=e.defineComponent({__name:"MarkdownTitle",props:{el:{}},setup(i){const t=i,n=Ti({default:{FORBID_ATTR:["style"]}}),r=T.useMessage(),{t:s}=xe.useI18n(),a=async()=>{var l,u;const o=`${window.location.origin}${window.location.pathname}#${(u=(l=t.el)==null?void 0:l.id)==null?void 0:u.replace("user-content-","")}`;await nt.useClipboard(o)&&r.success({content:s("common.copySuccess")})};return(o,l)=>{var u;return e.openBlock(),e.createElementBlock("div",fb,[e.withDirectives(e.createElementVNode("div",mb,null,512),[[e.unref(n),(u=i.el)==null?void 0:u.outerHTML]]),e.createElementVNode("span",pb,[e.createVNode(e.unref(T.OPopover),{position:"right",trigger:"hover"},{target:e.withCtx(()=>[e.createElementVNode("a",{class:"o-md-title-copy-link",onClick:a},[e.createVNode(e.unref(T.OIcon),{class:"o-md-title-icon-copy"},{default:e.withCtx(()=>[e.createVNode(e.unref(hb))]),_:1})])]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(s)("common.copyLink")),1)]),_:1})])])}}}),vb=xe._export_sfc(gb,[["__scopeId","data-v-1c4d30a3"]]);function yb(i,t){var s,a,o;if((s=i.className)!=null&&s.includes("o-")||(o=(a=i.parentNode)==null?void 0:a.className)!=null&&o.includes("__mounted"))return;let n=e.createVNode(vb,{el:i});n.appContext=t;let r=document.createElement("div");return e.render(n,r),i.replaceWith(r.querySelector(".o-md-title-wrap")),()=>{n=null,r=null}}const Cb={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};function bb(i,t){return e.openBlock(),e.createElementBlock("svg",Cb,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"none",stroke:"currentcolor","stroke-linecap":"round",d:"M2 6V3a1 1 0 0 1 1-1h3m8 4V3a1 1 0 0 0-1-1h-3 0m-8 8v3a1 1 0 0 0 1 1h3m8-4v3a1 1 0 0 1-1 1h-3 0"},null,-1)])])}const Tb={name:"components-icon-expand",render:bb},kb={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};function Eb(i,t){return e.openBlock(),e.createElementBlock("svg",kb,[...t[0]||(t[0]=[e.createElementVNode("path",{"data-v-6fa5292b":"",fill:"none",stroke:"currentColor","stroke-linecap":"round",d:"M6 2v3a1 1 0 0 1-1 1H2h0m8-4v3a1 1 0 0 0 1 1h3m-8 8v-3a1 1 0 0 0-1-1H2h0m8 4v-3a1 1 0 0 1 1-1h3"},null,-1)])])}const xb={name:"components-icon-unexpand",render:Eb},_b={key:0,class:"o-table-data--wrap"},Ab={class:"o-markdown-body"},wb=e.defineComponent({__name:"MarkdownTableData",props:{content:{},original:{type:Boolean},maxHeight:{default:"calc(100vh - 210px)"}},setup(i){const t=Ti({default:{FORBID_ATTR:["style"]}}),n=i,r=d=>e.withDirectives(e.h("div",{class:"o-markdown-body md-cell"}),[[t,d]]),s=e.computed(()=>{if(n.original)return!1;const d=(n.content||"").trim();if(!d||typeof DOMParser>"u")return!1;const p=new DOMParser().parseFromString(d,"text/html").querySelector("table");if(!p||p.querySelector("[colspan],[rowspan]"))return!1;const E=p.querySelector("thead"),C=E==null?void 0:E.querySelector("tr");if((C?Array.from(C.children):[]).length===0)return!1;const m=p.querySelector("tbody")??p;return Array.from(m.querySelectorAll("tr")).filter(k=>!k.closest("thead")).length>0}),a=e.computed(()=>{if(!s.value)return[];const f=new DOMParser().parseFromString(n.content,"text/html").querySelector("thead tr");return(f?Array.from(f.children):[]).map((E,C)=>({key:`col_${C}`,label:(E.textContent||"").trim(),minWidth:120,formatter:({cellValue:x})=>r(String(x??""))}))}),o=e.computed(()=>{if(!s.value)return[];const d=new DOMParser().parseFromString(n.content,"text/html"),f=d.querySelector("tbody")??d.querySelector("table");return Array.from(f.querySelectorAll("tr")).filter(E=>!E.closest("thead")).map((E,C)=>{const x=Array.from(E.querySelectorAll("td,th")),m={id:C};return x.forEach((g,k)=>{m[`col_${k}`]=g.innerHTML}),m})}),l=e.ref(),u=()=>{const d=l.value;d&&d.querySelectorAll("table").forEach(f=>{const p=Array.from(f.rows);if(p.length===0)return;const E=[],C=new WeakMap;let x=0;p.forEach((g,k)=>{E[k]||(E[k]=[]);let A=0;Array.from(g.cells).forEach(D=>{for(;E[k][A];)A++;const O=D.rowSpan||1,M=D.colSpan||1;for(let V=k;V<k+O;V++){E[V]||(E[V]=[]);for(let S=A;S<A+M;S++)E[V][S]=!0}C.set(D,{col:A,span:M,row:k,rspan:O}),A+M>x&&(x=A+M),A+=M})});const m=p.length;p.forEach(g=>{Array.from(g.cells).forEach(k=>{const A=C.get(k);A&&(k.classList.remove("md-cell-edge-right","md-cell-edge-bottom"),A.col+A.span===x&&k.classList.add("md-cell-edge-right"),A.row+A.rspan===m&&k.classList.add("md-cell-edge-bottom"))})})})};return e.onMounted(u),e.watch(()=>n.content,u,{flush:"post"}),(d,f)=>s.value&&a.value.length&&o.value.length?(e.openBlock(),e.createElementBlock("div",_b,[e.createVNode(e.unref(T.ODataTable),{data:o.value,columns:a.value,stripe:"","row-key":"id",border:"all","header-style":"split-line",size:"small","column-resizable":"","max-height":i.maxHeight},null,8,["data","columns","max-height"])])):(e.openBlock(),e.createBlock(e.unref(T.OScroller),{key:1,class:"o-table-data-original",size:"small","show-type":"always",style:e.normalizeStyle({"--o-md-table-max-height":i.maxHeight})},{default:e.withCtx(()=>[e.createElementVNode("div",Ab,[e.withDirectives(e.createElementVNode("div",{ref_key:"rawTableRef",ref:l,class:"__mounted"},null,512),[[e.unref(t),n.content]])])]),_:1},8,["style"]))}}),am=xe._export_sfc(wb,[["__scopeId","data-v-0fa8fa3e"]]),Sb={class:"o-table-expand-scaler"},Db={class:"o-table-expand-content"},Bb=e.defineComponent({__name:"MarkdownTableExpand",props:e.mergeModels({content:{}},{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(i){const{t}=xe.useI18n(),n=e.useModel(i,"visible"),r=()=>{n.value=!1};return(s,a)=>(e.openBlock(),e.createBlock(e.unref(T.OLayer),{visible:n.value,"onUpdate:visible":a[0]||(a[0]=o=>n.value=o)},{default:e.withCtx(()=>[e.createElementVNode("div",Sb,[e.createElementVNode("div",{class:"o-table-expand-close-btn",onClick:r},[e.createVNode(e.unref(T.OIcon),{class:"o-table-expand-close-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(xb))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(t)("common.collapse")),1)]),e.createElementVNode("div",Db,[e.createVNode(am,{content:i.content,"max-height":"min(calc(100vh - 210px), 80vh)"},null,8,["content"])])])]),_:1},8,["visible"]))}}),Vb=xe._export_sfc(Bb,[["__scopeId","data-v-e625a513"]]),Nb=e.defineComponent({__name:"MarkdownTable",props:{el:{}},setup(i){const{t}=xe.useI18n(),{lePadV:n}=nt.useScreen(),r=e.ref(!1),s=e.ref(!1),a=()=>{s.value=!0};return(o,l)=>{var u,d;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"o-md-table-container",onMouseenter:l[0]||(l[0]=f=>r.value=!0),onMouseleave:l[1]||(l[1]=f=>r.value=!1)},[!e.unref(n)&&r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-md-table-expand-btn",onClick:a},[e.createVNode(e.unref(T.OIcon),{class:"o-md-table-expand-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Tb))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(e.unref(t)("common.expand")),1)])):e.createCommentVNode("",!0),(u=i.el)!=null&&u.outerHTML?(e.openBlock(),e.createBlock(am,{key:1,content:i.el.outerHTML},null,8,["content"])):e.createCommentVNode("",!0)],32),(d=i.el)!=null&&d.outerHTML?(e.openBlock(),e.createBlock(Vb,{key:0,visible:s.value,"onUpdate:visible":l[2]||(l[2]=f=>s.value=f),content:i.el.outerHTML},null,8,["visible","content"])):e.createCommentVNode("",!0)],64)}}}),Ib=xe._export_sfc(Nb,[["__scopeId","data-v-ce85236e"]]);function Ob(i,t){var s,a,o;if((s=i.className)!=null&&s.includes("o-")||(o=(a=i.parentNode)==null?void 0:a.className)!=null&&o.includes("__mounted"))return;let n=e.createVNode(Ib,{el:i});n.appContext=t;let r=document.createElement("div");return e.render(n,r),i.replaceWith(r.querySelector(".o-md-table-container")),()=>{n=null,r=null}}const Pb="data:image/svg+xml,%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23202329'%20d='M32%2016c0%208.837-7.163%2016-16%2016s-16-7.163-16-16c0-8.837%207.163-16%2016-16s16%207.163%2016%2016z'%3e%3c/path%3e%3cpath%20fill='%23fff'%20d='M9.017%2015.102c0-3.28%202.698-5.938%206.025-5.938s6.026%202.659%206.026%205.938-2.698%205.938-6.026%205.938c-3.328%200-6.025-2.659-6.025-5.938zM19.875%2015.102c0-2.661-2.157-4.818-4.818-4.818s-4.818%202.157-4.818%204.818c0%202.661%202.157%204.818%204.818%204.818s4.818-2.157%204.818-4.818zM15.057%2017.624c0.296%200%200.537-0.237%200.537-0.529v-1.457h1.441c0.301%200%200.545-0.24%200.545-0.537s-0.244-0.537-0.545-0.537h-1.441v-1.457c0-0.292-0.24-0.529-0.537-0.529s-0.537%200.237-0.537%200.529v1.457h-1.441c-0.301%200-0.545%200.24-0.545%200.537s0.244%200.537%200.545%200.537h1.441v1.457c0%200.292%200.24%200.529%200.537%200.529zM19.716%2019.678c0.197-0.197%200.504-0.217%200.723-0.060l0.069%200.059%202.208%202.202c0.219%200.219%200.219%200.573%200.001%200.792-0.197%200.197-0.503%200.217-0.722%200.060l-0.070-0.059-2.208-2.202c-0.219-0.219-0.219-0.573-0.001-0.792z'%3e%3c/path%3e%3cpath%20fill='%23000'%20d='M8.763%2013.75c0.084-0.381%200.204-0.753%200.36-1.118%200.143-0.333%200.312-0.65%200.506-0.949%200.248-0.382%200.539-0.738%200.872-1.066%200.294-0.29%200.61-0.548%200.948-0.773%200.342-0.228%200.707-0.423%201.094-0.584%200.346-0.144%200.699-0.257%201.060-0.339%200.468-0.106%200.948-0.159%201.44-0.159s0.972%200.053%201.44%200.159c0.36%200.081%200.713%200.194%201.059%200.339%200.387%200.161%200.752%200.356%201.094%200.584%200.338%200.225%200.654%200.483%200.948%200.773%200.333%200.328%200.623%200.683%200.872%201.066%200.195%200.3%200.363%200.616%200.506%200.949%200.156%200.365%200.277%200.737%200.361%201.118%200.097%200.44%200.145%200.89%200.145%201.352s-0.048%200.912-0.145%201.352c-0.084%200.381-0.204%200.753-0.36%201.118-0.143%200.333-0.312%200.65-0.506%200.949-0.135%200.208-0.282%200.407-0.442%200.599%200.008-0.001%200.016-0.002%200.024-0.002%200.119-0.009%200.232%200.001%200.339%200.032%200.104%200.030%200.202%200.078%200.295%200.144l0.014%200.010%200.094%200.080%202.219%202.213c0.049%200.049%200.092%200.102%200.128%200.158%200.032%200.050%200.060%200.103%200.083%200.159s0.040%200.113%200.052%200.171c0.013%200.062%200.019%200.125%200.019%200.19s-0.006%200.129-0.019%200.191c-0.012%200.058-0.029%200.114-0.051%200.17s-0.050%200.109-0.082%200.159c-0.037%200.057-0.079%200.11-0.128%200.159-0.084%200.084-0.176%200.149-0.278%200.196s-0.209%200.074-0.327%200.083c-0.118%200.009-0.231-0.001-0.338-0.032-0.104-0.030-0.202-0.078-0.296-0.145l-0.014-0.010-0.094-0.080-2.22-2.214c-0.049-0.049-0.092-0.102-0.128-0.158-0.032-0.050-0.060-0.103-0.083-0.159s-0.040-0.113-0.052-0.171c-0.013-0.062-0.019-0.125-0.019-0.19-0-0.035%200.002-0.070%200.005-0.105-0.168%200.139-0.342%200.268-0.522%200.388-0.342%200.228-0.707%200.423-1.094%200.584-0.346%200.144-0.699%200.257-1.059%200.339-0.468%200.106-0.948%200.159-1.44%200.159s-0.972-0.053-1.44-0.159c-0.36-0.082-0.714-0.194-1.060-0.339-0.387-0.161-0.752-0.356-1.094-0.584-0.338-0.225-0.654-0.483-0.948-0.773-0.333-0.328-0.623-0.683-0.872-1.066-0.195-0.3-0.363-0.616-0.506-0.949-0.156-0.365-0.277-0.737-0.36-1.118-0.097-0.44-0.145-0.89-0.145-1.352s0.048-0.912%200.145-1.352zM15.043%209.163c-3.328%200-6.025%202.659-6.025%205.938s2.698%205.938%206.025%205.938c3.328%200%206.026-2.659%206.026-5.938s-2.698-5.938-6.026-5.938zM15.056%2010.284c-2.661%200-4.818%202.157-4.818%204.818s2.157%204.818%204.818%204.818%204.818-2.157%204.818-4.818c0-2.661-2.157-4.818-4.818-4.818zM19.366%2014.122c0.072%200.318%200.108%200.645%200.108%200.98s-0.036%200.661-0.108%200.98c-0.057%200.252-0.137%200.498-0.239%200.74-0.104%200.246-0.229%200.48-0.373%200.7-0.165%200.252-0.357%200.487-0.574%200.704s-0.452%200.409-0.704%200.574c-0.22%200.144-0.454%200.269-0.7%200.373-0.241%200.102-0.488%200.182-0.74%200.239-0.318%200.072-0.645%200.108-0.98%200.108s-0.662-0.036-0.98-0.108c-0.252-0.057-0.498-0.137-0.739-0.239-0.246-0.104-0.48-0.229-0.7-0.373-0.252-0.165-0.487-0.356-0.704-0.574s-0.409-0.452-0.574-0.704c-0.144-0.22-0.269-0.454-0.373-0.7-0.102-0.241-0.182-0.488-0.239-0.74-0.072-0.319-0.108-0.645-0.108-0.98s0.036-0.662%200.108-0.98c0.057-0.252%200.137-0.498%200.239-0.74%200.104-0.247%200.229-0.48%200.373-0.7%200.165-0.252%200.356-0.487%200.574-0.704s0.452-0.409%200.704-0.574c0.22-0.144%200.454-0.269%200.7-0.373%200.241-0.102%200.488-0.182%200.74-0.239%200.318-0.072%200.645-0.108%200.98-0.108s0.661%200.036%200.98%200.108c0.252%200.057%200.498%200.137%200.74%200.239%200.247%200.104%200.48%200.229%200.7%200.373%200.252%200.165%200.487%200.356%200.704%200.574s0.409%200.452%200.574%200.705c0.144%200.22%200.269%200.454%200.373%200.7%200.102%200.242%200.182%200.488%200.239%200.74zM15.973%2017.289c-0.012%200.058-0.031%200.114-0.054%200.17-0.022%200.052-0.048%200.1-0.079%200.146-0.035%200.053-0.076%200.103-0.123%200.149-0.043%200.042-0.089%200.080-0.138%200.113s-0.103%200.061-0.159%200.085c-0.053%200.022-0.107%200.039-0.163%200.051-0.065%200.014-0.132%200.021-0.2%200.021s-0.135-0.007-0.2-0.021c-0.055-0.012-0.11-0.029-0.163-0.051-0.056-0.023-0.109-0.052-0.159-0.085s-0.095-0.070-0.138-0.113c-0.047-0.046-0.088-0.096-0.123-0.149-0.030-0.046-0.057-0.095-0.079-0.146-0.024-0.055-0.042-0.112-0.054-0.17-0.014-0.063-0.020-0.128-0.020-0.194v-1.057h-1.041c-0.069%200-0.136-0.007-0.202-0.021-0.056-0.012-0.11-0.029-0.163-0.051-0.057-0.024-0.111-0.052-0.161-0.086s-0.096-0.071-0.139-0.113c-0.047-0.046-0.088-0.096-0.124-0.15-0.031-0.046-0.057-0.096-0.080-0.148-0.024-0.055-0.042-0.112-0.054-0.17-0.014-0.064-0.021-0.13-0.021-0.197s0.007-0.133%200.021-0.197c0.012-0.058%200.031-0.115%200.054-0.17%200.022-0.052%200.049-0.101%200.080-0.148%200.036-0.054%200.077-0.104%200.124-0.15%200.043-0.042%200.090-0.080%200.139-0.113s0.104-0.062%200.161-0.086c0.053-0.022%200.108-0.039%200.163-0.051%200.066-0.014%200.133-0.021%200.202-0.021h1.041v-1.057c0-0.066%200.007-0.131%200.020-0.194%200.012-0.058%200.030-0.114%200.054-0.17%200.022-0.051%200.048-0.1%200.079-0.146%200.035-0.053%200.076-0.103%200.123-0.149%200.043-0.042%200.089-0.080%200.138-0.113s0.103-0.061%200.159-0.085c0.053-0.022%200.108-0.039%200.163-0.051%200.065-0.014%200.132-0.021%200.2-0.021s0.135%200.007%200.2%200.021c0.055%200.012%200.11%200.029%200.163%200.051%200.056%200.024%200.109%200.052%200.159%200.085s0.095%200.070%200.138%200.113c0.047%200.046%200.088%200.096%200.123%200.149%200.030%200.046%200.057%200.095%200.079%200.146%200.024%200.055%200.042%200.112%200.054%200.17%200.014%200.063%200.020%200.128%200.020%200.194v1.057h1.041c0.069%200%200.136%200.007%200.202%200.021%200.056%200.012%200.11%200.029%200.164%200.051%200.057%200.024%200.111%200.052%200.161%200.086s0.096%200.071%200.139%200.113c0.047%200.046%200.088%200.096%200.124%200.15%200.031%200.046%200.057%200.096%200.080%200.148%200.024%200.055%200.042%200.112%200.054%200.17%200.014%200.064%200.021%200.13%200.021%200.197s-0.007%200.133-0.021%200.197c-0.012%200.058-0.031%200.115-0.054%200.17-0.022%200.052-0.049%200.101-0.080%200.148-0.036%200.054-0.077%200.104-0.124%200.15-0.043%200.042-0.089%200.080-0.139%200.113s-0.104%200.062-0.161%200.086c-0.053%200.022-0.108%200.039-0.164%200.051-0.066%200.014-0.133%200.021-0.202%200.021h-1.041v1.057c0%200.066-0.007%200.131-0.020%200.194zM14.52%2016.038v1.057c0%200.292%200.24%200.529%200.537%200.529s0.537-0.237%200.537-0.529v-1.457h1.441c0.301%200%200.545-0.24%200.545-0.537s-0.244-0.537-0.545-0.537h-1.441v-1.457c0-0.292-0.24-0.529-0.537-0.529s-0.537%200.237-0.537%200.529v1.457h-1.441c-0.301%200-0.545%200.24-0.545%200.537s0.244%200.537%200.545%200.537h1.441v0.4zM20.439%2019.618c-0.219-0.157-0.526-0.137-0.723%200.060-0.218%200.219-0.218%200.573%200.001%200.792l2.208%202.202%200.070%200.059c0.219%200.157%200.526%200.137%200.722-0.060%200.218-0.219%200.218-0.574-0.001-0.792l-2.208-2.202-0.069-0.059z'%3e%3c/path%3e%3c/svg%3e",Lb=["src"],Mb=["src","alt"],Rb=e.defineComponent({__name:"MarkdownImage",props:{el:{}},setup(i){const t=i,{lePadV:n}=nt.useScreen(),r=e.ref(),s=e.ref(),a=e.ref(!1),o=e.ref(t.el.src),l=e.ref(!1),u=e.ref(!1),d=e.ref(!1);e.onMounted(async()=>{var x,m,g,k;await e.nextTick(),u.value=((m=(x=r.value)==null?void 0:x.parentElement)==null?void 0:m.tagName)==="P",d.value=((k=(g=r.value)==null?void 0:g.previousElementSibling)==null?void 0:k.tagName)==="BR"});const f=()=>{var x;a.value=(((x=s.value)==null?void 0:x.width)||0)>=216},{open:p,unmount:E}=T.useImageViewer({previewList:()=>[o.value],currentIndex:0,layerOptions:{maskClose:!0}}),C=()=>{a.value&&o.value&&p()};return e.onBeforeUnmount(()=>{E()}),(x,m)=>{var g;return e.openBlock(),e.createElementBlock("span",{ref_key:"containerRef",ref:r,class:e.normalizeClass(["o-md-img",{unexpand:!a.value,"in-paragraph":u.value,"previous-is-br":d.value}]),onClick:C,onMouseenter:m[0]||(m[0]=k=>l.value=!0),onMouseleave:m[1]||(m[1]=k=>l.value=!1)},[!e.unref(n)&&a.value&&l.value?(e.openBlock(),e.createElementBlock("img",{key:0,class:"o-md-img-icon-zoom",src:e.unref(Pb)},null,8,Lb)):e.createCommentVNode("",!0),e.createElementVNode("img",{ref_key:"imgRef",ref:s,class:"o-md-img-content",src:o.value,alt:(g=i.el)==null?void 0:g.alt,onLoad:f},null,40,Mb)],34)}}}),qb=xe._export_sfc(Rb,[["__scopeId","data-v-af8b0296"]]);function Fb(i,t){var s,a,o;if((s=i.className)!=null&&s.includes("o-")||(o=(a=i.parentNode)==null?void 0:a.className)!=null&&o.includes("__mounted"))return;let n=e.createVNode(qb,{el:i});n.appContext=t;let r=document.createElement("div");return e.render(n,r),i.replaceWith(r.querySelector(".o-md-img")),()=>{n=null,r=null}}const _0=e.ref(null),ji=()=>{const i=e.inject(xe.configProviderInjectKey),t=e.computed({get:()=>_0.value||(i==null?void 0:i.theme.value)||"light",set:r=>{_0.value=r}}),n=()=>{t.value=t.value==="dark"?"light":"dark"};return{theme:i==null?void 0:i.theme,isLight:e.computed(()=>(i==null?void 0:i.theme.value)==="light"),isDark:e.computed(()=>(i==null?void 0:i.theme.value)==="dark"),codeTheme:t,toggleCodeTheme:n}},Ub={viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16"};function zb(i,t){return e.openBlock(),e.createElementBlock("svg",Ub,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M6.72168 1.10059C6.61279 1.10059 6.50586 1.1123 6.40186 1.13477C6.32178 1.15234 6.24316 1.17676 6.16553 1.20801C6.08643 1.23926 6.01074 1.27734 5.93896 1.32129C5.85596 1.37305 5.77783 1.43262 5.70459 1.50098C5.63281 1.56738 5.56885 1.63965 5.5127 1.71777C5.4624 1.78711 5.41846 1.86133 5.38037 1.93848C5.34033 2.02051 5.30859 2.10352 5.28467 2.18945C5.25879 2.28223 5.2417 2.37793 5.23438 2.47559L5.23486 2.78418L6.15918 2.78418L6.15918 2.45898L6.1626 2.44629C6.17871 2.38574 6.20264 2.3291 6.23584 2.27832C6.26953 2.22559 6.31299 2.17871 6.36572 2.1377C6.41748 2.09668 6.47266 2.06641 6.53125 2.0459C6.59082 2.02539 6.6543 2.01465 6.72168 2.01465L12.6621 2.01465C12.7422 2.01465 12.8164 2.0293 12.8843 2.05762C12.9521 2.08496 13.0146 2.12793 13.0708 2.18359C13.127 2.24023 13.1689 2.30273 13.1973 2.37012L13.1973 2.37012C13.2256 2.43848 13.2397 2.5127 13.2397 2.59277L13.2397 10.6562C13.2397 10.7363 13.2256 10.8105 13.1973 10.8779C13.1694 10.9463 13.127 11.0088 13.0708 11.0645C13.0146 11.1211 12.9521 11.1631 12.8843 11.1914C12.8164 11.2197 12.7422 11.2334 12.6621 11.2334L11.5044 11.2334C11.4414 11.2334 11.3828 11.2451 11.3291 11.2676C11.2749 11.29 11.2256 11.3232 11.1812 11.3682C11.1367 11.4121 11.103 11.4619 11.0811 11.5156C11.0586 11.5693 11.0474 11.6279 11.0474 11.6914C11.0474 11.7539 11.0586 11.8125 11.0806 11.8662C11.103 11.9199 11.1362 11.9697 11.1812 12.0137C11.2256 12.0586 11.2749 12.0918 11.3291 12.1143C11.3828 12.1367 11.4414 12.1484 11.5044 12.1484L12.6621 12.1484C12.7754 12.1484 12.8853 12.1357 12.9932 12.1113C13.0781 12.0918 13.1611 12.0654 13.2432 12.0312C13.3262 11.9951 13.4053 11.9531 13.4795 11.9043C13.5645 11.8486 13.6436 11.7842 13.7173 11.7109C13.7905 11.6377 13.855 11.5586 13.9106 11.4736C13.9595 11.3994 14.0015 11.3203 14.0366 11.2373C14.0713 11.1553 14.0981 11.0713 14.1177 10.9863C14.1421 10.8789 14.1538 10.7695 14.1538 10.6562L14.1538 2.59277C14.1538 2.47949 14.1421 2.36914 14.1177 2.26172C14.0981 2.17676 14.0713 2.09375 14.0366 2.01172C14.0015 1.92871 13.9595 1.84961 13.9106 1.77441C13.855 1.68945 13.7905 1.61133 13.7173 1.53711C13.6436 1.46387 13.5645 1.39941 13.4795 1.34375C13.4053 1.29492 13.3262 1.25293 13.2432 1.21777C13.1611 1.18359 13.0781 1.15625 12.9927 1.13672C12.8853 1.1123 12.7754 1.10059 12.6621 1.10059L6.72168 1.10059ZM10.1182 13.4443L10.1182 7.19043L10.1211 7.17871C10.1235 7.16992 10.1255 7.16113 10.1274 7.15234L10.1274 7.15137C10.1333 7.12305 10.1362 7.09277 10.1362 7.06348C10.1362 7.03125 10.1328 7 10.1265 6.96973C10.1216 6.94629 10.1147 6.92285 10.106 6.90039L10.104 6.89551L10.103 6.88965C10.0923 6.84961 10.0767 6.81152 10.0562 6.77637C10.0386 6.74609 10.0171 6.71777 9.99219 6.69141L7.05176 3.59473C7.00684 3.54785 6.95752 3.5127 6.90283 3.48926C6.84717 3.46484 6.78613 3.45312 6.72021 3.45312L2.67383 3.45312C2.56104 3.45312 2.45117 3.46484 2.34424 3.48926C2.25879 3.50879 2.17529 3.53516 2.09326 3.57031C2.00977 3.60547 1.93115 3.64746 1.85693 3.69629L1.85693 3.69629C1.77148 3.75195 1.69238 3.81641 1.61914 3.88965C1.5459 3.96289 1.48096 4.04199 1.42529 4.12793L1.42529 4.12793C1.37646 4.20215 1.33447 4.28125 1.29932 4.36426C1.26465 4.44629 1.23779 4.5293 1.21826 4.61523L1.21826 4.61523C1.19434 4.72168 1.18213 4.83203 1.18213 4.94434L1.18213 13.4443C1.18213 13.5576 1.19434 13.668 1.21875 13.7754C1.23779 13.8604 1.26465 13.9443 1.29932 14.0254C1.33447 14.1084 1.37646 14.1875 1.42578 14.2627C1.48145 14.3467 1.5459 14.4258 1.61914 14.5C1.69238 14.5732 1.77148 14.6377 1.85596 14.6924L1.85596 14.6934C1.93066 14.7422 2.00977 14.7842 2.09326 14.8193C2.1748 14.8535 2.2583 14.8809 2.34326 14.8994C2.45068 14.9238 2.56104 14.9365 2.67383 14.9365L8.62646 14.9365C8.73926 14.9365 8.84961 14.9238 8.95752 14.8994C9.04199 14.8809 9.12549 14.8535 9.20703 14.8193C9.29053 14.7842 9.36963 14.7422 9.44434 14.6924C9.52881 14.6367 9.60791 14.5732 9.68115 14.5C9.75439 14.4268 9.81885 14.3477 9.87451 14.2627C9.92334 14.1875 9.96533 14.1084 10.001 14.0254C10.0352 13.9443 10.062 13.8613 10.0815 13.7764C10.106 13.668 10.1182 13.5576 10.1182 13.4443ZM6.16895 4.46484L6.20215 6.05957C6.2041 6.16992 6.21826 6.27832 6.24414 6.38379C6.26465 6.46777 6.29248 6.5498 6.32764 6.62988C6.36377 6.71191 6.40674 6.78906 6.45605 6.8623C6.51172 6.94531 6.57666 7.02246 6.64941 7.09375C6.72266 7.16504 6.80078 7.22852 6.88525 7.28223C6.95898 7.33008 7.0376 7.37109 7.12012 7.40625C7.20117 7.43945 7.28418 7.46582 7.36816 7.48438C7.47412 7.50781 7.58252 7.51953 7.69336 7.51953L9.20312 7.51953L9.20361 13.4443C9.20361 13.5244 9.18945 13.5986 9.16162 13.667C9.1333 13.7344 9.09082 13.7969 9.03467 13.8535C8.97852 13.9092 8.9165 13.9512 8.84814 13.9795C8.78027 14.0078 8.70605 14.0225 8.62646 14.0225L2.67383 14.0225C2.59424 14.0225 2.52051 14.0078 2.45215 13.9795C2.38428 13.9521 2.32178 13.9092 2.26562 13.8535C2.20898 13.7969 2.16699 13.7344 2.13867 13.666C2.11035 13.5986 2.09619 13.5244 2.09619 13.4443L2.09619 4.94434C2.09619 4.86523 2.11035 4.79102 2.13867 4.72266C2.16699 4.65527 2.20898 4.59277 2.26562 4.53613C2.32178 4.47949 2.38428 4.4375 2.45215 4.40918C2.52051 4.38086 2.59424 4.36719 2.67383 4.36719L6.16699 4.36719L6.16895 4.46484ZM7.09375 4.9668L8.6499 6.60547L7.69336 6.60547C7.61523 6.60547 7.54199 6.5918 7.4751 6.56445C7.40771 6.53711 7.3457 6.49609 7.28906 6.44043C7.23291 6.38574 7.19043 6.3252 7.16162 6.25781C7.13281 6.19141 7.11768 6.11914 7.11572 6.04004L7.09912 5.22559L7.09375 4.9668ZM3.75488 9.41211C3.69727 9.41211 3.64404 9.42285 3.59521 9.44336C3.5459 9.46484 3.50098 9.49609 3.46045 9.53906C3.42432 9.57617 3.396 9.61816 3.37646 9.66309C3.35156 9.71777 3.33936 9.77832 3.33936 9.84473C3.33936 9.9043 3.3501 9.95898 3.37207 10.0098C3.39209 10.0566 3.42188 10.0996 3.46094 10.1387C3.49951 10.1777 3.54297 10.208 3.58984 10.2275C3.64014 10.249 3.69531 10.2598 3.75488 10.2598L7.12842 10.2598C7.18555 10.2598 7.23877 10.25 7.28857 10.2305C7.34131 10.209 7.38965 10.1768 7.43359 10.1328C7.47705 10.0889 7.50977 10.041 7.53076 9.98828C7.55029 9.93945 7.56055 9.88672 7.56055 9.8291L7.56055 9.8291L7.56055 9.82812C7.56055 9.77637 7.55176 9.72852 7.53467 9.68359C7.51367 9.62891 7.47949 9.5791 7.43311 9.53516C7.39062 9.49414 7.34424 9.46387 7.29395 9.44336C7.24268 9.42285 7.1875 9.41211 7.12842 9.41211L3.75488 9.41211ZM3.73877 12.0977L5.38672 12.0977C5.44385 12.0977 5.49756 12.0879 5.54688 12.0684C5.59961 12.0469 5.64795 12.0146 5.69189 11.9707C5.73584 11.9268 5.76807 11.8789 5.78955 11.8262C5.80908 11.7764 5.81885 11.7236 5.81885 11.667L5.81885 11.667L5.81885 11.666C5.81885 11.6143 5.81055 11.5664 5.79297 11.5215C5.77197 11.4668 5.73828 11.417 5.69141 11.3721C5.64941 11.332 5.60303 11.3018 5.55225 11.2812C5.50146 11.2607 5.44629 11.25 5.38672 11.25L3.73877 11.25C3.68164 11.25 3.62793 11.2598 3.57861 11.2793C3.52588 11.3008 3.47754 11.333 3.43359 11.377C3.38965 11.4209 3.35742 11.4697 3.33594 11.5225C3.31641 11.5713 3.30664 11.624 3.30664 11.6807L3.30664 11.6807L3.30664 11.6826C3.30664 11.7344 3.31494 11.7822 3.33252 11.8271C3.35352 11.8818 3.38721 11.9307 3.43408 11.9756C3.47607 12.0156 3.52295 12.0469 3.57324 12.0664C3.62402 12.0879 3.6792 12.0977 3.73877 12.0977L3.73877 12.0977Z"},null,-1)])])}const Hb={name:"components-icon-copy",render:zb},jb={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Xb(i,t){return e.openBlock(),e.createElementBlock("svg",jb,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const om={name:"components-icon-moon",render:Xb},Gb={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Qb(i,t){return e.openBlock(),e.createElementBlock("svg",Gb,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const lm={name:"components-icon-sun",render:Qb},Yb={key:0,class:"o-md-code-tools"},Kb=e.defineComponent({__name:"MarkdownCode",props:{el:{},disableChangeCodeTheme:{type:Boolean}},setup(i){const t=Ti(),n=T.useMessage(),r=T.useToast(),{t:s}=xe.useI18n(),{lePadV:a}=nt.useScreen(),{theme:o,codeTheme:l,toggleCodeTheme:u}=ji(),d=e.computed(()=>l.value==="dark"),f=e.ref(!1),p=e.ref(),E=async()=>{var g;const x=(g=p.value)==null?void 0:g.querySelector("code"),m=(x==null?void 0:x.textContent)||"";await nt.useClipboard(m)&&(a.value?r.show(s("common.copySuccess")):n.success(s("common.copySuccess")))},C=()=>{u()};return(x,m)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"mdCodeRef",ref:p,class:e.normalizeClass(["o-md-code",{"is-dark":d.value&&e.unref(l)!=e.unref(o),"is-light":!d.value&&e.unref(l)!=e.unref(o)}]),onMouseenter:m[0]||(m[0]=g=>f.value=!0),onMouseleave:m[1]||(m[1]=g=>f.value=!1)},[e.unref(a)||f.value?(e.openBlock(),e.createElementBlock("div",Yb,[i.disableChangeCodeTheme?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,position:"top",trigger:"hover",offset:12},{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"o-md-code-icon-theme",onClick:C},{default:e.withCtx(()=>[d.value?(e.openBlock(),e.createBlock(e.unref(lm),{key:0})):(e.openBlock(),e.createBlock(e.unref(om),{key:1}))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(l)==="light"?e.unref(s)("md.darkTheme"):e.unref(s)("md.lightTheme")),1)]),_:1})),e.createVNode(e.unref(T.OPopover),{position:"top",trigger:"hover",offset:12},{target:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"o-md-code-icon-copy",onClick:E},{default:e.withCtx(()=>[e.createVNode(e.unref(Hb))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("common.copy")),1)]),_:1})])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OScroller),{size:"small","show-type":"always","disabled-y":""},{default:e.withCtx(()=>{var g;return[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["o-markdown-body __mounted",{"is-dark":d.value&&e.unref(l)!=e.unref(o),"is-light":!d.value&&e.unref(l)!=e.unref(o)}])},null,2),[[e.unref(t),(g=i.el)==null?void 0:g.outerHTML]])]}),_:1})],34))}}),Wb=xe._export_sfc(Kb,[["__scopeId","data-v-8895ed58"]]);function Jb(i,t,n){var a;if((a=i.className)!=null&&a.includes("o-")||i.closest(".__mounted")||i.closest('[class*="vitepress-demo-plugin"]'))return;let r=e.createVNode(Wb,{el:i,disableChangeCodeTheme:n==null?void 0:n.disableChangeCodeTheme});r.appContext=t;let s=document.createElement("div");return e.render(r,s),i.replaceWith(s.querySelector(".o-md-code")),()=>{r=null,s=null}}const Zb=e.defineComponent({__name:"OMarkdown",props:{disableH1:{type:Boolean,default:!1},disableH2:{type:Boolean,default:!1},disableTable:{type:Boolean,default:!1},disableImg:{type:Boolean,default:!1},disableCode:{type:Boolean,default:!1},disableChangeCodeTheme:{type:Boolean,default:!1},sourceUrl:{},updateTime:{},titleBg:{},enableDownload:{type:Boolean,default:!1},enableStar:{type:Boolean,default:!1},markdownBodyClass:{default:"o-markdown-body"}},emits:["download","collect"],setup(i,{emit:t}){const n=i,r=e.computed(()=>n.sourceUrl),s=e.computed(()=>n.updateTime),a=e.computed(()=>n.titleBg),o=e.computed(()=>n.enableDownload),l=e.computed(()=>n.enableStar),u=t,d=new WeakMap,f=e.getCurrentInstance(),p=e.ref(),E=e.ref(!1);let C,x;const m=()=>(!x&&f&&(x={...f.appContext,provides:f==null?void 0:f.provides}),x||{}),g=e.computed(()=>{const O={};if(n.disableH1||(O.h1=(M,V)=>ub(M,V,{sourceUrl:r,updateTime:s,titleBg:a,enableDownload:o,enableStar:l,onDownload:()=>u("download"),onCollect:()=>u("collect")})),n.disableH2||(O.h2=yb),n.disableTable||(O.table=Ob),n.disableImg||(O.img=Fb),!n.disableCode){const M=(V,S)=>Jb(V,S,{disableChangeCodeTheme:n.disableChangeCodeTheme});O['div[class*="language-"]']=M,O.pre=M}return O}),k=(O,M)=>{const V=g.value[M];V&&O.querySelectorAll(`${M}:not([class*="o-"]):not([class*="el-"])`).forEach(S=>{d.set(S,V(S,m()))})},A=(O,M)=>{O.querySelectorAll(M).forEach(V=>{const S=d.get(V);S&&(S(),d.delete(V))})},D=O=>{const M=g.value,V=Object.keys(M);for(const{addedNodes:S,removedNodes:L}of O)S.forEach(w=>{if(w instanceof HTMLElement){for(const B of V)if(w.matches(B)){d.set(w,M[B](w,m()));return}V.forEach(B=>{k(w,B)})}}),L.forEach(w=>{if(w instanceof HTMLElement){for(const B of V)if(w.matches(B)){const F=d.get(w);F&&(F(),d.delete(w));return}V.forEach(B=>{A(w,B)})}})};return e.onMounted(async()=>{await e.nextTick(),Object.keys(g.value).forEach(O=>{k(p.value,O)}),E.value=!0,C=new MutationObserver(D),C.observe(p.value,{childList:!0,subtree:!0})}),e.onBeforeUnmount(()=>{C==null||C.disconnect()}),(O,M)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["o-markdown",{unmounted:!E.value}])},[e.createElementVNode("div",{ref_key:"markdownBodyRef",ref:p,class:e.normalizeClass(i.markdownBodyClass)},[e.renderSlot(O.$slots,"default",{},void 0,!0)],2)],2))}}),Ul=xe._export_sfc(Zb,[["__scopeId","data-v-31e0d0d3"]]),$b={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function eT(i,t){return e.openBlock(),e.createElementBlock("svg",$b,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M8.4 5c.3-.3.7-.3 1 0s.3.7 0 1l-4.9 5.3H21c.4 0 .6.3.7.6v.1c0 .4-.3.7-.7.7H4.5l5 5.3q.3.45 0 .9l-.1.1c-.3.3-.7.2-1 0l-6-6.5c-.2-.3-.2-.7 0-.9z"},null,-1)])])}const A0={name:"components-icon-next",render:eT},tT={class:"o-article-pagination__main"},nT=["href","title"],iT={class:"o-article-pagination__card"},rT={class:"o-article-pagination__text"},sT={class:"o-article-pagination__label"},aT={class:"o-article-pagination__title"},oT=["href","title"],lT={class:"o-article-pagination__card"},uT={class:"o-article-pagination__text"},cT={class:"o-article-pagination__label"},dT={class:"o-article-pagination__title"},hT=e.defineComponent({__name:"OArticlePagination",props:{prev:{default:null},next:{default:null},prevLabel:{default:""},nextLabel:{default:""},divider:{type:Boolean,default:!0},radius:{default:"var(--o-radius-xs)"},preventDefault:{type:Boolean,default:!1}},emits:["navigate"],setup(i,{emit:t}){const n=i,{t:r}=xe.useI18n(),s=t,a=e.computed(()=>!!n.prev&&!!n.prev.url),o=e.computed(()=>!!n.next&&!!n.next.url),l=e.computed(()=>a.value||o.value),u=e.computed(()=>n.prevLabel||r("md.prevPage")),d=e.computed(()=>n.nextLabel||r("md.nextPage")),f=(p,E)=>C=>{n.preventDefault&&C.preventDefault(),s("navigate",p,E)};return(p,E)=>l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["o-article-pagination",{"o-article-pagination--has-prev":a.value,"o-article-pagination--has-next":o.value}]),style:e.normalizeStyle({"--o-article-pagination-radius":i.radius})},[i.divider?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"h",class:"o-article-pagination__divider"})):e.createCommentVNode("",!0),e.createElementVNode("div",tT,[a.value?(e.openBlock(),e.createElementBlock("a",{key:0,class:"o-article-pagination__side o-article-pagination__side--prev",href:i.prev.url,title:i.prev.title,onClick:E[0]||(E[0]=C=>f("prev",i.prev))},[e.createElementVNode("span",iT,[e.createVNode(e.unref(T.OIcon),{class:"o-article-pagination__arrow o-article-pagination__arrow--prev"},{default:e.withCtx(()=>[e.createVNode(e.unref(A0))]),_:1}),e.createElementVNode("span",rT,[e.createElementVNode("span",sT,e.toDisplayString(u.value),1),e.createElementVNode("span",aT,e.toDisplayString(i.prev.title),1)])])],8,nT)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("a",{key:1,class:"o-article-pagination__side o-article-pagination__side--next",href:i.next.url,title:i.next.title,onClick:E[1]||(E[1]=C=>f("next",i.next))},[e.createElementVNode("span",lT,[e.createElementVNode("span",uT,[e.createElementVNode("span",cT,e.toDisplayString(d.value),1),e.createElementVNode("span",dT,e.toDisplayString(i.next.title),1)]),e.createVNode(e.unref(T.OIcon),{class:"o-article-pagination__arrow o-article-pagination__arrow--next"},{default:e.withCtx(()=>[e.createVNode(e.unref(A0))]),_:1})])],8,oT)):e.createCommentVNode("",!0)])],6)):e.createCommentVNode("",!0)}}),zl=xe._export_sfc(hT,[["__scopeId","data-v-e78e8bd3"]]),fT={class:"o-article__header"},mT={class:"o-article__title"},pT={key:0,class:"o-article__meta"},gT={key:0,class:"o-article__tags"},vT={key:1,class:"o-article__update-time"},yT=e.defineComponent({__name:"OArticle",props:{title:{},headerBg:{},tags:{default:()=>[]},community:{},prev:{default:null},next:{default:null},disableH2:{type:Boolean,default:!1},disableTable:{type:Boolean,default:!1},disableImg:{type:Boolean,default:!1},disableCode:{type:Boolean,default:!1},updateTime:{},markdownBodyClass:{default:"o-markdown-body"},removeFirstTopMargin:{type:Boolean,default:!0},autoHideFirstH1:{type:Boolean,default:!0},prevLabel:{},nextLabel:{},divider:{type:Boolean,default:!0},radius:{default:"var(--o-radius-xs)"}},emits:["navigate"],setup(i,{emit:t}){e.useCssVars(u=>({cb7fb230:l.value}));const n=i,r=t,{t:s}=xe.useI18n(),a=e.computed(()=>({disableH1:!0,disableH2:n.disableH2,disableTable:n.disableTable,disableImg:n.disableImg,disableCode:n.disableCode,markdownBodyClass:n.markdownBodyClass})),o=(u,d)=>{r("navigate",u,d)},l=e.computed(()=>n.headerBg?`url(${n.headerBg})`:"none");return(u,d)=>(e.openBlock(),e.createElementBlock("div",{class:"o-article",style:e.normalizeStyle({"--o-article-radius":i.radius})},[e.createElementVNode("header",fT,[e.createElementVNode("h1",mT,e.toDisplayString(i.title),1),i.tags.length||i.updateTime||i.community?(e.openBlock(),e.createElementBlock("div",pT,[i.tags.length||i.community?(e.openBlock(),e.createElementBlock("div",gT,[i.community?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,class:"o-article__tag",size:"large",variant:"outline",round:i.community==="MindSpore"?"pill":i.radius},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.community),1)]),_:1},8,["round"])):e.createCommentVNode("",!0),i.community&&i.tags.length?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:1,direction:"v",class:"o-article__tags-divider"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.tags,f=>(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:f,class:"o-article__tag",size:"large",variant:"outline",round:i.community==="MindSpore"?"pill":i.radius},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f),1)]),_:2},1032,["round"]))),128))])):e.createCommentVNode("",!0),i.updateTime?(e.openBlock(),e.createElementBlock("span",vT,e.toDisplayString(e.unref(s)("md.updateTime"))+e.toDisplayString(i.updateTime),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["o-article__content",{"o-article__content--no-first-margin":i.removeFirstTopMargin,"o-article__content--hide-first-h1":i.autoHideFirstH1}])},[e.createVNode(Ul,e.normalizeProps(e.guardReactiveProps(a.value)),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default",{},void 0,!0)]),_:3},16),e.createVNode(zl,{prev:i.prev,next:i.next,"prev-label":i.prevLabel,"next-label":i.nextLabel,divider:i.divider,radius:i.radius,onNavigate:o},null,8,["prev","next","prev-label","next-label","divider","radius"])],2)],4))}}),w0=xe._export_sfc(yT,[["__scopeId","data-v-dcbac7e4"]]),CT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAHQCAYAAACoSb1IAAAAAXNSR0IArs4c6QAAIABJREFUeF7sXQd4VMXafmfO2c2mElLooSO9NykW1Kuiol4VsJdfQRGsYLtYYkEQpFdRmqgEUFRAERt2UUFFBAKhlwBJILQkmy1n/uc72dUQUrac3ewm8z1PLt7knCnvzJl35puvMISfKADMAOhfk+u/ewLgAFIANALgLKNb9MwRALsB5AHYAEAAsAFwALAD0MIPEtliiYBEQCLgPQLM+1eC/gYt2jUAJABIBkCLfTcATVz/RvjZolMAfgGwE8BmAD8DOAHgJIBcP8uWr0sEJAISgZBFIJQJoL5rN98VQF8Al7lIIBhgHgTwA4AvAfwO4ACAnGBULOuQCEgEJALBQiAUCaCda2d/I4D/APB3h+8vlkQG37jI4FcA2/wtUL4vEZAISARCAYFQIoCrANwF4HwADUMBnFLasMd1IlgA4JMQbaNslkRAIiAR8AiBUCCAXgAeA9AbAKl9wkEyXXcFTwHYFQ4Nlm2UCEgEJAIlEahMAogG8AqAWwDUDtOhobuBWQBmADgTpn2Q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+8OTXJEXOP0+m6uq6uNqRlmAAqieiOvBzvk1Gquq1WJ0PAJoBONuH2cCOPgNwFDBs1ZriuB1erxLxBIwhASBrwCyGWFuRl3Rx5LewebAQaR8AmgMYxsq+wEWg2Ams2bXL0c8VdqilsmeBC49ysJwDgmYLczOubLdC+wUYgAgjYBBABUG2RNgISgeLiXV0Egs8qKjur3hYgdNOk3xXme+2EcPYSiQoEbAKIimmwleiICMiI4G++2dmTC74UjE/UVM0M6sF/5edljumI47XH1P4QsAmg/c2ZrXH7QoB2767uUlm35zImaALn/B8Fednz2tcQbG07KgL/D5aAIvoYlW57AAAAAElFTkSuQmCC",TT=["src"],kT=e.defineComponent({__name:"OEmpty",props:{description:{default:""},img:{default:void 0}},setup(i){const t=i,{isDark:n}=ji(),{t:r}=xe.useI18n(),s=e.computed(()=>t.img||(n.value?bT:CT));return(a,o)=>(e.openBlock(),e.createBlock(e.unref(T.OResult),{class:"o-empty",description:t.description||e.unref(r)("common.empty")},{image:e.withCtx(()=>[e.renderSlot(a.$slots,"image",{},()=>[e.createElementVNode("img",{class:"empty-image",alt:"empty",src:s.value},null,8,TT)],!0)]),_:3},8,["description"]))}}),Na=xe._export_sfc(kT,[["__scopeId","data-v-b1d492a5"]]),ET={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function xT(i,t){return e.openBlock(),e.createElementBlock("svg",ET,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M16 2.667c-7.364 0-13.333 5.97-13.333 13.333s5.97 13.333 13.333 13.333c7.364 0 13.333-5.97 13.333-13.333 0-3.536-1.405-6.928-3.905-9.428s-5.892-3.905-9.428-3.905zM16 26.667c-5.891 0-10.667-4.776-10.667-10.667s4.776-10.667 10.667-10.667c5.891 0 10.667 4.776 10.667 10.667 0 2.829-1.124 5.542-3.124 7.542s-4.713 3.124-7.542 3.124zM17.173 15.52v-6.853c0-0.368-0.298-0.667-0.667-0.667h-1.013c-0.368 0-0.667 0.298-0.667 0.667v7.547c0.007 0.175 0.078 0.341 0.2 0.467l5.333 5.333c0.264 0.256 0.683 0.256 0.947 0l0.707-0.707c0.256-0.264 0.256-0.683 0-0.947l-4.84-4.84z"},null,-1)])])}const um={name:"components-icon-time",render:xT},_T={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function AT(i,t){return e.openBlock(),e.createElementBlock("svg",_T,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.412 10.332c0 2.188 1.066 4.127 2.708 5.326-4.858 1.582-8.364 6.052-8.364 11.328 0 0.515 0.418 0.933 0.933 0.933s0.933-0.418 0.933-0.933c0-5.465 4.487-9.922 10.092-10.070 0.095 0.004 0.191 0.006 0.288 0.006 3.639 0 6.59-2.95 6.59-6.59s-2.951-6.59-6.59-6.59-6.59 2.95-6.59 6.59zM16.088 15.049c-0.028-0.003-0.057-0.004-0.087-0.004-0.061 0-0.122 0-0.183 0.001-2.524-0.096-4.541-2.172-4.541-4.72 0-2.608 2.115-4.723 4.723-4.723s4.723 2.115 4.723 4.723c0 2.579-2.067 4.676-4.635 4.722zM21.784 16.465c3.945 2.064 6.463 6.077 6.463 10.528 0 0.515-0.418 0.933-0.933 0.933s-0.933-0.418-0.933-0.933c0-3.744-2.123-7.127-5.462-8.874-0.457-0.239-0.633-0.803-0.394-1.26s0.803-0.633 1.26-0.394z"},null,-1)])])}const Hl={name:"components-icon-avatar-line",render:AT},wT={class:"o-article-list"},ST={key:0,class:"article-filter"},DT={class:"article-content"},BT={key:1,class:"item-desc"},VT={class:"item-info"},NT={key:0},IT={key:1},OT={key:2},PT={key:1,class:"article-pagination"},S0=e.defineComponent({__name:"OArticleList",props:{data:{default:()=>[]},pageSize:{default:9},pageSizes:{default:()=>[9,18,45]},defaultCovers:{default:()=>[]},emptyImg:{},mobileLayout:{default:"h"}},emits:["page-change"],setup(i,{emit:t}){const n=i,r=t,s=e.useSlots(),{lePadV:a}=nt.useScreen(),o=e.ref(1),l=e.ref(n.pageSize),u=e.computed(()=>n.data.length),d=e.computed(()=>n.data.slice((o.value-1)*l.value,o.value*l.value)),f=e.computed(()=>u.value>l.value);e.watch(()=>n.pageSize,x=>{l.value=x}),e.watch(()=>n.data,()=>{o.value=1}),e.watch([u,l],()=>{const x=Math.max(1,Math.ceil(u.value/l.value));o.value>x&&(o.value=x)});const p=({page:x,pageSize:m})=>{o.value=x,l.value=m,r("page-change",{page:x,pageSize:m})},E=x=>Array.isArray(x)?x.join(" "):x,C=(x,m)=>{if(x.cover)return x.cover;const g=n.defaultCovers;return g.length?g[m%g.length]:void 0};return(x,m)=>(e.openBlock(),e.createElementBlock("div",wT,[e.unref(s).filter?(e.openBlock(),e.createElementBlock("div",ST,[e.renderSlot(x.$slots,"filter")])):e.createCommentVNode("",!0),e.createElementVNode("div",DT,[u.value?(e.openBlock(),e.createBlock(e.unref(T.ORow),{key:0,gap:"var(--grid-column-gutter)",wrap:"wrap"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(g,k)=>(e.openBlock(),e.createBlock(e.unref(T.OCol),{key:g.title,flex:"0 1 33.33%","pad-v":{flex:"0 1 50%"},phone:{flex:"0 1 100%"}},{default:e.withCtx(()=>[e.renderSlot(x.$slots,"card",{item:g,index:k,cover:C(g,k)},()=>[e.createVNode(e.unref(T.OCard),{title:g.title,"title-row":2,"title-max-row":2,cover:C(g,k),href:g.href,layout:e.unref(a)?i.mobileLayout:"v"},e.createSlots({detail:e.withCtx(()=>[g.tag?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,variant:"outline",class:e.normalizeClass(["item-type",!g.tag.label&&"empty-tag"])},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(g.tag.label),1)]),_:2},[g.tag.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g.tag.icon)))]),_:2},1024)]),key:"0"}:void 0]),1032,["class"])):e.createCommentVNode("",!0),g.description?(e.openBlock(),e.createElementBlock("div",BT,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0)]),_:2},[g.date||g.author||g.location?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",VT,[g.date?(e.openBlock(),e.createElementBlock("span",NT,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(um))]),_:1}),e.createTextVNode(" "+e.toDisplayString(g.date),1)])):e.createCommentVNode("",!0),g.author?(e.openBlock(),e.createElementBlock("span",IT,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Hl))]),_:1}),e.createTextVNode(" "+e.toDisplayString(E(g.author)),1)])):e.createCommentVNode("",!0),g.location?(e.openBlock(),e.createElementBlock("span",OT,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Hl))]),_:1}),e.createTextVNode(" "+e.toDisplayString(g.location),1)])):e.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["title","cover","href","layout"])])]),_:2},1024))),128))]),_:3})):e.renderSlot(x.$slots,"empty",{key:1},()=>[e.createVNode(Na,{class:"article-empty",img:i.emptyImg},null,8,["img"])])]),f.value?(e.openBlock(),e.createElementBlock("div",PT,[e.createVNode(e.unref(T.OPagination),{page:o.value,simple:e.unref(a),"show-total":!0,"page-size":l.value,total:u.value,"page-sizes":i.pageSizes,onChange:p},null,8,["page","simple","page-size","total","page-sizes"])])):e.createCommentVNode("",!0)]))}}),LT=Object.assign(w0,{install(i){i.component("OArticle",w0)}}),MT=Object.assign(S0,{install(i){i.component("OArticleList",S0)}}),RT=Object.assign(zl,{install(i){i.component("OArticlePagination",zl)}}),qT=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(i){const t=Symbol("default"),n=i,r=e.computed(()=>n.verticalPadding?T.isBoolean(n.verticalPadding)?t:T.isString(n.verticalPadding)?n.verticalPadding:n.verticalPadding[0]:0),s=e.computed(()=>n.verticalPadding?T.isBoolean(n.verticalPadding)?t:T.isString(n.verticalPadding)?n.verticalPadding:T.isUndefined(n.verticalPadding[1])?n.verticalPadding[0]:n.verticalPadding[1]:0);return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":r.value===e.unref(t)?void 0:r.value,"--content-wrapper-vertical-paddingBottom":s.value===e.unref(t)?void 0:s.value})},[e.renderSlot(a.$slots,"default",{},void 0,!0)],4))}}),Ia=xe._export_sfc(qT,[["__scopeId","data-v-9e217f8f"]]),FT={class:"banner-content"},UT=["src"],zT={key:4,class:"banner-opts"},HT=e.defineComponent({__name:"OBannerContent",props:{info:{},size:{},contentJustifyCenter:{type:Boolean},isPhone:{type:Boolean},isLight:{type:Boolean}},emits:["click"],setup(i,{emit:t}){const n=t,r=(s,a)=>{s&&!a&&(window.open(s),n("click",s))};return(s,a)=>(e.openBlock(),e.createBlock(e.unref(T.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":i.info.withStickyBg,"cursor-pointer":i.info.href&&!i.info.btn}]),src:i.info.bg,style:e.normalizeStyle({"--pad-offset":i.info.pad_offset}),onClick:a[0]||(a[0]=o=>r(i.info.href,i.info.btn))},{default:e.withCtx(()=>[e.createVNode(Ia,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",i.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",FT,[!i.isPhone&&i.info.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.info.attach,class:"banner-attach"},null,8,UT)):e.createCommentVNode("",!0),i.info.title?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"banner-title":!0,"text-dark":i.info.text_theme==="dark"})},e.toDisplayString(i.info.title),3)):e.createCommentVNode("",!0),i.info.subtitle?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"banner-subtitle":!0,"text-dark":i.info.text_theme==="dark"})},e.toDisplayString(i.info.subtitle),3)):e.createCommentVNode("",!0),i.info.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${i.info.bg_text})`,"--pc-width":i.info.pc_text_width,"--pc-height":i.info.pc_text_height,"--pad-width":i.info.pad_text_width,"--pad-height":i.info.pad_text_height})},null,4)):e.createCommentVNode("",!0),i.info.btn?(e.openBlock(),e.createElementBlock("div",zT,[e.createVNode(e.unref(T.OButton),{href:i.info.href,target:"_blank",variant:"solid",color:"primary",size:i.size==="tiny"?void 0:i.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.info.btn),1)]),_:1},8,["href","size"])])):e.createCommentVNode("",!0)])]),_:1},8,["class"])]),_:1},8,["src","class","style"]))}}),Oa=xe._export_sfc(HT,[["__scopeId","data-v-1904d05a"]]),jT={key:0,class:"content-height"},XT={key:0},GT={key:1,class:"content-height"},QT={key:2,class:"content-height"},YT=e.defineComponent({__name:"OBanner",props:{options:{},size:{},contentJustifyCenter:{type:Boolean},autoPlay:{type:Boolean}},emits:["click"],setup(i,{emit:t}){const n=i,r=t,{isLight:s}=ji(),{isPhone:a}=nt.useScreen(),o=e.computed(()=>{if(n.options)return Array.isArray(n.options)?n.options.length===1?n.options[0]:void 0:n.options}),l=e.computed(()=>{if(!(!Array.isArray(n.options)||n.options.length<=1))return n.options});return(u,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",i.size])},[o.value?(e.openBlock(),e.createElementBlock("div",jT,[i.size==="tiny"?(e.openBlock(),e.createElementBlock("div",XT,e.toDisplayString(o.value.title),1)):e.unref(a)?(e.openBlock(),e.createBlock(Ia,{key:2,class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFigure),{class:"banner-bg",src:o.value.bg,fit:"cover"},null,8,["src"])]),_:1})):(e.openBlock(),e.createBlock(Oa,{key:1,info:o.value,size:i.size,"content-justify-center":i.contentJustifyCenter,"is-phone":e.unref(a),"is-light":e.unref(s),onClick:d[0]||(d[0]=f=>r("click",f))},null,8,["info","size","content-justify-center","is-phone","is-light"]))])):l.value?(e.openBlock(),e.createElementBlock("div",GT,[e.unref(a)?(e.openBlock(),e.createBlock(e.unref(T.OCarousel),{key:1,class:"banner-carousel",effect:"gallery","indicator-click":"",arrow:"never","auto-play":i.autoPlay},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(f,p)=>(e.openBlock(),e.createBlock(e.unref(T.OCarouselItem),{key:p,class:e.normalizeClass(["banner-item",`banner-item${p}`])},{default:e.withCtx(()=>[e.createVNode(Ia,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFigure),{class:"banner-bg",src:f.bg,onClick:E=>r("click",f.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1},8,["auto-play"])):(e.openBlock(),e.createBlock(e.unref(T.OCarousel),{key:0,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":i.autoPlay},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(f,p)=>(e.openBlock(),e.createBlock(e.unref(T.OCarouselItem),{key:p,class:e.normalizeClass(["banner-item",`banner-item${p}`])},{default:e.withCtx(()=>[e.createVNode(Oa,{info:f,size:i.size,"content-justify-center":i.contentJustifyCenter,"is-phone":e.unref(a),"is-light":e.unref(s),onClick:d[1]||(d[1]=E=>r("click",E))},null,8,["info","size","content-justify-center","is-phone","is-light"])]),_:2},1032,["class"]))),128))]),_:1},8,["auto-play"]))])):(e.openBlock(),e.createElementBlock("div",QT,[...d[2]||(d[2]=[e.createElementVNode("p",null,"No data.",-1)])]))],2))}}),D0=xe._export_sfc(YT,[["__scopeId","data-v-8cfcc7ff"]]),KT=Object.assign(D0,{install(i){i.component("OBanner",D0)}}),WT=Object.assign(Oa,{install(i){i.component("OBannerContent",Oa)}});function cm(){const{t:i}=xe.useI18n(),t=T.useMessage();return{downloadByUrl:async(r,s)=>{try{const o=await(await fetch(r)).blob(),l=URL.createObjectURL(o),u=document.createElement("a");u.href=l,u.download=s,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(l)}catch{t.danger({content:i("brand.downloadFail")})}}}}const JT={class:"o-brand-logo"},ZT={class:"o-brand-logo-btn"},$T=e.defineComponent({__name:"OBrandLogo",props:{list:{default:()=>[]},formats:{default:()=>["JPG","PNG","SVG"]}},setup(i){const t=i,{t:n}=xe.useI18n(),{downloadByUrl:r}=cm(),s=l=>{var u;return(u=l.formats)!=null&&u.length?l.formats:t.formats.map(d=>{const f=l[d.toLowerCase()];return f?{label:d,url:f,filename:`${l.title}.${d.toLowerCase()}`}:null}).filter(d=>d!==null)},a=l=>{var u,d;return l.cover||l.png||((d=(u=l.formats)==null?void 0:u[0])==null?void 0:d.url)},o=(l,u)=>{r(u.url,u.filename||`${l.title}.${u.label.toLowerCase()}`)};return(l,u)=>(e.openBlock(),e.createElementBlock("div",JT,[e.createVNode(e.unref(T.ORow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(d,f)=>(e.openBlock(),e.createBlock(e.unref(T.OCol),{key:f,flex:"0 1 33.33%",laptop:{flex:"0 1 33.33%"},pad:{flex:"0 1 33.33%"},"pad-v":{flex:"0 1 50%"},phone:{flex:"0 1 100%"}},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OCard),{title:d.title,cover:a(d),"cover-fit":"contain",class:e.normalizeClass(["o-brand-logo-card",`type-${d.type}`])},{default:e.withCtx(()=>[e.createElementVNode("div",ZT,[e.createVNode(e.unref(T.ODropdown),{trigger:"hover",optionPosition:"bottom",optionWrapClass:"o-brand-logo-dropdown"},{dropdown:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s(d),p=>(e.openBlock(),e.createBlock(e.unref(T.ODropdownItem),{key:p.label,size:"large",color:"primary",variant:"text",onClick:E=>o(d,p)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("brand.download"))+e.toDisplayString(p.label),1)]),_:2},1032,["onClick"]))),128))]),default:e.withCtx(()=>[e.createVNode(e.unref(T.OButton),{color:"primary",variant:"outline",size:"large",round:"pill"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronDown))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("brand.download"))+" ",1)]),_:1})]),_:2},1024)])]),_:2},1032,["title","cover","class"])]),_:2},1024))),128))]),_:1})]))}}),B0=xe._export_sfc($T,[["__scopeId","data-v-6db02a96"]]),ek={class:"o-brand-file"},tk={class:"o-brand-file-btn"},nk=e.defineComponent({__name:"OBrandFile",props:{list:{default:()=>[]}},setup(i){const t=i,{t:n}=xe.useI18n(),{downloadByUrl:r}=cm(),s=o=>o.filename||o.file.split("/").pop()||o.title,a=o=>{r(o.file,s(o))};return(o,l)=>(e.openBlock(),e.createElementBlock("div",ek,[e.createVNode(e.unref(T.ORow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(u,d)=>(e.openBlock(),e.createBlock(e.unref(T.OCol),{key:d,flex:"0 1 33.33%",laptop:{flex:"0 1 33.33%"},pad:{flex:"0 1 33.33%"},"pad-v":{flex:"0 1 50%"},phone:{flex:"0 1 100%"}},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OCard),{title:u.title,cover:u.cover,class:e.normalizeClass(["o-brand-file-card",u.coverClass])},{default:e.withCtx(()=>[e.createElementVNode("div",tk,[e.createVNode(e.unref(T.OButton),{size:"large",color:"primary",variant:"outline",round:"pill",onClick:f=>a(u)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("brand.download")),1)]),_:1},8,["onClick"])])]),_:2},1032,["title","cover","class"])]),_:2},1024))),128))]),_:1})]))}}),V0=xe._export_sfc(nk,[["__scopeId","data-v-2630f96f"]]),ik={class:"o-brand-standard-content"},rk={key:0,class:"o-brand-standard-code"},sk={key:1,class:"o-brand-standard-strong"},ak={key:2},ok={key:0,class:"o-brand-standard-img"},lk=e.defineComponent({__name:"OBrandStandard",props:{item:{}},setup(i){const t=i;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(T.OCard),{class:"o-brand-standard"},{default:e.withCtx(()=>[e.createElementVNode("div",ik,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.item.descs,(s,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:e.normalizeClass(["o-brand-standard-line",{"more-gap":s.gap==="more","none-gap":s.gap==="none"}])},[s.code?(e.openBlock(),e.createElementBlock("span",rk,e.toDisplayString(s.code),1)):e.createCommentVNode("",!0),s.titleText?(e.openBlock(),e.createElementBlock("span",sk,e.toDisplayString(s.titleText),1)):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",ak,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],2))),128))]),t.item.image||t.item.imageDark?(e.openBlock(),e.createElementBlock("div",ok,[t.item.image?(e.openBlock(),e.createBlock(e.unref(T.OFigure),{key:0,class:"o-brand-standard-img-light",src:t.item.image},null,8,["src"])):e.createCommentVNode("",!0),t.item.imageDark?(e.openBlock(),e.createBlock(e.unref(T.OFigure),{key:1,class:"o-brand-standard-img-dark",src:t.item.imageDark},null,8,["src"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1}))}}),N0=xe._export_sfc(lk,[["__scopeId","data-v-8570ed6e"]]),uk=Object.assign(B0,{install(i){i.component("OBrandLogo",B0)}}),ck=Object.assign(V0,{install(i){i.component("OBrandFile",V0)}}),dk=Object.assign(N0,{install(i){i.component("OBrandStandard",N0)}}),hk={locale:"zh-CN","common.more":"更多","common.empty":"暂无数据","common.loading":"加载中...","common.checkAll":"全选","common.filter":"筛选","common.confirm":"确认","common.reset":"重置","common.search":"搜索","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","upload.loading":"上传中","upload.failed":"上传失败","upload.download":"下载文件","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}","table.filterEmptyOption":"空","table.filterPlaceholder":"请输入搜索内容","timePicker.time":"时间","timePicker.selectTime":"选择时间","timePicker.placeholder":"请选择时间","timePicker.now":"此刻","timePicker.startTime":"开始时间","timePicker.endTime":"结束时间","datePicker.date":"日期","datePicker.time":"时间","datePicker.selectDate":"选择日期","datePicker.selectTime":"选择时间","datePicker.placeholder":"请选择日期","datePicker.yearPlaceholder":"请选择年份","datePicker.monthPlaceholder":"请选择月份","datePicker.today":"今天","datePicker.year":"年","datePicker.yearUnit":"年","datePicker.monthUnit":"月","datePicker.dayUnit":"日","datePicker.weekdays.0":"日","datePicker.weekdays.1":"一","datePicker.weekdays.2":"二","datePicker.weekdays.3":"三","datePicker.weekdays.4":"四","datePicker.weekdays.5":"五","datePicker.weekdays.6":"六","datePicker.months.0":"一月","datePicker.months.1":"二月","datePicker.months.2":"三月","datePicker.months.3":"四月","datePicker.months.4":"五月","datePicker.months.5":"六月","datePicker.months.6":"七月","datePicker.months.7":"八月","datePicker.months.8":"九月","datePicker.months.9":"十月","datePicker.months.10":"十一月","datePicker.months.11":"十二月","datePicker.monthsShort.0":"01月","datePicker.monthsShort.1":"02月","datePicker.monthsShort.2":"03月","datePicker.monthsShort.3":"04月","datePicker.monthsShort.4":"05月","datePicker.monthsShort.5":"06月","datePicker.monthsShort.6":"07月","datePicker.monthsShort.7":"08月","datePicker.monthsShort.8":"09月","datePicker.monthsShort.9":"10月","datePicker.monthsShort.10":"11月","datePicker.monthsShort.11":"12月","dateRangePicker.placeholderStart":"开始日期","dateRangePicker.placeholderEnd":"结束日期","dateRangePicker.selectRange":"选择日期范围","tour.close":"关闭","tour.prev":"上一步","tour.next":"下一步","tour.finish":"完成","imageViewer.zoomIn":"放大","imageViewer.zoomOut":"缩小","imageViewer.reset":"重置","imageViewer.rotateLeft":"逆时针旋转","imageViewer.rotateRight":"顺时针旋转","imageViewer.close":"关闭","imageViewer.prev":"上一张","imageViewer.next":"下一张","imageViewer.error":"图片加载失败,点击重试","imageViewer.dialogLabel":"图片预览","imageViewer.imageAlt":"图片 {0},共 {1} 张"},fk={locale:"en-US","common.more":"more","common.empty":"No Data","common.loading":"Loading...","common.checkAll":"Check All","common.filter":"Filter","common.confirm":"Confirm","common.reset":"Reset","common.search":"Search","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","upload.loading":"Uploading","upload.failed":"Upload failed","upload.download":"Download the file","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}","table.filterEmptyOption":"empty","table.filterPlaceholder":"Enter keywords","timePicker.time":"time","timePicker.selectTime":"Select time","timePicker.placeholder":"Select time","timePicker.now":"Now","timePicker.startTime":"Start Time","timePicker.endTime":"End Time","datePicker.date":"Date","datePicker.time":"Time","datePicker.selectDate":"Select date","datePicker.selectTime":"Select Time","datePicker.placeholder":"Select date","datePicker.yearPlaceholder":"Select year","datePicker.monthPlaceholder":"Select month","datePicker.today":"Today","datePicker.year":"","datePicker.yearUnit":"","datePicker.monthUnit":"","datePicker.dayUnit":"","datePicker.weekdays.0":"Su","datePicker.weekdays.1":"Mo","datePicker.weekdays.2":"Tu","datePicker.weekdays.3":"We","datePicker.weekdays.4":"Th","datePicker.weekdays.5":"Fr","datePicker.weekdays.6":"Sa","datePicker.months.0":"January","datePicker.months.1":"February","datePicker.months.2":"March","datePicker.months.3":"April","datePicker.months.4":"May","datePicker.months.5":"June","datePicker.months.6":"July","datePicker.months.7":"August","datePicker.months.8":"September","datePicker.months.9":"October","datePicker.months.10":"November","datePicker.months.11":"December","datePicker.monthsShort.0":"Jan","datePicker.monthsShort.1":"Feb","datePicker.monthsShort.2":"Mar","datePicker.monthsShort.3":"Apr","datePicker.monthsShort.4":"May","datePicker.monthsShort.5":"Jun","datePicker.monthsShort.6":"Jul","datePicker.monthsShort.7":"Aug","datePicker.monthsShort.8":"Sep","datePicker.monthsShort.9":"Oct","datePicker.monthsShort.10":"Nov","datePicker.monthsShort.11":"Dec","dateRangePicker.placeholderStart":"Start date","dateRangePicker.placeholderEnd":"End date","dateRangePicker.selectRange":"Select date range","tour.close":"Close","tour.prev":"Previous","tour.next":"Next","tour.finish":"Finish","imageViewer.zoomIn":"Zoom In","imageViewer.zoomOut":"Zoom Out","imageViewer.reset":"Reset","imageViewer.rotateLeft":"Rotate Counterclockwise","imageViewer.rotateRight":"Rotate Clockwise","imageViewer.close":"Close","imageViewer.prev":"Previous","imageViewer.next":"Next","imageViewer.error":"Image load failed, click to retry","imageViewer.dialogLabel":"Image Preview","imageViewer.imageAlt":"Image {0} of {1}"},I0=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{default:"zh"},theme:{default:"light"}},setup(i){const t=i,n={locale:e.computed(()=>e.unref(t.locale)),theme:e.computed(()=>e.unref(t.theme))};return e.provide(xe.configProviderInjectKey,n),(r,s)=>(e.openBlock(),e.createBlock(e.unref(T.OConfigProvider),{locale:i.locale==="zh"?e.unref(hk):e.unref(fk)},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["locale"]))}}),mk=Object.assign(I0,{install(i){i.component("OPlusConfigProvider",I0)}}),pk={class:"cookie-notice-content"},gk=["type"],vk={class:"cookie-title"},yk={style:{transform:"rotate(180deg)"},xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"24",height:"24",viewBox:"0 0 24 24"},Ck={class:"cookie-zh-title",style:{"margin-top":"0"}},bk=["href"],Tk={key:1,class:"cookie-en-title"},kk={key:0,class:"cookie-en-content"},Ek={class:"cookie-en-desc"},xk=["href"],_k={class:"cookie-notice-right"},Ak={class:"cookie-dlg-title"},wk={class:"cookie-dlg-content"},Sk={class:"content-item"},Dk={class:"item-header"},Bk={class:"item-title"},Vk={class:"item-extra"},Nk={class:"item-detail"},Ik={class:"content-item"},Ok={class:"item-header"},Pk={class:"item-title"},Lk={class:"item-extra"},Mk={class:"item-detail"},Rk="0",O0="1",qk="2",ea="3",Fk="agreed-cookiepolicy-zh",Uk="agreed-cookiepolicy-en",zk=e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(i,{expose:t,emit:n}){const r=i,s=n,{lePadV:a,leLaptop:o,isPhone:l}=nt.useScreen(),{locale:u,t:d}=xe.useI18n(),f=e.computed(()=>u.value==="zh"),p=e.ref(),E=e.computed(()=>p.value?!!getComputedStyle(p.value).getPropertyValue("--grid-content-width"):!1),C=e.computed(()=>f.value?Fk:Uk),x=e.ref(!1),m=ct.useVModel(r,"visible",s,{defaultValue:!1}),g=Q=>{const I=document.cookie.split(";").find(q=>q.split("=")[0].trim()===encodeURIComponent(Q));return I?decodeURIComponent(I.split("=")[1]):null},k=(Q,I,q,U)=>{const G=`; max-age=${q*24*60*60}`;document.cookie=`${encodeURIComponent(Q)}=${encodeURIComponent(I)}${G}; path=/; domain=${U}`},A=(Q,I)=>{document.cookie=`${encodeURIComponent(Q)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${I}`},D=Q=>{typeof Q=="boolean"?m.value=Q:m.value=!m.value,e.nextTick(()=>{!m.value&&f.value&&g(C.value)!==ea&&k(C.value,ea,180,r.cookieDomain??location.hostname)})},O=e.ref(!1),M=Q=>{typeof Q=="boolean"?O.value=Q:O.value=!O.value},V=()=>f.value?g(C.value)!==ea:(g(C.value)??"0")===Rk,S=()=>f.value?g(C.value)===ea:g(C.value)===O0;e.onMounted(()=>{V()&&D(!0)}),e.watch(u,()=>{D(V())});const L=()=>{x.value=!0,A(C.value,r.cookieDomain??location.hostname),k(C.value,O0,180,r.cookieDomain??location.hostname),D(!1)},w=()=>{x.value=!1,A(C.value,r.cookieDomain??location.hostname),k(C.value,qk,180,r.cookieDomain??location.hostname),D(!1)},B=e.computed(()=>l.value?[{id:"save",label:d("cookie.saveSetting"),variant:"text",onClick:()=>{x.value?L():w(),M(!1)}},{id:"allowAll",label:d("cookie.acceptAll"),variant:"text",onClick:()=>{x.value=!0,L(),M(!1)}}]:[{id:"save",color:"primary",label:d("cookie.saveSetting"),variant:"outline",size:"medium",round:"pill",onClick:()=>{x.value?L():w(),M(!1)}},{id:"allowAll",color:"primary",label:d("cookie.acceptAll"),variant:"outline",size:"medium",round:"pill",onClick:()=>{x.value=!0,L(),M(!1)}}]),F=Q=>{Q&&(x.value=S())};return t({check(){S()===m.value&&D()}}),(Q,I)=>(e.openBlock(),e.createBlock(xe._sfc_main,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:i.wrapper||"#app"},[e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"cookieNoticeRef",ref:p,class:"cookie-notice"},[e.createElementVNode("div",pk,[e.createElementVNode("div",{type:e.unref(u),class:e.normalizeClass({"cookie-notice-wrap-grid":E.value,"cookie-notice-wrap":!E.value})},[e.createElementVNode("div",vk,[f.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(T.OIcon),{style:{display:"inline-block","font-size":"24px","margin-right":"4px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",yk,[...I[4]||(I[4]=[e.createElementVNode("path",{fill:"var(--o-color-primary1)",d:"M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"},null,-1),e.createElementVNode("path",{fill:"#fff",d:"M12 9.4c0.552 0 1-0.448 1-1s-0.448-1-1-1c-0.552 0-1 0.448-1 1s0.448 1 1 1zM12.492 10.943c-0.042-0.233-0.246-0.41-0.492-0.41-0.276 0-0.5 0.224-0.5 0.5v5.5l0.008 0.090c0.042 0.233 0.246 0.41 0.492 0.41 0.276 0 0.5-0.224 0.5-0.5v-5.5l-0.008-0.090z"},null,-1)])]))]),_:1}),e.createElementVNode("p",Ck,[e.createTextVNode(e.toDisplayString(e.unref(d)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:i.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(d)("cookie.about")),9,bk)])],64)):(e.openBlock(),e.createElementBlock("p",Tk,e.toDisplayString(e.unref(d)("cookie.title",[i.community])),1)),e.createVNode(e.unref(T.OIcon),{class:"cookie-notice-close",onClick:I[0]||(I[0]=q=>D(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconClose))]),_:1})]),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kk,[e.createElementVNode("p",Ek,[e.createTextVNode(e.toDisplayString(e.unref(d)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:i.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(d)("cookie.about")),9,xk),I[5]||(I[5]=e.createTextVNode(". ",-1))]),e.createElementVNode("div",_k,[e.createVNode(e.unref(T.OButton),{round:"pill",variant:"outline",color:"primary",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(T.OButton),{round:"pill",variant:"outline",color:"primary",onClick:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(T.OButton),{round:"pill",variant:"outline",color:"primary",onClick:I[1]||(I[1]=q=>M(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("cookie.manage")),1)]),_:1})])]))],10,gk)]),e.createVNode(e.unref(T.ODialog),{visible:O.value,"onUpdate:visible":I[3]||(I[3]=q=>O.value=q),size:e.unref(o)?"medium":"large","phone-half-full":e.unref(a),"main-class":E.value?"o-cookie-notice-dlg-main":"",class:"cookie-dlg",actions:B.value,onChange:F,style:{"--dlg-radius":"4px"}},{header:e.withCtx(()=>[e.createElementVNode("span",Ak,e.toDisplayString(e.unref(d)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",wk,[e.createElementVNode("div",Sk,[e.createElementVNode("div",Dk,[e.createElementVNode("span",Bk,e.toDisplayString(e.unref(d)("cookie.necessaryCookie")),1),e.createElementVNode("span",Vk,e.toDisplayString(e.unref(d)("cookie.alwaysOn")),1)]),e.createElementVNode("div",Nk,e.toDisplayString(e.unref(d)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",Ik,[e.createElementVNode("div",Ok,[e.createElementVNode("span",Pk,e.toDisplayString(e.unref(d)("cookie.analyticalCookie")),1),e.createElementVNode("span",Lk,[e.createVNode(e.unref(T.OSwitch),{modelValue:x.value,"onUpdate:modelValue":I[2]||(I[2]=q=>x.value=q)},null,8,["modelValue"])])]),e.createElementVNode("div",Mk,e.toDisplayString(e.unref(d)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","main-class","actions"])],512)):e.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),P0=xe._export_sfc(zk,[["__scopeId","data-v-f4e92a4b"]]),Hk=Object.assign(P0,{install(i){i.component("OCookieNotice",P0)}}),jk=Object.assign(Na,{install(i){i.component("OEmpty",Na)}}),Xk={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function Gk(i,t){return e.openBlock(),e.createElementBlock("svg",Xk,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"峰会",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 425",d:"M8.36719 4.75439L8.36523 4.75537L8.36523 4.75537C7.63184 5.05518 6.93555 5.44629 6.27734 5.9292C6.00098 6.13184 5.94238 6.5083 6.14551 6.78516C6.34766 7.06201 6.72461 7.11963 7.00098 6.91699C7.61035 6.47119 8.25391 6.11475 8.93262 5.84766C9.05371 5.7998 9.17676 5.75488 9.30078 5.71289C9.73242 5.56641 10.1699 5.45752 10.6143 5.38672C10.6191 5.38574 10.624 5.38525 10.6289 5.38428L10.6289 5.38428C11.0439 5.31836 11.4639 5.28564 11.8896 5.28564C12.3193 5.28564 12.7451 5.31934 13.1641 5.38672L13.165 5.38672C13.6084 5.45752 14.0459 5.56641 14.4775 5.71289C14.6016 5.75488 14.7246 5.7998 14.8457 5.84766C15.5254 6.11475 16.1689 6.47119 16.7773 6.91699C17.0537 7.11963 17.4307 7.06201 17.6328 6.78516C17.8359 6.5083 17.7783 6.13184 17.501 5.9292C16.8418 5.4458 16.1455 5.0542 15.4111 4.75439C15.2334 4.68213 15.0537 4.61475 14.8711 4.55273C14.376 4.38477 13.873 4.25977 13.3643 4.17773C12.8789 4.09961 12.3877 4.06055 11.8896 4.06055C11.3916 4.06055 10.8994 4.09961 10.4141 4.17773L10.4141 4.17773C9.90527 4.25977 9.40332 4.38477 8.90723 4.55273C8.72559 4.61475 8.54492 4.68213 8.36719 4.75439L8.36719 4.75439ZM20.377 14.2979L20.377 13.4229C20.377 13.0801 20.1074 12.8105 19.7646 12.8105C19.4219 12.8105 19.1523 13.0801 19.1523 13.4229L19.1523 14.2979C19.1523 14.334 19.1455 14.3677 19.1328 14.3984L19.1328 14.3989C19.1074 14.4243 19.0215 14.5283 18.9902 14.5415C18.96 14.5542 18.9258 14.5605 18.8896 14.5605L4.88965 14.5605C4.85352 14.5605 4.82031 14.5542 4.78906 14.5415C4.76367 14.5156 4.65918 14.4297 4.64648 14.3989C4.63379 14.3677 4.62695 14.3345 4.62695 14.2979L4.62695 9.04785C4.62695 9.01172 4.63379 8.97803 4.64648 8.94727C4.67188 8.92188 4.75781 8.81738 4.78906 8.80469L4.78906 8.80469C4.82031 8.79199 4.85352 8.78564 4.88965 8.78564L18.8896 8.78564C18.9258 8.78564 18.96 8.79199 18.9902 8.80469C19.0166 8.83057 19.1201 8.9165 19.1328 8.94727C19.1455 8.97803 19.1523 9.01172 19.1523 9.04785L19.1523 11.6729C19.1523 12.0161 19.4219 12.2856 19.7646 12.2856C20.1074 12.2856 20.377 12.0161 20.377 11.6729L20.377 9.04785C20.377 8.94141 20.3662 8.83691 20.3447 8.73535L20.3447 8.73438L20.3447 8.73389C20.3252 8.64355 20.2969 8.55518 20.2598 8.46875C20.2236 8.3833 20.1807 8.30225 20.1299 8.22559C20.0752 8.14355 20.0127 8.06738 19.9414 7.99609C19.8701 7.92529 19.7939 7.8623 19.7119 7.80811C19.6357 7.75732 19.5547 7.71387 19.4688 7.67773C19.3828 7.64111 19.2939 7.61328 19.2041 7.59375C19.1016 7.57178 18.9971 7.56055 18.8896 7.56055L4.88965 7.56055C4.78418 7.56055 4.68066 7.57129 4.5791 7.59277L4.5791 7.59277C4.57812 7.59326 4.57715 7.59326 4.57617 7.59375L4.5752 7.59375C4.48535 7.61328 4.39746 7.64111 4.31055 7.67773C4.22461 7.71387 4.14355 7.75732 4.06738 7.80811C3.98535 7.8623 3.90918 7.92529 3.83789 7.99609C3.7666 8.06738 3.7041 8.14355 3.64941 8.22559C3.64941 8.22656 3.64844 8.22705 3.64844 8.22803C3.59863 8.30371 3.55566 8.38379 3.51953 8.46875C3.48242 8.55518 3.45508 8.64355 3.43555 8.73389C3.41309 8.83643 3.40234 8.94092 3.40234 9.04785L3.40234 14.2979C3.40234 14.4053 3.41309 14.5098 3.43555 14.6123C3.45508 14.7021 3.48242 14.7905 3.51953 14.8774C3.55566 14.9629 3.59961 15.0439 3.64941 15.1201C3.7041 15.2021 3.7666 15.2788 3.83789 15.3501C3.90918 15.4209 3.98535 15.4834 4.06738 15.5381C4.14355 15.5889 4.22461 15.6323 4.31055 15.6685C4.39746 15.7051 4.48535 15.7329 4.5752 15.7524C4.67773 15.7744 4.78223 15.7856 4.88965 15.7856L18.8896 15.7856C18.9971 15.7856 19.1016 15.7744 19.2041 15.7524C19.2939 15.7329 19.3828 15.7051 19.4688 15.6685C19.5547 15.6318 19.6357 15.5889 19.7119 15.5381C19.7939 15.4834 19.8701 15.4209 19.9414 15.3501C20.0127 15.2788 20.0752 15.2021 20.1299 15.1201C20.1807 15.0439 20.2236 14.9629 20.2598 14.8774C20.2969 14.7905 20.3252 14.7021 20.3447 14.6123C20.3662 14.5098 20.377 14.4053 20.377 14.2979ZM14.8291 16.3438L14.8291 16.3438C14.9189 16.3633 15.0078 16.3911 15.0938 16.4277C15.1797 16.4639 15.2607 16.5073 15.3369 16.5581C15.4189 16.6123 15.4951 16.6753 15.5664 16.7461C15.6377 16.8174 15.7002 16.8936 15.7549 16.9756C15.8057 17.0522 15.8486 17.1328 15.8848 17.2188C15.9219 17.3052 15.9502 17.3936 15.9697 17.4839C15.9912 17.5864 16.002 17.6909 16.002 17.7979C16.002 17.9053 15.9912 18.0098 15.9697 18.1123C15.9502 18.2021 15.9219 18.2905 15.8848 18.3774C15.8486 18.4629 15.8057 18.5439 15.7549 18.6201C15.7002 18.7021 15.6377 18.7788 15.5664 18.8501C15.4951 18.9209 15.4189 18.9834 15.3369 19.0381C15.2607 19.0889 15.1797 19.1318 15.0938 19.1685C15.0078 19.2051 14.9189 19.2329 14.8291 19.2524C14.7266 19.2744 14.6221 19.2856 14.5146 19.2856L9.26465 19.2856C9.1582 19.2856 9.05273 19.2744 8.9502 19.2524C8.86035 19.2329 8.77246 19.2051 8.68555 19.1685C8.59961 19.1318 8.51855 19.0889 8.44238 19.0381C8.36035 18.9834 8.28418 18.9209 8.21289 18.8501C8.1416 18.7788 8.0791 18.7021 8.02441 18.6201C7.97461 18.5439 7.93066 18.4629 7.89453 18.3774C7.85742 18.2905 7.83008 18.2021 7.81055 18.1123C7.78809 18.0098 7.77734 17.9053 7.77734 17.7979C7.77734 17.6909 7.78809 17.5864 7.81055 17.4839C7.83008 17.3936 7.85742 17.3052 7.89453 17.2188C7.93066 17.1328 7.97461 17.0522 8.02441 16.9756C8.0791 16.8936 8.1416 16.8174 8.21289 16.7461C8.28418 16.6753 8.36035 16.6123 8.44238 16.5581C8.51855 16.5073 8.59961 16.4639 8.68555 16.4277C8.77246 16.3911 8.86035 16.3633 8.9502 16.3438C9.05273 16.3218 9.1582 16.3105 9.26465 16.3105L14.5146 16.3105C14.6221 16.3105 14.7266 16.3218 14.8291 16.3438ZM9.2666 17.5352L14.5166 17.5352C14.5527 17.5352 14.5859 17.5415 14.6172 17.5547C14.6426 17.5801 14.7471 17.666 14.7598 17.6973C14.7725 17.728 14.7793 17.7617 14.7793 17.7979C14.7793 17.834 14.7725 17.8677 14.7598 17.8984C14.7344 17.9243 14.6484 18.0283 14.6172 18.041C14.5859 18.0542 14.5527 18.0605 14.5166 18.0605L9.2666 18.0605C9.23047 18.0605 9.19629 18.0542 9.16602 18.041C9.13965 18.0156 9.03613 17.9297 9.02344 17.8984C9.01074 17.8677 9.00391 17.834 9.00391 17.7979C9.00391 17.7617 9.01074 17.728 9.02344 17.6973C9.04883 17.6714 9.13477 17.5674 9.16602 17.5547C9.19629 17.5415 9.23047 17.5352 9.2666 17.5352Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const Qk={name:"events-icon-summit",render:Gk},Yk={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function Kk(i,t){return e.openBlock(),e.createElementBlock("svg",Yk,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"活动",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 426",d:"M18.3065 11.0924L17.7206 11.6295C17.455 11.8722 17.4384 12.2711 17.6806 12.5362C17.9237 12.8009 18.3221 12.8185 18.5868 12.5758L19.1737 12.0387L20.0418 11.2433C20.1746 11.1217 20.2811 10.9859 20.3631 10.8365C20.4256 10.7198 20.4735 10.5948 20.5057 10.4615C20.5369 10.3316 20.5516 10.2017 20.5496 10.0723C20.5467 9.92 20.5213 9.76765 20.4725 9.61531C20.4237 9.46345 20.3553 9.32478 20.2684 9.19978C20.1942 9.09333 20.1063 8.99665 20.0057 8.90925C19.9012 8.81989 19.7899 8.74616 19.6698 8.68854C19.5165 8.61481 19.3504 8.56744 19.1717 8.54645L15.3212 8.09185C15.2997 8.08355 15.2119 8.05572 15.1923 8.04156C15.1777 8.02398 15.1142 7.9566 15.1044 7.93511L13.4697 4.43751C13.3945 4.27638 13.2978 4.13477 13.1816 4.0127L13.1816 4.0127C13.0898 3.91797 12.9853 3.83496 12.8691 3.76416C12.7549 3.69531 12.6367 3.64209 12.5137 3.60498L12.5137 3.60498C12.3682 3.56104 12.2168 3.53906 12.0586 3.53906C11.8994 3.53906 11.7481 3.56104 11.6025 3.60498L11.6025 3.60498C11.4795 3.64209 11.3613 3.69531 11.2471 3.76416C11.1309 3.83496 11.0264 3.91797 10.9356 4.0127C10.8184 4.13477 10.7217 4.27589 10.6465 4.43751L9.01178 7.93511C8.99713 7.95269 8.94342 8.0274 8.92389 8.04156C8.90241 8.04986 8.81843 8.08892 8.79499 8.09185L4.94448 8.54645C4.76577 8.56744 4.59976 8.61481 4.44644 8.68854L4.44644 8.68854C4.32731 8.74616 4.215 8.81989 4.11149 8.90925C4.00993 8.99665 3.92204 9.09333 3.8488 9.19978C3.76091 9.32478 3.69353 9.46345 3.64373 9.61531C3.5949 9.76765 3.56951 9.92 3.56658 10.0723C3.56463 10.2017 3.57927 10.3316 3.61052 10.4615C3.64275 10.5948 3.6906 10.7198 3.75407 10.8365C3.83513 10.9859 3.94157 11.1217 4.07438 11.2433L6.90635 13.837C6.91807 13.8566 6.97374 13.9313 6.98155 13.9542C6.98155 13.9606 6.98252 13.9713 6.98448 13.9845L6.98448 13.986C6.98838 14.0226 6.99327 14.0763 6.98936 14.0939L6.2384 17.8488C6.20324 18.0241 6.19738 18.196 6.21985 18.3635C6.23645 18.4948 6.2716 18.6232 6.32434 18.7497C6.37512 18.8727 6.43957 18.986 6.51671 19.0891C6.60851 19.2106 6.71788 19.3181 6.84679 19.4118C6.97471 19.5061 7.11045 19.5778 7.254 19.6281C7.37607 19.6711 7.50302 19.698 7.63583 19.7097C7.77157 19.7209 7.90438 19.7155 8.03524 19.6926L8.03524 19.6926C8.20223 19.6628 8.36336 19.6047 8.52058 19.5183L11.9248 17.6369C11.9473 17.631 12.0342 17.6022 12.0586 17.6022C12.0801 17.6081 12.1709 17.6252 12.1914 17.6369L15.5117 19.4719C15.6718 19.5603 15.8368 19.6189 16.0068 19.6481L16.0077 19.6481C16.1396 19.6706 16.2743 19.675 16.412 19.6618C16.5468 19.6491 16.6747 19.6203 16.7968 19.5754C16.9423 19.5222 17.079 19.447 17.2079 19.3488C17.3368 19.2512 17.4462 19.1394 17.537 19.0139C17.6132 18.9079 17.6747 18.7917 17.7235 18.6662C17.7733 18.5368 17.8046 18.4055 17.8182 18.2722C17.8368 18.1008 17.8241 17.926 17.7821 17.7482L16.3495 11.7125C16.2665 11.3629 15.9267 11.1534 15.5771 11.2359C15.2275 11.3189 15.0175 11.6593 15.1005 12.0089L16.5331 18.0446C16.5468 18.1027 16.5458 18.155 16.5292 18.2023C16.5116 18.2492 16.4794 18.2907 16.4325 18.3268C16.3847 18.363 16.3359 18.383 16.286 18.3864C16.2362 18.3903 16.1855 18.3776 16.1327 18.3488L12.8115 16.5133C12.6943 16.4489 12.5732 16.4001 12.4473 16.3678L12.4473 16.3678C12.3223 16.3351 12.1924 16.319 12.0586 16.319C11.9238 16.319 11.794 16.3351 11.669 16.3678C11.543 16.4001 11.4219 16.4489 11.3047 16.5133L7.8995 18.3952C7.84872 18.4235 7.79794 18.4362 7.74911 18.4328C7.69931 18.4299 7.65146 18.4108 7.60458 18.3762C7.55673 18.342 7.52451 18.3015 7.50693 18.2556C7.48837 18.2097 7.48545 18.1579 7.49716 18.1003L8.24813 14.3453C8.27449 14.2116 8.28426 14.0792 8.27644 13.9474C8.26863 13.816 8.24324 13.6852 8.20125 13.5558C8.15926 13.4259 8.10262 13.3058 8.03036 13.1949C7.95907 13.0841 7.87313 12.983 7.77255 12.8907L4.94155 10.297C4.89761 10.2569 4.87026 10.213 4.85757 10.1651C4.84487 10.1173 4.8478 10.0655 4.86538 10.0094C4.88393 9.95369 4.91128 9.90975 4.94936 9.8785C4.98842 9.84676 5.03628 9.82771 5.09487 9.82088L8.94538 9.36628C9.07916 9.35066 9.20709 9.31892 9.32916 9.27155C9.45025 9.22419 9.56646 9.16071 9.67583 9.0821C9.7852 9.003 9.8809 8.91315 9.96391 8.81256C10.0479 8.71198 10.1172 8.60065 10.1748 8.47858L11.8086 4.98097C11.834 4.92824 11.8672 4.88869 11.9082 4.86183C11.9502 4.83546 12 4.82228 12.0586 4.82228C12.1162 4.82228 12.166 4.83546 12.208 4.86183C12.25 4.88869 12.2822 4.92824 12.3076 4.98097L13.9414 8.47858C13.999 8.60065 14.0693 8.71198 14.1523 8.81256C14.2353 8.91315 14.332 9.003 14.4414 9.0821C14.5507 9.16071 14.666 9.22419 14.7871 9.27155C14.9091 9.31892 15.0371 9.35066 15.1708 9.36628L19.0213 9.82088C19.0799 9.82771 19.1278 9.84676 19.1668 9.8785C19.2049 9.90975 19.2333 9.95369 19.2508 10.0094C19.2694 10.0655 19.2713 10.1173 19.2586 10.1651C19.2459 10.213 19.2186 10.2569 19.1747 10.297L18.3065 11.0924ZM9.31256 13.2311L7.93856 11.8561C7.68368 11.6017 7.68368 11.2027 7.93856 10.9483C8.19246 10.6944 8.59187 10.6944 8.84577 10.9483L10.2207 12.3233C10.4746 12.5777 10.4746 12.9772 10.2207 13.2311C9.96586 13.485 9.56743 13.485 9.31256 13.2311Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const Wk={name:"events-icon-events",render:Kk},Jk={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function Zk(i,t){return e.openBlock(),e.createElementBlock("svg",Jk,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"高校 & 比赛",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 578",d:"M3.05078 7.51904L11.6914 4.13965C11.8086 4.09424 11.9219 4.07178 12.0391 4.07178C12.1523 4.07178 12.2695 4.09473 12.3867 4.14062L20.9609 7.51953C21.0625 7.55957 21.1523 7.61328 21.2305 7.67969C21.2969 7.73779 21.3555 7.80566 21.4062 7.88379C21.5078 8.03857 21.5586 8.20898 21.5625 8.39502C21.5625 8.58057 21.5156 8.75195 21.418 8.9082C21.3125 9.07861 21.1641 9.20264 20.9766 9.28076L19.457 9.91309L19.457 12.2915C19.457 12.6558 19.168 12.9419 18.8047 12.9419C18.4414 12.9419 18.1562 12.6558 18.1562 12.292L18.1562 10.4531L16.0742 11.3188L16.0742 14.7134C16.2852 14.897 16.418 15.1675 16.418 15.4692C16.418 16.0215 15.9688 16.4692 15.418 16.4692C14.8672 16.4692 14.418 16.0215 14.418 15.4692C14.418 15.1626 14.5547 14.8887 14.7734 14.7051L14.7734 11.8589L12.4023 12.8442C12.2852 12.8926 12.1641 12.917 12.0391 12.917C11.9141 12.9175 11.793 12.8936 11.6758 12.8452L5.63281 10.354L5.61328 17.6836C5.61328 17.7285 5.62109 17.771 5.63281 17.8101C5.65234 17.854 5.67969 17.894 5.71484 17.9307C5.75 17.9658 5.78906 17.9917 5.83203 18.0088C5.87109 18.0259 5.91797 18.0342 5.96484 18.0342L17.7812 18.0342C17.832 18.0342 17.875 18.0254 17.918 18.0083C17.957 17.9912 17.9961 17.9658 18.0312 17.9316C18.0625 17.8975 18.0898 17.8599 18.1055 17.8184C18.125 17.7773 18.1328 17.7324 18.1328 17.6841L18.1328 14.1411C18.1328 13.7773 18.418 13.4912 18.7812 13.4912C19.1445 13.4912 19.4336 13.7773 19.4336 14.1411L19.4336 17.6841C19.4336 17.8032 19.418 17.9194 19.3945 18.0332C19.375 18.1333 19.3438 18.231 19.3008 18.3267C19.2188 18.5239 19.1016 18.6987 18.9492 18.8511C18.8711 18.9297 18.7852 18.9995 18.6953 19.0596C18.6094 19.1157 18.5195 19.1641 18.4258 19.2041C18.3281 19.2446 18.2305 19.2759 18.1328 19.2974L18.1328 19.2974C18.0156 19.3218 17.9023 19.334 17.7812 19.334L5.96484 19.334C5.84375 19.334 5.73047 19.3218 5.61719 19.2979C5.51562 19.2759 5.41797 19.2446 5.32031 19.2036C5.12109 19.1201 4.94922 19.002 4.79688 18.8501C4.64453 18.6978 4.52734 18.5225 4.44141 18.3252C4.35547 18.1196 4.3125 17.9048 4.3125 17.6797L4.33594 9.81836L3.03125 9.28174C2.84375 9.2041 2.69531 9.08008 2.58984 8.90967C2.54297 8.83496 2.50781 8.75684 2.48438 8.67578C2.45703 8.58643 2.44531 8.49268 2.44531 8.39502C2.44531 8.29736 2.46094 8.20361 2.48828 8.11475C2.51562 8.03369 2.55078 7.95654 2.59766 7.8833C2.65234 7.80469 2.71094 7.73682 2.77734 7.67871C2.85547 7.61182 2.94922 7.55859 3.05078 7.51904ZM18.5547 8.87891L15.457 10.1665L11.5 8.05322C11.1758 7.88184 10.7891 7.99951 10.6172 8.32031C10.4492 8.6416 10.5664 9.02832 10.8867 9.19971L13.9062 10.8115L12.0352 11.5884L5.23438 8.78271L4.33594 8.41211L12.0352 5.40039L19.6797 8.41211L18.5547 8.87891Z",fill:"rgb(255,254.745,254.745)","fill-rule":"evenodd"},null,-1)])])}const $k={name:"events-icon-competition",render:Zk},eE={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function tE(i,t){return e.openBlock(),e.createElementBlock("svg",eE,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"版本发布计划",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 579",d:"M8.94922 6.90332L8.94922 6.3335C8.94922 6.23779 8.95703 6.14404 8.97656 6.05225L8.97656 6.05225C8.99609 5.97119 9.01953 5.89209 9.05469 5.81396C9.08594 5.7373 9.125 5.66455 9.17188 5.59619C9.21875 5.52246 9.27734 5.4541 9.33984 5.39062C9.40234 5.32715 9.47266 5.271 9.54297 5.22217L9.54297 5.22217L9.54297 5.22217C9.61328 5.17676 9.6875 5.1377 9.76172 5.10498C9.83984 5.07227 9.91797 5.04688 10 5.02979L10 5.02979C10.0938 5.00977 10.1875 5 10.2812 5L18.668 5C18.7617 5 18.8555 5.00977 18.9492 5.02979L18.9492 5.02979C19.0273 5.04688 19.1094 5.07227 19.1875 5.10498C19.2617 5.1377 19.3359 5.17676 19.4023 5.22217C19.4766 5.271 19.5469 5.32715 19.6094 5.39062C19.6719 5.4541 19.7305 5.52246 19.7773 5.59619L19.7773 5.59619C19.8242 5.66455 19.8633 5.7373 19.8945 5.81396C19.9297 5.89209 19.9531 5.97119 19.9688 6.05225C19.9883 6.14404 20 6.23779 20 6.3335L20 12.2441C20 12.3398 19.9883 12.4336 19.9688 12.5249C19.9531 12.606 19.9297 12.6855 19.8945 12.7632C19.8633 12.8403 19.8242 12.9131 19.7773 12.9814C19.7305 13.0547 19.6719 13.123 19.6094 13.187C19.5469 13.2505 19.4766 13.3066 19.4023 13.3555C19.3359 13.4009 19.2617 13.4399 19.1875 13.4722C19.1094 13.5054 19.0273 13.5303 18.9492 13.5479C18.8555 13.5674 18.7617 13.5771 18.668 13.5771L18.3906 13.5771C18.0664 13.5771 17.8125 13.3232 17.8125 13C17.8125 12.6768 18.0664 12.4229 18.3906 12.4229L18.668 12.4229C18.6914 12.4229 18.7734 12.3789 18.793 12.3701C18.8086 12.353 18.8359 12.2651 18.8438 12.2441L18.8438 6.3335C18.8438 6.30859 18.8008 6.22803 18.793 6.20703C18.7773 6.18945 18.6875 6.16357 18.668 6.15479L10.2812 6.15479C10.2578 6.15479 10.1758 6.19824 10.1562 6.20703C10.1367 6.22461 10.1133 6.3125 10.1016 6.3335L10.1016 6.90332C10.1016 7.22656 9.84766 7.48047 9.52734 7.48047C9.20312 7.48047 8.94922 7.22656 8.94922 6.90332ZM6.47266 9.39307L6.47266 9.21973C6.47266 9.12402 6.48438 9.03027 6.50391 8.93896C6.51953 8.85791 6.54688 8.77832 6.57812 8.70068C6.61328 8.62354 6.65234 8.55127 6.69531 8.48242C6.74609 8.40918 6.80078 8.34082 6.86328 8.27734C6.92969 8.21338 6.99609 8.15723 7.07031 8.10889C7.13672 8.06299 7.21094 8.02441 7.28906 7.9917C7.36719 7.9585 7.44531 7.93359 7.52734 7.91602C7.61719 7.89648 7.71094 7.88672 7.80859 7.88672L16.1914 7.88672C16.2891 7.88672 16.3828 7.89648 16.4727 7.91602C16.5547 7.93359 16.6328 7.9585 16.7109 7.9917C16.7891 8.02441 16.8594 8.06299 16.9297 8.1084C17.0039 8.15723 17.0703 8.21338 17.1367 8.27734C17.1992 8.34082 17.2539 8.40918 17.3047 8.48242C17.3477 8.55127 17.3867 8.62354 17.4219 8.70068C17.4531 8.77832 17.4805 8.85791 17.4961 8.93896C17.5156 9.03027 17.5273 9.12402 17.5273 9.21973L17.5273 15.1304C17.5273 15.2266 17.5156 15.3198 17.4961 15.4116C17.4805 15.4927 17.4531 15.5718 17.4219 15.6499C17.3867 15.7266 17.3477 15.7993 17.3047 15.8682C17.2539 15.9414 17.1992 16.0098 17.1367 16.0732C17.0703 16.1367 17.0039 16.1929 16.9297 16.2417C16.8633 16.2871 16.7891 16.3262 16.7109 16.3589C16.6328 16.3916 16.5547 16.417 16.4727 16.4346C16.3828 16.4541 16.2891 16.4639 16.1914 16.4639L15.8789 16.4639C15.5547 16.4639 15.3008 16.21 15.3008 15.8867C15.3008 15.5635 15.5547 15.3091 15.8789 15.3091L16.1914 15.3091C16.2188 15.3091 16.2969 15.2656 16.3203 15.2568C16.3359 15.2393 16.3633 15.1519 16.3711 15.1304L16.3711 9.21973C16.3711 9.19531 16.3281 9.11475 16.3203 9.09375C16.3008 9.07617 16.2148 9.0498 16.1914 9.04102L7.80859 9.04102C7.78125 9.04102 7.70312 9.08496 7.67969 9.09375C7.66406 9.11084 7.63672 9.19873 7.62891 9.21973L7.62891 9.39307C7.62891 9.71631 7.375 9.97021 7.05078 9.97021C6.72656 9.97021 6.47266 9.71631 6.47266 9.39307ZM14 10.3901C13.9062 10.3706 13.8125 10.3608 13.7188 10.3608L5.33203 10.3608C5.23828 10.3608 5.14453 10.3706 5.05078 10.3901L5.05078 10.3901C4.97266 10.4077 4.89062 10.4331 4.8125 10.4658C4.73828 10.4985 4.66406 10.5376 4.59766 10.583L4.59766 10.583L4.59766 10.583C4.52344 10.6318 4.45312 10.688 4.39062 10.7515C4.32812 10.8149 4.26953 10.8833 4.22266 10.957C4.17578 11.0254 4.13672 11.0981 4.10547 11.1748C4.07031 11.2529 4.04688 11.332 4.03125 11.4131L4.03125 11.4131C4.01172 11.5049 4 11.5981 4 11.6943L4 17.605C4 17.7007 4.01172 17.7944 4.03125 17.8857C4.04688 17.9668 4.07031 18.0464 4.10547 18.124C4.13672 18.2012 4.17578 18.2739 4.22266 18.3423C4.26953 18.4155 4.32812 18.4839 4.39062 18.5479C4.45312 18.6113 4.52344 18.6675 4.59766 18.7163C4.66406 18.7617 4.73828 18.8008 4.8125 18.833C4.89062 18.8662 4.97266 18.8911 5.05078 18.9087L5.05078 18.9087C5.14453 18.9282 5.23828 18.938 5.33203 18.938L13.7188 18.938C13.8125 18.938 13.9062 18.9282 14 18.9087C14.082 18.8911 14.1602 18.8662 14.2383 18.833C14.3125 18.8008 14.3867 18.7617 14.457 18.7163C14.5273 18.6675 14.5977 18.6113 14.6602 18.5479C14.7227 18.4839 14.7812 18.4155 14.8281 18.3423C14.875 18.2739 14.9141 18.2012 14.9453 18.124C14.9805 18.0464 15.0039 17.9668 15.0234 17.8857C15.043 17.7944 15.0508 17.7007 15.0508 17.605L15.0508 11.6943C15.0508 11.5981 15.043 11.5049 15.0234 11.4131C15.0039 11.332 14.9805 11.2529 14.9453 11.1748C14.9141 11.0981 14.875 11.0254 14.8281 10.957C14.7812 10.8833 14.7227 10.8149 14.6602 10.7515C14.5977 10.688 14.5273 10.6318 14.457 10.583C14.3867 10.5376 14.3125 10.4985 14.2383 10.4658C14.1602 10.4331 14.082 10.4077 14 10.3901ZM5.33203 11.5156L13.7188 11.5156C13.7383 11.5244 13.8281 11.5503 13.8438 11.5679C13.8516 11.5889 13.8984 11.6694 13.8984 11.6943L13.8984 17.605C13.8867 17.626 13.8633 17.7139 13.8438 17.731C13.8242 17.7397 13.7422 17.7837 13.7188 17.7837L5.33203 17.7837C5.3125 17.7749 5.22266 17.7485 5.20703 17.731C5.19922 17.71 5.15625 17.6294 5.15625 17.605L5.15625 11.6943C5.16406 11.6733 5.19141 11.5854 5.20703 11.5679C5.22266 11.5503 5.3125 11.5244 5.33203 11.5156ZM11 12.7754C10.8086 12.5776 10.5 12.5742 10.3008 12.7676C10.1055 12.9614 10.1016 13.2695 10.293 13.4678L11 14.1875L8.36719 14.1875C8.08984 14.1875 7.87109 14.4053 7.87109 14.6826C7.87109 14.9595 8.08984 15.1772 8.36719 15.1772L10.9414 15.1772L10.2969 15.8286C10.1016 16.0254 10.1016 16.3335 10.3008 16.5283C10.4961 16.7236 10.8047 16.7222 11 16.5254L12.5039 15.0078C12.6172 14.8926 12.6758 14.7769 12.6758 14.6611C12.6758 14.5459 12.6172 14.4297 12.5039 14.3135L11 12.7754ZM7.39453 13.6792L7.39453 15.9336C7.39453 16.2109 7.17969 16.4287 6.90234 16.4287C6.625 16.4287 6.40625 16.2109 6.40625 15.9336L6.40625 13.6792C6.40625 13.4019 6.625 13.1841 6.90234 13.1841C7.17969 13.1841 7.39453 13.4019 7.39453 13.6792Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const nE={name:"events-icon-release",render:tE},iE={summit:"--o-orange-6",events:"--o-cyan-6",competition:"--o-blue-6",release:"--o-purple-6"},rE={events:Wk,competition:$k,release:nE,summit:Qk},ta={上海:"https://infrastructure-website.osinfra.cn/picture/city/shanghai.jpg",北京:"https://infrastructure-website.osinfra.cn/picture/city/beijing.jpg",南京:"https://infrastructure-website.osinfra.cn/picture/city/nanjing.jpg",天津:"https://infrastructure-website.osinfra.cn/picture/city/tianjin.jpg",成都:"https://infrastructure-website.osinfra.cn/picture/city/chengdu.jpg",无锡:"https://infrastructure-website.osinfra.cn/picture/city/wuxi.jpg",杭州:"https://infrastructure-website.osinfra.cn/picture/city/hangzhou.jpg",深圳:["https://infrastructure-website.osinfra.cn/picture/city/shenzhen1.jpg","https://infrastructure-website.osinfra.cn/picture/city/shenzhen2.jpg"],苏州:"https://infrastructure-website.osinfra.cn/picture/city/suzhou.jpg",西安:"https://infrastructure-website.osinfra.cn/picture/city/xian.jpg",郑州:"https://infrastructure-website.osinfra.cn/picture/city/zhengzhou.jpg",武汉:"https://infrastructure-website.osinfra.cn/picture/city/wuhan.jpg"},sE="https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg",aE={class:"o-events-calendar"},oE={key:0,class:"month-list"},lE={class:"collapse-header"},uE={class:"collapse-title"},cE={key:0,class:"collapse-desc"},dE={key:0,class:"month-content month-content-span"},hE={key:0,class:"event-location"},fE={class:"event-name"},mE={key:1},pE={key:0,class:"month-content-row"},gE={class:"month-name"},vE={class:"event-name"},yE={class:"event-location"},CE={class:"event-name"},bE={class:"event-location"},TE={key:1,class:"month-content month-content-column"},kE={class:"event-location"},EE={class:"event-name"},xE={key:1},L0=e.defineComponent({__name:"OEventsCalendar",props:{data:{default:()=>[]}},setup(i){const t=Ti(),{lePadV:n}=nt.useScreen(),r=i,s=["JAN","FEB","MAR","Apr","May","JUN","Jul","Aug","Sep","Oct","Nov","Dec"],a=e.ref([]);e.watch([()=>r.data,()=>n.value],()=>{var p;r.data.length?n.value?a.value=[(p=r.data[0])==null?void 0:p.name]:a.value=r.data.map(E=>E.name):a.value=[]},{immediate:!0});const o=p=>{const E=p.split("/");return parseInt(E[1],10)},l=p=>{const E=new Array(12).fill(0),C=[];return p.forEach((x,m)=>{const[g,k]=Array.isArray(x.date)?[o(x.date[0]),o(x.date[1])]:[o(x.date),o(x.date)];let A=0;for(let O=g-1;O<k;O++)A=Math.max(A,E[O]);const D=A+1;for(let O=g-1;O<k;O++)E[O]=D;C.push({event:x,row:D,eventIndex:m,start:g,end:k})}),C},u=p=>{const E=Array.from({length:12},()=>[]);return p.forEach(C=>{const x=Array.isArray(C.date)?o(C.date[0]):o(C.date);E[x-1].push(C)}),E},d=p=>{const E=p.color||iE[p.type];return E!=null&&E.startsWith("--")?`var(${E})`:E},f=p=>p.icon?p.icon:rE[p.type];return(p,E)=>(e.openBlock(),e.createElementBlock("div",aE,[e.unref(n)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oE,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,C=>e.createElementVNode("div",{class:"month-header",key:C},e.toDisplayString(C),1)),64))])),e.createVNode(e.unref(T.OCollapse),{modelValue:a.value,"onUpdate:modelValue":E[0]||(E[0]=C=>a.value=C)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.data,(C,x)=>(e.openBlock(),e.createBlock(e.unref(T.OCollapseItem),{key:x,value:C.name},{title:e.withCtx(()=>[e.createElementVNode("div",lE,[e.createElementVNode("div",uE,[e.createElementVNode("div",{class:"title-icon",style:e.normalizeStyle({"--bg-color":d(C)})},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(f(C))))]),_:2},1024)],4),e.createElementVNode("span",null,e.toDisplayString(C.name),1)]),C.desc?(e.openBlock(),e.createElementBlock("div",cE,[e.withDirectives(e.createElementVNode("div",null,null,512),[[e.unref(t),C.desc]])])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[C.isSpanMonth?(e.openBlock(),e.createElementBlock("div",dE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l(C.data),({event:m,row:g,eventIndex:k,start:A,end:D})=>(e.openBlock(),e.createElementBlock("div",{key:k,class:e.normalizeClass(["event-item",{"event-item-center":m.align==="center","has-link":m.link}]),style:e.normalizeStyle({gridColumn:`${A} / ${D+1}`,gridRow:g,"--bg-color":d(C)||void 0})},[m.location?(e.openBlock(),e.createElementBlock("div",hE,e.toDisplayString(m.location),1)):e.createCommentVNode("",!0),e.createElementVNode("div",fE,[m.link?(e.openBlock(),e.createBlock(e.unref(T.OLink),e.mergeProps({key:0,href:m.link,target:"_blank"},{ref_for:!0},m.linkProps||{}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.name),1)]),_:2},1040,["href"])):(e.openBlock(),e.createElementBlock("span",mE,e.toDisplayString(m.name),1))])],6))),128))])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(n)?(e.openBlock(),e.createElementBlock("div",pE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u(C.data),(m,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:e.normalizeClass(["month-row",{"empty-month":m.length===0}])},[e.createElementVNode("div",gE,e.toDisplayString(s[g]),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,(k,A)=>(e.openBlock(),e.createElementBlock("div",{key:A,class:e.normalizeClass(["event-item",k.link?"has-link":""]),style:e.normalizeStyle({"--bd-color":d(C)||void 0})},[k.link?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,href:k.link,target:"_blank"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",vE,[e.createElementVNode("span",null,e.toDisplayString(k.name),1)]),e.createElementVNode("div",yE,e.toDisplayString(k.location),1)]),e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),_:2},1032,["href"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",CE,e.toDisplayString(k.name),1),e.createElementVNode("div",bE,e.toDisplayString(k.location),1)],64))],6))),128))],2))),128))])):(e.openBlock(),e.createElementBlock("div",TE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u(C.data),(m,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:"month-column"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,(k,A)=>(e.openBlock(),e.createElementBlock("div",{key:A,class:e.normalizeClass(["event-item",k.link?"has-link":""]),style:e.normalizeStyle({"--bg-color":d(C)||void 0})},[e.createElementVNode("div",kE,e.toDisplayString(k.location),1),e.createElementVNode("div",EE,[k.link?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,href:k.link,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(k.name),1)]),_:2},1032,["href"])):(e.openBlock(),e.createElementBlock("span",xE,e.toDisplayString(k.name),1))])],6))),128))]))),128))]))],64))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]))}});var ni=(i=>(i.FINISH="finish",i.ING="ing",i.ALL="",i))(ni||{});const na=(i,t)=>new Date(i).getTime()>new Date(t).getTime(),_E={class:"o-events-list"},AE={class:"filter-slot-wrapper"},wE={class:"filter-wrapper"},SE={class:"filter-left"},DE={class:"list-content"},BE={class:"tags-wrapper"},VE={class:"event-name"},NE={class:"event-desc"},IE={class:"event-date"},OE={key:0,class:"event-location"},M0=e.defineComponent({__name:"OEventsList",props:{data:{default:()=>[]},page:{},pageSize:{},total:{}},emits:["search"],setup(i,{emit:t}){const{t:n}=xe.useI18n(),{lePadV:r}=nt.useScreen(),s=i,a=[{label:n("events.statusAll"),value:ni.ALL},{label:n("events.statusIng"),value:ni.ING},{label:n("events.statusFinish"),value:ni.FINISH}],o=t,l=e.ref(ni.ALL),u=e.ref(""),d=e.ref(""),f=(x={})=>{o("search",Object.assign({page:s.page,pageSize:s.pageSize,status:l.value,keyword:d.value},x))},p=()=>{f()},E=()=>{d.value=u.value,f()},C=e.computed(()=>s.data.map(x=>{let m=x.startDate,g=x.endDate,k=Se(x.date).format("YYYY/MM/DD");if(m&&g){const A=Se().format("YYYY-01-01");na(A,m)&&(m=A);const D=Se().format("YYYY-12-31");na(g,D)&&(g=D),k=`${Se(m).format("YYYY/MM/DD")}-${Se(g).format("MM/DD")}`}return{...x,startDate:m,endDate:g,dateStr:k,status:na(new Date,x.date||x.endDate)?ni.FINISH:ni.ING}}).sort((x,m)=>na(x.date||x.endDate,m.date||m.endDate)?-1:1).map(x=>{var k,A,D;const m=(D=(A=(k=x.city)==null?void 0:k.replace("市",""))==null?void 0:A.replace("中国",""))==null?void 0:D.replaceAll(" ","");let g=null;return Array.isArray(ta[m])?g=ta[m][x.name.length%ta[m].length]:g=ta[m],g||(g=sE),{...x,cover:g}}));return(x,m)=>(e.openBlock(),e.createElementBlock("div",_E,[e.createElementVNode("div",AE,[e.renderSlot(x.$slots,"filter",{},()=>[e.createElementVNode("div",wE,[e.createElementVNode("div",SE,[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("events.status")),1),e.createVNode(e.unref(T.ORadioGroup),{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=g=>l.value=g),style:{"--radio-group-gap":"8px"},onChange:p},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(a,g=>e.createVNode(e.unref(T.ORadio),{key:g.value,value:g.value},{radio:e.withCtx(({checked:k})=>[e.createVNode(e.unref(T.OToggle),{checked:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.label),1)]),_:2},1032,["checked"])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),e.createVNode(e.unref(T.OInput),{size:"large",modelValue:u.value,"onUpdate:modelValue":m[1]||(m[1]=g=>u.value=g),placeholder:e.unref(n)("events.searchPlaceholder"),onPressEnter:E,onClear:E,clearable:""},{prefix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"input-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconSearch))]),_:1})]),_:1},8,["modelValue","placeholder"])])])]),e.createElementVNode("div",DE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,g=>(e.openBlock(),e.createBlock(e.unref(T.OCard),{key:g.name,cover:g.cover,href:g.link},{default:e.withCtx(()=>{var k;return[e.createElementVNode("div",BE,[(k=g.tags)!=null&&k.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(g.tags,A=>(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:A.title,size:"medium"},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(A.title),1)]),_:2},[A.icon?{name:"icon",fn:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.icon)))]),key:"0"}:void 0]),1024))),128)):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OTag),{class:"event-status"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.status===e.unref(ni).ING?e.unref(n)("events.statusIng"):e.unref(n)("events.statusFinish")),1)]),_:2},1024)]),e.createElementVNode("div",VE,e.toDisplayString(g.name),1),e.createElementVNode("div",NE,[e.createElementVNode("div",IE,e.toDisplayString(g.dateStr),1),e.createVNode(e.unref(T.ODivider),{direction:"v"}),g.city?(e.openBlock(),e.createElementBlock("div",OE,e.toDisplayString(g.city),1)):e.createCommentVNode("",!0)])]}),_:2},1032,["cover","href"]))),128))]),C.value.length?e.createCommentVNode("",!0):e.renderSlot(x.$slots,"empty",{key:0}),i.total>8?(e.openBlock(),e.createBlock(e.unref(T.OPagination),{key:1,page:i.page,simple:e.unref(r),"show-total":!0,pageSize:i.pageSize,total:i.total,onChange:f,pageSizes:[4,12,24,36,48]},null,8,["page","simple","pageSize","total"])):e.createCommentVNode("",!0)]))}}),PE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function LE(i,t){return e.openBlock(),e.createElementBlock("svg",PE,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#1da9ff",d:"M20.4 5.95c0.27-0.27 0.71-0.27 0.99 0 0.24 0.25 0.27 0.63 0.070 0.91l-0.070 0.080-10.5 10.47c-0.53 0.53-1.36 0.56-1.93 0.1l-0.11-0.1-5.23-5.2c-0.28-0.28-0.28-0.72-0.010-0.99 0.25-0.25 0.63-0.28 0.91-0.080l0.080 0.070 5.24 5.21c0.010 0.010 0.030 0.010 0.040 0.010l0.030-0.010 10.49-10.47z"},null,-1)])])}const ME={name:"events-icon-checked",render:LE},RE={class:"o-events-apply"},qE={class:"events-apply-grid"},FE={class:"timeline-number"},UE={class:"number-circle"},zE={class:"step-title"},HE={class:"step-idx"},jE={class:"step-desc"},XE={key:0},GE={class:"desc-list-wrapper"},QE={key:0,class:"desc-list-title"},YE={class:"desc-list-content"},KE={class:"desc-list-item-title"},WE={class:"desc-list-item-desc"},R0=e.defineComponent({__name:"OEventsApply",props:{steps:{}},setup(i){const{isDark:t}=ji(),n=Ti();return(r,s)=>(e.openBlock(),e.createElementBlock("div",RE,[e.createElementVNode("div",qE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.steps,(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[e.createElementVNode("div",FE,[e.createElementVNode("div",UE,e.toDisplayString(o+1),1)]),e.createElementVNode("div",{class:e.normalizeClass(["step-item",`step-${o+1} ${e.unref(t)?"is-dark":""}`]),style:{}},[e.createElementVNode("div",zE,[e.createElementVNode("div",HE,e.toDisplayString(o+1),1),e.createElementVNode("span",null,e.toDisplayString(a.title),1)]),e.createElementVNode("div",jE,[a.desc?e.withDirectives((e.openBlock(),e.createElementBlock("div",XE,null,512)),[[e.unref(n),a.desc]]):e.createCommentVNode("",!0),e.renderSlot(r.$slots,`step${o+1}`),e.createElementVNode("div",GE,[a.listTitle?(e.openBlock(),e.createElementBlock("div",QE,e.toDisplayString(a.listTitle),1)):e.createCommentVNode("",!0),e.createElementVNode("div",YE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.list,(l,u)=>(e.openBlock(),e.createElementBlock("div",{class:"desc-list-item",key:u},[e.createElementVNode("div",KE,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ME))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(l.title),1)]),e.createElementVNode("div",WE,e.toDisplayString(l.desc),1)]))),128))])])]),a.img?(e.openBlock(),e.createElementBlock("div",{key:0,class:"img-wrapper",style:e.normalizeStyle({backgroundImage:`url(${a.img})`})},null,4)):e.createCommentVNode("",!0),a.imgPhone?(e.openBlock(),e.createElementBlock("div",{key:1,class:"img-wrapper-phone",style:e.normalizeStyle({backgroundImage:`url(${a.imgPhone})`})},null,4)):e.createCommentVNode("",!0)],2)],64))),128))])]))}}),JE=Object.assign(L0,{install(i){i.component("OEventsCalendar",L0)}}),ZE=Object.assign(M0,{install(i){i.component("OEventsList",M0)}}),$E=Object.assign(R0,{install(i){i.component("OEventsApply",R0)}}),ex={class:"o-feedback-doc"},tx={class:"o-feedback-title"},nx={class:"o-feedback-doc-title"},ix={key:1,class:"o-feedback-input-wrap"},rx={key:2,class:"o-feedback-doc-btn-box"},sx={key:3,class:"o-feedback-doc-submit"},ax=e.defineComponent({__name:"OFeedbackDocContent",props:e.mergeModels({hideClose:{type:Boolean,default:!1},disableTip:{type:Boolean},inputRadius:{default:"var(--o-radius-xs)"},submitData:{},submitIssue:{}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:e.mergeModels(["change","close","submit"],["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(i,{emit:t}){const n=T.useMessage(null),{lePadV:r}=nt.useScreen(),{locale:s,t:a}=xe.useI18n(),o=i,l=e.useModel(i,"efficiency"),u=e.useModel(i,"accuracy"),d=e.useModel(i,"completeness"),f=e.useModel(i,"usability"),p=e.useModel(i,"feedback"),E=t,C=e.reactive([{key:"efficiency",name:{zh:"获取效率",en:"Retrieval efficiency"},value:l,isChange:!1},{key:"accuracy",name:{zh:"正确性",en:"Accuracy"},value:u,isChange:!1},{key:"completeness",name:{zh:"完整性",en:"Completeness"},value:d,isChange:!1},{key:"usability",name:{zh:"易理解",en:"Comprehensibility"},value:f,isChange:!1}]),x=e.computed(()=>C.every(M=>M.value>0)&&C.some(M=>M.value>0&&M.value<=3)),m=e.computed(()=>C.some(M=>M.value===0)),g=()=>{E("close")},k=M=>{M.isChange=!0,E("change")},A=()=>{E("close"),C.forEach(M=>{M.value=0,M.isChange=!1})},D=e.ref(!1),O=async M=>{if(D.value)return;D.value=!0;const V={feedbackPageUrl:window.location.href,efficiency:l.value,accuracy:u.value,completeness:d.value,usability:f.value,feedback:p.value};E("submit",V);try{M==="issue"&&o.submitIssue?await o.submitIssue(V)?A():o.disableTip||n.danger(a("feedback.submitFailed")):o.submitData&&(await o.submitData(V)?(o.disableTip||n.success(a("feedback.submitSuccess")),A()):o.disableTip||n.danger(a("feedback.submitFailed")))}catch{o.disableTip||n.danger(a("feedback.submitFailed"))}finally{D.value=!1}};return(M,V)=>(e.openBlock(),e.createElementBlock("div",ex,[i.hideClose?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"o-feedback-icon-close",onClick:g},{default:e.withCtx(()=>[e.createVNode(e.unref(Ma))]),_:1})),e.createElementVNode("div",tx,e.toDisplayString(e.unref(a)("feedback.docRating")),1),e.createElementVNode("div",{class:e.normalizeClass(["o-feedback-star-wrap",{en:e.unref(s)!=="zh"}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C,S=>(e.openBlock(),e.createElementBlock("div",{key:S.key,class:"o-feedback-star-line"},[e.createElementVNode("div",nx,e.toDisplayString(S.name[e.unref(s)]),1),e.createVNode(e.unref(T.ORate),{modelValue:S.value,"onUpdate:modelValue":L=>S.value=L,class:e.normalizeClass(["o-feedback-doc-rate",{en:e.unref(s)!=="zh"}]),size:e.unref(r)?"large":"medium",count:5,color:"primary",onChange:L=>k(S)},null,8,["modelValue","onUpdate:modelValue","class","size","onChange"])]))),128))],2),x.value?(e.openBlock(),e.createElementBlock("div",ix,[e.createVNode(e.unref(T.OTextarea),{modelValue:p.value,"onUpdate:modelValue":V[0]||(V[0]=S=>p.value=S),class:"o-feedback-input","max-length":200,resize:"none",placeholder:e.unref(a)("feedback.placeholder"),style:e.normalizeStyle({"--input-radius":o.inputRadius,"--_box-radius":o.inputRadius})},null,8,["modelValue","placeholder","style"])])):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("div",rx,[x.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",size:"large",onClick:V[1]||(V[1]=S=>O("issue"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submitIssue")),1)]),_:1}),e.createVNode(e.unref(T.ODivider),{class:"divider-btn",direction:"v"}),e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",size:"large",onClick:V[2]||(V[2]=S=>O("directly"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submitDirectly")),1)]),_:1})],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",size:"large",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.cancel")),1)]),_:1}),e.createVNode(e.unref(T.ODivider),{class:"divider-btn",direction:"v"}),e.createVNode(e.unref(T.OButton),{color:"normal",variant:"text",size:"large",disabled:m.value,onClick:V[3]||(V[3]=S=>O("directly"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submit")),1)]),_:1},8,["disabled"])],64))])):(e.openBlock(),e.createElementBlock("div",sx,[x.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(T.OLink),{color:"primary","hover-underline":!1,onClick:V[4]||(V[4]=S=>O("directly"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submitDirectly")),1)]),_:1}),e.createVNode(e.unref(T.OLink),{color:"primary","hover-underline":!1,onClick:V[5]||(V[5]=S=>O("issue"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submitIssue")),1)]),_:1})],64)):(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:1,color:"primary","hover-underline":!1,disabled:m.value,onClick:V[6]||(V[6]=S=>O("directly"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("feedback.submit")),1)]),_:1},8,["disabled"]))]))]))}}),Pa=xe._export_sfc(ax,[["__scopeId","data-v-994ce5c5"]]),ox=e.defineComponent({__name:"OFeedbackDocPopup",props:e.mergeModels({visible:{type:Boolean,default:!1},wrapper:{},target:{default:null},autoHide:{type:Boolean,default:!0},position:{default:"lt"},disableTip:{type:Boolean},offset:{default:24},radius:{default:"var(--o-radius-xs)"},inputRadius:{default:"var(--o-radius-xs)"},submitData:{},submitIssue:{}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:e.mergeModels(["change","close"],["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(i,{emit:t}){const n=t,r=e.useModel(i,"efficiency"),s=e.useModel(i,"accuracy"),a=e.useModel(i,"completeness"),o=e.useModel(i,"usability"),l=e.useModel(i,"feedback"),{locale:u}=xe.useI18n();return(d,f)=>(e.openBlock(),e.createBlock(e.unref(T.OPopup),{visible:i.visible,target:i.target,"auto-hide":i.autoHide,offset:i.offset,wrapper:i.wrapper,position:i.position,trigger:"hover",style:e.normalizeStyle({"--popup-radius":i.radius,"--popup-shadow":"var(--o-shadow-2)","--popup-bg-color":"var(--o-color-fill2)","--popup-padding":"12px","--popup-min-width":e.unref(u)!=="zh"?"296px":"240px",cursor:"default"})},{default:e.withCtx(()=>[e.createVNode(Pa,{efficiency:r.value,"onUpdate:efficiency":f[0]||(f[0]=p=>r.value=p),accuracy:s.value,"onUpdate:accuracy":f[1]||(f[1]=p=>s.value=p),completeness:a.value,"onUpdate:completeness":f[2]||(f[2]=p=>a.value=p),usability:o.value,"onUpdate:usability":f[3]||(f[3]=p=>o.value=p),feedback:l.value,"onUpdate:feedback":f[4]||(f[4]=p=>l.value=p),"disable-tip":i.disableTip,"input-radius":i.inputRadius,"submit-data":i.submitData,"submit-issue":i.submitIssue,onChange:f[5]||(f[5]=p=>n("change")),onClose:f[6]||(f[6]=p=>n("close"))},null,8,["efficiency","accuracy","completeness","usability","feedback","disable-tip","input-radius","submit-data","submit-issue"])]),_:1},8,["visible","target","auto-hide","offset","wrapper","position","style"]))}}),jl=xe._export_sfc(ox,[["__scopeId","data-v-61cd944c"]]),Xl=e.defineComponent({__name:"OFeedbackDocDialog",props:e.mergeModels({disableTip:{type:Boolean},radius:{default:"var(--o-radius-xs)"},inputRadius:{default:"var(--o-radius-xs)"},submitData:{},submitIssue:{}},{visible:{type:Boolean,default:!1},visibleModifiers:{},efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:e.mergeModels(["change","close"],["update:visible","update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(i,{emit:t}){const n=i,r=t,{isPhone:s}=nt.useScreen(),a=e.useModel(i,"visible"),o=e.useModel(i,"efficiency"),l=e.useModel(i,"accuracy"),u=e.useModel(i,"completeness"),d=e.useModel(i,"usability"),f=e.useModel(i,"feedback"),p=e.computed(()=>s.value?`${n.radius} ${n.radius} 0 0`:n.radius),E=C=>{C||r("close")};return(C,x)=>(e.openBlock(),e.createBlock(e.unref(T.ODialog),{visible:a.value,"onUpdate:visible":x[7]||(x[7]=m=>a.value=m),size:"small","phone-half-full":!0,scroller:!1,style:e.normalizeStyle({"--dlg-width":e.unref(s)?"100%":"424px","--dlg-radius":p.value}),onChange:E},{default:e.withCtx(()=>[e.createVNode(Pa,{efficiency:o.value,"onUpdate:efficiency":x[0]||(x[0]=m=>o.value=m),accuracy:l.value,"onUpdate:accuracy":x[1]||(x[1]=m=>l.value=m),completeness:u.value,"onUpdate:completeness":x[2]||(x[2]=m=>u.value=m),usability:d.value,"onUpdate:usability":x[3]||(x[3]=m=>d.value=m),feedback:f.value,"onUpdate:feedback":x[4]||(x[4]=m=>f.value=m),"hide-close":!0,"disable-tip":i.disableTip,"input-radius":i.inputRadius,"submit-data":i.submitData,"submit-issue":i.submitIssue,onChange:x[5]||(x[5]=m=>r("change")),onClose:x[6]||(x[6]=m=>r("close"))},null,8,["efficiency","accuracy","completeness","usability","feedback","disable-tip","input-radius","submit-data","submit-issue"])]),_:1},8,["visible","style"]))}}),lx={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ux(i,t){return e.openBlock(),e.createElementBlock("svg",lx,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7 0 2.436-0.902 4.732-2.502 6.503-1.827 2.021-4.419 3.197-7.198 3.197-5.357 0-9.7-4.343-9.7-9.7s4.343-9.7 9.7-9.7zM12 3.7c-4.584 0-8.3 3.716-8.3 8.3s3.716 8.3 8.3 8.3c2.379 0 4.595-1.005 6.159-2.736 1.37-1.515 2.141-3.479 2.141-5.564 0-4.584-3.716-8.3-8.3-8.3zM17.326 13.329c0.342 0.18 0.474 0.603 0.294 0.945-1.082 2.057-3.236 3.374-5.626 3.374-2.378 0-4.524-1.305-5.611-3.346-0.182-0.341-0.052-0.765 0.289-0.947s0.765-0.052 0.947 0.289c0.845 1.587 2.517 2.604 4.375 2.604 1.867 0 3.546-1.027 4.387-2.626 0.18-0.342 0.603-0.474 0.945-0.294zM7.25 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25zM16.75 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25z"},null,-1)])])}const cx={name:"components-icon-smile",render:ux},dx=e.defineComponent({__name:"OFeedbackDoc",props:e.mergeModels({wrapper:{},target:{},position:{},disableTip:{type:Boolean},offset:{},radius:{default:"var(--o-radius-xs)"},inputRadius:{default:"var(--o-radius-xs)"},submitData:{},submitIssue:{}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"],setup(i){const t=e.useModel(i,"efficiency"),n=e.useModel(i,"accuracy"),r=e.useModel(i,"completeness"),s=e.useModel(i,"usability"),a=e.useModel(i,"feedback"),{lePadV:o}=nt.useScreen(),l=e.ref(),u=e.ref(!1),d=e.ref(!1),f=e.ref(!0);let p;const E=()=>{o.value||(clearTimeout(p),d.value=!0)},C=()=>{o.value||f.value&&(clearTimeout(p),p=setTimeout(()=>{d.value=!1},300))},x=()=>{u.value=!1,d.value=!1,f.value=!0,t.value=0,n.value=0,r.value=0,s.value=0,a.value=""},m=()=>{f.value=!1},g=()=>{o.value&&(u.value=!0)};return(k,A)=>(e.openBlock(),e.createElementBlock("div",{id:"o-feedback-doc-wrap",class:"o-feedback-doc-wrap",onMouseenter:E,onMouseleave:C},[e.renderSlot(k.$slots,"default",{},()=>[e.createVNode(e.unref(T.OIcon),{ref_key:"feedbackRef",ref:l,class:"o-feedback-icon-smile",onClick:g},{default:e.withCtx(()=>[e.createVNode(e.unref(cx))]),_:1},512)],!0),e.unref(o)?(e.openBlock(),e.createBlock(Xl,{key:0,visible:u.value,"onUpdate:visible":A[0]||(A[0]=D=>u.value=D),efficiency:t.value,"onUpdate:efficiency":A[1]||(A[1]=D=>t.value=D),accuracy:n.value,"onUpdate:accuracy":A[2]||(A[2]=D=>n.value=D),completeness:r.value,"onUpdate:completeness":A[3]||(A[3]=D=>r.value=D),usability:s.value,"onUpdate:usability":A[4]||(A[4]=D=>s.value=D),feedback:a.value,"onUpdate:feedback":A[5]||(A[5]=D=>a.value=D),"disable-tip":i.disableTip,radius:i.radius,"input-radius":i.inputRadius,"submit-data":i.submitData,"submit-issue":i.submitIssue,onChange:m,onClose:x},null,8,["visible","efficiency","accuracy","completeness","usability","feedback","disable-tip","radius","input-radius","submit-data","submit-issue"])):(e.openBlock(),e.createBlock(jl,{key:1,efficiency:t.value,"onUpdate:efficiency":A[6]||(A[6]=D=>t.value=D),accuracy:n.value,"onUpdate:accuracy":A[7]||(A[7]=D=>n.value=D),completeness:r.value,"onUpdate:completeness":A[8]||(A[8]=D=>r.value=D),usability:s.value,"onUpdate:usability":A[9]||(A[9]=D=>s.value=D),feedback:a.value,"onUpdate:feedback":A[10]||(A[10]=D=>a.value=D),visible:d.value,target:i.target||l.value,"auto-hide":f.value,wrapper:i.wrapper||"#o-feedback-doc-wrap",position:i.position,"disable-tip":i.disableTip,offset:i.offset,radius:i.radius,"input-radius":i.inputRadius,"submit-data":i.submitData,"submit-issue":i.submitIssue,onChange:m,onClose:x},null,8,["efficiency","accuracy","completeness","usability","feedback","visible","target","auto-hide","wrapper","position","disable-tip","offset","radius","input-radius","submit-data","submit-issue"]))],32))}}),q0=xe._export_sfc(dx,[["__scopeId","data-v-a8f7d8ef"]]),hx=Object.assign(q0,{install(i){i.component("OFeedbackDoc",q0)}}),fx=Object.assign(Pa,{install(i){i.component("OFeedbackDocContent",Pa)}}),mx=Object.assign(Xl,{install(i){i.component("OFeedbackDocDialog",Xl)}}),px=Object.assign(jl,{install(i){i.component("OFeedbackDocPopup",jl)}}),gx={key:0,class:"o-float-poster"},vx=["href","target"],yx=["src"],Cx=e.defineComponent({__name:"OFloatPoster",props:e.mergeModels({wrapper:{},img:{},href:{},target:{default:"_blank"},closeStorageKey:{}},{visible:{type:Boolean,default:!0},visibleModifiers:{}}),emits:e.mergeModels(["update:visible","close","visit"],["update:visible"]),setup(i,{emit:t}){const n=i,r=t,s=e.useModel(i,"visible"),a=e.computed(()=>n.wrapper||"body");e.onMounted(()=>{T.isClient&&n.closeStorageKey&&sessionStorage.getItem(n.closeStorageKey)&&(s.value=!1)});function o(){s.value=!1,T.isClient&&n.closeStorageKey&&sessionStorage.setItem(n.closeStorageKey,"1"),r("close")}function l(){r("visit",n.href)}return(u,d)=>(e.openBlock(),e.createBlock(xe._sfc_main,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.createVNode(e.Transition,{name:"o-float-poster"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",gx,[i.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"o-float-poster__link",href:i.href,target:i.target,rel:"noopener noreferrer",onClick:l},null,8,vx)):e.createCommentVNode("",!0),e.createElementVNode("img",{class:"o-float-poster__img",src:i.img},null,8,yx),e.createElementVNode("div",{class:"o-float-poster__close",onClick:o})])):e.createCommentVNode("",!0)]),_:1})],8,["to"]))]),_:1}))}}),F0=xe._export_sfc(Cx,[["__scopeId","data-v-e67cdd62"]]),bx=Object.assign(F0,{install(i){i.component("OFloatPoster",F0)}}),Tx={key:0,class:"info"},kx={class:"info-text"},Ex=["href","target"],xx=["src"],_x={key:1,class:"content"},Ax={key:0,class:"quick-nav"},wx={class:"quick-title"},Sx=["href","target"],Dx={key:0,class:"friendship-link"},Bx={class:"friendship-link-title"},Vx={class:"friendship-link-box"},Nx=["href","target"],Ix={class:"footer-bottom"},Ox={key:0,class:"footer-logo"},Px=["src"],Lx=["href"],Mx={key:1,class:"footer-option"},Rx={class:"footer-option-item"},qx=["href","target"],Fx={class:"license"},Ux={class:"license-text"},zx={class:"license-info"},Hx={class:"copyright"},jx={class:"copyright-left"},Xx={class:"copyright-text"},Gx=["href"],Qx={class:"filing"},Yx=["src"],Kx={class:"beian-info"},Wx={key:2,class:"footer-right"},Jx=["src"],Zx={class:"txt"},$x=e.defineComponent({__name:"FooterList",props:{simple:{type:Boolean},info:{},quickNav:{},friendshipLink:{},footerLogo:{},footerOption:{},qrcode:{},footerBgImg:{}},setup(i){const{lePadV:t}=nt.useScreen(),n=i,r=(s,a)=>a||(s!=null&&s.startsWith("http")?"_blank":void 0);return(s,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.$slots.info||n.info?e.renderSlot(s.$slots,"info",{key:0},()=>{var o,l,u,d;return[i.info?(e.openBlock(),e.createElementBlock("div",Tx,[e.createElementVNode("p",kx,e.toDisplayString((o=i.info)==null?void 0:o.title),1),e.createElementVNode("a",{href:(l=i.info)==null?void 0:l.href,target:r(i.info.href,(u=i.info)==null?void 0:u.target)},[e.createElementVNode("img",{src:(d=i.info)==null?void 0:d.logo,class:"info-logo",alt:""},null,8,xx)],8,Ex)])):e.createCommentVNode("",!0)]},!0):e.createCommentVNode("",!0),s.$slots.quickNav||n.quickNav||s.$slots.friendshipLink||n.friendshipLink?(e.openBlock(),e.createElementBlock("div",_x,[s.$slots.quickNav||n.quickNav?e.renderSlot(s.$slots,"quickNav",{key:0},()=>[i.quickNav&&!e.unref(t)?(e.openBlock(),e.createElementBlock("div",Ax,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.quickNav,o=>(e.openBlock(),e.createElementBlock("div",{key:o.title,class:"nav"},[e.createElementVNode("div",wx,e.toDisplayString(o.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.children,l=>(e.openBlock(),e.createElementBlock("p",{key:l.title,class:"nav-item"},[e.createElementVNode("a",{href:l.href,target:r(l.href,l==null?void 0:l.target),rel:"noopener noreferrer"},e.toDisplayString(l.title),9,Sx)]))),128))]))),128))])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),s.$slots.friendshipLink||n.friendshipLink?e.renderSlot(s.$slots,"friendshipLink",{key:1},()=>[i.friendshipLink?(e.openBlock(),e.createElementBlock("div",Dx,[e.createElementVNode("div",Bx,e.toDisplayString(i.friendshipLink.title),1),e.createElementVNode("div",Vx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.friendshipLink.children,o=>(e.openBlock(),e.createElementBlock("a",{href:o.href,key:o.href,target:r(o.href,o==null?void 0:o.target)},e.toDisplayString(o.title),9,Nx))),128))])])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"footer",{},()=>[e.createElementVNode("div",Ix,[i.footerLogo&&!e.unref(t)?(e.openBlock(),e.createElementBlock("div",Ox,[e.createElementVNode("img",{src:i.footerLogo.logo,alt:""},null,8,Px),e.createElementVNode("p",null,[e.createElementVNode("a",{href:`mailto:${i.footerLogo.email}`,target:"_blank",class:"email"},e.toDisplayString(i.footerLogo.email),9,Lx)])])):e.createCommentVNode("",!0),i.footerOption?(e.openBlock(),e.createElementBlock("div",Mx,[e.createElementVNode("div",Rx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.footerOption.children,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o.href},[e.createElementVNode("a",{href:o.href,target:r(o.href,o==null?void 0:o.target)},e.toDisplayString(o.title),9,qx),l!==i.footerOption.children.length-1?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("p",Fx,[e.createElementVNode("span",Ux,e.toDisplayString(i.footerOption.licenseText),1),e.createElementVNode("span",zx,e.toDisplayString(i.footerOption.licenseInfo),1)]),e.createElementVNode("div",Hx,[e.createElementVNode("div",jx,[e.createElementVNode("p",Xx,e.toDisplayString(i.footerOption.copyright),1),e.createElementVNode("a",{href:i.footerOption.beianLink,target:"_blank",class:"beian-info"},e.toDisplayString(i.footerOption.beianInfo1),9,Gx)]),e.createElementVNode("div",Qx,[e.createElementVNode("img",{src:i.footerOption.policeIcon,class:"filing-img"},null,8,Yx),e.createElementVNode("p",Kx,e.toDisplayString(i.footerOption.beianInfo2),1)])])])):e.createCommentVNode("",!0),i.qrcode?(e.openBlock(),e.createElementBlock("div",Wx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.qrcode,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:l,class:"code-pop"},[e.createElementVNode("img",{src:o.img,alt:""},null,8,Jx),e.createElementVNode("p",Zx,e.toDisplayString(o.label),1)]))),128))])):e.createCommentVNode("",!0)])],!0)],64))}}),e_=xe._export_sfc($x,[["__scopeId","data-v-69b84a8a"]]),t_={class:"footer-content"},n_={class:"copyright-left"},i_={class:"copyright-text"},r_=["href"],s_={class:"filing"},a_=["src"],o_={class:"beian-info"},l_={key:0,class:"footer-right"},u_=["href","target"],c_=e.defineComponent({__name:"FooterSimple",props:{simple:{type:Boolean},info:{},quickNav:{},friendshipLink:{},footerLogo:{},footerOption:{},qrcode:{},footerBgImg:{}},setup(i){const{isPhone:t}=nt.useScreen(),n=e.ref(),r=e.ref(!1);let s=null;const a=()=>{const l=n.value;!l||l.children.length<2||(r.value=l.children[0].getBoundingClientRect().top!==l.children[l.children.length-1].getBoundingClientRect().top)};e.onMounted(()=>{n.value&&(a(),s=new ResizeObserver(a),s.observe(n.value))}),e.onBeforeUnmount(()=>{s==null||s.disconnect()});const o=(l,u)=>u||(l!=null&&l.startsWith("http")?"_blank":void 0);return(l,u)=>(e.openBlock(),e.createElementBlock("div",t_,[l.$slots.left||i.footerOption?e.renderSlot(l.$slots,"left",{key:0},()=>[i.footerOption?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"footerLeftRef",ref:n,class:e.normalizeClass(["footer-left",{"footer-left-wrapped":r.value}])},[e.createElementVNode("div",n_,[e.createElementVNode("p",i_,e.toDisplayString(i.footerOption.copyright),1),e.createElementVNode("a",{href:i.footerOption.beianLink,target:"_blank",class:"beian-info"},e.toDisplayString(i.footerOption.beianInfo1),9,r_)]),!e.unref(t)&&!r.value?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0),e.createElementVNode("div",s_,[e.createElementVNode("img",{src:i.footerOption.policeIcon,class:"filing-img"},null,8,a_),e.createElementVNode("p",o_,e.toDisplayString(i.footerOption.beianInfo2),1)])],2)):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0),l.$slots.right||i.footerOption?e.renderSlot(l.$slots,"right",{key:1},()=>[i.footerOption?(e.openBlock(),e.createElementBlock("div",l_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.footerOption.children,(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.href},[e.createElementVNode("a",{href:d.href,target:o(d.href,d==null?void 0:d.target)},e.toDisplayString(d.title),9,u_),f!==i.footerOption.children.length-1?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0)],!0):e.createCommentVNode("",!0)]))}}),d_=xe._export_sfc(c_,[["__scopeId","data-v-962bf858"]]),h_=e.defineComponent({__name:"OFooter",props:{simple:{type:Boolean,default:!1},info:{},quickNav:{},friendshipLink:{},footerLogo:{},footerOption:{},qrcode:{},footerBgImg:{}},setup(i){const t=e.useSlots();return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-footer",{"app-footer-simple":i.simple}])},[i.simple?(e.openBlock(),e.createElementBlock("div",{key:1,class:"app-footer-content app-footer-simple-content",style:e.normalizeStyle({backgroundImage:`url(${i.footerBgImg})`})},[e.createVNode(d_,{"footer-option":i.footerOption},e.createSlots({_:2},[e.unref(t).left?{name:"left",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"left",{},void 0,!0)]),key:"0"}:void 0,e.unref(t).right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"right",{},void 0,!0)]),key:"1"}:void 0]),1032,["footer-option"])],4)):(e.openBlock(),e.createElementBlock("div",{key:0,class:"app-footer-content",style:e.normalizeStyle({backgroundImage:`url(${i.footerBgImg})`})},[e.createVNode(e_,{info:i.info,"quick-nav":i.quickNav,"friendship-link":i.friendshipLink,"footer-logo":i.footerLogo,"footer-option":i.footerOption,qrcode:i.qrcode},e.createSlots({_:2},[e.unref(t).info?{name:"info",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"info",{},void 0,!0)]),key:"0"}:void 0,e.unref(t).quickNav?{name:"quickNav",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"quickNav",{},void 0,!0)]),key:"1"}:void 0,e.unref(t).friendshipLink?{name:"friendshipLink",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"friendshipLink",{},void 0,!0)]),key:"2"}:void 0,e.unref(t).footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"footer",{},void 0,!0)]),key:"3"}:void 0]),1032,["info","quick-nav","friendship-link","footer-logo","footer-option","qrcode"])],4))],2))}}),U0=xe._export_sfc(h_,[["__scopeId","data-v-99cd0044"]]),f_=Object.assign(U0,{install(i){i.component("OFooter",U0)}}),m_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function p_(i,t){return e.openBlock(),e.createElementBlock("svg",m_,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.461 11.616l4.719-3.932c0.212-0.177 0.527-0.148 0.704 0.064 0.075 0.090 0.116 0.203 0.116 0.32v7.865c0 0.276-0.224 0.5-0.5 0.5-0.117 0-0.23-0.041-0.32-0.116l-4.719-3.932c-0.212-0.177-0.241-0.492-0.064-0.704 0.019-0.023 0.041-0.045 0.064-0.064z"},null,-1)])])}const dm={name:"components-icon-caret-left",render:p_},g_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function v_(i,t){return e.openBlock(),e.createElementBlock("svg",g_,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M14.539 11.616l-4.719-3.932c-0.212-0.177-0.527-0.148-0.704 0.064-0.075 0.090-0.116 0.203-0.116 0.32v7.865c0 0.276 0.224 0.5 0.5 0.5 0.117 0 0.23-0.041 0.32-0.116l4.719-3.932c0.212-0.177 0.241-0.492 0.064-0.704-0.019-0.023-0.041-0.045-0.064-0.064z"},null,-1)])])}const hm={name:"components-icon-caret-right",render:v_},Fi=i=>{if(!i)return!1;const t=new Date(`${i}T23:59:59.999`).getTime();return!Number.isNaN(t)&&Date.now()>t},ll=i=>"href"in i,dr=(i,t)=>t||(i!=null&&i.startsWith("http")?"_blank":void 0),y_={class:"header-nav-wrap"},C_={key:0,class:"left-icon"},b_=["onMouseenter","onMouseleave"],T_=["id"],k_={class:"nav-text"},E_=["id","onClick"],x_={class:"nav-text"},__={key:1,class:"right-icon"},A_=e.defineComponent({__name:"HeaderNav",props:{navData:{},community:{},activeIndex:{},hoverId:{}},emits:["handle-mouseenter","handle-mouseleave","handle-click","nav-layout"],setup(i,{emit:t}){const n=t,r=i,s=e.ref(),a=e.ref(!1),o=e.ref(!1),l=e.ref(),u=ct.useDebounceFn((G,z)=>{l.value=G==null?void 0:G.id,z==="mouseenter"&&n("handle-mouseenter",G),z==="mouseleave"&&(l.value="",n("handle-mouseleave",G))},100),d=G=>{n("handle-click",G)},f=e.ref(),p=e.ref(),{width:E}=ct.useElementSize(f),{width:C}=ct.useElementSize(p),x=e.inject("headerUserFullWidth"),m=e.inject("isSearchHidden"),g=e.inject("shrinkUserOrSearch"),k=e.inject("expandUser"),A=e.inject("expandSearch");ct.watchDebounced(()=>Math.floor(E.value-C.value),G=>{if(G<=0){g==null||g();return}if(G>161&&(m!=null&&m.value)){A==null||A();return}x!=null&&x.value&&G>x.value&&(k==null||k())},{debounce:100,immediate:!0});const D=e.ref(),O=e.ref(),M=()=>{s.value.scrollTo({left:s.value.clientWidth,behavior:"smooth"})},V=()=>{s.value.scrollTo({left:0,behavior:"smooth"})};let S=!1;ct.useIntersectionObserver([D,O],G=>{G.forEach(Z=>{Z.target===D.value&&(o.value=!Z.isIntersecting),Z.target===O.value&&(a.value=!Z.isIntersecting)});const z=o.value||a.value;z!==S&&(S=z,n("nav-layout",z))},{root:s,threshold:0});const L=e.inject("navFirstHoverTime"),w=e.inject("navStepCount"),B=e.inject("increNavStepCount"),F=e.inject("updateNavFirstHoverTime"),Q=e.inject("clearNavHandleTrace"),I=()=>Q==null?void 0:Q(),q=G=>(F==null||F(),B==null||B(),{event:"hover",properties:{module:"navigation",level1:G,target:G}}),U=G=>({properties:{module:"navigation",level1:G.label,target:G.label,...w&&{steps:w.value},url:G.href,...(L==null?void 0:L.value)&&{duration:Date.now()-L.value}}});return(G,z)=>{var W;const Z=e.resolveDirective("analytics");return e.openBlock(),e.createElementBlock("div",y_,[e.createElementVNode("div",{ref_key:"headerNavRef",ref:f,class:"header-nav"},[o.value?(e.openBlock(),e.createElementBlock("div",C_,[e.createVNode(e.unref(T.OIcon),{onClick:V},{default:e.withCtx(()=>[e.createVNode(e.unref(dm))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"navRef",ref:s,class:e.normalizeClass(["o-nav",{"o-nav-scroll":o.value||!a.value}])},[e.createElementVNode("ul",{ref_key:"navListRef",ref:p,class:e.normalizeClass(["o-nav-list",[(W=r.community)==null?void 0:W.toLowerCase()]]),onMouseenter:I},[e.createElementVNode("li",{ref_key:"navStartRef",ref:D,class:"nav-sentinel","aria-hidden":"true"},null,512),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.navData,(R,Y)=>{var j,ae;return e.withDirectives((e.openBlock(),e.createElementBlock("li",{key:R.id,class:e.normalizeClass({"is-selected":l.value===R.id||r.hoverId===R.id,"is-active":r.activeIndex===Y||r.activeIndex===R.id,"is-disabled":R==null?void 0:R.disabled}),onMouseenter:he=>e.unref(u)(R,"mouseenter"),onMouseleave:he=>e.unref(u)(R,"mouseleave")},[(j=R==null?void 0:R.children)!=null&&j.length?(e.openBlock(),e.createElementBlock("div",{key:0,id:"tour_headerNav_"+R.id,class:"nav-item"},[e.createElementVNode("span",k_,e.toDisplayString(R.label),1)],8,T_)):(e.openBlock(),e.createElementBlock("div",{key:1,id:"tour_headerNav_"+R.id,class:"nav-item item-other",onClick:he=>d(R)},[e.createElementVNode("span",x_,e.toDisplayString(R.label),1),R.tag&&!e.unref(Fi)(R.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,color:"danger",size:"small",round:"pill",class:e.normalizeClass(["content-tag",`tag-${(ae=R==null?void 0:R.tag)==null?void 0:ae.toLowerCase()}`])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(R.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,E_))],42,b_)),[[Z,()=>q(R.label),"mouseenter"],[Z,()=>U(R)]])}),128)),e.createElementVNode("li",{ref_key:"navEndRef",ref:O,class:"nav-sentinel","aria-hidden":"true"},null,512)],34)],2),a.value?(e.openBlock(),e.createElementBlock("div",__,[e.createVNode(e.unref(T.OIcon),{onClick:M},{default:e.withCtx(()=>[e.createVNode(e.unref(hm))]),_:1})])):e.createCommentVNode("",!0)],512)])}}}),w_=xe._export_sfc(A_,[["__scopeId","data-v-01bf1a8c"]]),S_={class:"header-content-nav"},D_={class:"nav-sub-content"},B_={class:"content-left"},V_={class:"content-label"},N_={class:"content-container"},I_=["href","target"],O_={class:"popover-shortcut"},P_={key:0,class:"desc-container"},L_={class:"popover-item-desc"},M_={key:0,class:"split-line"},R_={key:1,class:"content-right"},q_={class:"content-label"},F_=["href","target"],U_={class:"popover-shortcut"},z_=["href","target"],H_=["src"],j_={class:"review-content"},X_={class:"popover-shortcut"},G_={class:"popover-shortcut"},Q_=e.defineComponent({__name:"HeaderContent",props:{itemData:{},itemVisible:{type:Boolean},itemActive:{type:Boolean},community:{},bgLeft:{},bgRight:{},hoverIndex:{}},emits:["handle-mouseenter-sub","handle-mouseleave-sub"],setup(i,{emit:t}){const n=t,r=i,{locale:s,t:a}=xe.useI18n(),{theme:o,isDark:l}=ji(),u=e.ref(!1),d=()=>{var V;n("handle-mouseenter-sub",(V=r.itemData)==null?void 0:V.id),u.value=!0},f=()=>{n("handle-mouseleave-sub",""),u.value=!1},p=e.ref(!1),E=V=>{if(!V||!V.target)return;const S=V.target;p.value=S.clientHeight<S.scrollHeight},C=e.ref(!1),x=V=>{if(!V||!V.target)return;const S=V.target;C.value=S.clientHeight<S.scrollHeight},m=e.inject("hoveringNavLiName"),g=e.inject("closeNavPanel"),k=()=>{g==null||g(),u.value=!1},A=e.inject("navFirstHoverTime"),D=e.inject("navStepCount"),O=(V,S)=>({properties:{module:"navigation",level1:(m==null?void 0:m.value)??"",level2:V.label,level3:S.label,target:S.label,url:V.href,...D&&{steps:D.value},...(A==null?void 0:A.value)&&{duration:Date.now()-A.value}}}),M=V=>({properties:{module:"navigation",level1:(m==null?void 0:m.value)??"",level2:a("header.quickLink"),level3:V.label,target:V.label,url:V.href,...D&&{steps:D.value},...(A==null?void 0:A.value)&&{duration:Date.now()-A.value}}});return(V,S)=>{var w,B,F;const L=e.resolveDirective("analytics");return e.openBlock(),e.createElementBlock("div",{onMouseenter:d,onMouseleave:f},[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["nav-content",[(w=r.community)==null?void 0:w.toLowerCase(),r.hoverIndex,e.unref(o),`${r.hoverIndex}-${e.unref(s)}`]])},[e.createElementVNode("div",{class:"nav-background-left",style:e.normalizeStyle({backgroundImage:`url(${r.bgLeft})`})},null,4),e.createElementVNode("div",{class:"nav-background-right",style:e.normalizeStyle({backgroundImage:`url(${r.bgRight})`})},null,4),e.createElementVNode("div",S_,[e.createVNode(e.unref(T.OScroller),{class:"nav-scroller","show-type":"always",size:"small","disabled-y":""},{default:e.withCtx(()=>{var Q,I,q,U,G,z,Z,W;return[e.createElementVNode("div",D_,[e.createElementVNode("div",B_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Q=r.itemData)==null?void 0:Q.children,(R,Y)=>(e.openBlock(),e.createElementBlock("div",{class:"item-sub",key:Y},[e.createElementVNode("span",V_,e.toDisplayString(R.label),1),e.createElementVNode("div",N_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.children,j=>{var ae;return e.openBlock(),e.createElementBlock("div",{key:j.label,class:e.normalizeClass(["content-item",{"content-item-disabled":j==null?void 0:j.disabled}])},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:j.href,target:e.unref(dr)(j.href,j==null?void 0:j.target),rel:"noopener noreferrer",class:"item-label",onClick:k},[C.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:e.withCtx(()=>[e.createElementVNode("p",{class:"item-name",onMouseenter:S[0]||(S[0]=he=>x(he))},e.toDisplayString(j.label),33)]),default:e.withCtx(()=>[e.createElementVNode("p",O_,e.toDisplayString(j.label),1)]),_:2},1024)):(e.openBlock(),e.createElementBlock("p",{key:1,class:"item-name",onMouseenter:S[1]||(S[1]=he=>x(he))},e.toDisplayString(j.label),33)),j.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:2},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(j.icon)))]),_:2},1024)):e.createCommentVNode("",!0),j.tag&&!e.unref(Fi)(j.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:3,color:"danger",size:"small",round:"pill",class:e.normalizeClass(["content-tag",`tag-${(ae=j==null?void 0:j.tag)==null?void 0:ae.toLowerCase()}`])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,I_)),[[L,()=>O(R,j)]]),j.description?(e.openBlock(),e.createElementBlock("div",P_,[p.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass(["item-desc",[`item-desc-line-${j==null?void 0:j.line}`]]),onMouseenter:S[2]||(S[2]=he=>E(he))},e.toDisplayString(j.description),35)]),default:e.withCtx(()=>[e.createElementVNode("p",L_,e.toDisplayString(j.description),1)]),_:2},1024)):(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(["item-desc",[`item-desc-line-${j==null?void 0:j.line}`]]),onMouseenter:S[3]||(S[3]=he=>E(he))},e.toDisplayString(j.description),35))])):e.createCommentVNode("",!0)],2)}),128))])]))),128))]),(q=(I=r.itemData)==null?void 0:I.shortcut)!=null&&q.length?(e.openBlock(),e.createElementBlock("div",M_)):e.createCommentVNode("",!0),(G=(U=r.itemData)==null?void 0:U.shortcut)!=null&&G.length?(e.openBlock(),e.createElementBlock("div",R_,[e.createElementVNode("span",q_,e.toDisplayString(e.unref(a)("header.quickLink")),1),(z=r.itemData)!=null&&z.withPicture?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList((W=r.itemData)==null?void 0:W.shortcut,R=>e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:R.label,href:R.href,target:e.unref(dr)(R.href,R==null?void 0:R.target),rel:"noopener noreferrer",class:"review",onClick:k},[e.createElementVNode("img",{src:e.unref(l)&&(R!=null&&R.pictureDark)?R==null?void 0:R.pictureDark:R.picture,class:"review-picture",loading:"lazy"},null,8,H_),e.createElementVNode("div",j_,[p.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:e.withCtx(()=>[e.createElementVNode("p",{class:"review-label",onMouseenter:S[6]||(S[6]=Y=>E(Y))},e.toDisplayString(R.label),33)]),default:e.withCtx(()=>[e.createElementVNode("p",X_,e.toDisplayString(R.label),1)]),_:2},1024)):(e.openBlock(),e.createElementBlock("p",{key:1,class:"review-label",onMouseenter:S[7]||(S[7]=Y=>E(Y))},e.toDisplayString(R.label),33)),C.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:2,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:e.withCtx(()=>[e.createElementVNode("div",{class:"review-property",onMouseenter:S[8]||(S[8]=Y=>x(Y))},e.toDisplayString(R.remark),33)]),default:e.withCtx(()=>[e.createElementVNode("div",G_,e.toDisplayString(R.remark),1)]),_:2},1024)):(e.openBlock(),e.createElementBlock("div",{key:3,class:"review-property",onMouseenter:S[9]||(S[9]=Y=>x(Y))},e.toDisplayString(R.remark),33))])],8,z_)),[[L,()=>M(R)]])),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Z=r.itemData)==null?void 0:Z.shortcut,R=>(e.openBlock(),e.createElementBlock("div",{key:R.label,class:"shortcut"},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:R.href,target:e.unref(dr)(R.href,R==null?void 0:R.target),rel:"noopener noreferrer",class:"shortcut-link",onClick:k},[p.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:e.withCtx(()=>[e.createElementVNode("p",{class:"shortcut-title",onMouseenter:S[4]||(S[4]=Y=>E(Y))},e.toDisplayString(R.label),33)]),default:e.withCtx(()=>[e.createElementVNode("p",U_,e.toDisplayString(R.label),1)]),_:2},1024)):(e.openBlock(),e.createElementBlock("p",{key:1,class:"shortcut-title",onMouseenter:S[5]||(S[5]=Y=>E(Y))},e.toDisplayString(R.label),33)),R.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:2},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(R.icon)))]),_:2},1024)):e.createCommentVNode("",!0)],8,F_)),[[L,()=>M(R)]])]))),128))])):e.createCommentVNode("",!0)])]}),_:1})])],2),[[e.vShow,r.itemActive&&(r.itemVisible||u.value)&&((F=(B=r.itemData)==null?void 0:B.children)==null?void 0:F.length)]])],32)}}}),Y_=xe._export_sfc(Q_,[["__scopeId","data-v-4ee3dd0c"]]),K_={class:"header-nav-wrap"},W_={key:0,class:"left-icon"},J_=["id","onMouseenter","onMouseleave"],Z_=["id","onClick"],$_={class:"nav-text"},eA=["id","href","target","rel"],tA={class:"nav-text"},nA={key:2,class:"nav-item"},iA={class:"nav-text"},rA={class:"dropdown-wrapper"},sA={class:"dropdown-body"},aA=["onClick"],oA=["href","target","rel"],lA={key:1,class:"right-icon"},uA=e.defineComponent({__name:"HeaderFlatten",props:{navData:{},community:{},activeIndex:{},hoverId:{}},emits:["handle-mouseenter","handle-mouseleave","handle-click"],setup(i,{emit:t}){const n=t,r=i,s=e.ref(),a=ct.useDebounceFn((O,M)=>{s.value=O==null?void 0:O.id,M==="mouseenter"&&n("handle-mouseenter",O),M==="mouseleave"&&(s.value="",n("handle-mouseleave",O))},100),o=O=>{n("handle-click",O)},l=e.ref(),u=e.ref(),d=e.ref(),f=e.ref(!1),p=e.ref(!1),E=()=>{p.value=!0,e.nextTick(()=>{l.value.scrollTo({left:l.value.clientWidth,behavior:"smooth"})})},C=()=>{l.value.scrollTo({left:0,behavior:"smooth"}),p.value=!1},x=()=>{var O,M;((O=l.value)==null?void 0:O.clientWidth)<((M=u.value)==null?void 0:M.clientWidth)?f.value=!0:f.value=!1};let m=0,g=0;const k=O=>{const M=Date.now()-m,V=g+1;if(m=0,g=0,O._path){const S={};return O._path.forEach((L,w)=>{S[`level${w+1}`]=L}),{properties:{module:"navigation",timeUsed:M,steps:V,...S}}}},A=O=>{if(g++,!m)return m=Date.now(),{event:"hover",properties:{module:"navigation",target:O.label}}},D=()=>{m=0,g=0};return e.onMounted(()=>{window.addEventListener("resize",x),e.nextTick(()=>{x(),d.value=setTimeout(()=>{x()},1e3)})}),e.onUnmounted(()=>{window.removeEventListener("resize",x),clearTimeout(d.value)}),(O,M)=>{const V=e.resolveDirective("analytics");return e.openBlock(),e.createElementBlock("nav",K_,[e.createElementVNode("div",{class:e.normalizeClass(["header-nav",{"header-nav-scroll":p.value}])},[p.value?(e.openBlock(),e.createElementBlock("div",W_,[e.createVNode(e.unref(T.OIcon),{onClick:C},{default:e.withCtx(()=>[e.createVNode(e.unref(dm))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"navRef",ref:l,class:e.normalizeClass(["o-nav",{"o-nav-scroll":p.value||!f.value}])},[e.createElementVNode("ul",{ref_key:"navListRef",ref:u,class:"nav-list",onMouseleave:D},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.navData,(S,L)=>{var w,B,F,Q;return e.withDirectives((e.openBlock(),e.createElementBlock("li",{key:S.id,id:S.id,class:e.normalizeClass(["nav-item-li",{"is-selected":s.value===S.id||r.hoverId===S.id,"is-active":r.activeIndex===L||r.activeIndex===S.id,"is-disabled":S==null?void 0:S.disabled}]),onMouseenter:I=>e.unref(a)(S,"mouseenter"),onMouseleave:I=>e.unref(a)(S,"mouseleave")},[!S.href&&!((w=S.children)!=null&&w.length)?(e.openBlock(),e.createElementBlock("div",{key:0,id:"tour_headerNav_"+S.id,class:"nav-item",onClick:I=>o(S)},[e.createElementVNode("span",$_,e.toDisplayString(S.label),1),S.tag&&!e.unref(Fi)(S.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,color:"danger",size:"small",round:"pill",class:e.normalizeClass(`tag-${(B=S==null?void 0:S.tag)==null?void 0:B.toLowerCase()}`)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(S.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,Z_)):!((F=S.children)!=null&&F.length)&&S.href?(e.openBlock(),e.createElementBlock("a",{key:1,id:"tour_headerNav_"+S.id,class:"nav-item nav-item-link",href:S.href,target:(S==null?void 0:S.target)||((Q=S.href)!=null&&Q.startsWith("http")?"_blank":void 0),rel:S.href.startsWith("http")?"noopener noreferrer":""},[e.createElementVNode("span",tA,e.toDisplayString(S.label),1)],8,eA)):(e.openBlock(),e.createElementBlock("div",nA,[e.createElementVNode("span",iA,e.toDisplayString(S.label),1),e.createElementVNode("div",rA,[e.createElementVNode("div",sA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.children,(I,q)=>{var U,G,z;return e.openBlock(),e.createElementBlock("div",{key:q},[I.href?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["dropdown-item",{"dropdown-item-disabled":I==null?void 0:I.disabled}])},[e.createElementVNode("a",{href:I.href,class:"dropdown-link",target:(I==null?void 0:I.target)||((G=I.href)!=null&&G.startsWith("http")?"_blank":void 0),rel:I.href.startsWith("http")?"noopener noreferrer":""},[e.createElementVNode("span",null,e.toDisplayString(I.label),1),I.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(I.icon)))]),_:2},1024)):e.createCommentVNode("",!0),I.tag&&!e.unref(Fi)(I.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:1,color:"danger",size:"small",round:"pill",class:e.normalizeClass(`tag-${(z=I==null?void 0:I.tag)==null?void 0:z.toLowerCase()}`)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(I.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,oA)],2)),[[V,()=>k(I)]]):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["dropdown-item",{"dropdown-item-disabled":I==null?void 0:I.disabled}]),onClick:Z=>o(I)},[e.createElementVNode("span",null,e.toDisplayString(I.label),1),I.tag&&!e.unref(Fi)(I.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,color:"danger",size:"small",round:"pill",class:e.normalizeClass(`tag-${(U=I==null?void 0:I.tag)==null?void 0:U.toLowerCase()}`)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(I.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],10,aA))])}),128))])])]))],42,J_)),[[V,()=>A(S),"mouseenter"]])}),128))],544)],2),f.value&&!p.value?(e.openBlock(),e.createElementBlock("div",lA,[e.createVNode(e.unref(T.OIcon),{onClick:E},{default:e.withCtx(()=>[e.createVNode(e.unref(hm))]),_:1})])):e.createCommentVNode("",!0)],2)])}}}),cA=xe._export_sfc(uA,[["__scopeId","data-v-edcea052"]]),dA={class:"header"},hA={class:"header-content"},fA=["src"],mA={key:0,class:"header-nav-top"},pA={key:1,class:"header-nav-flatten"},gA={key:2,class:"header-toolbar"},vA=e.defineComponent({__name:"OHeader",props:{logo:{},community:{},navData:{},bgLeft:{},bgRight:{},activeIndex:{},codeData:{},langData:{},isSimpleHeader:{type:Boolean},headerTitle:{},isFlatten:{type:Boolean,default:!1}},emits:["go-home","handle-click","nav-layout"],setup(i,{emit:t}){const n=t,r=i,s=e.ref(),a=e.ref(0);e.provide("headerUserFullWidth",e.readonly(a)),e.provide("reportHeaderUserWidth",q=>a.value=q);const o=e.ref(!1),l=e.ref(!1);e.provide("isUserHidden",e.readonly(o)),e.provide("isSearchHidden",e.readonly(l)),e.provide("shrinkUserOrSearch",()=>{a.value&&!o.value?o.value=!0:l.value||(l.value=!0)}),e.provide("expandUser",()=>{a.value&&o.value&&!l.value&&(o.value=!1)}),e.provide("expandSearch",()=>{l.value&&(l.value=!1)});const u=e.ref(),d=e.ref(!1),f=e.computed(()=>{var q;return(q=u.value)==null?void 0:q.label});e.provide("hoveringNavLiName",f);const p=e.computed(()=>(r.navData??[]).filter(q=>{var U;return(U=q.children)==null?void 0:U.length})),E=e.ref(null),C=e.ref(),x=e.ref({x:0,y:0});let m=null;const g=()=>{E.value!==null&&(clearTimeout(E.value),E.value=null),k()},k=()=>{m&&(document.removeEventListener("mousemove",m),m=null)},A=(q,U,G,z,Z,W,R,Y)=>{const j=(q-Z)*(z-W)-(G-Z)*(U-W),ae=(q-R)*(W-Y)-(Z-R)*(U-Y),he=(q-G)*(Y-z)-(R-G)*(U-z),ue=j<0||ae<0||he<0,be=j>0||ae>0||he>0;return!(ue&&be)},D=(q=!0)=>{g();const U={...x.value},G=()=>{E.value=window.setTimeout(()=>{k(),d.value=!1,E.value=null},100)};if(q&&C.value&&d.value){const z=C.value.getBoundingClientRect();m=Z=>{const W=Z.clientX,R=Z.clientY;if(W>=z.left&&W<=z.right&&R>=z.top&&R<=z.bottom){g();return}A(W,R,U.x,U.y,z.left,z.top,z.right,z.top)?(E.value!==null&&clearTimeout(E.value),G()):(g(),d.value=!1)},document.addEventListener("mousemove",m)}G()},O=q=>{x.value={x:q.clientX,y:q.clientY}},M=q=>{n("nav-layout",q)},V=()=>{n("go-home")},S=q=>{var U;g(),u.value=q,(U=q==null?void 0:q.children)!=null&&U.length&&(d.value=!0)},L=()=>{D(!0)},w=q=>{n("handle-click",q)},B=q=>{g(),s.value=q},F=q=>{s.value=q,D(!1)},Q=e.ref(0),I=e.ref(0);return e.provide("navStepCount",e.readonly(I)),e.provide("navFirstHoverTime",e.readonly(Q)),e.provide("increNavStepCount",()=>{I.value++}),e.provide("updateNavFirstHoverTime",()=>{Q.value||(Q.value=Date.now())}),e.provide("clearNavHandleTrace",()=>{I.value=0,Q.value=0}),e.provide("closeNavPanel",()=>{g(),d.value=!1}),e.onUnmounted(()=>{g()}),(q,U)=>(e.openBlock(),e.createElementBlock("div",dA,[e.createElementVNode("div",{class:"header-wrap",onMousemove:O},[e.createElementVNode("div",hA,[e.createElementVNode("div",{class:"header-logo",onClick:V},[e.renderSlot(q.$slots,"logo",{},()=>[r.logo?(e.openBlock(),e.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:r.logo},null,8,fA)):e.createCommentVNode("",!0)],!0)]),r.isFlatten?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",mA,[e.renderSlot(q.$slots,"nav",{},()=>[r.navData?(e.openBlock(),e.createBlock(w_,{key:0,"nav-data":r.navData,hoverId:s.value,"active-index":r.activeIndex,community:r.community,onHandleMouseenter:S,onHandleMouseleave:L,onHandleClick:w,onNavLayout:M},null,8,["nav-data","hoverId","active-index","community"])):e.createCommentVNode("",!0)],!0)])),r.isFlatten?(e.openBlock(),e.createElementBlock("div",pA,[e.renderSlot(q.$slots,"nav",{},()=>[r.navData?(e.openBlock(),e.createBlock(cA,{key:0,"nav-data":r.navData,hoverId:s.value,"active-index":r.activeIndex,onHandleMouseenter:S,onHandleMouseleave:L,onHandleClick:w,onNavLayout:M},null,8,["nav-data","hoverId","active-index"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),q.$slots.toolbar?(e.openBlock(),e.createElementBlock("div",gA,[e.renderSlot(q.$slots,"toolbar",{},void 0,!0)])):e.createCommentVNode("",!0)])],32),r.isFlatten?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"contentRef",ref:C,class:"header-nav-content",onMousemove:O},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,G=>{var z;return e.openBlock(),e.createBlock(Y_,{key:G.id,itemData:G,"item-visible":d.value,"item-active":((z=u.value)==null?void 0:z.id)===G.id,"bg-left":r.bgLeft,"bg-right":r.bgRight,community:r.community,"hover-index":G.id,onHandleMouseenterSub:B,onHandleMouseleaveSub:F},null,8,["itemData","item-visible","item-active","bg-left","bg-right","community","hover-index"])}),128))],544))]))}}),z0=xe._export_sfc(vA,[["__scopeId","data-v-17eb9d57"]]);var Vi=(i=>(i.NAV="nav",i.CODE="code",i.LANG="lang",i))(Vi||{});const yA={class:"o-nav"},CA={class:"o-nav-list"},bA=["onClick"],TA={class:"header-tool"},kA={key:2,class:"other-tool"},EA={key:0,class:"nav-aside-wrapper"},xA=["value"],_A={class:"content-label"},AA={class:"container-mobile"},wA=["href","target"],SA={class:"item-label"},DA={class:"desc-container"},BA={class:"item-desc"},VA=["href","target"],NA={class:"item-label"},IA={key:1,class:"nav-aside-wrapper"},OA=["href","target","onClick"],PA=e.defineComponent({__name:"HeaderNavMobile",props:{menuShow:{type:Boolean,default:!1},navData:{default:()=>[]},codeData:{},langData:{},activeIndex:{},community:{}},emits:["on-click","lang-click","handle-click"],setup(i,{emit:t}){const n=t,r=i,s=e.ref(""),a=e.ref(),o=(d,f)=>{var p;f===Vi.NAV?(p=d==null?void 0:d.children)!=null&&p.length?(s.value=d.id,a.value=d):n("handle-click",d):f===Vi.CODE?(s.value=f,a.value=r.codeData):f===Vi.LANG&&(s.value=f,a.value=r.langData)},l=()=>{n("on-click")},u=d=>{ll(d)?n("on-click"):n("lang-click",d)};return e.watch(()=>r.activeIndex,d=>{var p;const f=r.navData.find((E,C)=>E.id===d||C===d);s.value=f?f.id:(p=r.navData[0])==null?void 0:p.id,a.value=f||r.navData[0]},{immediate:!0}),e.watch(()=>[r.navData,r.codeData,r.langData],()=>{var d;if(s.value===Vi.CODE)a.value=r.codeData;else if(s.value===Vi.LANG)a.value=r.langData;else{const f=r.navData.find((p,E)=>p.id===r.activeIndex||E===r.activeIndex);s.value=f?f.id:(d=r.navData[0])==null?void 0:d.id,a.value=f||r.navData[0]}},{deep:!0}),(d,f)=>{var p,E,C,x,m;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["header-nav",{active:i.menuShow}])},[e.createElementVNode("div",yA,[e.createElementVNode("ul",CA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.navData,g=>(e.openBlock(),e.createElementBlock("li",{key:g.id,class:e.normalizeClass({active:s.value===g.id,"is-disabled":g==null?void 0:g.disabled})},[e.createElementVNode("span",{class:"text-label",onClick:k=>o(g,"nav")},e.toDisplayString(g.label),9,bA)],2))),128))]),e.createElementVNode("div",TA,[(p=i.codeData)!=null&&p.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["header-tool-item",{active:s.value==="code"}]),onClick:f[0]||(f[0]=g=>o(null,"code"))},e.toDisplayString(i.codeData.label),3)):e.createCommentVNode("",!0),(E=i.langData)!=null&&E.label?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["header-tool-item",{active:s.value==="lang"}]),onClick:f[1]||(f[1]=g=>o(null,"lang"))},e.toDisplayString(i.langData.label),3)):e.createCommentVNode("",!0),d.$slots.tool?(e.openBlock(),e.createElementBlock("div",kA,[e.renderSlot(d.$slots,"tool",{},void 0,!0)])):e.createCommentVNode("",!0)])]),(x=(C=a.value)==null?void 0:C.children)!=null&&x.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-aside",[(m=r.community)==null?void 0:m.toLowerCase()]])},[s.value!=="code"&&s.value!=="lang"?(e.openBlock(),e.createElementBlock("ul",EA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value.children,g=>{var k;return e.openBlock(),e.createElementBlock("li",{value:g.label,key:g.label,class:"nav-aside-content"},[g!=null&&g.children?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("p",_A,e.toDisplayString(g.label),1),e.createElementVNode("div",AA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g==null?void 0:g.children,A=>{var D;return e.openBlock(),e.createElementBlock("div",{key:A.label,class:e.normalizeClass(["content-container-mobile",{"content-item-disabled":A==null?void 0:A.disabled}])},[e.createElementVNode("a",{href:A.href,target:e.unref(dr)(A.href,A==null?void 0:A.target),rel:"noopener noreferrer",class:"content-subtitle",onClick:l},[e.createElementVNode("span",SA,e.toDisplayString(A.label),1),A.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0),A.tag&&!e.unref(Fi)(A.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:1,color:"danger",size:"small",round:"pill",class:e.normalizeClass(["content-tag",`tag-${(D=A==null?void 0:A.tag)==null?void 0:D.toLowerCase()}`])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,wA),e.createElementVNode("div",DA,[e.createElementVNode("p",BA,e.toDisplayString(A.description),1)])],2)}),128))])],64)):(e.openBlock(),e.createElementBlock("a",{key:1,href:g.href,target:e.unref(dr)(g.href,g==null?void 0:g.target),rel:"noopener noreferrer",class:"content-subtitle item-not-children",onClick:l},[e.createElementVNode("span",NA,e.toDisplayString(g.label),1),g.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0),g.tag&&!e.unref(Fi)(g.tagExpire)?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:1,color:"danger",size:"small",round:"pill",class:e.normalizeClass(`tag-${(k=g==null?void 0:g.tag)==null?void 0:k.toLowerCase()}`)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.tag),1)]),_:2},1032,["class"])):e.createCommentVNode("",!0)],8,VA))],8,xA)}),128))])):(e.openBlock(),e.createElementBlock("div",IA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value.children,g=>(e.openBlock(),e.createElementBlock("a",{key:g.label,href:e.unref(ll)(g)?g.href:void 0,target:e.unref(ll)(g)?e.unref(dr)(g.href,g.target):void 0,rel:"noopener noreferrer",class:"source-code-item",onClick:k=>u(g)},[e.createElementVNode("span",null,e.toDisplayString(g.label),1),g.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)],8,OA))),128))]))],2)):e.createCommentVNode("",!0)],2)}}}),LA=xe._export_sfc(PA,[["__scopeId","data-v-5c72051b"]]),MA={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function RA(i,t){return e.openBlock(),e.createElementBlock("svg",MA,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M3.8 5h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 11h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 17h16.4c0.442 0 0.8 0.358 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.359-0.8-0.8s0.358-0.8 0.8-0.8z"},null,-1)])])}const qA={name:"components-icon-header-menu",render:RA},FA={class:"header"},UA={class:"header-box"},zA={key:0,class:"header-simple"},HA={class:"simple-header-left"},jA={key:0,class:"header-title"},XA={key:0,class:"simple-header-right"},GA={class:"header-left"},QA={class:"header-center"},YA=["src"],KA={class:"header-right"},WA=e.defineComponent({__name:"OHeaderMobile",props:{logo:{},community:{},navData:{},bgLeft:{},bgRight:{},activeIndex:{},codeData:{},langData:{},isSimpleHeader:{type:Boolean},headerTitle:{},isFlatten:{type:Boolean}},emits:["go-back","lang-click","go-home","handle-click"],setup(i,{emit:t}){const n=t,r=i,s=()=>{n("go-back")},a=()=>{n("go-home")},o=e.ref(!1),l=()=>{setTimeout(()=>{o.value=!o.value},200)},u=()=>{l()},d=p=>{n("handle-click",p),l()},f=p=>{n("lang-click",p),l()};return(p,E)=>(e.openBlock(),e.createElementBlock("div",FA,[e.createElementVNode("div",UA,[e.createVNode(Ia,{class:"header-wrap"},{default:e.withCtx(()=>[i.isSimpleHeader?(e.openBlock(),e.createElementBlock("div",zA,[e.createElementVNode("div",HA,[e.createVNode(e.unref(T.OIcon),{onClick:s},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconArrowLeft))]),_:1}),i.headerTitle?(e.openBlock(),e.createElementBlock("div",jA,e.toDisplayString(i.headerTitle),1)):e.createCommentVNode("",!0)]),p.$slots.rightConfig?(e.openBlock(),e.createElementBlock("div",XA,[e.renderSlot(p.$slots,"rightConfig",{},void 0,!0)])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",GA,[e.createVNode(e.unref(T.OIcon),{onClick:l},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createBlock(e.unref(Ma),{key:1})):(e.openBlock(),e.createBlock(e.unref(qA),{key:0}))]),_:1})]),e.createElementVNode("div",QA,[e.createElementVNode("div",{class:"header-logo",onClick:a},[e.renderSlot(p.$slots,"logo",{},()=>[r.logo?(e.openBlock(),e.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:r.logo},null,8,YA)):e.createCommentVNode("",!0)],!0)])]),e.createElementVNode("div",KA,[e.renderSlot(p.$slots,"toolbar",{},void 0,!0)])],64))]),_:3})]),e.createElementVNode("div",{class:e.normalizeClass(["header-content-mb",{"header-content-active":o.value}])},[e.createVNode(LA,{ref:"mobileNav","nav-data":i.navData,"code-data":i.codeData,"lang-data":i.langData,"menu-show":o.value,community:r.community,"active-index":i.activeIndex,onHandleClick:d,onOnClick:u,onLangClick:f},{tool:e.withCtx(()=>[e.renderSlot(p.$slots,"tool",{},void 0,!0)]),_:3},8,["nav-data","code-data","lang-data","menu-show","community","active-index"])],2)]))}}),H0=xe._export_sfc(WA,[["__scopeId","data-v-0a2d44bb"]]),JA=Object.assign(z0,{install(i){i.component("OHeader",z0)}}),ZA=Object.assign(H0,{install(i){i.component("OHeaderMobile",H0)}}),$A={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ew(i,t){return e.openBlock(),e.createElementBlock("svg",$A,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12.066 3.3c4.775 0.035 8.634 3.917 8.634 8.7s-3.859 8.664-8.633 8.699c-0.024 0.003-0.049 0.004-0.073 0.004-0.019 0-0.038-0.001-0.057-0.003l-0.005-0c-4.774-0.036-8.633-3.918-8.633-8.7s3.859-8.664 8.634-8.7h0.005c0.022-0.002 0.045-0.003 0.067-0.003 0.020 0 0.040 0.001 0.060 0.003zM4.733 11.3h2.589c0.021-0.33 0.058-0.658 0.109-0.984 0.045-0.288 0.103-0.573 0.172-0.857 0.096-0.393 0.213-0.778 0.352-1.155 0.146-0.398 0.317-0.787 0.511-1.168 0.171-0.336 0.36-0.661 0.564-0.975 0.239-0.366 0.501-0.718 0.785-1.055 0.028-0.033 0.056-0.066 0.084-0.099-2.793 0.837-4.882 3.302-5.167 6.293zM4.733 12.7c0.284 2.991 2.374 5.456 5.167 6.293l-0.084-0.099c-0.284-0.337-0.546-0.689-0.785-1.055-0.205-0.314-0.393-0.639-0.564-0.975-0.195-0.38-0.365-0.77-0.511-1.168-0.139-0.377-0.256-0.762-0.352-1.155-0.069-0.284-0.126-0.57-0.172-0.857-0.052-0.326-0.088-0.654-0.109-0.984h-2.589zM8.726 12.7c0.020 0.274 0.053 0.547 0.097 0.817 0.038 0.232 0.085 0.464 0.141 0.693 0.171 0.702 0.42 1.374 0.749 2.017 0.147 0.288 0.309 0.567 0.484 0.837 0.21 0.322 0.439 0.631 0.689 0.927 0.242 0.287 0.5 0.558 0.774 0.812l0.071 0.065q0.132 0.121 0.27 0.237 0.137-0.116 0.27-0.237l0.071-0.065c0.273-0.254 0.531-0.525 0.774-0.812 0.25-0.296 0.479-0.605 0.689-0.927 0.175-0.27 0.337-0.549 0.484-0.837 0.329-0.643 0.578-1.316 0.749-2.017 0.056-0.23 0.103-0.461 0.141-0.693 0.044-0.27 0.077-0.543 0.097-0.817h-6.548zM15.274 11.3c-0.020-0.274-0.053-0.547-0.097-0.817-0.038-0.233-0.085-0.464-0.141-0.694-0.082-0.34-0.184-0.673-0.304-0.999-0.128-0.347-0.276-0.687-0.445-1.018-0.147-0.288-0.309-0.567-0.484-0.837-0.209-0.322-0.439-0.631-0.689-0.927-0.242-0.287-0.501-0.558-0.774-0.813l-0.071-0.065q-0.132-0.121-0.27-0.237-0.137 0.116-0.27 0.237l-0.071 0.065c-0.273 0.254-0.531 0.525-0.774 0.813-0.25 0.296-0.479 0.605-0.689 0.927-0.176 0.27-0.337 0.549-0.484 0.837-0.169 0.332-0.318 0.671-0.445 1.018-0.12 0.326-0.221 0.659-0.304 0.999-0.056 0.23-0.103 0.461-0.141 0.694-0.044 0.27-0.077 0.543-0.097 0.817h6.548zM16.677 11.3h2.589c-0.284-2.991-2.374-5.456-5.167-6.293l0.084 0.099c0.284 0.337 0.546 0.689 0.785 1.055 0.205 0.314 0.393 0.639 0.564 0.975 0.195 0.381 0.365 0.77 0.511 1.168 0.139 0.377 0.256 0.762 0.351 1.155 0.069 0.284 0.126 0.57 0.172 0.857 0.051 0.326 0.088 0.654 0.109 0.984zM16.677 12.7c-0.021 0.33-0.058 0.658-0.109 0.984-0.045 0.288-0.103 0.573-0.172 0.857-0.096 0.393-0.213 0.778-0.351 1.155-0.147 0.398-0.317 0.788-0.511 1.168-0.171 0.336-0.36 0.661-0.564 0.975-0.239 0.366-0.501 0.718-0.785 1.055l-0.084 0.099c2.793-0.838 4.882-3.302 5.167-6.293h-2.589z"},null,-1)])])}const tw={name:"components-icon-locale",render:ew},nw={class:"info-wrap"},iw=["onClick"],rw=e.defineComponent({__name:"OHeaderLanguageSwitcher",props:{options:{type:Array,default(){return[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}]}},type:{type:String,default:"auto"},auto:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},itemRadius:{type:Number,default:4}},emits:["change"],setup(i,{emit:t}){const n=i,{changeLocale:r,locale:s}=nt.useLocale(),{lePadV:a}=nt.useScreen(),o=e.computed(()=>s.value),l=t,u=p=>{n.auto&&r(),l("change",p)},d=(p,E)=>{const C=n.options.find(m=>m.id===p);if(C)return E?C.simple:C.label;const x=n.options[0];return E?x.simple:x.label},f=e.computed(()=>n.type==="common"||n.type==="auto"&&!a.value);return(p,E)=>f.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([i.options.length<=1?"hide-lang":"header-lang",i.disabled?"is-disabled":""])},[e.createVNode(e.unref(T.ODropdown),{trigger:"hover",optionPosition:"bottom","option-width-mode":"auto",optionWrapClass:{"is-disabled":i.disabled}},{dropdown:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,C=>(e.openBlock(),e.createBlock(e.unref(T.ODropdownItem),{onClick:x=>u(C),key:C.id,class:e.normalizeClass({"is-active":o.value===C.id}),style:e.normalizeStyle({"--dropdown-item-radius":`${i.itemRadius}px`})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d(C.id)),1)]),_:2},1032,["onClick","class","style"]))),128))]),default:e.withCtx(()=>[e.createElementVNode("div",nw,[e.createVNode(e.unref(T.OIcon),{class:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(tw)),e.createElementVNode("div",{class:e.normalizeClass(["locale-tag",{"is-en":o.value==="en"}])},e.toDisplayString(d(o.value,!0)),3)]),_:1})])]),_:1},8,["optionWrapClass"])],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([i.options.length<=1?"hide-lang":"mobile-change-language",i.disabled?"is-disabled":""])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(C,x)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C.id},[x!==0?(e.openBlock(),e.createBlock(e.unref(T.ODivider),{key:0,direction:"v"})):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({active:o.value===C.id}),onClick:e.withModifiers(m=>u(C),["stop"])},e.toDisplayString(d(C.id,!0)),11,iw)],64))),128))],2))}}),j0=xe._export_sfc(rw,[["__scopeId","data-v-2620f484"]]),sw=Object.assign(j0,{install(i){i.component("OHeaderLanguageSwitcher",j0)}});function aw(i){const t=e.ref(""),n=e.ref(null),r=e.ref(""),s=e.ref(!1);let a=null;const o=g=>{var D,O,M,V;const k=(D=i.allowedImageTypes)==null?void 0:D.value,A=k&&k.length>0?k.includes(g.type):(O=g.type)==null?void 0:O.startsWith("image/");return!g.type||!A?((M=i.onValidationError)==null||M.call(i,"type",g),!1):i.maxImageSize.value>0&&g.size>i.maxImageSize.value?((V=i.onValidationError)==null||V.call(i,"size",g),!1):!0},l=()=>{if(t.value)try{URL.revokeObjectURL(t.value)}catch{}t.value="",n.value=null,r.value="",s.value=!1,a=null},u=g=>{if(!g){n.value||l();return}if(r.value!==g){if(t.value&&t.value.startsWith("blob:"))try{URL.revokeObjectURL(t.value)}catch{}r.value=g,t.value=g,n.value=null}},d=g=>{var A,D;if(!o(g))return;l(),n.value=g,t.value=URL.createObjectURL(g),(A=i.onUploadStart)==null||A.call(i,g);const k=(D=i.uploadImage)==null?void 0:D.value;k&&(s.value=!0,a=Promise.resolve().then(()=>k(g)).then(O=>{var M;O&&n.value===g&&(r.value=O,(M=i.onUploadSuccess)==null||M.call(i,O,g))}).catch(O=>{var M;(M=i.onUploadError)==null||M.call(i,O,g)}).finally(()=>{s.value=!1}))},f=g=>{var A;const k=(A=g.clipboardData)==null?void 0:A.items;if(k)for(let D=0;D<k.length;D++){const O=k[D];if(O.type.startsWith("image/")){const M=O.getAsFile();M&&d(M);break}}},p=g=>{g.preventDefault(),g.stopPropagation()},E=g=>{var A,D;g.preventDefault(),g.stopPropagation();const k=(D=(A=g.dataTransfer)==null?void 0:A.files)==null?void 0:D[0];k&&k.type.startsWith("image/")&&d(k)},C=g=>{var D;const k=g.target,A=(D=k.files)==null?void 0:D[0];A&&d(A),k&&(k.value="")},x=g=>{g&&(g.value="",g.click())},m=()=>a??Promise.resolve();return e.onBeforeUnmount(l),{previewUrl:t,file:n,uploadedUrl:r,isUploading:s,onPaste:f,onDrop:E,onDragOver:p,onFileChange:C,pickFile:x,handleImageFile:d,reset:l,setExternalUrl:u,awaitUpload:m}}const ow={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function lw(i,t){return e.openBlock(),e.createElementBlock("svg",ow,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.819 3.459c-4.099 0-7.423 3.323-7.423 7.423s3.323 7.423 7.423 7.423c4.099 0 7.423-3.323 7.423-7.423s-3.323-7.423-7.423-7.423zM10.82 4.853c3.326 0 6.023 2.696 6.023 6.023s-2.696 6.023-6.023 6.023c-3.326 0-6.023-2.696-6.023-6.023s2.696-6.023 6.023-6.023zM17.549 16.53c-0.274-0.197-0.657-0.171-0.903 0.075-0.273 0.274-0.273 0.717 0.001 0.99l2.76 2.754 0.087 0.074c0.274 0.197 0.657 0.171 0.903-0.075 0.273-0.274 0.273-0.717-0.001-0.99l-2.76-2.754-0.087-0.074z"},null,-1)])])}const fm={name:"components-icon-header-search",render:lw},uw={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function cw(i,t){return e.openBlock(),e.createElementBlock("svg",uw,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",d:"M19.724 4.238c1.105 0 2 0.895 2 2v6.772c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-0.816l-3.544 3.84c-0.248 0.268-0.661 0.301-0.948 0.075l-4.13-3.256-3.925 3.843c-0.249 0.243-0.632 0.264-0.904 0.064l-0.086-0.075c-0.27-0.276-0.266-0.72 0.011-0.99l4.365-4.273c0.251-0.246 0.647-0.267 0.923-0.050l4.104 3.235 4.134-4.478v-3.892c0-0.331-0.269-0.6-0.6-0.6h-15.45c-0.331 0-0.6 0.269-0.6 0.6v11.501c0 0.331 0.269 0.6 0.6 0.6h9.781c0.387 0 0.7 0.313 0.7 0.7s-0.313 0.7-0.7 0.7h-9.781c-1.105 0-2-0.895-2-2v-11.501c0-1.105 0.895-2 2-2h15.45zM9.532 8.878c0-0.695-0.579-1.259-1.294-1.259s-1.294 0.564-1.294 1.259c0 0.695 0.579 1.259 1.294 1.259s1.294-0.564 1.294-1.259zM16.561 18.645c-0.195-0.195-0.195-0.512 0-0.707l2.090-2.090c0.010-0.011 0.020-0.021 0.030-0.030l0.001-0.001c0.195-0.195 0.512-0.195 0.707 0l2.121 2.121c0.195 0.195 0.195 0.512 0 0.707s-0.512 0.195-0.707 0l-1.284-1.284v3.57c0 0.276-0.224 0.5-0.5 0.5s-0.5-0.224-0.5-0.5v-3.538l-1.251 1.251c-0.174 0.174-0.443 0.193-0.638 0.058l-0.069-0.058z"},null,-1)])])}const dw={name:"components-icon-image-upload",render:cw},hw={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function fw(i,t){return e.openBlock(),e.createElementBlock("svg",hw,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#6f6f75",d:"M22.5 12c0 5.799-4.701 10.5-10.5 10.5s-10.5-4.701-10.5-10.5c0-5.799 4.701-10.5 10.5-10.5s10.5 4.701 10.5 10.5z"},null,-1),e.createElementVNode("path",{fill:"#ffffff",d:"M15.3 7.631c0.274-0.197 0.657-0.172 0.903 0.074 0.273 0.273 0.273 0.717 0 0.99l-3.259 3.259 3.259 3.259c0.273 0.273 0.273 0.717 0 0.99-0.246 0.246-0.63 0.271-0.903 0.074l-0.087-0.074-3.259-3.259-3.259 3.259-0.087 0.074c-0.274 0.197-0.657 0.172-0.903-0.074-0.273-0.273-0.273-0.717 0-0.99l3.259-3.259-3.259-3.259c-0.273-0.273-0.273-0.717 0-0.99 0.246-0.246 0.63-0.271 0.903-0.074l0.087 0.074 3.259 3.259 3.259-3.259 0.087-0.074z"},null,-1)])])}const Gl={name:"components-icon-delete-hover",render:fw},mw={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function pw(i,t){return e.openBlock(),e.createElementBlock("svg",mw,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M3.398 10.877c0-4.099 3.323-7.423 7.423-7.423s7.423 3.323 7.423 7.423c0 4.099-3.323 7.423-7.423 7.423s-7.423-3.323-7.423-7.423zM16.774 10.877c0-3.326-2.657-6.023-5.935-6.023s-5.935 2.696-5.935 6.023c0 3.326 2.657 6.023 5.935 6.023s5.935-2.696 5.935-6.023zM11.499 13.369c0 0.365-0.296 0.661-0.661 0.661s-0.661-0.296-0.661-0.661v-1.821h-1.775c-0.371 0-0.671-0.3-0.671-0.671s0.3-0.671 0.671-0.671h1.775v-1.821c0-0.365 0.296-0.661 0.661-0.661s0.661 0.296 0.661 0.661v1.821h1.775c0.371 0 0.671 0.3 0.671 0.671s-0.3 0.671-0.671 0.671h-1.775v1.821zM16.579 16.598c0.242-0.246 0.62-0.271 0.89-0.075l0.086 0.074 2.72 2.754c0.27 0.273 0.27 0.716 0.001 0.99-0.242 0.246-0.62 0.271-0.89 0.075l-0.086-0.074-2.72-2.754c-0.27-0.273-0.27-0.716-0.001-0.99z"},null,-1)])])}const X0={name:"components-icon-image-zoomin",render:pw},gw={class:"o-search-image-input-row"},vw={key:0,class:"o-search-image-input-thumb"},yw={key:0,class:"o-search-image-input-preview"},Cw={class:"o-search-image-input-preview-wrapper"},bw={class:"o-search-image-input-preview-zoom"},Tw=["accept"],kw=e.defineComponent({__name:"SearchImageInput",props:{modelValue:{default:""},imageUrl:{default:""},placeholder:{},imagePlaceholder:{},size:{default:"medium"},enableImageSearch:{type:Boolean,default:!1},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},expanded:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},showSuffix:{type:Boolean,default:!0},inlineThumbnail:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},allowedImageTypes:{default:()=>["image/jpeg","image/png","image/gif","image/webp"]}},emits:["update:modelValue","update:imageUrl","focus","blur","enter","clear","image-clear","image-upload-start","image-upload-success","image-upload-error","image-validate-error","preview-change"],setup(i,{expose:t,emit:n}){const r=i,s=n,{t:a}=xe.useI18n(),o=e.computed(()=>r.uploadImage),l=e.computed(()=>r.maxImageSize),u=e.computed(()=>r.allowedImageTypes),d=e.computed(()=>(r.allowedImageTypes??[]).join(",")),f=aw({uploadImage:o,maxImageSize:l,allowedImageTypes:u,onUploadStart:F=>s("image-upload-start",F),onUploadSuccess:(F,Q)=>{s("update:imageUrl",F),s("image-upload-success",F,Q)},onUploadError:(F,Q)=>s("image-upload-error",F,Q),onValidationError:(F,Q)=>s("image-validate-error",F,Q)}),p=e.ref(),E=e.ref(),C=e.ref(null),x=e.computed({get:()=>r.modelValue,set:F=>s("update:modelValue",F)});e.watch(()=>r.imageUrl,F=>{f.setExternalUrl(F)},{immediate:!0});const m=e.computed(()=>!!f.previewUrl.value),g=e.computed(()=>m.value?r.imagePlaceholder??a("search.extendedPlaceholder"):r.placeholder??a("search.placeholder")),k=()=>{x.value="",m.value&&A(),s("clear")},A=()=>{f.reset(),s("update:imageUrl",""),s("image-clear")},D=()=>{f.pickFile(p.value),e.nextTick(()=>{var F,Q;return(Q=(F=E.value)==null?void 0:F.focus)==null?void 0:Q.call(F)})},O=F=>{f.onFileChange(F),e.nextTick(()=>{var Q,I;return(I=(Q=E.value)==null?void 0:Q.focus)==null?void 0:I.call(Q)})},M=F=>{r.enableImageSearch&&f.onPaste(F)},V=F=>{r.enableImageSearch&&f.onDragOver(F)},S=F=>{r.enableImageSearch&&f.onDrop(F)},L=F=>{s("preview-change",F)},w=e.computed(()=>!!x.value||m.value);return t({focus:()=>{var F,Q;return(Q=(F=E.value)==null?void 0:F.focus)==null?void 0:Q.call(F)},blur:()=>{var F,Q;return(Q=(F=E.value)==null?void 0:F.blur)==null?void 0:Q.call(F)},awaitUpload:()=>f.awaitUpload(),getUploadedUrl:()=>f.uploadedUrl.value,getIsUploading:()=>f.isUploading.value,resetImage:()=>{f.reset(),s("update:imageUrl","")}}),(F,Q)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["o-search-image-input",{"has-image":m.value,"is-expanded":i.expanded&&m.value}]),onDragover:V,onDrop:S},[e.createElementVNode("div",gw,[e.createVNode(e.unref(T.OInput),{ref_key:"inputRef",ref:E,modelValue:x.value,"onUpdate:modelValue":Q[3]||(Q[3]=I=>x.value=I),placeholder:g.value,size:i.size,disabled:i.disabled,class:"o-search-image-input-input",onPressEnter:Q[4]||(Q[4]=I=>s("enter")),onFocus:Q[5]||(Q[5]=I=>s("focus",I)),onBlur:Q[6]||(Q[6]=I=>s("blur",I)),onPaste:M},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(F.$slots,"prefix",{},()=>[e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(fm))]),_:1})],!0),i.inlineThumbnail&&m.value?(e.openBlock(),e.createElementBlock("div",vw,[e.createVNode(e.unref(T.OFigure),{src:e.unref(f).previewUrl.value,alt:"",class:"o-search-image-input-thumb-figure"},null,8,["src"]),e.createElementVNode("div",{class:"o-search-image-input-thumb-zoom",onMousedown:Q[0]||(Q[0]=e.withModifiers(()=>{},["prevent"]))},[e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-thumb-zoom-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(X0))]),_:1})],32),e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-thumb-remove",onMousedown:Q[1]||(Q[1]=e.withModifiers(()=>{},["prevent"])),onClick:e.withModifiers(A,["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Gl))]),_:1})])):e.createCommentVNode("",!0)]),_:2},[i.showSuffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(F.$slots,"suffix",{hasValue:w.value},()=>[i.enableImageSearch?(e.openBlock(),e.createElementBlock("span",{key:0,ref_key:"uploadBtnRef",ref:C,class:"o-search-image-input-upload-btn"},[e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-icon upload",onClick:e.withModifiers(D,["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(dw))]),_:1})],512)):e.createCommentVNode("",!0),i.enableImageSearch&&C.value?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:1,trigger:"hover",position:"bottom",target:C.value,"body-class":"o-search-image-input-tooltip"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.imageUploadTooltip??e.unref(a)("search.imageUploadTooltip")),1)]),_:1},8,["target"])):e.createCommentVNode("",!0),i.clearable&&w.value?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:2,class:"o-search-image-input-icon close",onMousedown:Q[2]||(Q[2]=e.withModifiers(()=>{},["prevent"])),onClick:e.withModifiers(k,["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Ma))]),_:1})):e.createCommentVNode("",!0)],!0)]),key:"0"}:void 0]),1032,["modelValue","placeholder","size","disabled"])]),i.expanded&&m.value?(e.openBlock(),e.createElementBlock("div",yw,[e.renderSlot(F.$slots,"preview",{previewUrl:e.unref(f).previewUrl.value,remove:A},()=>[e.createElementVNode("div",Cw,[e.createVNode(e.unref(T.OFigure),{src:e.unref(f).previewUrl.value,preview:i.preview,alt:"",class:"o-search-image-input-preview-figure",onPreview:L},null,8,["src","preview"]),e.createElementVNode("div",bw,[e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-preview-zoom-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(X0))]),_:1})]),e.createVNode(e.unref(T.OIcon),{class:"o-search-image-input-preview-remove",onClick:e.withModifiers(A,["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Gl))]),_:1})])],!0)])):e.createCommentVNode("",!0),i.enableImageSearch?(e.openBlock(),e.createElementBlock("input",{key:1,ref_key:"fileInputRef",ref:p,type:"file",accept:d.value,class:"o-search-image-input-file",onChange:O},null,40,Tw)):e.createCommentVNode("",!0)],34))}}),mm=xe._export_sfc(kw,[["__scopeId","data-v-cbdc0409"]]),Ew={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xw(i,t){return e.openBlock(),e.createElementBlock("svg",Ew,[...t[0]||(t[0]=[e.createStaticVNode('<path opacity="0.8" fill="currentColor" d="M5.616 4.34c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v14.968c0 0.213 0.148 0.391 0.347 0.438l0.103 0.012h10.719c0.213 0 0.391-0.148 0.438-0.347l0.012-0.103v-11.712c0-0.414 0.336-0.75 0.75-0.75 0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v11.712c0 1.010-0.767 1.84-1.751 1.94l-0.199 0.010h-10.719c-1.010 0-1.84-0.767-1.94-1.751l-0.010-0.199v-14.968c0-0.414 0.336-0.75 0.75-0.75z"></path><path opacity="0.8" fill="currentColor" d="M20.19 4.34c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-16.333c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h16.333z"></path><path opacity="0.8" fill="currentColor" d="M14.256 1.936c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-4.535c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h4.535z"></path><path opacity="0.8" fill="currentColor" d="M10.096 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path><path opacity="0.8" fill="currentColor" d="M14.596 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path>',5)])])}const _w={name:"components-icon-delete",render:xw},Aw={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ww(i,t){return e.openBlock(),e.createElementBlock("svg",Aw,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M17.947 4.273c-1.676-1.292-3.752-2.023-5.948-2.023-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75c4.032 0 7.604-2.47 9.066-6.156 0.153-0.385-0.035-0.821-0.42-0.974s-0.821 0.036-0.974 0.42c-1.237 3.119-4.26 5.209-7.672 5.209-4.556 0-8.25-3.694-8.25-8.25s3.694-8.25 8.25-8.25c1.837 0 3.574 0.604 4.983 1.673l-1.305 1.556c-0.077 0.092-0.021 0.232 0.098 0.246l4.873 0.539c0.106 0.012 0.191-0.088 0.16-0.191l-1.377-4.706c-0.034-0.115-0.182-0.146-0.259-0.054l-1.226 1.461z"},null,-1)])])}const Sw={name:"components-icon-refresh",render:ww},Dw=/[.*+?^${}()|[\]\\]/g;function Bw(i,t){const n=(t||"").trim();if(!n)return[{text:i,match:!1}];const r=n.replace(Dw,"\\$&"),s=new RegExp(r,"gi"),a=[];let o=0,l;for(;(l=s.exec(i))!==null;){if(l.index===s.lastIndex){s.lastIndex++;continue}l.index>o&&a.push({text:i.slice(o,l.index),match:!1}),a.push({text:l[0],match:!0}),o=l.index+l[0].length}return o<i.length&&a.push({text:i.slice(o),match:!1}),a}const Vw={class:"o-search-highlight-text"},Nw=e.defineComponent({__name:"HighlightText",props:{text:{},keyword:{},enabled:{type:Boolean,default:!0}},setup(i){const t=i,n=e.computed(()=>!t.enabled||!t.keyword?[{text:t.text,match:!1}]:Bw(t.text,t.keyword));return(r,s)=>(e.openBlock(),e.createElementBlock("span",Vw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(a,o)=>(e.openBlock(),e.createElementBlock("span",{key:o,class:e.normalizeClass({"is-match":a.match})},e.toDisplayString(a.text),3))),128))]))}}),G0=xe._export_sfc(Nw,[["__scopeId","data-v-2a99e23c"]]),Iw={class:"o-search-panel"},Ow={key:0,class:"o-search-panel-section o-search-panel-onestep"},Pw={class:"o-search-panel-section-title onestep"},Lw=["onClick"],Mw={key:0,class:"o-search-panel-onestep-tag"},Rw={key:1,class:"o-search-panel-divider"},qw={key:2,class:"o-search-panel-section o-search-panel-suggest"},Fw={class:"o-search-panel-section-title suggest"},Uw=["onClick"],zw={key:1,class:"o-search-panel-no-data"},Hw={key:3,class:"o-search-panel-divider"},jw={key:4,class:"o-search-panel-section o-search-panel-recommend"},Xw=["onClick"],Gw={key:5,class:"o-search-panel-divider"},Qw={key:6,class:"o-search-panel-section o-search-panel-history"},Yw={class:"o-search-panel-common-header"},Kw={class:"o-search-panel-section-title"},Ww=["onClick"],Jw={class:"o-search-panel-history-row-text"},Zw={key:1,class:"o-search-panel-history-list"},$w=["onClick"],eS={class:"o-search-panel-history-text"},tS={key:7,class:"o-search-panel-divider"},nS={key:8,class:"o-search-panel-section o-search-panel-hot"},iS={class:"o-search-panel-common-header"},rS={class:"o-search-panel-section-title"},sS={class:"o-search-panel-hot-list"},aS=["onClick"],oS=e.defineComponent({__name:"SearchPanel",props:{keyword:{default:""},onestepItems:{default:()=>[]},onestepTitle:{},suggestItems:{default:()=>[]},suggestTitle:{},recommendItems:{default:()=>[]},historyItems:{default:()=>[]},historyTitle:{},hotItems:{default:()=>[]},hotTitle:{},noDataText:{},highlightKeyword:{type:Boolean,default:!0},hideOnKeyword:{type:Boolean,default:!1},showSuggestEmpty:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},historyLayout:{default:"chips"}},emits:["onestep-click","suggest-click","recommend-click","history-click","hot-click","history-remove","history-clear","hot-refresh"],setup(i,{emit:t}){const n=i,r=t,{t:s}=xe.useI18n(),a=e.computed(()=>{var m;return!!((m=n.keyword)!=null&&m.trim())}),o=e.computed(()=>a.value&&n.onestepItems.length>0),l=e.computed(()=>a.value&&(n.suggestItems.length>0||n.showSuggestEmpty)),u=e.computed(()=>!a.value&&n.recommendItems.length>0),d=e.computed(()=>(!n.hideOnKeyword||!a.value)&&n.historyItems.length>0),f=e.computed(()=>(!n.hideOnKeyword||!a.value)&&n.hotItems.length>0),p=e.computed(()=>o.value&&l.value),E=e.computed(()=>l.value&&u.value),C=e.computed(()=>u.value&&d.value),x=e.computed(()=>d.value&&f.value);return(m,g)=>(e.openBlock(),e.createElementBlock("div",Iw,[o.value?(e.openBlock(),e.createElementBlock("div",Ow,[e.renderSlot(m.$slots,"onestep-header",{items:i.onestepItems},()=>[e.createElementVNode("div",Pw,e.toDisplayString(i.onestepTitle??e.unref(s)("search.onestep")),1)],!0),e.renderSlot(m.$slots,"onestep-content",{items:i.onestepItems,keyword:i.keyword},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.onestepItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k.key+(k.path??""),class:"o-search-panel-item o-search-panel-onestep-item",onClick:A=>r("onestep-click",k)},[e.createVNode(G0,{text:k.key,keyword:i.keyword,enabled:i.highlightKeyword},null,8,["text","keyword","enabled"]),k.type?(e.openBlock(),e.createElementBlock("span",Mw,e.toDisplayString(k.type),1)):e.createCommentVNode("",!0)],8,Lw))),128))],!0)])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("div",Rw)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("div",qw,[e.renderSlot(m.$slots,"suggest-header",{items:i.suggestItems},()=>[e.createElementVNode("div",Fw,e.toDisplayString(i.suggestTitle??e.unref(s)("search.suggest")),1)],!0),e.renderSlot(m.$slots,"suggest-content",{items:i.suggestItems,keyword:i.keyword},()=>[i.suggestItems.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.suggestItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k.key,class:"o-search-panel-item",onClick:A=>r("suggest-click",k)},[e.createVNode(G0,{text:k.key,keyword:i.keyword,enabled:i.highlightKeyword},null,8,["text","keyword","enabled"])],8,Uw))),128)):(e.openBlock(),e.createElementBlock("div",zw,e.toDisplayString(i.noDataText??e.unref(s)("search.noData")),1))],!0)])):e.createCommentVNode("",!0),E.value?(e.openBlock(),e.createElementBlock("div",Hw)):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createElementBlock("div",jw,[e.renderSlot(m.$slots,"recommend-header",{items:i.recommendItems},void 0,!0),e.renderSlot(m.$slots,"recommend-content",{items:i.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.recommendItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k,class:"o-search-panel-recommend-item",onClick:A=>r("recommend-click",k)},e.toDisplayString(k),9,Xw))),128))],!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("div",Gw)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",Qw,[e.renderSlot(m.$slots,"history-header",{items:i.historyItems},()=>[e.createElementVNode("div",Yw,[e.createElementVNode("span",Kw,e.toDisplayString(i.historyTitle??e.unref(s)("search.history")),1),i.historyLayout!=="list"?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"o-search-panel-icon",onClick:g[0]||(g[0]=e.withModifiers(k=>r("history-clear"),["stop"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(_w))]),_:1})):e.createCommentVNode("",!0)])],!0),e.renderSlot(m.$slots,"history-content",{items:i.historyItems},()=>[i.historyLayout==="list"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.historyItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k,class:"o-search-panel-history-row",onClick:A=>r("history-click",k)},[e.createElementVNode("span",Jw,e.toDisplayString(k),1)],8,Ww))),128)):(e.openBlock(),e.createElementBlock("div",Zw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.historyItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k,class:e.normalizeClass(["o-search-panel-history-item",{"is-dark":i.isDark}]),onClick:A=>r("history-click",k)},[e.createElementVNode("span",eS,e.toDisplayString(k),1),e.createVNode(e.unref(T.OIcon),{class:"o-search-panel-history-remove",onClick:e.withModifiers(A=>r("history-remove",k),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Gl))]),_:1},8,["onClick"])],10,$w))),128))]))],!0)])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("div",tS)):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createElementBlock("div",nS,[e.renderSlot(m.$slots,"hot-header",{items:i.hotItems},()=>[e.createElementVNode("div",iS,[e.createElementVNode("div",rS,e.toDisplayString(i.hotTitle??e.unref(s)("search.hot")),1),e.createVNode(e.unref(T.OIcon),{class:"o-search-panel-icon",onClick:g[1]||(g[1]=e.withModifiers(k=>r("hot-refresh"),["stop"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(Sw))]),_:1})])],!0),e.renderSlot(m.$slots,"hot-content",{items:i.hotItems},()=>[e.createElementVNode("div",sS,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.hotItems,k=>(e.openBlock(),e.createElementBlock("div",{key:k,class:"o-search-panel-hot-item",onClick:A=>r("hot-click",k)},e.toDisplayString(k),9,aS))),128))])],!0)])):e.createCommentVNode("",!0)]))}}),pm=xe._export_sfc(oS,[["__scopeId","data-v-872f0035"]]);function gm(i){const{initial:t,storageKey:n,storeHistory:r,maxHistoryCount:s,onChange:a}=i,o=e.ref([...t.value]),l=()=>{if(!(!r.value||typeof localStorage>"u"))try{o.value.length?localStorage.setItem(n.value,JSON.stringify(o.value)):localStorage.removeItem(n.value)}catch{}},u=C=>{o.value=C,l(),a==null||a(o.value)},d=()=>{if(!(!r.value||typeof localStorage>"u"))try{const C=localStorage.getItem(n.value);if(!C)return;const x=JSON.parse(C);if(Array.isArray(x)&&x.length){const m=Array.from(new Set([...x,...o.value]));o.value=m.slice(0,s.value),a==null||a(o.value)}}catch{}},f=C=>{const x=C==null?void 0:C.trim();if(!x)return;const m=[x,...o.value.filter(g=>g!==x)];m.length>s.value&&(m.length=s.value),u(m)},p=C=>{u(o.value.filter(x=>x!==C))},E=()=>{u([])};return e.watch(t,C=>{C!==o.value&&(o.value=[...C])}),e.onMounted(d),{items:o,push:f,remove:p,clearAll:E}}const lS={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function uS(i,t){return e.openBlock(),e.createElementBlock("svg",lS,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const cS={name:"components-icon-header-back",render:uS},dS={key:0,class:"o-header-search-drawer"},hS=".o-layer",fS=e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{},imagePlaceholder:{},enableImageSearch:{type:Boolean,default:!1},imageUrl:{default:""},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},suggestItems:{default:()=>[]},onestepItems:{default:()=>[]},suggestTitle:{},onestepTitle:{},noDataText:{},highlightKeyword:{type:Boolean,default:!0},debounce:{default:300},autoSaveHistory:{type:Boolean,default:!0},showSuggestEmpty:{type:Boolean,default:!0},allowedImageTypes:{},mobile:{type:Boolean},simple:{type:Boolean,default:!1}},emits:["update:modelValue","update:historyItems","update:imageUrl","focus","blur","input","clear","search","recommend-click","onestep-click","history-click","hot-click","hot-refresh","delete-history","delete-history-item","image-upload-start","image-upload-success","image-upload-error","image-validate-error"],setup(i,{expose:t,emit:n}){const r=i,s=n,{lePadV:a}=nt.useScreen(),{t:o}=xe.useI18n(),l=e.computed(()=>r.mobile===!0||a.value),u=e.inject("isSearchHidden"),d=e.computed(()=>r.simple||(u==null?void 0:u.value)),f=e.ref(null),p=e.ref(),E=e.ref(!1),C=e.ref(!1),x=e.ref(""),m=e.computed(()=>!!r.imageUrl||C.value),g=e.ref(!1),k=e.computed({get:()=>r.modelValue,set:ne=>s("update:modelValue",ne)}),A=e.toRef(r,"historyItems"),D=e.toRef(r,"storageKey"),O=e.toRef(r,"storeHistory"),M=e.toRef(r,"maxHistoryCount"),V=gm({initial:A,storageKey:D,storeHistory:O,maxHistoryCount:M,onChange:ne=>s("update:historyItems",ne)}),S=e.computed(()=>r.imageUrl?r.imagePlaceholder??o("search.extendedPlaceholder"):E.value&&r.enableImageSearch?r.imagePlaceholder??o("search.imagePlaceholder"):E.value?r.expandedPlaceholder??o("search.expandedPlaceholder"):r.placeholder??o("search.placeholder")),L=ct.useDebounceFn(ne=>s("input",ne),()=>r.debounce);e.watch(k,ne=>L(ne)),ct.onClickOutside(f,()=>{l.value||g.value||B()},{ignore:[hS]});const w=()=>{E.value=!0},B=()=>{l.value||(E.value=!1)},F=()=>{w(),s("focus")},Q=()=>{s("blur")},I=async ne=>{var _e,qe,fe,Te,Be,Ie,Ae,me;(qe=(_e=p.value)==null?void 0:_e.getIsUploading)!=null&&qe.call(_e)&&await((Te=(fe=p.value).awaitUpload)==null?void 0:Te.call(fe));const Ce=ne!==void 0?ne.trim():k.value.trim(),le=x.value||((Ie=(Be=p.value)==null?void 0:Be.getUploadedUrl)==null?void 0:Ie.call(Be))||r.imageUrl;if(!(!Ce&&!le)&&(r.autoSaveHistory&&Ce&&V.push(Ce),s("search",{keyword:Ce,imageUrl:le||void 0}),(me=(Ae=p.value)==null?void 0:Ae.blur)==null||me.call(Ae),E.value=!1,r.searchUrl)){const ke=new URLSearchParams;Ce&&ke.set("q",Ce),le&&ke.set("imageUrl",le);const Ee=r.searchUrl.includes("?")?"&":"?",Ne=`${r.searchUrl}${Ee}${ke.toString()}`;typeof window<"u"&&window.open(Ne,r.searchUrlOpenBlank?"_blank":"_self",r.searchUrlOpenBlank?"noopener,noreferrer":"")}},q=()=>{var ne,Ce;k.value="",s("clear"),(Ce=(ne=p.value)==null?void 0:ne.focus)==null||Ce.call(ne)},U=ne=>{s("recommend-click",ne),k.value=ne.key,I(ne.key??"")},G=ne=>{s("recommend-click",ne),I(ne)},z=ne=>{s("onestep-click",ne),ne.path&&typeof window<"u"&&window.open(ne.path,"_blank","noopener,noreferrer")},Z=ne=>{s("history-click",ne),I(ne)},W=ne=>{s("hot-click",ne),I(ne)},R=ne=>{V.remove(ne),s("delete-history-item",ne)},Y=()=>{const ne=[...V.items.value];V.clearAll(),s("delete-history",ne)},j=()=>{k.value="",C.value=!1,s("update:imageUrl",""),E.value=!1},ae=ne=>{C.value=!0,x.value="",s("image-upload-start",ne)},he=(ne,Ce)=>{x.value=ne,s("update:imageUrl",ne),s("image-upload-success",ne,Ce)},ue=()=>{C.value=!1,x.value="",s("update:imageUrl","")},be=e.computed(()=>!(!E.value||m.value));return t({focus:()=>{var ne,Ce;return(Ce=(ne=p.value)==null?void 0:ne.focus)==null?void 0:Ce.call(ne)},blur:()=>{var ne,Ce;return(Ce=(ne=p.value)==null?void 0:ne.blur)==null?void 0:Ce.call(ne)},open:w,close:B,search:I}),(ne,Ce)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["o-header-search",{"is-mobile-mode":l.value,"is-simple":d.value&&!l.value}])},[e.createElementVNode("div",{ref_key:"wrapperRef",ref:f,class:e.normalizeClass(["o-header-search-pos",{"is-pc":!l.value,"is-mobile":l.value,"is-simple":d.value&&!l.value,"is-left":i.expandDirection==="left","is-right":i.expandDirection==="right","is-focus":E.value}])},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-row",{"is-focus":E.value}])},[l.value&&E.value?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"o-header-search-back-icon",onClick:j},{default:e.withCtx(()=>[e.createVNode(e.unref(cS))]),_:1})):e.createCommentVNode("",!0),e.createVNode(mm,{ref_key:"inputRef",ref:p,modelValue:k.value,"onUpdate:modelValue":Ce[0]||(Ce[0]=le=>k.value=le),"image-url":i.imageUrl,placeholder:S.value,"enable-image-search":i.enableImageSearch,"upload-image":i.uploadImage,"max-image-size":i.maxImageSize,"image-upload-tooltip":i.imageUploadTooltip,clearable:i.clearable&&E.value,expanded:E.value&&m.value,"allowed-image-types":i.allowedImageTypes,size:"medium",class:e.normalizeClass(["o-header-search-input",{"is-collapsed":!E.value}]),"onUpdate:imageUrl":Ce[1]||(Ce[1]=le=>s("update:imageUrl",le)),onFocus:F,onBlur:Q,onEnter:I,onClear:q,onImageClear:ue,onImageUploadStart:ae,onImageUploadSuccess:he,onImageUploadError:Ce[2]||(Ce[2]=(le,_e)=>s("image-upload-error",le,_e)),onImageValidateError:Ce[3]||(Ce[3]=(le,_e)=>s("image-validate-error",le,_e)),onPreviewChange:Ce[4]||(Ce[4]=le=>{g.value=le})},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(ne.$slots,"input-prefix",{},void 0,!0)]),suffix:e.withCtx(le=>[e.renderSlot(ne.$slots,"input-suffix",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),_:2},[ne.$slots["image-preview"]?{name:"preview",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"image-preview",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"0"}:void 0]),1032,["modelValue","image-url","placeholder","enable-image-search","upload-image","max-image-size","image-upload-tooltip","clearable","expanded","allowed-image-types","class"]),l.value&&E.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:Ce[5]||(Ce[5]=()=>I())},e.toDisplayString(i.searchTextMobile??e.unref(o)("search")),1)):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{name:"o-header-search-drawer"},{default:e.withCtx(()=>[be.value?(e.openBlock(),e.createElementBlock("div",dS,[e.renderSlot(ne.$slots,"drawer",{recommendItems:i.recommendItems,historyItems:e.unref(V).items.value,hotItems:i.hotItems,suggestItems:i.suggestItems,onestepItems:i.onestepItems,keyword:i.modelValue},()=>[e.createVNode(pm,{keyword:i.modelValue,"onestep-items":i.onestepItems,"onestep-title":i.onestepTitle,"suggest-items":i.suggestItems,"suggest-title":i.suggestTitle,"recommend-items":i.recommendItems,"history-items":e.unref(V).items.value,"history-title":i.historyTitle,"hot-items":i.hotItems,"hot-title":i.hotTitle,"no-data-text":i.noDataText,"highlight-keyword":i.highlightKeyword,"hide-on-keyword":!0,"show-suggest-empty":i.showSuggestEmpty,onOnestepClick:z,onSuggestClick:U,onRecommendClick:G,onHistoryClick:Z,onHistoryRemove:R,onHistoryClear:Y,onHotClick:W,onHotRefresh:Ce[6]||(Ce[6]=le=>s("hot-refresh"))},e.createSlots({_:2},[ne.$slots["recommend-header"]?{name:"recommend-header",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"recommend-header",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"0"}:void 0,ne.$slots["recommend-content"]?{name:"recommend-content",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"recommend-content",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"1"}:void 0,ne.$slots["onestep-header"]?{name:"onestep-header",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"onestep-header",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"2"}:void 0,ne.$slots["onestep-content"]?{name:"onestep-content",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"onestep-content",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"3"}:void 0,ne.$slots["suggest-header"]?{name:"suggest-header",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"suggest-header",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"4"}:void 0,ne.$slots["suggest-content"]?{name:"suggest-content",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"suggest-content",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"5"}:void 0,ne.$slots["history-header"]?{name:"history-header",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"history-header",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"6"}:void 0,ne.$slots["history-content"]?{name:"history-content",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"history-content",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"7"}:void 0,ne.$slots["hot-header"]?{name:"hot-header",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"hot-header",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"8"}:void 0,ne.$slots["hot-content"]?{name:"hot-content",fn:e.withCtx(le=>[e.renderSlot(ne.$slots,"hot-content",e.normalizeProps(e.guardReactiveProps(le)),void 0,!0)]),key:"9"}:void 0]),1032,["keyword","onestep-items","onestep-title","suggest-items","suggest-title","recommend-items","history-items","history-title","hot-items","hot-title","no-data-text","highlight-keyword","show-suggest-empty"])],!0)])):e.createCommentVNode("",!0)]),_:3})],2),l.value||d.value?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,class:"o-header-search-mobile-icon",onClick:w},{default:e.withCtx(()=>[e.createVNode(e.unref(fm))]),_:1})):e.createCommentVNode("",!0)],2))}}),Q0=xe._export_sfc(fS,[["__scopeId","data-v-bf46f1ee"]]),mS=Object.assign(Q0,{install(i){i.component("OHeaderSearch",Q0)}}),pS={class:"source-code"},gS={class:"title"},vS={class:"info-wrap hover-icon-rotate"},yS={class:"title"},CS=e.defineComponent({__name:"OHeaderSourceCode",props:{title:{},options:{},href:{},target:{},icon:{},justify:{default:"center"},itemRadius:{default:4}},setup(i){const t=s=>{window.open(s.href,s.target?s.target:"_blank")},n=e.ref(!1),r=s=>{n.value=s};return(s,a)=>(e.openBlock(),e.createElementBlock("div",pS,[i.href?(e.openBlock(),e.createElementBlock("div",{key:0,class:"info-wrap",onClick:a[0]||(a[0]=o=>t({href:i.href,target:i.target}))},[e.createElementVNode("span",gS,e.toDisplayString(i.title),1),i.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.icon),{class:"icon"}))]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(T.ODropdown),{key:1,trigger:"hover",optionPosition:"bottom","option-wrap-class":"dropdown","option-width-mode":"auto",class:e.normalizeClass({"dropdown-active":n.value}),onVisibleChange:r},{dropdown:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,o=>(e.openBlock(),e.createBlock(e.unref(T.ODropdownItem),{onClick:l=>t(o),key:o.href,style:e.normalizeStyle({"--dropdown-item-justify":i.justify,"--dropdown-item-radius":`${i.itemRadius}px`})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label)+" ",1),o.icon?(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{class:"icon"}))]),_:2},1024)):e.createCommentVNode("",!0)]),_:2},1032,["onClick","style"]))),128))]),default:e.withCtx(()=>[e.createElementVNode("div",vS,[e.createElementVNode("span",yS,e.toDisplayString(i.title),1),e.createVNode(e.unref(T.OIcon),{class:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ds))]),_:1})])]),_:1},8,["class"]))]))}}),Y0=xe._export_sfc(CS,[["__scopeId","data-v-4c72b8c0"]]),bS=Object.assign(Y0,{install(i){i.component("OHeaderSourceCode",Y0)}}),TS={class:"o-theme-switcher"},kS={key:1,class:"o-theme-switcher-mobile"},ES=e.defineComponent({__name:"OHeaderTheme",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},disabled:{type:Boolean,default:!1}},emits:["update:theme","change"],setup(i,{emit:t}){const n=i,r=t,{lePadV:s}=nt.useScreen(),a=e.computed({get(){return n.theme},set(u){r("update:theme",u),r("change",u)}}),o=e.computed(()=>n.type==="common"||n.type==="auto"&&!s.value),l=()=>{n.disabled||(a.value=a.value===n.lightValue?n.darkValue:n.lightValue)};return(u,d)=>(e.openBlock(),e.createElementBlock("div",TS,[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["o-theme-switcher-common",{disabled:i.disabled}]),onClick:l},[e.createVNode(e.unref(T.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[a.value===i.lightValue?(e.openBlock(),e.createBlock(e.unref(om),{key:0})):(e.openBlock(),e.createBlock(e.unref(lm),{key:1}))]),_:1})],2)):(e.openBlock(),e.createElementBlock("div",kS,[e.createVNode(e.unref(T.OSwitch),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=f=>a.value=f),class:"o-theme-switch","checked-value":i.lightValue,"unchecked-value":i.darkValue,disabled:i.disabled},{inactive:e.withCtx(()=>[e.createVNode(e.unref(T.OIconMoon))]),active:e.withCtx(()=>[e.createVNode(e.unref(T.OIconSun))]),off:e.withCtx(()=>[e.createVNode(e.unref(T.OIconSun))]),on:e.withCtx(()=>[e.createVNode(e.unref(T.OIconMoon))]),_:1},8,["modelValue","checked-value","unchecked-value","disabled"])]))]))}}),K0=xe._export_sfc(ES,[["__scopeId","data-v-a8461f7a"]]),xS=Object.assign(K0,{install(i){i.component("OHeaderTheme",K0)}}),_S=["src"],AS=e.defineComponent({__name:"AppAvatar",props:{avatar:{type:String,default:""},name:{type:String,default:"",required:!0},size:{type:String,default:"medium"},customSize:{type:Number,default:20},variant:{type:String,default:"round"}},setup(i){const t=i,n=["#058EF0","#FA7305","#03B5A5"],r=e.computed(()=>{var a;return(a=t.name)==null?void 0:a.charAt(0).toUpperCase()}),s=e.computed(()=>{var l;const a={"background-color":"",width:t.customSize+"px",height:t.customSize+"px","font-size":"20px"};a["background-color"]=t.name?n[((l=t.name)==null?void 0:l.length)%n.length]:"transparent";let o=0;return t.customSize?o=Number(t.customSize):o={mini:16,small:24,medium:40,large:64}[t.size],a.height=`${o}px`,a.width=`${o}px`,a["font-size"]=`${o/2}px`,a});return(a,o)=>i.avatar&&!i.avatar.includes("gitcode")?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.avatar,class:e.normalizeClass(["img-avatar",i.variant]),style:e.normalizeStyle(s.value),alt:""},null,14,_S)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["word-avatar",i.variant]),style:e.normalizeStyle(s.value)},e.toDisplayString(r.value),7))}}),wS=xe._export_sfc(AS,[["__scopeId","data-v-9aaf13f3"]]),SS={key:0,class:"user-info"},DS={class:"info-wrap hover-icon-rotate"},BS={key:1},VS=e.defineComponent({__name:"OHeaderUser",props:{token:{},lang:{},noticeTotal:{},userInfo:{},options:{},customSize:{default:20},simple:{type:Boolean,default:!1},itemRadius:{default:4}},emits:["login","logout"],setup(i,{emit:t}){const{lePadV:n}=nt.useScreen(),r=i,s=t,a=e.inject("isUserHidden"),o=e.computed(()=>r.simple||(a==null?void 0:a.value)),l=()=>{s("login")},u=E=>{E!=null&&E.logout?s("logout"):window.open(E.url,E.target)},d=e.ref(),{width:f}=ct.useElementSize(d),p=e.inject("reportHeaderUserWidth");return e.watch(f,E=>{var C;(C=r.userInfo)!=null&&C.username&&!o.value&&(p==null||p(Math.ceil(E)))},{immediate:!0}),(E,C)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"headerUserRef",ref:d,class:"header-user"},[i.token?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T.OIcon),{key:0,onClick:l,class:"avatar-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Hl))]),_:1})),e.createVNode(e.Transition,{name:"header-user-zoom-in"},{default:e.withCtx(()=>[i.token?(e.openBlock(),e.createElementBlock("div",SS,[e.createVNode(e.unref(T.ODropdown),{trigger:e.unref(n)?"click":"hover",optionWidthMode:"auto",optionPosition:e.unref(n)?"br":"bottom","option-wrap-class":`user-dropdown ${i.lang==="en"?"is-en":""}`},{dropdown:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,x=>(e.openBlock(),e.createBlock(e.unref(T.ODropdownItem),{key:x.label,onClick:m=>u(x),style:e.normalizeStyle({"--dropdown-item-radius":`${i.itemRadius}px`})},{default:e.withCtx(()=>[x!=null&&x.total?(e.openBlock(),e.createBlock(e.unref(T.OBadge),{key:0,value:x.total,color:"danger",class:e.normalizeClass(["header-message message",{"notice-not":!x.total}])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value","class"])):(e.openBlock(),e.createElementBlock("span",BS,e.toDisplayString(x.label),1))]),_:2},1032,["onClick","style"]))),128))]),default:e.withCtx(()=>{var x,m;return[e.createElementVNode("div",DS,[e.createVNode(e.unref(T.OBadge),{value:i.noticeTotal,dot:!0,color:"danger",class:e.normalizeClass(["header-message user-avatar",{"notice-not":!i.noticeTotal}])},{default:e.withCtx(()=>{var g,k;return[e.createVNode(wS,{avatar:(g=i.userInfo)==null?void 0:g.photo,name:(k=i.userInfo)==null?void 0:k.username,"custom-size":i.customSize},null,8,["avatar","name","custom-size"])]}),_:1},8,["value","class"]),(x=i.userInfo)!=null&&x.username?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives(e.createElementVNode("p",{ref:"userNameRef",class:"user-account"},e.toDisplayString((m=i.userInfo)==null?void 0:m.username),513),[[e.vShow,!o.value]]),e.withDirectives(e.createVNode(e.unref(T.OIcon),{ref:"userIconRef",class:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ds))]),_:1},512),[[e.vShow,!o.value]])],64)):e.createCommentVNode("",!0)])]}),_:1},8,["trigger","optionPosition","option-wrap-class"])])):e.createCommentVNode("",!0)]),_:1})],512))}}),W0=xe._export_sfc(VS,[["__scopeId","data-v-01df49a0"]]),NS=Object.assign(W0,{install(i){i.component("OHeaderUser",W0)}});function IS(i,t="span",n="svg-icon"){return e.defineComponent({render(){const r=e.resolveDirective("dompurify-html");return e.withDirectives(e.h(t,{class:n}),[[r,i]])}})}const OS={class:"o-logo-swiper"},PS={class:"o-logo-swiper-tip"},LS=e.defineComponent({__name:"OLogoSwiper",setup(i){const{t}=xe.useI18n();return(n,r)=>(e.openBlock(),e.createElementBlock("div",OS,[e.renderSlot(n.$slots,"default",{},void 0,!0),e.renderSlot(n.$slots,"tip",{},()=>[e.createElementVNode("div",PS,e.toDisplayString(e.unref(t)("logo.tip")),1)],!0)]))}}),J0=xe._export_sfc(LS,[["__scopeId","data-v-6c8c87fc"]]),MS={class:"o-logo-swiper-track"},RS=["onClick"],qS=["href","target"],FS=e.defineComponent({__name:"OLogoSwiperItems",props:{data:{default:()=>[]},reverse:{type:Boolean,default:!1},autoPlay:{type:Boolean,default:!0},duration:{default:100},pauseOnHover:{type:Boolean,default:!0},target:{default:"_blank"},radius:{default:""},fit:{default:"fill"}},emits:["click"],setup(i,{emit:t}){const n=i,r=t,{locale:s}=xe.useI18n(),{isDark:a}=ji(),o=e.computed(()=>{const g={"--logo-swiper-duration":`${n.duration}s`};return n.radius!==""&&(g["--o-logo-swiper-item-radius"]=typeof n.radius=="number"?`${n.radius}px`:n.radius),g}),l=e.ref(null),u=e.ref(!1),d=e.ref(2);let f=null,p=null;const E=()=>{const g=l.value;if(!g||!n.data.length){d.value=2;return}const k=g.offsetWidth;if(k<=0)return;const A=g.querySelector(".o-logo-swiper-item");if(!A)return;const D=getComputedStyle(A),O=A.offsetWidth+(parseFloat(D.marginRight)||0);if(O<=0)return;const M=n.data.length*O;let V=Math.ceil(k*2/M);V<2&&(V=2),V%2!==0&&(V+=1),d.value=V},C=e.computed(()=>{const g=[];for(let k=0;k<d.value;k++)g.push(...n.data);return g});e.watch(()=>n.data,()=>e.nextTick(E)),e.onMounted(()=>{typeof IntersectionObserver>"u"||!l.value?u.value=!0:(p=new IntersectionObserver(g=>{g.forEach(k=>{u.value=k.isIntersecting})},{threshold:.5}),p.observe(l.value)),e.nextTick(E),typeof ResizeObserver<"u"&&l.value&&(f=new ResizeObserver(()=>E()),f.observe(l.value))}),e.onBeforeUnmount(()=>{f==null||f.disconnect(),p==null||p.disconnect(),f=p=null});const x=g=>s.value!=="zh"&&g.hrefEn?g.hrefEn:g.href,m=g=>a.value&&g.logoDark||g.logo;return(g,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:l,class:e.normalizeClass(["o-logo-swiper-items",{"is-reverse":i.reverse,"is-paused":!i.autoPlay,"is-visible":u.value,"pause-on-hover":i.pauseOnHover}]),style:e.normalizeStyle(o.value)},[e.createElementVNode("div",MS,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(A,D)=>(e.openBlock(),e.createElementBlock("div",{key:D,class:e.normalizeClass(["o-logo-swiper-item",{link:x(A)}]),onClick:O=>r("click",A)},[x(A)?(e.openBlock(),e.createElementBlock("a",{key:0,href:x(A),target:i.target,rel:"noopener noreferrer"},[e.createVNode(e.unref(T.OFigure),{class:"o-logo-swiper-img",src:m(A),fit:i.fit},null,8,["src","fit"])],8,qS)):(e.openBlock(),e.createBlock(e.unref(T.OFigure),{key:1,class:"o-logo-swiper-img",src:m(A),fit:i.fit},null,8,["src","fit"]))],10,RS))),128))])],6))}}),Z0=xe._export_sfc(FS,[["__scopeId","data-v-a34497b2"]]),US=Object.assign(J0,{install(i){i.component("OLogoSwiper",J0)}}),zS=Object.assign(Z0,{install(i){i.component("OLogoSwiperItems",Z0)}}),HS=Object.assign(Ul,{install(i){i.component("OMarkdown",Ul)}}),jS={class:"o-org-desc"},XS=e.defineComponent({__name:"OOrgDesc",props:{items:{default:()=>[]},image:{default:void 0},imageDark:{default:void 0}},setup(i){const t=i;return(n,r)=>(e.openBlock(),e.createElementBlock("div",jS,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(s,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:"o-org-desc-item"},e.toDisplayString(s),1))),128)),t.image?(e.openBlock(),e.createBlock(e.unref(T.OFigure),{key:0,class:"o-org-desc-img",src:t.image,fit:"contain"},null,8,["src"])):e.createCommentVNode("",!0),t.imageDark?(e.openBlock(),e.createBlock(e.unref(T.OFigure),{key:1,class:"o-org-desc-img-dark",src:t.imageDark,fit:"contain"},null,8,["src"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)]))}}),$0=xe._export_sfc(XS,[["__scopeId","data-v-f73b26e9"]]),GS={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function QS(i,t){return e.openBlock(),e.createElementBlock("svg",GS,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M26.307 5.012c1.473 0 2.667 1.193 2.667 2.667v7.32c0 0.516-0.417 0.933-0.933 0.933s-0.933-0.417-0.933-0.933l-0.001-6.997-9.461 7.828c-0.999 0.825-2.445 0.815-3.431-0.025l-9.465-8.075v16.671c0 0.441 0.359 0.8 0.8 0.8h20.759c0.441 0 0.8-0.359 0.8-0.8v-5.395c0-0.516 0.417-0.933 0.933-0.933s0.933 0.417 0.933 0.933v5.395c0 1.473-1.193 2.667-2.667 2.667h-20.759c-1.473 0-2.667-1.193-2.667-2.667v-16.721c0-1.473 1.193-2.667 2.667-2.667h20.759zM25.533 6.879h-18.907l8.799 7.505c0.296 0.252 0.729 0.256 1.029 0.008l9.079-7.513z"},null,-1)])])}const YS={name:"components-icon-email",render:QS},KS={class:"o-org-members"},WS=["src","alt"],JS={class:"o-org-members-title"},ZS={key:0,class:"o-org-members-position"},$S={key:1,class:"o-org-members-desc"},eD=e.defineComponent({__name:"OOrgMembers",props:{list:{default:()=>[]}},setup(i){const t=i,{locale:n,t:r}=xe.useI18n(),s=e.computed(()=>n.value!=="zh"),{lePadV:a,isPhone:o}=nt.useScreen(),l=e.ref(!1),u=e.computed(()=>o.value?2:a.value?4:6),d=e.computed(()=>u.value*4),f=e.computed(()=>t.list.length>d.value),p=e.computed(()=>l.value||!f.value?t.list:t.list.slice(0,d.value)),E=()=>{l.value=!l.value},C=g=>s.value&&g.titleEn||g.title,x=g=>s.value&&g.positionEn||g.position,m=g=>s.value&&g.descEn||g.desc;return(g,k)=>(e.openBlock(),e.createElementBlock("div",KS,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,A=>(e.openBlock(),e.createElementBlock("div",{class:"o-org-members-item",key:A.title},[e.createElementVNode("img",{class:"o-org-members-avatar",src:A.avatar,alt:A.title},null,8,WS),e.createElementVNode("div",JS,e.toDisplayString(C(A)),1),x(A)?(e.openBlock(),e.createElementBlock("div",ZS,e.toDisplayString(x(A)),1)):e.createCommentVNode("",!0),m(A)?(e.openBlock(),e.createElementBlock("div",$S,e.toDisplayString(m(A)),1)):e.createCommentVNode("",!0),A.email?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:2,class:"o-org-members-email",href:`mailto:${A.email}`,title:A.email,"hover-underline":!1},{icon:e.withCtx(()=>[e.createVNode(e.unref(YS))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(r)("org.email")),1)]),_:1},8,["href","title"])):e.createCommentVNode("",!0)]))),128)),f.value?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,class:"o-org-members-view-all",variant:"text",onClick:E},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createBlock(e.unref(T.OIconChevronUp),{key:0})):(e.openBlock(),e.createBlock(e.unref(T.OIconChevronDown),{key:1}))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(l.value?e.unref(r)("org.collapseAll"):e.unref(r)("org.viewAll")),1)]),_:1})):e.createCommentVNode("",!0)]))}}),eh=xe._export_sfc(eD,[["__scopeId","data-v-b71cff74"]]),tD=Object.assign($0,{install(i){i.component("OOrgDesc",$0)}}),nD=Object.assign(eh,{install(i){i.component("OOrgMembers",eh)}}),iD={class:"o-search-input-box"},rD={key:0,class:"o-search-input-dropdown"},sD={key:0,class:"o-search-input-suggest-list-row"},aD={class:"o-search-input-suggest-list-label"},oD={class:"o-search-input-suggest-list"},lD=["onClick"],uD={key:0},cD=e.defineComponent({__name:"OSearchInput",props:{modelValue:{default:""},imageUrl:{default:""},size:{default:"large"},placeholder:{},imagePlaceholder:{},enableImageSearch:{type:Boolean,default:!1},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},allowedImageTypes:{},suggestItems:{default:()=>[]},onestepItems:{default:()=>[]},suggestTitle:{},onestepTitle:{},noDataText:{},showSuggestEmpty:{type:Boolean,default:!0},highlightKeyword:{type:Boolean,default:!0},debounce:{default:300},enableHistory:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},storageKey:{default:"search-history"},historyTitle:{},autoSaveHistory:{type:Boolean,default:!0},hotItems:{default:()=>[]},hotTitle:{},suggestList:{default:()=>[]},suggestListLabel:{},clearable:{type:Boolean,default:!0},closeOnSearch:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!0},alwaysInlineThumbnail:{type:Boolean}},emits:["update:modelValue","update:imageUrl","update:historyItems","focus","blur","input","clear","search","recommend-click","onestep-click","history-click","hot-click","suggest-list-click","delete-history","delete-history-item","image-upload-start","image-upload-success","image-upload-error","image-validate-error"],setup(i,{expose:t,emit:n}){const r=i,s=n,{t:a}=xe.useI18n();function o(j){const ae=[],he=/<em>(.*?)<\/em>/g;let ue=0,be;for(;(be=he.exec(j))!==null;)be.index>ue&&ae.push({text:j.slice(ue,be.index),em:!1}),ae.push({text:be[1],em:!0}),ue=be.index+be[0].length;return ue<j.length&&ae.push({text:j.slice(ue),em:!1}),ae}const l=e.ref(),u=e.ref(null),d=e.computed({get:()=>r.modelValue,set:j=>s("update:modelValue",j)}),f=e.ref(!1),p=e.ref(!1),E=e.ref(!1),C=e.ref(!1),x=e.computed(()=>{if(!f.value||r.imageUrl||C.value)return!1;const j=!!d.value&&(r.suggestItems.length>0||r.onestepItems.length>0||r.showSuggestEmpty),ae=r.enableHistory&&D.items.value.length>0&&!d.value,he=r.hotItems.length>0&&!d.value;return!!(j||r.openOnFocus&&(ae||he))}),m=e.toRef(r,"historyItems"),g=e.toRef(r,"storageKey"),k=e.toRef(r,"storeHistory"),A=e.toRef(r,"maxHistoryCount"),D=gm({initial:m,storageKey:g,storeHistory:k,maxHistoryCount:A,onChange:j=>s("update:historyItems",j)});let O=!1;const M=ct.useDebounceFn(j=>{if(O){O=!1;return}s("input",j)},()=>r.debounce);e.watch(d,j=>{M(j)}),ct.onClickOutside(u,()=>{r.closeOnClickOutside&&(p.value||E.value||(f.value=!1))});const V=()=>{f.value=!0,s("focus")},S=()=>{s("blur")},L=async j=>{var ue,be,ne,Ce,le,_e;(be=(ue=l.value)==null?void 0:ue.getIsUploading)!=null&&be.call(ue)&&await((Ce=(ne=l.value).awaitUpload)==null?void 0:Ce.call(ne));const ae=j!==void 0?j.trim():d.value.trim(),he=((_e=(le=l.value)==null?void 0:le.getUploadedUrl)==null?void 0:_e.call(le))||r.imageUrl;!ae&&!he||(r.autoSaveHistory&&ae&&D.push(ae),r.closeOnSearch&&(f.value=!1),s("search",{keyword:ae,imageUrl:he||void 0}))},w=()=>{d.value="",s("clear")},B=j=>{s("recommend-click",j),O=!0,d.value=j.key,L(j.key??"")},F=j=>{if(s("onestep-click",j),j.path){const ae=j.path;typeof window<"u"&&window.open(ae,"_blank","noopener,noreferrer")}},Q=j=>{s("history-click",j),L(j)},I=j=>{s("hot-click",j),L(j)},q=j=>{D.remove(j),s("delete-history-item",j)},U=()=>{const j=[...D.items.value];D.clearAll(),s("delete-history",j)},G=j=>{const ae=j.replace(/<[^>]+>/g,"");s("suggest-list-click",ae),O=!0,d.value=ae,L(ae)},z=j=>{p.value=j,j||(E.value=!0,setTimeout(()=>{E.value=!1},100))},Z=e.computed(()=>!!r.imageUrl&&(r.alwaysInlineThumbnail||!f.value)),W=j=>{C.value=!0,s("image-upload-start",j)},R=(j,ae)=>{C.value=!1,s("image-upload-success",j,ae)},Y=()=>{C.value=!1,s("update:imageUrl","")};return t({focus:()=>{var j,ae;return(ae=(j=l.value)==null?void 0:j.focus)==null?void 0:ae.call(j)},blur:()=>{var j,ae;return(ae=(j=l.value)==null?void 0:j.blur)==null?void 0:ae.call(j)},search:L,saveHistory:j=>D.push(j??d.value)}),(j,ae)=>{var he;return e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:u,class:e.normalizeClass(["o-search-input",{"is-focus":f.value}])},[e.createElementVNode("div",iD,[e.createVNode(mm,{ref_key:"inputRef",ref:l,modelValue:d.value,"onUpdate:modelValue":ae[0]||(ae[0]=ue=>d.value=ue),"image-url":i.imageUrl,placeholder:i.placeholder,"image-placeholder":i.imagePlaceholder,size:i.size,"enable-image-search":i.enableImageSearch,"upload-image":i.uploadImage,"max-image-size":i.maxImageSize,"image-upload-tooltip":i.imageUploadTooltip,"allowed-image-types":i.allowedImageTypes,expanded:f.value&&!r.alwaysInlineThumbnail,"inline-thumbnail":Z.value,clearable:i.clearable,class:"o-search-input-field","onUpdate:imageUrl":ae[1]||(ae[1]=ue=>s("update:imageUrl",ue)),onFocus:V,onBlur:S,onEnter:L,onClear:w,onImageClear:Y,onImageUploadStart:W,onImageUploadSuccess:R,onImageUploadError:ae[2]||(ae[2]=(ue,be)=>s("image-upload-error",ue,be)),onImageValidateError:ae[3]||(ae[3]=(ue,be)=>s("image-validate-error",ue,be)),onPreviewChange:z},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(j.$slots,"input-prefix",{},void 0,!0)]),suffix:e.withCtx(ue=>[e.renderSlot(j.$slots,"input-suffix",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),_:2},[j.$slots["image-preview"]?{name:"preview",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"image-preview",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"0"}:void 0]),1032,["modelValue","image-url","placeholder","image-placeholder","size","enable-image-search","upload-image","max-image-size","image-upload-tooltip","allowed-image-types","expanded","inline-thumbnail","clearable"]),e.createVNode(e.Transition,{name:"o-search-input-dropdown"},{default:e.withCtx(()=>[x.value?(e.openBlock(),e.createElementBlock("div",rD,[e.renderSlot(j.$slots,"dropdown",{keyword:i.modelValue},()=>[e.createVNode(pm,{keyword:i.modelValue,"onestep-items":i.onestepItems,"onestep-title":i.onestepTitle,"suggest-items":i.suggestItems,"suggest-title":i.suggestTitle,"history-items":i.enableHistory?e.unref(D).items.value:[],"history-title":i.historyTitle,"hot-items":i.hotItems,"hot-title":i.hotTitle,"no-data-text":i.noDataText,"highlight-keyword":i.highlightKeyword,"hide-on-keyword":!0,"show-suggest-empty":i.showSuggestEmpty,"history-layout":"list",onOnestepClick:F,onSuggestClick:B,onHistoryClick:Q,onHistoryRemove:q,onHistoryClear:U,onHotClick:I},e.createSlots({_:2},[j.$slots["onestep-header"]?{name:"onestep-header",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"onestep-header",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"0"}:void 0,j.$slots["onestep-content"]?{name:"onestep-content",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"onestep-content",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"1"}:void 0,j.$slots["suggest-header"]?{name:"suggest-header",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"suggest-header",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"2"}:void 0,j.$slots["suggest-content"]?{name:"suggest-content",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"suggest-content",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"3"}:void 0,j.$slots["history-header"]?{name:"history-header",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"history-header",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"4"}:void 0,j.$slots["history-content"]?{name:"history-content",fn:e.withCtx(ue=>[e.renderSlot(j.$slots,"history-content",e.normalizeProps(e.guardReactiveProps(ue)),void 0,!0)]),key:"5"}:void 0]),1032,["keyword","onestep-items","onestep-title","suggest-items","suggest-title","history-items","history-title","hot-items","hot-title","no-data-text","highlight-keyword","show-suggest-empty"])],!0)])):e.createCommentVNode("",!0)]),_:3})]),(he=i.suggestList)!=null&&he.length?(e.openBlock(),e.createElementBlock("div",sD,[e.renderSlot(j.$slots,"suggest-list",{items:i.suggestList},()=>[e.createElementVNode("span",aD,e.toDisplayString(i.suggestListLabel??e.unref(a)("search.suggestListLabel")),1),e.createElementVNode("ul",oD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.suggestList,(ue,be)=>(e.openBlock(),e.createElementBlock("li",{key:ue+be,class:"o-search-input-suggest-list-item",onClick:ne=>G(ue)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o(ue),ne=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:ne.text+String(ne.em)},[ne.em?(e.openBlock(),e.createElementBlock("em",uD,e.toDisplayString(ne.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(ne.text),1)],64))],64))),128))],8,lD))),128))])],!0)])):e.createCommentVNode("",!0)],2)}}}),th=xe._export_sfc(cD,[["__scopeId","data-v-18e8aec0"]]),dD=Object.assign(th,{install(i){i.component("OSearchInput",th)}}),hD={class:"section-wrapper"},fD={key:1,class:"section-title"},mD={key:2,class:"section-subtitle"},pD={key:1,class:"section-body"},gD={key:2,class:"section-footer"},vD=e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(i){const t=i;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":t.full}])},[e.createElementVNode("div",hD,[e.renderSlot(n.$slots,"main",{},()=>[n.$slots.header||t.title||t.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!t.headerJustifyCenter}])},[e.renderSlot(n.$slots,"header",{},()=>[e.unref(T.isArray)(t.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.title,s=>(e.openBlock(),e.createElementBlock("h2",{key:s,class:"section-title"},e.toDisplayString(s),1))),128)):n.$slots.title||t.title?(e.openBlock(),e.createElementBlock("h2",fD,[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)])):e.createCommentVNode("",!0),n.$slots.subtitle||t.subtitle?(e.openBlock(),e.createElementBlock("p",mD,[e.renderSlot(n.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",pD,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots.footer||t.footer?(e.openBlock(),e.createElementBlock("div",gD,[e.renderSlot(n.$slots,"footer",{},()=>[e.createVNode(e.unref(T.OLink),{href:t.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),nh=xe._export_sfc(vD,[["__scopeId","data-v-dae37748"]]),yD=Object.assign(nh,{install(i){i.component("OSection",nh)}}),CD={viewBox:"0 0 32 31.0303",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"31.0303"};function bD(i,t){return e.openBlock(),e.createElementBlock("svg",CD,[...t[0]||(t[0]=[e.createElementVNode("rect",{width:"32",height:"31.0303",fill:"transparent"},null,-1),e.createElementVNode("path",{d:"M14.9413 28.8319C12.436 28.5468 9.72062 27.4817 8.05541 26.1465C7.11029 25.3964 5.5501 23.6862 4.96503 22.7861C3.1798 20.0258 2.45971 16.6053 2.99978 13.4999C3.52485 10.5146 4.755 8.17428 6.93027 6.04401C10.7107 2.33855 16.7565 1.16841 21.6021 3.20866C23.1923 3.88374 24.7225 4.82886 25.3526 5.51895C26.5827 6.88412 26.1327 9.1044 24.4825 9.9295C23.7774 10.2745 22.4722 10.2895 21.9621 9.9595C21.4521 9.62946 20.987 8.72935 20.867 7.81424C20.807 7.37918 20.732 7.01914 20.717 7.01914C20.687 7.01914 20.3119 7.22916 19.8919 7.46919C18.5117 8.27929 18.1067 8.39931 15.9914 8.53433C14.8813 8.59433 13.6511 8.69935 13.2761 8.75935C12.586 8.84937 11.7459 8.72935 10.4107 8.3093L9.70562 8.08427L9.73562 9.53945C9.75062 10.9496 9.73562 11.0246 9.13555 12.2698C8.35545 13.89 8.07041 14.8651 7.95040 16.3053C7.66536 19.7707 9.55560 22.3511 13.141 23.3712C15.4663 24.0313 19.3068 23.8962 21.3921 23.0711C23.3873 22.276 25.1425 20.4308 25.1425 19.1106C25.1425 18.5706 24.4525 17.8805 23.7024 17.7005C23.3873 17.6105 22.1872 17.5054 21.047 17.4604C18.6317 17.3554 16.9515 17.1304 16.4865 16.8304C16.0214 16.5303 15.7814 15.6902 15.9914 15.0601C16.2014 14.4001 16.5315 14.115 17.5066 13.755C18.1667 13.4999 18.6467 13.4549 20.567 13.4549C24.6475 13.4549 26.5677 13.965 28.0679 15.4652C29.7931 17.2054 29.9731 19.8457 28.518 22.186C26.3727 25.6215 23.8374 27.5867 20.402 28.4718C19.2468 28.7869 16.1864 28.9819 14.9413 28.8319Z",fill:"rgb(214,34,64)","fill-rule":"nonzero"},null,-1)])])}const Ql={name:"sig-icon-atomgit",render:bD},TD={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function kD(i,t){return e.openBlock(),e.createElementBlock("svg",TD,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M4.627 18.137l0.019-0.063 0.088-0.274 0.023-0.065 0.024-0.067 0.037-0.101 0.078-0.197 0.050-0.118 0.034-0.078 0.076-0.165 0.065-0.133 0.066-0.13 0.059-0.11 0.059-0.107 0.088-0.151 0.078-0.129 0.065-0.103 0.038-0.059 0.077-0.115 0.080-0.115 0.080-0.111c0.091-0.124 0.186-0.245 0.285-0.364l0.101-0.119 0.109-0.122 0.11-0.119c0.090-0.095 0.182-0.188 0.277-0.279l0.101-0.095 0.095-0.086 0.066-0.058 0.005-0.001 0.142-0.122c0.055-0.046 0.112-0.091 0.169-0.136l0.087-0.067 0.182-0.134 0.13-0.091 0.093-0.063 0.092-0.061 0.128-0.080 0.076-0.046 0.077-0.046 0.142-0.081 0.008-0.003 0.017-0.011 0.064-0.034 0.125-0.065 0.108-0.055 0.112-0.054 0.121-0.057 0.098-0.043 0.115-0.049 0.168-0.068 0.102-0.039 0.181-0.064c0.749-0.258 1.537-0.4 2.342-0.416l0.245-0.002c2.566-0.043 4.627-2.138 4.627-4.708 0-2.601-2.108-4.709-4.709-4.709s-4.709 2.108-4.709 4.709c0 1.498 0.704 2.878 1.875 3.761l0.079 0.058 0.314 0.226-0.366 0.125c-0.257 0.088-0.51 0.188-0.757 0.299l-0.249 0.117-0.203 0.103-0.178 0.096-0.152 0.086-0.184 0.11-0.138 0.086-0.126 0.082-0.096 0.064-0.053 0.037c-0.117 0.081-0.232 0.165-0.345 0.252-0.062 0.047-0.122 0.095-0.182 0.144l-0.080 0.066-0.11 0.093-0.080 0.070-0.115 0.104-0.061 0.056c-0.049 0.045-0.096 0.091-0.144 0.137l-0.123 0.122-0.162 0.169c-0.082 0.087-0.161 0.176-0.239 0.267l-0.061 0.072-0.131 0.16-0.109 0.138-0.139 0.187c-0.040 0.056-0.081 0.112-0.12 0.169-0.034 0.049-0.067 0.098-0.099 0.146l-0.063 0.097-0.061 0.097-0.059 0.096-0.031 0.052-0.058 0.098-0.085 0.149-0.056 0.104c-0.052 0.096-0.101 0.193-0.149 0.29l-0.115 0.244-0.032 0.072c-0.092 0.211-0.176 0.425-0.252 0.642l-0.023 0.068-0.058 0.178-0.053 0.173-0.038 0.136-0.045 0.173-0.015 0.059-0.017 0.071c-0.012 0.051-0.023 0.101-0.035 0.152l-0.029 0.136-0.032 0.172-0.018 0.107-0.025 0.164-0.017 0.127-0.019 0.161-0.012 0.114-0.013 0.142-0.008 0.113-0.007 0.103-0.010 0.213-0.005 0.167v0.117c0 0.264 0.205 0.481 0.459 0.5l0.037 0.002 0.037-0.001c0.263-0.016 0.47-0.235 0.47-0.5 0-0.090 0.002-0.179 0.005-0.269l0.006-0.135 0.006-0.102 0.008-0.101c0.009-0.112 0.019-0.223 0.033-0.333l0.023-0.176 0.024-0.154 0.022-0.122 0.023-0.12c0.013-0.064 0.026-0.128 0.041-0.192l0.029-0.125 0.024-0.097 0.010 0.002-0.010-0.005 0.064-0.232zM15.5 12.875c-0.137 0.206-0.082 0.484 0.125 0.621 0.001 0.001 0.001 0.001 0.002 0.002l0.308 0.203c0.039 0.023 0.068 0.041 0.088 0.053 2.167 1.333 3.581 3.692 3.655 6.328l0.002 0.109 0.001 0.107c0 0.277 0.224 0.501 0.501 0.501s0.501-0.224 0.501-0.501c0-2.954-1.488-5.639-3.864-7.225-0.024-0.016-0.061-0.040-0.109-0.071l-0.561-0.293c-0.227-0.119-0.507-0.047-0.649 0.166zM12 4.202c2.047 0 3.707 1.66 3.707 3.707s-1.66 3.707-3.707 3.707c-2.047 0-3.707-1.66-3.707-3.707s1.66-3.707 3.707-3.707z"},null,-1)])])}const ED={name:"sig-icon-user",render:kD},xD={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"23",height:"24",viewBox:"0 0 23 24"};function _D(i,t){return e.openBlock(),e.createElementBlock("svg",xD,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.878 6.203l-0-0c-0.058-0.052-0.121-0.099-0.19-0.139l-4.679-2.741c-0.088-0.052-0.179-0.090-0.274-0.116s-0.193-0.039-0.295-0.039c-0.204-0-0.394 0.051-0.57 0.153l-2.35 1.368-2.35-1.368c-0.088-0.051-0.18-0.090-0.275-0.115v0c-0.095-0.026-0.193-0.038-0.295-0.038s-0.2 0.013-0.295 0.039-0.186 0.065-0.274 0.116l-4.679 2.741c-0.069 0.040-0.132 0.087-0.19 0.139v0c-0.053 0.048-0.101 0.102-0.145 0.16-0.043 0.057-0.080 0.118-0.11 0.181-0.032 0.067-0.058 0.136-0.077 0.209-0.037 0.142-0.046 0.286-0.027 0.432 0.020 0.151 0.068 0.293 0.145 0.425 0.049 0.084 0.107 0.159 0.173 0.226s0.141 0.125 0.225 0.175l1.221 0.725-1.249 0.727c-0.089 0.052-0.168 0.113-0.237 0.183v0c-0.069 0.071-0.129 0.151-0.18 0.24-0.075 0.133-0.121 0.276-0.138 0.427-0.016 0.146-0.005 0.29 0.035 0.431s0.105 0.271 0.194 0.387c0.093 0.121 0.207 0.218 0.34 0.293l1.845 1.038v3.956c0 0.138 0.017 0.272 0.052 0.401s0.087 0.253 0.156 0.373c0.069 0.12 0.152 0.226 0.246 0.321h0c0.095 0.094 0.202 0.175 0.322 0.244l4.8 2.742c0.118 0.068 0.241 0.118 0.368 0.152l0.001 0c0.127 0.034 0.259 0.051 0.396 0.051s0.268-0.017 0.396-0.051c0.127-0.034 0.25-0.085 0.369-0.152l2.608-1.49c0.327-0.187 0.437-0.59 0.25-0.917s-0.59-0.437-0.917-0.25l-2.034 1.162v-5.74l1.504 0.893c0.174 0.103 0.361 0.156 0.563 0.158s0.391-0.046 0.567-0.145l1.691-0.951v3.2c0 0.076-0.033 0.133-0.099 0.171l-0.313 0.179c-0.327 0.187-0.437 0.59-0.25 0.917s0.59 0.437 0.917 0.25l0.312-0.178c0.12-0.069 0.228-0.15 0.322-0.244s0.177-0.201 0.246-0.321c0.069-0.12 0.121-0.244 0.156-0.373s0.052-0.263 0.052-0.401v-3.956l1.845-1.038c0.070-0.039 0.134-0.084 0.192-0.136 0.054-0.047 0.103-0.1 0.148-0.157 0.090-0.116 0.155-0.245 0.194-0.387s0.051-0.285 0.035-0.431c-0.017-0.151-0.063-0.294-0.138-0.427-0.1-0.179-0.239-0.32-0.417-0.423l-1.248-0.727 1.221-0.725c0.167-0.099 0.3-0.233 0.398-0.401 0.077-0.132 0.126-0.274 0.145-0.425 0.019-0.146 0.010-0.29-0.027-0.432-0.019-0.073-0.045-0.143-0.077-0.209-0.031-0.063-0.067-0.123-0.11-0.181-0.044-0.058-0.092-0.112-0.145-0.16zM17.143 7.962l-4.287-2.495 1.582-0.921 4.258 2.494-1.553 0.922zM11.52 6.244l4.3 2.503-4.3 2.553-4.3-2.553 4.3-2.503zM10.184 5.467l-4.287 2.495-1.552-0.922 4.258-2.494 1.582 0.921zM5.89 9.521l4.313 2.561-1.439 0.854-4.446-2.5 1.572-0.915zM12.836 12.081l4.313-2.561 1.572 0.915-4.446 2.5-1.439-0.854zM6.523 16.417v-3.2l1.691 0.951c0.176 0.099 0.365 0.147 0.567 0.145s0.39-0.055 0.563-0.158l1.504-0.893v5.74l-4.226-2.414c-0.066-0.038-0.099-0.095-0.099-0.171z"},null,-1)])])}const AD={name:"sig-sig-space",render:_D},is="atomgit.com",vm="gitee.com",wD="gitcode.com",qu=i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),SD=new RegExp(`^(https?://)?(www\\.)?${qu(vm)}/`),DD=new RegExp(`^(https?://)?(www\\.)?${qu(is)}/`),BD=new RegExp(`^(https?://)?(www\\.)?${qu(wD)}/`),ia=i=>{if(!i||typeof i!="string")return"unknown";const t=i.trim().toLowerCase();return SD.test(t)?"gitee":DD.test(t)||BD.test(t)?"atomgit":"unknown"};function ym(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)}const Tn=i=>{if(typeof i=="string")return`https://${is}/${i}`;if(ym(i)){if(i.user_homepage_url)return i.user_homepage_url;if(i.gitcode_id)return`https://${is}/${i.gitcode_id}`;if(i.atomgit_id)return`https://${is}/${i.atomgit_id}`;if(i.gitee_id)return`https://${vm}/${i.gitee_id}`;if(i.user_login)return`https://${is}/${i.user_login}`}},ln=i=>{if(ym(i)){if(i.gitcode_id)return i.gitcode_id;if(i.atomgit_id)return i.atomgit_id;if(i.gitee_id)return i.gitee_id;if(i.user_login)return i.user_login}return""},VD={class:"o-sig-item"},ND={class:"o-sig-item-header"},ID={class:"o-sig-link"},OD=["title"],PD={class:"o-sig-bottom"},LD={class:"o-sig-meta"},MD={class:"o-sig-meta-text"},RD={class:"o-sig-popup-content"},qD={class:"o-sig-meta"},FD={class:"o-sig-meta-text"},UD={class:"o-sig-popup-content"},zD=e.defineComponent({__name:"OSigItem",props:{sig:{},showFeature:{type:Boolean,default:!0}},emits:["to-sig-detail"],setup(i,{emit:t}){const{t:n,locale:r}=xe.useI18n(),s=t,a=(o,l)=>o===(l??0)-1?"":r.value==="zh"?"、":", ";return(o,l)=>(e.openBlock(),e.createElementBlock("div",VD,[e.createElementVNode("div",ND,[e.createElementVNode("span",{class:"o-sig-name",onClick:l[0]||(l[0]=u=>s("to-sig-detail",i.sig.name))},e.toDisplayString(i.sig.name),1),i.showFeature?(e.openBlock(),e.createBlock(e.unref(T.OTag),{key:0,variant:"outline",class:"o-sig-type-tag"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((e.unref(r)==="zh"?i.sig.feature_zh:i.sig.feature_en)||e.unref(n)("sig.other")),1)]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",ID,[e.createVNode(e.unref(T.OLink),{href:i.sig.git_url,target:"_blank","hover-underline":!1},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),{class:"o-sig-source-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ql),{class:"initial-fill"})]),_:1})]),_:1},8,["href"]),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createVNode(e.unref(T.OLink),{class:"mail-link",color:"primary",href:`mailto:${i.sig.mailing_list}`,target:"_blank"},{default:e.withCtx(()=>[e.createVNode(Hi,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.sig.mailing_list),1)]),_:1})]),_:1},8,["href"]),i.sig.subscribe_url?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,size:"medium",color:"primary",round:"pill",href:i.sig.subscribe_url,target:"_blank"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("sig.subscribe")),1)]),_:1},8,["href"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{title:i.sig.description,class:"o-sig-description"},[e.createElementVNode("div",null,e.toDisplayString(i.sig.description||"--"),1)],8,OD),e.createElementVNode("div",PD,[e.createElementVNode("div",LD,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(AD))]),_:1}),e.createVNode(e.unref(T.OPopover),{position:"top",trigger:"hover","wrap-class":"o-sig-popup-repos"},{target:e.withCtx(()=>{var u;return[e.createElementVNode("p",MD,e.toDisplayString(e.unref(n)("sig.repo"))+" "+e.toDisplayString((u=i.sig.repositories)==null?void 0:u.length),1)]}),default:e.withCtx(()=>[e.createElementVNode("div",RD,[e.createVNode(e.unref(T.OScroller),{showType:"always",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.sig.repositories,(u,d)=>(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:u,class:"o-sig-popup-item",color:"primary",href:e.unref(Tn)(u),target:"_blank"},{default:e.withCtx(()=>{var f;return[e.createTextVNode(e.toDisplayString(u+a(d,(f=i.sig.repositories)==null?void 0:f.length)),1)]}),_:2},1032,["href"]))),128))]),_:1})])]),_:1})]),e.createVNode(e.unref(T.ODivider),{direction:"v"}),e.createElementVNode("div",qD,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ED))]),_:1}),e.createVNode(e.unref(T.OPopover),{position:"top",trigger:"hover","wrap-class":"o-sig-popup-maintainers"},{target:e.withCtx(()=>{var u;return[e.createElementVNode("p",FD,"Maintainer "+e.toDisplayString((u=i.sig.maintainer_info)==null?void 0:u.length),1)]}),default:e.withCtx(()=>[e.createElementVNode("div",UD,[e.createVNode(e.unref(T.OScroller),{showType:"always",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.sig.maintainer_info,(u,d)=>(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:d,class:"o-sig-popup-item",color:"primary",href:e.unref(Tn)(u),target:"_blank"},{default:e.withCtx(()=>{var f;return[e.createTextVNode(e.toDisplayString(e.unref(ln)(u)+a(d,(f=i.sig.maintainer_info)==null?void 0:f.length)),1)]}),_:2},1032,["href"]))),128))]),_:1})])]),_:1})])])]))}}),HD={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function jD(i,t){return e.openBlock(),e.createElementBlock("svg",HD,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M17.549 16.523l0.087 0.074 2.76 2.754c0.274 0.273 0.274 0.716 0.001 0.99-0.246 0.246-0.629 0.271-0.903 0.075l-0.087-0.074-2.76-2.754c-0.274-0.273-0.274-0.716-0.001-0.99 0.246-0.246 0.629-0.271 0.903-0.075zM10.821 3.454c4.099 0 7.423 3.323 7.423 7.423s-3.323 7.423-7.423 7.423c-4.099 0-7.423-3.323-7.423-7.423s3.323-7.423 7.423-7.423zM10.821 4.854c-3.326 0-6.023 2.696-6.023 6.023s2.696 6.023 6.023 6.023c3.326 0 6.023-2.696 6.023-6.023s-2.696-6.023-6.023-6.023z"},null,-1)])])}const XD={name:"sig-icon-search",render:jD},GD={key:0,class:"o-sig-filter-type"},QD={class:"o-sig-filter-title"},YD={key:1,class:"o-sig-filter-input"},KD={class:"o-sig-filter-select-box"},WD={key:0,class:"o-sig-search-loading"},JD={key:0,class:"o-sig-search-label"},ZD=["onClick"],$D=["title"],eB={key:2,class:"o-sig-no-result"},tB={key:0,class:"o-sig-filter-result-tip"},nB={key:0},iB={class:"o-sig-num"},rB={key:0,class:"o-sig-num"},sB={key:1},aB={class:"o-sig-num"},oB={key:4,class:"o-sig-pagination"},ih=10,rh=e.defineComponent({__name:"OSigList",props:{sigLandscape:{default:()=>[]},sigList:{default:()=>[]},searchFn:{},footerSelector:{default:"#app > .footer"}},emits:["to-sig-detail"],setup(i,{emit:t}){const n=Ti(),{locale:r,t:s}=xe.useI18n(),a=e.computed(()=>r.value),{isLaptop:o,isPadH:l,lePadV:u,isPhone:d}=nt.useScreen(),f=[10,20,30],p=i,E=t,C=e.ref({pageSize:ih,page:1}),x=()=>{C.value.page=1,C.value.pageSize=ih},m=e.ref([]),g=e.ref([]),k=e.ref([]),A=e.ref([]),D=()=>{if(!p.sigLandscape.length){k.value=[];return}g.value=p.sigLandscape.map(({created_at:Ee,...Ne})=>Ne);const me=new Set,ke=[];for(const Ee of g.value)Ee.feature_zh&&!me.has(Ee.feature_zh)&&(me.add(Ee.feature_zh),ke.push({value:Ee.feature_en??"",label:{zh:Ee.feature_zh,en:Ee.feature_en}}));ke.push({value:"other",label:{zh:"其他",en:"Other"}}),ke.unshift({value:"all",label:{zh:"全部",en:"All"}}),k.value=ke},O=()=>{const me=new Map(g.value.map(ke=>[ke.sig_name,ke]));A.value=m.value.map(ke=>({...ke,...me.get(ke.name)??{}}))},M=()=>{m.value=[...p.sigList].sort((me,ke)=>me.name.localeCompare(ke.name)),D(),O()};e.watch(()=>[p.sigList,p.sigLandscape],()=>{M()},{immediate:!0});const V=e.ref("all"),S=e.ref(s("sig.searchSig")),L=[{label:s("sig.all"),value:"all",placeholder:s("sig.searchSig")},{label:s("sig.sigGroup"),value:"sig",placeholder:s("sig.searchSigName")},{label:s("sig.repo"),value:"repos",placeholder:s("sig.searchSigRepo")},{label:s("sig.maintainerEn"),value:"maintainer",placeholder:s("sig.searchSigMaintainer")}],w=me=>{var Ee;const ke=String(me);S.value=((Ee=L.find(Ne=>Ne.value===ke))==null?void 0:Ee.placeholder)??"",Z.value=ke,I.value=[],G()},B=me=>{if(!me)return[];const ke=new Set;return me.filter(Ee=>ke.has(Ee.name)?!1:(ke.add(Ee.name),!0))},F=e.ref(""),Q=e.ref(!1),I=e.ref([]),q=e.ref(!1),U=(me,ke)=>{const Ee=Ue=>B(Ue).sort((Ke,re)=>re.socre-Ke.socre).slice(0,3),Ne=[{id:"sig",label:s("sig.sigGroup"),list:Ee(me["name.keyword"])},{id:"repos",label:s("sig.repo"),list:Ee(me.repos)},{id:"maintainer",label:s("sig.maintainerEn"),list:Ee(me.giteeIds)}];return ke==="all"?Ne:Ne.filter(Ue=>Ue.id===ke)},G=()=>{if(!p.searchFn)return;q.value=!0;const me={keyword:F.value,keywordType:V.value};p.searchFn(me).then(ke=>{I.value=U(ke,V.value);const Ee=F.value;if(Ee){const Ne=Ee.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Ue=new RegExp(`(${Ne})`,"gi");I.value=I.value.map(Ke=>({...Ke,list:Ke.list.map(re=>({...re,name:re.name.replace(/<[^>]+>/g,"").replace(Ue,'<span class="highlight-text">$1</span>')}))}))}q.value=!1}).catch(()=>{I.value=U({},V.value),q.value=!1})},z=ct.useDebounceFn(()=>{x(),G()},300),Z=e.ref("all"),W=e.ref(""),R=()=>{F.value&&(Q.value=!1,Z.value=V.value,W.value=F.value)},Y=me=>(me==null?void 0:me.replace(/<[^>]+>/g,""))??"",j=me=>{F.value=Y(me),Z.value=V.value,W.value=F.value,e.nextTick(()=>{Q.value=!1})},ae=()=>{F.value="",W.value=""},he=e.ref(),ue=e.ref(),be=e.computed(()=>Q.value&&!!F.value),ne=me=>{Q.value=me},Ce=me=>E("to-sig-detail",me);e.watch(()=>F.value,me=>{Q.value=!!me,me||(W.value=me),me&&z()});const le=e.ref([]),_e=e.ref([]),qe=e.ref("all"),fe=(me,ke)=>!!me&&me.toLowerCase().includes(ke);e.watch(()=>[qe.value,Z.value,W.value,C.value.page,C.value.pageSize,A.value],([me,ke,Ee,Ne,Ue,Ke])=>{if(!Ke.length)return;const re=(Ee??"").toLowerCase(),oe=me==="all"?Ke:Ke.filter(Oe=>me==="other"?!Oe.feature_en:Oe.feature_en===me);let se=oe;re&&ke&&(se=oe.filter(Oe=>{var ge,Ge;return!!((ke==="sig"||ke==="all")&&(fe(Oe.name,re)||fe(Oe.description,re))||(ke==="repos"||ke==="all")&&(ge=Oe.repositories)!=null&&ge.some(Qe=>Qe==null?void 0:Qe.toLowerCase().includes(re))||(ke==="maintainer"||ke==="all")&&(Ge=Oe.maintainer_info)!=null&&Ge.some(Qe=>fe(Qe.name,re)||fe(Qe.gitee_id,re)))})),re&&(se=[...se].sort((Oe,ge)=>{const Ge=Oe.name.toLowerCase().includes(re),Qe=ge.name.toLowerCase().includes(re);return Ge===Qe?0:Ge?-1:1})),_e.value=se,le.value=u.value?se.slice(0,Ne*Ue):se.slice((Ne-1)*Ue,Ne*Ue)},{immediate:!0});const Te=e.computed(()=>o.value?"24px 24px":l.value?"16px 16px":u.value?"0 12px":"32px 32px");e.watch(u,()=>{C.value.page=1});const Be=me=>{x(),me&&e.nextTick(()=>{qe.value="all"})},Ie=e.ref(null),Ae=()=>{C.value.page++};return ct.useIntersectionObserver(Ie,([me])=>{me!=null&&me.isIntersecting&&le.value.length<_e.value.length&&Ae()},{rootMargin:"200px"}),(me,ke)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:he,class:"o-sig-list"},[e.createElementVNode("div",{class:e.normalizeClass({"o-sig-filter-box":!0,[`o-sig-filter-box-${a.value}`]:!0,"o-sig-filter-box--no-filter-type":!k.value.length})},[k.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(d)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",GD,[e.createElementVNode("p",QD,e.toDisplayString(e.unref(s)("sig.type")),1),e.createVNode(e.unref(T.ORadioGroup),{modelValue:qe.value,"onUpdate:modelValue":ke[0]||(ke[0]=Ee=>qe.value=Ee)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,Ee=>(e.openBlock(),e.createBlock(e.unref(T.ORadio),{key:Ee.value,value:Ee.value},{radio:e.withCtx(({checked:Ne})=>[e.createVNode(e.unref(T.OToggle),{class:e.normalizeClass(["o-sig-tag-normal",{active:Ne}]),checked:Ne,onClick:Ue=>Be(Ne)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Ee.label[a.value]),1)]),_:2},1032,["class","checked","onClick"])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])),e.unref(d)?(e.openBlock(),e.createElementBlock("div",YD,[e.createVNode(e.unref(gt.ElSelect),{modelValue:qe.value,"onUpdate:modelValue":ke[1]||(ke[1]=Ee=>qe.value=Ee),filterable:"",size:"large",placeholder:e.unref(s)("sig.selectOrSearchCate")},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,Ee=>(e.openBlock(),e.createBlock(e.unref(gt.ElOption),{key:Ee.value,label:Ee.label[a.value]??Ee.value,value:Ee.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])):e.createCommentVNode("",!0),e.createVNode(e.unref(T.ODivider),{direction:"h"})],64)):e.createCommentVNode("",!0),e.createElementVNode("div",KD,[e.createElementVNode("div",{ref_key:"panelRef",ref:ue,class:e.normalizeClass(["o-sig-filter-select",{"o-sig-filter-select-focus":Q.value}])},[e.createVNode(e.unref(T.OSelect),{modelValue:V.value,"onUpdate:modelValue":ke[2]||(ke[2]=Ee=>V.value=Ee),size:"large",trigger:"click",variant:"outline",onChange:w},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(L,Ee=>e.createVNode(e.unref(T.OOption),{key:Ee.value,label:Ee.label,value:Ee.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),e.createVNode(e.unref(T.OInput),{modelValue:F.value,"onUpdate:modelValue":ke[3]||(ke[3]=Ee=>F.value=Ee),size:"large",clearable:"",placeholder:S.value,onFocusCapture:ke[4]||(ke[4]=Ee=>Q.value=!0),onPressEnter:R,onClear:ae},{prefix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(XD))]),_:1})]),_:1},8,["modelValue","placeholder"]),e.createVNode(e.unref(T.OPopover),{target:ue.value,wrapper:he.value,visible:be.value,disabled:!F.value,position:"br",trigger:"click-outclick","adjust-min-width":!1,"adjust-width":!1,"onUpdate:visible":ne},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["o-sig-search-data",`o-sig-search-data-${a.value}`])},[q.value&&!I.value.length?(e.openBlock(),e.createElementBlock("div",WD,e.toDisplayString(e.unref(s)("sig.loading")),1)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(I.value,Ee=>(e.openBlock(),e.createElementBlock("div",{key:Ee.id,class:"o-sig-search-group"},[V.value==="all"?(e.openBlock(),e.createElementBlock("p",JD,e.toDisplayString(Ee.label),1)):e.createCommentVNode("",!0),Ee.list.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(Ee.list,Ne=>(e.openBlock(),e.createElementBlock("div",{key:Ne.name,class:"o-sig-search-item",onClick:e.withModifiers(Ue=>j(Ne==null?void 0:Ne.name),["stop"])},[e.withDirectives(e.createElementVNode("span",{title:Y(Ne==null?void 0:Ne.name),class:"o-sig-search-title"},null,8,$D),[[e.unref(n),Ne==null?void 0:Ne.name]])],8,ZD))),128)):(e.openBlock(),e.createElementBlock("p",eB,e.toDisplayString(e.unref(s)("sig.noResult")),1))]))),128))],2)]),_:1},8,["target","wrapper","visible","disabled"])],2)])],2),qe.value!=="all"||W.value?(e.openBlock(),e.createElementBlock("div",tB,[F.value?(e.openBlock(),e.createElementBlock("div",nB,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("sig.filterResultTip1")),1),e.createElementVNode("span",iB,e.toDisplayString(_e.value.length),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("sig.filterResultTip2")),1),a.value==="zh"?(e.openBlock(),e.createElementBlock("span",rB,e.toDisplayString(F.value),1)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("sig.filterResultTip3")),1)])):(e.openBlock(),e.createElementBlock("div",sB,[e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("sig.filterResultTip4")),1),e.createElementVNode("span",aB,e.toDisplayString(_e.value.length),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(s)("sig.filterResultTip5")),1)]))])):e.createCommentVNode("",!0),le.value.length?(e.openBlock(),e.createBlock(e.unref(T.ORow),{key:1,gap:Te.value,wrap:"wrap",class:e.normalizeClass(["o-sig-card-list",{"o-sig-card-list-tip":qe.value!=="all"||W.value}])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,Ee=>(e.openBlock(),e.createBlock(e.unref(T.OCol),{key:Ee.name,flex:e.unref(u)?"0 0 100%":"0 0 50%"},{default:e.withCtx(()=>[e.createVNode(zD,{sig:Ee,onToSigDetail:Ce,showFeature:i.sigLandscape.length>0},null,8,["sig","showFeature"])]),_:2},1032,["flex"]))),128))]),_:1},8,["gap","class"])):(e.openBlock(),e.createBlock(Na,{key:2,style:{"margin-top":"40px","--result-image-width":"140px","--result-image-height":"170px"}})),e.unref(u)&&le.value.length<_e.value.length?(e.openBlock(),e.createElementBlock("p",{key:3,ref_key:"loadingRef",ref:Ie,class:"o-sig-loading"},e.toDisplayString(e.unref(s)("sig.loading")),513)):e.createCommentVNode("",!0),_e.value.length>f[0]?(e.openBlock(),e.createElementBlock("div",oB,[e.createVNode(e.unref(T.OPagination),{page:C.value.page,"onUpdate:page":ke[5]||(ke[5]=Ee=>C.value.page=Ee),"page-size":C.value.pageSize,"onUpdate:pageSize":ke[6]||(ke[6]=Ee=>C.value.pageSize=Ee),layout:["total","pagesize","pager","jumper"],total:_e.value.length,"page-sizes":f,"show-more":!0},null,8,["page","page-size","total"])])):e.createCommentVNode("",!0)],512))}}),lB={class:"o-sig-detail-name-wrap"},uB={class:"o-sig-detail-name"},cB={class:"o-sig-detail-info-content"},dB={class:"o-sig-detail-description"},hB=e.defineComponent({__name:"OSigDetailInfoCard",props:{sigName:{default:""},giteeAddress:{default:""},description:{default:""},bg:{default:""}},setup(i){const t=i,{t:n}=xe.useI18n(),r=e.computed(()=>t.bg?{backgroundImage:`url(${t.bg})`}:{}),s=e.ref(),a=e.ref(!1);let o;const l=()=>{const u=s.value;if(!u)return;const d=u.querySelector(".o-sig-detail-name-wrap"),f=u.querySelector(".o-sig-detail-more-gitee");!d||!f||(a.value=Math.abs(d.offsetTop-f.offsetTop)>16)};return e.onMounted(()=>{l(),typeof ResizeObserver<"u"&&(o=new ResizeObserver(l),s.value&&o.observe(s.value))}),e.onBeforeUnmount(()=>{o==null||o.disconnect()}),(u,d)=>(e.openBlock(),e.createElementBlock("div",{class:"o-sig-detail-info-card",style:e.normalizeStyle(r.value)},[e.createElementVNode("div",{ref_key:"nameBoxRef",ref:s,class:e.normalizeClass(["o-sig-detail-name-box",{"is-wrapped":a.value}])},[e.createElementVNode("span",lB,[e.createElementVNode("span",uB,e.toDisplayString(i.sigName),1),e.createVNode(e.unref(T.ODivider),{direction:"v"})]),e.createVNode(e.unref(T.OLink),{color:"primary",href:i.giteeAddress,target:"_blank",class:"o-sig-detail-more-gitee"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("sig.giteeMore")),1),e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),_:1},8,["href"])],2),e.createElementVNode("div",cB,[e.createElementVNode("div",dB,e.toDisplayString(i.description),1)])],4))}}),fB=["src"],Yl=e.defineComponent({__name:"WordAvatar",props:{name:{type:String,default:"",required:!0},size:{type:String,default:"medium"},customSize:{type:Number,default:0},variant:{type:String,default:"round"},src:{type:String,default:""}},setup(i){const t=i,n=["#058EF0","#FA7305","#03B5A5"],r=e.computed(()=>{var o;return(o=t.name)==null?void 0:o.charAt(0).toUpperCase()}),s=e.computed(()=>{var u;const o={"background-color":"",width:"40px",height:"40px","font-size":"20px"};o["background-color"]=t.name?n[((u=t.name)==null?void 0:u.length)%n.length]:"transparent";let l=0;return t.customSize?l=Number(t.customSize):l={mini:16,small:24,medium:40,large:64}[t.size],o.height=`${l}px`,o.width=`${l}px`,o["font-size"]=`${l/2}px`,o}),a=e.computed(()=>({width:s.value.width,height:s.value.height}));return(o,l)=>i.src?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.src,class:e.normalizeClass(["o-word-avatar",`o-word-avatar-${i.variant}`]),style:e.normalizeStyle(a.value),alt:""},null,14,fB)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["o-word-avatar",`o-word-avatar-${i.variant}`]),style:e.normalizeStyle(s.value)},e.toDisplayString(r.value),7))}}),mB={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function pB(i,t){return e.openBlock(),e.createElementBlock("svg",mB,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#c71d23",d:"M12 24c-6.628 0-12-5.372-12-12s5.372-12 12-12c6.628 0 12 5.372 12 12s-5.372 12-12 12zM18.074 10.667h-6.814c-0.327 0-0.593 0.265-0.593 0.592l-0.001 1.481c0 0.327 0.265 0.592 0.593 0.592h4.149c0.327 0 0.592 0.265 0.592 0.593v0 0.296c0 0.982-0.796 1.778-1.777 1.778h-5.63c-0.327 0-0.593-0.265-0.593-0.593v-5.63c0-0.982 0.796-1.777 1.778-1.777h8.295c0.327 0 0.593-0.265 0.593-0.592l0.002-1.481c0-0.327-0.265-0.593-0.593-0.593 0 0 0 0 0 0l-8.296 0.001c-2.455 0-4.445 1.99-4.445 4.445v8.296c0 0.327 0.266 0.592 0.593 0.592h8.74c2.209 0 4-1.791 4-4v-3.407c0-0.327-0.265-0.592-0.592-0.592v0z"},null,-1)])])}const sh={name:"sig-icon-gitee",render:pB},gB={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function vB(i,t){return e.openBlock(),e.createElementBlock("svg",gB,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M26.307 5.012c1.473 0 2.667 1.194 2.667 2.667v7.321c0 0.515-0.418 0.933-0.933 0.933s-0.933-0.418-0.933-0.933l-0.001-6.998-9.461 7.829c-0.998 0.826-2.445 0.815-3.431-0.026l-9.466-8.075v16.67c0 0.442 0.358 0.8 0.8 0.8h20.758c0.442 0 0.8-0.358 0.8-0.8v-5.395c0-0.515 0.418-0.933 0.933-0.933s0.933 0.418 0.933 0.933v5.395c0 1.473-1.194 2.667-2.667 2.667h-20.758c-1.473 0-2.667-1.194-2.667-2.667v-16.721c0-1.473 1.194-2.667 2.667-2.667h20.758zM25.535 6.877h-18.909l8.8 7.507c0.296 0.252 0.73 0.255 1.029 0.008l9.080-7.514z"},null,-1)])])}const ah={name:"sig-icon-mail",render:vB},yB={class:"o-sig-detail-member"},CB={class:"o-sig-detail-core o-sig-floor-title"},bB={class:"o-sig-detail-member-box"},TB={key:0,class:"o-sig-detail-member-title"},kB={class:"o-sig-detail-info"},EB={class:"o-sig-detail-member-id"},xB={class:"o-sig-detail-member-name"},_B={class:"o-sig-detail-member-info-right"},AB=["href"],wB=["href"],SB={key:1,class:"o-sig-detail-more-btn"},DB={key:2,class:"o-sig-detail-member-title o-sig-detail-committer-title"},BB={class:"o-sig-detail-info"},VB={class:"o-sig-detail-member-id"},NB={class:"o-sig-detail-member-name"},IB={class:"o-sig-detail-member-info-right"},OB=["href"],PB=["href"],LB={key:3,class:"o-sig-detail-more-btn"},MB=e.defineComponent({__name:"OSigMember",props:{maintainerList:{default:()=>[]},committerList:{default:()=>[]}},setup(i){const t=i,{t:n}=xe.useI18n(),{isPhone:r,isPadH:s,isPadV:a,leLaptop:o}=nt.useScreen(),{isDark:l}=ji(),u=e.computed(()=>s.value?18:a.value?12:r.value?6:12),d=e.computed(()=>s.value?3:a.value?2:1),f=e.computed(()=>Math.min(t.maintainerList.length,u.value)),p=e.computed(()=>{const O=d.value,M=Math.ceil(f.value/O)*O;return Math.min(t.committerList.length,Math.max(0,u.value-M))}),E=e.ref(!1),C=()=>{E.value=!E.value},x=e.computed(()=>E.value?t.maintainerList:t.maintainerList.slice(0,f.value)),m=e.computed(()=>{const O=d.value;if(O<=1)return 0;const M=x.value.length%O;return M===0?0:O-M}),g=e.ref(!1),k=()=>{g.value=!g.value},A=e.computed(()=>g.value?t.committerList:t.committerList.slice(0,p.value)),D=e.computed(()=>{const O=d.value;if(O<=1)return 0;const M=A.value.length%O;return M===0?0:O-M});return(O,M)=>(e.openBlock(),e.createElementBlock("div",yB,[e.createElementVNode("p",CB,e.toDisplayString(e.unref(n)("sig.sigCore",{num:i.maintainerList.length+i.committerList.length})),1),e.createElementVNode("div",bB,[i.maintainerList.length?(e.openBlock(),e.createElementBlock("div",TB,e.toDisplayString(e.unref(n)("sig.sigMaintainer",{num:i.maintainerList.length})),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["o-sig-detail-member-list",{"o-sig-detail-member-list-all":E.value||i.maintainerList.length<=u.value,"o-sig-detail-member-list-dark":e.unref(l)}]),style:e.normalizeStyle({"--o-sig-detail-member-columns":d.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,V=>(e.openBlock(),e.createElementBlock("div",{key:e.unref(ln)(V),class:"o-sig-detail-member-info"},[e.createElementVNode("div",{class:e.normalizeClass(["o-sig-detail-member-info-left",{"o-sig-detail-member-info-id":!V.name}])},[e.createVNode(Yl,{name:e.unref(ln)(V),size:"medium","custom-size":e.unref(o)?32:0},null,8,["name","custom-size"]),e.createElementVNode("div",kB,[e.createElementVNode("div",EB,e.toDisplayString(e.unref(ln)(V)),1),e.createElementVNode("div",xB,e.toDisplayString(V.name),1)])],2),e.createElementVNode("div",_B,[e.createElementVNode("a",{href:e.unref(Tn)(V),target:"_blank",rel:"noopener noreferrer"},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.unref(ia)(e.unref(Tn)(V))==="gitee"?(e.openBlock(),e.createBlock(e.unref(sh),{key:0,class:"initial-fill"})):e.unref(ia)(e.unref(Tn)(V))==="atomgit"?(e.openBlock(),e.createBlock(e.unref(Ql),{key:1,class:"initial-fill"})):e.createCommentVNode("",!0)]),_:2},1024)],8,AB),e.createElementVNode("a",{class:e.normalizeClass(V.email?"":"hidden-link"),href:`mailto:${V.email}`},[e.createVNode(e.unref(T.OIcon),{class:"email-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ah))]),_:1})],10,wB)])]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,V=>(e.openBlock(),e.createElementBlock("div",{key:`maintainer-fill-${V}`,class:"o-sig-detail-member-placeholder"}))),128))],6),i.maintainerList.length>u.value?(e.openBlock(),e.createElementBlock("div",SB,[e.createElementVNode("div",{class:"o-sig-detail-view-all",onClick:C},[e.createElementVNode("span",null,e.toDisplayString(E.value?e.unref(n)("common.collapse"):e.unref(n)("sig.viewAll")),1),e.createVNode(e.unref(T.OIcon),{class:e.normalizeClass({"o-sig-detail-reversal":E.value})},{default:e.withCtx(()=>[e.createVNode(e.unref(ds))]),_:1},8,["class"])])])):e.createCommentVNode("",!0),i.committerList.length?(e.openBlock(),e.createElementBlock("div",DB,e.toDisplayString(e.unref(n)("sig.sigCommitter",{num:i.committerList.length})),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["o-sig-detail-member-list",{"o-sig-detail-member-list-all":g.value||i.committerList.length<=p.value,"o-sig-detail-member-list-dark":e.unref(l)}]),style:e.normalizeStyle({"--o-sig-detail-member-columns":d.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,V=>(e.openBlock(),e.createElementBlock("div",{key:e.unref(ln)(V),class:"o-sig-detail-member-info"},[e.createElementVNode("div",{class:e.normalizeClass(["o-sig-detail-member-info-left",{"o-sig-detail-member-info-id":!V.name}])},[e.createVNode(Yl,{name:e.unref(ln)(V),size:"medium","custom-size":e.unref(o)?32:0},null,8,["name","custom-size"]),e.createElementVNode("div",BB,[e.createElementVNode("div",VB,e.toDisplayString(e.unref(ln)(V)),1),e.createElementVNode("div",NB,e.toDisplayString(V.name),1)])],2),e.createElementVNode("div",IB,[e.createElementVNode("a",{href:e.unref(Tn)(V),target:"_blank",rel:"noopener noreferrer"},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.unref(ia)(e.unref(Tn)(V))==="gitee"?(e.openBlock(),e.createBlock(e.unref(sh),{key:0})):e.unref(ia)(e.unref(Tn)(V))==="atomgit"?(e.openBlock(),e.createBlock(e.unref(Ql),{key:1})):e.createCommentVNode("",!0)]),_:2},1024)],8,OB),e.createElementVNode("a",{class:e.normalizeClass(V.email?"":"hidden-link"),href:`mailto:${V.email}`},[e.createVNode(e.unref(T.OIcon),{class:"email-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ah))]),_:1})],10,PB)])]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,V=>(e.openBlock(),e.createElementBlock("div",{key:`committer-fill-${V}`,class:"o-sig-detail-member-placeholder"}))),128))],6),i.committerList.length>p.value?(e.openBlock(),e.createElementBlock("div",LB,[e.createElementVNode("div",{class:"o-sig-detail-view-all",onClick:k},[e.createElementVNode("span",null,e.toDisplayString(g.value?e.unref(n)("common.collapse"):e.unref(n)("sig.viewAll")),1),e.createVNode(e.unref(T.OIcon),{class:e.normalizeClass({"o-sig-detail-reversal":g.value})},{default:e.withCtx(()=>[e.createVNode(e.unref(ds))]),_:1},8,["class"])])])):e.createCommentVNode("",!0)])]))}}),RB={id:"repositories",class:"o-sig-detail-repo"},qB={class:"o-sig-detail-repo-title o-sig-floor-title"},FB={key:1},UB={key:0,class:"o-sig-detail-pagination"},oh=e.defineComponent({__name:"OSigRepo",props:{repositories:{default:()=>[]},columnsConfig:{}},setup(i){const t=i,{t:n,locale:r}=xe.useI18n(),{lePadV:s}=nt.useScreen(),a=e.ref(1),o=e.ref(10),l=e.ref({}),u=e.computed(()=>t.repositories.filter(m=>{var g,k,A,D,O;return!((g=l.value.repo)!=null&&g.length&&!l.value.repo.includes(m.repo)||(k=l.value.maintainers)!=null&&k.length&&!((A=m.maintainers)!=null&&A.some(M=>l.value.maintainers.includes(ln(M))))||(D=l.value.committers)!=null&&D.length&&!((O=m.committers)!=null&&O.some(M=>l.value.committers.includes(ln(M)))))})),d=e.computed(()=>s.value?u.value.slice(0,a.value*o.value):u.value.length>o.value?u.value.slice((a.value-1)*o.value,a.value*o.value):u.value),f=e.ref([]),p=()=>{const m=t.repositories;f.value=[{key:"repo",label:n("sig.repositoryName"),filter:{optionsFn:()=>m.map(g=>({label:g.repo,value:g.repo})),multiple:!1}},{key:"maintainers",label:n("sig.maintainerEn"),filter:{optionsFn:()=>C(m,"maintainers"),multiple:!1}},{key:"committers",label:n("sig.committer"),filter:{optionsFn:()=>C(m,"committers"),multiple:!1}}].filter(g=>{var k,A;return((A=(k=t.columnsConfig)==null?void 0:k[g.key])==null?void 0:A.hidden)!==!0})};e.watch(()=>t.repositories,()=>{l.value={},a.value=1,p()},{deep:!0,immediate:!0});const E=m=>{m&&(a.value=1,l.value={...l.value,[m.key]:m.newVal})},C=(m,g)=>{const k=new Set;return m.forEach(A=>(A[g]||[]).forEach(D=>ln(D)&&k.add(ln(D)))),[...k].map(A=>({label:A,value:A}))},x=m=>m;return(m,g)=>(e.openBlock(),e.createElementBlock("div",RB,[e.createElementVNode("h2",qB,e.toDisplayString(e.unref(n)("sig.repoList",{count:u.value.length})),1),e.createVNode(e.unref(T.ODataTable),{class:"o-sig-detail-repo-table",columns:f.value,size:"small",border:"row-frame",data:d.value,"row-key":"repo","min-table-width":600,onConditionUpdate:E},{td_repo:e.withCtx(({row:k})=>[e.createVNode(e.unref(T.OLink),{target:"_blank",rel:"noopener noreferrer",href:e.unref(Tn)(x(k).repo)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k.repo),1)]),_:2},1032,["href"])]),td_maintainers:e.withCtx(({row:k})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x(k).maintainers,(A,D)=>(e.openBlock(),e.createBlock(e.unref(T.OLink),{target:"_blank",key:D,rel:"noopener noreferrer",href:e.unref(Tn)(A)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(ln)(A))+" ",1),e.withDirectives(e.createElementVNode("span",null,e.toDisplayString(e.unref(r)==="zh"?"、":", "),513),[[e.vShow,D!==x(k).maintainers.length-1]])]),_:2},1032,["href"]))),128))]),td_committers:e.withCtx(({row:k})=>{var A;return[(A=x(k).committers)!=null&&A.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(x(k).committers,(D,O)=>(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:O,target:"_blank",rel:"noopener noreferrer",href:e.unref(Tn)(D)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(ln)(D))+" ",1),e.withDirectives(e.createElementVNode("span",null,e.toDisplayString(e.unref(r)==="zh"?"、":", "),513),[[e.vShow,O!==x(k).committers.length-1]])]),_:2},1032,["href"]))),128)):(e.openBlock(),e.createElementBlock("span",FB,"-"))]}),_:1},8,["columns","data"]),u.value.length>o.value?(e.openBlock(),e.createElementBlock("div",UB,[e.createVNode(e.unref(T.OPagination),{page:a.value,"onUpdate:page":g[0]||(g[0]=k=>a.value=k),"page-size":o.value,"onUpdate:pageSize":g[1]||(g[1]=k=>o.value=k),layout:["total","pagesize","pager","jumper"],total:u.value.length,"page-sizes":[10,20,30,40],"show-more":!0,simple:e.unref(s)},null,8,["page","page-size","total","simple"])])):e.createCommentVNode("",!0)]))}}),zB={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function HB(i,t){return e.openBlock(),e.createElementBlock("svg",zB,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.534 5.029c0.935 0 1.693 0.758 1.693 1.693v4.647c0 0.327-0.265 0.592-0.592 0.592s-0.592-0.265-0.592-0.592l-0-4.443-6.007 4.97c-0.634 0.524-1.552 0.517-2.178-0.016l-6.010-5.127 0.001 10.583c0 0.28 0.227 0.508 0.508 0.508h13.177c0.28 0 0.508-0.227 0.508-0.508v-3.425c0-0.327 0.265-0.592 0.592-0.592s0.592 0.265 0.592 0.592v3.425c0 0.935-0.758 1.693-1.693 1.693h-13.177c-0.935 0-1.693-0.758-1.693-1.693v-10.614c0-0.935 0.758-1.693 1.693-1.693h13.177zM18.045 6.213h-12.004l5.586 4.765c0.188 0.16 0.463 0.162 0.653 0.005l5.765-4.77z"},null,-1)])])}const jB={name:"components-icon-notice",render:HB},XB={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function GB(i,t){return e.openBlock(),e.createElementBlock("svg",XB,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M12.697 3v1.301h6.299c0.123 0 0.242 0.012 0.359 0.039 0.104 0.020 0.205 0.055 0.303 0.094 0.098 0.043 0.191 0.094 0.279 0.148 0.094 0.063 0.18 0.137 0.262 0.215 0.080 0.082 0.152 0.172 0.215 0.266 0.059 0.086 0.107 0.18 0.148 0.277 0.043 0.098 0.074 0.199 0.096 0.301q0.039 0.176 0.039 0.359v5.418c0 0.391-0.309 0.699-0.701 0.699-0.391 0-0.699-0.309-0.699-0.699v-5.418c0-0.039-0.008-0.078-0.021-0.113-0.016-0.035-0.135-0.133-0.164-0.164-0.035-0.016-0.072-0.023-0.115-0.023h-14c-0.041 0-0.078 0.008-0.115 0.023-0.035 0.016-0.133 0.133-0.162 0.164-0.014 0.035-0.021 0.074-0.021 0.113v10c0 0.043 0.008 0.082 0.021 0.117v0c0.016 0.035 0.133 0.133 0.162 0.16 0.037 0.016 0.074 0.024 0.115 0.024h14c0.043 0 0.080-0.008 0.115-0.024 0.035-0.012 0.135-0.133 0.164-0.16 0.014-0.035 0.021-0.074 0.021-0.117v-2.215c0-0.391 0.309-0.699 0.699-0.699 0.393 0 0.701 0.309 0.701 0.699v2.215c0 0.125-0.014 0.242-0.039 0.359-0.021 0.102-0.053 0.203-0.096 0.305-0.041 0.098-0.090 0.188-0.148 0.277-0.063 0.094-0.135 0.18-0.215 0.262-0.082 0.082-0.168 0.152-0.264 0.215-0.086 0.059-0.18 0.105-0.277 0.148s-0.199 0.074-0.303 0.098c-0.117 0.023-0.236 0.035-0.359 0.035h-0.33l1.816 1.816c0.277 0.277 0.277 0.715 0 0.988-0.277 0.277-0.713 0.277-0.99 0l-2.805-2.805h-9.381l-2.805 2.805c-0.277 0.277-0.713 0.277-0.99 0-0.277-0.273-0.277-0.711 0-0.988l1.814-1.816h-0.33q-0.182 0-0.355-0.035h-0.002c-0.103-0.024-0.205-0.055-0.303-0.098-0.1-0.039-0.191-0.090-0.279-0.148-0.094-0.063-0.182-0.133-0.262-0.215-0.082-0.082-0.152-0.168-0.215-0.262q-0.088-0.133-0.148-0.277c-0.043-0.102-0.074-0.203-0.098-0.305-0.025-0.117-0.037-0.234-0.037-0.359v-10q0-0.184 0.037-0.359v0 0c0.023-0.102 0.055-0.203 0.098-0.301 0.041-0.098 0.090-0.191 0.148-0.277 0.063-0.094 0.133-0.184 0.215-0.266 0.080-0.078 0.168-0.152 0.262-0.215 0.088-0.055 0.18-0.105 0.279-0.148 0.098-0.039 0.199-0.074 0.303-0.094v0q0.002 0 0.004-0.004v0q0.172-0.035 0.354-0.035h6.301v-1.301c0-0.391 0.309-0.699 0.699-0.699 0.393 0 0.701 0.309 0.701 0.699zM17.502 9.488l-3.463 3.555c-0.147 0.129-0.359 0.223-0.551 0.211-0.193-0.016-0.354-0.094-0.479-0.242l-2.549-2.941-2.932 3.387c-0.258 0.297-0.691 0.328-0.988 0.070-0.295-0.254-0.326-0.687-0.070-0.984l3.461-4c0.127-0.148 0.287-0.227 0.479-0.242 0.193-0.012 0.363 0.043 0.51 0.168l2.649 3.051 2.93-3.008c0.273-0.281 0.709-0.285 0.99-0.012s0.287 0.707 0.014 0.988z"},null,-1)])])}const QB={name:"components-icon-working",render:GB},YB={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function KB(i,t){return e.openBlock(),e.createElementBlock("svg",YB,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M12.72 4.4c-1.473 0-2.667 1.194-2.667 2.667v9.076l0.007 0.199c0.102 1.38 1.254 2.468 2.659 2.468l6.621-0.001 4.058 3.921 0.102 0.086c0.597 0.438 1.48 0.020 1.48-0.758l-0.001-3.249c-0.015 0-0.031 0-0.047 0l0.047-0.003v0.002c1.451-0.025 2.62-1.209 2.62-2.666v-9.076c0-1.473-1.194-2.667-2.667-2.667h-12.213zM24.934 6.267c0.442 0 0.8 0.358 0.8 0.8v9.076c0 0.442-0.358 0.8-0.8 0.8h-0.886l-0.127 0.009c-0.456 0.062-0.807 0.452-0.807 0.925l-0.001 1.982-2.745-2.653c-0.174-0.168-0.407-0.262-0.649-0.262h-7c-0.442 0-0.8-0.358-0.8-0.8v-9.076c0-0.442 0.358-0.8 0.8-0.8h12.213zM7.066 9.556c-1.473 0-2.667 1.194-2.667 2.667v8.665c0 1.406 1.088 2.558 2.468 2.659l0.042 0.001v3.118c0 0.78 0.886 1.197 1.483 0.755l0.102-0.087 3.875-3.78h6.873c0.473 0 0.863-0.351 0.925-0.807l0.009-0.127c0-0.515-0.418-0.933-0.933-0.933h-7.254c-0.243 0-0.477 0.095-0.652 0.265l-2.561 2.499v-1.831c0-0.473-0.351-0.863-0.807-0.925l-0.127-0.009h-0.776c-0.442 0-0.8-0.358-0.8-0.8v-8.665c0-0.442 0.358-0.8 0.8-0.8h0.924c0.515 0 0.933-0.418 0.933-0.933s-0.418-0.933-0.933-0.933h-0.924zM20 12.080c0 0.508-0.412 0.92-0.92 0.92s-0.92-0.412-0.92-0.92c0-0.508 0.412-0.92 0.92-0.92s0.92 0.412 0.92 0.92zM23.080 13c0.508 0 0.92-0.412 0.92-0.92s-0.412-0.92-0.92-0.92-0.92 0.412-0.92 0.92c0 0.508 0.412 0.92 0.92 0.92zM15.080 13c0.508 0 0.92-0.412 0.92-0.92s-0.412-0.92-0.92-0.92-0.92 0.412-0.92 0.92c0 0.508 0.412 0.92 0.92 0.92z"},null,-1)])])}const WB={name:"components-icon-forum",render:KB},JB={class:"o-sig-detail-contribute"},ZB={class:"o-sig-floor-title"},$B={class:"o-sig-detail-contribute-title"},eV={class:"o-sig-detail-contribute-desc"},tV={class:"o-sig-detail-contribute-input-filter"},nV={class:"o-sig-detail-contribute-user-type"},iV={class:"o-sig-detail-contribute-user-type-label"},rV={class:"o-sig-detail-contribute-cell"},sV={class:"o-sig-detail-contribute-data"},aV=e.defineComponent({__name:"OSigUserContribute",props:{sig:{default:""},getDataRequest:{type:Function,default:void 0}},setup(i){const t=i,{t:n,locale:r}=xe.useI18n(),s=e.computed(()=>r.value==="en"),{isPhone:a,lePadV:o}=nt.useScreen(),l=(U,G,z)=>{var Z;return(Z=G.find(W=>W.value===U))==null?void 0:Z[z]},u=[{label:"Maintainer",value:"maintainer",color:"rgb(0, 98, 220)"},{label:"Committer",value:"committer",color:"rgb(240, 188, 0)"},{label:"Contributor",value:"contributor",color:"rgb(0, 167, 179)"}],d=e.ref(u.map(U=>U.value)),f=U=>l(U,u,"color"),p=e.ref("pr"),E=[{label:n("sig.PRS"),value:"pr",alias:"PR"},{label:n("sig.ISSUES"),value:"issue",alias:"Issue"},{label:n("sig.COMMENTS"),value:"comment",alias:"Comment"}],C=e.ref(""),x=[{label:n("sig.ALL"),value:""},{label:n("sig.commentNormal"),value:"normal"},{label:n("sig.commentCommand"),value:"command"}],m=e.computed(()=>l(p.value,E,"alias")),g=e.ref(new Date("2024-11-01").getTime()),k=e.ref(Date.now()),A=e.ref([]),D=()=>{C.value="",O()},O=async()=>{if(!t.getDataRequest)return;S.value=1;const U={contributeType:p.value,sig:t.sig,community:"TODO",comment_type:C.value};g.value&&k.value&&Object.assign(U,{start:Number(g.value),end:Number(k.value)}),A.value=await t.getDataRequest(U)||[]},M=e.computed(()=>A.value.length===0?0:Math.max(...A.value.map(U=>U.contribute))),V=e.computed(()=>[{key:"idx",label:n("sig.NUMBER")},{key:"user_login",label:"GitCode ID"},{key:"contribute",label:m.value}]),S=e.ref(1),L=e.ref(10),w=[10,15,30,50],B=e.ref(""),F=ct.refDebounced(B,400),Q=()=>{S.value=1},I=e.computed(()=>{let U=A.value;if(d.value.length&&(U=U.filter(G=>d.value.includes(G.usertype))),B.value){const G=F.value;U=U.filter(z=>z.user_login.toLowerCase().includes(G))}return U}),q=e.computed(()=>{const U=(S.value-1)*L.value;return I.value.slice(U,U+L.value)});return e.onMounted(()=>{O()}),(U,G)=>(e.openBlock(),e.createElementBlock("div",JB,[e.createElementVNode("div",ZB,[e.createElementVNode("div",$B,e.toDisplayString(e.unref(n)("sig.contributeTitle")),1),e.createElementVNode("div",eV,e.toDisplayString(e.unref(n)("sig.contributeSubTitle",[i.sig])),1)]),e.createVNode(e.unref(T.OCard),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OForm),{layout:e.unref(a)?"v":"h",class:e.normalizeClass(s.value?"is-en":"")},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OFormItem),{label:e.unref(n)("sig.METRIC"),field:"contributeType",class:"contribute-type-item"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadioGroup),{modelValue:p.value,"onUpdate:modelValue":G[0]||(G[0]=z=>p.value=z),onChange:D},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(E,z=>e.createVNode(e.unref(T.ORadio),{key:z.value,value:z.value},{radio:e.withCtx(({checked:Z})=>[e.createVNode(e.unref(T.OToggle),{checked:Z},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(z.label),1)]),_:2},1032,["checked"])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),p.value==="comment"?(e.openBlock(),e.createBlock(e.unref(T.OFormItem),{key:0,label:"",field:"commentType",class:"comment-type-item"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ORadioGroup),{modelValue:C.value,"onUpdate:modelValue":G[1]||(G[1]=z=>C.value=z),onChange:O},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(x,z=>e.createVNode(e.unref(T.ORadio),{key:z.value,value:z.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(z.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OFormItem),{label:e.unref(n)("sig.TIMERANGE"),field:"dateRange"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.ODateRangePicker),{start:g.value,"onUpdate:start":G[2]||(G[2]=z=>g.value=z),end:k.value,"onUpdate:end":G[3]||(G[3]=z=>k.value=z),clearable:"","placeholder-start":e.unref(n)("sig.startDate"),"placeholder-end":e.unref(n)("sig.endDate"),onChange:O},null,8,["start","end","placeholder-start","placeholder-end"])]),_:1},8,["label"])]),_:1},8,["layout","class"])]),_:1}),e.createVNode(e.unref(T.OCard),null,{default:e.withCtx(()=>[e.createElementVNode("div",tV,[e.createVNode(e.unref(T.OInput),{modelValue:B.value,"onUpdate:modelValue":G[4]||(G[4]=z=>B.value=z),placeholder:e.unref(n)("sig.contributePlaceholder"),onInput:Q},{prefix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconSearch))]),_:1})]),_:1},8,["modelValue","placeholder"]),e.createVNode(e.unref(T.OCheckboxGroup),{modelValue:d.value,"onUpdate:modelValue":G[5]||(G[5]=z=>d.value=z)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(u,z=>e.createVNode(e.unref(T.OCheckbox),{key:z.value,value:z.value},{checkbox:e.withCtx(({checked:Z})=>[e.createElementVNode("div",nV,[e.createElementVNode("div",{class:"o-sig-detail-contribute-dot",style:e.normalizeStyle({backgroundColor:Z?z.color:"rgb(204, 204, 204)"})},null,4),e.createElementVNode("p",iV,e.toDisplayString(z.label),1)])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),e.createVNode(e.unref(T.ODataTable),{data:q.value,columns:V.value,size:"small",border:"row-frame","min-table-width":600},{td_idx:e.withCtx(({index:z})=>[e.createElementVNode("span",null,e.toDisplayString(z+1),1)]),td_user_login:e.withCtx(({row:z})=>[e.createVNode(e.unref(T.OLink),{class:"user-id-link",color:"primary",target:"_blank",rel:"noopener noreferrer",href:e.unref(Tn)(z)},{icon:e.withCtx(()=>[e.createElementVNode("div",{class:"o-sig-detail-contribute-dot",style:e.normalizeStyle({backgroundColor:f(z.usertype)})},null,4)]),default:e.withCtx(()=>[e.createVNode(Hi,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(ln)(z)),1)]),_:2},1024)]),_:2},1032,["href"])]),td_contribute:e.withCtx(({row:z})=>[e.createElementVNode("div",rV,[e.createElementVNode("span",sV,e.toDisplayString(z.contribute),1),z.contribute>0?(e.openBlock(),e.createBlock(e.unref(T.OProgress),{key:0,"show-label":!1,percentage:Math.floor(z.contribute*100/M.value),style:e.normalizeStyle({"--progress-bar-bg-color":f(z.usertype)})},null,8,["percentage","style"])):e.createCommentVNode("",!0)])]),_:1},8,["data","columns"])]),_:1}),L.value<I.value.length?(e.openBlock(),e.createBlock(e.unref(T.OPagination),{key:0,total:I.value.length,"page-sizes":w,page:S.value,"onUpdate:page":G[6]||(G[6]=z=>S.value=z),"page-size":L.value,"onUpdate:pageSize":G[7]||(G[7]=z=>L.value=z),"show-total":"",simple:e.unref(o)},null,8,["total","page","page-size","simple"])):e.createCommentVNode("",!0)]))}}),oV={class:"o-sig-detail"},lV={class:"o-sig-detail-content"},uV={class:"o-sig-detail-floor"},cV={class:"o-sig-detail-meeting o-sig-detail-floor-item"},dV={class:"o-sig-detail-meeting-detail"},hV={class:"o-sig-detail-title o-sig-floor-title"},fV={class:"o-sig-detail-meeting-card"},mV={class:"o-sig-detail-info-item"},pV={class:"o-sig-detail-title-top"},gV={class:"o-sig-detail-text"},vV={class:"o-sig-detail-meeting-agenda"},yV={class:"o-sig-detail-email-link"},CV={class:"o-sig-detail-title-top"},bV={class:"o-sig-detail-text"},TV={key:0,class:"o-sig-detail-discuss-link"},kV={class:"o-sig-detail-title-top"},EV={class:"o-sig-detail-text"},xV={key:0,class:"o-sig-detail-floor-item"},_V={class:"o-sig-detail-floor-item"},AV={key:1,class:"o-sig-detail-floor-item"},lh=e.defineComponent({__name:"OSigDetail",props:{sigName:{default:""},sigDetail:{default:void 0},repositories:{default:()=>[]},repoColumnsConfig:{},headerBg:{default:""},getContributeData:{}},setup(i){const t=i,{t:n,locale:r}=xe.useI18n(),s=e.computed(()=>t.sigDetail),a=e.computed(()=>{var u;return((u=t.sigDetail)==null?void 0:u.maintainer_info)||[]}),o=e.computed(()=>{var u;return((u=t.sigDetail)==null?void 0:u.committer_info)||[]});e.onMounted(()=>{e.nextTick(()=>{setTimeout(()=>{const u=window.location.hash?document.querySelector(window.location.hash).offsetTop:0;window.scrollTo({top:u,behavior:"smooth"})},300)})});const l=e.computed(()=>{var u,d;return((u=s.value)==null?void 0:u[`meeting_agenda_${r.value}`])??((d=s.value)==null?void 0:d.meeting_agenda)??[]});return(u,d)=>{var f,p,E,C,x,m,g,k,A,D,O;return e.openBlock(),e.createElementBlock("div",oV,[e.createVNode(hB,{description:(f=s.value)==null?void 0:f.description,"sig-name":t.sigName,"gitee-address":(p=s.value)==null?void 0:p.git_url,bg:i.headerBg},null,8,["description","sig-name","gitee-address","bg"]),e.createElementVNode("div",lV,[e.createVNode(MB,{"maintainer-list":a.value,"committer-list":o.value},null,8,["maintainer-list","committer-list"]),e.createElementVNode("div",uV,[e.createElementVNode("div",cV,[e.createElementVNode("div",dV,[e.createElementVNode("p",hV,e.toDisplayString(e.unref(n)("sig.sigMeetingActive")),1),e.createElementVNode("div",fV,[e.createElementVNode("div",mV,[e.createElementVNode("div",pV,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(QB))]),_:1}),e.createElementVNode("p",gV,e.toDisplayString(e.unref(n)("sig.workMeeting")),1),(E=s.value)!=null&&E.etherpad_url?(e.openBlock(),e.createBlock(e.unref(T.OLink),{key:0,href:(C=s.value)==null?void 0:C.etherpad_url,target:"_blank",color:"primary"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(n)("sig.meetingSummary")),1)]),_:1},8,["href"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",vV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,M=>(e.openBlock(),e.createElementBlock("div",{class:"o-sig-detail-meeting-agenda-item",key:M},e.toDisplayString(M),1))),128))])]),e.createElementVNode("div",yV,[e.createElementVNode("div",CV,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(jB))]),_:1}),e.createElementVNode("p",bV,e.toDisplayString(e.unref(n)("sig.mailList")),1)]),e.createVNode(e.unref(T.OLink),{color:"primary",href:`mailto:${(x=s.value)==null?void 0:x.mailing_list}`,target:"_blank",class:"o-sig-detail-icon-link"},{default:e.withCtx(()=>{var M;return[e.createTextVNode(e.toDisplayString((M=s.value)==null?void 0:M.mailing_list),1)]}),_:1},8,["href"]),(m=s.value)!=null&&m.subscribe_url?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:0,round:"pill",color:"primary",href:(g=s.value)==null?void 0:g.subscribe_url,target:"_blank",size:"medium"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("sig.subscribe"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0),(k=s.value)!=null&&k.archive_url?(e.openBlock(),e.createBlock(e.unref(T.OButton),{key:1,round:"pill",color:"primary",href:(A=s.value)==null?void 0:A.archive_url,target:"_blank",size:"medium"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(cr))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("sig.viewArchive"))+" ",1)]),_:1},8,["href"])):e.createCommentVNode("",!0)]),(D=s.value)!=null&&D.discuss_url?(e.openBlock(),e.createElementBlock("div",TV,[e.createElementVNode("div",kV,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(WB))]),_:1}),e.createElementVNode("p",EV,e.toDisplayString(e.unref(n)("sig.forum")),1)]),e.createVNode(e.unref(T.OLink),{color:"primary",href:(O=s.value)==null?void 0:O.discuss_url,target:"_blank",class:"o-sig-detail-icon-link"},{default:e.withCtx(()=>{var M;return[e.createTextVNode(e.toDisplayString((M=s.value)==null?void 0:M.discuss_url),1)]}),_:1},8,["href"])])):e.createCommentVNode("",!0)])])]),u.$slots.meeting?(e.openBlock(),e.createElementBlock("div",xV,[e.renderSlot(u.$slots,"meeting")])):e.createCommentVNode("",!0),e.createElementVNode("div",_V,[i.repositories.length?(e.openBlock(),e.createBlock(oh,{key:0,repositories:i.repositories,columnsConfig:i.repoColumnsConfig},null,8,["repositories","columnsConfig"])):(e.openBlock(),e.createBlock(oh,{key:1,repositories:i.repositories,columnsConfig:i.repoColumnsConfig},null,8,["repositories","columnsConfig"]))]),i.getContributeData?(e.openBlock(),e.createElementBlock("div",AV,[e.createVNode(aV,{sig:i.sigName,"get-data-request":i.getContributeData},null,8,["sig","get-data-request"])])):e.createCommentVNode("",!0)])])])}}}),wV=Object.assign(rh,{install(i){i.component("OSigList",rh)}}),SV=Object.assign(lh,{install(i){i.component("OSigDetail",lh)}}),DV={class:"o-summit-intro"},BV={key:0,class:"o-summit-intro-title"},VV=e.defineComponent({__name:"OSummitIntro",props:{title:{},descList:{}},setup(i){return(t,n)=>(e.openBlock(),e.createElementBlock("div",DV,[i.title?(e.openBlock(),e.createElementBlock("h3",BV,e.toDisplayString(i.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.descList,r=>(e.openBlock(),e.createElementBlock("p",{key:r},e.toDisplayString(r),1))),128))]))}}),Kl=xe._export_sfc(VV,[["__scopeId","data-v-4878dd94"]]),NV=["tabindex","aria-disabled"],IV=["onClick"],OV=["tabindex","aria-disabled"],PV={key:1,class:"o-summit-tabs-single"},LV=3,MV=e.defineComponent({__name:"OSummitTabs",props:{modelValue:{},items:{},disabled:{}},emits:["update:modelValue","change"],setup(i,{emit:t}){const n=i,r=t,s=C=>{r("update:modelValue",C),r("change",C)},a=e.ref(null),o=e.ref(null),l=e.ref(!1),u=e.ref(!1),d=e.ref(!1),f=()=>{const C=a.value;if(!C)return;const x=C.scrollWidth-C.clientWidth;d.value=x>1,l.value=C.scrollLeft>1,u.value=C.scrollLeft<x-1},p=()=>{const C=a.value,x=o.value;if(!C||!x)return 0;const m=C.getBoundingClientRect().left,g=x.children;for(let k=0;k<g.length;k++)if(g[k].getBoundingClientRect().right>m+1)return k;return 0},E=C=>{const x=a.value,m=o.value;if(!x||!m||C===-1&&!l.value||C===1&&!u.value)return;let k=p()+C*LV;k=Math.max(0,Math.min(k,m.children.length-1));const A=m.children[k];if(A){const D=A.getBoundingClientRect().left-x.getBoundingClientRect().left;x.scrollTo({left:x.scrollLeft+D,behavior:"smooth"})}};return ct.useResizeObserver(a,f),ct.useResizeObserver(o,f),e.watch(()=>n.items.join("\0"),()=>{e.nextTick(()=>{a.value&&a.value.scrollTo({left:0}),f()})}),e.onMounted(()=>{f()}),(C,x)=>i.items.length>1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["o-summit-tabs",{"is-overflowing":d.value}])},[e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass(["o-summit-tabs-arrow is-left",{"is-disabled":!l.value}]),tabindex:l.value?0:-1,"aria-disabled":!l.value,onClick:x[0]||(x[0]=m=>E(-1))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronLeft))]),_:1})],10,NV),[[e.vShow,d.value]]),e.createElementVNode("div",{ref_key:"scrollRef",ref:a,class:"o-summit-tabs-scroller",onScroll:f},[e.createElementVNode("div",{ref_key:"trackRef",ref:o,class:"o-summit-tabs-track"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(m,g)=>{var k;return e.openBlock(),e.createElementBlock("button",{key:g,class:e.normalizeClass(["o-summit-tab",{"is-active":i.modelValue===g,"is-disabled":(k=i.disabled)==null?void 0:k.includes(g)}]),onClick:A=>s(g)},e.toDisplayString(m),11,IV)}),128))],512)],544),e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass(["o-summit-tabs-arrow is-right",{"is-disabled":!u.value}]),tabindex:u.value?0:-1,"aria-disabled":!u.value,onClick:x[1]||(x[1]=m=>E(1))},[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.OIconChevronRight))]),_:1})],10,OV),[[e.vShow,d.value]])],2)):i.items.length===1?(e.openBlock(),e.createElementBlock("h4",PV,e.toDisplayString(i.items[0]),1)):e.createCommentVNode("",!0)}}),Wl=xe._export_sfc(MV,[["__scopeId","data-v-0aa6f003"]]),RV={class:"o-summit-live"},qV={key:0,class:"o-summit-title"},FV={class:"o-summit-live-wrapper"},UV={class:"o-summit-live-select"},zV=["height","src"],HV={class:"o-summit-live-web"},jV={class:"o-summit-live-itembox"},XV=["onClick"],GV={class:"o-summit-live-name"},QV=e.defineComponent({__name:"OSummitLive",props:{section:{},liveUrl:{}},emits:["change"],setup(i,{emit:t}){var C;const n=i,r=t,s=e.ref(800),a=e.ref(0),o=e.ref(0),l=e.computed(()=>{var x;return((x=n.section.rooms)==null?void 0:x[o.value])||[]}),u=e.ref((C=l.value[0])==null?void 0:C.liveId);e.watch(l,x=>{var m;u.value=(m=x[0])==null?void 0:m.liveId,a.value=0,r("change",u.value)});const d=(x,m)=>{a.value=m,r("change",x.liveId)},f=x=>{r("change",Array.isArray(x)?x[0]:x)};function p(x){x.height==="auto"?s.value=550:x.height&&(s.value=parseInt(x.height,10))}const E=x=>{let m="";try{m=JSON.parse(x.data)}catch{m=x.data}p(m)};return e.onMounted(()=>{window.addEventListener("message",E,!1)}),e.onUnmounted(()=>{window.removeEventListener("message",E)}),(x,m)=>(e.openBlock(),e.createElementBlock("div",RV,[n.section.title?(e.openBlock(),e.createElementBlock("h3",qV,e.toDisplayString(n.section.title),1)):e.createCommentVNode("",!0),e.createVNode(Wl,{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=g=>o.value=g),items:n.section.dates||[]},null,8,["modelValue","items"]),e.createElementVNode("div",FV,[e.createElementVNode("div",UV,[e.createVNode(e.unref(T.OSelect),{modelValue:u.value,"onUpdate:modelValue":m[1]||(m[1]=g=>u.value=g),clearable:"",filterable:"",onChange:f},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,g=>(e.openBlock(),e.createBlock(e.unref(T.OOption),{key:g.id,label:g.name,value:g.liveId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("iframe",{height:s.value,allow:"camera *;microphone *;",scrolling:"no",src:n.liveUrl,allowfullscreen:"true",class:"o-summit-live-video"},null,8,zV),e.createElementVNode("div",HV,[e.createElementVNode("div",jV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(g,k)=>(e.openBlock(),e.createElementBlock("div",{key:g.id,class:e.normalizeClass(["o-summit-live-link",a.value===k?"is-active":"",k===0?"is-main":""]),style:e.normalizeStyle({"--o-summit-live-bg":g.background?`url(${g.background})`:"","--o-summit-live-bg-dark":g.backgroundDark?`url(${g.backgroundDark})`:""}),onClick:A=>d(g,k)},[e.createElementVNode("p",GV,e.toDisplayString(g.name),1)],14,XV))),128))])])])]))}}),Jl=xe._export_sfc(QV,[["__scopeId","data-v-29562453"]]),YV={class:"o-summit-schedule"},KV={key:0,class:"o-summit-title"},WV={class:"o-summit-agenda-content-wrapper"},JV={class:"o-summit-agenda-content"},ZV={class:"o-summit-schedule-time"},$V={class:"o-summit-schedule-topics"},eN={class:"o-summit-schedule-desc-cell"},tN={class:"o-summit-schedule-desc-list"},nN={class:"o-summit-schedule-detail"},iN={key:0},rN={key:1},sN={key:1,class:"o-summit-schedule-desc-list"},aN={key:0,class:"o-summit-schedule-speakers"},oN={class:"o-summit-schedule-name"},lN={class:"o-summit-schedule-post"},uN=e.defineComponent({__name:"OSummitSchedule",props:{schedule:{}},setup(i){const t=i,{t:n}=xe.useI18n(),r=e.ref(0),s=e.ref(0),a=e.ref(0),o=e.ref(0),l=e.computed(()=>{var L;return(L=t.schedule.days)==null?void 0:L[r.value]}),u=e.computed(()=>{var L,w;return(w=(L=l.value)==null?void 0:L.categories)==null?void 0:w[s.value]}),d=e.computed(()=>{var L;return((L=u.value)==null?void 0:L.sessions)||[]}),f=e.computed(()=>d.value[a.value]),p=e.computed(()=>{var L;return((L=f.value)==null?void 0:L.subForums)||[]}),E=e.computed(()=>p.value[o.value]),C=e.computed(()=>{var L;return f.value?f.value.items?f.value.items:((L=E.value)==null?void 0:L.items)||[]:[]}),x=e.computed(()=>{var L;return(L=E.value)==null?void 0:L.detailMode}),m=L=>{r.value=L,s.value=0,a.value=0,o.value=0},g=L=>{s.value=Number(L)||0,a.value=0,o.value=0},k=L=>{a.value=L,o.value=0},A=L=>{o.value=Number(L)||0};e.watch(()=>t.schedule,()=>{r.value=0,s.value=0,a.value=0,o.value=0},{immediate:!0});const D=e.computed(()=>p.value.length>1),O=e.computed(()=>{var L,w;return(((w=(L=l.value)==null?void 0:L.categories)==null?void 0:w.length)||0)>1});function M(L){return(L.speakers||[]).map(w=>w.name).filter(Boolean).join("、")}function V(L){return(L.speakers||[]).map(w=>{var B;return(B=w.positions)==null?void 0:B.join("、")}).filter(Boolean).join(";")}function S(L){return Array.isArray(L.topic)?L.topic:[L.topic]}return(L,w)=>(e.openBlock(),e.createElementBlock("div",YV,[t.schedule.title?(e.openBlock(),e.createElementBlock("h3",KV,e.toDisplayString(t.schedule.title),1)):e.createCommentVNode("",!0),e.createVNode(Wl,{modelValue:r.value,"onUpdate:modelValue":w[0]||(w[0]=B=>r.value=B),items:t.schedule.days.map(B=>B.dateLabel),onChange:m},null,8,["modelValue","items"]),O.value&&l.value?(e.openBlock(),e.createBlock(e.unref(T.OTab),{key:1,maxShow:999,modelValue:s.value,"onUpdate:modelValue":w[1]||(w[1]=B=>s.value=B),variant:"text",class:"o-summit-category-tabs",onChange:g,line:!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value.categories,(B,F)=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:B.id,value:F,label:B.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),e.createVNode(Wl,{modelValue:a.value,"onUpdate:modelValue":w[2]||(w[2]=B=>a.value=B),items:d.value.map(B=>B.label),onChange:k},null,8,["modelValue","items"]),e.createElementVNode("div",WV,[D.value&&f.value?(e.openBlock(),e.createBlock(e.unref(T.OTab),{key:0,maxShow:999,modelValue:o.value,"onUpdate:modelValue":w[3]||(w[3]=B=>o.value=B),variant:"text",class:"o-summit-forum-type-tabs",onChange:A,line:!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(B,F)=>(e.openBlock(),e.createBlock(e.unref(T.OTabPane),{key:B.id,value:F,label:B.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("div",JV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,B=>(e.openBlock(),e.createElementBlock("div",{key:B.time,class:"o-summit-schedule-item"},[e.createElementVNode("span",ZV,[e.createVNode(e.unref(um)),e.createElementVNode("span",null,e.toDisplayString(B.time),1)]),e.createElementVNode("div",$V,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.topics,(F,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q,class:"o-summit-schedule-topic"},[e.createElementVNode("div",eN,[x.value==="popover"?(e.openBlock(),e.createBlock(e.unref(T.OPopover),{key:0,trigger:"click",position:"bottom","wrap-class":"o-summit-schedule-popover"},{target:e.withCtx(()=>[e.createElementVNode("div",tN,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S(F),(I,q)=>(e.openBlock(),e.createElementBlock("span",{key:q,class:"o-summit-schedule-desc"},e.toDisplayString(I),1))),128))])]),default:e.withCtx(()=>[e.createElementVNode("div",nN,[e.createElementVNode("p",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("summit.scheduleTopicName")),1),e.createElementVNode("span",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S(F),(I,q)=>(e.openBlock(),e.createElementBlock("span",{key:q,class:"o-summit-schedule-detail-line"},e.toDisplayString(I),1))),128))])]),F.description?(e.openBlock(),e.createElementBlock("p",iN,[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("summit.scheduleTopicDesc")),1),e.createElementVNode("span",null,e.toDisplayString(F.description),1)])):e.createCommentVNode("",!0),e.createElementVNode("p",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("summit.scheduleSpeaker")),1),e.createElementVNode("span",null,e.toDisplayString(M(F)),1)]),V(F)?(e.openBlock(),e.createElementBlock("p",rN,[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("summit.schedulePosition")),1),e.createElementVNode("span",null,e.toDisplayString(V(F)),1)])):e.createCommentVNode("",!0)])]),_:2},1024)):(e.openBlock(),e.createElementBlock("div",sN,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S(F),(I,q)=>(e.openBlock(),e.createElementBlock("span",{key:q,class:"o-summit-schedule-desc"},e.toDisplayString(I),1))),128))]))]),F.speakers&&F.speakers.length?(e.openBlock(),e.createElementBlock("div",aN,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.speakers,I=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:I.name},[e.createElementVNode("span",oN,e.toDisplayString(I.name),1),e.createElementVNode("div",lN,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.positions,q=>(e.openBlock(),e.createElementBlock("span",{key:q},e.toDisplayString(q),1))),128))])],64))),128))])):e.createCommentVNode("",!0)]))),128))])]))),128))])])]))}}),Zl=xe._export_sfc(uN,[["__scopeId","data-v-41c99a8e"]]),cN={class:"o-summit"},dN=e.defineComponent({__name:"OSummit",props:{descList:{},descTitle:{},live:{},liveUrl:{},schedule:{}},emits:["liveChange"],setup(i,{emit:t}){const n=i,r=t,{t:s}=xe.useI18n(),a=e.computed(()=>n.descTitle||s("summit.introTitle")),o=l=>{r("liveChange",l)};return(l,u)=>(e.openBlock(),e.createElementBlock("div",cN,[n.descList?(e.openBlock(),e.createBlock(Kl,{key:0,title:a.value,"desc-list":n.descList,class:"o-summit-intro-section"},null,8,["title","desc-list"])):e.createCommentVNode("",!0),n.live?(e.openBlock(),e.createBlock(Jl,{key:1,section:n.live,"live-url":n.liveUrl||"",onChange:o},null,8,["section","live-url"])):e.createCommentVNode("",!0),n.schedule?(e.openBlock(),e.createBlock(Zl,{key:2,schedule:n.schedule},null,8,["schedule"])):e.createCommentVNode("",!0)]))}}),uh=xe._export_sfc(dN,[["__scopeId","data-v-83d1b7cb"]]),hN=Object.assign(uh,{install(i){i.component("OSummit",uh)}}),fN=Object.assign(Kl,{install(i){i.component("OSummitIntro",Kl)}}),mN=Object.assign(Jl,{install(i){i.component("OSummitLive",Jl)}}),pN=Object.assign(Zl,{install(i){i.component("OSummitSchedule",Zl)}}),gN={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function vN(i,t){return e.openBlock(),e.createElementBlock("svg",gN,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M16.923 1.951l-13.5 0.653c-0.853 0.041-1.522 0.745-1.522 1.598v15.595c0 0.853 0.67 1.557 1.522 1.598l13.577 0.655c0.884 0 1.6-0.716 1.6-1.6v-16.901l-0.002-0.063c-0.044-0.897-0.794-1.578-1.676-1.535zM16.981 3.15c0.22-0.011 0.408 0.16 0.418 0.38l0.001 16.92c0 0.193-0.137 0.355-0.319 0.392l-0.090 0.008-13.51-0.653c-0.213-0.010-0.381-0.186-0.381-0.4v-15.595c0-0.214 0.167-0.389 0.381-0.4l13.5-0.653z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M20.373 3.488c0.881-0.070 1.651 0.587 1.722 1.469l0.005 0.127v13.835c0 0.884-0.716 1.6-1.6 1.6l-0.126-0.005-0.427-0.034c-0.33-0.026-0.577-0.315-0.551-0.645s0.315-0.577 0.645-0.551l0.458 0.034c0.221 0 0.4-0.179 0.4-0.4v-13.835l-0.001-0.031c-0.017-0.221-0.21-0.385-0.431-0.367l-0.402 0.032c-0.33 0.026-0.619-0.22-0.646-0.55s0.22-0.62 0.55-0.646l0.402-0.032z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M14.515 11.311l-5.823-4.205c-0.145-0.104-0.319-0.161-0.498-0.161-0.469 0-0.85 0.38-0.85 0.85v8.411c0 0.178 0.056 0.352 0.161 0.498 0.274 0.38 0.806 0.466 1.186 0.191l5.823-4.205c0.073-0.053 0.138-0.118 0.191-0.191 0.274-0.38 0.189-0.912-0.191-1.187zM13.42 11.999l-4.876 3.522v-7.044l4.876 3.522z"},null,-1)])])}const ch={name:"video-icon-video",render:vN},yN={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function CN(i,t){return e.openBlock(),e.createElementBlock("svg",yN,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M15.683 2.792l0.098 0.090 3.963 4.192c0.143 0.151 0.233 0.343 0.259 0.546l0.008 0.124v6.787c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095-0-6.301h-2.138c-0.999 0-1.818-0.772-1.894-1.752l-0.006-0.148v-2.352l-8.782 0.013c-0.194 0-0.355 0.138-0.392 0.32l-0.008 0.081v15.233c0 0.194 0.138 0.355 0.321 0.392l12.5-0.010c0.194-0 0.355-0.138 0.392-0.32l0.008-0.081v-2.446c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v2.446c0 0.944-0.726 1.719-1.651 1.795l-12.566 0.024c-0.945 0.001-1.721-0.725-1.797-1.652l-0.006-0.148v-15.234c0-0.944 0.726-1.718 1.651-1.795l9.431-0.019c0.223 0 0.439 0.076 0.611 0.215zM17.587 6.829l-1.614-1.708v1.208c0 0.245 0.177 0.45 0.41 0.492l0.090 0.008h1.114zM12.705 7.966c0-0.387-0.313-0.7-0.7-0.7h-3.441l-0.095 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7h3.441l0.095-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 12c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 16.035c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694z"},null,-1)])])}const bN={name:"video-icon-material",render:CN},TN={class:"o-video-detail-content-wrapper"},kN={class:"o-video-card-item-header"},EN={class:"o-video-card-item-content o-video-info-desc"},xN={class:"o-video-card-item-content-font"},_N={class:"o-video-card-item-header"},AN={class:"o-video-card-item-header-title"},wN=["title"],SN={class:"o-video-course-main-header"},DN=["src"],BN={class:"o-video-course-info-wrapper"},VN={class:"o-video-course-info-title"},NN={class:"o-video-course-info-avatar"},IN={class:"o-video-info-detail-wrapper"},ON={class:"o-video-info-detail-name"},PN={class:"o-video-info-detail-position"},LN={class:"o-video-course-info-content-title"},MN={class:"o-video-course-info-content"},RN={class:"o-video-material-download-wrapper"},qN={class:"o-video-material-download-info"},FN={class:"o-video-material-download-tip"},UN={key:0,class:"o-video-material-download-size"},zN={class:"o-video-dlg-title"},HN={class:"o-video-dlg-body"},dh=e.defineComponent({__name:"OVideoDetail",props:{data:{},layout:{}},setup(i){var d,f,p;const t=i,{lePadV:n}=nt.useScreen(),{t:r}=xe.useI18n(),s=e.ref(((p=(f=(d=t.data)==null?void 0:d.courseList)==null?void 0:f[0])==null?void 0:p.link)||""),a=e.computed(()=>{var E,C;return(C=(E=t.data)==null?void 0:E.courseList)==null?void 0:C.find(x=>x.link===s.value)}),o=e.computed(()=>{var E,C;return(((C=(E=t.data)==null?void 0:E.courseList)==null?void 0:C.length)||0)>1}),l=e.ref(!1),u=E=>{l.value=E};return(E,C)=>{var x;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",TN,[e.createVNode(e.unref(T.OCard),{class:"o-video-card-item",style:e.normalizeStyle({"--video-banner-url":(x=t.data)!=null&&x.banner?`url(${t.data.banner})`:"none"})},{header:e.withCtx(()=>{var m;return[e.createElementVNode("div",kN,e.toDisplayString((m=t.data)==null?void 0:m.title),1)]}),footer:e.withCtx(()=>{var m,g,k,A;return[e.createElementVNode("div",EN,[(m=t.data)!=null&&m.editorName?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xN,e.toDisplayString(e.unref(r)("video.editor"))+" "+e.toDisplayString((g=t.data)==null?void 0:g.editorName)+"("+e.toDisplayString((k=t.data)==null?void 0:k.editorEmail)+") ",1),e.createVNode(e.unref(T.ODivider),{direction:"v"})],64)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("video.lastUpdated"))+" "+e.toDisplayString((A=t.data)==null?void 0:A.lastUpdated),1)])]}),_:1},8,["style"]),e.createElementVNode("div",{class:e.normalizeClass(["o-video-card-video-list",[`o-video-card-video-list--${t.layout||"horizontal"}`,{"o-video-card-video-list--no-menu":!o.value}]])},[o.value?(e.openBlock(),e.createBlock(e.unref(T.OCard),{key:0,class:"o-video-course-menu-card"},{header:e.withCtx(()=>{var m,g;return[e.createElementVNode("div",_N,[e.createElementVNode("div",AN,e.toDisplayString(e.unref(r)("video.sessionList")),1),e.createElementVNode("div",{class:"o-video-card-item-header-menu-wrapper",onClick:C[0]||(C[0]=k=>u(!0))},[e.createElementVNode("div",{class:"o-video-card-item-header-menu",title:(m=a.value)==null?void 0:m.title},e.toDisplayString((g=a.value)==null?void 0:g.title),9,wN),e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ji))]),_:1})])])]}),default:e.withCtx(()=>[e.createVNode(e.unref(T.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OMenu),{modelValue:s.value,"onUpdate:modelValue":C[1]||(C[1]=m=>s.value=m)},{default:e.withCtx(()=>{var m;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=t.data)==null?void 0:m.courseList,g=>(e.openBlock(),e.createBlock(e.unref(T.OMenuItem),{key:g.id,value:g.link,title:g.title},{icon:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ch))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(g.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(T.OCard),{class:"o-video-course-video-card"},{header:e.withCtx(()=>{var m;return[e.createElementVNode("div",SN,e.toDisplayString((m=a.value)==null?void 0:m.title),1)]}),default:e.withCtx(()=>[e.createElementVNode("video",{controls:"",muted:"",preload:"auto",class:"o-video-video-player",src:s.value},null,8,DN)]),_:1}),e.createVNode(e.unref(T.OCard),{class:"o-video-course-info-card"},e.createSlots({default:e.withCtx(()=>{var m,g,k,A;return[e.createElementVNode("div",BN,[e.createElementVNode("div",VN,e.toDisplayString(e.unref(r)("video.featuredSpeaker")),1),e.createElementVNode("div",NN,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=a.value)==null?void 0:m.speakers,D=>(e.openBlock(),e.createElementBlock("div",{key:D.id,class:"o-video-course-info-avatar-item"},[e.createVNode(Yl,{name:D.name,src:D.image,style:{width:"var(--avatar-size)",height:"var(--avatar-size)"}},null,8,["name","src"]),e.createElementVNode("div",IN,[e.createElementVNode("div",ON,e.toDisplayString(D.name),1),e.createElementVNode("div",PN,e.toDisplayString(D.title),1)])]))),128))]),e.createElementVNode("div",LN,e.toDisplayString(e.unref(r)("video.abstract")),1),e.createElementVNode("div",MN,e.toDisplayString((g=a.value)==null?void 0:g.description),1),e.createElementVNode("div",RN,[e.createElementVNode("div",qN,[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(bN))]),_:1}),e.createElementVNode("div",FN,e.toDisplayString(e.unref(r)("video.downloadCourseware")),1),(k=a.value)!=null&&k.materialSize?(e.openBlock(),e.createElementBlock("span",UN,e.toDisplayString(a.value.materialSize),1)):e.createCommentVNode("",!0)]),e.createVNode(e.unref(T.OLink),{color:"primary",target:"_self",href:(A=a.value)==null?void 0:A.material},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("video.download")),1)]),_:1},8,["href"])])])]}),_:2},[i.layout==="vertical"?{name:"header",fn:e.withCtx(()=>[C[6]||(C[6]=e.createElementVNode("div",{class:"o-video-card-item-header"},e.toDisplayString("视频介绍材料"),-1))]),key:"0"}:void 0]),1024)],2)]),e.createVNode(e.unref(T.ODialog),{visible:l.value,"onUpdate:visible":C[5]||(C[5]=m=>l.value=m),"phone-half-full":e.unref(n),scrollbar:!0,class:"o-video-courses-dialog-mb"},{header:e.withCtx(()=>[e.createElementVNode("p",zN,e.toDisplayString(e.unref(r)("video.sessionList")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"o-video-dlg-action",onClick:C[4]||(C[4]=m=>u(!1)),style:{cursor:"pointer"}},e.toDisplayString(e.unref(r)("video.cancel")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",HN,[e.createVNode(e.unref(T.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.OMenu),{modelValue:s.value,"onUpdate:modelValue":C[3]||(C[3]=m=>s.value=m)},{default:e.withCtx(()=>{var m;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=t.data)==null?void 0:m.courseList,g=>(e.openBlock(),e.createBlock(e.unref(T.OMenuItem),{key:g.id,value:g.link,title:g.title,onClick:C[2]||(C[2]=k=>u(!1))},{icon:e.withCtx(()=>[e.createVNode(e.unref(T.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ch))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(g.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})])]),_:1},8,["visible","phone-half-full"])],64)}}}),jN=Object.assign(dh,{install(i){i.component("OVideoDetail",dh)}});exports.OElCookieNotice=xe.OElCookieNotice;exports.CalendarDataType=Fe;exports.EventsStatusT=ni;exports.MeetingGroupType=pn;exports.NavType=Vi;exports.OActivityApproval=PC;exports.OActivityForm=OC;exports.OActivityMyCalendar=sm;exports.OAnchorBar=qC;exports.OArticle=LT;exports.OArticleList=MT;exports.OArticlePagination=RT;exports.OBanner=KT;exports.OBannerContent=WT;exports.OBrandFile=ck;exports.OBrandLogo=uk;exports.OBrandStandard=dk;exports.OCookieNotice=Hk;exports.OEmpty=jk;exports.OEventsApply=$E;exports.OEventsCalendar=JE;exports.OEventsList=ZE;exports.OFeedbackDoc=hx;exports.OFeedbackDocContent=fx;exports.OFeedbackDocDialog=mx;exports.OFeedbackDocPopup=px;exports.OFloatPoster=bx;exports.OFooter=f_;exports.OHeader=JA;exports.OHeaderLanguageSwitcher=sw;exports.OHeaderMobile=ZA;exports.OHeaderSearch=mS;exports.OHeaderSourceCode=bS;exports.OHeaderTheme=xS;exports.OHeaderUser=NS;exports.OLogoSwiper=US;exports.OLogoSwiperItems=zS;exports.OMarkdown=HS;exports.OMeetingCalendar=H9;exports.OMeetingForm=j9;exports.OMeetingMinutes=Y9;exports.OMeetingMinutesCopyDetail=W9;exports.OMeetingMyCalendar=Q9;exports.OMeetingPlayback=X9;exports.OMeetingSendMinutesForm=K9;exports.OMeetingSigCalendar=G9;exports.OOrgDesc=tD;exports.OOrgMembers=nD;exports.OPlusConfigProvider=mk;exports.OSearchInput=dD;exports.OSection=yD;exports.OSigDetail=SV;exports.OSigList=wV;exports.OSummit=hN;exports.OSummitIntro=fN;exports.OSummitLive=mN;exports.OSummitSchedule=pN;exports.OVideoDetail=jN;exports.createSvgIcon=IS;