mediacms/static/lib/video-js/7.7.5/videojs-ie8.min.js

1 wiersz
26 KiB
JavaScript
Czysty Zwykły widok Historia

!function(t,e){void 0===t.HTMLVideoElement&&(e.createElement("video"),e.createElement("audio"),e.createElement("track")),function(t,e){"use strict";"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,(function(){var e,r=Array,n=r.prototype,o=Object,i=o.prototype,a=Function.prototype,c=String,u=c.prototype,l=Number,f=l.prototype,s=n.slice,p=n.splice,h=n.push,y=n.unshift,d=n.concat,b=a.call,v=a.apply,g=Math.max,w=Math.min,O=i.toString,j="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,T=Function.prototype.toString,m=function(t){try{return T.call(t),!0}catch(t){return!1}},E="[object Function]",D="[object GeneratorFunction]";e=function(t){if("function"!=typeof t)return!1;if(j)return m(t);var e=O.call(t);return e===E||e===D};var x,S=RegExp.prototype.exec,_=function(t){try{return S.call(t),!0}catch(t){return!1}},M="[object RegExp]";x=function(t){return"object"==typeof t&&(j?_(t):O.call(t)===M)};var I,P=String.prototype.valueOf,F=function(t){try{return P.call(t),!0}catch(t){return!1}},U="[object String]";I=function(t){return"string"==typeof t||"object"==typeof t&&(j?F(t):O.call(t)===U)};var N=o.defineProperty&&function(){try{var t={};for(var e in o.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),k=function(t){var e;return e=N?function(t,e,r,n){!n&&e in t||o.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r})}:function(t,e,r,n){!n&&e in t||(t[e]=r)},function(r,n,o){for(var i in n)t.call(n,i)&&e(r,i,n[i],o)}}(i.hasOwnProperty),C=function(t){var e=typeof t;return null===t||"object"!==e&&"function"!==e},A=l.isNaN||function(t){return t!=t},R={ToInteger:function(t){var e=+t;return A(e)?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e},ToPrimitive:function(t){var r,n,o;if(C(t))return t;if(n=t.valueOf,e(n)&&(r=n.call(t),C(r)))return r;if(o=t.toString,e(o)&&(r=o.call(t),C(r)))return r;throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return o(t)},ToUint32:function(t){return t>>>0}},$=function(){};k(a,{bind:function(t){var r=this;if(!e(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,i=s.call(arguments,1),a=function(){if(this instanceof n){var e=r.apply(this,d.call(i,s.call(arguments)));return o(e)===e?e:this}return r.apply(t,d.call(i,s.call(arguments)))},c=g(0,r.length-i.length),u=[],l=0;c>l;l++)h.call(u,"$"+l);return n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this, arguments); }")(a),r.prototype&&($.prototype=r.prototype,n.prototype=new $,$.prototype=null),n}});var z=b.bind(i.hasOwnProperty),J=b.bind(i.toString),G=b.bind(s),Z=v.bind(s),Y=b.bind(u.slice),W=b.bind(u.split),H=b.bind(u.indexOf),L=b.bind(h),X=b.bind(i.propertyIsEnumerable),B=b.bind(n.sort),V=r.isArray||function(t){return"[object Array]"===J(t)},q=1!==[].unshift(0);k(n,{unshift:function(){return y.apply(this,arguments),this.length}},q),k(r,{isArray:V});var K=o("a"),Q="a"!==K[0]||!(0 in K),tt=function(t){var e=!0,r=!0,n=!1;if(t)try{t.call("foo",(function(t,r,n){"object"!=typeof n&&(e=!1)})),t.call([1],(function(){"use strict";r="string"==typeof this}),"x")}catch(t){n=!0}return!!t&&!n&&e&&r};k(n,{forEach:function(t){var r,n=R.ToObject(this),o=Q&&I(this)?W(this,""):n,i=-1,a=R.ToUint32(o.length);if(arguments.length>1&&(r=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i<a;)i in o&&(void 0===r?t(o[i],i,n):t.call(r,o[i],i,n))}},!tt(n.forEach)),k(n,{map:function(t){var n,o=R.ToObject(this),i=Q&&I(this)?W(this,""):o,a=R.ToUint32(i.length),c=r(a);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.map callback must be a function");for(var u=0;a>u;u++)u in i&&(c[u]=void 0===n?t(i[u],u,o):t.call(n,i[u],u,o));return c}},!tt(n.map)),k(n,{filter:function(t){var r,n,o=R.ToObject(this),i=Q&&I(this)?W(this,""):o,a=R.ToUint32(i.length),c=[];if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototyp