Agriculture-front-end/dist/assets/moment.9709ab41.js

11 lines
58 KiB
JavaScript
Raw Normal View History

2023-06-06 10:46:36 +08:00
//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Nt;function l(){return Nt.apply(null,arguments)}function Ds(e){Nt=e}function I(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ae(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(y(e,t))return!1;return!0}function x(e){return e===void 0}function q(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function De(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Wt(e,t){var s=[],r,a=e.length;for(r=0;r<a;++r)s.push(t(e[r],r));return s}function K(e,t){for(var s in t)y(t,s)&&(e[s]=t[s]);return y(t,"toString")&&(e.toString=t.toString),y(t,"valueOf")&&(e.valueOf=t.valueOf),e}function A(e,t,s,r){return ts(e,t,s,r,!0).utc()}function gs(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(e){return e._pf==null&&(e._pf=gs()),e._pf}var Xe;Array.prototype.some?Xe=Array.prototype.some:Xe=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function it(e){if(e._isValid==null){var t=f(e),s=Xe.call(t.parsedDateParts,function(a){return a!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Ie(e){var t=A(NaN);return e!=null?K(f(t),e):f(t).userInvalidated=!0,t}var pt=l.momentProperties=[],Be=!1;function ot(e,t){var s,r,a,n=pt.length;if(x(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),x(t._i)||(e._i=t._i),x(t._f)||(e._f=t._f),x(t._l)||(e._l=t._l),x(t._strict)||(e._strict=t._strict),x(t._tzm)||(e._tzm=t._tzm),x(t._isUTC)||(e._isUTC=t._isUTC),x(t._offset)||(e._offset=t._offset),x(t._pf)||(e._pf=f(t)),x(t._locale)||(e._locale=t._locale),n>0)for(s=0;s<n;s++)r=pt[s],a=t[r],x(a)||(e[r]=a);return e}function ge(e){ot(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Be===!1&&(Be=!0,l.updateOffset(this),Be=!1)}function C(e){return e instanceof ge||e!=null&&e._isAMomentObject!=null}function Pt(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function R(e,t){var s=!0;return K(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),s){var r=[],a,n,i,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
[`+n+"] ";for(i in arguments[0])y(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];r.push(a)}Pt(e+`
Arguments: `+Array.prototype.slice.call(r).join("")+`
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ot={};function Rt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Ot[e]||(Pt(t),Ot[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function V(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function vs(e){var t,s;for(s in e)y(e,s)&&(t=e[s],V(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ke(e,t){var s=K({},e),r;for(r in t)y(t,r)&&(ae(e[r])&&ae(t[r])?(s[r]={},K(s[r],e[r]),K(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)y(e,r)&&!y(t,r)&&ae(e[r])&&(s[r]=K({},s[r]));return s}function lt(e){e!=null&&this.set(e)}var et;Object.keys?et=Object.keys:et=function(e){var t,s=[];for(t in e)y(e,t)&&s.push(t);return s};var Ys={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ps(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return V(r)?r.call(t,s):r}function H(e,t,s){var r=""+Math.abs(e),a=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var ut=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qe={},ue={};function h(e,t,s,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(ue[e]=a),t&&(ue[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),s&&(ue[s]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Os(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ts(e){var t=e.match(ut),s,r;for(s=0,r=t.length;s<r;s++)ue[t[s]]?t[s]=ue[t[s]]:t[s]=Os(t[s]);return function(a){var n="",i;for(i=0;i<r;i++)n+=V(t[i])?t[i].call(a,e):t[i];return n}}function Te(e,t){return e.isValid()?(t=Ft(t,e.localeData()),qe[t]=qe[t]||Ts(t),qe[t](e)):e.localeData().invalidDate()}function Ft(e,t){var s=5;function r(a){return t.longDateFormat(a)||a}for(pe.lastIndex=0;s>=0&&pe.test(e);)e=e.replace(pe,r),pe.lastIndex=0,s-=1;return e}var bs={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xs(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(ut).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Ns="Invalid date";function Ws(){return this._invalidDate}var Ps="%d",Rs=/\d{1,2}/;function Fs(e){return this._ordinal.replace("%d",e)}var Ls={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Is(e,t,s,r){var a=this._relativeTime[s];return V(a)?a(e,t,s,r):a.replace(/%d/i,e)}function Cs(e,t){var s=this._relativeTime[e>0?"future":"past"];return V(s)?s(t):s.replace(/%s/i,t)}var ye={};function O(e,t){var s=e.toLowerCase();ye[s]=ye[s+"s"]=ye[t]=e}function F(e){return typeof e=="string"?ye[e]||ye[e.toLowerCase()]:void 0}function dt(e){var t={},s,r;for(r in e)y(e,r)&&(s=F(r),s&&(t[s]=e[r]));return t}var Lt={};function T(e,t){Lt[e]=t}function Us(e){var t=[],s;for(s in e)y(e,s)&&t.push({unit:s,priority:Lt[s]});return t.sort(function(r,a){return r.priority-a.priority}),t}function Ce(e){return e%4===0&&e%100!==0||e%400===0}function P(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=P(t)),s}function fe(e,t){return function(s){return s!=null?(It(this,e,s),l.updateOffset(this,t),this):Ne(this,e)}}function Ne(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function It(e,t,s){e.isValid()&&!isNaN(s)&&(t==
l.version="2.29.4";Ds(M);l.fn=o;l.min=la;l.max=ua;l.now=da;l.utc=A;l.unix=En;l.months=An;l.isDate=De;l.locale=te;l.invalid=Ie;l.duration=U;l.isMoment=C;l.weekdays=Gn;l.parseZone=Hn;l.localeData=J;l.isDuration=be;l.monthsShort=Vn;l.weekdaysMin=zn;l.defineLocale=yt;l.updateLocale=Er;l.locales=Hr;l.weekdaysShort=jn;l.normalizeUnits=F;l.relativeTimeRounding=ki;l.relativeTimeThreshold=Mi;l.calendarFormat=La;l.prototype=o;l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};export{l as h};