slick-table 1.0.1 → 1.0.2

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/dist/index.cjs.js CHANGED
@@ -255,7 +255,7 @@ _e.version="2.30.1";ID(Ot);_e.fn=ye;_e.min=CO;_e.max=SO;_e.now=_O;_e.utc=Eo;_e.u
255
255
  50% {
256
256
  background-color: #ffb1b1;
257
257
  }
258
- `;le(As)(({theme:e})=>({"& .slick-container":{userSelect:"none",maxWidth:"100%",maxHeight:"100%",color:e.palette.text.primary,borderColor:e.palette.background.paper,fontFamily:"inherit",fontSize:"0.75rem","& .slick-header-column":{"&.filter-active .slick-header-button::after":{width:"7px",height:"7px",content:"''",backgroundColor:"#2196f3",position:"absolute",borderRadius:"50%",border:"2px solid #f8f8f8",top:"3px",right:"3px"},"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])":{"& .slick-column-name":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"calc(100% - 16px)"}},"&.slick-state-hover":{"&.filter-active .slick-header-button::after":{border:"2px solid #e8e8e8"},"& .slick-header-button":{"&::before":{backgroundColor:"#e8e8e8"}}},"& .slick-header-button":{width:"19px",height:"12px","&::before":{position:"absolute",content:"''",width:"19px",height:"12px",top:"6px",right:"5px",backgroundImage:"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",clipPath:"polygon(0% 0%, 100% 0%, 50% 110%)",backgroundColor:"#f8f8f8"}}},"& .slick-viewport":{backgroundColor:e.palette.background.paper,"& .grid-canvas":{"& .ui-widget-content.slick-row":{"&.even":{backgroundColor:e.palette.background.default},"& .slick-cell":{"&.active":{borderColor:"#007bff","& input":{color:e.palette.text.primary}},"&.selected":{color:e.palette.text.primary},"&.text-right":{textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Kp} infinite 0.5s linear`,"& input":{animation:`${Kp} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& select":{color:e.palette.text.primary,backgroundColor:e.palette.background.default},"& #autocomplete":{margin:0,padding:0,maxHeight:"300px",width:"100%",overflow:"auto",backgroundColor:e.palette.background.default,fontSize:"12px",boxShadow:"0 0 5px 1px gray","& div":{"&:hover":{cursor:"pointer"},"&.active":{},"& strong":{color:"#007bff"}}}}}}},"& .slick-footerrow":{backgroundColor:e.palette.background.default,borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}}));const $N={id:Fd,field:Fd};function VN(e,t,n){return n?"<span>&#9998;</span>":""}const jN={id:"isEdited",name:"&#9998;",field:"isEdited",formatter:VN,focusable:!1,sortable:!0,sortAs:jo.NUMBER,cssClass:"text-center",maxWidth:30};class WN{passed(t,n,o){if(!n[1]&&!n[2])return!0;switch(o){case Ve.Boolean:return this.boolean(t,n);case Ve.DateBetween:return this.dateBetween(t,n);case Ve.DateEqual:return this.dateEqual(t,n[1]);case Ve.DateFrom:return this.dateFrom(t,n[1]);case Ve.DateTo:return this.dateTo(t,n[1]);case Ve.MultipleSelect:return this.multipleSelect(t,n[1]);case Ve.NumberBetween:return this.numberBetween(t,n);case Ve.NumberEqual:return this.numberEqual(t,n[1]);case Ve.NumberFrom:return this.numberFrom(t,n[1]);case Ve.NumberTo:return this.numberTo(t,n[1]);case Ve.TextContain:return this.textContain(t,n[1]);case Ve.TextEqual:return this.textEqual(t,n[1]);case Ve.TextNotContain:return!this.textContain(t,n[1]);case Ve.TextNotEqual:return!this.textEqual(t,n[1])}}boolean(t,n){return n[1]?!!t:n[2]?!t:!0}dateBetween(t,n){const o=n[1],r=n[2];return o?r?this.dateFrom(t,o)&&this.dateTo(t,r):this.dateFrom(t,o):this.dateTo(t,r)}dateEqual(t,n){return n===t}dateFrom(t,n){return hs(t)>=hs(n)}dateTo(t,n){return hs(t)<=hs(n)}multipleSelect(t,n){const o=JSON.parse(n);return o.includes("All")?!0:o.includes(t)}numberBetween(t,n){const o=n[1]||0,r=n[2]||0;return o?r?this.numberFrom(t,o)&&this.numberTo(t,r):Number(t)>=Number(o):Number(t)<=Number(r)}numberEqual(t,n){return Number(n)===Number(t)}numberFrom(t,n){return Number(t)>=Number(n)}numberTo(t,n){return Number(t)<=Number(n)}textEqual(t,n){return(t||"").toLowerCase()===n.toLowerCase()}textContain(t,n){return(t||"").toLowerCase().match(n.toLowerCase())}}const BN=new WN,HN=[sn.Date,sn.Boolean,sn.Number];class zN extends rv{filterFn(t,n){if(!n.columnFilters)return!0;const o=this.grid;if(!o)return!0;const r=o.getColumns(),i=Object.keys(n.columnFilters);for(let a=0;a<i.length;a++){const l=i[a],d=r[o.getColumnIndex(l)],{filterId:u,group:f,value:p}=n.columnFilters[l];let y=t[d?.field];if(!HN.includes(f)){const w=d?.formatter;w&&(y=w(0,0,y,d,t,o))}if(!BN.passed(y,p,u))return!1}return!0}reset(){this.filter.reset(),this.tableId&&ur.highlightAllColumns(this.args,this.tableId)}}function YN(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var nl={exports:{}},UN=nl.exports,Xp;function qN(){return Xp||(Xp=1,function(e,t){(function(n,o){e.exports=o()})(UN,function(){var n;function o(){return n.apply(null,arguments)}function r(c){n=c}function i(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function a(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function l(c,h){return Object.prototype.hasOwnProperty.call(c,h)}function d(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var h;for(h in c)if(l(c,h))return!1;return!0}function u(c){return c===void 0}function f(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function p(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function y(c,h){var m=[],_,I=c.length;for(_=0;_<I;++_)m.push(h(c[_],_));return m}function w(c,h){for(var m in h)l(h,m)&&(c[m]=h[m]);return l(h,"toString")&&(c.toString=h.toString),l(h,"valueOf")&&(c.valueOf=h.valueOf),c}function b(c,h,m,_){return Dh(c,h,m,_,!0).utc()}function g(){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 v(c){return c._pf==null&&(c._pf=g()),c._pf}var T;Array.prototype.some?T=Array.prototype.some:T=function(c){var h=Object(this),m=h.length>>>0,_;for(_=0;_<m;_++)if(_ in h&&c.call(this,h[_],_,h))return!0;return!1};function P(c){var h=null,m=!1,_=c._d&&!isNaN(c._d.getTime());if(_&&(h=v(c),m=T.call(h.parsedDateParts,function(I){return I!=null}),_=h.overflow<0&&!h.empty&&!h.invalidEra&&!h.invalidMonth&&!h.invalidWeekday&&!h.weekdayMismatch&&!h.nullInput&&!h.invalidFormat&&!h.userInvalidated&&(!h.meridiem||h.meridiem&&m),c._strict&&(_=_&&h.charsLeftOver===0&&h.unusedTokens.length===0&&h.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=_;else return _;return c._isValid}function x(c){var h=b(NaN);return c!=null?w(v(h),c):v(h).userInvalidated=!0,h}var S=o.momentProperties=[],C=!1;function O(c,h){var m,_,I,G=S.length;if(u(h._isAMomentObject)||(c._isAMomentObject=h._isAMomentObject),u(h._i)||(c._i=h._i),u(h._f)||(c._f=h._f),u(h._l)||(c._l=h._l),u(h._strict)||(c._strict=h._strict),u(h._tzm)||(c._tzm=h._tzm),u(h._isUTC)||(c._isUTC=h._isUTC),u(h._offset)||(c._offset=h._offset),u(h._pf)||(c._pf=v(h)),u(h._locale)||(c._locale=h._locale),G>0)for(m=0;m<G;m++)_=S[m],I=h[_],u(I)||(c[_]=I);return c}function A(c){O(this,c),this._d=new Date(c._d!=null?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),C===!1&&(C=!0,o.updateOffset(this),C=!1)}function F(c){return c instanceof A||c!=null&&c._isAMomentObject!=null}function z(c){o.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function R(c,h){var m=!0;return w(function(){if(o.deprecationHandler!=null&&o.deprecationHandler(null,c),m){var _=[],I,G,de,ke=arguments.length;for(G=0;G<ke;G++){if(I="",typeof arguments[G]=="object"){I+=`
258
+ `;le(As)(({theme:e})=>({"& .slick-container":{userSelect:"none",maxWidth:"100%",height:"100%",maxHeight:"100%",color:e.palette.text.primary,borderColor:e.palette.background.paper,fontFamily:"inherit",fontSize:"0.75rem","& .slick-header-column":{"&.filter-active .slick-header-button::after":{width:"7px",height:"7px",content:"''",backgroundColor:"#2196f3",position:"absolute",borderRadius:"50%",border:"2px solid #f8f8f8",top:"3px",right:"3px"},"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])":{"& .slick-column-name":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"calc(100% - 16px)"}},"&.slick-state-hover":{"&.filter-active .slick-header-button::after":{border:"2px solid #e8e8e8"},"& .slick-header-button":{"&::before":{backgroundColor:"#e8e8e8"}}},"& .slick-header-button":{width:"19px",height:"12px","&::before":{position:"absolute",content:"''",width:"19px",height:"12px",top:"6px",right:"5px",backgroundImage:"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",clipPath:"polygon(0% 0%, 100% 0%, 50% 110%)",backgroundColor:"#f8f8f8"}}},"& .slick-viewport":{backgroundColor:e.palette.background.paper,"& .grid-canvas":{"& .ui-widget-content.slick-row":{"&.even":{backgroundColor:e.palette.background.default},"& .slick-cell":{"&.active":{borderColor:"#007bff","& input":{color:e.palette.text.primary}},"&.selected":{color:e.palette.text.primary},"&.text-right":{textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Kp} infinite 0.5s linear`,"& input":{animation:`${Kp} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& select":{color:e.palette.text.primary,backgroundColor:e.palette.background.default},"& #autocomplete":{margin:0,padding:0,maxHeight:"300px",width:"100%",overflow:"auto",backgroundColor:e.palette.background.default,fontSize:"12px",boxShadow:"0 0 5px 1px gray","& div":{"&:hover":{cursor:"pointer"},"&.active":{},"& strong":{color:"#007bff"}}}}}}},"& .slick-footerrow":{backgroundColor:e.palette.background.default,borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}}));const $N={id:Fd,field:Fd};function VN(e,t,n){return n?"<span>&#9998;</span>":""}const jN={id:"isEdited",name:"&#9998;",field:"isEdited",formatter:VN,focusable:!1,sortable:!0,sortAs:jo.NUMBER,cssClass:"text-center",maxWidth:30};class WN{passed(t,n,o){if(!n[1]&&!n[2])return!0;switch(o){case Ve.Boolean:return this.boolean(t,n);case Ve.DateBetween:return this.dateBetween(t,n);case Ve.DateEqual:return this.dateEqual(t,n[1]);case Ve.DateFrom:return this.dateFrom(t,n[1]);case Ve.DateTo:return this.dateTo(t,n[1]);case Ve.MultipleSelect:return this.multipleSelect(t,n[1]);case Ve.NumberBetween:return this.numberBetween(t,n);case Ve.NumberEqual:return this.numberEqual(t,n[1]);case Ve.NumberFrom:return this.numberFrom(t,n[1]);case Ve.NumberTo:return this.numberTo(t,n[1]);case Ve.TextContain:return this.textContain(t,n[1]);case Ve.TextEqual:return this.textEqual(t,n[1]);case Ve.TextNotContain:return!this.textContain(t,n[1]);case Ve.TextNotEqual:return!this.textEqual(t,n[1])}}boolean(t,n){return n[1]?!!t:n[2]?!t:!0}dateBetween(t,n){const o=n[1],r=n[2];return o?r?this.dateFrom(t,o)&&this.dateTo(t,r):this.dateFrom(t,o):this.dateTo(t,r)}dateEqual(t,n){return n===t}dateFrom(t,n){return hs(t)>=hs(n)}dateTo(t,n){return hs(t)<=hs(n)}multipleSelect(t,n){const o=JSON.parse(n);return o.includes("All")?!0:o.includes(t)}numberBetween(t,n){const o=n[1]||0,r=n[2]||0;return o?r?this.numberFrom(t,o)&&this.numberTo(t,r):Number(t)>=Number(o):Number(t)<=Number(r)}numberEqual(t,n){return Number(n)===Number(t)}numberFrom(t,n){return Number(t)>=Number(n)}numberTo(t,n){return Number(t)<=Number(n)}textEqual(t,n){return(t||"").toLowerCase()===n.toLowerCase()}textContain(t,n){return(t||"").toLowerCase().match(n.toLowerCase())}}const BN=new WN,HN=[sn.Date,sn.Boolean,sn.Number];class zN extends rv{filterFn(t,n){if(!n.columnFilters)return!0;const o=this.grid;if(!o)return!0;const r=o.getColumns(),i=Object.keys(n.columnFilters);for(let a=0;a<i.length;a++){const l=i[a],d=r[o.getColumnIndex(l)],{filterId:u,group:f,value:p}=n.columnFilters[l];let y=t[d?.field];if(!HN.includes(f)){const w=d?.formatter;w&&(y=w(0,0,y,d,t,o))}if(!BN.passed(y,p,u))return!1}return!0}reset(){this.filter.reset(),this.tableId&&ur.highlightAllColumns(this.args,this.tableId)}}function YN(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var nl={exports:{}},UN=nl.exports,Xp;function qN(){return Xp||(Xp=1,function(e,t){(function(n,o){e.exports=o()})(UN,function(){var n;function o(){return n.apply(null,arguments)}function r(c){n=c}function i(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function a(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function l(c,h){return Object.prototype.hasOwnProperty.call(c,h)}function d(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var h;for(h in c)if(l(c,h))return!1;return!0}function u(c){return c===void 0}function f(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function p(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function y(c,h){var m=[],_,I=c.length;for(_=0;_<I;++_)m.push(h(c[_],_));return m}function w(c,h){for(var m in h)l(h,m)&&(c[m]=h[m]);return l(h,"toString")&&(c.toString=h.toString),l(h,"valueOf")&&(c.valueOf=h.valueOf),c}function b(c,h,m,_){return Dh(c,h,m,_,!0).utc()}function g(){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 v(c){return c._pf==null&&(c._pf=g()),c._pf}var T;Array.prototype.some?T=Array.prototype.some:T=function(c){var h=Object(this),m=h.length>>>0,_;for(_=0;_<m;_++)if(_ in h&&c.call(this,h[_],_,h))return!0;return!1};function P(c){var h=null,m=!1,_=c._d&&!isNaN(c._d.getTime());if(_&&(h=v(c),m=T.call(h.parsedDateParts,function(I){return I!=null}),_=h.overflow<0&&!h.empty&&!h.invalidEra&&!h.invalidMonth&&!h.invalidWeekday&&!h.weekdayMismatch&&!h.nullInput&&!h.invalidFormat&&!h.userInvalidated&&(!h.meridiem||h.meridiem&&m),c._strict&&(_=_&&h.charsLeftOver===0&&h.unusedTokens.length===0&&h.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=_;else return _;return c._isValid}function x(c){var h=b(NaN);return c!=null?w(v(h),c):v(h).userInvalidated=!0,h}var S=o.momentProperties=[],C=!1;function O(c,h){var m,_,I,G=S.length;if(u(h._isAMomentObject)||(c._isAMomentObject=h._isAMomentObject),u(h._i)||(c._i=h._i),u(h._f)||(c._f=h._f),u(h._l)||(c._l=h._l),u(h._strict)||(c._strict=h._strict),u(h._tzm)||(c._tzm=h._tzm),u(h._isUTC)||(c._isUTC=h._isUTC),u(h._offset)||(c._offset=h._offset),u(h._pf)||(c._pf=v(h)),u(h._locale)||(c._locale=h._locale),G>0)for(m=0;m<G;m++)_=S[m],I=h[_],u(I)||(c[_]=I);return c}function A(c){O(this,c),this._d=new Date(c._d!=null?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),C===!1&&(C=!0,o.updateOffset(this),C=!1)}function F(c){return c instanceof A||c!=null&&c._isAMomentObject!=null}function z(c){o.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function R(c,h){var m=!0;return w(function(){if(o.deprecationHandler!=null&&o.deprecationHandler(null,c),m){var _=[],I,G,de,ke=arguments.length;for(G=0;G<ke;G++){if(I="",typeof arguments[G]=="object"){I+=`
259
259
  [`+G+"] ";for(de in arguments[0])l(arguments[0],de)&&(I+=de+": "+arguments[0][de]+", ");I=I.slice(0,-2)}else I=arguments[G];_.push(I)}z(c+`
260
260
  Arguments: `+Array.prototype.slice.call(_).join("")+`
261
261
  `+new Error().stack),m=!1}return h.apply(this,arguments)},h)}var $={};function K(c,h){o.deprecationHandler!=null&&o.deprecationHandler(c,h),$[c]||(z(h),$[c]=!0)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null;function X(c){return typeof Function<"u"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]"}function q(c){var h,m;for(m in c)l(c,m)&&(h=c[m],X(h)?this[m]=h:this["_"+m]=h);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Y(c,h){var m=w({},c),_;for(_ in h)l(h,_)&&(a(c[_])&&a(h[_])?(m[_]={},w(m[_],c[_]),w(m[_],h[_])):h[_]!=null?m[_]=h[_]:delete m[_]);for(_ in c)l(c,_)&&!l(h,_)&&a(c[_])&&(m[_]=w({},m[_]));return m}function H(c){c!=null&&this.set(c)}var ae;Object.keys?ae=Object.keys:ae=function(c){var h,m=[];for(h in c)l(c,h)&&m.push(h);return m};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function M(c,h,m){var _=this._calendar[c]||this._calendar.sameElse;return X(_)?_.call(h,m):_}function V(c,h,m){var _=""+Math.abs(c),I=h-_.length,G=c>=0;return(G?m?"+":"":"-")+Math.pow(10,Math.max(0,I)).toString().substr(1)+_}var W=/(\[[^\[]*\])|(\\)?([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,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},se={};function j(c,h,m,_){var I=_;typeof _=="string"&&(I=function(){return this[_]()}),c&&(se[c]=I),h&&(se[h[0]]=function(){return V(I.apply(this,arguments),h[1],h[2])}),m&&(se[m]=function(){return this.localeData().ordinal(I.apply(this,arguments),c)})}function J(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function ee(c){var h=c.match(W),m,_;for(m=0,_=h.length;m<_;m++)se[h[m]]?h[m]=se[h[m]]:h[m]=J(h[m]);return function(I){var G="",de;for(de=0;de<_;de++)G+=X(h[de])?h[de].call(I,c):h[de];return G}}function te(c,h){return c.isValid()?(h=ce(h,c.localeData()),oe[h]=oe[h]||ee(h),oe[h](c)):c.localeData().invalidDate()}function ce(c,h){var m=5;function _(I){return h.longDateFormat(I)||I}for(ne.lastIndex=0;m>=0&&ne.test(c);)c=c.replace(ne,_),ne.lastIndex=0,m-=1;return c}var ie={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 he(c){var h=this._longDateFormat[c],m=this._longDateFormat[c.toUpperCase()];return h||!m?h:(this._longDateFormat[c]=m.match(W).map(function(_){return _==="MMMM"||_==="MM"||_==="DD"||_==="dddd"?_.slice(1):_}).join(""),this._longDateFormat[c])}var B="Invalid date";function re(){return this._invalidDate}var Q="%d",fe=/\d{1,2}/;function me(c){return this._ordinal.replace("%d",c)}var Ce={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 ve(c,h,m,_){var I=this._relativeTime[m];return X(I)?I(c,h,m,_):I.replace(/%d/i,c)}function xe(c,h){var m=this._relativeTime[c>0?"future":"past"];return X(m)?m(h):m.replace(/%s/i,h)}var $e={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ae(c){return typeof c=="string"?$e[c]||$e[c.toLowerCase()]:void 0}function rt(c){var h={},m,_;for(_ in c)l(c,_)&&(m=Ae(_),m&&(h[m]=c[_]));return h}var Pe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ft(c){var h=[],m;for(m in c)l(c,m)&&h.push({unit:m,priority:Pe[m]});return h.sort(function(_,I){return _.priority-I.priority}),h}var Kt=/\d/,st=/\d\d/,Yt=/\d{3}/,Xt=/\d{4}/,on=/[+-]?\d{6}/,Ue=/\d\d?/,tt=/\d\d\d\d?/,Mn=/\d\d\d\d\d\d?/,hn=/\d{1,3}/,Me=/\d{1,4}/,He=/[+-]?\d{1,6}/,vt=/\d+/,ln=/[+-]?\d+/,uo=/Z|[+-]\d\d:?\d\d/gi,pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Qt=/[+-]?\d+(\.\d{1,3})?/,vn=/[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,Jt=/^[1-9]\d?/,Wr=/^([1-9]\d|\d)/,Br;Br={};function Re(c,h,m){Br[c]=X(h)?h:function(_,I){return _&&m?m:h}}function yc(c,h){return l(Br,c)?Br[c](h._strict,h._locale):new RegExp(pa(c))}function pa(c){return Vn(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(h,m,_,I,G){return m||_||I||G}))}function Vn(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Sn(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function qe(c){var h=+c,m=0;return h!==0&&isFinite(h)&&(m=Sn(h)),m}var Hr={};function mt(c,h){var m,_=h,I;for(typeof c=="string"&&(c=[c]),f(h)&&(_=function(G,de){de[h]=qe(G)}),I=c.length,m=0;m<I;m++)Hr[c[m]]=_}function yr(c,h){mt(c,function(m,_,I,G){I._w=I._w||{},h(m,I._w,I,G)})}function vc(c,h,m){h!=null&&l(Hr,c)&&Hr[c](h,m._a,m,c)}function zr(c){return c%4===0&&c%100!==0||c%400===0}var rn=0,U=1,pe=2,we=3,Ne=4,Ye=5,Je=6,Ze=7,Ge=8;j("Y",0,0,function(){var c=this.year();return c<=9999?V(c,4):"+"+c}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),Re("Y",ln),Re("YY",Ue,st),Re("YYYY",Me,Xt),Re("YYYYY",He,on),Re("YYYYYY",He,on),mt(["YYYYY","YYYYYY"],rn),mt("YYYY",function(c,h){h[rn]=c.length===2?o.parseTwoDigitYear(c):qe(c)}),mt("YY",function(c,h){h[rn]=o.parseTwoDigitYear(c)}),mt("Y",function(c,h){h[rn]=parseInt(c,10)});function Ut(c){return zr(c)?366:365}o.parseTwoDigitYear=function(c){return qe(c)+(qe(c)>68?1900:2e3)};var At=en("FullYear",!0);function Bt(){return zr(this.year())}function en(c,h){return function(m){return m!=null?(ho(this,c,m),o.updateOffset(this,h),this):jn(this,c)}}function jn(c,h){if(!c.isValid())return NaN;var m=c._d,_=c._isUTC;switch(h){case"Milliseconds":return _?m.getUTCMilliseconds():m.getMilliseconds();case"Seconds":return _?m.getUTCSeconds():m.getSeconds();case"Minutes":return _?m.getUTCMinutes():m.getMinutes();case"Hours":return _?m.getUTCHours():m.getHours();case"Date":return _?m.getUTCDate():m.getDate();case"Day":return _?m.getUTCDay():m.getDay();case"Month":return _?m.getUTCMonth():m.getMonth();case"FullYear":return _?m.getUTCFullYear():m.getFullYear();default:return NaN}}function ho(c,h,m){var _,I,G,de,ke;if(!(!c.isValid()||isNaN(m))){switch(_=c._d,I=c._isUTC,h){case"Milliseconds":return void(I?_.setUTCMilliseconds(m):_.setMilliseconds(m));case"Seconds":return void(I?_.setUTCSeconds(m):_.setSeconds(m));case"Minutes":return void(I?_.setUTCMinutes(m):_.setMinutes(m));case"Hours":return void(I?_.setUTCHours(m):_.setHours(m));case"Date":return void(I?_.setUTCDate(m):_.setDate(m));case"FullYear":break;default:return}G=m,de=c.month(),ke=c.date(),ke=ke===29&&de===1&&!zr(G)?28:ke,I?_.setUTCFullYear(G,de,ke):_.setFullYear(G,de,ke)}}function fn(c){return c=Ae(c),X(this[c])?this[c]():this}function Vs(c,h){if(typeof c=="object"){c=rt(c);var m=ft(c),_,I=m.length;for(_=0;_<I;_++)this[m[_].unit](c[m[_].unit])}else if(c=Ae(c),X(this[c]))return this[c](h);return this}function bc(c,h){return(c%h+h)%h}var Vt;Array.prototype.indexOf?Vt=Array.prototype.indexOf:Vt=function(c){var h;for(h=0;h<this.length;++h)if(this[h]===c)return h;return-1};function wc(c,h){if(isNaN(c)||isNaN(h))return NaN;var m=bc(h,12);return c+=(h-m)/12,m===1?zr(c)?29:28:31-m%7%2}j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(c){return this.localeData().monthsShort(this,c)}),j("MMMM",0,0,function(c){return this.localeData().months(this,c)}),Re("M",Ue,Jt),Re("MM",Ue,st),Re("MMM",function(c,h){return h.monthsShortRegex(c)}),Re("MMMM",function(c,h){return h.monthsRegex(c)}),mt(["M","MM"],function(c,h){h[U]=qe(c)-1}),mt(["MMM","MMMM"],function(c,h,m,_){var I=m._locale.monthsParse(c,_,m._strict);I!=null?h[U]=I:v(m).invalidMonth=c});var sb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),gh="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),yh=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ib=vn,ab=vn;function lb(c,h){return c?i(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||yh).test(h)?"format":"standalone"][c.month()]:i(this._months)?this._months:this._months.standalone}function cb(c,h){return c?i(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[yh.test(h)?"format":"standalone"][c.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function db(c,h,m){var _,I,G,de=c.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],_=0;_<12;++_)G=b([2e3,_]),this._shortMonthsParse[_]=this.monthsShort(G,"").toLocaleLowerCase(),this._longMonthsParse[_]=this.months(G,"").toLocaleLowerCase();return m?h==="MMM"?(I=Vt.call(this._shortMonthsParse,de),I!==-1?I:null):(I=Vt.call(this._longMonthsParse,de),I!==-1?I:null):h==="MMM"?(I=Vt.call(this._shortMonthsParse,de),I!==-1?I:(I=Vt.call(this._longMonthsParse,de),I!==-1?I:null)):(I=Vt.call(this._longMonthsParse,de),I!==-1?I:(I=Vt.call(this._shortMonthsParse,de),I!==-1?I:null))}function ub(c,h,m){var _,I,G;if(this._monthsParseExact)return db.call(this,c,h,m);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),_=0;_<12;_++){if(I=b([2e3,_]),m&&!this._longMonthsParse[_]&&(this._longMonthsParse[_]=new RegExp("^"+this.months(I,"").replace(".","")+"$","i"),this._shortMonthsParse[_]=new RegExp("^"+this.monthsShort(I,"").replace(".","")+"$","i")),!m&&!this._monthsParse[_]&&(G="^"+this.months(I,"")+"|^"+this.monthsShort(I,""),this._monthsParse[_]=new RegExp(G.replace(".",""),"i")),m&&h==="MMMM"&&this._longMonthsParse[_].test(c))return _;if(m&&h==="MMM"&&this._shortMonthsParse[_].test(c))return _;if(!m&&this._monthsParse[_].test(c))return _}}function vh(c,h){if(!c.isValid())return c;if(typeof h=="string"){if(/^\d+$/.test(h))h=qe(h);else if(h=c.localeData().monthsParse(h),!f(h))return c}var m=h,_=c.date();return _=_<29?_:Math.min(_,wc(c.year(),m)),c._isUTC?c._d.setUTCMonth(m,_):c._d.setMonth(m,_),c}function bh(c){return c!=null?(vh(this,c),o.updateOffset(this,!0),this):jn(this,"Month")}function hb(){return wc(this.year(),this.month())}function fb(c){return this._monthsParseExact?(l(this,"_monthsRegex")||wh.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ib),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)}function pb(c){return this._monthsParseExact?(l(this,"_monthsRegex")||wh.call(this),c?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ab),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)}function wh(){function c(je,et){return et.length-je.length}var h=[],m=[],_=[],I,G,de,ke;for(I=0;I<12;I++)G=b([2e3,I]),de=Vn(this.monthsShort(G,"")),ke=Vn(this.months(G,"")),h.push(de),m.push(ke),_.push(ke),_.push(de);h.sort(c),m.sort(c),_.sort(c),this._monthsRegex=new RegExp("^("+_.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+m.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+h.join("|")+")","i")}function mb(c,h,m,_,I,G,de){var ke;return c<100&&c>=0?(ke=new Date(c+400,h,m,_,I,G,de),isFinite(ke.getFullYear())&&ke.setFullYear(c)):ke=new Date(c,h,m,_,I,G,de),ke}function js(c){var h,m;return c<100&&c>=0?(m=Array.prototype.slice.call(arguments),m[0]=c+400,h=new Date(Date.UTC.apply(null,m)),isFinite(h.getUTCFullYear())&&h.setUTCFullYear(c)):h=new Date(Date.UTC.apply(null,arguments)),h}function ma(c,h,m){var _=7+h-m,I=(7+js(c,0,_).getUTCDay()-h)%7;return-I+_-1}function Ch(c,h,m,_,I){var G=(7+m-_)%7,de=ma(c,_,I),ke=1+7*(h-1)+G+de,je,et;return ke<=0?(je=c-1,et=Ut(je)+ke):ke>Ut(c)?(je=c+1,et=ke-Ut(c)):(je=c,et=ke),{year:je,dayOfYear:et}}function Ws(c,h,m){var _=ma(c.year(),h,m),I=Math.floor((c.dayOfYear()-_-1)/7)+1,G,de;return I<1?(de=c.year()-1,G=I+Do(de,h,m)):I>Do(c.year(),h,m)?(G=I-Do(c.year(),h,m),de=c.year()+1):(de=c.year(),G=I),{week:G,year:de}}function Do(c,h,m){var _=ma(c,h,m),I=ma(c+1,h,m);return(Ut(c)-_+I)/7}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),Re("w",Ue,Jt),Re("ww",Ue,st),Re("W",Ue,Jt),Re("WW",Ue,st),yr(["w","ww","W","WW"],function(c,h,m,_){h[_.substr(0,1)]=qe(c)});function gb(c){return Ws(c,this._week.dow,this._week.doy).week}var yb={dow:0,doy:6};function vb(){return this._week.dow}function bb(){return this._week.doy}function wb(c){var h=this.localeData().week(this);return c==null?h:this.add((c-h)*7,"d")}function Cb(c){var h=Ws(this,1,4).week;return c==null?h:this.add((c-h)*7,"d")}j("d",0,"do","day"),j("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),j("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),j("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),Re("d",Ue),Re("e",Ue),Re("E",Ue),Re("dd",function(c,h){return h.weekdaysMinRegex(c)}),Re("ddd",function(c,h){return h.weekdaysShortRegex(c)}),Re("dddd",function(c,h){return h.weekdaysRegex(c)}),yr(["dd","ddd","dddd"],function(c,h,m,_){var I=m._locale.weekdaysParse(c,_,m._strict);I!=null?h.d=I:v(m).invalidWeekday=c}),yr(["d","e","E"],function(c,h,m,_){h[_]=qe(c)});function Sb(c,h){return typeof c!="string"?c:isNaN(c)?(c=h.weekdaysParse(c),typeof c=="number"?c:null):parseInt(c,10)}function _b(c,h){return typeof c=="string"?h.weekdaysParse(c)%7||7:isNaN(c)?null:c}function Cc(c,h){return c.slice(h,7).concat(c.slice(0,h))}var xb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Tb=vn,kb=vn,Eb=vn;function Pb(c,h){var m=i(this._weekdays)?this._weekdays:this._weekdays[c&&c!==!0&&this._weekdays.isFormat.test(h)?"format":"standalone"];return c===!0?Cc(m,this._week.dow):c?m[c.day()]:m}function Db(c){return c===!0?Cc(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort}function Ob(c){return c===!0?Cc(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin}function Mb(c,h,m){var _,I,G,de=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],_=0;_<7;++_)G=b([2e3,1]).day(_),this._minWeekdaysParse[_]=this.weekdaysMin(G,"").toLocaleLowerCase(),this._shortWeekdaysParse[_]=this.weekdaysShort(G,"").toLocaleLowerCase(),this._weekdaysParse[_]=this.weekdays(G,"").toLocaleLowerCase();return m?h==="dddd"?(I=Vt.call(this._weekdaysParse,de),I!==-1?I:null):h==="ddd"?(I=Vt.call(this._shortWeekdaysParse,de),I!==-1?I:null):(I=Vt.call(this._minWeekdaysParse,de),I!==-1?I:null):h==="dddd"?(I=Vt.call(this._weekdaysParse,de),I!==-1||(I=Vt.call(this._shortWeekdaysParse,de),I!==-1)?I:(I=Vt.call(this._minWeekdaysParse,de),I!==-1?I:null)):h==="ddd"?(I=Vt.call(this._shortWeekdaysParse,de),I!==-1||(I=Vt.call(this._weekdaysParse,de),I!==-1)?I:(I=Vt.call(this._minWeekdaysParse,de),I!==-1?I:null)):(I=Vt.call(this._minWeekdaysParse,de),I!==-1||(I=Vt.call(this._weekdaysParse,de),I!==-1)?I:(I=Vt.call(this._shortWeekdaysParse,de),I!==-1?I:null))}function Ib(c,h,m){var _,I,G;if(this._weekdaysParseExact)return Mb.call(this,c,h,m);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),_=0;_<7;_++){if(I=b([2e3,1]).day(_),m&&!this._fullWeekdaysParse[_]&&(this._fullWeekdaysParse[_]=new RegExp("^"+this.weekdays(I,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[_]=new RegExp("^"+this.weekdaysShort(I,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[_]=new RegExp("^"+this.weekdaysMin(I,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[_]||(G="^"+this.weekdays(I,"")+"|^"+this.weekdaysShort(I,"")+"|^"+this.weekdaysMin(I,""),this._weekdaysParse[_]=new RegExp(G.replace(".",""),"i")),m&&h==="dddd"&&this._fullWeekdaysParse[_].test(c))return _;if(m&&h==="ddd"&&this._shortWeekdaysParse[_].test(c))return _;if(m&&h==="dd"&&this._minWeekdaysParse[_].test(c))return _;if(!m&&this._weekdaysParse[_].test(c))return _}}function Nb(c){if(!this.isValid())return c!=null?this:NaN;var h=jn(this,"Day");return c!=null?(c=Sb(c,this.localeData()),this.add(c-h,"d")):h}function Ab(c){if(!this.isValid())return c!=null?this:NaN;var h=(this.day()+7-this.localeData()._week.dow)%7;return c==null?h:this.add(c-h,"d")}function Fb(c){if(!this.isValid())return c!=null?this:NaN;if(c!=null){var h=_b(c,this.localeData());return this.day(this.day()%7?h:h-7)}else return this.day()||7}function Lb(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Sc.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Tb),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)}function $b(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Sc.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kb),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vb(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Sc.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Eb),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Sc(){function c(bn,Ao){return Ao.length-bn.length}var h=[],m=[],_=[],I=[],G,de,ke,je,et;for(G=0;G<7;G++)de=b([2e3,1]).day(G),ke=Vn(this.weekdaysMin(de,"")),je=Vn(this.weekdaysShort(de,"")),et=Vn(this.weekdays(de,"")),h.push(ke),m.push(je),_.push(et),I.push(ke),I.push(je),I.push(et);h.sort(c),m.sort(c),_.sort(c),I.sort(c),this._weekdaysRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function _c(){return this.hours()%12||12}function jb(){return this.hours()||24}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,_c),j("k",["kk",2],0,jb),j("hmm",0,0,function(){return""+_c.apply(this)+V(this.minutes(),2)}),j("hmmss",0,0,function(){return""+_c.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function _h(c,h){j(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),h)})}_h("a",!0),_h("A",!1);function xh(c,h){return h._meridiemParse}Re("a",xh),Re("A",xh),Re("H",Ue,Wr),Re("h",Ue,Jt),Re("k",Ue,Jt),Re("HH",Ue,st),Re("hh",Ue,st),Re("kk",Ue,st),Re("hmm",tt),Re("hmmss",Mn),Re("Hmm",tt),Re("Hmmss",Mn),mt(["H","HH"],we),mt(["k","kk"],function(c,h,m){var _=qe(c);h[we]=_===24?0:_}),mt(["a","A"],function(c,h,m){m._isPm=m._locale.isPM(c),m._meridiem=c}),mt(["h","hh"],function(c,h,m){h[we]=qe(c),v(m).bigHour=!0}),mt("hmm",function(c,h,m){var _=c.length-2;h[we]=qe(c.substr(0,_)),h[Ne]=qe(c.substr(_)),v(m).bigHour=!0}),mt("hmmss",function(c,h,m){var _=c.length-4,I=c.length-2;h[we]=qe(c.substr(0,_)),h[Ne]=qe(c.substr(_,2)),h[Ye]=qe(c.substr(I)),v(m).bigHour=!0}),mt("Hmm",function(c,h,m){var _=c.length-2;h[we]=qe(c.substr(0,_)),h[Ne]=qe(c.substr(_))}),mt("Hmmss",function(c,h,m){var _=c.length-4,I=c.length-2;h[we]=qe(c.substr(0,_)),h[Ne]=qe(c.substr(_,2)),h[Ye]=qe(c.substr(I))});function Wb(c){return(c+"").toLowerCase().charAt(0)==="p"}var Bb=/[ap]\.?m?\.?/i,Hb=en("Hours",!0);function zb(c,h,m){return c>11?m?"pm":"PM":m?"am":"AM"}var Rh={calendar:N,longDateFormat:ie,invalidDate:B,ordinal:Q,dayOfMonthOrdinalParse:fe,relativeTime:Ce,months:sb,monthsShort:gh,week:yb,weekdays:xb,weekdaysMin:Rb,weekdaysShort:Sh,meridiemParse:Bb},Ft={},Bs={},Hs;function Yb(c,h){var m,_=Math.min(c.length,h.length);for(m=0;m<_;m+=1)if(c[m]!==h[m])return m;return _}function Th(c){return c&&c.toLowerCase().replace("_","-")}function Ub(c){for(var h=0,m,_,I,G;h<c.length;){for(G=Th(c[h]).split("-"),m=G.length,_=Th(c[h+1]),_=_?_.split("-"):null;m>0;){if(I=ga(G.slice(0,m).join("-")),I)return I;if(_&&_.length>=m&&Yb(G,_)>=m-1)break;m--}h++}return Hs}function qb(c){return!!(c&&c.match("^[^/\\\\]*$"))}function ga(c){var h=null,m;if(Ft[c]===void 0&&e&&e.exports&&qb(c))try{h=Hs._abbr,m=YN,m("./locale/"+c),tr(h)}catch{Ft[c]=null}return Ft[c]}function tr(c,h){var m;return c&&(u(h)?m=Oo(c):m=xc(c,h),m?Hs=m:typeof console<"u"&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),Hs._abbr}function xc(c,h){if(h!==null){var m,_=Rh;if(h.abbr=c,Ft[c]!=null)K("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."),_=Ft[c]._config;else if(h.parentLocale!=null)if(Ft[h.parentLocale]!=null)_=Ft[h.parentLocale]._config;else if(m=ga(h.parentLocale),m!=null)_=m._config;else return Bs[h.parentLocale]||(Bs[h.parentLocale]=[]),Bs[h.parentLocale].push({name:c,config:h}),null;return Ft[c]=new H(Y(_,h)),Bs[c]&&Bs[c].forEach(function(I){xc(I.name,I.config)}),tr(c),Ft[c]}else return delete Ft[c],null}function Gb(c,h){if(h!=null){var m,_,I=Rh;Ft[c]!=null&&Ft[c].parentLocale!=null?Ft[c].set(Y(Ft[c]._config,h)):(_=ga(c),_!=null&&(I=_._config),h=Y(I,h),_==null&&(h.abbr=c),m=new H(h),m.parentLocale=Ft[c],Ft[c]=m),tr(c)}else Ft[c]!=null&&(Ft[c].parentLocale!=null?(Ft[c]=Ft[c].parentLocale,c===tr()&&tr(c)):Ft[c]!=null&&delete Ft[c]);return Ft[c]}function Oo(c){var h;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return Hs;if(!i(c)){if(h=ga(c),h)return h;c=[c]}return Ub(c)}function Kb(){return ae(Ft)}function Rc(c){var h,m=c._a;return m&&v(c).overflow===-2&&(h=m[U]<0||m[U]>11?U:m[pe]<1||m[pe]>wc(m[rn],m[U])?pe:m[we]<0||m[we]>24||m[we]===24&&(m[Ne]!==0||m[Ye]!==0||m[Je]!==0)?we:m[Ne]<0||m[Ne]>59?Ne:m[Ye]<0||m[Ye]>59?Ye:m[Je]<0||m[Je]>999?Je:-1,v(c)._overflowDayOfYear&&(h<rn||h>pe)&&(h=pe),v(c)._overflowWeeks&&h===-1&&(h=Ze),v(c)._overflowWeekday&&h===-1&&(h=Ge),v(c).overflow=h),c}var Xb=/^\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)?)?$/,Zb=/^\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)?)?$/,Qb=/Z|[+-]\d\d(?::?\d\d)?/,ya=[["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]],Tc=[["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/]],Jb=/^\/?Date\((-?\d+)/i,ew=/^(?:(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}))$/,tw={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 kh(c){var h,m,_=c._i,I=Xb.exec(_)||Zb.exec(_),G,de,ke,je,et=ya.length,bn=Tc.length;if(I){for(v(c).iso=!0,h=0,m=et;h<m;h++)if(ya[h][1].exec(I[1])){de=ya[h][0],G=ya[h][2]!==!1;break}if(de==null){c._isValid=!1;return}if(I[3]){for(h=0,m=bn;h<m;h++)if(Tc[h][1].exec(I[3])){ke=(I[2]||" ")+Tc[h][0];break}if(ke==null){c._isValid=!1;return}}if(!G&&ke!=null){c._isValid=!1;return}if(I[4])if(Qb.exec(I[4]))je="Z";else{c._isValid=!1;return}c._f=de+(ke||"")+(je||""),Ec(c)}else c._isValid=!1}function nw(c,h,m,_,I,G){var de=[ow(c),gh.indexOf(h),parseInt(m,10),parseInt(_,10),parseInt(I,10)];return G&&de.push(parseInt(G,10)),de}function ow(c){var h=parseInt(c,10);return h<=49?2e3+h:h<=999?1900+h:h}function rw(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function sw(c,h,m){if(c){var _=Sh.indexOf(c),I=new Date(h[0],h[1],h[2]).getDay();if(_!==I)return v(m).weekdayMismatch=!0,m._isValid=!1,!1}return!0}function iw(c,h,m){if(c)return tw[c];if(h)return 0;var _=parseInt(m,10),I=_%100,G=(_-I)/100;return G*60+I}function Eh(c){var h=ew.exec(rw(c._i)),m;if(h){if(m=nw(h[4],h[3],h[2],h[5],h[6],h[7]),!sw(h[1],m,c))return;c._a=m,c._tzm=iw(h[8],h[9],h[10]),c._d=js.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),v(c).rfc2822=!0}else c._isValid=!1}function aw(c){var h=Jb.exec(c._i);if(h!==null){c._d=new Date(+h[1]);return}if(kh(c),c._isValid===!1)delete c._isValid;else return;if(Eh(c),c._isValid===!1)delete c._isValid;else return;c._strict?c._isValid=!1:o.createFromInputFallback(c)}o.createFromInputFallback=R("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(c){c._d=new Date(c._i+(c._useUTC?" UTC":""))});function Yr(c,h,m){return c??h??m}function lw(c){var h=new Date(o.now());return c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()]}function kc(c){var h,m,_=[],I,G,de;if(!c._d){for(I=lw(c),c._w&&c._a[pe]==null&&c._a[U]==null&&cw(c),c._dayOfYear!=null&&(de=Yr(c._a[rn],I[rn]),(c._dayOfYear>Ut(de)||c._dayOfYear===0)&&(v(c)._overflowDayOfYear=!0),m=js(de,0,c._dayOfYear),c._a[U]=m.getUTCMonth(),c._a[pe]=m.getUTCDate()),h=0;h<3&&c._a[h]==null;++h)c._a[h]=_[h]=I[h];for(;h<7;h++)c._a[h]=_[h]=c._a[h]==null?h===2?1:0:c._a[h];c._a[we]===24&&c._a[Ne]===0&&c._a[Ye]===0&&c._a[Je]===0&&(c._nextDay=!0,c._a[we]=0),c._d=(c._useUTC?js:mb).apply(null,_),G=c._useUTC?c._d.getUTCDay():c._d.getDay(),c._tzm!=null&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[we]=24),c._w&&typeof c._w.d<"u"&&c._w.d!==G&&(v(c).weekdayMismatch=!0)}}function cw(c){var h,m,_,I,G,de,ke,je,et;h=c._w,h.GG!=null||h.W!=null||h.E!=null?(G=1,de=4,m=Yr(h.GG,c._a[rn],Ws(Dt(),1,4).year),_=Yr(h.W,1),I=Yr(h.E,1),(I<1||I>7)&&(je=!0)):(G=c._locale._week.dow,de=c._locale._week.doy,et=Ws(Dt(),G,de),m=Yr(h.gg,c._a[rn],et.year),_=Yr(h.w,et.week),h.d!=null?(I=h.d,(I<0||I>6)&&(je=!0)):h.e!=null?(I=h.e+G,(h.e<0||h.e>6)&&(je=!0)):I=G),_<1||_>Do(m,G,de)?v(c)._overflowWeeks=!0:je!=null?v(c)._overflowWeekday=!0:(ke=Ch(m,_,I,G,de),c._a[rn]=ke.year,c._dayOfYear=ke.dayOfYear)}o.ISO_8601=function(){},o.RFC_2822=function(){};function Ec(c){if(c._f===o.ISO_8601){kh(c);return}if(c._f===o.RFC_2822){Eh(c);return}c._a=[],v(c).empty=!0;var h=""+c._i,m,_,I,G,de,ke=h.length,je=0,et,bn;for(I=ce(c._f,c._locale).match(W)||[],bn=I.length,m=0;m<bn;m++)G=I[m],_=(h.match(yc(G,c))||[])[0],_&&(de=h.substr(0,h.indexOf(_)),de.length>0&&v(c).unusedInput.push(de),h=h.slice(h.indexOf(_)+_.length),je+=_.length),se[G]?(_?v(c).empty=!1:v(c).unusedTokens.push(G),vc(G,_,c)):c._strict&&!_&&v(c).unusedTokens.push(G);v(c).charsLeftOver=ke-je,h.length>0&&v(c).unusedInput.push(h),c._a[we]<=12&&v(c).bigHour===!0&&c._a[we]>0&&(v(c).bigHour=void 0),v(c).parsedDateParts=c._a.slice(0),v(c).meridiem=c._meridiem,c._a[we]=dw(c._locale,c._a[we],c._meridiem),et=v(c).era,et!==null&&(c._a[rn]=c._locale.erasConvertYear(et,c._a[rn])),kc(c),Rc(c)}function dw(c,h,m){var _;return m==null?h:c.meridiemHour!=null?c.meridiemHour(h,m):(c.isPM!=null&&(_=c.isPM(m),_&&h<12&&(h+=12),!_&&h===12&&(h=0)),h)}function uw(c){var h,m,_,I,G,de,ke=!1,je=c._f.length;if(je===0){v(c).invalidFormat=!0,c._d=new Date(NaN);return}for(I=0;I<je;I++)G=0,de=!1,h=O({},c),c._useUTC!=null&&(h._useUTC=c._useUTC),h._f=c._f[I],Ec(h),P(h)&&(de=!0),G+=v(h).charsLeftOver,G+=v(h).unusedTokens.length*10,v(h).score=G,ke?G<_&&(_=G,m=h):(_==null||G<_||de)&&(_=G,m=h,de&&(ke=!0));w(c,m||h)}function hw(c){if(!c._d){var h=rt(c._i),m=h.day===void 0?h.date:h.day;c._a=y([h.year,h.month,m,h.hour,h.minute,h.second,h.millisecond],function(_){return _&&parseInt(_,10)}),kc(c)}}function fw(c){var h=new A(Rc(Ph(c)));return h._nextDay&&(h.add(1,"d"),h._nextDay=void 0),h}function Ph(c){var h=c._i,m=c._f;return c._locale=c._locale||Oo(c._l),h===null||m===void 0&&h===""?x({nullInput:!0}):(typeof h=="string"&&(c._i=h=c._locale.preparse(h)),F(h)?new A(Rc(h)):(p(h)?c._d=h:i(m)?uw(c):m?Ec(c):pw(c),P(c)||(c._d=null),c))}function pw(c){var h=c._i;u(h)?c._d=new Date(o.now()):p(h)?c._d=new Date(h.valueOf()):typeof h=="string"?aw(c):i(h)?(c._a=y(h.slice(0),function(m){return parseInt(m,10)}),kc(c)):a(h)?hw(c):f(h)?c._d=new Date(h):o.createFromInputFallback(c)}function Dh(c,h,m,_,I){var G={};return(h===!0||h===!1)&&(_=h,h=void 0),(m===!0||m===!1)&&(_=m,m=void 0),(a(c)&&d(c)||i(c)&&c.length===0)&&(c=void 0),G._isAMomentObject=!0,G._useUTC=G._isUTC=I,G._l=m,G._i=c,G._f=h,G._strict=_,fw(G)}function Dt(c,h,m,_){return Dh(c,h,m,_,!1)}var mw=R("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Dt.apply(null,arguments);return this.isValid()&&c.isValid()?c<this?this:c:x()}),gw=R("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Dt.apply(null,arguments);return this.isValid()&&c.isValid()?c>this?this:c:x()});function Oh(c,h){var m,_;if(h.length===1&&i(h[0])&&(h=h[0]),!h.length)return Dt();for(m=h[0],_=1;_<h.length;++_)(!h[_].isValid()||h[_][c](m))&&(m=h[_]);return m}function yw(){var c=[].slice.call(arguments,0);return Oh("isBefore",c)}function vw(){var c=[].slice.call(arguments,0);return Oh("isAfter",c)}var bw=function(){return Date.now?Date.now():+new Date},zs=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ww(c){var h,m=!1,_,I=zs.length;for(h in c)if(l(c,h)&&!(Vt.call(zs,h)!==-1&&(c[h]==null||!isNaN(c[h]))))return!1;for(_=0;_<I;++_)if(c[zs[_]]){if(m)return!1;parseFloat(c[zs[_]])!==qe(c[zs[_]])&&(m=!0)}return!0}function Cw(){return this._isValid}function Sw(){return to(NaN)}function va(c){var h=rt(c),m=h.year||0,_=h.quarter||0,I=h.month||0,G=h.week||h.isoWeek||0,de=h.day||0,ke=h.hour||0,je=h.minute||0,et=h.second||0,bn=h.millisecond||0;this._isValid=ww(h),this._milliseconds=+bn+et*1e3+je*6e4+ke*1e3*60*60,this._days=+de+G*7,this._months=+I+_*3+m*12,this._data={},this._locale=Oo(),this._bubble()}function ba(c){return c instanceof va}function Pc(c){return c<0?Math.round(-1*c)*-1:Math.round(c)}function _w(c,h,m){var _=Math.min(c.length,h.length),I=Math.abs(c.length-h.length),G=0,de;for(de=0;de<_;de++)qe(c[de])!==qe(h[de])&&G++;return G+I}function Mh(c,h){j(c,0,0,function(){var m=this.utcOffset(),_="+";return m<0&&(m=-m,_="-"),_+V(~~(m/60),2)+h+V(~~m%60,2)})}Mh("Z",":"),Mh("ZZ",""),Re("Z",pt),Re("ZZ",pt),mt(["Z","ZZ"],function(c,h,m){m._useUTC=!0,m._tzm=Dc(pt,c)});var xw=/([\+\-]|\d\d)/gi;function Dc(c,h){var m=(h||"").match(c),_,I,G;return m===null?null:(_=m[m.length-1]||[],I=(_+"").match(xw)||["-",0,0],G=+(I[1]*60)+qe(I[2]),G===0?0:I[0]==="+"?G:-G)}function Oc(c,h){var m,_;return h._isUTC?(m=h.clone(),_=(F(c)||p(c)?c.valueOf():Dt(c).valueOf())-m.valueOf(),m._d.setTime(m._d.valueOf()+_),o.updateOffset(m,!1),m):Dt(c).local()}function Mc(c){return-Math.round(c._d.getTimezoneOffset())}o.updateOffset=function(){};function Rw(c,h,m){var _=this._offset||0,I;if(!this.isValid())return c!=null?this:NaN;if(c!=null){if(typeof c=="string"){if(c=Dc(pt,c),c===null)return this}else Math.abs(c)<16&&!m&&(c=c*60);return!this._isUTC&&h&&(I=Mc(this)),this._offset=c,this._isUTC=!0,I!=null&&this.add(I,"m"),_!==c&&(!h||this._changeInProgress?Fh(this,to(c-_,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?_:Mc(this)}function Tw(c,h){return c!=null?(typeof c!="string"&&(c=-c),this.utcOffset(c,h),this):-this.utcOffset()}function kw(c){return this.utcOffset(0,c)}function Ew(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(Mc(this),"m")),this}function Pw(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var c=Dc(uo,this._i);c!=null?this.utcOffset(c):this.utcOffset(0,!0)}return this}function Dw(c){return this.isValid()?(c=c?Dt(c).utcOffset():0,(this.utcOffset()-c)%60===0):!1}function Ow(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mw(){if(!u(this._isDSTShifted))return this._isDSTShifted;var c={},h;return O(c,this),c=Ph(c),c._a?(h=c._isUTC?b(c._a):Dt(c._a),this._isDSTShifted=this.isValid()&&_w(c._a,h.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Iw(){return this.isValid()?!this._isUTC:!1}function Nw(){return this.isValid()?this._isUTC:!1}function Ih(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Aw=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fw=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function to(c,h){var m=c,_=null,I,G,de;return ba(c)?m={ms:c._milliseconds,d:c._days,M:c._months}:f(c)||!isNaN(+c)?(m={},h?m[h]=+c:m.milliseconds=+c):(_=Aw.exec(c))?(I=_[1]==="-"?-1:1,m={y:0,d:qe(_[pe])*I,h:qe(_[we])*I,m:qe(_[Ne])*I,s:qe(_[Ye])*I,ms:qe(Pc(_[Je]*1e3))*I}):(_=Fw.exec(c))?(I=_[1]==="-"?-1:1,m={y:vr(_[2],I),M:vr(_[3],I),w:vr(_[4],I),d:vr(_[5],I),h:vr(_[6],I),m:vr(_[7],I),s:vr(_[8],I)}):m==null?m={}:typeof m=="object"&&("from"in m||"to"in m)&&(de=Lw(Dt(m.from),Dt(m.to)),m={},m.ms=de.milliseconds,m.M=de.months),G=new va(m),ba(c)&&l(c,"_locale")&&(G._locale=c._locale),ba(c)&&l(c,"_isValid")&&(G._isValid=c._isValid),G}to.fn=va.prototype,to.invalid=Sw;function vr(c,h){var m=c&&parseFloat(c.replace(",","."));return(isNaN(m)?0:m)*h}function Nh(c,h){var m={};return m.months=h.month()-c.month()+(h.year()-c.year())*12,c.clone().add(m.months,"M").isAfter(h)&&--m.months,m.milliseconds=+h-+c.clone().add(m.months,"M"),m}function Lw(c,h){var m;return c.isValid()&&h.isValid()?(h=Oc(h,c),c.isBefore(h)?m=Nh(c,h):(m=Nh(h,c),m.milliseconds=-m.milliseconds,m.months=-m.months),m):{milliseconds:0,months:0}}function Ah(c,h){return function(m,_){var I,G;return _!==null&&!isNaN(+_)&&(K(h,"moment()."+h+"(period, number) is deprecated. Please use moment()."+h+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),G=m,m=_,_=G),I=to(m,_),Fh(this,I,c),this}}function Fh(c,h,m,_){var I=h._milliseconds,G=Pc(h._days),de=Pc(h._months);c.isValid()&&(_=_??!0,de&&vh(c,jn(c,"Month")+de*m),G&&ho(c,"Date",jn(c,"Date")+G*m),I&&c._d.setTime(c._d.valueOf()+I*m),_&&o.updateOffset(c,G||de))}var $w=Ah(1,"add"),Vw=Ah(-1,"subtract");function Lh(c){return typeof c=="string"||c instanceof String}function jw(c){return F(c)||p(c)||Lh(c)||f(c)||Bw(c)||Ww(c)||c===null||c===void 0}function Ww(c){var h=a(c)&&!d(c),m=!1,_=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],I,G,de=_.length;for(I=0;I<de;I+=1)G=_[I],m=m||l(c,G);return h&&m}function Bw(c){var h=i(c),m=!1;return h&&(m=c.filter(function(_){return!f(_)&&Lh(c)}).length===0),h&&m}function Hw(c){var h=a(c)&&!d(c),m=!1,_=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],I,G;for(I=0;I<_.length;I+=1)G=_[I],m=m||l(c,G);return h&&m}function zw(c,h){var m=c.diff(h,"days",!0);return m<-6?"sameElse":m<-1?"lastWeek":m<0?"lastDay":m<1?"sameDay":m<2?"nextDay":m<7?"nextWeek":"sameElse"}function Yw(c,h){arguments.length===1&&(arguments[0]?jw(arguments[0])?(c=arguments[0],h=void 0):Hw(arguments[0])&&(h=arguments[0],c=void 0):(c=void 0,h=void 0));var m=c||Dt(),_=Oc(m,this).startOf("day"),I=o.calendarFormat(this,_)||"sameElse",G=h&&(X(h[I])?h[I].call(this,m):h[I]);return this.format(G||this.localeData().calendar(I,this,Dt(m)))}function Uw(){return new A(this)}function qw(c,h){var m=F(c)?c:Dt(c);return this.isValid()&&m.isValid()?(h=Ae(h)||"millisecond",h==="millisecond"?this.valueOf()>m.valueOf():m.valueOf()<this.clone().startOf(h).valueOf()):!1}function Gw(c,h){var m=F(c)?c:Dt(c);return this.isValid()&&m.isValid()?(h=Ae(h)||"millisecond",h==="millisecond"?this.valueOf()<m.valueOf():this.clone().endOf(h).valueOf()<m.valueOf()):!1}function Kw(c,h,m,_){var I=F(c)?c:Dt(c),G=F(h)?h:Dt(h);return this.isValid()&&I.isValid()&&G.isValid()?(_=_||"()",(_[0]==="("?this.isAfter(I,m):!this.isBefore(I,m))&&(_[1]===")"?this.isBefore(G,m):!this.isAfter(G,m))):!1}function Xw(c,h){var m=F(c)?c:Dt(c),_;return this.isValid()&&m.isValid()?(h=Ae(h)||"millisecond",h==="millisecond"?this.valueOf()===m.valueOf():(_=m.valueOf(),this.clone().startOf(h).valueOf()<=_&&_<=this.clone().endOf(h).valueOf())):!1}function Zw(c,h){return this.isSame(c,h)||this.isAfter(c,h)}function Qw(c,h){return this.isSame(c,h)||this.isBefore(c,h)}function Jw(c,h,m){var _,I,G;if(!this.isValid())return NaN;if(_=Oc(c,this),!_.isValid())return NaN;switch(I=(_.utcOffset()-this.utcOffset())*6e4,h=Ae(h),h){case"year":G=wa(this,_)/12;break;case"month":G=wa(this,_);break;case"quarter":G=wa(this,_)/3;break;case"second":G=(this-_)/1e3;break;case"minute":G=(this-_)/6e4;break;case"hour":G=(this-_)/36e5;break;case"day":G=(this-_-I)/864e5;break;case"week":G=(this-_-I)/6048e5;break;default:G=this-_}return m?G:Sn(G)}function wa(c,h){if(c.date()<h.date())return-wa(h,c);var m=(h.year()-c.year())*12+(h.month()-c.month()),_=c.clone().add(m,"months"),I,G;return h-_<0?(I=c.clone().add(m-1,"months"),G=(h-_)/(_-I)):(I=c.clone().add(m+1,"months"),G=(h-_)/(I-_)),-(m+G)||0}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function eC(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function tC(c){if(!this.isValid())return null;var h=c!==!0,m=h?this.clone().utc():this;return m.year()<0||m.year()>9999?te(m,h?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):X(Date.prototype.toISOString)?h?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",te(m,"Z")):te(m,h?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nC(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var c="moment",h="",m,_,I,G;return this.isLocal()||(c=this.utcOffset()===0?"moment.utc":"moment.parseZone",h="Z"),m="["+c+'("]',_=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",I="-MM-DD[T]HH:mm:ss.SSS",G=h+'[")]',this.format(m+_+I+G)}function oC(c){c||(c=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var h=te(this,c);return this.localeData().postformat(h)}function rC(c,h){return this.isValid()&&(F(c)&&c.isValid()||Dt(c).isValid())?to({to:this,from:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function sC(c){return this.from(Dt(),c)}function iC(c,h){return this.isValid()&&(F(c)&&c.isValid()||Dt(c).isValid())?to({from:this,to:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function aC(c){return this.to(Dt(),c)}function $h(c){var h;return c===void 0?this._locale._abbr:(h=Oo(c),h!=null&&(this._locale=h),this)}var Vh=R("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(c){return c===void 0?this.localeData():this.locale(c)});function jh(){return this._locale}var Ca=1e3,Ur=60*Ca,Sa=60*Ur,Wh=(365*400+97)*24*Sa;function qr(c,h){return(c%h+h)%h}function Bh(c,h,m){return c<100&&c>=0?new Date(c+400,h,m)-Wh:new Date(c,h,m).valueOf()}function Hh(c,h,m){return c<100&&c>=0?Date.UTC(c+400,h,m)-Wh:Date.UTC(c,h,m)}function lC(c){var h,m;if(c=Ae(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(m=this._isUTC?Hh:Bh,c){case"year":h=m(this.year(),0,1);break;case"quarter":h=m(this.year(),this.month()-this.month()%3,1);break;case"month":h=m(this.year(),this.month(),1);break;case"week":h=m(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":h=m(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":h=m(this.year(),this.month(),this.date());break;case"hour":h=this._d.valueOf(),h-=qr(h+(this._isUTC?0:this.utcOffset()*Ur),Sa);break;case"minute":h=this._d.valueOf(),h-=qr(h,Ur);break;case"second":h=this._d.valueOf(),h-=qr(h,Ca);break}return this._d.setTime(h),o.updateOffset(this,!0),this}function cC(c){var h,m;if(c=Ae(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(m=this._isUTC?Hh:Bh,c){case"year":h=m(this.year()+1,0,1)-1;break;case"quarter":h=m(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":h=m(this.year(),this.month()+1,1)-1;break;case"week":h=m(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":h=m(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":h=m(this.year(),this.month(),this.date()+1)-1;break;case"hour":h=this._d.valueOf(),h+=Sa-qr(h+(this._isUTC?0:this.utcOffset()*Ur),Sa)-1;break;case"minute":h=this._d.valueOf(),h+=Ur-qr(h,Ur)-1;break;case"second":h=this._d.valueOf(),h+=Ca-qr(h,Ca)-1;break}return this._d.setTime(h),o.updateOffset(this,!0),this}function dC(){return this._d.valueOf()-(this._offset||0)*6e4}function uC(){return Math.floor(this.valueOf()/1e3)}function hC(){return new Date(this.valueOf())}function fC(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]}function pC(){var c=this;return{years:c.year(),months:c.month(),date:c.date(),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}}function mC(){return this.isValid()?this.toISOString():null}function gC(){return P(this)}function yC(){return w({},v(this))}function vC(){return v(this).overflow}function bC(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),Re("N",Ic),Re("NN",Ic),Re("NNN",Ic),Re("NNNN",DC),Re("NNNNN",OC),mt(["N","NN","NNN","NNNN","NNNNN"],function(c,h,m,_){var I=m._locale.erasParse(c,_,m._strict);I?v(m).era=I:v(m).invalidEra=c}),Re("y",vt),Re("yy",vt),Re("yyy",vt),Re("yyyy",vt),Re("yo",MC),mt(["y","yy","yyy","yyyy"],rn),mt(["yo"],function(c,h,m,_){var I;m._locale._eraYearOrdinalRegex&&(I=c.match(m._locale._eraYearOrdinalRegex)),m._locale.eraYearOrdinalParse?h[rn]=m._locale.eraYearOrdinalParse(c,I):h[rn]=parseInt(c,10)});function wC(c,h){var m,_,I,G=this._eras||Oo("en")._eras;for(m=0,_=G.length;m<_;++m){switch(typeof G[m].since){case"string":I=o(G[m].since).startOf("day"),G[m].since=I.valueOf();break}switch(typeof G[m].until){case"undefined":G[m].until=1/0;break;case"string":I=o(G[m].until).startOf("day").valueOf(),G[m].until=I.valueOf();break}}return G}function CC(c,h,m){var _,I,G=this.eras(),de,ke,je;for(c=c.toUpperCase(),_=0,I=G.length;_<I;++_)if(de=G[_].name.toUpperCase(),ke=G[_].abbr.toUpperCase(),je=G[_].narrow.toUpperCase(),m)switch(h){case"N":case"NN":case"NNN":if(ke===c)return G[_];break;case"NNNN":if(de===c)return G[_];break;case"NNNNN":if(je===c)return G[_];break}else if([de,ke,je].indexOf(c)>=0)return G[_]}function SC(c,h){var m=c.since<=c.until?1:-1;return h===void 0?o(c.since).year():o(c.since).year()+(h-c.offset)*m}function _C(){var c,h,m,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(m=this.clone().startOf("day").valueOf(),_[c].since<=m&&m<=_[c].until||_[c].until<=m&&m<=_[c].since)return _[c].name;return""}function xC(){var c,h,m,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(m=this.clone().startOf("day").valueOf(),_[c].since<=m&&m<=_[c].until||_[c].until<=m&&m<=_[c].since)return _[c].narrow;return""}function RC(){var c,h,m,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(m=this.clone().startOf("day").valueOf(),_[c].since<=m&&m<=_[c].until||_[c].until<=m&&m<=_[c].since)return _[c].abbr;return""}function TC(){var c,h,m,_,I=this.localeData().eras();for(c=0,h=I.length;c<h;++c)if(m=I[c].since<=I[c].until?1:-1,_=this.clone().startOf("day").valueOf(),I[c].since<=_&&_<=I[c].until||I[c].until<=_&&_<=I[c].since)return(this.year()-o(I[c].since).year())*m+I[c].offset;return this.year()}function kC(c){return l(this,"_erasNameRegex")||Nc.call(this),c?this._erasNameRegex:this._erasRegex}function EC(c){return l(this,"_erasAbbrRegex")||Nc.call(this),c?this._erasAbbrRegex:this._erasRegex}function PC(c){return l(this,"_erasNarrowRegex")||Nc.call(this),c?this._erasNarrowRegex:this._erasRegex}function Ic(c,h){return h.erasAbbrRegex(c)}function DC(c,h){return h.erasNameRegex(c)}function OC(c,h){return h.erasNarrowRegex(c)}function MC(c,h){return h._eraYearOrdinalRegex||vt}function Nc(){var c=[],h=[],m=[],_=[],I,G,de,ke,je,et=this.eras();for(I=0,G=et.length;I<G;++I)de=Vn(et[I].name),ke=Vn(et[I].abbr),je=Vn(et[I].narrow),h.push(de),c.push(ke),m.push(je),_.push(de),_.push(ke),_.push(je);this._erasRegex=new RegExp("^("+_.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+h.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+m.join("|")+")","i")}j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100});function _a(c,h){j(0,[c,c.length],0,h)}_a("gggg","weekYear"),_a("ggggg","weekYear"),_a("GGGG","isoWeekYear"),_a("GGGGG","isoWeekYear"),Re("G",ln),Re("g",ln),Re("GG",Ue,st),Re("gg",Ue,st),Re("GGGG",Me,Xt),Re("gggg",Me,Xt),Re("GGGGG",He,on),Re("ggggg",He,on),yr(["gggg","ggggg","GGGG","GGGGG"],function(c,h,m,_){h[_.substr(0,2)]=qe(c)}),yr(["gg","GG"],function(c,h,m,_){h[_]=o.parseTwoDigitYear(c)});function IC(c){return zh.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function NC(c){return zh.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)}function AC(){return Do(this.year(),1,4)}function FC(){return Do(this.isoWeekYear(),1,4)}function LC(){var c=this.localeData()._week;return Do(this.year(),c.dow,c.doy)}function $C(){var c=this.localeData()._week;return Do(this.weekYear(),c.dow,c.doy)}function zh(c,h,m,_,I){var G;return c==null?Ws(this,_,I).year:(G=Do(c,_,I),h>G&&(h=G),VC.call(this,c,h,m,_,I))}function VC(c,h,m,_,I){var G=Ch(c,h,m,_,I),de=js(G.year,0,G.dayOfYear);return this.year(de.getUTCFullYear()),this.month(de.getUTCMonth()),this.date(de.getUTCDate()),this}j("Q",0,"Qo","quarter"),Re("Q",Kt),mt("Q",function(c,h){h[U]=(qe(c)-1)*3});function jC(c){return c==null?Math.ceil((this.month()+1)/3):this.month((c-1)*3+this.month()%3)}j("D",["DD",2],"Do","date"),Re("D",Ue,Jt),Re("DD",Ue,st),Re("Do",function(c,h){return c?h._dayOfMonthOrdinalParse||h._ordinalParse:h._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],pe),mt("Do",function(c,h){h[pe]=qe(c.match(Ue)[0])});var Yh=en("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),Re("DDD",hn),Re("DDDD",Yt),mt(["DDD","DDDD"],function(c,h,m){m._dayOfYear=qe(c)});function WC(c){var h=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return c==null?h:this.add(c-h,"d")}j("m",["mm",2],0,"minute"),Re("m",Ue,Wr),Re("mm",Ue,st),mt(["m","mm"],Ne);var BC=en("Minutes",!1);j("s",["ss",2],0,"second"),Re("s",Ue,Wr),Re("ss",Ue,st),mt(["s","ss"],Ye);var HC=en("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return this.millisecond()*10}),j(0,["SSSSS",5],0,function(){return this.millisecond()*100}),j(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),j(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),j(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),j(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Re("S",hn,Kt),Re("SS",hn,st),Re("SSS",hn,Yt);var nr,Uh;for(nr="SSSS";nr.length<=9;nr+="S")Re(nr,vt);function zC(c,h){h[Je]=qe(("0."+c)*1e3)}for(nr="S";nr.length<=9;nr+="S")mt(nr,zC);Uh=en("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");function YC(){return this._isUTC?"UTC":""}function UC(){return this._isUTC?"Coordinated Universal Time":""}var ge=A.prototype;ge.add=$w,ge.calendar=Yw,ge.clone=Uw,ge.diff=Jw,ge.endOf=cC,ge.format=oC,ge.from=rC,ge.fromNow=sC,ge.to=iC,ge.toNow=aC,ge.get=fn,ge.invalidAt=vC,ge.isAfter=qw,ge.isBefore=Gw,ge.isBetween=Kw,ge.isSame=Xw,ge.isSameOrAfter=Zw,ge.isSameOrBefore=Qw,ge.isValid=gC,ge.lang=Vh,ge.locale=$h,ge.localeData=jh,ge.max=gw,ge.min=mw,ge.parsingFlags=yC,ge.set=Vs,ge.startOf=lC,ge.subtract=Vw,ge.toArray=fC,ge.toObject=pC,ge.toDate=hC,ge.toISOString=tC,ge.inspect=nC,typeof Symbol<"u"&&Symbol.for!=null&&(ge[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ge.toJSON=mC,ge.toString=eC,ge.unix=uC,ge.valueOf=dC,ge.creationData=bC,ge.eraName=_C,ge.eraNarrow=xC,ge.eraAbbr=RC,ge.eraYear=TC,ge.year=At,ge.isLeapYear=Bt,ge.weekYear=IC,ge.isoWeekYear=NC,ge.quarter=ge.quarters=jC,ge.month=bh,ge.daysInMonth=hb,ge.week=ge.weeks=wb,ge.isoWeek=ge.isoWeeks=Cb,ge.weeksInYear=LC,ge.weeksInWeekYear=$C,ge.isoWeeksInYear=AC,ge.isoWeeksInISOWeekYear=FC,ge.date=Yh,ge.day=ge.days=Nb,ge.weekday=Ab,ge.isoWeekday=Fb,ge.dayOfYear=WC,ge.hour=ge.hours=Hb,ge.minute=ge.minutes=BC,ge.second=ge.seconds=HC,ge.millisecond=ge.milliseconds=Uh,ge.utcOffset=Rw,ge.utc=kw,ge.local=Ew,ge.parseZone=Pw,ge.hasAlignedHourOffset=Dw,ge.isDST=Ow,ge.isLocal=Iw,ge.isUtcOffset=Nw,ge.isUtc=Ih,ge.isUTC=Ih,ge.zoneAbbr=YC,ge.zoneName=UC,ge.dates=R("dates accessor is deprecated. Use date instead.",Yh),ge.months=R("months accessor is deprecated. Use month instead",bh),ge.years=R("years accessor is deprecated. Use year instead",At),ge.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Tw),ge.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mw);function qC(c){return Dt(c*1e3)}function GC(){return Dt.apply(null,arguments).parseZone()}function qh(c){return c}var lt=H.prototype;lt.calendar=M,lt.longDateFormat=he,lt.invalidDate=re,lt.ordinal=me,lt.preparse=qh,lt.postformat=qh,lt.relativeTime=ve,lt.pastFuture=xe,lt.set=q,lt.eras=wC,lt.erasParse=CC,lt.erasConvertYear=SC,lt.erasAbbrRegex=EC,lt.erasNameRegex=kC,lt.erasNarrowRegex=PC,lt.months=lb,lt.monthsShort=cb,lt.monthsParse=ub,lt.monthsRegex=pb,lt.monthsShortRegex=fb,lt.week=gb,lt.firstDayOfYear=bb,lt.firstDayOfWeek=vb,lt.weekdays=Pb,lt.weekdaysMin=Ob,lt.weekdaysShort=Db,lt.weekdaysParse=Ib,lt.weekdaysRegex=Lb,lt.weekdaysShortRegex=$b,lt.weekdaysMinRegex=Vb,lt.isPM=Wb,lt.meridiem=zb;function xa(c,h,m,_){var I=Oo(),G=b().set(_,h);return I[m](G,c)}function Gh(c,h,m){if(f(c)&&(h=c,c=void 0),c=c||"",h!=null)return xa(c,h,m,"month");var _,I=[];for(_=0;_<12;_++)I[_]=xa(c,_,m,"month");return I}function Ac(c,h,m,_){typeof c=="boolean"?(f(h)&&(m=h,h=void 0),h=h||""):(h=c,m=h,c=!1,f(h)&&(m=h,h=void 0),h=h||"");var I=Oo(),G=c?I._week.dow:0,de,ke=[];if(m!=null)return xa(h,(m+G)%7,_,"day");for(de=0;de<7;de++)ke[de]=xa(h,(de+G)%7,_,"day");return ke}function KC(c,h){return Gh(c,h,"months")}function XC(c,h){return Gh(c,h,"monthsShort")}function ZC(c,h,m){return Ac(c,h,m,"weekdays")}function QC(c,h,m){return Ac(c,h,m,"weekdaysShort")}function JC(c,h,m){return Ac(c,h,m,"weekdaysMin")}tr("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(c){var h=c%10,m=qe(c%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th";return c+m}}),o.lang=R("moment.lang is deprecated. Use moment.locale instead.",tr),o.langData=R("moment.langData is deprecated. Use moment.localeData instead.",Oo);var Mo=Math.abs;function eS(){var c=this._data;return this._milliseconds=Mo(this._milliseconds),this._days=Mo(this._days),this._months=Mo(this._months),c.milliseconds=Mo(c.milliseconds),c.seconds=Mo(c.seconds),c.minutes=Mo(c.minutes),c.hours=Mo(c.hours),c.months=Mo(c.months),c.years=Mo(c.years),this}function Kh(c,h,m,_){var I=to(h,m);return c._milliseconds+=_*I._milliseconds,c._days+=_*I._days,c._months+=_*I._months,c._bubble()}function tS(c,h){return Kh(this,c,h,1)}function nS(c,h){return Kh(this,c,h,-1)}function Xh(c){return c<0?Math.floor(c):Math.ceil(c)}function oS(){var c=this._milliseconds,h=this._days,m=this._months,_=this._data,I,G,de,ke,je;return c>=0&&h>=0&&m>=0||c<=0&&h<=0&&m<=0||(c+=Xh(Fc(m)+h)*864e5,h=0,m=0),_.milliseconds=c%1e3,I=Sn(c/1e3),_.seconds=I%60,G=Sn(I/60),_.minutes=G%60,de=Sn(G/60),_.hours=de%24,h+=Sn(de/24),je=Sn(Zh(h)),m+=je,h-=Xh(Fc(je)),ke=Sn(m/12),m%=12,_.days=h,_.months=m,_.years=ke,this}function Zh(c){return c*4800/146097}function Fc(c){return c*146097/4800}function rS(c){if(!this.isValid())return NaN;var h,m,_=this._milliseconds;if(c=Ae(c),c==="month"||c==="quarter"||c==="year")switch(h=this._days+_/864e5,m=this._months+Zh(h),c){case"month":return m;case"quarter":return m/3;case"year":return m/12}else switch(h=this._days+Math.round(Fc(this._months)),c){case"week":return h/7+_/6048e5;case"day":return h+_/864e5;case"hour":return h*24+_/36e5;case"minute":return h*1440+_/6e4;case"second":return h*86400+_/1e3;case"millisecond":return Math.floor(h*864e5)+_;default:throw new Error("Unknown unit "+c)}}function Io(c){return function(){return this.as(c)}}var Qh=Io("ms"),sS=Io("s"),iS=Io("m"),aS=Io("h"),lS=Io("d"),cS=Io("w"),dS=Io("M"),uS=Io("Q"),hS=Io("y"),fS=Qh;function pS(){return to(this)}function mS(c){return c=Ae(c),this.isValid()?this[c+"s"]():NaN}function br(c){return function(){return this.isValid()?this._data[c]:NaN}}var gS=br("milliseconds"),yS=br("seconds"),vS=br("minutes"),bS=br("hours"),wS=br("days"),CS=br("months"),SS=br("years");function _S(){return Sn(this.days()/7)}var No=Math.round,Gr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function xS(c,h,m,_,I){return I.relativeTime(h||1,!!m,c,_)}function RS(c,h,m,_){var I=to(c).abs(),G=No(I.as("s")),de=No(I.as("m")),ke=No(I.as("h")),je=No(I.as("d")),et=No(I.as("M")),bn=No(I.as("w")),Ao=No(I.as("y")),or=G<=m.ss&&["s",G]||G<m.s&&["ss",G]||de<=1&&["m"]||de<m.m&&["mm",de]||ke<=1&&["h"]||ke<m.h&&["hh",ke]||je<=1&&["d"]||je<m.d&&["dd",je];return m.w!=null&&(or=or||bn<=1&&["w"]||bn<m.w&&["ww",bn]),or=or||et<=1&&["M"]||et<m.M&&["MM",et]||Ao<=1&&["y"]||["yy",Ao],or[2]=h,or[3]=+c>0,or[4]=_,xS.apply(null,or)}function TS(c){return c===void 0?No:typeof c=="function"?(No=c,!0):!1}function kS(c,h){return Gr[c]===void 0?!1:h===void 0?Gr[c]:(Gr[c]=h,c==="s"&&(Gr.ss=h-1),!0)}function ES(c,h){if(!this.isValid())return this.localeData().invalidDate();var m=!1,_=Gr,I,G;return typeof c=="object"&&(h=c,c=!1),typeof c=="boolean"&&(m=c),typeof h=="object"&&(_=Object.assign({},Gr,h),h.s!=null&&h.ss==null&&(_.ss=h.s-1)),I=this.localeData(),G=RS(this,!m,_,I),m&&(G=I.pastFuture(+this,G)),I.postformat(G)}var Lc=Math.abs;function Kr(c){return(c>0)-(c<0)||+c}function Ra(){if(!this.isValid())return this.localeData().invalidDate();var c=Lc(this._milliseconds)/1e3,h=Lc(this._days),m=Lc(this._months),_,I,G,de,ke=this.asSeconds(),je,et,bn,Ao;return ke?(_=Sn(c/60),I=Sn(_/60),c%=60,_%=60,G=Sn(m/12),m%=12,de=c?c.toFixed(3).replace(/\.?0+$/,""):"",je=ke<0?"-":"",et=Kr(this._months)!==Kr(ke)?"-":"",bn=Kr(this._days)!==Kr(ke)?"-":"",Ao=Kr(this._milliseconds)!==Kr(ke)?"-":"",je+"P"+(G?et+G+"Y":"")+(m?et+m+"M":"")+(h?bn+h+"D":"")+(I||_||c?"T":"")+(I?Ao+I+"H":"")+(_?Ao+_+"M":"")+(c?Ao+de+"S":"")):"P0D"}var nt=va.prototype;nt.isValid=Cw,nt.abs=eS,nt.add=tS,nt.subtract=nS,nt.as=rS,nt.asMilliseconds=Qh,nt.asSeconds=sS,nt.asMinutes=iS,nt.asHours=aS,nt.asDays=lS,nt.asWeeks=cS,nt.asMonths=dS,nt.asQuarters=uS,nt.asYears=hS,nt.valueOf=fS,nt._bubble=oS,nt.clone=pS,nt.get=mS,nt.milliseconds=gS,nt.seconds=yS,nt.minutes=vS,nt.hours=bS,nt.days=wS,nt.weeks=_S,nt.months=CS,nt.years=SS,nt.humanize=ES,nt.toISOString=Ra,nt.toString=Ra,nt.toJSON=Ra,nt.locale=$h,nt.localeData=jh,nt.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ra),nt.lang=Vh,j("X",0,0,"unix"),j("x",0,0,"valueOf"),Re("x",ln),Re("X",Qt),mt("X",function(c,h,m){m._d=new Date(parseFloat(c)*1e3)}),mt("x",function(c,h,m){m._d=new Date(qe(c))});//! moment.js
package/dist/index.es.js CHANGED
@@ -29817,6 +29817,7 @@ le(As)(({ theme: e }) => ({
29817
29817
  "& .slick-container": {
29818
29818
  userSelect: "none",
29819
29819
  maxWidth: "100%",
29820
+ height: "100%",
29820
29821
  maxHeight: "100%",
29821
29822
  color: e.palette.text.primary,
29822
29823
  borderColor: e.palette.background.paper,
@@ -1 +1 @@
1
- {"version":3,"file":"useResizeCanvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/lib/slickgrid/lib/hooks/useResizeCanvas.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,QAajD"}
1
+ {"version":3,"file":"useResizeCanvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/lib/slickgrid/lib/hooks/useResizeCanvas.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,QAYjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;AA2JA,wBAA2B"}
1
+ {"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;AA4JA,wBAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",