From be18fcfe60bd2ab921722611571ba7054868f355 Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Thu, 9 Jul 2020 11:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vue-aliplayer-v2.common.js | 22 ++++++++++++---------- lib/vue-aliplayer-v2.umd.js | 28 +++++++++++++++------------- lib/vue-aliplayer-v2.umd.min.js | 2 +- 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/lib/vue-aliplayer-v2.common.js b/lib/vue-aliplayer-v2.common.js index 109b83b..85a285e 100644 --- a/lib/vue-aliplayer-v2.common.js +++ b/lib/vue-aliplayer-v2.common.js @@ -142,12 +142,12 @@ if (typeof window !== 'undefined') { // EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js var es6_function_name = __webpack_require__("7cfd"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da& -var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.config.id}})} +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a& +var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.playerId}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a& // EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js var web_dom_iterable = __webpack_require__("4634"); @@ -178,11 +178,11 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); type: [String], default: null }, - id: { - required: false, - type: [String], - default: null - }, + // id:{ + // required: false, + // type: [String], + // default: null + // }, cssLink: { //css版本源 required: false, @@ -200,8 +200,9 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); return { player: null, //播放器实例 + playerId: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()), config: { - id: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()), + id: null, //播放器的ID width: '100%', autoplay: true // isLive: true, @@ -380,7 +381,8 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); if (this.source) this.config.source = this.source; //播放源 - if (this.id) this.config.id = this.id; + this.config.id = this.playerId; //赋值播放器容器id + this.player && this.player.dispose(); //防止实例的重复 this.player = Aliplayer(this.config); diff --git a/lib/vue-aliplayer-v2.umd.js b/lib/vue-aliplayer-v2.umd.js index b29fb96..71a6fe0 100644 --- a/lib/vue-aliplayer-v2.umd.js +++ b/lib/vue-aliplayer-v2.umd.js @@ -151,12 +151,12 @@ if (typeof window !== 'undefined') { // EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js var es6_function_name = __webpack_require__("7cfd"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da& -var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.config.id}})} +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a& +var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.playerId}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a& // EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js var web_dom_iterable = __webpack_require__("4634"); @@ -187,11 +187,11 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); type: [String], default: null }, - id: { - required: false, - type: [String], - default: null - }, + // id:{ + // required: false, + // type: [String], + // default: null + // }, cssLink: { //css版本源 required: false, @@ -209,8 +209,9 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); return { player: null, //播放器实例 + playerId: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()), config: { - id: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()), + id: null, //播放器的ID width: '100%', autoplay: true // isLive: true, @@ -389,7 +390,8 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); if (this.source) this.config.source = this.source; //播放源 - // if (this.id) this.config.id = this.id; + this.config.id = this.playerId; //赋值播放器容器id + this.player && this.player.dispose(); //防止实例的重复 this.player = Aliplayer(this.config); @@ -697,7 +699,7 @@ var es6_regexp_to_string = __webpack_require__("cc1d"); } }); // CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& - /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); + /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ @@ -809,7 +811,7 @@ var component = normalizeComponent( null, null, null - + ) /* harmony default export */ var main = (component.exports); @@ -1872,4 +1874,4 @@ module.exports = !__webpack_require__("0cc1")(function () { /******/ }); }); -//# sourceMappingURL=vue-aliplayer-v2.umd.js.map +//# sourceMappingURL=vue-aliplayer-v2.umd.js.map \ No newline at end of file diff --git a/lib/vue-aliplayer-v2.umd.min.js b/lib/vue-aliplayer-v2.umd.min.js index 9263e23..93904e2 100644 --- a/lib/vue-aliplayer-v2.umd.min.js +++ b/lib/vue-aliplayer-v2.umd.min.js @@ -1,2 +1,2 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-aliplayer-v2"]=e():t["vue-aliplayer-v2"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};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}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return 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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="112a")}({"0614":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"0cc1":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"112a":function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("7cfd");var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:t.config.id}})},o=[],a=(n("4634"),n("cc1d"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[String],default:null},id:{required:!1,type:[String],default:null},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,config:{id:"player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(){this.init()},options:{handler:function(){this.init()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},updated:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{init:function(){var t=this,e="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),a=document.getElementById(e);if(!a){var c=document.createElement("link");c.type="text/css",c.rel="stylesheet",c.href=this.cssLink,c.id=e,r[0].appendChild(c)}o?(this.initPlayer(),o.addEventListener("load",(function(){t.initPlayer()}))):(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){t.initPlayer()})))},initPlayer:function(){var t=this;if("undefined"!=typeof window.Aliplayer){var e=this.options;if(e)for(var n in e)this.config[n]=e[n];this.source&&(this.config.source=this.source),this.id&&(this.config.id=this.id),this.player&&this.player.dispose(),this.player=Aliplayer(this.config);var r=function(e){t.player&&t.player.on(t.events[e],(function(n){t.$emit(t.events[e],n)}))};for(var i in this.events)r(i)}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(t){this.player&&this.player.seek(t)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(t){this.player&&this.player.setVolume(t)},loadByUrl:function(t,e){this.player&&this.player.loadByUrl(t,e)},replayByVidAndPlayAuth:function(t,e){this.player&&this.player.replayByVidAndPlayAuth(t,e)},replayByVidAndAuthInfo:function(t,e,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(t,e,n,r,i,o)},setPlayerSize:function(t,e){this.player&&this.player.setPlayerSize(t,e)},setSpeed:function(t){this.player&&this.player.setSpeed(t)},setSanpshotProperties:function(t,e,n){this.player&&this.player.setSanpshotProperties(t,e,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.getStatus()},setLiveTimeRange:function(t,e){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(t,e)},setRotate:function(t){this.player&&this.player.setRotate(t)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(t){this.player&&this.player.setImage(t)},dispose:function(){this.player&&this.player.dispose()},setCover:function(t){this.player&&this.player.setCover(t)},setProgressMarkers:function(t){this.player&&this.player.setProgressMarkers(t)},setPreviewTime:function(t){this.player&&this.player.setPreviewTime(t)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(t,e){this.player&&this.player.off(t,e)}},beforeDestroy:function(){this.dispose();var t=document.querySelector("head"),e=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');t&&e.forEach((function(e){t.removeChild(e)}))}}),c=a;function u(t,e,n,r,i,o,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}var s=u(c,i,o,!1,null,null,null),f=s.exports;f.install=function(t){t.component(f.name,f)};var l=f,p=[l],d=function t(e){if(t.installed)return!1;t.installed=!0,p.map((function(t){return e.component(t.name,t)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};e["default"]=y},1277:function(t,e,n){var r=n("f341")("wks"),i=n("4d2c"),o=n("3f8b").Symbol,a="function"==typeof o,c=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};c.store=r},"17cb":function(t,e,n){var r=n("3f8b").document;t.exports=r&&r.documentElement},"1f9e":function(t,e,n){var r=n("6117"),i=n("8941"),o=n("c3a9");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=i(u.length),f=o(a,s);if(t&&n!=n){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},2498:function(t,e,n){var r=n("3f8b"),i=n("da27"),o=n("b8ea"),a=n("a6d5"),c=n("e85e"),u="prototype",s=function(t,e,n){var f,l,p,d,y=t&s.F,h=t&s.G,v=t&s.S,m=t&s.P,g=t&s.B,b=h?r:v?r[e]||(r[e]={}):(r[e]||{})[u],S=h?i:i[e]||(i[e]={}),x=S[u]||(S[u]={});for(f in h&&(n=e),n)l=!y&&b&&void 0!==b[f],p=(l?b:n)[f],d=g&&l?c(p,r):m&&"function"==typeof p?c(Function.call,p):p,b&&a(b,f,p,t&s.U),S[f]!=p&&o(S,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"25ae":function(t,e,n){t.exports=!n("f9a5")&&!n("0cc1")((function(){return 7!=Object.defineProperty(n("6618")("div"),"a",{get:function(){return 7}}).a}))},"2ab1":function(t,e,n){var r=n("da0b");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")}},3038:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"3d87":function(t,e,n){var r=n("d3d8").f,i=n("549d"),o=n("1277")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"3f8b":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)},4634:function(t,e,n){for(var r=n("96dd"),i=n("7d56"),o=n("a6d5"),a=n("3f8b"),c=n("b8ea"),u=n("e3b3"),s=n("1277"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;h";e.style.display="none",n("17cb").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),s=t.F;while(r--)delete s[u][o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[u]=r(t),n=new c,c[u]=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},6618:function(t,e,n){var r=n("da0b"),i=n("3f8b").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"6cc2":function(t,e){t.exports=!1},"6fe0":function(t,e,n){t.exports=n("f341")("native-function-to-string",Function.toString)},"7afe":function(t,e,n){var r=n("549d"),i=n("6117"),o=n("1f9e")(!1),a=n("9947")("IE_PROTO");t.exports=function(t,e){var n,c=i(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);while(e.length>u)r(c,n=e[u++])&&(~o(s,n)||s.push(n));return s}},"7cfd":function(t,e,n){var r=n("d3d8").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("f9a5")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7d56":function(t,e,n){var r=n("7afe"),i=n("d93f");t.exports=Object.keys||function(t){return r(t,i)}},8451:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},8941:function(t,e,n){var r=n("a6ad"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"8cac":function(t,e,n){var r=n("da0b");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"8d69":function(t,e,n){var r=n("d3d8"),i=n("8cac"),o=n("7d56");t.exports=n("f9a5")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),c=a.length,u=0;while(c>u)r.f(t,n=a[u++],e[n]);return t}},"96dd":function(t,e,n){"use strict";var r=n("ab19"),i=n("c8e9"),o=n("e3b3"),a=n("6117");t.exports=n("4aef")(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)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},9947:function(t,e,n){var r=n("f341")("keys"),i=n("4d2c");t.exports=function(t){return r[t]||(r[t]=i(t))}},9952:function(t,e,n){var r=n("6077");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"9f7e":function(t,e,n){n("f9a5")&&"g"!=/./g.flags&&n("d3d8").f(RegExp.prototype,"flags",{configurable:!0,get:n("e7a1")})},a6ad:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a6d5:function(t,e,n){var r=n("3f8b"),i=n("b8ea"),o=n("549d"),a=n("4d2c")("src"),c=n("6fe0"),u="toString",s=(""+c).split(u);n("da27").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},a9cf:function(t,e,n){var r=n("3038");t.exports=function(t){return Object(r(t))}},ab19:function(t,e,n){var r=n("1277")("unscopables"),i=Array.prototype;void 0==i[r]&&n("b8ea")(i,r,{}),t.exports=function(t){i[r][t]=!0}},b8ea:function(t,e,n){var r=n("d3d8"),i=n("0614");t.exports=n("f9a5")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},c264:function(t,e,n){"use strict";var r=n("65c3"),i=n("0614"),o=n("3d87"),a={};n("b8ea")(a,n("1277")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},c3a9:function(t,e,n){var r=n("a6ad"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},c8e9:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},cc1d:function(t,e,n){"use strict";n("9f7e");var r=n("8cac"),i=n("e7a1"),o=n("f9a5"),a="toString",c=/./[a],u=function(t){n("a6d5")(RegExp.prototype,a,t,!0)};n("0cc1")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?u((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):c.name!=a&&u((function(){return c.call(this)}))},d15b:function(t,e,n){var r=n("549d"),i=n("a9cf"),o=n("9947")("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}},d3d8:function(t,e,n){var r=n("8cac"),i=n("25ae"),o=n("2ab1"),a=Object.defineProperty;e.f=n("f9a5")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},d93f:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},da0b:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},da27:function(t,e){var n=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},e3b3:function(t,e){t.exports={}},e67d:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},e7a1:function(t,e,n){"use strict";var r=n("8cac");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},e85e:function(t,e,n){var r=n("8451");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)}}},f341:function(t,e,n){var r=n("da27"),i=n("3f8b"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("6cc2")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},f9a5:function(t,e,n){t.exports=!n("0cc1")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}})})); +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-aliplayer-v2"]=e():t["vue-aliplayer-v2"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};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}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return 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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="112a")}({"0614":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"0cc1":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"112a":function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("7cfd");var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:t.playerId}})},o=[],a=(n("4634"),n("cc1d"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[String],default:null},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,playerId:"player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),config:{id:null,width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(){this.init()},options:{handler:function(){this.init()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},updated:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{init:function(){var t=this,e="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),a=document.getElementById(e);if(!a){var c=document.createElement("link");c.type="text/css",c.rel="stylesheet",c.href=this.cssLink,c.id=e,r[0].appendChild(c)}o?(this.initPlayer(),o.addEventListener("load",(function(){t.initPlayer()}))):(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){t.initPlayer()})))},initPlayer:function(){var t=this;if("undefined"!=typeof window.Aliplayer){var e=this.options;if(e)for(var n in e)this.config[n]=e[n];this.source&&(this.config.source=this.source),this.config.id=this.playerId,this.player&&this.player.dispose(),this.player=Aliplayer(this.config);var r=function(e){t.player&&t.player.on(t.events[e],(function(n){t.$emit(t.events[e],n)}))};for(var i in this.events)r(i)}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(t){this.player&&this.player.seek(t)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(t){this.player&&this.player.setVolume(t)},loadByUrl:function(t,e){this.player&&this.player.loadByUrl(t,e)},replayByVidAndPlayAuth:function(t,e){this.player&&this.player.replayByVidAndPlayAuth(t,e)},replayByVidAndAuthInfo:function(t,e,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(t,e,n,r,i,o)},setPlayerSize:function(t,e){this.player&&this.player.setPlayerSize(t,e)},setSpeed:function(t){this.player&&this.player.setSpeed(t)},setSanpshotProperties:function(t,e,n){this.player&&this.player.setSanpshotProperties(t,e,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.getStatus()},setLiveTimeRange:function(t,e){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(t,e)},setRotate:function(t){this.player&&this.player.setRotate(t)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(t){this.player&&this.player.setImage(t)},dispose:function(){this.player&&this.player.dispose()},setCover:function(t){this.player&&this.player.setCover(t)},setProgressMarkers:function(t){this.player&&this.player.setProgressMarkers(t)},setPreviewTime:function(t){this.player&&this.player.setPreviewTime(t)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(t,e){this.player&&this.player.off(t,e)}},beforeDestroy:function(){this.dispose();var t=document.querySelector("head"),e=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');t&&e.forEach((function(e){t.removeChild(e)}))}}),c=a;function u(t,e,n,r,i,o,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}var s=u(c,i,o,!1,null,null,null),f=s.exports;f.install=function(t){t.component(f.name,f)};var l=f,p=[l],d=function t(e){if(t.installed)return!1;t.installed=!0,p.map((function(t){return e.component(t.name,t)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};e["default"]=y},1277:function(t,e,n){var r=n("f341")("wks"),i=n("4d2c"),o=n("3f8b").Symbol,a="function"==typeof o,c=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};c.store=r},"17cb":function(t,e,n){var r=n("3f8b").document;t.exports=r&&r.documentElement},"1f9e":function(t,e,n){var r=n("6117"),i=n("8941"),o=n("c3a9");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=i(u.length),f=o(a,s);if(t&&n!=n){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},2498:function(t,e,n){var r=n("3f8b"),i=n("da27"),o=n("b8ea"),a=n("a6d5"),c=n("e85e"),u="prototype",s=function(t,e,n){var f,l,p,d,y=t&s.F,h=t&s.G,v=t&s.S,m=t&s.P,g=t&s.B,b=h?r:v?r[e]||(r[e]={}):(r[e]||{})[u],S=h?i:i[e]||(i[e]={}),x=S[u]||(S[u]={});for(f in h&&(n=e),n)l=!y&&b&&void 0!==b[f],p=(l?b:n)[f],d=g&&l?c(p,r):m&&"function"==typeof p?c(Function.call,p):p,b&&a(b,f,p,t&s.U),S[f]!=p&&o(S,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"25ae":function(t,e,n){t.exports=!n("f9a5")&&!n("0cc1")((function(){return 7!=Object.defineProperty(n("6618")("div"),"a",{get:function(){return 7}}).a}))},"2ab1":function(t,e,n){var r=n("da0b");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")}},3038:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"3d87":function(t,e,n){var r=n("d3d8").f,i=n("549d"),o=n("1277")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"3f8b":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)},4634:function(t,e,n){for(var r=n("96dd"),i=n("7d56"),o=n("a6d5"),a=n("3f8b"),c=n("b8ea"),u=n("e3b3"),s=n("1277"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;h";e.style.display="none",n("17cb").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),s=t.F;while(r--)delete s[u][o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[u]=r(t),n=new c,c[u]=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},6618:function(t,e,n){var r=n("da0b"),i=n("3f8b").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"6cc2":function(t,e){t.exports=!1},"6fe0":function(t,e,n){t.exports=n("f341")("native-function-to-string",Function.toString)},"7afe":function(t,e,n){var r=n("549d"),i=n("6117"),o=n("1f9e")(!1),a=n("9947")("IE_PROTO");t.exports=function(t,e){var n,c=i(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);while(e.length>u)r(c,n=e[u++])&&(~o(s,n)||s.push(n));return s}},"7cfd":function(t,e,n){var r=n("d3d8").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("f9a5")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7d56":function(t,e,n){var r=n("7afe"),i=n("d93f");t.exports=Object.keys||function(t){return r(t,i)}},8451:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},8941:function(t,e,n){var r=n("a6ad"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"8cac":function(t,e,n){var r=n("da0b");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"8d69":function(t,e,n){var r=n("d3d8"),i=n("8cac"),o=n("7d56");t.exports=n("f9a5")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),c=a.length,u=0;while(c>u)r.f(t,n=a[u++],e[n]);return t}},"96dd":function(t,e,n){"use strict";var r=n("ab19"),i=n("c8e9"),o=n("e3b3"),a=n("6117");t.exports=n("4aef")(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)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},9947:function(t,e,n){var r=n("f341")("keys"),i=n("4d2c");t.exports=function(t){return r[t]||(r[t]=i(t))}},9952:function(t,e,n){var r=n("6077");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"9f7e":function(t,e,n){n("f9a5")&&"g"!=/./g.flags&&n("d3d8").f(RegExp.prototype,"flags",{configurable:!0,get:n("e7a1")})},a6ad:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a6d5:function(t,e,n){var r=n("3f8b"),i=n("b8ea"),o=n("549d"),a=n("4d2c")("src"),c=n("6fe0"),u="toString",s=(""+c).split(u);n("da27").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},a9cf:function(t,e,n){var r=n("3038");t.exports=function(t){return Object(r(t))}},ab19:function(t,e,n){var r=n("1277")("unscopables"),i=Array.prototype;void 0==i[r]&&n("b8ea")(i,r,{}),t.exports=function(t){i[r][t]=!0}},b8ea:function(t,e,n){var r=n("d3d8"),i=n("0614");t.exports=n("f9a5")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},c264:function(t,e,n){"use strict";var r=n("65c3"),i=n("0614"),o=n("3d87"),a={};n("b8ea")(a,n("1277")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},c3a9:function(t,e,n){var r=n("a6ad"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},c8e9:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},cc1d:function(t,e,n){"use strict";n("9f7e");var r=n("8cac"),i=n("e7a1"),o=n("f9a5"),a="toString",c=/./[a],u=function(t){n("a6d5")(RegExp.prototype,a,t,!0)};n("0cc1")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?u((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):c.name!=a&&u((function(){return c.call(this)}))},d15b:function(t,e,n){var r=n("549d"),i=n("a9cf"),o=n("9947")("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}},d3d8:function(t,e,n){var r=n("8cac"),i=n("25ae"),o=n("2ab1"),a=Object.defineProperty;e.f=n("f9a5")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},d93f:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},da0b:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},da27:function(t,e){var n=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},e3b3:function(t,e){t.exports={}},e67d:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},e7a1:function(t,e,n){"use strict";var r=n("8cac");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},e85e:function(t,e,n){var r=n("8451");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)}}},f341:function(t,e,n){var r=n("da27"),i=n("3f8b"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("6cc2")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},f9a5:function(t,e,n){t.exports=!n("0cc1")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}})})); //# sourceMappingURL=vue-aliplayer-v2.umd.min.js.map \ No newline at end of file