import{d as ne,U as E,S as H,V as oe,j as e,A,N as we,T as w,p as j,f as Le,P as Ie,Q as be,an as Fe,a3 as Te,D as Ee,n as P,bi as De,bj as ae,bI as se,w as Ve,C as xe,aS as te,B as ie,$ as Pe,g as ze}from"./ResizeObserver.es.b7226882.js";import{a as Ue,m as Me,b as Ge,v as We,s,c as Re,d as Oe,t as Xe,e as le,f as He,g as Ne,i as Ye,h as qe,T as Ke,j as Je,L as je,k as Qe}from"./loading.1f55f13b.js";import{C as J}from"./index.0b42adfa.js";import{C as Ze}from"./index.969bba7f.js";import{C as _e}from"./index.40f703b6.js";import{I as $e}from"./index.20c0f4c5.js";import{L as ea}from"./index.9fec2202.js";import{S as aa}from"./index.f6c44874.js";import{b as sa,N as ta}from"./browser.4baab204.js";import{a as ia,b as la,c as na}from"./api.e99119de.js";import{G as oa,a as X}from"./index.023f50db.js";import{l as ra}from"./logo.bcac726b.js";import{b as ca,i as ua}from"./browser.b3690ea1.js";import{h as da}from"./html2canvas.esm.3d083717.js";/* empty css */import{P as Aa}from"./plyr.min.0a479001.js";import"./index.1eaf642c.js";import"./use-tab-status.db1f6d2e.js";var ma="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAe1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////NgkbwAAAAKHRSTlMAsojdB10t8oJn1dHBbGFVQh/64cu0dRcE6LerlnyujEw2KOukoQ70XD91zgAAAT9JREFUOMudktlygzAMAO2EcgVoIOQg9939/y9sbSIMGSftdF+s0ayFLKEMq1j72X+qjpxXVEslbHiJKzWDsfYQwUGcJVAoD2vIJD4CoU+KIVr1Yp8jt11V4TNKS18fF9OfMIFd/0XbNioHLx3DqD+b+vEBoPRLC6gCGx3govzSFDjZKIO19HxupeLR/R3I7XYjiKXn5mykBOk+hZs5Q+BoM1ugaSAFmNrUDVJzFkC762BOR+L+j3t7f6aUWM6xnB41a9ioJyvpEhUs5HDWwJESUlCsrH9HmsmBtTZcQzuRpL1S7G1yYp+1p2OsHCGOQmU4wv7/5siVhkYbKpmyTH9msnPgw0haVlgroZSlBUNpAWihBkqPdGbIRA0laWPAziuFV91jFDxLXv4hfY3fINJbrBTzK+HP1kfviafqT3wDyPlKoAL8QokAAAAASUVORK5CYII=",pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAOVBMVEUAAAD///////////////////////////////////////////////////////////////////////8KOjVvAAAAEnRSTlMAshPSr7xoko0tPATK9apHJgwE7Sg/AAAAqUlEQVQ4y93USw6EIBAEUFBAwH/f/7DDQLA2XcNmVtaGUL5goqHNP5Oisy3LVIvQ9+iCIMu3yH2HLskA2VLFsnr9df5BrhijZpofZOtCDRA1sweiZrJA1BiOYDiC4QiGI5hfCKZ9aqegdYOpfz8o6GqmJ2ejn7RVgwBBXathiGeM7nuMzn0/h+gQOQaoPX09wuXU4kUcrrmeYiRiYPAkjB6agCFG4mI95wP9HBUz+mq/7gAAAABJRU5ErkJggg==",fa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAMAAACf4xmcAAAAb1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8v0wLRAAAAJHRSTlMA3YiyCF3k0fKSTTn8sKcf9OnYvJ56amJWIhHOyMW/u5WRKRTOEVuXAAAAwElEQVQ4y+2UyQ6CMBQAi2BBEHHfd+f/v9FnSYQaH3IwkYNzoIc3dJKmqfG4jsKSfGV0ooAnqa4tqIhV65aAdc09oGYvz1ZkwUb12XYgf5/iB0MY2pIECGLhINNRZsyAz9i2mosGUpPA1NZ5NCcwdlFHDwLj4w86oRWpO9Qsa9SKMUdZlrBs0vqAbJdD3kILIfxrP9NSSGSZw1zXhPNuLd/NbLbp3u39kjbpvyN80TQ8bYFOXGnFFI1k7b26GqbkDsbrOOROWdxyAAAAAElFTkSuQmCC";const ga="_shareContent_lhbhk_1",va="_shareBg_lhbhk_7",ha="_share_content__title_lhbhk_15",ya="_large_lhbhk_24",Ba="_small_lhbhk_29",Sa="_sectionFile_lhbhk_34",ka="_muploader_lhbhk_43",Ca="_uploadImg_lhbhk_51",wa="_audioPan_lhbhk_56",La="_imgLabel_lhbhk_64",Ia="_musicDetail_lhbhk_72",ba="_musicName_lhbhk_77",Fa="_username_lhbhk_84",Ta="_downloadSection_lhbhk_90",Ea="_qrcode_lhbhk_97",Da="_qrcodeCanvas_lhbhk_107",Va="_qrcodeLogo_lhbhk_111",xa="_qrtips_lhbhk_122",Pa="_tip_lhbhk_132",za="_iconLogo_lhbhk_137",Ua="_downTip_lhbhk_142",Ma="_shareBottom_lhbhk_148",Ga="_iconClose_lhbhk_154",Wa="_share__header_lhbhk_164",Ra="_gridSection_lhbhk_170",Oa="_btn_lhbhk_176";var r={shareContent:ga,shareBg:va,share_content__title:ha,large:ya,small:Ba,sectionFile:Sa,muploader:ka,uploadImg:Ca,audioPan:wa,imgLabel:La,musicDetail:Ia,musicName:ba,username:Fa,downloadSection:Ta,qrcode:Ea,qrcodeCanvas:Da,qrcodeLogo:Va,qrtips:xa,tip:Pa,iconLogo:za,downTip:Ua,shareBottom:Ma,iconClose:Ga,share__header:Wa,gridSection:Ra,btn:Oa},Xa="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/p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xiOk5dAPDN7frRP7elpaW9vUUlF7zCIn6ivZgw1fkEaZAmp8hK/0EtmtaAWpBRco32TmvRbwWIjJ/ayiChvT8NyABR0aHtllXe22FEBag1tbW1HR21KrcnQFCYO02dK+8o8jUQRNSyFE8oBPci406tMREQxf4ZQfYdM/8zjewwc546j4Wk5KWpSiDhYs3sjeUwIsLM4gjI7Hljmj2Qs603q3e9DQqp4n5VFfkhyCR76s1TocQlVJkigYOTgkgzeiMLoFL2wwRl0JD92WPZ0JTiaW8KGA699chBsHCHPOrlwJYy+t4UuJT9dZSy4UZ+5GhqI/PhVkHCR8MSCqADl7rBWO2GVA762PyM9PrZoN+FmF6dYi7AEO5c/GBv7z/e4CB59vYO8uhaepM8/hwHwy75icVSlfLJF/tdwuhcPR4/xCNFQ5S8Ov74VXjAdnp/9JBK9P7TNnjOln/yiN+2mOhNm6JjtvkdOZmvp/Q/X6O7ru7CNzIAAAAASUVORK5CYII=",qa="./assets/share-bg.7dace52e.png",Ka=ne({name:"sahre-model",props:{musicDetail:{type:Object,default:()=>{}},playType:{type:String,default:""}},emits:["close"],setup(m,{emit:z}){const U=E(),p=H({saveLoading:!1,image:null,url:""}),b=async()=>{var o;w.loading({message:"\u56FE\u7247\u751F\u6210\u4E2D...",forbidClick:!0}),setTimeout(()=>{p.saveLoading=!1},100);const a=await j({api:"savePicture",content:{base64:p.image}});((o=a==null?void 0:a.content)==null?void 0:o.status)==="success"?w.success("\u5DF2\u4FDD\u5B58\u5230\u76F8\u518C"):w.fail("\u4FDD\u5B58\u5931\u8D25")},f=async a=>{var n;setTimeout(()=>{p.saveLoading=!1},100);const o=await j({api:"shareTripartite",content:{title:"\u6211\u5728\u9177\u4E50\u79C0\u53D1\u5E03\u4E86\u6F14\u594F\u4F5C\u54C1",desc:m.musicDetail.desc,video:"",type:"link",url:p.url,thumb:encodeURI(decodeURI(m.musicDetail.img)),shareType:a}});(n=o==null?void 0:o.content)!=null&&n.status?w.success("\u5206\u4EAB\u6210\u529F"):w.fail("\u5206\u4EAB\u5931\u8D25")},D=a=>{if(!p.saveLoading)if(p.saveLoading=!0,p.image)a?f(a):b();else{const o=document.getElementById("shareContent");da(o,{allowTaint:!0,useCORS:!0,backgroundColor:null}).then(async n=>{const g=n.toDataURL("image/png");p.image=g,a?f(a):b()}).catch(()=>{w.clear(),p.saveLoading=!1})}},N=a=>{const o=a.toString();let n=document.querySelector("#copy-input");n||(n=document.createElement("input"),n.id="copy-input",n.readOnly=!0,n.style.position="fixed",n.style.left="-1000px",n.style.zIndex="-1000",document.body.appendChild(n)),n.value=o,g(n,0,o.length),console.log(document.execCommand("copy"),"execCommand"),document.execCommand("copy")&&(document.execCommand("copy"),w("\u590D\u5236\u6210\u529F")),n.blur();function g(v,V,M){if(v.createTextRange){const L=v.createTextRange();L.collapse(!0),L.moveStart("character",V),L.moveEnd("character",M-V),L.select()}else v.setSelectionRange(V,M),v.focus()}};return oe(()=>{const a=U.value;p.url=location.origin+location.pathname+"#/shareCreation?id="+m.musicDetail.id,ca.toCanvas(a,p.url,{margin:1},o=>{o&&console.log(o),console.log("success")})}),()=>e("div",{class:r.shareModel},[e("div",{class:r.shareContent,id:"shareContent"},[e("img",{src:qa,class:r.shareBg},null),e("div",{class:r.share_content__title},[e("p",{class:r.large},[A("\u6211\u5728\u9177\u4E50\u79C0\u53D1\u5E03\u4E86\u6F14\u594F\u4F5C\u54C1")]),e("p",{class:r.small},[A("\u8D76\u5FEB\u626B\u7801\u770B\u770B\u5427\uFF01")])]),e("div",{class:[r.share_music__container,r.sectionFile]},[e("div",{class:r.uploadImg},[e("img",{src:Ue,class:r.audioPan,crossorigin:"anonymous"},null),e("img",{src:m.musicDetail.img?m.musicDetail.img+"?t"+new Date().getTime():Me,class:r.muploader,crossorigin:"anonymous"},null),e("img",{class:r.imgLabel,src:m.playType==="Audio"?Ge:We},null)]),e("div",{class:r.musicDetail},[e("p",{class:[r.musicName,"van-ellipsis"]},[m.musicDetail.musicSheetName]),e("p",{class:r.username},[A("\u6F14\u594F\u8005\uFF1A"),m.musicDetail.username])])]),e("div",{class:r.downloadSection},[e("div",{class:r.qrcode},[e("canvas",{ref:U,class:r.qrcodeCanvas},null),e("img",{src:ua,class:r.qrcodeLogo},null)]),e("div",{class:r.qrtips},[e("div",null,[A("\u6E29\u99A8\u63D0\u793A\uFF1A")]),e("p",{class:r.tip},[A("\u4FDD\u5B58\u56FE\u7247\u5230\u76F8\u518C\u540E\uFF0C\u8BF7\u5728\u5FAE\u4FE1\u91CC\u626B\u7801\u67E5\u770B\uFF5E")]),e("img",{src:ra,class:r.iconLogo},null)])])]),e("div",{class:r.shareBottom},[e(we,{name:"cross",class:r.iconClose,onClick:()=>z("close")},null),e("div",{class:r.share__header},[A("\u6D77\u62A5\u5DF2\u751F\u6210\uFF01\u5FEB\u6765\u5206\u4EAB\u5427\uFF01")]),e(oa,{columnNum:5,border:!1,class:r.gridSection},{default:()=>[e(X,{icon:Xa,text:"\u4FDD\u5B58\u672C\u5730",onClick:()=>D("")},null),e(X,{icon:Ha,text:"\u5FAE\u4FE1\u597D\u53CB",onClick:()=>D("wechat")},null),e(X,{icon:Na,text:"\u670B\u53CB\u5708",onClick:()=>D("wechat_circle")},null),e(X,{icon:Ya,text:"\u590D\u5236\u94FE\u63A5",onClick:()=>N(p.url)},null)]}),e("div",{class:[r.btn,"van-hairline--top"],onClick:()=>z("close")},[A("\u53D6\u6D88")])])])}}),Ja="./assets/music_bg.7bc33289.png",ja="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAA8CAYAAADha7EVAAAAAXNSR0IArs4c6QAADapJREFUeF7tXQl0lNUV/t7MZCbJZCErSUjYScjKkgSI7IogFFDwEERRqz3W3QOKXaxYz+GoVWmx9qCtC5XiUkIBKyJoARUkCQgESCAkGCBA2JKQPZOZzMxr75tMmGSGZCZLmfn53zmeI/nfct+939z37vLeY+ilknpgi6/eqBsPsDQGHgsgDkAEA/w5Z/4A1/TS0HK3XeIA0zPG6zhQB+ASgCIOVgz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MbpDpdz2RnPAAIZcZmaboVV+Ss8r9BRBPQpAW6LotJ3e2DQBQCoDp5PfceCIZAx+nDN/Kd/I1VPC+f/2w/SM8TrOUQ+GiwCKOFgxwA9oVD57D6bNaXvPcA8R91863FyJWruVwQAAAABJRU5ErkJggg==";function Qa(m){return typeof m=="function"||Object.prototype.toString.call(m)==="[object Object]"&&!Pe(m)}var vs=ne({name:"creation-detail",setup(){const{isApp:m,isTablet:z,isTeacher:U}=Le(),p=Ie(),b=be(),f=E(!1),D=E(),N=E(),a=H({id:p.query.id,deleteStatus:!1,shareStatus:!1,playType:"",musicDetail:{},isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},_plrl:null,heightV:0,heightB:0}),o=H({duration:0,currentTime:0,mediaTimeShow:!1,playIngShow:!0}),n=H({staffSrc:"",isShow:!1,height:"initial",speedRate:1,musicRenderType:"staff",partIndex:0}),g=E(!1),v=E(),{playStaff:V,pauseStaff:M,updateProgressStaff:L}=ye(),Q=async()=>{try{if(a.isClick)return;a.isClick=!0;const i=await la({userMusicId:a.id,...a.params});a.listState.loading=!1;const t=i.data||{};if(a.list.length>0&&t.current===1)return;a.list=a.list.concat(t.rows||[]),a.listState.finished=t.current>=t.pages,a.params.page=t.current+1,a.listState.dataShow=a.list.length>0,a.isClick=!1}catch{a.listState.dataShow=!1,a.listState.finished=!0,a.isClick=!1}},re=async()=>{try{await na({id:a.id}),setTimeout(()=>{a.deleteStatus=!1,w("\u5220\u9664\u6210\u529F")},100),setTimeout(()=>{m?P({api:"goBack"}):b.back()},1200)}catch{}},ce=async()=>{await j({api:"saveFile",content:{url:a.musicDetail.videoUrl}})},Z=()=>{console.log("\u6EDA\u52A8",123);const i=window.scrollY||document.documentElement.scrollTop;i>0&&f.value===!1&&(f.value=!0,G(!1)),i<=0&&(f.value=!1,G(!0))};function G(i){P({api:"setStatusBarTextColor",content:{statusBarTextColor:i}})}const ue=Fe();Te(ue,i=>{var t;i==="hidden"&&((t=a._plrl)==null||t.pause())});function de(){const i=a.playType==="Audio"?"#audioMediaSrc":"#videoMediaSrc";a._plrl=new Aa(i,{controls:["play","progress","current-time","duration"],fullscreen:{enabled:!1,fallback:!1}});const t=a._plrl;if(a.playType==="Audio"){const c=document.querySelector("#audioMediaSrc"),d=document.querySelector("#audioVisualizer"),{pauseVisualDraw:B,playVisualDraw:F}=me(c,d);t.on("play",()=>{F()}),t.on("pause",()=>{B()})}t.on("timeupdate",()=>{o.currentTime=t.currentTime}),t.on("play",()=>{o.playIngShow=!1,V()}),t.on("pause",()=>{o.playIngShow=!0,M()}),t.on("ended",()=>{t.currentTime=0,t.playing||setTimeout(()=>{L(t.currentTime)},100)});const y=()=>{g.value||(o.duration=t.duration,o.mediaTimeShow=!0)},l=()=>{o.mediaTimeShow=!1,t.playing||L(t.currentTime)},u=document.querySelector("#playMediaSection .plyr__controls .plyr__progress__container");u.addEventListener("mousedown",y),u.addEventListener("touchstart",y),u.addEventListener("mouseup",l),u.addEventListener("touchend",l)}function Ae(i){var t;(t=i==null?void 0:i.target)!=null&&t.matches("button.plyr__control")||(a._plrl.playing?a._plrl.pause():a._plrl.play())}function me(i,t,y=128){const l=t.getContext("2d");let{width:u,height:c}=t.getBoundingClientRect();u=Math.ceil(u),c=Math.ceil(c),t.width=u,t.height=c;const d=(S,x,{lineGap:C,canvWidth:q,canvHeight:Be,canvFillColor:Se,lineColor:_})=>{if(!x)return;const K=q,$=Be;B(x,K,$,Se);const W=S.length;let h=(K/2-C*W)/W;h<1&&(h=1);const ee=K/2,T=$/2;let R=ee;for(let k=0;k{S.clearRect(0,0,x,C),S.fillStyle=q,S.fillRect(0,0,x,C)},F=()=>{const S=setInterval(()=>{if(Y){clearInterval(S);return}d(Qe(48),l,{lineGap:2,canvWidth:u,canvHeight:c,canvFillColor:"transparent",lineColor:"rgba(255, 255, 255, 0.7)"})},300)};let Y=!0;return{playVisualDraw:()=>{Y=!1,F()},pauseVisualDraw:()=>{Y=!0,requestAnimationFrame(()=>{l.clearRect(0,0,u,c)})}}}function pe(i){i.stopPropagation(),ge()}function fe(){P({api:"setRequestedOrientation",content:{orientation:0}}),g.value=!0}function ge(){P({api:"setRequestedOrientation",content:{orientation:1}}),g.value=!1}function ve(i){i.stopPropagation(),g.value||fe()}function he(){const i=ze.platformType==="TEACHER"||U?"teacher":"student",t=`/klx-music-score/#/simple-detail?id=${a.musicDetail.musicSheetId}&musicRenderType=${n.musicRenderType}&part-index=${n.partIndex}&userMusicId=${a.id}&systemType=${i}`;n.staffSrc=t,window.addEventListener("message",y=>{const{api:l,height:u}=y.data;l==="api_musicPage"&&(n.isShow=!0,n.height=u+"px")})}function ye(){let i=!0;const t=()=>{requestAnimationFrame(()=>{var c,d;(d=(c=v.value)==null?void 0:c.contentWindow)==null||d.postMessage({api:"api_playProgress",content:{currentTime:a._plrl.currentTime*n.speedRate}},"*"),i||t()})};return{playStaff:()=>{var c,d;!n.isShow||(i=!1,(d=(c=v.value)==null?void 0:c.contentWindow)==null||d.postMessage({api:"api_play"},"*"),t())},pauseStaff:()=>{var c,d;!n.isShow||(i=!0,(d=(c=v.value)==null?void 0:c.contentWindow)==null||d.postMessage({api:"api_paused"},"*"))},updateProgressStaff:c=>{var d,B;!n.isShow||(B=(d=v.value)==null?void 0:d.contentWindow)==null||B.postMessage({api:"api_updateProgress",content:{currentTime:c*n.speedRate}},"*")}}}return oe(async()=>{document.addEventListener("scroll",Z),G(!0);try{const i=await ia(a.id);if(i.code===999){Ee.alert({message:i.msg,theme:"round-button",confirmButtonColor:"#2DC7AA"}).then(()=>{m?P({api:"goBack"}):b.back()});return}a.musicDetail=i.data||{};try{const t=JSON.parse(i.data.jsonConfig);t.speedRate&&(n.speedRate=t.speedRate),t.musicRenderType&&(n.musicRenderType=t.musicRenderType),t["part-index"]&&(n.partIndex=t["part-index"])}catch{}he(),Q(),i.data.videoUrl.lastIndexOf("mp4")!==-1?a.playType="Video":a.playType="Audio",sa.exports.nextTick(()=>{de()})}catch{}}),De(()=>{var i;document.removeEventListener("scroll",Z),(i=a._plrl)==null||i.destroy()}),()=>{var t,y;let i;return e("div",{style:{"--barheight":a.heightV+"px"},class:[s.creation,z&&s.creationTablet,f.value&&s.isScreenScroll]},[e("div",{class:s.creationBg},null),e(J,{position:"top",onGetHeight:l=>{console.log(l,"height",l),a.heightV=l}},{default:()=>{var l;return[e(Ze,{color:f.value?"#333333":"#ffffff",background:f.value?"rgb(255,255,255":"transparent",title:(l=a.musicDetail)==null?void 0:l.musicSheetName,border:!1,isBack:p.query.platformType!="ANALYSIS",onLeftClick:()=>{G(!1)}},null)]}}),e("div",{class:s.singer},[A("\u6F14\u594F\uFF1A"),(t=a.musicDetail)==null?void 0:t.username]),e(aa,{zIndex:1e3,offsetTop:a.heightV-1+"px"},{default:()=>{var l,u,c,d,B,F;return[e("div",{class:[s.playSection,o.mediaTimeShow&&s.mediaTimeShow,g.value&&s.isLandscapeScreen,a.playType==="Audio"&&s.isLandscapeScreen2],id:"playMediaSection",onClick:Ae},[g.value&&e("div",{class:s.backBox},[e("img",{class:[s.backImg,a.playType==="Video"&&s.back1Img],src:a.playType==="Video"?Re:Oe,onClick:pe},null),e("div",{class:[s.musicDetail,a.playType==="Audio"&&s.adMusicDetail]},[e("div",{class:s.musicSheetName},[e(ta,{text:(l=a.musicDetail)==null?void 0:l.musicSheetName,background:"none"},null)]),e("div",{class:s.username},[A("\u6F14\u594F\uFF1A"),(u=a.musicDetail)==null?void 0:u.username])])]),a.playType==="Audio"&&e("div",{class:s.audioBox},[e("canvas",{class:s.audioVisualizer,id:"audioVisualizer"},null),e("audio",{crossorigin:"anonymous",id:"audioMediaSrc",src:(c=a.musicDetail)==null?void 0:c.videoUrl,controls:"false",preload:"metadata",playsinline:!0,"webkit-playsinline":!0},null),e("img",{src:Xe,class:s.tyBg},null),e("div",{class:s.audioBoxBg},[e("div",{class:[s.audioPan,o.playIngShow&&s.imgRotate]},[e("img",{class:s.audioImg,src:a.musicDetail.img||Ja},null)]),e("i",{class:s.audioPoint},null),e("i",{class:[s.audioZhen,o.playIngShow&&s.active]},null)])]),a.playType==="Video"&&e("video",{id:"videoMediaSrc",class:s.videoBox,src:(d=a.musicDetail)==null?void 0:d.videoUrl,"data-poster":((B=a.musicDetail)==null?void 0:B.videoImg)||le,poster:((F=a.musicDetail)==null?void 0:F.videoImg)||le,preload:"metadata",playsinline:!0,"webkit-playsinline":!0,"x5-playsinline":!0},null),e("div",{class:[s.playLarge,!o.mediaTimeShow&&o.playIngShow&&s.playIngShow]},null),e("div",{class:s.mediaTimeCon},[e("div",{class:s.mediaTime},[e("div",null,[ae(o.currentTime)]),e("div",{class:s.note},[A("/")]),e("div",{class:s.duration},[ae(o.duration)])])]),e("div",{class:s.landscapeScreen,onClick:ve},null),n.staffSrc&&e("div",{class:[s.staffBoxCon,n.isShow&&s.staffBoxShow]},[e("div",{class:[s.staffBox,a.playType==="Video"&&s.staffBoxBg],style:{"--staffBoxHeight":n.height}},[e("div",{class:s.mask},null),e("iframe",{ref:v,class:s.staff,frameborder:"0",src:n.staffSrc},null)])])])]}}),e("div",{class:s.musicSection},[e("div",{class:s.avatarInfoBox},[e("div",{class:s.avatar},[e("div",{class:s.avatarImg},[e("img",{class:[s.userLogo,a.musicDetail.vipType==="VIP"?s.vipLogo:a.musicDetail.vipType==="PERMANENT_SVIP"||a.musicDetail.vipType==="SVIP"?s.svipLogo:""],src:a.musicDetail.avatar},null),(a.musicDetail.vipType==="VIP"||a.musicDetail.vipType==="PERMANENT_SVIP"||a.musicDetail.vipType==="SVIP")&&e("img",{class:s.vipIcon,src:a.musicDetail.vipType==="VIP"?He:Ne},null)]),e("div",{class:s.infoCon},[e("div",{class:s.info},[e("span",{class:s.userName},[(y=a.musicDetail)==null?void 0:y.username]),a.musicDetail.vipFlag&&e("img",{src:Ye,class:s.iconMember},null)]),e("div",{class:s.sub},[a.musicDetail.subjectName," ",se(a.musicDetail.currentGradeNum-1)])])]),e("div",{class:s.linkes},[e("img",{src:qe,class:s.iconZan},null),e("span",null,[a.musicDetail.likeNum])])]),e(Ke,{class:s.textEllipsis,text:a.musicDetail.desc||""},null)]),e("div",{class:s.likeSection},[e("div",{class:s.likeTitle},[A("\u70B9\u8D5E\u8BB0\u5F55")]),a.listState.dataShow?e(ea,{finished:a.listState.finished,finishedText:" ",onLoad:Q,immediateCheck:!1},Qa(i=a.list.map((l,u)=>e(_e,{class:[s.likeItem,u===a.list.length-1&&s.likeItemLast],border:!1},{icon:()=>e($e,{src:l.userAvatar,class:s.userLogo},null),title:()=>e("div",{class:s.userInfo},[e("p",{class:s.name},[l.userName]),e("p",{class:s.sub},[l.subjectName," ",se(l.currentGradeNum-1)])]),value:()=>e("div",{class:s.time},[Ve(l.createTime).format("YYYY-MM-DD HH:mm")])})))?i:{default:()=>[i]}):e(xe,{class:s.mEmpty,tips:"\u6682\u65E0\u5185\u5BB9",btnStatus:!1},null)]),!f.value&&e(J,{ref:N,position:"bottom",offsetBottom:a.heightB-1+"px"},{default:()=>[e("div",{class:s.upward},[e("img",{src:Je},null)])]}),e(J,{ref:D,position:"bottom",onGetHeight:l=>{console.log(l,"height",l),a.heightB=l}},{default:()=>[e("div",{class:s.bottomSection},[e("div",{class:s.bottomShare},[e("p",{onClick:ce},[e("img",{src:ma},null),e("span",null,[A("\u4E0B\u8F7D")])]),e("p",{onClick:()=>a.shareStatus=!0},[e("img",{src:pa},null),e("span",null,[A("\u5206\u4EAB")])]),e("p",{onClick:()=>a.deleteStatus=!0},[e("img",{src:fa},null),e("span",null,[A("\u5220\u9664")])])]),e("img",{src:ja,class:s.btnEdit,onClick:()=>{b.push({path:"/creation-edit",query:{id:a.id}})}},null)])]}),e(te,{show:a.deleteStatus,"onUpdate:show":l=>a.deleteStatus=l,round:!0,class:s.popupContainer},{default:()=>[e("p",{class:s.popupTit},[A("\u6E29\u99A8\u63D0\u793A")]),e("p",{class:s.popupContent},[A("\u786E\u8BA4\u5220\u9664\u4F5C\u54C1\u5417\uFF1F")]),e("div",{class:s.popupBtnGroup},[e(ie,{round:!0,onClick:()=>a.deleteStatus=!1},{default:()=>[A("\u53D6\u6D88")]}),e(ie,{round:!0,type:"primary",onClick:re},{default:()=>[A("\u786E\u8BA4")]})])]}),e(te,{position:"bottom",show:a.shareStatus,"onUpdate:show":l=>a.shareStatus=l,style:{background:"transparent"}},{default:()=>[e(Ka,{playType:a.playType,musicDetail:a.musicDetail,onClose:()=>a.shareStatus=!1},null)]}),!n.isShow&&e(je,null,null)])}}});export{vs as default};