!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Clappr=e():t.Clappr=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=98)}([function(t,e,n){"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";e.__esModule=!0;var i=n(39),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,r.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 r=n(131),o=i(r),a=n(76),s=i(a),l=n(39),u=i(l);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,u.default)(e)));t.prototype=(0,s.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){"use strict";e.__esModule=!0;var i=n(75),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(){function t(t,e){for(var n=0;n0&&(a+=o+":",r<1&&(a+="00:")),(r&&r>0||e)&&(a+=("0"+r).slice(-2)+":"),a+=("0"+i).slice(-2)+":",a+=("0"+n).slice(-2),a.trim()}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"t",e=0,n=F.params[t]||F.hashParams[t]||"",i=n.match(/[0-9]+[hms]+/g)||[];if(i.length>0){var r={h:3600,m:60,s:1};i.forEach(function(t){if(t){var n=t[t.length-1],i=parseInt(t.slice(0,t.length-1),10);e+=i*r[n]}})}else n&&(e=parseInt(n,10));return e}function l(t){return U[t]||(U[t]=0),t+ ++U[t]}function u(t){return t-parseFloat(t)+1>=0}function c(){var t=document.getElementsByTagName("script");return t.length?t[t.length-1].src:""}function d(){return window.navigator&&window.navigator.language}function f(){return window.performance&&window.performance.now?performance.now():Date.now()}function p(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}function h(t,e){return void 0!==t&&void 0!==e&&void 0!==e.find(function(e){return t.toLowerCase()===e.toLowerCase()})}function A(t,e){e=(0,y.default)({inline:!1,muted:!1,timeout:250,type:"video",source:M.default.mp4,element:null},e);var n=e.element?e.element:document.createElement(e.type);n.muted=e.muted,!0===e.muted&&n.setAttribute("muted","muted"),!0===e.inline&&n.setAttribute("playsinline","playsinline"),n.src=e.source;var i=n.play(),r=setTimeout(function(){o(!1,new Error("Timeout "+e.timeout+" ms has been reached"))},e.timeout),o=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;clearTimeout(r),t(e,n)};void 0!==i?i.then(function(){return o(!0)}).catch(function(t){return o(!1,t)}):o(!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.DomRecycler=e.cancelAnimationFrame=e.requestAnimationFrame=e.QueryString=e.Config=e.Fullscreen=void 0;var g=n(11),y=i(g),m=n(3),v=i(m),b=n(0),_=i(b),E=n(1),T=i(E),C=n(2),k=i(C),O=n(75),w=i(O),S=n(137),x=i(S);e.assign=r,e.extend=o,e.formatTime=a,e.seekStringToSeconds=s,e.uniqueId=l,e.isNumber=u,e.currentScriptUrl=c,e.getBrowserLanguage=d,e.now=f,e.removeArrayItem=p,e.listContainsIgnoreCase=h,e.canAutoPlayMedia=A,n(140);var I=n(28),P=i(I),N=n(6),R=i(N),L=n(148),M=i(L),D=e.Fullscreen={isFullscreen:function(){return!!(document.webkitFullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement)},requestFullscreen:function(t){t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():t.querySelector&&t.querySelector("video")&&t.querySelector("video").webkitEnterFullScreen?t.querySelector("video").webkitEnterFullScreen():t.webkitEnterFullScreen&&t.webkitEnterFullScreen()},cancelFullscreen:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;t.exitFullscreen?t.exitFullscreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen()},fullscreenEnabled:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},B=e.Config=function(){function t(){(0,_.default)(this,t)}return t._defaultConfig=function(){return{volume:{value:100,parse:parseInt}}},t._defaultValueFor=function(t){try{return this._defaultConfig()[t].parse(this._defaultConfig()[t].value)}catch(t){return}},t._createKeyspace=function(t){return"clappr."+document.domain+"."+t},t.restore=function(t){return P.default.hasLocalstorage&&localStorage[this._createKeyspace(t)]?this._defaultConfig()[t].parse(localStorage[this._createKeyspace(t)]):this._defaultValueFor(t)},t.persist=function(t,e){if(P.default.hasLocalstorage)try{return localStorage[this._createKeyspace(t)]=e,!0}catch(t){return!1}},t}(),F=e.QueryString=function(){function t(){(0,_.default)(this,t)}return t.parse=function(t){for(var e=void 0,n=/\+/g,i=/([^&=]+)=?([^&]*)/g,r=function(t){return decodeURIComponent(t.replace(n," "))},o={};e=i.exec(t);)o[r(e[1]).toLowerCase()]=r(e[2]);return o},(0,v.default)(t,null,[{key:"params",get:function(){var t=window.location.search.substring(1);return t!==this.query&&(this._urlParams=this.parse(t),this.query=t),this._urlParams}},{key:"hashParams",get:function(){var t=window.location.hash.substring(1);return t!==this.hash&&(this._hashParams=this.parse(t),this.hash=t),this._hashParams}}]),t}(),U={},$=e.requestAnimationFrame=(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}).bind(window),V=e.cancelAnimationFrame=(window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout).bind(window),j=[],Y=e.DomRecycler=function(){function t(){(0,_.default)(this,t)}return t.configure=function(t){this.options=R.default.extend(this.options,t)},t.create=function(t){return this.options.recycleVideo&&"video"===t&&j.length>0?j.shift():(0,R.default)("<"+t+">")},t.garbage=function(t){this.options.recycleVideo&&"VIDEO"===t[0].tagName.toUpperCase()&&(t.children().remove(),j.push(t))},t}();Y.options={recycleVideo:!1},e.default={Config:B,Fullscreen:D,QueryString:F,DomRecycler:Y,extend:o,formatTime:a,seekStringToSeconds:s,uniqueId:l,currentScriptUrl:c,isNumber:u,requestAnimationFrame:$,cancelAnimationFrame:V,getBrowserLanguage:d,now:f,removeArrayItem:p,canAutoPlayMedia:A,Media:M.default}},function(t,e){var n=function(){function t(t){return null==t?String(t):W[q.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function i(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function r(e){return"object"==t(e)}function o(t){return r(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){var e=!!t&&"length"in t&&t.length,i=C.type(t);return"function"!=i&&!n(t)&&("array"==i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function s(t){return I.call(t,function(t){return null!=t})}function l(t){return t.length>0?C.fn.concat.apply([],t):t}function u(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function c(t){return t in L?L[t]:L[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function d(t,e){return"number"!=typeof e||M[u(t)]?e:e+"px"}function f(t){var e,n;return R[t]||(e=N.createElement(t),N.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),R[t]=n),R[t]}function p(t){return"children"in t?P.call(t.children):C.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function h(t,e){var n,i=t?t.length:0;for(n=0;n]*>/,B=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,U=/^(?:body|html)$/i,$=/([A-Z])/g,V=["val","css","html","text","data","width","height","offset"],j=["after","prepend","before","append"],Y=N.createElement("table"),K=N.createElement("tr"),H={tr:N.createElement("tbody"),tbody:Y,thead:Y,tfoot:Y,td:K,th:K,"*":N.createElement("div")},z=/complete|loaded|interactive/,G=/^[\w-]*$/,W={},q=W.toString,X={},Z=N.createElement("div"),Q={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},J=Array.isArray||function(t){return t instanceof Array};return X.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=Z).appendChild(t),i=~X.qsa(r,e).indexOf(t),o&&Z.removeChild(t),i},O=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},w=function(t){return I.call(t,function(e,n){return t.indexOf(e)==n})},X.fragment=function(t,e,n){var i,r,a;return B.test(t)&&(i=C(N.createElement(RegExp.$1))),i||(t.replace&&(t=t.replace(F,"<$1>")),e===E&&(e=D.test(t)&&RegExp.$1),e in H||(e="*"),a=H[e],a.innerHTML=""+t,i=C.each(P.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(r=C(i),C.each(n,function(t,e){V.indexOf(t)>-1?r[t](e):r.attr(t,e)})),i},X.Z=function(t,e){return new h(t,e)},X.isZ=function(t){return t instanceof X.Z},X.init=function(t,n){var i;if(!t)return X.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&D.test(t))i=X.fragment(t,RegExp.$1,n),t=null;else{if(n!==E)return C(n).find(t);i=X.qsa(N,t)}else{if(e(t))return C(N).ready(t);if(X.isZ(t))return t;if(J(t))i=s(t);else if(r(t))i=[t],t=null;else if(D.test(t))i=X.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==E)return C(n).find(t);i=X.qsa(N,t)}}return X.Z(i,t)},C=function(t,e){return X.init(t,e)},C.extend=function(t){var e,n=P.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){A(t,n,e)}),t},X.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],o=i||r?e.slice(1):e,a=G.test(o);return t.getElementById&&a&&i?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:P.call(a&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},C.contains=N.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},C.type=t,C.isFunction=e,C.isWindow=n,C.isArray=J,C.isPlainObject=o,C.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},C.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},C.inArray=function(t,e,n){return S.indexOf.call(e,t,n)},C.camelCase=O,C.trim=function(t){return null==t?"":String.prototype.trim.call(t)},C.uuid=0,C.support={},C.expr={},C.noop=function(){},C.map=function(t,e){var n,i,r,o=[];if(a(t))for(i=0;i=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return S.every.call(this,function(e,n){return!1!==t.call(e,n,e)}),this},filter:function(t){return e(t)?this.not(this.not(t)):C(I.call(this,function(e){return X.matches(e,t)}))},add:function(t,e){return C(w(this.concat(C(t,e))))},is:function(t){return this.length>0&&X.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==E)this.each(function(e){t.call(this,e)||n.push(this)});else{var i="string"==typeof t?this.filter(t):a(t)&&e(t.item)?P.call(t):C(t);this.forEach(function(t){i.indexOf(t)<0&&n.push(t)})}return C(n)},has:function(t){return this.filter(function(){return r(t)?C.contains(this,t):C(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!r(t)?t:C(t)},last:function(){var t=this[this.length-1];return t&&!r(t)?t:C(t)},find:function(t){var e=this;return t?"object"==typeof t?C(t).filter(function(){var t=this;return S.some.call(e,function(e){return C.contains(e,t)})}):1==this.length?C(X.qsa(this[0],t)):this.map(function(){return X.qsa(this,t)}):C()},closest:function(t,e){var n=[],r="object"==typeof t&&C(t);return this.each(function(o,a){for(;a&&!(r?r.indexOf(a)>=0:X.matches(a,t));)a=a!==e&&!i(a)&&a.parentNode;a&&n.indexOf(a)<0&&n.push(a)}),C(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=C.map(n,function(t){if((t=t.parentNode)&&!i(t)&&e.indexOf(t)<0)return e.push(t),t});return g(e,t)},parent:function(t){return g(w(this.pluck("parentNode")),t)},children:function(t){return g(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||P.call(this.childNodes)})},siblings:function(t){return g(this.map(function(t,e){return I.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return C.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=f(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var i=C(t).get(0),r=i.parentNode||this.length>1;return this.each(function(e){C(this).wrapAll(n?t.call(this,e):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){C(this[0]).before(t=C(t));for(var e;(e=t.children()).length;)t=e.first();C(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var i=C(this),r=i.contents(),o=n?t.call(this,e):t;r.length?r.wrapAll(o):i.append(o)})},unwrap:function(){return this.parent().each(function(){C(this).replaceWith(C(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=C(this);(t===E?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return C(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return C(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;C(this).empty().append(y(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=y(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(r(t))for(T in t)m(this,T,t[T]);else m(this,t,y(this,e,n,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:E},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){m(this,t)},this)})},prop:function(t,e){return t=Q[t]||t,1 in arguments?this.each(function(n){this[t]=y(this,e,n,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=Q[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace($,"-$1").toLowerCase(),i=1 in arguments?this.attr(n,e):this.attr(n);return null!==i?b(i):E},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=y(this,t,e,this.value)})):this[0]&&(this[0].multiple?C(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=C(this),i=y(this,t,e,n.offset()),r=n.offsetParent().offset(),o={top:i.top-r.top,left:i.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(N.documentElement!==this[0]&&!C.contains(N.documentElement,this[0]))return{top:0,left:0};var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,n){if(arguments.length<2){var i=this[0];if("string"==typeof e){if(!i)return;return i.style[O(e)]||getComputedStyle(i,"").getPropertyValue(e)}if(J(e)){if(!i)return;var r={},o=getComputedStyle(i,"");return C.each(e,function(t,e){r[e]=i.style[O(e)]||o.getPropertyValue(e)}),r}}var a="";if("string"==t(e))n||0===n?a=u(e)+":"+d(e,n):this.each(function(){this.style.removeProperty(u(e))});else for(T in e)e[T]||0===e[T]?a+=u(T)+":"+d(T,e[T])+";":this.each(function(){this.style.removeProperty(u(T))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(C(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&S.some.call(this,function(t){return this.test(v(t))},c(t))},addClass:function(t){return t?this.each(function(e){if("className"in this){k=[];var n=v(this);y(this,t,e,n).split(/\s+/g).forEach(function(t){C(this).hasClass(t)||k.push(t)},this),k.length&&v(this,n+(n?" ":"")+k.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===E)return v(this,"");k=v(this),y(this,t,e,k).split(/\s+/g).forEach(function(t){k=k.replace(c(t)," ")}),v(this,k.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var i=C(this);y(this,t,n,v(this)).split(/\s+/g).forEach(function(t){(e===E?!i.hasClass(t):e)?i.addClass(t):i.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===E?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===E?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),i=U.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(C(t).css("margin-top"))||0,n.left-=parseFloat(C(t).css("margin-left"))||0,i.top+=parseFloat(C(e[0]).css("border-top-width"))||0,i.left+=parseFloat(C(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||N.body;t&&!U.test(t.nodeName)&&"static"==C(t).css("position");)t=t.offsetParent;return t})}},C.fn.detach=C.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});C.fn[t]=function(r){var o,a=this[0];return r===E?n(a)?a["inner"+e]:i(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=C(this),a.css(t,y(this,r,e,a[t]()))})}}),j.forEach(function(e,n){var i=n%2;C.fn[e]=function(){var e,r,o=C.map(arguments,function(n){var i=[];return e=t(n),"array"==e?(n.forEach(function(t){return t.nodeType!==E?i.push(t):C.zepto.isZ(t)?i=i.concat(t.get()):void(i=i.concat(X.fragment(t)))}),i):"object"==e||null==n?n:X.fragment(n)}),a=this.length>1;return o.length<1?this:this.each(function(t,e){r=i?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var s=C.contains(N.documentElement,r);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return C(t).remove();r.insertBefore(t,e),s&&_(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var e=t.ownerDocument?t.ownerDocument.defaultView:window;e.eval.call(e,t.innerHTML)}})})})},C.fn[i?e+"To":"insert"+(n?"Before":"After")]=function(t){return C(t)[e](this),this}}),X.Z.prototype=h.prototype=C.fn,X.uniq=w,X.deserializeValue=b,C.zepto=X,C}();window.Zepto=n,void 0===window.$&&(window.$=n),function(t){function e(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function n(t,n,i,r){if(t.global)return e(n||v,i,r)}function i(e){e.global&&0==t.active++&&n(e,null,"ajaxStart")}function r(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var i=e.context;if(!1===e.beforeSend.call(i,t,e)||!1===n(e,i,"ajaxBeforeSend",[t,e]))return!1;n(e,i,"ajaxSend",[t,e])}function a(t,e,i,r){var o=i.context;i.success.call(o,t,"success",e),r&&r.resolveWith(o,[t,"success",e]),n(i,o,"ajaxSuccess",[e,i,t]),l("success",e,i)}function s(t,e,i,r,o){var a=r.context;r.error.call(a,i,e,t),o&&o.rejectWith(a,[i,e,t]),n(r,a,"ajaxError",[i,r,t||e]),l(e,i,r)}function l(t,e,i){var o=i.context;i.complete.call(o,e,t),n(i,o,"ajaxComplete",[e,i]),r(i)}function u(t,e,n){if(n.dataFilter==c)return t;var i=n.context;return n.dataFilter.call(i,t,e)}function c(){}function d(t){return t&&(t=t.split(";",2)[0]),t&&(t==C?"html":t==T?"json":_.test(t)?"script":E.test(t)&&"xml")||"text"}function f(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function p(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()&&"jsonp"!=e.dataType||(e.url=f(e.url,e.data),e.data=void 0)}function h(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function A(e,n,i,r){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,function(n,l){o=t.type(l),r&&(n=i?r:r+"["+(s||"object"==o||"array"==o?n:"")+"]"),!r&&a?e.add(l.name,l.value):"array"==o||!i&&"object"==o?A(e,l,i,n):e.add(n,l)})}var g,y,m=+new Date,v=window.document,b=/)<[^<]*)*<\/script>/gi,_=/^(?:text|application)\/javascript/i,E=/^(?:text|application)\/xml/i,T="application/json",C="text/html",k=/^\s*$/,O=v.createElement("a");O.href=window.location.href,t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var i,r,l=e.jsonpCallback,u=(t.isFunction(l)?l():l)||"Zepto"+m++,c=v.createElement("script"),d=window[u],f=function(e){t(c).triggerHandler("error",e||"abort")},p={abort:f};return n&&n.promise(p),t(c).on("load error",function(o,l){clearTimeout(r),t(c).off().remove(),"error"!=o.type&&i?a(i[0],p,e,n):s(null,l||"error",p,e,n),window[u]=d,i&&t.isFunction(d)&&d(i[0]),d=i=void 0}),!1===o(p,e)?(f("abort"),p):(window[u]=function(){i=arguments},c.src=e.url.replace(/\?(.+)=\?/,"?$1="+u),v.head.appendChild(c),e.timeout>0&&(r=setTimeout(function(){f("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:c,success:c,error:c,complete:c,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:T,xml:"application/xml, text/xml",html:C,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:c},t.ajax=function(e){var n,r,l=t.extend({},e||{}),h=t.Deferred&&t.Deferred();for(g in t.ajaxSettings)void 0===l[g]&&(l[g]=t.ajaxSettings[g]);i(l),l.crossDomain||(n=v.createElement("a"),n.href=l.url,n.href=n.href,l.crossDomain=O.protocol+"//"+O.host!=n.protocol+"//"+n.host),l.url||(l.url=window.location.toString()),(r=l.url.indexOf("#"))>-1&&(l.url=l.url.slice(0,r)),p(l);var A=l.dataType,m=/\?.+=\?/.test(l.url);if(m&&(A="jsonp"),!1!==l.cache&&(e&&!0===e.cache||"script"!=A&&"jsonp"!=A)||(l.url=f(l.url,"_="+Date.now())),"jsonp"==A)return m||(l.url=f(l.url,l.jsonp?l.jsonp+"=?":!1===l.jsonp?"":"callback=?")),t.ajaxJSONP(l,h);var b,_=l.accepts[A],E={},T=function(t,e){E[t.toLowerCase()]=[t,e]},C=/^([\w-]+:)\/\//.test(l.url)?RegExp.$1:window.location.protocol,w=l.xhr(),S=w.setRequestHeader;if(h&&h.promise(w),l.crossDomain||T("X-Requested-With","XMLHttpRequest"),T("Accept",_||"*/*"),(_=l.mimeType||_)&&(_.indexOf(",")>-1&&(_=_.split(",",2)[0]),w.overrideMimeType&&w.overrideMimeType(_)),(l.contentType||!1!==l.contentType&&l.data&&"GET"!=l.type.toUpperCase())&&T("Content-Type",l.contentType||"application/x-www-form-urlencoded"),l.headers)for(y in l.headers)T(y,l.headers[y]);if(w.setRequestHeader=T,w.onreadystatechange=function(){if(4==w.readyState){w.onreadystatechange=c,clearTimeout(b);var e,n=!1;if(w.status>=200&&w.status<300||304==w.status||0==w.status&&"file:"==C){if(A=A||d(l.mimeType||w.getResponseHeader("content-type")),"arraybuffer"==w.responseType||"blob"==w.responseType)e=w.response;else{e=w.responseText;try{e=u(e,A,l),"script"==A?(0,eval)(e):"xml"==A?e=w.responseXML:"json"==A&&(e=k.test(e)?null:t.parseJSON(e))}catch(t){n=t}if(n)return s(n,"parsererror",w,l,h)}a(e,w,l,h)}else s(w.statusText||null,w.status?"error":"abort",w,l,h)}},!1===o(w,l))return w.abort(),s(null,"abort",w,l,h),w;var x=!("async"in l)||l.async;if(w.open(l.type,l.url,x,l.username,l.password),l.xhrFields)for(y in l.xhrFields)w[y]=l.xhrFields[y];for(y in E)S.apply(w,E[y]);return l.timeout>0&&(b=setTimeout(function(){w.onreadystatechange=c,w.abort(),s(null,"timeout",w,l,h)},l.timeout)),w.send(l.data?l.data:null),w},t.get=function(){return t.ajax(h.apply(null,arguments))},t.post=function(){var e=h.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=h.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var r,o=this,a=e.split(/\s/),s=h(e,n,i),l=s.success;return a.length>1&&(s.url=a[0],r=a[1]),s.success=function(e){o.html(r?t("
").html(e.replace(b,"")).find(r):e),l&&l.apply(o,arguments)},t.ajax(s),this};var w=encodeURIComponent;t.param=function(e,n){var i=[];return i.add=function(e,n){t.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(w(e)+"="+w(n))},A(i,e,n),i.join("&").replace(/%20/g,"+")}}(n),function(t){t.Callbacks=function(e){e=t.extend({},e);var n,i,r,o,a,s,l=[],u=!e.once&&[],c=function(t){for(n=e.memory&&t,i=!0,s=o||0,o=0,a=l.length,r=!0;l&&s-1;)l.splice(i,1),r&&(i<=a&&--a,i<=s&&--s)}),this},has:function(e){return!(!l||!(e?t.inArray(e,l)>-1:l.length))},empty:function(){return a=l.length=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!l||i&&!u||(e=e||[],e=[t,e.slice?e.slice():e],r?u.push(e):c(e)),this},fire:function(){return d.fireWith(this,arguments)},fired:function(){return!!i}};return d}}(n),function(t){function e(n){var i=[["resolve","done",t.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",t.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",t.Callbacks({memory:1})]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var n=arguments;return e(function(e){t.each(i,function(i,r){var s=t.isFunction(n[i])&&n[i];a[r[1]](function(){var n=s&&s.apply(this,arguments);if(n&&t.isFunction(n.promise))n.promise().done(e.resolve).fail(e.reject).progress(e.notify);else{var i=this===o?e.promise():this,a=s?[n]:arguments;e[r[0]+"With"](i,a)}})}),n=null}).promise()},promise:function(e){return null!=e?t.extend(e,o):o}},a={};return t.each(i,function(t,e){var n=e[2],s=e[3];o[e[1]]=n.add,s&&n.add(function(){r=s},i[1^t][2].disable,i[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?o:this,arguments),this},a[e[0]+"With"]=n.fireWith}),o.promise(a),n&&n.call(a,a),a}var n=Array.prototype.slice;t.when=function(i){var r,o,a,s=n.call(arguments),l=s.length,u=0,c=1!==l||i&&t.isFunction(i.promise)?l:0,d=1===c?i:e(),f=function(t,e,i){return function(o){e[t]=this,i[t]=arguments.length>1?n.call(arguments):o,i===r?d.notifyWith(e,i):--c||d.resolveWith(e,i)}};if(l>1)for(r=new Array(l),o=new Array(l),a=new Array(l);u-1)return this},has:function(t,e,n){if(i.qsa(this,n).length)return this}},s=new RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),l=/^\s*>/,u="Zepto"+ +new Date;i.qsa=function(e,o){return n(o,function(n,a,s){try{var c;!n&&a?n="*":l.test(n)&&(c=t(e).addClass(u),n="."+u+" "+n);var d=r(e,n)}catch(t){throw console.error("error performing selector: %o",o),t}finally{c&&c.removeClass(u)}return a?i.uniq(t.map(d,function(t,e){return a.call(t,e,d,s)})):d})},i.matches=function(t,e){return n(e,function(e,n,i){return(!e||o(t,e))&&(!n||n.call(t,null,i)===t)})}}(n),t.exports=n},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=i(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function i(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),o(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function c(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var u=v++;n=m||(m=s(e)),i=d.bind(null,n,u,!1),r=d.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=p.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=f.bind(null,n),r=function(){a(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 r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=E(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(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 p(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=_(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},A=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),g=function(t){return document.querySelector(t)},y=function(t){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=g.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),m=null,v=0,b=[],_=n(159);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=A()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],a=0;a/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},r=/(.)^/,o={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},a=/\\|'|\r|\n|\t|\u2028|\u2029/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"},l=new RegExp("[&<>\"']","g"),u=function(t){return null===t?"":(""+t).replace(l,function(t){return s[t]})},c=0,d=function(t,e){var n,s=new RegExp([(i.escape||r).source,(i.interpolate||r).source,(i.evaluate||r).source].join("|")+"|$","g"),l=0,d="__p+='";t.replace(s,function(e,n,i,r,s){return d+=t.slice(l,s).replace(a,function(t){return"\\"+o[t]}),n&&(d+="'+\n((__t=("+n+"))==null?'':escapeExpr(__t))+\n'"),i&&(d+="'+\n((__t=("+i+"))==null?'':__t)+\n'"),r&&(d+="';\n"+r+"\n__p+='"),l=s+e.length,e}),d+="';\n",i.variable||(d="with(obj||{}){\n"+d+"}\n"),d="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+d+"return __p;\n//# sourceURL=/microtemplates/source["+c+++"]";try{n=new Function(i.variable||"obj","escapeExpr",d)}catch(t){throw t.source=d,t}if(e)return n(e,u);var f=function(t){return n.call(this,t,u)};return f.source="function("+(i.variable||"obj")+"){\n"+d+"}",f};d.settings=i,e.default=d,t.exports=e.default},function(t,e,n){t.exports={default:n(100),__esModule:!0}},function(t,e,n){var i=n(49)("wks"),r=n(36),o=n(16).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(0),s=i(a),l=n(1),u=i(l),c=n(3),d=i(c),f=n(2),p=i(f),h=n(5),A=n(29),g=i(A),y=n(19),m=i(y),v=n(6),b=i(v),_=function(t){function e(n,i,r){(0,s.default)(this,e);var o=(0,u.default)(this,t.call(this,n));return o.settings={},o._i18n=i,o.playerError=r,o._consented=!1,o}return(0,p.default)(e,t),(0,d.default)(e,[{key:"isAudioOnly",get:function(){return!1}},{key:"isAdaptive",get:function(){return!1}},{key:"ended",get:function(){return!1}},{key:"i18n",get:function(){return this._i18n}},{key:"buffering",get:function(){return!1}},{key:"consented",get:function(){return this._consented}}]),e.prototype.consent=function(){this._consented=!0},e.prototype.play=function(){},e.prototype.pause=function(){},e.prototype.stop=function(){},e.prototype.seek=function(t){},e.prototype.seekPercentage=function(t){},e.prototype.getStartTimeOffset=function(){return 0},e.prototype.getDuration=function(){return 0},e.prototype.isPlaying=function(){return!1},e.prototype.getPlaybackType=function(){return e.NO_OP},e.prototype.isHighDefinitionInUse=function(){return!1},e.prototype.volume=function(t){},e.prototype.configure=function(t){this._options=b.default.extend(this._options,t)},e.prototype.attemptAutoPlay=function(){var t=this;this.canAutoPlay(function(e,n){e&&t.play()})},e.prototype.canAutoPlay=function(t){t(!0,null)},(0,d.default)(e,[{key:"isReady",get:function(){return!1}},{key:"hasClosedCaptionsTracks",get:function(){return this.closedCaptionsTracks.length>0}},{key:"closedCaptionsTracks",get:function(){return[]}},{key:"closedCaptionsTrackId",get:function(){return-1},set:function(t){}}]),e}(g.default);e.default=_,(0,o.default)(_.prototype,m.default),_.extend=function(t){return(0,h.extend)(_,t)},_.canPlay=function(t,e){return!1},_.VOD="vod",_.AOD="aod",_.LIVE="live",_.NO_OP="no_op",_.type="playback",t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=i(r),a=n(1),s=i(a),l=n(3),u=i(l),c=n(2),d=i(c),f=n(5),p=n(4),h=i(p),A=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.default)(this,e);var i=(0,s.default)(this,t.call(this,n));return i._options=n,i.uniqueId=(0,f.uniqueId)("o"),i}return(0,d.default)(e,t),(0,u.default)(e,[{key:"options",get:function(){return this._options}}]),e}(h.default);e.default=A,t.exports=e.default},function(t,e,n){var i=n(16),r=n(7),o=n(43),a=n(25),s=function(t,e,n){var l,u,c,d=t&s.F,f=t&s.G,p=t&s.S,h=t&s.P,A=t&s.B,g=t&s.W,y=f?r:r[e]||(r[e]={}),m=y.prototype,v=f?i:p?i[e]:(i[e]||{}).prototype;f&&(n=e);for(l in n)(u=!d&&v&&void 0!==v[l])&&l in y||(c=u?v[l]:n[l],y[l]=f&&"function"!=typeof v[l]?n[l]:A&&u?o(c,i):g&&v[l]==c?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.prototype=t.prototype,e}(c):h&&"function"==typeof c?o(Function.call,c):c,h&&((y.virtual||(y.virtual={}))[l]=c,t&s.R&&m&&!m[l]&&a(m,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){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,n){var i=n(20),r=n(65),o=n(44),a=Object.defineProperty;e.f=n(21)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(68),r=n(46);t.exports=function(t){return i(r(t))}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(33),s=i(a),l=n(34),u=i(l),c={createError:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{useCodePrefix:!0},n=this.constructor&&this.constructor.type||"",i=this.name||n,r=this.i18n||this.core&&this.core.i18n||this.container&&this.container.i18n,a=i+":"+(t&&t.code||"unknown"),l={description:"",level:u.default.Levels.FATAL,origin:i,scope:n,raw:{}},c=(0,o.default)({},l,t,{code:e.useCodePrefix?a:t.code});if(r&&c.level==u.default.Levels.FATAL&&!c.UI){var d={title:r.t("default_error_title"),message:r.t("default_error_message")};c.UI=d}return this.playerError?this.playerError.createError(c):s.default.warn(i,"PlayerError is not defined. Error: ",c),c}};e.default=c,t.exports=e.default},function(t,e,n){var i=n(30);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(26)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(0),s=i(a),l=n(1),u=i(l),c=n(3),d=i(c),f=n(2),p=i(f),h=n(5),A=n(29),g=i(A),y=n(19),m=i(y),v=function(t){function e(n){(0,s.default)(this,e);var i=(0,u.default)(this,t.call(this,n.options));return i.core=n,i.enabled=!0,i.bindEvents(),i.render(),i}return(0,p.default)(e,t),(0,d.default)(e,[{key:"playerError",get:function(){return this.core.playerError}}]),e.prototype.bindEvents=function(){},e.prototype.getExternalInterface=function(){return{}},e.prototype.enable=function(){this.enabled||(this.bindEvents(),this.$el.show(),this.enabled=!0)},e.prototype.disable=function(){this.stopListening(),this.$el.hide(),this.enabled=!1},e.prototype.render=function(){return this},e}(g.default);e.default=v,(0,o.default)(v.prototype,m.default),v.extend=function(t){return(0,h.extend)(v,t)},v.type="core",t.exports=e.default},function(t,e,n){"use strict";t.exports=void 0},function(t,e,n){var i=n(17),r=n(31);t.exports=n(21)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(67),r=n(50);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(141),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=i(r),a=n(1),s=i(a),l=n(3),u=i(l),c=n(2),d=i(c),f=n(6),p=i(f),h=n(5),A=n(14),g=i(A),y=/^(\S+)\s*(.*)$/,m=function(t){function e(n){(0,o.default)(this,e);var i=(0,s.default)(this,t.call(this,n));return i.cid=(0,h.uniqueId)("c"),i._ensureElement(),i.delegateEvents(),i}return(0,d.default)(e,t),(0,u.default)(e,[{key:"tagName",get:function(){return"div"}},{key:"events",get:function(){return{}}},{key:"attributes",get:function(){return{}}}]),e.prototype.$=function(t){return this.$el.find(t)},e.prototype.render=function(){return this},e.prototype.destroy=function(){return this.$el.remove(),this.stopListening(),this.undelegateEvents(),this},e.prototype.setElement=function(t,e){return this.$el&&this.undelegateEvents(),this.$el=p.default.zepto.isZ(t)?t:(0,p.default)(t),this.el=this.$el[0],!1!==e&&this.delegateEvents(),this},e.prototype.delegateEvents=function(t){if(!t&&!(t=this.events))return this;this.undelegateEvents();for(var e in t){var n=t[e];if(n&&n.constructor!==Function&&(n=this[t[e]]),n){var i=e.match(y),r=i[1],o=i[2];r+=".delegateEvents"+this.cid,""===o?this.$el.on(r,n.bind(this)):this.$el.on(r,o,n.bind(this))}}return this},e.prototype.undelegateEvents=function(){return this.$el.off(".delegateEvents"+this.cid),this},e.prototype._ensureElement=function(){if(this.el)this.setElement(this.el,!1);else{var t=p.default.extend({},this.attributes);this.id&&(t.id=this.id),this.className&&(t.class=this.className);var e=h.DomRecycler.create(this.tagName).attr(t);this.setElement(e,!1)}},e}(g.default);e.default=m,t.exports=e.default},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(149),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(80),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(0),s=i(a),l=n(1),u=i(l),c=n(3),d=i(c),f=n(2),p=i(f),h=n(5),A=n(14),g=i(A),y=n(19),m=i(y),v=function(t){function e(n){(0,s.default)(this,e);var i=(0,u.default)(this,t.call(this,n.options));return i.core=n,i.enabled=!0,i.bindEvents(),i}return(0,p.default)(e,t),(0,d.default)(e,[{key:"playerError",get:function(){return this.core.playerError}}]),e.prototype.bindEvents=function(){},e.prototype.enable=function(){this.enabled||(this.bindEvents(),this.enabled=!0)},e.prototype.disable=function(){this.enabled&&(this.stopListening(),this.enabled=!1)},e.prototype.getExternalInterface=function(){return{}},e.prototype.destroy=function(){this.stopListening()},e}(g.default);e.default=v,(0,o.default)(v.prototype,m.default),v.extend=function(t){return(0,h.extend)(v,t)},v.type="core",t.exports=e.default},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){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(46);t.exports=function(t){return Object(i(t))}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(108),o=i(r),a=n(118),s=i(a),l="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===l(o.default)?function(t){return void 0===t?"undefined":l(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":l(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i),o=function t(){(0,r.default)(this,t),this.options={},this.playbackPlugins=[],this.currentSize={width:0,height:0}};o._players={},o.getInstance=function(t){return o._players[t]||(o._players[t]=new o)},e.default=o,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(0),s=i(a),l=n(1),u=i(l),c=n(3),d=i(c),f=n(2),p=i(f),h=n(5),A=n(29),g=i(A),y=n(19),m=i(y),v=function(t){function e(n){(0,s.default)(this,e);var i=(0,u.default)(this,t.call(this,n.options));return i.container=n,i.enabled=!0,i.bindEvents(),i}return(0,p.default)(e,t),(0,d.default)(e,[{key:"playerError",get:function(){return this.container.playerError}}]),e.prototype.enable=function(){this.enabled||(this.bindEvents(),this.$el.show(),this.enabled=!0)},e.prototype.disable=function(){this.stopListening(),this.$el.hide(),this.enabled=!1},e.prototype.bindEvents=function(){},e}(g.default);e.default=v,(0,o.default)(v.prototype,m.default),v.extend=function(t){return(0,h.extend)(v,t)},v.type="container",t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=i(r),a=n(0),s=i(a),l=n(1),u=i(l),c=n(3),d=i(c),f=n(2),p=i(f),h=n(14),A=i(h),g=n(5),y=n(19),m=i(y),v=function(t){function e(n){(0,s.default)(this,e);var i=(0,u.default)(this,t.call(this,n.options));return i.container=n,i.enabled=!0,i.bindEvents(),i}return(0,p.default)(e,t),(0,d.default)(e,[{key:"playerError",get:function(){return this.container.playerError}}]),e.prototype.enable=function(){this.enabled||(this.bindEvents(),this.enabled=!0)},e.prototype.disable=function(){this.enabled&&(this.stopListening(),this.enabled=!1)},e.prototype.bindEvents=function(){},e.prototype.destroy=function(){this.stopListening()},e}(A.default);e.default=v,(0,o.default)(v.prototype,m.default),v.extend=function(t){return(0,g.extend)(v,t)},v.type="container",t.exports=e.default},function(t,e,n){var i=n(102);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,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(30);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},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,n){var i=n(49)("keys"),r=n(36);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(16),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){t.exports={default:n(106),__esModule:!0}},function(t,e,n){"use strict";var i=n(110)(!0);n(71)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e){t.exports=!0},function(t,e,n){var i=n(20),r=n(112),o=n(50),a=n(48)("IE_PROTO"),s=function(){},l=function(){var t,e=n(66)("iframe"),i=o.length;for(e.style.display="none",n(113).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("