text: /*! flatpickr v2.6.3, @license MIT */
  function Flatpickr(e,t){function n(e){return e.bind(he)}function a(e){he.config.noCalendar&&!he.selectedDates.length&&(he.selectedDates=[he.now]),pe(e),he.selectedDates.length&&(!he.minDateHasTime||"input"!==e.type||e.target.value.length>=2?(i(),oe()):setTimeout(function(){i(),oe()},1e3))}function i(){if(he.config.enableTime){var e=(parseInt(he.hourElement.value,10)||0)%(he.amPM?12:24),t=(parseInt(he.minuteElement.value,10)||0)%60,n=he.config.enableSeconds?(parseInt(he.secondElement.value,10)||0)%60:0;void 0!==he.amPM&&(e=e%12+12*("PM"===he.amPM.textContent)),he.minDateHasTime&&0===ge(he.latestSelectedDateObj,he.config.minDate)&&(e=Math.max(e,he.config.minDate.getHours()))===he.config.minDate.getHours()&&(t=Math.max(t,he.config.minDate.getMinutes())),he.maxDateHasTime&&0===ge(he.latestSelectedDateObj,he.config.maxDate)&&(e=Math.min(e,he.config.maxDate.getHours()))===he.config.maxDate.getHours()&&(t=Math.min(t,he.config.maxDate.getMinutes())),o(e,t,n)}}function r(e){var t=e||he.latestSelectedDateObj;t&&o(t.getHours(),t.getMinutes(),t.getSeconds())}function o(e,t,n){he.selectedDates.length&&he.latestSelectedDateObj.setHours(e%24,t,n||0,0),he.config.enableTime&&!he.isMobile&&(he.hourElement.value=he.pad(he.config.time_24hr?e:(12+e)%12+12*(e%12==0)),he.minuteElement.value=he.pad(t),he.config.time_24hr||(he.amPM.textContent=e>=12?"PM":"AM"),!0===he.config.enableSeconds&&(he.secondElement.value=he.pad(n)))}function l(e){var t=e.target.value;e.delta&&(t=(parseInt(t)+e.delta).toString()),4!==t.length&&"Enter"!==e.key||(he.currentYearElement.blur(),/[^\d]/.test(t)||O(t))}function c(e,t,n){return t instanceof Array?t.forEach(function(t){return c(e,t,n)}):e instanceof Array?e.forEach(function(e){return c(e,t,n)}):(e.addEventListener(t,n),void he._handlers.push({element:e,event:t,handler:n}))}function s(e){return function(t){return 1===t.which&&e(t)}}function d(){if(he._handlers=[],he._animationLoop=[],he.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(he.element.querySelectorAll("[data-"+e+"]"),function(t){return c(t,"mousedown",s(he[e]))})}),he.isMobile)return X();if(he.debouncedResize=me(j,50),he.triggerChange=function(){te("Change")},he.debouncedChange=me(he.triggerChange,300),"range"===he.config.mode&&he.daysContainer&&c(he.daysContainer,"mouseover",function(e){return P(e.target)}),c(window.document.body,"keydown",L),he.config.static||c(he._input,"keydown",L),he.config.inline||he.config.static||c(window,"resize",he.debouncedResize),void 0!==window.ontouchstart&&c(window.document,"touchstart",I),c(window.document,"mousedown",s(I)),c(he._input,"blur",I),!0===he.config.clickOpens&&c(he._input,"focus",he.open),he.config.noCalendar||(he.monthNav.addEventListener("wheel",function(e){return e.preventDefault()}),c(he.monthNav,"wheel",me(ce,10)),c(he.monthNav,"mousedown",s(se)),c(he.monthNav,["keyup","increment"],l),c(he.daysContainer,"mousedown",s(U)),he.config.animate&&(c(he.daysContainer,["webkitAnimationEnd","animationend"],f),c(he.monthNav,["webkitAnimationEnd","animationend"],m))),he.config.enableTime){var e=function(e){return e.target.select()};c(he.timeContainer,["wheel","input","increment"],a),c(he.timeContainer,"mousedown",s(p)),c(he.timeContainer,["wheel","increment"],he.debouncedChange),c(he.timeContainer,"input",he.triggerChange),c([he.hourElement,he.minuteElement],"focus",e),void 0!==he.secondElement&&c(he.secondElement,"focus",function(){return he.secondElement.select()}),void 0!==he.amPM&&c(he.amPM,"mousedown",s(function(e){a(e),he.triggerChange(e)}))}}function u(){for(var e=he._animationLoop.length;e--;)he._animationLoop[e](),he._animationLoop.splice(e,1)}function f(e){if(he.daysContainer.childNodes.length>1)switch(e.animationName){case"fpSlideLeft":he.daysContainer.lastChild.classList.remove("slideLeftNew"),he.daysContainer.removeChild(he.daysContainer.firstChild),he.days=he.daysContainer.firstChild,u();break;case"fpSlideRight":he.daysContainer.firstChild.classList.remove("slideRightNew"),he.daysContainer.removeChild(he.daysContainer.lastChild),he.days=he.daysContainer.firstChild,u()}}function m(e){switch(e.animationName){case"fpSlideLeftNew":case"fpSlideRightNew":he.navigationCurrentMonth.classList.remove("slideLeftNew"),he.navigationCurrentMonth.classList.remove("slideRightNew");for(var t=he.navigationCurrentMonth;t.nextSibling&&/curr/.test(t.nextSibling.className);)he.monthNav.removeChild(t.nextSibling);for(;t.previousSibling&&/curr/.test(t.previousSibling.className);)he.monthNav.removeChild(t.previousSibling);he.oldCurMonth=null}}function g(e){e=e?he.parseDate(e):he.latestSelectedDateObj||(he.config.minDate>he.now?he.config.minDate:he.config.maxDate&&he.config.maxDate<he.now?he.config.maxDate:he.now);try{he.currentYear=e.getFullYear(),he.currentMonth=e.getMonth()}catch(t){console.error(t.stack),console.warn("Invalid date supplied: "+e)}he.redraw()}function p(e){~e.target.className.indexOf("arrow")&&h(e,e.target.classList.contains("arrowUp")?1:-1)}function h(e,t,n){var a=n||e.target.parentNode.childNodes[0],i=ne("increment");i.delta=t,a.dispatchEvent(i)}function D(e){var t=de("div","numInputWrapper"),n=de("input","numInput "+e),a=de("span","arrowUp"),i=de("span","arrowDown");return n.type="text",n.pattern="\\d*",t.appendChild(n),t.appendChild(a),t.appendChild(i),t}function v(){var e=window.document.createDocumentFragment();he.calendarContainer=de("div","flatpickr-calendar"),he.calendarContainer.tabIndex=-1,he.config.noCalendar||(e.appendChild(k()),he.innerContainer=de("div","flatpickr-innerContainer"),he.config.weekNumbers&&he.innerContainer.appendChild(N()),he.rContainer=de("div","flatpickr-rContainer"),he.rContainer.appendChild(E()),he.daysContainer||(he.daysContainer=de("div","flatpickr-days"),he.daysContainer.tabIndex=-1),M(),he.rContainer.appendChild(he.daysContainer),he.innerContainer.appendChild(he.rContainer),e.appendChild(he.innerContainer)),he.config.enableTime&&e.appendChild(x()),fe(he.calendarContainer,"rangeMode","range"===he.config.mode),fe(he.calendarContainer,"animate",he.config.animate),he.calendarContainer.appendChild(e);var t=he.config.appendTo&&he.config.appendTo.nodeType;if(he.config.inline||he.config.static){if(he.calendarContainer.classList.add(he.config.inline?"inline":"static"),he.config.inline&&!t)return he.element.parentNode.insertBefore(he.calendarContainer,he._input.nextSibling);if(he.config.static){var n=de("div","flatpickr-wrapper");return he.element.parentNode.insertBefore(n,he.element),n.appendChild(he.element),he.altInput&&n.appendChild(he.altInput),void n.appendChild(he.calendarContainer)}}(t?he.config.appendTo:window.document.body).appendChild(he.calendarContainer)}function C(e,t,n,a){var i=A(t,!0),r=de("span","flatpickr-day "+e,t.getDate());return r.dateObj=t,r.$i=a,r.setAttribute("aria-label",he.formatDate(t,he.config.ariaDateFormat)),0===ge(t,he.now)&&(he.todayDateElem=r,r.classList.add("today")),i?(r.tabIndex=-1,ae(t)&&(r.classList.add("selected"),he.selectedDateElem=r,"range"===he.config.mode&&(fe(r,"startRange",0===ge(t,he.selectedDates[0])),fe(r,"endRange",0===ge(t,he.selectedDates[1]))))):(r.classList.add("disabled"),he.selectedDates[0]&&t>he.minRangeDate&&t<he.selectedDates[0]?he.minRangeDate=t:he.selectedDates[0]&&t<he.maxRangeDate&&t>he.selectedDates[0]&&(he.maxRangeDate=t)),"range"===he.config.mode&&(ie(t)&&!ae(t)&&r.classList.add("inRange"),1===he.selectedDates.length&&(t<he.minRangeDate||t>he.maxRangeDate)&&r.classList.add("notAllowed")),he.config.weekNumbers&&"prevMonthDay"!==e&&n%7==1&&he.weekNumbers.insertAdjacentHTML("beforeend","<span class='disabled flatpickr-day'>"+he.config.getWeek(t)+"</span>"),te("DayCreate",r),r}function w(e,t){var n=e+t||0,a=void 0!==e?he.days.childNodes[n]:he.selectedDateElem||he.todayDateElem||he.days.childNodes[0],i=function(){(a=a||he.days.childNodes[n]).focus(),"range"===he.config.mode&&P(a)};if(void 0===a&&0!==t)return t>0?(he.changeMonth(1),n%=42):t<0&&(he.changeMonth(-1),n+=42),b(i);i()}function b(e){if(!0===he.config.animate)return he._animationLoop.push(e);e()}function M(e){var t=(new Date(he.currentYear,he.currentMonth,1).getDay()-he.l10n.firstDayOfWeek+7)%7,n="range"===he.config.mode;he.prevMonthDays=he.utils.getDaysinMonth((he.currentMonth-1+12)%12),he.selectedDateElem=void 0,he.todayDateElem=void 0;var a=he.utils.getDaysinMonth(),i=window.document.createDocumentFragment(),r=he.prevMonthDays+1-t,o=0;for(he.config.weekNumbers&&he.weekNumbers.firstChild&&(he.weekNumbers.textContent=""),n&&(he.minRangeDate=new Date(he.currentYear,he.currentMonth-1,r),he.maxRangeDate=new Date(he.currentYear,he.currentMonth+1,(42-t)%a));r<=he.prevMonthDays;r++,o++)i.appendChild(C("prevMonthDay",new Date(he.currentYear,he.currentMonth-1,r),r,o));for(r=1;r<=a;r++,o++)i.appendChild(C("",new Date(he.currentYear,he.currentMonth,r),r,o));for(var l=a+1;l<=42-t;l++,o++)i.appendChild(C("nextMonthDay",new Date(he.currentYear,he.currentMonth+1,l%a),l,o));n&&1===he.selectedDates.length&&i.childNodes[0]?(he._hidePrevMonthArrow=he._hidePrevMonthArrow||he.minRangeDate>i.childNodes[0].dateObj,he._hideNextMonthArrow=he._hideNextMonthArrow||he.maxRangeDate<new Date(he.currentYear,he.currentMonth+1,1)):re();var c=de("div","dayContainer");if(c.appendChild(i),he.config.animate&&void 0!==e)for(;he.daysContainer.childNodes.length>1;)he.daysContainer.removeChild(he.daysContainer.firstChild);else y(he.daysContainer);return e>=0?he.daysContainer.appendChild(c):he.daysContainer.insertBefore(c,he.daysContainer.firstChild),he.days=he.daysContainer.firstChild,he.daysContainer}function y(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function k(){var e=window.document.createDocumentFragment();he.monthNav=de("div","flatpickr-month"),he.prevMonthNav=de("span","flatpickr-prev-month"),he.prevMonthNav.innerHTML=he.config.prevArrow,he.currentMonthElement=de("span","cur-month"),he.currentMonthElement.title=he.l10n.scrollTitle;var t=D("cur-year");return he.currentYearElement=t.childNodes[0],he.currentYearElement.title=he.l10n.scrollTitle,he.config.minDate&&(he.currentYearElement.min=he.config.minDate.getFullYear()),he.config.maxDate&&(he.currentYearElement.max=he.config.maxDate.getFullYear(),he.currentYearElement.disabled=he.config.minDate&&he.config.minDate.getFullYear()===he.config.maxDate.getFullYear()),he.nextMonthNav=de("span","flatpickr-next-month"),he.nextMonthNav.innerHTML=he.config.nextArrow,he.navigationCurrentMonth=de("span","flatpickr-current-month"),he.navigationCurrentMonth.appendChild(he.currentMonthElement),he.navigationCurrentMonth.appendChild(t),e.appendChild(he.prevMonthNav),e.appendChild(he.navigationCurrentMonth),e.appendChild(he.nextMonthNav),he.monthNav.appendChild(e),Object.defineProperty(he,"_hidePrevMonthArrow",{get:function(){return this.__hidePrevMonthArrow},set:function(e){this.__hidePrevMonthArrow!==e&&(he.prevMonthNav.style.display=e?"none":"block"),this.__hidePrevMonthArrow=e}}),Object.defineProperty(he,"_hideNextMonthArrow",{get:function(){return this.__hideNextMonthArrow},set:function(e){this.__hideNextMonthArrow!==e&&(he.nextMonthNav.style.display=e?"none":"block"),this.__hideNextMonthArrow=e}}),re(),he.monthNav}function x(){he.calendarContainer.classList.add("hasTime"),he.config.noCalendar&&he.calendarContainer.classList.add("noCalendar"),he.timeContainer=de("div","flatpickr-time"),he.timeContainer.tabIndex=-1;var e=de("span","flatpickr-time-separator",":"),t=D("flatpickr-hour");he.hourElement=t.childNodes[0];var n=D("flatpickr-minute");if(he.minuteElement=n.childNodes[0],he.hourElement.tabIndex=he.minuteElement.tabIndex=-1,he.hourElement.value=he.pad(he.latestSelectedDateObj?he.latestSelectedDateObj.getHours():he.config.defaultHour),he.minuteElement.value=he.pad(he.latestSelectedDateObj?he.latestSelectedDateObj.getMinutes():he.config.defaultMinute),he.hourElement.step=he.config.hourIncrement,he.minuteElement.step=he.config.minuteIncrement,he.hourElement.min=he.config.time_24hr?0:1,he.hourElement.max=he.config.time_24hr?23:12,he.minuteElement.min=0,he.minuteElement.max=59,he.hourElement.title=he.minuteElement.title=he.l10n.scrollTitle,he.timeContainer.appendChild(t),he.timeContainer.appendChild(e),he.timeContainer.appendChild(n),he.config.time_24hr&&he.timeContainer.classList.add("time24hr"),he.config.enableSeconds){he.timeContainer.classList.add("hasSeconds");var a=D("flatpickr-second");he.secondElement=a.childNodes[0],he.secondElement.value=he.latestSelectedDateObj?he.pad(he.latestSelectedDateObj.getSeconds()):"00",he.secondElement.step=he.minuteElement.step,he.secondElement.min=he.minuteElement.min,he.secondElement.max=he.minuteElement.max,he.timeContainer.appendChild(de("span","flatpickr-time-separator",":")),he.timeContainer.appendChild(a)}return he.config.time_24hr||(he.amPM=de("span","flatpickr-am-pm",["AM","PM"][he.hourElement.value>11|0]),he.amPM.title=he.l10n.toggleTitle,he.amPM.tabIndex=-1,he.timeContainer.appendChild(he.amPM)),he.timeContainer}function E(){he.weekdayContainer||(he.weekdayContainer=de("div","flatpickr-weekdays"));var e=he.l10n.firstDayOfWeek,t=he.l10n.weekdays.shorthand.slice();return e>0&&e<t.length&&(t=[].concat(t.splice(e,t.length),t.splice(0,e))),he.weekdayContainer.innerHTML="\n\t\t<span class=flatpickr-weekday>\n\t\t\t"+t.join("</span><span class=flatpickr-weekday>")+"\n\t\t</span>\n\t\t",he.weekdayContainer}function N(){return he.calendarContainer.classList.add("hasWeeks"),he.weekWrapper=de("div","flatpickr-weekwrapper"),he.weekWrapper.appendChild(de("span","flatpickr-weekday",he.l10n.weekAbbreviation)),he.weekNumbers=de("div","flatpickr-weeks"),he.weekWrapper.appendChild(he.weekNumbers),he.weekWrapper}function T(e,t,n){var a=(t=void 0===t||t)?e:e-he.currentMonth,i=!he.config.animate||!1===n;if(!(a<0&&he._hidePrevMonthArrow||a>0&&he._hideNextMonthArrow)){if(he.currentMonth+=a,(he.currentMonth<0||he.currentMonth>11)&&(he.currentYear+=he.currentMonth>11?1:-1,he.currentMonth=(he.currentMonth+12)%12,te("YearChange")),M(i?void 0:a),i)return te("MonthChange"),re();var r=he.navigationCurrentMonth;if(a<0)for(;r.nextSibling&&/curr/.test(r.nextSibling.className);)he.monthNav.removeChild(r.nextSibling);else if(a>0)for(;r.previousSibling&&/curr/.test(r.previousSibling.className);)he.monthNav.removeChild(r.previousSibling);if(he.oldCurMonth=he.navigationCurrentMonth,he.navigationCurrentMonth=he.monthNav.insertBefore(he.oldCurMonth.cloneNode(!0),a>0?he.oldCurMonth.nextSibling:he.oldCurMonth),a>0?(he.daysContainer.firstChild.classList.add("slideLeft"),he.daysContainer.lastChild.classList.add("slideLeftNew"),he.oldCurMonth.classList.add("slideLeft"),he.navigationCurrentMonth.classList.add("slideLeftNew")):a<0&&(he.daysContainer.firstChild.classList.add("slideRightNew"),he.daysContainer.lastChild.classList.add("slideRight"),he.oldCurMonth.classList.add("slideRight"),he.navigationCurrentMonth.classList.add("slideRightNew")),he.currentMonthElement=he.navigationCurrentMonth.firstChild,he.currentYearElement=he.navigationCurrentMonth.lastChild.childNodes[0],re(),he.oldCurMonth.firstChild.textContent=he.utils.monthToStr(he.currentMonth-a),te("MonthChange"),document.activeElement&&document.activeElement.$i){var o=document.activeElement.$i;b(function(){w(o,0)})}}}function _(e){he.input.value="",he.altInput&&(he.altInput.value=""),he.mobileInput&&(he.mobileInput.value=""),he.selectedDates=[],he.latestSelectedDateObj=void 0,he.showTimeInput=!1,he.redraw(),!1!==e&&te("Change")}function S(){he.isOpen=!1,he.isMobile||(he.calendarContainer.classList.remove("open"),he._input.classList.remove("active")),te("Close")}function Y(){for(var e=he._handlers.length;e--;){var t=he._handlers[e];t.element.removeEventListener(t.event,t.handler)}he._handlers=[],he.mobileInput?(he.mobileInput.parentNode&&he.mobileInput.parentNode.removeChild(he.mobileInput),he.mobileInput=null):he.calendarContainer&&he.calendarContainer.parentNode&&he.calendarContainer.parentNode.removeChild(he.calendarContainer),he.altInput&&(he.input.type="text",he.altInput.parentNode&&he.altInput.parentNode.removeChild(he.altInput),delete he.altInput),he.input&&(he.input.type=he.input._type,he.input.classList.remove("flatpickr-input"),he.input.removeAttribute("readonly"),he.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){return delete he[e]})}function F(e){return!(!he.config.appendTo||!he.config.appendTo.contains(e))||he.calendarContainer.contains(e)}function I(e){if(he.isOpen&&!he.config.inline){var t=F(e.target),n=e.target===he.input||e.target===he.altInput||he.element.contains(e.target)||e.path&&e.path.indexOf&&(~e.path.indexOf(he.input)||~e.path.indexOf(he.altInput));("blur"===e.type?n&&e.relatedTarget&&!F(e.relatedTarget):!n&&!t)&&(e.preventDefault(),he.close(),"range"===he.config.mode&&1===he.selectedDates.length&&(he.clear(!1),he.redraw()))}}function O(e){if(!(!e||he.currentYearElement.min&&e<he.currentYearElement.min||he.currentYearElement.max&&e>he.currentYearElement.max)){var t=parseInt(e,10),n=he.currentYear!==t;he.currentYear=t||he.currentYear,he.config.maxDate&&he.currentYear===he.config.maxDate.getFullYear()?he.currentMonth=Math.min(he.config.maxDate.getMonth(),he.currentMonth):he.config.minDate&&he.currentYear===he.config.minDate.getFullYear()&&(he.currentMonth=Math.max(he.config.minDate.getMonth(),he.currentMonth)),n&&(he.redraw(),te("YearChange"))}}function A(e,t){if(he.config.minDate&&ge(e,he.config.minDate,void 0!==t?t:!he.minDateHasTime)<0||he.config.maxDate&&ge(e,he.config.maxDate,void 0!==t?t:!he.maxDateHasTime)>0)return!1;if(!he.config.enable.length&&!he.config.disable.length)return!0;for(var n,a=he.parseDate(e,null,!0),i=he.config.enable.length>0,r=i?he.config.enable:he.config.disable,o=0;o<r.length;o++){if((n=r[o])instanceof Function&&n(a))return i;if(n instanceof Date&&n.getTime()===a.getTime())return i;if("string"==typeof n&&he.parseDate(n,null,!0).getTime()===a.getTime())return i;if("object"===(void 0===n?"undefined":_typeof(n))&&n.from&&n.to&&a>=n.from&&a<=n.to)return i}return!i}function L(e){var t=e.target===he._input,n=F(e.target),r=he.config.allowInput,o=he.isOpen&&(!r||!t),l=he.config.inline&&t&&!r;if("Enter"===e.key&&r&&t)return he.setDate(he._input.value,!0,e.target===he.altInput?he.config.altFormat:he.config.dateFormat),e.target.blur();if(n||o||l){var c=he.timeContainer&&he.timeContainer.contains(e.target);switch(e.key){case"Enter":c?oe():U(e);break;case"Escape":e.preventDefault(),he.close();break;case"ArrowLeft":case"ArrowRight":if(!c)if(e.preventDefault(),he.daysContainer){var s="ArrowRight"===e.key?1:-1;e.ctrlKey?T(s,!0):w(e.target.$i,s)}else he.config.enableTime&&!c&&he.hourElement.focus();break;case"ArrowUp":case"ArrowDown":e.preventDefault();var d="ArrowDown"===e.key?1:-1;he.daysContainer?e.ctrlKey?(O(he.currentYear-d),w(e.target.$i,0)):c||w(e.target.$i,7*d):he.config.enableTime&&(c||he.hourElement.focus(),a(e));break;case"Tab":e.target===he.hourElement?(e.preventDefault(),he.minuteElement.select()):e.target===he.minuteElement&&(he.secondElement||he.amPM)?(e.preventDefault(),(he.secondElement||he.amPM).focus()):e.target===he.secondElement&&(e.preventDefault(),he.amPM.focus());break;case"a":e.target===he.amPM&&(he.amPM.textContent="AM",i(),oe());break;case"p":e.target===he.amPM&&(he.amPM.textContent="PM",i(),oe())}te("KeyDown",e)}}function P(e){if(1===he.selectedDates.length&&e.classList.contains("flatpickr-day")){for(var t=e.dateObj,n=he.parseDate(he.selectedDates[0],null,!0),a=Math.min(t.getTime(),he.selectedDates[0].getTime()),i=Math.max(t.getTime(),he.selectedDates[0].getTime()),r=!1,o=a;o<i;o+=he.utils.duration.DAY)if(!A(new Date(o))){r=!0;break}for(var l=he.days.childNodes[0].dateObj.getTime(),c=0;c<42;c++,l+=he.utils.duration.DAY){(function(o,l){var c=o<he.minRangeDate.getTime()||o>he.maxRangeDate.getTime(),s=he.days.childNodes[l];if(c)return he.days.childNodes[l].classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){s.classList.remove(e)}),"continue";if(r&&!c)return"continue";["startRange","inRange","endRange","notAllowed"].forEach(function(e){s.classList.remove(e)});var d=Math.max(he.minRangeDate.getTime(),a),u=Math.min(he.maxRangeDate.getTime(),i);e.classList.add(t<he.selectedDates[0]?"startRange":"endRange"),n<t&&o===n.getTime()?s.classList.add("startRange"):n>t&&o===n.getTime()&&s.classList.add("endRange"),o>=d&&o<=u&&s.classList.add("inRange")})(l,c)}}}function j(){!he.isOpen||he.config.static||he.config.inline||J()}function H(e){if(he.isMobile)return e&&(e.preventDefault(),e.target.blur()),setTimeout(function(){he.mobileInput.click()},0),void te("Open");he.isOpen||he._input.disabled||he.config.inline||(he.isOpen=!0,he.calendarContainer.classList.add("open"),J(),he._input.classList.add("active"),te("Open"))}function R(e){return function(t){var n=he.config["_"+e+"Date"]=he.parseDate(t),a=he.config["_"+("min"===e?"max":"min")+"Date"],i=t&&n instanceof Date;i&&(he[e+"DateHasTime"]=n.getHours()||n.getMinutes()||n.getSeconds()),he.selectedDates&&(he.selectedDates=he.selectedDates.filter(function(e){return A(e)}),he.selectedDates.length||"min"!==e||r(n),oe()),he.daysContainer&&(K(),i?he.currentYearElement[e]=n.getFullYear():he.currentYearElement.removeAttribute(e),he.currentYearElement.disabled=a&&n&&a.getFullYear()===n.getFullYear())}}function W(){var e=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=["onChange","onClose","onDayCreate","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange"];he.config=Object.create(flatpickr.defaultConfig);var a=_extends({},he.instanceConfig,JSON.parse(JSON.stringify(he.element.dataset||{})));he.config.parseDate=a.parseDate,he.config.formatDate=a.formatDate,_extends(he.config,a),!a.dateFormat&&a.enableTime&&(he.config.dateFormat=he.config.noCalendar?"H:i"+(he.config.enableSeconds?":S":""):flatpickr.defaultConfig.dateFormat+" H:i"+(he.config.enableSeconds?":S":"")),a.altInput&&a.enableTime&&!a.altFormat&&(he.config.altFormat=he.config.noCalendar?"h:i"+(he.config.enableSeconds?":S K":" K"):flatpickr.defaultConfig.altFormat+" h:i"+(he.config.enableSeconds?":S":"")+" K"),Object.defineProperty(he.config,"minDate",{get:function(){return this._minDate},set:R("min")}),Object.defineProperty(he.config,"maxDate",{get:function(){return this._maxDate},set:R("max")}),he.config.minDate=a.minDate,he.config.maxDate=a.maxDate;for(var i=0;i<e.length;i++)he.config[e[i]]=!0===he.config[e[i]]||"true"===he.config[e[i]];for(var r=t.length;r--;)void 0!==he.config[t[r]]&&(he.config[t[r]]=ue(he.config[t[r]]||[]).map(n));for(var o=0;o<he.config.plugins.length;o++){var l=he.config.plugins[o](he)||{};for(var c in l)he.config[c]instanceof Array||~t.indexOf(c)?he.config[c]=ue(l[c]).map(n).concat(he.config[c]):void 0===a[c]&&(he.config[c]=l[c])}te("ParseConfig")}function B(){"object"!==_typeof(he.config.locale)&&void 0===flatpickr.l10ns[he.config.locale]&&console.warn("flatpickr: invalid locale "+he.config.locale),he.l10n=_extends(Object.create(flatpickr.l10ns.default),"object"===_typeof(he.config.locale)?he.config.locale:"default"!==he.config.locale?flatpickr.l10ns[he.config.locale]||{}:{})}function J(){if(void 0!==he.calendarContainer){var e=he.calendarContainer.offsetHeight,t=he.calendarContainer.offsetWidth,n=he.config.position,a=he._positionElement.getBoundingClientRect(),i=window.innerHeight-a.bottom,r="above"===n||"below"!==n&&i<e&&a.top>e,o=window.pageYOffset+a.top+(r?-e-2:he._positionElement.offsetHeight+2);if(fe(he.calendarContainer,"arrowTop",!r),fe(he.calendarContainer,"arrowBottom",r),!he.config.inline){var l=window.pageXOffset+a.left,c=window.document.body.offsetWidth-a.right,s=l+t>window.document.body.offsetWidth;fe(he.calendarContainer,"rightMost",s),he.config.static||(he.calendarContainer.style.top=o+"px",s?(he.calendarContainer.style.left="auto",he.calendarContainer.style.right=c+"px"):(he.calendarContainer.style.left=l+"px",he.calendarContainer.style.right="auto"))}}}function K(){he.config.noCalendar||he.isMobile||(E(),re(),M())}function U(e){if(e.preventDefault(),e.stopPropagation(),e.target.classList.contains("flatpickr-day")&&!e.target.classList.contains("disabled")&&!e.target.classList.contains("notAllowed")){var t=he.latestSelectedDateObj=new Date(e.target.dateObj.getTime()),n=t.getMonth()!==he.currentMonth&&"range"!==he.config.mode;if(he.selectedDateElem=e.target,"single"===he.config.mode)he.selectedDates=[t];else if("multiple"===he.config.mode){var a=ae(t);a?he.selectedDates.splice(a,1):he.selectedDates.push(t)}else"range"===he.config.mode&&(2===he.selectedDates.length&&he.clear(),he.selectedDates.push(t),0!==ge(t,he.selectedDates[0],!0)&&he.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(i(),n){var o=he.currentYear!==t.getFullYear();he.currentYear=t.getFullYear(),he.currentMonth=t.getMonth(),o&&te("YearChange"),te("MonthChange")}if(M(),he.minDateHasTime&&he.config.enableTime&&0===ge(t,he.config.minDate)&&r(he.config.minDate),oe(),he.config.enableTime&&setTimeout(function(){return he.showTimeInput=!0},50),"range"===he.config.mode&&(1===he.selectedDates.length?(P(e.target),he._hidePrevMonthArrow=he._hidePrevMonthArrow||he.minRangeDate>he.days.childNodes[0].dateObj,he._hideNextMonthArrow=he._hideNextMonthArrow||he.maxRangeDate<new Date(he.currentYear,he.currentMonth+1,1)):re()),te("Change"),n?b(function(){return he.selectedDateElem.focus()}):w(e.target.$i,0),he.config.enableTime&&setTimeout(function(){return he.hourElement.select()},451),he.config.closeOnSelect){var l="single"===he.config.mode&&!he.config.enableTime,c="range"===he.config.mode&&2===he.selectedDates.length&&!he.config.enableTime;(l||c)&&he.close()}}}function $(e,t){he.config[e]=t,he.redraw(),g()}function z(e,t){if(e instanceof Array)he.selectedDates=e.map(function(e){return he.parseDate(e,t)});else if(e instanceof Date||!isNaN(e))he.selectedDates=[he.parseDate(e,t)];else if(e&&e.substring)switch(he.config.mode){case"single":he.selectedDates=[he.parseDate(e,t)];break;case"multiple":he.selectedDates=e.split("; ").map(function(e){return he.parseDate(e,t)});break;case"range":he.selectedDates=e.split(he.l10n.rangeSeparator).map(function(e){return he.parseDate(e,t)})}he.selectedDates=he.selectedDates.filter(function(e){return e instanceof Date&&A(e,!1)}),he.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function G(e,t,n){if(!e)return he.clear(t);z(e,n),he.showTimeInput=he.selectedDates.length>0,he.latestSelectedDateObj=he.selectedDates[0],he.redraw(),g(),r(),oe(t),t&&te("Change")}function V(){function e(e){for(var t=e.length;t--;)"string"==typeof e[t]||+e[t]?e[t]=he.parseDate(e[t],null,!0):e[t]&&e[t].from&&e[t].to&&(e[t].from=he.parseDate(e[t].from),e[t].to=he.parseDate(e[t].to));return e.filter(function(e){return e})}he.selectedDates=[],he.now=new Date,he.config.disable.length&&(he.config.disable=e(he.config.disable)),he.config.enable.length&&(he.config.enable=e(he.config.enable));var t=he.config.defaultDate||he.input.value;t&&z(t,he.config.dateFormat);var n=he.selectedDates.length?he.selectedDates[0]:he.config.minDate&&he.config.minDate.getTime()>he.now?he.config.minDate:he.config.maxDate&&he.config.maxDate.getTime()<he.now?he.config.maxDate:he.now;he.currentYear=n.getFullYear(),he.currentMonth=n.getMonth(),he.selectedDates.length&&(he.latestSelectedDateObj=he.selectedDates[0]),he.minDateHasTime=he.config.minDate&&(he.config.minDate.getHours()||he.config.minDate.getMinutes()||he.config.minDate.getSeconds()),he.maxDateHasTime=he.config.maxDate&&(he.config.maxDate.getHours()||he.config.maxDate.getMinutes()||he.config.maxDate.getSeconds()),Object.defineProperty(he,"latestSelectedDateObj",{get:function(){return he._selectedDateObj||he.selectedDates[he.selectedDates.length-1]},set:function(e){he._selectedDateObj=e}}),he.isMobile||Object.defineProperty(he,"showTimeInput",{get:function(){return he._showTimeInput},set:function(e){he._showTimeInput=e,he.calendarContainer&&fe(he.calendarContainer,"showTimeInput",e),J()}})}function Z(){he.utils={duration:{DAY:864e5},getDaysinMonth:function(e,t){return e=void 0===e?he.currentMonth:e,t=void 0===t?he.currentYear:t,1===e&&(t%4==0&&t%100!=0||t%400==0)?29:he.l10n.daysInMonth[e]},monthToStr:function(e,t){return t=void 0===t?he.config.shorthandCurrentMonth:t,he.l10n.months[(t?"short":"long")+"hand"][e]}}}function q(){["D","F","J","M","W","l"].forEach(function(e){he.formats[e]=Flatpickr.prototype.formats[e].bind(he)}),he.revFormat.F=Flatpickr.prototype.revFormat.F.bind(he),he.revFormat.M=Flatpickr.prototype.revFormat.M.bind(he)}function Q(){if(he.input=he.config.wrap?he.element.querySelector("[data-input]"):he.element,!he.input)return console.warn("Error: invalid input element specified",he.input);he.input._type=he.input.type,he.input.type="text",he.input.classList.add("flatpickr-input"),he._input=he.input,he.config.altInput&&(he.altInput=de(he.input.nodeName,he.input.className+" "+he.config.altInputClass),he._input=he.altInput,he.altInput.placeholder=he.input.placeholder,he.altInput.disabled=he.input.disabled,he.altInput.type="text",he.input.type="hidden",!he.config.static&&he.input.parentNode&&he.input.parentNode.insertBefore(he.altInput,he.input.nextSibling)),he.config.allowInput||he._input.setAttribute("readonly","readonly"),he._positionElement=he.config.positionElement||he._input}function X(){var e=he.config.enableTime?he.config.noCalendar?"time":"datetime-local":"date";he.mobileInput=de("input",he.input.className+" flatpickr-mobile"),he.mobileInput.step="any",he.mobileInput.tabIndex=1,he.mobileInput.type=e,he.mobileInput.disabled=he.input.disabled,he.mobileInput.placeholder=he.input.placeholder,he.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",he.selectedDates.length&&(he.mobileInput.defaultValue=he.mobileInput.value=he.formatDate(he.selectedDates[0],he.mobileFormatStr)),he.config.minDate&&(he.mobileInput.min=he.formatDate(he.config.minDate,"Y-m-d")),he.config.maxDate&&(he.mobileInput.max=he.formatDate(he.config.maxDate,"Y-m-d")),he.input.type="hidden",he.config.altInput&&(he.altInput.type="hidden");try{he.input.parentNode.insertBefore(he.mobileInput,he.input.nextSibling)}catch(e){}he.mobileInput.addEventListener("change",function(e){he.setDate(e.target.value,!1,he.mobileFormatStr),te("Change"),te("Close")})}function ee(){if(he.isOpen)return he.close();he.open()}function te(e,t){var n=he.config["on"+e];if(void 0!==n&&n.length>0)for(var a=0;n[a]&&a<n.length;a++)n[a](he.selectedDates,he.input.value,he,t);"Change"===e&&(he.input.dispatchEvent(ne("change")),he.input.dispatchEvent(ne("input")))}function ne(e){return he._supportsEvents?new Event(e,{bubbles:!0}):(he._[e+"Event"]=document.createEvent("Event"),he._[e+"Event"].initEvent(e,!0,!0),he._[e+"Event"])}function ae(e){for(var t=0;t<he.selectedDates.length;t++)if(0===ge(he.selectedDates[t],e))return""+t;return!1}function ie(e){return!("range"!==he.config.mode||he.selectedDates.length<2)&&(ge(e,he.selectedDates[0])>=0&&ge(e,he.selectedDates[1])<=0)}function re(){he.config.noCalendar||he.isMobile||!he.monthNav||(he.currentMonthElement.textContent=he.utils.monthToStr(he.currentMonth)+" ",he.currentYearElement.value=he.currentYear,he._hidePrevMonthArrow=he.config.minDate&&(he.currentYear===he.config.minDate.getFullYear()?he.currentMonth<=he.config.minDate.getMonth():he.currentYear<he.config.minDate.getFullYear()),he._hideNextMonthArrow=he.config.maxDate&&(he.currentYear===he.config.maxDate.getFullYear()?he.currentMonth+1>he.config.maxDate.getMonth():he.currentYear>he.config.maxDate.getFullYear()))}function oe(e){if(!he.selectedDates.length)return he.clear(e);he.isMobile&&(he.mobileInput.value=he.selectedDates.length?he.formatDate(he.latestSelectedDateObj,he.mobileFormatStr):"");var t="range"!==he.config.mode?"; ":he.l10n.rangeSeparator;he.input.value=he.selectedDates.map(function(e){return he.formatDate(e,he.config.dateFormat)}).join(t),he.config.altInput&&(he.altInput.value=he.selectedDates.map(function(e){return he.formatDate(e,he.config.altFormat)}).join(t)),te("ValueUpdate")}function le(e){return Math.max(-1,Math.min(1,e.wheelDelta||-e.deltaY))}function ce(e){e.preventDefault();var t=he.currentYearElement.parentNode.contains(e.target);if(e.target===he.currentMonthElement||t){var n=le(e);t?(O(he.currentYear+n),e.target.value=he.currentYear):he.changeMonth(n,!0,!1)}}function se(e){var t=he.prevMonthNav.contains(e.target),n=he.nextMonthNav.contains(e.target);t||n?T(t?-1:1):e.target===he.currentYearElement?(e.preventDefault(),he.currentYearElement.select()):"arrowUp"===e.target.className?he.changeYear(he.currentYear+1):"arrowDown"===e.target.className&&he.changeYear(he.currentYear-1)}function de(e,t,n){var a=window.document.createElement(e);return t=t||"",n=n||"",a.className=t,void 0!==n&&(a.textContent=n),a}function ue(e){return e instanceof Array?e:[e]}function fe(e,t,n){if(n)return e.classList.add(t);e.classList.remove(t)}function me(e,t,n){var a=void 0;return function(){var i=this,r=arguments;clearTimeout(a),a=setTimeout(function(){a=null,n||e.apply(i,r)},t),n&&!a&&e.apply(i,r)}}function ge(e,t,n){return e instanceof Date&&t instanceof Date&&(!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime())}function pe(e){e.preventDefault();var t="keydown"===e.type,n=(e.type,e.type,e.target);if(he.amPM&&e.target===he.amPM)return e.target.textContent=["AM","PM"]["AM"===e.target.textContent|0];var a=Number(n.min),i=Number(n.max),r=Number(n.step),o=parseInt(n.value,10),l=o+r*(e.delta||(t?38===e.which?1:-1:Math.max(-1,Math.min(1,e.wheelDelta||-e.deltaY))||0));if(void 0!==n.value&&2===n.value.length){var c=n===he.hourElement,s=n===he.minuteElement;l<a?(l=i+l+!c+(c&&!he.amPM),s&&h(null,-1,he.hourElement)):l>i&&(l=n===he.hourElement?l-i-!he.amPM:a,s&&h(null,1,he.hourElement)),he.amPM&&c&&(1===r?l+o===23:Math.abs(l-o)>r)&&(he.amPM.textContent="PM"===he.amPM.textContent?"AM":"PM"),n.value=he.pad(l)}}var he=this;return he._={},he._.afterDayAnim=b,he.changeMonth=T,he.changeYear=O,he.clear=_,he.close=S,he._createElement=de,he.destroy=Y,he.isEnabled=A,he.jumpToDate=g,he.open=H,he.redraw=K,he.set=$,he.setDate=G,he.toggle=ee,function(){he.element=he.input=e,he.instanceConfig=t||{},he.parseDate=Flatpickr.prototype.parseDate.bind(he),he.formatDate=Flatpickr.prototype.formatDate.bind(he),q(),W(),B(),Q(),V(),Z(),he.isOpen=!1,he.isMobile=!he.config.disableMobile&&!he.config.inline&&"single"===he.config.mode&&!he.config.disable.length&&!he.config.enable.length&&!he.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),he.isMobile||v(),d(),(he.selectedDates.length||he.config.noCalendar)&&(he.config.enableTime&&r(he.config.noCalendar?he.latestSelectedDateObj||he.config.minDate:null),oe()),he.config.weekNumbers&&(he.calendarContainer.style.width=he.daysContainer.offsetWidth+he.weekWrapper.offsetWidth+"px"),he.showTimeInput=he.selectedDates.length>0||he.config.noCalendar,he.isMobile||J(),te("Ready")}(),he}function _flatpickr(e,t){for(var n=Array.prototype.slice.call(e),a=[],i=0;i<n.length;i++)try{n[i]._flatpickr&&(n[i]._flatpickr.destroy(),n[i]._flatpickr=null),n[i]._flatpickr=new Flatpickr(n[i],t||{}),a.push(n[i]._flatpickr)}catch(e){console.warn(e,e.stack)}return 1===a.length?a[0]:a}function flatpickr(e,t){return e instanceof HTMLElement?_flatpickr([e],t):_flatpickr(window.document.querySelectorAll(e),t)}var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Flatpickr.prototype={formats:{Z:function(e){return e.toISOString()},D:function(e){return this.l10n.weekdays.shorthand[this.formats.w(e)]},F:function(e){return this.utils.monthToStr(this.formats.n(e)-1,!1)},G:function(e){return Flatpickr.prototype.pad(Flatpickr.prototype.formats.h(e))},H:function(e){return Flatpickr.prototype.pad(e.getHours())},J:function(e){return e.getDate()+this.l10n.ordinal(e.getDate())},K:function(e){return e.getHours()>11?"PM":"AM"},M:function(e){return this.utils.monthToStr(e.getMonth(),!0)},S:function(e){return Flatpickr.prototype.pad(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e){return this.config.getWeek(e)},Y:function(e){return e.getFullYear()},d:function(e){return Flatpickr.prototype.pad(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return Flatpickr.prototype.pad(e.getMinutes())},j:function(e){return e.getDate()},l:function(e){return this.l10n.weekdays.longhand[e.getDay()]},m:function(e){return Flatpickr.prototype.pad(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},formatDate:function(e,t){var n=this;return void 0!==this.config&&void 0!==this.config.formatDate?this.config.formatDate(e,t):t.split("").map(function(t,a,i){return n.formats[t]&&"\\"!==i[a-1]?n.formats[t](e):"\\"!==t?t:""}).join("")},revFormat:{D:function(){},F:function(e,t){e.setMonth(this.l10n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t){var n=e.getHours();12!==n&&e.setHours(n%12+12*/pm/i.test(t))},M:function(e,t){e.setMonth(this.l10n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(t)},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t){return t=parseInt(t),new Date(e.getFullYear(),0,2+7*(t-1),0,0,0,0,0)},Y:function(e,t){e.setFullYear(t)},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:function(){},m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},w:function(){},y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},tokenRegex:{D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"(\\w+)",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},pad:function(e){return("0"+e).slice(-2)},parseDate:function(e,t,n){if(!e)return null;var a=e;if(e instanceof Date)e=new Date(e.getTime());else if(void 0!==e.toFixed)e=new Date(e);else{var i=t||(this.config||flatpickr.defaultConfig).dateFormat;if("today"===(e=String(e).trim()))e=new Date,n=!0;else if(/Z$/.test(e)||/GMT$/.test(e))e=new Date(e);else if(this.config&&this.config.parseDate)e=this.config.parseDate(e,i);else{for(var r=this.config&&this.config.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),o=void 0,l=0,c=0,s="";l<i.length;l++){var d=i[l],u="\\"===d,f="\\"===i[l-1]||u;if(this.tokenRegex[d]&&!f){s+=this.tokenRegex[d];var m=new RegExp(s).exec(e);m&&(o=!0)&&(r=this.revFormat[d](r,m[++c])||r)}else u||(s+=".")}e=o?r:null}}return e instanceof Date?(!0===n&&e.setHours(0,0,0,0),e):(console.warn("flatpickr: invalid date "+a),console.info(this.element),null)}},"undefined"!=typeof HTMLElement&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return _flatpickr(this,e)},HTMLElement.prototype.flatpickr=function(e){return _flatpickr([this],e)}),flatpickr.defaultConfig=Flatpickr.defaultConfig={mode:"single",position:"auto",animate:-1===window.navigator.userAgent.indexOf("MSIE"),wrap:!1,weekNumbers:!1,allowInput:!1,clickOpens:!0,closeOnSelect:!0,time_24hr:!1,enableTime:!1,noCalendar:!1,dateFormat:"Y-m-d",ariaDateFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",altFormat:"F j, Y",defaultDate:null,minDate:null,maxDate:null,parseDate:null,formatDate:null,getWeek:function(e){var t=new Date(e.getTime()),n=new Date(t.getFullYear(),0,1);return Math.ceil(((t-n)/864e5+n.getDay()+1)/7)},enable:[],disable:[],shorthandCurrentMonth:!1,inline:!1,static:!1,appendTo:null,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",enableSeconds:!1,hourIncrement:1,minuteIncrement:5,defaultHour:12,defaultMinute:0,disableMobile:!1,locale:"default",plugins:[],onClose:void 0,onChange:void 0,onDayCreate:void 0,onMonthChange:void 0,onOpen:void 0,onParseConfig:void 0,onReady:void 0,onValueUpdate:void 0,onYearChange:void 0,onKeyDown:void 0},flatpickr.l10ns={en:{weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle"}},flatpickr.l10ns.default=Object.create(flatpickr.l10ns.en),flatpickr.localize=function(e){return _extends(flatpickr.l10ns.default,e||{})},flatpickr.setDefaults=function(e){return _extends(flatpickr.defaultConfig,e||{})},"undefined"!=typeof jQuery&&(jQuery.fn.flatpickr=function(e){return _flatpickr(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+parseInt(e,10))},"undefined"!=typeof module&&(module.exports=flatpickr);
  
  
  
  
  $(".datepicker").flatpickr({
  	enableTime: false,
  	disableMobile: "true"
  });