maestro-react-player
Version:
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
1 lines • 331 kB
JavaScript
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=140)}([function(e,t,n){var r=n(2),o=n(21),i=n(14),a=n(15),u=n(22),l=function(e,t,n){var s,c,f,p,d=e&l.F,h=e&l.G,y=e&l.S,v=e&l.P,m=e&l.B,g=h?r:y?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});h&&(n=t);for(s in n)c=!d&&g&&void 0!==g[s],f=(c?g:n)[s],p=m&&c?u(f,r):v&&"function"==typeof f?u(Function.call,f):f,g&&a(g,s,f,e&l.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(52)("wks"),o=n(36),i=n(2).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";e.exports=n(345)},function(e,t,n){e.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(1),o=n(99),i=n(25),a=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(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){var r=n(27),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(26);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.match(E);if(t){var n=t[1];if(n.match(_))return a(n);if(T.test(n))return parseInt(n,10)}return 0}function a(e){for(var t=0,n=_.exec(e);null!==n;){var r=n,o=v(r,3),i=o[1],a=o[2];"h"===a&&(t+=60*parseInt(i,10)*60),"m"===a&&(t+=60*parseInt(i,10)),"s"===a&&(t+=parseInt(i,10)),n=_.exec(e)}return t}function u(){return Math.random().toString(36).substr(2,5)}function l(e){return Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0};return window[t]&&r(window[t])?Promise.resolve(window[t]):new Promise(function(r,o){if(x[e])return void x[e].push(r);x[e]=[r];var i=function(t){x[e].forEach(function(e){return e(t)})};if(n){var a=window[n];window[n]=function(){a&&a(),i(window[t])}}(0,g.default)(e,function(e){e&&o(e),n||i(window[t])})})}function c(e,t,n){var r=(0,w.default)(t.config,e.config),i=!0,a=!1,u=void 0;try{for(var l,s=k.DEPRECATED_CONFIG_PROPS[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;if(e[c]){var f=c.replace(/Config$/,"");if(r=(0,w.default)(r,o({},f,e[c])),n){var p="ReactPlayer: %c"+c+" %cis deprecated, please use the config prop instead – https://github.com/CookPete/react-player#config-prop";console.warn(p,"font-weight: bold","")}}}}catch(e){a=!0,u=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw u}}return r}function f(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=(t=[]).concat.apply(t,r),a={},u=Object.keys(e),l=!0,s=!1,c=void 0;try{for(var f,p=u[Symbol.iterator]();!(l=(f=p.next()).done);l=!0){var d=f.value;-1===i.indexOf(d)&&(a[d]=e[d])}}catch(e){s=!0,c=e}finally{try{!l&&p.return&&p.return()}finally{if(s)throw c}}return a}function p(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: "+this.constructor.displayName+" player could not call %c"+e+"%c – ";return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)}function d(e){return null!==e&&"object"===(void 0===e?"undefined":y(e))}function h(e,t){if("function"==typeof e&&"function"==typeof t)return!0;if(e instanceof Array&&t instanceof Array){if(e.length!==t.length)return!1;for(var n=0;n!==e.length;n++)if(!h(e[n],t[n]))return!1;return!0}if(d(e)&&d(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;var r=!0,o=!1,i=void 0;try{for(var a,u=Object.keys(e)[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;if(!h(e[l],t[l]))return!1}}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return!0}return e===t}Object.defineProperty(t,"__esModule",{value:!0});var y="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},v=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.parseStartTime=i,t.randomString=u,t.queryString=l,t.getSDK=s,t.getConfig=c,t.omit=f,t.callPlayer=p,t.isObject=d,t.isEqual=h;var m=n(367),g=r(m),b=n(368),w=r(b),k=n(67),E=/[?&#](?:start|t)=([0-9hms]+)/,_=/(\d+)(h|m|s)/g,T=/^\d+$/,x={}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t,n;return n=t=function(t){function n(){var e,t,r,a;o(this,n);for(var u=arguments.length,l=Array(u),s=0;s<u;s++)l[s]=arguments[s];return t=r=i(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),r.getDuration=function(){return r.player?r.player.getDuration():null},r.getCurrentTime=function(){return r.player?r.player.getCurrentTime():null},r.getSecondsLoaded=function(){return r.player?r.player.getSecondsLoaded():null},r.getInternalPlayer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null},r.seekTo=function(e){if(!r.player)return null;r.player.seekTo(e)},r.ref=function(e){r.player=e},a=t,i(r,a)}return a(n,t),s(n,[{key:"shouldComponentUpdate",value:function(e){return!(0,d.isEqual)(this.props,e)}},{key:"componentWillUpdate",value:function(e){this.config=(0,d.getConfig)(e,p.defaultProps)}},{key:"render",value:function(){if(!e.canPlay(this.props.url))return null;var t=this.props,n=t.style,r=t.width,o=t.height,i=t.wrapper,a=(0,d.omit)(this.props,v,p.DEPRECATED_CONFIG_PROPS);return f.default.createElement(i,l({style:l({},n,{width:r,height:o})},a),f.default.createElement(y.default,l({},this.props,{ref:this.ref,activePlayer:e,config:(0,d.getConfig)(this.props,p.defaultProps)})))}}]),n}(c.Component),t.displayName=e.displayName+"Player",t.propTypes=p.propTypes,t.defaultProps=p.defaultProps,t.canPlay=e.canPlay,n}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=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}}();t.default=u;var c=n(6),f=r(c),p=n(67),d=n(11),h=n(96),y=r(h),v=Object.keys(p.propTypes)},function(e,t,n){var r=n(8),o=n(35);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){var r=n(2),o=n(14),i=n(17),a=n(36)("src"),u=Function.toString,l=(""+u).split("toString");n(21).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(0),o=n(3),i=n(26),a=/"/g,u=function(e,t,n,r){var o=String(i(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(r).replace(a,""")+'"'),u+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(u),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(49),o=n(26);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(50),o=n(35),i=n(18),a=n(25),u=n(17),l=n(99),s=Object.getOwnPropertyDescriptor;t.f=n(7)?s:function(e,t){if(e=i(e),t=a(t,!0),l)try{return s(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(17),o=n(10),i=n(70)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t){var n=e.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(12);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){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){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){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(0),o=n(21),i=n(3);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(22),o=n(49),i=n(10),a=n(9),u=n(87);e.exports=function(e,t){var n=1==e,l=2==e,s=3==e,c=4==e,f=6==e,p=5==e||f,d=t||u;return function(t,u,h){for(var y,v,m=i(t),g=o(m),b=r(u,h,3),w=a(g.length),k=0,E=n?d(t,w):l?d(t,0):void 0;w>k;k++)if((p||k in g)&&(y=g[k],v=b(y,k,m),e))if(n)E[k]=v;else if(v)switch(e){case 3:return!0;case 5:return y;case 6:return k;case 2:E.push(y)}else if(c)return!1;return f?-1:s||c?c:E}}},function(e,t,n){"use strict";if(n(7)){var r=n(33),o=n(2),i=n(3),a=n(0),u=n(63),l=n(93),s=n(22),c=n(42),f=n(35),p=n(14),d=n(44),h=n(27),y=n(9),v=n(125),m=n(38),g=n(25),b=n(17),w=n(51),k=n(4),E=n(10),_=n(84),T=n(39),x=n(20),P=n(40).f,S=n(86),C=n(36),O=n(5),R=n(29),L=n(53),N=n(60),A=n(89),M=n(47),I=n(57),j=n(41),D=n(88),F=n(115),U=n(8),B=n(19),V=U.f,W=B.f,H=o.RangeError,z=o.TypeError,q=o.Uint8Array,K=Array.prototype,G=l.ArrayBuffer,$=l.DataView,Y=R(0),Q=R(2),X=R(3),J=R(4),Z=R(5),ee=R(6),te=L(!0),ne=L(!1),re=A.values,oe=A.keys,ie=A.entries,ae=K.lastIndexOf,ue=K.reduce,le=K.reduceRight,se=K.join,ce=K.sort,fe=K.slice,pe=K.toString,de=K.toLocaleString,he=O("iterator"),ye=O("toStringTag"),ve=C("typed_constructor"),me=C("def_constructor"),ge=u.CONSTR,be=u.TYPED,we=u.VIEW,ke=R(1,function(e,t){return Pe(N(e,e[me]),t)}),Ee=i(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),_e=!!q&&!!q.prototype.set&&i(function(){new q(1).set({})}),Te=function(e,t){var n=h(e);if(n<0||n%t)throw H("Wrong offset!");return n},xe=function(e){if(k(e)&&be in e)return e;throw z(e+" is not a typed array!")},Pe=function(e,t){if(!(k(e)&&ve in e))throw z("It is not a typed array constructor!");return new e(t)},Se=function(e,t){return Ce(N(e,e[me]),t)},Ce=function(e,t){for(var n=0,r=t.length,o=Pe(e,r);r>n;)o[n]=t[n++];return o},Oe=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Re=function(e){var t,n,r,o,i,a,u=E(e),l=arguments.length,c=l>1?arguments[1]:void 0,f=void 0!==c,p=S(u);if(void 0!=p&&!_(p)){for(a=p.call(u),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);u=r}for(f&&l>2&&(c=s(c,arguments[2],2)),t=0,n=y(u.length),o=Pe(this,n);n>t;t++)o[t]=f?c(u[t],t):u[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Pe(this,t);t>e;)n[e]=arguments[e++];return n},Ne=!!q&&i(function(){de.call(new q(1))}),Ae=function(){return de.apply(Ne?fe.call(xe(this)):xe(this),arguments)},Me={copyWithin:function(e,t){return F.call(xe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(xe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return D.apply(xe(this),arguments)},filter:function(e){return Se(this,Q(xe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(xe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(xe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Y(xe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(xe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(xe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return se.apply(xe(this),arguments)},lastIndexOf:function(e){return ae.apply(xe(this),arguments)},map:function(e){return ke(xe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ue.apply(xe(this),arguments)},reduceRight:function(e){return le.apply(xe(this),arguments)},reverse:function(){for(var e,t=this,n=xe(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return X(xe(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ce.call(xe(this),e)},subarray:function(e,t){var n=xe(this),r=n.length,o=m(e,r);return new(N(n,n[me]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,y((void 0===t?r:m(t,r))-o))}},Ie=function(e,t){return Se(this,fe.call(xe(this),e,t))},je=function(e){xe(this);var t=Te(arguments[1],1),n=this.length,r=E(e),o=y(r.length),i=0;if(o+t>n)throw H("Wrong length!");for(;i<o;)this[t+i]=r[i++]},De={entries:function(){return ie.call(xe(this))},keys:function(){return oe.call(xe(this))},values:function(){return re.call(xe(this))}},Fe=function(e,t){return k(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ue=function(e,t){return Fe(e,t=g(t,!0))?f(2,e[t]):W(e,t)},Be=function(e,t,n){return!(Fe(e,t=g(t,!0))&&k(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?V(e,t,n):(e[t]=n.value,e)};ge||(B.f=Ue,U.f=Be),a(a.S+a.F*!ge,"Object",{getOwnPropertyDescriptor:Ue,defineProperty:Be}),i(function(){pe.call({})})&&(pe=de=function(){return se.call(this)});var Ve=d({},Me);d(Ve,De),p(Ve,he,De.values),d(Ve,{slice:Ie,set:je,constructor:function(){},toString:pe,toLocaleString:Ae}),Oe(Ve,"buffer","b"),Oe(Ve,"byteOffset","o"),Oe(Ve,"byteLength","l"),Oe(Ve,"length","e"),V(Ve,ye,{get:function(){return this[be]}}),e.exports=function(e,t,n,l){l=!!l;var s=e+(l?"Clamped":"")+"Array",f="get"+e,d="set"+e,h=o[s],m=h||{},g=h&&x(h),b=!h||!u.ABV,E={},_=h&&h.prototype,S=function(e,n){var r=e._d;return r.v[f](n*t+r.o,Ee)},C=function(e,n,r){var o=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[d](n*t+o.o,r,Ee)},O=function(e,t){V(e,t,{get:function(){return S(this,t)},set:function(e){return C(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,r,o){c(e,h,s,"_d");var i,a,u,l,f=0,d=0;if(k(n)){if(!(n instanceof G||"ArrayBuffer"==(l=w(n))||"SharedArrayBuffer"==l))return be in n?Ce(h,n):Re.call(h,n);i=n,d=Te(r,t);var m=n.byteLength;if(void 0===o){if(m%t)throw H("Wrong length!");if((a=m-d)<0)throw H("Wrong length!")}else if((a=y(o)*t)+d>m)throw H("Wrong length!");u=a/t}else u=v(n),a=u*t,i=new G(a);for(p(e,"_d",{b:i,o:d,l:a,e:u,v:new $(i)});f<u;)O(e,f++)}),_=h.prototype=T(Ve),p(_,"constructor",h)):i(function(){h(1)})&&i(function(){new h(-1)})&&I(function(e){new h,new h(null),new h(1.5),new h(e)},!0)||(h=n(function(e,n,r,o){c(e,h,s);var i;return k(n)?n instanceof G||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,Te(r,t),o):void 0!==r?new m(n,Te(r,t)):new m(n):be in n?Ce(h,n):Re.call(h,n):new m(v(n))}),Y(g!==Function.prototype?P(m).concat(P(g)):P(m),function(e){e in h||p(h,e,m[e])}),h.prototype=_,r||(_.constructor=h));var R=_[he],L=!!R&&("values"==R.name||void 0==R.name),N=De.values;p(h,ve,!0),p(_,be,s),p(_,we,!0),p(_,me,h),(l?new h(1)[ye]==s:ye in _)||V(_,ye,{get:function(){return s}}),E[s]=h,a(a.G+a.W+a.F*(h!=m),E),a(a.S,s,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i(function(){m.of.call(h,1)}),s,{from:Re,of:Le}),"BYTES_PER_ELEMENT"in _||p(_,"BYTES_PER_ELEMENT",t),a(a.P,s,Me),j(s),a(a.P+a.F*_e,s,{set:je}),a(a.P+a.F*!L,s,De),r||_.toString==pe||(_.toString=pe),a(a.P+a.F*i(function(){new h(1).slice()}),s,{slice:Ie}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!i(function(){_.toLocaleString.call([1,2])})),s,{toLocaleString:Ae}),M[s]=L?R:N,r||L||p(_,he,N)}}else e.exports=function(){}},function(e,t,n){var r=n(120),o=n(0),i=n(52)("metadata"),a=i.store||(i.store=new(n(123))),u=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},l=function(e,t,n){var r=u(t,n,!1);return void 0!==r&&r.has(e)},s=function(e,t,n){var r=u(t,n,!1);return void 0===r?void 0:r.get(e)},c=function(e,t,n,r){u(n,r,!0).set(e,t)},f=function(e,t){var n=u(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},p=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},d=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:u,has:l,get:s,set:c,keys:f,key:p,exp:d}},function(e,t,n){var r=n(36)("meta"),o=n(4),i=n(17),a=n(8).f,u=0,l=Object.isExtensible||function(){return!0},s=!n(3)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},d=function(e){return s&&h.NEED&&l(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t){e.exports=!1},function(e,t,n){var r=n(5)("unscopables"),o=Array.prototype;void 0==o[r]&&n(14)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(101),o=n(71);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(27),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(1),o=n(102),i=n(71),a=n(70)("IE_PROTO"),u=function(){},l=function(){var e,t=n(68)("iframe"),r=i.length;for(t.style.display="none",n(72).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(101),o=n(71).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(2),o=n(8),i=n(7),a=n(5)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){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){var r=n(22),o=n(113),i=n(84),a=n(1),u=n(9),l=n(86),s={},c={},t=e.exports=function(e,t,n,f,p){var d,h,y,v,m=p?function(){return e}:l(e),g=r(n,f,t?2:1),b=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=u(e.length);d>b;b++)if((v=t?g(a(h=e[b])[0],h[1]):g(e[b]))===s||v===c)return v}else for(y=m.call(e);!(h=y.next()).done;)if((v=o(y,g,h.value,t))===s||v===c)return v};t.BREAK=s,t.RETURN=c},function(e,t,n){var r=n(15);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(8).f,o=n(17),i=n(5)("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){var r=n(0),o=n(26),i=n(3),a=n(74),u="["+a+"]",l="
",s=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),f=function(e,t,n){var o={},u=i(function(){return!!a[e]()||l[e]()!=l}),s=o[e]=u?t(p):a[e];n&&(o[n]=s),r(r.P+r.F*u,"String",o)},p=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(c,"")),e};e.exports=f},function(e,t){e.exports={}},function(e,t,n){var r=n(4);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(23);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(23),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(21),o=n(2),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(33)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(18),o=n(9),i=n(38);e.exports=function(e){return function(t,n,a){var u,l=r(t),s=o(l.length),c=i(a,s);if(e&&n!=n){for(;s>c;)if((u=l[c++])!=u)return!0}else for(;s>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(23);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(4),o=n(23),i=n(5)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(5)("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],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(1);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(14),o=n(15),i=n(3),a=n(26),u=n(5);e.exports=function(e,t,n){var l=u(e),s=n(a,l,""[e]),c=s[0],f=s[1];i(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,c),r(RegExp.prototype,l,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){var r=n(1),o=n(12),i=n(5)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(2),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(15),a=n(44),u=n(32),l=n(43),s=n(42),c=n(4),f=n(3),p=n(57),d=n(45),h=n(75);e.exports=function(e,t,n,y,v,m){var g=r[e],b=g,w=v?"set":"add",k=b&&b.prototype,E={},_=function(e){var t=k[e];i(k,e,"delete"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(m||k.forEach&&!f(function(){(new b).entries().next()}))){var T=new b,x=T[w](m?{}:-0,1)!=T,P=f(function(){T.has(1)}),S=p(function(e){new b(e)}),C=!m&&f(function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)});S||(b=t(function(t,n){s(t,b,e);var r=h(new g,t,b);return void 0!=n&&l(n,v,r[w],r),r}),b.prototype=k,k.constructor=b),(P||C)&&(_("delete"),_("has"),v&&_("get")),(C||x)&&_(w),m&&k.clear&&delete k.clear}else b=y.getConstructor(t,e,v,w),a(b.prototype,n),u.NEED=!0;return d(b,e),E[e]=b,o(o.G+o.W+o.F*(b!=g),E),m||y.setStrong(b,e,v),b}},function(e,t,n){for(var r,o=n(2),i=n(14),a=n(36),u=a("typed_array"),l=a("view"),s=!(!o.ArrayBuffer||!o.DataView),c=s,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[p[f++]])?(i(r.prototype,u,!0),i(r.prototype,l,!0)):c=!1;e.exports={ABV:s,CONSTR:c,TYPED:u,VIEW:l}},function(e,t,n){"use strict";e.exports=n(33)||!n(3)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(2)[e]})},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(0),o=n(12),i=n(22),a=n(43);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,u,l=arguments[1];return o(this),t=void 0!==l,t&&o(l),void 0==e?new this:(n=[],t?(r=0,u=i(l,arguments[2],2),a(e,!1,function(e){n.push(u(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var r=n(364),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=o.default.string,a=o.default.bool,u=o.default.number,l=o.default.array,s=o.default.oneOfType,c=o.default.shape,f=o.default.object,p=o.default.func;t.propTypes={url:s([i,l,f]),playing:a,loop:a,controls:a,volume:u,muted:a,playbackRate:u,width:s([i,u]),height:s([i,u]),style:f,progressInterval:u,playsinline:a,wrapper:s([i,p]),config:c({soundcloud:c({options:f}),youtube:c({playerVars:f,preload:a}),facebook:c({appId:i}),dailymotion:c({params:f,preload:a}),vimeo:c({playerOptions:f,preload:a}),file:c({attributes:f,tracks:l,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,hlsOptions:f}),wistia:c({options:f}),mixcloud:c({options:f}),twitch:c({options:f})}),onReady:p,onStart:p,onPlay:p,onPause:p,onBuffer:p,onEnded:p,onError:p,onDuration:p,onSeek:p,onProgress:p,onVolumeChange:p},t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},preload:!1},facebook:{appId:"1309697205772819"},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{}},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{}}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onVolumeChange:function(){}},t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},function(e,t,n){var r=n(4),o=n(2).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(2),o=n(21),i=n(33),a=n(100),u=n(8).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(52)("keys"),o=n(36);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(2).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(4),o=n(1),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(22)(Function.call,n(19).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(4),o=n(73).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(27),o=n(26);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(27),o=n(26);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),s=u.length;return l<0||l>=s?e?"":void 0:(i=u.charCodeAt(l),i<55296||i>56319||l+1===s||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(33),o=n(0),i=n(15),a=n(14),u=n(47),l=n(81),s=n(45),c=n(20),f=n(5)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,y,v,m){l(n,t,h);var g,b,w,k=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_="values"==y,T=!1,x=e.prototype,P=x[f]||x["@@iterator"]||y&&x[y],S=P||k(y),C=y?_?k("entries"):S:void 0,O="Array"==t?x.entries||P:P;if(O&&(w=c(O.call(new e)))!==Object.prototype&&w.next&&(s(w,E,!0),r||"function"==typeof w[f]||a(w,f,d)),_&&P&&"values"!==P.name&&(T=!0,S=function(){return P.call(this)}),r&&!m||!p&&!T&&x[f]||a(x,f,S),u[t]=S,u[E]=d,y)if(g={values:_?S:k("values"),keys:v?S:k("keys"),entries:C},m)for(b in g)b in x||i(x,b,g[b]);else o(o.P+o.F*(p||T),t,g);return g}},function(e,t,n){"use strict";var r=n(39),o=n(35),i=n(45),a={};n(14)(a,n(5)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(56),o=n(26);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(5)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(47),o=n(5)("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(8),o=n(35);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(51),o=n(5)("iterator"),i=n(47);e.exports=n(21).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(233);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(10),o=n(38),i=n(9);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,s=void 0===l?n:o(l,n);s>u;)t[u++]=e;return t}},function(e,t,n){"use strict";var r=n(34),o=n(116),i=n(47),a=n(18);e.exports=n(80)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r,o,i,a=n(22),u=n(106),l=n(72),s=n(68),c=n(2),f=c.process,p=c.setImmediate,d=c.clearImmediate,h=c.MessageChannel,y=c.Dispatch,v=0,m={},g=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},b=function(e){g.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++v]=function(){u("function"==typeof e?e:Function(e),t)},r(v),v},d=function(e){delete m[e]},"process"==n(23)(f)?r=function(e){f.nextTick(a(g,e,1))}:y&&y.now?r=function(e){y.now(a(g,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(e){l.appendChild(s("script")).onreadystatechange=function(){l.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){var r=n(2),o=n(90).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,l="process"==n(23)(a);e.exports=function(){var e,t,n,s=function(){var r,o;for(l&&(r=a.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(l)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var c=u.resolve(void 0);n=function(){c.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}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";function r(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=o(t),this.reject=o(n)}var o=n(12);e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a=new Array(n),u=8*n-t-1,l=(1<<u)-1,s=l>>1,c=23===t?F(2,-24)-F(2,-77):0,f=0,p=e<0||0===e&&1/e<0?1:0;for(e=D(e),e!=e||e===I?(o=e!=e?1:0,r=l):(r=U(B(e)/V),e*(i=F(2,-r))<1&&(r--,i*=2),e+=r+s>=1?c/i:c*F(2,1-s),e*i>=2&&(r++,i/=2),r+s>=l?(o=0,r=l):r+s>=1?(o=(e*i-1)*F(2,t),r+=s):(o=e*F(2,s-1)*F(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,u+=t;u>0;a[f++]=255&r,r/=256,u-=8);return a[--f]|=128*p,a}function o(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,u=o-7,l=n-1,s=e[l--],c=127&s;for(s>>=7;u>0;c=256*c+e[l],l--,u-=8);for(r=c&(1<<-u)-1,c>>=-u,u+=t;u>0;r=256*r+e[l],l--,u-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:s?-I:I;r+=F(2,t),c-=a}return(s?-1:1)*r*F(2,c-t)}function i(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function u(e){return[255&e,e>>8&255]}function l(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function s(e){return r(e,52,8)}function c(e){return r(e,23,4)}function f(e,t,n){P(e[O],t,{get:function(){return this[n]}})}function p(e,t,n,r){var o=+n,i=T(o);if(i+t>e[H])throw M(R);var a=e[W]._b,u=i+e[z],l=a.slice(u,u+t);return r?l:l.reverse()}function d(e,t,n,r,o,i){var a=+n,u=T(a);if(u+t>e[H])throw M(R);for(var l=e[W]._b,s=u+e[z],c=r(+o),f=0;f<t;f++)l[s+f]=c[i?f:t-f-1]}var h=n(2),y=n(7),v=n(33),m=n(63),g=n(14),b=n(44),w=n(3),k=n(42),E=n(27),_=n(9),T=n(125),x=n(40).f,P=n(8).f,S=n(88),C=n(45),O="prototype",R="Wrong index!",L=h.ArrayBuffer,N=h.DataView,A=h.Math,M=h.RangeError,I=h.Infinity,j=L,D=A.abs,F=A.pow,U=A.floor,B=A.log,V=A.LN2,W=y?"_b":"buffer",H=y?"_l":"byteLength",z=y?"_o":"byteOffset";if(m.ABV){if(!w(function(){L(1)})||!w(function(){new L(-1)})||w(function(){return new L,new L(1.5),new L(NaN),"ArrayBuffer"!=L.name})){L=function(e){return k(this,L),new j(T(e))};for(var q,K=L[O]=j[O],G=x(j),$=0;G.length>$;)(q=G[$++])in L||g(L,q,j[q]);v||(K.constructor=L)}var Y=new N(new L(2)),Q=N[O].setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||b(N[O],{setInt8:function(e,t){Q.call(this,e,t<<24>>24)},setUint8:function(e,t){Q.call(this,e,t<<24>>24)}},!0)}else L=function(e){k(this,L,"ArrayBuffer");var t=T(e);this._b=S.call(new Array(t),0),this[H]=t},N=function(e,t,n){k(this,N,"DataView"),k(e,L,"DataView");var r=e[H],o=E(t);if(o<0||o>r)throw M("Wrong offset!");if(n=void 0===n?r-o:_(n),o+n>r)throw M("Wrong length!");this[W]=e,this[z]=o,this[H]=n},y&&(f(L,"byteLength","_l"),f(N,"buffer","_b"),f(N,"byteLength","_l"),f(N,"byteOffset","_o")),b(N[O],{getInt8:function(e){return p(this,1,e)[0]<<24>>24},getUint8:function(e){return p(this,1,e)[0]},getInt16:function(e){var t=p(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=p(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return i(p(this,4,e,arguments[1]))},getUint32:function(e){return i(p(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return o(p(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return o(p(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){d(this,1,e,a,t)},setUint8:function(e,t){d(this,1,e,a,t)},setInt16:function(e,t){d(this,2,e,u,t,arguments[2])},setUint16:function(e,t){d(this,2,e,u,t,arguments[2])},setInt32:function(e,t){d(this,4,e,l,t,arguments[2])},setUint32:function(e,t){d(this,4,e,l,t,arguments[2])},setFloat32:function(e,t){d(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){d(this,8,e,s,t,arguments[2])}});C(L,"ArrayBuffer"),C(N,"DataView"),g(N[O],m.VIEW,!0),t.ArrayBuffer=L,t.DataView=N},function(e,t,n){"use strict";function r(e,t,n,r,i,a,u,l){if(o(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,u,l],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=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}}(),l=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(l),c=n(67),f=function(e){function t(){var e,n,i,a;r(this,t);for(var u=arguments.length,l=Array(u),s=0;s<u;s++)l[s]=arguments[s];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.mounted=!1,i.isReady=!1,i.isPlaying=!1,i.isLoading=!0,i.loadOnReady=null,i.startOnPlay=!0,i.seekOnPlay=null,i.onDurationCalled=!1,i.getInternalPlayer=function(e){return i.player?i.player[e]:null},i.progress=function(){if(i.props.url&&i.player&&i.isReady){var e=i.getCurrentTime()||0,t=i.getSecondsLoaded(),n=i.getDuration();if(n){var r={playedSeconds:e,played:e/n};null!==t&&(r.loadedSeconds=t,r.loaded=t/n),i.player.getVolume&&(r.volume=i.player.getVolume()),i.player.getMuted&&(r.muted=i.player.getMuted()),r.loaded===i.prevLoaded&&r.playedSeconds===i.playedSeconds||("VAST"===i.props.activePlayer.displayName?i.player.onProgress(r):i.props.onProgress(r)),i.prevPlayed=r.played,i.prevLoaded=r.loaded}}i.progressTimeout=setTimeout(i.progress,i.props.progressFrequency||i.props.progressInterval)},i.onReady=function(){if(i.mounted){i.isReady=!0,i.isLoading=!1;var e=i.props,t=e.onReady,n=e.playing,r=e.volume,o=e.muted;t(),o||null===r||i.player.setVolume(r),i.loadOnReady?(i.player.load(i.loadOnReady,!0),i.loadOnReady=null):n&&i.player.play(),i.onDurationCheck()}},i.onPlay=function(){i.isPlaying=!0,i.isLoading=!1;var e=i.props,t=e.onStart,n=e.onPlay,r=e.playbackRate;i.startOnPlay&&(i.player.setPlaybackRate&&i.player.setPlaybackRate(r),t(),i.startOnPlay=!1),n(),i.seekOnPlay&&(i.seekTo(i.seekOnPlay),i.seekOnPlay=null),i.onDurationCheck()},i.onPause=function(e){i.isPlaying=!1,i.isLoading||i.props.onPause(e)},i.onEnded=function(){var e=i.props,t=e.activePlayer,n=e.loop,r=e.onEnded;t.loopOnEnded&&n&&i.seekTo(0),n||(i.isPlaying=!1),r()},i.onDurationCheck=function(){clearTimeout(i.durationCheckTimeout);var e=i.getDuration();e?i.onDurationCalled||(i.props.onDuration(e),i.onDurationCalled=!0):i.durationCheckTimeout=setTimeout(i.onDurationCheck,100)},i.ref=function(e){e&&(i.player=e)},a=n,o(i,a)}return i(t,e),u(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.player.load(this.props.url),this.progress()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.player.stop(),this.mounted=!1}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.url,o=n.playing,i=n.volume,a=n.muted,u=n.playbackRate;if(r!==e.url){if(this.isLoading)return console.warn("ReactPlayer: the attempt to load "+e.url+" is being deferred until the player has loaded"),void(this.loadOnReady=e.url);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(e.url,this.isReady)}o||!e.playing||this.isPlaying||this.player.play(),o&&!e.playing&&this.isPlaying&&this.player.pause(),i!==e.volume&&null!==e.volume&&this.player.setVolume(e.volume),a!==e.muted&&(e.muted?this.player.mute():(this.player.unmute(),null!==e.volume&&setTimeout(function(){return t.player.setVolume(e.volume)}))),u!==e.playbackRate&&this.player.setPlaybackRate&&this.player.setPlaybackRate(e.playbackRate)}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e){var t=this;if(!this.isReady&&0!==e)return this.seekOnPlay=e,void setTimeout(function(){t.seekOnPlay=null},5e3);if(e>0&&e<1){var n=this.player.getDuration();return n?void this.player.seekTo(n*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return s.default.createElement(e,a({},this.props,{ref:this.ref,onReady:this.onReady,onPlay:this.onPlay,onPause:this.onPause,onEnded:this.onEnded}))}}]),t}(l.Component);f.displayName="Player",f.propTypes=c.propTypes,f.defaultProps=c.defaultProps,t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){if(e instanceof Array){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if("string"==typeof a&&u(a))return!0;if(u(a.src))return!0}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return!1}return!!(window.MediaStream&&e instanceof window.MediaStream)||(v.test(e)||m.test(e)||g.test(e)||b.test(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.FilePlayer=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=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}}(),c=n(6),f=r(c),p=n(11),d=n(13),h=r(d),y="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,v=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,m=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i,g=/\.(m3u8)($|\?)/i,b=/\.(mpd)($|\?)/i,w=/www\.dropbox\.com\/.+/,k=t.FilePlayer=function(e){function t(){var e,n,r,a;o(this,t);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.onSeek=function(e){r.props.onSeek(e.target.currentTime)},r.mute=function(){r.player.muted=!0},r.unmute=function(){r.player.muted=!1},r.renderSourceElement=function(e,t){return"string"==typeof e?f.default.createElement("source",{key:t,src:e}):f.default.createElement("source",l({key:t},e))},r.renderTrack=function(e,t){return f.default.createElement("track",l({key:t},e))},r.ref=function(e){r.player=e},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){this.addListeners(),y&&this.player.load()}},{key:"componentWillReceiveProps",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&this.removeListeners()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){var e=this.props,t=e.onReady,n=e.onPlay,r=e.onPause,o=e.onEnded,i=e.onVolumeChange,a=e.onError,u=e.playsinline;this.player.addEventListener("canplay",t),this.player.addEventListener("play",n),this.player.addEventListener("pause",r),this.player.addEventListener("seeked",this.onSeek),this.player.addEventListener("ended",o),this.player.addEventListener("error",a),this.player.addEventListener("volumechange",i),u&&(this.player.setAttribute("playsinline",""),this.player.setAttribute("webkit-playsinline",""))}},{key:"removeListeners",value:function(){var e=this.props,t=e.onReady,n=e.onPlay,r=e.onPause,o=e.onEnded,i=e.onVolumeChange,a=e.onError;this.player.removeEventListener("canplay",t),this.player.removeEventListener("play",n),this.player.removeEventListener("pause",r),this.player.removeEventListener("seeked",this.onSeek),this.player.removeEventListener("ended",o),this.player.removeEventListener("error",a),this.player.removeEventListener("volumechange",i)}},{key:"shouldUseAudio",value:function(e){return!e.config.file.forceVideo&&(!e.config.file.attributes.poster&&(v.test(e.url)||e.config.file.forceAudio))}},{key:"shouldUseHLS",value:function(e){return g.test(e)&&!y||this.props.config.file.forceHLS}},{key:"shouldUseDASH",value:function(e){return b.test(e)||this.props.config.file.forceDASH}},{key:"load",value:function(e){var t=this;if(this.shouldUseHLS(e)&&(0,p.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.9.1/hls.min.js","Hls").then(function(n){t.hls=new n(t.props.config.file.hlsOptions),t.hls.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.hls,n)}),t.hls.loadSource(e),t.hls.attachMedia(t.player)}),this.shouldUseDASH(e)&&(0,p.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/2.6.5/dash.all.min.js","dashjs").then(function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.getDebug().setLogToBrowserConsole(!1)}),e instanceof window.MediaStream)try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.hls&&this.hls.destroy(),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:fun