xgplayer-service-miniprogram
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -1,1 +0,1 @@ | ||
window.XgplayerService=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=22)}([function(t,e,n){"use strict";var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(t,e,n){"use strict";var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return"object"===(void 0===t?"undefined":r(t))?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(27),u=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){"use strict";var r=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},function(t,e,n){"use strict";var r=n(9),o=n(28);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){"use strict";var r=n(0),o=n(14),i=n(18),u=n(13)("src"),c=n(29),s=(""+c).split("toString");n(2).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var f="function"==typeof n;f&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(f&&(i(n,u)||o(n,u,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,e,n){"use strict";var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r,o,i,u=n(5),c=n(38),s=n(39),f=n(16),a=n(0),l=a.process,d=a.setImmediate,p=a.clearImmediate,v=a.MessageChannel,h=a.Dispatch,y=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){_.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){c("function"==typeof t?t:Function(t),e)},r(y),y},p=function(t){delete m[t]},"process"==n(8)(l)?r=function(t){l.nextTick(u(_,t,1))}:h&&h.now?r=function(t){h.now(u(_,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(t){a.postMessage(t+"","*")},a.addEventListener("message",b,!1)):r="onreadystatechange"in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),_.call(t)}}:function(t){setTimeout(u(_,t,1),0)}),t.exports={set:d,clear:p}},function(t,e,n){"use strict";var r=n(6);function o(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){t.exports=n(23)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(24);var r=i(n(48)),o=i(n(59));function i(t){return t&&t.__esModule?t:{default:t}}e.default={url:r.default,uid:!(0,o.default)()&&document&&document.cookie&&/tt_webid=(\d+)/gi.test(document.cookie)?RegExp.$1:""},t.exports=e.default},function(t,e,n){"use strict";var r,o,i,u,c=n(10),s=n(0),f=n(5),a=n(11),l=n(25),d=n(4),p=n(6),v=n(30),h=n(31),y=n(37),m=n(20).set,_=n(40)(),b=n(21),x=n(41),g=n(42),w=n(43),j=s.TypeError,P=s.process,S=P&&P.versions,O=S&&S.v8||"",M=s.Promise,E="process"==a(P),k=function(){},T=o=b.f,C=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(k,k)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==O.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0,u=function(e){var n,i,u,c=o?e.ok:e.fail,s=e.resolve,f=e.reject,a=e.domain;try{c?(o||(2==t._h&&I(t),t._h=1),!0===c?n=r:(a&&a.enter(),n=c(r),a&&(a.exit(),u=!0)),n===e.promise?f(j("Promise-chain cycle")):(i=A(n))?i.call(n,s,f):s(n)):f(r)}catch(t){a&&!u&&a.exit(),f(t)}};n.length>i;)u(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){m.call(s,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=x(function(){E?P.emit("unhandledRejection",o,t):(n=s.onunhandledrejection)?n({promise:t,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){m.call(s,function(){var e;E?P.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function t(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw j("Promise can't be resolved itself");(n=A(e))?_(function(){var o={_w:r,_d:!1};try{n.call(e,f(t,o,1),f(W,o,1))}catch(t){W.call(o,t)}}):(r._v=e,r._s=1,F(r,!1))}catch(t){W.call({_w:r,_d:!1},t)}}};C||(M=function(t){v(this,M,"Promise","_h"),p(t),r.call(this);try{t(f(D,this,1),f(W,this,1))}catch(t){W.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(M.prototype,{then:function(t,e){var n=T(y(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=f(D,t,1),this.reject=f(W,t,1)},b.f=T=function(t){return t===M||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!C,{Promise:M}),n(45)(M,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!C,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(c||!C),"Promise",{resolve:function(t){return w(c&&this===u?M:this,t)}}),l(l.S+l.F*!(C&&n(47)(function(t){M.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,u=1;h(t,!1,function(t){var c=i++,s=!1;n.push(void 0),u++,e.resolve(t).then(function(t){s||(s=!0,n[c]=t,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(14),u=n(17),c=n(5),s=function t(e,n,s){var f,a,l,d,p=e&t.F,v=e&t.G,h=e&t.P,y=e&t.B,m=v?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,_=v?o:o[n]||(o[n]={}),b=_.prototype||(_.prototype={});for(f in v&&(s=n),s)l=((a=!p&&m&&void 0!==m[f])?m:s)[f],d=y&&a?c(l,r):h&&"function"==typeof l?c(Function.call,l):l,m&&u(m,f,l,e&t.U),_[f]!=l&&i(_,f,d),h&&b[f]!=l&&(b[f]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";t.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";t.exports=n(12)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){"use strict";var r=n(5),o=n(32),i=n(33),u=n(3),c=n(34),s=n(36),f={},a={},l=t.exports=function(t,e,n,l,d){var p,v,h,y,m=d?function(){return t}:s(t),_=r(n,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=c(t.length);p>b;b++)if((y=e?_(u(v=t[b])[0],v[1]):_(t[b]))===f||y===a)return y}else for(h=m.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===f||y===a)return y};l.BREAK=f,l.RETURN=a},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},function(t,e,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);t.exports=n(2).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");t.exports=function(t,e){var n,u=r(t).constructor;return void 0===u||null==(n=r(u)[i])?e:o(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){"use strict";var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,s="process"==n(8)(u);t.exports=function(){var t,e,n,f=function(){var r,o;for(s&&(r=u.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(s)n=function(){u.nextTick(f)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var a=c.resolve(void 0);n=function(){a.then(f)}}else n=function(){o.call(r,f)};else{var l=!0,d=document.createTextNode("");new i(f).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(0).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(3),o=n(4),i=n(21);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(7),u=n(1)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,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(t){}t.exports=function(t,e){if(!e&&!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},t(i)}catch(t){}return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(e&&t){var n=JSON.parse(r.default.base64decode(t));if("v1"===n.Version){var o={url:"http:"+e+"?"+n.GetPlayInfoToken};return i(o).then(function(t){return t.data&&t.data.Result?t.data.Result:t.data||t})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(t){return t&&t.__esModule?t:{default:t}}var i=new(o(n(50)).default);t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={base64decode:function(t){var e,n,r,o,i,u,c,s=[-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=t.length,i=0,c="";i<u;){do{e=s[255&t.charCodeAt(i++)]}while(i<u&&-1===e);if(-1===e)break;do{n=s[255&t.charCodeAt(i++)]}while(i<u&&-1===n);if(-1===n)break;c+=String.fromCharCode(e<<2|(48&n)>>4);do{if(61===(r=255&t.charCodeAt(i++)))return c;r=s[r]}while(i<u&&-1===r);if(-1===r)break;c+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&t.charCodeAt(i++)))return c;o=s[o]}while(i<u&&-1===o);if(-1===o)break;c+=String.fromCharCode((3&r)<<6|o)}return c}};e.default=r,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function s(t,e){return this.method({url:t,data:e,method:s.defaults.method})}(0,r.default)(s);(0,o.default)(s);(0,i.default)(s);(0,u.default)(s);s.build=function(e,n){var r=this,o=new c.default(this),i=o.clone();return n&&o.make(i,"wx",function(t){return function(e,n){return r.method({url:e,data:n,api:t})}}),i.options(e),i.create=t,i};s.options=function(t){var e=this;Object.keys(t).forEach(function(n){return e.defaults[n]=t[n]})};return s.build(e,n)};var r=s(n(51)),o=s(n(52)),i=s(n(54)),u=s(n(56)),c=s(n(57));function s(t){return t&&t.__esModule?t:{default:t}}(0,s(n(58)).default)(),t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){["get","post","put","delete","options","head","trace","connect"].forEach(function(e){t[e]=function(n,r){return t.method({url:n,data:r,method:e})}})},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t.defaults={url:"",method:"get",dataType:"json",responseType:"text",header:{"content-type":"application/json"}},t.interceptors={response:(0,i.default)(),request:(0,i.default)()}};var r,o=n(53),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{use:function(t,e){"function"==typeof t&&(this.success=t),"function"==typeof e&&(this.error=e)},success:function(t){return t},error:function(t){return t}}},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function(t){t.dataMerging=function(t,e,n){"string"==typeof e?(t.url=this.pathMerge(e),t.data=n,this.fnDefaults(t)):"object"===(void 0===e?"undefined":r(e))&&(e.url=this.pathMerge(e.url),Object.assign(t,e),this.fnDefaults(t))},t.pathMerge=function(t){return(0,o.isProtocol)(t)?t:this.defaults.url+t},t.fnDefaults=function(t){var e=this;["dataType","responseType","header"].forEach(function(n){return t[n]=t[n]?t[n]:e.defaults[n]})}};var o=n(55);t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.newObj=function(t){return JSON.parse(JSON.stringify(t))},e.isProtocol=function(t){return new RegExp("^http[s]?://").test(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t.method=function(t){var e=this,n=t.url,r=t.data,o=t.method,i=t.api,u=void 0===i?"request":i;try{return new Promise(function(t,i){var c=e.unite({url:n,data:r,method:o,resolve:t,reject:i});c=e.interceptors.request.success(c),wx[u](c)})}catch(t){return this.interceptors.request.error(t)}},t.unite=function(t){var e=this,n=t.url,r=t.data,o=t.method,i=t.resolve,u=t.reject,c={success:function(t){var n=e.interceptors.response.success(t);i(n)},fail:function(t){var n=e.interceptors.response.error(t);u(n)}};return c.method=o,this.dataMerging(c,n,r),c}},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.stuff=e}return r(t,[{key:"clone",value:function(){var t="function"==typeof this.stuff?this.stuff.bind(this.stuff):{};return Object.assign(t,this.stuff),t}},{key:"make",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],n=arguments[2];return"function"==typeof Proxy?this.proxy(t,e,n):this.defineProperty(t,e,n)}},{key:"proxy",value:function(t,e,n){return this.stuff[e]={},t[e]=new Proxy(this.stuff[e],{get:function(t,e,r){return t[e]||(t[e]=n(e)),Reflect.get(t,e,r)}}),t}},{key:"defineProperty",value:function(t,e,n){var r={};return t[e]={},Object.keys(wx).forEach(function(o){Object.defineProperty(t[e],o,{get:function(){return r[o]||(r[o]=n(o)),r[o]}})}),t}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){Promise.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){throw n})})}},t.exports=e.default},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return void 0===c&&(c=!n&&!r&&void 0!==t),c};e.hasProto="__proto__"in{};var n=e.inBrowser="undefined"!=typeof window,r=e.inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,o=e.weexPlatform=r&&WXEnvironment.platform.toLowerCase(),i=e.UA=n&&window.navigator.userAgent.toLowerCase(),u=(e.isIE=i&&/msie|trident/.test(i),e.isIE9=i&&i.indexOf("msie 9.0")>0,e.isEdge=i&&i.indexOf("edge/")>0),c=(e.isAndroid=i&&i.indexOf("android")>0||"android"===o,e.isIOS=i&&/iphone|ipad|ipod|ios/.test(i)||"ios"===o,e.isChrome=i&&/chrome\/\d+/.test(i)&&!u,void 0)}).call(this,n(60))},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}t.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,d=f.setImmediate,p=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)};d&&p||(d=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},p=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:d,clear:p}},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(61));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),d=n(4),p=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||"",k=c.Promise,M="process"==f(S),T=function(){},E=o=g.f,C=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(T,T)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!d(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&&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&&q(e)})}},q=function(e){m.call(c,function(){var t,n,r,o=e._v,i=H(e);if(i&&(t=_(function(){M?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=M||H(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},H=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){m.call(c,function(){var t;M?S.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=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))},L=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(D,o,1))}catch(e){D.call(o,e)}}):(r._v=t,r._s=1,A(r,!1))}catch(e){D.call({_w:r,_d:!1},e)}}};C||(k=function(e){h(this,k,"Promise","_h"),p(e),r.call(this);try{e(a(L,this,1),a(D,this,1))}catch(e){D.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)(k.prototype,{then:function(e,t){var n=E(y(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?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(L,e,1),this.reject=a(D,e,1)},g.f=E=function(e){return e===k||e===u?new i(e):o(e)}),l(l.G+l.W+l.F*!C,{Promise:k}),n(45)(k,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!C,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!C),"Promise",{resolve:function(e){return w(s&&this===u?k:this,e)}}),l(l.S+l.F*!(C&&n(47)(function(e){k.all(e).catch(T)})),"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,d,p=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=!p&&m&&void 0!==m[a])?m:c)[a],d=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,d),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,d){var p,h,v,y,m=d?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(p=s(e.length);p>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,d=document.createTextNode("");new i(a).observe(d,{characterData:!0}),n=function(){d.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));o(n(50));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(59)).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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function c(e,t){return this.method({url:e,data:t,method:c.defaults.method})}(0,r.default)(c);(0,o.default)(c);(0,i.default)(c);(0,u.default)(c);c.build=function(t,n){var r=this,o=new s.default(this),i=o.clone();return n&&o.make(i,"wx",function(e){return function(t,n){return r.method({url:t,data:n,api:e})}}),i.options(t),i.create=e,i};c.options=function(e){var t=this;Object.keys(e).forEach(function(n){return t.defaults[n]=e[n]})};return c.build(t,n)};var r=c(n(51)),o=c(n(52)),i=c(n(54)),u=c(n(56)),s=c(n(57));function c(e){return e&&e.__esModule?e:{default:e}}(0,c(n(58)).default)(),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){["get","post","put","delete","options","head","trace","connect"].forEach(function(t){e[t]=function(n,r){return e.method({url:n,data:r,method:t})}})},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.defaults={url:"",method:"get",dataType:"json",responseType:"text",header:{"content-type":"application/json"}},e.interceptors={response:(0,i.default)(),request:(0,i.default)()}};var r,o=n(53),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{use:function(e,t){"function"==typeof e&&(this.success=e),"function"==typeof t&&(this.error=t)},success:function(e){return e},error:function(e){return e}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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};t.default=function(e){e.dataMerging=function(e,t,n){"string"==typeof t?(e.url=this.pathMerge(t),e.data=n,this.fnDefaults(e)):"object"===(void 0===t?"undefined":r(t))&&(t.url=this.pathMerge(t.url),Object.assign(e,t),this.fnDefaults(e))},e.pathMerge=function(e){return(0,o.isProtocol)(e)?e:this.defaults.url+e},e.fnDefaults=function(e){var t=this;["dataType","responseType","header"].forEach(function(n){return e[n]=e[n]?e[n]:t.defaults[n]})}};var o=n(55);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.newObj=function(e){return JSON.parse(JSON.stringify(e))},t.isProtocol=function(e){return new RegExp("^http[s]?://").test(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.method=function(e){var t=this,n=e.url,r=e.data,o=e.method,i=e.api,u=void 0===i?"request":i;try{return new Promise(function(e,i){var s=t.unite({url:n,data:r,method:o,resolve:e,reject:i});s=t.interceptors.request.success(s),wx[u](s)})}catch(e){return this.interceptors.request.error(e)}},e.unite=function(e){var t=this,n=e.url,r=e.data,o=e.method,i=e.resolve,u=e.reject,s={success:function(e){var n=t.interceptors.response.success(e);i(n)},fail:function(e){var n=t.interceptors.response.error(e);u(n)}};return s.method=o,this.dataMerging(s,n,r),s}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stuff=t}return r(e,[{key:"clone",value:function(){var e="function"==typeof this.stuff?this.stuff.bind(this.stuff):{};return Object.assign(e,this.stuff),e}},{key:"make",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2];return"function"==typeof Proxy?this.proxy(e,t,n):this.defineProperty(e,t,n)}},{key:"proxy",value:function(e,t,n){return this.stuff[t]={},e[t]=new Proxy(this.stuff[t],{get:function(e,t,r){return e[t]||(e[t]=n(t)),Reflect.get(e,t,r)}}),e}},{key:"defineProperty",value:function(e,t,n){var r={};return e[t]={},Object.keys(wx).forEach(function(o){Object.defineProperty(e[t],o,{get:function(){return r[o]||(r[o]=n(o)),r[o]}})}),e}}]),e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){Promise.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}},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],d=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[d]=l:(a[d]=a[d]||[],a[d].push(l))}var p=a["set-cookie"];s&&p&&p.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,d=f.handler,p=new Promise(function(a,p){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;d&&(m=d.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 d=location.pathname.split("/");d.pop(),r=location.protocol+"//"+location.host+(f?"":d.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 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){p(e)})})}function P(e){e.engine=u,O(l.onerror,e,-1)}function k(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 k(c,i);f.response=a,P(f)}}catch(f){P(new k(f.msg,u.status))}},u.onerror=function(e){P(new k(e.msg||"Network Error",0))},u.ontimeout=function(){P(new k("timeout [ "+u.timeout+"ms ]",1))},u._options=n,setTimeout(function(){u.send(b?null:t)},0)}(r):a(r)},function(e){p(e)})})});return p.engine=u,p}},{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(60)(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(62))},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}]); |
@@ -1,1 +0,1 @@ | ||
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=22)}([function(t,e,n){"use strict";var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,n){"use strict";var r=n(12)("wks"),o=n(13),i=n(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(t,e,n){"use strict";var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return"object"===(void 0===t?"undefined":r(t))?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(27),u=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r=n(8),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){"use strict";var r=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},function(t,e,n){"use strict";var r=n(9),o=n(28);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r=n(4),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){"use strict";var r=n(0),o=n(14),i=n(18),u=n(13)("src"),c=n(29),s=(""+c).split("toString");n(2).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var f="function"==typeof n;f&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(f&&(i(n,u)||o(n,u,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,e,n){"use strict";var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r,o,i,u=n(5),c=n(38),s=n(39),f=n(16),a=n(0),l=a.process,d=a.setImmediate,p=a.clearImmediate,v=a.MessageChannel,h=a.Dispatch,y=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){_.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){c("function"==typeof t?t:Function(t),e)},r(y),y},p=function(t){delete m[t]},"process"==n(8)(l)?r=function(t){l.nextTick(u(_,t,1))}:h&&h.now?r=function(t){h.now(u(_,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(t){a.postMessage(t+"","*")},a.addEventListener("message",b,!1)):r="onreadystatechange"in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),_.call(t)}}:function(t){setTimeout(u(_,t,1),0)}),t.exports={set:d,clear:p}},function(t,e,n){"use strict";var r=n(6);function o(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){t.exports=n(23)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(24);var r=i(n(48)),o=i(n(59));function i(t){return t&&t.__esModule?t:{default:t}}e.default={url:r.default,uid:!(0,o.default)()&&document&&document.cookie&&/tt_webid=(\d+)/gi.test(document.cookie)?RegExp.$1:""},t.exports=e.default},function(t,e,n){"use strict";var r,o,i,u,c=n(10),s=n(0),f=n(5),a=n(11),l=n(25),d=n(4),p=n(6),v=n(30),h=n(31),y=n(37),m=n(20).set,_=n(40)(),b=n(21),x=n(41),g=n(42),w=n(43),j=s.TypeError,P=s.process,O=P&&P.versions,S=O&&O.v8||"",M=s.Promise,E="process"==a(P),k=function(){},T=o=b.f,C=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(k,k)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==S.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0,u=function(e){var n,i,u,c=o?e.ok:e.fail,s=e.resolve,f=e.reject,a=e.domain;try{c?(o||(2==t._h&&I(t),t._h=1),!0===c?n=r:(a&&a.enter(),n=c(r),a&&(a.exit(),u=!0)),n===e.promise?f(j("Promise-chain cycle")):(i=A(n))?i.call(n,s,f):s(n)):f(r)}catch(t){a&&!u&&a.exit(),f(t)}};n.length>i;)u(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){m.call(s,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=x(function(){E?P.emit("unhandledRejection",o,t):(n=s.onunhandledrejection)?n({promise:t,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){m.call(s,function(){var e;E?P.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function t(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw j("Promise can't be resolved itself");(n=A(e))?_(function(){var o={_w:r,_d:!1};try{n.call(e,f(t,o,1),f(W,o,1))}catch(t){W.call(o,t)}}):(r._v=e,r._s=1,F(r,!1))}catch(t){W.call({_w:r,_d:!1},t)}}};C||(M=function(t){v(this,M,"Promise","_h"),p(t),r.call(this);try{t(f(D,this,1),f(W,this,1))}catch(t){W.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(M.prototype,{then:function(t,e){var n=T(y(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=f(D,t,1),this.reject=f(W,t,1)},b.f=T=function(t){return t===M||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!C,{Promise:M}),n(45)(M,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!C,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(c||!C),"Promise",{resolve:function(t){return w(c&&this===u?M:this,t)}}),l(l.S+l.F*!(C&&n(47)(function(t){M.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,u=1;h(t,!1,function(t){var c=i++,s=!1;n.push(void 0),u++,e.resolve(t).then(function(t){s||(s=!0,n[c]=t,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(14),u=n(17),c=n(5),s=function t(e,n,s){var f,a,l,d,p=e&t.F,v=e&t.G,h=e&t.P,y=e&t.B,m=v?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,_=v?o:o[n]||(o[n]={}),b=_.prototype||(_.prototype={});for(f in v&&(s=n),s)l=((a=!p&&m&&void 0!==m[f])?m:s)[f],d=y&&a?c(l,r):h&&"function"==typeof l?c(Function.call,l):l,m&&u(m,f,l,e&t.U),_[f]!=l&&i(_,f,d),h&&b[f]!=l&&(b[f]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";t.exports=!n(7)&&!n(15)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";t.exports=n(12)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){"use strict";var r=n(5),o=n(32),i=n(33),u=n(3),c=n(34),s=n(36),f={},a={},l=t.exports=function(t,e,n,l,d){var p,v,h,y,m=d?function(){return t}:s(t),_=r(n,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=c(t.length);p>b;b++)if((y=e?_(u(v=t[b])[0],v[1]):_(t[b]))===f||y===a)return y}else for(h=m.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===f||y===a)return y};l.BREAK=f,l.RETURN=a},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(19),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},function(t,e,n){"use strict";var r=n(11),o=n(1)("iterator"),i=n(19);t.exports=n(2).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(3),o=n(6),i=n(1)("species");t.exports=function(t,e){var n,u=r(t).constructor;return void 0===u||null==(n=r(u)[i])?e:o(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){"use strict";var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){"use strict";var r=n(0),o=n(20).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,s="process"==n(8)(u);t.exports=function(){var t,e,n,f=function(){var r,o;for(s&&(r=u.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(s)n=function(){u.nextTick(f)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var a=c.resolve(void 0);n=function(){a.then(f)}}else n=function(){o.call(r,f)};else{var l=!0,d=document.createTextNode("");new i(f).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(0).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(3),o=n(4),i=n(21);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(9).f,o=n(18),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(7),u=n(1)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,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(t){}t.exports=function(t,e){if(!e&&!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},t(i)}catch(t){}return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"//vod.bytedanceapi.com";if(e&&t){var n=JSON.parse(r.default.base64decode(t));if("v1"===n.Version){var o={url:"http:"+e+"?"+n.GetPlayInfoToken};return i(o).then(function(t){return t.data&&t.data.Result?t.data.Result:t.data||t})}return Promise.reject("token version error")}return Promise.reject("vid, host and token can't be empty")};var r=o(n(49));function o(t){return t&&t.__esModule?t:{default:t}}var i=new(o(n(50)).default);t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={base64decode:function(t){var e,n,r,o,i,u,c,s=[-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=t.length,i=0,c="";i<u;){do{e=s[255&t.charCodeAt(i++)]}while(i<u&&-1===e);if(-1===e)break;do{n=s[255&t.charCodeAt(i++)]}while(i<u&&-1===n);if(-1===n)break;c+=String.fromCharCode(e<<2|(48&n)>>4);do{if(61===(r=255&t.charCodeAt(i++)))return c;r=s[r]}while(i<u&&-1===r);if(-1===r)break;c+=String.fromCharCode((15&n)<<4|(60&r)>>2);do{if(61===(o=255&t.charCodeAt(i++)))return c;o=s[o]}while(i<u&&-1===o);if(-1===o)break;c+=String.fromCharCode((3&r)<<6|o)}return c}};e.default=r,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function s(t,e){return this.method({url:t,data:e,method:s.defaults.method})}(0,r.default)(s);(0,o.default)(s);(0,i.default)(s);(0,u.default)(s);s.build=function(e,n){var r=this,o=new c.default(this),i=o.clone();return n&&o.make(i,"wx",function(t){return function(e,n){return r.method({url:e,data:n,api:t})}}),i.options(e),i.create=t,i};s.options=function(t){var e=this;Object.keys(t).forEach(function(n){return e.defaults[n]=t[n]})};return s.build(e,n)};var r=s(n(51)),o=s(n(52)),i=s(n(54)),u=s(n(56)),c=s(n(57));function s(t){return t&&t.__esModule?t:{default:t}}(0,s(n(58)).default)(),t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){["get","post","put","delete","options","head","trace","connect"].forEach(function(e){t[e]=function(n,r){return t.method({url:n,data:r,method:e})}})},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t.defaults={url:"",method:"get",dataType:"json",responseType:"text",header:{"content-type":"application/json"}},t.interceptors={response:(0,i.default)(),request:(0,i.default)()}};var r,o=n(53),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{use:function(t,e){"function"==typeof t&&(this.success=t),"function"==typeof e&&(this.error=e)},success:function(t){return t},error:function(t){return t}}},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function(t){t.dataMerging=function(t,e,n){"string"==typeof e?(t.url=this.pathMerge(e),t.data=n,this.fnDefaults(t)):"object"===(void 0===e?"undefined":r(e))&&(e.url=this.pathMerge(e.url),Object.assign(t,e),this.fnDefaults(t))},t.pathMerge=function(t){return(0,o.isProtocol)(t)?t:this.defaults.url+t},t.fnDefaults=function(t){var e=this;["dataType","responseType","header"].forEach(function(n){return t[n]=t[n]?t[n]:e.defaults[n]})}};var o=n(55);t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.newObj=function(t){return JSON.parse(JSON.stringify(t))},e.isProtocol=function(t){return new RegExp("^http[s]?://").test(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t.method=function(t){var e=this,n=t.url,r=t.data,o=t.method,i=t.api,u=void 0===i?"request":i;try{return new Promise(function(t,i){var c=e.unite({url:n,data:r,method:o,resolve:t,reject:i});c=e.interceptors.request.success(c),wx[u](c)})}catch(t){return this.interceptors.request.error(t)}},t.unite=function(t){var e=this,n=t.url,r=t.data,o=t.method,i=t.resolve,u=t.reject,c={success:function(t){var n=e.interceptors.response.success(t);i(n)},fail:function(t){var n=e.interceptors.response.error(t);u(n)}};return c.method=o,this.dataMerging(c,n,r),c}},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.stuff=e}return r(t,[{key:"clone",value:function(){var t="function"==typeof this.stuff?this.stuff.bind(this.stuff):{};return Object.assign(t,this.stuff),t}},{key:"make",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],n=arguments[2];return"function"==typeof Proxy?this.proxy(t,e,n):this.defineProperty(t,e,n)}},{key:"proxy",value:function(t,e,n){return this.stuff[e]={},t[e]=new Proxy(this.stuff[e],{get:function(t,e,r){return t[e]||(t[e]=n(e)),Reflect.get(t,e,r)}}),t}},{key:"defineProperty",value:function(t,e,n){var r={};return t[e]={},Object.keys(wx).forEach(function(o){Object.defineProperty(t[e],o,{get:function(){return r[o]||(r[o]=n(o)),r[o]}})}),t}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){Promise.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){throw n})})}},t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return void 0===s&&(s=!r&&!o&&"undefined"!=typeof global),s};e.hasProto="__proto__"in{};var r=e.inBrowser="undefined"!=typeof window,o=e.inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,i=e.weexPlatform=o&&WXEnvironment.platform.toLowerCase(),u=e.UA=r&&window.navigator.userAgent.toLowerCase(),c=(e.isIE=u&&/msie|trident/.test(u),e.isIE9=u&&u.indexOf("msie 9.0")>0,e.isEdge=u&&u.indexOf("edge/")>0),s=(e.isAndroid=u&&u.indexOf("android")>0||"android"===i,e.isIOS=u&&/iphone|ipad|ipod|ios/.test(u)||"ios"===i,e.isChrome=u&&/chrome\/\d+/.test(u)&&!c,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,d=f.setImmediate,p=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)};d&&p||(d=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},p=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:d,clear:p}},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(61));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),d=n(4),p=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,O=c.process,P=O&&O.versions,S=P&&P.v8||"",k=c.Promise,M="process"==f(O),T=function(){},E=o=g.f,C=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(T,T)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==S.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!d(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&&D(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&&q(e)})}},q=function(e){m.call(c,function(){var t,n,r,o=e._v,i=H(e);if(i&&(t=_(function(){M?O.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=M||H(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},H=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){m.call(c,function(){var t;M?O.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=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))},L=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(F,o,1))}catch(e){F.call(o,e)}}):(r._v=t,r._s=1,A(r,!1))}catch(e){F.call({_w:r,_d:!1},e)}}};C||(k=function(e){h(this,k,"Promise","_h"),p(e),r.call(this);try{e(a(L,this,1),a(F,this,1))}catch(e){F.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)(k.prototype,{then:function(e,t){var n=E(y(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?O.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(L,e,1),this.reject=a(F,e,1)},g.f=E=function(e){return e===k||e===u?new i(e):o(e)}),l(l.G+l.W+l.F*!C,{Promise:k}),n(45)(k,"Promise"),n(46)("Promise"),u=n(2).Promise,l(l.S+l.F*!C,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!C),"Promise",{resolve:function(e){return w(s&&this===u?k:this,e)}}),l(l.S+l.F*!(C&&n(47)(function(e){k.all(e).catch(T)})),"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,d,p=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=!p&&m&&void 0!==m[a])?m:c)[a],d=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,d),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,d){var p,h,v,y,m=d?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(p=s(e.length);p>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,d=document.createTextNode("");new i(a).observe(d,{characterData:!0}),n=function(){d.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));o(n(50));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(59)).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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function c(e,t){return this.method({url:e,data:t,method:c.defaults.method})}(0,r.default)(c);(0,o.default)(c);(0,i.default)(c);(0,u.default)(c);c.build=function(t,n){var r=this,o=new s.default(this),i=o.clone();return n&&o.make(i,"wx",function(e){return function(t,n){return r.method({url:t,data:n,api:e})}}),i.options(t),i.create=e,i};c.options=function(e){var t=this;Object.keys(e).forEach(function(n){return t.defaults[n]=e[n]})};return c.build(t,n)};var r=c(n(51)),o=c(n(52)),i=c(n(54)),u=c(n(56)),s=c(n(57));function c(e){return e&&e.__esModule?e:{default:e}}(0,c(n(58)).default)(),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){["get","post","put","delete","options","head","trace","connect"].forEach(function(t){e[t]=function(n,r){return e.method({url:n,data:r,method:t})}})},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.defaults={url:"",method:"get",dataType:"json",responseType:"text",header:{"content-type":"application/json"}},e.interceptors={response:(0,i.default)(),request:(0,i.default)()}};var r,o=n(53),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{use:function(e,t){"function"==typeof e&&(this.success=e),"function"==typeof t&&(this.error=t)},success:function(e){return e},error:function(e){return e}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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};t.default=function(e){e.dataMerging=function(e,t,n){"string"==typeof t?(e.url=this.pathMerge(t),e.data=n,this.fnDefaults(e)):"object"===(void 0===t?"undefined":r(t))&&(t.url=this.pathMerge(t.url),Object.assign(e,t),this.fnDefaults(e))},e.pathMerge=function(e){return(0,o.isProtocol)(e)?e:this.defaults.url+e},e.fnDefaults=function(e){var t=this;["dataType","responseType","header"].forEach(function(n){return e[n]=e[n]?e[n]:t.defaults[n]})}};var o=n(55);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.newObj=function(e){return JSON.parse(JSON.stringify(e))},t.isProtocol=function(e){return new RegExp("^http[s]?://").test(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.method=function(e){var t=this,n=e.url,r=e.data,o=e.method,i=e.api,u=void 0===i?"request":i;try{return new Promise(function(e,i){var s=t.unite({url:n,data:r,method:o,resolve:e,reject:i});s=t.interceptors.request.success(s),wx[u](s)})}catch(e){return this.interceptors.request.error(e)}},e.unite=function(e){var t=this,n=e.url,r=e.data,o=e.method,i=e.resolve,u=e.reject,s={success:function(e){var n=t.interceptors.response.success(e);i(n)},fail:function(e){var n=t.interceptors.response.error(e);u(n)}};return s.method=o,this.dataMerging(s,n,r),s}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stuff=t}return r(e,[{key:"clone",value:function(){var e="function"==typeof this.stuff?this.stuff.bind(this.stuff):{};return Object.assign(e,this.stuff),e}},{key:"make",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2];return"function"==typeof Proxy?this.proxy(e,t,n):this.defineProperty(e,t,n)}},{key:"proxy",value:function(e,t,n){return this.stuff[t]={},e[t]=new Proxy(this.stuff[t],{get:function(e,t,r){return e[t]||(e[t]=n(t)),Reflect.get(e,t,r)}}),e}},{key:"defineProperty",value:function(e,t,n){var r={};return e[t]={},Object.keys(wx).forEach(function(o){Object.defineProperty(e[t],o,{get:function(){return r[o]||(r[o]=n(o)),r[o]}})}),e}}]),e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){Promise.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}},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],d=f.toLowerCase();"object"===(void 0===l?"undefined":r(l))?a[d]=l:(a[d]=a[d]||[],a[d].push(l))}var p=a["set-cookie"];s&&p&&p.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,d=f.handler,p=new Promise(function(a,p){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;d&&(m=d.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 d=location.pathname.split("/");d.pop(),r=location.protocol+"//"+location.host+(f?"":d.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 O 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(O===s&&o.isFormData(t))delete n.headers[O];else try{u.setRequestHeader(O,n.headers[O])}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){p(e)})})}function S(e){e.engine=u,P(l.onerror,e,-1)}function k(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 k(c,i);f.response=a,S(f)}}catch(f){S(new k(f.msg,u.status))}},u.onerror=function(e){S(new k(e.msg||"Network Error",0))},u.ontimeout=function(){S(new k("timeout [ "+u.timeout+"ms ]",1))},u._options=n,setTimeout(function(){u.send(b?null:t)},0)}(r):a(r)},function(e){p(e)})})});return p.engine=u,p}},{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(60)(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(),u=t.UA=r&&window.navigator.userAgent.toLowerCase(),s=(t.isIE=u&&/msie|trident/.test(u),t.isIE9=u&&u.indexOf("msie 9.0")>0,t.isEdge=u&&u.indexOf("edge/")>0),c=(t.isAndroid=u&&u.indexOf("android")>0||"android"===i,t.isIOS=u&&/iphone|ipad|ipod|ios/.test(u)||"ios"===i,t.isChrome=u&&/chrome\/\d+/.test(u)&&!s,void 0)}]); |
{ | ||
"name": "xgplayer-service-miniprogram", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "video player service for byted cloud", | ||
@@ -28,2 +28,3 @@ "miniprogram": "dist", | ||
"axios": "^0.18.0", | ||
"flyio": "^0.6.14", | ||
"url-parse": "^1.4.0", | ||
@@ -30,0 +31,0 @@ "wx-axios-promise": "^2.3.3" |
// import isServerRendering from './env'; | ||
import endecoder from './endecoder'; | ||
import api from 'wx-axios-promise' | ||
import request from 'flyio/dist/npm/wx' | ||
// var axios; | ||
let wxApi = new api() | ||
let wxApi = new request() | ||
// if (isServerRendering()) { | ||
@@ -16,6 +17,4 @@ // axios = require('../node_modules/axios/lib/axios.js'); | ||
if(decodedToken.Version === 'v1') { | ||
let param = { | ||
url: `http:${host}?${decodedToken.GetPlayInfoToken}` | ||
}; | ||
return wxApi(param).then(function (res) { | ||
let url = `http:${host}?${decodedToken.GetPlayInfoToken}` | ||
return wxApi.get(url).then(function (res) { | ||
if(res.data && res.data.Result) { | ||
@@ -22,0 +21,0 @@ return res.data.Result |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69852
4
159
+ Addedflyio@^0.6.14
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedflyio@0.6.14(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)