import{u as m}from"./vue-router-7f882520.js";import{t as u}from"./index-ae60edf9.js";import{P as f,p as d,f as _,a as y,v,b as x,c as b,e as k,l as h,m as g,r as P,d as w}from"./xgplayer-8882c776.js";import{d as j,b as z,j as B,n as C,x as R,o as I,c as M,a as l,$ as s}from"./@vue-cb50a1c4.js";import"./open-im-sdk-wasm-f19f04ec.js";import"./dayjs-4460abc8.js";import"./@amap-aca98dec.js";import"./vue-i18n-90d534a9.js";import"./@intlify-1c0af683.js";import"./pinia-de4079f2.js";import"./axios-7d5a0a64.js";import"./form-data-497f8b5e.js";import"./uuid-a960c1f4.js";import"./date-fns-f56f60e6.js";import"./@babel-7fd5df1e.js";import"./mitt-f7ef348c.js";import"./@vueuse-19adab01.js";import"./livekit-client-ca552de3.js";import"./@livekit-3058dbe8.js";import"./loglevel-e40a507a.js";import"./rxjs-2154ddb2.js";import"./tslib-8dbab242.js";import"./@vuemap-5ebdc63e.js";import"./lodash-es-91418b19.js";const N={class:"flex h-full flex-col items-center justify-center bg-black"},V=l("div",{id:"video_player",class:"flex-1"},null,-1),E={class:"flex w-full justify-between px-4 pb-4 pt-2"},so=j({__name:"index",props:{url:null,poster:null},setup(i){const e=i,p=m(),t=z(),n=()=>{t.value=new f({id:"video_player",url:e.url,poster:e.poster,controlPlugins:[d,_,y,v,x,b,k,h,g,P,w],pip:!0,fluid:!0,autoplay:!0,videoInit:!0,lang:"zh-cn",playbackRate:[.5,.75,1,1.5,2]})},r=()=>{p.back()};return B(()=>{C(()=>{n()})}),R(()=>{var o;try{(o=t.value)==null||o.destroy()}catch{}}),(o,c)=>{const a=u;return I(),M("div",N,[V,l("div",E,[s(a,{name:"close",size:"24",color:"#fff",onClick:r}),s(a,{name:"down",size:"24",color:"#fff",onClick:r})])])}}});export{so as default};
