text: (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mp-html/audio/audio"],{"051b":function(t,i,n){"use strict";var e=n("1c9c"),a=n.n(e);a.a},"1c9c":function(t,i,n){},"29b0":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return o})),n.d(i,"a",(function(){return e}));var e={beeIcon:function(){return n.e("components/bee-icon/bee-icon").then(n.bind(null,"33de"))}},a=function(){var t=this,i=t.$createElement;t._self._c},o=[]},"64d2":function(t,i,n){"use strict";n.r(i);var e=n("afb3"),a=n.n(e);for(var o in e)"default"!==o&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=a.a},afb3:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("b15e"),a={data:function(){return{error:!1,playing:!1,time:"00:00",value:0}},props:{aid:String,name:String,author:String,poster:String,autoplay:[Boolean,String],controls:[Boolean,String],loop:[Boolean,String],src:String,changebg:{type:Boolean,default:!1},radiothemeColor:{type:String,default:"#000000"}},watch:{src:function(t){this.setSrc(t)}},mounted:function(){var i=this;this._ctx=t.createInnerAudioContext(),this._ctx.onError((function(t){i.error=!0,i.$emit("error",t)})),this._ctx.onTimeUpdate((function(){var t=i._ctx.currentTime,n=parseInt(t/60),e=Math.ceil(t%60);i.time=(n>9?n:"0"+n)+":"+(e>9?e:"0"+e),i.lastTime||(i.value=t/i._ctx.duration*100)})),this._ctx.onEnded((function(){i.loop||(i.playing=!1)})),e.set(this.aid,this),this.setSrc(this.src)},beforeDestroy:function(){this._ctx.destroy(),e.remove(this.aid)},onPageShow:function(){this.playing&&this._ctx.paused&&this._ctx.play()},methods:{setSrc:function(t){this._ctx.autoplay=this.autoplay,this._ctx.loop=this.loop,this._ctx.src=t,this.autoplay&&!this.playing&&(this.playing=!0)},play:function(){this._ctx.play(),this.playing=!0,this.$emit("play",{target:{id:this.aid}})},pause:function(){this._ctx.pause(),this.playing=!1,this.$emit("pause")},seek:function(t){this._ctx.seek(t)},_buttonTap:function(){this.playing?this.pause():this.play()},_seeking:function(t){if(!(t.timeStamp-this.lastTime<200)){var i=Math.round(t.detail.value/100*this._ctx.duration),n=parseInt(i/60),e=i%60;this.time=(n>9?n:"0"+n)+":"+(e>9?e:"0"+e),this.lastTime=t.timeStamp}},_seeked:function(t){this.seek(t.detail.value/100*this._ctx.duration),this.lastTime=void 0}}};i.default=a}).call(this,n("543d")["default"])},bbaa:function(t,i,n){"use strict";n.r(i);var e=n("29b0"),a=n("64d2");for(var o in a)"default"!==o&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("051b");var s,r=n("f0c5"),c=Object(r["a"])(a["default"],e["b"],e["c"],!1,null,"048d3ddd",null,!1,e["a"],s);i["default"]=c.exports}}]);
  ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
      'components/mp-html/audio/audio-create-component',
      {
          'components/mp-html/audio/audio-create-component':(function(module, exports, __webpack_require__){
              __webpack_require__('543d')['createComponent'](__webpack_require__("bbaa"))
          })
      },
      [['components/mp-html/audio/audio-create-component']]
  ]);
  