"use strict";var c=Object.defineProperty,p=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var r=(e,s,o)=>s in e?c(e,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[s]=o,m=(e,s)=>{for(var o in s||(s={}))g.call(s,o)&&r(e,o,s[o]);if(n)for(var o of n(s))v.call(s,o)&&r(e,o,s[o]);return e},d=(e,s)=>p(e,u(s));var t=require("../../../../../../common/vendor.js"),l=require("../../../../../../common/assets.js");const f=t.defineComponent({props:{data:{type:Object,default:()=>({})},messageData:{type:Object,default:()=>({})}},setup(e,s){const o=t.reactive({video:{},message:{},show:!1,videoContext:null});t.watchEffect(()=>{o.video=e.data,o.message=e.messageData});const a=()=>{t.index.navigateTo({url:`./components/message-elements/video-play?videoMessage=${o.video.url}`})};return d(m({},t.toRefs(o)),{toggleShow:a})}});function _(e,s,o,a,w,C){return{a:e.video.snapshotUrl,b:t.n("content-"+e.message.flow),c:l._imports_0$4,d:t.n(!e.video.progress&&"message-video-cover"),e:t.o((...i)=>e.toggleShow&&e.toggleShow(...i))}}var h=t._export_sfc(f,[["render",_],["__scopeId","data-v-2a5d9872"],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages/TUIKit/TUIPages/TUIChat/components/message-elements/message-video.vue"]]);wx.createComponent(h);
