mediacms/static/lib/video-js/7.7.5/videojs-ie8.min.js
Yiannis Stergiou aa6520daac
Frontent dev env (#247)
* Added frontend development files/environment

* More items-categories related removals

* Improvements in pages templates (inc. static pages)

* Improvements in video player

* Added empty home page message + cta

* Updates in media, playlist and management pages

* Improvements in material icons font loading

* Replaced media & playlists links in frontend dev-env

* frontend package version update

* chnaged frontend dev url port

* static files update

* Changed default position of theme switcher

* enabled frontend docker container
2021-07-11 18:01:34 +03:00

1 line
26 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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