iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
3 lines • 256 kB
JavaScript
/*! For license information please see chunk.56ec09526f54fbbb2f8c.js.LICENSE.txt */
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[6552],{39060:(e,t,n)=>{"use strict";n.d(t,{kgr:()=>Ve,H6J:()=>Qn,I_K:()=>ti,zeW:()=>tn,BdM:()=>mo,FEm:()=>Qr,Tdg:()=>Ao,hiv:()=>fr,IdW:()=>ar,VPe:()=>wr,R_3:()=>Ko,hJ8:()=>Xo,lR3:()=>To,xB8:()=>ko,xVj:()=>Mo,snJ:()=>Wr,KDF:()=>ao,A9I:()=>Un,Q5$:()=>Hn,voO:()=>nn,Vsx:()=>Yo,HYg:()=>l,U4m:()=>no,wh8:()=>Co,zIV:()=>zn,lAU:()=>Ho,QJ3:()=>dr,Qgo:()=>Bn,Ttm:()=>Oo,Oh2:()=>Qo,RVT:()=>Io,h2k:()=>Go,xS$:()=>yr,QOi:()=>ri,Obu:()=>Ln,E4D:()=>W,jh6:()=>F,N0T:()=>O,sGN:()=>N,rfG:()=>Yt,bg6:()=>A,oWe:()=>_,vuT:()=>on,rRV:()=>zt,Euv:()=>Rn,r39:()=>Ot,z6t:()=>B,skW:()=>Nn,AYo:()=>Pn,vc:()=>so,Jq9:()=>En,Pvs:()=>me,azq:()=>i,ifx:()=>$e,$N4:()=>re,SPZ:()=>Ue,rxu:()=>sr,VfA:()=>s,Pe9:()=>yt,vrY:()=>_n,bXg:()=>q,deF:()=>k,x_n:()=>y,App:()=>b,_OJ:()=>M,rod:()=>Xe,Hcb:()=>u,SVl:()=>_e,U4g:()=>On,iCZ:()=>Sn,yLW:()=>Cn,$Td:()=>Qt,BJe:()=>Rt,iFU:()=>An,SOE:()=>Ke,jHR:()=>Ht,PZw:()=>qo,Q8U:()=>jo,yRu:()=>Ze,T6u:()=>io,Rac:()=>oo,cMs:()=>At,VEA:()=>bn,CnA:()=>f,omy:()=>Lt,WoG:()=>$n,p7j:()=>mt,S6v:()=>ue,_aR:()=>se,HPs:()=>De,WOi:()=>co,mTn:()=>ht,BKI:()=>yn,ipI:()=>P,ZSf:()=>I,urV:()=>wt,Boe:()=>ft,bXf:()=>p,sYA:()=>a,MA3:()=>ei,Hbc:()=>Wo,k$v:()=>Zn,y$4:()=>St,hak:()=>kt,b7Q:()=>G,HpC:()=>jt,ONu:()=>R});var r=n(87480);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var o=FullCalendarVDom.Component,i=FullCalendarVDom.createElement,a=FullCalendarVDom.render,s=FullCalendarVDom.createRef,l=FullCalendarVDom.Fragment,c=FullCalendarVDom.createContext,u=FullCalendarVDom.flushToDom,d=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId]})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),e}();function f(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r++)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){e.innerHTML=t}function g(e,t){var n=Array.prototype.slice.call(e.childNodes),r=Array.prototype.slice.call(t);if(!f(n,r)){for(var o=0,i=r;o<i.length;o++){var a=i[o];e.appendChild(a)}n.forEach(p)}}var v=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector,m=Element.prototype.closest||function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(b(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null};function y(e,t){return m.call(e,t)}function b(e,t){return v.call(e,t)}var E=/(top|left|right|bottom|width|height)$/i;function A(e,t){for(var n in t)_(e,n,t[n])}function _(e,t,n){null==n?e.style[t]="":"number"==typeof n&&E.test(t)?e.style[t]=n+"px":e.style[t]=n}function w(e){e.preventDefault()}function D(e,t){return function(n){var r=y(n.target,e);r&&t.call(r,n,r)}}function S(e,t,n,r){var o=D(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}var C=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function R(e,t){var n=function(r){t(r),C.forEach((function(t){e.removeEventListener(t,n)}))};C.forEach((function(t){e.addEventListener(t,n)}))}var T=0;function x(){return String(T++)}function k(){document.body.classList.add("fc-not-allowed")}function M(){document.body.classList.remove("fc-not-allowed")}function I(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",w)}function N(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",w)}function P(e){e.addEventListener("contextmenu",w)}function O(e){e.removeEventListener("contextmenu",w)}function H(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"==typeof e||"string"==typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function z(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function B(e,t){return e-t}function U(e){return e%1==0}function L(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var V=["sun","mon","tue","wed","thu","fri","sat"];function F(e,t){var n=$(e);return n[2]+=7*t,ee(n)}function W(e,t){var n=$(e);return n[2]+=t,ee(n)}function j(e,t){var n=$(e);return n[6]+=t,ee(n)}function q(e,t){return Q(e,t)/7}function Q(e,t){return(t.valueOf()-e.valueOf())/864e5}function Y(e,t){return ne(e)===ne(t)?Math.round(Q(e,t)):null}function G(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function Z(e,t,n,r){var o=ee([t,0,1+J(t,n,r)]),i=G(e),a=Math.round(Q(o,i));return Math.floor(a/7)+1}function J(e,t,n){var r=7+t-n;return-((7+ee([e,0,r]).getUTCDay()-t)%7)+r-1}function X(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function K(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function $(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function ee(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function te(e){return!isNaN(e.valueOf())}function ne(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function re(e,t,n,r){return{instanceId:x(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var oe=Object.prototype.hasOwnProperty;function ie(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i--){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=ie(o))}for(i=e.length-1;i>=0;i--){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function ae(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function se(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function le(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function ce(e){var t=[];for(var n in e)t.push(e[n]);return t}function ue(e,t){if(e===t)return!0;for(var n in e)if(oe.call(e,n)&&!(n in t))return!1;for(var n in t)if(oe.call(t,n)&&e[n]!==t[n])return!1;return!0}function de(e,t){var n=[];for(var r in e)oe.call(e,r)&&(r in t||n.push(r));for(var r in t)oe.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function fe(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!pe(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function pe(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function he(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=ae(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=ge(c,u,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=re(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function ge(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(G)),i}var ve=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function me(e,t){var n;return"string"==typeof e?function(e){var t=ve.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?ye(e):"number"==typeof e?ye(((n={})[t||"milliseconds"]=e,n)):null}function ye(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function be(e){return Ee(e)/864e5}function Ee(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Ae(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function _e(e){return e.toISOString().replace(/T.*$/,"")}function we(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+z(o,2)+":"+z(i,2):"GMT"+n+o+(i?":"+z(i,2):"")}function De(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!f(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Se(e,t,n){var r,o;return function(i){if(r){if(!ue(r,i)){n&&n(o);var a=e.call(this,i);t&&t(a,o)||(o=a)}}else o=e.call(this,i);return r=i,o}}var Ce={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Re={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Te=/\s*([ap])\.?m\.?/i,xe=/,/g,ke=/\s+/g,Me=/\u200e/g,Ie=/UTC|GMT/,Ne=function(){function e(e){var t={},n={},r=0;for(var o in e)o in Ce?(n[o]=e[o],r=Math.max(Ce[o],r)):(t[o]=e[o],o in Re&&(r=Math.max(Re[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=De(Pe)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(ne(e)!==ne(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=Pe(function(e,t){var n={};for(var r in e)(!(r in Re)||Re[r]<=t)&&(n[r]=e[r]);return n}(o,s),i,n),d=u(e),f=u(t),p=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,d,c,f),h=i.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:l+h+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function Pe(e,t,n){var o=Object.keys(e).length;return 1===o&&"short"===e.timeZoneName?function(e){return we(e.timeZoneOffset)}:0===o&&t.week?function(e){return function(e,t,n,r){var o=[];"narrow"===r?o.push(t):"short"===r&&o.push(t," ");o.push(n.simpleNumberFormat.format(e)),"rtl"===n.options.direction&&o.reverse();return o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.locale,t.week)}:function(e,t,n){e=(0,r.__assign)({},e),t=(0,r.__assign)({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var o,i=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var a=(0,r.__assign)({},e);delete a.minute,o=new Intl.DateTimeFormat(n.locale.codes,a)}return function(r){var a=r.marker;return function(e,t,n,r,o){e=e.replace(Me,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(Ie,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":we(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(xe,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(Te,"").trim():"narrow"===r.meridiem?e=e.replace(Te,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(Te,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(Te,(function(e){return e.toLocaleLowerCase()})));return e=(e=e.replace(ke," ")).trim()}((o&&!a.getUTCMinutes()?o:i).format(a),r,e,t,n)}}(e,t,n)}function Oe(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function He(e,t,n,r){var o=Oe(e,n.calendarSystem);return{date:o,start:o,end:t?Oe(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var ze=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,He(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,He(e,t,n,r))},e}(),Be=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(He(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(He(e,t,n,r))},e}();function Ue(e){return"object"==typeof e&&e?new Ne(e):"string"==typeof e?new ze(e):"function"==typeof e?new Be(e):void 0}var Le={navLinkDayClick:Ze,navLinkWeekClick:Ze,duration:me,bootstrapFontAwesome:Ze,buttonIcons:Ze,customButtons:Ze,defaultAllDayEventDuration:me,defaultTimedEventDuration:me,nextDayThreshold:me,scrollTime:me,slotMinTime:me,slotMaxTime:me,dayPopoverFormat:Ue,slotDuration:me,snapDuration:me,headerToolbar:Ze,footerToolbar:Ze,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Ue,dayHeaderClassNames:Ze,dayHeaderContent:Ze,dayHeaderDidMount:Ze,dayHeaderWillUnmount:Ze,dayCellClassNames:Ze,dayCellContent:Ze,dayCellDidMount:Ze,dayCellWillUnmount:Ze,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Ze,weekNumbers:Boolean,weekNumberClassNames:Ze,weekNumberContent:Ze,weekNumberDidMount:Ze,weekNumberWillUnmount:Ze,editable:Boolean,viewClassNames:Ze,viewDidMount:Ze,viewWillUnmount:Ze,nowIndicator:Boolean,nowIndicatorClassNames:Ze,nowIndicatorContent:Ze,nowIndicatorDidMount:Ze,nowIndicatorWillUnmount:Ze,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Ze,locale:Ze,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Ze,eventOrder:function(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t++)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r},handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Ze,contentHeight:Ze,direction:String,weekNumberFormat:Ue,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,progressiveEventRendering:Boolean,businessHours:Ze,initialDate:Ze,now:Ze,eventDataTransform:Ze,stickyHeaderDates:Ze,stickyFooterScrollbar:Ze,viewHeight:Ze,defaultAllDay:Boolean,eventSourceFailure:Ze,eventSourceSuccess:Ze,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Ze,eventConstraint:Ze,eventAllow:Ze,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Ze,eventContent:Ze,eventDidMount:Ze,eventWillUnmount:Ze,selectConstraint:Ze,selectOverlap:Ze,selectAllow:Ze,droppable:Boolean,unselectCancel:String,slotLabelFormat:Ze,slotLaneClassNames:Ze,slotLaneContent:Ze,slotLaneDidMount:Ze,slotLaneWillUnmount:Ze,slotLabelClassNames:Ze,slotLabelContent:Ze,slotLabelDidMount:Ze,slotLabelWillUnmount:Ze,dayMaxEvents:Ze,dayMaxEventRows:Ze,dayMinWidth:Number,slotLabelInterval:me,allDayText:String,allDayClassNames:Ze,allDayContent:Ze,allDayDidMount:Ze,allDayWillUnmount:Ze,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Ue,rerenderDelay:Number,moreLinkText:Ze,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMinHeight:Number,slotEventOverlap:Boolean,plugins:Ze,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:me,hiddenDays:Ze,monthMode:Boolean,fixedWeekCount:Boolean,validRange:Ze,visibleRange:Ze,titleFormat:Ze,noEventsText:String},Ve={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1},Fe={datesSet:Ze,eventsSet:Ze,eventAdd:Ze,eventChange:Ze,eventRemove:Ze,windowResize:Ze,eventClick:Ze,eventMouseEnter:Ze,eventMouseLeave:Ze,select:Ze,unselect:Ze,loading:Ze,_unmount:Ze,_beforeprint:Ze,_afterprint:Ze,_noEventDrop:Ze,_noEventResize:Ze,_resize:Ze,_scrollRequest:Ze},We={buttonText:Ze,views:Ze,plugins:Ze,initialEvents:Ze,events:Ze,eventSources:Ze},je={headerToolbar:qe,footerToolbar:qe,buttonText:qe,buttonIcons:qe};function qe(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?ue(e,t):e===t}var Qe={type:String,component:Ze,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Ze,usesMinMaxTime:Boolean,classNames:Ze,content:Ze,didMount:Ze,willUnmount:Ze};function Ye(e){return ie(e,je)}function Ge(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function Ze(e){return e}function Je(e,t,n,r){for(var o={defs:{},instances:{}},i=pt(n),a=0,s=e;a<s.length;a++){var l=dt(s[a],t,n,r,i);l&&Xe(l,o)}return o}function Xe(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Ke(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=tt(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function $e(){return{defs:{},instances:{}}}function et(e,t){return{defs:(0,r.__assign)((0,r.__assign)({},e.defs),t.defs),instances:(0,r.__assign)((0,r.__assign)({},e.instances),t.instances)}}function tt(e,t){var n=ae(e.defs,t),r=ae(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function nt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var rt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Ze,overlap:Ze,allow:Ze,className:nt,classNames:nt,color:String,backgroundColor:String,borderColor:String,textColor:String};function ot(e,t){var n=function(e,t){return Array.isArray(e)?Je(e,null,t,!0):"object"==typeof e&&e?Je([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function it(e){return e.reduce(at,st)}function at(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var st={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]},lt={id:String,groupId:String,title:String,url:String},ct={start:Ze,end:Ze,date:Ze,allDay:Boolean},ut=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},lt),ct),{extendedProps:Ze});function dt(e,t,n,r,o){void 0===o&&(o=pt(n));var i=ft(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o++){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=ht(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=G(s));i&&(c=i.marker,a&&(c=G(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=ht(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:re(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function ft(e,t,n){return void 0===n&&(n=pt(t)),Ge(e,n)}function pt(e){return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},rt),ut),e.pluginHooks.eventRefiners)}function ht(e,t,n,o,i,a){for(var s={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:x(),sourceId:n,allDay:o,hasEnd:i,ui:ot(e,a),extendedProps:(0,r.__assign)((0,r.__assign)({},e.extendedProps||{}),t)},l=0,c=a.pluginHooks.eventDefMemberAdders;l<c.length;l++){var u=c[l];(0,r.__assign)(s,u(e))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function gt(e){var t=Math.floor(Q(e.start,e.end))||1,n=G(e.start);return{start:n,end:W(n,t)}}function vt(e,t){void 0===t&&(t=me(0));var n=null,r=null;if(e.end){r=G(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=Ee(t)&&(r=W(r,1))}return e.start&&(n=G(e.start),r&&r<=n&&(r=W(n,1))),{start:n,end:r}}function mt(e){var t=vt(e);return Q(t.start,t.end)>1}function yt(e,t,n,r){return"year"===r?me(n.diffWholeYears(e,t),"year"):"month"===r?me(n.diffWholeMonths(e,t),"month"):(i=t,a=G(o=e),s=G(i),{years:0,months:0,days:Math.round(Q(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function bt(e,t){var n,r,o=[],i=t.start;for(e.sort(Et),n=0;n<e.length;n++)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Et(e,t){return e.start.valueOf()-t.start.valueOf()}function At(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function _t(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function wt(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Dt(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function St(e,t,n,r){var o={},i={},a={},s=[],l=[],c=Tt(e.defs,t);for(var u in e.defs){"inverse-background"===(p=c[(E=e.defs[u]).defId]).display&&(E.groupId?(o[E.groupId]=[],a[E.groupId]||(a[E.groupId]=E)):i[u]=[])}for(var d in e.instances){var f=e.instances[d],p=c[(E=e.defs[f.defId]).defId],h=f.range,g=!E.allDay&&r?vt(h,r):h,v=At(g,n);v&&("inverse-background"===p.display?E.groupId?o[E.groupId].push(v):i[f.defId].push(v):"none"!==p.display&&("background"===p.display?s:l).push({def:E,ui:p,instance:f,range:v,isStart:g.start&&g.start.valueOf()===v.start.valueOf(),isEnd:g.end&&g.end.valueOf()===v.end.valueOf()}))}for(var m in o)for(var y=0,b=bt(o[m],n);y<b.length;y++){var E,A=b[y];p=c[(E=a[m]).defId];s.push({def:E,ui:p,instance:null,range:A,isStart:!1,isEnd:!1})}for(var u in i)for(var _=0,w=bt(i[u],n);_<w.length;_++){A=w[_];s.push({def:e.defs[u],ui:c[u],instance:null,range:A,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Ct(e,t){e.fcSeg=t}function Rt(e){return e.fcSeg||e.parentNode.fcSeg||null}function Tt(e,t){return se(e,(function(e){return xt(e,t)}))}function xt(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),it(n)}function kt(e,t){var n=e.map(Mt);return n.sort((function(e,n){return function(e,t,n){var r,o;for(r=0;r<n.length;r++)if(o=H(e,t,n[r]))return o;return 0}(e,n,t)})),n.map((function(e){return e._seg}))}function Mt(e){var t=e.eventRange,n=t.def,o=t.instance?t.instance.range:t.range,i=o.start?o.start.valueOf():0,a=o.end?o.end.valueOf():0;return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},n.extendedProps),n),{id:n.publicId,start:i,end:a,duration:a-i,allDay:Number(n.allDay),_seg:e})}function It(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function Nt(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function Pt(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function Ot(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;if(null==c&&(c=!1!==r),null==u&&(u=!1!==o),c&&!d.allDay&&(e.isStart||e.isEnd)){var p=i||(e.isStart?f.range.start:e.start||e.eventRange.range.start),h=a||(e.isEnd?f.range.end:e.end||e.eventRange.range.end);return u&&d.hasEnd?s.formatRange(p,h,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(p,t,{forcedTzo:i?null:f.forcedStartTzo})}return""}function Ht(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&Dt(t,r.start)}}function zt(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}var Bt={start:Ze,end:Ze,allDay:Boolean};function Ut(e,t,n){var o=function(e,t){var n=Ge(e,Bt),o=n.refined,i=n.extra,a=o.start?t.createMarkerMeta(o.start):null,s=o.end?t.createMarkerMeta(o.end):null,l=o.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return(0,r.__assign)({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},i)}(e,t),i=o.range;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=t.add(i.start,n)}return o}function Lt(e,t){return n=e.range,r=t.range,(null===n.start?null:n.start.valueOf())===(null===r.start?null:r.start.valueOf())&&(null===n.end?null:n.end.valueOf())===(null===r.end?null:r.end.valueOf())&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(e,t);var n,r}function Vt(e,t,n){return(0,r.__assign)((0,r.__assign)({},Ft(e,t,n)),{timeZone:t.timeZone})}function Ft(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function Wt(e,t,n){var r=ft({editable:!1},n),o=ht(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:xt(o,t),instance:re(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function jt(e,t,n){n.emitter.trigger("select",(0,r.__assign)((0,r.__assign)({},qt(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function qt(e,t){for(var n,o,i={},a=0,s=t.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];(0,r.__assign)(i,l(e,t))}return(0,r.__assign)(i,(n=e,o=t.dateEnv,(0,r.__assign)((0,r.__assign)({},Ft(n.range,o,n.allDay)),{allDay:n.allDay}))),i}function Qt(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=G(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function Yt(e,t,n,r){var o=Tt(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=Gt(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId];i.instances[l]=Zt(c,s,o[c.defId],n,r)}return i}function Gt(e,t,n,o){var i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);var a=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},e),i),{ui:(0,r.__assign)((0,r.__assign)({},e.ui),i.ui)});n.extendedProps&&(a.extendedProps=(0,r.__assign)((0,r.__assign)({},a.extendedProps),n.extendedProps));for(var s=0,l=o.pluginHooks.eventDefMutationAppliers;s<l.length;s++){(0,l[s])(a,n,o)}return!a.hasEnd&&o.options.forceEventDuration&&(a.hasEnd=!0),a}function Zt(e,t,n,o,i){var a=i.dateEnv,s=o.standardProps&&!0===o.standardProps.allDay,l=o.standardProps&&!1===o.standardProps.hasEnd,c=(0,r.__assign)({},e);return s&&(c.range=gt(c.range)),o.datesDelta&&n.startEditable&&(c.range={start:a.add(c.range.start,o.datesDelta),end:a.add(c.range.end,o.datesDelta)}),o.startDelta&&n.durationEditable&&(c.range={start:a.add(c.range.start,o.startDelta),end:c.range.end}),o.endDelta&&n.durationEditable&&(c.range={start:c.range.start,end:a.add(c.range.end,o.endDelta)}),l&&(c.range={start:c.range.start,end:Qt(t.allDay,c.range.start,i)}),t.allDay&&(c.range={start:G(c.range.start),end:G(c.range.end)}),c.range.end<c.range.start&&(c.range.end=Qt(t.allDay,c.range.start,i)),c}var Jt=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),Xt={id:String,defaultAllDay:Boolean,url:String,events:Ze,eventDataTransform:Ze,success:Ze,failure:Ze};function Kt(e,t,n){var r;if(void 0===n&&(n=$t(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=Ge(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r--){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:x(),sourceDefId:s.sourceDefId,meta:s.meta,ui:ot(i,t),extendedProps:a}}return null}function $t(e){return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},rt),Xt),e.pluginHooks.eventSourceRefiners)}function en(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var tn=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];(t=this.currentDataManager.emitter).trigger.apply(t,(0,r.__spreadArrays)([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.viewsWithButtons);for(var s in o)a.push(s);for(t=0;t<a.length;t++)if((n=o[a[t]])&&n.singleUnit===e)return n},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:en(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=me(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),Ue(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),Ue(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=Ut(n,r.dateEnv,me({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),jt(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof nn){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Xe({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof d)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=ce(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=dt(e,o,i,!1);if(s){var l=new nn(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Xe(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:rn(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new nn(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new nn(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return on(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new d(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new d(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof d)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=Kt(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new d(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES"})},e.prototype.scrollToTime=function(e){var t=me(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),nn=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in ct)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e in lt)t=lt[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in rt){var o=rt[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=yt(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=yt(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=gt(c));var u=yt(c.start,l,a,n.granularity);if(r){var d=yt(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=me(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=me(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=me(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=Ue(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=Ke(o.getCurrentData().eventStore,n.instanceId);i=Yt(i,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var a=new e(o,r,n);this._def=i.defs[r.defId],this._instance=i.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:i}),o.emitter.trigger("eventChange",{oldEvent:a,event:this,relatedEvents:on(i,o,n),revert:function(){o.dispatch({type:"REMOVE_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=rn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new d(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,o=this.startStr,i=this.endStr,a={};return t.title&&(a.title=t.title),o&&(a.start=o),i&&(a.end=i),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,r.__assign)(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function rn(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function on(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new nn(t,c,l))}return i}var an={};var sn,ln=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return ee(e)},e.prototype.markerToArray=function(e){return $(e)},e}();sn=ln,an["gregory"]=sn;var cn=/^\s*(\d{4})(-(\d{2})(-(\d{2})([T ](\d{2}):(\d{2})(:(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var un=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new an[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):ee(X(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=ee(e)),null!==t&&te(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=cn.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(te(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return ne(e)===ne(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return ne(e)===ne(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:null!==(n=function(e,t){var n=Y(e,t);return null!==n&&n%7==0?n/7:null}(e,t))?{unit:"week",value:n}:null!==(n=Y(e,t))?{unit:"day",value:n}:U(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t))?{unit:"hour",value:n}:U(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t))?{unit:"minute",value:n}:U(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t))?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(be(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return be(e)/30}(n):n.days&&null!==(r=Y(e,t))?r/be(n):(t.valueOf()-e.valueOf())/Ee(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?G(e):"hour"===t?function(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):void 0},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=Z(e,r,t,n);if(o<1)return Z(e,r-1,t,n);var i=Z(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=j(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),function(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",we(t,!0)))),r}(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ee(X(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ee(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-K($(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray($(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?K($(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray($(e))*60):new Date(e.valueOf()-(t||0))},e}(),dn=[],fn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"};function pn(e){for(var t=e.length>0?e[0].code:"en",n=dn.concat(e),r={en:fn},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function hn(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n++)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o--){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||fn;return gn(e,n,r)}(e,t):gn(e.code,[e.code],e)}function gn(e,t,n){var r=ie([fn,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var vn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function mn(e,t){return Je(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return(0,r.__assign)((0,r.__assign)({},vn),e)}))}(e),null,t)}function yn(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function bn(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function En(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function An(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function _n(e,t){return{left:e.left-t.left,top:e.top-t.top}}var wn={defs:{},instances:{}};!function(){function e(){this.getKeysForEventDefs=De(this._getKeysForEventDefs),this.splitDateSelection=De(this._splitDateSpan),this.splitEventStore=De(this._splitEventStore),this.splitIndividualUi=De(this._splitIndividualUi),this.splitEventDrag=De(this._splitInteraction),this.splitEventResize=De(this._splitInteraction),this.eventUiBuilders={}}e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=se(n,(function(e,n){return t.eventUiBuilders[n]||De(Dn)})),n){var d=n[u],f=a[u]||wn,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return se(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||wn,mutatedEvents:o[r]||wn,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t}}();function Dn(e,t,n){var o=[];e&&o.push(e),t&&o.push(t);var i={"":it(o)};return n&&(0,r.__assign)(i,n),i}function Sn(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!Dt(r.activeRange,e)),isOther:Boolean(r&&!Dt(r.currentRange,e)),isToday:Boolean(t&&Dt(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Cn(e,t){var n=["fc-day","fc-day-"+V[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}function Rn(e,t){return void 0===t&&(t="day"),JSON.stringify({date:_e(e),type:t})}var Tn,xn=null;function kn(){return null===xn&&(xn=function(){var e=document.createElement("div");A(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return p(e),t}()),xn}function Mn(){return Tn||(Tn=function(){var e=document.createElement("div");e.style.overflow="scroll",document.body.appendChild(e);var t=In(e);return document.body.removeChild(e),t}()),Tn}function In(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Nn(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():Pn(e),o=function(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=In(e),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return kn()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function Pn(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function On(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}var Hn=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e]},e}();var zn=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t++)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t++)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),Bn=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),Un=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return(0,r.__extends)(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(Bn),Ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(Bn),Vn=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=(0,r.__assign)({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Vn.prototype.classes={},Vn.prototype.iconClasses={},Vn.prototype.baseIconClass="",Vn.prototype.iconOverridePrefix="";var Fn=function(){function e(e,t,n){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.handleScrollRequest=function(e){o.queuedRequest=(0,r.__assign)({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),Wn=c({});function jn(e,t,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new Fn(e,c,me(n.scrollTime))},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var qn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(de(e,this.props),de(t,this.state)),!fe(this.props,e,this.propEquality)||!fe(this.state,t,this.stateEquality)},t.addPropsEquality=Yn,t.addStateEquality=Gn,t.contextType=Wn,t}(o);qn.prototype.propEquality={},qn.prototype.stateEquality={};var Qn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.contextType=Wn,t}(qn);function Yn(e){var t=Object.create(this.prototype.propEquality);(0,r.__assign)(t,e),this.prototype.propEquality=t}function Gn(e){var t=Object.create(this.prototype.stateEquality);(0,r.__assign)(t,e),this.prototype.stateEquality=t}function Zn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Jn(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=Je(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=Xn(e,o));r&&(e=Xn(e,r));return e}(o,t,i),t,i);return r&&(a=he(a,r,i)),et(Kn(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=he(t,n,r));return et(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"MERGE_EVENTS":return et(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?he(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return Kn(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return tt(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Xn(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function Kn(e,t){return tt(e,(function(e){return e.sourceId!==t}))}function $n(e,t){return er({eventDrag:e},t)}function er(e,t){var n=t.getCurrentData(),o=(0,r.__assign)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||tr)(o,t)}function tr(e,t,n,o){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,o){var i=t.getCurrentData(),a=e.eventDrag,s=a.mutatedEvents,l=s.defs,c=s.instances,u=Tt(l,a.isEvent?e.eventUiBases:{"":i.selectionConfig});o&&(u=se(u,o));var d=(g=e.eventStore,v=a.affectedEvents.instances,{defs:g.defs,instances:ae(g.instances,(function(e){return!v[e.instanceId]}))}),f=d.defs,p=d.instances,h=Tt(f,e.eventUiBases);var g,v;for(var m in c){var y=c[m],b=y.range,E=u[y.defId],A=l[y.defId];if(!nr(E.constraints,b,d,e.businessHours,t))return!1;var _=t.options.eventOverlap,w="function"==typeof _?_:null;for(var D in p){var S=p[D];if(_t(b,S.range)){if(!1===h[S.defId].overlap&&a.isEvent)return!1;if(!1===E.overlap)return!1;if(w&&!w(new nn(t,f[S.defId],S),new nn(t,A,y)))return!1}}for(var C=i.eventStore,R=0,T=E.allows;R<T.length;R++){var x=T[R],k=(0,r.__assign)((0,r.__assign)({},n),{range:y.range,allDay:A.allDay}),M=C.defs[A.defId],I=C.instances[m],N=void 0;if(N=M?new nn(t,M,I):new nn(t,A),!x(qt(k,t),N))return!1}}return!0}(e,t,n,o))&&!(e.dateSelection&&!function(e,t,n,o){var i=e.eventStore,a=i.defs,s=i.instances,l=e.dateSelection,c=l.range,u=t.getCurrentData().selectionConfig;o&&(u=o(u));if(!nr(u.constraints,c,i,e.businessHours,t))return!1;var d=t.options.selectOverlap,f="function"==typeof d?d:null;for(var p in s){var h=s[p];if(_t(c,h.range)){if(!1===u.overlap)return!1;if(f&&!f(new nn(t,a[h.defId],h),null))return!1}}for(var g=0,v=u.allows;g<v.length;g++){if(!(0,v[g])(qt((0,r.__assign)((0,r.__assign)({},n),l),t),null))return!1}return!0}(e,t,n,o))}function nr(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++){if(!ir(rr(a[i],t,n,r,o),t))return!1}return!0}function rr(e,t,n,r,o){return"businessHours"===e?or(he(r,t,o)):"string"==typeof e?or(tt(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?or(he(e,t,o)):[]}function or(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function ir(e,t){for(var n=0,r=e;n<r.length;n++){if(wt(r[n],t))return!0}return!1}var ar=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=x(),t}return(0,r.__extends)(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isInteractionValid=function(e){var t=this.props.dateProfile,n=e.mutatedEvents.instances;if(t)for(var r in n)if(!wt(t.validRange,n[r].range))return!1;return $n(e,this.context)},t.prototype.isDateSelectionValid=function(e){var t,n,r=this.props.dateProfile;return!(r&&!wt(r.validRange,e.range))&&(t=e,n=this.context,er({dateSelection:t},n))},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!y(e,".fc-event-mirror")&&(this.isPopover()||!this.isInPopover(e))},t.prototype.isValidDateDownEl=function(e){return!(y(e,".fc-event:not(.fc-bg-event)")||y(e,".fc-daygrid-more-link")||y(e,"a[data-navlink]")||this.isInPopover(e))},t.prototype.isPopover=function(){return!1},t.prototype.isInPopover=function(e){return Boolean(y(e,".fc-popover"))},t}(Qn);function sr(e){return{id:x(),deps:e.deps||[],reducers:e.reducers||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],eventResizeJoinTransforms:e.eventResizeJoinTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function lr(){var e,t=[],n=[];return function(o,i){return e&&f(o,t)&&f(i,n)||(e=function(e,t){var n={},o={reducers:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],eventResizeJoinTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(e){for(var t=0,a=e;t<a.length;t++){var s=a[t];n[s.id]||(n[s.id]=!0,i(s.deps),c=s,o={reducers:(l=o).reducers.concat(c.reducers),contextInit:l.contextInit.concat(c.contextInit),eventRefiners:(0,r.__assign)((0,r.__assign)({},l.eventRefiners),c.eventRefiners),eventDefMemberAdders:l.eventDefMemberAdders.concat(c.eventDefMemberAdders),eventSourceRefiners:(0,r.__assign)((0,r.__assign)({},l.eventSourceRefiners),c.eventSourceRefiners),isDraggableTransformers:l.isDraggableTransformers.concat(c.isDraggableTransformers),eventDragMutationMassagers:l.eventDragMutationMassagers.concat(c.eventDragMutationMassagers),eventDefMutationAppliers:l.eventDefMutationAppliers.concat(c.eventDefMutationAppliers),dateSelectionTransformers:l.dateSelectionTransformers.concat(c.dateSelectionTransformers),datePointTransforms:l.datePointTransforms.concat(c.datePointTransforms),dateSpanTransforms:l.dateSpanTransforms.concat(c.dateSpanTransforms),views:(0,r.__assign)((0,r.__assign)({},l.views),c.views),viewPropsTransformers:l.viewPropsTransformers.concat(c.viewPropsTransformers),isPropsValid:c.isPropsValid||l.isPropsValid,externalDefTransforms:l.externalDefTransforms.concat(c.externalDefTransforms),eventResizeJoinTransforms:l.eventResizeJoinTransforms.concat(c.eventResizeJoinTransforms),viewContainerAppends:l.viewContainerAppends.concat(c.viewContainerAppends),eventDropTransformers:l.eventDropTransformers.concat(c.eventDropTransformers),calendarInteractions:l.calendarInteractions.concat(c.calendarInteractions),componentInteractions:l.componentInteractions.concat(c.componentInteractions),themeClasses:(0,r.__assign)((0,r.__assign)({},l.themeClasses),c.themeClasses),eventSourceDefs:l.eventSourceDefs.concat(c.eventSourceDefs),cmdFormatter:c.cmdFormatter||l.cmdFormatter,recurringTypes:l.recurringTypes.concat(c.recurringTypes),namedTimeZonedImpl:c.namedTimeZonedImpl||l.namedTimeZonedImpl,initialView:l.initialView||c.initialView,elementDraggingImpl:l.elementDraggingImpl||c.elementDraggingImpl,optionChangeHandlers:(0,r.__assign)((0,r.__assign)({},l.optionChangeHandlers),c.optionChangeHandlers),scrollGridImpl:c.scrollGridImpl||l.scrollGridImpl,contentTypeHandlers:(0,r.__assign)((0,r.__assign)({},l.contentTypeHandlers),c.contentTypeHandlers),listenerRefiners:(0,r.__assign)((0,r.__assign)({},l.listenerRefiners),c.listenerRefiners),optionRefiners:(0,r.__assign)((0,r.__assign)({},l.optionRefiners),c.optionRefiners),propSetHandlers:(0,r.__assign)((0,r.__assign)({},l.propSetHandlers),c.propSetHandlers)})}var l,c}return e&&i(e),i(t),o}(o,i)),t=o,n=i,e}}var cr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t}(Vn);function ur(e,t,n,o){if(t[e])return t[e];var i=function(e,t,n,o){var i=n[e],a=o[e],s=function(e){return i&&null!==i[e]?i[e]:a&&null!==a[e]?a[e]:null},l=s("component"),c=s("superType"),u=null;if(c){if(c===e)throw new Error("Can't have a custom view type that references itself");u=ur(c,t,n,o)}!l&&u&&(l=u.component);if(!l)return null;return{type:e,component:l,defaults:(0,r.__assign)((0,r.__assign)({},u?u.defaults:{}),i?i.rawOptions:{}),overrides:(0,r.__assign)((0,r.__assign)({},u?u.overrides:{}),a?a.rawOptions:{})}}(e,t,n,o);return i&&(t[e]=i),i}cr.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},cr.prototype.baseIconClass="fc-icon",cr.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},cr.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},cr.prototype.iconOverrideOption="buttonIcons",cr.prototype.iconOverrideCustomButtonOption="icon",cr.prototype.iconOverridePrefix="fc-icon-";var dr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=s(),t.handleRootEl=function(e){Zn(t.rootElRef,e),t.props.elRef&&Zn(t.props.elRef,e)},t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return i(hr,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return i(pr,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,vr(t.classNames,n),e,o)}))}))},t}(Qn),fr=c(0),pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=s(),t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this;return i(fr.Consumer,null,(function(){return e.props.children(e.innerElRef,e.renderInnerContent())}))},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.renderInnerContent=function(){var e=this.context.pluginHooks.contentTypeHandlers,t=this.props,n=this.customContentInfo,r=mr(t.content,t.hookProps),o=null;if(void 0===r&&(r=mr(t.defaultContent,t.hookProps)),void 0!==r){if(n)n.contentVal=r[n.contentKey];else if("object"==typeof r)for(var i in e)if(void 0!==r[i]){n=this.customContentInfo={contentKey:i,contentVal:r[i],handler:e[i]()};break}o=n?[]:r}return o},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.handler(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(Qn),hr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&Zn(t.props.elRef,e)},t}return(0,r.__extends)(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e((0,r.__assign)((0,r.__assign)({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e((0,r.__assign)((0,r.__assign)({},this.props.hookProps),{el:this.rootEl}))},t}(Qn);function gr(){var e,t,n=[];return function(r,o){return t&&ue(t,o)&&r===e||(e=r,t=o,n=vr(r,o)),n}}function vr(e,t){return"function"==typeof e&&(e=e(t)),nt(e)}function mr(e,t){return"function"==typeof e?e(t,i):e}var yr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=gr(),t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return i(hr,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(Qn);function br(e){return se(e,Er)}function Er(e){var t,n="function"==typeof e?{component:e}:e,o=n.component;return n.content&&(t=n,o=function(e){return i(Wn.Consumer,null,(function(n){return i(yr,{viewSpec:n.viewSpec},(function(o,a){var s=(0,r.__assign)((0,r.__assign)({},e),{nextDayThreshold:n.options.nextDayThreshold});return i(dr,{hookProps:s,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:o},(function(e,t,n,r){return i("div",{className:a.concat(t).join(" "),ref:e},r)}))}))}))}),{superType:n.type,component:o,rawOptions:n}}function Ar(e,t,n,o){var i=br(e),a=br(t.views);return se(function(e,t){var n,r={};for(n in e)ur(n,r,e,t);for(n in t)ur(n,r,e,t);return r}(i,a),(function(e){return function(e,t,n,o,i){var a=e.overrides.duration||e.defaults.duration||o.duration||n.duration,s=null,l="",c="",u={};if(a&&(s=function(e){var t=JSON.stringify(e),n=_r[t];void 0===n&&(n=me(e),_r[t]=n);return n}(a))){var d=Ae(s);l=d.unit,1===d.value&&(c=l,u=t[l]?t[l].rawOptions:{})}var f=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[c]?n[c]:void 0};return{type:e.type,component:e.component,duration:s,durationUnit:l,singleUnit:c,optionDefaults:e.defaults,optionOverrides:(0,r.__assign)((0,r.__assign)({},u),e.overrides),buttonTextOverride:f(o)||f(n)||e.overrides.buttonText,buttonTextDefault:f(i)||e.defaults.buttonText||f(Ve)||e.type}}(e,a,t,n,o)}))}var _r={};var wr=function(){function e(e){this.props=e,this.nowDate=en(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=e,e=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=At(s,o.range)),s=At(s=this.adjustActiveRange(s),r),l=_t(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=Ae(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return me({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(be(o)<0&&(a=G(a),a=n.add(a,o)),be(i)>1&&(s=W(s=G(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&Ee(u)<Ee(n)?Ae(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}return be(n)<=1&&this.isHiddenDay(o)&&(o=G(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=G(l),r=l=this.skipHiddenDays(l,t);do{r=W(r,1),this.isHiddenDay(r)||s++}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?me(1,t):e||me({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=vt(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e++)(n[e]=-1!==t.indexOf(e))||r++;if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=W(e,t);return e},e}();function Dr(e,t,n){var r=t?t.activeRange:null;return Rr({},function(e,t){var n=$t(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=Kt(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function Sr(e,t,n,o){var i,a,s=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Rr(e,t.sources,s,o);case"REMOVE_EVENT_SOURCE":return i=e,a=t.sourceId,ae(i,(function(e){return e.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Tr(e,s,o):e;case"FETCH_EVENT_SOURCES":return xr(e,t.sourceIds?le(t.sourceIds):Mr(e,o),s,o);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,o){var i,a=e[t];if(a&&n===a.latestFetchId)return(0,r.__assign)((0,r.__assign)({},e),((i={})[t]=(0,r.__assign)((0,r.__assign)({},a),{isFetching:!1,fetchRange:o}),i));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Cr(e){var t=0;for(var n in e)e[n].isFetching&&t++;return t}function Rr(e,t,n,o){for(var i={},a=0,s=t;a<s.length;a++){var l=s[a];i[l.sourceId]=l}return n&&(i=Tr(i,n,o)),(0,r.__assign)((0,r.__assign)({},e),i)}function Tr(e,t,n){return xr(e,ae(e,(function(e){return function(e,t,n){return Ir(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}(e,t,n)})),t,n)}function xr(e,t,n,r){var o={};for(var i in e){var a=e[i];t[i]?o[i]=kr(a,n,r):o[i]=a}return o}function kr(e,t,n){var o=n.options,i=n.calendarApi,a=n.pluginHooks.eventSourceDefs[e.sourceDefId],s=x();return a.fetch({eventSource:e,range:t,context:n},(function(r){var a=r.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,r.xhr)||a),e.success&&(a=e.success.call(i,a,r.xhr)||a),n.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(function(r){console.warn(r.message,r),o.eventSourceFailure&&o.eventSourceFailure.call(i,r),e.failure&&e.failure(r),n.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:r})})),(0,r.__assign)((0,r.__assign)({},e),{isFetching:!0,latestFetchId:s})}function Mr(e,t){return ae(e,(function(e){return Ir(e,t)}))}function Ir(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Nr(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function Pr(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function Or(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Hr(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function zr(e,t,n,r,o){var i=[];return{headerToolbar:e.headerToolbar?Br(e.headerToolbar,e,t,n,r,o,i):null,footerToolbar:e.footerToolbar?Br(e.footerToolbar,e,t,n,r,o,i):null,viewsWithButtons:i}}function Br(e,t,n,r,o,i,a){return se(e,(function(e){return function(e,t,n,r,o,i,a){var s="rtl"===t.direction,l=t.customButtons||{},c=n.buttonText||{},u=t.buttonText||{};return(e?e.split(" "):[]).map((function(e){return e.split(",").map((function(e){if("title"===e)return{buttonName:e};var t,n=void 0,d=void 0,f=void 0,p=void 0;return(t=l[e])?(d=function(e){t.click&&t.click.call(e.target,e)},(f=r.getCustomButtonIconClass(t))||(f=r.getIconClass(e,s))||(p=t.text)):(n=o[e])?(a.push(e),d=function(){i.changeView(e)},(p=n.buttonTextOverride)||(f=r.getIconClass(e,s))||(p=n.buttonTextDefault)):i[e]&&(d=function(){i[e]()},(p=c[e])||(f=r.getIconClass(e,s))||(p=u[e])),{buttonName:e,buttonClick:d,buttonIcon:f,buttonText:p}}))}))}(e,t,n,r,o,i,a)}))}function Ur(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+Lr(t)}(t,n):i=Lr(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(n){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function Lr(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function Vr(e,t){for(var n=ce(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l++)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var Fr=[sr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),sr({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;!function(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}(e.eventSource.meta.bind(null,Vt(e.range,r)),(function(e){t({rawEvents:e})}),n)}}]}),sr({eventSourceRefiners:{method:String,extraParams:Ze,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return e.url?{url:e.url,method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null},fetch:function(e,t,n){var o=e.eventSource.meta,i=function(e,t,n){var o,i,a,s,l=n.dateEnv,c=n.options,u={};null==(o=e.startParam)&&(o=c.startParam);null==(i=e.endParam)&&(i=c.endParam);null==(a=e.timeZoneParam)&&(a=c.timeZoneParam);s="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};(0,r.__assign)(u,s),u[o]=l.formatIso(t.start),u[i]=l.formatIso(t.end),"local"!==l.timeZone&&(u[a]=l.timeZone);return u}(o,e.range,e.context);Ur(o.method,o.url,i,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}}]}),sr({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=At(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?le(e):null,i=G(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=W(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:Ze,startTime:me,endTime:me,duration:me,startRecur:Ze,endRecur:Ze}}),sr({optionChangeHandlers:{events:function(e,t){Vr([e],t)},eventSources:Vr}}),sr({contentTypeHandlers:{html:function(){return h},domNodes:function(){return g}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",(0,r.__assign)((0,r.__assign)({},Vt(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",on(e,t))}}})],Wr=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else--n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),jr=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Wr(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function qr(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,Ue(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=Y(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var Qr=function(){function e(e){var t=this;this.computeOptionsData=De(this._computeOptionsData),this.computeCurrentViewData=De(this._computeCurrentViewData),this.organizeRawLocales=De(pn),this.buildLocale=De(hn),this.buildPluginHooks=lr(),this.buildDateEnv=De(Yr),this.buildTheme=De(Gr),this.parseToolbars=De(zr),this.buildViewSpecs=De(Ar),this.buildDateProfileGenerator=Se(Zr),this.buildViewApi=De(Jr),this.buildViewUiProps=Se($r),this.buildEventUiBySource=De(Xr,ue),this.buildEventUiBases=De(Kr),this.parseContextBusinessHours=Se(eo),this.buildTitle=De(qr),this.emitter=new Hn,this.actionRunner=new jr(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},o=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),i=o.calendarOptions.initialView||o.pluginHooks.initialView,a=this.computeCurrentViewData(i,o,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);var s,l,c,u=(s=o.calendarOptions,l=o.dateEnv,null!=(c=s.initialDate)?l.createMarker(c):en(s.now,l)),d=a.dateProfileGenerator.build(u);Dt(d.activeRange,u)||(u=d.currentRange.start);for(var f={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p=0,h=o.pluginHooks.contextInit;p<h.length;p++){(0,h[p])(f)}for(var g=Dr(o.calendarOptions,d,f),v={dynamicOptionOverrides:n,currentViewType:i,currentDate:u,dateProfile:d,businessHours:this.parseContextBusinessHours(f),eventSources:g,eventUiBases:{},loadingLevel:Cr(g),eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(f).selectionConfig},m=(0,r.__assign)((0,r.__assign)({},f),v),y=0,b=o.pluginHooks.reducers;y<b.length;y++){var E=b[y];(0,r.__assign)(v,E(null,null,m))}v.loadingLevel&&this.emitter.trigger("loading",!0),this.state=v,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?(0,r.__assign)((0,r.__assign)({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,o=t.state,i=t.emitter,a=function(e,t){var n;switch(t.type){case"SET_OPTION":return(0,r.__assign)((0,r.__assign)({},e),((n={})[t.optionName]=t.rawOptionValue,n));default:return e}}(o.dynamicOptionOverrides,e),s=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=function(e,t){switch(t.type){case"CHANGE_VIEW_TYPE":return t.viewType}return e}(o.currentViewType,e),c=this.computeCurrentViewData(l,s,n.optionOverrides,a);n.calendarApi.currentDataManager=this,i.setThisContext(n.calendarApi),i.setOptions(c.options);var u={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},d=o.currentDate,f=o.dateProfile;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(d)),f=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":if(!e.activeRange||!Dt(e.currentRange,t.dateMarker))return r.build(t.dateMarker);break;case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(f,e,d=function(e,t){switch(t.type){case"CHANGE_DATE":return t.dateMarker;default:return e}}(d,e),c.dateProfileGenerator),Dt(f.currentRange,d)||(d=f.currentRange.start);for(var p=Sr(o.eventSources,e,f,u),h=Cr(p),g=Jn(o.eventStore,e,p,f,u),v=h&&!c.options.progressiveEventRendering&&o.renderableEventStore||g,m=this.buildViewUiProps(u),y=m.eventUiSingleBase,b=m.selectionConfig,E=this.buildEventUiBySource(p),A=this.buildEventUiBases(v.defs,y,E),_=o.loadingLevel||0,w=h,D={dynamicOptionOverrides:a,currentViewType:l,currentDate:d,dateProfile:f,eventSources:p,eventStore:g,renderableEventStore:v,selectionConfig:b,eventUiBases:A,loadingLevel:w,businessHours:this.parseContextBusinessHours(u),dateSelection:Nr(o.dateSelection,e),eventSelection:Pr(o.eventSelection,e),eventDrag:Or(o.eventDrag,e),eventResize:Hr(o.eventResize,e)},S=(0,r.__assign)((0,r.__assign)({},u),D),C=0,R=s.pluginHooks.reducers;C<R.length;C++){var T=R[C];(0,r.__assign)(D,T(o,e,S))}!_&&w?i.trigger("loading",!0):_&&!w&&i.trigger("loading",!1),this.state=D,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,o,i,a,s,l,c,u=this.props,d=this.state,f=this.data,p=this.computeOptionsData(u.optionOverrides,d.dynamicOptionOverrides,u.calendarApi),h=this.computeCurrentViewData(d.currentViewType,p,u.optionOverrides,d.dynamicOptionOverrides),g=this.data=(0,r.__assign)((0,r.__assign)((0,r.__assign)({viewTitle:this.buildTitle(d.dateProfile,h.options,p.dateEnv),calendarApi:u.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p),h),d),v=p.pluginHooks.optionChangeHandlers,m=f&&f.calendarOptions,y=p.calendarOptions;if(m&&m!==y)for(var b in m.timeZone!==y.timeZone&&(d.eventSources=g.eventSources=(a=g.eventSources,s=d.dateProfile,l=g,c=s?s.activeRange:null,xr(a,Mr(a,l),c,l)),d.eventStore=g.eventStore=(e=g.eventStore,t=f.dateEnv,n=g.dateEnv,o=e.defs,i=se(e.instances,(function(e){var i=o[e.defId];return i.allDay||i.recurringDef?e:(0,r.__assign)((0,r.__assign)({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:o,instances:i})),v)m[b]!==y[b]&&v[b](y[b],g);u.onData&&u.onData(g)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;to(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=Ye([Ve,e,t]),o=n.locales,i=n.locale,a=this.organizeRawLocales(o),s=a.map,l=this.buildLocale(i||a.defaultCode,s).options,c=this.buildPluginHooks(e.plugins||[],Fr),u=this.currentCalendarOptionsRefiners=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},Le),Fe),We),c.listenerRefiners),c.optionRefiners),d={},f=Ye([Ve,l,e,t]),p={},h=this.currentCalendarOptionsInput,g=this.currentCalendarOptionsRefined,v=!1;for(var m in f)"plugins"!==m&&(f[m]===h[m]||je[m]&&m in h&&je[m](h[m],f[m])?p[m]=g[m]:u[m]?(p[m]=u[m](f[m]),v=!0):d[m]=h[m]);return v&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:c,availableLocaleData:a,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return to(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,o,i){var a=Ye([Ve,e.optionDefaults,n,o,e.optionOverrides,i]),s=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},Le),Fe),We),Qe),t.listenerRefiners),t.optionRefiners),l={},c=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,d=!1,f={};for(var p in a)a[p]===c[p]?l[p]=u[p]:(a[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(l[p]=this.currentCalendarOptionsRefined[p]):s[p]?l[p]=s[p](a[p]):f[p]=a[p],d=!0);return d&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}},e}();function Yr(e,t,n,r,o,i,a,s){var l=hn(t||a.defaultCode,a.map);return new un({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function Gr(e,t){return new(t.themeClasses[e.themeSystem]||cr)(e)}function Zr(e){return new(e.dateProfileGeneratorClass||wr)(e)}function Jr(e,t,n){return new Jt(e,t,n)}function Xr(e){return se(e,(function(e){return e.ui}))}function Kr(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function $r(e){var t=e.options;return{eventUiSingleBase:ot({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:ot({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function eo(e){return mn(e.options.businessHours,e)}function to(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}!function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new Qr({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}(0,r.__extends)(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)}}(o);var no=function(){function e(e){this.component=e.component}return e.prototype.destroy=function(){},e}();function ro(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter}}function oo(e){var t;return(t={})[e.component.uid]=e,t}var io={},ao=function(){function e(e,t){this.emitter=new Hn}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),so={},lo={startTime:me,duration:me,create:Boolean,sourceId:String};function co(e){var t=Ge(e,lo),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var uo,fo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,a=!1,s=r.center;return r.left?(a=!0,e=r.left):e=r.start,r.right?(a=!0,t=r.right):t=r.end,i("div",{className:[o||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return i(po,{key:e,widgetGroups:t,title:n.title,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled})},t}(Qn),po=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return i.apply(void 0,(0,r.__spreadArrays)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,o=[],a=!0,s=0,l=e;s<l.length;s++){var c=l[s],u=c.buttonName,d=c.buttonClick,f=c.buttonText,p=c.buttonIcon;if("title"===u)a=!1,o.push(i("h2",{className:"fc-toolbar-title"},t.title));else{var h=p?{"aria-label":u}:{},g=["fc-"+u+"-button",n.getClass("button")];u===t.activeButton&&g.push(n.getClass("buttonActive"));var v=!t.isTodayEnabled&&"today"===u||!t.isPrevEnabled&&"prev"===u||!t.isNextEnabled&&"next"===u;o.push(i("button",(0,r.__assign)({disabled:v,className:g.join(" "),onClick:d,type:"button"},h),f||(p?i("span",{className:p}):"")))}}if(o.length>1){var m=a&&n.getClass("buttonGroup")||"";return i.apply(void 0,(0,r.__spreadArrays)(["div",{className:m}],o))}return o[0]},t}(Qn),ho=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.aspectRatio,n=["fc-view-harness",t||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],r="",o="";return t?o=1/t*100+"%":r=e.height||"",i("div",{ref:e.elRef,onClick:e.onClick,className:n.join(" "),style:{height:r,paddingBottom:o}},e.children)},t}(Qn),go=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=Rt(t);if(i&&r.isValidSegDownEl(e.target)){var a=y(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new nn(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=S(t.el,"click",".fc-event",n.handleSegClick),n}return(0,r.__extends)(t,e),t}(no),vo=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){Rt(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,S(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return(0,r.__extends)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=Rt(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new nn(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(no),mo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=De(jn),t.buildViewPropTransformers=De(bo),t.buildToolbarProps=De(yo),t.handleNavLinkClick=D("a[data-navlink]",t._handleNavLinkClick.bind(t)),t.headerRef=s(),t.footerRef=s(),t.interactionsStore={},t.registerInteractiveComponent=function(e,n){var r=ro(e,n),o=[go,vo].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,io[e.uid]=r},t.unregisterInteractiveComponent=function(e){for(var n=0,r=t.interactionsStore[e.uid];n<r.length;n++){r[n].destroy()}delete t.interactionsStore[e.uid],delete io[e.uid]},t.resizeRunner=new Wr((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,o=t.options,a=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,en(t.options.now,t.dateEnv),t.viewTitle),s=!1,l="";t.isHeightAuto||t.forPrint?l="":null!=o.height?s=!0:null!=o.contentHeight?l=o.contentHeight:e=Math.max(o.aspectRatio,.5);var c=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent);return i(Wn.Provider,{value:c},n.headerToolbar&&i(fo,(0,r.__assign)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.headerToolbar},a)),i(ho,{liquid:s,height:l,aspectRatio:e,onClick:this.handleNavLinkClick},this.renderView(t),this.buildAppendContent()),n.footerToolbar&&i(fo,(0,r.__assign)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footerToolbar},a)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype._handleNavLinkClick=function(e,t){var n=this.props,r=n.dateEnv,o=n.options,i=n.calendarApi,a=t.getAttribute("data-navlink");a=a?JSON.parse(a):{};var s=r.createMarker(a.date),l=a.type,c="day"===l?o.navLinkDayClick:"week"===l?o.navLinkWeekClick:null;"function"==typeof c?c.call(i,r.toDate(s),e):("string"==typeof c&&(l=c),i.zoomTo(s,l))},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return i.apply(void 0,(0,r.__spreadArrays)([l,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,o={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},a=0,s=this.buildViewPropTransformers(t.viewPropsTransformers);a<s.length;a++){var l=s[a];(0,r.__assign)(o,l.transform(o,e))}var c=n.component;return i(c,(0,r.__assign)({},o))},t}(qn);function yo(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,isTodayEnabled:a.isValid&&!Dt(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function bo(e){return e.map((function(e){return new e}))}function Eo(){return null==uo&&(uo=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.innerHTML='<table style="height:100px"><tr><td><div style="height:100%"></div></td></tr></table>',document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),uo}var Ao=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return Eo()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(Qn);var _o="fc-col-header-cell",wo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,o=e.theme,a=e.viewApi,s=this.props,l=s.date,c=s.dateProfile,u=Sn(l,s.todayRange,null,c),d=[_o].concat(Cn(u,o)),f=t.format(l,s.dayHeaderFormat),p=n.navLinks&&!u.isDisabled&&s.colCnt>1?{"data-navlink":Rn(l),tabIndex:0}:{},h=(0,r.__assign)((0,r.__assign)((0,r.__assign)({date:t.toDate(l),view:a},s.extraHookProps),{text:f}),u);return i(dr,{hookProps:h,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:So,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,o){return i("th",(0,r.__assign)({ref:e,className:d.concat(t).join(" "),"data-date":u.isDisabled?void 0:_e(l),colSpan:s.colSpan},s.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&i("a",(0,r.__assign)({ref:n,className:["fc-col-header-cell-cushion",s.isSticky?"fc-sticky":""].join(" ")},p),o)))}))},t}(Qn),Do=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,o=t.theme,a=t.viewApi,s=t.options,l=W(new Date(2592e5),e.dow),c={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[_o].concat(Cn(c,o),e.extraClassNames||[]),d=n.format(l,e.dayHeaderFormat),f=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({date:l},c),{view:a}),e.extraHookProps),{text:d});return i(dr,{hookProps:f,classNames:s.dayHeaderClassNames,content:s.dayHeaderContent,defaultContent:So,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},(function(t,n,o,a){return i("th",(0,r.__assign)({ref:t,className:u.concat(n).join(" "),colSpan:e.colSpan},e.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},i("a",{className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},a)))}))},t}(Qn);function So(e){return e.text}var Co=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=en(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=j(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,me(1,e.unit)),i=o.valueOf()-n.valueOf();return{currentState:{nowDate:r,todayRange:Ro(r)},nextState:{nowDate:o,todayRange:Ro(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=Wn,t}(o);function Ro(e){var t=G(e);return{start:t,end:W(t,1)}}var To=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=De(xo),t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,a=t.renderIntro,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return i(Co,{unit:"day"},(function(e,t){return i("tr",null,a&&a(),n.map((function(e){return o?i(wo,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:s}):i(Do,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s})})))}))},t}(Qn);function xo(e,t,n){return e||function(e,t){return Ue(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}var ko=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a++,o.push(a),i.push(n)),n=W(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(W(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(Q(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),Mo=function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n++);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t++){for(var n=[],r=0;r<this.colCnt;r++)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t++)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},e}(),Io=function(){function e(){this.sliceBusinessHours=De(this._sliceBusinessHours),this.sliceDateSelection=De(this._sliceDateSpan),this.sliceEventStore=De(this._sliceEventStore),this.sliceEventDrag=De(this._sliceInteraction),this.sliceEventResize=De(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];var s=e.eventUiBases,l=this.sliceEventStore.apply(this,(0,r.__spreadArrays)([e.eventStore,s,t,n],i));return{dateSelectionSegs:this.sliceDateSelection.apply(this,(0,r.__spreadArrays)([e.dateSelection,s,o],i)),businessHourSegs:this.sliceBusinessHours.apply(this,(0,r.__spreadArrays)([e.businessHours,t,n,o],i)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,(0,r.__spreadArrays)([e.eventDrag,s,t,n],i)),eventResize:this.sliceEventResize.apply(this,(0,r.__spreadArrays)([e.eventResize,s,t,n],i)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return this._sliceDateSpan.apply(this,(0,r.__spreadArrays)([{range:{start:e,end:j(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];return e?this._sliceEventStore.apply(this,(0,r.__spreadArrays)([he(e,No(t,Boolean(n)),o),{},t,n],i)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=St(e,t,No(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=St(e.mutatedEvents,t,No(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];if(!e)return[];for(var a=Wt(e,t,n),s=this.sliceRange.apply(this,(0,r.__spreadArrays)([e.range],o)),l=0,c=s;l<c.length;l++){var u=c[l];u.eventRange=a}return s},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:W(n.start,1)});for(var o=this.sliceRange.apply(this,(0,r.__spreadArrays)([n],t)),i=0,a=o;i<a.length;i++){var s=a[i];s.eventRange=e,s.isStart=e.isStart&&s.isStart,s.isEnd=e.isEnd&&s.isEnd}return o},e}();function No(e,t){var n=e.activeRange;return t?n:{start:j(n.start,e.slotMinTime.milliseconds),end:j(n.end,e.slotMaxTime.milliseconds-864e5)}}var Po=/^(visible|hidden)$/,Oo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,Zn(t.props.elRef,e)},t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),i("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(Po.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r++){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(Po.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r++){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return Po.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return Po.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(Qn),Ho=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):0==--o[n]&&(delete i[n],delete t.callbackMap[n],a=!0),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return function(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}(this.currentMap,e,t,n)},e.prototype.getAll=function(){return ce(this.currentMap)},e}();function zo(e){for(var t=0,n=0,r=function(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o++)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a++)r.push(i[a]);return r}(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,L(o))}return Math.ceil(t)}function Bo(e,t){return e.liquid&&t.liquid}function Uo(e,t){return f(e,t,ue)}function Lo(e,t){for(var n=[],o=0,a=e;o<a.length;o++)for(var s=a[o],l=s.span||1,c=0;c<l;c++)n.push(i("col",{style:{width:"shrink"===s.width?Vo(t):s.width||"",minWidth:s.minWidth||""}}));return i.apply(void 0,(0,r.__spreadArrays)(["colgroup",{}],n))}function Vo(e){return null==e?4:e}function Fo(e,t){var n=["fc-scrollgrid-section",e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Wo(e){return i("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function jo(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function qo(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var Qo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=De((function(e){return e}),Uo),t.renderMicroColGroup=De(Lo),t.scrollerRefs=new Ho,t.scrollerElRefs=new Ho(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState((0,r.__assign)({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return(0,r.__extends)(t,e),t.prototype.render=function(){for(var e,t=this,n=t.props,o=t.state,a=t.context,s=n.sections||[],l=this.processCols(n.cols),c=this.renderMicroColGroup(l,o.shrinkWidth),u=function(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}(n.liquid,a),d=s.length,f=0,p=[],h=[],g=[];f<d&&"header"===(e=s[f]).type;)p.push(this.renderSection(e,f,c)),f++;for(;f<d&&"body"===(e=s[f]).type;)h.push(this.renderSection(e,f,c)),f++;for(;f<d&&"footer"===(e=s[f]).type;)g.push(this.renderSection(e,f,c)),f++;return i("table",{className:u.join(" "),style:{height:n.height}},Boolean(p.length)&&i.apply(void 0,(0,r.__spreadArrays)(["thead",{}],p)),Boolean(h.length)&&i.apply(void 0,(0,r.__spreadArrays)(["tbody",{}],h)),Boolean(g.length)&&i.apply(void 0,(0,r.__spreadArrays)(["tfoot",{}],g)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?i(l,{key:e.key},e.outerContent):i("tr",{key:e.key,className:Fo(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,n,e.chunk))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in r)return r.outerContent;var o=this.props,a=this.state,s=a.forceYScrollbars,l=a.scrollerClientWidths,c=a.scrollerClientHeights,u=function(e,t){return null!=t.maxHeight||Bo(e,t)}(o,e),d=Bo(o,e),f=o.liquid?s?"scroll":u?"auto":"hidden":"visible",p=function(e,t,n){var r=n.expandRows;return"function"==typeof t.content?t.content(n):i("table",{className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,i("tbody",{},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}(e,r,{tableColGroupNode:n,tableMinWidth:"",clientWidth:void 0!==l[t]?l[t]:null,clientHeight:void 0!==c[t]?c[t]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}});return i("td",{ref:r.elRef},i("div",{className:"fc-scroller-harness"+(d?" fc-scroller-harness-liquid":"")},i(Oo,{ref:this.scrollerRefs.createRef(t),elRef:this.scrollerElRefs.createRef(t),overflowY:f,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=parseInt(t,10);Zn(this.props.sections[n].chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return function(e){for(var t=0,n=e;t<n.length;t++)if("shrink"===n[t].width)return!0;return!1}(this.props.cols)?zo(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){for(var e=Mn(),t=this.props.sections.length,n=this.scrollerRefs,r=this.scrollerElRefs,o=!1,i={},a={},s=0;s<t;s++){var l=n.currentMap[s];if(l&&l.needsYScrolling()){o=!0;break}}for(s=0;s<t;s++){var c=r.currentMap[s];if(c){var u=c.parentNode;i[s]=Math.floor(u.getBoundingClientRect().width-(o?e.y:0)),a[s]=Math.floor(u.getBoundingClientRect().height)}}return{forceYScrollbars:o,scrollerClientWidths:i,scrollerClientHeights:a}},t}(Qn);Qo.addStateEquality({scrollerClientWidths:ue,scrollerClientHeights:ue});var Yo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=s(),t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,a=o.ui,s={event:new nn(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&It(r,t),isStartResizable:!e.disableResizing&&Nt(r,t),isEndResizable:!e.disableResizing&&Pt(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},l=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(s).concat(a.classNames);return i(dr,{hookProps:s,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,l.concat(n),r,o,s)}))},t.prototype.componentDidMount=function(){Ct(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Ct(this.elRef.current,t)},t}(Qn),Go=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,o=t.options.eventTimeFormat||e.defaultTimeFormat,a=Ot(n,o,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return i(Yo,{seg:n,timeText:a,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||Zo,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(t,o,a,s,l){return i("a",(0,r.__assign)({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:t},function(e){var t=e.eventRange.def.url;return t?{href:t}:{}}(n)),i("div",{className:"fc-event-main",ref:a,style:{color:l.textColor}},s),l.isStartResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(Qn);function Zo(e){return i("div",{className:"fc-event-main-frame"},e.timeText&&i("div",{className:"fc-event-time"},e.timeText),i("div",{className:"fc-event-title-container"},i("div",{className:"fc-event-title fc-sticky"},e.event.title||i(l,null," "))))}var Jo=Ue({day:"numeric"}),Xo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Se($o),t.normalizeClassNames=gr(),t}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=Cn(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),a=r.isDisabled?{}:{"data-date":_e(e.date)};return i(hr,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,a,r.isDisabled)}))},t}(Qn),Ko=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=$o({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return i(pr,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(Qn);function $o(e){var t=e.date,n=e.dateEnv,o=Sn(t,e.todayRange,null,e.dateProfile);return(0,r.__assign)((0,r.__assign)((0,r.__assign)({date:n.toDate(t),view:e.viewApi},o),{dayNumberText:e.showDayNumber?n.format(t,Jo):""}),e.extraProps)}function ei(e){return i("div",{className:"fc-"+e})}var ti=function(e){return i(Yo,{defaultContent:ni,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return i("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function ni(e){return e.event.title&&i("div",{className:"fc-event-title"},e.event.title)}var ri=function(e){return i(Wn.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,o=e.date,a=r.weekNumberFormat||e.defaultFormat,s=n.computeWeekNumber(o),l=n.format(o,a);return i(dr,{hookProps:{num:s,text:l,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:oi,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function oi(e){return e.text}},2849:(e,t,n)=>{"use strict";n.d(t,{faS:()=>U});var r,o,i,a,s,l,c=n(87480),u={},d=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return v(e,s,r,o,null)}function v(e,t,n,o,i){var a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i};return null==i&&(a.__v=a),null!=r.vnode&&r.vnode(a),a}function m(e){return e.children}function y(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null}function E(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return E(e)}}function A(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!_.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||i)(_)}function _(){for(var e;_.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,a,s;e.__d&&(a=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=p({},i)).__v=r,o=k(s,i,r,t.__n,void 0!==s.ownerSVGElement,null!=i.__h?[a]:null,n,null==a?b(i):a,i.__h),M(n,i),o!=a&&E(i)))}))}function w(e,t,n,r,o,i,a,s,l,c){var f,p,g,y,E,A,_,w=r&&r.__k||d,S=w.length;for(l==u&&(l=null!=a?a[0]:S?b(r,0):null),n.__k=[],f=0;f<t.length;f++)if(null!=(y=n.__k[f]=null==(y=t[f])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y?v(null,y,null,null,y):Array.isArray(y)?v(m,{children:y},null,null,null):null!=y.__e||null!=y.__c?v(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(g=w[f])||g&&y.key==g.key&&y.type===g.type)w[f]=void 0;else for(p=0;p<S;p++){if((g=w[p])&&y.key==g.key&&y.type===g.type){w[p]=void 0;break}g=null}E=k(e,y,g=g||u,o,i,a,s,l,c),(p=y.ref)&&g.ref!=p&&(_||(_=[]),g.ref&&_.push(g.ref,null,y),_.push(p,y.__c||E,y)),null!=E?(null==A&&(A=E),l=D(e,y,g,w,a,E,l),c||"option"!=n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&g.__e==l&&l.parentNode!=e&&(l=b(g))}if(n.__e=A,null!=a&&"function"!=typeof n.type)for(f=a.length;f--;)null!=a[f]&&h(a[f]);for(f=S;f--;)null!=w[f]&&P(w[f],w[f]);if(_)for(f=0;f<_.length;f++)N(_[f],_[++f],_[++f])}function D(e,t,n,r,o,i,a){var s,l,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(o==n||i!=a||null==i.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(i),s=null;else{for(l=a,c=0;(l=l.nextSibling)&&c<r.length;c+=2)if(l==i)break e;e.insertBefore(i,a),s=a}return void 0!==s?s:i.nextSibling}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function C(e,t,n,r,o){var i,a,s;if(o&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||S(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||S(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(i=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t+i]=n,s=i?T:R,n?r||e.addEventListener(t,s,i):e.removeEventListener(t,s,i)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!o&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function R(e){this.l[e.type+!1](r.event?r.event(e):e)}function T(e){this.l[e.type+!0](r.event?r.event(e):e)}function x(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,o.__e&&("function"==typeof o.type&&o.__k.length>1&&x(o,t,n),t=D(n,o,o,e.__k,null,o.__e,t),"function"==typeof e.type&&(e.__d=t)))}function k(e,t,n,o,i,a,s,l,c){var u,d,f,h,g,v,b,E,A,_,D,S=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=r.__b)&&u(t);try{e:if("function"==typeof S){if(E=t.props,A=(u=S.contextType)&&o[u.__c],_=u?A?A.props.value:u.__:o,n.__c?b=(d=t.__c=n.__c).__=d.__E:("prototype"in S&&S.prototype.render?t.__c=d=new S(E,_):(t.__c=d=new y(E,_),d.constructor=S,d.render=O),A&&A.sub(d),d.props=E,d.state||(d.state={}),d.context=_,d.__n=o,f=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,S.getDerivedStateFromProps(E,d.__s))),h=d.props,g=d.state,f)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&E!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(E,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(E,d.__s,_)||t.__v===n.__v){d.props=E,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),x(t,l,e);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(E,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,g,v)}))}d.context=_,d.props=E,d.state=d.__s,(u=r.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(o=p(p({},o),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(h,g)),D=null!=u&&u.type==m&&null==u.key?u.props.children:u,w(e,Array.isArray(D)?D:[D],t,n,o,i,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=I(n.__e,t,n,o,i,a,s,c);(u=r.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),r.__e(e,t,n)}return t.__e}function M(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function I(e,t,n,r,o,i,a,s){var l,c,f,p,h,g=n.props,v=t.props;if(o="svg"===t.type||o,null!=i)for(l=0;l<i.length;l++)if(null!=(c=i[l])&&((null===t.type?3===c.nodeType:c.localName===t.type)||e==c)){e=c,i[l]=null;break}if(null==e){if(null===t.type)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,v.is&&{is:v.is}),i=null,s=!1}if(null===t.type)g===v||s&&e.data===v||(e.data=v);else{if(null!=i&&(i=d.slice.call(e.childNodes)),f=(g=n.props||u).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!s){if(null!=i)for(g={},h=0;h<e.attributes.length;h++)g[e.attributes[h].name]=e.attributes[h].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||C(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||C(e,i,t[i],n[i],r)})(e,v,g,o,s),p?t.__k=[]:(l=t.props.children,w(e,Array.isArray(l)?l:[l],t,n,r,"foreignObject"!==t.type&&o,i,a,u,s)),s||("value"in v&&void 0!==(l=v.value)&&(l!==e.value||"progress"===t.type&&!l)&&C(e,"value",l,g.value,!1),"checked"in v&&void 0!==(l=v.checked)&&l!==e.checked&&C(e,"checked",l,g.checked,!1))}return e}function N(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function P(e,t,n){var o,i,a;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||N(o,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a++)o[a]&&P(o[a],t,n);null!=i&&h(i)}function O(e,t,n){return this.constructor(e,n)}function H(e,t,n){var o,i,a;r.__&&r.__(e,t),i=(o=n===s)?null:n&&n.__k||t.__k,e=g(m,null,[e]),a=[],k(t,(o?t:n||t).__k=e,i||u,u,void 0!==t.ownerSVGElement,n&&!o?[n]:i?null:t.childNodes.length?d.slice.call(t.childNodes):null,a,n||u,o),M(a,e)}r={__e:function(e,t){for(var n,r,o,i=t.__h;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return t.__h=i,n.__E=n}catch(t){e=t}throw e}},y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),A(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},y.prototype.render=m,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_.__r=0,s=u,l=0,window.FullCalendarVDom={Component:y,createElement:g,render:H,createRef:function(){return{current:null}},Fragment:m,createContext:function(e){var t=function(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(A)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var o=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&o.some((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){o.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),t&&t.call(e)}}}return r},t},flushToDom:function(){var e=r.debounceRendering,t=[];r.debounceRendering=function(e){t.push(e)},H(g(z,{}),document.createElement("div"));for(;t.length;)t.shift()();r.debounceRendering=e}};var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.__extends)(t,e),t.prototype.render=function(){return g("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(y);var B=n(39060),U=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;(0,B.sYA)((0,B.azq)(B.Tdg,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),(0,B.azq)(B.hiv.Provider,{value:r.customContentRenderId},(0,B.azq)(B.BdM,(0,c.__assign)({isHeightAuto:o,forPrint:i},e)))})),r.el)}else r.isRendered&&(r.isRendered=!1,(0,B.sYA)(null,r.el),r.setClassNames([]),r.setHeight(""));(0,B.Hcb)()},r.el=t,r.renderRunner=new B.snJ(r.handleRenderRequest),new B.FEm({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return(0,c.__extends)(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){this.isRendering?this.customContentRenderId++:this.isRendering=!0,this.renderRunner.request()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){e.prototype.updateSize.call(this),(0,B.Hcb)()},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!(0,B.CnA)(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){(0,B.oWe)(this.el,"height",e)},t}(B.zeW)},57231:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>P});var r=n(39060),o=n(87480),i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=(0,r.VfA)(),t}return(0,o.__extends)(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,o=this.context,i=[],a=(0,r.Q8U)(o.options);return e&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),(0,r.azq)(r.xS$,{viewSpec:o.viewSpec},(function(e,t){return(0,r.azq)("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},(0,r.azq)(r.Oh2,{liquid:!n.isHeightAuto&&!n.forPrint,cols:[],sections:i}))}))},t.prototype.renderHScrollLayout=function(e,t,n,o){var i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");var a=this.props,s=this.context,l=!a.forPrint&&(0,r.Q8U)(s.options),c=!a.forPrint&&(0,r.PZw)(s.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:r.Hbc}]}),(0,r.azq)(r.xS$,{viewSpec:s.viewSpec},(function(e,t){return(0,r.azq)("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},(0,r.azq)(i,{liquid:!a.isHeightAuto&&!a.forPrint,colGroups:[{cols:[{span:n,minWidth:o}]}],sections:u}))}))},t}(r.IdW);function a(e,t){for(var n=[],r=0;r<t;r++)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function s(e,t){for(var n=[],r=0;r<t;r++)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function l(e,t){var n=[];if(e){for(a=0;a<t;a++)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<t;a++)n[a]=null;return n}var c=(0,r.SPZ)({week:"narrow"}),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,(0,r.k$v)(t.props.elRef,e)},t.handleMoreLinkClick=function(e){var n=t.props;if(n.onMoreClick){var r=n.segsByEachCol,o=r.filter((function(e){return n.segIsHidden[e.eventRange.instance.instanceId]}));n.onMoreClick({date:n.date,allSegs:r,hiddenSegs:o,moreCnt:n.moreCnt,dayEl:t.rootEl,ev:e})}},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,i=t.viewApi,a=this.props,s=a.date,l=a.dateProfile,u={num:a.moreCnt,text:a.buildMoreLinkText(a.moreCnt),view:i},d=n.navLinks?{"data-navlink":(0,r.Euv)(s,"week"),tabIndex:0}:{};return(0,r.azq)(r.hJ8,{date:s,dateProfile:l,todayRange:a.todayRange,showDayNumber:a.showDayNumber,extraHookProps:a.extraHookProps,elRef:this.handleRootEl},(function(t,i,h,g){return(0,r.azq)("td",(0,o.__assign)({ref:t,className:["fc-daygrid-day"].concat(i,a.extraClassNames||[]).join(" ")},h,a.extraDataAttrs),(0,r.azq)("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:a.innerElRef},a.showWeekNumber&&(0,r.azq)(r.QOi,{date:s,defaultFormat:c},(function(e,t,n,i){return(0,r.azq)("a",(0,o.__assign)({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},d),i)})),!g&&(0,r.azq)(p,{date:s,dateProfile:l,showDayNumber:a.showDayNumber,todayRange:a.todayRange,extraHookProps:a.extraHookProps}),(0,r.azq)("div",{className:"fc-daygrid-day-events",ref:a.fgContentElRef,style:{paddingBottom:a.fgPaddingBottom}},a.fgContent,Boolean(a.moreCnt)&&(0,r.azq)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:a.moreMarginTop}},(0,r.azq)(r.QJ3,{hookProps:u,classNames:n.moreLinkClassNames,content:n.moreLinkContent,defaultContent:f,didMount:n.moreLinkDidMount,willUnmount:n.moreLinkWillUnmount},(function(t,n,o,i){return(0,r.azq)("a",{onClick:e.handleMoreLinkClick,ref:t,className:["fc-daygrid-more-link"].concat(n).join(" ")},i)})))),(0,r.azq)("div",{className:"fc-daygrid-day-bg"},a.bgContent)))}))},t}(r.IdW);function d(e){return e.dayNumberText}function f(e){return e.text}var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context.options.navLinks?{"data-navlink":(0,r.Euv)(e.date),tabIndex:0}:{};return(0,r.azq)(r.R_3,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:d},(function(e,n){return n&&(0,r.azq)("div",{className:"fc-daygrid-day-top",ref:e},(0,r.azq)("a",(0,o.__assign)({className:"fc-daygrid-day-number"},t),n))}))},t}(r.H6J),h=(0,r.SPZ)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function g(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol}var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||h,i=(0,r.r39)(e.seg,n,t,!0,e.defaultDisplayEventEnd);return(0,r.azq)(r.Vsx,{seg:e.seg,timeText:i,defaultContent:m,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(t,n,i,a){return(0,r.azq)("a",(0,o.__assign)({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(n).join(" "),ref:t},(s=e.seg,(l=s.eventRange.def.url)?{href:l}:{})),a);var s,l}))},t}(r.H6J);function m(e){return(0,r.azq)(r.HYg,null,(0,r.azq)("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&(0,r.azq)("div",{className:"fc-event-time"},e.timeText),(0,r.azq)("div",{className:"fc-event-title"},e.event.title||(0,r.azq)(r.HYg,null," ")))}var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props;return(0,r.azq)(r.h2k,(0,o.__assign)({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:h,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(r.H6J);function b(e,t,n,i,a,s,l,c){for(var u=[],d=[],f={},p={},h={},g={},v={},m=0;m<l;m++)u.push([]),d.push(0);for(var y=0,b=t=(0,r.hak)(t,c);y<b.length;y++){x(R=b[y],a[R.eventRange.instance.instanceId+":"+R.firstCol]||0)}!0===n||!0===i?function(e,t,n,r){A(e,t,n,!0,(function(e){return e.bottom<=r}))}(d,f,u,s):"number"==typeof n?function(e,t,n,r){A(e,t,n,!1,(function(e,t){return t<r}))}(d,f,u,n):"number"==typeof i&&function(e,t,n,r){A(e,t,n,!0,(function(e,t){return t<r}))}(d,f,u,i);for(var _=0;_<l;_++){for(var w=0,D=0,S=0,C=u[_];S<C.length;S++){var R,T=C[S];f[(R=T.seg).eventRange.instance.instanceId]||(p[R.eventRange.instance.instanceId]=T.top,R.firstCol===R.lastCol&&R.isStart&&R.isEnd?(h[R.eventRange.instance.instanceId]=T.top-w,D=0,w=T.bottom):D+=T.bottom-T.top)}D&&(d[_]?g[_]=D:v[_]=D)}function x(e,t){if(!k(e,t,0))for(var n=e.firstCol;n<=e.lastCol;n++)for(var r=0,o=u[n];r<o.length;r++){if(k(e,t,o[r].bottom))return}}function k(e,t,n){if(function(e,t,n){for(var r=e.firstCol;r<=e.lastCol;r++)for(var o=0,i=u[r];o<i.length;o++){var a=i[o];if(n<a.bottom&&n+t>a.top)return!1}return!0}(e,t,n)){for(var r=e.firstCol;r<=e.lastCol;r++){for(var o=u[r],i=0;i<o.length&&n>=o[i].top;)i++;o.splice(i,0,{seg:e,top:n,bottom:n+t})}return!0}return!1}for(var M in a)a[M]||(f[M.split(":")[0]]=!0);return{segsByFirstCol:u.map(E),segsByEachCol:u.map((function(t,n){var i=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];t.push(o.seg)}return t}(t);return i=function(e,t,n){for(var i=t,a=(0,r.E4D)(i,1),s={start:i,end:a},l=[],c=0,u=e;c<u.length;c++){var d=u[c],f=d.eventRange,p=f.range,h=(0,r.cMs)(p,s);h&&l.push((0,o.__assign)((0,o.__assign)({},d),{firstCol:n,lastCol:n,eventRange:{def:f.def,ui:(0,o.__assign)((0,o.__assign)({},f.ui),{durationEditable:!1}),instance:f.instance,range:h},isStart:d.isStart&&h.start.valueOf()===p.start.valueOf(),isEnd:d.isEnd&&h.end.valueOf()===p.end.valueOf()}))}return l}(i,e[n].date,n)})),segIsHidden:f,segTops:p,segMarginTops:h,moreCnts:d,moreTops:g,paddingBottoms:v}}function E(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];i.seg.firstCol===t&&n.push(i.seg)}return n}function A(e,t,n,r,o){for(var i=e.length,a={},s=[],l=0;l<i;l++)s.push([]);for(l=0;l<i;l++)for(var c=0,u=0,d=n[l];u<d.length;u++){var f=d[u];o(f,c)?p(f):h(f),f.top!==f.bottom&&c++}function p(e){var t=e.seg,n=t.eventRange.instance.instanceId;if(!a[n]){a[n]=!0;for(var r=t.firstCol;r<=t.lastCol;r++)s[r].push(e)}}function h(n){var o=n.seg,i=o.eventRange.instance.instanceId;if(!t[i]){t[i]=!0;for(var a=o.firstCol;a<=o.lastCol;a++){var l=++e[a];if(r&&1===l){var c=s[a].pop();c&&h(c)}}}}}var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new r.lAU,t.frameElRefs=new r.lAU,t.fgElRefs=new r.lAU,t.segHarnessRefs=new r.lAU,t.rootElRef=(0,r.VfA)(),t.state={framePositions:null,maxContentHeight:null,segHeights:{}},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,o=t.state,i=t.context,a=n.cells.length,l=s(n.businessHourSegs,a),c=s(n.bgEventSegs,a),d=s(this.getHighlightSegs(),a),f=s(this.getMirrorSegs(),a),p=b(n.cells,n.fgEventSegs,n.dayMaxEvents,n.dayMaxEventRows,o.segHeights,o.maxContentHeight,a,i.options.eventOrder),h=p.paddingBottoms,g=p.segsByFirstCol,v=p.segsByEachCol,m=p.segIsHidden,y=p.segTops,E=p.segMarginTops,A=p.moreCnts,_=p.moreTops,w=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return(0,r.azq)("tr",{ref:this.rootElRef},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,o){var i=e.renderFgSegs(g[o],m,y,E,w,n.todayRange),a=e.renderFgSegs(f[o],{},y,{},{},n.todayRange,Boolean(n.eventDrag),Boolean(n.eventResize),!1),s=n.showWeekNumbers&&0===o;return(0,r.azq)(u,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers||s,showWeekNumber:s,todayRange:n.todayRange,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,moreCnt:A[o],buildMoreLinkText:n.buildMoreLinkText,onMoreClick:n.onMoreClick,segIsHidden:m,moreMarginTop:_[o],segsByEachCol:v[o],fgPaddingBottom:h[o],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:(0,r.azq)(r.HYg,null,(0,r.azq)(r.HYg,null,i),(0,r.azq)(r.HYg,null,a)),bgContent:(0,r.azq)(r.HYg,null,e.renderFillSegs(d[o],"highlight"),e.renderFillSegs(l[o],"non-business"),e.renderFillSegs(c[o],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!(0,r.S6v)(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,i,a,s,l,c,u){var d=this.context,f=this.props.eventSelection,p=this.state.framePositions,h=1===this.props.cells.length,m=[];if(p)for(var b=0,E=e;b<E.length;b++){var A=E[b],_=A.eventRange.instance.instanceId,w=l||c||u,D=a[_],S=t[_]||D,C=t[_]||w||A.firstCol!==A.lastCol||!A.isStart||!A.isEnd,R=void 0,T=void 0,x=void 0,k=void 0;C?(T=n[_],d.isRtl?(k=0,x=p.lefts[A.lastCol]-p.lefts[A.firstCol]):(x=0,k=p.rights[A.firstCol]-p.rights[A.lastCol])):R=i[_],m.push((0,r.azq)("div",{className:"fc-daygrid-event-harness"+(C?" fc-daygrid-event-harness-abs":""),key:_,ref:w?null:this.segHarnessRefs.createRef(_+":"+A.firstCol),style:{visibility:S?"hidden":"",marginTop:R||"",top:T||"",left:x||"",right:k||""}},g(A)?(0,r.azq)(v,(0,o.__assign)({seg:A,isDragging:l,isSelected:_===f,defaultDisplayEventEnd:h},(0,r.jHR)(A,s))):(0,r.azq)(y,(0,o.__assign)({seg:A,isDragging:l,isResizing:c,isDateSelecting:u,isSelected:_===f,defaultDisplayEventEnd:h},(0,r.jHR)(A,s)))))}return m},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,i=this.props.todayRange,a=this.state.framePositions,s=[];if(a)for(var l=0,c=e;l<c.length;l++){var u=c[l],d=n?{right:0,left:a.lefts[u.lastCol]-a.lefts[u.firstCol]}:{left:0,right:a.rights[u.firstCol]-a.rights[u.lastCol]};s.push((0,r.azq)("div",{key:(0,r.rRV)(u.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===t?(0,r.azq)(r.I_K,(0,o.__assign)({seg:u},(0,r.jHR)(u,i))):(0,r.MA3)(t)))}return r.azq.apply(void 0,(0,o.__spreadArrays)([r.HYg,{}],s))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(null!==t.clientWidth){if(e){var o=t.cells.map((function(e){return n.currentMap[e.key]}));if(o.length){var i=this.rootElRef.current;this.setState({framePositions:new r.zIV(i,o,!0,!1)})}}var a=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.setState({segHeights:this.computeSegHeights(),maxContentHeight:a?this.computeMaxContentHeight():null})}},t.prototype.computeSegHeights=function(){return(0,r._aR)(this.segHarnessRefs.currentMap,(function(e){return e.getBoundingClientRect().height}))},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(r.IdW);_.addStateEquality({segHeights:r.S6v});var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.repositioner=new r.snJ(t.updateSize.bind(t)),t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&(0,r.k$v)(t.props.elRef,e)},t.handleDocumentMousedown=function(e){var n=t.props.onClose;n&&!t.rootEl.contains(e.target)&&n()},t.handleDocumentScroll=function(){t.repositioner.request(10)},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.context.theme,t=this.props,n=["fc-popover",e.getClass("popover")].concat(t.extraClassNames||[]);return(0,r.azq)("div",(0,o.__assign)({className:n.join(" ")},t.extraAttrs,{ref:this.handleRootEl}),(0,r.azq)("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},(0,r.azq)("span",{className:"fc-popover-title"},t.title),(0,r.azq)("span",{className:"fc-popover-close "+e.getIconClass("close"),onClick:this.handleCloseClick})),(0,r.azq)("div",{className:"fc-popover-body "+e.getClass("popoverContent")},t.children))},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMousedown),document.addEventListener("scroll",this.handleDocumentScroll),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMousedown),document.removeEventListener("scroll",this.handleDocumentScroll)},t.prototype.updateSize=function(){var e=this.props,t=e.alignmentEl,n=e.topAlignmentEl,o=this.rootEl;if(o){var i,a=o.getBoundingClientRect(),s=t.getBoundingClientRect(),l=n?n.getBoundingClientRect().top:s.top;l=Math.min(l,window.innerHeight-a.height-10),l=Math.max(l,10),i=this.context.isRtl?s.right-a.width:s.left,i=Math.min(i,window.innerWidth-a.width-10),i=Math.max(i,10),(0,r.bg6)(o,{top:l,left:i})}},t}(r.H6J),D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handlePopoverEl=function(e){t.popoverEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,i=this.props,a=i.date,s=i.hiddenInstances,l=i.todayRange,c=i.dateProfile,u=i.selectedInstanceId,d=n.format(a,t.dayPopoverFormat);return(0,r.azq)(r.hJ8,{date:a,dateProfile:c,todayRange:l,elRef:this.handlePopoverEl},(function(e,t,n){return(0,r.azq)(w,{elRef:e,title:d,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,onClose:i.onCloseClick,alignmentEl:i.alignmentEl,topAlignmentEl:i.topAlignmentEl},(0,r.azq)(r.R_3,{date:a,dateProfile:c,todayRange:l},(function(e,t){return t&&(0,r.azq)("div",{className:"fc-more-popover-misc",ref:e},t)})),i.segs.map((function(e){var t=e.eventRange.instance.instanceId;return(0,r.azq)("div",{className:"fc-daygrid-event-harness",key:t,style:{visibility:s[t]?"hidden":""}},g(e)?(0,r.azq)(v,(0,o.__assign)({seg:e,isDragging:!1,isSelected:t===u,defaultDisplayEventEnd:!1},(0,r.jHR)(e,l))):(0,r.azq)(y,(0,o.__assign)({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===u,defaultDisplayEventEnd:!1},(0,r.jHR)(e,l))))})))}))},t.prototype.queryHit=function(e,t,n,o){var i=this.props.date;if(e<n&&t<o)return{component:this,dateSpan:{allDay:!0,range:{start:i,end:(0,r.E4D)(i,1)}},dayEl:this.popoverEl,rect:{left:0,top:0,right:n,bottom:o},layer:1}},t.prototype.isPopover=function(){return!0},t}(r.IdW),S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=(0,r.HPs)(a),t.splitBgEventSegs=(0,r.HPs)(a),t.splitFgEventSegs=(0,r.HPs)(a),t.splitDateSelectionSegs=(0,r.HPs)(a),t.splitEventDrag=(0,r.HPs)(l),t.splitEventResize=(0,r.HPs)(l),t.buildBuildMoreLinkText=(0,r.HPs)(C),t.rowRefs=new r.lAU,t.state={morePopoverState:null},t.handleRootEl=function(e){t.rootEl=e,(0,r.k$v)(t.props.elRef,e)},t.handleMoreLinkClick=function(e){var n=t.context,i=n.dateEnv,a=n.options.moreLinkClick;function s(e){var t=e.eventRange,o=t.def,a=t.instance,s=t.range;return{event:new r.voO(n,o,a),start:i.toDate(s.start),end:i.toDate(s.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof a&&(a=a({date:i.toDate(e.date),allDay:!0,allSegs:e.allSegs.map(s),hiddenSegs:e.hiddenSegs.map(s),jsEvent:e.ev,view:n.viewApi})),a&&"popover"!==a?"string"==typeof a&&n.calendarApi.zoomTo(e.date,a):t.setState({morePopoverState:(0,o.__assign)((0,o.__assign)({},e),{currentFgEventSegs:t.props.fgEventSegs})})},t.handleMorePopoverClose=function(){t.setState({morePopoverState:null})},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,o=t.dayMaxEventRows,i=t.dayMaxEvents,a=t.expandRows,s=this.state.morePopoverState,l=t.cells.length,c=this.splitBusinessHourSegs(t.businessHourSegs,l),u=this.splitBgEventSegs(t.bgEventSegs,l),d=this.splitFgEventSegs(t.fgEventSegs,l),f=this.splitDateSelectionSegs(t.dateSelectionSegs,l),p=this.splitEventDrag(t.eventDrag,l),h=this.splitEventResize(t.eventResize,l),g=this.buildBuildMoreLinkText(this.context.options.moreLinkText),v=!0===i||!0===o;v&&!a&&(v=!1,o=null,i=null);var m=["fc-daygrid-body",v?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"];return(0,r.azq)("div",{className:m.join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},(0,r.azq)(r.wh8,{unit:"day"},(function(v,m){return(0,r.azq)(r.HYg,null,(0,r.azq)("table",{className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:a?t.clientHeight:""}},t.colGroupNode,(0,r.azq)("tbody",null,t.cells.map((function(a,s){return(0,r.azq)(_,{ref:e.rowRefs.createRef(s),key:a.length?a[0].date.toISOString():s,showDayNumbers:l>1,showWeekNumbers:t.showWeekNumbers,todayRange:m,dateProfile:n,cells:a,renderIntro:t.renderRowIntro,businessHourSegs:c[s],eventSelection:t.eventSelection,bgEventSegs:u[s].filter(R),fgEventSegs:d[s],dateSelectionSegs:f[s],eventDrag:p[s],eventResize:h[s],dayMaxEvents:i,dayMaxEventRows:o,clientWidth:t.clientWidth,clientHeight:t.clientHeight,buildMoreLinkText:g,onMoreClick:e.handleMoreLinkClick})})))),!t.forPrint&&s&&s.currentFgEventSegs===t.fgEventSegs&&(0,r.azq)(D,{date:s.date,dateProfile:n,segs:s.allSegs,alignmentEl:s.dayEl,topAlignmentEl:1===l?t.headerAlignElRef.current:null,onCloseClick:e.handleMorePopoverClose,selectedInstanceId:t.eventSelection,hiddenInstances:(t.eventDrag?t.eventDrag.affectedInstances:null)||(t.eventResize?t.eventResize.affectedInstances:null)||{},todayRange:m}))})))},t.prototype.prepareHits=function(){this.rowPositions=new r.zIV(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new r.zIV(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.positionToHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),i=r.topToIndex(t);if(null!=i&&null!=o)return{row:i,col:o,dateSpan:{range:this.getCellRange(i,o),allDay:!0},dayEl:this.getCellEl(i,o),relativeRect:{left:n.lefts[o],right:n.rights[o],top:r.tops[i],bottom:r.bottoms[i]}}},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:(0,r.E4D)(n,1)}},t}(r.IdW);function C(e){return"function"==typeof e?e:function(t){return"+"+t+" "+e}}function R(e){return e.eventRange.def.allDay}var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new x,t.tableRef=(0,r.VfA)(),t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.azq)(S,(0,o.__assign)({ref:this.tableRef,elRef:this.handleRootEl},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t.prototype.prepareHits=function(){this.tableRef.current.prepareHits()},t.prototype.queryHit=function(e,t){var n=this.tableRef.current.positionToHit(e,t);if(n)return{component:this,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},t}(r.IdW),x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return(0,o.__extends)(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(r.RVT),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=(0,r.HPs)(M),t.headerRef=(0,r.VfA)(),t.tableRef=(0,r.VfA)(),t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,o=t.dateProfileGenerator,i=this.props,a=this.buildDayTableModel(i.dateProfile,o),s=n.dayHeaders&&(0,r.azq)(r.lR3,{ref:this.headerRef,dateProfile:i.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),l=function(t){return(0,r.azq)(T,{ref:e.tableRef,dateProfile:i.dateProfile,dayTableModel:a,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(s,l,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(s,l)},t}(i);function M(e,t){var n=new r.xB8(e.renderRange,t);return new r.xVj(n,/year|month|week/.test(e.currentRangeUnit))}var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.buildRenderRange=function(t,n,o){var i,a=this.props.dateEnv,s=e.prototype.buildRenderRange.call(this,t,n,o),l=s.start,c=s.end;if(/^(year|month)$/.test(n)&&(l=a.startOfWeek(l),(i=a.startOfWeek(c)).valueOf()!==c.valueOf()&&(c=(0,r.jh6)(i,1))),this.props.monthMode&&this.props.fixedWeekCount){var u=Math.ceil((0,r.bXg)(l,c));c=(0,r.jh6)(c,6-u)}return{start:l,end:c}},t}(r.VPe),N={moreLinkClick:r.yRu,moreLinkClassNames:r.yRu,moreLinkContent:r.yRu,moreLinkDidMount:r.yRu,moreLinkWillUnmount:r.yRu};const P=(0,r.rxu)({initialView:"dayGridMonth",optionRefiners:N,views:{dayGrid:{component:k,dateProfileGeneratorClass:I},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}})},33075:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>x});var r=n(39060),o=n(87480);r.vc.touchMouseIgnoreWait=500;var i=0,a=0,s=!1,l=function(){function e(e){var t=this;this.subjectEl=null,this.downEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,i++,setTimeout((function(){i--}),r.vc.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new r.Q5$,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),a++||window.addEventListener("touchmove",c,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),--a||window.removeEventListener("touchmove",c,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!(0,r.x_n)(n,this.handleSelector))&&(this.subjectEl=t,this.downEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){s=!1,this.isDragging=!1,this.subjectEl=null,this.downEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?(0,r.x_n)(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return i||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(s=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function c(e){s&&e.preventDefault()}var u=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.bg6)(n,{left:o.left,top:o.top}),(0,r.ONu)(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&((0,r.bXf)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&(0,r.bg6)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),(0,r.bg6)(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),d=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(r.Qgo),f=function(e){function t(t,n){return e.call(this,new r.A9I(t),n)||this}return(0,o.__extends)(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.skW)(this.scrollController.el)},t}(d),p=function(e){function t(t){return e.call(this,new r.Obu,t)||this}return(0,o.__extends)(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(d),h="function"==typeof performance?performance.now:Date.now,g=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=h();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t){this.isEnabled&&(this.scrollCaches=this.buildCaches(),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(h()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches;o<i.length;o++){var a=i[o],s=a.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(){return this.queryScrollEls().map((function(e){return e===window?new p(!1):new f(e,!1)}))},e.prototype.queryScrollEls=function(){for(var e=[],t=0,n=this.scrollQuery;t<n.length;t++){var r=n[t];"object"==typeof r?e.push(r):e.push.apply(e,Array.prototype.slice.call(document.querySelectorAll(r)))}return e},e}(),v=function(e){function t(t,n){var o=e.call(this,t)||this;o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(e){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,(0,r.ZSf)(document.body),(0,r.ipI)(document.body),e.isTouch||e.origEvent.preventDefault(),o.emitter.trigger("pointerdown",e),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(e.subjectEl,e.pageX,e.pageY),o.startDelay(e),o.minDistance||o.handleDistanceSurpassed(e)))},o.onPointerMove=function(e){if(o.isInteracting){if(o.emitter.trigger("pointermove",e),!o.isDistanceSurpassed){var t=o.minDistance,n=e.deltaX,r=e.deltaY;n*n+r*r>=t*t&&o.handleDistanceSurpassed(e)}o.isDragging&&("scroll"!==e.origEvent.type&&(o.mirror.handleMove(e.pageX,e.pageY),o.autoScroller.handleMove(e.pageX,e.pageY)),o.emitter.trigger("dragmove",e))}},o.onPointerUp=function(e){o.isInteracting&&(o.isInteracting=!1,(0,r.sGN)(document.body),(0,r.N0T)(document.body),o.emitter.trigger("pointerup",e),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(e)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var i=o.pointer=new l(t);return i.emitter.on("pointerdown",o.onPointerDown),i.emitter.on("pointermove",o.onPointerMove),i.emitter.on("pointerup",o.onPointerUp),n&&(i.selector=n),o.mirror=new u,o.autoScroller=new g,o}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(r.KDF),m=function(){function e(e){this.origRect=(0,r.AYo)(e),this.scrollCaches=(0,r.U4g)(e).map((function(e){return new f(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n,o,i={left:e,top:t},a=0,s=this.scrollCaches;a<s.length;a++){var l=s[a];if(n=l.getEventTarget(),o=void 0,"HTML"!==(o=n.tagName)&&"BODY"!==o&&!(0,r.BKI)(i,l.clientRect))return!1}return!0},e}();var y=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new r.Q5$}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},o=n,i=e.subjectEl;i!==document&&(t=(0,r.AYo)(i),o=(0,r.Jq9)(o,t));var a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&t){var s=(0,r.VEA)(t,a.rect);s&&(o=(0,r.iFU)(s))}this.coordAdjust=(0,r.vrY)(o,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&b(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=(0,r._aR)(this.droppableStore,(function(e){return e.component.prepareHits(),new m(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,o=this.offsetTrackers,i=null;for(var a in n){var s=n[a].component,l=o[a];if(l&&l.isWithinClipping(e,t)){var c=l.computeLeft(),u=l.computeTop(),d=e-c,f=t-u,p=l.origRect,h=p.right-p.left,g=p.bottom-p.top;if(d>=0&&d<h&&f>=0&&f<g){var v=s.queryHit(d,f,h,g),m=s.context.getCurrentData().dateProfile;v&&(0,r.urV)(m.activeRange,v.dateSpan.range)&&(!i||v.layer>i.layer)&&(v.rect.left+=c,v.rect.right+=c,v.rect.top+=u,v.rect.bottom+=u,i=v)}}}return i},e}();function b(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.omy)(e.dateSpan,t.dateSpan)}function E(e,t){for(var n,r,i={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];(0,o.__assign)(i,l(e,t))}return(0,o.__assign)(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var A=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging;t.setIgnoreMove(!n.component.isValidDateDownEl(t.pointer.downEl))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&b(i,a)){var s=t.context,l=(0,o.__assign)((0,o.__assign)({},E(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new v(t.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new y(n.dragging,(0,r.Rac)(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m),_=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!i),o.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.context,a=null,s=!1;e&&((a=function(e,t,n){var i=e.dateSpan,a=t.dateSpan,s=[i.range.start,i.range.end,a.range.start,a.range.end];s.sort(r.z6t);for(var l={},c=0,u=n;c<u.length;c++){var d=(0,u[c])(e,t);if(!1===d)return null;d&&(0,o.__assign)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(n.hitDragging.initialHit,e,i.pluginHooks.dateSelectionTransformers))&&n.component.isDateSelectionValid(a)||(s=!0,a=null)),a?i.dispatch({type:"SELECT_DATES",selection:a}):t||i.dispatch({type:"UNSELECT_DATES"}),s?(0,r.deF)():(0,r._OJ)(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.HpC)(n.dragSelection,e,n.component.context),n.dragSelection=null)};var i=t.component.context.options,a=n.dragging=new v(t.el);a.touchScrollAllowed=!1,a.minDistance=i.selectMinDistance||0,a.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new y(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m);var w=function(e){function t(n){var i=e.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(e){var t=e.origEvent.target,n=i,o=n.component,a=n.dragging,s=a.mirror,l=o.context.options,c=o.context;i.subjectEl=e.subjectEl;var u=i.subjectSeg=(0,r.BJe)(e.subjectEl),d=(i.eventRange=u.eventRange).instance.instanceId;i.relevantEvents=(0,r.SOE)(c.getCurrentData().eventStore,d),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&d!==o.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(o):null,s.parentNode=(0,r.x_n)(t,".fc"),s.revertDuration=l.dragRevertDuration;var f=o.isValidSegDownEl(t)&&!(0,r.x_n)(t,".fc-event-resizer");a.setIgnoreMove(!f),i.isDragging=f&&e.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(e){var t=i.component.context,n=i.eventRange,o=n.instance.instanceId;e.isTouch?o!==i.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.voO(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},i.handleHitUpdate=function(e,t){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,c=null,u=!1,d={affectedEvents:n,mutatedEvents:(0,r.ifx)(),isEvent:!0};if(e){var f=e.component,p=(s=f.context).options;a===s||p.editable&&p.droppable?(l=function(e,t,n){var o=e.dateSpan,i=t.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=t.component.context.options.allDayMaintainDuration,i.allDay&&(a=(0,r.b7Q)(a)));var c=(0,r.Pe9)(a,s,e.component.context.dateEnv,e.component===t.component?e.component.largeUnit:null);c.milliseconds&&(l.allDay=!1);for(var u={datesDelta:c,standardProps:l},d=0,f=n;d<f.length;d++){(0,f[d])(u,e,t)}return u}(o,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c=(0,r.rfG)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=c,f.isInteractionValid(d)||(u=!0,l=null,c=null,d.mutatedEvents=(0,r.ifx)())):s=null}i.displayDrag(s,d),u?(0,r.deF)():(0,r._OJ)(),t||(a===s&&b(o,e)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!e||!document.querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=c)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(e){if(i.isDragging){var t=i.component.context,n=t.viewApi,a=i,s=a.receivingContext,l=a.validMutation,c=i.eventRange.def,u=i.eventRange.instance,d=new r.voO(t,c,u),f=i.relevantEvents,p=i.mutatedRelevantEvents,h=i.hitDragging.finalHit;if(i.clearDrag(),t.emitter.trigger("eventDragStop",{el:i.subjectEl,event:d,jsEvent:e.origEvent,view:n}),l){if(s===t){var g=new r.voO(t,p.defs[c.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var v={oldEvent:d,event:g,relatedEvents:(0,r.vuT)(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}},m={},y=0,b=t.getCurrentData().pluginHooks.eventDropTransformers;y<b.length;y++){var A=b[y];(0,o.__assign)(m,A(l,t))}t.emitter.trigger("eventDrop",(0,o.__assign)((0,o.__assign)((0,o.__assign)({},v),m),{el:e.subjectEl,delta:l.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",v)}else if(s){t.emitter.trigger("eventLeave",{draggedEl:e.subjectEl,event:d,view:n}),t.dispatch({type:"REMOVE_EVENTS",eventStore:f}),t.emitter.trigger("eventRemove",{event:d,relatedEvents:(0,r.vuT)(f,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}});var _=p.defs[c.defId],w=p.instances[u.instanceId],D=new r.voO(s,_,w);s.dispatch({type:"MERGE_EVENTS",eventStore:p}),s.emitter.trigger("eventAdd",{event:D,relatedEvents:(0,r.vuT)(p,s,w),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:p})}}),e.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),s.emitter.trigger("drop",(0,o.__assign)((0,o.__assign)({},E(h.dateSpan,s)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:h.component.context.viewApi})),s.emitter.trigger("eventReceive",{draggedEl:e.subjectEl,event:D,view:h.component.context.viewApi})}}else t.emitter.trigger("_noEventDrop")}i.cleanup()};var a=i.component.context.options,s=i.dragging=new v(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=i.hitDragging=new y(i.dragging,r.T6u);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,o=this.receivingContext;o&&o!==e&&(o===n?o.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.ifx)(),isEvent:!0}}):o.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(r.U4m);var D=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,o=n.querySegEl(e),i=(0,r.BJe)(o),a=n.eventRange=i.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,o=n.eventRange;n.relevantEvents=(0,r.SOE)(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(e);n.draggingSegEl=i,n.draggingSeg=(0,r.BJe)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.voO(t,o.def,o.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,i){var a=n.component.context,s=n.relevantEvents,l=n.hitDragging.initialHit,c=n.eventRange.instance,u=null,d=null,f=!1,p={affectedEvents:s,mutatedEvents:(0,r.ifx)(),isEvent:!0};e&&(u=function(e,t,n,i,a){for(var s=e.component.context.dateEnv,l=e.dateSpan.range.start,c=t.dateSpan.range.start,u=(0,r.Pe9)(l,c,s,e.component.largeUnit),d={},f=0,p=a;f<p.length;f++){var h=(0,p[f])(e,t);if(!1===h)return null;h&&(0,o.__assign)(d,h)}if(n){if(s.add(i.start,u)<i.end)return d.startDelta=u,d}else if(s.add(i.end,u)>i.start)return d.endDelta=u,d;return null}(l,e,i.subjectEl.classList.contains("fc-event-resizer-start"),c.range,a.pluginHooks.eventResizeJoinTransforms)),u&&(d=(0,r.rfG)(s,a.getCurrentData().eventUiBases,u,a),p.mutatedEvents=d,n.component.isInteractionValid(p)||(f=!0,u=null,d=null,p.mutatedEvents=null)),d?a.dispatch({type:"SET_EVENT_RESIZE",state:p}):a.dispatch({type:"UNSET_EVENT_RESIZE"}),f?(0,r.deF)():(0,r._OJ)(),t||(u&&b(l,e)&&(u=null),n.validMutation=u,n.mutatedRelevantEvents=d)},n.handleDragEnd=function(e){var t=n.component.context,i=n.eventRange.def,a=n.eventRange.instance,s=new r.voO(t,i,a),l=n.relevantEvents,c=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var u=new r.voO(t,c.defs[i.defId],a?c.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});var d={oldEvent:s,event:u,relatedEvents:(0,r.vuT)(c,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",(0,o.__assign)((0,o.__assign)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||(0,r.Pvs)(0),endDelta:n.validMutation.endDelta||(0,r.Pvs)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=t.component,a=n.dragging=new v(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new y(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return(0,r.x_n)(e.subjectEl,".fc-event")},t}(r.U4m);var S=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerUp=function(e){var n=t.context,o=t.documentPointer,i=n.getCurrentData();if(!o.wasTouchScroll){if(i.dateSelection&&!t.isRecentPointerDateSelect){var a=n.options.unselectAuto,s=n.options.unselectCancel;!a||a&&(0,r.x_n)(o.downEl,s)||n.calendarApi.unselect(e)}i.eventSelection&&!(0,r.x_n)(o.downEl,w.SELECTOR)&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new l(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),C={dateClick:r.yRu,eventDragStart:r.yRu,eventDragStop:r.yRu,eventDrop:r.yRu,eventResizeStart:r.yRu,eventResizeStop:r.yRu,eventResize:r.yRu,drop:r.yRu,eventReceive:r.yRu,eventLeave:r.yRu},R=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var a=n.hitDragging.dragging,s=null,l=null,c=!1,u={affectedEvents:(0,r.ifx)(),mutatedEvents:(0,r.ifx)(),isEvent:n.dragMeta.create};e&&(s=e.component.context,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(e,t,n){for(var i=(0,o.__assign)({},t.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];(0,o.__assign)(i,l(e,t))}var c=(0,r.Boe)(i,n),u=c.refined,d=c.extra,f=(0,r.mTn)(u,d,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),p=e.range.start;e.allDay&&t.startTime&&(p=n.dateEnv.add(p,t.startTime));var h=t.duration?n.dateEnv.add(p,t.duration):(0,r.$Td)(e.allDay,p,n),g=(0,r.$N4)(f.defId,{start:p,end:h});return{def:f,instance:g}}(e.dateSpan,n.dragMeta,s),u.mutatedEvents=(0,r.rod)(l),(c=!(0,r.WoG)(u,s))&&(u.mutatedEvents=(0,r.ifx)(),l=null))),n.displayDrag(s,u),a.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),c?(0,r.deF)():(0,r._OJ)(),t||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n,i=t.receivingContext,a=t.droppableEvent;if(n.clearDrag(),i&&a){var s=n.hitDragging.finalHit,l=s.component.context.viewApi,c=n.dragMeta;i.emitter.trigger("drop",(0,o.__assign)((0,o.__assign)({},E(s.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:l})),c.create&&(i.dispatch({type:"MERGE_EVENTS",eventStore:(0,r.rod)(a)}),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),i.emitter.trigger("eventReceive",{draggedEl:e.subjectEl,event:new r.voO(i,a.def,a.instance),view:l}))}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new y(e,r.T6u);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta(e)):(t=function(e,t){var n=r.vc.dataAttrPrefix,o=(n?n+"-":"")+t;return e.getAttribute("data-"+o)||""}(e,"event"),n=t?JSON.parse(t):{create:!1},(0,r.WOi)(n));var t,n},e.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean((0,r.App)(e,n))},e}();r.vc.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,o=n.settings,i=o.minDistance,a=o.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:r.kgr.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:r.kgr.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var o=this.dragging=new v(e);o.touchScrollAllowed=!1,null!=t.itemSelector&&(o.pointer.selector=t.itemSelector),null!=t.appendTo&&(o.mirror.parentNode=t.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new R(o,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var T=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new l(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.__extends)(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(r.KDF);!function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new T(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new R(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();const x=(0,r.rxu)({componentInteractions:[A,_,w,D],calendarInteractions:[S],elementDraggingImpl:v,listenerRefiners:C})},72436:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(39060),o=n(87480),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.dayDate,n=e.todayRange,i=this.context,s=i.theme,l=i.dateEnv,c=i.options,u=i.viewApi,d=(0,r.iCZ)(t,n),f=c.listDayFormat?l.format(t,c.listDayFormat):"",p=c.listDaySideFormat?l.format(t,c.listDaySideFormat):"",h=c.navLinks?(0,r.Euv)(t):null,g=(0,o.__assign)({date:l.toDate(t),view:u,text:f,sideText:p,navLinkData:h},d),v=["fc-list-day"].concat((0,r.yLW)(d,s));return(0,r.azq)(r.QJ3,{hookProps:g,classNames:c.dayHeaderClassNames,content:c.dayHeaderContent,defaultContent:a,didMount:c.dayHeaderDidMount,willUnmount:c.dayHeaderWillUnmount},(function(e,n,o,i){return(0,r.azq)("tr",{ref:e,className:v.concat(n).join(" "),"data-date":(0,r.SVl)(t)},(0,r.azq)("th",{colSpan:3},(0,r.azq)("div",{className:"fc-list-day-cushion "+s.getClass("tableCellShaded"),ref:o},i)))}))},t}(r.H6J);function a(e){var t=e.navLinkData?{"data-navlink":e.navLinkData,tabIndex:0}:{};return(0,r.azq)(r.HYg,null,e.text&&(0,r.azq)("a",(0,o.__assign)({className:"fc-list-day-text"},t),e.text),e.sideText&&(0,r.azq)("a",(0,o.__assign)({className:"fc-list-day-side-text"},t),e.sideText))}var s=(0,r.SPZ)({hour:"numeric",minute:"2-digit",meridiem:"short"}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,o=t.options.eventTimeFormat||s;return(0,r.azq)(r.Vsx,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:c,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,i,a,s,l){return(0,r.azq)("tr",{className:["fc-list-event",l.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:e},function(e,t,n){var o=n.options;if(!1!==o.displayEventTime){var i=e.eventRange.def,a=e.eventRange.instance,s=!1,l=void 0;if(i.allDay?s=!0:(0,r.p7j)(e.eventRange.range)?e.isStart?l=(0,r.r39)(e,t,n,null,null,a.range.start,e.end):e.isEnd?l=(0,r.r39)(e,t,n,null,null,e.start,a.range.end):s=!0:l=(0,r.r39)(e,t,n),s){var c={text:n.options.allDayText,view:n.viewApi};return(0,r.azq)(r.QJ3,{hookProps:c,classNames:o.allDayClassNames,content:o.allDayContent,defaultContent:u,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount},(function(e,t,n,o){return(0,r.azq)("td",{className:["fc-list-event-time"].concat(t).join(" "),ref:e},o)}))}return(0,r.azq)("td",{className:"fc-list-event-time"},l)}return null}(n,o,t),(0,r.azq)("td",{className:"fc-list-event-graphic"},(0,r.azq)("span",{className:"fc-list-event-dot",style:{borderColor:l.borderColor||l.backgroundColor}})),(0,r.azq)("td",{className:"fc-list-event-title",ref:a},s))}))},t}(r.H6J);function c(e){var t=e.event,n=t.url,i=n?{href:n}:{};return(0,r.azq)("a",(0,o.__assign)({},i),t.title)}function u(e){return e.text}var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=(0,r.HPs)(p),t.eventStoreToSegs=(0,r.HPs)(t._eventStoreToSegs),t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return(0,o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,o=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],i=this.computeDateVars(t.dateProfile),a=i.dayDates,s=i.dayRanges,l=this.eventStoreToSegs(t.eventStore,t.eventUiBases,s);return(0,r.azq)(r.xS$,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,i){return(0,r.azq)("div",{ref:n,className:o.concat(i).join(" ")},(0,r.azq)(r.Ttm,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,a):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,o={text:t.noEventsText,view:n};return(0,r.azq)(r.QJ3,{hookProps:o,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:f,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e,t,n,o){return(0,r.azq)("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},(0,r.azq)("div",{className:"fc-list-empty-cushion",ref:n},o))}))},t.prototype.renderSegList=function(e,t){var n=this.context,a=n.theme,s=n.options,c=function(e){var t,n,r=[];for(t=0;t<e.length;t++)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return(0,r.azq)(r.wh8,{unit:"day"},(function(e,n){for(var u=[],d=0;d<c.length;d++){var f=c[d];if(f){var p=t[d].toISOString();u.push((0,r.azq)(i,{key:p,dayDate:t[d],todayRange:n}));for(var h=0,g=f=(0,r.hak)(f,s.eventOrder);h<g.length;h++){var v=g[h];u.push((0,r.azq)(l,(0,o.__assign)({key:p+":"+v.eventRange.instance.instanceId,seg:v,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1},(0,r.jHR)(v,n,e))))}}}return(0,r.azq)("table",{className:"fc-list-table "+a.getClass("table")},(0,r.azq)("tbody",null,u))}))},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs((0,r.y$4)(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.eventRangeToSegs(i,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,o,i,a=this.context.dateEnv,s=this.context.options.nextDayThreshold,l=e.range,c=e.def.allDay,u=[];for(n=0;n<t.length;n++)if((o=(0,r.cMs)(l,t[n]))&&(i={component:this,eventRange:e,start:o.start,end:o.end,isStart:e.isStart&&o.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&o.end.valueOf()===l.end.valueOf(),dayIndex:n},u.push(i),!i.isEnd&&!c&&n+1<t.length&&l.end<a.add(t[n+1].start,s))){i.end=l.end,i.isEnd=!0;break}return u},t}(r.IdW);function f(e){return e.text}function p(e){for(var t=(0,r.b7Q)(e.renderRange.start),n=e.renderRange.end,o=[],i=[];t<n;)o.push(t),i.push({start:t,end:(0,r.E4D)(t,1)}),t=(0,r.E4D)(t,1);return{dayDates:o,dayRanges:i}}var h={listDayFormat:g,listDaySideFormat:g,noEventsClassNames:r.yRu,noEventsContent:r.yRu,noEventsDidMount:r.yRu,noEventsWillUnmount:r.yRu};function g(e){return!1===e?null:(0,r.SPZ)(e)}const v=(0,r.rxu)({optionRefiners:h,views:{list:{component:d,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}})},87480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__extends:()=>o,__assign:()=>i,__rest:()=>a,__decorate:()=>s,__param:()=>l,__metadata:()=>c,__awaiter:()=>u,__generator:()=>d,__createBinding:()=>f,__exportStar:()=>p,__values:()=>h,__read:()=>g,__spread:()=>v,__spreadArrays:()=>m,__await:()=>y,__asyncGenerator:()=>b,__asyncDelegator:()=>E,__asyncValues:()=>A,__makeTemplateObject:()=>_,__importStar:()=>D,__importDefault:()=>S,__classPrivateFieldGet:()=>C,__classPrivateFieldSet:()=>R});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):u(i[0][2],n)}catch(r){u(i[0][3],r)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function A(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var w=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return w(t,e),t}function S(e){return e&&e.__esModule?e:{default:e}}function C(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function R(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},43924:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r='\n/* classes attached to <body> */\n\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events\' custom cursors */\n cursor: not-allowed;\n}\n\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn\'t expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: \'fcicons\';\n src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid > tbody table,\n .fc .fc-scrollgrid > tfoot table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0\n }\n.fc .fc-scrollgrid > * > tr > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid > thead > tr > *,\n .fc .fc-scrollgrid > tfoot > tr > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 0\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 0; /* needs a height so inner div within grow */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid {\n height: auto\n\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* FF needs this instead of auto */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: -webkit-sticky;\n position: sticky;\n z-index: 2; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid > thead > .fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid > tfoot > .fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc .fc-sticky {\n position: -webkit-sticky;\n position: sticky;\n }\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-bg-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-border-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(var(--fc-event-resizer-thickness, 8px) / -2);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(var(--fc-event-resizer-thickness, 8px) / -2);\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);\n}\n'},61716:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r='\n:root {\n --fc-daygrid-event-dot-width: 8px;\n}\n.fc .fc-popover {\n position: fixed;\n top: 0; /* for when not positioned yet */\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* help things clear margins of inner content */\n.fc-daygrid-day-frame,\n.fc-daygrid-day-events,\n.fc-daygrid-event-harness { /* for event top/bottom margins */\n}\n.fc-daygrid-day-frame:before, .fc-daygrid-day-events:before, .fc-daygrid-event-harness:before {\n content: "";\n clear: both;\n display: table; }\n.fc-daygrid-day-frame:after, .fc-daygrid-day-events:after, .fc-daygrid-event-harness:after {\n content: "";\n clear: both;\n display: table; }\n.fc .fc-daygrid-body { /* a <div> that wraps the table */\n position: relative;\n z-index: 1; /* container inner z-index\'s because <tr>s can\'t do it */\n }\n.fc .fc-daygrid-day.fc-day-today {\n background-color: rgba(255, 220, 40, 0.15);\n background-color: var(--fc-today-bg-color, rgba(255, 220, 40, 0.15));\n }\n.fc .fc-daygrid-day-frame {\n position: relative;\n min-height: 100%; /* seems to work better than `height` because sets height after rows/cells naturally do it */\n }\n.fc {\n\n /* cell top */\n\n}\n.fc .fc-daygrid-day-top {\n position: relative;\n z-index: 4;\n display: flex;\n flex-direction: row-reverse;\n }\n.fc .fc-day-other .fc-daygrid-day-top {\n opacity: 0.3;\n }\n.fc {\n\n /* day number (within cell top) */\n\n}\n.fc .fc-daygrid-day-number {\n padding: 4px;\n }\n.fc {\n\n /* event container */\n\n}\n.fc .fc-daygrid-day-events {\n margin-top: 1px; /* needs to be margin, not padding, so that available cell height can be computed */\n }\n.fc {\n\n /* positioning for balanced vs natural */\n\n}\n.fc .fc-daygrid-body-balanced .fc-daygrid-day-events {\n position: absolute;\n left: 0;\n right: 0;\n }\n.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {\n position: relative; /* for containing abs positioned event harnesses */\n min-height: 2em; /* in addition to being a min-height during natural height, equalizes the heights a little bit */\n }\n.fc .fc-daygrid-body-natural { /* can coexist with -unbalanced */\n }\n.fc .fc-daygrid-body-natural .fc-daygrid-day-events {\n margin-bottom: 1em;\n }\n.fc {\n\n /* event harness */\n\n}\n.fc .fc-daygrid-event-harness {\n position: relative;\n }\n.fc .fc-daygrid-event-harness-abs {\n position: absolute;\n top: 0; /* fallback coords for when cannot yet be computed */\n left: 0; /* */\n right: 0; /* */\n }\n.fc .fc-daygrid-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n.fc {\n\n /* bg content */\n\n}\n.fc .fc-daygrid-day-bg .fc-non-business { z-index: 1 }\n.fc .fc-daygrid-day-bg .fc-bg-event { z-index: 2 }\n.fc .fc-daygrid-day-bg .fc-highlight { z-index: 3 }\n.fc {\n\n /* events */\n\n}\n.fc .fc-daygrid-event {\n z-index: 6;\n margin-top: 1px;\n }\n.fc .fc-daygrid-event.fc-event-mirror {\n z-index: 7;\n }\n.fc {\n\n /* cell bottom (within day-events) */\n\n}\n.fc .fc-daygrid-day-bottom {\n position: relative;\n z-index: 4;\n font-size: .85em;\n margin: 2px 3px 0;\n }\n.fc .fc-daygrid-more-link {\n cursor: pointer;\n }\n.fc {\n\n /* week number (within frame) */\n\n}\n.fc .fc-daygrid-week-number {\n position: absolute;\n z-index: 5;\n top: 0;\n padding: 2px;\n min-width: 1.5em;\n text-align: center;\n background-color: rgba(208, 208, 208, 0.3);\n background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n color: #808080;\n color: var(--fc-neutral-text-color, #808080);\n }\n.fc {\n\n /* popover */\n\n}\n.fc .fc-more-popover {\n z-index: 8;\n }\n.fc .fc-more-popover .fc-popover-body {\n min-width: 220px;\n padding: 10px;\n }\n.fc-direction-ltr .fc-daygrid-event.fc-event-start,\n.fc-direction-rtl .fc-daygrid-event.fc-event-end {\n margin-left: 2px;\n}\n.fc-direction-ltr .fc-daygrid-event.fc-event-end,\n.fc-direction-rtl .fc-daygrid-event.fc-event-start {\n margin-right: 2px;\n}\n.fc-direction-ltr .fc-daygrid-week-number {\n left: 0;\n border-radius: 0 0 3px 0;\n }\n.fc-direction-rtl .fc-daygrid-week-number {\n right: 0;\n border-radius: 0 0 0 3px;\n }\n.fc-liquid-hack .fc-daygrid-day-frame {\n position: static; /* will cause inner absolute stuff to expand to <td> */\n }\n.fc-daygrid-event { /* make root-level, because will be dragged-and-dropped outside of a component root */\n position: relative; /* for z-indexes assigned later */\n white-space: nowrap;\n border-radius: 3px; /* dot event needs this to when selected */\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n}\n/* --- the rectangle ("block") style of event --- */\n.fc-daygrid-block-event .fc-event-time {\n font-weight: bold;\n }\n.fc-daygrid-block-event .fc-event-time,\n .fc-daygrid-block-event .fc-event-title {\n padding: 1px;\n }\n/* --- the dot style of event --- */\n.fc-daygrid-dot-event {\n display: block;\n padding: 2px 0;\n overflow: hidden\n\n}\n.fc-daygrid-dot-event .fc-event-title {\n font-weight: bold;\n }\n.fc-daygrid-dot-event .fc-event-time,\n .fc-daygrid-dot-event .fc-event-title {\n display: inline-block; /* better than inline, for sitting next to dot */\n }\n.fc-daygrid-dot-event:hover,\n .fc-daygrid-dot-event.fc-event-mirror {\n background: rgba(0, 0, 0, 0.1);\n }\n.fc-daygrid-event-dot { /* the actual dot */\n display: inline-block;\n margin: 0 4px;\n box-sizing: content-box;\n width: 0;\n height: 0;\n border: 4px solid #3788d8;\n border: calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid var(--fc-event-border-color, #3788d8);\n border-radius: 4px;\n border-radius: calc(var(--fc-daygrid-event-dot-width, 8px) / 2);\n}\n/* --- spacing between time and title --- */\n.fc-direction-ltr .fc-daygrid-event .fc-event-time {\n margin-right: 3px;\n }\n.fc-direction-rtl .fc-daygrid-event .fc-event-time {\n margin-left: 3px;\n }\n'},7623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r='\n:root {\n --fc-list-event-dot-width: 10px;\n --fc-list-event-hover-bg-color: #f5f5f5;\n}\n.fc-theme-standard .fc-list {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n.fc {\n\n /* message when no events */\n\n}\n.fc .fc-list-empty {\n background-color: rgba(208, 208, 208, 0.3);\n background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center; /* vertically aligns fc-list-empty-inner */\n }\n.fc .fc-list-empty-cushion {\n margin: 5em 0;\n }\n.fc {\n\n /* table within the scroller */\n /* ---------------------------------------------------------------------------------------------------- */\n\n}\n.fc .fc-list-table {\n width: 100%;\n border-style: hidden; /* kill outer border on theme */\n }\n.fc .fc-list-table tr > * {\n border-left: 0;\n border-right: 0;\n }\n.fc .fc-list-sticky .fc-list-day > * { /* the cells */\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n background: #fff;\n background: var(--fc-page-bg-color, #fff); /* for when headers are styled to be transparent and sticky */\n }\n.fc .fc-list-table th {\n padding: 0; /* uses an inner-wrapper instead... */\n }\n.fc .fc-list-table td,\n .fc .fc-list-day-cushion {\n padding: 8px 14px;\n }\n.fc {\n\n\n /* date heading rows */\n /* ---------------------------------------------------------------------------------------------------- */\n\n}\n.fc .fc-list-day-cushion:after {\n content: "";\n clear: both;\n display: table; /* clear floating */\n }\n.fc-theme-standard .fc-list-day-cushion {\n background-color: rgba(208, 208, 208, 0.3);\n background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n.fc-direction-ltr .fc-list-day-text,\n.fc-direction-rtl .fc-list-day-side-text {\n float: left;\n}\n.fc-direction-ltr .fc-list-day-side-text,\n.fc-direction-rtl .fc-list-day-text {\n float: right;\n}\n/* make the dot closer to the event title */\n.fc-direction-ltr .fc-list-table .fc-list-event-graphic { padding-right: 0 }\n.fc-direction-rtl .fc-list-table .fc-list-event-graphic { padding-left: 0 }\n.fc .fc-list-event.fc-event-forced-url {\n cursor: pointer; /* whole row will seem clickable */\n }\n.fc .fc-list-event:hover td {\n background-color: #f5f5f5;\n background-color: var(--fc-list-event-hover-bg-color, #f5f5f5);\n }\n.fc {\n\n /* shrink certain cols */\n\n}\n.fc .fc-list-event-graphic,\n .fc .fc-list-event-time {\n white-space: nowrap;\n width: 1px;\n }\n.fc .fc-list-event-dot {\n display: inline-block;\n box-sizing: content-box;\n width: 0;\n height: 0;\n border: 5px solid #3788d8;\n border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, #3788d8);\n border-radius: 5px;\n border-radius: calc(var(--fc-list-event-dot-width, 10px) / 2);\n }\n.fc {\n\n /* reset <a> styling */\n\n}\n.fc .fc-list-event-title a {\n color: inherit;\n text-decoration: none;\n }\n.fc {\n\n /* underline link when hovering over any part of row */\n\n}\n.fc .fc-list-event.fc-event-forced-url:hover a {\n text-decoration: underline;\n }\n'}}]);
//# sourceMappingURL=chunk.56ec09526f54fbbb2f8c.js.map