index-legacy.7736b19e.js 38 KB

1
  1. !function(){function e(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function n(n){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?e(Object(a),!0).forEach((function(e){t(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function t(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n,t,r,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void t(c)}s.done?n(l):Promise.resolve(l).then(r,a)}function a(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var o=e.apply(n,t);function s(e){r(o,a,i,s,l,"next",e)}function l(e){r(o,a,i,s,l,"throw",e)}s(void 0)}))}}var i=document.createElement("style");i.innerHTML='._base_fv27s_1>div{background:url(./header-bg.png) no-repeat top center}._detail_fv27s_4{overflow:hidden;--van-nav-bar-background-color: transparent;--van-nav-bar-icon-color: #fff;--van-nav-bar-text-color: #fff;--van-nav-bar-title-text-color: #fff;--plyr-color-main: var(--van-primary);--plyr-control-icon-size: .32rem}._detail_fv27s_4 .plyr__controls .plyr__controls__item:first-child{background-color:var(--van-primary);color:#fff;border-radius:50%}._base_fv27s_1 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._shareBtn_fv27s_21{display:flex;align-items:flex-start;color:#fff;font-size:.37333rem;line-height:.53333rem!important}._shareBtn_fv27s_21 .van-image{width:.48rem;height:.48rem;margin-right:.16rem}._bgImg_fv27s_33{position:absolute;left:0;top:0;width:100%;height:7.06667rem;-o-object-fit:cover;object-fit:cover;filter:blur(.26667rem)}._bgContent_fv27s_42{position:absolute;top:0;height:7.06667rem;width:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._musicContent_fv27s_51{position:relative;width:100%;height:13.33333rem;overflow:hidden}._musicContent_fv27s_51:after{content:" ";position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#ffffff 100%);height:7.65333rem}._musicContent_fv27s_51 ._musicTitle_fv27s_66{text-align:center;font-size:.42667rem}._musicContent_fv27s_51 ._musicImg_fv27s_70{width:100%}._musicContent_fv27s_51 ._finch_fv27s_73{width:4rem;margin:2.13333rem auto 0}._musicContent_fv27s_51 ._finchLoad_fv27s_77{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem}._musicContent_fv27s_51 iframe{border:none;width:100%;height:13.33333rem;overflow:hidden}._musicContent_fv27s_51 iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:.02667rem solid transparent;background-clip:padding-box;border-radius:.13333rem}._collectCell_fv27s_95{margin:.26667rem .42667rem 0;background:#ffffff;border-radius:.26667rem;box-shadow:0 0 .16rem rgba(229,229,229,.7);overflow:hidden}._videoOperation_fv27s_102{position:absolute;left:0;right:0;bottom:.13333rem;z-index:1}._audition_fv27s_109{display:flex;align-items:center;margin:.26667rem .42667rem 0;background:linear-gradient(180deg,#fff0d9 0%,#ffdfb8 100%);border-radius:.42667rem;padding:.18667rem .32rem;font-size:.32rem;font-weight:600;color:#ff731d;height:.48rem}._audition_fv27s_109 img{margin-top:-.05333rem;width:.56rem;height:.4rem;margin-right:.29333rem}._collect_fv27s_95{display:flex;align-items:center;justify-content:space-between;padding:.29333rem;font-size:.37333rem;color:#666}._collect_fv27s_95 ._userInfo_fv27s_135{display:flex;align-items:center;padding:.08rem .16rem;background:#d5f3ee;border-radius:.42667rem}._collect_fv27s_95 ._userInfo_fv27s_135 img{width:.69333rem;height:.69333rem;border-radius:50%}._collect_fv27s_95 ._userInfo_fv27s_135 span{padding-left:.21333rem;max-width:1.6rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2dc7aa}._collect_fv27s_95 ._collectSection_fv27s_155{display:flex;align-items:center}._collect_fv27s_95 ._collectSection_fv27s_155 img{margin-top:-.05333rem;margin-left:.13333rem;width:.48rem;height:.48rem}._collect_fv27s_95 ._collectSection_fv27s_155 .van-icon{font-size:.53333rem;margin-top:-.05333rem;margin-left:.13333rem;color:var(--van-primary)}._collect_fv27s_95 ._collectSection_fv27s_155:first-child{margin-right:.37333rem}._lookAlbum_fv27s_174{padding:.45333rem .53333rem;margin-bottom:.4rem;font-size:.37333rem;color:#333;line-height:.53333rem;display:flex;align-items:center;justify-content:space-between}._lookAlbum_fv27s_174>div{display:flex;align-items:center;line-height:1}._lookAlbum_fv27s_174>div img{width:.53333rem;height:.53333rem;margin-right:.26667rem}._bg_fv27s_33{position:relative;height:100%;padding:.42667rem;z-index:11}._musicContainer_fv27s_200{position:relative;z-index:12;border-radius:.48rem .48rem 0 0;background-color:#fff;overflow-y:auto}._shareMate_fv27s_207{position:relative;margin-top:1.33333rem;display:flex;flex:1;align-items:center;padding:.29333rem .32rem;background:#ffffff;border-radius:.26667rem}._shareMate_fv27s_207 ._icon_fv27s_217{width:.96rem;height:.96rem;border-radius:.26667rem}._shareMate_fv27s_207 ._info_fv27s_222{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._shareMate_fv27s_207 ._info_fv27s_222>h4{color:var(--music-list-item-title-color);font-size:.37333rem;font-weight:600;width:5.33333rem}._shareMate_fv27s_207 ._info_fv27s_222>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._shareMate_fv27s_207 ._tagDiscount_fv27s_238{position:absolute;top:-.69333rem;left:.4rem;padding:.05333rem .26667rem .02667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.53333rem}._shareVip_fv27s_251{position:relative;margin-top:.93333rem;display:flex;flex:1;align-items:center;padding:.18667rem;background:#ffffff;border-radius:.26667rem}._shareVip_fv27s_251 ._icon_fv27s_217{width:1.92rem;height:1.92rem;border-radius:.26667rem}._shareVip_fv27s_251 ._info_fv27s_222{margin-left:.16rem;flex:1;word-break:break-all}._shareVip_fv27s_251 ._info_fv27s_222>h4{color:var(--music-list-item-title-color);font-size:.42667rem;font-weight:600}._shareVip_fv27s_251 ._info_fv27s_222>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._tagDiscount_fv27s_238{position:absolute;top:-.61333rem;left:.4rem;padding:0 .26667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.64rem}._buttonDiscount_fv27s_293{position:absolute;top:-.48rem;right:.4rem;padding:0 .13333rem;height:.48rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.32rem;font-weight:600;color:#fff;line-height:.53333rem}._pImg_fv27s_306{width:1.22667rem;height:1.22667rem;border-radius:.26667rem;overflow:hidden;flex-shrink:0}._musicInfo_fv27s_313{padding-top:.61333rem!important;padding-bottom:.61333rem!important;margin-bottom:.26667rem}._musicInfo_fv27s_313 ._coomposer_fv27s_318{padding-top:.05333rem;padding-left:.16rem;max-width:3.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._musicInfo_fv27s_313 ._tag_fv27s_238{flex-shrink:0;padding:.05333rem .10667rem 0;border-radius:.10667rem}._musicInfo_fv27s_313 ._tag_fv27s_238+._tag_fv27s_238{margin-left:.13333rem}._musicInfo_fv27s_313 ._info_fv27s_222{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._musicInfo_fv27s_313 ._info_fv27s_222>h4{font-size:.42667rem;font-weight:700;color:#1a1a1a;width:4.66667rem;padding-bottom:.08rem}._musicInfo_fv27s_313 ._info_fv27s_222>p{font-size:.32rem;color:#999;line-height:.45333rem}._musicInfo_fv27s_313 ._download_fv27s_352{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.32rem}._musicInfo_fv27s_313 ._download_fv27s_352 img{height:.64rem;width:.64rem}._musicInfo_fv27s_313 ._exquisiteFlag_fv27s_363{width:.37333rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_fv27s_313 ._songAlbum_fv27s_368{width:.4rem;height:.4rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_fv27s_313 .van-cell__value{display:flex;justify-content:space-around}._colSticky_fv27s_378{display:flex;align-items:center;justify-content:space-between}._colSticky_fv27s_378 ._priceSection_fv27s_383{font-size:.37333rem;font-weight:400;color:#999}._colSticky_fv27s_378 ._priceSection_fv27s_383 ._price_fv27s_383{font-size:.58667rem;font-weight:700;color:#ff4e19}._colSticky_fv27s_378 ._priceSection_fv27s_383 ._price_fv27s_383 i{font-style:normal;font-size:.42667rem}._buyBtn_fv27s_397{--van-button-default-height: 1.12rem;flex:1;display:flex;align-items:center;justify-content:flex-end}._buyBtn_fv27s_397 .van-button{padding:0 .58667rem;font-weight:600}._buyBtn_fv27s_397 .van-button+.van-button{margin-left:.32rem}._buyBtn_fv27s_397 ._primry_fv27s_411{box-shadow:0 .05333rem .18667rem rgba(45,199,170,.25)}._buyBtn_fv27s_397 ._member_fv27s_414{box-shadow:0 .05333rem .18667rem rgba(187,156,83,.25)}._functionSection_fv27s_417{display:flex}._empty_fv27s_420{margin:0 auto;font-size:.37333rem;color:#999;line-height:.53333rem;text-align:center;padding-top:1.6rem}._empty_fv27s_420 ._emptyImg_fv27s_428{width:4.58667rem}._staffContainer_fv27s_431{padding:.4rem .4rem .64rem}._staffContainer_fv27s_431 ._staffTitle_fv27s_434{padding-bottom:.66667rem;font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._staffContainer_fv27s_431 ._staffImg_fv27s_440{width:.85333rem;height:.53333rem}._staffContainer_fv27s_431 ._name_fv27s_444{padding-left:.45333rem;font-size:.34667rem;font-weight:500;color:#333}._staffContainer_fv27s_431 ._boxStyle_fv27s_450{background:transparent!important;width:.4rem;height:.4rem;border:transparent!important}._staffContainer_fv27s_431 ._active_fv27s_456{background:#f7f8f9;border-radius:.21333rem}._staffContainer_fv27s_431 ._active_fv27s_456 ._name_fv27s_444{color:#2dc7aa}._staffContainer_fv27s_431 .van-cell{padding:.24rem .42667rem;margin-bottom:.16rem}._staffContainer_fv27s_431 .van-cell:hover,._staffContainer_fv27s_431 .van-cell:active,._staffContainer_fv27s_431 .van-cell.active{background:#f7f8f9;border-radius:.21333rem}._staffContainer_fv27s_431 .van-cell:hover .name,._staffContainer_fv27s_431 .van-cell:active .name,._staffContainer_fv27s_431 .van-cell.active .name{color:#2dc7aa}._staffContainer_fv27s_431 .van-cell:last-child{margin-bottom:0}._staffContainer_fv27s_431 .van-cell__value{display:flex;justify-content:flex-end}._staffContainer_fv27s_431 .van-checkbox{overflow:inherit;height:.48rem;display:flex;align-items:center;justify-content:flex-end}._staffContainer_fv27s_431 .van-checkbox__icon{height:.4rem;line-height:.4rem;display:inline-block;vertical-align:middle}._staffContainer_fv27s_431 .van-checkbox__label{line-height:.4rem}\n',document.head.appendChild(i),System.register(["./icon_uploader-legacy.db3a8c90.js","./icon-xin-legacy.18ed4a9d.js","./icon_album-legacy.d489a774.js","./icon_album_active-legacy.d2829e23.js","./icon_exquisite-legacy.178b582f.js","./icon_music_active-legacy.cc68af68.js","./index-legacy.b2528a15.js","./index-legacy.81a64bb6.js","./index-legacy.207dc8c2.js","./index-legacy.a7e74731.js","./index-legacy.ca42ae97.js","./index-legacy.5147af42.js","./index-legacy.4f922f18.js","./index-legacy.edff980f.js","./index-legacy.7d3d7cf1.js","./index-legacy.8ed1b894.js","./download-legacy.6964d65b.js","./music-legacy.80266f81.js","./index-legacy.c99e8e49.js","./orderStatus-legacy.8039009d.js","./icon_share-legacy.69f1973c.js","./index-legacy.47b1cde1.js","./icon_teacher-legacy.42ba77b1.js","./icon_checkbox_default-legacy.e33240bc.js","./plyr-legacy.180f4c53.js","./index-legacy.702b8ebf.js","./index-legacy.f75b8290.js","./use-height-legacy.2a153aaf.js","./index-legacy.3f4943f0.js","./index-legacy.c610561c.js","./code-down-load-legacy.5a78d39b.js","./logo-legacy.cf4b3bd2.js","./browser-legacy.8b7c8200.js"],(function(e){"use strict";var t,r,i,o,s,l,c,u,f,d,m,v,_,p,g,h,b,y,x,w,C,k,S,I,T,j,B,O,R,D,A,P,H,E,N,L,z,M,F,V,q,G,U,W,X,Q,J,K,Y,Z,$,ee,ne,te,re,ae,ie,oe,se,le,ce,ue,fe,de,me,ve,_e;return{setters:[function(e){t=e._,r=e.a,i=e.b,o=e.c,s=e.d,l=e.e,c=e.f},function(e){u=e._},function(e){f=e.i,d=e._},function(e){m=e._},function(e){v=e._},function(e){_=e._},function(e){p=e.d,g=e.Q,h=e.P,b=e.U,y=e.S,x=e.a3,w=e.V,C=e.Y,k=e.bC,S=e.W,I=e.i,T=e.A,j=e.F,B=e.T,O=e.N,R=e.b,D=e.s,A=e.B,P=e.by,H=e.aT,E=e.X,N=e.e,L=e.D},function(e){z=e.C},function(e){M=e.C},function(e){F=e.C},function(e){V=e.I},function(e){q=e.R,G=e.a},function(e){U=e.S},function(e){W=e.T},function(){},function(){},function(e){X=e.i,Q=e.a,J=e.V,K=e.A,Y=e.e,Z=e.b,$=e.c,ee=e.d,ne=e.D,te=e.s,re=e.f,ae=e.g},function(e){ie=e.g,oe=e.m},function(e){se=e.C},function(e){le=e.o},function(e){ce=e.i},function(e){ue=e.C},function(e){fe=e.i},function(e){de=e.a,me=e.i},function(e){ve=e.P},function(e){_e=e.P},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var pe={base:"_base_fv27s_1",detail:"_detail_fv27s_4",shareBtn:"_shareBtn_fv27s_21",bgImg:"_bgImg_fv27s_33",bgContent:"_bgContent_fv27s_42",musicContent:"_musicContent_fv27s_51",musicTitle:"_musicTitle_fv27s_66",musicImg:"_musicImg_fv27s_70",finch:"_finch_fv27s_73",finchLoad:"_finchLoad_fv27s_77",collectCell:"_collectCell_fv27s_95",videoOperation:"_videoOperation_fv27s_102",audition:"_audition_fv27s_109",collect:"_collect_fv27s_95",userInfo:"_userInfo_fv27s_135",collectSection:"_collectSection_fv27s_155",lookAlbum:"_lookAlbum_fv27s_174",bg:"_bg_fv27s_33",musicContainer:"_musicContainer_fv27s_200",shareMate:"_shareMate_fv27s_207",icon:"_icon_fv27s_217",info:"_info_fv27s_222",tagDiscount:"_tagDiscount_fv27s_238",shareVip:"_shareVip_fv27s_251",buttonDiscount:"_buttonDiscount_fv27s_293",pImg:"_pImg_fv27s_306",musicInfo:"_musicInfo_fv27s_313",coomposer:"_coomposer_fv27s_318",tag:"_tag_fv27s_238",download:"_download_fv27s_352",exquisiteFlag:"_exquisiteFlag_fv27s_363",songAlbum:"_songAlbum_fv27s_368",colSticky:"_colSticky_fv27s_378",priceSection:"_priceSection_fv27s_383",price:"_price_fv27s_383",buyBtn:"_buyBtn_fv27s_397",primry:"_primry_fv27s_411",member:"_member_fv27s_414",functionSection:"_functionSection_fv27s_417",empty:"_empty_fv27s_420",emptyImg:"_emptyImg_fv27s_428",staffContainer:"_staffContainer_fv27s_431",staffTitle:"_staffTitle_fv27s_434",staffImg:"_staffImg_fv27s_440",name:"_name_fv27s_444",boxStyle:"_boxStyle_fv27s_450",active:"_active_fv27s_456"},ge={"Acoustic Grand Piano":"大钢琴","Bright Acoustic Piano":"明亮的钢琴","Electric Grand Piano":"电钢琴","Rhodes Piano":"柔和的电钢琴","Chorused Piano":"加合唱效果的电钢琴",Harpsichord:"羽管键琴",Clavichord:"科拉维科特琴",Celesta:"钢片琴",Glockenspiel:"钢片琴","Music box":"八音盒",Vibraphone:"颤音琴",Marimba:"马林巴",Xylophone:"木琴","Tubular Bells":"管钟",Dulcimer:"大扬琴","Hammond Organ":"击杆风琴","Percussive Organ":"打击式风琴","Rock Organ":"摇滚风琴","Church Organ":"教堂风琴","Reed Organ":"簧管风琴",Accordian:"手风琴",Harmonica:"口琴","Tango Accordian":"探戈手风琴","Acoustic Guitar":"钢弦吉他","Electric Guitar":"闷音电吉他","Overdriven Guitar":"加驱动效果的电吉他","Distortion Guitar":"加失真效果的电吉他","Guitar Harmonics":"吉他和音","Acoustic Bass":"大贝司","Electric Bass":"电贝司","Fretless Bass":"无品贝司","Slap Bass":"掌击","Synth Bass":"电子合成",Violin:"小提琴",Viola:"中提琴",Cello:"大提琴",Contrabass:"低音大提琴","Tremolo Strings":"弦乐群颤音音色","Pizzicato Strings":"弦乐群拨弦音色","Orchestral Harp":"竖琴",Timpani:"定音鼓","String Ensemble":"弦乐合奏音色","Synth Strings":"合成弦乐合奏音色","Choir Aahs":"人声合唱","Voice Oohs":"人声","Synth Voice":"合成人声","Orchestra Hit":"管弦乐敲击齐奏",Trumpet:"小号",Trombone:"长号",Tuba:"大号","Muted Trumpet":"加弱音器小号","French Horn":"法国号","Brass Section":"铜管组","Synth Brass":"合成铜管音色","Soprano Sax":"高音萨克斯管","Alto Sax":"中音萨克斯管","Tenor Sax":"次中音萨克斯管","Baritone Sax":"低音萨克斯管",Oboe:"双簧管","English Horn":"英国管",Bassoon:"巴松",Clarinet:"单簧管","Soprano Saxophone":"高音萨克斯管","Alto Saxophone":"中音萨克斯管","Tenor Saxophone":"次中音萨克斯管","Baritone Saxophone":"低音萨克斯管",Piccolo:"短笛",Flute:"长笛",Recorder:"竖笛","Soprano Recorder":"高音竖笛","Pan Flute":"排箫","Bottle Blow":"瓶木管",Whistle:"口哨声",Ocarina:"陶笛",Lead:"合成主音","Lead lead":"合成主音","Pad age":"合成音色",Pad:"合成音色",FX:"合成效果 科幻",Sitar:"西塔尔",Banjo:"班卓琴",Shamisen:"三昧线",Koto:"十三弦筝",Kalimba:"卡林巴",Bagpipe:"风笛",Fiddle:"民族提琴",Shanai:"山奈","Tinkle Bell":"叮当铃",Agogos:"阿戈戈铃","Steel Drums":"钢鼓","Taiko Drum":"太鼓","Melodic Toms":"嗵嗵鼓","Synth Drums":"合成鼓","Reverse Cymbals":"反向镲","Agogo Bells":"阿戈戈铃","Taiko Drums":"太鼓",Bongos:"邦戈鼓","Bongo Bell":"邦戈铃",Congas:"康加鼓",Guiro:"刮壶","Guitar Fret Noise":"吉他换把杂音","Breath Noise":"呼吸声",Seashore:"海浪声","Bird Tweet":"鸟鸣","Telephone Ring":"电话铃",Helicopter:"直升机",Applause:"鼓掌声",Gunshot:"枪声","Acoustic Bass Drum":"大鼓","Bass Drum":"大鼓","Side Drum":"小鼓鼓边","Acoustic Snare":"小鼓","Hand Claps":"拍手","Electric Snare":"小鼓","Low Floor Tom":"低音嗵鼓","Closed Hi-Hat":"闭合踩镲","High Floor Tom":"高音落地嗵鼓","Pedal Hi-Hat":"脚踏踩镲","Low Tom":"低音嗵鼓","Open Hi-Hat":"开音踩镲","Low-Mid Tom":"中低音嗵鼓","Hi Mid Tom":"高音鼓","Crash Cymbals":"对镲","High Tom":"高音嗵鼓","Ride Cymbals":"叮叮镲","Chinese Cymbals":"中国镲","Ride Bell":"圆铃",Tambourine:"铃鼓","Splash Cymbal":"溅音镲",Cowbell:"牛铃","Crash Cymbal":"强音钹","Vibra-Slap":"颤音器","Ride Cymbal":"打点钹","Hi Bongo":"高音邦戈鼓","Low Bongo":"低音邦戈鼓","Mute Hi Conga":"弱音高音康加鼓","Open Hi Conga":"强音高音康加鼓","Low Conga":"低音康加鼓","High Timbale":"高音天巴鼓","Low Timbale":"低音天巴鼓","High Agogo":"高音阿戈戈铃","Low Agogo":"低音阿戈戈铃",Cabasa:"卡巴萨",Maracas:"沙锤","Short Whistle":"短口哨","Long Whistle":"长口哨","Short Guiro":"短刮壶","Long Guiro":"长刮壶",Claves:"响棒","Hi Wood Block":"高音木鱼","Low Wood Block":"低音木鱼","Mute Triangle":"弱音三角铁","Open Triangle":"强音三角铁","Drum Set":"架子鼓","Hulusi flute":"葫芦丝",Melodica:"口风琴","Snare Drum":"小军鼓",Cymbal:"镲",Cymbals:"镲","Horn in F":"圆号",Triangle:"三角铁",Vibrato:"颤音琴","Suspend Cymbals":"吊镲","Suspended Cymbals":"吊镲","Tom-Toms":"嗵嗵鼓",Bell:"铃铛",Bells:"铃铛","Alto Clarinet":"中音单簧管","Bass Clarinet":"低音单簧管",Cornet:"短号",Euphonium:"上低音号","crash cymbals":"对镲",Castanets:"响板",Shaker:"沙锤","Mark tree":"音树",Chimes:"管钟","Mark Tree":"音树","Tom-toms":"嗵嗵鼓","Hi-Hat":"踩镲","Sleigh Bells":"雪橇铃",Flexatone:"弹音器","Brake drum":"闸鼓",Gong:"锣","concert tom":"音乐会嗵嗵鼓","brake drum":"车轮鼓","finger cymbal":"指钹","ride cymbal":"叮叮镲","Concert Toms":"音乐会嗵嗵鼓",Vibraslap:"弹音器","Wood Blocks":"木鱼","Temple Blocks":"木鱼","Wood Block":"木鱼","Field Drum":"军鼓","Quad-Toms":"筒鼓",Quads:"筒鼓","Drums set":"架子鼓","High Bongo":"邦戈",Timbales:"天巴鼓","rain stick":"雨棒","String Bass":"弦乐低音","Floor Tom":"侧嗵鼓","Brake Drum":"闸鼓","Tam-tam":"大锣"},he=function(e){for(var n=e.replace(/ /g," ").toLocaleLowerCase(),t=Object.keys(ge),r=0;r<t.length;r++){if(t[r].replace(/ /g," ").toLocaleLowerCase()===n)return ge[t[r]]||""}for(var a=0;a<t.length;a++){var i=t[a].replace(/ /g," ").toLocaleLowerCase();if(n.includes(i))return ge[t[a]]||""}return""},be=e("getAssetsHomeFile",(function(e){var n="../component/images/".concat(e);return{"../component/images/collection.png":t,"../component/images/collection_active.png":r,"../component/images/icon-xin.png":u,"../component/images/icon_ai.png":i,"../component/images/icon_album.png":d,"../component/images/icon_album_active.png":m,"../component/images/icon_author.png":o,"../component/images/icon_download.png":s,"../component/images/icon_exquisite.png":v,"../component/images/icon_music_active.png":_,"../component/images/icon_share.png":l,"../component/images/icon_uploader.png":c}[n].default}));e("default",p({name:"MusicDetail",setup:function(){localStorage.setItem("behaviorId",ie());var e=g(),t=h(),r=b(!1),i=Number(t.query.activityId)||0,o=b(i),s=b(!1),l=b(null),c=b(null),u=b("0"),d=b(null),m=b(""),v=[],_=b([]),p=b([]),ge=b([]);b("");var ye=b(!1),xe=y({status:!1,radio:"staff"}),we={FREE:{color:"#01B84F",text:"免费"},VIP:{color:"#CD863E",text:"会员"},CHARGE:{color:"#3591CE",text:"点播"}},Ce=function(e){xe.radio=e,xe.status=!1};x((function(){return xe.radio}),(function(e){v="first"==e?_.value:"fixed"==e?p.value:ge.value}));var ke=function(){var e=a(regeneratorRuntime.mark((function e(n){var a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.value){e.next=2;break}return e.abrupt("return");case 2:return r.value=!0,s.value=!1,e.prev=4,e.next=7,N.get("/music/sheet/detail/".concat(t.query.id),{prefix:"TEACHER"===D.platformType?"/api-teacher":"/api-student"});case 7:i=e.sent,d.value=i.data,console.log(d.value.notation,"musicDetail"),o=i.data.background,m.value=o&&o.length>0?o[0].audioFileUrl:"",v=i.data.musicImg?i.data.musicImg.split(","):[],_.value=i.data.firstTone?i.data.firstTone.split(","):[],p.value=i.data.fixedTone?i.data.fixedTone.split(","):[],ge.value=i.data.musicImg?i.data.musicImg.split(","):[],E((function(){qe()})),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(4),s.value=!0;case 22:"CONCERT"!==(null===(a=d.value)||void 0===a?void 0:a.musicSheetType)&&(r.value=!1);case 23:case"end":return e.stop()}}),e,null,[[4,19]])})));return function(n){return e.apply(this,arguments)}}(),Se=b(null),Ie=b(null),Te=b(0),je=function(){var e=a(regeneratorRuntime.mark((function e(){var n,t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=["play-large","play","progress","captions","duration"],Se.value=new ve(Ie.value,{controls:t}),e.next=4,N.get("/api-student/sysConfig/queryByParamNameList",{params:{paramNames:"music_sheet_free_rate"}});case 4:r=e.sent,Te.value=(null===(n=r.data[0])||void 0===n?void 0:n.paramValue)||0,Se.value.on("timeupdate",(function(){var e=Se.value,n=e.duration*Te.value/100||0;e.currentTime>=n&&!Ne.value.play&&e.stop()}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Be=function(e){var n;console.log(e),"musicStaffRender"===(null===(n=e.data)||void 0===n?void 0:n.api)&&(r.value=e.data.loading)};w(a(regeneratorRuntime.mark((function e(){var n,t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:n=C(l),t=n.height,r=C(c),u.value=t+r.height,m.value&&je(),window.addEventListener("message",Be);case 7:case"end":return e.stop()}}),e)})))),k((function(){window.removeEventListener("message",Be)}));var Oe=function(){var e=a(regeneratorRuntime.mark((function e(){var n,t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N.post("/music/sheet/favorite/"+(null===(n=d.value)||void 0===n?void 0:n.id),{prefix:"TEACHER"===D.platformType?"/api-teacher":"/api-student"});case 3:d.value.favorite=null!==(t=d.value)&&void 0!==t&&t.favorite?0:1,d.value.favoriteCount=null!==(r=d.value)&&void 0!==r&&r.favorite?d.value.favoriteCount+1:d.value.favoriteCount-1<0?0:d.value.favoriteCount-1,setTimeout((function(){var e;B(null!==(e=d.value)&&void 0!==e&&e.favorite?"收藏成功":"取消收藏成功")}),100),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),Re=function(){var e=a(regeneratorRuntime.mark((function e(){var n,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N.post("/api-teacher/courseCourseware/submit",{data:{musicSheetId:d.value.id,clientType:"TEACHER",userId:null===(n=D.user.data)||void 0===n?void 0:n.userId}});case 3:t=e.sent,console.log(t),setTimeout((function(){d.value.coursewareId=t.data.id||"",B("添加成功"),d.value.coursewareStatus=1}),100),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),De=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:L.confirm({title:"提示",message:"您是否确定移除课件",confirmButtonColor:"#269a93",cancelButtonText:"取消",confirmButtonText:"确定"}).then(a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N.post("/api-teacher/courseCourseware/remove/"+d.value.coursewareId,{data:{}});case 3:setTimeout((function(){B("移除成功"),d.value.coursewareStatus=0}),100),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ae=function(){var e=a(regeneratorRuntime.mark((function e(){var r,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=d.value,le.orderObject.orderType="MUSIC",le.orderObject.orderName=r.musicSheetName,le.orderObject.orderDesc=r.musicSheetName,le.orderObject.actualPrice=r.musicPrice,le.orderObject.recomUserId=t.query.recomUserId||0,le.orderObject.activityId=t.query.activityId||0,le.orderObject.orderNo="",le.orderObject.orderList=[n({orderType:"MUSIC",goodsName:r.musicSheetName,actualPrice:r.musicPrice},r)],e.next=11,N.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"MUSIC",bizId:r.id}});case 11:i=e.sent,(o=i.data)?L.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:le.orderObject.orderNo=o.orderNo,le.orderObject.actualPrice=o.actualPrice,le.orderObject.discountPrice=o.discountPrice,Pe();case 4:case"end":return e.stop()}}),e)})))).catch((function(){L.close(),He(o.orderNo)})):Pe();case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Pe=function(){var n=d.value;e.push({path:"/orderDetail",query:{orderType:"MUSIC",musicId:n.id}})},He=function(){var e=a(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N.post("/api-student/userOrder/orderCancel",{data:{orderNo:n}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(n){return e.apply(this,arguments)}}(),Ee=S((function(){var e,n=null===(e=d.value)||void 0===e?void 0:e.paymentType;return"string"==typeof n?n=n.split(","):[]})),Ne=S((function(){var e=d.value;return{play:!!e.play,free:null==e?void 0:e.paymentType.includes("FREE"),charge:null==e?void 0:e.paymentType.includes("CHARGE"),vip:null==e?void 0:e.paymentType.includes("VIP"),buy:"PAID"===(null==e?void 0:e.orderStatus)}})),Le=b(!1),ze=b(""),Me=b(0),Fe=function(){var e=a(regeneratorRuntime.mark((function e(){var n,t,r,a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N.post("/api-teacher/open/musicShareProfit",{data:{bizId:null===(n=d.value)||void 0===n?void 0:n.id,userId:null===(t=D.user.data)||void 0===t?void 0:t.userId}});case 3:return i=e.sent,o=location.origin+"/teacher/#/shareMusic?id=".concat(null===(r=d.value)||void 0===r?void 0:r.id,"&recomUserId=").concat(null===(a=D.user.data)||void 0===a?void 0:a.userId,"&userType=").concat(D.platformType),1===i.data.discount&&(o+="&activityId=".concat(i.data.activityId)),Me.value=i.data.discount||0,console.log(o),ze.value=o,Le.value=!0,e.abrupt("return");case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(){return e.apply(this,arguments)}}(),Ve=y({open:!1,iframeSrc:"",musicXml:"",instrumentName:"",iframeRef:null,partIndex:0,partList:[]}),qe=function(){var e,n,t;Ve.iframeSrc="".concat(location.origin).concat(location.pathname,"osmd/index.html"),Ve.musicXml=(null===(e=d.value)||void 0===e?void 0:e.xmlFileUrl)||"",Ve.partList=(null===(n=d.value)||void 0===n?void 0:n.background)||[],Ve.instrumentName=he(null===(t=Ve.partList[Ve.partIndex])||void 0===t?void 0:t.track)},Ge=function(){var e=document.getElementById("staffIframeRef");e&&e.contentWindow.renderXml&&e.contentWindow.renderXml(Ve.musicXml,Ve.partIndex)},Ue=S((function(){return Ve.partList.map((function(e,n){var t=he(e.track);return{text:e.track+(t?"(".concat(t,")"):""),value:n}}))}));return function(){var a,i,s,_,p,g,h,b,y,x,w;return I("div",{class:pe.detail},[I(U,{position:"top"},{default:function(){var e;return[I("div",{ref:l},[I(z,{background:"transparent",border:!1,isFixed:!1,color:"#fff",title:null===(e=d.value)||void 0===e?void 0:e.musicSheetName,backIconColor:"white"},{right:function(){return I("div",{class:pe.shareBtn,style:{color:"#fff"},onClick:Fe},[I(V,{src:ce},null),T("分享")])}})])]}}),I("img",{class:pe.bgImg,src:null===(a=d.value)||void 0===a?void 0:a.titleImg},null),I("div",{class:pe.bgContent},null),I("div",{class:pe.musicContainer,style:{marginTop:"16px",height:"calc(100vh - ".concat(u.value+16+"px",")")}},[I(M,{border:!1,center:!0,class:pe.musicInfo},{icon:function(){var e;return I(V,{class:pe.pImg,src:null===(e=d.value)||void 0===e?void 0:e.titleImg},null)},title:function(){var e,n,t,r;return I("div",{class:pe.info},[I("h4",{class:"van-ellipsis"},[null===(e=d.value)||void 0===e?void 0:e.musicSheetName]),I("p",{style:{display:"flex"}},[Ee.value.map((function(e){return I(W,{style:{color:we[e].color},class:pe.tag,type:"success",plain:!0},{default:function(){return[we[e].text]}})})),1===(null===(n=d.value)||void 0===n?void 0:n.exquisiteFlag)&&I(V,{class:pe.exquisiteFlag,src:be("icon_exquisite.png")},null),(null===(t=d.value)||void 0===t?void 0:t.albumNums)>0&&I(V,{class:pe.songAlbum,src:be("icon_album_active.png")},null),I("span",{class:pe.coomposer},[null===(r=d.value)||void 0===r?void 0:r.composer])])])},value:function(){var e,n,t;return I(j,null,[I("div",{class:"van-cell__value",style:{display:"SINGLE"===(null===(e=d.value)||void 0===e?void 0:e.musicSheetType)?"":"none"}},[null!==(n=d.value)&&void 0!==n&&n.notation?I("span",{class:pe.download,onClick:function(){xe.status=!0}},[I("img",{src:X},null),I("span",null,[T("转谱")])]):null,I("span",{class:pe.download,onClick:function(){v.length>0?ye.value=!0:B("暂无图片")}},[I("img",{src:Q},null),I("span",null,[T("下载曲谱")])])]),I("span",{style:{display:"CONCERT"===(null===(t=d.value)||void 0===t?void 0:t.musicSheetType)?"":"none"},class:pe.download,onClick:function(){Ve.open=!0}},[I(O,{style:{background:"rgba(246,246,246,1)",borderRadius:"50%",padding:"4px"},size:"20px",name:"exchange"},null),I("span",null,[T("切换乐器")])])])}}),I("div",{class:pe.musicContent},[I("p",{class:pe.musicTitle},[(null!==(i=d.value)&&void 0!==i&&i.musicSheetName?null===(s=d.value)||void 0===s?void 0:s.musicSheetName:"")+(Ve.instrumentName?"(".concat(Ve.instrumentName,")"):"")]),"CONCERT"===(null===(_=d.value)||void 0===_?void 0:_.musicSheetType)?I(j,null,[r.value&&I(j,null,[I(J,{animationData:K,class:pe.finch},null),I("p",{class:pe.finchLoad},[T("加载中...")])]),I("iframe",{id:"staffIframeRef",src:Ve.iframeSrc,onLoad:Ge},null)]):I(j,null,[v.length>0?I("img",{src:v[0],alt:"",class:pe.musicImg},null):r.value?I(j,null,[I(J,{animationData:K,class:pe.finch},null),I("p",{class:pe.finchLoad},[T("加载中...")])]):I("div",{class:pe.empty},[I(V,{src:Y,class:pe.emptyImg},null),I("p",{class:pe.emptyTip},[T("暂无乐谱预览图")])])]),I("div",{class:pe.videoOperation},[m.value&&I(j,null,[!Ne.value.play&&100!=Te.value&&0!=Te.value&&I("div",{class:[pe.audition]},[I("img",{src:Z},null),I("span",null,[T("每首曲目可试听"),Te.value,T("%")])]),I("div",{class:[pe.audio,pe.collectCell]},[I("audio",{id:"player",controls:!0,ref:Ie},[I("source",{src:m.value,type:"audio/mp3"},null)])])]),I("div",{class:[pe.collect,pe.collectCell]},[I("div",{class:[pe.userInfo],onClick:function(){var n,t;R().isApp&&"TEACHER"===(null===(n=d.value)||void 0===n?void 0:n.sourceType)&&"STUDENT"===D.platformType&&e.push({path:"/teacherHome",query:{teacherId:null===(t=d.value)||void 0===t?void 0:t.userId,tabs:"music"}})}},[I("img",{src:(null===(p=d.value)||void 0===p?void 0:p.userAvatar)||fe},null),I("span",null,[null===(g=d.value)||void 0===g?void 0:g.userName])]),I("div",{class:pe.functionSection},[I("div",{class:[pe.collectSection],onClick:function(){return Oe()}},[I("span",null,[null===(h=d.value)||void 0===h?void 0:h.favoriteCount,T("人收藏")]),I("img",{src:null!==(b=d.value)&&void 0!==b&&b.favorite?$:ee},null)]),"TEACHER"===D.platformType&&I("div",{class:[pe.collectSection],onClick:function(){var e;null!==(e=d.value)&&void 0!==e&&e.coursewareStatus?De():Re()}},[I("span",null,[null!==(y=d.value)&&void 0!==y&&y.coursewareStatus?"移出课件":"添加到课件"]),null!==(x=d.value)&&void 0!==x&&x.coursewareStatus?I(O,{name:"clear"},null):I(O,{name:"add",size:18},null)])])])])]),I("div",{class:[pe.lookAlbum,pe.collectCell],onClick:function(){var n,t;e.push({path:"/look-album-list",query:{id:null===(n=d.value)||void 0===n?void 0:n.id,musicSubject:null===(t=d.value)||void 0===t?void 0:t.musicSubject}})}},[I("div",null,[I("img",{src:f},null),I("span",null,[T("进入曲目所在专辑列表")])]),I(O,{name:"arrow",size:16,color:"#666"},null)])]),(null===(w=d.value)||void 0===w?void 0:w.id)&&I(se,{position:"bottom",background:"white"},{default:function(){var r;return[I("div",{ref:c},[Ne.value.play?I(A,{round:!0,block:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){Se.value&&Se.value.stop(),oe(d.value,(function(){}),{"part-index":Ve.partIndex||0})}},{default:function(){return[T("立即练习")]}}):I("div",{class:pe.colSticky},[Ne.value.charge&&I("div",{class:pe.priceSection},[I("span",null,[T("点播价:")]),I("span",{class:pe.price},[I("i",null,[T("¥")]),P(null===(r=d.value)||void 0===r?void 0:r.musicPrice)])]),I("div",{class:[pe.buyBtn]},[Ne.value.charge&&I(A,{round:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",class:pe.primary,onClick:Ae},{default:function(){return[T("立即点播")]}}),Ne.value.vip&&I(A,{round:!0,block:!Ne.value.charge,type:"primary",color:"linear-gradient(180deg, #F7BD8D 0%, #CD8806 100%)",class:pe.memeber,onClick:function(){e.push({path:"/memberCenter",query:n({},t.query)})}},{default:function(){return[o.value>0&&I("div",{class:[pe.buttonDiscount]},[T("专属优惠")]),T("开通会员")]}})])])])]}}),I(H,{show:Le.value,"onUpdate:show":function(e){return Le.value=e},style:{background:"transparent"},teleport:"body"},{default:function(){var e;return[I(ue,{teacherId:null===(e=D.user.data)||void 0===e?void 0:e.userId,shareUrl:ze.value,shareType:"music"},{default:function(){var e,n,t;return[I("div",{class:pe.shareMate},[1===Me.value&&I("div",{class:pe.tagDiscount},[T("专属优惠")]),I("img",{class:pe.icon,crossorigin:"anonymous",src:(null===(e=d.value)||void 0===e?void 0:e.titleImg)+"@base@tag=imgScale&h=80&w=80&m=1?t=".concat(+new Date)},null),I("div",{class:pe.info},[I("h4",{class:"van-multi-ellipsis--l2"},[null===(n=d.value)||void 0===n?void 0:n.musicSheetName]),I("p",null,[T("作曲人:"),null===(t=d.value)||void 0===t?void 0:t.composer])])])]}})]}}),I(H,{show:ye.value,"onUpdate:show":function(e){return ye.value=e},position:"bottom",round:!0},{default:function(){return[I(ne,{imgList:JSON.parse(JSON.stringify(v)),musicSheetName:d.value.musicSheetName},null)]}}),I(H,{show:xe.status,"onUpdate:show":function(e){return xe.status=e},teleport:"body",closeable:!0,style:{width:"80%"},round:!0},{default:function(){return[I("div",{class:pe.staffContainer},[I("div",{class:pe.staffTitle},[T("选择转换曲谱")]),I(q,{modelValue:xe.radio,"onUpdate:modelValue":function(e){return xe.radio=e}},{default:function(){return[I(F,{border:!1},{default:function(){return[I(M,{center:!0,border:!1,class:"staff"===xe.radio?pe.active:"",onClick:function(){return Ce("staff")}},{icon:function(){return I(V,{src:te,class:pe.staffImg},null)},title:function(){return I("span",{class:pe.name},[T("五线谱")])},value:function(){return I(G,{name:"staff"},{icon:function(e){return I(O,{class:pe.boxStyle,size:16,name:e.checked?de:me},null)}})}}),I(M,{center:!0,border:!1,class:"first"===xe.radio?pe.active:"",onClick:function(){return Ce("first")}},{icon:function(){return I(V,{src:re,class:pe.staffImg},null)},title:function(){return I("span",{class:pe.name},[T("简谱-首调")])},value:function(){return I(G,{name:"first"},{icon:function(e){return I(O,{class:pe.boxStyle,size:16,name:e.checked?de:me},null)}})}}),I(M,{center:!0,border:!1,class:"fixed"===xe.radio?pe.active:"",onClick:function(){return Ce("fixed")}},{icon:function(){return I(V,{src:ae,class:pe.staffImg},null)},title:function(){return I("span",{class:pe.name},[T("简谱-固定调")])},value:function(){return I(G,{name:"fixed"},{icon:function(e){return I(O,{class:pe.boxStyle,size:16,name:e.checked?de:me},null)}})}})]}})]}})])]}}),I(H,{teleport:"body",position:"bottom",round:!0,show:Ve.open,"onUpdate:show":function(e){return Ve.open=e}},{default:function(){return[I(_e,{columns:Ue.value,onConfirm:function(e){Ve.open=!1,Ve.partIndex=e.value,E((function(){var e,n;(n=document.getElementById("staffIframeRef"))&&n.contentWindow.renderXml&&(n.contentWindow.resetRender(Ve.partIndex),Ve.instrumentName=he(null===(e=Ve.partList[Ve.partIndex])||void 0===e?void 0:e.track))}))},onCancel:function(){return Ve.open=!1}},null)]}})])}}}))}}}))}();