text: (self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[4453],{23682:(e,t,r)=>{"use strict";function n(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{Z:()=>n})},90394:(e,t,r)=>{"use strict";function n(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)}r.d(t,{Z:()=>n})},79021:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(90394),a=r(34327),s=r(23682);function u(e,t){(0,s.Z)(2,arguments);var r=(0,a.Z)(e),u=(0,n.Z)(t);return isNaN(u)?new Date(NaN):u?(r.setDate(r.getDate()+u),r):r}},59699:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(90394),a=r(39244),s=r(23682),u=36e5;function o(e,t){(0,s.Z)(2,arguments);var r=(0,n.Z)(t);return(0,a.Z)(e,r*u)}},39244:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(90394),a=r(34327),s=r(23682);function u(e,t){(0,s.Z)(2,arguments);var r=(0,a.Z)(e).getTime(),u=(0,n.Z)(t);return new Date(r+u)}},32182:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(90394),a=r(34327),s=r(23682);function u(e,t){(0,s.Z)(2,arguments);var r=(0,a.Z)(e),u=(0,n.Z)(t);if(isNaN(u))return new Date(NaN);if(!u)return r;var o=r.getDate(),i=new Date(r.getTime());i.setMonth(r.getMonth()+u+1,0);var c=i.getDate();return o>=c?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}},4535:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(34327);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()}var s=r(59429),u=r(23682),o=864e5;function i(e,t){(0,u.Z)(2,arguments);var r=(0,s.Z)(e),n=(0,s.Z)(t),i=r.getTime()-a(r),c=n.getTime()-a(n);return Math.round((i-c)/o)}function c(e,t){var r=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 r<0?-1:r>0?1:r}function g(e,t){(0,u.Z)(2,arguments);var r=(0,n.Z)(e),a=(0,n.Z)(t),s=c(r,a),o=Math.abs(i(r,a));r.setDate(r.getDate()-s*o);var g=Number(c(r,a)===-s),Z=s*(o-g);return 0===Z?0:Z}},93752:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(34327),a=r(23682);function s(e){(0,a.Z)(1,arguments);var t=(0,n.Z)(e);return t.setHours(23,59,59,999),t}},70390:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(93752);function a(){return(0,n.Z)(Date.now())}},61334:(e,t,r)=>{"use strict";function n(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),a=new Date(0);return a.setFullYear(t,r,n-1),a.setHours(23,59,59,999),a}r.d(t,{Z:()=>n})},3700:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(59429),a=r(23682);function s(e,t){(0,a.Z)(2,arguments);var r=(0,n.Z)(e),s=(0,n.Z)(t);return r.getTime()===s.getTime()}function u(e){return(0,a.Z)(1,arguments),s(e,Date.now())}},59429:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(34327),a=r(23682);function s(e){(0,a.Z)(1,arguments);var t=(0,n.Z)(e);return t.setHours(0,0,0,0),t}},13250:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(34327),a=r(23682);function s(e){(0,a.Z)(1,arguments);var t=(0,n.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},27088:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(59429);function a(){return(0,n.Z)(Date.now())}},83008:(e,t,r)=>{"use strict";function n(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),a=new Date(0);return a.setFullYear(t,r,n-1),a.setHours(0,0,0,0),a}r.d(t,{Z:()=>n})},34327:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(23682);function a(e){(0,n.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof 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://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}}}]);
  //# sourceMappingURL=82c79a1b.js.map