filesbox/web/dist/design/designstatic/chatroom/video/ie8/videojs-ie8.js
2024-07-26 14:10:54 +08:00

11 lines
27 KiB
JavaScript

typeof window.HTMLVideoElement=="undefined"&&(document.createElement("video"),document.createElement("audio"),document.createElement("track"));/*!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2015 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
*/(function(D,f){"use strict";typeof define=="function"&&define.amd?define(f):typeof exports=="object"?module.exports=f():D.returnExports=f()})(this,function(){var D=Array,f=D.prototype,T=Object,J=T.prototype,V=Function.prototype,E=String,_=E.prototype,S=Number,B=S.prototype,M=f.slice,ee=f.splice,H=f.push,we=f.unshift,Y=f.concat,O=V.call,K=V.apply,A=Math.max,X=Math.min,te=J.toString,re=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",j,be=Function.prototype.toString,Oe=function(e){try{return be.call(e),!0}catch(t){return!1}},ne="[object Function]",ie="[object GeneratorFunction]";j=function(e){if(typeof e!="function")return!1;if(re)return Oe(e);var t=te.call(e);return t===ne||t===ie};var ae,Te=RegExp.prototype.exec,xe=function(e){try{return Te.call(e),!0}catch(t){return!1}},w="[object RegExp]";ae=function(e){return typeof e!="object"?!1:re?xe(e):te.call(e)===w};var a,p=String.prototype.valueOf,v=function(e){try{return p.call(e),!0}catch(t){return!1}},k="[object String]";a=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:re?v(e):te.call(e)===k};var z=T.defineProperty&&function(){try{var n={};T.defineProperty(n,"x",{enumerable:!1,value:n});for(var e in n)return!1;return n.x===n}catch(t){return!1}}(),g=function(n){var e;return z?e=function(t,r,i,o){!o&&r in t||T.defineProperty(t,r,{configurable:!0,enumerable:!1,writable:!0,value:i})}:e=function(t,r,i,o){!o&&r in t||(t[r]=i)},function(r,i,o){for(var s in i)n.call(i,s)&&e(r,s,i[s],o)}}(J.hasOwnProperty),$=function(e){var t=typeof e;return e===null||t!=="object"&&t!=="function"},q=S.isNaN||function(n){return n!==n},y={ToInteger:function(e){var t=+e;return q(t)?t=0:t!==0&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(e){var t,r,i;if($(e))return e;if(r=e.valueOf,j(r)&&(t=r.call(e),$(t))||(i=e.toString,j(i)&&(t=i.call(e),$(t))))return t;throw new TypeError},ToObject:function(n){if(n==null)throw new TypeError("can't convert "+n+" to object");return T(n)},ToUint32:function(e){return e>>>0}},Se=function(){};g(V,{bind:function(e){var t=this;if(!j(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r=M.call(arguments,1),i,o=function(){if(this instanceof i){var u=t.apply(this,Y.call(r,M.call(arguments)));return T(u)===u?u:this}else return t.apply(e,Y.call(r,M.call(arguments)))},s=A(0,t.length-r.length),l=[],c=0;c<s;c++)H.call(l,"$"+c);return i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this, arguments); }")(o),t.prototype&&(Se.prototype=t.prototype,i.prototype=new Se,Se.prototype=null),i}});var U=O.bind(J.hasOwnProperty),Me=O.bind(J.toString),Q=O.bind(M),it=K.bind(M),I=O.bind(_.slice),P=O.bind(_.split),at=O.bind(_.indexOf),R=O.bind(H),ot=O.bind(J.propertyIsEnumerable),Ae=O.bind(f.sort),pe=D.isArray||function(e){return Me(e)==="[object Array]"},st=[].unshift(0)!==1;g(f,{unshift:function(){return we.apply(this,arguments),this.length}},st),g(D,{isArray:pe});var Ue=T("a"),N=Ue[0]!=="a"||!(0 in Ue),oe=function(e){var t=!0,r=!0,i=!1;if(e)try{e.call("foo",function(o,s,l){typeof l!="object"&&(t=!1)}),e.call([1],function(){"use strict";r=typeof this=="string"},"x")}catch(o){i=!0}return!!e&&!i&&t&&r};g(f,{forEach:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=-1,o=y.ToUint32(r.length),s;if(arguments.length>1&&(s=arguments[1]),!j(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i<o;)i in r&&(typeof s=="undefined"?e(r[i],i,t):e.call(s,r[i],i,t))}},!oe(f.forEach)),g(f,{map:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length),o=D(i),s;if(arguments.length>1&&(s=arguments[1]),!j(e))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;l<i;l++)l in r&&(typeof s=="undefined"?o[l]=e(r[l],l,t):o[l]=e.call(s,r[l],l,t));return o}},!oe(f.map)),g(f,{filter:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length),o=[],s,l;if(arguments.length>1&&(l=arguments[1]),!j(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var c=0;c<i;c++)c in r&&(s=r[c],(typeof l=="undefined"?e(s,c,t):e.call(l,s,c,t))&&R(o,s));return o}},!oe(f.filter)),g(f,{every:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length),o;if(arguments.length>1&&(o=arguments[1]),!j(e))throw new TypeError("Array.prototype.every callback must be a function");for(var s=0;s<i;s++)if(s in r&&!(typeof o=="undefined"?e(r[s],s,t):e.call(o,r[s],s,t)))return!1;return!0}},!oe(f.every)),g(f,{some:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length),o;if(arguments.length>1&&(o=arguments[1]),!j(e))throw new TypeError("Array.prototype.some callback must be a function");for(var s=0;s<i;s++)if(s in r&&(typeof o=="undefined"?e(r[s],s,t):e.call(o,r[s],s,t)))return!0;return!1}},!oe(f.some));var Re=!1;f.reduce&&(Re=typeof f.reduce.call("es5",function(n,e,t,r){return r})=="object"),g(f,{reduce:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length);if(!j(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(i===0&&arguments.length===1)throw new TypeError("reduce of empty array with no initial value");var o=0,s;if(arguments.length>=2)s=arguments[1];else do{if(o in r){s=r[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;o<i;o++)o in r&&(s=e(s,r[o],o,t));return s}},!Re);var Ne=!1;f.reduceRight&&(Ne=typeof f.reduceRight.call("es5",function(n,e,t,r){return r})=="object"),g(f,{reduceRight:function(e){var t=y.ToObject(this),r=N&&a(this)?P(this,""):t,i=y.ToUint32(r.length);if(!j(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(i===0&&arguments.length===1)throw new TypeError("reduceRight of empty array with no initial value");var o,s=i-1;if(arguments.length>=2)o=arguments[1];else do{if(s in r){o=r[s--];break}if(--s<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);if(s<0)return o;do s in r&&(o=e(o,r[s],s,t));while(s--);return o}},!Ne);var ut=f.indexOf&&[0,1].indexOf(1,2)!==-1;g(f,{indexOf:function(e){var t=N&&a(this)?P(this,""):y.ToObject(this),r=y.ToUint32(t.length);if(r===0)return-1;var i=0;for(arguments.length>1&&(i=y.ToInteger(arguments[1])),i=i>=0?i:A(0,r+i);i<r;i++)if(i in t&&t[i]===e)return i;return-1}},ut);var ft=f.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;g(f,{lastIndexOf:function(e){var t=N&&a(this)?P(this,""):y.ToObject(this),r=y.ToUint32(t.length);if(r===0)return-1;var i=r-1;for(arguments.length>1&&(i=X(i,y.ToInteger(arguments[1]))),i=i>=0?i:r-Math.abs(i);i>=0;i--)if(i in t&&e===t[i])return i;return-1}},ft);var lt=function(){var n=[1,2],e=n.splice();return n.length===2&&pe(e)&&e.length===0}();g(f,{splice:function(e,t){return arguments.length===0?[]:ee.apply(this,arguments)}},!lt);var ct=function(){var n={};return f.splice.call(n,0,0,1),n.length===1}();g(f,{splice:function(e,t){if(arguments.length===0)return[];var r=arguments;return this.length=A(y.ToInteger(this.length),0),arguments.length>0&&typeof t!="number"&&(r=Q(arguments),r.length<2?R(r,this.length-e):r[1]=y.ToInteger(t)),ee.apply(this,r)}},!ct);var pt=function(){var n=new D(1e5);return n[8]="x",n.splice(1,1),n.indexOf("x")===7}(),ht=function(){var n=256,e=[];return e[n]="a",e.splice(n+1,0,"b"),e[n]==="a"}();g(f,{splice:function(e,t){for(var r=y.ToObject(this),i=[],o=y.ToUint32(r.length),s=y.ToInteger(e),l=s<0?A(o+s,0):X(s,o),c=X(A(y.ToInteger(t),0),o-l),u=0,h;u<c;)h=E(l+u),U(r,h)&&(i[u]=r[h]),u+=1;var m=Q(arguments,2),d=m.length,x;if(d<c){for(u=l;u<o-c;)h=E(u+c),x=E(u+d),U(r,h)?r[x]=r[h]:delete r[x],u+=1;for(u=o;u>o-c+d;)delete r[u-1],u-=1}else if(d>c)for(u=o-c;u>l;)h=E(u+c-1),x=E(u+d-1),U(r,h)?r[x]=r[h]:delete r[x],u-=1;u=l;for(var C=0;C<m.length;++C)r[u]=m[C],u+=1;return r.length=o-c+d,i}},!pt||!ht);var Ge=f.join,he;try{he=Array.prototype.join.call("123",",")!=="1,2,3"}catch(n){he=!0}he&&g(f,{join:function(e){var t=typeof e=="undefined"?",":e;return Ge.call(a(this)?P(this,""):this,t)}},he);var Be=[1,2].join(void 0)!=="1,2";Be&&g(f,{join:function(e){var t=typeof e=="undefined"?",":e;return Ge.call(this,t)}},Be);var ke=function(e){for(var t=y.ToObject(this),r=y.ToUint32(t.length),i=0;i<arguments.length;)t[r+i]=arguments[i],i+=1;return t.length=r+i,r+i},vt=function(){var n={},e=Array.prototype.push.call(n,void 0);return e!==1||n.length!==1||typeof n[0]!="undefined"||!U(n,0)}();g(f,{push:function(e){return pe(this)?H.apply(this,arguments):ke.apply(this,arguments)}},vt);var gt=function(){var n=[],e=n.push(void 0);return e!==1||n.length!==1||typeof n[0]!="undefined"||!U(n,0)}();g(f,{push:ke},gt),g(f,{slice:function(n,e){var t=a(this)?P(this,""):this;return it(t,arguments)}},N);var yt=function(){try{return[1,2].sort(null),[1,2].sort({}),!0}catch(n){}return!1}(),dt=function(){try{return[1,2].sort(/a/),!1}catch(n){}return!0}(),mt=function(){try{return[1,2].sort(void 0),!0}catch(n){}return!1}();g(f,{sort:function(e){if(typeof e=="undefined")return Ae(this);if(!j(e))throw new TypeError("Array.prototype.sort callback must be a function");return Ae(this,e)}},yt||!mt||!dt);var wt=!{toString:null}.propertyIsEnumerable("toString"),bt=function(){}.propertyIsEnumerable("prototype"),Ot=!U("x","0"),Ee=function(n){var e=n.constructor;return e&&e.prototype===n},Tt={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0},xt=function(){if(typeof window=="undefined")return!1;for(var n in window)try{!Tt["$"+n]&&U(window,n)&&window[n]!==null&&typeof window[n]=="object"&&Ee(window[n])}catch(e){return!0}return!1}(),St=function(n){if(typeof window=="undefined"||!xt)return Ee(n);try{return Ee(n)}catch(e){return!1}},ze=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Et=ze.length,$e=function(e){return Me(e)==="[object Arguments]"},_t=function(e){return e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&!pe(e)&&j(e.callee)},We=$e(arguments)?$e:_t;g(T,{keys:function(e){var t=j(e),r=We(e),i=e!==null&&typeof e=="object",o=i&&a(e);if(!i&&!t&&!r)throw new TypeError("Object.keys called on a non-object");var s=[],l=bt&&t;if(o&&Ot||r)for(var c=0;c<e.length;++c)R(s,E(c));if(!r)for(var u in e)!(l&&u==="prototype")&&U(e,u)&&R(s,E(u));if(wt)for(var h=St(e),m=0;m<Et;m++){var d=ze[m];!(h&&d==="constructor")&&U(e,d)&&R(s,d)}return s}});var jt=T.keys&&function(){return T.keys(arguments).length===2}(1,2),Dt=T.keys&&function(){var n=T.keys(arguments);return arguments.length!==1||n.length!==1||n[0]!==1}(1),Je=T.keys;g(T,{keys:function(e){return We(e)?Je(Q(e)):Je(e)}},!jt||Dt);var ve=new Date(-3509827329600292).getUTCMonth()!==0,ge=new Date(-1509842289600292),Le=new Date(14496624e5),It=ge.toUTCString()!=="Mon, 01 Jan -45875 11:59:59 GMT",_e,je,Pt=ge.getTimezoneOffset();Pt<-720?(_e=ge.toDateString()!=="Tue Jan 02 -45875",je=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Le.toString())):(_e=ge.toDateString()!=="Mon Jan 01 -45875",je=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Le.toString()));var De=O.bind(Date.prototype.getFullYear),Ie=O.bind(Date.prototype.getMonth),Ze=O.bind(Date.prototype.getDate),se=O.bind(Date.prototype.getUTCFullYear),ue=O.bind(Date.prototype.getUTCMonth),Pe=O.bind(Date.prototype.getUTCDate),Ct=O.bind(Date.prototype.getUTCDay),He=O.bind(Date.prototype.getUTCHours),Ye=O.bind(Date.prototype.getUTCMinutes),Ke=O.bind(Date.prototype.getUTCSeconds),Ft=O.bind(Date.prototype.getUTCMilliseconds),Ce=["Sun","Mon","Tue","Wed","Thu","Fri"],Fe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xe=function(e,t){return Ze(new Date(t,e,0))};g(Date.prototype,{getFullYear:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=De(this);return e<0&&Ie(this)>11?e+1:e},getMonth:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=De(this),t=Ie(this);return e<0&&t>11?0:t},getDate:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=De(this),t=Ie(this),r=Ze(this);if(e<0&&t>11){if(t===12)return r;var i=Xe(0,e+1);return i-r+1}return r},getUTCFullYear:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=se(this);return e<0&&ue(this)>11?e+1:e},getUTCMonth:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=se(this),t=ue(this);return e<0&&t>11?0:t},getUTCDate:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=se(this),t=ue(this),r=Pe(this);if(e<0&&t>11){if(t===12)return r;var i=Xe(0,e+1);return i-r+1}return r}},ve),g(Date.prototype,{toUTCString:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ct(this),t=Pe(this),r=ue(this),i=se(this),o=He(this),s=Ye(this),l=Ke(this);return Ce[e]+", "+(t<10?"0"+t:t)+" "+Fe[r]+" "+i+" "+(o<10?"0"+o:o)+":"+(s<10?"0"+s:s)+":"+(l<10?"0"+l:l)+" GMT"}},ve||It),g(Date.prototype,{toDateString:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),r=this.getMonth(),i=this.getFullYear();return Ce[e]+" "+Fe[r]+" "+(t<10?"0"+t:t)+" "+i}},ve||_e),(ve||je)&&(Date.prototype.toString=function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),r=this.getMonth(),i=this.getFullYear(),o=this.getHours(),s=this.getMinutes(),l=this.getSeconds(),c=this.getTimezoneOffset(),u=Math.floor(Math.abs(c)/60),h=Math.floor(Math.abs(c)%60);return Ce[e]+" "+Fe[r]+" "+(t<10?"0"+t:t)+" "+i+" "+(o<10?"0"+o:o)+":"+(s<10?"0"+s:s)+":"+(l<10?"0"+l:l)+" GMT"+(c>0?"-":"+")+(u<10?"0"+u:u)+(h<10?"0"+h:h)},z&&T.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var qe=-621987552e5,Qe="-000001",Mt=Date.prototype.toISOString&&new Date(qe).toISOString().indexOf(Qe)===-1,At=Date.prototype.toISOString&&new Date(-1).toISOString()!=="1969-12-31T23:59:59.999Z";g(Date.prototype,{toISOString:function(){if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=se(this),t=ue(this);e+=Math.floor(t/12),t=(t%12+12)%12;var r=[t+1,Pe(this),He(this),Ye(this),Ke(this)];e=(e<0?"-":e>9999?"+":"")+I("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var i=0;i<r.length;++i)r[i]=I("00"+r[i],-2);return e+"-"+Q(r,0,2).join("-")+"T"+Q(r,2).join(":")+"."+I("000"+Ft(this),-3)+"Z"}},Mt||At);var Ut=function(){try{return Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(qe).toJSON().indexOf(Qe)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(n){return!1}}();Ut||(Date.prototype.toJSON=function(e){var t=T(this),r=y.ToPrimitive(t);if(typeof r=="number"&&!isFinite(r))return null;var i=t.toISOString;if(!j(i))throw new TypeError("toISOString property is not callable");return i.call(t)});var Rt=Date.parse("+033658-09-27T01:46:40.000Z")===1e15,Nt=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),Gt=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(Gt||Nt||!Rt){var L=Math.pow(2,31)-1,Ve=q(new Date(1970,0,1,0,0,0,L+1).getTime());Date=function(n){var e=function(u,h,m,d,x,C,Z){var F=arguments.length,G;if(this instanceof n){var fe=C,le=Z;if(Ve&&F>=7&&Z>L){var me=Math.floor(Z/L)*L,ce=Math.floor(me/1e3);fe+=ce,le-=ce*1e3}G=F===1&&E(u)===u?new n(e.parse(u)):F>=7?new n(u,h,m,d,x,fe,le):F>=6?new n(u,h,m,d,x,fe):F>=5?new n(u,h,m,d,x):F>=4?new n(u,h,m,d):F>=3?new n(u,h,m):F>=2?new n(u,h):F>=1?new n(u):new n}else G=n.apply(this,arguments);return $(G)||g(G,{constructor:e},!0),G},t=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],i=function(u,h){var m=h>1?1:0;return r[h]+Math.floor((u-1969+m)/4)-Math.floor((u-1901+m)/100)+Math.floor((u-1601+m)/400)+365*(u-1970)},o=function(u){var h=0,m=u;if(Ve&&m>L){var d=Math.floor(m/L)*L,x=Math.floor(d/1e3);h+=x,m-=x*1e3}return S(new n(1970,0,1,0,0,h,m))};for(var s in n)U(n,s)&&(e[s]=n[s]);g(e,{now:n.now,UTC:n.UTC},!0),e.prototype=n.prototype,g(e.prototype,{constructor:e},!0);var l=function(u){var h=t.exec(u);if(h){var m=S(h[1]),d=S(h[2]||1)-1,x=S(h[3]||1)-1,C=S(h[4]||0),Z=S(h[5]||0),F=S(h[6]||0),G=Math.floor(S(h[7]||0)*1e3),fe=Boolean(h[4]&&!h[8]),le=h[9]==="-"?1:-1,me=S(h[10]||0),ce=S(h[11]||0),W,Vt=Z>0||F>0||G>0;return C<(Vt?24:25)&&Z<60&&F<60&&G<1e3&&d>-1&&d<12&&me<24&&ce<60&&x>-1&&x<i(m,d+1)-i(m,d)&&(W=((i(m,d)+x)*24+C+me*le)*60,W=((W+Z+ce*le)*60+F)*1e3+G,fe&&(W=o(W)),-864e13<=W&&W<=864e13)?W:NaN}return n.parse.apply(this,arguments)};return g(e,{parse:l}),e}(Date)}Date.now||(Date.now=function(){return new Date().getTime()});var Bt=B.toFixed&&(8e-5 .toFixed(3)!=="0.000"||.9 .toFixed(0)!=="1"||1.255 .toFixed(2)!=="1.25"||1000000000000000100 .toFixed(0)!=="1000000000000000128"),b={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var r=-1,i=t;++r<b.size;)i+=e*b.data[r],b.data[r]=i%b.base,i=Math.floor(i/b.base)},divide:function(e){for(var t=b.size,r=0;--t>=0;)r+=b.data[t],b.data[t]=Math.floor(r/e),r=r%e*b.base},numToString:function(){for(var e=b.size,t="";--e>=0;)if(t!==""||e===0||b.data[e]!==0){var r=E(b.data[e]);t===""?t=r:t+=I("0000000",0,7-r.length)+r}return t},pow:function n(e,t,r){return t===0?r:t%2==1?n(e,t-1,r*e):n(e*e,t/2,r)},log:function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}},kt=function(e){var t,r,i,o,s,l,c,u;if(t=S(e),t=q(t)?0:Math.floor(t),t<0||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(r=S(this),q(r))return"NaN";if(r<=-1e21||r>=1e21)return E(r);if(i="",r<0&&(i="-",r=-r),o="0",r>1e-21)if(s=b.log(r*b.pow(2,69,1))-69,l=s<0?r*b.pow(2,-s,1):r/b.pow(2,s,1),l*=4503599627370496,s=52-s,s>0){for(b.multiply(0,l),c=t;c>=7;)b.multiply(1e7,0),c-=7;for(b.multiply(b.pow(10,c,1),0),c=s-1;c>=23;)b.divide(1<<23),c-=23;b.divide(1<<c),b.multiply(1,1),b.divide(2),o=b.numToString()}else b.multiply(0,l),b.multiply(1<<-s,0),o=b.numToString()+I("0.00000000000000000000",2,2+t);return t>0?(u=o.length,u<=t?o=i+I("0.0000000000000000000",0,t-u+2)+o:o=i+I(o,0,u-t)+"."+I(o,u-t)):o=i+o,o};g(B,{toFixed:kt},Bt);var zt=function(){try{return 1 .toPrecision(void 0)==="1"}catch(n){return!0}}(),et=B.toPrecision;g(B,{toPrecision:function(e){return typeof e=="undefined"?et.call(this):et.call(this,e)}},zt),"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1?function(){var n=typeof/()??/.exec("")[1]=="undefined",e=Math.pow(2,32)-1;_.split=function(t,r){var i=String(this);if(typeof t=="undefined"&&r===0)return[];if(!ae(t))return P(this,t,r);var o=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,c,u,h,m,d=new RegExp(t.source,s+"g");n||(c=new RegExp("^"+d.source+"$(?!\\s)",s));var x=typeof r=="undefined"?e:y.ToUint32(r);for(u=d.exec(i);u&&(h=u.index+u[0].length,!(h>l&&(R(o,I(i,l,u.index)),!n&&u.length>1&&u[0].replace(c,function(){for(var C=1;C<arguments.length-2;C++)typeof arguments[C]=="undefined"&&(u[C]=void 0)}),u.length>1&&u.index<i.length&&H.apply(o,Q(u,1)),m=u[0].length,l=h,o.length>=x)));)d.lastIndex===u.index&&d.lastIndex++,u=d.exec(i);return l===i.length?(m||!d.test(""))&&R(o,""):R(o,I(i,l)),o.length>x?I(o,0,x):o}}():"0".split(void 0,0).length&&(_.split=function(e,t){return typeof e=="undefined"&&t===0?[]:P(this,e,t)});var tt=_.replace,$t=function(){var n=[];return"x".replace(/x(.)?/g,function(e,t){R(n,t)}),n.length===1&&typeof n[0]=="undefined"}();$t||(_.replace=function(e,t){var r=j(t),i=ae(e)&&/\)[*?]/.test(e.source);if(!r||!i)return tt.call(this,e,t);var o=function(s){var l=arguments.length,c=e.lastIndex;e.lastIndex=0;var u=e.exec(s)||[];return e.lastIndex=c,R(u,arguments[l-2],arguments[l-1]),t.apply(this,u)};return tt.call(this,e,o)});var Wt=_.substr,Jt="".substr&&"0b".substr(-1)!=="b";g(_,{substr:function(e,t){var r=e;return e<0&&(r=A(this.length+e,0)),Wt.call(this,r,t)}},Jt);var ye=`
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,Lt="\u200B",de="["+ye+"]",Zt=new RegExp("^"+de+de+"*"),Ht=new RegExp(de+de+"*$"),Yt=_.trim&&(ye.trim()||!Lt.trim());g(_,{trim:function(){if(typeof this=="undefined"||this===null)throw new TypeError("can't convert "+this+" to object");return E(this).replace(Zt,"").replace(Ht,"")}},Yt);var rt=O.bind(String.prototype.trim),Kt=_.lastIndexOf&&"abc\u3042\u3044".lastIndexOf("\u3042\u3044",2)!==-1;g(_,{lastIndexOf:function(e){if(typeof this=="undefined"||this===null)throw new TypeError("can't convert "+this+" to object");for(var t=E(this),r=E(e),i=arguments.length>1?S(arguments[1]):NaN,o=q(i)?Infinity:y.ToInteger(i),s=X(A(o,0),t.length),l=r.length,c=s+l;c>0;){c=A(0,c-l);var u=at(I(t,c,s+l),r);if(u!==-1)return c+u}return-1}},Kt);var Xt=_.lastIndexOf;if(g(_,{lastIndexOf:function(e){return Xt.apply(this,arguments)}},_.lastIndexOf.length!==1),(parseInt(ye+"08")!==8||parseInt(ye+"0x16")!==22)&&(parseInt=function(n){var e=/^[\-+]?0[xX]/;return function(r,i){var o=rt(r),s=S(i)||(e.test(o)?16:10);return n(o,s)}}(parseInt)),1/parseFloat("-0")!=-Infinity&&(parseFloat=function(n){return function(t){var r=rt(t),i=n(r);return i===0&&I(r,0,1)==="-"?-0:i}}(parseFloat)),String(new RangeError("test"))!=="RangeError: test"){var qt=function(){if(typeof this=="undefined"||this===null)throw new TypeError("can't convert "+this+" to object");var e=this.name;typeof e=="undefined"?e="Error":typeof e!="string"&&(e=E(e));var t=this.message;return typeof t=="undefined"?t="":typeof t!="string"&&(t=E(t)),e?t?e+": "+t:e:t};Error.prototype.toString=qt}if(z){var nt=function(n,e){if(ot(n,e)){var t=Object.getOwnPropertyDescriptor(n,e);t.enumerable=!1,Object.defineProperty(n,e,t)}};nt(Error.prototype,"message"),Error.prototype.message!==""&&(Error.prototype.message=""),nt(Error.prototype,"name")}if(String(/a/mig)!=="/a/gim"){var Qt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=Qt}});/*!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2015 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
*/(function(D,f){"use strict";typeof define=="function"&&define.amd?define(f):typeof exports=="object"?module.exports=f():D.returnExports=f()})(this,function(){var D=Function.call,f=Object.prototype,T=D.bind(f.hasOwnProperty),J=D.bind(f.propertyIsEnumerable),V=D.bind(f.toString),E,_,S,B,M=T(f,"__defineGetter__");M&&(E=D.bind(f.__defineGetter__),_=D.bind(f.__defineSetter__),S=D.bind(f.__lookupGetter__),B=D.bind(f.__lookupSetter__)),Object.getPrototypeOf||(Object.getPrototypeOf=function(a){var p=a.__proto__;return p||p===null?p:V(a.constructor)==="[object Function]"?a.constructor.prototype:a instanceof Object?f:null});var ee=function(a){try{return a.sentinel=0,Object.getOwnPropertyDescriptor(a,"sentinel").value===0}catch(p){return!1}};if(Object.defineProperty){var H=ee({}),we=typeof document=="undefined"||ee(document.createElement("div"));if(!we||!H)var Y=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||Y){var O="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(a,p){if(typeof a!="object"&&typeof a!="function"||a===null)throw new TypeError(O+a);if(Y)try{return Y.call(Object,a,p)}catch(q){}var v;if(!T(a,p))return v;if(v={enumerable:J(a,p),configurable:!0},M){var k=a.__proto__,z=a!==f;z&&(a.__proto__=f);var g=S(a,p),$=B(a,p);if(z&&(a.__proto__=k),g||$)return g&&(v.get=g),$&&(v.set=$),v}return v.value=a[p],v.writable=!0,v}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(a){return Object.keys(a)}),!Object.create){var K,A=!({__proto__:null}instanceof Object),X=function(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(a){return!1}},te=function(){var a,p;return p=new ActiveXObject("htmlfile"),p.write("<script></script>"),p.close(),a=p.parentWindow.Object.prototype,p=null,a},re=function(){var a=document.createElement("iframe"),p=document.body||document.documentElement,v;return a.style.display="none",p.appendChild(a),a.src="javascript:",v=a.contentWindow.Object.prototype,p.removeChild(a),a=null,v};A||typeof document=="undefined"?K=function(){return{__proto__:null}}:K=function(){var w=X()?te():re();delete w.constructor,delete w.hasOwnProperty,delete w.propertyIsEnumerable,delete w.isPrototypeOf,delete w.toLocaleString,delete w.toString,delete w.valueOf;var a=function(){};return a.prototype=w,K=function(){return new a},new a},Object.create=function(a,p){var v,k=function(){};if(a===null)v=K();else{if(typeof a!="object"&&typeof a!="function")throw new TypeError("Object prototype may only be an Object or null");k.prototype=a,v=new k,v.__proto__=a}return p!==void 0&&Object.defineProperties(v,p),v}}var j=function(a){try{return Object.defineProperty(a,"sentinel",{}),"sentinel"in a}catch(p){return!1}};if(Object.defineProperty){var be=j({}),Oe=typeof document=="undefined"||j(document.createElement("div"));if(!be||!Oe)var ne=Object.defineProperty,ie=Object.defineProperties}if(!Object.defineProperty||ne){var ae="Property description must be an object: ",Te="Object.defineProperty called on non-object: ",xe="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(a,p,v){if(typeof a!="object"&&typeof a!="function"||a===null)throw new TypeError(Te+a);if(typeof v!="object"&&typeof v!="function"||v===null)throw new TypeError(ae+v);if(ne)try{return ne.call(Object,a,p,v)}catch(z){}if("value"in v)if(M&&(S(a,p)||B(a,p))){var k=a.__proto__;a.__proto__=f,delete a[p],a[p]=v.value,a.__proto__=k}else a[p]=v.value;else{if(!M&&("get"in v||"set"in v))throw new TypeError(xe);"get"in v&&E(a,p,v.get),"set"in v&&_(a,p,v.set)}return a}}(!Object.defineProperties||ie)&&(Object.defineProperties=function(a,p){if(ie)try{return ie.call(Object,a,p)}catch(v){}return Object.keys(p).forEach(function(v){v!=="__proto__"&&Object.defineProperty(a,v,p[v])}),a}),Object.seal||(Object.seal=function(a){if(Object(a)!==a)throw new TypeError("Object.seal can only be called on Objects.");return a}),Object.freeze||(Object.freeze=function(a){if(Object(a)!==a)throw new TypeError("Object.freeze can only be called on Objects.");return a});try{Object.freeze(function(){})}catch(w){Object.freeze=function(a){return function(v){return typeof v=="function"?v:a(v)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(a){if(Object(a)!==a)throw new TypeError("Object.preventExtensions can only be called on Objects.");return a}),Object.isSealed||(Object.isSealed=function(a){if(Object(a)!==a)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(a){if(Object(a)!==a)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(a){if(Object(a)!==a)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var p="";T(a,p);)p+="?";a[p]=!0;var v=T(a,p);return delete a[p],v})});