@pisell/layout
Version:
基于 Fusion 设计系统的自然布局体系
11 lines • 2.18 MB
JavaScript
!function(n){var t={};function a(e){if(t[e])return t[e].exports;var s=t[e]={i:e,l:!1,exports:{}};return n[e].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=n,a.c=t,a.d=function(n,t,e){a.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},a.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},a.t=function(n,t){if(1&t&&(n=a(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(a.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var s in n)a.d(e,s,function(t){return n[t]}.bind(null,s));return e},a.n=function(n){var t=n&&n.__esModule?function t(){return n.default}:function t(){return n};return a.d(t,"a",t),t},a.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},a.p="",a(a.s=439)}([function(n,t,a){"use strict";n.exports=a(694)},function(n,t,a){var e,s;n.exports=a(705)()},function(n,t,a){"use strict";t.__esModule=!0;var e,s=o(a(711));function o(n){return n&&n.__esModule?n:{default:n}}t.default=s.default||function(n){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(n[e]=a[e])}return n}},function(n,t,a){var e,s;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var a={}.hasOwnProperty,o="[native code]";function r(){for(var n=[],t=0;t<arguments.length;t++){var e=arguments[t];if(e){var s=typeof e;if("string"===s||"number"===s)n.push(e);else if(Array.isArray(e)){if(e.length){var o=r.apply(null,e);o&&n.push(o)}}else if("object"===s){if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]")){n.push(e.toString());continue}for(var p in e)a.call(e,p)&&e[p]&&n.push(p)}}}return n.join(" ")}n.exports?(r.default=r,n.exports=r):void 0===(s=function(){return r}.apply(t,e=[]))||(n.exports=s)}()},function(n,t,a){"use strict";t.__esModule=!0;var e,s=o(a(13));function o(n){return n&&n.__esModule?n:{default:n}}t.default=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,s.default)(t))&&"function"!=typeof t?n:t}},function(n,t,a){"use strict";t.__esModule=!0,t.default=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}},function(n,t,a){"use strict";t.__esModule=!0;var e,s=i(a(741)),o,r=i(a(745)),p,l=i(a(13));function i(n){return n&&n.__esModule?n:{default:n}}t.default=function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,l.default)(t)));n.prototype=(0,r.default)(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(s.default?(0,s.default)(n,t):n.__proto__=t)}},function(n,t,a){"use strict";t.__esModule=!0,t.default=function(n,t){var a={};for(var e in n)t.indexOf(e)>=0||Object.prototype.hasOwnProperty.call(n,e)&&(a[e]=n[e]);return a}},function(n,t,a){(function(n){var t,e,s;//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
e=this,s=function(){"use strict";var t,e;function s(){return t.apply(null,arguments)}function o(n){t=n}function r(n){return n instanceof Array||"[object Array]"===Object.prototype.toString.call(n)}function p(n){return null!=n&&"[object Object]"===Object.prototype.toString.call(n)}function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function i(n){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(n).length;var t;for(t in n)if(l(n,t))return!1;return!0}function c(n){return void 0===n}function u(n){return"number"==typeof n||"[object Number]"===Object.prototype.toString.call(n)}function d(n){return n instanceof Date||"[object Date]"===Object.prototype.toString.call(n)}function f(n,t){var a=[],e,s=n.length;for(e=0;e<s;++e)a.push(t(n[e],e));return a}function m(n,t){for(var a in t)l(t,a)&&(n[a]=t[a]);return l(t,"toString")&&(n.toString=t.toString),l(t,"valueOf")&&(n.valueOf=t.valueOf),n}function k(n,t,a,e){return Ga(n,t,a,e,!0).utc()}function h(){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 g(n){return null==n._pf&&(n._pf={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}),n._pf}function y(n){if(null==n._isValid){var t=g(n),a=e.call(t.parsedDateParts,(function(n){return null!=n})),s=!isNaN(n._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&&a);if(n._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(n))return s;n._isValid=s}return n._isValid}function v(n){var t=k(NaN);return null!=n?m(g(t),n):g(t).userInvalidated=!0,t}e=Array.prototype.some?Array.prototype.some:function(n){var t=Object(this),a=t.length>>>0,e;for(e=0;e<a;e++)if(e in t&&n.call(this,t[e],e,t))return!0;return!1};var b=s.momentProperties=[],_=!1;function w(n,t){var a,e,s,o=b.length;if(c(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),c(t._i)||(n._i=t._i),c(t._f)||(n._f=t._f),c(t._l)||(n._l=t._l),c(t._strict)||(n._strict=t._strict),c(t._tzm)||(n._tzm=t._tzm),c(t._isUTC)||(n._isUTC=t._isUTC),c(t._offset)||(n._offset=t._offset),c(t._pf)||(n._pf=g(t)),c(t._locale)||(n._locale=t._locale),o>0)for(a=0;a<o;a++)c(s=t[e=b[a]])||(n[e]=s);return n}function x(n){w(this,n),this._d=new Date(null!=n._d?n._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,s.updateOffset(this),_=!1)}function M(n){return n instanceof x||null!=n&&null!=n._isAMomentObject}function T(n){!1===s.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+n)}function S(n,t){var a=!0;return m((function(){if(null!=s.deprecationHandler&&s.deprecationHandler(null,n),a){var e=[],o,r,p,i=arguments.length;for(r=0;r<i;r++){if(o="","object"==typeof arguments[r]){for(p in o+="\n["+r+"] ",arguments[0])l(arguments[0],p)&&(o+=p+": "+arguments[0][p]+", ");o=o.slice(0,-2)}else o=arguments[r];e.push(o)}T(n+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),a=!1}return t.apply(this,arguments)}),t)}var E={},C;function L(n,t){null!=s.deprecationHandler&&s.deprecationHandler(n,t),E[n]||(T(t),E[n]=!0)}function P(n){return"undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n)}function D(n){var t,a;for(a in n)l(n,a)&&(P(t=n[a])?this[a]=t:this["_"+a]=t);this._config=n,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function O(n,t){var a=m({},n),e;for(e in t)l(t,e)&&(p(n[e])&&p(t[e])?(a[e]={},m(a[e],n[e]),m(a[e],t[e])):null!=t[e]?a[e]=t[e]:delete a[e]);for(e in n)l(n,e)&&!l(t,e)&&p(n[e])&&(a[e]=m({},a[e]));return a}function Y(n){null!=n&&this.set(n)}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,C=Object.keys?Object.keys:function(n){var t,a=[];for(t in n)l(n,t)&&a.push(t);return a};var j={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(n,t,a){var e=this._calendar[n]||this._calendar.sameElse;return P(e)?e.call(t,a):e}function A(n,t,a){var e=""+Math.abs(n),s=t-e.length,o;return(n>=0?a?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+e}var R=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},F={};function B(n,t,a,e){var s=e;"string"==typeof e&&(s=function(){return this[e]()}),n&&(F[n]=s),t&&(F[t[0]]=function(){return A(s.apply(this,arguments),t[1],t[2])}),a&&(F[a]=function(){return this.localeData().ordinal(s.apply(this,arguments),n)})}function z(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function W(n){var t=n.match(R),a,e;for(a=0,e=t.length;a<e;a++)F[t[a]]?t[a]=F[t[a]]:t[a]=z(t[a]);return function(a){var s="",o;for(o=0;o<e;o++)s+=P(t[o])?t[o].call(a,n):t[o];return s}}function V(n,t){return n.isValid()?(t=q(t,n.localeData()),H[t]=H[t]||W(t),H[t](n)):n.localeData().invalidDate()}function q(n,t){var a=5;function e(n){return t.longDateFormat(n)||n}for(I.lastIndex=0;a>=0&&I.test(n);)n=n.replace(I,e),I.lastIndex=0,a-=1;return n}var U={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 K(n){var t=this._longDateFormat[n],a=this._longDateFormat[n.toUpperCase()];return t||!a?t:(this._longDateFormat[n]=a.match(R).map((function(n){return"MMMM"===n||"MM"===n||"DD"===n||"dddd"===n?n.slice(1):n})).join(""),this._longDateFormat[n])}var X="Invalid date";function G(){return this._invalidDate}var $="%d",J=/\d{1,2}/;function Z(n){return this._ordinal.replace("%d",n)}var Q={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 nn(n,t,a,e){var s=this._relativeTime[a];return P(s)?s(n,t,a,e):s.replace(/%d/i,n)}function tn(n,t){var a=this._relativeTime[n>0?"future":"past"];return P(a)?a(t):a.replace(/%s/i,t)}var an={};function en(n,t){var a=n.toLowerCase();an[a]=an[a+"s"]=an[t]=n}function sn(n){return"string"==typeof n?an[n]||an[n.toLowerCase()]:void 0}function on(n){var t={},a,e;for(e in n)l(n,e)&&(a=sn(e))&&(t[a]=n[e]);return t}var rn={};function pn(n,t){rn[n]=t}function ln(n){var t=[],a;for(a in n)l(n,a)&&t.push({unit:a,priority:rn[a]});return t.sort((function(n,t){return n.priority-t.priority})),t}function cn(n){return n%4==0&&n%100!=0||n%400==0}function un(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function dn(n){var t=+n,a=0;return 0!==t&&isFinite(t)&&(a=un(t)),a}function fn(n,t){return function(a){return null!=a?(kn(this,n,a),s.updateOffset(this,t),this):mn(this,n)}}function mn(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function kn(n,t,a){n.isValid()&&!isNaN(a)&&("FullYear"===t&&cn(n.year())&&1===n.month()&&29===n.date()?(a=dn(a),n._d["set"+(n._isUTC?"UTC":"")+t](a,n.month(),tt(a,n.month()))):n._d["set"+(n._isUTC?"UTC":"")+t](a))}function hn(n){return P(this[n=sn(n)])?this[n]():this}function gn(n,t){if("object"==typeof n){var a=ln(n=on(n)),e,s=a.length;for(e=0;e<s;e++)this[a[e].unit](n[a[e].unit])}else if(P(this[n=sn(n)]))return this[n](t);return this}var yn=/\d/,vn=/\d\d/,bn=/\d{3}/,_n=/\d{4}/,wn=/[+-]?\d{6}/,xn=/\d\d?/,Mn=/\d\d\d\d?/,Tn=/\d\d\d\d\d\d?/,Sn=/\d{1,3}/,En=/\d{1,4}/,Cn=/[+-]?\d{1,6}/,Ln=/\d+/,Pn=/[+-]?\d+/,Dn=/Z|[+-]\d\d:?\d\d/gi,On=/Z|[+-]\d\d(?::?\d\d)?/gi,Yn=/[+-]?\d+(\.\d{1,3})?/,jn=/[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,Nn;function An(n,t,a){Nn[n]=P(t)?t:function(n,e){return n&&a?a:t}}function Rn(n,t){return l(Nn,n)?Nn[n](t._strict,t._locale):new RegExp(In(n))}function In(n){return Hn(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(n,t,a,e,s){return t||a||e||s})))}function Hn(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Nn={};var Fn={};function Bn(n,t){var a,e=t,s;for("string"==typeof n&&(n=[n]),u(t)&&(e=function(n,a){a[t]=dn(n)}),s=n.length,a=0;a<s;a++)Fn[n[a]]=e}function zn(n,t){Bn(n,(function(n,a,e,s){e._w=e._w||{},t(n,e._w,e,s)}))}function Wn(n,t,a){null!=t&&l(Fn,n)&&Fn[n](t,a._a,a,n)}var Vn=0,qn=1,Un=2,Kn=3,Xn=4,Gn=5,$n=6,Jn=7,Zn=8,Qn;function nt(n,t){return(n%t+t)%t}function tt(n,t){if(isNaN(n)||isNaN(t))return NaN;var a=nt(t,12);return n+=(t-a)/12,1===a?cn(n)?29:28:31-a%7%2}Qn=Array.prototype.indexOf?Array.prototype.indexOf:function(n){var t;for(t=0;t<this.length;++t)if(this[t]===n)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(n){return this.localeData().monthsShort(this,n)})),B("MMMM",0,0,(function(n){return this.localeData().months(this,n)})),en("month","M"),pn("month",8),An("M",xn),An("MM",xn,vn),An("MMM",(function(n,t){return t.monthsShortRegex(n)})),An("MMMM",(function(n,t){return t.monthsRegex(n)})),Bn(["M","MM"],(function(n,t){t[1]=dn(n)-1})),Bn(["MMM","MMMM"],(function(n,t,a,e){var s=a._locale.monthsParse(n,e,a._strict);null!=s?t[1]=s:g(a).invalidMonth=n}));var at="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),et="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),st=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ot=jn,rt=jn;function pt(n,t){return n?r(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][n.month()]:r(this._months)?this._months:this._months.standalone}function lt(n,t){return n?r(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[st.test(t)?"format":"standalone"][n.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function it(n,t,a){var e,s,o,r=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)o=k([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(o,"").toLocaleLowerCase();return a?"MMM"===t?-1!==(s=Qn.call(this._shortMonthsParse,r))?s:null:-1!==(s=Qn.call(this._longMonthsParse,r))?s:null:"MMM"===t?-1!==(s=Qn.call(this._shortMonthsParse,r))||-1!==(s=Qn.call(this._longMonthsParse,r))?s:null:-1!==(s=Qn.call(this._longMonthsParse,r))||-1!==(s=Qn.call(this._shortMonthsParse,r))?s:null}function ct(n,t,a){var e,s,o;if(this._monthsParseExact)return it.call(this,n,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(s=k([2e3,e]),a&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),a||this._monthsParse[e]||(o="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[e]=new RegExp(o.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[e].test(n))return e;if(a&&"MMM"===t&&this._shortMonthsParse[e].test(n))return e;if(!a&&this._monthsParse[e].test(n))return e}}function ut(n,t){var a;if(!n.isValid())return n;if("string"==typeof t)if(/^\d+$/.test(t))t=dn(t);else if(!u(t=n.localeData().monthsParse(t)))return n;return a=Math.min(n.date(),tt(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,a),n}function dt(n){return null!=n?(ut(this,n),s.updateOffset(this,!0),this):mn(this,"Month")}function ft(){return tt(this.year(),this.month())}function mt(n){return this._monthsParseExact?(l(this,"_monthsRegex")||ht.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function kt(n){return this._monthsParseExact?(l(this,"_monthsRegex")||ht.call(this),n?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=rt),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function ht(){function n(n,t){return t.length-n.length}var t=[],a=[],e=[],s,o;for(s=0;s<12;s++)o=k([2e3,s]),t.push(this.monthsShort(o,"")),a.push(this.months(o,"")),e.push(this.months(o,"")),e.push(this.monthsShort(o,""));for(t.sort(n),a.sort(n),e.sort(n),s=0;s<12;s++)t[s]=Hn(t[s]),a[s]=Hn(a[s]);for(s=0;s<24;s++)e[s]=Hn(e[s]);this._monthsRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function gt(n){return cn(n)?366:365}B("Y",0,0,(function(){var n=this.year();return n<=9999?A(n,4):"+"+n})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),en("year","y"),pn("year",1),An("Y",Pn),An("YY",xn,vn),An("YYYY",En,_n),An("YYYYY",Cn,wn),An("YYYYYY",Cn,wn),Bn(["YYYYY","YYYYYY"],0),Bn("YYYY",(function(n,t){t[0]=2===n.length?s.parseTwoDigitYear(n):dn(n)})),Bn("YY",(function(n,t){t[0]=s.parseTwoDigitYear(n)})),Bn("Y",(function(n,t){t[0]=parseInt(n,10)})),s.parseTwoDigitYear=function(n){return dn(n)+(dn(n)>68?1900:2e3)};var yt=fn("FullYear",!0);function vt(){return cn(this.year())}function bt(n,t,a,e,s,o,r){var p;return n<100&&n>=0?(p=new Date(n+400,t,a,e,s,o,r),isFinite(p.getFullYear())&&p.setFullYear(n)):p=new Date(n,t,a,e,s,o,r),p}function _t(n){var t,a;return n<100&&n>=0?((a=Array.prototype.slice.call(arguments))[0]=n+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(n,t,a){var e=7+t-a,s;return-(7+_t(n,0,e).getUTCDay()-t)%7+e-1}function xt(n,t,a,e,s){var o,r,p=1+7*(t-1)+(7+a-e)%7+wt(n,e,s),l,i;return p<=0?i=gt(l=n-1)+p:p>gt(n)?(l=n+1,i=p-gt(n)):(l=n,i=p),{year:l,dayOfYear:i}}function Mt(n,t,a){var e=wt(n.year(),t,a),s=Math.floor((n.dayOfYear()-e-1)/7)+1,o,r;return s<1?o=s+Tt(r=n.year()-1,t,a):s>Tt(n.year(),t,a)?(o=s-Tt(n.year(),t,a),r=n.year()+1):(r=n.year(),o=s),{week:o,year:r}}function Tt(n,t,a){var e=wt(n,t,a),s=wt(n+1,t,a);return(gt(n)-e+s)/7}function St(n){return Mt(n,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),en("week","w"),en("isoWeek","W"),pn("week",5),pn("isoWeek",5),An("w",xn),An("ww",xn,vn),An("W",xn),An("WW",xn,vn),zn(["w","ww","W","WW"],(function(n,t,a,e){t[e.substr(0,1)]=dn(n)}));var Et={dow:0,doy:6};function Ct(){return this._week.dow}function Lt(){return this._week.doy}function Pt(n){var t=this.localeData().week(this);return null==n?t:this.add(7*(n-t),"d")}function Dt(n){var t=Mt(this,1,4).week;return null==n?t:this.add(7*(n-t),"d")}function Ot(n,t){return"string"!=typeof n?n:isNaN(n)?"number"==typeof(n=t.weekdaysParse(n))?n:null:parseInt(n,10)}function Yt(n,t){return"string"==typeof n?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function jt(n,t){return n.slice(t,7).concat(n.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(n){return this.localeData().weekdaysMin(this,n)})),B("ddd",0,0,(function(n){return this.localeData().weekdaysShort(this,n)})),B("dddd",0,0,(function(n){return this.localeData().weekdays(this,n)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),en("day","d"),en("weekday","e"),en("isoWeekday","E"),pn("day",11),pn("weekday",11),pn("isoWeekday",11),An("d",xn),An("e",xn),An("E",xn),An("dd",(function(n,t){return t.weekdaysMinRegex(n)})),An("ddd",(function(n,t){return t.weekdaysShortRegex(n)})),An("dddd",(function(n,t){return t.weekdaysRegex(n)})),zn(["dd","ddd","dddd"],(function(n,t,a,e){var s=a._locale.weekdaysParse(n,e,a._strict);null!=s?t.d=s:g(a).invalidWeekday=n})),zn(["d","e","E"],(function(n,t,a,e){t[e]=dn(n)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=jn,Ht=jn,Ft=jn;function Bt(n,t){var a=r(this._weekdays)?this._weekdays:this._weekdays[n&&!0!==n&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===n?jt(a,this._week.dow):n?a[n.day()]:a}function zt(n){return!0===n?jt(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function Wt(n){return!0===n?jt(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function Vt(n,t,a){var e,s,o,r=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)o=k([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(o,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(s=Qn.call(this._weekdaysParse,r))?s:null:"ddd"===t?-1!==(s=Qn.call(this._shortWeekdaysParse,r))?s:null:-1!==(s=Qn.call(this._minWeekdaysParse,r))?s:null:"dddd"===t?-1!==(s=Qn.call(this._weekdaysParse,r))||-1!==(s=Qn.call(this._shortWeekdaysParse,r))||-1!==(s=Qn.call(this._minWeekdaysParse,r))?s:null:"ddd"===t?-1!==(s=Qn.call(this._shortWeekdaysParse,r))||-1!==(s=Qn.call(this._weekdaysParse,r))||-1!==(s=Qn.call(this._minWeekdaysParse,r))?s:null:-1!==(s=Qn.call(this._minWeekdaysParse,r))||-1!==(s=Qn.call(this._weekdaysParse,r))||-1!==(s=Qn.call(this._shortWeekdaysParse,r))?s:null}function qt(n,t,a){var e,s,o;if(this._weekdaysParseExact)return Vt.call(this,n,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(s=k([2e3,1]).day(e),a&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(o="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[e]=new RegExp(o.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[e].test(n))return e;if(a&&"ddd"===t&&this._shortWeekdaysParse[e].test(n))return e;if(a&&"dd"===t&&this._minWeekdaysParse[e].test(n))return e;if(!a&&this._weekdaysParse[e].test(n))return e}}function Ut(n){if(!this.isValid())return null!=n?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=n?(n=Ot(n,this.localeData()),this.add(n-t,"d")):t}function Kt(n){if(!this.isValid())return null!=n?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==n?t:this.add(n-t,"d")}function Xt(n){if(!this.isValid())return null!=n?this:NaN;if(null!=n){var t=Yt(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function n(n,t){return t.length-n.length}var t=[],a=[],e=[],s=[],o,r,p,l,i;for(o=0;o<7;o++)r=k([2e3,1]).day(o),p=Hn(this.weekdaysMin(r,"")),l=Hn(this.weekdaysShort(r,"")),i=Hn(this.weekdays(r,"")),t.push(p),a.push(l),e.push(i),s.push(p),s.push(l),s.push(i);t.sort(n),a.sort(n),e.sort(n),s.sort(n),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Qt(){return this.hours()%12||12}function na(){return this.hours()||24}function ta(n,t){B(n,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function aa(n,t){return t._meridiemParse}function ea(n){return"p"===(n+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Qt),B("k",["kk",2],0,na),B("hmm",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),ta("a",!0),ta("A",!1),en("hour","h"),pn("hour",13),An("a",aa),An("A",aa),An("H",xn),An("h",xn),An("k",xn),An("HH",xn,vn),An("hh",xn,vn),An("kk",xn,vn),An("hmm",Mn),An("hmmss",Tn),An("Hmm",Mn),An("Hmmss",Tn),Bn(["H","HH"],3),Bn(["k","kk"],(function(n,t,a){var e=dn(n);t[3]=24===e?0:e})),Bn(["a","A"],(function(n,t,a){a._isPm=a._locale.isPM(n),a._meridiem=n})),Bn(["h","hh"],(function(n,t,a){t[3]=dn(n),g(a).bigHour=!0})),Bn("hmm",(function(n,t,a){var e=n.length-2;t[3]=dn(n.substr(0,e)),t[4]=dn(n.substr(e)),g(a).bigHour=!0})),Bn("hmmss",(function(n,t,a){var e=n.length-4,s=n.length-2;t[3]=dn(n.substr(0,e)),t[4]=dn(n.substr(e,2)),t[5]=dn(n.substr(s)),g(a).bigHour=!0})),Bn("Hmm",(function(n,t,a){var e=n.length-2;t[3]=dn(n.substr(0,e)),t[4]=dn(n.substr(e))})),Bn("Hmmss",(function(n,t,a){var e=n.length-4,s=n.length-2;t[3]=dn(n.substr(0,e)),t[4]=dn(n.substr(e,2)),t[5]=dn(n.substr(s))}));var sa=/[ap]\.?m?\.?/i,oa=fn("Hours",!0);function ra(n,t,a){return n>11?a?"pm":"PM":a?"am":"AM"}var pa={calendar:j,longDateFormat:U,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:J,relativeTime:Q,months:at,monthsShort:et,week:Et,weekdays:Nt,weekdaysMin:Rt,weekdaysShort:At,meridiemParse:sa},la={},ia={},ca;function ua(n,t){var a,e=Math.min(n.length,t.length);for(a=0;a<e;a+=1)if(n[a]!==t[a])return a;return e}function da(n){return n?n.toLowerCase().replace("_","-"):n}function fa(n){for(var t=0,a,e,s,o;t<n.length;){for(a=(o=da(n[t]).split("-")).length,e=(e=da(n[t+1]))?e.split("-"):null;a>0;){if(s=ka(o.slice(0,a).join("-")))return s;if(e&&e.length>=a&&ua(o,e)>=a-1)break;a--}t++}return ca}function ma(n){return null!=n.match("^[^/\\\\]*$")}function ka(t){var e=null,s;if(void 0===la[t]&&void 0!==n&&n&&n.exports&&ma(t))try{e=ca._abbr,s=void 0,a(750)("./"+t),ha(e)}catch(n){la[t]=null}return la[t]}function ha(n,t){var a;return n&&((a=c(t)?va(n):ga(n,t))?ca=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),ca._abbr}function ga(n,t){if(null!==t){var a,e=pa;if(t.abbr=n,null!=la[n])L("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."),e=la[n]._config;else if(null!=t.parentLocale)if(null!=la[t.parentLocale])e=la[t.parentLocale]._config;else{if(null==(a=ka(t.parentLocale)))return ia[t.parentLocale]||(ia[t.parentLocale]=[]),ia[t.parentLocale].push({name:n,config:t}),null;e=a._config}return la[n]=new Y(O(e,t)),ia[n]&&ia[n].forEach((function(n){ga(n.name,n.config)})),ha(n),la[n]}return delete la[n],null}function ya(n,t){if(null!=t){var a,e,s=pa;null!=la[n]&&null!=la[n].parentLocale?la[n].set(O(la[n]._config,t)):(null!=(e=ka(n))&&(s=e._config),t=O(s,t),null==e&&(t.abbr=n),(a=new Y(t)).parentLocale=la[n],la[n]=a),ha(n)}else null!=la[n]&&(null!=la[n].parentLocale?(la[n]=la[n].parentLocale,n===ha()&&ha(n)):null!=la[n]&&delete la[n]);return la[n]}function va(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return ca;if(!r(n)){if(t=ka(n))return t;n=[n]}return fa(n)}function ba(){return C(la)}function _a(n){var t,a=n._a;return a&&-2===g(n).overflow&&(t=a[1]<0||a[1]>11?1:a[2]<1||a[2]>tt(a[0],a[1])?2:a[3]<0||a[3]>24||24===a[3]&&(0!==a[4]||0!==a[5]||0!==a[6])?3:a[4]<0||a[4]>59?4:a[5]<0||a[5]>59?5:a[6]<0||a[6]>999?6:-1,g(n)._overflowDayOfYear&&(t<0||t>2)&&(t=2),g(n)._overflowWeeks&&-1===t&&(t=7),g(n)._overflowWeekday&&-1===t&&(t=8),g(n).overflow=t),n}var wa=/^\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)?)?$/,xa=/^\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)?/,Ta=[["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]],Sa=[["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/]],Ea=/^\/?Date\((-?\d+)/i,Ca=/^(?:(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}))$/,La={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pa(n){var t,a,e=n._i,s=wa.exec(e)||xa.exec(e),o,r,p,l,i=Ta.length,c=Sa.length;if(s){for(g(n).iso=!0,t=0,a=i;t<a;t++)if(Ta[t][1].exec(s[1])){r=Ta[t][0],o=!1!==Ta[t][2];break}if(null==r)return void(n._isValid=!1);if(s[3]){for(t=0,a=c;t<a;t++)if(Sa[t][1].exec(s[3])){p=(s[2]||" ")+Sa[t][0];break}if(null==p)return void(n._isValid=!1)}if(!o&&null!=p)return void(n._isValid=!1);if(s[4]){if(!Ma.exec(s[4]))return void(n._isValid=!1);l="Z"}n._f=r+(p||"")+(l||""),za(n)}else n._isValid=!1}function Da(n,t,a,e,s,o){var r=[Oa(n),et.indexOf(t),parseInt(a,10),parseInt(e,10),parseInt(s,10)];return o&&r.push(parseInt(o,10)),r}function Oa(n){var t=parseInt(n,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ya(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ja(n,t,a){var e,s;return!n||At.indexOf(n)===new Date(t[0],t[1],t[2]).getDay()||(g(a).weekdayMismatch=!0,a._isValid=!1,!1)}function Na(n,t,a){if(n)return La[n];if(t)return 0;var e=parseInt(a,10),s=e%100,o;return(e-s)/100*60+s}function Aa(n){var t=Ca.exec(Ya(n._i)),a;if(t){if(a=Da(t[4],t[3],t[2],t[5],t[6],t[7]),!ja(t[1],a,n))return;n._a=a,n._tzm=Na(t[8],t[9],t[10]),n._d=_t.apply(null,n._a),n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),g(n).rfc2822=!0}else n._isValid=!1}function Ra(n){var t=Ea.exec(n._i);null===t?(Pa(n),!1===n._isValid&&(delete n._isValid,Aa(n),!1===n._isValid&&(delete n._isValid,n._strict?n._isValid=!1:s.createFromInputFallback(n)))):n._d=new Date(+t[1])}function Ia(n,t,a){return null!=n?n:null!=t?t:a}function Ha(n){var t=new Date(s.now());return n._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fa(n){var t,a,e=[],s,o,r;if(!n._d){for(s=Ha(n),n._w&&null==n._a[2]&&null==n._a[1]&&Ba(n),null!=n._dayOfYear&&(r=Ia(n._a[0],s[0]),(n._dayOfYear>gt(r)||0===n._dayOfYear)&&(g(n)._overflowDayOfYear=!0),a=_t(r,0,n._dayOfYear),n._a[1]=a.getUTCMonth(),n._a[2]=a.getUTCDate()),t=0;t<3&&null==n._a[t];++t)n._a[t]=e[t]=s[t];for(;t<7;t++)n._a[t]=e[t]=null==n._a[t]?2===t?1:0:n._a[t];24===n._a[3]&&0===n._a[4]&&0===n._a[5]&&0===n._a[6]&&(n._nextDay=!0,n._a[3]=0),n._d=(n._useUTC?_t:bt).apply(null,e),o=n._useUTC?n._d.getUTCDay():n._d.getDay(),null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),n._nextDay&&(n._a[3]=24),n._w&&void 0!==n._w.d&&n._w.d!==o&&(g(n).weekdayMismatch=!0)}}function Ba(n){var t,a,e,s,o,r,p,l,i;null!=(t=n._w).GG||null!=t.W||null!=t.E?(o=1,r=4,a=Ia(t.GG,n._a[0],Mt($a(),1,4).year),e=Ia(t.W,1),((s=Ia(t.E,1))<1||s>7)&&(l=!0)):(o=n._locale._week.dow,r=n._locale._week.doy,i=Mt($a(),o,r),a=Ia(t.gg,n._a[0],i.year),e=Ia(t.w,i.week),null!=t.d?((s=t.d)<0||s>6)&&(l=!0):null!=t.e?(s=t.e+o,(t.e<0||t.e>6)&&(l=!0)):s=o),e<1||e>Tt(a,o,r)?g(n)._overflowWeeks=!0:null!=l?g(n)._overflowWeekday=!0:(p=xt(a,e,s,o,r),n._a[0]=p.year,n._dayOfYear=p.dayOfYear)}function za(n){if(n._f!==s.ISO_8601)if(n._f!==s.RFC_2822){n._a=[],g(n).empty=!0;var t=""+n._i,a,e,o,r,p,l=t.length,i=0,c,u;for(u=(o=q(n._f,n._locale).match(R)||[]).length,a=0;a<u;a++)r=o[a],(e=(t.match(Rn(r,n))||[])[0])&&((p=t.substr(0,t.indexOf(e))).length>0&&g(n).unusedInput.push(p),t=t.slice(t.indexOf(e)+e.length),i+=e.length),F[r]?(e?g(n).empty=!1:g(n).unusedTokens.push(r),Wn(r,e,n)):n._strict&&!e&&g(n).unusedTokens.push(r);g(n).charsLeftOver=l-i,t.length>0&&g(n).unusedInput.push(t),n._a[3]<=12&&!0===g(n).bigHour&&n._a[3]>0&&(g(n).bigHour=void 0),g(n).parsedDateParts=n._a.slice(0),g(n).meridiem=n._meridiem,n._a[3]=Wa(n._locale,n._a[3],n._meridiem),null!==(c=g(n).era)&&(n._a[0]=n._locale.erasConvertYear(c,n._a[0])),Fa(n),_a(n)}else Aa(n);else Pa(n)}function Wa(n,t,a){var e;return null==a?t:null!=n.meridiemHour?n.meridiemHour(t,a):null!=n.isPM?((e=n.isPM(a))&&t<12&&(t+=12),e||12!==t||(t=0),t):t}function Va(n){var t,a,e,s,o,r,p=!1,l=n._f.length;if(0===l)return g(n).invalidFormat=!0,void(n._d=new Date(NaN));for(s=0;s<l;s++)o=0,r=!1,t=w({},n),null!=n._useUTC&&(t._useUTC=n._useUTC),t._f=n._f[s],za(t),y(t)&&(r=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,p?o<e&&(e=o,a=t):(null==e||o<e||r)&&(e=o,a=t,r&&(p=!0));m(n,a||t)}function qa(n){if(!n._d){var t=on(n._i),a=void 0===t.day?t.date:t.day;n._a=f([t.year,t.month,a,t.hour,t.minute,t.second,t.millisecond],(function(n){return n&&parseInt(n,10)})),Fa(n)}}function Ua(n){var t=new x(_a(Ka(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ka(n){var t=n._i,a=n._f;return n._locale=n._locale||va(n._l),null===t||void 0===a&&""===t?v({nullInput:!0}):("string"==typeof t&&(n._i=t=n._locale.preparse(t)),M(t)?new x(_a(t)):(d(t)?n._d=t:r(a)?Va(n):a?za(n):Xa(n),y(n)||(n._d=null),n))}function Xa(n){var t=n._i;c(t)?n._d=new Date(s.now()):d(t)?n._d=new Date(t.valueOf()):"string"==typeof t?Ra(n):r(t)?(n._a=f(t.slice(0),(function(n){return parseInt(n,10)})),Fa(n)):p(t)?qa(n):u(t)?n._d=new Date(t):s.createFromInputFallback(n)}function Ga(n,t,a,e,s){var o={};return!0!==t&&!1!==t||(e=t,t=void 0),!0!==a&&!1!==a||(e=a,a=void 0),(p(n)&&i(n)||r(n)&&0===n.length)&&(n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=s,o._l=a,o._i=n,o._f=t,o._strict=e,Ua(o)}function $a(n,t,a,e){return Ga(n,t,a,e,!1)}s.createFromInputFallback=S("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(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))})),s.ISO_8601=function(){},s.RFC_2822=function(){};var Ja=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var n=$a.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:v()})),Za=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var n=$a.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:v()}));function Qa(n,t){var a,e;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return $a();for(a=t[0],e=1;e<t.length;++e)t[e].isValid()&&!t[e][n](a)||(a=t[e]);return a}function ne(){var n=[].slice.call(arguments,0);return Qa("isBefore",n)}function te(){var n=[].slice.call(arguments,0);return Qa("isAfter",n)}var ae=function(){return Date.now?Date.now():+new Date},ee=["year","quarter","month","week","day","hour","minute","second","millisecond"];function se(n){var t,a=!1,e,s=ee.length;for(t in n)if(l(n,t)&&(-1===Qn.call(ee,t)||null!=n[t]&&isNaN(n[t])))return!1;for(e=0;e<s;++e)if(n[ee[e]]){if(a)return!1;parseFloat(n[ee[e]])!==dn(n[ee[e]])&&(a=!0)}return!0}function oe(){return this._isValid}function re(){return Le(NaN)}function pe(n){var t=on(n),a=t.year||0,e=t.quarter||0,s=t.month||0,o=t.week||t.isoWeek||0,r=t.day||0,p=t.hour||0,l=t.minute||0,i=t.second||0,c=t.millisecond||0;this._isValid=se(t),this._milliseconds=+c+1e3*i+6e4*l+1e3*p*60*60,this._days=+r+7*o,this._months=+s+3*e+12*a,this._data={},this._locale=va(),this._bubble()}function le(n){return n instanceof pe}function ie(n){return n<0?-1*Math.round(-1*n):Math.round(n)}function ce(n,t,a){var e=Math.min(n.length,t.length),s=Math.abs(n.length-t.length),o=0,r;for(r=0;r<e;r++)(a&&n[r]!==t[r]||!a&&dn(n[r])!==dn(t[r]))&&o++;return o+s}function ue(n,t){B(n,0,0,(function(){var n=this.utcOffset(),a="+";return n<0&&(n=-n,a="-"),a+A(~~(n/60),2)+t+A(~~n%60,2)}))}ue("Z",":"),ue("ZZ",""),An("Z",On),An("ZZ",On),Bn(["Z","ZZ"],(function(n,t,a){a._useUTC=!0,a._tzm=fe(On,n)}));var de=/([\+\-]|\d\d)/gi;function fe(n,t){var a=(t||"").match(n),e,s,o;return null===a?null:0===(o=60*(s=((e=a[a.length-1]||[])+"").match(de)||["-",0,0])[1]+dn(s[2]))?0:"+"===s[0]?o:-o}function me(n,t){var a,e;return t._isUTC?(a=t.clone(),e=(M(n)||d(n)?n.valueOf():$a(n).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+e),s.updateOffset(a,!1),a):$a(n).local()}function ke(n){return-Math.round(n._d.getTimezoneOffset())}function he(n,t,a){var e=this._offset||0,o;if(!this.isValid())return null!=n?this:NaN;if(null!=n){if("string"==typeof n){if(null===(n=fe(On,n)))return this}else Math.abs(n)<16&&!a&&(n*=60);return!this._isUTC&&t&&(o=ke(this)),this._offset=n,this._isUTC=!0,null!=o&&this.add(o,"m"),e!==n&&(!t||this._changeInProgress?je(this,Le(n-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?e:ke(this)}function ge(n,t){return null!=n?("string"!=typeof n&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function ye(n){return this.utcOffset(0,n)}function ve(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(ke(this),"m")),this}function be(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var n=fe(Dn,this._i);null!=n?this.utcOffset(n):this.utcOffset(0,!0)}return this}function _e(n){return!!this.isValid()&&(n=n?$a(n).utcOffset():0,(this.utcOffset()-n)%60==0)}function we(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xe(){if(!c(this._isDSTShifted))return this._isDSTShifted;var n={},t;return w(n,this),(n=Ka(n))._a?(t=n._isUTC?k(n._a):$a(n._a),this._isDSTShifted=this.isValid()&&ce(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Me(){return!!this.isValid()&&!this._isUTC}function Te(){return!!this.isValid()&&this._isUTC}function Se(){return!!this.isValid()&&this._isUTC&&0===this._offset}s.updateOffset=function(){};var Ee=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ce=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Le(n,t){var a=n,e=null,s,o,r;return le(n)?a={ms:n._milliseconds,d:n._days,M:n._months}:u(n)||!isNaN(+n)?(a={},t?a[t]=+n:a.milliseconds=+n):(e=Ee.exec(n))?(s="-"===e[1]?-1:1,a={y:0,d:dn(e[2])*s,h:dn(e[3])*s,m:dn(e[4])*s,s:dn(e[5])*s,ms:dn(ie(1e3*e[6]))*s}):(e=Ce.exec(n))?(s="-"===e[1]?-1:1,a={y:Pe(e[2],s),M:Pe(e[3],s),w:Pe(e[4],s),d:Pe(e[5],s),h:Pe(e[6],s),m:Pe(e[7],s),s:Pe(e[8],s)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Oe($a(a.from),$a(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),o=new pe(a),le(n)&&l(n,"_locale")&&(o._locale=n._locale),le(n)&&l(n,"_isValid")&&(o._isValid=n._isValid),o}function Pe(n,t){var a=n&&parseFloat(n.replace(",","."));return(isNaN(a)?0:a)*t}function De(n,t){var a={};return a.months=t.month()-n.month()+12*(t.year()-n.year()),n.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+n.clone().add(a.months,"M"),a}function Oe(n,t){var a;return n.isValid()&&t.isValid()?(t=me(t,n),n.isBefore(t)?a=De(n,t):((a=De(t,n)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function Ye(n,t){return function(a,e){var s,o;return null===e||isNaN(+e)||(L(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."),o=a,a=e,e=o),je(this,s=Le(a,e),n),this}}function je(n,t,a,e){var o=t._milliseconds,r=ie(t._days),p=ie(t._months);n.isValid()&&(e=null==e||e,p&&ut(n,mn(n,"Month")+p*a),r&&kn(n,"Date",mn(n,"Date")+r*a),o&&n._d.setTime(n._d.valueOf()+o*a),e&&s.updateOffset(n,r||p))}Le.fn=pe.prototype,Le.invalid=re;var Ne=Ye(1,"add"),Ae=Ye(-1,"subtract");function Re(n){return"string"==typeof n||n instanceof String}function Ie(n){return M(n)||d(n)||Re(n)||u(n)||Fe(n)||He(n)||null==n}function He(n){var t=p(n)&&!i(n),a=!1,e=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,o,r=e.length;for(s=0;s<r;s+=1)a=a||l(n,o=e[s]);return t&&a}function Fe(n){var t=r(n),a=!1;return t&&(a=0===n.filter((function(t){return!u(t)&&Re(n)})).length),t&&a}function Be(n){var t=p(n)&&!i(n),a=!1,e=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,o;for(s=0;s<e.length;s+=1)a=a||l(n,o=e[s]);return t&&a}function ze(n,t){var a=n.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function We(n,t){1===arguments.length&&(arguments[0]?Ie(arguments[0])?(n=arguments[0],t=void 0):Be(arguments[0])&&(t=arguments[0],n=void 0):(n=void 0,t=void 0));var a=n||$a(),e=me(a,this).startOf("day"),o=s.calendarFormat(this,e)||"sameElse",r=t&&(P(t[o])?t[o].call(this,a):t[o]);return this.format(r||this.localeData().calendar(o,this,$a(a)))}function Ve(){return new x(this)}function qe(n,t){var a=M(n)?n:$a(n);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=sn(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf())}function Ue(n,t){var a=M(n)?n:$a(n);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=sn(t)||"millisecond")?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf())}function Ke(n,t,a,e){var s=M(n)?n:$a(n),o=M(t)?t:$a(t);return!!(this.isValid()&&s.isValid()&&o.isValid())&&("("===(e=e||"()")[0]?this.isAfter(s,a):!this.isBefore(s,a))&&(")"===e[1]?this.isBefore(o,a):!this.isAfter(o,a))}function Xe(n,t){var a=M(n)?n:$a(n),e;return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=sn(t)||"millisecond")?this.valueOf()===a.valueOf():(e=a.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))}function Ge(n,t){return this.isSame(n,t)||this.isAfter(n,t)}function $e(n,t){return this.isSame(n,t)||this.isBefore(n,t)}function Je(n,t,a){var e,s,o;if(!this.isValid())return NaN;if(!(e=me(n,this)).isValid())return NaN;switch(s=6e4*(e.utcOffset()-this.utcOffset()),t=sn(t)){case"year":o=Ze(this,e)/12;break;case"month":o=Ze(this,e);break;case"quarter":o=Ze(this,e)/3;break;case"second":o=(this-e)/1e3;break;case"minute":o=(this-e)/6e4;break;case"hour":o=(this-e)/36e5;break;case"day":o=(this-e-s)/864e5;break;case"week":o=(this-e-s)/6048e5;break;default:o=this-e}return a?o:un(o)}function Ze(n,t){if(n.date()<t.date())return-Ze(t,n);var a=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(a,"months"),s,o;return-(a+(o=t-e<0?(t-e)/(e-(s=n.clone().add(a-1,"months"))):(t-e)/((s=n.clone().add(a+1,"months"))-e)))||0}function Qe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ns(n){if(!this.isValid())return null;var t=!0!==n,a=t?this.clone().utc():this;return a.year()<0||a.year()>9999?V(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(a,"Z")):V(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ts(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var n="moment",t="",a,e,s,o;return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),a="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(a+e+s+o)}function as(n){n||(n=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=V(this,n);return this.localeData().postformat(t)}function es(n,t){return this.isValid()&&(M(n)&&n.isValid()||$a(n).isValid())?Le({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ss(n){return this.from($a(),n)}function os(n,t){return this.isValid()&&(M(n)&&n.isValid()||$a(n).isValid())?Le({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rs(n){return this.to($a(),n)}function ps(n){var t;return void 0===n?this._locale._abbr:(null!=(t=va(n))&&(this._locale=t),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ls=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(n){return void 0===n?this.localeData():this.locale(n)}));function is(){return this._locale}var cs=1e3,us=6e4,ds=36e5,fs=126227808e5;function ms(n,t){return(n%t+t)%t}function ks(n,t,a){return n<100&&n>=0?new Date(n+400,t,a)-126227808e5:new Date(n,t,a).valueOf()}function hs(n,t,a){return n<100&&n>=0?Date.UTC(n+400,t,a)-126227808e5:Date.UTC(n,t,a)}function gs(n){var t,a;if(void 0===(n=sn(n))||"millisecond"===n||!this.isValid())return this;switch(a=this._isUTC?hs:ks,n){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ms(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ms(t,6e4);break;case"second":t=this._d.valueOf(),t-=ms(t,1e3)}return this._d.setTime(t),s.updateOffset(this,!0),this}function ys(n){var t,a;if(void 0===(n=sn(n))||"millisecond"===n||!this.isValid())return this;switch(a=this._isUTC?hs:ks,n){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ms(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ms(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ms(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this}function vs(){return this._d.valueOf()-6e4*(this._offset||0)}function bs(){return Math.floor(this.valueOf()/1e3)}function _s(){return new Date(this.valueOf())}function ws(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function xs(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function Ms(){return this.isValid()?this.toISOString():null}function Ts(){return y(this)}function Ss(){return m({},g(this))}function Es(){return g(this).overflow}function Cs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ls(n,t){var a,e,o,r=this._eras||va("en")._eras;for(a=0,e=r.length;a<e;++a){switch(typeof r[a].since){case"string":o=s(r[a].since).startOf("day"),r[a].since=o.valueOf()}switch(typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":o=s(r[a].until).startOf("day").valueOf(),r[a].until=o.valueOf()}}return r}function Ps(n,t,a){var e,s,o=this.eras(),r,p,l;for(n=n.toUpperCase(),e=0,s=o.length;e<s;++e)if(r=o[e].name.toUpperCase(),p=o[e].abbr.toUpperCase(),l=o[e].narrow.toUpperCase(),a)switch(t){case"N":case"NN":case"NNN":if(p===n)return o[e];break;case"NNNN":if(r===n)return o[e];break;case"NNNNN":if(l===n)return o[e]}else if([r,p,l].indexOf(n)>=0)return o[e]}function Ds(n,t){var a=n.since<=n.until?1:-1;return void 0===t?s(n.since).year():s(n.since).year()+(t-n.offset)*a}function Os(){var n,t,a,e=this.localeData().eras();for(n=0,t=e.length;n<t;++n){if(a=this.clone().startOf("day").valueOf(),e[n].since<=a&&a<=e[n].until)return e[n].name;if(e[n].until<=a&&a<=e[n].since)return e[n].name}return""}function Ys(){var n,t,a,e=this.localeData().eras();for(n=0,t=e.length;n<t;++n){if(a=this.clone().startOf("day").valueOf(),e[n].since<=a&&a<=e[n].until)return e[n].narrow;if(e[n].until<=a&&a<=e[n].since)return e[n].narrow}return""}function js(){var n,t,a,e=this.localeData().eras();for(n=0,t=e.length;n<t;++n){if(a=this.clone().startOf("day").valueOf(),e[n].since<=a&&a<=e[n].until)return e[n].abbr;if(e[n].until<=a&&a<=e[n].since)return e[n].abbr}return""}function Ns(){var n,t,a,e,o=this.localeData().eras();for(n=0,t=o.length;n<t;++n)if(a=o[n].since<=o[n].until?1:-1,e=this.clone().startOf("day").valueOf(),o[n].since<=e&&e<=o[n].until||o[n].until<=e&&e<=o[n].since)return(this.year()-s(o[n].since).year())*a+o[n].offset;return this.year()}function As(n){return l(this,"_erasNameRegex")||Ws.call(this)