diff --git a/dist/vue-audio-recorder.min.js b/dist/vue-audio-recorder.min.js index 3e8a4f3..c2058c9 100644 --- a/dist/vue-audio-recorder.min.js +++ b/dist/vue-audio-recorder.min.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueAudioRecorder",[],e):"object"==typeof exports?exports.VueAudioRecorder=e():t.VueAudioRecorder=e()}("undefined"!=typeof self?self: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.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=9)}([function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],i=0;i1?1:i}function i(t){return new Date(1e3*t).toISOString().substr(14,5)}e.a=r,e.b=i},function(t,e,n){"use strict";var r=n(5),i=n(17),o=n(19),s=n(3);e.a={props:{attempts:{type:Number},time:{type:Number},uploadUrl:{type:String},attemptsLimit:{type:Function},failedUpload:{type:Function},micFailed:{type:Function},startRecord:{type:Function},startUpload:{type:Function},stopRecord:{type:Function},successfulUpload:{type:Function},successfulUploadMsg:{type:String,default:"Upload successful"},failedUploadMsg:{type:String,default:"Upload fail"}},data:function(){var t=this;return{isUploading:!1,recorder:new i.a({afterStop:function(){t.recordList=t.recorder.recordList(),t.stopRecord&&t.stopRecord("stop record")},attempts:this.attempts,time:this.time}),recordList:[],selectedRecord:{},uploadStatus:null}},components:{IconButton:r.a,RecordPlayer:o.a},methods:{toggleRecorder:function(){this.attempts&&this.recorder.records.length>=this.attempts||(!this.isRecording||this.isRecording&&this.isPause?(this.recorder.start(),this.startRecord&&this.startRecord("start record")):(this.recorder.pause(),this.startRecord&&this.startRecord("pause record")))},stopRecorder:function(){this.isRecording&&this.recorder.stop()},selectRecord:function(t,e){this.selectedRecord={idx:t,url:e.url,blob:e.blob}},onStartUpload:function(){this.isUploading=!0},onEndUpload:function(t){var e=this;this.isUploading=!1,this.uploadStatus=t,setTimeout(function(){e.uploadStatus=null},1500)}},computed:{attemptsLeft:function(){return this.attempts-this.recorder.records.length},iconButtonType:function(){return this.isRecording&&this.isPause?"mic":this.isRecording?"pause":"mic"},isPause:function(){return this.recorder.isPause},isRecording:function(){return this.recorder.isRecording},message:function(){return"success"===this.uploadStatus?this.successfulUploadMsg:this.failedUploadMsg},recordedTime:function(){return this.time&&this.recorder.duration>=60*this.time&&this.stopRecorder(),Object(s.b)(this.recorder.duration)},uploadStatusClasses:function(){var t=["ar__upload-status"];return t.push("success"===this.uploadStatus?"ar__upload-status--success":"ar__upload-status--fail"),t.join(" ")},volume:function(){return parseFloat(this.recorder.volume)}}}},function(t,e,n){"use strict";function r(t){n(14)}var i=n(6),o=n(16),s=n(2),a=r,c=s(i.a,o.a,!1,a,null,null);e.a=c.exports},function(t,e,n){"use strict";e.a={props:{name:{type:String},size:{type:String,default:"sm"}},data:function(){return{icons:{download:'',mic:'',pause:'',play:'',save:'',stop:'',volume:''}}},computed:{iconClasses:function(){return["ar-icon-button","ar-icon-button__"+this.size]}}}},function(t,e,n){"use strict";var r=n(5),i=n(22),o=n(3);e.a={props:{uploadUrl:{type:String},record:{type:Object},startUpload:{type:Function},successfulUpload:{type:Function},failedUpload:{type:Function}},data:function(){return{isPlaying:!1,duration:Object(o.b)(0),playedTime:Object(o.b)(0),progress:0,volume:.8}},components:{IconButton:r.a,LineControl:i.a},mounted:function(){var t=this;this.player=document.getElementById("audio-recorder-player"),this.player.addEventListener("ended",function(){t.isPlaying=!1}),this.player.addEventListener("loadeddata",function(e){t._resetProgress(),t.duration=Object(o.b)(t.player.duration)}),this.player.addEventListener("timeupdate",this._onTimeUpdate)},computed:{playBtnIcon:function(){return this.isPlaying?"pause":"play"}},methods:{playback:function(){var t=this;this.record.url&&(this.isPlaying?this.player.pause():setTimeout(function(){t.player.play()},0),this.isPlaying=!this.isPlaying)},upload:function(){var t=this;if(this.record.url){this.startUpload&&this.startUpload(),this.$emit("on-start-upload");var e=new FormData;e.append("audio",this.record.blob,"my-record"),this.$http.post(this.uploadUrl,e,{headers:{"Content-Type":"multipart/form-data; boundary="+e._boundary}}).then(function(e){t.$emit("on-end-upload","success"),t.successfulUpload&&t.successfulUpload(e)}).catch(function(e){t.$emit("on-end-upload","fail"),t.failedUpload&&t.failedUpload(e)})}},download:function(){if(this.record.url){var t=document.createElement("a");t.href=this.record.url,t.download="record.wav",t.click()}},_resetProgress:function(){this.isPlaying=!1,this.progress=0},_onTimeUpdate:function(){this.playedTime=Object(o.b)(this.player.currentTime),this.progress=this.player.currentTime/this.player.duration*100},_onUpdateProgress:function(t){t&&(this.player.currentTime=t*this.player.duration)},_onUpdateVolume:function(t){t&&(this.player.volume=t,this.volume=t)}}}},function(t,e,n){"use strict";var r=n(3);e.a={props:{refId:{type:String},eventName:{type:String},percentage:{type:Number,default:0}},methods:{onMouseDown:function(t){var e=Object(r.a)(t,this.$refs[this.refId]);this.$emit("changeLineHead",e),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseUp:function(t){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove);var e=Object(r.a)(t,this.$refs[this.refId]);this.$emit("changeLineHead",e)},onMouseMove:function(t){var e=Object(r.a)(t,this.$refs[this.refId]);this.$emit("changeLineHead",e)}},computed:{percentageWidth:function(){return(this.percentage<1?100*this.percentage:this.percentage)+"%"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(10);e.default={install:function(t){this.installed||(this.installed=!0,t.component("audio-recorder",r.a))}}},function(t,e,n){"use strict";function r(t){n(11)}var i=n(4),o=n(27),s=n(2),a=r,c=s(i.a,o.a,!1,a,null,null);e.a=c.exports},function(t,e,n){var r=n(12);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(1)("61bff3ea",r,!0,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.ar {\n width: 420px;\n font-family: 'Roboto', sans-serif;\n border-radius: 16px;\n background-color: #FAFAFA;\n box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.17);\n position: relative;\n box-sizing: content-box;\n}\n.ar-content {\n padding: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ar-records {\n height: 138px;\n padding-top: 1px;\n overflow-y: auto;\n margin-bottom: 20px;\n}\n.ar-records__record {\n width: 320px;\n padding: 0 10px;\n margin: 0 auto;\n line-height: 45px;\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid #E8E8E8;\n}\n.ar-records__record--selected {\n border: 1px solid #E8E8E8;\n border-radius: 24px;\n background-color: #FFFFFF;\n margin-top: -1px;\n padding: 0 34px;\n}\n.ar-recorder {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ar-recorder__duration {\n color: #AEAEAE;\n font-size: 32px;\n font-weight: 500;\n margin-top: 20px;\n margin-bottom: 16px;\n}\n.ar-recorder__stop {\n position: absolute;\n top: 10px;\n right: -52px;\n}\n.ar-recorder__time-limit {\n position: absolute;\n color: #AEAEAE;\n font-size: 12px;\n top: 128px;\n}\n.ar-recorder__records-limit {\n position: absolute;\n color: #AEAEAE;\n font-size: 12px;\n top: 78px;\n}\n.ar-spinner {\n display: flex;\n height: 30px;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n width: 144px;\n z-index: 10;\n}\n.ar-spinner__dot {\n display: block;\n margin: 0 8px;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: #05CBCD;\n animation-name: blink;\n animation-duration: 1.4s;\n animation-iteration-count: infinite;\n animation-fill-mode: both;\n}\n.ar-spinner__dot:nth-child(2) {\n animation-delay: .2s;\n}\n.ar-spinner__dot:nth-child(3) {\n animation-delay: .4s;\n}\n@keyframes blink {\n0% {\n opacity: .2;\n}\n20% {\n opacity: 1;\n}\n100% {\n opacity: .2;\n}\n}\n.ar__text {\n color: rgba(84, 84, 84, 0.5);\n font-size: 16px;\n}\n.ar__blur {\n filter: blur(2px);\n opacity: 0.7;\n}\n.ar__overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 10;\n}\n.ar__upload-status {\n text-align: center;\n font-size: 10px;\n padding: 2px;\n letter-spacing: 1px;\n position: absolute;\n bottom: 0;\n}\n.ar__upload-status--success {\n color: green;\n}\n.ar__upload-status--fail {\n color: red;\n}\n",""])},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.afterStop=e.afterStop,this.micFailed=e.micFailed,this.bufferSize=4096,this.records=[],this.samples=[],this.isPause=!1,this.isRecording=!1,this.duration=0,this.volume=0,this._duration=0}return s(t,[{key:"start",value:function(){navigator.mediaDevices.getUserMedia({audio:!0}).then(this._micCaptured.bind(this)).catch(this._micError.bind(this)),this.isPause=!1,this.isRecording=!0}},{key:"stop",value:function(){this.stream.getTracks().forEach(function(t){return t.stop()}),this.input.disconnect(),this.processor.disconnect(),this.context.close();var t=new i.a({bufferSize:this.bufferSize,sampleRate:this.context.sampleRate,samples:this.samples}),e=t.getData(),n=URL.createObjectURL(e);this.samples=[],this.records.push({blob:e,url:n,duration:Object(o.b)(this.duration)}),this.isPause=!1,this.isRecording=!1,this._duration=0,this.duration=0,this.afterStop&&this.afterStop()}},{key:"pause",value:function(){this.stream.getTracks().forEach(function(t){return t.stop()}),this.input.disconnect(),this.processor.disconnect(),this.context.close(),this._duration=this.duration,this.isPause=!0}},{key:"recordList",value:function(){return this.records}},{key:"lastRecord",value:function(){return this.records.slice(-1)}},{key:"_micCaptured",value:function(t){var e=this;this.context=new(window.AudioContext||window.webkitAudioContext),this.input=this.context.createMediaStreamSource(t),this.processor=this.context.createScriptProcessor(this.bufferSize,1,1),this.duration=this._duration,this.stream=t,this.processor.onaudioprocess=function(t){for(var n=t.inputBuffer.getChannelData(0),r=0,i=0;i.02},attrs:{size:"lg",name:t.iconButtonType},nativeOn:{click:function(e){return t.toggleRecorder(e)}}}),t._v(" "),n("icon-button",{staticClass:"ar-recorder__stop",attrs:{name:"stop"},nativeOn:{click:function(e){return t.stopRecorder(e)}}})],1),t._v(" "),t.attempts?n("div",{staticClass:"ar-recorder__records-limit"},[t._v("Attempts: "+t._s(t.attemptsLeft)+"/"+t._s(t.attempts))]):t._e(),t._v(" "),n("div",{staticClass:"ar-recorder__duration"},[t._v(t._s(t.recordedTime))]),t._v(" "),t.time?n("div",{staticClass:"ar-recorder__time-limit"},[t._v("Record duration is limited: "+t._s(t.time)+"m")]):t._e(),t._v(" "),n("div",{staticClass:"ar-records"},t._l(t.recordList,function(e,r){return n("div",{staticClass:"ar-records__record",class:{"ar-records__record--selected":r===t.selectedRecord.idx},on:{click:function(n){t.selectRecord(r,e)}}},[n("div",{staticClass:"ar__text"},[t._v("Record "+t._s(r+1))]),t._v(" "),n("div",{staticClass:"ar__text"},[t._v(t._s(e.duration))])])})),t._v(" "),n("record-player",{attrs:{record:t.selectedRecord,"upload-url":t.uploadUrl,"start-upload":t.startUpload,"successful-upload":t.successfulUpload,"failed-upload":t.failedUpload},on:{"on-start-upload":t.onStartUpload,"on-end-upload":t.onEndUpload}}),t._v(" "),t.uploadStatus?n("div",{class:t.uploadStatusClasses},[t._v(t._s(t.message))]):t._e()],1)])},i=[],o={render:r,staticRenderFns:i};e.a=o}]).default}); +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("VueAudioRecorder",[],n):"object"==typeof exports?exports.VueAudioRecorder=n():t.VueAudioRecorder=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=12)}([function(t,n){t.exports=function(t,n,e,r,i,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l="function"==typeof s?s.options:s;n&&(l.render=n.render,l.staticRenderFns=n.staticRenderFns,l._compiled=!0),e&&(l.functional=!0),i&&(l._scopeId=i);var u;if(o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=u):r&&(u=r),u){var d=l.functional,p=d?l.render:l.beforeCreate;d?(l._injectStyles=u,l.render=function(t,n){return u.call(n),p(t,n)}):l.beforeCreate=p?[].concat(p,u):[u]}return{esModule:a,exports:s,options:l}}},function(t,n){function e(t,n){var e=t[1]||"",i=t[3];if(!i)return e;if(n&&"function"==typeof btoa){var o=r(i);return[e].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[e].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var r=e(n,t);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;ie.parts.length&&(r.parts.length=e.parts.length)}else{for(var a=[],i=0;i1?1:i}function i(t){return new Date(1e3*t).toISOString().substr(14,5)}n.a=r,n.b=i},function(t,n,e){"use strict";var r=e(7),i=e(16),o=e(0),a=o(r.a,i.a,!1,null,null,null);n.a=a.exports},function(t,n,e){"use strict";function r(t){e(13)}var i=e(6),o=e(24),a=e(0),s=r,c=a(i.a,o.a,!1,s,null,null);n.a=c.exports},function(t,n,e){"use strict";var r=e(4),i=e(8),o=e(20),a=e(3);n.a={props:{src:{type:String},uploadUrl:{type:String},record:{type:Object},compact:{type:Boolean,default:!0},startUpload:{type:Function},successfulUpload:{type:Function},failedUpload:{type:Function}},data:function(){return{isPlaying:!1,duration:Object(a.b)(0),playedTime:Object(a.b)(0),progress:0}},components:{IconButton:r.a,LineControl:i.a,VolumeControl:o.a},mounted:function(){var t=this;this.player=document.getElementById(this.playerUniqId),this.player.addEventListener("ended",function(){t.isPlaying=!1}),this.player.addEventListener("loadeddata",function(n){t._resetProgress(),t.duration=Object(a.b)(t.player.duration)}),this.player.addEventListener("timeupdate",this._onTimeUpdate)},computed:{playBtnIcon:function(){return this.isPlaying?"pause":"play"},audioSource:function(){return this.src||this.record.url},playerUniqId:function(){return"audio-player"+this._uid}},methods:{playback:function(){var t=this;this.audioSource&&(this.isPlaying?this.player.pause():setTimeout(function(){t.player.play()},0),this.isPlaying=!this.isPlaying)},upload:function(){var t=this;if(this.audioSource){this.startUpload&&this.startUpload(),this.$emit("on-start-upload");var n=new FormData;n.append("audio",this.record.blob,"my-record"),this.$http.post(this.uploadUrl,n,{headers:{"Content-Type":"multipart/form-data; boundary="+n._boundary}}).then(function(n){t.$emit("on-end-upload","success"),t.successfulUpload&&t.successfulUpload(n)}).catch(function(n){t.$emit("on-end-upload","fail"),t.failedUpload&&t.failedUpload(n)})}},download:function(){if(this.audioSource){var t=document.createElement("a");t.href=this.record.url,t.download="record.wav",t.click()}},_resetProgress:function(){this.isPlaying=!1,this.progress=0},_onTimeUpdate:function(){this.playedTime=Object(a.b)(this.player.currentTime),this.progress=this.player.currentTime/this.player.duration*100},_onUpdateProgress:function(t){t&&(this.player.currentTime=t*this.player.duration)},_onChangeVolume:function(t){t&&(this.player.volume=t)}}}},function(t,n,e){"use strict";n.a={props:{name:{type:String}},data:function(){return{icons:{download:'',mic:'',pause:'',play:'',save:'',stop:'',volume:''}}}}},function(t,n,e){"use strict";function r(t){e(17)}var i=e(9),o=e(19),a=e(0),s=r,c=a(i.a,o.a,!1,s,null,null);n.a=c.exports},function(t,n,e){"use strict";var r=e(3);n.a={props:{refId:{type:String},eventName:{type:String},percentage:{type:Number,default:0},rowDirection:{type:Boolean,default:!0}},methods:{onMouseDown:function(t){var n=Object(r.a)(t,this.$refs[this.refId]);this.$emit("change-linehead",n),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseUp:function(t){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove);var n=Object(r.a)(t,this.$refs[this.refId]);this.$emit("change-linehead",n)},onMouseMove:function(t){var n=Object(r.a)(t,this.$refs[this.refId]);this.$emit("change-linehead",n)}},computed:{calculateSize:function(){var t=this.percentage<1?100*this.percentage:this.percentage;return(this.rowDirection?"width":"height")+": "+t+"%"}}}},function(t,n,e){"use strict";var r=e(4),i=e(8);n.a={data:function(){return{volume:.8}},components:{IconButton:r.a,LineControl:i.a},methods:{onChangeLinehead:function(t){this.$emit("change-volume",t),this.volume=t}}}},function(t,n,e){"use strict";var r=e(5),i=e(4),o=e(28),a=e(3);n.a={props:{attempts:{type:Number},compact:{type:Boolean,default:!1},time:{type:Number},uploadUrl:{type:String},attemptsLimit:{type:Function},failedUpload:{type:Function},micFailed:{type:Function},startRecord:{type:Function},startUpload:{type:Function},stopRecord:{type:Function},successfulUpload:{type:Function},successfulUploadMsg:{type:String,default:"Upload successful"},failedUploadMsg:{type:String,default:"Upload fail"}},data:function(){var t=this;return{isUploading:!1,recorder:new o.a({afterStop:function(){t.recordList=t.recorder.recordList(),t.stopRecord&&t.stopRecord("stop record")},attempts:this.attempts,time:this.time}),recordList:[],selectedRecord:{},uploadStatus:null}},components:{AudioPlayer:r.a,IconButton:i.a},methods:{toggleRecorder:function(){this.attempts&&this.recorder.records.length>=this.attempts||(!this.isRecording||this.isRecording&&this.isPause?(this.recorder.start(),this.startRecord&&this.startRecord("start record")):(this.recorder.pause(),this.startRecord&&this.startRecord("pause record")))},stopRecorder:function(){this.isRecording&&this.recorder.stop()},selectRecord:function(t,n){this.selectedRecord={idx:t,url:n.url,blob:n.blob}},onStartUpload:function(){this.isUploading=!0},onEndUpload:function(t){var n=this;this.isUploading=!1,this.uploadStatus=t,setTimeout(function(){n.uploadStatus=null},1500)}},computed:{attemptsLeft:function(){return this.attempts-this.recorder.records.length},iconButtonType:function(){return this.isRecording&&this.isPause?"mic":this.isRecording?"pause":"mic"},isPause:function(){return this.recorder.isPause},isRecording:function(){return this.recorder.isRecording},message:function(){return"success"===this.uploadStatus?this.successfulUploadMsg:this.failedUploadMsg},recordedTime:function(){return this.time&&this.recorder.duration>=60*this.time&&this.stopRecorder(),Object(a.b)(this.recorder.duration)},uploadStatusClasses:function(){var t=["ar__upload-status"];return t.push("success"===this.uploadStatus?"ar__upload-status--success":"ar__upload-status--fail"),t.join(" ")},volume:function(){return parseFloat(this.recorder.volume)}}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(5),i=e(25);e.d(n,"AudioPlayer",function(){return r.a}),e.d(n,"AudioRecorder",function(){return i.a});var o={AudioPlayer:r.a,AudioRecorder:i.a,install:function(t){this.installed||(this.installed=!0,t.component("audio-player",r.a),t.component("audio-recorder",i.a))}};n.default=o},function(t,n,e){var r=e(14);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);e(2)("fd982976",r,!0,{})},function(t,n,e){n=t.exports=e(1)(!1),n.push([t.i,"\n.ar-player {\n width: 380px;\n height: 120px;\n border: 1px solid #E8E8E8;\n border-radius: 24px;\n display: flex;\n flex-direction: column-reverse;\n align-items: center;\n justify-content: center;\n background-color: #FAFAFA;\n font-family: 'Roboto', sans-serif;\n}\n.ar-player-bar {\n display: flex;\n align-items: center;\n height: 38px;\n padding: 0 12px;\n margin: 0 5px;\n}\n.ar-player-actions {\n width: 55%;\n display: flex;\n align-items: center;\n justify-content: space-around;\n}\n.ar-player--compact {\n height: unset;\n flex-direction: row;\n border: 0;\n border-radius: 0;\n background-color: unset;\n}\n.ar-player--compact > .ar-player-actions {\n width: unset;\n}\n.ar-player--compact > .ar-player-actions > #download,\n .ar-player--compact > .ar-player-actions > #upload {\n display: none;\n}\n.ar-player--compact > .ar-player-bar {\n border: 1px solid #E8E8E8;\n border-radius: 24px;\n margin: 0 0 0 5px;\n}\n.ar-player--compact > .ar-player-bar > .ar-player__progress {\n width: 125px;\n}\n.ar-player__progress {\n width: 160px;\n margin: 0 8px;\n}\n.ar-player__time {\n color: rgba(84, 84, 84, 0.5);\n font-size: 16px;\n width: 41px;\n}\n.ar-player__play {\n width: 45px;\n height: 45px;\n background-color: #FFFFFF;\n box-shadow: 0 2px 11px 11px rgba(0, 0, 0, 0.07);\n}\n.ar-player__play--active {\n fill: white !important;\n background-color: #05CBCD !important;\n}\n.ar-icon {\n fill: #747474;\n border-radius: 50%;\n border: 1px solid #05CBCD;\n background-color: #FFFFFF;\n padding: 5px;\n cursor: pointer;\n transition: .2s;\n}\n.ar-icon--rec {\n fill: white;\n background-color: #FF6B64;\n border-color: transparent;\n}\n.ar-icon--pulse {\n animation: ripple .5s linear infinite;\n}\n@keyframes ripple {\n0% {\n box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.1), 0 0 0 1px rgba(255, 0, 0, 0.1), 0 0 0 5px rgba(255, 0, 0, 0.1);\n}\n100% {\n box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.1), 0 0 0 10px rgba(255, 0, 0, 0.1), 0 0 0 20px rgba(255, 0, 0, 0);\n}\n}\n.ar-icon__sm {\n width: 30px;\n height: 30px;\n}\n.ar-icon__lg {\n width: 45px;\n height: 45px;\n box-shadow: 0 2px 5px 1px rgba(158, 158, 158, 0.5);\n}\n",""])},function(t,n){t.exports=function(t,n){for(var e=[],r={},i=0;i0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.afterStop=n.afterStop,this.micFailed=n.micFailed,this.bufferSize=4096,this.records=[],this.samples=[],this.isPause=!1,this.isRecording=!1,this.duration=0,this.volume=0,this._duration=0}return a(t,[{key:"start",value:function(){navigator.mediaDevices.getUserMedia({audio:!0}).then(this._micCaptured.bind(this)).catch(this._micError.bind(this)),this.isPause=!1,this.isRecording=!0}},{key:"stop",value:function(){this.stream.getTracks().forEach(function(t){return t.stop()}),this.input.disconnect(),this.processor.disconnect(),this.context.close();var t=new i.a({bufferSize:this.bufferSize,sampleRate:this.context.sampleRate,samples:this.samples}),n=t.getData(),e=URL.createObjectURL(n);this.samples=[],this.records.push({blob:n,url:e,duration:Object(o.b)(this.duration)}),this.isPause=!1,this.isRecording=!1,this._duration=0,this.duration=0,this.afterStop&&this.afterStop()}},{key:"pause",value:function(){this.stream.getTracks().forEach(function(t){return t.stop()}),this.input.disconnect(),this.processor.disconnect(),this.context.close(),this._duration=this.duration,this.isPause=!0}},{key:"recordList",value:function(){return this.records}},{key:"lastRecord",value:function(){return this.records.slice(-1)}},{key:"_micCaptured",value:function(t){var n=this;this.context=new(window.AudioContext||window.webkitAudioContext),this.input=this.context.createMediaStreamSource(t),this.processor=this.context.createScriptProcessor(this.bufferSize,1,1),this.duration=this._duration,this.stream=t,this.processor.onaudioprocess=function(t){for(var e=t.inputBuffer.getChannelData(0),r=0,i=0;i.02},attrs:{name:t.iconButtonType},nativeOn:{click:function(n){return t.toggleRecorder(n)}}}),t._v(" "),e("icon-button",{staticClass:"ar-icon ar-icon__sm ar-recorder__stop",attrs:{name:"stop"},nativeOn:{click:function(n){return t.stopRecorder(n)}}})],1),t._v(" "),t.attempts?e("div",{staticClass:"ar-recorder__records-limit"},[t._v("Attempts: "+t._s(t.attemptsLeft)+"/"+t._s(t.attempts))]):t._e(),t._v(" "),e("div",{staticClass:"ar-recorder__duration"},[t._v(t._s(t.recordedTime))]),t._v(" "),t.time?e("div",{staticClass:"ar-recorder__time-limit"},[t._v("Record duration is limited: "+t._s(t.time)+"m")]):t._e(),t._v(" "),e("div",{staticClass:"ar-records"},t._l(t.recordList,function(n,r){return e("div",{staticClass:"ar-records__record",class:{"ar-records__record--selected":r===t.selectedRecord.idx},on:{click:function(e){t.selectRecord(r,n)}}},[e("div",{staticClass:"ar__text"},[t._v("Record "+t._s(r+1))]),t._v(" "),e("div",{staticClass:"ar__text"},[t._v(t._s(n.duration))])])})),t._v(" "),e("audio-player",{attrs:{compact:t.compact,record:t.selectedRecord,"upload-url":t.uploadUrl,"start-upload":t.startUpload,"successful-upload":t.successfulUpload,"failed-upload":t.failedUpload},on:{"start-upload":t.onStartUpload,"end-upload":t.onEndUpload}}),t._v(" "),t.uploadStatus?e("div",{class:t.uploadStatusClasses},[t._v(t._s(t.message))]):t._e()],1)])},i=[],o={render:r,staticRenderFns:i};n.a=o}]).default}); //# sourceMappingURL=vue-audio-recorder.min.js.map \ No newline at end of file diff --git a/dist/vue-audio-recorder.min.js.map b/dist/vue-audio-recorder.min.js.map index af874dd..686fad5 100644 --- a/dist/vue-audio-recorder.min.js.map +++ b/dist/vue-audio-recorder.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///vue-audio-recorder.min.js","webpack:///webpack/bootstrap 91dc4452f5a63e4591ed","webpack:///./node_modules/css-loader/lib/css-base.js","webpack:///./node_modules/vue-style-loader/lib/addStylesClient.js","webpack:///./node_modules/vue-loader/lib/component-normalizer.js","webpack:///./src/lib/utils.js","webpack:///src/audio-recorder.vue","webpack:///./src/components/icon-button.vue","webpack:///src/components/icon-button.vue","webpack:///src/components/record-player.vue","webpack:///src/components/line-control.vue","webpack:///./src/index.js","webpack:///./src/audio-recorder.vue","webpack:///./src/audio-recorder.vue?f71b","webpack:///./src/audio-recorder.vue?4ffa","webpack:///./node_modules/vue-style-loader/lib/listToStyles.js","webpack:///./src/components/icon-button.vue?50f7","webpack:///./src/components/icon-button.vue?1447","webpack:///./src/components/icon-button.vue?0111","webpack:///./src/lib/recorder.js","webpack:///./src/lib/wav-encoder.js","webpack:///./src/components/record-player.vue","webpack:///./src/components/record-player.vue?526f","webpack:///./src/components/record-player.vue?335f","webpack:///./src/components/line-control.vue","webpack:///./src/components/line-control.vue?190c","webpack:///./src/components/line-control.vue?6776","webpack:///./src/components/line-control.vue?5e8c","webpack:///./src/components/record-player.vue?fdfb","webpack:///./src/audio-recorder.vue?d921"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","cssWithMappingToString","item","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","concat","sources","map","source","sourceRoot","join","sourceMap","unescape","encodeURIComponent","JSON","stringify","list","toString","mediaQuery","alreadyImportedModules","length","id","push","addStylesToDom","styles","domStyle","stylesInDom","refs","j","parts","addStyle","createStyleElement","styleElement","document","createElement","type","head","appendChild","obj","update","remove","querySelector","ssrIdKey","isProduction","noop","parentNode","removeChild","isOldIE","styleIndex","singletonCounter","singletonElement","applyToSingletonTag","bind","applyToTag","newObj","css","media","index","styleSheet","cssText","replaceText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","options","ssrId","firstChild","hasDocument","DEBUG","Error","listToStyles","getElementsByTagName","navigator","test","userAgent","toLowerCase","parentId","_isProduction","_options","newList","mayRemove","textStore","replacement","filter","Boolean","rawScriptExports","compiledTemplate","functionalTemplate","injectStyles","scopeId","moduleIdentifier","esModule","scriptExports","default","render","staticRenderFns","_compiled","functional","_scopeId","hook","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","existing","beforeCreate","_injectStyles","h","__webpack_exports__","calculateLineHeadPosition","ev","element","progressWidth","getBoundingClientRect","width","leftPosition","target","left","pos","clientX","className","match","err","convertTimeMMSS","seconds","Date","toISOString","substr","__WEBPACK_IMPORTED_MODULE_0__components_icon_button_vue__","__WEBPACK_IMPORTED_MODULE_1__lib_recorder_js__","__WEBPACK_IMPORTED_MODULE_2__components_record_player_vue__","__WEBPACK_IMPORTED_MODULE_3__lib_utils_js__","props","attempts","Number","time","uploadUrl","String","attemptsLimit","Function","failedUpload","micFailed","startRecord","startUpload","stopRecord","successfulUpload","successfulUploadMsg","failedUploadMsg","data","_this","isUploading","recorder","afterStop","recordList","selectedRecord","uploadStatus","components","IconButton","RecordPlayer","methods","toggleRecorder","records","isRecording","isPause","start","pause","stopRecorder","stop","selectRecord","idx","record","url","blob","onStartUpload","onEndUpload","status","_this2","setTimeout","computed","attemptsLeft","iconButtonType","message","recordedTime","duration","uploadStatusClasses","classes","volume","parseFloat","injectStyle","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_icon_button_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b82bb472_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_icon_button_vue__","normalizeComponent","__vue_styles__","Component","size","icons","download","mic","play","save","iconClasses","__WEBPACK_IMPORTED_MODULE_0__icon_button_vue__","__WEBPACK_IMPORTED_MODULE_1__line_control_vue__","__WEBPACK_IMPORTED_MODULE_2__lib_utils_js__","isPlaying","playedTime","progress","LineControl","mounted","player","getElementById","addEventListener","_resetProgress","_onTimeUpdate","playBtnIcon","playback","upload","_this3","$emit","FormData","append","$http","post","headers","Content-Type","_boundary","then","resp","catch","error","link","href","click","currentTime","_onUpdateProgress","_onUpdateVolume","val","__WEBPACK_IMPORTED_MODULE_0__lib_utils_js__","refId","eventName","percentage","onMouseDown","seekPos","$refs","onMouseMove","onMouseUp","removeEventListener","percentageWidth","value","__WEBPACK_IMPORTED_MODULE_0__audio_recorder_vue__","install","Vue","installed","component","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_audio_recorder_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7841b04e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_audio_recorder_vue__","locals","newStyles","part","_vm","_h","$createElement","_self","_c","class","domProps","innerHTML","_s","esExports","_classCallCheck","instance","Constructor","TypeError","__WEBPACK_IMPORTED_MODULE_0__wav_encoder__","__WEBPACK_IMPORTED_MODULE_1__utils__","_createClass","defineProperties","descriptor","writable","key","protoProps","staticProps","_class","arguments","undefined","bufferSize","samples","_duration","mediaDevices","getUserMedia","audio","_micCaptured","_micError","stream","getTracks","forEach","track","input","disconnect","processor","close","encoder","sampleRate","audioBlob","getData","audioUrl","URL","createObjectURL","slice","window","AudioContext","webkitAudioContext","createMediaStreamSource","createScriptProcessor","onaudioprocess","sample","inputBuffer","getChannelData","sum","toFixed","Math","sqrt","Float32Array","connect","destination","_joinSamples","buffer","ArrayBuffer","view","DataView","_writeString","setUint32","setUint16","_floatTo16BitPCM","Blob","output","offset","max","min","setInt16","recordLength","joinedSamples","Float64Array","set","string","setUint8","charCodeAt","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_record_player_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_46c7fafa_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_record_player_vue__","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_line_control_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b268bffc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_line_control_vue__","ref","staticClass","on","mousedown","style","ar-player--active","_v","attrs","ref-id","changeLineHead","nativeOn","$event","ar-icon-button--clicked","src","_e","ar__blur","ar-icon-button--rec","ar-icon-button--pulse","_l","ar-records__record--selected","upload-url","start-upload","successful-upload","failed-upload","on-start-upload","on-end-upload"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,OAAA,sBAAAH,GACA,gBAAAC,SACAA,QAAA,iBAAAD,IAEAD,EAAA,iBAAAC,KACC,mBAAAK,WAAAC,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAR,OAGA,IAAAC,GAAAQ,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAX,WAUA,OANAM,GAAAE,GAAAI,KAAAX,EAAAD,QAAAC,IAAAD,QAAAO,GAGAN,EAAAU,GAAA,EAGAV,EAAAD,QAvBA,GAAAS,KA4DA,OAhCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,SAAAf,EAAAgB,EAAAC,GACAV,EAAAW,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAV,EAAAiB,EAAA,SAAAvB,GACA,GAAAgB,GAAAhB,KAAAwB,WACA,WAA2B,MAAAxB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,O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EAAAkG,GAAAlG,EAAAQ,GAAAjG,EAAAa,kBAAsC4E,EAAAkG,GAAA,KAAA9F,EAAA,iBAAmC+F,OAAO5L,OAAAyF,EAAAzG,eAAAyN,aAAAhH,EAAA3H,UAAA4O,eAAAjH,EAAApH,YAAAsO,oBAAAlH,EAAAlH,iBAAAqO,gBAAAnH,EAAAvH,cAAgKqN,IAAKsB,kBAAApH,EAAAtF,cAAA2M,gBAAArH,EAAArF,eAAqEqF,EAAAkG,GAAA,KAAAlG,EAAA,aAAAI,EAAA,OAA2CC,MAAAL,EAAA3E,sBAA8B2E,EAAAkG,GAAAlG,EAAAQ,GAAAR,EAAA9E,YAAA8E,EAAA0G,MAAA,MAC77ClR,KACAiL,GAAiBlL,SAAAC,kBACjBiB,GAAA,O7BgyDqB","file":"vue-audio-recorder.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"VueAudioRecorder\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueAudioRecorder\"] = factory();\n\telse\n\t\troot[\"VueAudioRecorder\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"VueAudioRecorder\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueAudioRecorder\"] = factory();\n\telse\n\t\troot[\"VueAudioRecorder\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 9);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\nvar listToStyles = __webpack_require__(13)\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of \n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/audio-recorder.vue","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b82bb472\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./icon-button.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./icon-button.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./icon-button.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b82bb472\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./icon-button.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/icon-button.vue\n// module id = 5\n// module chunks = 0","\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/icon-button.vue","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/record-player.vue","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/line-control.vue","import AudioRecorder from './audio-recorder.vue'\n\nexport default {\n install: function (Vue) {\n if (this.installed) {\n return\n }\n\n this.installed = true\n\n Vue.component('audio-recorder', AudioRecorder)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7841b04e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader!../node_modules/vue-loader/lib/selector?type=styles&index=0!./audio-recorder.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./audio-recorder.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./audio-recorder.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7841b04e\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./audio-recorder.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/audio-recorder.vue\n// module id = 10\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/player.vue","\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/icon-button.vue","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-25f8cd84\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./line-control.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./line-control.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./line-control.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-25f8cd84\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./line-control.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/line-control.vue\n// module id = 8\n// module chunks = 0","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/line-control.vue","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/volume-control.vue","\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/recorder.vue","import AudioPlayer from './components/player.vue'\nimport AudioRecorder from './components/recorder.vue'\n\nconst components = {\n AudioPlayer,\n AudioRecorder,\n\n install (Vue) {\n if (this.installed) {\n return\n }\n\n this.installed = true\n\n Vue.component('audio-player', AudioPlayer)\n Vue.component('audio-recorder', AudioRecorder)\n }\n}\n\nexport default components\n\nexport { AudioPlayer, AudioRecorder }\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","// style-loader: Adds some css to the DOM by adding a