UNPKG

vue-waveform

Version:

waveform audio player wavesurfer -waveform js html 音频audio波形图

7 lines 135 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s=71)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(38)("wks"),i=n(28),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3),i=n(47),o=n(40),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(77),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){var r=n(0),i=n(2),o=n(23),a=n(10),s=n(9),c=function(t,e,n){var u,f,l,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,g=p?i:i[e]||(i[e]={}),_=g.prototype,w=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(f=!d&&w&&void 0!==w[u])&&s(g,u)||(l=f?w[u]:n[u],g[u]=p&&"function"!=typeof w[u]?n[u]:m&&f?o(l,r):y&&w[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[u]=l,t&c.R&&_&&!_[u]&&a(_,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(5),i=n(26);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(134),i=new r.a;e.a=i},function(t,e,n){var r=n(48),i=n(32);t.exports=function(t){return r(i(t))}},function(t,e,n){t.exports={default:n(82),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(79),o=r(i),a=n(78),s=r(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===c(o.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":c(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var c=Object.create(s.computed||null);Object.keys(r).forEach(function(t){var e=r[t];c[t]=function(){return e}}),s.computed=c}return{esModule:i,exports:o,options:s}}},function(t,e,n){"use strict";var r=n(14),i=n.n(r),o=n(44),a=n.n(o),s=n(6),c=n.n(s),u=n(7),f=n.n(u),l=n(67),d=n(30),p=n(68),h={WIDTH:500,HEIGHT:300},v=window.AudioContext||window.webkitAudioContext,m=new v,y=m.createAnalyser(),g=function(){function t(e){c()(this,t),this.opts=a()({},h),this.tween=new p.a,n.i(d.a)(this.opts,e||{}),y.fftSize=this.opts.fftSize,"line3"===this.opts.type?(this.analysisLine=new l.a({WIDTH:this.opts.WIDTH/4,audioContext:m,splitChannels:this.opts.splitChannels}),this.queue=[],this.masterArr=[]):this.analysisLine=new l.a({WIDTH:this.opts.WIDTH,audioContext:m,splitChannels:this.opts.splitChannels}),this.receive=this.warpperReceive(this.opts.type),this.drawBar=this.drawBar.bind(this),this.drawLine=this.drawLine.bind(this),this.mybuffer=void 0,this.animationStart=!1,this.isOpen=!1}return f()(t,[{key:"setWidth",value:function(t,e){this.clear(),this.opts.WIDTH=t}},{key:"review",value:function(t){return this.analysisLine=new l.a({WIDTH:this.opts.WIDTH,audioContext:m}),this.receive(t)}},{key:"destory",value:function(){this.opts&&this.opts.canvasCtx&&this.opts.canvasCtx.clearRect(0,0,this.opts.WIDTH,this.opts.HEIGHT)}},{key:"warpperReceive",value:function(t){var e=this;return"bar"===t?function(n){return new i.a(function(r,i){m.decodeAudioData(n,function(n){e.analysisBar(n,t),r(n)})})}:"line"===t?function(n){return new i.a(function(r,i){m.decodeAudioData(n,function(n){e.analysisBar(n,t),r(n)})})}:"line2"===t?function(t){return new i.a(function(n,r){m.decodeAudioData(t,function(t){e.mybuffer=t;var r=e.analysisLine.getPeaks(t);e.drawLine2(r),n(t)})})}:"line3"===t?function(t){return new i.a(function(n,r){m.decodeAudioData(t,function(t){e.drawLine3(t)})})}:void 0}},{key:"execQueue",value:function(t){if(0===this.queue.length)setTimeout(this.execQueue.bind(this),t||512);else{var e=this.queue[0];this.mybuffer=e;var n=this.analysisLine.getPeaks(e);this.drawLine3(n),this.queue.shift(),this.timeid=setTimeout(this.execQueue.bind(this,1e3*e.duration),t||512)}}},{key:"analysisBar",value:function(t,e){this.audioBufferSourceNode=m.createBufferSource(),this.audioBufferSourceNode.connect(y),this.audioBufferSourceNode.buffer=t,this.audioBufferSourceNode.start(0),this.bufferLength=y.frequencyBinCount,this.dataArray=new Uint8Array(this.bufferLength),this.isOpen||("line"===e?this.drawLine():"bar"===e&&this.drawBar(),this.isOpen=!0)}},{key:"drawBar",value:function(){if(this.animationStart&&null!==this.dataArray){y.getByteFrequencyData(this.dataArray),this.opts.canvasCtx.fillStyle=this.opts.bgColor,this.opts.canvasCtx.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT);var t=this.opts.WIDTH/this.bufferLength*1.2,e=void 0,n=0,r=this.opts.canvasCtx.createLinearGradient(0,0,0,this.opts.HEIGHT);r.addColorStop(0,"#0f0"),r.addColorStop(.5,"#ff0"),r.addColorStop(1,"#f00");for(var i=0;i<this.bufferLength;i++)e=this.dataArray[i]*this.opts.range,this.opts.canvasCtx.fillStyle=r,this.opts.canvasCtx.fillRect(n,this.opts.HEIGHT-e,t,e),n+=t+1;window.requestAnimationFrame(this.drawBar)}}},{key:"drawLine",value:function(){if(this.animationStart&&null!==this.dataArray){y.getByteTimeDomainData(this.dataArray),this.opts.canvasCtx.fillStyle="rgb(0, 0, 0)",this.opts.canvasCtx.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT),this.opts.canvasCtx.lineWidth=1,this.opts.canvasCtx.strokeStyle="rgb(59, 234, 46)",this.opts.canvasCtx.beginPath();for(var t=1*this.opts.WIDTH/this.bufferLength,e=0,n=0;n<this.bufferLength;n++){var r=this.dataArray[n]/128,i=r*this.opts.HEIGHT/2;0===n?this.opts.canvasCtx.moveTo(e,i):this.opts.canvasCtx.lineTo(e,i),e+=t}this.opts.canvasCtx.lineTo(this.opts.WIDTH,this.opts.HEIGHT/2),this.opts.canvasCtx.stroke(),window.requestAnimationFrame(this.drawLine)}}},{key:"stopAnimation",value:function(){this.animationStart=!1,this.isOpen=!1,this.clear()}},{key:"startAnimation",value:function(){this.isOpen=!1,this.animationStart=!0}},{key:"clear",value:function(){this.opts.canvasCtx.clearRect(0,0,this.opts.WIDTH,this.opts.HEIGHT)}},{key:"drawLine2",value:function(t){var e=this,n=t.map(function(t,e){return 1e3*t});this.opts.canvasCtx.fillStyle=this.opts.bgColor,this.opts.canvasCtx.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT),this.opts.canvasCtx.lineWidth=1,this.opts.canvasCtx.strokeStyle="rgb(59, 234, 46)",this.opts.canvasCtx.beginPath();var r=1*this.opts.WIDTH/n.length,i=n.length;this.tween.animate({x:0,duration:2e3,sliceWidth:r,count:i,callback:function(t,r,i){var o=n[t]*e.opts.range+e.opts.HEIGHT/2;return 0===t?e.opts.canvasCtx.moveTo(r,o):e.opts.canvasCtx.lineTo(r,o),r+=i,e.opts.canvasCtx.stroke(),r}}),this.opts.canvasCtx.lineTo(this.opts.WIDTH,this.opts.HEIGHT/2),this.opts.canvasCtx.stroke()}},{key:"drawLineToContext",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:64,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:870;if(t){var s=e.length/2,c=this.params.fillParent&&this.width!==s?this.width/s:1,u=Math.round(0*s),f=Math.round(1*s)+1;if(!(u>a||f<o)){var l=Math.min(u,o),d=Math.max(f,a),p=void 0,h=void 0;for(t.beginPath(),t.moveTo((l-u)*c+.5,r+i),p=l;p<d;p++){var v=e[2*p]||0,m=Math.round(v/n*r);t.lineTo((p-u)*c+.5,r-m+i)}for(h=d-1;h>=l;h--){var y=e[2*h+1]||0,g=Math.round(y/n*r);t.lineTo((h-u)*c+.5,r-g+i)}}}}},{key:"drawLine3",value:function(t){var e=this,n=this.analysisLine.getPeaks(t);if(e.masterArr.length>this.opts.WIDTH/4*4){var r=e.masterArr.length-this.opts.WIDTH/2;e.masterArr.splice(r)}var i=n.map(function(t,e){return 1e3*t});e.masterArr.unshift.apply(e.masterArr,i),this.opts.canvasCtx.fillStyle=this.opts.bgColor,this.opts.canvasCtx.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT),this.opts.canvasCtx.lineWidth=1,this.opts.canvasCtx.strokeStyle="rgb(59, 234, 46)",this.opts.canvasCtx.beginPath();for(var o=1*this.opts.WIDTH/e.masterArr.length,a=0,s=e.masterArr.length,c=0;c<s;c++){var u=e.masterArr[c]*this.opts.range+this.opts.HEIGHT/2;0===c?this.opts.canvasCtx.moveTo(a,u):this.opts.canvasCtx.lineTo(a,u),a+=o}this.opts.canvasCtx.lineTo(this.opts.WIDTH,this.opts.HEIGHT/2),this.opts.canvasCtx.stroke()}}]),t}();e.a=g},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(22);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(52),i=n(34);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(5).f,i=n(9),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(7),a=n.n(o),s=n(12),c=function(){function t(){i()(this,t),this.initMediaSource()}return a()(t,[{key:"initMediaSource",value:function(){var t=new Audio;t.currentTime=0,t.addEventListener("error",function(t){console.log(t)}),t.addEventListener("timeupdate",function(e){s.a.$emit("domtimeupdate",1e3*t.currentTime)}),window.dom=t,this.dom=t,this.mediaSource=new MediaSource,console.log("this.dom = "+this.dom.volume),this.dom.addEventListener("play",function(t){s.a.$emit("play")}),t.src=window.URL.createObjectURL(this.mediaSource),this.mediaSource.addEventListener("sourceopen",this.onSourceOpen.bind(this))}},{key:"onSourceOpen",value:function(){var t=this;this.sourceBuffer=this.mediaSource.addSourceBuffer("audio/aac"),this.sourceBuffer.addEventListener("updateend",function(){t.dom.paused&&t.dom.play()})}},{key:"play",value:function(){this.dom&&this.dom.play()}},{key:"pause",value:function(){this.dom&&this.dom.pause()}},{key:"appendBuffer",value:function(t){this.sourceBuffer.appendBuffer(t)}},{key:"stop",value:function(){this.dom&&this.dom.pause(),this.dom=null,this.mediaSource=null,this.initMediaSource()}},{key:"restartDom",value:function(){}}]),t}();e.a=c},function(t,e,n){"use strict";function r(t){var e={url:t.url,type:"get",data:{},success:t.success,error:t.error};if(e.url){var n=XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),r=e.data,i=e.url,o=e.type.toUpperCase(),a=[];for(var s in r)a.push(s+"="+r[s]);n.responseType="arraybuffer","GET"===o&&(i=i+"?"+a.join("&"),n.open(o,i.replace(/\?$/g,""),!0),n.send()),n.onload=function(){var t=n.response;200===n.status||304===n.status||206===n.status?e.success&&e.success instanceof Function&&e.success.call(n,t):e.error&&e.error instanceof Function&&e.error.call(n,t)}}}function i(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}e.b=r,e.a=i},function(t,e,n){"use strict";var r=n(14),i=n.n(r),o=n(44),a=n.n(o),s=n(15),c=n.n(s),u=n(6),f=n.n(u),l=n(7),d=n.n(l),p=n(12),h=function(){function t(e){f()(this,t),"object"!==c()(e.Mse)&&console.log("MSE is not a object"),"object"!==c()(e.Drawer)&&console.log("drawer is not a object"),this.opts=a()({},e),this.mse=e.Mse,this.drawer=e.Drawer,this.frames=0,this.buffer=[],this.drawCanvas()}return d()(t,[{key:"drawCanvas",value:function(){(this.opts.canvasCtxL||this.opts.canvasCtxR)&&(this.opts.canvasCtxL.fillStyle=this.opts.bgColor,this.opts.canvasCtxL.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT),this.opts.canvasCtxR.fillStyle=this.opts.bgColor,this.opts.canvasCtxR.fillRect(0,0,this.opts.WIDTH,this.opts.HEIGHT))}},{key:"openWs",value:function(t,e,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/ws/websocket/socketServer.do",a=this;return new i.a(function(n,i){t.startsWith("ws://")||(t="ws://"+t+o);var s=r,c=new WebSocket(t);s.ws=c,s.id=e,c.binaryType="arraybuffer",c.onopen=function(){console.log("-- WebSocket is opened! --"),console.log("-- LISTEN id : "+e),n()},c.onerror=function(t){i(t)},c.onmessage=function(t){if("[object ArrayBuffer]"===Object.prototype.toString.call(t.data))s.mse.appendBuffer(t.data),s.drawer.receive(t.data);else if("[object String]"===Object.prototype.toString.call(t.data))if(t.data.indexOf(",")>-1){var e=t.data.split(","),n=0;e.map(function(t){if(t.indexOf(":")>-1){var e=t.split(":");if("t"===e[0]&&(n=e[1]/100),"l"===e[0]&&a.opts.canvasCtxL){a.opts.canvasCtxL.fillStyle=a.opts.bgColor,a.opts.canvasCtxL.fillRect(0,0,a.opts.WIDTH,a.opts.HEIGHT);var r=a.opts.canvasCtxL.createLinearGradient(0,0,0,a.opts.HEIGHT);r.addColorStop(0,"#ed1919"),r.addColorStop(n,"#ed1919"),r.addColorStop(1,"#43e94b"),a.opts.canvasCtxL.fillStyle=r,a.opts.canvasCtxL.fillRect(0,a.opts.HEIGHT-a.opts.HEIGHT*parseInt(e[1])/100,a.opts.WIDTH,a.opts.HEIGHT)}if("r"===e[0]&&a.opts.canvasCtxR){a.opts.canvasCtxR.fillStyle=a.opts.bgColor,a.opts.canvasCtxR.fillRect(0,0,a.opts.WIDTH,a.opts.HEIGHT);var i=a.opts.canvasCtxR.createLinearGradient(0,0,0,a.opts.HEIGHT);i.addColorStop(0,"#ed1919"),i.addColorStop(n,"#ed1919"),i.addColorStop(1,"#43e94b"),a.opts.canvasCtxR.fillStyle=i,a.opts.canvasCtxR.fillRect(0,a.opts.HEIGHT-a.opts.HEIGHT*parseInt(e[1])/100,a.opts.WIDTH,a.opts.HEIGHT)}}})}else if(t.data.indexOf("time")>-1){var r=t.data.split(":");p.a.$emit("durationed",r[1])}}})}},{key:"play",value:function(){this.ws&&this.ws.send("LISTEN:"+this.id),this.drawer.startAnimation()}},{key:"seek",value:function(t){this.mse.dom.currentTime=t,this.ws&&this.ws.send("SEEK:"+t)}},{key:"pause",value:function(){this.mse.pause(),this.drawer.stopAnimation(),this.ws&&this.ws.send("STOP_LISTEN"),this.drawCanvas()}},{key:"stop",value:function(){var t=this;return this.drawer.stopAnimation(),this.drawCanvas(),new i.a(function(e,n){"[object WebSocket]"===Object.prototype.toString.call(t.ws)?(t.ws.send("STOP_LISTEN"),t.ws.onclose=function(){e(1)},t.mse&&t.mse.stop(),t.ws.close(),t.ws=null):e(0)})}}]),t}();e.a=h},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(11),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(22);t.exports.f=function(t){return new r(t)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(38)("keys"),i=n(28);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(19)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),i=n(2),o=n(19),a=n(42),s=n(5).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(1)},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){t.exports={default:n(80),__esModule:!0}},function(t,e,n){var r=n(16),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(17)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(19),i=n(8),o=n(55),a=n(10),s=n(18),c=n(94),u=n(27),f=n(103),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,m,y){c(n,e,h);var g,_,w,b=function(t){if(!d&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},A=e+" Iterator",x="values"==v,C=!1,k=t.prototype,T=k[l]||k["@@iterator"]||v&&k[v],S=T||b(v),E=v?x?b("entries"):S:void 0,I="Array"==e?k.entries||T:T;if(I&&(w=f(I.call(new t)))!==Object.prototype&&w.next&&(u(w,A,!0),r||"function"==typeof w[l]||a(w,l,p)),x&&T&&"values"!==T.name&&(C=!0,S=function(){return T.call(this)}),r&&!y||!d&&!C&&k[l]||a(k,l,S),s[e]=S,s[A]=p,v)if(g={values:x?S:b("values"),keys:m?S:b("keys"),entries:E},y)for(_ in g)_ in k||o(k,_,g[_]);else i(i.P+i.F*(d||C),e,g);return g}},function(t,e,n){var r=n(3),i=n(100),o=n(34),a=n(37)("IE_PROTO"),s=function(){},c=function(){var t,e=n(33)("iframe"),r=o.length;for(e.style.display="none",n(46).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(52),i=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(9),i=n(13),o=n(87)(!1),a=n(37)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(3),i=n(11),o=n(35);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){t.exports=n(10)},function(t,e,n){var r=n(3),i=n(22),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(23),s=n(90),c=n(46),u=n(33),f=n(0),l=f.process,d=f.setImmediate,p=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){g.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete y[t]},"process"==n(16)(l)?r=function(t){l.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:p}},function(t,e,n){var r=n(39),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(32);t.exports=function(t){return Object(r(t))}},function(t,e){},function(t,e,n){"use strict";var r=n(106)(!0);n(49)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(110);for(var r=n(0),i=n(10),o=n(18),a=n(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],f=r[u],l=f&&f.prototype;l&&!l[a]&&i(l,a,u),o[u]=o.Array}},function(t,e,n){n(119);var r=n(20)(n(72),n(129),"data-v-054a8745",null);t.exports=r.exports},function(t,e,n){n(121);var r=n(20)(n(73),n(131),"data-v-6587dcf4",null);t.exports=r.exports},function(t,e,n){n(123);var r=n(20)(n(75),n(133),"data-v-d60d5278",null);t.exports=r.exports},function(t,e,n){n(120);var r=n(20)(n(76),n(130),"data-v-3d745233",null);t.exports=r.exports},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(7),a=n.n(o),s=function(){function t(e){i()(this,t),this.WIDTH=e.WIDTH,this.pixelRatio=1,this.params=e,this.splitChannels=e.splitChannels,this.ac=e.audioContext||this.getAudioContext(),this.init()}return a()(t,[{key:"init",value:function(){this.setLength(0)}},{key:"createSource",value:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.buffer=this.buffer,this.source.connect(this.analyser)}},{key:"createVolumeNode",value:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)}},{key:"play",value:function(){this.buffer&&(this.createSource(),this.source.start(0))}},{key:"pause",value:function(){this.source&&this.source.stop(0)}},{key:"disconnectSource",value:function(){this.source&&this.source.disconnect()}},{key:"createAnalyserNode",value:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)}},{key:"createScriptNode",value:function(){this.params.audioScriptProcessor?this.scriptNode=this.params.audioScriptProcessor:this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(t.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(t.scriptBufferSize),this.scriptNode.connect(this.ac.destination)}},{key:"addOnAudioProcess",value:function(){var t=this,e=document.querySelector(".wave-mask-wrapper");this.scriptNode.onaudioprocess=function(){var n=t.ac.currentTime,r=n/t.buffer.duration;e.style="width: "+100*r+"%"}}},{key:"removeOnAudioProcess",value:function(){this.scriptNode.onaudioprocess=null}},{key:"setLength",value:function(t){if(!this.mergedPeaks||t!==2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];var e=this.buffer?this.buffer.numberOfChannels:1,n=void 0;for(n=0;n<e;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(t-1)]=0,this.splitPeaks[n][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}}},{key:"getWidth",value:function(){return Math.round(this.WIDTH*this.pixelRatio)}},{key:"getPeaks",value:function(t){this.buffer=t,this.setLength(this.WIDTH);var e=this.getWidth(),n=t.length/e,r=~~(n/10)||1,i=e-1,o=this.buffer.numberOfChannels,a=void 0;for(a=0;a<o;a++){var s=this.splitPeaks[a],c=t.getChannelData(a),u=void 0;for(u=0;u<=i;u++){var f=~~(u*n),l=~~(f+n),d=0,p=0,h=void 0;for(h=f;h<l;h+=r){var v=c[h];v>p&&(p=v),v<d&&(d=v)}s[2*u]=p,s[2*u+1]=d,(0===a||p>this.mergedPeaks[2*u])&&(this.mergedPeaks[2*u]=p),(0===a||d<this.mergedPeaks[2*u+1])&&(this.mergedPeaks[2*u+1]=d)}}return this.len=this.splitChannels?this.splitPeaks.length:this.mergedPeaks.length,this.splitChannels?this.splitPeaks:this.mergedPeaks}}]),t}();s.scriptBufferSize=256,e.a=s},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(7),a=n.n(o),s=function(){function t(){i()(this,t)}return a()(t,[{key:"animate",value:function(t){clearInterval(window.timerId);var e=void 0,n=this.createTime(),r=this,i=t.count,o=t.sliceWidth,a=t.x,s=!0,c=void 0,u=function(){var u=Math.max(0,n+t.duration-r.createTime()),f=u/t.duration||0,l=1-f;if(1===l){for(var d=Math.floor(i*l),p=c+1;p<d+1;p++)a=t.callback(p,a,o);!function(){clearInterval(e),e=null}()}else if(s)c=0,s=!1,a=t.callback(0,a,o);else{for(var h=Math.floor(i*l),v=c+1;v<h+1;v++)a=t.callback(v,a,o);c=h}};e=setInterval(u,13),window.timerId=e}},{key:"createTime",value:function(){return+new Date}}]),t}();e.a=s},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(7),a=n.n(o),s=n(12),c=window.requestAnimationFrame||window.webkitRequestAnimationFrame,u=function(){function t(e){i()(this,t),this.init(e)}return a()(t,[{key:"init",value:function(t){var e=this;if(this.params=t,t.hasAudioContext)this.createPlayer();else{this.params.duration=this.getDuration(),this.process=this.process.bind(this),this.params.media.src=t.url;var n=this;this.params.media.oncanplay=function(){n.params.media.play()},this.params.media.loop="loop",this.params.media.onplay=function(){n.createTimer()},this.params.media.ontimeupdate=function(){s.a.$emit("updateTimeEnded",e.params.media.currentTime)}}}},{key:"createPlayer",value:function(){this.isStop=!0,this.AudioContext=window.AudioContext||window.webkitAudioContext,this.audioContext=new AudioContext,this.source=this.audioContext.createBufferSource(),this.analyser=this.audioContext.createAnalyser(),this.scriptNode=this.audioContext.createScriptProcessor(4096,1,1),this.analyser.connect(this.audioContext.destination),this.scriptNode.connect(this.audioContext.destination),this.source.connect(this.analyser),this.source.connect(this.scriptNode),this.source.buffer=this.params.byteArray,this.isStop=!1,this.source.start(0);var t=this;this.source.onended=function(){t.source.disconnect(t.scriptNode),t.scriptNode.disconnect(t.audioContext.destination),s.a.$emit("sourceEnded"),setTimeout(function(){t.isStop=!0},0)},this.createTimerToAudioContext()}},{key:"createTimerToAudioContext",value:function(){var t=this;!function e(){if(!t.isStop){var n=t.audioContext.currentTime;t.process(n),c(e)}}()}},{key:"createTimer",value:function(){var t=this;!function e(){if(!t.isPaused()){var n=t.getCurrentTime();t.process(n),c(e)}}()}},{key:"getCurrentTime",value:function(){return this.params.media&&this.params.media.currentTime}},{key:"getDuration",value:function(){return this.params.duration}},{key:"process",value:function(t){var e=this.params.dom,n=t/this.params.duration;e.style="width: "+this.params.length*n+"px",s.a.$emit("process",this.params.length*n)}},{key:"setWidth",value:function(t){this.params.length=t,this.params.dom.style="width: 0px"}},{key:"isPaused",value:function(){return!this.params.media||this.params.media.paused}},{key:"play",value:function(){this.params.media.play()}},{key:"stop",value:function(){this.params.media&&this.params.media.pause(),this.source&&this.source.stop()}},{key:"pause",value:function(){this.params.media.pause()}}]),t}();e.a=u},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(7),a=n.n(o),s=n(30),c=function(){function t(e){i()(this,t),this.params={canvas:void 0,ctx:void 0,canvasW:0,canVansH:0,timecell:void 0,minutes_per_step:[1,2,5,10,15,20,30,60,120,180,240,360,720,1440],graduation_step:20,hours_per_ruler:24,start_timestamp:0,distance_between_gtitle:80,zoom:24,g_isMousedown:!1,g_isMousemove:!1,g_mousedownCursor:null,returnTime:null,on_before_click_ruler_callback:null},n.i(s.a)(this.params,e),this.params.canvas&&(this.params.ctx=this.params.canvas.getContext("2d"),this.params.canvasW=this.params.canvas.width,this.params.canvasH=this.params.canvas.height),n.i(s.a)(this,this.params),this.init(this.start_timestamp,this.timecell,!1)}return a()(t,[{key:"init",value:function(t,e,n){this.clearCanvas(),this.draw_cell_bg(),this.add_graduations(t),this.add_cells(e),this.draw_last_line(t)}},{key:"draw_last_line",value:function(t){this.drawLine(this.canvasW,0,this.canvasW,20,"rgb(64, 196, 255)",2);var e=t+1e3*this.sec_per_my;this.ctx.fillStyle="rgb(64, 196, 255)",this.ctx.fillText(this.changeTime(e),this.canvasW-34,25)}},{key:"draw_cell_bg",value:function(){this.ctx.fillStyle="rgba(69, 72, 76, 0.5)",this.ctx.fillRect(0,0,this.canvasW,15)}},{key:"accDiv",value:function(t,e){var n=0,r=0,i=void 0,o=void 0;try{n=t.toString().split(".")[1].length}catch(t){}try{r=e.toString().split(".")[1].length}catch(t){}return i=Number(t.toString().replace(".","")),o=Number(e.toString().replace(".","")),i/o*Math.pow(10,r-n)}},{key:"add_graduations",value:function(t){for(var e=this.canvasW/(this.sec_per_my/60),n=this.canvasW/(1e3*this.sec_per_my),r=(this.canvasW,this.sec_per_my,this.graduation_step),i=r/e,o=0;o<this.minutes_per_step.length;o++)if(i<=this.minutes_per_step[o]){i=this.minutes_per_step[o],r=e*i;break}for(var a=30,s=0;s<this.minutes_per_step.length;s++)if(this.distance_between_gtitle/e<=this.minutes_per_step[s]){a=this.minutes_per_step[s];break}for(var c=this.canvasW/r,u=void 0,f=void 0,l=void 0,d=this.ms_to_next_step(t,60*i*1e3),p=d*n,h=Math.round(r/n),v=0;v<c;v++){u=p+v*r,f=t+d+v*h;var m=new Date(f);if(0===m.getUTCHours()&&0===m.getUTCMinutes()){l=25;var y=this.graduation_title(m);this.ctx.fillStyle="rgba(255,255,255,1)",u+74<this.canvasW&&this.ctx.fillText(y,u,25)}else if(Math.round(f/6e4)%a==0){l=15;var g=this.graduation_title(m);this.ctx.fillStyle="rgba(151,158,167,1)",u+74<this.canvasW&&this.ctx.fillText(g,u-20,25)}else l=10;this.drawLine(u,0,u,l,"rgba(151,158,167,1)",1)}if(this.sec_per_my<61){for(var _=this.canvasW/this.sec_per_my,w=void 0,b=0;b<this.minutes_per_step.length;b++)if(_<=this.minutes_per_step[b]){w=this.minutes_per_step[b];break}var A=this.canvasW/w,x=w/(this.canvasW/this.sec_per_my);u=0;for(var C=0,k=0;k<A;k++){if(this.drawLine(u,0,u,10,"rgba(151,158,167,1)",1),k%4==0){this.ctx.fillStyle="rgba(151,158,167,1)";var T="0:00:";Math.round(C)>9?T+=Math.round(C):T+="0"+Math.round(C),u+74<this.canvasW&&this.ctx.fillText(T,u,25)}u+=w,C+=x}}}},{key:"drawLine",value:function(t,e,n,r,i,o){this.ctx.beginPath(),this.ctx.moveTo(t,e),this.ctx.lineTo(n,r),this.ctx.strokeStyle=i,this.ctx.lineWidth=o,this.ctx.stroke()}},{key:"add_cells",value:function(t){var e=this;Array.isArray(t)&&t.forEach(function(t){e.draw_cell(t)})}},{key:"draw_cell",value:function(t){var e=this.canvasW/(1e3*this.sec_per_my),n=(t.beginTime-this.start_timestamp)*e,r=(t.endTime-t.beginTime)*e;this.ctx.fillStyle=t.style.background,this.ctx.fillRect(n,0,r,15)}},{key:"add_events",value:function(){this.canvas.addEventListener&&(this.canvas.addEventListener("mousewheel",this.mousewheelFunc.bind(this)),this.canvas.addEventListener("mousedown",this.mousedownFunc.bind(this)),this.canvas.addEventListener("mousemove",this.mousemoveFunc.bind(this)),this.canvas.addEventListener("mouseup",this.mouseupFunc.bind(this)),this.canvas.addEventListener("mouseout",this.mouseoutFunc.bind(this)))}},{key:"mousedownFunc",value:function(t){this.g_isMousedown=!0,this.g_mousedownCursor=this.get_cursor_x_position(t)}},{key:"mousemoveFunc",value:function(t){var e=this.get_cursor_x_position(t),n=this.canvasW/(1e3*this.sec_per_my);if(this.clearCanvas(),this.g_isMousedown){var r=e-this.g_mousedownCursor;this.start_timestamp=this.start_timestamp-Math.round(r/n),this.init(this.start_timestamp,this.timecell,!0),this.g_isMousemove=!0,this.g_mousedownCursor=e}else{var i=this.start_timestamp+e/n;this.init(this.start_timestamp,this.timecell,!0),this.drawLine(e-1,0,e-1,25,"rgb(194, 202, 215)",1),this.ctx.fillStyle="rgb(194, 202, 215)",this.ctx.fillText(this.changeTime(i),e-36,35)}}},{key:"mouseupFunc",value:function(t){if(this.g_isMousemove)this.g_isMousemove=!1,this.g_isMousedown=!1,this.returnTime=this.start_timestamp+1e3*this.sec_per_my/2;else{this.g_isMousedown=!1;var e=this.get_cursor_x_position(t),n=3600*this.zoom*1e3/this.canvasW;this.returnTime=this.start_timestamp+e*n,this.set_time_to_middle(this.returnTime)}}},{key:"mouseoutFunc",value:function(t){this.clearCanvas(),this.init(this.start_timestamp,this.timecell,!0)}},{key:"mousewheelFunc",value:function(t){if(!t||!t.preventDefault)return window.event.returnValue=!1,!1;t.preventDefault();var e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),n=this.start_timestamp+1e3*this.sec_per_my/2;e<0?(this.zoom=this.zoom+4,this.zoom>=24&&(this.zoom=24),this.hours_per_ruler=this.zoom):e>0&&(this.zoom=this.zoom-4,this.zoom<=1&&(this.zoom=1),this.hours_per_ruler=this.zoom),this.clearCanvas(),this.start_timestamp=n-1e3*this.sec_per_my/2,this.init(this.start_timestamp,this.timecell,!0)}},{key:"get_cursor_x_position",value:function(t){var e=0;return t||(t=window.event),t.pageX||t.pageY?e=t.pageX:(t.clientX||t.clientY)&&(e=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),e}},{key:"graduation_title",value:function(t){return 0===t.getHours()&&0===t.getMinutes()&&0===t.getMilliseconds()?("0"+(t.getDate()-8).toString()).substr(-2)+"."+("0"+(t.getMonth()+1).toString()).substr(-2)+"."+t.getFullYear():t.getHours()-8+":"+("0"+t.getMinutes().toString()).substr(-2)}},{key:"graduation_sec",value:function(t){return t.getUTCSeconds()}},{key:"changeTime",value:function(t){var e=new Date(t);e.getFullYear();e.getMonth();e.getDate();var n=e.getHours();n<10&&(n="0"+n);var r=e.getMinutes();r<10&&(r="0"+r);var i=e.getSeconds();return i<10&&(i="0"+i),n-8+":"+r+":"+i}},{key:"ms_to_next_step",value:function(t,e){var n=t%e;return n?e-n:0}},{key:"set_time_to_middle",value:function(t){this.clearCanvas(),this.start_timestamp=t-1e3*this.sec_per_my/2,this.init(this.start_timestamp,this.timecell,!0)}},{key:"returnMouseupTime",value:function(t){this.returnTime&&t&&t.call(this,this.returnTime)}},{key:"clearCanvas",value:function(){this.ctx.clearRect(0,0,this.params.canvasW,this.params.canvasH)}}]),t}();e.a=c},function(t,e,n){"use strict";function r(t){r.installed&&d===t||(r.installed=!0,d=t,window.__waveform__version="3.2.8",t.component("vue-waveform",o.a),t.component("vue-waveplayer",s.a),t.component("vue-playback",u.a),t.component("vue-transfer",l.a))}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"_Vue",function(){return d}),e.waveform=r;var i=n(63),o=n.n(i),a=n(66),s=n.n(a),c=n(64),u=n.n(c),f=n(65),l=n.n(f),d=void 0},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n.n(r),o=n(15),a=n.n(o),s=n(21),c=n(31),u=n(29);e.default={name:"",mounted:function(){this.init()},props:{range:{type:Number,default:1},type:{type:String,default:"bar"},WIDTH:{default:500},HEIGHT:{type:Number,default:300},arraybuffer:{type:ArrayBuffer},bgColor:{type:String,default:"rgb(0, 0, 0)"},websocketURL:{type:String},id:{type:Number},fftSize:{type:Number,default:256}},watch:{arraybuffer:function(t,e){"object"===(void 0===t?"undefined":a()(t))&&this.drawer.receive(t)},type:function(t,e){t!==e&&(this.drawer.receive=this.drawer.warpperReceive(t))},WIDTH:function(t,e){t!==e&&this.drawer.setWidth(t)}},destroyed:function(){this.wsPlayer&&this.wsPlayer.stop(),this.wsPlayer=null},methods:{openWS:function(){var t=this;return new i.a(function(e,n){t.$nextTick(function(){t.wsPlayer.openWs(t.websocketURL,t.id).then(function(){e()})})})},play:function(){this.wsPlayer.play()},pause:function(){this.wsPlayer.pause()},stop:function(){return this.wsPlayer.stop()},init:function(){var t=this.$refs.canvas.getContext("2d"),e=this.WIDTH,n=this.HEIGHT,r=this.range,i=this.fftSize,o=this.type,a=this.bgColor;this.drawer=new s.a({canvasCtx:t,WIDTH:e,HEIGHT:n,range:r,fftSize:i,type:o,bgColor:a}),this.wsPlayer=new c.a({Mse:new u.a,Drawer:this.drawer})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n.n(r),o=n(15),a=n.n(o),s=n(12),c=n(21),u=n(31),f=n(29),l=n(128),d=n.n(l);e.default={name:"",data:function(){return{duration:0,currentTime:0}},created:function(){var t=this;s.a.$on("durationed",function(e){t.duration=t.formatDuring(e),t.$emit("durationEnded",t.duration)}),s.a.$on("updateTimeEnded",function(e){t.$emit("updateTimeEnded",e),t.currentTime=t.formatDuring(e)}),s.a.$on("seekTimed",function(e){t.wsPlayer.seek(Math.floor(e))})},mounted:function(){this.init()},components:{slider:d.a},props:{range:{type:Number,default:1},type:{type:String,default:"bar"},WIDTH:{default:500},HEIGHT:{type:Number,default:300},arraybuffer:{type:ArrayBuffer},bgColor:{type:String,default:"rgb(0, 0, 0)"},websocketURL:{type:String},id:{type:Number},fftSize:{type:Number,default:256}},watch:{currentTime:function(t,e){t!==e&&this.$emit("currentTimeEnded",t)},arraybuffer:function(t,e){"object"===(void 0===t?"undefined":a()(t))&&this.drawer.receive(t)},type:function(t,e){t!==e&&(this.drawer.receive=this.drawer.warpperReceive(t))},WIDTH:function(t,e){t!==e&&this.drawer.setWidth(t)}},destroyed:function(){this.wsPlayer&&this.wsPlayer.stop()},methods:{seekTo:function(t){this.wsPlayer.seek(t),this.$refs.slider.seekto(t)},formatDuring:function(t){var e=parseInt(t%864e5/36e5),n=parseInt(t%36e5/6e4),r=t%6e4/1e3;return r=Math.floor(r),n<=9&&(n="0"+n),e<=9&&(e="0"+e),r<=9&&(r="0"+r),e+":"+n+":"+r},openWS:function(){var t=this;return new i.a(function(e,n){t.$nextTick(function(){t.wsPlayer.openWs(t.websocketURL,t.id).then(function(){e()})})})},play:function(){this.wsPlayer.play()},pause:function(){this.wsPlayer.pause()},stop:function(){return this.wsPlayer.stop()},init:function(){var t=this.$refs.canvas.getContext("2d"),e=this.WIDTH,n=this.HEIGHT,r=this.range,i=this.fftSize,o=this.type,a=this.bgColor;this.drawer=new c.a({canvasCtx:t,WIDTH:e,HEIGHT:n-13,range:r,fftSize:i,type:o,bgColor:a});var s=new f.a;this.mse=s,this.wsPlayer=new u.a({Mse:s,Drawer:this.drawer})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);e.default={data:function(){return{current:0}},created:function(){var t=this;this.current=0,this.middleVal=0,r.a.$on("durationed",function(e){t.current=0,t.middleVal=0,t.duration=Math.floor(e)}),r.a.$on("domtimeupdate",function(e){t.current=e})},watch:{current:function(t,e){var n=t+this.middleVal;r.a.$emit("updateTimeEnded",n),this.countdown(n)}},destroyed:function(){window.clearTimeout(window.timeid)},methods:{countdown:function(t){var e=t/this.duration;e<=1&&(this.handle.style="left:"+(e*this.slider.clientWidth-13)+"px")},seekto:function(t){this.middleVal=t-this.current}},mounted:function(){var t=this,e=this.$refs.slider,n=this.$refs.handle;this.slider=e,this.handle=n,this.infos={ismove:!1,delX:e.getBoundingClientRect().left,minX:0,maxX:e.clientWidth-n.clientWidth/2},n.addEventListener("mousedown",function(e){t.infos.ismove=!0}),e.addEventListener("click",function(e){if(t.duration&&t.duration>0){var n=e.pageX-t.infos.delX,i=n/(t.slider.clientWidth-13);i>=1&&(i=.999);var o=t.duration*i;t.middleVal=o-t.current,r.a.$emit("seekTimed",o)}}),document.addEventListener("mouseup",function(e){t.infos.ismove=!1}),document.addEventListener("mousemove",function(e){if(t.infos.ismove){var r=e.clientX-t.infos.delX;r<t.infos.minX||r>t.infos.maxX||(n.style.left=r+"px")}})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n.n(r),o=n(15),a=n.n(o),s=n(21),c=n(31),u=n(29);e.default={name:"",mounted:function(){this.init()},props:{range:{type:Number,default:1},type:{type:String,default:"bar"},WIDTH:{default:500},HEIGHT:{type:Number,default:300},arraybuffer:{type:ArrayBuffer},bgColor:{type:String,default:"rgb(0, 0, 0)"},websocketURL:{type:String},id:{type:Number},fftSize:{type:Number,default:256}},watch:{arraybuffer:function(t,e){"object"===(void 0===t?"undefined":a()(t))&&this.drawer.receive(t)},type:function(t,e){t!==e&&(this.drawer.receive=this.drawer.warpperReceive(t))},WIDTH:function(t,e){t!==e&&this.drawer.setWidth(t)}},destroyed:function(){this.wsPlayer&&this.wsPlayer.stop(),this.wsPlayer=null},methods:{openWS:function(){var t=this;return new i.a(function(e,n){t.$nextTick(function(){t.wsPlayer.openWs(t.websocketURL,t.id).then(function(){e()})})})},play:function(){this.wsPlayer.play()},pause:function(){this.wsPlayer.pause()},stop:function(){return this.wsPlayer.stop()},init:function(){var t=this.$refs.canvas.getContext("2d"),e=this.$refs.decibelL.getContext("2d"),n=this.$refs.decibelR.getContext("2d"),r=this.WIDTH,i=this.HEIGHT,o=this.range,a=this.fftSize,f=this.type,l=this.bgColor;this.drawer=new s.a({canvasCtx:t,WIDTH:r,HEIGHT:i,range:o,fftSize:a,type:f,bgColor:l}),this.wsPlayer=new c.a({Mse:new u.a,canvasCtxL:e,canvasCtxR:n,WIDTH:r,HEIGHT:i,bgColor:"#070957",Drawer:this.drawer})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(15),i=n.n(r),o=n(21),a=n(30),s=n(12),c=n(69),u=n(70);e.default={name:"",mounted:function(){this.init()},data:function(){return{arraybuffer:null,isLoad:!1}},props:{URL:{default:"",type:String},range:{type:Number,default:1},playType:{default:2},openAudioContext:{default:!0},type:{type:String,default:"line2"},WIDTH:{default:500},HEIGHT:{type:Number,default:300},bgColor:{type:String,default:"rgb(0, 0, 0)"},websocketURL:{type:String},id:{type:Number},fftSize:{type:Number,default:256}},watch:{URL:function(t,e){if(""!==t){var r=this;this.isLoad=!0,t!==e&&n.i(a.b)({url:t,success:function(t){r.arraybuffer=t,r.myab=t.slice(),r.$refs.waveMask.style="width: 0px",r.timeline&&r.timeline.clearCanvas()},error:function(){this.isLoad=!1}})}},arraybuffer:function(t,e){if(null!==t&&"object"===(void 0===t?"undefined":i()(t))){this.media&&this.media.stop(),this.drawer&&this.drawer.destory(),this.buffer=this.drawer.receive(t),this.media&&this.media.source&&this.media.source.stop();var n=this;this.$nextTick(function(){n.buffer.then(function(t){n.isLoad=!1,1===n.playType?n.media=new c.a({media:n.$refs.waveAudio,duration:t.duration,length:n.WIDTH,dom:n.$refs.waveMask,url:n.URL}):2===n.playType&&(n.openAudioContext?n.media=new c.a({byteArray:t,hasAudioContext:!0,length:n.WIDTH,dom:n.$refs.waveMask,duration:t.duration}):n.media=new c.a({media:new Audio,duration:t.duration,length:n.WIDTH,dom:n.$refs.waveMask,url:n.URL})),n.$emit("ready",t.duration)})})}},type:function(t,e){t!==e&&(this.drawer.receive=this.drawer.warpperReceive(t))},WIDTH:function(t,e){var n=this;if(t!==e&&(this.drawer.setWidth(t),"[object ArrayBuffer]"===Object.prototype.toString.call(this.myab))){this.media&&this.media.setWidth(t);var r=this.myab.slice();this.buffer=this.drawer.review(r),this.isLoad=!0,s.a.$off("process"),this.buffer.then(function(t){n.isLoad=!1,n.timeline&&n.timeline.clearCanvas(),n.$emit("ready",t.duration)})}}},destroyed:function(){this.wsPlayer&&this.wsPlayer.stop(),this.wsPlayer=null},methods:{stop:function(){this.media&&this.media.stop(),this.drawer&&this.drawer.destory()},pause:function(){this.media&&this.media.pause()},seekTo:function(t){t/=1e3,this.$refs.waveAudio.currentTime=t;var e=t/this.media.getDuration();this.$refs.waveMask.style="width: "+this.WIDTH*e+"px",this.media.isPaused()&&this.media.play()},init:function(){var t=this.$refs.canvas.getContext("2d"),e=this.WIDTH,n=this.HEIGHT,r=this.range,i=this.fftSize,a=this.type,s=this.bgColor;this.drawer=new o.a({canvasCtx:t,WIDTH:e,HEIGHT:n,range:r,fftSize:i,type:a,bgColor:s}),this.addEvent()},addEvent:function(){var t=this;this.$refs.wavePlayer.style="width: "+this.WIDTH+"px;height: "+(this.HEIGHT+38)+"px;",this.$on("ready",function(e){2===t.playType&&(t.timeline=new u.a({canvas:this.$refs.timeline,hours_per_ruler:e/3600,sec_per_my:e}),s.a.$on("process",function(e){var n={};n.pageX=e,t.timeline.mousemoveFunc(n)})),this.$refs.waveContainer.addEventListener("click",function(e){var n=e.clientX-this.getBoundingClientRect().left;t.openAudioContext?t.media.isPaused()&&(t.$refs.waveMask.style="width: "+n+"px"):(t.media.isStop&&(t.$refs.waveMask.style="width: "+n+"px"),t.media.params.media.currentTime=n/t.WIDTH*t.media.getDuration())},!1)}),s.a.$on("sourceEnded",function(){t.arraybuffer=null})}}}},function(t,e,n){t.exports={default:n(81),__esModule:!0}},function(t,e,n){t.exports={default:n(83),__esModule:!0}},function(t,e,n){t.exports={default:n(84),__esModule:!0}},function(t,e,n){n(111),t.exports=n(2).Object.assign},function(t,e,n){n(112);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(60),n(61),n(62),n(113),n(115),n(116),t.exports=n(2).Promise},function(t,e,n){n(114),n(60),n(117),n(118),t.exports=n(2).Symbol},function(t,e,n){n(61),n(62),t.exports=n(42).f("iterator")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(13),i=n(58),o=n(107);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),f=o(a,u);if(t&&n!=n){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(24),i=n(36),o=n(25);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),c=o.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var r=n(23),i=n(93),o=n(91),a=n(3),s=n(58),c=n(109),u={},f={},e=t.exports=function(t,e,n,l,d){var p,h,v,m,y=d?function(){return t}:c(t),g=r(n,l,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=s(t.length);p>_;_++)if((m=e?g(a(h=t[_])[0],h[1]):g(t[_]))===u||m===f)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=i(v,g,h.value,e))===u||m===f)return m};e.BREAK=u,e.RETURN=f},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(18),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(16);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){"use strict";var r=n(50),i=n(26),o=n(27),a={};n(10)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(28)("meta"),i=n(11),o=n(9),a=n(5).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(17)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[r].i},d=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[r].w},p=function(t){return u&&h.NEED&&c(t)&&!o(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:d,onFreeze:p}},function(t,e,n){var r=n(0),i=n(57).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(16)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(u)}}else n=function(){i.call(r,u)};else{var l=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";var r=n(24),i=n(36),o=n(25),a=n(59),s=n(48),c=Object.assign;t.exports=!c||n(17)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,u=1,f=i.f,l=o.f;c>u;)for(var d,p=s(arguments[u++]),h=f?r(p).concat(f(p)):r(p),v=h.length,m=0;v>m;)l.call(p,d=h[m++])&&(n[d]=p[d]);return n}:c},function(t,e,n){var r=n(5),i=n(3),o=n(24);t.exports=n(4)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(25),i=n(26),o=n(13),a=n(40),s=n(9),c=n(47),u=Object.getOwnPropertyDescriptor;e.f=n(4)?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(13),i=n(51).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},function(t,e,n){var r=n(9),i=n(59),o=n(37)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(5),a=n(4),s=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(39),i=n(32);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){var r=n(39),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){var r=n(45),i=n(1)("iterator"),o=n(18);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(85),i=n(96),o=n(18),a=n(13);t.exports=n(49)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(8);r(r.S+r.F,"Object",{assign:n(99)})},function(t,e,n){var r=n(8);r(r.S+r.F*!n(4),"Object",{defineProperty:n(5).f})},function(t,e,n){"use strict";var r,i,o,a,s=n(19),c=n(0),u=n(23),f=n(45),l=n(8),d=n(11),p=n(22),h=n(86),v=n(89),m=n(56),y=n(57).set,g=n(98)(),_=n(35),w=n(53),b=n(108),A=n(54),x=c.TypeError,C=c.process,k=C&&C.versions,T=k&&k.v8||"",S=c.Promise,E="process"==f(C),I=function(){},O=i=_.f,H=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(I,I)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof e&&0!==T.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,f=e.domain;try{s?(i||(2==t._h&&P(t),t._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),a=!0)),n===e.promise?u(x("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(t){f&&!a&&f.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){y.call(c,function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=w(function(){E?C.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=E||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){y.call(c,function(){var e;E?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(R,r,1),u(N,r,1))}catch(t){N.call(r,t)}}):(n._v=t,n._s=1,M(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};H||(S=function(t){h(this,S,"Promise","_h"),p(t),r.call(this);try{t(u(R,this,1),u(N,this,1))}catch(t){N.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(104)(S.prototype,{then:function(t,e){var n=O(m(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(R,t,1),this.reject=u(N,t,1)},_.f=O=function(t){return t===S||t===a?new o(t):i(t)}),l(l.G+l.W+l.F*!H,{Promise:S}),n(27)(S,"Promise"),n(105)("Promise"),a=n(2).Promise,l(l.S+l.F*!H,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(s||!H),"Promise",{resolve:function(t){return A(s&&this===a?S:this,t)}}),l(l.S+l.F*!(H&&n(95)(function(t){S.all(t).catch(I)})),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,a=1;v(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,i=w(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(4),a=n(8),s=n(55),c=n(97).KEY,u=n(17),f=n(38),l=n(27),d=n(28),p=n(1),h=n(42),v=n(41),m=n(88),y=n(92),g=n(3),_=n(11),w=n(13),b=n(40),A=n(26),x=n(50),C=n(102),k=n(101),T=n(5),S=n(24),E=k.f,I=T.f,O=C.f,H=r.Symbol,L=r.JSON,M=L&&L.stringify,D=p("_hidden"),j=p("toPrimitive"),P={}.propertyIsEnumerable,N=f("symbol-registry"),R=f("symbols"),$=f("op-symbols"),W=Object.prototype,B="function"==typeof H,F=r.QObject,U=!F||!F.prototype||!F.prototype.findChild,G=o&&u(function(){return 7!=x(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=E(W,e);r&&delete W[e],I(t,e,n),r&&t!==W&&I(W,e,r)}:I,Q=function(t){var e=R[t]=x(H.prototype);return e._k=t,e},J=B&&"symbol"==typeof H.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof H},K=function(t,e,n){return t===W&&K($,e,n),g(t),e=b(e,!0),g(n),i(R,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=x(n,{enumerable:A(0,!1)})):(i(t,D)||I(t,D,A(1,{})),t[D][e]=!0),G(t,e,n)):I(t,e,n)},z=function(t,e){g(t);for(var n,r=m(e=w(e)),i=0,o=r.length;o>i;)K(t,n=r[i++],e[n]);return t},V=function(t,e){return void 0===e?x(t):z(x(t),e)},Y=function(t){var e=P.call(this,t=b(t,!0));return!(this===W&&i(R,t)&&!i($,t))&&(!(e||!i(this,t)||!i(R,t)||i(this,D)&&this[D][t])||e)},q=function(t,e){if(t=w(t),e=b(e,!0),t!==W||!i(R,e)||i($,e)){var n=E(t,e);return!n||!i(R,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=O(w(t)),r=[],o=0;n.length>o;)i(R,e=n[o++])||e==D||e==c||r.push(e);return r},Z=function(t){for(var e,n=t===W,r=O(n?$:w(t)),o=[],a=0;r.length>a;)!i(R,e=r[a++])||n&&!i(W,e)||o.push(R[e]);return o};B||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call($,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),G(this,t,A(1,n))};return o&&U&&G(W,t,{configurable:!0,set:e}),Q(t)},s(H.prototype,"toString",function(){return this._k}),k.f=q,T.f=K,n(51).f=C.f=X,n(25).f=Y,n(36).f=Z,o&&!n(19)&&s(W,"propertyIsEnumerable",Y,!0),h.f=function(t){return Q(p(t))}),a(a.G+a.W+a.F*!B,{Symbol:H});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)p(tt[et++]);for(var nt=S(p.store),rt=0;nt.length>rt;)v(nt[rt++]);a(a.S+a.F*!B,"Symbol",{for:function(t){return i(N,t+="")?N[t]:N[t]=H(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!B,"Object",{create:V,defineProperty:K,defineProperties:z,getOwnPropertyDescriptor:q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),L&&a(a.S+a.F*(!B||u(function(){var t=H();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!J(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,M.apply(L,r)}}),H.prototype[j]||n(10)(H.prototype,j,H.prototype.valueOf),l(H,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(8),i=n(2),o=n(0),a=n(56),s=n(54);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(8),i=n(35),o=n(53);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(41)("asyncIterator")},function(t,e,n){n(41)("observable")},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function a(){v&&p&&(v=!1,p.length?h=p.concat(h):m=-1,h.length&&s())}function s(){if(!v){var t=i(a);v=!0;for(var e=h.length;e;){for(p=h,h=[];++m<e;)p&&p[m].run();m=-1,e=h.length}p=null,v=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var f,l,d=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var p,h=[],v=!1,m=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new c(t,e)),1!==h.length||v||i(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return u[c]=r,s(c),c++}function i(t){delete u[t]}function o(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}function a(t){if(f)setTimeout(a,0,t);else{var e=u[t];if(e){f=!0;try{o(e)}finally{i(t),f=!1}}}}if(!t.setImmediate){var s,c=1,u={},f=!1,l=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var t=l.documentElement;s=function(e){var n=l.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),d.setImmediate=r,d.clearImmediate=i}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(43),n(124))},function(t,e,n){(function(t){function r(t,e){this._id=t,this._clearFn=e}var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;e.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(125),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(43))},function(t,e){t.exports="data:image/gif;base64,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"},function(t,e,n){n(122);var r=n(20)(n(74),n(132),"data-v-6dbc91ae",null);t.exports=r.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("canvas",{ref:"canvas",attrs:{id:"canvas",width:t.WIDTH,height:t.HEIGHT}})])},staticRenderFns:[]}},function(t,e,n){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"wavePlayer",staticClass:"wave-player"},[r("div",{ref:"waveContainer",staticClass:"wave-container"},[r("canvas",{ref:"canvas",attrs:{id:"canvas",width:t.WIDTH,height:t.HEIGHT}}),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoad,expression:"!isLoad"}],ref:"waveMask",staticClass:"wave-mask-wrapper"}),t._v(" "),r("img",{directives:[{name:"show",rawName:"v-show",value:t.isLoad,expression:"isLoad"}],staticClass:"load",attrs:{src:n(127),alt:""}})]),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:1===t.playType,expression:"playType === 1"}],staticClass:"wave-audio"},[r("audio",{ref:"waveAudio",attrs:{volume:"100",preload:"true",controls:"",src:t.URL}})]),t._v(" "),r("canvas",{directives:[{name:"show",rawName:"v-show",value:2===t.playType,expression:"playType === 2"}],ref:"timeline",staticClass:"wave-canvas",attrs:{width:t.WIDTH,height:"38",ondragstart:"return false;"}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:{width:t.WIDTH+"px",height:t.HEIGHT+"px"}},[n("div",{style:{width:t.WIDTH+"px",height:t.HEIGHT+"px"}},[n("canvas",{ref:"canvas",staticStyle:{background:"#0a1940"},attrs:{id:"canvas",width:t.WIDTH,height:t.HEIGHT-13}}),t._v(" "),n("slider",{ref:"slider"})],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{ref:"slider",staticClass:"slider"},[n("div",{staticClass:"pace"}),t._v(" "),n("div",{ref:"handle",staticClass:"handle"})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wrapper"},[n("div",{staticClass:"item decibel borderr"},[n("canvas",{ref:"decibelL",style:{background:t.bgColor},attrs:{width:"29",height:t.HEIGHT}})]),t._v(" "),n("div",{staticClass:"item decibel"},[n("canvas",{ref:"decibelR",style:{background:t.bgColor},attrs:{width:"30",height:t.HEIGHT}})]),t._v(" "),n("div",{staticClass:"item"},[n("canvas",{ref:"canvas",style:{background:t.bgColor},attrs:{id:"canvas",width:t.WIDTH-60,height:t.HEIGHT}})])])},staticRenderFns:[]}},function(t,e,n){"use strict";(function(t,n){function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===gr.call(t)}function f(t){return"[object RegExp]"===gr.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function m(t,e){return wr.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){return t.bind(e)}function w(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function b(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n<t.length;n++)t[n]&&b(e,t[n]);return e}function x(t,e,n){}function C(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return C(t,e[n])});if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return C(t[n],e[n])})}catch(t){return!1}}function k(t,e){for(var n=0;n<t.length;n++)if(C(t[n],e))return n;return-1}function T(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function S(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function E(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function I(t){if(!Mr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function O(t){return"function"==typeof t&&/native code/.test(t.toString())}function H(t){Zr.target&&ti.push(Zr.target),Zr.target=t}function L(){Zr.target=ti.pop()}function M(t){return new ei(void 0,void 0,void 0,String(t))}function D(t){var e=new ei(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}function j(t){si=t}function P(t,e,n){t.__proto__=e}function N(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];E(t,o,e[o])}}function R(t,e){if(c(t)&&!(t instanceof ei)){var n;return m(t,"__ob__")&&t.__ob__ instanceof ci?n=t.__ob__:si&&!zr()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new ci(t)),e&&n&&n.vmCount++,n}}function $(t,e,n,r,i){var o=new Zr,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=t[e]);var c=a&&a.set,u=!i&&R(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return Zr.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&F(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||(c?c.call(t,e):n=e,u=!i&&R(e),o.notify())}})}}function W(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?($(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function B(t,e){if(Array.isArray(t)&&l(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||m(t,e)&&(delete t[e],n&&n.dep.notify())}function F(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&F(e)}function U(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),a=0;a<o.length;a++)n=o[a],r=t[n],i=e[n],m(t,n)?u(r)&&u(i)&&U(r,i):W(t,n,i);return t}function G(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?U(r,i):i}:e?t?function(){return U("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Q(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function J(t,e,n,r){var i=Object.create(t||null);return e?b(i,e):i}function K(t,e){var n=t.props;if(n){var r,i,o,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o=Ar(i),a[o]={type:null});else if(u(n))for(var s in n)i=n[s],o=Ar(s),a[o]=u(i)?i:{type:i};t.props=a}}function z(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var a=n[o];r[o]=u(a)?b({from:o},a):{from:a}}}}function V(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function Y(t,e,n){function r(r){var i=ui[r]||di;c[r]=i(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),K(e,n),z(e,n),V(e);var i=e.extends;if(i&&(t=Y(t,i,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=Y(t,e.mixins[o],n);var s,c={};for(s in t)r(s);for(s in e)m(t,s)||r(s);return c}function q(t,e,n,r){if("string"==typeof n){var i=t[e];if(m(i,n))return i[n];var o=Ar(n);if(m(i,o))return i[o];var a=xr(o);if(m(i,a))return i[a];return i[n]||i[o]||i[a]}}function X(t,e,n,r){var i=e[t],o=!m(n,t),a=n[t],s=nt(Boolean,i.type);if(s>-1)if(o&&!m(i,"default"))a=!1;else if(""===a||a===kr(t)){var c=nt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Z(r,i,t);var u=si;j(!0),R(a),j(u)}return a}function Z(t,e,n){if(m(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==tt(e.type)?r.call(t):r}}function tt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function et(t,e){return tt(t)===tt(e)}function nt(t,e){if(!Array.isArray(e))return et(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(et(e[n],t))return n;return-1}function rt(t,e,n){if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,t,e,n);if(a)return}catch(t){it(t,r,"errorCaptured hook")}}it(t,e,n)}function it(t,e,n){if(Lr.errorHandler)try{return Lr.errorHandler.call(null,t,e,n)}catch(t){ot(t,null,"config.errorHandler")}ot(t,e,n)}function ot(t,e,n){if(!jr&&!Pr||"undefined"==typeof console)throw t;console.error(t)}function at(){hi=!1;var t=pi.slice(0);pi.length=0;for(var e=0;e<t.length;e++)t[e]()}function st(t){return t._withTask||(t._withTask=function(){vi=!0;var e=t.apply(null,arguments);return vi=!1,e})}function ct(t,e){var n;if(pi.push(function(){if(t)try{t.call(e)}catch(t){rt(t,e,"nextTick")}else n&&n(e)}),hi||(hi=!0,vi?li():fi()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ut(t){ft(t,wi),wi.clear()}function ft(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof ei)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)ft(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)ft(t[r[n]],e)}}function lt(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function dt(t,e,n,i,o){var a,s,c,u;for(a in t)s=t[a],c=e[a],u=bi(a),r(s)||(r(c)?(r(s.fns)&&(s=t[a]=lt(s)),n(u.name,s,u.once,u.capture,u.passive,u.params)):s!==c&&(c.fns=s,t[a]=c));for(a in e)r(t[a])&&(u=bi(a),i(u.name,e[a],u.capture))}function pt(t,e,n){function a(){n.apply(this,arguments),v(s.fns,a)}t instanceof ei&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];r(c)?s=lt([a]):i(c.fns)&&o(c.merged)?(s=c,s.fns.push(a)):s=lt([c,a]),s.merged=!0,t[e]=s}function ht(t,e,n){var o=e.options.props;if(!r(o)){var a={},s=t.attrs,c=t.props;if(i(s)||i(c))for(var u in o){var f=kr(u);vt(a,c,u,f,!0)||vt(a,s,u,f,!1)}return a}}function vt(t,e,n,r,o){if(i(e)){if(m(e,n))return t[n]=e[n],o||delete e[n],!0;if(m(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function mt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function yt(t){return s(t)?[M(t)]:Array.isArray(t)?_t(t):void 0}function gt(t){return i(t)&&i(t.text)&&a(t.isComment)}function _t(t,e){var n,a,c,u,f=[];for(n=0;n<t.length;n++)a=t[n],r(a)||"boolean"==typeof a||(c=f.length-1,u=f[c],Array.isArray(a)?a.length>0&&(a=_t(a,(e||"")+"_"+n),gt(a[0])&&gt(u)&&(f[c]=M(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?gt(u)?f[c]=M(u.text+a):""!==a&&f.push(M(a)):gt(a)&&gt(u)?f[c]=M(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function wt(t,e){return(t.__esModule||Yr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function bt(t,e,n,r,i){var o=ri();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function At(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var a=t.contexts=[n],s=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},f=T(function(n){t.resolved=wt(n,e),s||u()}),l=T(function(e){i(t.errorComp)&&(t.error=!0,u())}),d=t(f,l);return c(d)&&("function"==typeof d.then?r(t.resolved)&&d.then(f,l):i(d.component)&&"function"==typeof d.component.then&&(d.component.then(f,l),i(d.error)&&(t.errorComp=wt(d.error,e)),i(d.loading)&&(t.loadingComp=wt(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){r(t.resolved)&&r(t.error)&&(t.loading=!0,u())},d.delay||200)),i(d.timeout)&&setTimeout(function(){r(t.resolved)&&l(null)},d.timeout))),s=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(n)}function xt(t){return t.isComment&&t.asyncFactory}function Ct(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||xt(n)))return n}}function kt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Et(t,e)}function Tt(t,e,n){n?_i.$once(t,e):_i.$on(t,e)}function St(t,e){_i.$off(t,e)}function Et(t,e,n){_i=t,dt(e,n||{},Tt,St,t),_i=void 0}function It(t,e){var n={};if(!t)return n;for(var r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(Ot)&&delete n[u];return n}function Ot(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ht(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?Ht(t[n],e):e[t[n].key]=t[n].fn;return e}function Lt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Mt(t,e,n){t.$el=e,t.$options.render||(t.$options.render=ri),Rt(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},new Oi(t,r,x,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Rt(t,"mounted")),t}function Dt(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==yr);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data.attrs||yr,t.$listeners=n||yr,e&&t.$options.props){j(!1);for(var a=t._props,s=t.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c],f=t.$options.props;a[u]=X(u,f,e,t)}j(!0),t.$options.propsData=e}n=n||yr;var l=t.$options._parentListeners;t.$options._parentListeners=n,Et(t,n,l),o&&(t.$slots=It(i,r.context),t.$forceUpdate())}function jt(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Pt(t,e){if(e){if(t._directInactive=!1,jt(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Pt(t.$children[n]);Rt(t,"activated")}}function Nt(t,e){if(!(e&&(t._directInactive=!0,jt(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Nt(t.$children[n]);Rt(t,"deactivated")}}function Rt(t,e){H();var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){rt(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),L()}function $t(){Ei=xi.length=Ci.length=0,ki={},Ti=Si=!1}function Wt(){Si=!0;var t,e;for(xi.sort(function(t,e){return t.id-e.id}),Ei=0;Ei<xi.length;Ei++)t=xi[Ei],e=t.id,ki[e]=null,t.run();var n=Ci.slice(),r=xi.slice();$t(),Ut(n),Bt(r),Vr&&Lr.devtools&&Vr.emit("flush")}function Bt(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&Rt(r,"updated")}}function Ft(t){t._inactive=!1,Ci.push(t)}function Ut(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Pt(t[e],!0)}function Gt(t){var e=t.id;if(null==ki[e]){if(ki[e]=!0,Si){for(var n=xi.length-1;n>Ei&&xi[n].id>t.id;)n--;xi.splice(n+1,0,t)}else xi.push(t);Ti||(Ti=!0,ct(Wt))}}function Qt(t,e,n){Hi.get=function(){return this[e][n]},Hi.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Hi)}function Jt(t){t._watchers=[];var e=t.$options;e.props&&Kt(t,e.props),e.methods&&Zt(t,e.methods),e.data?zt(t):R(t._data={},!0),e.computed&&Yt(t,e.computed),e.watch&&e.watch!==Ur&&te(t,e.watch)}function Kt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];!t.$parent||j(!1);for(var o in e)!function(o){i.push(o);var a=X(o,e,n,t);$(r,o,a),o in t||Qt(t,"_props",o)}(o);j(!0)}function zt(t){var e=t.$options.data;e=t._data="function"==typeof e?Vt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||S(o)||Qt(t,"_data",o)}R(e,!0)}function Vt(t,e){H();try{return t.call(e,e)}catch(t){return rt(t,e,"data()"),{}}finally{L()}}function Yt(t,e){var n=t._computedWatchers=Object.create(null),r=zr();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;r||(n[i]=new Oi(t,a||x,x,Li)),i in t||qt(t,i,o)}}function qt(t,e,n){var r=!zr();"function"==typeof n?(Hi.get=r?Xt(e):n,Hi.set=x):(Hi.get=n.get?r&&!1!==n.cache?Xt(e):n.get:x,Hi.set=n.set?n.set:x),Object.defineProperty(t,e,Hi)}function Xt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Zr.target&&e.depend(),e.value}}function Zt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?x:Tr(e[n],t)}function te(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)ee(t,n,r[i]);else ee(t,n,r)}}function ee(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function ne(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function re(t){var e=ie(t.$options.inject,t);e&&(j(!1),Object.keys(e).forEach(function(n){$(t,n,e[n])}),j(!0))}function ie(t,e){if(t){for(var n=Object.create(null),r=Yr?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],a=t[o].from,s=e;s;){if(s._provided&&m(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}}return n}}function oe(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r);return i(n)&&(n._isVList=!0),n}function ae(t,e,n,r){var i,o=this.$scopedSlots[t];if(o)n=n||{},r&&(n=b(b({},r),n)),i=o(n)||e;else{var a=this.$slots[t];a&&(a._rendered=!0),i=a||e}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function se(t){return q(this.$options,"filters",t,!0)||Er}function ce(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ue(t,e,n,r,i){var o=Lr.keyCodes[e]||n;return i&&r&&!Lr.keyCodes[e]?ce(i,r):o?ce(o,t):r?kr(r)!==e:void 0}function fe(t,e,n,r,i){if(n)if(c(n)){Array.isArray(n)&&(n=A(n));var o;for(var a in n)!function(a){if("class"===a||"style"===a||_r(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||Lr.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}if(!(a in o)&&(o[a]=n[a],i)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function le(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),pe(r,"__static__"+t,!1),r)}function de(t,e,n){return pe(t,"__once__"+e+(n?"_"+n:""),!0),t}function pe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&he(t[r],e+"_"+r,n);else he(t,e,n)}function he(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ve(t,e){if(e)if(u(e)){var n=t.on=t.on?b({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function me(t){t._o=de,t._n=p,t._s=d,t._l=oe,t._t=ae,t._q=C,t._i=k,t._m=le,t._f=se,t._k=ue,t._b=fe,t._v=M,t._e=ri,t._u=Ht,t._g=ve}function ye(t,e,n,r,i){var a,s=i.options;m(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var c=o(s._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||yr,this.injections=ie(s.inject,r),this.slots=function(){return It(n,r)},c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||yr),s._scopeId?this._c=function(t,e,n,i){var o=ke(a,t,e,n,i,u);return o&&!Array.isArray(o)&&(o.fnScopeId=s._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,r){return ke(a,t,e,n,r,u)}}function ge(t,e,n,r,o){var a=t.options,s={},c=a.props;if(i(c))for(var u in c)s[u]=X(u,c,e||yr);else i(n.attrs)&&we(s,n.attrs),i(n.props)&&we(s,n.props);var f=new ye(n,s,o,r,t),l=a.render.call(null,f._c,f);if(l instanceof ei)return _e(l,n,f.parent,a);if(Array.isArray(l)){for(var d=yt(l)||[],p=new Array(d.length),h=0;h<d.length;h++)p[h]=_e(d[h],n,f.parent,a);return p}}function _e(t,e,n,r){var i=D(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function we(t,e){for(var n in e)t[Ar(n)]=e[n]}function be(t,e,n,a,s){if(!r(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"==typeof t){var f;if(r(t.cid)&&(f=t,void 0===(t=At(f,u,n))))return bt(f,e,n,a,s);e=e||{},He(t),i(e.model)&&Ce(t.options,e);var l=ht(e,t,s);if(o(t.options.functional))return ge(t,l,e,n,a);var d=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}xe(e);var h=t.options.name||s;return new ei("vue-component-"+t.cid+(h?"-"+h:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:l,listeners:d,tag:s,children:a},f)}}}function Ae(t,e,n,r){var o={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return i(a)&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new t.componentOptions.Ctor(o)}function xe(t){for(var e=t.hook||(t.hook={}),n=0;n<Di.length;n++){var r=Di[n];e[r]=Mi[r]}}function Ce(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}function ke(t,e,n,r,i,a){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o(a)&&(i=Pi),Te(t,e,n,r,i)}function Te(t,e,n,r,o){if(i(n)&&i(n.__ob__))return ri();if(i(n)&&i(n.is)&&(e=n.is),!e)return ri();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===Pi?r=yt(r):o===ji&&(r=mt(r));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||Lr.getTagNamespace(e),a=Lr.isReservedTag(e)?new ei(Lr.parsePlatformTagName(e),n,r,void 0,void 0,t):i(c=q(t.$options,"components",e))?be(c,n,t,r,e):new ei(e,n,r,void 0,void 0,t)}else a=be(e,n,t,r);return Array.isArray(a)?a:i(a)?(i(s)&&Se(a,s),i(n)&&Ee(n),a):ri()}function Se(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&Se(c,e,n)}}function Ee(t){c(t.style)&&ut(t.style),c(t.class)&&ut(t.class)}function Ie(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=It(e._renderChildren,r),t.$scopedSlots=yr,t._c=function(e,n,r,i){return ke(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return ke(t,e,n,r,i,!0)};var i=n&&n.data;$(t,"$attrs",i&&i.attrs||yr,null,!0),$(t,"$listeners",e._parentListeners||yr,null,!0)}function Oe(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function He(t){var e=t.options;if(t.super){var n=He(t.super);if(n!==t.superOptions){t.superOptions=n;var r=Le(t);r&&b(t.extendOptions,r),e=t.options=Y(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Le(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=Me(n[o],r[o],i[o]));return e}function Me(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function De(t){this._init(t)}function je(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=w(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Pe(t){t.mixin=function(t){return this.options=Y(this.options,t),this}}function Ne(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Y(n.options,t),a.super=n,a.options.props&&Re(a),a.options.computed&&$e(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Or.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=b({},a.options),i[r]=a,a}}function Re(t){var e=t.options.props;for(var n in e)Qt(t.prototype,"_props",n)}function $e(t){var e=t.options.computed;for(var n in e)qt(t.prototype,n,e[n])}function We(t){Or.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Be(t){return t&&(t.Ctor.options.name||t.tag)}function Fe(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Ue(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Be(a.componentOptions);s&&!e(s)&&Ge(n,o,r,i)}}}function Ge(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}function Qe(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Je(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Je(e,n.data));return Ke(e.staticClass,e.class)}function Je(t,e){return{staticClass:ze(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Ke(t,e){return i(t)||i(e)?ze(t,Ve(e)):""}function ze(t,e){return t?e?t+" "+e:t:e||""}function Ve(t){return Array.isArray(t)?Ye(t):c(t)?qe(t):"string"==typeof t?t:""}function Ye(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Ve(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function qe(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function Xe(t){return to(t)?"svg":"math"===t?"math":void 0}function Ze(t){if(!jr)return!0;if(eo(t))return!1;if(t=t.toLowerCase(),null!=no[t])return no[t];var e=document.createElement(t);return t.indexOf("-")>-1?no[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:no[t]=/HTMLUnknownElement/.test(e.toString())}function tn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function en(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(t,e){return document.createElementNS(Xi[t],e)}function rn(t){return document.createTextNode(t)}function on(t){return document.createComment(t)}function an(t,e,n){t.insertBefore(e,n)}function sn(t,e){t.removeChild(e)}function cn(t,e){t.appendChild(e)}function un(t){return t.parentNode}function fn(t){return t.nextSibling}function ln(t){return t.tagName}function dn(t,e){t.textContent=e}function pn(t,e){t.setAttribute(e,"")}function hn(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?v(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}function vn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&mn(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function mn(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||ro(r)&&ro(o)}function yn(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function gn(t,e){(t.data.directives||e.data.directives)&&_n(t,e)}function _n(t,e){var n,r,i,o=t===ao,a=e===ao,s=wn(t.data.directives,t.context),c=wn(e.data.directives,e.context),u=[],f=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,An(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):(An(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var l=function(){for(var n=0;n<u.length;n++)An(u[n],"inserted",e,t)};o?pt(e,"insert",l):l()}if(f.length&&pt(e,"postpatch",function(){for(var n=0;n<f.length;n++)An(f[n],"componentUpdated",e,t)}),!o)for(n in s)c[n]||An(s[n],"unbind",t,t,a)}function wn(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=uo),n[bn(i)]=i,i.def=q(e.$options,"directives",i.name,!0);return n}function bn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function An(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){rt(r,n.context,"directive "+t.name+" "+e+" hook")}}function xn(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var o,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};i(u.__ob__)&&(u=e.data.attrs=b({},u));for(o in u)a=u[o],c[o]!==a&&Cn(s,o,a);($r||Br)&&u.value!==c.value&&Cn(s,"value",u.value);for(o in c)r(u[o])&&(Vi(o)?s.removeAttributeNS(zi,Yi(o)):Ji(o)||s.removeAttribute(o))}}function Cn(t,e,n){t.tagName.indexOf("-")>-1?kn(t,e,n):Ki(e)?qi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ji(e)?t.setAttribute(e,qi(n)||"false"===n?"false":"true"):Vi(e)?qi(n)?t.removeAttributeNS(zi,Yi(e)):t.setAttributeNS(zi,e,n):kn(t,e,n)}function kn(t,e,n){if(qi(n))t.removeAttribute(e);else{if($r&&!Wr&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function Tn(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Qe(e),c=n._transitionClasses;i(c)&&(s=ze(s,Ve(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Sn(t){if(i(t[ho])){var e=$r?"change":"input";t[e]=[].concat(t[ho],t[e]||[]),delete t[ho]}i(t[vo])&&(t.change=[].concat(t[vo],t.change||[]),delete t[vo])}function En(t,e,n){var r=Bi;return function i(){null!==t.apply(null,arguments)&&On(e,i,n,r)}}function In(t,e,n,r,i){e=st(e),n&&(e=En(e,t,r)),Bi.addEventListener(t,e,Gr?{capture:r,passive:i}:r)}function On(t,e,n,r){(r||Bi).removeEventListener(t,e._withTask||e,n)}function Hn(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Bi=e.elm,Sn(n),dt(n,i,In,On,e.context),Bi=void 0}}function Ln(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};i(c.__ob__)&&(c=e.data.domProps=b({},c));for(n in s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);Mn(a,u)&&(a.value=u)}else a[n]=o}}}function Mn(t,e){return!t.composing&&("OPTION"===t.tagName||Dn(t,e)||jn(t,e))}function Dn(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function jn(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function Pn(t){var e=Nn(t.style);return t.staticStyle?b(t.staticStyle,e):e}function Nn(t){return Array.isArray(t)?A(t):"string"==typeof t?go(t):t}function Rn(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Pn(i.data))&&b(r,n);(n=Pn(t.data))&&b(r,n);for(var o=t;o=o.parent;)o.data&&(n=Pn(o.data))&&b(r,n);return r}function $n(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,c=e.elm,u=o.staticStyle,f=o.normalizedStyle||o.style||{},l=u||f,d=Nn(e.data.style)||{};e.data.normalizedStyle=i(d.__ob__)?b({},d):d;var p=Rn(e,!0);for(s in l)r(p[s])&&bo(c,s,"");for(s in p)(a=p[s])!==l[s]&&bo(c,s,null==a?"":a)}}function Wn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Bn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Fn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&b(e,ko(t.name||"v")),b(e,t),e}return"string"==typeof t?ko(t):void 0}}function Un(t){Mo(function(){Mo(t)})}function Gn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Wn(t,e))}function Qn(t,e){t._transitionClasses&&v(t._transitionClasses,e),Bn(t,e)}function Jn(t,e,n){var r=Kn(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===So?Oo:Lo,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),t.addEventListener(s,f)}function Kn(t,e){var n,r=window.getComputedStyle(t),i=r[Io+"Delay"].split(", "),o=r[Io+"Duration"].split(", "),a=zn(i,o),s=r[Ho+"Delay"].split(", "),c=r[Ho+"Duration"].split(", "),u=zn(s,c),f=0,l=0;return e===So?a>0&&(n=So,f=a,l=o.length):e===Eo?u>0&&(n=Eo,f=u,l=c.length):(f=Math.max(a,u),n=f>0?a>u?So:Eo:null,l=n?n===So?o.length:c.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===So&&Do.test(r[Io+"Property"])}}function zn(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Vn(e)+Vn(t[n])}))}function Vn(t){return 1e3*Number(t.slice(0,-1))}function Yn(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Fn(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var a=o.css,s=o.type,u=o.enterClass,f=o.enterToClass,l=o.enterActiveClass,d=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,m=o.beforeEnter,y=o.enter,g=o.afterEnter,_=o.enterCancelled,w=o.beforeAppear,b=o.appear,A=o.afterAppear,x=o.appearCancelled,C=o.duration,k=Ai,S=Ai.$vnode;S&&S.parent;)S=S.parent,k=S.context;var E=!k._isMounted||!t.isRootInsert;if(!E||b||""===b){var I=E&&d?d:u,O=E&&v?v:l,H=E&&h?h:f,L=E?w||m:m,M=E&&"function"==typeof b?b:y,D=E?A||g:g,j=E?x||_:_,P=p(c(C)?C.enter:C),N=!1!==a&&!Wr,R=Zn(M),$=n._enterCb=T(function(){N&&(Qn(n,H),Qn(n,O)),$.cancelled?(N&&Qn(n,I),j&&j(n)):D&&D(n),n._enterCb=null});t.data.show||pt(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,$)}),L&&L(n),N&&(Gn(n,I),Gn(n,O),Un(function(){Qn(n,I),$.cancelled||(Gn(n,H),R||(Xn(P)?setTimeout($,P):Jn(n,s,$)))})),t.data.show&&(e&&e(),M&&M(n,$)),N||R||$()}}}function qn(t,e){function n(){x.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),h&&h(o),w&&(Gn(o,f),Gn(o,d),Un(function(){Qn(o,f),x.cancelled||(Gn(o,l),b||(Xn(A)?setTimeout(x,A):Jn(o,u,x)))})),v&&v(o,x),w||b||x())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=Fn(t.data.transition);if(r(a)||1!==o.nodeType)return e();if(!i(o._leaveCb)){var s=a.css,u=a.type,f=a.leaveClass,l=a.leaveToClass,d=a.leaveActiveClass,h=a.beforeLeave,v=a.leave,m=a.afterLeave,y=a.leaveCancelled,g=a.delayLeave,_=a.duration,w=!1!==s&&!Wr,b=Zn(v),A=p(c(_)?_.leave:_),x=o._leaveCb=T(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),w&&(Qn(o,l),Qn(o,d)),x.cancelled?(w&&Qn(o,f),y&&y(o)):(e(),m&&m(o)),o._leaveCb=null});g?g(n):n()}}function Xn(t){return"number"==typeof t&&!isNaN(t)}function Zn(t){if(r(t))return!1;var e=t.fns;return i(e)?Zn(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function tr(t,e){!0!==e.data.show&&Yn(e)}function er(t,e,n){nr(t,e,n),($r||Br)&&setTimeout(function(){nr(t,e,n)},0)}function nr(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=k(r,ir(a))>-1,a.selected!==o&&(a.selected=o);else if(C(ir(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function rr(t,e){return e.every(function(e){return!C(e,t)})}function ir(t){return"_value"in t?t._value:t.value}function or(t){t.target.composing=!0}function ar(t){t.target.composing&&(t.target.composing=!1,sr(t.target,"input"))}function sr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function cr(t){return!t.componentInstance||t.data&&t.data.transition?t:cr(t.componentInstance._vnode)}function ur(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ur(Ct(e.children)):t}function fr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[Ar(o)]=i[o];return e}function lr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function dr(t){for(;t=t.parent;)if(t.data.transition)return!0}function pr(t,e){return e.key===t.key&&e.tag===t.tag}function hr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function vr(t){t.data.newPos=t.elm.getBoundingClientRect()}function mr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}/*!
 * Vue.js v2.5.16
 * (c) 2014-2018 Evan You
 * Released under the MIT License.
 */
var yr=Object.freeze({}),gr=Object.prototype.toString,_r=(h("slot,component",!0),h("key,ref,slot,slot-scope,is")),wr=Object.prototype.hasOwnProperty,br=/-(\w)/g,Ar=y(function(t){return t.replace(br,function(t,e){return e?e.toUpperCase():""})}),xr=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Cr=/\B([A-Z])/g,kr=y(function(t){return t.replace(Cr,"-$1").toLowerCase()}),Tr=Function.prototype.bind?_:g,Sr=function(t,e,n){return!1},Er=function(t){return t},Ir="data-server-rendered",Or=["component","directive","filter"],Hr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Lr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Sr,isReservedAttr:Sr,isUnknownElement:Sr,getTagNamespace:x,parsePlatformTagName:Er,mustUseProp:Sr,_lifecycleHooks:Hr},Mr=/[^\w.$]/,Dr="__proto__"in{},jr="undefined"!=typeof window,Pr="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Nr=Pr&&WXEnvironment.platform.toLowerCase(),Rr=jr&&window.navigator.userAgent.toLowerCase(),$r=Rr&&/msie|trident/.test(Rr),Wr=Rr&&Rr.indexOf("msie 9.0")>0,Br=Rr&&Rr.indexOf("edge/")>0,Fr=(Rr&&Rr.indexOf("android"),Rr&&/iphone|ipad|ipod|ios/.test(Rr)||"ios"===Nr),Ur=(Rr&&/chrome\/\d+/.test(Rr),{}.watch),Gr=!1;if(jr)try{var Qr={};Object.defineProperty(Qr,"passive",{get:function(){Gr=!0}}),window.addEventListener("test-passive",null,Qr)}catch(t){}var Jr,Kr,zr=function(){return void 0===Jr&&(Jr=!jr&&!Pr&&void 0!==t&&"server"===t.process.env.VUE_ENV),Jr},Vr=jr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Yr="undefined"!=typeof Symbol&&O(Symbol)&&"undefined"!=typeof Reflect&&O(Reflect.ownKeys);Kr="undefined"!=typeof Set&&O(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var qr=x,Xr=0,Zr=function(){this.id=Xr++,this.subs=[]};Zr.prototype.addSub=function(t){this.subs.push(t)},Zr.prototype.removeSub=function(t){v(this.subs,t)},Zr.prototype.depend=function(){Zr.target&&Zr.target.addDep(this)},Zr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Zr.target=null;var ti=[],ei=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ni={child:{configurable:!0}};ni.child.get=function(){return this.componentInstance},Object.defineProperties(ei.prototype,ni);var ri=function(t){void 0===t&&(t="");var e=new ei;return e.text=t,e.isComment=!0,e},ii=Array.prototype,oi=Object.create(ii);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ii[t];E(oi,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var ai=Object.getOwnPropertyNames(oi),si=!0,ci=function(t){if(this.value=t,this.dep=new Zr,this.vmCount=0,E(t,"__ob__",this),Array.isArray(t)){(Dr?P:N)(t,oi,ai),this.observeArray(t)}else this.walk(t)};ci.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)$(t,e[n])},ci.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)R(t[e])};var ui=Lr.optionMergeStrategies;ui.data=function(t,e,n){return n?G(t,e,n):e&&"function"!=typeof e?t:G(t,e)},Hr.forEach(function(t){ui[t]=Q}),Or.forEach(function(t){ui[t+"s"]=J}),ui.watch=function(t,e,n,r){if(t===Ur&&(t=void 0),e===Ur&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};b(i,t);for(var o in e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},ui.props=ui.methods=ui.inject=ui.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return b(i,t),e&&b(i,e),i},ui.provide=G;var fi,li,di=function(t,e){return void 0===e?t:e},pi=[],hi=!1,vi=!1;if(void 0!==n&&O(n))li=function(){n(at)};else if("undefined"==typeof MessageChannel||!O(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())li=function(){setTimeout(at,0)};else{var mi=new MessageChannel,yi=mi.port2;mi.port1.onmessage=at,li=function(){yi.postMessage(1)}}if("undefined"!=typeof Promise&&O(Promise)){var gi=Promise.resolve();fi=function(){gi.then(at),Fr&&setTimeout(x)}}else fi=li;var _i,wi=new Kr,bi=y(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}),Ai=null,xi=[],Ci=[],ki={},Ti=!1,Si=!1,Ei=0,Ii=0,Oi=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ii,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Kr,this.newDepIds=new Kr,this.expression="","function"==typeof e?this.getter=e:(this.getter=I(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Oi.prototype.get=function(){H(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;rt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ut(t),L(),this.cleanupDeps()}return t},Oi.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Oi.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Oi.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Gt(this)},Oi.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){rt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Oi.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Oi.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Oi.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Hi={enumerable:!0,configurable:!0,get:x,set:x},Li={lazy:!0};me(ye.prototype);var Mi={init:function(t,e,n,r){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var i=t;Mi.prepatch(i,i)}else{(t.componentInstance=Ae(t,Ai,n,r)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;Dt(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Rt(n,"mounted")),t.data.keepAlive&&(e._isMounted?Ft(n):Pt(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Nt(e,!0):e.$destroy())}},Di=Object.keys(Mi),ji=1,Pi=2,Ni=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Ni++,e._isVue=!0,t&&t._isComponent?Oe(e,t):e.$options=Y(He(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Lt(e),kt(e),Ie(e),Rt(e,"beforeCreate"),re(e),Jt(e),ne(e),Rt(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(De),function(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=W,t.prototype.$delete=B,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return ee(r,t,e,n);n=n||{},n.user=!0;var i=new Oi(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}(De),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this,i=this;if(Array.isArray(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return r}var a=r._events[t];if(!a)return r;if(!e)return r._events[t]=null,r;if(e)for(var s,c=a.length;c--;)if((s=a[c])===e||s.fn===e){a.splice(c,1);break}return r},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?w(n):n;for(var r=w(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){rt(n,e,'event handler for "'+t+'"')}}return e}}(De),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&Rt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=Ai;Ai=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),Ai=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Rt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Rt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(De),function(t){me(t.prototype),t.prototype.$nextTick=function(t){return ct(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&(t.$scopedSlots=r.data.scopedSlots||yr),t.$vnode=r;var i;try{i=n.call(t._renderProxy,t.$createElement)}catch(e){rt(e,t,"render"),i=t._vnode}return i instanceof ei||(i=ri()),i.parent=r,i}}(De);var Ri=[String,RegExp,Array],$i={name:"keep-alive",abstract:!0,props:{include:Ri,exclude:Ri,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)Ge(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Ue(t,function(t){return Fe(e,t)})}),this.$watch("exclude",function(e){Ue(t,function(t){return!Fe(e,t)})})},render:function(){var t=this.$slots.default,e=Ct(t),n=e&&e.componentOptions;if(n){var r=Be(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Fe(o,r))||a&&r&&Fe(a,r))return e;var s=this,c=s.cache,u=s.keys,f=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[f]?(e.componentInstance=c[f].componentInstance,v(u,f),u.push(f)):(c[f]=e,u.push(f),this.max&&u.length>parseInt(this.max)&&Ge(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Wi={KeepAlive:$i};!function(t){var e={};e.get=function(){return Lr},Object.defineProperty(t,"config",e),t.util={warn:qr,extend:b,mergeOptions:Y,defineReactive:$},t.set=W,t.delete=B,t.nextTick=ct,t.options=Object.create(null),Or.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,b(t.options.components,Wi),je(t),Pe(t),Ne(t),We(t)}(De),Object.defineProperty(De.prototype,"$isServer",{get:zr}),Object.defineProperty(De.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(De,"FunctionalRenderContext",{value:ye}),De.version="2.5.16";var Bi,Fi,Ui=h("style,class"),Gi=h("input,textarea,option,select,progress"),Qi=function(t,e,n){return"value"===n&&Gi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ji=h("contenteditable,draggable,spellcheck"),Ki=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),zi="http://www.w3.org/1999/xlink",Vi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Yi=function(t){return Vi(t)?t.slice(6,t.length):""},qi=function(t){return null==t||!1===t},Xi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Zi=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),to=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),eo=function(t){return Zi(t)||to(t)},no=Object.create(null),ro=h("text,number,password,search,email,tel,url"),io=Object.freeze({createElement:en,createElementNS:nn,createTextNode:rn,createComment:on,insertBefore:an,removeChild:sn,appendChild:cn,parentNode:un,nextSibling:fn,tagName:ln,setTextContent:dn,setStyleScope:pn}),oo={create:function(t,e){hn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(hn(t,!0),hn(e))},destroy:function(t){hn(t,!0)}},ao=new ei("",{},[]),so=["create","activate","update","remove","destroy"],co={create:gn,update:gn,destroy:function(t){gn(t,ao)}},uo=Object.create(null),fo=[oo,co],lo={create:xn,update:xn},po={create:Tn,update:Tn},ho="__r",vo="__c",mo={create:Hn,update:Hn},yo={create:Ln,update:Ln},go=y(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),_o=/^--/,wo=/\s*!important$/,bo=function(t,e,n){if(_o.test(e))t.style.setProperty(e,n);else if(wo.test(n))t.style.setProperty(e,n.replace(wo,""),"important");else{var r=xo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Ao=["Webkit","Moz","ms"],xo=y(function(t){if(Fi=Fi||document.createElement("div").style,"filter"!==(t=Ar(t))&&t in Fi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ao.length;n++){var r=Ao[n]+e;if(r in Fi)return r}}),Co={create:$n,update:$n},ko=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),To=jr&&!Wr,So="transition",Eo="animation",Io="transition",Oo="transitionend",Ho="animation",Lo="animationend";To&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Io="WebkitTransition",Oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ho="WebkitAnimation",Lo="webkitAnimationEnd"));var Mo=jr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},Do=/\b(transform|all)(,|$)/,jo=jr?{create:tr,activate:tr,remove:function(t,e){!0!==t.data.show?qn(t,e):e()}}:{},Po=[lo,po,mo,yo,Co,jo],No=Po.concat(fo),Ro=function(t){function e(t){return new ei(H.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0==--n.listeners&&a(t)}return n.listeners=e,n}function a(t){var e=H.parentNode(t);i(e)&&H.removeChild(e,t)}function c(t,e,n,r,a,s,c){if(i(t.elm)&&i(s)&&(t=s[c]=D(t)),t.isRootInsert=!a,!u(t,e,n,r)){var f=t.data,l=t.children,h=t.tag;i(h)?(t.elm=t.ns?H.createElementNS(t.ns,h):H.createElement(h,t),y(t),p(t,l,e),i(f)&&m(t,e),d(n,t.elm,r)):o(t.isComment)?(t.elm=H.createComment(t.text),d(n,t.elm,r)):(t.elm=H.createTextNode(t.text),d(n,t.elm,r))}}function u(t,e,n,r){var a=t.data;if(i(a)){var s=i(t.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(t,!1,n,r),i(t.componentInstance))return f(t,e),o(s)&&l(t,e,n,r),!0}}function f(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(m(t,e),y(t)):(hn(t),e.push(t))}function l(t,e,n,r){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<I.activate.length;++o)I.activate[o](ao,a);e.push(a);break}d(n,t.elm,r)}function d(t,e,n){i(t)&&(i(n)?n.parentNode===t&&H.insertBefore(t,e,n):H.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)c(e[r],n,t.elm,null,!0,e,r);else s(t.text)&&H.appendChild(t.elm,H.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function m(t,e){for(var n=0;n<I.create.length;++n)I.create[n](ao,t);S=t.data.hook,i(S)&&(i(S.create)&&S.create(ao,t),i(S.insert)&&e.push(t))}function y(t){var e;if(i(e=t.fnScopeId))H.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&H.setStyleScope(t.elm,e),n=n.parent;i(e=Ai)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&H.setStyleScope(t.elm,e)}function g(t,e,n,r,i,o){for(;r<=i;++r)c(n[r],o,t,e,!1,n,r)}function _(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<I.destroy.length;++e)I.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function w(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(b(o),_(o)):a(o.elm))}}function b(t,e){if(i(e)||i(t.data)){var r,o=I.remove.length+1;for(i(e)?e.listeners+=o:e=n(t.elm,o),i(r=t.componentInstance)&&i(r=r._vnode)&&i(r.data)&&b(r,e),r=0;r<I.remove.length;++r)I.remove[r](t,e);i(r=t.data.hook)&&i(r=r.remove)?r(t,e):e()}else a(t.elm)}function A(t,e,n,o,a){for(var s,u,f,l,d=0,p=0,h=e.length-1,v=e[0],m=e[h],y=n.length-1,_=n[0],b=n[y],A=!a;d<=h&&p<=y;)r(v)?v=e[++d]:r(m)?m=e[--h]:vn(v,_)?(C(v,_,o),v=e[++d],_=n[++p]):vn(m,b)?(C(m,b,o),m=e[--h],b=n[--y]):vn(v,b)?(C(v,b,o),A&&H.insertBefore(t,v.elm,H.nextSibling(m.elm)),v=e[++d],b=n[--y]):vn(m,_)?(C(m,_,o),A&&H.insertBefore(t,m.elm,v.elm),m=e[--h],_=n[++p]):(r(s)&&(s=yn(e,d,h)),u=i(_.key)?s[_.key]:x(_,e,d,h),r(u)?c(_,o,t,v.elm,!1,n,p):(f=e[u],vn(f,_)?(C(f,_,o),e[u]=void 0,A&&H.insertBefore(t,f.elm,v.elm)):c(_,o,t,v.elm,!1,n,p)),_=n[++p]);d>h?(l=r(n[y+1])?null:n[y+1].elm,g(t,l,n,p,y,o)):p>y&&w(t,e,d,h)}function x(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&vn(t,a))return o}}function C(t,e,n,a){if(t!==e){var s=e.elm=t.elm;if(o(t.isAsyncPlaceholder))return void(i(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0);if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))return void(e.componentInstance=t.componentInstance);var c,u=e.data;i(u)&&i(c=u.hook)&&i(c=c.prepatch)&&c(t,e);var f=t.children,l=e.children;if(i(u)&&v(e)){for(c=0;c<I.update.length;++c)I.update[c](t,e);i(c=u.hook)&&i(c=c.update)&&c(t,e)}r(e.text)?i(f)&&i(l)?f!==l&&A(s,f,l,n,a):i(l)?(i(t.text)&&H.setTextContent(s,""),g(s,null,l,0,l.length-1,n)):i(f)?w(s,f,0,f.length-1):i(t.text)&&H.setTextContent(s,""):t.text!==e.text&&H.setTextContent(s,e.text),i(u)&&i(c=u.hook)&&i(c=c.postpatch)&&c(t,e)}}function k(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function T(t,e,n,r){var a,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(a=c.hook)&&i(a=a.init)&&a(e,!0),i(a=e.componentInstance)))return f(e,n),!0;if(i(s)){if(i(u))if(t.hasChildNodes())if(i(a=c)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var l=!0,d=t.firstChild,h=0;h<u.length;h++){if(!d||!T(d,u[h],n,r)){l=!1;break}d=d.nextSibling}if(!l||d)return!1}else p(e,u,n);if(i(c)){var v=!1;for(var y in c)if(!L(y)){v=!0,m(e,n);break}!v&&c.class&&ut(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var S,E,I={},O=t.modules,H=t.nodeOps;for(S=0;S<so.length;++S)for(I[so[S]]=[],E=0;E<O.length;++E)i(O[E][so[S]])&&I[so[S]].push(O[E][so[S]]);var L=h("attrs,class,staticClass,staticStyle,key");return function(t,n,a,s,u,f){if(r(n))return void(i(t)&&_(t));var l=!1,d=[];if(r(t))l=!0,c(n,d,u,f);else{var p=i(t.nodeType);if(!p&&vn(t,n))C(t,n,d,s);else{if(p){if(1===t.nodeType&&t.hasAttribute(Ir)&&(t.removeAttribute(Ir),a=!0),o(a)&&T(t,n,d))return k(n,d,!0),t;t=e(t)}var h=t.elm,m=H.parentNode(h);if(c(n,d,h._leaveCb?null:m,H.nextSibling(h)),i(n.parent))for(var y=n.parent,g=v(n);y;){for(var b=0;b<I.destroy.length;++b)I.destroy[b](y);if(y.elm=n.elm,g){for(var A=0;A<I.create.length;++A)I.create[A](ao,y);var x=y.data.hook.insert;if(x.merged)for(var S=1;S<x.fns.length;S++)x.fns[S]()}else hn(y);y=y.parent}i(m)?w(m,[t],0,0):i(t.tag)&&_(t)}}return k(n,d,l),n.elm}}({nodeOps:io,modules:No});Wr&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&sr(t,"input")});var $o={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?pt(n,"postpatch",function(){$o.componentUpdated(t,e,n)}):er(t,e,n.context),t._vOptions=[].map.call(t.options,ir)):("textarea"===n.tag||ro(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",or),t.addEventListener("compositionend",ar),t.addEventListener("change",ar),Wr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){er(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,ir);if(i.some(function(t,e){return!C(t,r[e])})){(t.multiple?e.value.some(function(t){return rr(t,i)}):e.value!==e.oldValue&&rr(e.value,i))&&sr(t,"change")}}}},Wo={bind:function(t,e,n){var r=e.value;n=cr(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yn(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&(n=cr(n),n.data&&n.data.transition?(n.data.show=!0,r?Yn(n,function(){t.style.display=t.__vOriginalDisplay}):qn(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Bo={model:$o,show:Wo},Fo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Uo={name:"transition",props:Fo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||xt(t)}),n.length)){var r=this.mode,i=n[0];if(dr(this.$vnode))return i;var o=ur(i);if(!o)return i;if(this._leaving)return lr(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=fr(this),u=this._vnode,f=ur(u);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),f&&f.data&&!pr(o,f)&&!xt(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=b({},c);if("out-in"===r)return this._leaving=!0,pt(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),lr(t,i);if("in-out"===r){if(xt(o))return u;var d,p=function(){d()};pt(c,"afterEnter",p),pt(c,"enterCancelled",p),pt(l,"delayLeave",function(t){d=t})}}return i}}},Go=b({tag:String,moveClass:String},Fo);delete Go.mode;var Qo={props:Go,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=fr(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],f=[],l=0;l<r.length;l++){var d=r[l];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):f.push(d)}this.kept=t(e,null,u),this.removed=f}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(hr),t.forEach(vr),t.forEach(mr),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Gn(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Oo,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Oo,t),n._moveCb=null,Qn(n,e))})}}))},methods:{hasMove:function(t,e){if(!To)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Bn(n,t)}),Wn(n,e),n.style.display="none",this.$el.appendChild(n);var r=Kn(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},Jo={Transition:Uo,TransitionGroup:Qo};De.config.mustUseProp=Qi,De.config.isReservedTag=eo,De.config.isReservedAttr=Ui,De.config.getTagNamespace=Xe,De.config.isUnknownElement=Ze,b(De.options.directives,Bo),b(De.options.components,Jo),De.prototype.__patch__=jr?Ro:x,De.prototype.$mount=function(t,e){return t=t&&jr?tn(t):void 0,Mt(this,t,e)},jr&&setTimeout(function(){Lr.devtools&&Vr&&Vr.emit("init",De)},0),e.a=De}).call(e,n(43),n(126).setImmediate)}])});
//# sourceMappingURL=app.umd.js.map