import{d as c,b as l,i as o}from"./index.7b408720.js";const p=c({name:"musicPreView",props:{item:{type:Object,default:()=>{}},isMove:{type:Number,default:0,required:!1}},setup(t,{emit:a}){const i=l().getToken,s={dev:"https://dev.kt.colexiu.com",test:"https://test.lexiaoya.cn",online:"https://mec.colexiu.com"},n=location.origin.includes("//dev")?"dev":location.origin.includes("//test")?"test":location.origin.includes("//mec.colexiu")?"online":"dev",r=s[n];let e=(/(localhost|192)/.test(location.host)?"https://dev.kt.colexiu.com/":r)+`/instrument/?_t=${Date.now()}&id=${t.item.id}&modelType=practise&modeType=json&Authorization=${i}&isCbs=true`;return e=t.isMove==1?e+"&isMove=1":e,()=>o("div",null,[o("iframe",{width:"667px",height:"375px",frameborder:"0",src:e},null)])}});export{p as M};