2017-10-14 18:40:54 +02:00
|
|
|
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";function e(){return ct.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function t(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var a;for(a in e)if(e.hasOwnProperty(a))return!1;return!0}function s(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,a){var t,n=[];for(t=0;t<e.length;++t)n.push(a(e[t],t));return n}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function o(e,a){for(var t in a)i(a,t)&&(e[t]=a[t]);return i(a,"toString")&&(e.toString=a.toString),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,t,n){return Re(e,a,t,n,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function l(e){return null==e._pf&&(e._pf=u()),e._pf}function M(e){if(null==e._isValid){var a=l(e),t=Yt.call(a.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(n=n&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function h(e){var a=m(NaN);return null!=e?o(l(a),e):l(a).userInvalidated=!0,a}function L(e,a){var t,n,r;if(s(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),s(a._i)||(e._i=a._i),s(a._f)||(e._f=a._f),s(a._l)||(e._l=a._l),s(a._strict)||(e._strict=a._strict),s(a._tzm)||(e._tzm=a._tzm),s(a._isUTC)||(e._isUTC=a._isUTC),s(a._offset)||(e._offset=a._offset),s(a._pf)||(e._pf=l(a)),s(a._locale)||(e._locale=a._locale),yt.length>0)for(t=0;t<yt.length;t++)s(r=a[n=yt[t]])||(e[n]=r);return e}function c(a){L(this,a),this._d=new Date(null!=a._d?a._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ft&&(ft=!0,e.updateOffset(this),ft=!1)}function Y(e){return e instanceof c||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var a=+e,t=0;return 0!==a&&isFinite(a)&&(t=y(a)),t}function p(e,a,t){var n,s=Math.min(e.length,a.length),r=Math.abs(e.length-a.length),d=0;for(n=0;n<s;n++)(t&&e[n]!==a[n]||!t&&f(e[n])!==f(a[n]))&&d++;return d+r}function k(a){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function D(a,t){var n=!0;return o(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,a),n){for(var s,r=[],d=0;d<arguments.length;d++){if(s="","object"==typeof arguments[d]){s+="\n["+d+"] ";for(var _ in arguments[0])s+=_+": "+arguments[0][_]+", ";s=s.slice(0,-2)}else s=arguments[d];r.push(s)}k(a+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}function T(a,t){null!=e.deprecationHandler&&e.deprecationHandler(a,t),pt[a]||(k(t),pt[a]=!0)}function g(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e,a){var n,s=o({},e);for(n in a)i(a,n)&&(t(e[n])&&t(a[n])?(s[n]={},o(s[n],e[n]),o(s[n],a[n])):null!=a[n]?s[n]=a[n]:delete s[n]);for(n in e)i(e,n)&&!i(a,n)&&t(e[n])&&(s[n]=o({},s[n]));return s}function v(e){null!=e&&this.set(e)}function S(e,a){var t=e.toLowerCase();vt[t]=vt[t+"s"]=vt[a]=e}function H(e){return"string"==typeof e?vt[e]||vt[e.toLowerCase()]:void 0}function b(e){var a,t,n={};for(t in e)i(e,t)&&(a=H(t))&&(n[a]=e[t]);return n}function j(e,a){St[e]=a}function x(e){var a=[];fo
|