var w={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;function u(n){if(n===null||n===!0||n===!1)return NaN;var r=Number(n);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}o.exports=t.default})(w,w.exports);var E=w.exports,D={exports:{}},m={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;function u(n,r){if(r.length<n)throw new TypeError(n+" argument"+(n>1?"s":"")+" required, but only "+r.length+" present")}o.exports=t.default})(m,m.exports);var T=m.exports;(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var u=n(T);function n(e){return e&&e.__esModule?e:{default:e}}function r(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(a){return typeof a}:r=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},r(e)}function i(e){(0,u.default)(1,arguments);var l=Object.prototype.toString.call(e);return e instanceof Date||r(e)==="object"&&l==="[object Date]"?new Date(e.getTime()):typeof e=="number"||l==="[object Number]"?new Date(e):((typeof e=="string"||l==="[object String]")&&typeof console<"u"&&(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(new Error().stack)),new Date(NaN))}o.exports=t.default})(D,D.exports);var W=D.exports,v={};Object.defineProperty(v,"__esModule",{value:!0});v.getDefaultOptions=P;v.setDefaultOptions=q;var C={};function P(){return C}function q(o){C=o}var b={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=e(W),n=e(T),r=e(E),i=v;function e(a){return a&&a.__esModule?a:{default:a}}function l(a,s){var f,c,_,O,y,g,x,S;(0,n.default)(1,arguments);var h=(0,i.getDefaultOptions)(),p=(0,r.default)((f=(c=(_=(O=s==null?void 0:s.weekStartsOn)!==null&&O!==void 0?O:s==null||(y=s.locale)===null||y===void 0||(g=y.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&_!==void 0?_:h.weekStartsOn)!==null&&c!==void 0?c:(x=h.locale)===null||x===void 0||(S=x.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&f!==void 0?f:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=(0,u.default)(a),M=d.getUTCDay(),U=(M<p?7:0)+M-p;return d.setUTCDate(d.getUTCDate()-U),d.setUTCHours(0,0,0,0),d}o.exports=t.default})(b,b.exports);var N=b.exports,k={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var u=r(T),n=r(N);function r(e){return e&&e.__esModule?e:{default:e}}function i(e,l,a){(0,u.default)(2,arguments);var s=(0,n.default)(e,a),f=(0,n.default)(l,a);return s.getTime()===f.getTime()}o.exports=t.default})(k,k.exports);var R=k.exports;export{E as a,v as d,R as i,T as r,N as s,W as t};
