!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?exports.TimekitBooking=t(require("jquery")):e.TimekitBooking=t(e.jQuery)}(this,function(e){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(){var e,t,i,u,d,h={},f=function(t){var n=t.targetEl||h.targetEl||c.primary.targetEl;if(e=r(n),0===e.length)throw z("No target DOM element was found ("+n+")");e.addClass("bookingjs"),e.children(":not(script)").remove()},p=function(){o.configure(h.timekitConfig)},g=function(){o.setUser(h.email,h.apiToken)},m=function(){var e={};h.timekitFindTime.calendar_ids||h.timekitFindTime.user_ids||(e.emails=[h.email]),r.extend(e,h.timekitFindTime),l.doCallback("findTimeStarted",h,e),o.findTime(e).then(function(e){l.doCallback("findTimeSuccessful",h,e),M(),e.data.length>0&&D(e.data)}).catch(function(e){l.doCallback("findTimeFailed",h,e),M(),z(["An error with Timekit FindTime occured",e])})},v=function(){var e={url:"/findtime/team",method:"post",data:h.timekitFindTimeTeam};r.each(h.timekitFindTimeTeam.users,function(e,t){r.extend(t,h.timekitFindTime),t.calendar_ids||t.user_ids||(t.emails=[t._email])}),l.doCallback("findTimeTeamStarted",h,e),o.makeRequest(e).then(function(e){l.doCallback("findTimeTeamSuccessful",h,e),M(),e.data.length>0&&D(e.data)}).catch(function(e){l.doCallback("findTimeTeamFailed",h,e),M(),z(["An error with Timekit FindTimeTeam occured",e])})},b=function(){l.doCallback("GetBookingSlotsStarted",h);var e={url:"/bookings/groups",method:"get"};h.widgetId&&(e.params={search:"widget.id:"+h.widgetId}),o.makeRequest(e).then(function(e){var t=e.data.map(function(e){return{title:e.attributes.event_info.what,start:e.attributes.event_info.start,end:e.attributes.event_info.end,booking:e}});l.doCallback("getBookingSlotsSuccessful",h,e),M(),t.length>0&&D(t)}).catch(function(e){l.doCallback("getBookingSlotsFailed",h,e),M(),z(["An error with Timekit GetBookings occured",e])})},y=function(){_(),t.fullCalendar("removeEventSources"),"group_customer"===h.bookingGraph||"group_customer_payment"===h.bookingGraph?b():h.timekitFindTimeTeam?v():m()},w=function(e){t.fullCalendar("gotoDate",e);var n=s(e).format("H");k(n)},k=function(e){if("agendaWeek"===t.fullCalendar("getView").name){var n=t.fullCalendar("option","slotDuration"),i=30;n&&(i=n.slice(3,5));var o=t.find(".fc-slats .fc-minor"),a=r(o[0]).height()*(60/i),l=0;if(h.fullCalendar.minTime){var c=s(h.fullCalendar.minTime,"HH:mm:ss").format("H");l=a*c}var u=a*e-l,d=t.find(".fc-scroller"),f=d.height(),p=d.scrollTop(),g=d.find(".fc-time-grid").height();u>p&&u
g-f&&(u=g-f),d.animate({scrollTop:u}))}},S=function(){var t=s().utcOffset()/60,i=n(59),c=n(9),u=r(c.render({timezoneIcon:i,loadingText:h.localization.strings.timezoneHelperLoading,loading:!0}));e.addClass("has-timezonehelper"),e.append(u);var d={email:h.email};l.doCallback("getUserTimezoneStarted",h,d),o.getUserTimezone(d).then(function(e){l.doCallback("getUserTimezoneSuccessful",h,e);var o=e.data.utc_offset,s=t-o,c=Math.abs(t-o),d=s>0?"ahead of":"behind",f=n(9),p=r(f.render({timezoneIcon:i,timezoneDifference:0!==c,timezoneDifferent:a.sprintf(h.localization.strings.timezoneHelperDifferent,c,d,h.name),timezoneSame:a.sprintf(h.localization.strings.timezoneHelperSame,h.name)}));u.replaceWith(p)}).catch(function(e){l.doCallback("getUserTimezoneFailed",h,e),l.logError(["An error with Timekit getUserTimezone occured",e])})},A=function(){var n=T(h.fullCalendar.defaultView),i={height:n.height,eventClick:x,windowResize:function(){var e=T();t.fullCalendar("changeView",e.view),t.fullCalendar("option","height",e.height)}};r.extend(!0,i,h.fullCalendar),i.defaultView=n.view,t=r('
'),e.append(t),t.fullCalendar(i),l.doCallback("fullCalendarInitialized",h)},x=function(e){h.disableConfirmPage?(r(".fc-event-clicked").removeClass("fc-event-clicked"),r(this).addClass("fc-event-clicked"),l.doCallback("clickTimeslot",h,e)):R(e)},T=function(n){n=n||t.fullCalendar("getView").name;var i=h.fullCalendar.defaultView,r=430;return e.width()<480?(r=390,e.addClass("is-small"),h.avatar&&(r-=15),"agendaWeek"!==n&&"basicDay"!==n||(i="basicDay")):e.removeClass("is-small"),h.bookingFields.comment.enabled&&(r+=100),h.bookingFields.phone.enabled&&(r+=64),h.bookingFields.voip.enabled&&(r+=64),h.bookingFields.location.enabled&&(r+=64),h.localization.showTimezoneHelper||(r+=33),{height:r,view:i}},D=function(e){var n=s(e[0].start),i=s(e[0].end),r=i.diff(n,"minutes");r<=90&&t.fullCalendar("option","slotDuration","00:15:00"),t.fullCalendar("addEventSource",{events:e}),t.removeClass("empty-calendar"),h.goToFirstEvent&&w(e[0].start)},E=function(){var t=n(47),i=r(t.render({image:h.avatar}));e.addClass("has-avatar"),e.append(i)},C=function(){var t=n(48),i=r(t.render({name:h.name}));e.addClass("has-displayname"),e.append(i)},_=function(){l.doCallback("showLoadingScreen",h);var t=n(45);u=r(t.render({loadingIcon:n(11)})),e.append(u)},M=function(){l.doCallback("hideLoadingScreen",h),u.removeClass("show"),setTimeout(function(){u.remove()},500)},z=function(t){if(d)return t;if(l.doCallback("errorTriggered",t),l.logError(t),!e)return t;var i=t,o=null;l.isArray(t)&&(i=t[0],o=t[1].data?JSON.stringify(t[1].data.errors||t[1].data.error||t[1].data):JSON.stringify(t[1]));var a=n(44);return d=r(a.render({errorWarningIcon:n(57),message:i,context:o})),e.append(d),t},R=function(t){l.doCallback("showBookingPage",h,t);var o=n(42),c=n(43),u=h.localization.bookingDateFormat||s.localeData().longDateFormat("LL"),d=h.localization.bookingTimeFormat||s.localeData().longDateFormat("LT");i=r(c.render({chosenDate:s(t.start).format(u),chosenTime:s(t.start).format(d)+" - "+s(t.end).format(d),closeIcon:n(55),checkmarkIcon:n(54),loadingIcon:n(11),errorIcon:n(56),submitText:h.localization.strings.submitText,successMessageTitle:h.localization.strings.successMessageTitle,successMessageBody:a.sprintf(h.localization.strings.successMessageBody,' '),fields:h.bookingFields},{formFields:o}));var f=i.children(".bookingjs-form");i.children(".bookingjs-bookpage-close").click(function(e){e.preventDefault();var t=r(f).hasClass("success");t&&y(),H()}),t.users&&l.logDebug(["Available users for chosen timeslot:",t.users],h),f.find(".bookingjs-form-input").on("input",function(){var e=r(this).closest(".bookingjs-form-field");this.value?e.addClass("bookingjs-form-field--dirty"):e.removeClass("bookingjs-form-field--dirty")}),f.submit(function(e){L(this,e,t)}),h.showCredits&&O(i),r(document).on("keyup",function(e){27===e.keyCode&&H()}),e.append(i),setTimeout(function(){i.addClass("show")},100)},H=function(){l.doCallback("closeBookingPage",h),i.removeClass("show"),setTimeout(function(){i.remove()},200),r(document).off("keyup")},L=function(e,t,n){t.preventDefault();var i=r(e);if(i.hasClass("success"))return y(),void H();if(i.hasClass("loading")||i.hasClass("error")||!t.target.checkValidity()){var o=i.find(".bookingjs-form-button");return o.addClass("button-shake"),void setTimeout(function(){o.removeClass("button-shake")},500)}var a={};r.each(i.serializeArray(),function(e,t){a[t.name]=t.value}),i.addClass("loading"),l.doCallback("submitBookingForm",h,a),j(a,n).then(function(e){i.find(".booked-email").html(a.email),i.removeClass("loading").addClass("success")}).catch(function(e){P(i)})},P=function(e){var t=e.find(".bookingjs-form-button");t.addClass("button-shake"),setTimeout(function(){t.removeClass("button-shake")},500),e.removeClass("loading").addClass("error"),setTimeout(function(){e.removeClass("error")},2e3)},j=function(e,t){var n={event:{start:t.start.format(),end:t.end.format(),what:h.name+" x "+e.name,where:"TBD",description:"",calendar_id:h.calendar,participants:[e.email]},customer:{name:e.name,email:e.email,timezone:s.tz.guess()}};if(h.bookingFields.location.enabled&&(n.event.where=e.location),h.bookingFields.comment.enabled&&(n.event.description+=h.bookingFields.comment.placeholder+": "+e.comment+"\n"),h.bookingFields.phone.enabled&&(n.customer.phone=e.phone,n.event.description+=h.bookingFields.phone.placeholder+": "+e.phone+"\n"),h.bookingFields.voip.enabled&&(n.customer.voip=e.voip,n.event.description+=h.bookingFields.voip.placeholder+": "+e.voip+"\n"),r.extend(!0,n,h.timekitCreateBooking),"group_customer"!==h.bookingGraph&&"group_customer_payment"!==h.bookingGraph||(delete n.event,n.related={owner_booking_id:t.booking.id}),t.users){var i=t.users[0],a=r.grep(h.timekitFindTimeTeam.users,function(e){return i.email===e._email});if(a.length<1||!a[0]._calendar)throw z(["Encountered an error when picking designated team user to receive booking",i,h.timekitFindTimeTeam.users]);o=o.asUser(i.email,i.token),n.event.calendar_id=a[0]._calendar,l.logDebug(["Creating booking for user:",i],h)}!t.users&&h.widgetId&&(n.widget_id=h.widgetId),l.doCallback("createBookingStarted",h,n);var c={"Timekit-OutputTimestampFormat":"Y-m-d "+h.localization.emailTimeFormat+" (P e)"},u=o.include("attributes","event","user").headers(c).createBooking(n);return u.then(function(e){l.doCallback("createBookingSuccessful",h,e)}).catch(function(e){l.doCallback("createBookingFailed",h,e),z(["An error with Timekit CreateBooking occured",e])}),u},O=function(e){var t="widget",i=window.location.hostname.replace(/\./g,"-");h.widgetId&&(t="embedded-widget"),h.widgetSlug&&(t="hosted-widget");var o=n(46),a=n(58),s=r(o.render({timekitLogo:a,campaignName:t,campaignSource:i}));e.append(s)},I=function(e){return r.extend(!0,{},c.primary,e)},N=function(e,t,n){var i=c.presets[t][n];return i?r.extend(!0,{},i,e):e},F=function(e){if(void 0===e||"object"!=typeof e||r.isEmptyObject(e))throw z("No configuration was supplied or found. Please supply a config object upon library initialization");var t=I(e);if(e.app&&(t.timekitConfig.app=e.app),t=N(t,"timeDateFormat",t.localization.timeDateFormat),t=N(t,"bookingGraph",t.bookingGraph),t=N(t,"availabilityView",t.availabilityView),!t.app&&!t.timekitConfig.app)throw z('A required config setting ("app") was missing');if(!t.email)throw z('A required config setting ("email") was missing');if(!t.apiToken)throw z('A required config setting ("apiToken") was missing');if(!t.calendar&&"group_customer"!==t.bookingGraph&&"group_customer_payment"!==t.bookingGraph&&!t.timekitFindTimeTeam)throw z('A required config setting ("calendar") was missing');return h=t,l.logDebug(["Final config:",h],h),l.logDebug(["Version:",G()],h),h},B=function(){return h},G=function(){return"1.16.0"},Y=function(){return l.doCallback("renderStarted",h),p(),g(),A(),y(),h.localization.showTimezoneHelper&&S(),h.avatar&&E(),h.name&&C(),l.doCallback("renderCompleted",h),this},W=function(e){l.logDebug(["Supplied config:",e],e);try{if(f(e||{}),!e||!e.widgetId&&!e.widgetSlug||e.disableRemoteLoad)return V(e)}catch(e){return this}return q(e).then(function(t){var n=t.data.config;t.data.id&&(n.widgetId=t.data.id);var i=r.extend(!0,{},n,e);l.logDebug(["Remote config:",n],i),V(i)}).catch(function(){z("The widget could not be found, please double-check your widgetId/widgetSlug")}),this},q=function(e){if(h=I(e),p(),e.widgetId)return o.getEmbedWidget({id:e.widgetId});if(e.widgetSlug)return o.getHostedWidget({slug:e.widgetSlug});throw z("No widget configuration, widgetSlug or widgetId found")},V=function(e){return F(e),Y()},U=function(){return f({}),h={},this},Z=function(){if(void 0!==t.fullCalendar)return t.fullCalendar.apply(t,arguments)};return{setConfig:F,getConfig:B,getVersion:G,render:Y,init:W,destroy:U,timekitCreateBooking:j,fullCalendar:Z,timekitSdk:o}}/*!
* Booking.js
* http://timekit.io
*
* Copyright 2015 Timekit, Inc.
* Booking.js is freely distributable under the MIT license.
*
*/
var r=n(13),o=n(60),a=n(49);window.fullcalendar=n(36);var s=window.moment=n(4);n(40),n(50);var l=n(62),c=n(61);n(51),n(53),n(52);var u=window.timekitBookingConfig;window&&u&&u.autoload!==!1?r(window).load(function(){var t=new i;t.init(u),e.exports=t}):e.exports=i},function(e,t){"use strict";function n(e){return"[object Array]"===w.call(e)}function i(e){return"[object ArrayBuffer]"===w.call(e)}function r(e){return"undefined"!=typeof FormData&&e instanceof FormData}function o(e){var t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function a(e){return"string"==typeof e}function s(e){return"number"==typeof e}function l(e){return"undefined"==typeof e}function c(e){return null!==e&&"object"==typeof e}function u(e){return"[object Date]"===w.call(e)}function d(e){return"[object File]"===w.call(e)}function h(e){return"[object Blob]"===w.call(e)}function f(e){return"[object Function]"===w.call(e)}function p(e){return c(e)&&f(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function m(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function v(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function b(e,t){if(null!==e&&"undefined"!=typeof e)if("object"==typeof e||n(e)||(e=[e]),n(e))for(var i=0,r=e.length;i0)for(n=0;n0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function O(e,t){var n=e.toLowerCase();ji[n]=ji[n+"s"]=ji[t]=e}function I(e){return"string"==typeof e?ji[e]||ji[e.toLowerCase()]:void 0}function N(e){var t,n,i={};for(n in e)d(e,n)&&(t=I(n),t&&(i[t]=e[n]));return i}function F(e,t){Oi[e]=t}function B(e){var t=[];for(var n in e)t.push({unit:n,priority:Oi[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function G(e,n){return function(i){return null!=i?(W(this,e,i),t.updateOffset(this,n),this):Y(this,e)}}function Y(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function W(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=I(e),E(this[e])?this[e]():this}function V(e,t){if("object"==typeof e){e=N(e);for(var n=B(e),i=0;i=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function Z(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Bi[e]=r),t&&(Bi[t[0]]=function(){return U(r.apply(this,arguments),t[1],t[2])}),n&&(Bi[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function X(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var t,n,i=e.match(Ii);for(t=0,n=i.length;t=0&&Ni.test(e);)e=e.replace(Ni,n),Ni.lastIndex=0,i-=1;return e}function Q(e,t,n){or[e]=E(t)?t:function(e,i){return e&&n?n:t}}function ee(e,t){return d(or,e)?or[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ie(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=S(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ke(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Se(e,t,n){var i=7+t-n,r=(7+ke(e,0,i).getUTCDay()-t)%7;return-r+i-1}function Ae(e,t,n,i,r){var o,a,s=(7+n-i)%7,l=Se(e,i,r),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ve(o)+c):c>ve(e)?(o=e+1,a=c-ve(e)):(o=e,a=c),{year:o,dayOfYear:a}}function xe(e,t,n){var i,r,o=Se(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(r=e.year()-1,i=a+Te(r,t,n)):a>Te(e.year(),t,n)?(i=a-Te(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Te(e,t,n){var i=Se(e,t,n),r=Se(e+1,t,n);return(ve(e)-i+r)/7}function De(e){return xe(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function Ce(){return this._week.doy}function _e(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Me(e){var t=xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function ze(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Re(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function He(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Le(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function je(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(r=mr.call(this._weekdaysParse,a),r!==-1?r:null):"ddd"===t?(r=mr.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=mr.call(this._minWeekdaysParse,a),r!==-1?r:null):"dddd"===t?(r=mr.call(this._weekdaysParse,a),r!==-1?r:(r=mr.call(this._shortWeekdaysParse,a),r!==-1?r:(r=mr.call(this._minWeekdaysParse,a),r!==-1?r:null))):"ddd"===t?(r=mr.call(this._shortWeekdaysParse,a),r!==-1?r:(r=mr.call(this._weekdaysParse,a),r!==-1?r:(r=mr.call(this._minWeekdaysParse,a),r!==-1?r:null))):(r=mr.call(this._minWeekdaysParse,a),r!==-1?r:(r=mr.call(this._weekdaysParse,a),r!==-1?r:(r=mr.call(this._shortWeekdaysParse,a),r!==-1?r:null)))}function Oe(e,t,n){var i,r,o;if(this._weekdaysParseExact)return je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ze(e,this.localeData()),this.add(e-t,"d")):t}function Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Fe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Re(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Be(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Er),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ge(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Cr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ye(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_r),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function We(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),l[t]=ne(l[t]),c[t]=ne(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ue(e,t){Z(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ze(e,t){return t._meridiemParse}function Xe(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function $e(e){for(var t,n,i,r,o=0;o0;){if(i=Qe(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&A(r,n,!0)>=t-1)break;t--}o++}return null}function Qe(t){var i=null;if(!Lr[t]&&"undefined"!=typeof e&&e&&e.exports)try{i=Mr._abbr,n(41)("./"+t),et(i)}catch(e){}return Lr[t]}function et(e,t){var n;return e&&(n=s(t)?it(e):tt(e,t),n&&(Mr=n)),Mr._abbr}function tt(e,t){if(null!==t){var n=Hr;if(t.abbr=e,null!=Lr[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Lr[e]._config;else if(null!=t.parentLocale){if(null==Lr[t.parentLocale])return Pr[t.parentLocale]||(Pr[t.parentLocale]=[]),Pr[t.parentLocale].push({name:e,config:t}),null;n=Lr[t.parentLocale]._config}return Lr[e]=new M(_(n,t)),Pr[e]&&Pr[e].forEach(function(e){tt(e.name,e.config)}),et(e),Lr[e]}return delete Lr[e],null}function nt(e,t){if(null!=t){var n,i=Hr;null!=Lr[e]&&(i=Lr[e]._config),t=_(i,t),n=new M(t),n.parentLocale=Lr[e],Lr[e]=n,et(e)}else null!=Lr[e]&&(null!=Lr[e].parentLocale?Lr[e]=Lr[e].parentLocale:null!=Lr[e]&&delete Lr[e]);return Lr[e]}function it(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Mr;if(!r(e)){if(t=Qe(e))return t;e=[e]}return $e(e)}function rt(){return _i(Lr)}function ot(e){var t,n=e._a;return n&&g(e).overflow===-2&&(t=n[lr]<0||n[lr]>11?lr:n[cr]<1||n[cr]>ae(n[sr],n[lr])?cr:n[ur]<0||n[ur]>24||24===n[ur]&&(0!==n[dr]||0!==n[hr]||0!==n[fr])?ur:n[dr]<0||n[dr]>59?dr:n[hr]<0||n[hr]>59?hr:n[fr]<0||n[fr]>999?fr:-1,g(e)._overflowDayOfYear&&(tcr)&&(t=cr),g(e)._overflowWeeks&&t===-1&&(t=pr),g(e)._overflowWeekday&&t===-1&&(t=gr),g(e).overflow=t),e}function at(e){var t,n,i,r,o,a,s=e._i,l=jr.exec(s)||Or.exec(s);if(l){for(g(e).iso=!0,t=0,n=Nr.length;t10?"YYYY ":"YY "),o="HH:mm"+(n[4]?":ss":""),n[1]){var d=new Date(n[2]),h=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][d.getDay()];if(n[1].substr(0,3)!==h)return g(e).weekdayMismatch=!0,void(e._isValid=!1)}switch(n[5].length){case 2:0===l?s=" +0000":(l=u.indexOf(n[5][1].toUpperCase())-12,s=(l<0?" -":" +")+(""+l).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:s=c[n[5]];break;default:s=c[" GMT"]}n[5]=s,e._i=n.splice(1).join(""),a=" ZZ",e._f=i+r+o+a,ft(e),g(e).rfc2822=!0}else e._isValid=!1}function lt(e){var n=Br.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(at(e),void(e._isValid===!1&&(delete e._isValid,st(e),e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e)))))}function ct(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function dt(e){var t,n,i,r,o=[];if(!e._d){for(i=ut(e),e._w&&null==e._a[cr]&&null==e._a[lr]&&ht(e),null!=e._dayOfYear&&(r=ct(e._a[sr],i[sr]),(e._dayOfYear>ve(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=ke(r,0,e._dayOfYear),e._a[lr]=n.getUTCMonth(),e._a[cr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ur]&&0===e._a[dr]&&0===e._a[hr]&&0===e._a[fr]&&(e._nextDay=!0,e._a[ur]=0),e._d=(e._useUTC?ke:we).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ur]=24)}}function ht(e){var t,n,i,r,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ct(t.GG,e._a[sr],xe(kt(),1,4).year),i=ct(t.W,1),r=ct(t.E,1),(r<1||r>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=xe(kt(),o,a);n=ct(t.gg,e._a[sr],c.year),i=ct(t.w,c.week),null!=t.d?(r=t.d,(r<0||r>6)&&(l=!0)):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>Te(n,o,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=Ae(n,i,r,o,a),e._a[sr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===t.ISO_8601)return void at(e);if(e._f===t.RFC_2822)return void st(e);e._a=[],g(e).empty=!0;var n,i,r,o,a,s=""+e._i,l=s.length,c=0;for(r=$(e._f,e._locale).match(Ii)||[],n=0;n0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),Bi[o]?(i?g(e).empty=!1:g(e).unusedTokens.push(o),oe(o,i,e)):e._strict&&!i&&g(e).unusedTokens.push(o);g(e).charsLeftOver=l-c,s.length>0&&g(e).unusedInput.push(s),e._a[ur]<=12&&g(e).bigHour===!0&&e._a[ur]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ur]=pt(e._locale,e._a[ur],e._meridiem),dt(e),ot(e)}function pt(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function gt(e){var t,n,i,r,o;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),e=bt(e),e._a){var t=e._isUTC?f(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Yt(){return!!this.isValid()&&!this._isUTC}function Wt(){return!!this.isValid()&&this._isUTC}function qt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,i,r,o=e,a=null;return _t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Zr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:S(a[cr])*n,h:S(a[ur])*n,m:S(a[dr])*n,s:S(a[hr])*n,ms:S(Mt(1e3*a[fr]))*n}):(a=Xr.exec(e))?(n="-"===a[1]?-1:1,o={y:Ut(a[2],n),M:Ut(a[3],n),w:Ut(a[4],n),d:Ut(a[5],n),h:Ut(a[6],n),m:Ut(a[7],n),s:Ut(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Xt(kt(o.from),kt(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Ct(o),_t(e)&&d(e,"_locale")&&(i._locale=e._locale),i}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Zt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(e,t){var n;return e.isValid()&&t.isValid()?(t=Ht(t,e),e.isBefore(t)?n=Zt(e,t):(n=Zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Kt(e,t){return function(n,i){var r,o;return null===i||isNaN(+i)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Vt(n,i),Jt(this,r,e),this}}function Jt(e,n,i,r){var o=n._milliseconds,a=Mt(n._days),s=Mt(n._months);e.isValid()&&(r=null==r||r,o&&e._d.setTime(e._d.valueOf()+o*i),a&&W(e,"Date",Y(e,"Date")+a*i),s&&de(e,Y(e,"Month")+s*i),r&&t.updateOffset(e,a||s))}function $t(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Qt(e,n){var i=e||kt(),r=Ht(i,this).startOf("day"),o=t.calendarFormat(this,r)||"sameElse",a=n&&(E(n[o])?n[o].call(this,i):n[o]);return this.format(a||this.localeData().calendar(o,this,kt(i)))}function en(){return new y(this)}function tn(e,t){var n=w(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&(t=I(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?J(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):E(Date.prototype.toISOString)?this.toDate().toISOString():J(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function hn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+i+r+o)}function fn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=J(this,e);return this.localeData().postformat(n)}function pn(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gn(e){return this.from(kt(),e)}function mn(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.to(kt(),e)}function bn(e){var t;return void 0===e?this._locale._abbr:(t=it(e),null!=t&&(this._locale=t),this)}function yn(){return this._locale}function wn(e){switch(e=I(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function kn(e){return e=I(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Sn(){return this._d.valueOf()-6e4*(this._offset||0)}function An(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function Tn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function En(){return this.isValid()?this.toISOString():null}function Cn(){return m(this)}function _n(){return h({},g(this))}function Mn(){return g(this).overflow}function zn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Rn(e,t){Z(0,[e,e.length],0,t)}function Hn(e){return On.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ln(e){return On.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Pn(){return Te(this.year(),1,4)}function jn(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function On(e,t,n,i,r){var o;return null==e?xe(this,i,r).year:(o=Te(e,i,r),t>o&&(t=o),In.call(this,e,t,n,i,r))}function In(e,t,n,i,r){var o=Ae(e,t,n,i,r),a=ke(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Nn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Fn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Bn(e,t){t[fr]=S(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Yn(){return this._isUTC?"Coordinated Universal Time":""}function Wn(e){return kt(1e3*e)}function qn(){return kt.apply(null,arguments).parseZone()}function Vn(e){return e}function Un(e,t,n,i){var r=it(),o=f().set(i,t);return r[n](o,e)}function Zn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Un(e,i,n,"month");return r}function Xn(e,t,n,i){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var r=it(),o=e?r._week.dow:0;if(null!=n)return Un(t,(n+o)%7,i,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Un(t,(a+o)%7,i,"day");return s}function Kn(e,t){return Zn(e,t,"months")}function Jn(e,t){return Zn(e,t,"monthsShort")}function $n(e,t,n){return Xn(e,t,n,"weekdays")}function Qn(e,t,n){return Xn(e,t,n,"weekdaysShort")}function ei(e,t,n){return Xn(e,t,n,"weekdaysMin")}function ti(){var e=this._data;return this._milliseconds=ao(this._milliseconds),this._days=ao(this._days),this._months=ao(this._months),e.milliseconds=ao(e.milliseconds),e.seconds=ao(e.seconds),e.minutes=ao(e.minutes),e.hours=ao(e.hours),e.months=ao(e.months),e.years=ao(e.years),this}function ni(e,t,n,i){var r=Vt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function ii(e,t){return ni(this,e,t,1)}function ri(e,t){return ni(this,e,t,-1)}function oi(e){return e<0?Math.floor(e):Math.ceil(e)}function ai(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*oi(li(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=k(o/1e3),l.seconds=e%60,t=k(e/60),l.minutes=t%60,n=k(t/60),l.hours=n%24,a+=k(n/24),r=k(si(a)),s+=r,a-=oi(li(r)),i=k(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function si(e){return 4800*e/146097}function li(e){return 146097*e/4800}function ci(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=I(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+si(t),"month"===e?n:n/12;switch(t=this._days+Math.round(li(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function ui(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN}function di(e){return function(){return this.as(e)}}function hi(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function fi(e){return function(){return this.isValid()?this._data[e]:NaN}}function pi(){return k(this.days()/7)}function gi(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function mi(e,t,n){var i=Vt(e).abs(),r=Ao(i.as("s")),o=Ao(i.as("m")),a=Ao(i.as("h")),s=Ao(i.as("d")),l=Ao(i.as("M")),c=Ao(i.as("y")),u=r<=xo.ss&&["s",r]||r0,u[4]=n,gi.apply(null,u)}function vi(e){return void 0===e?Ao:"function"==typeof e&&(Ao=e,!0)}function bi(e,t){return void 0!==xo[e]&&(void 0===t?xo[e]:(xo[e]=t,"s"===e&&(xo.ss=t-1),!0))}function yi(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=mi(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function wi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i=To(this._milliseconds)/1e3,r=To(this._days),o=To(this._months);e=k(i/60),t=k(e/60),i%=60,e%=60,n=k(o/12),o%=12;var a=n,s=o,l=r,c=t,u=e,d=i,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||d?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(d?d+"S":""):"P0D"}var ki,Si;Si=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i68?1900:2e3)};var Sr=G("FullYear",!0);Z("w",["ww",2],"wo","week"),Z("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),F("week",5),F("isoWeek",5),Q("w",Ui),Q("ww",Ui,Yi),Q("W",Ui),Q("WW",Ui,Yi),re(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=S(e)});var Ar={dow:0,doy:6};Z("d",0,"do","day"),Z("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Z("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Z("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Z("e",0,0,"weekday"),Z("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),Q("d",Ui),Q("e",Ui),Q("E",Ui),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,i){t[i]=S(e)});var xr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Er=rr,Cr=rr,_r=rr;Z("H",["HH",2],0,"hour"),Z("h",["hh",2],0,qe),Z("k",["kk",2],0,Ve),Z("hmm",0,0,function(){return""+qe.apply(this)+U(this.minutes(),2)}),Z("hmmss",0,0,function(){return""+qe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),Z("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),Z("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue("A",!1),O("hour","h"),F("hour",13),Q("a",Ze),Q("A",Ze),Q("H",Ui),Q("h",Ui),Q("k",Ui),Q("HH",Ui,Yi),Q("hh",Ui,Yi),Q("kk",Ui,Yi),Q("hmm",Zi),Q("hmmss",Xi),Q("Hmm",Zi),Q("Hmmss",Xi),ie(["H","HH"],ur),ie(["k","kk"],function(e,t,n){var i=S(e);t[ur]=24===i?0:i}),ie(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ie(["h","hh"],function(e,t,n){t[ur]=S(e),g(n).bigHour=!0}),ie("hmm",function(e,t,n){var i=e.length-2;t[ur]=S(e.substr(0,i)),t[dr]=S(e.substr(i)),g(n).bigHour=!0}),ie("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[ur]=S(e.substr(0,i)),t[dr]=S(e.substr(i,2)),t[hr]=S(e.substr(r)),g(n).bigHour=!0}),ie("Hmm",function(e,t,n){var i=e.length-2;t[ur]=S(e.substr(0,i)),t[dr]=S(e.substr(i))}),ie("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[ur]=S(e.substr(0,i)),t[dr]=S(e.substr(i,2)),t[hr]=S(e.substr(r))});var Mr,zr=/[ap]\.?m?\.?/i,Rr=G("Hours",!0),Hr={calendar:Mi,longDateFormat:zi,invalidDate:Ri,ordinal:Hi,dayOfMonthOrdinalParse:Li,relativeTime:Pi,months:br,monthsShort:yr,week:Ar,weekdays:xr,weekdaysMin:Dr,weekdaysShort:Tr,meridiemParse:zr},Lr={},Pr={},jr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Or=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ir=/Z|[+-]\d\d(?::?\d\d)?/,Nr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Br=/^\/?Date\((\-?\d+)/i,Gr=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;t.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Yr=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:v()}),qr=function(){return Date.now?Date.now():+new Date},Vr=["year","quarter","month","week","day","hour","minute","second","millisecond"];zt("Z",":"),zt("ZZ",""),Q("Z",nr),Q("ZZ",nr),ie(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(nr,e)});var Ur=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Zr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xr=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=Ct.prototype,Vt.invalid=Et;var Kr=Kt(1,"add"),Jr=Kt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $r=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Z(0,["gg",2],0,function(){return this.weekYear()%100}),Z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Rn("gggg","weekYear"),Rn("ggggg","weekYear"),Rn("GGGG","isoWeekYear"),Rn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),Q("G",er),Q("g",er),Q("GG",Ui,Yi),Q("gg",Ui,Yi),Q("GGGG",Ji,qi),Q("gggg",Ji,qi),Q("GGGGG",$i,Vi),Q("ggggg",$i,Vi),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=S(e)}),re(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),Z("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),Q("Q",Gi),ie("Q",function(e,t){t[lr]=3*(S(e)-1)}),Z("D",["DD",2],"Do","date"),O("date","D"),F("date",9),Q("D",Ui),Q("DD",Ui,Yi),Q("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ie(["D","DD"],cr),ie("Do",function(e,t){t[cr]=S(e.match(Ui)[0],10)});var Qr=G("Date",!0);Z("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),Q("DDD",Ki),Q("DDDD",Wi),ie(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),Z("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),Q("m",Ui),Q("mm",Ui,Yi),ie(["m","mm"],dr);var eo=G("Minutes",!1);Z("s",["ss",2],0,"second"),O("second","s"),F("second",15),Q("s",Ui),Q("ss",Ui,Yi),ie(["s","ss"],hr);var to=G("Seconds",!1);Z("S",0,0,function(){return~~(this.millisecond()/100)}),Z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Z(0,["SSS",3],0,"millisecond"),Z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),F("millisecond",16),Q("S",Ki,Gi),Q("SS",Ki,Yi),Q("SSS",Ki,Wi);var no;for(no="SSSS";no.length<=9;no+="S")Q(no,Qi);for(no="S";no.length<=9;no+="S")ie(no,Bn);var io=G("Milliseconds",!1);Z("z",0,0,"zoneAbbr"),Z("zz",0,0,"zoneName");var ro=y.prototype;ro.add=Kr,ro.calendar=Qt,ro.clone=en,ro.diff=ln,ro.endOf=kn,ro.format=fn,ro.from=pn,ro.fromNow=gn,ro.to=mn,ro.toNow=vn,ro.get=q,ro.invalidAt=Mn,ro.isAfter=tn,ro.isBefore=nn,ro.isBetween=rn,ro.isSame=on,ro.isSameOrAfter=an,ro.isSameOrBefore=sn,ro.isValid=Cn,ro.lang=$r,ro.locale=bn,ro.localeData=yn,ro.max=Wr,ro.min=Yr,ro.parsingFlags=_n,ro.set=V,ro.startOf=wn,ro.subtract=Jr,ro.toArray=Tn,ro.toObject=Dn,ro.toDate=xn,ro.toISOString=dn,ro.inspect=hn,ro.toJSON=En,ro.toString=un,ro.unix=An,ro.valueOf=Sn,ro.creationData=zn,ro.year=Sr,ro.isLeapYear=ye,ro.weekYear=Hn,ro.isoWeekYear=Ln,ro.quarter=ro.quarters=Nn,ro.month=he,ro.daysInMonth=fe,ro.week=ro.weeks=_e,ro.isoWeek=ro.isoWeeks=Me,ro.weeksInYear=jn,ro.isoWeeksInYear=Pn,ro.date=Qr,ro.day=ro.days=Ie,ro.weekday=Ne,ro.isoWeekday=Fe,ro.dayOfYear=Fn,ro.hour=ro.hours=Rr,ro.minute=ro.minutes=eo,ro.second=ro.seconds=to,ro.millisecond=ro.milliseconds=io,ro.utcOffset=Pt,ro.utc=Ot,ro.local=It,ro.parseZone=Nt,ro.hasAlignedHourOffset=Ft,ro.isDST=Bt,ro.isLocal=Yt,ro.isUtcOffset=Wt,ro.isUtc=qt,ro.isUTC=qt,ro.zoneAbbr=Gn,ro.zoneName=Yn,ro.dates=T("dates accessor is deprecated. Use date instead.",Qr),ro.months=T("months accessor is deprecated. Use month instead",he),ro.years=T("years accessor is deprecated. Use year instead",Sr),ro.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jt),ro.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gt);var oo=M.prototype;oo.calendar=z,oo.longDateFormat=R,oo.invalidDate=H,oo.ordinal=L,oo.preparse=Vn,oo.postformat=Vn,oo.relativeTime=P,oo.pastFuture=j,oo.set=C,oo.months=se,oo.monthsShort=le,oo.monthsParse=ue,oo.monthsRegex=ge,oo.monthsShortRegex=pe,oo.week=De,oo.firstDayOfYear=Ce,oo.firstDayOfWeek=Ee,oo.weekdays=He,oo.weekdaysMin=Pe,oo.weekdaysShort=Le,oo.weekdaysParse=Oe,oo.weekdaysRegex=Be,oo.weekdaysShortRegex=Ge,oo.weekdaysMinRegex=Ye,oo.isPM=Xe,oo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=T("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=T("moment.langData is deprecated. Use moment.localeData instead.",it);var ao=Math.abs,so=di("ms"),lo=di("s"),co=di("m"),uo=di("h"),ho=di("d"),fo=di("w"),po=di("M"),go=di("y"),mo=fi("milliseconds"),vo=fi("seconds"),bo=fi("minutes"),yo=fi("hours"),wo=fi("days"),ko=fi("months"),So=fi("years"),Ao=Math.round,xo={ss:44,s:45,m:45,h:22,d:26,M:11},To=Math.abs,Do=Ct.prototype;return Do.isValid=Dt,Do.abs=ti,Do.add=ii,Do.subtract=ri,Do.as=ci,Do.asMilliseconds=so,Do.asSeconds=lo,Do.asMinutes=co,Do.asHours=uo,Do.asDays=ho,Do.asWeeks=fo,Do.asMonths=po,Do.asYears=go,Do.valueOf=ui,Do._bubble=ai,Do.get=hi,Do.milliseconds=mo,Do.seconds=vo,Do.minutes=bo,Do.hours=yo,Do.days=wo,Do.weeks=pi,Do.months=ko,Do.years=So,Do.humanize=yi,Do.toISOString=wi,Do.toString=wi,Do.toJSON=wi,Do.locale=bn,Do.localeData=yn,Do.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wi),Do.lang=$r,Z("X",0,0,"unix"),Z("x",0,0,"valueOf"),Q("x",er),Q("X",ir),ie("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ie("x",function(e,t,n){n._d=new Date(S(e))}),t.version="2.18.1",i(kt),t.fn=ro,t.min=At,t.max=xt,t.now=qr,t.utc=f,t.unix=Wn,t.months=Kn,t.isDate=c,t.locale=et,t.invalid=v,t.duration=Vt,t.isMoment=w,t.weekdays=$n,t.parseZone=qn,t.localeData=it,t.isDuration=_t,t.monthsShort=Jn,t.weekdaysMin=ei,t.defineLocale=tt,t.updateLocale=nt,t.locales=rt,t.weekdaysShort=Qn,t.normalizeUnits=I,t.relativeTimeRounding=vi,t.relativeTimeThreshold=bi,t.calendarFormat=$t,t.prototype=ro,t})}).call(t,n(12)(e))},function(e,t,n){function i(e,t){for(var n=0;n=0&&y.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function c(e,t){var n,i,r;if(t.singleton){var o=b++;n=v||(v=s(t)),i=u.bind(null,n,o,!1),r=u.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),i=h.bind(null,n),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),i=d.bind(null,n),r=function(){a(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}function u(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=w(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t){var n=t.css,i=t.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([n],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var f={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},g=p(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),m=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,b=0,y=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=g()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return i(n,t),function(e){for(var o=[],a=0;a'),i.b("\n"),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("timezoneIcon",e,t,0))),i.b("\n"),i.b("\n"+n),i.s(i.f("loading",e,t,1),e,t,0,79,117,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b(" "),i.b(i.v(i.f("loadingText",e,t,0))),i.b(" "),i.b("\n"+n)}),e.pop()),i.b("\n"+n),i.s(i.f("loading",e,t,1),e,t,1,0,0,"")||(i.s(i.f("timezoneDifference",e,t,1),e,t,0,179,227,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b(" "),i.b(i.v(i.f("timezoneDifferent",e,t,0))),i.b(" "),i.b("\n"+n)}),e.pop()),i.b("\n"+n),i.s(i.f("timezoneDifference",e,t,1),e,t,1,0,0,"")||(i.b(" "),i.b(i.v(i.f("timezoneSame",e,t,0))),i.b(" "),i.b("\n"+n))),i.b("\n"+n),i.b("
"),i.b("\n"),i.fl()},partials:{},subs:{}},'\n\n {{& timezoneIcon }}\n\n {{# loading }}\n {{ loadingText }} \n {{/ loading }}\n\n {{^ loading }}\n {{# timezoneDifference }}\n {{ timezoneDifferent }} \n {{/ timezoneDifference }}\n\n {{^ timezoneDifference }}\n {{ timezoneSame }} \n {{/ timezoneDifference }}\n {{/ loading }}\n\n
\n',i);return e}()},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){g&&f&&(g=!1,f.length?p=f.concat(p):m=-1,p.length&&s())}function s(){if(!g){var e=r(a);g=!0;for(var t=p.length;t;){for(f=p,p=[];++m1)for(var n=1;n '},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(t,n){t.exports=e},function(e,t,n){e.exports=n(15)},function(e,t,n){"use strict";function i(e){this.defaults=o.merge({},e),this.interceptors={request:new s,response:new s}}var r=n(18),o=n(1),a=n(17),s=n(16),l=n(24),c=n(22),u=n(19),d=n(7);i.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(r,this.defaults,{method:"get"},e),e.baseURL&&!l(e.url)&&(e.url=c(e.baseURL,e.url)),e.withCredentials=e.withCredentials||this.defaults.withCredentials,e.data=d(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),
o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]});var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n};var h=new i(r),f=e.exports=u(i.prototype.request,h);f.request=u(i.prototype.request,h),f.Axios=i,f.defaults=h.defaults,f.interceptors=h.interceptors,f.create=function(e){return new i(e)},f.all=function(e){return Promise.all(e)},f.spread=n(29),o.forEach(["delete","get","head"],function(e){i.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))},f[e]=u(i.prototype[e],h)}),o.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,n,i){return this.request(o.merge(i||{},{method:e,url:t,data:n}))},f[e]=u(i.prototype[e],h)})},function(e,t,n){"use strict";function i(){this.handlers=[]}var r=n(1);i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){(function(t){"use strict";e.exports=function(e){return new Promise(function(i,r){try{var o;"function"==typeof e.adapter?o=e.adapter:"undefined"!=typeof XMLHttpRequest?o=n(6):"undefined"!=typeof t&&(o=n(6)),"function"==typeof o&&o(i,r,e)}catch(e){r(e)}})}}).call(t,n(10))},function(e,t,n){"use strict";function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var r=n(1),o=n(26),a=/^\)\]\}',?\n/,s={"Content-Type":"application/x-www-form-urlencoded"};e.exports={transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(i(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e){e=e.replace(a,"");try{e=JSON.parse(e)}catch(e){}}return e}],headers:{common:{Accept:"application/json, text/plain, */*"},patch:r.merge(s),post:r.merge(s),put:r.merge(s)},timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}}},function(e,t){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i>8-s%1*8)){if(i=o.charCodeAt(s+=.75),i>255)throw new n;t=t<<8|i}return a}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=i},function(e,t,n){"use strict";function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=n(1);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&"undefined"!=typeof e&&(r.isArray(e)&&(t+="[]"),r.isArray(e)||(e=[e]),r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}return o&&(e+=(e.indexOf("?")===-1?"?":"&")+o),e}},function(e,t){"use strict";e.exports=function(e,t){return e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,"")}},function(e,t,n){"use strict";var i=n(1);e.exports=i.isStandardBrowserEnv()?function(){return{write:function(e,t,n,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";var i=n(1);e.exports=i.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return t=e(window.location.href),function(n){var r=i.isString(n)?e(n):n;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var i=n(1);e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},function(e,t,n){"use strict";var i=n(1);e.exports=function(e){var t,n,r,o={};return e?(i.forEach(e.split("\n"),function(e){r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),n=i.trim(e.substr(r+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},function(e,t){"use strict";e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(n):e(n)}},function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){var i;(function(e,r){!function(o){var a="object"==typeof t&&t,s=("object"==typeof e&&e&&e.exports==a&&e,"object"==typeof r&&r);s.global!==s&&s.window!==s||(o=s);var l=function(e){this.message=e};l.prototype=new Error,l.prototype.name="InvalidCharacterError";var c=function(e){throw new l(e)},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=/[\t\n\f\r ]/g,h=function(e){e=String(e).replace(d,"");var t=e.length;t%4==0&&(e=e.replace(/==?$/,""),t=e.length),(t%4==1||/[^+a-zA-Z0-9\/]/.test(e))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var n,i,r=0,o="",a=-1;++a>(-2*r&6)));return o},f=function(e){e=String(e),/[^\0-\xFF]/.test(e)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,i,r,o=e.length%3,a="",s=-1,l=e.length-o;++s>18&63)+u.charAt(r>>12&63)+u.charAt(r>>6&63)+u.charAt(63&r);return 2==o?(t=e.charCodeAt(s)<<8,n=e.charCodeAt(++s),r=t+n,a+=u.charAt(r>>10)+u.charAt(r>>4&63)+u.charAt(r<<2&63)+"="):1==o&&(r=e.charCodeAt(s),a+=u.charAt(r>>2)+u.charAt(r<<4&63)+"=="),a},p={encode:f,decode:h,version:"0.1.0"};i=function(){return p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))}(this)}).call(t,n(12)(e),function(){return this}())},function(e,t){!function(e){"use strict";e.console||(e.console={});for(var t,n,i=e.console,r=function(){},o=["memory"],a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=o.pop();)i[t]||(i[t]={});for(;n=a.pop();)"function"!=typeof i[n]&&(i[n]=r)}("undefined"==typeof window?this:window)},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'/*!\n * FullCalendar v3.4.0 Stylesheet\n * Docs & License: https://fullcalendar.io/\n * (c) 2017 Adam Shaw\n */.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}body .fc{font-size:1em}.fc-unthemed .fc-content,.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-list-view,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#ddd}.fc-unthemed .fc-popover{background-color:#fff}.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-popover .fc-header{background:#eee}.fc-unthemed .fc-popover .fc-header .fc-close{color:#666}.fc-unthemed td.fc-today{background:#fcf8e3}.fc-highlight{background:#bce8f1;opacity:.3}.fc-bgevent{background:#8fdf82;opacity:.3}.fc-nonbusiness{background:#d7d7d7}.fc-unthemed .fc-disabled-day{background:#d7d7d7;opacity:.3}.ui-widget .fc-disabled-day{background-image:none}.fc-icon{display:inline-block;height:1em;line-height:1em;font-size:1em;text-align:center;overflow:hidden;font-family:Courier New,Courier,monospace;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fc-icon:after{position:relative}.fc-icon-left-single-arrow:after{content:"\\2039";font-weight:700;font-size:200%;top:-7%}.fc-icon-right-single-arrow:after{content:"\\203A";font-weight:700;font-size:200%;top:-7%}.fc-icon-left-double-arrow:after{content:"\\AB";font-size:160%;top:-7%}.fc-icon-right-double-arrow:after{content:"\\BB";font-size:160%;top:-7%}.fc-icon-left-triangle:after{content:"\\25C4";font-size:125%;top:3%}.fc-icon-right-triangle:after{content:"\\25BA";font-size:125%;top:3%}.fc-icon-down-triangle:after{content:"\\25BC";font-size:125%;top:2%}.fc-icon-x:after{content:"\\D7";font-size:200%;top:6%}.fc button{box-sizing:border-box;margin:0;height:2.1em;padding:0 .6em;font-size:1em;white-space:nowrap;cursor:pointer}.fc button::-moz-focus-inner{margin:0;padding:0}.fc-state-default{border:1px solid}.fc-state-default.fc-corner-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.fc-state-default.fc-corner-right{border-top-right-radius:4px;border-bottom-right-radius:4px}.fc button .fc-icon{position:relative;top:-.05em;margin:0 .2em;vertical-align:middle}.fc-state-default{background-color:#f5f5f5;background-image:linear-gradient(180deg,#fff,#e6e6e6);background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#333;text-shadow:0 1px 1px hsla(0,0%,100%,.75);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.2),0 1px 2px rgba(0,0,0,.05)}.fc-state-active,.fc-state-disabled,.fc-state-down,.fc-state-hover{color:#333;background-color:#e6e6e6}.fc-state-hover{color:#333;text-decoration:none;background-position:0 -15px;transition:background-position .1s linear}.fc-state-active,.fc-state-down{background-color:#ccc;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.fc-state-disabled{cursor:default;background-image:none;opacity:.65;box-shadow:none}.fc-button-group{display:inline-block}.fc .fc-button-group>*{float:left;margin:0 0 0 -1px}.fc .fc-button-group>:first-child{margin-left:0}.fc-popover{position:absolute;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc-popover .fc-header{padding:2px 4px}.fc-popover .fc-header .fc-title{margin:0 2px}.fc-popover .fc-header .fc-close{cursor:pointer}.fc-ltr .fc-popover .fc-header .fc-title,.fc-rtl .fc-popover .fc-header .fc-close{float:left}.fc-ltr .fc-popover .fc-header .fc-close,.fc-rtl .fc-popover .fc-header .fc-title{float:right}.fc-unthemed .fc-popover{border-width:1px;border-style:solid}.fc-unthemed .fc-popover .fc-header .fc-close{font-size:.9em;margin-top:2px}.fc-popover>.ui-widget-header+.ui-widget-content{border-top:0}.fc-divider{border-style:solid;border-width:1px}hr.fc-divider{height:0;margin:0;padding:0 0 2px;border-width:1px 0}.fc-clear{clear:both}.fc-bg,.fc-bgevent-skeleton,.fc-helper-skeleton,.fc-highlight-skeleton{position:absolute;top:0;left:0;right:0}.fc-bg{bottom:0}.fc-bg table{height:100%}.fc table{width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{border-style:solid;border-width:1px;padding:0;vertical-align:top}.fc td.fc-today{border-style:double}a[data-goto]{cursor:pointer}a[data-goto]:hover{text-decoration:underline}.fc .fc-row{border-style:solid;border-width:0}.fc-row table{border-left:0 hidden transparent;border-right:0 hidden transparent;border-bottom:0 hidden transparent}.fc-row:first-child table{border-top:0 hidden transparent}.fc-row{position:relative}.fc-row .fc-bg{z-index:1}.fc-row .fc-bgevent-skeleton,.fc-row .fc-highlight-skeleton{bottom:0}.fc-row .fc-bgevent-skeleton table,.fc-row .fc-highlight-skeleton table{height:100%}.fc-row .fc-bgevent-skeleton td,.fc-row .fc-highlight-skeleton td{border-color:transparent}.fc-row .fc-bgevent-skeleton{z-index:2}.fc-row .fc-highlight-skeleton{z-index:3}.fc-row .fc-content-skeleton{position:relative;z-index:4;padding-bottom:2px}.fc-row .fc-helper-skeleton{z-index:5}.fc-row .fc-content-skeleton td,.fc-row .fc-helper-skeleton td{background:none;border-color:transparent;border-bottom:0}.fc-row .fc-content-skeleton tbody td,.fc-row .fc-helper-skeleton tbody td{border-top:0}.fc-scroller{-webkit-overflow-scrolling:touch}.fc-scroller>.fc-day-grid,.fc-scroller>.fc-time-grid{position:relative;width:100%}.fc-event{position:relative;display:block;font-size:.85em;line-height:1.3;border-radius:3px;border:1px solid #3a87ad;font-weight:400}.fc-event,.fc-event-dot{background-color:#3a87ad}.fc-event,.fc-event:hover,.ui-widget .fc-event{color:#fff;text-decoration:none}.fc-event.fc-draggable,.fc-event[href]{cursor:pointer}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-event .fc-bg{z-index:1;background:#fff;opacity:.25}.fc-event .fc-content{position:relative;z-index:2}.fc-event .fc-resizer{position:absolute;z-index:4;display:none}.fc-event.fc-allow-mouse-resize .fc-resizer,.fc-event.fc-selected .fc-resizer{display:block}.fc-event.fc-selected .fc-resizer:before{content:"";position:absolute;z-index:9999;top:50%;left:50%;width:40px;height:40px;margin-left:-20px;margin-top:-20px}.fc-event.fc-selected{z-index:9999!important;box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event.fc-selected.fc-dragging{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-h-event.fc-selected:before{content:"";position:absolute;z-index:3;top:-10px;bottom:-10px;left:0;right:0}.fc-ltr .fc-h-event.fc-not-start,.fc-rtl .fc-h-event.fc-not-end{margin-left:0;border-left-width:0;padding-left:1px;border-top-left-radius:0;border-bottom-left-radius:0}.fc-ltr .fc-h-event.fc-not-end,.fc-rtl .fc-h-event.fc-not-start{margin-right:0;border-right-width:0;padding-right:1px;border-top-right-radius:0;border-bottom-right-radius:0}.fc-ltr .fc-h-event .fc-start-resizer,.fc-rtl .fc-h-event .fc-end-resizer{cursor:w-resize;left:-1px}.fc-ltr .fc-h-event .fc-end-resizer,.fc-rtl .fc-h-event .fc-start-resizer{cursor:e-resize;right:-1px}.fc-h-event.fc-allow-mouse-resize .fc-resizer{width:7px;top:-1px;bottom:-1px}.fc-h-event.fc-selected .fc-resizer{border-radius:4px;border-width:1px;width:6px;height:6px;border-style:solid;border-color:inherit;background:#fff;top:50%;margin-top:-4px}.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,.fc-rtl .fc-h-event.fc-selected .fc-end-resizer{margin-left:-4px}.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,.fc-rtl .fc-h-event.fc-selected .fc-start-resizer{margin-right:-4px}.fc-day-grid-event{margin:1px 2px 0;padding:0 1px}tr:first-child>td>.fc-day-grid-event{margin-top:2px}.fc-day-grid-event.fc-selected:after{content:"";position:absolute;z-index:1;top:-1px;right:-1px;bottom:-1px;left:-1px;background:#000;opacity:.25}.fc-day-grid-event .fc-content{white-space:nowrap;overflow:hidden}.fc-day-grid-event .fc-time{font-weight:700}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer{margin-left:-2px}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer{margin-right:-2px}a.fc-more{margin:1px 3px;font-size:.85em;cursor:pointer;text-decoration:none}a.fc-more:hover{text-decoration:underline}.fc-limited{display:none}.fc-day-grid .fc-row{z-index:1}.fc-more-popover{z-index:2;width:220px}.fc-more-popover .fc-event-container{padding:10px}.fc-now-indicator{position:absolute;border:0 solid red}.fc-unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fc-toolbar{text-align:center}.fc-toolbar.fc-header-toolbar{margin-bottom:1em}.fc-toolbar.fc-footer-toolbar{margin-top:1em}.fc-toolbar .fc-left{float:left}.fc-toolbar .fc-right{float:right}.fc-toolbar .fc-center{display:inline-block}.fc .fc-toolbar>*>*{float:left;margin-left:.75em}.fc .fc-toolbar>*>:first-child{margin-left:0}.fc-toolbar h2{margin:0}.fc-toolbar button{position:relative}.fc-toolbar .fc-state-hover,.fc-toolbar .ui-state-hover{z-index:2}.fc-toolbar .fc-state-down{z-index:3}.fc-toolbar .fc-state-active,.fc-toolbar .ui-state-active{z-index:4}.fc-toolbar button:focus{z-index:5}.fc-view-container *,.fc-view-container :after,.fc-view-container :before{box-sizing:content-box}.fc-view,.fc-view>table{position:relative;z-index:1}.fc-basicDay-view .fc-content-skeleton,.fc-basicWeek-view .fc-content-skeleton{padding-bottom:1em}.fc-basic-view .fc-body .fc-row{min-height:4em}.fc-row.fc-rigid{overflow:hidden}.fc-row.fc-rigid .fc-content-skeleton{position:absolute;top:0;left:0;right:0}.fc-day-top.fc-other-month{opacity:.3}.fc-basic-view .fc-day-number,.fc-basic-view .fc-week-number{padding:2px}.fc-basic-view th.fc-day-number,.fc-basic-view th.fc-week-number{padding:0 2px}.fc-ltr .fc-basic-view .fc-day-top .fc-day-number{float:right}.fc-rtl .fc-basic-view .fc-day-top .fc-day-number{float:left}.fc-ltr .fc-basic-view .fc-day-top .fc-week-number{float:left;border-radius:0 0 3px 0}.fc-rtl .fc-basic-view .fc-day-top .fc-week-number{float:right;border-radius:0 0 0 3px}.fc-basic-view .fc-day-top .fc-week-number{min-width:1.5em;text-align:center;background-color:#f2f2f2;color:gray}.fc-basic-view td.fc-week-number{text-align:center}.fc-basic-view td.fc-week-number>*{display:inline-block;min-width:1.25em}.fc-agenda-view .fc-day-grid{position:relative;z-index:2}.fc-agenda-view .fc-day-grid .fc-row{min-height:3em}.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton{padding-bottom:1em}.fc .fc-axis{vertical-align:middle;padding:0 4px;white-space:nowrap}.fc-ltr .fc-axis{text-align:right}.fc-rtl .fc-axis{text-align:left}.ui-widget td.fc-axis{font-weight:400}.fc-time-grid,.fc-time-grid-container{position:relative;z-index:1}.fc-time-grid{min-height:100%}.fc-time-grid table{border:0 hidden transparent}.fc-time-grid>.fc-bg{z-index:1}.fc-time-grid .fc-slats,.fc-time-grid>hr{position:relative;z-index:2}.fc-time-grid .fc-content-col{position:relative}.fc-time-grid .fc-content-skeleton{position:absolute;z-index:3;top:0;left:0;right:0}.fc-time-grid .fc-business-container{position:relative;z-index:1}.fc-time-grid .fc-bgevent-container{position:relative;z-index:2}.fc-time-grid .fc-highlight-container{z-index:3}.fc-time-grid .fc-event-container{position:relative;z-index:4}.fc-time-grid .fc-now-indicator-line{z-index:5}.fc-time-grid .fc-helper-container{position:relative;z-index:6}.fc-time-grid .fc-slats td{height:1.5em;border-bottom:0}.fc-time-grid .fc-slats .fc-minor td{border-top-style:dotted}.fc-time-grid .fc-slats .ui-widget-content{background:none}.fc-time-grid .fc-highlight-container{position:relative}.fc-time-grid .fc-highlight{position:absolute;left:0;right:0}.fc-ltr .fc-time-grid .fc-event-container{margin:0 2.5% 0 2px}.fc-rtl .fc-time-grid .fc-event-container{margin:0 2px 0 2.5%}.fc-time-grid .fc-bgevent,.fc-time-grid .fc-event{position:absolute;z-index:1}.fc-time-grid .fc-bgevent{left:0;right:0}.fc-v-event.fc-not-start{border-top-width:0;padding-top:1px;border-top-left-radius:0;border-top-right-radius:0}.fc-v-event.fc-not-end{border-bottom-width:0;padding-bottom:1px;border-bottom-left-radius:0;border-bottom-right-radius:0}.fc-time-grid-event{overflow:hidden}.fc-time-grid-event.fc-selected{overflow:visible}.fc-time-grid-event.fc-selected .fc-bg{display:none}.fc-time-grid-event .fc-content{overflow:hidden}.fc-time-grid-event .fc-time,.fc-time-grid-event .fc-title{padding:0 1px}.fc-time-grid-event .fc-time{font-size:.85em;white-space:nowrap}.fc-time-grid-event.fc-short .fc-content{white-space:nowrap}.fc-time-grid-event.fc-short .fc-time,.fc-time-grid-event.fc-short .fc-title{display:inline-block;vertical-align:top}.fc-time-grid-event.fc-short .fc-time span{display:none}.fc-time-grid-event.fc-short .fc-time:before{content:attr(data-start)}.fc-time-grid-event.fc-short .fc-time:after{content:"\\A0-\\A0"}.fc-time-grid-event.fc-short .fc-title{font-size:.85em;padding:0}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer{left:0;right:0;bottom:0;height:8px;overflow:hidden;line-height:8px;font-size:11px;font-family:monospace;text-align:center;cursor:s-resize}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after{content:"="}.fc-time-grid-event.fc-selected .fc-resizer{border-radius:5px;border-width:1px;width:8px;height:8px;border-style:solid;border-color:inherit;background:#fff;left:50%;margin-left:-5px;bottom:-5px}.fc-time-grid .fc-now-indicator-line{border-top-width:1px;left:0;right:0}.fc-time-grid .fc-now-indicator-arrow{margin-top:-5px}.fc-ltr .fc-time-grid .fc-now-indicator-arrow{left:0;border-width:5px 0 5px 6px;border-top-color:transparent;border-bottom-color:transparent}.fc-rtl .fc-time-grid .fc-now-indicator-arrow{right:0;border-width:5px 6px 5px 0;border-top-color:transparent;border-bottom-color:transparent}.fc-event-dot{display:inline-block;width:10px;height:10px;border-radius:5px}.fc-rtl .fc-list-view{direction:rtl}.fc-list-view{border-width:1px;border-style:solid}.fc .fc-list-table{table-layout:auto}.fc-list-table td{border-width:1px 0 0;padding:8px 14px}.fc-list-table tr:first-child td{border-top-width:0}.fc-list-heading{border-bottom-width:1px}.fc-list-heading td{font-weight:700}.fc-ltr .fc-list-heading-main{float:left}.fc-ltr .fc-list-heading-alt,.fc-rtl .fc-list-heading-main{float:right}.fc-rtl .fc-list-heading-alt{float:left}.fc-list-item.fc-has-url{cursor:pointer}.fc-list-item:hover td{background-color:#f5f5f5}.fc-list-item-marker,.fc-list-item-time{white-space:nowrap;width:1px}.fc-ltr .fc-list-item-marker{padding-right:0}.fc-rtl .fc-list-item-marker{padding-left:0}.fc-list-item-title a{text-decoration:none;color:inherit}.fc-list-item-title a[href]:hover{text-decoration:underline}.fc-list-empty-wrap2{position:absolute;top:0;left:0;right:0;bottom:0}.fc-list-empty-wrap1{width:100%;height:100%;display:table}.fc-list-empty{display:table-cell;vertical-align:middle;text-align:center}.fc-unthemed .fc-list-empty{background-color:#eee}',""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.fc-view-container{background-color:#fbfbfb;color:#333}.fc-row.fc-widget-header{border-bottom:1px solid #ececec}.fc-row.fc-widget-header .fc-day-header{font-size:12px;font-weight:600;color:#acacac}.fc-axis{color:#acacac;font-size:.9em}.fc-state-default{text-shadow:none;box-shadow:none;background-image:none;background-color:#fff;border-color:#fff}.fc-button{text-transform:uppercase;font-weight:600;font-size:1.1em;border:0;outline:none}.fc-button:active,.fc-button:focus,.fc-button:hover,.fc-button:visited{outline:none;border:0;background-color:transparent}.fc-content-skeleton{border-top:1px solid #ddd}.fc .fc-toolbar{padding:0;margin-bottom:0;border-bottom:1px solid #ececec;min-height:48px}.fc .fc-toolbar>*>button{padding:15px 17px;height:auto;outline:0;margin-left:0;transition:opacity .2s ease;opacity:.3}.fc .fc-toolbar>*>button:hover{opacity:1}.fc .fc-toolbar>*>button.fc-state-disabled{transition:opacity 0s;opacity:0}.fc .fc-toolbar>*>button.fc-prev-button{padding-right:8px}.fc .fc-toolbar>*>button.fc-next-button{padding-left:8px}.fc .fc-toolbar>*>button .fc-icon{font-size:1.1em}.fc .fc-toolbar>.fc-right>button.fc-today-button{padding:15px 5px}.fc .fc-toolbar>.fc-right h2{font-size:13px;padding:15px 0 15px 20px;color:#333;font-weight:600}.fc-unthemed td.fc-today{background:#fff}.fc-body>tr>.fc-widget-content,.fc-head>tr>.fc-widget-header{border:0!important}.fc th{border-color:#fff;padding:5px}.fc-unthemed .fc-divider,.fc-unthemed .fc-popover .fc-header{background-color:transparent}.empty-calendar .fc-event{opacity:0}.fc-event{transition:color .2s ease,border-color .2s ease,opacity .6s ease,box-shadow .2s ease;border:none;border-left:2px solid #939393;padding:3px;background-color:#fff;border-radius:3px;color:#333;margin:1px 0;box-shadow:0 1px 2px rgba(0,0,0,.07);cursor:pointer;margin-bottom:2px;opacity:1}.fc-event-clicked,.fc-event:hover{box-shadow:0 2px 4px rgba(0,0,0,.12);border-left:3px solid #2e5bec;color:#2e5bec;font-weight:600;padding-left:2px}.fc-event .fc-content{-webkit-transform:translateX(0);transform:translateX(0);transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.fc-event:hover .fc-content{-webkit-transform:translateX(2px);transform:translateX(2px)}.fc-event .fc-bg{opacity:0}.fc-day-grid-event{padding:13px 15px;margin:1px 0 3px}.fc-day-grid-event-clicked,.fc-day-grid-event:hover{padding-left:14px}.fc-day-grid-event .fc-time,.fc-day-grid-event .fc-title{font-size:12px;font-weight:500}.fc-day-grid-event .fc-title{padding:0 5px 5px}.fc-day-grid-event-clicked .fc-time,.fc-day-grid-event-clicked .fc-title,.fc-day-grid-event:hover .fc-time,.fc-day-grid-event:hover .fc-title{font-weight:600}.fc-time-grid .fc-slats .fc-minor td{border-top-style:none}.fc-time-grid .fc-slats td{border-top-color:#fbfbfb}.fc-time-grid .fc-slats td.fc-axis{border-top-color:#ececec}.fc-time-grid-event.fc-short .fc-content{font-size:.7em;line-height:.2em}.fc-time-grid-event.fc-short .fc-time:after{content:""}.fc-time-grid-event .fc-time{font-size:1.1em;padding:5px}.fc-time-grid-event .fc-title{padding:0 5px 5px;font-weight:700}.fc-unthemed .fc-divider,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#ececec}.fc-agendaMonthly-view .fc-event{color:#fff}.fc-now-indicator{border-color:rgba(255,0,0,.5)}.fc-unthemed .fc-basic-view .fc-scroller{padding:5px 15px}.fc-unthemed .fc-basic-view .fc-content-skeleton{border-top:0}.fc-unthemed .fc-list-view .fc-scroller{padding:0 15px}.fc-list-view{border-width:0}.fc-list-table{width:80%;max-width:400px;margin:0 auto}.fc-unthemed .fc-list-heading td{background:transparent;border-color:transparent;font-size:1.3em;line-height:1em;padding:20px 19px 15px;font-weight:500;color:#2e5bec}.fc-unthemed .fc-list-heading td .fc-list-heading-alt{color:#acacac}.is-small .fc-unthemed .fc-list-heading td{font-size:1.1em}.fc-list-item{display:block;transition:color .2s ease,border-color .2s ease,opacity .6s ease,box-shadow .2s ease;border:none;border-left:2px solid #939393;padding:3px;background-color:#fff;border-radius:3px;color:#333;margin:1px 0;box-shadow:0 1px 2px rgba(0,0,0,.07);cursor:pointer;margin-bottom:3px;font-weight:500;font-size:12px}.fc-list-item:hover{box-shadow:0 2px 4px rgba(0,0,0,.12);border-left:3px solid #2e5bec;color:#2e5bec;font-weight:600;padding-left:2px}.fc-list-item td{background:transparent;border-color:transparent;-webkit-transform:translateX(0);transform:translateX(0);transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.fc-list-item:hover td{background:transparent;-webkit-transform:translateX(2px);transform:translateX(2px)}.fc-list-item .fc-list-item-marker{display:none}.fc-list-item .fc-list-item-time{padding-right:0;min-width:110px}.fc-list-item .fc-list-item-title a{font-weight:600}.fc-unthemed .fc-list-empty{background-color:transparent}',""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);",""]),t.push([e.id,"/*!\n * Booking.js\n * http://timekit.io\n * (c) 2015 Timekit Inc.\n */.bookingjs{position:relative;font-family:Open Sans,Helvetica,Tahoma,Arial,sans-serif;font-size:13px;border-radius:4px;background-color:#fff;box-shadow:0 3px 40px 0 rgba(0,0,0,.15);margin:20px auto;z-index:10;opacity:1;color:#333;border-top:1px solid #ececec;min-height:200px}.bookingjs.has-avatar{margin-top:60px}.is-small.has-avatar.has-displayname .bookingjs-calendar .fc-toolbar{padding-bottom:24px}.is-small .bookingjs-calendar .fc-toolbar>.fc-right>button.fc-today-button{position:absolute;left:15px}.is-small.has-avatar .bookingjs-calendar .fc-toolbar .fc-right h2{display:none}.bookingjs-timezonehelper{color:#aeaeae;text-align:center;padding:7px 10px;background-color:#fbfbfb;border-top:1px solid #ececec;min-height:15px;z-index:20;border-radius:0 0 4px 4px}.bookingjs-timezoneicon{width:10px;margin-right:5px}.bookingjs-avatar{position:absolute;top:-50px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:150px;border:3px solid #fff;box-shadow:0 1px 3px 0 rgba(0,0,0,.13);overflow:hidden;z-index:40;background-color:#fff}.is-small .bookingjs-avatar{top:-40px}.bookingjs-avatar img{max-width:100%;vertical-align:middle;display:inline-block;width:80px;height:80px}.is-small .bookingjs-avatar img{width:70px;height:70px}.bookingjs-displayname{position:absolute;top:0;left:0;padding:15px 20px;color:#333;font-weight:600}.is-small.has-avatar .bookingjs-displayname{top:44px;padding:0 20px;text-align:center;left:0;right:0;box-sizing:border-box}.bookingjs-bookpage{position:absolute;height:100%;width:100%;top:0;left:0;background-color:#fbfbfb;z-index:30;opacity:0;transition:opacity .2s ease;border-radius:4px}.bookingjs-bookpage.show{opacity:1}.bookingjs-bookpage-close{position:absolute;top:0;right:0;padding:18px;transition:opacity .2s ease;opacity:.3}.bookingjs-bookpage-close:hover{opacity:1}.bookingjs-bookpage-date,.bookingjs-bookpage h2{text-align:center;font-size:34px;font-weight:400;margin-top:70px;margin-bottom:10px}.is-small .bookingjs-bookpage-date,.is-small .bookingjs-bookpage h2{font-size:27px;margin-top:60px}.bookingjs-bookpage-time,.bookingjs-bookpage h3{text-align:center;font-size:17px;font-weight:400;margin-bottom:50px;margin-top:10px}.is-small .bookingjs-bookpage-time,.is-small .bookingjs-bookpage h3{font-size:15px;margin-bottom:35px}.bookingjs-closeicon{height:15px;width:15px}.bookingjs-form{width:350px;position:relative;margin:0 auto;text-align:center}.is-small .bookingjs-form{width:90%}.bookingjs-form-box{position:relative;box-shadow:0 1px 3px 0 rgba(0,0,0,.1);overflow:hidden;background-color:#fff;line-height:0}.bookingjs-form-success-message{position:absolute;top:-999px;left:0;right:0;padding:30px;z-index:10;background-color:#fff;opacity:0;transition:opacity .3s ease;line-height:normal}.is-small .bookingjs-form-success-message{padding:22px 10px}.bookingjs-form-success-message .title{font-size:20px;display:block;margin-bottom:25px}.bookingjs-form-success-message .body{display:block}.bookingjs-form-success-message .body .booked-email{color:#aeaeae}.bookingjs-form.success .bookingjs-form-success-message{opacity:1;top:0;bottom:0}.bookingjs-form-field{position:relative}.bookingjs-form-field--dirty .bookingjs-form-label{opacity:1;top:20px;font-size:11px;color:#2e5bec}.bookingjs-form-field--dirty .bookingjs-form-input{padding:25px 25px 5px}.bookingjs-form-field--dirty .bookingjs-form-input--textarea{padding:30px 25px 10px}.bookingjs-form-label{position:absolute;top:30px;left:25px;color:#333;opacity:0;font-size:12px;transition:opacity .2s ease,font-size .2s ease,color .2s ease,top .2s ease}.bookingjs-form-input,.bookingjs-form input,.bookingjs-form input:invalid textarea,.bookingjs-form textarea:invalid{transition:box-shadow .2s ease;width:100%;padding:15px 25px;margin:0;border:0 solid #ececec;font-size:1em;box-shadow:inset 0 0 1px 1px hsla(0,0%,100%,0);text-align:left;box-sizing:border-box;line-height:1.5em;font-family:Open Sans,Helvetica,Tahoma,Arial,sans-serif;color:#333;overflow:auto;border-bottom:1px solid #ececec}.bookingjs-form-input:focus,.bookingjs-form input:focus,.bookingjs-form input:invalid textarea:focus,.bookingjs-form textarea:invalid:focus{outline:0;box-shadow:inset 0 0 1px 1px #2e5bec}.bookingjs-form-input.hidden,.bookingjs-form input.hidden,.bookingjs-form input:invalid textarea.hidden,.bookingjs-form textarea:invalid.hidden{display:none}.bookingjs-form-input:-moz-read-only,.bookingjs-form input:-moz-read-only,.bookingjs-form input:invalid textarea:-moz-read-only,.bookingjs-form textarea:invalid:-moz-read-only{cursor:not-allowed;font-style:italic}.bookingjs-form-input:read-only,.bookingjs-form input:invalid textarea:read-only,.bookingjs-form input:read-only,.bookingjs-form textarea:invalid:read-only{cursor:not-allowed;font-style:italic}.bookingjs-form-input:-moz-read-only:focus,.bookingjs-form input:-moz-read-only:focus,.bookingjs-form input:invalid textarea:-moz-read-only:focus,.bookingjs-form textarea:invalid:-moz-read-only:focus{box-shadow:inset 0 0 1px 1px #d8d8d8}.bookingjs-form-input:read-only:focus,.bookingjs-form input:invalid textarea:read-only:focus,.bookingjs-form input:read-only:focus,.bookingjs-form textarea:invalid:read-only:focus{box-shadow:inset 0 0 1px 1px #d8d8d8}.bookingjs-form-input--textarea{padding:15px 25px 25px;overflow:auto}.bookingjs-form-button{position:relative;transition:background-color .2s,max-width .3s;display:inline-block;padding:13px 25px;background-color:#2e5bec;text-transform:uppercase;box-shadow:0 1px 3px 0 rgba(0,0,0,.15);color:#fff;border:0;border-radius:3px;font-size:1.1em;font-weight:600;margin-top:30px;cursor:pointer;height:44px;outline:0;text-align:center;max-width:200px}.bookingjs-form-button .error-text,.bookingjs-form-button .loading-text,.bookingjs-form-button .success-text{transition:opacity .3s ease;position:absolute;top:13px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);opacity:0}.bookingjs-form-button .inactive-text{white-space:nowrap;opacity:1}.bookingjs-form-button .loading-text svg{height:19px;width:19px;-webkit-animation:spin .6s infinite linear;animation:spin .6s infinite linear}.bookingjs-form-button .error-text svg{height:15px;width:15px;margin-top:2px}.bookingjs-form-button .success-text svg{height:15px;margin-top:2px;-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .6s ease;transition:transform .6s ease;transition:transform .6s ease,-webkit-transform .6s ease}.bookingjs-form-button:focus,.bookingjs-form-button:hover{background-color:#1341d4}.bookingjs-form-button.button-shake{-webkit-animation:shake .5s 1 ease;animation:shake .5s 1 ease}.bookingjs-form.loading .bookingjs-form-button,.bookingjs-form.loading .bookingjs-form-button:hover{max-width:80px;background-color:#b1b1b1;cursor:not-allowed}.bookingjs-form.loading .bookingjs-form-button .inactive-text,.bookingjs-form.loading .bookingjs-form-button:hover .inactive-text{opacity:0}.bookingjs-form.loading .bookingjs-form-button .loading-text,.bookingjs-form.loading .bookingjs-form-button:hover .loading-text{opacity:1}.bookingjs-form.error .bookingjs-form-button,.bookingjs-form.error .bookingjs-form-button:hover{max-width:80px;background-color:#d83b46;cursor:not-allowed}.bookingjs-form.error .bookingjs-form-button .inactive-text,.bookingjs-form.error .bookingjs-form-button:hover .inactive-text{opacity:0}.bookingjs-form.error .bookingjs-form-button .error-text,.bookingjs-form.error .bookingjs-form-button:hover .error-text{opacity:1}.bookingjs-form.success .bookingjs-form-button,.bookingjs-form.success .bookingjs-form-button:hover{max-width:80px;background-color:#5baf56;cursor:pointer}.bookingjs-form.success .bookingjs-form-button .inactive-text,.bookingjs-form.success .bookingjs-form-button:hover .inactive-text{opacity:0}.bookingjs-form.success .bookingjs-form-button .success-text,.bookingjs-form.success .bookingjs-form-button:hover .success-text{opacity:1}.bookingjs-form.success .bookingjs-form-button .success-text svg,.bookingjs-form.success .bookingjs-form-button:hover .success-text svg{-webkit-transform:scale(1);transform:scale(1)}.bookingjs-poweredby{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:7px 10px}.bookingjs-poweredby a{transition:color .2s ease;color:#aeaeae;text-decoration:none}.bookingjs-poweredby a svg path{transition:fill .2s ease;fill:#aeaeae}.bookingjs-poweredby a:hover{color:#333}.bookingjs-poweredby a:hover svg path{fill:#333}.bookingjs-timekitlogo{width:15px;height:15px;margin-right:5px;vertical-align:sub}.bookingjs-loading{position:absolute;height:100%;width:100%;top:0;left:0;background-color:#fbfbfb;z-index:30;opacity:0;transition:opacity .5s ease;border-radius:4px}.bookingjs-loading.show{opacity:1}.bookingjs-loading-icon{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.bookingjs-loading-icon svg{height:30px;width:30px;-webkit-animation:spin .6s infinite linear;animation:spin .6s infinite linear}.bookingjs-loading-icon svg path{fill:#2e5bec}.bookingjs-error{position:absolute;height:100%;width:100%;top:0;left:0;background-color:#fbfbfb;z-index:31;opacity:0;transition:opacity .5s ease;border-radius:4px}.bookingjs-error.show{opacity:1}.bookingjs-error-inner{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;overflow:scroll;max-height:100%;padding:30px;box-sizing:border-box;width:100%}.bookingjs-error-icon svg{height:30px;width:30px}.bookingjs-error-icon svg g{fill:#d83b46}.bookingjs-error-heading{color:#d83b46;font-size:15px;margin:15px 0}.bookingjs-error-text{font-size:12px;color:#aeaeae;word-break:break-word;overflow:scroll}.bookingjs-error-text-context,.bookingjs-error-text-messag{display:block}",""]);
},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes shake{0%{-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-transform:translateX(5px);transform:translateX(5px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}75%{-webkit-transform:translateX(5px);transform:translateX(5px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes shake{0%{-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-transform:translateX(5px);transform:translateX(5px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}75%{-webkit-transform:translateX(5px);transform:translateX(5px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}",""])},function(e,t,n){var i,r,o;/*!
* FullCalendar v3.4.0
* Docs & License: https://fullcalendar.io/
* (c) 2017 Adam Shaw
*/
!function(a){r=[n(13),n(4)],i=a,o="function"==typeof i?i.apply(t,r):i,!(void 0!==o&&(e.exports=o))}(function(e,t){function n(e){return ie(e,Ke)}function i(e,t){t.left&&e.css({"border-left-width":1,"margin-left":t.left-1}),t.right&&e.css({"border-right-width":1,"margin-right":t.right-1})}function r(e){e.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function o(){e("body").addClass("fc-not-allowed")}function a(){e("body").removeClass("fc-not-allowed")}function s(t,n,i){var r=Math.floor(n/t.length),o=Math.floor(n-r*(t.length-1)),a=[],s=[],c=[],u=0;l(t),t.each(function(n,i){var l=n===t.length-1?o:r,d=e(i).outerHeight(!0);d *").each(function(t,i){var r=e(i).outerWidth();r>n&&(n=r)}),n++,t.width(n),n}function u(e,t){var n,i=e.add(t);return i.css({position:"relative",left:-1}),n=e.outerHeight()-t.outerHeight(),i.css({position:"",left:""}),n}function d(t){var n=t.css("position"),i=t.parents().filter(function(){var t=e(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==n&&i.length?i:e(t[0].ownerDocument||document)}function h(e,t){var n=e.offset(),i=n.left-(t?t.left:0),r=n.top-(t?t.top:0);return{left:i,right:i+e.outerWidth(),top:r,bottom:r+e.outerHeight()}}function f(e,t){var n=e.offset(),i=g(e),r=n.left+y(e,"border-left-width")+i.left-(t?t.left:0),o=n.top+y(e,"border-top-width")+i.top-(t?t.top:0);return{left:r,right:r+e[0].clientWidth,top:o,bottom:o+e[0].clientHeight}}function p(e,t){var n=e.offset(),i=n.left+y(e,"border-left-width")+y(e,"padding-left")-(t?t.left:0),r=n.top+y(e,"border-top-width")+y(e,"padding-top")-(t?t.top:0);return{left:i,right:i+e.width(),top:r,bottom:r+e.height()}}function g(e){var t,n=e[0].offsetWidth-e[0].clientWidth,i=e[0].offsetHeight-e[0].clientHeight;return n=m(n),i=m(i),t={left:0,right:0,top:0,bottom:i},v()&&"rtl"==e.css("direction")?t.left=n:t.right=n,t}function m(e){return e=Math.max(0,e),e=Math.round(e)}function v(){return null===Je&&(Je=b()),Je}function b(){var t=e("").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),n=t.children(),i=n.offset().left>t.offset().left;return t.remove(),i}function y(e,t){return parseFloat(e.css(t))||0}function w(e){return 1==e.which&&!e.ctrlKey}function k(e){var t=e.originalEvent.touches;return t&&t.length?t[0].pageX:e.pageX}function S(e){var t=e.originalEvent.touches;return t&&t.length?t[0].pageY:e.pageY}function A(e){return/^touch/.test(e.type)}function x(e){e.addClass("fc-unselectable").on("selectstart",D)}function T(e){e.removeClass("fc-unselectable").off("selectstart",D)}function D(e){e.preventDefault()}function E(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.leftl&&a=l?(n=a.clone(),r=!0):(n=l.clone(),r=!1),s<=c?(i=s.clone(),o=!0):(i=c.clone(),o=!1),{start:n,end:i,isStart:r,isEnd:o}}function j(e,n){return t.duration({days:e.clone().stripTime().diff(n.clone().stripTime(),"days"),ms:e.time()-n.time()})}function O(e,n){return t.duration({days:e.clone().stripTime().diff(n.clone().stripTime(),"days")})}function I(e,n,i){return t.duration(Math.round(e.diff(n,i,!0)),i)}function N(e,t){var n,i,r;for(n=0;n=1&&me(r)));n++);return i}function F(e,t){var n=N(e);return"week"===n&&"object"==typeof t&&t.days&&(n="day"),n}function B(e,n,i){return null!=i?i.diff(n,e,!0):t.isDuration(n)?n.as(e):n.end.diff(n.start,e,!0)}function G(e,t,n){var i;return ee(n)?(t-e)/n:(i=n.asMonths(),Math.abs(i)>=1&&me(i)?t.diff(e,"months",!0)/i:t.diff(e,"days",!0)/n.asDays())}function Y(e,t){var n,i;return ee(e)||ee(t)?e/t:(n=e.asMonths(),i=t.asMonths(),Math.abs(n)>=1&&me(n)&&Math.abs(i)>=1&&me(i)?n/i:e.asDays()/t.asDays())}function W(e,n){var i;return ee(e)?t.duration(e*n):(i=e.asMonths(),Math.abs(i)>=1&&me(i)?t.duration({months:i*n}):t.duration({days:e.asDays()*n}))}function q(e){return{start:e.start.clone(),end:e.end.clone()}}function V(e,t){return e=q(e),t.start&&(e.start=U(e.start,t)),t.end&&(e.end=$(e.end,t.end)),e}function U(e,t){return e=e.clone(),t.start&&(e=Q(e,t.start)),t.end&&e>=t.end&&(e=t.end.clone().subtract(1)),e}function Z(e,t){return(!t.start||e>=t.start)&&(!t.end||e=t.start)&&(!t.end||e.start=t.start)&&(!t.end||e.end<=t.end)}function J(e,t){return(e.start&&t.start&&e.start.isSame(t.start)||!e.start&&!t.start)&&(e.end&&t.end&&e.end.isSame(t.end)||!e.end&&!t.end)}function $(e,t){return(e.isBefore(t)?e:t).clone()}function Q(e,t){return(e.isAfter(t)?e:t).clone()}function ee(e){return Boolean(e.hours()||e.minutes()||e.seconds()||e.milliseconds())}function te(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function ne(e){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(e)}function ie(e,t){var n,i,r,o,a,s,l={};if(t)for(n=0;n=0;o--)if(a=e[o][i],"object"==typeof a)r.unshift(a);else if(void 0!==a){l[i]=a;break}r.length&&(l[i]=ie(r))}for(n=e.length-1;n>=0;n--){s=e[n];for(i in s)i in l||(l[i]=s[i])}return l}function re(e){var t=function(){};return t.prototype=e,new t}function oe(e,t){for(var n in e)ae(e,n)&&(t[n]=e[n])}function ae(e,t){return et.call(e,t)}function se(t){return/undefined|null|boolean|number|string/.test(e.type(t))}function le(t,n,i){if(e.isFunction(t)&&(t=[t]),t){var r,o;for(r=0;r /g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g," ")}function de(e){return e.replace(/&.*?;/g,"")}function he(t){var n=[];return e.each(t,function(e,t){null!=t&&n.push(e+":"+t)}),n.join(";")}function fe(t){var n=[];return e.each(t,function(e,t){null!=t&&n.push(e+'="'+ue(t)+'"')}),n.join(" ")}function pe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ge(e,t){return e-t}function me(e){return e%1===0}function ve(e,t){var n=e[t];return function(){return n.apply(e,arguments)}}function be(e,t,n){var i,r,o,a,s,l=function(){var c=+new Date-a;c=e.leftCol)return!0;return!1}function je(e,t){return e.leftCol-t.leftCol}function Oe(e){var t,n,i,r=[];for(t=0;tt.top&&e.top"),p.append(a("left")).append(a("right")).append(a("center")).append('
')):o()}function o(){p&&(p.remove(),p=f.el=null)}function a(i){var r=e('
'),o=n.layout[i],a=t.opt("customButtons")||{},s=t.opt("buttonText")||{};return o&&e.each(o.split(" "),function(n){var i,o=e(),l=!0;e.each(this.split(","),function(n,i){var r,c,u,d,h,f,p,v,b,y;"title"==i?(o=o.add(e(" ")),l=!1):((r=a[i])?(u=function(e){r.click&&r.click.call(y[0],e)},d="",h=r.text):(c=t.getViewSpec(i))?(u=function(){t.changeView(i)},m.push(i),d=c.buttonTextOverride,h=c.buttonTextDefault):t[i]&&(u=function(){t[i]()},d=(t.overrides.buttonText||{})[i],h=s[i]),u&&(f=r?r.themeIcon:t.opt("themeButtonIcons")[i],p=r?r.icon:t.opt("buttonIcons")[i],v=d?ue(d):f&&t.opt("theme")?" ":p&&!t.opt("theme")?" ":ue(h),b=["fc-"+i+"-button",g+"-button",g+"-state-default"],y=e(''+v+" ").click(function(e){y.hasClass(g+"-state-disabled")||(u(e),(y.hasClass(g+"-state-active")||y.hasClass(g+"-state-disabled"))&&y.removeClass(g+"-state-hover"))}).mousedown(function(){y.not("."+g+"-state-active").not("."+g+"-state-disabled").addClass(g+"-state-down")}).mouseup(function(){y.removeClass(g+"-state-down")}).hover(function(){y.not("."+g+"-state-active").not("."+g+"-state-disabled").addClass(g+"-state-hover")},function(){y.removeClass(g+"-state-hover").removeClass(g+"-state-down")}),o=o.add(y)))}),l&&o.first().addClass(g+"-corner-left").end().last().addClass(g+"-corner-right").end(),o.length>1?(i=e("
"),l&&i.addClass("fc-button-group"),i.append(o),r.append(i)):r.append(o)}),r}function s(e){p&&p.find("h2").text(e)}function l(e){p&&p.find(".fc-"+e+"-button").addClass(g+"-state-active")}function c(e){p&&p.find(".fc-"+e+"-button").removeClass(g+"-state-active")}function u(e){p&&p.find(".fc-"+e+"-button").prop("disabled",!0).addClass(g+"-state-disabled")}function d(e){p&&p.find(".fc-"+e+"-button").prop("disabled",!1).removeClass(g+"-state-disabled")}function h(){return m}var f=this;f.setToolbarOptions=i,f.render=r,f.removeElement=o,f.updateTitle=s,f.activateButton=l,f.deactivateButton=c,f.disableButton=u,f.enableButton=d,f.getViewsWithButtons=h,f.el=null;var p,g,m=[]}function We(t){e.each(zt,function(e,n){null==t[e]&&(t[e]=n(t))})}function qe(e){return t.localeData(e)||t.localeData("en")}function Ve(){function n(e,t){return!q.opt("lazyFetching")||o(e,t)?a(e,t):ut.resolve(Z)}function i(){Z=r($),q.trigger("eventsReset",Z)}function r(e){var t,n,i=[];for(t=0;tV&&i.push(n);return i}function o(e,t){return!V||eU}function a(e,t){return V=e,U=t,s()}function s(){return c(K,"reset")}function l(e){return c(k(e))}function c(e,t){var n,i;for("reset"===t?$=[]:"add"!==t&&($=T($,e)),n=0;no&&(!l[a]||c.isSame(u,l[a]))&&(a-1!==o||"."!==f[a]);a--)m=f[a]+m;for(s=o;s<=a;s++)v+=f[s],b+=p[s];return(v||b)&&(y=r?b+i+v:v+i+b),h(g+y+m)}function r(e){return w[e]||(w[e]=o(e))}function o(e){var t=a(e);return{fakeFormatString:l(t),sameUnits:c(t)}}function a(e){for(var t,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=i.exec(e);)t[1]?n.push.apply(n,s(t[1])):t[2]?n.push({maybe:a(t[2])}):t[3]?n.push({token:t[3]}):t[5]&&n.push.apply(n,s(t[5]));return n}function s(e){return". "===e?["."," "]:[e]}function l(e){var t,n,i=[];for(t=0;tr.value)&&(r=i));return r?r.unit:null}Ze.formatDate=e,Ze.formatRange=n,Ze.oldMomentFormat=t,Ze.queryMostGranularFormatUnit=f;var p="\v",g="",m="",v=new RegExp(m+"([^"+m+"]*)"+m,"g"),b={t:function(e){return t(e,"a").charAt(0)},T:function(e){return t(e,"A").charAt(0)}},y={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}},w={}}();var at=Ze.formatDate,st=Ze.formatRange,lt=Ze.oldMomentFormat;Ze.Class=ke,ke.extend=function(){var e,t,n=arguments.length;for(e=0;e=0;t--)n=i[t],n.namespace!==e.namespace||"add"!==n.type&&"remove"!==n.type||i.splice(t,1);"destroy"===e.type?i.length&&(n=i[i.length-1],n.namespace===e.namespace&&("init"===n.type?(r=!1,i.pop()):"destroy"===n.type&&(r=!1))):"init"===e.type&&i.length&&(n=i[i.length-1],n.namespace===e.namespace&&"init"===n.type&&i.pop())}return r&&i.push(e),r}});Ze.RenderQueue=ht;var ft=Ze.EmitterMixin={on:function(t,n){return e(this).on(t,this._prepareIntercept(n)),this},one:function(t,n){return e(this).one(t,this._prepareIntercept(n)),this},_prepareIntercept:function(t){var n=function(e,n){return t.apply(n.context||this,n.args||[])};return t.guid||(t.guid=e.guid++),n.guid=t.guid,n},off:function(t,n){return e(this).off(t,n),this},trigger:function(t){
var n=Array.prototype.slice.call(arguments,1);return e(this).triggerHandler(t,{args:n}),this},triggerWith:function(t,n,i){return e(this).triggerHandler(t,{context:n,args:i}),this}},pt=Ze.ListenerMixin=function(){var t=0,n={listenerId:null,listenTo:function(t,n,i){if("object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.listenTo(t,r,n[r]);else"string"==typeof n&&t.on(n+"."+this.getListenerNamespace(),e.proxy(i,this))},stopListeningTo:function(e,t){e.off((t||"")+"."+this.getListenerNamespace())},getListenerNamespace:function(){return null==this.listenerId&&(this.listenerId=t++),"_listener"+this.listenerId}};return n}(),gt=ke.extend(pt,{isHidden:!0,options:null,el:null,margin:10,constructor:function(e){this.options=e||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var t=this,n=this.options;this.el=e('
').addClass(n.className||"").css({top:0,left:0}).append(n.content).appendTo(n.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),n.autoHide&&this.listenTo(e(document),"mousedown",this.documentMousedown)},documentMousedown:function(t){this.el&&!e(t.target).closest(this.el).length&&this.hide()},removeElement:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(e(document),"mousedown")},position:function(){var t,n,i,r,o,a=this.options,s=this.el.offsetParent().offset(),l=this.el.outerWidth(),c=this.el.outerHeight(),u=e(window),h=d(this.el);r=a.top||0,o=void 0!==a.left?a.left:void 0!==a.right?a.right-l:0,h.is(window)||h.is(document)?(h=u,t=0,n=0):(i=h.offset(),t=i.top,n=i.left),t+=u.scrollTop(),n+=u.scrollLeft(),a.viewportConstrain!==!1&&(r=Math.min(r,t+h.outerHeight()-c-this.margin),r=Math.max(r,t+this.margin),o=Math.min(o,n+h.outerWidth()-l-this.margin),o=Math.max(o,n+this.margin)),this.el.css({top:r-s.top,left:o-s.left})},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))}}),mt=Ze.CoordCache=ke.extend({els:null,forcedOffsetParentEl:null,origin:null,boundingRect:null,isHorizontal:!1,isVertical:!1,lefts:null,rights:null,tops:null,bottoms:null,constructor:function(t){this.els=e(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?e(t.offsetParent):null},build:function(){var e=this.forcedOffsetParentEl;!e&&this.els.length>0&&(e=this.els.eq(0).offsetParent()),this.origin=e?e.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},clear:function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},ensureBuilt:function(){this.origin||this.build()},buildElHorizontals:function(){var t=[],n=[];this.els.each(function(i,r){var o=e(r),a=o.offset().left,s=o.outerWidth();t.push(a),n.push(a+s)}),this.lefts=t,this.rights=n},buildElVerticals:function(){var t=[],n=[];this.els.each(function(i,r){var o=e(r),a=o.offset().top,s=o.outerHeight();t.push(a),n.push(a+s)}),this.tops=t,this.bottoms=n},getHorizontalIndex:function(e){this.ensureBuilt();var t,n=this.lefts,i=this.rights,r=n.length;for(t=0;t=n[t]&&e=n[t]&&e0&&(e=d(this.els.eq(0)),!e.is(document))?f(e):null},isPointInBounds:function(e,t){return this.isLeftInBounds(e)&&this.isTopInBounds(t)},isLeftInBounds:function(e){return!this.boundingRect||e>=this.boundingRect.left&&e=this.boundingRect.top&&e=r*r&&this.handleDistanceSurpassed(e)),this.isDragging&&this.handleDrag(n,i,e)},handleDrag:function(e,t,n){this.trigger("drag",e,t,n),this.updateAutoScroll(n)},endDrag:function(e){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(e))},handleDragEnd:function(e){this.trigger("dragEnd",e)},startDelay:function(e){var t=this;this.delay?this.delayTimeoutId=setTimeout(function(){t.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)},handleDelayEnd:function(e){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(e)},handleDistanceSurpassed:function(e){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(e)},handleTouchMove:function(e){this.isDragging&&this.shouldCancelTouchScroll&&e.preventDefault(),this.handleMove(e)},handleMouseMove:function(e){this.handleMove(e)},handleTouchScroll:function(e){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(e,!0)},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1)),this["_"+e]&&this["_"+e].apply(this,Array.prototype.slice.call(arguments,1))}});vt.mixin({isAutoScroll:!1,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,initAutoScroll:function(){var e=this.scrollEl;this.isAutoScroll=this.options.scroll&&e&&!e.is(window)&&!e.is(document),this.isAutoScroll&&this.listenTo(e,"scroll",be(this.handleDebouncedScroll,100))},destroyAutoScroll:function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},computeScrollBounds:function(){this.isAutoScroll&&(this.scrollBounds=h(this.scrollEl))},updateAutoScroll:function(e){var t,n,i,r,o=this.scrollSensitivity,a=this.scrollBounds,s=0,l=0;a&&(t=(o-(S(e)-a.top))/o,n=(o-(a.bottom-S(e)))/o,i=(o-(k(e)-a.left))/o,r=(o-(a.right-k(e)))/o,t>=0&&t<=1?s=t*this.scrollSpeed*-1:n>=0&&n<=1&&(s=n*this.scrollSpeed),i>=0&&i<=1?l=i*this.scrollSpeed*-1:r>=0&&r<=1&&(l=r*this.scrollSpeed)),this.setScrollVel(s,l)},setScrollVel:function(e,t){this.scrollTopVel=e,this.scrollLeftVel=t,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(ve(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var e=this.scrollEl;this.scrollTopVel<0?e.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&e.scrollTop()+e[0].clientHeight>=e[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?e.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&e.scrollLeft()+e[0].clientWidth>=e[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var e=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&e.scrollTop(e.scrollTop()+this.scrollTopVel*t),this.scrollLeftVel&&e.scrollLeft(e.scrollLeft()+this.scrollLeftVel*t),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},endAutoScroll:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},handleDebouncedScroll:function(){this.scrollIntervalId||this.handleScrollEnd()},handleScrollEnd:function(){}});var bt=vt.extend({component:null,origHit:null,hit:null,coordAdjust:null,constructor:function(e,t){vt.call(this,t),this.component=e},handleInteractionStart:function(e){var t,n,i,r=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(n={left:k(e),top:S(e)},i=n,r&&(t=h(r),i=C(i,t)),this.origHit=this.queryHit(i.left,i.top),r&&this.options.subjectCenter&&(this.origHit&&(t=E(this.origHit,t)||t),i=_(t)),this.coordAdjust=M(i,n)):(this.origHit=null,this.coordAdjust=null),vt.prototype.handleInteractionStart.apply(this,arguments)},handleDragStart:function(e){var t;vt.prototype.handleDragStart.apply(this,arguments),t=this.queryHit(k(e),S(e)),t&&this.handleHitOver(t)},handleDrag:function(e,t,n){var i;vt.prototype.handleDrag.apply(this,arguments),i=this.queryHit(k(n),S(n)),De(i,this.hit)||(this.hit&&this.handleHitOut(),i&&this.handleHitOver(i))},handleDragEnd:function(){this.handleHitDone(),vt.prototype.handleDragEnd.apply(this,arguments)},handleHitOver:function(e){var t=De(e,this.origHit);this.hit=e,this.trigger("hitOver",this.hit,t,this.origHit)},handleHitOut:function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},handleHitDone:function(){this.hit&&this.trigger("hitDone",this.hit)},handleInteractionEnd:function(){vt.prototype.handleInteractionEnd.apply(this,arguments),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},handleScrollEnd:function(){vt.prototype.handleScrollEnd.apply(this,arguments),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},queryHit:function(e,t){return this.coordAdjust&&(e+=this.coordAdjust.left,t+=this.coordAdjust.top),this.component.queryHit(e,t)}});Ze.touchMouseIgnoreWait=500;var yt=ke.extend(pt,ft,{isTouching:!1,mouseIgnoreDepth:0,handleScrollProxy:null,bind:function(){var t=this;this.listenTo(e(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(n){t.handleTouchMove(e.Event(n))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(n){t.handleScroll(e.Event(n))},!0)},unbind:function(){this.stopListeningTo(e(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy),window.removeEventListener("scroll",this.handleScrollProxy,!0)},handleTouchStart:function(e){this.stopTouch(e,!0),this.isTouching=!0,this.trigger("touchstart",e)},handleTouchMove:function(e){this.isTouching&&this.trigger("touchmove",e)},handleTouchCancel:function(e){this.isTouching&&(this.trigger("touchcancel",e),this.stopTouch(e))},handleTouchEnd:function(e){this.stopTouch(e)},handleMouseDown:function(e){this.shouldIgnoreMouse()||this.trigger("mousedown",e)},handleMouseMove:function(e){this.shouldIgnoreMouse()||this.trigger("mousemove",e)},handleMouseUp:function(e){this.shouldIgnoreMouse()||this.trigger("mouseup",e)},handleClick:function(e){this.shouldIgnoreMouse()||this.trigger("click",e)},handleSelectStart:function(e){this.trigger("selectstart",e)},handleContextMenu:function(e){this.trigger("contextmenu",e)},handleScroll:function(e){this.trigger("scroll",e)},stopTouch:function(e,t){this.isTouching&&(this.isTouching=!1,this.trigger("touchend",e),t||this.startTouchMouseIgnore())},startTouchMouseIgnore:function(){var e=this,t=Ze.touchMouseIgnoreWait;t&&(this.mouseIgnoreDepth++,setTimeout(function(){e.mouseIgnoreDepth--},t))},shouldIgnoreMouse:function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)}});!function(){var e=null,t=0;yt.get=function(){return e||(e=new yt,e.bind()),e},yt.needed=function(){yt.get(),t++},yt.unneeded=function(){t--,t||(e.unbind(),e=null)}}();var wt=ke.extend(pt,{options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,y0:null,x0:null,topDelta:null,leftDelta:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(t,n){this.options=n=n||{},this.sourceEl=t,this.parentEl=n.parentEl?e(n.parentEl):t.parent()},start:function(t){this.isFollowing||(this.isFollowing=!0,this.y0=S(t),this.x0=k(t),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),A(t)?this.listenTo(e(document),"touchmove",this.handleMove):this.listenTo(e(document),"mousemove",this.handleMove))},stop:function(t,n){function i(){r.isAnimating=!1,r.removeElement(),r.top0=r.left0=null,n&&n()}var r=this,o=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(e(document)),t&&o&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:o,complete:i})):i())},getEl:function(){var e=this.el;return e||(e=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}),e.addClass("fc-unselectable"),e.appendTo(this.parentEl)),e},removeElement:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var e,t;this.getEl(),null===this.top0&&(e=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=e.top-t.top,this.left0=e.left-t.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},handleMove:function(e){this.topDelta=S(e)-this.y0,this.leftDelta=k(e)-this.x0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),kt=Ze.Grid=ke.extend(pt,{hasDayInteractions:!0,view:null,isRTL:null,start:null,end:null,el:null,elsByFill:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,minResizeDuration:null,largeUnit:null,dayClickListener:null,daySelectListener:null,segDragListener:null,segResizeListener:null,externalDragListener:null,constructor:function(e){this.view=e,this.isRTL=e.opt("isRTL"),this.elsByFill={},this.dayClickListener=this.buildDayClickListener(),this.daySelectListener=this.buildDaySelectListener()},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(e){this.start=e.start.clone(),this.end=e.end.clone(),this.rangeUpdated(),this.processRangeOptions()},rangeUpdated:function(){},processRangeOptions:function(){var e,t,n=this.view;this.eventTimeFormat=n.opt("eventTimeFormat")||n.opt("timeFormat")||this.computeEventTimeFormat(),e=n.opt("displayEventTime"),null==e&&(e=this.computeDisplayEventTime()),t=n.opt("displayEventEnd"),null==t&&(t=this.computeDisplayEventEnd()),this.displayEventTime=e,this.displayEventEnd=t},spanToSegs:function(e){},diffDates:function(e,t){return this.largeUnit?I(e,t,this.largeUnit):j(e,t)},hitsNeededDepth:0,hitsNeeded:function(){this.hitsNeededDepth++||this.prepareHits()},hitsNotNeeded:function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits()},prepareHits:function(){},releaseHits:function(){},queryHit:function(e,t){},getSafeHitSpan:function(e){var t=this.getHitSpan(e);return K(t,this.view.activeRange)?t:null},getHitSpan:function(e){},getHitEl:function(e){},setElement:function(e){this.el=e,this.hasDayInteractions&&(x(e),this.bindDayHandler("touchstart",this.dayTouchStart),this.bindDayHandler("mousedown",this.dayMousedown)),this.bindSegHandlers(),this.bindGlobalHandlers()},bindDayHandler:function(t,n){var i=this;this.el.on(t,function(t){if(!e(t.target).is(i.segSelector+","+i.segSelector+" *,.fc-more,a[data-goto]"))return n.call(i,t)})},removeElement:function(){this.unbindGlobalHandlers(),this.clearDragListeners(),this.el.remove()},renderSkeleton:function(){},renderDates:function(){},unrenderDates:function(){},bindGlobalHandlers:function(){this.listenTo(e(document),{dragstart:this.externalDragStart,sortstart:this.externalDragStart})},unbindGlobalHandlers:function(){this.stopListeningTo(e(document))},dayMousedown:function(e){var t=this.view;yt.get().shouldIgnoreMouse()||(this.dayClickListener.startInteraction(e),t.opt("selectable")&&this.daySelectListener.startInteraction(e,{distance:t.opt("selectMinDistance")}))},dayTouchStart:function(e){var t,n=this.view;n.isSelected||n.selectedEvent||(t=n.opt("selectLongPressDelay"),null==t&&(t=n.opt("longPressDelay")),this.dayClickListener.startInteraction(e),n.opt("selectable")&&this.daySelectListener.startInteraction(e,{delay:t}))},buildDayClickListener:function(){var e,t=this,n=this.view,i=new bt(this,{scroll:n.opt("dragScroll"),interactionStart:function(){e=i.origHit},hitOver:function(t,n,i){n||(e=null)},hitOut:function(){e=null},interactionEnd:function(i,r){var o;!r&&e&&(o=t.getSafeHitSpan(e),o&&n.triggerDayClick(o,t.getHitEl(e),i))}});return i.shouldCancelTouchScroll=!1,i.scrollAlwaysKills=!0,i},buildDaySelectListener:function(){var e,t=this,n=this.view,i=new bt(this,{scroll:n.opt("dragScroll"),interactionStart:function(){e=null},dragStart:function(){n.unselect()},hitOver:function(n,i,r){var a,s;r&&(a=t.getSafeHitSpan(r),s=t.getSafeHitSpan(n),e=a&&s?t.computeSelection(a,s):null,e?t.renderSelection(e):e===!1&&o())},hitOut:function(){e=null,t.unrenderSelection()},hitDone:function(){a()},interactionEnd:function(t,i){!i&&e&&n.reportSelection(e,t)}});return i},clearDragListeners:function(){this.dayClickListener.endInteraction(),this.daySelectListener.endInteraction(),this.segDragListener&&this.segDragListener.endInteraction(),this.segResizeListener&&this.segResizeListener.endInteraction(),this.externalDragListener&&this.externalDragListener.endInteraction()},renderEventLocationHelper:function(e,t){var n=this.fabricateHelperEvent(e,t);return this.renderHelper(n,t)},fabricateHelperEvent:function(e,t){var n=t?re(t.event):{};return n.start=e.start.clone(),n.end=e.end?e.end.clone():null,n.allDay=null,this.view.calendar.normalizeEventDates(n),n.className=(n.className||[]).concat("fc-helper"),t||(n.editable=!1),n},renderHelper:function(e,t){},unrenderHelper:function(){},renderSelection:function(e){this.renderHighlight(e)},unrenderSelection:function(){this.unrenderHighlight()},computeSelection:function(e,t){var n=this.computeSelectionSpan(e,t);return!(n&&!this.view.calendar.isSelectionSpanAllowed(n))&&n},computeSelectionSpan:function(e,t){var n=[e.start,e.end,t.start,t.end];return n.sort(ge),{start:n[0].clone(),end:n[3].clone()}},renderHighlight:function(e){this.renderFill("highlight",this.spanToSegs(e))},unrenderHighlight:function(){this.unrenderFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderBusinessHours:function(){},unrenderBusinessHours:function(){},getNowIndicatorUnit:function(){},renderNowIndicator:function(e){},unrenderNowIndicator:function(){},renderFill:function(e,t){},unrenderFill:function(e){var t=this.elsByFill[e];t&&(t.remove(),delete this.elsByFill[e])},renderFillSegEls:function(t,n){var i,r=this,o=this[t+"SegEl"],a="",s=[];if(n.length){for(i=0;i "},getDayClasses:function(e,t){var n,i=this.view,r=[];return Z(e,i.activeRange)?(r.push("fc-"+$e[e.day()]),1==i.currentRangeAs("months")&&e.month()!=i.currentRange.start.month()&&r.push("fc-other-month"),n=i.calendar.getNow(),e.isSame(n,"day")?(r.push("fc-today"),t!==!0&&r.push(i.highlightStateClass)):e *",mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(e){var t,n=[],i=[];for(t=0;ts&&a.push({start:s,end:n.start}),n.end>s&&(s=n.end);return s=t.length?t[t.length-1]+1:t[n]},computeColHeadFormat:function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},sliceRangeByRow:function(e){var t,n,i,r,o,a=this.daysPerRow,s=this.view.computeDayRange(e),l=this.getDateDayIndex(s.start),c=this.getDateDayIndex(s.end.clone().subtract(1,"days")),u=[];for(t=0;t