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