| 1 | | (()=>{"use strict";var e={110:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',"",{version:3,sources:["webpack://./node_modules/tippy.js/dist/tippy.css"],names:[],mappings:"AAAA,mDAAmD,SAAS,CAAC,kBAAkB,4BAA4B,CAAC,WAAW,iBAAiB,CAAC,qBAAqB,CAAC,UAAU,CAAC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,SAAS,CAAC,gDAAgD,CAAC,6CAA6C,QAAQ,CAAC,oDAAoD,WAAW,CAAC,MAAM,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,2BAA2B,CAAC,gDAAgD,KAAK,CAAC,uDAAuD,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,8BAA8B,CAAC,8CAA8C,OAAO,CAAC,qDAAqD,0BAA0B,CAAC,yBAAyB,CAAC,UAAU,CAAC,4BAA4B,CAAC,+CAA+C,MAAM,CAAC,sDAAsD,SAAS,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,6BAA6B,CAAC,6CAA6C,yDAAyD,CAAC,aAAa,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,oBAAoB,UAAU,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,eAAe,iBAAiB,CAAC,eAAe,CAAC,SAAS",sourcesContent:['.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'],sourceRoot:""}]);const s=a},588:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}","",{version:3,sources:["webpack://./node_modules/tippy.js/themes/light.css"],names:[],mappings:"AAAA,8BAA8B,aAAa,CAAC,mHAAmH,CAAC,qBAAqB,CAAC,uEAAuE,qBAAqB,CAAC,0EAA0E,wBAAwB,CAAC,wEAAwE,sBAAsB,CAAC,yEAAyE,uBAAuB,CAAC,8CAA8C,qBAAqB,CAAC,+CAA+C,SAAS",sourcesContent:[".tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}"],sourceRoot:""}]);const s=a},150:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,'/* Visualize that we can click on an event with tippy content */\na.fc-event[data-tippy-content],\ntd.fc-list-event-title a[data-tippy-content] {\n cursor: pointer;\n}\n\n/* Not sure what this does... */\n.pgc-calendar-wrapper *,\n.pgc-calendar-wrapper *::before,\n.pgc-calendar-wrapper *::after {\n word-break: initial;\n}\n\n/**********************************\n * Start calendar filter checkboxes\n **********************************/\n.pgc-calendar-filter input[type=checkbox]:focus+label span,\n.pgc-calendar-filter input[type=checkbox]:active+label span {\n outline: 1px dashed black;\n}\n\n.pgc-calendar-filter input[type=checkbox] {\n opacity: 0;\n position: fixed;\n /* absolute makes the page scroll to top when checked */\n}\n\n.pgc-calendar-color {\n width: 1.4rem;\n height: 1.4rem;\n padding: 0 .2rem;\n opacity: .4;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label {\n margin: 0 1rem 0 0;\n padding: 0;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span {\n opacity: 1;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label span:before {\n content: "✔";\n line-height: 1.4rem;\n visibility: hidden;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span:before {\n visibility: visible;\n}\n\n.pgc-calendar-filter:first-child {\n margin-bottom: 1rem;\n}\n\n.pgc-calendar-filter:last-child {\n margin-top: 1rem;\n}\n\n/* End calendar filter checkboxes */\n\n\n\n/*****************************************************\n * Start tippy content basic styling\n * This can be overruled or detailed in a custom theme\n *****************************************************/\n.tippy-content {\n padding: 1rem;\n}\n\n.pgc-event-title {\n font-size: large;\n font-weight: 500;\n}\n\n.pgc-popup-row-icon {\n width: 2rem;\n float: left;\n}\n\n.pgc-popup-row-value {\n margin-left: 2rem;\n}\n\n.pgc-event-title .pgc-popup-row-value {\n margin-right: 3rem;\n margin-left: 0;\n}\n\n.pgc-popup-row {\n clear: both;\n margin-bottom: 1rem;\n}\n\n.pgc-popup-row ul,\n.pgc-popup-row li {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.pgc-popup-draghandle {\n position: absolute;\n right: 1rem;\n top: 1rem;\n cursor: move;\n opacity: .4;\n}\n\n/* End tippy content basic styling */\n\n/*************************\n * Start loading and error\n *************************/\n\n.pgc-loading-el,\n.pgc-error-el {\n position: absolute;\n background-color: #fcf8e3;\n padding: 1rem;\n left: 0;\n top: 0;\n opacity: .8;\n z-index: 1000;\n}\n\n.pgc-error-el {\n background-color: red;\n opacity: 1;\n}\n\n/*********************************************************************\n * On small screens the title and buttons need to get below each other\n *********************************************************************/\n@media(max-width:649px) {\n .fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: .6rem;\n }\n\n .fc .fc-toolbar {\n display: block;\n }\n\n .fc-toolbar-chunk {\n display: block;\n text-align: center;\n }\n\n .fc-toolbar>div {\n margin-bottom: 1rem;\n }\n}',"",{version:3,sources:["webpack://./src/main.css"],names:[],mappings:"AAAA,+DAA+D;AAC/D;;EAEE,eAAe;AACjB;;AAEA,+BAA+B;AAC/B;;;EAGE,mBAAmB;AACrB;;AAEA;;mCAEmC;AACnC;;EAEE,yBAAyB;AAC3B;;AAEA;EACE,UAAU;EACV,eAAe;EACf,uDAAuD;AACzD;;AAEA;EACE,aAAa;EACb,cAAc;EACd,gBAAgB;EAChB,WAAW;AACb;;AAEA;EACE,kBAAkB;EAClB,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,YAAY;EACZ,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA,mCAAmC;;;;AAInC;;;sDAGsD;AACtD;EACE,aAAa;AACf;;AAEA;EACE,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,WAAW;EACX,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,WAAW;EACX,mBAAmB;AACrB;;AAEA;;EAEE,gBAAgB;EAChB,UAAU;EACV,SAAS;AACX;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,YAAY;EACZ,WAAW;AACb;;AAEA,oCAAoC;;AAEpC;;0BAE0B;;AAE1B;;EAEE,kBAAkB;EAClB,yBAAyB;EACzB,aAAa;EACb,OAAO;EACP,MAAM;EACN,WAAW;EACX,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,UAAU;AACZ;;AAEA;;sEAEsE;AACtE;EACE;IACE,oBAAoB;EACtB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,cAAc;IACd,kBAAkB;EACpB;;EAEA;IACE,mBAAmB;EACrB;AACF",sourcesContent:['/* Visualize that we can click on an event with tippy content */\na.fc-event[data-tippy-content],\ntd.fc-list-event-title a[data-tippy-content] {\n cursor: pointer;\n}\n\n/* Not sure what this does... */\n.pgc-calendar-wrapper *,\n.pgc-calendar-wrapper *::before,\n.pgc-calendar-wrapper *::after {\n word-break: initial;\n}\n\n/**********************************\n * Start calendar filter checkboxes\n **********************************/\n.pgc-calendar-filter input[type=checkbox]:focus+label span,\n.pgc-calendar-filter input[type=checkbox]:active+label span {\n outline: 1px dashed black;\n}\n\n.pgc-calendar-filter input[type=checkbox] {\n opacity: 0;\n position: fixed;\n /* absolute makes the page scroll to top when checked */\n}\n\n.pgc-calendar-color {\n width: 1.4rem;\n height: 1.4rem;\n padding: 0 .2rem;\n opacity: .4;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label {\n margin: 0 1rem 0 0;\n padding: 0;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span {\n opacity: 1;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label span:before {\n content: "✔";\n line-height: 1.4rem;\n visibility: hidden;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span:before {\n visibility: visible;\n}\n\n.pgc-calendar-filter:first-child {\n margin-bottom: 1rem;\n}\n\n.pgc-calendar-filter:last-child {\n margin-top: 1rem;\n}\n\n/* End calendar filter checkboxes */\n\n\n\n/*****************************************************\n * Start tippy content basic styling\n * This can be overruled or detailed in a custom theme\n *****************************************************/\n.tippy-content {\n padding: 1rem;\n}\n\n.pgc-event-title {\n font-size: large;\n font-weight: 500;\n}\n\n.pgc-popup-row-icon {\n width: 2rem;\n float: left;\n}\n\n.pgc-popup-row-value {\n margin-left: 2rem;\n}\n\n.pgc-event-title .pgc-popup-row-value {\n margin-right: 3rem;\n margin-left: 0;\n}\n\n.pgc-popup-row {\n clear: both;\n margin-bottom: 1rem;\n}\n\n.pgc-popup-row ul,\n.pgc-popup-row li {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.pgc-popup-draghandle {\n position: absolute;\n right: 1rem;\n top: 1rem;\n cursor: move;\n opacity: .4;\n}\n\n/* End tippy content basic styling */\n\n/*************************\n * Start loading and error\n *************************/\n\n.pgc-loading-el,\n.pgc-error-el {\n position: absolute;\n background-color: #fcf8e3;\n padding: 1rem;\n left: 0;\n top: 0;\n opacity: .8;\n z-index: 1000;\n}\n\n.pgc-error-el {\n background-color: red;\n opacity: 1;\n}\n\n/*********************************************************************\n * On small screens the title and buttons need to get below each other\n *********************************************************************/\n@media(max-width:649px) {\n .fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: .6rem;\n }\n\n .fc .fc-toolbar {\n display: block;\n }\n\n .fc-toolbar-chunk {\n display: block;\n text-align: center;\n }\n\n .fc-toolbar>div {\n margin-bottom: 1rem;\n }\n}'],sourceRoot:""}]);const s=a},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},537:e=>{e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},379:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=o[c]||0,u="".concat(c," ").concat(d);o[c]=d+1;var f=n(u),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=i(p,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var d=n(o[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=l}}},569:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0,(()=>{var e,t,r,i,o,a,s,l,c={},d=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(t,n,r){var i,o,a,s={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return g(t,s,i,o,null)}function g(e,n,i,o,a){var s={type:e,props:n,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function m(e){return e.children}function v(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function y(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||v(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||v(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?A:b,o):e.removeEventListener(t,o?A:b,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function b(e){i=!0;try{return this.l[e.type+!1](t.event?t.event(e):e)}finally{i=!1}}function A(e){i=!0;try{return this.l[e.type+!0](t.event?t.event(e):e)}finally{i=!1}}function x(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function E(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return E(e)}}function k(e){i?setTimeout(e):s(e)}function C(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!T.__r++||a!==t.debounceRendering)&&((a=t.debounceRendering)||k)(T)}function T(){var e,t,n,r,i,a,s,l;for(o.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=o.shift();)e.__d&&(t=o.length,r=void 0,i=void 0,s=(a=(n=e).__v).__e,(l=n.__P)&&(r=[],(i=f({},a)).__v=a.__v+1,M(l,a,i,n.__n,void 0!==l.ownerSVGElement,null!=a.__h?[s]:null,r,null==s?w(a):s,a.__h),I(r,a),a.__e!=s&&E(a)),o.length>t&&o.sort((function(e,t){return e.__v.__b-t.__v.__b})));T.__r=0}function D(e,t,n,r,i,o,a,s,l,u){var f,p,h,v,y,b,A,x=r&&r.__k||d,E=x.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(v=n.__k[f]=null==(v=t[f])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?g(null,v,null,null,v):Array.isArray(v)?g(m,{children:v},null,null,null):v.__b>0?g(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(h=x[f])||h&&v.key==h.key&&v.type===h.type)x[f]=void 0;else for(p=0;p<E;p++){if((h=x[p])&&v.key==h.key&&v.type===h.type){x[p]=void 0;break}h=null}M(e,v,h=h||c,i,o,a,s,l,u),y=v.__e,(p=v.ref)&&h.ref!=p&&(A||(A=[]),h.ref&&A.push(h.ref,null,v),A.push(p,v.__c||y,v)),null!=y?(null==b&&(b=y),"function"==typeof v.type&&v.__k===h.__k?v.__d=l=S(v,l,e):l=R(e,v,h,x,y,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=w(h))}for(n.__e=b,f=E;f--;)null!=x[f]&&("function"==typeof n.type&&null!=x[f].__e&&x[f].__e==n.__d&&(n.__d=O(r).nextSibling),B(x[f],x[f]));if(A)for(f=0;f<A.length;f++)H(A[f],A[++f],A[++f])}function S(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?S(r,t,n):R(n,r,r,i,r.__e,t));return t}function _(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){_(e,t)})):t.push(e)),t}function R(e,t,n,r,i,o){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<r.length;l+=1)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function O(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=O(n)))return r;return null}function M(e,n,r,i,o,a,s,l,c){var d,u,p,h,g,v,y,b,A,w,E,k,C,T,S,_=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,l=n.__e=r.__e,n.__h=null,a=[l]),(d=t.__b)&&d(n);try{e:if("function"==typeof _){if(b=n.props,A=(d=_.contextType)&&i[d.__c],w=d?A?A.props.value:d.__:i,r.__c?y=(u=n.__c=r.__c).__=u.__E:("prototype"in _&&_.prototype.render?n.__c=u=new _(b,w):(n.__c=u=new x(b,w),u.constructor=_,u.render=P),A&&A.sub(u),u.props=b,u.state||(u.state={}),u.context=w,u.__n=i,p=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=_.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=f({},u.__s)),f(u.__s,_.getDerivedStateFromProps(b,u.__s))),h=u.props,g=u.state,u.__v=n,p)null==_.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==_.getDerivedStateFromProps&&b!==h&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,w),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,w)||n.__v===r.__v){for(n.__v!==r.__v&&(u.props=b,u.state=u.__s,u.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),E=0;E<u._sb.length;E++)u.__h.push(u._sb[E]);u._sb=[],u.__h.length&&s.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,w),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(h,g,v)}))}if(u.context=w,u.props=b,u.__P=e,k=t.__r,C=0,"prototype"in _&&_.prototype.render){for(u.state=u.__s,u.__d=!1,k&&k(n),d=u.render(u.props,u.state,u.context),T=0;T<u._sb.length;T++)u.__h.push(u._sb[T]);u._sb=[]}else do{u.__d=!1,k&&k(n),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++C<25);u.state=u.__s,null!=u.getChildContext&&(i=f(f({},i),u.getChildContext())),p||null==u.getSnapshotBeforeUpdate||(v=u.getSnapshotBeforeUpdate(h,g)),S=null!=d&&d.type===m&&null==d.key?d.props.children:d,D(e,Array.isArray(S)?S:[S],n,r,i,o,a,s,l,c),u.base=n.__e,n.__h=null,u.__h.length&&s.push(u),y&&(u.__E=u.__=null),u.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=N(r.__e,n,r,i,o,a,s,c);(d=t.diffed)&&d(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=l,n.__h=!!c,a[a.indexOf(l)]=null),t.__e(e,n,r)}}function I(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function N(t,n,r,i,o,a,s,l){var d,u,f,h=r.props,g=n.props,m=n.type,v=0;if("svg"===m&&(o=!0),null!=a)for(;v<a.length;v++)if((d=a[v])&&"setAttribute"in d==!!m&&(m?d.localName===m:3===d.nodeType)){t=d,a[v]=null;break}if(null==t){if(null===m)return document.createTextNode(g);t=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),a=null,l=!1}if(null===m)h===g||l&&t.data===g||(t.data=g);else{if(a=a&&e.call(t.childNodes),u=(h=r.props||c).dangerouslySetInnerHTML,f=g.dangerouslySetInnerHTML,!l){if(null!=a)for(h={},v=0;v<t.attributes.length;v++)h[t.attributes[v].name]=t.attributes[v].value;(f||u)&&(f&&(u&&f.__html==u.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||y(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||y(e,o,t[o],n[o],r)}(t,g,h,o,l),f)n.__k=[];else if(v=n.props.children,D(t,Array.isArray(v)?v:[v],n,r,i,o&&"foreignObject"!==m,a,s,a?a[0]:r.__k&&w(r,0),l),null!=a)for(v=a.length;v--;)null!=a[v]&&p(a[v]);l||("value"in g&&void 0!==(v=g.value)&&(v!==t.value||"progress"===m&&!v||"option"===m&&v!==h.value)&&y(t,"value",v,h.value,!1),"checked"in g&&void 0!==(v=g.checked)&&v!==t.checked&&y(t,"checked",v,h.checked,!1))}return t}function H(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function B(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||H(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&B(i[o],n,r||"function"!=typeof e.type);r||null==e.__e||p(e.__e),e.__=e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function j(n,r,i){var o,a,s;t.__&&t.__(n,r),a=(o="function"==typeof i)?null:i&&i.__k||r.__k,s=[],M(r,n=(!o&&i||r).__k=h(m,null,[n]),a||c,c,void 0!==r.ownerSVGElement,!o&&i?[i]:a?null:r.firstChild?e.call(r.childNodes):null,s,!o&&i?i:a?a.__e:r.firstChild,o),I(s,n)}e=d.slice,t={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},r=0,i=!1,x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},x.prototype.render=m,o=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,T.__r=0,l=0;var L,z,U,W=[],F=[],V=t.__b,G=t.__r,Q=t.diffed,q=t.__c,Z=t.unmount;function $(){for(var e;e=W.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(K),e.__H.__h.forEach(X),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,V&&V(e)},t.__r=function(e){G&&G(e);var t=(L=e.__c).__H;t&&(z===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=F,e.__N=e.i=void 0}))):(t.__h.forEach(K),t.__h.forEach(X),t.__h=[])),z=L},t.diffed=function(e){Q&&Q(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==W.push(n)&&U===t.requestAnimationFrame||((U=t.requestAnimationFrame)||J)($)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==F&&(e.__=e.__V),e.i=void 0,e.__V=F}))),z=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(K),e.__h=e.__h.filter((function(e){return!e.__||X(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),q&&q(e,n)},t.unmount=function(e){Z&&Z(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{K(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var Y="function"==typeof requestAnimationFrame;function J(e){var t,n=function(){clearTimeout(r),Y&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Y&&(t=requestAnimationFrame(n))}function K(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function X(e){var t=L;e.__c=e.__(),L=t}function ee(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function te(e){this.props=e}(te.prototype=new x).isPureReactComponent=!0,te.prototype.shouldComponentUpdate=function(e,t){return ee(this.props,e)||ee(this.state,t)};var ne=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ne&&ne(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var re=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);re(e,t,n,r)};var ie=t.unmount;function oe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return oe(e,t,n)}))),e}function ae(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return ae(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function se(){this.__u=0,this.t=null,this.__b=null}function le(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ce(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),ie&&ie(e)},(se.prototype=new x).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=le(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=ae(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},se.prototype.componentWillUnmount=function(){this.t=[]},se.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=oe(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&h(m,null,e.fallback);return i&&(i.__h=null),[h(m,null,t.__a?null:e.children),i]};var de=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ue(e){return this.getChildContext=function(){return e.context},e.children}function fe(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),j(h(ue,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ce.prototype=new x).__a=function(e){var t=this,n=le(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),de(t,e,r)):i()};n?n(o):o()}},ce.prototype.render=function(e){this.u=null,this.o=new Map;var t=_(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ce.prototype.componentDidUpdate=ce.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){de(e,n,t)}))};var pe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,he=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ge="undefined"!=typeof document,me=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};x.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(x.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var ve=t.event;function ye(){}function be(){return this.cancelBubble}function Ae(){return this.defaultPrevented}t.event=function(e){return ve&&(e=ve(e)),e.persist=ye,e.isPropagationStopped=be,e.isDefaultPrevented=Ae,e.nativeEvent=e};var xe={configurable:!0,get:function(){return this.class}},we=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var a=n[o];ge&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!me(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&he.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=_(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=_(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(xe.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",xe))}e.$$typeof=pe,we&&we(e)};var Ee=t.__r;t.__r=function(e){Ee&&Ee(e),e.__c};const ke=[],Ce=new Map;function Te(e){ke.push(e),Ce.forEach((t=>{Se(t,e)}))}function De(e){let t=Ce.get(e);if(!t||!t.isConnected){if(t=e.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");const n=(void 0===_e&&(_e=function(){const e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");const t=document.querySelector("script[nonce]");return t&&t.nonce||""}()),_e);n&&(t.nonce=n);const r=e===document?document.head:e,i=e===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(t,i)}Ce.set(e,t),function(e){for(const t of ke)Se(e,t)}(t)}}function Se(e,t){const{sheet:n}=e,r=n.cssRules.length;t.split("}").forEach(((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",r+t)}))}let _e;function Re(e){e.parentNode&&e.parentNode.removeChild(e)}function Oe(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Me(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Me(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}"undefined"!=typeof document&&De(document),Te(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');const Ie=/(top|left|right|bottom|width|height)$/i;function Ne(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Ie.test(t)?e.style[t]=`${n}px`:e.style[t]=n}let He=0;function Be(){return He+=1,"fc-dom-"+He}function Pe(e,t,n,r){let i=function(e,t){return n=>{let r=Oe(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}function je(e){return Object.assign({onClick:e},Le(e))}function Le(e){return{tabIndex:0,onKeyDown(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}let ze=0;function Ue(){return ze+=1,String(ze)}function We(e,t,n){return n.func?n.func(e,t):function(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}(e[n.field],t[n.field])*(n.order||1)}function Fe(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function Ve(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce(((e,t,n)=>e.replace("$"+n,t||"")),e):n}function Ge(e){return e%1==0}function Qe(e){let t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}const qe=["years","months","days","milliseconds"],Ze=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function $e(e,t){return"string"==typeof e?function(e){let t=Ze.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Ye(e):"number"==typeof e?Ye({[t||"milliseconds"]:e}):null}function Ye(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Je(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function Ke(e){return Xe(e)/864e5}function Xe(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function et(e,t){let n=null;for(let r=0;r<qe.length;r+=1){let i=qe[r];if(t[i]){let r=e[i]/t[i];if(!Ge(r)||null!==n&&n!==r)return null;n=r}else if(e[i])return null}return n}function tt(e){let t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}const{hasOwnProperty:nt}=Object.prototype;function rt(e,t){let n={};if(t)for(let r in t)if(t[r]===Kt){let t=[];for(let i=e.length-1;i>=0;i-=1){let o=e[i][r];if("object"==typeof o&&o)t.unshift(o);else if(void 0!==o){n[r]=o;break}}t.length&&(n[r]=rt(t))}for(let t=e.length-1;t>=0;t-=1){let r=e[t];for(let e in r)e in n||(n[e]=r[e])}return n}function it(e,t){let n={};for(let r in e)t(e[r],r)&&(n[r]=e[r]);return n}function ot(e,t){let n={};for(let r in e)n[r]=t(e[r],r);return n}function at(e){let t={};for(let n of e)t[n]=!0;return t}function st(e){let t=[];for(let n in e)t.push(e[n]);return t}function lt(e,t){if(e===t)return!0;for(let n in e)if(nt.call(e,n)&&!(n in t))return!1;for(let n in t)if(nt.call(t,n)&&e[n]!==t[n])return!1;return!0}const ct=/^on[A-Z]/;function dt(e,t){let n=[];for(let r in e)nt.call(e,r)&&(r in t||n.push(r));for(let r in t)nt.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function ut(e,t,n={}){if(e===t)return!0;for(let a in t)if(!(a in e&&(r=e[a],i=t[a],o=n[a],r===i||!0===o||o&&o(r,i))))return!1;var r,i,o;for(let n in e)if(!(n in t))return!1;return!0}function ft(e,t,n){if(e===t)return!0;let r,i=e.length;if(i!==t.length)return!1;for(r=0;r<i;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}const pt=["sun","mon","tue","wed","thu","fri","sat"];function ht(e,t){let n=kt(e);return n[2]+=7*t,Ct(n)}function gt(e,t){let n=kt(e);return n[2]+=t,Ct(n)}function mt(e,t){let n=kt(e);return n[6]+=t,Ct(n)}function vt(e,t){return(t.valueOf()-e.valueOf())/864e5}function yt(e,t){return Dt(e)===Dt(t)?Math.round(vt(e,t)):null}function bt(e){return Ct([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function At(e,t,n,r){let i=Ct([t,0,1+xt(t,n,r)]),o=bt(e),a=Math.round(vt(i,o));return Math.floor(a/7)+1}function xt(e,t,n){let r=7+t-n;return-(7+Ct([e,0,r]).getUTCDay()-t)%7+r-1}function wt(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Et(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function kt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Ct(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC(...e))}function Tt(e){return!isNaN(e.valueOf())}function Dt(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function St(e,t,n=!1){let r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Rt(t,!0)))),r}function _t(e){return e.toISOString().replace(/T.*$/,"")}function Rt(e,t=!1){let n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=Math.round(r%60);return t?`${n+Fe(i,2)}:${Fe(o,2)}`:`GMT${n}${i}${o?`:${Fe(o,2)}`:""}`}function Ot(e,t,n){let r,i;return function(...o){if(r){if(!ft(r,o)){n&&n(i);let r=e.apply(this,o);t&&t(r,i)||(i=r)}}else i=e.apply(this,o);return r=o,i}}function Mt(e,t,n){let r,i;return o=>{if(r){if(!lt(r,o)){n&&n(i);let r=e.call(this,o);t&&t(r,i)||(i=r)}}else i=e.call(this,o);return r=o,i}}const It={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Nt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ht=/\s*([ap])\.?m\.?/i,Bt=/,/g,Pt=/\s+/g,jt=/\u200e/g,Lt=/UTC|GMT/;class zt{constructor(e){let t={},n={},r=0;for(let i in e)i in It?(n[i]=e[i],r=Math.max(It[i],r)):(t[i]=e[i],i in Nt&&(r=Math.max(Nt[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Ot(Ut)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,r){let{standardDateProps:i,extendedSettings:o}=this,a=(s=e.marker,l=t.marker,(c=n.calendarSystem).getMarkerYear(s)!==c.getMarkerYear(l)?5:c.getMarkerMonth(s)!==c.getMarkerMonth(l)?4:c.getMarkerDay(s)!==c.getMarkerDay(l)?2:Dt(s)!==Dt(l)?1:0);var s,l,c;if(!a)return this.format(e,n);let d=a;!(d>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(d=1);let u=this.format(e,n),f=this.format(t,n);if(u===f)return u;let p=function(e,t){let n={};for(let r in e)(!(r in Nt)||Nt[r]<=t)&&(n[r]=e[r]);return n}(i,d),h=Ut(p,o,n),g=h(e),m=h(t),v=function(e,t,n,r){let i=0;for(;i<e.length;){let o=e.indexOf(t,i);if(-1===o)break;let a=e.substr(0,o);i=o+t.length;let s=e.substr(i),l=0;for(;l<n.length;){let e=n.indexOf(r,l);if(-1===e)break;let t=n.substr(0,e);l=e+r.length;let i=n.substr(l);if(a===t&&s===i)return{before:a,after:s}}}return null}(u,g,f,m),y=o.separator||r||n.defaultSeparator||"";return v?v.before+g+y+m+v.after:u+y+f}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function Ut(e,t,n){let r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?e=>Rt(e.timeZoneOffset):0===r&&t.week?e=>function(e,t,n,r,i){let o=[];return"long"===i?o.push(n):"short"!==i&&"narrow"!==i||o.push(t),"long"!==i&&"short"!==i||o.push(" "),o.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&o.reverse(),o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week):function(e,t,n){e=Object.assign({},e),t=Object.assign({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit")),"long"===e.timeZoneName&&(e.timeZoneName="short"),t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";let r,i=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,r=new Intl.DateTimeFormat(n.locale.codes,t)}return o=>{let a,{marker:s}=o;return a=r&&!s.getUTCMinutes()?r:i,function(e,t,n,r,i){return e=e.replace(jt,""),"short"===n.timeZoneName&&(e=function(e,t){let n=!1;return e=e.replace(Lt,(()=>(n=!0,t))),n||(e+=` ${t}`),e}(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":Rt(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(Bt,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(Ht,"").trim():"narrow"===r.meridiem?e=e.replace(Ht,((e,t)=>t.toLocaleLowerCase())):"short"===r.meridiem?e=e.replace(Ht,((e,t)=>`${t.toLocaleLowerCase()}m`)):"lowercase"===r.meridiem&&(e=e.replace(Ht,(e=>e.toLocaleLowerCase()))),e=(e=e.replace(Pt," ")).trim()}(a.format(s),o,e,t,n)}}(e,t,n)}function Wt(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Ft(e,t,n,r){let i=Wt(e,n.calendarSystem);return{date:i,start:i,end:t?Wt(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class Vt{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,Ft(e,null,t,n))}formatRange(e,t,n,r){return n.cmdFormatter(this.cmdStr,Ft(e,t,n,r))}}class Gt{constructor(e){this.func=e}format(e,t,n){return this.func(Ft(e,null,t,n))}formatRange(e,t,n,r){return this.func(Ft(e,t,n,r))}}function Qt(e){return"object"==typeof e&&e?new zt(e):"string"==typeof e?new Vt(e):"function"==typeof e?new Gt(e):null}const qt={navLinkDayClick:rn,navLinkWeekClick:rn,duration:$e,bootstrapFontAwesome:rn,buttonIcons:rn,customButtons:rn,defaultAllDayEventDuration:$e,defaultTimedEventDuration:$e,nextDayThreshold:$e,scrollTime:$e,scrollTimeReset:Boolean,slotMinTime:$e,slotMaxTime:$e,dayPopoverFormat:Qt,slotDuration:$e,snapDuration:$e,headerToolbar:rn,footerToolbar:rn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Qt,dayHeaderClassNames:rn,dayHeaderContent:rn,dayHeaderDidMount:rn,dayHeaderWillUnmount:rn,dayCellClassNames:rn,dayCellContent:rn,dayCellDidMount:rn,dayCellWillUnmount:rn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:rn,weekNumbers:Boolean,weekNumberClassNames:rn,weekNumberContent:rn,weekNumberDidMount:rn,weekNumberWillUnmount:rn,editable:Boolean,viewClassNames:rn,viewDidMount:rn,viewWillUnmount:rn,nowIndicator:Boolean,nowIndicatorClassNames:rn,nowIndicatorContent:rn,nowIndicatorDidMount:rn,nowIndicatorWillUnmount:rn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:rn,locale:rn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:rn,eventOrder:function(e){let t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t<i.length;t+=1)n=i[t],"string"==typeof n?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:rn,contentHeight:rn,direction:String,weekNumberFormat:Qt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:rn,initialDate:rn,now:rn,eventDataTransform:rn,stickyHeaderDates:rn,stickyFooterScrollbar:rn,viewHeight:rn,defaultAllDay:Boolean,eventSourceFailure:rn,eventSourceSuccess:rn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:rn,eventConstraint:rn,eventAllow:rn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:rn,eventContent:rn,eventDidMount:rn,eventWillUnmount:rn,selectConstraint:rn,selectOverlap:rn,selectAllow:rn,droppable:Boolean,unselectCancel:String,slotLabelFormat:rn,slotLaneClassNames:rn,slotLaneContent:rn,slotLaneDidMount:rn,slotLaneWillUnmount:rn,slotLabelClassNames:rn,slotLabelContent:rn,slotLabelDidMount:rn,slotLabelWillUnmount:rn,dayMaxEvents:rn,dayMaxEventRows:rn,dayMinWidth:Number,slotLabelInterval:$e,allDayText:String,allDayClassNames:rn,allDayContent:rn,allDayDidMount:rn,allDayWillUnmount:rn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Qt,rerenderDelay:Number,moreLinkText:rn,moreLinkHint:rn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:rn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:$e,hiddenDays:rn,fixedWeekCount:Boolean,validRange:rn,visibleRange:rn,titleFormat:rn,eventInteractive:Boolean,noEventsText:String,viewHint:rn,navLinkHint:rn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:rn,moreLinkClassNames:rn,moreLinkContent:rn,moreLinkDidMount:rn,moreLinkWillUnmount:rn,monthStartFormat:Qt,handleCustomRendering:rn,customRenderingMetaMap:rn,customRenderingReplacesEl:Boolean},Zt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},$t={datesSet:rn,eventsSet:rn,eventAdd:rn,eventChange:rn,eventRemove:rn,windowResize:rn,eventClick:rn,eventMouseEnter:rn,eventMouseLeave:rn,select:rn,unselect:rn,loading:rn,_unmount:rn,_beforeprint:rn,_afterprint:rn,_noEventDrop:rn,_noEventResize:rn,_resize:rn,_scrollRequest:rn},Yt={buttonText:rn,buttonHints:rn,views:rn,plugins:rn,initialEvents:rn,events:rn,eventSources:rn},Jt={headerToolbar:Kt,footerToolbar:Kt,buttonText:Kt,buttonHints:Kt,buttonIcons:Kt,dateIncrement:Kt,plugins:Xt,events:Xt,eventSources:Xt,resources:Xt};function Kt(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?lt(e,t):e===t}function Xt(e,t){return Array.isArray(e)&&Array.isArray(t)?ft(e,t):e===t}const en={type:String,component:rn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:rn,usesMinMaxTime:Boolean,classNames:rn,content:rn,didMount:rn,willUnmount:rn};function tn(e){return rt(e,Jt)}function nn(e,t){let n={},r={};for(let r in t)r in e&&(n[r]=t[r](e[r]));for(let n in e)n in t||(r[n]=e[n]);return{refined:n,extra:r}}function rn(e){return e}function on(e,t,n,r){return{instanceId:Ue(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}function an(e,t,n){let{dateEnv:r,pluginHooks:i,options:o}=n,{defs:a,instances:s}=e;s=it(s,(e=>!a[e.defId].recurringDef));for(let e in a){let n=a[e];if(n.recurringDef){let{duration:a}=n.recurringDef;a||(a=n.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);let l=sn(n,a,t,r,i.recurringTypes);for(let t of l){let n=on(e,{start:t,end:r.add(t,a)});s[n.instanceId]=n}}}return{defs:a,instances:s}}function sn(e,t,n,r,i){let o=i[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(o=o.map(bt)),o}function ln(e,t,n,r,i,o){let a={defs:{},instances:{}},s=En(n);for(let l of e){let e=xn(l,t,n,r,s,i,o);e&&cn(e,a)}return a}function cn(e,t={defs:{},instances:{}}){return t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function dn(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function un(e,t){let n=it(e.defs,t),r=it(e.instances,(e=>n[e.defId]));return{defs:n,instances:r}}function fn(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}const pn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:rn,overlap:rn,allow:rn,className:fn,classNames:fn,color:String,backgroundColor:String,borderColor:String,textColor:String},hn={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function gn(e,t){let n=function(e,t){return Array.isArray(e)?ln(e,null,t,!0):"object"==typeof e&&e?ln([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function mn(e){return e.reduce(vn,hn)}function vn(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}const yn={id:String,groupId:String,title:String,url:String,interactive:Boolean},bn={start:rn,end:rn,date:rn,allDay:Boolean},An=Object.assign(Object.assign(Object.assign({},yn),bn),{extendedProps:rn});function xn(e,t,n,r,i=En(n),o,a){let{refined:s,extra:l}=wn(e,n,i),c=function(e,t){let n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}(t,n),d=function(e,t,n,r){for(let i=0;i<r.length;i+=1){let o=r[i].parse(e,n);if(o){let{allDay:n}=e;return null==n&&(n=t,null==n&&(n=o.allDayGuess,null==n&&(n=!1))),{allDay:n,duration:o.duration,typeData:o.typeData,typeId:i}}}return null}(s,c,n.dateEnv,n.pluginHooks.recurringTypes);if(d){let e=kn(s,l,t?t.sourceId:"",d.allDay,Boolean(d.duration),n,o);return e.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:e,instance:null}}let u=function(e,t,n,r){let i,o,{allDay:a}=e,s=null,l=!1,c=null,d=null!=e.start?e.start:e.date;if(i=n.dateEnv.createMarkerMeta(d),i)s=i.marker;else if(!r)return null;return null!=e.end&&(o=n.dateEnv.createMarkerMeta(e.end)),null==a&&(a=null!=t?t:(!i||i.isTimeUnspecified)&&(!o||o.isTimeUnspecified)),a&&s&&(s=bt(s)),o&&(c=o.marker,a&&(c=bt(c)),s&&c<=s&&(c=null)),c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}(s,c,n,r);if(u){let e=kn(s,l,t?t.sourceId:"",u.allDay,u.hasEnd,n,o),r=on(e.defId,u.range,u.forcedStartTzo,u.forcedEndTzo);return a&&e.publicId&&a[e.publicId]&&(r.instanceId=a[e.publicId]),{def:e,instance:r}}return null}function wn(e,t,n=En(t)){return nn(e,n)}function En(e){return Object.assign(Object.assign(Object.assign({},pn),An),e.pluginHooks.eventRefiners)}function kn(e,t,n,r,i,o,a){let s={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:(a&&e.id?a[e.id]:"")||Ue(),sourceId:n,allDay:r,hasEnd:i,interactive:e.interactive,ui:gn(e,o),extendedProps:Object.assign(Object.assign({},e.extendedProps||{}),t)};for(let t of o.pluginHooks.eventDefMemberAdders)Object.assign(s,t(e));return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}const Cn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Tn(e){let t=Math.floor(vt(e.start,e.end))||1,n=bt(e.start);return{start:n,end:gt(n,t)}}function Dn(e,t=$e(0)){let n=null,r=null;if(e.end){r=bt(e.end);let n=e.end.valueOf()-r.valueOf();n&&n>=Xe(t)&&(r=gt(r,1))}return e.start&&(n=bt(e.start),r&&r<=n&&(r=gt(n,1))),{start:n,end:r}}function Sn(e,t,n,r){return"year"===r?$e(n.diffWholeYears(e,t),"year"):"month"===r?$e(n.diffWholeMonths(e,t),"month"):function(e,t){let n=bt(e),r=bt(t);return{years:0,months:0,days:Math.round(vt(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}(e,t)}function _n(e,t){let n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}let Rn;function On(){return null==Rn&&(Rn=function(){if("undefined"==typeof document)return!0;let e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);let t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),Rn}const Mn={defs:{},instances:{}};class In{constructor(){this.getKeysForEventDefs=Ot(this._getKeysForEventDefs),this.splitDateSelection=Ot(this._splitDateSpan),this.splitEventStore=Ot(this._splitEventStore),this.splitIndividualUi=Ot(this._splitIndividualUi),this.splitEventDrag=Ot(this._splitInteraction),this.splitEventResize=Ot(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let t=this.getKeyInfo(e),n=this.getKeysForEventDefs(e.eventStore),r=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,n),o=this.splitEventStore(e.eventStore,n),a=this.splitEventDrag(e.eventDrag),s=this.splitEventResize(e.eventResize),l={};this.eventUiBuilders=ot(t,((e,t)=>this.eventUiBuilders[t]||Ot(Nn)));for(let n in t){let c=t[n],d=o[n]||Mn,u=this.eventUiBuilders[n];l[n]={businessHours:c.businessHours||e.businessHours,dateSelection:r[n]||null,eventStore:d,eventUiBases:u(e.eventUiBases[""],c.ui,i[n]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:a[n]||null,eventResize:s[n]||null}}return l}_splitDateSpan(e){let t={};if(e){let n=this.getKeysForDateSpan(e);for(let r of n)t[r]=e}return t}_getKeysForEventDefs(e){return ot(e.defs,(e=>this.getKeysForEventDef(e)))}_splitEventStore(e,t){let{defs:n,instances:r}=e,i={};for(let e in n)for(let r of t[e])i[r]||(i[r]={defs:{},instances:{}}),i[r].defs[e]=n[e];for(let e in r){let n=r[e];for(let r of t[n.defId])i[r]&&(i[r].instances[e]=n)}return i}_splitIndividualUi(e,t){let n={};for(let r in e)if(r)for(let i of t[r])n[i]||(n[i]={}),n[i][r]=e[r];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),i=this._splitEventStore(e.mutatedEvents,r),o=r=>{t[r]||(t[r]={affectedEvents:n[r]||Mn,mutatedEvents:i[r]||Mn,isEvent:e.isEvent})};for(let e in n)o(e);for(let e in i)o(e)}return t}}function Nn(e,t,n){let r=[];e&&r.push(e),t&&r.push(t);let i={"":mn(r)};return n&&Object.assign(i,n),i}function Hn(e,t){let n,r,i=[],{start:o}=t;for(e.sort(Bn),n=0;n<e.length;n+=1)r=e[n],r.start>o&&i.push({start:o,end:r.start}),r.end>o&&(o=r.end);return o<t.end&&i.push({start:o,end:t.end}),i}function Bn(e,t){return e.start.valueOf()-t.start.valueOf()}function Pn(e,t){let{start:n,end:r}=e,i=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(i={start:n,end:r}),i}function jn(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Ln(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!jn(r.activeRange,e)),isOther:Boolean(r&&!jn(r.currentRange,e)),isToday:Boolean(t&&jn(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function zn(e,t){let n=["fc-day",`fc-day-${pt[e.dow]}`];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}const Un=Qt({year:"numeric",month:"long",day:"numeric"}),Wn=Qt({week:"long"});function Fn(e,t,n="day",r=!0){const{dateEnv:i,options:o,calendarApi:a}=e;let s=i.format(t,"week"===n?Wn:Un);if(o.navLinks){let e=i.toDate(t);const l=e=>{let r="day"===n?o.navLinkDayClick:"week"===n?o.navLinkWeekClick:null;"function"==typeof r?r.call(a,i.toDate(t),e):("string"==typeof r&&(n=r),a.zoomTo(t,n))};return Object.assign({title:Ve(o.navLinkHint,[s,e],s),"data-navlink":""},r?je(l):{onClick:l})}return{"aria-label":s}}let Vn;class Gn{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)}off(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((e=>e!==n))):delete e[t]}(this.handlers,e,t)}trigger(e,...t){let n=this.handlers[e]||[],r=this.options&&this.options[e],i=[].concat(r||[],n);for(let e of i)e.apply(this.thisContext,t)}hasHandlers(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}class Qn{constructor(e,t,n,r){this.els=t;let i=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(i.left),r&&this.buildElVerticals(i.top)}buildElHorizontals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let t,{lefts:n,rights:r}=this,i=n.length;for(t=0;t<i;t+=1)if(e>=n[t]&&e<r[t])return t}topToIndex(e){let t,{tops:n,bottoms:r}=this,i=n.length;for(t=0;t<i;t+=1)if(e>=n[t]&&e<r[t])return t}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return qn(this.tops||[],e.tops||[])&&qn(this.bottoms||[],e.bottoms||[])&&qn(this.lefts||[],e.lefts||[])&&qn(this.rights||[],e.rights||[])}}function qn(e,t){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(Math.round(e[r])!==Math.round(t[r]))return!1;return!0}class Zn{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e],n?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function $n(e){e();let n=t.debounceRendering,r=[];for(t.debounceRendering=function(e){r.push(e)},j(h(Yn,{}),document.createElement("div"));r.length;)r.shift()();t.debounceRendering=n}Zn.prototype.classes={},Zn.prototype.iconClasses={},Zn.prototype.baseIconClass="",Zn.prototype.iconOverridePrefix="";class Yn extends x{render(){return h("div",{})}componentDidMount(){this.setState({})}}function Jn(e){let t=function(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,C(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(e),n=t.Provider;return t.Provider=function(){let e=!this.getChildContext,t=n.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach((e=>{e.context=t.value,e.forceUpdate()}))},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},t}class Kn{constructor(e,t,n,r){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const Xn=Jn({});function er(e,t,n,r,i,o,a,s,l,c,d,u,f){return{dateEnv:i,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:d,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:o,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new Kn(e,c,$e(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:u,unregisterInteractiveComponent:f}}class tr extends x{shouldComponentUpdate(e,t){return this.debug&&console.log(dt(e,this.props),dt(t,this.state)),!ut(this.props,e,this.propEquality)||!ut(this.state,t,this.stateEquality)}safeSetState(e){ut(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}tr.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},tr.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},tr.contextType=Xn,tr.prototype.propEquality={},tr.prototype.stateEquality={};class nr extends tr{}function rr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}nr.contextType=Xn;class ir extends nr{constructor(){super(...arguments),this.uid=Ue()}prepareHits(){}queryHit(e,t,n,r){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Oe(e,".fc-event-mirror")}isValidDateDownEl(e){return!(Oe(e,".fc-event:not(.fc-bg-event)")||Oe(e,".fc-more-link")||Oe(e,"a[data-navlink]")||Oe(e,".fc-popover"))}}function or(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}class ar{constructor(e){this.props=e,this.nowDate=or(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:r}=this.props,i=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)}buildNext(e,t,n){let{dateEnv:r}=this.props,i=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)}build(e,t,n=!0){let r,i,o,a,s,l,{props:c}=this;var d,u,f,p;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(d=e,e=null!=(u=r).start&&d<u.start?u.start:null!=u.end&&d>=u.end?new Date(u.end.valueOf()-1):d),i=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(i.unit),a=this.buildRenderRange(this.trimHiddenDays(i.range),i.unit,o),a=this.trimHiddenDays(a),s=a,c.showNonCurrentDates||(s=Pn(s,i.range)),s=this.adjustActiveRange(s),s=Pn(s,r),f=i.range,p=r,l=(null===f.end||null===p.start||f.end>p.start)&&(null===f.start||null===p.end||f.start<p.end),jn(a,e)||(e=a.start),{currentDate:e,validRange:r,currentRange:i.range,currentRangeUnit:i.unit,isRangeAllDay:o,activeRange:s,renderRange:a,slotMinTime:c.slotMinTime,slotMaxTime:c.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(i.duration)}}buildValidRange(){let e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let n,{props:r}=this,i=null,o=null,a=null;return r.duration?(i=r.duration,o=r.durationUnit,a=this.buildRangeFromDuration(e,t,i,o)):(n=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?o=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=this.getFallbackDuration(),o=tt(i).unit,a=this.buildRangeFromDuration(e,t,i,o)),{duration:i,unit:o,range:a}}getFallbackDuration(){return $e({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:r,slotMaxTime:i}=this.props,{start:o,end:a}=e;return n&&(Ke(r)<0&&(o=bt(o),o=t.add(o,r)),Ke(i)>1&&(a=bt(a),a=gt(a,-1),a=t.add(a,i))),{start:o,end:a}}buildRangeFromDuration(e,t,n,r){let i,o,a,{dateEnv:s,dateAlignment:l}=this.props;if(!l){let{dateIncrement:e}=this.props;l=e&&Xe(e)<Xe(n)?tt(e).unit:r}function c(){i=s.startOf(e,l),o=s.add(i,n),a={start:i,end:o}}return Ke(n)<=1&&this.isHiddenDay(i)&&(i=this.skipHiddenDays(i,t),i=bt(i)),c(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),c()),a}buildRangeFromDayCount(e,t,n){let r,{dateEnv:i,dateAlignment:o}=this.props,a=0,s=e;o&&(s=i.startOf(s,o)),s=bt(s),s=this.skipHiddenDays(s,t),r=s;do{r=gt(r,1),this.isHiddenDay(r)||(a+=1)}while(a<n);return{start:s,end:r}}buildCustomVisibleRange(e){let{props:t}=this,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,i=this.refineRange(r);return!i||null!=i.start&&null!=i.end?i:null}buildRenderRange(e,t,n){return e}buildDateIncrement(e){let t,{dateIncrement:n}=this.props;return n||((t=this.props.dateAlignment)?$e(1,t):e||$e({days:1}))}refineRange(e){if(e){let t=function(e,t){let n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}(e,this.props.dateEnv);return t&&(t=Dn(t)),t}return null}initHiddenDays(){let e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:t,end:n}=e;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,n=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=gt(e,t);return e}}function sr(e,t,n){let{dateEnv:r,options:i}=n,o=t;return e?(o=bt(o),o=r.add(o,i.defaultAllDayEventDuration)):o=r.add(o,i.defaultTimedEventDuration),o}function lr(e,t,n,r){let i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);let o=Object.assign(Object.assign(Object.assign({},e),i),{ui:Object.assign(Object.assign({},e.ui),i.ui)});n.extendedProps&&(o.extendedProps=Object.assign(Object.assign({},o.extendedProps),n.extendedProps));for(let e of r.pluginHooks.eventDefMutationAppliers)e(o,n,r);return!o.hasEnd&&r.options.forceEventDuration&&(o.hasEnd=!0),o}function cr(e,t,n,r,i){let{dateEnv:o}=i,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=Object.assign({},e);return a&&(l.range=Tn(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:o.add(l.range.start,r.datesDelta),end:o.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:o.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:o.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:sr(t.allDay,l.range.start,i)}),t.allDay&&(l.range={start:bt(l.range.start),end:bt(l.range.end)}),l.range.end<l.range.start&&(l.range.end=sr(t.allDay,l.range.start,i)),l}class dr{constructor(e,t){this.context=e,this.internalEventSource=t}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class ur{constructor(e,t,n){this._context=e,this._def=t,this._instance=n||null}setProp(e,t){if(e in bn)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=yn[e](t),this.mutate({standardProps:{publicId:t}});else if(e in yn)t=yn[e](t),this.mutate({standardProps:{[e]:t}});else if(e in pn){let n=pn[e](t);n="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:{[e]:t},this.mutate({standardProps:{ui:n}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:n}=this._context,r=n.createMarker(e);if(r&&this._instance){let e=Sn(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:e}):this.mutate({startDelta:e})}}setEnd(e,t={}){let n,{dateEnv:r}=this._context;if((null==e||(n=r.createMarker(e),n))&&this._instance)if(n){let e=Sn(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:e})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,n={}){let r,{dateEnv:i}=this._context,o={allDay:n.allDay},a=i.createMarker(e);var s,l;if(a&&(null==t||(r=i.createMarker(t),r))&&this._instance){let e=this._instance.range;!0===n.allDay&&(e=Tn(e));let t=Sn(e.start,a,i,n.granularity);if(r){let a=Sn(e.end,r,i,n.granularity);l=a,(s=t).years===l.years&&s.months===l.months&&s.days===l.days&&s.milliseconds===l.milliseconds?this.mutate({datesDelta:t,standardProps:o}):this.mutate({startDelta:t,endDelta:a,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:t,standardProps:o})}}moveStart(e){let t=$e(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=$e(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=$e(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let n={allDay:e},{maintainDuration:r}=t;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})}formatRange(e){let{dateEnv:t}=this._context,n=this._instance,r=Qt(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let n=this._def,r=this._context,{eventStore:i}=r.getCurrentData(),o=function(e,t){let n=e.instances[t];if(n){let t=e.defs[n.defId],r=un(e,(e=>{return n=t,r=e,Boolean(n.groupId&&n.groupId===r.groupId);var n,r}));return r.defs[t.defId]=t,r.instances[n.instanceId]=n,r}return{defs:{},instances:{}}}(i,t.instanceId);o=function(e,t,n,r){let i=vr(e.defs,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}}),o={defs:{},instances:{}};for(let t in e.defs){let a=e.defs[t];o.defs[t]=lr(a,i[t],n,r)}for(let t in e.instances){let a=e.instances[t],s=o.defs[a.defId];o.instances[t]=cr(a,s,i[a.defId],n,r)}return o}(o,0,e,r);let a=new ur(r,n,t);this._def=o.defs[n.defId],this._instance=o.instances[t.instanceId],r.dispatch({type:"MERGE_EVENTS",eventStore:o}),r.emitter.trigger("eventChange",{oldEvent:a,event:this,relatedEvents:pr(o,r,t),revert(){r.dispatch({type:"RESET_EVENTS",eventStore:i})}})}}remove(){let e=this._context,t=fr(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new dr(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let t=this._def,{ui:n}=t,{startStr:r,endStr:i}=this,o={allDay:t.allDay};return t.title&&(o.title=t.title),r&&(o.start=r),i&&(o.end=i),t.publicId&&(o.id=t.publicId),t.groupId&&(o.groupId=t.groupId),t.url&&(o.url=t.url),n.display&&"auto"!==n.display&&(o.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.color=n.backgroundColor:(n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.borderColor&&(o.borderColor=n.borderColor)),n.textColor&&(o.textColor=n.textColor),n.classNames.length&&(o.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(o,t.extendedProps):o.extendedProps=t.extendedProps),o}toJSON(){return this.toPlainObject()}}function fr(e){let t=e._def,n=e._instance;return{defs:{[t.defId]:t},instances:n?{[n.instanceId]:n}:{}}}function pr(e,t,n){let{defs:r,instances:i}=e,o=[],a=n?n.instanceId:"";for(let e in i){let n=i[e],s=r[n.defId];n.instanceId!==a&&o.push(new ur(t,s,n))}return o}function hr(e,t,n,r){let i={},o={},a={},s=[],l=[],c=vr(e.defs,t);for(let t in e.defs){let n=e.defs[t];"inverse-background"===c[n.defId].display&&(n.groupId?(i[n.groupId]=[],a[n.groupId]||(a[n.groupId]=n)):o[t]=[])}for(let t in e.instances){let a=e.instances[t],d=e.defs[a.defId],u=c[d.defId],f=a.range,p=!d.allDay&&r?Dn(f,r):f,h=Pn(p,n);h&&("inverse-background"===u.display?d.groupId?i[d.groupId].push(h):o[a.defId].push(h):"none"!==u.display&&("background"===u.display?s:l).push({def:d,ui:u,instance:a,range:h,isStart:p.start&&p.start.valueOf()===h.start.valueOf(),isEnd:p.end&&p.end.valueOf()===h.end.valueOf()}))}for(let e in i){let t=Hn(i[e],n);for(let n of t){let t=a[e],r=c[t.defId];s.push({def:t,ui:r,instance:null,range:n,isStart:!1,isEnd:!1})}}for(let t in o){let r=Hn(o[t],n);for(let n of r)s.push({def:e.defs[t],ui:c[t],instance:null,range:n,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function gr(e,t){e.fcSeg=t}function mr(e){return e.fcSeg||e.parentNode.fcSeg||null}function vr(e,t){return ot(e,(e=>yr(e,t)))}function yr(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),mn(n)}function br(e,t){let n=e.map(Ar);return n.sort(((e,n)=>function(e,t,n){let r,i;for(r=0;r<n.length;r+=1)if(i=We(e,t,n[r]),i)return i;return 0}(e,n,t))),n.map((e=>e._seg))}function Ar(e){let{eventRange:t}=e,n=t.def,r=t.instance?t.instance.range:t.range,i=r.start?r.start.valueOf():0,o=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:o,duration:o-i,allDay:Number(n.allDay),_seg:e})}function xr(e,t){let{pluginHooks:n}=t,r=n.isDraggableTransformers,{def:i,ui:o}=e.eventRange,a=o.startEditable;for(let e of r)a=e(a,i,o,t);return a}function wr(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function Er(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function kr(e,t,n,r,i,o,a){let{dateEnv:s,options:l}=n,{displayEventTime:c,displayEventEnd:d}=l,u=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==d&&(d=!1!==i);let p=f.range.start,h=f.range.end,g=o||e.start||e.eventRange.range.start,m=a||e.end||e.eventRange.range.end,v=bt(p).valueOf()===bt(g).valueOf(),y=bt(mt(h,-1)).valueOf()===bt(mt(m,-1)).valueOf();return c&&!u.allDay&&(v||y)?(g=v?p:g,m=y?h:m,d&&u.hasEnd?s.formatRange(g,m,t,{forcedStartTzo:o?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(g,t,{forcedTzo:o?null:f.forcedStartTzo})):""}function Cr(e,t,n){let r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&jn(t,r.start)}}function Tr(e){let t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function Dr(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function Sr(e,t){let{def:n,instance:r}=e.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:o,options:a}=t,{eventInteractive:s}=a;return null==s&&(s=n.interactive,null==s&&(s=Boolean(o.hasHandlers("eventClick")))),s?Le((e=>{o.trigger("eventClick",{el:e.target,event:new ur(t,n,r),jsEvent:e,view:t.viewApi})})):{}}const _r={start:rn,end:rn,allDay:Boolean};function Rr(e,t,n){return Object.assign(Object.assign({},Or(e,t,n)),{timeZone:t.timeZone})}function Or(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}let Mr={};var Ir;Ir=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return Ct(e)}markerToArray(e){return kt(e)}},Mr.gregory=Ir;const Nr=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class Hr{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Mr[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Ct(wt(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Ct(e)),null!==t&&Tt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=function(e){let t=Nr.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(Tt(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}(e);if(null===t)return null;let{marker:n}=t,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return Dt(e)===Dt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return Dt(e)===Dt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=function(e,t){let n=yt(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:(n=yt(e,t),null!==n?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),Ge(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),Ge(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),Ge(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,n){let r;return n.years&&(r=this.diffWholeYears(e,t),null!==r)?r/(Ke(n)/365):n.months&&(r=this.diffWholeMonths(e,t),null!==r)?r/(Ke(n)/30):n.days&&(r=yt(e,t),null!==r)?r/Ke(n):(t.valueOf()-e.valueOf())/Xe(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?bt(e):"hour"===t?function(e){return Ct([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Ct([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Ct([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let r=e.getUTCFullYear(),i=At(e,r,t,n);if(i<1)return At(e,r-1,t,n);let o=At(e,r+1,t,n);return o>=1?Math.min(i,o):i}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,r={}){return r.isEndExclusive&&(t=mt(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),St(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?Ct(wt(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Ct(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-Et(kt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(kt(e)):null}toDate(e,t){return"local"===this.timeZone?Et(kt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(kt(e))*60):new Date(e.valueOf()-(t||0))}}class Br{constructor(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)}splitEntry(e,t,n){let r=0,i=[],o=e.span,a=t.span;return o.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.start,end:a.start}},i)),o.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:o.end}},i)),r?(n.push({index:e.index,thickness:e.thickness,span:Lr(a,o)},...i),r):(n.push(e),0)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:r}=this;-1===t.lateral?(zr(r,t.level,t.levelCoord),zr(n,t.level,[e])):zr(n[t.level],t.lateral,e),this.stackCnts[jr(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:r,stackCnts:i}=this,o=t.length,a=0,s=-1,l=-1,c=null,d=0;for(let u=0;u<o;u+=1){let o=t[u];if(!r&&o>=a+e.thickness)break;let f,p=n[u],h=Ur(p,e.span.start,Pr),g=h[0]+h[1];for(;(f=p[g])&&f.span.start<e.span.end;){let e=o+f.thickness;e>a&&(a=e,c=f,s=u,l=g),e===a&&(d=Math.max(d,i[jr(f)]+1)),g+=1}}let u=0;if(c)for(u=s+1;u<o&&t[u]<a;)u+=1;let f=-1;return u<o&&t[u]===a&&(f=Ur(n[u],e.span.end,Pr)[0]),{touchingLevel:s,touchingLateral:l,touchingEntry:c,stackCnt:d,levelCoord:a,level:u,lateral:f}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,n=e.length,r=[];for(let i=0;i<n;i+=1){let n=e[i],o=t[i];for(let e of n)r.push(Object.assign(Object.assign({},e),{levelCoord:o}))}return r}}function Pr(e){return e.span.end}function jr(e){return e.index+":"+e.span.start}function Lr(e,t){let n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function zr(e,t,n){e.splice(t,0,n)}function Ur(e,t,n){let r=0,i=e.length;if(!i||t<n(e[r]))return[0,0];if(t>n(e[i-1]))return[i,0];for(;r<i;){let o=Math.floor(r+(i-r)/2),a=n(e[o]);if(t<a)i=o;else{if(!(t>a))return[o,1];r=o+1}}return[r,0]}class Wr{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}const Fr={};Boolean;class Vr extends nr{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,r=n||"auto"===t.height||"auto"===t.contentHeight,i=r||null==t.height?"":t.height,o=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return On()||o.push("fc-liquid-hack"),e.children(o,i,r,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}const Gr="fc-col-header-cell";function Qr(e){return e.text}class qr extends nr{constructor(){super(...arguments),this.id=Ue(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{this.props.elRef&&rr(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:n}=t,{customGenerator:r,defaultGenerator:i,renderProps:o}=e,a=$r(e);let s,l,c=!1,d=[];if(null!=r){const e="function"==typeof r?r(o,h):r;if(!0===e)c=!0;else{const t=e&&"object"==typeof e;t&&"html"in e?a.dangerouslySetInnerHTML={__html:e.html}:t&&"domNodes"in e?d=Array.prototype.slice.call(e.domNodes):t||"function"==typeof e?l=e:s=e}}else c=!Zr(e.generatorName,n);return c&&i&&(s=i(o)),this.queuedDomNodes=d,this.currentGeneratorMeta=l,h(e.elTag,a,s)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:o}=r.options;if(i){const r=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==o?void 0:o[n.generatorName];r&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.handleEl,generatorMeta:r},n),{elClasses:(n.elClasses||[]).filter(Yr)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!ft(e,t)){t.forEach(Re);for(let t of e)n.appendChild(t);this.currentDomNodes=e}}}function Zr(e,t){var n;return Boolean(t.handleCustomRendering&&e&&(null===(n=t.customRenderingMetaMap)||void 0===n?void 0:n[e]))}function $r(e,t){const n=Object.assign(Object.assign({},e.elAttrs),{ref:e.elRef});return(e.elClasses||t)&&(n.className=(e.elClasses||[]).concat(t||[]).concat(n.className||[]).filter(Boolean).join(" ")),e.elStyle&&(n.style=e.elStyle),n}function Yr(e){return Boolean(e)}qr.addPropsEquality({elClasses:ft,elStyle:lt,elAttrs:function(e,t){const n=dt(e,t);for(let e of n)if(!ct.test(e))return!1;return!0},renderProps:lt});const Jr=Jn(0);class Kr extends x{constructor(){super(...arguments),this.InnerContent=Xr.bind(void 0,this),this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&rr(this.props.elRef,e)}}render(){const{props:e}=this,t=function(e,t){const n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(e.children){const n=$r(e,t),r=e.children(this.InnerContent,e.renderProps,n);return e.elTag?h(e.elTag,n,r):r}return h(qr,Object.assign(Object.assign({},e),{elRef:this.handleRootEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;null===(t=(e=this.props).didMount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}componentWillUnmount(){var e,t;null===(t=(e=this.props).willUnmount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}}function Xr(e,t){const n=e.props;return h(qr,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}Kr.contextType=Jr;class ei extends nr{render(){let{dateEnv:e,options:t,theme:n,viewApi:r}=this.context,{props:i}=this,{date:o,dateProfile:a}=i,s=Ln(o,i.todayRange,null,a),l=[Gr].concat(zn(s,n)),c=e.format(o,i.dayHeaderFormat),d=!s.isDisabled&&i.colCnt>1?Fn(this.context,o):{},u=Object.assign(Object.assign(Object.assign({date:e.toDate(o),view:r},i.extraRenderProps),{text:c}),s);return h(Kr,{elTag:"th",elClasses:l,elAttrs:Object.assign({role:"columnheader",colSpan:i.colSpan,"data-date":s.isDisabled?void 0:_t(o)},i.extraDataAttrs),renderProps:u,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:Qr,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},(e=>h("div",{className:"fc-scrollgrid-sync-inner"},!s.isDisabled&&h(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",i.isSticky&&"fc-sticky"]}))))}}const ti=Qt({weekday:"long"});class ni extends nr{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:r,options:i}=this.context,o=gt(new Date(2592e5),e.dow),a={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},s=t.format(o,e.dayHeaderFormat),l=Object.assign(Object.assign(Object.assign(Object.assign({date:o},a),{view:r}),e.extraRenderProps),{text:s});return h(Kr,{elTag:"th",elClasses:[Gr,...zn(a,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:l,generatorName:"dayHeaderContent",customGenerator:i.dayHeaderContent,defaultGenerator:Qr,classNameGenerator:i.dayHeaderClassNames,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(n=>h("div",{className:"fc-scrollgrid-sync-inner"},h(n,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(o,ti)}}))))}}class ri extends x{constructor(e,t){super(e,t),this.initialNowDate=or(t.options.now,t.dateEnv),this.initialNowQueriedMs=(new Date).valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,n=mt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,$e(1,e.unit)),o=i.valueOf()-n.valueOf();return o=Math.min(864e5,o),{currentState:{nowDate:r,todayRange:ii(r)},nextState:{nowDate:i,todayRange:ii(i)},waitMs:o}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout((()=>{this.setState(e,(()=>{this.setTimeout()}))}),t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function ii(e){let t=bt(e);return{start:t,end:gt(t,1)}}ri.contextType=Xn;class oi extends nr{constructor(){super(...arguments),this.createDayHeaderFormatter=Ot(ai)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:r,renderIntro:i}=this.props,o=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,t.length);return h(ri,{unit:"day"},((e,a)=>h("tr",{role:"row"},i&&i("day"),t.map((e=>r?h(ei,{key:e.toISOString(),date:e,dateProfile:n,todayRange:a,colCnt:t.length,dayHeaderFormat:o}):h(ni,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:o}))))))}}function ai(e,t,n){return e||function(e,t){return Qt(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}class si{constructor(e,t){let n=e.start,{end:r}=e,i=[],o=[],a=-1;for(;n<r;)t.isHiddenDay(n)?i.push(a+.5):(a+=1,i.push(a),o.push(n)),n=gt(n,1);this.dates=o,this.indices=i,this.cnt=o.length}sliceRange(e){let t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(gt(e.end,-1)),r=Math.max(0,t),i=Math.min(this.cnt-1,n);return r=Math.ceil(r),i=Math.floor(i),r<=i?{firstIndex:r,lastIndex:i,isStart:t===r,isEnd:n===i}:null}getDateDayIndex(e){let{indices:t}=this,n=Math.floor(vt(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}}class li{constructor(e,t){let n,r,i,{dates:o}=e;if(t){for(r=o[0].getUTCDay(),n=1;n<o.length&&o[n].getUTCDay()!==r;n+=1);i=Math.ceil(o.length/n)}else i=1,n=o.length;this.rowCnt=i,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let n=[];for(let e=0;e<this.colCnt;e+=1)n.push(this.buildCell(t,e));e.push(n)}return e}buildCell(e,t){let n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,n=this.daySeries.sliceRange(e),r=[];if(n){let{firstIndex:e,lastIndex:i}=n,o=e;for(;o<=i;){let a=Math.floor(o/t),s=Math.min((a+1)*t,i+1);r.push({row:a,firstCol:o%t,lastCol:(s-1)%t,isStart:n.isStart&&o===e,isEnd:n.isEnd&&s-1===i}),o=s}}return r}}class ci{constructor(){this.sliceBusinessHours=Ot(this._sliceBusinessHours),this.sliceDateSelection=Ot(this._sliceDateSpan),this.sliceEventStore=Ot(this._sliceEventStore),this.sliceEventDrag=Ot(this._sliceInteraction),this.sliceEventResize=Ot(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,n,r,...i){let{eventUiBases:o}=e,a=this.sliceEventStore(e.eventStore,o,t,n,...i);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,n,o,r,...i),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,n,r,...i),fgEventSegs:a.fg,bgEventSegs:a.bg,eventDrag:this.sliceEventDrag(e.eventDrag,o,t,n,...i),eventResize:this.sliceEventResize(e.eventResize,o,t,n,...i),eventSelection:e.eventSelection}}sliceNowDate(e,t,n,r,...i){return this._sliceDateSpan({range:{start:e,end:mt(e,1)},allDay:!1},t,n,{},r,...i)}_sliceBusinessHours(e,t,n,r,...i){return e?this._sliceEventStore(an(e,di(t,Boolean(n)),r),{},t,n,...i).bg:[]}_sliceEventStore(e,t,n,r,...i){if(e){let o=hr(e,t,di(n,Boolean(r)),r);return{bg:this.sliceEventRanges(o.bg,i),fg:this.sliceEventRanges(o.fg,i)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,n,r,...i){if(!e)return null;let o=hr(e.mutatedEvents,t,di(n,Boolean(r)),r);return{segs:this.sliceEventRanges(o.fg,i),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,n,r,i,...o){if(!e)return[];let a=di(t,Boolean(n)),s=Pn(e.range,a);if(s){let t=function(e,t,n){let r=wn({editable:!1},n),i=kn(r.refined,r.extra,"",e.allDay,!0,n);return{def:i,ui:yr(i,t),instance:on(i.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e=Object.assign(Object.assign({},e),{range:s}),r,i),n=this.sliceRange(e.range,...o);for(let e of n)e.eventRange=t;return n}return[]}sliceEventRanges(e,t){let n=[];for(let r of e)n.push(...this.sliceEventRange(r,t));return n}sliceEventRange(e,t){let n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:gt(n.start,1)});let r=this.sliceRange(n,...t);for(let t of r)t.eventRange=e,t.isStart=e.isStart&&t.isStart,t.isEnd=e.isEnd&&t.isEnd;return r}}function di(e,t){let n=e.activeRange;return t?n:{start:mt(n.start,e.slotMinTime.milliseconds),end:mt(n.end,e.slotMaxTime.milliseconds-864e5)}}function ui(e,t,n){let r=n.options.eventDataTransform,i=t?t.eventDataTransform:null;return i&&(e=fi(e,i)),r&&(e=fi(e,r)),e}function fi(e,t){let n;if(t){n=[];for(let r of e){let e=t(r);e?n.push(e):null==e&&n.push(r)}}else n=e;return n}function pi(e,t,n){let{defs:r}=e,i=ot(e.instances,(e=>r[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})));return{defs:r,instances:i}}function hi(e,t){return un(e,(e=>e.sourceId!==t))}class gi extends Error{constructor(e,t){super(e),this.response=t}}class mi{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}const vi=/^(visible|hidden)$/;class yi extends nr{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,rr(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,r=t&&n,i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),h("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(vi.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1)if(n[e].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(vi.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1)if(n[e].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return vi.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return vi.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class bi{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:r}=this,i=!1,o=!1;null!==e?(i=t in r,r[t]=e,n[t]=(n[t]||0)+1,o=!0):(n[t]-=1,n[t]||(delete r[t],delete this.callbackMap[t],i=!0)),this.masterCallback&&(i&&this.masterCallback(null,String(t)),o&&this.masterCallback(e,String(t)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=t=>{this.handleValue(t,String(e))}),t}collect(e,t,n){return function(e,t=0,n,r=1){let i=[];null==n&&(n=Object.keys(e).length);for(let o=t;o<n;o+=r){let t=e[o];void 0!==t&&i.push(t)}return i}(this.currentMap,e,t,n)}getAll(){return st(this.currentMap)}}function Ai(e,t){return e.liquid&&t.liquid}function xi(e,t){return ft(e,t,lt)}function wi(e,t){let n=[];for(let r of e){let e=r.span||1;for(let i=0;i<e;i+=1)n.push(h("col",{style:{width:"shrink"===r.width?Ei(t):r.width||"",minWidth:r.minWidth||""}}))}return h("colgroup",{},...n)}function Ei(e){return null==e?4:e}function ki(e,t){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${e.type}`,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Ci(e){return h("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function Ti(e){let{stickyHeaderDates:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function Di(e){let{stickyFooterScrollbar:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}class Si extends nr{constructor(){super(...arguments),this.processCols=Ot((e=>e),xi),this.renderMicroColGroup=Ot(wi),this.scrollerRefs=new bi,this.scrollerElRefs=new bi(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:t,context:n}=this,r=e.sections||[],i=this.processCols(e.cols),o=this.renderMicroColGroup(i,t.shrinkWidth),a=function(e,t){let n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}(e.liquid,n);e.collapsibleWidth&&a.push("fc-scrollgrid-collapsible");let s,l=r.length,c=0,d=[],u=[],f=[];for(;c<l&&"header"===(s=r[c]).type;)d.push(this.renderSection(s,o,!0)),c+=1;for(;c<l&&"body"===(s=r[c]).type;)u.push(this.renderSection(s,o,!1)),c+=1;for(;c<l&&"footer"===(s=r[c]).type;)f.push(this.renderSection(s,o,!0)),c+=1;let p=!On();const g={role:"rowgroup"};return h("table",{role:"grid",className:a.join(" "),style:{height:e.height}},Boolean(!p&&d.length)&&h("thead",g,...d),Boolean(!p&&u.length)&&h("tbody",g,...u),Boolean(!p&&f.length)&&h("tfoot",g,...f),p&&h("tbody",g,...d,...u,...f))}renderSection(e,t,n){return"outerContent"in e?h(m,{key:e.key},e.outerContent):h("tr",{key:e.key,role:"presentation",className:ki(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))}renderChunkTd(e,t,n,r){if("outerContent"in n)return n.outerContent;let{props:i}=this,{forceYScrollbars:o,scrollerClientWidths:a,scrollerClientHeights:s}=this.state,l=function(e,t){return null!=t.maxHeight||Ai(e,t)}(i,e),c=Ai(i,e),d=i.liquid?o?"scroll":l?"auto":"hidden":"visible",u=e.key,f=function(e,t,n,r){let{expandRows:i}=n;return"function"==typeof t.content?t.content(n):h("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:i?n.clientHeight:""}},n.tableColGroupNode,h(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:i.collapsibleWidth||void 0===a[u]?null:a[u],clientHeight:void 0!==s[u]?s[u]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},r);return h(r?"th":"td",{ref:n.elRef,role:"presentation"},h("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},h(yi,{ref:this.scrollerRefs.createRef(u),elRef:this.scrollerElRefs.createRef(u),overflowY:d,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},f)))}_handleScrollerEl(e,t){let n=function(e,t){for(let n of e)if(n.key===t)return n;return null}(this.props.sections,t);n&&rr(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return function(e){for(let t of e)if("shrink"===t.width)return!0;return!1}(this.props.cols)?function(e){let t=function(e,t){let n=e instanceof HTMLElement?[e]:e,r=[];for(let e=0;e<n.length;e+=1){let t=n[e].querySelectorAll(".fc-scrollgrid-shrink");for(let e=0;e<t.length;e+=1)r.push(t[e])}return r}(e),n=0;for(let e of t)n=Math.max(n,Qe(e));return Math.ceil(n)}(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=(Vn||(Vn=function(){let e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);let t=function(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}(e);return document.body.removeChild(e),t}()),Vn),{scrollerRefs:t,scrollerElRefs:n}=this,r=!1,i={},o={};for(let e in t.currentMap){let n=t.currentMap[e];if(n&&n.needsYScrolling()){r=!0;break}}for(let t of this.props.sections){let a=t.key,s=n.currentMap[a];if(s){let t=s.parentNode;i[a]=Math.floor(t.getBoundingClientRect().width-(r?e.y:0)),o[a]=Math.floor(t.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:i,scrollerClientHeights:o}}}Si.addStateEquality({scrollerClientWidths:lt,scrollerClientHeights:lt});class _i extends nr{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&gr(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:n}=t,{seg:r}=e,{eventRange:i}=r,{ui:o}=i,a={event:new ur(t,i.def,i.instance),view:t.viewApi,timeText:e.timeText,textColor:o.textColor,backgroundColor:o.backgroundColor,borderColor:o.borderColor,isDraggable:!e.disableDragging&&xr(r,t),isStartResizable:!e.disableResizing&&wr(r,t),isEndResizable:!e.disableResizing&&Er(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)};return h(Kr,Object.assign({},e,{elRef:this.handleEl,elClasses:[...Tr(a),...r.eventRange.ui.classNames,...e.elClasses||[]],renderProps:a,generatorName:"eventContent",customGenerator:n.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:n.eventClassNames,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&gr(this.el,this.props.seg)}}class Ri extends nr{render(){let{props:e,context:t}=this,{options:n}=t,{seg:r}=e,{ui:i}=r.eventRange,o=kr(r,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return h(_i,Object.assign({},e,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:Sr(r,t),defaultGenerator:Oi,timeText:o}),((e,t)=>h(m,null,h(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),Boolean(t.isStartResizable)&&h("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(t.isEndResizable)&&h("div",{className:"fc-event-resizer fc-event-resizer-end"}))))}}function Oi(e){return h("div",{className:"fc-event-main-frame"},e.timeText&&h("div",{className:"fc-event-time"},e.timeText),h("div",{className:"fc-event-title-container"},h("div",{className:"fc-event-title fc-sticky"},e.event.title||h(m,null," "))))}const Mi=e=>h(Xn.Consumer,null,(t=>{let{options:n}=t,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return h(Kr,Object.assign({},e,{elTag:e.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))})),Ii=Qt({day:"numeric"});class Ni extends nr{constructor(){super(...arguments),this.refineRenderProps=Mt(Bi)}render(){let{props:e,context:t}=this,{options:n}=t,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return h(Kr,Object.assign({},e,{elClasses:[...zn(r,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":_t(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}function Hi(e){return Boolean(e.dayCellContent||Zr("dayCellContent",e))}function Bi(e){let{date:t,dateEnv:n,dateProfile:r,isMonthStart:i}=e,o=Ln(t,e.todayRange,null,r),a=e.showDayNumber?n.format(t,i?e.monthStartFormat:Ii):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},o),{isMonthStart:i,dayNumberText:a}),e.extraRenderProps)}class Pi extends nr{render(){let{props:e}=this,{seg:t}=e;return h(_i,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:ji,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function ji(e){let{title:t}=e.event;return t&&h("div",{className:"fc-event-title"},e.event.title)}function Li(e){return h("div",{className:`fc-${e}`})}const zi=e=>h(Xn.Consumer,null,(t=>{let{dateEnv:n,options:r}=t,{date:i}=e,o=r.weekNumberFormat||e.defaultFormat,a={num:n.computeWeekNumber(i),text:n.format(i,o),date:i};return h(Kr,Object.assign({},e,{renderProps:a,generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:Ui,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))}));function Ui(e){return e.text}class Wi extends nr{constructor(){super(...arguments),this.state={titleId:Be()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&rr(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=function(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:n,state:r}=this,i=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return function(e,t){var n=h(fe,{__v:e,i:t});return n.containerInfo=t,n}(h("div",Object.assign({},n.extraAttrs,{id:n.id,className:i.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),h("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},h("span",{className:"fc-popover-title",id:r.titleId},n.title),h("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),h("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:r}=this,i=function(e){let t=function(e){let t=[];for(;e instanceof HTMLElement;){let n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}(e),n=e.getBoundingClientRect();for(let e of t){let t=_n(n,e.getBoundingClientRect());if(!t)return null;n=t}return n}(t);if(i){let o=r.getBoundingClientRect(),a=n?Oe(t,".fc-scrollgrid").getBoundingClientRect().top:i.top,s=e?i.right-o.width:i.left;a=Math.max(a,10),s=Math.min(s,document.documentElement.clientWidth-10-o.width),s=Math.max(s,10);let l=r.offsetParent.getBoundingClientRect();!function(e,t){for(let n in t)Ne(e,n,t[n])}(r,{top:a-l.top,left:s-l.left})}}}class Fi extends ir{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:r,todayRange:i,dateProfile:o}=n,a=t.format(r,e.dayPopoverFormat);return h(Ni,{elRef:this.handleRootEl,date:r,dateProfile:o,todayRange:i},((t,r,i)=>h(Wi,{elRef:i.ref,id:n.id,title:a,extraClassNames:["fc-more-popover"].concat(i.className||[]),extraAttrs:i,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},Hi(e)&&h(t,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children)))}queryHit(e,t,n,r){let{rootEl:i,props:o}=this;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:o.dateProfile,dateSpan:Object.assign({allDay:!o.forceTimed,range:{start:o.startDate,end:o.endDate}},o.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null}}class Vi extends nr{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:Be()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&rr(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:r}=n.options,i=Qi(t).start;function o(e){let{def:t,instance:r,range:i}=e.eventRange;return{event:new ur(n,t,r),start:n.dateEnv.toDate(i.start),end:n.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof r&&(r=r({date:i,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(o),hiddenSegs:t.hiddenSegs.map(o),jsEvent:e,view:n.viewApi})),r&&"popover"!==r?"string"==typeof r&&n.calendarApi.zoomTo(i,r):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return h(Xn.Consumer,null,(n=>{let{viewApi:r,options:i,calendarApi:o}=n,{moreLinkText:a}=i,{moreCnt:s}=e,l=Qi(e),c="function"==typeof a?a.call(o,s):`+${s} ${a}`,d=Ve(i.moreLinkHint,[s],c),u={num:s,shortText:`+${s}`,text:c,view:r};return h(m,null,Boolean(e.moreCnt)&&h(Kr,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),je(this.handleClick)),{title:d,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:u,generatorName:"moreLinkContent",customGenerator:i.moreLinkContent,defaultGenerator:e.defaultGenerator||Gi,classNameGenerator:i.moreLinkClassNames,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},e.children),t.isPopoverOpen&&h(Fi,{id:t.popoverId,startDate:l.start,endDate:l.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))}))}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Oe(this.linkEl,".fc-view-harness"))}}function Gi(e){return e.text}function Qi(e){if(e.allDayDate)return{start:e.allDayDate,end:gt(e.allDayDate,1)};let{hiddenSegs:t}=e;return{start:qi(t),end:(n=t,n.reduce($i).eventRange.range.end)};var n}function qi(e){return e.reduce(Zi).eventRange.range.start}function Zi(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function $i(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}class Yi extends nr{render(){let{props:e,context:t}=this,{options:n}=t,r={view:t.viewApi};return h(Kr,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Ji(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),(()=>e.children))}}function Ji(e){return[`fc-${e.type}-view`,"fc-view"]}const Ki={id:String,defaultAllDay:Boolean,url:String,format:String,events:rn,eventDataTransform:rn,success:rn,failure:rn};function Xi(e,t,n=eo(t)){let r;if("string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){let{refined:i,extra:o}=nn(r,n),a=function(e,t){let n=t.pluginHooks.eventSourceDefs;for(let t=n.length-1;t>=0;t-=1){let r=n[t].parseMeta(e);if(r)return{sourceDefId:t,meta:r}}return null}(i,t);if(a)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:Ue(),sourceDefId:a.sourceDefId,meta:a.meta,ui:gn(i,t),extendedProps:o}}return null}function eo(e){return Object.assign(Object.assign(Object.assign({},pn),Ki),e.pluginHooks.eventSourceRefiners)}class to{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering((()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))}zoomTo(e,t){let n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let t,n,{viewSpecs:r,toolbarConfig:i}=this.getCurrentData(),o=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(let e in r)o.push(e);for(t=0;t<o.length;t+=1)if(n=r[o[t]],n&&n.singleUnit===e)return n;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:or(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),n=$e(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:n}=this.getCurrentData();return n.format(n.createMarker(e),Qt(t))}formatRange(e,t,n){let{dateEnv:r}=this.getCurrentData();return r.formatRange(r.createMarker(e),r.createMarker(t),Qt(n),n)}formatIso(e,t){let{dateEnv:n}=this.getCurrentData();return n.formatIso(n.createMarker(e),{omitTime:t})}select(e,t){let n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};let r=this.getCurrentData(),i=function(e,t,n){let r=function(e,t){let{refined:n,extra:r}=nn(e,_r),i=n.start?t.createMarkerMeta(n.start):null,o=n.end?t.createMarkerMeta(n.end):null,{allDay:a}=n;return null==a&&(a=i&&i.isTimeUnspecified&&(!o||o.isTimeUnspecified)),Object.assign({range:{start:i?i.marker:null,end:o?o.marker:null},allDay:a},r)}(e,t),{range:i}=r;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=t.add(i.start,n)}return r}(n,r.dateEnv,$e({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),function(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},function(e,t){let n={};for(let r of t.pluginHooks.dateSpanTransforms)Object.assign(n,r(e,t));var r,i;return Object.assign(n,(r=e,i=t.dateEnv,Object.assign(Object.assign({},Or(r.range,i,r.allDay)),{allDay:r.allDay}))),n}(e,n)),{jsEvent:null,view:n.viewApi||n.calendarApi.view}))}(i,0,r))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))}addEvent(e,t){if(e instanceof ur){let t=e._def,n=e._instance;return this.getCurrentData().eventStore.defs[t.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:cn({def:t,instance:n})}),this.triggerEventAdd(e)),e}let n,r=this.getCurrentData();if(t instanceof dr)n=t.internalEventSource;else if("boolean"==typeof t)t&&([n]=st(r.eventSources));else if(null!=t){let e=this.getEventSourceById(t);if(!e)return console.warn(`Could not find an event source with ID "${t}"`),null;n=e.internalEventSource}let i=xn(e,n,r,!1);if(i){let e=new ur(r,i.def,i.def.recurringDef?null:i.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:cn(i)}),this.triggerEventAdd(e),e}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:fr(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:r}=t.eventStore;e=String(e);for(let i in n){let o=n[i];if(o.publicId===e){if(o.recurringDef)return new ur(t,o,null);for(let e in r){let n=r[e];if(n.defId===o.defId)return new ur(t,o,n)}}}return null}getEvents(){let e=this.getCurrentData();return pr(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let r in t)n.push(new dr(e,t[r]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;e=String(e);for(let r in n)if(n[r].publicId===e)return new dr(t,n[r]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof dr)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=Xi(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new dr(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=$e(e);t&&this.trigger("_scrollRequest",{time:t})}}const no=[],ro={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},io=Object.assign(Object.assign({},ro),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function oo(e){let t=e.length>0?e[0].code:"en",n=no.concat(e),r={en:io};for(let e of n)r[e.code]=e;return{map:r,defaultCode:t}}function ao(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){let n=[].concat(e||[]),r=function(e,t){for(let n=0;n<e.length;n+=1){let r=e[n].toLocaleLowerCase().split("-");for(let e=r.length;e>0;e-=1){let n=r.slice(0,e).join("-");if(t[n])return t[n]}}return null}(n,t)||io;return so(e,n,r)}(e,t):so(e.code,[e.code],e)}function so(e,t,n){let r=rt([ro,n],["buttonText"]);delete r.code;let{week:i}=r;return delete r.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function lo(e){return{id:Ue(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}class co extends Zn{}function uo(e,t,n,r){if(t[e])return t[e];let i=function(e,t,n,r){let i=n[e],o=r[e],a=e=>i&&null!==i[e]?i[e]:o&&null!==o[e]?o[e]:null,s=a("component"),l=a("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=uo(l,t,n,r)}return!s&&c&&(s=c.component),s?{type:e,component:s,defaults:Object.assign(Object.assign({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),o?o.rawOptions:{})}:null}(e,t,n,r);return i&&(t[e]=i),i}function fo(e){return ot(e,po)}function po(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=ho(t):!n||n.prototype instanceof nr||(n=ho(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function ho(e){return t=>h(Xn.Consumer,null,(n=>h(Kr,{elTag:"div",elClasses:Ji(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount})))}function go(e,t,n,r){let i=fo(e),o=fo(t.views),a=function(e,t){let n,r={};for(n in e)uo(n,r,e,t);for(n in t)uo(n,r,e,t);return r}(i,o);return ot(a,(e=>function(e,t,n,r,i){let o=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",c={};if(o&&(a=function(e){let t=JSON.stringify(e),n=mo[t];return void 0===n&&(n=$e(e),mo[t]=n),n}(o),a)){let e=tt(a);s=e.unit,1===e.value&&(l=s,c=t[s]?t[s].rawOptions:{})}let d=t=>{let n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},u=t=>{let n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(i)||e.defaults.buttonText||d(Zt)||e.type,buttonTitleOverride:u(r)||u(n)||e.overrides.buttonHint,buttonTitleDefault:u(i)||e.defaults.buttonHint||u(Zt)}}(e,o,t,n,r)))}co.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},co.prototype.baseIconClass="fc-icon",co.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},co.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},co.prototype.iconOverrideOption="buttonIcons",co.prototype.iconOverrideCustomButtonOption="icon",co.prototype.iconOverridePrefix="fc-icon-";let mo={};function vo(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function yo(e,t,n,r){let i={};for(let e of t)i[e.sourceId]=e;return n&&(i=bo(i,n,r)),Object.assign(Object.assign({},e),i)}function bo(e,t,n){return Ao(e,it(e,(e=>function(e,t,n){return Eo(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}(e,t,n))),t,!1,n)}function Ao(e,t,n,r,i){let o={};for(let a in e){let s=e[a];t[a]?o[a]=xo(s,n,r,i):o[a]=s}return o}function xo(e,t,n,r){let{options:i,calendarApi:o}=r,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=Ue();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(n=>{let{rawEvents:a}=n;i.eventSourceSuccess&&(a=i.eventSourceSuccess.call(o,a,n.response)||a),e.success&&(a=e.success.call(o,a,n.response)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(n=>{let a=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(o,n),a=!0),e.failure&&(e.failure(n),a=!0),a||console.warn(n.message,n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:s})}function wo(e,t){return it(e,(e=>Eo(e,t)))}function Eo(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function ko(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function Co(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function To(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Do(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function So(e,t,n,r,i){return{header:e.headerToolbar?_o(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?_o(e.footerToolbar,e,t,n,r,i):null}}function _o(e,t,n,r,i,o){let a={},s=[],l=!1;for(let c in e){let d=Ro(e[c],t,n,r,i,o);a[c]=d.widgets,s.push(...d.viewsWithButtons),l=l||d.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function Ro(e,t,n,r,i,o){let a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},d=n.buttonHints||{},u=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((e=>e.split(",").map((e=>{if("title"===e)return h=!0,{buttonName:e};let n,f,g,m,v,y;if(n=s[e])g=e=>{n.click&&n.click.call(e.target,e,e.target)},(m=r.getCustomButtonIconClass(n))||(m=r.getIconClass(e,a))||(v=n.text),y=n.hint||n.text;else if(f=i[e]){p.push(e),g=()=>{o.changeView(e)},(v=f.buttonTextOverride)||(m=r.getIconClass(e,a))||(v=f.buttonTextDefault);let n=f.buttonTextOverride||f.buttonTextDefault;y=Ve(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[n,e],n)}else if(o[e])if(g=()=>{o[e]()},(v=l[e])||(m=r.getIconClass(e,a))||(v=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=Ve(d[t]||u[t],[c.year||"year","year"],c[e])}else y=t=>Ve(d[e]||u[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:g,buttonIcon:m,buttonText:v,buttonHint:y}})))),viewsWithButtons:p,hasTitle:h}}class Oo{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let Mo={parseMeta:e=>!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam},fetch(e,t,n){const{meta:r}=e.eventSource,i=function(e,t,n){let r,i,o,a,{dateEnv:s,options:l}=n,c={};return r=e.startParam,null==r&&(r=l.startParam),i=e.endParam,null==i&&(i=l.endParam),o=e.timeZoneParam,null==o&&(o=l.timeZoneParam),a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{},Object.assign(c,a),c[r]=s.formatIso(t.start),c[i]=s.formatIso(t.end),"local"!==s.timeZone&&(c[o]=s.timeZone),c}(r,e.range,e.context);(function(e,t,n){const r={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then((e=>{if(e.ok)return e.json().then((t=>[t,e]),(()=>{throw new gi("Failure parsing JSON",e)}));throw new gi("Request failed",e)}))})(r.method,r.url,i).then((([e,n])=>{t({rawEvents:e,response:n})}),n)}};function Io(e,t){let n=st(t.getCurrentData().eventSources);if(1===n.length&&1===e.length&&Array.isArray(n[0]._raw)&&Array.isArray(e[0]))return void t.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:e[0]});let r=[];for(let t of e){let e=!1;for(let r=0;r<n.length;r+=1)if(n[r]._raw===t){n.splice(r,1),e=!0;break}e||r.push(t)}for(let e of n)t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:e.sourceId});for(let e of r)t.calendarApi.addEventSource(e)}const No=[lo({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),lo({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){const{dateEnv:r}=e.context;!function(e,n,r){let i=!1,o=function(e){i||(i=!0,t({rawEvents:e}))},a=function(e){i||(i=!0,r(e))},s=e(o,a);s&&"function"==typeof s.then&&s.then(o,a)}(e.eventSource.meta.bind(null,Rr(e.range,r)),0,n)}}]}),lo({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:rn,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[Mo]}),lo({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){let i,o={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(i=e.duration),!i&&e.startTime&&e.endTime&&(n=e.endTime,r=e.startTime,i={years:n.years-r.years,months:n.months-r.months,days:n.days-r.days,milliseconds:n.milliseconds-r.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:i,typeData:o}}var n,r;return null},expand(e,t,n){let r=Pn(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){let i=e?at(e):null,o=bt(n.start),a=n.end,s=[];for(;o<a;){let e;i&&!i[o.getUTCDay()]||(e=t?r.add(o,t):o,s.push(e)),o=gt(o,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:rn,startTime:$e,endTime:$e,duration:$e,startRecur:rn,endRecur:rn}}),lo({name:"change-handler",optionChangeHandlers:{events(e,t){Io([e],t)},eventSources:Io}}),lo({name:"misc",isLoadingFuncs:[e=>vo(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},Rr(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",pr(e,t))}}})];class Ho{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new mi(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Bo(e,t,n){let r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,Qt(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=yt(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class Po{constructor(e){this.computeCurrentViewData=Ot(this._computeCurrentViewData),this.organizeRawLocales=Ot(oo),this.buildLocale=Ot(ao),this.buildPluginHooks=function(){let e,t=[],n=[];return(r,i)=>(e&&ft(r,t)&&ft(i,n)||(e=function(e,t){let n={},r={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(e){for(let l of e){const e=l.name,c=n[e];void 0===c?(n[e]=l.id,i(l.deps),s=l,r={premiumReleaseDate:(t=(a=r).premiumReleaseDate,o=s.premiumReleaseDate,void 0===t?o:void 0===o?t:new Date(Math.max(t.valueOf(),o.valueOf()))),reducers:a.reducers.concat(s.reducers),isLoadingFuncs:a.isLoadingFuncs.concat(s.isLoadingFuncs),contextInit:a.contextInit.concat(s.contextInit),eventRefiners:Object.assign(Object.assign({},a.eventRefiners),s.eventRefiners),eventDefMemberAdders:a.eventDefMemberAdders.concat(s.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},a.eventSourceRefiners),s.eventSourceRefiners),isDraggableTransformers:a.isDraggableTransformers.concat(s.isDraggableTransformers),eventDragMutationMassagers:a.eventDragMutationMassagers.concat(s.eventDragMutationMassagers),eventDefMutationAppliers:a.eventDefMutationAppliers.concat(s.eventDefMutationAppliers),dateSelectionTransformers:a.dateSelectionTransformers.concat(s.dateSelectionTransformers),datePointTransforms:a.datePointTransforms.concat(s.datePointTransforms),dateSpanTransforms:a.dateSpanTransforms.concat(s.dateSpanTransforms),views:Object.assign(Object.assign({},a.views),s.views),viewPropsTransformers:a.viewPropsTransformers.concat(s.viewPropsTransformers),isPropsValid:s.isPropsValid||a.isPropsValid,externalDefTransforms:a.externalDefTransforms.concat(s.externalDefTransforms),viewContainerAppends:a.viewContainerAppends.concat(s.viewContainerAppends),eventDropTransformers:a.eventDropTransformers.concat(s.eventDropTransformers),calendarInteractions:a.calendarInteractions.concat(s.calendarInteractions),componentInteractions:a.componentInteractions.concat(s.componentInteractions),themeClasses:Object.assign(Object.assign({},a.themeClasses),s.themeClasses),eventSourceDefs:a.eventSourceDefs.concat(s.eventSourceDefs),cmdFormatter:s.cmdFormatter||a.cmdFormatter,recurringTypes:a.recurringTypes.concat(s.recurringTypes),namedTimeZonedImpl:s.namedTimeZonedImpl||a.namedTimeZonedImpl,initialView:a.initialView||s.initialView,elementDraggingImpl:a.elementDraggingImpl||s.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},a.optionChangeHandlers),s.optionChangeHandlers),scrollGridImpl:s.scrollGridImpl||a.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},a.listenerRefiners),s.listenerRefiners),optionRefiners:Object.assign(Object.assign({},a.optionRefiners),s.optionRefiners),propSetHandlers:Object.assign(Object.assign({},a.propSetHandlers),s.propSetHandlers)}):c!==l.id&&console.warn(`Duplicate plugin '${e}'`)}var t,o,a,s}return e&&i(e),i(t),r}(r,i)),t=r,n=i,e)}(),this.buildDateEnv=Ot(jo),this.buildTheme=Ot(Lo),this.parseToolbars=Ot(So),this.buildViewSpecs=Ot(go),this.buildDateProfileGenerator=Mt(zo),this.buildViewApi=Ot(Uo),this.buildViewUiProps=Mt(Vo),this.buildEventUiBySource=Ot(Wo,lt),this.buildEventUiBases=Ot(Fo),this.parseContextBusinessHours=Mt(Qo),this.buildTitle=Ot(Bo),this.emitter=new Gn,this.actionRunner=new Ho(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),r=n.calendarOptions.initialView||n.pluginHooks.initialView,i=this.computeCurrentViewData(r,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);let o=function(e,t){let n=e.initialDate;return null!=n?t.createMarker(n):or(e.now,t)}(n.calendarOptions,n.dateEnv),a=i.dateProfileGenerator.build(o);jn(a.activeRange,o)||(o=a.currentRange.start);let s={dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let e of n.pluginHooks.contextInit)e(s);let l=function(e,t,n){let r=t?t.activeRange:null;return yo({},function(e,t){let n=eo(t),r=[].concat(e.eventSources||[]),i=[];e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events);for(let e of r){let r=Xi(e,t,n);r&&i.push(r)}return i}(e,n),r,n)}(n.calendarOptions,a,s),c={dynamicOptionOverrides:t,currentViewType:r,currentDate:o,dateProfile:a,businessHours:this.parseContextBusinessHours(s),eventSources:l,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(s).selectionConfig},d=Object.assign(Object.assign({},s),c);for(let e of n.pluginHooks.reducers)Object.assign(c,e(null,null,d));Go(c,s)&&this.emitter.trigger("loading",!0),this.state=c,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:n,emitter:r}=this,i=function(e,t){return"SET_OPTION"===t.type?Object.assign(Object.assign({},e),{[t.optionName]:t.rawOptionValue}):e}(n.dynamicOptionOverrides,e),o=this.computeOptionsData(t.optionOverrides,i,t.calendarApi),a=function(e,t){return"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType),e}(n.currentViewType,e),s=this.computeCurrentViewData(a,o,t.optionOverrides,i);t.calendarApi.currentDataManager=this,r.setThisContext(t.calendarApi),r.setOptions(s.options);let l={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData},{currentDate:c,dateProfile:d}=n;this.data&&this.data.dateProfileGenerator!==s.dateProfileGenerator&&(d=s.dateProfileGenerator.build(c)),c=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(c,e),d=function(e,t,n,r){let i;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if(i=r.buildPrev(e,n),i.isValid)return i;break;case"NEXT":if(i=r.buildNext(e,n),i.isValid)return i}return e}(d,e,c,s.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&jn(d.currentRange,c)||(c=d.currentRange.start);let u=function(e,t,n,r){let i=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return yo(e,t.sources,i,r);case"REMOVE_EVENT_SOURCE":return o=e,a=t.sourceId,it(o,(e=>e.sourceId!==a));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?bo(e,i,r):e;case"FETCH_EVENT_SOURCES":return Ao(e,t.sourceIds?at(t.sourceIds):wo(e,r),i,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){let i=e[t];return i&&n===i.latestFetchId?Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:r})}):e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}var o,a}(n.eventSources,e,d,l),f=function(e,t,n,r,i){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,i,o){if(t&&n===t.latestFetchId){let n=ln(ui(i,t,o),t,o);return r&&(n=an(n,r,o)),dn(hi(e,t.sourceId),n)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"RESET_RAW_EVENTS":return function(e,t,n,r,i){const{defIdMap:o,instanceIdMap:a}=function(e){const{defs:t,instances:n}=e,r={},i={};for(let e in t){const n=t[e],{publicId:i}=n;i&&(r[i]=e)}for(let e in n){const r=t[n[e].defId],{publicId:o}=r;o&&(i[o]=e)}return{defIdMap:r,instanceIdMap:i}}(e);return an(ln(ui(n,t,i),t,i,!1,o,a),r,i)}(e,n[t.sourceId],t.rawEvents,r.activeRange,i);case"ADD_EVENTS":return function(e,t,n,r){return n&&(t=an(t,n,r)),dn(e,t)}(e,t.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return dn(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?an(e,r.activeRange,i):e;case"REMOVE_EVENTS":return function(e,t){let{defs:n,instances:r}=e,i={},o={};for(let e in n)t.defs[e]||(i[e]=n[e]);for(let e in r)!t.instances[e]&&i[r[e].defId]&&(o[e]=r[e]);return{defs:i,instances:o}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return hi(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return un(e,(e=>!e.sourceId));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}(n.eventStore,e,u,d,l),p=vo(u)&&!s.options.progressiveEventRendering&&n.renderableEventStore||f,{eventUiSingleBase:h,selectionConfig:g}=this.buildViewUiProps(l),m=this.buildEventUiBySource(u),v={dynamicOptionOverrides:i,currentViewType:a,currentDate:c,dateProfile:d,eventSources:u,eventStore:f,renderableEventStore:p,selectionConfig:g,eventUiBases:this.buildEventUiBases(p.defs,h,m),businessHours:this.parseContextBusinessHours(l),dateSelection:ko(n.dateSelection,e),eventSelection:Co(n.eventSelection,e),eventDrag:To(n.eventDrag,e),eventResize:Do(n.eventResize,e)},y=Object.assign(Object.assign({},l),v);for(let t of o.pluginHooks.reducers)Object.assign(v,t(n,e,y));let b=Go(n,l),A=Go(v,l);!b&&A?r.trigger("loading",!0):b&&!A&&r.trigger("loading",!1),this.state=v,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),i=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),o=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,i.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),i),t),a=r.pluginHooks.optionChangeHandlers,s=n&&n.calendarOptions,l=r.calendarOptions;if(s&&s!==l){s.timeZone!==l.timeZone&&(t.eventSources=o.eventSources=function(e,t,n){let r=t?t.activeRange:null;return Ao(e,wo(e,n),r,!0,n)}(o.eventSources,t.dateProfile,o),t.eventStore=o.eventStore=pi(o.eventStore,n.dateEnv,o.dateEnv),t.renderableEventStore=o.renderableEventStore=pi(o.renderableEventStore,n.dateEnv,o.dateEnv));for(let e in a)-1===this.optionsForHandling.indexOf(e)&&s[e]===l[e]||a[e](l[e],o)}this.optionsForHandling=[],e.onData&&e.onData(o)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:r,pluginHooks:i,localeDefaults:o,availableLocaleData:a,extra:s}=this.processRawCalendarOptions(e,t);qo(s);let l=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,i,a,r.defaultRangeSeparator),c=this.buildViewSpecs(i.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,o),d=this.buildTheme(r,i),u=this.parseToolbars(r,this.stableOptionOverrides,d,c,n);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:d,toolbarConfig:u,localeDefaults:o,availableRawLocales:a.map}}processRawCalendarOptions(e,t){let{locales:n,locale:r}=tn([Zt,e,t]),i=this.organizeRawLocales(n),o=i.map,a=this.buildLocale(r||i.defaultCode,o).options,s=this.buildPluginHooks(e.plugins||[],No),l=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt),$t),Yt),s.listenerRefiners),s.optionRefiners),c={},d=tn([Zt,a,e,t]),u={},f=this.currentCalendarOptionsInput,p=this.currentCalendarOptionsRefined,h=!1;for(let e in d)-1===this.optionsForRefining.indexOf(e)&&(d[e]===f[e]||Jt[e]&&e in f&&Jt[e](f[e],d[e]))?u[e]=p[e]:l[e]?(u[e]=l[e](d[e]),h=!0):c[e]=f[e];return h&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=u,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:s,availableLocaleData:i,localeDefaults:a,extra:c}}_computeCurrentViewData(e,t,n,r){let i=t.viewSpecs[e];if(!i)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:o,extra:a}=this.processRawViewOptions(i,t.pluginHooks,t.localeDefaults,n,r);return qo(a),{viewSpec:i,options:o,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:o.slotMinTime,slotMaxTime:o.slotMaxTime,showNonCurrentDates:o.showNonCurrentDates,dayCount:o.dayCount,dateAlignment:o.dateAlignment,dateIncrement:o.dateIncrement,hiddenDays:o.hiddenDays,weekends:o.weekends,nowInput:o.now,validRangeInput:o.validRange,visibleRangeInput:o.visibleRange,fixedWeekCount:o.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,r,i){let o=tn([Zt,e.optionDefaults,n,r,e.optionOverrides,i]),a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt),$t),Yt),en),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,u={};for(let e in o)o[e]===l[e]||Jt[e]&&Jt[e](o[e],l[e])?s[e]=c[e]:(o[e]===this.currentCalendarOptionsInput[e]||Jt[e]&&Jt[e](o[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(s[e]=this.currentCalendarOptionsRefined[e]):a[e]?s[e]=a[e](o[e]):u[e]=o[e],d=!0);return d&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:u}}}function jo(e,t,n,r,i,o,a,s){let l=ao(t||a.defaultCode,a.map);return new Hr({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:o.cmdFormatter,defaultSeparator:s})}function Lo(e,t){return new(t.themeClasses[e.themeSystem]||co)(e)}function zo(e){return new(e.dateProfileGeneratorClass||ar)(e)}function Uo(e,t,n){return new Oo(e,t,n)}function Wo(e){return ot(e,(e=>e.ui))}function Fo(e,t,n){let r={"":t};for(let t in e){let i=e[t];i.sourceId&&n[i.sourceId]&&(r[t]=n[i.sourceId])}return r}function Vo(e){let{options:t}=e;return{eventUiSingleBase:gn({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:gn({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Go(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function Qo(e){return t=e.options.businessHours,n=e,ln(function(e){let t;return t=!0===e?[{}]:Array.isArray(e)?e.filter((e=>e.daysOfWeek)):"object"==typeof e&&e?[e]:[],t=t.map((e=>Object.assign(Object.assign({},Cn),e))),t}(t),null,n);var t,n}function qo(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class Zo extends nr{render(){return h("div",{className:"fc-toolbar-chunk"},...this.props.widgetGroups.map((e=>this.renderWidgetGroup(e))))}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,r=[],i=!0;for(let o of e){let{buttonName:e,buttonClick:a,buttonText:s,buttonIcon:l,buttonHint:c}=o;if("title"===e)i=!1,r.push(h("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let i=e===t.activeButton,o=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,d=[`fc-${e}-button`,n.getClass("button")];i&&d.push(n.getClass("buttonActive")),r.push(h("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:o,"aria-pressed":i,className:d.join(" "),onClick:a},s||(l?h("span",{className:l}):"")))}}return r.length>1?h("div",{className:i&&n.getClass("buttonGroup")||""},...r):r[0]}}class $o extends nr{render(){let e,t,{model:n,extraClassName:r}=this.props,i=!1,o=n.sectionWidgets,a=o.center;return o.left?(i=!0,e=o.left):e=o.start,o.right?(i=!0,t=o.right):t=o.end,h("div",{className:[r||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",a||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return h(Zo,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class Yo extends nr{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,rr(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",o="";return n?null!==t.availableWidth?i=t.availableWidth/n:o=1/n*100+"%":i=e.height||"",h("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:o}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class Jo extends Wr{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:r}=n,i=mr(t);if(i&&n.isValidSegDownEl(e.target)){let o=Oe(e.target,".fc-event-forced-url"),a=o?o.querySelector("a[href]").href:"";r.emitter.trigger("eventClick",{el:t,event:new ur(n.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:r.viewApi}),a&&!e.defaultPrevented&&(window.location.href=a)}},this.destroy=Pe(e.el,"click",".fc-event",this.handleSegClick)}}class Ko extends Wr{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{mr(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=function(e,t,n,r){let i;return Pe(e,"mouseover",".fc-event",((e,t)=>{if(t!==i){i=t,n(e,t);let o=e=>{i=null,r(e,t),t.removeEventListener("mouseleave",o)};t.addEventListener("mouseleave",o)}}))}(e.el,0,this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:r}=this,{context:i}=r,o=mr(n);t&&!r.isValidSegDownEl(t.target)||i.emitter.trigger(e,{el:n,event:new ur(i,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:i.viewApi})}}class Xo extends tr{constructor(){super(...arguments),this.buildViewContext=Ot(er),this.buildViewPropTransformers=Ot(ta),this.buildToolbarProps=Ot(ea),this.headerRef={current:null},this.footerRef={current:null},this.interactionsStore={},this.state={viewLabelId:Be()},this.registerInteractiveComponent=(e,t)=>{let n=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,t),r=[Jo,Ko].concat(this.props.pluginHooks.componentInteractions).map((e=>new e(n)));this.interactionsStore[e.uid]=r,Fr[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete Fr[e.uid]},this.resizeRunner=new mi((()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})})),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:r}=t,i=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,or(t.options.now,t.dateEnv),t.viewTitle),o=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?o=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);let s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return h(Xn.Provider,{value:s},n.header&&h($o,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},i)),h(Yo,{liquid:o,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&h($o,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((t=>new t(e))),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let r in n)t[r]!==e[r]&&n[r](t[r],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this;return h(m,{},...e.pluginHooks.viewContainerAppends.map((t=>t(e))))}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},i=this.buildViewPropTransformers(t.viewPropsTransformers);for(let t of i)Object.assign(r,t.transform(r,e));return h(n.component,Object.assign({},r))}}function ea(e,t,n,r,i,o){let a=n.build(i,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!jn(t.currentRange,i),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function ta(e){return e.map((e=>new e))}class na extends to{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;$n((()=>{j(h(Vr,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},((t,n,r,i)=>(this.setClassNames(t),this.setHeight(n),h(Jr.Provider,{value:this.customContentRenderId},h(Xo,Object.assign({isHeightAuto:r,forPrint:i},e)))))),this.el)}))}else this.isRendered&&(this.isRendered=!1,j(null,this.el),this.setClassNames([]),this.setHeight(""))},function(e){e.isConnected&&De(e.getRootNode())}(e),this.el=e,this.renderRunner=new mi(this.handleRenderRequest),new Po({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){$n((()=>{super.updateSize()}))}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!ft(e,this.currentClassNames)){let{classList:t}=this.el;for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){Ne(this.el,"height",e)}}function ra(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.row].push(t);return n}function ia(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.firstCol].push(t);return n}function oa(e,t){let n=[];if(e){for(let r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.row].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}Te(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}');const aa=Qt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function sa(e){let{display:t}=e.eventRange.ui;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}class la extends nr{render(){let{props:e}=this;return h(Ri,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:aa,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class ca extends nr{render(){let{props:e,context:t}=this,{options:n}=t,{seg:r}=e,i=kr(r,n.eventTimeFormat||aa,t,!0,e.defaultDisplayEventEnd);return h(_i,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:Sr(e.seg,t),defaultGenerator:da,timeText:i,isResizing:!1,isDateSelecting:!1}))}}function da(e){return h(m,null,h("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&h("div",{className:"fc-event-time"},e.timeText),h("div",{className:"fc-event-title"},e.event.title||h(m,null," ")))}class ua extends nr{constructor(){super(...arguments),this.compileSegs=Ot(fa)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:n}=this.compileSegs(e.singlePlacements);return h(Vi,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:n,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return h(m,null,t.map((t=>{let r=t.eventRange.instance.instanceId;return h("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:n[r]?"hidden":""}},sa(t)?h(ca,Object.assign({seg:t,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},Cr(t,e.todayRange))):h(la,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},Cr(t,e.todayRange))))})))}})}}function fa(e){let t=[],n=[];for(let r of e)t.push(r.seg),r.isVisible||n.push(r.seg);return{allSegs:t,invisibleSegs:n}}const pa=Qt({week:"narrow"});class ha extends ir{constructor(){super(...arguments),this.rootElRef={current:null},this.state={dayNumberId:Be()},this.handleRootEl=e=>{rr(this.rootElRef,e),rr(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:r}=this,{options:i,dateEnv:o}=e,{date:a,dateProfile:s}=t;const l=t.showDayNumber&&function(e,t,n){const{start:r,end:i}=t,o=mt(i,-1),a=n.getYear(r),s=n.getMonth(r),l=n.getYear(o),c=n.getMonth(o);return!(a===l&&s===c)&&Boolean(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()<i.valueOf())}(a,s.currentRange,o);return h(Ni,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:ga,date:a,dateProfile:s,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:l,extraRenderProps:t.extraRenderProps},((o,s)=>h("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&h(zi,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Fn(e,a,"week"),date:a,defaultFormat:pa}),!s.isDisabled&&(t.showDayNumber||Hi(i)||t.forceDayTop)?h("div",{className:"fc-daygrid-day-top"},h(o,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},Fn(e,a)),{id:n.dayNumberId})})):t.showDayNumber?h("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},h("a",{className:"fc-daygrid-day-number"}," ")):void 0,h("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,h("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},h(ua,{allDayDate:a,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:r,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),h("div",{className:"fc-daygrid-day-bg"},t.bgContent))))}}function ga(e){return e.dayNumberText||h(m,null," ")}function ma(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;let i=e.eventRange,o=i.range,a=Pn(o,{start:r[t].date,end:gt(r[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:i.def,ui:Object.assign(Object.assign({},i.ui),{durationEditable:!1}),instance:i.instance,range:a},isStart:e.isStart&&a.start.valueOf()===o.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===o.end.valueOf()})}class va extends Br{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:n}=this,r=e=>!this.forceHidden[jr(e)];for(let e=0;e<n.length;e+=1)n[e]=n[e].filter(r);return t}handleInvalidInsertion(e,t,n){const{entriesByLevel:r,forceHidden:i}=this,{touchingEntry:o,touchingLevel:a,touchingLateral:s}=e;if(this.hiddenConsumes&&o){const e=jr(o);if(!i[e])if(this.allowReslicing){const e=Object.assign(Object.assign({},o),{span:Lr(o.span,t.span)});i[jr(e)]=!0,r[a][s]=e,this.splitEntry(o,t,n)}else i[e]=!0,n.push(o)}return super.handleInvalidInsertion(e,t,n)}}class ya extends ir{constructor(){super(...arguments),this.cellElRefs=new bi,this.frameElRefs=new bi,this.fgElRefs=new bi,this.segHarnessRefs=new bi,this.rootElRef={current:null},this.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:r}=n,i=e.cells.length,o=ia(e.businessHourSegs,i),a=ia(e.bgEventSegs,i),s=ia(this.getHighlightSegs(),i),l=ia(this.getMirrorSegs(),i),{singleColPlacements:c,multiColPlacements:d,moreCnts:u,moreMarginTops:f}=function(e,t,n,r,i,o,a){let s=new va;s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=o,s.hiddenConsumes=!0):"number"==typeof t?s.maxStackCnt=t:"number"==typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);let l=[],c=[];for(let t=0;t<e.length;t+=1){let n=e[t],{instanceId:r}=n.eventRange.instance,o=i[r];null!=o?l.push({index:t,thickness:o,span:{start:n.firstCol,end:n.lastCol+1}}):c.push(n)}let d=s.addSegs(l),u=s.toRects(),{singleColPlacements:f,multiColPlacements:p,leftoverMargins:h}=function(e,t,n){let r=function(e,t){let n=[];for(let e=0;e<t;e+=1)n.push([]);for(let t of e)for(let e=t.span.start;e<t.span.end;e+=1)n[e].push(t);return n}(e,n.length),i=[],o=[],a=[];for(let e=0;e<n.length;e+=1){let s=r[e],l=[],c=0,d=0;for(let r of s){let i=t[r.index];l.push({seg:ma(i,e,e+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:r.levelCoord,marginTop:r.levelCoord-c}),c=r.levelCoord+r.thickness}let u=[];c=0,d=0;for(let r of s){let i=t[r.index],o=r.span.end-r.span.start>1,a=r.span.start===e;d+=r.levelCoord-c,c=r.levelCoord+r.thickness,o?(d+=r.thickness,a&&u.push({seg:ma(i,r.span.start,r.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:r.levelCoord,marginTop:0})):a&&(u.push({seg:ma(i,r.span.start,r.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:r.levelCoord,marginTop:d}),d=0)}i.push(l),o.push(u),a.push(d)}return{singleColPlacements:i,multiColPlacements:o,leftoverMargins:a}}(u,e,a),g=[],m=[];for(let e of c){p[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)f[t].push({seg:ma(e,t,t+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<a.length;e+=1)g.push(0);for(let t of d){let n=e[t.index],r=t.span;p[r.start].push({seg:ma(n,r.start,r.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let e=r.start;e<r.end;e+=1)g[e]+=1,f[e].push({seg:ma(n,e,e+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<a.length;e+=1)m.push(h[e]);return{singleColPlacements:f,multiColPlacements:p,moreCnts:g,moreMarginTops:m}}(br(e.fgEventSegs,r.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,r.eventOrderStrict,t.eventInstanceHeights,t.maxContentHeight,e.cells),p=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return h("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map(((t,n)=>{let r=this.renderFgSegs(n,e.forPrint?c[n]:d[n],e.todayRange,p),i=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map((e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0})))}(l[n],d),e.todayRange,{},Boolean(e.eventDrag),Boolean(e.eventResize),!1);return h(ha,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:u[n],moreMarginTop:f[n],singlePlacements:c[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:h(m,null,h(m,null,r),h(m,null,i)),bgContent:h(m,null,this.renderFillSegs(s[n],"highlight"),this.renderFillSegs(o[n],"non-business"),this.renderFillSegs(a[n],"bg-event")),minHeight:e.cellMinHeight})})))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!lt(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,r,i,o,a){let{context:s}=this,{eventSelection:l}=this.props,{framePositions:c}=this.state,d=1===this.props.cells.length,u=i||o||a,f=[];if(c)for(let p of t){let{seg:t}=p,{instanceId:g}=t.eventRange.instance,m=g+":"+e,v=p.isVisible&&!r[g],y=p.isAbsolute,b="",A="";y&&(s.isRtl?(A=0,b=c.lefts[t.lastCol]-c.lefts[t.firstCol]):(b=0,A=c.rights[t.firstCol]-c.rights[t.lastCol])),f.push(h("div",{className:"fc-daygrid-event-harness"+(y?" fc-daygrid-event-harness-abs":""),key:m,ref:u?null:this.segHarnessRefs.createRef(m),style:{visibility:v?"":"hidden",marginTop:y?"":p.marginTop,top:y?p.absoluteTop:"",left:b,right:A}},sa(t)?h(ca,Object.assign({seg:t,isDragging:i,isSelected:g===l,defaultDisplayEventEnd:d},Cr(t,n))):h(la,Object.assign({seg:t,isDragging:i,isResizing:o,isDateSelecting:a,isSelected:g===l,defaultDisplayEventEnd:d},Cr(t,n)))))}return f}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:r}=this.props,{framePositions:i}=this.state,o=[];if(i)for(let a of e){let e=n?{right:0,left:i.lefts[a.lastCol]-i.lefts[a.firstCol]}:{left:0,right:i.rights[a.firstCol]-i.rights[a.lastCol]};o.push(h("div",{key:Dr(a.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?h(Pi,Object.assign({seg:a},Cr(a,r))):Li(t)))}return h(m,{},...o)}updateSizing(e){let{props:t,state:n,frameElRefs:r}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map((e=>r.currentMap[e.key]));if(e.length){let t=this.rootElRef.current,r=new Qn(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(r)||this.setState({framePositions:new Qn(t,e,!0,!1)})}}const i=this.state.eventInstanceHeights,o=this.queryEventInstanceHeights(),a=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:Object.assign(Object.assign({},i),o),maxContentHeight:a?this.computeMaxContentHeight():null})}}queryEventInstanceHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let r=Math.round(e[n].getBoundingClientRect().height),i=n.split(":")[0];t[i]=Math.max(t[i]||0,r)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map((t=>e[t.key]))}}ya.addStateEquality({eventInstanceHeights:lt});class ba extends ir{constructor(){super(...arguments),this.splitBusinessHourSegs=Ot(ra),this.splitBgEventSegs=Ot(ra),this.splitFgEventSegs=Ot(ra),this.splitDateSelectionSegs=Ot(ra),this.splitEventDrag=Ot(oa),this.splitEventResize=Ot(oa),this.rowRefs=new bi}render(){let{props:e,context:t}=this,n=e.cells.length,r=this.splitBusinessHourSegs(e.businessHourSegs,n),i=this.splitBgEventSegs(e.bgEventSegs,n),o=this.splitFgEventSegs(e.fgEventSegs,n),a=this.splitDateSelectionSegs(e.dateSelectionSegs,n),s=this.splitEventDrag(e.eventDrag,n),l=this.splitEventResize(e.eventResize,n),c=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return h(ri,{unit:"day"},((t,d)=>h(m,null,e.cells.map(((t,u)=>h(ya,{ref:this.rowRefs.createRef(u),key:t.length?t[0].date.toISOString():u,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:d,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:r[u],eventSelection:e.eventSelection,bgEventSegs:i[u].filter(Aa),fgEventSegs:o[u],dateSelectionSegs:a[u],eventDrag:s[u],eventResize:l[u],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:c,forPrint:e.forPrint}))))))}componentDidMount(){const e=this.rowRefs.currentMap[0].getCellEls()[0];this.rootEl=e?e.closest(".fc-daygrid-body"):null,this.rootEl&&this.context.registerInteractiveComponent(this,{el:this.rootEl,isHitComboAllowed:this.props.isHitComboAllowed})}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new Qn(this.rootEl,this.rowRefs.collect().map((e=>e.getCellEls()[0])),!1,!0),this.colPositions=new Qn(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:r}=this,i=n.leftToIndex(e),o=r.topToIndex(t);if(null!=o&&null!=i){let e=this.props.cells[o][i];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(o,i),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(o,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[o],bottom:r.bottoms[o]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date;return{start:n,end:gt(n,1)}}}function Aa(e){return e.eventRange.def.allDay}class xa extends ir{constructor(){super(...arguments),this.elRef={current:null},this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:r}=e,i=!0===n||!0===t;i&&!r&&(i=!1,t=null,n=null);let o=["fc-daygrid-body",i?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return h("div",{ref:this.elRef,className:o.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},h("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,h("tbody",{role:"presentation"},h(ba,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=function(e,t){let n;var r;return t.currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${r=t.currentDate,r.toISOString().match(/^\d{4}-\d{2}/)[0]}-01"]`)),n||(n=e.querySelector(`[data-date="${_t(t.currentDate)}"]`)),n}(this.elRef.current,this.props.dateProfile);if(e){const t=e.closest(".fc-daygrid-body"),n=t.closest(".fc-scroller"),r=e.getBoundingClientRect().top-t.getBoundingClientRect().top;n.scrollTop=r?r+1:0}this.needsScrollReset=!1}}}class wa extends ci{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class Ea extends ir{constructor(){super(...arguments),this.slicer=new wa,this.tableRef={current:null}}render(){let{props:e,context:t}=this;return h(xa,Object.assign({ref:this.tableRef},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}))}}class ka extends ir{constructor(){super(...arguments),this.headerElRef={current:null}}renderSimpleLayout(e,t){let{props:n,context:r}=this,i=[],o=Ti(r.options);return e&&i.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),h(Yi,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},h(Si,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:i}))}renderHScrollLayout(e,t,n,r){let i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");let{props:o,context:a}=this,s=!o.forPrint&&Ti(a.options),l=!o.forPrint&&Di(a.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Ci}]}),h(Yi,{elClasses:["fc-daygrid"],viewSpec:a.viewSpec},h(i,{liquid:!o.isHeightAuto&&!o.forPrint,forPrint:o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:c}))}}function Ca(e,t){let n=new si(e.renderRange,t);return new li(n,/year|month|week/.test(e.currentRangeUnit))}var Ta=lo({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:class extends ka{constructor(){super(...arguments),this.buildDayTableModel=Ot(Ca),this.headerRef={current:null},this.tableRef={current:null}}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,r=this.buildDayTableModel(n.dateProfile,t),i=e.dayHeaders&&h(oi,{ref:this.headerRef,dateProfile:n.dateProfile,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt}),o=t=>h(Ea,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:r,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(i,o,r.colCnt,e.dayMinWidth):this.renderSimpleLayout(i,o)}},dateProfileGeneratorClass:class extends ar{buildRenderRange(e,t,n){let r=super.buildRenderRange(e,t,n),{props:i}=this;return function(e){let t,{dateEnv:n,currentRange:r}=e,{start:i,end:o}=r;if(e.snapToWeek&&(i=n.startOfWeek(i),t=n.startOfWeek(o),t.valueOf()!==o.valueOf()&&(o=ht(t,1))),e.fixedWeekCount){let e=n.startOfWeek(n.startOfMonth(gt(r.end,-1)));o=ht(o,6-Math.ceil(vt(e,o)/7))}return{start:i,end:o}}({currentRange:r,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:i.fixedWeekCount,dateEnv:i.dateEnv})}}},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}});Te('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');class Da extends In{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?"background"===(t=e).ui.display||"inverse-background"===t.ui.display?["timed","allDay"]:["allDay"]:["timed"];var t}}const Sa=Qt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function _a(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return h(Xn.Consumer,null,(n=>{if(!e.isLabeled)return h("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:r,options:i,viewApi:o}=n,a=null==i.slotLabelFormat?Sa:Array.isArray(i.slotLabelFormat)?Qt(i.slotLabelFormat[0]):Qt(i.slotLabelFormat),s={level:0,time:e.time,date:r.toDate(e.date),view:o,text:r.format(e.date,a)};return h(Kr,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:s,generatorName:"slotLabelContent",customGenerator:i.slotLabelContent,defaultGenerator:Ra,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},(e=>h("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},h(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]}))))}))}function Ra(e){return e.text}class Oa extends nr{render(){return this.props.slatMetas.map((e=>h("tr",{key:e.key},h(_a,Object.assign({},e)))))}}const Ma=Qt({week:"short"});class Ia extends ir{constructor(){super(...arguments),this.allDaySplitter=new Da,this.headerElRef={current:null},this.rootElRef={current:null},this.scrollerElRef={current:null},this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:r}=this.props,i=r.renderRange,o=1===vt(i.start,i.end)?Fn(this.context,i.start,"week"):{};return n.weekNumbers&&"day"===e?h(zi,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:i.start,defaultFormat:Ma},(e=>h("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:t}},h(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o})))):h("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},h("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,r={text:t.allDayText,view:n};return h(Kr,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:r,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:Na,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},(t=>h("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},h(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]}))))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:r,props:i}=this,o=[],a=Ti(r.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:h("tr",{role:"presentation",className:"fc-scrollgrid-section"},h("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),h(Yi,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},h(Si,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:o}))}renderHScrollLayout(e,t,n,r,i,o,a){let s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");let{context:l,props:c}=this,d=!c.forPrint&&Ti(l.options),u=!c.forPrint&&Di(l.options),f=[];e&&f.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>h("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(f.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>h("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),f.push({key:"all-day-divider",type:"body",outerContent:h("tr",{role:"presentation",className:"fc-scrollgrid-section"},h("td",{colSpan:2,className:"fc-timegrid-divider "+l.theme.getClass("tableCellShaded")}))}));let p=l.options.nowIndicator;return f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(l.options.expandRows),chunks:[{key:"axis",content:e=>h("div",{className:"fc-timegrid-axis-chunk"},h("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,h("tbody",null,h(Oa,{slatMetas:o}))),h("div",{className:"fc-timegrid-now-indicator-container"},h(ri,{unit:p?"minute":"day"},(e=>{let t=p&&a&&a.safeComputeTop(e);return"number"==typeof t?h(Mi,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null}))))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),u&&f.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Ci},{key:"cols",content:Ci}]}),h(Yi,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:l.viewSpec},h(s,{liquid:!c.isHeightAuto&&!c.forPrint,forPrint:c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:i}]}],sections:f}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return!0!==e&&!0!==t||(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function Na(e){return e.text}class Ha{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if(jn(t.currentRange,e)){let n=bt(e),r=e.valueOf()-n.valueOf();if(r>=Xe(t.slotMinTime)&&r<Xe(t.slotMaxTime))return this.computeTimeTop($e(r))}return null}computeDateTop(e,t){return t||(t=bt(e)),this.computeTimeTop($e(e.valueOf()-t.valueOf()))}computeTimeTop(e){let t,n,{positions:r,dateProfile:i}=this,o=r.els.length,a=(e.milliseconds-Xe(i.slotMinTime))/Xe(this.slotDuration);return a=Math.max(0,a),a=Math.min(o,a),t=Math.floor(a),t=Math.min(t,o-1),n=a-t,r.tops[t]+r.getHeight(t)*n}}class Ba extends nr{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:r}=e;return h("tbody",null,e.slatMetas.map(((i,o)=>{let a={time:i.time,date:t.dateEnv.toDate(i.date),view:t.viewApi};return h("tr",{key:i.key,ref:r.createRef(i.key)},e.axis&&h(_a,Object.assign({},i)),h(Kr,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!i.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":i.isoTimeStr},renderProps:a,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))})))}}class Pa extends nr{constructor(){super(...arguments),this.rootElRef={current:null},this.slatElRefs=new bi}render(){let{props:e,context:t}=this;return h("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},h("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,h(Ba,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:t}=this;var n;t.onCoords&&null!==t.clientWidth&&this.rootElRef.current.offsetHeight&&t.onCoords(new Ha(new Qn(this.rootElRef.current,(n=this.slatElRefs.currentMap,t.slatMetas.map((e=>n[e.key]))),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function ja(e,t){let n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function La(e,t){let n=[];if(e){for(let r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.col].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}class za extends nr{render(){let{props:e}=this;return h(Vi,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>Ya(e.hiddenSegs,e),defaultGenerator:Ua,forceTimed:!0},(e=>h(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]})))}}function Ua(e){return e.shortText}function Wa(e,t){if(!e)return[[],0];let{level:n,lateralStart:r,lateralEnd:i}=e,o=r,a=[];for(;o<i;)a.push(t(n,o)),o+=1;return a.sort(Fa),[a.map(Va),a[0][1]]}function Fa(e,t){return t[1]-e[1]}function Va(e){return e[0]}function Ga(e,t){const n={};return(...r)=>{let i=e(...r);return i in n?n[i]:n[i]=t(...r)}}function Qa(e,t,n=null,r=0){let i=[];if(n)for(let o=0;o<e.length;o+=1){let a=e[o],s=n.computeDateTop(a.start,t),l=Math.max(s+(r||0),n.computeDateTop(a.end,t));i.push({start:Math.round(s),end:Math.round(l)})}return i}const qa=Qt({hour:"numeric",minute:"2-digit",meridiem:!1});class Za extends nr{render(){return h(Ri,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:qa}))}}class $a extends nr{constructor(){super(...arguments),this.sortEventSegs=Ot(br)}render(){let{props:e,context:t}=this,{options:n}=t,r=n.selectMirror,i=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||r&&e.dateSelectionSegs||[],o=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},a=this.sortEventSegs(e.fgEventSegs,n.eventOrder);return h(Ni,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},(t=>h("div",{className:"fc-timegrid-col-frame"},h("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),h("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(a,o,!1,!1,!1)),h("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(i,{},Boolean(e.eventDrag),Boolean(e.eventResize),Boolean(r),"mirror")),h("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Hi(n)&&h(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]}))))}renderFgSegs(e,t,n,r,i,o){let{props:a}=this;return a.forPrint?Ya(e,a):this.renderPositionedFgSegs(e,t,n,r,i,o)}renderPositionedFgSegs(e,t,n,r,i,o){let{eventMaxStack:a,eventShortHeight:s,eventOrderStrict:l,eventMinHeight:c}=this.context.options,{date:d,slatCoords:u,eventSelection:f,todayRange:p,nowDate:g}=this.props,v=n||r||i,y=Qa(e,d,u,c),{segPlacements:b,hiddenGroups:A}=function(e,t,n,r){let i=[],o=[];for(let n=0;n<e.length;n+=1){let r=t[n];r?i.push({index:n,thickness:1,span:r}):o.push(e[n])}let{segRects:a,hiddenGroups:s}=function(e,t,n){let r=new Br;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);let i=function(e){let t=[];for(let i of e){let e=[],o={span:i.span,entries:[i]};for(let i of t)Lr(i.span,o.span)?o={entries:i.entries.concat(o.entries),span:(n=i.span,r=o.span,{start:Math.min(n.start,r.start),end:Math.max(n.end,r.end)})}:e.push(i);e.push(o),t=e}var n,r;return t}(r.addSegs(e)),o=function(e){const{entriesByLevel:t}=e,n=Ga(((e,t)=>e+":"+t),((r,i)=>{let o=function(e,t,n){let{levelCoords:r,entriesByLevel:i}=e,o=i[t][n],a=r[t]+o.thickness,s=r.length,l=t;for(;l<s&&r[l]<a;l+=1);for(;l<s;l+=1){let e,t=i[l],n=Ur(t,o.span.start,Pr),r=n[0]+n[1],a=r;for(;(e=t[a])&&e.span.start<o.span.end;)a+=1;if(r<a)return{level:l,lateralStart:r,lateralEnd:a}}return null}(e,r,i),a=Wa(o,n),s=t[r][i];return[Object.assign(Object.assign({},s),{nextLevelNodes:a[0]}),s.thickness+a[1]]}));return Wa(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(r);return o=function(e,t){const n=Ga(((e,t,n)=>jr(e)),((e,t,r)=>{let i,{nextLevelNodes:o,thickness:a}=e,s=a+r,l=a/s,c=[];if(o.length)for(let e of o)if(void 0===i){let r=n(e,t,s);i=r[0],c.push(r[1])}else{let t=n(e,i,0);c.push(t[1])}else i=1;let d=(i-t)*l;return[i-d,Object.assign(Object.assign({},e),{thickness:d,nextLevelNodes:c})]}));return e.map((e=>n(e,0,0)[1]))}(o),{segRects:function(e){let t=[];const n=Ga(((e,t,n)=>jr(e)),((e,n,i)=>{let o=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:i,stackForward:0});return t.push(o),o.stackForward=r(e.nextLevelNodes,n+e.thickness,i+1)+1}));function r(e,t,r){let i=0;for(let o of e)i=Math.max(n(o,t,r),i);return i}return r(e,0,0),t}(o),hiddenGroups:i}}(i,n,r),l=[];for(let t of a)l.push({seg:e[t.index],rect:t});for(let e of o)l.push({seg:e,rect:null});return{segPlacements:l,hiddenGroups:s}}(e,y,l,a);return h(m,null,this.renderHiddenGroups(A,e),b.map((e=>{let{seg:a,rect:l}=e,c=a.eventRange.instance.instanceId,d=v||Boolean(!t[c]&&l),u=Ja(l&&l.span),m=!v&&l?this.computeSegHStyle(l):{left:0,right:0},y=Boolean(l)&&l.stackForward>0,b=Boolean(l)&&l.span.end-l.span.start<s;return h("div",{className:"fc-timegrid-event-harness"+(y?" fc-timegrid-event-harness-inset":""),key:o||c,style:Object.assign(Object.assign({visibility:d?"":"hidden"},u),m)},h(Za,Object.assign({seg:a,isDragging:n,isResizing:r,isDateSelecting:i,isSelected:c===f,isShort:b},Cr(a,p,g))))})))}renderHiddenGroups(e,t){let{extraDateSpan:n,dateProfile:r,todayRange:i,nowDate:o,eventSelection:a,eventDrag:s,eventResize:l}=this.props;return h(m,null,e.map((e=>{let c=Ja(e.span),d=(u=e.entries,f=t,u.map((e=>f[e.index])));var u,f;return h(za,{key:St(qi(d)),hiddenSegs:d,top:c.top,bottom:c.bottom,extraDateSpan:n,dateProfile:r,todayRange:i,nowDate:o,eventSelection:a,eventDrag:s,eventResize:l})})))}renderFillSegs(e,t){let{props:n,context:r}=this,i=Qa(e,n.date,n.slatCoords,r.options.eventMinHeight).map(((r,i)=>{let o=e[i];return h("div",{key:Dr(o.eventRange),className:"fc-timegrid-bg-harness",style:Ja(r)},"bg-event"===t?h(Pi,Object.assign({seg:o},Cr(o,n.todayRange,n.nowDate))):Li(t))}));return h(m,null,i)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map(((e,r)=>h(Mi,{key:r,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n}))):null}computeSegHStyle(e){let t,n,{isRtl:r,options:i}=this.context,o=i.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness;o&&(s=Math.min(1,a+2*(s-a))),r?(t=1-s,n=a):(t=a,n=1-s);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return o&&!e.stackForward&&(l[r?"marginLeft":"marginRight"]=20),l}}function Ya(e,{todayRange:t,nowDate:n,eventSelection:r,eventDrag:i,eventResize:o}){let a=(i?i.affectedInstances:null)||(o?o.affectedInstances:null)||{};return h(m,null,e.map((e=>{let i=e.eventRange.instance.instanceId;return h("div",{key:i,style:{visibility:a[i]?"hidden":""}},h(Za,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===r,isShort:!1},Cr(e,t,n))))})))}function Ja(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class Ka extends nr{constructor(){super(...arguments),this.splitFgEventSegs=Ot(ja),this.splitBgEventSegs=Ot(ja),this.splitBusinessHourSegs=Ot(ja),this.splitNowIndicatorSegs=Ot(ja),this.splitDateSelectionSegs=Ot(ja),this.splitEventDrag=Ot(La),this.splitEventResize=Ot(La),this.rootElRef={current:null},this.cellElRefs=new bi}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),r=e.cells.length,i=this.splitFgEventSegs(e.fgEventSegs,r),o=this.splitBgEventSegs(e.bgEventSegs,r),a=this.splitBusinessHourSegs(e.businessHourSegs,r),s=this.splitNowIndicatorSegs(e.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(e.dateSelectionSegs,r),c=this.splitEventDrag(e.eventDrag,r),d=this.splitEventResize(e.eventResize,r);return h("div",{className:"fc-timegrid-cols",ref:this.rootElRef},h("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,h("tbody",{role:"presentation"},h("tr",{role:"row"},e.axis&&h("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},h("div",{className:"fc-timegrid-col-frame"},h("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&h(Mi,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map(((t,n)=>h($a,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:i[n],bgEventSegs:o[n],businessHourSegs:a[n],nowIndicatorSegs:s[n],dateSelectionSegs:l[n],eventDrag:c[n],eventResize:d[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint})))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;var t;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new Qn(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map((e=>t[e.key]))),!0,!1))}}class Xa extends ir{constructor(){super(...arguments),this.processSlotOptions=Ot(es),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let r=n.computeTimeTop(e.time);r=Math.ceil(r),r&&(r+=1),t(r)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return h("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},h(Pa,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),h(Ka,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:r}=this.context,{colCoords:i}=this,{dateProfile:o}=this.props,{slatCoords:a}=this.state,{snapDuration:s,snapsPerSlot:l}=this.processSlotOptions(this.props.slotDuration,r.snapDuration),c=i.leftToIndex(e),d=a.positions.topToIndex(t);if(null!=c&&null!=d){let e=this.props.cells[c],r=a.positions.tops[d],u=a.positions.getHeight(d),f=(t-r)/u,p=d*l+Math.floor(f*l),h=this.props.cells[c].date,g=Je(o.slotMinTime,function(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}(s,p)),m=n.add(h,g),v=n.add(m,s);return{dateProfile:o,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:i.els[c],rect:{left:i.lefts[c],right:i.rights[c],top:r,bottom:r+u},layer:0}}return null}}function es(e,t){let n=t||e,r=et(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}class ts extends ci{sliceRange(e,t){let n=[];for(let r=0;r<t.length;r+=1){let i=Pn(e,t[r]);i&&n.push({start:i.start,end:i.end,isStart:i.start.valueOf()===e.start.valueOf(),isEnd:i.end.valueOf()===e.end.valueOf(),col:r})}return n}}class ns extends ir{constructor(){super(...arguments),this.buildDayRanges=Ot(rs),this.slicer=new ts,this.timeColsRef={current:null}}render(){let{props:e,context:t}=this,{dateProfile:n,dayTableModel:r}=e,{nowIndicator:i,nextDayThreshold:o}=t.options,a=this.buildDayRanges(r,n,t.dateEnv);return h(ri,{unit:i?"minute":"day"},((s,l)=>h(Xa,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,a),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:r.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:s,nowIndicatorSegs:i&&this.slicer.sliceNowDate(s,n,o,t,a),todayRange:l,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords}))))}}function rs(e,t,n){let r=[];for(let i of e.headerDates)r.push({start:n.add(i,t.slotMinTime),end:n.add(i,t.slotMaxTime)});return r}const is=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function os(e,t,n,r,i){let o=new Date(0),a=e,s=$e(0),l=n||function(e){let t,n,r;for(t=is.length-1;t>=0;t-=1)if(n=$e(is[t]),r=et(n,e),null!==r&&r>1)return n;return e}(r),c=[];for(;Xe(a)<Xe(t);){let e=i.add(o,a),t=null!==et(s,l);c.push({date:e,time:a,key:e.toISOString(),isoTimeStr:(d=e,Fe(d.getUTCHours(),2)+":"+Fe(d.getUTCMinutes(),2)+":"+Fe(d.getUTCSeconds(),2)),isLabeled:t}),a=Je(a,r),s=Je(s,r)}var d;return c}function as(e,t){let n=new si(e.renderRange,t);return new li(n,!1)}var ss=lo({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:class extends Ia{constructor(){super(...arguments),this.buildTimeColsModel=Ot(as),this.buildSlatMetas=Ot(os)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:r}=this,{dateProfile:i}=r,o=this.buildTimeColsModel(i,n),a=this.allDaySplitter.splitProps(r),s=this.buildSlatMetas(i.slotMinTime,i.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:l}=e,c=!l,d=l,u=e.dayHeaders&&h(oi,{dates:o.headerDates,dateProfile:i,datesRepDistinctDays:!0,renderIntro:c?this.renderHeadAxis:null}),f=!1!==e.allDaySlot&&(t=>h(Ea,Object.assign({},a.allDay,{dateProfile:i,dayTableModel:o,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:c?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:r.forPrint},this.getAllDayMaxEventProps()))),p=t=>h(ns,Object.assign({},a.timed,{dayTableModel:o,dateProfile:i,axis:c,slotDuration:e.slotDuration,slatMetas:s,forPrint:r.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return d?this.renderHScrollLayout(u,f,p,o.colCnt,l,s,this.state.slatCoords):this.renderSimpleLayout(u,f,p)}},usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});Te(':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}');class ls extends nr{constructor(){super(...arguments),this.state={textId:Be()}}render(){let{theme:e,dateEnv:t,options:n,viewApi:r}=this.context,{cellId:i,dayDate:o,todayRange:a}=this.props,{textId:s}=this.state,l=Ln(o,a),c=n.listDayFormat?t.format(o,n.listDayFormat):"",d=n.listDaySideFormat?t.format(o,n.listDaySideFormat):"",u=Object.assign({date:t.toDate(o),view:r,textId:s,text:c,sideText:d,navLinkAttrs:Fn(this.context,o),sideNavLinkAttrs:Fn(this.context,o,"day",!1)},l);return h(Kr,{elTag:"tr",elClasses:["fc-list-day",...zn(l,e)],elAttrs:{"data-date":_t(o)},renderProps:u,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:cs,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(t=>h("th",{scope:"colgroup",colSpan:3,id:i,"aria-labelledby":s},h(t,{elTag:"div",elClasses:["fc-list-day-cushion",e.getClass("tableCellShaded")]}))))}}function cs(e){return h(m,null,e.text&&h("a",Object.assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&h("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}const ds=Qt({hour:"numeric",minute:"2-digit",meridiem:"short"});class us extends nr{render(){let{props:e,context:t}=this,{options:n}=t,{seg:r,timeHeaderId:i,eventHeaderId:o,dateHeaderId:a}=e,s=n.eventTimeFormat||ds;return h(_i,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",r.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>function(e,t){let n=Sr(e,t);return h("a",Object.assign({},n),e.eventRange.def.title)}(r,t),seg:r,timeText:"",disableDragging:!0,disableResizing:!0}),((e,n)=>h(m,null,function(e,t,n,r,i){let{options:o}=n;if(!1!==o.displayEventTime){let a,s=e.eventRange.def,l=e.eventRange.instance,c=!1;if(s.allDay?c=!0:function(e){let t=Dn(e);return vt(t.start,t.end)>1}(e.eventRange.range)?e.isStart?a=kr(e,t,n,null,null,l.range.start,e.end):e.isEnd?a=kr(e,t,n,null,null,e.start,l.range.end):c=!0:a=kr(e,t,n),c){let e={text:n.options.allDayText,view:n.viewApi};return h(Kr,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${r} ${i}`},renderProps:e,generatorName:"allDayContent",customGenerator:o.allDayContent,defaultGenerator:fs,classNameGenerator:o.allDayClassNames,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount})}return h("td",{className:"fc-list-event-time"},a)}return null}(r,s,t,i,a),h("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},h("span",{className:"fc-list-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}})),h(e,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${o} ${a}`}}))))}}function fs(e){return e.text}function ps(e){return e.text}function hs(e){let t=bt(e.renderRange.start),n=e.renderRange.end,r=[],i=[];for(;t<n;)r.push(t),i.push({start:t,end:gt(t,1)}),t=gt(t,1);return{dayDates:r,dayRanges:i}}function gs(e){return!1===e?null:Qt(e)}var ms=lo({name:"@fullcalendar/list",optionRefiners:{listDayFormat:gs,listDaySideFormat:gs,noEventsClassNames:rn,noEventsContent:rn,noEventsDidMount:rn,noEventsWillUnmount:rn},views:{list:{component:class extends ir{constructor(){super(...arguments),this.computeDateVars=Ot(hs),this.eventStoreToSegs=Ot(this._eventStoreToSegs),this.state={timeHeaderId:Be(),eventHeaderId:Be(),dateHeaderIdRoot:Be()},this.setRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:t}=this,{dayDates:n,dayRanges:r}=this.computeDateVars(e.dateProfile),i=this.eventStoreToSegs(e.eventStore,e.eventUiBases,r);return h(Yi,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),!1!==t.options.stickyHeaderDates?"fc-list-sticky":""],viewSpec:t.viewSpec},h(yi,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},i.length>0?this.renderSegList(i,n):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:e,viewApi:t}=this.context,n={text:e.noEventsText,view:t};return h(Kr,{elTag:"div",elClasses:["fc-list-empty"],renderProps:n,generatorName:"noEventsContent",customGenerator:e.noEventsContent,defaultGenerator:ps,classNameGenerator:e.noEventsClassNames,didMount:e.noEventsDidMount,willUnmount:e.noEventsWillUnmount},(e=>h(e,{elTag:"div",elClasses:["fc-list-empty-cushion"]})))}renderSegList(e,t){let{theme:n,options:r}=this.context,{timeHeaderId:i,eventHeaderId:o,dateHeaderIdRoot:a}=this.state,s=function(e){let t,n,r=[];for(t=0;t<e.length;t+=1)n=e[t],(r[n.dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return h(ri,{unit:"day"},((e,l)=>{let c=[];for(let n=0;n<s.length;n+=1){let d=s[n];if(d){let s=_t(t[n]),u=a+"-"+s;c.push(h(ls,{key:s,cellId:u,dayDate:t[n],todayRange:l})),d=br(d,r.eventOrder);for(let t of d)c.push(h(us,Object.assign({key:s+":"+t.eventRange.instance.instanceId,seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:i,eventHeaderId:o,dateHeaderId:u},Cr(t,l,e))))}}return h("table",{className:"fc-list-table "+n.getClass("table")},h("thead",null,h("tr",null,h("th",{scope:"col",id:i},r.timeHint),h("th",{scope:"col","aria-hidden":!0}),h("th",{scope:"col",id:o},r.eventHint))),h("tbody",null,c))}))}_eventStoreToSegs(e,t,n){return this.eventRangesToSegs(hr(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)}eventRangesToSegs(e,t){let n=[];for(let r of e)n.push(...this.eventRangeToSegs(r,t));return n}eventRangeToSegs(e,t){let n,r,i,{dateEnv:o}=this.context,{nextDayThreshold:a}=this.context.options,s=e.range,l=e.def.allDay,c=[];for(n=0;n<t.length;n+=1)if(r=Pn(s,t[n]),r&&(i={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},c.push(i),!i.isEnd&&!l&&n+1<t.length&&s.end<o.add(t[n+1].start,a))){i.end=s.end,i.isEnd=!0;break}return c}},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"}}}});function vs(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var ys={code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:e=>"+ weitere "+e,noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:e=>`Vorherige${vs(e)} ${e}`,next:e=>`Nächste${vs(e)} ${e}`,today:e=>"Tag"===e?"Heute":`Diese${vs(e)} ${e}`},viewHint:e=>e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht",navLinkHint:"Gehe zu $0",moreLinkHint:e=>"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse"),closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"};function bs(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var As={code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:e=>"+ weitere "+e,noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:e=>`Vorherige${bs(e)} ${e}`,next:e=>`Nächste${bs(e)} ${e}`,today:e=>"Tag"===e?"Heute":`Diese${bs(e)} ${e}`},viewHint:e=>e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht",navLinkHint:"Gehe zu $0",moreLinkHint:e=>"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse"),closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},xs=[{code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},{code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"az",week:{dow:1,doy:4},buttonText:{prev:"Əvvəl",next:"Sonra",today:"Bu Gün",year:"Il",month:"Ay",week:"Həftə",day:"Gün",list:"Gündəm"},weekText:"Həftə",allDayText:"Bütün Gün",moreLinkText:e=>"+ daha çox "+e,noEventsText:"Göstərmək üçün hadisə yoxdur"},{code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напред",today:"днес",year:"година",month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",moreLinkText:e=>"+още "+e,noEventsText:"Няма събития за показване"},{code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পেছনে",next:"সামনে",today:"আজ",year:"বছর",month:"মাস",week:"সপ্তাহ",day:"দিন",list:"তালিকা"},weekText:"সপ্তাহ",allDayText:"সারাদিন",moreLinkText:e=>"+অন্যান্য "+e,noEventsText:"কোনো ইভেন্ট নেই"},{code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Prošli",next:"Sljedeći",today:"Danas",year:"Godina",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:e=>"+ još "+e,noEventsText:"Nema događaja za prikazivanje"},{code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",year:"Curs",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"més",noEventsText:"No hi ha esdeveniments per mostrar"},{code:"cs",week:{dow:1,doy:4},buttonText:{prev:"Dříve",next:"Později",today:"Nyní",year:"Rok",month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText:e=>"+další: "+e,noEventsText:"Žádné akce k zobrazení"},{code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},{code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Næste",today:"I dag",year:"År",month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"},ys,As,{code:"el",week:{dow:1,doy:4},buttonText:{prev:"Προηγούμενος",next:"Επόμενος",today:"Σήμερα",year:"Ετος",month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},weekText:"Εβδ",allDayText:"Ολοήμερο",moreLinkText:"περισσότερα",noEventsText:"Δεν υπάρχουν γεγονότα προς εμφάνιση"},{code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",year:"Jaro",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},{code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},weekText:"Sm",allDayText:"Todo el día",moreLinkText:"más",noEventsText:"No hay eventos para mostrar"},{code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:e=>"Día"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint:e=>`Mostrar ${e} eventos más`,noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},{code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"Järgnev",today:"Täna",year:"Aasta",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText:e=>"+ veel "+e,noEventsText:"Kuvamiseks puuduvad sündmused"},{code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",year:"Urtea",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},{code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"قبلی",next:"بعدی",today:"امروز",year:"سال",month:"ماه",week:"هفته",day:"روز",list:"برنامه"},weekText:"هف",allDayText:"تمام روز",moreLinkText:e=>"بیش از "+e,noEventsText:"هیچ رویدادی به نمایش"},{code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",year:"Vuosi",month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko päivä",moreLinkText:"lisää",noEventsText:"Ei näytettäviä tapahtumia"},{code:"fr",buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Courant",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",year:"Ano",month:"Mes",week:"Semana",day:"Día",list:"Axenda"},buttonHints:{prev:"$0 antes",next:"$0 seguinte",today:e=>"Día"===e?"Hoxe":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Vista "+("Semana"===e?"da":"do")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo o día",moreLinkText:"máis",moreLinkHint:e=>`Amosar ${e} eventos máis`,noEventsText:"Non hai eventos para amosar",navLinkHint:"Ir ao $0",closeHint:"Pechar",timeHint:"A hora",eventHint:"Evento"},{code:"he",direction:"rtl",buttonText:{prev:"הקודם",next:"הבא",today:"היום",year:"שנה",month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",moreLinkText:"נוספים",noEventsText:"אין אירועים להצגה",weekText:"שבוע"},{code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिछला",next:"अगला",today:"आज",year:"वर्ष",month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},weekText:"हफ्ता",allDayText:"सभी दिन",moreLinkText:e=>"+अधिक "+e,noEventsText:"कोई घटनाओं को प्रदर्शित करने के लिए"},{code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prijašnji",next:"Sljedeći",today:"Danas",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:e=>"+ još "+e,noEventsText:"Nema događaja za prikaz"},{code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"előre",today:"ma",year:"Év",month:"Hónap",week:"Hét",day:"Nap",list:"Lista"},weekText:"Hét",allDayText:"Egész nap",moreLinkText:"további",noEventsText:"Nincs megjeleníthető esemény"},{code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"Նախորդ",next:"Հաջորդ",today:"Այսօր",year:"Տարի",month:"Ամիս",week:"Շաբաթ",day:"Օր",list:"Օրվա ցուցակ"},weekText:"Շաբ",allDayText:"Ամբողջ օր",moreLinkText:e=>"+ ևս "+e,noEventsText:"Բացակայում է իրադարձությունը ցուցադրելու"},{code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},{code:"is",week:{dow:1,doy:4},buttonText:{prev:"Fyrri",next:"Næsti",today:"Í dag",year:"Ár",month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir viðburðir til að sýna"},{code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText:e=>"+altri "+e,noEventsText:"Non ci sono eventi da visualizzare"},{code:"ja",buttonText:{prev:"前",next:"次",today:"今日",year:"年",month:"月",week:"週",day:"日",list:"予定リスト"},weekText:"週",allDayText:"終日",moreLinkText:e=>"他 "+e+" 件",noEventsText:"表示する予定はありません"},{code:"ka",week:{dow:1,doy:7},buttonText:{prev:"წინა",next:"შემდეგი",today:"დღეს",year:"წელიწადი",month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},weekText:"კვ",allDayText:"მთელი დღე",moreLinkText:e=>"+ კიდევ "+e,noEventsText:"ღონისძიებები არ არის"},{code:"kk",week:{dow:1,doy:7},buttonText:{prev:"Алдыңғы",next:"Келесі",today:"Бүгін",year:"Жыл",month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},weekText:"Не",allDayText:"Күні бойы",moreLinkText:e=>"+ тағы "+e,noEventsText:"Көрсету үшін оқиғалар жоқ"},{code:"km",week:{dow:1,doy:4},buttonText:{prev:"មុន",next:"បន្ទាប់",today:"ថ្ងៃនេះ",year:"ឆ្នាំ",month:"ខែ",week:"សប្តាហ៍",day:"ថ្ងៃ",list:"បញ្ជី"},weekText:"សប្តាហ៍",allDayText:"ពេញមួយថ្ងៃ",moreLinkText:"ច្រើនទៀត",noEventsText:"គ្មានព្រឹត្តិការណ៍ត្រូវបង្ហាញ"},{code:"ko",buttonText:{prev:"이전달",next:"다음달",today:"오늘",year:"년도",month:"월",week:"주",day:"일",list:"일정목록"},weekText:"주",allDayText:"종일",moreLinkText:"개",noEventsText:"일정이 없습니다"},{code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"پێشتر",next:"دواتر",today:"ئەمڕو",year:"ساڵ",month:"مانگ",week:"هەفتە",day:"ڕۆژ",list:"بەرنامە"},weekText:"هەفتە",allDayText:"هەموو ڕۆژەکە",moreLinkText:"زیاتر",noEventsText:"هیچ ڕووداوێك نیە"},{code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",year:"Joer",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"méi",noEventsText:"Nee Evenementer ze affichéieren"},{code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"Šiandien",year:"Metai",month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},weekText:"SAV",allDayText:"Visą dieną",moreLinkText:"daugiau",noEventsText:"Nėra įvykių rodyti"},{code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"Nāk.",today:"Šodien",year:"Gads",month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:e=>"+vēl "+e,noEventsText:"Nav notikumu"},{code:"mk",buttonText:{prev:"претходно",next:"следно",today:"Денес",year:"година",month:"Месец",week:"Недела",day:"Ден",list:"График"},weekText:"Сед",allDayText:"Цел ден",moreLinkText:e=>"+повеќе "+e,noEventsText:"Нема настани за прикажување"},{code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText:e=>"masih ada "+e+" acara",noEventsText:"Tiada peristiwa untuk dipaparkan"},{code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",year:"År",month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"Nåværende $0"},viewHint:"$0 visning",navLinkHint:"Gå til $0",moreLinkHint:e=>`Vis ${e} flere hendelse${1===e?"":"r"}`},{code:"ne",week:{dow:7,doy:1},buttonText:{prev:"अघिल्लो",next:"अर्को",today:"आज",year:"वर्ष",month:"महिना",week:"हप्ता",day:"दिन",list:"सूची"},weekText:"हप्ता",allDayText:"दिनभरि",moreLinkText:"थप लिंक",noEventsText:"देखाउनको लागि कुनै घटनाहरू छैनन्"},{code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},{code:"nn",week:{dow:1,doy:4},buttonText:{prev:"Førre",next:"Neste",today:"I dag",year:"År",month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise"},{code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Następny",today:"Dziś",year:"Rok",month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},weekText:"Tydz",allDayText:"Cały dzień",moreLinkText:"więcej",noEventsText:"Brak wydarzeń do wyświetlenia"},{code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today:e=>"Dia"===e?"Hoje":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Visualizar "+("Semana"===e?"a":"o")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText:e=>"mais +"+e,moreLinkHint:e=>`Mostrar mais ${e} eventos`,noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"},{code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",year:"Ano",month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"Não há eventos para mostrar"},{code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedentă",next:"următoare",today:"Azi",year:"An",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},weekText:"Săpt",allDayText:"Toată ziua",moreLinkText:e=>"+alte "+e,noEventsText:"Nu există evenimente de afișat"},{code:"ru",week:{dow:1,doy:4},buttonText:{prev:"Пред",next:"След",today:"Сегодня",year:"Год",month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},weekText:"Нед",allDayText:"Весь день",moreLinkText:e=>"+ ещё "+e,noEventsText:"Нет событий для отображения"},{code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"පෙර",next:"පසු",today:"අද",year:"අවුරුදු",month:"මාසය",week:"සතිය",day:"දවස",list:"ලැයිස්තුව"},weekText:"සති",allDayText:"සියලු",moreLinkText:"තවත්",noEventsText:"මුකුත් නැත"},{code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predchádzajúci",next:"Nasledujúci",today:"Dnes",year:"Rok",month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deň",moreLinkText:e=>"+ďalšie: "+e,noEventsText:"Žiadne akcie na zobrazenie"},{code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prejšnji",next:"Naslednji",today:"Trenutni",year:"Leto",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"več",noEventsText:"Ni dogodkov za prikaz"},{code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",year:"Tausaga",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},{code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"Përpara",today:"Sot",year:"Viti",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText:e=>"+më tepër "+e,noEventsText:"Nuk ka evente për të shfaqur"},{code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"Претходна",next:"следећи",today:"Данас",year:"Година",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},weekText:"Сед",allDayText:"Цео дан",moreLinkText:e=>"+ још "+e,noEventsText:"Нема догађаја за приказ"},{code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledeći",today:"Danas",year:"Godina",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText:e=>"+ još "+e,noEventsText:"Nеma događaja za prikaz"},{code:"sv",week:{dow:1,doy:4},buttonText:{prev:"Förra",next:"Nästa",today:"Idag",year:"År",month:"Månad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:e=>`Föregående ${e.toLocaleLowerCase()}`,next:e=>`Nästa ${e.toLocaleLowerCase()}`,today:e=>("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()},viewHint:"$0 vy",navLinkHint:"Gå till $0",moreLinkHint:e=>`Visa ytterligare ${e} händelse${1===e?"":"r"}`,weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga händelser att visa",closeHint:"Stäng",timeHint:"Klockan",eventHint:"Händelse"},{code:"ta-in",week:{dow:1,doy:4},buttonText:{prev:"முந்தைய",next:"அடுத்தது",today:"இன்று",year:"ஆண்டு",month:"மாதம்",week:"வாரம்",day:"நாள்",list:"தினசரி அட்டவணை"},weekText:"வாரம்",allDayText:"நாள் முழுவதும்",moreLinkText:e=>"+ மேலும் "+e,noEventsText:"காண்பிக்க நிகழ்வுகள் இல்லை"},{code:"th",week:{dow:1,doy:4},buttonText:{prev:"ก่อนหน้า",next:"ถัดไป",prevYear:"ปีก่อนหน้า",nextYear:"ปีถัดไป",year:"ปี",today:"วันนี้",month:"เดือน",week:"สัปดาห์",day:"วัน",list:"กำหนดการ"},weekText:"สัปดาห์",allDayText:"ตลอดวัน",moreLinkText:"เพิ่มเติม",noEventsText:"ไม่มีกิจกรรมที่จะแสดง"},{code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bugün",year:"Yıl",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},weekText:"Hf",allDayText:"Tüm gün",moreLinkText:"daha fazla",noEventsText:"Gösterilecek etkinlik yok"},{code:"ug",buttonText:{prev:"ئالدىنقى",next:"كېيىنكى",today:"بۈگۈن",year:"يىل",month:"ئاي",week:"ھەپتە",day:"كۈن",list:"كۈنتەرتىپ"},allDayText:"پۈتۈن كۈن"},{code:"uk",week:{dow:1,doy:7},buttonText:{prev:"Попередній",next:"далі",today:"Сьогодні",year:"рік",month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},weekText:"Тиж",allDayText:"Увесь день",moreLinkText:e=>"+ще "+e+"...",noEventsText:"Немає подій для відображення"},{code:"uz-cy",week:{dow:1,doy:4},buttonText:{prev:"Олин",next:"Кейин",today:"Бугун",month:"Ой",week:"Ҳафта",day:"Кун",list:"Кун тартиби"},weekText:"Ҳафта",allDayText:"Кун бўйича",moreLinkText:e=>"+ яна "+e,noEventsText:"Кўрсатиш учун воқеалар йўқ"},{code:"uz",week:{dow:1,doy:4},buttonText:{prev:"Oldingi",next:"Keyingi",today:"Bugun",year:"Yil",month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:e=>"+ yana "+e,noEventsText:"Ko'rsatish uchun voqealar yo'q"},{code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Trước",next:"Tiếp",today:"Hôm nay",year:"Năm",month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},weekText:"Tu",allDayText:"Cả ngày",moreLinkText:e=>"+ thêm "+e,noEventsText:"Không có sự kiện để hiển thị"},{code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",year:"年",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText:e=>"另外 "+e+" 个",noEventsText:"没有事件显示"},{code:"zh-tw",buttonText:{prev:"上個",next:"下個",today:"今天",year:"年",month:"月",week:"週",day:"天",list:"活動列表"},weekText:"週",allDayText:"整天",moreLinkText:"顯示更多",noEventsText:"沒有任何活動"}];function ws(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Es(e){return e instanceof ws(e).Element||e instanceof Element}function ks(e){return e instanceof ws(e).HTMLElement||e instanceof HTMLElement}function Cs(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ws(e).ShadowRoot||e instanceof ShadowRoot)}var Ts=Math.max,Ds=Math.min,Ss=Math.round;function _s(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Rs(){return!/^((?!chrome|android).)*safari/i.test(_s())}function Os(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ks(e)&&(i=e.offsetWidth>0&&Ss(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ss(r.height)/e.offsetHeight||1);var a=(Es(e)?ws(e):window).visualViewport,s=!Rs()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,d=r.width/i,u=r.height/o;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Ms(e){var t=ws(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Is(e){return e?(e.nodeName||"").toLowerCase():null}function Ns(e){return((Es(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hs(e){return Os(Ns(e)).left+Ms(e).scrollLeft}function Bs(e){return ws(e).getComputedStyle(e)}function Ps(e){var t=Bs(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function js(e,t,n){void 0===n&&(n=!1);var r,i,o=ks(t),a=ks(t)&&function(e){var t=e.getBoundingClientRect(),n=Ss(t.width)/e.offsetWidth||1,r=Ss(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Ns(t),l=Os(e,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&(("body"!==Is(t)||Ps(s))&&(c=(r=t)!==ws(r)&&ks(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Ms(r)),ks(t)?((d=Os(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=Hs(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Ls(e){var t=Os(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zs(e){return"html"===Is(e)?e:e.assignedSlot||e.parentNode||(Cs(e)?e.host:null)||Ns(e)}function Us(e){return["html","body","#document"].indexOf(Is(e))>=0?e.ownerDocument.body:ks(e)&&Ps(e)?e:Us(zs(e))}function Ws(e,t){var n;void 0===t&&(t=[]);var r=Us(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=ws(r),a=i?[o].concat(o.visualViewport||[],Ps(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Ws(zs(a)))}function Fs(e){return["table","td","th"].indexOf(Is(e))>=0}function Vs(e){return ks(e)&&"fixed"!==Bs(e).position?e.offsetParent:null}function Gs(e){for(var t=ws(e),n=Vs(e);n&&Fs(n)&&"static"===Bs(n).position;)n=Vs(n);return n&&("html"===Is(n)||"body"===Is(n)&&"static"===Bs(n).position)?t:n||function(e){var t=/firefox/i.test(_s());if(/Trident/i.test(_s())&&ks(e)&&"fixed"===Bs(e).position)return null;var n=zs(e);for(Cs(n)&&(n=n.host);ks(n)&&["html","body"].indexOf(Is(n))<0;){var r=Bs(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Qs="top",qs="bottom",Zs="right",$s="left",Ys="auto",Js=[Qs,qs,Zs,$s],Ks="start",Xs="end",el="viewport",tl="popper",nl=Js.reduce((function(e,t){return e.concat([t+"-"+Ks,t+"-"+Xs])}),[]),rl=[].concat(Js,[Ys]).reduce((function(e,t){return e.concat([t,t+"-"+Ks,t+"-"+Xs])}),[]),il=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ol(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var al={placement:"bottom",modifiers:[],strategy:"absolute"};function sl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ll(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?al:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},al,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;u(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:Es(e)?Ws(e):e.contextElement?Ws(e.contextElement):[],popper:Ws(t)};var a,c,f=function(e){var t=ol(e);return il.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:d,options:r});l.push(o||function(){})}})),d.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(sl(t,n)){s.rects={reference:js(t,Gs(n),"fixed"===s.options.strategy),popper:Ls(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,l=void 0===a?{}:a,u=i.name;"function"==typeof o&&(s=o({state:s,options:l,name:u,instance:d})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){u(),c=!0}};if(!sl(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var cl={passive:!0};const dl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=ws(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,cl)})),s&&l.addEventListener("resize",n.update,cl),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,cl)})),s&&l.removeEventListener("resize",n.update,cl)}},data:{}};function ul(e){return e.split("-")[0]}function fl(e){return e.split("-")[1]}function pl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function hl(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?ul(i):null,a=i?fl(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Qs:t={x:s,y:n.y-r.height};break;case qs:t={x:s,y:n.y+n.height};break;case Zs:t={x:n.x+n.width,y:l};break;case $s:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?pl(o):null;if(null!=c){var d="y"===c?"height":"width";switch(a){case Ks:t[c]=t[c]-(n[d]/2-r[d]/2);break;case Xs:t[c]=t[c]+(n[d]/2-r[d]/2)}}return t}const gl={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=hl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ml={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vl(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,g=void 0===h?0:h,m="function"==typeof d?d({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=$s,A=Qs,x=window;if(c){var w=Gs(n),E="clientHeight",k="clientWidth";w===ws(n)&&"static"!==Bs(w=Ns(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),(i===Qs||(i===$s||i===Zs)&&o===Xs)&&(A=qs,g-=(u&&w===x&&x.visualViewport?x.visualViewport.height:w[E])-r.height,g*=l?1:-1),i!==$s&&(i!==Qs&&i!==qs||o!==Xs)||(b=Zs,p-=(u&&w===x&&x.visualViewport?x.visualViewport.width:w[k])-r.width,p*=l?1:-1)}var C,T=Object.assign({position:s},c&&ml),D=!0===d?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Ss(n*i)/i||0,y:Ss(r*i)/i||0}}({x:p,y:g},ws(n)):{x:p,y:g};return p=D.x,g=D.y,l?Object.assign({},T,((C={})[A]=y?"0":"",C[b]=v?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",C)):Object.assign({},T,((t={})[A]=y?g+"px":"",t[b]=v?p+"px":"",t.transform="",t))}const yl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:ul(t.placement),variation:fl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,vl(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,vl(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},bl={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];ks(i)&&Is(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});ks(r)&&Is(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Al={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=rl.reduce((function(e,n){return e[n]=function(e,t,n){var r=ul(e),i=[$s,Qs].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[$s,Zs].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var xl={left:"right",right:"left",bottom:"top",top:"bottom"};function wl(e){return e.replace(/left|right|bottom|top/g,(function(e){return xl[e]}))}var El={start:"end",end:"start"};function kl(e){return e.replace(/start|end/g,(function(e){return El[e]}))}function Cl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Cs(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Tl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dl(e,t,n){return t===el?Tl(function(e,t){var n=ws(e),r=Ns(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Rs();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Hs(e),y:l}}(e,n)):Es(t)?function(e,t){var n=Os(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Tl(function(e){var t,n=Ns(e),r=Ms(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Ts(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ts(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Hs(e),l=-r.scrollTop;return"rtl"===Bs(i||n).direction&&(s+=Ts(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(Ns(e)))}function Sl(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function _l(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Rl(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,d=void 0===c?el:c,u=n.elementContext,f=void 0===u?tl:u,p=n.altBoundary,h=void 0!==p&&p,g=n.padding,m=void 0===g?0:g,v=Sl("number"!=typeof m?m:_l(m,Js)),y=f===tl?"reference":tl,b=e.rects.popper,A=e.elements[h?y:f],x=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=Ws(zs(e)),n=["absolute","fixed"].indexOf(Bs(e).position)>=0&&ks(e)?Gs(e):e;return Es(n)?t.filter((function(e){return Es(e)&&Cl(e,n)&&"body"!==Is(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=Dl(e,n,r);return t.top=Ts(i.top,t.top),t.right=Ds(i.right,t.right),t.bottom=Ds(i.bottom,t.bottom),t.left=Ts(i.left,t.left),t}),Dl(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Es(A)?A:A.contextElement||Ns(e.elements.popper),l,d,a),w=Os(e.elements.reference),E=hl({reference:w,element:b,strategy:"absolute",placement:i}),k=Tl(Object.assign({},b,E)),C=f===tl?k:w,T={top:x.top-C.top+v.top,bottom:C.bottom-x.bottom+v.bottom,left:x.left-C.left+v.left,right:C.right-x.right+v.right},D=e.modifiersData.offset;if(f===tl&&D){var S=D[i];Object.keys(T).forEach((function(e){var t=[Zs,qs].indexOf(e)>=0?1:-1,n=[Qs,qs].indexOf(e)>=0?"y":"x";T[e]+=S[n]*t}))}return T}const Ol={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=ul(m),y=l||(v!==m&&h?function(e){if(ul(e)===Ys)return[];var t=wl(e);return[kl(e),t,kl(t)]}(m):[wl(m)]),b=[m].concat(y).reduce((function(e,n){return e.concat(ul(n)===Ys?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?rl:l,d=fl(r),u=d?s?nl:nl.filter((function(e){return fl(e)===d})):Js,f=u.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=u);var p=f.reduce((function(t,n){return t[n]=Rl(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[ul(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),A=t.rects.reference,x=t.rects.popper,w=new Map,E=!0,k=b[0],C=0;C<b.length;C++){var T=b[C],D=ul(T),S=fl(T)===Ks,_=[Qs,qs].indexOf(D)>=0,R=_?"width":"height",O=Rl(t,{placement:T,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),M=_?S?Zs:$s:S?qs:Qs;A[R]>x[R]&&(M=wl(M));var I=wl(M),N=[];if(o&&N.push(O[D]<=0),s&&N.push(O[M]<=0,O[I]<=0),N.every((function(e){return e}))){k=T,E=!1;break}w.set(T,N)}if(E)for(var H=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},B=h?3:1;B>0&&"break"!==H(B);B--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ml(e,t,n){return Ts(e,Ds(t,n))}const Il={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,g=void 0===h?0:h,m=Rl(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=ul(t.placement),y=fl(t.placement),b=!y,A=pl(v),x="x"===A?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,T="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(w){if(o){var _,R="y"===A?Qs:$s,O="y"===A?qs:Zs,M="y"===A?"height":"width",I=w[A],N=I+m[R],H=I-m[O],B=p?-k[M]/2:0,P=y===Ks?E[M]:k[M],j=y===Ks?-k[M]:-E[M],L=t.elements.arrow,z=p&&L?Ls(L):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=U[R],F=U[O],V=Ml(0,E[M],z[M]),G=b?E[M]/2-B-V-W-T.mainAxis:P-V-W-T.mainAxis,Q=b?-E[M]/2+B+V+F+T.mainAxis:j+V+F+T.mainAxis,q=t.elements.arrow&&Gs(t.elements.arrow),Z=q?"y"===A?q.clientTop||0:q.clientLeft||0:0,$=null!=(_=null==D?void 0:D[A])?_:0,Y=I+Q-$,J=Ml(p?Ds(N,I+G-$-Z):N,I,p?Ts(H,Y):H);w[A]=J,S[A]=J-I}if(s){var K,X="x"===A?Qs:$s,ee="x"===A?qs:Zs,te=w[x],ne="y"===x?"height":"width",re=te+m[X],ie=te-m[ee],oe=-1!==[Qs,$s].indexOf(v),ae=null!=(K=null==D?void 0:D[x])?K:0,se=oe?re:te-E[ne]-k[ne]-ae+T.altAxis,le=oe?te+E[ne]+k[ne]-ae-T.altAxis:ie,ce=p&&oe?function(e,t,n){var r=Ml(e,t,n);return r>n?n:r}(se,te,le):Ml(p?se:re,te,p?le:ie);w[x]=ce,S[x]=ce-te}t.modifiersData[r]=S}},requiresIfExists:["offset"]},Nl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ul(n.placement),l=pl(s),c=[$s,Zs].indexOf(s)>=0?"height":"width";if(o&&a){var d=function(e,t){return Sl("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:_l(e,Js))}(i.padding,n),u=Ls(o),f="y"===l?Qs:$s,p="y"===l?qs:Zs,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=Gs(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=h/2-g/2,b=d[f],A=v-u[c]-d[p],x=v/2-u[c]/2+y,w=Ml(b,x,A),E=l;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Cl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Bl(e){return[Qs,Zs,qs,$s].some((function(t){return e[t]>=0}))}const Pl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Rl(t,{elementContext:"reference"}),s=Rl(t,{altBoundary:!0}),l=Hl(a,r),c=Hl(s,i,o),d=Bl(l),u=Bl(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};var jl=ll({defaultModifiers:[dl,gl,yl,bl,Al,Ol,Il,Nl,Pl]}),Ll="tippy-content",zl="tippy-backdrop",Ul="tippy-arrow",Wl="tippy-svg-arrow",Fl={passive:!0,capture:!0},Vl=function(){return document.body};function Gl(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ql(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ql(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Zl(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function $l(e){return[].concat(e)}function Yl(e,t){-1===e.indexOf(t)&&e.push(t)}function Jl(e){return[].slice.call(e)}function Kl(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Xl(){return document.createElement("div")}function ec(e){return["Element","Fragment"].some((function(t){return Ql(e,t)}))}function tc(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function nc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function rc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function ic(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var oc={isTouch:!1},ac=0;function sc(){oc.isTouch||(oc.isTouch=!0,window.performance&&document.addEventListener("mousemove",lc))}function lc(){var e=performance.now();e-ac<20&&(oc.isTouch=!1,document.removeEventListener("mousemove",lc)),ac=e}function cc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var dc=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),uc=Object.assign({appendTo:Vl,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),fc=Object.keys(uc);function pc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=uc[i])?r:o),t}),{});return Object.assign({},e,t)}function hc(e,t){var n=Object.assign({},t,{content:ql(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(pc(Object.assign({},uc,{plugins:t}))):fc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},uc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var gc=function(){return"innerHTML"};function mc(e,t){e[gc()]=t}function vc(e){var t=Xl();return!0===e?t.className=Ul:(t.className=Wl,ec(e)?t.appendChild(e):mc(t,e)),t}function yc(e,t){ec(t.content)?(mc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?mc(e,t.content):e.textContent=t.content)}function bc(e){var t=e.firstElementChild,n=Jl(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Ll)})),arrow:n.find((function(e){return e.classList.contains(Ul)||e.classList.contains(Wl)})),backdrop:n.find((function(e){return e.classList.contains(zl)}))}}function Ac(e){var t=Xl(),n=Xl();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Xl();function i(n,r){var i=bc(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||yc(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(vc(r.arrow))):o.appendChild(vc(r.arrow)):s&&o.removeChild(s)}return r.className=Ll,r.setAttribute("data-state","hidden"),yc(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ac.$$tippy=!0;var xc=1,wc=[],Ec=[];function kc(e,t){var n,r,i,o,a,s,l,c,d=hc(e,Object.assign({},uc,pc(Kl(t)))),u=!1,f=!1,p=!1,h=!1,g=[],m=Zl(q,d.interactiveDebounce),v=xc++,y=(c=d.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:v,reference:e,popper:Xl(),popperInstance:null,props:d,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){I("onBeforeUpdate",[b,t]),G();var n=b.props,r=hc(e,Object.assign({},n,Kl(t),{ignoreAttributes:!0}));b.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(B(),m=Zl(q,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?$l(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),H(),M(),w&&w(n,r),b.popperInstance&&(J(),X().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),I("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=oc.isTouch&&!b.props.touch,i=Gl(b.props.duration,0,uc.duration);if(!(e||t||n||r||S().hasAttribute("disabled")||(I("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,D()&&(x.style.visibility="visible"),M(),z(),b.state.isMounted||(x.style.transition="none"),D()){var o=R();tc([o.box,o.content],0)}var a,l,c;s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=R(),n=t.box,r=t.content;tc([n,r],i),nc([n,r],"visible")}N(),H(),Yl(Ec,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){W(e,(function(){b.state.isShown=!0,I("onShown",[b])}))}(i)}},l=b.props.appendTo,c=S(),(a=b.props.interactive&&l===Vl||"parent"===l?c.parentNode:ql(l,[c])).contains(x)||a.appendChild(x),b.state.isMounted=!0,J()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Gl(b.props.duration,1,uc.duration);if(!(e||t||n)&&(I("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,u=!1,D()&&(x.style.visibility="hidden"),B(),U(),M(!0),D()){var i=R(),o=i.box,a=i.content;b.props.animation&&(tc([o,a],r),nc([o,a],"hidden"))}N(),H(),b.props.animation?D()&&function(e,t){W(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){_().addEventListener("mousemove",m),Yl(wc,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(K(),X().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Ec=Ec.filter((function(e){return e!==b})),b.state.isMounted=!1,I("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),G(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b]))}};if(!d.render)return b;var A=d.render(b),x=A.popper,w=A.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=y.map((function(e){return e.fn(b)})),k=e.hasAttribute("aria-expanded");return V(),H(),M(),I("onCreate",[b]),d.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&_().addEventListener("mousemove",m)})),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function T(){return"hold"===C()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function S(){return l||e}function _(){var e,t,n=S().parentNode;return n?null!=(t=$l(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function R(){return bc(x)}function O(e){return b.state.isMounted&&!b.state.isVisible||oc.isTouch||o&&"focus"===o.type?0:Gl(b.props.delay,e?0:1,uc.delay)}function M(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(e,t,n){var r;void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function N(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;$l(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function H(){!k&&b.props.aria.expanded&&$l(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===S()?"true":"false"):e.removeAttribute("aria-expanded")}))}function B(){_().removeEventListener("mousemove",m),wc=wc.filter((function(e){return e!==m}))}function P(t){if(!oc.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!ic(x,n)){if($l(b.props.triggerTarget||e).some((function(e){return ic(e,n)}))){if(oc.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||U())}}}function j(){p=!0}function L(){p=!1}function z(){var e=_();e.addEventListener("mousedown",P,!0),e.addEventListener("touchend",P,Fl),e.addEventListener("touchstart",L,Fl),e.addEventListener("touchmove",j,Fl)}function U(){var e=_();e.removeEventListener("mousedown",P,!0),e.removeEventListener("touchend",P,Fl),e.removeEventListener("touchstart",L,Fl),e.removeEventListener("touchmove",j,Fl)}function W(e,t){var n=R().box;function r(e){e.target===n&&(rc(n,"remove",r),t())}if(0===e)return t();rc(n,"remove",a),rc(n,"add",r),a=r}function F(t,n,r){void 0===r&&(r=!1),$l(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),g.push({node:e,eventType:t,handler:n,options:r})}))}function V(){var e;T()&&(F("touchstart",Q,{passive:!0}),F("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(F(e,Q),e){case"mouseenter":F("mouseleave",Z);break;case"focus":F(dc?"focusout":"blur",$);break;case"focusin":F("focusout",$)}}))}function G(){g.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),g=[]}function Q(e){var t,n=!1;if(b.state.isEnabled&&!Y(e)&&!f){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,H(),!b.state.isVisible&&Ql(e,"MouseEvent")&&wc.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||u)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!r&&te(e)}}function q(e){var t=e.target,n=S().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=X().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:d}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,d="right"===a?s.left.x:0,u="left"===a?s.right.x:0,f=t.top-r+l>o,p=r-t.bottom-c>o,h=t.left-n+d>o,g=n-t.right-u>o;return f||p||h||g}))})(r,e)&&(B(),te(e))}}function Z(e){Y(e)||b.props.trigger.indexOf("click")>=0&&u||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==S()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Y(e){return!!oc.isTouch&&T()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,l=D()?bc(x).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||S()}:e,d=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=R().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];D()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=jl(c,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function X(){return Jl(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),z();var t=O(!0),r=C(),i=r[0],o=r[1];oc.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=O(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else U()}}function Cc(e,t){void 0===t&&(t={});var n=uc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",sc,Fl),window.addEventListener("blur",cc);var r,i=Object.assign({},t,{plugins:n}),o=(r=e,ec(r)?[r]:function(e){return Ql(e,"NodeList")}(r)?Jl(r):Array.isArray(r)?r:Jl(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&kc(t,i);return n&&e.push(n),e}),[]);return ec(e)?o[0]:o}Cc.defaultProps=uc,Cc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){uc[t]=e[t]}))},Cc.currentInput=oc,Object.assign({},bl,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var Tc={mouseover:"mouseenter",focusin:"focus",click:"click"};function Dc(e,t){var n,r,i,o=[],a=[],s=!1,l=t.target,c=(n=t,r=["target"],i=Object.assign({},n),r.forEach((function(e){delete i[e]})),i),d=Object.assign({},c,{trigger:"manual",touch:!1}),u=Object.assign({touch:uc.touch},c,{showOnCreate:!0}),f=Cc(e,d);function p(e){if(e.target&&!s){var n=e.target.closest(l);if(n){var r=n.getAttribute("data-tippy-trigger")||t.trigger||uc.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof u.touch||"touchstart"!==e.type&&r.indexOf(Tc[e.type])<0)){var i=Cc(n,u);i&&(a=a.concat(i))}}}}function h(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),o.push({node:e,eventType:t,handler:n,options:r})}return $l(f).forEach((function(e){var t=e.destroy,n=e.enable,r=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&a.forEach((function(e){e.destroy()})),a=[],o.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),o=[],t()},e.enable=function(){n(),a.forEach((function(e){return e.enable()})),s=!1},e.disable=function(){r(),a.forEach((function(e){return e.disable()})),s=!0},function(e){var t=e.reference;h(t,"touchstart",p,Fl),h(t,"mouseover",p),h(t,"focusin",p),h(t,"click",p)}(e)})),f}Cc.setDefaultProps({render:Ac});var Sc=n(379),_c=n.n(Sc),Rc=n(795),Oc=n.n(Rc),Mc=n(569),Ic=n.n(Mc),Nc=n(565),Hc=n.n(Nc),Bc=n(216),Pc=n.n(Bc),jc=n(589),Lc=n.n(jc),zc=n(110),Uc={};Uc.styleTagTransform=Lc(),Uc.setAttributes=Hc(),Uc.insert=Ic().bind(null,"head"),Uc.domAPI=Oc(),Uc.insertStyleElement=Pc(),_c()(zc.Z,Uc),zc.Z&&zc.Z.locals&&zc.Z.locals;var Wc=n(588),Fc={};Fc.styleTagTransform=Lc(),Fc.setAttributes=Hc(),Fc.insert=Ic().bind(null,"head"),Fc.domAPI=Oc(),Fc.insertStyleElement=Pc(),_c()(Wc.Z,Fc),Wc.Z&&Wc.Z.locals&&Wc.Z.locals;var Vc=n(150),Gc={};Gc.styleTagTransform=Lc(),Gc.setAttributes=Hc(),Gc.insert=Ic().bind(null,"head"),Gc.domAPI=Oc(),Gc.insertStyleElement=Pc(),_c()(Vc.Z,Gc),Vc.Z&&Vc.Z.locals&&Vc.Z.locals,document.addEventListener("DOMContentLoaded",(function(){window.fullCalendars=[];var e=/^\d+$/;let t=new Date;function n(t,n){return"true"===t||"false"!==t&&(e.test(t)?parseInt(t,10):t||void 0===n?t:n)}function r(e){return"eventBackgroundColor"in e?e.eventBackgroundColor:"eventColor"in e&&e.eventColor}function i(e){Object.keys(e).forEach((function(t){if(e[t])switch(typeof e[t]){case"string":e[t]=n(e[t]);break;case"object":e[t].constructor===Object&&i(e[t])}}))}var o={};Array.prototype.forEach.call(document.querySelectorAll(".pgc-calendar-wrapper"),(function(a,s){var l=window.document.createElement("div");l.className="pgc-error-el";var c=window.document.createElement("div");c.className="pgc-loading-el";var d=null,u=null,f=a.querySelector(".pgc-calendar"),p=a.querySelector(".pgc-calendar-filter"),h=null,g=null,m=null,v=n(f.getAttribute("data-public"),!1),y=n(f.getAttribute("data-filter")),b=f.getAttribute("data-theme");b&&(a.classList.add("pgc-theme-"+b),function(e){if(!(e in o)){o[e]=!0;var t=document.createElement("link");t.href=(e.startsWith("pgc-")?pgc_object.themes_url:pgc_object.custom_themes_url)+"/"+e+".css",t.rel="stylesheet",t.type="text/css",document.body.appendChild(t)}}(b));var A=n(f.getAttribute("data-eventpopup"),!0),x=n(f.getAttribute("data-eventlink"),!1),w=n(f.getAttribute("data-hidepassed"),!1),E=n(f.getAttribute("data-hidefuture"),!1),k=n(f.getAttribute("data-eventdescription"),!1),C=n(f.getAttribute("data-eventlocation"),!1),T=n(f.getAttribute("data-eventattendees"),!1),D=n(f.getAttribute("data-eventattachments"),!1),S=n(f.getAttribute("data-eventcreator"),!1),_=n(f.getAttribute("data-eventcalendarname"),!1),R=p&&p.getAttribute("data-uncheckedcalendarids")?JSON.parse(p.getAttribute("data-uncheckedcalendarids")):[],O="en-US";f.getAttribute("data-locale")&&(O=f.getAttribute("data-locale").replace("_","-"));var M={locales:xs,locale:O,navLinks:!0},I=f.getAttribute("data-config")?JSON.parse(f.getAttribute("data-config")):{};i(I);var N=Object.assign({},M);if(Object.keys(I).forEach((function(e){var t=n(I[e]);N[function(e){return e.replace(/_([a-z])/g,(function(e){return e[1].toUpperCase()}))}(e)]=t})),"header"in N&&(N.headerToolbar=N.header,N.headerToolbar.start=N.headerToolbar.left,N.headerToolbar.end=N.headerToolbar.right,delete N.headerToolbar.left,delete N.headerToolbar.right,delete N.header),"firstDay"in N&&!e.test(N.firstDay)){let e=new Date(t.getFullYear(),t.getMonth(),t.getDate()+1,t.getHours(),t.getMinutes(),t.getSeconds());N.firstDay=e.getDay()}O=N.locale;var H=f.getAttribute("data-calendarids")?JSON.parse(f.getAttribute("data-calendarids")):[];function B(){return!!(h=f.querySelector(".fc-view"))}function P(){c.parentNode&&c.parentNode.removeChild(c)}function j(e){P(),B()&&(l.innerText=e,h.appendChild(l))}function L(){var e=function(){var e=[];return d.forEach((function(t){g.indexOf(t.calId)>-1&&e.push(t)})),e}(),t=u.getEvents();u.batchRendering((function(){t.forEach((function(e){e.remove()}))})),u.batchRendering((function(){e.forEach((function(e){u.addEvent(e)}))}))}"calendarids"in N&&(H=N.calendarids.split(",").map((function(e){return e.replace(" ","")}))),v&&0===H.length&&console.error("If you set the 'public' property, you have to specify at least 1 calendar ID in the 'calendarids' property."),p&&p.addEventListener("change",(function(e){g=Array.prototype.map.call(a.querySelectorAll(".pgc-calendar-filter-wrapper input[type='checkbox']:checked"),(function(e){return e.value})),L()}));var z=null,U={};N.timeZone&&(U.timeZone="UTC");var W=new Intl.DateTimeFormat(O,U),F=new Intl.DateTimeFormat(O,Object.assign({dateStyle:"short",timeStyle:"short"},U));if(N=Object.assign(N,{loading:function(e,t){e?z=setTimeout((function(){var e;e=pgc_object.trans.loading,l.parentNode&&l.parentNode.removeChild(l),B()&&(c.innerText=e,h.appendChild(c))}),300):(z&&(clearTimeout(z),z=null),P())},eventDidMount:function(e){if(A){var t=['<span class="pgc-popup-draghandle dashicons dashicons-screenoptions"></span><div class="pgc-popup-row pgc-event-title"><div class="pgc-popup-row-icon"><span></span></div><div class="pgc-popup-row-value">'+e.event.title+"</div></div>"],n=W.format(e.event.start);t.push('<div class="pgc-popup-row pgc-event-time"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-clock"></span></div><div class="pgc-popup-row-value">'+n+"<br>"),e.event.allDay?t.push(pgc_object.trans.all_day+"</div></div>"):t.push(F.format(e.event.start)+" - "+F.format(e.event.end||e.event.start)+"</div></div>"),k&&e.event.extendedProps.description&&t.push('<div class="pgc-popup-row pgc-event-description"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-editor-alignleft"></span></div><div class="pgc-popup-row-value">'+e.event.extendedProps.description+"</div></div>"),C&&e.event.extendedProps.location&&t.push('<div class="pgc-popup-row pgc-event-location"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-location"></span></div><div class="pgc-popup-row-value"><a target="_blank" href="https://www.google.com/maps/search/?api=1&query='+encodeURIComponent(e.event.extendedProps.location)+'">'+e.event.extendedProps.location+"</a></div></div>"),T&&e.event.extendedProps.attendees&&e.event.extendedProps.attendees.length&&t.push('<div class="pgc-popup-row pgc-event-attendees"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-groups"></span></div><div class="pgc-popup-row-value"><ul>'+e.event.extendedProps.attendees.map((function(e){return"<li>"+e.email+"</li>"})).join("")+"</ul></div></div>"),D&&e.event.extendedProps.attachments&&e.event.extendedProps.attachments.length&&t.push('<div class="pgc-popup-row pgc-event-attachments"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-paperclip"></span></div><div class="pgc-popup-row-value"><ul>'+e.event.extendedProps.attachments.map((function(e){return'<li><a rel="noopener noreferrer" target="_blank" href="'+e.fileUrl+'">'+e.title+"</a></li>"})).join("<br>")+"</ul></div></div>");var r=S&&e.event.extendedProps.creator&&(e.event.extendedProps.creator.email||e.event.extendedProps.creator.displayName);(_||r)&&(t.push('<div class="pgc-popup-row pgc-event-calendarname-creator"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-calendar-alt"></span></div><div class="pgc-popup-row-value">'),_&&(t.push(m[e.event.extendedProps.calId].summary||e.event.extendedProps.calId),r&&t.push("<br>")),r&&t.push(pgc_object.trans.created_by+": "+(e.event.extendedProps.creator.displayName||e.event.extendedProps.creator.email)),t.push("</div></div>")),x&&t.push('<div class="pgc-popup-row pgc-event-link"><div class="pgc-popup-row-icon"><span class="dashicons dashicons-external"></span></div><div class="pgc-popup-row-value"><a rel="noopener noreferrer" target="_blank" href="'+e.event.extendedProps.htmlLink+'">'+pgc_object.trans.go_to_event+"</a></div></div>");var i=e.el.querySelector("a")||e.el;i.setAttribute("data-tippy-content",t.join("\n")),i.setAttribute("data-calendarid",e.event.extendedProps.calId)}},events:function(e,t,n){var i=e.start.toISOString(),o=e.end.toISOString(),a=new XMLHttpRequest,l=new FormData;l.append("_ajax_nonce",pgc_object.nonce),l.append("action","pgc_ajax_get_calendar"),l.append("start",i),l.append("end",o),"timeZone"in e&&e.timeZone&&l.append("timeZone",e.timeZone),l.append("thisCalendarids",H.join(",")),v&&l.append("isPublic",1),a.onload=function(e){try{var i=JSON.parse(this.response);if("error"in i)throw i;var o=[];if("items"in i){var l=i.calendars;i.items.forEach((function(e){e.calId in l&&(!("eventColor"in N)&&e.bColor?(e.borderColor=e.bColor,e.backgroundColor=e.bColor,e.textColor=e.fColor):r(N)||(e.backgroundColor=l[e.calId].backgroundColor),o.push(e))})),d=o,function(e){if(m=e,null===g){if(g=Object.keys(e),R.length){var t=[];g.forEach((function(e){-1===R.indexOf(e)&&t.push(e)})),g=t}if(y){var n=[];Object.keys(e).forEach((function(t,i){H.length&&-1===H.indexOf(t)||n.push('<input id="id_'+s+"_"+i+'" type="checkbox" '+(-1===R.indexOf(t)?"checked":"")+' value="'+t+'" /><label for="id_'+s+"_"+i+'"><span class="pgc-calendar-color" style="background-color:'+(r(N)||e[t].backgroundColor)+'"></span> '+(e[t].summary||t)+"</label>")})),p.innerHTML='<div class="pgc-calendar-filter-wrapper">'+n.join("\n")+"</div>"}}}(i.calendars)}t([]),L()}catch(e){j(e.errorDescription||e.error||pgc_object.trans.unknown_error),console.error(e),n(e)}finally{a=null}},a.onerror=function(e){j(e.error||pgc_object.trans.request_error),console.error(e),n(e)},a.open("POST",pgc_object.ajax_url),a.send(l)}}),(w||E||0===w||0===E)&&(N.validRange={}),!0===w||0===w?N.validRange.start=new Date:w&&(N.validRange.start=new Date(t.getFullYear(),t.getMonth(),t.getDate()-w,t.getHours(),t.getMinutes(),t.getSeconds())),!0===E||0===E?N.validRange.end=new Date:E&&(N.validRange.end=new Date(t.getFullYear(),t.getMonth(),t.getDate()+E,t.getHours(),t.getMinutes(),t.getSeconds())),(u=new na(f,Object.assign({plugins:[Ta,ss,ms],initialView:"dayGridMonth",eventInteractive:A,nowIndicator:!0,dayHeaders:!0,dayHeaderFormat:{weekday:"short"}},N))).render(),window.fullCalendars.push(u),A){var V={target:"*[data-tippy-content]",allowHTML:!0,interactive:!0,trigger:"focus",appendTo:document.body,theme:b||"light",onMount:function(e){Array.prototype.forEach.call(e.popper.querySelectorAll("a"),(function(e){e.getAttribute("target")||(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))}))}};Dc(f,V)}}));var a=0,s=0,l=null,c=0,d=0;function u(e){l.style.transform="translate("+(c+(e.clientX-a))+"px, "+(d+(e.clientY-s))+"px)"}function f(){document.body.removeEventListener("mousemove",u),document.body.removeEventListener("mouseup",f)}document.body.addEventListener("mousedown",(function(e){var t=e.target||e.srcElement;if(t.classList.contains("pgc-popup-draghandle")){for(;t;){if(t.getAttribute&&t.hasAttribute("data-tippy-root")){l=t;break}t=t.parentNode}if(l){var n=l.style.transform.replace("translate(","").replace(")","").split(",");c=parseInt(n[0].replace(" ",""),10),d=parseInt(n[1].replace(" ",""),10),a=e.clientX,s=e.clientY,document.body.addEventListener("mousemove",u),document.body.addEventListener("mouseup",f)}}}))}))})()})(); |
| | 1 | (()=>{"use strict";var e={110:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',"",{version:3,sources:["webpack://./node_modules/tippy.js/dist/tippy.css"],names:[],mappings:"AAAA,mDAAmD,SAAS,CAAC,kBAAkB,4BAA4B,CAAC,WAAW,iBAAiB,CAAC,qBAAqB,CAAC,UAAU,CAAC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,SAAS,CAAC,gDAAgD,CAAC,6CAA6C,QAAQ,CAAC,oDAAoD,WAAW,CAAC,MAAM,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,2BAA2B,CAAC,gDAAgD,KAAK,CAAC,uDAAuD,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,8BAA8B,CAAC,8CAA8C,OAAO,CAAC,qDAAqD,0BAA0B,CAAC,yBAAyB,CAAC,UAAU,CAAC,4BAA4B,CAAC,+CAA+C,MAAM,CAAC,sDAAsD,SAAS,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,6BAA6B,CAAC,6CAA6C,yDAAyD,CAAC,aAAa,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,oBAAoB,UAAU,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,eAAe,iBAAiB,CAAC,eAAe,CAAC,SAAS",sourcesContent:['.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'],sourceRoot:""}]);const s=a},588:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}","",{version:3,sources:["webpack://./node_modules/tippy.js/themes/light.css"],names:[],mappings:"AAAA,8BAA8B,aAAa,CAAC,mHAAmH,CAAC,qBAAqB,CAAC,uEAAuE,qBAAqB,CAAC,0EAA0E,wBAAwB,CAAC,wEAAwE,sBAAsB,CAAC,yEAAyE,uBAAuB,CAAC,8CAA8C,qBAAqB,CAAC,+CAA+C,SAAS",sourcesContent:[".tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}"],sourceRoot:""}]);const s=a},150:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(537),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,'/* Visualize that we can click on an event with tippy content */\na.fc-event[data-tippy-content],\ntd.fc-list-event-title a[data-tippy-content] {\n cursor: pointer;\n}\n\n/* Not sure what this does... */\n.pgc-calendar-wrapper *,\n.pgc-calendar-wrapper *::before,\n.pgc-calendar-wrapper *::after {\n word-break: initial;\n}\n\n/**********************************\n * Start calendar filter checkboxes\n **********************************/\n.pgc-calendar-filter input[type=checkbox]:focus+label span,\n.pgc-calendar-filter input[type=checkbox]:active+label span {\n outline: 1px dashed black;\n}\n\n.pgc-calendar-filter input[type=checkbox] {\n opacity: 0;\n position: fixed;\n /* absolute makes the page scroll to top when checked */\n}\n\n.pgc-calendar-color {\n width: 1.4rem;\n height: 1.4rem;\n padding: 0 .2rem;\n opacity: .4;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label {\n margin: 0 1rem 0 0;\n padding: 0;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span {\n opacity: 1;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label span:before {\n content: "✔";\n line-height: 1.4rem;\n visibility: hidden;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span:before {\n visibility: visible;\n}\n\n.pgc-calendar-filter:first-child {\n margin-bottom: 1rem;\n}\n\n.pgc-calendar-filter:last-child {\n margin-top: 1rem;\n}\n\n/* End calendar filter checkboxes */\n\n\n\n/*****************************************************\n * Start tippy content basic styling\n * This can be overruled or detailed in a custom theme\n *****************************************************/\n.tippy-content {\n padding: 1rem;\n}\n\n.pgc-event-title {\n font-size: large;\n font-weight: 500;\n}\n\n.pgc-popup-row-icon {\n width: 2rem;\n float: left;\n}\n\n.pgc-popup-row-value {\n margin-left: 2rem;\n}\n\n.pgc-event-title .pgc-popup-row-value {\n margin-right: 3rem;\n margin-left: 0;\n}\n\n.pgc-popup-row {\n clear: both;\n margin-bottom: 1rem;\n}\n\n.pgc-popup-row ul,\n.pgc-popup-row li {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.pgc-popup-draghandle {\n position: absolute;\n right: 1rem;\n top: 1rem;\n cursor: move;\n opacity: .4;\n}\n\n/* End tippy content basic styling */\n\n/*************************\n * Start loading and error\n *************************/\n\n.pgc-loading-el,\n.pgc-error-el {\n position: absolute;\n background-color: #fcf8e3;\n padding: 1rem;\n left: 0;\n top: 0;\n opacity: .8;\n z-index: 1000;\n}\n\n.pgc-error-el {\n background-color: red;\n opacity: 1;\n}\n\n/*********************************************************************\n * On small screens the title and buttons need to get below each other\n *********************************************************************/\n@media(max-width:649px) {\n .fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: .6rem;\n }\n\n .fc .fc-toolbar {\n display: block;\n }\n\n .fc-toolbar-chunk {\n display: block;\n text-align: center;\n }\n\n .fc-toolbar>div {\n margin-bottom: 1rem;\n }\n}',"",{version:3,sources:["webpack://./src/main.css"],names:[],mappings:"AAAA,+DAA+D;AAC/D;;EAEE,eAAe;AACjB;;AAEA,+BAA+B;AAC/B;;;EAGE,mBAAmB;AACrB;;AAEA;;mCAEmC;AACnC;;EAEE,yBAAyB;AAC3B;;AAEA;EACE,UAAU;EACV,eAAe;EACf,uDAAuD;AACzD;;AAEA;EACE,aAAa;EACb,cAAc;EACd,gBAAgB;EAChB,WAAW;AACb;;AAEA;EACE,kBAAkB;EAClB,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,YAAY;EACZ,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA,mCAAmC;;;;AAInC;;;sDAGsD;AACtD;EACE,aAAa;AACf;;AAEA;EACE,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,WAAW;EACX,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,WAAW;EACX,mBAAmB;AACrB;;AAEA;;EAEE,gBAAgB;EAChB,UAAU;EACV,SAAS;AACX;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,YAAY;EACZ,WAAW;AACb;;AAEA,oCAAoC;;AAEpC;;0BAE0B;;AAE1B;;EAEE,kBAAkB;EAClB,yBAAyB;EACzB,aAAa;EACb,OAAO;EACP,MAAM;EACN,WAAW;EACX,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,UAAU;AACZ;;AAEA;;sEAEsE;AACtE;EACE;IACE,oBAAoB;EACtB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,cAAc;IACd,kBAAkB;EACpB;;EAEA;IACE,mBAAmB;EACrB;AACF",sourcesContent:['/* Visualize that we can click on an event with tippy content */\na.fc-event[data-tippy-content],\ntd.fc-list-event-title a[data-tippy-content] {\n cursor: pointer;\n}\n\n/* Not sure what this does... */\n.pgc-calendar-wrapper *,\n.pgc-calendar-wrapper *::before,\n.pgc-calendar-wrapper *::after {\n word-break: initial;\n}\n\n/**********************************\n * Start calendar filter checkboxes\n **********************************/\n.pgc-calendar-filter input[type=checkbox]:focus+label span,\n.pgc-calendar-filter input[type=checkbox]:active+label span {\n outline: 1px dashed black;\n}\n\n.pgc-calendar-filter input[type=checkbox] {\n opacity: 0;\n position: fixed;\n /* absolute makes the page scroll to top when checked */\n}\n\n.pgc-calendar-color {\n width: 1.4rem;\n height: 1.4rem;\n padding: 0 .2rem;\n opacity: .4;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label {\n margin: 0 1rem 0 0;\n padding: 0;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span {\n opacity: 1;\n}\n\n.pgc-calendar-filter input[type=checkbox]+label span:before {\n content: "✔";\n line-height: 1.4rem;\n visibility: hidden;\n}\n\n.pgc-calendar-filter input[type=checkbox]:checked+label span:before {\n visibility: visible;\n}\n\n.pgc-calendar-filter:first-child {\n margin-bottom: 1rem;\n}\n\n.pgc-calendar-filter:last-child {\n margin-top: 1rem;\n}\n\n/* End calendar filter checkboxes */\n\n\n\n/*****************************************************\n * Start tippy content basic styling\n * This can be overruled or detailed in a custom theme\n *****************************************************/\n.tippy-content {\n padding: 1rem;\n}\n\n.pgc-event-title {\n font-size: large;\n font-weight: 500;\n}\n\n.pgc-popup-row-icon {\n width: 2rem;\n float: left;\n}\n\n.pgc-popup-row-value {\n margin-left: 2rem;\n}\n\n.pgc-event-title .pgc-popup-row-value {\n margin-right: 3rem;\n margin-left: 0;\n}\n\n.pgc-popup-row {\n clear: both;\n margin-bottom: 1rem;\n}\n\n.pgc-popup-row ul,\n.pgc-popup-row li {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.pgc-popup-draghandle {\n position: absolute;\n right: 1rem;\n top: 1rem;\n cursor: move;\n opacity: .4;\n}\n\n/* End tippy content basic styling */\n\n/*************************\n * Start loading and error\n *************************/\n\n.pgc-loading-el,\n.pgc-error-el {\n position: absolute;\n background-color: #fcf8e3;\n padding: 1rem;\n left: 0;\n top: 0;\n opacity: .8;\n z-index: 1000;\n}\n\n.pgc-error-el {\n background-color: red;\n opacity: 1;\n}\n\n/*********************************************************************\n * On small screens the title and buttons need to get below each other\n *********************************************************************/\n@media(max-width:649px) {\n .fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: .6rem;\n }\n\n .fc .fc-toolbar {\n display: block;\n }\n\n .fc-toolbar-chunk {\n display: block;\n text-align: center;\n }\n\n .fc-toolbar>div {\n margin-bottom: 1rem;\n }\n}'],sourceRoot:""}]);const s=a},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},537:e=>{e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},379:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=o[c]||0,u="".concat(c," ").concat(d);o[c]=d+1;var f=n(u),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=i(p,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var d=n(o[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=l}}},569:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0,(()=>{var e,t,r,i,o,a,s,l,c,d={},u=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function g(t,n,r){var i,o,a,s={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return m(t,s,i,o,null)}function m(e,n,i,o,a){var s={type:e,props:n,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function v(e){return e.children}function y(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function b(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||y(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||y(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?x:A,o):e.removeEventListener(t,o?x:A,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function A(e){o=!0;try{return this.l[e.type+!1](t.event?t.event(e):e)}finally{o=!1}}function x(e){o=!0;try{return this.l[e.type+!0](t.event?t.event(e):e)}finally{o=!1}}function w(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function k(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return k(e)}}function C(e){o?setTimeout(e):l(e)}function T(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!D.__r++||s!==t.debounceRendering)&&((s=t.debounceRendering)||C)(D)}function D(){var e,t,n,r,i,o,s,l;for(a.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=a.shift();)e.__d&&(t=a.length,r=void 0,i=void 0,s=(o=(n=e).__v).__e,(l=n.__P)&&(r=[],(i=p({},o)).__v=o.__v+1,N(l,o,i,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[s]:null,r,null==s?E(o):s,o.__h),I(r,o),o.__e!=s&&k(o)),a.length>t&&a.sort((function(e,t){return e.__v.__b-t.__v.__b})));D.__r=0}function S(e,t,n,r,i,o,a,s,l,c){var f,p,h,g,y,b,A,x=r&&r.__k||u,w=x.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(g=n.__k[f]=null==(g=t[f])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?m(null,g,null,null,g):Array.isArray(g)?m(v,{children:g},null,null,null):g.__b>0?m(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(h=x[f])||h&&g.key==h.key&&g.type===h.type)x[f]=void 0;else for(p=0;p<w;p++){if((h=x[p])&&g.key==h.key&&g.type===h.type){x[p]=void 0;break}h=null}N(e,g,h=h||d,i,o,a,s,l,c),y=g.__e,(p=g.ref)&&h.ref!=p&&(A||(A=[]),h.ref&&A.push(h.ref,null,g),A.push(p,g.__c||y,g)),null!=y?(null==b&&(b=y),"function"==typeof g.type&&g.__k===h.__k?g.__d=l=_(g,l,e):l=O(e,g,h,x,y,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=E(h))}for(n.__e=b,f=w;f--;)null!=x[f]&&("function"==typeof n.type&&null!=x[f].__e&&x[f].__e==n.__d&&(n.__d=M(r).nextSibling),P(x[f],x[f]));if(A)for(f=0;f<A.length;f++)B(A[f],A[++f],A[++f])}function _(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?_(r,t,n):O(n,r,r,i,r.__e,t));return t}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){R(e,t)})):t.push(e)),t}function O(e,t,n,r,i,o){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<r.length;l+=1)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function M(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=M(n)))return r;return null}function N(e,n,r,i,o,a,s,l,c){var d,u,f,h,g,m,y,b,A,x,E,k,C,T,D,_=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,l=n.__e=r.__e,n.__h=null,a=[l]),(d=t.__b)&&d(n);try{e:if("function"==typeof _){if(b=n.props,A=(d=_.contextType)&&i[d.__c],x=d?A?A.props.value:d.__:i,r.__c?y=(u=n.__c=r.__c).__=u.__E:("prototype"in _&&_.prototype.render?n.__c=u=new _(b,x):(n.__c=u=new w(b,x),u.constructor=_,u.render=j),A&&A.sub(u),u.props=b,u.state||(u.state={}),u.context=x,u.__n=i,f=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=_.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=p({},u.__s)),p(u.__s,_.getDerivedStateFromProps(b,u.__s))),h=u.props,g=u.state,u.__v=n,f)null==_.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==_.getDerivedStateFromProps&&b!==h&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,x),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,x)||n.__v===r.__v){for(n.__v!==r.__v&&(u.props=b,u.state=u.__s,u.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),E=0;E<u._sb.length;E++)u.__h.push(u._sb[E]);u._sb=[],u.__h.length&&s.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,x),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(h,g,m)}))}if(u.context=x,u.props=b,u.__P=e,k=t.__r,C=0,"prototype"in _&&_.prototype.render){for(u.state=u.__s,u.__d=!1,k&&k(n),d=u.render(u.props,u.state,u.context),T=0;T<u._sb.length;T++)u.__h.push(u._sb[T]);u._sb=[]}else do{u.__d=!1,k&&k(n),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++C<25);u.state=u.__s,null!=u.getChildContext&&(i=p(p({},i),u.getChildContext())),f||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(h,g)),D=null!=d&&d.type===v&&null==d.key?d.props.children:d,S(e,Array.isArray(D)?D:[D],n,r,i,o,a,s,l,c),u.base=n.__e,n.__h=null,u.__h.length&&s.push(u),y&&(u.__E=u.__=null),u.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=H(r.__e,n,r,i,o,a,s,c);(d=t.diffed)&&d(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=l,n.__h=!!c,a[a.indexOf(l)]=null),t.__e(e,n,r)}}function I(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function H(t,n,r,i,o,a,s,l){var c,u,f,p=r.props,g=n.props,m=n.type,v=0;if("svg"===m&&(o=!0),null!=a)for(;v<a.length;v++)if((c=a[v])&&"setAttribute"in c==!!m&&(m?c.localName===m:3===c.nodeType)){t=c,a[v]=null;break}if(null==t){if(null===m)return document.createTextNode(g);t=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),a=null,l=!1}if(null===m)p===g||l&&t.data===g||(t.data=g);else{if(a=a&&e.call(t.childNodes),u=(p=r.props||d).dangerouslySetInnerHTML,f=g.dangerouslySetInnerHTML,!l){if(null!=a)for(p={},v=0;v<t.attributes.length;v++)p[t.attributes[v].name]=t.attributes[v].value;(f||u)&&(f&&(u&&f.__html==u.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||b(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||b(e,o,t[o],n[o],r)}(t,g,p,o,l),f)n.__k=[];else if(v=n.props.children,S(t,Array.isArray(v)?v:[v],n,r,i,o&&"foreignObject"!==m,a,s,a?a[0]:r.__k&&E(r,0),l),null!=a)for(v=a.length;v--;)null!=a[v]&&h(a[v]);l||("value"in g&&void 0!==(v=g.value)&&(v!==t.value||"progress"===m&&!v||"option"===m&&v!==p.value)&&b(t,"value",v,p.value,!1),"checked"in g&&void 0!==(v=g.checked)&&v!==t.checked&&b(t,"checked",v,p.checked,!1))}return t}function B(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function P(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||B(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&P(i[o],n,r||"function"!=typeof e.type);r||null==e.__e||h(e.__e),e.__=e.__e=e.__d=void 0}function j(e,t,n){return this.constructor(e,n)}function L(n,r,i){var o,a,s;t.__&&t.__(n,r),a=(o="function"==typeof i)?null:i&&i.__k||r.__k,s=[],N(r,n=(!o&&i||r).__k=g(v,null,[n]),a||d,d,void 0!==r.ownerSVGElement,!o&&i?[i]:a?null:r.firstChild?e.call(r.childNodes):null,s,!o&&i?i:a?a.__e:r.firstChild,o),I(s,n)}e=u.slice,t={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},r=0,i=function(e){return null!=e&&void 0===e.constructor},o=!1,w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),T(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},w.prototype.render=v,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,D.__r=0,c=0;var z,U,W,F=[],V=[],G=t.__b,Q=t.__r,q=t.diffed,Z=t.__c,$=t.unmount;function Y(){for(var e;e=F.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(X),e.__H.__h.forEach(ee),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){z=null,G&&G(e)},t.__r=function(e){Q&&Q(e);var t=(z=e.__c).__H;t&&(U===z?(t.__h=[],z.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=V,e.__N=e.i=void 0}))):(t.__h.forEach(X),t.__h.forEach(ee),t.__h=[])),U=z},t.diffed=function(e){q&&q(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==F.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||K)(Y)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==V&&(e.__=e.__V),e.i=void 0,e.__V=V}))),U=z=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(X),e.__h=e.__h.filter((function(e){return!e.__||ee(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Z&&Z(e,n)},t.unmount=function(e){$&&$(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{X(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var J="function"==typeof requestAnimationFrame;function K(e){var t,n=function(){clearTimeout(r),J&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);J&&(t=requestAnimationFrame(n))}function X(e){var t=z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),z=t}function ee(e){var t=z;e.__c=e.__(),z=t}function te(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ne(e){this.props=e}(ne.prototype=new w).isPureReactComponent=!0,ne.prototype.shouldComponentUpdate=function(e,t){return te(this.props,e)||te(this.state,t)};var re=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),re&&re(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var ie=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);ie(e,t,n,r)};var oe=t.unmount;function ae(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ae(e,t,n)}))),e}function se(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return se(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function le(){this.__u=0,this.t=null,this.__b=null}function ce(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function de(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),oe&&oe(e)},(le.prototype=new w).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ce(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=se(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},le.prototype.componentWillUnmount=function(){this.t=[]},le.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ae(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&g(v,null,e.fallback);return i&&(i.__h=null),[g(v,null,t.__a?null:e.children),i]};var ue=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function fe(e){return this.getChildContext=function(){return e.context},e.children}function pe(e){var t=this,n=e.i;t.componentWillUnmount=function(){L(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),L(g(fe,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(de.prototype=new w).__a=function(e){var t=this,n=ce(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),ue(t,e,r)):i()};n?n(o):o()}},de.prototype.render=function(e){this.u=null,this.o=new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},de.prototype.componentDidUpdate=de.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ue(e,n,t)}))};var he="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ge=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,me="undefined"!=typeof document,ve=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};w.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(w.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var ye=t.event;function be(){}function Ae(){return this.cancelBubble}function xe(){return this.defaultPrevented}t.event=function(e){return ye&&(e=ye(e)),e.persist=be,e.isPropagationStopped=Ae,e.isDefaultPrevented=xe,e.nativeEvent=e};var we={configurable:!0,get:function(){return this.class}},Ee=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var a=n[o];me&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!ve(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&ge.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=R(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=R(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(we.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",we))}e.$$typeof=he,Ee&&Ee(e)};var ke=t.__r;t.__r=function(e){ke&&ke(e),e.__c};const Ce=[],Te=new Map;function De(e){Ce.push(e),Te.forEach((t=>{_e(t,e)}))}function Se(e){let t=Te.get(e);if(!t||!t.isConnected){if(t=e.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");const n=(void 0===Re&&(Re=function(){const e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");const t=document.querySelector("script[nonce]");return t&&t.nonce||""}()),Re);n&&(t.nonce=n);const r=e===document?document.head:e,i=e===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(t,i)}Te.set(e,t),function(e){for(const t of Ce)_e(e,t)}(t)}}function _e(e,t){const{sheet:n}=e,r=n.cssRules.length;t.split("}").forEach(((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",r+t)}))}let Re;"undefined"!=typeof document&&Se(document),De(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');class Oe{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Me(e){e.parentNode&&e.parentNode.removeChild(e)}function Ne(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Ie(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Ie(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}const He=/(top|left|right|bottom|width|height)$/i;function Be(e,t,n){null==n?e.style[t]="":"number"==typeof n&&He.test(t)?e.style[t]=`${n}px`:e.style[t]=n}let Pe=0;function je(){return Pe+=1,"fc-dom-"+Pe}function Le(e,t,n,r){let i=function(e,t){return n=>{let r=Ne(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}function ze(e){return Object.assign({onClick:e},Ue(e))}function Ue(e){return{tabIndex:0,onKeyDown(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}let We=0;function Fe(){return We+=1,String(We)}function Ve(e,t,n){return n.func?n.func(e,t):function(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}(e[n.field],t[n.field])*(n.order||1)}function Ge(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function Qe(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce(((e,t,n)=>e.replace("$"+n,t||"")),e):n}function qe(e){return e%1==0}function Ze(e){let t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}const $e=["years","months","days","milliseconds"],Ye=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Je(e,t){return"string"==typeof e?function(e){let t=Ye.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Ke(e):"number"==typeof e?Ke({[t||"milliseconds"]:e}):null}function Ke(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Xe(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function et(e){return tt(e)/864e5}function tt(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function nt(e,t){let n=null;for(let r=0;r<$e.length;r+=1){let i=$e[r];if(t[i]){let r=e[i]/t[i];if(!qe(r)||null!==n&&n!==r)return null;n=r}else if(e[i])return null}return n}function rt(e){let t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function it(e,t,n){if(e===t)return!0;let r,i=e.length;if(i!==t.length)return!1;for(r=0;r<i;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}const ot=["sun","mon","tue","wed","thu","fri","sat"];function at(e,t){let n=mt(e);return n[2]+=7*t,vt(n)}function st(e,t){let n=mt(e);return n[2]+=t,vt(n)}function lt(e,t){let n=mt(e);return n[6]+=t,vt(n)}function ct(e,t){return(t.valueOf()-e.valueOf())/864e5}function dt(e,t){return bt(e)===bt(t)?Math.round(ct(e,t)):null}function ut(e){return vt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function ft(e,t,n,r){let i=vt([t,0,1+pt(t,n,r)]),o=ut(e),a=Math.round(ct(i,o));return Math.floor(a/7)+1}function pt(e,t,n){let r=7+t-n;return-(7+vt([e,0,r]).getUTCDay()-t)%7+r-1}function ht(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function gt(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function mt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function vt(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC(...e))}function yt(e){return!isNaN(e.valueOf())}function bt(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function At(e,t,n=!1){let r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",wt(t,!0)))),r}function xt(e){return e.toISOString().replace(/T.*$/,"")}function wt(e,t=!1){let n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=Math.round(r%60);return t?`${n+Ge(i,2)}:${Ge(o,2)}`:`GMT${n}${i}${o?`:${Ge(o,2)}`:""}`}function Et(e,t,n){let r,i;return function(...o){if(r){if(!it(r,o)){n&&n(i);let r=e.apply(this,o);t&&t(r,i)||(i=r)}}else i=e.apply(this,o);return r=o,i}}function kt(e,t,n){let r,i;return o=>{if(r){if(!nn(r,o)){n&&n(i);let r=e.call(this,o);t&&t(r,i)||(i=r)}}else i=e.call(this,o);return r=o,i}}const Ct={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Tt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Dt=/\s*([ap])\.?m\.?/i,St=/,/g,_t=/\s+/g,Rt=/\u200e/g,Ot=/UTC|GMT/;class Mt{constructor(e){let t={},n={},r=0;for(let i in e)i in Ct?(n[i]=e[i],r=Math.max(Ct[i],r)):(t[i]=e[i],i in Tt&&(r=Math.max(Tt[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Et(Nt)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,r){let{standardDateProps:i,extendedSettings:o}=this,a=(s=e.marker,l=t.marker,(c=n.calendarSystem).getMarkerYear(s)!==c.getMarkerYear(l)?5:c.getMarkerMonth(s)!==c.getMarkerMonth(l)?4:c.getMarkerDay(s)!==c.getMarkerDay(l)?2:bt(s)!==bt(l)?1:0);var s,l,c;if(!a)return this.format(e,n);let d=a;!(d>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(d=1);let u=this.format(e,n),f=this.format(t,n);if(u===f)return u;let p=function(e,t){let n={};for(let r in e)(!(r in Tt)||Tt[r]<=t)&&(n[r]=e[r]);return n}(i,d),h=Nt(p,o,n),g=h(e),m=h(t),v=function(e,t,n,r){let i=0;for(;i<e.length;){let o=e.indexOf(t,i);if(-1===o)break;let a=e.substr(0,o);i=o+t.length;let s=e.substr(i),l=0;for(;l<n.length;){let e=n.indexOf(r,l);if(-1===e)break;let t=n.substr(0,e);l=e+r.length;let i=n.substr(l);if(a===t&&s===i)return{before:a,after:s}}}return null}(u,g,f,m),y=o.separator||r||n.defaultSeparator||"";return v?v.before+g+y+m+v.after:u+y+f}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function Nt(e,t,n){let r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?e=>wt(e.timeZoneOffset):0===r&&t.week?e=>function(e,t,n,r,i){let o=[];return"long"===i?o.push(n):"short"!==i&&"narrow"!==i||o.push(t),"long"!==i&&"short"!==i||o.push(" "),o.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&o.reverse(),o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week):function(e,t,n){e=Object.assign({},e),t=Object.assign({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit")),"long"===e.timeZoneName&&(e.timeZoneName="short"),t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";let r,i=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,r=new Intl.DateTimeFormat(n.locale.codes,t)}return o=>{let a,{marker:s}=o;return a=r&&!s.getUTCMinutes()?r:i,function(e,t,n,r,i){return e=e.replace(Rt,""),"short"===n.timeZoneName&&(e=function(e,t){let n=!1;return e=e.replace(Ot,(()=>(n=!0,t))),n||(e+=` ${t}`),e}(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":wt(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(St,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(Dt,"").trim():"narrow"===r.meridiem?e=e.replace(Dt,((e,t)=>t.toLocaleLowerCase())):"short"===r.meridiem?e=e.replace(Dt,((e,t)=>`${t.toLocaleLowerCase()}m`)):"lowercase"===r.meridiem&&(e=e.replace(Dt,(e=>e.toLocaleLowerCase()))),e=(e=e.replace(_t," ")).trim()}(a.format(s),o,e,t,n)}}(e,t,n)}function It(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Ht(e,t,n,r){let i=It(e,n.calendarSystem);return{date:i,start:i,end:t?It(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class Bt{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,Ht(e,null,t,n))}formatRange(e,t,n,r){return n.cmdFormatter(this.cmdStr,Ht(e,t,n,r))}}class Pt{constructor(e){this.func=e}format(e,t,n){return this.func(Ht(e,null,t,n))}formatRange(e,t,n,r){return this.func(Ht(e,t,n,r))}}function jt(e){return"object"==typeof e&&e?new Mt(e):"string"==typeof e?new Bt(e):"function"==typeof e?new Pt(e):null}const Lt={navLinkDayClick:$t,navLinkWeekClick:$t,duration:Je,bootstrapFontAwesome:$t,buttonIcons:$t,customButtons:$t,defaultAllDayEventDuration:Je,defaultTimedEventDuration:Je,nextDayThreshold:Je,scrollTime:Je,scrollTimeReset:Boolean,slotMinTime:Je,slotMaxTime:Je,dayPopoverFormat:jt,slotDuration:Je,snapDuration:Je,headerToolbar:$t,footerToolbar:$t,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:jt,dayHeaderClassNames:$t,dayHeaderContent:$t,dayHeaderDidMount:$t,dayHeaderWillUnmount:$t,dayCellClassNames:$t,dayCellContent:$t,dayCellDidMount:$t,dayCellWillUnmount:$t,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:$t,weekNumbers:Boolean,weekNumberClassNames:$t,weekNumberContent:$t,weekNumberDidMount:$t,weekNumberWillUnmount:$t,editable:Boolean,viewClassNames:$t,viewDidMount:$t,viewWillUnmount:$t,nowIndicator:Boolean,nowIndicatorClassNames:$t,nowIndicatorContent:$t,nowIndicatorDidMount:$t,nowIndicatorWillUnmount:$t,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:$t,locale:$t,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:$t,eventOrder:function(e){let t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t<i.length;t+=1)n=i[t],"string"==typeof n?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:$t,contentHeight:$t,direction:String,weekNumberFormat:jt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:$t,initialDate:$t,now:$t,eventDataTransform:$t,stickyHeaderDates:$t,stickyFooterScrollbar:$t,viewHeight:$t,defaultAllDay:Boolean,eventSourceFailure:$t,eventSourceSuccess:$t,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:$t,eventConstraint:$t,eventAllow:$t,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:$t,eventContent:$t,eventDidMount:$t,eventWillUnmount:$t,selectConstraint:$t,selectOverlap:$t,selectAllow:$t,droppable:Boolean,unselectCancel:String,slotLabelFormat:$t,slotLaneClassNames:$t,slotLaneContent:$t,slotLaneDidMount:$t,slotLaneWillUnmount:$t,slotLabelClassNames:$t,slotLabelContent:$t,slotLabelDidMount:$t,slotLabelWillUnmount:$t,dayMaxEvents:$t,dayMaxEventRows:$t,dayMinWidth:Number,slotLabelInterval:Je,allDayText:String,allDayClassNames:$t,allDayContent:$t,allDayDidMount:$t,allDayWillUnmount:$t,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:jt,rerenderDelay:Number,moreLinkText:$t,moreLinkHint:$t,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:$t,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Je,hiddenDays:$t,fixedWeekCount:Boolean,validRange:$t,visibleRange:$t,titleFormat:$t,eventInteractive:Boolean,noEventsText:String,viewHint:$t,navLinkHint:$t,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:$t,moreLinkClassNames:$t,moreLinkContent:$t,moreLinkDidMount:$t,moreLinkWillUnmount:$t,monthStartFormat:jt,handleCustomRendering:$t,customRenderingMetaMap:$t},zt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},Ut={datesSet:$t,eventsSet:$t,eventAdd:$t,eventChange:$t,eventRemove:$t,windowResize:$t,eventClick:$t,eventMouseEnter:$t,eventMouseLeave:$t,select:$t,unselect:$t,loading:$t,_unmount:$t,_beforeprint:$t,_afterprint:$t,_noEventDrop:$t,_noEventResize:$t,_resize:$t,_scrollRequest:$t},Wt={buttonText:$t,buttonHints:$t,views:$t,plugins:$t,initialEvents:$t,events:$t,eventSources:$t},Ft={headerToolbar:Vt,footerToolbar:Vt,buttonText:Vt,buttonHints:Vt,buttonIcons:Vt,dateIncrement:Vt,plugins:Gt,events:Gt,eventSources:Gt,resources:Gt};function Vt(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?nn(e,t):e===t}function Gt(e,t){return Array.isArray(e)&&Array.isArray(t)?it(e,t):e===t}const Qt={type:String,component:$t,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:$t,usesMinMaxTime:Boolean,classNames:$t,content:$t,didMount:$t,willUnmount:$t};function qt(e){return Jt(e,Ft)}function Zt(e,t){let n={},r={};for(let r in t)r in e&&(n[r]=t[r](e[r]));for(let n in e)n in t||(r[n]=e[n]);return{refined:n,extra:r}}function $t(e){return e}const{hasOwnProperty:Yt}=Object.prototype;function Jt(e,t){let n={};if(t)for(let r in t)if(t[r]===Vt){let t=[];for(let i=e.length-1;i>=0;i-=1){let o=e[i][r];if("object"==typeof o&&o)t.unshift(o);else if(void 0!==o){n[r]=o;break}}t.length&&(n[r]=Jt(t))}for(let t=e.length-1;t>=0;t-=1){let r=e[t];for(let e in r)e in n||(n[e]=r[e])}return n}function Kt(e,t){let n={};for(let r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Xt(e,t){let n={};for(let r in e)n[r]=t(e[r],r);return n}function en(e){let t={};for(let n of e)t[n]=!0;return t}function tn(e){let t=[];for(let n in e)t.push(e[n]);return t}function nn(e,t){if(e===t)return!0;for(let n in e)if(Yt.call(e,n)&&!(n in t))return!1;for(let n in t)if(Yt.call(t,n)&&e[n]!==t[n])return!1;return!0}const rn=/^on[A-Z]/;function on(e,t){let n=[];for(let r in e)Yt.call(e,r)&&(r in t||n.push(r));for(let r in t)Yt.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function an(e,t,n={}){if(e===t)return!0;for(let a in t)if(!(a in e&&(r=e[a],i=t[a],o=n[a],r===i||!0===o||o&&o(r,i))))return!1;var r,i,o;for(let n in e)if(!(n in t))return!1;return!0}let sn={};var ln;ln=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return vt(e)}markerToArray(e){return mt(e)}},sn.gregory=ln;const cn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class dn{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new sn[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):vt(ht(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=vt(e)),null!==t&&yt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=function(e){let t=cn.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(yt(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}(e);if(null===t)return null;let{marker:n}=t,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return bt(e)===bt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return bt(e)===bt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=function(e,t){let n=dt(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:(n=dt(e,t),null!==n?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),qe(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),qe(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),qe(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,n){let r;return n.years&&(r=this.diffWholeYears(e,t),null!==r)?r/(et(n)/365):n.months&&(r=this.diffWholeMonths(e,t),null!==r)?r/(et(n)/30):n.days&&(r=dt(e,t),null!==r)?r/et(n):(t.valueOf()-e.valueOf())/tt(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?ut(e):"hour"===t?function(e){return vt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return vt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return vt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let r=e.getUTCFullYear(),i=ft(e,r,t,n);if(i<1)return ft(e,r-1,t,n);let o=ft(e,r+1,t,n);return o>=1?Math.min(i,o):i}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,r={}){return r.isEndExclusive&&(t=lt(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),At(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?vt(ht(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?vt(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-gt(mt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(mt(e)):null}toDate(e,t){return"local"===this.timeZone?gt(mt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(mt(e))*60):new Date(e.valueOf()-(t||0))}}class un{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e],n?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function fn(e){e();let n=t.debounceRendering,r=[];for(t.debounceRendering=function(e){r.push(e)},L(g(pn,{}),document.createElement("div"));r.length;)r.shift()();t.debounceRendering=n}un.prototype.classes={},un.prototype.iconClasses={},un.prototype.baseIconClass="",un.prototype.iconOverridePrefix="";class pn extends w{render(){return g("div",{})}componentDidMount(){this.setState({})}}function hn(e){let t=function(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,T(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(e),n=t.Provider;return t.Provider=function(){let e=!this.getChildContext,t=n.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach((e=>{e.context=t.value,e.forceUpdate()}))},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},t}class gn{constructor(e,t,n,r){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const mn=hn({});function vn(e,t,n,r,i,o,a,s,l,c,d,u,f){return{dateEnv:i,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:d,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:o,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new gn(e,c,Je(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:u,unregisterInteractiveComponent:f}}class yn extends w{shouldComponentUpdate(e,t){return this.debug&&console.log(on(e,this.props),on(t,this.state)),!an(this.props,e,this.propEquality)||!an(this.state,t,this.stateEquality)}safeSetState(e){an(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}yn.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},yn.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},yn.contextType=mn,yn.prototype.propEquality={},yn.prototype.stateEquality={};class bn extends yn{}function An(e,t){"function"==typeof e?e(t):e&&(e.current=t)}bn.contextType=mn;class xn extends bn{constructor(){super(...arguments),this.id=Fe(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{wn(this.props.generatorName,this.context.options)||this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&An(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:n}=t,{customGenerator:r,defaultGenerator:o,renderProps:a}=e,s=En(e,[],this.handleEl);let l,c,d=!1,u=[];if(null!=r){const e="function"==typeof r?r(a,g):r;if(!0===e)d=!0;else{const t=e&&"object"==typeof e;t&&"html"in e?s.dangerouslySetInnerHTML={__html:e.html}:t&&"domNodes"in e?u=Array.prototype.slice.call(e.domNodes):(t?i(e):"function"!=typeof e)?l=e:c=e}}else d=!wn(e.generatorName,n);return d&&o&&(l=o(a)),this.queuedDomNodes=u,this.currentGeneratorMeta=c,g(e.elTag,s,l)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:o}=r.options;if(i){const r=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==o?void 0:o[n.generatorName];r&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:r},n),{elClasses:(n.elClasses||[]).filter(kn)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!it(e,t)){t.forEach(Me);for(let t of e)n.appendChild(t);this.currentDomNodes=e}}}function wn(e,t){var n;return Boolean(t.handleCustomRendering&&e&&(null===(n=t.customRenderingMetaMap)||void 0===n?void 0:n[e]))}function En(e,t,n){const r=Object.assign(Object.assign({},e.elAttrs),{ref:n});return(e.elClasses||t)&&(r.className=(e.elClasses||[]).concat(t||[]).concat(r.className||[]).filter(Boolean).join(" ")),e.elStyle&&(r.style=e.elStyle),r}function kn(e){return Boolean(e)}xn.addPropsEquality({elClasses:it,elStyle:nn,elAttrs:function(e,t){const n=on(e,t);for(let e of n)if(!rn.test(e))return!1;return!0},renderProps:nn});const Cn=hn(0);class Tn extends w{constructor(){super(...arguments),this.InnerContent=Dn.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&An(this.props.elRef,e)}}render(){const{props:e}=this,t=function(e,t){const n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(e.children){const n=En(e,t,this.handleEl),r=e.children(this.InnerContent,e.renderProps,n);return e.elTag?g(e.elTag,n,r):r}return g(xn,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;null===(t=(e=this.props).didMount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}componentWillUnmount(){var e,t;null===(t=(e=this.props).willUnmount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}function Dn(e,t){const n=e.props;return g(xn,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}Tn.contextType=Cn;class Sn extends bn{render(){let{props:e,context:t}=this,{options:n}=t,r={view:t.viewApi};return g(Tn,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[..._n(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),(()=>e.children))}}function _n(e){return[`fc-${e.type}-view`,"fc-view"]}function Rn(e,t){let n,r,i=[],{start:o}=t;for(e.sort(On),n=0;n<e.length;n+=1)r=e[n],r.start>o&&i.push({start:o,end:r.start}),r.end>o&&(o=r.end);return o<t.end&&i.push({start:o,end:t.end}),i}function On(e,t){return e.start.valueOf()-t.start.valueOf()}function Mn(e,t){let{start:n,end:r}=e,i=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(i={start:n,end:r}),i}function Nn(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function In(e){let t=Math.floor(ct(e.start,e.end))||1,n=ut(e.start);return{start:n,end:st(n,t)}}function Hn(e,t=Je(0)){let n=null,r=null;if(e.end){r=ut(e.end);let n=e.end.valueOf()-r.valueOf();n&&n>=tt(t)&&(r=st(r,1) |