import{d as W,S as M,Q as T,U as z,j as e,z as l,M as U,T as m,p as F,O as x,P as N,am as V,a2 as q,D as X,f as S,n as y,bC as K,bE as b,bF as G,u as O,C as J,B as E,aR as P,Z as Y}from"./index.394decd7.js";import{s as a,b as H,M as Q,i as Z,a as j,S as _,c as $,d as ee}from"./index.55ca297e.js";import{C as D}from"./index.45d094fa.js";import{C as se}from"./index.e6e212d8.js";import{C as k}from"./index.9e0d46e4.js";import{I as B}from"./index.ae2dd816.js";import{L as ae}from"./index.dc786267.js";import{a as ie,v as te,b as oe,c as ne}from"./api.baa8e0a3.js";import{G as le,a as I}from"./index.9849c993.js";import{l as ue}from"./logo.bcac726b.js";import{b as re,i as ce}from"./browser.8379baf6.js";import{h as de}from"./html2canvas.esm.3d083717.js";import"./use-tab-status.723110ee.js";var me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABL5JREFUWEe9WF1oHFUU/s7EdX2QRMGf+mJtCIoak/TeIfFFTYvgbxWpWl+smjer9kWjhVJbSxEiLQiK+iCK4oM/VfEHBYs/7UuMmXM3xmCERqumSIuCphE1rjtH7npnnZ3dzUx2V+/b3HvOd7577jfnnhlCYmitcwB2iEi/53mUXG/HcxiGRQAvGWPeTOLVBFRK3UNET7YjcArGX2EYri4UCj/E7eoR2k9EG/8HQhCR24wxryxLSGv9HYBzrZGIHPY876t2kgvDcB0Rneow9zHzAw0J9fb2np3P549FBiIyYox5vp2ElFLvEdE1bsOHjDFXNCSklLqeiN6JDIjokiAIZtpJSGv9CICHHeavzHwagFIlZjxYHeMuAGEGQlaLksEOaZuuEnUinQeNMcNpQZRStxLRswDmPc+7enJycn45n76+vrNyudzxRrKoIqS1/hHAGc54LzOPphHSWn8OoM/Z7WDmPRl8vgWw2tk9zcxbao5scHBwTalU+ibGfJMx5tUM4F8D6HZ2Y8y8LYPPawBudnbMzH4NIaXUJiJ6OVooFovd09PTRzKAr5iQ7/sPisiYw/5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bKv2rc7s9+338ybN/sICcbg4GAvEV0konVLuauqD+CxiNxJAAGK61QsFrO1Wu0tgG1RfFV1qFwuT0SxDdvEJsbMFwBciQH0RkT6AfyK4RNPMWbeCOADgPUWZJqIpB5QVTcD2B3cdxxnuFQqjTWT2DUAZwMAIjroed54PSAzrwHwHkCXffaxWq3urFQqP6OSo76+vg3t7e2XiKgncPJ9P0tEm4B5ipqw7wKQMXYmuYloepnk7wwvDlWtENHXsL2qfnMcpxrC/U5EV0XkJTHzdQBnon5JC+w+iUjXv0usPpSq2gsgZ8NVI6J3gUqqakKcTaCaWZFfQu/ZQkRmgZhhwvfcXPi+/zeUiyTuKIDz9v6UiOxIQGRZF2ZeEWNBHYvi1CjRKBgpsbDKTVVsYGCgp62trV9Vn4nIjzrgPWYuIi8WC3vTiBlSmUzmNYC1AFwR2RsQYOZTAG7a+WkRuZVkgSXKMWY+CuC+BdTZ2dnVk5OTNTNn5ocADtlnj0TkcMuI5fP5Y6p6LwDs6OjIuq47tw/m8/lxVT1grolowvO8oZRYqljcGpMqlipmFWha5U9zLEGO7VPVJ9ZvRkQ6TQNqK/9dVT1uK/+Y53nDLav8ABxmvgGgqKqj5XL5QQBeKBS2q+ptS+xkqVSaaiWxhprYpiV/Q6z+dCBpzx9LxP9asc9EdC6WHBGMVfUIgP3WdNF/15Va6wgwDZtEJjYC4HLDcNFf8Moe7M3zWKBYoVDY6vv+UwDmDKPZY0ZVT4QLdAC45FFnLpdb1d3dHfsoNM6XuK5r/qzmtrL68RvD129FDEU2JwAAAABJRU5ErkJggg==";const pe="_shareContent_1v290_1",ve="_shareBg_1v290_7",fe="_share_content__title_1v290_15",Ce="_large_1v290_24",Ee="_small_1v290_29",Be="_sectionFile_1v290_34",Ie="_muploader_1v290_43",Fe="_uploadImg_1v290_51",we="_audioPan_1v290_56",Le="_musicDetail_1v290_64",he="_musicName_1v290_69",Se="_username_1v290_76",ye="_downloadSection_1v290_82",be="_qrcode_1v290_89",Ge="_qrcodeCanvas_1v290_99",Pe="_qrcodeLogo_1v290_103",De="_qrtips_1v290_114",ke="_tip_1v290_119",We="_iconLogo_1v290_124",Te="_downTip_1v290_129",ze="_shareBottom_1v290_135",Re="_iconClose_1v290_141",Me="_share__header_1v290_148",Ue="_gridSection_1v290_154",xe="_btn_1v290_160";var t={shareContent:pe,shareBg:ve,share_content__title:fe,large:Ce,small:Ee,sectionFile:Be,muploader:Ie,uploadImg:Fe,audioPan:we,musicDetail:Le,musicName:he,username:Se,downloadSection:ye,qrcode:be,qrcodeCanvas:Ge,qrcodeLogo:Pe,qrtips:De,tip:ke,iconLogo:We,downTip:Te,shareBottom:ze,iconClose:Re,share__header:Me,gridSection:Ue,btn:xe},Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAABxVBMVEUAAAD/i1L/gk//j1j/s1n/j1j/pmf/gU7/qWn/m2H/g0//k1r/fkz/g0//pGX/g0//qGn/nGH/ilT/pGb/ml//fUv/qWn/i1b/pGX/gk//g0//lFv/gk//k1v/qmn/fUv/pGb/g0//pGb/pWX/hVH/jFb/fUv/lFz/r2v/hlD/o2b/qmr/jlf/fEr/qmr/p2j/oGP/hlL/pWb/pGb/qmr/ml//jFX/fUv/fkz/fUv/hFD/gU7/qmv/j1n/mV//fEv/pmj/n2P/q2r/fEr/pmf/omX/q2r/e0v/q2v/mF7/j1j/fEv/nWL/iFL/fk3/qmr/m1//qWn/m2H/pWb/////oWP/n2L/ilT/h1L/hlH/m1//f0z/k1r/nWH/hFD/mV7/jlf/jVb/mV//llz/kFj/o2X/gU7/kVn/i1X/gk//pmf/lFv/pGb/l13/fUv/p2j/qGj/ll3/jVf/qWn/kFn/+Pb/w6f/yav/xKj/rn//y6//x67/p3f/pXX/qmr/6uD/mWT/8+z/xqn/49T/xan/rH7/59v/yK7/qn3/7uf/zbL/s4v/r4T/qXf/+vf/3cv/wKH/upL/uI//nW3/9vD/y7T/lF3CP/BqAAAAVHRSTlMABSsiBX1QUCs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jQAYk4pwYic85o+3MZ7QiLxTLMy58HAOzL4dAMaXEjdJrHII8OXn4f/vov4vCNFhdhMTa/hCx1P3h5/PWfbMAng4hw1c+IYVVPEcdsN/DyyQCx2cDhZwsRG7AYmz+w5k85vPRmgDlMCpWV0vGblREjs0FhtvWQMJU/DDBag8lkQkUBEwLv1ZLYJIph7YdKuXkYz5qUeYMWOAk0cRlgxMj8zkSb7fxkIHARX+AC1/AurgOCuICIYZ1kJt4CZT5eEGs2iq3c3AKaaisRs2brMEnI8hs1QCA2V4WeT1icS4nxx16u09z7Ti0VS/6BXIMu0wVkM5V2m1IMbU7zQJHcRvJrZgCJ+HRVfg4Mp2MxbX6b++edNCAoCfGAIjDdHWNyr2Pc3XAgoPFbLGveQYg7Xn+OdzQ2tNistZ/6/3wzMH28iiz2AzIO3JkiDgA5msDrU0KgBijQrkDlK1fEgSsI105CHvRXaAFDKBryleuhgEOM7+IYwCXEV28IUCH4sU8EAzU0wTd9IFgD1Am5dQvPuFZyIqj3Q4BbYtDoZLgZAyYgdKlz8CrCtZMwuWL6S0PBhGjDr3pNuBZ4gOagt96DGuAZfpGlao7SUvyDVkKkH/CchLWlHrI2AXiFJjagsLS0UIKcZbWAWA3wFk3CzsIJ2JlAtF6hPRLwVJWAI1rgA36ng+ey0rnBp/2A7/idPRkSGR4wt7BwbkB4ZMjJs55I/wNGissTxaMp6gAAAABJRU5ErkJggg==",Xe="./assets/share-bg.069e6581.png",Ke="./assets/audio-pan.f4738bc4.png",Oe="./assets/music-bg.c6793a06.png",Je=W({name:"sahre-model",props:{musicDetail:{type:Object,default:()=>{}}},emits:["close"],setup(c,{emit:A}){const s=M(),i=T({saveLoading:!1,image:null}),v=async()=>{var r;m.loading({message:"\u56FE\u7247\u751F\u6210\u4E2D...",forbidClick:!0}),setTimeout(()=>{i.saveLoading=!1},100);const u=await F({api:"savePicture",content:{base64:i.image}});((r=u==null?void 0:u.content)==null?void 0:r.status)==="success"?m.success("\u5DF2\u4FDD\u5B58\u5230\u76F8\u518C"):m.fail("\u4FDD\u5B58\u5931\u8D25")},f=async u=>{var p;m.loading({message:"\u56FE\u7247\u751F\u6210\u4E2D...",forbidClick:!0}),setTimeout(()=>{i.saveLoading=!1},100);const r=await F({api:"shareTripartite",content:{title:"",desc:"",image:i.image,video:"",type:"image",shareType:u}});(p=r==null?void 0:r.content)!=null&&p.status?m.success("\u5206\u4EAB\u6210\u529F"):m.fail("\u5206\u4EAB\u5931\u8D25")},g=u=>{if(!i.saveLoading)if(i.saveLoading=!0,i.image)u?f(u):v();else{const r=document.getElementById("shareContent");de(r,{allowTaint:!0,useCORS:!0,backgroundColor:null}).then(async p=>{const C=p.toDataURL("image/png");i.image=C,u?f(u):v()}).catch(()=>{m.clear(),i.saveLoading=!1})}};return z(()=>{const u=s.value;re.toCanvas(u,location.origin+location.pathname+"#/shareCreation?id="+c.musicDetail.id,{margin:1},r=>{r&&console.log(r),console.log("success")})}),()=>e("div",{class:t.shareModel},[e("div",{class:t.shareContent,id:"shareContent"},[e("img",{src:Xe,class:t.shareBg},null),e("div",{class:t.share_content__title},[e("p",{class:t.large},[l("\u6211\u5728\u9177\u4E50\u79C0\u53D1\u5E03\u4E86\u6F14\u594F\u4F5C\u54C1")]),e("p",{class:t.small},[l("\u8D76\u5FEB\u626B\u7801\u770B\u770B\u5427\uFF01")])]),e("div",{class:[t.share_music__container,t.sectionFile]},[e("div",{class:t.uploadImg},[e("img",{src:Ke,class:t.audioPan,crossorigin:"anonymous"},null),e("img",{src:c.musicDetail.img?c.musicDetail.img+"?t"+new Date().getTime():Oe,class:t.muploader,crossorigin:"anonymous"},null)]),e("div",{class:t.musicDetail},[e("p",{class:[t.musicName,"van-ellipsis"]},[c.musicDetail.musicSheetName]),e("p",{class:t.username},[l("\u6F14\u594F\u8005\uFF1A"),c.musicDetail.username])])]),e("div",{class:t.downloadSection},[e("div",{class:t.qrcode},[e("canvas",{ref:s,class:t.qrcodeCanvas},null),e("img",{src:ce,class:t.qrcodeLogo},null)]),e("div",{class:t.qrtips},[e("p",{class:t.tip},[l("\u6E29\u99A8\u63D0\u793A\uFF1A\u4FDD\u5B58\u56FE\u7247\u5230\u76F8\u518C\u6216\u957F\u6309\u8BC6\u522B\u4E8C\u7EF4\u7801\u8FDB\u5165\u67E5\u770B\u5594\uFF5E")]),e("img",{src:ue,class:t.iconLogo},null)])])]),e("div",{class:t.shareBottom},[e(U,{name:"cross",class:t.iconClose,onClick:()=>A("close")},null),e("div",{class:t.share__header},[l("\u6D77\u62A5\u5DF2\u751F\u6210\uFF01\u5FEB\u6765\u5206\u4EAB\u5427\uFF01")]),e(le,{columnNum:5,border:!1,class:t.gridSection},{default:()=>[e(I,{icon:Ne,text:"\u4FDD\u5B58\u672C\u5730",onClick:()=>g("")},null),e(I,{icon:Ve,text:"\u5FAE\u4FE1\u597D\u53CB",onClick:()=>g("wechat")},null),e(I,{icon:qe,text:"\u670B\u53CB\u5708",onClick:()=>g("wechat_circle")},null)]}),e("div",{class:[t.btn,"van-hairline--top"],onClick:()=>A("close")},[l("\u53D6\u6D88")])])])}});function Ye(c){return typeof c=="function"||Object.prototype.toString.call(c)==="[object Object]"&&!Y(c)}var ls=W({name:"creation-detail",setup(){const c=x(),A=N(),s=T({id:c.query.id,deleteStatus:!1,shareStatus:!1,playType:"",musicDetail:{},timer:null,audioWidth:0,paused:!0,currentTime:0,duration:.1,loop:!1,dragStatus:!1,isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20}}),i=new Audio;i.controls=!0,i.style.width="100%",i.className=a.audio;const v=o=>{s.currentTime=o,clearTimeout(s.timer),s.timer=setTimeout(()=>{i.currentTime=o,s.timer=null},60)},f=o=>{o.stopPropagation(),i.paused?i.play():i.pause(),s.paused=i.paused},g=async()=>{try{if(s.isClick)return;s.isClick=!0;const o=await oe({userMusicId:s.id,...s.params});s.listState.loading=!1;const d=o.data||{};if(s.list.length>0&&d.current===1)return;s.list=s.list.concat(d.rows||[]),s.listState.finished=d.current>=d.pages,s.params.page=d.current+1,s.listState.dataShow=s.list.length>0,s.isClick=!1}catch{s.listState.dataShow=!1,s.listState.finished=!0,s.isClick=!1}},u=()=>{i.src=s.musicDetail.videoUrl,i.load(),i.oncanplaythrough=()=>{s.paused=i.paused,s.duration=i.duration},i.addEventListener("timeupdate",()=>{s.duration=i.duration,s.currentTime=i.currentTime;const o=s.currentTime/s.duration*100;s.audioWidth=o>100?100:o}),i.addEventListener("ended",()=>{s.paused=i.paused})},r=async()=>{try{await ne({id:s.id}),setTimeout(()=>{s.deleteStatus=!1,m("\u5220\u9664\u6210\u529F")},100),setTimeout(()=>{S().isApp?y({api:"goBack"}):A.back()},1200)}catch{}},p=async()=>{await F({api:"saveFile",content:{url:s.musicDetail.videoUrl}})},C=V();return q(C,o=>{o==="hidden"&&i&&(i.pause(),s.paused=i.paused)}),z(async()=>{try{const o=await ie(s.id);if(o.code===999){X.alert({message:o.msg,theme:"round-button",confirmButtonColor:"#2DC7AA"}).then(()=>{S().isApp?y({api:"goBack"}):A.back()});return}s.musicDetail=o.data||{},g(),o.data.videoUrl.lastIndexOf("mp4")!==-1?s.playType="Video":(s.playType="Audio",H.exports.nextTick(()=>{u()}))}catch{}}),K(()=>{i&&(i.pause(),s.paused=i.paused)}),()=>{var d,w,L,h;let o;return e("div",{class:a.creation},[e(D,{position:"top"},{default:()=>[e(se,{border:!1,isBack:c.query.platformType!="ANALYSIS"},null)]}),e("div",{class:a.playSection},[s.playType==="Video"&&e(Q,{src:(d=s.musicDetail)==null?void 0:d.videoUrl,poster:((w=s.musicDetail)==null?void 0:w.videoImg)||te},null),s.playType==="Audio"&&e("div",{class:a.audioSection},[e("div",{class:a.audioContainer},[e("div",{class:a.waveActive,style:{width:s.audioWidth+"%"}},null),e("div",{class:a.waveDefault},null)]),e("div",{class:a.audioBox},[e("div",{class:[a.audioPan,s.paused&&a.imgRotate]},[e(B,{class:a.audioImg,src:(L=s.musicDetail)==null?void 0:L.img},null)]),e("i",{class:a.audioPoint},null),e("i",{class:[a.audioZhen,s.paused&&a.active]},null)]),e("div",{class:[a.controls],onClick:n=>{n.stopPropagation()},onTouchmove:n=>{}},[e("div",{class:a.actions},[e("div",{class:a.actionBtn,onClick:f},[e("img",{src:s.paused?Z:j},null)])]),e("div",{class:[a.slider]},[e(_,{step:.01,class:a.timeProgress,modelValue:s.currentTime,"onUpdate:modelValue":[n=>s.currentTime=n,n=>{v(n)}],max:s.duration,"onDrag-start":()=>{s.dragStatus=!0,console.log("onDragStart")},"onDrag-end":()=>{s.dragStatus=!1,console.log("onDragEnd")}},null)]),e("div",{class:a.time},[e("div",null,[b(s.currentTime)]),e("span",null,[l("/")]),e("div",null,[b(s.duration)])])])])]),e(k,{class:a.userSection,center:!0,border:!1},{icon:()=>e(B,{class:a.userLogo,src:s.musicDetail.avatar},null),title:()=>{var n;return e("div",{class:a.userInfo},[e("p",{class:a.name},[e("span",null,[(n=s.musicDetail)==null?void 0:n.username]),s.musicDetail.vipFlag&&e("img",{src:$,class:a.iconMember},null)]),e("p",{class:a.sub},[s.musicDetail.subjectName," ",G(s.musicDetail.currentGradeNum-1)])])},value:()=>e("div",{class:[a.zan,a.zanActive]},[e("img",{src:ee,class:a.iconZan},null),s.musicDetail.likeNum])}),e("div",{class:a.musicSection},[e("div",{class:a.musicName},[e("span",{class:a.musicTag},[l("\u66F2\u76EE\u540D\u79F0")]),(h=s.musicDetail)==null?void 0:h.musicSheetName]),s.musicDetail.desc&&e("div",{class:a.musicDesc},[s.musicDetail.desc])]),e("div",{class:a.likeSection},[e("div",{class:a.likeTitle},[l("\u70B9\u8D5E\u8BB0\u5F55")]),s.listState.dataShow?e(ae,{finished:s.listState.finished,finishedText:" ",class:[a.container,a.containerInformation],onLoad:g,immediateCheck:!1},Ye(o=s.list.map((n,R)=>e(k,{class:a.likeItem,border:s.list.length-1!=R},{icon:()=>e(B,{src:n.userAvatar,class:a.userLogo},null),title:()=>e("div",{class:a.userInfo},[e("p",{class:a.name},[n.userName]),e("p",{class:a.sub},[n.subjectName," ",G(n.currentGradeNum-1)])]),value:()=>e("div",{class:a.time},[O(n.createTime).format("YYYY-MM-DD HH:mm")])})))?o:{default:()=>[o]}):e(J,{btnStatus:!1,tips:"\u6682\u65E0\u6570\u636E"},null)]),e(D,{position:"bottom"},{default:()=>[e("div",{class:a.bottomSection},[e("div",{class:a.bottomShare},[e("p",{onClick:p},[e("img",{src:me},null),e("span",null,[l("\u4E0B\u8F7D")])]),e("p",{onClick:()=>s.shareStatus=!0},[e("img",{src:Ae},null),e("span",null,[l("\u5206\u4EAB")])]),e("p",{onClick:()=>s.deleteStatus=!0},[e("img",{src:ge},null),e("span",null,[l("\u5220\u9664")])])]),e(E,{round:!0,class:a.btnEdit,type:"primary",onClick:()=>{A.push({path:"/creation-edit",query:{id:s.id}})}},{default:()=>[l("\u7F16\u8F91")]})])]}),e(P,{show:s.deleteStatus,"onUpdate:show":n=>s.deleteStatus=n,round:!0,class:a.popupContainer},{default:()=>[e("p",{class:a.popupContent},[l("\u786E\u5B9A\u5220\u9664\u5417\uFF1F")]),e("div",{class:a.popupBtnGroup},[e(E,{round:!0,onClick:()=>s.deleteStatus=!1},{default:()=>[l("\u53D6\u6D88")]}),e(E,{round:!0,type:"primary",onClick:r},{default:()=>[l("\u786E\u5B9A")]})])]}),e(P,{position:"bottom",show:s.shareStatus,"onUpdate:show":n=>s.shareStatus=n,style:{background:"transparent"}},{default:()=>[e(Je,{musicDetail:s.musicDetail,onClose:()=>s.shareStatus=!1},null)]})])}}});export{ls as default};