diff --git a/build/mojs-player.js b/build/mojs-player.js index c7ac5b6..1f84432 100644 --- a/build/mojs-player.js +++ b/build/mojs-player.js @@ -181,7 +181,7 @@ return /******/ (function(modules) { // webpackBootstrap this._play = this._play.bind(this); - this.revision = '1.0.0'; + this.revision = '1.0.1'; var str = this._fallbackTo(this._o.name, this._defaults.name); str += str === this._defaults.name ? '' : '__' + this._defaults.name; diff --git a/build/mojs-player.min.js b/build/mojs-player.min.js index e5a3aec..eaa0922 100644 --- a/build/mojs-player.min.js +++ b/build/mojs-player.min.js @@ -1,4 +1,4 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mojs-player",[],e):"object"==typeof exports?exports["mojs-player"]=e():t["mojs-player"]=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var s=n[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=t,e.c=n,e.p="build/",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){var i;(function(t,s){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(3),a=o(r),u=n(70),l=o(u),p=n(72),c=o(p),h=n(77),d=o(h),f=n(78),_=o(f),v=n(79),y=o(v),g=n(87),m=(o(g),n(88)),b=o(m),x=n(89),S=o(x),w=n(90),P=o(w),T=n(110),k=o(T),C=n(122),E=o(C),M=n(134),j=o(M),L=n(142),O=o(L),B=n(146),D=o(B),I=n(154),R=o(I),A=n(155),F=o(A);n(159);var N=n(161),z=function(t){function e(n){if((0,d["default"])(this,e),"undefined"==typeof mojs)throw new Error("MojsPlayer relies on mojs^0.225.2, please include it before player initialization. [ https://github.com/legomushroom/mojs ] ");return(0,_["default"])(this,t.call(this,n))}return(0,y["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.isSaveState=!0,this._defaults.isPlaying=!1,this._defaults.progress=0,this._defaults.isRepeat=!1,this._defaults.isBounds=!1,this._defaults.leftBound=0,this._defaults.rightBound=1,this._defaults.isSpeed=!1,this._defaults.speed=1,this._defaults.isHidden=!1,this._defaults.precision=.1,this._defaults.name="mojs-player",this._defaults.onToggleHide=null,this._defaults.onPlayStateChange=null,this._defaults.onSeekStart=null,this._defaults.onSeekEnd=null,this._defaults.onProgress=null,this._play=this._play.bind(this),this.revision="1.0.0";var e=this._fallbackTo(this._o.name,this._defaults.name);e+=e===this._defaults.name?"":"__"+this._defaults.name,this._localStorage=e+"__"+this._hashCode(e)},e.prototype._extendDefaults=function(){this._props={};var t=this._props,e=this._o,n=this._defaults;t.isSaveState=this._fallbackTo(e.isSaveState,n.isSaveState);var i=t.isSaveState?JSON.parse(localStorage.getItem(this._localStorage))||{}:{};for(var s in n){var o=this._fallbackTo(i[s],e[s]);this._assignProp(s,this._fallbackTo(o,n[s]))}this._props["raw-speed"]=this._fallbackTo(i["raw-speed"],.5)},e.prototype._keyUp=function(t){if(t.altKey)switch(t.keyCode){case 80:this._props.isPlaying=!this._props.isPlaying,this._onPlayStateChange(this._props.isPlaying);break;case 189:this.playButton.off(),this.playerSlider.decreaseProgress(t.shiftKey?.1:.01);break;case 187:this.playButton.off(),this.playerSlider.increaseProgress(t.shiftKey?.1:.01);break;case 83:this._onStop();break;case 82:this._props.isRepeat=!this._props.isRepeat;var e=this._props.isRepeat?"on":"off";this.repeatButton[e]();break;case 66:this._props.isBounds=!this._props.isBounds;var e=this._props.isBounds?"on":"off";this.boundsButton[e]();break;case 72:this._props.isHidden=!this._props.isHidden,this._onHideStateChange(this._props.isHidden);var e=this._props.isHidden?"on":"off";this.hideButton[e]();break;case 81:this.speedControl.reset();break;case 50:this.speedControl.decreaseSpeed(t.shiftKey?.05:.01);break;case 51:this.speedControl.increaseSpeed(t.shiftKey?.05:.01)}},e.prototype._vars=function(){this._hideCount=0},e.prototype._render=function(){this._initTimeline();var e=this._props,n="mojs-player";new b["default"]({prefix:this._props.prefix});t.prototype._render.call(this),this.el.classList.add(N[n]),this.el.setAttribute("id","js-mojs-player");var i=this._createChild("div",N[n+"__left"]),s=this._createChild("div",N[n+"__mid"]),o=this._createChild("div",N[n+"__right"]);this.repeatButton=new D["default"]({parent:i,isOn:e.isRepeat,onStateChange:this._onRepeatStateChange.bind(this),prefix:this._props.prefix}),this.playerSlider=new P["default"]({parent:s,isBounds:e.isBounds,leftProgress:e.leftBound,rightProgress:e.rightBound,progress:e.progress,onLeftProgress:this._onLeftProgress.bind(this),onProgress:this._onProgress.bind(this),onRightProgress:this._onRightProgress.bind(this),onSeekStart:this._onSeekStart.bind(this),onSeekEnd:this._onSeekEnd.bind(this)}),this.boundsButton=new R["default"]({isOn:e.isBounds,parent:i,onStateChange:this._boundsStateChange.bind(this),prefix:this._props.prefix}),this.speedControl=new E["default"]({parent:i,speed:e.speed,isOn:e.isSpeed,onSpeedChange:this._onSpeedChange.bind(this),onIsSpeed:this._onIsSpeed.bind(this),prefix:this._props.prefix});this.stopButton=new O["default"]({parent:i,isPrepend:!0,onPointerUp:this._onStop.bind(this),prefix:this._props.prefix}),this.playButton=new j["default"]({parent:i,isOn:e.isPlaying,isPrepend:!0,onStateChange:this._onPlayStateChange.bind(this),prefix:this._props.prefix}),this.mojsButton=new k["default"]({parent:o,className:N[n+"__mojs-logo"],icon:"mojs",target:"_blank",link:"https://github.com/mojs/mojs-player",title:"mo • js",prefix:this._props.prefix}),this.hideButton=new F["default"]({parent:this.el,className:N[n+"__hide-button"],isOn:e.isHidden,onStateChange:this._onHideStateChange.bind(this),prefix:this._props.prefix}),this._listen()},e.prototype._listen=function(){var t="onpagehide"in window?"pagehide":"beforeunload";window.addEventListener(t,this._onUnload.bind(this)),document.addEventListener("keyup",this._keyUp.bind(this))},e.prototype._onSeekStart=function(t){this._sysTween.pause();var e=this._props.onSeekStart;this._isFunction(e)&&e(t)},e.prototype._onSeekEnd=function(t){var e=this;clearTimeout(this._endTimer),this._endTimer=setTimeout(function(){e._props.isPlaying&&e._play()},20)},e.prototype._initTimeline=function(){var t=this;this.timeline=new mojs.Timeline({});var e=this._o.add,n="undefined"==typeof e;n||(e=e.timeline||e.tween||e);var i=!!e.setProgress;if(n||!i)throw new Error("MojsPlayer expects Tween/Timeline/Module as `add` option in constructor call. [ new MojsPlayer({ add: new mojs.Tween }); ]");this.timeline.add(this._o.add);var s=this.timeline._props,o=void 0!==s.repeatTime?s:s.delay+s.duration;this._sysTween=new mojs.Tween({easing:"linear.none",duration:o,onUpdate:this._onSysProgress.bind(this),onComplete:this._onSysTweenComplete.bind(this),onPlaybackStop:function(){t._setPlayState("off")},onPlaybackPause:function(){t._setPlayState("off")},onPlaybackStart:function(){t._setPlayState("on")}})},e.prototype._onSysProgress=function(t){this.playerSlider.setTrackProgress(t);var e=this._props.isBounds?this._props.rightBound:1,n=this._props.isBounds?this._props.leftBound:-1;t=e&&(this._reset(1===e),this._props.isRepeat?requestAnimationFrame(this._play):this._props.isPlaying=!1)},e.prototype._play=function(){var t=this._props,e=t.isBounds?t.leftBound:t.progress,n=t.progress>=this._getBound("right")?e:t.progress;1===n&&(n=t.isBounds?t.leftBound:0),0!==n&&this._sysTween.setProgress(n),this._sysTween.play()},e.prototype._reset=function(t){this._sysTween.reset(),this.timeline.reset()},e.prototype._setPlayState=function(t){var e=this;clearTimeout(this._playTimeout),this._playTimeout=setTimeout(function(){e.playButton&&e.playButton[t](!1)},20)},e.prototype._onSysTweenComplete=function(t){},e.prototype._onPlayStateChange=function(t){this._props.isPlaying=t,t?this._play():this._sysTween.pause();var e=this._props.onPlayStateChange;this._isFunction(e)&&e(t)},e.prototype._onHideStateChange=function(t){this._props.isHidden=t;var e=this._props.onToggleHide;this._isFunction(e)&&e(t);var n=t?"add":"remove";this.el.classList[n](N["is-hidden"]),1===this._hideCount++&&this.el.classList.add(N["is-transition"])},e.prototype._onStop=function(){var t=this._props;t.isPlaying=!1;var e=t.isBounds?t.leftBound:0;this._sysTween.setProgress(e+.01),this._sysTween.setProgress(e),this._reset()},e.prototype._onRepeatStateChange=function(t){this._props.isRepeat=t},e.prototype._boundsStateChange=function(t){this.playerSlider._props.isBounds=t,this.playerSlider[(t?"enable":"disable")+"Bounds"](),this._props.isBounds=t},e.prototype._onSpeedChange=function(t,e){this._props["raw-speed"]=e,this._props.speed=t,this._sysTween.setSpeed(t)},e.prototype._onIsSpeed=function(t){this._props.isSpeed=t},e.prototype._onLeftProgress=function(t){this._props.leftBound=t},e.prototype._onProgress=function(t){this._props.progress=t,this.timeline.setProgress(t)},e.prototype._onRightProgress=function(t){this._props.rightBound=t},e.prototype._onUnload=function(t){if(!this._props.isSaveState)return localStorage.removeItem(this._localStorage);var e=(0,c["default"])({},this._props);delete e.parent,delete e.className,delete e.isSaveState,delete e.precision,localStorage.setItem(this._localStorage,(0,l["default"])(e))},e.prototype._fallbackTo=function(t,e){return null!=t?t:e},e.prototype._getBound=function(t){var e=this._props,n="left"===t?0:1;return e.isBounds?e[t+"Bound"]:n},e.prototype._defer=function(t){setTimeout(t.bind(this),1)},e.prototype._hashCode=function(t){var e,n,i,s=0;if(0===t.length)return s;for(e=0,i=t.length;e=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(8),s=n(9);t.exports=function(t){return function(e,n){var o,r,a=String(s(e)),u=i(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(r=a.charCodeAt(u+1))<56320||r>57343?t?a.charAt(u):o:t?a.slice(u,u+2):(o-55296<<10)+(r-56320)+65536)}}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var i=n(11),s=n(12),o=n(28),r=n(17),a=n(29),u=n(30),l=n(46),p=n(48),c=n(47)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",_="values",v=function(){return this};t.exports=function(t,e,n,y,g,m,b){u(n,e,y);var x,S,w,P=function(t){if(!h&&t in E)return E[t];switch(t){case f:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",k=g==_,C=!1,E=t.prototype,M=E[c]||E[d]||g&&E[g],j=M||P(g),L=g?k?P("entries"):j:void 0,O="Array"==e?E.entries||M:M;if(O&&(w=p(O.call(new t)),w!==Object.prototype&&w.next&&(l(w,T,!0),i||"function"==typeof w[c]||r(w,c,v))),k&&M&&M.name!==_&&(C=!0,j=function(){return M.call(this)}),i&&!b||!h&&!C&&E[c]||r(E,c,j),a[e]=j,a[T]=v,g)if(x={values:k?j:P(_),keys:m?j:P(f),entries:L},b)for(S in x)S in E||o(E,S,x[S]);else s(s.P+s.F*(h||C),e,x);return x}},function(t,e){t.exports=!0},function(t,e,n){var i=n(13),s=n(14),o=n(15),r=n(17),a=n(27),u="prototype",l=function(t,e,n){var p,c,h,d=t&l.F,f=t&l.G,_=t&l.S,v=t&l.P,y=t&l.B,g=t&l.W,m=f?s:s[e]||(s[e]={}),b=m[u],x=f?i:_?i[e]:(i[e]||{})[u];f&&(n=e);for(p in n)c=!d&&x&&void 0!==x[p],c&&a(m,p)||(h=c?x[p]:n[p],m[p]=f&&"function"!=typeof x[p]?n[p]:y&&c?o(h,i):g&&x[p]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[u]=t[u],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((m.virtual||(m.virtual={}))[p]=h,t&l.R&&b&&!b[p]&&r(b,p,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(16);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,s){return t.call(e,n,i,s)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(18),s=n(26);t.exports=n(22)?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(19),s=n(21),o=n(25),r=Object.defineProperty;e.f=n(22)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),s)try{return r(t,e,n)}catch(a){}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){var i=n(20);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(22)&&!n(23)(function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var i=n(20),s=n(13).document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},function(t,e,n){var i=n(20);t.exports=function(t,e){if(!i(t))return t;var n,s;if(e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;if("function"==typeof(n=t.valueOf)&&!i(s=n.call(t)))return s;if(!e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=n(17)},function(t,e){t.exports={}},function(t,e,n){"use strict";var i=n(31),s=n(26),o=n(46),r={};n(17)(r,n(47)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(r,{next:s(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(19),s=n(32),o=n(44),r=n(41)("IE_PROTO"),a=function(){},u="prototype",l=function(){var t,e=n(24)("iframe"),i=o.length,s="<",r=">";for(e.style.display="none",n(45).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(s+"script"+r+"document.F=Object"+s+"/script"+r),t.close(),l=t.F;i--;)delete l[u][o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=i(t),n=new a,a[u]=null,n[r]=t):n=l(),void 0===e?n:s(n,e)}},function(t,e,n){var i=n(18),s=n(19),o=n(33);t.exports=n(22)?Object.defineProperties:function(t,e){s(t);for(var n,r=o(e),a=r.length,u=0;a>u;)i.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var i=n(34),s=n(44);t.exports=Object.keys||function(t){return i(t,s)}},function(t,e,n){var i=n(27),s=n(35),o=n(38)(!1),r=n(41)("IE_PROTO");t.exports=function(t,e){var n,a=s(t),u=0,l=[];for(n in a)n!=r&&i(a,n)&&l.push(n);for(;e.length>u;)i(a,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var i=n(36),s=n(9);t.exports=function(t){return i(s(t))}},function(t,e,n){var i=n(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(35),s=n(39),o=n(40);t.exports=function(t){return function(e,n,r){var a,u=i(e),l=s(u.length),p=o(r,l);if(t&&n!=n){for(;l>p;)if(a=u[p++],a!=a)return!0}else for(;l>p;p++)if((t||p in u)&&u[p]===n)return t||p||0;return!t&&-1}}},function(t,e,n){var i=n(8),s=Math.min;t.exports=function(t){return t>0?s(i(t),9007199254740991):0}},function(t,e,n){var i=n(8),s=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?s(t+e,0):o(t,e)}},function(t,e,n){var i=n(42)("keys"),s=n(43);t.exports=function(t){return i[t]||(i[t]=s(t))}},function(t,e,n){var i=n(14),s=n(13),o="__core-js_shared__",r=s[o]||(s[o]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(11)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(13).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(18).f,s=n(27),o=n(47)("toStringTag");t.exports=function(t,e,n){t&&!s(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(42)("wks"),s=n(43),o=n(13).Symbol,r="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=r&&o[t]||(r?o:s)("Symbol."+t))};a.store=i},function(t,e,n){var i=n(27),s=n(49),o=n(41)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=s(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},function(t,e,n){var i=n(9);t.exports=function(t){return Object(i(t))}},function(t,e,n){n(51);for(var i=n(13),s=n(17),o=n(29),r=n(47)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=t.length?(this._t=void 0,s(1)):"keys"==e?s(0,n):"values"==e?s(0,t[n]):s(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){e.f=n(47)},function(t,e,n){t.exports={"default":n(56),__esModule:!0}},function(t,e,n){n(57),n(67),n(68),n(69),t.exports=n(14).Symbol},function(t,e,n){"use strict";var i=n(13),s=n(27),o=n(22),r=n(12),a=n(28),u=n(58).KEY,l=n(23),p=n(42),c=n(46),h=n(43),d=n(47),f=n(54),_=n(59),v=n(60),y=n(63),g=n(19),m=n(20),b=n(49),x=n(35),S=n(25),w=n(26),P=n(31),T=n(64),k=n(66),C=n(61),E=n(18),M=n(33),j=k.f,L=E.f,O=T.f,B=i.Symbol,D=i.JSON,I=D&&D.stringify,R="prototype",A=d("_hidden"),F=d("toPrimitive"),N={}.propertyIsEnumerable,z=p("symbol-registry"),X=p("symbols"),U=p("op-symbols"),H=Object[R],W="function"==typeof B&&!!C.f,Y=i.QObject,$=!Y||!Y[R]||!Y[R].findChild,q=o&&l(function(){return 7!=P(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=j(H,e);i&&delete H[e],L(t,e,n),i&&t!==H&&L(H,e,i)}:L,V=function(t){var e=X[t]=P(B[R]);return e._k=t,e},G=W&&"symbol"==typeof B.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof B},Z=function(t,e,n){return t===H&&Z(U,e,n),g(t),e=S(e,!0),g(n),s(X,e)?(n.enumerable?(s(t,A)&&t[A][e]&&(t[A][e]=!1),n=P(n,{enumerable:w(0,!1)})):(s(t,A)||L(t,A,w(1,{})),t[A][e]=!0),q(t,e,n)):L(t,e,n)},J=function(t,e){g(t);for(var n,i=v(e=x(e)),s=0,o=i.length;o>s;)Z(t,n=i[s++],e[n]);return t},K=function(t,e){return void 0===e?P(t):J(P(t),e)},Q=function(t){var e=N.call(this,t=S(t,!0));return!(this===H&&s(X,t)&&!s(U,t))&&(!(e||!s(this,t)||!s(X,t)||s(this,A)&&this[A][t])||e)},tt=function(t,e){if(t=x(t),e=S(e,!0),t!==H||!s(X,e)||s(U,e)){var n=j(t,e);return!n||!s(X,e)||s(t,A)&&t[A][e]||(n.enumerable=!0),n}},et=function(t){for(var e,n=O(x(t)),i=[],o=0;n.length>o;)s(X,e=n[o++])||e==A||e==u||i.push(e);return i},nt=function(t){for(var e,n=t===H,i=O(n?U:x(t)),o=[],r=0;i.length>r;)!s(X,e=i[r++])||n&&!s(H,e)||o.push(X[e]);return o};W||(B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(U,n),s(this,A)&&s(this[A],t)&&(this[A][t]=!1),q(this,t,w(1,n))};return o&&$&&q(H,t,{configurable:!0,set:e}),V(t)},a(B[R],"toString",function(){return this._k}),k.f=tt,E.f=Z,n(65).f=T.f=et,n(62).f=Q,C.f=nt,o&&!n(11)&&a(H,"propertyIsEnumerable",Q,!0),f.f=function(t){return V(d(t))}),r(r.G+r.W+r.F*!W,{Symbol:B});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),st=0;it.length>st;)d(it[st++]);for(var ot=M(d.store),rt=0;ot.length>rt;)_(ot[rt++]);r(r.S+r.F*!W,"Symbol",{"for":function(t){return s(z,t+="")?z[t]:z[t]=B(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),r(r.S+r.F*!W,"Object",{create:K,defineProperty:Z,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l(function(){C.f(1)});r(r.S+r.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),D&&r(r.S+r.F*(!W||l(function(){var t=B();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],s=1;arguments.length>s;)i.push(arguments[s++]);if(n=e=i[1],(m(e)||void 0!==t)&&!G(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,I.apply(D,i)}}),B[R][F]||n(17)(B[R],F,B[R].valueOf),c(B,"Symbol"),c(Math,"Math",!0),c(i.JSON,"JSON",!0)},function(t,e,n){var i=n(43)("meta"),s=n(20),o=n(27),r=n(18).f,a=0,u=Object.isExtensible||function(){return!0},l=!n(23)(function(){return u(Object.preventExtensions({}))}),p=function(t){r(t,i,{value:{i:"O"+ ++a,w:{}}})},c=function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";p(t)}return t[i].i},h=function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;p(t)}return t[i].w},d=function(t){return l&&f.NEED&&u(t)&&!o(t,i)&&p(t),t},f=t.exports={KEY:i,NEED:!1,fastKey:c,getWeak:h,onFreeze:d}},function(t,e,n){var i=n(13),s=n(14),o=n(11),r=n(54),a=n(18).f;t.exports=function(t){var e=s.Symbol||(s.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},function(t,e,n){var i=n(33),s=n(61),o=n(62);t.exports=function(t){var e=i(t),n=s.f;if(n)for(var r,a=n(t),u=o.f,l=0;a.length>l;)u.call(t,r=a[l++])&&e.push(r);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(37);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(35),s=n(65).f,o={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return s(t)}catch(e){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==o.call(t)?a(t):s(i(t))}},function(t,e,n){var i=n(34),s=n(44).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,s)}},function(t,e,n){var i=n(62),s=n(26),o=n(35),r=n(25),a=n(27),u=n(21),l=Object.getOwnPropertyDescriptor;e.f=n(22)?l:function(t,e){if(t=o(t),e=r(e,!0),u)try{return l(t,e)}catch(n){}if(a(t,e))return s(!i.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(59)("asyncIterator")},function(t,e,n){n(59)("observable")},function(t,e,n){t.exports={"default":n(71),__esModule:!0}},function(t,e,n){var i=n(14),s=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(73),o=i(s);e["default"]=o["default"]||function(t){for(var e=1;ep;)for(var d,f=u(arguments[p++]),_=c?s(f).concat(c(f)):s(f),v=_.length,y=0;v>y;)d=_[y++],i&&!h.call(f,d)||(n[d]=f[d]);return n}:l},function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(3),o=i(s);e["default"]=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":(0,o["default"])(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(80),o=i(s),r=n(84),a=i(r),u=n(3),l=i(u);e["default"]=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":(0,l["default"])(e)));t.prototype=(0,a["default"])(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o["default"]?(0,o["default"])(t,e):t.__proto__=e)}},function(t,e,n){t.exports={"default":n(81),__esModule:!0}},function(t,e,n){n(82),t.exports=n(14).Object.setPrototypeOf},function(t,e,n){var i=n(12);i(i.S,"Object",{setPrototypeOf:n(83).set})},function(t,e,n){var i=n(20),s=n(19),o=function(t,e){if(s(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(15)(Function.call,n(66).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(s){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){t.exports={"default":n(85),__esModule:!0}},function(t,e,n){n(86);var i=n(14).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){var i=n(12);i(i.S,"Object",{create:n(31)})},function(t,e){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||!function(t){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n],s=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array[n].indexOf||function(t){for(var e=0,n=this.length;e\n \n \n \n \n \n \n \n \n \n \n '; +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mojs-player",[],e):"object"==typeof exports?exports["mojs-player"]=e():t["mojs-player"]=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var s=n[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=t,e.c=n,e.p="build/",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){var i;(function(t,s){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(3),a=o(r),u=n(70),l=o(u),p=n(72),c=o(p),h=n(77),d=o(h),f=n(78),_=o(f),v=n(79),y=o(v),g=n(87),m=(o(g),n(88)),b=o(m),x=n(89),S=o(x),w=n(90),P=o(w),T=n(110),k=o(T),C=n(122),E=o(C),M=n(134),j=o(M),L=n(142),O=o(L),B=n(146),D=o(B),I=n(154),R=o(I),A=n(155),F=o(A);n(159);var N=n(161),z=function(t){function e(n){if((0,d["default"])(this,e),"undefined"==typeof mojs)throw new Error("MojsPlayer relies on mojs^0.225.2, please include it before player initialization. [ https://github.com/mojs/mojs ] ");return(0,_["default"])(this,t.call(this,n))}return(0,y["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.isSaveState=!0,this._defaults.isPlaying=!1,this._defaults.progress=0,this._defaults.isRepeat=!1,this._defaults.isBounds=!1,this._defaults.leftBound=0,this._defaults.rightBound=1,this._defaults.isSpeed=!1,this._defaults.speed=1,this._defaults.isHidden=!1,this._defaults.precision=.1,this._defaults.name="mojs-player",this._defaults.onToggleHide=null,this._defaults.onPlayStateChange=null,this._defaults.onSeekStart=null,this._defaults.onSeekEnd=null,this._defaults.onProgress=null,this._play=this._play.bind(this),this.revision="1.0.1";var e=this._fallbackTo(this._o.name,this._defaults.name);e+=e===this._defaults.name?"":"__"+this._defaults.name,this._localStorage=e+"__"+this._hashCode(e)},e.prototype._extendDefaults=function(){this._props={};var t=this._props,e=this._o,n=this._defaults;t.isSaveState=this._fallbackTo(e.isSaveState,n.isSaveState);var i=t.isSaveState?JSON.parse(localStorage.getItem(this._localStorage))||{}:{};for(var s in n){var o=this._fallbackTo(i[s],e[s]);this._assignProp(s,this._fallbackTo(o,n[s]))}this._props["raw-speed"]=this._fallbackTo(i["raw-speed"],.5)},e.prototype._keyUp=function(t){if(t.altKey)switch(t.keyCode){case 80:this._props.isPlaying=!this._props.isPlaying,this._onPlayStateChange(this._props.isPlaying);break;case 189:this.playButton.off(),this.playerSlider.decreaseProgress(t.shiftKey?.1:.01);break;case 187:this.playButton.off(),this.playerSlider.increaseProgress(t.shiftKey?.1:.01);break;case 83:this._onStop();break;case 82:this._props.isRepeat=!this._props.isRepeat;var e=this._props.isRepeat?"on":"off";this.repeatButton[e]();break;case 66:this._props.isBounds=!this._props.isBounds;var e=this._props.isBounds?"on":"off";this.boundsButton[e]();break;case 72:this._props.isHidden=!this._props.isHidden,this._onHideStateChange(this._props.isHidden);var e=this._props.isHidden?"on":"off";this.hideButton[e]();break;case 81:this.speedControl.reset();break;case 50:this.speedControl.decreaseSpeed(t.shiftKey?.05:.01);break;case 51:this.speedControl.increaseSpeed(t.shiftKey?.05:.01)}},e.prototype._vars=function(){this._hideCount=0},e.prototype._render=function(){this._initTimeline();var e=this._props,n="mojs-player";new b["default"]({prefix:this._props.prefix});t.prototype._render.call(this),this.el.classList.add(N[n]),this.el.setAttribute("id","js-mojs-player");var i=this._createChild("div",N[n+"__left"]),s=this._createChild("div",N[n+"__mid"]),o=this._createChild("div",N[n+"__right"]);this.repeatButton=new D["default"]({parent:i,isOn:e.isRepeat,onStateChange:this._onRepeatStateChange.bind(this),prefix:this._props.prefix}),this.playerSlider=new P["default"]({parent:s,isBounds:e.isBounds,leftProgress:e.leftBound,rightProgress:e.rightBound,progress:e.progress,onLeftProgress:this._onLeftProgress.bind(this),onProgress:this._onProgress.bind(this),onRightProgress:this._onRightProgress.bind(this),onSeekStart:this._onSeekStart.bind(this),onSeekEnd:this._onSeekEnd.bind(this)}),this.boundsButton=new R["default"]({isOn:e.isBounds,parent:i,onStateChange:this._boundsStateChange.bind(this),prefix:this._props.prefix}),this.speedControl=new E["default"]({parent:i,speed:e.speed,isOn:e.isSpeed,onSpeedChange:this._onSpeedChange.bind(this),onIsSpeed:this._onIsSpeed.bind(this),prefix:this._props.prefix});this.stopButton=new O["default"]({parent:i,isPrepend:!0,onPointerUp:this._onStop.bind(this),prefix:this._props.prefix}),this.playButton=new j["default"]({parent:i,isOn:e.isPlaying,isPrepend:!0,onStateChange:this._onPlayStateChange.bind(this),prefix:this._props.prefix}),this.mojsButton=new k["default"]({parent:o,className:N[n+"__mojs-logo"],icon:"mojs",target:"_blank",link:"https://github.com/mojs/mojs-player",title:"mo • js",prefix:this._props.prefix}),this.hideButton=new F["default"]({parent:this.el,className:N[n+"__hide-button"],isOn:e.isHidden,onStateChange:this._onHideStateChange.bind(this),prefix:this._props.prefix}),this._listen()},e.prototype._listen=function(){var t="onpagehide"in window?"pagehide":"beforeunload";window.addEventListener(t,this._onUnload.bind(this)),document.addEventListener("keyup",this._keyUp.bind(this))},e.prototype._onSeekStart=function(t){this._sysTween.pause();var e=this._props.onSeekStart;this._isFunction(e)&&e(t)},e.prototype._onSeekEnd=function(t){var e=this;clearTimeout(this._endTimer),this._endTimer=setTimeout(function(){e._props.isPlaying&&e._play()},20)},e.prototype._initTimeline=function(){var t=this;this.timeline=new mojs.Timeline({});var e=this._o.add,n="undefined"==typeof e;n||(e=e.timeline||e.tween||e);var i=!!e.setProgress;if(n||!i)throw new Error("MojsPlayer expects Tween/Timeline/Module as `add` option in constructor call. [ new MojsPlayer({ add: new mojs.Tween }); ]");this.timeline.add(this._o.add);var s=this.timeline._props,o=void 0!==s.repeatTime?s:s.delay+s.duration;this._sysTween=new mojs.Tween({easing:"linear.none",duration:o,onUpdate:this._onSysProgress.bind(this),onComplete:this._onSysTweenComplete.bind(this),onPlaybackStop:function(){t._setPlayState("off")},onPlaybackPause:function(){t._setPlayState("off")},onPlaybackStart:function(){t._setPlayState("on")}})},e.prototype._onSysProgress=function(t){this.playerSlider.setTrackProgress(t);var e=this._props.isBounds?this._props.rightBound:1,n=this._props.isBounds?this._props.leftBound:-1;t=e&&(this._reset(1===e),this._props.isRepeat?requestAnimationFrame(this._play):this._props.isPlaying=!1)},e.prototype._play=function(){var t=this._props,e=t.isBounds?t.leftBound:t.progress,n=t.progress>=this._getBound("right")?e:t.progress;1===n&&(n=t.isBounds?t.leftBound:0),0!==n&&this._sysTween.setProgress(n),this._sysTween.play()},e.prototype._reset=function(t){this._sysTween.reset(),this.timeline.reset()},e.prototype._setPlayState=function(t){var e=this;clearTimeout(this._playTimeout),this._playTimeout=setTimeout(function(){e.playButton&&e.playButton[t](!1)},20)},e.prototype._onSysTweenComplete=function(t){},e.prototype._onPlayStateChange=function(t){this._props.isPlaying=t,t?this._play():this._sysTween.pause();var e=this._props.onPlayStateChange;this._isFunction(e)&&e(t)},e.prototype._onHideStateChange=function(t){this._props.isHidden=t;var e=this._props.onToggleHide;this._isFunction(e)&&e(t);var n=t?"add":"remove";this.el.classList[n](N["is-hidden"]),1===this._hideCount++&&this.el.classList.add(N["is-transition"])},e.prototype._onStop=function(){var t=this._props;t.isPlaying=!1;var e=t.isBounds?t.leftBound:0;this._sysTween.setProgress(e+.01),this._sysTween.setProgress(e),this._reset()},e.prototype._onRepeatStateChange=function(t){this._props.isRepeat=t},e.prototype._boundsStateChange=function(t){this.playerSlider._props.isBounds=t,this.playerSlider[(t?"enable":"disable")+"Bounds"](),this._props.isBounds=t},e.prototype._onSpeedChange=function(t,e){this._props["raw-speed"]=e,this._props.speed=t,this._sysTween.setSpeed(t)},e.prototype._onIsSpeed=function(t){this._props.isSpeed=t},e.prototype._onLeftProgress=function(t){this._props.leftBound=t},e.prototype._onProgress=function(t){this._props.progress=t,this.timeline.setProgress(t)},e.prototype._onRightProgress=function(t){this._props.rightBound=t},e.prototype._onUnload=function(t){if(!this._props.isSaveState)return localStorage.removeItem(this._localStorage);var e=(0,c["default"])({},this._props);delete e.parent,delete e.className,delete e.isSaveState,delete e.precision,localStorage.setItem(this._localStorage,(0,l["default"])(e))},e.prototype._fallbackTo=function(t,e){return null!=t?t:e},e.prototype._getBound=function(t){var e=this._props,n="left"===t?0:1;return e.isBounds?e[t+"Bound"]:n},e.prototype._defer=function(t){setTimeout(t.bind(this),1)},e.prototype._hashCode=function(t){var e,n,i,s=0;if(0===t.length)return s;for(e=0,i=t.length;e=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(8),s=n(9);t.exports=function(t){return function(e,n){var o,r,a=String(s(e)),u=i(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(r=a.charCodeAt(u+1))<56320||r>57343?t?a.charAt(u):o:t?a.slice(u,u+2):(o-55296<<10)+(r-56320)+65536)}}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var i=n(11),s=n(12),o=n(28),r=n(17),a=n(29),u=n(30),l=n(46),p=n(48),c=n(47)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",_="values",v=function(){return this};t.exports=function(t,e,n,y,g,m,b){u(n,e,y);var x,S,w,P=function(t){if(!h&&t in E)return E[t];switch(t){case f:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",k=g==_,C=!1,E=t.prototype,M=E[c]||E[d]||g&&E[g],j=M||P(g),L=g?k?P("entries"):j:void 0,O="Array"==e?E.entries||M:M;if(O&&(w=p(O.call(new t)),w!==Object.prototype&&w.next&&(l(w,T,!0),i||"function"==typeof w[c]||r(w,c,v))),k&&M&&M.name!==_&&(C=!0,j=function(){return M.call(this)}),i&&!b||!h&&!C&&E[c]||r(E,c,j),a[e]=j,a[T]=v,g)if(x={values:k?j:P(_),keys:m?j:P(f),entries:L},b)for(S in x)S in E||o(E,S,x[S]);else s(s.P+s.F*(h||C),e,x);return x}},function(t,e){t.exports=!0},function(t,e,n){var i=n(13),s=n(14),o=n(15),r=n(17),a=n(27),u="prototype",l=function(t,e,n){var p,c,h,d=t&l.F,f=t&l.G,_=t&l.S,v=t&l.P,y=t&l.B,g=t&l.W,m=f?s:s[e]||(s[e]={}),b=m[u],x=f?i:_?i[e]:(i[e]||{})[u];f&&(n=e);for(p in n)c=!d&&x&&void 0!==x[p],c&&a(m,p)||(h=c?x[p]:n[p],m[p]=f&&"function"!=typeof x[p]?n[p]:y&&c?o(h,i):g&&x[p]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[u]=t[u],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((m.virtual||(m.virtual={}))[p]=h,t&l.R&&b&&!b[p]&&r(b,p,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(16);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,s){return t.call(e,n,i,s)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(18),s=n(26);t.exports=n(22)?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(19),s=n(21),o=n(25),r=Object.defineProperty;e.f=n(22)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),s)try{return r(t,e,n)}catch(a){}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){var i=n(20);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(22)&&!n(23)(function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var i=n(20),s=n(13).document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},function(t,e,n){var i=n(20);t.exports=function(t,e){if(!i(t))return t;var n,s;if(e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;if("function"==typeof(n=t.valueOf)&&!i(s=n.call(t)))return s;if(!e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=n(17)},function(t,e){t.exports={}},function(t,e,n){"use strict";var i=n(31),s=n(26),o=n(46),r={};n(17)(r,n(47)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(r,{next:s(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(19),s=n(32),o=n(44),r=n(41)("IE_PROTO"),a=function(){},u="prototype",l=function(){var t,e=n(24)("iframe"),i=o.length,s="<",r=">";for(e.style.display="none",n(45).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(s+"script"+r+"document.F=Object"+s+"/script"+r),t.close(),l=t.F;i--;)delete l[u][o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=i(t),n=new a,a[u]=null,n[r]=t):n=l(),void 0===e?n:s(n,e)}},function(t,e,n){var i=n(18),s=n(19),o=n(33);t.exports=n(22)?Object.defineProperties:function(t,e){s(t);for(var n,r=o(e),a=r.length,u=0;a>u;)i.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var i=n(34),s=n(44);t.exports=Object.keys||function(t){return i(t,s)}},function(t,e,n){var i=n(27),s=n(35),o=n(38)(!1),r=n(41)("IE_PROTO");t.exports=function(t,e){var n,a=s(t),u=0,l=[];for(n in a)n!=r&&i(a,n)&&l.push(n);for(;e.length>u;)i(a,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var i=n(36),s=n(9);t.exports=function(t){return i(s(t))}},function(t,e,n){var i=n(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(35),s=n(39),o=n(40);t.exports=function(t){return function(e,n,r){var a,u=i(e),l=s(u.length),p=o(r,l);if(t&&n!=n){for(;l>p;)if(a=u[p++],a!=a)return!0}else for(;l>p;p++)if((t||p in u)&&u[p]===n)return t||p||0;return!t&&-1}}},function(t,e,n){var i=n(8),s=Math.min;t.exports=function(t){return t>0?s(i(t),9007199254740991):0}},function(t,e,n){var i=n(8),s=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?s(t+e,0):o(t,e)}},function(t,e,n){var i=n(42)("keys"),s=n(43);t.exports=function(t){return i[t]||(i[t]=s(t))}},function(t,e,n){var i=n(14),s=n(13),o="__core-js_shared__",r=s[o]||(s[o]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(11)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(13).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(18).f,s=n(27),o=n(47)("toStringTag");t.exports=function(t,e,n){t&&!s(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(42)("wks"),s=n(43),o=n(13).Symbol,r="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=r&&o[t]||(r?o:s)("Symbol."+t))};a.store=i},function(t,e,n){var i=n(27),s=n(49),o=n(41)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=s(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},function(t,e,n){var i=n(9);t.exports=function(t){return Object(i(t))}},function(t,e,n){n(51);for(var i=n(13),s=n(17),o=n(29),r=n(47)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=t.length?(this._t=void 0,s(1)):"keys"==e?s(0,n):"values"==e?s(0,t[n]):s(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){e.f=n(47)},function(t,e,n){t.exports={"default":n(56),__esModule:!0}},function(t,e,n){n(57),n(67),n(68),n(69),t.exports=n(14).Symbol},function(t,e,n){"use strict";var i=n(13),s=n(27),o=n(22),r=n(12),a=n(28),u=n(58).KEY,l=n(23),p=n(42),c=n(46),h=n(43),d=n(47),f=n(54),_=n(59),v=n(60),y=n(63),g=n(19),m=n(20),b=n(49),x=n(35),S=n(25),w=n(26),P=n(31),T=n(64),k=n(66),C=n(61),E=n(18),M=n(33),j=k.f,L=E.f,O=T.f,B=i.Symbol,D=i.JSON,I=D&&D.stringify,R="prototype",A=d("_hidden"),F=d("toPrimitive"),N={}.propertyIsEnumerable,z=p("symbol-registry"),X=p("symbols"),U=p("op-symbols"),H=Object[R],W="function"==typeof B&&!!C.f,Y=i.QObject,$=!Y||!Y[R]||!Y[R].findChild,q=o&&l(function(){return 7!=P(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=j(H,e);i&&delete H[e],L(t,e,n),i&&t!==H&&L(H,e,i)}:L,V=function(t){var e=X[t]=P(B[R]);return e._k=t,e},G=W&&"symbol"==typeof B.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof B},Z=function(t,e,n){return t===H&&Z(U,e,n),g(t),e=S(e,!0),g(n),s(X,e)?(n.enumerable?(s(t,A)&&t[A][e]&&(t[A][e]=!1),n=P(n,{enumerable:w(0,!1)})):(s(t,A)||L(t,A,w(1,{})),t[A][e]=!0),q(t,e,n)):L(t,e,n)},J=function(t,e){g(t);for(var n,i=v(e=x(e)),s=0,o=i.length;o>s;)Z(t,n=i[s++],e[n]);return t},K=function(t,e){return void 0===e?P(t):J(P(t),e)},Q=function(t){var e=N.call(this,t=S(t,!0));return!(this===H&&s(X,t)&&!s(U,t))&&(!(e||!s(this,t)||!s(X,t)||s(this,A)&&this[A][t])||e)},tt=function(t,e){if(t=x(t),e=S(e,!0),t!==H||!s(X,e)||s(U,e)){var n=j(t,e);return!n||!s(X,e)||s(t,A)&&t[A][e]||(n.enumerable=!0),n}},et=function(t){for(var e,n=O(x(t)),i=[],o=0;n.length>o;)s(X,e=n[o++])||e==A||e==u||i.push(e);return i},nt=function(t){for(var e,n=t===H,i=O(n?U:x(t)),o=[],r=0;i.length>r;)!s(X,e=i[r++])||n&&!s(H,e)||o.push(X[e]);return o};W||(B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(U,n),s(this,A)&&s(this[A],t)&&(this[A][t]=!1),q(this,t,w(1,n))};return o&&$&&q(H,t,{configurable:!0,set:e}),V(t)},a(B[R],"toString",function(){return this._k}),k.f=tt,E.f=Z,n(65).f=T.f=et,n(62).f=Q,C.f=nt,o&&!n(11)&&a(H,"propertyIsEnumerable",Q,!0),f.f=function(t){return V(d(t))}),r(r.G+r.W+r.F*!W,{Symbol:B});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),st=0;it.length>st;)d(it[st++]);for(var ot=M(d.store),rt=0;ot.length>rt;)_(ot[rt++]);r(r.S+r.F*!W,"Symbol",{"for":function(t){return s(z,t+="")?z[t]:z[t]=B(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),r(r.S+r.F*!W,"Object",{create:K,defineProperty:Z,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l(function(){C.f(1)});r(r.S+r.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),D&&r(r.S+r.F*(!W||l(function(){var t=B();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],s=1;arguments.length>s;)i.push(arguments[s++]);if(n=e=i[1],(m(e)||void 0!==t)&&!G(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,I.apply(D,i)}}),B[R][F]||n(17)(B[R],F,B[R].valueOf),c(B,"Symbol"),c(Math,"Math",!0),c(i.JSON,"JSON",!0)},function(t,e,n){var i=n(43)("meta"),s=n(20),o=n(27),r=n(18).f,a=0,u=Object.isExtensible||function(){return!0},l=!n(23)(function(){return u(Object.preventExtensions({}))}),p=function(t){r(t,i,{value:{i:"O"+ ++a,w:{}}})},c=function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";p(t)}return t[i].i},h=function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;p(t)}return t[i].w},d=function(t){return l&&f.NEED&&u(t)&&!o(t,i)&&p(t),t},f=t.exports={KEY:i,NEED:!1,fastKey:c,getWeak:h,onFreeze:d}},function(t,e,n){var i=n(13),s=n(14),o=n(11),r=n(54),a=n(18).f;t.exports=function(t){var e=s.Symbol||(s.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},function(t,e,n){var i=n(33),s=n(61),o=n(62);t.exports=function(t){var e=i(t),n=s.f;if(n)for(var r,a=n(t),u=o.f,l=0;a.length>l;)u.call(t,r=a[l++])&&e.push(r);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(37);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(35),s=n(65).f,o={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return s(t)}catch(e){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==o.call(t)?a(t):s(i(t))}},function(t,e,n){var i=n(34),s=n(44).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,s)}},function(t,e,n){var i=n(62),s=n(26),o=n(35),r=n(25),a=n(27),u=n(21),l=Object.getOwnPropertyDescriptor;e.f=n(22)?l:function(t,e){if(t=o(t),e=r(e,!0),u)try{return l(t,e)}catch(n){}if(a(t,e))return s(!i.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(59)("asyncIterator")},function(t,e,n){n(59)("observable")},function(t,e,n){t.exports={"default":n(71),__esModule:!0}},function(t,e,n){var i=n(14),s=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(73),o=i(s);e["default"]=o["default"]||function(t){for(var e=1;ep;)for(var d,f=u(arguments[p++]),_=c?s(f).concat(c(f)):s(f),v=_.length,y=0;v>y;)d=_[y++],i&&!h.call(f,d)||(n[d]=f[d]);return n}:l},function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(3),o=i(s);e["default"]=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":(0,o["default"])(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(80),o=i(s),r=n(84),a=i(r),u=n(3),l=i(u);e["default"]=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":(0,l["default"])(e)));t.prototype=(0,a["default"])(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o["default"]?(0,o["default"])(t,e):t.__proto__=e)}},function(t,e,n){t.exports={"default":n(81),__esModule:!0}},function(t,e,n){n(82),t.exports=n(14).Object.setPrototypeOf},function(t,e,n){var i=n(12);i(i.S,"Object",{setPrototypeOf:n(83).set})},function(t,e,n){var i=n(20),s=n(19),o=function(t,e){if(s(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(15)(Function.call,n(66).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(s){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){t.exports={"default":n(85),__esModule:!0}},function(t,e,n){n(86);var i=n(14).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){var i=n(12);i(i.S,"Object",{create:n(31)})},function(t,e){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||!function(t){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n],s=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array[n].indexOf||function(t){for(var e=0,n=this.length;e\n \n \n \n \n \n \n \n \n \n \n '; },e}(c["default"]);e["default"]=h},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(3),o=i(s),r=n(77),a=i(r),u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a["default"])(this,t),this._o=e,this._index=this._o.index||0,this._declareDefaults(),this._extendDefaults(),this._vars(),this._render()}return t.prototype._declareDefaults=function(){this._defaults={className:"",parent:document.body,isPrepend:!1,isRipple:!1,prefix:""}},t.prototype._addPointerDownEvent=function(t,e){window.navigator.msPointerEnabled?t.addEventListener("MSPointerDown",e):void 0!==window.ontouchstart?(t.addEventListener("touchstart",e),t.addEventListener("mousedown",e)):t.addEventListener("mousedown",e)},t.prototype._addPointerUpEvent=function(t,e){window.navigator.msPointerEnabled?t.addEventListener("MSPointerUp",e):void 0!==window.ontouchstart?(t.addEventListener("touchend",e),t.addEventListener("mouseup",e)):t.addEventListener("mouseup",e)},t.prototype._isFunction=function(t){return"function"==typeof t},t.prototype._callIfFunction=function(t){Array.prototype.shift.call(arguments),this._isFunction(t)&&t.apply(this,arguments)},t.prototype._vars=function(){},t.prototype._render=function(){this._addMainElement()},t.prototype._addMainElement=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=this._props;this.el=this._createElement(t),this._addMainClasses();var n=e.isPrepend?"prepend":"append";this["_"+n+"Child"](e.parent,this.el)},t.prototype._addMainClasses=function(){var t=this._props;if(t.className instanceof Array)for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:.01,e=this.track._progress;return e-=t,e=e<0?0:e,this.setTrackProgress(e),this},e.prototype.increaseProgress=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,e=this.track._progress;return e+=t,e=e>1?1:e,this.setTrackProgress(e),this},e.prototype._render=function(){var t=this._props;this._addMainElement(),this.el.classList.add(_.slider),this.leftBound=new c["default"]({isBound:!0,parent:this.el,isRipple:!1,onProgress:this._onLeftBoundProgress.bind(this),onSeekStart:t.onSeekStart,onSeekEnd:t.onSeekEnd}),this.track=new c["default"]({parent:this.el,className:f.slider,onProgress:this._onTrackProgress.bind(this),onSeekStart:t.onSeekStart,onSeekEnd:t.onSeekEnd}),this.rightBound=new c["default"]({isBound:!0,parent:this.el,isRipple:!1,isInversed:!0,onProgress:this._onRightBoundProgress.bind(this),onSeekStart:t.onSeekStart,onSeekEnd:t.onSeekEnd}),this.rightBound.setProgress(t.rightProgress),this.track.setProgress(t.progress),this.leftBound.setProgress(t.leftProgress),t.parent.appendChild(this.el)},e.prototype._onTrackProgress=function(t){this._callIfFunction(this._props.onProgress,t)},e.prototype._onLeftBoundProgress=function(t){this._props.isBounds&&(this._props.leftProgress=t,this.track.setMinBound(t),this.rightBound.setMinBound(t),this._callIfFunction(this._props.onLeftProgress,t))},e.prototype._onRightBoundProgress=function(t){this._props.isBounds&&(this._props.rightProgress=t,this.track.setMaxBound(t),this.leftBound.setMaxBound(t),this._callIfFunction(this._props.onRightProgress,t))},e}(d["default"]);e["default"]=v},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(89),c=i(p),h=n(92),d=i(h),f=n(99),_=i(f);n(104);var v=n(106),y=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){this._defaults={className:"",parent:document.body,isBound:!1,isInversed:!1,isRipple:!0,isProgress:!0,onProgress:null,onSeekStart:null,onSeekEnd:null,direction:"x",snapPoint:0,snapStrength:0}},e.prototype.setProgress=function(t){return this.handle.setProgress(t),this.track.setProgress(t),this},e.prototype.setBounds=function(t,e){return this.handle.setBounds(t,e),this.track.setBounds(t,e),this},e.prototype.setMinBound=function(t){return this.handle.setMinBound(t),this.track.setMinBound(t),this},e.prototype.setMaxBound=function(t){return this.handle.setMaxBound(t),this.track.setMaxBound(t),this},e.prototype.show=function(){this.track.el.style.display="block",this.handle.el.style.display="block"},e.prototype.hide=function(){this.track.el.style.display="none",this.handle.el.style.display="none"},e.prototype._render=function(){var t=this._props;if(!t.isBound){var e=this._createElement("div"),n=e.classList;this.el=e,this.inner=this._createElement("div"),this.inner.classList.add(v.slider__inner),this.el.appendChild(this.inner),n.add(v.slider),"y"===t.direction&&n.add(v["is-y"]),t.className&&n.add(t.className),t.parent.appendChild(e)}var i=t.isBound?t.parent:this.inner;this.track=new _["default"]({className:v.track,onProgress:this._onTrackProgress.bind(this),onSeekStart:t.onSeekStart,onSeekEnd:t.onSeekEnd,isBound:t.isBound,isInversed:t.isInversed,isRipple:t.isRipple,isProgress:t.isProgress,parent:i,direction:t.direction,snapPoint:t.snapPoint,snapStrength:t.snapStrength}),i.appendChild(this.track.el);var s=[v.handle];t.isBound||s.push(v["progress-handle"]),this.handle=new d["default"]({className:s,onProgress:this._onHandleProgress.bind(this),onSeekStart:t.onSeekStart,onSeekEnd:t.onSeekEnd,isBound:t.isBound,isInversed:t.isInversed,parent:i,direction:t.direction,snapPoint:t.snapPoint,snapStrength:t.snapStrength}),i.appendChild(this.handle.el)},e.prototype._onHandleProgress=function(t){this.track.setProgress(t,!1),this._onProgress(t)},e.prototype._onTrackProgress=function(t){this.handle.setProgress(t,!1),this._onProgress(t)},e.prototype._onProgress=function(t){var e=this._props;"function"==typeof e.onProgress&&this._progress!==t&&(this._progress=t,e.onProgress.call(this,t))},e}(c["default"]);e["default"]=y},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(89),c=i(p),h=n(93),d=i(h);n(94);var f=n(98),_=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.minBound=0,this._defaults.maxBound=1,this._defaults.isBound=!1,this._defaults.isInversed=!1,this._defaults.direction="x",this._defaults.onSeekStart=null,this._defaults.onSeekEnd=null,this._defaults.onProgress=null,this._defaults.snapPoint=0,this._defaults.snapStrength=0},e.prototype.setProgress=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._progressToShift(t);return this._setShift(n,e),this._delta=n-this._shift,this._saveDelta(),this},e.prototype.setBounds=function(t,e){return this.setMinBound(t),this.setMaxBound(e),this},e.prototype.setMinBound=function(t){return this._props.minBound=Math.max(t,0),this._progresst&&this.setProgress(t),this},e.prototype._vars=function(){this._progress=0,this._shift=0,this._delta=0},e.prototype._setShift=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._props,i=n.minBound*this._maxWidth,s=n.maxBound*this._maxWidth;return t=this.clamp(t,i,s),this._applyShift(t),e?this._onProgress(t):this._progress=this._shiftToProgress(t),t},e.prototype.clamp=function(t,e,n){return Math.min(Math.max(t,e),n)},e.prototype._applyShift=function(t){var e=this._props;this.el.style.transform="x"===e.direction?"translateX( "+t+"px )":"translateY( "+-t+"px )"},e.prototype._getMaxWidth=function(){var t=this._props,e=t.parent;this._maxWidth="x"===t.direction?e.clientWidth:e.clientHeight},e.prototype._render=function(){t.prototype._render.call(this),this._addElements(),this._getMaxWidth(),this._hammerTime()},e.prototype._addMainClasses=function(){t.prototype._addMainClasses.call(this);var e=this._props,n=this.el.classList;n.add(f.handle),e.isBound&&n.add(f["is-bound"]),e.isInversed&&n.add(f["is-inversed"])},e.prototype._addElements=function(){var t=this._createElement("div"),e=this._createElement("div");t.classList.add(""+f.handle__inner),e.classList.add(""+f.handle__shadow),this.el.appendChild(e),this.el.appendChild(t)},e.prototype._hammerTime=function(){var t=this._props,e="x"===t.direction?"HORIZONTAL":"VERTICAL",n=new d["default"].Manager(this.el,{recognizers:[[d["default"].Pan,{direction:d["default"]["DIRECTION_"+e]}]]});n.on("pan",this._pan.bind(this)),n.on("panend",this._panEnd.bind(this)),this._addPointerDownEvent(this.el,this._pointerDown.bind(this)),this._addPointerUpEvent(this.el,this._pointerUp.bind(this)),this._addPointerUpEvent(document,this._pointerUpDoc.bind(this)),window.addEventListener("resize",this._onWindowResize.bind(this))},e.prototype._pan=function(t){var e=this._props;this._delta="x"===e.direction?t.deltaX:-t.deltaY;var n=this._shift+this._delta,i=this._shiftToProgress(n);i=Math.abs(i-e.snapPoint)\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=s.console&&(s.console.warn||s.console.log);return o&&o.call(s.console,i,n),t.apply(this,arguments)}}function h(t,e,n){var i,s=e.prototype;i=t.prototype=Object.create(s),i.constructor=t,i._super=s,n&&_t(i,n)}function d(t,e){return function(){return t.apply(e,arguments)}}function f(t,e){return typeof t==gt?t.apply(e?e[0]||a:a,e):t}function _(t,e){return t===a?e:t}function v(t,e,n){p(b(e),function(e){t.addEventListener(e,n,!1)})}function y(t,e,n){p(b(e),function(e){t.removeEventListener(e,n,!1)})}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function x(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]}):i.sort()),i}function P(t,e){for(var n,i,s=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=B(e):1===s&&(n.firstMultiple=!1);var o=n.firstInput,r=n.firstMultiple,a=r?r.center:o.center,u=e.center=D(i);e.timeStamp=xt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=F(a,u),e.distance=A(a,u),L(n,e),e.offsetDirection=R(e.deltaX,e.deltaY);var l=I(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=bt(l.x)>bt(l.y)?l.x:l.y,e.scale=r?z(r.pointers,i):1,e.rotation=r?N(r.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,O(n,e);var p=t.element;g(e.srcEvent.target,p)&&(p=e.srcEvent.target),e.target=p}function L(t,e){var n=e.center,i=t.offsetDelta||{},s=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Dt&&o.eventType!==Rt||(s=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=s.x+(n.x-i.x),e.deltaY=s.y+(n.y-i.y)}function O(t,e){var n,i,s,o,r=t.lastInterval||e,u=e.timeStamp-r.timeStamp;if(e.eventType!=At&&(u>Bt||r.velocity===a)){var l=e.deltaX-r.deltaX,p=e.deltaY-r.deltaY,c=I(u,l,p);i=c.x,s=c.y,n=bt(c.x)>bt(c.y)?c.x:c.y,o=R(l,p),t.lastInterval=e}else n=r.velocity,i=r.velocityX,s=r.velocityY,o=r.direction;e.velocity=n,e.velocityX=i,e.velocityY=s,e.direction=o}function B(t){for(var e=[],n=0;n=bt(e)?t<0?Nt:zt:e<0?Xt:Ut}function A(t,e,n){n||(n=$t);var i=e[n[0]]-t[n[0]],s=e[n[1]]-t[n[1]];return Math.sqrt(i*i+s*s)}function F(t,e,n){n||(n=$t);var i=e[n[0]]-t[n[0]],s=e[n[1]]-t[n[1]];return 180*Math.atan2(s,i)/Math.PI}function N(t,e){return F(e[1],e[0],qt)+F(t[1],t[0],qt)}function z(t,e){return A(e[0],e[1],qt)/A(t[0],t[1],qt)}function X(){this.evEl=Gt,this.evWin=Zt,this.pressed=!1,C.apply(this,arguments)}function U(){this.evEl=Qt,this.evWin=te,C.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function H(){this.evTarget=ne,this.evWin=ie,this.started=!1,C.apply(this,arguments)}function W(t,e){var n=S(t.touches),i=S(t.changedTouches);return e&(Rt|At)&&(n=w(n.concat(i),"identifier",!0)),[n,i]}function Y(){this.evTarget=oe,this.targetIds={},C.apply(this,arguments)}function $(t,e){var n=S(t.touches),i=this.targetIds;if(e&(Dt|It)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var s,o,r=S(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return g(t.target,u)}),e===Dt)for(s=0;s-1&&i.splice(t,1)};setTimeout(s,re)}}function Z(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i=be&&e(n.options.event+et(i))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=we)},canEmit:function(){for(var t=0;te.threshold&&s&e.direction},attrTest:function(t){return st.prototype.attrTest.call(this,t)&&(this.state&ge||!(this.state&ge)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=nt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),h(rt,st,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[de]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&ge)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),h(at,tt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[ce]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distancee.time;if(this._input=t,!i||!n||t.eventType&(Rt|At)&&!s)this.reset();else if(t.eventType&Dt)this.reset(),this._timer=u(function(){this.state=xe,this.tryEmit()},e.time,this);else if(t.eventType&Rt)return xe;return we},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===xe&&(t&&t.eventType&Rt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=xt(),this.manager.emit(this.options.event,this._input)))}}),h(ut,st,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[de]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&ge)}}),h(lt,st,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ht|Wt,pointers:1},getTouchAction:function(){return ot.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ht|Wt)?e=t.overallVelocity:n&Ht?e=t.overallVelocityX:n&Wt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&bt(e)>this.options.velocity&&t.eventType&Rt},emit:function(t){var e=nt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(pt,tt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[he]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance=0&&m.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function l(t,e){var n,i,s;if(e.singleton){var o=g++;n=y||(y=a(e)),i=p.bind(null,n,o,!1),s=p.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),i=h.bind(null,n),s=function(){r(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=c.bind(null,n),s=function(){r(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else s()}}function p(t,e,n,i){var s=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,s);else{var o=document.createTextNode(s),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function c(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function h(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var s=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(s),o&&URL.revokeObjectURL(o)}var d={},f=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},_=f(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=f(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,g=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=_()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=s(t);return i(n,e),function(t){for(var o=[],r=0;r=.15&&this.isStart&&!this.isRelease&&(this.isStart=!1,mojs.Shape&&this.shape.setSpeed(.02))},e.prototype._release=function(){this._props.withHold&&(this.isRelease=!0,mojs.Shape&&this.shape.setSpeed(1).play())},e.prototype._hold=function(t){var e=null!=t.offsetX?t.offsetX:t.layerX,n=null!=t.offsetY?t.offsetY:t.layerY;this.isRelease=!1,mojs.Shape&&this.shape.tune({x:e,y:n}).replay()},e.prototype._cancel=function(){this._props.withHold&&(this.isRelease=!0,mojs.Shape&&this.shape.pause().setSpeed(1).playBackward())},e}(c["default"]);e["default"]=h},function(t,e,n){var i=n(102);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n._track_1dpwb_5 {\n position: relative;\n height: 100%\n\n\n}\n._track__track_1dpwb_1 {\n position: absolute;\n top: 50%;\n left: 0;\n width: 100%;\n height: 1px;\n background: #FFF;\n box-shadow: 1px 1px 1px rgba(0, 0, 0, .5)\n\n\n}\n._track__track_1dpwb_1:after {\n content: '';\n position: absolute;\n left: 0;\n top: -20px;\n width: 100%;\n height: 40px;\n cursor: pointer\n /*background-color: yellow;*/\n\n\n}\n._track__track-progress_1dpwb_1 {\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -1px;\n height: 3px;\n width: 0.0625em;\n /*background: $c-orange;*/\n background: #FFFFFF;\n z-index: 1;\n transform-origin: left center\n\n\n}\n._track__track-progress_1dpwb_1:after {\n /*content: '';*/\n position: absolute;\n left: 0;\n top: -20px;\n width: 100%;\n height: 40px;\n cursor: pointer;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden\n\n\n}\n._track__ripple_1dpwb_1 {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden\n /*background: black;*/\n /*z-index: 1;*/\n\n\n}\n._track_1dpwb_5._is-inversed_1dpwb_66 {\n left: auto;\n right: 0\n\n\n}\n._track_1dpwb_5._is-inversed_1dpwb_66 ._track__track-progress_1dpwb_1 {\n transform-origin: right center\n\n\n}\n._track_1dpwb_5._is-bound_1dpwb_75 ._track__track-progress_1dpwb_1 {\n background: #FF512F\n\n\n}\n._track_1dpwb_5._is-y_1dpwb_79 ._track__track_1dpwb_1 {\n top: 0;\n left: 50%;\n height: 100%;\n width: 1px\n /*box-shadow: calc( $PX ) calc( $PX ) calc( $PX ) rgba(0,0,0,.5); */\n\n\n}\n",""])},function(t,e){t.exports={track:"_track_1dpwb_5",track__track:"_track__track_1dpwb_1","track__track-progress":"_track__track-progress_1dpwb_1",track__ripple:"_track__ripple_1dpwb_1","is-inversed":"_is-inversed_1dpwb_66","is-bound":"_is-bound_1dpwb_75","is-y":"_is-y_1dpwb_79"}},function(t,e,n){var i=n(105);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n/*@import './handle.postcss.css';*/\n._slider_1e5my_6 {\n position: relative;\n width: 100%;\n height: 30px\n}\n._slider__inner_1e5my_1 {\n width: 100%;\n height: 100%;\n position: relative\n}\n._slider_1e5my_6 ._handle_1e5my_17, ._slider_1e5my_6 ._progress-handle_1e5my_18 {\n z-index: 3;\n position: absolute;\n top: 50%\n}\n._slider_1e5my_6 ._progress-handle_1e5my_18 {\n left: 0;\n margin-left: -6.5px;\n margin-top: -6.5px\n}\n._slider_1e5my_6 ._track_1e5my_30 {\n z-index: 2\n}\n._slider_1e5my_6._is-y_1e5my_34 {\n width: 30px;\n height: 100%;\n}\n._slider_1e5my_6._is-y_1e5my_34 ._handle_1e5my_17 {\n left: 50%;\n top: auto;\n bottom: 0;\n margin-top: 0;\n margin-bottom: -6.5px\n}\n",""])},function(t,e){t.exports={slider:"_slider_1e5my_6",slider__inner:"_slider__inner_1e5my_1",handle:"_handle_1e5my_17","progress-handle":"_progress-handle_1e5my_18",track:"_track_1e5my_30","is-y":"_is-y_1e5my_34"}},function(t,e,n){var i=n(108);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n/*@import './handle.postcss.css';*/\n._player-slider_1h9vh_6 {\n /*overflow: hidden;*/\n height: 40px\n\n}\n._player-slider_1h9vh_6 > div {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2\n\n}\n._player-slider_1h9vh_6 ._slider_1h9vh_15 {\n z-index: 1;\n height: 100%\n\n}\n",""])},function(t,e){t.exports={"player-slider":"_player-slider_1h9vh_6",slider:"_slider_1h9vh_15"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(111),c=i(p),h=n(115),d=i(h);n(119);var f=n(121),_=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="",this._defaults.iconClass=""},e.prototype._render=function(){t.prototype._render.call(this);var e=this._props,n="icon-button";this.el.classList.add(f[n]);new c["default"]({shape:e.icon,parent:this.el,className:[f.icon,e.iconClass],prefix:e.prefix})},e}(d["default"]);e["default"]=_},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(89),c=i(p),h=n(93);i(h);n(112);var d=n(114),f=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.shape="",this._defaults.size="x1",this.NS="http://www.w3.org/2000/svg"},e.prototype._render=function(){this._addMainElement(),this.el.classList.add(d.icon),this.el.classList.add(d["is-"+this._props.size]),this.el.setAttribute("data-component","icon"),this._renderIcon()},e.prototype._renderIcon=function(){var t=this._props,e=document.createElementNS(this.NS,"svg"),n='';e.setAttribute("viewBox","0 0 32 32"),this._addSVGHtml(e,n),this.el.appendChild(e)},e.prototype._addSVGHtml=function(t,e){var n=this._createElement("div"),i=" "+e+" ";n.innerHTML=i;for(var s=Array.prototype.slice.call(n.childNodes[0].childNodes),o=0;o svg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n fill: inherit\n}\n._icon_if24v_5 > svg > use {\n fill: inherit\n}\n._icon_if24v_5:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 1\n}\n._icon_if24v_5._is-x2_if24v_33 {\n width: 16px;\n height: 16px\n}\n",""])},function(t,e){t.exports={icon:"_icon_if24v_5","is-x2":"_is-x2_if24v_33"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(89),c=i(p),h=n(93),d=i(h),f=n(100),_=i(f);n(116);var v=n(118),y=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.link=null,this._defaults.title="",this._defaults.target=null,this._defaults.onPointerDown=null,this._defaults.onPointerUp=null,this._defaults.onDoubleTap=null},e.prototype._render=function(){var t=this._props,e="button",n=null!=t.link?"a":"div";this._addMainElement(n),this.el.classList.add(v[e]),this.el.setAttribute("title",t.title),t.link&&this.el.setAttribute("href",t.link),t.link&&t.target&&this.el.setAttribute("target",t.target),this._addListeners(),this._createRipple()},e.prototype._createRipple=function(){this.ripple=new _["default"]({className:v.button__ripple,parent:this.el})},e.prototype._addListeners=function(){this._addPointerDownEvent(this.el,this._pointerDown.bind(this)),this._addPointerUpEvent(this.el,this._pointerUp.bind(this)),this._addPointerUpEvent(document,this._pointerCancel.bind(this)),(0,d["default"])(this.el).on("doubletap",this._doubleTap.bind(this))},e.prototype._pointerDown=function(t){this.wasTouched=!0,this._callIfFunction(this._props.onPointerDown),this.ripple._hold(t)},e.prototype._pointerUp=function(t){return this.wasTouched?(this.wasTouched=!1,this._callIfFunction(this._props.onPointerUp),this.ripple._release(),t.preventDefault(),!1):void t.stopPropagation()},e.prototype._pointerCancel=function(t){this.wasTouched&&(this.wasTouched=!1,this.ripple._cancel())},e.prototype._doubleTap=function(t){this._callIfFunction(this._props.onDoubleTap)},e}(c["default"]);e["default"]=y},function(t,e,n){var i=n(117);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,'/*$PX: 1/16rem;*/\n\n._button_wb9ek_4 {\n position: relative;\n width: 35px;\n height: 40px;\n cursor: pointer;\n fill: #FFF;\n display: inline-block\n}\n\n._button__ripple_wb9ek_1 {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 5;\n overflow: hidden\n}\n\n._button__ripple_wb9ek_1:after {\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1;\n cursor: pointer\n}\n\n._button_wb9ek_4:hover {\n opacity: .85\n}\n\n._button_wb9ek_4:active {\n opacity: 1\n}\n',""])},function(t,e){t.exports={button:"_button_wb9ek_4",button__ripple:"_button__ripple_wb9ek_1"}},function(t,e,n){var i=n(120);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._icon-button_qglug_4 {\n /* styles */\n}\n\n._icon-button_qglug_4 ._icon_qglug_4 {\n\n position: absolute;\n\n left: 50%;\n\n top: 50%;\n\n transform: translate( -50%, -50% )\n}\n",""])},function(t,e){t.exports={"icon-button":"_icon-button_qglug_4",icon:"_icon_qglug_4"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(89),c=i(p),h=n(123),d=i(h),f=n(91),_=i(f);n(131);var v=n(133),y=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.isOn=!1,this._defaults.speed=1,this._defaults.progress=.5,this._defaults.onSpeedChange=null,this._defaults.onIsSpeed=null},e.prototype.reset=function(){this._onDoubleTap()},e.prototype.decreaseSpeed=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,e=this._props;return e.progress-=t,e.progress=e.progress<0?0:e.progress,this.slider.setProgress(e.progress),this},e.prototype.increaseSpeed=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,e=this._props;return e.progress+=t,e.progress=e.progress>1?1:e.progress,this.slider.setProgress(e.progress),this},e.prototype._render=function(){var t=this._props,e="speed-control",n=this._createElement("div");this._createElement("div"),this._createElement("div");this._addMainElement(),this.el.classList.add(v[e]),n.classList.add(v[e+"__slider"]),this.el.appendChild(n),this.labelButton=new d["default"]({parent:this.el,isOn:t.isOn,className:v[e+"__icon"],onStateChange:this._onButtonStateChange.bind(this),onDoubleTap:this._onDoubleTap.bind(this)}),this.slider=new _["default"]({parent:n,isProgress:!1,direction:"y",onProgress:this._onSliderProgress.bind(this),snapPoint:.5,snapStrength:.05}),this.slider.setProgress(this._speedToProgress(this._props.speed))},e.prototype._onSliderProgress=function(t){t=Math.max(t,1e-4);var e=this._props;this._callIfFunction(e.onSpeedChange,this._progressToSpeed(t),t),this.labelButton.setLabelText(this._progressToLabel(e.progress=t))},e.prototype._onButtonStateChange=function(t){var e=t?"add":"remove";this.el.classList[e](v["is-on"]),this._callIfFunction(this._props.onIsSpeed,t)},e.prototype._progressToLabel=function(t){var e=this._progressToSpeed(t).toFixed(2),n=/\.+00$/;return e.match(n)&&(e=e.replace(n,"")),e+"x"},e.prototype._progressToSpeed=function(t){var e=t;return t<.5&&(e=2*t),.5===t&&(e=1),t>.5&&(t-=.5,e=1+18*t),e},e.prototype._speedToProgress=function(t){var e=t;return t<1&&(e=t/2),1===t&&(e=.5),t>1&&(e=.5+(t-1)/18),e},e.prototype._onDoubleTap=function(){this.slider.setProgress(.5),this.labelButton.off()},e}(c["default"]);e["default"]=y},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(124),c=i(p);n(128);var h=n(130),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.title="speed (reset: alt + 1)"},e.prototype.setLabelText=function(t){this.label.innerHTML=t},e.prototype._render=function(){t.prototype._render.call(this),this._addClass(this.el,h["label-button"]),this._addLabel()},e.prototype._addLabel=function(){this.label=this._createElement("div"),this.label.classList.add(h["label-button__label"]),this.el.appendChild(this.label)},e}(c["default"]);e["default"]=d},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(115),c=i(p);n(125);var h=n(127),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.isOn=!1,this._defaults.onStateChange=null},e.prototype.on=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._props.isOn=!0,this._reactOnStateChange(t)},e.prototype.off=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._props.isOn=!1,this._reactOnStateChange(t)},e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(h["button-switch"]),this._setState(),this._reactOnStateChange()},e.prototype._pointerUp=function(e){return this.wasTouched?(this._changeState(),void t.prototype._pointerUp.call(this,e)):(this.wasTouched=!1,void e.stopPropagation())},e.prototype._changeState=function(){this._props.isOn=!this._props.isOn,this._reactOnStateChange()},e.prototype._reactOnStateChange=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t&&this._callIfFunction(this._props.onStateChange,this._props.isOn),this._setState()},e.prototype._setState=function(){},e}(c["default"]);e["default"]=d},function(t,e,n){var i=n(126);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,'/*$PX: 1/16rem;*/\n\n._button-switch_1putg_4 {\n position: relative;\n display: inline-block\n}\n\n._button-switch_1putg_4 > ._icon_1putg_8 {\n position: absolute\n}\n\n._button-switch_1putg_4:after {\n content: "";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 1\n}\n',""])},function(t,e){t.exports={"button-switch":"_button-switch_1putg_4",icon:"_icon_1putg_8"}},function(t,e,n){var i=n(129);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._label-button_1cxps_4 {\n font-family: Arial, sans-serif;\n font-size: 9px;\n letter-spacing: 0.5px;\n color: white\n}\n\n._label-button__label_1cxps_1 {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate( -50%, -50% )\n}\n",""])},function(t,e){t.exports={"label-button":"_label-button_1cxps_4","label-button__label":"_label-button__label_1cxps_1"}},function(t,e,n){var i=n(132);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._speed-control_1jd3z_3 {\n position: relative;\n display: inline-block;\n height: 40px\n}\n\n._speed-control__slider_1jd3z_1 {\n position: absolute;\n bottom: 100%;\n left: 3px;\n width: 30px;\n height: 120px;\n padding-top: 20px;\n padding-bottom: 20px;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n background: #3A0839;\n transform: translate(-99999999px, -99999999px);\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden\n}\n\n._speed-control__slider_1jd3z_1:before, ._speed-control__slider_1jd3z_1:after {\n content: '';\n position: absolute;\n top: 50%;\n width: 3px;\n height: 1px;\n background: #FFF\n}\n\n._speed-control__slider_1jd3z_1:before {\n left: 5px\n}\n\n._speed-control__slider_1jd3z_1:after {\n right: 5px\n}\n\n._speed-control__button_1jd3z_1 {\n border: 1px solid cyan\n}\n\n._speed-control_1jd3z_3._is-on_1jd3z_48 ._speed-control__slider_1jd3z_1 {\n transform: translate(0, 0)\n}\n",""])},function(t,e){t.exports={"speed-control":"_speed-control_1jd3z_3","speed-control__slider":"_speed-control__slider_1jd3z_1","speed-control__button":"_speed-control__button_1jd3z_1","is-on":"_is-on_1jd3z_48"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(135),c=i(p);n(139);var h=n(141),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon1="pause",this._defaults.icon2="play",this._defaults.title="play/pause (alt + p)"},e.prototype._render=function(){t.prototype._render.call(this),this._addClass(this.el,h["play-button"])},e}(c["default"]);e["default"]=d},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(124),c=i(p),h=n(111),d=i(h);n(136);var f=n(138),_=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(f["icon-fork"]);var e=this._props,n=e.prefix,i=this.el,s=f.icon;this.icon1=new d["default"]({shape:e.icon1,prefix:n,parent:i,className:s}),this.icon2=new d["default"]({shape:e.icon2,prefix:n,parent:i,className:s})},e.prototype._setState=function(){var t=this._props,e=this.el.classList,n=t.isOn?"add":"remove";e[n](f["is-on"])},e}(c["default"]);e["default"]=_},function(t,e,n){var i=n(137);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._icon-fork_1n6j9_4 {\n}\n\n._icon-fork_1n6j9_4 > ._icon_1n6j9_4 {\n\n /*position: absolute;*/\n\n opacity: 0;\n\n position: absolute;\n\n top: 50%;\n\n left: 50%;\n\n transform: translate( -50%, -50% )\n}\n\n._icon-fork_1n6j9_4 > ._icon_1n6j9_4:nth-of-type(3) {\n\n position: absolute;\n\n opacity: 1\n}\n\n._icon-fork_1n6j9_4._is-on_1n6j9_18 > ._icon_1n6j9_4:nth-of-type(2) {\n\n opacity: 1\n}\n\n._icon-fork_1n6j9_4._is-on_1n6j9_18 > ._icon_1n6j9_4:nth-of-type(3) {\n\n opacity: 0\n}\n",""])},function(t,e){t.exports={"icon-fork":"_icon-fork_1n6j9_4",icon:"_icon_1n6j9_4","is-on":"_is-on_1n6j9_18"}},function(t,e,n){var i=n(140);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._play-button_16uj5_4 {\n /* styles */\n}\n",""])},function(t,e){t.exports={"play-button":"_play-button_16uj5_4"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(110),c=i(p);n(143);var h=n(145),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="stop",this._defaults.title="stop (alt + s)"},e.prototype._render=function(){t.prototype._render.call(this),this._addClass(this.el,h["stop-button"])},e}(c["default"]);e["default"]=d},function(t,e,n){var i=n(144);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._stop-button_lpa7l_4 {\n /* styles */\n}\n",""])},function(t,e){t.exports={"stop-button":"_stop-button_lpa7l_4"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(147),c=i(p); -n(151);var h=n(153),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="repeat",this._defaults.iconSize="x2",this._defaults.title="repeat (alt + r)"},e.prototype._render=function(){t.prototype._render.call(this),this._addClass(this.el,h["repeat-button"])},e}(c["default"]);e["default"]=d},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(111),c=i(p),h=n(124),d=i(h);n(148);var f=n(150),_=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="",this._defaults.iconSize=""},e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(f["opacity-switch"]);var e=this._props,n=new c["default"]({parent:this.el,shape:e.icon,size:e.iconSize,className:f.icon,prefix:e.prefix});this.el.appendChild(n.el)},e.prototype._setState=function(){var t=this._props.isOn?"add":"remove";this.el.classList[t](f["is-on"])},e}(d["default"]);e["default"]=_},function(t,e,n){var i=n(149);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._opacity-switch_17z5s_4 {\n opacity: .5;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4 ._icon_17z5s_6 {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n\n\n\n}\n\n._opacity-switch_17z5s_4:hover {\n opacity: .4;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4._is-on_17z5s_15 {\n opacity: 1;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4._is-on_17z5s_15:hover {\n opacity: .85;\n\n\n\n\n}\n",""])},function(t,e){t.exports={"opacity-switch":"_opacity-switch_17z5s_4",icon:"_icon_17z5s_6","is-on":"_is-on_17z5s_15"}},function(t,e,n){var i=n(152);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._repeat-button_xhfpi_4 {\n /* styles */\n}\n",""])},function(t,e){t.exports={"repeat-button":"_repeat-button_xhfpi_4"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(146),c=i(p),h=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="bounds",this._defaults.title="progress bounds (alt + b)"},e}(c["default"]);e["default"]=h},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(124),c=i(p),h=n(111),d=i(h);n(156);var f=n(158),_="hide-button",v=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.title="hide (alt + h)"},e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(f[_]),this._addIcon()},e.prototype._addIcon=function(){this.icon=new d["default"]({parent:this.el,className:f[_+"__icon"],shape:"hide",prefix:this._props.prefix})},e.prototype._setState=function(){var t=this._props.isOn?"add":"remove";this.el.classList[t](f["is-hidden"])},e}(c["default"]);e["default"]=v},function(t,e,n){var i=n(157);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._hide-button_aiv1o_4 {\n\n width: 22px;\n height: 16px;\n\n background: #3A0839;\n\n border-top-left-radius: 3px;\n border-top-right-radius: 3px\n}\n\n._hide-button__icon_aiv1o_1 {\n\n position: absolute;\n\n left: 50%;\n\n top: 50%;\n\n width: 8px;\n\n height: 8px;\n\n margin-top: 1px;\n\n transform: translate( -50%, -50% )\n}\n\n._hide-button_aiv1o_4._is-hidden_aiv1o_24 ._hide-button__icon_aiv1o_1 {\n\n transform: translate( -50%, -65% ) rotate( 180deg )\n}\n",""])},function(t,e){t.exports={"hide-button":"_hide-button_aiv1o_4","hide-button__icon":"_hide-button__icon_aiv1o_1","is-hidden":"_is-hidden_aiv1o_24"}},function(t,e,n){var i=n(160);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,'/*$PX: 1/16rem;*/\n\n._mojs-player_12g93_4 {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 40px;\n background: rgba(58, 8, 57, .85);\n z-index: 100;\n}\n\n._mojs-player_12g93_4 * {\n box-sizing: border-box;\n}\n\n._mojs-player__left_12g93_1 {\n position: absolute;\n left: 0;\n width: 175px;\n}\n\n._mojs-player__mid_12g93_1 {\n position: absolute;\n left: 175px;\n right: 17.5px;\n overflow: hidden;\n padding: 0 20px;\n}\n\n._mojs-player__right_12g93_1 {\n position: absolute;\n right: 0;\n}\n\n._mojs-player__hide-button_12g93_1 {\n position: absolute;\n right: 6px;\n bottom: 100%;\n}\n\n._mojs-player__mojs-logo_12g93_1 [data-component="icon"] {\n fill: #FF512F;\n}\n\n._mojs-player_12g93_4._is-hidden_12g93_51 {\n transform: translateY(100%);\n}\n\n._mojs-player_12g93_4._is-transition_12g93_54 {\n transition: all .15s ease-out;\n}\n',""])},function(t,e){t.exports={"mojs-player":"_mojs-player_12g93_4","mojs-player__left":"_mojs-player__left_12g93_1","mojs-player__mid":"_mojs-player__mid_12g93_1","mojs-player__right":"_mojs-player__right_12g93_1","mojs-player__hide-button":"_mojs-player__hide-button_12g93_1","mojs-player__mojs-logo":"_mojs-player__mojs-logo_12g93_1","is-hidden":"_is-hidden_12g93_51","is-transition":"_is-transition_12g93_54"}}])}); \ No newline at end of file +n(151);var h=n(153),d=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="repeat",this._defaults.iconSize="x2",this._defaults.title="repeat (alt + r)"},e.prototype._render=function(){t.prototype._render.call(this),this._addClass(this.el,h["repeat-button"])},e}(c["default"]);e["default"]=d},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(111),c=i(p),h=n(124),d=i(h);n(148);var f=n(150),_=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="",this._defaults.iconSize=""},e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(f["opacity-switch"]);var e=this._props,n=new c["default"]({parent:this.el,shape:e.icon,size:e.iconSize,className:f.icon,prefix:e.prefix});this.el.appendChild(n.el)},e.prototype._setState=function(){var t=this._props.isOn?"add":"remove";this.el.classList[t](f["is-on"])},e}(d["default"]);e["default"]=_},function(t,e,n){var i=n(149);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._opacity-switch_17z5s_4 {\n opacity: .5;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4 ._icon_17z5s_6 {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n\n\n\n}\n\n._opacity-switch_17z5s_4:hover {\n opacity: .4;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4._is-on_17z5s_15 {\n opacity: 1;\n\n\n\n\n}\n\n._opacity-switch_17z5s_4._is-on_17z5s_15:hover {\n opacity: .85;\n\n\n\n\n}\n",""])},function(t,e){t.exports={"opacity-switch":"_opacity-switch_17z5s_4",icon:"_icon_17z5s_6","is-on":"_is-on_17z5s_15"}},function(t,e,n){var i=n(152);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._repeat-button_xhfpi_4 {\n /* styles */\n}\n",""])},function(t,e){t.exports={"repeat-button":"_repeat-button_xhfpi_4"}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(146),c=i(p),h=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.icon="bounds",this._defaults.title="progress bounds (alt + b)"},e}(c["default"]);e["default"]=h},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var s=n(77),o=i(s),r=n(78),a=i(r),u=n(79),l=i(u),p=n(124),c=i(p),h=n(111),d=i(h);n(156);var f=n(158),_="hide-button",v=function(t){function e(){return(0,o["default"])(this,e),(0,a["default"])(this,t.apply(this,arguments))}return(0,l["default"])(e,t),e.prototype._declareDefaults=function(){t.prototype._declareDefaults.call(this),this._defaults.title="hide (alt + h)"},e.prototype._render=function(){t.prototype._render.call(this),this.el.classList.add(f[_]),this._addIcon()},e.prototype._addIcon=function(){this.icon=new d["default"]({parent:this.el,className:f[_+"__icon"],shape:"hide",prefix:this._props.prefix})},e.prototype._setState=function(){var t=this._props.isOn?"add":"remove";this.el.classList[t](f["is-hidden"])},e}(c["default"]);e["default"]=v},function(t,e,n){var i=n(157);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,"/*$PX: 1/16rem;*/\n\n._hide-button_aiv1o_4 {\n\n width: 22px;\n height: 16px;\n\n background: #3A0839;\n\n border-top-left-radius: 3px;\n border-top-right-radius: 3px\n}\n\n._hide-button__icon_aiv1o_1 {\n\n position: absolute;\n\n left: 50%;\n\n top: 50%;\n\n width: 8px;\n\n height: 8px;\n\n margin-top: 1px;\n\n transform: translate( -50%, -50% )\n}\n\n._hide-button_aiv1o_4._is-hidden_aiv1o_24 ._hide-button__icon_aiv1o_1 {\n\n transform: translate( -50%, -65% ) rotate( 180deg )\n}\n",""])},function(t,e){t.exports={"hide-button":"_hide-button_aiv1o_4","hide-button__icon":"_hide-button__icon_aiv1o_1","is-hidden":"_is-hidden_aiv1o_24"}},function(t,e,n){var i=n(160);"string"==typeof i&&(i=[[t.id,i,""]]);n(97)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){e=t.exports=n(96)(),e.push([t.id,'/*$PX: 1/16rem;*/\n\n._mojs-player_12g93_4 {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 40px;\n background: rgba(58, 8, 57, .85);\n z-index: 100;\n}\n\n._mojs-player_12g93_4 * {\n box-sizing: border-box;\n}\n\n._mojs-player__left_12g93_1 {\n position: absolute;\n left: 0;\n width: 175px;\n}\n\n._mojs-player__mid_12g93_1 {\n position: absolute;\n left: 175px;\n right: 17.5px;\n overflow: hidden;\n padding: 0 20px;\n}\n\n._mojs-player__right_12g93_1 {\n position: absolute;\n right: 0;\n}\n\n._mojs-player__hide-button_12g93_1 {\n position: absolute;\n right: 6px;\n bottom: 100%;\n}\n\n._mojs-player__mojs-logo_12g93_1 [data-component="icon"] {\n fill: #FF512F;\n}\n\n._mojs-player_12g93_4._is-hidden_12g93_51 {\n transform: translateY(100%);\n}\n\n._mojs-player_12g93_4._is-transition_12g93_54 {\n transition: all .15s ease-out;\n}\n',""])},function(t,e){t.exports={"mojs-player":"_mojs-player_12g93_4","mojs-player__left":"_mojs-player__left_12g93_1","mojs-player__mid":"_mojs-player__mid_12g93_1","mojs-player__right":"_mojs-player__right_12g93_1","mojs-player__hide-button":"_mojs-player__hide-button_12g93_1","mojs-player__mojs-logo":"_mojs-player__mojs-logo_12g93_1","is-hidden":"_is-hidden_12g93_51","is-transition":"_is-transition_12g93_54"}}])}); diff --git a/gulpfile.js b/gulpfile.js index b59e81e..7fac637 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -79,7 +79,7 @@ gulp.task('get-current-version', function(e){ .pipe(plumber()) .pipe(jeditor(function (json) { currentVersion = json.version; - credits = '/*! \n\t:: MojsPlayer :: Player controls for [mojs](mojs.github.io). Intended to help you to craft `mojs` animation sequences.\n\tOleg Solomka @LegoMushroom 2016 MIT\n\t' + currentVersion + ' \n*/\n\n' + credits = '/*! \n\t:: MojsPlayer :: Player controls for [mojs](mojs.github.io). Intended to help you to craft `mojs` animation sequences.\n\tOleg Solomka @LegoMushroom 2021 MIT\n\t' + currentVersion + ' \n*/\n\n' return json; })) }); diff --git a/lib/mojs-player.js b/lib/mojs-player.js index 1dac67d..a6e0b50 100644 --- a/lib/mojs-player.js +++ b/lib/mojs-player.js @@ -1,7 +1,7 @@ /*! :: MojsPlayer :: Player controls for [mojs](mojs.github.io). Intended to help you to craft `mojs` animation sequences. - Oleg Solomka @LegoMushroom 2016 MIT - 0.43.11 + Oleg Solomka @LegoMushroom 2021 MIT + 1.0.1 */ 'use strict'; @@ -114,7 +114,7 @@ var MojsPlayer = function (_Module) { this._defaults.precision = 0.1; this._defaults.name = 'mojs-player'; - this.revision = '0.43.10'; + this.revision = '1.0.1'; var str = this._fallbackTo(this._o.name, this._defaults.name); str += str === this._defaults.name ? '' : '__' + this._defaults.name; diff --git a/package-lock.json b/package-lock.json index e493522..1003f79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@mojs/player", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6bba255..acb706b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mojs/player", "description": "GUI player to control your animations", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "private": false, "scripts": {