"use strict";var e=Object.defineProperty,t=Object.defineProperties,o=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,n=(t,o,r)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r,c=require("../../../../../../common/vendor.js"),i=require("../../../../../../common/assets.js");const p=c.defineComponent({props:{data:{type:Object,default:()=>({})},messageData:{type:Object,default:()=>({})}},setup(e,i){const p=c.reactive({video:{},message:{},show:!1,videoContext:null});c.watchEffect((()=>{p.video=e.data,p.message=e.messageData}));return l=((e,t)=>{for(var o in t||(t={}))s.call(t,o)&&n(e,o,t[o]);if(r)for(var o of r(t))a.call(t,o)&&n(e,o,t[o]);return e})({},c.toRefs(p)),t(l,o({toggleShow:()=>{c.index.navigateTo({url:`./components/message-elements/video-play?videoMessage=${p.video.url}`})}}));var l}});var l=c._export_sfc(p,[["render",function(e,t,o,r,s,a){return{a:e.video.snapshotUrl,b:c.n("content-"+e.message.flow),c:i._imports_0$4,d:c.n(!e.video.progress&&"message-video-cover"),e:c.o(((...t)=>e.toggleShow&&e.toggleShow(...t)))}}],["__scopeId","data-v-18284b96"]]);wx.createComponent(l);
