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AAO,IAErBiR,EAAS,IAAMC,OAAOC,YAAA,CAAaJ,EAAWvQ,OAAQ,EAsBrD,MApBP4P,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACJU,EAAWtQ,OAAS,GAClB,CAACwQ,EAAYxQ,OAAW,EAAAoQ,EAAQC,OAAS,EAC3CG,EAAYxQ,OAAU,IACtBmP,EAAS1V,KAEFgX,IACIF,EAAAvQ,OAAA,CAAU0Q,OAAOE,UAAA,CAAW,KACrCJ,EAAYxQ,OAAU,IACtBmP,EAAS1V,EAAK,EACb0W,IAEP,EACC,CAAC1W,EAAO2W,EAAQC,OAAA,CAASF,EAAK,EAEjCP,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACRU,EAAWtQ,OAAU,IACdyQ,GACN,EAAE,EAEE,CAAChR,EAAQgR,EAAM,AACxB","sources":["webpack://_N_E/./node_modules/dayjs/dayjs.min.js","webpack://_N_E/./node_modules/dayjs/plugin/isoWeek.js","webpack://_N_E/./node_modules/dayjs/plugin/timezone.js","webpack://_N_E/./node_modules/dayjs/plugin/utc.js","webpack://_N_E/../../components/Accordion/AccordionChevron.tsx","webpack://_N_E/../../components/Container/Container.tsx","webpack://_N_E/../../components/DatesProvider/DatesProvider.tsx","webpack://_N_E/../../components/DatesProvider/use-dates-context.ts","webpack://_N_E/../../src/utils/get-timezone-offset.ts","webpack://_N_E/../../src/utils/shift-timezone.ts","webpack://_N_E/../../hooks/use-uncontrolled-dates/use-uncontrolled-dates.ts","webpack://_N_E/../../../../src/hooks/use-dates-state/is-in-range/is-in-range.ts","webpack://_N_E/../../hooks/use-dates-state/use-dates-state.ts","webpack://_N_E/../../src/utils/handle-control-key-down.ts","webpack://_N_E/../../components/CalendarHeader/CalendarHeader.tsx","webpack://_N_E/../../components/PickerControl/PickerControl.tsx","webpack://_N_E/../../../../src/components/YearsList/is-year-disabled/is-year-disabled.ts","webpack://_N_E/../../../../src/components/YearsList/get-year-in-tab-order/get-year-in-tab-order.ts","webpack://_N_E/../../../../src/components/YearsList/get-years-data/get-years-data.ts","webpack://_N_E/../../components/YearsList/YearsList.tsx","webpack://_N_E/../../../../src/components/DecadeLevel/get-decade-range/get-decade-range.ts","webpack://_N_E/../../components/DecadeLevel/DecadeLevel.tsx","webpack://_N_E/../../components/LevelsGroup/LevelsGroup.tsx","webpack://_N_E/../../components/DecadeLevelGroup/DecadeLevelGroup.tsx","webpack://_N_E/../../components/Day/Day.tsx","webpack://_N_E/../../../../src/components/WeekdaysRow/get-weekdays-names/get-weekdays-names.ts","webpack://_N_E/../../components/WeekdaysRow/WeekdaysRow.tsx","webpack://_N_E/../../../../src/components/Month/is-after-min-date/is-after-min-date.ts","webpack://_N_E/../../../../src/components/Month/is-before-max-date/is-before-max-date.ts","webpack://_N_E/../../../../src/components/Month/get-date-in-tab-order/get-date-in-tab-order.ts","webpack://_N_E/../../../../src/components/Month/get-end-of-week/get-end-of-week.ts","webpack://_N_E/../../../../src/components/Month/get-start-of-week/get-start-of-week.ts","webpack://_N_E/../../../../src/components/Month/get-month-days/get-month-days.ts","webpack://_N_E/../../../../src/components/Month/get-week-number/get-week-number.ts","webpack://_N_E/../../components/Month/Month.tsx","webpack://_N_E/../../components/MonthLevel/MonthLevel.tsx","webpack://_N_E/../../components/MonthLevelGroup/MonthLevelGroup.tsx","webpack://_N_E/../../../../src/components/MonthsList/is-month-disabled/is-month-disabled.ts","webpack://_N_E/../../../../src/components/MonthsList/get-month-in-tab-order/get-month-in-tab-order.ts","webpack://_N_E/../../../../src/components/MonthsList/get-months-data/get-months-data.ts","webpack://_N_E/../../components/MonthsList/MonthsList.tsx","webpack://_N_E/../../components/YearLevel/YearLevel.tsx","webpack://_N_E/../../components/YearLevelGroup/YearLevelGroup.tsx","webpack://_N_E/../../../../src/components/Calendar/clamp-level/clamp-level.ts","webpack://_N_E/../../components/Calendar/Calendar.tsx","webpack://_N_E/../../components/DatePicker/DatePicker.tsx","webpack://_N_E/../../src/use-debounced-value/use-debounced-value.ts"],"sourcesContent":["!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)4&&(o+=7),n.add(o,e));return r.diff(u,\"week\")+1},d.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var n=d.startOf;d.startOf=function(e,t){var i=this.$utils(),s=!!i.u(t)||t;return\"isoweek\"===i.p(e)?s?this.date(this.date()-(this.isoWeekday()-1)).startOf(\"day\"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(\"day\"):n.bind(this)(e,t)}}}));","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=e()}(this,(function(){\"use strict\";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||\"short\",o=t+\"|\"+i,r=e[o];return r||(r=new Intl.DateTimeFormat(\"en-US\",{hour12:!1,timeZone:t,year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\",second:\"2-digit\",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u=0&&(r[c]=parseInt(m,10))}var d=r[3],l=24===d?0:d,h=r[0]+\"-\"+r[1]+\"-\"+r[2]+\" \"+l+\":\"+r[4]+\":\"+r[5]+\":000\",v=+e;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n,i=this.utcOffset(),a=this.toDate(),u=a.toLocaleString(\"en-US\",{timeZone:t}),f=Math.round((a-new Date(u))/1e3/60),s=15*-Math.round(a.getTimezoneOffset()/15)-f;if(!Number(s))n=this.utcOffset(0,e);else if(n=o(u,{locale:this.$L}).$set(\"millisecond\",this.$ms).utcOffset(s,!0),e){var m=n.utcOffset();n=n.add(i-m,\"minute\")}return n.$x.$timezone=t,n},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return\"timezonename\"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format(\"YYYY-MM-DD HH:mm:ss:SSS\"),{locale:this.$L});return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if(\"string\"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return[i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t}}}));","!function(t,i){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=i():\"function\"==typeof define&&define.amd?define(i):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs_plugin_utc=i()}(this,(function(){\"use strict\";var t=\"minute\",i=/[+-]\\d\\d(?::?\\d\\d)?/g,e=/([+-]|\\d\\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else r.call(this)};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if(\"string\"==typeof s&&(s=function(t){void 0===t&&(t=\"\");var s=t.match(i);if(!s)return null;var f=(\"\"+s[0]).match(e)||[\"-\",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:\"+\"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?\"YYYY-MM-DDTHH:mm:ss[Z]\":\"\");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return\"s\"===t&&this.$offset?n(this.format(\"YYYY-MM-DD HH:mm:ss:SSS\")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)}}}));","import { rem } from '../../core';\n\nexport interface AccordionChevronProps extends React.ComponentPropsWithoutRef<'svg'> {\n /** Controls `width` and `height` of the icon, `16` by default */\n size?: number | string;\n}\n\nexport function AccordionChevron({ style, size = 16, ...others }: AccordionChevronProps) {\n return (\n \n \n \n );\n}\n\nAccordionChevron.displayName = '@mantine/core/AccordionChevron';\n","import {\n Box,\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getSize,\n MantineSize,\n StylesApiProps,\n useProps,\n useStyles,\n} from '../../core';\nimport classes from './Container.module.css';\n\nexport type ContainerStylesNames = 'root';\nexport type ContainerCssVariables = {\n root: '--container-size';\n};\n\nexport interface ContainerProps\n extends BoxProps,\n StylesApiProps,\n ElementProps<'div'> {\n /** Sets `max-width` of the container, value is not responsive – it is the same for all screen sizes. Numbers are converted to rem. Ignored when `fluid` prop is set. `'md'` by default */\n size?: MantineSize | (string & {}) | number;\n\n /** Determines whether the container should take 100% of its parent width. If set, `size` prop is ignored. `false` by default. */\n fluid?: boolean;\n}\n\nexport type ContainerFactory = Factory<{\n props: ContainerProps;\n ref: HTMLDivElement;\n stylesNames: ContainerStylesNames;\n vars: ContainerCssVariables;\n}>;\n\nconst defaultProps: Partial = {};\n\nconst varsResolver = createVarsResolver((_, { size, fluid }) => ({\n root: {\n '--container-size': fluid ? undefined : getSize(size, 'container-size'),\n },\n}));\n\nexport const Container = factory((_props, ref) => {\n const props = useProps('Container', defaultProps, _props);\n const { classNames, className, style, styles, unstyled, vars, fluid, mod, ...others } = props;\n\n const getStyles = useStyles({\n name: 'Container',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n });\n\n return ;\n});\n\nContainer.classes = classes;\nContainer.displayName = '@mantine/core/Container';\n","import { createContext } from 'react';\nimport { DayOfWeek } from '../../types';\n\nexport interface DatesProviderValue {\n locale: string;\n timezone: string | null;\n firstDayOfWeek: DayOfWeek;\n weekendDays: DayOfWeek[];\n labelSeparator: string;\n consistentWeeks: boolean;\n}\n\nexport type DatesProviderSettings = Partial;\n\nexport const DATES_PROVIDER_DEFAULT_SETTINGS: DatesProviderValue = {\n locale: 'en',\n timezone: null,\n firstDayOfWeek: 1,\n weekendDays: [0, 6],\n labelSeparator: '–',\n consistentWeeks: false,\n};\n\nexport const DatesProviderContext = createContext(DATES_PROVIDER_DEFAULT_SETTINGS);\n\nexport interface DatesProviderProps {\n settings: DatesProviderSettings;\n children?: React.ReactNode;\n}\n\nexport function DatesProvider({ settings, children }: DatesProviderProps) {\n return (\n \n {children}\n \n );\n}\n","import { useCallback, useContext } from 'react';\nimport { DayOfWeek } from '../../types';\nimport { DatesProviderContext } from './DatesProvider';\n\nexport function useDatesContext() {\n const ctx = useContext(DatesProviderContext);\n const getLocale = useCallback((input?: string) => input || ctx.locale, [ctx.locale]);\n\n const getTimezone = useCallback(\n (input?: string) => input || ctx.timezone || undefined,\n [ctx.timezone]\n );\n\n const getFirstDayOfWeek = useCallback(\n (input?: DayOfWeek) => (typeof input === 'number' ? input : ctx.firstDayOfWeek),\n [ctx.firstDayOfWeek]\n );\n\n const getWeekendDays = useCallback(\n (input?: DayOfWeek[]) => (Array.isArray(input) ? input : ctx.weekendDays),\n [ctx.weekendDays]\n );\n\n const getLabelSeparator = useCallback(\n (input?: string) => (typeof input === 'string' ? input : ctx.labelSeparator),\n [ctx.labelSeparator]\n );\n\n return {\n ...ctx,\n getLocale,\n getTimezone,\n getFirstDayOfWeek,\n getWeekendDays,\n getLabelSeparator,\n };\n}\n","import dayjs from 'dayjs';\nimport timezonePlugin from 'dayjs/plugin/timezone.js';\nimport utcPlugin from 'dayjs/plugin/utc.js';\n\ndayjs.extend(utcPlugin);\ndayjs.extend(timezonePlugin);\n\nexport function getTimezoneOffset(date: Date, timezone?: string) {\n if (timezone) {\n return dayjs(date).tz(timezone).utcOffset() + date.getTimezoneOffset();\n }\n return 0;\n}\n","import dayjs from 'dayjs';\nimport { DatesRangeValue, DateValue } from '../types';\nimport { getTimezoneOffset } from './get-timezone-offset';\n\ntype TimeShiftDirection = 'add' | 'remove';\n\nconst updateTimezone = (\n date: DateValue | undefined,\n timezone?: string,\n direction?: TimeShiftDirection\n): DateValue => {\n if (!date) {\n return null;\n }\n if (!timezone) {\n return date;\n }\n let offset = getTimezoneOffset(date, timezone);\n if (direction === 'remove') {\n offset *= -1;\n }\n return dayjs(date).add(offset, 'minutes').toDate();\n};\n\nexport function shiftTimezone(\n direction: TimeShiftDirection,\n date: T,\n timezone?: string,\n disabled?: boolean\n): T {\n if (disabled || !date) {\n return date;\n }\n if (Array.isArray(date)) {\n return date.map((d) => updateTimezone(d, timezone, direction)) as T;\n }\n return updateTimezone(date, timezone, direction) as T;\n}\n","import { useRef } from 'react';\nimport { useUncontrolled } from '@mantine/hooks';\nimport { useDatesContext } from '../../components/DatesProvider';\nimport { DatePickerType, DatePickerValue } from '../../types';\nimport { shiftTimezone } from '../../utils';\n\ninterface UseUncontrolledDates {\n type: Type;\n value: DatePickerValue | undefined;\n defaultValue: DatePickerValue | undefined;\n onChange: ((value: DatePickerValue) => void) | undefined;\n applyTimezone?: boolean;\n}\n\nconst getEmptyValue = (type: Type) =>\n type === 'range' ? [null, null] : type === 'multiple' ? [] : null;\n\nexport function useUncontrolledDates({\n type,\n value,\n defaultValue,\n onChange,\n applyTimezone = true,\n}: UseUncontrolledDates) {\n const storedType = useRef(type);\n const ctx = useDatesContext();\n const [_value, _setValue, controlled] = useUncontrolled({\n value: shiftTimezone('add', value, ctx.getTimezone(), !applyTimezone),\n defaultValue: shiftTimezone('add', defaultValue, ctx.getTimezone(), !applyTimezone),\n finalValue: getEmptyValue(type),\n onChange: (newDate) => {\n onChange?.(shiftTimezone('remove', newDate, ctx.getTimezone(), !applyTimezone));\n },\n });\n\n let _finalValue = _value;\n\n if (storedType.current !== type) {\n // Type has changed. Do some checks or resets\n\n storedType.current = type;\n if (value === undefined) {\n // Reset uncontrolled value as types aren't compatible\n _finalValue = defaultValue !== undefined ? defaultValue : getEmptyValue(type);\n _setValue(_finalValue);\n } else if (process.env.NODE_ENV === 'development') {\n // Throw errors in dev mode in case type of value isn't correct\n switch (type) {\n case 'default':\n if (value !== null && typeof value !== 'string') {\n // eslint-disable-next-line no-console\n console.error(\n '[@mantine/dates/use-uncontrolled-dates] Value must be type of `null` or `string`'\n );\n }\n break;\n case 'multiple':\n if (!(value instanceof Array)) {\n // eslint-disable-next-line no-console\n console.error(\n '[@mantine/dates/use-uncontrolled-dates] Value must be type of `string[]`'\n );\n }\n break;\n case 'range':\n if (!(value instanceof Array) || value.length !== 2) {\n // eslint-disable-next-line no-console\n console.error(\n '[@mantine/dates/use-uncontrolled-dates] Value must be type of `[string, string]`'\n );\n }\n break;\n }\n }\n }\n\n return [_finalValue, _setValue, controlled];\n}\n","import dayjs from 'dayjs';\n\nexport function isInRange(date: Date, range: [Date, Date]) {\n const _range = [...range].sort((a, b) => a.getTime() - b.getTime());\n return (\n dayjs(_range[0]).startOf('day').subtract(1, 'ms').isBefore(date) &&\n dayjs(_range[1]).endOf('day').add(1, 'ms').isAfter(date)\n );\n}\n","import dayjs from 'dayjs';\nimport { useEffect, useState } from 'react';\nimport { DatePickerType, PickerBaseProps } from '../../types';\nimport { useUncontrolledDates } from '../use-uncontrolled-dates/use-uncontrolled-dates';\nimport { isInRange } from './is-in-range/is-in-range';\n\ninterface UseDatesRangeInput\n extends PickerBaseProps {\n level: 'year' | 'month' | 'day';\n type: Type;\n onMouseLeave?: (event: React.MouseEvent) => void;\n applyTimezone?: boolean;\n}\n\nexport function useDatesState({\n type,\n level,\n value,\n defaultValue,\n onChange,\n allowSingleDateInRange,\n allowDeselect,\n onMouseLeave,\n applyTimezone = true,\n}: UseDatesRangeInput) {\n const [_value, setValue] = useUncontrolledDates({\n type,\n value,\n defaultValue,\n onChange,\n applyTimezone,\n });\n\n const [pickedDate, setPickedDate] = useState(\n type === 'range' ? (_value[0] && !_value[1] ? _value[0] : null) : null\n );\n const [hoveredDate, setHoveredDate] = useState(null);\n\n const onDateChange = (date: Date) => {\n if (type === 'range') {\n if (pickedDate instanceof Date && !_value[1]) {\n if (dayjs(date).isSame(pickedDate, level) && !allowSingleDateInRange) {\n setPickedDate(null);\n setHoveredDate(null);\n setValue([null, null]);\n return;\n }\n\n const result: [Date, Date] = [date, pickedDate];\n result.sort((a, b) => a.getTime() - b.getTime());\n setValue(result);\n setHoveredDate(null);\n setPickedDate(null);\n return;\n }\n\n if (\n _value[0] &&\n !_value[1] &&\n dayjs(date).isSame(_value[0], level) &&\n !allowSingleDateInRange\n ) {\n setPickedDate(null);\n setHoveredDate(null);\n setValue([null, null]);\n return;\n }\n\n setValue([date, null]);\n setHoveredDate(null);\n setPickedDate(date);\n return;\n }\n\n if (type === 'multiple') {\n if (_value.some((selected: Date) => dayjs(selected).isSame(date, level))) {\n setValue(_value.filter((selected: Date) => !dayjs(selected).isSame(date, level)));\n } else {\n setValue([..._value, date]);\n }\n\n return;\n }\n\n if (_value && allowDeselect && dayjs(date).isSame(_value, level)) {\n setValue(null);\n } else {\n setValue(date);\n }\n };\n\n const isDateInRange = (date: Date) => {\n if (pickedDate instanceof Date && hoveredDate instanceof Date) {\n return isInRange(date, [hoveredDate, pickedDate]);\n }\n\n if (_value[0] instanceof Date && _value[1] instanceof Date) {\n return isInRange(date, _value);\n }\n\n return false;\n };\n\n const onRootMouseLeave =\n type === 'range'\n ? (event: React.MouseEvent) => {\n onMouseLeave?.(event);\n setHoveredDate(null);\n }\n : onMouseLeave;\n\n const isFirstInRange = (date: Date) => {\n if (!(_value[0] instanceof Date)) {\n return false;\n }\n\n if (dayjs(date).isSame(_value[0], level)) {\n return !(hoveredDate && dayjs(hoveredDate).isBefore(_value[0]));\n }\n\n return false;\n };\n\n const isLastInRange = (date: Date) => {\n if (_value[1] instanceof Date) {\n return dayjs(date).isSame(_value[1], level);\n }\n\n if (!(_value[0] instanceof Date) || !hoveredDate) {\n return false;\n }\n\n return dayjs(hoveredDate).isBefore(_value[0]) && dayjs(date).isSame(_value[0], level);\n };\n\n const getControlProps = (date: Date) => {\n if (type === 'range') {\n return {\n selected: _value.some(\n (selection: Date) => selection && dayjs(selection).isSame(date, level)\n ),\n inRange: isDateInRange(date),\n firstInRange: isFirstInRange(date),\n lastInRange: isLastInRange(date),\n 'data-autofocus': (!!_value[0] && dayjs(_value[0]).isSame(date, level)) || undefined,\n };\n }\n\n if (type === 'multiple') {\n return {\n selected: _value.some(\n (selection: Date) => selection && dayjs(selection).isSame(date, level)\n ),\n 'data-autofocus': (!!_value[0] && dayjs(_value[0]).isSame(date, level)) || undefined,\n };\n }\n\n const selected = dayjs(_value).isSame(date, level);\n return { selected, 'data-autofocus': selected || undefined };\n };\n\n const onHoveredDateChange = type === 'range' && pickedDate ? setHoveredDate : () => {};\n\n useEffect(() => {\n if (type !== 'range') {\n return;\n }\n\n if (_value[0] && !_value[1] && pickedDate?.getTime() !== _value[0].getTime()) {\n setPickedDate(_value[0]);\n } else {\n const isNeitherSelected = _value[0] == null && _value[1] == null;\n const isBothSelected = _value[0] != null && _value[1] != null;\n if (isNeitherSelected || isBothSelected) {\n setPickedDate(null);\n setHoveredDate(null);\n }\n }\n }, [_value]);\n\n return {\n onDateChange,\n onRootMouseLeave,\n onHoveredDateChange,\n getControlProps,\n _value,\n setValue,\n };\n}\n","import { RefObject } from 'react';\n\ntype ControlsRef = RefObject;\ntype Direction = 'up' | 'down' | 'left' | 'right';\n\ntype NextIndexInput = Omit;\n\nfunction getNextIndex({ direction, levelIndex, rowIndex, cellIndex, size }: NextIndexInput) {\n switch (direction) {\n case 'up':\n if (levelIndex === 0 && rowIndex === 0) {\n return null;\n }\n if (rowIndex === 0) {\n return {\n levelIndex: levelIndex - 1,\n rowIndex:\n cellIndex <= size[levelIndex - 1][size[levelIndex - 1].length - 1] - 1\n ? size[levelIndex - 1].length - 1\n : size[levelIndex - 1].length - 2,\n cellIndex,\n };\n }\n return {\n levelIndex,\n rowIndex: rowIndex - 1,\n cellIndex,\n };\n\n case 'down':\n if (rowIndex === size[levelIndex].length - 1) {\n return {\n levelIndex: levelIndex + 1,\n rowIndex: 0,\n cellIndex,\n };\n }\n if (\n rowIndex === size[levelIndex].length - 2 &&\n cellIndex >= size[levelIndex][size[levelIndex].length - 1]\n ) {\n return {\n levelIndex: levelIndex + 1,\n rowIndex: 0,\n cellIndex,\n };\n }\n return {\n levelIndex,\n rowIndex: rowIndex + 1,\n cellIndex,\n };\n\n case 'left':\n if (levelIndex === 0 && rowIndex === 0 && cellIndex === 0) {\n return null;\n }\n if (rowIndex === 0 && cellIndex === 0) {\n return {\n levelIndex: levelIndex - 1,\n rowIndex: size[levelIndex - 1].length - 1,\n cellIndex: size[levelIndex - 1][size[levelIndex - 1].length - 1] - 1,\n };\n }\n if (cellIndex === 0) {\n return {\n levelIndex,\n rowIndex: rowIndex - 1,\n cellIndex: size[levelIndex][rowIndex - 1] - 1,\n };\n }\n return {\n levelIndex,\n rowIndex,\n cellIndex: cellIndex - 1,\n };\n\n case 'right':\n if (\n rowIndex === size[levelIndex].length - 1 &&\n cellIndex === size[levelIndex][rowIndex] - 1\n ) {\n return {\n levelIndex: levelIndex + 1,\n rowIndex: 0,\n cellIndex: 0,\n };\n }\n if (cellIndex === size[levelIndex][rowIndex] - 1) {\n return {\n levelIndex,\n rowIndex: rowIndex + 1,\n cellIndex: 0,\n };\n }\n return {\n levelIndex,\n rowIndex,\n cellIndex: cellIndex + 1,\n };\n\n default:\n return { levelIndex, rowIndex, cellIndex };\n }\n}\n\ninterface ShiftFocusInput {\n controlsRef: ControlsRef;\n direction: Direction;\n levelIndex: number;\n rowIndex: number;\n cellIndex: number;\n size: number[][];\n}\n\nfunction focusOnNextFocusableControl({\n controlsRef,\n direction,\n levelIndex,\n rowIndex,\n cellIndex,\n size,\n}: ShiftFocusInput) {\n const nextIndex = getNextIndex({ direction, size, rowIndex, cellIndex, levelIndex });\n\n if (!nextIndex) {\n return;\n }\n\n const controlToFocus =\n controlsRef.current?.[nextIndex.levelIndex]?.[nextIndex.rowIndex]?.[nextIndex.cellIndex];\n\n if (!controlToFocus) {\n return;\n }\n\n if (\n controlToFocus.disabled ||\n controlToFocus.getAttribute('data-hidden') ||\n controlToFocus.getAttribute('data-outside')\n ) {\n focusOnNextFocusableControl({\n controlsRef,\n direction,\n levelIndex: nextIndex.levelIndex,\n cellIndex: nextIndex.cellIndex,\n rowIndex: nextIndex.rowIndex,\n size,\n });\n } else {\n controlToFocus.focus();\n }\n}\n\nfunction getDirection(key: KeyboardEvent['key']): Direction {\n switch (key) {\n case 'ArrowDown':\n return 'down';\n case 'ArrowUp':\n return 'up';\n case 'ArrowRight':\n return 'right';\n case 'ArrowLeft':\n return 'left';\n default:\n return null!;\n }\n}\n\nfunction getControlsSize(controlsRef: ControlsRef) {\n return controlsRef.current?.map((column) => column.map((row) => row.length));\n}\n\ninterface HandleControlKeyDownInput {\n controlsRef: ControlsRef;\n levelIndex: number;\n rowIndex: number;\n cellIndex: number;\n event: React.KeyboardEvent;\n}\n\nexport function handleControlKeyDown({\n controlsRef,\n levelIndex,\n rowIndex,\n cellIndex,\n event,\n}: HandleControlKeyDownInput) {\n const direction = getDirection(event.key);\n\n if (direction) {\n event.preventDefault();\n\n const size = getControlsSize(controlsRef)!;\n\n focusOnNextFocusableControl({\n controlsRef,\n direction,\n levelIndex,\n rowIndex,\n cellIndex,\n size,\n });\n }\n}\n","import {\n AccordionChevron,\n Box,\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getFontSize,\n getSize,\n MantineSize,\n StylesApiProps,\n UnstyledButton,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport classes from './CalendarHeader.module.css';\n\nexport type CalendarHeaderStylesNames =\n | 'calendarHeader'\n | 'calendarHeaderControl'\n | 'calendarHeaderLevel'\n | 'calendarHeaderControlIcon';\nexport type CalendarHeaderCssVariables = {\n calendarHeader: '--dch-control-size' | '--dch-fz';\n};\n\nexport interface CalendarHeaderSettings {\n __preventFocus?: boolean;\n\n /** Determines whether propagation for Escape key should be stopped */\n __stopPropagation?: boolean;\n\n /** Change next icon */\n nextIcon?: React.ReactNode;\n\n /** Change previous icon */\n previousIcon?: React.ReactNode;\n\n /** Aria-label for next button */\n nextLabel?: string;\n\n /** Aria-label for previous button */\n previousLabel?: string;\n\n /** Called when next button is clicked */\n onNext?: () => void;\n\n /** Called when previous button is clicked */\n onPrevious?: () => void;\n\n /** Called when level button is clicked */\n onLevelClick?: () => void;\n\n /** Determines whether next control should be disabled, defaults to false */\n nextDisabled?: boolean;\n\n /** Determines whether previous control should be disabled, defaults to false */\n previousDisabled?: boolean;\n\n /** Determines whether next level button should be enabled, defaults to true */\n hasNextLevel?: boolean;\n\n /** Determines whether next control should be rendered, defaults to true */\n withNext?: boolean;\n\n /** Determines whether previous control should be rendered, defaults to true */\n withPrevious?: boolean;\n\n /** Component size */\n size?: MantineSize;\n}\n\nexport interface CalendarHeaderProps\n extends BoxProps,\n CalendarHeaderSettings,\n StylesApiProps,\n ElementProps<'div'> {\n __staticSelector?: string;\n\n /** Label displayed between next and previous buttons */\n label: React.ReactNode;\n\n /** Aria-label for level control */\n levelControlAriaLabel?: string;\n}\n\nexport type CalendarHeaderFactory = Factory<{\n props: CalendarHeaderProps;\n ref: HTMLDivElement;\n stylesNames: CalendarHeaderStylesNames;\n vars: CalendarHeaderCssVariables;\n}>;\n\nconst defaultProps: Partial = {\n nextDisabled: false,\n previousDisabled: false,\n hasNextLevel: true,\n withNext: true,\n withPrevious: true,\n};\n\nconst varsResolver = createVarsResolver((_, { size }) => ({\n calendarHeader: {\n '--dch-control-size': getSize(size, 'dch-control-size'),\n '--dch-fz': getFontSize(size),\n },\n}));\n\nexport const CalendarHeader = factory((_props, ref) => {\n const props = useProps('CalendarHeader', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n nextIcon,\n previousIcon,\n nextLabel,\n previousLabel,\n onNext,\n onPrevious,\n onLevelClick,\n label,\n nextDisabled,\n previousDisabled,\n hasNextLevel,\n levelControlAriaLabel,\n withNext,\n withPrevious,\n __staticSelector,\n __preventFocus,\n __stopPropagation,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'CalendarHeader',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: 'calendarHeader',\n });\n\n const preventFocus = __preventFocus\n ? (event: React.MouseEvent) => event.preventDefault()\n : undefined;\n\n return (\n \n {withPrevious && (\n \n {previousIcon || (\n \n )}\n \n )}\n\n \n {label}\n \n\n {withNext && (\n \n {nextIcon || (\n \n )}\n \n )}\n \n );\n});\n\nCalendarHeader.classes = classes;\nCalendarHeader.displayName = '@mantine/dates/CalendarHeader';\n","import {\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getFontSize,\n getSize,\n MantineSize,\n StylesApiProps,\n UnstyledButton,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport classes from './PickerControl.module.css';\n\nexport type PickerControlStylesNames = 'pickerControl';\nexport type PickerControlCssVariables = {\n pickerControl: '--dpc-size' | '--dpc-fz';\n};\n\nexport interface PickerControlProps\n extends BoxProps,\n StylesApiProps,\n ElementProps<'button'> {\n __staticSelector?: string;\n\n /** Control children */\n children?: React.ReactNode;\n\n /** Determines whether control should be disabled */\n disabled?: boolean;\n\n /** Determines whether control should have selected styles */\n selected?: boolean;\n\n /** Determines whether control is selected in range */\n inRange?: boolean;\n\n /** Determines whether control is first in range selection */\n firstInRange?: boolean;\n\n /** Determines whether control is last in range selection */\n lastInRange?: boolean;\n\n /** Component size */\n size?: MantineSize;\n}\n\nexport type PickerControlFactory = Factory<{\n props: PickerControlProps;\n ref: HTMLButtonElement;\n stylesNames: PickerControlStylesNames;\n vars: PickerControlCssVariables;\n}>;\n\nconst defaultProps: Partial = {};\n\nconst varsResolver = createVarsResolver((_, { size }) => ({\n pickerControl: {\n '--dpc-fz': getFontSize(size),\n '--dpc-size': getSize(size, 'dpc-size'),\n },\n}));\n\nexport const PickerControl = factory((_props, ref) => {\n const props = useProps('PickerControl', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n firstInRange,\n lastInRange,\n inRange,\n __staticSelector,\n selected,\n disabled,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'PickerControl',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: 'pickerControl',\n });\n\n return (\n \n );\n});\n\nPickerControl.classes = classes;\nPickerControl.displayName = '@mantine/dates/PickerControl';\n","import dayjs from 'dayjs';\n\nexport function isYearDisabled(\n year: Date,\n minDate: Date | null | undefined,\n maxDate: Date | null | undefined\n) {\n if (!minDate && !maxDate) {\n return false;\n }\n\n if (minDate && dayjs(year).isBefore(minDate, 'year')) {\n return true;\n }\n\n if (maxDate && dayjs(year).isAfter(maxDate, 'year')) {\n return true;\n }\n\n return false;\n}\n","import dayjs from 'dayjs';\nimport { PickerControlProps } from '../../PickerControl';\nimport { isYearDisabled } from '../is-year-disabled/is-year-disabled';\n\nexport function getYearInTabOrder(\n years: Date[][],\n minDate: Date | undefined,\n maxDate: Date | undefined,\n getYearControlProps: ((year: Date) => Partial) | undefined\n) {\n const enabledYears = years\n .flat()\n .filter(\n (year) => !isYearDisabled(year, minDate, maxDate) && !getYearControlProps?.(year)?.disabled\n );\n\n const selectedYear = enabledYears.find((year) => getYearControlProps?.(year)?.selected);\n\n if (selectedYear) {\n return selectedYear;\n }\n\n const currentYear = enabledYears.find((year) => dayjs().isSame(year, 'year'));\n\n if (currentYear) {\n return currentYear;\n }\n\n return enabledYears[0];\n}\n","export function getYearsData(decade: Date) {\n const year = decade.getFullYear();\n\n const rounded = year - (year % 10);\n\n let currentYearIndex = 0;\n const results: Date[][] = [[], [], [], []];\n\n for (let i = 0; i < 4; i += 1) {\n const max = i === 3 ? 1 : 3;\n for (let j = 0; j < max; j += 1) {\n results[i].push(new Date(rounded + currentYearIndex, 0));\n currentYearIndex += 1;\n }\n }\n\n return results;\n}\n","import dayjs from 'dayjs';\nimport {\n Box,\n BoxProps,\n ElementProps,\n factory,\n Factory,\n MantineSize,\n StylesApiProps,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport { ControlsGroupSettings } from '../../types';\nimport { useDatesContext } from '../DatesProvider';\nimport { PickerControl, PickerControlProps } from '../PickerControl';\nimport { getYearInTabOrder } from './get-year-in-tab-order/get-year-in-tab-order';\nimport { getYearsData } from './get-years-data/get-years-data';\nimport { isYearDisabled } from './is-year-disabled/is-year-disabled';\nimport classes from './YearsList.module.css';\n\nexport type YearsListStylesNames =\n | 'yearsListControl'\n | 'yearsList'\n | 'yearsListCell'\n | 'yearsListRow';\n\nexport interface YearsListSettings extends ControlsGroupSettings {\n /** Prevents focus shift when buttons are clicked */\n __preventFocus?: boolean;\n\n /** Determines whether propagation for Escape key should be stopped */\n __stopPropagation?: boolean;\n\n /** Dayjs format for years list, `'YYYY'` by default */\n yearsListFormat?: string;\n\n /** Adds props to year picker control based on date */\n getYearControlProps?: (date: Date) => Partial;\n\n /** Component size */\n size?: MantineSize;\n\n /** Determines whether controls should be separated by spacing, true by default */\n withCellSpacing?: boolean;\n}\n\nexport interface YearsListProps\n extends BoxProps,\n YearsListSettings,\n StylesApiProps,\n ElementProps<'table'> {\n __staticSelector?: string;\n\n /** Decade for which years list should be displayed */\n decade: Date;\n}\n\nexport type YearsListFactory = Factory<{\n props: YearsListProps;\n ref: HTMLTableElement;\n stylesNames: YearsListStylesNames;\n}>;\n\nconst defaultProps: Partial = {\n yearsListFormat: 'YYYY',\n withCellSpacing: true,\n};\n\nexport const YearsList = factory((_props, ref) => {\n const props = useProps('YearsList', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n decade,\n yearsListFormat,\n locale,\n minDate,\n maxDate,\n getYearControlProps,\n __staticSelector,\n __getControlRef,\n __onControlKeyDown,\n __onControlClick,\n __onControlMouseEnter,\n __preventFocus,\n __stopPropagation,\n withCellSpacing,\n size,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'YearsList',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n rootSelector: 'yearsList',\n });\n\n const ctx = useDatesContext();\n\n const years = getYearsData(decade);\n\n const yearInTabOrder = getYearInTabOrder(years, minDate, maxDate, getYearControlProps);\n\n const rows = years.map((yearsRow, rowIndex) => {\n const cells = yearsRow.map((year, cellIndex) => {\n const controlProps = getYearControlProps?.(year);\n const isYearInTabOrder = dayjs(year).isSame(yearInTabOrder, 'year');\n return (\n \n __getControlRef?.(rowIndex, cellIndex, node!)}\n {...controlProps}\n onKeyDown={(event) => {\n controlProps?.onKeyDown?.(event);\n __onControlKeyDown?.(event, { rowIndex, cellIndex, date: year });\n }}\n onClick={(event) => {\n controlProps?.onClick?.(event);\n __onControlClick?.(event, year);\n }}\n onMouseEnter={(event) => {\n controlProps?.onMouseEnter?.(event);\n __onControlMouseEnter?.(event, year);\n }}\n onMouseDown={(event) => {\n controlProps?.onMouseDown?.(event);\n __preventFocus && event.preventDefault();\n }}\n tabIndex={__preventFocus || !isYearInTabOrder ? -1 : 0}\n >\n {dayjs(year).locale(ctx.getLocale(locale)).format(yearsListFormat)}\n \n \n );\n });\n\n return (\n \n {cells}\n \n );\n });\n\n return (\n \n {rows}\n \n );\n});\n\nYearsList.classes = classes;\nYearsList.displayName = '@mantine/dates/YearsList';\n","import { getYearsData } from '../../YearsList/get-years-data/get-years-data';\n\nexport function getDecadeRange(decade: Date) {\n const years = getYearsData(decade);\n return [years[0][0], years[3][0]] as const;\n}\n","import dayjs from 'dayjs';\nimport {\n Box,\n BoxProps,\n ElementProps,\n factory,\n Factory,\n StylesApiProps,\n useProps,\n} from '@mantine/core';\nimport {\n CalendarHeader,\n CalendarHeaderSettings,\n CalendarHeaderStylesNames,\n} from '../CalendarHeader';\nimport { useDatesContext } from '../DatesProvider';\nimport { YearsList, YearsListSettings, YearsListStylesNames } from '../YearsList';\nimport { getDecadeRange } from './get-decade-range/get-decade-range';\n\nexport type DecadeLevelStylesNames = YearsListStylesNames | CalendarHeaderStylesNames;\n\nexport interface DecadeLevelBaseSettings extends YearsListSettings {\n /** Dayjs label format to display decade label or a function that returns decade label based on date value, defaults to \"YYYY\" */\n decadeLabelFormat?: string | ((startOfDecade: Date, endOfDecade: Date) => React.ReactNode);\n}\n\nexport interface DecadeLevelSettings\n extends DecadeLevelBaseSettings,\n Omit {}\n\nexport interface DecadeLevelProps\n extends BoxProps,\n DecadeLevelSettings,\n Omit, 'classNames' | 'styles'>,\n ElementProps<'div'> {\n classNames?: Partial>;\n styles?: Partial>;\n __staticSelector?: string;\n\n /** Decade that is currently displayed */\n decade: Date;\n\n /** Aria-label for change level control */\n levelControlAriaLabel?: string;\n}\n\nexport type DecadeLevelFactory = Factory<{\n props: DecadeLevelProps;\n ref: HTMLDivElement;\n stylesNames: DecadeLevelStylesNames;\n}>;\n\nconst defaultProps: Partial = {\n decadeLabelFormat: 'YYYY',\n};\n\nexport const DecadeLevel = factory((_props, ref) => {\n const props = useProps('DecadeLevel', defaultProps, _props);\n const {\n // YearsList settings\n decade,\n locale,\n minDate,\n maxDate,\n yearsListFormat,\n getYearControlProps,\n __getControlRef,\n __onControlKeyDown,\n __onControlClick,\n __onControlMouseEnter,\n withCellSpacing,\n\n // CalendarHeader settings\n __preventFocus,\n nextIcon,\n previousIcon,\n nextLabel,\n previousLabel,\n onNext,\n onPrevious,\n nextDisabled,\n previousDisabled,\n levelControlAriaLabel,\n withNext,\n withPrevious,\n\n // Other props\n decadeLabelFormat,\n classNames,\n styles,\n unstyled,\n __staticSelector,\n __stopPropagation,\n size,\n ...others\n } = props;\n\n const ctx = useDatesContext();\n const [startOfDecade, endOfDecade] = getDecadeRange(decade);\n\n const stylesApiProps = {\n __staticSelector: __staticSelector || 'DecadeLevel',\n classNames,\n styles,\n unstyled,\n size,\n };\n\n const _nextDisabled =\n typeof nextDisabled === 'boolean'\n ? nextDisabled\n : maxDate\n ? !dayjs(endOfDecade).endOf('year').isBefore(maxDate)\n : false;\n\n const _previousDisabled =\n typeof previousDisabled === 'boolean'\n ? previousDisabled\n : minDate\n ? !dayjs(startOfDecade).startOf('year').isAfter(minDate)\n : false;\n\n const formatDecade = (date: Date, format: string) =>\n dayjs(date)\n .locale(locale || ctx.locale)\n .format(format);\n\n return (\n \n \n\n \n \n );\n});\n\nDecadeLevel.classes = { ...YearsList.classes, ...CalendarHeader.classes };\nDecadeLevel.displayName = '@mantine/dates/DecadeLevel';\n","import {\n Box,\n BoxProps,\n ElementProps,\n factory,\n Factory,\n MantineSize,\n StylesApiProps,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport classes from './LevelsGroup.module.css';\n\nexport type LevelsGroupStylesNames = 'levelsGroup';\n\nexport interface LevelsGroupProps\n extends BoxProps,\n StylesApiProps,\n ElementProps<'div'> {\n __staticSelector?: string;\n size?: MantineSize;\n}\n\nexport type LevelsGroupFactory = Factory<{\n props: LevelsGroupProps;\n ref: HTMLDivElement;\n stylesNames: LevelsGroupStylesNames;\n}>;\n\nconst defaultProps: Partial = {};\n\nexport const LevelsGroup = factory((_props, ref) => {\n const props = useProps('LevelsGroup', defaultProps, _props);\n const { classNames, className, style, styles, unstyled, vars, __staticSelector, ...others } =\n props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'LevelsGroup',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n rootSelector: 'levelsGroup',\n });\n\n return ;\n});\n\nLevelsGroup.classes = classes;\nLevelsGroup.displayName = '@mantine/dates/LevelsGroup';\n","import dayjs from 'dayjs';\nimport { useRef } from 'react';\nimport { BoxProps, ElementProps, factory, Factory, StylesApiProps, useProps } from '@mantine/core';\nimport { handleControlKeyDown } from '../../utils';\nimport { DecadeLevel, DecadeLevelSettings, DecadeLevelStylesNames } from '../DecadeLevel';\nimport { LevelsGroup, LevelsGroupStylesNames } from '../LevelsGroup';\n\nexport type DecadeLevelGroupStylesNames = LevelsGroupStylesNames | DecadeLevelStylesNames;\n\nexport interface DecadeLevelGroupProps\n extends BoxProps,\n Omit, 'classNames' | 'styles'>,\n Omit<\n DecadeLevelSettings,\n 'withPrevious' | 'withNext' | '__onControlKeyDown' | '__getControlRef'\n >,\n ElementProps<'div'> {\n classNames?: Partial>;\n styles?: Partial>;\n __staticSelector?: string;\n\n /** Number of columns to render next to each other */\n numberOfColumns?: number;\n\n /** Decade that is currently displayed */\n decade: Date;\n\n /** Function that returns level control aria-label based on year date */\n levelControlAriaLabel?: ((decade: Date) => string) | string;\n}\n\nexport type DecadeLevelGroupFactory = Factory<{\n props: DecadeLevelGroupProps;\n ref: HTMLDivElement;\n stylesNames: DecadeLevelGroupStylesNames;\n}>;\n\nconst defaultProps: Partial = {\n numberOfColumns: 1,\n};\n\nexport const DecadeLevelGroup = factory((_props, ref) => {\n const props = useProps('DecadeLevelGroup', defaultProps, _props);\n const {\n // DecadeLevel settings\n decade,\n locale,\n minDate,\n maxDate,\n yearsListFormat,\n getYearControlProps,\n __onControlClick,\n __onControlMouseEnter,\n withCellSpacing,\n\n // CalendarHeader settings\n __preventFocus,\n nextIcon,\n previousIcon,\n nextLabel,\n previousLabel,\n onNext,\n onPrevious,\n nextDisabled,\n previousDisabled,\n\n // Other settings\n classNames,\n styles,\n unstyled,\n __staticSelector,\n __stopPropagation,\n numberOfColumns,\n levelControlAriaLabel,\n decadeLabelFormat,\n size,\n vars,\n ...others\n } = props;\n\n const controlsRef = useRef([]);\n\n const decades = Array(numberOfColumns)\n .fill(0)\n .map((_, decadeIndex) => {\n const currentDecade = dayjs(decade)\n .add(decadeIndex * 10, 'years')\n .toDate();\n\n return (\n \n handleControlKeyDown({\n levelIndex: decadeIndex,\n rowIndex: payload.rowIndex,\n cellIndex: payload.cellIndex,\n event,\n controlsRef,\n })\n }\n __getControlRef={(rowIndex, cellIndex, node) => {\n if (!Array.isArray(controlsRef.current[decadeIndex])) {\n controlsRef.current[decadeIndex] = [];\n }\n\n if (!Array.isArray(controlsRef.current[decadeIndex][rowIndex])) {\n controlsRef.current[decadeIndex][rowIndex] = [];\n }\n\n controlsRef.current[decadeIndex][rowIndex][cellIndex] = node;\n }}\n levelControlAriaLabel={\n typeof levelControlAriaLabel === 'function'\n ? levelControlAriaLabel(currentDecade)\n : levelControlAriaLabel\n }\n locale={locale}\n minDate={minDate}\n maxDate={maxDate}\n __preventFocus={__preventFocus}\n __stopPropagation={__stopPropagation}\n nextIcon={nextIcon}\n previousIcon={previousIcon}\n nextLabel={nextLabel}\n previousLabel={previousLabel}\n onNext={onNext}\n onPrevious={onPrevious}\n nextDisabled={nextDisabled}\n previousDisabled={previousDisabled}\n getYearControlProps={getYearControlProps}\n __staticSelector={__staticSelector || 'DecadeLevelGroup'}\n classNames={classNames}\n styles={styles}\n unstyled={unstyled}\n withCellSpacing={withCellSpacing}\n />\n );\n });\n\n return (\n \n {decades}\n \n );\n});\n\nDecadeLevelGroup.classes = { ...LevelsGroup.classes, ...DecadeLevel.classes };\nDecadeLevelGroup.displayName = '@mantine/dates/DecadeLevelGroup';\n","import dayjs from 'dayjs';\nimport {\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getSize,\n MantineSize,\n StylesApiProps,\n UnstyledButton,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport { shiftTimezone } from '../../utils';\nimport { useDatesContext } from '../DatesProvider';\nimport classes from './Day.module.css';\n\nexport type DayStylesNames = 'day';\nexport type DayCssVariables = {\n day: '--day-size';\n};\n\nexport interface DayProps extends BoxProps, StylesApiProps, ElementProps<'button'> {\n __staticSelector?: string;\n\n /** Determines which element should be used as root, `'button'` by default, `'div'` if static prop is set */\n static?: boolean;\n\n /** Date that should be displayed */\n date: Date;\n\n /** Control width and height of the day, `'sm'` by default */\n size?: MantineSize;\n\n /** Determines whether the day should be considered to be a weekend, `false` by default */\n weekend?: boolean;\n\n /** Determines whether the day is outside of the current month, `false` by default */\n outside?: boolean;\n\n /** Determines whether the day is selected, `false` by default */\n selected?: boolean;\n\n /** Determines whether the day should not be displayed, `false` by default */\n hidden?: boolean;\n\n /** Determines whether the day is selected in range, `false` by default */\n inRange?: boolean;\n\n /** Determines whether the day is first in range selection, `false` by default */\n firstInRange?: boolean;\n\n /** Determines whether the day is last in range selection, `false` by default */\n lastInRange?: boolean;\n\n /** Controls day value rendering */\n renderDay?: (date: Date) => React.ReactNode;\n\n /** Determines whether today should be highlighted with a border, `false` by default */\n highlightToday?: boolean;\n}\n\nexport type DayFactory = Factory<{\n props: DayProps;\n ref: HTMLButtonElement;\n stylesNames: DayStylesNames;\n vars: DayCssVariables;\n}>;\n\nconst defaultProps: Partial = {};\n\nconst varsResolver = createVarsResolver((_, { size }) => ({\n day: {\n '--day-size': getSize(size, 'day-size'),\n },\n}));\n\nexport const Day = factory((_props, ref) => {\n const props = useProps('Day', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n date,\n disabled,\n __staticSelector,\n weekend,\n outside,\n selected,\n renderDay,\n inRange,\n firstInRange,\n lastInRange,\n hidden,\n static: isStatic,\n highlightToday,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'Day',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: 'day',\n });\n\n const ctx = useDatesContext();\n\n return (\n \n {...getStyles('day', { style: hidden ? { display: 'none' } : undefined })}\n component={isStatic ? 'div' : 'button'}\n ref={ref}\n disabled={disabled}\n data-today={\n dayjs(date).isSame(shiftTimezone('add', new Date(), ctx.getTimezone()), 'day') || undefined\n }\n data-hidden={hidden || undefined}\n data-highlight-today={highlightToday || undefined}\n data-disabled={disabled || undefined}\n data-weekend={(!disabled && !outside && weekend) || undefined}\n data-outside={(!disabled && outside) || undefined}\n data-selected={(!disabled && selected) || undefined}\n data-in-range={(inRange && !disabled) || undefined}\n data-first-in-range={(firstInRange && !disabled) || undefined}\n data-last-in-range={(lastInRange && !disabled) || undefined}\n data-static={isStatic || undefined}\n unstyled={unstyled}\n {...others}\n >\n {renderDay?.(date) || dayjs(date).date()}\n \n );\n});\n\nDay.classes = classes;\nDay.displayName = '@mantine/dates/Day';\n","import dayjs from 'dayjs';\nimport type { DayOfWeek } from '../../../types';\n\ninterface GetWeekdaysNamesInput {\n locale: string;\n format?: string | ((date: Date) => React.ReactNode);\n firstDayOfWeek?: DayOfWeek;\n}\n\nexport function getWeekdayNames({\n locale,\n format = 'dd',\n firstDayOfWeek = 1,\n}: GetWeekdaysNamesInput) {\n const baseDate = dayjs().day(firstDayOfWeek);\n const labels: Array = [];\n\n for (let i = 0; i < 7; i += 1) {\n if (typeof format === 'string') {\n labels.push(dayjs(baseDate).add(i, 'days').locale(locale).format(format));\n } else {\n labels.push(format(dayjs(baseDate).add(i, 'days').toDate()));\n }\n }\n\n return labels;\n}\n","import {\n Box,\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getFontSize,\n getSpacing,\n MantineSize,\n StylesApiProps,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport type { DayOfWeek } from '../../types';\nimport { useDatesContext } from '../DatesProvider';\nimport { getWeekdayNames } from './get-weekdays-names/get-weekdays-names';\nimport classes from './WeekdaysRow.module.css';\n\nexport type WeekdaysRowStylesNames = 'weekday' | 'weekdaysRow';\nexport type WeekdaysRowCssVariables = {\n weekdaysRow: '--wr-fz' | '--wr-spacing';\n};\n\nexport interface WeekdaysRowProps\n extends BoxProps,\n StylesApiProps,\n ElementProps<'tr'> {\n __staticSelector?: string;\n\n /** Controls size */\n size?: MantineSize;\n\n /** Dayjs locale, defaults to value defined in DatesProvider */\n locale?: string;\n\n /** Number 0-6, 0 – Sunday, 6 – Saturday, defaults to 1 – Monday */\n firstDayOfWeek?: DayOfWeek;\n\n /** Dayjs format to get weekday name, defaults to \"dd\" */\n weekdayFormat?: string | ((date: Date) => React.ReactNode);\n\n /** Choose cell type that will be used to render weekdays, defaults to th */\n cellComponent?: 'td' | 'th';\n\n /** Determines whether week numbers should be displayed */\n withWeekNumbers?: boolean;\n}\n\nexport type WeekdaysRowFactory = Factory<{\n props: WeekdaysRowProps;\n ref: HTMLTableRowElement;\n stylesNames: WeekdaysRowStylesNames;\n vars: WeekdaysRowCssVariables;\n}>;\n\nconst defaultProps: Partial = {};\n\nconst varsResolver = createVarsResolver((_, { size }) => ({\n weekdaysRow: {\n '--wr-fz': getFontSize(size),\n '--wr-spacing': getSpacing(size),\n },\n}));\n\nexport const WeekdaysRow = factory((_props, ref) => {\n const props = useProps('WeekdaysRow', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n locale,\n firstDayOfWeek,\n weekdayFormat,\n cellComponent: CellComponent = 'th',\n __staticSelector,\n withWeekNumbers,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'WeekdaysRow',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: 'weekdaysRow',\n });\n\n const ctx = useDatesContext();\n\n const weekdays = getWeekdayNames({\n locale: ctx.getLocale(locale),\n format: weekdayFormat,\n firstDayOfWeek: ctx.getFirstDayOfWeek(firstDayOfWeek),\n }).map((weekday, index) => (\n \n {weekday}\n \n ));\n\n return (\n \n {withWeekNumbers && #}\n {weekdays}\n \n );\n});\n\nWeekdaysRow.classes = classes;\nWeekdaysRow.displayName = '@mantine/dates/WeekdaysRow';\n","import dayjs from 'dayjs';\n\nexport function isAfterMinDate(date: Date, minDate?: Date) {\n return minDate instanceof Date\n ? dayjs(date).isAfter(dayjs(minDate).subtract(1, 'day'), 'day')\n : true;\n}\n","import dayjs from 'dayjs';\n\nexport function isBeforeMaxDate(date: Date, maxDate?: Date) {\n return maxDate instanceof Date ? dayjs(date).isBefore(dayjs(maxDate).add(1, 'day'), 'day') : true;\n}\n","import dayjs from 'dayjs';\nimport { DayProps } from '../../Day/Day';\nimport { isAfterMinDate } from '../is-after-min-date/is-after-min-date';\nimport { isBeforeMaxDate } from '../is-before-max-date/is-before-max-date';\n\nexport function getDateInTabOrder(\n dates: Date[][],\n minDate: Date | undefined,\n maxDate: Date | undefined,\n getDateControlProps: ((date: Date) => Partial) | undefined,\n excludeDate: ((date: Date) => boolean) | undefined,\n hideOutsideDates: boolean | undefined,\n month: Date\n) {\n const enabledDates = dates\n .flat()\n .filter(\n (date) =>\n isBeforeMaxDate(date, maxDate) &&\n isAfterMinDate(date, minDate) &&\n !excludeDate?.(date) &&\n !getDateControlProps?.(date)?.disabled &&\n (!hideOutsideDates || dayjs(date).isSame(dayjs(month), 'month'))\n );\n\n const selectedDate = enabledDates.find((date) => getDateControlProps?.(date)?.selected);\n\n if (selectedDate) {\n return selectedDate;\n }\n\n const currentDate = enabledDates.find((date) => dayjs().isSame(date, 'date'));\n\n if (currentDate) {\n return currentDate;\n }\n\n return enabledDates[0];\n}\n","import dayjs from 'dayjs';\nimport type { DayOfWeek } from '../../../types';\n\nexport function getEndOfWeek(date: Date, firstDayOfWeek: DayOfWeek = 1) {\n let value = dayjs(date);\n\n const lastDayOfWeek = firstDayOfWeek === 0 ? 6 : firstDayOfWeek - 1;\n while (value.day() !== lastDayOfWeek) {\n value = value.add(1, 'day');\n }\n\n return value.toDate();\n}\n","import dayjs from 'dayjs';\nimport type { DayOfWeek } from '../../../types';\n\nexport function getStartOfWeek(date: Date, firstDayOfWeek: DayOfWeek = 1) {\n let value = dayjs(date);\n while (value.day() !== firstDayOfWeek) {\n value = value.subtract(1, 'day');\n }\n\n return value.toDate();\n}\n","import dayjs from 'dayjs';\nimport { DayOfWeek } from '../../../types';\nimport { getEndOfWeek } from '../get-end-of-week/get-end-of-week';\nimport { getStartOfWeek } from '../get-start-of-week/get-start-of-week';\n\ninterface GetMonthDaysInput {\n month: Date;\n firstDayOfWeek: DayOfWeek | undefined;\n consistentWeeks: boolean | undefined;\n}\n\nexport function getMonthDays({\n month,\n firstDayOfWeek = 1,\n consistentWeeks,\n}: GetMonthDaysInput): Date[][] {\n const day = dayjs(month).subtract(dayjs(month).date() - 1, 'day');\n const start = dayjs(day).startOf('day');\n const startOfMonth = start.toDate();\n const endOfMonth = start.add(+start.daysInMonth() - 1, 'day').toDate();\n const endDate = getEndOfWeek(endOfMonth, firstDayOfWeek);\n const date = getStartOfWeek(startOfMonth, firstDayOfWeek);\n const weeks: Date[][] = [];\n\n while (date <= endDate) {\n const days: Date[] = [];\n\n for (let i = 0; i < 7; i += 1) {\n days.push(new Date(date));\n date.setDate(date.getDate() + 1);\n }\n\n weeks.push(days);\n }\n\n if (consistentWeeks && weeks.length < 6) {\n const lastWeek = weeks[weeks.length - 1];\n const lastDay = lastWeek[lastWeek.length - 1];\n const nextDay = new Date(lastDay);\n nextDay.setDate(nextDay.getDate() + 1);\n\n while (weeks.length < 6) {\n const days: Date[] = [];\n\n for (let i = 0; i < 7; i += 1) {\n days.push(new Date(nextDay));\n nextDay.setDate(nextDay.getDate() + 1);\n }\n\n weeks.push(days);\n }\n }\n\n return weeks;\n}\n","import dayjs from 'dayjs';\nimport isoWeek from 'dayjs/plugin/isoWeek.js';\n\ndayjs.extend(isoWeek);\n\nexport function getWeekNumber(week: Date[]): number {\n const monday = week.find((date) => dayjs(date).day() === 1);\n return dayjs(monday).isoWeek();\n}\n","import dayjs from 'dayjs';\nimport {\n Box,\n BoxProps,\n createVarsResolver,\n ElementProps,\n factory,\n Factory,\n getFontSize,\n getSize,\n MantineSize,\n StylesApiProps,\n useProps,\n useResolvedStylesApi,\n useStyles,\n} from '@mantine/core';\nimport { ControlKeydownPayload, DayOfWeek } from '../../types';\nimport { useDatesContext } from '../DatesProvider';\nimport { Day, DayProps, DayStylesNames } from '../Day';\nimport { WeekdaysRow } from '../WeekdaysRow';\nimport { getDateInTabOrder } from './get-date-in-tab-order/get-date-in-tab-order';\nimport { getMonthDays } from './get-month-days/get-month-days';\nimport { getWeekNumber } from './get-week-number/get-week-number';\nimport { isAfterMinDate } from './is-after-min-date/is-after-min-date';\nimport { isBeforeMaxDate } from './is-before-max-date/is-before-max-date';\nimport classes from './Month.module.css';\n\nexport type MonthStylesNames =\n | 'month'\n | 'weekday'\n | 'weekdaysRow'\n | 'monthRow'\n | 'month'\n | 'monthThead'\n | 'monthTbody'\n | 'monthCell'\n | 'weekNumber'\n | DayStylesNames;\n\nexport interface MonthSettings {\n /** Determines whether propagation for Escape key should be stopped */\n __stopPropagation?: boolean;\n\n /** Prevents focus shift when buttons are clicked */\n __preventFocus?: boolean;\n\n /** Called when day is clicked with click event and date */\n __onDayClick?: (event: React.MouseEvent, date: Date) => void;\n\n /** Called when mouse enters day */\n __onDayMouseEnter?: (event: React.MouseEvent, date: Date) => void;\n\n /** Called when any keydown event is registered on day, used for arrows navigation */\n __onDayKeyDown?: (\n event: React.KeyboardEvent,\n payload: ControlKeydownPayload\n ) => void;\n\n /** Assigns ref of every day based on its position in the table, used for arrows navigation */\n __getDayRef?: (rowIndex: number, cellIndex: number, node: HTMLButtonElement) => void;\n\n /** Dayjs locale, defaults to value defined in DatesProvider */\n locale?: string;\n\n /** Number 0-6, 0 – Sunday, 6 – Saturday, defaults to 1 – Monday */\n firstDayOfWeek?: DayOfWeek;\n\n /** Dayjs format for weekdays names, defaults to \"dd\" */\n weekdayFormat?: string | ((date: Date) => React.ReactNode);\n\n /** Indices of weekend days, 0-6, where 0 is Sunday and 6 is Saturday, defaults to value defined in DatesProvider */\n weekendDays?: DayOfWeek[];\n\n /** Adds props to Day component based on date */\n getDayProps?: (date: Date) => Omit, 'classNames' | 'styles' | 'vars'>;\n\n /** Callback function to determine whether the day should be disabled */\n excludeDate?: (date: Date) => boolean;\n\n /** Minimum possible date */\n minDate?: Date;\n\n /** Maximum possible date */\n maxDate?: Date;\n\n /** Controls day value rendering */\n renderDay?: (date: Date) => React.ReactNode;\n\n /** Determines whether outside dates should be hidden, defaults to false */\n hideOutsideDates?: boolean;\n\n /** Determines whether weekdays row should be hidden, defaults to false */\n hideWeekdays?: boolean;\n\n /** Assigns aria-label to days based on date */\n getDayAriaLabel?: (date: Date) => string;\n\n /** Controls size */\n size?: MantineSize;\n\n /** Determines whether controls should be separated by spacing, true by default */\n withCellSpacing?: boolean;\n\n /** Determines whether today should be highlighted with a border, `false` by default */\n highlightToday?: boolean;\n\n /** Determines whether week numbers should be displayed */\n withWeekNumbers?: boolean;\n}\n\nexport interface MonthProps\n extends BoxProps,\n MonthSettings,\n StylesApiProps,\n ElementProps<'div'> {\n __staticSelector?: string;\n\n /** Month to display */\n month: Date;\n\n /** Determines whether days should be static, static days can be used to display month if it is not expected that user will interact with the component in any way */\n static?: boolean;\n}\n\nexport type MonthFactory = Factory<{\n props: MonthProps;\n ref: HTMLTableElement;\n stylesNames: MonthStylesNames;\n}>;\n\nconst defaultProps: Partial = {\n withCellSpacing: true,\n};\n\nconst varsResolver = createVarsResolver((_, { size }) => ({\n weekNumber: {\n '--wn-fz': getFontSize(size),\n '--wn-size': getSize(size, 'wn-size'),\n },\n}));\n\nexport const Month = factory((_props, ref) => {\n const props = useProps('Month', defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n __staticSelector,\n locale,\n firstDayOfWeek,\n weekdayFormat,\n month,\n weekendDays,\n getDayProps,\n excludeDate,\n minDate,\n maxDate,\n renderDay,\n hideOutsideDates,\n hideWeekdays,\n getDayAriaLabel,\n static: isStatic,\n __getDayRef,\n __onDayKeyDown,\n __onDayClick,\n __onDayMouseEnter,\n __preventFocus,\n __stopPropagation,\n withCellSpacing,\n size,\n highlightToday,\n withWeekNumbers,\n ...others\n } = props;\n\n const getStyles = useStyles({\n name: __staticSelector || 'Month',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: 'month',\n });\n\n const ctx = useDatesContext();\n const dates = getMonthDays({\n month,\n firstDayOfWeek: ctx.getFirstDayOfWeek(firstDayOfWeek),\n consistentWeeks: ctx.consistentWeeks,\n });\n\n const dateInTabOrder = getDateInTabOrder(\n dates,\n minDate,\n maxDate,\n getDayProps,\n excludeDate,\n hideOutsideDates,\n month\n );\n\n const { resolvedClassNames, resolvedStyles } = useResolvedStylesApi({\n classNames,\n styles,\n props,\n });\n\n const rows = dates.map((row, rowIndex) => {\n const cells = row.map((date, cellIndex) => {\n const outside = !dayjs(date).isSame(dayjs(month), 'month');\n const ariaLabel =\n getDayAriaLabel?.(date) ||\n dayjs(date)\n .locale(locale || ctx.locale)\n .format('D MMMM YYYY');\n const dayProps = getDayProps?.(date);\n const isDateInTabOrder = dayjs(date).isSame(dateInTabOrder, 'date');\n\n return (\n \n