index-legacy-81188d07-1731319840132.js 27 KB

1
  1. System.register(["./index-legacy-203d0fcc-1731319840132.js","./index-legacy-8b2185d7-1731319840132.js","./index-legacy-bb6bf184-1731319840132.js","./api-legacy-60137c97-1731319840132.js","./index-legacy-aabee6fc-1731319840132.js","./urlUtils-legacy-0ad6488a-1731319840132.js","./index-legacy-c9fcc586-1731319840132.js","./catchData-legacy-4a4f9fbe-1731319840132.js","./Scrollbar-legacy-0c52b7af-1731319840132.js"],(function(e,t){"use strict";var n,i,a,r,_,o,s,l,p,c,h,v,d,g,m,u,j,f,w,A,b,F,y,x,U,B,S,V;return{setters:[e=>{n=e.T},e=>{i=e.T},e=>{a=e.H,r=e.d,_=e.u,o=e.c,s=e.e,l=e.r,p=e.q,c=e.T,h=e.f,v=e.k,d=e.g,g=e.x,m=e.ay,u=e.j,j=e.E,f=e.D,w=e.z,A=e.aD,b=e.aW,F=e.S},e=>{y=e.c},e=>{x=e.T},e=>{U=e.v},e=>{B=e.P},e=>{S=e.u},e=>{V=e.N}],execute:function(){var k=document.createElement("style");k.textContent="._list_8hvpj_1{background:url("+new URL("bg-3e7e135a.png",t.meta.url).href+') no-repeat top center;background-size:contain;width:100%;height:100%;display:flex;flex-direction:column}._list_8hvpj_1 img{-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}._topTitle_8hvpj_23{padding:1.66666667vw 3.125vw 1.5625vw;font-size:0;display:flex;align-items:center;justify-content:space-between}._topTitle_8hvpj_23 img{height:2.23958333vw}._topTitle_8hvpj_23 ._moreMusic_8hvpj_33{padding:0 1.30208333vw;height:1.92708333vw;background:rgba(255,255,255,.7);border-radius:1.14583333vw;font-weight:600;font-size:max(.9375rem,13Px);color:#131415;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:1.6}._topTitle_8hvpj_23 ._moreMusic_8hvpj_33:after{content:"";display:inline-block;width:.3125vw;height:.52083333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAWCAMAAADD5o0oAAAAM1BMVEUAAAA5OTkUFBUTFRUTFBYTFRUUFBYTFRUUFBYUFBYUFRYUFBYTFRYVFRcVFRUqKioTFBUCDzVAAAAAEHRSTlMABLKro5CIgpmYlIyFYl8GmdAxLAAAAElJREFUGNNtzzcSwCAMRFFHnM3e/7RAgf5ohCq9QmEnX99J/0uXYZN0d8xNu2kNepySaal6nY6ujABD9EpxNUd5h0dDBMIRe1gFfH4EbruINe0AAAAASUVORK5CYII=) no-repeat center;background-size:contain;margin-left:.3125vw}._searchSection_8hvpj_56{position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 3.125vw}._searchSection_8hvpj_56 ._searchInput_8hvpj_63{width:25vw;--n-border: #fff !important}._searchSection_8hvpj_56 ._searchInput_8hvpj_63 .n-button{padding:0 1.25vw;color:#fff;--n-border: none !important;background:linear-gradient(312deg,#1b7af8 0%,#3cbbff 100%)}._searchSection_8hvpj_56 ._searchInput_8hvpj_63 .n-input__input-el{color:#000}._searchSection_8hvpj_56 ._textBtn_8hvpj_76{background-color:rgba(255,255,255,.7);--n-border: none !important;--n-text-color-focus: #333639 !important}._searchSection_8hvpj_56 ._textBtn_8hvpj_76 ._iconArrow_8hvpj_81{display:inline-block;margin-left:.41666667vw;width:.41666667vw;height:.26041667vw;background:url('+new URL("icon-arrow-8824ea53.svg",t.meta.url).href+") no-repeat center center / contain;transform:rotate(180deg);color:#8b8d98;fill:#8b8d98}._searchSection_8hvpj_56 ._textBtn_8hvpj_76:active,._searchSection_8hvpj_56 ._textBtn_8hvpj_76:focus{background-color:rgba(255,255,255,.7);--n-border: none !important;--n-border-pressed: none !important}._searchSection_8hvpj_56 ._textBtn_8hvpj_76:hover,._searchSection_8hvpj_56 ._textBtn_8hvpj_76._textBtnActive_8hvpj_98{transition-duration:0s!important;background:linear-gradient(312deg,#1B7AF8 0%,#3CBBFF 100%)!important;font-weight:500!important;color:#fff!important}._searchSection_8hvpj_56 ._textBtn_8hvpj_76:hover ._iconArrow_8hvpj_81,._searchSection_8hvpj_56 ._textBtn_8hvpj_76._textBtnActive_8hvpj_98 ._iconArrow_8hvpj_81{transform:rotate(0);background:url("+new URL("icon-arrow2-36201eb5.svg",t.meta.url).href+') no-repeat center center / contain;color:#fff;fill:#fff;margin-top:0}._searchSection_8hvpj_56 ._textBtn_8hvpj_76 .n-button__state-border{border:none!important}._searchSection_8hvpj_56 ._tags_8hvpj_115 .n-form-item-feedback-wrapper{min-height:0}._searchSection_8hvpj_56 ._tags_8hvpj_115 .n-button{min-width:4.375vw;height:1.92708333vw;font-weight:700!important;padding:0 1.25vw;font-size:max(.9375rem,13Px)}._searchSection_8hvpj_56 ._tags_8hvpj_115 .n-button--primary-type{font-weight:600!important}._container_8hvpj_128{padding:1.25vw 3.125vw;display:flex;gap:0 1.5625vw;flex:1 auto}._container_8hvpj_128 .n-spin-container{width:100%}._container_8hvpj_128 .n-spin-content{display:flex;gap:0 1.5625vw;width:100%;height:100%}._container_8hvpj_128 ._section_8hvpj_143{flex:1;border-radius:.83333333vw;background:#ffffff;overflow:hidden;height:100%}._container_8hvpj_128 ._section_8hvpj_143 ._sectionTitle_8hvpj_150{padding:.9375vw 1.25vw;display:flex;align-items:center;justify-content:space-between}._container_8hvpj_128 ._section_8hvpj_143 ._sectionTitle_8hvpj_150 ._imgTitle_8hvpj_156{height:2.1875vw}._container_8hvpj_128 ._section_8hvpj_143 ._sectionTitle_8hvpj_150 ._moreBtn_8hvpj_159{border-radius:1.04166667vw;font-weight:600;font-size:.9375rem;color:#131415;padding:.46875vw 1.04166667vw;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:1}._container_8hvpj_128 ._section_8hvpj_143 ._sectionTitle_8hvpj_150 ._moreBtn_8hvpj_159:after{content:"";display:inline-block;width:.3125vw;height:.52083333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAWCAMAAADD5o0oAAAAM1BMVEUAAAA5OTkUFBUTFRUTFBYTFRUUFBYTFRUUFBYUFBYUFRYUFBYTFRYVFRcVFRUqKioTFBUCDzVAAAAAEHRSTlMABLKro5CIgpmYlIyFYl8GmdAxLAAAAElJREFUGNNtzzcSwCAMRFFHnM3e/7RAgf5ohCq9QmEnX99J/0uXYZN0d8xNu2kNepySaal6nY6ujABD9EpxNUd5h0dDBMIRe1gFfH4EbruINe0AAAAASUVORK5CYII=) no-repeat center;background-size:contain;margin-left:.3125vw}._container_8hvpj_128 ._recommendSection_8hvpj_180{background:url('+new URL("recommon_bg-ca9c9583.png",t.meta.url).href+") no-repeat top center #fff;background-size:contain}._container_8hvpj_128 ._recommendSection_8hvpj_180 ._moreBtn_8hvpj_159{background:#d1e8ff}._container_8hvpj_128 ._hotSection_8hvpj_187{background:url("+new URL("hot_bg-8321111e.png",t.meta.url).href+") no-repeat top center #fff;background-size:contain}._container_8hvpj_128 ._hotSection_8hvpj_187 ._moreBtn_8hvpj_159{background:#f8e5f1}._container_8hvpj_128 ._newSection_8hvpj_194{background:url("+new URL("new_bg-3a985324.png",t.meta.url).href+') no-repeat top center #fff;background-size:contain}._container_8hvpj_128 ._newSection_8hvpj_194 ._moreBtn_8hvpj_159{background:#d4f1e7}._container_8hvpj_128 .n-scrollbar{max-height:calc(100vh - 3.33333333vw - 8.02083333vw - 2.5vw - 4.73958333vw);height:calc(100vh - 3.33333333vw - 8.02083333vw - 2.5vw - 4.73958333vw)}._container_8hvpj_128 ._empty_8hvpj_205{height:calc(100vh - 3.33333333vw - 8.02083333vw - 2.5vw - 4.73958333vw)}._item_8hvpj_208{display:flex;align-items:center;margin:0 .625vw .52083333vw;padding:.78125vw .625vw;border-radius:.625vw;cursor:pointer}._item_8hvpj_208:hover{background:#f5f6fa}._item_8hvpj_208 ._num_8hvpj_219{font-family:DINAlternate,DINAlternate;font-weight:700;font-size:max(.9375rem,13Px);color:#7e8287;line-height:1.14583333vw;text-align:center}._item_8hvpj_208 ._num_8hvpj_219._num1_8hvpj_227{color:#f72626}._item_8hvpj_208 ._num_8hvpj_219._num2_8hvpj_230{color:#fd6633}._item_8hvpj_208 ._num_8hvpj_219._num3_8hvpj_233{color:#ffac37}._item_8hvpj_208 ._img_8hvpj_156{width:3.125vw;height:3.125vw;background:#ddf2ff;border-radius:.41666667vw;overflow:hidden;margin:0 .83333333vw}._item_8hvpj_208 ._img_8hvpj_156 img{width:inherit;height:inherit}._item_8hvpj_208 ._infos_8hvpj_248{display:flex;flex-direction:column}._item_8hvpj_208 ._infos_8hvpj_248 ._topName_8hvpj_252{font-weight:600;font-size:max(1.04166667rem,14Px);color:#131415;line-height:1.45833333vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:19.27083333vw}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262{display:flex;padding-top:.20833333vw}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262>div{margin-right:.20833333vw}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._hot_8hvpj_187{background:#fff3f3;border-radius:.15625vw;border:1px solid rgba(254,67,67,.5);font-size:max(.625rem,11Px);color:#fe4343;padding:0 .26041667vw;line-height:14Px;display:flex;align-items:center}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._hot_8hvpj_187:before{content:"";display:inline-block;width:.52083333vw;height:.625vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAMAAADNlS1EAAAA9lBMVEUAAAD/bGb/Ul7/bnr/VF3/Q17/TF//X1//Tl7/P1//b1n/Ol//P1//a1r/alr/OWD/UV3/Z1r/WF7/SWD/OmD/b1v/XVz/UWH/SWb/VF3/Y1v/YFr/alv/QF//ZFr/YVz/WF3/aVr/SF7/XFz/TF7/ZVr/VF3/T1z/aFr/cVn/XVz/P17/UV3/d1j/S13/c1n/V1z/aFz/OGD/XVv/Tl3/WV3/SV3/dVn/cFr/b1n/cV3/OGH/X1r/VFz/T1z/Z1n/Wlv/WFv/XFv/ZFr/V1z/UVz/Ylr/SF3/Ol//RV7/Pl7/Ql7/YVr/bFn/aVn/TF3/Sl3/cFgC4AhdAAAAPHRSTlMACjwF9qFbF/Hq593NsaOaj4BaU1NCLR8R+vr29fLr6ufm49XPx8XBvb23s62tqqaYjo2MhnlwbWBTNDJyAgToAAABBklEQVQY02XR13KDMBAF0AUb3LvjOL333ptAVCPAYPz/P5NVYSaO90lz5nLZkUBO5e5Dg7V5WDY/1/BqmWXd/+FmluW0s2ob3Kg/WMFOnlN/Ntup/bEvbv6ckBcAXTV/71LMzYnnncBjVVrtqDTHfbMUdrkR4jmOG1hhuIk0mFBfGpIV2vYrLkMv8VNhrrBFXYMnWlogrYhGcIYmCOvQiiiKDdhXdcF5H2Pc4jZsl3U69KWle3Cg6m4B4F5Y0oBruV2dbzc9jtM0SVowlL81gY/JjfVAO8ScfaFepYHGfgD0LdzEBDk3jLFnfhhW7YWu0GCsVxGnyWnxrrDdGkM5I0Ne+XQsYr8qIkCzZAWpZAAAAABJRU5ErkJggg==) no-repeat center;background-size:contain;margin-right:.15625vw}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._sing_8hvpj_289,._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._song_8hvpj_290{background:#ffffff;font-size:max(.625rem,11Px);line-height:14Px;border-radius:.15625vw;padding:0 .20833333vw;display:flex;align-items:center}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._sing_8hvpj_289{border:1px solid rgba(243,130,26,.5);color:#f3821a}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._song_8hvpj_290{border:1px solid rgba(21,178,253,.5);color:#00adff}._item_8hvpj_208 ._infos_8hvpj_248 ._types_8hvpj_262 ._author_8hvpj_307{color:#777;font-size:max(.72916667rem,12Px);display:flex;align-items:center;line-height:1}._searchContainer_8hvpj_314{flex:1 auto;padding:1.04166667vw 0}._searchContainer_8hvpj_314 ._empty_8hvpj_205{display:flex;align-items:center;justify-content:center;height:100%}._searchContainer_8hvpj_314 ._loadingWrap_8hvpj_324{display:flex;justify-content:center;padding-bottom:.52083333vw}._searchContainer_8hvpj_314 ._loadingWrap_8hvpj_324._showLoading_8hvpj_329{height:0;opacity:0;min-height:0;display:none}._searchContainer_8hvpj_314 .n-scrollbar{max-height:calc(100vh - 3.33333333vw - 8.33333333vw - 2.08333333vw)}._searchContainer_8hvpj_314 ._emptyScrollBar_8hvpj_338{display:none}._sectionContainer_8hvpj_341{padding:0 2.5vw;min-height:calc(100vh - 3.33333333vw - 8.33333333vw - 2.08333333vw)}._sectionContainer_8hvpj_341>div{display:flex;flex-wrap:wrap;padding-top:.10416667vw}._sectionItem_8hvpj_350{display:flex;align-items:center;margin:0 .625vw 1.25vw;padding:.78125vw .625vw;border-radius:.625vw;width:21.09375vw;background:#ffffff;cursor:pointer;transition:all .2s ease;border:.10416667vw solid #fff;box-sizing:border-box}._sectionItem_8hvpj_350:hover{transform:scale(1.01);border:.10416667vw solid #007afe;transition:all .2s ease}._sectionItem_8hvpj_350 ._img_8hvpj_156{width:3.125vw;height:3.125vw;background:#ddf2ff;border-radius:.41666667vw;overflow:hidden;margin:0 .83333333vw}._sectionItem_8hvpj_350 ._img_8hvpj_156 img{width:inherit;height:inherit}._sectionItem_8hvpj_350 ._infos_8hvpj_248{display:flex;flex-direction:column}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._topName_8hvpj_252{font-weight:600;font-size:max(1.04166667rem,14Px);color:#131415;line-height:1.45833333vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:14.0625vw}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._topName_8hvpj_252 span{color:#198cfe;font-weight:700}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262{display:flex;padding-top:.20833333vw}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262>div{margin-right:.20833333vw}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._hot_8hvpj_187{background:#fff3f3;border-radius:.15625vw;border:1px solid rgba(254,67,67,.5);font-size:max(.625rem,11Px);color:#fe4343;padding:0 .26041667vw;line-height:14Px;display:flex;align-items:center}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._hot_8hvpj_187:before{content:"";display:inline-block;width:.52083333vw;height:.625vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAMAAADNlS1EAAAA9lBMVEUAAAD/bGb/Ul7/bnr/VF3/Q17/TF//X1//Tl7/P1//b1n/Ol//P1//a1r/alr/OWD/UV3/Z1r/WF7/SWD/OmD/b1v/XVz/UWH/SWb/VF3/Y1v/YFr/alv/QF//ZFr/YVz/WF3/aVr/SF7/XFz/TF7/ZVr/VF3/T1z/aFr/cVn/XVz/P17/UV3/d1j/S13/c1n/V1z/aFz/OGD/XVv/Tl3/WV3/SV3/dVn/cFr/b1n/cV3/OGH/X1r/VFz/T1z/Z1n/Wlv/WFv/XFv/ZFr/V1z/UVz/Ylr/SF3/Ol//RV7/Pl7/Ql7/YVr/bFn/aVn/TF3/Sl3/cFgC4AhdAAAAPHRSTlMACjwF9qFbF/Hq593NsaOaj4BaU1NCLR8R+vr29fLr6ufm49XPx8XBvb23s62tqqaYjo2MhnlwbWBTNDJyAgToAAABBklEQVQY02XR13KDMBAF0AUb3LvjOL333ptAVCPAYPz/P5NVYSaO90lz5nLZkUBO5e5Dg7V5WDY/1/BqmWXd/+FmluW0s2ob3Kg/WMFOnlN/Ntup/bEvbv6ckBcAXTV/71LMzYnnncBjVVrtqDTHfbMUdrkR4jmOG1hhuIk0mFBfGpIV2vYrLkMv8VNhrrBFXYMnWlogrYhGcIYmCOvQiiiKDdhXdcF5H2Pc4jZsl3U69KWle3Cg6m4B4F5Y0oBruV2dbzc9jtM0SVowlL81gY/JjfVAO8ScfaFepYHGfgD0LdzEBDk3jLFnfhhW7YWu0GCsVxGnyWnxrrDdGkM5I0Ne+XQsYr8qIkCzZAWpZAAAAABJRU5ErkJggg==) no-repeat center;background-size:contain;margin-right:.15625vw;vertical-align:middle}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._hot_8hvpj_187 span{line-height:1;vertical-align:text-bottom}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._sing_8hvpj_289,._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._song_8hvpj_290{background:#ffffff;font-size:max(.625rem,11Px);border-radius:.15625vw;line-height:14Px;padding:0 .20833333vw;line-height:1;display:flex;align-items:center}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._sing_8hvpj_289{border:1px solid rgba(243,130,26,.5);color:#f3821a}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._song_8hvpj_290{border:1px solid rgba(21,178,253,.5);color:#00adff}._sectionItem_8hvpj_350 ._infos_8hvpj_248 ._types_8hvpj_262 ._author_8hvpj_307{color:#777;font-size:max(.72916667rem,12Px)}._popSelect1_8hvpj_453{font-size:.83333333rem;width:10.41666667vw;box-shadow:0 .10416667vw .83333333vw rgba(0,0,0,.08);border-radius:.57291667vw;--n-option-height: 1.77083333vw}._popSelect1_8hvpj_453 .n-base-select-option__content{width:80%!important}\n',document.head.appendChild(k);const T="_list_8hvpj_1",W="_topTitle_8hvpj_23",N="_moreMusic_8hvpj_33",R="_searchSection_8hvpj_56",I="_searchInput_8hvpj_63",z="_textBtn_8hvpj_76",L="_iconArrow_8hvpj_81",D="_textBtnActive_8hvpj_98",Y="_tags_8hvpj_115",Z="_container_8hvpj_128",C="_section_8hvpj_143",M="_sectionTitle_8hvpj_150",X="_imgTitle_8hvpj_156",O="_moreBtn_8hvpj_159",P="_recommendSection_8hvpj_180",E="_hotSection_8hvpj_187",K="_newSection_8hvpj_194",H="_empty_8hvpj_205",G="_item_8hvpj_208",q="_num_8hvpj_219",J="_num1_8hvpj_227",Q="_num2_8hvpj_230",$="_num3_8hvpj_233",ee="_img_8hvpj_156",te="_infos_8hvpj_248",ne="_topName_8hvpj_252",ie="_types_8hvpj_262",ae="_hot_8hvpj_187",re="_sing_8hvpj_289",_e="_song_8hvpj_290",oe="_author_8hvpj_307",se="_searchContainer_8hvpj_314",le="_emptyScrollBar_8hvpj_338",pe="_sectionContainer_8hvpj_341",ce="_sectionItem_8hvpj_350",he="_popSelect1_8hvpj_453",ve=""+new URL("reommon_title-ec5251b9.png",t.meta.url).href,de=""+new URL("new_title-a8d05805.png",t.meta.url).href,ge=(e("a",(()=>a.get("/edu-app/musicSheetTag/queryList"))),""+new URL("title-bg-aaf8257e.png",t.meta.url).href),me=e("f",(e=>e<1e4?e:Number((e/1e4).toFixed(1))+"万")),ue=r({name:"xiaoku-list",setup(){const e=S(),t=_(),r=o(),k=s({HOT:[],NEW:[],RECOMMEND:[],isSearch:!1,keyword:null,detailLoading:!1,list:[],loading:!1,finshed:!1,instrumentId:null,page:1,rows:36,previewModal:!1,previewParams:{type:"",src:""}}),ue=s({tags:[],tagIndex:0,list:[],loading:!1}),je=async()=>{k.detailLoading=!0;try{const{data:t}=await(e={rows:20,musicalInstrumentId:k.instrumentId},a.post("/edu-app/musicSheet/queryByTag",{data:e}));k.RECOMMEND=t.RECOMMEND||[],k.HOT=t.HOT||[],k.NEW=t.NEW||[]}catch{}var e;k.detailLoading=!1},fe=e=>{const t={};return e?.forEach((e=>{e.id===ue.tagIndex&&(t.selected=!0,t.name=e.name)})),t},we=async()=>{1===k.page&&(k.loading=!0);try{const{data:e}=await y({name:k.keyword,musicalInstrumentId:k.instrumentId,page:k.page,rows:k.rows});(e.rows||[]).forEach((e=>{if(e.musicSheetName){const t=new RegExp(k.keyword,"gi"),n=e.musicSheetName.replace(t,"<span>$&</span>");e.musicNameReg=n}})),k.list=[...k.list,...e.rows],k.finshed=k.page>=e.pages}catch(e){console.log(e,"e")}k.loading=!1};l();const Ae=e=>{t.push({path:"/xiaoku-detail",query:{type:e}})},be=e=>{const t="FIRST"===e.scoreType?"firstTone":"JIAN"===e.scoreType?"fixedTone":"STAVE"===e.scoreType?"staff":"firstTone";let n=`${U()}/instrument?v=${+new Date}&platform=pc&id=${e.id}&Authorization=${r.getToken}&musicRenderType=${t}&showGuide=true&part-index=0`;k.instrumentId&&(n+="&instrumentId="+k.instrumentId),window.matchMedia("(display-mode: standalone)").matches?(w.application=window.matchMedia("(display-mode: standalone)").matches,k.previewModal=!0,A(),k.previewParams={type:"music",src:n}):window.open(n,+new Date+"")},Fe=e=>{console.log(e.data),"back"===e.data?.api&&(b(),k.previewModal=!k.previewModal)},ye=()=>{k.isSearch=!0,k.loading=!0,k.finshed=!1,k.list=[],we(),F((()=>{}))};return p((async()=>{await e.getSubjects(),(()=>{const t=e.getSubjectInstrumentOnly;if(t.length>0){const e=t[0];e.instruments&&e.instruments.length>1?(ue.tagIndex=e.instruments[0]?.value,k.instrumentId=e.instruments[0]?.value):(ue.tagIndex=e.instruments[0]?.value,k.instrumentId=e.value)}})(),je(),window.addEventListener("message",Fe)})),c((()=>{window.removeEventListener("message",Fe)})),()=>{let t;return h("div",{class:T},[h("h2",{class:W},[h("img",{src:ge},null),h("div",{class:N,onClick:()=>Ae()},[v("全部曲目")])]),h("div",{class:R},[h(d,{class:Y,showLabel:!1},{default:()=>{return[h(g,{size:[12,20]},(n=t=e.getSubjectInstrumentOnly.map((e=>e.instruments&&e.instruments.length>1?h(m,{options:e.instruments,trigger:"hover",value:ue.tagIndex,"onUpdate:value":[e=>ue.tagIndex=e,()=>{k.instrumentId=ue.tagIndex,k.isSearch?ye():je()}],scrollable:!0,key:e.value,class:[he]},{default:()=>[h(u,{round:!0,class:[z,fe(e.instruments).selected&&D]},{default:()=>[fe(e.instruments).name||e.name,h("i",{class:L},null)]})]}):h(u,{round:!0,class:[z,k.instrumentId===(e.value||0)&&D],onClick:()=>{ue.tagIndex=e.value||0,k.instrumentId=e.value,k.isSearch?ye():je()}},{default:()=>[e.name]}))),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!f(n)?t:{default:()=>[t]}))];var n}}),h(n,{round:!0,class:I,placeholder:"请输入曲目名称",onSearch:e=>{e&&e.trim()?(k.keyword=e.trim(),ye()):(k.isSearch=!1,je())}},null)]),k.isSearch?h("div",{class:se},[h(V,{class:k.loading||0!==k.list.length?"":le,onScroll:async e=>{const t=e.target?.clientHeight,n=e.target?.scrollTop,i=e.target?.scrollHeight;t+n+20>=i&&!k.finshed&&!k.loading&&(k.page=k.page+1,await we())}},{default:()=>[h(j,{show:k.loading},{default:()=>[h("div",{class:pe},[h("div",null,[k.list.map((e=>h("div",{class:ce,onClick:()=>be(e)},[h("div",{class:ee,style:{marginLeft:0}},[h("img",{referrerpolicy:"no-referrer",src:e.titleImg},null)]),h("div",{class:te},[h("div",{class:ne,innerHTML:e.musicNameReg},null),h("div",{class:ie},[h("div",{class:ae},[h("span",null,[me(e.usedNum)])]),e.audioPlayTypes?.includes("SING")&&h("div",{class:re},[v("演唱")]),e.audioPlayTypes?.includes("PLAY")&&h("div",{class:_e},[v("演奏")]),h("div",{class:oe},[e.composer])])])])))])])]})]}),!k.loading&&0===k.list.length&&h("div",{class:H},[h(x,{description:"暂无曲目"},null)])]):h("div",{class:Z},[h(j,{show:k.detailLoading},{default:()=>[h("div",{class:[C,P]},[h("div",{class:M},[h("img",{src:ve,class:X},null),h("div",{class:O,onClick:()=>Ae("RECOMMEND")},[v("更多")])]),h(V,null,{default:()=>[k.RECOMMEND.map(((e,t)=>h("div",{class:G,onClick:()=>{be(e)}},[h("div",{class:[q,0===t?J:"",1===t?Q:"",2===t?$:""]},[(t+1).toString().padStart(2,"0")]),h("div",{class:ee},[h("img",{referrerpolicy:"no-referrer",src:e.titleImg},null)]),h("div",{class:te},[h("div",{class:ne},[h(i,{text:e.musicSheetName},null)]),h("div",{class:ie},[h("div",{class:ae},[h("span",null,[me(e.usedNum)])]),e.audioPlayTypes?.includes("SING")&&h("div",{class:re},[v("演唱")]),e.audioPlayTypes?.includes("PLAY")&&h("div",{class:_e},[v("演奏")]),h("div",{class:oe},[e.composer])])])]))),!k.detailLoading&&0===k.RECOMMEND.length&&h("div",{class:H},[h(x,{description:"暂无曲目"},null)])]})]),h("div",{class:[C,E]},[h("div",{class:M},[h("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVYAAABaCAMAAADUxI5+AAAC7lBMVEUAAAD13e0UFhb33u/03ewVFRUVFRVtZGsUFRb+3vT03Oz13+/03+0TFRYUFBUUFBYUFBYUFBYUFBUTFBUTFRb03e313e0fHx8UFhZIQkcUFRUgICD03e0cHB723e0TFBUUFBb03e7///8UFRX13e0UFBn33u7/6P//4v/13ez13e0TFRb43vL13e313ez13ewXFxcVGRr/6fcUFRb13e313e313uz23e0VFhb43vD13e323+753u/13O303e0UFRf13e303Oz03e313e4TFRX23u723u323e354O4XFxf/4vH13e0TFBUTFBb13e313e313e0TFRYXGBj03e323e303e723u713e713u323u/25e324/L03e313e303Oz13ez13O313u713e0UFRUUFBYTFhYUFBUUFRb/5vMXFxesnKcaGxwyMDITFRb13e303u323e313fAbGxsdJCQTFBX13O0UFRYTFRUUFBUTFRX33e713u/13e703+0WFhYWFhb44fD13Ozs1eXNucYTFBYsKiw6Nzv13O22prHSvswUFhpxbHF7cHlLRUpDPUIoJynBsLydj5llXWQTFBUYGRqQg4w7NzxPSU7eyNZjXGPdx9ZJQ0gVFRegkZvn0N+ShI5wZ25nXmVvZmx2bXOYiZKDeICwn6pRS1EkIyXp0uDXwtEjIiPEsb2Cdn+vnapuZW20o69uZ2zjzdqPhI/Pu8nhy9utoa3HssBnXme8qLX03OwTFBXm0N+0o6+OgYpJREg1MjUuLS/HtMHu1uWej5qRhI5nX2bs1eRAPEAkIyUVFhetnah2bHNCPUJ5b3dPSE5tZGvy2urLt8ShkZzeyddeV1xZUlhTTVI9Oj0eHiB4bnVEQEQaGhyJfYbPu8nEsb68qreomKSViJHNucbArrqklqCbjJeDeIB/dXwpKCrbxtSMgIhyaHAwLjHTv83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rlcLtf/4BcGitS0QRgdvwAAAABJRU5ErkJggg==",class:X},null),h("div",{class:O,onClick:()=>Ae("HOT")},[v("更多")])]),h(V,null,{default:()=>[k.HOT.map(((e,t)=>h("div",{class:G,onClick:()=>{be(e)}},[h("div",{class:[q,0===t?J:"",1===t?Q:"",2===t?$:""]},[(t+1).toString().padStart(2,"0")]),h("div",{class:ee},[h("img",{referrerpolicy:"no-referrer",src:e.titleImg},null)]),h("div",{class:te},[h("div",{class:ne},[h(i,{text:e.musicSheetName},null)]),h("div",{class:ie},[h("div",{class:ae},[h("span",null,[me(e.usedNum)])]),e.audioPlayTypes?.includes("SING")&&h("div",{class:re},[v("演唱")]),e.audioPlayTypes?.includes("PLAY")&&h("div",{class:_e},[v("演奏")]),h("div",{class:oe},[e.composer])])])]))),!k.detailLoading&&0===k.HOT.length&&h("div",{class:H},[h(x,{description:"暂无曲目"},null)])]})]),h("div",{class:[C,K]},[h("div",{class:M},[h("img",{src:de,class:X},null),h("div",{class:O,onClick:()=>Ae("NEW")},[v("更多")])]),h(V,null,{default:()=>[k.NEW.map(((e,t)=>h("div",{class:G,onClick:()=>{be(e)}},[h("div",{class:[q,0===t?J:"",1===t?Q:"",2===t?$:""]},[(t+1).toString().padStart(2,"0")]),h("div",{class:ee},[h("img",{referrerpolicy:"no-referrer",src:e.titleImg},null)]),h("div",{class:te},[h("div",{class:ne},[h(i,{text:e.musicSheetName},null)]),h("div",{class:ie},[h("div",{class:ae},[h("span",null,[me(e.usedNum)])]),e.audioPlayTypes?.includes("SING")&&h("div",{class:re},[v("演唱")]),e.audioPlayTypes?.includes("PLAY")&&h("div",{class:_e},[v("演奏")]),h("div",{class:oe},[e.composer])])])]))),!k.detailLoading&&0===k.NEW.length&&h("div",{class:H},[h(x,{description:"暂无曲目"},null)])]})])]})]),h(B,{show:k.previewModal,"onUpdate:show":e=>k.previewModal=e,type:"music",params:k.previewParams},null)])}}}),je=Object.freeze(Object.defineProperty({__proto__:null,default:ue,formatUsedNum:me},Symbol.toStringTag,{value:"Module"}));e("i",je)}}}));