PageSourceSearch

https://fervent-ritchie-c19b24.netlify.app/680-5f07ccb6f0b7d40177cb.js

js fervent-ritchie-c19b24.netlify.app collected 2026-10-03 10:44:27 UTC 66,523 bytes, 3 lines download raw bytes

1/*! For license information please see 680-5f07ccb6f0b7d40177cb.js.LICENSE.txt */
2(self.webpackChunkgatsby_starter_catalyst_sanity=self.webpackChunkgatsby_starter_catalyst_sanity||[]).push([[680],{51473:function(e,t,n){"use strict";if(n.d(t,{wA:function(){return r},HY:function(){return i},kr:function(){return s},az:function(){return a},Vf:function(){return o}}),"undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var r=FullCalendarVDom.Component,a=FullCalendarVDom.createElement,o=(FullCalendarVDom.render,FullCalendarVDom.createRef),i=FullCalendarVDom.Fragment,s=FullCalendarVDom.createContext;FullCalendarVDom.flushToDom,FullCalendarVDom.unmountComponentAtNode},79900:function(e,t,n){"use strict";n.d(t,{ZT:function(){return a},pi:function(){return o},pr:function(){return i}});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 a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.create;function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}Object.create},9159:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ft}});var r=n(87329),a=n(50361),o=n.n(a),i=n(74581),s=n(67294),l=n(79900),u=n(73935);("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:s.Component,createElement:s.createElement,render:u.render,createRef:s.createRef,Fragment:s.Fragment,createContext:s.createContext,flushToDom:function(){},unmountComponentAtNode:u.unmountComponentAtNode};var c=n(98130),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new c.zeW,t}return(0,l.ZT)(t,e),t.prototype.render=function(){return s.createElement(c.n1v,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return s.createElement(c.Tdg,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,r,a){return s.createElement("div",{className:t.join(" "),style:{height:n}},s.createElement(c.BdM,(0,l.pi)({isHeightAuto:r,forPrint:a},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(s.Component),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=(0,c.VfA)(),t}return(0,l.ZT)(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,a=[],o=(0,c.Q8U)(r.options);return e&&a.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),a.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),(0,c.azq)(c.xS$,{viewSpec:r.viewSpec},(function(e,t){return(0,c.azq)("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},(0,c.azq)(c.Oh2,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:a}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");var o=this.props,i=this.context,s=!o.forPrint&&(0,c.Q8U)(i.options),l=!o.forPrint&&(0,c.PZw)(i.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:s,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}]}),l&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:c.Hbc}]}),(0,c.azq)(c.xS$,{viewSpec:i.viewSpec},(function(e,t){return(0,c.azq)("div",{ref:e,className:["fc-daygri
2d"].concat(t).join(" ")},(0,c.azq)(a,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},t}(c.IdW);function h(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var a=0,o=e;a<o.length;a++){var i=o[a];n[i.row].push(i)}return n}function g(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var a=0,o=e;a<o.length;a++){var i=o[a];n[i.firstCol].push(i)}return n}function p(e,t){var n=[];if(e){for(i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,a=e.segs;r<a.length;r++){var o=a[r];n[o.row].segs.push(o)}}else for(var i=0;i<t;i+=1)n[i]=null;return n}var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context.options.navLinks?{"data-navlink":(0,c.Euv)(e.date),tabIndex:0}:{};return(0,c.azq)(c.R_3,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:v},(function(n,r){return(r||e.forceDayTop)&&(0,c.azq)("div",{className:"fc-daygrid-day-top",ref:n},(0,c.azq)("a",(0,l.pi)({className:"fc-daygrid-day-number"},t),r||(0,c.azq)(c.HYg,null," ")))}))},t}(c.H6J);function v(e){return e.dayNumberText}var y=(0,c.SPZ)({week:"narrow"}),b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,(0,c.k$v)(t.props.elRef,e)},t.handleMoreLinkClick=function(e){var n=t.props;if(n.onMoreClick){var r=n.segsByEachCol,a=r.filter((function(e){return n.segIsHidden[e.eventRange.instance.instanceId]}));n.onMoreClick({date:n.date,allSegs:r,hiddenSegs:a,moreCnt:n.moreCnt,dayEl:t.rootEl,ev:e})}},t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.viewApi,a=this.props,o=a.date,i=a.dateProfile,s={num:a.moreCnt,text:a.buildMoreLinkText(a.moreCnt),view:r},u=n.navLinks?{"data-navlink":(0,c.Euv)(o,"week"),tabIndex:0}:{};return(0,c.azq)(c.hJ8,{date:o,dateProfile:i,todayRange:a.todayRange,showDayNumber:a.showDayNumber,extraHookProps:a.extraHookProps,elRef:this.handleRootEl},(function(t,r,d,f){return(0,c.azq)("td",(0,l.pi)({ref:t,className:["fc-daygrid-day"].concat(r,a.extraClassNames||[]).join(" ")},d,a.extraDataAttrs),(0,c.azq)("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:a.innerElRef},a.showWeekNumber&&(0,c.azq)(c.QOi,{date:o,defaultFormat:y},(function(e,t,n,r){return(0,c.azq)("a",(0,l.pi)({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},u),r)})),!f&&(0,c.azq)(m,{date:o,dateProfile:i,showDayNumber:a.showDayNumber,forceDayTop:a.forceDayTop,todayRange:a.todayRange,extraHookProps:a.extraHookProps}),(0,c.azq)("div",{className:"fc-daygrid-day-events",ref:a.fgContentElRef,style:{paddingBottom:a.fgPaddingBottom}},a.fgContent,Boolean(a.moreCnt)&&(0,c.azq)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:a.moreMarginTop}},(0,c.azq)(c.QJ3,{hookProps:s,classNames:n.moreLinkClassNames,content:n.moreLinkContent,defaultContent:w,didMount:n.moreLinkDidMount,willUnmount:n.moreLinkWillUnmount},(function(t,n,r,a){return(0,c.azq)("a",{ref:t,className:["fc-daygrid-more-link"].concat(n).join(" "),onClick:e.handleMoreLinkClick},a)})))),(0,c.azq)("div",{className:"fc-daygrid-day-bg"},a.bgContent)))}))},t}(c.IdW);function w(e){return e.text}b.addPropsEquality({onMoreClick:!0});var C=(0,c.SPZ)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function x(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||C,r=(0,c.r39)(e.seg,n,t,!0,e.defaultDisplayEventEnd);return(0,c.azq)(c.Vsx,{seg:e.seg,timeText:r,defaultContent:R,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(t,n,r,a){return(0,c.azq)("a",(0,l.pi)({className:["fc-daygri
2d-event","fc-daygrid-dot-event"].concat(n).join(" "),ref:t},(o=e.seg,(i=o.eventRange.def.url)?{href:i}:{})),a);var o,i}))},t}(c.H6J);function R(e){return(0,c.azq)(c.HYg,null,(0,c.azq)("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&(0,c.azq)("div",{className:"fc-event-time"},e.timeText),(0,c.azq)("div",{className:"fc-event-title"},e.event.title||(0,c.azq)(c.HYg,null," ")))}var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,c.azq)(c.h2k,(0,l.pi)({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:C,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(c.H6J);function D(e,t,n,r,a,o,i,s){for(var u=[],d=[],f={},h={},g={},p={},m={},v=0;v<i;v+=1)u.push([]),d.push(0);for(var y=0,b=t=(0,c.hak)(t,s);y<b.length;y++){T(S=b[y],a[S.eventRange.instance.instanceId+":"+S.firstCol]||0)}!0===n||!0===r?function(e,t,n,r){k(e,t,n,!0,(function(e){return e.bottom<=r}))}(d,f,u,o):"number"==typeof n?function(e,t,n,r){k(e,t,n,!1,(function(e,t){return t<r}))}(d,f,u,n):"number"==typeof r&&function(e,t,n,r){k(e,t,n,!0,(function(e,t){return t<r}))}(d,f,u,r);for(var w=0;w<i;w+=1){for(var C=0,x=0,E=0,R=u[w];E<R.length;E++){var S,D=R[E];f[(S=D.seg).eventRange.instance.instanceId]||(h[S.eventRange.instance.instanceId]=D.top,S.firstCol===S.lastCol&&S.isStart&&S.isEnd?(g[S.eventRange.instance.instanceId]=D.top-C,x=0,C=D.bottom):x=D.bottom-C)}x&&(d[w]?p[w]=x:m[w]=x)}function T(e,t){if(!P(e,t,0))for(var n=e.firstCol;n<=e.lastCol;n+=1)for(var r=0,a=u[n];r<a.length;r++){if(P(e,t,a[r].bottom))return}}function P(e,t,n){if(function(e,t,n){for(var r=e.firstCol;r<=e.lastCol;r+=1)for(var a=0,o=u[r];a<o.length;a++){var i=o[a];if(n<i.bottom&&n+t>i.top)return!1}return!0}(e,t,n)){for(var r=e.firstCol;r<=e.lastCol;r+=1){for(var a=u[r],o=0;o<a.length&&n>=a[o].top;)o+=1;a.splice(o,0,{seg:e,top:n,bottom:n+t})}return!0}return!1}for(var z in a)a[z]||(f[z.split(":")[0]]=!0);return{segsByFirstCol:u.map(M),segsByEachCol:u.map((function(t,n){var r=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var a=r[n];t.push(a.seg)}return t}(t);return r=function(e,t,n){for(var r=t,a=(0,c.E4D)(r,1),o={start:r,end:a},i=[],s=0,u=e;s<u.length;s++){var d=u[s],f=d.eventRange,h=f.range,g=(0,c.cMs)(h,o);g&&i.push((0,l.pi)((0,l.pi)({},d),{firstCol:n,lastCol:n,eventRange:{def:f.def,ui:(0,l.pi)((0,l.pi)({},f.ui),{durationEditable:!1}),instance:f.instance,range:g},isStart:d.isStart&&g.start.valueOf()===h.start.valueOf(),isEnd:d.isEnd&&g.end.valueOf()===h.end.valueOf()}))}return i}(r,e[n].date,n)})),segIsHidden:f,segTops:h,segMarginTops:g,moreCnts:d,moreTops:p,paddingBottoms:m}}function M(e,t){for(var n=[],r=0,a=e;r<a.length;r++){var o=a[r];o.seg.firstCol===t&&n.push(o.seg)}return n}function k(e,t,n,r,a){for(var o=e.length,i={},s=[],l=0;l<o;l+=1)s.push([]);for(l=0;l<o;l+=1)for(var u=0,c=0,d=n[l];c<d.length;c++){var f=d[c];a(f,u)?h(f):g(f,u,r),f.top!==f.bottom&&(u+=1)}function h(e){var t=e.seg,n=t.eventRange.instance.instanceId;if(!i[n]){i[n]=!0;for(var r=t.firstCol;r<=t.lastCol;r+=1){for(var a=s[r],o=0;o<a.length&&e.top>=a[o].top;)o+=1;a.splice(o,0,e)}}}function g(n,r,a){var o=n.seg,i=o.eventRange.instance.instanceId;if(!t[i]){t[i]=!0;for(var l=o.firstCol;l<=o.lastCol;l+=1){e[l]+=1;var u=e[l];if(a&&1===u&&r>0)for(var c=r-1;s[l].length>c;)g(s[l].pop(),s[l].length,!1)}}}}var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new c.lAU,t.frameElRefs=new c.lAU,t.fgElRefs=new c.lAU,t.segHarnessRefs=new c.lAU,t.rootElRef=(0,c.VfA)(),t.state={framePositions:null,maxContentHeight:null,segHeights:{}},t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,a=t.context,o=n.cells.length,i=g(n.businessHourSegs,o),s=g(n.bgEventSegs,o),u=g(this.getHighlightSegs(),o),d=g(this.getMirrorSegs(),o),f=D(n.cells,n.fgEventSegs,n.dayMaxEvents,n.dayMaxEventRows,r.segHeights,r.maxContentHeight,o,a.options.eventOrder),h=f.paddingBottoms,p=f.segsByFirstCol,m=f.segsByEachCol,v=f.segIsHidden,y=f.segTops,w=f.segMarginTops,C=f.moreCnts,x=f.moreTops,E=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return(0,c.azq)("tr",{ref:this.rootElRef},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var a=e.renderFgSegs(p[r],v,y,w,E,n.todayRange),o=e.renderFgSegs(d[r],{},y,{},{},n.todayRange,Boolean(n.eventDrag),Boolean(n.eventResize),!1);return(0,c.azq)(b,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,moreCnt:C[r],buildMoreLinkText:n.buildMoreLinkText,onMoreClick:function(e){n.onMoreClick((0,l.pi)((0,l.pi)({},e),{fromCol:r}))},segIsHidden:v,moreMarginTop:x[r],segsByEachCol:m[r],fgPaddingBottom:h[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:(0,c.azq)(c.HYg,null,(0,c.azq)(c.HYg,null,a),(0,c.azq)(c.HYg,null,o)),bgContent:(0,c.azq)(c.HYg,null,e.renderFillSegs(u[r],"highlight"),e.renderFillSegs(i[r],"non-business"),e.renderFillSegs(s[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!(0,c.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,r,a,o,i,s,u){var d=this.context,f
2=this.props.eventSelection,h=this.state.framePositions,g=1===this.props.cells.length,p=[];if(h)for(var m=0,v=e;m<v.length;m++){var y=v[m],b=y.eventRange.instance.instanceId,w=i||s||u,C=a[b],R=t[b]||C,D=t[b]||w||y.firstCol!==y.lastCol||!y.isStart||!y.isEnd,M=void 0,k=void 0,T=void 0,P=void 0;D?(k=n[b],d.isRtl?(P=0,T=h.lefts[y.lastCol]-h.lefts[y.firstCol]):(T=0,P=h.rights[y.firstCol]-h.rights[y.lastCol])):M=r[b],p.push((0,c.azq)("div",{className:"fc-daygrid-event-harness"+(D?" fc-daygrid-event-harness-abs":""),key:b,ref:w?null:this.segHarnessRefs.createRef(b+":"+y.firstCol),style:{visibility:R?"hidden":"",marginTop:M||"",top:k||"",left:T||"",right:P||""}},x(y)?(0,c.azq)(E,(0,l.pi)({seg:y,isDragging:i,isSelected:b===f,defaultDisplayEventEnd:g},(0,c.jHR)(y,o))):(0,c.azq)(S,(0,l.pi)({seg:y,isDragging:i,isResizing:s,isDateSelecting:u,isSelected:b===f,defaultDisplayEventEnd:g},(0,c.jHR)(y,o)))))}return p},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,a=this.state.framePositions,o=[];if(a)for(var i=0,s=e;i<s.length;i++){var u=s[i],d=n?{right:0,left:a.lefts[u.lastCol]-a.lefts[u.firstCol]}:{left:0,right:a.rights[u.firstCol]-a.rights[u.lastCol]};o.push((0,c.azq)("div",{key:(0,c.rRV)(u.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===t?(0,c.azq)(c.I_K,(0,l.pi)({seg:u},(0,c.jHR)(u,r))):(0,c.MA3)(t)))}return c.azq.apply(void 0,(0,l.pr)([c.HYg,{}],o))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var a=this.rootElRef.current;this.setState({framePositions:new c.zIV(a,r,!0,!1)})}}var o=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.setState({segHeights:this.computeSegHeights(),maxContentHeight:o?this.computeMaxContentHeight():null})}},t.prototype.computeSegHeights=function(){return(0,c._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}(c.IdW);T.addPropsEquality({onMoreClick:!0}),T.addStateEquality({segHeights:c.S6v});var P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.repositioner=new c.snJ(t.updateSize.bind(t)),t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&(0,c.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,l.ZT)(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,c.azq)("div",(0,l.pi)({className:n.join(" ")},t.extraAttrs,{ref:this.handleRootEl}),(0,c.azq)("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},(0,c.azq)("span",{className:"fc-popover-title"},t.title),(0,c.azq)("span",{className:"fc-popover-close "+e.getIconClass("close"),onClick:this.handleCloseClick})),(0,c.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,r=this.rootEl;if(r){var a,o=r.getBoundingClientRect(),i=t.getBoundingClientRect(),s=n?n.getBoundingClientRect().top:i.top;s=Math.min(s,window.innerHeight-o.height-10),s=Math.max(s,10),a=this.context.isRtl?i.right-o.width:i.left,a=Math.min(a,window.innerWidth-o.width-10),a=Math.max(a,10),(0,c.bg6)(r,{top:s,left:a})}},t}(c.H6J),z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,c.VfA)(),t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,a=r.date,o=r.hiddenInstances,i=r.todayRange,s=r.dateProfile,u=r.selectedInstanceId,d=n.format(a,t.dayPopoverFormat);return(0,c.azq)(c.hJ8,{date:a,dateProfile:s,todayRange:i,elRef:this.rootElRef},(function(e,t,n){return(0,c.azq)(P,{elRef:e,title:d,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,onClose:r.onCloseClick,alignmentEl:r.alignmentEl,topAlignmentEl:r.topAlignmentEl},(0,c.azq)(c.R_3,{date:a,dateProfile:s,todayRange:i},(function(e,t){return t&&(0,c.azq)("div",{className:"fc-more-popover-misc",ref:e},t)})),r.segs.map((function(e){var t=e.eventRange.instance.instanceId;
2return(0,c.azq)("div",{className:"fc-daygrid-event-harness",key:t,style:{visibility:o[t]?"hidden":""}},x(e)?(0,c.azq)(E,(0,l.pi)({seg:e,isDragging:!1,isSelected:t===u,defaultDisplayEventEnd:!1},(0,c.jHR)(e,i))):(0,c.azq)(S,(0,l.pi)({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===u,defaultDisplayEventEnd:!1},(0,c.jHR)(e,i))))})))}))},t.prototype.positionToHit=function(e,t,n){var r=this.rootElRef.current;if(!n||!r)return null;var a=n.getBoundingClientRect(),o=r.getBoundingClientRect(),i=o.left-a.left,s=o.top-a.top,l=e-i,u=t-s,d=this.props.date;return l>=0&&l<o.width&&u>=0&&u<o.height?{dateSpan:{allDay:!0,range:{start:d,end:(0,c.E4D)(d,1)}},dayEl:r,relativeRect:{left:i,top:s,right:o.width,bottom:o.height},layer:1}:null},t}(c.IdW),q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=(0,c.HPs)(h),t.splitBgEventSegs=(0,c.HPs)(h),t.splitFgEventSegs=(0,c.HPs)(h),t.splitDateSelectionSegs=(0,c.HPs)(h),t.splitEventDrag=(0,c.HPs)(p),t.splitEventResize=(0,c.HPs)(p),t.buildBuildMoreLinkText=(0,c.HPs)(H),t.morePopoverRef=(0,c.VfA)(),t.rowRefs=new c.lAU,t.state={morePopoverState:null},t.handleRootEl=function(e){t.rootEl=e,(0,c.k$v)(t.props.elRef,e)},t.handleMoreLinkClick=function(e){var n=t.context,r=n.dateEnv,a=n.options.moreLinkClick;function o(e){var t=e.eventRange,a=t.def,o=t.instance,i=t.range;return{event:new c.voO(n,a,o),start:r.toDate(i.start),end:r.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof a&&(a=a({date:r.toDate(e.date),allDay:!0,allSegs:e.allSegs.map(o),hiddenSegs:e.hiddenSegs.map(o),jsEvent:e.ev,view:n.viewApi})),a&&"popover"!==a?"string"==typeof a&&n.calendarApi.zoomTo(e.date,a):t.setState({morePopoverState:(0,l.pi)((0,l.pi)({},e),{currentFgEventSegs:t.props.fgEventSegs,fromRow:e.fromRow,fromCol:e.fromCol})})},t.handleMorePopoverClose=function(){t.setState({morePopoverState:null})},t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,a=t.dayMaxEvents,o=t.expandRows,i=this.state.morePopoverState,s=t.cells.length,u=this.splitBusinessHourSegs(t.businessHourSegs,s),d=this.splitBgEventSegs(t.bgEventSegs,s),f=this.splitFgEventSegs(t.fgEventSegs,s),h=this.splitDateSelectionSegs(t.dateSelectionSegs,s),g=this.splitEventDrag(t.eventDrag,s),p=this.splitEventResize(t.eventResize,s),m=this.buildBuildMoreLinkText(this.context.options.moreLinkText),v=!0===a||!0===r;v&&!o&&(v=!1,r=null,a=null);
2var y=["fc-daygrid-body",v?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",o?"":"fc-daygrid-body-natural"];return(0,c.azq)("div",{className:y.join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},(0,c.azq)(c.wh8,{unit:"day"},(function(v,y){return(0,c.azq)(c.HYg,null,(0,c.azq)("table",{className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:o?t.clientHeight:""}},t.colGroupNode,(0,c.azq)("tbody",null,t.cells.map((function(o,i){return(0,c.azq)(T,{ref:e.rowRefs.createRef(i),key:o.length?o[0].date.toISOString():i,showDayNumbers:s>1,showWeekNumbers:t.showWeekNumbers,todayRange:y,dateProfile:n,cells:o,renderIntro:t.renderRowIntro,businessHourSegs:u[i],eventSelection:t.eventSelection,bgEventSegs:d[i].filter(N),fgEventSegs:f[i],dateSelectionSegs:h[i],eventDrag:g[i],eventResize:p[i],dayMaxEvents:a,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,buildMoreLinkText:m,onMoreClick:function(t){e.handleMoreLinkClick((0,l.pi)((0,l.pi)({},t),{fromRow:i}))}})})))),!t.forPrint&&i&&i.currentFgEventSegs===t.fgEventSegs&&(0,c.azq)(z,{ref:e.morePopoverRef,date:i.date,dateProfile:n,segs:i.allSegs,alignmentEl:i.dayEl,topAlignmentEl:1===s?t.headerAlignElRef.current:null,onCloseClick:e.handleMorePopoverClose,selectedInstanceId:t.eventSelection,hiddenInstances:(t.eventDrag?t.eventDrag.affectedInstances:null)||(t.eventResize?t.eventResize.affectedInstances:null)||{},todayRange:y}))})))},t.prototype.prepareHits=function(){this.rowPositions=new c.zIV(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new c.zIV(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.positionToHit=function(e,t){var n=this.morePopoverRef.current,r=n?n.positionToHit(e,t,this.rootEl):null,a=this.state.morePopoverState;if(r)return(0,l.pi)({row:a.fromRow,col:a.fromCol},r);var o=this.colPositions,i=this.rowPositions,s=o.leftToIndex(e),u=i.topToIndex(t);return null!=u&&null!=s?{row:u,col:s,dateSpan:{range:this.getCellRange(u,s),allDay:!0},dayEl:this.getCellEl(u,s),relativeRect:{left:o.lefts[s],right:o.rights[s],top:i.tops[u],bottom:i.bottoms[u]}}:null},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,c.E4D)(n,1)}},t}(c.IdW);function H(e){return"function"==typeof e?e:function(t){return"+"+t+" "+e}}function N(e){return e.eventRange.def.allDay}var j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return(0,l.ZT)(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(c.RVT),W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new j,t.tableRef=(0,c.VfA)(),t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,c.azq)(q,(0,l.pi)({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);return n?{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}:null},t}(c.IdW),U=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=(0,c.HPs)(A),t.headerRef=(0,c.VfA)(),t.tableRef=(0,c.VfA)(),t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,a=this.props,o=this.buildDayTableModel(a.dateProfile,r),i=n.dayHeaders&&(0,c.azq)(c.lR3,{ref:this.headerRef,dateProfile:a.dateProfile,dates:o.headerDates,datesRepDistinctDays:1===o.rowCnt}),s=function(t){return(0,c.azq)(W,{ref:e.tableRef,dateProfile:a.dateProfile,dayTableModel:o,businessHours:a.businessHours,dateSelection:a.dateSelection,eventStore:a.eventStore,eventUiBases:a.eventUiBases,eventSelection:a.eventSelection,eventDrag:a.eventDrag,eventResize:a.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!a.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:a.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(i,s,o.colCnt,n.dayMinWidth):this.renderSimpleLayout(i,s)},t}(f);function A(e,t){var n=new c.xB8(e.renderRange,t);return new c.xVj(n,/year|month|week/.test(e.currentRangeUnit))}var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.buildRenderRange=function(t,n,r){var a,o=this.props.dateEnv,i=e.prototype.buildRenderRange.call(this,t,n,r),s=i.start,l=i.end;if(/^(year|month)$/.test(n)&&(s=o.startOfWeek(s),(a=o.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=(0,c.jh6)(a,1))),this.props.monthMode&&this.props.fixedWeekCount){var u=Math.ceil((0,c.bXg)(s,l));l=(0,c.jh6)(l,6-u)}return{start:s,end:l}},t}(c.VPe),F={moreLinkClick:c.yRu,moreLinkClassNames:c.yRu,moreLinkContent:c.yRu,moreLinkDidMount:c.yRu,moreLinkWillUnmount:c.yRu},I=(0,c.rxu)({initialView:"dayGridMonth",optionRefiners:F,views:{dayGrid:{component:U,dateProfileGeneratorClass:O},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.dayDate,
2n=e.todayRange,r=this.context,a=r.theme,o=r.dateEnv,i=r.options,s=r.viewApi,u=(0,c.iCZ)(t,n),d=i.listDayFormat?o.format(t,i.listDayFormat):"",f=i.listDaySideFormat?o.format(t,i.listDaySideFormat):"",h=i.navLinks?(0,c.Euv)(t):null,g=(0,l.pi)({date:o.toDate(t),view:s,text:d,sideText:f,navLinkData:h},u),p=["fc-list-day"].concat((0,c.yLW)(u,a));return(0,c.azq)(c.QJ3,{hookProps:g,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:Y,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(e,n,r,o){return(0,c.azq)("tr",{ref:e,className:p.concat(n).join(" "),"data-date":(0,c.SVl)(t)},(0,c.azq)("th",{colSpan:3},(0,c.azq)("div",{className:"fc-list-day-cushion "+a.getClass("tableCellShaded"),ref:r},o)))}))},t}(c.H6J);function Y(e){var t=e.navLinkData?{"data-navlink":e.navLinkData,tabIndex:0}:{};return(0,c.azq)(c.HYg,null,e.text&&(0,c.azq)("a",(0,l.pi)({className:"fc-list-day-text"},t),e.text),e.sideText&&(0,c.azq)("a",(0,l.pi)({className:"fc-list-day-side-text"},t),e.sideText))}var B=(0,c.SPZ)({hour:"numeric",minute:"2-digit",meridiem:"short"}),G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||B;return(0,c.azq)(c.Vsx,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:V,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,a,o,i,s){return(0,c.azq)("tr",{className:["fc-list-event",s.event.url?"fc-event-forced-url":""].concat(a).join(" "),ref:e},function(e,t,n){var r=n.options;if(!1!==r.displayEventTime){var a=e.eventRange.def,o=e.eventRange.instance,i=!1,s=void 0;if(a.allDay?i=!0:(0,c.p7j)(e.eventRange.range)?e.isStart?s=(0,c.r39)(e,t,n,null,null,o.range.start,e.end):e.isEnd?s=(0,c.r39)(e,t,n,null,null,e.start,o.range.end):i=!0:s=(0,c.r39)(e,t,n),i){var l={text:n.options.allDayText,view:n.viewApi};return(0,c.azq)(c.QJ3,{hookProps:l,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:_,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(e,t,n,r){return(0,c.azq)("td",{className:["fc-list-event-time"].concat(t).join(" "),ref:e},r)}))}return(0,c.azq)("td",{className:"fc-list-event-time"},s)}return null}(n,r,t),(0,c.azq)("td",{className:"fc-list-event-graphic"},(0,c.azq)("span",{className:"fc-list-event-dot",style:{borderColor:s.borderColor||s.backgroundColor}})),(0,c.azq)("td",{className:"fc-list-event-title",ref:o},i))}))},t}(c.H6J);function V(e){var t=e.event,n=t.url,r=n?{href:n}:{};return(0,c.azq)("a",(0,l.pi)({},r),t.title)}function _(e){return e.text}var Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=(0,c.HPs)(X),t.eventStoreToSegs=(0,c.HPs)(t._eventStoreToSegs),t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return(0,l.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],a=this.computeDateVars(t.dateProfile),o=a.dayDates,i=a.dayRanges,s=this.eventStoreToSegs(t.eventStore,t.eventUiBases,i);return(0,c.azq)(c.xS$,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,a){return(0,c.azq)("div",{ref:n,className:r.concat(a).join(" ")},(0,c.azq)(c.Ttm,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},s.length>0?e.renderSegList(s,o):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return(0,c.azq)(c.QJ3,{hookProps:r,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:Q,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e,t,n,r){return(0,c.azq)("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},(0,c.azq)("div",{className:"fc-list-empty-cushion",ref:n},r))}))},t.prototype.renderSegList=function(e,t){var n=this.context,r=n.theme,a=n.options,o=function(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return(0,c.azq)(c.wh8,{unit:"day"},(function(e,n){for(var i=[],s=0;s<o.length;s+=1){var u=o[s];if(u){var d=t[s].toISOString();i.push((0,c.azq)(L,{key:d,dayDate:t[s],todayRange:n}));for(var f=0,h=u=(0,c.hak)(u,a.eventOrder);f<h.length;f++){var g=h[f];i.push((0,c.azq)(G,(0,l.pi)({key:d+":"+g.eventRange.instance.instanceId,seg:g,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1},(0,c.jHR)(g,n,e))))}}}return(0,c.azq)("table",{className:"fc-list-table "+r.getClass("table")},(0,c.azq)("tbody",null,i))}))},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs((0,c.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,a=e;r<a.length;r++){var o=a[r];n.push.apply(n,this.eventRangeToSegs(o,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,r,a,o=this.context.dateEnv,i=this.context.options.nextDayThreshold,s=e.range,l=e.def.allDay,u=[];for(n=0;n<t.length;n+=1)if((r=(0,c.cMs)(s,t[n]))&&(a={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===s.end.valueOf(),dayIndex:n},u.push(a),!a.isEnd&&!l&&n+1<t.length&&s.end<o.add(t[n+1].start,i))){a.end=s.end,a.isEnd=!0;break}return u},t}(c.IdW);function Q(e){return e.text}function X(e){for(var t=(0,c.b7Q)(e.renderRange.start),n=e.renderRange.end,r=[],a=[];t<n;)r.push(t),a.push({start:t,end:(0,c.E4D)(t,1)}),t=(0,c.E4D)(t,1);return{dayDates:r,dayRanges:a}}var J={listDayFormat:$,listDaySideFormat:$,noEventsClassNames:c.yRu,noEventsContent:c.yRu,noEventsDidMount:c.yRu,noEventsWillUnmount:c.yRu};function $(e){return!1===e?null:(0,c.SPZ)(e)}var K=(0,c.rxu)({optionRefiners:J,views:{list:{component:Z,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"}}}}),ee=n(91914),te=n.n(ee);function ne(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function re(e){ne(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.
21 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function ae(e,t){ne(2,arguments);var n=re(e),r=re(t);return n.getTime()-r.getTime()}var oe=36e5;function ie(e,t){ne(2,arguments);var n=ae(e,t)/oe;return n>0?Math.floor(n):Math.ceil(n)}function se(e){ne(1,arguments);var t=re(e);return t.setHours(0,0,0,0),t}function le(e){ne(1,arguments);var t=re(e);return!isNaN(t)}var ue={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ce(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var de={date:ce({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ce({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ce({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},fe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function he(e){return function(t,n){var r,a=n||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=a.width?String(a.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var s=e.defaultWidth,l=a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ge(e){return function(t,n){var r=String(t),a=n||{},o=a.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=r.match(i);if(!s)return null;var l,u=s[0],c=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(c)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(c,(function(e){return e.test(u)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(c,(function(e){return e.test(u)})),l=e.valueCallback?e.valueCallback(l):l,{value:l=a.valueCallback?a.valueCallback(l):l,rest:r.slice(u.length)}}}var pe,me={code:"en-US",formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof ue[e]?ue[e]:1===t?ue[e].one:ue[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:de,formatRelative:function(e,t,n,r){return fe[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:he({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:he({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:he({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:he({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:he({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(pe={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},a=n.match(pe.matchPattern);if(!a)return null;var o=a[0],i=n.match(pe.parsePattern);if(!i)return null;var s=pe.valueCallback?pe.valueCallback(i[0]):i[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(o.length)}}),era:ge({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ge({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ge({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ge({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ge({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function ve(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ye(e,t){ne(2,arguments);var n=re(e).getTime(),r=ve(t);return new Date(n+r)}function be(e,t){ne(2,arguments);var n=ve(t);return ye(e,-n)}function we(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var Ce={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return we("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):we(n+1,2)},d:function(e,t){return we(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return we(e.getUTCHours()%12||12,t.length)},H:function(e,t){return we(e.getUTCHours(),t.length)},m:function(e,t){return we(e.getUTCMinutes(),t.length)},s:function(e,t){return we(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return we(Math.floor(r*Math.pow(10,n-3)),t.length)}},xe=864e5;function Ee(e){ne(1,arguments);var t=1,n=re(e),r=n.getUTCDay(),a=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}function Re(e){ne(1,arguments);var t=re(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var a=Ee(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var i=Ee(o);return t.getTime()>=a.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Se(e){ne(1,arguments);var t=Re(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Ee(n);return r}var De=6048e5;function Me(e,t){ne(1,arguments);var n=t||{},r=n.locale,a=r&&r.options&&r.options.weekStartsOn,o=null==a?0:ve(a),i=null==n.weekStartsOn?o:ve(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=re(e),l=s.getUTCDay(),u=(l<i?7:0)+l-i;return s.setUTCDate(s.getUTCDate()-u),s.setUTCHours(0,0,0,0),s}function ke(e,t){ne(1,arguments);var n=re(e,t),r=n.getUTCFullYear(),a=t||{},o=a.locale,i=o&&o.options&&o.options.firstWeekContainsDate,s=null==i?1:ve(i),l=null==a.firstWeekContainsDate?s:ve(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(r+1,0,l),u.setUTCHours(0,0,0,0);var c=Me(u,t),d=new Date(0);d.setUTCFullYear(r,0,l),d.setUTCHours(0,0,0,0);var f=Me(d,t);return n.getTime()>=c.getTime()?r+1:n.getTime()>=f.getTime()?r:r-1}function Te(e,t){ne(1,arguments);var n=t||{},r=n.locale,a=r&&r.options&&r.options.firstWeekContainsDate,o=null==a?1:ve(a),i=null==n.firstWeekContainsDate?o:ve(n.firstWeekContainsDate),s=ke(e,t),l=new Date(0);l.setUTCFullYear(s,0,i),l.setUTCHours(0,0,0,0);var u=Me(l,t);return u}var Pe=6048e5;var ze="midnight",qe="noon",He="morning",Ne="afternoon",je="evening",We="night";function Ue(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),o=r%60;if(0===o)return n+String(a);var i=t||"";return n+String(a)+i+we(o,2)}function Ae(e,t){return e%60==0?(e>0?"-":"+")+we(Math.abs(e)/60,2):Oe(e,t)}function Oe(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e);return r+we(Math.floor(a/60),2)+n+we(a%60,2)}var Fe={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return Ce.y(e,t)},Y:function(e,t,n,r){var a=ke(e,r),o=a>0?a:1-a;return"YY"===t?we(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):we(o,t.length)},R:function(e,t){return we(Re(e),t.length)},u:function(e,t){return we(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return we(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return we(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ce.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return we(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var a=function(e,t){ne(1,arguments);
vendor: 4,823 bytes, line 2
2var n=re(e),r=Me(n,t).getTime()-Te(n,t).getTime();return Math.round(r/Pe)+1}(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):we(a,t.length)},I:function(e,t,n){var r=function(e){ne(1,arguments);var t=re(e),n=Ee(t).getTime()-Se(t).getTime();return Math.round(n/De)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):we(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ce.d(e,t)},D:function(e,t,n){var r=function(e){ne(1,arguments);var t=re(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),a=n-r;return Math.floor(a/xe)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):we(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return we(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return we(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return we(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,a=e.getUTCHours();switch(r=12===a?qe:0===a?ze:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,a=e.getUTCHours();switch(r=a>=17?je:a>=12?Ne:a>=4?He:We,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Ce.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Ce.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):we(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):we(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Ce.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Ce.s(e,t)},S:function(e,t){return Ce.S(e,t)},X:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Ae(a);case"XXXX":case"XX":return Oe(a);case"XXXXX":case"XXX":default:return Oe(a,":")}},x:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return Ae(a);case"xxxx":case"xx":return Oe(a);case"xxxxx":case"xxx":default:return Oe(a,":")}},O:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ue(a,":");case"OOOO":default:return"GMT"+Oe(a,":")}},z:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ue(a,":");
2case"zzzz":default:return"GMT"+Oe(a,":")}},t:function(e,t,n,r){var a=r._originalDate||e;return we(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,n,r){return we((r._originalDate||e).getTime(),t.length)}};function Ie(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Le(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var Ye={p:Le,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),a=r[1],o=r[2];if(!o)return Ie(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Ie(a,t)).replace("{{time}}",Le(o,t))}};function Be(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var Ge=["D","DD"],Ve=["YY","YYYY"];function _e(e){return-1!==Ge.indexOf(e)}function Ze(e){return-1!==Ve.indexOf(e)}function Qe(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
2concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var Xe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Je=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$e=/^'([^]*?)'?$/,Ke=/''/g,et=/[a-zA-Z]/;function tt(e,t,n){ne(2,arguments);var r=String(t),a=n||{},o=a.locale||me,i=o.options&&o.options.firstWeekContainsDate,s=null==i?1:ve(i),l=null==a.firstWeekContainsDate?s:ve(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=o.options&&o.options.weekStartsOn,c=null==u?0:ve(u),d=null==a.weekStartsOn?c:ve(a.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var f=re(e);if(!le(f))throw new RangeError("Invalid time value");var h=Be(f),g=be(f,h),p={firstWeekContainsDate:l,weekStartsOn:d,locale:o,_originalDate:f},m=r.match(Je).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,Ye[t])(e,o.formatLong,p):e})).join("").match(Xe).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return nt(n);var i=Fe[r];if(i)return!a.useAdditionalWeekYearTokens&&Ze(n)&&Qe(n,t,e),!a.useAdditionalDayOfYearTokens&&_e(n)&&Qe(n,t,e),i(g,n,o.localize,p);if(r.match(et))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return m}function nt(e){return e.match($e)[1].replace(Ke,"'")}var rt=n(92985),at=(n(38037),{});var ot=function(e){return function(t){if(!e.calendar)return Promise.resolve([]);var n=function(e){return":start:"+e.startStr+":end:"+e.endStr+":timeZone:"+e.timeZone}(t);return at[n]&&ie(at[n].stored,new Date(Date.now()))<1?Promise.resolve(o()(at[n].value)):te().post("/.netlify/functions/events").send({id:e.calendar,startStr:t.startStr,endStr:t.endStr,timeZone:t.timeZone}).set("Accept","application/json").then((function(e){if(e.body.error)throw Exception(e.body.error);return at[n]={value:o()(e.body.events),stored:new Date(Date.now())},e.body.events}))}},it=function(e){var t=e.items;return s.createElement("dl",null,t.map((function(e,t){return s.createElement("span",{key:"item"+t+"_span"},s.createElement("dt",{key:"item_"+t,style:{float:"left",width:"5.5em",overflow:"hidden",clear:"left",textAlign:"left",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"bold"}},e.name),s.createElement("dd",{key:"item_"+t+"_value",style:{marginLeft:"6em"}},e.value))})))};function st(e,t){return function(e,t){ne(2,arguments);var n=se(e),r=se(t);return n.getTime()===r.getTime()}(e,t)||24==ie(t,e)&&0===e.getHours()}function lt(e){var t=!e.off&&new Date(e.start),n=!e.off&&new Date(e.end),r=[];return e.allDay?st(t,n)?r.push({name:"Date",value:tt(t,"MMMM do")}):r.push({name:"Dates",value:s.createElement(s.Fragment,null,tt(t,"MMMM do"),"–",tt(n,"MMMM do"))}):(r.push({name:"Date",value:tt(t,"MMMM do")}),r.push({name:"Time",value:s.createElement(s.Fragment,null,tt(t,"h:mm bbb"),"–",tt(n,"h:mm bbb"))})),e.location&&r.push({name:"Location",value:e.location}),r}function ut(e,t,n){e=e.replace(/(<br>|<br\/>)/g,"\n");var r="^\\s*"+t.name+(t.value||":(.*)$"),a=new RegExp(r,"m"),o=e.match(a),i=o?o[1].replace(/^\s+/,""):"";return o&&(void 0===t.store||t.store)&&n.push({name:t.name,value:i}),[e.replace(RegExp(r,"mg"),""),n,i]}var ct=function(e){var t,n=e.event,a=e.eventDismiss;if(n.off)return null;var o=function(e){if(!e)return{labels:[],zoomLink:"",raw:e};e=e.replace(/^Time:.*$/,"");for(var t=[],n="",r="",a=0,o=[{name:"Topic",store:!1},{name:"Meeting ID"},{name:"Passcode"},{name:"Time",store:!1},{name:"Join Zoom Meeting",value:"\\n.*(https://[^\n<]+).*\n",store:!1}];a<o.length;a++){var i=o[a],s=ut(e,i,t);e=s[0],t=s[1],r=s[2],"Join Zoom Meeting"===i.name&&(n=r)}return{labels:t,zoomLink:n,description:e.replace(/\n{3,}/g,"\n\n").replace(/^\n+/,"").replace(/\n+$/,"").replaceAll("\n","<br/>")}}(n.extendedProps.description),l=o.labels,u=o.description,c=o.zoomLink;return!n.off&&s.createElement(rt.xu,{sx:{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:1e3,bg:"rgba(1,1,1,0.5)",backdropFilter:"blur(20px)"},onClick:function(e){return e.preventDefault()}},s.createElement(rt.xu,{sx:{bg:"background",zIndex:1010,display:"flex",backdropFilter:"none",transparency:0,left:"50%",top:"50%",transform:"translate(-50%, -50%)",p:"2rem",borderRadius:"0.5rem",opacity:1,justifyContent:"left",alignContent:"top",position:"fixed",flexDirection:"column",boxShadow:"2px 2px 6px black"}},s.createElement(rt.x8,{sx:(t={m:"0",top:"0",right:"0",fontSize:1,position:"absolute",p:"0.2em"},t.m="1em",t),onClick:a}),s.createElement(i.Ge.h3,{sx:{mb:"0.1em",fontVariant:"small-caps"}},n.title),s.createElement(rt.xu,null,s.createElement(rt.xu,{sx:{width:"min(calc(100vw - 6em), 40em)",height:"min(calc(50vh - 6em), 15em)",overflowY:"scroll"}},s.createElement(it,{items:[].concat((0,r.Z)(lt(n)),(0,r.Z)(l))}),s.createElement("span",{dangerouslySetInnerHTML:{__html:u}})),s.createElement(rt.zx,{sx:{m:"1rem",justifySelf:"center",alignSelf:"end"},type:"button",variant:"primary",onClick:function(){return window.open(n.url,"_newtab")}},"Open in Google"),c&&s.createElement(rt.zx,{sx:{m:"1rem",justifySelf:"center",alignSelf:"end"},type:"button",variant:"secondary",onClick:function(){return window.open(c,"_blank")}},"Goto Zoom Meeting"))))},dt={list:"listMonth",month:"dayGridMonth",week:"dayGridWeek"}
2,ft=function(e){var t=e.node,n=(0,s.useState)({off:!0}),r=n[0],a=n[1],o=document.querySelector("html");return(0,s.useEffect)((function(){r.off?o.style.overflow="visible":o.style.overflow="hidden"}),[r.off]),s.createElement(s.Fragment,null,s.createElement(ct,{event:r,eventDismiss:function(){return a({off:!0})}}),s.createElement(rt.xu,{sx:{m:"1em"}},s.createElement(d,{plugins:[I,K],initialView:dt[t.default_view],headerToolbar:{start:"title",center:"listMonth,dayGridMonth,dayGridWeek",end:"today prev,next"},events:ot(t),eventClick:function(e){e.jsEvent.preventDefault(),a(e.event)}})))}},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},44037:function(e,t,n){var r=n(98363),a=n(3674);e.exports=function(e,t){return e&&r(t,a(t),e)}},63886:function(e,t,n){var r=n(98363),a=n(81704);e.exports=function(e,t){return e&&r(t,a(t),e)}},85990:function(e,t,n){var r=n(46384),a=n(77412),o=n(34865),i=n(44037),s=n(63886),l=n(64626),u=n(278),c=n(18805),d=n(1911),f=n(58234),h=n(46904),g=n(64160),p=n(43824),m=n(29148),v=n(38517),y=n(1469),b=n(44144),w=n(56688),C=n(13218),x=n(72928),E=n(3674),R=n(81704),S="[object Arguments]",D="[object Function]",M="[object Object]",k={};k[S]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[M]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[D]=k["[object WeakMap]"]=!1,e.exports=function e(t,n,T,P,z,q){var H,N=1&n,j=2&n,W=4&n;if(T&&(H=z?T(t,P,z,q):T(t)),void 0!==H)return H;if(!C(t))return t;var U=y(t);if(U){if(H=p(t),!N)return u(t,H)}else{var A=g(t),O=A==D||"[object GeneratorFunction]"==A;if(b(t))return l(t,N);if(A==M||A==S||O&&!z){if(H=j||O?{}:v(t),!N)return j?d(t,s(H,t)):c(t,i(H,t))}else{if(!k[A])return z?t:{};H=m(t,A,N)}}q||(q=new r);var F=q.get(t);if(F)return F;q.set(t,H),x(t)?t.forEach((function(r){H.add(e(r,n,T,r,t,q))})):w(t)&&t.forEach((function(r,a){H.set(a,e(r,n,T,a,t,q))}));var I=U?void 0:(W?j?h:f:j?R:E)(t);return a(I||t,(function(r,a){I&&(r=t[a=r]),o(H,a,e(r,n,T,a,t,q))})),H}},3118:function(e,t,n){var r=n(13218),a=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},25588:function(e,t,n){var r=n(64160),a=n(37005);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},29221:function(e,t,n){var r=n(64160),a=n(37005);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},10313:function(e,t,n){var r=n(13218),a=n(25726),o=n(33498),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=a(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,i=o&&o.exports===a?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),a=r?r.prototype:void 0,o=a?a.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),a=n(89465);e.exports=function(e,t,n,o){var i=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),i?a(n,u,c):r(n,u,c)}return n}},18805:function(e,t,n){var r=n(98363),a=n(99551);e.exports=function(e,t){return r(e,a(e),t)}},1911:function(e,t,n){var r=n(98363),a=n(51442);e.exports=function(e,t){return r(e,a(e),t)}},46904:function(e,t,n){var r=n(68866),a=n(51442),o=n(81704);e.exports=function(e){return r(e,o,a)}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},51442:function(e,t,n){var r=n(62488),a=n(85924),o=n(99551),i=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=s},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input
2=e.input),r}},29148:function(e,t,n){var r=n(74318),a=n(57157),o=n(93147),i=n(40419),s=n(77133);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return a(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Set]":return new l;case"[object Symbol]":return i(e)}}},38517:function(e,t,n){var r=n(3118),a=n(85924),o=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(a(e))}},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},50361:function(e,t,n){var r=n(85990);e.exports=function(e){return r(e,5)}},56688:function(e,t,n){var r=n(25588),a=n(7518),o=n(31167),i=o&&o.isMap,s=i?a(i):r;e.exports=s},72928:function(e,t,n){var r=n(29221),a=n(7518),o=n(31167),i=o&&o.isSet,s=i?a(i):r;e.exports=s},81704:function(e,t,n){var r=n(14636),a=n(10313),o=n(98612);e.exports=function(e){return o(e)?r(e,!0):a(e)}}}]);
3//# sourceMappingURL=680-5f07ccb6f0b7d40177cb.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.