Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xgplayer-service-miniprogram

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xgplayer-service-miniprogram - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2

2

browser/index.js

@@ -1,1 +0,1 @@

window.XgplayerService=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,u="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=u&&i[e]||(u?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(27),u=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+o).toString(36))}},function(e,t,n){"use strict";var r=n(9),o=n(28);e.exports=n(7)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(0),o=n(14),i=n(18),u=n(13)("src"),s=n(29),c=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var a="function"==typeof n;a&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(a&&(i(n,u)||o(n,u,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||s.call(this)})},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r,o,i,u=n(5),s=n(38),c=n(39),a=n(16),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},d=function(e){delete m[e]},"process"==n(8)(l)?r=function(e){l.nextTick(u(b,e,1))}:v&&v.now?r=function(e){v.now(u(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in a("script")?function(e){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){"use strict";var r=n(6);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){e.exports=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(24);var r=i(n(48)),o=i(n(52));function i(e){return e&&e.__esModule?e:{default:e}}t.default={url:r.default,uid:!(0,o.default)()&&document&&document.cookie&&/tt_webid=(\d+)/gi.test(document.cookie)?RegExp.$1:""},e.exports=t.default},function(e,t,n){"use strict";var r,o,i,u,s=n(10),c=n(0),a=n(5),f=n(11),l=n(25),p=n(4),d=n(6),h=n(30),v=n(31),y=n(37),m=n(20).set,b=n(40)(),g=n(21),_=n(41),x=n(42),w=n(43),S=c.TypeError,j=c.process,O=j&&j.versions,P=O&&O.v8||"",T=c.Promise,E="process"==f(j),k=function(){},C=o=g.f,M=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(k,k)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,i=0,u=function(t){var n,i,u,s=o?t.ok:t.fail,c=t.resolve,a=t.reject,f=t.domain;try{s?(o||(2==e._h&&q(e),e._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),u=!0)),n===t.promise?a(S("Promise-chain cycle")):(i=R(n))?i.call(n,c,a):c(n)):a(r)}catch(e){f&&!u&&f.exit(),a(e)}};n.length>i;)u(n[i++]);e._c=[],e._n=!1,t&&!e._h&&H(e)})}},H=function(e){m.call(c,function(){var t,n,r,o=e._v,i=F(e);if(i&&(t=_(function(){E?j.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=E||F(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},q=function(e){m.call(c,function(){var t;E?j.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},D=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(n=R(t))?b(function(){var o={_w:r,_d:!1};try{n.call(t,a(e,o,1),a(L,o,1))}catch(e){L.call(o,e)}}):(r._v=t,r._s=1,A(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};M||(T=function(e){h(this,T,"Promise","_h"),d(e),r.call(this);try{e(a(D,this,1),a(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(T.prototype,{then:function(e,t){var n=C(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?j.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(D,e,1),this.reject=a(L,e,1)},g.f=C=function(e){return e===T||e===u?new i(e):o(e)}),l(l.G+l.W+l.F*!M,{Promise:T}),n(45)(T,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!M,"Promise",{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!M),"Promise",{resolve:function(e){return w(s&&this===u?T:this,e)}}),l(l.S+l.F*!(M&&n(47)(function(e){T.all(e).catch(k)})),"Promise",{all:function(e){var t=this,n=C(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,u=1;v(e,!1,function(e){var s=i++,c=!1;n.push(void 0),u++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,o=_(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(14),u=n(17),s=n(5),c=function e(t,n,c){var a,f,l,p,d=t&e.F,h=t&e.G,v=t&e.P,y=t&e.B,m=h?r:t&e.S?r[n]||(r[n]={}):(r[n]||{}).prototype,b=h?o:o[n]||(o[n]={}),g=b.prototype||(b.prototype={});for(a in h&&(c=n),c)l=((f=!d&&m&&void 0!==m[a])?m:c)[a],p=y&&f?s(l,r):v&&"function"==typeof l?s(Function.call,l):l,m&&u(m,a,l,t&e.U),b[a]!=l&&i(b,a,p),v&&g[a]!=l&&(g[a]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";e.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(33),u=n(3),s=n(34),c=n(36),a={},f={},l=e.exports=function(e,t,n,l,p){var d,h,v,y,m=p?function(){return e}:c(e),b=r(n,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>g;g++)if((y=t?b(u(h=e[g])[0],h[1]):b(e[g]))===a||y===f)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=o(v,b,h.value,t))===a||y===f)return y};l.BREAK=a,l.RETURN=f},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},function(e,t,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);e.exports=n(2).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||null==(n=r(u)[i])?t:o(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,s=r.Promise,c="process"==n(8)(u);e.exports=function(){var e,t,n,a=function(){var r,o;for(c&&(r=u.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){u.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(a)}}else n=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(3),o=n(4),i=n(21);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(0),o=n(9),i=n(7),u=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[u]&&o.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},e(i)}catch(e){}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(t&&e){var n=JSON.parse(r.default.base64decode(e));if("v1"===n.Version){var o="http:"+t+"?"+n.GetPlayInfoToken;return i.get(o).then(function(e){return e.data&&e.data.Result?e.data.Result:e.data||e})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(50)).default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={base64decode:function(e){var t,n,r,o,i,u,s,c=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];for(u=e.length,i=0,s="";i<u;){do{t=c[255&e.charCodeAt(i++)]}while(i<u&&-1===t);if(-1===t)break;do{n=c[255&e.charCodeAt(i++)]}while(i<u&&-1===n);if(-1===n)break;s+=String.fromCharCode(t<<2|(48&n)>>4);do{if(61===(r=255&e.charCodeAt(i++)))return s;r=c[r]}while(i<u&&-1===r);if(-1===r)break;s+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&e.charCodeAt(i++)))return s;o=c[o]}while(i<u&&-1===o);if(-1===o)break;s+=String.fromCharCode((3&r)<<6|o)}return s}};t.default=r,e.exports=t.default},function(e,t,n){"use strict";(function(e){var n,r,o,i,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)};e.exports={type:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},isObject:function(e,t){return t?"object"===this.type(e):e&&"object"===(void 0===e?"undefined":r(e))},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},encode:function(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(e){var t="",n=!0,r=this;if(!this.isObject(e))return e;return function e(o,i){var u=r.encode,s=r.type(o);if("array"==s)o.forEach(function(t,n){r.isObject(t)||(n=""),e(t,i+"%5B"+n+"%5D")});else if("object"==s)for(var c in o)e(o[c],i?i+"%5B"+u(c)+"%5D":u(c));else n||(t+="&"),n=!1,t+=i+"="+u(o)}(e,""),t},merge:function(e,t){for(var n in t)e.hasOwnProperty(n)?this.isObject(t[n],1)&&this.isObject(e[n],1)&&this.merge(e[n],t[n]):e[n]=t[n];return e}}},function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(0),s="undefined"!=typeof document;e.exports=function(e){return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(t,[{key:"_call",value:function(e){this[e]&&this[e].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(e){this.readyState=e,this._call("onreadystatechange")}},{key:"open",value:function(e,t){if(this.method=e,t){if(0!==(t=i.trim(t)).indexOf("http")&&s){var n=document.createElement("a");n.href=t,t=n.href}}else t=location.href;this.responseURL=t,this._changeReadyState(1)}},{key:"send",value:function(t){var n=this;t=t||null;var o=this;if(e){var u={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:t};i.merge(u,o._options||{}),"GET"===u.method&&(u.body=null),o._changeReadyState(3);var c=void 0;o.timeout=o.timeout||0,o.timeout>0&&(c=setTimeout(function(){3===o.readyState&&(n._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))},o.timeout)),u.timeout=o.timeout,e(u,function(e){function t(t){var n=e[t];return delete e[t],n}if(3===o.readyState){clearTimeout(c),o.status=t("statusCode")-0;var n=t("responseText"),i=t("statusMessage");if(o.status){var u=t("headers"),a={};for(var f in u){var l=u[f],p=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[p]=l:(a[p]=a[p]||[],a[p].push(l))}var d=a["set-cookie"];s&&d&&d.forEach(function(e){document.cookie=e.replace(/;\s*httpOnly/gi,"")}),o.responseHeaders=a,o.statusText=i||"",o.response=o.responseText=n,o._response=e,o._changeReadyState(4),o._call("onload")}else o.statusText=n,o._call("onerror",{msg:i});o._call("onloadend")}})}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(e,t){this.requestHeaders[i.trim(e)]=t}},{key:"getResponseHeader",value:function(e){return(this.responseHeaders[e.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var e="";for(var t in this.responseHeaders)e+=t+":"+this.getResponseHeader(t)+"\r\n";return e||null}},{key:"abort",value:function(e){this._changeReadyState(0),this._call("onerror",{msg:e}),this._call("onloadend")}}],[{key:"setAdapter",value:function(t){e=t}}]),t}()}},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(0),i="undefined"!=typeof document,u=function(){function e(t){function n(e){var t=void 0,n=void 0;function r(){e.p=t=n=null}o.merge(e,{lock:function(){t||(e.p=new Promise(function(e,r){t=e,n=r}))},unlock:function(){t&&(t(),r())},clear:function(){n&&(n("cancel"),r())}})}!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.engine=t||XMLHttpRequest,this.default=this;var r=this.interceptors={response:{use:function(e,t){this.handler=e,this.onerror=t}},request:{use:function(e){this.handler=e}}},i=r.request;n(r.response),n(i),this.config={method:"GET",baseURL:"",headers:{},timeout:0,params:{},parseJson:!0,withCredentials:!1}}return r(e,[{key:"request",value:function(e,t,n){var r=this,u=new this.engine,s="Content-Type",c=s.toLowerCase(),a=this.interceptors,f=a.request,l=a.response,p=f.handler,d=new Promise(function(a,d){function h(e){return e&&e.then&&e.catch}function v(e,t){e?e.then(function(){t()}):t()}o.isObject(e)&&(e=(n=e).url),(n=n||{}).headers=n.headers||{},v(f.p,function(){o.merge(n,JSON.parse(JSON.stringify(r.config)));var y=n.headers;y[s]=y[s]||y[c]||"",delete y[c],n.body=t||n.body,e=o.trim(e||""),n.method=n.method.toUpperCase(),n.url=e;var m=n;p&&(m=p.call(f,n,Promise)||n),h(m)||(m=Promise.resolve(m)),m.then(function(r){r===n?function(n){t=n.body,e=o.trim(n.url);var r=o.trim(n.baseURL||"");if(e||!i||r||(e=location.href),0!==e.indexOf("http")){var f="/"===e[0];if(!r&&i){var p=location.pathname.split("/");p.pop(),r=location.protocol+"//"+location.host+(f?"":p.join("/"))}if("/"!==r[r.length-1]&&(r+="/"),e=r+(f?e.substr(1):e),i){var y=document.createElement("a");y.href=e,e=y.href}}var m=o.trim(n.responseType||""),b=-1!==["GET","HEAD","DELETE","OPTION"].indexOf(n.method),g=o.type(t),_=n.params||{};b&&"object"===g&&(_=o.merge(t,_));var x=[];(_=o.formatParams(_))&&x.push(_),b&&t&&"string"===g&&x.push(t),x.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+x.join("&")),u.open(n.method,e);try{u.withCredentials=!!n.withCredentials,u.timeout=n.timeout||0,"stream"!==m&&(u.responseType=m)}catch(e){}var w=n.headers[s]||n.headers[c],S="application/x-www-form-urlencoded";for(var j in o.trim((w||"").toLowerCase())===S?t=o.formatParams(t):o.isFormData(t)||-1===["object","array"].indexOf(o.type(t))||(S="application/json;charset=utf-8",t=JSON.stringify(t)),w||b||(n.headers[s]=S),n.headers)if(j===s&&o.isFormData(t))delete n.headers[j];else try{u.setRequestHeader(j,n.headers[j])}catch(e){}function O(e,t,r){v(l.p,function(){if(e){r&&(t.request=n);var o=e.call(l,t,Promise);t=void 0===o?t:o}h(t)||(t=Promise[0===r?"resolve":"reject"](t)),t.then(function(e){a(e)}).catch(function(e){d(e)})})}function P(e){e.engine=u,O(l.onerror,e,-1)}function T(e,t){this.message=e,this.status=t}u.onload=function(){try{var e=u.response||u.responseText;e&&n.parseJson&&-1!==(u.getResponseHeader(s)||"").indexOf("json")&&!o.isObject(e)&&(e=JSON.parse(e));var t=u.responseHeaders;if(!t){t={};var r=(u.getAllResponseHeaders()||"").split("\r\n");r.pop(),r.forEach(function(e){if(e){var n=e.split(":")[0];t[n]=u.getResponseHeader(n)}})}var i=u.status,c=u.statusText,a={data:e,headers:t,status:i,statusText:c};if(o.merge(a,u._response),i>=200&&i<300||304===i)a.engine=u,a.request=n,O(l.handler,a,0);else{var f=new T(c,i);f.response=a,P(f)}}catch(f){P(new T(f.msg,u.status))}},u.onerror=function(e){P(new T(e.msg||"Network Error",0))},u.ontimeout=function(){P(new T("timeout [ "+u.timeout+"ms ]",1))},u._options=n,setTimeout(function(){u.send(b?null:t)},0)}(r):a(r)},function(e){d(e)})})});return d.engine=u,d}},{key:"all",value:function(e){return Promise.all(e)}},{key:"spread",value:function(e){return function(t){return e.apply(null,t)}}}]),e}();u.default=u,["get","post","put","patch","head","delete"].forEach(function(e){u.prototype[e]=function(t,n,r){return this.request(t,n,o.merge({method:e},r))}}),["lock","unlock","clear"].forEach(function(e){u.prototype[e]=function(){this.interceptors.request[e]()}}),e.exports=u},,,,,function(e,t,n){e.exports=function(e,t){var n={method:e.method,url:e.url,dataType:e.dataType||void 0,header:e.headers,data:e.body||{},responseType:e.responseType||"text",success:function(e){t({statusCode:e.statusCode,responseText:e.data,headers:e.header,statusMessage:e.errMsg})},fail:function(e){t({statusCode:e.statusCode||0,statusMessage:e.errMsg})}};wx.request(n)}},,,,,,function(e,t,n){var r=n(2),o=n(1)(n(7));e.exports=function(e){return new r(e||o)}}])},"object"===u(t)&&"object"===u(e)?e.exports=i():(r=[],void 0===(o="function"==typeof(n=i)?n.apply(t,r):n)||(e.exports=o))}).call(this,n(51)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return void 0===s&&(s=!n&&!r&&void 0!==e),s};t.hasProto="__proto__"in{};var n=t.inBrowser="undefined"!=typeof window,r=t.inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,o=t.weexPlatform=r&&WXEnvironment.platform.toLowerCase(),i=t.UA=n&&window.navigator.userAgent.toLowerCase(),u=(t.isIE=i&&/msie|trident/.test(i),t.isIE9=i&&i.indexOf("msie 9.0")>0,t.isEdge=i&&i.indexOf("edge/")>0),s=(t.isAndroid=i&&i.indexOf("android")>0||"android"===o,t.isIOS=i&&/iphone|ipad|ipod|ios/.test(i)||"ios"===o,t.isChrome=i&&/chrome\/\d+/.test(i)&&!u,void 0)}).call(this,n(53))},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r}]);
window.XgplayerService=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,u="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=u&&i[e]||(u?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(27),u=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+o).toString(36))}},function(e,t,n){"use strict";var r=n(9),o=n(28);e.exports=n(7)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(0),o=n(14),i=n(18),u=n(13)("src"),s=n(29),c=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var a="function"==typeof n;a&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(a&&(i(n,u)||o(n,u,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||s.call(this)})},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r,o,i,u=n(5),s=n(38),c=n(39),a=n(16),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},d=function(e){delete m[e]},"process"==n(8)(l)?r=function(e){l.nextTick(u(b,e,1))}:v&&v.now?r=function(e){v.now(u(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in a("script")?function(e){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){"use strict";var r=n(6);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){e.exports=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(24);var r,o=n(48),i=(r=o)&&r.__esModule?r:{default:r};t.default={url:i.default},e.exports=t.default},function(e,t,n){"use strict";var r,o,i,u,s=n(10),c=n(0),a=n(5),f=n(11),l=n(25),p=n(4),d=n(6),h=n(30),v=n(31),y=n(37),m=n(20).set,b=n(40)(),g=n(21),_=n(41),x=n(42),w=n(43),S=c.TypeError,j=c.process,P=j&&j.versions,O=P&&P.v8||"",T=c.Promise,k="process"==f(j),C=function(){},E=o=g.f,M=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t&&0!==O.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},H=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,i=0,u=function(t){var n,i,u,s=o?t.ok:t.fail,c=t.resolve,a=t.reject,f=t.domain;try{s?(o||(2==e._h&&F(e),e._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),u=!0)),n===t.promise?a(S("Promise-chain cycle")):(i=R(n))?i.call(n,c,a):c(n)):a(r)}catch(e){f&&!u&&f.exit(),a(e)}};n.length>i;)u(n[i++]);e._c=[],e._n=!1,t&&!e._h&&A(e)})}},A=function(e){m.call(c,function(){var t,n,r,o=e._v,i=q(e);if(i&&(t=_(function(){k?j.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=k||q(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},q=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){m.call(c,function(){var t;k?j.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),H(t,!0))},D=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(n=R(t))?b(function(){var o={_w:r,_d:!1};try{n.call(t,a(e,o,1),a(L,o,1))}catch(e){L.call(o,e)}}):(r._v=t,r._s=1,H(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};M||(T=function(e){h(this,T,"Promise","_h"),d(e),r.call(this);try{e(a(D,this,1),a(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(T.prototype,{then:function(e,t){var n=E(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?j.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&H(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(D,e,1),this.reject=a(L,e,1)},g.f=E=function(e){return e===T||e===u?new i(e):o(e)}),l(l.G+l.W+l.F*!M,{Promise:T}),n(45)(T,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!M,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!M),"Promise",{resolve:function(e){return w(s&&this===u?T:this,e)}}),l(l.S+l.F*!(M&&n(47)(function(e){T.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,u=1;v(e,!1,function(e){var s=i++,c=!1;n.push(void 0),u++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=_(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(14),u=n(17),s=n(5),c=function e(t,n,c){var a,f,l,p,d=t&e.F,h=t&e.G,v=t&e.P,y=t&e.B,m=h?r:t&e.S?r[n]||(r[n]={}):(r[n]||{}).prototype,b=h?o:o[n]||(o[n]={}),g=b.prototype||(b.prototype={});for(a in h&&(c=n),c)l=((f=!d&&m&&void 0!==m[a])?m:c)[a],p=y&&f?s(l,r):v&&"function"==typeof l?s(Function.call,l):l,m&&u(m,a,l,t&e.U),b[a]!=l&&i(b,a,p),v&&g[a]!=l&&(g[a]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";e.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(33),u=n(3),s=n(34),c=n(36),a={},f={},l=e.exports=function(e,t,n,l,p){var d,h,v,y,m=p?function(){return e}:c(e),b=r(n,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>g;g++)if((y=t?b(u(h=e[g])[0],h[1]):b(e[g]))===a||y===f)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=o(v,b,h.value,t))===a||y===f)return y};l.BREAK=a,l.RETURN=f},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},function(e,t,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);e.exports=n(2).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||null==(n=r(u)[i])?t:o(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,s=r.Promise,c="process"==n(8)(u);e.exports=function(){var e,t,n,a=function(){var r,o;for(c&&(r=u.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){u.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(a)}}else n=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(3),o=n(4),i=n(21);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(0),o=n(9),i=n(7),u=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[u]&&o.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},e(i)}catch(e){}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(t&&e){var n=JSON.parse(r.default.base64decode(e));if("v1"===n.Version){var o="http:"+t+"?"+n.GetPlayInfoToken;return i.get(o).then(function(e){return e.data&&e.data.Result?e.data.Result:e.data||e})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(50)).default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={base64decode:function(e){var t,n,r,o,i,u,s,c=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];for(u=e.length,i=0,s="";i<u;){do{t=c[255&e.charCodeAt(i++)]}while(i<u&&-1===t);if(-1===t)break;do{n=c[255&e.charCodeAt(i++)]}while(i<u&&-1===n);if(-1===n)break;s+=String.fromCharCode(t<<2|(48&n)>>4);do{if(61===(r=255&e.charCodeAt(i++)))return s;r=c[r]}while(i<u&&-1===r);if(-1===r)break;s+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&e.charCodeAt(i++)))return s;o=c[o]}while(i<u&&-1===o);if(-1===o)break;s+=String.fromCharCode((3&r)<<6|o)}return s}};t.default=r,e.exports=t.default},function(e,t,n){"use strict";(function(e){var n,r,o,i,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)};e.exports={type:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},isObject:function(e,t){return t?"object"===this.type(e):e&&"object"===(void 0===e?"undefined":r(e))},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},encode:function(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(e){var t="",n=!0,r=this;if(!this.isObject(e))return e;return function e(o,i){var u=r.encode,s=r.type(o);if("array"==s)o.forEach(function(t,n){r.isObject(t)||(n=""),e(t,i+"%5B"+n+"%5D")});else if("object"==s)for(var c in o)e(o[c],i?i+"%5B"+u(c)+"%5D":u(c));else n||(t+="&"),n=!1,t+=i+"="+u(o)}(e,""),t},merge:function(e,t){for(var n in t)e.hasOwnProperty(n)?this.isObject(t[n],1)&&this.isObject(e[n],1)&&this.merge(e[n],t[n]):e[n]=t[n];return e}}},function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(0),s="undefined"!=typeof document;e.exports=function(e){return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(t,[{key:"_call",value:function(e){this[e]&&this[e].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(e){this.readyState=e,this._call("onreadystatechange")}},{key:"open",value:function(e,t){if(this.method=e,t){if(0!==(t=i.trim(t)).indexOf("http")&&s){var n=document.createElement("a");n.href=t,t=n.href}}else t=location.href;this.responseURL=t,this._changeReadyState(1)}},{key:"send",value:function(t){var n=this;t=t||null;var o=this;if(e){var u={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:t};i.merge(u,o._options||{}),"GET"===u.method&&(u.body=null),o._changeReadyState(3);var c=void 0;o.timeout=o.timeout||0,o.timeout>0&&(c=setTimeout(function(){3===o.readyState&&(n._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))},o.timeout)),u.timeout=o.timeout,e(u,function(e){function t(t){var n=e[t];return delete e[t],n}if(3===o.readyState){clearTimeout(c),o.status=t("statusCode")-0;var n=t("responseText"),i=t("statusMessage");if(o.status){var u=t("headers"),a={};for(var f in u){var l=u[f],p=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[p]=l:(a[p]=a[p]||[],a[p].push(l))}var d=a["set-cookie"];s&&d&&d.forEach(function(e){document.cookie=e.replace(/;\s*httpOnly/gi,"")}),o.responseHeaders=a,o.statusText=i||"",o.response=o.responseText=n,o._response=e,o._changeReadyState(4),o._call("onload")}else o.statusText=n,o._call("onerror",{msg:i});o._call("onloadend")}})}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(e,t){this.requestHeaders[i.trim(e)]=t}},{key:"getResponseHeader",value:function(e){return(this.responseHeaders[e.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var e="";for(var t in this.responseHeaders)e+=t+":"+this.getResponseHeader(t)+"\r\n";return e||null}},{key:"abort",value:function(e){this._changeReadyState(0),this._call("onerror",{msg:e}),this._call("onloadend")}}],[{key:"setAdapter",value:function(t){e=t}}]),t}()}},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(0),i="undefined"!=typeof document,u=function(){function e(t){function n(e){var t=void 0,n=void 0;function r(){e.p=t=n=null}o.merge(e,{lock:function(){t||(e.p=new Promise(function(e,r){t=e,n=r}))},unlock:function(){t&&(t(),r())},clear:function(){n&&(n("cancel"),r())}})}!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.engine=t||XMLHttpRequest,this.default=this;var r=this.interceptors={response:{use:function(e,t){this.handler=e,this.onerror=t}},request:{use:function(e){this.handler=e}}},i=r.request;n(r.response),n(i),this.config={method:"GET",baseURL:"",headers:{},timeout:0,params:{},parseJson:!0,withCredentials:!1}}return r(e,[{key:"request",value:function(e,t,n){var r=this,u=new this.engine,s="Content-Type",c=s.toLowerCase(),a=this.interceptors,f=a.request,l=a.response,p=f.handler,d=new Promise(function(a,d){function h(e){return e&&e.then&&e.catch}function v(e,t){e?e.then(function(){t()}):t()}o.isObject(e)&&(e=(n=e).url),(n=n||{}).headers=n.headers||{},v(f.p,function(){o.merge(n,JSON.parse(JSON.stringify(r.config)));var y=n.headers;y[s]=y[s]||y[c]||"",delete y[c],n.body=t||n.body,e=o.trim(e||""),n.method=n.method.toUpperCase(),n.url=e;var m=n;p&&(m=p.call(f,n,Promise)||n),h(m)||(m=Promise.resolve(m)),m.then(function(r){r===n?function(n){t=n.body,e=o.trim(n.url);var r=o.trim(n.baseURL||"");if(e||!i||r||(e=location.href),0!==e.indexOf("http")){var f="/"===e[0];if(!r&&i){var p=location.pathname.split("/");p.pop(),r=location.protocol+"//"+location.host+(f?"":p.join("/"))}if("/"!==r[r.length-1]&&(r+="/"),e=r+(f?e.substr(1):e),i){var y=document.createElement("a");y.href=e,e=y.href}}var m=o.trim(n.responseType||""),b=-1!==["GET","HEAD","DELETE","OPTION"].indexOf(n.method),g=o.type(t),_=n.params||{};b&&"object"===g&&(_=o.merge(t,_));var x=[];(_=o.formatParams(_))&&x.push(_),b&&t&&"string"===g&&x.push(t),x.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+x.join("&")),u.open(n.method,e);try{u.withCredentials=!!n.withCredentials,u.timeout=n.timeout||0,"stream"!==m&&(u.responseType=m)}catch(e){}var w=n.headers[s]||n.headers[c],S="application/x-www-form-urlencoded";for(var j in o.trim((w||"").toLowerCase())===S?t=o.formatParams(t):o.isFormData(t)||-1===["object","array"].indexOf(o.type(t))||(S="application/json;charset=utf-8",t=JSON.stringify(t)),w||b||(n.headers[s]=S),n.headers)if(j===s&&o.isFormData(t))delete n.headers[j];else try{u.setRequestHeader(j,n.headers[j])}catch(e){}function P(e,t,r){v(l.p,function(){if(e){r&&(t.request=n);var o=e.call(l,t,Promise);t=void 0===o?t:o}h(t)||(t=Promise[0===r?"resolve":"reject"](t)),t.then(function(e){a(e)}).catch(function(e){d(e)})})}function O(e){e.engine=u,P(l.onerror,e,-1)}function T(e,t){this.message=e,this.status=t}u.onload=function(){try{var e=u.response||u.responseText;e&&n.parseJson&&-1!==(u.getResponseHeader(s)||"").indexOf("json")&&!o.isObject(e)&&(e=JSON.parse(e));var t=u.responseHeaders;if(!t){t={};var r=(u.getAllResponseHeaders()||"").split("\r\n");r.pop(),r.forEach(function(e){if(e){var n=e.split(":")[0];t[n]=u.getResponseHeader(n)}})}var i=u.status,c=u.statusText,a={data:e,headers:t,status:i,statusText:c};if(o.merge(a,u._response),i>=200&&i<300||304===i)a.engine=u,a.request=n,P(l.handler,a,0);else{var f=new T(c,i);f.response=a,O(f)}}catch(f){O(new T(f.msg,u.status))}},u.onerror=function(e){O(new T(e.msg||"Network Error",0))},u.ontimeout=function(){O(new T("timeout [ "+u.timeout+"ms ]",1))},u._options=n,setTimeout(function(){u.send(b?null:t)},0)}(r):a(r)},function(e){d(e)})})});return d.engine=u,d}},{key:"all",value:function(e){return Promise.all(e)}},{key:"spread",value:function(e){return function(t){return e.apply(null,t)}}}]),e}();u.default=u,["get","post","put","patch","head","delete"].forEach(function(e){u.prototype[e]=function(t,n,r){return this.request(t,n,o.merge({method:e},r))}}),["lock","unlock","clear"].forEach(function(e){u.prototype[e]=function(){this.interceptors.request[e]()}}),e.exports=u},,,,,function(e,t,n){e.exports=function(e,t){var n={method:e.method,url:e.url,dataType:e.dataType||void 0,header:e.headers,data:e.body||{},responseType:e.responseType||"text",success:function(e){t({statusCode:e.statusCode,responseText:e.data,headers:e.header,statusMessage:e.errMsg})},fail:function(e){t({statusCode:e.statusCode||0,statusMessage:e.errMsg})}};wx.request(n)}},,,,,,function(e,t,n){var r=n(2),o=n(1)(n(7));e.exports=function(e){return new r(e||o)}}])},"object"===u(t)&&"object"===u(e)?e.exports=i():(r=[],void 0===(o="function"==typeof(n=i)?n.apply(t,r):n)||(e.exports=o))}).call(this,n(51)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}]);

@@ -1,1 +0,1 @@

module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(27),s=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+o).toString(36))}},function(e,t,n){"use strict";var r=n(9),o=n(28);e.exports=n(7)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(0),o=n(14),i=n(18),s=n(13)("src"),u=n(29),c=(""+u).split("toString");n(2).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var a="function"==typeof n;a&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(a&&(i(n,s)||o(n,s,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||u.call(this)})},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r,o,i,s=n(5),u=n(38),c=n(39),a=n(16),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++y]=function(){u("function"==typeof e?e:Function(e),t)},r(y),y},d=function(e){delete m[e]},"process"==n(8)(l)?r=function(e){l.nextTick(s(b,e,1))}:v&&v.now?r=function(e){v.now(s(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in a("script")?function(e){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(s(b,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){"use strict";var r=n(6);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){e.exports=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(24);var r=i(n(48)),o=i(n(52));function i(e){return e&&e.__esModule?e:{default:e}}t.default={url:r.default,uid:!(0,o.default)()&&document&&document.cookie&&/tt_webid=(\d+)/gi.test(document.cookie)?RegExp.$1:""},e.exports=t.default},function(e,t,n){"use strict";var r,o,i,s,u=n(10),c=n(0),a=n(5),f=n(11),l=n(25),p=n(4),d=n(6),h=n(30),v=n(31),y=n(37),m=n(20).set,b=n(40)(),g=n(21),_=n(41),x=n(42),w=n(43),j=c.TypeError,S=c.process,O=S&&S.versions,P=O&&O.v8||"",T=c.Promise,E="process"==f(S),k=function(){},C=o=g.f,M=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(k,k)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s,u=o?t.ok:t.fail,c=t.resolve,a=t.reject,f=t.domain;try{u?(o||(2==e._h&&F(e),e._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),s=!0)),n===t.promise?a(j("Promise-chain cycle")):(i=R(n))?i.call(n,c,a):c(n)):a(r)}catch(e){f&&!s&&f.exit(),a(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&H(e)})}},H=function(e){m.call(c,function(){var t,n,r,o=e._v,i=q(e);if(i&&(t=_(function(){E?S.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=E||q(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},q=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){m.call(c,function(){var t;E?S.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},D=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(n=R(t))?b(function(){var o={_w:r,_d:!1};try{n.call(t,a(e,o,1),a(L,o,1))}catch(e){L.call(o,e)}}):(r._v=t,r._s=1,A(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};M||(T=function(e){h(this,T,"Promise","_h"),d(e),r.call(this);try{e(a(D,this,1),a(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(T.prototype,{then:function(e,t){var n=C(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(D,e,1),this.reject=a(L,e,1)},g.f=C=function(e){return e===T||e===s?new i(e):o(e)}),l(l.G+l.W+l.F*!M,{Promise:T}),n(45)(T,"Promise"),n(46)("Promise"),s=n(2).Promise,l(l.S+l.F*!M,"Promise",{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(u||!M),"Promise",{resolve:function(e){return w(u&&this===s?T:this,e)}}),l(l.S+l.F*!(M&&n(47)(function(e){T.all(e).catch(k)})),"Promise",{all:function(e){var t=this,n=C(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,s=1;v(e,!1,function(e){var u=i++,c=!1;n.push(void 0),s++,t.resolve(e).then(function(e){c||(c=!0,n[u]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,o=_(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(14),s=n(17),u=n(5),c=function e(t,n,c){var a,f,l,p,d=t&e.F,h=t&e.G,v=t&e.P,y=t&e.B,m=h?r:t&e.S?r[n]||(r[n]={}):(r[n]||{}).prototype,b=h?o:o[n]||(o[n]={}),g=b.prototype||(b.prototype={});for(a in h&&(c=n),c)l=((f=!d&&m&&void 0!==m[a])?m:c)[a],p=y&&f?u(l,r):v&&"function"==typeof l?u(Function.call,l):l,m&&s(m,a,l,t&e.U),b[a]!=l&&i(b,a,p),v&&g[a]!=l&&(g[a]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";e.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(33),s=n(3),u=n(34),c=n(36),a={},f={},l=e.exports=function(e,t,n,l,p){var d,h,v,y,m=p?function(){return e}:c(e),b=r(n,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=u(e.length);d>g;g++)if((y=t?b(s(h=e[g])[0],h[1]):b(e[g]))===a||y===f)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=o(v,b,h.value,t))===a||y===f)return y};l.BREAK=a,l.RETURN=f},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},function(e,t,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);e.exports=n(2).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[i])?t:o(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,u=r.Promise,c="process"==n(8)(s);e.exports=function(){var e,t,n,a=function(){var r,o;for(c&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(a)}}else n=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(3),o=n(4),i=n(21);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(0),o=n(9),i=n(7),s=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(t&&e){var n=JSON.parse(r.default.base64decode(e));if("v1"===n.Version){var o="http:"+t+"?"+n.GetPlayInfoToken;return i.get(o).then(function(e){return e.data&&e.data.Result?e.data.Result:e.data||e})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(50)).default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={base64decode:function(e){var t,n,r,o,i,s,u,c=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];for(s=e.length,i=0,u="";i<s;){do{t=c[255&e.charCodeAt(i++)]}while(i<s&&-1===t);if(-1===t)break;do{n=c[255&e.charCodeAt(i++)]}while(i<s&&-1===n);if(-1===n)break;u+=String.fromCharCode(t<<2|(48&n)>>4);do{if(61===(r=255&e.charCodeAt(i++)))return u;r=c[r]}while(i<s&&-1===r);if(-1===r)break;u+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&e.charCodeAt(i++)))return u;o=c[o]}while(i<s&&-1===o);if(-1===o)break;u+=String.fromCharCode((3&r)<<6|o)}return u}};t.default=r,e.exports=t.default},function(e,t,n){"use strict";(function(e){var n,r,o,i,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){var r="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":s(e)};e.exports={type:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},isObject:function(e,t){return t?"object"===this.type(e):e&&"object"===(void 0===e?"undefined":r(e))},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},encode:function(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(e){var t="",n=!0,r=this;if(!this.isObject(e))return e;return function e(o,i){var s=r.encode,u=r.type(o);if("array"==u)o.forEach(function(t,n){r.isObject(t)||(n=""),e(t,i+"%5B"+n+"%5D")});else if("object"==u)for(var c in o)e(o[c],i?i+"%5B"+s(c)+"%5D":s(c));else n||(t+="&"),n=!1,t+=i+"="+s(o)}(e,""),t},merge:function(e,t){for(var n in t)e.hasOwnProperty(n)?this.isObject(t[n],1)&&this.isObject(e[n],1)&&this.merge(e[n],t[n]):e[n]=t[n];return e}}},function(e,t,n){var r="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":s(e)},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(0),u="undefined"!=typeof document;e.exports=function(e){return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(t,[{key:"_call",value:function(e){this[e]&&this[e].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(e){this.readyState=e,this._call("onreadystatechange")}},{key:"open",value:function(e,t){if(this.method=e,t){if(0!==(t=i.trim(t)).indexOf("http")&&u){var n=document.createElement("a");n.href=t,t=n.href}}else t=location.href;this.responseURL=t,this._changeReadyState(1)}},{key:"send",value:function(t){var n=this;t=t||null;var o=this;if(e){var s={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:t};i.merge(s,o._options||{}),"GET"===s.method&&(s.body=null),o._changeReadyState(3);var c=void 0;o.timeout=o.timeout||0,o.timeout>0&&(c=setTimeout(function(){3===o.readyState&&(n._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))},o.timeout)),s.timeout=o.timeout,e(s,function(e){function t(t){var n=e[t];return delete e[t],n}if(3===o.readyState){clearTimeout(c),o.status=t("statusCode")-0;var n=t("responseText"),i=t("statusMessage");if(o.status){var s=t("headers"),a={};for(var f in s){var l=s[f],p=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[p]=l:(a[p]=a[p]||[],a[p].push(l))}var d=a["set-cookie"];u&&d&&d.forEach(function(e){document.cookie=e.replace(/;\s*httpOnly/gi,"")}),o.responseHeaders=a,o.statusText=i||"",o.response=o.responseText=n,o._response=e,o._changeReadyState(4),o._call("onload")}else o.statusText=n,o._call("onerror",{msg:i});o._call("onloadend")}})}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(e,t){this.requestHeaders[i.trim(e)]=t}},{key:"getResponseHeader",value:function(e){return(this.responseHeaders[e.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var e="";for(var t in this.responseHeaders)e+=t+":"+this.getResponseHeader(t)+"\r\n";return e||null}},{key:"abort",value:function(e){this._changeReadyState(0),this._call("onerror",{msg:e}),this._call("onloadend")}}],[{key:"setAdapter",value:function(t){e=t}}]),t}()}},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(0),i="undefined"!=typeof document,s=function(){function e(t){function n(e){var t=void 0,n=void 0;function r(){e.p=t=n=null}o.merge(e,{lock:function(){t||(e.p=new Promise(function(e,r){t=e,n=r}))},unlock:function(){t&&(t(),r())},clear:function(){n&&(n("cancel"),r())}})}!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.engine=t||XMLHttpRequest,this.default=this;var r=this.interceptors={response:{use:function(e,t){this.handler=e,this.onerror=t}},request:{use:function(e){this.handler=e}}},i=r.request;n(r.response),n(i),this.config={method:"GET",baseURL:"",headers:{},timeout:0,params:{},parseJson:!0,withCredentials:!1}}return r(e,[{key:"request",value:function(e,t,n){var r=this,s=new this.engine,u="Content-Type",c=u.toLowerCase(),a=this.interceptors,f=a.request,l=a.response,p=f.handler,d=new Promise(function(a,d){function h(e){return e&&e.then&&e.catch}function v(e,t){e?e.then(function(){t()}):t()}o.isObject(e)&&(e=(n=e).url),(n=n||{}).headers=n.headers||{},v(f.p,function(){o.merge(n,JSON.parse(JSON.stringify(r.config)));var y=n.headers;y[u]=y[u]||y[c]||"",delete y[c],n.body=t||n.body,e=o.trim(e||""),n.method=n.method.toUpperCase(),n.url=e;var m=n;p&&(m=p.call(f,n,Promise)||n),h(m)||(m=Promise.resolve(m)),m.then(function(r){r===n?function(n){t=n.body,e=o.trim(n.url);var r=o.trim(n.baseURL||"");if(e||!i||r||(e=location.href),0!==e.indexOf("http")){var f="/"===e[0];if(!r&&i){var p=location.pathname.split("/");p.pop(),r=location.protocol+"//"+location.host+(f?"":p.join("/"))}if("/"!==r[r.length-1]&&(r+="/"),e=r+(f?e.substr(1):e),i){var y=document.createElement("a");y.href=e,e=y.href}}var m=o.trim(n.responseType||""),b=-1!==["GET","HEAD","DELETE","OPTION"].indexOf(n.method),g=o.type(t),_=n.params||{};b&&"object"===g&&(_=o.merge(t,_));var x=[];(_=o.formatParams(_))&&x.push(_),b&&t&&"string"===g&&x.push(t),x.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+x.join("&")),s.open(n.method,e);try{s.withCredentials=!!n.withCredentials,s.timeout=n.timeout||0,"stream"!==m&&(s.responseType=m)}catch(e){}var w=n.headers[u]||n.headers[c],j="application/x-www-form-urlencoded";for(var S in o.trim((w||"").toLowerCase())===j?t=o.formatParams(t):o.isFormData(t)||-1===["object","array"].indexOf(o.type(t))||(j="application/json;charset=utf-8",t=JSON.stringify(t)),w||b||(n.headers[u]=j),n.headers)if(S===u&&o.isFormData(t))delete n.headers[S];else try{s.setRequestHeader(S,n.headers[S])}catch(e){}function O(e,t,r){v(l.p,function(){if(e){r&&(t.request=n);var o=e.call(l,t,Promise);t=void 0===o?t:o}h(t)||(t=Promise[0===r?"resolve":"reject"](t)),t.then(function(e){a(e)}).catch(function(e){d(e)})})}function P(e){e.engine=s,O(l.onerror,e,-1)}function T(e,t){this.message=e,this.status=t}s.onload=function(){try{var e=s.response||s.responseText;e&&n.parseJson&&-1!==(s.getResponseHeader(u)||"").indexOf("json")&&!o.isObject(e)&&(e=JSON.parse(e));var t=s.responseHeaders;if(!t){t={};var r=(s.getAllResponseHeaders()||"").split("\r\n");r.pop(),r.forEach(function(e){if(e){var n=e.split(":")[0];t[n]=s.getResponseHeader(n)}})}var i=s.status,c=s.statusText,a={data:e,headers:t,status:i,statusText:c};if(o.merge(a,s._response),i>=200&&i<300||304===i)a.engine=s,a.request=n,O(l.handler,a,0);else{var f=new T(c,i);f.response=a,P(f)}}catch(f){P(new T(f.msg,s.status))}},s.onerror=function(e){P(new T(e.msg||"Network Error",0))},s.ontimeout=function(){P(new T("timeout [ "+s.timeout+"ms ]",1))},s._options=n,setTimeout(function(){s.send(b?null:t)},0)}(r):a(r)},function(e){d(e)})})});return d.engine=s,d}},{key:"all",value:function(e){return Promise.all(e)}},{key:"spread",value:function(e){return function(t){return e.apply(null,t)}}}]),e}();s.default=s,["get","post","put","patch","head","delete"].forEach(function(e){s.prototype[e]=function(t,n,r){return this.request(t,n,o.merge({method:e},r))}}),["lock","unlock","clear"].forEach(function(e){s.prototype[e]=function(){this.interceptors.request[e]()}}),e.exports=s},,,,,function(e,t,n){e.exports=function(e,t){var n={method:e.method,url:e.url,dataType:e.dataType||void 0,header:e.headers,data:e.body||{},responseType:e.responseType||"text",success:function(e){t({statusCode:e.statusCode,responseText:e.data,headers:e.header,statusMessage:e.errMsg})},fail:function(e){t({statusCode:e.statusCode||0,statusMessage:e.errMsg})}};wx.request(n)}},,,,,,function(e,t,n){var r=n(2),o=n(1)(n(7));e.exports=function(e){return new r(e||o)}}])},"object"===s(t)&&"object"===s(e)?e.exports=i():(r=[],void 0===(o="function"==typeof(n=i)?n.apply(t,r):n)||(e.exports=o))}).call(this,n(51)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return void 0===c&&(c=!r&&!o&&"undefined"!=typeof global),c};t.hasProto="__proto__"in{};var r=t.inBrowser="undefined"!=typeof window,o=t.inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,i=t.weexPlatform=o&&WXEnvironment.platform.toLowerCase(),s=t.UA=r&&window.navigator.userAgent.toLowerCase(),u=(t.isIE=s&&/msie|trident/.test(s),t.isIE9=s&&s.indexOf("msie 9.0")>0,t.isEdge=s&&s.indexOf("edge/")>0),c=(t.isAndroid=s&&s.indexOf("android")>0||"android"===i,t.isIOS=s&&/iphone|ipad|ipod|ios/.test(s)||"ios"===i,t.isChrome=s&&/chrome\/\d+/.test(s)&&!u,void 0)}]);
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,u="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=u&&i[e]||(u?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(27),u=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+o).toString(36))}},function(e,t,n){"use strict";var r=n(9),o=n(28);e.exports=n(7)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(0),o=n(14),i=n(18),u=n(13)("src"),s=n(29),c=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var a="function"==typeof n;a&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(a&&(i(n,u)||o(n,u,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||s.call(this)})},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r,o,i,u=n(5),s=n(38),c=n(39),a=n(16),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},d=function(e){delete m[e]},"process"==n(8)(l)?r=function(e){l.nextTick(u(b,e,1))}:v&&v.now?r=function(e){v.now(u(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in a("script")?function(e){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){"use strict";var r=n(6);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){e.exports=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(24);var r,o=n(48),i=(r=o)&&r.__esModule?r:{default:r};t.default={url:i.default},e.exports=t.default},function(e,t,n){"use strict";var r,o,i,u,s=n(10),c=n(0),a=n(5),f=n(11),l=n(25),p=n(4),d=n(6),h=n(30),v=n(31),y=n(37),m=n(20).set,b=n(40)(),g=n(21),_=n(41),x=n(42),w=n(43),j=c.TypeError,S=c.process,P=S&&S.versions,O=P&&P.v8||"",T=c.Promise,k="process"==f(S),C=function(){},E=o=g.f,M=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t&&0!==O.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},H=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,i=0,u=function(t){var n,i,u,s=o?t.ok:t.fail,c=t.resolve,a=t.reject,f=t.domain;try{s?(o||(2==e._h&&F(e),e._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),u=!0)),n===t.promise?a(j("Promise-chain cycle")):(i=R(n))?i.call(n,c,a):c(n)):a(r)}catch(e){f&&!u&&f.exit(),a(e)}};n.length>i;)u(n[i++]);e._c=[],e._n=!1,t&&!e._h&&A(e)})}},A=function(e){m.call(c,function(){var t,n,r,o=e._v,i=q(e);if(i&&(t=_(function(){k?S.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=k||q(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},q=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){m.call(c,function(){var t;k?S.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),H(t,!0))},D=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(n=R(t))?b(function(){var o={_w:r,_d:!1};try{n.call(t,a(e,o,1),a(L,o,1))}catch(e){L.call(o,e)}}):(r._v=t,r._s=1,H(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};M||(T=function(e){h(this,T,"Promise","_h"),d(e),r.call(this);try{e(a(D,this,1),a(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(T.prototype,{then:function(e,t){var n=E(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&H(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(D,e,1),this.reject=a(L,e,1)},g.f=E=function(e){return e===T||e===u?new i(e):o(e)}),l(l.G+l.W+l.F*!M,{Promise:T}),n(45)(T,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!M,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!M),"Promise",{resolve:function(e){return w(s&&this===u?T:this,e)}}),l(l.S+l.F*!(M&&n(47)(function(e){T.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,u=1;v(e,!1,function(e){var s=i++,c=!1;n.push(void 0),u++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=_(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(14),u=n(17),s=n(5),c=function e(t,n,c){var a,f,l,p,d=t&e.F,h=t&e.G,v=t&e.P,y=t&e.B,m=h?r:t&e.S?r[n]||(r[n]={}):(r[n]||{}).prototype,b=h?o:o[n]||(o[n]={}),g=b.prototype||(b.prototype={});for(a in h&&(c=n),c)l=((f=!d&&m&&void 0!==m[a])?m:c)[a],p=y&&f?s(l,r):v&&"function"==typeof l?s(Function.call,l):l,m&&u(m,a,l,t&e.U),b[a]!=l&&i(b,a,p),v&&g[a]!=l&&(g[a]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";e.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(33),u=n(3),s=n(34),c=n(36),a={},f={},l=e.exports=function(e,t,n,l,p){var d,h,v,y,m=p?function(){return e}:c(e),b=r(n,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>g;g++)if((y=t?b(u(h=e[g])[0],h[1]):b(e[g]))===a||y===f)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=o(v,b,h.value,t))===a||y===f)return y};l.BREAK=a,l.RETURN=f},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},function(e,t,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);e.exports=n(2).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||null==(n=r(u)[i])?t:o(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,s=r.Promise,c="process"==n(8)(u);e.exports=function(){var e,t,n,a=function(){var r,o;for(c&&(r=u.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){u.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(a)}}else n=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(3),o=n(4),i=n(21);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(0),o=n(9),i=n(7),u=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[u]&&o.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},e(i)}catch(e){}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(t&&e){var n=JSON.parse(r.default.base64decode(e));if("v1"===n.Version){var o="http:"+t+"?"+n.GetPlayInfoToken;return i.get(o).then(function(e){return e.data&&e.data.Result?e.data.Result:e.data||e})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(50)).default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={base64decode:function(e){var t,n,r,o,i,u,s,c=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];for(u=e.length,i=0,s="";i<u;){do{t=c[255&e.charCodeAt(i++)]}while(i<u&&-1===t);if(-1===t)break;do{n=c[255&e.charCodeAt(i++)]}while(i<u&&-1===n);if(-1===n)break;s+=String.fromCharCode(t<<2|(48&n)>>4);do{if(61===(r=255&e.charCodeAt(i++)))return s;r=c[r]}while(i<u&&-1===r);if(-1===r)break;s+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&e.charCodeAt(i++)))return s;o=c[o]}while(i<u&&-1===o);if(-1===o)break;s+=String.fromCharCode((3&r)<<6|o)}return s}};t.default=r,e.exports=t.default},function(e,t,n){"use strict";(function(e){var n,r,o,i,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)};e.exports={type:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},isObject:function(e,t){return t?"object"===this.type(e):e&&"object"===(void 0===e?"undefined":r(e))},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},encode:function(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(e){var t="",n=!0,r=this;if(!this.isObject(e))return e;return function e(o,i){var u=r.encode,s=r.type(o);if("array"==s)o.forEach(function(t,n){r.isObject(t)||(n=""),e(t,i+"%5B"+n+"%5D")});else if("object"==s)for(var c in o)e(o[c],i?i+"%5B"+u(c)+"%5D":u(c));else n||(t+="&"),n=!1,t+=i+"="+u(o)}(e,""),t},merge:function(e,t){for(var n in t)e.hasOwnProperty(n)?this.isObject(t[n],1)&&this.isObject(e[n],1)&&this.merge(e[n],t[n]):e[n]=t[n];return e}}},function(e,t,n){var r="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(0),s="undefined"!=typeof document;e.exports=function(e){return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(t,[{key:"_call",value:function(e){this[e]&&this[e].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(e){this.readyState=e,this._call("onreadystatechange")}},{key:"open",value:function(e,t){if(this.method=e,t){if(0!==(t=i.trim(t)).indexOf("http")&&s){var n=document.createElement("a");n.href=t,t=n.href}}else t=location.href;this.responseURL=t,this._changeReadyState(1)}},{key:"send",value:function(t){var n=this;t=t||null;var o=this;if(e){var u={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:t};i.merge(u,o._options||{}),"GET"===u.method&&(u.body=null),o._changeReadyState(3);var c=void 0;o.timeout=o.timeout||0,o.timeout>0&&(c=setTimeout(function(){3===o.readyState&&(n._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))},o.timeout)),u.timeout=o.timeout,e(u,function(e){function t(t){var n=e[t];return delete e[t],n}if(3===o.readyState){clearTimeout(c),o.status=t("statusCode")-0;var n=t("responseText"),i=t("statusMessage");if(o.status){var u=t("headers"),a={};for(var f in u){var l=u[f],p=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[p]=l:(a[p]=a[p]||[],a[p].push(l))}var d=a["set-cookie"];s&&d&&d.forEach(function(e){document.cookie=e.replace(/;\s*httpOnly/gi,"")}),o.responseHeaders=a,o.statusText=i||"",o.response=o.responseText=n,o._response=e,o._changeReadyState(4),o._call("onload")}else o.statusText=n,o._call("onerror",{msg:i});o._call("onloadend")}})}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(e,t){this.requestHeaders[i.trim(e)]=t}},{key:"getResponseHeader",value:function(e){return(this.responseHeaders[e.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var e="";for(var t in this.responseHeaders)e+=t+":"+this.getResponseHeader(t)+"\r\n";return e||null}},{key:"abort",value:function(e){this._changeReadyState(0),this._call("onerror",{msg:e}),this._call("onloadend")}}],[{key:"setAdapter",value:function(t){e=t}}]),t}()}},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(0),i="undefined"!=typeof document,u=function(){function e(t){function n(e){var t=void 0,n=void 0;function r(){e.p=t=n=null}o.merge(e,{lock:function(){t||(e.p=new Promise(function(e,r){t=e,n=r}))},unlock:function(){t&&(t(),r())},clear:function(){n&&(n("cancel"),r())}})}!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.engine=t||XMLHttpRequest,this.default=this;var r=this.interceptors={response:{use:function(e,t){this.handler=e,this.onerror=t}},request:{use:function(e){this.handler=e}}},i=r.request;n(r.response),n(i),this.config={method:"GET",baseURL:"",headers:{},timeout:0,params:{},parseJson:!0,withCredentials:!1}}return r(e,[{key:"request",value:function(e,t,n){var r=this,u=new this.engine,s="Content-Type",c=s.toLowerCase(),a=this.interceptors,f=a.request,l=a.response,p=f.handler,d=new Promise(function(a,d){function h(e){return e&&e.then&&e.catch}function v(e,t){e?e.then(function(){t()}):t()}o.isObject(e)&&(e=(n=e).url),(n=n||{}).headers=n.headers||{},v(f.p,function(){o.merge(n,JSON.parse(JSON.stringify(r.config)));var y=n.headers;y[s]=y[s]||y[c]||"",delete y[c],n.body=t||n.body,e=o.trim(e||""),n.method=n.method.toUpperCase(),n.url=e;var m=n;p&&(m=p.call(f,n,Promise)||n),h(m)||(m=Promise.resolve(m)),m.then(function(r){r===n?function(n){t=n.body,e=o.trim(n.url);var r=o.trim(n.baseURL||"");if(e||!i||r||(e=location.href),0!==e.indexOf("http")){var f="/"===e[0];if(!r&&i){var p=location.pathname.split("/");p.pop(),r=location.protocol+"//"+location.host+(f?"":p.join("/"))}if("/"!==r[r.length-1]&&(r+="/"),e=r+(f?e.substr(1):e),i){var y=document.createElement("a");y.href=e,e=y.href}}var m=o.trim(n.responseType||""),b=-1!==["GET","HEAD","DELETE","OPTION"].indexOf(n.method),g=o.type(t),_=n.params||{};b&&"object"===g&&(_=o.merge(t,_));var x=[];(_=o.formatParams(_))&&x.push(_),b&&t&&"string"===g&&x.push(t),x.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+x.join("&")),u.open(n.method,e);try{u.withCredentials=!!n.withCredentials,u.timeout=n.timeout||0,"stream"!==m&&(u.responseType=m)}catch(e){}var w=n.headers[s]||n.headers[c],j="application/x-www-form-urlencoded";for(var S in o.trim((w||"").toLowerCase())===j?t=o.formatParams(t):o.isFormData(t)||-1===["object","array"].indexOf(o.type(t))||(j="application/json;charset=utf-8",t=JSON.stringify(t)),w||b||(n.headers[s]=j),n.headers)if(S===s&&o.isFormData(t))delete n.headers[S];else try{u.setRequestHeader(S,n.headers[S])}catch(e){}function P(e,t,r){v(l.p,function(){if(e){r&&(t.request=n);var o=e.call(l,t,Promise);t=void 0===o?t:o}h(t)||(t=Promise[0===r?"resolve":"reject"](t)),t.then(function(e){a(e)}).catch(function(e){d(e)})})}function O(e){e.engine=u,P(l.onerror,e,-1)}function T(e,t){this.message=e,this.status=t}u.onload=function(){try{var e=u.response||u.responseText;e&&n.parseJson&&-1!==(u.getResponseHeader(s)||"").indexOf("json")&&!o.isObject(e)&&(e=JSON.parse(e));var t=u.responseHeaders;if(!t){t={};var r=(u.getAllResponseHeaders()||"").split("\r\n");r.pop(),r.forEach(function(e){if(e){var n=e.split(":")[0];t[n]=u.getResponseHeader(n)}})}var i=u.status,c=u.statusText,a={data:e,headers:t,status:i,statusText:c};if(o.merge(a,u._response),i>=200&&i<300||304===i)a.engine=u,a.request=n,P(l.handler,a,0);else{var f=new T(c,i);f.response=a,O(f)}}catch(f){O(new T(f.msg,u.status))}},u.onerror=function(e){O(new T(e.msg||"Network Error",0))},u.ontimeout=function(){O(new T("timeout [ "+u.timeout+"ms ]",1))},u._options=n,setTimeout(function(){u.send(b?null:t)},0)}(r):a(r)},function(e){d(e)})})});return d.engine=u,d}},{key:"all",value:function(e){return Promise.all(e)}},{key:"spread",value:function(e){return function(t){return e.apply(null,t)}}}]),e}();u.default=u,["get","post","put","patch","head","delete"].forEach(function(e){u.prototype[e]=function(t,n,r){return this.request(t,n,o.merge({method:e},r))}}),["lock","unlock","clear"].forEach(function(e){u.prototype[e]=function(){this.interceptors.request[e]()}}),e.exports=u},,,,,function(e,t,n){e.exports=function(e,t){var n={method:e.method,url:e.url,dataType:e.dataType||void 0,header:e.headers,data:e.body||{},responseType:e.responseType||"text",success:function(e){t({statusCode:e.statusCode,responseText:e.data,headers:e.header,statusMessage:e.errMsg})},fail:function(e){t({statusCode:e.statusCode||0,statusMessage:e.errMsg})}};wx.request(n)}},,,,,,function(e,t,n){var r=n(2),o=n(1)(n(7));e.exports=function(e){return new r(e||o)}}])},"object"===u(t)&&"object"===u(e)?e.exports=i():(r=[],void 0===(o="function"==typeof(n=i)?n.apply(t,r):n)||(e.exports=o))}).call(this,n(51)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}]);
{
"name": "xgplayer-service-miniprogram",
"version": "0.1.0",
"version": "0.1.02",
"description": "video player service for byted cloud (miniprogram version)",

@@ -5,0 +5,0 @@ "miniprogram": "dist",

@@ -21,3 +21,3 @@ #点播视频地址获取SDK(微信小程序版本)

- ⚠️不支持依赖 nodejs 的内置库,比如 http, axios等等,替代策略可以是自己封装📦一个基于微信小程序内部http请求的api(wx.request)的想网络请求轮子,或者使用 [flyio](https://www.npmjs.com/package/flyio) 支持度,版本兼容行都挺好
- ⚠️不支持依赖 nodejs 的内置库,比如 http, axios等等,替代策略可以是自己封装📦一个基于微信小程序内部http请求的(wx.request)轮子,或者使用 [flyio](https://www.npmjs.com/package/flyio) 该包的支持度和版本兼容性都是不错的

@@ -24,0 +24,0 @@ - 微信小程序的环境(jscore),JsCore是一个没有窗口对象的环境, window, XmlHttpRequest等不能使用

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc