header-legacy.f97fc24e.js 19 KB

1
  1. !function(){function e(e,i,n,a,t,r,o){try{var s=e[r](o),c=s.value}catch(l){return void n(l)}s.done?i(c):Promise.resolve(c).then(a,t)}var i=document.createElement("style");i.innerHTML="._search_1hixq_1{--van-cell-background-color: transparent;--van-cell-font-size: .42667rem;--van-cell-text-color: #333;--van-cell-value-color: #999;--van-cell-icon-size: .26667rem;--van-nav-bar-height: 0;--base-bg: #f6f8f9}._search_1hixq_1 ._sticky_1hixq_10 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._search_1hixq_1 ._sticky_1hixq_10>div{background-color:var(--base-bg)}._search_1hixq_1 ._sticky_1hixq_10 ._searchCancel_1hixq_16{font-size:.4rem;color:#000}._search_1hixq_1 ._sticky_1hixq_10 .van-search__content{border:.02667rem solid #fff!important;box-sizing:border-box}._search_1hixq_1 ._sticky_1hixq_10 .van-search__action{padding-right:0}._search_1hixq_1 ._title_1hixq_27{padding-top:.42667rem}._search_1hixq_1 ._title_1hixq_27 .van-cell__value{font-size:.32rem}._search_1hixq_1 ._keywordTitle_1hixq_33{display:flex;align-items:center;justify-content:space-between;padding:.21333rem .24rem;position:relative}._search_1hixq_1 ._keywordTitle_1hixq_33 ._t_1hixq_27{font-size:.37333rem;font-weight:500;color:#000;line-height:.53333rem}._search_1hixq_1 ._keywordTitle_1hixq_33 ._remove_1hixq_46{font-size:.42667rem}._search_1hixq_1 ._keywords_1hixq_49{margin-top:.26667rem;padding:0 .37333rem;display:flex;align-items:center}._search_1hixq_1 ._keywords_1hixq_49 ._content_1hixq_55{flex:1;display:flex;flex-wrap:wrap}._search_1hixq_1 ._keywords_1hixq_49 ._content_1hixq_55 ._searchKeyword_1hixq_60{--van-tag-default-color: white;--van-tag-text-color: #313443;font-size:.37333rem;padding:.13333rem .37333rem;margin-right:.13333rem;margin-bottom:.26667rem;max-width:2.66667rem;display:block;word-break:keep-all}._search_1hixq_1 ._keywords_1hixq_49 ._content_1hixq_55 ._arrowMore_1hixq_71{width:.72rem;height:.72rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background-color:#fff;font-size:.32rem;color:#93959f}._search_1hixq_1 ._label_1hixq_82{margin-right:.21333rem;font-size:.37333rem}._search_1hixq_1 ._label_1hixq_82 .van-list__loading,._search_1hixq_1 ._label_1hixq_82 .van-list__finished-text,._search_1hixq_1 ._label_1hixq_82 .van-list__error-text{width:100%}._search_1hixq_1 ._label_1hixq_82 .iconfont-down{margin-left:.10667rem}._sticky_1hixq_10 .van-sticky{background:url(./assets/bg-image-search.c44b4a0f.png) no-repeat top center;background-size:100% 5.70667rem;box-shadow:none!important}._sticky_1hixq_10 .van-search__content{background:rgba(255,255,255,.5)!important}._sticky_1hixq_10 .van-search__content input::-moz-placeholder{color:rgba(0,0,0,.4)!important}._sticky_1hixq_10 .van-search__content input::placeholder{color:rgba(0,0,0,.4)!important}._sticky_1hixq_10 .van-search__content input,._sticky_1hixq_10 .van-search__content .van-field__clear{color:rgba(0,0,0,.4)!important}._bgImg_1hixq_111{position:fixed;top:0;left:0;width:100%;height:5.70667rem;z-index:-1}._tagTabs_1hixq_119{--van-cell-background-color: transparent;--van-cell-font-size: .42667rem;--van-cell-text-color: #333;--van-cell-value-color: #999;--van-cell-icon-size: .26667rem;--van-tab-line-height: .58667rem}._tagTabs_1hixq_119 .van-tab{font-size:.42667rem!important;color:#999}._tagTabs_1hixq_119 .van-tab--active{font-size:.42667rem!important;color:#131415}._tagTabs_1hixq_119 .van-tabs__line{width:.64rem;height:.10667rem;background:linear-gradient(90deg,#FF3C81 0%,rgba(255,118,166,.5) 100%)!important;border-radius:.96rem .96rem 0 0;bottom:.58667rem}._hotMusic_1hixq_142{padding-bottom:.53333rem}._hotMusic_1hixq_142 ._swipeItem_1hixq_145 ._swipeChild_1hixq_145{margin:0 .18667rem}._hotMusic_1hixq_142 ._swipeItem_1hixq_145:last-child ._swipeChild_1hixq_145{margin-right:.37333rem}._hotMusic_1hixq_142 ._swipeItem_1hixq_145:first-child ._swipeChild_1hixq_145{margin-left:.37333rem}._hotMusic_1hixq_142 ._swipeItem_1hixq_145{border-radius:.26667rem;overflow:hidden}._hotMusic_1hixq_142 ._swipeChild_1hixq_145{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAc4AAABkCAMAAAA4yCC+AAAAolBMVEUAAAD50t361OH71uL81uL/2eb71eH81uP81eL60+H95Oz//P372+b++vv95u374On71uL84ur+7PH+8/b71OH50+D+6e772OT+9vn+7/P+8fX73ef96vD73uj//v/86O/93+f60d770t/94en52OL+7fL94+r93ub92eP91+H93OX90t792+T91OD909/41eD51uH409/91uH52uP+0t/53OUNCMgTAAAACnRSTlMA/pHqsBfYeFc3VSHTswAACsdJREFUeNrsl8FymzAURcF2nGSGxVvoDWs0bDodkDS0//9rveJJWLJl124DE7c5OHCihxKiiyCqct5fD8d93dWum4HAhMXqgkG77XHg741BV2T8Efju6f6SuvtY6v3x8PpeXeVld+zu+PPrtK0ObaDbHHaOgxVuO+erQuk8jubTLKPnKH2ac6DdZ+S4e7kSJnLSMw7oDoh5Lg1lpFnHNliG9E95vrqOaUqej/UvzM51rr8uBfq29/e6noF1mlmMWXovFs5jFmOeqzUDncCcH5+xHh61+PKJ6kf7dzmrXf/+rTpjxx4pF/kv68m7E+hH+3dnrHf9uyrjwF8UGJHknCX2UH6Q8zTXQx2+0vw9AzIcf0iWQPND6M3iBEmeO3UDBv9rPfxr+z2gH+t/nua61788b9/Uk2KMCWaNYTFOTQUcczR3OUpiRdJ3J2D1ANylaGa1Lm9hhbJXT4oB9xi7pc3FPBmkVmZI1p2QUT1AXEvgo/1ercz+RR61lhQgMsbSjIVJ2zwByLtZqhgSQ3Mbw3CAS1uGsspm+w+vx8Dg3sK1i8U2BQjiFHnYMZMY8D2XOCkn/P3JutMfdV7P9zncRTQ2pLn6+OzmyVmbEJM10UA0d9HmQNE2J78BxVTSZqOxUdHYLnEuVcm6yJisO32siu5EybSc5ydDmFbHvsyT08Y47RLd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0W6XPW7z/ZTlm+jzHsRmgDD5DcPCdHjxGSm4YhOnoqFN3kvetG8M0B6QgOpx1K0REQuPDfPN7/xjnPi5u2OKOrfAwRcHIHxvZ7Jyqu3fh+mLjcRaoDzWNxfxfb1W3FFg69s3b2/MsGvjj/bY/OfpFiWX4Gpl6GbkhsZwNnU9Rd0aoPQhW2+9z42MtR9t3Z6c1PIz38ZL0Sp6jOH+VK/9Zl2u40V1uctapryFMyi3LFVEKogE7jfzIFL7XTTO1YwBi6oevQF60UrK7h6BwaqJcSNSNvkKpsKSmNIadjG3+cC8i/2zFP1e4TxbTWNcA5uSRQ9PEAPfwYxoi0WOM8pDOpVpBtYtZ2BSS9cjLX/hCw9nJpdaBtmuQEbkDpYutNMwzWGIzUWDdZaHDOmsDofQNBu+W8ISXOr8ak17pSPUNKGd/tmoP0d1N2wS4GHcADhYa0VvRDIxMYnEuO9gVF5zh30XnOfXQcmMLusEuDOG+3GOdDSbrqBgAh56Z1m5d30Tm/OI8Qo+PkCrtDxVbdEGetzGPuq0A/D4tb9wV107Q457rkvL9H13Buq8LuMCRJf86XDUpFT61MikI+MFHICCYLGVHizAqmJA58iuagtDrJyaI5KAsvAnAUzUFZXciIEmdWsFrX4VM0B/3THh3jMAjEUBD9vbUVTaBwx/2vGEeh5QA7mrdCRvrl5BZIznHP5yXcnAIxJ0ougZgT5Z/zuA4v4eYQiDlRzImSj0DMiWJOlCyBmBPFnCjmRMkqH+at1Ls1yn2nPSUQc6KYEyXVXaOrx/P/qB/3nfa0QNKj+k21+077FxzLejfdfdUcAAAAAElFTkSuQmCC) no-repeat top center #fff;background-size:contain}._hotMusic_1hixq_142 ._swipeTitle_1hixq_162{font-size:.42667rem;font-weight:500;color:#131415;line-height:.58667rem;padding:.32rem .32rem .42667rem}._hotMusic_1hixq_142 ._swipeContent_1hixq_169{padding:0 .42667rem .21333rem;border-radius:.26667rem}._hotMusic_1hixq_142 ._swipe_1hixq_145{font-size:.37333rem;color:#6a6c77;line-height:.53333rem;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:.21333rem 0}._hotMusic_1hixq_142 ._swipe_1hixq_145 ._num_1hixq_183{display:inline-block;font-size:.42667rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#8a8c95;width:.56rem}._hotMusic_1hixq_142 ._swipe_1hixq_145 ._hot_1hixq_142{display:inline-block;width:.42667rem;line-height:.42667rem;text-align:center;background:#FE2451;border-radius:.10667rem;font-size:.32rem;font-weight:500;color:#fff;vertical-align:middle;margin-left:.10667rem;transform:scale(.9)}._hotMusic_1hixq_142 ._swipe_1hixq_145._swipeTop_1hixq_205{color:#131415}._hotMusic_1hixq_142 ._swipe_1hixq_145._swipeTop_1hixq_205 ._num_1hixq_183{color:#fe2451}._searchResult_1hixq_211{position:fixed;top:0;z-index:98;left:0;right:0;overflow:hidden;bottom:0;padding-top:var(--header-height);background:url(./assets/bg-image-search.c44b4a0f.png) no-repeat top center #fafafa;background-size:100% 5.70667rem}._searchGroups_1hixq_223{padding-top:.26667rem;height:100%;overflow-y:auto;overflow-x:hidden;font-size:.4rem;color:#131415;line-height:.56rem}._searchGroups_1hixq_223 ._searchItem_1hixq_232{display:flex;align-items:center;padding:0 .32rem .53333rem}._searchGroups_1hixq_223 ._searchItem_1hixq_232 ._rName_1hixq_237{width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._searchGroups_1hixq_223 ._searchItem_1hixq_232 span span{color:#fe2451}._searchGroups_1hixq_223 ._iconSearch_1hixq_246{width:.42667rem;height:.42667rem;margin-right:.26667rem}\n",document.head.appendChild(i),System.register(["./index-legacy.e29ebc18.js","./index-legacy.9a585ba5.js","./index-legacy.34375aa8.js","./index-legacy.da20f473.js","./index-legacy.edf184f2.js","./index-legacy.571708b1.js","./index-legacy.94b6d64c.js","./index-legacy.8ab2848d.js","./index-legacy.6e10cd37.js","./music-legacy.32ebe5b6.js","./select-subject-legacy.fb1088ff.js","./hooks-legacy.894ea94a.js","./index-legacy.2cebfa6d.js","./index-legacy.328e8c31.js"],(function(i){"use strict";var n,a,t,r,o,s,c,l,h,_,u,m,d,p,x,f,g,v,b,q,w,k,A,y,S,M,z,T,C,U,j,P,H,O;return{setters:[function(e){n=e.d,a=e.S,t=e.f,r=e.n,o=e.g,s=e.P,c=e.O,l=e.bD,h=e.a2,_=e.Q,u=e.U,m=e.j,d=e.M,p=e.z,x=e.R,f=e.aR,g=e.C,v=e.Z,b=e.W,q=e.w},function(e){w=e.T},function(){},function(){},function(e){k=e.T,A=e.a},function(e){y=e.E},function(e){S=e.S},function(e){M=e.c,z=e.e},function(e){T=e.c},function(e){C=e.g},function(e){U=e.S},function(e){j=e.a,P=e.S},function(e){H=e.T},function(e){O=e.C}],execute:function(){var R=i("s",{search:"_search_1hixq_1",sticky:"_sticky_1hixq_10",searchCancel:"_searchCancel_1hixq_16",title:"_title_1hixq_27",keywordTitle:"_keywordTitle_1hixq_33",t:"_t_1hixq_27",remove:"_remove_1hixq_46",keywords:"_keywords_1hixq_49",content:"_content_1hixq_55",searchKeyword:"_searchKeyword_1hixq_60",arrowMore:"_arrowMore_1hixq_71",label:"_label_1hixq_82",bgImg:"_bgImg_1hixq_111",tagTabs:"_tagTabs_1hixq_119",hotMusic:"_hotMusic_1hixq_142",swipeItem:"_swipeItem_1hixq_145",swipeChild:"_swipeChild_1hixq_145",swipeTitle:"_swipeTitle_1hixq_162",swipeContent:"_swipeContent_1hixq_169",swipe:"_swipe_1hixq_145",num:"_num_1hixq_183",hot:"_hot_1hixq_142",swipeTop:"_swipeTop_1hixq_205",searchResult:"_searchResult_1hixq_211",searchGroups:"_searchGroups_1hixq_223",searchItem:"_searchItem_1hixq_232",rName:"_rName_1hixq_237",iconSearch:"_iconSearch_1hixq_246"});var E=i("m",new y),I=a(),D=i("o",(function(e,i){t().isApp?r({api:"openWebView",content:{url:e,orientation:1,isHideTitle:!1}}):i&&i()})),B=n({name:"MusicSearchHeader",setup:function(){var i=j(P.SEARCH);if(!i.id){var n=o.user.data,y=n.subjectId?Number(n.subjectId.split(",")[0]):"",B=n.subjectName?n.subjectName.split(",")[0]:"";y&&j(P.SEARCH,JSON.stringify({id:y,name:B}),"set")}localStorage.setItem("behaviorId",C());var F=s(),L=c(),N=a(!1),W=a(""),V=a(""),J=M("music-search",[]),X=a("all");"/music-songbook/result"===L.path&&(W.value=L.query.search,V.value="",X.value="all"),l((function(e,i){var n=j(P.SEARCH);if($.name=n.name||"全部声部",$.id=n.id,"/music-songbook/search"===L.path){W.value="",V.value="",X.value="all";try{var a,t;null===(a=I.value)||void 0===a||null===(t=a.resetTags)||void 0===t||t.call(a)}catch(r){console.log(r)}}return"/music-songbook/result"===e.path&&(W.value=e.query.search,console.log(W.value,"value",L.query),V.value="",X.value="all"),!0})),h(X,(function(e){E.emit("changeTab",e,W.value)}));var G=a([]),K=z(function(){var n,a=(n=regeneratorRuntime.mark((function e(n){var a,t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,q.post("/api-student/music/sheet/search",{hideLoading:!0,data:{subjectId:i.id,name:n,rows:10}});case 3:a=e.sent,t=a.data,(r=t.musicNames||[]).forEach((function(e,i){i<10&&(e.name=e.name.replace(n,"<span>".concat(n,"</span>")))})),G.value=r,N.value=!!W.value,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})),function(){var i=this,a=arguments;return new Promise((function(t,r){var o=n.apply(i,a);function s(i){e(o,t,r,s,c,"next",i)}function c(i){e(o,t,r,s,c,"throw",i)}s(void 0)}))});return function(e){return a.apply(this,arguments)}}(),300),Y=function(e){console.log("object :>> ",e),W.value=e;var i=J.value.indexOf(e);i>-1&&J.value.splice(i,1),e&&(J.value.unshift(e),J.value.length=Math.min(J.value.length,10),"/music-songbook/search"===L.path&&ne()),"/music-songbook/result"!==L.path?(F.replace({path:"/music-songbook/result",query:{search:e}}),N.value=!1,G.value=[]):(N.value=!1,E.emit("search",e))},Q=function(e){$.name=e.name,$.id=e.id,j(P.SEARCH,JSON.stringify({id:e.id,name:e.name}),"set"),$.show=!1,E.emit("confirmSubject",$)},Z=j(P.SEARCH),$=_({show:!1,name:Z.name||"全部声部",id:Z.id||""}),ee=a([]),ie=_({line:0,arrowStatus:!1}),ne=function(){b((function(){if(J.value&&J.value.length){var e=-1;ie.line=0,ee.value.forEach((function(i,n){try{i.$el.style.display="block",0===n?(ie.line=1,e=i.$el.offsetLeft):i.$el.offsetLeft===e&&0!=n&&(ie.line+=1),ie.arrowStatus?i.$el.style.display="block":ie.line>2?i.$el.style.display="none":i.$el.style.display="block"}catch(a){console.log(a,"Error")}}))}}))};return"/music-songbook/search"===L.path&&ne(),u((function(){r({api:"backIconChange",content:{backIconHide:!0}})})),function(){return m("div",{class:R.search},[m("div",{class:R.sticky},[m(H,{position:"top"},{default:function(){return[m(O,{isFixed:!1,background:"transparent",title:" "},null),m(S,{modelValue:W.value,background:"transparent",showAction:!0,onInput:function(e){W.value=e,e?K(e):(G.value=[],N.value=!1,"/music-songbook/result"===L.path&&F.replace("/music-songbook/search"))},onSearch:function(e){e&&(W.value=e,console.log(e,"val"),Y(e))},type:"tenant"},{left:function(){return m("div",{class:R.label,onClick:function(){return $.show=!0}},[$.name,m(d,{classPrefix:"iconfont",name:"down",size:12,color:"#333"},null)])},action:function(){return m("span",{class:R.searchCancel,onClick:function(){t().isApp?r({api:"back"}):F.back()}},[p("取消")])}}),"/music-songbook/result"===L.path&&!N.value&&m(k,{color:"var(--van-primary)",background:"transparent",lineWidth:20,shrink:!0,class:R.tagTabs,active:X.value,"onUpdate:active":function(e){return X.value=e},onChange:function(e){return X.value=e}},{default:function(){return[m(A,{title:"综合",name:"all"},null),m(A,{title:"单曲",name:"songe"},null),m(A,{title:"专辑",name:"album"},null)]}})]}}),m("img",{class:R.bgImg,src:"./assets/bg-image-search.c44b4a0f.png"},null)]),J.value.length>0&&"/music-songbook/search"===L.path&&m("div",{class:R.keywordSection},[m("div",{class:R.keywordTitle},[m("span",{class:R.t},[p("搜索历史")]),m(d,{class:R.remove,name:"delete-o",onClick:function(){return J.value=[]}},null)]),m("div",{class:T(R.keywords)},[m("div",{class:R.content},[J.value.map((function(e,i){return m(w,{ref:function(e){return ee.value[i]=e},round:!0,class:[R.searchKeyword,"van-ellipsis"],key:e,onClick:function(){W.value=e,Y(e)}},"function"==typeof(n=e)||"[object Object]"===Object.prototype.toString.call(n)&&!v(n)?e:{default:function(){return[e]}});var n})),ie.line>2&&m("span",{class:[R.arrowMore],onClick:function(){ie.arrowStatus=!ie.arrowStatus,ne()}},[m(d,{name:ie.arrowStatus?"arrow-up":"arrow-down"},null)])])])]),"/music-songbook/search"===L.path&&m(k,{color:"var(--van-primary)",background:"transparent",lineWidth:20,shrink:!0,class:R.tagTabs,active:X.value,"onUpdate:active":function(e){return X.value=e},onChange:function(e){return X.value=e}},{default:function(){return[m(A,{title:"综合",name:"all"},null),m(A,{title:"单曲",name:"songe"},null),m(A,{title:"专辑",name:"album"},null)]}}),m(x,null,null),m(f,{show:$.show,position:"bottom",round:!0,closeable:!0,"safe-area-inset-bottom":!0,onClose:function(){return $.show=!1},onClosed:function(){return $.show=!1}},{default:function(){return[m(U,{searchParams:$,onComfirm:Q},null)]}}),m("div",{class:[R.searchResult],style:{display:N.value?"block":"none"}},[m("div",{class:R.searchGroups},[G.value.map((function(e){return m("div",{class:R.searchItem,onClick:function(){"ALBUM"===e.type?D("".concat(location.origin,"/tenant/#/music-album-detail/").concat(e.id),(function(){F.push({path:"/music-album-detail/"+e.id})})):D("".concat(location.origin,"/tenant/#/music-detail?id=").concat(e.id),(function(){F.push({path:"/music-detail",query:{id:e.id}})}))}},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAxRJREFUWEfNl01IVFEUx//nPUGnTRaYZB+QIdjGiqBVLSwJWrUQKRrmaRttruU8KYgW5csWIYSOqW9SDHPEzYSLVkFos2gXROUmQWjRhxJm6SZHcN6J9+bNzHNyZrRRp7e8957/+d1zzz33PEKWz68PVwFUC+A0gEoAu22TnwCmALwGeEwV9ZPZtNaap3RG3frTE0xyB5jPrkuYaII4essnGt6ua7296C8ALRwuKJ763AUmAUByijFjhQjfzTFmlBKhIMWZAWJ9ofJgq1ZdvbIekFUAD/TRXS5ExwBUJ415hkgaMAzp+eLc9KSmaYY5p2matLOkokqSjAvMRiNAZQ6H4SXItbeF+1c2iASAtfOPX146nJs7uO+Slx42NTX9ziTU39+/YynqugngDpCISnjhyIFz2SKRAPAHhnvAdM12tCBBrmsR7vFsO3DOP9JHawxEnwEotsaJe1Vv/fVMGhaAlXCQ3thnviJBPr9R53EnNsQLOxIGwTiZKTEtAH9gZNyR7W2qUNo3svPUtX49eBfAvVgUaEL1emrS6ZF9zz/EFvCMS45UZDvzbHCxnCiaTiYmH01XJ8ivB01SkxhEpPm8nhh5jl93YKSNmTVbpl0VSttakibAq3jmM8vHW5vd73P0bZl39Y0eI4q+s7XCqlDOpAOYAbDXLDKLc58K4/c8V4hYnShftovVrCoUZ51IyJsRiAAoBPBNFcr+XB077f168CuAfQCWVaEUpYtA3gHyfgR5T8J8X0Or4chfIcp7Kf4vHqNYFPL4HJsAW9CQgIAen1BaMhW3rWrJkj6Ze9Xm9E3JpjelEpFuMJcAuBinIKDPJxSzM+LUaGxJWx4KheTZH5EgA5cdEAGfUJpTIdICxA3/9cfEgpiPDDPD7YB47BMeYTaLjrHNfP9Wa9WFQvKp+cgQMzzxGQYGVK/nKlEMImsEcsUz+4LiPYeHAFaSu+bBFq/SaEJsOYB1xU2I0vInYDQkIajTJzw3tgUgAbHn0CBAVywIolnV6ynbNgDTJzNTd2Ckk4BLBtDRKhT/tgKslU9/AG4VwDAHjWgLAAAAAElFTkSuQmCC",class:R.iconSearch},null),m("span",{class:R.rName,innerHTML:e.name},null)])})),G.value.length<=0&&m(g,{tips:"暂无搜索结果",btnStatus:!1},null)])])])}}}),F=Object.freeze(Object.defineProperty({__proto__:null,mitter:E,openWebViewOrWeb:D,default:B},Symbol.toStringTag,{value:"Module"}));i("h",F)}}}))}();