| Server IP : 177.55.116.72 / Your IP : 216.73.217.104 Web Server : Apache System : Linux UBAPCWEB27 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 User : web_hotelpraiadoc ( 3326) PHP Version : 8.2.20 Disable Function : proc_open, passthru, escapeshellcmd, exec, shell_exec, system, ini_alter, dl, popen, php_check_syntax, show_source, highlight_file, symlink, link, openlog, apache_child_terminate MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/hotelpraiadoconde.com.br/public/wp-content/uploads/essential-addons-elementor/ |
Upload File : |
!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){var s=t.jQuery,r=t.console;function h(e,t){for(var i in t)e[i]=t[i];return e}var a=Array.prototype.slice;function d(e,t,i){if(!(this instanceof d))return new d(e,t,i);var n,o=e;"string"==typeof e&&(o=document.querySelectorAll(e)),o?(this.elements=(n=o,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?a.call(n):[n]),this.options=h({},this.options),"function"==typeof t?i=t:h(this.options,t),i&&this.on("always",i),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(o||e))}(d.prototype=Object.create(e.prototype)).options={},d.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},d.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&m[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}};var m={1:!0,9:!0,11:!0};function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return d.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},d.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},d.prototype.addBackground=function(e,t){var i=new n(e,t);this.images.push(i)},d.prototype.check=function(){var n=this;function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},d.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,e,t)},d.prototype.complete=function(){var e,t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(d.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((s=e).fn.imagesLoaded=function(e,t){return new d(this,e,t).jqDeferred.promise(s(this))})})(),d});!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function n(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);r=200==Math.round(t(n.width)),s.isBoxSizeOuter=r,i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=o(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,I=d&&r,x=t(s.width);x!==!1&&(a.width=x+(I?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(I?0:y+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+z),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i],n=o+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var o=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+a))}var u=new e(t,i);l&&l.data(t,o,u)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var s=document.documentElement.style,r="string"==typeof s.transition?"transition":"WebkitTransition",a="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;o.indexOf("%")!=-1&&(s=s/100*a.width),n.indexOf("%")!=-1&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),n&&!this.isTransitioning)return void this.layoutPosition();var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop");return t=i?t:-t,e=o?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption("initLayout");s&&this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){r++,r==s&&i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?"round":"floor";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t);
}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=h(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});
!function(a,b){"function"==typeof define&&define.amd?define("packery/js/rect",b):"object"==typeof module&&module.exports?module.exports=b():(a.Packery=a.Packery||{},a.Packery.Rect=b())}(window,function(){function a(b){for(var c in a.defaults)this[c]=a.defaults[c];for(c in b)this[c]=b[c]}a.defaults={x:0,y:0,width:0,height:0};var b=a.prototype;return b.contains=function(a){var b=a.width||0,c=a.height||0;return this.x<=a.x&&this.y<=a.y&&this.x+this.width>=a.x+b&&this.y+this.height>=a.y+c},b.overlaps=function(a){var b=this.x+this.width,c=this.y+this.height,d=a.x+a.width,e=a.y+a.height;return this.x<d&&b>a.x&&this.y<e&&c>a.y},b.getMaximalFreeRects=function(b){if(!this.overlaps(b))return!1;var c,d=[],e=this.x+this.width,f=this.y+this.height,g=b.x+b.width,h=b.y+b.height;return this.y<b.y&&(c=new a({x:this.x,y:this.y,width:this.width,height:b.y-this.y}),d.push(c)),e>g&&(c=new a({x:g,y:this.y,width:e-g,height:this.height}),d.push(c)),f>h&&(c=new a({x:this.x,y:h,width:this.width,height:f-h}),d.push(c)),this.x<b.x&&(c=new a({x:this.x,y:this.y,width:b.x-this.x,height:this.height}),d.push(c)),d},b.canFit=function(a){return this.width>=a.width&&this.height>=a.height},a}),function(a,b){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],b);else if("object"==typeof module&&module.exports)module.exports=b(require("./rect"));else{var c=a.Packery=a.Packery||{};c.Packer=b(c.Rect)}}(window,function(a){function b(a,b,c){this.width=a||0,this.height=b||0,this.sortDirection=c||"downwardLeftToRight",this.reset()}var c=b.prototype;c.reset=function(){this.spaces=[];var b=new a({x:0,y:0,width:this.width,height:this.height});this.spaces.push(b),this.sorter=d[this.sortDirection]||d.downwardLeftToRight},c.pack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b];if(c.canFit(a)){this.placeInSpace(a,c);break}}},c.columnPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b],d=c.x<=a.x&&c.x+c.width>=a.x+a.width&&c.height>=a.height-.01;if(d){a.y=c.y,this.placed(a);break}}},c.rowPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b],d=c.y<=a.y&&c.y+c.height>=a.y+a.height&&c.width>=a.width-.01;if(d){a.x=c.x,this.placed(a);break}}},c.placeInSpace=function(a,b){a.x=b.x,a.y=b.y,this.placed(a)},c.placed=function(a){for(var b=[],c=0;c<this.spaces.length;c++){var d=this.spaces[c],e=d.getMaximalFreeRects(a);e?b.push.apply(b,e):b.push(d)}this.spaces=b,this.mergeSortSpaces()},c.mergeSortSpaces=function(){b.mergeRects(this.spaces),this.spaces.sort(this.sorter)},c.addSpace=function(a){this.spaces.push(a),this.mergeSortSpaces()},b.mergeRects=function(a){var b=0,c=a[b];a:for(;c;){for(var d=0,e=a[b+d];e;){if(e==c)d++;else{if(e.contains(c)){a.splice(b,1),c=a[b];continue a}c.contains(e)?a.splice(b+d,1):d++}e=a[b+d]}b++,c=a[b]}return a};var d={downwardLeftToRight:function(a,b){return a.y-b.y||a.x-b.x},rightwardTopToBottom:function(a,b){return a.x-b.x||a.y-b.y}};return b}),function(a,b){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],b):"object"==typeof module&&module.exports?module.exports=b(require("outlayer"),require("./rect")):a.Packery.Item=b(a.Outlayer,a.Packery.Rect)}(window,function(a,b){var c=document.documentElement.style,d="string"==typeof c.transform?"transform":"WebkitTransform",e=function(){a.Item.apply(this,arguments)},f=e.prototype=Object.create(a.Item.prototype),g=f._create;f._create=function(){g.call(this),this.rect=new b};var h=f.moveTo;return f.moveTo=function(a,b){var c=Math.abs(this.position.x-a),d=Math.abs(this.position.y-b),e=this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>c&&1>d;return e?void this.goTo(a,b):void h.apply(this,arguments)},f.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&d&&(this.element.style[d]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},f.disablePlacing=function(){this.isPlacing=!1},f.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},f.showDropPlaceholder=function(){var a=this.dropPlaceholder;a||(a=this.dropPlaceholder=document.createElement("div"),a.className="packery-drop-placeholder",a.style.position="absolute"),a.style.width=this.size.width+"px",a.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(a)},f.positionDropPlaceholder=function(){this.dropPlaceholder.style[d]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},f.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},e}),function(a,b){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],b):"object"==typeof module&&module.exports?module.exports=b(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):a.Packery=b(a.getSize,a.Outlayer,a.Packery.Rect,a.Packery.Packer,a.Packery.Item)}(window,function(a,b,c,d,e){function f(a,b){return a.position.y-b.position.y||a.position.x-b.position.x}function g(a,b){return a.position.x-b.position.x||a.position.y-b.position.y}function h(a,b){var c=b.x-a.x,d=b.y-a.y;return Math.sqrt(c*c+d*d)}c.prototype.canFit=function(a){return this.width>=a.width-1&&this.height>=a.height-1};var i=b.create("packery");i.Item=e;var j=i.prototype;j._create=function(){b.prototype._create.call(this),this.packer=new d,this.shiftPacker=new d,this.isEnabled=!0,this.dragItemCount=0;var a=this;this.handleDraggabilly={dragStart:function(){a.itemDragStart(this.element)},dragMove:function(){a.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){a.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(b,c){c&&a.itemDragStart(b.currentTarget)},drag:function(b,c){c&&a.itemDragMove(b.currentTarget,c.position.left,c.position.top)},stop:function(b,c){c&&a.itemDragEnd(b.currentTarget)}}},j._resetLayout=function(){this.getSize(),this._getMeasurements();var a,b,c;this._getOption("horizontal")?(a=1/0,b=this.size.innerHeight+this.gutter,c="rightwardTopToBottom"):(a=this.size.innerWidth+this.gutter,b=1/0,c="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=a,this.packer.height=this.shiftPacker.height=b,this.packer.sortDirection=this.shiftPacker.sortDirection=c,this.packer.reset(),this.maxY=0,this.maxX=0},j._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},j._getItemLayoutPosition=function(a){if(this._setRectSize(a.element,a.rect),this.isShifting||this.dragItemCount>0){var b=this._getPackMethod();this.packer[b](a.rect)}else this.packer.pack(a.rect);return this._setMaxXY(a.rect),a.rect},j.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},j._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},j._setMaxXY=function(a){this.maxX=Math.max(a.x+a.width,this.maxX),this.maxY=Math.max(a.y+a.height,this.maxY)},j._setRectSize=function(b,c){var d=a(b),e=d.outerWidth,f=d.outerHeight;(e||f)&&(e=this._applyGridGutter(e,this.columnWidth),f=this._applyGridGutter(f,this.rowHeight)),c.width=Math.min(e,this.packer.width),c.height=Math.min(f,this.packer.height)},j._applyGridGutter=function(a,b){if(!b)return a+this.gutter;b+=this.gutter;var c=a%b,d=c&&1>c?"round":"ceil";return a=Math[d](a/b)*b},j._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},j._manageStamp=function(a){var b,d=this.getItem(a);if(d&&d.isPlacing)b=d.rect;else{var e=this._getElementOffset(a);b=new c({x:this._getOption("originLeft")?e.left:e.right,y:this._getOption("originTop")?e.top:e.bottom})}this._setRectSize(a,b),this.packer.placed(b),this._setMaxXY(b)},j.sortItemsByPosition=function(){var a=this._getOption("horizontal")?g:f;this.items.sort(a)},j.fit=function(a,b,c){var d=this.getItem(a);d&&(this.stamp(d.element),d.enablePlacing(),this.updateShiftTargets(d),b=void 0===b?d.rect.x:b,c=void 0===c?d.rect.y:c,this.shift(d,b,c),this._bindFitEvents(d),d.moveTo(d.rect.x,d.rect.y),this.shiftLayout(),this.unstamp(d.element),this.sortItemsByPosition(),d.disablePlacing())},j._bindFitEvents=function(a){function b(){d++,2==d&&c.dispatchEvent("fitComplete",null,[a])}var c=this,d=0;a.once("layout",b),this.once("layoutComplete",b)},j.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},j.needsResizeLayout=function(){var b=a(this.element),c=this._getOption("horizontal")?"innerHeight":"innerWidth";return b[c]!=this.size[c]},j.resizeShiftPercentLayout=function(){var b=this._getItemsForLayout(this.items),c=this._getOption("horizontal"),d=c?"y":"x",e=c?"height":"width",f=c?"rowHeight":"columnWidth",g=c?"innerHeight":"innerWidth",h=this[f];if(h=h&&h+this.gutter){this._getMeasurements();var i=this[f]+this.gutter;b.forEach(function(a){var b=Math.round(a.rect[d]/h);a.rect[d]=b*i})}else{var j=a(this.element)[g]+this.gutter,k=this.packer[e];b.forEach(function(a){a.rect[d]=a.rect[d]/k*j})}this.shiftLayout()},j.itemDragStart=function(a){if(this.isEnabled){this.stamp(a);var b=this.getItem(a);b&&(b.enablePlacing(),b.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(b))}},j.updateShiftTargets=function(a){this.shiftPacker.reset(),this._getBoundingRect();var b=this._getOption("originLeft"),d=this._getOption("originTop");this.stamps.forEach(function(a){var e=this.getItem(a);if(!e||!e.isPlacing){var f=this._getElementOffset(a),g=new c({x:b?f.left:f.right,y:d?f.top:f.bottom});this._setRectSize(a,g),this.shiftPacker.placed(g)}},this);var e=this._getOption("horizontal"),f=e?"rowHeight":"columnWidth",g=e?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var h,i=this[f];if(i=i&&i+this.gutter){var j=Math.ceil(a.rect[g]/i),k=Math.floor((this.shiftPacker[g]+this.gutter)/i);h=(k-j)*i;for(var l=0;k>l;l++)this._addShiftTarget(l*i,0,h)}else h=this.shiftPacker[g]+this.gutter-a.rect[g],this._addShiftTarget(0,0,h);var m=this._getItemsForLayout(this.items),n=this._getPackMethod();m.forEach(function(a){var b=a.rect;this._setRectSize(a.element,b),this.shiftPacker[n](b),this._addShiftTarget(b.x,b.y,h);var c=e?b.x+b.width:b.x,d=e?b.y:b.y+b.height;if(this._addShiftTarget(c,d,h),i)for(var f=Math.round(b[g]/i),j=1;f>j;j++){var k=e?c:b.x+i*j,l=e?b.y+i*j:d;this._addShiftTarget(k,l,h)}},this)},j._addShiftTarget=function(a,b,c){var d=this._getOption("horizontal")?b:a;if(!(0!==d&&d>c)){var e=a+","+b,f=-1!=this.shiftTargetKeys.indexOf(e);f||(this.shiftTargetKeys.push(e),this.shiftTargets.push({x:a,y:b}))}},j.shift=function(a,b,c){var d,e=1/0,f={x:b,y:c};this.shiftTargets.forEach(function(a){var b=h(a,f);e>b&&(d=a,e=b)}),a.rect.x=d.x,a.rect.y=d.y};var k=120;j.itemDragMove=function(a,b,c){function d(){f.shift(e,b,c),e.positionDropPlaceholder(),f.layout()}var e=this.isEnabled&&this.getItem(a);if(e){b-=this.size.paddingLeft,c-=this.size.paddingTop;var f=this,g=new Date;this._itemDragTime&&g-this._itemDragTime<k?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(d,k)):(d(),this._itemDragTime=g)}},j.itemDragEnd=function(a){function b(){d++,2==d&&(c.element.classList.remove("is-positioning-post-drag"),c.hideDropPlaceholder(),e.dispatchEvent("dragItemPositioned",null,[c]))}var c=this.isEnabled&&this.getItem(a);if(c){clearTimeout(this.dragTimeout),c.element.classList.add("is-positioning-post-drag");var d=0,e=this;c.once("layout",b),this.once("layoutComplete",b),c.moveTo(c.rect.x,c.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),c.disablePlacing(),this.unstamp(c.element)}},j.bindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,"on")},j.unbindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,"off")},j._bindDraggabillyEvents=function(a,b){var c=this.handleDraggabilly;a[b]("dragStart",c.dragStart),a[b]("dragMove",c.dragMove),a[b]("dragEnd",c.dragEnd)},j.bindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,"on")},j.unbindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,"off")},j._bindUIDraggableEvents=function(a,b){var c=this.handleUIDraggable;a[b]("dragstart",c.start)[b]("drag",c.drag)[b]("dragstop",c.stop)};var l=j.destroy;return j.destroy=function(){l.apply(this,arguments),this.isEnabled=!1},i.Rect=c,i.Packer=d,i}),function(a,b){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],b):"object"==typeof module&&module.exports?module.exports=b(require("isotope-layout/js/layout-mode"),require("packery")):b(a.Isotope.LayoutMode,a.Packery)}(window,function(a,b){var c=a.create("packery"),d=c.prototype,e={_getElementOffset:!0,_getMeasurement:!0};for(var f in b.prototype)e[f]||(d[f]=b.prototype[f]);var g=d._resetLayout;d._resetLayout=function(){this.packer=this.packer||new b.Packer,this.shiftPacker=this.shiftPacker||new b.Packer,g.apply(this,arguments)};var h=d._getItemLayoutPosition;d._getItemLayoutPosition=function(a){return a.rect=a.rect||new b.Rect,h.call(this,a)};var i=d.needsResizeLayout;d.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():i.call(this)};var j=d._getOption;return d._getOption=function(a){return"horizontal"==a?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:j.apply(this.isotope,arguments)},c});/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=R(Array.prototype.forEach),m=R(Array.prototype.lastIndexOf),p=R(Array.prototype.pop),f=R(Array.prototype.push),d=R(Array.prototype.splice),h=R(String.prototype.toLowerCase),g=R(String.prototype.toString),T=R(String.prototype.match),y=R(String.prototype.replace),E=R(String.prototype.indexOf),A=R(String.prototype.trim),_=R(Object.prototype.hasOwnProperty),S=R(RegExp.prototype.test),b=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function w(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function O(e){for(let t=0;t<e.length;t++){_(e,t)||(e[t]=null)}return e}function D(t){const n=l(null);for(const[o,r]of e(t)){_(t,o)&&(Array.isArray(r)?n[o]=O(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=D(r):n[o]=r)}return n}function v(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),x=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=i(["#text"]),z=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=a(/<%[\w\W]*|[\w\W]*%>/gm),G=a(/\$\{[\w\W]*/gm),Y=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),j=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:V,DATA_ATTR:Y,DOCTYPE_NAME:K,ERB_EXPR:W,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:B,TMPLIT_EXPR:G});const J=1,Q=3,ee=7,te=8,ne=9,oe=function(){return"undefined"==typeof window?null:window};var re=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe();const o=e=>t(e);if(o.version="3.2.6",o.removed=[],!n||!n.document||n.document.nodeType!==ne||!n.Element)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:R,Element:O,NodeFilter:B,NamedNodeMap:W=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:G,DOMParser:Y,trustedTypes:j}=n,q=O.prototype,$=v(q,"cloneNode"),V=v(q,"remove"),re=v(q,"nextSibling"),ie=v(q,"childNodes"),ae=v(q,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let le,ce="";const{implementation:se,createNodeIterator:ue,createDocumentFragment:me,getElementsByTagName:pe}=r,{importNode:fe}=a;let de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof e&&"function"==typeof ae&&se&&void 0!==se.createHTMLDocument;const{MUSTACHE_EXPR:he,ERB_EXPR:ge,TMPLIT_EXPR:Te,DATA_ATTR:ye,ARIA_ATTR:Ee,IS_SCRIPT_OR_DATA:Ae,ATTR_WHITESPACE:_e,CUSTOM_ELEMENT:Se}=Z;let{IS_ALLOWED_URI:be}=Z,Ne=null;const Re=w({},[...L,...C,...x,...M,...U]);let we=null;const Oe=w({},[...z,...P,...H,...F]);let De=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,Le=null,Ce=!0,xe=!0,Ie=!1,Me=!0,ke=!1,Ue=!0,ze=!1,Pe=!1,He=!1,Fe=!1,Be=!1,We=!1,Ge=!0,Ye=!1,je=!0,Xe=!1,qe={},$e=null;const Ke=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const Ze=w({},["audio","video","img","source","image","track"]);let Je=null;const Qe=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let ot=nt,rt=!1,it=null;const at=w({},[et,tt,nt],g);let lt=w({},["mi","mo","mn","ms","mtext"]),ct=w({},["annotation-xml"]);const st=w({},["title","style","font","a","script"]);let ut=null;const mt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const dt=r.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=D(e),ut=-1===mt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===ut?g:h,Ne=_(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,pt):Re,we=_(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,pt):Oe,it=_(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,g):at,Je=_(e,"ADD_URI_SAFE_ATTR")?w(D(Qe),e.ADD_URI_SAFE_ATTR,pt):Qe,Ve=_(e,"ADD_DATA_URI_TAGS")?w(D(Ze),e.ADD_DATA_URI_TAGS,pt):Ze,$e=_(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,pt):Ke,ve=_(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,pt):D({}),Le=_(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,pt):D({}),qe=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ue=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,We=e.RETURN_TRUSTED_TYPE||!1,He=e.FORCE_BODY||!1,Ge=!1!==e.SANITIZE_DOM,Ye=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Xe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||X,ot=e.NAMESPACE||nt,lt=e.MATHML_TEXT_INTEGRATION_POINTS||lt,ct=e.HTML_INTEGRATION_POINTS||ct,De=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(De.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(De.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(De.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(xe=!1),Be&&(Fe=!0),qe&&(Ne=w({},U),we=[],!0===qe.html&&(w(Ne,L),w(we,z)),!0===qe.svg&&(w(Ne,C),w(we,P),w(we,F)),!0===qe.svgFilters&&(w(Ne,x),w(we,P),w(we,F)),!0===qe.mathMl&&(w(Ne,M),w(we,H),w(we,F))),e.ADD_TAGS&&(Ne===Re&&(Ne=D(Ne)),w(Ne,e.ADD_TAGS,pt)),e.ADD_ATTR&&(we===Oe&&(we=D(we)),w(we,e.ADD_ATTR,pt)),e.ADD_URI_SAFE_ATTR&&w(Je,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=D($e)),w($e,e.FORBID_CONTENTS,pt)),je&&(Ne["#text"]=!0),ze&&w(Ne,["html","head","body"]),Ne.table&&(w(Ne,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');le=e.TRUSTED_TYPES_POLICY,ce=le.createHTML("")}else void 0===le&&(le=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,c)),null!==le&&"string"==typeof ce&&(ce=le.createHTML(""));i&&i(e),ft=e}},Tt=w({},[...C,...x,...I]),yt=w({},[...M,...k]),Et=function(e){f(o.removed,{element:e});try{ae(e).removeChild(e)}catch(t){V(e)}},At=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Fe||Be)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},_t=function(e){let t=null,n=null;if(He)e="<remove></remove>"+e;else{const t=T(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ut&&ot===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=le?le.createHTML(e):e;if(ot===nt)try{t=(new Y).parseFromString(o,ut)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?ce:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ot===nt?pe.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},St=function(e){return ue.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},bt=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof R&&e instanceof R};function Rt(e,t,n){u(e,(e=>{e.call(o,t,n,ft)}))}const wt=function(e){let t=null;if(Rt(de.beforeSanitizeElements,e,null),bt(e))return Et(e),!0;const n=pt(e.nodeName);if(Rt(de.uponSanitizeElement,e,{tagName:n,allowedTags:Ne}),Ue&&e.hasChildNodes()&&!Nt(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent))return Et(e),!0;if(e.nodeType===ee)return Et(e),!0;if(Ue&&e.nodeType===te&&S(/<[/\w]/g,e.data))return Et(e),!0;if(!Ne[n]||ve[n]){if(!ve[n]&&Dt(n)){if(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n))return!1;if(De.tagNameCheck instanceof Function&&De.tagNameCheck(n))return!1}if(je&&!$e[n]){const t=ae(e)||e.parentNode,n=ie(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=$(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,re(e))}}}return Et(e),!0}return e instanceof O&&!function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=h(e.tagName),o=h(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===o||lt[o]):Boolean(Tt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&ct[o]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!ct[o])&&!(t.namespaceURI===et&&!lt[o])&&!yt[n]&&(st[n]||!Tt[n]):!("application/xhtml+xml"!==ut||!it[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Q&&(t=e.textContent,u([he,ge,Te],(e=>{t=y(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),Rt(de.afterSanitizeElements,e,null),!1):(Et(e),!0)},Ot=function(e,t,n){if(Ge&&("id"===t||"name"===t)&&(n in r||n in dt))return!1;if(xe&&!Le[t]&&S(ye,t));else if(Ce&&S(Ee,t));else if(!we[t]||Le[t]){if(!(Dt(e)&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,e)||De.tagNameCheck instanceof Function&&De.tagNameCheck(e))&&(De.attributeNameCheck instanceof RegExp&&S(De.attributeNameCheck,t)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(t))||"is"===t&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n)||De.tagNameCheck instanceof Function&&De.tagNameCheck(n))))return!1}else if(Je[t]);else if(S(be,y(n,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ve[e]){if(Ie&&!S(Ae,y(n,_e,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&T(e,Se)},vt=function(e){Rt(de.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||bt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=pt(a),m=c;let f="value"===a?m:A(m);if(n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,Rt(de.uponSanitizeAttribute,e,n),f=n.attrValue,!Ye||"id"!==s&&"name"!==s||(At(a,e),f="user-content-"+f),Ue&&S(/((--!?|])>)|<\/(style|title)/i,f)){At(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){At(a,e);continue}if(!Me&&S(/\/>/i,f)){At(a,e);continue}ke&&u([he,ge,Te],(e=>{f=y(f,e," ")}));const d=pt(e.nodeName);if(Ot(d,s,f)){if(le&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(l);else switch(j.getAttributeType(d,s)){case"TrustedHTML":f=le.createHTML(f);break;case"TrustedScriptURL":f=le.createScriptURL(f)}if(f!==m)try{l?e.setAttributeNS(l,a,f):e.setAttribute(a,f),bt(e)?Et(e):p(o.removed)}catch(t){At(a,e)}}else At(a,e)}Rt(de.afterSanitizeAttributes,e,null)},Lt=function e(t){let n=null;const o=St(t);for(Rt(de.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)Rt(de.uponSanitizeShadowNode,n,null),wt(n),vt(n),n.content instanceof s&&e(n.content);Rt(de.afterSanitizeShadowDOM,t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw b("toString is not a function");if("string"!=typeof(e=e.toString()))throw b("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Pe||gt(t),o.removed=[],"string"==typeof e&&(Xe=!1),Xe){if(e.nodeName){const t=pt(e.nodeName);if(!Ne[t]||ve[t])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof R)n=_t("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===J&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!ze&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e;if(n=_t(e),!n)return Fe?null:We?ce:""}n&&He&&Et(n.firstChild);const c=St(Xe?e:n);for(;i=c.nextNode();)wt(i),vt(i),i.content instanceof s&&Lt(i.content);if(Xe)return e;if(Fe){if(Be)for(l=me.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(we.shadowroot||we.shadowrootmode)&&(l=fe.call(a,l,!0)),l}let m=ze?n.outerHTML:n.innerHTML;return ze&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(K,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([he,ge,Te],(e=>{m=y(m,e," ")})),le&&We?le.createHTML(m):m},o.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},o.clearConfig=function(){ft=null,Pe=!1},o.isValidAttribute=function(e,t,n){ft||gt({});const o=pt(e),r=pt(t);return Ot(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&f(de[e],t)},o.removeHook=function(e,t){if(void 0!==t){const n=m(de[e],t);return-1===n?void 0:d(de[e],n,1)[0]}return p(de[e])},o.removeHooks=function(e){de[e]=[]},o.removeAllHooks=function(){de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return re}));
//# sourceMappingURL=purify.min.js.map
var FullCalendar=function(e){"use strict"; var t,n,r,o,i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}var u,c,d,p,f,h={},v=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function m(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function E(e,t,n){var r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return S(e,s,r,o,null)}function S(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u.__v:o};return null!=u.vnode&&u.vnode(i),i}function D(e){return e.children}function b(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(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?C(e):null}function $(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)}}function R(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!w.__r++||p!==u.debounceRendering)&&((p=u.debounceRendering)||d)(w)}function w(){for(var e;w.__r=c.length;)e=c.sort(function(e,t){return e.__v.__b-t.__v.__b}),c=[],e.some(function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=m({},o)).__v=o.__v+1,H(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?C(o):i,o.__h),O(n,o),o.__e!=i&&$(o)))})}function T(e,t,n,r,o,i,a,s,l,u){var c,d,p,f,g,m,y,E=r&&r.__k||v,b=E.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(f=n.__k[c]=null==(f=t[c])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?S(null,f,null,null,f):Array.isArray(f)?S(D,{children:f},null,null,null):f.__b>0?S(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=E[c])||p&&f.key==p.key&&f.type===p.type)E[c]=void 0;else for(d=0;d<b;d++){if((p=E[d])&&f.key==p.key&&f.type===p.type){E[d]=void 0;break}p=null}H(e,f,p=p||h,o,i,a,s,l,u),g=f.__e,(d=f.ref)&&p.ref!=d&&(y||(y=[]),p.ref&&y.push(p.ref,null,f),y.push(d,f.__c||g,f)),null!=g?(null==m&&(m=g),"function"==typeof f.type&&null!=f.__k&&f.__k===p.__k?f.__d=l=k(f,l,e):l=M(e,f,p,E,g,l),u||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&p.__e==l&&l.parentNode!=e&&(l=C(p))}for(n.__e=m,c=b;c--;)null!=E[c]&&("function"==typeof n.type&&null!=E[c].__e&&E[c].__e==n.__d&&(n.__d=C(r,c+1)),L(E[c],E[c]));if(y)for(c=0;c<y.length;c++)A(y[c],y[++c],y[++c])}function k(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?k(o,t,n):M(n,o,o,e.__k,o.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){x(e,t)}):t.push(e)),t}function M(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)n:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break n;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function _(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function I(e,t,n,r,o){var i;n: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||_(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||_(e.style,t,n[t])}}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase() in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?N:P,i):e.removeEventListener(t,i?N:P,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break n}catch(a){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function P(e){this.l[e.type+!1](u.event?u.event(e):e)}function N(e){this.l[e.type+!0](u.event?u.event(e):e)}function H(e,t,n,r,o,i,a,s,l){var c,d,p,f,g,E,S,C,$,R,w,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(c=u.__b)&&c(t);try{n:if("function"==typeof k){if(C=t.props,$=(c=k.contextType)&&r[c.__c],R=c?$?$.props.value:c.__:r,n.__c?S=(d=t.__c=n.__c).__=d.__E:("prototype"in k&&k.prototype.render?t.__c=d=new k(C,R):(t.__c=d=new b(C,R),d.constructor=k,d.render=U),$&&$.sub(d),d.props=C,d.state||(d.state={}),d.context=R,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=m({},d.__s)),m(d.__s,k.getDerivedStateFromProps(C,d.__s))),f=d.props,g=d.state,p)null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==k.getDerivedStateFromProps&&C!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(C,R),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(C,d.__s,R)||t.__v===n.__v){d.props=C,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),d.__h.length&&a.push(d);break n}null!=d.componentWillUpdate&&d.componentWillUpdate(C,d.__s,R),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,g,E)})}d.context=R,d.props=C,d.state=d.__s,(c=u.__r)&&c(t),d.__d=!1,d.__v=t,d.__P=e,c=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=m(m({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(E=d.getSnapshotBeforeUpdate(f,g)),w=null!=c&&c.type===D&&null==c.key?c.props.children:c,T(e,Array.isArray(w)?w:[w],t,n,r,o,i,a,s,l),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),S&&(d.__E=d.__=null),d.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function e(t,n,r,o,i,a,s,l){var u,c,d,p,f=r.props,g=n.props,m=n.type,E=0;if("svg"===m&&(i=!0),null!=a){for(;E<a.length;E++)if((u=a[E])&&(u===t||(m?u.localName==m:3==u.nodeType))){t=u,a[E]=null;break}}if(null==t){if(null===m)return document.createTextNode(g);t=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),a=null,l=!1}if(null===m)f===g||l&&t.data===g||(t.data=g);else{if(a=a&&v.slice.call(t.childNodes),c=(f=r.props||h).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!l){if(null!=a)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===t.innerHTML)||(t.innerHTML=d&&d.__html||""))}if(function e(t,n,r,o,i){var a;for(a in r)"children"===a||"key"===a||a in n||I(t,a,null,r[a],o);for(a in n)i&&"function"!=typeof n[a]||"children"===a||"key"===a||"value"===a||"checked"===a||r[a]===n[a]||I(t,a,n[a],r[a],o)}(t,g,f,i,l),d)n.__k=[];else if(T(t,Array.isArray(E=n.props.children)?E:[E],n,r,o,i&&"foreignObject"!==m,a,s,t.firstChild,l),null!=a)for(E=a.length;E--;)null!=a[E]&&y(a[E]);l||("value"in g&&void 0!==(E=g.value)&&(E!==t.value||"progress"===m&&!E)&&I(t,"value",E,f.value,!1),"checked"in g&&void 0!==(E=g.checked)&&E!==t.checked&&I(t,"checked",E,f.checked,!1))}return t}(n.__e,t,n,r,o,i,a,l);(c=u.diffed)&&c(t)}catch(x){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),u.__e(x,t,n)}}function O(e,t){u.__c&&u.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(n){u.__e(n,t.__v)}})}function A(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(r){u.__e(r,n)}}function L(e,t,n){var r,o,i;if(u.unmount&&u.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||A(r,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){u.__e(a,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&L(r[i],t,n);null!=o&&y(o)}function U(e,t,n){return this.constructor(e,n)}function W(e,t,n){var r,o,i;u.__&&u.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],H(t,e=(!r&&n||t).__k=E(D,null,[e]),o||h,h,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?v.slice.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),O(i,e)}u={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(i){e=i}throw e},__v:0},b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),R(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),R(this))},b.prototype.render=D,c=[],d="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0,f=0;var V,z=[],F=u.__b,B=u.__r,G=u.diffed,q=u.__c,j=u.unmount;function Y(){z.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(X),e.__H.__h.forEach(K),e.__H.__h=[]}catch(t){e.__H.__h=[],u.__e(t,e.__v)}}),z=[]}u.__b=function(e){F&&F(e)},u.__r=function(e){B&&B(e);var t=e.__c.__H;t&&(t.__h.forEach(X),t.__h.forEach(K),t.__h=[])},u.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==z.push(t)&&V===u.requestAnimationFrame||((V=u.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Z&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Z&&(t=requestAnimationFrame(n))})(Y))},u.__c=function(e,t){t.some(function(e){try{e.__h.forEach(X),e.__h=e.__h.filter(function(e){return!e.__||K(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],u.__e(n,e.__v)}}),q&&q(e,t)},u.unmount=function(e){j&&j(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(X)}catch(n){u.__e(n,t.__v)}};var Z="function"==typeof requestAnimationFrame;function X(e){"function"==typeof e.__c&&e.__c()}function K(e){e.__c=e.__()}function Q(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 J(e){this.props=e}(J.prototype=new b).isPureReactComponent=!0,J.prototype.shouldComponentUpdate=function(e,t){return Q(this.props,e)||Q(this.state,t)};var ee=u.__b;u.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ee&&ee(e)};var et=u.__e;u.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}et(e,t,n)};var en=u.unmount;function er(){this.__u=0,this.t=null,this.__b=null}function eo(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ei(){this.u=null,this.o=null}u.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),en&&en(e)},(er.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=eo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e,t=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},er.prototype.componentWillUnmount=function(){this.t=[]},er.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]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=function e(t,n){for(var r in n)t[r]=n[r];return t}({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&E(D,null,e.fallback);return o&&(o.__h=null),[E(D,null,t.__e?null:e.children),o]};var ea=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 es(e){return this.getChildContext=function(){return e.context},e.children}function el(e){var t=this,n=e.i;t.componentWillUnmount=function(){W(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)}}),W(E(es,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ei.prototype=new b).__e=function(e){var t=this,n=eo(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ea(t,e,r)):o()};n?n(i):i()}},ei.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(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},ei.prototype.componentDidUpdate=ei.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ea(e,n,t)})};var eu="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ec=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ed=u.event;function ep(){}function ef(){return this.cancelBubble}function eh(){return this.defaultPrevented}u.event=function(e){return ed&&(e=ed(e)),e.persist=ep,e.isPropagationStopped=ef,e.isDefaultPrevented=eh,e.nativeEvent=e};var ev={configurable:!0,get:function(){return this.class}},eg=u.vnode;u.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i,a=n[o];"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)&&(i=n.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(i))?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():ec.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==t&&null!=r.defaultValue&&(r.value=x(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}t&&n.class!=n.className&&(ev.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ev)),e.$$typeof=eu,eg&&eg(e)};var em=u.__r;u.__r=function(e){em&&em(e)},"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);var ey="undefined"!=typeof globalThis?globalThis:window;function eE(e){e();var t=u.debounceRendering,n=[];for(u.debounceRendering=function e(t){n.push(t)},W(E(eS,{}),document.createElement("div"));n.length;)n.shift()();u.debounceRendering=t}ey.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):ey.FullCalendarVDom={Component:b,createElement:E,render:W,createRef:function e(){return{current:null}},Fragment:D,createContext:function e(t){var n,r,o,i=(n=t,(o={__c:r="__cC"+f++,__:n,Consumer:function(e,t){return e.children(t)},Provider:function(e){var t,n;return this.getChildContext||(t=[],(n={})[r]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(R)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}}).Provider.__=o.Consumer.contextType=o),a=i.Provider;return i.Provider=function(){var e=this,t=!this.getChildContext,n=a.apply(this,arguments);if(t){var r=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&r.forEach(function(e){e.context=t.value,e.forceUpdate()})},this.sub=function(e){r.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r.splice(r.indexOf(e),1),t&&t.call(e)}}}return n},i},createPortal:function e(t,n){return E(el,{__v:t,i:n})},flushSync:eE,unmountComponentAtNode:function e(t){W(null,t)}};var eS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){return E("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(b),eD=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function eb(e){e.parentNode&&e.parentNode.removeChild(e)}function eC(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(e$(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function e$(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function eR(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}var e8=/(top|left|right|bottom|width|height)$/i;function ew(e,t){for(var n in t)eT(e,n,t[n])}function eT(e,t,n){null==n?e.style[t]="":"number"==typeof n&&e8.test(t)?e.style[t]=n+"px":e.style[t]=n}function ek(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}function ex(e){return e.getRootNode?e.getRootNode():document}var eM=0;function e_(){return"fc-dom-"+(eM+=1)}function eI(e){e.preventDefault()}function eP(e,t,n,r){var o,i,a=(o=n,i=r,function(e){var t=eC(e.target,o);t&&i.call(t,e,t)});return e.addEventListener(t,a),function(){e.removeEventListener(t,a)}}var eN=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend",];function eH(e,t){var n=function(r){t(r),eN.forEach(function(t){e.removeEventListener(t,n)})};eN.forEach(function(t){e.addEventListener(t,n)})}function eO(e){return s({onClick:e},eA(e))}function eA(e){return{tabIndex:0,onKeyDown:function(t){("Enter"===t.key||" "===t.key)&&(e(t),t.preventDefault())}}}var eL=0;function eU(){return String(eL+=1)}function eW(){document.body.classList.add("fc-not-allowed")}function eV(){document.body.classList.remove("fc-not-allowed")}function ez(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",eI)}function eF(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",eI)}function eB(e){e.addEventListener("contextmenu",eI)}function eG(e){e.removeEventListener("contextmenu",eI)}function eq(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function ej(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=eY(e,t,n[r]))return o;return 0}function eY(e,t,n){return n.func?n.func(e,t):eZ(e[n.field],t[n.field])*(n.order||1)}function eZ(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}function eX(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function e0(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce(function(e,t,n){return e.replace("$"+n,t||"")},e):n}function e1(e,t){return e-t}function e4(e){return e%1==0}function eK(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var e3=["sun","mon","tue","wed","thu","fri","sat"];function e2(e,t){var n=ti(e);return n[2]+=7*t,ta(n)}function e5(e,t){var n=ti(e);return n[2]+=t,ta(n)}function e9(e,t){var n=ti(e);return n[6]+=t,ta(n)}function e7(e,t){return e6(e,t)/7}function e6(e,t){return(t.valueOf()-e.valueOf())/864e5}function eQ(e,t){var n=tt(e),r=tt(t);return{years:0,months:0,days:Math.round(e6(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function eJ(e,t){var n=te(e,t);return null!==n&&n%7==0?n/7:null}function te(e,t){return tl(e)===tl(t)?Math.round(e6(e,t)):null}function tt(e){return ta([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),])}function tn(e,t,n,r){var o,i,a,s,l=ta([t,0,1+(o=t,i=n,a=r,s=7+i-a,-((7+ta([o,0,s]).getUTCDay()-i)%7)+s-1)]),u=tt(e);return Math.floor(Math.round(e6(l,u))/7)+1}function tr(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds(),]}function to(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 ti(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds(),]}function ta(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function ts(e){return!isNaN(e.valueOf())}function tl(e){return 36e5*e.getUTCHours()+6e4*e.getUTCMinutes()+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function tu(e,t,n,r){return{instanceId:eU(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var tc=Object.prototype.hasOwnProperty;function td(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=td(o))}for(var i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function tp(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function tf(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function th(e){for(var t={},n=0,r=e;n<r.length;n++)t[r[n]]=!0;return t}function tv(e){var t=[];for(var n in e)t.push(e[n]);return t}function tg(e,t){if(e===t)return!0;for(var n in e)if(tc.call(e,n)&&!(n in t))return!1;for(var n in t)if(tc.call(t,n)&&e[n]!==t[n])return!1;return!0}function tm(e,t){var n=[];for(var r in e)!tc.call(e,r)||r in t||n.push(r);for(var r in t)tc.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function ty(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e&&tE(e[r],t[r],n[r])))return!1;for(var r in e)if(!(r in t))return!1;return!0}function tE(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function tS(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}function tD(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=tp(s,function(e){return!a[e.defId].recurringDef}),a){var u=a[l];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=tb(u,c,t,r,o.recurringTypes),p=0,f=d;p<f.length;p++){var h=f[p],v=tu(l,{start:h,end:r.add(h,c)});s[v.instanceId]=v}}}return{defs:a,instances:s}}function tb(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(tt)),i}var tC=["years","months","days","milliseconds"],t$=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function tR(e,t){var n;return"string"==typeof e?function e(t){var n=t$.exec(t);if(n){var r=n[1]?-1:1;return{years:0,months:0,days:r*(n[2]?parseInt(n[2],10):0),milliseconds:r*((n[3]?parseInt(n[3],10):0)*36e5+(n[4]?parseInt(n[4],10):0)*6e4+(n[5]?parseInt(n[5],10):0)*1e3+(n[6]?parseInt(n[6],10):0))}}return null}(e):"object"==typeof e&&e?t8(e):"number"==typeof e?t8(((n={})[t||"milliseconds"]=e,n)):null}function t8(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:36e5*(e.hours||e.hour||0)+6e4*(e.minutes||e.minute||0)+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 tw(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function tT(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function tk(e){return tx(e)/864e5}function tx(e){return e.years*(365*864e5)+e.months*(30*864e5)+864e5*e.days+e.milliseconds}function tM(e,t){for(var n=null,r=0;r<tC.length;r+=1){var o=tC[r];if(t[o]){var i=e[o]/t[o];if(!e4(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function t_(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function tI(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",tH(t,!0)))),r}function tP(e){return e.toISOString().replace(/T.*$/,"")}function tN(e){return eX(e.getUTCHours(),2)+":"+eX(e.getUTCMinutes(),2)+":"+eX(e.getUTCSeconds(),2)}function tH(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+eX(o,2)+":"+eX(i,2):"GMT"+n+o+(i?":"+eX(i,2):"")}function tO(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function tA(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!tO(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function tL(e,t,n){var r,o,i=this;return function(a){if(r){if(!tg(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}var tU={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},tW={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},tV=/\s*([ap])\.?m\.?/i,tz=/,/g,tF=/\s+/g,tB=/\u200e/g,tG=/UTC|GMT/,tq=function(){function e(e){var t={},n={},r=0;for(var o in e)o in tU?(n[o]=e[o],r=Math.max(tU[o],r)):(t[o]=e[o],o in tW&&(r=Math.max(tW[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=tA(tj)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o,i,a,s=this.standardDateProps,l=this.extendedSettings,u=(o=e.marker,i=t.marker,a=n.calendarSystem,a.getMarkerYear(o)!==a.getMarkerYear(i)?5:a.getMarkerMonth(o)!==a.getMarkerMonth(i)?4:a.getMarkerDay(o)!==a.getMarkerDay(i)?2:tl(o)!==tl(i)?1:0);if(!u)return this.format(e,n);var c=u;c>1&&("numeric"===s.year||"2-digit"===s.year)&&("numeric"===s.month||"2-digit"===s.month)&&("numeric"===s.day||"2-digit"===s.day)&&(c=1);var d=this.format(e,n),p=this.format(t,n);if(d===p)return d;var f=function e(t,n){var r={};for(var o in t)o in tW&&!(tW[o]<=n)||(r[o]=t[o]);return r}(s,c),h=tj(f,l,n),v=h(e),g=h(t),m=function e(t,n,r,o){for(var i=0;i<t.length;){var a=t.indexOf(n,i);if(-1===a)break;var s=t.substr(0,a);i=a+n.length;for(var l=t.substr(i),u=0;u<r.length;){var c=r.indexOf(o,u);if(-1===c)break;var d=r.substr(0,c);u=c+o.length;var p=r.substr(u);if(s===d&&l===p)return{before:s,after:l}}}return null}(d,v,p,g),y=l.separator||r||n.defaultSeparator||"";return m?m.before+v+y+g+m.after:d+y+p},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function tj(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return tH(e.timeZoneOffset)}:0===r&&t.week?function(e){var r,o,i,a,s,l;return r=n.computeWeekNumber(e.marker),o=n.weekText,i=n.weekTextLong,a=n.locale,s=t.week,l=[],"long"===s?l.push(i):("short"===s||"narrow"===s)&&l.push(o),("long"===s||"short"===s)&&l.push(" "),l.push(a.simpleNumberFormat.format(r)),"rtl"===a.options.direction&&l.reverse(),l.join("")}:function e(t,n,r){t=s({},t),n=s({},n),o=t,i=n,o.timeZoneName&&(o.hour||(o.hour="2-digit"),o.minute||(o.minute="2-digit")),"long"===o.timeZoneName&&(o.timeZoneName="short"),i.omitZeroMinute&&(o.second||o.millisecond)&&delete i.omitZeroMinute,t.timeZone="UTC";var o,i,a,l=new Intl.DateTimeFormat(r.locale.codes,t);if(n.omitZeroMinute){var u=s({},t);delete u.minute,a=new Intl.DateTimeFormat(r.locale.codes,u)}return function(e){var o,i,s,u,c,d,p,f,h,v,g=e.marker;return s=(o=a&&!g.getUTCMinutes()?a:l).format(g),u=e,c=t,d=n,p=r,s=s.replace(tB,""),"short"===c.timeZoneName&&(s=(f=s,h="UTC"===p.timeZone||null==u.timeZoneOffset?"UTC":tH(u.timeZoneOffset),v=!1,f=f.replace(tG,function(){return v=!0,h}),v||(f+=" "+h),f)),d.omitCommas&&(s=s.replace(tz,"").trim()),d.omitZeroMinute&&(s=s.replace(":00","")),!1===d.meridiem?s=s.replace(tV,"").trim():"narrow"===d.meridiem?s=s.replace(tV,function(e,t){return t.toLocaleLowerCase()}):"short"===d.meridiem?s=s.replace(tV,function(e,t){return t.toLocaleLowerCase()+"m"}):"lowercase"===d.meridiem&&(s=s.replace(tV,function(e){return e.toLocaleLowerCase()})),s=(s=s.replace(tF," ")).trim()}}(e,t,n)}function tY(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function tZ(e,t,n,r){var o=tY(e,n.calendarSystem),i=t?tY(t,n.calendarSystem):null;return{date:o,start:o,end:i,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var tX=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,tZ(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,tZ(e,t,n,r))},e}(),t0=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(tZ(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(tZ(e,t,n,r))},e}();function t1(e){return"object"==typeof e&&e?new tq(e):"string"==typeof e?new tX(e):"function"==typeof e?new t0(e):null}var t4={navLinkDayClick:tJ,navLinkWeekClick:tJ,duration:tR,bootstrapFontAwesome:tJ,buttonIcons:tJ,customButtons:tJ,defaultAllDayEventDuration:tR,defaultTimedEventDuration:tR,nextDayThreshold:tR,scrollTime:tR,scrollTimeReset:Boolean,slotMinTime:tR,slotMaxTime:tR,dayPopoverFormat:t1,slotDuration:tR,snapDuration:tR,headerToolbar:tJ,footerToolbar:tJ,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:t1,dayHeaderClassNames:tJ,dayHeaderContent:tJ,dayHeaderDidMount:tJ,dayHeaderWillUnmount:tJ,dayCellClassNames:tJ,dayCellContent:tJ,dayCellDidMount:tJ,dayCellWillUnmount:tJ,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:tJ,weekNumbers:Boolean,weekNumberClassNames:tJ,weekNumberContent:tJ,weekNumberDidMount:tJ,weekNumberWillUnmount:tJ,editable:Boolean,viewClassNames:tJ,viewDidMount:tJ,viewWillUnmount:tJ,nowIndicator:Boolean,nowIndicatorClassNames:tJ,nowIndicatorContent:tJ,nowIndicatorDidMount:tJ,nowIndicatorWillUnmount:tJ,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:tJ,locale:tJ,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:tJ,eventOrder:eq,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:tJ,contentHeight:tJ,direction:String,weekNumberFormat:t1,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:tJ,initialDate:tJ,now:tJ,eventDataTransform:tJ,stickyHeaderDates:tJ,stickyFooterScrollbar:tJ,viewHeight:tJ,defaultAllDay:Boolean,eventSourceFailure:tJ,eventSourceSuccess:tJ,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:tJ,eventConstraint:tJ,eventAllow:tJ,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:tJ,eventContent:tJ,eventDidMount:tJ,eventWillUnmount:tJ,selectConstraint:tJ,selectOverlap:tJ,selectAllow:tJ,droppable:Boolean,unselectCancel:String,slotLabelFormat:tJ,slotLaneClassNames:tJ,slotLaneContent:tJ,slotLaneDidMount:tJ,slotLaneWillUnmount:tJ,slotLabelClassNames:tJ,slotLabelContent:tJ,slotLabelDidMount:tJ,slotLabelWillUnmount:tJ,dayMaxEvents:tJ,dayMaxEventRows:tJ,dayMinWidth:Number,slotLabelInterval:tR,allDayText:String,allDayClassNames:tJ,allDayContent:tJ,allDayDidMount:tJ,allDayWillUnmount:tJ,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:t1,rerenderDelay:Number,moreLinkText:tJ,moreLinkHint:tJ,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:tJ,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:tR,hiddenDays:tJ,monthMode:Boolean,fixedWeekCount:Boolean,validRange:tJ,visibleRange:tJ,titleFormat:tJ,eventInteractive:Boolean,noEventsText:String,viewHint:tJ,navLinkHint:tJ,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:tJ,moreLinkClassNames:tJ,moreLinkContent:tJ,moreLinkDidMount:tJ,moreLinkWillUnmount:tJ},tK={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},t3={datesSet:tJ,eventsSet:tJ,eventAdd:tJ,eventChange:tJ,eventRemove:tJ,windowResize:tJ,eventClick:tJ,eventMouseEnter:tJ,eventMouseLeave:tJ,select:tJ,unselect:tJ,loading:tJ,_unmount:tJ,_beforeprint:tJ,_afterprint:tJ,_noEventDrop:tJ,_noEventResize:tJ,_resize:tJ,_scrollRequest:tJ},t2={buttonText:tJ,buttonHints:tJ,views:tJ,plugins:tJ,initialEvents:tJ,events:tJ,eventSources:tJ},t5={headerToolbar:t9,footerToolbar:t9,buttonText:t9,buttonHints:t9,buttonIcons:t9,dateIncrement:t9};function t9(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?tg(e,t):e===t}var t7={type:String,component:tJ,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:tJ,usesMinMaxTime:Boolean,classNames:tJ,content:tJ,didMount:tJ,willUnmount:tJ};function t6(e){return td(e,t5)}function tQ(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function tJ(e){return e}function ne(e,t,n,r){for(var o=nr(),i=nm(n),a=0,s=e;a<s.length;a++){var l=nv(s[a],t,n,r,i);l&&nt(l,o)}return o}function nt(e,t){return void 0===t&&(t=nr()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function nn(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=ni(e,function(e){var t,n;return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId)});return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return nr()}function nr(){return{defs:{},instances:{}}}function no(e,t){return{defs:s(s({},e.defs),t.defs),instances:s(s({},e.instances),t.instances)}}function ni(e,t){var n=tp(e.defs,t),r=tp(e.instances,function(e){return n[e.defId]});return{defs:n,instances:r}}function na(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var ns={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:tJ,overlap:tJ,allow:tJ,className:na,classNames:na,color:String,backgroundColor:String,borderColor:String,textColor:String},nl={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function nu(e,t){var n,r,o=(n=e.constraint,r=t,Array.isArray(n)?ne(n,null,r,!0):"object"==typeof n&&n?ne([n],null,r,!0):null!=n?String(n):null);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=o?[o]:[],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 nc(e){return e.reduce(nd,nl)}function nd(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var np={id:String,groupId:String,title:String,url:String,interactive:Boolean},nf={start:tJ,end:tJ,date:tJ,allDay:Boolean},nh=s(s(s({},np),nf),{extendedProps:tJ});function nv(e,t,n,r,o){void 0===o&&(o=nm(n));var i,a,s,l=ng(e,n,o),u=l.refined,c=l.extra,d=(i=t,a=n,s=null,i&&(s=i.defaultAllDay),null==s&&(s=a.options.defaultAllDay),s),p=function e(t,n,r,o){for(var i=0;i<o.length;i+=1){var a=o[i].parse(t,r);if(a){var s=t.allDay;return null==s&&null==(s=n)&&null==(s=a.allDayGuess)&&(s=!1),{allDay:s,duration:a.duration,typeData:a.typeData,typeId:i}}}return null}(u,d,n.dateEnv,n.pluginHooks.recurringTypes);if(p){var f=ny(u,c,t?t.sourceId:"",p.allDay,Boolean(p.duration),n);return f.recurringDef={typeId:p.typeId,typeData:p.typeData,duration:p.duration},{def:f,instance:null}}var h=function e(t,n,r,o){var i,a,s=t.allDay,l=null,u=!1,c=null,d=null!=t.start?t.start:t.date;if(i=r.dateEnv.createMarkerMeta(d))l=i.marker;else if(!o)return null;return null!=t.end&&(a=r.dateEnv.createMarkerMeta(t.end)),null==s&&(s=null!=n?n:(!i||i.isTimeUnspecified)&&(!a||a.isTimeUnspecified)),s&&l&&(l=tt(l)),a&&(c=a.marker,s&&(c=tt(c)),l&&c<=l&&(c=null)),c?u=!0:o||(u=r.options.forceEventDuration||!1,c=r.dateEnv.add(l,s?r.options.defaultAllDayEventDuration:r.options.defaultTimedEventDuration)),{allDay:s,hasEnd:u,range:{start:l,end:c},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}(u,d,n,r);if(h){var f=ny(u,c,t?t.sourceId:"",h.allDay,h.hasEnd,n),v=tu(f.defId,h.range,h.forcedStartTzo,h.forcedEndTzo);return{def:f,instance:v}}return null}function ng(e,t,n){return void 0===n&&(n=nm(t)),tQ(e,n)}function nm(e){return s(s(s({},ns),nh),e.pluginHooks.eventRefiners)}function ny(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:eU(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:nu(e,i),extendedProps:s(s({},e.extendedProps||{}),t)},l=0,u=i.pluginHooks.eventDefMemberAdders;l<u.length;l++)s(a,(0,u[l])(e));return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function nE(e){var t=Math.floor(e6(e.start,e.end))||1,n=tt(e.start),r=e5(n,t);return{start:n,end:r}}function nS(e,t){void 0===t&&(t=tR(0));var n=null,r=null;if(e.end){r=tt(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=tx(t)&&(r=e5(r,1))}return e.start&&(n=tt(e.start),r&&r<=n&&(r=e5(n,1))),{start:n,end:r}}function nD(e){var t=nS(e);return e6(t.start,t.end)>1}function nb(e,t,n,r){return"year"===r?tR(n.diffWholeYears(e,t),"year"):"month"===r?tR(n.diffWholeMonths(e,t),"month"):eQ(e,t)}function nC(e,t){var n,r,o=[],i=t.start;for(e.sort(n$),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function n$(e,t){return e.start.valueOf()-t.start.valueOf()}function nR(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function n8(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function nw(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function nT(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function nk(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function nx(e,t,n,r){var o={},i={},a={},s=[],l=[],u=nP(e.defs,t);for(var c in e.defs){var d=e.defs[c],p=u[d.defId];"inverse-background"!==p.display||(d.groupId?(o[d.groupId]=[],a[d.groupId]||(a[d.groupId]=d)):i[c]=[])}for(var f in e.instances){var h=e.instances[f],d=e.defs[h.defId],p=u[d.defId],v=h.range,g=!d.allDay&&r?nS(v,r):v,m=nR(g,n);m&&("inverse-background"===p.display?d.groupId?o[d.groupId].push(m):i[h.defId].push(m):"none"!==p.display&&("background"===p.display?s:l).push({def:d,ui:p,instance:h,range:m,isStart:g.start&&g.start.valueOf()===m.start.valueOf(),isEnd:g.end&&g.end.valueOf()===m.end.valueOf()}))}for(var y in o)for(var E=o[y],S=nC(E,n),D=0,b=S;D<b.length;D++){var C=b[D],d=a[y],p=u[d.defId];s.push({def:d,ui:p,instance:null,range:C,isStart:!1,isEnd:!1})}for(var c in i)for(var E=i[c],S=nC(E,n),$=0,R=S;$<R.length;$++){var C=R[$];s.push({def:e.defs[c],ui:u[c],instance:null,range:C,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function nM(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function n_(e,t){e.fcSeg=t}function nI(e){return e.fcSeg||e.parentNode.fcSeg||null}function nP(e,t){return tf(e,function(e){return nN(e,t)})}function nN(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),nc(n)}function nH(e,t){var n=e.map(nO);return n.sort(function(e,n){return ej(e,n,t)}),n.map(function(e){return e._seg})}function nO(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return s(s(s({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function nA(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++)a=(0,l[s])(a,o,i,t);return a}function nL(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function nU(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function nW(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,u=l.displayEventTime,c=l.displayEventEnd,d=e.eventRange.def,p=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==o);var f=p.range.start,h=p.range.end,v=i||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,m=tt(f).valueOf()===tt(v).valueOf(),y=tt(e9(h,-1)).valueOf()===tt(e9(g,-1)).valueOf();return u&&!d.allDay&&(m||y)?(v=m?f:v,g=y?h:g,c&&d.hasEnd)?s.formatRange(v,g,t,{forcedStartTzo:i?null:p.forcedStartTzo,forcedEndTzo:a?null:p.forcedEndTzo}):s.format(v,t,{forcedTzo:i?null:p.forcedStartTzo}):""}function nV(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&nk(t,r.start)}}function nz(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function nF(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function nB(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return(null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s)?eA(function(e){a.trigger("eventClick",{el:e.target,event:new nQ(t,r,o),jsEvent:e,view:t.viewApi})}):{}}var nG={start:tJ,end:tJ,allDay:Boolean};function nq(e,t){return n8(e.range,t.range)&&e.allDay===t.allDay&&function e(t,n){for(var r in n)if("range"!==r&&"allDay"!==r&&t[r]!==n[r])return!1;for(var r in t)if(!(r in n))return!1;return!0}(e,t)}function nj(e,t,n){return s(s({},nY(e,t,n)),{timeZone:t.timeZone})}function nY(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function nZ(e,t,n){n.emitter.trigger("select",s(s({},nX(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function nX(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++)s(o,(0,a[i])(e,t));return s(o,(n=e,r=t.dateEnv,s(s({},nY(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function n0(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=tt(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function n1(e,t,n,r){var o=nP(e.defs,t),i=nr();for(var a in e.defs){var s=e.defs[a];i.defs[a]=n4(s,o[a],n,r)}for(var l in e.instances){var u=e.instances[l],s=i.defs[u.defId];i.instances[l]=nK(u,s,o[u.defId],n,r)}return i}function n4(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=s(s(s({},e),o),{ui:s(s({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=s(s({},i.extendedProps),n.extendedProps));for(var a=0,l=r.pluginHooks.eventDefMutationAppliers;a<l.length;a++)(0,l[a])(i,n,r);return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function nK(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,u=s({},e);return a&&(u.range=nE(u.range)),r.datesDelta&&n.startEditable&&(u.range={start:i.add(u.range.start,r.datesDelta),end:i.add(u.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(u.range={start:i.add(u.range.start,r.startDelta),end:u.range.end}),r.endDelta&&n.durationEditable&&(u.range={start:u.range.start,end:i.add(u.range.end,r.endDelta)}),l&&(u.range={start:u.range.start,end:n0(t.allDay,u.range.start,o)}),t.allDay&&(u.range={start:tt(u.range.start),end:tt(u.range.end)}),u.range.end<u.range.start&&(u.range.end=n0(t.allDay,u.range.start,o)),u}var n3=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),n2={id:String,defaultAllDay:Boolean,url:String,format:String,events:tJ,eventDataTransform:tJ,success:tJ,failure:tJ};function n5(e,t,n){if(void 0===n&&(n=n9(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var r,o=tQ(r,n),i=o.refined,a=o.extra,s=function e(t,n){for(var r=n.pluginHooks.eventSourceDefs,o=r.length-1;o>=0;o-=1){var i=r[o].parseMeta(t);if(i)return{sourceDefId:o,meta:i}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:eU(),sourceDefId:s.sourceDefId,meta:s.meta,ui:nu(i,t),extendedProps:a}}return null}function n9(e){return s(s(s({},ns),n2),e.pluginHooks.eventSourceRefiners)}function n7(e,t){return("function"==typeof e&&(e=e()),null==e)?t.createNowMarker():t.createMarker(e)}var n6=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,l([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering(function(){if(n.unselect(),t){if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})},e.prototype.zoomTo=function(e,t){var n,r;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n7(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=tR(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),t1(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),t1(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var n,r=this.getCurrentData(),o=function e(t,n,r){var o,i,a,l,u,c,d,p,f=(o=t,i=n,a=tQ(o,nG),l=a.refined,u=a.extra,c=l.start?i.createMarkerMeta(l.start):null,d=l.end?i.createMarkerMeta(l.end):null,p=l.allDay,null==p&&(p=c&&c.isTimeUnspecified&&(!d||d.isTimeUnspecified)),s({range:{start:c?c.marker:null,end:d?d.marker:null},allDay:p},u)),h=f.range;if(!h.start)return null;if(!h.end){if(null==r)return null;h.end=n.add(h.start,r)}return f}(n,r.dateEnv,tR({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),nZ(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function e(t,n){n.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof nQ){var n,r=e._def,o=e._instance;return this.getCurrentData().eventStore.defs[r.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:nt({def:r,instance:o})}),this.triggerEventAdd(e)),e}var i=this.getCurrentData();if(t instanceof eD)n=t.internalEventSource;else if("boolean"==typeof t)t&&(n=tv(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;n=a.internalEventSource}var s=nv(e,n,i,!1);if(s){var l=new nQ(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:nt(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:nJ(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new nQ(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new nQ(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return re(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new eD(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new eD(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof eD)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=n5(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new eD(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=tR(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),nQ=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in nf)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=np[e](t),this.mutate({standardProps:{publicId:t}});else if(e in np)t=np[e](t),this.mutate({standardProps:((n={})[e]=t,n)});else if(e in ns){var o=ns[e](t);o="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:((r={})[e]=t,r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:((n={})[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=nb(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance){if(n){var o=nb(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})}},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o=this._context.dateEnv,i={allDay:n.allDay},a=o.createMarker(e);if(a&&(null==t||(r=o.createMarker(t)))&&this._instance){var s=this._instance.range;!0===n.allDay&&(s=nE(s));var l=nb(s.start,a,o,n.granularity);if(r){var u,c,d=nb(s.end,r,o,n.granularity);(u=l,c=d,u.years===c.years&&u.months===c.months&&u.days===c.days&&u.milliseconds===c.milliseconds)?this.mutate({datesDelta:l,standardProps:i}):this.mutate({startDelta:l,endDelta:d,standardProps:i})}else i.hasEnd=!1,this.mutate({datesDelta:l,standardProps:i})}},e.prototype.moveStart=function(e){var t=tR(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=tR(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=tR(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=t1(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=nn(i,n.instanceId);a=n1(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:re(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=nJ(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new eD(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?s(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function nJ(e){var t,n,r=e._def,o=e._instance;return{defs:((t={})[r.defId]=r,t),instances:o?((n={})[o.instanceId]=o,n):{}}}function re(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],u=r[l.defId];l.instanceId!==a&&i.push(new nQ(t,u,l))}return i}var rt={};function rn(e,t){rt[e]=t}t=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return ta(e)},e.prototype.markerToArray=function(e){return ti(e)},e}(),rt.gregory=t;var rr=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function ro(e){var t=rr.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(ts(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}var ri=function(){function e(e){var t,n=this.timeZone=e.timeZone,r="local"!==n&&"UTC"!==n;e.namedTimeZoneImpl&&r&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(n)),this.canComputeOffset=Boolean(!r||this.namedTimeZoneImpl),this.calendarSystem=new rt[t=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}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):ta(tr(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return("number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?isNaN(e=e.valueOf())||(t=this.timestampToMarker(e)):Array.isArray(e)&&(t=ta(e)),null!==t&&ts(t))?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=ro(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-6e4*t.timeZoneOffset):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return tl(e)===tl(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return tl(e)===tl(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+(n.getMarkerYear(t)-n.getMarkerYear(e))*12:null},e.prototype.greatestWholeUnit=function(e,t){var n,r,o,i,a,s,l=this.diffWholeYears(e,t);return null!==l?{unit:"year",value:l}:null!==(l=this.diffWholeMonths(e,t))?{unit:"month",value:l}:null!==(l=eJ(e,t))?{unit:"week",value:l}:null!==(l=te(e,t))?{unit:"day",value:l}:e4(l=(n=e,((r=t).valueOf()-n.valueOf())/36e5))?{unit:"hour",value:l}:e4(l=(o=e,((i=t).valueOf()-o.valueOf())/6e4))?{unit:"minute",value:l}:e4(l=(a=e,((s=t).valueOf()-a.valueOf())/1e3))?{unit:"second",value:l}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}},e.prototype.countDurationsBetween=function(e,t,n){var r,o,i;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(tk(o=n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/(tk(i=n)/30):n.days&&null!==(r=te(e,t))?r/tk(n):(t.valueOf()-e.valueOf())/tx(n)},e.prototype.startOf=function(e,t){var n,r,o;return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?tt(e):"hour"===t?ta([(n=e).getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),]):"minute"===t?ta([(r=e).getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),]):"second"===t?ta([(o=e).getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),]):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7,])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function e(t,n,r){var o=t.getUTCFullYear(),i=tn(t,o,n,r);if(i<1)return tn(t,o-1,n,r);var a=tn(t,o+1,n,r);return a>=1?Math.min(i,a):i}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=e9(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),tI(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ta(tr(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ta(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-to(ti(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(ti(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?to(ti(e)):new Date("UTC"===this.timeZone?e.valueOf():this.namedTimeZoneImpl?e.valueOf()-6e4*this.namedTimeZoneImpl.offsetForArray(ti(e)):e.valueOf()-(t||0))},e}(),ra=[],rs={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"},rl=s(s({},rs),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function ru(e){for(var t=e.length>0?e[0].code:"en",n=ra.concat(e),r={en:rl},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function rc(e,t){var n,r,o,i;return"object"!=typeof e||Array.isArray(e)?(n=e,r=t,o=[].concat(n||[]),i=function e(t,n){for(var r=0;r<t.length;r+=1)for(var o=t[r].toLocaleLowerCase().split("-"),i=o.length;i>0;i-=1){var a=o.slice(0,i).join("-");if(n[a])return n[a]}return null}(o,r)||rl,rd(n,o,i)):rd(e.code,[e.code],e)}function rd(e,t,n){var r=td([rs,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function rp(e){var t=rc(e.locale||"en",ru([]).map);return new ri(s(s({timeZone:tK.timeZone,calendarSystem:"gregory"},e),{locale:t}))}var rf={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function rh(e,t){var n,r;return ne((n=e,(r=!0===n?[{}]:Array.isArray(n)?n.filter(function(e){return e.daysOfWeek}):"object"==typeof n&&n?[n]:[]).map(function(e){return s(s({},rf),e)})),null,t)}function rv(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function rg(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function rm(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function ry(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function rE(e,t){return{left:e.left-t.left,top:e.top-t.top}}function rS(){return null==r&&(r=function e(){if("undefined"==typeof document)return!0;var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);var n=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),n}()),r}var rD=nr(),rb=function(){function e(){this.getKeysForEventDefs=tA(this._getKeysForEventDefs),this.splitDateSelection=tA(this._splitDateSpan),this.splitEventStore=tA(this._splitEventStore),this.splitIndividualUi=tA(this._splitIndividualUi),this.splitEventDrag=tA(this._splitInteraction),this.splitEventResize=tA(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=tf(n,function(e,n){return t.eventUiBuilders[n]||tA(rC)}),n){var d=n[c],p=a[c]||rD,f=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:o[c]||null,eventStore:p,eventUiBases:f(e.eventUiBases[""],d.ui,i[c]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=this.getKeysForDateSpan(e),r=0,o=n;r<o.length;r++)t[o[r]]=e;return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return tf(e.defs,function(e){return t.getKeysForEventDef(e)})},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){var l=s[a];o[l]||(o[l]=nr()),o[l].defs[i]=n[i]}for(var u in r)for(var c=r[u],d=0,p=t[c.defId];d<p.length;d++){var l=p[d];o[l]&&(o[l].instances[u]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||rD,mutatedEvents:o[r]||rD,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function rC(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":nc(r)};return n&&s(o,n),o}function r$(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!nk(r.activeRange,e)),isOther:Boolean(r&&!nk(r.currentRange,e)),isToday:Boolean(t&&nk(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function rR(e,t){var n=["fc-day","fc-day-"+e3[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}var r8=t1({year:"numeric",month:"long",day:"numeric"}),rw=t1({week:"long"});function rT(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,l=o.format(t,"week"===n?rw:r8);if(i.navLinks){var u=o.toDate(t),c=function(e){var r="day"===n?i.navLinkDayClick:"week"===n?i.navLinkWeekClick:null;"function"==typeof r?r.call(a,o.toDate(t),e):("string"==typeof r&&(n=r),a.zoomTo(t,n))};return s({title:e0(i.navLinkHint,[l,u],l),"data-navlink":""},r?eO(c):{onClick:c})}return{"aria-label":l}}var rk=null;function rx(){var e,t;return null===rk&&(rk=(e=document.createElement("div"),ew(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e),t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left,eb(e),t)),rk}function rM(){var e,t;return o||(o=(e=document.createElement("div"),e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e),t=r_(e),document.body.removeChild(e),t)),o}function r_(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function rI(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=r_(e),l=s.y-r-o,u=s.x-i-a,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:u,scrollbarLeft:0,scrollbarRight:0};return rx()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function rP(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():rN(e),o=rI(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function rN(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function rH(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function rO(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){!r&&(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}var rA=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){(function e(t,n,r){(t[n]||(t[n]=[])).push(r)})(this.handlers,e,t)},e.prototype.off=function(e,t){var n,r,o;n=this.handlers,r=e,o=t,o?n[r]&&(n[r]=n[r].filter(function(e){return e!==o})):delete n[r]},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=[].concat(this.options&&this.options[e]||[],r),i=0,a=o;i<a.length;i++)a[i].apply(this.thisContext,t)},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}(),rL=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),rU=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),rW=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return a(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(rU),rV=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(rU),rz=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=s({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();if(rz.prototype.classes={},rz.prototype.iconClasses={},rz.prototype.baseIconClass="",rz.prototype.iconOverridePrefix="","undefined"==typeof FullCalendarVDom)throw Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var rF=FullCalendarVDom.Component,rB=FullCalendarVDom.createElement,rG=FullCalendarVDom.render,rq=FullCalendarVDom.createRef,rj=FullCalendarVDom.Fragment,rY=FullCalendarVDom.createContext,rZ=FullCalendarVDom.createPortal;FullCalendarVDom.flushSync;var rX=FullCalendarVDom.unmountComponentAtNode,r0=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=s({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),r1=rY({});function r4(e,t,n,r,o,i,a,s,l,u,c,d,p){return{dateEnv:o,options:n,pluginHooks:a,emitter:u,dispatch:s,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new r0(e,u,tR(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:p}}var rK=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(tm(e,this.props),tm(t,this.state)),!ty(this.props,e,this.propEquality)||!ty(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){ty(this.state,s(s({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=r2,t.addStateEquality=r5,t.contextType=r1,t}(rF);rK.prototype.propEquality={},rK.prototype.stateEquality={};var r3=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.contextType=r1,t}(rK);function r2(e){var t=Object.create(this.prototype.propEquality);s(t,e),this.prototype.propEquality=t}function r5(e){var t=Object.create(this.prototype.stateEquality);s(t,e),this.prototype.stateEquality=t}function r9(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var r7=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=eU(),t}return a(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!eC(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!eC(e,".fc-event:not(.fc-bg-event)")&&!eC(e,".fc-more-link")&&!eC(e,"a[data-navlink]")&&!eC(e,".fc-popover")},t}(r3);function r6(e){return{id:eU(),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,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function rQ(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:s(s({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:s(s({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:s(s({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:s(s({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:s(s({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:s(s({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:s(s({},e.listenerRefiners),t.listenerRefiners),optionRefiners:s(s({},e.optionRefiners),t.optionRefiners),propSetHandlers:s(s({},e.propSetHandlers),t.propSetHandlers)}}var rJ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(rz);function oe(e,t,n,r){if(t[e])return t[e];var o=function e(t,n,r,o){var i=r[t],a=o[t],l=function(e){return i&&null!==i[e]?i[e]:a&&null!==a[e]?a[e]:null},u=l("component"),c=l("superType"),d=null;if(c){if(c===t)throw Error("Can't have a custom view type that references itself");d=oe(c,n,r,o)}return(!u&&d&&(u=d.component),u)?{type:t,component:u,defaults:s(s({},d?d.defaults:{}),i?i.rawOptions:{}),overrides:s(s({},d?d.overrides:{}),a?a.rawOptions:{})}:null}(e,t,n,r);return o&&(t[e]=o),o}rJ.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},rJ.prototype.baseIconClass="fc-icon",rJ.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"},rJ.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},rJ.prototype.iconOverrideOption="buttonIcons",rJ.prototype.iconOverrideCustomButtonOption="icon",rJ.prototype.iconOverridePrefix="fc-icon-";var ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=rq(),t.handleRootEl=function(e){r9(t.rootElRef,e),t.props.elRef&&r9(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return rB(oi,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},function(r){return rB(or,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},function(e,o){return t.children(r,os(t.classNames,n),e,o)})})},t}(r3),on=rY(0);function or(e){return rB(on.Consumer,null,function(t){return rB(oo,s({renderId:t},e))})}var oo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=rq(),t}return a(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=s({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=ol(e.content,e.hookProps);return void 0===t&&(t=ol(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e){for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(r3),oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&r9(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(s(s({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(s(s({},this.props.hookProps),{el:this.rootEl}))},t}(r3);function oa(){var e,t,n=[];return function(r,o){return t&&tg(t,o)&&r===e||(e=r,t=o,n=os(r,o)),n}}function os(e,t){return"function"==typeof e&&(e=e(t)),na(e)}function ol(e,t){return"function"==typeof e?e(t,rB):e}var ou=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=oa(),t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return rB(oi,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))})},t}(r3);function oc(e){return tf(e,od)}function od(e){var t,n="function"==typeof e?{component:e}:e,r=n.component;return n.content&&(r=(t=n,function(e){return rB(r1.Consumer,null,function(n){return rB(ou,{viewSpec:n.viewSpec},function(r,o){var i=s(s({},e),{nextDayThreshold:n.options.nextDayThreshold});return rB(ot,{hookProps:i,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:r},function(e,t,n,r){return rB("div",{className:o.concat(t).join(" "),ref:e},r)})})})})),{superType:n.type,component:r,rawOptions:n}}function op(e,t,n,r){var o=oc(e),i=oc(t.views),a=function e(t,n){var r,o={};for(r in t)oe(r,o,t,n);for(r in n)oe(r,o,t,n);return o}(o,i);return tf(a,function(e){return function e(t,n,r,o,i){var a,l,u,c=t.overrides.duration||t.defaults.duration||o.duration||r.duration,d=null,p="",f="",h={};if(c&&(d=(a=c,l=JSON.stringify(a),u=of[l],void 0===u&&(u=tR(a),of[l]=u),u))){var v=t_(d);p=v.unit,1===v.value&&(f=p,h=n[p]?n[p].rawOptions:{})}var g=function(e){var n=e.buttonText||{},r=t.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[t.type]?n[t.type]:null!=n[f]?n[f]:null},m=function(e){var n=e.buttonHints||{},r=t.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[t.type]?n[t.type]:null!=n[f]?n[f]:null};return{type:t.type,component:t.component,duration:d,durationUnit:p,singleUnit:f,optionDefaults:t.defaults,optionOverrides:s(s({},h),t.overrides),buttonTextOverride:g(o)||g(r)||t.overrides.buttonText,buttonTextDefault:g(i)||t.defaults.buttonText||g(tK)||t.type,buttonTitleOverride:m(o)||m(r)||t.overrides.buttonHint,buttonTitleDefault:m(i)||t.defaults.buttonHint||m(tK)}}(e,i,t,n,r)})}var of={},oh=function(){function e(e){this.props=e,this.nowDate=n7(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,u,c,d=this.props;return i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(e=(r=e,null!=(o=i).start&&r<o.start?o.start:null!=o.end&&r>=o.end?new Date(o.end.valueOf()-1):r)),a=this.buildCurrentRangeInfo(e,t),s=/^(year|month|week|day)$/.test(a.unit),l=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),u=l=this.trimHiddenDays(l),d.showNonCurrentDates||(u=nR(u,a.range)),u=nR(u=this.adjustActiveRange(u),i),c=nw(a.range,i),{validRange:i,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:u,renderRange:l,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:c,dateIncrement:this.buildDateIncrement(a.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=t_(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return tR({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(0>tk(o)&&(a=tt(a),a=n.add(a,o)),tk(i)>1&&(s=tt(s),s=e5(s,-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,u=s.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&tx(c)<tx(n)?t_(c).unit:r}function d(){o=l.startOf(e,u),i=l.add(o,n),a={start:o,end:i}}return 1>=tk(n)&&this.isHiddenDay(o)&&(o=tt(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=tt(l),r=l=this.skipHiddenDays(l,t);do r=e5(r,1),this.isHiddenDay(r)||(s+=1);while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return o&&(null==o.start||null==o.end)?null:o},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?tR(1,t):e||tR({days:1}))},e.prototype.refineRange=function(e){if(e){var t,n,r,o,i=(t=e,n=this.props.dateEnv,r=null,o=null,(t.start&&(r=n.createMarker(t.start)),t.end&&(o=n.createMarker(t.end)),!r&&!o||r&&o&&o<r)?null:{start:r,end:o});return i&&(i=nS(i)),i}return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return(t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n)?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=e5(e,t);return e},e}();function ov(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function og(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var l=a[i];o[l.sourceId]=l}return n&&(o=om(o,n,r)),s(s({},e),o)}function om(e,t,n){return oy(e,tp(e,function(e){var r,o,i;return r=e,o=t,i=n,oD(r,i)?!i.options.lazyFetching||!r.fetchRange||r.isFetching||o.start<r.fetchRange.start||o.end>r.fetchRange.end:!r.latestFetchId}),t,!1,n)}function oy(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=oE(s,n,r,o):i[a]=s}return i}function oE(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=eU();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:a})},function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})}),s(s({},e),{isFetching:!0,latestFetchId:l})}function oS(e,t){return tp(e,function(e){return oD(e,t)})}function oD(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function ob(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function oC(e,t){return ni(e,function(e){return e.sourceId!==t})}function o$(e,t,n,r,o){var i=e.headerToolbar?oR(e.headerToolbar,e,t,n,r,o):null,a=e.footerToolbar?oR(e.footerToolbar,e,t,n,r,o):null;return{header:i,footer:a}}function oR(e,t,n,r,o,i){var a={},s=[],l=!1;for(var u in e){var c=o8(e[u],t,n,r,o,i);a[u]=c.widgets,s.push.apply(s,c.viewsWithButtons),l=l||c.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function o8(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},d=t.buttonHints||{},p=e?e.split(" "):[],f=[],h=!1;return{widgets:p.map(function(e){return e.split(",").map(function(e){if("title"===e)return h=!0,{buttonName:e};if(n=s[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(m=n.text),y=n.hint||n.text;else if(p=o[e]){f.push(e),v=function(){i.changeView(e)},(m=p.buttonTextOverride)||(g=r.getIconClass(e,a))||(m=p.buttonTextDefault);var n,p,v,g,m,y,E=p.buttonTextOverride||p.buttonTextDefault;y=e0(p.buttonTitleOverride||p.buttonTitleDefault||t.viewHint,[E,e],E)}else if(i[e]){if(v=function(){i[e]()},(m=l[e])||(g=r.getIconClass(e,a))||(m=u[e]),"prevYear"===e||"nextYear"===e){var S="prevYear"===e?"prev":"next";y=e0(c[S]||d[S],[u.year||"year","year",],u[e])}else y=function(t){return e0(c[e]||d[e],[u[t]||t,t,],u[e])}}return{buttonName:e,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:y}})}),viewsWithButtons:f,hasTitle:h}}var ow=r6({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),oT=r6({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;rO(e.eventSource.meta.bind(null,nj(e.range,r)),function(e){t({rawEvents:e})},n)}}]});function ok(e,t,n,r,o){e=e.toUpperCase();var i,a,s=null;"GET"===e?t=(i=t,a=n,i+(-1===i.indexOf("?")?"?":"&")+ox(a)):s=ox(n);var l=new XMLHttpRequest;l.open(e,t,!0),"GET"!==e&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.onload=function(){if(l.status>=200&&l.status<400){var e=!1,t=void 0;try{t=JSON.parse(l.responseText),e=!0}catch(n){}e?r(t,l):o("Failure parsing JSON",l)}else o("Request failed",l)},l.onerror=function(){o("Request failed",l)},l.send(s)}function ox(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var oM=r6({eventSourceRefiners:{method:String,extraParams:tJ,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return e.url&&("json"===e.format||!e.format)?{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null},fetch:function(e,t,n){var r,o,i,a,l,u,c,d,p,f,h=e.eventSource.meta,v=(r=h,o=e.range,i=e.context,d=i.dateEnv,p=i.options,f={},null==(a=r.startParam)&&(a=p.startParam),null==(l=r.endParam)&&(l=p.endParam),null==(u=r.timeZoneParam)&&(u=p.timeZoneParam),s(f,c="function"==typeof r.extraParams?r.extraParams():r.extraParams||{}),f[a]=d.formatIso(o.start),f[l]=d.formatIso(o.end),"local"!==d.timeZone&&(f[u]=d.timeZone),f);ok(h.method,h.url,v,function(e,n){t({rawEvents:e,xhr:n})},function(e,t){n({message:e,xhr:t})})}}]}),o_=r6({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n,r,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},i=void 0;return e.duration&&(i=e.duration),!i&&e.startTime&&e.endTime&&(i=(n=e.endTime,r=e.startTime,{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}}return null},expand:function(e,t,n){var r=nR(t,{start:e.startRecur,end:e.endRecur});return r?function e(t,n,r,o){for(var i=t?th(t):null,a=tt(r.start),s=r.end,l=[];a<s;){var u=void 0;(!i||i[a.getUTCDay()])&&(u=n?o.add(a,n):a,l.push(u)),a=e5(a,1)}return l}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:tJ,startTime:tR,endTime:tR,duration:tR,startRecur:tJ,endRecur:tJ}}),oI=r6({optionChangeHandlers:{events:function(e,t){oP([e],t)},eventSources:oP}});function oP(e,t){for(var n=tv(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var u=0,c=n;u<c.length;u++){var d=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var p=0,f=r;p<f.length;p++){var h=f[p];t.calendarApi.addEventSource(h)}}var oN=[ow,oT,oM,o_,oI,r6({isLoadingFuncs:[function(e){return ov(e.eventSources)},],contentTypeHandlers:{html:function e(){var t=null,n="";return{render:function e(r,o){(r!==t||o!==n)&&(r.innerHTML=o),t=r,n=o},destroy:function e(){t.innerHTML="",t=null,n=""}}},domNodes:function e(){var t=null,n=[];function r(){n.forEach(eb),n=[],t=null}return{render:function e(o,i){var a=Array.prototype.slice.call(i);if(o!==t||!tO(n,a)){for(var s=0,l=a;s<l.length;s++){var u=l[s];o.appendChild(u)}r()}t=o,n=a},destroy:r}}},propSetHandlers:{dateProfile:function e(t,n){n.emitter.trigger("datesSet",s(s({},nj(t.activeRange,n.dateEnv)),{view:n.viewApi}))},eventStore:function e(t,n){var r=n.emitter;r.hasHandlers("eventsSet")&&r.trigger("eventsSet",re(t,n))}}}),],oH=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),oO=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new oH(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function oA(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,t1(t.titleFormat||function e(t){var n=t.currentRangeUnit;if("year"===n)return{year:"numeric"};if("month"===n)return{year:"numeric",month:"long"};var r=te(t.currentRange.start,t.currentRange.end);return null!==r&&r>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var oL=function(){function e(e){var t,n,r,o=this;this.computeOptionsData=tA(this._computeOptionsData),this.computeCurrentViewData=tA(this._computeCurrentViewData),this.organizeRawLocales=tA(ru),this.buildLocale=tA(rc),this.buildPluginHooks=(n=[],r=[],function(e,o){return t&&tO(e,n)&&tO(o,r)||(t=function e(t,n){var r={},o={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,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(e){for(var t=0,n=e;t<n.length;t++){var a=n[t];r[a.id]||(r[a.id]=!0,i(a.deps),o=rQ(o,a))}}return t&&i(t),i(n),o}(e,o)),n=e,r=o,t}),this.buildDateEnv=tA(oU),this.buildTheme=tA(oW),this.parseToolbars=tA(o$),this.buildViewSpecs=tA(op),this.buildDateProfileGenerator=tL(oV),this.buildViewApi=tA(oz),this.buildViewUiProps=tL(oG),this.buildEventUiBySource=tA(oF,tg),this.buildEventUiBases=tA(oB),this.parseContextBusinessHours=tL(oj),this.buildTitle=tA(oA),this.emitter=new rA,this.actionRunner=new oO(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return o.data},this.dispatch=function(e){o.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var i,a,l,u={},c=this.computeOptionsData(e.optionOverrides,u,e.calendarApi),d=c.calendarOptions.initialView||c.pluginHooks.initialView,p=this.computeCurrentViewData(d,c,e.optionOverrides,u);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(p.options);var f=(i=c.calendarOptions,a=c.dateEnv,null!=(l=i.initialDate)?a.createMarker(l):n7(i.now,a)),h=p.dateProfileGenerator.build(f);nk(h.activeRange,f)||(f=h.currentRange.start);for(var v={dateEnv:c.dateEnv,options:c.calendarOptions,pluginHooks:c.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},g=0,m=c.pluginHooks.contextInit;g<m.length;g++)(0,m[g])(v);for(var y,E,S,D,b=(y=c.calendarOptions,E=h,S=v,D=E?E.activeRange:null,og({},function e(t,n){var r=n9(n),o=[].concat(t.eventSources||[]),i=[];t.initialEvents&&o.unshift(t.initialEvents),t.events&&o.unshift(t.events);for(var a=0,s=o;a<s.length;a++){var l=n5(s[a],n,r);l&&i.push(l)}return i}(y,S),D,S)),C={dynamicOptionOverrides:u,currentViewType:d,currentDate:f,dateProfile:h,businessHours:this.parseContextBusinessHours(v),eventSources:b,eventUiBases:{},eventStore:nr(),renderableEventStore:nr(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(v).selectionConfig},$=s(s({},v),C),R=0,w=c.pluginHooks.reducers;R<w.length;R++)s(C,(0,w[R])(null,null,$));oq(C,v)&&this.emitter.trigger("loading",!0),this.state=C,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?s(s({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t,n,r,o,i,a=this.props,l=this.state,u=this.emitter,c=(t=l.dynamicOptionOverrides,n=e,"SET_OPTION"===n.type?s(s({},t),((r={})[n.optionName]=n.rawOptionValue,r)):t),d=this.computeOptionsData(a.optionOverrides,c,a.calendarApi),p=(o=l.currentViewType,i=e,"CHANGE_VIEW_TYPE"===i.type&&(o=i.viewType),o),f=this.computeCurrentViewData(p,d,a.optionOverrides,c);a.calendarApi.currentDataManager=this,u.setThisContext(a.calendarApi),u.setOptions(f.options);var h,v,g={dateEnv:d.dateEnv,options:d.calendarOptions,pluginHooks:d.pluginHooks,calendarApi:a.calendarApi,dispatch:this.dispatch,emitter:u,getCurrentData:this.getCurrentData},m=l.currentDate,y=l.dateProfile;this.data&&this.data.dateProfileGenerator!==f.dateProfileGenerator&&(y=f.dateProfileGenerator.build(m)),m=(h=m,v=e,"CHANGE_DATE"===v.type?v.dateMarker:h),y=function e(t,n,r,o){var i;switch(n.type){case"CHANGE_VIEW_TYPE":return o.build(n.dateMarker||r);case"CHANGE_DATE":return o.build(n.dateMarker);case"PREV":if((i=o.buildPrev(t,r)).isValid)return i;break;case"NEXT":if((i=o.buildNext(t,r)).isValid)return i}return t}(y,e,m,f.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&nk(y.currentRange,m)||(m=y.currentRange.start);for(var E=function e(t,n,r,o){var i,a,l,u,c,d,p,f,h=r?r.activeRange:null;switch(n.type){case"ADD_EVENT_SOURCES":return og(t,n.sources,h,o);case"REMOVE_EVENT_SOURCE":return i=t,a=n.sourceId,tp(i,function(e){return e.sourceId!==a});case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(r)return om(t,h,o);return t;case"FETCH_EVENT_SOURCES":return oy(t,n.sourceIds?th(n.sourceIds):oS(t,o),h,n.isRefetch||!1,o);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return l=t,u=n.sourceId,c=n.fetchId,d=n.fetchRange,f=l[u],f&&c===f.latestFetchId?s(s({},l),((p={})[u]=s(s({},f),{isFetching:!1,fetchRange:d}),p)):l;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}(l.eventSources,e,y,g),S=function e(t,n,r,o,i){switch(n.type){case"RECEIVE_EVENTS":return function e(t,n,r,o,i,a){if(n&&r===n.latestFetchId){var s,l,u,c,d,p=ne((s=i,l=n,u=a,c=u.options.eventDataTransform,d=l?l.eventDataTransform:null,d&&(s=ob(s,d)),c&&(s=ob(s,c)),s),n,a);return o&&(p=tD(p,o,a)),no(oC(t,n.sourceId),p)}return t}(t,r[n.sourceId],n.fetchId,n.fetchRange,n.rawEvents,i);case"ADD_EVENTS":var a,s,l,u;return a=t,s=n.eventStore,l=o?o.activeRange:null,u=i,l&&(s=tD(s,l,u)),no(a,s);case"RESET_EVENTS":return n.eventStore;case"MERGE_EVENTS":return no(t,n.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(o)return tD(t,o.activeRange,i);return t;case"REMOVE_EVENTS":return function e(t,n){var r=t.defs,o=t.instances,i={},a={};for(var s in r)n.defs[s]||(i[s]=r[s]);for(var l in o)!n.instances[l]&&i[o[l].defId]&&(a[l]=o[l]);return{defs:i,instances:a}}(t,n.eventStore);case"REMOVE_EVENT_SOURCE":return oC(t,n.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return ni(t,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return nr();default:return t}}(l.eventStore,e,E,y,g),D=ov(E)&&!f.options.progressiveEventRendering&&l.renderableEventStore||S,b=this.buildViewUiProps(g),C=b.eventUiSingleBase,$=b.selectionConfig,R=this.buildEventUiBySource(E),w=this.buildEventUiBases(D.defs,C,R),T={dynamicOptionOverrides:c,currentViewType:p,currentDate:m,dateProfile:y,eventSources:E,eventStore:S,renderableEventStore:D,selectionConfig:$,eventUiBases:w,businessHours:this.parseContextBusinessHours(g),dateSelection:function e(t,n){switch(n.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return n.selection;default:return t}}(l.dateSelection,e),eventSelection:function e(t,n){switch(n.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return n.eventInstanceId;default:return t}}(l.eventSelection,e),eventDrag:function e(t,n){var r;switch(n.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(r=n.state).affectedEvents,mutatedEvents:r.mutatedEvents,isEvent:r.isEvent};default:return t}}(l.eventDrag,e),eventResize:function e(t,n){var r;switch(n.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(r=n.state).affectedEvents,mutatedEvents:r.mutatedEvents,isEvent:r.isEvent};default:return t}}(l.eventResize,e)},k=s(s({},g),T),x=0,M=d.pluginHooks.reducers;x<M.length;x++)s(T,(0,M[x])(l,e,k));var _=oq(l,g),I=oq(T,g);!_&&I?u.trigger("loading",!0):_&&!I&&u.trigger("loading",!1),this.state=T,a.onAction&&a.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,i,a,l,u,c=this.props,d=this.state,p=this.data,f=this.computeOptionsData(c.optionOverrides,d.dynamicOptionOverrides,c.calendarApi),h=this.computeCurrentViewData(d.currentViewType,f,c.optionOverrides,d.dynamicOptionOverrides),v=this.data=s(s(s({viewTitle:this.buildTitle(d.dateProfile,h.options,f.dateEnv),calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},f),h),d),g=f.pluginHooks.optionChangeHandlers,m=p&&p.calendarOptions,y=f.calendarOptions;if(m&&m!==y)for(var E in m.timeZone!==y.timeZone&&(d.eventSources=v.eventSources=(e=v.eventSources,t=d.dateProfile,n=v,r=t?t.activeRange:null,oy(e,oS(e,n),r,!0,n)),d.eventStore=v.eventStore=(o=v.eventStore,i=p.dateEnv,a=v.dateEnv,l=o.defs,u=tf(o.instances,function(e){var t=l[e.defId];return t.allDay||t.recurringDef?e:s(s({},e),{range:{start:a.createMarker(i.toDate(e.range.start,e.forcedStartTzo)),end:a.createMarker(i.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:a.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:a.canComputeOffset?null:e.forcedEndTzo})}),{defs:l,instances:u})),g)m[E]!==y[E]&&g[E](y[E],v);c.onData&&c.onData(v)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;oY(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),u=this.buildViewSpecs(i.views,e,t,a),c=this.buildTheme(o,i),d=this.parseToolbars(o,e,c,u,n);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:u,theme:c,toolbarConfig:d,localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=t6([tK,e,t,]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,l=this.buildLocale(o||i.defaultCode,a).options,u=this.buildPluginHooks(e.plugins||[],oN),c=this.currentCalendarOptionsRefiners=s(s(s(s(s({},t4),t3),t2),u.listenerRefiners),u.optionRefiners),d={},p=t6([tK,l,e,t,]),f={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in p)"plugins"!==m&&(p[m]===h[m]||t5[m]&&m in h&&t5[m](h[m],p[m])?f[m]=v[m]:c[m]?(f[m]=c[m](p[m]),g=!0):d[m]=h[m]);return g&&(this.currentCalendarOptionsInput=p,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:u,availableLocaleData:i,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;oY(i.extra);var s=this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount});return{viewSpec:o,options:a,dateProfileGenerator:s,viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=t6([tK,e.optionDefaults,n,r,e.optionOverrides,o,]),a=s(s(s(s(s(s({},t4),t3),t2),t7),t.listenerRefiners),t.optionRefiners),l={},u=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,p={};for(var f in i)i[f]===u[f]||t5[f]&&t5[f](i[f],u[f])?l[f]=c[f]:(i[f]===this.currentCalendarOptionsInput[f]||t5[f]&&t5[f](i[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(l[f]=this.currentCalendarOptionsRefined[f]):a[f]?l[f]=a[f](i[f]):p[f]=i[f],d=!0);return d&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}},e}();function oU(e,t,n,r,o,i,a,s){var l=rc(t||a.defaultCode,a.map);return new ri({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function oW(e,t){return new(t.themeClasses[e.themeSystem]||rJ)(e)}function oV(e){return new(e.dateProfileGeneratorClass||oh)(e)}function oz(e,t,n){return new n3(e,t,n)}function oF(e){return tf(e,function(e){return e.ui})}function oB(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function oG(e){var t=e.options;return{eventUiSingleBase:nu({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:nu({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function oq(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++)if((0,r[n])(e))return!0;return!1}function oj(e){return rh(e.options.businessHours,e)}function oY(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var oZ=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new oL({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return a(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(rF),oX=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return(i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},o)),r)?(n.push.apply(n,l([{index:e.index,thickness:e.thickness,span:o3(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(o2(r,t.level,t.levelCoord),o2(n,t.level,[e])):o2(n[t.level],t.lateral,e),this.stackCnts[o1(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this.levelCoords,n=this.entriesByLevel,r=this.strictOrder,o=this.stackCnts,i=t.length,a=0,s=-1,l=-1,u=null,c=0,d=0;d<i;d+=1){var p=t[d];if(!r&&p>=a+e.thickness)break;for(var f=n[d],h=void 0,v=o5(f,e.span.start,o0),g=v[0]+v[1];(h=f[g])&&h.span.start<e.span.end;){var m=p+h.thickness;m>a&&(a=m,u=h,s=d,l=g),m===a&&(c=Math.max(c,o[o1(h)]+1)),g+=1}}var y=0;if(u)for(y=s+1;y<i&&t[y]<a;)y+=1;var E=-1;return y<i&&t[y]===a&&(E=o5(n[y],e.span.end,o0)[0]),{touchingLevel:s,touchingLateral:l,touchingEntry:u,stackCnt:c,levelCoord:a,level:y,lateral:E}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],l=0,u=i;l<u.length;l++){var c=u[l];r.push(s(s({},c),{levelCoord:a}))}return r},e}();function o0(e){return e.span.end}function o1(e){return e.index+":"+e.span.start}function o4(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var o=r[n],i=[],a={span:o.span,entries:[o]},s=0,l=t;s<l.length;s++){var u=l[s];o3(u.span,a.span)?a={entries:u.entries.concat(a.entries),span:oK(u.span,a.span)}:i.push(u)}i.push(a),t=i}return t}function oK(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function o3(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function o2(e,t,n){e.splice(t,0,n)}function o5(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var o9=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function o7(e){var t;return(t={})[e.component.uid]=e,t}var o6={},oQ=function(){function e(e,t){this.emitter=new rA}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),oJ={},ie={startTime:tR,duration:tR,create:Boolean,sourceId:String};function it(e){var t=tQ(e,ie),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var ir=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map(function(t){return e.renderWidgetGroup(t)});return rB.apply(void 0,l(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var s=a[i],u=s.buttonName,c=s.buttonClick,d=s.buttonText,p=s.buttonIcon,f=s.buttonHint;if("title"===u)o=!1,r.push(rB("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var h=u===t.activeButton,v=!t.isTodayEnabled&&"today"===u||!t.isPrevEnabled&&"prev"===u||!t.isNextEnabled&&"next"===u,g=["fc-"+u+"-button",n.getClass("button")];h&&g.push(n.getClass("buttonActive")),r.push(rB("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:c},d||(p?rB("span",{className:p}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return rB.apply(void 0,l(["div",{className:m}],r))}return r[0]},t}(r3),io=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,rB("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":"",].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return rB(ir,{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})},t}(r3),ii=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,r9(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",rB("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(r3),ia=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=nI(t);if(i&&r.isValidSegDownEl(e.target)){var a=eC(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new nQ(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=eP(t.el,"click",".fc-event",n.handleSegClick),n}return a(t,e),t}(o9),is=function(e){function t(t){var n,r,o,i,a=e.call(this,t)||this;return a.handleEventElRemove=function(e){e===a.currentSegEl&&a.handleSegLeave(null,a.currentSegEl)},a.handleSegEnter=function(e,t){nI(t)&&(a.currentSegEl=t,a.triggerEvent("eventMouseEnter",e,t))},a.handleSegLeave=function(e,t){a.currentSegEl&&(a.currentSegEl=null,a.triggerEvent("eventMouseLeave",e,t))},a.removeHoverListeners=(n=t.el,r=a.handleSegEnter,o=a.handleSegLeave,eP(n,"mouseover",".fc-event",function(e,t){if(t!==i){i=t,r(e,t);var n=function(e){i=null,o(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}})),a}return a(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=nI(n);(!t||r.isValidSegDownEl(t.target))&&o.emitter.trigger(e,{el:n,event:new nQ(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(o9),il=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=tA(r4),t.buildViewPropTransformers=tA(ic),t.buildToolbarProps=tA(iu),t.headerRef=rq(),t.footerRef=rq(),t.interactionsStore={},t.state={viewLabelId:e_()},t.registerInteractiveComponent=function(e,n){var r,o,i=(r=e,o=n,{component:r,el:o.el,useEventCenter:null==o.useEventCenter||o.useEventCenter,isHitComboAllowed:o.isHitComboAllowed||null}),a=[ia,is,].concat(t.props.pluginHooks.componentInteractions).map(function(e){return new e(i)});t.interactionsStore[e.uid]=a,o6[e.uid]=i},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++)o[r].destroy();delete t.interactionsStore[e.uid]}delete o6[e.uid]},t.resizeRunner=new oH(function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})}),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return a(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,n7(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=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),u=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return rB(r1.Provider,{value:l},n.header&&rB(io,s({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:u},o)),rB(ii,{liquid:i,height:a,aspectRatio:e,labeledById:u},this.renderView(t),this.buildAppendContent()),n.footer&&rB(io,s({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(function(t){return new t(e)}),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++)t[e].destroy();this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map(function(t){return t(e)});return rB.apply(void 0,l([rj,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,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},o=this.buildViewPropTransformers(t.viewPropsTransformers),i=0,a=o;i<a.length;i++)s(r,a[i].transform(r,e));return rB(n.component,s({},r))},t}(rK);function iu(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!nk(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function ic(e){return e.map(function(e){return new e})}var id=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return a(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root"),];return rS()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(r3);function ip(e,t){return!e||t>10?t1({weekday:"short"}):t>1?t1({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):t1({weekday:"long"})}var ih="fc-col-header-cell";function iv(e){return e.text}var ig=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,l=i.dateProfile,u=r$(a,i.todayRange,null,l),c=[ih].concat(rR(u,r)),d=t.format(a,i.dayHeaderFormat),p=!u.isDisabled&&i.colCnt>1?rT(this.context,a):{},f=s(s(s({date:t.toDate(a),view:o},i.extraHookProps),{text:d}),u);return rB(ot,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:iv,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(e,t,n,r){return rB("th",s({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":u.isDisabled?void 0:tP(a),colSpan:i.colSpan},i.extraDataAttrs),rB("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&rB("a",s({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":"",].join(" ")},p),r)))})},t}(r3),im=t1({weekday:"long"}),iy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=e5(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[ih].concat(rR(l,r),e.extraClassNames||[]),c=n.format(a,e.dayHeaderFormat),d=s(s(s(s({date:a},l),{view:o}),e.extraHookProps),{text:c});return rB(ot,{hookProps:d,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:iv,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},function(t,r,o,i){return rB("th",s({ref:t,role:"columnheader",className:u.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),rB("div",{className:"fc-scrollgrid-sync-inner"},rB("a",{"aria-label":n.format(a,im),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":"",].join(" "),ref:o},i)))})},t}(r3),iE=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=n7(n.options.now,n.dateEnv),r.initialNowQueriedMs=new Date().valueOf(),r.state=r.computeTiming().currentState,r}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=e9(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,tR(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:iS(r)},nextState:{nowDate:o,todayRange:iS(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout(function(){e.setState(n,function(){e.setTimeout()})},r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=r1,t}(rF);function iS(e){var t=tt(e),n=e5(t,1);return{start:t,end:n}}var iD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=tA(ib),t}return a(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return rB(iE,{unit:"day"},function(e,t){return rB("tr",{role:"row"},i&&i("day"),n.map(function(e){return o?rB(ig,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):rB(iy,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})}))})},t}(r3);function ib(e,t,n){return e||ip(t,n)}var iC=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(o.push(a+=1),i.push(n)),n=e5(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(e5(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r),o=Math.floor(o),r<=o)?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(e6(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),i$=function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(n=1,r=i[0].getUTCDay();n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},e}(),iR=function(){function e(){this.sliceBusinessHours=tA(this._sliceBusinessHours),this.sliceDateSelection=tA(this._sliceDateSpan),this.sliceEventStore=tA(this._sliceEventStore),this.sliceEventDrag=tA(this._sliceInteraction),this.sliceEventResize=tA(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,l([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,l([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,l([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,l([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,l([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,l([{range:{start:e,end:e9(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,l([tD(e,i8(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=nx(e,t,i8(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=nx(e.mutatedEvents,t,i8(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i,a,s,u,c,d=(i=e,a=t,s=n,u=ng({editable:!1},s),{def:c=ny(u.refined,u.extra,"",i.allDay,!0,s),ui:nN(c,a),instance:tu(c.defId,i.range),range:i.range,isStart:!0,isEnd:!0}),p=this.sliceRange.apply(this,l([e.range],r)),f=0,h=p;f<h.length;f++)h[f].eventRange=d;return p},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:e5(n.start,1)});for(var r=this.sliceRange.apply(this,l([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function i8(e,t){var n=e.activeRange;return t?n:{start:e9(n.start,e.slotMinTime.milliseconds),end:e9(n.end,e.slotMaxTime.milliseconds-864e5)}}function iw(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!nT(t.validRange,r[o].range))return!1;return ik({eventDrag:e},n)}function iT(e,t,n){return!!nT(t.validRange,e.range)&&ik({dateSelection:e},n)}function ik(e,t){var n=t.getCurrentData(),r=s({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||ix)(r,t)}function ix(e,t,n,r){return void 0===n&&(n={}),(!e.eventDrag||!!function e(t,n,r,o){var i,a,l=n.getCurrentData(),u=t.eventDrag,c=u.mutatedEvents,d=c.defs,p=c.instances,f=nP(d,u.isEvent?t.eventUiBases:{"":l.selectionConfig});o&&(f=tf(f,o));var h=(i=t.eventStore,a=u.affectedEvents.instances,{defs:i.defs,instances:tp(i.instances,function(e){return!a[e.instanceId]})}),v=h.defs,g=h.instances,m=nP(v,t.eventUiBases);for(var y in p){var E=p[y],S=E.range,D=f[E.defId],b=d[E.defId];if(!iM(D.constraints,S,h,t.businessHours,n))return!1;var C=n.options.eventOverlap,$="function"==typeof C?C:null;for(var R in g){var w=g[R];if(nw(S,w.range)&&(!1===m[w.defId].overlap&&u.isEvent||!1===D.overlap||$&&!$(new nQ(n,v[w.defId],w),new nQ(n,b,E))))return!1}for(var T=l.eventStore,k=0,x=D.allows;k<x.length;k++){var M=x[k],_=s(s({},r),{range:E.range,allDay:b.allDay}),I=T.defs[b.defId],P=T.instances[y],N=void 0;if(N=I?new nQ(n,I,P):new nQ(n,b),!M(nX(_,n),N))return!1}}return!0}(e,t,n,r))&&(!e.dateSelection||!!function e(t,n,r,o){var i=t.eventStore,a=i.defs,l=i.instances,u=t.dateSelection,c=u.range,d=n.getCurrentData().selectionConfig;if(o&&(d=o(d)),!iM(d.constraints,c,i,t.businessHours,n))return!1;var p=n.options.selectOverlap,f="function"==typeof p?p:null;for(var h in l){var v=l[h];if(nw(c,v.range)&&(!1===d.overlap||f&&!f(new nQ(n,a[v.defId],v),null)))return!1}for(var g=0,m=d.allows;g<m.length;g++){var y=m[g],E=s(s({},r),u);if(!y(nX(E,n),null))return!1}return!0}(e,t,n,r))}function iM(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++)if(!iP(i_(a[i],t,n,r,o),t))return!1;return!0}function i_(e,t,n,r,o){return"businessHours"===e?iI(tD(r,t,o)):"string"==typeof e?iI(ni(n,function(t){return t.groupId===e})):"object"==typeof e&&e?iI(tD(e,t,o)):[]}function iI(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function iP(e,t){for(var n=0,r=e;n<r.length;n++)if(nT(r[n],t))return!0;return!1}var iN=/^(visible|hidden)$/,iH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,r9(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),rB("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(iN.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1)if(n[r].getBoundingClientRect().width>t)return!0;return!1},t.prototype.needsYScrolling=function(){if(iN.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1)if(n[r].getBoundingClientRect().height>t)return!0;return!1},t.prototype.getXScrollbarWidth=function(){return iN.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return iN.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(r3),iO=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return tS(this.currentMap,e,t,n)},e.prototype.getAll=function(){return tv(this.currentMap)},e}();function iA(e){for(var t=eR(e,".fc-scrollgrid-shrink"),n=0,r=0,o=t;r<o.length;r++)n=Math.max(n,eK(o[r]));return Math.ceil(n)}function iL(e,t){return e.liquid&&t.liquid}function iU(e,t){return null!=t.maxHeight||iL(e,t)}function iW(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):rB("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":"",].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,rB(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function iV(e,t){return tO(e,t,tg)}function iz(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(rB("col",{style:{width:"shrink"===i.width?iF(t):i.width||"",minWidth:i.minWidth||""}}));return rB.apply(void 0,l(["colgroup",{}],n))}function iF(e){return null==e?4:e}function iB(e){for(var t=0,n=e;t<n.length;t++)if("shrink"===n[t].width)return!0;return!1}function iG(e,t){var n=["fc-scrollgrid",t.theme.getClass("table"),];return e&&n.push("fc-scrollgrid-liquid"),n}function iq(e,t){var 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 ij(e){return rB("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function iY(e){var t=e.stickyHeaderDates;return(null==t||"auto"===t)&&(t="auto"===e.height||"auto"===e.viewHeight),t}function iZ(e){var t=e.stickyFooterScrollbar;return(null==t||"auto"===t)&&(t="auto"===e.height||"auto"===e.viewHeight),t}var iX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=tA(function(e){return e},iV),t.renderMicroColGroup=tA(iz),t.scrollerRefs=new iO,t.scrollerElRefs=new iO(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(s({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return a(t,e),t.prototype.render=function(){var e,t=this.props,n=this.state,r=this.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),s=iG(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");for(var u=o.length,c=0,d=[],p=[],f=[];c<u&&"header"===(e=o[c]).type;)d.push(this.renderSection(e,a,!0)),c+=1;for(;c<u&&"body"===(e=o[c]).type;)p.push(this.renderSection(e,a,!1)),c+=1;for(;c<u&&"footer"===(e=o[c]).type;)f.push(this.renderSection(e,a,!0)),c+=1;var h=!rS(),v={role:"rowgroup"};return rB("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&rB.apply(void 0,l(["thead",v],d)),Boolean(!h&&p.length)&&rB.apply(void 0,l(["tbody",v],p)),Boolean(!h&&f.length)&&rB.apply(void 0,l(["tfoot",v],f)),h&&rB.apply(void 0,l(l(l(["tbody",v],d),p),f)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?rB(rj,{key:e.key},e.outerContent):rB("tr",{key:e.key,role:"presentation",className:iq(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,u=iU(o,e),c=iL(o,e),d=o.liquid?a?"scroll":u?"auto":"hidden":"visible",p=e.key,f=iW(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[p]?null:s[p],clientHeight:void 0!==l[p]?l[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return rB(r?"th":"td",{ref:n.elRef,role:"presentation"},rB("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},rB(iH,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},f)))},t.prototype._handleScrollerEl=function(e,t){var n=function e(t,n){for(var r=0,o=t;r<o.length;r++){var i=o[r];if(i.key===n)return i}return null}(this.props.sections,t);n&&r9(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return iB(this.props.cols)?iA(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=rM(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,u=this.props.sections;l<u.length;l++){var a=u[l].key,c=n.currentMap[a];if(c){var d=c.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t}(r3);iX.addStateEquality({scrollerClientWidths:tg,scrollerClientHeights:tg});var i0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=rq(),t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new nQ(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&nA(r,t),isStartResizable:!e.disableResizing&&nL(r,t),isEndResizable:!e.disableResizing&&nU(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)},s=nz(a).concat(i.classNames);return rB(ot,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)})},t.prototype.componentDidMount=function(){n_(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&n_(this.elRef.current,t)},t}(r3),i1=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=nW(n,t.options.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return rB(i0,{seg:n,timeText:r,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||i4,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(r,o,i,a,l){return rB("a",s({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},nB(n,t)),rB("div",{className:"fc-event-main",ref:i,style:{color:l.textColor}},a),l.isStartResizable&&rB("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&rB("div",{className:"fc-event-resizer fc-event-resizer-end"}))})},t}(r3);function i4(e){return rB("div",{className:"fc-event-main-frame"},e.timeText&&rB("div",{className:"fc-event-time"},e.timeText),rB("div",{className:"fc-event-title-container"},rB("div",{className:"fc-event-title fc-sticky"},e.event.title||rB(rj,null,"\xa0"))))}var iK=function(e){return rB(r1.Consumer,null,function(t){var n=t.options;return rB(ot,{hookProps:{isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi},classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)})},i3=t1({day:"numeric"}),i2=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=i5({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return rB(or,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(r3);function i5(e){var t=e.date,n=e.dateEnv,r=r$(t,e.todayRange,null,e.dateProfile);return s(s(s({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,i3):""}),e.extraProps)}var i9=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=tL(i5),t.normalizeClassNames=oa(),t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=rR(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":tP(e.date)};return rB(oi,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},function(t){return e.children(t,o,i,r.isDisabled)})},t}(r3);function i7(e){return rB("div",{className:"fc-"+e})}var i6=function(e){return rB(i0,{defaultContent:iQ,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(e,t,n,r,o){return rB("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)})};function iQ(e){return e.event.title&&rB("div",{className:"fc-event-title"},e.event.title)}var iJ=function(e){return rB(r1.Consumer,null,function(t){var n=t.dateEnv,r=t.options,o=e.date,i=r.weekNumberFormat||e.defaultFormat,a=n.computeWeekNumber(o),s=n.format(o,i);return rB(ot,{hookProps:{num:a,text:s,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:ae,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)})};function ae(e){return e.text}var at=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:e_()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&r9(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=ek(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return a(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover"),].concat(r.extraClassNames||[]);return rZ(rB("div",s({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),rB("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},rB("span",{className:"fc-popover-title",id:o.titleId},r.title),rB("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),rB("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=function e(t){for(var n=rH(t),r=t.getBoundingClientRect(),o=0,i=n;o<i.length;o++){var a=rg(r,i[o].getBoundingClientRect());if(!a)return null;r=a}return r}(n);if(i){var a=o.getBoundingClientRect(),s=r?eC(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.max(l=Math.min(l,document.documentElement.clientWidth-10-a.width),10);var u=o.offsetParent.getBoundingClientRect();ew(o,{top:s-u.top,left:l-u.left})}},t}(r3),an=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return a(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return rB(i9,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},function(e,t,n){return rB(at,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},rB(i2,{date:o,dateProfile:a,todayRange:i},function(e,t){return t&&rB("div",{className:"fc-more-popover-misc",ref:e},t)}),r.children)})},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:s({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(r7),ar=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=rq(),t.state={isPopoverOpen:!1,popoverId:e_()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=ai(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new nQ(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return rB(r1.Consumer,null,function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,u=ai(t),c="function"==typeof s?s.call(a,l):"+"+l+" "+s,d=e0(i.moreLinkHint,[l],c);return rB(rj,null,Boolean(t.moreCnt)&&rB(ot,{elRef:e.linkElRef,hookProps:{num:l,shortText:"+"+l,text:c,view:o},classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||ao,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")}),n.isPopoverOpen&&rB(an,{id:n.popoverId,startDate:u.start,endDate:u.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))})},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=eC(this.linkElRef.current,".fc-view-harness"))},t}(r3);function ao(e){return e.text}function ai(e){if(e.allDayDate)return{start:e.allDayDate,end:e5(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:aa(n),end:(t=n,t.reduce(al).eventRange.range.end)}}function aa(e){return e.reduce(as).eventRange.range.start}function as(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function al(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var au=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;eE(function(){rG(rB(id,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),rB(on.Provider,{value:r.customContentRenderId},rB(il,s({isHeightAuto:o,forPrint:i},e)))}),r.el)})}else r.isRendered&&(r.isRendered=!1,rX(r.el),r.setClassNames([]),r.setHeight(""))},r.el=t,r.renderRunner=new oH(r.handleRenderRequest),new oL({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return a(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){var t=this;eE(function(){e.prototype.updateSize.call(t)})},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!tO(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){var o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){eT(this.el,"height",e)},t}(n6);oJ.touchMouseIgnoreWait=500;var ac=0,ad=0,ap=!1,af=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){var n;if(!t.shouldIgnoreMouse()&&(n=e,0===n.button&&!n.ctrlKey)&&t.tryStart(e)){var r=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",r),t.initScrollWatch(r),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,ac+=1,setTimeout(function(){ac-=1},oJ.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new rA,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(ad+=1)&&window.addEventListener("touchmove",ah,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(ad-=1)||window.removeEventListener("touchmove",ah,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!!(t&&(!this.handleSelector||eC(n,this.handleSelector)))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){ap=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?eC(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return ac||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(ap=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function ah(e){ap&&e.preventDefault()}var av=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",ew(n,{left:r.left,top:r.top}),eH(n,function(){n.style.transition="",e()})},e.prototype.cleanup=function(){this.mirrorEl&&(eb(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&ew(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),ew(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),ag=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return a(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(rU),am=function(e){function t(t,n){return e.call(this,new rW(t),n)||this}return a(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return rP(this.scrollController.el)},t}(ag),ay=function(e){function t(t){return e.call(this,new rV,t)||this}return a(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(ag),aE="function"==typeof performance?performance.now:Date.now,aS=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=aE();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(aE()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++)t[e].destroy();this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=this.scrollCaches||[],i=0,a=o;i<a.length;i++){var s=a[i],l=s.clientRect,u=e-l.left,c=l.right-e,d=t-l.top,p=l.bottom-t;u>=0&&c>=0&&d>=0&&p>=0&&(d<=n&&this.everMovedUp&&s.canScrollUp()&&(!r||r.distance>d)&&(r={scrollCache:s,name:"top",distance:d}),p<=n&&this.everMovedDown&&s.canScrollDown()&&(!r||r.distance>p)&&(r={scrollCache:s,name:"bottom",distance:p}),u<=n&&this.everMovedLeft&&s.canScrollLeft()&&(!r||r.distance>u)&&(r={scrollCache:s,name:"left",distance:u}),c<=n&&this.everMovedRight&&s.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:s,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map(function(e){return e===window?new ay(!1):new am(e,!1)})},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,r=this.scrollQuery;n<r.length;n++){var o=r[n];"object"==typeof o?t.push(o):t.push.apply(t,Array.prototype.slice.call(ex(e).querySelectorAll(o)))}return t},e}(),aD=function(e){function t(t,n){var r=e.call(this,t)||this;r.containerEl=t,r.delay=null,r.minDistance=0,r.touchScrollAllowed=!0,r.mirrorNeedsRevert=!1,r.isInteracting=!1,r.isDragging=!1,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,r.delayTimeoutId=null,r.onPointerDown=function(e){r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,ez(document.body),eB(document.body),e.isTouch||e.origEvent.preventDefault(),r.emitter.trigger("pointerdown",e),!r.isInteracting||r.pointer.shouldIgnoreMove||(r.mirror.setIsVisible(!1),r.mirror.start(e.subjectEl,e.pageX,e.pageY),r.startDelay(e),r.minDistance||r.handleDistanceSurpassed(e)))},r.onPointerMove=function(e){if(r.isInteracting){if(r.emitter.trigger("pointermove",e),!r.isDistanceSurpassed){var t=r.minDistance,n=void 0,o=e.deltaX,i=e.deltaY;(n=o*o+i*i)>=t*t&&r.handleDistanceSurpassed(e)}r.isDragging&&("scroll"!==e.origEvent.type&&(r.mirror.handleMove(e.pageX,e.pageY),r.autoScroller.handleMove(e.pageX,e.pageY)),r.emitter.trigger("dragmove",e))}},r.onPointerUp=function(e){r.isInteracting&&(r.isInteracting=!1,eF(document.body),eG(document.body),r.emitter.trigger("pointerup",e),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(e)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};var o=r.pointer=new af(t);return o.emitter.on("pointerdown",r.onPointerDown),o.emitter.on("pointermove",r.onPointerMove),o.emitter.on("pointerup",r.onPointerUp),n&&(o.selector=n),r.mirror=new av,r.autoScroller=new aS,r}return a(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout(function(){t.delayTimeoutId=null,t.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll())},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(oQ),ab=function(){function e(e){this.origRect=rN(e),this.scrollCaches=rH(e).map(function(e){return new am(e,!0)})}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++)t[e].destroy()},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},r=0,o=this.scrollCaches;r<o.length;r++){var i=o[r];if(!aC(i.getEventTarget())&&!rv(n,i.clientRect))return!1}return!0},e}();function aC(e){var t=e.tagName;return"HTML"===t||"BODY"===t}var a$=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new rA}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},r=n,o=e.subjectEl;o instanceof HTMLElement&&(t=rN(o),r=rm(r,t));var i=this.initialHit=this.queryHitForOffset(r.left,r.top);if(i){if(this.useSubjectCenter&&t){var a=rg(t,i.rect);a&&(r=ry(a))}this.coordAdjust=rE(r,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!aR(this.movingHit,n))&&(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=tf(this.droppableStore,function(e){return e.component.prepareHits(),new ab(e.el)})},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,r=this.offsetTrackers,o=null;for(var i in n){var a=n[i].component,s=r[i];if(s&&s.isWithinClipping(e,t)){var l=s.computeLeft(),u=s.computeTop(),c=e-l,d=t-u,p=s.origRect,f=p.right-p.left,h=p.bottom-p.top;if(c>=0&&c<f&&d>=0&&d<h){var v=a.queryHit(c,d,f,h);v&&nT(v.dateProfile.activeRange,v.dateSpan.range)&&(!o||v.layer>o.layer)&&(v.componentId=i,v.context=a.context,v.rect.left+=l,v.rect.right+=l,v.rect.top+=u,v.rect.bottom+=u,o=v)}}}return o},e}();function aR(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&nq(e.dateSpan,t.dateSpan)}function a8(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.datePointTransforms;i<a.length;i++)s(o,(0,a[i])(e,t));return s(o,(n=e,r=t.dateEnv,{date:r.toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),o}var aw=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,o=r.initialHit,i=r.finalHit;if(o&&i&&aR(o,i)){var a=t.context,l=s(s({},a8(o.dateSpan,a)),{dayEl:o.dayEl,jsEvent:e.origEvent,view:a.viewApi||a.calendarApi.view});a.emitter.trigger("dateClick",l)}}},n.dragging=new aD(t.el),n.dragging.autoScroller.isEnabled=!1;var r=n.hitDragging=new a$(n.dragging,o7(t));return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("dragend",n.handleDragEnd),n}return a(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(o9),aT=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t,r,o,i=n,a=i.component,s=i.dragging,l=a.context.options.selectable&&a.isValidDateDownEl(e.origEvent.target);s.setIgnoreMove(!l),s.delay=e.isTouch?(t=a,r=t.context.options,o=r.selectLongPressDelay,null==o&&(o=r.longPressDelay),o):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var r=n.component.context,o=null,i=!1;if(e){var a=n.hitDragging.initialHit;e.componentId===a.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(a,e)||(o=function e(t,n,r){var o=t.dateSpan,i=n.dateSpan,a=[o.range.start,o.range.end,i.range.start,i.range.end,];a.sort(e1);for(var l={},u=0,c=r;u<c.length;u++){var d=(0,c[u])(t,n);if(!1===d)return null;d&&s(l,d)}return l.range={start:a[0],end:a[3]},l.allDay=o.allDay,l}(a,e,r.pluginHooks.dateSelectionTransformers)),o&&iT(o,e.dateProfile,r)||(i=!0,o=null)}o?r.dispatch({type:"SELECT_DATES",selection:o}):t||r.dispatch({type:"UNSELECT_DATES"}),i?eW():eV(),t||(n.dragSelection=o)},n.handlePointerUp=function(e){n.dragSelection&&(nZ(n.dragSelection,e,n.component.context),n.dragSelection=null)};var r=t.component.context.options,o=n.dragging=new aD(t.el);o.touchScrollAllowed=!1,o.minDistance=r.selectMinDistance||0,o.autoScroller.isEnabled=r.dragScroll;var i=n.hitDragging=new a$(n.dragging,o7(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragstart",n.handleDragStart),i.emitter.on("hitupdate",n.handleHitUpdate),i.emitter.on("pointerup",n.handlePointerUp),n}return a(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(o9),ak=function(e){function t(n){var r=e.call(this,n)||this;r.subjectEl=null,r.subjectSeg=null,r.isDragging=!1,r.eventRange=null,r.relevantEvents=null,r.receivingContext=null,r.validMutation=null,r.mutatedRelevantEvents=null,r.handlePointerDown=function(e){var t=e.origEvent.target,n=r,o=n.component,i=n.dragging,a=i.mirror,s=o.context.options,l=o.context;r.subjectEl=e.subjectEl;var u,c,d,p=r.subjectSeg=nI(e.subjectEl),f=(r.eventRange=p.eventRange).instance.instanceId;r.relevantEvents=nn(l.getCurrentData().eventStore,f),i.minDistance=e.isTouch?0:s.eventDragMinDistance,i.delay=e.isTouch&&f!==o.props.eventSelection?(u=o,c=u.context.options,d=c.eventLongPressDelay,null==d&&(d=c.longPressDelay),d):null,s.fixedMirrorParent?a.parentNode=s.fixedMirrorParent:a.parentNode=eC(t,".fc"),a.revertDuration=s.dragRevertDuration;var h=o.isValidSegDownEl(t)&&!eC(t,".fc-event-resizer");i.setIgnoreMove(!h),r.isDragging=h&&e.subjectEl.classList.contains("fc-event-draggable")},r.handleDragStart=function(e){var t=r.component.context,n=r.eventRange,o=n.instance.instanceId;e.isTouch?o!==r.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),r.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:r.subjectEl,event:new nQ(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},r.handleHitUpdate=function(e,t){if(r.isDragging){var n=r.relevantEvents,o=r.hitDragging.initialHit,i=r.component.context,a=null,s=null,l=null,u=!1,c={affectedEvents:n,mutatedEvents:nr(),isEvent:!0};if(e){var d=(a=e.context).options;i===a||d.editable&&d.droppable?(s=function e(t,n,r){var o=t.dateSpan,i=n.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=n.context.options.allDayMaintainDuration,i.allDay&&(a=tt(a)));var u=nb(a,s,t.context.dateEnv,t.componentId===n.componentId?t.largeUnit:null);u.milliseconds&&(l.allDay=!1);for(var c={datesDelta:u,standardProps:l},d=0,p=r;d<p.length;d++)(0,p[d])(c,t,n);return c}(o,e,a.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(l=n1(n,a.getCurrentData().eventUiBases,s,a),c.mutatedEvents=l,iw(c,e.dateProfile,a)||(u=!0,s=null,l=null,c.mutatedEvents=nr())):a=null}r.displayDrag(a,c),u?eW():eV(),t||(i===a&&aR(o,e)&&(s=null),r.dragging.setMirrorNeedsRevert(!s),r.dragging.setMirrorIsVisible(!e||!ex(r.subjectEl).querySelector(".fc-event-mirror")),r.receivingContext=a,r.validMutation=s,r.mutatedRelevantEvents=l)}},r.handlePointerUp=function(){r.isDragging||r.cleanup()},r.handleDragEnd=function(e){if(r.isDragging){var t=r.component.context,n=t.viewApi,o=r,i=o.receivingContext,a=o.validMutation,l=r.eventRange.def,u=r.eventRange.instance,c=new nQ(t,l,u),d=r.relevantEvents,p=r.mutatedRelevantEvents,f=r.hitDragging.finalHit;if(r.clearDrag(),t.emitter.trigger("eventDragStop",{el:r.subjectEl,event:c,jsEvent:e.origEvent,view:n}),a){if(i===t){var h=new nQ(t,p.defs[l.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var v={oldEvent:c,event:h,relatedEvents:re(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}},g={},m=0,y=t.getCurrentData().pluginHooks.eventDropTransformers;m<y.length;m++)s(g,(0,y[m])(a,t));t.emitter.trigger("eventDrop",s(s(s({},v),g),{el:e.subjectEl,delta:a.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",v)}else if(i){var E={event:c,relatedEvents:re(d,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}};t.emitter.trigger("eventLeave",s(s({},E),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:d}),t.emitter.trigger("eventRemove",E);var S=p.defs[l.defId],D=p.instances[u.instanceId],b=new nQ(i,S,D);i.dispatch({type:"MERGE_EVENTS",eventStore:p});var C={event:b,relatedEvents:re(p,i,D),revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};i.emitter.trigger("eventAdd",C),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),i.emitter.trigger("drop",s(s({},a8(f.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:f.context.viewApi})),i.emitter.trigger("eventReceive",s(s({},C),{draggedEl:e.subjectEl,view:f.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}r.cleanup()};var o=r.component.context.options,i=r.dragging=new aD(n.el);i.pointer.selector=t.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=o.dragScroll;var a=r.hitDragging=new a$(r.dragging,o6);return a.useSubjectCenter=n.useEventCenter,a.emitter.on("pointerdown",r.handlePointerDown),a.emitter.on("dragstart",r.handleDragStart),a.emitter.on("hitupdate",r.handleHitUpdate),a.emitter.on("pointerup",r.handlePointerUp),a.emitter.on("dragend",r.handleDragEnd),r}return a(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:nr(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(o9),ax=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,r=n.querySegEl(e),o=nI(r),i=n.eventRange=o.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==i.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange;n.relevantEvents=nn(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var o=n.querySegEl(e);n.draggingSegEl=o,n.draggingSeg=nI(o),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:o,event:new nQ(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,r){var o=n.component.context,i=n.relevantEvents,a=n.hitDragging.initialHit,s=n.eventRange.instance,l=null,u=null,c=!1,d={affectedEvents:i,mutatedEvents:nr(),isEvent:!0};e&&(e.componentId===a.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(a,e)||(l=function e(t,n,r,o){var i,a=t.context.dateEnv,s=nb(t.dateSpan.range.start,n.dateSpan.range.start,a,t.largeUnit);if(r){if(a.add(o.start,s)<o.end)return{startDelta:s}}else if(a.add(o.end,s)>o.start)return{endDelta:s};return null}(a,e,r.subjectEl.classList.contains("fc-event-resizer-start"),s.range))),l&&(u=n1(i,o.getCurrentData().eventUiBases,l,o),d.mutatedEvents=u,iw(d,e.dateProfile,o)||(c=!0,l=null,u=null,d.mutatedEvents=null)),u?o.dispatch({type:"SET_EVENT_RESIZE",state:d}):o.dispatch({type:"UNSET_EVENT_RESIZE"}),c?eW():eV(),t||(l&&aR(a,e)&&(l=null),n.validMutation=l,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,r=n.eventRange.def,o=n.eventRange.instance,i=new nQ(t,r,o),a=n.relevantEvents,l=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:i,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var u=new nQ(t,l.defs[r.defId],o?l.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:l});var c={oldEvent:i,event:u,relatedEvents:re(l,t,o),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:a})}};t.emitter.trigger("eventResize",s(s({},c),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||tR(0),endDelta:n.validMutation.endDelta||tR(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",c)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var r=t.component,o=n.dragging=new aD(t.el);o.pointer.selector=".fc-event-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=r.context.options.dragScroll;var i=n.hitDragging=new a$(n.dragging,o7(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragstart",n.handleDragStart),i.emitter.on("hitupdate",n.handleHitUpdate),i.emitter.on("dragend",n.handleDragEnd),n}return a(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return eC(e.subjectEl,".fc-event")},t}(o9),aM=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,r=ek(e.origEvent);t.matchesCancel=!!eC(r,n),t.matchesEvent=!!eC(r,ak.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new af(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),a_=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,r){var o=n.hitDragging.dragging,i=null,a=null,l=!1,u={affectedEvents:nr(),mutatedEvents:nr(),isEvent:n.dragMeta.create};e&&(i=e.context,n.canDropElOnCalendar(r.subjectEl,i)&&(a=function e(t,n,r){for(var o=s({},n.leftoverProps),i=0,a=r.pluginHooks.externalDefTransforms;i<a.length;i++)s(o,(0,a[i])(t,n));var l,u=ng(o,r),c=ny(u.refined,u.extra,n.sourceId,t.allDay,r.options.forceEventDuration||Boolean(n.duration),r),d=t.range.start;t.allDay&&n.startTime&&(d=r.dateEnv.add(d,n.startTime));var p=n.duration?r.dateEnv.add(d,n.duration):n0(t.allDay,d,r),f=tu(c.defId,{start:d,end:p});return{def:c,instance:f}}(e.dateSpan,n.dragMeta,i),u.mutatedEvents=nt(a),(l=!iw(u,e.dateProfile,i))&&(u.mutatedEvents=nr(),a=null))),n.displayDrag(i,u),o.setMirrorIsVisible(t||!a||!document.querySelector(".fc-event-mirror")),l?eW():eV(),t||(o.setMirrorNeedsRevert(!a),n.receivingContext=i,n.droppableEvent=a)},this.handleDragEnd=function(e){var t=n,r=t.receivingContext,o=t.droppableEvent;if(n.clearDrag(),r&&o){var i=n.hitDragging.finalHit,a=i.context.viewApi,l=n.dragMeta;if(r.emitter.trigger("drop",s(s({},a8(i.dateSpan,r)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:a})),l.create){var u=nt(o);r.dispatch({type:"MERGE_EVENTS",eventStore:u}),e.isTouch&&r.dispatch({type:"SELECT_EVENT",eventInstanceId:o.instance.instanceId}),r.emitter.trigger("eventReceive",{event:new nQ(r,o.def,o.instance),relatedEvents:[],revert:function(){r.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:e.subjectEl,view:a})}}n.receivingContext=null,n.droppableEvent=null};var r=this.hitDragging=new a$(e,o6);r.requireInitial=!1,r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){var t,n,r,o,i;return"object"==typeof this.suppliedDragMeta?it(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?it(this.suppliedDragMeta(e)):(t=e,r="event",i=(n=t,o=oJ.dataAttrPrefix,n.getAttribute("data-"+(o?o+"-":"")+r)||""),it(i?JSON.parse(i):{create:!1}))},e.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(e$(e,n))},e}();oJ.dataAttrPrefix="";var aI=function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,r=n.settings,o=r.minDistance,i=r.longPressDelay;t.minDistance=null!=o?o:e.isTouch?0:tK.eventDragMinDistance,t.delay=e.isTouch?null!=i?i:tK.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var r=this.dragging=new aD(e);r.touchScrollAllowed=!1,null!=t.itemSelector&&(r.pointer.selector=t.itemSelector),null!=t.appendTo&&(r.mirror.parentNode=t.appendTo),r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),new a_(r,t.eventData)}return e.prototype.destroy=function(){this.dragging.destroy()},e}(),aP=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new af(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return a(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(oQ),aN=function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new aP(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new a_(r,t.eventData)}return e.prototype.destroy=function(){this.dragging.destroy()},e}(),aH=r6({componentInteractions:[aw,aT,ak,ax],calendarInteractions:[aM],elementDraggingImpl:aD,optionRefiners:{fixedMirrorParent:tJ},listenerRefiners:{dateClick:tJ,eventDragStart:tJ,eventDragStop:tJ,eventDrop:tJ,eventResizeStart:tJ,eventResizeStop:tJ,eventResize:tJ,drop:tJ,eventReceive:tJ,eventLeave:tJ}}),aO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=rq(),t}return a(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],i=iY(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),rB(ou,{viewSpec:r.viewSpec},function(e,t){return rB("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},rB(iX,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))})},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw Error("No ScrollGrid implementation");var i=this.props,a=this.context,s=!i.forPrint&&iY(a.options),l=!i.forPrint&&iZ(a.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:ij}]}),rB(ou,{viewSpec:a.viewSpec},function(e,t){return rB("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},rB(o,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))})},t}(r7);function aA(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function aL(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function aU(e,t){var n=[];if(e){for(var r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var o=0,i=e.segs;o<i.length;o++){var a=i[o];n[a.row].segs.push(a)}}else for(var r=0;r<t;r+=1)n[r]=null;return n}var aW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=rT(this.context,e.date);return rB(i2,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:aV},function(n,r){return(r||e.forceDayTop)&&rB("div",{className:"fc-daygrid-day-top",ref:n},rB("a",s({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||rB(rj,null,"\xa0")))})},t}(r3);function aV(e){return e.dayNumberText}var az=t1({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function aF(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var aB=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props;return rB(i1,s({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:az,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(r3),aG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||az,r=nW(e.seg,n,t,!0,e.defaultDisplayEventEnd);return rB(i0,{seg:e.seg,timeText:r,defaultContent:aq,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(n,r,o,i){return rB("a",s({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},nB(e.seg,t)),i)})},t}(r3);function aq(e){return rB(rj,null,rB("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&rB("div",{className:"fc-event-time"},e.timeText),rB("div",{className:"fc-event-title"},e.event.title||rB(rj,null,"\xa0")))}var aj=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=tA(aY),t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return rB(ar,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return rB(rj,null,n.map(function(n){var r=n.eventRange.instance.instanceId;return rB("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},aF(n)?rB(aG,s({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},nV(n,e.todayRange))):rB(aB,s({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},nV(n,e.todayRange))))}))}},function(e,t,n,r,o,i,a,l){return rB("a",s({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:i,"aria-expanded":a,"aria-controls":l},eO(o)),r)})},t}(r3);function aY(e){for(var t=[],n=[],r=0,o=e;r<o.length;r++){var i=o[r];t.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:t,invisibleSegs:n}}var aZ=t1({week:"narrow"}),aX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=rq(),t.state={dayNumberId:e_()},t.handleRootEl=function(e){r9(t.rootElRef,e),r9(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=this.state,r=this.rootElRef,o=t.date,i=t.dateProfile,a=rT(e,o,"week");return rB(i9,{date:o,dateProfile:i,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraHookProps:t.extraHookProps,elRef:this.handleRootEl},function(e,l,u,c){return rB("td",s({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(l,t.extraClassNames||[]).join(" ")},u,t.extraDataAttrs,t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),rB("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:t.innerElRef},t.showWeekNumber&&rB(iJ,{date:o,defaultFormat:aZ},function(e,t,n,r){return rB("a",s({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},a),r)}),!c&&rB(aW,{date:o,dateProfile:i,showDayNumber:t.showDayNumber,dayNumberId:n.dayNumberId,forceDayTop:t.forceDayTop,todayRange:t.todayRange,extraHookProps:t.extraHookProps}),rB("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,rB("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},rB(aj,{allDayDate:o,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}))),rB("div",{className:"fc-daygrid-day-bg"},t.bgContent)))})},t}(r7);function a0(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,i=o.range,a=nR(i,{start:r[t].date,end:e5(r[n-1].date,1)});return s(s({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:s(s({},o.ui),{durationEditable:!1}),instance:o.instance,range:a},isStart:e.isStart&&a.start.valueOf()===i.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===i.end.valueOf()})}var a1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return a(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,i=function(e){return!n.forceHidden[o1(e)]},a=0;a<o.length;a+=1)o[a]=o[a].filter(i);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var o=this.entriesByLevel,i=this.forceHidden,a=t.touchingEntry,l=t.touchingLevel,u=t.touchingLateral;if(this.hiddenConsumes&&a){var c=o1(a);if(!i[c]){if(this.allowReslicing){var d=s(s({},a),{span:o3(a.span,n.span)});i[o1(d)]=!0,o[l][u]=d,this.splitEntry(a,n,r)}else i[c]=!0,r.push(a)}}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(oX),a4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new iO,t.frameElRefs=new iO,t.fgElRefs=new iO,t.segHarnessRefs=new iO,t.rootElRef=rq(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state,r=this.context.options,o=t.cells.length,i=aL(t.businessHourSegs,o),a=aL(t.bgEventSegs,o),s=aL(this.getHighlightSegs(),o),l=aL(this.getMirrorSegs(),o),u=function e(t,n,r,o,i,a,s){var l=new a1;l.allowReslicing=!0,l.strictOrder=o,!0===n||!0===r?(l.maxCoord=a,l.hiddenConsumes=!0):"number"==typeof n?l.maxStackCnt=n:"number"==typeof r&&(l.maxStackCnt=r,l.hiddenConsumes=!0);for(var u=[],c=[],d=0;d<t.length;d+=1){var p=t[d],f=i[p.eventRange.instance.instanceId];null!=f?u.push({index:d,thickness:f,span:{start:p.firstCol,end:p.lastCol+1}}):c.push(p)}for(var h=l.addSegs(u),v=function e(t,n,r){for(var o=function e(t,n){for(var r=[],o=0;o<n;o+=1)r.push([]);for(var i=0,a=t;i<a.length;i++)for(var s=a[i],o=s.span.start;o<s.span.end;o+=1)r[o].push(s);return r}(t,r.length),i=[],a=[],s=[],l=0;l<r.length;l+=1){for(var u=o[l],c=[],d=0,p=0,f=0,h=u;f<h.length;f++){var v=h[f],g=n[v.index];c.push({seg:a0(g,l,l+1,r),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:v.levelCoord-d}),d=v.levelCoord+v.thickness}var m=[];d=0,p=0;for(var y=0,E=u;y<E.length;y++){var v=E[y],g=n[v.index],S=v.span.end-v.span.start>1,D=v.span.start===l;p+=v.levelCoord-d,d=v.levelCoord+v.thickness,S?(p+=v.thickness,D&&m.push({seg:a0(g,v.span.start,v.span.end,r),isVisible:!0,isAbsolute:!0,absoluteTop:v.levelCoord,marginTop:0})):D&&(m.push({seg:a0(g,v.span.start,v.span.end,r),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:p}),p=0)}i.push(c),a.push(m),s.push(p)}return{singleColPlacements:i,multiColPlacements:a,leftoverMargins:s}}(l.toRects(),t,s),g=v.singleColPlacements,m=v.multiColPlacements,y=v.leftoverMargins,E=[],S=[],D=0,b=c;D<b.length;D++){var p=b[D];m[p.firstCol].push({seg:p,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var C=p.firstCol;C<=p.lastCol;C+=1)g[C].push({seg:a0(p,C,C+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(var C=0;C<s.length;C+=1)E.push(0);for(var $=0,R=h;$<R.length;$++){var w=R[$],p=t[w.index],T=w.span;m[T.start].push({seg:a0(p,T.start,T.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var C=T.start;C<T.end;C+=1)E[C]+=1,g[C].push({seg:a0(p,C,C+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(var C=0;C<s.length;C+=1)S.push(y[C]);return{singleColPlacements:g,multiColPlacements:m,moreCnts:E,moreMarginTops:S}}(nH(t.fgEventSegs,r.eventOrder),t.dayMaxEvents,t.dayMaxEventRows,r.eventOrderStrict,n.eventInstanceHeights,n.maxContentHeight,t.cells),c=u.singleColPlacements,d=u.multiColPlacements,p=u.moreCnts,f=u.moreMarginTops,h=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{};return rB("tr",{ref:this.rootElRef,role:"row"},t.renderIntro&&t.renderIntro(),t.cells.map(function(n,r){var o=e.renderFgSegs(r,t.forPrint?c[r]:d[r],t.todayRange,h),u=e.renderFgSegs(r,function e(t,n){if(!t.length)return[];var r=function e(t){for(var n={},r=0,o=t;r<o.length;r++)for(var i=o[r],a=0,s=i;a<s.length;a++){var l=s[a];n[l.seg.eventRange.instance.instanceId]=l.absoluteTop}return n}(n);return t.map(function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:r[e.eventRange.instance.instanceId],marginTop:0}})}(l[r],d),t.todayRange,{},Boolean(t.eventDrag),Boolean(t.eventResize),!1);return rB(aX,{key:n.key,elRef:e.cellElRefs.createRef(n.key),innerElRef:e.frameElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,showDayNumber:t.showDayNumbers,showWeekNumber:t.showWeekNumbers&&0===r,forceDayTop:t.showWeekNumbers,todayRange:t.todayRange,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,moreCnt:p[r],moreMarginTop:f[r],singlePlacements:c[r],fgContentElRef:e.fgElRefs.createRef(n.key),fgContent:rB(rj,null,rB(rj,null,o),rB(rj,null,u)),bgContent:rB(rj,null,e.renderFillSegs(s[r],"highlight"),e.renderFillSegs(i[r],"non-business"),e.renderFillSegs(a[r],"bg-event"))})}))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!tg(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,o,i,a){var l=this.context,u=this.props.eventSelection,c=this.state.framePositions,d=1===this.props.cells.length,p=o||i||a,f=[];if(c)for(var h=0,v=t;h<v.length;h++){var g=v[h],m=g.seg,y=m.eventRange.instance.instanceId,E=y+":"+e,S=g.isVisible&&!r[y],D=g.isAbsolute,b="",C="";D&&(l.isRtl?(C=0,b=c.lefts[m.lastCol]-c.lefts[m.firstCol]):(b=0,C=c.rights[m.firstCol]-c.rights[m.lastCol])),f.push(rB("div",{className:"fc-daygrid-event-harness"+(D?" fc-daygrid-event-harness-abs":""),key:E,ref:p?null:this.segHarnessRefs.createRef(E),style:{visibility:S?"":"hidden",marginTop:D?"":g.marginTop,top:D?g.absoluteTop:"",left:b,right:C}},aF(m)?rB(aG,s({seg:m,isDragging:o,isSelected:y===u,defaultDisplayEventEnd:d},nV(m,n))):rB(aB,s({seg:m,isDragging:o,isResizing:i,isDateSelecting:a,isSelected:y===u,defaultDisplayEventEnd:d},nV(m,n)))))}return f},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,o=this.state.framePositions,i=[];if(o)for(var a=0,u=e;a<u.length;a++){var c=u[a],d=n?{right:0,left:o.lefts[c.lastCol]-o.lefts[c.firstCol]}:{left:0,right:o.rights[c.firstCol]-o.rights[c.lastCol]};i.push(rB("div",{key:nF(c.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===t?rB(i6,s({seg:c},nV(c,r))):i7(t)))}return rB.apply(void 0,l([rj,{}],i))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map(function(e){return n.currentMap[e.key]});if(r.length){var o=this.rootElRef.current;this.setState({framePositions:new rL(o,r,!0,!1)})}}var i=this.state.eventInstanceHeights,a=this.queryEventInstanceHeights(),l=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:s(s({},i),a),maxContentHeight:l?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map(function(t){return e[t.key]})},t}(r7);a4.addStateEquality({eventInstanceHeights:tg});var aK=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=tA(aA),t.splitBgEventSegs=tA(aA),t.splitFgEventSegs=tA(aA),t.splitDateSelectionSegs=tA(aA),t.splitEventDrag=tA(aU),t.splitEventResize=tA(aU),t.rowRefs=new iO,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,o=t.dayMaxEvents,i=t.expandRows,a=t.cells.length,s=this.splitBusinessHourSegs(t.businessHourSegs,a),l=this.splitBgEventSegs(t.bgEventSegs,a),u=this.splitFgEventSegs(t.fgEventSegs,a),c=this.splitDateSelectionSegs(t.dateSelectionSegs,a),d=this.splitEventDrag(t.eventDrag,a),p=this.splitEventResize(t.eventResize,a),f=!0===o||!0===r;return f&&!i&&(f=!1,r=null,o=null),rB("div",{className:["fc-daygrid-body",f?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},rB(iE,{unit:"day"},function(f,h){return rB(rj,null,rB("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:i?t.clientHeight:""}},t.colGroupNode,rB("tbody",{role:"presentation"},t.cells.map(function(i,f){return rB(a4,{ref:e.rowRefs.createRef(f),key:i.length?i[0].date.toISOString():f,showDayNumbers:a>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:i,renderIntro:t.renderRowIntro,businessHourSegs:s[f],eventSelection:t.eventSelection,bgEventSegs:l[f].filter(a3),fgEventSegs:u[f],dateSelectionSegs:c[f],eventDrag:d[f],eventResize:p[f],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})}))))}))},t.prototype.prepareHits=function(){this.rowPositions=new rL(this.rootEl,this.rowRefs.collect().map(function(e){return e.getCellEls()[0]}),!1,!0),this.colPositions=new rL(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),i=r.topToIndex(t);if(null!=i&&null!=o){var a=this.props.cells[i][o];return{dateProfile:this.props.dateProfile,dateSpan:s({range:this.getCellRange(i,o),allDay:!0},a.extraDateSpan),dayEl:this.getCellEl(i,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[i],bottom:r.bottoms[i]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date,r=e5(n,1);return{start:n,end:r}},t}(r7);function a3(e){return e.eventRange.def.allDay}var a2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return a(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(iR),a5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new a2,t.tableRef=rq(),t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return rB(aK,s({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}))},t}(r7),a9=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=tA(a7),t.headerRef=rq(),t.tableRef=rq(),t}return a(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,o=this.props,i=this.buildDayTableModel(o.dateProfile,r),a=n.dayHeaders&&rB(iD,{ref:this.headerRef,dateProfile:o.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),s=function(t){return rB(a5,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:i,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(a,s,i.colCnt,n.dayMinWidth):this.renderSimpleLayout(a,s)},t}(aO);function a7(e,t){var n=new iC(e.renderRange,t);return new i$(n,/year|month|week/.test(e.currentRangeUnit))}var a6=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.buildRenderRange=function(t,n,r){var o,i=this.props.dateEnv,a=e.prototype.buildRenderRange.call(this,t,n,r),s=a.start,l=a.end;if(/^(year|month)$/.test(n)&&(s=i.startOfWeek(s),(o=i.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=e2(o,1))),this.props.monthMode&&this.props.fixedWeekCount){var u=Math.ceil(e7(s,l));l=e2(l,6-u)}return{start:s,end:l}},t}(oh),aQ=r6({initialView:"dayGridMonth",views:{dayGrid:{component:a9,dateProfileGeneratorClass:a6},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),aJ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?nM(e)?["timed","allDay"]:["allDay"]:["timed"]},t}(rb),se=t1({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function st(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor",];return rB(r1.Consumer,null,function(n){if(!e.isLabeled)return rB("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,o=n.options,i=n.viewApi,a=null==o.slotLabelFormat?se:Array.isArray(o.slotLabelFormat)?t1(o.slotLabelFormat[0]):t1(o.slotLabelFormat),s={level:0,time:e.time,date:r.toDate(e.date),view:i,text:r.format(e.date,a)};return rB(ot,{hookProps:s,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:sn,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},function(n,r,o,i){return rB("td",{ref:n,className:t.concat(r).join(" "),"data-time":e.isoTimeStr},rB("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},rB("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:o},i)))})})}function sn(e){return e.text}var sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){return this.props.slatMetas.map(function(e){return rB("tr",{key:e.key},rB(st,s({},e)))})},t}(r3),so=t1({week:"short"}),si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new aJ,t.headerElRef=rq(),t.rootElRef=rq(),t.scrollerElRef=rq(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var r=t.context.options,o=t.props.dateProfile.renderRange,i=1===e6(o.start,o.end)?rT(t.context,o.start,"week"):{};return r.weekNumbers&&"day"===e?rB(iJ,{date:o.start,defaultFormat:so},function(e,t,r,o){return rB("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink",].concat(t).join(" ")},rB("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},rB("a",s({ref:r,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},i),o)))}):rB("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},rB("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,r=n.options,o=n.viewApi;return rB(ot,{hookProps:{text:r.allDayText,view:o},classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:sa,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},function(t,n,r,o){return rB("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink",].concat(n).join(" ")},rB("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},rB("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:r},o)))})},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return a(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var r=this.context,o=this.props,i=[],a=iY(r.options);return e&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(i.push({type:"body",key:"all-day",chunk:{content:t}}),i.push({type:"body",key:"all-day-divider",outerContent:rB("tr",{role:"presentation",className:"fc-scrollgrid-section"},rB("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),i.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),rB(ou,{viewSpec:r.viewSpec,elRef:this.rootElRef},function(e,t){return rB("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},rB(iX,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:i}))})},t.prototype.renderHScrollLayout=function(e,t,n,r,o,i,a){var s=this,l=this.context.pluginHooks.scrollGridImpl;if(!l)throw Error("No ScrollGrid implementation");var u=this.context,c=this.props,d=!c.forPrint&&iY(u.options),p=!c.forPrint&&iZ(u.options),f=[];e&&f.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return rB("tr",{role:"presentation"},s.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:function(e){return rB("tr",{role:"presentation"},s.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t},]}),f.push({key:"all-day-divider",type:"body",outerContent:rB("tr",{role:"presentation",className:"fc-scrollgrid-section"},rB("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))}));var h=u.options.nowIndicator;return f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(e){return rB("div",{className:"fc-timegrid-axis-chunk"},rB("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,rB("tbody",null,rB(sr,{slatMetas:i}))),rB("div",{className:"fc-timegrid-now-indicator-container"},rB(iE,{unit:h?"minute":"day"},function(e){var t=h&&a&&a.safeComputeTop(e);return"number"==typeof t?rB(iK,{isAxis:!0,date:e},function(e,n,r,o){return rB("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:t}},o)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n},]}),p&&f.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:ij},{key:"cols",content:ij},]}),rB(ou,{viewSpec:u.viewSpec,elRef:this.rootElRef},function(e,t){return rB("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},rB(l,{liquid:!c.isHeightAuto&&!c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:o}]},],sections:f}))})},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return(!0===t||!0===n)&&(t=void 0,n=5),{dayMaxEvents:t,dayMaxEventRows:n}},t}(r7);function sa(e){return e.text}var ss=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(nk(t.currentRange,e)){var n=tt(e),r=e.valueOf()-n.valueOf();if(r>=tx(t.slotMinTime)&&r<tx(t.slotMaxTime))return this.computeTimeTop(tR(r))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=tt(e)),this.computeTimeTop(tR(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,r=this.positions,o=this.dateProfile,i=r.els.length,a=(e.milliseconds-tx(o.slotMinTime))/tx(this.slotDuration);return a=Math.max(0,a),t=Math.min(t=Math.floor(a=Math.min(i,a)),i-1),n=a-t,r.tops[t]+r.getHeight(t)*n},e}(),sl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return rB("tbody",null,e.slatMetas.map(function(o,i){var a={time:o.time,date:t.dateEnv.toDate(o.date),view:t.viewApi},l=["fc-timegrid-slot","fc-timegrid-slot-lane",o.isLabeled?"":"fc-timegrid-slot-minor",];return rB("tr",{key:o.key,ref:r.createRef(o.key)},e.axis&&rB(st,s({},o)),rB(ot,{hookProps:a,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},function(e,t,n,r){return rB("td",{ref:e,className:l.concat(t).join(" "),"data-time":o.isoTimeStr},r)}))}))},t}(r3),su=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=rq(),t.slatElRefs=new iO,t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return rB("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},rB("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,rB(sl,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t,n=this.context,r=this.props;if(r.onCoords&&null!==r.clientWidth){this.rootElRef.current.offsetHeight&&r.onCoords(new ss(new rL(this.rootElRef.current,(e=this.slatElRefs.currentMap,t=r.slatMetas,t.map(function(t){return e[t.key]})),!1,!0),this.props.dateProfile,n.options.slotDuration))}},t}(r3);function sc(e,t){var 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 sd(e,t){var n=[];if(e){for(var r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var o=0,i=e.segs;o<i.length;o++){var a=i[o];n[a.col].segs.push(a)}}else for(var r=0;r<t;r+=1)n[r]=null;return n}var sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=rq(),t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props;return rB(ar,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:sf,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return sC(t.hiddenSegs,t)}},function(n,r,o,i,a,s,l,u){return rB("a",{ref:function(t){r9(n,t),r9(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(r).join(" "),style:{top:t.top,bottom:t.bottom},onClick:a,title:s,"aria-expanded":l,"aria-controls":u},rB("div",{ref:o,className:"fc-timegrid-more-link-inner fc-sticky"},i))})},t}(r3);function sf(e){return e.shortText}function sh(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,o=e.lateralEnd,i=r,a=[];i<o;)a.push(t(n,i)),i+=1;return a.sort(sv),[a.map(sg),a[0][1]]}function sv(e,t){return t[1]-e[1]}function sg(e){return e[0]}function sm(e,t){var n={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e.apply(void 0,r);return i in n?n[i]:n[i]=t.apply(void 0,r)}}function sy(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var o=[];if(n)for(var i=0;i<e.length;i+=1){var a=e[i],s=n.computeDateTop(a.start,t),l=Math.max(s+(r||0),n.computeDateTop(a.end,t));o.push({start:Math.round(s),end:Math.round(l)})}return o}var sE=t1({hour:"numeric",minute:"2-digit",meridiem:!1}),sS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event",];return this.props.isShort&&e.push("fc-timegrid-event-short"),rB(i1,s({},this.props,{defaultTimeFormat:sE,extraClassNames:e}))},t}(r3),sD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props;return rB(i2,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},function(e,t){return t&&rB("div",{className:"fc-timegrid-col-misc",ref:e},t)})},t}(r3),sb=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=tA(nH),t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options.selectMirror,o=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],i=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},a=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return rB(i9,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},function(n,l,u){return rB("td",s({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(l,t.extraClassNames||[]).join(" ")},u,t.extraDataAttrs),rB("div",{className:"fc-timegrid-col-frame"},rB("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),rB("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(a,i,!1,!1,!1)),rB("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(o,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r))),rB("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),rB(sD,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))})},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this.props;return i.forPrint?sC(e,i):this.renderPositionedFgSegs(e,t,n,r,o)},t.prototype.renderPositionedFgSegs=function(e,t,n,r,o){var i=this,a=this.context.options,l=a.eventMaxStack,u=a.eventShortHeight,c=a.eventOrderStrict,d=a.eventMinHeight,p=this.props,f=p.date,h=p.slatCoords,v=p.eventSelection,g=p.todayRange,m=p.nowDate,y=n||r||o,E=sy(e,f,h,d),S=function e(t,n,r,o){for(var i=[],a=[],l=0;l<t.length;l+=1){var u=n[l];u?i.push({index:l,thickness:1,span:u}):a.push(t[l])}for(var c,d,p,f,h,v,g,m,y,E,S,D,b=1,C=(v=i,g=r,m=o,y=new oX,null!=g&&(y.strictOrder=g),null!=m&&(y.maxStackCnt=m),E=y.addSegs(v),S=o4(E),{segRects:function e(t){var n=[],r=sm(function(e,t,n){return o1(e)},function(e,t,r){var i=s(s({},e),{levelCoord:t,stackDepth:r,stackForward:0});return n.push(i),i.stackForward=o(e.nextLevelNodes,t+e.thickness,r+1)+1});function o(e,t,n){for(var o=0,i=0,a=e;i<a.length;i++)o=Math.max(r(a[i],t,n),o);return o}return o(t,0,0),n}(D=(f=D=(c=y,d=c.entriesByLevel,p=sm(function(e,t){return e+":"+t},function(e,t){var n=function e(t,n,r){for(var o=t.levelCoords,i=t.entriesByLevel,a=i[n][r],s=o[n]+a.thickness,l=o.length,u=n;u<l&&o[u]<s;u+=1);for(;u<l;u+=1){for(var c=i[u],d=void 0,p=o5(c,a.span.start,o0),f=p[0]+p[1],h=f;(d=c[h])&&d.span.start<a.span.end;)h+=1;if(f<h)return{level:u,lateralStart:f,lateralEnd:h}}return null}(c,e,t),r=sh(n,p),o=d[e][t];return[s(s({},o),{nextLevelNodes:r[0]}),o.thickness+r[1]]}),sh(d.length?{level:0,lateralStart:0,lateralEnd:d[0].length}:null,p)[0]),h=sm(function(e,t,n){return o1(e)},function(e,t,n){var r,o=e.nextLevelNodes,i=e.thickness,a=i+n,l=[];if(o.length)for(var u=0,c=o;u<c.length;u++){var d=c[u];if(void 0===r){var p=h(d,t,a);r=p[0],l.push(p[1])}else{var p=h(d,r,0);l.push(p[1])}}else r=1;var f=(r-t)*(i/a);return[r-f,s(s({},e),{thickness:f,nextLevelNodes:l})]}),f.map(function(e){return h(e,0,0)[1]}))),hiddenGroups:S}),$=C.segRects,R=C.hiddenGroups,w=[],T=0,k=$;T<k.length;T++){var x=k[T];w.push({seg:t[x.index],rect:x})}for(var M=0,_=a;M<_.length;M++){var I=_[M];w.push({seg:I,rect:null})}return{segPlacements:w,hiddenGroups:R}}(e,E,c,l),D=S.segPlacements,b=S.hiddenGroups;return rB(rj,null,this.renderHiddenGroups(b,e),D.map(function(e){var a=e.seg,l=e.rect,c=a.eventRange.instance.instanceId,d=y||Boolean(!t[c]&&l),p=s$(l&&l.span),f=!y&&l?i.computeSegHStyle(l):{left:0,right:0},h=Boolean(l)&&l.stackForward>0,E=Boolean(l)&&l.span.end-l.span.start<u;return rB("div",{className:"fc-timegrid-event-harness"+(h?" fc-timegrid-event-harness-inset":""),key:c,style:s(s({visibility:d?"":"hidden"},p),f)},rB(sS,s({seg:a,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:c===v,isShort:E},nV(a,g,m))))}))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,r=n.extraDateSpan,o=n.dateProfile,i=n.todayRange,a=n.nowDate,s=n.eventSelection,l=n.eventDrag,u=n.eventResize;return rB(rj,null,e.map(function(e){var n,c,d=s$(e.span),p=(n=e.entries,c=t,n.map(function(e){return c[e.index]}));return rB(sp,{key:tI(aa(p)),hiddenSegs:p,top:d.top,bottom:d.bottom,extraDateSpan:r,dateProfile:o,todayRange:i,nowDate:a,eventSelection:s,eventDrag:l,eventResize:u})}))},t.prototype.renderFillSegs=function(e,t){var n=this.props,r=this.context,o=sy(e,n.date,n.slatCoords,r.options.eventMinHeight).map(function(r,o){var i=e[o];return rB("div",{key:nF(i.eventRange),className:"fc-timegrid-bg-harness",style:s$(r)},"bg-event"===t?rB(i6,s({seg:i},nV(i,n.todayRange,n.nowDate))):i7(t))});return rB(rj,null,o)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map(function(e,t){return rB(iK,{isAxis:!1,date:r,key:t},function(t,o,i,a){return rB("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(o).join(" "),style:{top:n.computeDateTop(e.start,r)}},a)})}):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,o=r.isRtl,i=r.options.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness;i&&(s=Math.min(1,a+(s-a)*2)),o?(t=1-s,n=a):(t=a,n=1-s);var l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return i&&!e.stackForward&&(l[o?"marginLeft":"marginRight"]=20),l},t}(r3);function sC(e,t){var n=t.todayRange,r=t.nowDate,o=t.eventSelection,i=t.eventDrag,a=t.eventResize,l=(i?i.affectedInstances:null)||(a?a.affectedInstances:null)||{};return rB(rj,null,e.map(function(e){var t=e.eventRange.instance.instanceId;return rB("div",{key:t,style:{visibility:l[t]?"hidden":""}},rB(sS,s({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===o,isShort:!1},nV(e,n,r))))}))}function s$(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}var sR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=tA(sc),t.splitBgEventSegs=tA(sc),t.splitBusinessHourSegs=tA(sc),t.splitNowIndicatorSegs=tA(sc),t.splitDateSelectionSegs=tA(sc),t.splitEventDrag=tA(sd),t.splitEventResize=tA(sd),t.rootElRef=rq(),t.cellElRefs=new iO,t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,o=this.splitFgEventSegs(t.fgEventSegs,r),i=this.splitBgEventSegs(t.bgEventSegs,r),a=this.splitBusinessHourSegs(t.businessHourSegs,r),s=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(t.dateSelectionSegs,r),u=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r);return rB("div",{className:"fc-timegrid-cols",ref:this.rootElRef},rB("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,rB("tbody",{role:"presentation"},rB("tr",{role:"row"},t.axis&&rB("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},rB("div",{className:"fc-timegrid-col-frame"},rB("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&rB(iK,{isAxis:!0,date:t.nowDate},function(e,t,r,o){return rB("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},o)})))),t.cells.map(function(n,r){return rB(sb,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:o[r],bgEventSegs:i[r],businessHourSegs:a[r],nowIndicatorSegs:s[r],dateSelectionSegs:l[r],eventDrag:u[r],eventResize:c[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})})))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e,t,n=this.props;n.onColCoords&&null!==n.clientWidth&&n.onColCoords(new rL(this.rootElRef.current,(e=this.cellElRefs.currentMap,t=n.cells,t.map(function(t){return e[t.key]})),!0,!1))},t}(r3),s8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=tA(sw),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var o=r.computeTimeTop(e.time);(o=Math.ceil(o))&&(o+=1),n(o)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return rB("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},rB(su,{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}),rB(sR,{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}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n=this.context,r=n.dateEnv,o=n.options,i=this.colCoords,a=this.props.dateProfile,l=this.state.slatCoords,u=this.processSlotOptions(this.props.slotDuration,o.snapDuration),c=u.snapDuration,d=u.snapsPerSlot,p=i.leftToIndex(e),f=l.positions.topToIndex(t);if(null!=p&&null!=f){var h=this.props.cells[p],v=l.positions.tops[f],g=l.positions.getHeight(f),m=this.props.cells[p].date,y=tw(a.slotMinTime,tT(c,f*d+Math.floor((t-v)/g*d))),E=r.add(m,y),S=r.add(E,c);return{dateProfile:a,dateSpan:s({range:{start:E,end:S},allDay:!1},h.extraDateSpan),dayEl:i.els[p],rect:{left:i.lefts[p],right:i.rights[p],top:v,bottom:v+g},layer:0}}return null},t}(r7);function sw(e,t){var n=t||e,r=tM(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var sT=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],r=0;r<t.length;r+=1){var o=nR(e,t[r]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:r})}return n},t}(iR),sk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=tA(sx),t.slicer=new sT,t.timeColsRef=rq(),t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,o=t.dayTableModel,i=n.options.nowIndicator,a=this.buildDayRanges(o,r,n.dateEnv);return rB(iE,{unit:i?"minute":"day"},function(l,u){return rB(s8,s({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,a),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:o.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:l,nowIndicatorSegs:i&&e.slicer.sliceNowDate(l,n,a),todayRange:u,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))})},t}(r7);function sx(e,t,n){for(var r=[],o=0,i=e.headerDates;o<i.length;o++){var a=i[o];r.push({start:n.add(a,t.slotMinTime),end:n.add(a,t.slotMaxTime)})}return r}var sM=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15},];function s_(e,t,n,r,o){for(var i=new Date(0),a=e,s=tR(0),l=n||function e(t){var n,r,o;for(n=sM.length-1;n>=0;n-=1)if(r=tR(sM[n]),null!==(o=tM(r,t))&&o>1)return r;return t}(r),u=[];tx(a)<tx(t);){var c=o.add(i,a),d=null!==tM(s,l);u.push({date:c,time:a,key:c.toISOString(),isoTimeStr:tN(c),isLabeled:d}),a=tw(a,r),s=tw(s,r)}return u}var sI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=tA(sP),t.buildSlatMetas=tA(s_),t}return a(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,o=t.dateProfileGenerator,i=this.props,a=i.dateProfile,l=this.buildTimeColsModel(a,o),u=this.allDaySplitter.splitProps(i),c=this.buildSlatMetas(a.slotMinTime,a.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),d=n.dayMinWidth,p=!d,f=n.dayHeaders&&rB(iD,{dates:l.headerDates,dateProfile:a,datesRepDistinctDays:!0,renderIntro:p?this.renderHeadAxis:null}),h=!1!==n.allDaySlot&&function(t){return rB(a5,s({},u.allDay,{dateProfile:a,dayTableModel:l,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:p?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},e.getAllDayMaxEventProps()))},v=function(t){return rB(sk,s({},u.timed,{dayTableModel:l,dateProfile:a,axis:p,slotDuration:n.slotDuration,slatMetas:c,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return d?this.renderHScrollLayout(f,h,v,l.colCnt,d,c,this.state.slatCoords):this.renderSimpleLayout(f,h,v)},t}(si);function sP(e,t){var n=new iC(e.renderRange,t);return new i$(n,!1)}var sN=r6({initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:sI,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),sH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:e_()},t}return a(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,o=e.viewApi,i=this.props,a=i.cellId,l=i.dayDate,u=i.todayRange,c=this.state.textId,d=r$(l,u),p=r.listDayFormat?n.format(l,r.listDayFormat):"",f=r.listDaySideFormat?n.format(l,r.listDaySideFormat):"",h=s({date:n.toDate(l),view:o,textId:c,text:p,sideText:f,navLinkAttrs:rT(this.context,l),sideNavLinkAttrs:rT(this.context,l,"day",!1)},d),v=["fc-list-day"].concat(rR(d,t));return rB(ot,{hookProps:h,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:sO,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},function(e,n,r,o){return rB("tr",{ref:e,className:v.concat(n).join(" "),"data-date":tP(l)},rB("th",{scope:"colgroup",colSpan:3,id:a,"aria-labelledby":c},rB("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:r},o)))})},t}(r3);function sO(e){return rB(rj,null,e.text&&rB("a",s({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&rB("a",s({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var sA=t1({hour:"numeric",minute:"2-digit",meridiem:"short"}),sL=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=e.timeHeaderId,o=e.eventHeaderId,i=e.dateHeaderId,a=t.options.eventTimeFormat||sA;return rB(i0,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){var e,r,o;return e=n,r=t,o=nB(e,r),rB("a",s({},o),e.eventRange.def.title)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},function(e,s,l,u,c){return rB("tr",{className:["fc-list-event",c.event.url?"fc-event-forced-url":""].concat(s).join(" "),ref:e},function e(t,n,r,o,i){var a=r.options;if(!1!==a.displayEventTime){var s=t.eventRange.def,l=t.eventRange.instance,u=!1,c=void 0;return(s.allDay?u=!0:nD(t.eventRange.range)?t.isStart?c=nW(t,n,r,null,null,l.range.start,t.end):t.isEnd?c=nW(t,n,r,null,null,t.start,l.range.end):u=!0:c=nW(t,n,r),u)?rB(ot,{hookProps:{text:r.options.allDayText,view:r.viewApi},classNames:a.allDayClassNames,content:a.allDayContent,defaultContent:sU,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount},function(e,t,n,r){return rB("td",{ref:e,headers:o+" "+i,className:["fc-list-event-time"].concat(t).join(" ")},r)}):rB("td",{className:"fc-list-event-time"},c)}return null}(n,a,t,r,i),rB("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},rB("span",{className:"fc-list-event-dot",style:{borderColor:c.borderColor||c.backgroundColor}})),rB("td",{ref:l,headers:o+" "+i,className:"fc-list-event-title"},u))})},t}(r3);function sU(e){return e.text}var sW=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=tA(sz),t.eventStoreToSegs=tA(t._eventStoreToSegs),t.state={timeHeaderId:e_(),eventHeaderId:e_(),dateHeaderIdRoot:e_()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":"",],o=this.computeDateVars(t.dateProfile),i=o.dayDates,a=o.dayRanges,s=this.eventStoreToSegs(t.eventStore,t.eventUiBases,a);return rB(ou,{viewSpec:n.viewSpec,elRef:this.setRootEl},function(n,o){return rB("div",{ref:n,className:r.concat(o).join(" ")},rB(iH,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},s.length>0?e.renderSegList(s,i):e.renderEmptyMessage()))})},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi;return rB(ot,{hookProps:{text:t.noEventsText,view:n},classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:sV,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},function(e,t,n,r){return rB("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},rB("div",{className:"fc-list-empty-cushion",ref:n},r))})},t.prototype.renderSegList=function(e,t){var n=this.context,r=n.theme,o=n.options,i=this.state,a=i.timeHeaderId,l=i.eventHeaderId,u=i.dateHeaderIdRoot,c=function e(t){var n,r,o=[];for(n=0;n<t.length;n+=1)(o[(r=t[n]).dayIndex]||(o[r.dayIndex]=[])).push(r);return o}(e);return rB(iE,{unit:"day"},function(e,n){for(var i=[],d=0;d<c.length;d+=1){var p=c[d];if(p){var f=tP(t[d]),h=u+"-"+f;i.push(rB(sH,{key:f,cellId:h,dayDate:t[d],todayRange:n})),p=nH(p,o.eventOrder);for(var v=0,g=p;v<g.length;v++){var m=g[v];i.push(rB(sL,s({key:f+":"+m.eventRange.instance.instanceId,seg:m,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:a,eventHeaderId:l,dateHeaderId:h},nV(m,n,e))))}}}return rB("table",{className:"fc-list-table "+r.getClass("table")},rB("thead",null,rB("tr",null,rB("th",{scope:"col",id:a},o.timeHint),rB("th",{scope:"col","aria-hidden":!0}),rB("th",{scope:"col",id:l},o.eventHint))),rB("tbody",null,i))})},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs(nx(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.eventRangeToSegs(i,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,r,o,i=this.context.dateEnv,a=this.context.options.nextDayThreshold,s=e.range,l=e.def.allDay,u=[];for(n=0;n<t.length;n+=1)if((r=nR(s,t[n]))&&(u.push(o={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}),!o.isEnd&&!l&&n+1<t.length&&s.end<i.add(t[n+1].start,a))){o.end=s.end,o.isEnd=!0;break}return u},t}(r7);function sV(e){return e.text}function sz(e){for(var t=tt(e.renderRange.start),n=e.renderRange.end,r=[],o=[];t<n;)r.push(t),o.push({start:t,end:e5(t,1)}),t=e5(t,1);return{dayDates:r,dayRanges:o}}function sF(e){return!1===e?null:t1(e)}var sB=r6({optionRefiners:{listDayFormat:sF,listDaySideFormat:sF,noEventsClassNames:tJ,noEventsContent:tJ,noEventsDidMount:tJ,noEventsWillUnmount:tJ},views:{list:{component:sW,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"}}}}),sG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(rz);sG.prototype.classes={root:"fc-theme-bootstrap",table:"table-bordered",tableCellShaded:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},sG.prototype.baseIconClass="fa",sG.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},sG.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"},sG.prototype.iconOverrideOption="bootstrapFontAwesome",sG.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",sG.prototype.iconOverridePrefix="fa-";var sq=r6({themeClasses:{bootstrap:sG}}),sj=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(rz);sj.prototype.classes={root:"fc-theme-bootstrap5",tableCellShaded:"fc-theme-bootstrap5-shaded",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},sj.prototype.baseIconClass="bi",sj.prototype.iconClasses={close:"bi-x-lg",prev:"bi-chevron-left",next:"bi-chevron-right",prevYear:"bi-chevron-double-left",nextYear:"bi-chevron-double-right"},sj.prototype.rtlIconClasses={prev:"bi-chevron-right",next:"bi-chevron-left",prevYear:"bi-chevron-double-right",nextYear:"bi-chevron-double-left"},sj.prototype.iconOverrideOption="buttonIcons",sj.prototype.iconOverrideCustomButtonOption="icon",sj.prototype.iconOverridePrefix="bi-";var sY=r6({themeClasses:{bootstrap5:sj}}),sZ=r6({eventSourceDefs:[{parseMeta:function(e){var t,n,r=e.googleCalendarId;return(!r&&e.url&&(r=(t=e.url,/^[^/]+@([^/.]+\.)*(google|googlemail|gmail)\.com$/.test(t)?t:(n=/^https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/([^/]*)/.exec(t))||(n=/^https?:\/\/www.google.com\/calendar\/feeds\/([^/]*)/.exec(t))?decodeURIComponent(n[1]):null)),r)?{googleCalendarId:r,googleCalendarApiKey:e.googleCalendarApiKey,googleCalendarApiBase:e.googleCalendarApiBase,extraParams:e.extraParams}:null},fetch:function(e,t,n){var r=e.context,o=r.dateEnv,i=r.options,a=e.eventSource.meta,l=a.googleCalendarApiKey||i.googleCalendarApiKey;if(l){var u,c,d,p,f,h,v,g,m,y=(u=a,c=u.googleCalendarApiBase,c||(c="https://www.googleapis.com/calendar/v3/calendars"),c+"/"+encodeURIComponent(u.googleCalendarId)+"/events"),E=a.extraParams,S="function"==typeof E?E():E,D=(d=e.range,p=l,f=S,h=o,h.canComputeOffset?(g=h.formatIso(d.start),m=h.formatIso(d.end)):(g=e5(d.start,-1).toISOString(),m=e5(d.end,1).toISOString()),v=s(s({},f||{}),{key:p,timeMin:g,timeMax:m,singleEvents:!0,maxResults:9999}),"local"!==h.timeZone&&(v.timeZone=h.timeZone),v);ok("GET",y,D,function(e,r){var o,i;e.error?n({message:"Google Calendar API: "+e.error.message,errors:e.error.errors,xhr:r}):t({rawEvents:(o=e.items,i=D.timeZone,o.map(function(e){var t,n,r,o,a;return t=e,n=i,r=t.htmlLink||null,r&&n&&(r=(o=r,a="ctz="+n,o.replace(/(\?.*?)?(#|$)/,function(e,t,n){return(t?t+"&":"?")+a+n}))),{id:t.id,title:t.summary,start:t.start.dateTime||t.start.date,end:t.end.dateTime||t.end.date,url:r,location:t.location,description:t.description,attachments:t.attachments||[],extendedProps:(t.extendedProperties||{}).shared||{}}})),xhr:r})},function(e,t){n({message:e,xhr:t})})}else n({message:"Specify a googleCalendarApiKey. See http://fullcalendar.io/docs/google_calendar/"})}}],optionRefiners:{googleCalendarApiKey:String},eventSourceRefiners:{googleCalendarApiKey:String,googleCalendarId:String,googleCalendarApiBase:String,extraParams:tJ}});return oN.push(aH,aQ,sN,sB,sq,sY,sZ),e.BASE_OPTION_DEFAULTS=tK,e.BASE_OPTION_REFINERS=t4,e.BaseComponent=r3,e.BgEvent=i6,e.BootstrapTheme=sG,e.Calendar=au,e.CalendarApi=n6,e.CalendarContent=il,e.CalendarDataManager=oL,e.CalendarDataProvider=oZ,e.CalendarRoot=id,e.Component=rF,e.ContentHook=or,e.CustomContentRenderContext=on,e.DateComponent=r7,e.DateEnv=ri,e.DateProfileGenerator=oh,e.DayCellContent=i2,e.DayCellRoot=i9,e.DayGridView=a9,e.DayHeader=iD,e.DaySeriesModel=iC,e.DayTable=a5,e.DayTableModel=i$,e.DayTableSlicer=a2,e.DayTimeCols=sk,e.DayTimeColsSlicer=sT,e.DayTimeColsView=sI,e.DelayedRunner=oH,e.Draggable=aI,e.ElementDragging=oQ,e.ElementScrollController=rW,e.Emitter=rA,e.EventApi=nQ,e.EventRoot=i0,e.EventSourceApi=eD,e.FeaturefulElementDragging=aD,e.Fragment=rj,e.Interaction=o9,e.ListView=sW,e.MoreLinkRoot=ar,e.MountHook=oi,e.NamedTimeZoneImpl=function e(t){this.timeZoneName=t},e.NowIndicatorRoot=iK,e.NowTimer=iE,e.PointerDragging=af,e.PositionCache=rL,e.RefMap=iO,e.RenderHook=ot,e.ScrollController=rU,e.ScrollResponder=r0,e.Scroller=iH,e.SegHierarchy=oX,e.SimpleScrollGrid=iX,e.Slicer=iR,e.Splitter=rb,e.StandardEvent=i1,e.Table=aK,e.TableDateCell=ig,e.TableDowCell=iy,e.TableView=aO,e.Theme=rz,e.ThirdPartyDraggable=aN,e.TimeCols=s8,e.TimeColsSlatsCoords=ss,e.TimeColsView=si,e.ViewApi=n3,e.ViewContextType=r1,e.ViewRoot=ou,e.WeekNumberRoot=iJ,e.WindowScrollController=rV,e.addDays=e5,e.addDurations=tw,e.addMs=e9,e.addWeeks=e2,e.allowContextMenu=eG,e.allowSelection=eF,e.applyMutationToEventStore=n1,e.applyStyle=ew,e.applyStyleProp=eT,e.asCleanDays=function e(t){return t.years||t.months||t.milliseconds?0:t.days},e.asRoughMinutes=function e(t){return tx(t)/6e4},e.asRoughMs=tx,e.asRoughSeconds=function e(t){return tx(t)/1e3},e.binarySearch=o5,e.buildClassNameNormalizer=oa,e.buildDayRanges=sx,e.buildDayTableModel=a7,e.buildEntryKey=o1,e.buildEventApis=re,e.buildEventRangeKey=nF,e.buildHashFromArray=function e(t,n){for(var r={},o=0;o<t.length;o+=1){var i=n(t[o],o);r[i[0]]=i[1]}return r},e.buildIsoString=tI,e.buildNavLinkAttrs=rT,e.buildSegCompareObj=nO,e.buildSegTimeText=nW,e.buildSlatMetas=s_,e.buildTimeColsModel=sP,e.collectFromHash=tS,e.combineEventUis=nc,e.compareByFieldSpec=eY,e.compareByFieldSpecs=ej,e.compareNumbers=e1,e.compareObjs=ty,e.computeEarliestSegStart=aa,e.computeEdges=rI,e.computeFallbackHeaderFormat=ip,e.computeHeightAndMargins=function e(t){var n,r;return t.getBoundingClientRect().height+(n=t,r=window.getComputedStyle(n),parseInt(r.marginTop,10)+parseInt(r.marginBottom,10))},e.computeInnerRect=rP,e.computeRect=rN,e.computeSegDraggable=nA,e.computeSegEndResizable=nU,e.computeSegStartResizable=nL,e.computeShrinkWidth=iA,e.computeSmallestCellWidth=eK,e.computeVisibleDayRange=nS,e.config=oJ,e.constrainPoint=rm,e.createAriaClickAttrs=eO,e.createContext=rY,e.createDuration=tR,e.createElement=rB,e.createEmptyEventStore=nr,e.createEventInstance=tu,e.createEventUi=nu,e.createFormatter=t1,e.createPlugin=r6,e.createPortal=rZ,e.createRef=rq,e.diffDates=nb,e.diffDayAndTime=eQ,e.diffDays=e6,e.diffPoints=rE,e.diffWeeks=e7,e.diffWholeDays=te,e.diffWholeWeeks=eJ,e.disableCursor=eW,e.elementClosest=eC,e.elementMatches=e$,e.enableCursor=eV,e.eventTupleToStore=nt,e.filterEventStoreDefs=ni,e.filterHash=tp,e.findDirectChildren=function e(t,n){for(var r=t instanceof HTMLElement?[t]:t,o=[],i=0;i<r.length;i+=1)for(var a=r[i].children,s=0;s<a.length;s+=1){var l=a[s];(!n||e$(l,n))&&o.push(l)}return o},e.findElements=eR,e.flexibleCompare=eZ,e.flushSync=eE,e.formatDate=function e(t,n){void 0===n&&(n={});var r=rp(n),o=t1(n),i=r.createMarkerMeta(t);return i?r.format(i.marker,o,{forcedTzo:i.forcedTzo}):""},e.formatDayString=tP,e.formatIsoTimeString=tN,e.formatRange=function e(t,n,r){var o=rp("object"==typeof r&&r?r:{}),i=t1(r),a=o.createMarkerMeta(t),s=o.createMarkerMeta(n);return a&&s?o.formatRange(a.marker,s.marker,i,{forcedStartTzo:a.forcedTzo,forcedEndTzo:s.forcedTzo,isEndExclusive:r.isEndExclusive,defaultSeparator:tK.defaultRangeSeparator}):""},e.getAllowYScrolling=iU,e.getCanVGrowWithinCell=rS,e.getClippingParents=rH,e.getDateMeta=r$,e.getDayClassNames=rR,e.getDefaultEventEnd=n0,e.getElRoot=ex,e.getElSeg=nI,e.getEntrySpanEnd=o0,e.getEventClassNames=nz,e.getEventTargetViaRoot=ek,e.getIsRtlScrollbarOnLeft=rx,e.getRectCenter=ry,e.getRelevantEvents=nn,e.getScrollGridClassNames=iG,e.getScrollbarWidths=rM,e.getSectionClassNames=iq,e.getSectionHasLiquidHeight=iL,e.getSegAnchorAttrs=nB,e.getSegMeta=nV,e.getSlotClassNames=function e(t,n){var r=["fc-slot","fc-slot-"+e3[t.dow],];return t.isDisabled?r.push("fc-slot-disabled"):(t.isToday&&(r.push("fc-slot-today"),r.push(n.getClass("today"))),t.isPast&&r.push("fc-slot-past"),t.isFuture&&r.push("fc-slot-future")),r},e.getStickyFooterScrollbar=iZ,e.getStickyHeaderDates=iY,e.getUnequalProps=tm,e.getUniqueDomId=e_,e.globalLocales=ra,e.globalPlugins=oN,e.greatestDurationDenominator=t_,e.groupIntersectingEntries=o4,e.guid=eU,e.hasBgRendering=nM,e.hasShrinkWidth=iB,e.identity=tJ,e.interactionSettingsStore=o6,e.interactionSettingsToStore=o7,e.intersectRanges=nR,e.intersectRects=rg,e.intersectSpans=o3,e.isArraysEqual=tO,e.isColPropsEqual=iV,e.isDateSelectionValid=iT,e.isDateSpansEqual=nq,e.isInt=e4,e.isInteractionValid=iw,e.isMultiDayRange=nD,e.isPropsEqual=tg,e.isPropsValid=ix,e.isValidDate=ts,e.joinSpans=oK,e.listenBySelector=eP,e.mapHash=tf,e.memoize=tA,e.memoizeArraylike=function e(t,n,r){var o=this,i=[],a=[];return function(e){for(var s=i.length,l=e.length,u=0;u<s;u+=1)if(e[u]){if(!tO(i[u],e[u])){r&&r(a[u]);var c=t.apply(o,e[u]);n&&n(c,a[u])||(a[u]=c)}}else r&&r(a[u]);for(;u<l;u+=1)a[u]=t.apply(o,e[u]);return i=e,a.splice(l),a}},e.memoizeHashlike=function e(t,n,r){var o=this,i={},a={};return function(e){var s={};for(var l in e)if(a[l]){if(tO(i[l],e[l]))s[l]=a[l];else{r&&r(a[l]);var u=t.apply(o,e[l]);s[l]=n&&n(u,a[l])?a[l]:u}}else s[l]=t.apply(o,e[l]);return i=e,a=s,s}},e.memoizeObjArg=tL,e.mergeEventStores=no,e.multiplyDuration=tT,e.padStart=eX,e.parseBusinessHours=rh,e.parseClassNames=na,e.parseDragMeta=it,e.parseEventDef=ny,e.parseFieldSpecs=eq,e.parseMarker=ro,e.pointInsideRect=rv,e.preventContextMenu=eB,e.preventDefault=eI,e.preventSelection=ez,e.rangeContainsMarker=nk,e.rangeContainsRange=nT,e.rangesEqual=n8,e.rangesIntersect=nw,e.refineEventDef=ng,e.refineProps=tQ,e.removeElement=eb,e.removeExact=function e(t,n){for(var r=0,o=0;o<t.length;)t[o]===n?(t.splice(o,1),r+=1):o+=1;return r},e.render=rG,e.renderChunkContent=iW,e.renderFill=i7,e.renderMicroColGroup=iz,e.renderScrollShim=ij,e.requestJson=ok,e.sanitizeShrinkWidth=iF,e.setElSeg=n_,e.setRef=r9,e.sliceEventStore=nx,e.sliceEvents=function e(t,n){return nx(t.eventStore,t.eventUiBases,t.dateProfile.activeRange,n?t.nextDayThreshold:null).fg},e.sortEventSegs=nH,e.startOfDay=tt,e.translateRect=function e(t,n,r){return{left:t.left+n,right:t.right+n,top:t.top+r,bottom:t.bottom+r}},e.triggerDateSelect=nZ,e.unmountComponentAtNode=rX,e.unpromisify=rO,e.version="5.11.3",e.whenTransitionDone=eH,e.wholeDivideDurations=tM,Object.defineProperty(e,"__esModule",{value:!0}),e}({});[].push.apply(FullCalendar.globalLocales,function(){"use strict";function e(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}function t(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}return[{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:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",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",month:"Ay",week:"Həftə",day:"Gün",list:"Gündəm"},weekText:"Həftə",allDayText:"Bütün Gün",moreLinkText:function(e){return"+ daha çox "+e},noEventsText:"Göstərmək üçün hadisə yoxdur"},{code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напред",today:"днес",month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",moreLinkText:function(e){return"+още "+e},noEventsText:"Няма събития за показване"},{code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পেছনে",next:"সামনে",today:"আজ",month:"মাস",week:"সপ্তাহ",day:"দিন",list:"তালিকা"},weekText:"সপ্তাহ",allDayText:"সারাদিন",moreLinkText:function(e){return"+অন্যান্য "+e},noEventsText:"কোনো ইভেন্ট নেই"},{code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Prošli",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikazivanje"},{code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",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í",month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText:function(e){return"+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",month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"},{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:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(t){return"Vorherige".concat(e(t)," ").concat(t)},next:function(t){return"Nächste".concat(e(t)," ").concat(t)},today:function(t){return"Tag"===t?"Heute":"Diese".concat(e(t)," ").concat(t)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{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:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(e){return"Vorherige".concat(t(e)," ").concat(e)},next:function(e){return"Nächste".concat(t(e)," ").concat(e)},today:function(e){return"Tag"===e?"Heute":"Diese".concat(t(e)," ").concat(e)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{code:"el",week:{dow:1,doy:4},buttonText:{prev:"Προηγούμενος",next:"Επόμενος",today:"Σήμερα",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:function(e){return"Show ".concat(e," more event").concat(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:function(e){return"Show ".concat(e," more event").concat(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:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},{code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",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",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",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:function(e){return"Día"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint:function(e){return"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint:function(e){return"Mostrar ".concat(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",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText:function(e){return"+ veel "+e},noEventsText:"Kuvamiseks puuduvad sündmused"},{code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",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:"امروز",month:"ماه",week:"هفته",day:"روز",list:"برنامه"},weekText:"هف",allDayText:"تمام روز",moreLinkText:function(e){return"بیش از "+e},noEventsText:"هیچ رویدادی به نمایش"},{code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",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.",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",month:"Mes",week:"Semana",day:"Día",list:"Axenda"},weekText:"Sm",allDayText:"Todo o día",moreLinkText:"máis",noEventsText:"Non hai eventos para amosar"},{code:"he",direction:"rtl",buttonText:{prev:"הקודם",next:"הבא",today:"היום",month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",moreLinkText:"אחר",noEventsText:"אין אירועים להצגה",weekText:"שבוע"},{code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिछला",next:"अगला",today:"आज",month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},weekText:"हफ्ता",allDayText:"सभी दिन",moreLinkText:function(e){return"+अधिक "+e},noEventsText:"कोई घटनाओं को प्रदर्शित करने के लिए"},{code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prijašnji",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikaz"},{code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"előre",today:"ma",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:"Այսօր",month:"Ամիս",week:"Շաբաթ",day:"Օր",list:"Օրվա ցուցակ"},weekText:"Շաբ",allDayText:"Ամբողջ օր",moreLinkText:function(e){return"+ ևս "+e},noEventsText:"Բացակայում է իրադարձությունը ցուցադրելու"},{code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",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",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",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText:function(e){return"+altri "+e},noEventsText:"Non ci sono eventi da visualizzare"},{code:"ja",buttonText:{prev:"前",next:"次",today:"今日",month:"月",week:"週",day:"日",list:"予定リスト"},weekText:"週",allDayText:"終日",moreLinkText:function(e){return"他 "+e+" 件"},noEventsText:"表示する予定はありません"},{code:"ka",week:{dow:1,doy:7},buttonText:{prev:"წინა",next:"შემდეგი",today:"დღეს",month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},weekText:"კვ",allDayText:"მთელი დღე",moreLinkText:function(e){return"+ კიდევ "+e},noEventsText:"ღონისძიებები არ არის"},{code:"kk",week:{dow:1,doy:7},buttonText:{prev:"Алдыңғы",next:"Келесі",today:"Бүгін",month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},weekText:"Не",allDayText:"Күні бойы",moreLinkText:function(e){return"+ тағы "+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:"오늘",month:"월",week:"주",day:"일",list:"일정목록"},weekText:"주",allDayText:"종일",moreLinkText:"개",noEventsText:"일정이 없습니다"},{code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"پێشتر",next:"دواتر",today:"ئەمڕو",month:"مانگ",week:"هەفتە",day:"ڕۆژ",list:"بەرنامە"},weekText:"هەفتە",allDayText:"هەموو ڕۆژەکە",moreLinkText:"زیاتر",noEventsText:"هیچ ڕووداوێك نیە"},{code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",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",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",month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:function(e){return"+vēl "+e},noEventsText:"Nav notikumu"},{code:"mk",buttonText:{prev:"претходно",next:"следно",today:"Денес",month:"Месец",week:"Недела",day:"Ден",list:"График"},weekText:"Сед",allDayText:"Цел ден",moreLinkText:function(e){return"+повеќе "+e},noEventsText:"Нема настани за прикажување"},{code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText:function(e){return"masih ada "+e+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},{code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",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:function(e){return"Vis ".concat(e," flere hendelse").concat(1===e?"":"r")}},{code:"ne",week:{dow:7,doy:1},buttonText:{prev:"अघिल्लो",next:"अर्को",today:"आज",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",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ś",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",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},weekText:"Sm",allDayText:"dia inteiro",moreLinkText:function(e){return"mais +"+e},noEventsText:"Não há eventos para mostrar"},{code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",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",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},weekText:"Săpt",allDayText:"Toată ziua",moreLinkText:function(e){return"+alte "+e},noEventsText:"Nu există evenimente de afișat"},{code:"ru",week:{dow:1,doy:4},buttonText:{prev:"Пред",next:"След",today:"Сегодня",month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},weekText:"Нед",allDayText:"Весь день",moreLinkText:function(e){return"+ ещё "+e},noEventsText:"Нет событий для отображения"},{code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"පෙර",next:"පසු",today:"අද",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",month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deň",moreLinkText:function(e){return"+ďalšie: "+e},noEventsText:"Žiadne akcie na zobrazenie"},{code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prejšnji",next:"Naslednji",today:"Trenutni",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",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",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText:function(e){return"+më tepër "+e},noEventsText:"Nuk ka evente për të shfaqur"},{code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"Претходна",next:"следећи",today:"Данас",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},weekText:"Сед",allDayText:"Цео дан",moreLinkText:function(e){return"+ још "+e},noEventsText:"Нема догађаја за приказ"},{code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledeći",today:"Danas",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText:function(e){return"+ 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",month:"Månad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:function(e){return"Föregående ".concat(e.toLocaleLowerCase())},next:function(e){return"Nästa ".concat(e.toLocaleLowerCase())},today:function(e){return("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"Gå till $0",moreLinkHint:function(e){return"Visa ytterligare ".concat(e," händelse").concat(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:"இன்று",month:"மாதம்",week:"வாரம்",day:"நாள்",list:"தினசரி அட்டவணை"},weekText:"வாரம்",allDayText:"நாள் முழுவதும்",moreLinkText:function(e){return"+ மேலும் "+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",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:{month:"ئاي",week:"ھەپتە",day:"كۈن",list:"كۈنتەرتىپ"},allDayText:"پۈتۈن كۈن"},{code:"uk",week:{dow:1,doy:7},buttonText:{prev:"Попередній",next:"далі",today:"Сьогодні",month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},weekText:"Тиж",allDayText:"Увесь день",moreLinkText:function(e){return"+ще "+e+"..."},noEventsText:"Немає подій для відображення"},{code:"uz",buttonText:{month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:function(e){return"+ 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",month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},weekText:"Tu",allDayText:"Cả ngày",moreLinkText:function(e){return"+ 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:"今天",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText:function(e){return"另外 "+e+" 个"},noEventsText:"没有事件显示"},{code:"zh-tw",buttonText:{prev:"上月",next:"下月",today:"今天",month:"月",week:"週",day:"天",list:"活動列表"},weekText:"周",allDayText:"整天",moreLinkText:"顯示更多",noEventsText:"没有任何活動"}]}());!function(a){a.fn.fancyTable=function(e){var t=a.extend({inputStyle:"",inputPlaceholder:"Search...",pagination:!1,paginationClass:"eael-ec-pagination-btn",paginationClassActive:"active",pagClosest:3,perPage:10,sortable:!0,searchable:!0,matchCase:!1,exactMatch:!1,localeCompare:!1,searchInput:".ea-ec-search-wrap",paginationElement:".eael-event-calendar-pagination",onInit:function(){},beforeUpdate:function(){},onUpdate:function(){},sortFunction:function(e,n,r,s,i){return e==n&&s&&i?r.rowSortOrder[a(s).data("rowid")]>r.rowSortOrder[a(i).data("rowid")]:"numeric"==r.sortAs[r.sortColumn]?r.sortOrder>0?(parseFloat(e)||0)-(parseFloat(n)||0):(parseFloat(n)||0)-(parseFloat(e)||0):t.localeCompare?0>e.localeCompare(n)?-r.sortOrder:e.localeCompare(n)>0?r.sortOrder:0:e<n?-r.sortOrder:e>n?r.sortOrder:0},testing:!1},e),n=this;return this.settings=t,this.tableUpdate=function(e){if(t.beforeUpdate.call(this,e),e.fancyTable.matches=0,a(e).find("tbody tr").each(function(){var r=0,s=!0,i=!1;a(this).find("td").each(function(){t.globalSearch||!e.fancyTable.searchArr[r]||n.isSearchMatch(a(this).html(),e.fancyTable.searchArr[r])?t.globalSearch&&(!e.fancyTable.search||n.isSearchMatch(a(this).html(),e.fancyTable.search))&&(!Array.isArray(t.globalSearchExcludeColumns)||!t.globalSearchExcludeColumns.includes(r+1))&&(i=!0):s=!1,r++}),t.globalSearch&&i||!t.globalSearch&&s?(e.fancyTable.matches++,!t.pagination||e.fancyTable.matches>e.fancyTable.perPage*(e.fancyTable.page-1)&&e.fancyTable.matches<=e.fancyTable.perPage*e.fancyTable.page?a(this).show():a(this).hide()):a(this).hide()}),e.fancyTable.pages=Math.ceil(e.fancyTable.matches/e.fancyTable.perPage),t.pagination){var r=t.paginationElement;if(r.empty(),e.fancyTable.pages>1){for(var s=1;s<=e.fancyTable.pages;s++)if(1==s||s>e.fancyTable.page-(t.pagClosest+1)&&s<e.fancyTable.page+(t.pagClosest+1)||s==e.fancyTable.pages){var i=a("<a>",{html:s,"data-n":s,class:t.paginationClass+" "+(s==e.fancyTable.page?t.paginationClassActive:"")}).bind("click",function(){e.fancyTable.page=a(this).data("n"),n.tableUpdate(e)});s==e.fancyTable.pages&&e.fancyTable.page<e.fancyTable.pages-t.pagClosest-1&&r.append(a("<span>...</span>")),r.append(i),1==s&&e.fancyTable.page>t.pagClosest+2&&r.append(a("<span>...</span>"))}}}t.onUpdate.call(this,e)},this.isSearchMatch=function(a,e){if(t.matchCase||(a=a.toUpperCase(),e=e.toUpperCase()),"auto"==t.exactMatch&&e.match(/^".*?"$/))return a==(e=e.substring(1,e.length-1));if("auto"==t.exactMatch&&e.replace(/\s+/g,"").match(/^[<>]=?/)){var n=e.replace(/\s+/g,"").match(/^[<>]=?/)[0],r=e.replace(/\s+/g,"").substring(n.length);return">"==n&&1*a>1*r||"<"==n&&1*a<1*r||">="==n&&1*a>=1*r||"<="==n&&1*a<=1*r}if("auto"==t.exactMatch&&e.replace(/\s+/g,"").match(/^.+(\.\.|-).+$/)){var s=e.replace(/\s+/g,"").split(/\.\.|-/);return 1*a>=1*s[0]&&1*a<=1*s[1]}try{return!0===t.exactMatch?a==e:RegExp(e).test(a)}catch{return!1}},this.reinit=function(){a(this).each(function(){a(this).find("th a").contents().unwrap()}),a(this).fancyTable(this.settings)},this.tableSort=function(e){if(void 0!==e.fancyTable.sortColumn&&e.fancyTable.sortColumn<e.fancyTable.nColumns){var n=0;a(e).find("thead th").each(function(){a(this).attr("aria-sort",n==e.fancyTable.sortColumn?1==e.fancyTable.sortOrder?"ascending":-1==e.fancyTable.sortOrder?"descending":"other":null),n++}),a(e).find("thead th div.sortArrow").each(function(){a(this).remove()});var r=a("<div>",{class:"sortArrow"}).css({margin:"0.1em",display:"inline-block",width:0,height:0,"border-left":"0.4em solid transparent","border-right":"0.4em solid transparent"});r.css(e.fancyTable.sortOrder>0?{"border-top":"0.4em solid #000"}:{"border-bottom":"0.4em solid #000"}),a(e).find("thead th a").eq(e.fancyTable.sortColumn).append(r);var s=a(e).find("tbody tr").toArray().sort(function(n,r){var s=a(n).find("td").eq(e.fancyTable.sortColumn),i=a(r).find("td").eq(e.fancyTable.sortColumn),o=a(s).attr("data-sortvalue")?a(s).data("sortvalue"):s.html(),l=a(i).attr("data-sortvalue")?a(i).data("sortvalue"):i.html();return"case-insensitive"==e.fancyTable.sortAs[e.fancyTable.sortColumn]&&(o=o.toLowerCase(),l=l.toLowerCase()),t.sortFunction.call(this,o,l,e.fancyTable,n,r)});a(s).each(function(t){e.fancyTable.rowSortOrder[a(this).data("rowid")]=t}),a(e).find("tbody").empty().append(s)}},this.each(function(){if("TABLE"!==a(this).prop("tagName"))return console.warn("fancyTable: Element is not a table."),!0;var e=this;if(e.fancyTable={nColumns:a(e).find("td").first().parent().find("td").length,nRows:a(this).find("tbody tr").length,perPage:t.perPage,page:1,pages:0,matches:0,searchArr:[],search:"",sortColumn:t.sortColumn,sortOrder:void 0===t.sortOrder?1:/desc/i.test(t.sortOrder)||-1==t.sortOrder?-1:1,sortAs:[],paginationElement:t.paginationElement},e.fancyTable.rowSortOrder=Array(e.fancyTable.nRows),0==a(e).find("tbody").length){var r=a(e).html();a(e).empty(),a(e).append("<tbody>").append(a(r))}if(0==a(e).find("thead").length&&a(e).prepend(a("<thead>")),a(e).find("tbody tr").each(function(e){a(this).data("rowid",e)}),t.sortable){var s=0;a(e).find("thead th").each(function(){e.fancyTable.sortAs.push("numeric"==a(this).data("sortas")?"numeric":"case-insensitive"==a(this).data("sortas")?"case-insensitive":null);var t=a(this).html(),r=a("<a>",{href:"#","aria-label":"Sort by "+a(this).text(),html:t,"data-n":s,class:""}).bind("click",function(){return e.fancyTable.sortColumn==a(this).data("n")?e.fancyTable.sortOrder=-e.fancyTable.sortOrder:e.fancyTable.sortOrder=1,e.fancyTable.sortColumn=a(this).data("n"),n.tableSort(e),n.tableUpdate(e),!1});a(this).empty(),a(this).append(r),s++})}t.searchable&&(t.searchInput,t.globalSearch&&a("input").bind("change paste keyup",function(){e.fancyTable.search=a(this).val(),e.fancyTable.page=1,n.tableUpdate(e)})),n.tableSort(e),t.pagination&&!t.paginationElement&&t.paginationElement.html(""),n.tableUpdate(e),t.onInit.call(this,e)}),this}}(jQuery);!function(){"use strict";function e(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i,this.options=e.Adapter.extend({},e.defaults,t),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,i+=1}var i=0,r={};e.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},e.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(t){var e=[];for(var i in r)e.push(r[i]);for(var o=0,n=e.length;o<n;o++)e[o][t]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){for(var t in e.Context.refreshAll(),r)r[t].enabled=!0;return this},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}function i(t){this.element=t,this.Adapter=y.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+o,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,o+=1,y.windowContext||(y.windowContext=!0,y.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var o=0,n={},y=window.Waypoint,t=window.onload;i.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},i.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},i.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,y.requestAnimationFrame(t))})},i.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!y.isTouch||(e.didScroll=!0,y.requestAnimationFrame(t))})},i.prototype.handleResize=function(){y.Context.refreshAll()},i.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},i.prototype.innerHeight=function(){return this.element==this.element.window?y.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?y.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},i.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var n in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[n];for(var s in this.waypoints[n]){var a,l,h,p,c=this.waypoints[n][s],u=c.options.offset,d=c.triggerPoint,f=0,w=null==d;c.element!==c.element.window&&(f=c.adapter.offset()[r.offsetProp]),"function"==typeof u?u=u.apply(c):"string"==typeof u&&(u=parseFloat(u),-1<c.options.offset.indexOf("%")&&(u=Math.ceil(r.contextDimension*u/100))),a=r.contextScroll-r.contextOffset,c.triggerPoint=Math.floor(f+a-u),l=d<r.oldScroll,h=c.triggerPoint>=r.oldScroll,p=!l&&!h,!w&&(l&&h)?(c.queueTrigger(r.backward),o[c.group.id]=c.group):(!w&&p||w&&r.oldScroll>=c.triggerPoint)&&(c.queueTrigger(r.forward),o[c.group.id]=c.group)}}return y.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},i.findOrCreateByElement=function(t){return i.findByElement(t)||new i(t)},i.refreshAll=function(){for(var t in n)n[t].refresh()},i.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){t&&t(),i.refreshAll()},y.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},y.Context=i}(),function(){"use strict";function s(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},e.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t],i="up"===t||"left"===t;e.sort(i?a:s);for(var o=0,n=e.length;o<n;o+=1){var r=e[o];!r.options.continuous&&o!==e.length-1||r.trigger([t])}}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(s);var e=o.Adapter.inArray(t,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},e.prototype.previous=function(t){this.waypoints.sort(s);var e=o.Adapter.inArray(t,this.waypoints);return e?this.waypoints[e-1]:null},e.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},e.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);-1<e&&this.waypoints.splice(e,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(t){return i[t.axis][t.name]||new e(t)},o.Group=e}(),function(){"use strict";function i(t){this.$element=o(t)}var o=window.jQuery,t=window.Waypoint;o.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),o.each(["extend","inArray","isEmptyObject"],function(t,e){i[e]=o[e]}),t.adapters.push({name:"jquery",Adapter:i}),t.Adapter=i}(),function(){"use strict";function t(o){return function(){var e=[],i=arguments[0];return o.isFunction(arguments[0])&&((i=o.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=o.extend({},i,{element:this});"string"==typeof t.context&&(t.context=o(this).closest(t.context)[0]),e.push(new n(t))}),e}}var n=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();class PolygonMorphingAnimation{constructor(t,i={}){this.defaults={duration:4,easing:"power2.inOut",loop:!0,autoStart:!0,scale:{min:1,max:1},rotation:!1,rotationSpeed:360,polygonShapes:["polygon(25% 35%, 75% 25%, 85% 75%, 15% 85%)","polygon(35% 15%, 85% 35%, 75% 85%, 25% 75%)","polygon(15% 25%, 65% 15%, 95% 65%, 45% 95%)","polygon(45% 35%, 95% 45%, 85% 95%, 35% 85%)"]},this.options={...this.defaults,...i},this.selector=t,this.$element=null,this.element=null,this.timeline=null,this.isActive=!1,this.init()}init(){try{if("undefined"==typeof jQuery)return;if("string"==typeof this.selector){if(this.$element=jQuery(this.selector),0===this.$element.length)return;this.element=this.$element[0]}else if(this.selector instanceof jQuery){if(this.$element=this.selector,0===this.$element.length)return;this.element=this.$element[0]}else{if(!(this.selector instanceof HTMLElement))return;this.element=this.selector,this.$element=jQuery(this.element)}if("undefined"==typeof gsap)return;this.applyClipPath(this.options.polygonShapes[0]),this.options.autoStart&&this.start()}catch(t){}}applyClipPath(t){this.$element&&this.$element.css({"clip-path":t,"-webkit-clip-path":t})}start(){!this.isActive&&(this.isActive=!0,this.timeline=gsap.timeline({repeat:this.options.loop?-1:0,yoyo:this.options.loop,ease:this.options.easing}),this.addMorphingAnimation(),(1!==this.options.scale.min||1!==this.options.scale.max)&&this.addScalingAnimation(),this.options.rotation&&this.addRotationAnimation())}addMorphingAnimation(){let t=this.options.polygonShapes,i=this.options.duration/t.length;t.forEach(t=>{this.timeline.to(this.element,{duration:i,clipPath:t,ease:this.options.easing})})}addScalingAnimation(){let t=gsap.timeline({repeat:-1,yoyo:!0});t.to(this.element,{duration:.5*this.options.duration,scale:this.options.scale.max,ease:"power2.inOut",transformOrigin:"center center"}).to(this.element,{duration:.5*this.options.duration,scale:this.options.scale.min,ease:"power2.inOut",transformOrigin:"center center"})}addRotationAnimation(){gsap.to(this.element,{duration:2*this.options.duration,rotation:this.options.rotationSpeed,repeat:-1,ease:"none",transformOrigin:"center center"})}stop(){this.timeline&&(this.timeline.kill(),this.timeline=null),this.isActive=!1}destroy(){this.stop(),this.$element&&this.$element.css({"clip-path":"","-webkit-clip-path":"",transform:""}),this.$element=null,this.element=null,this.timeline=null,this.isActive=!1}updateOptions(t){this.options={...this.options,...t},this.isActive&&(this.stop(),this.start())}getState(){return{isActive:this.isActive,options:this.options,element:this.element,$element:this.$element}}static getPresetShapes(){return["polygon(25% 35%, 75% 25%, 85% 75%, 15% 85%)","polygon(35% 15%, 85% 35%, 75% 85%, 25% 75%)","polygon(15% 25%, 65% 15%, 95% 65%, 45% 95%)","polygon(45% 35%, 95% 45%, 85% 95%, 35% 85%)"]}}"undefined"!=typeof module&&module.exports&&(module.exports=PolygonMorphingAnimation),"undefined"!=typeof window&&(window.PolygonMorphingAnimation=PolygonMorphingAnimation);/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=R(Array.prototype.forEach),m=R(Array.prototype.lastIndexOf),p=R(Array.prototype.pop),f=R(Array.prototype.push),d=R(Array.prototype.splice),h=R(String.prototype.toLowerCase),g=R(String.prototype.toString),T=R(String.prototype.match),y=R(String.prototype.replace),E=R(String.prototype.indexOf),A=R(String.prototype.trim),_=R(Object.prototype.hasOwnProperty),S=R(RegExp.prototype.test),b=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function w(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function O(e){for(let t=0;t<e.length;t++){_(e,t)||(e[t]=null)}return e}function D(t){const n=l(null);for(const[o,r]of e(t)){_(t,o)&&(Array.isArray(r)?n[o]=O(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=D(r):n[o]=r)}return n}function v(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),x=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=i(["#text"]),z=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=a(/<%[\w\W]*|[\w\W]*%>/gm),G=a(/\$\{[\w\W]*/gm),Y=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),j=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:V,DATA_ATTR:Y,DOCTYPE_NAME:K,ERB_EXPR:W,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:B,TMPLIT_EXPR:G});const J=1,Q=3,ee=7,te=8,ne=9,oe=function(){return"undefined"==typeof window?null:window};var re=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe();const o=e=>t(e);if(o.version="3.2.6",o.removed=[],!n||!n.document||n.document.nodeType!==ne||!n.Element)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:R,Element:O,NodeFilter:B,NamedNodeMap:W=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:G,DOMParser:Y,trustedTypes:j}=n,q=O.prototype,$=v(q,"cloneNode"),V=v(q,"remove"),re=v(q,"nextSibling"),ie=v(q,"childNodes"),ae=v(q,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let le,ce="";const{implementation:se,createNodeIterator:ue,createDocumentFragment:me,getElementsByTagName:pe}=r,{importNode:fe}=a;let de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof e&&"function"==typeof ae&&se&&void 0!==se.createHTMLDocument;const{MUSTACHE_EXPR:he,ERB_EXPR:ge,TMPLIT_EXPR:Te,DATA_ATTR:ye,ARIA_ATTR:Ee,IS_SCRIPT_OR_DATA:Ae,ATTR_WHITESPACE:_e,CUSTOM_ELEMENT:Se}=Z;let{IS_ALLOWED_URI:be}=Z,Ne=null;const Re=w({},[...L,...C,...x,...M,...U]);let we=null;const Oe=w({},[...z,...P,...H,...F]);let De=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,Le=null,Ce=!0,xe=!0,Ie=!1,Me=!0,ke=!1,Ue=!0,ze=!1,Pe=!1,He=!1,Fe=!1,Be=!1,We=!1,Ge=!0,Ye=!1,je=!0,Xe=!1,qe={},$e=null;const Ke=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const Ze=w({},["audio","video","img","source","image","track"]);let Je=null;const Qe=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let ot=nt,rt=!1,it=null;const at=w({},[et,tt,nt],g);let lt=w({},["mi","mo","mn","ms","mtext"]),ct=w({},["annotation-xml"]);const st=w({},["title","style","font","a","script"]);let ut=null;const mt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const dt=r.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=D(e),ut=-1===mt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===ut?g:h,Ne=_(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,pt):Re,we=_(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,pt):Oe,it=_(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,g):at,Je=_(e,"ADD_URI_SAFE_ATTR")?w(D(Qe),e.ADD_URI_SAFE_ATTR,pt):Qe,Ve=_(e,"ADD_DATA_URI_TAGS")?w(D(Ze),e.ADD_DATA_URI_TAGS,pt):Ze,$e=_(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,pt):Ke,ve=_(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,pt):D({}),Le=_(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,pt):D({}),qe=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ue=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,We=e.RETURN_TRUSTED_TYPE||!1,He=e.FORCE_BODY||!1,Ge=!1!==e.SANITIZE_DOM,Ye=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Xe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||X,ot=e.NAMESPACE||nt,lt=e.MATHML_TEXT_INTEGRATION_POINTS||lt,ct=e.HTML_INTEGRATION_POINTS||ct,De=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(De.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(De.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(De.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(xe=!1),Be&&(Fe=!0),qe&&(Ne=w({},U),we=[],!0===qe.html&&(w(Ne,L),w(we,z)),!0===qe.svg&&(w(Ne,C),w(we,P),w(we,F)),!0===qe.svgFilters&&(w(Ne,x),w(we,P),w(we,F)),!0===qe.mathMl&&(w(Ne,M),w(we,H),w(we,F))),e.ADD_TAGS&&(Ne===Re&&(Ne=D(Ne)),w(Ne,e.ADD_TAGS,pt)),e.ADD_ATTR&&(we===Oe&&(we=D(we)),w(we,e.ADD_ATTR,pt)),e.ADD_URI_SAFE_ATTR&&w(Je,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=D($e)),w($e,e.FORBID_CONTENTS,pt)),je&&(Ne["#text"]=!0),ze&&w(Ne,["html","head","body"]),Ne.table&&(w(Ne,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');le=e.TRUSTED_TYPES_POLICY,ce=le.createHTML("")}else void 0===le&&(le=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,c)),null!==le&&"string"==typeof ce&&(ce=le.createHTML(""));i&&i(e),ft=e}},Tt=w({},[...C,...x,...I]),yt=w({},[...M,...k]),Et=function(e){f(o.removed,{element:e});try{ae(e).removeChild(e)}catch(t){V(e)}},At=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Fe||Be)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},_t=function(e){let t=null,n=null;if(He)e="<remove></remove>"+e;else{const t=T(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ut&&ot===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=le?le.createHTML(e):e;if(ot===nt)try{t=(new Y).parseFromString(o,ut)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?ce:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ot===nt?pe.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},St=function(e){return ue.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},bt=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof R&&e instanceof R};function Rt(e,t,n){u(e,(e=>{e.call(o,t,n,ft)}))}const wt=function(e){let t=null;if(Rt(de.beforeSanitizeElements,e,null),bt(e))return Et(e),!0;const n=pt(e.nodeName);if(Rt(de.uponSanitizeElement,e,{tagName:n,allowedTags:Ne}),Ue&&e.hasChildNodes()&&!Nt(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent))return Et(e),!0;if(e.nodeType===ee)return Et(e),!0;if(Ue&&e.nodeType===te&&S(/<[/\w]/g,e.data))return Et(e),!0;if(!Ne[n]||ve[n]){if(!ve[n]&&Dt(n)){if(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n))return!1;if(De.tagNameCheck instanceof Function&&De.tagNameCheck(n))return!1}if(je&&!$e[n]){const t=ae(e)||e.parentNode,n=ie(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=$(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,re(e))}}}return Et(e),!0}return e instanceof O&&!function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=h(e.tagName),o=h(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===o||lt[o]):Boolean(Tt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&ct[o]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!ct[o])&&!(t.namespaceURI===et&&!lt[o])&&!yt[n]&&(st[n]||!Tt[n]):!("application/xhtml+xml"!==ut||!it[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Q&&(t=e.textContent,u([he,ge,Te],(e=>{t=y(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),Rt(de.afterSanitizeElements,e,null),!1):(Et(e),!0)},Ot=function(e,t,n){if(Ge&&("id"===t||"name"===t)&&(n in r||n in dt))return!1;if(xe&&!Le[t]&&S(ye,t));else if(Ce&&S(Ee,t));else if(!we[t]||Le[t]){if(!(Dt(e)&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,e)||De.tagNameCheck instanceof Function&&De.tagNameCheck(e))&&(De.attributeNameCheck instanceof RegExp&&S(De.attributeNameCheck,t)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(t))||"is"===t&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n)||De.tagNameCheck instanceof Function&&De.tagNameCheck(n))))return!1}else if(Je[t]);else if(S(be,y(n,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ve[e]){if(Ie&&!S(Ae,y(n,_e,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&T(e,Se)},vt=function(e){Rt(de.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||bt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=pt(a),m=c;let f="value"===a?m:A(m);if(n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,Rt(de.uponSanitizeAttribute,e,n),f=n.attrValue,!Ye||"id"!==s&&"name"!==s||(At(a,e),f="user-content-"+f),Ue&&S(/((--!?|])>)|<\/(style|title)/i,f)){At(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){At(a,e);continue}if(!Me&&S(/\/>/i,f)){At(a,e);continue}ke&&u([he,ge,Te],(e=>{f=y(f,e," ")}));const d=pt(e.nodeName);if(Ot(d,s,f)){if(le&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(l);else switch(j.getAttributeType(d,s)){case"TrustedHTML":f=le.createHTML(f);break;case"TrustedScriptURL":f=le.createScriptURL(f)}if(f!==m)try{l?e.setAttributeNS(l,a,f):e.setAttribute(a,f),bt(e)?Et(e):p(o.removed)}catch(t){At(a,e)}}else At(a,e)}Rt(de.afterSanitizeAttributes,e,null)},Lt=function e(t){let n=null;const o=St(t);for(Rt(de.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)Rt(de.uponSanitizeShadowNode,n,null),wt(n),vt(n),n.content instanceof s&&e(n.content);Rt(de.afterSanitizeShadowDOM,t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw b("toString is not a function");if("string"!=typeof(e=e.toString()))throw b("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Pe||gt(t),o.removed=[],"string"==typeof e&&(Xe=!1),Xe){if(e.nodeName){const t=pt(e.nodeName);if(!Ne[t]||ve[t])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof R)n=_t("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===J&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!ze&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e;if(n=_t(e),!n)return Fe?null:We?ce:""}n&&He&&Et(n.firstChild);const c=St(Xe?e:n);for(;i=c.nextNode();)wt(i),vt(i),i.content instanceof s&&Lt(i.content);if(Xe)return e;if(Fe){if(Be)for(l=me.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(we.shadowroot||we.shadowrootmode)&&(l=fe.call(a,l,!0)),l}let m=ze?n.outerHTML:n.innerHTML;return ze&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(K,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([he,ge,Te],(e=>{m=y(m,e," ")})),le&&We?le.createHTML(m):m},o.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},o.clearConfig=function(){ft=null,Pe=!1},o.isValidAttribute=function(e,t,n){ft||gt({});const o=pt(e),r=pt(t);return Ot(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&f(de[e],t)},o.removeHook=function(e,t){if(void 0!==t){const n=m(de[e],t);return-1===n?void 0:d(de[e],n,1)[0]}return p(de[e])},o.removeHooks=function(e){de[e]=[]},o.removeAllHooks=function(){de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return re}));
//# sourceMappingURL=purify.min.js.map
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=46)}({46:function(e,t){eael.hooks.addAction("editMode.init","ea",(function(){if(void 0===parent.document)return!1;parent.document.addEventListener("mousedown",(function(e){var t=parent.document.querySelectorAll(".elementor-element--promotion");if(t.length>0)for(var o=0;o<t.length;o++)if(t[o].contains(e.target)){var n=parent.document.querySelector("#elementor-element--promotion__dialog");if(t[o].querySelector(".icon > i").classList.toString().indexOf("eaicon")>=0)if(n.querySelector(".dialog-buttons-action").style.display="none",e.stopImmediatePropagation(),null===n.querySelector(".ea-dialog-buttons-action")){var r=document.createElement("a"),a=document.createTextNode("Upgrade Essential Addons");r.setAttribute("href","https://wpdeveloper.com/upgrade/ea-pro"),r.setAttribute("target","_blank"),r.classList.add("dialog-button","dialog-action","dialog-buttons-action","elementor-button","go-pro","elementor-button-success","ea-dialog-buttons-action"),r.appendChild(a),n.querySelector(".dialog-buttons-action").insertAdjacentHTML("afterend",r.outerHTML)}else n.querySelector(".ea-dialog-buttons-action").style.display="";else n.querySelector(".dialog-buttons-action").style.display="",null!==n.querySelector(".ea-dialog-buttons-action")&&(n.querySelector(".ea-dialog-buttons-action").style.display="none");break}}))}))}});!function(e){var r={};function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)n.d(t,o,function(r){return e[r]}.bind(null,o));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=47)}({47:function(e,r){eael.hooks.addAction("editMode.init","ea",(function(){elementor.settings.page.addChangeCallback("eael_ext_reading_progress",(function(e){jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-disabled"),elementor.saver.update.apply().then((function(){elementor.reloadPreview()}))})),elementor.settings.page.addChangeCallback("eael_ext_reading_progress_position",(function(e){elementor.settings.page.setSettings("eael_ext_reading_progress_position",e),jQuery(".eael-reading-progress").removeClass("eael-reading-progress-top eael-reading-progress-bottom").addClass("eael-reading-progress-"+e)})),elementor.settings.page.addChangeCallback("eael_ext_reading_progress_fill_color",(function(e){var r=jQuery(".eael-reading-progress-wrap").attr("id");jQuery("#".concat(r," .eael-reading-progress .eael-reading-progress-fill")).css("background-color",e)}))}))}});!function(e){var t={};function a(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(l,o,function(t){return e[t]}.bind(null,o));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=49)}({49:function(e,t){eael.hooks.addAction("editMode.init","ea",(function(){elementor.settings.page.addChangeCallback("eael_ext_table_of_content",(function(e){elementor.settings.page.setSettings("eael_ext_table_of_content",e),elementor.saver.update.apply().then((function(){elementor.reloadPreview()}))})),elementor.settings.page.addChangeCallback("eael_ext_toc_position",(function(e){var t=jQuery("#eael-toc");"right"===e?(t.addClass("eael-toc-right"),t.removeClass("eael-toc-left")):(t.removeClass("eael-toc-right"),t.addClass("eael-toc-left"))})),elementor.settings.page.addChangeCallback("eael_ext_table_of_content_list_style",(function(e){var t=jQuery(".eael-toc-list");t.removeClass("eael-toc-list-bar eael-toc-list-arrow"),"none"!==e&&t.addClass("eael-toc-list-"+e)})),elementor.settings.page.addChangeCallback("eael_ext_toc_collapse_sub_heading",(function(e){var t=jQuery(".eael-toc-list");"yes"===e?t.addClass("eael-toc-collapse"):t.removeClass("eael-toc-collapse")})),elementor.settings.page.addChangeCallback("eael_ext_table_of_content_header_icon",(function(e){$(".eael-toc-button i").removeClass().addClass(e.value)})),elementor.settings.page.addChangeCallback("eael_ext_toc_list_icon",(function(e){var t=jQuery(".eael-toc-list");"number"===e?t.addClass("eael-toc-number").removeClass("eael-toc-bullet"):t.addClass("eael-toc-bullet").removeClass("eael-toc-number")})),elementor.settings.page.addChangeCallback("eael_ext_toc_word_wrap",(function(e){var t=jQuery(".eael-toc-list");"yes"===e?t.addClass("eael-toc-word-wrap"):t.removeClass("eael-toc-word-wrap")})),elementor.settings.page.addChangeCallback("eael_ext_toc_close_button_text_style",(function(e){var t=jQuery("#eael-toc");"bottom_to_top"===e?t.addClass("eael-bottom-to-top"):t.removeClass("eael-bottom-to-top")})),elementor.settings.page.addChangeCallback("eael_ext_toc_box_shadow",(function(e){var t=jQuery("#eael-toc");"yes"===e?t.addClass("eael-box-shadow"):t.removeClass("eael-box-shadow")})),elementor.settings.page.addChangeCallback("eael_ext_toc_auto_collapse",(function(e){var t=jQuery("#eael-toc");"yes"===e?t.addClass("eael-toc-auto-collapse collapsed"):t.removeClass("eael-toc-auto-collapse collapsed")})),elementor.settings.page.addChangeCallback("eael_ext_toc_auto_highlight",(function(e){var t=jQuery("#eael-toc-list");"yes"===e?t.addClass("eael-toc-auto-highlight"):t.removeClass("eael-toc-auto-highlight")})),elementor.settings.page.addChangeCallback("eael_ext_toc_auto_highlight_single_item_only",(function(e){var t=jQuery("#eael-toc-list");"yes"===e?t.hasClass("eael-toc-auto-highlight")&&t.addClass("eael-toc-highlight-single-item"):t.removeClass("eael-toc-highlight-single-item")})),elementor.settings.page.addChangeCallback("eael_ext_toc_title",(function(e){elementorFrontend.elements.$document.find(".eael-toc-title").text(e),elementorFrontend.elements.$document.find(".eael-toc-button span").text(e)}))}))}});!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=48)}({48:function(e,t){eael.hooks.addAction("editMode.init","ea",(function(){elementor.settings.page.addChangeCallback("eael_ext_scroll_to_top",(function(e){elementor.saver.update.apply().then((function(){elementor.reloadPreview()}))})),elementor.settings.page.addChangeCallback("eael_ext_scroll_to_top_button_icon_image",(function(e){elementor.saver.update.apply().then((function(){elementor.reloadPreview()}))}))}))}});!function(e){var l={};function i(n){if(l[n])return l[n].exports;var t=l[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=l,i.d=function(e,l,n){i.o(e,l)||Object.defineProperty(e,l,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,l){if(1&l&&(e=i(e)),8&l)return e;if(4&l&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&l&&"string"!=typeof e)for(var t in e)i.d(n,t,function(l){return e[l]}.bind(null,t));return n},i.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(l,"a",l),l},i.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},i.p="",i(i.s=45)}({45:function(e,l){var i=function(e,l){var i,n;function t(e){return{bavel:"polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%)",rabbet:"polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%)","chevron-left":"polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%)","chevron-right":"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",star:"polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)"}[e]||""}null!==(i=window.elementor)&&void 0!==i&&null!==(i=i.elements)&&void 0!==i&&i.models&&function e(i){l.each(i,(function(i,n){var a,o=null==n||null===(a=n.attributes)||void 0===a||null===(a=a.settings)||void 0===a?void 0:a.attributes;o&&"yes"===(null==o?void 0:o.eael_enable_image_masking)&&function(e){var i,n,a=null==e||null===(i=e.attributes)||void 0===i||null===(i=i.settings)||void 0===i?void 0:i.attributes,o=null==e||null===(n=e.attributes)||void 0===n?void 0:n.id,r=l(".elementor-element-".concat(o)),u="eael-image-masking-"+o;if(r,l("#"+u).remove(),"yes"===(null==a?void 0:a.eael_enable_image_masking)){var m="";if("clip"===(null==a?void 0:a.eael_image_masking_type)){var _="";if((_="yes"===(null==a?void 0:a.eael_image_masking_enable_custom_clip_path)?(_=null==a?void 0:a.eael_image_masking_custom_clip_path).replace("clip-path: ",""):t(null==a?void 0:a.eael_image_masking_clip_path))&&(m+=".elementor-element-"+o+" img {clip-path: "+_+";}"),"yes"===(null==a?void 0:a.eael_image_masking_hover_effect)){var s="";if(s="yes"===(null==a?void 0:a.eael_image_masking_enable_custom_clip_path_hover)?(s=null==a?void 0:a.eael_image_masking_custom_clip_path_hover).replace("clip-path: ",""):t(null==a?void 0:a.eael_image_masking_clip_path_hover)){var g=null==a?void 0:a.eael_image_masking_hover_selector;g&&(g=" "+g.trim()),m+=".elementor-element-"+o+g+":hover img {clip-path: "+s+";}"}}}else if("image"===(null==a?void 0:a.eael_image_masking_type)){var v,d=null==a?void 0:a.eael_image_masking_svg,c="";if("upload"!==d)c=(null===(v=EAELImageMaskingConfig)||void 0===v?void 0:v.svg_dir_url)+d+".svg";else if("upload"===d){var f=null==a?void 0:a.eael_image_masking_image;c=null==f?void 0:f.url}if(c&&(m+=".elementor-element-"+o+" img {mask-image: url("+c+"); -webkit-mask-image: url("+c+");}"),"yes"===(null==a?void 0:a.eael_image_masking_hover_effect)){var p,k="",y=null==a?void 0:a.eael_image_masking_svg_hover;if("upload"!==y)k=(null===(p=EAELImageMaskingConfig)||void 0===p?void 0:p.svg_dir_url)+y+".svg";else if("upload"===y){var b;k=null==a||null===(b=a.eael_image_masking_image_hover)||void 0===b?void 0:b.url}if(k){var h=null==a?void 0:a.eael_image_masking_hover_selector;h&&(h=" "+h.trim()),m+=".elementor-element-"+o+h+":hover img {mask-image: url("+k+"); -webkit-mask-image: url("+k+");}"}}}m&&r.append('<style id="'+u+'">'+m+"</style>")}}(n),"widget"!==n.attributes.elType&&e(n.attributes.elements.models)}))}(null===(n=window.elementor)||void 0===n||null===(n=n.elements)||void 0===n?void 0:n.models)};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelImageMaskingEditor"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/widget",i)}))}});!function(e){var a={};function t(o){if(a[o])return a[o].exports;var l=a[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}t.m=e,t.c=a,t.d=function(e,a,o){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var l in e)t.d(o,l,function(a){return e[a]}.bind(null,l));return o},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=19)}({19:function(e,a){!function(e){"use strict";eael.getToken(),e(document).on("click",".eael-load-more-button",(function(a){a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation();var t=e(this),o=e(".eael_load_more_text",t),l=o.html(),r=t.data("widget"),n=t.data("page-id"),i=localize.nonce,s=e(".elementor-element-"+r),d=t.data("class"),c=t.data("args"),p=t.data("layout"),u=t.data("template"),m=parseInt(t.data("page"))+1,g=null!=t.data("max-page")&&parseInt(t.data("max-page")),f=[],y=0,_="";if(t.attr("disabled",!0),void 0!==r&&void 0!==c){var v={},b={action:"load_more",class:d,args:c,page:m,page_id:n,widget_id:r,nonce:i,template_info:u};if("Essential_Addons_Elementor\\Elements\\Woo_Product_Gallery"==b.class){var h={taxonomy:e(".eael-cat-tab li a.active",s).data("taxonomy"),field:"term_id",terms:e(".eael-cat-tab li a.active",s).data("id"),terms_tag:e(".eael-cat-tab li a.active",s).data("tagid")};if("true"==localStorage.getItem("eael-cat-tab")){localStorage.removeItem("eael-cat-tab");var w=2}else{var E=e(".eael-cat-tab li a.active",s),x=parseInt(E.data("page"));if(isNaN(x))if(E.length>0)x=1,E.data("page",1);else{var C=e(".eael-load-more-button",s);x=parseInt(C.data("page"));isNaN(x)&&(x=1)}w=x+1}b.taxonomy=h,b.page=isNaN(w)?m:w}if("Essential_Addons_Elementor\\Pro\\Elements\\Dynamic_Filterable_Gallery"===b.class&&(e(".dynamic-gallery-item-inner",s).each((function(){f.push(e(this).data("itemid"))})),y=e(".elementor-element-"+r+" .dynamic-gallery-category.active").data("termid"),_=e(".elementor-element-"+r+" .dynamic-gallery-category.active").data("taxonomy"),b.page=1,b.exclude_ids=JSON.stringify(f),b.active_term_id=void 0===y?0:y,b.active_taxonomy=void 0===_?"":_),String(c).split("&").forEach((function(e,a){var t=String(e).split("=");v[t[0]]=t[1]})),"rand"==v.orderby){var P=e(".eael-grid-post");if(P.length){var j=[];P.each((function(a,t){var o=e(t).data("id");j.push(o)})),b.post__not_in=j}}t.addClass("button--loading"),o.html(localize.i18n.loading);var S=function(e){var a=e.closest(".eael-filter-gallery-wrapper").find(".dynamic-gallery-category.active"),t=a.data("filter"),o=a.siblings().not(".no-more-posts");e.addClass("hide"),a.addClass("no-more-posts"),1===o.length&&"*"===o.data("filter")&&o.addClass("no-more-posts"),"*"===t&&a.siblings().addClass("no-more-posts")};e.ajax({url:localize.ajaxurl,type:"post",data:b,success:function(a){var r=e(a);if(t.removeAttr("disabled"),r.hasClass("no-posts-found")||0===r.length)"Essential_Addons_Elementor\\Elements\\Woo_Product_Gallery"==b.class?(t.removeClass("button--loading").addClass("hide-load-more"),o.html(l),t.parent().hasClass("eael-infinity-scroll")&&t.parent().remove()):"Essential_Addons_Elementor\\Pro\\Elements\\Dynamic_Filterable_Gallery"==b.class?(t.removeClass("button--loading"),o.html(l),S(t)):t.remove();else{if("Essential_Addons_Elementor\\Elements\\Product_Grid"==b.class){if(r=r.filter("li"),e(".eael-product-grid .products",s).append(r),"masonry"==p){var n="eael-product-"+Date.now();(d=e(".eael-product-grid .products",s).isotope()).isotope("appended",r).isotope("layout"),d.imagesLoaded().progress((function(){d.isotope("layout")})),r.find(".woocommerce-product-gallery").addClass(n),r.find(".woocommerce-product-gallery").addClass("eael-new-product"),e(".woocommerce-product-gallery."+n,s).each((function(){e(this).wc_product_gallery()}))}else{var i="eael-product-"+Date.now();r.find(".woocommerce-product-gallery").addClass(i),r.find(".woocommerce-product-gallery").addClass("eael-new-product"),e(".woocommerce-product-gallery."+i,s).each((function(){e(this).wc_product_gallery()}))}m>=g&&t.remove()}else{e(".eael-post-appender",s).append(r);var d,c=e(".eael-post-appender",s).data("settings");if("masonry"==p||null!=c&&c.has_filter)(d=e(".eael-post-appender",s).isotope()).isotope("appended",r).isotope("layout"),d.imagesLoaded().progress((function(){d.isotope("layout")}))}if(t.removeClass("button--loading"),o.html(l),"Essential_Addons_Elementor\\Elements\\Woo_Product_Gallery"==b.class&&e(".eael-cat-tab li a.active",s).length?e(".eael-cat-tab li a.active",s).data("page",w):t.data("page",m),"Essential_Addons_Elementor\\Pro\\Elements\\Dynamic_Filterable_Gallery"==b.class){var u=e(r[0]);u.hasClass("found_posts")&&u.text()-v.posts_per_page<1&&S(t),u.remove()}}g&&b.page>=g&&t.remove()},error:function(e){console.log(e)}})}})),e(window).on("scroll",(function(){var a=e(".eael-infinity-scroll");if(a.length<1)return!1;e.each(a,(function(a,t){var o=e(t),l=o.data("offset"),r=o.offset().top,n=r+o.outerHeight()-l,i=e(window).scrollTop(),s=i+e(window).height()-l;n>i&&r<s&&e(".eael-load-more-button",o).trigger("click")}))}))}(jQuery)}});!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}({22:function(e,t){var n=function(e,t){var n=t(".eael-post-appender",e),o=n.data("layout-mode"),r=t("body").hasClass("rtl");"masonry"===o&&(n.isotope({itemSelector:".eael-grid-post",layoutMode:o,percentPosition:!0,isOriginLeft:!r}),n.imagesLoaded().progress((function(){n.isotope("layout")})))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-grid.default",n)}))}});!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}({9:function(e,t){var n=function(e,t){var n=e.find(".eael-creative-button-wrapper").find(".eael-creative-button");n.hasClass("csvg-use-color")&&n.find("svg").removeAttr("fill").find("*").removeAttr("fill")};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelCreativeButton"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/eael-creative-button.default",n)}))}});!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=33)}({33:function(e,t){var r=function(e,t){var r=t(".eael-twitter-feed",e),a=(r.data("posts-per-page"),r.data("total-posts"),r.data("nomore-item-text")),n=r.data("next-page");isEditMode?elementor.hooks.addAction("panel/open_editor/widget/eael-twitter-feed",(function(e,t,r){e.content.el.onclick=function(e){if("ea:cache:clear"==e.target.dataset.event){var r=e.target;r.innerHTML="Clearing...",jQuery.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_clear_widget_cache_data",security:localize.nonce,page_permalink:localize.page_permalink,widget_id:t.attributes.id,ac_name:t.attributes.settings.attributes.eael_twitter_feed_ac_name,hastag:t.attributes.settings.attributes.eael_twitter_feed_hashtag_name,c_key:t.attributes.settings.attributes.eael_twitter_feed_consumer_key,c_secret:t.attributes.settings.attributes.eael_twitter_feed_consumer_secret},success:function(e){e.success?(r.innerHTML="Clear",elementor.reloadPreview()):r.innerHTML="Failed"},error:function(){r.innerHTML="Failed"}})}}})):($gutter=t(".eael-twitter-feed-masonry",e).data("gutter"),$settings={itemSelector:".eael-twitter-feed-item",percentPosition:!0,masonry:{columnWidth:".eael-twitter-feed-item",gutter:$gutter}},$twitter_feed_gallery=t(".eael-twitter-feed-masonry",e).isotope($settings),$twitter_feed_gallery.imagesLoaded().progress((function(){$twitter_feed_gallery.isotope("layout")}))),e.on("click",".eael-twitter-feed-load-more",(function(i){i.preventDefault(),t(".eael-twitter-feed-item.page-"+n,e).removeClass("eael-d-none").addClass("eael-d-block"),r.attr("data-next-page",n+1),t(".eael-twitter-feed-masonry",e).isotope("layout"),t(".eael-twitter-feed-item.page-"+n,e).hasClass("eael-last-twitter-feed-item")&&t(".eael-twitter-feed-load-more",e).html(a).fadeOut("1500"),n++}))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-twitter-feed.default",r)}))}});!function(e){var o={};function t(a){if(o[a])return o[a].exports;var n=o[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,a){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(a,n,function(o){return e[o]}.bind(null,n));return a},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=12)}({12:function(e,o){jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-facebook-feed.default",(function(e,o){if(!isEditMode){var t=o(".eael-facebook-feed",e).isotope({itemSelector:".eael-facebook-feed-item",percentPosition:!0,columnWidth:".eael-facebook-feed-item"});t.imagesLoaded().progress((function(){t.isotope("layout")}))}o(".eael-load-more-button",e).on("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();var a=o(this),n=o(".eael_fb_load_more_text",a),r=n.html(),i=a.data("widget-id"),d=a.data("post-id"),l=a.data("page");a.addClass("button--loading"),n.html(localize.i18n.loading),o.ajax({url:localize.ajaxurl,type:"post",data:{action:"facebook_feed_load_more",security:localize.nonce,page:l,post_id:d,widget_id:i},success:function(t){var i=o(t.html),d=o(".eael-facebook-feed",e).isotope();o(".eael-facebook-feed",e).append(i),d.isotope("appended",i),d.imagesLoaded().progress((function(){d.isotope("layout")})),t.num_pages>l?(l++,a.data("page",l),a.removeClass("button--loading"),n.html(r)):a.remove()},error:function(){}})}));var a=function(e){t.imagesLoaded().progress((function(){t.isotope("layout")}))};eael.hooks.addAction("ea-lightbox-triggered","ea",a),eael.hooks.addAction("ea-advanced-tabs-triggered","ea",a),eael.hooks.addAction("ea-advanced-accordion-triggered","ea",a),eael.hooks.addAction("ea-toggle-triggered","ea",a)}))}))}});!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=26)}({26:function(e,t){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i={quickViewAddMarkup:function(e,t){t("body > .eael-woocommerce-popup-view").length||t("body").prepend('<div style="display: none" class="eael-woocommerce-popup-view eael-product-popup eael-product-zoom-in woocommerce">\n \t\t\t<div class="eael-product-modal-bg"></div>\n \t\t\t<div class="eael-popup-details-render eael-woo-slider-popup"><div class="eael-preloader"></div></div>\n \t\t\t\t </div>')},openPopup:function(e,t){jQuery(document).on("click",".open-popup-link",(function(e){e.preventDefault(),e.stopPropagation();var o=t(this).data("quickview-setting");if(void 0!==o){var r=t(".eael-woocommerce-popup-view");r.find(".eael-popup-details-render").html('<div class="eael-preloader"></div>'),r.addClass("eael-product-popup-ready").removeClass("eael-product-modal-removing"),r.show(),t.ajax({url:localize.ajaxurl,type:"post",data:n(n({action:"eael_product_quickview_popup"},o),{},{security:localize.nonce}),success:function(e){if(e.success){var n=t(e.data).children(".eael-product-popup-details");n.find(".variations_form").wc_variation_form();var a=r.find(".eael-popup-details-render");r.find(".eael-popup-details-render").html(n);var i=r.find(".woocommerce-product-gallery");a.addClass("elementor-"+o.page_id),a.children().addClass("elementor-element elementor-element-"+o.widget_id),n.height()>400?n.css("height","75vh"):n.css("height","auto"),setTimeout((function(){var e=i.find(".woocommerce-product-gallery__image").height();t("body").prepend('<style class="eael-quick-view-dynamic-css">.woocommerce-product-gallery .flex-viewport { height: '+e+"px; }</style>"),i.wc_product_gallery(),i.closest(".eael-product-image-wrap").css("background","none")}),500),setTimeout((function(){t(".eael-quick-view-dynamic-css").remove()}),1500)}}})}}))},closePopup:function(e,t){t(document).on("click",".eael-product-popup-close",(function(e){e.stopPropagation(),i.remove_product_popup(t)})),t(document).on("click",(function(e){e.target.closest(".eael-product-popup-details")||i.remove_product_popup(t)}))},singlePageAddToCartButton:function(e,t){t(document).on("click",".eael-woo-slider-popup .product.product-type-simple .single_add_to_cart_button:not(.wc-variation-selection-needed), .eael-woo-slider-popup .product.product-type-variable .single_add_to_cart_button:not(.wc-variation-selection-needed), .eael-woo-slider-popup .product.product-type-grouped .single_add_to_cart_button:not(.wc-variation-selection-needed)",(function(e){e.preventDefault(),e.stopImmediatePropagation();var o=t(this),r=t(this).val(),n=o.closest("form.cart").find('input[name="variation_id"]').val()||"",a=o.closest("form.cart").find('input[name="quantity"]').val(),i=o.closest("form.cart.grouped_form"),c=o.closest("form.cart"),u=[];i=i.serializeArray(),c.hasClass("variations_form")&&(r=c.find('input[name="product_id"]').val()),i.length>0?i.forEach((function(e,t){var o=parseInt(e.name.replace(/[^\d.]/g,""),10);e.name.indexOf("quantity[")>=0&&""!=e.value&&o>0&&(u[u.length]={product_id:o,quantity:e.value,variation_id:0})})):u[0]={product_id:r,quantity:a,variation_id:n},o.removeClass("eael-addtocart-added"),o.addClass("eael-addtocart-loading"),t.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_product_add_to_cart",product_data:u,eael_add_to_cart_nonce:localize.nonce,cart_item_data:c.serializeArray()},success:function(e){e.success&&(t(document.body).trigger("wc_fragment_refresh"),o.removeClass("eael-addtocart-loading"),o.addClass("eael-addtocart-added"),"yes"==localize.cart_redirectition&&(window.location.href=localize.cart_page_url))}})}))},preventStringInNumberField:function(e,t){t(document).on("keypress",".eael-product-details-wrap input[type=number]",(function(e){var t=e.keyCode||e.which,o=/^[0-9]+$/.test(String.fromCharCode(t));return o||!1}))},remove_product_popup:function(e){var t=e(".eael-product-popup.eael-product-zoom-in.eael-product-popup-ready");t.addClass("eael-product-modal-removing").removeClass("eael-product-popup-ready"),t.find(".eael-popup-details-render").html("")}};jQuery(document).on("click",".yith-wcan-filters",(function(){window.forceFullyRun=!0})),eael.elementStatusCheck("eaelQuickView")&&void 0===window.forceFullyRun||(eael.hooks.addAction("quickViewAddMarkup","ea",i.quickViewAddMarkup,10),eael.hooks.addAction("quickViewPopupViewInit","ea",i.openPopup,10),eael.hooks.addAction("quickViewPopupViewInit","ea",i.closePopup,10),eael.hooks.addAction("quickViewPopupViewInit","ea",i.singlePageAddToCartButton,10),eael.hooks.addAction("quickViewPopupViewInit","ea",i.preventStringInNumberField,10))}});!function(e){var t={};function a(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(o,r,function(t){return e[t]}.bind(null,r));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=24)}({24:function(e,t){eael.hooks.addAction("init","ea",(function(){eael.elementStatusCheck("eaelProductGridLoad")&&void 0===window.forceFullyRun||elementorFrontend.hooks.addAction("frontend/element_ready/eicon-woocommerce.default",(function(e,t){eael.hooks.doAction("quickViewAddMarkup",e,t);var a=e.find("#eael-product-grid"),o=a.data("widget-id"),r=a.data("page-id"),i=a.data("nonce"),c=document.createElement("div");c.classList.add("wcpc-overlay"),c.setAttribute("id","wcpc-overlay");var d=document.getElementsByTagName("body")[0];d.appendChild(c);var n=document.getElementById("wcpc-overlay"),l=t(document),s=!1,p=!1,u=!1,m=!1,f=!1;t(d).append('\n <div class="eael-wcpc-modal">\n <i title="Close" class="close-modal far fa-times-circle"></i>\n <div class="modal__content" id="eael_modal_content">\n </div>\n </div>\n ');var v=t("#eael_modal_content"),g=document.getElementsByClassName("eael-wcpc-modal")[0],y=[{name:"action",value:"eael_product_grid"},{name:"widget_id",value:o},{name:"page_id",value:r},{name:"nonce",value:i}],h=function(e,a,o,r,i){t.ajax({url:localize.ajaxurl,type:"POST",dataType:"json",data:e,beforeSend:r,success:a,error:o,complete:i})};function w(e){e&&e.success&&(v.html(e.data.compare_table),g.style.visibility="visible",g.style.opacity="1",n.style.visibility="visible",n.style.opacity="1",localStorage.setItem("productIds",JSON.stringify(e.data.product_ids))),s&&s.hide(),"compare"===f&&(m&&m.length?m.text(localize.i18n.added):u&&p.html('<i class="fas fa-check-circle"></i>')),"remove"===f&&(m&&m.length?m.text(localize.i18n.compare):u&&p.html('<i class="fas fa-exchange-alt"></i>'))}function b(e,t){console.log(t.toString())}a.hasClass("masonry")&&l.ajaxComplete((function(){t(window).trigger("resize")})),l.on("click",".eael-wc-compare",(function(e){e.preventDefault(),e.stopImmediatePropagation(),f="compare",p=t(this),(m=p.find(".eael-wc-compare-text")).length||(u=p.hasClass("eael-wc-compare-icon")),u||(s=p.find(".eael-wc-compare-loader")).show();var a=p.data("product-id"),o=localStorage.getItem("productIds");o?(o=JSON.parse(o)).push(a):o=[a],y.push({name:"product_id",value:p.data("product-id")}),y.push({name:"product_ids",value:JSON.stringify(o)}),h(y,w,b)})),l.on("click",".close-modal",(function(e){g.style.visibility="hidden",g.style.opacity="0",n.style.visibility="hidden",n.style.opacity="0"})),l.on("click",".eael-wc-remove",(function(e){e.preventDefault(),e.stopImmediatePropagation();var a=t(this),o=a.data("product-id");a.addClass("disable"),a.prop("disabled",!0);var r=localStorage.getItem("productIds");r?(r=JSON.parse(r)).push(o):r=[o];var i=Array.from(y);i.push({name:"product_id",value:o}),i.push({name:"remove_product",value:1}),i.push({name:"product_ids",value:JSON.stringify(r)}),f="remove";var c=t('button[data-product-id="'+o+'"]');(m=c.find(".eael-wc-compare-text")).length||(u=c.hasClass("eael-wc-compare-icon")),h(i,w,b)})),t(".eael-woo-pagination",e).on("click","a",(function(e){e.preventDefault();var a=t(this),o=a.closest(".eael-woo-pagination"),r=a.data("pnumber"),i=o.data("plimit"),c=localize.ajaxurl,d=o.data("args"),n=o.data("widgetid"),l=o.data("pageid"),s=".elementor-element-"+n,p=o.data("template");t.ajax({url:c,type:"post",data:{action:"woo_product_pagination_product",number:r,limit:i,args:d,widget_id:n,page_id:l,security:localize.nonce,templateInfo:p},beforeSend:function(){t(s).addClass("eael-product-loader")},success:function(e){t(s+" .eael-product-grid .products").html(e),t(s+" .woocommerce-product-gallery").each((function(){t(this).wc_product_gallery()})),t("html, body").animate({scrollTop:t(s+" .eael-product-grid").offset().top-50},500)},complete:function(){t(s).removeClass("eael-product-loader")}}),t.ajax({url:c,type:"post",data:{action:"woo_product_pagination",number:r,limit:i,args:d,widget_id:n,page_id:l,security:localize.nonce,template_name:p.name},success:function(e){t(s+" .eael-product-grid .eael-woo-pagination").html(e),t("html, body").animate({scrollTop:t(s+" .eael-product-grid").offset().top-50},500)}})})),eael.hooks.doAction("quickViewPopupViewInit",e,t),isEditMode&&t(".eael-product-image-wrap .woocommerce-product-gallery").css("opacity","1"),t(document).find(".eael-woocommerce-popup-view").length<1&&t("body").append('<div style="display: none" class="eael-woocommerce-popup-view eael-product-popup eael-product-zoom-in woocommerce">\n <div class="eael-product-modal-bg"></div>\n <div class="eael-popup-details-render eael-woo-slider-popup"><div class="eael-preloader"></div></div>\n </div>');var _=dataSrcHover=srcset=srcsetHover="";t(document).on("mouseover",".eael-product-wrap",(function(){var a=t("body").attr("data-elementor-device-mode");"yes"===e.find(".products.eael-post-appender").attr("data-ssi-"+a)&&(_=t(this).data("src"),dataSrcHover=t(this).data("src-hover"),srcset=t(this).find("img").attr("srcset"),dataSrcHover&&(t(this).find("img").attr("srcset-hover",srcset),t(this).find("img").attr("src",dataSrcHover),t(this).find("img").attr("srcset",dataSrcHover)))})).on("mouseout",".eael-product-wrap",(function(){var a=t("body").attr("data-elementor-device-mode");"yes"===e.find(".products.eael-post-appender").attr("data-ssi-"+a)&&(_=t(this).data("src"),dataSrcHover=t(this).data("src-hover"),srcsetHover=t(this).find("img").attr("srcset-hover"),dataSrcHover&&(t(this).find("img").attr("src",_),t(this).find("img").attr("srcset",srcsetHover),t(this).find("img").attr("srcset-hover","")))}))}))}))}});!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}({41:function(e,t){eael.hooks.addAction("init","ea",(function(){eael.elementStatusCheck("eaelProductListLoad")&&void 0===window.forceFullyRun||elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-product-list.default",(function(e,t){eael.hooks.doAction("quickViewAddMarkup",e,t),eael.hooks.doAction("quickViewPopupViewInit",e,t)}))}))}});!function(e){var t={};function a(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=11)}({11:function(e,t){function a(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return o(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,d=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return d=e.done,e},e:function(e){i=!0,l=e},f:function(){try{d||null==a.return||a.return()}finally{if(i)throw l}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=Array(t);a<t;a++)o[a]=e[a];return o}var n=function(e,t){var o=FullCalendar.Calendar,n=t(".eael-event-calendar-cls",e),r=t(".eael-event-calendar-wrapper",e),l=t(".eaelec-modal-close",e).eq(0),d=t("#eaelecModal",e),i=n.data("events"),m=n.data("first_day"),s=(n.data("cal_id"),n.data("locale")),c=n.data("translate"),f=n.data("defaultview"),u=n.data("defaultdate"),v=void 0!==n.data("multidays_event_day_count")?n.data("multidays_event_day_count"):0,y=n.data("event_limit"),p=n.data("location-display"),h=n.data("popup_date_format"),Y=n.data("monthcolumnheaderformat"),b=n.data("weekcolumnheaderformat"),g=n.data("thumbnail_position"),D="yes"==n.data("time_format");if(r.hasClass("layout-calendar")){var M=function(){var a=t(".eaelec-modal-footer"),o=a.find("a").attr("class"),n=t(".eael-event-calendar-cls",e).attr("data-detailsButtonText");a.html('<a class="'+o+'">'+DOMPurify.sanitize(n)+"</a>")},w=new o(e[0].querySelector(".eael-event-calendar-cls"),{views:{month:{dayHeaderContent:function(e){if("dayGridMonth"===e.view.type&&Y)return moment(e.date).format(Y)}},week:{dayHeaderContent:function(e){if(b)return moment(e.date).format(b)}}},editable:!1,selectable:!1,firstDay:m,eventTimeFormat:{hour:"2-digit",minute:"2-digit",hour12:!D},nextDayThreshold:"00:00:00",headerToolbar:{start:"prev,next today",center:"title",end:"timeGridDay,timeGridWeek,dayGridMonth,listMonth"},events:i,locale:s,dayMaxEventRows:void 0!==y&&y>0?parseInt(y):3,initialView:f,initialDate:u,eventClassNames:function(e){},eventContent:function(e){},eventDidMount:function(a){var o=t(a.el),n=a.event;if(moment.locale(s),v&&n.endStr>n.startStr){var r,l=void 0!==n.startStr?new Date(n.startStr):"",i=((void 0!==n.endStr?new Date(n.endStr):"")-l)/864e5,m=null===(r=t(o).prevAll("tr.fc-list-day:first"))||void 0===r?void 0:r.data("date");m=void 0!==m?new Date(m):"";var f=l&&m?Math.ceil((m-l)/864e5)+1:"",u="".concat(n.title," (Day ").concat(f,"/").concat(i," )");o.find(".fc-list-event-title a").text(u)}o.hasClass("fc-event-past")&&o.find(".fc-event-title").addClass("eael-event-completed"),c.today=a.event._context.dateEnv.locale.options.buttonText.today,o.attr("style","color:"+n.textColor+";background:"+n.backgroundColor+";"),o.find(".fc-list-event-dot").attr("style","border-color:"+n.backgroundColor+";"),o.find(".fc-daygrid-event-dot").remove(),"yes"===n._def.extendedProps.is_redirect?(o.attr("href",n.url),"on"===n._def.extendedProps.external&&o.attr("target","_blank"),"on"===n._def.extendedProps.nofollow&&o.attr("rel","nofollow"),""!==n._def.extendedProps.custom_attributes&&t.each(n._def.extendedProps.custom_attributes,(function(e,t){o.attr(t.key,t.value)})),o.hasClass("fc-list-item")&&(o.removeAttr("href target rel"),o.removeClass("fc-has-url"),o.css("cursor","default")),t.each(o[0].attributes,(function(){var e=this.name.toLowerCase();e.startsWith("on")?o.removeAttr(this.name):"href"===e&&this.value.trim().toLowerCase().startsWith("javascript:")&&o.attr("href","#")}))):(o.attr("href","javascript:void(0);"),o.click((function(a){a.preventDefault(),a.stopPropagation();var o=n.start,r=D?"H:mm":"h:mm A",l=n.end,i=t("span.eaelec-event-date-start"),m=t("span.eaelec-event-date-end"),f=t(".eaelec-modal-footer a");n.allDay&&(l=moment(l).subtract(1,"days")._d,r=" ");moment.locale(s);var u=moment(o).format("YYYY"),v=moment(l).format("YYYY"),y=v>u,Y="",b="";if(i.html(" "),m.html(" "),d.addClass("eael-ec-popup-ready").removeClass("eael-ec-modal-removing"),n.allDay&&moment(o).format("MM-DD-YYYY")===moment(l).format("MM-DD-YYYY")?(Y=moment(o).format("MMM Do"),!0===moment(o).isSame(Date.now(),"day")?Y=c.today:moment(o).format("MM-DD-YYYY")===moment(new Date).add(1,"days").format("MM-DD-YYYY")&&(Y=c.tomorrow)):(!0===moment(n.start).isSame(Date.now(),"day")&&(Y=c.today+" "+moment(n.start).format(r)),moment(o).format("MM-DD-YYYY")===moment(new Date).add(1,"days").format("MM-DD-YYYY")&&(Y=c.tomorrow+" "+moment(n.start).format(r)),(moment(o).format("MM-DD-YYYY")<moment(new Date).format("MM-DD-YYYY")||moment(o).format("MM-DD-YYYY")>moment(new Date).add(1,"days").format("MM-DD-YYYY"))&&(Y=moment(n.start).format(h+" "+r)),Y=y?u+" "+Y:Y,!0===moment(l).isSame(Date.now(),"day")&&(b=!0!==moment(o).isSame(Date.now(),"day")?c.today+" "+moment(l).format(r):moment(l).format(r)),moment(o).format("MM-DD-YYYY")!==moment(new Date).add(1,"days").format("MM-DD-YYYY")&&moment(l).format("MM-DD-YYYY")===moment(new Date).add(1,"days").format("MM-DD-YYYY")&&(b=c.tomorrow+" "+moment(l).format(r)),moment(o).format("MM-DD-YYYY")===moment(new Date).add(1,"days").format("MM-DD-YYYY")&&moment(l).format("MM-DD-YYYY")===moment(new Date).add(1,"days").format("MM-DD-YYYY")&&(b=moment(l).format(r)),moment(l).diff(moment(o),"days")>0&&m.text().trim().length<1&&(b=moment(l).format(h+" "+r)),moment(o).format("MM-DD-YYYY")===moment(l).format("MM-DD-YYYY")&&(b=moment(l).format(r)),b=y?v+" "+b:b),void 0!==n.extendedProps.hideEndDate&&"yes"===n.extendedProps.hideEndDate?m.html(" "):m.html(""!=b?"- "+b:""),i.html('<i class="eicon-calendar"></i> '+Y),t(".eaelec-modal-header h2").html(DOMPurify.sanitize(n.title)),t(".eaelec-modal-body").html(DOMPurify.sanitize(n.extendedProps.description)),g)if(n.extendedProps.imageUrl){if("header"===g)t(".eaelec-modal-header").addClass("eaelec-img-header").css("background-image","url("+n.extendedProps.imageUrl+")");else if("background"===g)t(".eaelec-modal-overlay").remove(),t(".eaelec-modal-content").append('<div class="eaelec-modal-overlay"></div>').addClass("eaelec-bg-img").css("background-image","url("+n.extendedProps.imageUrl+")");else if("body-bg"===g){t(".eaelec-modal-overlay").remove();var M=t(".eaelec-modal-body").html();t(".eaelec-modal-body").addClass("eaelec-bg-img").css("background-image","url("+n.extendedProps.imageUrl+")").html('<div class="eaelec-modal-body-content">'+M+'</div><div class="eaelec-modal-overlay"></div>')}else if("body-left"===g){var w='<div class="eaelec-modal-body-content">'+t(".eaelec-modal-body").html()+"</div>";t(".eaelec-modal-body").addClass("eaelec-img-inside").html('<img class="eaelec-modal-body-img" src="'+n.extendedProps.imageUrl+'" alt="'+n.title+'">'+w)}else if("body-right"===g){w='<div class="eaelec-modal-body-content">'+t(".eaelec-modal-body").html()+"</div>";t(".eaelec-modal-body").addClass("eaelec-img-inside").html(w+'<img class="eaelec-modal-body-img" src="'+n.extendedProps.imageUrl+'" alt="'+n.title+'">')}}else t(".eaelec-modal-header").removeClass("eaelec-img-header").css("background-image","none"),t(".eaelec-modal-content").removeClass("eaelec-bg-img").css("background-image","none"),t(".eaelec-modal-body").removeClass("eaelec-img-inside eaelec-bg-img").css("background-image","none"),t(".eaelec-modal-overlay").remove();n.extendedProps.description.length<1?t(".eaelec-modal-body").css("height","auto"):t(".eaelec-modal-body").css("height","300px");var x=t(".eaelec-event-location");"yes"===p&&n.extendedProps.location&&""!==n.extendedProps.location.trim()?x.html('<i class="eicon-map-pin"></i> '+DOMPurify.sanitize(n.extendedProps.location)).show():x.hide(),"yes"!==t(".eael-event-calendar-cls",e).data("hidedetailslink")?f.attr("href",n.url).css("display","block"):f.css("display","none"),"on"===n.extendedProps.external&&f.attr("target","_blank"),"on"===n.extendedProps.nofollow&&f.attr("rel","nofollow"),""!=n.extendedProps.custom_attributes&&t.each(n.extendedProps.custom_attributes,(function(e,t){f.attr(t.key,t.value)})),t(".eaelec-modal-header").css("border-left","5px solid "+n.borderColor),t(".eaelec-modal-header").css("border-left","5px solid "+n.borderColor),t.each(f[0].attributes,(function(){var e=this.name.toLowerCase();e.startsWith("on")?f.removeAttr(this.name):"href"===e&&this.value.trim().toLowerCase().startsWith("javascript:")&&f.attr("href","#")}))})))},eventWillUnmount:function(e){}});l.on("click",(function(e){e.stopPropagation(),d.addClass("eael-ec-modal-removing").removeClass("eael-ec-popup-ready"),M()})),t(document).on("click",(function(e){e.target.closest(".eaelec-modal-content")||d.hasClass("eael-ec-popup-ready")&&(d.addClass("eael-ec-modal-removing").removeClass("eael-ec-popup-ready"),M())})),w.render(),setTimeout((function(){w.setOption("locale",s)}),100),new IntersectionObserver((function(e){var t,o=a(e);try{for(o.s();!(t=o.n()).done;){t.value;window.dispatchEvent(new Event("resize")),setTimeout((function(){window.dispatchEvent(new Event("resize"))}),200)}}catch(e){o.e(e)}finally{o.f()}})).observe(n[0]),eael.hooks.addAction("eventCalendar.reinit","ea",(function(){w.today()}))}else{var x=t(".eael-event-calendar-table",r),C=x.hasClass("ea-ec-table-paginated"),P=C?x.data("items-per-page"):10,_=t(".eael-ec-event-date",x).index();t(".eael-event-calendar-table",r).fancyTable({sortColumn:_>=0?_:0,pagination:C,perPage:P,globalSearch:!0,searchInput:t(".ea-ec-search-wrap",r),paginationElement:t(".eael-event-calendar-pagination",r)})}};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelEventCalendar"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/eael-event-calendar.default",n)}))}});!function(e){var a={};function t(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var o in e)t.d(n,o,function(a){return e[a]}.bind(null,o));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=20)}({20:function(e,a){eael.hooks.addAction("init","ea",(function(){if(eael.elementStatusCheck("eaelLoginRegister"))return!1;function e(e){if(e.find(".eael-login-registration-wrapper").length){var a=e.find(".cf-turnstile");a.length&&"undefined"!=typeof turnstile&&a.each((function(){turnstile.render(this)}))}}elementorFrontend.hooks.addAction("frontend/element_ready/eael-login-register.default",(function(e,a){var t=e.find(".eael-login-registration-wrapper"),n=t.data("widget-id"),o=t.data("recaptcha-sitekey"),r=t.data("recaptcha-sitekey-v3"),i=void 0!==t.data("is-ajax")&&"yes"==t.data("is-ajax"),l=e.find("[data-logged-in-location]").data("logged-in-location"),c=e.find("#eael-login-form-wrapper"),s=e.find("#eael-lostpassword-form-wrapper"),d=e.find("#eael-resetpassword-form-wrapper"),p=c.data("recaptcha-theme"),f=c.data("recaptcha-size"),u=e.find("#eael-register-form-wrapper"),g=u.data("recaptcha-theme"),h=u.data("recaptcha-size"),m=s.data("recaptcha-theme"),v=s.data("recaptcha-size"),w=t.data("login-recaptcha-version"),y=t.data("register-recaptcha-version"),b=t.data("lostpassword-recaptcha-version"),k=e.find("#eael-lr-reg-toggle"),_=e.find("#eael-lr-login-toggle"),S=e.find("#eael-lr-lostpassword-toggle"),x=e.find("#eael-lr-login-toggle-lostpassword"),I=c.find("#eael-user-password"),j=u.find("#form-field-password"),z=u.find("#form-field-confirm_pass"),C=d.find("#eael-pass1"),O=d.find("#eael-pass2"),E="undefined"!=typeof grecaptcha&&null!==grecaptcha,P=new URLSearchParams(location.search),M=document.getElementById("login-recaptcha-node-"+n),A=document.getElementById("register-recaptcha-node-"+n),T=document.getElementById("lostpassword-recaptcha-node-"+n);function B(e){var a="text"===e.attr("type")?"password":"text";e.attr("type",a),$icon=e.parent().find("span"),"password"===a?$icon.removeClass("dashicons-hidden").addClass("dashicons-visibility"):$icon.removeClass("dashicons-visibility").addClass("dashicons-hidden")}function D(e){for(var a=e+"=",t=decodeURIComponent(document.cookie).split(";"),n=0;n<t.length;n++){for(var o=t[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(a))return o.substring(a.length,o.length)}return""}function $(e){document.cookie=e+"=;Max-Age=0;"}function R(){if("function"!=typeof grecaptcha.render)return!1;if(M&&"v3"!==y&&"v3"!==b)try{grecaptcha.render(M,{sitekey:o,theme:p,size:f})}catch(e){}if(A&&"v3"!==w&&"v3"!==b)try{grecaptcha.render(A,{sitekey:o,theme:g,size:h})}catch(e){}if(T&&"v3"!==w&&"v3"!==y)try{grecaptcha.render(T,{sitekey:o,theme:m,size:v})}catch(e){}}if(void 0!==l&&""!==l&&location.replace(l),"form"===k.data("action")&&k.on("click",(function(e){e.preventDefault(),P.has("eael-lostpassword")&&P.delete("eael-lostpassword"),P.has("eael-register")||P.append("eael-register",1),window.history.replaceState({},"","".concat(location.pathname,"?").concat(P)),c.hide(),s.hide(),u.fadeIn()})),"form"===_.data("action")&&_.on("click",(function(e){P.has("eael-register")?P.delete("eael-register"):P.has("eael-lostpassword")&&P.delete("eael-lostpassword"),window.history.replaceState({},"","".concat(location.pathname,"?").concat(P)),e.preventDefault(),u.hide(),u.find(".eael-form-validation-container").html(""),s.hide(),c.fadeIn()})),"form"===x.data("action")&&x.on("click",(function(e){P.has("eael-register")?P.delete("eael-register"):P.has("eael-lostpassword")&&P.delete("eael-lostpassword"),window.history.replaceState({},"","".concat(location.pathname,"?").concat(P)),e.preventDefault(),s.hide(),u.hide(),c.fadeIn()})),"form"===S.data("action")&&S.on("click",(function(e){e.preventDefault(),P.has("eael-lostpassword")||P.append("eael-lostpassword",1),window.history.replaceState({},"","".concat(location.pathname,"?").concat(P)),s.find(".eael-form-validation-container").html(""),s.find(".eael-lr-form-group").css("display","bloock").removeClass("eael-d-none"),s.find("#eael-lostpassword-submit").css("display","bloock").removeClass("eael-d-none"),u.hide(),c.hide(),s.fadeIn()})),a(document).on("click","#wp-hide-pw, #wp-hide-pw1, #wp-hide-pw2, #wp-hide-pw-register",(function(e){switch(a(this).attr("id")){case"wp-hide-pw1":B(C),B(O);break;case"wp-hide-pw2":B(O);break;case"wp-hide-pw-register":B(j),z&&B(z);break;default:B(I)}})),a(document).ready((function(){if(a("[name='eael-login-submit']").on("click",(function(){localStorage.setItem("eael-is-login-form","true")})),"true"===localStorage.getItem("eael-is-login-form")&&(localStorage.removeItem("eael-is-login-form"),setTimeout((function(){a("#eael-lr-login-toggle").trigger("click")}),100)),new Promise((function(e,a){eael.getToken();var t=setInterval((function(){!0===eael.noncegenerated&&void 0!==localize.nonce&&(e(localize.nonce),clearInterval(t))}),100)})).then((function(e){a("#eael-login-nonce, #eael-register-nonce, #eael-lostpassword-nonce, #eael-resetpassword-nonce").val(e)})),!i){E&&("v3"===w||"v3"===y||"v3"===b)&&grecaptcha.ready((function(){grecaptcha.execute(r,{action:"eael_login_register_form"}).then((function(t){0===a('form input[name="g-recaptcha-response"]',e).length?a("form",e).append('<input type="hidden" name="g-recaptcha-response" value="'+t+'">'):a('form input[name="g-recaptcha-response"]',e).val(t)}))}))}var t=D("eael_login_error_"+n);t&&(a(".eael-form-validation-container",e).html('<p class="eael-form-msg invalid">'.concat(t,"</p>")),$("eael_login_error_"+n));var o=D("eael_register_errors_"+n);o&&(a(".eael-form-validation-container",e).html('<div class="eael-form-msg invalid">'.concat(o,"</div>")),$("eael_register_errors_"+n))})),E&&isEditMode)R();else{var L=window.performance.getEntriesByType("navigation");L.length>0&&L[0].loadEventEnd>0?E&&R():a(window).on("load",(function(){E&&R()}))}})),jQuery(document).on("elementor/popup/show",(function(a,t,n){e(n.$element)})),eael.hooks.addAction("ea-lightbox-triggered","ea",(function(a){var t=jQuery(a);t.find(".cf-turnstile").html(""),e(t)}))}))}});!function(e){var t={};function a(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(o,r,function(t){return e[t]}.bind(null,r));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=39)}({39:function(e,t){eael.hooks.addAction("init","ea",(function(){eael.elementStatusCheck("productGalleryLoad")&&void 0===window.forceFullyRun||elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-product-gallery.default",(function(e,t){eael.hooks.doAction("quickViewAddMarkup",e,t);var a=t(".eael-cat-tab",e);t(".eael-cat-tab li:first a",e).addClass("active"),a.on("click","a",(function(o){o.preventDefault();var r=t(this);if(r.hasClass("active"))return!1;t(".eael-cat-tab li a",e).removeClass("active"),r.addClass("active"),localStorage.setItem("eael-cat-tab","true");var d=a.data("class"),n=a.data("widget"),i=a.data("page-id"),s=a.data("nonce"),c=a.data("args"),l=a.data("layout"),u=".elementor-element-"+n,p=a.data("template"),m={taxonomy:t(".eael-cat-tab li a.active",e).data("taxonomy"),field:"term_id",terms:t(".eael-cat-tab li a.active",e).data("id"),terms_tag:t(".eael-cat-tab li a.active",e).data("tagid")};t.ajax({url:localize.ajaxurl,type:"POST",data:{action:"eael_product_gallery",class:d,args:c,taxonomy:m,template_info:p,page:1,page_id:i,widget_id:n,nonce:s},beforeSend:function(){t(u+" .woocommerce").addClass("eael-product-loader")},success:function(a){var o=t(a);if(o.hasClass("no-posts-found")||0==o.length)t(".elementor-element-"+n+" .eael-product-gallery .woocommerce .eael-post-appender").empty().append('<h2 class="eael-product-not-found">No Product Found</h2>'),t(".eael-load-more-button",e).addClass("hide-load-more");else{t(".elementor-element-"+n+" .eael-product-gallery .woocommerce .eael-post-appender").empty().append(o);var r=t("<div>"+a+"</div>").find(".eael-max-page").text(),d=t(".eael-load-more-button",e);if(r&&d.data("page")>=r?d.addClass("hide-load-more"):d.removeClass("hide-load-more"),d.data("max-page",r),"masonry"===l){var i=t(".eael-product-gallery .products",e);i.isotope("destroy");var s=i.isotope({itemSelector:"li.product",layoutMode:l,percentPosition:!0});s.imagesLoaded().progress((function(){s.isotope("layout")}))}}},complete:function(){t(u+" .woocommerce").removeClass("eael-product-loader")},error:function(e){console.log(e)}})})),eael.hooks.doAction("quickViewPopupViewInit",e,t),isEditMode&&t(".eael-product-image-wrap .woocommerce-product-gallery").css("opacity","1");var o=dataSrcHover=srcset=srcsetHover="";t(document).on("mouseover",".eael-product-wrap",(function(){var a=t("body").attr("data-elementor-device-mode");"yes"===e.find(".products.eael-post-appender").attr("data-ssi-"+a)&&(o=t(this).data("src"),dataSrcHover=t(this).data("src-hover"),srcset=t(this).find("img").attr("srcset"),dataSrcHover&&(t(this).find("img").attr("srcset-hover",srcset),t(this).find("img").attr("src",dataSrcHover),t(this).find("img").attr("srcset",dataSrcHover)))})).on("mouseout",".eael-product-wrap",(function(){var a=t("body").attr("data-elementor-device-mode");"yes"===e.find(".products.eael-post-appender").attr("data-ssi-"+a)&&(o=t(this).data("src"),dataSrcHover=t(this).data("src-hover"),srcsetHover=t(this).find("img").attr("srcset-hover"),dataSrcHover&&(t(this).find("img").attr("src",o),t(this).find("img").attr("srcset",srcsetHover),t(this).find("img").attr("srcset-hover","")))})),window.addEventListener("pageshow",(function(e){e.persisted&&setTimeout((function(){window.location.reload()}),10)}),!1)}))}))}});!function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}({18:function(e,t){eael.hooks.addAction("init","ea",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-interactive-circle.default",(function(e,t){var n=e.find(".eael-circle-wrapper"),i="mouseenter",a=n.data("appearance"),r=n.data("autoplay"),c=parseInt(n.data("autoplay-interval")),o=0,l=e.find(".eael-circle-btn.active");if(l.length>1&&(l.not(":last").removeClass("active"),l.siblings(".eael-circle-btn-content").removeClass("active")),"eael-interactive-circle-animation-0"!==a){var s=e.find(".eael-circle-content"),u=e.find(".eael-circle-btn.active");t("body").scroll((function(){n.isInViewport()&&t(window).trigger("resize")})),t(s).waypoint((function(){n.addClass(a),!0===u&&setTimeout((function(){u.siblings(".eael-circle-btn-content").addClass("active")}),1700)}),{offset:"80%",triggerOnce:!0})}n.hasClass("eael-interactive-circle-event-click")&&(i="click");var f=n.find(".eael-circle-btn"),d=n.find(".eael-circle-btn-content");function v(){var e=0;f.each((function(n){t(this).hasClass("active")&&(e=(e=n+1)>=f.length?0:e)})),setTimeout((function(){t(f[e]).trigger("eaelInteractiveCicle")}),300)}function h(e){return function(e){var n=t(this);0==t(this).hasClass("active")&&(f.each((function(e){t(this).removeClass("active")})),n.addClass("active"),d.each((function(e){t(this).removeClass("active"),t(this).hasClass(n.attr("id"))&&t(this).addClass("active")}))),o=e.originalEvent?1:0}}e.on("keyup",".eael-circle-btn",(function(e){9!==e.which&&32!==e.which||t(this).trigger(i)})),f.each((function(e){t(this).on(i,h(e)),t(this).on("eaelInteractiveCicle",h(e))})),r&&setInterval((function(){o?setTimeout((function(){v()}),5e3):v()}),c)}))}))}});!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=31)}({31:function(e,t){var o=function(e,t){var o=t(".eael-svg-draw-container",e),r=(e.data("id"),t("svg",o)),n=o.data("settings"),i=Number(n.transition),l=Number(n.loop_delay),a=t("path, circle, rect, polygon",r);if(null!=n&&n.has_pro)return!1;var f={linear:"linear","power1.in":"cubic-bezier(0.55, 0.085, 0.68, 0.53)","power1.out":"cubic-bezier(0.25, 0.46, 0.45, 0.94)","power1.inOut":"cubic-bezier(0.455, 0.03, 0.515, 0.955)","power2.in":"cubic-bezier(0.55, 0.055, 0.675, 0.19)","power2.out":"cubic-bezier(0.215, 0.61, 0.355, 1)","power2.inOut":"cubic-bezier(0.645, 0.045, 0.355, 1)","power3.in":"cubic-bezier(0.895, 0.03, 0.685, 0.22)","power3.out":"cubic-bezier(0.165, 0.84, 0.44, 1)","power3.inOut":"cubic-bezier(0.77, 0, 0.175, 1)","power4.in":"cubic-bezier(0.895, 0.03, 0.685, 0.22)","power4.out":"cubic-bezier(0.165, 0.84, 0.44, 1)","power4.inOut":"cubic-bezier(0.86, 0, 0.07, 1)",none:"linear",ease:"ease","ease-in":"ease-in","ease-out":"ease-out","ease-in-out":"ease-in-out"};function s(e){return f[e]||"linear"}function c(e,o,r){t.each(e,(function(e,t){t.animate({fill:[getComputedStyle(t).fill,o]},{duration:1e3*r,fill:"forwards",easing:"ease"})}))}function u(){t.each(a,(function(e,t){var o=t.getTotalLength()*(.01*n.stroke_length);t.style.strokeDasharray=o,t.style.strokeDashoffset=o}));var e=[],o=!1,f="yes"===n.loop,u="reverse"===n.direction;function p(){t.each(a,(function(t,o){var r=o.animate({strokeDashoffset:[o.style.strokeDashoffset,0]},{duration:1e3*n.speed,fill:"forwards",easing:s(n.ease_type)});e.push(r)})),e[0].onfinish=function(){o||(""!==n.fill_color&&("after"===n.fill_type?(c(a,n.fill_color,i),u&&setTimeout((function(){o||c(a,n.fill_color+"00",i)}),1e3*l)):"before"===n.fill_type&&c(a,n.fill_color+"00",i)),f&&setTimeout((function(){o||(u?(e=[],t.each(a,(function(t,o){var r=parseFloat(o.style.strokeDashoffset)||0,i=o.getTotalLength()*(.01*n.stroke_length),l=o.animate({strokeDashoffset:[r,i]},{duration:1e3*n.speed,fill:"forwards",easing:s(n.ease_type)});e.push(l)})),e[0].onfinish=function(){o||setTimeout((function(){o||d()}),1e3*l)}):d())}),1e3*l))}}function d(){t.each(a,(function(e,t){var o=t.getTotalLength()*(.01*n.stroke_length);t.style.strokeDashoffset=o})),""!==n.fill_color&&("after"===n.fill_type&&"restart"===n.direction?c(a,n.fill_color+"00",i):"before"===n.fill_type&&c(a,n.fill_color,i)),e=[],p()}""!==n.fill_color&&("after"===n.fill_type&&"restart"===n.direction?c(a,n.fill_color+"00",i):"before"===n.fill_type&&c(a,n.fill_color,i)),p(),"yes"===n.pause&&r.hover((function(){o=!0,t.each(e,(function(e,t){t.pause()}))}),(function(){o=!1,t.each(e,(function(e,t){t.play()}))}))}if("always"!==n.fill_type&&"before"!==n.fill_type||c(a,n.fill_color,i),o.hasClass("page-load"))u();else if(o.hasClass("mouse-hover"))r.hover((function(){o.hasClass("draw-initialized")||(u(),o.addClass("draw-initialized"))}));else if(o.hasClass("page-scroll")){var p=function(e){if(e.includes("%"))return parseFloat(e)/100;return{top:0,center:.5,bottom:1}[e]||.5};t.each(a,(function(e,t){var o=t.getTotalLength()*(.01*n.stroke_length);t.style.strokeDasharray=o,t.style.strokeDashoffset=o}));var d=p(n.start_point),h=p(n.end_point),y=function(){var e=o[0].getBoundingClientRect(),r=window.innerHeight,i=r*(1-d),l=r*(1-h),f=0;if(e.top<=i&&e.top>=l?(f=(i-e.top)/(i-l),f=Math.max(0,Math.min(1,f))):e.top<l&&(f=1),t.each(a,(function(e,t){var o=t.getTotalLength()*(.01*n.stroke_length)*(1-f);t.style.strokeDashoffset=o})),""!==n.fill_color&&("before"===n.fill_type||"after"===n.fill_type)){var s=n.fill_color,c=n.fill_color+"00";"after"===n.fill_type&&(s=n.fill_color+"00",c=n.fill_color),f<.95?t.each(a,(function(e,t){t.style.fill=s})):f>.95&&t.each(a,(function(e,t){t.style.fill=c}))}};window.addEventListener("scroll",y,{passive:!0}),y(),o.on("remove",(function(){window.removeEventListener("scroll",y)}))}};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelDrawSVG"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/eael-svg-draw.default",o)}))}});!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=42)}({42:function(e,n){var t=function(e,n){if(void 0!==e.data("eael-wrapper-link"))if(e.hasClass("eael-non-traditional-link")){var t=e.data("eael-wrapper-link"),r="on"===t.is_external?"_blank":"_self";e.css("cursor","pointer"),e.on("click",(function(){var e=document.createElement("a");e.href=ea.sanitizeURL(t.url),e.target=r,"on"===t.nofollow&&(e.rel="nofollow"),e.click()}))}else{e.prev(".--eael-wrapper-link-tag").appendTo(e).css({background:"transparent",border:"none",position:"absolute",height:"100%",width:"100%",zIndex:"9999",top:0,left:0})}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",t)}))}});!function(e){var l={};function o(t){if(l[t])return l[t].exports;var a=l[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=e,o.c=l,o.d=function(e,l,t){o.o(e,l)||Object.defineProperty(e,l,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,l){if(1&l&&(e=o(e)),8&l)return e;if(4&l&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&l&&"string"!=typeof e)for(var a in e)o.d(t,a,function(l){return e[l]}.bind(null,a));return t},o.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(l,"a",l),l},o.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},o.p="",o(o.s=16)}({16:function(e,l){var o=function(e,l){var o,t,a,n,i,_,r,v,s,c,d,u,f,h,y,p,g,z,m,w,b,x,k,X,Y,E,M,j,D,T,O,S,P,Z,C,F,R,A,H=e.data("eael_rotate_effect"),Q=e.data("eael_scale_effect"),q=e.data("eael_skew_effect"),B=e.data("eael_opacity"),G=e.data("eael_blur_effect"),I=e.data("eael_contrast_effect"),J=e.data("eael_grayscale_effect"),K=e.data("eael_invert_effect"),L=e.data("eael_saturate_effect"),N=e.data("eael_sepia_effect"),U=e.data("id"),V=e.data("eael_blur_hover_effect"),W=e.data("eael_contrast_hover_effect"),$=e.data("eael_grayscal_hover_effect"),ee=e.data("eael_invert_hover_effect"),le=e.data("eael_saturate_hover_effect"),oe=e.data("eael_sepia_hover_effect"),te=e.data("eael_rotate_hover_effect"),ae=e.data("eael_scale_hover_effect"),ne=e.data("eael_skew_hover_effect"),ie=e.data("eael_opacity_hover"),_e=e.data("eael_duration"),re=e.data("eael_delay"),ve=e.data("eael_easing"),se=e.data("eael_hover_duration"),ce=e.data("eael_hover_delay"),de=e.data("eael_hover_easing"),ue=e.data("eael_offset_top"),fe=e.data("eael_offset_left"),he=e.data("eael_offset_hover_top"),ye=e.data("eael_offset_hover_left"),pe=e.data("eaeltilt"),ge=[];if(window.isEditMode){void 0===window.isRunFirstTime&&window.isEditMode;var ze=function(e){l.each(e,(function(e,l){var o=l.attributes.settings.attributes;"widget"===l.attributes.elType&&"yes"===o.eael_hover_effect_switch&&(ge.push(l.attributes.id),"yes"===o.eael_hover_effect_enable_live_changes&&(me[l.attributes.id]=l.attributes.settings.attributes)),"container"===l.attributes.elType&&ze(l.attributes.elements.models),"section"===l.attributes.elType&&ze(l.attributes.elements.models),"column"===l.attributes.elType&&ze(l.attributes.elements.models)}))};window.isRunFirstTime=!0;var me=[];for(var we in ze(window.elementor.elements.models),me)if(U===we){var be,xe,ke,Xe,Ye,Ee,Me,je,De,Te,Oe,Se,Pe,Ze,Ce,Fe,Re,Ae,He,Qe,qe,Be,Ge,Ie,Je;if("yes"===(null==me||null===(be=me[we])||void 0===be?void 0:be.eael_hover_effect_hover_tilt)&&(pe="eael_tilt"),"yes"===(null==me||null===(xe=me[we])||void 0===xe?void 0:xe.eael_hover_effect_opacity_popover))B={opacity:null==me||null===(Fe=me[we])||void 0===Fe||null===(Fe=Fe.eael_hover_effect_opacity)||void 0===Fe?void 0:Fe.size};if("yes"===(null==me||null===(ke=me[we])||void 0===ke?void 0:ke.eael_hover_effect_opacity_popover_hover))ie={opacity:null==me||null===(Re=me[we])||void 0===Re||null===(Re=Re.eael_hover_effect_opacity_hover)||void 0===Re?void 0:Re.size};if("yes"===(null==me||null===(Xe=me[we])||void 0===Xe?void 0:Xe.eael_hover_effect_filter_popover)){var Ke,Le,Ne,Ue,Ve,We,$e,el,ll,ol,tl,al;if("yes"===(null==me||null===(Ke=me[we])||void 0===Ke?void 0:Ke.eael_hover_effect_blur_is_on))G={blur:null==me||null===($e=me[we])||void 0===$e||null===($e=$e.eael_hover_effect_blur)||void 0===$e?void 0:$e.size};if("yes"===(null==me||null===(Le=me[we])||void 0===Le?void 0:Le.eael_hover_effect_contrast_is_on))I={contrast:null==me||null===(el=me[we])||void 0===el||null===(el=el.eael_hover_effect_contrast)||void 0===el?void 0:el.size};if("yes"===(null==me||null===(Ne=me[we])||void 0===Ne?void 0:Ne.eael_hover_effect_grayscale_is_on))J={grayscale:null==me||null===(ll=me[we])||void 0===ll||null===(ll=ll.eael_hover_effect_grayscal)||void 0===ll?void 0:ll.size};if("yes"===(null==me||null===(Ue=me[we])||void 0===Ue?void 0:Ue.eael_hover_effect_invert_is_on))K={invert:null==me||null===(ol=me[we])||void 0===ol||null===(ol=ol.eael_hover_effect_invert)||void 0===ol?void 0:ol.size};if("yes"===(null==me||null===(Ve=me[we])||void 0===Ve?void 0:Ve.eael_hover_effect_saturate_is_on))L={saturate:null==me||null===(tl=me[we])||void 0===tl||null===(tl=tl.eael_hover_effect_saturate)||void 0===tl?void 0:tl.size};if("yes"===(null==me||null===(We=me[we])||void 0===We?void 0:We.eael_hover_effect_sepia_is_on))N={sepia:null==me||null===(al=me[we])||void 0===al||null===(al=al.eael_hover_effect_sepia)||void 0===al?void 0:al.size}}if("yes"===(null==me||null===(Ye=me[we])||void 0===Ye?void 0:Ye.eael_hover_effect_filter_hover_popover)){var nl,il,_l,rl,vl,sl,cl,dl,ul,fl,hl,yl;if("yes"===(null==me||null===(nl=me[we])||void 0===nl?void 0:nl.eael_hover_effect_blur_hover_is_on))V={blur:null==me||null===(cl=me[we])||void 0===cl||null===(cl=cl.eael_hover_effect_blur_hover)||void 0===cl?void 0:cl.size};if("yes"===(null==me||null===(il=me[we])||void 0===il?void 0:il.eael_hover_effect_contrast_hover_is_on))W={contrast:null==me||null===(dl=me[we])||void 0===dl||null===(dl=dl.eael_hover_effect_contrast_hover)||void 0===dl?void 0:dl.size};if("yes"===(null==me||null===(_l=me[we])||void 0===_l?void 0:_l.eael_hover_effect_grayscale_hover_is_on))$={grayscale:null==me||null===(ul=me[we])||void 0===ul||null===(ul=ul.eael_hover_effect_grayscal_hover)||void 0===ul?void 0:ul.size};if("yes"===(null==me||null===(rl=me[we])||void 0===rl?void 0:rl.eael_hover_effect_invert_hover_is_on))ee={invert:null==me||null===(fl=me[we])||void 0===fl||null===(fl=fl.eael_hover_effect_invert_hover)||void 0===fl?void 0:fl.size};if("yes"===(null==me||null===(vl=me[we])||void 0===vl?void 0:vl.eael_hover_effect_saturate_hover_is_on))le={saturate:null==me||null===(hl=me[we])||void 0===hl||null===(hl=hl.eael_hover_effect_saturate_hover)||void 0===hl?void 0:hl.size};if("yes"===(null==me||null===(sl=me[we])||void 0===sl?void 0:sl.eael_hover_effect_sepia_is_on))oe={sepia:null==me||null===(yl=me[we])||void 0===yl||null===(yl=yl.eael_hover_effect_sepia_hover)||void 0===yl?void 0:yl.size}}if("yes"===(null==me||null===(Ee=me[we])||void 0===Ee?void 0:Ee.eael_hover_effect_offset_popover))ue={size:null==me||null===(Ae=me[we])||void 0===Ae||null===(Ae=Ae.eael_hover_effect_offset_top)||void 0===Ae?void 0:Ae.size,unit:null==me||null===(He=me[we])||void 0===He||null===(He=He.eael_hover_effect_offset_top)||void 0===He?void 0:He.unit},fe={size:null==me||null===(Qe=me[we])||void 0===Qe||null===(Qe=Qe.eael_hover_effect_offset_left)||void 0===Qe?void 0:Qe.size,unit:null==me||null===(qe=me[we])||void 0===qe||null===(qe=qe.eael_hover_effect_offset_left)||void 0===qe?void 0:qe.unit};if("yes"===(null==me||null===(Me=me[we])||void 0===Me?void 0:Me.eael_hover_effect_offset_hover_popover))he={size:null==me||null===(Be=me[we])||void 0===Be||null===(Be=Be.eael_hover_effect_offset_hover_top)||void 0===Be?void 0:Be.size,unit:null==me||null===(Ge=me[we])||void 0===Ge||null===(Ge=Ge.eael_hover_effect_offset_hover_top)||void 0===Ge?void 0:Ge.unit},ye={size:null==me||null===(Ie=me[we])||void 0===Ie||null===(Ie=Ie.eael_hover_effect_offset_hover_left)||void 0===Ie?void 0:Ie.size,unit:null==me||null===(Je=me[we])||void 0===Je||null===(Je=Je.eael_hover_effect_offset_hover_left)||void 0===Je?void 0:Je.unit};if("yes"===(null==me||null===(je=me[we])||void 0===je?void 0:je.eael_hover_effect_transform_popover)){var pl,gl,zl,ml,wl,bl,xl,kl,Xl,Yl;if("yes"===(null==me||null===(pl=me[we])||void 0===pl?void 0:pl.eael_hover_effect_rotate_is_on))H={rotate_x:null==me||null===(ml=me[we])||void 0===ml||null===(ml=ml.eael_hover_effect_transform_rotatex)||void 0===ml?void 0:ml.size,rotate_y:null==me||null===(wl=me[we])||void 0===wl||null===(wl=wl.eael_hover_effect_transform_rotatey)||void 0===wl?void 0:wl.size,rotate_z:null==me||null===(bl=me[we])||void 0===bl||null===(bl=bl.eael_hover_effect_transform_rotatez)||void 0===bl?void 0:bl.size};if("yes"===(null==me||null===(gl=me[we])||void 0===gl?void 0:gl.eael_hover_effect_scale_is_on))Q={scale_x:null==me||null===(xl=me[we])||void 0===xl||null===(xl=xl.eael_hover_effect_transform_scalex)||void 0===xl?void 0:xl.size,scale_y:null==me||null===(kl=me[we])||void 0===kl||null===(kl=kl.eael_hover_effect_transform_scaley)||void 0===kl?void 0:kl.size};if("yes"===(null==me||null===(zl=me[we])||void 0===zl?void 0:zl.eael_hover_effect_skew_is_on))q={skew_x:null==me||null===(Xl=me[we])||void 0===Xl||null===(Xl=Xl.eael_hover_effect_transform_skewx)||void 0===Xl?void 0:Xl.size,skew_y:null==me||null===(Yl=me[we])||void 0===Yl||null===(Yl=Yl.eael_hover_effect_transform_skewy)||void 0===Yl?void 0:Yl.size}}if("yes"===(null==me||null===(De=me[we])||void 0===De?void 0:De.eael_hover_effect_transform_hover_popover)){var El,Ml,jl,Dl,Tl,Ol,Sl,Pl,Zl,Cl;if("yes"===(null==me||null===(El=me[we])||void 0===El?void 0:El.eael_hover_effect_rotate_hover_is_on))te={rotate_x:null==me||null===(Dl=me[we])||void 0===Dl||null===(Dl=Dl.eael_hover_effect_transform_hover_rotatex)||void 0===Dl?void 0:Dl.size,rotate_y:null==me||null===(Tl=me[we])||void 0===Tl||null===(Tl=Tl.eael_hover_effect_transform_hover_rotatey)||void 0===Tl?void 0:Tl.size,rotate_z:null==me||null===(Ol=me[we])||void 0===Ol||null===(Ol=Ol.eael_hover_effect_transform_hover_rotatez)||void 0===Ol?void 0:Ol.size};if("yes"===(null==me||null===(Ml=me[we])||void 0===Ml?void 0:Ml.eael_hover_effect_scale_hover_is_on))ae={scale_x:null==me||null===(Sl=me[we])||void 0===Sl||null===(Sl=Sl.eael_hover_effect_transform_hover_scalex)||void 0===Sl?void 0:Sl.size,scale_y:null==me||null===(Pl=me[we])||void 0===Pl||null===(Pl=Pl.eael_hover_effect_transform_hover_scaley)||void 0===Pl?void 0:Pl.size};if("yes"===(null==me||null===(jl=me[we])||void 0===jl?void 0:jl.eael_hover_effect_skew_hover_is_on))ne={skew_x:null==me||null===(Zl=me[we])||void 0===Zl||null===(Zl=Zl.eael_hover_effect_transform_hover_skewx)||void 0===Zl?void 0:Zl.size,skew_y:null==me||null===(Cl=me[we])||void 0===Cl||null===(Cl=Cl.eael_hover_effect_transform_hover_skewy)||void 0===Cl?void 0:Cl.size}}_e={transitionDuration:null==me||null===(Te=me[we])||void 0===Te||null===(Te=Te.eael_hover_effect_general_settings_duration)||void 0===Te?void 0:Te.size},re={transitionDelay:null==me||null===(Oe=me[we])||void 0===Oe||null===(Oe=Oe.eael_hover_effect_general_settings_delay)||void 0===Oe?void 0:Oe.size},ve={transitionEasing:null==me||null===(Se=me[we])||void 0===Se?void 0:Se.eael_hover_effect_general_settings_easing},se={transitionDuration:null==me||null===(Pe=me[we])||void 0===Pe||null===(Pe=Pe.eael_hover_effect_general_settings_duration)||void 0===Pe?void 0:Pe.size},ce={transitionDelay:null==me||null===(Ze=me[we])||void 0===Ze||null===(Ze=Ze.eael_hover_effect_general_settings_delay)||void 0===Ze?void 0:Ze.size},de={transitionEasing:null==me||null===(Ce=me[we])||void 0===Ce?void 0:Ce.eael_hover_effect_general_settings_easing}}}var Fl=window.isEditMode?'body [data-id="'.concat(U,'"]'):'body .eael_hover_effect[data-id="'.concat(U,'"]'),Rl=l(Fl),Al=B?null===(o=B)||void 0===o?void 0:o.opacity:"1",Hl=null!==(t=ue)&&void 0!==t&&t.size?"translateX(".concat(ue.size).concat(ue.unit,")"):"translateX(0)",Ql=null!==(a=fe)&&void 0!==a&&a.size?"translateY(".concat(fe.size).concat(fe.unit,")"):"translateY(0)",ql=null!==(n=he)&&void 0!==n&&n.size?"translateX(".concat(he.size).concat(he.unit,")"):"translateX(0)",Bl=null!==(i=ye)&&void 0!==i&&i.size?"translateY(".concat(ye.size).concat(ye.unit,")"):"translateY(0)",Gl=_e?null===(_=_e)||void 0===_?void 0:_.transitionDuration:"0",Il=re?null===(r=re)||void 0===r?void 0:r.transitionDelay:"0",Jl=ve?null===(v=ve)||void 0===v?void 0:v.transitionEasing:"0",Kl=se?null===(s=se)||void 0===s?void 0:s.transitionDuration:"0",Ll=ce?null===(c=ce)||void 0===c?void 0:c.transitionDelay:"0",Nl=de?null===(d=de)||void 0===d?void 0:d.transitionEasing:"0",Ul=null!==(u=G)&&void 0!==u&&u.blur?"blur(".concat(G.blur,"px)"):"blur(0px)",Vl=null!==(f=I)&&void 0!==f&&f.contrast?"contrast(".concat(I.contrast,"%)"):"contrast(100%)",Wl=null!==(h=J)&&void 0!==h&&h.grayscale?"grayscale(".concat(J.grayscale,"%)"):"grayscale(0%)",$l=null!==(y=K)&&void 0!==y&&y.invert?"invert(".concat(K.invert,"%)"):"invert(0%)",eo=null!==(p=L)&&void 0!==p&&p.saturate?"saturate(".concat(L.saturate,"%)"):"saturate(100%)",lo=null!==(g=N)&&void 0!==g&&g.sepia?"sepia(".concat(N.sepia,"%)"):"sepia(0%)",oo=null!==(z=H)&&void 0!==z&&z.rotate_x?"rotateX(".concat(H.rotate_x,"deg)"):"rotateX(0)",to=null!==(m=H)&&void 0!==m&&m.rotate_y?"rotateY(".concat(H.rotate_y,"deg)"):"rotateY(0)",ao=null!==(w=H)&&void 0!==w&&w.rotate_z?"rotateZ(".concat(H.rotate_z,"deg)"):"rotateZ(0)",no=null!==(b=Q)&&void 0!==b&&b.scale_x?"scaleX(".concat(Q.scale_x,")"):"scaleX(1)",io=null!==(x=Q)&&void 0!==x&&x.scale_y?"scaleY(".concat(Q.scale_y,")"):"scaleY(1)",_o=null!==(k=q)&&void 0!==k&&k.skew_x?"skewX(".concat(q.skew_x,"deg)"):"skewX(0deg)",ro=null!==(X=q)&&void 0!==X&&X.skew_y?"skewY(".concat(q.skew_y,"deg)"):"skewY(0deg)",vo=ie?null===(Y=ie)||void 0===Y?void 0:Y.opacity:"1",so=null!==(E=te)&&void 0!==E&&E.rotate_x?"rotateX(".concat(te.rotate_x,"deg)"):"rotateX(0)",co=null!==(M=te)&&void 0!==M&&M.rotate_y?"rotateY(".concat(te.rotate_y,"deg)"):"rotateY(0)",uo=null!==(j=te)&&void 0!==j&&j.rotate_z?"rotateZ(".concat(te.rotate_z,"deg)"):"rotateZ(0)",fo=null!==(D=ae)&&void 0!==D&&D.scale_x?"scaleX(".concat(ae.scale_x,")"):"scaleX(1)",ho=null!==(T=ae)&&void 0!==T&&T.scale_y?"scaleY(".concat(ae.scale_y,")"):"scaleY(1)",yo=null!==(O=ne)&&void 0!==O&&O.skew_x?"skewX(".concat(ne.skew_x,"deg)"):"skewX(0)",po=null!==(S=ne)&&void 0!==S&&S.skew_y?"skewY(".concat(ne.skew_y,"deg)"):"skewY(0)",go=null!==(P=V)&&void 0!==P&&P.blur?"blur(".concat(V.blur,"px)"):"blur(0px)",zo=null!==(Z=W)&&void 0!==Z&&Z.contrast?"contrast(".concat(W.contrast,"%)"):"contrast(100%)",mo=null!==(C=$)&&void 0!==C&&C.grayscale?"grayscale(".concat($.grayscale,"%)"):"grayscale(0%)",wo=null!==(F=ee)&&void 0!==F&&F.invert?"invert(".concat(ee.invert,"%)"):"invert(0%)",bo=null!==(R=le)&&void 0!==R&&R.saturate?"saturate(".concat(le.saturate,"%)"):"saturate(100%)",xo=null!==(A=oe)&&void 0!==A&&A.sepia?"sepia(".concat(oe.sepia,"%)"):"sepia(0%)",ko={transform:"".concat(oo," ").concat(to," ").concat(ao," ").concat(no," ").concat(io," ").concat(_o," ").concat(ro," ").concat(Hl," ").concat(Ql),opacity:Al,filter:"".concat(Ul," ").concat(Vl," ").concat(Wl," ").concat($l," ").concat(eo," ").concat(lo),"transition-property":"all","transition-duration":"".concat(Gl,"ms"),"transition-delay":"".concat(Il,"ms"),"transition-timing-function":Jl,"z-index":1},Xo={opacity:vo,filter:"".concat(go," ").concat(zo," ").concat(mo," ").concat(wo," ").concat(bo," ").concat(xo),transform:"".concat(so," ").concat(co," ").concat(uo," ").concat(fo," ").concat(ho," ").concat(yo," ").concat(po," ").concat(ql," ").concat(Bl),"transition-property":"all","transition-duration":"".concat(Kl,"ms"),"transition-delay":"".concat(Ll,"ms"),"transition-timing-function":Nl,"z-index":2};(window.isEditMode&&ge.includes(U)||!window.isEditMode&&Rl.length)&&(Rl.hover((function(){l(this).css(Xo)}),(function(){l(this).css(ko)})),Rl.css(ko)),"eael_tilt"===pe&&(l(".elementor-element-".concat(U)).mousemove((function(e){var o=(e.pageX-l(this).offset().left-l(this).width()/2)/20,t=(l(this).height()/2-(e.pageY-l(this).offset().top))/20;l(this).hasClass("eael_hover_effect")&&l(this).css("transform","perspective(500px) rotateY("+o+"deg) rotateX("+t+"deg)")})),l(".elementor-element-".concat(U)).mouseleave((function(e){l(this).hasClass("eael_hover_effect")&&l(this).css("transform","rotateY(0) rotateX(0)")})))};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelHoverEffect"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/widget",o)}))}});!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=35)}({35:function(e,t){var n=function(e,t){var n=e.data("gradient_colors"),r=e.data("id");if(window.isEditMode){void 0===window.isRunFirstTime&&window.isEditMode;var i=function(e){t.each(e,(function(e,t){var n=t.attributes.settings.attributes;"widget"===t.attributes.elType&&"yes"===n.eael_vertical_text_orientation_switch&&"gradient"===n.eael_vto_writing_styling_type&&(o[t.attributes.id]=t.attributes.settings.attributes),"container"===t.attributes.elType&&i(t.attributes.elements.models),"section"===t.attributes.elType&&i(t.attributes.elements.models),"column"===t.attributes.elType&&i(t.attributes.elements.models)}))};window.isRunFirstTime=!0;var o=[];i(window.elementor.elements.models);var a=function(){if(r===l){var e=o[l].eael_vto_writing_gradient_color_repeater,n=[];if(e&&e.length>0&&(e.forEach((function(e){var t;e.attributes&&e.attributes.eael_vto_writing_gradient_color&&null!=e&&null!==(t=e.attributes)&&void 0!==t&&t.eael_vto_writing_gradient_color_location&&n.push({color:e.attributes.eael_vto_writing_gradient_color,location:e.attributes.eael_vto_writing_gradient_color_location.size+e.attributes.eael_vto_writing_gradient_color_location.unit})})),n.length>0)){var i=[];if(n&&Array.isArray(n)&&n.length>0){n.forEach((function(e){e.color&&e.location&&i.push("".concat(e.color," ").concat(e.location))}));var a=o[l].eael_vto_writing_gradient_color_angle.size?o[l].eael_vto_writing_gradient_color_angle.size+o[l].eael_vto_writing_gradient_color_angle.unit:"0deg",c=o[l].eael_vto_writing_gradient_color_angle_vertical.size?o[l].eael_vto_writing_gradient_color_angle_vertical.size+o[l].eael_vto_writing_gradient_color_angle_vertical.unit:"0deg",u=o[l].eael_vto_writing_text_animation_control;if(i.length>0){linearGradient="horizontal"===u?"linear-gradient(".concat(a,", ").concat(i.join(", "),")")+" -100% / 200%":"linear-gradient(".concat(c,", ").concat(i.join(", "),")")+" 0% 0% / 100% 200%";var d=[".elementor-heading-title",".elementor-text-editor p",".elementor-headline",".eael-dual-header",".eael-fancy-text-container"].map((function(e){return".elementor-element-".concat(r," ").concat(e)})).join(", ");t(d).css({background:linearGradient,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent","background-clip":"text"})}}}}};for(var l in o)a()}!function(){var i=[];if(n&&Array.isArray(n)&&n.length>0){n.forEach((function(e){e.color&&e.location&&i.push("".concat(e.color," ").concat(e.location))}));var o=e.data("gradient_color_angle"),a=e.data("animation_control");if(i.length>0){linearGradient="horizontal"===a?"linear-gradient(".concat(o,", ").concat(i.join(", "),")")+" -100% / 200%":"linear-gradient(".concat(o,", ").concat(i.join(", "),")")+" 0% 0% / 100% 200%";var l=[".elementor-heading-title","p",".elementor-headline",".eael-dual-header",".eael-fancy-text-container"].map((function(e){return".elementor-element-".concat(r," ").concat(e)})).join(", ");t(l).css({background:linearGradient,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent","background-clip":"text"})}}}()};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("eaelVerticalTextOrientation"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/widget",n)}))}});