"use strict";const e=require("../../../../../../common/vendor.js");require("../../../../../adapter-vue.js"),Math||n();const n=()=>"./convert-content.js",o=e.defineComponent({__name:"index",props:{message:{default:()=>({})}},setup(n){const o=n,t=e.ref(!1),s=e.ref(!1),r=e.ref();let a=!0;function u(e){s.value=e}function c(e){if(void 0===e)return;a=!1;const n=e.get(o.message.conversationID)||[];for(let r=0;r<n.length;++r){const{messageID:e,visible:u}=n[r];if(e===o.message.ID&&void 0!==u){1===n.length&&u&&(a=!0),s.value=!1,t.value=u;break}}}return e.onMounted((()=>{e.Jt.watch(e.o.CHAT,{voiceToTextInfo:c})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CHAT,{voiceToTextInfo:c})})),(n,c)=>e.e({a:e.unref(t)},e.unref(t)?{b:e.o$1(u),c:e.p({message:o.message,contentVisible:e.unref(t),isSingleConvert:e.unref(a),convertWrapperRef:e.unref(r)}),d:"out"===o.message.flow?1:"",e:e.unref(s)?1:""}:{})}}),t=e._export_sfc(o,[["__scopeId","data-v-873d2b86"]]);wx.createComponent(t);
