owncast/static/web/_next/static/chunks/9243-1faa5daca434326b.js
2023-02-01 07:33:00 +00:00

1 line
No EOL
19 KiB
JavaScript
Vendored

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9243],{27049:function(e,t,n){var a=n(87462),r=n(4942),i=n(94184),o=n.n(i),s=n(67294),u=n(53124),c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>t.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};t.Z=function(e){var t,n=s.useContext(u.E_),i=n.getPrefixCls,l=n.direction,d=e.prefixCls,m=e.type,f=void 0===m?"horizontal":m,h=e.orientation,g=void 0===h?"center":h,v=e.orientationMargin,y=e.className,p=e.children,b=e.dashed,Z=e.plain,w=c(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),M=i("divider",d),N=g.length>0?"-".concat(g):g,C=!!p,x="left"===g&&null!=v,E="right"===g&&null!=v,S=o()(M,"".concat(M,"-").concat(f),(t={},(0,r.Z)(t,"".concat(M,"-with-text"),C),(0,r.Z)(t,"".concat(M,"-with-text").concat(N),C),(0,r.Z)(t,"".concat(M,"-dashed"),!!b),(0,r.Z)(t,"".concat(M,"-plain"),!!Z),(0,r.Z)(t,"".concat(M,"-rtl"),"rtl"===l),(0,r.Z)(t,"".concat(M,"-no-default-orientation-margin-left"),x),(0,r.Z)(t,"".concat(M,"-no-default-orientation-margin-right"),E),t),y),k=(0,a.Z)((0,a.Z)({},x&&{marginLeft:v}),E&&{marginRight:v});return s.createElement("div",(0,a.Z)({className:S},w,{role:"separator"}),p&&"vertical"!==f&&s.createElement("span",{className:"".concat(M,"-inner-text"),style:k},p))}},26303:function(e,t,n){n.d(t,{Z:function(){return M}});var a=n(4942),r=n(87462),i=n(71002),o=n(94184),s=n.n(o),u=n(67294),c=n(53124),l=n(98423),d=function(e){var t,n,i=e.prefixCls,o=e.className,c=e.style,l=e.size,d=e.shape,m=s()((t={},(0,a.Z)(t,"".concat(i,"-lg"),"large"===l),(0,a.Z)(t,"".concat(i,"-sm"),"small"===l),t)),f=s()((n={},(0,a.Z)(n,"".concat(i,"-circle"),"circle"===d),(0,a.Z)(n,"".concat(i,"-square"),"square"===d),(0,a.Z)(n,"".concat(i,"-round"),"round"===d),n)),h=u.useMemo(function(){return"number"==typeof l?{width:l,height:l,lineHeight:"".concat(l,"px")}:{}},[l]);return u.createElement("span",{className:s()(i,m,f,o),style:(0,r.Z)((0,r.Z)({},h),c)})},m=n(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=n(42135),g=function(e,t){return u.createElement(h.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:f}))};g.displayName="DotChartOutlined";var v=u.forwardRef(g),y=n(74902),p=function(e){var t=function(t){var n=e.width,a=e.rows;return Array.isArray(n)?n[t]:(void 0===a?2:a)-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,i=e.rows,o=(0,y.Z)(Array(i)).map(function(e,n){return u.createElement("li",{key:n,style:{width:t(n)}})});return u.createElement("ul",{className:s()(n,a),style:r},o)},b=function(e){var t=e.prefixCls,n=e.className,a=e.width,i=e.style;return u.createElement("h3",{className:s()(t,n),style:(0,r.Z)({width:a},i)})};function Z(e){return e&&"object"===(0,i.Z)(e)?e:{}}var w=function(e){var t=e.prefixCls,n=e.loading,i=e.className,o=e.style,l=e.children,m=e.avatar,f=void 0!==m&&m,h=e.title,g=void 0===h||h,v=e.paragraph,y=void 0===v||v,w=e.active,M=e.round,N=u.useContext(c.E_),C=N.getPrefixCls,x=N.direction,E=C("skeleton",t);if(n||!("loading"in e)){var S=!!f,k=!!g,P=!!y;if(S){var W=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-avatar")},k&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),Z(f));j=u.createElement("div",{className:"".concat(E,"-header")},u.createElement(d,(0,r.Z)({},W)))}if(k||P){if(k){var D,j,z,T,q,F=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-title")},!S&&P?{width:"38%"}:S&&P?{width:"50%"}:{}),Z(g));T=u.createElement(b,(0,r.Z)({},F))}if(P){var A,O=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-paragraph")},(A={},S&&k||(A.width="61%"),!S&&k?A.rows=3:A.rows=2,A)),Z(y));q=u.createElement(p,(0,r.Z)({},O))}z=u.createElement("div",{className:"".concat(E,"-content")},T,q)}var Y=s()(E,(D={},(0,a.Z)(D,"".concat(E,"-with-avatar"),S),(0,a.Z)(D,"".concat(E,"-active"),w),(0,a.Z)(D,"".concat(E,"-rtl"),"rtl"===x),(0,a.Z)(D,"".concat(E,"-round"),M),D),i);return u.createElement("div",{className:Y,style:o},j,z)}return void 0!==l?l:null};w.Button=function(e){var t,n=e.prefixCls,i=e.className,o=e.active,m=e.block,f=e.size,h=(0,u.useContext(c.E_).getPrefixCls)("skeleton",n),g=(0,l.Z)(e,["prefixCls"]),v=s()(h,"".concat(h,"-element"),(t={},(0,a.Z)(t,"".concat(h,"-active"),o),(0,a.Z)(t,"".concat(h,"-block"),void 0!==m&&m),t),i);return u.createElement("div",{className:v},u.createElement(d,(0,r.Z)({prefixCls:"".concat(h,"-button"),size:void 0===f?"default":f},g)))},w.Avatar=function(e){var t=e.prefixCls,n=e.className,i=e.active,o=e.shape,m=e.size,f=(0,u.useContext(c.E_).getPrefixCls)("skeleton",t),h=(0,l.Z)(e,["prefixCls","className"]),g=s()(f,"".concat(f,"-element"),(0,a.Z)({},"".concat(f,"-active"),i),n);return u.createElement("div",{className:g},u.createElement(d,(0,r.Z)({prefixCls:"".concat(f,"-avatar"),shape:void 0===o?"circle":o,size:void 0===m?"default":m},h)))},w.Input=function(e){var t,n=e.prefixCls,i=e.className,o=e.active,m=e.block,f=e.size,h=(0,u.useContext(c.E_).getPrefixCls)("skeleton",n),g=(0,l.Z)(e,["prefixCls"]),v=s()(h,"".concat(h,"-element"),(t={},(0,a.Z)(t,"".concat(h,"-active"),o),(0,a.Z)(t,"".concat(h,"-block"),m),t),i);return u.createElement("div",{className:v},u.createElement(d,(0,r.Z)({prefixCls:"".concat(h,"-input"),size:void 0===f?"default":f},g)))},w.Image=function(e){var t=e.prefixCls,n=e.className,r=e.style,i=e.active,o=(0,u.useContext(c.E_).getPrefixCls)("skeleton",t),l=s()(o,"".concat(o,"-element"),(0,a.Z)({},"".concat(o,"-active"),i),n);return u.createElement("div",{className:l},u.createElement("div",{className:s()("".concat(o,"-image"),n),style:r},u.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},u.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},w.Node=function(e){var t=e.prefixCls,n=e.className,r=e.style,i=e.active,o=e.children,l=(0,u.useContext(c.E_).getPrefixCls)("skeleton",t),d=s()(l,"".concat(l,"-element"),(0,a.Z)({},"".concat(l,"-active"),i),n),m=null!=o?o:u.createElement(v,null);return u.createElement("div",{className:d},u.createElement("div",{className:s()("".concat(l,"-image"),n),style:r},m))};var M=w},86559:function(e,t,n){n.d(t,{Z:function(){return l}});var a,r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var a;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):r;a=e.formattingValues[i]||e.formattingValues[r]}else{var o=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[o]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(u,function(e){return e.test(s)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(u,function(e){return e.test(s)});return n=e.valueCallback?e.valueCallback(c):c,{value:n=a.valueCallback?a.valueCallback(n):n,rest:t.slice(s.length)}}}var l={code:"en-US",formatDistance:function(e,t,n){var a,i=r[e];return(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+a:a+" ago":a},formatLong:o,formatRelative:function(e,t,n,a){return s[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(a={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(a.matchPattern);if(!n)return null;var r=n[0],i=e.match(a.parsePattern);if(!i)return null;var o=a.valueCallback?a.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(e,t,n){n.d(t,{j:function(){return r}});var a={};function r(){return a}},24262:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}},13882:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}},83946:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}},77349:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(83946),r=n(19013),i=n(13882);function o(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e),o=(0,a.Z)(t);return isNaN(o)?new Date(NaN):(o&&n.setDate(n.getDate()+o),n)}},11640:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(83946),r=n(19013),i=n(13882);function o(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e),o=(0,a.Z)(t);if(isNaN(o))return new Date(NaN);if(!o)return n;var s=n.getDate(),u=new Date(n.getTime());return(u.setMonth(n.getMonth()+o+1,0),s>=u.getDate())?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},75401:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(24262),r=n(19013),i=n(13882);function o(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}function s(e,t){(0,i.Z)(2,arguments);var n=o(e),r=o(t);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},68730:function(e,t,n){n.d(t,{Z:function(){return y}});var a=n(49474),r=n(77349),i=n(11640),o=n(19013),s=n(13882),u=n(83946);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if((0,s.Z)(2,arguments),!t||"object"!==c(t))return new Date(NaN);var n=t.years?(0,u.Z)(t.years):0,a=t.months?(0,u.Z)(t.months):0,l=t.weeks?(0,u.Z)(t.weeks):0,d=t.days?(0,u.Z)(t.days):0,m=t.hours?(0,u.Z)(t.hours):0,f=t.minutes?(0,u.Z)(t.minutes):0,h=t.seconds?(0,u.Z)(t.seconds):0,g=(0,o.Z)(e),v=a||n?(0,i.Z)(g,a+12*n):g,y=d||l?(0,r.Z)(v,d+7*l):v;return new Date(y.getTime()+1e3*(h+60*(f+60*m)))}var d=n(75401);function m(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var f=n(59910),h=n(93645),g=n(82161),v=n(11699);function y(e){(0,s.Z)(1,arguments);var t=(0,o.Z)(e.start),n=(0,o.Z)(e.end);if(isNaN(t.getTime()))throw RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw RangeError("End Date is invalid");var r={};r.years=Math.abs(function(e,t){(0,s.Z)(2,arguments);var n=(0,o.Z)(e),r=(0,o.Z)(t),i=(0,a.Z)(n,r),u=Math.abs(function(e,t){(0,s.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,o.Z)(t);return n.getFullYear()-a.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var c=(0,a.Z)(n,r)===-i,l=i*(u-Number(c));return 0===l?0:l}(n,t));var i=(0,a.Z)(n,t),u=l(t,{years:i*r.years});r.months=Math.abs((0,g.Z)(n,u));var c=l(u,{months:i*r.months});r.days=Math.abs(function(e,t){(0,s.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,o.Z)(t),r=m(n,a),i=Math.abs((0,d.Z)(n,a));n.setDate(n.getDate()-r*i);var u=Number(m(n,a)===-r),c=r*(i-u);return 0===c?0:c}(n,c));var y=l(c,{days:i*r.days});r.hours=Math.abs(function(e,t,n){(0,s.Z)(2,arguments);var a=(0,f.Z)(e,t)/36e5;return(0,h.u)(null==n?void 0:n.roundingMethod)(a)}(n,y));var p=l(y,{hours:i*r.hours});r.minutes=Math.abs(function(e,t,n){(0,s.Z)(2,arguments);var a=(0,f.Z)(e,t)/6e4;return(0,h.u)(null==n?void 0:n.roundingMethod)(a)}(n,p));var b=l(p,{minutes:i*r.minutes});return r.seconds=Math.abs((0,v.Z)(n,b)),r}},19013:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(13882);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){(0,a.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===r(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}}}]);