"use strict";const e=require("../../../../../../common/vendor.js");require("../../../../../adapter-vue.js");const t=require("../../../utils/utils.js");Math||a();const a=()=>"../../../../common/Avatar/index.js",r=e.defineComponent({__name:"message-container",props:{sender:{default:""},avatar:{default:""},type:{},time:{}},setup(a){const r=a,n=e.qt.TYPES,s=e.computed((()=>[n.MSG_IMAGE,n.MSG_VIDEO,n.MSG_MERGER].includes(r.type)));return(a,n)=>({a:e.p({url:r.avatar}),b:e.t(r.sender),c:e.unref(s)?1:"",d:e.t(e.unref(t.calculateTimestamp)(1e3*r.time))})}}),n=e._export_sfc(r,[["__scopeId","data-v-4fbcde0e"]]);wx.createComponent(n);
