ovenplayer
Version:
OvenPlayer is Open-Source HTML5 Player. OvenPlayer supports WebRTC Signaling from OvenMediaEngine for Sub-Second Latency Streaming.
1 lines • 544 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.OvenPlayer=t():e.OvenPlayer=t()}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={10268:function(e,t,n){n.d(t,{default:function(){return Ka}});var r={};n.r(r),n.d(r,{VERSION:function(){return i},after:function(){return Dt},all:function(){return tn},allKeys:function(){return ve},any:function(){return nn},assign:function(){return De},before:function(){return Ft},bind:function(){return Et},bindAll:function(){return kt},chain:function(){return Ct},chunk:function(){return Nn},clone:function(){return Ne},collect:function(){return _t},compact:function(){return Sn},compose:function(){return Qt},constant:function(){return $},contains:function(){return rn},countBy:function(){return mn},create:function(){return Ue},debounce:function(){return Rt},default:function(){return Yn},defaults:function(){return Fe},defer:function(){return Tt},delay:function(){return St},detect:function(){return Ht},difference:function(){return Ln},drop:function(){return kn},each:function(){return Jt},escape:function(){return At},every:function(){return tn},extend:function(){return Qe},extendOwn:function(){return De},filter:function(){return $t},find:function(){return Ht},findIndex:function(){return Wt},findKey:function(){return Ut},findLastIndex:function(){return jt},findWhere:function(){return Zt},first:function(){return Bn},flatten:function(){return Tn},foldl:function(){return Xt},foldr:function(){return qt},forEach:function(){return Jt},functions:function(){return Me},get:function(){return Ge},groupBy:function(){return hn},has:function(){return Ve},head:function(){return Bn},identity:function(){return He},include:function(){return rn},includes:function(){return rn},indexBy:function(){return vn},indexOf:function(){return Gt},initial:function(){return xn},inject:function(){return Xt},intersection:function(){return Qn},invert:function(){return Re},invoke:function(){return on},isArguments:function(){return K},isArray:function(){return Z},isArrayBuffer:function(){return U},isBoolean:function(){return T},isDataView:function(){return H},isDate:function(){return Q},isElement:function(){return L},isEmpty:function(){return ce},isEqual:function(){return he},isError:function(){return F},isFinite:function(){return X},isFunction:function(){return j},isMap:function(){return Be},isMatch:function(){return ue},isNaN:function(){return q},isNull:function(){return I},isNumber:function(){return O},isObject:function(){return k},isRegExp:function(){return D},isSet:function(){return Ie},isString:function(){return M},isSymbol:function(){return P},isTypedArray:function(){return ie},isUndefined:function(){return S},isWeakMap:function(){return ke},isWeakSet:function(){return Se},iteratee:function(){return Xe},keys:function(){return se},last:function(){return In},lastIndexOf:function(){return Vt},map:function(){return _t},mapObject:function(){return $e},matcher:function(){return Ze},matches:function(){return Ze},max:function(){return sn},memoize:function(){return It},methods:function(){return Me},min:function(){return cn},mixin:function(){return jn},negate:function(){return Ot},noop:function(){return et},now:function(){return ot},object:function(){return Pn},omit:function(){return En},once:function(){return Pt},pairs:function(){return Le},partial:function(){return wt},partition:function(){return Cn},pick:function(){return wn},pluck:function(){return an},property:function(){return Je},propertyOf:function(){return tt},random:function(){return rt},range:function(){return Un},reduce:function(){return Xt},reduceRight:function(){return qt},reject:function(){return en},rest:function(){return kn},restArguments:function(){return B},result:function(){return ht},sample:function(){return fn},select:function(){return $t},shuffle:function(){return pn},size:function(){return yn},some:function(){return nn},sortBy:function(){return dn},sortedIndex:function(){return Yt},tail:function(){return kn},take:function(){return Bn},tap:function(){return We},template:function(){return gt},templateSettings:function(){return ct},throttle:function(){return Lt},times:function(){return nt},toArray:function(){return ln},toPath:function(){return je},transpose:function(){return Dn},unescape:function(){return st},union:function(){return On},uniq:function(){return Mn},unique:function(){return Mn},uniqueId:function(){return mt},unzip:function(){return Dn},values:function(){return Te},where:function(){return An},without:function(){return Rn},wrap:function(){return Mt},zip:function(){return Fn}});var o="0.10.51",i="1.13.7",a="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},A=Array.prototype,s=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,u=A.push,l=A.slice,f=s.toString,p=s.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,g="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,m=Object.create,C=d&&ArrayBuffer.isView,y=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function B(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function k(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function I(e){return null===e}function S(e){return void 0===e}function T(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)}function L(e){return!(!e||1!==e.nodeType)}function R(e){var t="[object "+e+"]";return function(e){return f.call(e)===t}}var M=R("String"),O=R("Number"),Q=R("Date"),D=R("RegExp"),F=R("Error"),P=R("Symbol"),U=R("ArrayBuffer"),N=R("Function"),W=a.document&&a.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(N=function(e){return"function"==typeof e||!1});var j=N,Y=R("Object"),z=g&&(!/\[native code\]/.test(String(DataView))||Y(new DataView(new ArrayBuffer(8)))),G="undefined"!=typeof Map&&Y(new Map),V=R("DataView"),H=z?function(e){return null!=e&&j(e.getInt8)&&U(e.buffer)}:V,Z=h||R("Array");function J(e,t){return null!=e&&p.call(e,t)}var _=R("Arguments");!function(){_(arguments)||(_=function(e){return J(e,"callee")})}();var K=_;function X(e){return!P(e)&&b(e)&&!isNaN(parseFloat(e))}function q(e){return O(e)&&y(e)}function $(e){return function(){return e}}function ee(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=x}}function te(e){return function(t){return null==t?void 0:t[e]}}var ne=te("byteLength"),re=ee(ne),oe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,ie=d?function(e){return C?C(e)&&!H(e):re(e)&&oe.test(f.call(e))}:$(!1),ae=te("length");function Ae(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=E.length,r=e.constructor,o=j(r)&&r.prototype||s,i="constructor";for(J(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=E[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function se(e){if(!k(e))return[];if(v)return v(e);var t=[];for(var n in e)J(e,n)&&t.push(n);return w&&Ae(e,t),t}function ce(e){if(null==e)return!0;var t=ae(e);return"number"==typeof t&&(Z(e)||M(e)||K(e))?0===t:0===ae(se(e))}function ue(e,t){var n=se(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function le(e){return e instanceof le?e:this instanceof le?void(this._wrapped=e):new le(e)}function fe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,ne(e))}le.VERSION=i,le.prototype.value=function(){return this._wrapped},le.prototype.valueOf=le.prototype.toJSON=le.prototype.value,le.prototype.toString=function(){return String(this._wrapped)};var pe="[object DataView]";function de(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&ge(e,t,n,r)}function ge(e,t,n,r){e instanceof le&&(e=e._wrapped),t instanceof le&&(t=t._wrapped);var o=f.call(e);if(o!==f.call(t))return!1;if(z&&"[object Object]"==o&&H(e)){if(!H(t))return!1;o=pe}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return c.valueOf.call(e)===c.valueOf.call(t);case"[object ArrayBuffer]":case pe:return ge(fe(e),fe(t),n,r)}var i="[object Array]"===o;if(!i&&ie(e)){if(ne(e)!==ne(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,A=t.constructor;if(a!==A&&!(j(a)&&a instanceof a&&j(A)&&A instanceof A)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var s=(n=n||[]).length;s--;)if(n[s]===e)return r[s]===t;if(n.push(e),r.push(t),i){if((s=e.length)!==t.length)return!1;for(;s--;)if(!de(e[s],t[s],n,r))return!1}else{var u,l=se(e);if(s=l.length,se(t).length!==s)return!1;for(;s--;)if(!J(t,u=l[s])||!de(e[u],t[u],n,r))return!1}return n.pop(),r.pop(),!0}function he(e,t){return de(e,t)}function ve(e){if(!k(e))return[];var t=[];for(var n in e)t.push(n);return w&&Ae(e,t),t}function me(e){var t=ae(e);return function(n){if(null==n)return!1;var r=ve(n);if(ae(r))return!1;for(var o=0;o<t;o++)if(!j(n[e[o]]))return!1;return e!==Ee||!j(n[Ce])}}var Ce="forEach",ye=["clear","delete"],be=["get","has","set"],we=ye.concat(Ce,be),Ee=ye.concat(be),xe=["add"].concat(ye,Ce,"has"),Be=G?me(we):R("Map"),ke=G?me(Ee):R("WeakMap"),Ie=G?me(xe):R("Set"),Se=R("WeakSet");function Te(e){for(var t=se(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function Le(e){for(var t=se(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function Re(e){for(var t={},n=se(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Me(e){var t=[];for(var n in e)j(e[n])&&t.push(n);return t.sort()}function Oe(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),A=a.length,s=0;s<A;s++){var c=a[s];t&&void 0!==n[c]||(n[c]=i[c])}return n}}var Qe=Oe(ve),De=Oe(se),Fe=Oe(ve,!0);function Pe(e){if(!k(e))return{};if(m)return m(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Ue(e,t){var n=Pe(e);return t&&De(n,t),n}function Ne(e){return k(e)?Z(e)?e.slice():Qe({},e):e}function We(e,t){return t(e),e}function je(e){return Z(e)?e:[e]}function Ye(e){return le.toPath(e)}function ze(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Ge(e,t,n){var r=ze(e,Ye(t));return S(r)?n:r}function Ve(e,t){for(var n=(t=Ye(t)).length,r=0;r<n;r++){var o=t[r];if(!J(e,o))return!1;e=e[o]}return!!n}function He(e){return e}function Ze(e){return e=De({},e),function(t){return ue(t,e)}}function Je(e){return e=Ye(e),function(t){return ze(t,e)}}function _e(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Ke(e,t,n){return null==e?He:j(e)?_e(e,t,n):k(e)&&!Z(e)?Ze(e):Je(e)}function Xe(e,t){return Ke(e,t,1/0)}function qe(e,t,n){return le.iteratee!==Xe?le.iteratee(e,t):Ke(e,t,n)}function $e(e,t,n){t=qe(t,n);for(var r=se(e),o=r.length,i={},a=0;a<o;a++){var A=r[a];i[A]=t(e[A],A,e)}return i}function et(){}function tt(e){return null==e?et:function(t){return Ge(e,t)}}function nt(e,t,n){var r=Array(Math.max(0,e));t=_e(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function rt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}le.toPath=je,le.iteratee=Xe;var ot=Date.now||function(){return(new Date).getTime()};function it(e){var t=function(t){return e[t]},n="(?:"+se(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}var at={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},At=it(at),st=it(Re(at)),ct=le.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ut=/(.)^/,lt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+lt[e]}var dt=/^\s*(\w|\$)+\s*$/;function gt(e,t,n){!t&&n&&(t=n),t=Fe({},t,le.templateSettings);var r=RegExp([(t.escape||ut).source,(t.interpolate||ut).source,(t.evaluate||ut).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,A){return i+=e.slice(o,A).replace(ft,pt),o=A+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,A=t.variable;if(A){if(!dt.test(A))throw new Error("variable is not a bare identifier: "+A)}else i="with(obj||{}){\n"+i+"}\n",A="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(A,"_",i)}catch(e){throw e.source=i,e}var s=function(e){return a.call(this,e,le)};return s.source="function("+A+"){\n"+i+"}",s}function ht(e,t,n){var r=(t=Ye(t)).length;if(!r)return j(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=j(i)?i.call(e):i}return e}var vt=0;function mt(e){var t=++vt+"";return e?e+t:t}function Ct(e){var t=le(e);return t._chain=!0,t}function yt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Pe(e.prototype),a=e.apply(i,o);return k(a)?a:i}var bt=B((function(e,t){var n=bt.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),A=0;A<i;A++)a[A]=t[A]===n?arguments[o++]:t[A];for(;o<arguments.length;)a.push(arguments[o++]);return yt(e,r,this,this,a)};return r}));bt.placeholder=le;var wt=bt,Et=B((function(e,t,n){if(!j(e))throw new TypeError("Bind must be called on a function");var r=B((function(o){return yt(e,r,t,this,n.concat(o))}));return r})),xt=ee(ae);function Bt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ae(e);i<a;i++){var A=e[i];if(xt(A)&&(Z(A)||K(A)))if(t>1)Bt(A,t-1,n,r),o=r.length;else for(var s=0,c=A.length;s<c;)r[o++]=A[s++];else n||(r[o++]=A)}return r}var kt=B((function(e,t){var n=(t=Bt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Et(e[r],e)}return e}));function It(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return J(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}var St=B((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Tt=wt(St,le,1);function Lt(e,t,n){var r,o,i,a,A=0;n||(n={});var s=function(){A=!1===n.leading?0:ot(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=ot();A||!1!==n.leading||(A=c);var u=t-(c-A);return o=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),A=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(s,u)),a};return c.cancel=function(){clearTimeout(r),A=0,r=o=i=null},c}function Rt(e,t,n){var r,o,i,a,A,s=function(){var c=ot()-o;t>c?r=setTimeout(s,t-c):(r=null,n||(a=e.apply(A,i)),r||(i=A=null))},c=B((function(c){return A=this,i=c,o=ot(),r||(r=setTimeout(s,t),n&&(a=e.apply(A,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=A=null},c}function Mt(e,t){return wt(t,e)}function Ot(e){return function(){return!e.apply(this,arguments)}}function Qt(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function Dt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Ft(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pt=wt(Ft,2);function Ut(e,t,n){t=qe(t,n);for(var r,o=se(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function Nt(e){return function(t,n,r){n=qe(n,r);for(var o=ae(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}var Wt=Nt(1),jt=Nt(-1);function Yt(e,t,n,r){for(var o=(n=qe(n,r,1))(t),i=0,a=ae(e);i<a;){var A=Math.floor((i+a)/2);n(e[A])<o?i=A+1:a=A}return i}function zt(e,t,n){return function(r,o,i){var a=0,A=ae(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+A,a):A=i>=0?Math.min(i+1,A):i+A+1;else if(n&&i&&A)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(l.call(r,a,A),q))>=0?i+a:-1;for(i=e>0?a:A-1;i>=0&&i<A;i+=e)if(r[i]===o)return i;return-1}}var Gt=zt(1,Wt,Yt),Vt=zt(-1,jt);function Ht(e,t,n){var r=(xt(e)?Wt:Ut)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function Zt(e,t){return Ht(e,Ze(t))}function Jt(e,t,n){var r,o;if(t=_e(t,n),xt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=se(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function _t(e,t,n){t=qe(t,n);for(var r=!xt(e)&&se(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var A=r?r[a]:a;i[a]=t(e[A],A,e)}return i}function Kt(e){return function(t,n,r,o){var i=arguments.length>=3;return function(t,n,r,o){var i=!xt(t)&&se(t),a=(i||t).length,A=e>0?0:a-1;for(o||(r=t[i?i[A]:A],A+=e);A>=0&&A<a;A+=e){var s=i?i[A]:A;r=n(r,t[s],s,t)}return r}(t,_e(n,o,4),r,i)}}var Xt=Kt(1),qt=Kt(-1);function $t(e,t,n){var r=[];return t=qe(t,n),Jt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function en(e,t,n){return $t(e,Ot(qe(t)),n)}function tn(e,t,n){t=qe(t,n);for(var r=!xt(e)&&se(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function nn(e,t,n){t=qe(t,n);for(var r=!xt(e)&&se(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function rn(e,t,n,r){return xt(e)||(e=Te(e)),("number"!=typeof n||r)&&(n=0),Gt(e,t,n)>=0}var on=B((function(e,t,n){var r,o;return j(t)?o=t:(t=Ye(t),r=t.slice(0,-1),t=t[t.length-1]),_t(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=ze(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function an(e,t){return _t(e,Je(t))}function An(e,t){return $t(e,Ze(t))}function sn(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var A=0,s=(e=xt(e)?e:Te(e)).length;A<s;A++)null!=(r=e[A])&&r>i&&(i=r);else t=qe(t,n),Jt(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}function cn(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var A=0,s=(e=xt(e)?e:Te(e)).length;A<s;A++)null!=(r=e[A])&&r<i&&(i=r);else t=qe(t,n),Jt(e,(function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)}));return i}var un=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ln(e){return e?Z(e)?l.call(e):M(e)?e.match(un):xt(e)?_t(e,He):Te(e):[]}function fn(e,t,n){if(null==t||n)return xt(e)||(e=Te(e)),e[rt(e.length-1)];var r=ln(e),o=ae(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var A=rt(a,i),s=r[a];r[a]=r[A],r[A]=s}return r.slice(0,t)}function pn(e){return fn(e,1/0)}function dn(e,t,n){var r=0;return t=qe(t,n),an(_t(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function gn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=qe(r,o),Jt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}var hn=gn((function(e,t,n){J(e,n)?e[n].push(t):e[n]=[t]})),vn=gn((function(e,t,n){e[n]=t})),mn=gn((function(e,t,n){J(e,n)?e[n]++:e[n]=1})),Cn=gn((function(e,t,n){e[n?0:1].push(t)}),!0);function yn(e){return null==e?0:xt(e)?e.length:se(e).length}function bn(e,t,n){return t in n}var wn=B((function(e,t){var n={},r=t[0];if(null==e)return n;j(r)?(t.length>1&&(r=_e(r,t[1])),t=ve(e)):(r=bn,t=Bt(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],A=e[a];r(A,a,e)&&(n[a]=A)}return n})),En=B((function(e,t){var n,r=t[0];return j(r)?(r=Ot(r),t.length>1&&(n=t[1])):(t=_t(Bt(t,!1,!1),String),r=function(e,n){return!rn(t,n)}),wn(e,r,n)}));function xn(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Bn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:xn(e,e.length-t)}function kn(e,t,n){return l.call(e,null==t||n?1:t)}function In(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:kn(e,Math.max(0,e.length-t))}function Sn(e){return $t(e,Boolean)}function Tn(e,t){return Bt(e,t,!1)}var Ln=B((function(e,t){return t=Bt(t,!0,!0),$t(e,(function(e){return!rn(t,e)}))})),Rn=B((function(e,t){return Ln(e,t)}));function Mn(e,t,n,r){T(t)||(r=n,n=t,t=!1),null!=n&&(n=qe(n,r));for(var o=[],i=[],a=0,A=ae(e);a<A;a++){var s=e[a],c=n?n(s,a,e):s;t&&!n?(a&&i===c||o.push(s),i=c):n?rn(i,c)||(i.push(c),o.push(s)):rn(o,s)||o.push(s)}return o}var On=B((function(e){return Mn(Bt(e,!0,!0))}));function Qn(e){for(var t=[],n=arguments.length,r=0,o=ae(e);r<o;r++){var i=e[r];if(!rn(t,i)){var a;for(a=1;a<n&&rn(arguments[a],i);a++);a===n&&t.push(i)}}return t}function Dn(e){for(var t=e&&sn(e,ae).length||0,n=Array(t),r=0;r<t;r++)n[r]=an(e,r);return n}var Fn=B(Dn);function Pn(e,t){for(var n={},r=0,o=ae(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Un(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Nn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(l.call(e,r,r+=t));return n}function Wn(e,t){return e._chain?le(t).chain():t}function jn(e){return Jt(Me(e),(function(t){var n=le[t]=e[t];le.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),Wn(this,n.apply(le,e))}})),le}Jt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=A[e];le.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Wn(this,n)}})),Jt(["concat","join","slice"],(function(e){var t=A[e];le.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Wn(this,e)}}));var Yn=le,zn=jn(r);zn._=zn;var Gn=zn;function Vn(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Hn=function(e){if(!e||"rtmp"==e.substr(0,4))return"";var t=function(e){var t="";return/[(,]format=mpd-/i.test(e)?t="mpd":/[(,]format=m3u8-/i.test(e)&&(t="m3u8"),t}(e);return t||((e=e.split("?")[0].split("#")[0]).lastIndexOf(".")>-1?e.substr(e.lastIndexOf(".")+1,e.length).toLowerCase():"")};function Zn(e){var t=parseInt(e,10);if(!e)return"00:00";var n=Math.floor(t/3600),r=Math.floor((t-3600*n)/60),o=t-3600*n-60*r;return r<10&&(r="0"+r),o<10&&(o="0"+o),n>0?n+":"+r+":"+o:r+":"+o}function Jn(e,t){if(!e)return 0;if(Gn.isNumber(e)&&!Gn.isNaN(e))return e;var n=(e=e.replace(",",".")).split(":"),r=n.length,o=0;if("s"===e.slice(-1))o=parseFloat(e);else if("m"===e.slice(-1))o=60*parseFloat(e);else if("h"===e.slice(-1))o=3600*parseFloat(e);else if(r>1){var i=r-1;4===r&&(t&&(o=parseFloat(n[i])/t),i-=1),o+=parseFloat(n[i]),o+=60*parseFloat(n[i-1]),r>=3&&(o+=3600*parseFloat(n[i-2]))}else o=parseFloat(e);return Gn.isNaN(o)?0:o}function _n(e){var t={},n=e.split("\r\n");1===n.length&&(n=e.split("\n"));var r=1;if(n[0].indexOf(" --\x3e ")>0&&(r=0),n.length>r+1&&n[r+1]){var o=n[r],i=o.indexOf(" --\x3e ");i>0&&(t.start=Jn(o.substr(0,i)),t.end=Jn(o.substr(i+5)),t.text=n.slice(r+1).join("\r\n"))}return t}var Kn=n(51179),Xn=function(){};function qn(e,t){return void 0===t&&(t=1),"rgba("+[parseInt(e.substring(0,2),16),parseInt(e.substring(2,4),16),parseInt(e.substring(4,6),16),t].join(",")+")"}var $n=1;function er(e,t,n){switch(n){case"webvtt.font.color":case"webvtt.font.opacity":var r=Services.prefs.getCharPref("webvtt.font.color"),o=Services.prefs.getIntPref("webvtt.font.opacity")/100;tr.fontSet=qn(r,o);break;case"webvtt.font.scale":$n=Services.prefs.getIntPref("webvtt.font.scale")/100;break;case"webvtt.bg.color":case"webvtt.bg.opacity":var i=Services.prefs.getCharPref("webvtt.bg.color"),a=Services.prefs.getIntPref("webvtt.bg.opacity")/100;tr.backgroundSet=qn(i,a);break;case"webvtt.edge.color":case"webvtt.edge.type":var A=Services.prefs.getIntPref("webvtt.edge.type"),s=Services.prefs.getCharPref("webvtt.edge.color");tr.edgeSet=["","0px 0px ","4px 4px 4px ","-2px -2px ","2px 2px "][A]+qn(s)}}if("undefined"!=typeof Services){var tr={};["webvtt.font.color","webvtt.font.opacity","webvtt.font.scale","webvtt.bg.color","webvtt.bg.opacity","webvtt.edge.color","webvtt.edge.type"].forEach((function(e){er(0,0,e),Services.prefs.addObserver(e,er,!1)}))}var nr=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function rr(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function or(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function ir(){this.values=nr(null)}function ar(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);2===a.length&&t(a[0],a[1])}}function Ar(e,t,n){var r=e;function o(){var t=or(e);if(null===t)throw new rr(rr.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function i(){e=e.replace(/^\s+/,"")}if(i(),t.startTime=o(),i(),"--\x3e"!==e.substr(0,3))throw new rr(rr.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),i(),t.endTime=o(),i(),function(e){var t=new ir;ar(e,(function(e,r){switch(e){case"region":for(var o=n.length-1;o>=0;o--)if(n[o].id===r){t.set(e,n[o].region);break}break;case"vertical":t.alt(e,r,["rl","lr"]);break;case"line":var i=r.split(","),a=i[0];t.integer(e,a),t.percent(e,a)&&t.set("snapToLines",!1),t.alt(e,a,["auto"]),2===i.length&&t.alt("lineAlign",i[1],["start","middle","end"]);break;case"position":i=r.split(","),t.percent(e,i[0]),2===i.length&&t.alt("positionAlign",i[1],["start","middle","end"]);break;case"size":t.percent(e,r);break;case"align":t.alt(e,r,["start","middle","end","left","right"])}}),/:/,/\s/)}(e)}rr.prototype=nr(Error.prototype),rr.prototype.constructor=rr,rr.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},ir.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var sr={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},cr={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},ur={v:"title",lang:"lang"},lr={rt:"ruby"};function fr(e,t){function n(){if(!t)return null;var e=t.match(/^([^<]*)(<[^>]+>?)?/);return function(e){return t=t.substr(e.length),e}(e[1]?e[1]:e[2])}function r(e){return sr[e]}function o(e){for(;p=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(p[0],r);return e}function i(e,t){return!lr[t.localName]||lr[t.localName]===e.localName}function a(t,n){var r=cr[t];if(!r)return null;var o=e.document.createElement(r);o.localName=r;var i=ur[t];return i&&n&&(o[i]=n.trim()),o}for(var A,s=e.document.createElement("div"),c=s,u=[];null!==(A=n());)if("<"!==A[0])c.appendChild(e.document.createTextNode(o(A)));else{if("/"===A[1]){u.length&&u[u.length-1]===A.substr(2).replace(">","")&&(u.pop(),c=c.parentNode);continue}var l,f=or(A.substr(1,A.length-2));if(f){l=e.document.createProcessingInstruction("timestamp",f),c.appendChild(l);continue}var p=A.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!p)continue;if(!(l=a(p[1],p[3])))continue;if(!i(c,l))continue;p[2]&&(l.className=p[2].substr(1).replace("."," ")),u.push(p[1]),c.appendChild(l),c=l}return s}var pr=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];function dr(){}function gr(e,t,n){var r="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)",a="";void 0!==tr&&(o=tr.fontSet,i=tr.backgroundSet,a=tr.edgeSet),r&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),dr.call(this),this.cue=t,this.cueDiv=fr(e,t.text);var A={color:o,backgroundColor:i,textShadow:a,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(A.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",A.unicodeBidi="plaintext"),this.applyStyles(A,this.cueDiv),this.div=e.document.createElement("div"),A={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(A.direction=function(e){var t,n=[],r="";if(!e||!e.childNodes)return"ltr";function o(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var r=n.match(/^.*(\n|\r)/);return r?(e.length=0,r[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(o(e,t),i(e)):void 0}for(o(n,e);r=i(n);)for(var a=0;a<r.length;a++){t=r.charCodeAt(a);for(var A=0;A<pr.length;A++)if(pr[A]===t)return"rtl"}return"ltr"}(this.cueDiv),A.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(A),this.div.appendChild(this.cueDiv);var s=0;switch(t.positionAlign){case"start":s=t.position;break;case"middle":s=t.position-t.size/2;break;case"end":s=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(s,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(s,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function hr(e){var t,n,r,o,i="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function vr(e,t,n,r){var o=new hr(t),i=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return-1*++r}(i),A=[];if(i.snapToLines){var s;switch(i.vertical){case"":A=["+y","-y"],s="height";break;case"rl":A=["+x","-x"],s="width";break;case"lr":A=["-x","+x"],s="width"}var c=o.lineHeight,u=c*Math.round(a),l=n[s]+c,f=A[0];Math.abs(u)>l&&(u=u<0?-1:1,u*=Math.ceil(l/c)*c),a<0&&(u+=""===i.vertical?n.height:n.width,A=A.reverse()),o.move(f,u)}else{var p=o.lineHeight/n.height*100;switch(i.lineAlign){case"middle":a-=p/2;break;case"end":a-=p}switch(i.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}A=["+y","-x","+x","-y"],o=new hr(t)}var d=function(e,t){for(var o,i=new hr(e),a=1,A=0;A<t.length;A++){for(;e.overlapsOppositeAxis(n,t[A])||e.within(n)&&e.overlapsAny(r);)e.move(t[A]);if(e.within(n))return e;var s=e.intersectPercentage(n);a>s&&(o=new hr(e),a=s),e=new hr(i)}return o||i}(o,A);t.move(d.toCSSCompatValues(n))}dr.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},dr.prototype.formatStyle=function(e,t){return 0===e?0:e+t},gr.prototype=nr(dr.prototype),gr.prototype.constructor=gr,hr.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},hr.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},hr.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},hr.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},hr.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},hr.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},hr.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},hr.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},Xn.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},Xn.convertCueToDOMTree=function(e,t){return e&&t?fr(e,t):null},Xn.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var o=[],i=hr.getSimpleBoxPosition(r),a={font:Math.round(.05*i.height*100)/100*$n+"px sans-serif"};!function(){for(var n,A,s=0;s<t.length;s++)A=t[s],n=new gr(e,A,a),r.appendChild(n.div),vr(0,n,i,o),A.displayState=n.div,o.push(hr.getSimpleBoxPosition(n))}()}else for(var A=0;A<t.length;A++)r.appendChild(t[A].displayState)},(Xn.Parser=function(e,t){this.window=e,this.state="INITIAL",this.buffer="",this.decoder=t||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(e){if(!(e instanceof rr))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e,t){var n=this;function r(){for(var e=n.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var r=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,n.buffer=e.substr(t),r}e&&(n.buffer+=n.decoder.decode(e,{stream:!0}));try{var o;if("INITIAL"===n.state){if(!/\r\n|\n/.test(n.buffer))return this;var i=(o=r()).match(/^WEBVTT([ \t].*)?$/);if(!i||!i[0])throw new rr(rr.Errors.BadSignature);n.state="HEADER"}for(var a=!1;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(a?a=!1:o=r(),n.state){case"HEADER":/:/.test(o)?ar(o,(function(e,t){"Region"===e&&function(e){var t=new ir;if(ar(e,(function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var o=new ir;if(o.percent("x",r[0]),o.percent("y",r[1]),!o.has("x")||!o.has("y"))break;t.set(e+"X",o.get("x")),t.set(e+"Y",o.get("y"));break;case"scroll":t.alt(e,n,["up"])}}),/=/,/\s/),t.has("id")){var r=new Kn.h;r.width=t.get("width",100),r.lines=t.get("lines",3),r.regionAnchorX=t.get("regionanchorX",0),r.regionAnchorY=t.get("regionanchorY",100),r.viewportAnchorX=t.get("viewportanchorX",0),r.viewportAnchorY=t.get("viewportanchorY",100),r.scroll=t.get("scroll",""),n.onregion&&n.onregion(r),n.regionList.push({id:t.get("id"),region:r})}}(t)}),/:/):o||(n.state="ID");continue;case"NOTE":o||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){n.state="NOTE";break}if(!o)continue;if(n.cue=new Kn.b(0,0,""),n.state="CUE",-1===o.indexOf("--\x3e")){n.cue.id=o;continue}case"CUE":try{Ar(o,n.cue,n.regionList)}catch(e){n.reportOrThrowError(e),n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":var A=-1!==o.indexOf("--\x3e");if(!o||A&&(a=!0)){n.oncue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}n.cue.text&&(n.cue.text+="\n"),n.cue.text+=o;continue;case"BADCUE":o||(n.state="ID");continue}}if(!t)return"CUETEXT"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.flush(),this}catch(e){n.reportOrThrowError(e),"CUETEXT"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state="INITIAL"===n.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse(null,!0)),"INITIAL"===e.state)throw new rr(rr.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}};var mr=Xn,Cr=function(){var e="";screen.width&&(e+=(screen.width?screen.width:"")+" x "+(screen.height?screen.height:""));var t,n,r,o=navigator.appVersion,i=navigator.userAgent,a=navigator.appName,A=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10);-1!=(n=i.indexOf("Opera"))&&(a="Opera",A=i.substring(n+6),-1!=(n=i.indexOf("Version"))&&(A=i.substring(n+8))),-1!=(n=i.indexOf("OPR"))?(a="Opera",A=i.substring(n+4)):-1!=(n=i.indexOf("SamsungBrowser"))?(a="SamsungBrowser",A=i.substring(n+15)):-1!=(n=i.indexOf("Edge"))?(a="Microsoft Edge",A=i.substring(n+5)):-1!=(n=i.indexOf("MSIE"))?(a="Microsoft Internet Explorer",A=i.substring(n+5),-1!==i.indexOf("Trident/")&&-1!==i.indexOf("rv:")&&(A=i.substring(i.indexOf("rv:")+3))):-1!=(n=i.indexOf("Chrome"))?(a="Chrome",A=i.substring(n+7)):-1!=(n=i.indexOf("CriOS"))?(a="Chrome",A=i.substring(n+6)):-1!=(n=i.indexOf("Firefox"))?(a="Firefox",A=i.substring(n+8)):-1!=(n=i.indexOf("FxiOS"))?(a="Firefox",A=i.substring(n+6)):-1!=(n=i.indexOf("Safari"))?(a="Safari",A=i.substring(n+7),-1!=(n=i.indexOf("Version"))&&(A=i.substring(n+8))):-1!==i.indexOf("Trident/")?(a="Microsoft Internet Explorer",A=i.substring(i.indexOf("rv:")+3)):(t=i.lastIndexOf(" ")+1)<(n=i.lastIndexOf("/"))&&(a=i.substring(t,n),A=i.substring(n+1),a.toLowerCase()==a.toUpperCase()&&(a=navigator.appName)),i.indexOf(" wv"),-1!=(r=A.indexOf(";"))&&(A=A.substring(0,r)),-1!=(r=A.indexOf(" "))&&(A=A.substring(0,r)),-1!=(r=A.indexOf(")"))&&(A=A.substring(0,r)),s=parseInt(""+A,10),isNa