').appendTo(e),this.el.find(".fc-body > tr > td").append(e),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(t)},t.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var e=this.calendar.theme;return'
'+(this.opt("columnHeader")?'| |
':"")+' |
'},t.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},t.prototype.hasRigidRows=function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},t.prototype.updateSize=function(t,n,r){var i,a,o=this.opt("eventLimit"),d=this.dayGrid.headContainerEl.find(".fc-row");this.dayGrid.rowEls?(e.prototype.updateSize.call(this,t,n,r),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=s.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),s.uncompensateScroll(d),this.dayGrid.removeSegPopover(),o&&"number"==typeof o&&this.dayGrid.limitRows(o),i=this.computeScrollerHeight(t),this.setGridHeight(i,n),o&&"number"!=typeof o&&this.dayGrid.limitRows(o),n||(this.scroller.setHeight(i),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(s.compensateScroll(d,a),i=this.computeScrollerHeight(t),this.scroller.setHeight(i)),this.scroller.lockOverflow(a))):n||(i=this.computeScrollerHeight(t),this.scroller.setHeight(i))},t.prototype.computeScrollerHeight=function(e){return e-s.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.setGridHeight=function(e,t){t?s.undistributeHeight(this.dayGrid.rowEls):s.distributeHeight(this.dayGrid.rowEls,e,!0)},t.prototype.computeInitialDateScroll=function(){return{top:0}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},t}(o.default);t.default=l,l.prototype.dateProfileGeneratorClass=d.default,l.prototype.dayGridClass=u.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(5),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var s=e.prototype.buildRenderRange.call(this,t,n,r),a=this.msToUtcMoment(s.startMs,r),o=this.msToUtcMoment(s.endMs,r);return/^(year|month)$/.test(n)&&(a.startOf("week"),o.weekday()&&o.add(1,"week").startOf("week")),new i.default(a,o)},t}(n(55).default);t.default=s},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=n(12),s=n(36),a=n(6),o=n(19),d=function(){function e(e,t){this.eventManager=e,this._calendar=t}return e.prototype.opt=function(e){return this._calendar.opt(e)},e.prototype.isEventInstanceGroupAllowed=function(e){var t,n=e.getEventDef(),r=this.eventRangesToEventFootprints(e.getAllEventRanges()),i=this.getPeerEventInstances(n).map(o.eventInstanceToEventRange),s=this.eventRangesToEventFootprints(i),a=n.getConstraint(),d=n.getOverlap(),u=this.opt("eventAllow");for(t=0;t
').addClass(t.className||"").css({top:0,left:0}).append(t.content).appendTo(t.parentEl),this.el.on("click",".fc-close",(function(){e.hide()})),t.autoHide&&this.listenTo(r(document),"mousedown",this.documentMousedown)},e.prototype.documentMousedown=function(e){this.el&&!r(e.target).closest(this.el).length&&this.hide()},e.prototype.removeElement=function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(r(document),"mousedown")},e.prototype.position=function(){var e,t,n,s,a,o=this.options,d=this.el.offsetParent().offset(),u=this.el.outerWidth(),l=this.el.outerHeight(),c=r(window),h=i.getScrollParent(this.el);s=o.top||0,a=void 0!==o.left?o.left:void 0!==o.right?o.right-u:0,h.is(window)||h.is(document)?(h=c,e=0,t=0):(e=(n=h.offset()).top,t=n.left),e+=c.scrollTop(),t+=c.scrollLeft(),!1!==o.viewportConstrain&&(s=Math.min(s,e+h.outerHeight()-l-this.margin),s=Math.max(s,e+this.margin),a=Math.min(a,t+h.outerWidth()-u-this.margin),a=Math.max(a,t+this.margin)),this.el.css({top:s-d.top,left:a-d.left})},e.prototype.trigger=function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))},e}();t.default=a,s.default.mixInto(a)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=function(){function e(){this.q=[],this.isPaused=!1,this.isRunning=!1}return e.prototype.queue=function(){for(var e=[],t=0;t=0;t--)if((n=r[t]).namespace===e.namespace)switch(n.type){case"init":i=!1;case"add":case"remove":r.splice(t,1)}return i&&r.push(e),i},t}(n(228).default);t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.setElement=function(e){this.el=e,this.bindGlobalHandlers(),this.renderSkeleton(),this.set("isInDom",!0)},t.prototype.removeElement=function(){this.unset("isInDom"),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.el.remove()},t.prototype.bindGlobalHandlers=function(){},t.prototype.unbindGlobalHandlers=function(){},t.prototype.renderSkeleton=function(){},t.prototype.unrenderSkeleton=function(){},t}(n(51).default);t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(3),s=n(0),a=n(4),o=n(11),d=n(49),u=n(230),l=n(19),c=function(e){function t(n,r){var i=e.call(this)||this;return i.isRTL=!1,i.hitsNeededDepth=0,i.hasAllDayBusinessHours=!1,i.isDatesRendered=!1,n&&(i.view=n),r&&(i.options=r),i.uid=String(t.guid++),i.childrenByUid={},i.nextDayThreshold=s.duration(i.opt("nextDayThreshold")),i.isRTL=i.opt("isRTL"),i.fillRendererClass&&(i.fillRenderer=new i.fillRendererClass(i)),i.eventRendererClass&&(i.eventRenderer=new i.eventRendererClass(i,i.fillRenderer)),i.helperRendererClass&&i.eventRenderer&&(i.helperRenderer=new i.helperRendererClass(i,i.eventRenderer)),i.businessHourRendererClass&&i.fillRenderer&&(i.businessHourRenderer=new i.businessHourRendererClass(i,i.fillRenderer)),i}return r.__extends(t,e),t.prototype.addChild=function(e){return!this.childrenByUid[e.uid]&&(this.childrenByUid[e.uid]=e,!0)},t.prototype.removeChild=function(e){return!!this.childrenByUid[e.uid]&&(delete this.childrenByUid[e.uid],!0)},t.prototype.updateSize=function(e,t,n){this.callChildren("updateSize",arguments)},t.prototype.opt=function(e){return this._getView().opt(e)},t.prototype.publiclyTrigger=function(){for(var e=[],t=0;t'+n+"":""+n+""},t.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||a.htmlEscape(this.opt("allDayText"))},t.prototype.getDayClasses=function(e,t){var n,r=this._getView(),i=[];return this.dateProfile.activeUnzonedRange.containsDate(e)?(i.push("fc-"+a.dayIDs[e.day()]),r.isDateInOtherMonth(e,this.dateProfile)&&i.push("fc-other-month"),n=r.calendar.getNow(),e.isSame(n,"day")?(i.push("fc-today"),!0!==t&&i.push(r.calendar.theme.getClass("today"))):e=this.nextDayThreshold&&s.add(1,"days"),s<=n&&(s=n.clone().add(1,"days")),{start:n,end:s}},t.prototype.isMultiDayRange=function(e){var t=this.computeDayRange(e);return t.end.diff(t.start,"days")>1},t.guid=0,t}(u.default);function h(e){var t,n,r,i=[];for(t in e)for(n=e[t].eventInstances,r=0;r").prependTo(t),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&r(window).resize(this.windowResizeProxy=s.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},e.prototype.destroy=function(){this.view&&this.clearView(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl"),this.optionsManager.unwatch("settingTheme"),this.optionsManager.unwatch("settingBusinessHourGenerator"),this.el.off(".fc"),this.windowResizeProxy&&(r(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),d.default.unneeded()},e.prototype.elementVisible=function(){return this.el.is(":visible")},e.prototype.bindViewHandlers=function(e){var t=this;e.watch("titleForCalendar",["title"],(function(n){e===t.view&&t.setToolbarsTitle(n.title)})),e.watch("dateProfileForCalendar",["dateProfile"],(function(n){e===t.view&&(t.currentDate=n.dateProfile.date,t.updateToolbarButtons(n.dateProfile))}))},e.prototype.unbindViewHandlers=function(e){e.unwatch("titleForCalendar"),e.unwatch("dateProfileForCalendar")},e.prototype.renderView=function(e){var t,n=this.view;this.freezeContentHeight(),n&&e&&n.type!==e&&this.clearView(),!this.view&&e&&(t=this.view=this.viewsByType[e]||(this.viewsByType[e]=this.instantiateView(e)),this.bindViewHandlers(t),t.startBatchRender(),t.setElement(r("").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",e)),this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),t&&t.stopBatchRender()),this.thawContentHeight()},e.prototype.clearView=function(){var e=this.view;this.toolbarsManager.proxyCall("deactivateButton",e.type),this.unbindViewHandlers(e),e.removeElement(),e.unsetDate(),this.view=null},e.prototype.reinitView=function(){var e=this.view,t=e.queryScroll();this.freezeContentHeight(),this.clearView(),this.calcSize(),this.renderView(e.type),this.view.applyScroll(t),this.thawContentHeight()},e.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},e.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},e.prototype.updateViewSize=function(e){void 0===e&&(e=!1);var t,n=this.view;if(!this.ignoreUpdateViewSize&&n)return e&&(this.calcSize(),t=n.queryScroll()),this.ignoreUpdateViewSize++,n.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),e),this.ignoreUpdateViewSize--,e&&n.applyScroll(t),!0},e.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},e.prototype._calcSize=function(){var e=this.opt("contentHeight"),t=this.opt("height");this.suggestedViewHeight="number"==typeof e?e:"function"==typeof e?e():"number"==typeof t?t-this.queryToolbarsHeight():"function"==typeof t?t()-this.queryToolbarsHeight():"parent"===t?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},e.prototype.windowResize=function(e){e.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},e.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},e.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},e.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--,this.contentEl.css({width:"",height:"",overflow:""}),this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},e.prototype.initToolbars=function(){this.header=new c.default(this,this.computeHeaderOptions()),this.footer=new c.default(this,this.computeFooterOptions()),this.toolbarsManager=new o.default([this.header,this.footer])},e.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},e.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},e.prototype.renderHeader=function(){var e=this.header;e.setToolbarOptions(this.computeHeaderOptions()),e.render(),e.el&&this.el.prepend(e.el)},e.prototype.renderFooter=function(){var e=this.footer;e.setToolbarOptions(this.computeFooterOptions()),e.render(),e.el&&this.el.append(e.el)},e.prototype.setToolbarsTitle=function(e){this.toolbarsManager.proxyCall("updateTitle",e)},e.prototype.updateToolbarButtons=function(e){var t=this.getNow(),n=this.view,r=n.dateProfileGenerator.build(t),i=n.dateProfileGenerator.buildPrev(n.get("dateProfile")),s=n.dateProfileGenerator.buildNext(n.get("dateProfile"));this.toolbarsManager.proxyCall(r.isValid&&!e.currentUnzonedRange.containsDate(t)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(i.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(s.isValid?"enableButton":"disableButton","next")},e.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce((function(e,t){return e+(t.el?t.el.outerHeight(!0):0)}),0)},e.prototype.select=function(e,t){this.view.select(this.buildSelectFootprint.apply(this,arguments))},e.prototype.unselect=function(){this.view&&this.view.unselect()},e.prototype.buildSelectFootprint=function(e,t){var n,r=this.moment(e).stripZone();return n=t?this.moment(t).stripZone():r.hasTime()?r.clone().add(this.defaultTimedEventDuration):r.clone().add(this.defaultAllDayEventDuration),new g.default(new y.default(r,n),!r.hasTime())},e.prototype.initMomentInternals=function(){var e=this;this.defaultAllDayEventDuration=i.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=i.duration(this.opt("defaultTimedEventDuration")),this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],(function(t){var n,r=t.weekNumberCalculation,i=t.firstDay;"iso"===r&&(r="ISO");var s=Object.create(f.getMomentLocaleData(t.locale));t.monthNames&&(s._months=t.monthNames),t.monthNamesShort&&(s._monthsShort=t.monthNamesShort),t.dayNames&&(s._weekdays=t.dayNames),t.dayNamesShort&&(s._weekdaysShort=t.dayNamesShort),null==i&&"ISO"===r&&(i=1),null!=i&&((n=Object.create(s._week)).dow=i,s._week=n),"ISO"!==r&&"local"!==r&&"function"!=typeof r||(s._fullCalendar_weekCalc=r),e.localeData=s,e.currentDate&&e.localizeMoment(e.currentDate)}))},e.prototype.moment=function(){for(var e,t=[],n=0;n
s.getStart()&&((r=new o.default).setEndDelta(d),(i=new a.default).setDateMutation(r),i)},t}(n(14).default);t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(4),s=n(39),a=n(40),o=n(59),d=n(17),u=n(226),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isDragging=!1,r.eventPointing=n,r}return r.__extends(t,e),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.getSelectionDelay=function(){var e=this.opt("eventLongPressDelay");return null==e&&(e=this.opt("longPressDelay")),e},t.prototype.bindToEl=function(e){var t=this.component;t.bindSegHandlerToEl(e,"mousedown",this.handleMousedown.bind(this)),t.bindSegHandlerToEl(e,"touchstart",this.handleTouchStart.bind(this))},t.prototype.handleMousedown=function(e,t){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(e,t)&&this.buildDragListener(e).startInteraction(t,{distance:5})},t.prototype.handleTouchStart=function(e,t){var n=this.component,r={delay:this.view.isEventDefSelected(e.footprint.eventDef)?0:this.getSelectionDelay()};n.canStartDrag(e,t)?this.buildDragListener(e).startInteraction(t,r):n.canStartSelection(e,t)&&this.buildSelectListener(e).startInteraction(t,r)},t.prototype.buildSelectListener=function(e){var t=this,n=this.view,r=e.footprint.eventDef,i=e.footprint.eventInstance;if(this.dragListener)return this.dragListener;var s=this.dragListener=new o.default({dragStart:function(e){s.isTouch&&!n.isEventDefSelected(r)&&i&&n.selectEventInstance(i)},interactionEnd:function(e){t.dragListener=null}});return s},t.prototype.buildDragListener=function(e){var t,n,r,s=this,a=this.component,o=this.view,l=o.calendar,c=l.eventManager,h=e.el,m=e.footprint.eventDef,p=e.footprint.eventInstance;if(this.dragListener)return this.dragListener;var f=this.dragListener=new d.default(o,{scroll:this.opt("dragScroll"),subjectEl:h,subjectCenter:!0,interactionStart:function(r){e.component=a,t=!1,(n=new u.default(e.el,{additionalClass:"fc-dragging",parentEl:o.el,opacity:f.isTouch?null:s.opt("dragOpacity"),revertDuration:s.opt("dragRevertDuration"),zIndex:2})).hide(),n.start(r)},dragStart:function(n){f.isTouch&&!o.isEventDefSelected(m)&&p&&o.selectEventInstance(p),t=!0,s.eventPointing.handleMouseout(e,n),s.segDragStart(e,n),o.hideEventsWithId(e.footprint.eventDef.id)},hitOver:function(t,d,u){var h,p,_,y=!0;e.hit&&(u=e.hit),h=u.component.getSafeHitFootprint(u),p=t.component.getSafeHitFootprint(t),h&&p&&(r=s.computeEventDropMutation(h,p,m))?(_=c.buildMutatedEventInstanceGroup(m.id,r),y=a.isEventInstanceGroupAllowed(_)):y=!1,y||(r=null,i.disableCursor()),r&&o.renderDrag(a.eventRangesToEventFootprints(_.sliceRenderRanges(a.dateProfile.renderUnzonedRange,l)),e,f.isTouch)?n.hide():n.show(),d&&(r=null)},hitOut:function(){o.unrenderDrag(e),n.show(),r=null},hitDone:function(){i.enableCursor()},interactionEnd:function(i){delete e.component,n.stop(!r,(function(){t&&(o.unrenderDrag(e),s.segDragStop(e,i)),o.showEventsWithId(e.footprint.eventDef.id),r&&o.reportEventDrop(p,r,h,i)})),s.dragListener=null}});return f},t.prototype.segDragStart=function(e,t){this.isDragging=!0,this.component.publiclyTrigger("eventDragStart",{context:e.el[0],args:[e.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.segDragStop=function(e,t){this.isDragging=!1,this.component.publiclyTrigger("eventDragStop",{context:e.el[0],args:[e.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.computeEventDropMutation=function(e,t,n){var r=new s.default;return r.setDateMutation(this.computeEventDateMutation(e,t)),r},t.prototype.computeEventDateMutation=function(e,t){var n,r,i=e.unzonedRange.getStart(),s=t.unzonedRange.getStart(),o=!1,d=!1,u=!1;return e.isAllDay!==t.isAllDay&&(o=!0,t.isAllDay?(u=!0,i.stripTime()):d=!0),n=this.component.diffDates(s,i),(r=new a.default).clearEnd=o,r.forceTimed=d,r.forceAllDay=u,r.setDateDelta(n),r},t}(n(14).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(4),s=n(17),a=n(12),o=n(5),d=function(e){function t(t){var n=e.call(this,t)||this;return n.dragListener=n.buildDragListener(),n}return r.__extends(t,e),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.getDelay=function(){var e=this.opt("selectLongPressDelay");return null==e&&(e=this.opt("longPressDelay")),e},t.prototype.bindToEl=function(e){var t=this,n=this.component,r=this.dragListener;n.bindDateHandlerToEl(e,"mousedown",(function(e){t.opt("selectable")&&!n.shouldIgnoreMouse()&&r.startInteraction(e,{distance:t.opt("selectMinDistance")})})),n.bindDateHandlerToEl(e,"touchstart",(function(e){t.opt("selectable")&&!n.shouldIgnoreTouch()&&r.startInteraction(e,{delay:t.getDelay()})})),i.preventSelection(e)},t.prototype.buildDragListener=function(){var e,t=this,n=this.component;return new s.default(n,{scroll:this.opt("dragScroll"),interactionStart:function(){e=null},dragStart:function(e){t.view.unselect(e)},hitOver:function(r,s,a){var o,d;a&&(o=n.getSafeHitFootprint(a),d=n.getSafeHitFootprint(r),(e=o&&d?t.computeSelection(o,d):null)?n.renderSelectionFootprint(e):!1===e&&i.disableCursor())},hitOut:function(){e=null,n.unrenderSelection()},hitDone:function(){i.enableCursor()},interactionEnd:function(n,r){!r&&e&&t.view.reportSelection(e,n)}})},t.prototype.computeSelection=function(e,t){var n=this.computeSelectionFootprint(e,t);return!(n&&!this.isSelectionFootprintAllowed(n))&&n},t.prototype.computeSelectionFootprint=function(e,t){var n=[e.unzonedRange.startMs,e.unzonedRange.endMs,t.unzonedRange.startMs,t.unzonedRange.endMs];return n.sort(i.compareNumbers),new a.default(new o.default(n[0],n[3]),e.isAllDay)},t.prototype.isSelectionFootprintAllowed=function(e){return this.component.dateProfile.validUnzonedRange.containsRange(e.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(e)},t}(n(14).default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(17),s=function(e){function t(t){var n=e.call(this,t)||this;return n.dragListener=n.buildDragListener(),n}return r.__extends(t,e),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.bindToEl=function(e){var t=this.component,n=this.dragListener;t.bindDateHandlerToEl(e,"mousedown",(function(e){t.shouldIgnoreMouse()||n.startInteraction(e)})),t.bindDateHandlerToEl(e,"touchstart",(function(e){t.shouldIgnoreTouch()||n.startInteraction(e)}))},t.prototype.buildDragListener=function(){var e,t=this,n=this.component,r=new i.default(n,{scroll:this.opt("dragScroll"),interactionStart:function(){e=r.origHit},hitOver:function(t,n,r){n||(e=null)},hitOut:function(){e=null},interactionEnd:function(r,i){var s;!i&&e&&(s=n.getSafeHitFootprint(e))&&t.view.triggerDayClick(s,n.getHitEl(e),r)}});return r.shouldCancelTouchScroll=!1,r.scrollAlwaysKills=!0,r},t}(n(14).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,i,s=n(2),a=n(0),o=n(3),d=n(4),u=n(41),l=n(43),c=n(239),h=n(66),m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.usesMinMaxTime=!0,r.timeGrid=r.instantiateTimeGrid(),r.addChild(r.timeGrid),r.opt("allDaySlot")&&(r.dayGrid=r.instantiateDayGrid(),r.addChild(r.dayGrid)),r.scroller=new u.default({overflowX:"hidden",overflowY:"auto"}),r}return s.__extends(t,e),t.prototype.instantiateTimeGrid=function(){var e=new this.timeGridClass(this);return d.copyOwnProps(r,e),e},t.prototype.instantiateDayGrid=function(){var e=new this.dayGridClass(this);return d.copyOwnProps(i,e),e},t.prototype.renderSkeleton=function(){var e,t;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.scroller.render(),e=this.scroller.el.addClass("fc-time-grid-container"),t=o('').appendTo(e),this.el.find(".fc-body > tr > td").append(e),this.timeGrid.headContainerEl=this.el.find(".fc-head-container"),this.timeGrid.setElement(t),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},t.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var e=this.calendar.theme;return'
'+(this.opt("columnHeader")?'| |
':"")+''+(this.dayGrid?' ':"")+" |
"},t.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},t.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},t.prototype.updateSize=function(t,n,r){var i,s,a;if(e.prototype.updateSize.call(this,t,n,r),this.axisWidth=d.matchCellWidths(this.el.find(".fc-axis")),this.timeGrid.colEls){var o=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),d.uncompensateScroll(o),this.dayGrid&&(this.dayGrid.removeSegPopover(),(i=this.opt("eventLimit"))&&"number"!=typeof i&&(i=5),i&&this.dayGrid.limitRows(i)),n||(s=this.computeScrollerHeight(t),this.scroller.setHeight(s),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(d.compensateScroll(o,a),s=this.computeScrollerHeight(t),this.scroller.setHeight(s)),this.scroller.lockOverflow(a),this.timeGrid.getTotalSlatHeight()
"+t.buildGotoAnchorHtml({date:r,type:"week",forceOff:this.colCnt>1},d.htmlEscape(e))+""):' | "},renderBgIntroHtml:function(){var e=this.view;return' | "},renderIntroHtml:function(){return' | "}},i={renderBgIntroHtml:function(){var e=this.view;return'"+e.getAllDayHtml()+" | "},renderIntroHtml:function(){return' | "}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(3),s=n(0),a=n(4),o=n(42),d=n(61),u=n(65),l=n(60),c=n(58),h=n(5),m=n(12),p=n(240),f=n(241),_=n(242),y=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],g=function(e){function t(t){var n=e.call(this,t)||this;return n.processOptions(),n}return r.__extends(t,e),t.prototype.componentFootprintToSegs=function(e){var t,n=this.sliceRangeByTimes(e.unzonedRange);for(t=0;t=0;t--)if(n=s.duration(y[t]),r=a.divideDurationByDuration(n,e),a.isInt(r)&&r>1)return n;return s.duration(e)},t.prototype.renderDates=function(e){this.dateProfile=e,this.updateDayTable(),this.renderSlats(),this.renderColumns()},t.prototype.unrenderDates=function(){this.unrenderColumns()},t.prototype.renderSkeleton=function(){var e=this.view.calendar.theme;this.el.html('
'),this.bottomRuleEl=this.el.find("hr")},t.prototype.renderSlats=function(){var e=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html(''+this.renderSlatRowHtml()+"
"),this.slatEls=this.slatContainerEl.find("tr"),this.slatCoordCache=new c.default({els:this.slatEls,isVertical:!0})},t.prototype.renderSlatRowHtml=function(){for(var e,t,n,r=this.view,i=r.calendar,o=i.theme,d=this.isRTL,u=this.dateProfile,l="",c=s.duration(+u.minTime),h=s.duration(0);c"+(t?""+a.htmlEscape(e.format(this.labelFormat))+"":"")+"",l+='"+(d?"":n)+' | '+(d?n:"")+"
",c.add(this.slotDuration),h.add(this.slotDuration);return l},t.prototype.renderColumns=function(){var e=this.dateProfile,t=this.view.calendar.theme;this.dayRanges=this.dayDates.map((function(t){return new h.default(t.clone().add(e.minTime),t.clone().add(e.maxTime))})),this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),this.el.find("> .fc-bg").html(''+this.renderBgTrHtml(0)+"
"),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.colCoordCache=new c.default({els:this.colEls,isHorizontal:!0}),this.renderContentSkeleton()},t.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},t.prototype.renderContentSkeleton=function(){var e,t,n="";for(e=0;e';t=this.contentSkeletonEl=i('"),this.colContainerEls=t.find(".fc-content-col"),this.helperContainerEls=t.find(".fc-helper-container"),this.fgContainerEls=t.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=t.find(".fc-bgevent-container"),this.highlightContainerEls=t.find(".fc-highlight-container"),this.businessContainerEls=t.find(".fc-business-container"),this.bookendCells(t.find("tr")),this.el.append(t)},t.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},t.prototype.groupSegsByCol=function(e){var t,n=[];for(t=0;t ').css("top",r).appendTo(this.colContainerEls.eq(n[t].col))[0]);n.length>0&&s.push(i('').css("top",r).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=i(s)}},t.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},t.prototype.updateSize=function(t,n,r){e.prototype.updateSize.call(this,t,n,r),this.slatCoordCache.build(),r&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},t.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},t.prototype.computeDateTop=function(e,t){return this.computeTimeTop(s.duration(e-t.clone().stripTime()))},t.prototype.computeTimeTop=function(e){var t,n,r=this.slatEls.length,i=(e-this.dateProfile.minTime)/this.slotDuration;return i=Math.max(0,i),i=Math.min(r,i),t=Math.floor(i),n=i-(t=Math.min(t,r-1)),this.slatCoordCache.getTopPosition(t)+this.slatCoordCache.getHeight(t)*n},t.prototype.updateSegVerticals=function(e){this.computeSegVerticals(e),this.assignSegVerticals(e)},t.prototype.computeSegVerticals=function(e){var t,n,r,i=this.opt("agendaEventMinHeight");for(t=0;t'+(n?'
'+i.htmlEscape(n)+"
":"")+(l.title?'
'+i.htmlEscape(l.title)+"
":"")+'
'+(m?'':"")+""},t.prototype.updateFgSegCoords=function(e){this.timeGrid.computeSegVerticals(e),this.computeFgSegHorizontals(e),this.timeGrid.assignSegVerticals(e),this.assignFgSegHorizontals(e)},t.prototype.computeFgSegHorizontals=function(e){var t,n,r;if(this.sortEventSegs(e),function(e){var t,n,r,i,s;for(t=0;ts.top&&i.top table").append(t[e].tbodyEl)}))},t.prototype.unrenderFgSegs=function(){for(var e,t=this.rowStructs||[];e=t.pop();)e.tbodyEl.remove();this.rowStructs=null},t.prototype.renderSegRows=function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n"),p=[],f=[],_=[];function y(e){for(;s"),a.append(u)),f[n][s]=u,_[n][s]=u,s++}for(n=0;n"),p.push([]),f.push([]),_.push([]),r)for(o=0;o').append(d.el),d.leftCol!==d.rightCol?u.attr("colspan",d.rightCol-d.leftCol+1):_[n][s]=u;s<=d.rightCol;)f[n][s]=u,p[n][s]=d,s++;a.append(u)}y(l),this.dayGrid.bookendCells(a),m.append(a)}return{row:e,tbodyEl:m,cellMatrix:f,segMatrix:p,segLevels:c,segs:t}},t.prototype.buildSegLevels=function(e){var t,n,r,i=[];for(this.sortEventSegs(e),t=0;t'+s.htmlEscape(n)+""),r=''+(s.htmlEscape(a.title||"")||" ")+"",''+(this.dayGrid.isRTL?r+" "+m:m+" "+r)+"
"+(u?'':"")+(l?'':"")+""},t}(n(44).default);function o(e,t){var n,r;for(n=0;n=e.leftCol)return!0;return!1}function d(e,t){return e.leftCol-t.leftCol}t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(3),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.renderSegs=function(e,t){var n,r=[];return n=this.eventRenderer.renderSegRows(e),this.component.rowEls.each((function(e,s){var a,o,d=i(s),u=i('');t&&t.row===e?o=t.el.position().top:((a=d.find(".fc-content-skeleton tbody")).length||(a=d.find(".fc-content-skeleton table")),o=a.position().top),u.css("top",o).find("table").append(n[e].tbodyEl),d.append(u),r.push(u[0])})),i(r)},t}(n(63).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(3),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fillSegTag="td",t}return r.__extends(t,e),t.prototype.attachSegEls=function(e,t){var n,r,i,s=[];for(n=0;n ')).find("tr"),o>0&&s.append(new Array(o+1).join(" | ")),s.append(t.el.attr("colspan",d-o)),d")),this.component.bookendCells(s),r},t}(n(62).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(0),s=n(4),a=n(67),o=n(247),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.setGridHeight=function(e,t){t&&(e*=this.dayGrid.rowCnt/6),s.distributeHeight(this.dayGrid.rowEls,e,!t)},t.prototype.isDateInOtherMonth=function(e,t){return e.month()!==i.utc(t.currentUnzonedRange.startMs).month()},t}(a.default);t.default=d,d.prototype.dateProfileGeneratorClass=o.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(68),s=n(5),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var i,a=e.prototype.buildRenderRange.call(this,t,n,r),o=this.msToUtcMoment(a.startMs,r),d=this.msToUtcMoment(a.endMs,r);return this.opt("fixedWeekCount")&&(i=Math.ceil(d.diff(o,"weeks",!0)),d.add(6-i,"weeks")),new s.default(o,d)},t}(i.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(3),s=n(4),a=n(5),o=n(43),d=n(41),u=n(249),l=n(250),c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.segSelector=".fc-list-item",r.scroller=new d.default({overflowX:"hidden",overflowY:"auto"}),r}return r.__extends(t,e),t.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView")),this.scroller.render(),this.scroller.el.appendTo(this.el),this.contentEl=this.scroller.scrollEl},t.prototype.unrenderSkeleton=function(){this.scroller.destroy()},t.prototype.updateSize=function(t,n,r){e.prototype.updateSize.call(this,t,n,r),this.scroller.clear(),n||this.scroller.setHeight(this.computeScrollerHeight(t))},t.prototype.computeScrollerHeight=function(e){return e-s.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.renderDates=function(e){for(var t=this.calendar,n=t.msToUtcMoment(e.renderUnzonedRange.startMs,!0),r=t.msToUtcMoment(e.renderUnzonedRange.endMs,!0),i=[],s=[];n'+s.htmlEscape(this.opt("noEventsMessage"))+"
")},t.prototype.renderSegList=function(e){var t,n,r,s=this.groupSegsByDay(e),a=i('