@react-querybuilder/antd 4.2.4 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.cjs.js +14 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +360 -226
- package/dist/index.es.js.map +1 -1
- package/dist/types/AntDActionElement.d.ts +6 -3
- package/dist/types/AntDDragHandle.d.ts +5 -2
- package/dist/types/AntDNotToggle.d.ts +5 -2
- package/dist/types/AntDValueEditor.d.ts +1 -1
- package/dist/types/AntDValueSelector.d.ts +6 -3
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Official [react-querybuilder](https://npmjs.com/package/react-querybuilder) components for [Ant Design](https://ant.design/).
|
|
4
4
|
|
|
5
|
-
To see them in action, check out the [`react-querybuilder` demo](https://react-querybuilder.js.org/react-querybuilder
|
|
5
|
+
To see them in action, check out the [`react-querybuilder` demo](https://react-querybuilder.js.org/react-querybuilder/#style=antd) or [load the example in CodeSandbox](https://codesandbox.io/s/github/react-querybuilder/react-querybuilder/tree/main/examples/antd).
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -15,8 +15,8 @@ yarn add react-querybuilder @react-querybuilder/antd @ant-design/icons antd
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
|
-
import QueryBuilder, { RuleGroupType } from 'react-querybuilder';
|
|
19
18
|
import { antdControlElements } from '@react-querybuilder/antd';
|
|
19
|
+
import { QueryBuilder, RuleGroupType } from 'react-querybuilder';
|
|
20
20
|
|
|
21
21
|
const fields = [
|
|
22
22
|
{ name: 'firstName', label: 'First Name' },
|
|
@@ -40,7 +40,7 @@ const App = () => {
|
|
|
40
40
|
You may also want to reduce the width of the value editor component, which is 100% by default, with the following CSS rule:
|
|
41
41
|
|
|
42
42
|
```css
|
|
43
|
-
.ant-input {
|
|
43
|
+
.queryBuilder .ant-input {
|
|
44
44
|
width: auto;
|
|
45
45
|
}
|
|
46
46
|
```
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
|
|
1
|
+
"use strict";var Jr=Object.defineProperty,Qr=Object.defineProperties;var Xr=Object.getOwnPropertyDescriptors;var Ee=Object.getOwnPropertySymbols;var $t=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable;var zt=(e,t,r)=>t in e?Jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,de=(e,t)=>{for(var r in t||(t={}))$t.call(t,r)&&zt(e,r,t[r]);if(Ee)for(var r of Ee(t))Zt.call(t,r)&&zt(e,r,t[r]);return e},Oe=(e,t)=>Qr(e,Xr(t));var ye=(e,t)=>{var r={};for(var s in e)$t.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&Ee)for(var s of Ee(e))t.indexOf(s)<0&&Zt.call(e,s)&&(r[s]=e[s]);return r};Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var L=require("antd"),Qe=require("react"),Kr=require("@ant-design/icons");function es(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var ts=es(Qe),er={exports:{}},Xe={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var rs=ts.default,ss=Symbol.for("react.element"),ns=Symbol.for("react.fragment"),as=Object.prototype.hasOwnProperty,is=rs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,os={key:!0,ref:!0,__self:!0,__source:!0};function tr(e,t,r){var s,n={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(s in t)as.call(t,s)&&!os.hasOwnProperty(s)&&(n[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)n[s]===void 0&&(n[s]=t[s]);return{$$typeof:ss,type:e,key:a,ref:i,props:n,_owner:is.current}}Xe.Fragment=ns;Xe.jsx=tr;Xe.jsxs=tr;er.exports=Xe;const O=er.exports.jsx,$=le=>{var z=le,{className:e,handleOnClick:t,label:r,title:s,disabled:n,disabledTranslation:a,testID:i,rules:d,level:f,path:m,context:k,validation:R}=z,W=ye(z,["className","handleOnClick","label","title","disabled","disabledTranslation","testID","rules","level","path","context","validation"]);return O(L.Button,Oe(de({type:"primary",className:e,title:a&&n?a.title:s,onClick:ue=>t(ue),disabled:n&&!a},W),{children:a&&n?a.label:r}))};$.displayName="AntDActionElement";const Mt=Qe.forwardRef((W,R)=>{var le=W,{className:e,title:t,testID:r,ref:s,level:n,path:a,label:i,disabled:d,context:f,validation:m}=le,k=ye(le,["className","title","testID","ref","level","path","label","disabled","context","validation"]);return O(Kr.HolderOutlined,de({ref:R,className:e,title:t},k))});Mt.displayName="AntDDragHandle";const gt=d=>{var f=d,{className:e,handleOnChange:t,label:r,checked:s,title:n,disabled:a}=f,i=ye(f,["className","handleOnChange","label","checked","title","disabled"]);return O(L.Switch,de({title:n,className:e,onChange:m=>t(m),checked:!!s,disabled:a,checkedChildren:r,unCheckedChildren:"="},i))};gt.displayName="AntDNotToggle";//! moment.js
|
|
10
|
+
//! version : 2.29.3
|
|
3
11
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
12
|
//! license : MIT
|
|
5
13
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+
|
|
14
|
+
var rr;function l(){return rr.apply(null,arguments)}function ls(e){rr=e}function V(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function _e(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function vt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function N(e){return e===void 0}function re(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Fe(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function sr(e,t){var r=[],s,n=e.length;for(s=0;s<n;++s)r.push(t(e[s],s));return r}function ae(e,t){for(var r in t)w(t,r)&&(e[r]=t[r]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function B(e,t,r,s){return Tr(e,t,r,s,!0).utc()}function us(){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 c(e){return e._pf==null&&(e._pf=us()),e._pf}var mt;Array.prototype.some?mt=Array.prototype.some:mt=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Yt(e){if(e._isValid==null){var t=c(e),r=mt.call(t.parsedDateParts,function(n){return n!=null}),s=!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&&r);if(e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s}return e._isValid}function Ke(e){var t=B(NaN);return e!=null?ae(c(t),e):c(t).userInvalidated=!0,t}var qt=l.momentProperties=[],ht=!1;function Ot(e,t){var r,s,n,a=qt.length;if(N(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),N(t._i)||(e._i=t._i),N(t._f)||(e._f=t._f),N(t._l)||(e._l=t._l),N(t._strict)||(e._strict=t._strict),N(t._tzm)||(e._tzm=t._tzm),N(t._isUTC)||(e._isUTC=t._isUTC),N(t._offset)||(e._offset=t._offset),N(t._pf)||(e._pf=c(t)),N(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=qt[r],n=t[s],N(n)||(e[s]=n);return e}function Ae(e){Ot(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ht===!1&&(ht=!0,l.updateOffset(this),ht=!1)}function G(e){return e instanceof Ae||e!=null&&e._isAMomentObject!=null}function nr(e){l.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var r=!0;return ae(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),r){var s=[],n,a,i,d=arguments.length;for(a=0;a<d;a++){if(n="",typeof arguments[a]=="object"){n+=`
|
|
15
|
+
[`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}nr(e+`
|
|
8
16
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var $t={};function er(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),$t[e]||(Kt(t),$t[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function q(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function qr(e){var t,r;for(r in e)w(e,r)&&(t=e[r],q(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ft(e,t){var r=ae({},e),s;for(s in t)w(t,s)&&(de(e[s])&&de(t[s])?(r[s]={},ae(r[s],e[s]),ae(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&de(e[s])&&(r[s]=ae({},r[s]));return r}function pt(e){e!=null&&this.set(e)}var ct;Object.keys?ct=Object.keys:ct=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var Jr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Qr(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return q(s)?s.call(t,r):s}function Z(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var vt=/(\[[^\[]*\])|(\\)?([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,Fe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,lt={},ye={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ye[e]=a),t&&(ye[t[0]]=function(){return Z(a.apply(this,arguments),t[1],t[2])}),r&&(ye[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Xr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Kr(e){var t=e.match(vt),r,s;for(r=0,s=t.length;r<s;r++)ye[t[r]]?t[r]=ye[t[r]]:t[r]=Xr(t[r]);return function(a){var n="",i;for(i=0;i<s;i++)n+=q(t[i])?t[i].call(a,e):t[i];return n}}function Ee(e,t){return e.isValid()?(t=tr(t,e.localeData()),lt[t]=lt[t]||Kr(t),lt[t](e)):e.localeData().invalidDate()}function tr(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Fe.lastIndex=0;r>=0&&Fe.test(e);)e=e.replace(Fe,s),Fe.lastIndex=0,r-=1;return e}var es={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 ts(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(vt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var rs="Invalid date";function ss(){return this._invalidDate}var as="%d",ns=/\d{1,2}/;function is(e){return this._ordinal.replace("%d",e)}var os={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 ls(e,t,r,s){var a=this._relativeTime[r];return q(a)?a(e,t,r,s):a.replace(/%d/i,e)}function us(e,t){var r=this._relativeTime[e>0?"future":"past"];return q(r)?r(t):r.replace(/%s/i,t)}var pe={};function b(e,t){var r=e.toLowerCase();pe[r]=pe[r+"s"]=pe[t]=e}function C(e){return typeof e=="string"?pe[e]||pe[e.toLowerCase()]:void 0}function Yt(e){var t={},r,s;for(s in e)w(e,s)&&(r=C(s),r&&(t[r]=e[s]));return t}var rr={};function P(e,t){rr[e]=t}function ds(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:rr[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}function Ze(e){return e%4===0&&e%100!==0||e%400===0}function A(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=A(t)),r}function Se(e,t){return function(r){return r!=null?(sr(this,e,r),l.updateOffset(this,t),this):Le(this,e)}}function Le(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function sr(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Ze(e.year())&&e.month()===1&&e.date()===29?(r=_(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ke(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function hs(e){return e=C(e),q(this[e])?this[e]():this}function fs(e,t){if(typeof e=="object"){e=Yt(e);var r=ds(e),s;for(s=0;s<r.length;s++)this[r[s].unit](e[r[s].unit])}else if(e=C(e),q(this[e]))return this[e](t);return this}var ar=/\d/,N=/\d\d/,nr=/\d{3}/,Ot=/\d{4}/,Be=/[+-]?\d{6}/,M=/\d\d?/,ir=/\d\d\d\d?/,or=/\d\d\d\d\d\d?/,qe=/\d{1,3}/,Tt=/\d{1,4}/,Je=/[+-]?\d{1,6}/,De=/\d+/,Qe=/[+-]?\d+/,cs=/Z|[+-]\d\d:?\d\d/gi,Xe=/Z|[+-]\d\d(?::?\d\d)?/gi,ms=/[+-]?\d+(\.\d{1,3})?/,Pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,He;He={};function u(e,t,r){He[e]=q(t)?t:function(s,a){return s&&r?r:t}}function _s(e,t){return w(He,e)?He[e](t._strict,t._locale):new RegExp(ys(e))}function ys(e){return W(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function W(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var mt={};function S(e,t){var r,s=t;for(typeof e=="string"&&(e=[e]),te(t)&&(s=function(a,n){n[t]=_(a)}),r=0;r<e.length;r++)mt[e[r]]=s}function Re(e,t){S(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function ws(e,t,r){t!=null&&w(mt,e)&&mt[e](t,r._a,r,e)}var x=0,X=1,$=2,O=3,L=4,K=5,le=6,ks=7,Ss=8;function Ds(e,t){return(e%t+t)%t}var v;Array.prototype.indexOf?v=Array.prototype.indexOf:v=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Ds(t,12);return e+=(t-r)/12,r===1?Ze(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});h("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("month","M");P("month",8);u("M",M);u("MM",M,N);u("MMM",function(e,t){return t.monthsShortRegex(e)});u("MMMM",function(e,t){return t.monthsRegex(e)});S(["M","MM"],function(e,t){t[X]=_(e)-1});S(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[X]=a:c(r).invalidMonth=e});var Ms="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),lr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ur=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gs=Pe,ps=Pe;function vs(e,t){return e?H(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ur).test(t)?"format":"standalone"][e.month()]:H(this._months)?this._months:this._months.standalone}function Ys(e,t){return e?H(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ur.test(t)?"format":"standalone"][e.month()]:H(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Os(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=B([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=v.call(this._shortMonthsParse,i),a!==-1?a:null):(a=v.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=v.call(this._shortMonthsParse,i),a!==-1?a:(a=v.call(this._longMonthsParse,i),a!==-1?a:null)):(a=v.call(this._longMonthsParse,i),a!==-1?a:(a=v.call(this._shortMonthsParse,i),a!==-1?a:null))}function Ts(e,t,r){var s,a,n;if(this._monthsParseExact)return Os.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=B([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function dr(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!te(t))return e}return r=Math.min(e.date(),Ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function hr(e){return e!=null?(dr(this,e),l.updateOffset(this,!0),this):Le(this,"Month")}function xs(){return Ke(this.year(),this.month())}function bs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||fr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=gs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ps(e){return this._monthsParseExact?(w(this,"_monthsRegex")||fr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=ps),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fr(){function e(i,d){return d.length-i.length}var t=[],r=[],s=[],a,n;for(a=0;a<12;a++)n=B([2e3,a]),t.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(t.sort(e),r.sort(e),s.sort(e),a=0;a<12;a++)t[a]=W(t[a]),r[a]=W(r[a]);for(a=0;a<24;a++)s[a]=W(s[a]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?Z(e,4):"+"+e});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");b("year","y");P("year",1);u("Y",Qe);u("YY",M,N);u("YYYY",Tt,Ot);u("YYYYY",Je,Be);u("YYYYYY",Je,Be);S(["YYYYY","YYYYYY"],x);S("YYYY",function(e,t){t[x]=e.length===2?l.parseTwoDigitYear(e):_(e)});S("YY",function(e,t){t[x]=l.parseTwoDigitYear(e)});S("Y",function(e,t){t[x]=parseInt(e,10)});function ve(e){return Ze(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var cr=Se("FullYear",!0);function Rs(){return Ze(this.year())}function Ws(e,t,r,s,a,n,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,a,n,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,a,n,i),d}function Ye(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,r){var s=7+t-r,a=(7+Ye(e,0,s).getUTCDay()-t)%7;return-a+s-1}function mr(e,t,r,s,a){var n=(7+r-s)%7,i=Ue(e,s,a),d=1+7*(t-1)+n+i,f,m;return d<=0?(f=e-1,m=ve(f)+d):d>ve(e)?(f=e+1,m=d-ve(e)):(f=e,m=d),{year:f,dayOfYear:m}}function Oe(e,t,r){var s=Ue(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+ee(i,t,r)):a>ee(e.year(),t,r)?(n=a-ee(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function ee(e,t,r){var s=Ue(e,t,r),a=Ue(e+1,t,r);return(ve(e)-s+a)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");b("week","w");b("isoWeek","W");P("week",5);P("isoWeek",5);u("w",M);u("ww",M,N);u("W",M);u("WW",M,N);Re(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Ns(e){return Oe(e,this._week.dow,this._week.doy).week}var Fs={dow:0,doy:6};function As(){return this._week.dow}function Es(){return this._week.doy}function Cs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Is(e){var t=Oe(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");b("day","d");b("weekday","e");b("isoWeekday","E");P("day",11);P("weekday",11);P("isoWeekday",11);u("d",M);u("e",M);u("E",M);u("dd",function(e,t){return t.weekdaysMinRegex(e)});u("ddd",function(e,t){return t.weekdaysShortRegex(e)});u("dddd",function(e,t){return t.weekdaysRegex(e)});Re(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:c(r).invalidWeekday=e});Re(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function Ls(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Hs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function xt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Us="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vs="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Gs=Pe,js=Pe,zs=Pe;function $s(e,t){var r=H(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?xt(r,this._week.dow):e?r[e.day()]:r}function Zs(e){return e===!0?xt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bs(e){return e===!0?xt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function qs(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=B([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=v.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=v.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=v.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=v.call(this._weekdaysParse,i),a!==-1||(a=v.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=v.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=v.call(this._shortWeekdaysParse,i),a!==-1||(a=v.call(this._weekdaysParse,i),a!==-1)?a:(a=v.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=v.call(this._minWeekdaysParse,i),a!==-1||(a=v.call(this._weekdaysParse,i),a!==-1)?a:(a=v.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function Js(e,t,r){var s,a,n;if(this._weekdaysParseExact)return qs.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=B([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function Qs(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Ls(e,this.localeData()),this.add(e-t,"d")):t}function Xs(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ks(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Hs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function ea(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Gs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ta(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=js),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ra(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bt(){function e(T,G){return G.length-T.length}var t=[],r=[],s=[],a=[],n,i,d,f,m;for(n=0;n<7;n++)i=B([2e3,1]).day(n),d=W(this.weekdaysMin(i,"")),f=W(this.weekdaysShort(i,"")),m=W(this.weekdays(i,"")),t.push(d),r.push(f),s.push(m),a.push(d),a.push(f),a.push(m);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Pt(){return this.hours()%12||12}function sa(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Pt);h("k",["kk",2],0,sa);h("hmm",0,0,function(){return""+Pt.apply(this)+Z(this.minutes(),2)});h("hmmss",0,0,function(){return""+Pt.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)});function yr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}yr("a",!0);yr("A",!1);b("hour","h");P("hour",13);function wr(e,t){return t._meridiemParse}u("a",wr);u("A",wr);u("H",M);u("h",M);u("k",M);u("HH",M,N);u("hh",M,N);u("kk",M,N);u("hmm",ir);u("hmmss",or);u("Hmm",ir);u("Hmmss",or);S(["H","HH"],O);S(["k","kk"],function(e,t,r){var s=_(e);t[O]=s===24?0:s});S(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});S(["h","hh"],function(e,t,r){t[O]=_(e),c(r).bigHour=!0});S("hmm",function(e,t,r){var s=e.length-2;t[O]=_(e.substr(0,s)),t[L]=_(e.substr(s)),c(r).bigHour=!0});S("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[O]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[K]=_(e.substr(a)),c(r).bigHour=!0});S("Hmm",function(e,t,r){var s=e.length-2;t[O]=_(e.substr(0,s)),t[L]=_(e.substr(s))});S("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[O]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[K]=_(e.substr(a))});function aa(e){return(e+"").toLowerCase().charAt(0)==="p"}var na=/[ap]\.?m?\.?/i,ia=Se("Hours",!0);function oa(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var kr={calendar:Jr,longDateFormat:es,invalidDate:rs,ordinal:as,dayOfMonthOrdinalParse:ns,relativeTime:os,months:Ms,monthsShort:lr,week:Fs,weekdays:Us,weekdaysMin:Vs,weekdaysShort:_r,meridiemParse:na},g={},Me={},Te;function la(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Zt(e){return e&&e.toLowerCase().replace("_","-")}function ua(e){for(var t=0,r,s,a,n;t<e.length;){for(n=Zt(e[t]).split("-"),r=n.length,s=Zt(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=et(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&la(n,s)>=r-1)break;r--}t++}return Te}function et(e){var t=null,r;if(g[e]===void 0&&typeof module!="undefined"&&module&&module.exports)try{t=Te._abbr,r=require,r("./locale/"+e),ie(t)}catch{g[e]=null}return g[e]}function ie(e,t){var r;return e&&(R(t)?r=re(e):r=Rt(e,t),r?Te=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Te._abbr}function Rt(e,t){if(t!==null){var r,s=kr;if(t.abbr=e,g[e]!=null)er("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=g[e]._config;else if(t.parentLocale!=null)if(g[t.parentLocale]!=null)s=g[t.parentLocale]._config;else if(r=et(t.parentLocale),r!=null)s=r._config;else return Me[t.parentLocale]||(Me[t.parentLocale]=[]),Me[t.parentLocale].push({name:e,config:t}),null;return g[e]=new pt(ft(s,t)),Me[e]&&Me[e].forEach(function(a){Rt(a.name,a.config)}),ie(e),g[e]}else return delete g[e],null}function da(e,t){if(t!=null){var r,s,a=kr;g[e]!=null&&g[e].parentLocale!=null?g[e].set(ft(g[e]._config,t)):(s=et(e),s!=null&&(a=s._config),t=ft(a,t),s==null&&(t.abbr=e),r=new pt(t),r.parentLocale=g[e],g[e]=r),ie(e)}else g[e]!=null&&(g[e].parentLocale!=null?(g[e]=g[e].parentLocale,e===ie()&&ie(e)):g[e]!=null&&delete g[e]);return g[e]}function re(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Te;if(!H(e)){if(t=et(e),t)return t;e=[e]}return ua(e)}function ha(){return ct(g)}function Wt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[X]<0||r[X]>11?X:r[$]<1||r[$]>Ke(r[x],r[X])?$:r[O]<0||r[O]>24||r[O]===24&&(r[L]!==0||r[K]!==0||r[le]!==0)?O:r[L]<0||r[L]>59?L:r[K]<0||r[K]>59?K:r[le]<0||r[le]>999?le:-1,c(e)._overflowDayOfYear&&(t<x||t>$)&&(t=$),c(e)._overflowWeeks&&t===-1&&(t=ks),c(e)._overflowWeekday&&t===-1&&(t=Ss),c(e).overflow=t),e}var fa=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ca=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ma=/Z|[+-]\d\d(?::?\d\d)?/,Ae=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ut=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_a=/^\/?Date\((-?\d+)/i,ya=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wa={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Sr(e){var t,r,s=e._i,a=fa.exec(s)||ca.exec(s),n,i,d,f;if(a){for(c(e).iso=!0,t=0,r=Ae.length;t<r;t++)if(Ae[t][1].exec(a[1])){i=Ae[t][0],n=Ae[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,r=ut.length;t<r;t++)if(ut[t][1].exec(a[3])){d=(a[2]||" ")+ut[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(ma.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(f||""),Ft(e)}else e._isValid=!1}function ka(e,t,r,s,a,n){var i=[Sa(e),lr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function Sa(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Da(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ma(e,t,r){if(e){var s=_r.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ga(e,t,r){if(e)return wa[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function Dr(e){var t=ya.exec(Da(e._i)),r;if(t){if(r=ka(t[4],t[3],t[2],t[5],t[6],t[7]),!Ma(t[1],r,e))return;e._a=r,e._tzm=ga(t[8],t[9],t[10]),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function pa(e){var t=_a.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Sr(e),e._isValid===!1)delete e._isValid;else return;if(Dr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function me(e,t,r){return e!=null?e:t!=null?t:r}function va(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Nt(e){var t,r,s=[],a,n,i;if(!e._d){for(a=va(e),e._w&&e._a[$]==null&&e._a[X]==null&&Ya(e),e._dayOfYear!=null&&(i=me(e._a[x],a[x]),(e._dayOfYear>ve(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Ye(i,0,e._dayOfYear),e._a[X]=r.getUTCMonth(),e._a[$]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[O]===24&&e._a[L]===0&&e._a[K]===0&&e._a[le]===0&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?Ye:Ws).apply(null,s),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[O]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==n&&(c(e).weekdayMismatch=!0)}}function Ya(e){var t,r,s,a,n,i,d,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,r=me(t.GG,e._a[x],Oe(D(),1,4).year),s=me(t.W,1),a=me(t.E,1),(a<1||a>7)&&(f=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,m=Oe(D(),n,i),r=me(t.gg,e._a[x],m.year),s=me(t.w,m.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(f=!0)):a=n),s<1||s>ee(r,n,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(d=mr(r,s,a,n,i),e._a[x]=d.year,e._dayOfYear=d.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function Ft(e){if(e._f===l.ISO_8601){Sr(e);return}if(e._f===l.RFC_2822){Dr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,a,n,i,d=t.length,f=0,m;for(a=tr(e._f,e._locale).match(vt)||[],r=0;r<a.length;r++)n=a[r],s=(t.match(_s(n,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ye[n]?(s?c(e).empty=!1:c(e).unusedTokens.push(n),ws(n,s,e)):e._strict&&!s&&c(e).unusedTokens.push(n);c(e).charsLeftOver=d-f,t.length>0&&c(e).unusedInput.push(t),e._a[O]<=12&&c(e).bigHour===!0&&e._a[O]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[O]=Oa(e._locale,e._a[O],e._meridiem),m=c(e).era,m!==null&&(e._a[x]=e._locale.erasConvertYear(m,e._a[x])),Nt(e),Wt(e)}function Oa(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Ta(e){var t,r,s,a,n,i,d=!1;if(e._f.length===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<e._f.length;a++)n=0,i=!1,t=gt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ft(t),Mt(t)&&(i=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,d?n<s&&(s=n,r=t):(s==null||n<s||i)&&(s=n,r=t,i&&(d=!0));ae(e,r||t)}function xa(e){if(!e._d){var t=Yt(e._i),r=t.day===void 0?t.date:t.day;e._a=Xt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Nt(e)}}function ba(e){var t=new be(Wt(Mr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Mr(e){var t=e._i,r=e._f;return e._locale=e._locale||re(e._l),t===null||r===void 0&&t===""?$e({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),U(t)?new be(Wt(t)):(xe(t)?e._d=t:H(r)?Ta(e):r?Ft(e):Pa(e),Mt(e)||(e._d=null),e))}function Pa(e){var t=e._i;R(t)?e._d=new Date(l.now()):xe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?pa(e):H(t)?(e._a=Xt(t.slice(0),function(r){return parseInt(r,10)}),Nt(e)):de(t)?xa(e):te(t)?e._d=new Date(t):l.createFromInputFallback(e)}function gr(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(de(e)&&Dt(e)||H(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,ba(n)}function D(e,t,r,s){return gr(e,t,r,s,!1)}var Ra=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:$e()}),Wa=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:$e()});function pr(e,t){var r,s;if(t.length===1&&H(t[0])&&(t=t[0]),!t.length)return D();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Na(){var e=[].slice.call(arguments,0);return pr("isBefore",e)}function Fa(){var e=[].slice.call(arguments,0);return pr("isAfter",e)}var Aa=function(){return Date.now?Date.now():+new Date},ge=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ea(e){var t,r=!1,s;for(t in e)if(w(e,t)&&!(v.call(ge,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<ge.length;++s)if(e[ge[s]]){if(r)return!1;parseFloat(e[ge[s]])!==_(e[ge[s]])&&(r=!0)}return!0}function Ca(){return this._isValid}function Ia(){return V(NaN)}function tt(e){var t=Yt(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,f=t.minute||0,m=t.second||0,T=t.millisecond||0;this._isValid=Ea(t),this._milliseconds=+T+m*1e3+f*6e4+d*1e3*60*60,this._days=+i+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=re(),this._bubble()}function Ce(e){return e instanceof tt}function _t(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function La(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<s;i++)(r&&e[i]!==t[i]||!r&&_(e[i])!==_(t[i]))&&n++;return n+a}function vr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+Z(~~(r/60),2)+t+Z(~~r%60,2)})}vr("Z",":");vr("ZZ","");u("Z",Xe);u("ZZ",Xe);S(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=At(Xe,e)});var Ha=/([\+\-]|\d\d)/gi;function At(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Ha)||["-",0,0],n=+(a[1]*60)+_(a[2]),n===0?0:a[0]==="+"?n:-n)}function Et(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(U(e)||xe(e)?e.valueOf():D(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):D(e).local()}function yt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Ua(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=At(Xe,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=yt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Tr(this,V(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:yt(this)}function Va(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ga(e){return this.utcOffset(0,e)}function ja(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(yt(this),"m")),this}function za(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=At(cs,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function $a(e){return this.isValid()?(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Za(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ba(){if(!R(this._isDSTShifted))return this._isDSTShifted;var e={},t;return gt(e,this),e=Mr(e),e._a?(t=e._isUTC?B(e._a):D(e._a),this._isDSTShifted=this.isValid()&&La(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function qa(){return this.isValid()?!this._isUTC:!1}function Ja(){return this.isValid()?this._isUTC:!1}function Yr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Qa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function V(e,t){var r=e,s=null,a,n,i;return Ce(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:te(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Qa.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:_(s[$])*a,h:_(s[O])*a,m:_(s[L])*a,s:_(s[K])*a,ms:_(_t(s[le]*1e3))*a}):(s=Xa.exec(e))?(a=s[1]==="-"?-1:1,r={y:oe(s[2],a),M:oe(s[3],a),w:oe(s[4],a),d:oe(s[5],a),h:oe(s[6],a),m:oe(s[7],a),s:oe(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=Ka(D(r.from),D(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),n=new tt(r),Ce(e)&&w(e,"_locale")&&(n._locale=e._locale),Ce(e)&&w(e,"_isValid")&&(n._isValid=e._isValid),n}V.fn=tt.prototype;V.invalid=Ia;function oe(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Bt(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ka(e,t){var r;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?r=Bt(e,t):(r=Bt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Or(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(er(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=r,r=s,s=n),a=V(r,s),Tr(this,a,e),this}}function Tr(e,t,r,s){var a=t._milliseconds,n=_t(t._days),i=_t(t._months);!e.isValid()||(s=s==null?!0:s,i&&dr(e,Le(e,"Month")+i*r),n&&sr(e,"Date",Le(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,n||i))}var en=Or(1,"add"),tn=Or(-1,"subtract");function xr(e){return typeof e=="string"||e instanceof String}function rn(e){return U(e)||xe(e)||xr(e)||te(e)||an(e)||sn(e)||e===null||e===void 0}function sn(e){var t=de(e)&&!Dt(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||w(e,n);return t&&r}function an(e){var t=H(e),r=!1;return t&&(r=e.filter(function(s){return!te(s)&&xr(e)}).length===0),t&&r}function nn(e){var t=de(e)&&!Dt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||w(e,n);return t&&r}function on(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function ln(e,t){arguments.length===1&&(arguments[0]?rn(arguments[0])?(e=arguments[0],t=void 0):nn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||D(),s=Et(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",n=t&&(q(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,D(r)))}function un(){return new be(this)}function dn(e,t){var r=U(e)?e:D(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function hn(e,t){var r=U(e)?e:D(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function fn(e,t,r,s){var a=U(e)?e:D(e),n=U(t)?t:D(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function cn(e,t){var r=U(e)?e:D(e),s;return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function mn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _n(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function yn(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=Et(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=C(t),t){case"year":n=Ie(this,s)/12;break;case"month":n=Ie(this,s);break;case"quarter":n=Ie(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:A(n)}function Ie(e,t){if(e.date()<t.date())return-Ie(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function wn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kn(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ee(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ee(r,"Z")):Ee(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Sn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function Dn(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ee(this,e);return this.localeData().postformat(t)}function Mn(e,t){return this.isValid()&&(U(e)&&e.isValid()||D(e).isValid())?V({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gn(e){return this.from(D(),e)}function pn(e,t){return this.isValid()&&(U(e)&&e.isValid()||D(e).isValid())?V({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.to(D(),e)}function br(e){var t;return e===void 0?this._locale._abbr:(t=re(e),t!=null&&(this._locale=t),this)}var Pr=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Rr(){return this._locale}var Ve=1e3,we=60*Ve,Ge=60*we,Wr=(365*400+97)*24*Ge;function ke(e,t){return(e%t+t)%t}function Nr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Wr:new Date(e,t,r).valueOf()}function Fr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Wr:Date.UTC(e,t,r)}function Yn(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fr:Nr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ke(t+(this._isUTC?0:this.utcOffset()*we),Ge);break;case"minute":t=this._d.valueOf(),t-=ke(t,we);break;case"second":t=this._d.valueOf(),t-=ke(t,Ve);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function On(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fr:Nr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ge-ke(t+(this._isUTC?0:this.utcOffset()*we),Ge)-1;break;case"minute":t=this._d.valueOf(),t+=we-ke(t,we)-1;break;case"second":t=this._d.valueOf(),t+=Ve-ke(t,Ve)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Tn(){return this._d.valueOf()-(this._offset||0)*6e4}function xn(){return Math.floor(this.valueOf()/1e3)}function bn(){return new Date(this.valueOf())}function Pn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Rn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Wn(){return this.isValid()?this.toISOString():null}function Nn(){return Mt(this)}function Fn(){return ae({},c(this))}function An(){return c(this).overflow}function En(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");u("N",Ct);u("NN",Ct);u("NNN",Ct);u("NNNN",Zn);u("NNNNN",Bn);S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?c(r).era=a:c(r).invalidEra=e});u("y",De);u("yy",De);u("yyy",De);u("yyyy",De);u("yo",qn);S(["y","yy","yyy","yyyy"],x);S(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[x]=r._locale.eraYearOrdinalParse(e,a):t[x]=parseInt(e,10)});function Cn(e,t){var r,s,a,n=this._eras||re("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=l(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=l(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function In(e,t,r){var s,a,n=this.eras(),i,d,f;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(i=n[s].name.toUpperCase(),d=n[s].abbr.toUpperCase(),f=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[s];break;case"NNNN":if(i===e)return n[s];break;case"NNNNN":if(f===e)return n[s];break}else if([i,d,f].indexOf(e)>=0)return n[s]}function Ln(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Hn(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Un(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Vn(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Gn(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function jn(e){return w(this,"_erasNameRegex")||It.call(this),e?this._erasNameRegex:this._erasRegex}function zn(e){return w(this,"_erasAbbrRegex")||It.call(this),e?this._erasAbbrRegex:this._erasRegex}function $n(e){return w(this,"_erasNarrowRegex")||It.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ct(e,t){return t.erasAbbrRegex(e)}function Zn(e,t){return t.erasNameRegex(e)}function Bn(e,t){return t.erasNarrowRegex(e)}function qn(e,t){return t._eraYearOrdinalRegex||De}function It(){var e=[],t=[],r=[],s=[],a,n,i=this.eras();for(a=0,n=i.length;a<n;++a)t.push(W(i[a].name)),e.push(W(i[a].abbr)),r.push(W(i[a].narrow)),s.push(W(i[a].name)),s.push(W(i[a].abbr)),s.push(W(i[a].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function rt(e,t){h(0,[e,e.length],0,t)}rt("gggg","weekYear");rt("ggggg","weekYear");rt("GGGG","isoWeekYear");rt("GGGGG","isoWeekYear");b("weekYear","gg");b("isoWeekYear","GG");P("weekYear",1);P("isoWeekYear",1);u("G",Qe);u("g",Qe);u("GG",M,N);u("gg",M,N);u("GGGG",Tt,Ot);u("gggg",Tt,Ot);u("GGGGG",Je,Be);u("ggggg",Je,Be);Re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)});Re(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function Jn(e){return Ar.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Qn(e){return Ar.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Xn(){return ee(this.year(),1,4)}function Kn(){return ee(this.isoWeekYear(),1,4)}function ei(){var e=this.localeData()._week;return ee(this.year(),e.dow,e.doy)}function ti(){var e=this.localeData()._week;return ee(this.weekYear(),e.dow,e.doy)}function Ar(e,t,r,s,a){var n;return e==null?Oe(this,s,a).year:(n=ee(e,s,a),t>n&&(t=n),ri.call(this,e,t,r,s,a))}function ri(e,t,r,s,a){var n=mr(e,t,r,s,a),i=Ye(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");b("quarter","Q");P("quarter",7);u("Q",ar);S("Q",function(e,t){t[X]=(_(e)-1)*3});function si(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");b("date","D");P("date",9);u("D",M);u("DD",M,N);u("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});S(["D","DD"],$);S("Do",function(e,t){t[$]=_(e.match(M)[0])});var Er=Se("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");b("dayOfYear","DDD");P("dayOfYear",4);u("DDD",qe);u("DDDD",nr);S(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function ai(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute");b("minute","m");P("minute",14);u("m",M);u("mm",M,N);S(["m","mm"],L);var ni=Se("Minutes",!1);h("s",["ss",2],0,"second");b("second","s");P("second",15);u("s",M);u("ss",M,N);S(["s","ss"],K);var ii=Se("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("millisecond","ms");P("millisecond",16);u("S",qe,ar);u("SS",qe,N);u("SSS",qe,nr);var ne,Cr;for(ne="SSSS";ne.length<=9;ne+="S")u(ne,De);function oi(e,t){t[le]=_(("0."+e)*1e3)}for(ne="S";ne.length<=9;ne+="S")S(ne,oi);Cr=Se("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function li(){return this._isUTC?"UTC":""}function ui(){return this._isUTC?"Coordinated Universal Time":""}var o=be.prototype;o.add=en;o.calendar=ln;o.clone=un;o.diff=yn;o.endOf=On;o.format=Dn;o.from=Mn;o.fromNow=gn;o.to=pn;o.toNow=vn;o.get=hs;o.invalidAt=An;o.isAfter=dn;o.isBefore=hn;o.isBetween=fn;o.isSame=cn;o.isSameOrAfter=mn;o.isSameOrBefore=_n;o.isValid=Nn;o.lang=Pr;o.locale=br;o.localeData=Rr;o.max=Wa;o.min=Ra;o.parsingFlags=Fn;o.set=fs;o.startOf=Yn;o.subtract=tn;o.toArray=Pn;o.toObject=Rn;o.toDate=bn;o.toISOString=kn;o.inspect=Sn;typeof Symbol!="undefined"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Wn;o.toString=wn;o.unix=xn;o.valueOf=Tn;o.creationData=En;o.eraName=Hn;o.eraNarrow=Un;o.eraAbbr=Vn;o.eraYear=Gn;o.year=cr;o.isLeapYear=Rs;o.weekYear=Jn;o.isoWeekYear=Qn;o.quarter=o.quarters=si;o.month=hr;o.daysInMonth=xs;o.week=o.weeks=Cs;o.isoWeek=o.isoWeeks=Is;o.weeksInYear=ei;o.weeksInWeekYear=ti;o.isoWeeksInYear=Xn;o.isoWeeksInISOWeekYear=Kn;o.date=Er;o.day=o.days=Qs;o.weekday=Xs;o.isoWeekday=Ks;o.dayOfYear=ai;o.hour=o.hours=ia;o.minute=o.minutes=ni;o.second=o.seconds=ii;o.millisecond=o.milliseconds=Cr;o.utcOffset=Ua;o.utc=Ga;o.local=ja;o.parseZone=za;o.hasAlignedHourOffset=$a;o.isDST=Za;o.isLocal=qa;o.isUtcOffset=Ja;o.isUtc=Yr;o.isUTC=Yr;o.zoneAbbr=li;o.zoneName=ui;o.dates=E("dates accessor is deprecated. Use date instead.",Er);o.months=E("months accessor is deprecated. Use month instead",hr);o.years=E("years accessor is deprecated. Use year instead",cr);o.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Va);o.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ba);function di(e){return D(e*1e3)}function hi(){return D.apply(null,arguments).parseZone()}function Ir(e){return e}var k=pt.prototype;k.calendar=Qr;k.longDateFormat=ts;k.invalidDate=ss;k.ordinal=is;k.preparse=Ir;k.postformat=Ir;k.relativeTime=ls;k.pastFuture=us;k.set=qr;k.eras=Cn;k.erasParse=In;k.erasConvertYear=Ln;k.erasAbbrRegex=zn;k.erasNameRegex=jn;k.erasNarrowRegex=$n;k.months=vs;k.monthsShort=Ys;k.monthsParse=Ts;k.monthsRegex=Ps;k.monthsShortRegex=bs;k.week=Ns;k.firstDayOfYear=Es;k.firstDayOfWeek=As;k.weekdays=$s;k.weekdaysMin=Bs;k.weekdaysShort=Zs;k.weekdaysParse=Js;k.weekdaysRegex=ea;k.weekdaysShortRegex=ta;k.weekdaysMinRegex=ra;k.isPM=aa;k.meridiem=oa;function je(e,t,r,s){var a=re(),n=B().set(s,t);return a[r](n,e)}function Lr(e,t,r){if(te(e)&&(t=e,e=void 0),e=e||"",t!=null)return je(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=je(e,s,r,"month");return a}function Lt(e,t,r,s){typeof e=="boolean"?(te(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,te(t)&&(r=t,t=void 0),t=t||"");var a=re(),n=e?a._week.dow:0,i,d=[];if(r!=null)return je(t,(r+n)%7,s,"day");for(i=0;i<7;i++)d[i]=je(t,(i+n)%7,s,"day");return d}function fi(e,t){return Lr(e,t,"months")}function ci(e,t){return Lr(e,t,"monthsShort")}function mi(e,t,r){return Lt(e,t,r,"weekdays")}function _i(e,t,r){return Lt(e,t,r,"weekdaysShort")}function yi(e,t,r){return Lt(e,t,r,"weekdaysMin")}ie("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});l.lang=E("moment.lang is deprecated. Use moment.locale instead.",ie);l.langData=E("moment.langData is deprecated. Use moment.localeData instead.",re);var J=Math.abs;function wi(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Hr(e,t,r,s){var a=V(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function ki(e,t){return Hr(this,e,t,1)}function Si(e,t){return Hr(this,e,t,-1)}function qt(e){return e<0?Math.floor(e):Math.ceil(e)}function Di(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,i,d,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=qt(wt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=A(e/1e3),s.seconds=a%60,n=A(a/60),s.minutes=n%60,i=A(n/60),s.hours=i%24,t+=A(i/24),f=A(Ur(t)),r+=f,t-=qt(wt(f)),d=A(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Ur(e){return e*4800/146097}function wt(e){return e*146097/4800}function Mi(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=C(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Ur(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(wt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function gi(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+_(this._months/12)*31536e6:NaN}function se(e){return function(){return this.as(e)}}var pi=se("ms"),vi=se("s"),Yi=se("m"),Oi=se("h"),Ti=se("d"),xi=se("w"),bi=se("M"),Pi=se("Q"),Ri=se("y");function Wi(){return V(this)}function Ni(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function he(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fi=he("milliseconds"),Ai=he("seconds"),Ei=he("minutes"),Ci=he("hours"),Ii=he("days"),Li=he("months"),Hi=he("years");function Ui(){return A(this.days()/7)}var Q=Math.round,_e={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Vi(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Gi(e,t,r,s){var a=V(e).abs(),n=Q(a.as("s")),i=Q(a.as("m")),d=Q(a.as("h")),f=Q(a.as("d")),m=Q(a.as("M")),T=Q(a.as("w")),G=Q(a.as("y")),I=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||i<=1&&["m"]||i<r.m&&["mm",i]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(I=I||T<=1&&["w"]||T<r.w&&["ww",T]),I=I||m<=1&&["M"]||m<r.M&&["MM",m]||G<=1&&["y"]||["yy",G],I[2]=t,I[3]=+e>0,I[4]=s,Vi.apply(null,I)}function ji(e){return e===void 0?Q:typeof e=="function"?(Q=e,!0):!1}function zi(e,t){return _e[e]===void 0?!1:t===void 0?_e[e]:(_e[e]=t,e==="s"&&(_e.ss=t-1),!0)}function $i(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=_e,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},_e,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=Gi(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var dt=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function st(){if(!this.isValid())return this.localeData().invalidDate();var e=dt(this._milliseconds)/1e3,t=dt(this._days),r=dt(this._months),s,a,n,i,d=this.asSeconds(),f,m,T,G;return d?(s=A(e/60),a=A(s/60),e%=60,s%=60,n=A(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",m=ce(this._months)!==ce(d)?"-":"",T=ce(this._days)!==ce(d)?"-":"",G=ce(this._milliseconds)!==ce(d)?"-":"",f+"P"+(n?m+n+"Y":"")+(r?m+r+"M":"")+(t?T+t+"D":"")+(a||s||e?"T":"")+(a?G+a+"H":"")+(s?G+s+"M":"")+(e?G+i+"S":"")):"P0D"}var y=tt.prototype;y.isValid=Ca;y.abs=wi;y.add=ki;y.subtract=Si;y.as=Mi;y.asMilliseconds=pi;y.asSeconds=vi;y.asMinutes=Yi;y.asHours=Oi;y.asDays=Ti;y.asWeeks=xi;y.asMonths=bi;y.asQuarters=Pi;y.asYears=Ri;y.valueOf=gi;y._bubble=Di;y.clone=Wi;y.get=Ni;y.milliseconds=Fi;y.seconds=Ai;y.minutes=Ei;y.hours=Ci;y.days=Ii;y.weeks=Ui;y.months=Li;y.years=Hi;y.humanize=$i;y.toISOString=st;y.toString=st;y.toJSON=st;y.locale=br;y.localeData=Rr;y.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",st);y.lang=Pr;h("X",0,0,"unix");h("x",0,0,"valueOf");u("x",Qe);u("X",ms);S("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});S("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
10
|
-
l.version="2.29.
|
|
17
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Bt={};function ar(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Bt[e]||(nr(t),Bt[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function J(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ds(e){var t,r;for(r in e)w(e,r)&&(t=e[r],J(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function yt(e,t){var r=ae({},e),s;for(s in t)w(t,s)&&(_e(e[s])&&_e(t[s])?(r[s]={},ae(r[s],e[s]),ae(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&_e(e[s])&&(r[s]=ae({},r[s]));return r}function Tt(e){e!=null&&this.set(e)}var wt;Object.keys?wt=Object.keys:wt=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var hs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function fs(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return J(s)?s.call(t,r):s}function q(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var xt=/(\[[^\[]*\])|(\\)?([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,Ue=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ft={},pe={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(pe[e]=n),t&&(pe[t[0]]=function(){return q(n.apply(this,arguments),t[1],t[2])}),r&&(pe[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function cs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _s(e){var t=e.match(xt),r,s;for(r=0,s=t.length;r<s;r++)pe[t[r]]?t[r]=pe[t[r]]:t[r]=cs(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=J(t[i])?t[i].call(n,e):t[i];return a}}function Ve(e,t){return e.isValid()?(t=ir(t,e.localeData()),ft[t]=ft[t]||_s(t),ft[t](e)):e.localeData().invalidDate()}function ir(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(Ue.lastIndex=0;r>=0&&Ue.test(e);)e=e.replace(Ue,s),Ue.lastIndex=0,r-=1;return e}var ms={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 ys(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(xt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ws="Invalid date";function Ss(){return this._invalidDate}var ks="%d",ps=/\d{1,2}/;function Ds(e){return this._ordinal.replace("%d",e)}var Ms={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 gs(e,t,r,s){var n=this._relativeTime[r];return J(n)?n(e,t,r,s):n.replace(/%d/i,e)}function vs(e,t){var r=this._relativeTime[e>0?"future":"past"];return J(r)?r(t):r.replace(/%s/i,t)}var be={};function b(e,t){var r=e.toLowerCase();be[r]=be[r+"s"]=be[t]=e}function U(e){return typeof e=="string"?be[e]||be[e.toLowerCase()]:void 0}function bt(e){var t={},r,s;for(s in e)w(e,s)&&(r=U(s),r&&(t[r]=e[s]));return t}var or={};function P(e,t){or[e]=t}function Ys(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:or[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}function et(e){return e%4===0&&e%100!==0||e%400===0}function C(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=C(t)),r}function ge(e,t){return function(r){return r!=null?(lr(this,e,r),l.updateOffset(this,t),this):ze(this,e)}}function ze(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function lr(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&et(e.year())&&e.month()===1&&e.date()===29?(r=_(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),it(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Os(e){return e=U(e),J(this[e])?this[e]():this}function Ts(e,t){if(typeof e=="object"){e=bt(e);var r=Ys(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=U(e),J(this[e]))return this[e](t);return this}var ur=/\d/,I=/\d\d/,dr=/\d{3}/,Pt=/\d{4}/,tt=/[+-]?\d{6}/,M=/\d\d?/,hr=/\d\d\d\d?/,fr=/\d\d\d\d\d\d?/,rt=/\d{1,3}/,Rt=/\d{1,4}/,st=/[+-]?\d{1,6}/,ve=/\d+/,nt=/[+-]?\d+/,xs=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,bs=/[+-]?\d+(\.\d{1,3})?/,Ie=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,$e;$e={};function u(e,t,r){$e[e]=J(t)?t:function(s,n){return s&&r?r:t}}function Ps(e,t){return w($e,e)?$e[e](t._strict,t._locale):new RegExp(Rs(e))}function Rs(e){return A(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function A(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var St={};function p(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),re(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)St[e[r]]=s}function Le(e,t){p(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function Ns(e,t,r){t!=null&&w(St,e)&&St[e](t,r._a,r,e)}var x=0,K=1,Z=2,T=3,H=4,ee=5,fe=6,Ws=7,Fs=8;function As(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=As(t,12);return e+=(t-r)/12,r===1?et(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});h("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("month","M");P("month",8);u("M",M);u("MM",M,I);u("MMM",function(e,t){return t.monthsShortRegex(e)});u("MMMM",function(e,t){return t.monthsRegex(e)});p(["M","MM"],function(e,t){t[K]=_(e)-1});p(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[K]=n:c(r).invalidMonth=e});var Is="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_r=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ls=Ie,Cs=Ie;function Es(e,t){return e?V(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||_r).test(t)?"format":"standalone"][e.month()]:V(this._months)?this._months:this._months.standalone}function Us(e,t){return e?V(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[_r.test(t)?"format":"standalone"][e.month()]:V(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Hs(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=B([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Vs(e,t,r){var s,n,a;if(this._monthsParseExact)return Hs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=B([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function mr(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!re(t))return e}return r=Math.min(e.date(),it(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function yr(e){return e!=null?(mr(this,e),l.updateOffset(this,!0),this):ze(this,"Month")}function Gs(){return it(this.year(),this.month())}function js(e){return this._monthsParseExact?(w(this,"_monthsRegex")||wr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Ls),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function zs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||wr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Cs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function wr(){function e(i,d){return d.length-i.length}var t=[],r=[],s=[],n,a;for(n=0;n<12;n++)a=B([2e3,n]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),s.push(this.months(a,"")),s.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),s.sort(e),n=0;n<12;n++)t[n]=A(t[n]),r[n]=A(r[n]);for(n=0;n<24;n++)s[n]=A(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?q(e,4):"+"+e});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");b("year","y");P("year",1);u("Y",nt);u("YY",M,I);u("YYYY",Rt,Pt);u("YYYYY",st,tt);u("YYYYYY",st,tt);p(["YYYYY","YYYYYY"],x);p("YYYY",function(e,t){t[x]=e.length===2?l.parseTwoDigitYear(e):_(e)});p("YY",function(e,t){t[x]=l.parseTwoDigitYear(e)});p("Y",function(e,t){t[x]=parseInt(e,10)});function Pe(e){return et(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Sr=ge("FullYear",!0);function $s(){return et(this.year())}function Zs(e,t,r,s,n,a,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,n,a,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,n,a,i),d}function Re(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ze(e,t,r){var s=7+t-r,n=(7+Re(e,0,s).getUTCDay()-t)%7;return-n+s-1}function kr(e,t,r,s,n){var a=(7+r-s)%7,i=Ze(e,s,n),d=1+7*(t-1)+a+i,f,m;return d<=0?(f=e-1,m=Pe(f)+d):d>Pe(e)?(f=e+1,m=d-Pe(e)):(f=e,m=d),{year:f,dayOfYear:m}}function Ne(e,t,r){var s=Ze(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+te(i,t,r)):n>te(e.year(),t,r)?(a=n-te(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function te(e,t,r){var s=Ze(e,t,r),n=Ze(e+1,t,r);return(Pe(e)-s+n)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");b("week","w");b("isoWeek","W");P("week",5);P("isoWeek",5);u("w",M);u("ww",M,I);u("W",M);u("WW",M,I);Le(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function qs(e){return Ne(e,this._week.dow,this._week.doy).week}var Bs={dow:0,doy:6};function Js(){return this._week.dow}function Qs(){return this._week.doy}function Xs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ks(e){var t=Ne(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");b("day","d");b("weekday","e");b("isoWeekday","E");P("day",11);P("weekday",11);P("isoWeekday",11);u("d",M);u("e",M);u("E",M);u("dd",function(e,t){return t.weekdaysMinRegex(e)});u("ddd",function(e,t){return t.weekdaysShortRegex(e)});u("dddd",function(e,t){return t.weekdaysRegex(e)});Le(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:c(r).invalidWeekday=e});Le(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function en(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function tn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var rn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),pr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nn=Ie,an=Ie,on=Ie;function ln(e,t){var r=V(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Nt(r,this._week.dow):e?r[e.day()]:r}function un(e){return e===!0?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function dn(e){return e===!0?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function hn(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=B([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function fn(e,t,r){var s,n,a;if(this._weekdaysParseExact)return hn.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=B([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function cn(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=en(e,this.localeData()),this.add(e-t,"d")):t}function _n(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function mn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=tn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function yn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=nn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=an),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Sn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=on),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Wt(){function e(k,R){return R.length-k.length}var t=[],r=[],s=[],n=[],a,i,d,f,m;for(a=0;a<7;a++)i=B([2e3,1]).day(a),d=A(this.weekdaysMin(i,"")),f=A(this.weekdaysShort(i,"")),m=A(this.weekdays(i,"")),t.push(d),r.push(f),s.push(m),n.push(d),n.push(f),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ft(){return this.hours()%12||12}function kn(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Ft);h("k",["kk",2],0,kn);h("hmm",0,0,function(){return""+Ft.apply(this)+q(this.minutes(),2)});h("hmmss",0,0,function(){return""+Ft.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)});function Dr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Dr("a",!0);Dr("A",!1);b("hour","h");P("hour",13);function Mr(e,t){return t._meridiemParse}u("a",Mr);u("A",Mr);u("H",M);u("h",M);u("k",M);u("HH",M,I);u("hh",M,I);u("kk",M,I);u("hmm",hr);u("hmmss",fr);u("Hmm",hr);u("Hmmss",fr);p(["H","HH"],T);p(["k","kk"],function(e,t,r){var s=_(e);t[T]=s===24?0:s});p(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});p(["h","hh"],function(e,t,r){t[T]=_(e),c(r).bigHour=!0});p("hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s)),c(r).bigHour=!0});p("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s,2)),t[ee]=_(e.substr(n)),c(r).bigHour=!0});p("Hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s))});p("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s,2)),t[ee]=_(e.substr(n))});function pn(e){return(e+"").toLowerCase().charAt(0)==="p"}var Dn=/[ap]\.?m?\.?/i,Mn=ge("Hours",!0);function gn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var gr={calendar:hs,longDateFormat:ms,invalidDate:ws,ordinal:ks,dayOfMonthOrdinalParse:ps,relativeTime:Ms,months:Is,monthsShort:cr,week:Bs,weekdays:rn,weekdaysMin:sn,weekdaysShort:pr,meridiemParse:Dn},v={},Te={},We;function vn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Jt(e){return e&&e.toLowerCase().replace("_","-")}function Yn(e){for(var t=0,r,s,n,a;t<e.length;){for(a=Jt(e[t]).split("-"),r=a.length,s=Jt(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=ot(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&vn(a,s)>=r-1)break;r--}t++}return We}function On(e){return e.match("^[^/\\\\]*$")!=null}function ot(e){var t=null,r;if(v[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&On(e))try{t=We._abbr,r=require,r("./locale/"+e),oe(t)}catch{v[e]=null}return v[e]}function oe(e,t){var r;return e&&(N(t)?r=se(e):r=At(e,t),r?We=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),We._abbr}function At(e,t){if(t!==null){var r,s=gr;if(t.abbr=e,v[e]!=null)ar("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=ot(t.parentLocale),r!=null)s=r._config;else return Te[t.parentLocale]||(Te[t.parentLocale]=[]),Te[t.parentLocale].push({name:e,config:t}),null;return v[e]=new Tt(yt(s,t)),Te[e]&&Te[e].forEach(function(n){At(n.name,n.config)}),oe(e),v[e]}else return delete v[e],null}function Tn(e,t){if(t!=null){var r,s,n=gr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(yt(v[e]._config,t)):(s=ot(e),s!=null&&(n=s._config),t=yt(n,t),s==null&&(t.abbr=e),r=new Tt(t),r.parentLocale=v[e],v[e]=r),oe(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===oe()&&oe(e)):v[e]!=null&&delete v[e]);return v[e]}function se(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return We;if(!V(e)){if(t=ot(e),t)return t;e=[e]}return Yn(e)}function xn(){return wt(v)}function It(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[K]<0||r[K]>11?K:r[Z]<1||r[Z]>it(r[x],r[K])?Z:r[T]<0||r[T]>24||r[T]===24&&(r[H]!==0||r[ee]!==0||r[fe]!==0)?T:r[H]<0||r[H]>59?H:r[ee]<0||r[ee]>59?ee:r[fe]<0||r[fe]>999?fe:-1,c(e)._overflowDayOfYear&&(t<x||t>Z)&&(t=Z),c(e)._overflowWeeks&&t===-1&&(t=Ws),c(e)._overflowWeekday&&t===-1&&(t=Fs),c(e).overflow=t),e}var bn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Rn=/Z|[+-]\d\d(?::?\d\d)?/,He=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ct=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Nn=/^\/?Date\((-?\d+)/i,Wn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Fn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function vr(e){var t,r,s=e._i,n=bn.exec(s)||Pn.exec(s),a,i,d,f,m=He.length,k=ct.length;if(n){for(c(e).iso=!0,t=0,r=m;t<r;t++)if(He[t][1].exec(n[1])){i=He[t][0],a=He[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=k;t<r;t++)if(ct[t][1].exec(n[3])){d=(n[2]||" ")+ct[t][0];break}if(d==null){e._isValid=!1;return}}if(!a&&d!=null){e._isValid=!1;return}if(n[4])if(Rn.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(f||""),Ct(e)}else e._isValid=!1}function An(e,t,r,s,n,a){var i=[In(e),cr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ln(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,r){if(e){var s=pr.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function En(e,t,r){if(e)return Fn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function Yr(e){var t=Wn.exec(Ln(e._i)),r;if(t){if(r=An(t[4],t[3],t[2],t[5],t[6],t[7]),!Cn(t[1],r,e))return;e._a=r,e._tzm=En(t[8],t[9],t[10]),e._d=Re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function Un(e){var t=Nn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(vr(e),e._isValid===!1)delete e._isValid;else return;if(Yr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Se(e,t,r){return e!=null?e:t!=null?t:r}function Hn(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Lt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=Hn(e),e._w&&e._a[Z]==null&&e._a[K]==null&&Vn(e),e._dayOfYear!=null&&(i=Se(e._a[x],n[x]),(e._dayOfYear>Pe(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Re(i,0,e._dayOfYear),e._a[K]=r.getUTCMonth(),e._a[Z]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[T]===24&&e._a[H]===0&&e._a[ee]===0&&e._a[fe]===0&&(e._nextDay=!0,e._a[T]=0),e._d=(e._useUTC?Re:Zs).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[T]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(c(e).weekdayMismatch=!0)}}function Vn(e){var t,r,s,n,a,i,d,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=Se(t.GG,e._a[x],Ne(D(),1,4).year),s=Se(t.W,1),n=Se(t.E,1),(n<1||n>7)&&(f=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Ne(D(),a,i),r=Se(t.gg,e._a[x],m.year),s=Se(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(f=!0)):n=a),s<1||s>te(r,a,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(d=kr(r,s,n,a,i),e._a[x]=d.year,e._dayOfYear=d.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function Ct(e){if(e._f===l.ISO_8601){vr(e);return}if(e._f===l.RFC_2822){Yr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,n,a,i,d=t.length,f=0,m,k;for(n=ir(e._f,e._locale).match(xt)||[],k=n.length,r=0;r<k;r++)a=n[r],s=(t.match(Ps(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),pe[a]?(s?c(e).empty=!1:c(e).unusedTokens.push(a),Ns(a,s,e)):e._strict&&!s&&c(e).unusedTokens.push(a);c(e).charsLeftOver=d-f,t.length>0&&c(e).unusedInput.push(t),e._a[T]<=12&&c(e).bigHour===!0&&e._a[T]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[T]=Gn(e._locale,e._a[T],e._meridiem),m=c(e).era,m!==null&&(e._a[x]=e._locale.erasConvertYear(m,e._a[x])),Lt(e),It(e)}function Gn(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function jn(e){var t,r,s,n,a,i,d=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<f;n++)a=0,i=!1,t=Ot({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Ct(t),Yt(t)&&(i=!0),a+=c(t).charsLeftOver,a+=c(t).unusedTokens.length*10,c(t).score=a,d?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(d=!0));ae(e,r||t)}function zn(e){if(!e._d){var t=bt(e._i),r=t.day===void 0?t.date:t.day;e._a=sr([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Lt(e)}}function $n(e){var t=new Ae(It(Or(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Or(e){var t=e._i,r=e._f;return e._locale=e._locale||se(e._l),t===null||r===void 0&&t===""?Ke({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),G(t)?new Ae(It(t)):(Fe(t)?e._d=t:V(r)?jn(e):r?Ct(e):Zn(e),Yt(e)||(e._d=null),e))}function Zn(e){var t=e._i;N(t)?e._d=new Date(l.now()):Fe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Un(e):V(t)?(e._a=sr(t.slice(0),function(r){return parseInt(r,10)}),Lt(e)):_e(t)?zn(e):re(t)?e._d=new Date(t):l.createFromInputFallback(e)}function Tr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(_e(e)&&vt(e)||V(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,$n(a)}function D(e,t,r,s){return Tr(e,t,r,s,!1)}var qn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ke()}),Bn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ke()});function xr(e,t){var r,s;if(t.length===1&&V(t[0])&&(t=t[0]),!t.length)return D();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Jn(){var e=[].slice.call(arguments,0);return xr("isBefore",e)}function Qn(){var e=[].slice.call(arguments,0);return xr("isAfter",e)}var Xn=function(){return Date.now?Date.now():+new Date},xe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Kn(e){var t,r=!1,s,n=xe.length;for(t in e)if(w(e,t)&&!(Y.call(xe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[xe[s]]){if(r)return!1;parseFloat(e[xe[s]])!==_(e[xe[s]])&&(r=!0)}return!0}function ea(){return this._isValid}function ta(){return j(NaN)}function lt(e){var t=bt(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,f=t.minute||0,m=t.second||0,k=t.millisecond||0;this._isValid=Kn(t),this._milliseconds=+k+m*1e3+f*6e4+d*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=se(),this._bubble()}function Ge(e){return e instanceof lt}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ra(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)(r&&e[i]!==t[i]||!r&&_(e[i])!==_(t[i]))&&a++;return a+n}function br(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+q(~~(r/60),2)+t+q(~~r%60,2)})}br("Z",":");br("ZZ","");u("Z",at);u("ZZ",at);p(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Et(at,e)});var sa=/([\+\-]|\d\d)/gi;function Et(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(sa)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Ut(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(G(e)||Fe(e)?e.valueOf():D(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):D(e).local()}function pt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function na(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Et(at,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=pt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?Nr(this,j(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:pt(this)}function aa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ia(e){return this.utcOffset(0,e)}function oa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pt(this),"m")),this}function la(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Et(xs,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ua(e){return this.isValid()?(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function da(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ha(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ot(e,this),e=Or(e),e._a?(t=e._isUTC?B(e._a):D(e._a),this._isDSTShifted=this.isValid()&&ra(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fa(){return this.isValid()?!this._isUTC:!1}function ca(){return this.isValid()?this._isUTC:!1}function Pr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var _a=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ma=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function j(e,t){var r=e,s=null,n,a,i;return Ge(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:re(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=_a.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[Z])*n,h:_(s[T])*n,m:_(s[H])*n,s:_(s[ee])*n,ms:_(kt(s[fe]*1e3))*n}):(s=ma.exec(e))?(n=s[1]==="-"?-1:1,r={y:he(s[2],n),M:he(s[3],n),w:he(s[4],n),d:he(s[5],n),h:he(s[6],n),m:he(s[7],n),s:he(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=ya(D(r.from),D(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new lt(r),Ge(e)&&w(e,"_locale")&&(a._locale=e._locale),Ge(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}j.fn=lt.prototype;j.invalid=ta;function he(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Qt(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function ya(e,t){var r;return e.isValid()&&t.isValid()?(t=Ut(t,e),e.isBefore(t)?r=Qt(e,t):(r=Qt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Rr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(ar(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=s,s=a),n=j(r,s),Nr(this,n,e),this}}function Nr(e,t,r,s){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);!e.isValid()||(s=s==null?!0:s,i&&mr(e,ze(e,"Month")+i*r),a&&lr(e,"Date",ze(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&l.updateOffset(e,a||i))}var wa=Rr(1,"add"),Sa=Rr(-1,"subtract");function Wr(e){return typeof e=="string"||e instanceof String}function ka(e){return G(e)||Fe(e)||Wr(e)||re(e)||Da(e)||pa(e)||e===null||e===void 0}function pa(e){var t=_e(e)&&!vt(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function Da(e){var t=V(e),r=!1;return t&&(r=e.filter(function(s){return!re(s)&&Wr(e)}).length===0),t&&r}function Ma(e){var t=_e(e)&&!vt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function ga(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function va(e,t){arguments.length===1&&(arguments[0]?ka(arguments[0])?(e=arguments[0],t=void 0):Ma(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||D(),s=Ut(r,this).startOf("day"),n=l.calendarFormat(this,s)||"sameElse",a=t&&(J(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,D(r)))}function Ya(){return new Ae(this)}function Oa(e,t){var r=G(e)?e:D(e);return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Ta(e,t){var r=G(e)?e:D(e);return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function xa(e,t,r,s){var n=G(e)?e:D(e),a=G(t)?t:D(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function ba(e,t){var r=G(e)?e:D(e),s;return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Pa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ra(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Na(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Ut(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=U(t),t){case"year":a=je(this,s)/12;break;case"month":a=je(this,s);break;case"quarter":a=je(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:C(a)}function je(e,t){if(e.date()<t.date())return-je(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Wa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Fa(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ve(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):J(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ve(r,"Z")):Ve(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Aa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function Ia(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ve(this,e);return this.localeData().postformat(t)}function La(e,t){return this.isValid()&&(G(e)&&e.isValid()||D(e).isValid())?j({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ca(e){return this.from(D(),e)}function Ea(e,t){return this.isValid()&&(G(e)&&e.isValid()||D(e).isValid())?j({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ua(e){return this.to(D(),e)}function Fr(e){var t;return e===void 0?this._locale._abbr:(t=se(e),t!=null&&(this._locale=t),this)}var Ar=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ir(){return this._locale}var qe=1e3,De=60*qe,Be=60*De,Lr=(365*400+97)*24*Be;function Me(e,t){return(e%t+t)%t}function Cr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Lr:new Date(e,t,r).valueOf()}function Er(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Lr:Date.UTC(e,t,r)}function Ha(e){var t,r;if(e=U(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Er:Cr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Me(t+(this._isUTC?0:this.utcOffset()*De),Be);break;case"minute":t=this._d.valueOf(),t-=Me(t,De);break;case"second":t=this._d.valueOf(),t-=Me(t,qe);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Va(e){var t,r;if(e=U(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Er:Cr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Be-Me(t+(this._isUTC?0:this.utcOffset()*De),Be)-1;break;case"minute":t=this._d.valueOf(),t+=De-Me(t,De)-1;break;case"second":t=this._d.valueOf(),t+=qe-Me(t,qe)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ga(){return this._d.valueOf()-(this._offset||0)*6e4}function ja(){return Math.floor(this.valueOf()/1e3)}function za(){return new Date(this.valueOf())}function $a(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Za(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function qa(){return this.isValid()?this.toISOString():null}function Ba(){return Yt(this)}function Ja(){return ae({},c(this))}function Qa(){return c(this).overflow}function Xa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");u("N",Ht);u("NN",Ht);u("NNN",Ht);u("NNNN",ui);u("NNNNN",di);p(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?c(r).era=n:c(r).invalidEra=e});u("y",ve);u("yy",ve);u("yyy",ve);u("yyyy",ve);u("yo",hi);p(["y","yy","yyy","yyyy"],x);p(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[x]=r._locale.eraYearOrdinalParse(e,n):t[x]=parseInt(e,10)});function Ka(e,t){var r,s,n,a=this._eras||se("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=l(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=l(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function ei(e,t,r){var s,n,a=this.eras(),i,d,f;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),d=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([i,d,f].indexOf(e)>=0)return a[s]}function ti(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function ri(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function si(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function ni(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function ai(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-l(n[e].since).year())*r+n[e].offset;return this.year()}function ii(e){return w(this,"_erasNameRegex")||Vt.call(this),e?this._erasNameRegex:this._erasRegex}function oi(e){return w(this,"_erasAbbrRegex")||Vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function li(e){return w(this,"_erasNarrowRegex")||Vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ht(e,t){return t.erasAbbrRegex(e)}function ui(e,t){return t.erasNameRegex(e)}function di(e,t){return t.erasNarrowRegex(e)}function hi(e,t){return t._eraYearOrdinalRegex||ve}function Vt(){var e=[],t=[],r=[],s=[],n,a,i=this.eras();for(n=0,a=i.length;n<a;++n)t.push(A(i[n].name)),e.push(A(i[n].abbr)),r.push(A(i[n].narrow)),s.push(A(i[n].name)),s.push(A(i[n].abbr)),s.push(A(i[n].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ut(e,t){h(0,[e,e.length],0,t)}ut("gggg","weekYear");ut("ggggg","weekYear");ut("GGGG","isoWeekYear");ut("GGGGG","isoWeekYear");b("weekYear","gg");b("isoWeekYear","GG");P("weekYear",1);P("isoWeekYear",1);u("G",nt);u("g",nt);u("GG",M,I);u("gg",M,I);u("GGGG",Rt,Pt);u("gggg",Rt,Pt);u("GGGGG",st,tt);u("ggggg",st,tt);Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)});Le(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function fi(e){return Ur.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ci(e){return Ur.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function _i(){return te(this.year(),1,4)}function mi(){return te(this.isoWeekYear(),1,4)}function yi(){var e=this.localeData()._week;return te(this.year(),e.dow,e.doy)}function wi(){var e=this.localeData()._week;return te(this.weekYear(),e.dow,e.doy)}function Ur(e,t,r,s,n){var a;return e==null?Ne(this,s,n).year:(a=te(e,s,n),t>a&&(t=a),Si.call(this,e,t,r,s,n))}function Si(e,t,r,s,n){var a=kr(e,t,r,s,n),i=Re(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");b("quarter","Q");P("quarter",7);u("Q",ur);p("Q",function(e,t){t[K]=(_(e)-1)*3});function ki(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");b("date","D");P("date",9);u("D",M);u("DD",M,I);u("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});p(["D","DD"],Z);p("Do",function(e,t){t[Z]=_(e.match(M)[0])});var Hr=ge("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");b("dayOfYear","DDD");P("dayOfYear",4);u("DDD",rt);u("DDDD",dr);p(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function pi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute");b("minute","m");P("minute",14);u("m",M);u("mm",M,I);p(["m","mm"],H);var Di=ge("Minutes",!1);h("s",["ss",2],0,"second");b("second","s");P("second",15);u("s",M);u("ss",M,I);p(["s","ss"],ee);var Mi=ge("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("millisecond","ms");P("millisecond",16);u("S",rt,ur);u("SS",rt,I);u("SSS",rt,dr);var ie,Vr;for(ie="SSSS";ie.length<=9;ie+="S")u(ie,ve);function gi(e,t){t[fe]=_(("0."+e)*1e3)}for(ie="S";ie.length<=9;ie+="S")p(ie,gi);Vr=ge("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function vi(){return this._isUTC?"UTC":""}function Yi(){return this._isUTC?"Coordinated Universal Time":""}var o=Ae.prototype;o.add=wa;o.calendar=va;o.clone=Ya;o.diff=Na;o.endOf=Va;o.format=Ia;o.from=La;o.fromNow=Ca;o.to=Ea;o.toNow=Ua;o.get=Os;o.invalidAt=Qa;o.isAfter=Oa;o.isBefore=Ta;o.isBetween=xa;o.isSame=ba;o.isSameOrAfter=Pa;o.isSameOrBefore=Ra;o.isValid=Ba;o.lang=Ar;o.locale=Fr;o.localeData=Ir;o.max=Bn;o.min=qn;o.parsingFlags=Ja;o.set=Ts;o.startOf=Ha;o.subtract=Sa;o.toArray=$a;o.toObject=Za;o.toDate=za;o.toISOString=Fa;o.inspect=Aa;typeof Symbol!="undefined"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=qa;o.toString=Wa;o.unix=ja;o.valueOf=Ga;o.creationData=Xa;o.eraName=ri;o.eraNarrow=si;o.eraAbbr=ni;o.eraYear=ai;o.year=Sr;o.isLeapYear=$s;o.weekYear=fi;o.isoWeekYear=ci;o.quarter=o.quarters=ki;o.month=yr;o.daysInMonth=Gs;o.week=o.weeks=Xs;o.isoWeek=o.isoWeeks=Ks;o.weeksInYear=yi;o.weeksInWeekYear=wi;o.isoWeeksInYear=_i;o.isoWeeksInISOWeekYear=mi;o.date=Hr;o.day=o.days=cn;o.weekday=_n;o.isoWeekday=mn;o.dayOfYear=pi;o.hour=o.hours=Mn;o.minute=o.minutes=Di;o.second=o.seconds=Mi;o.millisecond=o.milliseconds=Vr;o.utcOffset=na;o.utc=ia;o.local=oa;o.parseZone=la;o.hasAlignedHourOffset=ua;o.isDST=da;o.isLocal=fa;o.isUtcOffset=ca;o.isUtc=Pr;o.isUTC=Pr;o.zoneAbbr=vi;o.zoneName=Yi;o.dates=E("dates accessor is deprecated. Use date instead.",Hr);o.months=E("months accessor is deprecated. Use month instead",yr);o.years=E("years accessor is deprecated. Use year instead",Sr);o.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",aa);o.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ha);function Oi(e){return D(e*1e3)}function Ti(){return D.apply(null,arguments).parseZone()}function Gr(e){return e}var S=Tt.prototype;S.calendar=fs;S.longDateFormat=ys;S.invalidDate=Ss;S.ordinal=Ds;S.preparse=Gr;S.postformat=Gr;S.relativeTime=gs;S.pastFuture=vs;S.set=ds;S.eras=Ka;S.erasParse=ei;S.erasConvertYear=ti;S.erasAbbrRegex=oi;S.erasNameRegex=ii;S.erasNarrowRegex=li;S.months=Es;S.monthsShort=Us;S.monthsParse=Vs;S.monthsRegex=zs;S.monthsShortRegex=js;S.week=qs;S.firstDayOfYear=Qs;S.firstDayOfWeek=Js;S.weekdays=ln;S.weekdaysMin=dn;S.weekdaysShort=un;S.weekdaysParse=fn;S.weekdaysRegex=yn;S.weekdaysShortRegex=wn;S.weekdaysMinRegex=Sn;S.isPM=pn;S.meridiem=gn;function Je(e,t,r,s){var n=se(),a=B().set(s,t);return n[r](a,e)}function jr(e,t,r){if(re(e)&&(t=e,e=void 0),e=e||"",t!=null)return Je(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Je(e,s,r,"month");return n}function Gt(e,t,r,s){typeof e=="boolean"?(re(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,re(t)&&(r=t,t=void 0),t=t||"");var n=se(),a=e?n._week.dow:0,i,d=[];if(r!=null)return Je(t,(r+a)%7,s,"day");for(i=0;i<7;i++)d[i]=Je(t,(i+a)%7,s,"day");return d}function xi(e,t){return jr(e,t,"months")}function bi(e,t){return jr(e,t,"monthsShort")}function Pi(e,t,r){return Gt(e,t,r,"weekdays")}function Ri(e,t,r){return Gt(e,t,r,"weekdaysShort")}function Ni(e,t,r){return Gt(e,t,r,"weekdaysMin")}oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});l.lang=E("moment.lang is deprecated. Use moment.locale instead.",oe);l.langData=E("moment.langData is deprecated. Use moment.localeData instead.",se);var Q=Math.abs;function Wi(){var e=this._data;return this._milliseconds=Q(this._milliseconds),this._days=Q(this._days),this._months=Q(this._months),e.milliseconds=Q(e.milliseconds),e.seconds=Q(e.seconds),e.minutes=Q(e.minutes),e.hours=Q(e.hours),e.months=Q(e.months),e.years=Q(e.years),this}function zr(e,t,r,s){var n=j(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Fi(e,t){return zr(this,e,t,1)}function Ai(e,t){return zr(this,e,t,-1)}function Xt(e){return e<0?Math.floor(e):Math.ceil(e)}function Ii(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,d,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Xt(Dt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=C(e/1e3),s.seconds=n%60,a=C(n/60),s.minutes=a%60,i=C(a/60),s.hours=i%24,t+=C(i/24),f=C($r(t)),r+=f,t-=Xt(Dt(f)),d=C(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function $r(e){return e*4800/146097}function Dt(e){return e*146097/4800}function Li(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=U(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+$r(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Dt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ci(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+_(this._months/12)*31536e6:NaN}function ne(e){return function(){return this.as(e)}}var Ei=ne("ms"),Ui=ne("s"),Hi=ne("m"),Vi=ne("h"),Gi=ne("d"),ji=ne("w"),zi=ne("M"),$i=ne("Q"),Zi=ne("y");function qi(){return j(this)}function Bi(e){return e=U(e),this.isValid()?this[e+"s"]():NaN}function me(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ji=me("milliseconds"),Qi=me("seconds"),Xi=me("minutes"),Ki=me("hours"),eo=me("days"),to=me("months"),ro=me("years");function so(){return C(this.days()/7)}var X=Math.round,ke={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function ao(e,t,r,s){var n=j(e).abs(),a=X(n.as("s")),i=X(n.as("m")),d=X(n.as("h")),f=X(n.as("d")),m=X(n.as("M")),k=X(n.as("w")),R=X(n.as("y")),W=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(W=W||k<=1&&["w"]||k<r.w&&["ww",k]),W=W||m<=1&&["M"]||m<r.M&&["MM",m]||R<=1&&["y"]||["yy",R],W[2]=t,W[3]=+e>0,W[4]=s,no.apply(null,W)}function io(e){return e===void 0?X:typeof e=="function"?(X=e,!0):!1}function oo(e,t){return ke[e]===void 0?!1:t===void 0?ke[e]:(ke[e]=t,e==="s"&&(ke.ss=t-1),!0)}function lo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=ke,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},ke,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=ao(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var _t=Math.abs;function we(e){return(e>0)-(e<0)||+e}function dt(){if(!this.isValid())return this.localeData().invalidDate();var e=_t(this._milliseconds)/1e3,t=_t(this._days),r=_t(this._months),s,n,a,i,d=this.asSeconds(),f,m,k,R;return d?(s=C(e/60),n=C(s/60),e%=60,s%=60,a=C(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",m=we(this._months)!==we(d)?"-":"",k=we(this._days)!==we(d)?"-":"",R=we(this._milliseconds)!==we(d)?"-":"",f+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?k+t+"D":"")+(n||s||e?"T":"")+(n?R+n+"H":"")+(s?R+s+"M":"")+(e?R+i+"S":"")):"P0D"}var y=lt.prototype;y.isValid=ea;y.abs=Wi;y.add=Fi;y.subtract=Ai;y.as=Li;y.asMilliseconds=Ei;y.asSeconds=Ui;y.asMinutes=Hi;y.asHours=Vi;y.asDays=Gi;y.asWeeks=ji;y.asMonths=zi;y.asQuarters=$i;y.asYears=Zi;y.valueOf=Ci;y._bubble=Ii;y.clone=qi;y.get=Bi;y.milliseconds=Ji;y.seconds=Qi;y.minutes=Xi;y.hours=Ki;y.days=eo;y.weeks=so;y.months=to;y.years=ro;y.humanize=lo;y.toISOString=dt;y.toString=dt;y.toJSON=dt;y.locale=Fr;y.localeData=Ir;y.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",dt);y.lang=Ar;h("X",0,0,"unix");h("x",0,0,"valueOf");u("x",nt);u("X",bs);p("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});p("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
18
|
+
l.version="2.29.3";ls(D);l.fn=o;l.min=Jn;l.max=Qn;l.now=Xn;l.utc=B;l.unix=Oi;l.months=xi;l.isDate=Fe;l.locale=oe;l.invalid=Ke;l.duration=j;l.isMoment=G;l.weekdays=Pi;l.parseZone=Ti;l.localeData=se;l.isDuration=Ge;l.monthsShort=bi;l.weekdaysMin=Ni;l.defineLocale=At;l.updateLocale=Tn;l.locales=xn;l.weekdaysShort=Ri;l.normalizeUnits=U;l.relativeTimeRounding=io;l.relativeTimeThreshold=oo;l.calendarFormat=ga;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"};const{OptGroup:uo,Option:Kt}=L.Select,ho=e=>Array.isArray(e)&&e.length>0&&"options"in e[0],fo=e=>ho(e)?e.map(t=>O(uo,{label:t.label,children:t.options.map(r=>O(Kt,{value:r.name,children:r.label},r.name))},t.label)):Array.isArray(e)?e.map(t=>O(Kt,{value:t.name,children:t.label},t.name)):null,ce=g=>{var F=g,{className:e,handleOnChange:t,options:r,value:s,title:n,disabled:a,multiple:i,testID:d,rules:f,level:m,path:k,context:R,validation:W,operator:le,field:z,fieldData:ue}=F,Ce=ye(F,["className","handleOnChange","options","value","title","disabled","multiple","testID","rules","level","path","context","validation","operator","field","fieldData"]);const Zr=Qe.useMemo(()=>i?Ye=>t(Array.isArray(Ye)?Ye.join(","):Ye):Ye=>t(Ye),[t,i]),qr=i?Array.isArray(s)?s:s==null?void 0:s.split(","):s,Br=i?{mode:"multiple"}:{};return O("span",{title:n,className:e,children:O(L.Select,Oe(de(Oe(de({},Br),{dropdownMatchSelectWidth:!1,disabled:a,value:qr,onChange:Zr}),Ce),{children:fo(r)}))})};ce.displayName="AntDValueSelector";const jt=W=>{var le=W,{fieldData:e,operator:t,value:r,handleOnChange:s,title:n,className:a,type:i,inputType:d,values:f,valueSource:m,disabled:k}=le,R=ye(le,["fieldData","operator","value","handleOnChange","title","className","type","inputType","values","valueSource","disabled"]);var Ce;if(Qe.useEffect(()=>{d==="number"&&!["between","notBetween","in","notIn"].includes(t)&&typeof r=="string"&&r.includes(",")&&s("")},[d,t,r,s]),t==="null"||t==="notNull")return null;const z=(Ce=e==null?void 0:e.placeholder)!=null?Ce:"",ue=["between","notBetween","in","notIn"].includes(t)&&!["date","datetime-local"].includes(`${d}`)?"text":d||"text";switch(i){case"select":case"multiselect":return O(ce,Oe(de({},R),{className:a,handleOnChange:s,options:f,value:r,title:n,disabled:k,multiple:i==="multiselect"}));case"textarea":return O(L.Input.TextArea,{value:r,title:n,className:a,disabled:k,placeholder:z,onChange:g=>s(g.target.value)});case"switch":return O(L.Switch,{checked:!!r,title:n,className:a,disabled:k,onChange:g=>s(g)});case"checkbox":return O("span",{title:n,className:a,children:O(L.Checkbox,{type:"checkbox",disabled:k,onChange:g=>s(g.target.checked),checked:!!r})});case"radio":return O("span",{className:a,title:n,children:f.map(g=>O(L.Radio,{value:g.name,checked:r===g.name,disabled:k,onChange:F=>s(F.target.value),children:g.label},g.name))})}switch(ue){case"date":case"datetime-local":return t==="between"||t==="notBetween"?O(L.DatePicker.RangePicker,{value:typeof r=="string"&&/^[^,]+,[^,]+$/.test(r)?r.split(",").map(g=>l(g)):void 0,showTime:ue==="datetime-local",className:a,disabled:k,placeholder:[z,z],onChange:g=>s(g==null?void 0:g.map(F=>F==null?void 0:F.format(l.HTML5_FMT.DATE)).join(","))}):O(L.DatePicker,{value:r?l(r):null,showTime:ue==="datetime-local",className:a,disabled:k,placeholder:z,onChange:(g,F)=>s(F)});case"time":return O(L.TimePicker,{value:r?l(r,"HH:mm:ss"):null,className:a,disabled:k,placeholder:z,onChange:g=>{var F;return s((F=g==null?void 0:g.format("HH:mm:ss"))!=null?F:"")}})}return O(L.Input,{type:ue,value:r,title:n,className:a,disabled:k,placeholder:z,onChange:g=>s(g.target.value)})};jt.displayName="AntDValueEditor";const co={addGroupAction:$,addRuleAction:$,cloneGroupAction:$,cloneRuleAction:$,lockGroupAction:$,lockRuleAction:$,combinatorSelector:ce,fieldSelector:ce,notToggle:gt,operatorSelector:ce,removeGroupAction:$,removeRuleAction:$,valueEditor:jt,dragHandle:Mt,valueSourceSelector:ce};exports.AntDActionElement=$;exports.AntDDragHandle=Mt;exports.AntDNotToggle=gt;exports.AntDValueEditor=jt;exports.AntDValueSelector=ce;exports.antdControlElements=co;
|
|
11
19
|
//# sourceMappingURL=index.cjs.js.map
|