!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("jQuery")):"function"==typeof define&&define.amd?define(["jQuery"],e):"object"==typeof exports?exports.TimekitBooking=e(require("jQuery")):t.TimekitBooking=e(t.jQuery)}(this,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function i(){var t,e,i,c={},u=function(){n(40),n(41),n(43),n(42)},d=function(){if(t=r(c.targetEl),0===t.length)throw new Error("TimekitBooking - No target DOM element was found ("+c.targetEl+")");t.addClass("bookingjs"),t.children(":not(script)").remove()},f=function(){var t={};r.extend(!0,t,c.timekitConfig),o.configure(t),o.setUser(c.email,c.apiToken)},h=function(){var t={emails:[c.email]};r.extend(t,c.timekitFindTime),a.doCallback("findTimeStarted",c,t),o.findTime(t).then(function(t){a.doCallback("findTimeSuccessful",c,t),v(t.data)})["catch"](function(t){throw a.doCallback("findTimeFailed",c,t),new Error("TimekitBooking - An error with Timekit FindTime occured, context: "+t)})},p=function(){var e=(new Date).getTimezoneOffset()/60*-1,i=n(48),s=n(12),l=r(s({timezoneIcon:i,loading:!0}));t.append(l);var u={email:c.email};a.doCallback("getUserTimezoneStarted",c,u),o.getUserTimezone(u).then(function(t){a.doCallback("getUserTimezoneSuccesful",c,t);var o=t.data.utc_offset,s=Math.abs(e-o),u=n(12),d=r(u({timezoneIcon:i,timezoneDifference:0===s?!1:!0,timezoneOffset:s,timezoneDirection:s>0?"ahead":"behind",hostName:c.name}));l.replaceWith(d)})["catch"](function(t){throw a.doCallback("getUserTimezoneFailed",c,t),new Error("TimekitBooking - An error with Timekit getUserTimezone occured, context: "+t)})},g=function(){var n=m(),i={defaultView:n.view,height:n.height,eventClick:w,windowResize:function(){var t=m();e.fullCalendar("changeView",t.view),e.fullCalendar("option","height",t.height)}};r.extend(!0,i,c.fullCalendar),e=r('
'),t.append(e),e.fullCalendar(i),t.addClass("show"),a.doCallback("fullCalendarInitialized",c)},m=function(){var e="agendaWeek",n=554,i=t.width();return 480>i?(e="basicDay",n=430,t.addClass("bookingjs-small")):t.removeClass("bookingjs-small"),{height:n,view:e}},v=function(t){e.fullCalendar("addEventSource",{events:t}),e.removeClass("empty-calendar")},b=function(){var e=n(38),i=r(e({image:c.avatar}));t.append(i)},y=function(){var e=n(39),i=r(e({name:c.name}));t.append(i)},w=function(e){a.doCallback("showBookingPage",c);var o=n(36);i=r(o({chosenDate:s(e.start).format(c.localization.bookingDateFormat),chosenTime:s(e.start).format(c.localization.bookingTimeFormat)+" to "+s(e.end).format(c.localization.bookingTimeFormat),start:s(e.start).format(),end:s(e.end).format(),closeIcon:n(45),checkmarkIcon:n(44),loadingIcon:n(46),submitText:"Book it",successMessageTitle:"Thanks!",successMessagePart1:"An invitation has been sent to:",successMessagePart2:"Accept the invitation to confirm the booking."})),i.children(".bookingjs-bookpage-close").click(function(t){t.preventDefault(),k()});var l=i.children(".bookingjs-form");l.submit(function(t){x(this,t)}),c.showCredits&&D(i),r(document).on("keyup",function(t){27===t.keyCode&&k()}),t.append(i),setTimeout(function(){i.addClass("show")},100)},k=function(){a.doCallback("closeBookingPage",c),i.removeClass("show"),setTimeout(function(){i.remove()},200),r(document).off("keyup")},x=function(t,e){e.preventDefault();var n=r(t);if(a.doCallback("submitBookingForm",c),n.hasClass("loading")||n.hasClass("success")||!e.target.checkValidity()){var i=n.find(".bookingjs-form-button");return i.addClass("button-shake"),void setTimeout(function(){i.removeClass("button-shake")},500)}var o={};r.each(n.serializeArray(),function(t,e){o[e.name]=e.value}),n.addClass("loading"),S(o).then(function(t){a.doCallback("createEventSuccessful",c,t),n.find(".booked-email").html(o.email),n.removeClass("loading").addClass("success")})["catch"](function(t){throw a.doCallback("createEventFailed",c,t),new Error("TimekitBooking - An error with Timekit createEvent occured, context: "+t)})},S=function(t){var e={start:t.start,end:t.end,what:c.name+" x "+t.name,calendar_id:c.calendar,participants:[c.email,t.email],description:t.comment||""};return r.extend(!0,e,c.timekitCreateEvent),a.doCallback("createEventStarted",c,e),o.createEvent(e)},D=function(t){var e=n(37),i=n(47),o=r(e({timekitIcon:i}));t.append(o)},_=function(t){if(void 0===t||"object"!=typeof t||r.isEmptyObject(t)){if(void 0===window.timekitBookingConfig)throw new Error("TimekitBooking - No configuration was supplied or found. Please supply a config object upon library initialization");t=window.timekitBookingConfig}var e={},n={};if(t.localization&&"24h-dmy-mon"===t.localization.timeDateFormat&&(n={fullCalendar:{timeFormat:"HH:mm",firstDay:1,views:{agenda:{columnFormat:"ddd\n D/M",slotLabelFormat:"HH:mm"},basic:{columnFormat:"dddd D/M"}}},localization:{bookingDateFormat:"D. MMMM YYYY",bookingTimeFormat:"HH:mm"}}),r.extend(!0,e,l,n,t),!e.email||!e.apiToken||!e.calendar)throw new Error('TimekitBooking - A required config setting was missing ("email", "apiToken" or "calendar")');return c=e},T=function(){return c},C=function(){return d(),f(),g(),h(),c.localization.showTimezoneHelper&&p(),c.avatar&&b(),c.name&&y(),a.doCallback("renderCompleted",c),this},E=function(t){return _(t),c.includeStyles&&u(),C()},M=function(){return d(),c={},this},L=function(){return void 0===e.fullCalendar?void 0:e.fullCalendar.apply(e,arguments)};return{setConfig:_,getConfig:T,render:C,init:E,destroy:M,fullCalendar:L}}/*!
* Booking.js
* Version: 1.2.1
* http://booking.timekit.io
*
* Copyright 2015 Timekit, Inc.
* Timekit Booking.js is freely distributable under the MIT license.
*
*/
n(31);var r=n(13),o=n(49),s=n(5),a=n(52),l=n(51);window&&window.timekitBookingConfig&&window.timekitBookingConfig.autoload!==!1?r(window).load(function(){var e=new i;e.init(window.timekitBookingConfig),t.exports=e}):t.exports=i},function(t,e){"use strict";function n(t){return"[object Array]"===m.call(t)}function i(t){return"[object ArrayBuffer]"===m.call(t)}function r(t){return"[object FormData]"===m.call(t)}function o(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function a(t){return"number"==typeof t}function l(t){return"undefined"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return"[object Date]"===m.call(t)}function d(t){return"[object File]"===m.call(t)}function f(t){return"[object Blob]"===m.call(t)}function h(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function p(t,e){if(null!==t&&"undefined"!=typeof t){var i=n(t)||"object"==typeof t&&!isNaN(t.length);if("object"==typeof t||i||(t=[t]),i)for(var r=0,o=t.length;o>r;r++)e.call(null,t[r],r,t);else for(var s in t)t.hasOwnProperty(s)&&e.call(null,t[s],s,t)}}function g(){var t={};return p(arguments,function(e){p(e,function(e,n){t[n]=e})}),t}var m=Object.prototype.toString;t.exports={isArray:n,isArrayBuffer:i,isFormData:r,isArrayBufferView:o,isString:s,isNumber:a,isObject:c,isUndefined:l,isDate:u,isFile:d,isBlob:f,forEach:p,merge:g,trim:h}},function(t,e,n){var i=n(32);i.Template=n(33).Template,i.template=i.Template,t.exports=i},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e
=0&&y.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function c(t,e){var n,i,r;if(e.singleton){var o=b++;n=v||(v=a(e)),i=u.bind(null,n,o,!1),r=u.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=f.bind(null,n),r=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=d.bind(null,n),r=function(){s(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function u(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function d(t,e){var n=e.css,i=e.media;e.sourceMap;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function f(t,e){var n=e.css,i=(e.media,e.sourceMap);i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var h={},p=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},g=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,b=0,y=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=g()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=r(t);return i(n,e),function(t){for(var o=[],s=0;s0)for(n in On)i=On[n],r=e[i],"undefined"!=typeof r&&(t[i]=r);return t}function g(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),Pn===!1&&(Pn=!0,e.updateOffset(this),Pn=!1)}function m(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function v(t){return 0>t?Math.ceil(t):Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function y(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&b(t[i])!==b(e[i]))&&s++;return s+o}function w(){}function k(t){return t?t.toLowerCase().replace("_","-"):t}function x(t){for(var e,n,i,r,o=0;o0;){if(i=S(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&y(r,n,!0)>=e-1)break;e--}o++}return null}function S(e){var i=null;if(!Gn[e]&&"undefined"!=typeof t&&t&&t.exports)try{i=Fn._abbr,n(35)("./"+e),D(i)}catch(r){}return Gn[e]}function D(t,e){var n;return t&&(n="undefined"==typeof e?T(t):_(t,e),n&&(Fn=n)),Fn._abbr}function _(t,e){return null!==e?(e.abbr=t,Gn[t]=Gn[t]||new w,Gn[t].set(e),D(t),Gn[t]):(delete Gn[t],null)}function T(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Fn;if(!r(t)){if(e=S(t))return e;t=[t]}return x(t)}function C(t,e){var n=t.toLowerCase();In[n]=In[n+"s"]=In[e]=t}function E(t){return"string"==typeof t?In[t]||In[t.toLowerCase()]:void 0}function M(t){var e,n,i={};for(n in t)a(t,n)&&(e=E(n),e&&(i[e]=t[n]));return i}function L(t,n){return function(i){return null!=i?(H(this,t,i),e.updateOffset(this,n),this):R(this,t)}}function R(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function H(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function z(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=E(t),"function"==typeof this[t])return this[t](e);return this}function Y(t,e,n){var i=""+Math.abs(t),r=e-i.length,o=t>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function j(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Wn[t]=r),e&&(Wn[e[0]]=function(){return Y(r.apply(this,arguments),e[1],e[2])}),n&&(Wn[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function A(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function F(t){var e,n,i=t.match(Un);for(e=0,n=i.length;n>e;e++)Wn[i[e]]?i[e]=Wn[i[e]]:i[e]=A(i[e]);return function(r){var o="";for(e=0;n>e;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function O(t,e){return t.isValid()?(e=P(e,t.localeData()),Nn[e]=Nn[e]||F(e),Nn[e](t)):t.localeData().invalidDate()}function P(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Bn.lastIndex=0;i>=0&&Bn.test(t);)t=t.replace(Bn,n),Bn.lastIndex=0,i-=1;return t}function G(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function I(t,e,n){si[t]=G(e)?e:function(t){return t&&n?n:e}}function U(t,e){return a(si,t)?si[t](e._strict,e._locale):new RegExp(B(t))}function B(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function N(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=b(t)}),n=0;ni;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function J(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),Z(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function K(t){return null!=t?(J(this,t),e.updateOffset(this,!0),this):R(this,"Month")}function Q(){return Z(this.year(),this.month())}function tt(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[ci]<0||n[ci]>11?ci:n[ui]<1||n[ui]>Z(n[li],n[ci])?ui:n[di]<0||n[di]>24||24===n[di]&&(0!==n[fi]||0!==n[hi]||0!==n[pi])?di:n[fi]<0||n[fi]>59?fi:n[hi]<0||n[hi]>59?hi:n[pi]<0||n[pi]>999?pi:-1,d(t)._overflowDayOfYear&&(li>e||e>ui)&&(e=ui),d(t).overflow=e),t}function et(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function nt(t,e){var n=!0;return l(function(){return n&&(et(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function it(t,e){vi[t]||(et(e),vi[t]=!0)}function rt(t){var e,n,i=t._i,r=bi.exec(i);if(r){for(d(t).iso=!0,e=0,n=yi.length;n>e;e++)if(yi[e][1].exec(i)){t._f=yi[e][0];break}for(e=0,n=wi.length;n>e;e++)if(wi[e][1].exec(i)){t._f+=(r[6]||" ")+wi[e][0];break}i.match(ii)&&(t._f+="Z"),St(t)}else t._isValid=!1}function ot(t){var n=ki.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(rt(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function st(t,e,n,i,r,o,s){var a=new Date(t,e,n,i,r,o,s);return 1970>t&&a.setFullYear(t),a}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function lt(t){return ct(t)?366:365}function ct(t){return t%4===0&&t%100!==0||t%400===0}function ut(){return ct(this.year())}function dt(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=Rt(t).add(o,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ft(t){return dt(t,this._week.dow,this._week.doy).week}function ht(){return this._week.dow}function pt(){return this._week.doy}function gt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function mt(t){var e=dt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function vt(t,e,n,i,r){var o,s=6+r-i,a=at(t,0,1+s),l=a.getUTCDay();return r>l&&(l+=7),n=null!=n?1*n:r,o=1+s+7*(e-1)-l+n,{year:o>0?t:t-1,dayOfYear:o>0?o:lt(t-1)+o}}function bt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function yt(t,e,n){return null!=t?t:null!=e?e:n}function wt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function kt(t){var e,n,i,r,o=[];if(!t._d){for(i=wt(t),t._w&&null==t._a[ui]&&null==t._a[ci]&&xt(t),t._dayOfYear&&(r=yt(t._a[li],i[li]),t._dayOfYear>lt(r)&&(d(t)._overflowDayOfYear=!0),n=at(r,0,t._dayOfYear),t._a[ci]=n.getUTCMonth(),t._a[ui]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[di]&&0===t._a[fi]&&0===t._a[hi]&&0===t._a[pi]&&(t._nextDay=!0,t._a[di]=0),t._d=(t._useUTC?at:st).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[di]=24)}}function xt(t){var e,n,i,r,o,s,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,s=4,n=yt(e.GG,t._a[li],dt(Rt(),1,4).year),i=yt(e.W,1),r=yt(e.E,1)):(o=t._locale._week.dow,s=t._locale._week.doy,n=yt(e.gg,t._a[li],dt(Rt(),o,s).year),i=yt(e.w,1),null!=e.d?(r=e.d,o>r&&++i):r=null!=e.e?e.e+o:o),a=vt(n,i,r,s,o),t._a[li]=a.year,t._dayOfYear=a.dayOfYear}function St(t){if(t._f===e.ISO_8601)return void rt(t);t._a=[],d(t).empty=!0;var n,i,r,o,s,a=""+t._i,l=a.length,c=0;for(r=P(t._f,t._locale).match(Un)||[],n=0;n0&&d(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),c+=i.length),Wn[o]?(i?d(t).empty=!1:d(t).unusedTokens.push(o),V(o,i,t)):t._strict&&!i&&d(t).unusedTokens.push(o);d(t).charsLeftOver=l-c,a.length>0&&d(t).unusedInput.push(a),d(t).bigHour===!0&&t._a[di]<=12&&t._a[di]>0&&(d(t).bigHour=void 0),t._a[di]=Dt(t._locale,t._a[di],t._meridiem),kt(t),tt(t)}function Dt(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function _t(t){var e,n,i,r,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;ro)&&(i=o,n=e));l(t,n||e)}function Tt(t){if(!t._d){var e=M(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],kt(t)}}function Ct(t){var e=new g(tt(Et(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Et(t){var e=t._i,n=t._f;return t._locale=t._locale||T(t._l),null===e||void 0===n&&""===e?h({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new g(tt(e)):(r(n)?_t(t):n?St(t):o(e)?t._d=e:Mt(t),t))}function Mt(t){var n=t._i;void 0===n?t._d=new Date:o(n)?t._d=new Date(+n):"string"==typeof n?ot(t):r(n)?(t._a=s(n.slice(0),function(t){return parseInt(t,10)}),kt(t)):"object"==typeof n?Tt(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function Lt(t,e,n,i,r){var o={};return"boolean"==typeof n&&(i=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,Ct(o)}function Rt(t,e,n,i){return Lt(t,e,n,i,!1)}function Ht(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Rt();for(n=e[0],i=1;it&&(t=-t,n="-"),n+Y(~~(t/60),2)+e+Y(~~t%60,2)})}function Ot(t){var e=(t||"").match(ii)||[],n=e[e.length-1]||[],i=(n+"").match(Ti)||["-",0,0],r=+(60*i[1])+b(i[2]);return"+"===i[0]?r:-r}function Pt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(m(t)||o(t)?+t:+Rt(t))-+i,i._d.setTime(+i._d+r),e.updateOffset(i,!1),i):Rt(t).local()}function Gt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function It(t,n){var i,r=this._offset||0;return null!=t?("string"==typeof t&&(t=Ot(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=Gt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?ie(this,Kt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Gt(this)}function Ut(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Bt(t){return this.utcOffset(0,t)}function Nt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Gt(this),"m")),this}function Wt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ot(this._i)),this}function Vt(t){return t=t?Rt(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Zt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qt(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var t={};if(p(t,this),t=Et(t),t._a){var e=t._isUTC?c(t._a):Rt(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Xt(){return!this._isUTC}function $t(){return this._isUTC}function Jt(){return this._isUTC&&0===this._offset}function Kt(t,e){var n,i,r,o=t,s=null;return At(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=Ci.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[ui])*n,h:b(s[di])*n,m:b(s[fi])*n,s:b(s[hi])*n,ms:b(s[pi])*n}):(s=Ei.exec(t))?(n="-"===s[1]?-1:1,o={y:Qt(s[2],n),M:Qt(s[3],n),d:Qt(s[4],n),h:Qt(s[5],n),m:Qt(s[6],n),s:Qt(s[7],n),w:Qt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=ee(Rt(o.from),Rt(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new jt(o),At(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Qt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function te(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ee(t,e){var n;return e=Pt(e,t),t.isBefore(e)?n=te(t,e):(n=te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ne(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(it(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Kt(n,i),ie(this,r,t),this}}function ie(t,n,i,r){var o=n._milliseconds,s=n._days,a=n._months;r=null==r?!0:r,o&&t._d.setTime(+t._d+o*i),s&&H(t,"Date",R(t,"Date")+s*i),a&&J(t,R(t,"Month")+a*i),r&&e.updateOffset(t,s||a)}function re(t,e){var n=t||Rt(),i=Pt(n,this).startOf("day"),r=this.diff(i,"days",!0),o=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(e&&e[o]||this.localeData().calendar(o,this,Rt(n)))}function oe(){return new g(this)}function se(t,e){var n;return e=E("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Rt(t),+this>+t):(n=m(t)?+t:+Rt(t),n<+this.clone().startOf(e))}function ae(t,e){var n;return e=E("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Rt(t),+t>+this):(n=m(t)?+t:+Rt(t),+this.clone().endOf(e)e-o?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)}function fe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function he(){var t=this.clone().utc();return 0e;e++)if(this._weekdaysParse[e]||(n=Rt([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Be(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Oe(t,this.localeData()),this.add(t-e,"d")):e}function Ne(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function We(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Ve(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Ze(t,e){return e._meridiemParse}function qe(t){return"p"===(t+"").toLowerCase().charAt(0)}function Xe(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function $e(t,e){e[pi]=b(1e3*("0."+t))}function Je(){return this._isUTC?"UTC":""}function Ke(){return this._isUTC?"Coordinated Universal Time":""}function Qe(t){return Rt(1e3*t)}function tn(){return Rt.apply(null,arguments).parseZone()}function en(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function nn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function rn(){return this._invalidDate}function on(t){return this._ordinal.replace("%d",t)}function sn(t){return t}function an(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function cn(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function un(t,e,n,i){var r=T(),o=c().set(i,e);return r[n](o,t)}function dn(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return un(t,e,n,r);var o,s=[];for(o=0;i>o;o++)s[o]=un(t,o,n,r);return s}function fn(t,e){return dn(t,e,"months",12,"month")}function hn(t,e){return dn(t,e,"monthsShort",12,"month")}function pn(t,e){return dn(t,e,"weekdays",7,"day")}function gn(t,e){return dn(t,e,"weekdaysShort",7,"day")}function mn(t,e){return dn(t,e,"weekdaysMin",7,"day")}function vn(){var t=this._data;return this._milliseconds=Ji(this._milliseconds),this._days=Ji(this._days),this._months=Ji(this._months),t.milliseconds=Ji(t.milliseconds),t.seconds=Ji(t.seconds),t.minutes=Ji(t.minutes),t.hours=Ji(t.hours),t.months=Ji(t.months),t.years=Ji(t.years),this}function bn(t,e,n,i){var r=Kt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function yn(t,e){return bn(this,t,e,1)}function wn(t,e){return bn(this,t,e,-1)}function kn(t){return 0>t?Math.floor(t):Math.ceil(t)}function xn(){var t,e,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||0>=o&&0>=s&&0>=a||(o+=864e5*kn(Dn(a)+s),s=0,a=0),l.milliseconds=o%1e3,t=v(o/1e3),l.seconds=t%60,e=v(t/60),l.minutes=e%60,n=v(e/60),l.hours=n%24,s+=v(n/24),r=v(Sn(s)),a+=r,s-=kn(Dn(r)),i=v(a/12),a%=12,l.days=s,l.months=a,l.years=i,this}function Sn(t){return 4800*t/146097}function Dn(t){return 146097*t/4800}function _n(t){var e,n,i=this._milliseconds;if(t=E(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Sn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Dn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Tn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Cn(t){return function(){return this.as(t)}}function En(t){return t=E(t),this[t+"s"]()}function Mn(t){return function(){return this._data[t]}}function Ln(){return v(this.days()/7)}function Rn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Hn(t,e,n){var i=Kt(t).abs(),r=hr(i.as("s")),o=hr(i.as("m")),s=hr(i.as("h")),a=hr(i.as("d")),l=hr(i.as("M")),c=hr(i.as("y")),u=r0,u[4]=n,Rn.apply(null,u)}function zn(t,e){return void 0===pr[t]?!1:void 0===e?pr[t]:(pr[t]=e,!0)}function Yn(t){var e=this.localeData(),n=Hn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function jn(){var t,e,n,i=gr(this._milliseconds)/1e3,r=gr(this._days),o=gr(this._months);t=v(i/60),e=v(t/60),i%=60,t%=60,n=v(o/12),o%=12;var s=n,a=o,l=r,c=e,u=t,d=i,f=this.asSeconds();return f?(0>f?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(l?l+"D":"")+(c||u||d?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(d?d+"S":""):"P0D"}var An,Fn,On=e.momentProperties=[],Pn=!1,Gn={},In={},Un=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Bn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},Wn={},Vn=/\d/,Zn=/\d\d/,qn=/\d{3}/,Xn=/\d{4}/,$n=/[+-]?\d{6}/,Jn=/\d\d?/,Kn=/\d{1,3}/,Qn=/\d{1,4}/,ti=/[+-]?\d{1,6}/,ei=/\d+/,ni=/[+-]?\d+/,ii=/Z|[+-]\d\d:?\d\d/gi,ri=/[+-]?\d+(\.\d{1,3})?/,oi=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,si={},ai={},li=0,ci=1,ui=2,di=3,fi=4,hi=5,pi=6;j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),j("MMMM",0,0,function(t){return this.localeData().months(this,t)}),C("month","M"),I("M",Jn),I("MM",Jn,Zn),I("MMM",oi),I("MMMM",oi),N(["M","MM"],function(t,e){e[ci]=b(t)-1}),N(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[ci]=r:d(n).invalidMonth=t});var gi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vi={};e.suppressDeprecationWarnings=!1;var bi=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],wi=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],ki=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=nt("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),C("year","y"),I("Y",ni),I("YY",Jn,Zn),I("YYYY",Qn,Xn),I("YYYYY",ti,$n),I("YYYYYY",ti,$n),N(["YYYYY","YYYYYY"],li),N("YYYY",function(t,n){n[li]=2===t.length?e.parseTwoDigitYear(t):b(t)}),N("YY",function(t,n){n[li]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var xi=L("FullYear",!1);j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),I("w",Jn),I("ww",Jn,Zn),I("W",Jn),I("WW",Jn,Zn),W(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=b(t)});var Si={dow:0,doy:6};j("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),I("DDD",Kn),I("DDDD",qn),N(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),e.ISO_8601=function(){};var Di=nt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Rt.apply(null,arguments);return this>t?this:t}),_i=nt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Rt.apply(null,arguments);return t>this?this:t});Ft("Z",":"),Ft("ZZ",""),I("Z",ii),I("ZZ",ii),N(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ot(t)});var Ti=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ci=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ei=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Kt.fn=jt.prototype;var Mi=ne(1,"add"),Li=ne(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Ri=nt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Re("gggg","weekYear"),Re("ggggg","weekYear"),Re("GGGG","isoWeekYear"),Re("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),I("G",ni),I("g",ni),I("GG",Jn,Zn),I("gg",Jn,Zn),I("GGGG",Qn,Xn),I("gggg",Qn,Xn),I("GGGGG",ti,$n),I("ggggg",ti,$n),W(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=b(t)}),W(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),j("Q",0,0,"quarter"),C("quarter","Q"),I("Q",Vn),N("Q",function(t,e){e[ci]=3*(b(t)-1)}),j("D",["DD",2],"Do","date"),C("date","D"),I("D",Jn),I("DD",Jn,Zn),I("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),N(["D","DD"],ui),N("Do",function(t,e){e[ui]=b(t.match(Jn)[0],10)});var Hi=L("Date",!0);j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),I("d",Jn),I("e",Jn),I("E",Jn),I("dd",oi),I("ddd",oi),I("dddd",oi),W(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:d(n).invalidWeekday=t}),W(["d","e","E"],function(t,e,n,i){e[i]=b(t)});var zi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ji="Su_Mo_Tu_We_Th_Fr_Sa".split("_");j("H",["HH",2],0,"hour"),j("h",["hh",2],0,function(){return this.hours()%12||12}),Ve("a",!0),Ve("A",!1),C("hour","h"),I("a",Ze),I("A",Ze),I("H",Jn),I("h",Jn),I("HH",Jn,Zn),I("hh",Jn,Zn),N(["H","HH"],di),N(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),N(["h","hh"],function(t,e,n){e[di]=b(t),d(n).bigHour=!0});var Ai=/[ap]\.?m?\.?/i,Fi=L("Hours",!0);j("m",["mm",2],0,"minute"),C("minute","m"),I("m",Jn),I("mm",Jn,Zn),N(["m","mm"],fi);var Oi=L("Minutes",!1);j("s",["ss",2],0,"second"),C("second","s"),I("s",Jn),I("ss",Jn,Zn),N(["s","ss"],hi);var Pi=L("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),C("millisecond","ms"),I("S",Kn,Vn),I("SS",Kn,Zn),I("SSS",Kn,qn);var Gi;for(Gi="SSSS";Gi.length<=9;Gi+="S")I(Gi,ei);for(Gi="S";Gi.length<=9;Gi+="S")N(Gi,$e);var Ii=L("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var Ui=g.prototype;Ui.add=Mi,Ui.calendar=re,Ui.clone=oe,Ui.diff=ue,Ui.endOf=xe,Ui.format=pe,Ui.from=ge,Ui.fromNow=me,Ui.to=ve,Ui.toNow=be,Ui.get=z,Ui.invalidAt=Le,Ui.isAfter=se,Ui.isBefore=ae,Ui.isBetween=le,Ui.isSame=ce,Ui.isValid=Ee,Ui.lang=Ri,Ui.locale=ye,Ui.localeData=we,Ui.max=_i,Ui.min=Di,Ui.parsingFlags=Me,Ui.set=z,Ui.startOf=ke,Ui.subtract=Li,Ui.toArray=Te,Ui.toObject=Ce,Ui.toDate=_e,Ui.toISOString=he,Ui.toJSON=he,Ui.toString=fe,Ui.unix=De,Ui.valueOf=Se,Ui.year=xi,Ui.isLeapYear=ut,Ui.weekYear=ze,Ui.isoWeekYear=Ye,Ui.quarter=Ui.quarters=Fe,Ui.month=K,Ui.daysInMonth=Q,Ui.week=Ui.weeks=gt,Ui.isoWeek=Ui.isoWeeks=mt,Ui.weeksInYear=Ae,Ui.isoWeeksInYear=je,Ui.date=Hi,Ui.day=Ui.days=Be,Ui.weekday=Ne,Ui.isoWeekday=We,Ui.dayOfYear=bt,Ui.hour=Ui.hours=Fi,Ui.minute=Ui.minutes=Oi,Ui.second=Ui.seconds=Pi,Ui.millisecond=Ui.milliseconds=Ii,Ui.utcOffset=It,Ui.utc=Bt,Ui.local=Nt,Ui.parseZone=Wt,Ui.hasAlignedHourOffset=Vt,Ui.isDST=Zt,
Ui.isDSTShifted=qt,Ui.isLocal=Xt,Ui.isUtcOffset=$t,Ui.isUtc=Jt,Ui.isUTC=Jt,Ui.zoneAbbr=Je,Ui.zoneName=Ke,Ui.dates=nt("dates accessor is deprecated. Use date instead.",Hi),Ui.months=nt("months accessor is deprecated. Use month instead",K),Ui.years=nt("years accessor is deprecated. Use year instead",xi),Ui.zone=nt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ut);var Bi=Ui,Ni={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Wi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Vi="Invalid date",Zi="%d",qi=/\d{1,2}/,Xi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},$i=w.prototype;$i._calendar=Ni,$i.calendar=en,$i._longDateFormat=Wi,$i.longDateFormat=nn,$i._invalidDate=Vi,$i.invalidDate=rn,$i._ordinal=Zi,$i.ordinal=on,$i._ordinalParse=qi,$i.preparse=sn,$i.postformat=sn,$i._relativeTime=Xi,$i.relativeTime=an,$i.pastFuture=ln,$i.set=cn,$i.months=q,$i._months=gi,$i.monthsShort=X,$i._monthsShort=mi,$i.monthsParse=$,$i.week=ft,$i._week=Si,$i.firstDayOfYear=pt,$i.firstDayOfWeek=ht,$i.weekdays=Pe,$i._weekdays=zi,$i.weekdaysMin=Ie,$i._weekdaysMin=ji,$i.weekdaysShort=Ge,$i._weekdaysShort=Yi,$i.weekdaysParse=Ue,$i.isPM=qe,$i._meridiemParse=Ai,$i.meridiem=Xe,D("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=nt("moment.lang is deprecated. Use moment.locale instead.",D),e.langData=nt("moment.langData is deprecated. Use moment.localeData instead.",T);var Ji=Math.abs,Ki=Cn("ms"),Qi=Cn("s"),tr=Cn("m"),er=Cn("h"),nr=Cn("d"),ir=Cn("w"),rr=Cn("M"),or=Cn("y"),sr=Mn("milliseconds"),ar=Mn("seconds"),lr=Mn("minutes"),cr=Mn("hours"),ur=Mn("days"),dr=Mn("months"),fr=Mn("years"),hr=Math.round,pr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,mr=jt.prototype;mr.abs=vn,mr.add=yn,mr.subtract=wn,mr.as=_n,mr.asMilliseconds=Ki,mr.asSeconds=Qi,mr.asMinutes=tr,mr.asHours=er,mr.asDays=nr,mr.asWeeks=ir,mr.asMonths=rr,mr.asYears=or,mr.valueOf=Tn,mr._bubble=xn,mr.get=En,mr.milliseconds=sr,mr.seconds=ar,mr.minutes=lr,mr.hours=cr,mr.days=ur,mr.weeks=Ln,mr.months=dr,mr.years=fr,mr.humanize=Yn,mr.toISOString=jn,mr.toString=jn,mr.toJSON=jn,mr.locale=ye,mr.localeData=we,mr.toIsoString=nt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jn),mr.lang=Ri,j("X",0,0,"unix"),j("x",0,0,"valueOf"),I("x",ni),I("X",ri),N("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),N("x",function(t,e,n){n._d=new Date(b(t))}),e.version="2.10.6",i(Rt),e.fn=Bi,e.min=zt,e.max=Yt,e.utc=c,e.unix=Qe,e.months=fn,e.isDate=o,e.locale=D,e.invalid=h,e.duration=Kt,e.isMoment=m,e.weekdays=pn,e.parseZone=tn,e.localeData=T,e.isDuration=At,e.monthsShort=hn,e.weekdaysMin=mn,e.defineLocale=_,e.weekdaysShort=gn,e.normalizeUnits=E,e.relativeTimeThreshold=zn;var vr=e;return vr})}).call(e,n(8)(t))},function(t,e){function n(){c=!1,s.length?l=s.concat(l):u=-1,l.length&&i()}function i(){if(!c){var t=setTimeout(n);c=!0;for(var e=l.length;e;){for(s=l,l=[];++u1)for(var n=1;n=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},e.setImmediate="function"==typeof t?t:function(t){var n=c++,i=arguments.length<2?!1:a.call(arguments,1);return l[n]=!0,o(function(){l[n]&&(i?t.apply(null,i):t.call(null),e.clearImmediate(n))}),n},e.clearImmediate="function"==typeof i?i:function(t){delete l[t]}}).call(e,n(7).setImmediate,n(7).clearImmediate)},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var i=n(10),r=n(1),o=n(18),s=n(19),a=n(21),l=n(23),c=n(24);t.exports=function(t,e,n){var u=l(n.data,n.headers,n.transformRequest),d=r.merge(i.headers.common,i.headers[n.method]||{},n.headers||{});r.isFormData(u)&&delete d["Content-Type"];var f=new(XMLHttpRequest||ActiveXObject)("Microsoft.XMLHTTP");f.open(n.method.toUpperCase(),o(n.url,n.params),!0),f.onreadystatechange=function(){if(f&&4===f.readyState){var i=a(f.getAllResponseHeaders()),r=-1!==["text",""].indexOf(n.responseType||"")?f.responseText:f.response,o={data:l(r,i,n.transformResponse),status:f.status,statusText:f.statusText,headers:i,config:n};(f.status>=200&&f.status<300?t:e)(o),f=null}};var h=c(n.url)?s.read(n.xsrfCookieName||i.xsrfCookieName):void 0;if(h&&(d[n.xsrfHeaderName||i.xsrfHeaderName]=h),r.forEach(d,function(t,e){u||"content-type"!==e.toLowerCase()?f.setRequestHeader(e,t):delete d[e]}),n.withCredentials&&(f.withCredentials=!0),n.responseType)try{f.responseType=n.responseType}catch(p){if("json"!==f.responseType)throw p}r.isArrayBuffer(u)&&(u=new DataView(u)),f.send(u)}},function(t,e,n){"use strict";var i=n(1),r=/^\)\]\}',?\n/,o={"Content-Type":"application/x-www-form-urlencoded"};t.exports={transformRequest:[function(t,e){return i.isFormData(t)?t:i.isArrayBuffer(t)?t:i.isArrayBufferView(t)?t.buffer:!i.isObject(t)||i.isFile(t)||i.isBlob(t)?t:(!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]="application/json;charset=utf-8"),JSON.stringify(t))}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(r,"");try{t=JSON.parse(t)}catch(e){}}return t}],headers:{common:{Accept:"application/json, text/plain, */*"},patch:i.merge(o),post:i.merge(o),put:i.merge(o)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"}},function(t,e,n){
//! moment.js locale configuration
//! locale : great britain english (en-gb)
//! author : Chris Gedrim : https://github.com/chrisgedrim
!function(t,e){e(n(5))}(this,function(t){"use strict";var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){var i=n(2);t.exports=function(){var t=new i.Template({code:function(t,e,n){var i=this;return i.b(n=n||""),i.b(''),i.b("\n"),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("timezoneIcon",t,e,0))),i.b("\n"),i.b("\n"+n),i.s(i.f("loading",t,e,1),t,e,0,79,110,"{{ }}")&&(i.rs(t,e,function(t,e,i){i.b(" Loading... "),i.b("\n"+n)}),t.pop()),i.b("\n"+n),i.s(i.f("loading",t,e,1),t,e,1,0,0,"")||(i.s(i.f("timezoneDifference",t,e,1),t,e,0,172,318,"{{ }}")&&(i.rs(t,e,function(t,e,i){i.b(" Your timezone is "),i.b(i.v(i.f("timezoneOffset",t,e,0))),i.b(" hours "),i.b(i.v(i.f("timezoneDirection",t,e,0))),i.b(" of "),i.b(i.v(i.f("hostName",t,e,0))),i.b(" (calendar shown in your local time) "),i.b("\n"+n)}),t.pop()),i.b("\n"+n),i.s(i.f("timezoneDifference",t,e,1),t,e,1,0,0,"")||(i.b(" You are in the same timezone as "),i.b(i.v(i.f("hostName",t,e,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 Loading... \n {{/ loading }}\n\n {{^ loading }}\n {{# timezoneDifference }}\n Your timezone is {{ timezoneOffset }} hours {{ timezoneDirection }} of {{ hostName }} (calendar shown in your local time) \n {{/ timezoneDifference }}\n\n {{^ timezoneDifference }}\n You are in the same timezone as {{ hostName }} \n {{/ timezoneDifference }}\n {{/ loading }}\n\n
\n',i);return t.render.apply(t,arguments)}},function(e,n){e.exports=t},function(t,e,n){t.exports=n(15)},function(t,e,n){"use strict";var i=n(10),r=n(1),o=n(20),s=n(17),a=n(16);!function(){var t=n(30);t&&"function"==typeof t.polyfill&&t.polyfill()}();var l=t.exports=function c(t){t=r.merge({method:"get",headers:{},transformRequest:i.transformRequest,transformResponse:i.transformResponse},t),t.withCredentials=t.withCredentials||i.withCredentials;var e=[s,void 0],n=Promise.resolve(t);for(c.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),c.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n.success=function(t){return o("success","then","https://github.com/mzabriskie/axios/blob/master/README.md#response-api"),n.then(function(e){t(e.data,e.status,e.headers,e.config)}),n},n.error=function(t){return o("error","catch","https://github.com/mzabriskie/axios/blob/master/README.md#response-api"),n.then(null,function(e){t(e.data,e.status,e.headers,e.config)}),n},n};l.defaults=i,l.all=function(t){return Promise.all(t)},l.spread=n(22),l.interceptors={request:new a,response:new a},function(){function t(){r.forEach(arguments,function(t){l[t]=function(e,n){return l(r.merge(n||{},{method:t,url:e}))}})}function e(){r.forEach(arguments,function(t){l[t]=function(e,n,i){return l(r.merge(i||{},{method:t,url:e,data:n}))}})}t("delete","get","head"),e("post","put","patch")}()},function(t,e,n){"use strict";function i(){this.handlers=[]}var r=n(1);i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=i},function(t,e,n){(function(e){"use strict";t.exports=function(t){return new Promise(function(i,r){try{"undefined"!=typeof window?n(9)(i,r,t):"undefined"!=typeof e&&n(9)(i,r,t)}catch(o){r(o)}})}}).call(e,n(6))},function(t,e,n){"use strict";function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}var r=n(1);t.exports=function(t,e){if(!e)return t;var n=[];return r.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(r.isArray(t)||(t=[t]),r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),n.push(i(e)+"="+i(t))}))}),n.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+n.join("&")),t}},function(t,e,n){"use strict";var i=n(1);t.exports={write:function(t,e,n,r,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(r)&&a.push("path="+r),i.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}},function(t,e){"use strict";t.exports=function(t,e,n){try{console.warn("DEPRECATED method `"+t+"`."+(e?" Use `"+e+"` instead.":"")+" This method will be removed in a future release."),n&&console.warn("For more information about usage see "+n)}catch(i){}}},function(t,e,n){"use strict";var i=n(1);t.exports=function(t){var e,n,r,o={};return t?(i.forEach(t.split("\n"),function(t){r=t.indexOf(":"),e=i.trim(t.substr(0,r)).toLowerCase(),n=i.trim(t.substr(r+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e){"use strict";t.exports=function(t){return function(e){t.apply(null,e)}}},function(t,e,n){"use strict";var i=n(1);t.exports=function(t,e,n){return i.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function i(t){var e=t;return s&&(a.setAttribute("href",e),e=a.href),a.setAttribute("href",e),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}var r,o=n(1),s=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");r=i(window.location.href),t.exports=function(t){var e=o.isString(t)?i(t):t;return e.protocol===r.protocol&&e.host===r.host}},function(t,e,n){var i;(function(t,r){!function(o){var s="object"==typeof e&&e,a=("object"==typeof t&&t&&t.exports==s&&t,"object"==typeof r&&r);(a.global===a||a.window===a)&&(o=a);var l=function(t){this.message=t};l.prototype=new Error,l.prototype.name="InvalidCharacterError";var c=function(t){throw new l(t)},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=/[\t\n\f\r ]/g,f=function(t){t=String(t).replace(d,"");var e=t.length;e%4==0&&(t=t.replace(/==?$/,""),e=t.length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var n,i,r=0,o="",s=-1;++s>(-2*r&6)));return o},h=function(t){t=String(t),/[^\0-\xFF]/.test(t)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var e,n,i,r,o=t.length%3,s="",a=-1,l=t.length-o;++a>18&63)+u.charAt(r>>12&63)+u.charAt(r>>6&63)+u.charAt(63&r);return 2==o?(e=t.charCodeAt(a)<<8,n=t.charCodeAt(++a),r=e+n,s+=u.charAt(r>>10)+u.charAt(r>>4&63)+u.charAt(r<<2&63)+"="):1==o&&(r=t.charCodeAt(a),s+=u.charAt(r>>2)+u.charAt(r<<4&63)+"=="),s},p={encode:h,decode:f,version:"0.1.0"};i=function(){return p}.call(e,n,e,t),!(void 0!==i&&(t.exports=i))}(this)}).call(e,n(8)(t),function(){return this}())},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,'/*!\n * FullCalendar v2.4.0 Stylesheet\n * Docs & License: http://fullcalendar.io/\n * (c) 2015 Adam Shaw\n */.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}body .fc{font-size:1em}.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:#ddd}.fc-unthemed .fc-popover{background-color:#fff}.fc-unthemed .fc-divider,.fc-unthemed .fc-popover .fc-header{background:#eee}.fc-unthemed .fc-popover .fc-header .fc-close{color:#666}.fc-unthemed .fc-today{background:#fcf8e3}.fc-highlight{background:#bce8f1}.fc-bgevent,.fc-highlight{opacity:.3;filter:alpha(opacity=30)}.fc-bgevent{background:#8fdf82}.fc-nonbusiness{background:#d7d7d7}.fc-icon{display:inline-block;width:1em;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;margin:0 -1em}.fc-icon-left-single-arrow:after{content:"\\2039";font-weight:700;font-size:200%;top:-7%;left:3%}.fc-icon-right-single-arrow:after{content:"\\203A";font-weight:700;font-size:200%;top:-7%;left:-3%}.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%;left:-2%}.fc-icon-right-triangle:after{content:"\\25BA";font-size:125%;top:3%;left:2%}.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:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#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;-webkit-transition:background-position .1s linear;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;filter:alpha(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%;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}.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{overflow-y:scroll;overflow-x:hidden}.fc-scroller>*{position:relative;width:100%;overflow:hidden}.fc-event{position:relative;display:block;font-size:.85em;line-height:1.3;border-radius:3px;border:1px solid #3a87ad;background-color:#3a87ad;font-weight:400}.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;filter:alpha(opacity=25)}.fc-event .fc-content{position:relative;z-index:2}.fc-event .fc-resizer{position:absolute;z-index:3}.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-h-event .fc-resizer{top:-1px;bottom:-1px;left:-1px;right:-1px;width:5px}.fc-ltr .fc-h-event .fc-start-resizer,.fc-ltr .fc-h-event .fc-start-resizer:after,.fc-ltr .fc-h-event .fc-start-resizer:before,.fc-rtl .fc-h-event .fc-end-resizer,.fc-rtl .fc-h-event .fc-end-resizer:after,.fc-rtl .fc-h-event .fc-end-resizer:before{right:auto;cursor:w-resize}.fc-ltr .fc-h-event .fc-end-resizer,.fc-ltr .fc-h-event .fc-end-resizer:after,.fc-ltr .fc-h-event .fc-end-resizer:before,.fc-rtl .fc-h-event .fc-start-resizer,.fc-rtl .fc-h-event .fc-start-resizer:after,.fc-rtl .fc-h-event .fc-start-resizer:before{left:auto;cursor:e-resize}.fc-day-grid-event{margin:1px 2px 0;padding:0 1px}.fc-day-grid-event .fc-content{white-space:nowrap;overflow:hidden}.fc-day-grid-event .fc-time{font-weight:700}.fc-day-grid-event .fc-resizer{left:-3px;right:-3px;width:7px}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-toolbar{text-align:center;margin-bottom: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-top:1px;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-basic-view .fc-day-number,.fc-basic-view .fc-week-number{padding:0 2px}.fc-basic-view td.fc-day-number,.fc-basic-view td.fc-week-number span{padding-top:2px;padding-bottom:2px}.fc-basic-view .fc-week-number{text-align:center}.fc-basic-view .fc-week-number span{display:inline-block;min-width:1.25em}.fc-ltr .fc-basic-view .fc-day-number{text-align:right}.fc-rtl .fc-basic-view .fc-day-number{text-align:left}.fc-day-number.fc-other-month{opacity:.3;filter:alpha(opacity=30)}.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-top:1px;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-bgevent-skeleton,.fc-time-grid .fc-content-skeleton{position:absolute;top:0;left:0;right:0}.fc-time-grid .fc-bgevent-skeleton{z-index:3}.fc-time-grid .fc-highlight-skeleton{z-index:4}.fc-time-grid .fc-content-skeleton{z-index:5}.fc-time-grid .fc-helper-skeleton{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-time-grid .fc-bgevent-container,.fc-time-grid .fc-event-container{position:relative}.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-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-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-resizer:after{content:"="}',""])},function(t,e,n){e=t.exports=n(3)(),e.push([t.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{text-transform:uppercase;font-size:.9em;font-weight:600}.fc-axis,.fc-row.fc-widget-header .fc-day-header:first-line{color:#b9b9b9}.fc-axis{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}.fc-content-skeleton{border-top:1px solid #ddd}.fc .fc-toolbar{padding:0;margin-bottom:0;border-bottom:1px solid #ececec}.fc .fc-toolbar>*>button{padding:15px 17px;height:auto;outline:0;margin-left:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;opacity:.3}.fc .fc-toolbar>*>button:hover{opacity:1}.fc .fc-toolbar>*>button.fc-state-disabled{-webkit-transition:opacity 0s;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-unthemed .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{-webkit-transition:all .2s,opacity .6s;transition:all .2s,opacity .6s;border:none;border-left:3px solid #689ad8;padding:3px;background-color:#fff;border-radius:4px;color:#333;margin:1px 0;box-shadow:0 1px 2px rgba(0,0,0,.07);cursor:pointer;margin-bottom:2px;opacity:1}.fc-event:hover{color:#fff;background-color:#689ad8;border-left:3px solid #689ad8;box-shadow:0 1px 3px rgba(0,0,0,.15)}.fc-event .fc-bg{opacity:0}.fc-day-grid-event{padding:15px;margin:5px}.fc-day-grid-event .fc-time{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-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}",""])},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);",""]),e.push([t.id,"/*!\n * Booking.js\n * http://booking.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:rgba(0,0,0,.2) 0 2px 4px 0;margin:60px auto 20px;z-index:10;opacity:0;color:#333}.bookingjs.show{-webkit-transition:opacity .3s ease;transition:opacity .3s ease;opacity:1}.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%);-ms-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}.bookingjs-avatar img{max-width:100%;vertical-align:middle;display:inline-block;width:80px;height:80px}.bookingjs-displayname{position:absolute;top:0;left:0;padding:15px 20px;color:#333;font-weight:600}.bookingjs-bookpage{position:absolute;height:100%;width:100%;top:0;left:0;background-color:#fbfbfb;z-index:30;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;border-radius:4px}.bookingjs-bookpage.show{opacity:1}.bookingjs-bookpage-close{position:absolute;top:0;right:0;padding:18px;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;opacity:.3}.bookingjs-bookpage-close:hover{opacity:1}.bookingjs-bookpage-date{text-align:center;font-size:34px;font-weight:400;margin-top:90px;margin-bottom:20px}.bookingjs-small .bookingjs-bookpage-date{font-size:24px;margin-top:60px;margin-bottom:15px}.bookingjs-bookpage-time{text-align:center;font-size:17px;font-weight:400;margin-bottom:70px}.bookingjs-small .bookingjs-bookpage-time{font-size:15px;margin-bottom:30px}.bookingjs-closeicon{width:15px}.bookingjs-form{width:350px;position:relative;margin:0 auto;text-align:center}.bookingjs-small .bookingjs-form{width:90%}.bookingjs-form-box{position:relative;box-shadow:0 1px 3px 0 rgba(0,0,0,.1);border-radius:4px;overflow:hidden;background-color:#fff;line-height:0}.bookingjs-form-success-message{position:absolute;top:-999px;left:0;right:0;padding:30px;background-color:#fff;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;line-height:normal}.bookingjs-small .bookingjs-form-success-message{padding:22px 10px}.bookingjs-form-success-message .title{font-weight:600}.bookingjs-form-success-message .booked-email{color:#aeaeae}.bookingjs-form.success .bookingjs-form-success-message{opacity:1;top:0;bottom:0}.bookingjs-form-input{-webkit-transition:box-shadow .2s ease;transition:box-shadow .2s ease;width:100%;padding:15px 25px;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:normal;font-family:Open Sans,Helvetica,Tahoma,Arial,sans-serif}.bookingjs-form-input:focus{outline:0;box-shadow:inset 0 0 1px 1px #689ad8}.bookingjs-form-input.hidden{display:none}.bookingjs-form-button{position:relative;-webkit-transition:background-color .2s,max-width .3s;transition:background-color .2s,max-width .3s;display:inline-block;padding:13px 25px;background-color:#689ad8;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 .loading-text,.bookingjs-form-button .success-text{-webkit-transition:opacity .3s ease;transition:opacity .3s ease;position:absolute;top:13px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.bookingjs-form-button .inactive-text{opacity:1}.bookingjs-form-button .loading-text,.bookingjs-form-button .success-text{opacity:0}.bookingjs-form-button .loading-text svg{height:19px;width:19px;-webkit-animation:spin .6s infinite linear;animation:spin .6s infinite linear}.bookingjs-form-button .success-text svg{height:15px;margin-top:2px;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .6s ease;transition:-webkit-transform .6s ease;transition:transform .6s ease;transition:transform .6s ease,-webkit-transform .6s ease}.bookingjs-form-button:hover{background-color:#3f7fce}.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}.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.success .bookingjs-form-button,.bookingjs-form.success .bookingjs-form-button:hover{max-width:80px;background-color:#5baf56}.bookingjs-form.success .bookingjs-form-button .inactive-text,.bookingjs-form.success .bookingjs-form-button .loading-text,.bookingjs-form.success .bookingjs-form-button:hover .inactive-text,.bookingjs-form.success .bookingjs-form-button:hover .loading-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);-ms-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{-webkit-transition:color .2s ease;transition:color .2s ease;color:#aeaeae;text-decoration:none}.bookingjs-poweredby a svg path{-webkit-transition:fill .2s ease;transition:fill .2s ease;fill:#aeaeae}.bookingjs-poweredby a:hover{color:#333}.bookingjs-poweredby a:hover svg path{fill:#333}.bookingjs-timekiticon{width:13px;margin-right:5px;vertical-align:sub}",""])},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,"@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)}}@keyframes shake{0%,to{-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(t,e,n){var i;(function(t,r,o,s){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
* @version 2.3.0
*/
(function(){"use strict";function a(t){return"function"==typeof t||"object"==typeof t&&null!==t}function l(t){return"function"==typeof t}function c(t){return"object"==typeof t&&null!==t}function u(t){q=t}function d(t){K=t}function f(){var e=t.nextTick,n=t.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(e=r),function(){e(v)}}function h(){return function(){Z(v)}}function p(){var t=0,e=new et(v),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function g(){var t=new MessageChannel;return t.port1.onmessage=v,function(){t.port2.postMessage(0)}}function m(){return function(){setTimeout(v,1)}}function v(){for(var t=0;J>t;t+=2){var e=rt[t],n=rt[t+1];e(n),rt[t]=void 0,rt[t+1]=void 0}J=0}function b(){try{var t=n(53);return Z=t.runOnLoop||t.runOnContext,h()}catch(e){return m()}}function y(){}function w(){return new TypeError("You cannot resolve a promise with itself")}function k(){return new TypeError("A promises callback cannot return that same promise.")}function x(t){try{return t.then}catch(e){return lt.error=e,lt}}function S(t,e,n,i){try{t.call(e,n,i)}catch(r){return r}}function D(t,e,n){K(function(t){var i=!1,r=S(n,e,function(n){i||(i=!0,e!==n?C(t,n):M(t,n))},function(e){i||(i=!0,L(t,e))},"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,L(t,r))},t)}function _(t,e){e._state===st?M(t,e._result):e._state===at?L(t,e._result):R(e,void 0,function(e){C(t,e)},function(e){L(t,e)})}function T(t,e){if(e.constructor===t.constructor)_(t,e);else{var n=x(e);n===lt?L(t,lt.error):void 0===n?M(t,e):l(n)?D(t,e,n):M(t,e)}}function C(t,e){t===e?L(t,w()):a(e)?T(t,e):M(t,e)}function E(t){t._onerror&&t._onerror(t._result),H(t)}function M(t,e){t._state===ot&&(t._result=e,t._state=st,0!==t._subscribers.length&&K(H,t))}function L(t,e){t._state===ot&&(t._state=at,t._result=e,K(E,t))}function R(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+st]=n,r[o+at]=i,0===o&&t._state&&K(H,t)}function H(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i,r,o=t._result,s=0;ss;s++)R(i.resolve(t[s]),void 0,e,n);return r}function G(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(y);return C(n,t),n}function I(t){var e=this,n=new e(y);return L(n,t),n}function U(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function B(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function N(t){this._id=gt++,this._state=void 0,this._result=void 0,this._subscribers=[],y!==t&&(l(t)||U(),this instanceof N||B(),A(this,t))}function W(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(t.Promise=mt)}var V;V=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var Z,q,X,$=V,J=0,K=({}.toString,function(t,e){rt[J]=t,rt[J+1]=e,J+=2,2===J&&(q?q(v):X())}),Q="undefined"!=typeof window?window:void 0,tt=Q||{},et=tt.MutationObserver||tt.WebKitMutationObserver,nt="undefined"!=typeof t&&"[object process]"==={}.toString.call(t),it="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,rt=new Array(1e3);X=nt?f():et?p():it?g():void 0===Q?b():m();var ot=void 0,st=1,at=2,lt=new z,ct=new z;F.prototype._validateInput=function(t){return $(t)},F.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},F.prototype._init=function(){this._result=new Array(this.length)};var ut=F;F.prototype._enumerate=function(){for(var t=this,e=t.length,n=t.promise,i=t._input,r=0;n._state===ot&&e>r;r++)t._eachEntry(i[r],r)},F.prototype._eachEntry=function(t,e){var n=this,i=n._instanceConstructor;c(t)?t.constructor===i&&t._state!==ot?(t._onerror=null,n._settledAt(t._state,e,t._result)):n._willSettleAt(i.resolve(t),e):(n._remaining--,n._result[e]=t)},F.prototype._settledAt=function(t,e,n){var i=this,r=i.promise;r._state===ot&&(i._remaining--,t===at?L(r,n):i._result[e]=n),0===i._remaining&&M(r,i._result)},F.prototype._willSettleAt=function(t,e){var n=this;R(t,void 0,function(t){n._settledAt(st,e,t)},function(t){n._settledAt(at,e,t)})};var dt=O,ft=P,ht=G,pt=I,gt=0,mt=N;N.all=dt,N.race=ft,N.resolve=ht,N.reject=pt,N._setScheduler=u,N._setAsap=d,N._asap=K,N.prototype={constructor:N,then:function(t,e){var n=this,i=n._state;if(i===st&&!t||i===at&&!e)return this;var r=new this.constructor(y),o=n._result;if(i){var s=arguments[i-1];K(function(){j(i,r,s,o)})}else R(n,r,t,e);return r},"catch":function(t){return this.then(null,t)}};var vt=W,bt={Promise:mt,polyfill:vt};n(50).amd?(i=function(){return bt}.call(e,n,e,s),!(void 0!==i&&(s.exports=i))):"undefined"!=typeof s&&s.exports?s.exports=bt:"undefined"!=typeof this&&(this.ES6Promise=bt),vt()}).call(this)}).call(e,n(6),n(7).setImmediate,function(){return this}(),n(8)(t))},function(t,e,n){var i,r,o;/*!
* FullCalendar v2.4.0
* Docs & License: http://fullcalendar.io/
* (c) 2015 Adam Shaw
*/
!function(s){r=[n(13),n(5)],i=s,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o))}(function(t,e){function n(t){return U(t,Gt)}function i(e){var n,i={views:e.views||{}};return t.each(e,function(e,r){"views"!=e&&(t.isPlainObject(r)&&!/(time|duration|interval)$/i.test(e)&&-1==t.inArray(e,Gt)?(n=null,t.each(r,function(t,r){/^(month|week|day|default|basic(Week|Day)?|agenda(Week|Day)?)$/.test(t)?(i.views[t]||(i.views[t]={}),i.views[t][e]=r):(n||(n={}),n[t]=r)}),n&&(i[e]=n)):i[e]=r)}),i}function r(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})}function o(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function s(){t("body").addClass("fc-not-allowed")}function a(){t("body").removeClass("fc-not-allowed")}function l(e,n,i){var r=Math.floor(n/e.length),o=Math.floor(n-r*(e.length-1)),s=[],a=[],l=[],u=0;c(e),e.each(function(n,i){var c=n===e.length-1?o:r,d=t(i).outerHeight(!0);c>d?(s.push(i),a.push(d),l.push(t(i).height())):u+=d}),i&&(n-=u,r=Math.floor(n/s.length),o=Math.floor(n-r*(s.length-1))),t(s).each(function(e,n){var i=e===s.length-1?o:r,c=a[e],u=l[e],d=i-(c-u);i>c&&t(n).height(d)})}function c(t){t.height("")}function u(e){var n=0;return e.find("> *").each(function(e,i){var r=t(i).outerWidth();r>n&&(n=r)}),n++,e.width(n),n}function d(t,e){return t.height(e).addClass("fc-scroller"),t[0].scrollHeight-1>t[0].clientHeight?!0:(f(t),!1)}function f(t){t.height("").removeClass("fc-scroller")}function h(e){var n=e.css("position"),i=e.parents().filter(function(){var e=t(this);return/(auto|scroll)/.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&i.length?i:t(e[0].ownerDocument||document)}function p(t){var e=t.offset();return{left:e.left,right:e.left+t.outerWidth(),top:e.top,bottom:e.top+t.outerHeight()}}function g(t){var e=t.offset(),n=v(t),i=e.left+w(t,"border-left-width")+n.left,r=e.top+w(t,"border-top-width")+n.top;return{left:i,right:i+t[0].clientWidth,top:r,bottom:r+t[0].clientHeight}}function m(t){var e=t.offset(),n=e.left+w(t,"border-left-width")+w(t,"padding-left"),i=e.top+w(t,"border-top-width")+w(t,"padding-top");return{left:n,right:n+t.width(),top:i,bottom:i+t.height()}}function v(t){var e=t.innerWidth()-t[0].clientWidth,n={left:0,right:0,top:0,bottom:t.innerHeight()-t[0].clientHeight};return b()&&"rtl"==t.css("direction")?n.left=e:n.right=e,n}function b(){return null===It&&(It=y()),It}function y(){var e=t("").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),n=e.children(),i=n.offset().left>e.offset().left;return e.remove(),i}function w(t,e){return parseFloat(t.css(e))||0}function k(t){return 1==t.which&&!t.ctrlKey}function x(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.leftl&&c>s?(s>=l?(n=s.clone(),r=!0):(n=l.clone(),r=!1),c>=a?(i=a.clone(),o=!0):(i=c.clone(),o=!1),{start:n,end:i,isStart:r,isEnd:o}):void 0}function R(t,n){return e.duration({days:t.clone().stripTime().diff(n.clone().stripTime(),"days"),ms:t.time()-n.time()})}function H(t,n){return e.duration({days:t.clone().stripTime().diff(n.clone().stripTime(),"days")})}function z(t,n,i){return e.duration(Math.round(t.diff(n,i,!0)),i)}function Y(t,e){var n,i,r;for(n=0;n=1&&et(r)));n++);return i}function j(t,n,i){return null!=i?i.diff(n,t,!0):e.isDuration(n)?n.as(t):n.end.diff(n.start,t,!0)}function A(t,e,n){var i;return P(n)?(e-t)/n:(i=n.asMonths(),Math.abs(i)>=1&&et(i)?e.diff(t,"months",!0)/i:e.diff(t,"days",!0)/n.asDays())}function F(t,e){var n,i;return P(t)||P(e)?t/e:(n=t.asMonths(),i=e.asMonths(),Math.abs(n)>=1&&et(n)&&Math.abs(i)>=1&&et(i)?n/i:t.asDays()/e.asDays())}function O(t,n){var i;return P(t)?e.duration(t*n):(i=t.asMonths(),Math.abs(i)>=1&&et(i)?e.duration({months:i*n}):e.duration({days:t.asDays()*n}))}function P(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function G(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function I(t){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)}function U(t,e){var n,i,r,o,s,a,l={};if(e)for(n=0;n=0;o--)if(s=t[o][i],"object"==typeof s)r.unshift(s);else if(void 0!==s){l[i]=s;break}r.length&&(l[i]=U(r))}for(n=t.length-1;n>=0;n--){a=t[n];for(i in a)i in l||(l[i]=a[i])}return l}function B(t){var e=function(){};return e.prototype=t,new e}function N(t,e){for(var n in t)V(t,n)&&(e[n]=t[n])}function W(t,e){var n,i,r=["constructor","toString","valueOf"];for(n=0;n /g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g," ")}function J(t){return t.replace(/&.*?;/g,"")}function K(e){var n=[];return t.each(e,function(t,e){null!=e&&n.push(t+":"+e)}),n.join(";")}function Q(t){return t.charAt(0).toUpperCase()+t.slice(1)}function tt(t,e){return t-e}function et(t){return t%1===0}function nt(t,e){var n=t[e];return function(){return n.apply(t,arguments)}}function it(t,e){var n,i,r,o,s=function(){var a=+new Date-o;e>a&&a>0?n=setTimeout(s,e-a):(n=null,t.apply(r,i),n||(r=i=null))};return function(){r=this,i=arguments,o=+new Date,n||(n=setTimeout(s,e))}}function rt(n,i,r){var o,s,a,l,c=n[0],u=1==n.length&&"string"==typeof c;return e.isMoment(c)?(l=e.apply(null,n),st(c,l)):G(c)||void 0===c?l=e.apply(null,n):(o=!1,s=!1,u?qt.test(c)?(c+="-01",n=[c],o=!0,s=!0):(a=Xt.exec(c))&&(o=!a[5],s=!0):t.isArray(c)&&(s=!0),l=i||o?e.utc.apply(e,n):e.apply(null,n),o?(l._ambigTime=!0,l._ambigZone=!0):r&&(s?l._ambigZone=!0:u&&(l.utcOffset?l.utcOffset(c):l.zone(c)))),l._fullCalendar=!0,l}function ot(t,n){var i,r,o=!1,s=!1,a=t.length,l=[];for(i=0;a>i;i++)r=t[i],e.isMoment(r)||(r=Ot.moment.parseZone(r)),o=o||r._ambigTime,s=s||r._ambigZone,l.push(r);for(i=0;a>i;i++)r=l[i],n||!o||r._ambigTime?s&&!r._ambigZone&&(l[i]=r.clone().stripZone()):l[i]=r.clone().stripTime();return l}function st(t,e){t._ambigTime?e._ambigTime=!0:e._ambigTime&&(e._ambigTime=!1),t._ambigZone?e._ambigZone=!0:e._ambigZone&&(e._ambigZone=!1)}function at(t,e){t.year(e[0]||0).month(e[1]||0).date(e[2]||0).hours(e[3]||0).minutes(e[4]||0).seconds(e[5]||0).milliseconds(e[6]||0)}function lt(t,e){return Jt.format.call(t,e)}function ct(t,e){return ut(t,gt(e))}function ut(t,e){var n,i="";for(n=0;ns&&(o=pt(t,e,n[a]),o!==!1);a--)u=o+u;for(l=s;a>=l;l++)d+=dt(t,n[l]),f+=dt(e,n[l]);return(d||f)&&(h=r?f+i+d:d+i+f),c+h+u}function pt(t,e,n){var i,r;return"string"==typeof n?n:(i=n.token)&&(r=Qt[i.charAt(0)],r&&t.isSame(e,r))?lt(t,i):!1}function gt(t){return t in te?te[t]:te[t]=mt(t)}function mt(t){for(var e,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=i.exec(t);)e[1]?n.push(e[1]):e[2]?n.push({maybe:mt(e[2])}):e[3]?n.push({token:e[3]}):e[5]&&n.push(e[5]);return n}function vt(){}function bt(t,e){return t||e?t&&e?t.grid===e.grid&&t.row===e.row&&t.col===e.col:!1:!0}function yt(t){var e=kt(t);return"background"===e||"inverse-background"===e}function wt(t){return"inverse-background"===kt(t)}function kt(t){return X((t.source||{}).rendering,t.rendering)}function xt(t){var e,n,i={};for(e=0;e=t.leftCol)return!0;return!1}function Tt(t,e){return t.leftCol-e.leftCol}function Ct(t){var e,n,i,r=[];for(e=0;ee.top&&t.top ").prependTo(n),N=P.header=new jt(P,G),W=N.render(),W&&n.prepend(W),l(G.defaultView),G.handleWindowResize&&($=it(f,G.windowResizeDelay),t(window).resize($))}function s(){q&&q.removeElement(),N.removeElement(),V.remove(),n.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),$&&t(window).unbind("resize",$)}function a(){return n.is(":visible")}function l(e){nt++,q&&e&&q.type!==e&&(N.deactivateButton(q.type),z(),q.removeElement(),q=P.view=null),!q&&e&&(q=P.view=et[e]||(et[e]=P.instantiateView(e)),q.setElement(t("
").appendTo(V)),N.activateButton(e)),q&&(J=q.massageCurrentDate(J),q.displaying&&J.isWithin(q.intervalStart,q.intervalEnd)||a()&&(z(),q.display(J),Y(),w(),k(),m())),Y(),nt--}function c(t){return a()?(t&&d(),nt++,q.updateSize(!0),nt--,!0):void 0}function u(){a()&&d()}function d(){X="number"==typeof G.contentHeight?G.contentHeight:"number"==typeof G.height?G.height-(W?W.outerHeight(!0):0):Math.round(V.width()/Math.max(G.aspectRatio,.5))}function f(t){!nt&&t.target===window&&q.start&&c(!0)&&q.trigger("windowResize",tt)}function h(){g(),v()}function p(){a()&&(z(),q.displayEvents(rt),Y())}function g(){z(),q.clearEvents(),Y()}function m(){!G.lazyFetching||K(q.start,q.end)?v():p()}function v(){Q(q.start,q.end)}function b(t){rt=t,p()}function y(){p()}function w(){N.updateTitle(q.title)}function k(){var t=P.getNow();t.isWithin(q.intervalStart,q.intervalEnd)?N.disableButton("today"):N.enableButton("today")}function x(t,e){q.select(P.buildSelectRange.apply(P,arguments))}function S(){q&&q.unselect()}function D(){J=q.computePrevDate(J),l()}function _(){J=q.computeNextDate(J),l()}function T(){J.add(-1,"years"),l()}function C(){J.add(1,"years"),l()}function E(){J=P.getNow(),l()}function M(t){J=P.moment(t),l()}function L(t){J.add(e.duration(t)),l()}function R(t,e){var n;e=e||"day",n=P.getViewSpec(e)||P.getUnitViewSpec(e),J=t,l(n?n.type:null)}function H(){return J.clone()}function z(){V.css({width:"100%",height:V.height(),overflow:"hidden"})}function Y(){V.css({width:"",height:"",overflow:""})}function j(){return P}function A(){return q}function F(t,e){return void 0===e?G[t]:void(("height"==t||"contentHeight"==t||"aspectRatio"==t)&&(G[t]=e,c(!0)))}function O(t,e){var n=Array.prototype.slice.call(arguments,2);return e=e||tt,this.triggerWith(t,e,n),G[t]?G[t].apply(e,n):void 0}var P=this;P.initOptions(i||{});var G=this.options;P.render=r,P.destroy=s,P.refetchEvents=h,P.reportEvents=b,P.reportEventChange=y,P.rerenderEvents=p,P.changeView=l,P.select=x,P.unselect=S,P.prev=D,P.next=_,P.prevYear=T,P.nextYear=C,P.today=E,P.gotoDate=M,P.incrementDate=L,P.zoomTo=R,P.getDate=H,P.getCalendar=j,P.getView=A,P.option=F,P.trigger=O;var I=B(Yt(G.lang));if(G.monthNames&&(I._months=G.monthNames),G.monthNamesShort&&(I._monthsShort=G.monthNamesShort),G.dayNames&&(I._weekdays=G.dayNames),G.dayNamesShort&&(I._weekdaysShort=G.dayNamesShort),null!=G.firstDay){var U=B(I._week);U.dow=G.firstDay,I._week=U}I._fullCalendar_weekCalc=function(t){return"function"==typeof t?t:"local"===t?t:"iso"===t||"ISO"===t?"ISO":void 0}(G.weekNumberCalculation),P.defaultAllDayEventDuration=e.duration(G.defaultAllDayEventDuration),P.defaultTimedEventDuration=e.duration(G.defaultTimedEventDuration),P.moment=function(){var t;return"local"===G.timezone?(t=Ot.moment.apply(null,arguments),t.hasTime()&&t.local()):t="UTC"===G.timezone?Ot.moment.utc.apply(null,arguments):Ot.moment.parseZone.apply(null,arguments),"_locale"in t?t._locale=I:t._lang=I,t},P.getIsAmbigTimezone=function(){return"local"!==G.timezone&&"UTC"!==G.timezone},P.rezoneDate=function(t){return P.moment(t.toArray())},P.getNow=function(){var t=G.now;return"function"==typeof t&&(t=t()),P.moment(t)},P.getEventEnd=function(t){return t.end?t.end.clone():P.getDefaultEventEnd(t.allDay,t.start)},P.getDefaultEventEnd=function(t,e){var n=e.clone();return t?n.stripTime().add(P.defaultAllDayEventDuration):n.add(P.defaultTimedEventDuration),P.getIsAmbigTimezone()&&n.stripZone(),n},P.humanizeDuration=function(t){return(t.locale||t.lang).call(t,G.lang).humanize()},At.call(P,G);var N,W,V,Z,q,X,$,J,K=P.isFetchNeeded,Q=P.fetchEvents,tt=n[0],et={},nt=0,rt=[];J=null!=G.defaultDate?P.moment(G.defaultDate):P.getNow(),P.getSuggestedViewHeight=function(){return void 0===X&&u(),X},P.isHeightAuto=function(){return"auto"===G.contentHeight||"auto"===G.height},P.initialize()}function zt(e){t.each(ve,function(t,n){null==e[t]&&(e[t]=n(e))})}function Yt(t){var n=e.localeData||e.langData;return n.call(e,t)||n.call(e,"en")}function jt(e,n){function i(){var e=n.header;return h=n.theme?"ui":"fc",e?p=t("
").append(o("left")).append(o("right")).append(o("center")).append('
'):void 0}function r(){p.remove(),p=t()}function o(i){var r=t('
'),o=n.header[i];return o&&t.each(o.split(" "),function(i){var o,s=t(),a=!0;t.each(this.split(","),function(i,r){var o,l,c,u,d,f,p,m,v,b;"title"==r?(s=s.add(t(" ")),a=!1):((o=(e.options.customButtons||{})[r])?(c=function(t){o.click&&o.click.call(b[0],t)},u="",d=o.text):(l=e.getViewSpec(r))?(c=function(){e.changeView(r)},g.push(r),u=l.buttonTextOverride,d=l.buttonTextDefault):e[r]&&(c=function(){e[r]()},u=(e.overrides.buttonText||{})[r],d=n.buttonText[r]),c&&(f=o?o.themeIcon:n.themeButtonIcons[r],p=o?o.icon:n.buttonIcons[r],m=u?$(u):f&&n.theme?" ":p&&!n.theme?" ":$(d),v=["fc-"+r+"-button",h+"-button",h+"-state-default"],b=t(''+m+" ").click(function(t){b.hasClass(h+"-state-disabled")||(c(t),(b.hasClass(h+"-state-active")||b.hasClass(h+"-state-disabled"))&&b.removeClass(h+"-state-hover"))}).mousedown(function(){b.not("."+h+"-state-active").not("."+h+"-state-disabled").addClass(h+"-state-down")}).mouseup(function(){b.removeClass(h+"-state-down")}).hover(function(){b.not("."+h+"-state-active").not("."+h+"-state-disabled").addClass(h+"-state-hover")},function(){b.removeClass(h+"-state-hover").removeClass(h+"-state-down")}),s=s.add(b)))}),a&&s.first().addClass(h+"-corner-left").end().last().addClass(h+"-corner-right").end(),s.length>1?(o=t("
"),a&&o.addClass("fc-button-group"),o.append(s),r.append(o)):r.append(s)}),r}function s(t){p.find("h2").text(t)}function a(t){p.find(".fc-"+t+"-button").addClass(h+"-state-active")}function l(t){p.find(".fc-"+t+"-button").removeClass(h+"-state-active")}function c(t){p.find(".fc-"+t+"-button").attr("disabled","disabled").addClass(h+"-state-disabled")}function u(t){p.find(".fc-"+t+"-button").removeAttr("disabled").removeClass(h+"-state-disabled")}function d(){return g}var f=this;f.render=i,f.removeElement=r,f.updateTitle=s,f.activateButton=a,f.deactivateButton=l,f.disableButton=c,f.enableButton=u,f.getViewsWithButtons=d;var h,p=t(),g=[]}function At(n){function i(t,e){return!O||t.clone().stripZone()P.clone().stripZone()}function r(t,e){O=t,P=e,V=[];var n=++N,i=B.length;W=i;for(var r=0;i>r;r++)o(B[r],n)}function o(e,n){s(e,function(i){var r,o,s,a=t.isArray(e.events);if(n==N){if(i)for(r=0;r=n&&e.end<=i}function A(t,e){var n=t.start.clone().stripZone(),i=F.getEventEnd(t).stripZone();return e.startn}var F=this;F.isFetchNeeded=i,F.fetchEvents=r,F.addEventSource=a,F.removeEventSource=c,F.updateEvent=f,F.renderEvent=g,F.removeEvents=m,F.clientEvents=v,F.mutateEvent=D,F.normalizeEventRange=w,F.normalizeEventRangeTimes=k,F.ensureVisibleEventRange=x;var O,P,G=F.reportEvents,U={events:[]},B=[U],N=0,W=0,V=[];t.each((n.events?[n.events]:[]).concat(n.eventSources||[]),function(t,e){var n=l(e);n&&B.push(n)}),F.getBusinessHoursEvents=T,F.isEventRangeAllowed=C,F.isSelectionRangeAllowed=E,F.isExternalDropRangeAllowed=M,F.getEventCache=function(){return V}}function Ft(t){t._allDay=t.allDay,t._start=t.start.clone(),t._end=t.end?t.end.clone():null}var Ot=t.fullCalendar={version:"2.4.0"},Pt=Ot.views={};t.fn.fullCalendar=function(e){var n=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,o){var s,a=t(o),l=a.data("fullCalendar");"string"==typeof e?l&&t.isFunction(l[e])&&(s=l[e].apply(l,n),r||(i=s),"destroy"===e&&a.removeData("fullCalendar")):l||(l=new he(a,e),a.data("fullCalendar",l),l.render())}),i};var Gt=["header","buttonText","buttonIcons","themeButtonIcons"];Ot.intersectionToSeg=L,Ot.applyAll=q,Ot.debounce=it,Ot.isInt=et,Ot.htmlEscape=$,Ot.cssToStr=K,Ot.proxy=nt,Ot.capitaliseFirstLetter=Q,Ot.getClientRect=g,Ot.getContentRect=m,Ot.getScrollbarWidths=v;var It=null;Ot.intersectRects=x,Ot.parseFieldSpecs=T,Ot.compareByFieldSpecs=C,Ot.compareByFieldSpec=E,Ot.flexibleCompare=M,Ot.computeIntervalUnit=Y,Ot.divideRangeByDuration=A,Ot.divideDurationByDuration=F,Ot.multiplyDuration=O,Ot.durationHasTime=P;var Ut=["sun","mon","tue","wed","thu","fri","sat"],Bt=["year","month","week","day","hour","minute","second","millisecond"];Ot.log=function(){var t=window.console;return t&&t.log?t.log.apply(t,arguments):void 0},Ot.warn=function(){var t=window.console;return t&&t.warn?t.warn.apply(t,arguments):Ot.log.apply(Ot,arguments)};var Nt,Wt,Vt,Zt={}.hasOwnProperty,qt=/^\s*\d{4}-\d\d$/,Xt=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,$t=e.fn,Jt=t.extend({},$t);Ot.moment=function(){return rt(arguments)},Ot.moment.utc=function(){var t=rt(arguments,!0);return t.hasTime()&&t.utc(),t},Ot.moment.parseZone=function(){return rt(arguments,!0,!0)},$t.clone=function(){var t=Jt.clone.apply(this,arguments);return st(this,t),this._fullCalendar&&(t._fullCalendar=!0),t},$t.week=$t.weeks=function(t){var e=(this._locale||this._lang)._fullCalendar_weekCalc;return null==t&&"function"==typeof e?e(this):"ISO"===e?Jt.isoWeek.apply(this,arguments):Jt.week.apply(this,arguments)},$t.time=function(t){if(!this._fullCalendar)return Jt.time.apply(this,arguments);if(null==t)return e.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,e.isDuration(t)||e.isMoment(t)||(t=e.duration(t));var n=0;return e.isDuration(t)&&(n=24*Math.floor(t.asDays())),this.hours(n+t.hours()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds())},$t.stripTime=function(){var t;return this._ambigTime||(t=this.toArray(),this.utc(),Wt(this,t.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},$t.hasTime=function(){return!this._ambigTime},$t.stripZone=function(){var t,e;return this._ambigZone||(t=this.toArray(),e=this._ambigTime,this.utc(),Wt(this,t),this._ambigTime=e||!1,this._ambigZone=!0),this},$t.hasZone=function(){return!this._ambigZone},$t.local=function(){var t=this.toArray(),e=this._ambigZone;return Jt.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,e&&Vt(this,t),this},$t.utc=function(){return Jt.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},t.each(["zone","utcOffset"],function(t,e){Jt[e]&&($t[e]=function(t){return null!=t&&(this._ambigTime=!1,this._ambigZone=!1),Jt[e].apply(this,arguments)})}),$t.format=function(){return this._fullCalendar&&arguments[0]?ct(this,arguments[0]):this._ambigTime?lt(this,"YYYY-MM-DD"):this._ambigZone?lt(this,"YYYY-MM-DD[T]HH:mm:ss"):Jt.format.apply(this,arguments)},$t.toISOString=function(){return this._ambigTime?lt(this,"YYYY-MM-DD"):this._ambigZone?lt(this,"YYYY-MM-DD[T]HH:mm:ss"):Jt.toISOString.apply(this,arguments)},$t.isWithin=function(t,e){var n=ot([this,t,e]);return n[0]>=n[1]&&n[0] ').addClass(n.className||"").css({top:0,left:0}).append(n.content).appendTo(n.parentEl),this.el.on("click",".fc-close",function(){e.hide()}),n.autoHide&&t(document).on("mousedown",this.documentMousedownProxy=nt(this,"documentMousedown"))},documentMousedown:function(e){this.el&&!t(e.target).closest(this.el).length&&this.hide()},removeElement:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),t(document).off("mousedown",this.documentMousedownProxy)},position:function(){var e,n,i,r,o,s=this.options,a=this.el.offsetParent().offset(),l=this.el.outerWidth(),c=this.el.outerHeight(),u=t(window),d=h(this.el);r=s.top||0,o=void 0!==s.left?s.left:void 0!==s.right?s.right-l:0,d.is(window)||d.is(document)?(d=u,e=0,n=0):(i=d.offset(),e=i.top,n=i.left),e+=u.scrollTop(),n+=u.scrollLeft(),s.viewportConstrain!==!1&&(r=Math.min(r,e+d.outerHeight()-c-this.margin),r=Math.max(r,e+this.margin),o=Math.min(o,n+d.outerWidth()-l-this.margin),o=Math.max(o,n+this.margin)),this.el.css({top:r-a.top,left:o-a.left})},trigger:function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))}}),ie=vt.extend({grid:null,rowCoords:null,colCoords:null,containerEl:null,
bounds:null,constructor:function(t){this.grid=t},build:function(){this.grid.build(),this.rowCoords=this.grid.computeRowCoords(),this.colCoords=this.grid.computeColCoords(),this.computeBounds()},clear:function(){this.grid.clear(),this.rowCoords=null,this.colCoords=null},getCell:function(e,n){var i,r,o,s=this.rowCoords,a=s.length,l=this.colCoords,c=l.length,u=null,d=null;if(this.inBounds(e,n)){for(i=0;a>i;i++)if(r=s[i],n>=r.top&∋i++)if(r=l[i],e>=r.left&&e=n.left&&t=n.top&&e=e*e&&this.startDrag(t)),this.isDragging&&this.drag(i,r,t)},startDrag:function(t){this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.dragStart(t))},dragStart:function(t){var e=this.subjectEl;this.trigger("dragStart",t),(this.subjectHref=e?e.attr("href"):null)&&e.removeAttr("href")},drag:function(t,e,n){this.trigger("drag",t,e,n),this.updateScroll(n)},mouseup:function(t){this.stopListening(t)},stopDrag:function(t){this.isDragging&&(this.stopScrolling(),this.dragStop(t),this.isDragging=!1)},dragStop:function(t){var e=this;this.trigger("dragStop",t),setTimeout(function(){e.subjectHref&&e.subjectEl.attr("href",e.subjectHref)},0)},stopListening:function(e){this.stopDrag(e),this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),t(document).off("mousemove",this.mousemoveProxy).off("mouseup",this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.listenStop(e))},listenStop:function(t){this.trigger("listenStop",t)},trigger:function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(t){t.preventDefault()},computeScrollBounds:function(){var t=this.scrollEl;this.scrollBounds=t?p(t):null},updateScroll:function(t){var e,n,i,r,o=this.scrollSensitivity,s=this.scrollBounds,a=0,l=0;s&&(e=(o-(t.pageY-s.top))/o,n=(o-(s.bottom-t.pageY))/o,i=(o-(t.pageX-s.left))/o,r=(o-(s.right-t.pageX))/o,e>=0&&1>=e?a=e*this.scrollSpeed*-1:n>=0&&1>=n&&(a=n*this.scrollSpeed),i>=0&&1>=i?l=i*this.scrollSpeed*-1:r>=0&&1>=r&&(l=r*this.scrollSpeed)),this.setScrollVel(a,l)},setScrollVel:function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(nt(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.scrollStop())},scrollHandler:function(){this.scrollIntervalId||this.scrollStop()},scrollStop:function(){}}),se=oe.extend({coordMap:null,origCell:null,cell:null,coordAdjust:null,constructor:function(t,e){oe.prototype.constructor.call(this,e),this.coordMap=t},listenStart:function(t){var e,n,i,r=this.subjectEl;oe.prototype.listenStart.apply(this,arguments),this.computeCoords(),t?(n={left:t.pageX,top:t.pageY},i=n,r&&(e=p(r),i=S(i,e)),this.origCell=this.getCell(i.left,i.top),r&&this.options.subjectCenter&&(this.origCell&&(e=x(this.origCell,e)||e),i=D(e)),this.coordAdjust=_(i,n)):(this.origCell=null,this.coordAdjust=null)},computeCoords:function(){this.coordMap.build(),this.computeScrollBounds()},dragStart:function(t){var e;oe.prototype.dragStart.apply(this,arguments),e=this.getCell(t.pageX,t.pageY),e&&this.cellOver(e)},drag:function(t,e,n){var i;oe.prototype.drag.apply(this,arguments),i=this.getCell(n.pageX,n.pageY),bt(i,this.cell)||(this.cell&&this.cellOut(),i&&this.cellOver(i))},dragStop:function(){this.cellDone(),oe.prototype.dragStop.apply(this,arguments)},cellOver:function(t){this.cell=t,this.trigger("cellOver",t,bt(t,this.origCell),this.origCell)},cellOut:function(){this.cell&&(this.trigger("cellOut",this.cell),this.cellDone(),this.cell=null)},cellDone:function(){this.cell&&this.trigger("cellDone",this.cell)},listenStop:function(){oe.prototype.listenStop.apply(this,arguments),this.origCell=this.cell=null,this.coordMap.clear()},scrollStop:function(){oe.prototype.scrollStop.apply(this,arguments),this.computeCoords()},getCell:function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.coordMap.getCell(t,e)}}),ae=vt.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(e,n){this.options=n=n||{},this.sourceEl=e,this.parentEl=n.parentEl?t(n.parentEl):e.parent()},start:function(e){this.isFollowing||(this.isFollowing=!0,this.mouseY0=e.pageY,this.mouseX0=e.pageX,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),t(document).on("mousemove",this.mousemoveProxy=nt(this,"mousemove")))},stop:function(e,n){function i(){this.isAnimating=!1,r.removeElement(),this.top0=this.left0=null,n&&n()}var r=this,o=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,t(document).off("mousemove",this.mousemoveProxy),e&&o&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:o,complete:i})):i())},getEl:function(){var t=this.el;return t||(this.sourceEl.width(),t=this.el=this.sourceEl.clone().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}).appendTo(this.parentEl)),t},removeElement:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var t,e;this.getEl(),null===this.top0&&(this.sourceEl.width(),t=this.sourceEl.offset(),e=this.el.offsetParent().offset(),this.top0=t.top-e.top,this.left0=t.left-e.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(t){this.topDelta=t.pageY-this.mouseY0,this.leftDelta=t.pageX-this.mouseX0,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())}}),le=vt.extend({view:null,isRTL:null,cellHtml:" ",constructor:function(t){this.view=t,this.isRTL=t.opt("isRTL")},rowHtml:function(t,e){var n,i,r=this.getHtmlRenderer("cell",t),o="";for(e=e||0,n=0;n"+o+""},bookendCells:function(t,e,n){var i=this.getHtmlRenderer("intro",e)(n||0),r=this.getHtmlRenderer("outro",e)(n||0),o=this.isRTL?r:i,s=this.isRTL?i:r;return"string"==typeof t?o+t+s:t.prepend(o).append(s)},getHtmlRenderer:function(t,e){var n,i,r,o,s=this.view;return n=t+"Html",e&&(i=e+Q(t)+"Html"),i&&(o=s[i])?r=s:i&&(o=this[i])?r=this:(o=s[n])?r=s:(o=this[n])&&(r=this),"function"==typeof o?function(){return o.apply(r,arguments)||""}:function(){return o||""}}}),ce=Ot.Grid=le.extend({start:null,end:null,rowCnt:0,colCnt:0,el:null,coordMap:null,elsByFill:null,externalDragStartProxy:null,colHeadFormat:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,cellDuration:null,largeUnit:null,constructor:function(){le.apply(this,arguments),this.coordMap=new ie(this),this.elsByFill={},this.externalDragStartProxy=nt(this,"externalDragStart")},computeColHeadFormat:function(){},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(t){this.start=t.start.clone(),this.end=t.end.clone(),this.rangeUpdated(),this.processRangeOptions()},rangeUpdated:function(){},processRangeOptions:function(){var t,e,n=this.view;this.colHeadFormat=n.opt("columnFormat")||this.computeColHeadFormat(),this.eventTimeFormat=n.opt("eventTimeFormat")||n.opt("timeFormat")||this.computeEventTimeFormat(),t=n.opt("displayEventTime"),null==t&&(t=this.computeDisplayEventTime()),e=n.opt("displayEventEnd"),null==e&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},build:function(){},clear:function(){},rangeToSegs:function(t){},diffDates:function(t,e){return this.largeUnit?z(t,e,this.largeUnit):R(t,e)},getCell:function(e,n){var i;return null==n&&("number"==typeof e?(n=e%this.colCnt,e=Math.floor(e/this.colCnt)):(n=e.col,e=e.row)),i={row:e,col:n},t.extend(i,this.getRowData(e),this.getColData(n)),t.extend(i,this.computeCellRange(i)),i},computeCellRange:function(t){var e=this.computeCellDate(t);return{start:e,end:e.clone().add(this.cellDuration)}},computeCellDate:function(t){},getRowData:function(t){return{}},getColData:function(t){return{}},getRowEl:function(t){},getColEl:function(t){},getCellDayEl:function(t){return this.getColEl(t.col)||this.getRowEl(t.row)},computeRowCoords:function(){var t,e,n,i=[];for(t=0;t "},headHtml:function(){return'"},headCellHtml:function(t){var e=this.view,n=t.start;return'"},bgCellHtml:function(t){var e=this.view,n=t.start,i=this.getDayClasses(n);return i.unshift("fc-day",e.widgetContentClass),' '},getDayClasses:function(t){var e=this.view,n=e.calendar.getNow().stripTime(),i=["fc-"+Ut[t.day()]];return 1==e.intervalDuration.as("months")&&t.month()!=e.intervalStart.month()&&i.push("fc-other-month"),t.isSame(n,"day")?i.push("fc-today",e.highlightStateClass):n>t?i.push("fc-past"):i.push("fc-future"),i}});ce.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(t){var e,n,i=this.eventsToSegs(t),r=[],o=[];for(e=0;e *",function(n){var r=t(this).data("fc-seg");return!r||e.isDraggingSeg||e.isResizingSeg?void 0:i.call(this,r,n)})})},triggerSegMouseover:function(t,e){this.mousedOverSeg||(this.mousedOverSeg=t,this.view.trigger("eventMouseover",t.el[0],t.event,e))},triggerSegMouseout:function(t,e){e=e||{},this.mousedOverSeg&&(t=t||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",t.el[0],t.event,e))},segDragMousedown:function(t,e){var n,i=this,r=this.view,o=r.calendar,l=t.el,c=t.event,u=new ae(t.el,{parentEl:r.el,opacity:r.opt("dragOpacity"),revertDuration:r.opt("dragRevertDuration"),zIndex:2}),d=new se(r.coordMap,{distance:5,scroll:r.opt("dragScroll"),subjectEl:l,subjectCenter:!0,listenStart:function(t){u.hide(),u.start(t)},dragStart:function(e){i.triggerSegMouseout(t,e),i.segDragStart(t,e),r.hideEvent(c)},cellOver:function(e,a,l){t.cell&&(l=t.cell),n=i.computeEventDrop(l,e,c),n&&!o.isEventRangeAllowed(n,c)&&(s(),n=null),n&&r.renderDrag(n,t)?u.hide():u.show(),a&&(n=null)},cellOut:function(){r.unrenderDrag(),u.show(),n=null},cellDone:function(){a()},dragStop:function(e){u.stop(!n,function(){r.unrenderDrag(),r.showEvent(c),i.segDragStop(t,e),n&&r.reportEventDrop(c,n,this.largeUnit,l,e)})},listenStop:function(){u.stop()}});d.mousedown(e)},segDragStart:function(t,e){this.isDraggingSeg=!0,this.view.trigger("eventDragStart",t.el[0],t.event,e,{})},segDragStop:function(t,e){this.isDraggingSeg=!1,this.view.trigger("eventDragStop",t.el[0],t.event,e,{})},computeEventDrop:function(t,e,n){var i,r,o=this.view.calendar,s=t.start,a=e.start;return s.hasTime()===a.hasTime()?(i=this.diffDates(a,s),n.allDay&&P(i)?(r={start:n.start.clone(),end:o.getEventEnd(n),allDay:!1},o.normalizeEventRangeTimes(r)):r={start:n.start.clone(),end:n.end?n.end.clone():null,allDay:n.allDay},r.start.add(i),r.end&&r.end.add(i)):r={start:a.clone(),end:null,allDay:!a.hasTime()},r},applyDragOpacity:function(t){var e=this.view.opt("dragOpacity");null!=e&&t.each(function(t,n){n.style.opacity=e})},externalDragStart:function(e,n){var i,r,o=this.view;o.opt("droppable")&&(i=t((n?n.item:null)||e.target),r=o.opt("dropAccept"),(t.isFunction(r)?r.call(i[0],i):i.is(r))&&(this.isDraggingExternal||this.listenToExternalDrag(i,e,n)))},listenToExternalDrag:function(t,e,n){var i,r,o=this,l=Dt(t);i=new se(this.coordMap,{listenStart:function(){o.isDraggingExternal=!0},cellOver:function(t){r=o.computeExternalDrop(t,l),r?o.renderDrag(r):s()},cellOut:function(){r=null,o.unrenderDrag(),a()},dragStop:function(){o.unrenderDrag(),a(),r&&o.view.reportExternalDrop(l,r,t,e,n)},listenStop:function(){o.isDraggingExternal=!1}}),i.startDrag(e)},computeExternalDrop:function(t,e){var n={start:t.start.clone(),end:null};return e.startTime&&!n.start.hasTime()&&n.start.time(e.startTime),e.duration&&(n.end=n.start.clone().add(e.duration)),this.view.calendar.isExternalDropRangeAllowed(n,e.eventProps)?n:null},renderDrag:function(t,e){},unrenderDrag:function(){},segResizeMousedown:function(t,e,n){var i,r,o=this,l=this.view,c=l.calendar,u=t.el,d=t.event,f=c.getEventEnd(d);i=new se(this.coordMap,{distance:5,scroll:l.opt("dragScroll"),subjectEl:u,dragStart:function(e){o.triggerSegMouseout(t,e),o.segResizeStart(t,e)},cellOver:function(e,i,a){r=n?o.computeEventStartResize(a,e,d):o.computeEventEndResize(a,e,d),r&&(c.isEventRangeAllowed(r,d)?r.start.isSame(d.start)&&r.end.isSame(f)&&(r=null):(s(),r=null)),r&&(l.hideEvent(d),o.renderEventResize(r,t))},cellOut:function(){r=null},cellDone:function(){o.unrenderEventResize(),l.showEvent(d),a()},dragStop:function(e){o.segResizeStop(t,e),r&&l.reportEventResize(d,r,this.largeUnit,u,e)}}),i.mousedown(e)},segResizeStart:function(t,e){this.isResizingSeg=!0,this.view.trigger("eventResizeStart",t.el[0],t.event,e,{})},segResizeStop:function(t,e){this.isResizingSeg=!1,this.view.trigger("eventResizeStop",t.el[0],t.event,e,{})},computeEventStartResize:function(t,e,n){return this.computeEventResize("start",t,e,n)},computeEventEndResize:function(t,e,n){return this.computeEventResize("end",t,e,n)},computeEventResize:function(t,e,n,i){var r,o,s=this.view.calendar,a=this.diffDates(n[t],e[t]);return r={start:i.start.clone(),end:s.getEventEnd(i),allDay:i.allDay},r.allDay&&P(a)&&(r.allDay=!1,s.normalizeEventRangeTimes(r)),r[t].add(a),r.start.isBefore(r.end)||(o=i.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration,this.cellDuration&&this.cellDurationc&&a.push({event:l,start:c,end:n.start}),c=n.end;return o>c&&a.push({event:l,start:c,end:o}),a},eventRangeToSegs:function(t,e){var n,i,r;for(t=this.view.calendar.ensureVisibleEventRange(t),n=e?e(t):this.rangeToSegs(t),i=0;ie;e++)l+=this.dayRowHtml(e,t);for(this.el.html(l),this.rowEls=this.el.find(".fc-row"),this.dayEls=this.el.find(".fc-day"),n=0;a>n;n++)i=this.getCell(n),r.trigger("dayRender",null,i.start,this.dayEls.eq(n))},unrenderDates:function(){this.removeSegPopover()},renderBusinessHours:function(){var t=this.view.calendar.getBusinessHoursEvents(!0),e=this.eventsToSegs(t);this.renderFill("businessHours",e,"bgevent")},dayRowHtml:function(t,e){var n=this.view,i=["fc-row","fc-week",n.widgetContentClass];return e&&i.push("fc-rigid"),''+this.rowHtml("day",t)+'
'+(this.numbersVisible?""+this.rowHtml("number",t)+" ":"")+"
"},dayCellHtml:function(t){return this.bgCellHtml(t)},computeColHeadFormat:function(){return this.rowCnt>1?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},rangeUpdated:function(){var t,e,n,i;if(this.updateCellDates(),t=this.cellDates,this.breakOnWeeks){for(e=t[0].day(),i=1;ii;i++)r=i*h,o=r+h-1,l=Math.max(r,e),c=Math.min(o,n),l=Math.ceil(l),c=Math.floor(c),c>=l&&(s=l===e,a=c===n,l-=r,c-=r,u={row:i,isStart:s,isEnd:a},d?(u.leftCol=h-c-1,u.rightCol=h-l-1):(u.leftCol=l,u.rightCol=c),p.push(u));return p},dateToCellOffset:function(t){var e=this.dayToCellOffsets,n=t.diff(this.start,"days");return 0>n?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},renderDrag:function(t,e){return this.renderHighlight(this.eventRangeToSegs(t)),e&&!e.el.closest(this.el).length?(this.renderRangeHelper(t,e),this.applyDragOpacity(this.helperEls),!0):void 0},unrenderDrag:function(){this.unrenderHighlight(),this.unrenderHelper()},renderEventResize:function(t,e){this.renderHighlight(this.eventRangeToSegs(t)),this.renderRangeHelper(t,e)},unrenderEventResize:function(){this.unrenderHighlight(),this.unrenderHelper()},renderHelper:function(e,n){var i,r=[],o=this.eventsToSegs([e]);o=this.renderFgSegEls(o),i=this.renderSegRows(o),this.rowEls.each(function(e,o){var s,a=t(o),l=t('');s=n&&n.row===e?n.el.position().top:a.find(".fc-content-skeleton tbody").position().top,l.css("top",s).find("table").append(i[e].tbodyEl),a.append(l),r.push(l[0])}),this.helperEls=t(r)},unrenderHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(e,n,i){var r,o,s,a=[];for(n=this.renderFillSegEls(e,n),r=0;r '),o=r.find("tr"),a>0&&o.append('