index-ba618019-1724872791500.js 13 KB

1
  1. import{d as y,r as u,e as p,A as C,f as e,U as f,dS as B,w as R,aN as S,j as m}from"./index-d5898469-1724872791500.js";import{N as I}from"./Slider-a3783332-1724872791500.js";const b="_wrap_3lsnj_1",h="_isAnitaion_3lsnj_7",v="_notice_3lsnj_7",g={wrap:b,isAnitaion:h,notice:v},d=a=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{a()})})},w=y({name:"TheNoticeBar",props:{text:{type:String,default:""},isAnimation:{type:Boolean,default:!1},time:{type:Number,default:5}},setup(a){const s=u(),o=u(),t=p({isActive:!1,wrapWidth:0,contentWidth:0,contentStyle:{transitionDuration:"0s",transform:"translateX(0px)"},time:null}),i=()=>{t.isActive||!o.value||!s.value||(t.isActive=!0,t.contentWidth=o.value.getBoundingClientRect().width,t.wrapWidth=s.value.getBoundingClientRect().width,l())},l=()=>{if(t.contentWidth<=t.wrapWidth||!t.isActive){t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)";return}t.contentStyle.transitionDuration=a.time+"s",t.contentStyle.transform="translateX(-100%)",t.time=setTimeout(()=>{t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(".concat(t.wrapWidth,"px)"),d(l)},5*1e3)},r=()=>{clearTimeout(t.time),t.isActive=!1,t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)",t.time=null};return C(()=>a.isAnimation,c=>{d(c?i:r)}),()=>e("div",{ref:s,class:[g.wrap,a.isAnimation?g.isAnitaion:""],onMouseenter:()=>!a.isAnimation&&i(),onMouseleave:()=>!a.isAnimation&&r()},[e("div",{ref:o,style:t.contentStyle,class:g.notice},[a.text])])}}),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABeCAYAAADLyoEsAAAAAXNSR0IArs4c6QAABt1JREFUeF7tnWnMXUMYx39jb6l9J2jtYgmxlBJVIoRoYw1CRAgShNiChNgqoiWiRO1L7DuRaCLxhfgiIRK01iZiiQQhYgv5y9POb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/AMx2zn3TQ51Gig4NKD+67FyGja45XXaPfwXm2kcynXN/N6J8j40OFajCqtCAnWS5GgD7Hr1dDbJcT5YFZRHwhnPujx61arT4/6K1MH2KPy78AAAAAElFTkSuQmCC",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAAPxJREFUOE/NlD1KQ0EUhb9TWAVSCVmAuIlkD4KNTYqAYGNl6uwhre5ALAxkBakFuzSCpRtIII3VDSe8Kfx9b5wpvM3AvHe+uXfunSOaiIgT4EjSS9rLWRURA+ARGDXCZ+BS0joX9ABcfBK9AzNgLim6AJ3RFuj/8PMKmEh6a4MZ1HbiBriWdP8brAso6Q0y0OAvkQOy2CW6VJf8IXJBFvsq5m6GJDflEH8BJa3HY5zGpARkoDO6kXRXCkrZndUCLf4dqLg0X/ZU0m1JacXtrzKQVZ5I8aPtbCM7oFfD2BbAeQ2rPQaWwLCBPQFX2eafMomI04OvSK9t/vzd9z3mWooBqQP50QAAAABJRU5ErkJggg==",F="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAALFJREFUOE/tlbsJQkEQRc9VBBuwAC1AwdQqTIwsz8jEKkwFLeBZgA0IolcWDPbzdBPDnXDhnFkuzIwAbI+BGdBJuoe3WuWMbK+AAzABbsBa0vGXqJexfQbmEXiRtKiISsb2ExhE4EvSsCIqGdvOIUmqiEqmiZLIeuNoGbWMssFqs5YEElbt3/ZRB0wj/VVSOARfy3bJ2N4AO2AEPICtpH1FVDKfcxR+sAROkkK3atlOmDeNFNADM6ZBwAAAAABJRU5ErkJggg==",K="_audioAnimate_29dwa_1",E="_musicWave_29dwa_1",N={audioAnimate:K,musicWave:E},at=y({name:"playLoading",setup(){return()=>e("div",{class:N.audioAnimate},[e("div",null,null),e("div",null,null),e("div",null,null),e("div",null,null)])}}),X="_container_et3fa_1",U="_previewcontainer_et3fa_15",L="_containerModal_et3fa_19",O="_hidden_et3fa_23",P="_item_et3fa_28",z="_img_et3fa_34",V="_rotateImg_et3fa_1",q="_imgRotate_et3fa_56",J="_svgcontainer_et3fa_62",M="_progress_et3fa_67",k="_title_et3fa_78",G="_titleName_et3fa_82",T="_titleDes_et3fa_89",W="_playBtns_et3fa_101",Y="_playBtn_et3fa_101",x="_timeWrap_et3fa_124",Z="_timeProgress_et3fa_130",j="_time_et3fa_124",A={container:X,previewcontainer:U,containerModal:L,hidden:O,item:P,img:z,rotateImg:V,imgRotate:q,svgcontainer:J,progress:M,title:k,titleName:G,titleDes:T,playBtns:W,playBtn:Y,timeWrap:x,timeProgress:Z,time:j},H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAB4pJREFUeF7tnd1rFVcQwGc24J69YC1taCW0tEjhhoCVPAgixDZi7JNW24o+SKHtS8UkVGv/Ax/UaBpqogFNA31Q1LZq/IDUj6QN+KTWRJAEqxUTQltTkUb3Q81Omc3e9Ca59+53sjfdAyGBPTNn9pezu7Mzc84izGIjolLDMCoBIG2aZhoR0wCwEADmE9F8RJzP5hHRKCKOAgD//EFEA5IkDQDAgCzLvyLiyGydBs7kwESkGIaxyjTNlQCwEhEXE1EgGxCRiOgmAFyWJOmyLMsXEVGbqfMKZLwbIxmQrusrAOBjAPiIiF5wI+e3DyL+AwDfA8B3QohfGLBfXW7kIgNIRLJhGJ8Q0VdEtMiNMWH3QcS7iNggy3I7Ihph62d9oQO0L9PPTdPcAQBlURjtQ+ewJEl7ZVluDfvyDhWgrutriOgbInrTx0lGLoKI9xCxXghxJqzBQgGoadobDA4A1oZlWMR6OhCxTlGU+0HHCQzQMIwPxsbG2gDgxaDGzLD8o5KSks9kWf4xyLi+ARLRPE3T9gJAXRADYiC7X1GUHYj41I8tvgAS0Uu6rp8houV+Bo2bDCJeEUKsQcSHXm3zDJCIXtN1vZOIKrwOFuf+iHhLCPEeIg55sdMT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BNhsyxGy7K3BKXbDtrgWPcrbhuoTB4bpjPdvyX/pAHleAtmnDB+1kh06MoYmeANoQ+cCd7NiTkfahn/VEdvDOaFqeNdBpmh39NByib4AF78Ts8LEwR4Bmx98NamIgDSxU4uwARj+zSJG62RGgEUB0vDjZIbQhYXKIVNO0vQDwQYoOr+ANyycURTmd6mOQC9lnB3GH1MQCuzE7Cj4illYGRPYxgqhoDqaUOJ/DqC74HMYrLp/D+LPgcxg/Jf05jP8ALMM5KXFCm2sAAAAASUVORK5CYII=",At=y({name:"playItem",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},playState:{type:String,default:"pause"},type:{type:String,default:""}},emits:["change"],setup(a,{emit:s}){let o=null;const t=p({isFirst:!0,duration:0,currentTime:0}),i=u(),l=()=>{var n;if(t.duration=(n=i.value)==null?void 0:n.duration,t.isFirst){t.isFirst=!1;return}a.playState==="play"&&i.value.play(),!a.item.audioFileUrl&&!a.item.metronomeUrl&&s("change","pause")},r=n=>{i.value.pause(),t.currentTime=n,clearTimeout(o),o=setTimeout(()=>{i.value.currentTime=n,a.playState==="play"&&i.value.play(),o=null},300)},c=f(()=>"".concat(B(t.currentTime)," / ").concat(B(t.duration)));return C(()=>a.playState,n=>{n==="play"?i.value.play().catch(D=>{console.log(D,"22"),i.value.play()}):i.value.pause()}),C(()=>a.item,()=>{!a.item.audioFileUrl&&!a.item.metronomeUrl&&s("change","pause")}),()=>e("div",{class:[A.container,a.type==="preview"&&A.previewcontainer,a.type==="modal"&&A.containerModal,a.show?A.show:A.hidden]},[e("div",{class:[A.item]},[e("div",{class:[A.img,a.playState!=="play"&&A.imgRotate]},[e(R,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:a.item.titleImg||"https://oss.dayaedu.com/klx/16983720423251690789356356.png",onLoad:n=>{n.target.dataset.loaded="true"}},null),e("svg",{class:A.svgcontainer},[e("defs",null,[e("linearGradient",{id:"GradientProgress"},[e("stop",{"stop-color":"#5BECFF",offset:"0%"},null),e("stop",{"stop-color":"#259CFE",offset:"100%"},null)])])]),e(S,{type:"circle",class:A.progress,showIndicator:!1,percentage:t.currentTime/t.duration*100},null)]),e("div",{class:A.title},[e("div",{class:A.titleName},[e(w,{text:a.item.musicSheetName},null)]),e("div",{class:A.titleDes},[a.item.composer])]),e("div",{class:A.playBtns},[e(m,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>s("change","pre")},{default:()=>[e("img",{src:H},null)]}),e(m,{color:"rgba(57,130,246,1)",class:A.playBtn,circle:!0,bordered:!1,onClick:()=>s("change",a.playState==="pause"?"play":"pause")},{default:()=>[e("img",{style:{display:a.playState==="pause"?"":"none"},src:Q},null),e("img",{style:{display:a.playState==="play"?"":"none"},src:F},null)]}),e(m,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>s("change","next")},{default:()=>[e("img",{src:_},null)]})]),e("div",{class:A.timeWrap},[e(I,{tooltip:!1,step:.01,class:A.timeProgress,value:t.currentTime,max:t.duration,"onUpdate:value":n=>r(n)},null),e("div",{class:A.time},[c.value]),e("audio",{ref:i,src:a.item.audioFileUrl||a.item.metronomeUrl,onLoadedmetadata:l,onEnded:()=>{s("change","pause")},onTimeupdate:()=>{var n;o||(t.currentTime=(n=i.value)==null?void 0:n.currentTime)}},null)])])])}});export{at as P,w as T,At as a,F as b,Q as c,et as i};