Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.224.60.19
{"version":3,"sources":["../node_modules/react-date-picker/dist/entry.js","../node_modules/react-date-picker/dist/DatePicker.js","../node_modules/make-event-props/dist/esm/index.js","../node_modules/lodash.memoize/index.js","../node_modules/react-date-picker/dist/DateInput.js","../node_modules/react-date-picker/dist/Divider.js","../node_modules/react-date-picker/dist/DateInput/DayInput.js","../node_modules/update-input-width/dist/esm/index.js","../node_modules/react-date-picker/dist/DateInput/MonthInput.js","../node_modules/react-date-picker/dist/DateInput/MonthSelect.js","../node_modules/react-date-picker/dist/DateInput/YearInput.js","../node_modules/react-date-picker/dist/DateInput/NativeInput.js","../node_modules/react-date-picker/dist/shared/dates.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/shared/const.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/shared/dateFormatter.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/shared/dates.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/shared/propTypes.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/Calendar/Navigation.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/Flex.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/shared/utils.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/TileGroup.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/Tile.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/CenturyView/Decade.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/CenturyView/Decades.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/CenturyView.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/DecadeView/Year.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/DecadeView/Years.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/DecadeView.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/YearView/Month.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/YearView/Months.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/YearView.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView/Day.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView/Days.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView/Weekdays.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView/WeekNumber.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView/WeekNumbers.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/MonthView.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/Calendar.js","../node_modules/react-date-picker/node_modules/react-calendar/dist/esm/index.js","../node_modules/detect-element-overflow/dist/esm/index.js","../node_modules/react-fit/dist/esm/Fit.js","../node_modules/react-fit/dist/esm/index.js","../node_modules/@wojtekmaj/date-utils/dist/esm/index.js","../node_modules/react-date-picker/dist/shared/propTypes.js","../node_modules/react-date-picker/node_modules/clsx/dist/clsx.m.js","../node_modules/react-date-picker/dist/shared/utils.js","../node_modules/react-date-picker/node_modules/get-user-locale/dist/esm/index.js","../node_modules/react-date-picker/dist/DateInput/Input.js","../node_modules/react-date-picker/dist/shared/dateFormatter.js"],"names":["Object","defineProperty","exports","value","__webpack_require__","obj","_DatePicker","__esModule","default","_default","_react","nodeInterop","_typeof","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_interopRequireWildcard","_reactDom","_propTypes","_interopRequireDefault","_makeEventProps","_clsx","_reactCalendar","_reactFit","_DateInput","_propTypes2","_excluded","_excluded2","WeakMap","cacheBabelInterop","cacheNodeInterop","Symbol","iterator","constructor","_objectWithoutProperties","source","excluded","i","target","sourceKeys","keys","length","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_extends","assign","bind","arguments","apply","this","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_i","_s","_e","_x","_r","_arr","_n","_d","next","done","push","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","toString","slice","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_defineProperties","props","descriptor","enumerable","configurable","writable","_toPropertyKey","_setPrototypeOf","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","e","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","self","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_defineProperty","arg","input","hint","prim","toPrimitive","undefined","res","String","Number","_toPrimitive","baseClassName","outsideActionEvents","DatePicker","_PureComponent","subClass","superClass","create","_inherits","PureComponent","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","_key","concat","createRef","event","_assertThisInitialize","wrapper","calendarWrapper","composedPath","current","contains","closeCalendar","onChange","_this$props","disabled","onFocus","openCalendarOnFocus","dataset","select","openCalendar","setState","isOpen","prevState","stopPropagation","nextProps","isOpenProps","handleOutsideActionListeners","prevProps","state","_this$props2","onCalendarClose","onCalendarOpen","callback","shouldListen","_this2","fnName","forEach","eventName","document","onOutsideAction","onKeyDown","_this$props3","autoFocus","calendarAriaLabel","calendarIcon","clearAriaLabel","clearIcon","dayAriaLabel","dayPlaceholder","disableCalendar","format","locale","maxDate","maxDetail","minDate","monthAriaLabel","monthPlaceholder","nativeInputAriaLabel","required","returnValue","showLeadingZeros","yearAriaLabel","yearPlaceholder","valueFrom","ariaLabelProps","placeholderProps","createElement","className","isCalendarOpen","aria-label","onClick","clear","type","onBlur","resetValue","toggleCalendar","_this3","_this$props4","calendarClassName","portalContainer","calendarProps","classNames","calendar","createPortal","ref","_ref","removeAttribute","eventProps","_this$props5","dataTestid","eventPropsWithoutOnChange","data-testid","renderInputs","renderCalendar","iconProps","xmlns","width","height","viewBox","stroke","strokeWidth","CalendarIcon","fill","x","y","x1","x2","y1","y2","ClearIcon","defaultProps","isValue","oneOfType","string","instanceOf","Date","propTypes","bool","arrayOf","node","isMaxDate","oneOf","isMinDate","func","object","r","__webpack_exports__","d","clipboardEvents","compositionEvents","focusEvents","formEvents","imageEvents","keyboardEvents","mediaEvents","mouseEvents","dragEvents","selectionEvents","touchEvents","pointerEvents","uiEvents","wheelEvents","animationEvents","transitionEvents","otherEvents","changeEvents","allEvents","makeEventProps","__spreadArray","to","pack","ar","l","getArgs","eventHandler","global","FUNC_ERROR_TEXT","HASH_UNDEFINED","funcTag","genTag","reIsHostCtor","freeGlobal","freeSelf","root","Function","arrayProto","funcProto","objectProto","coreJsData","maskSrcKey","uid","exec","IE_PROTO","funcToString","objectToString","reIsNative","RegExp","replace","splice","Map","getNative","nativeCreate","Hash","entries","index","entry","ListCache","MapCache","assocIndexOf","array","other","baseIsNative","isObject","tag","isFunction","isHostObject","toSource","getMapData","map","data","__data__","isKeyable","getValue","memoize","resolver","memoized","Cache","pop","hash","module","_dateUtils","_Divider","_DayInput","_MonthInput","_MonthSelect","_YearInput","_NativeInput","_dateFormatter","_dates","_utils","_toConsumableArray","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","getFormatterOptionsCache","defaultMinDate","setFullYear","setHours","defaultMaxDate","allViews","allValueTypes","datesAreDifferent","date1","date2","getTime","getValueType","rawValue","valueDate","toDate","isNaN","Error","getDetailValue","valuePiece","valueType","detailValueFrom","getBegin","getEnd","between","getDetailValueFrom","getDetailValueTo","getDetailValueArray","fn","isInternalInput","element","findInput","property","nextElement","focus","DateInput","year","month","day","currentTarget","children","divider","preventDefault","parseInt","max","getAttribute","_event$target","onChangeExternal","_value$split2","split","yearString","monthString","dayString","monthIndex","proposedValue","formElements","dayInput","monthInput","yearInput","filter","values","formElement","every","validity","valid","getFullYear","getProcessedValue","currentMatch","_this$state","showLeadingZerosFromFormat","commonInputProps","ariaLabel","inputRef","placeholder","_this$state2","short","nextState","nextValue","getYear","getMonthHuman","getDate","level","formatterOptions","options","getFormatter","processFunction","dividers","match","date","formattedDate","formatDate","datePieceReplacements","datePiece","formattedDatePiece","dateToFormat","useGrouping","formatDatePiece","datePieceReplacement","_this$props6","onKeyUp","elementFunctions","allowMultipleInstances","usedFunctions","pattern","el","join","matches","reduce","renderFunction","find","elementFunction","includes","_renderCustomInputs","renderDay","M","renderMonth","renderYear","_this$props7","onChangeNative","renderNativeInput","renderCustomInputs","isRequired","Divider","DayInput","_Input","otherProps","currentMonthMaxDays","getDaysInMonth","isSameMonth","maxDay","safeMin","minDay","safeMax","min","isRef","getFontShorthand","measureText","updateInputWidth","cachedCanvas","allowedVariants","style","window","getComputedStyle","font","fontFamily","fontVariant","fontStyle","fontWeight","fontSize","lineHeight","text","context","getContext","Math","ceil","MonthInput","isSameYear","maxMonth","minMonth","MonthSelect","_ref$placeholder","_short","dates","formatter","formatShortMonth","formatMonth","data-input","data-select","YearInput","maxYear","minYear","yearStep","step","isValueType","NativeInput","nativeInputType","nativeValueParser","getISOLocalMonth","getISOLocalDate","hidden","visibility","position","zIndex","rangeType","getCenturyStart","getDecadeStart","getYearStart","getMonthStart","getDayStart","getCenturyEnd","getDecadeEnd","getYearEnd","getMonthEnd","getDayEnd","_CALENDAR_TYPE_LOCALE","CALENDAR_TYPES","ARABIC","HEBREW","ISO_8601","US","CALENDAR_TYPE_LOCALES","WEEKDAYS","formatterCache","getSafeFormatter","localeWithDefault","esm","formatterCacheLocale","Intl","DateTimeFormat","safeDate","toSafeHour","dateFormatter_formatDay","dateFormatter_formatLongDate","dateFormatter_formatMonth","dateFormatter_formatMonthYear","dateFormatter_formatShortWeekday","weekday","dateFormatter_formatWeekday","dateFormatter_formatYear","SUNDAY","FRIDAY","SATURDAY","getDayOfWeek","calendarType","getDay","getBeginOfWeek","dist_esm","getBeginNext","dates_getBeginPrevious2","dates_getBeginNext2","dates_getEndPrevious2","getRange","toYearLabel","formatYear","getDecadeLabel","isWeekend","calendarTypes","isCalendarType","prop_types_default","a","isClassName","propName","componentName","shape","any","isViews","isView","view","allowedViews","views","tileGroupProps","activeStartDate","hover","onMouseOver","tileClassName","tileContent","propTypes_tileProps","classes","objectOf","number","tileDisabled","Navigation_className","Navigation","drillUp","_ref$formatMonthYear","formatMonthYear","_ref$formatYear","_ref$navigationAriaLa","navigationAriaLabel","navigationAriaLive","navigationLabel","_ref$next2AriaLabel","next2AriaLabel","_ref$next2Label","next2Label","_ref$nextAriaLabel","nextAriaLabel","_ref$nextLabel","nextLabel","_ref$prev2AriaLabel","prev2AriaLabel","_ref$prev2Label","prev2Label","_ref$prevAriaLabel","prevAriaLabel","_ref$prevLabel","prevLabel","setActiveStartDate","showDoubleView","drillUpAvailable","shouldShowPrevNext2Buttons","previousActiveStartDate","getBeginPrevious","previousActiveStartDate2","nextActiveStartDate","nextActiveStartDate2","prevButtonDisabled","previousActiveEndDate","getEndPrevious","prev2ButtonDisabled","nextButtonDisabled","next2ButtonDisabled","renderLabel","label","getCenturyLabel","react_default","labelClassName","aria-live","flexGrow","Fragment","renderButton","ownKeys","enumerableOnly","symbols","sym","_objectSpread","Flex_defineProperty","getOwnPropertyDescriptors","defineProperties","toPercent","num","Flex","direction","count","offset","wrap","display","flexDirection","flexWrap","Children","child","cloneElement","flexBasis","flexShrink","overflow","marginLeft","utils_toConsumableArray","utils_arrayLikeToArray","utils_arrayWithoutHoles","utils_iterableToArray","utils_unsupportedIterableToArray","utils_nonIterableSpread","isValueWithinRange","range","doRangesOverlap","range1","range2","getRangeClassNames","valueRange","dateRange","isRangeStart","isRangeEnd","getTileClasses","dateType","now","greaterRange","smallerRange","valueRangeClassNames","valueArray","hoverRangeClassNames","TileGroup_excluded","TileGroup_ownKeys","TileGroup_objectSpread","TileGroup_defineProperty","TileGroup_extends","TileGroup_objectWithoutProperties","TileGroup_objectWithoutPropertiesLoose","TileGroup","_ref$count","dateTransform","end","start","_ref$step","Tile","tile","tileProps","tiles","point","Tile_typeof","Tile_ownKeys","Tile_objectSpread","Tile_defineProperty","prop","Tile_Tile","_Component","react","tileClassNameProps","activeStartDateProps","tileContentProps","formatAbbr","maxDateTransform","minDateTransform","clsx_m","Decade_excluded","Decade_ownKeys","Decade_objectSpread","Decade_defineProperty","Decade_extends","Decade_objectWithoutProperties","Decade_objectWithoutPropertiesLoose","Decade_className","Decade","Decades_ownKeys","Decades_defineProperty","Decades_extends","Decades","beginOfCentury","getBeginOfCenturyYear","CenturyView","Decades_objectSpread","Year_excluded","Year_ownKeys","Year_objectSpread","Year_defineProperty","Year_extends","Year_objectWithoutProperties","Year_objectWithoutPropertiesLoose","Year_className","Year","Years_ownKeys","Years_defineProperty","Years_extends","Years","beginOfDecade","getBeginOfDecadeYear","DecadeView","Years_objectSpread","Month_excluded","Month_ownKeys","Month_objectSpread","Month_defineProperty","Month_extends","Month_objectWithoutProperties","Month_objectWithoutPropertiesLoose","Month_className","Month","_ref$formatMonth","Months_ownKeys","Months_objectSpread","Months_defineProperty","Months_extends","Months","YearView","Day_excluded","Day_ownKeys","Day_objectSpread","Day_defineProperty","Day_extends","Day_objectWithoutProperties","Day_objectWithoutPropertiesLoose","Day_className","Day","_ref$formatDay","formatDay","_ref$formatLongDate","formatLongDate","currentMonthIndex","getMonth","Days_excluded","Days_ownKeys","Days_defineProperty","Days_extends","Days_objectWithoutProperties","Days_objectWithoutPropertiesLoose","Days","showFixedNumberOfWeeks","showNeighboringMonth","hasFixedNumberOfWeeks","dayOfWeek","daysInMonth","activeEndDate","Days_objectSpread","Weekdays_className","weekdayClassName","Weekdays","_props$formatShortWee","formatShortWeekday","_props$formatWeekday","formatWeekday","onMouseLeave","anyDate","beginOfMonth","weekdays","weekdayDate","abbr","title","WeekNumber_excluded","WeekNumber_extends","WeekNumber_ownKeys","WeekNumber_defineProperty","WeekNumber_objectWithoutProperties","WeekNumber_objectWithoutPropertiesLoose","WeekNumber_className","WeekNumber","onClickWeekNumber","weekNumber","WeekNumber_objectSpread","WeekNumbers","numberOfWeeks","days","weekNumbers","beginOfFirstWeek","calendarTypeForWeekNumber","beginOfWeek","round","getWeekNumber","weekIndex","MonthView_excluded","MonthView_extends","MonthView_objectWithoutProperties","MonthView_objectWithoutPropertiesLoose","MonthView","_props$calendarType","getCalendarTypeFromLocale","showWeekNumbers","childProps","alignItems","Calendar_excluded","Calendar_extends","Calendar_typeof","Calendar_defineProperties","Calendar_setPrototypeOf","Calendar_createSuper","Calendar_isNativeReflectConstruct","Calendar_getPrototypeOf","Calendar_assertThisInitialized","Calendar_possibleConstructorReturn","Calendar_ownKeys","Calendar_objectSpread","Calendar_defineProperty","Calendar_objectWithoutProperties","Calendar_objectWithoutPropertiesLoose","Calendar_arrayLikeToArray","Calendar_allViews","Calendar_arrayWithoutHoles","Calendar_iterableToArray","Calendar_unsupportedIterableToArray","Calendar_nonIterableSpread","Calendar_toConsumableArray","getLimitedViews","minDetail","getView","isViewAllowed","Calendar_getValue","getActiveStartDate","getIsSingleValue","Calendar_Calendar","Calendar_inherits","Calendar","Calendar_classCallCheck","_args","defaultActiveStartDate","defaultValue","defaultView","previousView","allowPartialRange","onActiveStartDateChange","onViewChange","selectRange","prevArgs","action","shouldUpdate","setStateAndCallCallbacks","drillDownAvailable","onClickTile","_assertThisInitialize2","onDrillDown","nextView","_assertThisInitialize3","onDrillUp","previousValue","goToRangeStartOnSelect","isFirstValueInRange","rawNextValue","sort","b","getValueRange","persist","onClickDay","onClickDecade","onClickMonth","onClickYear","activeStartDateState","getInitialActiveStartDate","valueProps","valueState","viewProps","viewState","currentActiveStartDate","_this$props8","commonProps","drillDown","_formatYear","_this$props9","_this$props10","showNavigation","_this$props11","_this$props12","renderNavigation","renderContent","isActiveStartDate","isLooseValue","getRect","getBoundingClientRect","detectElementOverflow","container","collidedTop","top","collidedBottom","bottom","collidedLeft","left","collidedRight","right","overflowTop","overflowBottom","overflowLeft","overflowRight","__extends","_extendStatics","__","__assign","t","s","__rest","isBrowser","isDisplayContentsSupported","CSS","supports","isMutationObserverSupported","capitalize","charAt","toUpperCase","findScrollContainer","parent","parentElement","documentElement","alignAxis","_a","axis","invertAxis","scrollContainer","secondary","spacing","scrollContainerCollisions","documentCollisions","isX","startProperty","endProperty","sizeProperty","overflowStartProperty","overflowEndProperty","scrollProperty","uppercasedSizeProperty","offsetSizeProperty","clientSizeProperty","minSizeProperty","scrollbarWidth","startSpacing","availableStartSpace","endSpacing","availableEndSpace","offsetSize","displayStartIfFits","displayEndIfFits","moreSpaceStart","rawMinSize","getPropertyValue","minSize","shrinkToSize","size","tiny_warning_esm","newSize","displayStart","displayEnd","displayWhereverShrinkedFits","displayIfFits","availableSpace","fits","alignBothAxis","invertSecondaryAxis","commonArgs","alignMainAxis","alignSecondaryAxis","esm_Fit","Fit","fit","elementWidth","clientWidth","elementHeight","clientHeight","parentPosition","_b","_c","mainAxis","componentDidMount","react_dom","HTMLElement","MutationObserver","observe","attributes","attributeFilter","render","only","firstElementChild","makeGetEdgeOfNeighbor","getPeriod","getEdgeOfPeriod","defaultOffset","previousPeriod","makeGetEnd","getBeginOfNextPeriod","makeGetRange","getStart","getHours","datePieces","hoursString","hours","getMinutes","minutesString","minutes","getSeconds","secondsWithMillisecondsString","seconds","getMilliseconds","millisecondsString","milliseconds","centuryStartYear","centuryStartDate","getPreviousCenturyStart","getNextCenturyStart","getPreviousCenturyEnd","getNextCenturyEnd","getCenturyRange","getPreviousDecadeStart","getNextDecadeStart","getPreviousDecadeEnd","getNextDecadeEnd","getDecadeRange","getPreviousYearStart","getNextYearStart","getPreviousYearEnd","getNextYearEnd","getYearRange","getPreviousMonthStart","getNextMonthStart","getPreviousMonthEnd","getNextMonthEnd","getMonthRange","getPreviousDayStart","getNextDayStart","getPreviousDayEnd","getNextDayEnd","getDayRange","getHoursMinutes","getHoursMinutesSeconds","getISOLocalDateTime","decadeStartYear","decadeStartDate","yearStartDate","makeGetEdgeOfNeighborMonth","monthStartDate","makeGetEdgeOfNeighborDay","dayStartDate","padStart","val","numStr","f","clsx","isValidNumber","_len2","_key2","getUserLocales","getUserLocale","lodash_memoize__WEBPACK_IMPORTED_MODULE_0__","lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default","JSON","stringify","_temp","_ref$useFallbackLocal","useFallbackLocale","_ref$fallbackLocale","fallbackLocale","languageList","navigator","languages","language","userLanguage","browserLanguage","systemLanguage","toLowerCase","splitEl","normalizeLocales","Input","_updateInputWidth","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","isIEOrEdgeLegacy","userAgent","isFirefox","requestAnimationFrame","makeOnKeyPress","maxLength","isNumberKey","selection","selectionStart","selectionEnd","getSelection","getSelectionString","nameForClass","_onKeyUp","readyState","addEventListener","fonts","check","updateInputWidthOnFontLoad","hasLeadingZero","startsWith","autoComplete","inputMode","onKeyPress","_getUserLocale"],"mappings":"4FAEAA,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAEAD,EAAA,eACAE,EAAQ,MACR,IAEAC,EAFAC,GAEAD,EAFyCD,EAAQ,QAGjDC,EAAAE,WAAAF,EAAA,CACAG,QAAAH,GAHAD,EAAQ,MAQR,IAAAK,EAAAH,EAAA,QACAJ,EAAA,QAAAO,4DCfAT,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAEAD,EAAA,eACA,IAAAQ,EAwBA,SAAAL,EAAAM,GACA,IAAAA,GAAAN,KAAAE,WACA,OAAAF,EAEA,UAAAA,GAAA,WAAAO,EAAAP,IAAA,oBAAAA,EACA,OACAG,QAAAH,GAGA,IAAAQ,EAAAC,EAAAH,GACA,GAAAE,KAAAE,IAAAV,GACA,OAAAQ,EAAAG,IAAAX,GAEA,IAAAY,EAAA,GACAC,EAAAlB,OAAAC,gBAAAD,OAAAmB,yBACA,QAAAC,KAAAf,EACA,eAAAe,GAAApB,OAAAqB,UAAAC,eAAAC,KAAAlB,EAAAe,GAAA,CACA,IAAAI,EAAAN,EAAAlB,OAAAmB,yBAAAd,EAAAe,GAAA,KACAI,MAAAR,KAAAQ,EAAAC,KACAzB,OAAAC,eAAAgB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AGA,IAAA+jB,EAAA,IAAAvP,IACA,SAAAiI,EAAAD,GACA,gBAAAhQ,EAAAqQ,GACA,IAAAoH,EAAAzX,IAAA,EAAAm+B,EAAA,WACA5mB,EAAArjB,IAAAujB,IACAF,EAAA3iB,IAAA6iB,EAAA,IAAAzP,KAEA,IAAA2P,EAAAJ,EAAApjB,IAAAsjB,GAIA,OAHAE,EAAAzjB,IAAA8b,IACA2H,EAAA/iB,IAAAob,EAAA,IAAA4H,KAAAC,eAAAJ,EAAAzH,GAAAjQ,QAEA4X,EAAAxjB,IAAA6b,EAAA2H,CAAAtH,IAiBA,SAAAmH,EAAAxH,GACA,gBAAAhQ,EAAAqQ,GACA,OAAAJ,EAAAD,EAAAC,CAAAjQ,EANA,SAAAqQ,GACA,IAAAyH,EAAA,IAAA9T,KAAAqM,GACA,WAAArM,KAAA8T,EAAA7M,SAAA,KAIA8M,CAAA1H,KAGA,IAMA6E,EAAAsC,EANA,CACAtK,MAAA,SAMA7Z,EAAA6hB,cACA,IAAAD,EAAAuC,EALA,CACAtK,MAAA,UAKA7Z,EAAA4hB","file":"static/js/29.ed35935d.chunk.js","sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nrequire(\"react-calendar/dist/Calendar.css\");\nvar _DatePicker = _interopRequireDefault(require(\"./DatePicker\"));\nrequire(\"./DatePicker.css\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n// File is created during build phase and placed in dist directory\n// eslint-disable-next-line import/no-unresolved\nvar _default = _DatePicker[\"default\"];\nexports[\"default\"] = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _reactDom = require(\"react-dom\");\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _makeEventProps = _interopRequireDefault(require(\"make-event-props\"));\nvar _clsx = _interopRequireDefault(require(\"clsx\"));\nvar _reactCalendar = _interopRequireDefault(require(\"react-calendar\"));\nvar _reactFit = _interopRequireDefault(require(\"react-fit\"));\nvar _DateInput = _interopRequireDefault(require(\"./DateInput\"));\nvar _propTypes2 = require(\"./shared/propTypes\");\nvar _excluded = [\"calendarClassName\", \"className\", \"onChange\", \"portalContainer\", \"value\"],\n _excluded2 = [\"onChange\"];\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj[\"default\"] = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nfunction _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nvar baseClassName = 'react-date-picker';\nvar outsideActionEvents = ['mousedown', 'focusin', 'touchstart'];\nvar allViews = ['century', 'decade', 'year', 'month'];\nvar DatePicker = /*#__PURE__*/function (_PureComponent) {\n _inherits(DatePicker, _PureComponent);\n var _super = _createSuper(DatePicker);\n function DatePicker() {\n var _this;\n _classCallCheck(this, DatePicker);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {});\n _defineProperty(_assertThisInitialized(_this), \"wrapper\", /*#__PURE__*/(0, _react.createRef)());\n _defineProperty(_assertThisInitialized(_this), \"calendarWrapper\", /*#__PURE__*/(0, _react.createRef)());\n _defineProperty(_assertThisInitialized(_this), \"onOutsideAction\", function (event) {\n var _assertThisInitialize = _assertThisInitialized(_this),\n wrapper = _assertThisInitialize.wrapper,\n calendarWrapper = _assertThisInitialize.calendarWrapper;\n\n // Try event.composedPath first to handle clicks inside a Shadow DOM.\n var target = 'composedPath' in event ? event.composedPath()[0] : event.target;\n if (wrapper.current && !wrapper.current.contains(target) && (!calendarWrapper.current || !calendarWrapper.current.contains(target))) {\n _this.closeCalendar();\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onChange\", function (value) {\n var closeCalendar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _this.props.closeCalendar;\n var onChange = _this.props.onChange;\n if (closeCalendar) {\n _this.closeCalendar();\n }\n if (onChange) {\n onChange(value);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onFocus\", function (event) {\n var _this$props = _this.props,\n disabled = _this$props.disabled,\n onFocus = _this$props.onFocus,\n openCalendarOnFocus = _this$props.openCalendarOnFocus;\n if (onFocus) {\n onFocus(event);\n }\n\n // Internet Explorer still fires onFocus on disabled elements\n if (disabled) {\n return;\n }\n if (openCalendarOnFocus) {\n if (event.target.dataset.select === 'true') {\n return;\n }\n _this.openCalendar();\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onKeyDown\", function (event) {\n if (event.key === 'Escape') {\n _this.closeCalendar();\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"openCalendar\", function () {\n _this.setState({\n isOpen: true\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"closeCalendar\", function () {\n _this.setState(function (prevState) {\n if (!prevState.isOpen) {\n return null;\n }\n return {\n isOpen: false\n };\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"toggleCalendar\", function () {\n _this.setState(function (prevState) {\n return {\n isOpen: !prevState.isOpen\n };\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"stopPropagation\", function (event) {\n return event.stopPropagation();\n });\n _defineProperty(_assertThisInitialized(_this), \"clear\", function () {\n return _this.onChange(null);\n });\n return _this;\n }\n _createClass(DatePicker, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.handleOutsideActionListeners();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n var isOpen = this.state.isOpen;\n var _this$props2 = this.props,\n onCalendarClose = _this$props2.onCalendarClose,\n onCalendarOpen = _this$props2.onCalendarOpen;\n if (isOpen !== prevState.isOpen) {\n this.handleOutsideActionListeners();\n var callback = isOpen ? onCalendarOpen : onCalendarClose;\n if (callback) callback();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.handleOutsideActionListeners(false);\n }\n }, {\n key: \"eventProps\",\n get: function get() {\n return (0, _makeEventProps[\"default\"])(this.props);\n }\n }, {\n key: \"handleOutsideActionListeners\",\n value: function handleOutsideActionListeners(shouldListen) {\n var _this2 = this;\n var isOpen = this.state.isOpen;\n var shouldListenWithFallback = typeof shouldListen !== 'undefined' ? shouldListen : isOpen;\n var fnName = shouldListenWithFallback ? 'addEventListener' : 'removeEventListener';\n outsideActionEvents.forEach(function (eventName) {\n return document[fnName](eventName, _this2.onOutsideAction);\n });\n document[fnName]('keydown', this.onKeyDown);\n }\n }, {\n key: \"renderInputs\",\n value: function renderInputs() {\n var _this$props3 = this.props,\n autoFocus = _this$props3.autoFocus,\n calendarAriaLabel = _this$props3.calendarAriaLabel,\n calendarIcon = _this$props3.calendarIcon,\n clearAriaLabel = _this$props3.clearAriaLabel,\n clearIcon = _this$props3.clearIcon,\n dayAriaLabel = _this$props3.dayAriaLabel,\n dayPlaceholder = _this$props3.dayPlaceholder,\n disableCalendar = _this$props3.disableCalendar,\n disabled = _this$props3.disabled,\n format = _this$props3.format,\n locale = _this$props3.locale,\n maxDate = _this$props3.maxDate,\n maxDetail = _this$props3.maxDetail,\n minDate = _this$props3.minDate,\n monthAriaLabel = _this$props3.monthAriaLabel,\n monthPlaceholder = _this$props3.monthPlaceholder,\n name = _this$props3.name,\n nativeInputAriaLabel = _this$props3.nativeInputAriaLabel,\n required = _this$props3.required,\n returnValue = _this$props3.returnValue,\n showLeadingZeros = _this$props3.showLeadingZeros,\n value = _this$props3.value,\n yearAriaLabel = _this$props3.yearAriaLabel,\n yearPlaceholder = _this$props3.yearPlaceholder;\n var isOpen = this.state.isOpen;\n var _concat = [].concat(value),\n _concat2 = _slicedToArray(_concat, 1),\n valueFrom = _concat2[0];\n var ariaLabelProps = {\n dayAriaLabel: dayAriaLabel,\n monthAriaLabel: monthAriaLabel,\n nativeInputAriaLabel: nativeInputAriaLabel,\n yearAriaLabel: yearAriaLabel\n };\n var placeholderProps = {\n dayPlaceholder: dayPlaceholder,\n monthPlaceholder: monthPlaceholder,\n yearPlaceholder: yearPlaceholder\n };\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n className: \"\".concat(baseClassName, \"__wrapper\")\n }, /*#__PURE__*/_react[\"default\"].createElement(_DateInput[\"default\"], _extends({}, ariaLabelProps, placeholderProps, {\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus: autoFocus,\n className: \"\".concat(baseClassName, \"__inputGroup\"),\n disabled: disabled,\n format: format,\n isCalendarOpen: isOpen,\n locale: locale,\n maxDate: maxDate,\n maxDetail: maxDetail,\n minDate: minDate,\n name: name,\n onChange: this.onChange,\n required: required,\n returnValue: returnValue,\n showLeadingZeros: showLeadingZeros,\n value: valueFrom\n })), clearIcon !== null && /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n \"aria-label\": clearAriaLabel,\n className: \"\".concat(baseClassName, \"__clear-button \").concat(baseClassName, \"__button\"),\n disabled: disabled,\n onClick: this.clear,\n onFocus: this.stopPropagation,\n type: \"button\"\n }, clearIcon), calendarIcon !== null && !disableCalendar && /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n \"aria-label\": calendarAriaLabel,\n className: \"\".concat(baseClassName, \"__calendar-button \").concat(baseClassName, \"__button\"),\n disabled: disabled,\n onBlur: this.resetValue,\n onClick: this.toggleCalendar,\n onFocus: this.stopPropagation,\n type: \"button\"\n }, calendarIcon));\n }\n }, {\n key: \"renderCalendar\",\n value: function renderCalendar() {\n var _this3 = this;\n var disableCalendar = this.props.disableCalendar;\n var isOpen = this.state.isOpen;\n if (isOpen === null || disableCalendar) {\n return null;\n }\n var _this$props4 = this.props,\n calendarClassName = _this$props4.calendarClassName,\n datePickerClassName = _this$props4.className,\n onChange = _this$props4.onChange,\n portalContainer = _this$props4.portalContainer,\n value = _this$props4.value,\n calendarProps = _objectWithoutProperties(_this$props4, _excluded);\n var className = \"\".concat(baseClassName, \"__calendar\");\n var classNames = (0, _clsx[\"default\"])(className, \"\".concat(className, \"--\").concat(isOpen ? 'open' : 'closed'));\n var calendar = /*#__PURE__*/_react[\"default\"].createElement(_reactCalendar[\"default\"], _extends({\n className: calendarClassName,\n onChange: function onChange(value) {\n return _this3.onChange(value);\n },\n value: value || null\n }, calendarProps));\n return portalContainer ? /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n ref: this.calendarWrapper,\n className: classNames\n }, calendar), portalContainer) : /*#__PURE__*/_react[\"default\"].createElement(_reactFit[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n ref: function ref(_ref) {\n if (_ref && !isOpen) {\n _ref.removeAttribute('style');\n }\n },\n className: classNames\n }, calendar));\n }\n }, {\n key: \"render\",\n value: function render() {\n var eventProps = this.eventProps;\n var _this$props5 = this.props,\n className = _this$props5.className,\n dataTestid = _this$props5['data-testid'],\n disabled = _this$props5.disabled;\n var isOpen = this.state.isOpen;\n var onChange = eventProps.onChange,\n eventPropsWithoutOnChange = _objectWithoutProperties(eventProps, _excluded2);\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n className: (0, _clsx[\"default\"])(baseClassName, \"\".concat(baseClassName, \"--\").concat(isOpen ? 'open' : 'closed'), \"\".concat(baseClassName, \"--\").concat(disabled ? 'disabled' : 'enabled'), className),\n \"data-testid\": dataTestid\n }, eventPropsWithoutOnChange, {\n onFocus: this.onFocus,\n ref: this.wrapper\n }), this.renderInputs(), this.renderCalendar());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.isOpen !== prevState.isOpenProps) {\n return {\n isOpen: nextProps.isOpen,\n isOpenProps: nextProps.isOpen\n };\n }\n return null;\n }\n }]);\n return DatePicker;\n}(_react.PureComponent);\nexports[\"default\"] = DatePicker;\nvar iconProps = {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 19,\n height: 19,\n viewBox: '0 0 19 19',\n stroke: 'black',\n strokeWidth: 2\n};\nvar CalendarIcon = /*#__PURE__*/_react[\"default\"].createElement(\"svg\", _extends({}, iconProps, {\n className: \"\".concat(baseClassName, \"__calendar-button__icon \").concat(baseClassName, \"__button__icon\")\n}), /*#__PURE__*/_react[\"default\"].createElement(\"rect\", {\n fill: \"none\",\n height: \"15\",\n width: \"15\",\n x: \"2\",\n y: \"2\"\n}), /*#__PURE__*/_react[\"default\"].createElement(\"line\", {\n x1: \"6\",\n x2: \"6\",\n y1: \"0\",\n y2: \"4\"\n}), /*#__PURE__*/_react[\"default\"].createElement(\"line\", {\n x1: \"13\",\n x2: \"13\",\n y1: \"0\",\n y2: \"4\"\n}));\nvar ClearIcon = /*#__PURE__*/_react[\"default\"].createElement(\"svg\", _extends({}, iconProps, {\n className: \"\".concat(baseClassName, \"__clear-button__icon \").concat(baseClassName, \"__button__icon\")\n}), /*#__PURE__*/_react[\"default\"].createElement(\"line\", {\n x1: \"4\",\n x2: \"15\",\n y1: \"4\",\n y2: \"15\"\n}), /*#__PURE__*/_react[\"default\"].createElement(\"line\", {\n x1: \"15\",\n x2: \"4\",\n y1: \"4\",\n y2: \"15\"\n}));\nDatePicker.defaultProps = {\n calendarIcon: CalendarIcon,\n clearIcon: ClearIcon,\n closeCalendar: true,\n isOpen: null,\n openCalendarOnFocus: true,\n returnValue: 'start'\n};\nvar isValue = _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].instanceOf(Date)]);\nDatePicker.propTypes = {\n autoFocus: _propTypes[\"default\"].bool,\n calendarAriaLabel: _propTypes[\"default\"].string,\n calendarClassName: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].arrayOf(_propTypes[\"default\"].string)]),\n calendarIcon: _propTypes[\"default\"].node,\n className: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].arrayOf(_propTypes[\"default\"].string)]),\n clearAriaLabel: _propTypes[\"default\"].string,\n clearIcon: _propTypes[\"default\"].node,\n closeCalendar: _propTypes[\"default\"].bool,\n 'data-testid': _propTypes[\"default\"].string,\n dayAriaLabel: _propTypes[\"default\"].string,\n dayPlaceholder: _propTypes[\"default\"].string,\n disableCalendar: _propTypes[\"default\"].bool,\n disabled: _propTypes[\"default\"].bool,\n format: _propTypes[\"default\"].string,\n isOpen: _propTypes[\"default\"].bool,\n locale: _propTypes[\"default\"].string,\n maxDate: _propTypes2.isMaxDate,\n maxDetail: _propTypes[\"default\"].oneOf(allViews),\n minDate: _propTypes2.isMinDate,\n monthAriaLabel: _propTypes[\"default\"].string,\n monthPlaceholder: _propTypes[\"default\"].string,\n name: _propTypes[\"default\"].string,\n nativeInputAriaLabel: _propTypes[\"default\"].string,\n onCalendarClose: _propTypes[\"default\"].func,\n onCalendarOpen: _propTypes[\"default\"].func,\n onChange: _propTypes[\"default\"].func,\n onFocus: _propTypes[\"default\"].func,\n openCalendarOnFocus: _propTypes[\"default\"].bool,\n portalContainer: _propTypes[\"default\"].object,\n required: _propTypes[\"default\"].bool,\n returnValue: _propTypes[\"default\"].oneOf(['start', 'end', 'range']),\n showLeadingZeros: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].oneOfType([isValue, _propTypes[\"default\"].arrayOf(isValue)]),\n yearAriaLabel: _propTypes[\"default\"].string,\n yearPlaceholder: _propTypes[\"default\"].string\n};","var __spreadArray = this && this.__spreadArray || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\n// As defined on the list of supported events: https://reactjs.org/docs/events.html\nexport var clipboardEvents = ['onCopy', 'onCut', 'onPaste'];\nexport var compositionEvents = ['onCompositionEnd', 'onCompositionStart', 'onCompositionUpdate'];\nexport var focusEvents = ['onFocus', 'onBlur'];\nexport var formEvents = ['onInput', 'onInvalid', 'onReset', 'onSubmit'];\nexport var imageEvents = ['onLoad', 'onError'];\nexport var keyboardEvents = ['onKeyDown', 'onKeyPress', 'onKeyUp'];\nexport var mediaEvents = ['onAbort', 'onCanPlay', 'onCanPlayThrough', 'onDurationChange', 'onEmptied', 'onEncrypted', 'onEnded', 'onError', 'onLoadedData', 'onLoadedMetadata', 'onLoadStart', 'onPause', 'onPlay', 'onPlaying', 'onProgress', 'onRateChange', 'onSeeked', 'onSeeking', 'onStalled', 'onSuspend', 'onTimeUpdate', 'onVolumeChange', 'onWaiting'];\nexport var mouseEvents = ['onClick', 'onContextMenu', 'onDoubleClick', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp'];\nexport var dragEvents = ['onDrag', 'onDragEnd', 'onDragEnter', 'onDragExit', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop'];\nexport var selectionEvents = ['onSelect'];\nexport var touchEvents = ['onTouchCancel', 'onTouchEnd', 'onTouchMove', 'onTouchStart'];\nexport var pointerEvents = ['onPointerDown', 'onPointerMove', 'onPointerUp', 'onPointerCancel', 'onGotPointerCapture', 'onLostPointerCapture', 'onPointerEnter', 'onPointerLeave', 'onPointerOver', 'onPointerOut'];\nexport var uiEvents = ['onScroll'];\nexport var wheelEvents = ['onWheel'];\nexport var animationEvents = ['onAnimationStart', 'onAnimationEnd', 'onAnimationIteration'];\nexport var transitionEvents = ['onTransitionEnd'];\nexport var otherEvents = ['onToggle'];\nexport var changeEvents = ['onChange'];\nexport var allEvents = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], clipboardEvents, true), compositionEvents, true), focusEvents, true), formEvents, true), imageEvents, true), keyboardEvents, true), mediaEvents, true), mouseEvents, true), dragEvents, true), selectionEvents, true), touchEvents, true), pointerEvents, true), uiEvents, true), wheelEvents, true), animationEvents, true), transitionEvents, true), changeEvents, true), otherEvents, true);\n/**\n * Returns an object with on-event callback props curried with provided args.\n * @param {Object} props Props passed to a component.\n * @param {Function=} getArgs A function that returns argument(s) on-event callbacks\n * shall be curried with.\n */\nexport default function makeEventProps(props, getArgs) {\n var eventProps = {};\n allEvents.forEach(function (eventName) {\n var eventHandler = props[eventName];\n if (!eventHandler) {\n return;\n }\n if (getArgs) {\n eventProps[eventName] = function (event) {\n return eventHandler(event, getArgs(eventName));\n };\n } else {\n eventProps[eventName] = eventHandler;\n }\n });\n return eventProps;\n}","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = function () {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? 'Symbol(src)_1.' + uid : '';\n}();\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash(),\n 'map': new (Map || ListCache)(),\n 'string': new Hash()\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && maskSrcKey in func;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return func + '';\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || resolver && typeof resolver != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function memoized() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache)();\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || value !== value && other !== other;\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\nmodule.exports = memoize;","\"use strict\";\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _Divider = _interopRequireDefault(require(\"./Divider\"));\nvar _DayInput = _interopRequireDefault(require(\"./DateInput/DayInput\"));\nvar _MonthInput = _interopRequireDefault(require(\"./DateInput/MonthInput\"));\nvar _MonthSelect = _interopRequireDefault(require(\"./DateInput/MonthSelect\"));\nvar _YearInput = _interopRequireDefault(require(\"./DateInput/YearInput\"));\nvar _NativeInput = _interopRequireDefault(require(\"./DateInput/NativeInput\"));\nvar _dateFormatter = require(\"./shared/dateFormatter\");\nvar _dates = require(\"./shared/dates\");\nvar _propTypes2 = require(\"./shared/propTypes\");\nvar _utils = require(\"./shared/utils\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj[\"default\"] = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nvar getFormatterOptionsCache = {};\nvar defaultMinDate = new Date();\ndefaultMinDate.setFullYear(1, 0, 1);\ndefaultMinDate.setHours(0, 0, 0, 0);\nvar defaultMaxDate = new Date(8.64e15);\nvar allViews = ['century', 'decade', 'year', 'month'];\nvar allValueTypes = [].concat(_toConsumableArray(allViews.slice(1)), ['day']);\nfunction toDate(value) {\n if (value instanceof Date) {\n return value;\n }\n return new Date(value);\n}\nfunction datesAreDifferent(date1, date2) {\n return date1 && !date2 || !date1 && date2 || date1 && date2 && date1.getTime() !== date2.getTime();\n}\n\n/**\n * Returns value type that can be returned with currently applied settings.\n */\nfunction getValueType(maxDetail) {\n return allValueTypes[allViews.indexOf(maxDetail)];\n}\nfunction getValue(value, index) {\n if (!value) {\n return null;\n }\n var rawValue = Array.isArray(value) && value.length === 2 ? value[index] : value;\n if (!rawValue) {\n return null;\n }\n var valueDate = toDate(rawValue);\n if (isNaN(valueDate.getTime())) {\n throw new Error(\"Invalid date: \".concat(value));\n }\n return valueDate;\n}\nfunction getDetailValue(_ref, index) {\n var value = _ref.value,\n minDate = _ref.minDate,\n maxDate = _ref.maxDate,\n maxDetail = _ref.maxDetail;\n var valuePiece = getValue(value, index);\n if (!valuePiece) {\n return null;\n }\n var valueType = getValueType(maxDetail);\n var detailValueFrom = [_dates.getBegin, _dates.getEnd][index](valueType, valuePiece);\n return (0, _utils.between)(detailValueFrom, minDate, maxDate);\n}\nvar getDetailValueFrom = function getDetailValueFrom(args) {\n return getDetailValue(args, 0);\n};\nvar getDetailValueTo = function getDetailValueTo(args) {\n return getDetailValue(args, 1);\n};\nvar getDetailValueArray = function getDetailValueArray(args) {\n var value = args.value;\n if (Array.isArray(value)) {\n return value;\n }\n return [getDetailValueFrom, getDetailValueTo].map(function (fn) {\n return fn(args);\n });\n};\nfunction isInternalInput(element) {\n return element.dataset.input === 'true';\n}\nfunction findInput(element, property) {\n var nextElement = element;\n do {\n nextElement = nextElement[property];\n } while (nextElement && !isInternalInput(nextElement));\n return nextElement;\n}\nfunction focus(element) {\n if (element) {\n element.focus();\n }\n}\nfunction _renderCustomInputs(placeholder, elementFunctions, allowMultipleInstances) {\n var usedFunctions = [];\n var pattern = new RegExp(Object.keys(elementFunctions).map(function (el) {\n return \"\".concat(el, \"+\");\n }).join('|'), 'g');\n var matches = placeholder.match(pattern);\n return placeholder.split(pattern).reduce(function (arr, element, index) {\n var divider = element && /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n _react[\"default\"].createElement(_Divider[\"default\"], {\n key: \"separator_\".concat(index)\n }, element);\n var res = [].concat(_toConsumableArray(arr), [divider]);\n var currentMatch = matches && matches[index];\n if (currentMatch) {\n var renderFunction = elementFunctions[currentMatch] || elementFunctions[Object.keys(elementFunctions).find(function (elementFunction) {\n return currentMatch.match(elementFunction);\n })];\n if (!allowMultipleInstances && usedFunctions.includes(renderFunction)) {\n res.push(currentMatch);\n } else {\n res.push(renderFunction(currentMatch, index));\n usedFunctions.push(renderFunction);\n }\n }\n return res;\n }, []);\n}\nvar DateInput = /*#__PURE__*/function (_PureComponent) {\n _inherits(DateInput, _PureComponent);\n var _super = _createSuper(DateInput);\n function DateInput() {\n var _this;\n _classCallCheck(this, DateInput);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n year: null,\n month: null,\n day: null\n });\n _defineProperty(_assertThisInitialized(_this), \"dayInput\", /*#__PURE__*/(0, _react.createRef)());\n _defineProperty(_assertThisInitialized(_this), \"monthInput\", /*#__PURE__*/(0, _react.createRef)());\n _defineProperty(_assertThisInitialized(_this), \"yearInput\", /*#__PURE__*/(0, _react.createRef)());\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n if (event.target === event.currentTarget) {\n // Wrapper was directly clicked\n var firstInput = event.target.children[1];\n focus(firstInput);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onKeyDown\", function (event) {\n switch (event.key) {\n case 'ArrowLeft':\n case 'ArrowRight':\n case _this.divider:\n {\n event.preventDefault();\n var input = event.target;\n var property = event.key === 'ArrowLeft' ? 'previousElementSibling' : 'nextElementSibling';\n var nextInput = findInput(input, property);\n focus(nextInput);\n break;\n }\n default:\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onKeyUp\", function (event) {\n var key = event.key,\n input = event.target;\n var isNumberKey = !isNaN(parseInt(key, 10));\n if (!isNumberKey) {\n return;\n }\n var value = input.value;\n var max = input.getAttribute('max');\n\n /**\n * Given 1, the smallest possible number the user could type by adding another digit is 10.\n * 10 would be a valid value given max = 12, so we won't jump to the next input.\n * However, given 2, smallers possible number would be 20, and thus keeping the focus in\n * this field doesn't make sense.\n */\n if (value * 10 > max || value.length >= max.length) {\n var property = 'nextElementSibling';\n var nextInput = findInput(input, property);\n focus(nextInput);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onChange\", function (event) {\n var _event$target = event.target,\n name = _event$target.name,\n value = _event$target.value;\n _this.setState(_defineProperty({}, name, value), _this.onChangeExternal);\n });\n _defineProperty(_assertThisInitialized(_this), \"onChangeNative\", function (event) {\n var onChange = _this.props.onChange;\n var value = event.target.value;\n if (!onChange) {\n return;\n }\n var processedValue = function () {\n if (!value) {\n return null;\n }\n var _value$split = value.split('-'),\n _value$split2 = _slicedToArray(_value$split, 3),\n yearString = _value$split2[0],\n monthString = _value$split2[1],\n dayString = _value$split2[2];\n var year = parseInt(yearString, 10);\n var monthIndex = parseInt(monthString, 10) - 1 || 0;\n var day = parseInt(dayString, 10) || 1;\n var proposedValue = new Date();\n proposedValue.setFullYear(year, monthIndex, day);\n proposedValue.setHours(0, 0, 0, 0);\n return proposedValue;\n }();\n onChange(processedValue, false);\n });\n _defineProperty(_assertThisInitialized(_this), \"onChangeExternal\", function () {\n var onChange = _this.props.onChange;\n if (!onChange) {\n return;\n }\n var formElements = [_this.dayInput.current, _this.monthInput.current, _this.yearInput.current].filter(Boolean);\n var values = {};\n formElements.forEach(function (formElement) {\n values[formElement.name] = formElement.value;\n });\n if (formElements.every(function (formElement) {\n return !formElement.value;\n })) {\n onChange(null, false);\n } else if (formElements.every(function (formElement) {\n return formElement.value && formElement.validity.valid;\n })) {\n var year = parseInt(values.year, 10) || new Date().getFullYear();\n var monthIndex = parseInt(values.month || 1, 10) - 1;\n var day = parseInt(values.day || 1, 10);\n var proposedValue = new Date();\n proposedValue.setFullYear(year, monthIndex, day);\n proposedValue.setHours(0, 0, 0, 0);\n var processedValue = _this.getProcessedValue(proposedValue);\n onChange(processedValue, false);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"renderDay\", function (currentMatch, index) {\n var _this$props = _this.props,\n autoFocus = _this$props.autoFocus,\n dayAriaLabel = _this$props.dayAriaLabel,\n dayPlaceholder = _this$props.dayPlaceholder,\n showLeadingZeros = _this$props.showLeadingZeros;\n var _this$state = _this.state,\n day = _this$state.day,\n month = _this$state.month,\n year = _this$state.year;\n if (currentMatch && currentMatch.length > 2) {\n throw new Error(\"Unsupported token: \".concat(currentMatch));\n }\n var showLeadingZerosFromFormat = currentMatch && currentMatch.length === 2;\n return /*#__PURE__*/_react[\"default\"].createElement(_DayInput[\"default\"], _extends({\n key: \"day\"\n }, _this.commonInputProps, {\n ariaLabel: dayAriaLabel\n // eslint-disable-next-line jsx-a11y/no-autofocus\n ,\n\n autoFocus: index === 0 && autoFocus,\n inputRef: _this.dayInput,\n month: month,\n placeholder: dayPlaceholder,\n showLeadingZeros: showLeadingZerosFromFormat || showLeadingZeros,\n value: day,\n year: year\n }));\n });\n _defineProperty(_assertThisInitialized(_this), \"renderMonth\", function (currentMatch, index) {\n var _this$props2 = _this.props,\n autoFocus = _this$props2.autoFocus,\n locale = _this$props2.locale,\n monthAriaLabel = _this$props2.monthAriaLabel,\n monthPlaceholder = _this$props2.monthPlaceholder,\n showLeadingZeros = _this$props2.showLeadingZeros;\n var _this$state2 = _this.state,\n month = _this$state2.month,\n year = _this$state2.year;\n if (currentMatch && currentMatch.length > 4) {\n throw new Error(\"Unsupported token: \".concat(currentMatch));\n }\n if (currentMatch.length > 2) {\n return /*#__PURE__*/_react[\"default\"].createElement(_MonthSelect[\"default\"], _extends({\n key: \"month\"\n }, _this.commonInputProps, {\n ariaLabel: monthAriaLabel\n // eslint-disable-next-line jsx-a11y/no-autofocus\n ,\n\n autoFocus: index === 0 && autoFocus,\n inputRef: _this.monthInput,\n locale: locale,\n placeholder: monthPlaceholder,\n \"short\": currentMatch.length === 3,\n value: month,\n year: year\n }));\n }\n var showLeadingZerosFromFormat = currentMatch && currentMatch.length === 2;\n return /*#__PURE__*/_react[\"default\"].createElement(_MonthInput[\"default\"], _extends({\n key: \"month\"\n }, _this.commonInputProps, {\n ariaLabel: monthAriaLabel\n // eslint-disable-next-line jsx-a11y/no-autofocus\n ,\n\n autoFocus: index === 0 && autoFocus,\n inputRef: _this.monthInput,\n placeholder: monthPlaceholder,\n showLeadingZeros: showLeadingZerosFromFormat || showLeadingZeros,\n value: month,\n year: year\n }));\n });\n _defineProperty(_assertThisInitialized(_this), \"renderYear\", function (currentMatch, index) {\n var _this$props3 = _this.props,\n autoFocus = _this$props3.autoFocus,\n yearAriaLabel = _this$props3.yearAriaLabel,\n yearPlaceholder = _this$props3.yearPlaceholder;\n var year = _this.state.year;\n return /*#__PURE__*/_react[\"default\"].createElement(_YearInput[\"default\"], _extends({\n key: \"year\"\n }, _this.commonInputProps, {\n ariaLabel: yearAriaLabel\n // eslint-disable-next-line jsx-a11y/no-autofocus\n ,\n\n autoFocus: index === 0 && autoFocus,\n inputRef: _this.yearInput,\n placeholder: yearPlaceholder,\n value: year,\n valueType: _this.valueType\n }));\n });\n return _this;\n }\n _createClass(DateInput, [{\n key: \"formatDate\",\n get: function get() {\n var maxDetail = this.props.maxDetail;\n var level = allViews.indexOf(maxDetail);\n var formatterOptions = getFormatterOptionsCache[level] || function () {\n var options = {\n year: 'numeric'\n };\n if (level >= 2) {\n options.month = 'numeric';\n }\n if (level >= 3) {\n options.day = 'numeric';\n }\n getFormatterOptionsCache[level] = options;\n return options;\n }();\n return (0, _dateFormatter.getFormatter)(formatterOptions);\n }\n\n /**\n * Gets current value in a desired format.\n */\n }, {\n key: \"getProcessedValue\",\n value: function getProcessedValue(value) {\n var _this$props4 = this.props,\n minDate = _this$props4.minDate,\n maxDate = _this$props4.maxDate,\n maxDetail = _this$props4.maxDetail,\n returnValue = _this$props4.returnValue;\n var processFunction = function () {\n switch (returnValue) {\n case 'start':\n return getDetailValueFrom;\n case 'end':\n return getDetailValueTo;\n case 'range':\n return getDetailValueArray;\n default:\n throw new Error('Invalid returnValue.');\n }\n }();\n return processFunction({\n value: value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n });\n }\n }, {\n key: \"divider\",\n get: function get() {\n var dividers = this.placeholder.match(/[^0-9a-z]/i);\n return dividers ? dividers[0] : null;\n }\n }, {\n key: \"placeholder\",\n get: function get() {\n var _this$props5 = this.props,\n format = _this$props5.format,\n locale = _this$props5.locale;\n if (format) {\n return format;\n }\n var year = 2017;\n var monthIndex = 11;\n var day = 11;\n var date = new Date(year, monthIndex, day);\n var formattedDate = this.formatDate(locale, date);\n var datePieces = ['year', 'month', 'day'];\n var datePieceReplacements = ['y', 'M', 'd'];\n function formatDatePiece(name, dateToFormat) {\n var formatterOptions = getFormatterOptionsCache[name] || function () {\n var options = _defineProperty({\n useGrouping: false\n }, name, 'numeric');\n getFormatterOptionsCache[name] = options;\n return options;\n }();\n return (0, _dateFormatter.getFormatter)(formatterOptions)(locale, dateToFormat).match(/\\d{1,}/);\n }\n var placeholder = formattedDate;\n datePieces.forEach(function (datePiece, index) {\n var formattedDatePiece = formatDatePiece(datePiece, date);\n var datePieceReplacement = datePieceReplacements[index];\n placeholder = placeholder.replace(formattedDatePiece, datePieceReplacement);\n });\n // See: https://github.com/wojtekmaj/react-date-picker/issues/396\n placeholder = placeholder.replace('17', 'y');\n return placeholder;\n }\n }, {\n key: \"commonInputProps\",\n get: function get() {\n var _this$props6 = this.props,\n className = _this$props6.className,\n disabled = _this$props6.disabled,\n isCalendarOpen = _this$props6.isCalendarOpen,\n maxDate = _this$props6.maxDate,\n minDate = _this$props6.minDate,\n required = _this$props6.required;\n return {\n className: className,\n disabled: disabled,\n maxDate: maxDate || defaultMaxDate,\n minDate: minDate || defaultMinDate,\n onChange: this.onChange,\n onKeyDown: this.onKeyDown,\n onKeyUp: this.onKeyUp,\n // This is only for showing validity when editing\n required: required || isCalendarOpen\n };\n }\n }, {\n key: \"valueType\",\n get: function get() {\n var maxDetail = this.props.maxDetail;\n return getValueType(maxDetail);\n }\n }, {\n key: \"renderCustomInputs\",\n value: function renderCustomInputs() {\n var placeholder = this.placeholder;\n var format = this.props.format;\n var elementFunctions = {\n d: this.renderDay,\n M: this.renderMonth,\n y: this.renderYear\n };\n var allowMultipleInstances = typeof format !== 'undefined';\n return _renderCustomInputs(placeholder, elementFunctions, allowMultipleInstances);\n }\n }, {\n key: \"renderNativeInput\",\n value: function renderNativeInput() {\n var _this$props7 = this.props,\n disabled = _this$props7.disabled,\n maxDate = _this$props7.maxDate,\n minDate = _this$props7.minDate,\n name = _this$props7.name,\n nativeInputAriaLabel = _this$props7.nativeInputAriaLabel,\n required = _this$props7.required;\n var value = this.state.value;\n return /*#__PURE__*/_react[\"default\"].createElement(_NativeInput[\"default\"], {\n key: \"date\",\n ariaLabel: nativeInputAriaLabel,\n disabled: disabled,\n maxDate: maxDate || defaultMaxDate,\n minDate: minDate || defaultMinDate,\n name: name,\n onChange: this.onChangeNative,\n required: required,\n value: value,\n valueType: this.valueType\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = this.props.className;\n return /*#__PURE__*/(\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions\n _react[\"default\"].createElement(\"div\", {\n className: className,\n onClick: this.onClick\n }, this.renderNativeInput(), this.renderCustomInputs())\n );\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n var minDate = nextProps.minDate,\n maxDate = nextProps.maxDate,\n maxDetail = nextProps.maxDetail;\n var nextState = {};\n\n /**\n * If isCalendarOpen flag has changed, we have to update it.\n * It's saved in state purely for use in getDerivedStateFromProps.\n */\n if (nextProps.isCalendarOpen !== prevState.isCalendarOpen) {\n nextState.isCalendarOpen = nextProps.isCalendarOpen;\n }\n\n /**\n * If the next value is different from the current one (with an exception of situation in\n * which values provided are limited by minDate and maxDate so that the dates are the same),\n * get a new one.\n */\n var nextValue = getDetailValueFrom({\n value: nextProps.value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n });\n var values = [nextValue, prevState.value];\n if (\n // Toggling calendar visibility resets values\n nextState.isCalendarOpen ||\n // Flag was toggled\n datesAreDifferent.apply(void 0, _toConsumableArray(values.map(function (value) {\n return getDetailValueFrom({\n value: value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n });\n }))) || datesAreDifferent.apply(void 0, _toConsumableArray(values.map(function (value) {\n return getDetailValueTo({\n value: value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n });\n })))) {\n if (nextValue) {\n nextState.year = (0, _dateUtils.getYear)(nextValue).toString();\n nextState.month = (0, _dateUtils.getMonthHuman)(nextValue).toString();\n nextState.day = (0, _dateUtils.getDate)(nextValue).toString();\n } else {\n nextState.year = null;\n nextState.month = null;\n nextState.day = null;\n }\n nextState.value = nextValue;\n }\n return nextState;\n }\n }]);\n return DateInput;\n}(_react.PureComponent);\nexports[\"default\"] = DateInput;\nDateInput.defaultProps = {\n maxDetail: 'month',\n name: 'date',\n returnValue: 'start'\n};\nvar isValue = _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].instanceOf(Date)]);\nDateInput.propTypes = {\n autoFocus: _propTypes[\"default\"].bool,\n className: _propTypes[\"default\"].string.isRequired,\n dayAriaLabel: _propTypes[\"default\"].string,\n dayPlaceholder: _propTypes[\"default\"].string,\n disabled: _propTypes[\"default\"].bool,\n format: _propTypes[\"default\"].string,\n isCalendarOpen: _propTypes[\"default\"].bool,\n locale: _propTypes[\"default\"].string,\n maxDate: _propTypes2.isMaxDate,\n maxDetail: _propTypes[\"default\"].oneOf(allViews),\n minDate: _propTypes2.isMinDate,\n monthAriaLabel: _propTypes[\"default\"].string,\n monthPlaceholder: _propTypes[\"default\"].string,\n name: _propTypes[\"default\"].string,\n nativeInputAriaLabel: _propTypes[\"default\"].string,\n onChange: _propTypes[\"default\"].func,\n required: _propTypes[\"default\"].bool,\n returnValue: _propTypes[\"default\"].oneOf(['start', 'end', 'range']),\n showLeadingZeros: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].oneOfType([isValue, _propTypes[\"default\"].arrayOf(isValue)]),\n yearAriaLabel: _propTypes[\"default\"].string,\n yearPlaceholder: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = Divider;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction Divider(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n className: \"react-date-picker__inputGroup__divider\"\n }, children);\n}\nDivider.propTypes = {\n children: _propTypes[\"default\"].node\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = DayInput;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _Input = _interopRequireDefault(require(\"./Input\"));\nvar _propTypes2 = require(\"../shared/propTypes\");\nvar _utils = require(\"../shared/utils\");\nvar _excluded = [\"maxDate\", \"minDate\", \"month\", \"year\"];\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction DayInput(_ref) {\n var maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n month = _ref.month,\n year = _ref.year,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var currentMonthMaxDays = function () {\n if (!month) {\n return 31;\n }\n return (0, _dateUtils.getDaysInMonth)(new Date(year, month - 1, 1));\n }();\n function isSameMonth(date) {\n return date && year === (0, _dateUtils.getYear)(date).toString() && month === (0, _dateUtils.getMonthHuman)(date).toString();\n }\n var maxDay = (0, _utils.safeMin)(currentMonthMaxDays, isSameMonth(maxDate) && (0, _dateUtils.getDate)(maxDate));\n var minDay = (0, _utils.safeMax)(1, isSameMonth(minDate) && (0, _dateUtils.getDate)(minDate));\n return /*#__PURE__*/_react[\"default\"].createElement(_Input[\"default\"], _extends({\n max: maxDay,\n min: minDay,\n name: \"day\"\n }, otherProps));\n}\nDayInput.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n className: _propTypes[\"default\"].string.isRequired,\n disabled: _propTypes[\"default\"].bool,\n inputRef: _propTypes2.isRef,\n maxDate: _propTypes2.isMaxDate,\n minDate: _propTypes2.isMinDate,\n month: _propTypes[\"default\"].string,\n onChange: _propTypes[\"default\"].func,\n onKeyDown: _propTypes[\"default\"].func,\n onKeyUp: _propTypes[\"default\"].func,\n placeholder: _propTypes[\"default\"].string,\n required: _propTypes[\"default\"].bool,\n showLeadingZeros: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].string,\n year: _propTypes[\"default\"].string\n};","var allowedVariants = ['normal', 'small-caps'];\n/**\n * Gets font CSS shorthand property given element.\n *\n * @param {HTMLElement} element Element to get font CSS shorthand property from\n */\nexport function getFontShorthand(element) {\n if (!element) {\n return '';\n }\n var style = window.getComputedStyle(element);\n if (style.font) {\n return style.font;\n }\n var isFontDefined = style.fontFamily !== '';\n if (!isFontDefined) {\n return '';\n }\n var fontVariant = allowedVariants.includes(style.fontVariant) ? style.fontVariant : 'normal';\n return \"\".concat(style.fontStyle, \" \").concat(fontVariant, \" \").concat(style.fontWeight, \" \").concat(style.fontSize, \" / \").concat(style.lineHeight, \" \").concat(style.fontFamily);\n}\nvar cachedCanvas;\n/**\n * Measures text width given text and font CSS shorthand.\n *\n * @param {string} text Text to measure\n * @param {string} font Font to use when measuring the text\n */\nexport function measureText(text, font) {\n var canvas = cachedCanvas || (cachedCanvas = document.createElement('canvas'));\n var context = canvas.getContext('2d');\n // Context type not supported\n if (!context) {\n return null;\n }\n context.font = font;\n var width = context.measureText(text).width;\n return Math.ceil(width);\n}\n/**\n * Updates input element width to fit its content given input element\n * @param {HTMLInputElement} element\n */\nexport function updateInputWidth(element) {\n if (typeof document === 'undefined' || !element) {\n return null;\n }\n var font = getFontShorthand(element);\n var text = element.value || element.placeholder;\n var width = measureText(text, font);\n if (width === null) {\n return null;\n }\n element.style.width = \"\".concat(width, \"px\");\n return width;\n}\nexport default updateInputWidth;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = MonthInput;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _Input = _interopRequireDefault(require(\"./Input\"));\nvar _propTypes2 = require(\"../shared/propTypes\");\nvar _utils = require(\"../shared/utils\");\nvar _excluded = [\"maxDate\", \"minDate\", \"year\"];\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction MonthInput(_ref) {\n var maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n year = _ref.year,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n function isSameYear(date) {\n return date && year === (0, _dateUtils.getYear)(date).toString();\n }\n var maxMonth = (0, _utils.safeMin)(12, isSameYear(maxDate) && (0, _dateUtils.getMonthHuman)(maxDate));\n var minMonth = (0, _utils.safeMax)(1, isSameYear(minDate) && (0, _dateUtils.getMonthHuman)(minDate));\n return /*#__PURE__*/_react[\"default\"].createElement(_Input[\"default\"], _extends({\n max: maxMonth,\n min: minMonth,\n name: \"month\"\n }, otherProps));\n}\nMonthInput.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n className: _propTypes[\"default\"].string.isRequired,\n disabled: _propTypes[\"default\"].bool,\n inputRef: _propTypes2.isRef,\n maxDate: _propTypes2.isMaxDate,\n minDate: _propTypes2.isMinDate,\n onChange: _propTypes[\"default\"].func,\n onKeyDown: _propTypes[\"default\"].func,\n onKeyUp: _propTypes[\"default\"].func,\n placeholder: _propTypes[\"default\"].string,\n required: _propTypes[\"default\"].bool,\n showLeadingZeros: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].string,\n year: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = MonthSelect;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _clsx = _interopRequireDefault(require(\"clsx\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _dateFormatter = require(\"../shared/dateFormatter\");\nvar _propTypes2 = require(\"../shared/propTypes\");\nvar _utils = require(\"../shared/utils\");\nvar _excluded = [\"ariaLabel\", \"className\", \"inputRef\", \"locale\", \"maxDate\", \"minDate\", \"placeholder\", \"short\", \"value\", \"year\"];\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction MonthSelect(_ref) {\n var ariaLabel = _ref.ariaLabel,\n className = _ref.className,\n inputRef = _ref.inputRef,\n locale = _ref.locale,\n maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n _ref$placeholder = _ref.placeholder,\n placeholder = _ref$placeholder === void 0 ? '--' : _ref$placeholder,\n _short = _ref[\"short\"],\n value = _ref.value,\n year = _ref.year,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n function isSameYear(date) {\n return date && year === (0, _dateUtils.getYear)(date).toString();\n }\n var maxMonth = (0, _utils.safeMin)(12, isSameYear(maxDate) && (0, _dateUtils.getMonthHuman)(maxDate));\n var minMonth = (0, _utils.safeMax)(1, isSameYear(minDate) && (0, _dateUtils.getMonthHuman)(minDate));\n var dates = _toConsumableArray(Array(12)).map(function (el, index) {\n return new Date(2019, index, 1);\n });\n var name = 'month';\n var formatter = _short ? _dateFormatter.formatShortMonth : _dateFormatter.formatMonth;\n return /*#__PURE__*/_react[\"default\"].createElement(\"select\", _extends({\n \"aria-label\": ariaLabel,\n className: (0, _clsx[\"default\"])(\"\".concat(className, \"__input\"), \"\".concat(className, \"__\").concat(name)),\n \"data-input\": \"true\",\n \"data-select\": \"true\",\n name: name,\n ref: inputRef,\n value: value !== null ? value : ''\n }, otherProps), !value && /*#__PURE__*/_react[\"default\"].createElement(\"option\", {\n value: \"\"\n }, placeholder), dates.map(function (date) {\n var month = (0, _dateUtils.getMonthHuman)(date);\n var disabled = month < minMonth || month > maxMonth;\n return /*#__PURE__*/_react[\"default\"].createElement(\"option\", {\n key: month,\n disabled: disabled,\n value: month\n }, formatter(locale, date));\n }));\n}\nMonthSelect.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n className: _propTypes[\"default\"].string.isRequired,\n disabled: _propTypes[\"default\"].bool,\n inputRef: _propTypes2.isRef,\n locale: _propTypes[\"default\"].string,\n maxDate: _propTypes2.isMaxDate,\n minDate: _propTypes2.isMinDate,\n onChange: _propTypes[\"default\"].func,\n onKeyDown: _propTypes[\"default\"].func,\n onKeyUp: _propTypes[\"default\"].func,\n placeholder: _propTypes[\"default\"].string,\n required: _propTypes[\"default\"].bool,\n \"short\": _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].string,\n year: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = YearInput;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _Input = _interopRequireDefault(require(\"./Input\"));\nvar _propTypes2 = require(\"../shared/propTypes\");\nvar _utils = require(\"../shared/utils\");\nvar _excluded = [\"maxDate\", \"minDate\", \"placeholder\", \"valueType\"];\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction YearInput(_ref) {\n var maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n _ref$placeholder = _ref.placeholder,\n placeholder = _ref$placeholder === void 0 ? '----' : _ref$placeholder,\n valueType = _ref.valueType,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var maxYear = (0, _utils.safeMin)(275760, maxDate && (0, _dateUtils.getYear)(maxDate));\n var minYear = (0, _utils.safeMax)(1, minDate && (0, _dateUtils.getYear)(minDate));\n var yearStep = function () {\n if (valueType === 'century') {\n return 10;\n }\n return 1;\n }();\n return /*#__PURE__*/_react[\"default\"].createElement(_Input[\"default\"], _extends({\n max: maxYear,\n min: minYear,\n name: \"year\",\n placeholder: placeholder,\n step: yearStep\n }, otherProps));\n}\nYearInput.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n className: _propTypes[\"default\"].string.isRequired,\n disabled: _propTypes[\"default\"].bool,\n inputRef: _propTypes2.isRef,\n maxDate: _propTypes2.isMaxDate,\n minDate: _propTypes2.isMinDate,\n onChange: _propTypes[\"default\"].func,\n onKeyDown: _propTypes[\"default\"].func,\n onKeyUp: _propTypes[\"default\"].func,\n placeholder: _propTypes[\"default\"].string,\n required: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].string,\n valueType: _propTypes2.isValueType\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = NativeInput;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\nvar _propTypes2 = require(\"../shared/propTypes\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction NativeInput(_ref) {\n var ariaLabel = _ref.ariaLabel,\n disabled = _ref.disabled,\n maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n name = _ref.name,\n onChange = _ref.onChange,\n required = _ref.required,\n value = _ref.value,\n valueType = _ref.valueType;\n var nativeInputType = function () {\n switch (valueType) {\n case 'decade':\n case 'year':\n return 'number';\n case 'month':\n return 'month';\n case 'day':\n return 'date';\n default:\n throw new Error('Invalid valueType.');\n }\n }();\n var nativeValueParser = function () {\n switch (valueType) {\n case 'century':\n case 'decade':\n case 'year':\n return _dateUtils.getYear;\n case 'month':\n return _dateUtils.getISOLocalMonth;\n case 'day':\n return _dateUtils.getISOLocalDate;\n default:\n throw new Error('Invalid valueType.');\n }\n }();\n function stopPropagation(event) {\n event.stopPropagation();\n }\n return /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n \"aria-label\": ariaLabel,\n disabled: disabled,\n hidden: true,\n max: maxDate ? nativeValueParser(maxDate) : null,\n min: minDate ? nativeValueParser(minDate) : null,\n name: name,\n onChange: onChange,\n onFocus: stopPropagation,\n required: required,\n style: {\n visibility: 'hidden',\n position: 'absolute',\n zIndex: '-999'\n },\n type: nativeInputType,\n value: value ? nativeValueParser(value) : ''\n });\n}\nNativeInput.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n disabled: _propTypes[\"default\"].bool,\n maxDate: _propTypes2.isMaxDate,\n minDate: _propTypes2.isMinDate,\n name: _propTypes[\"default\"].string,\n onChange: _propTypes[\"default\"].func,\n required: _propTypes[\"default\"].bool,\n value: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].instanceOf(Date)]),\n valueType: _propTypes2.isValueType\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getBegin = getBegin;\nexports.getEnd = getEnd;\nvar _dateUtils = require(\"@wojtekmaj/date-utils\");\n/**\n * Returns the beginning of a given range.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date Date.\n */\nfunction getBegin(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return (0, _dateUtils.getCenturyStart)(date);\n case 'decade':\n return (0, _dateUtils.getDecadeStart)(date);\n case 'year':\n return (0, _dateUtils.getYearStart)(date);\n case 'month':\n return (0, _dateUtils.getMonthStart)(date);\n case 'day':\n return (0, _dateUtils.getDayStart)(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\n\n/**\n * Returns the end of a given range.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date Date.\n */\nfunction getEnd(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return (0, _dateUtils.getCenturyEnd)(date);\n case 'decade':\n return (0, _dateUtils.getDecadeEnd)(date);\n case 'year':\n return (0, _dateUtils.getYearEnd)(date);\n case 'month':\n return (0, _dateUtils.getMonthEnd)(date);\n case 'day':\n return (0, _dateUtils.getDayEnd)(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}","var _CALENDAR_TYPE_LOCALE;\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nexport var CALENDAR_TYPES = {\n ARABIC: 'Arabic',\n HEBREW: 'Hebrew',\n ISO_8601: 'ISO 8601',\n US: 'US'\n};\nexport var CALENDAR_TYPE_LOCALES = (_CALENDAR_TYPE_LOCALE = {}, _defineProperty(_CALENDAR_TYPE_LOCALE, CALENDAR_TYPES.US, ['en-CA', 'en-US', 'es-AR', 'es-BO', 'es-CL', 'es-CO', 'es-CR', 'es-DO', 'es-EC', 'es-GT', 'es-HN', 'es-MX', 'es-NI', 'es-PA', 'es-PE', 'es-PR', 'es-SV', 'es-VE', 'pt-BR']), _defineProperty(_CALENDAR_TYPE_LOCALE, CALENDAR_TYPES.ARABIC, [\n// ar-LB, ar-MA intentionally missing\n'ar', 'ar-AE', 'ar-BH', 'ar-DZ', 'ar-EG', 'ar-IQ', 'ar-JO', 'ar-KW', 'ar-LY', 'ar-OM', 'ar-QA', 'ar-SA', 'ar-SD', 'ar-SY', 'ar-YE', 'dv', 'dv-MV', 'ps', 'ps-AR']), _defineProperty(_CALENDAR_TYPE_LOCALE, CALENDAR_TYPES.HEBREW, ['he', 'he-IL']), _CALENDAR_TYPE_LOCALE);\nexport var WEEKDAYS = _toConsumableArray(Array(7)).map(function (el, index) {\n return index;\n});","import getUserLocale from 'get-user-locale';\nvar formatterCache = new Map();\nfunction getFormatter(options) {\n return function (locale, date) {\n var localeWithDefault = locale || getUserLocale();\n if (!formatterCache.has(localeWithDefault)) {\n formatterCache.set(localeWithDefault, new Map());\n }\n var formatterCacheLocale = formatterCache.get(localeWithDefault);\n if (!formatterCacheLocale.has(options)) {\n formatterCacheLocale.set(options, new Intl.DateTimeFormat(localeWithDefault, options).format);\n }\n return formatterCacheLocale.get(options)(date);\n };\n}\n\n/**\n * Changes the hour in a Date to ensure right date formatting even if DST is messed up.\n * Workaround for bug in WebKit and Firefox with historical dates.\n * For more details, see:\n * https://bugs.chromium.org/p/chromium/issues/detail?id=750465\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1385643\n *\n * @param {Date} date Date.\n */\nfunction toSafeHour(date) {\n var safeDate = new Date(date);\n return new Date(safeDate.setHours(12));\n}\nfunction getSafeFormatter(options) {\n return function (locale, date) {\n return getFormatter(options)(locale, toSafeHour(date));\n };\n}\nvar formatDateOptions = {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n};\nvar formatDayOptions = {\n day: 'numeric'\n};\nvar formatLongDateOptions = {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n};\nvar formatMonthOptions = {\n month: 'long'\n};\nvar formatMonthYearOptions = {\n month: 'long',\n year: 'numeric'\n};\nvar formatShortWeekdayOptions = {\n weekday: 'short'\n};\nvar formatWeekdayOptions = {\n weekday: 'long'\n};\nvar formatYearOptions = {\n year: 'numeric'\n};\nexport var formatDate = getSafeFormatter(formatDateOptions);\nexport var formatDay = getSafeFormatter(formatDayOptions);\nexport var formatLongDate = getSafeFormatter(formatLongDateOptions);\nexport var formatMonth = getSafeFormatter(formatMonthOptions);\nexport var formatMonthYear = getSafeFormatter(formatMonthYearOptions);\nexport var formatShortWeekday = getSafeFormatter(formatShortWeekdayOptions);\nexport var formatWeekday = getSafeFormatter(formatWeekdayOptions);\nexport var formatYear = getSafeFormatter(formatYearOptions);","import { getYear, getMonth as getMonthIndex, getCenturyStart, getPreviousCenturyStart, getNextCenturyStart, getCenturyEnd, getPreviousCenturyEnd, getCenturyRange, getDecadeStart, getPreviousDecadeStart, getNextDecadeStart, getDecadeEnd, getPreviousDecadeEnd, getDecadeRange, getYearStart, getPreviousYearStart, getNextYearStart, getYearEnd, getPreviousYearEnd, getYearRange, getMonthStart, getPreviousMonthStart, getNextMonthStart, getMonthEnd, getPreviousMonthEnd, getMonthRange, getDayStart, getDayEnd, getDayRange } from '@wojtekmaj/date-utils';\nimport { CALENDAR_TYPES, WEEKDAYS } from './const';\nimport { formatYear as defaultFormatYear } from './dateFormatter';\nvar SUNDAY = WEEKDAYS[0];\nvar FRIDAY = WEEKDAYS[5];\nvar SATURDAY = WEEKDAYS[6];\n\n/* Simple getters - getting a property of a given point in time */\n\nexport function getDayOfWeek(date) {\n var calendarType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : CALENDAR_TYPES.ISO_8601;\n var weekday = date.getDay();\n switch (calendarType) {\n case CALENDAR_TYPES.ISO_8601:\n // Shifts days of the week so that Monday is 0, Sunday is 6\n return (weekday + 6) % 7;\n case CALENDAR_TYPES.ARABIC:\n return (weekday + 1) % 7;\n case CALENDAR_TYPES.HEBREW:\n case CALENDAR_TYPES.US:\n return weekday;\n default:\n throw new Error('Unsupported calendar type.');\n }\n}\n\n/**\n * Century\n */\n\nexport function getBeginOfCenturyYear(date) {\n var beginOfCentury = getCenturyStart(date);\n return getYear(beginOfCentury);\n}\n\n/**\n * Decade\n */\nexport function getBeginOfDecadeYear(date) {\n var beginOfDecade = getDecadeStart(date);\n return getYear(beginOfDecade);\n}\n\n/**\n * Week\n */\n\n/**\n * Returns the beginning of a given week.\n *\n * @param {Date} date Date.\n * @param {string} calendarType Calendar type. Can be ISO 8601 or US.\n */\nexport function getBeginOfWeek(date) {\n var calendarType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : CALENDAR_TYPES.ISO_8601;\n var year = getYear(date);\n var monthIndex = getMonthIndex(date);\n var day = date.getDate() - getDayOfWeek(date, calendarType);\n return new Date(year, monthIndex, day);\n}\n\n/**\n * Gets week number according to ISO 8601 or US standard.\n * In ISO 8601, Arabic and Hebrew week 1 is the one with January 4.\n * In US calendar week 1 is the one with January 1.\n *\n * @param {Date} date Date.\n * @param {string} calendarType Calendar type. Can be ISO 8601 or US.\n */\nexport function getWeekNumber(date) {\n var calendarType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : CALENDAR_TYPES.ISO_8601;\n var calendarTypeForWeekNumber = calendarType === CALENDAR_TYPES.US ? CALENDAR_TYPES.US : CALENDAR_TYPES.ISO_8601;\n var beginOfWeek = getBeginOfWeek(date, calendarType);\n var year = getYear(date) + 1;\n var dayInWeekOne;\n var beginOfFirstWeek;\n\n // Look for the first week one that does not come after a given date\n do {\n dayInWeekOne = new Date(year, 0, calendarTypeForWeekNumber === CALENDAR_TYPES.ISO_8601 ? 4 : 1);\n beginOfFirstWeek = getBeginOfWeek(dayInWeekOne, calendarType);\n year -= 1;\n } while (date < beginOfFirstWeek);\n return Math.round((beginOfWeek - beginOfFirstWeek) / (8.64e7 * 7)) + 1;\n}\n\n/**\n * Others\n */\n\n/**\n * Returns the beginning of a given range.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date Date.\n */\nexport function getBegin(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getCenturyStart(date);\n case 'decade':\n return getDecadeStart(date);\n case 'year':\n return getYearStart(date);\n case 'month':\n return getMonthStart(date);\n case 'day':\n return getDayStart(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\nexport function getBeginPrevious(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getPreviousCenturyStart(date);\n case 'decade':\n return getPreviousDecadeStart(date);\n case 'year':\n return getPreviousYearStart(date);\n case 'month':\n return getPreviousMonthStart(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\nexport function getBeginNext(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getNextCenturyStart(date);\n case 'decade':\n return getNextDecadeStart(date);\n case 'year':\n return getNextYearStart(date);\n case 'month':\n return getNextMonthStart(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\nexport var getBeginPrevious2 = function getBeginPrevious2(rangeType, date) {\n switch (rangeType) {\n case 'decade':\n return getPreviousDecadeStart(date, -100);\n case 'year':\n return getPreviousYearStart(date, -10);\n case 'month':\n return getPreviousMonthStart(date, -12);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n};\nexport var getBeginNext2 = function getBeginNext2(rangeType, date) {\n switch (rangeType) {\n case 'decade':\n return getNextDecadeStart(date, 100);\n case 'year':\n return getNextYearStart(date, 10);\n case 'month':\n return getNextMonthStart(date, 12);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n};\n\n/**\n * Returns the end of a given range.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date Date.\n */\nexport function getEnd(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getCenturyEnd(date);\n case 'decade':\n return getDecadeEnd(date);\n case 'year':\n return getYearEnd(date);\n case 'month':\n return getMonthEnd(date);\n case 'day':\n return getDayEnd(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\nexport function getEndPrevious(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getPreviousCenturyEnd(date);\n case 'decade':\n return getPreviousDecadeEnd(date);\n case 'year':\n return getPreviousYearEnd(date);\n case 'month':\n return getPreviousMonthEnd(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\nexport var getEndPrevious2 = function getEndPrevious2(rangeType, date) {\n switch (rangeType) {\n case 'decade':\n return getPreviousDecadeEnd(date, -100);\n case 'year':\n return getPreviousYearEnd(date, -10);\n case 'month':\n return getPreviousMonthEnd(date, -12);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n};\n\n/**\n * Returns an array with the beginning and the end of a given range.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date Date.\n */\nexport function getRange(rangeType, date) {\n switch (rangeType) {\n case 'century':\n return getCenturyRange(date);\n case 'decade':\n return getDecadeRange(date);\n case 'year':\n return getYearRange(date);\n case 'month':\n return getMonthRange(date);\n case 'day':\n return getDayRange(date);\n default:\n throw new Error(\"Invalid rangeType: \".concat(rangeType));\n }\n}\n\n/**\n * Creates a range out of two values, ensuring they are in order and covering entire period ranges.\n *\n * @param {string} rangeType Range type (e.g. 'day')\n * @param {Date} date1 First date.\n * @param {Date} date2 Second date.\n */\nexport function getValueRange(rangeType, date1, date2) {\n var rawNextValue = [date1, date2].sort(function (a, b) {\n return a - b;\n });\n return [getBegin(rangeType, rawNextValue[0]), getEnd(rangeType, rawNextValue[1])];\n}\nfunction toYearLabel(locale) {\n var formatYear = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultFormatYear;\n var dates = arguments.length > 2 ? arguments[2] : undefined;\n return dates.map(function (date) {\n return formatYear(locale, date);\n }).join(' – ');\n}\n\n/**\n * Returns a string labelling a century of a given date.\n * For example, for 2017 it will return 2001-2100.\n *\n * @param {Date|String|Number} date Date or a year as a string or as a number.\n */\nexport function getCenturyLabel(locale, formatYear, date) {\n return toYearLabel(locale, formatYear, getCenturyRange(date));\n}\n\n/**\n * Returns a string labelling a century of a given date.\n * For example, for 2017 it will return 2011-2020.\n *\n * @param {Date|String|Number} date Date or a year as a string or as a number.\n */\nexport function getDecadeLabel(locale, formatYear, date) {\n return toYearLabel(locale, formatYear, getDecadeRange(date));\n}\n\n/**\n * Returns a boolean determining whether a given date is on Saturday or Sunday.\n *\n * @param {Date} date Date.\n */\nexport function isWeekend(date) {\n var calendarType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : CALENDAR_TYPES.ISO_8601;\n var weekday = date.getDay();\n switch (calendarType) {\n case CALENDAR_TYPES.ARABIC:\n case CALENDAR_TYPES.HEBREW:\n return weekday === FRIDAY || weekday === SATURDAY;\n case CALENDAR_TYPES.ISO_8601:\n case CALENDAR_TYPES.US:\n return weekday === SATURDAY || weekday === SUNDAY;\n default:\n throw new Error('Unsupported calendar type.');\n }\n}","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nimport PropTypes from 'prop-types';\nimport { CALENDAR_TYPES } from './const';\nvar calendarTypes = Object.values(CALENDAR_TYPES);\nvar allViews = ['century', 'decade', 'year', 'month'];\nexport var isCalendarType = PropTypes.oneOf(calendarTypes);\nexport var isClassName = PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]);\nexport var isMinDate = function isMinDate(props, propName, componentName) {\n var minDate = props[propName];\n if (!minDate) {\n return null;\n }\n if (!(minDate instanceof Date)) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(minDate), \"` supplied to `\").concat(componentName, \"`, expected instance of `Date`.\"));\n }\n var maxDate = props.maxDate;\n if (maxDate && minDate > maxDate) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(minDate), \"` supplied to `\").concat(componentName, \"`, minDate cannot be larger than maxDate.\"));\n }\n return null;\n};\nexport var isMaxDate = function isMaxDate(props, propName, componentName) {\n var maxDate = props[propName];\n if (!maxDate) {\n return null;\n }\n if (!(maxDate instanceof Date)) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(maxDate), \"` supplied to `\").concat(componentName, \"`, expected instance of `Date`.\"));\n }\n var minDate = props.minDate;\n if (minDate && maxDate < minDate) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(maxDate), \"` supplied to `\").concat(componentName, \"`, maxDate cannot be smaller than minDate.\"));\n }\n return null;\n};\nexport var isRef = PropTypes.oneOfType([PropTypes.func, PropTypes.shape({\n current: PropTypes.any\n})]);\nexport var isValue = PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.arrayOf(PropTypes.instanceOf(Date))]);\nexport var isViews = PropTypes.arrayOf(PropTypes.oneOf(allViews));\nexport var isView = function isView(props, propName, componentName) {\n var view = props[propName];\n var views = props.views;\n var allowedViews = views || allViews;\n if (view !== undefined && allowedViews.indexOf(view) === -1) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of value `\").concat(view, \"` supplied to `\").concat(componentName, \"`, expected one of [\").concat(allowedViews.map(function (a) {\n return \"\\\"\".concat(a, \"\\\"\");\n }).join(', '), \"].\"));\n }\n\n // Everything is fine\n return null;\n};\nisView.isRequired = function (props, propName, componentName) {\n var view = props[propName];\n if (!view) {\n return new Error(\"The prop `\".concat(propName, \"` is marked as required in `\").concat(componentName, \"`, but its value is `\").concat(view, \"`.\"));\n }\n return isView(props, propName, componentName);\n};\nexport var tileGroupProps = {\n activeStartDate: PropTypes.instanceOf(Date).isRequired,\n hover: PropTypes.instanceOf(Date),\n locale: PropTypes.string,\n maxDate: isMaxDate,\n minDate: isMinDate,\n onClick: PropTypes.func,\n onMouseOver: PropTypes.func,\n tileClassName: PropTypes.oneOfType([PropTypes.func, isClassName]),\n tileContent: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n value: isValue,\n valueType: PropTypes.string\n};\nexport var tileProps = {\n activeStartDate: PropTypes.instanceOf(Date).isRequired,\n classes: PropTypes.arrayOf(PropTypes.string).isRequired,\n date: PropTypes.instanceOf(Date).isRequired,\n locale: PropTypes.string,\n maxDate: isMaxDate,\n minDate: isMinDate,\n onClick: PropTypes.func,\n onMouseOver: PropTypes.func,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n tileClassName: PropTypes.oneOfType([PropTypes.func, isClassName]),\n tileContent: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n tileDisabled: PropTypes.func\n};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getUserLocale } from 'get-user-locale';\nimport { getCenturyLabel, getDecadeLabel, getBeginNext, getBeginNext2, getBeginPrevious, getBeginPrevious2, getEndPrevious, getEndPrevious2 } from '../shared/dates';\nimport { formatMonthYear as defaultFormatMonthYear, formatYear as defaultFormatYear } from '../shared/dateFormatter';\nimport { isView, isViews } from '../shared/propTypes';\nvar className = 'react-calendar__navigation';\nexport default function Navigation(_ref) {\n var activeStartDate = _ref.activeStartDate,\n drillUp = _ref.drillUp,\n _ref$formatMonthYear = _ref.formatMonthYear,\n formatMonthYear = _ref$formatMonthYear === void 0 ? defaultFormatMonthYear : _ref$formatMonthYear,\n _ref$formatYear = _ref.formatYear,\n formatYear = _ref$formatYear === void 0 ? defaultFormatYear : _ref$formatYear,\n locale = _ref.locale,\n maxDate = _ref.maxDate,\n minDate = _ref.minDate,\n _ref$navigationAriaLa = _ref.navigationAriaLabel,\n navigationAriaLabel = _ref$navigationAriaLa === void 0 ? '' : _ref$navigationAriaLa,\n navigationAriaLive = _ref.navigationAriaLive,\n navigationLabel = _ref.navigationLabel,\n _ref$next2AriaLabel = _ref.next2AriaLabel,\n next2AriaLabel = _ref$next2AriaLabel === void 0 ? '' : _ref$next2AriaLabel,\n _ref$next2Label = _ref.next2Label,\n next2Label = _ref$next2Label === void 0 ? '»' : _ref$next2Label,\n _ref$nextAriaLabel = _ref.nextAriaLabel,\n nextAriaLabel = _ref$nextAriaLabel === void 0 ? '' : _ref$nextAriaLabel,\n _ref$nextLabel = _ref.nextLabel,\n nextLabel = _ref$nextLabel === void 0 ? '›' : _ref$nextLabel,\n _ref$prev2AriaLabel = _ref.prev2AriaLabel,\n prev2AriaLabel = _ref$prev2AriaLabel === void 0 ? '' : _ref$prev2AriaLabel,\n _ref$prev2Label = _ref.prev2Label,\n prev2Label = _ref$prev2Label === void 0 ? '«' : _ref$prev2Label,\n _ref$prevAriaLabel = _ref.prevAriaLabel,\n prevAriaLabel = _ref$prevAriaLabel === void 0 ? '' : _ref$prevAriaLabel,\n _ref$prevLabel = _ref.prevLabel,\n prevLabel = _ref$prevLabel === void 0 ? '‹' : _ref$prevLabel,\n setActiveStartDate = _ref.setActiveStartDate,\n showDoubleView = _ref.showDoubleView,\n view = _ref.view,\n views = _ref.views;\n var drillUpAvailable = views.indexOf(view) > 0;\n var shouldShowPrevNext2Buttons = view !== 'century';\n var previousActiveStartDate = getBeginPrevious(view, activeStartDate);\n var previousActiveStartDate2 = shouldShowPrevNext2Buttons && getBeginPrevious2(view, activeStartDate);\n var nextActiveStartDate = getBeginNext(view, activeStartDate);\n var nextActiveStartDate2 = shouldShowPrevNext2Buttons && getBeginNext2(view, activeStartDate);\n var prevButtonDisabled = function () {\n if (previousActiveStartDate.getFullYear() < 0) {\n return true;\n }\n var previousActiveEndDate = getEndPrevious(view, activeStartDate);\n return minDate && minDate >= previousActiveEndDate;\n }();\n var prev2ButtonDisabled = shouldShowPrevNext2Buttons && function () {\n if (previousActiveStartDate2.getFullYear() < 0) {\n return true;\n }\n var previousActiveEndDate = getEndPrevious2(view, activeStartDate);\n return minDate && minDate >= previousActiveEndDate;\n }();\n var nextButtonDisabled = maxDate && maxDate < nextActiveStartDate;\n var next2ButtonDisabled = shouldShowPrevNext2Buttons && maxDate && maxDate < nextActiveStartDate2;\n function onClickPrevious() {\n setActiveStartDate(previousActiveStartDate, 'prev');\n }\n function onClickPrevious2() {\n setActiveStartDate(previousActiveStartDate2, 'prev2');\n }\n function onClickNext() {\n setActiveStartDate(nextActiveStartDate, 'next');\n }\n function onClickNext2() {\n setActiveStartDate(nextActiveStartDate2, 'next2');\n }\n function renderLabel(date) {\n var label = function () {\n switch (view) {\n case 'century':\n return getCenturyLabel(locale, formatYear, date);\n case 'decade':\n return getDecadeLabel(locale, formatYear, date);\n case 'year':\n return formatYear(locale, date);\n case 'month':\n return formatMonthYear(locale, date);\n default:\n throw new Error(\"Invalid view: \".concat(view, \".\"));\n }\n }();\n return navigationLabel ? navigationLabel({\n date: date,\n label: label,\n locale: locale || getUserLocale(),\n view: view\n }) : label;\n }\n function renderButton() {\n var labelClassName = \"\".concat(className, \"__label\");\n return /*#__PURE__*/React.createElement(\"button\", {\n \"aria-label\": navigationAriaLabel,\n \"aria-live\": navigationAriaLive,\n className: labelClassName,\n disabled: !drillUpAvailable,\n onClick: drillUp,\n style: {\n flexGrow: 1\n },\n type: \"button\"\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(labelClassName, \"__labelText \").concat(labelClassName, \"__labelText--from\")\n }, renderLabel(activeStartDate)), showDoubleView && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(labelClassName, \"__divider\")\n }, \" \\u2013 \"), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(labelClassName, \"__labelText \").concat(labelClassName, \"__labelText--to\")\n }, renderLabel(nextActiveStartDate))));\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, prev2Label !== null && shouldShowPrevNext2Buttons && /*#__PURE__*/React.createElement(\"button\", {\n \"aria-label\": prev2AriaLabel,\n className: \"\".concat(className, \"__arrow \").concat(className, \"__prev2-button\"),\n disabled: prev2ButtonDisabled,\n onClick: onClickPrevious2,\n type: \"button\"\n }, prev2Label), prevLabel !== null && /*#__PURE__*/React.createElement(\"button\", {\n \"aria-label\": prevAriaLabel,\n className: \"\".concat(className, \"__arrow \").concat(className, \"__prev-button\"),\n disabled: prevButtonDisabled,\n onClick: onClickPrevious,\n type: \"button\"\n }, prevLabel), renderButton(), nextLabel !== null && /*#__PURE__*/React.createElement(\"button\", {\n \"aria-label\": nextAriaLabel,\n className: \"\".concat(className, \"__arrow \").concat(className, \"__next-button\"),\n disabled: nextButtonDisabled,\n onClick: onClickNext,\n type: \"button\"\n }, nextLabel), next2Label !== null && shouldShowPrevNext2Buttons && /*#__PURE__*/React.createElement(\"button\", {\n \"aria-label\": next2AriaLabel,\n className: \"\".concat(className, \"__arrow \").concat(className, \"__next2-button\"),\n disabled: next2ButtonDisabled,\n onClick: onClickNext2,\n type: \"button\"\n }, next2Label));\n}\nNavigation.propTypes = {\n activeStartDate: PropTypes.instanceOf(Date).isRequired,\n drillUp: PropTypes.func.isRequired,\n formatMonthYear: PropTypes.func,\n formatYear: PropTypes.func,\n locale: PropTypes.string,\n maxDate: PropTypes.instanceOf(Date),\n minDate: PropTypes.instanceOf(Date),\n navigationAriaLabel: PropTypes.string,\n navigationAriaLive: PropTypes.string,\n navigationLabel: PropTypes.func,\n next2AriaLabel: PropTypes.string,\n next2Label: PropTypes.node,\n nextAriaLabel: PropTypes.string,\n nextLabel: PropTypes.node,\n prev2AriaLabel: PropTypes.string,\n prev2Label: PropTypes.node,\n prevAriaLabel: PropTypes.string,\n prevLabel: PropTypes.node,\n setActiveStartDate: PropTypes.func.isRequired,\n showDoubleView: PropTypes.bool,\n view: isView.isRequired,\n views: isViews.isRequired\n};","var _excluded = [\"children\", \"className\", \"direction\", \"count\", \"offset\", \"style\", \"wrap\"];\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nfunction toPercent(num) {\n return \"\".concat(num, \"%\");\n}\nexport default function Flex(_ref) {\n var children = _ref.children,\n className = _ref.className,\n direction = _ref.direction,\n count = _ref.count,\n offset = _ref.offset,\n style = _ref.style,\n wrap = _ref.wrap,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: className,\n style: _objectSpread({\n display: 'flex',\n flexDirection: direction,\n flexWrap: wrap ? 'wrap' : 'no-wrap'\n }, style)\n }, otherProps), React.Children.map(children, function (child, index) {\n return /*#__PURE__*/React.cloneElement(child, _objectSpread(_objectSpread({}, child.props), {}, {\n style: {\n flexBasis: toPercent(100 / count),\n flexShrink: 0,\n flexGrow: 0,\n overflow: 'hidden',\n marginLeft: offset && index === 0 ? toPercent(100 * offset / count) : null\n }\n }));\n }));\n}\nFlex.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n count: PropTypes.number.isRequired,\n direction: PropTypes.string,\n offset: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n wrap: PropTypes.bool\n};","function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nimport { getRange } from './dates';\n\n/**\n * Returns a value no smaller than min and no larger than max.\n *\n * @param {*} value Value to return.\n * @param {*} min Minimum return value.\n * @param {*} max Maximum return value.\n */\nexport function between(value, min, max) {\n if (min && min > value) {\n return min;\n }\n if (max && max < value) {\n return max;\n }\n return value;\n}\nexport function isValueWithinRange(value, range) {\n return range[0] <= value && range[1] >= value;\n}\nexport function isRangeWithinRange(greaterRange, smallerRange) {\n return greaterRange[0] <= smallerRange[0] && greaterRange[1] >= smallerRange[1];\n}\nexport function doRangesOverlap(range1, range2) {\n return isValueWithinRange(range1[0], range2) || isValueWithinRange(range1[1], range2);\n}\nfunction getRangeClassNames(valueRange, dateRange, baseClassName) {\n var isRange = doRangesOverlap(dateRange, valueRange);\n var classes = [];\n if (isRange) {\n classes.push(baseClassName);\n var isRangeStart = isValueWithinRange(valueRange[0], dateRange);\n var isRangeEnd = isValueWithinRange(valueRange[1], dateRange);\n if (isRangeStart) {\n classes.push(\"\".concat(baseClassName, \"Start\"));\n }\n if (isRangeEnd) {\n classes.push(\"\".concat(baseClassName, \"End\"));\n }\n if (isRangeStart && isRangeEnd) {\n classes.push(\"\".concat(baseClassName, \"BothEnds\"));\n }\n }\n return classes;\n}\nexport function getTileClasses() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n value = _ref.value,\n valueType = _ref.valueType,\n date = _ref.date,\n dateType = _ref.dateType,\n hover = _ref.hover;\n var className = 'react-calendar__tile';\n var classes = [className];\n if (!date) {\n return classes;\n }\n if (!Array.isArray(date) && !dateType) {\n throw new Error('getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.');\n }\n var now = new Date();\n var dateRange = Array.isArray(date) ? date : getRange(dateType, date);\n if (isValueWithinRange(now, dateRange)) {\n classes.push(\"\".concat(className, \"--now\"));\n }\n if (!value) {\n return classes;\n }\n if (!Array.isArray(value) && !valueType) {\n throw new Error('getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.');\n }\n var valueRange = Array.isArray(value) ? value : getRange(valueType, value);\n if (isRangeWithinRange(valueRange, dateRange)) {\n classes.push(\"\".concat(className, \"--active\"));\n } else if (doRangesOverlap(valueRange, dateRange)) {\n classes.push(\"\".concat(className, \"--hasActive\"));\n }\n var valueRangeClassNames = getRangeClassNames(valueRange, dateRange, \"\".concat(className, \"--range\"));\n classes.push.apply(classes, _toConsumableArray(valueRangeClassNames));\n var valueArray = [].concat(value);\n if (hover && valueArray.length === 1) {\n var hoverRange = hover > valueRange[0] ? [valueRange[0], hover] : [hover, valueRange[0]];\n var hoverRangeClassNames = getRangeClassNames(hoverRange, dateRange, \"\".concat(className, \"--hover\"));\n classes.push.apply(classes, _toConsumableArray(hoverRangeClassNames));\n }\n return classes;\n}","var _excluded = [\"className\", \"count\", \"dateTransform\", \"dateType\", \"end\", \"hover\", \"offset\", \"start\", \"step\", \"tile\", \"value\", \"valueType\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport Flex from './Flex';\nimport { getTileClasses } from './shared/utils';\nimport { tileGroupProps } from './shared/propTypes';\nexport default function TileGroup(_ref) {\n var className = _ref.className,\n _ref$count = _ref.count,\n count = _ref$count === void 0 ? 3 : _ref$count,\n dateTransform = _ref.dateTransform,\n dateType = _ref.dateType,\n end = _ref.end,\n hover = _ref.hover,\n offset = _ref.offset,\n start = _ref.start,\n _ref$step = _ref.step,\n step = _ref$step === void 0 ? 1 : _ref$step,\n Tile = _ref.tile,\n value = _ref.value,\n valueType = _ref.valueType,\n tileProps = _objectWithoutProperties(_ref, _excluded);\n var tiles = [];\n for (var point = start; point <= end; point += step) {\n var date = dateTransform(point);\n tiles.push( /*#__PURE__*/React.createElement(Tile, _extends({\n key: date.getTime(),\n classes: getTileClasses({\n value: value,\n valueType: valueType,\n date: date,\n dateType: dateType,\n hover: hover\n }),\n date: date,\n point: point\n }, tileProps)));\n }\n return /*#__PURE__*/React.createElement(Flex, {\n className: className,\n count: count,\n offset: offset,\n wrap: true\n }, tiles);\n}\nTileGroup.propTypes = _objectSpread(_objectSpread({}, tileGroupProps), {}, {\n activeStartDate: PropTypes.instanceOf(Date),\n count: PropTypes.number,\n dateTransform: PropTypes.func.isRequired,\n dateType: PropTypes.string,\n offset: PropTypes.number,\n step: PropTypes.number,\n tile: PropTypes.func.isRequired\n});","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { tileProps } from './shared/propTypes';\nfunction datesAreDifferent(date1, date2) {\n return date1 && !date2 || !date1 && date2 || date1 && date2 && date1.getTime() !== date2.getTime();\n}\nfunction getValue(nextProps, prop) {\n var activeStartDate = nextProps.activeStartDate,\n date = nextProps.date,\n view = nextProps.view;\n return typeof prop === 'function' ? prop({\n activeStartDate: activeStartDate,\n date: date,\n view: view\n }) : prop;\n}\nvar Tile = /*#__PURE__*/function (_Component) {\n _inherits(Tile, _Component);\n var _super = _createSuper(Tile);\n function Tile() {\n var _this;\n _classCallCheck(this, Tile);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {});\n return _this;\n }\n _createClass(Tile, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n activeStartDate = _this$props.activeStartDate,\n children = _this$props.children,\n classes = _this$props.classes,\n date = _this$props.date,\n formatAbbr = _this$props.formatAbbr,\n locale = _this$props.locale,\n maxDate = _this$props.maxDate,\n maxDateTransform = _this$props.maxDateTransform,\n minDate = _this$props.minDate,\n minDateTransform = _this$props.minDateTransform,\n onClick = _this$props.onClick,\n onMouseOver = _this$props.onMouseOver,\n style = _this$props.style,\n tileDisabled = _this$props.tileDisabled,\n view = _this$props.view;\n var _this$state = this.state,\n tileClassName = _this$state.tileClassName,\n tileContent = _this$state.tileContent;\n return /*#__PURE__*/React.createElement(\"button\", {\n className: clsx(classes, tileClassName),\n disabled: minDate && minDateTransform(minDate) > date || maxDate && maxDateTransform(maxDate) < date || tileDisabled && tileDisabled({\n activeStartDate: activeStartDate,\n date: date,\n view: view\n }),\n onClick: onClick && function (event) {\n return onClick(date, event);\n },\n onFocus: onMouseOver && function () {\n return onMouseOver(date);\n },\n onMouseOver: onMouseOver && function () {\n return onMouseOver(date);\n },\n style: style,\n type: \"button\"\n }, formatAbbr ? /*#__PURE__*/React.createElement(\"abbr\", {\n \"aria-label\": formatAbbr(locale, date)\n }, children) : children, tileContent);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n var activeStartDate = nextProps.activeStartDate,\n tileClassName = nextProps.tileClassName,\n tileContent = nextProps.tileContent;\n var nextState = {};\n if (tileClassName !== prevState.tileClassNameProps || datesAreDifferent(activeStartDate, prevState.activeStartDateProps)) {\n nextState.tileClassName = getValue(nextProps, tileClassName);\n nextState.tileClassNameProps = tileClassName;\n }\n if (tileContent !== prevState.tileContentProps || datesAreDifferent(activeStartDate, prevState.activeStartDateProps)) {\n nextState.tileContent = getValue(nextProps, tileContent);\n nextState.tileContentProps = tileContent;\n }\n nextState.activeStartDateProps = activeStartDate;\n return nextState;\n }\n }]);\n return Tile;\n}(Component);\nexport { Tile as default };\nTile.propTypes = _objectSpread(_objectSpread({}, tileProps), {}, {\n children: PropTypes.node.isRequired,\n formatAbbr: PropTypes.func,\n maxDateTransform: PropTypes.func.isRequired,\n minDateTransform: PropTypes.func.isRequired\n});","var _excluded = [\"classes\", \"formatYear\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getDecadeStart, getDecadeEnd } from '@wojtekmaj/date-utils';\nimport Tile from '../Tile';\nimport { getDecadeLabel } from '../shared/dates';\nimport { formatYear as defaultFormatYear } from '../shared/dateFormatter';\nimport { tileProps } from '../shared/propTypes';\nvar className = 'react-calendar__century-view__decades__decade';\nexport default function Decade(_ref) {\n var classes = _ref.classes,\n _ref$formatYear = _ref.formatYear,\n formatYear = _ref$formatYear === void 0 ? defaultFormatYear : _ref$formatYear,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var date = otherProps.date,\n locale = otherProps.locale;\n return /*#__PURE__*/React.createElement(Tile, _extends({}, otherProps, {\n classes: [].concat(classes, className),\n maxDateTransform: getDecadeEnd,\n minDateTransform: getDecadeStart,\n view: \"century\"\n }), getDecadeLabel(locale, formatYear, date));\n}\nDecade.propTypes = _objectSpread(_objectSpread({}, tileProps), {}, {\n formatYear: PropTypes.func\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nimport React from 'react';\nimport { getDecadeStart } from '@wojtekmaj/date-utils';\nimport TileGroup from '../TileGroup';\nimport Decade from './Decade';\nimport { getBeginOfCenturyYear } from '../shared/dates';\nimport { tileGroupProps } from '../shared/propTypes';\nexport default function Decades(props) {\n var activeStartDate = props.activeStartDate;\n var start = getBeginOfCenturyYear(activeStartDate);\n var end = start + 99;\n return /*#__PURE__*/React.createElement(TileGroup, _extends({}, props, {\n className: \"react-calendar__century-view__decades\",\n dateTransform: getDecadeStart,\n dateType: \"decade\",\n end: end,\n start: start,\n step: 10,\n tile: Decade\n }));\n}\nDecades.propTypes = _objectSpread({}, tileGroupProps);","import React from 'react';\nimport Decades from './CenturyView/Decades';\nexport default function CenturyView(props) {\n function renderDecades() {\n return /*#__PURE__*/React.createElement(Decades, props);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"react-calendar__century-view\"\n }, renderDecades());\n}","var _excluded = [\"classes\", \"formatYear\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getYearStart, getYearEnd } from '@wojtekmaj/date-utils';\nimport Tile from '../Tile';\nimport { formatYear as defaultFormatYear } from '../shared/dateFormatter';\nimport { tileProps } from '../shared/propTypes';\nvar className = 'react-calendar__decade-view__years__year';\nexport default function Year(_ref) {\n var classes = _ref.classes,\n _ref$formatYear = _ref.formatYear,\n formatYear = _ref$formatYear === void 0 ? defaultFormatYear : _ref$formatYear,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var date = otherProps.date,\n locale = otherProps.locale;\n return /*#__PURE__*/React.createElement(Tile, _extends({}, otherProps, {\n classes: [].concat(classes, className),\n maxDateTransform: getYearEnd,\n minDateTransform: getYearStart,\n view: \"decade\"\n }), formatYear(locale, date));\n}\nYear.propTypes = _objectSpread(_objectSpread({}, tileProps), {}, {\n formatYear: PropTypes.func\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nimport React from 'react';\nimport TileGroup from '../TileGroup';\nimport Year from './Year';\nimport { getBeginOfDecadeYear } from '../shared/dates';\nimport { tileGroupProps } from '../shared/propTypes';\nexport default function Years(props) {\n var activeStartDate = props.activeStartDate;\n var start = getBeginOfDecadeYear(activeStartDate);\n var end = start + 9;\n return /*#__PURE__*/React.createElement(TileGroup, _extends({}, props, {\n className: \"react-calendar__decade-view__years\",\n dateTransform: function dateTransform(year) {\n var date = new Date();\n date.setFullYear(year, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n },\n dateType: \"year\",\n end: end,\n start: start,\n tile: Year\n }));\n}\nYears.propTypes = _objectSpread({}, tileGroupProps);","import React from 'react';\nimport Years from './DecadeView/Years';\nexport default function DecadeView(props) {\n function renderYears() {\n return /*#__PURE__*/React.createElement(Years, props);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"react-calendar__decade-view\"\n }, renderYears());\n}","var _excluded = [\"classes\", \"formatMonth\", \"formatMonthYear\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getMonthStart, getMonthEnd } from '@wojtekmaj/date-utils';\nimport Tile from '../Tile';\nimport { formatMonth as defaultFormatMonth, formatMonthYear as defaultFormatMonthYear } from '../shared/dateFormatter';\nimport { tileProps } from '../shared/propTypes';\nvar className = 'react-calendar__year-view__months__month';\nexport default function Month(_ref) {\n var classes = _ref.classes,\n _ref$formatMonth = _ref.formatMonth,\n formatMonth = _ref$formatMonth === void 0 ? defaultFormatMonth : _ref$formatMonth,\n _ref$formatMonthYear = _ref.formatMonthYear,\n formatMonthYear = _ref$formatMonthYear === void 0 ? defaultFormatMonthYear : _ref$formatMonthYear,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var date = otherProps.date,\n locale = otherProps.locale;\n return /*#__PURE__*/React.createElement(Tile, _extends({}, otherProps, {\n classes: [].concat(classes, className),\n formatAbbr: formatMonthYear,\n maxDateTransform: getMonthEnd,\n minDateTransform: getMonthStart,\n view: \"year\"\n }), formatMonth(locale, date));\n}\nMonth.propTypes = _objectSpread(_objectSpread({}, tileProps), {}, {\n formatMonth: PropTypes.func,\n formatMonthYear: PropTypes.func\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getYear } from '@wojtekmaj/date-utils';\nimport TileGroup from '../TileGroup';\nimport Month from './Month';\nimport { tileGroupProps } from '../shared/propTypes';\nexport default function Months(props) {\n var activeStartDate = props.activeStartDate;\n var start = 0;\n var end = 11;\n var year = getYear(activeStartDate);\n return /*#__PURE__*/React.createElement(TileGroup, _extends({}, props, {\n className: \"react-calendar__year-view__months\",\n dateTransform: function dateTransform(monthIndex) {\n var date = new Date();\n date.setFullYear(year, monthIndex, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n },\n dateType: \"month\",\n end: end,\n start: start,\n tile: Month\n }));\n}\nMonths.propTypes = _objectSpread(_objectSpread({}, tileGroupProps), {}, {\n locale: PropTypes.string\n});","import React from 'react';\nimport Months from './YearView/Months';\nexport default function YearView(props) {\n function renderMonths() {\n return /*#__PURE__*/React.createElement(Months, props);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"react-calendar__year-view\"\n }, renderMonths());\n}","var _excluded = [\"formatDay\", \"formatLongDate\", \"calendarType\", \"classes\", \"currentMonthIndex\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getDayStart, getDayEnd } from '@wojtekmaj/date-utils';\nimport Tile from '../Tile';\nimport { isWeekend } from '../shared/dates';\nimport { formatDay as defaultFormatDay, formatLongDate as defaultFormatLongDate } from '../shared/dateFormatter';\nimport { tileProps } from '../shared/propTypes';\nvar className = 'react-calendar__month-view__days__day';\nexport default function Day(_ref) {\n var _ref$formatDay = _ref.formatDay,\n formatDay = _ref$formatDay === void 0 ? defaultFormatDay : _ref$formatDay,\n _ref$formatLongDate = _ref.formatLongDate,\n formatLongDate = _ref$formatLongDate === void 0 ? defaultFormatLongDate : _ref$formatLongDate,\n calendarType = _ref.calendarType,\n classes = _ref.classes,\n currentMonthIndex = _ref.currentMonthIndex,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var date = otherProps.date,\n locale = otherProps.locale;\n return /*#__PURE__*/React.createElement(Tile, _extends({}, otherProps, {\n classes: [].concat(classes, className, isWeekend(date, calendarType) ? \"\".concat(className, \"--weekend\") : null, date.getMonth() !== currentMonthIndex ? \"\".concat(className, \"--neighboringMonth\") : null),\n formatAbbr: formatLongDate,\n maxDateTransform: getDayEnd,\n minDateTransform: getDayStart,\n view: \"month\"\n }), formatDay(locale, date));\n}\nDay.propTypes = _objectSpread(_objectSpread({}, tileProps), {}, {\n currentMonthIndex: PropTypes.number.isRequired,\n formatDay: PropTypes.func,\n formatLongDate: PropTypes.func\n});","var _excluded = [\"showFixedNumberOfWeeks\", \"showNeighboringMonth\"];\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { getYear, getMonth, getDaysInMonth } from '@wojtekmaj/date-utils';\nimport TileGroup from '../TileGroup';\nimport Day from './Day';\nimport { getDayOfWeek } from '../shared/dates';\nimport { isCalendarType, tileGroupProps } from '../shared/propTypes';\nexport default function Days(props) {\n var activeStartDate = props.activeStartDate,\n calendarType = props.calendarType;\n var showFixedNumberOfWeeks = props.showFixedNumberOfWeeks,\n showNeighboringMonth = props.showNeighboringMonth,\n otherProps = _objectWithoutProperties(props, _excluded);\n var year = getYear(activeStartDate);\n var monthIndex = getMonth(activeStartDate);\n var hasFixedNumberOfWeeks = showFixedNumberOfWeeks || showNeighboringMonth;\n var dayOfWeek = getDayOfWeek(activeStartDate, calendarType);\n var offset = hasFixedNumberOfWeeks ? 0 : dayOfWeek;\n\n /**\n * Defines on which day of the month the grid shall start. If we simply show current\n * month, we obviously start on day one, but if showNeighboringMonth is set to\n * true, we need to find the beginning of the week the first day of the month is in.\n */\n var start = (hasFixedNumberOfWeeks ? -dayOfWeek : 0) + 1;\n\n /**\n * Defines on which day of the month the grid shall end. If we simply show current\n * month, we need to stop on the last day of the month, but if showNeighboringMonth\n * is set to true, we need to find the end of the week the last day of the month is in.\n */\n var end = function () {\n if (showFixedNumberOfWeeks) {\n // Always show 6 weeks\n return start + 6 * 7 - 1;\n }\n var daysInMonth = getDaysInMonth(activeStartDate);\n if (showNeighboringMonth) {\n var activeEndDate = new Date();\n activeEndDate.setFullYear(year, monthIndex, daysInMonth);\n activeEndDate.setHours(0, 0, 0, 0);\n var daysUntilEndOfTheWeek = 7 - getDayOfWeek(activeEndDate, calendarType) - 1;\n return daysInMonth + daysUntilEndOfTheWeek;\n }\n return daysInMonth;\n }();\n return /*#__PURE__*/React.createElement(TileGroup, _extends({}, otherProps, {\n className: \"react-calendar__month-view__days\",\n count: 7,\n currentMonthIndex: monthIndex,\n dateTransform: function dateTransform(day) {\n var date = new Date();\n date.setFullYear(year, monthIndex, day);\n date.setHours(0, 0, 0, 0);\n return date;\n },\n dateType: \"day\",\n end: end,\n offset: offset,\n start: start,\n tile: Day\n }));\n}\nDays.propTypes = _objectSpread({\n calendarType: isCalendarType.isRequired,\n showFixedNumberOfWeeks: PropTypes.bool,\n showNeighboringMonth: PropTypes.bool\n}, tileGroupProps);","import React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { getYear, getMonth, getMonthStart } from '@wojtekmaj/date-utils';\nimport Flex from '../Flex';\nimport { getDayOfWeek, isWeekend } from '../shared/dates';\nimport { formatShortWeekday as defaultFormatShortWeekday, formatWeekday as defaultFormatWeekday } from '../shared/dateFormatter';\nimport { isCalendarType } from '../shared/propTypes';\nvar className = 'react-calendar__month-view__weekdays';\nvar weekdayClassName = \"\".concat(className, \"__weekday\");\nexport default function Weekdays(props) {\n var calendarType = props.calendarType,\n _props$formatShortWee = props.formatShortWeekday,\n formatShortWeekday = _props$formatShortWee === void 0 ? defaultFormatShortWeekday : _props$formatShortWee,\n _props$formatWeekday = props.formatWeekday,\n formatWeekday = _props$formatWeekday === void 0 ? defaultFormatWeekday : _props$formatWeekday,\n locale = props.locale,\n onMouseLeave = props.onMouseLeave;\n var anyDate = new Date();\n var beginOfMonth = getMonthStart(anyDate);\n var year = getYear(beginOfMonth);\n var monthIndex = getMonth(beginOfMonth);\n var weekdays = [];\n for (var weekday = 1; weekday <= 7; weekday += 1) {\n var weekdayDate = new Date(year, monthIndex, weekday - getDayOfWeek(beginOfMonth, calendarType));\n var abbr = formatWeekday(locale, weekdayDate);\n weekdays.push( /*#__PURE__*/React.createElement(\"div\", {\n key: weekday,\n className: clsx(weekdayClassName, isWeekend(weekdayDate, calendarType) && \"\".concat(weekdayClassName, \"--weekend\"))\n }, /*#__PURE__*/React.createElement(\"abbr\", {\n \"aria-label\": abbr,\n title: abbr\n }, formatShortWeekday(locale, weekdayDate).replace('.', ''))));\n }\n return /*#__PURE__*/React.createElement(Flex, {\n className: className,\n count: 7,\n onFocus: onMouseLeave,\n onMouseOver: onMouseLeave\n }, weekdays);\n}\nWeekdays.propTypes = {\n calendarType: isCalendarType.isRequired,\n formatShortWeekday: PropTypes.func,\n formatWeekday: PropTypes.func,\n locale: PropTypes.string,\n onMouseLeave: PropTypes.func\n};","var _excluded = [\"date\", \"onClickWeekNumber\", \"weekNumber\"];\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nvar className = 'react-calendar__tile';\nexport default function WeekNumber(_ref) {\n var date = _ref.date,\n onClickWeekNumber = _ref.onClickWeekNumber,\n weekNumber = _ref.weekNumber,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n var props = _objectSpread({\n className: className\n }, otherProps);\n var children = /*#__PURE__*/React.createElement(\"span\", null, weekNumber);\n return onClickWeekNumber ? /*#__PURE__*/React.createElement(\"button\", _extends({}, props, {\n onClick: function onClick(event) {\n return onClickWeekNumber(weekNumber, date, event);\n },\n type: \"button\"\n }), children) : /*#__PURE__*/React.createElement(\"div\", props, children);\n}\nWeekNumber.propTypes = {\n date: PropTypes.instanceOf(Date).isRequired,\n onClickWeekNumber: PropTypes.func,\n weekNumber: PropTypes.node.isRequired\n};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getYear, getMonth, getDate, getDaysInMonth } from '@wojtekmaj/date-utils';\nimport WeekNumber from './WeekNumber';\nimport Flex from '../Flex';\nimport { getBeginOfWeek, getDayOfWeek, getWeekNumber } from '../shared/dates';\nimport { isCalendarType } from '../shared/propTypes';\nexport default function WeekNumbers(props) {\n var activeStartDate = props.activeStartDate,\n calendarType = props.calendarType,\n onClickWeekNumber = props.onClickWeekNumber,\n onMouseLeave = props.onMouseLeave,\n showFixedNumberOfWeeks = props.showFixedNumberOfWeeks;\n var numberOfWeeks = function () {\n if (showFixedNumberOfWeeks) {\n return 6;\n }\n var numberOfDays = getDaysInMonth(activeStartDate);\n var startWeekday = getDayOfWeek(activeStartDate, calendarType);\n var days = numberOfDays - (7 - startWeekday);\n return 1 + Math.ceil(days / 7);\n }();\n var dates = function () {\n var year = getYear(activeStartDate);\n var monthIndex = getMonth(activeStartDate);\n var day = getDate(activeStartDate);\n var result = [];\n for (var index = 0; index < numberOfWeeks; index += 1) {\n result.push(getBeginOfWeek(new Date(year, monthIndex, day + index * 7), calendarType));\n }\n return result;\n }();\n var weekNumbers = dates.map(function (date) {\n return getWeekNumber(date, calendarType);\n });\n return /*#__PURE__*/React.createElement(Flex, {\n className: \"react-calendar__month-view__weekNumbers\",\n count: numberOfWeeks,\n direction: \"column\",\n onFocus: onMouseLeave,\n onMouseOver: onMouseLeave,\n style: {\n flexBasis: 'calc(100% * (1 / 8)',\n flexShrink: 0\n }\n }, weekNumbers.map(function (weekNumber, weekIndex) {\n return /*#__PURE__*/React.createElement(WeekNumber, {\n key: weekNumber,\n date: dates[weekIndex],\n onClickWeekNumber: onClickWeekNumber,\n weekNumber: weekNumber\n });\n }));\n}\nWeekNumbers.propTypes = {\n activeStartDate: PropTypes.instanceOf(Date).isRequired,\n calendarType: isCalendarType.isRequired,\n onClickWeekNumber: PropTypes.func,\n onMouseLeave: PropTypes.func,\n showFixedNumberOfWeeks: PropTypes.bool\n};","var _excluded = [\"calendarType\", \"formatShortWeekday\", \"formatWeekday\", \"onClickWeekNumber\", \"showWeekNumbers\"];\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Days from './MonthView/Days';\nimport Weekdays from './MonthView/Weekdays';\nimport WeekNumbers from './MonthView/WeekNumbers';\nimport { CALENDAR_TYPES, CALENDAR_TYPE_LOCALES } from './shared/const';\nimport { isCalendarType } from './shared/propTypes';\nfunction getCalendarTypeFromLocale(locale) {\n return Object.keys(CALENDAR_TYPE_LOCALES).find(function (calendarType) {\n return CALENDAR_TYPE_LOCALES[calendarType].includes(locale);\n }) || CALENDAR_TYPES.ISO_8601;\n}\nexport default function MonthView(props) {\n var activeStartDate = props.activeStartDate,\n locale = props.locale,\n onMouseLeave = props.onMouseLeave,\n showFixedNumberOfWeeks = props.showFixedNumberOfWeeks;\n var _props$calendarType = props.calendarType,\n calendarType = _props$calendarType === void 0 ? getCalendarTypeFromLocale(locale) : _props$calendarType,\n formatShortWeekday = props.formatShortWeekday,\n formatWeekday = props.formatWeekday,\n onClickWeekNumber = props.onClickWeekNumber,\n showWeekNumbers = props.showWeekNumbers,\n childProps = _objectWithoutProperties(props, _excluded);\n function renderWeekdays() {\n return /*#__PURE__*/React.createElement(Weekdays, {\n calendarType: calendarType,\n formatShortWeekday: formatShortWeekday,\n formatWeekday: formatWeekday,\n locale: locale,\n onMouseLeave: onMouseLeave\n });\n }\n function renderWeekNumbers() {\n if (!showWeekNumbers) {\n return null;\n }\n return /*#__PURE__*/React.createElement(WeekNumbers, {\n activeStartDate: activeStartDate,\n calendarType: calendarType,\n onClickWeekNumber: onClickWeekNumber,\n onMouseLeave: onMouseLeave,\n showFixedNumberOfWeeks: showFixedNumberOfWeeks\n });\n }\n function renderDays() {\n return /*#__PURE__*/React.createElement(Days, _extends({\n calendarType: calendarType\n }, childProps));\n }\n var className = 'react-calendar__month-view';\n return /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(className, showWeekNumbers ? \"\".concat(className, \"--weekNumbers\") : '')\n }, /*#__PURE__*/React.createElement(\"div\", {\n style: {\n display: 'flex',\n alignItems: 'flex-end'\n }\n }, renderWeekNumbers(), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n flexGrow: 1,\n width: '100%'\n }\n }, renderWeekdays(), renderDays())));\n}\nMonthView.propTypes = {\n activeStartDate: PropTypes.instanceOf(Date).isRequired,\n calendarType: isCalendarType,\n formatShortWeekday: PropTypes.func,\n formatWeekday: PropTypes.func,\n locale: PropTypes.string,\n onClickWeekNumber: PropTypes.func,\n onMouseLeave: PropTypes.func,\n showFixedNumberOfWeeks: PropTypes.bool,\n showWeekNumbers: PropTypes.bool\n};","var _excluded = [\"activeStartDate\", \"defaultActiveStartDate\", \"defaultValue\", \"defaultView\", \"maxDetail\", \"minDetail\", \"value\", \"view\"];\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Navigation from './Calendar/Navigation';\nimport CenturyView from './CenturyView';\nimport DecadeView from './DecadeView';\nimport YearView from './YearView';\nimport MonthView from './MonthView';\nimport { getBegin, getBeginNext, getEnd, getValueRange } from './shared/dates';\nimport { isCalendarType, isClassName, isMaxDate, isMinDate, isRef, isValue, isView } from './shared/propTypes';\nimport { between } from './shared/utils';\nvar defaultMinDate = new Date();\ndefaultMinDate.setFullYear(1, 0, 1);\ndefaultMinDate.setHours(0, 0, 0, 0);\nvar defaultMaxDate = new Date(8.64e15);\nvar baseClassName = 'react-calendar';\nvar allViews = ['century', 'decade', 'year', 'month'];\nvar allValueTypes = [].concat(_toConsumableArray(allViews.slice(1)), ['day']);\nfunction toDate(value) {\n if (value instanceof Date) {\n return value;\n }\n return new Date(value);\n}\n\n/**\n * Returns views array with disallowed values cut off.\n */\nfunction getLimitedViews(minDetail, maxDetail) {\n return allViews.slice(allViews.indexOf(minDetail), allViews.indexOf(maxDetail) + 1);\n}\n\n/**\n * Determines whether a given view is allowed with currently applied settings.\n */\nfunction isViewAllowed(view, minDetail, maxDetail) {\n var views = getLimitedViews(minDetail, maxDetail);\n return views.indexOf(view) !== -1;\n}\n\n/**\n * Gets either provided view if allowed by minDetail and maxDetail, or gets\n * the default view if not allowed.\n */\nfunction getView(view, minDetail, maxDetail) {\n if (isViewAllowed(view, minDetail, maxDetail)) {\n return view;\n }\n return maxDetail;\n}\n\n/**\n * Returns value type that can be returned with currently applied settings.\n */\nfunction getValueType(maxDetail) {\n return allValueTypes[allViews.indexOf(maxDetail)];\n}\nfunction getValue(value, index) {\n if (!value) {\n return null;\n }\n var rawValue = Array.isArray(value) && value.length === 2 ? value[index] : value;\n if (!rawValue) {\n return null;\n }\n var valueDate = toDate(rawValue);\n if (isNaN(valueDate.getTime())) {\n throw new Error(\"Invalid date: \".concat(value));\n }\n return valueDate;\n}\nfunction getDetailValue(_ref, index) {\n var value = _ref.value,\n minDate = _ref.minDate,\n maxDate = _ref.maxDate,\n maxDetail = _ref.maxDetail;\n var valuePiece = getValue(value, index);\n if (!valuePiece) {\n return null;\n }\n var valueType = getValueType(maxDetail);\n var detailValueFrom = [getBegin, getEnd][index](valueType, valuePiece);\n return between(detailValueFrom, minDate, maxDate);\n}\nvar getDetailValueFrom = function getDetailValueFrom(args) {\n return getDetailValue(args, 0);\n};\nvar getDetailValueTo = function getDetailValueTo(args) {\n return getDetailValue(args, 1);\n};\nvar getDetailValueArray = function getDetailValueArray(args) {\n var value = args.value;\n if (Array.isArray(value)) {\n return value;\n }\n return [getDetailValueFrom, getDetailValueTo].map(function (fn) {\n return fn(args);\n });\n};\nfunction getActiveStartDate(props) {\n var maxDate = props.maxDate,\n maxDetail = props.maxDetail,\n minDate = props.minDate,\n minDetail = props.minDetail,\n value = props.value,\n view = props.view;\n var rangeType = getView(view, minDetail, maxDetail);\n var valueFrom = getDetailValueFrom({\n value: value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n }) || new Date();\n return getBegin(rangeType, valueFrom);\n}\nfunction getInitialActiveStartDate(props) {\n var activeStartDate = props.activeStartDate,\n defaultActiveStartDate = props.defaultActiveStartDate,\n defaultValue = props.defaultValue,\n defaultView = props.defaultView,\n maxDetail = props.maxDetail,\n minDetail = props.minDetail,\n value = props.value,\n view = props.view,\n otherProps = _objectWithoutProperties(props, _excluded);\n var rangeType = getView(view, minDetail, maxDetail);\n var valueFrom = activeStartDate || defaultActiveStartDate;\n if (valueFrom) {\n return getBegin(rangeType, valueFrom);\n }\n return getActiveStartDate(_objectSpread({\n maxDetail: maxDetail,\n minDetail: minDetail,\n value: value || defaultValue,\n view: view || defaultView\n }, otherProps));\n}\nvar getIsSingleValue = function getIsSingleValue(value) {\n return value && [].concat(value).length === 1;\n};\nvar Calendar = /*#__PURE__*/function (_Component) {\n _inherits(Calendar, _Component);\n var _super = _createSuper(Calendar);\n function Calendar() {\n var _this;\n _classCallCheck(this, Calendar);\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(_args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n activeStartDate: _this.props.defaultActiveStartDate,\n value: _this.props.defaultValue,\n view: _this.props.defaultView\n });\n _defineProperty(_assertThisInitialized(_this), \"setStateAndCallCallbacks\", function (nextState, event, callback) {\n var _assertThisInitialize = _assertThisInitialized(_this),\n previousActiveStartDate = _assertThisInitialize.activeStartDate,\n previousView = _assertThisInitialize.view;\n var _this$props = _this.props,\n allowPartialRange = _this$props.allowPartialRange,\n onActiveStartDateChange = _this$props.onActiveStartDateChange,\n onChange = _this$props.onChange,\n onViewChange = _this$props.onViewChange,\n selectRange = _this$props.selectRange;\n var prevArgs = {\n activeStartDate: previousActiveStartDate,\n view: previousView\n };\n _this.setState(nextState, function () {\n var args = {\n action: nextState.action,\n activeStartDate: nextState.activeStartDate || _this.activeStartDate,\n value: nextState.value || _this.value,\n view: nextState.view || _this.view\n };\n function shouldUpdate(key) {\n return (\n // Key must exist, and…\n key in nextState && (\n // …key changed from undefined to defined or the other way around, or…\n _typeof(nextState[key]) !== _typeof(prevArgs[key]) || (\n // …value changed.\n nextState[key] instanceof Date ? nextState[key].getTime() !== prevArgs[key].getTime() : nextState[key] !== prevArgs[key]))\n );\n }\n if (shouldUpdate('activeStartDate')) {\n if (onActiveStartDateChange) onActiveStartDateChange(args);\n }\n if (shouldUpdate('view')) {\n if (onViewChange) onViewChange(args);\n }\n if (shouldUpdate('value')) {\n if (onChange) {\n if (selectRange) {\n var isSingleValue = getIsSingleValue(nextState.value);\n if (!isSingleValue) {\n onChange(nextState.value, event);\n } else if (allowPartialRange) {\n onChange([nextState.value], event);\n }\n } else {\n onChange(nextState.value, event);\n }\n }\n }\n if (callback) callback(args);\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"setActiveStartDate\", function (nextActiveStartDate, action) {\n _this.setStateAndCallCallbacks({\n action: action,\n activeStartDate: nextActiveStartDate\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"drillDown\", function (nextActiveStartDate, event) {\n if (!_this.drillDownAvailable) {\n return;\n }\n _this.onClickTile(nextActiveStartDate, event);\n var _assertThisInitialize2 = _assertThisInitialized(_this),\n view = _assertThisInitialize2.view,\n views = _assertThisInitialize2.views;\n var onDrillDown = _this.props.onDrillDown;\n var nextView = views[views.indexOf(view) + 1];\n _this.setStateAndCallCallbacks({\n action: 'drillDown',\n activeStartDate: nextActiveStartDate,\n view: nextView\n }, undefined, onDrillDown);\n });\n _defineProperty(_assertThisInitialized(_this), \"drillUp\", function () {\n if (!_this.drillUpAvailable) {\n return;\n }\n var _assertThisInitialize3 = _assertThisInitialized(_this),\n activeStartDate = _assertThisInitialize3.activeStartDate,\n view = _assertThisInitialize3.view,\n views = _assertThisInitialize3.views;\n var onDrillUp = _this.props.onDrillUp;\n var nextView = views[views.indexOf(view) - 1];\n var nextActiveStartDate = getBegin(nextView, activeStartDate);\n _this.setStateAndCallCallbacks({\n action: 'drillUp',\n activeStartDate: nextActiveStartDate,\n view: nextView\n }, undefined, onDrillUp);\n });\n _defineProperty(_assertThisInitialized(_this), \"onChange\", function (value, event) {\n var _assertThisInitialize4 = _assertThisInitialized(_this),\n previousValue = _assertThisInitialize4.value;\n var _this$props2 = _this.props,\n goToRangeStartOnSelect = _this$props2.goToRangeStartOnSelect,\n selectRange = _this$props2.selectRange;\n _this.onClickTile(value, event);\n var isFirstValueInRange = selectRange && !getIsSingleValue(previousValue);\n var nextValue;\n if (selectRange) {\n // Range selection turned on\n var _assertThisInitialize5 = _assertThisInitialized(_this),\n valueType = _assertThisInitialize5.valueType;\n if (isFirstValueInRange) {\n // Value has 0 or 2 elements - either way we're starting a new array\n // First value\n nextValue = getBegin(valueType, value);\n } else {\n // Second value\n nextValue = getValueRange(valueType, previousValue, value);\n }\n } else {\n // Range selection turned off\n nextValue = _this.getProcessedValue(value);\n }\n var nextActiveStartDate =\n // Range selection turned off\n !selectRange ||\n // Range selection turned on, first value\n isFirstValueInRange ||\n // Range selection turned on, second value, goToRangeStartOnSelect toggled on\n goToRangeStartOnSelect ? getActiveStartDate(_objectSpread(_objectSpread({}, _this.props), {}, {\n value: nextValue\n })) : null;\n event.persist();\n _this.setStateAndCallCallbacks({\n action: 'onChange',\n activeStartDate: nextActiveStartDate,\n value: nextValue\n }, event);\n });\n _defineProperty(_assertThisInitialized(_this), \"onClickTile\", function (value, event) {\n var _assertThisInitialize6 = _assertThisInitialized(_this),\n view = _assertThisInitialize6.view;\n var _this$props3 = _this.props,\n onClickDay = _this$props3.onClickDay,\n onClickDecade = _this$props3.onClickDecade,\n onClickMonth = _this$props3.onClickMonth,\n onClickYear = _this$props3.onClickYear;\n var callback = function () {\n switch (view) {\n case 'century':\n return onClickDecade;\n case 'decade':\n return onClickYear;\n case 'year':\n return onClickMonth;\n case 'month':\n return onClickDay;\n default:\n throw new Error(\"Invalid view: \".concat(view, \".\"));\n }\n }();\n if (callback) callback(value, event);\n });\n _defineProperty(_assertThisInitialized(_this), \"onMouseOver\", function (value) {\n _this.setState(function (prevState) {\n if (prevState.hover && prevState.hover.getTime() === value.getTime()) {\n return null;\n }\n return {\n hover: value\n };\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"onMouseLeave\", function () {\n _this.setState({\n hover: null\n });\n });\n return _this;\n }\n _createClass(Calendar, [{\n key: \"activeStartDate\",\n get: function get() {\n var activeStartDateProps = this.props.activeStartDate;\n var activeStartDateState = this.state.activeStartDate;\n return activeStartDateProps || activeStartDateState || getInitialActiveStartDate(this.props);\n }\n }, {\n key: \"value\",\n get: function get() {\n var _this$props4 = this.props,\n selectRange = _this$props4.selectRange,\n valueProps = _this$props4.value;\n var valueState = this.state.value;\n\n // In the middle of range selection, use value from state\n if (selectRange && getIsSingleValue(valueState)) {\n return valueState;\n }\n return valueProps !== undefined ? valueProps : valueState;\n }\n }, {\n key: \"valueType\",\n get: function get() {\n var maxDetail = this.props.maxDetail;\n return getValueType(maxDetail);\n }\n }, {\n key: \"view\",\n get: function get() {\n var _this$props5 = this.props,\n minDetail = _this$props5.minDetail,\n maxDetail = _this$props5.maxDetail,\n viewProps = _this$props5.view;\n var viewState = this.state.view;\n return getView(viewProps || viewState, minDetail, maxDetail);\n }\n }, {\n key: \"views\",\n get: function get() {\n var _this$props6 = this.props,\n minDetail = _this$props6.minDetail,\n maxDetail = _this$props6.maxDetail;\n return getLimitedViews(minDetail, maxDetail);\n }\n }, {\n key: \"hover\",\n get: function get() {\n var selectRange = this.props.selectRange;\n var hover = this.state.hover;\n return selectRange ? hover : null;\n }\n }, {\n key: \"drillDownAvailable\",\n get: function get() {\n var view = this.view,\n views = this.views;\n return views.indexOf(view) < views.length - 1;\n }\n }, {\n key: \"drillUpAvailable\",\n get: function get() {\n var view = this.view,\n views = this.views;\n return views.indexOf(view) > 0;\n }\n\n /**\n * Gets current value in a desired format.\n */\n }, {\n key: \"getProcessedValue\",\n value: function getProcessedValue(value) {\n var _this$props7 = this.props,\n minDate = _this$props7.minDate,\n maxDate = _this$props7.maxDate,\n maxDetail = _this$props7.maxDetail,\n returnValue = _this$props7.returnValue;\n var processFunction = function () {\n switch (returnValue) {\n case 'start':\n return getDetailValueFrom;\n case 'end':\n return getDetailValueTo;\n case 'range':\n return getDetailValueArray;\n default:\n throw new Error('Invalid returnValue.');\n }\n }();\n return processFunction({\n value: value,\n minDate: minDate,\n maxDate: maxDate,\n maxDetail: maxDetail\n });\n }\n }, {\n key: \"renderContent\",\n value: function renderContent(next) {\n var currentActiveStartDate = this.activeStartDate,\n onMouseOver = this.onMouseOver,\n valueType = this.valueType,\n value = this.value,\n view = this.view;\n var _this$props8 = this.props,\n calendarType = _this$props8.calendarType,\n locale = _this$props8.locale,\n maxDate = _this$props8.maxDate,\n minDate = _this$props8.minDate,\n selectRange = _this$props8.selectRange,\n tileClassName = _this$props8.tileClassName,\n tileContent = _this$props8.tileContent,\n tileDisabled = _this$props8.tileDisabled;\n var hover = this.hover;\n var activeStartDate = next ? getBeginNext(view, currentActiveStartDate) : getBegin(view, currentActiveStartDate);\n var onClick = this.drillDownAvailable ? this.drillDown : this.onChange;\n var commonProps = {\n activeStartDate: activeStartDate,\n hover: hover,\n locale: locale,\n maxDate: maxDate,\n minDate: minDate,\n onClick: onClick,\n onMouseOver: selectRange ? onMouseOver : null,\n tileClassName: tileClassName,\n tileContent: tileContent,\n tileDisabled: tileDisabled,\n value: value,\n valueType: valueType\n };\n switch (view) {\n case 'century':\n {\n var formatYear = this.props.formatYear;\n return /*#__PURE__*/React.createElement(CenturyView, _extends({\n formatYear: formatYear\n }, commonProps));\n }\n case 'decade':\n {\n var _formatYear = this.props.formatYear;\n return /*#__PURE__*/React.createElement(DecadeView, _extends({\n formatYear: _formatYear\n }, commonProps));\n }\n case 'year':\n {\n var _this$props9 = this.props,\n formatMonth = _this$props9.formatMonth,\n formatMonthYear = _this$props9.formatMonthYear;\n return /*#__PURE__*/React.createElement(YearView, _extends({\n formatMonth: formatMonth,\n formatMonthYear: formatMonthYear\n }, commonProps));\n }\n case 'month':\n {\n var _this$props10 = this.props,\n formatDay = _this$props10.formatDay,\n formatLongDate = _this$props10.formatLongDate,\n formatShortWeekday = _this$props10.formatShortWeekday,\n formatWeekday = _this$props10.formatWeekday,\n onClickWeekNumber = _this$props10.onClickWeekNumber,\n showDoubleView = _this$props10.showDoubleView,\n showFixedNumberOfWeeks = _this$props10.showFixedNumberOfWeeks,\n showNeighboringMonth = _this$props10.showNeighboringMonth,\n showWeekNumbers = _this$props10.showWeekNumbers;\n var onMouseLeave = this.onMouseLeave;\n return /*#__PURE__*/React.createElement(MonthView, _extends({\n calendarType: calendarType,\n formatDay: formatDay,\n formatLongDate: formatLongDate,\n formatShortWeekday: formatShortWeekday,\n formatWeekday: formatWeekday,\n onClickWeekNumber: onClickWeekNumber,\n onMouseLeave: selectRange ? onMouseLeave : null,\n showFixedNumberOfWeeks: typeof showFixedNumberOfWeeks !== 'undefined' ? showFixedNumberOfWeeks : showDoubleView,\n showNeighboringMonth: showNeighboringMonth,\n showWeekNumbers: showWeekNumbers\n }, commonProps));\n }\n default:\n throw new Error(\"Invalid view: \".concat(view, \".\"));\n }\n }\n }, {\n key: \"renderNavigation\",\n value: function renderNavigation() {\n var showNavigation = this.props.showNavigation;\n if (!showNavigation) {\n return null;\n }\n var activeStartDate = this.activeStartDate,\n view = this.view,\n views = this.views;\n var _this$props11 = this.props,\n formatMonthYear = _this$props11.formatMonthYear,\n formatYear = _this$props11.formatYear,\n locale = _this$props11.locale,\n maxDate = _this$props11.maxDate,\n minDate = _this$props11.minDate,\n navigationAriaLabel = _this$props11.navigationAriaLabel,\n navigationAriaLive = _this$props11.navigationAriaLive,\n navigationLabel = _this$props11.navigationLabel,\n next2AriaLabel = _this$props11.next2AriaLabel,\n next2Label = _this$props11.next2Label,\n nextAriaLabel = _this$props11.nextAriaLabel,\n nextLabel = _this$props11.nextLabel,\n prev2AriaLabel = _this$props11.prev2AriaLabel,\n prev2Label = _this$props11.prev2Label,\n prevAriaLabel = _this$props11.prevAriaLabel,\n prevLabel = _this$props11.prevLabel,\n showDoubleView = _this$props11.showDoubleView;\n return /*#__PURE__*/React.createElement(Navigation, {\n activeStartDate: activeStartDate,\n drillUp: this.drillUp,\n formatMonthYear: formatMonthYear,\n formatYear: formatYear,\n locale: locale,\n maxDate: maxDate,\n minDate: minDate,\n navigationAriaLabel: navigationAriaLabel,\n navigationAriaLive: navigationAriaLive,\n navigationLabel: navigationLabel,\n next2AriaLabel: next2AriaLabel,\n next2Label: next2Label,\n nextAriaLabel: nextAriaLabel,\n nextLabel: nextLabel,\n prev2AriaLabel: prev2AriaLabel,\n prev2Label: prev2Label,\n prevAriaLabel: prevAriaLabel,\n prevLabel: prevLabel,\n setActiveStartDate: this.setActiveStartDate,\n showDoubleView: showDoubleView,\n view: view,\n views: views\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props12 = this.props,\n className = _this$props12.className,\n inputRef = _this$props12.inputRef,\n selectRange = _this$props12.selectRange,\n showDoubleView = _this$props12.showDoubleView;\n var onMouseLeave = this.onMouseLeave,\n value = this.value;\n var valueArray = [].concat(value);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(baseClassName, selectRange && valueArray.length === 1 && \"\".concat(baseClassName, \"--selectRange\"), showDoubleView && \"\".concat(baseClassName, \"--doubleView\"), className),\n ref: inputRef\n }, this.renderNavigation(), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(baseClassName, \"__viewContainer\"),\n onBlur: selectRange ? onMouseLeave : null,\n onMouseLeave: selectRange ? onMouseLeave : null\n }, this.renderContent(), showDoubleView && this.renderContent(true)));\n }\n }]);\n return Calendar;\n}(Component);\nexport { Calendar as default };\nCalendar.defaultProps = {\n goToRangeStartOnSelect: true,\n maxDate: defaultMaxDate,\n maxDetail: 'month',\n minDate: defaultMinDate,\n minDetail: 'century',\n returnValue: 'start',\n showNavigation: true,\n showNeighboringMonth: true\n};\nvar isActiveStartDate = PropTypes.instanceOf(Date);\nvar isLooseValue = PropTypes.oneOfType([PropTypes.string, isValue]);\nCalendar.propTypes = {\n activeStartDate: isActiveStartDate,\n allowPartialRange: PropTypes.bool,\n calendarType: isCalendarType,\n className: isClassName,\n defaultActiveStartDate: isActiveStartDate,\n defaultValue: isLooseValue,\n defaultView: isView,\n formatDay: PropTypes.func,\n formatLongDate: PropTypes.func,\n formatMonth: PropTypes.func,\n formatMonthYear: PropTypes.func,\n formatShortWeekday: PropTypes.func,\n formatWeekday: PropTypes.func,\n formatYear: PropTypes.func,\n goToRangeStartOnSelect: PropTypes.bool,\n inputRef: isRef,\n locale: PropTypes.string,\n maxDate: isMaxDate,\n maxDetail: PropTypes.oneOf(allViews),\n minDate: isMinDate,\n minDetail: PropTypes.oneOf(allViews),\n navigationAriaLabel: PropTypes.string,\n navigationAriaLive: PropTypes.oneOf(['off', 'polite', 'assertive']),\n navigationLabel: PropTypes.func,\n next2AriaLabel: PropTypes.string,\n next2Label: PropTypes.node,\n nextAriaLabel: PropTypes.string,\n nextLabel: PropTypes.node,\n onActiveStartDateChange: PropTypes.func,\n onChange: PropTypes.func,\n onClickDay: PropTypes.func,\n onClickDecade: PropTypes.func,\n onClickMonth: PropTypes.func,\n onClickWeekNumber: PropTypes.func,\n onClickYear: PropTypes.func,\n onDrillDown: PropTypes.func,\n onDrillUp: PropTypes.func,\n onViewChange: PropTypes.func,\n prev2AriaLabel: PropTypes.string,\n prev2Label: PropTypes.node,\n prevAriaLabel: PropTypes.string,\n prevLabel: PropTypes.node,\n returnValue: PropTypes.oneOf(['start', 'end', 'range']),\n selectRange: PropTypes.bool,\n showDoubleView: PropTypes.bool,\n showFixedNumberOfWeeks: PropTypes.bool,\n showNavigation: PropTypes.bool,\n showNeighboringMonth: PropTypes.bool,\n showWeekNumbers: PropTypes.bool,\n tileClassName: PropTypes.oneOfType([PropTypes.func, isClassName]),\n tileContent: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n tileDisabled: PropTypes.func,\n value: isLooseValue,\n view: isView\n};","import Calendar from './Calendar';\nimport Navigation from './Calendar/Navigation';\nimport CenturyView from './CenturyView';\nimport DecadeView from './DecadeView';\nimport YearView from './YearView';\nimport MonthView from './MonthView';\nexport default Calendar;\nexport { Calendar, Navigation, CenturyView, DecadeView, YearView, MonthView };","function getRect(element) {\n return element.getBoundingClientRect();\n}\nexport default function detectElementOverflow(element, container) {\n return {\n get collidedTop() {\n return getRect(element).top < getRect(container).top;\n },\n get collidedBottom() {\n return getRect(element).bottom > getRect(container).bottom;\n },\n get collidedLeft() {\n return getRect(element).left < getRect(container).left;\n },\n get collidedRight() {\n return getRect(element).right > getRect(container).right;\n },\n get overflowTop() {\n return getRect(container).top - getRect(element).top;\n },\n get overflowBottom() {\n return getRect(element).bottom - getRect(container).bottom;\n },\n get overflowLeft() {\n return getRect(container).left - getRect(element).left;\n },\n get overflowRight() {\n return getRect(element).right - getRect(container).right;\n }\n };\n}","'use client';\n\nvar __extends = this && this.__extends || function () {\n var _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return _extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n _extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { Component } from 'react';\nimport { findDOMNode } from 'react-dom';\nimport PropTypes from 'prop-types';\nimport detectElementOverflow from 'detect-element-overflow';\nimport warning from 'tiny-warning';\nvar isBrowser = typeof document !== 'undefined';\nvar isDisplayContentsSupported = isBrowser && 'CSS' in window && 'supports' in window.CSS && CSS.supports('display', 'contents');\nvar isMutationObserverSupported = isBrowser && 'MutationObserver' in window;\nfunction capitalize(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\nfunction findScrollContainer(element) {\n var parent = element.parentElement;\n while (parent) {\n var overflow = window.getComputedStyle(parent).overflow;\n if (overflow.split(' ').every(function (o) {\n return o === 'auto' || o === 'scroll';\n })) {\n return parent;\n }\n parent = parent.parentElement;\n }\n return document.documentElement;\n}\nfunction alignAxis(_a) {\n var axis = _a.axis,\n container = _a.container,\n element = _a.element,\n invertAxis = _a.invertAxis,\n scrollContainer = _a.scrollContainer,\n secondary = _a.secondary,\n spacing = _a.spacing;\n var style = window.getComputedStyle(element);\n var parent = container.parentElement;\n if (!parent) {\n return;\n }\n var scrollContainerCollisions = detectElementOverflow(parent, scrollContainer);\n var documentCollisions = detectElementOverflow(parent, document.documentElement);\n var isX = axis === 'x';\n var startProperty = isX ? 'left' : 'top';\n var endProperty = isX ? 'right' : 'bottom';\n var sizeProperty = isX ? 'width' : 'height';\n var overflowStartProperty = \"overflow\".concat(capitalize(startProperty));\n var overflowEndProperty = \"overflow\".concat(capitalize(endProperty));\n var scrollProperty = \"scroll\".concat(capitalize(startProperty));\n var uppercasedSizeProperty = capitalize(sizeProperty);\n var offsetSizeProperty = \"offset\".concat(uppercasedSizeProperty);\n var clientSizeProperty = \"client\".concat(uppercasedSizeProperty);\n var minSizeProperty = \"min-\".concat(sizeProperty);\n var scrollbarWidth = scrollContainer[offsetSizeProperty] - scrollContainer[clientSizeProperty];\n var startSpacing = typeof spacing === 'object' ? spacing[startProperty] : spacing;\n var availableStartSpace = -Math.max(scrollContainerCollisions[overflowStartProperty], documentCollisions[overflowStartProperty] + document.documentElement[scrollProperty]) - startSpacing;\n var endSpacing = typeof spacing === 'object' ? spacing[endProperty] : spacing;\n var availableEndSpace = -Math.max(scrollContainerCollisions[overflowEndProperty], documentCollisions[overflowEndProperty] - document.documentElement[scrollProperty]) - endSpacing - scrollbarWidth;\n if (secondary) {\n availableStartSpace += parent[clientSizeProperty];\n availableEndSpace += parent[clientSizeProperty];\n }\n var offsetSize = element[offsetSizeProperty];\n function displayStart() {\n element.style[startProperty] = 'auto';\n element.style[endProperty] = secondary ? '0' : '100%';\n }\n function displayEnd() {\n element.style[startProperty] = secondary ? '0' : '100%';\n element.style[endProperty] = 'auto';\n }\n function displayIfFits(availableSpace, display) {\n var fits = offsetSize <= availableSpace;\n if (fits) {\n display();\n }\n return fits;\n }\n function displayStartIfFits() {\n return displayIfFits(availableStartSpace, displayStart);\n }\n function displayEndIfFits() {\n return displayIfFits(availableEndSpace, displayEnd);\n }\n function displayWhereverShrinkedFits() {\n var moreSpaceStart = availableStartSpace > availableEndSpace;\n var rawMinSize = style.getPropertyValue(minSizeProperty);\n var minSize = rawMinSize ? parseInt(rawMinSize, 10) : null;\n function shrinkToSize(size) {\n warning(!minSize || size >= minSize, \"<Fit />'s child will not fit anywhere with its current \".concat(minSizeProperty, \" of \").concat(minSize, \"px.\"));\n var newSize = Math.max(size, minSize || 0);\n warning(false, \"<Fit />'s child needed to have its \".concat(sizeProperty, \" decreased to \").concat(newSize, \"px.\"));\n element.style[sizeProperty] = \"\".concat(newSize, \"px\");\n }\n if (moreSpaceStart) {\n shrinkToSize(availableStartSpace);\n displayStart();\n } else {\n shrinkToSize(availableEndSpace);\n displayEnd();\n }\n }\n var fits;\n if (invertAxis) {\n fits = displayStartIfFits() || displayEndIfFits();\n } else {\n fits = displayEndIfFits() || displayStartIfFits();\n }\n if (!fits) {\n displayWhereverShrinkedFits();\n }\n}\nfunction alignMainAxis(args) {\n alignAxis(args);\n}\nfunction alignSecondaryAxis(args) {\n alignAxis(__assign(__assign({}, args), {\n axis: args.axis === 'x' ? 'y' : 'x',\n secondary: true\n }));\n}\nfunction alignBothAxis(args) {\n var invertAxis = args.invertAxis,\n invertSecondaryAxis = args.invertSecondaryAxis,\n commonArgs = __rest(args, [\"invertAxis\", \"invertSecondaryAxis\"]);\n alignMainAxis(__assign(__assign({}, commonArgs), {\n invertAxis: invertAxis\n }));\n alignSecondaryAxis(__assign(__assign({}, commonArgs), {\n invertAxis: invertSecondaryAxis\n }));\n}\nvar Fit = /** @class */function (_super) {\n __extends(Fit, _super);\n function Fit() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.fit = function () {\n var _a = _this,\n scrollContainer = _a.scrollContainer,\n container = _a.container,\n element = _a.element;\n if (!scrollContainer || !container || !element) {\n return;\n }\n var elementWidth = element.clientWidth;\n var elementHeight = element.clientHeight;\n // No need to recalculate - already did that for current dimensions\n if (_this.elementWidth === elementWidth && _this.elementHeight === elementHeight) {\n return;\n }\n // Save the dimensions so that we know we don't need to repeat the function if unchanged\n _this.elementWidth = elementWidth;\n _this.elementHeight = elementHeight;\n var parent = container.parentElement;\n // Container was unmounted\n if (!parent) {\n return;\n }\n /**\n * We need to ensure that <Fit />'s child has a absolute position. Otherwise,\n * we wouldn't be able to place the child in the correct position.\n */\n var style = window.getComputedStyle(element);\n var position = style.position;\n if (position !== 'absolute') {\n element.style.position = 'absolute';\n }\n /**\n * We need to ensure that <Fit />'s parent has a relative or absolute position. Otherwise,\n * we wouldn't be able to place the child in the correct position.\n */\n var parentStyle = window.getComputedStyle(parent);\n var parentPosition = parentStyle.position;\n if (parentPosition !== 'relative' && parentPosition !== 'absolute') {\n parent.style.position = 'relative';\n }\n var _b = _this.props,\n invertAxis = _b.invertAxis,\n invertSecondaryAxis = _b.invertSecondaryAxis,\n _c = _b.mainAxis,\n mainAxis = _c === void 0 ? 'y' : _c,\n _d = _b.spacing,\n spacing = _d === void 0 ? 8 : _d;\n alignBothAxis({\n axis: mainAxis,\n container: container,\n element: element,\n invertAxis: invertAxis,\n invertSecondaryAxis: invertSecondaryAxis,\n scrollContainer: scrollContainer,\n spacing: spacing\n });\n };\n return _this;\n }\n Fit.prototype.componentDidMount = function () {\n var _this = this;\n if (!isDisplayContentsSupported) {\n // eslint-disable-next-line react/no-find-dom-node\n var element = findDOMNode(this);\n if (!element || !(element instanceof HTMLElement)) {\n return;\n }\n this.container = element;\n this.element = element;\n this.scrollContainer = findScrollContainer(element);\n }\n this.fit();\n var onMutation = function onMutation() {\n _this.fit();\n };\n if (isMutationObserverSupported && this.element) {\n var mutationObserver = new MutationObserver(onMutation);\n mutationObserver.observe(this.element, {\n attributes: true,\n attributeFilter: ['class', 'style']\n });\n }\n };\n Fit.prototype.render = function () {\n var _this = this;\n var children = this.props.children;\n var child = React.Children.only(children);\n if (isDisplayContentsSupported) {\n return React.createElement(\"span\", {\n ref: function ref(container) {\n _this.container = container;\n var element = container && container.firstElementChild;\n if (!element || !(element instanceof HTMLElement)) {\n return;\n }\n _this.element = element;\n _this.scrollContainer = findScrollContainer(element);\n },\n style: {\n display: 'contents'\n }\n }, child);\n }\n return child;\n };\n Fit.propTypes = {\n children: PropTypes.node.isRequired,\n invertAxis: PropTypes.bool,\n invertSecondaryAxis: PropTypes.bool,\n mainAxis: PropTypes.oneOf(['x', 'y']),\n spacing: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n bottom: PropTypes.number.isRequired,\n left: PropTypes.number.isRequired,\n right: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n })])\n };\n return Fit;\n}(Component);\nexport default Fit;","import Fit from './Fit.js';\nexport { Fit };\nexport default Fit;","/**\n * Utils\n */\nfunction makeGetEdgeOfNeighbor(getPeriod, getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborInternal(date, offset) {\n if (offset === void 0) {\n offset = defaultOffset;\n }\n var previousPeriod = getPeriod(date) + offset;\n return getEdgeOfPeriod(previousPeriod);\n };\n}\nfunction makeGetEnd(getBeginOfNextPeriod) {\n return function makeGetEndInternal(date) {\n return new Date(getBeginOfNextPeriod(date).getTime() - 1);\n };\n}\nfunction makeGetRange(getStart, getEnd) {\n return function makeGetRangeInternal(date) {\n return [getStart(date), getEnd(date)];\n };\n}\n/**\n * Simple getters - getting a property of a given point in time\n */\n/**\n * Gets year from a given date.\n *\n * @param {DateLike} date Date to get year from\n * @returns {number} Year\n */\nexport function getYear(date) {\n if (date instanceof Date) {\n return date.getFullYear();\n }\n if (typeof date === 'number') {\n return date;\n }\n var year = parseInt(date, 10);\n if (typeof date === 'string' && !isNaN(year)) {\n return year;\n }\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets month from a given date.\n *\n * @param {Date} date Date to get month from\n * @returns {number} Month\n */\nexport function getMonth(date) {\n if (date instanceof Date) {\n return date.getMonth();\n }\n throw new Error(\"Failed to get month from date: \".concat(date, \".\"));\n}\n/**\n * Gets human-readable month from a given date.\n *\n * @param {Date} date Date to get human-readable month from\n * @returns {number} Human-readable month\n */\nexport function getMonthHuman(date) {\n if (date instanceof Date) {\n return date.getMonth() + 1;\n }\n throw new Error(\"Failed to get human-readable month from date: \".concat(date, \".\"));\n}\n/**\n * Gets day of the month from a given date.\n *\n * @param {Date} date Date to get day of the month from\n * @returns {number} Day of the month\n */\nexport function getDate(date) {\n if (date instanceof Date) {\n return date.getDate();\n }\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets hours from a given date.\n *\n * @param {Date | string} date Date to get hours from\n * @returns {number} Hours\n */\nexport function getHours(date) {\n if (date instanceof Date) {\n return date.getHours();\n }\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n if (datePieces.length >= 2) {\n var hoursString = datePieces[0];\n if (hoursString) {\n var hours = parseInt(hoursString, 10);\n if (!isNaN(hours)) {\n return hours;\n }\n }\n }\n }\n throw new Error(\"Failed to get hours from date: \".concat(date, \".\"));\n}\n/**\n * Gets minutes from a given date.\n *\n * @param {Date | string} date Date to get minutes from\n * @returns {number} Minutes\n */\nexport function getMinutes(date) {\n if (date instanceof Date) {\n return date.getMinutes();\n }\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n if (datePieces.length >= 2) {\n var minutesString = datePieces[1] || '0';\n var minutes = parseInt(minutesString, 10);\n if (!isNaN(minutes)) {\n return minutes;\n }\n }\n }\n throw new Error(\"Failed to get minutes from date: \".concat(date, \".\"));\n}\n/**\n * Gets seconds from a given date.\n *\n * @param {Date | string} date Date to get seconds from\n * @returns {number} Seconds\n */\nexport function getSeconds(date) {\n if (date instanceof Date) {\n return date.getSeconds();\n }\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n if (datePieces.length >= 2) {\n var secondsWithMillisecondsString = datePieces[2] || '0';\n var seconds = parseInt(secondsWithMillisecondsString, 10);\n if (!isNaN(seconds)) {\n return seconds;\n }\n }\n }\n throw new Error(\"Failed to get seconds from date: \".concat(date, \".\"));\n}\n/**\n * Gets milliseconds from a given date.\n *\n * @param {Date | string} date Date to get milliseconds from\n * @returns {number} Milliseconds\n */\nexport function getMilliseconds(date) {\n if (date instanceof Date) {\n return date.getMilliseconds();\n }\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n if (datePieces.length >= 2) {\n var secondsWithMillisecondsString = datePieces[2] || '0';\n var millisecondsString = secondsWithMillisecondsString.split('.')[1] || '0';\n var milliseconds = parseInt(millisecondsString, 10);\n if (!isNaN(milliseconds)) {\n return milliseconds;\n }\n }\n }\n throw new Error(\"Failed to get seconds from date: \".concat(date, \".\"));\n}\n/**\n * Century\n */\n/**\n * Gets century start date from a given date.\n *\n * @param {DateLike} date Date to get century start from\n * @returns {Date} Century start date\n */\nexport function getCenturyStart(date) {\n var year = getYear(date);\n var centuryStartYear = year + (-year + 1) % 100;\n var centuryStartDate = new Date();\n centuryStartDate.setFullYear(centuryStartYear, 0, 1);\n centuryStartDate.setHours(0, 0, 0, 0);\n return centuryStartDate;\n}\n/**\n * Gets previous century start date from a given date.\n *\n * @param {DateLike} date Date to get previous century start from\n * @returns {Date} Previous century start date\n */\nexport var getPreviousCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, -100);\n/**\n * Gets next century start date from a given date.\n *\n * @param {DateLike} date Date to get next century start from\n * @returns {Date} Next century start date\n */\nexport var getNextCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, 100);\n/**\n * Gets century end date from a given date.\n *\n * @param {DateLike} date Date to get century end from\n * @returns {Date} Century end date\n */\nexport var getCenturyEnd = makeGetEnd(getNextCenturyStart);\n/**\n * Gets previous century end date from a given date.\n *\n * @param {DateLike} date Date to get previous century end from\n * @returns {Date} Previous century end date\n */\nexport var getPreviousCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, -100);\n/**\n * Gets next century end date from a given date.\n *\n * @param {DateLike} date Date to get next century end from\n * @returns {Date} Next century end date\n */\nexport var getNextCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, 100);\n/**\n * Gets century start and end dates from a given date.\n *\n * @param {DateLike} date Date to get century start and end from\n * @returns {[Date, Date]} Century start and end dates\n */\nexport var getCenturyRange = makeGetRange(getCenturyStart, getCenturyEnd);\n/**\n * Decade\n */\n/**\n * Gets decade start date from a given date.\n *\n * @param {DateLike} date Date to get decade start from\n * @returns {Date} Decade start date\n */\nexport function getDecadeStart(date) {\n var year = getYear(date);\n var decadeStartYear = year + (-year + 1) % 10;\n var decadeStartDate = new Date();\n decadeStartDate.setFullYear(decadeStartYear, 0, 1);\n decadeStartDate.setHours(0, 0, 0, 0);\n return decadeStartDate;\n}\n/**\n * Gets previous decade start date from a given date.\n *\n * @param {DateLike} date Date to get previous decade start from\n * @returns {Date} Previous decade start date\n */\nexport var getPreviousDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, -10);\n/**\n * Gets next decade start date from a given date.\n *\n * @param {DateLike} date Date to get next decade start from\n * @returns {Date} Next decade start date\n */\nexport var getNextDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, 10);\n/**\n * Gets decade end date from a given date.\n *\n * @param {DateLike} date Date to get decade end from\n * @returns {Date} Decade end date\n */\nexport var getDecadeEnd = makeGetEnd(getNextDecadeStart);\n/**\n * Gets previous decade end date from a given date.\n *\n * @param {DateLike} date Date to get previous decade end from\n * @returns {Date} Previous decade end date\n */\nexport var getPreviousDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, -10);\n/**\n * Gets next decade end date from a given date.\n *\n * @param {DateLike} date Date to get next decade end from\n * @returns {Date} Next decade end date\n */\nexport var getNextDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, 10);\n/**\n * Gets decade start and end dates from a given date.\n *\n * @param {DateLike} date Date to get decade start and end from\n * @returns {[Date, Date]} Decade start and end dates\n */\nexport var getDecadeRange = makeGetRange(getDecadeStart, getDecadeEnd);\n/**\n * Year\n */\n/**\n * Gets year start date from a given date.\n *\n * @param {DateLike} date Date to get year start from\n * @returns {Date} Year start date\n */\nexport function getYearStart(date) {\n var year = getYear(date);\n var yearStartDate = new Date();\n yearStartDate.setFullYear(year, 0, 1);\n yearStartDate.setHours(0, 0, 0, 0);\n return yearStartDate;\n}\n/**\n * Gets previous year start date from a given date.\n *\n * @param {DateLike} date Date to get previous year start from\n * @returns {Date} Previous year start date\n */\nexport var getPreviousYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, -1);\n/**\n * Gets next year start date from a given date.\n *\n * @param {DateLike} date Date to get next year start from\n * @returns {Date} Next year start date\n */\nexport var getNextYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, 1);\n/**\n * Gets year end date from a given date.\n *\n * @param {DateLike} date Date to get year end from\n * @returns {Date} Year end date\n */\nexport var getYearEnd = makeGetEnd(getNextYearStart);\n/**\n * Gets previous year end date from a given date.\n *\n * @param {DateLike} date Date to get previous year end from\n * @returns {Date} Previous year end date\n */\nexport var getPreviousYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, -1);\n/**\n * Gets next year end date from a given date.\n *\n * @param {DateLike} date Date to get next year end from\n * @returns {Date} Next year end date\n */\nexport var getNextYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, 1);\n/**\n * Gets year start and end dates from a given date.\n *\n * @param {DateLike} date Date to get year start and end from\n * @returns {[Date, Date]} Year start and end dates\n */\nexport var getYearRange = makeGetRange(getYearStart, getYearEnd);\n/**\n * Month\n */\nfunction makeGetEdgeOfNeighborMonth(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborMonthInternal(date, offset) {\n if (offset === void 0) {\n offset = defaultOffset;\n }\n var year = getYear(date);\n var month = getMonth(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, 1);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n/**\n * Gets month start date from a given date.\n *\n * @param {DateLike} date Date to get month start from\n * @returns {Date} Month start date\n */\nexport function getMonthStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var monthStartDate = new Date();\n monthStartDate.setFullYear(year, month, 1);\n monthStartDate.setHours(0, 0, 0, 0);\n return monthStartDate;\n}\n/**\n * Gets previous month start date from a given date.\n *\n * @param {DateLike} date Date to get previous month start from\n * @returns {Date} Previous month start date\n */\nexport var getPreviousMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, -1);\n/**\n * Gets next month start date from a given date.\n *\n * @param {DateLike} date Date to get next month start from\n * @returns {Date} Next month start date\n */\nexport var getNextMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, 1);\n/**\n * Gets month end date from a given date.\n *\n * @param {DateLike} date Date to get month end from\n * @returns {Date} Month end date\n */\nexport var getMonthEnd = makeGetEnd(getNextMonthStart);\n/**\n * Gets previous month end date from a given date.\n *\n * @param {DateLike} date Date to get previous month end from\n * @returns {Date} Previous month end date\n */\nexport var getPreviousMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, -1);\n/**\n * Gets next month end date from a given date.\n *\n * @param {DateLike} date Date to get next month end from\n * @returns {Date} Next month end date\n */\nexport var getNextMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, 1);\n/**\n * Gets month start and end dates from a given date.\n *\n * @param {DateLike} date Date to get month start and end from\n * @returns {[Date, Date]} Month start and end dates\n */\nexport var getMonthRange = makeGetRange(getMonthStart, getMonthEnd);\n/**\n * Day\n */\nfunction makeGetEdgeOfNeighborDay(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborDayInternal(date, offset) {\n if (offset === void 0) {\n offset = defaultOffset;\n }\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, day);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n/**\n * Gets day start date from a given date.\n *\n * @param {DateLike} date Date to get day start from\n * @returns {Date} Day start date\n */\nexport function getDayStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date);\n var dayStartDate = new Date();\n dayStartDate.setFullYear(year, month, day);\n dayStartDate.setHours(0, 0, 0, 0);\n return dayStartDate;\n}\n/**\n * Gets previous day start date from a given date.\n *\n * @param {DateLike} date Date to get previous day start from\n * @returns {Date} Previous day start date\n */\nexport var getPreviousDayStart = makeGetEdgeOfNeighborDay(getDayStart, -1);\n/**\n * Gets next day start date from a given date.\n *\n * @param {DateLike} date Date to get next day start from\n * @returns {Date} Next day start date\n */\nexport var getNextDayStart = makeGetEdgeOfNeighborDay(getDayStart, 1);\n/**\n * Gets day end date from a given date.\n *\n * @param {DateLike} date Date to get day end from\n * @returns {Date} Day end date\n */\nexport var getDayEnd = makeGetEnd(getNextDayStart);\n/**\n * Gets previous day end date from a given date.\n *\n * @param {DateLike} date Date to get previous day end from\n * @returns {Date} Previous day end date\n */\nexport var getPreviousDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, -1);\n/**\n * Gets next day end date from a given date.\n *\n * @param {DateLike} date Date to get next day end from\n * @returns {Date} Next day end date\n */\nexport var getNextDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, 1);\n/**\n * Gets day start and end dates from a given date.\n *\n * @param {DateLike} date Date to get day start and end from\n * @returns {[Date, Date]} Day start and end dates\n */\nexport var getDayRange = makeGetRange(getDayStart, getDayEnd);\n/**\n * Other\n */\n/**\n * Returns a number of days in a month of a given date.\n *\n * @param {Date} date Date\n * @returns {number} Number of days in a month\n */\nexport function getDaysInMonth(date) {\n return getDate(getMonthEnd(date));\n}\nfunction padStart(num, val) {\n if (val === void 0) {\n val = 2;\n }\n var numStr = \"\".concat(num);\n if (numStr.length >= val) {\n return num;\n }\n return \"0000\".concat(numStr).slice(-val);\n}\n/**\n * Returns local hours and minutes (hh:mm).\n *\n * @param {Date | string} date Date to get hours and minutes from\n * @returns {string} Local hours and minutes\n */\nexport function getHoursMinutes(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n return \"\".concat(hours, \":\").concat(minutes);\n}\n/**\n * Returns local hours, minutes and seconds (hh:mm:ss).\n *\n * @param {Date | string} date Date to get hours, minutes and seconds from\n * @returns {string} Local hours, minutes and seconds\n */\nexport function getHoursMinutesSeconds(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n var seconds = padStart(getSeconds(date));\n return \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n}\n/**\n * Returns local month in ISO-like format (YYYY-MM).\n *\n * @param {Date} date Date to get month in ISO-like format from\n * @returns {string} Local month in ISO-like format\n */\nexport function getISOLocalMonth(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n return \"\".concat(year, \"-\").concat(month);\n}\n/**\n * Returns local date in ISO-like format (YYYY-MM-DD).\n *\n * @param {Date} date Date to get date in ISO-like format from\n * @returns {string} Local date in ISO-like format\n */\nexport function getISOLocalDate(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n var day = padStart(getDate(date));\n return \"\".concat(year, \"-\").concat(month, \"-\").concat(day);\n}\n/**\n * Returns local date & time in ISO-like format (YYYY-MM-DDThh:mm:ss).\n *\n * @param {Date} date Date to get date & time in ISO-like format from\n * @returns {string} Local date & time in ISO-like format\n */\nexport function getISOLocalDateTime(date) {\n return \"\".concat(getISOLocalDate(date), \"T\").concat(getHoursMinutesSeconds(date));\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isValueType = exports.isRef = exports.isMinDate = exports.isMaxDate = void 0;\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nvar allViews = ['century', 'decade', 'year', 'month'];\nvar allValueTypes = [].concat(_toConsumableArray(allViews.slice(1)), ['day']);\nvar isValueType = _propTypes[\"default\"].oneOf(allValueTypes);\nexports.isValueType = isValueType;\nvar isMinDate = function isMinDate(props, propName, componentName) {\n var minDate = props[propName];\n if (!minDate) {\n return null;\n }\n if (!(minDate instanceof Date)) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(minDate), \"` supplied to `\").concat(componentName, \"`, expected instance of `Date`.\"));\n }\n var maxDate = props.maxDate;\n if (maxDate && minDate > maxDate) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(minDate), \"` supplied to `\").concat(componentName, \"`, minDate cannot be larger than maxDate.\"));\n }\n return null;\n};\nexports.isMinDate = isMinDate;\nvar isMaxDate = function isMaxDate(props, propName, componentName) {\n var maxDate = props[propName];\n if (!maxDate) {\n return null;\n }\n if (!(maxDate instanceof Date)) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(maxDate), \"` supplied to `\").concat(componentName, \"`, expected instance of `Date`.\"));\n }\n var minDate = props.minDate;\n if (minDate && maxDate < minDate) {\n return new Error(\"Invalid prop `\".concat(propName, \"` of type `\").concat(_typeof(maxDate), \"` supplied to `\").concat(componentName, \"`, maxDate cannot be smaller than minDate.\"));\n }\n return null;\n};\nexports.isMaxDate = isMaxDate;\nvar isRef = _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].func, _propTypes[\"default\"].shape({\n current: _propTypes[\"default\"].any\n})]);\nexports.isRef = isRef;","function r(e) {\n var t,\n f,\n n = \"\";\n if (\"string\" == typeof e || \"number\" == typeof e) n += e;else if (\"object\" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (f = r(e[t])) && (n && (n += \" \"), n += f);else for (t in e) e[t] && (n && (n += \" \"), n += t);\n return n;\n}\nexport function clsx() {\n for (var e, t, f = 0, n = \"\"; f < arguments.length;) (e = arguments[f++]) && (t = r(e)) && (n && (n += \" \"), n += t);\n return n;\n}\nexport default clsx;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.between = between;\nexports.safeMax = safeMax;\nexports.safeMin = safeMin;\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n/**\n * Returns a value no smaller than min and no larger than max.\n *\n * @param {*} value Value to return.\n * @param {*} min Minimum return value.\n * @param {*} max Maximum return value.\n */\nfunction between(value, min, max) {\n if (min && min > value) {\n return min;\n }\n if (max && max < value) {\n return max;\n }\n return value;\n}\nfunction isValidNumber(num) {\n return num !== null && num !== false && !Number.isNaN(Number(num));\n}\nfunction safeMin() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return Math.min.apply(Math, _toConsumableArray(args.filter(isValidNumber)));\n}\nfunction safeMax() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return Math.max.apply(Math, _toConsumableArray(args.filter(isValidNumber)));\n}","import memoize from 'lodash.memoize';\nfunction resolver(options) {\n return JSON.stringify(options);\n}\nfunction uniqDefined(arr) {\n return arr.filter(function (el, index) {\n return el && arr.indexOf(el) === index;\n });\n}\nfunction normalizeLocales(arr) {\n return arr.map(function (el) {\n if (!el || el.indexOf('-') === -1 || el.toLowerCase() !== el) {\n return el;\n }\n var splitEl = el.split('-');\n return splitEl[0] + \"-\" + splitEl[1].toUpperCase();\n });\n}\nfunction getUserLocalesInternal(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$useFallbackLocal = _ref.useFallbackLocale,\n useFallbackLocale = _ref$useFallbackLocal === void 0 ? true : _ref$useFallbackLocal,\n _ref$fallbackLocale = _ref.fallbackLocale,\n fallbackLocale = _ref$fallbackLocale === void 0 ? 'en-US' : _ref$fallbackLocale;\n var languageList = [];\n if (typeof window !== 'undefined') {\n var _window = window,\n navigator = _window.navigator;\n languageList = languageList.concat(navigator.languages, navigator.language, navigator.userLanguage, navigator.browserLanguage, navigator.systemLanguage);\n }\n if (useFallbackLocale) {\n languageList.push(fallbackLocale);\n }\n return normalizeLocales(uniqDefined(languageList));\n}\nexport var getUserLocales = memoize(getUserLocalesInternal, resolver);\nfunction getUserLocaleInternal(options) {\n return getUserLocales(options)[0] || null;\n}\nexport var getUserLocale = memoize(getUserLocaleInternal, resolver);\nexport default getUserLocale;","\"use strict\";\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = Input;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _clsx = _interopRequireDefault(require(\"clsx\"));\nvar _updateInputWidth = _interopRequireWildcard(require(\"update-input-width\"));\nvar _propTypes2 = require(\"../shared/propTypes\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj[\"default\"] = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n/* eslint-disable jsx-a11y/no-autofocus */\n\nvar isBrowser = typeof document !== 'undefined';\nvar useIsomorphicLayoutEffect = isBrowser ? _react.useLayoutEffect : _react.useEffect;\nvar isIEOrEdgeLegacy = isBrowser && /(MSIE|Trident\\/|Edge\\/)/.test(navigator.userAgent);\nvar isFirefox = isBrowser && /Firefox/.test(navigator.userAgent);\nfunction onFocus(event) {\n var target = event.target;\n if (isIEOrEdgeLegacy) {\n requestAnimationFrame(function () {\n return target.select();\n });\n } else {\n target.select();\n }\n}\nfunction updateInputWidthOnLoad(element) {\n if (document.readyState === 'complete') {\n return;\n }\n function onLoad() {\n (0, _updateInputWidth[\"default\"])(element);\n }\n window.addEventListener('load', onLoad);\n}\nfunction updateInputWidthOnFontLoad(element) {\n if (!document.fonts) {\n return;\n }\n var font = (0, _updateInputWidth.getFontShorthand)(element);\n if (!font) {\n return;\n }\n var isFontLoaded = document.fonts.check(font);\n if (isFontLoaded) {\n return;\n }\n function onLoadingDone() {\n (0, _updateInputWidth[\"default\"])(element);\n }\n document.fonts.addEventListener('loadingdone', onLoadingDone);\n}\nfunction getSelectionString(input) {\n /**\n * window.getSelection().toString() returns empty string in IE11 and Firefox,\n * so alternatives come first.\n */\n if (input && 'selectionStart' in input && input.selectionStart !== null) {\n return input.value.slice(input.selectionStart, input.selectionEnd);\n }\n if ('getSelection' in window) {\n return window.getSelection().toString();\n }\n return null;\n}\nfunction makeOnKeyPress(maxLength) {\n /**\n * Prevents keystrokes that would not produce a number or when value after keystroke would\n * exceed maxLength.\n */\n return function onKeyPress(event) {\n if (isFirefox) {\n // See https://github.com/wojtekmaj/react-time-picker/issues/92\n return;\n }\n var key = event.key,\n input = event.target;\n var value = input.value;\n var isNumberKey = key.length === 1 && /\\d/.test(key);\n var selection = getSelectionString(input);\n if (!isNumberKey || !(selection || value.length < maxLength)) {\n event.preventDefault();\n }\n };\n}\nfunction Input(_ref) {\n var ariaLabel = _ref.ariaLabel,\n autoFocus = _ref.autoFocus,\n className = _ref.className,\n disabled = _ref.disabled,\n inputRef = _ref.inputRef,\n max = _ref.max,\n min = _ref.min,\n name = _ref.name,\n nameForClass = _ref.nameForClass,\n onChange = _ref.onChange,\n onKeyDown = _ref.onKeyDown,\n _onKeyUp = _ref.onKeyUp,\n _ref$placeholder = _ref.placeholder,\n placeholder = _ref$placeholder === void 0 ? '--' : _ref$placeholder,\n required = _ref.required,\n showLeadingZeros = _ref.showLeadingZeros,\n step = _ref.step,\n value = _ref.value;\n useIsomorphicLayoutEffect(function () {\n if (!inputRef || !inputRef.current) {\n return;\n }\n (0, _updateInputWidth[\"default\"])(inputRef.current);\n updateInputWidthOnLoad(inputRef.current);\n updateInputWidthOnFontLoad(inputRef.current);\n }, [inputRef, value]);\n var hasLeadingZero = showLeadingZeros && value && value < 10 && (value === '0' || !value.toString().startsWith('0'));\n var maxLength = max ? max.toString().length : null;\n return [hasLeadingZero && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n key: \"leadingZero\",\n className: \"\".concat(className, \"__leadingZero\")\n }, \"0\"), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n key: \"input\",\n \"aria-label\": ariaLabel,\n autoComplete: \"off\",\n autoFocus: autoFocus,\n className: (0, _clsx[\"default\"])(\"\".concat(className, \"__input\"), \"\".concat(className, \"__\").concat(nameForClass || name), hasLeadingZero && \"\".concat(className, \"__input--hasLeadingZero\")),\n \"data-input\": \"true\",\n disabled: disabled,\n inputMode: \"numeric\",\n max: max,\n min: min,\n name: name,\n onChange: onChange,\n onFocus: onFocus,\n onKeyDown: onKeyDown,\n onKeyPress: makeOnKeyPress(maxLength),\n onKeyUp: function onKeyUp(event) {\n (0, _updateInputWidth[\"default\"])(event.target);\n if (_onKeyUp) {\n _onKeyUp(event);\n }\n },\n placeholder: placeholder,\n ref: inputRef,\n required: required,\n step: step,\n type: \"number\",\n value: value !== null ? value : ''\n })];\n}\nInput.propTypes = {\n ariaLabel: _propTypes[\"default\"].string,\n autoFocus: _propTypes[\"default\"].bool,\n className: _propTypes[\"default\"].string.isRequired,\n disabled: _propTypes[\"default\"].bool,\n inputRef: _propTypes2.isRef,\n max: _propTypes[\"default\"].number,\n min: _propTypes[\"default\"].number,\n name: _propTypes[\"default\"].string,\n nameForClass: _propTypes[\"default\"].string,\n onChange: _propTypes[\"default\"].func,\n onKeyDown: _propTypes[\"default\"].func,\n onKeyUp: _propTypes[\"default\"].func,\n placeholder: _propTypes[\"default\"].string,\n required: _propTypes[\"default\"].bool,\n showLeadingZeros: _propTypes[\"default\"].bool,\n step: _propTypes[\"default\"].number,\n value: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.formatShortMonth = exports.formatMonth = void 0;\nexports.getFormatter = getFormatter;\nvar _getUserLocale = _interopRequireDefault(require(\"get-user-locale\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nvar formatterCache = new Map();\nfunction getFormatter(options) {\n return function (locale, date) {\n var localeWithDefault = locale || (0, _getUserLocale[\"default\"])();\n if (!formatterCache.has(localeWithDefault)) {\n formatterCache.set(localeWithDefault, new Map());\n }\n var formatterCacheLocale = formatterCache.get(localeWithDefault);\n if (!formatterCacheLocale.has(options)) {\n formatterCacheLocale.set(options, new Intl.DateTimeFormat(localeWithDefault, options).format);\n }\n return formatterCacheLocale.get(options)(date);\n };\n}\n\n/**\n * Changes the hour in a Date to ensure right date formatting even if DST is messed up.\n * Workaround for bug in WebKit and Firefox with historical dates.\n * For more details, see:\n * https://bugs.chromium.org/p/chromium/issues/detail?id=750465\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1385643\n *\n * @param {Date} date Date.\n */\nfunction toSafeHour(date) {\n var safeDate = new Date(date);\n return new Date(safeDate.setHours(12));\n}\nfunction getSafeFormatter(options) {\n return function (locale, date) {\n return getFormatter(options)(locale, toSafeHour(date));\n };\n}\nvar formatMonthOptions = {\n month: 'long'\n};\nvar formatShortMonthOptions = {\n month: 'short'\n};\nvar formatMonth = getSafeFormatter(formatMonthOptions);\nexports.formatMonth = formatMonth;\nvar formatShortMonth = getSafeFormatter(formatShortMonthOptions);\nexports.formatShortMonth = formatShortMonth;"],"sourceRoot":""}
|