!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var i=1;i0&&1===i.current)){e.next=11;break}return e.abrupt("return");case 11:oe.list=oe.list.concat(i.rows||[]),oe.listState.finished=i.current>=i.pages,oe.params.page=i.current+1,oe.listState.dataShow=oe.list.length>0,oe.isClick=!1,e.next=23;break;case 18:e.prev=18,e.t0=e.catch(0),oe.listState.dataShow=!1,oe.listState.finished=!0,oe.isClick=!1;case 23:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}(),ve=function(){var e=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,te({id:oe.id});case 3:setTimeout((function(){oe.deleteStatus=!1,u("删除成功")}),100),setTimeout((function(){L?v({api:"goBack"}):ne.back()}),1200),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),be=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({api:"saveFile",content:{url:oe.musicDetail.videoUrl}});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ke=function(){console.log("滚动",123);var e=window.scrollY||document.documentElement.scrollTop;e>0&&!1===ie.value&&(ie.value=!0,ye(!1)),e<=0&&(ie.value=!1,ye(!0))};function ye(e){v({api:"setStatusBarTextColor",content:{statusBarTextColor:e}})}var we=f();function xe(){var e="Audio"===oe.playType?"#audioMediaSrc":"#videoMediaSrc";oe._plrl=new se(e,{controls:["play","progress","current-time","duration"],fullscreen:{enabled:!1,fallback:!1}});var t=oe._plrl;if("Audio"===oe.playType){var n=function(e,t){var n=t.getContext("2d"),i=t.getBoundingClientRect(),a=i.width,r=i.height;a=Math.ceil(a),r=Math.ceil(r),t.width=a,t.height=r;var o=function(e,t,i){var a=i.lineGap,r=i.canvWidth,o=i.canvHeight,s=i.canvFillColor,c=i.lineColor;if(t){var u=r,d=o;l(t,u,d,s);var m=e.length,p=(u/2-a*m)/m;p<1&&(p=1);for(var h=u/2,f=d/2,A=h,g=0;g