1import{_ as F}from"./DlAUqK2U.js";import{X as h,u as p,Y as w,i as r,w as E,o as b,M as k,c as y,f as s,a as _,b as m,G as V,F as x,J as C,e as R}from"./fKzNRO_x.js";const q=["src"],z={class:"video-container-fullscreen"},L=["src"],M={__name:"videos",props:h({file:{type:Array,default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n,{expose:f}){const{t:S,locale:c}=p(),t=w(n,"modelValue"),e=r(null),o=r(null),a=()=>{t.value=!1};E(()=>t.value,u=>{u&&o.value&&o.value.play(),u||o.value&&o.value.pause()},{immediate:!0});const l=()=>{document.fullscreenElement?(console.log("è§é¢è¿å
¥å
¨å±"),e.value.play()):(console.log("è§é¢å·²éåºå
¨å±"),e.value.pause())},i=()=>{e.value&&(document.fullscreenElement?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():(console.log("è¿å
¥å
¨å±",e.value),e.value.requestFullscreen?e.value.requestFullscreen():e.value.webkitRequestFullscreen?e.value.webkitRequestFullscreen():e.value.mozRequestFullScreen?e.value.mozRequestFullScreen():e.value.msRequestFullscreen&&e.value.msRequestFullscreen(),e.value.play()))};return b(()=>{document.addEventListener("fullscreenchange",l),document.addEventListener("webkitfullscreenchange",l),document.addEventListener("mozfullscreenchange",l),document.addEventListener("MSFullscreenChange",l)}),k(()=>{document.removeEventListener("fullscreenchange",l),document.removeEventListener("webkitfullscreenchange",l),document.removeEventListener("mozfullscreenchange",l),document.removeEventListener("MSFullscreenChange",l)}),f({toggleFullscreen:i,closeVideoDialog:a}),(u,d)=>{const v=C("el-dialog");return R(),y(x,null,[s("video",{ref_key:"videoRef",ref:e,controls:"",width:"0",style:{"object-fit":"contain"},muted:!1,"webkit-playsinline":"",onDblclick:i},[s("source",{src:m(c)=="zh-CN"?n.file.cn:n.file.en,type:"video/mp4"},null,8,q)],544),_(v,{class:"video-dialog",modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=g=>t.value=g),width:"65%","show-close":!0,"close-on-click-modal":!0,onClose:a},{default:V(()=>[s("div",z,[s("video",{ref_key:"dialogVideoRef",ref:o,controls:"",width:"100%",style:{"object-fit":"contain"},autoplay:"",muted:!1,"webkit-playsinline":""},[s("source",{src:m(c)=="zh-CN"?n.file.cn:n.file.en,type:"video/mp4"},null,8,L)],512)])]),_:1},8,["modelValue"])],64)}}},D=F(M,[["__scopeId","data-v-fcb8693c"]]);export{D as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.