slick-table 1.1.64 → 1.1.65

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
@@ -305,7 +305,7 @@ xe.version="2.30.1";ND(It);xe.fn=ve;xe.min=SM;xe.max=_M;xe.now=xM;xe.utc=Fo;xe.u
305
305
  50% {
306
306
  background-color: #ffb1b1;
307
307
  }
308
- `,_i="0.75rem",PB="24px",DB=ie(An)({backgroundColor:"transparent",fontFamily:"inherit",height:"100%",maxHeight:"100%",maxWidth:"100%",userSelect:"none","&.slick-container":{"& .slick-header":{borderTopColor:"transparent","& .slick-header-column":{"&:last-child":{borderRightColor:"transparent"},"&.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-column-name":{fontSize:_i},"& .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:"transparent"}},"& .slick-resizable-handle":{boxShadow:"none"}}},"& .slick-viewport":{overflowX:"hidden !important",scrollbarWidth:"thin","& .slick-cell":{borderTop:"none",borderRightStyle:"solid",borderLeft:"none",borderWidth:"1px",display:"flex",fontSize:_i,"&:last-child":{borderRight:"none"},"&.text-center":{justifyContent:"center",textAlign:"center"},"&.text-right":{justifyContent:"end",textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Km} infinite 0.5s linear`,"& input":{animation:`${Km} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& #autocomplete":{boxShadow:"0 0 5px 1px gray",fontSize:_i,margin:0,maxHeight:"300px",minWidth:"100%",overflow:"auto",padding:0,position:"absolute",top:PB,"& div":{fontSize:_i,"&:hover":{cursor:"pointer"},"& strong":{color:"#007bff"}}}}},"& .slick-footerrow":{borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",fontSize:_i,paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}}),OB={Container:DB},MB=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u,onBeforeEditCell:f,onCellChange:p,onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S})=>(TB({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u||kB(S),onBeforeEditCell:f,onCellChange:p||_D(S),onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S}),iW(S),dW(S),cW(S),k.jsx(OB.Container,{id:S.id,className:"slick-container"})),IB=ie(An)({height:"100%",width:"100%"}),NB=ie(eh)({borderRadius:"10px",height:"100%",width:"100%"}),Xm={Skeleton:NB,Wrapper:IB},AB=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,isLoading:d,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C})=>d?k.jsx(Xm.Skeleton,{animation:"wave",variant:"rectangular"}):k.jsxs(Xm.Wrapper,{className:"slick-table",children:[k.jsx(MB,{SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C}),k.jsx(Oj,{tableId:C.id}),k.jsx(rj,{tableId:C.id}),k.jsx(bj,{tableId:C.id}),k.jsx(iA,{tableId:C.id})]}),FB={cssClass:"text-center",id:au,field:au};function LB(e,t,n){return n?"<span>&#9998;</span>":""}const $B={id:"isEdited",name:"&#9998;",field:"isEdited",formatter:LB,focusable:!1,sortable:!0,sortAs:So.NUMBER,cssClass:"text-center",maxWidth:30};class VB{passed(t,n,o){if(!n[1]&&!n[2])return!0;switch(o){case je.Boolean:return this.boolean(t,n);case je.DateBetween:return this.dateBetween(t,n);case je.DateEqual:return this.dateEqual(t,n[1]);case je.DateFrom:return this.dateFrom(t,n[1]);case je.DateTo:return this.dateTo(t,n[1]);case je.MultipleSelect:return this.multipleSelect(t,n[1]);case je.NumberBetween:return this.numberBetween(t,n);case je.NumberEqual:return this.numberEqual(t,n[1]);case je.NumberFrom:return this.numberFrom(t,n[1]);case je.NumberTo:return this.numberTo(t,n[1]);case je.TextContain:return this.textContain(t,n[1]);case je.TextEqual:return this.textEqual(t,n[1]);case je.TextNotContain:return!this.textContain(t,n[1]);case je.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 Ss(t)>=Ss(n)}dateTo(t,n){return Ss(t)<=Ss(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 jB=new VB,BB=[fn.Date,fn.Boolean,fn.Number];class WB extends Iv{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)];if(!d)continue;const{filterId:u,group:f,value:p}=n.columnFilters[l];let y=t[d?.field];if(!BB.includes(f)){const w=d?.formatter;w&&(y=w(0,0,y,d,t,o))}if(!jB.passed(y,p,u))return!1}return!0}reset(){this.filter.reset(),this.tableId&&No.highlightAllColumns(this.args,this.tableId)}}function HB(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 ml={exports:{}},zB=ml.exports,Zm;function YB(){return Zm||(Zm=1,function(e,t){(function(n,o){e.exports=o()})(zB,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 g=[],_,I=c.length;for(_=0;_<I;++_)g.push(h(c[_],_));return g}function w(c,h){for(var g in h)l(h,g)&&(c[g]=h[g]);return l(h,"toString")&&(c.toString=h.toString),l(h,"valueOf")&&(c.valueOf=h.valueOf),c}function b(c,h,g,_){return lf(c,h,g,_,!0).utc()}function m(){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=m()),c._pf}var P;Array.prototype.some?P=Array.prototype.some:P=function(c){var h=Object(this),g=h.length>>>0,_;for(_=0;_<g;_++)if(_ in h&&c.call(this,h[_],_,h))return!0;return!1};function D(c){var h=null,g=!1,_=c._d&&!isNaN(c._d.getTime());if(_&&(h=v(c),g=P.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&&g),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 g,_,I,X=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),X>0)for(g=0;g<X;g++)_=S[g],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 B(c){o.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function R(c,h){var g=!0;return w(function(){if(o.deprecationHandler!=null&&o.deprecationHandler(null,c),g){var _=[],I,X,de,Ee=arguments.length;for(X=0;X<Ee;X++){if(I="",typeof arguments[X]=="object"){I+=`
308
+ `,_i="0.75rem",PB="24px",DB=ie(An)({backgroundColor:"transparent",fontFamily:"inherit",height:"100%",maxHeight:"100%",maxWidth:"100%",userSelect:"none","&.slick-container":{"& div.slick-pane.slick-pane-header":{"& .slick-header":{borderTopColor:"transparent","& .slick-header-column":{"&:last-child":{borderRightColor:"transparent"},"&.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-column-name":{fontSize:_i},"& .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:"transparent"}},"& .slick-resizable-handle":{boxShadow:"none"}}}},"& .slick-viewport":{overflowX:"hidden !important",scrollbarWidth:"thin","& .slick-cell":{borderTop:"none",borderRightStyle:"solid",borderLeft:"none",borderWidth:"1px",display:"flex",fontSize:_i,"&:last-child":{borderRight:"none"},"&.text-center":{justifyContent:"center",textAlign:"center"},"&.text-right":{justifyContent:"end",textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Km} infinite 0.5s linear`,"& input":{animation:`${Km} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& #autocomplete":{boxShadow:"0 0 5px 1px gray",fontSize:_i,margin:0,maxHeight:"300px",minWidth:"100%",overflow:"auto",padding:0,position:"absolute",top:PB,"& div":{fontSize:_i,"&:hover":{cursor:"pointer"},"& strong":{color:"#007bff"}}}}},"& .slick-footerrow":{borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",fontSize:_i,paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}}),OB={Container:DB},MB=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u,onBeforeEditCell:f,onCellChange:p,onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S})=>(TB({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u||kB(S),onBeforeEditCell:f,onCellChange:p||_D(S),onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S}),iW(S),dW(S),cW(S),k.jsx(OB.Container,{id:S.id,className:"slick-container"})),IB=ie(An)({height:"100%",width:"100%"}),NB=ie(eh)({borderRadius:"10px",height:"100%",width:"100%"}),Xm={Skeleton:NB,Wrapper:IB},AB=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,isLoading:d,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C})=>d?k.jsx(Xm.Skeleton,{animation:"wave",variant:"rectangular"}):k.jsxs(Xm.Wrapper,{className:"slick-table",children:[k.jsx(MB,{SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C}),k.jsx(Oj,{tableId:C.id}),k.jsx(rj,{tableId:C.id}),k.jsx(bj,{tableId:C.id}),k.jsx(iA,{tableId:C.id})]}),FB={cssClass:"text-center",id:au,field:au};function LB(e,t,n){return n?"<span>&#9998;</span>":""}const $B={id:"isEdited",name:"&#9998;",field:"isEdited",formatter:LB,focusable:!1,sortable:!0,sortAs:So.NUMBER,cssClass:"text-center",maxWidth:30};class VB{passed(t,n,o){if(!n[1]&&!n[2])return!0;switch(o){case je.Boolean:return this.boolean(t,n);case je.DateBetween:return this.dateBetween(t,n);case je.DateEqual:return this.dateEqual(t,n[1]);case je.DateFrom:return this.dateFrom(t,n[1]);case je.DateTo:return this.dateTo(t,n[1]);case je.MultipleSelect:return this.multipleSelect(t,n[1]);case je.NumberBetween:return this.numberBetween(t,n);case je.NumberEqual:return this.numberEqual(t,n[1]);case je.NumberFrom:return this.numberFrom(t,n[1]);case je.NumberTo:return this.numberTo(t,n[1]);case je.TextContain:return this.textContain(t,n[1]);case je.TextEqual:return this.textEqual(t,n[1]);case je.TextNotContain:return!this.textContain(t,n[1]);case je.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 Ss(t)>=Ss(n)}dateTo(t,n){return Ss(t)<=Ss(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 jB=new VB,BB=[fn.Date,fn.Boolean,fn.Number];class WB extends Iv{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)];if(!d)continue;const{filterId:u,group:f,value:p}=n.columnFilters[l];let y=t[d?.field];if(!BB.includes(f)){const w=d?.formatter;w&&(y=w(0,0,y,d,t,o))}if(!jB.passed(y,p,u))return!1}return!0}reset(){this.filter.reset(),this.tableId&&No.highlightAllColumns(this.args,this.tableId)}}function HB(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 ml={exports:{}},zB=ml.exports,Zm;function YB(){return Zm||(Zm=1,function(e,t){(function(n,o){e.exports=o()})(zB,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 g=[],_,I=c.length;for(_=0;_<I;++_)g.push(h(c[_],_));return g}function w(c,h){for(var g in h)l(h,g)&&(c[g]=h[g]);return l(h,"toString")&&(c.toString=h.toString),l(h,"valueOf")&&(c.valueOf=h.valueOf),c}function b(c,h,g,_){return lf(c,h,g,_,!0).utc()}function m(){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=m()),c._pf}var P;Array.prototype.some?P=Array.prototype.some:P=function(c){var h=Object(this),g=h.length>>>0,_;for(_=0;_<g;_++)if(_ in h&&c.call(this,h[_],_,h))return!0;return!1};function D(c){var h=null,g=!1,_=c._d&&!isNaN(c._d.getTime());if(_&&(h=v(c),g=P.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&&g),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 g,_,I,X=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),X>0)for(g=0;g<X;g++)_=S[g],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 B(c){o.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function R(c,h){var g=!0;return w(function(){if(o.deprecationHandler!=null&&o.deprecationHandler(null,c),g){var _=[],I,X,de,Ee=arguments.length;for(X=0;X<Ee;X++){if(I="",typeof arguments[X]=="object"){I+=`
309
309
  [`+X+"] ";for(de in arguments[0])l(arguments[0],de)&&(I+=de+": "+arguments[0][de]+", ");I=I.slice(0,-2)}else I=arguments[X];_.push(I)}B(c+`
310
310
  Arguments: `+Array.prototype.slice.call(_).join("")+`
311
311
  `+new Error().stack),g=!1}return h.apply(this,arguments)},h)}var $={};function K(c,h){o.deprecationHandler!=null&&o.deprecationHandler(c,h),$[c]||(B(h),$[c]=!0)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null;function G(c){return typeof Function<"u"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]"}function q(c){var h,g;for(g in c)l(c,g)&&(h=c[g],G(h)?this[g]=h:this["_"+g]=h);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Y(c,h){var g=w({},c),_;for(_ in h)l(h,_)&&(a(c[_])&&a(h[_])?(g[_]={},w(g[_],c[_]),w(g[_],h[_])):h[_]!=null?g[_]=h[_]:delete g[_]);for(_ in c)l(c,_)&&!l(h,_)&&a(c[_])&&(g[_]=w({},g[_]));return g}function z(c){c!=null&&this.set(c)}var ae;Object.keys?ae=Object.keys:ae=function(c){var h,g=[];for(h in c)l(c,h)&&g.push(h);return g};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,g){var _=this._calendar[c]||this._calendar.sameElse;return G(_)?_.call(h,g):_}function L(c,h,g){var _=""+Math.abs(c),I=h-_.length,X=c>=0;return(X?g?"+":"":"-")+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,g,_){var I=_;typeof _=="string"&&(I=function(){return this[_]()}),c&&(se[c]=I),h&&(se[h[0]]=function(){return L(I.apply(this,arguments),h[1],h[2])}),g&&(se[g]=function(){return this.localeData().ordinal(I.apply(this,arguments),c)})}function ee(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function J(c){var h=c.match(W),g,_;for(g=0,_=h.length;g<_;g++)se[h[g]]?h[g]=se[h[g]]:h[g]=ee(h[g]);return function(I){var X="",de;for(de=0;de<_;de++)X+=G(h[de])?h[de].call(I,c):h[de];return X}}function te(c,h){return c.isValid()?(h=ce(h,c.localeData()),oe[h]=oe[h]||J(h),oe[h](c)):c.localeData().invalidDate()}function ce(c,h){var g=5;function _(I){return h.longDateFormat(I)||I}for(ne.lastIndex=0;g>=0&&ne.test(c);)c=c.replace(ne,_),ne.lastIndex=0,g-=1;return c}var le={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],g=this._longDateFormat[c.toUpperCase()];return h||!g?h:(this._longDateFormat[c]=g.match(W).map(function(_){return _==="MMMM"||_==="MM"||_==="DD"||_==="dddd"?_.slice(1):_}).join(""),this._longDateFormat[c])}var H="Invalid date";function re(){return this._invalidDate}var Z="%d",fe=/\d{1,2}/;function pe(c){return this._ordinal.replace("%d",c)}var be={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 ge(c,h,g,_){var I=this._relativeTime[g];return G(I)?I(c,h,g,_):I.replace(/%d/i,c)}function Re(c,h){var g=this._relativeTime[c>0?"future":"past"];return G(g)?g(h):g.replace(/%s/i,h)}var Ve={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 Ne(c){return typeof c=="string"?Ve[c]||Ve[c.toLowerCase()]:void 0}function Je(c){var h={},g,_;for(_ in c)l(c,_)&&(g=Ne(_),g&&(h[g]=c[_]));return h}var ke={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 ut(c){var h=[],g;for(g in c)l(c,g)&&h.push({unit:g,priority:ke[g]});return h.sort(function(_,I){return _.priority-I.priority}),h}var Yt=/\d/,rt=/\d\d/,Ot=/\d{3}/,Ut=/\d{4}/,Lt=/[+-]?\d{6}/,Ue=/\d\d?/,Be=/\d\d\d\d?/,rn=/\d\d\d\d\d\d?/,un=/\d{1,3}/,Oe=/\d{1,4}/,We=/[+-]?\d{1,6}/,ht=/\d+/,nn=/[+-]?\d+/,Fn=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,Zt=/[+-]?\d+(\.\d{1,3})?/,mn=/[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,Qt=/^[1-9]\d?/,cr=/^([1-9]\d|\d)/,He;He={};function _e(c,h,g){He[c]=G(h)?h:function(_,I){return _&&g?g:h}}function Vc(c,h){return l(He,c)?He[c](h._strict,h._locale):new RegExp(Ra(c))}function Ra(c){return zn(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(h,g,_,I,X){return g||_||I||X}))}function zn(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kn(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function Xe(c){var h=+c,g=0;return h!==0&&isFinite(h)&&(g=kn(h)),g}var Jr={};function yt(c,h){var g,_=h,I;for(typeof c=="string"&&(c=[c]),f(h)&&(_=function(X,de){de[h]=Xe(X)}),I=c.length,g=0;g<I;g++)Jr[c[g]]=_}function xr(c,h){yt(c,function(g,_,I,X){I._w=I._w||{},h(g,I._w,I,X)})}function jc(c,h,g){h!=null&&l(Jr,c)&&Jr[c](h,g._a,g,c)}function es(c){return c%4===0&&c%100!==0||c%400===0}var hn=0,U=1,me=2,Ce=3,Fe=4,Ge=5,st=6,et=7,Ze=8;j("Y",0,0,function(){var c=this.year();return c<=9999?L(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"),_e("Y",nn),_e("YY",Ue,rt),_e("YYYY",Oe,Ut),_e("YYYYY",We,Lt),_e("YYYYYY",We,Lt),yt(["YYYYY","YYYYYY"],hn),yt("YYYY",function(c,h){h[hn]=c.length===2?o.parseTwoDigitYear(c):Xe(c)}),yt("YY",function(c,h){h[hn]=o.parseTwoDigitYear(c)}),yt("Y",function(c,h){h[hn]=parseInt(c,10)});function Jt(c){return es(c)?366:365}o.parseTwoDigitYear=function(c){return Xe(c)+(Xe(c)>68?1900:2e3)};var $t=sn("FullYear",!0);function qt(){return es(this.year())}function sn(c,h){return function(g){return g!=null?(vo(this,c,g),o.updateOffset(this,h),this):Yn(this,c)}}function Yn(c,h){if(!c.isValid())return NaN;var g=c._d,_=c._isUTC;switch(h){case"Milliseconds":return _?g.getUTCMilliseconds():g.getMilliseconds();case"Seconds":return _?g.getUTCSeconds():g.getSeconds();case"Minutes":return _?g.getUTCMinutes():g.getMinutes();case"Hours":return _?g.getUTCHours():g.getHours();case"Date":return _?g.getUTCDate():g.getDate();case"Day":return _?g.getUTCDay():g.getDay();case"Month":return _?g.getUTCMonth():g.getMonth();case"FullYear":return _?g.getUTCFullYear():g.getFullYear();default:return NaN}}function vo(c,h,g){var _,I,X,de,Ee;if(!(!c.isValid()||isNaN(g))){switch(_=c._d,I=c._isUTC,h){case"Milliseconds":return void(I?_.setUTCMilliseconds(g):_.setMilliseconds(g));case"Seconds":return void(I?_.setUTCSeconds(g):_.setSeconds(g));case"Minutes":return void(I?_.setUTCMinutes(g):_.setMinutes(g));case"Hours":return void(I?_.setUTCHours(g):_.setHours(g));case"Date":return void(I?_.setUTCDate(g):_.setDate(g));case"FullYear":break;default:return}X=g,de=c.month(),Ee=c.date(),Ee=Ee===29&&de===1&&!es(X)?28:Ee,I?_.setUTCFullYear(X,de,Ee):_.setFullYear(X,de,Ee)}}function vn(c){return c=Ne(c),G(this[c])?this[c]():this}function Xs(c,h){if(typeof c=="object"){c=Je(c);var g=ut(c),_,I=g.length;for(_=0;_<I;_++)this[g[_].unit](c[g[_].unit])}else if(c=Ne(c),G(this[c]))return this[c](h);return this}function Bc(c,h){return(c%h+h)%h}var Wt;Array.prototype.indexOf?Wt=Array.prototype.indexOf:Wt=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 g=Bc(h,12);return c+=(h-g)/12,g===1?es(c)?29:28:31-g%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)}),_e("M",Ue,Qt),_e("MM",Ue,rt),_e("MMM",function(c,h){return h.monthsShortRegex(c)}),_e("MMMM",function(c,h){return h.monthsRegex(c)}),yt(["M","MM"],function(c,h){h[U]=Xe(c)-1}),yt(["MMM","MMMM"],function(c,h,g,_){var I=g._locale.monthsParse(c,_,g._strict);I!=null?h[U]=I:v(g).invalidMonth=c});var Vb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qh="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Gh=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jb=mn,Bb=mn;function Wb(c,h){return c?i(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||Gh).test(h)?"format":"standalone"][c.month()]:i(this._months)?this._months:this._months.standalone}function Hb(c,h){return c?i(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[Gh.test(h)?"format":"standalone"][c.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function zb(c,h,g){var _,I,X,de=c.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],_=0;_<12;++_)X=b([2e3,_]),this._shortMonthsParse[_]=this.monthsShort(X,"").toLocaleLowerCase(),this._longMonthsParse[_]=this.months(X,"").toLocaleLowerCase();return g?h==="MMM"?(I=Wt.call(this._shortMonthsParse,de),I!==-1?I:null):(I=Wt.call(this._longMonthsParse,de),I!==-1?I:null):h==="MMM"?(I=Wt.call(this._shortMonthsParse,de),I!==-1?I:(I=Wt.call(this._longMonthsParse,de),I!==-1?I:null)):(I=Wt.call(this._longMonthsParse,de),I!==-1?I:(I=Wt.call(this._shortMonthsParse,de),I!==-1?I:null))}function Yb(c,h,g){var _,I,X;if(this._monthsParseExact)return zb.call(this,c,h,g);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),_=0;_<12;_++){if(I=b([2e3,_]),g&&!this._longMonthsParse[_]&&(this._longMonthsParse[_]=new RegExp("^"+this.months(I,"").replace(".","")+"$","i"),this._shortMonthsParse[_]=new RegExp("^"+this.monthsShort(I,"").replace(".","")+"$","i")),!g&&!this._monthsParse[_]&&(X="^"+this.months(I,"")+"|^"+this.monthsShort(I,""),this._monthsParse[_]=new RegExp(X.replace(".",""),"i")),g&&h==="MMMM"&&this._longMonthsParse[_].test(c))return _;if(g&&h==="MMM"&&this._shortMonthsParse[_].test(c))return _;if(!g&&this._monthsParse[_].test(c))return _}}function Kh(c,h){if(!c.isValid())return c;if(typeof h=="string"){if(/^\d+$/.test(h))h=Xe(h);else if(h=c.localeData().monthsParse(h),!f(h))return c}var g=h,_=c.date();return _=_<29?_:Math.min(_,Wc(c.year(),g)),c._isUTC?c._d.setUTCMonth(g,_):c._d.setMonth(g,_),c}function Xh(c){return c!=null?(Kh(this,c),o.updateOffset(this,!0),this):Yn(this,"Month")}function Ub(){return Wc(this.year(),this.month())}function qb(c){return this._monthsParseExact?(l(this,"_monthsRegex")||Zh.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=jb),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)}function Gb(c){return this._monthsParseExact?(l(this,"_monthsRegex")||Zh.call(this),c?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Bb),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)}function Zh(){function c(ze,it){return it.length-ze.length}var h=[],g=[],_=[],I,X,de,Ee;for(I=0;I<12;I++)X=b([2e3,I]),de=zn(this.monthsShort(X,"")),Ee=zn(this.months(X,"")),h.push(de),g.push(Ee),_.push(Ee),_.push(de);h.sort(c),g.sort(c),_.sort(c),this._monthsRegex=new RegExp("^("+_.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+g.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+h.join("|")+")","i")}function Kb(c,h,g,_,I,X,de){var Ee;return c<100&&c>=0?(Ee=new Date(c+400,h,g,_,I,X,de),isFinite(Ee.getFullYear())&&Ee.setFullYear(c)):Ee=new Date(c,h,g,_,I,X,de),Ee}function Zs(c){var h,g;return c<100&&c>=0?(g=Array.prototype.slice.call(arguments),g[0]=c+400,h=new Date(Date.UTC.apply(null,g)),isFinite(h.getUTCFullYear())&&h.setUTCFullYear(c)):h=new Date(Date.UTC.apply(null,arguments)),h}function Ta(c,h,g){var _=7+h-g,I=(7+Zs(c,0,_).getUTCDay()-h)%7;return-I+_-1}function Qh(c,h,g,_,I){var X=(7+g-_)%7,de=Ta(c,_,I),Ee=1+7*(h-1)+X+de,ze,it;return Ee<=0?(ze=c-1,it=Jt(ze)+Ee):Ee>Jt(c)?(ze=c+1,it=Ee-Jt(c)):(ze=c,it=Ee),{year:ze,dayOfYear:it}}function Qs(c,h,g){var _=Ta(c.year(),h,g),I=Math.floor((c.dayOfYear()-_-1)/7)+1,X,de;return I<1?(de=c.year()-1,X=I+$o(de,h,g)):I>$o(c.year(),h,g)?(X=I-$o(c.year(),h,g),de=c.year()+1):(de=c.year(),X=I),{week:X,year:de}}function $o(c,h,g){var _=Ta(c,h,g),I=Ta(c+1,h,g);return(Jt(c)-_+I)/7}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),_e("w",Ue,Qt),_e("ww",Ue,rt),_e("W",Ue,Qt),_e("WW",Ue,rt),xr(["w","ww","W","WW"],function(c,h,g,_){h[_.substr(0,1)]=Xe(c)});function Xb(c){return Qs(c,this._week.dow,this._week.doy).week}var Zb={dow:0,doy:6};function Qb(){return this._week.dow}function Jb(){return this._week.doy}function ew(c){var h=this.localeData().week(this);return c==null?h:this.add((c-h)*7,"d")}function tw(c){var h=Qs(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"),_e("d",Ue),_e("e",Ue),_e("E",Ue),_e("dd",function(c,h){return h.weekdaysMinRegex(c)}),_e("ddd",function(c,h){return h.weekdaysShortRegex(c)}),_e("dddd",function(c,h){return h.weekdaysRegex(c)}),xr(["dd","ddd","dddd"],function(c,h,g,_){var I=g._locale.weekdaysParse(c,_,g._strict);I!=null?h.d=I:v(g).invalidWeekday=c}),xr(["d","e","E"],function(c,h,g,_){h[_]=Xe(c)});function nw(c,h){return typeof c!="string"?c:isNaN(c)?(c=h.weekdaysParse(c),typeof c=="number"?c:null):parseInt(c,10)}function ow(c,h){return typeof c=="string"?h.weekdaysParse(c)%7||7:isNaN(c)?null:c}function Hc(c,h){return c.slice(h,7).concat(c.slice(0,h))}var rw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sw="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),iw=mn,aw=mn,lw=mn;function cw(c,h){var g=i(this._weekdays)?this._weekdays:this._weekdays[c&&c!==!0&&this._weekdays.isFormat.test(h)?"format":"standalone"];return c===!0?Hc(g,this._week.dow):c?g[c.day()]:g}function dw(c){return c===!0?Hc(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort}function uw(c){return c===!0?Hc(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin}function hw(c,h,g){var _,I,X,de=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],_=0;_<7;++_)X=b([2e3,1]).day(_),this._minWeekdaysParse[_]=this.weekdaysMin(X,"").toLocaleLowerCase(),this._shortWeekdaysParse[_]=this.weekdaysShort(X,"").toLocaleLowerCase(),this._weekdaysParse[_]=this.weekdays(X,"").toLocaleLowerCase();return g?h==="dddd"?(I=Wt.call(this._weekdaysParse,de),I!==-1?I:null):h==="ddd"?(I=Wt.call(this._shortWeekdaysParse,de),I!==-1?I:null):(I=Wt.call(this._minWeekdaysParse,de),I!==-1?I:null):h==="dddd"?(I=Wt.call(this._weekdaysParse,de),I!==-1||(I=Wt.call(this._shortWeekdaysParse,de),I!==-1)?I:(I=Wt.call(this._minWeekdaysParse,de),I!==-1?I:null)):h==="ddd"?(I=Wt.call(this._shortWeekdaysParse,de),I!==-1||(I=Wt.call(this._weekdaysParse,de),I!==-1)?I:(I=Wt.call(this._minWeekdaysParse,de),I!==-1?I:null)):(I=Wt.call(this._minWeekdaysParse,de),I!==-1||(I=Wt.call(this._weekdaysParse,de),I!==-1)?I:(I=Wt.call(this._shortWeekdaysParse,de),I!==-1?I:null))}function fw(c,h,g){var _,I,X;if(this._weekdaysParseExact)return hw.call(this,c,h,g);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),_=0;_<7;_++){if(I=b([2e3,1]).day(_),g&&!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[_]||(X="^"+this.weekdays(I,"")+"|^"+this.weekdaysShort(I,"")+"|^"+this.weekdaysMin(I,""),this._weekdaysParse[_]=new RegExp(X.replace(".",""),"i")),g&&h==="dddd"&&this._fullWeekdaysParse[_].test(c))return _;if(g&&h==="ddd"&&this._shortWeekdaysParse[_].test(c))return _;if(g&&h==="dd"&&this._minWeekdaysParse[_].test(c))return _;if(!g&&this._weekdaysParse[_].test(c))return _}}function pw(c){if(!this.isValid())return c!=null?this:NaN;var h=Yn(this,"Day");return c!=null?(c=nw(c,this.localeData()),this.add(c-h,"d")):h}function mw(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 gw(c){if(!this.isValid())return c!=null?this:NaN;if(c!=null){var h=ow(c,this.localeData());return this.day(this.day()%7?h:h-7)}else return this.day()||7}function yw(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||zc.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=iw),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)}function vw(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||zc.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=aw),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function bw(c){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||zc.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=lw),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zc(){function c(Rn,Ho){return Ho.length-Rn.length}var h=[],g=[],_=[],I=[],X,de,Ee,ze,it;for(X=0;X<7;X++)de=b([2e3,1]).day(X),Ee=zn(this.weekdaysMin(de,"")),ze=zn(this.weekdaysShort(de,"")),it=zn(this.weekdays(de,"")),h.push(Ee),g.push(ze),_.push(it),I.push(Ee),I.push(ze),I.push(it);h.sort(c),g.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("^("+g.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function Yc(){return this.hours()%12||12}function ww(){return this.hours()||24}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Yc),j("k",["kk",2],0,ww),j("hmm",0,0,function(){return""+Yc.apply(this)+L(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Yc.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)});function ef(c,h){j(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),h)})}ef("a",!0),ef("A",!1);function tf(c,h){return h._meridiemParse}_e("a",tf),_e("A",tf),_e("H",Ue,cr),_e("h",Ue,Qt),_e("k",Ue,Qt),_e("HH",Ue,rt),_e("hh",Ue,rt),_e("kk",Ue,rt),_e("hmm",Be),_e("hmmss",rn),_e("Hmm",Be),_e("Hmmss",rn),yt(["H","HH"],Ce),yt(["k","kk"],function(c,h,g){var _=Xe(c);h[Ce]=_===24?0:_}),yt(["a","A"],function(c,h,g){g._isPm=g._locale.isPM(c),g._meridiem=c}),yt(["h","hh"],function(c,h,g){h[Ce]=Xe(c),v(g).bigHour=!0}),yt("hmm",function(c,h,g){var _=c.length-2;h[Ce]=Xe(c.substr(0,_)),h[Fe]=Xe(c.substr(_)),v(g).bigHour=!0}),yt("hmmss",function(c,h,g){var _=c.length-4,I=c.length-2;h[Ce]=Xe(c.substr(0,_)),h[Fe]=Xe(c.substr(_,2)),h[Ge]=Xe(c.substr(I)),v(g).bigHour=!0}),yt("Hmm",function(c,h,g){var _=c.length-2;h[Ce]=Xe(c.substr(0,_)),h[Fe]=Xe(c.substr(_))}),yt("Hmmss",function(c,h,g){var _=c.length-4,I=c.length-2;h[Ce]=Xe(c.substr(0,_)),h[Fe]=Xe(c.substr(_,2)),h[Ge]=Xe(c.substr(I))});function Cw(c){return(c+"").toLowerCase().charAt(0)==="p"}var Sw=/[ap]\.?m?\.?/i,_w=sn("Hours",!0);function xw(c,h,g){return c>11?g?"pm":"PM":g?"am":"AM"}var nf={calendar:N,longDateFormat:le,invalidDate:H,ordinal:Z,dayOfMonthOrdinalParse:fe,relativeTime:be,months:Vb,monthsShort:qh,week:Zb,weekdays:rw,weekdaysMin:sw,weekdaysShort:Jh,meridiemParse:Sw},Vt={},Js={},ei;function Rw(c,h){var g,_=Math.min(c.length,h.length);for(g=0;g<_;g+=1)if(c[g]!==h[g])return g;return _}function of(c){return c&&c.toLowerCase().replace("_","-")}function Tw(c){for(var h=0,g,_,I,X;h<c.length;){for(X=of(c[h]).split("-"),g=X.length,_=of(c[h+1]),_=_?_.split("-"):null;g>0;){if(I=ka(X.slice(0,g).join("-")),I)return I;if(_&&_.length>=g&&Rw(X,_)>=g-1)break;g--}h++}return ei}function kw(c){return!!(c&&c.match("^[^/\\\\]*$"))}function ka(c){var h=null,g;if(Vt[c]===void 0&&e&&e.exports&&kw(c))try{h=ei._abbr,g=HB,g("./locale/"+c),dr(h)}catch{Vt[c]=null}return Vt[c]}function dr(c,h){var g;return c&&(u(h)?g=Vo(c):g=Uc(c,h),g?ei=g:typeof console<"u"&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),ei._abbr}function Uc(c,h){if(h!==null){var g,_=nf;if(h.abbr=c,Vt[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."),_=Vt[c]._config;else if(h.parentLocale!=null)if(Vt[h.parentLocale]!=null)_=Vt[h.parentLocale]._config;else if(g=ka(h.parentLocale),g!=null)_=g._config;else return Js[h.parentLocale]||(Js[h.parentLocale]=[]),Js[h.parentLocale].push({name:c,config:h}),null;return Vt[c]=new z(Y(_,h)),Js[c]&&Js[c].forEach(function(I){Uc(I.name,I.config)}),dr(c),Vt[c]}else return delete Vt[c],null}function Ew(c,h){if(h!=null){var g,_,I=nf;Vt[c]!=null&&Vt[c].parentLocale!=null?Vt[c].set(Y(Vt[c]._config,h)):(_=ka(c),_!=null&&(I=_._config),h=Y(I,h),_==null&&(h.abbr=c),g=new z(h),g.parentLocale=Vt[c],Vt[c]=g),dr(c)}else Vt[c]!=null&&(Vt[c].parentLocale!=null?(Vt[c]=Vt[c].parentLocale,c===dr()&&dr(c)):Vt[c]!=null&&delete Vt[c]);return Vt[c]}function Vo(c){var h;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return ei;if(!i(c)){if(h=ka(c),h)return h;c=[c]}return Tw(c)}function Pw(){return ae(Vt)}function qc(c){var h,g=c._a;return g&&v(c).overflow===-2&&(h=g[U]<0||g[U]>11?U:g[me]<1||g[me]>Wc(g[hn],g[U])?me:g[Ce]<0||g[Ce]>24||g[Ce]===24&&(g[Fe]!==0||g[Ge]!==0||g[st]!==0)?Ce:g[Fe]<0||g[Fe]>59?Fe:g[Ge]<0||g[Ge]>59?Ge:g[st]<0||g[st]>999?st:-1,v(c)._overflowDayOfYear&&(h<hn||h>me)&&(h=me),v(c)._overflowWeeks&&h===-1&&(h=et),v(c)._overflowWeekday&&h===-1&&(h=Ze),v(c).overflow=h),c}var Dw=/^\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)?)?$/,Ow=/^\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)?)?$/,Mw=/Z|[+-]\d\d(?::?\d\d)?/,Ea=[["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]],Gc=[["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/]],Iw=/^\/?Date\((-?\d+)/i,Nw=/^(?:(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}))$/,Aw={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 rf(c){var h,g,_=c._i,I=Dw.exec(_)||Ow.exec(_),X,de,Ee,ze,it=Ea.length,Rn=Gc.length;if(I){for(v(c).iso=!0,h=0,g=it;h<g;h++)if(Ea[h][1].exec(I[1])){de=Ea[h][0],X=Ea[h][2]!==!1;break}if(de==null){c._isValid=!1;return}if(I[3]){for(h=0,g=Rn;h<g;h++)if(Gc[h][1].exec(I[3])){Ee=(I[2]||" ")+Gc[h][0];break}if(Ee==null){c._isValid=!1;return}}if(!X&&Ee!=null){c._isValid=!1;return}if(I[4])if(Mw.exec(I[4]))ze="Z";else{c._isValid=!1;return}c._f=de+(Ee||"")+(ze||""),Xc(c)}else c._isValid=!1}function Fw(c,h,g,_,I,X){var de=[Lw(c),qh.indexOf(h),parseInt(g,10),parseInt(_,10),parseInt(I,10)];return X&&de.push(parseInt(X,10)),de}function Lw(c){var h=parseInt(c,10);return h<=49?2e3+h:h<=999?1900+h:h}function $w(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Vw(c,h,g){if(c){var _=Jh.indexOf(c),I=new Date(h[0],h[1],h[2]).getDay();if(_!==I)return v(g).weekdayMismatch=!0,g._isValid=!1,!1}return!0}function jw(c,h,g){if(c)return Aw[c];if(h)return 0;var _=parseInt(g,10),I=_%100,X=(_-I)/100;return X*60+I}function sf(c){var h=Nw.exec($w(c._i)),g;if(h){if(g=Fw(h[4],h[3],h[2],h[5],h[6],h[7]),!Vw(h[1],g,c))return;c._a=g,c._tzm=jw(h[8],h[9],h[10]),c._d=Zs.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),v(c).rfc2822=!0}else c._isValid=!1}function Bw(c){var h=Iw.exec(c._i);if(h!==null){c._d=new Date(+h[1]);return}if(rf(c),c._isValid===!1)delete c._isValid;else return;if(sf(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 ts(c,h,g){return c??h??g}function Ww(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,g,_=[],I,X,de;if(!c._d){for(I=Ww(c),c._w&&c._a[me]==null&&c._a[U]==null&&Hw(c),c._dayOfYear!=null&&(de=ts(c._a[hn],I[hn]),(c._dayOfYear>Jt(de)||c._dayOfYear===0)&&(v(c)._overflowDayOfYear=!0),g=Zs(de,0,c._dayOfYear),c._a[U]=g.getUTCMonth(),c._a[me]=g.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[Ce]===24&&c._a[Fe]===0&&c._a[Ge]===0&&c._a[st]===0&&(c._nextDay=!0,c._a[Ce]=0),c._d=(c._useUTC?Zs:Kb).apply(null,_),X=c._useUTC?c._d.getUTCDay():c._d.getDay(),c._tzm!=null&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[Ce]=24),c._w&&typeof c._w.d<"u"&&c._w.d!==X&&(v(c).weekdayMismatch=!0)}}function Hw(c){var h,g,_,I,X,de,Ee,ze,it;h=c._w,h.GG!=null||h.W!=null||h.E!=null?(X=1,de=4,g=ts(h.GG,c._a[hn],Qs(Mt(),1,4).year),_=ts(h.W,1),I=ts(h.E,1),(I<1||I>7)&&(ze=!0)):(X=c._locale._week.dow,de=c._locale._week.doy,it=Qs(Mt(),X,de),g=ts(h.gg,c._a[hn],it.year),_=ts(h.w,it.week),h.d!=null?(I=h.d,(I<0||I>6)&&(ze=!0)):h.e!=null?(I=h.e+X,(h.e<0||h.e>6)&&(ze=!0)):I=X),_<1||_>$o(g,X,de)?v(c)._overflowWeeks=!0:ze!=null?v(c)._overflowWeekday=!0:(Ee=Qh(g,_,I,X,de),c._a[hn]=Ee.year,c._dayOfYear=Ee.dayOfYear)}o.ISO_8601=function(){},o.RFC_2822=function(){};function Xc(c){if(c._f===o.ISO_8601){rf(c);return}if(c._f===o.RFC_2822){sf(c);return}c._a=[],v(c).empty=!0;var h=""+c._i,g,_,I,X,de,Ee=h.length,ze=0,it,Rn;for(I=ce(c._f,c._locale).match(W)||[],Rn=I.length,g=0;g<Rn;g++)X=I[g],_=(h.match(Vc(X,c))||[])[0],_&&(de=h.substr(0,h.indexOf(_)),de.length>0&&v(c).unusedInput.push(de),h=h.slice(h.indexOf(_)+_.length),ze+=_.length),se[X]?(_?v(c).empty=!1:v(c).unusedTokens.push(X),jc(X,_,c)):c._strict&&!_&&v(c).unusedTokens.push(X);v(c).charsLeftOver=Ee-ze,h.length>0&&v(c).unusedInput.push(h),c._a[Ce]<=12&&v(c).bigHour===!0&&c._a[Ce]>0&&(v(c).bigHour=void 0),v(c).parsedDateParts=c._a.slice(0),v(c).meridiem=c._meridiem,c._a[Ce]=zw(c._locale,c._a[Ce],c._meridiem),it=v(c).era,it!==null&&(c._a[hn]=c._locale.erasConvertYear(it,c._a[hn])),Kc(c),qc(c)}function zw(c,h,g){var _;return g==null?h:c.meridiemHour!=null?c.meridiemHour(h,g):(c.isPM!=null&&(_=c.isPM(g),_&&h<12&&(h+=12),!_&&h===12&&(h=0)),h)}function Yw(c){var h,g,_,I,X,de,Ee=!1,ze=c._f.length;if(ze===0){v(c).invalidFormat=!0,c._d=new Date(NaN);return}for(I=0;I<ze;I++)X=0,de=!1,h=O({},c),c._useUTC!=null&&(h._useUTC=c._useUTC),h._f=c._f[I],Xc(h),D(h)&&(de=!0),X+=v(h).charsLeftOver,X+=v(h).unusedTokens.length*10,v(h).score=X,Ee?X<_&&(_=X,g=h):(_==null||X<_||de)&&(_=X,g=h,de&&(Ee=!0));w(c,g||h)}function Uw(c){if(!c._d){var h=Je(c._i),g=h.day===void 0?h.date:h.day;c._a=y([h.year,h.month,g,h.hour,h.minute,h.second,h.millisecond],function(_){return _&&parseInt(_,10)}),Kc(c)}}function qw(c){var h=new A(qc(af(c)));return h._nextDay&&(h.add(1,"d"),h._nextDay=void 0),h}function af(c){var h=c._i,g=c._f;return c._locale=c._locale||Vo(c._l),h===null||g===void 0&&h===""?x({nullInput:!0}):(typeof h=="string"&&(c._i=h=c._locale.preparse(h)),F(h)?new A(qc(h)):(p(h)?c._d=h:i(g)?Yw(c):g?Xc(c):Gw(c),D(c)||(c._d=null),c))}function Gw(c){var h=c._i;u(h)?c._d=new Date(o.now()):p(h)?c._d=new Date(h.valueOf()):typeof h=="string"?Bw(c):i(h)?(c._a=y(h.slice(0),function(g){return parseInt(g,10)}),Kc(c)):a(h)?Uw(c):f(h)?c._d=new Date(h):o.createFromInputFallback(c)}function lf(c,h,g,_,I){var X={};return(h===!0||h===!1)&&(_=h,h=void 0),(g===!0||g===!1)&&(_=g,g=void 0),(a(c)&&d(c)||i(c)&&c.length===0)&&(c=void 0),X._isAMomentObject=!0,X._useUTC=X._isUTC=I,X._l=g,X._i=c,X._f=h,X._strict=_,qw(X)}function Mt(c,h,g,_){return lf(c,h,g,_,!1)}var Kw=R("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Mt.apply(null,arguments);return this.isValid()&&c.isValid()?c<this?this:c:x()}),Xw=R("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Mt.apply(null,arguments);return this.isValid()&&c.isValid()?c>this?this:c:x()});function cf(c,h){var g,_;if(h.length===1&&i(h[0])&&(h=h[0]),!h.length)return Mt();for(g=h[0],_=1;_<h.length;++_)(!h[_].isValid()||h[_][c](g))&&(g=h[_]);return g}function Zw(){var c=[].slice.call(arguments,0);return cf("isBefore",c)}function Qw(){var c=[].slice.call(arguments,0);return cf("isAfter",c)}var Jw=function(){return Date.now?Date.now():+new Date},ti=["year","quarter","month","week","day","hour","minute","second","millisecond"];function eC(c){var h,g=!1,_,I=ti.length;for(h in c)if(l(c,h)&&!(Wt.call(ti,h)!==-1&&(c[h]==null||!isNaN(c[h]))))return!1;for(_=0;_<I;++_)if(c[ti[_]]){if(g)return!1;parseFloat(c[ti[_]])!==Xe(c[ti[_]])&&(g=!0)}return!0}function tC(){return this._isValid}function nC(){return ao(NaN)}function Pa(c){var h=Je(c),g=h.year||0,_=h.quarter||0,I=h.month||0,X=h.week||h.isoWeek||0,de=h.day||0,Ee=h.hour||0,ze=h.minute||0,it=h.second||0,Rn=h.millisecond||0;this._isValid=eC(h),this._milliseconds=+Rn+it*1e3+ze*6e4+Ee*1e3*60*60,this._days=+de+X*7,this._months=+I+_*3+g*12,this._data={},this._locale=Vo(),this._bubble()}function Da(c){return c instanceof Pa}function Zc(c){return c<0?Math.round(-1*c)*-1:Math.round(c)}function oC(c,h,g){var _=Math.min(c.length,h.length),I=Math.abs(c.length-h.length),X=0,de;for(de=0;de<_;de++)Xe(c[de])!==Xe(h[de])&&X++;return X+I}function df(c,h){j(c,0,0,function(){var g=this.utcOffset(),_="+";return g<0&&(g=-g,_="-"),_+L(~~(g/60),2)+h+L(~~g%60,2)})}df("Z",":"),df("ZZ",""),_e("Z",at),_e("ZZ",at),yt(["Z","ZZ"],function(c,h,g){g._useUTC=!0,g._tzm=Qc(at,c)});var rC=/([\+\-]|\d\d)/gi;function Qc(c,h){var g=(h||"").match(c),_,I,X;return g===null?null:(_=g[g.length-1]||[],I=(_+"").match(rC)||["-",0,0],X=+(I[1]*60)+Xe(I[2]),X===0?0:I[0]==="+"?X:-X)}function Jc(c,h){var g,_;return h._isUTC?(g=h.clone(),_=(F(c)||p(c)?c.valueOf():Mt(c).valueOf())-g.valueOf(),g._d.setTime(g._d.valueOf()+_),o.updateOffset(g,!1),g):Mt(c).local()}function ed(c){return-Math.round(c._d.getTimezoneOffset())}o.updateOffset=function(){};function sC(c,h,g){var _=this._offset||0,I;if(!this.isValid())return c!=null?this:NaN;if(c!=null){if(typeof c=="string"){if(c=Qc(at,c),c===null)return this}else Math.abs(c)<16&&!g&&(c=c*60);return!this._isUTC&&h&&(I=ed(this)),this._offset=c,this._isUTC=!0,I!=null&&this.add(I,"m"),_!==c&&(!h||this._changeInProgress?pf(this,ao(c-_,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?_:ed(this)}function iC(c,h){return c!=null?(typeof c!="string"&&(c=-c),this.utcOffset(c,h),this):-this.utcOffset()}function aC(c){return this.utcOffset(0,c)}function lC(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(ed(this),"m")),this}function cC(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var c=Qc(Fn,this._i);c!=null?this.utcOffset(c):this.utcOffset(0,!0)}return this}function dC(c){return this.isValid()?(c=c?Mt(c).utcOffset():0,(this.utcOffset()-c)%60===0):!1}function uC(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function hC(){if(!u(this._isDSTShifted))return this._isDSTShifted;var c={},h;return O(c,this),c=af(c),c._a?(h=c._isUTC?b(c._a):Mt(c._a),this._isDSTShifted=this.isValid()&&oC(c._a,h.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fC(){return this.isValid()?!this._isUTC:!1}function pC(){return this.isValid()?this._isUTC:!1}function uf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var mC=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,gC=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ao(c,h){var g=c,_=null,I,X,de;return Da(c)?g={ms:c._milliseconds,d:c._days,M:c._months}:f(c)||!isNaN(+c)?(g={},h?g[h]=+c:g.milliseconds=+c):(_=mC.exec(c))?(I=_[1]==="-"?-1:1,g={y:0,d:Xe(_[me])*I,h:Xe(_[Ce])*I,m:Xe(_[Fe])*I,s:Xe(_[Ge])*I,ms:Xe(Zc(_[st]*1e3))*I}):(_=gC.exec(c))?(I=_[1]==="-"?-1:1,g={y:Rr(_[2],I),M:Rr(_[3],I),w:Rr(_[4],I),d:Rr(_[5],I),h:Rr(_[6],I),m:Rr(_[7],I),s:Rr(_[8],I)}):g==null?g={}:typeof g=="object"&&("from"in g||"to"in g)&&(de=yC(Mt(g.from),Mt(g.to)),g={},g.ms=de.milliseconds,g.M=de.months),X=new Pa(g),Da(c)&&l(c,"_locale")&&(X._locale=c._locale),Da(c)&&l(c,"_isValid")&&(X._isValid=c._isValid),X}ao.fn=Pa.prototype,ao.invalid=nC;function Rr(c,h){var g=c&&parseFloat(c.replace(",","."));return(isNaN(g)?0:g)*h}function hf(c,h){var g={};return g.months=h.month()-c.month()+(h.year()-c.year())*12,c.clone().add(g.months,"M").isAfter(h)&&--g.months,g.milliseconds=+h-+c.clone().add(g.months,"M"),g}function yC(c,h){var g;return c.isValid()&&h.isValid()?(h=Jc(h,c),c.isBefore(h)?g=hf(c,h):(g=hf(h,c),g.milliseconds=-g.milliseconds,g.months=-g.months),g):{milliseconds:0,months:0}}function ff(c,h){return function(g,_){var I,X;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."),X=g,g=_,_=X),I=ao(g,_),pf(this,I,c),this}}function pf(c,h,g,_){var I=h._milliseconds,X=Zc(h._days),de=Zc(h._months);c.isValid()&&(_=_??!0,de&&Kh(c,Yn(c,"Month")+de*g),X&&vo(c,"Date",Yn(c,"Date")+X*g),I&&c._d.setTime(c._d.valueOf()+I*g),_&&o.updateOffset(c,X||de))}var vC=ff(1,"add"),bC=ff(-1,"subtract");function mf(c){return typeof c=="string"||c instanceof String}function wC(c){return F(c)||p(c)||mf(c)||f(c)||SC(c)||CC(c)||c===null||c===void 0}function CC(c){var h=a(c)&&!d(c),g=!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,X,de=_.length;for(I=0;I<de;I+=1)X=_[I],g=g||l(c,X);return h&&g}function SC(c){var h=i(c),g=!1;return h&&(g=c.filter(function(_){return!f(_)&&mf(c)}).length===0),h&&g}function _C(c){var h=a(c)&&!d(c),g=!1,_=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],I,X;for(I=0;I<_.length;I+=1)X=_[I],g=g||l(c,X);return h&&g}function xC(c,h){var g=c.diff(h,"days",!0);return g<-6?"sameElse":g<-1?"lastWeek":g<0?"lastDay":g<1?"sameDay":g<2?"nextDay":g<7?"nextWeek":"sameElse"}function RC(c,h){arguments.length===1&&(arguments[0]?wC(arguments[0])?(c=arguments[0],h=void 0):_C(arguments[0])&&(h=arguments[0],c=void 0):(c=void 0,h=void 0));var g=c||Mt(),_=Jc(g,this).startOf("day"),I=o.calendarFormat(this,_)||"sameElse",X=h&&(G(h[I])?h[I].call(this,g):h[I]);return this.format(X||this.localeData().calendar(I,this,Mt(g)))}function TC(){return new A(this)}function kC(c,h){var g=F(c)?c:Mt(c);return this.isValid()&&g.isValid()?(h=Ne(h)||"millisecond",h==="millisecond"?this.valueOf()>g.valueOf():g.valueOf()<this.clone().startOf(h).valueOf()):!1}function EC(c,h){var g=F(c)?c:Mt(c);return this.isValid()&&g.isValid()?(h=Ne(h)||"millisecond",h==="millisecond"?this.valueOf()<g.valueOf():this.clone().endOf(h).valueOf()<g.valueOf()):!1}function PC(c,h,g,_){var I=F(c)?c:Mt(c),X=F(h)?h:Mt(h);return this.isValid()&&I.isValid()&&X.isValid()?(_=_||"()",(_[0]==="("?this.isAfter(I,g):!this.isBefore(I,g))&&(_[1]===")"?this.isBefore(X,g):!this.isAfter(X,g))):!1}function DC(c,h){var g=F(c)?c:Mt(c),_;return this.isValid()&&g.isValid()?(h=Ne(h)||"millisecond",h==="millisecond"?this.valueOf()===g.valueOf():(_=g.valueOf(),this.clone().startOf(h).valueOf()<=_&&_<=this.clone().endOf(h).valueOf())):!1}function OC(c,h){return this.isSame(c,h)||this.isAfter(c,h)}function MC(c,h){return this.isSame(c,h)||this.isBefore(c,h)}function IC(c,h,g){var _,I,X;if(!this.isValid())return NaN;if(_=Jc(c,this),!_.isValid())return NaN;switch(I=(_.utcOffset()-this.utcOffset())*6e4,h=Ne(h),h){case"year":X=Oa(this,_)/12;break;case"month":X=Oa(this,_);break;case"quarter":X=Oa(this,_)/3;break;case"second":X=(this-_)/1e3;break;case"minute":X=(this-_)/6e4;break;case"hour":X=(this-_)/36e5;break;case"day":X=(this-_-I)/864e5;break;case"week":X=(this-_-I)/6048e5;break;default:X=this-_}return g?X:kn(X)}function Oa(c,h){if(c.date()<h.date())return-Oa(h,c);var g=(h.year()-c.year())*12+(h.month()-c.month()),_=c.clone().add(g,"months"),I,X;return h-_<0?(I=c.clone().add(g-1,"months"),X=(h-_)/(_-I)):(I=c.clone().add(g+1,"months"),X=(h-_)/(I-_)),-(g+X)||0}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function NC(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function AC(c){if(!this.isValid())return null;var h=c!==!0,g=h?this.clone().utc():this;return g.year()<0||g.year()>9999?te(g,h?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):G(Date.prototype.toISOString)?h?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",te(g,"Z")):te(g,h?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function FC(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var c="moment",h="",g,_,I,X;return this.isLocal()||(c=this.utcOffset()===0?"moment.utc":"moment.parseZone",h="Z"),g="["+c+'("]',_=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",I="-MM-DD[T]HH:mm:ss.SSS",X=h+'[")]',this.format(g+_+I+X)}function LC(c){c||(c=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var h=te(this,c);return this.localeData().postformat(h)}function $C(c,h){return this.isValid()&&(F(c)&&c.isValid()||Mt(c).isValid())?ao({to:this,from:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function VC(c){return this.from(Mt(),c)}function jC(c,h){return this.isValid()&&(F(c)&&c.isValid()||Mt(c).isValid())?ao({from:this,to:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function BC(c){return this.to(Mt(),c)}function gf(c){var h;return c===void 0?this._locale._abbr:(h=Vo(c),h!=null&&(this._locale=h),this)}var yf=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 vf(){return this._locale}var Ma=1e3,ns=60*Ma,Ia=60*ns,bf=(365*400+97)*24*Ia;function os(c,h){return(c%h+h)%h}function wf(c,h,g){return c<100&&c>=0?new Date(c+400,h,g)-bf:new Date(c,h,g).valueOf()}function Cf(c,h,g){return c<100&&c>=0?Date.UTC(c+400,h,g)-bf:Date.UTC(c,h,g)}function WC(c){var h,g;if(c=Ne(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(g=this._isUTC?Cf:wf,c){case"year":h=g(this.year(),0,1);break;case"quarter":h=g(this.year(),this.month()-this.month()%3,1);break;case"month":h=g(this.year(),this.month(),1);break;case"week":h=g(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":h=g(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":h=g(this.year(),this.month(),this.date());break;case"hour":h=this._d.valueOf(),h-=os(h+(this._isUTC?0:this.utcOffset()*ns),Ia);break;case"minute":h=this._d.valueOf(),h-=os(h,ns);break;case"second":h=this._d.valueOf(),h-=os(h,Ma);break}return this._d.setTime(h),o.updateOffset(this,!0),this}function HC(c){var h,g;if(c=Ne(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(g=this._isUTC?Cf:wf,c){case"year":h=g(this.year()+1,0,1)-1;break;case"quarter":h=g(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":h=g(this.year(),this.month()+1,1)-1;break;case"week":h=g(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":h=g(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":h=g(this.year(),this.month(),this.date()+1)-1;break;case"hour":h=this._d.valueOf(),h+=Ia-os(h+(this._isUTC?0:this.utcOffset()*ns),Ia)-1;break;case"minute":h=this._d.valueOf(),h+=ns-os(h,ns)-1;break;case"second":h=this._d.valueOf(),h+=Ma-os(h,Ma)-1;break}return this._d.setTime(h),o.updateOffset(this,!0),this}function zC(){return this._d.valueOf()-(this._offset||0)*6e4}function YC(){return Math.floor(this.valueOf()/1e3)}function UC(){return new Date(this.valueOf())}function qC(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]}function GC(){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 KC(){return this.isValid()?this.toISOString():null}function XC(){return D(this)}function ZC(){return w({},v(this))}function QC(){return v(this).overflow}function JC(){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"),_e("N",td),_e("NN",td),_e("NNN",td),_e("NNNN",dS),_e("NNNNN",uS),yt(["N","NN","NNN","NNNN","NNNNN"],function(c,h,g,_){var I=g._locale.erasParse(c,_,g._strict);I?v(g).era=I:v(g).invalidEra=c}),_e("y",ht),_e("yy",ht),_e("yyy",ht),_e("yyyy",ht),_e("yo",hS),yt(["y","yy","yyy","yyyy"],hn),yt(["yo"],function(c,h,g,_){var I;g._locale._eraYearOrdinalRegex&&(I=c.match(g._locale._eraYearOrdinalRegex)),g._locale.eraYearOrdinalParse?h[hn]=g._locale.eraYearOrdinalParse(c,I):h[hn]=parseInt(c,10)});function eS(c,h){var g,_,I,X=this._eras||Vo("en")._eras;for(g=0,_=X.length;g<_;++g){switch(typeof X[g].since){case"string":I=o(X[g].since).startOf("day"),X[g].since=I.valueOf();break}switch(typeof X[g].until){case"undefined":X[g].until=1/0;break;case"string":I=o(X[g].until).startOf("day").valueOf(),X[g].until=I.valueOf();break}}return X}function tS(c,h,g){var _,I,X=this.eras(),de,Ee,ze;for(c=c.toUpperCase(),_=0,I=X.length;_<I;++_)if(de=X[_].name.toUpperCase(),Ee=X[_].abbr.toUpperCase(),ze=X[_].narrow.toUpperCase(),g)switch(h){case"N":case"NN":case"NNN":if(Ee===c)return X[_];break;case"NNNN":if(de===c)return X[_];break;case"NNNNN":if(ze===c)return X[_];break}else if([de,Ee,ze].indexOf(c)>=0)return X[_]}function nS(c,h){var g=c.since<=c.until?1:-1;return h===void 0?o(c.since).year():o(c.since).year()+(h-c.offset)*g}function oS(){var c,h,g,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(g=this.clone().startOf("day").valueOf(),_[c].since<=g&&g<=_[c].until||_[c].until<=g&&g<=_[c].since)return _[c].name;return""}function rS(){var c,h,g,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(g=this.clone().startOf("day").valueOf(),_[c].since<=g&&g<=_[c].until||_[c].until<=g&&g<=_[c].since)return _[c].narrow;return""}function sS(){var c,h,g,_=this.localeData().eras();for(c=0,h=_.length;c<h;++c)if(g=this.clone().startOf("day").valueOf(),_[c].since<=g&&g<=_[c].until||_[c].until<=g&&g<=_[c].since)return _[c].abbr;return""}function iS(){var c,h,g,_,I=this.localeData().eras();for(c=0,h=I.length;c<h;++c)if(g=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())*g+I[c].offset;return this.year()}function aS(c){return l(this,"_erasNameRegex")||nd.call(this),c?this._erasNameRegex:this._erasRegex}function lS(c){return l(this,"_erasAbbrRegex")||nd.call(this),c?this._erasAbbrRegex:this._erasRegex}function cS(c){return l(this,"_erasNarrowRegex")||nd.call(this),c?this._erasNarrowRegex:this._erasRegex}function td(c,h){return h.erasAbbrRegex(c)}function dS(c,h){return h.erasNameRegex(c)}function uS(c,h){return h.erasNarrowRegex(c)}function hS(c,h){return h._eraYearOrdinalRegex||ht}function nd(){var c=[],h=[],g=[],_=[],I,X,de,Ee,ze,it=this.eras();for(I=0,X=it.length;I<X;++I)de=zn(it[I].name),Ee=zn(it[I].abbr),ze=zn(it[I].narrow),h.push(de),c.push(Ee),g.push(ze),_.push(de),_.push(Ee),_.push(ze);this._erasRegex=new RegExp("^("+_.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+h.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+g.join("|")+")","i")}j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Na(c,h){j(0,[c,c.length],0,h)}Na("gggg","weekYear"),Na("ggggg","weekYear"),Na("GGGG","isoWeekYear"),Na("GGGGG","isoWeekYear"),_e("G",nn),_e("g",nn),_e("GG",Ue,rt),_e("gg",Ue,rt),_e("GGGG",Oe,Ut),_e("gggg",Oe,Ut),_e("GGGGG",We,Lt),_e("ggggg",We,Lt),xr(["gggg","ggggg","GGGG","GGGGG"],function(c,h,g,_){h[_.substr(0,2)]=Xe(c)}),xr(["gg","GG"],function(c,h,g,_){h[_]=o.parseTwoDigitYear(c)});function fS(c){return Sf.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function pS(c){return Sf.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)}function mS(){return $o(this.year(),1,4)}function gS(){return $o(this.isoWeekYear(),1,4)}function yS(){var c=this.localeData()._week;return $o(this.year(),c.dow,c.doy)}function vS(){var c=this.localeData()._week;return $o(this.weekYear(),c.dow,c.doy)}function Sf(c,h,g,_,I){var X;return c==null?Qs(this,_,I).year:(X=$o(c,_,I),h>X&&(h=X),bS.call(this,c,h,g,_,I))}function bS(c,h,g,_,I){var X=Qh(c,h,g,_,I),de=Zs(X.year,0,X.dayOfYear);return this.year(de.getUTCFullYear()),this.month(de.getUTCMonth()),this.date(de.getUTCDate()),this}j("Q",0,"Qo","quarter"),_e("Q",Yt),yt("Q",function(c,h){h[U]=(Xe(c)-1)*3});function wS(c){return c==null?Math.ceil((this.month()+1)/3):this.month((c-1)*3+this.month()%3)}j("D",["DD",2],"Do","date"),_e("D",Ue,Qt),_e("DD",Ue,rt),_e("Do",function(c,h){return c?h._dayOfMonthOrdinalParse||h._ordinalParse:h._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],me),yt("Do",function(c,h){h[me]=Xe(c.match(Ue)[0])});var _f=sn("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),_e("DDD",un),_e("DDDD",Ot),yt(["DDD","DDDD"],function(c,h,g){g._dayOfYear=Xe(c)});function CS(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"),_e("m",Ue,cr),_e("mm",Ue,rt),yt(["m","mm"],Fe);var SS=sn("Minutes",!1);j("s",["ss",2],0,"second"),_e("s",Ue,cr),_e("ss",Ue,rt),yt(["s","ss"],Ge);var _S=sn("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}),_e("S",un,Yt),_e("SS",un,rt),_e("SSS",un,Ot);var ur,xf;for(ur="SSSS";ur.length<=9;ur+="S")_e(ur,ht);function xS(c,h){h[st]=Xe(("0."+c)*1e3)}for(ur="S";ur.length<=9;ur+="S")yt(ur,xS);xf=sn("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");function RS(){return this._isUTC?"UTC":""}function TS(){return this._isUTC?"Coordinated Universal Time":""}var ye=A.prototype;ye.add=vC,ye.calendar=RC,ye.clone=TC,ye.diff=IC,ye.endOf=HC,ye.format=LC,ye.from=$C,ye.fromNow=VC,ye.to=jC,ye.toNow=BC,ye.get=vn,ye.invalidAt=QC,ye.isAfter=kC,ye.isBefore=EC,ye.isBetween=PC,ye.isSame=DC,ye.isSameOrAfter=OC,ye.isSameOrBefore=MC,ye.isValid=XC,ye.lang=yf,ye.locale=gf,ye.localeData=vf,ye.max=Xw,ye.min=Kw,ye.parsingFlags=ZC,ye.set=Xs,ye.startOf=WC,ye.subtract=bC,ye.toArray=qC,ye.toObject=GC,ye.toDate=UC,ye.toISOString=AC,ye.inspect=FC,typeof Symbol<"u"&&Symbol.for!=null&&(ye[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ye.toJSON=KC,ye.toString=NC,ye.unix=YC,ye.valueOf=zC,ye.creationData=JC,ye.eraName=oS,ye.eraNarrow=rS,ye.eraAbbr=sS,ye.eraYear=iS,ye.year=$t,ye.isLeapYear=qt,ye.weekYear=fS,ye.isoWeekYear=pS,ye.quarter=ye.quarters=wS,ye.month=Xh,ye.daysInMonth=Ub,ye.week=ye.weeks=ew,ye.isoWeek=ye.isoWeeks=tw,ye.weeksInYear=yS,ye.weeksInWeekYear=vS,ye.isoWeeksInYear=mS,ye.isoWeeksInISOWeekYear=gS,ye.date=_f,ye.day=ye.days=pw,ye.weekday=mw,ye.isoWeekday=gw,ye.dayOfYear=CS,ye.hour=ye.hours=_w,ye.minute=ye.minutes=SS,ye.second=ye.seconds=_S,ye.millisecond=ye.milliseconds=xf,ye.utcOffset=sC,ye.utc=aC,ye.local=lC,ye.parseZone=cC,ye.hasAlignedHourOffset=dC,ye.isDST=uC,ye.isLocal=fC,ye.isUtcOffset=pC,ye.isUtc=uf,ye.isUTC=uf,ye.zoneAbbr=RS,ye.zoneName=TS,ye.dates=R("dates accessor is deprecated. Use date instead.",_f),ye.months=R("months accessor is deprecated. Use month instead",Xh),ye.years=R("years accessor is deprecated. Use year instead",$t),ye.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",iC),ye.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",hC);function kS(c){return Mt(c*1e3)}function ES(){return Mt.apply(null,arguments).parseZone()}function Rf(c){return c}var ft=z.prototype;ft.calendar=M,ft.longDateFormat=he,ft.invalidDate=re,ft.ordinal=pe,ft.preparse=Rf,ft.postformat=Rf,ft.relativeTime=ge,ft.pastFuture=Re,ft.set=q,ft.eras=eS,ft.erasParse=tS,ft.erasConvertYear=nS,ft.erasAbbrRegex=lS,ft.erasNameRegex=aS,ft.erasNarrowRegex=cS,ft.months=Wb,ft.monthsShort=Hb,ft.monthsParse=Yb,ft.monthsRegex=Gb,ft.monthsShortRegex=qb,ft.week=Xb,ft.firstDayOfYear=Jb,ft.firstDayOfWeek=Qb,ft.weekdays=cw,ft.weekdaysMin=uw,ft.weekdaysShort=dw,ft.weekdaysParse=fw,ft.weekdaysRegex=yw,ft.weekdaysShortRegex=vw,ft.weekdaysMinRegex=bw,ft.isPM=Cw,ft.meridiem=xw;function Aa(c,h,g,_){var I=Vo(),X=b().set(_,h);return I[g](X,c)}function Tf(c,h,g){if(f(c)&&(h=c,c=void 0),c=c||"",h!=null)return Aa(c,h,g,"month");var _,I=[];for(_=0;_<12;_++)I[_]=Aa(c,_,g,"month");return I}function od(c,h,g,_){typeof c=="boolean"?(f(h)&&(g=h,h=void 0),h=h||""):(h=c,g=h,c=!1,f(h)&&(g=h,h=void 0),h=h||"");var I=Vo(),X=c?I._week.dow:0,de,Ee=[];if(g!=null)return Aa(h,(g+X)%7,_,"day");for(de=0;de<7;de++)Ee[de]=Aa(h,(de+X)%7,_,"day");return Ee}function PS(c,h){return Tf(c,h,"months")}function DS(c,h){return Tf(c,h,"monthsShort")}function OS(c,h,g){return od(c,h,g,"weekdays")}function MS(c,h,g){return od(c,h,g,"weekdaysShort")}function IS(c,h,g){return od(c,h,g,"weekdaysMin")}dr("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,g=Xe(c%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th";return c+g}}),o.lang=R("moment.lang is deprecated. Use moment.locale instead.",dr),o.langData=R("moment.langData is deprecated. Use moment.localeData instead.",Vo);var jo=Math.abs;function NS(){var c=this._data;return this._milliseconds=jo(this._milliseconds),this._days=jo(this._days),this._months=jo(this._months),c.milliseconds=jo(c.milliseconds),c.seconds=jo(c.seconds),c.minutes=jo(c.minutes),c.hours=jo(c.hours),c.months=jo(c.months),c.years=jo(c.years),this}function kf(c,h,g,_){var I=ao(h,g);return c._milliseconds+=_*I._milliseconds,c._days+=_*I._days,c._months+=_*I._months,c._bubble()}function AS(c,h){return kf(this,c,h,1)}function FS(c,h){return kf(this,c,h,-1)}function Ef(c){return c<0?Math.floor(c):Math.ceil(c)}function LS(){var c=this._milliseconds,h=this._days,g=this._months,_=this._data,I,X,de,Ee,ze;return c>=0&&h>=0&&g>=0||c<=0&&h<=0&&g<=0||(c+=Ef(rd(g)+h)*864e5,h=0,g=0),_.milliseconds=c%1e3,I=kn(c/1e3),_.seconds=I%60,X=kn(I/60),_.minutes=X%60,de=kn(X/60),_.hours=de%24,h+=kn(de/24),ze=kn(Pf(h)),g+=ze,h-=Ef(rd(ze)),Ee=kn(g/12),g%=12,_.days=h,_.months=g,_.years=Ee,this}function Pf(c){return c*4800/146097}function rd(c){return c*146097/4800}function $S(c){if(!this.isValid())return NaN;var h,g,_=this._milliseconds;if(c=Ne(c),c==="month"||c==="quarter"||c==="year")switch(h=this._days+_/864e5,g=this._months+Pf(h),c){case"month":return g;case"quarter":return g/3;case"year":return g/12}else switch(h=this._days+Math.round(rd(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 Bo(c){return function(){return this.as(c)}}var Df=Bo("ms"),VS=Bo("s"),jS=Bo("m"),BS=Bo("h"),WS=Bo("d"),HS=Bo("w"),zS=Bo("M"),YS=Bo("Q"),US=Bo("y"),qS=Df;function GS(){return ao(this)}function KS(c){return c=Ne(c),this.isValid()?this[c+"s"]():NaN}function Tr(c){return function(){return this.isValid()?this._data[c]:NaN}}var XS=Tr("milliseconds"),ZS=Tr("seconds"),QS=Tr("minutes"),JS=Tr("hours"),e0=Tr("days"),t0=Tr("months"),n0=Tr("years");function o0(){return kn(this.days()/7)}var Wo=Math.round,rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function r0(c,h,g,_,I){return I.relativeTime(h||1,!!g,c,_)}function s0(c,h,g,_){var I=ao(c).abs(),X=Wo(I.as("s")),de=Wo(I.as("m")),Ee=Wo(I.as("h")),ze=Wo(I.as("d")),it=Wo(I.as("M")),Rn=Wo(I.as("w")),Ho=Wo(I.as("y")),hr=X<=g.ss&&["s",X]||X<g.s&&["ss",X]||de<=1&&["m"]||de<g.m&&["mm",de]||Ee<=1&&["h"]||Ee<g.h&&["hh",Ee]||ze<=1&&["d"]||ze<g.d&&["dd",ze];return g.w!=null&&(hr=hr||Rn<=1&&["w"]||Rn<g.w&&["ww",Rn]),hr=hr||it<=1&&["M"]||it<g.M&&["MM",it]||Ho<=1&&["y"]||["yy",Ho],hr[2]=h,hr[3]=+c>0,hr[4]=_,r0.apply(null,hr)}function i0(c){return c===void 0?Wo:typeof c=="function"?(Wo=c,!0):!1}function a0(c,h){return rs[c]===void 0?!1:h===void 0?rs[c]:(rs[c]=h,c==="s"&&(rs.ss=h-1),!0)}function l0(c,h){if(!this.isValid())return this.localeData().invalidDate();var g=!1,_=rs,I,X;return typeof c=="object"&&(h=c,c=!1),typeof c=="boolean"&&(g=c),typeof h=="object"&&(_=Object.assign({},rs,h),h.s!=null&&h.ss==null&&(_.ss=h.s-1)),I=this.localeData(),X=s0(this,!g,_,I),g&&(X=I.pastFuture(+this,X)),I.postformat(X)}var sd=Math.abs;function ss(c){return(c>0)-(c<0)||+c}function Fa(){if(!this.isValid())return this.localeData().invalidDate();var c=sd(this._milliseconds)/1e3,h=sd(this._days),g=sd(this._months),_,I,X,de,Ee=this.asSeconds(),ze,it,Rn,Ho;return Ee?(_=kn(c/60),I=kn(_/60),c%=60,_%=60,X=kn(g/12),g%=12,de=c?c.toFixed(3).replace(/\.?0+$/,""):"",ze=Ee<0?"-":"",it=ss(this._months)!==ss(Ee)?"-":"",Rn=ss(this._days)!==ss(Ee)?"-":"",Ho=ss(this._milliseconds)!==ss(Ee)?"-":"",ze+"P"+(X?it+X+"Y":"")+(g?it+g+"M":"")+(h?Rn+h+"D":"")+(I||_||c?"T":"")+(I?Ho+I+"H":"")+(_?Ho+_+"M":"")+(c?Ho+de+"S":"")):"P0D"}var lt=Pa.prototype;lt.isValid=tC,lt.abs=NS,lt.add=AS,lt.subtract=FS,lt.as=$S,lt.asMilliseconds=Df,lt.asSeconds=VS,lt.asMinutes=jS,lt.asHours=BS,lt.asDays=WS,lt.asWeeks=HS,lt.asMonths=zS,lt.asQuarters=YS,lt.asYears=US,lt.valueOf=qS,lt._bubble=LS,lt.clone=GS,lt.get=KS,lt.milliseconds=XS,lt.seconds=ZS,lt.minutes=QS,lt.hours=JS,lt.days=e0,lt.weeks=o0,lt.months=t0,lt.years=n0,lt.humanize=l0,lt.toISOString=Fa,lt.toString=Fa,lt.toJSON=Fa,lt.locale=gf,lt.localeData=vf,lt.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fa),lt.lang=yf,j("X",0,0,"unix"),j("x",0,0,"valueOf"),_e("x",nn),_e("X",Zt),yt("X",function(c,h,g){g._d=new Date(parseFloat(c)*1e3)}),yt("x",function(c,h,g){g._d=new Date(Xe(c))});//! moment.js
package/dist/index.es.js CHANGED
@@ -41074,61 +41074,58 @@ const Km = Ys`
41074
41074
  maxWidth: "100%",
41075
41075
  userSelect: "none",
41076
41076
  "&.slick-container": {
41077
- "& .slick-header": {
41078
- borderTopColor: "transparent",
41079
- "& .slick-header-column": {
41080
- "&:last-child": {
41081
- borderRightColor: "transparent"
41082
- },
41083
- "&.filter-active .slick-header-button::after": {
41084
- width: "7px",
41085
- height: "7px",
41086
- content: "''",
41087
- backgroundColor: "#2196f3",
41088
- position: "absolute",
41089
- borderRadius: "50%",
41090
- border: "2px solid #f8f8f8",
41091
- top: "3px",
41092
- right: "3px"
41093
- },
41094
- "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
41095
- "& .slick-column-name": {
41096
- textOverflow: "ellipsis",
41097
- whiteSpace: "nowrap",
41098
- overflow: "hidden",
41099
- maxWidth: "calc(100% - 16px)"
41100
- }
41101
- },
41102
- "&.slick-state-hover": {
41077
+ "& div.slick-pane.slick-pane-header": {
41078
+ "& .slick-header": {
41079
+ borderTopColor: "transparent",
41080
+ "& .slick-header-column": {
41081
+ "&:last-child": {
41082
+ borderRightColor: "transparent"
41083
+ },
41103
41084
  "&.filter-active .slick-header-button::after": {
41104
- border: "2px solid #e8e8e8"
41085
+ width: "7px",
41086
+ height: "7px",
41087
+ content: "''",
41088
+ backgroundColor: "#2196f3",
41089
+ position: "absolute",
41090
+ borderRadius: "50%",
41091
+ border: "2px solid #f8f8f8",
41092
+ top: "3px",
41093
+ right: "3px"
41105
41094
  },
41106
- "& .slick-header-button": {
41107
- "&::before": {
41108
- backgroundColor: "#e8e8e8"
41095
+ "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
41096
+ "& .slick-column-name": {
41097
+ textOverflow: "ellipsis",
41098
+ whiteSpace: "nowrap",
41099
+ overflow: "hidden",
41100
+ maxWidth: "calc(100% - 16px)"
41109
41101
  }
41110
- }
41111
- },
41112
- "& .slick-column-name": {
41113
- fontSize: Ti
41114
- },
41115
- "& .slick-header-button": {
41116
- width: "19px",
41117
- height: "12px",
41118
- "&::before": {
41119
- position: "absolute",
41120
- content: "''",
41102
+ },
41103
+ "&.slick-state-hover": {
41104
+ "&.filter-active .slick-header-button::after": {
41105
+ border: "2px solid #e8e8e8"
41106
+ }
41107
+ },
41108
+ "& .slick-column-name": {
41109
+ fontSize: Ti
41110
+ },
41111
+ "& .slick-header-button": {
41121
41112
  width: "19px",
41122
41113
  height: "12px",
41123
- top: "6px",
41124
- right: "5px",
41125
- backgroundImage: "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
41126
- clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
41127
- backgroundColor: "transparent"
41114
+ "&::before": {
41115
+ position: "absolute",
41116
+ content: "''",
41117
+ width: "19px",
41118
+ height: "12px",
41119
+ top: "6px",
41120
+ right: "5px",
41121
+ backgroundImage: "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
41122
+ clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
41123
+ backgroundColor: "transparent"
41124
+ }
41125
+ },
41126
+ "& .slick-resizable-handle": {
41127
+ boxShadow: "none"
41128
41128
  }
41129
- },
41130
- "& .slick-resizable-handle": {
41131
- boxShadow: "none"
41132
41129
  }
41133
41130
  }
41134
41131
  },
@@ -1 +1 @@
1
- {"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAwJA,wBAA6B"}
1
+ {"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAqJA,wBAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -14,62 +14,59 @@ const Container = styled(Box)({
14
14
  userSelect: "none",
15
15
 
16
16
  "&.slick-container": {
17
- "& .slick-header": {
18
- borderTopColor: "transparent",
19
- "& .slick-header-column": {
20
- "&:last-child": {
21
- borderRightColor: "transparent",
22
- },
23
- "&.filter-active .slick-header-button::after": {
24
- width: "7px",
25
- height: "7px",
26
- content: "''",
27
- backgroundColor: "#2196f3",
28
- position: "absolute",
29
- borderRadius: "50%",
30
- border: "2px solid #f8f8f8",
31
- top: "3px",
32
- right: "3px",
33
- },
34
- "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
35
- "& .slick-column-name": {
36
- textOverflow: "ellipsis",
37
- whiteSpace: "nowrap",
38
- overflow: "hidden",
39
- maxWidth: "calc(100% - 16px)",
17
+ "& div.slick-pane.slick-pane-header": {
18
+ "& .slick-header": {
19
+ borderTopColor: "transparent",
20
+ "& .slick-header-column": {
21
+ "&:last-child": {
22
+ borderRightColor: "transparent",
40
23
  },
41
- },
42
- "&.slick-state-hover": {
43
24
  "&.filter-active .slick-header-button::after": {
44
- border: "2px solid #e8e8e8",
25
+ width: "7px",
26
+ height: "7px",
27
+ content: "''",
28
+ backgroundColor: "#2196f3",
29
+ position: "absolute",
30
+ borderRadius: "50%",
31
+ border: "2px solid #f8f8f8",
32
+ top: "3px",
33
+ right: "3px",
45
34
  },
46
- "& .slick-header-button": {
47
- "&::before": {
48
- backgroundColor: "#e8e8e8",
35
+ "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
36
+ "& .slick-column-name": {
37
+ textOverflow: "ellipsis",
38
+ whiteSpace: "nowrap",
39
+ overflow: "hidden",
40
+ maxWidth: "calc(100% - 16px)",
49
41
  },
50
42
  },
51
- },
52
- "& .slick-column-name": {
53
- fontSize,
54
- },
55
- "& .slick-header-button": {
56
- width: "19px",
57
- height: "12px",
58
- "&::before": {
59
- position: "absolute",
60
- content: "''",
43
+ "&.slick-state-hover": {
44
+ "&.filter-active .slick-header-button::after": {
45
+ border: "2px solid #e8e8e8",
46
+ },
47
+ },
48
+ "& .slick-column-name": {
49
+ fontSize,
50
+ },
51
+ "& .slick-header-button": {
61
52
  width: "19px",
62
53
  height: "12px",
63
- top: "6px",
64
- right: "5px",
65
- backgroundImage:
66
- "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
67
- clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
68
- backgroundColor: "transparent",
54
+ "&::before": {
55
+ position: "absolute",
56
+ content: "''",
57
+ width: "19px",
58
+ height: "12px",
59
+ top: "6px",
60
+ right: "5px",
61
+ backgroundImage:
62
+ "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
63
+ clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
64
+ backgroundColor: "transparent",
65
+ },
66
+ },
67
+ "& .slick-resizable-handle": {
68
+ boxShadow: "none",
69
69
  },
70
- },
71
- "& .slick-resizable-handle": {
72
- boxShadow: "none",
73
70
  },
74
71
  },
75
72
  },