PageSourceSearch

https://ftnmethod.com/scripts-5TKHXD3G.js

js ftnmethod.com collected 2026-09-24 11:43:38 UTC 390,155 bytes, 9 lines download raw bytes

1"use strict";(function(m,J){typeof exports=="object"&&typeof module<"u"?J(exports):typeof define=="function"&&define.amd?define(["exports"],J):J((m=typeof globalThis<"u"?globalThis:m||self).Popper={})})(this,(function(m){function J(y){return y==null?window:y.toString()!=="[object Window]"?(y=y.ownerDocument)&&y.defaultView||window:y}function W(y){return y instanceof J(y).Element||y instanceof Element}function b(y){return y instanceof J(y).HTMLElement||y instanceof HTMLElement}function se(y){return typeof ShadowRoot<"u"&&(y instanceof J(y).ShadowRoot||y instanceof ShadowRoot)}function ke(y,D){D===void 0&&(D=!1);var R=y.getBoundingClientRect(),N=1,F=1;return b(y)&&D&&(D=y.offsetHeight,0<(y=y.offsetWidth)&&(N=R.width/y||1),0<D&&(F=R.height/D||1)),{width:Ie(R.width/N),height:Ie(R.height/F),top:Ie(R.top/F),right:Ie(R.right/N),bottom:Ie(R.bottom/F),left:Ie(R.left/N),x:Ie(R.left/N),y:Ie(R.top/F)}}function q(y){return{scrollLeft:(y=J(y)).pageXOffset,scrollTop:y.pageYOffset}}function we(y){return y?(y.nodeName||"").toLowerCase():null}function ce(y){return((W(y)?y.ownerDocument:y.document)||window.document).documentElement}function Re(y){return ke(ce(y)).left+q(y).scrollLeft}function Ce(y){return J(y).getComputedStyle(y)}function Ue(y){return y=Ce(y),/auto|scroll|overlay|hidden/.test(y.overflow+y.overflowY+y.overflowX)}function et(y,D,R){R===void 0&&(R=!1);var N,F=b(D);if(N=b(D)){var z=(N=D.getBoundingClientRect()).height/D.offsetHeight||1;N=(N.width/D.offsetWidth||1)!==1||z!==1}z=N,N=ce(D),y=ke(y,z),z={scrollLeft:0,scrollTop:0};var j={x:0,y:0};return(F||!F&&!R)&&((we(D)!=="body"||Ue(N))&&(z=D!==J(D)&&b(D)?{scrollLeft:D.scrollLeft,scrollTop:D.scrollTop}:q(D)),b(D)?((j=ke(D,!0)).x+=D.clientLeft,j.y+=D.clientTop):N&&(j.x=Re(N))),{x:y.left+z.scrollLeft-j.x,y:y.top+z.scrollTop-j.y,width:y.width,height:y.height}}function st(y){var D=ke(y),R=y.offsetWidth,N=y.offsetHeight;return 1>=Math.abs(D.width-R)&&(R=D.width),1>=Math.abs(D.height-N)&&(N=D.height),{x:y.offsetLeft,y:y.offsetTop,width:R,height:N}}function Ye(y){return we(y)==="html"?y:y.assignedSlot||y.parentNode||(se(y)?y.host:null)||ce(y)}function Me(y){return 0<=["html","body","#document"].indexOf(we(y))?y.ownerDocument.body:b(y)&&Ue(y)?y:Me(Ye(y))}function Oe(y,D){var R;D===void 0&&(D=[]);var N=Me(y);return y=N===((R=y.ownerDocument)==null?void 0:R.body),R=J(N),N=y?[R].concat(R.visualViewport||[],Ue(N)?N:[]):N,D=D.concat(N),y?D:D.concat(Oe(Ye(N)))}function qt(y){return b(y)&&Ce(y).position!=="fixed"?y.offsetParent:null}function be(y){for(var D=J(y),R=qt(y);R&&0<=["table","td","th"].indexOf(we(R))&&Ce(R).position==="static";)R=qt(R);if(R&&(we(R)==="html"||we(R)==="body"&&Ce(R).position==="static"))return D;if(!R)e:{if(R=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,navigator.userAgent.indexOf("Trident")===-1||!b(y)||Ce(y).position!=="fixed")for(y=Ye(y);b(y)&&0>["html","body"].indexOf(we(y));){var N=Ce(y);if(N.transform!=="none"||N.perspective!=="none"||N.contain==="paint"||["transform","perspective"].indexOf(N.willChange)!==-1||R&&N.willChange==="filter"||R&&N.filter&&N.filter!=="none"){R=y;break e}y=y.parentNode}R=null}return R||D}function He(y){function D(z){N.add(z.name),[].concat(z.requires||[],z.requiresIfExists||[]).forEach((function(j){N.has(j)||(j=R.get(j))&&D(j)})),F.push(z)}var R=new Map,N=new Set,F=[];return y.forEach((function(z){R.set(z.name,z)})),y.forEach((function(z){N.has(z.name)||D(z)})),F}function Ze(y){var D;return function(){return D||(D=new Promise((function(R){Promise.resolve().then((function(){D=void 0,R(y())}))}))),D}}function tt(y){return y.split("-")[0]}function It(y,D){var R=D.getRootNode&&D.getRootNode();if(y.contains(D))return!0;if(R&&se(R))do{if(D&&y.isSameNode(D))return!0;D=D.parentNode||D.host}while(D);return!1}function Qt(y){return Object.assign({},y,{left:y.x,top:y.y,right:y.x+y.width,bottom:y.y+y.height})}function wn(y,D){if(D==="viewport"){D=J(y);var R=ce(y);D=D.visualViewport;var N=R.clientWidth;R=R.clientHeight;var F=0,z=0;D&&(N=D.width,R=D.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(F=D.offsetLeft,z=D.offsetTop)),y=Qt(y={width:N,height:R,x:F+Re(y),y:z})}else b(D)?((y=ke(D)).top+=D.clientTop,y.left+=D.clientLeft,y.bottom=y.top+D.clientHeight,y.right=y.left+D.clientWidth,y.width=D.clientWidth,y.height=D.clientHeight,y.x=y.left,y.y=y.top):(z=ce(y),y=ce(z),N=q(z),D=(R=z.ownerDocument)==null?void 0:R.body,R=je(y.scrollWidth,y.clientWidth,D?D.scrollWidth:0,D?D.clientWidth:0),F=je(y.scrollHeight,y.clientHeight,D?D.scrollHeight:0,D?D.clientHeight:0),z=-N.scrollLeft+Re(z),N=-N.scrollTop,Ce(D||y).direction==="rtl"&&(z+=je(y.clientWidth,D?D.clientWidth:0)-R),y=Qt({width:R,height:F,x:z,y:N}));return y}function at(y,D,R){return D=D==="clippingParents"?(function(N){var F=Oe(Ye(N)),z=0<=["absolute","fixed"].indexOf(Ce(N).position)&&b(N)?be(N):N;return W(z)?F.filter((function(j){return W(j)&&It(j,z)&&we(j)!=="body"})):[]})(y):[].concat(D),(R=(R=[].concat(D,[R])).reduce((function(N,F){return F=wn(y,F),N.top=je(F.top,N.top),N.right=$e(F.right,N.right),N.bottom=$e(F.bottom,N.bottom),N.left=je(F.left,N.left),N}),wn(y,R[0]))).width=R.right-R.left,R.height=R.bottom-R.top,R.x=R.left,R.y=R.top,R}function nt(y){return y.split("-")[1]}function Gt(y){return 0<=["top","bottom"].indexOf(y)?"x":"y"}function Bn(y){var D=y.reference,R=y.element,N=(y=y.placement)?tt(y):null;y=y?nt(y):null;var F=D.x+D.width/2-R.width/2,z=D.y+D.height/2-R.height/2;switch(N){case"top":F={x:F,y:D.y-R.height};break;case"bottom":F={x:F,y:D.y+D.height};break;case"right":F={x:D.x+D.width,y:z};break;case"left":F={x:D.x-R.width,y:z};break;default:F={x:D.x,y:D.y}}if((N=N?Gt(N):null)!=null)switch(z=N==="y"?"height":"width",y){case"start":F[N]-=D[z]/2-R[z]/2;break;case"end":F[N]+=D[z]/2-R[z]/2}return F}function Jt(y){return Object.assign({},{top:0,right:0,bottom:0,left:0},y)}function Nt(y,D){return D.reduce((function(R,N){return R[N]=y,R}),{})}function yt(y,D){D===void 0&&(D={});var R=D;D=(D=R.placement)===void 0?y.placement:D;var N=R.boundary,F=N===void 0?"clippingParents":N,z=(N=R.rootBoundary)===void 0?"viewport":N;N=(N=R.elementContext)===void 0?"popper":N;var j=R.altBoundary,Q=j!==void 0&&j;R=Jt(typeof(R=(R=R.padding)===void 0?0:R)!="number"?R:Nt(R,lt)),j=y.rects.popper,F=at(W(Q=y.elements[Q?N==="popper"?"reference":"popper":N])?Q:Q.contextElement||ce(y.elements.popper),F,z),Q=Bn({reference:z=ke(y.elements.reference),element:j,strategy:"absolute",placement:D}),j=Qt(Object.assign({},j,Q)),z=N==="popper"?j:z;
1var $={top:F.top-z.top+R.top,bottom:z.bottom-F.bottom+R.bottom,left:F.left-z.left+R.left,right:z.right-F.right+R.right};if(y=y.modifiersData.offset,N==="popper"&&y){var _e=y[D];Object.keys($).forEach((function(te){var oe=0<=["right","bottom"].indexOf(te)?1:-1,re=0<=["top","bottom"].indexOf(te)?"y":"x";$[te]+=_e[re]*oe}))}return $}function en(){for(var y=arguments.length,D=Array(y),R=0;R<y;R++)D[R]=arguments[R];return!D.some((function(N){return!(N&&typeof N.getBoundingClientRect=="function")}))}function St(y){y===void 0&&(y={});var D=y.defaultModifiers,R=D===void 0?[]:D,N=(y=y.defaultOptions)===void 0?Bt:y;return function(F,z,j){function Q(){_e.forEach((function(re){return re()})),_e=[]}j===void 0&&(j=N);var $={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bt,N),modifiersData:{},elements:{reference:F,popper:z},attributes:{},styles:{}},_e=[],te=!1,oe={state:$,setOptions:function(re){return re=typeof re=="function"?re($.options):re,Q(),$.options=Object.assign({},N,$.options,re),$.scrollParents={reference:W(F)?Oe(F):F.contextElement?Oe(F.contextElement):[],popper:Oe(z)},re=(function(ie){var he=He(ie);return ze.reduce((function(de,pe){return de.concat(he.filter((function(I){return I.phase===pe})))}),[])})((function(ie){var he=ie.reduce((function(de,pe){var I=de[pe.name];return de[pe.name]=I?Object.assign({},I,pe,{options:Object.assign({},I.options,pe.options),data:Object.assign({},I.data,pe.data)}):pe,de}),{});return Object.keys(he).map((function(de){return he[de]}))})([].concat(R,$.options.modifiers))),$.orderedModifiers=re.filter((function(ie){return ie.enabled})),$.orderedModifiers.forEach((function(ie){var he=ie.name,de=ie.options;de=de===void 0?{}:de,typeof(ie=ie.effect)=="function"&&(he=ie({state:$,name:he,instance:oe,options:de}),_e.push(he||function(){}))})),oe.update()},forceUpdate:function(){if(!te){var re=$.elements,ie=re.reference;if(en(ie,re=re.popper))for($.rects={reference:et(ie,be(re),$.options.strategy==="fixed"),popper:st(re)},$.reset=!1,$.placement=$.options.placement,$.orderedModifiers.forEach((function(pe){return $.modifiersData[pe.name]=Object.assign({},pe.data)})),ie=0;ie<$.orderedModifiers.length;ie++)if($.reset===!0)$.reset=!1,ie=-1;else{var he=$.orderedModifiers[ie];re=he.fn;var de=he.options;de=de===void 0?{}:de,he=he.name,typeof re=="function"&&($=re({state:$,options:de,name:he,instance:oe})||$)}}},update:Ze((function(){return new Promise((function(re){oe.forceUpdate(),re($)}))})),destroy:function(){Q(),te=!0}};return en(F,z)&&oe.setOptions(j).then((function(re){!te&&j.onFirstUpdate&&j.onFirstUpdate(re)})),oe}}function tn(y){var D,R=y.popper,N=y.popperRect,F=y.placement,z=y.variation,j=y.offsets,Q=y.position,$=y.gpuAcceleration,_e=y.adaptive;if((y=y.roundOffsets)===!0){y=j.y;var te=window.devicePixelRatio||1;y={x:Ht(Ht(j.x*te)/te)||0,y:Ht(Ht(y*te)/te)||0}}else y=typeof y=="function"?y(j):j;y=(y=(te=y).x)===void 0?0:y,te=(te=te.y)===void 0?0:te;var oe=j.hasOwnProperty("x");j=j.hasOwnProperty("y");var re,ie="left",he="top",de=window;if(_e){var pe=be(R),I="clientHeight",Xe="clientWidth";pe===J(R)&&Ce(pe=ce(R)).position!=="static"&&Q==="absolute"&&(I="scrollHeight",Xe="scrollWidth"),F!=="top"&&(F!=="left"&&F!=="right"||z!=="end")||(he="bottom",te-=pe[I]-N.height,te*=$?1:-1),F!=="left"&&(F!=="top"&&F!=="bottom"||z!=="end")||(ie="right",y-=pe[Xe]-N.width,y*=$?1:-1)}return R=Object.assign({position:Q},_e&&Cn),$?Object.assign({},R,((re={})[he]=j?"0":"",re[ie]=oe?"0":"",re.transform=1>=(de.devicePixelRatio||1)?"translate("+y+"px, "+te+"px)":"translate3d("+y+"px, "+te+"px, 0)",re)):Object.assign({},R,((D={})[he]=j?te+"px":"",D[ie]=oe?y+"px":"",D.transform="",D))}function Pt(y){return y.replace(/left|right|bottom|top/g,(function(D){return kt[D]}))}function Ot(y){return y.replace(/start|end/g,(function(D){return Et[D]}))}function nn(y,D,R){return R===void 0&&(R={x:0,y:0}),{top:y.top-D.height-R.y,right:y.right-D.width+R.x,bottom:y.bottom-D.height+R.y,left:y.left-D.width-R.x}}function U(y){return["top","right","bottom","left"].some((function(D){return 0<=y[D]}))}var Ie=Math.round,lt=["top","bottom","right","left"],rt=lt.reduce((function(y,D){return y.concat([D+"-start",D+"-end"])}),[]),dt=[].concat(lt,["auto"]).reduce((function(y,D){return y.concat([D,D+"-start",D+"-end"])}),[]),ze="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),je=Math.max,$e=Math.min,Ht=Math.round,Bt={placement:"bottom",modifiers:[],strategy:"absolute"},xe={passive:!0},ee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(y){var D=y.state,R=y.instance,N=(y=y.options).scroll,F=N===void 0||N,z=(y=y.resize)===void 0||y,j=J(D.elements.popper),Q=[].concat(D.scrollParents.reference,D.scrollParents.popper);return F&&Q.forEach((function($){$.addEventListener("scroll",R.update,xe)})),z&&j.addEventListener("resize",R.update,xe),function(){F&&Q.forEach((function($){$.removeEventListener("scroll",R.update,xe)})),z&&j.removeEventListener("resize",R.update,xe)}},data:{}},Yt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(y){var D=y.state;D.modifiersData[y.name]=Bn({reference:D.rects.reference,element:D.rects.popper,strategy:"absolute",placement:D.placement})},data:{}},Cn={top:"auto",right:"auto",bottom:"auto",left:"auto"},rn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(y){var D=y.state,R=y.options;y=(y=R.gpuAcceleration)===void 0||y;var N=R.adaptive;
1N=N===void 0||N,R=(R=R.roundOffsets)===void 0||R,y={placement:tt(D.placement),variation:nt(D.placement),popper:D.elements.popper,popperRect:D.rects.popper,gpuAcceleration:y},D.modifiersData.popperOffsets!=null&&(D.styles.popper=Object.assign({},D.styles.popper,tn(Object.assign({},y,{offsets:D.modifiersData.popperOffsets,position:D.options.strategy,adaptive:N,roundOffsets:R})))),D.modifiersData.arrow!=null&&(D.styles.arrow=Object.assign({},D.styles.arrow,tn(Object.assign({},y,{offsets:D.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:R})))),D.attributes.popper=Object.assign({},D.attributes.popper,{"data-popper-placement":D.placement})},data:{}},pt={name:"applyStyles",enabled:!0,phase:"write",fn:function(y){var D=y.state;Object.keys(D.elements).forEach((function(R){var N=D.styles[R]||{},F=D.attributes[R]||{},z=D.elements[R];b(z)&&we(z)&&(Object.assign(z.style,N),Object.keys(F).forEach((function(j){var Q=F[j];Q===!1?z.removeAttribute(j):z.setAttribute(j,Q===!0?"":Q)})))}))},effect:function(y){var D=y.state,R={popper:{position:D.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(D.elements.popper.style,R.popper),D.styles=R,D.elements.arrow&&Object.assign(D.elements.arrow.style,R.arrow),function(){Object.keys(D.elements).forEach((function(N){var F=D.elements[N],z=D.attributes[N]||{};N=Object.keys(D.styles.hasOwnProperty(N)?D.styles[N]:R[N]).reduce((function(j,Q){return j[Q]="",j}),{}),b(F)&&we(F)&&(Object.assign(F.style,N),Object.keys(z).forEach((function(j){F.removeAttribute(j)})))}))}},requires:["computeStyles"]},ft={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(y){var D=y.state,R=y.name,N=(y=y.options.offset)===void 0?[0,0]:y,F=(y=dt.reduce((function(j,Q){var $=D.rects,_e=tt(Q),te=0<=["left","top"].indexOf(_e)?-1:1,oe=typeof N=="function"?N(Object.assign({},$,{placement:Q})):N;return $=($=oe[0])||0,oe=((oe=oe[1])||0)*te,_e=0<=["left","right"].indexOf(_e)?{x:oe,y:$}:{x:$,y:oe},j[Q]=_e,j}),{}))[D.placement],z=F.x;F=F.y,D.modifiersData.popperOffsets!=null&&(D.modifiersData.popperOffsets.x+=z,D.modifiersData.popperOffsets.y+=F),D.modifiersData[R]=y}},kt={left:"right",right:"left",bottom:"top",top:"bottom"},Et={start:"end",end:"start"},on={name:"flip",enabled:!0,phase:"main",fn:function(y){var D=y.state,R=y.options;if(y=y.name,!D.modifiersData[y]._skip){var N=R.mainAxis;N=N===void 0||N;var F=R.altAxis;F=F===void 0||F;var z=R.fallbackPlacements,j=R.padding,Q=R.boundary,$=R.rootBoundary,_e=R.altBoundary,te=R.flipVariations,oe=te===void 0||te,re=R.allowedAutoPlacements;te=tt(R=D.options.placement),z=z||(te!==R&&oe?(function(Ke){if(tt(Ke)==="auto")return[];var Dt=Pt(Ke);return[Ot(Ke),Dt,Ot(Dt)]})(R):[Pt(R)]);var ie=[R].concat(z).reduce((function(Ke,Dt){return Ke.concat(tt(Dt)==="auto"?(function(Tn,Be){Be===void 0&&(Be={});var Qe=Be.boundary,Ln=Be.rootBoundary,Fn=Be.padding,ln=Be.flipVariations,wt=Be.allowedAutoPlacements,Sn=wt===void 0?dt:wt,kn=nt(Be.placement);(ln=(Be=kn?ln?rt:rt.filter((function(Ct){return nt(Ct)===kn})):lt).filter((function(Ct){return 0<=Sn.indexOf(Ct)}))).length===0&&(ln=Be);var Rn=ln.reduce((function(Ct,Zt){return Ct[Zt]=yt(Tn,{placement:Zt,boundary:Qe,rootBoundary:Ln,padding:Fn})[tt(Zt)],Ct}),{});return Object.keys(Rn).sort((function(Ct,Zt){return Rn[Ct]-Rn[Zt]}))})(D,{placement:Dt,boundary:Q,rootBoundary:$,padding:j,flipVariations:oe,allowedAutoPlacements:re}):Dt)}),[]);R=D.rects.reference,z=D.rects.popper;var he=new Map;te=!0;for(var de=ie[0],pe=0;pe<ie.length;pe++){var I=ie[pe],Xe=tt(I),bt=nt(I)==="start",Ne=0<=["top","bottom"].indexOf(Xe),_t=Ne?"width":"height",Te=yt(D,{placement:I,boundary:Q,rootBoundary:$,altBoundary:_e,padding:j});if(bt=Ne?bt?"right":"left":bt?"bottom":"top",R[_t]>z[_t]&&(bt=Pt(bt)),_t=Pt(bt),Ne=[],N&&Ne.push(0>=Te[Xe]),F&&Ne.push(0>=Te[bt],0>=Te[_t]),Ne.every((function(Ke){return Ke}))){de=I,te=!1;break}he.set(I,Ne)}if(te)for(N=function(Ke){var Dt=ie.find((function(Tn){if(Tn=he.get(Tn))return Tn.slice(0,Ke).every((function(Be){return Be}))}));if(Dt)return de=Dt,"break"},F=oe?3:1;0<F&&N(F)!=="break";F--);D.placement!==de&&(D.modifiersData[y]._skip=!0,D.placement=de,D.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},an={name:"preventOverflow",enabled:!0,phase:"main",fn:function(y){var D=y.state,R=y.options;y=y.name;var N=R.mainAxis,F=N===void 0||N,z=(N=R.altAxis)!==void 0&&N;N=(N=R.tether)===void 0||N;var j=R.tetherOffset,Q=j===void 0?0:j,$=yt(D,{boundary:R.boundary,rootBoundary:R.rootBoundary,padding:R.padding,altBoundary:R.altBoundary});R=tt(D.placement);var _e=nt(D.placement),te=!_e,oe=Gt(R);R=oe==="x"?"y":"x",j=D.modifiersData.popperOffsets;var re=D.rects.reference,ie=D.rects.popper,he=typeof Q=="function"?Q(Object.assign({},D.rects,{placement:D.placement})):Q;if(Q={x:0,y:0},j){if(F||z){var de=oe==="y"?"top":"left",pe=oe==="y"?"bottom":"right",I=oe==="y"?"height":"width",Xe=j[oe],bt=j[oe]+$[de],Ne=j[oe]-$[pe],_t=N?-ie[I]/2:0,Te=_e==="start"?re[I]:ie[I];_e=_e==="start"?-ie[I]:-re[I],ie=D.elements.arrow,ie=N&&ie?st(ie):{width:0,height:0};var Ke=D.modifiersData["arrow#persistent"]?D.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};de=Ke[de],pe=Ke[pe],ie=je(0,$e(re[I],ie[I])),Te=te?re[I]/2-_t-ie-de-he:Te-ie-de-he,re=te?-re[I]/2+_t+ie+pe+he:_e+ie+pe+he,te=D.elements.arrow&&be(D.elements.arrow),he=D.modifiersData.offset?D.modifiersData.offset[D.placement][oe]:0,te=j[oe]+Te-he-(te?oe==="y"?te.clientTop||0:te.clientLeft||0:0),re=j[oe]+re-he,F&&(F=N?$e(bt,te):bt,Ne=N?je(Ne,re):Ne,F=je(F,$e(Xe,Ne)),j[oe]=F,Q[oe]=F-Xe),z&&(F=(z=j[R])+$[oe==="x"?"top":"left"],$=z-$[oe==="x"?"bottom":"right"],F=N?$e(F,te):F,N=N?je($,re):$,N=je(F,$e(z,N)),j[R]=N,Q[R]=N-z)}D.modifiersData[y]=Q}},requiresIfExists:["offset"]},ht={name:"arrow",enabled:!0,phase:"main",fn:function(y){var D,R=y.state,N=y.name,F=y.options,z=R.elements.arrow,j=R.modifiersData.popperOffsets,Q=tt(R.placement);if(y=Gt(Q),Q=0<=["left","right"].indexOf(Q)?"height":"width",z&&j){F=Jt(typeof(F=typeof(F=F.padding)=="function"?F(Object.assign({},R.rects,{placement:R.placement})):F)!="number"?F:Nt(F,lt));var $=st(z),_e=y==="y"?"top":"left",te=y==="y"?"bottom":"right",oe=R.rects.reference[Q]+R.rects.reference[y]-j[y]-R.rects.popper[Q];j=j[y]-R.rects.reference[y],j=(z=(z=be(z))?y==="y"?z.clientHeight||0:z.clientWidth||0:0)/2-$[Q]/2+(oe/2-j/2),Q=je(F[_e],$e(j,z-$[Q]-F[te])),R.modifiersData[N]=((D={})[y]=Q,D.centerOffset=Q-j,D)}},effect:function(y){var D=y.state;if((y=(y=y.options.element)===void 0?"[data-popper-arrow]":y)!=null){if(typeof y=="string"&&!(y=D.elements.popper.querySelector(y)))return;It(D.elements.popper,y)&&(D.elements.arrow=y)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Lt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(y){var D=y.state;y=y.name;var R=D.rects.reference,N=D.rects.popper,F=D.modifiersData.preventOverflow,z=yt(D,{elementContext:"reference"}),j=yt(D,{altBoundary:!0});R=nn(z,R),N=nn(j,N,F),F=U(R),j=U(N),D.modifiersData[y]={referenceClippingOffsets:R,popperEscapeOffsets:N,isReferenceHidden:F,hasPopperEscaped:j},D.attributes.popper=Object.assign({},D.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":j})}},ut=St({defaultModifiers:[ee,Yt,rn,pt]}),sn=[ee,Yt,rn,pt,ft,on,an,ht,Lt],xn=St({defaultModifiers:sn});m.applyStyles=pt,m.arrow=ht,m.computeStyles=rn,m.createPopper=xn,m.createPopperLite=ut,m.defaultModifiers=sn,m.detectOverflow=yt,m.eventListeners=ee,m.flip=on,m.hide=Lt,m.offset=ft,m.popperGenerator=St,m.popperOffsets=Yt,m.preventOverflow=an,Object.defineProperty(m,"__esMo
1dule",{value:!0})}));/*!
2  * Bootstrap v5.1.3 (https://getbootstrap.com/)
3  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5  */(function(m,J){typeof exports=="object"&&typeof module<"u"?module.exports=J(require("@popperjs/core")):typeof define=="function"&&define.amd?define(["@popperjs/core"],J):(m=typeof globalThis<"u"?globalThis:m||self).bootstrap=J(m.Popper)})(this,(function(m){"use strict";function J(S){if(S&&S.__esModule)return S;const u=Object.create(null);if(S){for(const f in S)if(f!=="default"){const T=Object.getOwnPropertyDescriptor(S,f);Object.defineProperty(u,f,T.get?T:{enumerable:!0,get:()=>S[f]})}}return u.default=S,Object.freeze(u)}const W=J(m),b="transitionend",se=S=>{let u=S.getAttribute("data-bs-target");if(!u||u==="#"){let f=S.getAttribute("href");if(!f||!f.includes("#")&&!f.startsWith("."))return null;f.includes("#")&&!f.startsWith("#")&&(f=`#${f.split("#")[1]}`),u=f&&f!=="#"?f.trim():null}return u},ke=S=>{const u=se(S);return u&&document.querySelector(u)?u:null},q=S=>{const u=se(S);return u?document.querySelector(u):null},we=S=>{S.dispatchEvent(new Event(b))},ce=S=>!(!S||typeof S!="object")&&(S.jquery!==void 0&&(S=S[0]),S.nodeType!==void 0),Re=S=>ce(S)?S.jquery?S[0]:S:typeof S=="string"&&S.length>0?document.querySelector(S):null,Ce=(S,u,f)=>{Object.keys(f).forEach((T=>{const M=f[T],B=u[T],G=B&&ce(B)?"element":(ne=B)==null?`${ne}`:{}.toString.call(ne).match(/\s([a-z]+)/i)[1].toLowerCase();var ne;if(!new RegExp(M).test(G))throw new TypeError(`${S.toUpperCase()}: Option "${T}" provided type "${G}" but expected type "${M}".`)}))},Ue=S=>!(!ce(S)||S.getClientRects().length===0)&&getComputedStyle(S).getPropertyValue("visibility")==="visible",et=S=>!S||S.nodeType!==Node.ELEMENT_NODE||!!S.classList.contains("disabled")||(S.disabled!==void 0?S.disabled:S.hasAttribute("disabled")&&S.getAttribute("disabled")!=="false"),st=S=>{if(!document.documentElement.attachShadow)return null;if(typeof S.getRootNode=="function"){const u=S.getRootNode();return u instanceof ShadowRoot?u:null}return S instanceof ShadowRoot?S:S.parentNode?st(S.parentNode):null},Ye=()=>{},Me=S=>{S.offsetHeight},Oe=()=>{const{jQuery:S}=window;return S&&!document.body.hasAttribute("data-bs-no-jquery")?S:null},qt=[],be=()=>document.documentElement.dir==="rtl",He=S=>{var u;u=()=>{const f=Oe();if(f){const T=S.NAME,M=f.fn[T];f.fn[T]=S.jQueryInterface,f.fn[T].Constructor=S,f.fn[T].noConflict=()=>(f.fn[T]=M,S.jQueryInterface)}},document.readyState==="loading"?(qt.length||document.addEventListener("DOMContentLoaded",(()=>{qt.forEach((f=>f()))})),qt.push(u)):u()},Ze=S=>{typeof S=="function"&&S()},tt=(S,u,f=!0)=>{if(!f)return void Ze(S);const T=(G=>{if(!G)return 0;let{transitionDuration:ne,transitionDelay:ye}=window.getComputedStyle(G);const Le=Number.parseFloat(ne),ae=Number.parseFloat(ye);return Le||ae?(ne=ne.split(",")[0],ye=ye.split(",")[0],1e3*(Number.parseFloat(ne)+Number.parseFloat(ye))):0})(u)+5;let M=!1;const B=({target:G})=>{G===u&&(M=!0,u.removeEventListener(b,B),Ze(S))};u.addEventListener(b,B),setTimeout((()=>{M||we(u)}),T)},It=(S,u,f,T)=>{let M=S.indexOf(u);if(M===-1)return S[!f&&T?S.length-1:0];const B=S.length;return M+=f?1:-1,T&&(M=(M+B)%B),S[Math.max(0,Math.min(M,B-1))]},Qt=/[^.]*(?=\..*)\.|.*/,wn=/\..*/,at=/::\d+$/,nt={};let Gt=1;
5const Bn={mouseenter:"mouseover",mouseleave:"mouseout"},Jt=/^(mouseenter|mouseleave)/i,Nt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function yt(S,u){return u&&`${u}::${Gt++}`||S.uidEvent||Gt++}function en(S){const u=yt(S);return S.uidEvent=u,nt[u]=nt[u]||{},nt[u]}function St(S,u,f=null){const T=Object.keys(S);for(let M=0,B=T.length;M<B;M++){const G=S[T[M]];if(G.originalHandler===u&&G.delegationSelector===f)return G}return null}function tn(S,u,f){const T=typeof u=="string",M=T?f:u;let B=nn(S);return Nt.has(B)||(B=S),[T,M,B]}function Pt(S,u,f,T,M){if(typeof u!="string"||!S)return;if(f||(f=T,T=null),Jt.test(u)){const Fe=vt=>function(We){if(!We.relatedTarget||We.relatedTarget!==We.delegateTarget&&!We.delegateTarget.contains(We.relatedTarget))return vt.call(this,We)};T?T=Fe(T):f=Fe(f)}const[B,G,ne]=tn(u,f,T),ye=en(S),Le=ye[ne]||(ye[ne]={}),ae=St(Le,G,B?f:null);if(ae)return void(ae.oneOff=ae.oneOff&&M);const ve=yt(G,u.replace(Qt,"")),Se=B?(function(Fe,vt,We){return function mt(Nn){const Pn=Fe.querySelectorAll(vt);for(let{target:At}=Nn;At&&At!==this;At=At.parentNode)for(let P=Pn.length;P--;)if(Pn[P]===At)return Nn.delegateTarget=At,mt.oneOff&&U.off(Fe,Nn.type,vt,We),We.apply(At,[Nn]);return null}})(S,f,T):(function(Fe,vt){return function We(mt){return mt.delegateTarget=Fe,We.oneOff&&U.off(Fe,mt.type,vt),vt.apply(Fe,[mt])}})(S,f);Se.delegationSelector=B?f:null,Se.originalHandler=G,Se.oneOff=M,Se.uidEvent=ve,Le[ve]=Se,S.addEventListener(ne,Se,B)}function Ot(S,u,f,T,M){const B=St(u[f],T,M);B&&(S.removeEventListener(f,B,!!M),delete u[f][B.uidEvent])}function nn(S){return S=S.replace(wn,""),Bn[S]||S}const U={on(S,u,f,T){Pt(S,u,f,T,!1)},one(S,u,f,T){Pt(S,u,f,T,!0)},off(S,u,f,T){if(typeof u!="string"||!S)return;const[M,B,G]=tn(u,f,T),ne=G!==u,ye=en(S),Le=u.startsWith(".");if(B!==void 0)return!ye||!ye[G]?void 0:void Ot(S,ye,G,B,M?f:null);Le&&Object.keys(ye).forEach((ve=>{(function(Se,Fe,vt,We){const mt=Fe[vt]||{};Object.keys(mt).forEach((Nn=>{if(Nn.includes(We)){const Pn=mt[Nn];Ot(Se,Fe,vt,Pn.originalHandler,Pn.delegationSelector)}}))})(S,ye,ve,u.slice(1))}));const ae=ye[G]||{};Object.keys(ae).forEach((ve=>{const Se=ve.replace(at,"");if(!ne||u.includes(Se)){const Fe=ae[ve];Ot(S,ye,G,Fe.originalHandler,Fe.delegationSelector)}}))},trigger(S,u,f){if(typeof u!="string"||!S)return null;const T=Oe(),M=nn(u),B=u!==M,G=Nt.has(M);let ne,ye=!0,Le=!0,ae=!1,ve=null;return B&&T&&(ne=T.Event(u,f),T(S).trigger(ne),ye=!ne.isPropagationStopped(),Le=!ne.isImmediatePropagationStopped(),ae=ne.isDefaultPrevented()),G?(ve=document.createEvent("HTMLEvents"),ve.initEvent(M,ye,!0)):ve=new CustomEvent(u,{bubbles:ye,cancelable:!0}),f!==void 0&&Object.keys(f).forEach((Se=>{Object.defineProperty(ve,Se,{get:()=>f[Se]})}
5)),ae&&ve.preventDefault(),Le&&S.dispatchEvent(ve),ve.defaultPrevented&&ne!==void 0&&ne.preventDefault(),ve}},Ie=new Map,lt={set(S,u,f){Ie.has(S)||Ie.set(S,new Map);const T=Ie.get(S);T.has(u)||T.size===0?T.set(u,f):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(T.keys())[0]}.`)},get:(S,u)=>Ie.has(S)&&Ie.get(S).get(u)||null,remove(S,u){if(!Ie.has(S))return;const f=Ie.get(S);f.delete(u),f.size===0&&Ie.delete(S)}};class rt{constructor(u){(u=Re(u))&&(this._element=u,lt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){lt.remove(this._element,this.constructor.DATA_KEY),U.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((u=>{this[u]=null}))}_queueCallback(u,f,T=!0){tt(u,f,T)}static getInstance(u){return lt.get(Re(u),this.DATA_KEY)}static getOrCreateInstance(u,f={}){return this.getInstance(u)||new this(u,typeof f=="object"?f:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const dt=(S,u="hide")=>{const f=`click.dismiss${S.EVENT_KEY}`,T=S.NAME;U.on(document,f,`[data-bs-dismiss="${T}"]`,(function(M){if(["A","AREA"].includes(this.tagName)&&M.preventDefault(),et(this))return;const B=q(this)||this.closest(`.${T}`);S.getOrCreateInstance(B)[u]()}))};class ze extends rt{static get NAME(){return"alert"}close(){if(U.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const u=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,u)}_destroyElement(){this._element.remove(),U.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(u){return this.each((function(){const f=ze.getOrCreateInstance(this);if(typeof u=="string"){if(f[u]===void 0||u.startsWith("_")||u==="constructor")throw new TypeError(`No method named "${u}"`);f[u](this)}}))}}dt(ze,"close"),He(ze);const je='[data-bs-toggle="button"]';class $e extends rt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(u){return this.each((function(){const f=$e.getOrCreateInstance(this);u==="toggle"&&f[u]()}))}}function Ht(S){return S==="true"||S!=="false"&&(S===Number(S).toString()?Number(S):S===""||S==="null"?null:S)}function Bt(S){return S.replace(/[A-Z]/g,(u=>`-${u.toLowerCase()}`))}U.on(document,"click.bs.button.data-api",je,(S=>{S.preventDefault();const u=S.target.closest(je);$e.getOrCreateInstance(u).toggle()})),He($e);const xe={setDataAttribute(S,u,f){S.setAttribute(`data-bs-${Bt(u)}`,f)},removeDataAttribute(S,u){S.removeAttribute(`data-bs-${Bt(u)}`)},getDataAttributes(S){if(!S)return{};const u={};return Object.keys(S.dataset).filter((f=>f.startsWith("bs"))).forEach((f=>{let T=f.replace(/^bs/,"");T=T.charAt(0).toLowerCase()+T.slice(1,T.length),u[T]=Ht(S.dataset[f])})),u},getDataAttribute:(S,u)=>Ht(S.getAttribute(`data-bs-${Bt(u)}`)),offset(S){const u=S.getBoundingClientRect();return{top:u.top+window.pageYOffset,left:u.left+window.pageXOffset}},position:S=>({top:S.offsetTop,left:S.offsetLeft})},ee={find:(S,u=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(u,S)),findOne:(S,u=document.documentElement)=>Element.prototype.querySelector.call(u,S),children:(S,u)=>[].concat(...S.children).filter((f=>f.matches(u))),parents(S,u){const f=[];let T=S.parentNode;for(;T&&T.nodeType===Node.ELEMENT_NODE&&T.nodeType!==3;)T.matches(u)&&f.push(T),T=T.parentNode;return f},prev(S,u){let f=S.previousElementSibling;for(;f;){if(f.matches(u))return[f];f=f.previousElementSibling}return[]},next(S,u){let f=S.nextElementSibling;for(;f;){if(f.matches(u))return[f];f=f.nextElementSibling}return[]},focusableChildren(S){const u=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((f=>`${f}:not([tabindex^="-"])`)).join(", ");return this.find(u,S).filter((f=>!et(f)&&Ue(f)))}},Yt="carousel",Cn={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},rn={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pt="next",ft="prev",kt="left",Et="right",on={ArrowLeft:Et,ArrowRight:kt},an="slid.bs.carousel",ht="active",Lt=".active.carousel-item";class ut extends rt{constructor(u,f){super(u),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(f),this._indicatorsElement=ee.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=!!window.PointerEvent,this._addEventListeners()}static get Default(){return Cn}static get NAME(){return Yt}next(){this._slide(pt)}nextWhenVisible(){!document.hidden&&Ue(this._element)&&this.next()}prev(){this._slide(ft)}pause(u){u||(this._isPaused=!0),ee.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(we(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(u){u||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(u){this._activeElement=ee.findOne(Lt,this._element);const f=this._getItemIndex(this._activeElement);if(u>this._items.length-1||u<0)return;if(this._isSliding)return void U.one(this._element,an,(()=>this.to(u)));if(f===u)return this.pause(),void this.cycle();const T=u>f?pt:ft;this._slide(T,this._items[u])}_getConfig(u){return u={...Cn,...xe.getDataAttributes(this._element),...typeof u=="object"?u:{}},Ce(Yt,u,rn),u}_handleSwipe(){const u=Math.abs(this.touchDeltaX);if(u<=40)return;const f=u/this.touchDeltaX;this.touchDeltaX=0,f&&this._slide(f>0?Et:kt)}_addEventListeners(){this._config.keyboard&&U.on(this._element,"keydown.bs.carousel",(u=>
5this._keydown(u))),this._config.pause==="hover"&&(U.on(this._element,"mouseenter.bs.carousel",(u=>this.pause(u))),U.on(this._element,"mouseleave.bs.carousel",(u=>this.cycle(u)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const u=B=>this._pointerEvent&&(B.pointerType==="pen"||B.pointerType==="touch"),f=B=>{u(B)?this.touchStartX=B.clientX:this._pointerEvent||(this.touchStartX=B.touches[0].clientX)},T=B=>{this.touchDeltaX=B.touches&&B.touches.length>1?0:B.touches[0].clientX-this.touchStartX},M=B=>{u(B)&&(this.touchDeltaX=B.clientX-this.touchStartX),this._handleSwipe(),this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((G=>this.cycle(G)),500+this._config.interval))};ee.find(".carousel-item img",this._element).forEach((B=>{U.on(B,"dragstart.bs.carousel",(G=>G.preventDefault()))})),this._pointerEvent?(U.on(this._element,"pointerdown.bs.carousel",(B=>f(B))),U.on(this._element,"pointerup.bs.carousel",(B=>M(B))),this._element.classList.add("pointer-event")):(U.on(this._element,"touchstart.bs.carousel",(B=>f(B))),U.on(this._element,"touchmove.bs.carousel",(B=>T(B))),U.on(this._element,"touchend.bs.carousel",(B=>M(B))))}_keydown(u){if(/input|textarea/i.test(u.target.tagName))return;const f=on[u.key];f&&(u.preventDefault(),this._slide(f))}_getItemIndex(u){return this._items=u&&u.parentNode?ee.find(".carousel-item",u.parentNode):[],this._items.indexOf(u)}_getItemByOrder(u,f){const T=u===pt;return It(this._items,f,T,this._config.wrap)}_triggerSlideEvent(u,f){const T=this._getItemIndex(u),M=this._getItemIndex(ee.findOne(Lt,this._element));return U.trigger(this._element,"slide.bs.carousel",{relatedTarget:u,direction:f,from:M,to:T})}_setActiveIndicatorElement(u){if(this._indicatorsElement){const f=ee.findOne(".active",this._indicatorsElement);f.classList.remove(ht),f.removeAttribute("aria-current");const T=ee.find("[data-bs-target]",this._indicatorsElement);for(let M=0;M<T.length;M++)if(Number.parseInt(T[M].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(u)){T[M].classList.add(ht),T[M].setAttribute("aria-current","true");break}}}_updateInterval(){const u=this._activeElement||ee.findOne(Lt,this._element);if(!u)return;const f=Number.parseInt(u.getAttribute("data-bs-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(u,f){const T=this._directionToOrder(u),M=ee.findOne(Lt,this._element),B=this._getItemIndex(M),G=f||this._getItemByOrder(T,M),ne=this._getItemIndex(G),ye=!!this._interval,Le=T===pt,ae=Le?"carousel-item-start":"carousel-item-end",ve=Le?"carousel-item-next":"carousel-item-prev",Se=this._orderToDirection(T);if(G&&G.classList.contains(ht))return void(this._isSliding=!1);if(this._isSliding||this._triggerSlideEvent(G,Se).defaultPrevented||!M||!G)return;this._isSliding=!0,ye&&this.pause(),this._setActiveIndicatorElement(G),this._activeElement=G;const Fe=()=>{U.trigger(this._element,an,{relatedTarget:G,direction:Se,from:B,to:ne})};if(this._element.classList.contains("slide")){G.classList.add(ve),Me(G),M.classList.add(ae),G.classList.add(ae);const vt=()=>{G.classList.remove(ae,ve),G.classList.add(ht),M.classList.remove(ht,ve,ae),this._isSliding=!1,setTimeout(Fe,0)};this._queueCallback(vt,M,!0)}else M.classList.remove(ht),G.classList.add(ht),this._isSliding=!1,Fe();ye&&this.cycle()}
5_directionToOrder(u){return[Et,kt].includes(u)?be()?u===kt?ft:pt:u===kt?pt:ft:u}_orderToDirection(u){return[pt,ft].includes(u)?be()?u===ft?kt:Et:u===ft?Et:kt:u}static carouselInterface(u,f){const T=ut.getOrCreateInstance(u,f);let{_config:M}=T;typeof f=="object"&&(M={...M,...f});const B=typeof f=="string"?f:M.slide;if(typeof f=="number")T.to(f);else if(typeof B=="string"){if(T[B]===void 0)throw new TypeError(`No method named "${B}"`);T[B]()}else M.interval&&M.ride&&(T.pause(),T.cycle())}static jQueryInterface(u){return this.each((function(){ut.carouselInterface(this,u)}))}static dataApiClickHandler(u){const f=q(this);if(!f||!f.classList.contains("carousel"))return;const T={...xe.getDataAttributes(f),...xe.getDataAttributes(this)},M=this.getAttribute("data-bs-slide-to");M&&(T.interval=!1),ut.carouselInterface(f,T),M&&ut.getInstance(f).to(M),u.preventDefault()}}U.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",ut.dataApiClickHandler),U.on(window,"load.bs.carousel.data-api",(()=>{const S=ee.find('[data-bs-ride="carousel"]');for(let u=0,f=S.length;u<f;u++)ut.carouselInterface(S[u],ut.getInstance(S[u]))})),He(ut);const sn="collapse",xn={toggle:!0,parent:null},y={toggle:"boolean",parent:"(null|element)"},D="show",R="collapse",N="collapsing",F="collapsed",z=":scope .collapse .collapse",j='[data-bs-toggle="collapse"]';class Q extends rt{constructor(u,f){super(u),this._isTransitioning=!1,this._config=this._getConfig(f),this._triggerArray=[];const T=ee.find(j);for(let M=0,B=T.length;M<B;M++){const G=T[M],ne=ke(G),ye=ee.find(ne).filter((Le=>Le===this._element));ne!==null&&ye.length&&(this._selector=ne,this._triggerArray.push(G))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return xn}static get NAME(){return sn}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let u,f=[];if(this._config.parent){const G=ee.find(z,this._config.parent);f=ee.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((ne=>!G.includes(ne)))}const T=ee.findOne(this._selector);if(f.length){const G=f.find((ne=>T!==ne));if(u=G?Q.getInstance(G):null,u&&u._isTransitioning)return}if(U.trigger(this._element,"show.bs.collapse").defaultPrevented)return;f.forEach((G=>{T!==G&&Q.getOrCreateInstance(G,{toggle:!1}).hide(),u||lt.set(G,"bs.collapse",null)}));const M=this._getDimension();this._element.classList.remove(R),this._element.classList.add(N),this._element.style[M]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const B=`scroll${M[0].toUpperCase()+M.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(R,D),this._element.style[M]="",U.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[M]=`${this._element[B]}px`}hide(){if(this._isTransitioning||!this._isShown()||U.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,Me(this._element),this._element.classList.add(N),this._element.classList.remove(R,D);const f=this._triggerArray.length;for(let T=0;T<f;T++){const M=this._triggerArray[T],B=q(M);B&&!this._isShown(B)&&this._addAriaAndCollapsedClass([M],!1)}this._isTransitioning=!0,this._element.style[u]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(R),U.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(u=this._element){return u.classList.contains(D)}_getConfig(u){return(u={...xn,...xe.getDataAttributes(this._element),...u}).toggle=!!u.toggle,u.parent=Re(u.parent),Ce(sn,u,y),u}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const u=ee.find(z,this._config.parent);ee.find(j,this._config.parent).filter((f=>
5!u.includes(f))).forEach((f=>{const T=q(f);T&&this._addAriaAndCollapsedClass([f],this._isShown(T))}))}_addAriaAndCollapsedClass(u,f){u.length&&u.forEach((T=>{f?T.classList.remove(F):T.classList.add(F),T.setAttribute("aria-expanded",f)}))}static jQueryInterface(u){return this.each((function(){const f={};typeof u=="string"&&/show|hide/.test(u)&&(f.toggle=!1);const T=Q.getOrCreateInstance(this,f);if(typeof u=="string"){if(T[u]===void 0)throw new TypeError(`No method named "${u}"`);T[u]()}}))}}U.on(document,"click.bs.collapse.data-api",j,(function(S){(S.target.tagName==="A"||S.delegateTarget&&S.delegateTarget.tagName==="A")&&S.preventDefault();const u=ke(this);ee.find(u).forEach((f=>{Q.getOrCreateInstance(f,{toggle:!1}).toggle()}))})),He(Q);const $="dropdown",_e="Escape",te="Space",oe="ArrowUp",re="ArrowDown",ie=new RegExp("ArrowUp|ArrowDown|Escape"),he="click.bs.dropdown.data-api",de="keydown.bs.dropdown.data-api",pe="show",I='[data-bs-toggle="dropdown"]',Xe=".dropdown-menu",bt=be()?"top-end":"top-start",Ne=be()?"top-start":"top-end",_t=be()?"bottom-end":"bottom-start",Te=be()?"bottom-start":"bottom-end",Ke=be()?"left-start":"right-start",Dt=be()?"right-start":"left-start",Tn={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Be={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Qe extends rt{constructor(u,f){super(u),this._popper=null,this._config=this._getConfig(f),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Tn}static get DefaultType(){return Be}static get NAME(){return $}toggle(){return this._isShown()?this.hide():this.show()}show(){if(et(this._element)||this._isShown(this._menu))return;const u={relatedTarget:this._element};if(U.trigger(this._element,"show.bs.dropdown",u).defaultPrevented)return;const f=Qe.getParentFromElement(this._element);this._inNavbar?xe.setDataAttribute(this._menu,"popper","none"):this._createPopper(f),"ontouchstart"in document.documentElement&&!f.closest(".
5navbar-nav")&&[].concat(...document.body.children).forEach((T=>U.on(T,"mouseover",Ye))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(pe),this._element.classList.add(pe),U.trigger(this._element,"shown.bs.dropdown",u)}hide(){if(et(this._element)||!this._isShown(this._menu))return;const u={relatedTarget:this._element};this._completeHide(u)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(u){U.trigger(this._element,"hide.bs.dropdown",u).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((f=>U.off(f,"mouseover",Ye))),this._popper&&this._popper.destroy(),this._menu.classList.remove(pe),this._element.classList.remove(pe),this._element.setAttribute("aria-expanded","false"),xe.removeDataAttribute(this._menu,"popper"),U.trigger(this._element,"hidden.bs.dropdown",u))}_getConfig(u){if(u={...this.constructor.Default,...xe.getDataAttributes(this._element),...u},Ce($,u,this.constructor.DefaultType),typeof u.reference=="object"&&!ce(u.reference)&&typeof u.reference.getBoundingClientRect!="function")throw new TypeError(`${$.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return u}_createPopper(u){if(W===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let f=this._element;this._config.reference==="parent"?f=u:ce(this._config.reference)?f=Re(this._config.reference):typeof this._config.reference=="object"&&(f=this._config.reference);const T=this._getPopperConfig(),M=T.modifiers.find((B=>B.name==="applyStyles"&&B.enabled===!1));this._popper=W.createPopper(f,this._menu,T),M&&xe.setDataAttribute(this._menu,"popper","static")}_isShown(u=this._element){return u.classList.contains(pe)}_getMenuElement(){return ee.next(this._element,Xe)[0]}_getPlacement(){const u=this._element.parentNode;if(u.classList.contains("dropend"))return Ke;if(u.classList.contains("dropstart"))return Dt;const f=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return u.classList.contains("dropup")?f?Ne:bt:f?Te:_t}
5_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:u}=this._config;return typeof u=="string"?u.split(",").map((f=>Number.parseInt(f,10))):typeof u=="function"?f=>u(f,this._element):u}_getPopperConfig(){const u={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return this._config.display==="static"&&(u.modifiers=[{name:"applyStyles",enabled:!1}]),{...u,...typeof this._config.popperConfig=="function"?this._config.popperConfig(u):this._config.popperConfig}}_selectMenuItem({key:u,target:f}){const T=ee.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Ue);T.length&&It(T,f,u===re,!T.includes(f)).focus()}static jQueryInterface(u){return this.each((function(){const f=Qe.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method named "${u}"`);f[u]()}}))}static clearMenus(u){if(u&&(u.button===2||u.type==="keyup"&&u.key!=="Tab"))return;const f=ee.find(I);for(let T=0,M=f.length;T<M;T++){const B=Qe.getInstance(f[T]);if(!B||B._config.autoClose===!1||!B._isShown())continue;const G={relatedTarget:B._element};if(u){const ne=u.composedPath(),ye=ne.includes(B._menu);if(ne.includes(B._element)||B._config.autoClose==="inside"&&!ye||B._config.autoClose==="outside"&&ye||B._menu.contains(u.target)&&(u.type==="keyup"&&u.key==="Tab"||/input|select|option|textarea|form/i.test(u.target.tagName)))continue;u.type==="click"&&(G.clickEvent=u)}B._completeHide(G)}}static getParentFromElement(u){return q(u)||u.parentNode}static dataApiKeydownHandler(u){if(/input|textarea/i.test(u.target.tagName)?u.key===te||u.key!==_e&&(u.key!==re&&u.key!==oe||u.target.closest(Xe)):!ie.test(u.key))return;const f=this.classList.contains(pe);if(!f&&u.key===_e||(u.preventDefault(),u.stopPropagation(),et(this)))return;const T=this.matches(I)?this:ee.prev(this,I)[0],M=Qe.getOrCreateInstance(T);if(u.key!==_e)return u.key===oe||u.key===re?(f||M.show(),void M._selectMenuItem(u)):void(f&&u.key!==te||Qe.clearMenus());M.hide()}}U.on(document,de,I,Qe.dataApiKeydownHandler),U.on(document,de,Xe,Qe.dataApiKeydownHandler),U.on(document,he,Qe.clearMenus),U.on(document,"keyup.bs.dropdown.data-api",Qe.clearMenus),U.on(document,he,I,(function(S){S.preventDefault(),Qe.getOrCreateInstance(this).toggle()})),He(Qe);const Ln=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Fn=".sticky-top";class ln{constructor(){this._element=document.body}getWidth(){const u=document.documentElement.clientWidth;return Math.abs(window.innerWidth-u)}hide(){const u=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(f=>f+u)),this._setElementAttributes(Ln,"paddingRight",(f=>f+u)),this._setElementAttributes(Fn,"marginRight",(f=>f-u))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(u,f,T){const M=this.getWidth();this._applyManipulationCallback(u,(B=>{if(B!==this._element&&window.innerWidth>B.clientWidth+M)return;this._saveInitialAttribute(B,f);const G=window.getComputedStyle(B)[f];B.style[f]=`${T(Number.parseFloat(G))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Ln,"paddingRight"),this._resetElementAttributes(Fn,"marginRight")}_saveInitialAttribute(u,f){const T=u.style[f];T&&xe.setDataAttribute(u,f,T)}_resetElementAttributes(u,f){this._applyManipulationCallback(u,(T=>{const M=xe.getDataAttribute(T,f);M===void 0?T.style.removeProperty(f):(xe.removeDataAttribute(T,f),T.style[f]=M)}))}_applyManipulationCallback(u,f){ce(u)?f(u):ee.find(u,this._element).forEach(f)}isOverflowing(){return this.getWidth()>0}}const wt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Sn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},kn="show",Rn="mousedown.bs.backdrop";class Ct{constructor(u){this._config=this._getConfig(u),this._isAppended=!1,this._element=null}show(u){this._config.isVisible?(this._append(),this._config.isAnimated&&Me(this._getElement()),this._getElement().classList.add(kn),this._emulateAnimation((()=>{Ze(u)}))):Ze(u)}hide(u){this._config.isVisible?(this._getElement().classList.remove(kn),this._emulateAnimation((()=>{this.dispose(),Ze(u)}))):Ze(u)}_getElement(){if(!this._element){const u=document.createElement("div");u.className=this._config.className,this._config.isAnimated&&u.classList.add("fade"),this._element=u}return this._element}_getConfig(u){return(u={...wt,...typeof u=="object"?u:{}}).rootElement=Re(u.rootElement),Ce("backdrop",u,Sn),u}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),U.on(this._getElement(),Rn,(()=>{Ze(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(U.off(this._element,Rn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(u){tt(u,this._getElement(),this._config.isAnimated)}}const Zt={trapElement:null,autofocus:!0},no={trapElement:"element",autofocus:"boolean"},ro=".bs.focustrap",un="backward";class Wn{constructor(u){this._config=this._getConfig(u),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:u,autofocus:f}=this._config;this._isActive||(f&&u.focus(),U.off(document,ro),U.on(document,"focusin.bs.focustrap",(T=>this._handleFocusin(T))),U.on(document,"keydown.tab.bs.focustrap",(T=>this._handleKeydown(T))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,U.off(document,ro))}_handleFocusin(u){const{target:f}=u,{trapElement:T}=this._config;if(f===document||f===T||T.contains(f))return;const M=ee.focusableChildren(T);M.length===0?T.focus():this._lastTabNavDirection===un?M[M.length-1].focus():M[0].focus()}_handleKeydown(u){u.key==="Tab"&&(this._lastTabNavDirection=u.shiftKey?un:"forward")}_getConfig(u){return u={...Zt,...typeof u=="object"?u:{}},Ce("focustrap",u,no),u}}const Un="modal",Tr="Escape",Sr={backdrop:!0,keyboard:!0,focus:!0},oo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},kr="hidden.bs.modal",Rr="show.bs.modal",Ar="resize.bs.modal",Mr="click.dismiss.bs.modal",Ir="keydown.dismiss.bs.modal",cn="mousedown.dismiss.bs.modal",zn="modal-open",Nr="show",An="modal-static";class dn extends rt{constructor(u,f){super(u),this._config=this._getConfig(f),this._dialog=ee.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new ln}static get Default(){return Sr}static get NAME(){return Un}toggle(u){return this._isShown?this.hide():this.show(u)}show(u){this._isShown||this._isTransitioning||U.trigger(this._element,Rr,{relatedTarget:u}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(zn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),U.on(this._dialog,cn,(()=>{U.one(this._element,"mouseup.dismiss.bs.modal",(f=>{f.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(u))))}
5hide(){if(!this._isShown||this._isTransitioning||U.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const u=this._isAnimated();u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Nr),U.off(this._element,Mr),U.off(this._dialog,cn),this._queueCallback((()=>this._hideModal()),this._element,u)}dispose(){[window,this._dialog].forEach((u=>U.off(u,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ct({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Wn({trapElement:this._element})}_getConfig(u){return u={...Sr,...xe.getDataAttributes(this._element),...typeof u=="object"?u:{}},Ce(Un,u,oo),u}_showElement(u){const f=this._isAnimated(),T=ee.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,T&&(T.scrollTop=0),f&&Me(this._element),this._element.classList.add(Nr),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,U.trigger(this._element,"shown.bs.modal",{relatedTarget:u})}),this._dialog,f)}_setEscapeEvent(){this._isShown?U.on(this._element,Ir,(u=>{this._config.keyboard&&u.key===Tr?(u.preventDefault(),this.hide()):this._config.keyboard||u.key!==Tr||this._triggerBackdropTransition()})):U.off(this._element,Ir)}_setResizeEvent(){this._isShown?U.on(window,Ar,(()=>this._adjustDialog())):U.off(window,Ar)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(zn),this._resetAdjustments(),this._scrollBar.reset(),U.trigger(this._element,kr)}))}_showBackdrop(u){U.on(this._element,Mr,(f=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:f.target===f.currentTarget&&(this._config.backdrop===!0?this.hide():this._config.backdrop==="static"&&this._triggerBackdropTransition())})),this._backdrop.show(u)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(U.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:u,scrollHeight:f,style:T}=this._element,M=f>document.documentElement.clientHeight;!M&&T.overflowY==="hidden"||u.contains(An)||(M||(T.overflowY="hidden"),u.add(An),this._queueCallback((()=>{u.remove(An),M||this._queueCallback((()=>{T.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const u=this._element.scrollHeight>document.documentElement.clientHeight,f=this._scrollBar.getWidth(),T=f>0;(!T&&u&&!be()||T&&!u&&be())&&(this._element.style.paddingLeft=`${f}px`),(T&&!u&&!be()||!T&&u&&be())&&(this._element.style.paddingRight=`${f}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(u,f){return this.each((function(){const T=dn.getOrCreateInstance(this,u);if(typeof u=="string"){if(T[u]===void 0)throw new TypeError(`No method named "${u}"`);T[u](f)}}))}}U.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(S){const u=q(this);["A","AREA"].includes(this.tagName)&&S.preventDefault(),U.one(u,Rr,(T=>{T.defaultPrevented||U.one(u,kr,(()=>{Ue(this)&&this.focus()}))}));const f=ee.findOne(".modal.show");f&&dn.getInstance(f).hide(),dn.getOrCreateInstance(u).toggle(this)})),dt(dn),He(dn);const Pr="offcanvas",dr={backdrop:!0,keyboard:!0,scroll:!1},Pe={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},$t="show",Or=".offcanvas.show",Ft="hidden.bs.offcanvas";class Xt extends rt{constructor(u,f){super(u),this._config=this._getConfig(f),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Pr}static get Default(){return dr}toggle(u){return this._isShown?this.hide():this.show(u)}show(u){this._isShown||U.trigger(this._element,"show.bs.offcanvas",{relatedTarget:u}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||new ln().hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add($t),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),U.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:u})}),this._element,!0))}hide(){this._isShown&&(U.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove($t),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||new ln().reset(),U.trigger(this._element,Ft)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(u){return u={...dr,...xe.getDataAttributes(this._element),...typeof u=="object"?u:{}},Ce(Pr,u,Pe),u}_initializeBackDrop(){return new Ct({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Wn({trapElement:this._element})}_addEventListeners(){U.on(this._element,"keydown.dismiss.bs.offcanvas",(u=>{this._config.keyboard&&u.key==="Escape"&&this.hide()}))}static jQueryInterface(u){return this.each((function(){const f=Xt.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0||u.startsWith("_")||u==="constructor")throw new TypeError(`No method n
5amed "${u}"`);f[u](this)}}))}}U.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(S){const u=q(this);if(["A","AREA"].includes(this.tagName)&&S.preventDefault(),et(this))return;U.one(u,Ft,(()=>{Ue(this)&&this.focus()}));const f=ee.findOne(Or);f&&f!==u&&Xt.getInstance(f).hide(),Xt.getOrCreateInstance(u).toggle(this)})),U.on(window,"load.bs.offcanvas.data-api",(()=>ee.find(Or).forEach((S=>Xt.getOrCreateInstance(S).show())))),dt(Xt),He(Xt);const io=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),tr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,De=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Hr=(S,u)=>{const f=S.nodeName.toLowerCase();if(u.includes(f))return!io.has(f)||!!(tr.test(S.nodeValue)||De.test(S.nodeValue));const T=u.filter((M=>M instanceof RegExp));for(let M=0,B=T.length;M<B;M++)if(T[M].test(f))return!0;return!1};function ao(S,u,f){if(!S.length)return S;if(f&&typeof f=="function")return f(S);const T=new window.DOMParser().parseFromString(S,"text/html"),M=[].concat(...T.body.querySelectorAll("*"));for(let B=0,G=M.length;B<G;B++){const ne=M[B],ye=ne.nodeName.toLowerCase();if(!Object.keys(u).includes(ye)){ne.remove();continue}const Le=[].concat(...ne.attributes),ae=[].concat(u["*"]||[],u[ye]||[]);Le.forEach((ve=>{Hr(ve,ae)||ne.removeAttribute(ve.nodeName)}))}return T.body.innerHTML}const Br="tooltip",so=new Set(["sanitize","allowList","sanitizeFn"]),pn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ct={AUTO:"auto",TOP:"top",RIGHT:be()?"left":"right",BOTTOM:"bottom",LEFT:be()?"right":"left"},Lr={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},fn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},hn="fade",gn="show",Mn="show",Wt="out",Rt=".tooltip-inner",Fr=".modal",pr="hide.bs.modal",gt="hover",fr="focus";class Ut extends rt{constructor(u,f){if(W===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(u),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(f),this.tip=null,this._setListeners()}static get Default(){return Lr}static get NAME(){return Br}static get Event(){return fn}static get DefaultType(){return pn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(u){if(this._isEnabled)if(u){const f=this._initializeOnDelegatedTarget(u);f._activeTrigger.click=!f._activeTrigger.click,f._isWithActiveTrigger()?f._enter(null,f):f._leave(null,f)}else{if(this.getTipElement().classList.contains(gn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),U.off(this._element.closest(Fr),pr,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const u=U.trigger(this._element,this.constructor.Event.SHOW),f=st(this._element),T=f===null?this._element.ownerDocument.documentElement.contains(this._element):f.contains(this._element);if(u.defaultPrevented||!T)return;this.constructor.NAME==="tooltip"&&this.tip&&this.getTitle()!==this.tip.querySelector(Rt).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const M=this.getTipElement(),B=(ve=>{do ve+=Math.floor(1e6*Math.random());while(document.getElementById(ve));return ve})(this.constructor.NAME);M.setAttribute("id",B),this._element.setAttribute("aria-describedby",B),this._config.animation&&M.classList.add(hn);const G=typeof this._config.placement=="function"?this._config.placement.call(this,M,this._element):this._config.placement,ne=this._getAttachment(G);this._addAttachmentClass(ne);const{container:ye}=this._config;lt.set(M,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(ye.append(M),U.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update(
5):this._popper=W.createPopper(this._element,M,this._getPopperConfig(ne)),M.classList.add(gn);const Le=this._resolvePossibleFunction(this._config.customClass);Le&&M.classList.add(...Le.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((ve=>{U.on(ve,"mouseover",Ye)}));const ae=this.tip.classList.contains(hn);this._queueCallback((()=>{const ve=this._hoverState;this._hoverState=null,U.trigger(this._element,this.constructor.Event.SHOWN),ve===Wt&&this._leave(null,this)}),this.tip,ae)}hide(){if(!this._popper)return;const u=this.getTipElement();if(U.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;u.classList.remove(gn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((T=>U.off(T,"mouseover",Ye))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const f=this.tip.classList.contains(hn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==Mn&&u.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),U.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,f),this._hoverState=""}update(){this._popper!==null&&this._popper.update()}isWithContent(){return!!this.getTitle()}getTipElement(){if(this.tip)return this.tip;const u=document.createElement("div");u.innerHTML=this._config.template;const f=u.children[0];return this.setContent(f),f.classList.remove(hn,gn),this.tip=f,this.tip}setContent(u){this._sanitizeAndSetContent(u,this.getTitle(),Rt)}_sanitizeAndSetContent(u,f,T){const M=ee.findOne(T,u);f||!M?this.setElementContent(M,f):M.remove()}setElementContent(u,f){if(u!==null)return ce(f)?(f=Re(f),void(this._config.html?f.parentNode!==u&&(u.innerHTML="",u.append(f)):u.textContent=f.textContent)):void(this._config.html?(this._config.sanitize&&(f=ao(f,this._config.allowList,this._config.sanitizeFn)),u.innerHTML=f):u.textContent=f)}getTitle(){const u=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(u)}updateAttachment(u){return u==="right"?"end":u==="left"?"start":u}_initializeOnDelegatedTarget(u,f){return f||this.constructor.getOrCreateInstance(u.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:u}=this._config;return typeof u=="string"?u.split(",").map((f=>Number.parseInt(f,10))):typeof u=="function"?f=>u(f,this._element):u}_resolvePossibleFunction(u){return typeof u=="function"?u.call(this._element):u}_getPopperConfig(u){const f={placement:u,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:T=>this._handlePopperPlacementChange(T)}],onFirstUpdate:T=>{T.options.placement!==T.placement&&this._handlePopperPlacementChange(T)}};return{...f,...typeof this._config.popperConfig=="function"?this._config.popperConfig(f):this._config.popperConfig}}_addAttachmentClass(u){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(u)}`)}_getAttachment(u){return ct[u.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((u=>{if(u==="click")U.on(this._element,this.constructor.Event.CLICK,this._config.selector,(f=>this.toggle(f)));else if(u!=="manual"){const f=u===gt?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,T=u===gt?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;U.on(this._element,f,this._config.selector,(M=>this._enter(M))),U.on(this._element,T,this._config.selector,(M=>this._leave(M)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},U.on(this._element.closest(Fr),pr,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const u=this._element.getAttribute("title"),f=typeof this._element.getAttribute("data-bs-original-title");(u||f!=="string")&&(this._element.setAttribute("data-bs-original-title",u||""),!u||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",u),this._element.setAttribute("title",""))}_enter(u,f){f=this._initializeOnDelegatedTarget(u,f),u&&(f._activeTrigger[u.type==="focusin"?fr:gt]=!0),f.getTipElement().classList.contains(gn)||f._hoverState===Mn?f._hoverState=Mn:(clearTimeout(f._timeout),f._hoverState=Mn,f._config.delay&&f._config.delay.show?f._timeout=setTimeout((()=>{f._hoverState===Mn&&f.show()}
5),f._config.delay.show):f.show())}_leave(u,f){f=this._initializeOnDelegatedTarget(u,f),u&&(f._activeTrigger[u.type==="focusout"?fr:gt]=f._element.contains(u.relatedTarget)),f._isWithActiveTrigger()||(clearTimeout(f._timeout),f._hoverState=Wt,f._config.delay&&f._config.delay.hide?f._timeout=setTimeout((()=>{f._hoverState===Wt&&f.hide()}),f._config.delay.hide):f.hide())}_isWithActiveTrigger(){for(const u in this._activeTrigger)if(this._activeTrigger[u])return!0;return!1}_getConfig(u){const f=xe.getDataAttributes(this._element);return Object.keys(f).forEach((T=>{so.has(T)&&delete f[T]})),(u={...this.constructor.Default,...f,...typeof u=="object"&&u?u:{}}).container=u.container===!1?document.body:Re(u.container),typeof u.delay=="number"&&(u.delay={show:u.delay,hide:u.delay}),typeof u.title=="number"&&(u.title=u.title.toString()),typeof u.content=="number"&&(u.content=u.content.toString()),Ce(Br,u,this.constructor.DefaultType),u.sanitize&&(u.template=ao(u.template,u.allowList,u.sanitizeFn)),u}_getDelegateConfig(){const u={};for(const f in this._config)this.constructor.Default[f]!==this._config[f]&&(u[f]=this._config[f]);return u}_cleanTipClass(){const u=this.getTipElement(),f=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),T=u.getAttribute("class").match(f);T!==null&&T.length>0&&T.map((M=>M.trim())).forEach((M=>u.classList.remove(M)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(u){const{state:f}=u;f&&(this.tip=f.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(f.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(u){return this.each((function(){const f=Ut.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method named "${u}"`);f[u]()}}))}}He(Ut);const Ko={...Ut.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},lo={...Ut.DefaultType,content:"(string|element|function)"},jn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class hr extends Ut{static get Default(){return Ko}static get NAME(){return"popover"}static get Event(){return jn}static get DefaultType(){return lo}isWithContent(){return this.getTitle()||this._getContent()}setContent(u){this._sanitizeAndSetContent(u,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(u,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(u){return this.each((function(){const f=hr.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method named "${u}"`);f[u]()}}))}}He(hr);const Wr="scrollspy",uo={offset:10,method:"auto",target:""},ue={offset:"number",method:"string",target:"(string|element)"},In="active",Vn=".nav-link, .list-group-item, .dropdown-item",Ur="position";class zt extends rt{constructor(u,f){super(u),this._scrollElement=this._element.tagName==="BODY"?window:this._element,this._config=this._getConfig(f),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,U.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return uo}static get NAME(){return Wr}refresh(){const u=this._scrollElement===this._scrollElement.window?"offset":Ur,f=this._config.method==="auto"?u:this._config.method,T=f===Ur?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),ee.find(Vn,this._config.target).map((M=>{const B=ke(M),G=B?ee.findOne(B):null;if(G){const ne=G.getBoundingClientRect();if(ne.width||ne.height)return[xe[f](G).top+T,B]}return null})).filter((M=>M)).sort(((M,B)=>
5M[0]-B[0])).forEach((M=>{this._offsets.push(M[0]),this._targets.push(M[1])}))}dispose(){U.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(u){return(u={...uo,...xe.getDataAttributes(this._element),...typeof u=="object"&&u?u:{}}).target=Re(u.target)||document.documentElement,Ce(Wr,u,ue),u}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const u=this._getScrollTop()+this._config.offset,f=this._getScrollHeight(),T=this._config.offset+f-this._getOffsetHeight();if(this._scrollHeight!==f&&this.refresh(),u>=T){const M=this._targets[this._targets.length-1];this._activeTarget!==M&&this._activate(M)}else{if(this._activeTarget&&u<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let M=this._offsets.length;M--;)this._activeTarget!==this._targets[M]&&u>=this._offsets[M]&&(this._offsets[M+1]===void 0||u<this._offsets[M+1])&&this._activate(this._targets[M])}}_activate(u){this._activeTarget=u,this._clear();const f=Vn.split(",").map((M=>`${M}[data-bs-target="${u}"],${M}[href="${u}"]`)),T=ee.findOne(f.join(","),this._config.target);T.classList.add(In),T.classList.contains("dropdown-item")?ee.findOne(".dropdown-toggle",T.closest(".dropdown")).classList.add(In):ee.parents(T,".nav, .list-group").forEach((M=>{ee.prev(M,".nav-link, .list-group-item").forEach((B=>B.classList.add(In))),ee.prev(M,".nav-item").forEach((B=>{ee.children(B,".nav-link").forEach((G=>G.classList.add(In)))}))})),U.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:u})}_clear(){ee.find(Vn,this._config.target).filter((u=>u.classList.contains(In))).forEach((u=>u.classList.remove(In)))}static jQueryInterface(u){return this.each((function(){const f=zt.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method named "${u}"`);f[u]()}}))}}U.on(window,"load.bs.scrollspy.data-api",(()=>{ee.find('[data-bs-spy="scroll"]').forEach((S=>new zt(S)))})),He(zt);const Ve="active",nr="fade",rr="show",gr=".active",qn=":scope > li > .active";class Gn extends rt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ve))return;let u;
5const f=q(this._element),T=this._element.closest(".nav, .list-group");if(T){const G=T.nodeName==="UL"||T.nodeName==="OL"?qn:gr;u=ee.find(G,T),u=u[u.length-1]}const M=u?U.trigger(u,"hide.bs.tab",{relatedTarget:this._element}):null;if(U.trigger(this._element,"show.bs.tab",{relatedTarget:u}).defaultPrevented||M!==null&&M.defaultPrevented)return;this._activate(this._element,T);const B=()=>{U.trigger(u,"hidden.bs.tab",{relatedTarget:this._element}),U.trigger(this._element,"shown.bs.tab",{relatedTarget:u})};f?this._activate(f,f.parentNode,B):B()}_activate(u,f,T){const M=(!f||f.nodeName!=="UL"&&f.nodeName!=="OL"?ee.children(f,gr):ee.find(qn,f))[0],B=T&&M&&M.classList.contains(nr),G=()=>this._transitionComplete(u,M,T);M&&B?(M.classList.remove(rr),this._queueCallback(G,u,!0)):G()}_transitionComplete(u,f,T){if(f){f.classList.remove(Ve);const B=ee.findOne(":scope > .dropdown-menu .active",f.parentNode);B&&B.classList.remove(Ve),f.getAttribute("role")==="tab"&&f.setAttribute("aria-selected",!1)}u.classList.add(Ve),u.getAttribute("role")==="tab"&&u.setAttribute("aria-selected",!0),Me(u),u.classList.contains(nr)&&u.classList.add(rr);let M=u.parentNode;if(M&&M.nodeName==="LI"&&(M=M.parentNode),M&&M.classList.contains("dropdown-menu")){const B=u.closest(".dropdown");B&&ee.find(".dropdown-toggle",B).forEach((G=>G.classList.add(Ve))),u.setAttribute("aria-expanded",!0)}T&&T()}static jQueryInterface(u){return this.each((function(){const f=Gn.getOrCreateInstance(this);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method named "${u}"`);f[u]()}}))}}U.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(S){["A","AREA"].includes(this.tagName)&&S.preventDefault(),et(this)||Gn.getOrCreateInstance(this).show()})),He(Gn);const vr="toast",jt="hide",K="show",vn="showing",co={animation:"boolean",autohide:"boolean",delay:"number"},or={animation:!0,autohide:!0,delay:5e3};class mn extends rt{constructor(u,f){super(u),this._config=this._getConfig(f),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return co}static get Default(){return or}static get NAME(){return vr}show(){U.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(jt),Me(this._element),this._element.classList.add(K),this._element.classList.add(vn),this._queueCallback((()=>{this._element.classList.remove(vn),U.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(K)&&(U.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(vn),this._queueCallback((()=>{this._element.classList.add(jt),this._element.classList.remove(vn),this._element.classList.remove(K),U.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(K)&&this._element.classList.remove(K),super.dispose()}_getConfig(u){return u={...or,...xe.getDataAttributes(this._element),...typeof u=="object"&&u?u:{}},Ce(vr,u,this.constructor.DefaultType),u}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(u,f){switch(u.type){case"mouseover":case"mouseout":this._hasMouseInteraction=f;break;case"focusin":case"focusout":this._hasKeyboardInteraction=f}if(f)return void this._clearTimeout();const T=u.relatedTarget;this._element===T||this._element.contains(T)||this._maybeScheduleHide()}_setListeners(){U.on(this._element,"mouseover.bs.toast",(u=>this._onInteraction(u,!0))),U.on(this._element,"mouseout.bs.toast",(u=>this._onInteraction(u,!1))),U.on(this._element,"focusin.bs.toast",(u=>this._onInteraction(u,!0))),U.on(this._element,"focusout.bs.toast",(u=>this._onInteraction(u,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(u){return this.each((function(){const f=mn.getOrCreateInstance(this,u);if(typeof u=="string"){if(f[u]===void 0)throw new TypeError(`No method n
5amed "${u}"`);f[u](this)}}))}}return dt(mn),He(mn),{Alert:ze,Button:$e,Carousel:ut,Collapse:Q,Dropdown:Qe,Modal:dn,Offcanvas:Xt,Popover:hr,ScrollSpy:zt,Tab:Gn,Toast:mn,Tooltip:Ut}}));/*!
6FullCalendar v5.11.5
7Docs & License: https://fullcalendar.io/
8(c) 2022 Adam Shaw
9*/var FullCalendar=(function(m){"use strict";var J=function(n,t){return(J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])})(n,t)};function W(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}J(n,t),n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var b=function(){return(b=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)};function se(n,t,e){if(e||arguments.length===2)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return n.concat(r||t)}var ke,q,we,ce,Re,Ce,Ue,et,st={},Ye=[],Me=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Oe(n,t){for(var e in t)n[e]=t[e];return n}function qt(n){var t=n.parentNode;t&&t.removeChild(n)}function be(n,t,e){var r,o,a,s={};for(a in t)a=="key"?r=t[a]:a=="ref"?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?ke.call(arguments,2):e),typeof n=="function"&&n.defaultProps!=null)for(a in n.defaultProps)s[a]===void 0&&(s[a]=n.defaultProps[a]
vendor: 8,531 bytes, line 9
9);return He(n,s,r,o,null)}function He(n,t,e,r,o){var a={type:n,props:t,key:e,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++we};return o==null&&q.vnode!=null&&q.vnode(a),a}function Ze(n){return n.children}function tt(n,t,e){t[0]==="-"?n.setProperty(t,e??""):n[t]=e==null?"":typeof e!="number"||Me.test(t)?e:e+"px"}function It(n,t,e,r,o){var a;e:if(t==="style")if(typeof e=="string")n.style.cssText=e;else{if(typeof r=="string"&&(n.style.cssText=r=""),r)for(t in r)e&&t in e||tt(n.style,t,"");if(e)for(t in e)r&&e[t]===r[t]||tt(n.style,t,e[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+a]=e,e?r||n.addEventListener(t,a?wn:Qt,a):n.removeEventListener(t,a?wn:Qt,a);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in n)try{n[t]=e??"";break e}catch{}typeof e=="function"||(e==null||e===!1&&t.indexOf("-")==-1?n.removeAttribute(t):n.setAttribute(t,e))}}function Qt(n){ce=!0;try{return this.l[n.type+!1](q.event?q.event(n):n)}finally{ce=!1}}function wn(n){ce=!0;try{return this.l[n.type+!0](q.event?q.event(n):n)}finally{ce=!1}}function at(n,t){this.props=n,this.context=t}function nt(n,t){if(t==null)return n.__?nt(n.__,n.__.__k.indexOf(n)+1):null;for(var e;t<n.__k.length;t++)if((e=n.__k[t])!=null&&e.__e!=null)return e.__e;return typeof n.type=="function"?nt(n):null}function Gt(n){var t,e;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if((e=n.__k[t])!=null&&e.__e!=null){n.__e=n.__c.base=e.__e;break}return Gt(n)}}function Bn(n){ce?setTimeout(n):Ue(n)}function Jt(n){(!n.__d&&(n.__d=!0)&&Re.push(n)&&!Nt.__r++||Ce!==q.debounceRendering)&&((Ce=q.debounceRendering)||Bn)(Nt)}function Nt(){var n,t,e,r,o,a,s,l;for(Re.sort((function(c,p){return c.__v.__b-p.__v.__b}));n=Re.shift();)n.__d&&(t=Re.length,r=void 0,o=void 0,s=(a=(e=n).__v).__e,(l=e.__P)&&(r=[],(o=Oe({},a)).__v=a.__v+1,Ot(l,a,o,e.__n,l.ownerSVGElement!==void 0,a.__h!=null?[s]:null,r,s??nt(a),a.__h),nn(r,a),a.__e!=s&&Gt(a)),Re.length>t&&Re.sort((function(c,p){return c.__v.__b-p.__v.__b})));Nt.__r=0}function yt(n,t,e,r,o,a,s,l,c,p){var d,g,h,v,E,w,C,x=r&&r.__k||Ye,A=x.length;for(e.__k=[],d=0;d<t.length;d++)if((v=e.__k[d]=(v=t[d])==null||typeof v=="boolean"?null:typeof v=="string"||typeof v=="number"||typeof v=="bigint"?He(null,v,null,null,v):Array.isArray(v)?He(Ze,{children:v},null,null,null):v.__b>0?He(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null){if(v.__=e,v.__b=e.__b+1,(h=x[d])===null||h&&v.key==h.key&&v.type===h.type)x[d]=void 0;else for(g=0;g<A;g++){if((h=x[g])&&v.key==h.key&&v.type===h.type){x[g]=void 0;break}h=null}Ot(n,v,h=h||st,o,a,s,l,c,p),E=v.__e,(g=v.ref)&&h.ref!=g&&(C||(C=[]),h.ref&&C.push(h.ref,null,v),C.push(g,v.__c||E,v)),E!=null?(w==null&&(w=E),typeof v.type=="function"&&v.__k===h.__k?v.__d=c=en(v,c,n):c=tn(n,v,h,x,E,c),typeof e.type=="function"&&(e.__d=c)):c&&h.__e==c&&c.parentNode!=n&&(c=nt(h))}for(e.__e=w,d=A;d--;)x[d]!=null&&(typeof e.type=="function"&&x[d].__e!=null&&x[d].__e==e.__d&&(e.__d=Pt(r).nextSibling),lt(x[d],x[d]));if(C)for(d=0;d<C.length;d++)Ie(C[d],C[++d],C[++d])}function en(n,t,e){for(var r,o=n.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=n,t=typeof r.type=="function"?en(r,t,e):tn(e,r,r,o,r.__e,t));return t}function St(n,t){return t=t||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some((function(e){St(e,t)})):t.push(n)),t}function tn(n,t,e,r,o,a){var s,l,c;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(e==null||o!=a||o.parentNode==null)e:if(a==null||a.parentNode!==n)n.appendChild(o),s=null;else{for(l=a,c=0;(l=l.nextSibling)&&c<r.length;c+=1)if(l==o)break e;n.insertBefore(o,a),s=a}return s!==void 0?s:o.nextSibling}function Pt(n){var t,e,r;if(n.type==null||typeof n.type=="string")return n.__e;if(n.__k){for(t=n.__k.length-1;t>=0;t--)if((e=n.__k[t])&&(r=Pt(e)))return r}return null}function Ot(n,t,e,r,o,a,s,l,c){var p,d,g,h,v,E,w,C,x,A,O,H,L,V,X,Z=t.type;if(t.constructor!==void 0)return null;e.__h!=null&&(c=e.__h,l=t.__e=e.__e,t.__h=null,a=[l]),(p=q.__b)&&p(t);try{e:if(typeof Z=="function"){if(C=t.props,x=(p=Z.contextType)&&r[p.__c],A=p?x?x.props.value:p.__:r,e.__c?w=(d=t.__c=e.__c).__=d.__E:("prototype"in Z&&Z.prototype.render?t.__c=d=new Z(C,A):(t.__c=d=new at(C,A),d.constructor=Z,d.render=rt),x&&x.sub(d),d.props=C,d.state||(d.state={}),d.context=A,d.__n=r,g=d.__d=!0,d.__h=[],d._sb=[]),d.__s==null&&(d.__s=d.state),Z.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Oe({},d.__s)),Oe(d.__s,Z.getDerivedStateFromProps(C,d.__s))),h=d.props,v=d.state,d.__v=t,g)Z.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(Z.getDerivedStateFromProps==null&&C!==h&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(C,A),!d.__e&&d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(C,d.__s,A)===!1||t.__v===e.__v){for(t.__v!==e.__v&&(d.props=C,d.state=d.__s,d.__d=!1),t.__e=e.__e,t.__k=e.__k,t.__k.forEach((function(Y){Y&&(Y.__=t)})),O=0;O<d._sb.length;O++)d.__h.push(d._sb[O]);d._sb=[],d.__h.length&&s.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(C,d.__s,A),d.componentDidUpdate!=null&&d.__h.push((function(){d.componentDidUpdate(h,v,E)}))}if(d.context=A,d.props=C,d.__P=n,H=q.__r,L=0,"prototype"in Z&&Z.prototype.render){for(d.state=d.__s,d.__d=!1,H&&H(t),p=d.render(d.props,d.state,d.context),V=0;V<d._sb.length;V++)d.__h.push(d._sb[V]);d._sb=[]}else do d.__d=!1,H&&H(t),p=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++L<25);d.state=d.__s,d.getChildContext!=null&&(r=Oe(Oe({},r),d.getChildContext())),g||d.getSnapshotBeforeUpdate==null||(E=d.getSnapshotBeforeUpdate(h,v)),X=p!=null&&p.type===Ze&&p.key==null?p.props.children:p,yt(n,Array.isArray(X)?X:[X],t,e,r,o,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),w&&(d.__E=d.__=null),d.__e=!1}else a==null&&t.__v===e.__v?(t.__k=e.__k,t.__e=e.__e):t.__e=U(e.__e,t,e,r,o,a,s,c);(p=q.diffed)&&p(t)}catch(Y){t.__v=null,(c||a!=null)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),q.__e(Y,t,e)}}function nn(n,t){q.__c&&q.__c(t,n),n.some((function(e){try{n=e.__h,e.__h=[],n.some((function(r){r.call(e)}))}catch(r){q.__e(r,e.__v)}}))}function U(n,t,e,r,o,a,s,l){var c,p,d,g=e.props,h=t.props,v=t.type,E=0;if(v==="svg"&&(o=!0),a!=null){for(;E<a.length;E++)if((c=a[E])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){n=c,a[E]=null;break}}if(n==null){if(v===null)return document.createTextNode(h);n=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),a=null,l=!1}if(v===null)g===h||l&&n.data===h||(n.data=h);else{if(a=a&&ke.call(n.childNodes),p=(g=e.props||st).dangerouslySetInnerHTML,d=h.dangerouslySetInnerHTML,!l){if(a!=null)for(g={},E=0;E<n.attributes.length;E++)g[n.attributes[E].name]=n.attributes[E].value;(d||p)&&(d&&(p&&d.__html==p.__html||d.__html===n.innerHTML)||(n.innerHTML=d&&d.__html||""))}if((function(w,C,x,A,O){var H;for(H in x)H==="children"||H==="key"||H in C||It(w,H,null,x[H],A);for(H in C)O&&typeof C[H]!="function"||H==="children"||H==="key"||H==="value"||H==="checked"||x[H]===C[H]||It(w,H,C[H],x[H],A)})(n,h,g,o,l),d)t.__k=[];else if(E=t.props.children,yt(n,Array.isArray(E)?E:[E],t,e,r,o&&v!=="foreignObject",a,s,a?a[0]:e.__k&&nt(e,0),l),a!=null)for(E=a.length;E--;)a[E]!=null&&qt(a[E]);l||("value"in h&&(E=h.value)!==void 0&&(E!==n.value||v==="progress"&&!E||v==="option"&&E!==g.value)&&It(n,"value",E,g.value,!1),"checked"in h&&(E=h.checked)!==void 0&&E!==n.checked&&It(n,"checked",E,g.checked,!1))}return n}function Ie(n,t,e){try{typeof n=="function"?n(t):n.current=t}catch(r){q.__e(r,e)}}function lt(n,t,e){var r,o;if(q.unmount&&q.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||Ie(r,null,t)),(r=n.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){q.__e(a,t)}r.base=r.__P=null,n.__c=void 0}if(r=n.__k)for(o=0;o<r.length;o++)r[o]&&lt(r[o],t,e||typeof n.type!="function");e||n.__e==null||qt(n.__e),n.__=n.__e=n.__d=void 0}function rt(n,t,e){return this.constructor(n,e)}function dt(n,t,e){var r,o,a;q.__&&q.__(n,t),o=(r=typeof e=="function")?null:e&&e.__k||t.__k,a=[],Ot(t,n=(!r&&e||t).__k=be(Ze,null,[n]),o||st,st,t.ownerSVGElement!==void 0,!r&&e?[e]:o?null:t.firstChild?ke.call(t.childNodes):null,a,!r&&e?e:o?o.__e:t.firstChild,r),nn(a,n)}
9ke=Ye.slice,q={__e:function(n,t,e,r){for(var o,a,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(n)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(n,r||{}),s=o.__d),s)return o.__E=o}catch(l){n=l}throw n}},we=0,ce=!1,at.prototype.setState=function(n,t){var e;e=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Oe({},this.state),typeof n=="function"&&(n=n(Oe({},e),this.props)),n&&Oe(e,n),n!=null&&this.__v&&(t&&this._sb.push(t),Jt(this))},at.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),Jt(this))},at.prototype.render=Ze,Re=[],Ue=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Nt.__r=0,et=0;var ze,je,$e,Ht=[],Bt=[],xe=q.__b,ee=q.__r,Yt=q.diffed,Cn=q.__c,rn=q.unmount;function pt(){for(var n;n=Ht.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(Et),n.__H.__h.forEach(on),n.__H.__h=[]}catch(t){n.__H.__h=[],q.__e(t,n.__v)}}q.__b=function(n){ze=null,xe&&xe(n)},q.__r=function(n){ee&&ee(n);var t=(ze=n.__c).__H;t&&(je===ze?(t.__h=[],ze.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Bt,e.__N=e.i=void 0}))):(t.__h.forEach(Et),t.__h.forEach(on),t.__h=[])),je=ze},q.diffed=function(n){Yt&&Yt(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(Ht.push(t)!==1&&$e===q.requestAnimationFrame||(($e=q.requestAnimationFrame)||kt)(pt)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Bt&&(e.__=e.__V),e.i=void 0,e.__V=Bt}))),je=ze=null},q.__c=function(n,t){t.some((function(e){try{e.__h.forEach(Et),e.__h=e.__h.filter((function(r){return!r.__||on(r)}))}catch(r){t.some((function(o){o.__h&&(o.__h=[])})),t=[],q.__e(r,e.__v)}})),Cn&&Cn(n,t)},q.unmount=function(n){rn&&rn(n);var t,e=n.__c;e&&e.__H&&(e.__H.__.forEach((function(r){try{Et(r)}catch(o){t=o}})),e.__H=void 0,t&&q.__e(t,e.__v))};var ft=typeof requestAnimationFrame=="function";function kt(n){var t,e=function(){clearTimeout(r),ft&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(e,100);ft&&(t=requestAnimationFrame(e))}function Et(n){var t=ze,e=n.__c;typeof e=="function"&&(n.__c=void 0,e()),ze=t}function on(n){var t=ze;n.__c=n.__(),ze=t}function an(n,t){for(var e in n)if(e!=="__source"&&!(e in t))return!0;for(var r in t)if(r!=="__source"&&n[r]!==t[r])return!0;return!1}function ht(n){this.props=n}(ht.prototype=new at).isPureReactComponent=!0,ht.prototype.shouldComponentUpdate=function(n,t){return an(this.props,n)||an(this.state,t)};var Lt=q.__b;q.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),Lt&&Lt(n)};var ut=q.__e;q.__e=function(n,t,e,r){if(n.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=e.__e,t.__k=e.__k),o.__c(n,t)}ut(n,t,e,r)};var sn=q.unmount;function xn(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(r){typeof r.__c=="function"&&r.__c()})),n.__c.__H=null),(n=(function(r,o){for(var a in o)r[a]=o[a];return r})({},n)).__c!=null&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(r){return xn(r,t,e)}))),n}function y(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(r){return y(r,t,e)})),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function R(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function N(){this.u=null,this.o=null}q.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&n.__h===!0&&(n.type=null),sn&&sn(n)},(D.prototype=new at).__c=function(n,t){var e=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(e);var o=R(r.__v),a=!1,s=function(){a||(a=!0,e.__R=null,o?o(l):l())};e.__R=s;var l=function(){if(!--r.__u){if(r.state.__a){var p=r.state.__a;r.__v.__k[0]=y(p,p.__c.__P,p.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.t.pop();)d.forceUpdate()}},c=t.__h===!0;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(s,s)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=xn(this.__b,e,r.__O=r.__P)}this.__b=null}var o=t.__a&&be(Ze,null,n.fallback);return o&&(o.__h=null),[be(Ze,null,t.__a?null:n.children),o]};var F=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function z(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var t=this,e=n.i;t.componentWillUnmount=function(){dt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==e&&t.componentWillUnmount(),n.__v?(t.l||(t.i=e,t.l={nodeType:1,parentNode:e,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),dt(be(z,{context:t.context},n.__v),t.l)):t.l&&t.componentWillUnmount()}(N.prototype=new at).__a=function(n){var t=this,e=R(t.__v),r=t.o.get(n);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),F(t,n,r)):o()};e?e(a):a()}},N.prototype.render=function(n){this.u=null,this.o=new Map;var t=St(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},N.prototype.componentDidUpdate=N.prototype.componentDidMount=function(){var n=this;this.o.forEach((function(t,e){F(n,e,t)}))};var Q=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,_e=typeof document<"u",te=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};at.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(n){Object.defineProperty(at.prototype,n,{
9configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t})}})}));var oe=q.event;function re(){}function ie(){return this.cancelBubble}function he(){return this.defaultPrevented}q.event=function(n){return oe&&(n=oe(n)),n.persist=re,n.isPropagationStopped=ie,n.isDefaultPrevented=he,n.nativeEvent=n};var de={configurable:!0,get:function(){return this.class}},pe=q.vnode;q.vnode=function(n){var t=n.type,e=n.props,r=e;if(typeof t=="string"){var o=t.indexOf("-")===-1;for(var a in r={},e){var s=e[a];_e&&a==="children"&&t==="noscript"||a==="value"&&"defaultValue"in e&&s==null||(a==="defaultValue"&&"value"in e&&e.value==null?a="value":a==="download"&&s===!0?s="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!te(e.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():o&&$.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():s===null&&(s=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=s)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=St(e.children).forEach((function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1}))),t=="select"&&r.defaultValue!=null&&(r.value=St(e.children).forEach((function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value}))),n.props=r,e.class!=e.className&&(de.enumerable="className"in e,e.className!=null&&(r.class=e.className),Object.defineProperty(r,"className",de))}n.$$typeof=Q,pe&&pe(n)};var I=q.__r;q.__r=function(n){I&&I(n)};var Xe=typeof globalThis<"u"?globalThis:window;Xe.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):Xe.FullCalendarVDom={Component:at,createElement:be,render:dt,createRef:function(){return{current:null}},Fragment:Ze,createContext:function(n){var t=(function(r,o){var a={__c:o="__cC"+et++,__:r,Consumer:function(s,l){return s.children(l)},Provider:function(s){var l,c;return this.getChildContext||(l=[],(c={})[o]=this,this.getChildContext=function(){return c},this.shouldComponentUpdate=function(p){this.props.value!==p.value&&l.some((function(d){d.__e=!0,Jt(d)}))},this.sub=function(p){l.push(p);var d=p.componentWillUnmount;p.componentWillUnmount=function(){l.splice(l.indexOf(p),1),d&&d.call(p)}}),s.children}};return a.Provider.__=a.Consumer.contextType=a})(n),e=t.Provider;return t.Provider=function(){var r=this,o=!this.getChildContext,a=e.apply(this,arguments);if(o){var s=[];this.shouldComponentUpdate=function(l){r.props.value!==l.value&&s.forEach((function(c){c.context=l.value,c.forceUpdate()}))},this.sub=function(l){s.push(l);var c=l.componentWillUnmount;l.componentWillUnmount=function(){s.splice(s.indexOf(l),1),c&&c.call(l)}}}return a},t},createPortal:function(n,t){var e=be(j,{__v:n,i:t});return e.containerInfo=t,e},flushSync:function(n){n();var t=q.debounceRendering,e=[];function r(o){e.push(o)}for(q.debounceRendering=r,dt(be(bt,{}),document.createElement("div"));e.length;)e.shift()();q.debounceRendering=t},unmountComponentAtNode:function(n){dt(null,n)}};var bt=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){return be("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t})(at),Ne=(function(){function n(t,e){this.context=t,this.internalEventSource=e}return n.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},n.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(n.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"format",{get:function(){return this.internalEventSource.meta.format}
9,enumerable:!1,configurable:!0}),n})();function _t(n){n.parentNode&&n.parentNode.removeChild(n)}function Te(n,t){if(n.closest)return n.closest(t);if(!document.documentElement.contains(n))return null;do{if(Ke(n,t))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function Ke(n,t){return(n.matches||n.matchesSelector||n.msMatchesSelector).call(n,t)}function Dt(n,t){for(var e=n instanceof HTMLElement?[n]:n,r=[],o=0;o<e.length;o+=1)for(var a=e[o].querySelectorAll(t),s=0;s<a.length;s+=1)r.push(a[s]);return r}var Tn=/(top|left|right|bottom|width|height)$/i;function Be(n,t){for(var e in t)Qe(n,e,t[e])}function Qe(n,t,e){e==null?n.style[t]="":typeof e=="number"&&Tn.test(t)?n.style[t]=e+"px":n.style[t]=e}function Ln(n){var t,e;return(e=(t=n.composedPath)===null||t===void 0?void 0:t.call(n)[0])!==null&&e!==void 0?e:n.target}function Fn(n){return n.getRootNode?n.getRootNode():document}var ln=0;function wt(){return"fc-dom-"+(ln+=1)}function Sn(n){n.preventDefault()}function kn(n,t,e,r){var o=(function(a,s){return function(l){var c=Te(l.target,a);c&&s.call(c,l,c)}})(e,r);return n.addEventListener(t,o),function(){n.removeEventListener(t,o)}}var Rn=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function Ct(n,t){var e=function(r){t(r),Rn.forEach((function(o){n.removeEventListener(o,e)}))};Rn.forEach((function(r){n.addEventListener(r,e)}))}function Zt(n){return b({onClick:n},no(n))}function no(n){return{tabIndex:0,onKeyDown:function(t){t.key!=="Enter"&&t.key!==" "||(n(t),t.preventDefault())}}}var ro=0;function un(){return String(ro+=1)}function Wn(){document.body.classList.add("fc-not-allowed")}function Un(){document.body.classList.remove("fc-not-allowed")}function Tr(n){n.classList.add("fc-unselectable"),n.addEventListener("selectstart",Sn)}function Sr(n){n.classList.remove("fc-unselectable"),n.removeEventListener("selectstart",Sn)}function oo(n){n.addEventListener("contextmenu",Sn)}function kr(n){n.removeEventListener("contextmenu",Sn)}function Rr(n){var t,e,r=[],o=[];for(typeof n=="string"?o=n.split(/\s*,\s*/):typeof n=="function"?o=[n]:Array.isArray(n)&&(o=n),t=0;t<o.length;t+=1)typeof(e=o[t])=="string"?r.push(e.charAt(0)==="-"?{field:e.substring(1),order:-1}:{field:e,order:1}):typeof e=="function"&&r.push({func:e});return r}function Ar(n,t,e){var r,o;for(r=0;r<e.length;r+=1)if(o=Mr(n,t,e[r]))return o;return 0}function Mr(n,t,e){return e.func?e.func(n,t):Ir(n[e.field],t[e.field])*(e.order||1)}function Ir(n,t){return n||t?t==null?-1:n==null?1:typeof n=="string"||typeof t=="string"?String(n).localeCompare(String(t)):n-t:0}function cn(n,t){var e=String(n);return"000".substr(0,t-e.length)+e}function zn(n,t,e){return typeof n=="function"?n.apply(void 0,t):typeof n=="string"?t.reduce((function(r,o,a){return r.replace("$"+a,o||"")}),n):e}function Nr(n,t){return n-t}function An(n){return n%1==0}function dn(n){var t=n.querySelector(".fc-scrollgrid-shrink-frame"),e=n.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!e)throw new Error("needs fc-scrollgrid-shrink-cushion className");return n.getBoundingClientRect().width-t.getBoundingClientRect().width+e.getBoundingClientRect().width}var Pr=["sun","mon","tue","wed","thu","fri","sat"];function dr(n,t){var e=pn(n);return e[2]+=7*t,ct(e)}function Pe(n,t){var e=pn(n);return e[2]+=t,ct(e)}function $t(n,t){var e=pn(n);return e[6]+=t,ct(e)}function Or(n,t){return Ft(n,t)/7}function Ft(n,t){return(t.valueOf()-n.valueOf())/864e5}function Xt(n,t){var e=De(n),r=De(t);return{years:0,months:0,days:Math.round(Ft(e,r)),milliseconds:t.valueOf()-r.valueOf()-(n.valueOf()-e.valueOf())}}function io(n,t){var e=tr(n,t);return e!==null&&e%7==0?e/7:null}function tr(n,t){return fn(n)===fn(t)?Math.round(Ft(n,t)):null}function De(n){return ct([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()])}function Hr(n,t,e,r){var o=ct([t,0,1+ao(t,e,r)]),a=De(n),s=Math.round(Ft(o,a));return Math.floor(s/7)+1}function ao(n,t,e){var r=7+t-e;return-((7+ct([n,0,r]).getUTCDay()-t)%7)+r-1}function Br(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()]}function so(n){return new Date(n[0],n[1]||0,n[2]==null?1:n[2],n[3]||0,n[4]||0,n[5]||0)}function pn(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()]}function ct(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC.apply(Date,n))}function Lr(n){return!isNaN(n.valueOf())}function fn(n){return 1e3*n.getUTCHours()*60*60+1e3*n.getUTCMinutes()*60+1e3*n.getUTCSeconds()+n.getUTCMilliseconds()}function hn(n,t,e,r){return{instanceId:un(),defId:n,range:t,forcedStartTzo:e??null,forcedEndTzo:r??null}}var gn=Object.prototype.hasOwnProperty;function Mn(n,t){var e={};if(t)for(var r in t){for(var o=[],a=n.length-1;a>=0;a-=1){var s=n[a][r];if(typeof s=="object"&&s)o.unshift(s);else if(s!==void 0){e[r]=s;break}}o.length&&(e[r]=Mn(o))}for(a=n.length-1;a>=0;a-=1){var l=n[a];for(var c in l)c in e||(e[c]=l[c])}return e}function Wt(n,t){var e={};for(var r in n)t(n[r],r)&&(e[r]=n[r]);return e}function Rt(n,t){var e={};for(var r in n)e[r]=t(n[r],r);return e}function Fr(n){for(var t={},e=0,r=n;e<r.length;e++)t[r[e]]=!0;return t}function pr(n){var t=[];for(var e in n)t.push(n[e]);return t}function gt(n,t){if(n===t)return!0;for(var e in n)if(gn.call(n,e)&&!(e in t))return!1;for(var e in t)if(gn.call(t,e)&&n[e]!==t[e])return!1;return!0}function fr(n,t){var e=[];for(var r in n)gn.call(n,r)&&(r in t||e.push(r));for(var r in t)gn.call(t,r)&&n[r]!==t[r]&&e.push(r);return e}function Ut(n,t,e){if(e===void 0&&(e={}),n===t)return!0;for(var r in t)if(!(r in n)||!Ko(n[r],t[r],e[r]))return!1;for(var r in n)if(!(r in t))return!1;return!0}function Ko(n,t,e){return n===t||e===!0||!!e&&e(n,t)}function lo(n,t,e,r){t===void 0&&(t=0),r===void 0&&(r=1);var o=[];e==null&&(e=Object.keys(n).length);for(var a=t;a<e;a+=r){var s=n[a];s!==void 0&&o.push(s)}return o}function jn(n,t,e){var r=e.dateEnv,o=e.pluginHooks,a=e.options,s=n.defs,l=n.instances;for(var c in l=Wt(l,(function(w){return!s[w.defId].recurringDef})),s){var p=s[c];if(p.recurringDef){var d=p.recurringDef.duration;d||(d=p.allDay?a.defaultAllDayEventDuration:a.defaultTimedEventDuration);for(var g=0,h=hr(p,d,t,r,o.recurringTypes);g<h.length;g++){var v=h[g],E=hn(c,{start:v,end:r.add(v,d)});l[E.instanceId]=E}}}return{defs:s,instances:l}}function hr(n,t,e,r,o){var a=o[n.recurringDef.typeId].expand(n.recurringDef.typeData,{start:r.subtract(e.start,t),end:e.end},r);return n.allDay&&(a=a.map(De)),a}var Wr=["years","months","days","milliseconds"],uo=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ue(n,t){var e;return typeof n=="string"?(function(r){var o=uo.exec(r);if(o){var a=o[1]?-1:1;return{years:0,months:0,days:a*(o[2]?parseInt(o[2],10):0),milliseconds:a*(60*(o[3]?parseInt(o[3],10):0)*60*1e3+60*(o[4]?parseInt(o[4],10):0)*1e3+1e3*(o[5]?parseInt(o[5],10):0)+(o[6]?parseInt(o[6],10):0))}}return null})(n):typeof n=="object"&&n?In(n):typeof n=="number"?In(((e={})[t||"milliseconds"]=n,e)):null}function In(n){var t={years:n.years||n.year||0,months:n.months||n.month||0,days:n.days||n.day||0,milliseconds:60*(n.hours||n.hour||0
9)*60*1e3+60*(n.minutes||n.minute||0)*1e3+1e3*(n.seconds||n.second||0)+(n.milliseconds||n.millisecond||n.ms||0)},e=n.weeks||n.week;return e&&(t.days+=7*e,t.specifiedWeeks=!0),t}function Vn(n,t){return{years:n.years+t.years,months:n.months+t.months,days:n.days+t.days,milliseconds:n.milliseconds+t.milliseconds}}function Ur(n,t){return{years:n.years*t,months:n.months*t,days:n.days*t,milliseconds:n.milliseconds*t}}function zt(n){return Ve(n)/864e5}function Ve(n){return 31536e6*n.years+2592e6*n.months+864e5*n.days+n.milliseconds}function nr(n,t){for(var e=null,r=0;r<Wr.length;r+=1){var o=Wr[r];if(t[o]){var a=n[o]/t[o];if(!An(a)||e!==null&&e!==a)return null;e=a}else if(n[o])return null}return e}function rr(n){var t=n.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 n.days?n.specifiedWeeks&&n.days%7==0?{unit:"week",value:n.days/7}:{unit:"day",value:n.days}:n.months?{unit:"month",value:n.months}:n.years?{unit:"year",value:n.years}:{unit:"millisecond",value:0}}function gr(n,t,e){e===void 0&&(e=!1);var r=n.toISOString();return r=r.replace(".000",""),e&&(r=r.replace("T00:00:00Z","")),r.length>10&&(t==null?r=r.replace("Z",""):t!==0&&(r=r.replace("Z",vr(t,!0)))),r}function qn(n){return n.toISOString().replace(/T.*$/,"")}function Gn(n){return cn(n.getUTCHours(),2)+":"+cn(n.getUTCMinutes(),2)+":"+cn(n.getUTCSeconds(),2)}function vr(n,t){t===void 0&&(t=!1);var e=n<0?"-":"+",r=Math.abs(n),o=Math.floor(r/60),a=Math.round(r%60);return t?e+cn(o,2)+":"+cn(a,2):"GMT"+e+o+(a?":"+cn(a,2):"")}function jt(n,t,e){if(n===t)return!0;var r,o=n.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(e?e(n[r],t[r]):n[r]===t[r]))return!1;return!0}function K(n,t,e){var r,o;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(r){if(!jt(r,a)){e&&e(o);var l=n.apply(this,a);t&&t(l,o)||(o=l)}}else o=n.apply(this,a);return r=a,o}}function vn(n,t,e){var r,o,a=this;return function(s){if(r){if(!gt(r,s)){e&&e(o);var l=n.call(a,s);t&&t(l,o)||(o=l)}}else o=n.call(a,s);return r=s,o}}var co={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},or={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},mn=/\s*([ap])\.?m\.?/i,S=/,/g,u=/\s+/g,f=/\u200e/g,T=/UTC|GMT/,M=(function(){function n(t){var e={},r={},o=0;for(var a in t)a in co?(r[a]=t[a],o=Math.max(co[a],o)):(e[a]=t[a],a in or&&(o=Math.max(or[a],o)));this.standardDateProps=e,this.extendedSettings=r,this.severity=o,this.buildFormattingFunc=K(B)}return n.prototype.format=function(t,e){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,e)(t)},n.prototype.formatRange=function(t,e,r,o){var a=this.standardDateProps,s=this.extendedSettings,l=(function(C,x,A){return A.getMarkerYear(C)!==A.getMarkerYear(x)?5:A.getMarkerMonth(C)!==A.getMarkerMonth(x)?4:A.getMarkerDay(C)!==A.getMarkerDay(x)?2:fn(C)!==fn(x)?1:0})(t.marker,e.marker,r.calendarSystem);if(!l)return this.format(t,r);var c=l;!(c>1)||a.year!=="numeric"&&a.year!=="2-digit"||a.month!=="numeric"&&a.month!=="2-digit"||a.day!=="numeric"&&a.day!=="2-digit"||(c=1);var p=this.format(t,r),d=this.format(e,r);if(p===d)return p;var g=B((function(C,x){var A={};for(var O in C)(!(O in or)||or[O]<=x)&&(A[O]=C[O]);return A})(a,c),s,r),h=g(t),v=g(e),E=(function(C,x,A,O){for(var H=0;H<C.length;){var L=C.indexOf(x,H);if(L===-1)break;var V=C.substr(0,L);H=L+x.length;for(var X=C.substr(H),Z=0;Z<A.length;){var Y=A.indexOf(O,Z);if(Y===-1)break;var Ee=A.substr(0,Y);Z=Y+O.length;var ge=A.substr(Z);if(V===Ee&&X===ge)return{before:V,after:X}}}return null})(p,h,d,v),w=s.separator||o||r.defaultSeparator||"";return E?E.before+h+w+v+E.after:p+w+d},n.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"}},n})();function B(n,t,e){var r=Object.keys(n).length;return r===1&&n.timeZoneName==="short"?function(o){return vr(o.timeZoneOffset)}:r===0&&t.week?function(o){return(function(a,s,l,c,p){var d=[];return p==="long"?d.push(l):p!=="short"&&p!=="narrow"||d.push(s),p!=="long"&&p!=="short"||d.push(" "),d.push(c.simpleNumberFormat.format(a)),c.options.direction==="rtl"&&d.reverse(),d.join("")})(e.computeWeekNumber(o.marker),e.weekText,e.weekTextLong,e.locale,t.week)}:(function(o,a,s){o=b({},o),a=b({},a),(function(d,g){d.timeZoneName&&(d.hour||(d.hour="2-digit"),d.minute||(d.minute="2-digit")),d.timeZoneName==="long"&&(d.timeZoneName="short"),g.omitZeroMinute&&(d.second||d.millisecond)&&delete g.omitZeroMinute})(o,a),o.timeZone="UTC";var l,c=new Intl.DateTimeFormat(s.locale.codes,o);if(a.omitZeroMinute){var p=b({},o);delete p.minute,l=new Intl.DateTimeFormat(s.locale.codes,p)}return function(d){var g=d.marker;return(function(h,v,E,w,C){return h=h.replace(f,""),E.timeZoneName==="short"&&(h=(function(x,A){var O=!1;return x=x.replace(T,(function(){return O=!0,A})),O||(x+=" "+A),x})(h,C.timeZone==="UTC"||v.timeZoneOffset==null?"UTC":vr(v.timeZoneOffset))),w.omitCommas&&(h=h.replace(S,"").trim()),w.omitZeroMinute&&(h=h.replace(":00","")),w.meridiem===!1?h=h.replace(mn,"").trim():w.meridiem==="narrow"?h=h.replace(mn,(function(x,A){return A.toLocaleLowerCase()})):w.meridiem==="short"?h=h.replace(mn,(function(x,A){return A.toLocaleLowerCase()+"m"})):w.meridiem==="lowercase"&&(h=h.replace(mn,(function(x){return x.toLocaleLowerCase()}))),h=(h=h.replace(u," ")).trim()})((l&&!g.getUTCMinutes()?l:c).format(g),d,o,a,s)}})(n,t,e)}function G(n,t){var e=t.markerToArray(n.marker);return{marker:n.marker,timeZoneOffset:n.timeZoneOffset,array:e,year:e[0],month:e[1],day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]}}function ne(n,t,e,r){var o=G(n,e.calendarSystem);return{date:o,start:o,end:t?G(t,e.calendarSystem):null,timeZone:e.timeZone,localeCodes:e.locale.codes,defaultSeparator:r||e.defaultSeparator}}var ye=(function(){function n(t){this.cmdStr=t}return n.prototype.format=function(t,e,r){return e.cmdFormatter(this.cmdStr,ne(t,null,e,r))},n.prototype.formatRange=function(t,e,r,o){return r.cmdFormatter(this.cmdStr,ne(t,e,r,o))},n})(),Le=(function(){function n(t){this.func=t}return n.prototype.format=function(t,e,r){return this.func(ne(t,null,e,r))},n.prototype.formatRange=function(t,e,r,o){return this.func(ne(t,e,r,o))},n})();function ae(n){return typeof n=="object"&&n?new M(n):typeof n=="string"?new ye(n):typeof n=="function"?new Le(n):null}var ve={navLinkDayClick:P,navLinkWeekClick:P,duration:ue,bootstrapFontAwesome:P,buttonIcons:P,customButtons:P,defaultAllDayEventDuration:ue,defaultTimedEventDuration:ue,nextDayThreshold:ue,scrollTime:ue,scrollTimeReset:Boolean,slotMinTime:ue,slotMaxTime:ue,dayPopoverFormat:ae,slotDuration:ue,snapDuration:ue,headerToolbar:P,footerToolbar:P,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:ae,dayHeaderClassNames:P,dayHeaderContent:P,dayHeaderDidMount:P,dayHeaderWillUnmount:P,dayCellClassNames:P,dayCellContent:P,dayCellDidMount:P,dayCellWillUnmount:P,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:P,weekNumbers:Boolean,weekNumberClassNames:P,weekNumberContent:P,weekNumberDidMount:P,weekNumberWillUnmount:P,editable:Boolean,viewClassNames:P,viewDidMount:P,viewWillUnmount:P,nowIndicator:Boolean,nowIndicatorClassNames:P,nowIndicatorContent:P,nowIndicatorDidMount:P,nowIndicatorWillUnmount:P,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:P,locale:P,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:P,eventOrder:Rr,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:P,contentHeight:P,direction:String,weekNumberFormat:ae,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:P,initialDate:P,now:P,eventDataTransform:P,stickyHeaderDates:P,stickyFooterScrollbar:P,viewHeight:P,defaultAllDay:Boolean,eventSourceFailure:P,eventSourceSuccess:P,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:P,eventConstraint:P,eventAllow:P,eventBackgroun
9dColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:P,eventContent:P,eventDidMount:P,eventWillUnmount:P,selectConstraint:P,selectOverlap:P,selectAllow:P,droppable:Boolean,unselectCancel:String,slotLabelFormat:P,slotLaneClassNames:P,slotLaneContent:P,slotLaneDidMount:P,slotLaneWillUnmount:P,slotLabelClassNames:P,slotLabelContent:P,slotLabelDidMount:P,slotLabelWillUnmount:P,dayMaxEvents:P,dayMaxEventRows:P,dayMinWidth:Number,slotLabelInterval:ue,allDayText:String,allDayClassNames:P,allDayContent:P,allDayDidMount:P,allDayWillUnmount:P,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:ae,rerenderDelay:Number,moreLinkText:P,moreLinkHint:P,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:P,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:ue,hiddenDays:P,monthMode:Boolean,fixedWeekCount:Boolean,validRange:P,visibleRange:P,titleFormat:P,eventInteractive:Boolean,noEventsText:String,viewHint:P,navLinkHint:P,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:P,moreLinkClassNames:P,moreLinkContent:P,moreLinkDidMount:P,moreLinkWillUnmount:P},Se={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",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},Fe={datesSet:P,eventsSet:P,eventAdd:P,eventChange:P,eventRemove:P,windowResize:P,eventClick:P,eventMouseEnter:P,eventMouseLeave:P,select:P,unselect:P,loading:P,_unmount:P,_beforeprint:P,_afterprint:P,_noEventDrop:P,_noEventResize:P,_resize:P,_scrollRequest:P},vt={buttonText:P,buttonHints:P,views:P,plugins:P,initialEvents:P,events:P,eventSources:P},We={headerToolbar:mt,footerToolbar:mt,buttonText:mt,buttonHints:mt,buttonIcons:mt,dateIncrement:mt};function mt(n,t){return typeof n=="object"&&typeof t=="object"&&n&&t?gt(n,t):n===t}var Nn={type:String,component:P,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:P,usesMinMaxTime:Boolean,classNames:P,content:P,didMount:P,willUnmount:P};function Pn(n){return Mn(n,We)}function At(n,t){var e={},r={};for(var o in t)o in n&&(e[o]=t[o](n[o]));for(var o in n)o in t||(r[o]=n[o]);return{refined:e,extra:r}}function P(n){return n}function po(n,t,e,r){for(var o={defs:{},instances:{}},a=Jo(e),s=0,l=n;s<l.length;s++){var c=ta(l[s],t,e,r,a);c&&mr(c,o)}return o}function mr(n,t){return t===void 0&&(t={defs:{},instances:{}}),t.defs[n.def.defId]=n.def,n.instance&&(t.instances[n.instance.instanceId]=n.instance),t}function fo(n,t){var e=n.instances[t];if(e){var r=n.defs[e.defId],o=zr(n,(function(a){return s=r,l=a,!!(s.groupId&&s.groupId===l.groupId);var s,l}));return o.defs[r.defId]=r,o.instances[e.instanceId]=e,o}return{defs:{},instances:{}}}function _l(){return{defs:{},instances:{}}}function ho(n,t){return{defs:b(b({},n.defs),t.defs),instances:b(b({},n.instances),t.instances)}}function zr(n,t){var e=Wt(n.defs,t),r=Wt(n.instances,(function(o){return e[o.defId]}));return{defs:e,instances:r}}function go(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}var vo={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:P,overlap:P,allow:P,className:go,classNames:go,color:String,backgroundColor:String,borderColor:String,textColor:String},Dl={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function jr(n,t){var e=(function(r,o){return Array.isArray(r)?po(r,null,o,!0):typeof r=="object"&&r?po([r],null,o,!0):r!=null?String(r):null})(n.constraint,t);return{display:n.display||null,startEditable:n.startEditable!=null?n.startEditable:n.editable,durationEditable:n.durationEditable!=null?n.durationEditable:n.editable,constraints:e!=null?[e]:[],overlap:n.overlap!=null?n.overlap:null,allows:n.allow!=null?[n.allow]:[],backgroundColor:n.backgroundColor||n.color||"",borderColor:n.borderColor||n.color||"",textColor:n.textColor||"",classNames:(n.className||[]).concat(n.classNames||[])}}function Qo(n){return n.reduce(wl,Dl)}function wl(n,t){return{display:t.display!=null?t.display:n.display,startEditable:t.startEditable!=null?t.startEditable:n.startEditable,durationEditable:t.durationEditable!=null?t.durationEditable:n.durationEditable,constraints:n.constraints.concat(t.constraints),overlap:typeof t.overlap=="boolean"?t.overlap:n.overlap,allows:n.allows.concat(t.allows),backgroundColor:t.backgroundColor||n.backgroundColor,borderColor:t.borderColor||n.borderColor,textColor:t.textColor||n.textColor,classNames:n.classNames.c
9oncat(t.classNames)}}var mo={id:String,groupId:String,title:String,url:String,interactive:Boolean},ea={start:P,end:P,date:P,allDay:Boolean},Cl=b(b(b({},mo),ea),{extendedProps:P});function ta(n,t,e,r,o){o===void 0&&(o=Jo(e));var a=yo(n,e,o),s=a.refined,l=a.extra,c=(function(h,v){var E=null;return h&&(E=h.defaultAllDay),E==null&&(E=v.options.defaultAllDay),E})(t,e),p=(function(h,v,E,w){for(var C=0;C<w.length;C+=1){var x=w[C].parse(h,E);if(x){var A=h.allDay;return A==null&&(A=v)==null&&(A=x.allDayGuess)==null&&(A=!1),{allDay:A,duration:x.duration,typeData:x.typeData,typeId:C}}}return null})(s,c,e.dateEnv,e.pluginHooks.recurringTypes);if(p)return(d=Vr(s,l,t?t.sourceId:"",p.allDay,!!p.duration,e)).recurringDef={typeId:p.typeId,typeData:p.typeData,duration:p.duration},{def:d,instance:null};var d,g=(function(h,v,E,w){var C,x,A=h.allDay,O=null,H=!1,L=null,V=h.start!=null?h.start:h.date;if(C=E.dateEnv.createMarkerMeta(V))O=C.marker;else if(!w)return null;return h.end!=null&&(x=E.dateEnv.createMarkerMeta(h.end)),A==null&&(A=v??((!C||C.isTimeUnspecified)&&(!x||x.isTimeUnspecified))),A&&O&&(O=De(O)),x&&(L=x.marker,A&&(L=De(L)),O&&L<=O&&(L=null)),L?H=!0:w||(H=E.options.forceEventDuration||!1,L=E.dateEnv.add(O,A?E.options.defaultAllDayEventDuration:E.options.defaultTimedEventDuration)),{allDay:A,hasEnd:H,range:{start:O,end:L},forcedStartTzo:C?C.forcedTzo:null,forcedEndTzo:x?x.forcedTzo:null}})(s,c,e,r);return g?{def:d=Vr(s,l,t?t.sourceId:"",g.allDay,g.hasEnd,e),instance:hn(d.defId,g.range,g.forcedStartTzo,g.forcedEndTzo)}:null}function yo(n,t,e){return e===void 0&&(e=Jo(t)),At(n,e)}function Jo(n){return b(b(b({},vo),Cl),n.pluginHooks.eventRefiners)}function Vr(n,t,e,r,o,a){for(var s={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:un(),sourceId:e,allDay:r,hasEnd:o,interactive:n.interactive,ui:jr(n,a),extendedProps:b(b({},n.extendedProps||{}),t)},l=0,c=a.pluginHooks.eventDefMemberAdders;l<c.length;l++){var p=c[l];b(s,p(n))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function na(n){var t=Math.floor(Ft(n.start,n.end))||1,e=De(n.start);return{start:e,end:Pe(e,t)}}function Eo(n,t){t===void 0&&(t=ue(0));var e=null,r=null;if(n.end){r=De(n.end);var o=n.end.valueOf()-r.valueOf();o&&o>=Ve(t)&&(r=Pe(r,1))}return n.start&&(e=De(n.start),r&&r<=e&&(r=Pe(e,1))),{start:e,end:r}}function ra(n){var t=Eo(n);return Ft(t.start,t.end)>1}function ir(n,t,e,r){return r==="year"?ue(e.diffWholeYears(n,t),"year"):r==="month"?ue(e.diffWholeMonths(n,t),"month"):Xt(n,t)}function oa(n,t){var e,r,o=[],a=t.start;for(n.sort(xl),e=0;e<n.length;e+=1)(r=n[e]).start>a&&o.push({start:a,end:r.start}),r.end>a&&(a=r.end);return a<t.end&&o.push({start:a,end:t.end}),o}function xl(n,t){return n.start.valueOf()-t.start.valueOf()}function Yn(n,t){var e=n.start,r=n.end,o=null;return t.start!==null&&(e=e===null?t.start:new Date(Math.max(e.valueOf(),t.start.valueOf()))),t.end!=null&&(r=r===null?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(e===null||r===null||e<r)&&(o={start:e,end:r}),o}function ia(n,t){return(n.start===null?null:n.start.valueOf())===(t.start===null?null:t.start.valueOf())&&(n.end===null?null:n.end.valueOf())===(t.end===null?null:t.end.valueOf())}function bo(n,t){return(n.end===null||t.start===null||n.end>t.start)&&(n.start===null||t.end===null||n.start<t.end)}function qr(n,t){return(n.start===null||t.start!==null&&t.start>=n.start)&&(n.end===null||t.end!==null&&t.end<=n.end)}function On(n,t){return(n.start===null||t>=n.start)&&(n.end===null||t<n.end)}function Gr(n,t,e,r){var o={},a={},s={},l=[],c=[],p=_o(n.defs,t);for(var d in n.defs)(v=p[(H=n.defs[d]).defId]).display==="inverse-background"&&(H.groupId?(o[H.groupId]=[],s[H.groupId]||(s[H.groupId]=H)):a[d]=[]);for(var g in n.instances){var h=n.instances[g],v=p[(H=n.defs[h.defId]).defId],E=h.range,w=!H.allDay&&r?Eo(E,r):E,C=Yn(w,e);C&&(v.display==="inverse-background"?H.groupId?o[H.groupId].push(C):a[h.defId].push(C):v.display!=="none"&&(v.display==="background"?l:c).push({def:H,ui:v,instance:h,range:C,isStart:w.start&&w.start.valueOf()===C.start.valueOf(),isEnd:w.end&&w.end.valueOf()===C.end.valueOf()}))}for(var x in o)for(var A=0,O=oa(o[x],e);A<O.length;A++){var H,L=O[A];v=p[(H=s[x]).defId],l.push({def:H,ui:v,instance:null,range:L,isStart:!1,isEnd:!1})}for(var d in a)for(var V=0,X=oa(a[d],e);V<X.length;V++)L=X[V],l.push({def:n.defs[d],ui:p[d],instance:null,range:L,isStart:!1,isEnd:!1});return{bg:l,fg:c}}function aa(n){return n.ui.display==="background"||n.ui.display==="inverse-background"}function ei(n,t){n.fcSeg=t}function ar(n){return n.fcSeg||n.parentNode.fcSeg||null}function _o(n,t){return Rt(n,(function(e){return sa(e,t)}))}function sa(n,t){var e=[];return t[""]&&e.push(t[""]),t[n.defId]&&e.push(t[n.defId]),e.push(n.ui),Qo(e)}function Do(n,t){var e=n.map(la);return e.sort((function(r,o){return Ar(r,o,t)})),e.map((function(r){return r._seg}))}function la(n){var t=n.eventRange,e=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,a=r.end?r.end.valueOf():0;return b(b(b({},e.extendedProps),e),{id:e.publicId,start:o,end:a,duration:a-o,allDay:Number(e.allDay),_seg:n})}function ua(n,t){for(var e=t.pluginHooks.isDraggableTransformers,r=n.eventRange,o=r.def,a=r.ui,s=a.startEditable,l=0,c=e;l<c.length;l++)s=(0,c[l])(s,o,a,t);return s}function ca(n,t){return n.isStart&&n.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function da(n,t){return n.isEnd&&n.eventRange.ui.durationEditable}function yr(n,t,e,r,o,a,s){var l=e.dateEnv,c=e.options,p=c.displayEventTime,d=c.displayEventEnd,g=n.eventRange.def,h=n.eventRange.instance;p==null&&(p=r!==!1),d==null&&(d=o!==!1);var v=h.range.start,E=h.range.end,w=a||n.start||n.eventRange.range.start,C=s||n.end||n.eventRange.range.end,x=De(v).valueOf()===De(w).valueOf(),A=De($t(E,-1)).valueOf()===De($t(C,-1)).valueOf();return p&&!g.allDay&&(x||A)?(w=x?v:w,C=A?E:C,d&&g.hasEnd?l.formatRange(w,C,t,{forcedStartTzo:a?null:h.forcedStartTzo,forcedEndTzo:s?null:h.forcedEndTzo}):l.format(w,t,{forcedTzo:a?null:h.forcedStartTzo})):""}function yn(n,t,e){var r=n.eventRange.range;return{isPast:r.end<(e||t.start),isFuture:r.start>=(e||t.end),isToday:t&&On(t,r.start)}}function pa(n){var t=["fc-event"];return n.isMirror&&t.push("fc-event-mirror"),n.isDraggable&&t.push("fc-event-draggable"),(n.isStartResizable||n.isEndResizable)&&t.push("fc-event-resizable"),n.isDragging&&t.push("fc-event-dragging"),n.isResizing&&t.push("fc-event-resizing"),n.isSelected&&t.push("fc-event-selected"),n.isStart&&t.push("fc-event-start"),n.isEnd&&t.push("fc-event-end"),n.isPast&&t.push("fc-event-past"),n.isToday&&t.push("fc-event-today"),n.isFuture&&t.push("fc-event-future"),t}function ti(n){return n.instance?n.instance.instanceId:n.def.defId+":"+n.range.start.toISOString()}function wo(n,t){var e=n.eventRange,r=e.def,o=e.instance,a=r.url;if(a)return{href:a};var s=t.emitter,l=t.options.eventInteractive;return l==null&&(l=r.interactive)==null&&(l=!!s.hasHandlers("eventClick")),l?no((function(c){s.trigger("eventClick",{el:c.target,event:new Ae(t,r,o),jsEvent:c,view:t.viewApi})})):{}}var Tl={start:P,end:P,allDay:Boolean};function Sl(n,t,e){var r=(function(a,s){var l=At(a,Tl),c=l.refined,p=l.extra,d=c.start?s.createMarkerMeta(c.start):null,g=c.end?s.createMarkerMeta(c.end):null,h=c.allDay;return h==null&&(h=d&&d.isTimeUnspecified&&(!g||g.isTimeUnspecified)),b({range:{start:d?d.marker:null,end:g?g.marker:null},allDay:h},p)})(n,t),o=r.range;if(!o.start)return null;if(!o.end){if(e==null)return null;o.end=t.add(o.start,e)}return r}function fa(n,t){return ia(n.range,t.range)&&n.allDay===t.allDay&&(function(e,r){for(var o in r)if(
9o!=="range"&&o!=="allDay"&&e[o]!==r[o])return!1;for(var o in e)if(!(o in r))return!1;return!0})(n,t)}function ha(n,t,e){return b(b({},ga(n,t,e)),{timeZone:t.timeZone})}function ga(n,t,e){return{start:t.toDate(n.start),end:t.toDate(n.end),startStr:t.formatIso(n.start,{omitTime:e}),endStr:t.formatIso(n.end,{omitTime:e})}}function kl(n,t,e){var r=yo({editable:!1},e),o=Vr(r.refined,r.extra,"",n.allDay,!0,e);return{def:o,ui:sa(o,t),instance:hn(o.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function ni(n,t,e){e.emitter.trigger("select",b(b({},ri(n,e)),{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view}))}function ri(n,t){for(var e,r,o={},a=0,s=t.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];b(o,l(n,t))}return b(o,(e=n,r=t.dateEnv,b(b({},ga(e.range,r,e.allDay)),{allDay:e.allDay}))),o}function Co(n,t,e){var r=e.dateEnv,o=e.options,a=t;return n?(a=De(a),a=r.add(a,o.defaultAllDayEventDuration)):a=r.add(a,o.defaultTimedEventDuration),a}function xo(n,t,e,r){var o=_o(n.defs,t),a={defs:{},instances:{}};for(var s in n.defs){var l=n.defs[s];a.defs[s]=Rl(l,o[s],e,r)}for(var c in n.instances){var p=n.instances[c];l=a.defs[p.defId],a.instances[c]=Al(p,l,o[p.defId],e,r)}return a}function Rl(n,t,e,r){var o=e.standardProps||{};o.hasEnd==null&&t.durationEditable&&(e.startDelta||e.endDelta)&&(o.hasEnd=!0);var a=b(b(b({},n),o),{ui:b(b({},n.ui),o.ui)});e.extendedProps&&(a.extendedProps=b(b({},a.extendedProps),e.extendedProps));for(var s=0,l=r.pluginHooks.eventDefMutationAppliers;s<l.length;s++)(0,l[s])(a,e,r);return!a.hasEnd&&r.options.forceEventDuration&&(a.hasEnd=!0),a}function Al(n,t,e,r,o){var a=o.dateEnv,s=r.standardProps&&r.standardProps.allDay===!0,l=r.standardProps&&r.standardProps.hasEnd===!1,c=b({},n);return s&&(c.range=na(c.range)),r.datesDelta&&e.startEditable&&(c.range={start:a.add(c.range.start,r.datesDelta),end:a.add(c.range.end,r.datesDelta)}),r.startDelta&&e.durationEditable&&(c.range={start:a.add(c.range.start,r.startDelta),end:c.range.end}),r.endDelta&&e.durationEditable&&(c.range={start:c.range.start,end:a.add(c.range.end,r.endDelta)}),l&&(c.range={start:c.range.start,end:Co(t.allDay,c.range.start,o)}),t.allDay&&(c.range={start:De(c.range.start),end:De(c.range.end)}),c.range.end<c.range.start&&(c.range.end=Co(t.allDay,c.range.start,o)),c}var va=(function(){function n(t,e,r){this.type=t,this.getCurrentData=e,this.dateEnv=r}return Object.defineProperty(n.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),n.prototype.getOption=function(t){return this.getCurrentData().options[t]},n})(),Ml={id:String,defaultAllDay:Boolean,url:String,format:String,events:P,eventDataTransform:P,success:P,failure:P};function ma(n,t,e){var r;if(e===void 0&&(e=ya(t)),typeof n=="string"?r={url:n}:typeof n=="function"||Array.isArray(n)?r={events:n}:typeof n=="object"&&n&&(r=n),r){var o=At(r,e),a=o.refined,s=o.extra,l=(function(c,p){for(var d=p.pluginHooks.eventSourceDefs,g=d.length-1;g>=0;g-=1){var h=d[g].parseMeta(c);if(h)return{sourceDefId:g,meta:h}}return null})(a,t);if(l)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:a.defaultAllDay,eventDataTransform:a.eventDataTransform,success:a.success,failure:a.failure,publicId:a.id||"",sourceId:un(),sourceDefId:l.sourceDefId,meta:l.meta,ui:jr(a,t),extendedProps:s}}return null}function ya(n){return b(b(b({},vo),Ml),n.pluginHooks.eventSourceRefiners)}function Yr(n,t){return typeof n=="function"&&(n=n()),n==null?t.createNowMarker():t.createMarker(n)}var Ea=(function(){function n(){}return n.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},n.prototype.dispatch=function(t){return this.currentDataManager.dispatch(t)},Object.defineProperty(n.prototype,"view",{get:function(){return this.getCurrentData().viewApi}
9,enumerable:!1,configurable:!0}),n.prototype.batchRendering=function(t){t()},n.prototype.updateSize=function(){this.trigger("_resize",!0)},n.prototype.setOption=function(t,e){this.dispatch({type:"SET_OPTION",optionName:t,rawOptionValue:e})},n.prototype.getOption=function(t){return this.currentDataManager.currentCalendarOptionsInput[t]},n.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},n.prototype.on=function(t,e){var r=this.currentDataManager;r.currentCalendarOptionsRefiners[t]?r.emitter.on(t,e):console.warn("Unknown listener name '"+t+"'")},n.prototype.off=function(t,e){this.currentDataManager.emitter.off(t,e)},n.prototype.trigger=function(t){for(var e,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];(e=this.currentDataManager.emitter).trigger.apply(e,se([t],r))},n.prototype.changeView=function(t,e){var r=this;this.batchRendering((function(){if(r.unselect(),e)if(e.start&&e.end)r.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),r.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:e});else{var o=r.getCurrentData().dateEnv;r.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:o.createMarker(e)})}else r.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})}))},n.prototype.zoomTo=function(t,e){var r;e=e||"day",r=this.getCurrentData().viewSpecs[e]||this.getUnitViewSpec(e),this.unselect(),r?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:r.type,dateMarker:t}):this.dispatch({type:"CHANGE_DATE",dateMarker:t})},n.prototype.getUnitViewSpec=function(t){var e,r,o=this.getCurrentData(),a=o.viewSpecs,s=o.toolbarConfig,l=[].concat(s.header?s.header.viewsWithButtons:[],s.footer?s.footer.viewsWithButtons:[]);for(var c in a)l.push(c);for(e=0;e<l.length;e+=1)if((r=a[l[e]])&&r.singleUnit===t)return r;return null},n.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},n.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},n.prototype.prevYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,-1)})},n.prototype.nextYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,1)})},n.prototype.today=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:Yr(t.calendarOptions.now,t.dateEnv)})},n.prototype.gotoDate=function(t){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.createMarker(t)})},n.prototype.incrementDate=function(t){var e=this.getCurrentData(),r=ue(t);r&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.add(e.currentDate,r)}))},n.prototype.getDate=function(){var t=this.getCurrentData();return t.dateEnv.toDate(t.currentDate)},n.prototype.formatDate=function(t,e){var r=this.getCurrentData().dateEnv;return r.format(r.createMarker(t),ae(e))},n.prototype.formatRange=function(t,e,r){var o=this.getCurrentData().dateEnv;return o.formatRange(o.createMarker(t),o.createMarker(e),ae(r),r)},n.prototype.formatIso=function(t,e){var r=this.getCurrentData().dateEnv;return r.formatIso(r.createMarker(t),{omitTime:e})},n.prototype.select=function(t,e){var r;r=e==null?t.start!=null?t:{start:t,end:null}:{start:t,end:e};var o=this.getCurrentData(),a=Sl(r,o.dateEnv,ue({days:1}));a&&(this.dispatch({type:"SELECT_DATES",selection:a}),ni(a,null,o))},n.prototype.unselect=function(t){var e=this.getCurrentData();e.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),(function(r,o){o.emitter.trigger("unselect",{jsEvent:r?r.origEvent:null,view:o.viewApi||o.calendarApi.view})})(t,e))},n.prototype.addEvent=function(t,e){if(t instanceof Ae){var r=t._def,o=t._instance;return this.getCurrentData().eventStore.defs[r.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:mr({def:r,instance:o})}),this.triggerEventAdd(t)),t}var a,s=this.getCurrentData();if(e instanceof Ne)a=e.internalEventSource;else if(typeof e=="boolean")e&&(a=pr(s.eventSources)[0]);else if(e!=null){var l=this.getEventSourceById(e);if(!l)return console.warn('Could not find an event source with ID "'+e+'"'),null;a=l.internalEventSource}var c=ta(t,a,s,!1);if(c){var p=new Ae(s,c.def,c.def.recurringDef?null:c.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:mr(c)}),this.triggerEventAdd(p),p}return null},n.prototype.triggerEventAdd=function(t){var e=this;this.getCurrentData().emitter.trigger("eventAdd",{event:t,relatedEvents:[],revert:function(){e.dispatch({type:"REMOVE_EVENTS",eventStore:ba(t)})}})},n.prototype.getEventById=function(t){var e=this.getCurrentData(),r=e.eventStore,o=r.defs,a=r.instances;for(var s in t=String(t),o){var l=o[s];if(l.publicId===t){if(l.recurringDef)return new Ae(e,l,null);for(var c in a){var p=a[c];if(p.defId===l.defId)return new Ae(e,l,p)}}}return null},n.prototype.getEvents=function(){var t=this.getCurrentData();return Zn(t.eventStore,t)},n.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},n.prototype.getEventSources=function(){var t=this.getCurrentData(),e=t.eventSources,r=[];for(var o in e)r.push(new Ne(t,e[o]));return r},n.prototype.getEventSourceById=function(t){var e=this.getCurrentData(),r=e.eventSources;for(var o in t=String(t),r)if(r[o].publicId===t)return new Ne(e,r[o]);return null},n.prototype.addEventSource=function(t){var e=this.getCurrentData();if(t instanceof Ne)return e.eventSources[t.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t.internalEventSource]}),t;var r=ma(t,e);return r?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[r]}),new Ne(e,r)):null},n.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},n.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},n.prototype.scrollToTime=function(t){var e=ue(t);e&&this.trigger("_scrollRequest",{time:e})},n})(),Ae=(function(){function n(t,e,r){this._context=t,this._def=e,this._instance=r||null}return n.prototype.setProp=function(t,e){var r,o;
9if(t in ea)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(t==="id")e=mo[t](e),this.mutate({standardProps:{publicId:e}});else if(t in mo)e=mo[t](e),this.mutate({standardProps:(r={},r[t]=e,r)});else if(t in vo){var a=vo[t](e);t==="color"?a={backgroundColor:e,borderColor:e}:t==="editable"?a={startEditable:e,durationEditable:e}:((o={})[t]=e,a=o),this.mutate({standardProps:{ui:a}})}else console.warn("Could not set prop '"+t+"'. Use setExtendedProp instead.")},n.prototype.setExtendedProp=function(t,e){var r;this.mutate({extendedProps:(r={},r[t]=e,r)})},n.prototype.setStart=function(t,e){e===void 0&&(e={});var r=this._context.dateEnv,o=r.createMarker(t);if(o&&this._instance){var a=ir(this._instance.range.start,o,r,e.granularity);e.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}},n.prototype.setEnd=function(t,e){e===void 0&&(e={});var r,o=this._context.dateEnv;if((t==null||(r=o.createMarker(t)))&&this._instance)if(r){var a=ir(this._instance.range.end,r,o,e.granularity);this.mutate({endDelta:a})}else this.mutate({standardProps:{hasEnd:!1}})},n.prototype.setDates=function(t,e,r){r===void 0&&(r={});var o,a,s,l=this._context.dateEnv,c={allDay:r.allDay},p=l.createMarker(t);if(p&&(e==null||(o=l.createMarker(e)))&&this._instance){var d=this._instance.range;r.allDay===!0&&(d=na(d));var g=ir(d.start,p,l,r.granularity);if(o){var h=ir(d.end,o,l,r.granularity);s=h,(a=g).years===s.years&&a.months===s.months&&a.days===s.days&&a.milliseconds===s.milliseconds?this.mutate({datesDelta:g,standardProps:c}):this.mutate({startDelta:g,endDelta:h,standardProps:c})}else c.hasEnd=!1,this.mutate({datesDelta:g,standardProps:c})}},n.prototype.moveStart=function(t){var e=ue(t);e&&this.mutate({startDelta:e})},n.prototype.moveEnd=function(t){var e=ue(t);e&&this.mutate({endDelta:e})},n.prototype.moveDates=function(t){var e=ue(t);e&&this.mutate({datesDelta:e})},n.prototype.setAllDay=function(t,e){e===void 0&&(e={});var r={allDay:t},o=e.maintainDuration;o==null&&(o=this._context.options.allDayMaintainDuration),this._def.allDay!==t&&(r.hasEnd=o),this.mutate({standardProps:r})},n.prototype.formatRange=function(t){var e=this._context.dateEnv,r=this._instance,o=ae(t);return this._def.hasEnd?e.formatRange(r.range.start,r.range.end,o,{forcedStartTzo:r.forcedStartTzo,forcedEndTzo:r.forcedEndTzo}):e.format(r.range.start,o,{forcedTzo:r.forcedStartTzo})},n.prototype.mutate=function(t){var e=this._instance;if(e){var r=this._def,o=this._context,a=o.getCurrentData().eventStore,s=fo(a,e.instanceId);s=xo(s,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var l=new n(o,r,e);this._def=s.defs[r.defId],this._instance=s.instances[e.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:s}),o.emitter.trigger("eventChange",{oldEvent:l,event:this,relatedEvents:Zn(s,o,e),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:a})}})}},n.prototype.remove=function(){var t=this._context,e=ba(this);t.dispatch({type:"REMOVE_EVENTS",eventStore:e}),t.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:e})}})},Object.defineProperty(n.prototype,"source",{get:function(){var t=this._def.sourceId;return t?new Ne(this._context,this._context.getCurrentData().eventSources[t]):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.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(n.prototype,"startStr",{get:function(){var t=this._instance;return t?this._context.dateEnv.formatIso(t.range.start,{omitTime:this._def.allDay,forcedTzo:t.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endStr",{get:function(){var t=this._instance;return t&&this._def.hasEnd?this._context.dateEnv.formatIso(t.range.end,{omitTime:this._def.allDay,forcedTzo:t.forcedEndTzo}):""}
9,enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),n.prototype.toPlainObject=function(t){t===void 0&&(t={});var e=this._def,r=e.ui,o=this.startStr,a=this.endStr,s={};return e.title&&(s.title=e.title),o&&(s.start=o),a&&(s.end=a),e.publicId&&(s.id=e.publicId),e.groupId&&(s.groupId=e.groupId),e.url&&(s.url=e.url),r.display&&r.display!=="auto"&&(s.display=r.display),t.collapseColor&&r.backgroundColor&&r.backgroundColor===r.borderColor?s.color=r.backgroundColor:(r.backgroundColor&&(s.backgroundColor=r.backgroundColor),r.borderColor&&(s.borderColor=r.borderColor)),r.textColor&&(s.textColor=r.textColor),r.classNames.length&&(s.classNames=r.classNames),Object.keys(e.extendedProps).length&&(t.collapseExtendedProps?b(s,e.extendedProps):s.extendedProps=e.extendedProps),s},n.prototype.toJSON=function(){return this.toPlainObject()},n})();function ba(n){var t,e,r=n._def,o=n._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(e={},e[o.instanceId]=o,e):{}}}function Zn(n,t,e){var r=n.defs,o=n.instances,a=[],s=e?e.instanceId:"";for(var l in o){var c=o[l],p=r[c.defId];c.instanceId!==s&&a.push(new Ae(t,p,c))}return a}var _a={},Da,Il=(function(){function n(){}return n.prototype.getMarkerYear=function(t){return t.getUTCFullYear()},n.prototype.getMarkerMonth=function(t){return t.getUTCMonth()},n.prototype.getMarkerDay=function(t){return t.getUTCDate()},n.prototype.arrayToMarker=function(t){return ct(t)},n.prototype.markerToArray=function(t){return pn(t)},n})();Da=Il,_a.gregory=Da;var Nl=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function wa(n){var t=Nl.exec(n);if(t){var e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*+("0."+t[12]):0));if(Lr(e)){var r=null;return t[13]&&(r=(t[15]==="-"?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}var oi=(function(){function n(t){var e=this.timeZone=t.timeZone,r=e!=="local"&&e!=="UTC";t.namedTimeZoneImpl&&r&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(e)),this.canComputeOffset=!!(!r||this.namedTimeZoneImpl),this.calendarSystem=(function(o){return new _a[o]})(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,t.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof t.firstDay=="number"&&(this.weekDow=t.firstDay),typeof t.weekNumberCalculation=="function"&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekText=t.weekText!=null?t.weekText:t.locale.options.weekText,this.weekTextLong=(t.weekTextLong!=null?t.weekTextLong:t.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=t.cmdFormatter,this.defaultSeparator=t.defaultSeparator}return n.prototype.createMarker=function(t){var e=this.createMarkerMeta(t);return e===null?null:e.marker},n.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):ct(Br(new Date))},n.prototype.createMarkerMeta=function(t){if(typeof t=="string")return this.parse(t);var e=null;return typeof t=="number"?e=this.timestampToMarker(t):t instanceof Date?(t=t.valueOf(),isNaN(t)||(e=this.timestampToMarker(t))):Array.isArray(t)&&(e=ct(t)),e!==null&&Lr(e)?{marker:e,isTimeUnspecified:!1,forcedTzo:null}:null},n.prototype.parse=function(t){var e=wa(t);if(e===null)return null;var r=e.marker,o=null;return e.timeZoneOffset!==null&&(this.canComputeOffset?r=this.timestampToMarker(r.valueOf()-60*e.timeZoneOffset*1e3):o=e.timeZoneOffset),{marker:r,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:o}},n.prototype.getYear=function(t){return this.calendarSystem.getMarkerYear(t)},n.prototype.getMonth=function(t){return this.calendarSystem.getMarkerMonth(t)},n.prototype.add=function(t,e){var r=this.calendarSystem.markerToArray(t);return r[0]+=e.years,r[1]+=e.months,r[2]+=e.days,r[6]+=e.milliseconds,this.calendarSystem.arrayToMarker(r)},n.prototype.subtract=function(t,e){var r=this.calendarSystem.markerToArray(t);return r[0]-=e.years,r[1]-=e.months,r[2]-=e.days,r[6]-=e.milliseconds,this.calendarSystem.arrayToMarker(r)},n.prototype.addYears=function(t,e){var r=this.calendarSystem.markerToArray(t);return r[0]+=e,this.calendarSystem.arrayToMarker(r)},n.prototype.addMonths=function(t,e){var r=this.calendarSystem.markerToArray(t);return r[1]+=e,this.calendarSystem.arrayToMarker(r)},n.prototype.diffWholeYears=function(t,e){var r=this.calendarSystem;return fn(t)===fn(e)&&r.getMarkerDay(t)===r.getMarkerDay(e)&&r.getMarkerMonth(t)===r.getMarkerMonth(e)?r.getMarkerYear(e)-r.getMarkerYear(t):null},n.prototype.diffWholeMonths=function(t,e){var r=this.calendarSystem;return fn(t)===fn(e)&&r.getMarkerDay(t)===r.getMarkerDay(e)?r.getMarkerMonth(e)-r.getMarkerMonth(t)+12*(r.getMarkerYear(e)-r.getMarkerYear(t)):null},n.prototype.greatestWholeUnit=function(t,e){var r=this.diffWholeYears(t,e);return r!==null?{unit:"year",value:r}:(r=this.diffWholeMonths(t,e))!==null?{unit:"month",value:r}:(r=io(t,e))!==null?{unit:"week",value:r}:(r=tr(t,e))!==null?{unit:"day",value:r}:An(r=(function(o,a){return(a.valueOf()-o.valueOf())/36e5})(t,e))?{unit:"hour",value:r}:An(r=(function(o,a){return(a.valueOf()-o.valueOf())/6e4})(t,e))?{unit:"minute",value:r}:An(r=(function(o,a){return(a.valueOf()-o.valueOf())/1e3})(t,e))?{unit:"second",value:r}:{unit:"millisecond",value:e.valueOf()-t.valueOf()}},n.prototype.countDurationsBetween=function(t,e,r){var o;return r.years&&(o=this.diffWholeYears(t,e))!==null?o/(zt(r)/365):r.months&&(o=this.diffWholeMonths(t,e))!==null?o/(function(a){return zt(a)/30})(r):r.days&&(o=tr(t,e))!==null?o/zt(r):(e.valueOf()-t.valueOf())/Ve(r)},n.prototype.startOf=function(t,e){return e==="year"?this.startOfYear(t):e==="month"?this.startOfMonth(t):e==="week"?this.startOfWeek(t):e==="day"?De(t):e==="hour"?(function(r){return ct([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours()])})(t):e==="minute"?(function(r){return ct([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes()])})(t):e==="second"?(function(r){return ct([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds()])})(t):null},n.prototype.startOfYear=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t)])},n.prototype.startOfMonth=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t)])},n.prototype.startOfWeek=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t),t.getUTCDate()-(t.getUTCDay()-this.weekDow+7)%7])},n.prototype.computeWeekNumber=function(t){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(t)):(function(e,r,o){var a=e.getUTCFullYear(),s=Hr(e,a,r,o);if(s<1)return Hr(e,a-1,r,o);var l=Hr(e,a+1,r,o);return l>=1?Math.min(s,l):s})(t,this.weekDow,this.weekDoy)},n.prototype.format=function(t,e,r){return r===void 0&&(r={}),e.format({marker:t,timeZoneOffset:r.forcedTzo!=null?r.forcedTzo:this.offsetForMarker(t)},this)},n.prototype.formatRange=function(t,e,r,o){return o===void 0&&(o={}),o.isEndExclusive&&(e=$t(e,-1)),r.formatRange({marker:t,timeZoneOffset:o.forcedStartTzo!=null?o.forcedStartTzo:this.offsetForMarker(t)},{marker:e,timeZoneOffset:o.forcedEndTzo!=null?o.forcedEndTzo:this.offsetForMarker(e)},this,o.defaultSeparator)},n.prototype.formatIso=function(t,e){e===void 0&&(e={});var r=null;return e.omitTimeZoneOffset||(r=e.forcedTzo!=null?e.forcedTzo:this.offsetForMarker(t)),gr(t,r,e.omitTime)},n.prototype.timestampToMarker=function(t){return this.timeZone==="local"?ct(Br(new Date(t))):this.timeZone!=="UTC"&&this.namedTimeZoneImpl?ct(this.namedTimeZoneImpl.timestampToArray(t)):new Date(t)},n.prototype.offsetForMarker=function(t){return this.timeZone==="local"?-so(pn(t)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(pn(t)):null},n.prototype.toDate=function(t,e){return this.timeZone==="local"?so(pn(t)):this.timeZone==="UTC"?new Date(t.valueOf()):this.namedTimeZoneImpl?new Date(t.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(pn(t))*60):new Date(t.valueOf()-(e||0))},n})(),Ca=[],xa={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"},Ta=b(b({},xa),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(n,t){return t==="day"?"Today":"This "+n}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(n){return"Show "+n+" more event"+(n===1?"":"s")}});function Sa(n){for(var t=n.length>0?n[0].code:"en",e=Ca.concat(n),r={en:Ta},o=0,a=e;o<a.length;o++){var s=a[o];r[s.code]=s}return{map:r,defaultCode:t}}function ii(n,t){return typeof n!="object"||Array.isArray(n)?(function(e,r){var o=[].concat(e||[]),a=(function(s,l){for(var c=0;c<s.length;c+=1)for(var p=s[c].toLocaleLowerCase().split("-"),d=p.length;d>0;d-=1){var g=p.slice(0,d).join("-");if(l[g])return l[g]}return null})(o,r)||Ta;return ka(e,o,a)})(n,t):ka(n.code,[n.code],n)}function ka(n,t,e){var r=Mn([xa,e],["buttonText"]);delete r.code;var o=r.week;
9return delete r.week,{codeArg:n,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(n),options:r}}function Ra(n){var t=ii(n.locale||"en",Sa([]).map);return new oi(b(b({timeZone:Se.timeZone,calendarSystem:"gregory"},n),{locale:t}))}var ai,Pl={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Aa(n,t){return po((function(e){var r;return r=e===!0?[{}]:Array.isArray(e)?e.filter((function(o){return o.daysOfWeek})):typeof e=="object"&&e?[e]:[],r=r.map((function(o){return b(b({},Pl),o)}))})(n),null,t)}function Ma(n,t){return n.left>=t.left&&n.left<t.right&&n.top>=t.top&&n.top<t.bottom}function si(n,t){var e={left:Math.max(n.left,t.left),right:Math.min(n.right,t.right),top:Math.max(n.top,t.top),bottom:Math.min(n.bottom,t.bottom)};return e.left<e.right&&e.top<e.bottom&&e}function Ia(n,t){return{left:Math.min(Math.max(n.left,t.left),t.right),top:Math.min(Math.max(n.top,t.top),t.bottom)}}function Na(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}}function Pa(n,t){return{left:n.left-t.left,top:n.top-t.top}}function li(){return ai==null&&(ai=(function(){if(typeof document>"u")return!0;var n=document.createElement("div");n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.innerHTML="<table><tr><td><div></div></td></tr></table>",n.querySelector("table").style.height="100px",n.querySelector("div").style.height="100%",document.body.appendChild(n);var t=n.querySelector("div").offsetHeight>0;return document.body.removeChild(n),t})()),ai}var ui={defs:{},instances:{}},Oa=(function(){function n(){this.getKeysForEventDefs=K(this._getKeysForEventDefs),this.splitDateSelection=K(this._splitDateSpan),this.splitEventStore=K(this._splitEventStore),this.splitIndividualUi=K(this._splitIndividualUi),this.splitEventDrag=K(this._splitInteraction),this.splitEventResize=K(this._splitInteraction),this.eventUiBuilders={}}return n.prototype.splitProps=function(t){var e=this,r=this.getKeyInfo(t),o=this.getKeysForEventDefs(t.eventStore),a=this.splitDateSelection(t.dateSelection),s=this.splitIndividualUi(t.eventUiBases,o),l=this.splitEventStore(t.eventStore,o),c=this.splitEventDrag(t.eventDrag),p=this.splitEventResize(t.eventResize),d={};for(var g in this.eventUiBuilders=Rt(r,(function(w,C){return e.eventUiBuilders[C]||K(Ol)})),r){var h=r[g],v=l[g]||ui,E=this.eventUiBuilders[g];d[g]={businessHours:h.businessHours||t.businessHours,dateSelection:a[g]||null,eventStore:v,eventUiBases:E(t.eventUiBases[""],h.ui,s[g]),eventSelection:v.instances[t.eventSelection]?t.eventSelection:"",eventDrag:c[g]||null,eventResize:p[g]||null}}return d},n.prototype._splitDateSpan=function(t){var e={};if(t)for(var r=0,o=this.getKeysForDateSpan(t);r<o.length;r++)e[o[r]]=t;return e},n.prototype._getKeysForEventDefs=function(t){var e=this;return Rt(t.defs,(function(r){return e.getKeysForEventDef(r)}))},n.prototype._splitEventStore=function(t,e){var r=t.defs,o=t.instances,a={};for(var s in r)for(var l=0,c=e[s];l<c.length;l++)a[v=c[l]]||(a[v]={defs:{},instances:{}}),a[v].defs[s]=r[s];for(var p in o)for(var d=o[p],g=0,h=e[d.defId];g<h.length;g++){var v;a[v=h[g]]&&(a[v].instances[p]=d)}return a},n.prototype._splitIndividualUi=function(t,e){var r={};for(var o in t)if(o)for(var a=0,s=e[o];a<s.length;a++){var l=s[a];r[l]||(r[l]={}),r[l][o]=t[o]}return r},n.prototype._splitInteraction=function(t){var e={};if(t){var r=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),o=this._getKeysForEventDefs(t.mutatedEvents),a=this._splitEventStore(t.mutatedEvents,o),s=function(c){e[c]||(e[c]={affectedEvents:r[c]||ui,mutatedEvents:a[c]||ui,isEvent:t.isEvent})};for(var l in r)s(l);for(var l in a)s(l)}return e},n})();function Ol(n,t,e){var r=[];n&&r.push(n),t&&r.push(t);var o={"":Qo(r)};return e&&b(o,e),o}function To(n,t,e,r){return{dow:n.getUTCDay(),isDisabled:!!(r&&!On(r.activeRange,n)),isOther:!!(r&&!On(r.currentRange,n)),isToday:!!(t&&On(t,n)),isPast:!!(e?n<e:t&&n<t.start),isFuture:!!(e?n>e:t&&n>=t.end)}}function Zr(n,t){var e=["fc-day","fc-day-"+Pr[n.dow]];return n.isDisabled?e.push("fc-day-disabled"):(n.isToday&&(e.push("fc-day-today"),e.push(t.getClass("today"))),n.isPast&&e.push("fc-day-past"),n.isFuture&&e.push("fc-day-future"),n.isOther&&e.push("fc-day-other")),e}var Hl=ae({year:"numeric",month:"long",day:"numeric"}),Bl=ae({week:"long"});function sr(n,t,e,r){e===void 0&&(e="day"),r===void 0&&(r=!0);var o=n.dateEnv,a=n.options,s=n.calendarApi,l=o.format(t,e==="week"?Bl:Hl);if(a.navLinks){var c=o.toDate(t),p=function(d){var g=e==="day"?a.navLinkDayClick:e==="week"?a.navLinkWeekClick:null;typeof g=="function"?g.call(s,o.toDate(t),d):(typeof g=="string"&&(e=g),s.zoomTo(t,e))};return b({title:zn(a.navLinkHint,[l,c],l),"data-navlink":""},r?Zt(p):{onClick:p})}return{"aria-label":l}}var ci,di=null;function Ha(){return di===null&&(di=(function(){var n=document.createElement("div");Be(n,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="<div></div>",document.body.appendChild(n);var t=n.firstChild.getBoundingClientRect().left>n.getBoundingClientRect().left;return _t(n),t})()),di}function Ba(){return ci||(ci=(function(){var n=document.createElement("div");n.style.overflow="scroll",n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",document.body.appendChild(n);var t=La(n);return document.body.removeChild(n),t})()),ci}function La(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function Fa(n,t){t===void 0&&(t=!1);var e=window.getComputedStyle(n),r=parseInt(e.borderLeftWidth,10)||0,o=parseInt(e.borderRightWidth,10)||0,a=parseInt(e.borderTopWidth,10)||0,s=parseInt(e.borderBottomWidth,10)||0,l=La(n),c=l.y-r-o,p={borderLeft:r,borderRight:o,borderTop:a,borderBottom:s,scrollbarBottom:l.x-a-s,scrollbarLeft:0,scrollbarRight:0};return Ha()&&e.direction==="rtl"?p.scrollbarLeft=c:p.scrollbarRight=c,t&&(p.paddingLeft=parseInt(e.paddingLeft,10)||0,p.paddingRight=parseInt(e.paddingRight,10)||0,p.paddingTop=parseInt(e.paddingTop,10)||0,p.paddingBottom=parseInt(e.paddingBottom,10)||0),p}function Wa(n,t,e){t===void 0&&(t=!1);var r=e?n.getBoundingClientRect():So(n),o=Fa(n,t),a={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&&(a.left+=o.paddingLeft,a.right-=o.paddingRight,a.top+=o.paddingTop,a.bottom-=o.paddingBottom),a}function So(n){var t=n.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function pi(n){for(var t=[];n instanceof HTMLElement;){var e=window.getComputedStyle(n);if(e.position==="fixed")break;/(auto|scroll)/.test(e.overflow+e.overflowY+e.overflowX)&&t.push(n),n=n.parentNode}return t}function Ua(n,t,e){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},a=function(){r||(r=!0,e&&e.apply(this,arguments))},s=n(o,a);s&&typeof s.then=="function"&&s.then(o,a)}var $r=(function(){function n(){this.handlers={},this.thisContext=null}return n.prototype.setThisContext=function(t){this.thisContext=t},n.prototype.setOptions=function(t){this.options=t},n.prototype.on=function(t,e){(function(r,o,a){(r[o]||(r[o]=[])).push(a)})(this.handlers,t,e)}
9,n.prototype.off=function(t,e){(function(r,o,a){a?r[o]&&(r[o]=r[o].filter((function(s){return s!==a}))):delete r[o]})(this.handlers,t,e)},n.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];for(var o=this.handlers[t]||[],a=this.options&&this.options[t],s=[].concat(a||[],o),l=0,c=s;l<c.length;l++){var p=c[l];p.apply(this.thisContext,e)}},n.prototype.hasHandlers=function(t){return!!(this.handlers[t]&&this.handlers[t].length||this.options&&this.options[t])},n})(),Er=(function(){function n(t,e,r,o){this.els=e;var a=this.originClientRect=t.getBoundingClientRect();r&&this.buildElHorizontals(a.left),o&&this.buildElVerticals(a.top)}return n.prototype.buildElHorizontals=function(t){for(var e=[],r=[],o=0,a=this.els;o<a.length;o++){var s=a[o].getBoundingClientRect();e.push(s.left-t),r.push(s.right-t)}this.lefts=e,this.rights=r},n.prototype.buildElVerticals=function(t){for(var e=[],r=[],o=0,a=this.els;o<a.length;o++){var s=a[o].getBoundingClientRect();e.push(s.top-t),r.push(s.bottom-t)}this.tops=e,this.bottoms=r},n.prototype.leftToIndex=function(t){var e,r=this.lefts,o=this.rights,a=r.length;for(e=0;e<a;e+=1)if(t>=r[e]&&t<o[e])return e},n.prototype.topToIndex=function(t){var e,r=this.tops,o=this.bottoms,a=r.length;for(e=0;e<a;e+=1)if(t>=r[e]&&t<o[e])return e},n.prototype.getWidth=function(t){return this.rights[t]-this.lefts[t]},n.prototype.getHeight=function(t){return this.bottoms[t]-this.tops[t]},n})(),ko=(function(){function n(){}return n.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},n.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},n.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},n.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},n.prototype.canScrollUp=function(){return this.getScrollTop()>0},n.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},n.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},n.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},n})(),za=(function(n){function t(e){var r=n.call(this)||this;return r.el=e,r}return W(t,n),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})(ko),ja=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),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})(ko),$n=(function(){function n(t){this.iconOverrideOption&&this.setIconOverride(t[this.iconOverrideOption])}return n.prototype.setIconOverride=function(t){var e,r;if(typeof t=="object"&&t){for(r in e=b({},this.iconClasses),t)e[r]=this.applyIconOverridePrefix(t[r]);this.iconClasses=e}else t===!1&&(this.iconClasses={})},n.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&t.indexOf(e)!==0&&(t=e+t),t},n.prototype.getClass=function(t){return this.classes[t]||""},n.prototype.getIconClass=function(t,e){var r;return(r=e&&this.rtlIconClasses&&this.rtlIconClasses[t]||this.iconClasses[t])?this.baseIconClass+" "+r:""},n.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},n})();if($n.prototype.classes={},$n.prototype.iconClasses={},$n.prototype.baseIconClass="",$n.prototype.iconOverridePrefix="",typeof FullCalendarVDom>"u")throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");
9var Ro=FullCalendarVDom.Component,_=FullCalendarVDom.createElement,Va=FullCalendarVDom.render,qe=FullCalendarVDom.createRef,Ge=FullCalendarVDom.Fragment,fi=FullCalendarVDom.createContext,qa=FullCalendarVDom.createPortal,hi=FullCalendarVDom.flushSync,Ga=FullCalendarVDom.unmountComponentAtNode,Ya=(function(){function n(t,e,r,o){var a=this;this.execFunc=t,this.emitter=e,this.scrollTime=r,this.scrollTimeReset=o,this.handleScrollRequest=function(s){a.queuedRequest=b({},a.queuedRequest||{},s),a.drain()},e.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return n.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},n.prototype.update=function(t){t&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},n.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},n.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},n})(),En=fi({});function Ll(n,t,e,r,o,a,s,l,c,p,d,g,h){return{dateEnv:o,options:e,pluginHooks:s,emitter:p,dispatch:l,getCurrentData:c,calendarApi:d,viewSpec:n,viewApi:t,dateProfileGenerator:r,theme:a,isRtl:e.direction==="rtl",addResizeHandler:function(v){p.on("_resize",v)},removeResizeHandler:function(v){p.off("_resize",v)},createScrollResponder:function(v){return new Ya(v,p,ue(e.scrollTime),e.scrollTimeReset)},registerInteractiveComponent:g,unregisterInteractiveComponent:h}}var Ao=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.shouldComponentUpdate=function(e,r){return this.debug&&console.log(fr(e,this.props),fr(r,this.state)),!Ut(this.props,e,this.propEquality)||!Ut(this.state,r,this.stateEquality)},t.prototype.safeSetState=function(e){Ut(this.state,b(b({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=Fl,t.addStateEquality=Wl,t.contextType=En,t})(Ro);Ao.prototype.propEquality={},Ao.prototype.stateEquality={};var me=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.contextType=En,t})(Ao);function Fl(n){var t=Object.create(this.prototype.propEquality);b(t,n),this.prototype.propEquality=t}function Wl(n){var t=Object.create(this.prototype.stateEquality);b(t,n),this.prototype.stateEquality=t}function Vt(n,t){typeof n=="function"?n(t):n&&(n.current=t)}var Kt=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.uid=un(),e}return W(t,n),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,r,o,a){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!Te(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(Te(e,".fc-event:not(.fc-bg-event)")||Te(e,".fc-more-link")||Te(e,"a[data-navlink]")||Te(e,".fc-popover"))},t})(me);function xt(n){return{id:un(),deps:n.deps||[],reducers:n.reducers||[],isLoadingFuncs:n.isLoadingFuncs||[],contextInit:[].concat(n.contextInit||[]),eventRefiners:n.eventRefiners||{},eventDefMemberAdders:n.eventDefMemberAdders||[],eventSourceRefiners:n.eventSourceRefiners||{},isDraggableTransformers:n.isDraggableTransformers||[],eventDragMutationMassagers:n.eventDragMutationMassagers||[],eventDefMutationAppliers:n.eventDefMutationAppliers||[],dateSelectionTransformers:n.dateSelectionTransformers||[],datePointTransforms:n.datePointTransforms||[],dateSpanTransforms:n.dateSpanTransforms||[],views:n.views||{},viewPropsTransformers:n.viewPropsTransformers||[],isPropsValid:n.isPropsValid||null,externalDefTransforms:n.externalDefTransforms||[],viewContainerAppends:n.viewContainerAppends||[],eventDropTransformers:n.eventDropTransformers||[],componentInteractions:n.componentInteractions||[],calendarInteractions:n.calendarInteractions||[],themeClasses:n.themeClasses||{},eventSourceDefs:n.eventSourceDefs||[],cmdFormatter:n.cmdFormatter,recurringTypes:n.recurringTypes||[],namedTimeZonedImpl:n.namedTimeZonedImpl,initialView:n.initialView||"",elementDraggingImpl:n.elementDraggingImpl,optionChangeHandlers:n.optionChangeHandlers||{},scrollGridImpl:n.scrollGridImpl||null,contentTypeHandlers:n.contentTypeHandlers||{},listenerRefiners:n.listenerRefiners||{},optionRefiners:n.optionRefiners||{},propSetHandlers:n.propSetHandlers||{}}}function Ul(){var n,t=[],e=[];return function(r,o){return n&&jt(r,t)&&jt(o,e)||(n=(function(a,s){var l={},c={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 p(d){for(var g=0,h=d;g<h.length;g++){var v=h[g];l[v.id]||(l[v.id]=!0,p(v.deps),w=v,c={reducers:(E=c).reducers.concat(w.reducers),isLoadingFuncs:E.isLoadingFuncs.concat(w.isLoadingFuncs),contextInit:E.contextInit.concat(w.contextInit),eventRefiners:b(b({},E.eventRefiners),w.eventRefiners),eventDefMemberAdders:E.eventDefMemberAdders.concat(w.eventDefMemberAdders),eventSourceRefiners:b(b({},E.eventSourceRefiners),w.eventSourceRefiners),isDraggableTransformers:E.isDraggableTransformers.concat(w.isDraggableTransformers),eventDragMutationMassagers:E.eventDragMutationMassagers.concat(w.eventDragMutationMassagers),eventDefMutationAppliers:E.eventDefMutationAppliers.concat(w.eventDefMutationAppliers),dateSelectionTransformers:E.dateSelectionTransformers.concat(w.dateSelectionTransformers),datePointTransforms:E.datePointTransforms.concat(w.datePointTransforms),dateSpanTransforms:E.dateSpanTransforms.concat(w.dateSpanTransforms),views:b(b({},E.views),w.views),viewPropsTransformers:E.viewPropsTransformers.concat(w.viewPropsTransformers),isPropsValid:w.isPropsValid||E.isPropsValid,externalDefTransforms:E.externalDefTransforms.concat(w.externalDefTransforms),viewContainerAppends:E.viewContainerAppends.concat(w.viewContainerAppends),eventDropTransformers:E.eventDropTransformers.concat(w.eventDropTransformers),calendarInteractions:E.calendarInteractions.concat(w.calendarInteractions),componentInteractions:E.componentInteractions.concat(w.componentInteractions),theme
9Classes:b(b({},E.themeClasses),w.themeClasses),eventSourceDefs:E.eventSourceDefs.concat(w.eventSourceDefs),cmdFormatter:w.cmdFormatter||E.cmdFormatter,recurringTypes:E.recurringTypes.concat(w.recurringTypes),namedTimeZonedImpl:w.namedTimeZonedImpl||E.namedTimeZonedImpl,initialView:E.initialView||w.initialView,elementDraggingImpl:E.elementDraggingImpl||w.elementDraggingImpl,optionChangeHandlers:b(b({},E.optionChangeHandlers),w.optionChangeHandlers),scrollGridImpl:w.scrollGridImpl||E.scrollGridImpl,contentTypeHandlers:b(b({},E.contentTypeHandlers),w.contentTypeHandlers),listenerRefiners:b(b({},E.listenerRefiners),w.listenerRefiners),optionRefiners:b(b({},E.optionRefiners),w.optionRefiners),propSetHandlers:b(b({},E.propSetHandlers),w.propSetHandlers)})}var E,w}return a&&p(a),p(s),c})(r,o)),t=r,e=o,n}}var Xn=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t})($n);function gi(n,t,e,r){if(t[n])return t[n];var o=(function(a,s,l,c){var p=l[a],d=c[a],g=function(w){return p&&p[w]!==null?p[w]:d&&d[w]!==null?d[w]:null},h=g("component"),v=g("superType"),E=null;if(v){if(v===a)throw new Error("Can't have a custom view type that references itself");E=gi(v,s,l,c)}return!h&&E&&(h=E.component),h?{type:a,component:h,defaults:b(b({},E?E.defaults:{}),p?p.rawOptions:{}),overrides:b(b({},E?E.overrides:{}),d?d.rawOptions:{})}:null})(n,t,e,r);return o&&(t[n]=o),o}Xn.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Xn.prototype.baseIconClass="fc-icon",Xn.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"},Xn.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Xn.prototype.iconOverrideOption="buttonIcons",Xn.prototype.iconOverrideCustomButtonOption="icon",Xn.prototype.iconOverridePrefix="fc-icon-";var Tt=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.rootElRef=qe(),e.handleRootEl=function(r){Vt(e.rootElRef,r),e.props.elRef&&Vt(e.props.elRef,r)},e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=r.hookProps;return _(Mo,{hookProps:o,didMount:r.didMount,willUnmount:r.willUnmount,elRef:this.handleRootEl},(function(a){return _(mi,{hookProps:o,content:r.content,defaultContent:r.defaultContent,backupElRef:e.rootElRef},(function(s,l){return r.children(a,Za(r.classNames,o),s,l)}))}))},t})(me),vi=fi(0);function mi(n){return _(vi.Consumer,null,(function(t){return _(zl,b({renderId:t},n))}))}var zl=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.innerElRef=qe(),e}return W(t,n),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,r=this.getInnerContent(),o=this.getContentMeta(r);return e&&e.contentKey===o.contentKey?e&&(e.contentVal=r[o.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),o.contentKey&&(e=this.customContentInfo=b({contentKey:o.contentKey,contentVal:r[o.contentKey]},o.buildLifecycleFuncs()))),e?[]:r},t.prototype.getInnerContent=function(){var e=this.props,r=$a(e.content,e.hookProps);return r===void 0&&(r=$a(e.defaultContent,e.hookProps)),r??null},t.prototype.getContentMeta=function(e){var r=this.context.pluginHooks.contentTypeHandlers,o="",a=null;if(e){for(var s in r)if(e[s]!==void 0){o=s,a=r[s];break}}return{contentKey:o,buildLifecycleFuncs:a}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t})(me),Mo=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.handleRootEl=function(r){e.rootEl=r,e.props.elRef&&Vt(e.props.elRef,r)},e}return W(t,n),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(b(b({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(b(b({},this.props.hookProps),{el:this.rootEl}))},t})(me);function yi(){var n,t,e=[];return function(r,o){return t&&gt(t,o)&&r===n||(n=r,t=o,e=Za(r,o)),e}}function Za(n,t){return typeof n=="function"&&(n=n(t)),go(n)}function $a(n,t){return typeof n=="function"?n(t,_):n}var lr=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.normalizeClassNames=yi(),e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options,a={view:r.viewApi},s=this.normalizeClassNames(o.viewClassNames,a);return _(Mo,{hookProps:a,didMount:o.viewDidMount,willUnmount:o.viewWillUnmount,elRef:e.elRef},(function(l){return e.children(l,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(s))}))},t})(me);function Xa(n){return Rt(n,jl)}function jl(n){var t,e=typeof n=="function"?{component:n}:n,r=e.component;return e.content&&(t=e,r=function(o){return _(En.Consumer,null,(function(a){return _(lr,{viewSpec:a.viewSpec},(function(s,l){var c=b(b({},o),{nextDayThreshold:a.options.nextDayThreshold});return _(Tt,{hookProps:c,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:s},(function(p,d,g,h){return _("div",{className:l.concat(d).join(" "),ref:p},h)}))}))}))}),{superType:e.type,component:r,rawOptions:e}}function Vl(n,t,e,r){var o=Xa(n),a=Xa(t.views);return Rt((function(s,l){var c,p={};for(c in s)gi(c,p,s,l);for(c in l)gi(c,p,s,l);return p})(o,a),(function(s){return(function(l,c,p,d,g){var h=l.overrides.duration||l.defaults.duration||d.duration||p.duration,v=null,E="",w="",C={};if(h&&(v=(function(H){var L=JSON.stringify(H),V=Ka[L];return V===void 0&&(V=ue(H),Ka[L]=V),V})(h))){var x=rr(v);E=x.unit,x.value===1&&(w=E,C=c[E]?c[E].rawOptions:{})}var A=function(H){var L=H.buttonText||{},V=l.defaults.buttonTextKey;return V!=null&&L[V]!=null?L[V]:L[l.type]!=null?L[l.type]:L[w]!=null?L[w]:null},O=function(H){var L=H.buttonHints||{},V=l.defaults.buttonTextKey;return V!=null&&L[V]!=null?L[V]:L[l.type]!=null?L[l.type]:L[w]!=null?L[w]:null};return{type:l.type,component:l.component,duration:v,durationUnit:E,singleUnit:w,optionDefaults:l.defaults,optionOverrides:b(b({},C),l.overrides),buttonTextOverride:A(d)||A(p)||l.overrides.buttonText,buttonTextDefault:A(g)||l.defaults.buttonText||A(Se)||l.type,buttonTitleOverride:O(d)||O(p)||l.overrides.buttonHint,buttonTitleDefault:O(g)||l.defaults.buttonHint||O(Se)}})(s,a,t,e,r)}))}var Ka={},Ei=(function(){function n(t){this.props=t,this.nowDate=Yr(t.nowInput,t.dateEnv),this.initHiddenDays()}return n.prototype.buildPrev=function(t,e,r){var o=this.props.dateEnv,a=o.subtract(o.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(a,-1,r)},n.prototype.buildNext=function(t,e,r){var o=this.props.dateEnv,a=o.add(o.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(a,1,r)},n.prototype.build=function(t,e,r){r===void 0&&(r=!0);var o,a,s,l,c,p,d,g,h=this.props;return o=this.buildValidRange(),o=this.trimHiddenDays(o),r&&(d=t,t=(g=o).start!=null&&d<g.start?g.start:g.end!=null&&d>=g.end?new Date(g.end.valueOf()-1):d),a=this.buildCurrentRangeInfo(t,e),s=/^(year|month|week|day)$/.test(a.unit),l=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),c=l=this.trimHiddenDays(l),h.showNonCurrentDates||(c=Yn(c,a.range)),c=Yn(c=this.adjustActiveRange(c),o),p=bo(a.range,o),{validRange:o,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:c,renderRange:l,slotMinTime:h.slotMinTime,slotMaxTime:h.slotMaxTime,isValid:p,dateIncrement:this.buildDateIncrement(a.duration)}},n.prototype.buildValidRange=function(){var t=this.props.validRangeInput,e=typeof t=="function"?t.call(this.props.calendarApi,this.nowDate):t;return this.refineRange(e)||{start:null,end:null}},n.prototype.buildCurrentRangeInfo=function(t,e){var r,o=this.props,a=null,s=null,l=null;return o.duration?(a=o.duration,s=o.durationUnit,l=this.buildRangeFromDuration(t,e,a,s)):(r=this.props.dayCount)?(s="day",l=this.buildRangeFromDayCount(t,e,r)):(l=this.buildCustomVisibleRange(t))?s=o.dateEnv.greatestWholeUnit(l.start,l.end).unit:(s=rr(a=this.getFallbackDuration()).unit,l=this.buildRangeFromDuration(t,e,a,s)),{duration:a,unit:s,range:l}},n.prototype.getFallbackDuration=function(){return ue({day:1})},n.prototype.adjustActiveRange=function(t){var e=this.props,r=e.dateEnv,o=e.usesMinMaxTime,a=e.slotMinTime,s=e.slotMaxTime,l=t.start,c=t.end;return o&&(zt(a)<0&&(l=De(l),l=r.add(l,a)),zt(s)>1&&(c=Pe(c=De(c),-1),c=r.add(c,s))),{start:l,end:c}},n.prototype.buildRangeFromDuration=function(t,e,r,o){var a,s,l,c=this.props,p=c.dateEnv,d=c.dateAlignment;if(!d){var g=this.props.dateIncrement;d=g&&Ve(g)<Ve(r)?rr(g).unit:o}function h(){a=p.startOf(t,d),s=p.add(a,r),l={start:a,end:s}}
9return zt(r)<=1&&this.isHiddenDay(a)&&(a=De(a=this.skipHiddenDays(a,e))),h(),this.trimHiddenDays(l)||(t=this.skipHiddenDays(t,e),h()),l},n.prototype.buildRangeFromDayCount=function(t,e,r){var o,a=this.props,s=a.dateEnv,l=a.dateAlignment,c=0,p=t;l&&(p=s.startOf(p,l)),p=De(p),o=p=this.skipHiddenDays(p,e);do o=Pe(o,1),this.isHiddenDay(o)||(c+=1);while(c<r);return{start:p,end:o}},n.prototype.buildCustomVisibleRange=function(t){var e=this.props,r=e.visibleRangeInput,o=typeof r=="function"?r.call(e.calendarApi,e.dateEnv.toDate(t)):r,a=this.refineRange(o);return!a||a.start!=null&&a.end!=null?a:null},n.prototype.buildRenderRange=function(t,e,r){return t},n.prototype.buildDateIncrement=function(t){var e,r=this.props.dateIncrement;return r||((e=this.props.dateAlignment)?ue(1,e):t||ue({days:1}))},n.prototype.refineRange=function(t){if(t){var e=(r=t,o=this.props.dateEnv,a=null,s=null,r.start&&(a=o.createMarker(r.start)),r.end&&(s=o.createMarker(r.end)),a||s?a&&s&&s<a?null:{start:a,end:s}:null);return e&&(e=Eo(e)),e}var r,o,a,s;return null},n.prototype.initHiddenDays=function(){var t,e=this.props.hiddenDays||[],r=[],o=0;for(this.props.weekends===!1&&e.push(0,6),t=0;t<7;t+=1)(r[t]=e.indexOf(t)!==-1)||(o+=1);if(!o)throw new Error("invalid hiddenDays");this.isHiddenDayHash=r},n.prototype.trimHiddenDays=function(t){var e=t.start,r=t.end;return e&&(e=this.skipHiddenDays(e)),r&&(r=this.skipHiddenDays(r,-1,!0)),e==null||r==null||e<r?{start:e,end:r}:null},n.prototype.isHiddenDay=function(t){return t instanceof Date&&(t=t.getUTCDay()),this.isHiddenDayHash[t]},n.prototype.skipHiddenDays=function(t,e,r){for(e===void 0&&(e=1),r===void 0&&(r=!1);this.isHiddenDayHash[(t.getUTCDay()+(r?e:0)+7)%7];)t=Pe(t,e);return t},n})();function ql(n,t,e){var r=t?t.activeRange:null;return Ja({},(function(o,a){var s=ya(a),l=[].concat(o.eventSources||[]),c=[];o.initialEvents&&l.unshift(o.initialEvents),o.events&&l.unshift(o.events);for(var p=0,d=l;p<d.length;p++){var g=ma(d[p],a,s);g&&c.push(g)}return c})(n,e),r,e)}function Gl(n,t,e,r){var o,a,s=e?e.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Ja(n,t.sources,s,r);case"REMOVE_EVENT_SOURCE":return o=n,a=t.sourceId,Wt(o,(function(l){return l.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return e?es(n,s,r):n;case"FETCH_EVENT_SOURCES":return bi(n,t.sourceIds?Fr(t.sourceIds):ts(n,r),s,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return(function(l,c,p,d){var g,h=l[c];return h&&p===h.latestFetchId?b(b({},l),((g={})[c]=b(b({},h),{isFetching:!1,fetchRange:d}),g)):l})(n,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}function Qa(n){for(var t in n)if(n[t].isFetching)return!0;return!1}function Ja(n,t,e,r){for(var o={},a=0,s=t;a<s.length;a++){var l=s[a];o[l.sourceId]=l}return e&&(o=es(o,e,r)),b(b({},n),o)}function es(n,t,e){return bi(n,Wt(n,(function(r){return(function(o,a,s){return ns(o,s)?!s.options.lazyFetching||!o.fetchRange||o.isFetching||a.start<o.fetchRange.start||a.end>o.fetchRange.end:!o.latestFetchId})(r,t,e)})),t,!1,e)}function bi(n,t,e,r,o){var a={};for(var s in n){var l=n[s];t[s]?a[s]=Yl(l,e,r,o):a[s]=l}return a}function Yl(n,t,e,r){var o=r.options,a=r.calendarApi,s=r.pluginHooks.eventSourceDefs[n.sourceDefId],l=un();return s.fetch({eventSource:n,range:t,isRefetch:e,context:r},(function(c){var p=c.rawEvents;o.eventSourceSuccess&&(p=o.eventSourceSuccess.call(a,p,c.xhr)||p),n.success&&(p=n.success.call(a,p,c.xhr)||p),r.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:l,fetchRange:t,rawEvents:p})}),(function(c){console.warn(c.message,c),o.eventSourceFailure&&o.eventSourceFailure.call(a,c),n.failure&&n.failure(c),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:l,fetchRange:t,error:c})})),b(b({},n),{isFetching:!0,latestFetchId:l})}function ts(n,t){return Wt(n,(function(e){return ns(e,t)}))}function ns(n,t){return!t.pluginHooks.eventSourceDefs[n.sourceDefId].ignoreRange}function Zl(n,t,e,r,o){switch(t.type){case"RECEIVE_EVENTS":return(function(a,s,l,c,p,d){if(s&&l===s.latestFetchId){var g=po((function(h,v,E){var w=E.options.eventDataTransform,C=v?v.eventDataTransform:null;return C&&(h=rs(h,C)),w&&(h=rs(h,w)),h})(p,s,d),s,d);return c&&(g=jn(g,c,d)),ho(os(a,s.sourceId),g)}return a})(n,e[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return(function(a,s,l,c){return l&&(s=jn(s,l,c)),ho(a,s)})(n,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return ho(n,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?jn(n,r.activeRange,o):n;
9case"REMOVE_EVENTS":return(function(a,s){var l=a.defs,c=a.instances,p={},d={};for(var g in l)s.defs[g]||(p[g]=l[g]);for(var h in c)!s.instances[h]&&p[c[h].defId]&&(d[h]=c[h]);return{defs:p,instances:d}})(n,t.eventStore);case"REMOVE_EVENT_SOURCE":return os(n,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return zr(n,(function(a){return!a.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return n}}function rs(n,t){var e;if(t){e=[];for(var r=0,o=n;r<o.length;r++){var a=o[r],s=t(a);s?e.push(s):s==null&&e.push(a)}}else e=n;return e}function os(n,t){return zr(n,(function(e){return e.sourceId!==t}))}function $l(n,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return n}}function Xl(n,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return n}}function Kl(n,t){var e;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(e=t.state).affectedEvents,mutatedEvents:e.mutatedEvents,isEvent:e.isEvent};default:return n}}function Ql(n,t){var e;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(e=t.state).affectedEvents,mutatedEvents:e.mutatedEvents,isEvent:e.isEvent};default:return n}}function Jl(n,t,e,r,o){return{header:n.headerToolbar?is(n.headerToolbar,n,t,e,r,o):null,footer:n.footerToolbar?is(n.footerToolbar,n,t,e,r,o):null}}function is(n,t,e,r,o,a){var s={},l=[],c=!1;for(var p in n){var d=eu(n[p],t,e,r,o,a);s[p]=d.widgets,l.push.apply(l,d.viewsWithButtons),c=c||d.hasTitle}return{sectionWidgets:s,viewsWithButtons:l,hasTitle:c}}function eu(n,t,e,r,o,a){var s=t.direction==="rtl",l=t.customButtons||{},c=e.buttonText||{},p=t.buttonText||{},d=e.buttonHints||{},g=t.buttonHints||{},h=n?n.split(" "):[],v=[],E=!1;return{widgets:h.map((function(w){return w.split(",").map((function(C){if(C==="title")return E=!0,{buttonName:C};var x,A,O,H,L,V;if(x=l[C])O=function(Y){x.click&&x.click.call(Y.target,Y,Y.target)},(H=r.getCustomButtonIconClass(x))||(H=r.getIconClass(C,s))||(L=x.text),V=x.hint||x.text;else if(A=o[C]){v.push(C),O=function(){a.changeView(C)},(L=A.buttonTextOverride)||(H=r.getIconClass(C,s))||(L=A.buttonTextDefault);var X=A.buttonTextOverride||A.buttonTextDefault;V=zn(A.buttonTitleOverride||A.buttonTitleDefault||t.viewHint,[X,C],X)}else if(a[C])if(O=function(){a[C]()},(L=c[C])||(H=r.getIconClass(C,s))||(L=p[C]),C==="prevYear"||C==="nextYear"){var Z=C==="prevYear"?"prev":"next";V=zn(d[Z]||g[Z],[p.year||"year","year"],p[C])}else V=function(Y){return zn(d[C]||g[C],[p[Y]||Y,Y],p[C])};return{buttonName:C,buttonClick:O,buttonIcon:H,buttonText:L,buttonHint:V}}))})),viewsWithButtons:v,hasTitle:E}}function _i(n,t,e,r,o){var a=null;(n=n.toUpperCase())==="GET"?t=(function(l,c){return l+(l.indexOf("?")===-1?"?":"&")+as(c)})(t,e):a=as(e);var s=new XMLHttpRequest;s.open(n,t,!0),n!=="GET"&&s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.onload=function(){if(s.status>=200&&s.status<400){var l=!1,c=void 0;try{c=JSON.parse(s.responseText),l=!0}catch{}l?r(c,s):o("Failure parsing JSON",s)}else o("Request failed",s)},s.onerror=function(){o("Request failed",s)},s.send(a)}function as(n){var t=[];for(var e in n)t.push(encodeURIComponent(e)+"="+encodeURIComponent(n[e]));return t.join("&")}function ss(n,t){for(var e=pr(t.getCurrentData().eventSources),r=[],o=0,a=n;o<a.length;o++){for(var s=a[o],l=!1,c=0;c<e.length;c+=1)if(e[c]._raw===s){e.splice(c,1),l=!0;break}l||r.push(s)}for(var p=0,d=e;p<d.length;p++){var g=d[p];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:g.sourceId})}for(var h=0,v=r;h<v.length;h++){var E=v[h];t.calendarApi.addEventSource(E)}}var Di=[xt({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(n){return Array.isArray(n.events)?n.events:null},fetch:function(n,t){t({rawEvents:n.eventSource.meta})}}]}),xt({eventSourceDefs:[{parseMeta:function(n){return typeof n.events=="function"?n.events:null},fetch:function(n,t,e){var r=n.context.dateEnv;Ua(n.eventSource.meta.bind(null,ha(n.range,r)),(function(o){t({rawEvents:o})}),e)}}]}),xt({eventSourceRefiners:{method:String,extraParams:P,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(n){return!n.url||n.format!=="json"&&n.format?null:{url:n.url,format:"json",method:(n.method||"GET").toUpperCase(),extraParams:n.extraParams,startParam:n.startParam,endParam:n.endParam,timeZoneParam:n.timeZoneParam}},fetch:function(n,t,e){var r=n.eventSource.meta,o=(function(a,s,l){var c,p,d,g,h=l.dateEnv,v=l.options,E={};return(c=a.startParam)==null&&(c=v.startParam),(p=a.endParam)==null&&(p=v.endParam),(d=a.timeZoneParam)==null&&(d=v.timeZoneParam),g=typeof a.extraParams=="function"?a.extraParams():a.extraParams||{},b(E,g),E[c]=h.formatIso(s.start),E[p]=h.formatIso(s.end),h.timeZone!=="local"&&(E[d]=h.timeZone),E})(r,n.range,n.context);_i(r.method,r.url,o,(function(a,s){t({rawEvents:a,xhr:s})}),(function(a,s){e({message:a,xhr:s})}
9))}}]}),xt({recurringTypes:[{parse:function(n,t){if(n.daysOfWeek||n.startTime||n.endTime||n.startRecur||n.endRecur){var e={daysOfWeek:n.daysOfWeek||null,startTime:n.startTime||null,endTime:n.endTime||null,startRecur:n.startRecur?t.createMarker(n.startRecur):null,endRecur:n.endRecur?t.createMarker(n.endRecur):null},r=void 0;return n.duration&&(r=n.duration),!r&&n.startTime&&n.endTime&&(o=n.endTime,a=n.startTime,r={years:o.years-a.years,months:o.months-a.months,days:o.days-a.days,milliseconds:o.milliseconds-a.milliseconds}),{allDayGuess:!n.startTime&&!n.endTime,duration:r,typeData:e}}var o,a;return null},expand:function(n,t,e){var r=Yn(t,{start:n.startRecur,end:n.endRecur});return r?(function(o,a,s,l){for(var c=o?Fr(o):null,p=De(s.start),d=s.end,g=[];p<d;){var h=void 0;c&&!c[p.getUTCDay()]||(h=a?l.add(p,a):p,g.push(h)),p=Pe(p,1)}return g})(n.daysOfWeek,n.startTime,r,e):[]}}],eventRefiners:{daysOfWeek:P,startTime:ue,endTime:ue,duration:ue,startRecur:P,endRecur:P}}),xt({optionChangeHandlers:{events:function(n,t){ss([n],t)},eventSources:ss}}),xt({isLoadingFuncs:[function(n){return Qa(n.eventSources)}],contentTypeHandlers:{html:function(){var n=null,t="";return{render:function(e,r){e===n&&r===t||(e.innerHTML=r),n=e,t=r},destroy:function(){n.innerHTML="",n=null,t=""}}},domNodes:function(){var n=null,t=[];function e(){t.forEach(_t),t=[],n=null}return{render:function(r,o){var a=Array.prototype.slice.call(o);if(r!==n||!jt(t,a)){for(var s=0,l=a;s<l.length;s++){var c=l[s];r.appendChild(c)}e()}n=r,t=a},destroy:e}}},propSetHandlers:{dateProfile:function(n,t){t.emitter.trigger("datesSet",b(b({},ha(n.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(n,t){var e=t.emitter;e.hasHandlers("eventsSet")&&e.trigger("eventsSet",Zn(n,t))}}})],Io=(function(){function n(t){this.drainedOption=t,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return n.prototype.request=function(t){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),t==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),t))},n.prototype.pause=function(t){t===void 0&&(t="");var e=this.pauseDepths;e[t]=(e[t]||0)+1,this.clearTimeout()},n.prototype.resume=function(t,e){t===void 0&&(t="");var r=this.pauseDepths;t in r&&(e?delete r[t]:(r[t]-=1,r[t]<=0&&delete r[t]),this.tryDrain())},n.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},n.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},n.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},n.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},n.prototype.drained=function(){this.drainedOption&&this.drainedOption()},n})(),tu=(function(){function n(t,e){this.runTaskOption=t,this.drainedOption=e,this.queue=[],this.delayedRunner=new Io(this.drain.bind(this))}return n.prototype.request=function(t,e){this.queue.push(t),this.delayedRunner.request(e)},n.prototype.pause=function(t){this.delayedRunner.pause(t)},n.prototype.resume=function(t,e){this.delayedRunner.resume(t,e)},n.prototype.drain=function(){for(var t=this.queue;t.length;){for(var e=[],r=void 0;r=t.shift();)this.runTask(r),e.push(r);this.drained(e)}},n.prototype.runTask=function(t){this.runTaskOption&&this.runTaskOption(t)},n.prototype.drained=function(t){this.drainedOption&&this.drainedOption(t)},n})();function nu(n,t,e){var r;return r=/^(year|month)$/.test(n.currentRangeUnit)?n.currentRange:n.activeRange,e.formatRange(r.start,r.end,ae(t.titleFormat||(function(o){var a=o.currentRangeUnit;if(a==="year")return{year:"numeric"};if(a==="month")return{year:"numeric",month:"long"};var s=tr(o.currentRange.start,o.currentRange.end);return s!==null&&s>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}})(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var wi=(function(){function n(t){var e=this;this.computeOptionsData=K(this._computeOptionsData),this.computeCurrentViewData=K(this._computeCurrentViewData),this.organizeRawLocales=K(Sa),this.buildLocale=K(ii),this.buildPluginHooks=Ul(),this.buildDateEnv=K(ru),this.buildTheme=K(ou),this.parseToolbars=K(Jl),this.buildViewSpecs=K(Vl),this.buildDateProfileGenerator=vn(iu),this.buildViewApi=K(au),this.buildViewUiProps=vn(uu),this.buildEventUiBySource=K(su,gt),this.buildEventUiBases=K(lu),this.parseContextBusinessHours=vn(cu),this.buildTitle=K(nu),this.emitter=new $r,this.actionRunner=new tu(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return e.data},this.dispatch=function(L){e.actionRunner.request(L)},this.props=t,this.actionRunner.pause();var r={},o=this.computeOptionsData(t.optionOverrides,r,t.calendarApi),a=o.calendarOptions.initialView||o.pluginHooks.initialView,s=this.computeCurrentViewData(a,o,t.optionOverrides,r);t.calendarApi.currentDataManager=this,this.emitter.setThisContext(t.calendarApi),this.emitter.setOptions(s.options);var l,c,p,d=(l=o.calendarOptions,c=o.dateEnv,(p=l.initialDate)!=null?c.createMarker(p):Yr(l.now,c)),g=s.dateProfileGenerator.build(d);On(g.activeRange,d)||(d=g.currentRange.start);for(var h={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},v=0,E=o.pluginHooks.contextInit;v<E.length;v++)(0,E[v])(h);for(var w=ql(o.calendarOptions,g,h),C={dynamicOptionOverrides:r,currentViewType:a,currentDate:d,dateProfile:g,businessHours:this.parseContextBusinessHours(h),eventSources:w,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(h).selectionConfig},x=b(b({},h),C),A=0,O=o.pluginHooks.reducers;A<O.length;A++){var H=O[A];b(C,H(null,null,x))}Ci(C,h)&&this.emitter.trigger("loading",!0),this.state=C,this.updateData(),this.actionRunner.resume()}return n.prototype.resetOptions=function(t,e){var r=this.props;r.optionOverrides=e?b(b({},r.optionOverrides),t):t,this.actionRunner.request({type:"NOTHING"})},n.prototype._handleAction=function(t){var e=this,r=e.props,o=e.state,a=e.emitter,s=(function(ge,le){var fe;return le.type==="SET_OPTION"?b(b({},ge),((fe={})[le.optionName]=le.rawOptionValue,fe)):ge})(o.dynamicOptionOverrides,t),l=this.computeOptionsData(r.optionOverrides,s,r.calendarApi),c=(function(ge,le){return le.type==="CHANGE_VIEW_TYPE"&&(ge=le.viewType),ge})(o.currentViewType,t),p=this.computeCurrentViewData(c,l,r.optionOverrides,s);r.calendarApi.currentDataManager=this,a.setThisContext(r.calendarApi),a.setOptions(p.options);var d={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:r.calendarApi,dispatch:this.dispatch,emitter:a,getCurrentData:this.getCurrentData},g=o.currentDate,h=o.dateProfile;this.data&&this.data.dateProfileGenerator!==p.dateProfileGenerator&&(h=p.dateProfileGenerator.build(g)),h=(function(ge,le,fe,ot){var it;switch(le.type){case"CHANGE_VIEW_TYPE":return ot.build(le.dateMarker||fe);case"CHANGE_DATE":return ot.build(le.dateMarker);case"PREV":if((it=ot.buildPrev(ge,fe)).isValid)return it;break;case"NEXT":if((it=ot.buildNext(ge,fe)).isValid)return it}return ge})(h,t,g=(function(ge,le){return le.type==="CHANGE_DATE"?le.dateMarker:ge})(g,t),p.dateProfileGenerator),t.type!=="PREV"&&t.type!=="NEXT"&&On(h.currentRange,g)||(g=h.currentRange.start);for(var v=Gl(o.eventSources,t,h,d),E=Zl(o.eventStore,t,v,h,d),w=Qa(v)&&!p.options.progressiveEventRendering&&o.renderableEventStore||E,C=this.buildViewUiProps(d),x=C.eventUiSingleBase,A=C.selectionConfig,O=this.buildEventUiBySource(v),H={dynamicOptionOverrides:s,currentViewType:c,currentDate:g,dateProfile:h,eventSources:v,eventStore:E,renderableEventStore:w,selectionConfig:A,eventUiBases:this.buildEventUiBases(w.defs,x,O),businessHours:this.parseContextBusinessHours(d),dateSelection:$l(o.dateSelection,t),eventSelection:Xl(o.eventSelection,t),eventDrag:Kl(o.eventDrag,t),eventResize:Ql(o.eventResize,t)},L=b(b({},d),H),V=0,X=l.pluginHooks.reducers;V<X.length;V++){var Z=X[V];b(H,Z(o,t,L))}var Y=Ci(o,d),Ee=Ci(H,d);!Y&&Ee?a.trigger("loading",!0):Y&&!Ee&&a.trigger("loading",!1),this.state=H,r.onAction&&r.onAction(t)},n.prototype.updateData=function(){var t,e,r,o,a,s,l,c,p,d=this.props,g=this.state,h=this.data,v=this.computeOptionsData(d.optionOverrides,g.dynamicOptionOverrides,d.calendarApi),E=this.computeCurrentViewData(g.currentViewType,v,d.optionOverrides,g.dynamicOptionOverrides),w=this.data=b(b(b({viewTitle:this.buildTitle(g.dateProfile,E.options,v.dateEnv),calendarApi:d.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},v),E),g),C=v.pluginHooks.optionChangeHandlers,x=h&&h.calendarOptions,A=v.calendarOptions;if(x&&x!==A)for(var O in x.timeZone!==A.timeZone&&(g.eventSources=w.eventSources=(s=w.eventSources,l=g.dateProfile,c=w,p=l?l.activeRange:null,bi(s,ts(s,c),p,!0,c)),g.eventStore=w.eventStore=(t=w.eventStore,e=h.dateEnv,r=w.dateEnv,o=t.defs,a=Rt(t.instances,(function(H){var L=o[H.defId];return L.allDay||L.recurringDef?H:b(b({},H),{range:{start:r.createMarker(e.toDate(H.range.start,H.forcedStartTzo)),end:r.createMarker(e.toDate(H.range.end,H.forcedEndTzo))},forcedStartTzo:r.canComputeOffset?null:H.forcedStartTzo,forcedEndTzo:r.canComputeOffset?null:H.forcedEndTzo})})),{defs:o,instances:a})),C)x[O]!==A[O]&&C[O](A[O],w);d.onData&&d.onData(w)},n.prototype._computeOptionsData=function(t,e,r){var o=this.processRawCalendarOptions(t,e),a=o.refinedOptions,s=o.pluginHooks,l=o.localeDefaults,c=o.availableLocaleData;ls(o.extra);var p=this.buildDateEnv(a.timeZone,a.locale,a.weekNumberCalculation,a.firstDay,a.weekText,s,c,a.defaultRangeSeparator),d=this.buildViewSpecs(s.views,t,e,l),g=this.buildTheme(a,s);return{calendarOptions:a,pluginHooks:s,dateEnv:p,viewSpecs:d,theme:g,toolbarConfig:this.parseToolbars(a,t,g,d,r),localeDefaults:l,availableRawLocales:c.map}},n.prototype.processRawCalendarOptions=function(t,e){var r=Pn([Se,t,e]),o=r.locales,a=r.locale,s=this.organizeRawLocales(o),l=s.map,c=this.buildLocale(a||s.defaultCode,l).options,p=this.buildPluginHooks(t.plugins||[],Di),d=this.currentCalendarOptionsRefiners=b(b(b(b(b({},ve),Fe),vt),p.listenerRefiners),p.optionRefiners),g={},h=Pn([Se,c,t,e]),v={},E=this.currentCalendarOptionsInput,w=this.currentCalendarOptionsRefined,C=!1;
9for(var x in h)x!=="plugins"&&(h[x]===E[x]||We[x]&&x in E&&We[x](E[x],h[x])?v[x]=w[x]:d[x]?(v[x]=d[x](h[x]),C=!0):g[x]=E[x]);return C&&(this.currentCalendarOptionsInput=h,this.currentCalendarOptionsRefined=v),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:p,availableLocaleData:s,localeDefaults:c,extra:g}},n.prototype._computeCurrentViewData=function(t,e,r,o){var a=e.viewSpecs[t];if(!a)throw new Error('viewType "'+t+`" is not available. Please make sure you've loaded all neccessary plugins`);var s=this.processRawViewOptions(a,e.pluginHooks,e.localeDefaults,r,o),l=s.refinedOptions;return ls(s.extra),{viewSpec:a,options:l,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:a.optionDefaults.dateProfileGeneratorClass,duration:a.duration,durationUnit:a.durationUnit,usesMinMaxTime:a.optionDefaults.usesMinMaxTime,dateEnv:e.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:l.slotMinTime,slotMaxTime:l.slotMaxTime,showNonCurrentDates:l.showNonCurrentDates,dayCount:l.dayCount,dateAlignment:l.dateAlignment,dateIncrement:l.dateIncrement,hiddenDays:l.hiddenDays,weekends:l.weekends,nowInput:l.now,validRangeInput:l.validRange,visibleRangeInput:l.visibleRange,monthMode:l.monthMode,fixedWeekCount:l.fixedWeekCount}),viewApi:this.buildViewApi(t,this.getCurrentData,e.dateEnv)}},n.prototype.processRawViewOptions=function(t,e,r,o,a){var s=Pn([Se,t.optionDefaults,r,o,t.optionOverrides,a]),l=b(b(b(b(b(b({},ve),Fe),vt),Nn),e.listenerRefiners),e.optionRefiners),c={},p=this.currentViewOptionsInput,d=this.currentViewOptionsRefined,g=!1,h={};for(var v in s)s[v]===p[v]||We[v]&&We[v](s[v],p[v])?c[v]=d[v]:(s[v]===this.currentCalendarOptionsInput[v]||We[v]&&We[v](s[v],this.currentCalendarOptionsInput[v])?v in this.currentCalendarOptionsRefined&&(c[v]=this.currentCalendarOptionsRefined[v]):l[v]?c[v]=l[v](s[v]):h[v]=s[v],g=!0);return g&&(this.currentViewOptionsInput=s,this.currentViewOptionsRefined=c),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:h}},n})();function ru(n,t,e,r,o,a,s,l){var c=ii(t||s.defaultCode,s.map);return new oi({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:c,weekNumberCalculation:e,firstDay:r,weekText:o,cmdFormatter:a.cmdFormatter,defaultSeparator:l})}function ou(n,t){return new(t.themeClasses[n.themeSystem]||Xn)(n)}function iu(n){return new(n.dateProfileGeneratorClass||Ei)(n)}function au(n,t,e){return new va(n,t,e)}function su(n){return Rt(n,(function(t){return t.ui}))}function lu(n,t,e){var r={"":t};for(var o in n){var a=n[o];a.sourceId&&e[a.sourceId]&&(r[o]=e[a.sourceId])}return r}function uu(n){var t=n.options;return{eventUiSingleBase:jr({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:typeof t.eventOverlap=="boolean"?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},n),selectionConfig:jr({constraint:t.selectConstraint,overlap:typeof t.selectOverlap=="boolean"?t.selectOverlap:void 0,allow:t.selectAllow},n)}}function Ci(n,t){for(var e=0,r=t.pluginHooks.isLoadingFuncs;e<r.length;e++)if((0,r[e])(n))return!0;return!1}function cu(n){return Aa(n.options.businessHours,n)}function ls(n,t){for(var e in n)console.warn("Unknown option '"+e+"'"+(t?" for view '"+t+"'":""))}var du=(function(n){function t(e){var r=n.call(this,e)||this;return r.handleData=function(o){r.dataManager?r.setState(o):r.state=o},r.dataManager=new wi({optionOverrides:e.optionOverrides,calendarApi:e.calendarApi,onData:r.handleData}),r}return W(t,n),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var r=this.props.optionOverrides;r!==e.optionOverrides&&this.dataManager.resetOptions(r)},t})(Ro),pu=function(n){this.timeZoneName=n},xi=(function(){function n(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return n.prototype.addSegs=function(t){for(var e=[],r=0,o=t;r<o.length;r++){var a=o[r];this.insertEntry(a,e)}return e},n.prototype.insertEntry=function(t,e){var r=this.findInsertion(t);return this.isInsertionValid(r,t)?(this.insertEntryAt(t,r),1):this.handleInvalidInsertion(r,t,e)},n.prototype.isInsertionValid=function(t,e){return(this.maxCoord===-1||t.levelCoord+e.thickness<=this.maxCoord)&&(this.maxStackCnt===-1||t.stackCnt<this.maxStackCnt)},n.prototype.handleInvalidInsertion=function(t,e,r){return this.allowReslicing&&t.touchingEntry?this.splitEntry(e,t.touchingEntry,r):(r.push(e),0)},n.prototype.splitEntry=function(t,e,r){var o=0,a=[],s=t.span,l=e.span;return s.start<l.start&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:s.start,end:l.start}},a)),s.end>l.end&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:l.end,end:s.end}},a)),o?(r.push.apply(r,se([{index:t.index,thickness:t.thickness,span:Po(l,s)}],a)),o):(r.push(t),0)},n.prototype.insertEntryAt=function(t,e){var r=this.entriesByLevel,o=this.levelCoords;e.lateral===-1?(Ti(o,e.level,e.levelCoord),Ti(r,e.level,[t])):Ti(r[e.level],e.lateral,t),this.stackCnts[Kn(t)]=e.stackCnt},n.prototype.findInsertion=function(t){for(var e=this,r=e.levelCoords,o=e.entriesByLevel,a=e.strictOrder,s=e.stackCnts,l=r.length,c=0,p=-1,d=-1,g=null,h=0,v=0;v<l;v+=1){var E=r[v];if(!a&&E>=c+t.thickness)break;for(var w=o[v],C=void 0,x=Oo(w,t.span.start,No),A=x[0]+x[1];(C=w[A])&&C.span.start<t.span.end;){var O=E+C.thickness;O>c&&(c=O,g=C,p=v,d=A),O===c&&(h=Math.max(h,s[Kn(C)]+1)),A+=1}}var H=0;if(g)for(H=p+1;H<l&&r[H]<c;)H+=1;var L=-1;return H<l&&r[H]===c&&(L=Oo(o[H],t.span.end,No)[0]),{touchingLevel:p,touchingLateral:d,touchingEntry:g,stackCnt:h,levelCoord:c,level:H,lateral
9:L}},n.prototype.toRects=function(){for(var t=this.entriesByLevel,e=this.levelCoords,r=t.length,o=[],a=0;a<r;a+=1)for(var s=t[a],l=e[a],c=0,p=s;c<p.length;c++){var d=p[c];o.push(b(b({},d),{levelCoord:l}))}return o},n})();function No(n){return n.span.end}function Kn(n){return n.index+":"+n.span.start}function us(n){for(var t=[],e=0,r=n;e<r.length;e++){for(var o=r[e],a=[],s={span:o.span,entries:[o]},l=0,c=t;l<c.length;l++){var p=c[l];Po(p.span,s.span)?s={entries:p.entries.concat(s.entries),span:cs(p.span,s.span)}:a.push(p)}a.push(s),t=a}return t}function cs(n,t){return{start:Math.min(n.start,t.start),end:Math.max(n.end,t.end)}}function Po(n,t){var e=Math.max(n.start,t.start),r=Math.min(n.end,t.end);return e<r?{start:e,end:r}:null}function Ti(n,t,e){n.splice(t,0,e)}function Oo(n,t,e){var r=0,o=n.length;if(!o||t<e(n[r]))return[0,0];if(t>e(n[o-1]))return[o,0];for(;r<o;){var a=Math.floor(r+(o-r)/2),s=e(n[a]);if(t<s)o=a;else{if(!(t>s))return[a,1];r=a+1}}return[r,0]}var ur=(function(){function n(t){this.component=t.component,this.isHitComboAllowed=t.isHitComboAllowed||null}return n.prototype.destroy=function(){},n})();function fu(n,t){return{component:n,el:t.el,useEventCenter:t.useEventCenter==null||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function Ho(n){var t;return(t={})[n.component.uid]=n,t}var Xr={},Si=(function(){function n(t,e){this.emitter=new $r}return n.prototype.destroy=function(){},n.prototype.setMirrorIsVisible=function(t){},n.prototype.setMirrorNeedsRevert=function(t){},n.prototype.setAutoScrollEnabled=function(t){},n})(),Kr={},hu={startTime:ue,duration:ue,create:Boolean,sourceId:String};function Bo(n){var t=At(n,hu),e=t.refined,r=t.extra;return{startTime:e.startTime||null,duration:e.duration||null,create:e.create==null||e.create,sourceId:e.sourceId,leftoverProps:r}}var gu=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this,r=this.props.widgetGroups.map((function(o){return e.renderWidgetGroup(o)}));return _.apply(void 0,se(["div",{className:"fc-toolbar-chunk"}],r))},t.prototype.renderWidgetGroup=function(e){for(var r=this.props,o=this.context.theme,a=[],s=!0,l=0,c=e;l<c.length;l++){var p=c[l],d=p.buttonName,g=p.buttonClick,h=p.buttonText,v=p.buttonIcon,E=p.buttonHint;if(d==="title")s=!1,a.push(_("h2",{className:"fc-toolbar-title",id:r.titleId},r.title));else{var w=d===r.activeButton,C=!r.isTodayEnabled&&d==="today"||!r.isPrevEnabled&&d==="prev"||!r.isNextEnabled&&d==="next",x=["fc-"+d+"-button",o.getClass("button")];w&&x.push(o.getClass("buttonActive")),a.push(_("button",{type:"button",title:typeof E=="function"?E(r.navUnit):E,disabled:C,"aria-pressed":w,className:x.join(" "),onClick:g},h||(v?_("span",{className:v}):"")))}}if(a.length>1){var A=s&&o.getClass("buttonGroup")||"";return _.apply(void 0,se(["div",{className:A}],a))}return a[0]},t})(me),ds=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e,r,o=this.props,a=o.model,s=o.extraClassName,l=!1,c=a.sectionWidgets,p=c.center;return c.left?(l=!0,e=c.left):e=c.start,c.right?(l=!0,r=c.right):r=c.end,_("div",{className:[s||"","fc-toolbar",l?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",p||[]),this.renderSection("end",r||[]))},t.prototype.renderSection=function(e,r){var o=this.props;return _(gu,{key:e,widgetGroups:r,title:o.title,navUnit:o.navUnit,activeButton:o.activeButton,isTodayEnabled:o.isTodayEnabled,isPrevEnabled:o.isPrevEnabled,isNextEnabled:o.isNextEnabled,titleId:o.titleId})},t})(me),vu=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.state={availableWidth:null},e.handleEl=function(r){e.el=r,Vt(e.props.elRef,r),e.updateAvailableWidth()},e.handleResize=function(){e.updateAvailableWidth()},e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.state,o=e.aspectRatio,a=["fc-view-harness",o||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],s="",l="";return o?r.availableWidth!==null?s=r.availableWidth/o:l=1/o*100+"%":s=e.height||"",_("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:a.join(" "),style:{height:s,paddingBottom:l}},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})(me),mu=(function(n){function t(e){var r=n.call(this,e)||this;return r.handleSegClick=function(o,a){var s=r.component,l=s.context,c=ar(a);if(c&&s.isValidSegDownEl(o.target)){var p=Te(o.target,".fc-event-forced-url"),d=p?p.querySelector("a[href]").href:"";l.emitter.trigger("eventClick",{el:a,event:new Ae(s.context,c.eventRange.def,c.eventRange.instance),jsEvent:o,view:l.viewApi}),d&&!o.defaultPrevented&&(window.location.href=d)}},r.destroy=kn(e.el,"click",".fc-event",r.handleSegClick),r}return W(t,n),t})(ur),yu=(function(n){function t(e){var r,o,a,s,l,c=n.call(this,e)||this;return c.handleEventElRemove=function(p){p===c.currentSegEl&&c.handleSegLeave(null,c.currentSegEl)},c.handleSegEnter=function(p,d){ar(d)&&(c.currentSegEl=d,c.triggerEvent("eventMouseEnter",p,d))},c.handleSegLeave=function(p,d){c.currentSegEl&&(c.currentSegEl=null,c.triggerEvent("eventMouseLeave",p,d))},c.removeHoverListeners=(r=e.el,o=".fc-event",a=c.handleSegEnter,s=c.handleSegLeave,kn(r,"mouseover",o,(function(p,d){if(d!==l){l=d,a(p,d);var g=function(h){l=null,s(h,d),d.removeEventListener("mouseleave",g)};d.addEventListener("mouseleave",g)}}))),c}return W(t,n),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,r,o){var a=this.component,s=a.context,l=ar(o);r&&!a.isValidSegDownEl(r.target)||s.emitter.trigger(e,{el:o,event:new Ae(s,l.eventRange.def,l.eventRange.instance),jsEvent:r,view:s.viewApi})},t})(ur),ps=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.buildViewContext=K(Ll),e.buildViewPropTransformers=K(bu),e.buildToolbarProps=K(Eu),e.headerRef=qe(),e.footerRef=qe(),e.interactionsStore={},e.state={viewLabelId:wt()},e.registerInteractiveComponent=function(r,o){var a=fu(r,o),s=[mu,yu].concat(e.props.pluginHooks.componentInteractions).map((function(l){return new l(a)}));e.interactionsStore[r.uid]=s,Xr[r.uid]=a},e.unregisterInteractiveComponent=function(r){var o=e.interactionsStore[r.uid];if(o){for(var a=0,s=o;a<s.length;a++)s[a].destroy();delete e.interactionsStore[r.uid]}delete Xr[r.uid]},e.resizeRunner=new Io((function(){e.props.emitter.trigger("_resize",!0),e.props.emitter.trigger("windowResize",{view:e.props.viewApi})})),e.handleWindowResize=function(r){var o=e.props.options;o.handleWindowResize&&r.target===window&&e.resizeRunner.request(o.windowResizeDelay)},e}return W(t,n),t.prototype.render=function(){var e,r=this.props,o=r.toolbarConfig,a=r.options,s=this.buildToolbarProps(r.viewSpec,r.dateProfile,r.dateProfileGenerator,r.currentDate,Yr(r.options.now,r.dateEnv),r.viewTitle),l=!1,c="";r.isHeightAuto||r.forPrint?c="":a.height!=null?l=!0:a.contentHeight!=null?c=a.c
9ontentHeight:e=Math.max(a.aspectRatio,.5);var p=this.buildViewContext(r.viewSpec,r.viewApi,r.options,r.dateProfileGenerator,r.dateEnv,r.theme,r.pluginHooks,r.dispatch,r.getCurrentData,r.emitter,r.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),d=o.header&&o.header.hasTitle?this.state.viewLabelId:"";return _(En.Provider,{value:p},o.header&&_(ds,b({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:o.header,titleId:d},s)),_(vu,{liquid:l,height:c,aspectRatio:e,labeledById:d},this.renderView(r),this.buildAppendContent()),o.footer&&_(ds,b({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:o.footer,titleId:""},s)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(a){return new a(e)})),window.addEventListener("resize",this.handleWindowResize);var r=e.pluginHooks.propSetHandlers;for(var o in r)r[o](e[o],e)},t.prototype.componentDidUpdate=function(e){var r=this.props,o=r.pluginHooks.propSetHandlers;for(var a in o)r[a]!==e[a]&&o[a](r[a],r)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,r=this.calendarInteractions;e<r.length;e++)r[e].destroy();this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,r=e.pluginHooks.viewContainerAppends.map((function(o){return o(e)}));return _.apply(void 0,se([Ge,{}],r))},t.prototype.renderView=function(e){for(var r=e.pluginHooks,o=e.viewSpec,a={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},s=0,l=this.buildViewPropTransformers(r.viewPropsTransformers);s<l.length;s++){var c=l[s];b(a,c.transform(a,e))}var p=o.component;return _(p,b({},a))},t})(Ao);function Eu(n,t,e,r,o,a){var s=e.build(o,void 0,!1),l=e.buildPrev(t,r,!1),c=e.buildNext(t,r,!1);return{title:a,activeButton:n.type,navUnit:n.singleUnit,isTodayEnabled:s.isValid&&!On(t.currentRange,o),isPrevEnabled:l.isValid,isNextEnabled:c.isValid}}function bu(n){return n.map((function(t){return new t}))}var fs=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.state={forPrint:!1},e.handleBeforePrint=function(){e.setState({forPrint:!0})},e.handleAfterPrint=function(){e.setState({forPrint:!1})},e}return W(t,n),t.prototype.render=function(){var e=this.props,r=e.options,o=this.state.forPrint,a=o||r.height==="auto"||r.contentHeight==="auto",s=a||r.height==null?"":r.height,l=["fc",o?"fc-media-print":"fc-media-screen","fc-direction-"+r.direction,e.theme.getClass("root")];return li()||l.push("fc-liquid-hack"),e.children(l,s,a,o)},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})(me);function hs(n,t){return ae(!n||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var gs="fc-col-header-cell";function vs(n){return n.text}var ms=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.context,r=e.dateEnv,o=e.options,a=e.theme,s=e.viewApi,l=this.props,c=l.date,p=l.dateProfile,d=To(c,l.todayRange,null,p),g=[gs].concat(Zr(d,a)),h=r.format(c,l.dayHeaderFormat),v=!d.isDisabled&&l.colCnt>1?sr(this.context,c):{},E=b(b(b({date:r.toDate(c),view:s},l.extraHookProps),{text:h}),d);return _(Tt,{hookProps:E,classNames:o.dayHeaderClassNames,content:o.dayHeaderContent,defaultContent:vs,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},(function(w,C,x,A){return _("th",b({ref:w,role:"columnheader",className:g.concat(C).join(" "),"data-date":d.isDisabled?void 0:qn(c),colSpan:l.colSpan},l.extraDataAttrs),_("div",{className:"fc-scrollgrid-sync-inner"},!d.isDisabled&&_("a",b({ref:x,className:["fc-col-header-cell-cushion",l.isSticky?"fc-sticky":""].join(" ")},v),A)))}))},t})(me),_u=ae({weekday:"long"}),ys=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.dateEnv,a=r.theme,s=r.viewApi,l=r.options,c=Pe(new Date(2592e5),e.dow),p={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},d=[gs].concat(Zr(p,a),e.extraClassNames||[]),g=o.format(c,e.dayHeaderFormat),h=b(b(b(b({date:c},p),{view:s}),e.extraHookProps),{text:g});return _(Tt,{hookProps:h,classNames:l.dayHeaderClassNames,content:l.dayHeaderContent,defaultContent:vs,didMount:l.dayHeaderDidMount,willUnmount:l.dayHeaderWillUnmount},(function(v,E,w,C){return _("th",b({ref:v,role:"columnheader",className:d.concat(E).join(" "),colSpan:e.colSpan},e.extraDataAttrs),_("div",{className:"fc-scrollgrid-sync-inner"},_("a",{"aria-label":o.format(c,_u),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:w},C)))}))},t})(me),br=(function(n){function t(e,r){var o=n.call(this,e,r)||this;
9return o.initialNowDate=Yr(r.options.now,r.dateEnv),o.initialNowQueriedMs=new Date().valueOf(),o.state=o.computeTiming().currentState,o}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.state;return e.children(r.nowDate,r.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,r=this.context,o=$t(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),a=r.dateEnv.startOf(o,e.unit),s=r.dateEnv.add(a,ue(1,e.unit)),l=s.valueOf()-o.valueOf();return l=Math.min(864e5,l),{currentState:{nowDate:a,todayRange:Es(a)},nextState:{nowDate:s,todayRange:Es(s)},waitMs:l}},t.prototype.setTimeout=function(){var e=this,r=this.computeTiming(),o=r.nextState,a=r.waitMs;this.timeoutId=setTimeout((function(){e.setState(o,(function(){e.setTimeout()}))}),a)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=En,t})(Ro);function Es(n){var t=De(n);return{start:t,end:Pe(t,1)}}var ki=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.createDayHeaderFormatter=K(Du),e}return W(t,n),t.prototype.render=function(){var e=this.context,r=this.props,o=r.dates,a=r.dateProfile,s=r.datesRepDistinctDays,l=r.renderIntro,c=this.createDayHeaderFormatter(e.options.dayHeaderFormat,s,o.length);return _(br,{unit:"day"},(function(p,d){return _("tr",{role:"row"},l&&l("day"),o.map((function(g){return s?_(ms,{key:g.toISOString(),date:g,dateProfile:a,todayRange:d,colCnt:o.length,dayHeaderFormat:c}):_(ys,{key:g.getUTCDay(),dow:g.getUTCDay(),dayHeaderFormat:c})})))}))},t})(me);function Du(n,t,e){return n||hs(t,e)}var Ri=(function(){function n(t,e){for(var r=t.start,o=t.end,a=[],s=[],l=-1;r<o;)e.isHiddenDay(r)?a.push(l+.5):(l+=1,a.push(l),s.push(r)),r=Pe(r,1);this.dates=s,this.indices=a,this.cnt=s.length}return n.prototype.sliceRange=function(t){var e=this.getDateDayIndex(t.start),r=this.getDateDayIndex(Pe(t.end,-1)),o=Math.max(0,e),a=Math.min(this.cnt-1,r);return(o=Math.ceil(o))<=(a=Math.floor(a))?{firstIndex:o,lastIndex:a,isStart:e===o,isEnd:r===a}:null},n.prototype.getDateDayIndex=function(t){var e=this.indices,r=Math.floor(Ft(this.dates[0],t));return r<0?e[0]-1:r>=e.length?e[e.length-1]+1:e[r]},n})(),Ai=(function(){function n(t,e){var r,o,a,s=t.dates;if(e){for(o=s[0].getUTCDay(),r=1;r<s.length&&s[r].getUTCDay()!==o;r+=1);a=Math.ceil(s.length/r)}else a=1,r=s.length;this.rowCnt=a,this.colCnt=r,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return n.prototype.buildCells=function(){for(var t=[],e=0;e<this.rowCnt;e+=1){for(var r=[],o=0;o<this.colCnt;o+=1)r.push(this.buildCell(e,o));t.push(r)}return t},n.prototype.buildCell=function(t,e){var r=this.daySeries.dates[t*this.colCnt+e];return{key:r.toISOString(),date:r}},n.prototype.buildHeaderDates=function(){for(var t=[],e=0;e<this.colCnt;e+=1)t.push(this.cells[0][e].date);return t},n.prototype.sliceRange=function(t){var e=this.colCnt,r=this.daySeries.sliceRange(t),o=[];if(r)for(var a=r.firstIndex,s=r.lastIndex,l=a;l<=s;){var c=Math.floor(l/e),p=Math.min((c+1)*e,s+1);o.push({row:c,firstCol:l%e,lastCol:(p-1)%e,isStart:r.isStart&&l===a,isEnd:r.isEnd&&p-1===s}),l=p}return o},n})(),Mi=(function(){function n(){this.sliceBusinessHours=K(this._sliceBusinessHours),this.sliceDateSelection=K(this._sliceDateSpan),this.sliceEventStore=K(this._sliceEventStore),this.sliceEventDrag=K(this._sliceInteraction),this.sliceEventResize=K(this._sliceInteraction),this.forceDayIfListItem=!1}return n.prototype.sliceProps=function(t,e,r,o){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];var l=t.eventUiBases,c=this.sliceEventStore.apply(this,se([t.eventStore,l,e,r],a));return{dateSelectionSegs:this.sliceDateSelection.apply(this,se([t.dateSelection,l,o],a)),businessHourSegs:this.sliceBusinessHours.apply(this,se([t.businessHours,e,r,o],a)),fgEventSegs:c.fg,bgEventSegs:c.bg,eventDrag:this.sliceEventDrag.apply(this,se([t.eventDrag,l,e,r],a)),eventResize:this.sliceEventResize.apply(this,se([t.eventResize,l,e,r],a)),eventSelection:t.eventSelection}},n.prototype.sliceNowDate=function(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return this._sliceDateSpan.apply(this,se([{range:{start:t,end:$t(t,1)},allDay:!1},{},e],r))},n.prototype._sliceBusinessHours=function(t,e,r,o){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];return t?this._sliceEventStore.apply(this,se([jn(t,Ii(e,!!r),o),{},e,r],a)).bg:[]},n.prototype._sliceEventStore=function(t,e,r,o){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];if(t){var l=Gr(t,e,Ii(r,!!o),o);return{bg:this.sliceEventRanges(l.bg,a),fg:this.sliceEventRanges(l.fg,a)}}return{bg:[],fg:[]}},n.prototype._sliceInteraction=function(t,e,r,o){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];if(!t)return null;var l=Gr(t.mutatedEvents,e,Ii(r,!!o),o);return{segs:this.sliceEventRanges(l.fg,a),affectedInstances:t.affectedEvents.instances,isEvent:t.isEvent}},n.prototype._sliceDateSpan=function(t,e,r){for(var o=[],a=3;a<arguments.length;a++)o[a-3]=arguments[a];if(!t)return[];for(var s=kl(t,e,r),l=this.sliceRange.apply(this,se([t.range],o)),c=0,p=l;c<p.length;c++){var d=p[c];d.eventRange=s}return l},n.prototype.sliceEventRanges=function(t,e){for(var r=[],o=0,a=t;o<a.length;o++){var s=a[o];r.push.apply(r,this.sliceEventRange(s,e))}return r},n.prototype.sliceEventRange=function(t,e){var r=t.range;this.forceDayIfListItem&&t.ui.display==="list-item"&&(r={start:r.start,end:Pe(r.start,1)});for(var o=this.sliceRange.apply(this,se([r],e)),a=0,s=o;a<s.length;a++){var l=s[a];l.eventRange=t,l.isStart=t.isStart&&l.isStart,l.isEnd=t.isEnd&&l.isEnd}return o},n})();function Ii(n,t){var e=n.activeRange;return t?e:{start:$t(e.start,n.slotMinTime.milliseconds),end:$t(e.end,n.slotMaxTime.milliseconds-864e5)}}function Lo(n,t,e){var r=n.mutatedEvents.instances;for(var o in r)if(!qr(t.validRange,r[o].range))return!1;return _s({eventDrag:n},e)}function bs(n,t,e){return!!qr(t.validRange,n.range)&&_s({dateSelection:n},e)}function _s(n,t){var e=t.getCurrentData(),r=b({businessHours:e.businessHours,dateSelection:"",eventStore:e.eventStore,eventUiBases:e.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},n);return(t.pluginHooks.isPropsValid||Ds)(r,t)}function Ds(n,t,e,r){return e===void 0&&(e={}),!(n.eventDrag&&!(function(o,a,s,l){var c=a.getCurrentData(),p=o.eventDrag,d=
9p.mutatedEvents,g=d.defs,h=d.instances,v=_o(g,p.isEvent?o.eventUiBases:{"":c.selectionConfig});l&&(v=Rt(v,l));var E=(A=o.eventStore,O=p.affectedEvents.instances,{defs:A.defs,instances:Wt(A.instances,(function(_n){return!O[_n.instanceId]}))}),w=E.defs,C=E.instances,x=_o(w,o.eventUiBases),A,O;for(var H in h){var L=h[H],V=L.range,X=v[L.defId],Z=g[L.defId];if(!ws(X.constraints,V,E,o.businessHours,a))return!1;var Y=a.options.eventOverlap,Ee=typeof Y=="function"?Y:null;for(var ge in C){var le=C[ge];if(bo(V,le.range)&&(x[le.defId].overlap===!1&&p.isEvent||X.overlap===!1||Ee&&!Ee(new Ae(a,w[le.defId],le),new Ae(a,Z,L))))return!1}for(var fe=c.eventStore,ot=0,it=X.allows;ot<it.length;ot++){var Dr=it[ot],wr=b(b({},s),{range:L.range,allDay:Z.allDay}),Mt=fe.defs[Z.defId],Jn=fe.instances[H],er=void 0;if(er=Mt?new Ae(a,Mt,Jn):new Ae(a,Z),!Dr(ri(wr,a),er))return!1}}return!0})(n,t,e,r))&&!(n.dateSelection&&!(function(o,a,s,l){var c=o.eventStore,p=c.defs,d=c.instances,g=o.dateSelection,h=g.range,v=a.getCurrentData().selectionConfig;if(l&&(v=l(v)),!ws(v.constraints,h,c,o.businessHours,a))return!1;var E=a.options.selectOverlap,w=typeof E=="function"?E:null;for(var C in d){var x=d[C];if(bo(h,x.range)&&(v.overlap===!1||w&&!w(new Ae(a,p[x.defId],x),null)))return!1}for(var A=0,O=v.allows;A<O.length;A++)if(!(0,O[A])(ri(b(b({},s),g),a),null))return!1;return!0})(n,t,e,r))}function ws(n,t,e,r,o){for(var a=0,s=n;a<s.length;a++)if(!Cu(wu(s[a],t,e,r,o),t))return!1;return!0}function wu(n,t,e,r,o){return n==="businessHours"?Ni(jn(r,t,o)):typeof n=="string"?Ni(zr(e,(function(a){return a.groupId===n}))):typeof n=="object"&&n?Ni(jn(n,t,o)):[]}function Ni(n){var t=n.instances,e=[];for(var r in t)e.push(t[r].range);return e}function Cu(n,t){for(var e=0,r=n;e<r.length;e++)if(qr(r[e],t))return!0;return!1}var Fo=/^(visible|hidden)$/,Pi=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.handleEl=function(r){e.el=r,Vt(e.props.elRef,r)},e}return W(t,n),t.prototype.render=function(){var e=this.props,r=e.liquid,o=e.liquidIsAbsolute,a=r&&o,s=["fc-scroller"];return r&&(o?s.push("fc-scroller-liquid-absolute"):s.push("fc-scroller-liquid")),_("div",{ref:this.handleEl,className:s.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:a&&-(e.overcomeLeft||0)||"",right:a&&-(e.overcomeRight||0)||"",bottom:a&&-(e.overcomeBottom||0)||"",marginLeft:!a&&-(e.overcomeLeft||0)||"",marginRight:!a&&-(e.overcomeRight||0)||"",marginBottom:!a&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(Fo.test(this.props.overflowX))return!1;for(var e=this.el,r=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),o=e.children,a=0;a<o.length;a+=1)if(o[a].getBoundingClientRect().width>r)return!0;return!1},t.prototype.needsYScrolling=function(){if(Fo.test(this.props.overflowY))return!1;for(var e=this.el,r=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),o=e.children,a=0;a<o.length;a+=1)if(o[a].getBoundingClientRect().height>r)return!0;return!1},t.prototype.getXScrollbarWidth=function(){return Fo.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return Fo.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t})(me),bn=(function(){function n(t){var e=this;this.masterCallback=t,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(r,o){var a=e,s=a.depths,l=a.currentMap,c=!1,p=!1;r!==null?(c=o in l,l[o]=r,s[o]=(s[o]||0)+1,p=!0):(s[o]-=1,s[o]||(delete l[o],delete e.callbackMap[o],c=!0)),e.masterCallback&&(c&&e.masterCallback(null,String(o)),p&&e.masterCallback(r,String(o)))}}return n.prototype.createRef=function(t){var e=this,r=this.callbackMap[t];return r||(r=this.callbackMap[t]=function(o){e.handleValue(o,String(t))}),r},n.prototype.collect=function(t,e,r){return lo(this.currentMap,t,e,r)},n.prototype.getAll=function(){return pr(this.currentMap)},n})();function Cs(n){for(var t=0,e=0,r=Dt(n,".fc-scrollgrid-shrink");e<r.length;e++){var o=r[e];t=Math.max(t,dn(o))}return Math.ceil(t)}function Oi(n,t){return n.liquid&&t.liquid}function xs(n,t){return t.maxHeight!=null||Oi(n,t)}function Ts(n,t,e,r){var o=e.expandRows;return typeof t.content=="function"?t.content(e):_("table",{role:"presentation",className:[t.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:o?e.clientHeight:""}},e.tableColGroupNode,_(r?"thead":"tbody",{role:"presentation"},typeof t.rowContent=="function"?t.rowContent(e):t.rowContent))}function Ss(n,t){return jt(n,t,gt)}function ks(n,t){for(var e=[],r=0,o=n;r<o.length;r++)for(var a=o[r],s=a.span||1,l=0;l<s;l+=1)e.push(_("col",{style:{width:a.width==="shrink"?Rs(t):a.width||"",minWidth:a.minWidth||""}}));return _.apply(void 0,se(["colgroup",{}],e))}function Rs(n){return n??4}function As(n){for(var t=0,e=n;t<e.length;t++)if(e[t].width==="shrink")return!0;return!1}function Ms(n,t){var e=["fc-scrollgrid",t.theme.getClass("table")];return n&&e.push("fc-scrollgrid-liquid"),e}function Is(n,t){var e=["fc-scrollgrid-section","fc-scrollgrid-section-"+n.type,n.className];return t&&n.liquid&&n.maxHeight==null&&e.push("fc-scrollgrid-section-liquid"),n.isSticky&&e.push("fc-scrollgrid-section-sticky"),e}function Wo(n){return _("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function Qr(n){var t=n.stickyHeaderDates;return t!=null&&t!=="auto"||(t=n.height==="auto"||n.viewHeight==="auto"),t}function Hi(n){var t=n.stickyFooterScrollbar;return t!=null&&t!=="auto"||(t=n.height==="auto"||n.viewHeight==="auto"),t}var Uo=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.processCols=K((function(r){return r}),Ss),e.renderMicroColGroup=K(ks),e.scrollerRefs=new bn,e.scrollerElRefs=new bn(e._handleScrollerEl.bind(e)),e.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},e.handleSizing=function(){e.safeSetState(b({shrinkWidth:e.computeShrinkWidth()},e.computeScrollerDims()))},e}return W(t,n),t.prototype.render=function(){var e=this,r=e.props,o=e.state,a=e.context,s=r.sections||[],l=this.processCols(r.cols
9),c=this.renderMicroColGroup(l,o.shrinkWidth),p=Ms(r.liquid,a);r.collapsibleWidth&&p.push("fc-scrollgrid-collapsible");for(var d,g=s.length,h=0,v=[],E=[],w=[];h<g&&(d=s[h]).type==="header";)v.push(this.renderSection(d,c,!0)),h+=1;for(;h<g&&(d=s[h]).type==="body";)E.push(this.renderSection(d,c,!1)),h+=1;for(;h<g&&(d=s[h]).type==="footer";)w.push(this.renderSection(d,c,!0)),h+=1;var C=!li(),x={role:"rowgroup"};return _("table",{role:"grid",className:p.join(" "),style:{height:r.height}},!!(!C&&v.length)&&_.apply(void 0,se(["thead",x],v)),!!(!C&&E.length)&&_.apply(void 0,se(["tbody",x],E)),!!(!C&&w.length)&&_.apply(void 0,se(["tfoot",x],w)),C&&_.apply(void 0,se(se(se(["tbody",x],v),E),w)))},t.prototype.renderSection=function(e,r,o){return"outerContent"in e?_(Ge,{key:e.key},e.outerContent):_("tr",{key:e.key,role:"presentation",className:Is(e,this.props.liquid).join(" ")},this.renderChunkTd(e,r,e.chunk,o))},t.prototype.renderChunkTd=function(e,r,o,a){if("outerContent"in o)return o.outerContent;var s=this.props,l=this.state,c=l.forceYScrollbars,p=l.scrollerClientWidths,d=l.scrollerClientHeights,g=xs(s,e),h=Oi(s,e),v=s.liquid?c?"scroll":g?"auto":"hidden":"visible",E=e.key,w=Ts(e,o,{tableColGroupNode:r,tableMinWidth:"",clientWidth:s.collapsibleWidth||p[E]===void 0?null:p[E],clientHeight:d[E]!==void 0?d[E]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},a);return _(a?"th":"td",{ref:o.elRef,role:"presentation"},_("div",{className:"fc-scroller-harness"+(h?" fc-scroller-harness-liquid":"")},_(Pi,{ref:this.scrollerRefs.createRef(E),elRef:this.scrollerElRefs.createRef(E),overflowY:v,overflowX:s.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:h,liquidIsAbsolute:!0},w)))},t.prototype._handleScrollerEl=function(e,r){var o=(function(a,s){for(var l=0,c=a;l<c.length;l++){var p=c[l];if(p.key===s)return p}return null})(this.props.sections,r);o&&Vt(o.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 As(this.props.cols)?Cs(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=Ba(),r=this.scrollerRefs,o=this.scrollerElRefs,a=!1,s={},l={};for(var c in r.currentMap){var p=r.currentMap[c];if(p&&p.needsYScrolling()){a=!0;break}}for(var d=0,g=this.props.sections;d<g.length;d++){c=g[d].key;var h=o.currentMap[c];if(h){var v=h.parentNode;s[c]=Math.floor(v.getBoundingClientRect().width-(a?e.y:0)),l[c]=Math.floor(v.getBoundingClientRect().height)}}return{forceYScrollbars:a,scrollerClientWidths:s,scrollerClientHeights:l}},t})(me);Uo.addStateEquality({scrollerClientWidths:gt,scrollerClientHeights:gt});var Jr=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.elRef=qe(),e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options,a=e.seg,s=a.eventRange,l=s.ui,c={event:new Ae(r,s.def,s.instance),view:r.viewApi,timeText:e.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!e.disableDragging&&ua(a,r),isStartResizable:!e.disableResizing&&ca(a,r),isEndResizable:!e.disableResizing&&da(a),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!a.isStart,isEnd:!!a.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing},p=pa(c).concat(l.classNames);return _(Tt,{hookProps:c,classNames:o.eventClassNames,content:o.eventContent,defaultContent:e.defaultContent,didMount:o.eventDidMount,willUnmount:o.eventWillUnmount,elRef:this.elRef},(function(d,g,h,v){return e.children(d,p.concat(g),h,v,c)}))},t.prototype.componentDidMount=function(){ei(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var r=this.props.seg;r!==e.seg&&ei(this.elRef.current,r)},t})(me),Bi=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=e.seg,a=r.options.eventTimeFormat||e.defaultTimeFormat,s=yr(o,a,r,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return _(Jr,{seg:o,timeText:s,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||xu,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(l,c,p,d,g){return _("a",b({className:e.extraClassNames.c
9oncat(c).join(" "),style:{borderColor:g.borderColor,backgroundColor:g.backgroundColor},ref:l},wo(o,r)),_("div",{className:"fc-event-main",ref:p,style:{color:g.textColor}},d),g.isStartResizable&&_("div",{className:"fc-event-resizer fc-event-resizer-start"}),g.isEndResizable&&_("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t})(me);function xu(n){return _("div",{className:"fc-event-main-frame"},n.timeText&&_("div",{className:"fc-event-time"},n.timeText),_("div",{className:"fc-event-title-container"},_("div",{className:"fc-event-title fc-sticky"},n.event.title||_(Ge,null,"\xA0"))))}var zo=function(n){return _(En.Consumer,null,(function(t){var e=t.options,r={isAxis:n.isAxis,date:t.dateEnv.toDate(n.date),view:t.viewApi};return _(Tt,{hookProps:r,classNames:e.nowIndicatorClassNames,content:e.nowIndicatorContent,didMount:e.nowIndicatorDidMount,willUnmount:e.nowIndicatorWillUnmount},n.children)}))},Tu=ae({day:"numeric"}),jo=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options,a=Ns({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:r.viewApi,dateEnv:r.dateEnv});return _(mi,{hookProps:a,content:o.dayCellContent,defaultContent:e.defaultContent},e.children)},t})(me);function Ns(n){var t=n.date,e=n.dateEnv,r=To(t,n.todayRange,null,n.dateProfile);return b(b(b({date:e.toDate(t),view:n.viewApi},r),{dayNumberText:n.showDayNumber?e.format(t,Tu):""}),n.extraProps)}var Vo=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.refineHookProps=vn(Ns),e.normalizeClassNames=yi(),e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options,a=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:r.viewApi,dateEnv:r.dateEnv}),s=Zr(a,r.theme).concat(a.isDisabled?[]:this.normalizeClassNames(o.dayCellClassNames,a)),l=a.isDisabled?{}:{"data-date":qn(e.date)};return _(Mo,{hookProps:a,didMount:o.dayCellDidMount,willUnmount:o.dayCellWillUnmount,elRef:e.elRef},(function(c){return e.children(c,s,l,a.isDisabled)}))},t})(me);function Li(n){return _("div",{className:"fc-"+n})}var Fi=function(n){return _(Jr,{defaultContent:Su,seg:n.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:n.isPast,isFuture:n.isFuture,isToday:n.isToday},(function(t,e,r,o,a){return _("div",{ref:t,className:["fc-bg-event"].concat(e).join(" "),style:{backgroundColor:a.backgroundColor}},o)}))};function Su(n){return n.event.title&&_("div",{className:"fc-event-title"},n.event.title)}var Wi=function(n){return _(En.Consumer,null,(function(t){var e=t.dateEnv,r=t.options,o=n.date,a=r.weekNumberFormat||n.defaultFormat,s=e.computeWeekNumber(o),l=e.format(o,a);return _(Tt,{hookProps:{num:s,text:l,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:ku,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},n.children)}))};function ku(n){return n.text}var Ru=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.state={titleId:wt()},e.handleRootEl=function(r){e.rootEl=r,e.props.elRef&&Vt(e.props.elRef,r)},e.handleDocumentMouseDown=function(r){var o=Ln(r);e.rootEl.contains(o)||e.handleCloseClick()},e.handleDocumentKeyDown=function(r){r.key==="Escape"&&e.handleCloseClick()},e.handleCloseClick=function(){var r=e.props.onClose;r&&r()},e}return W(t,n),t.prototype.render=function(){var e=this.context,r=e.theme,o=e.options,a=this.props,s=this.state,l=["fc-popover",r.getClass("popover")].concat(a.extraClassNames||[]);return qa(_("div",b({id:a.id,className:l.join(" "),"aria-labelledby":s.titleId},a.extraAttrs,{ref:this.handleRootEl}),_("div",{className:"fc-popover-header "+r.getClass("popoverHeader")},_("span",{className:"fc-popover-title",id:s.titleId},a.title),_("span",{className:"fc-popover-close "+r.getIconClass("close"),title:o.closeHint,onClick:this.handleCloseClick})),_("div",{className:"fc-popover-body "+r.getClass("popoverContent")},a.children)),a.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)}
9,t.prototype.updateSize=function(){var e=this.context.isRtl,r=this.props,o=r.alignmentEl,a=r.alignGridTop,s=this.rootEl,l=(function(h){for(var v=pi(h),E=h.getBoundingClientRect(),w=0,C=v;w<C.length;w++){var x=si(E,C[w].getBoundingClientRect());if(!x)return null;E=x}return E})(o);if(l){var c=s.getBoundingClientRect(),p=a?Te(o,".fc-scrollgrid").getBoundingClientRect().top:l.top,d=e?l.right-c.width:l.left;p=Math.max(p,10),d=Math.min(d,document.documentElement.clientWidth-10-c.width),d=Math.max(d,10);var g=s.offsetParent.getBoundingClientRect();Be(s,{top:p-g.top,left:d-g.left})}},t})(me),Au=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.handleRootEl=function(r){e.rootEl=r,r?e.context.registerInteractiveComponent(e,{el:r,useEventCenter:!1}):e.context.unregisterInteractiveComponent(e)},e}return W(t,n),t.prototype.render=function(){var e=this.context,r=e.options,o=e.dateEnv,a=this.props,s=a.startDate,l=a.todayRange,c=a.dateProfile,p=o.format(s,r.dayPopoverFormat);return _(Vo,{date:s,dateProfile:c,todayRange:l,elRef:this.handleRootEl},(function(d,g,h){return _(Ru,{elRef:d,id:a.id,title:p,extraClassNames:["fc-more-popover"].concat(g),extraAttrs:h,parentEl:a.parentEl,alignmentEl:a.alignmentEl,alignGridTop:a.alignGridTop,onClose:a.onClose},_(jo,{date:s,dateProfile:c,todayRange:l},(function(v,E){return E&&_("div",{className:"fc-more-popover-misc",ref:v},E)})),a.children)}))},t.prototype.queryHit=function(e,r,o,a){var s=this.rootEl,l=this.props;return e>=0&&e<o&&r>=0&&r<a?{dateProfile:l.dateProfile,dateSpan:b({allDay:!0,range:{start:l.startDate,end:l.endDate}},l.extraDateSpan),dayEl:s,rect:{left:0,top:0,right:o,bottom:a},layer:1}:null},t})(Kt),Ui=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.linkElRef=qe(),e.state={isPopoverOpen:!1,popoverId:wt()},e.handleClick=function(r){var o=e,a=o.props,s=o.context,l=s.options.moreLinkClick,c=Ps(a).start;function p(d){var g=d.eventRange,h=g.def,v=g.instance,E=g.range;return{event:new Ae(s,h,v),start:s.dateEnv.toDate(E.start),end:s.dateEnv.toDate(E.end),isStart:d.isStart,isEnd:d.isEnd}}typeof l=="function"&&(l=l({date:c,allDay:!!a.allDayDate,allSegs:a.allSegs.map(p),hiddenSegs:a.hiddenSegs.map(p),jsEvent:r,view:s.viewApi})),l&&l!=="popover"?typeof l=="string"&&s.calendarApi.zoomTo(c,l):e.setState({isPopoverOpen:!0})},e.handlePopoverClose=function(){e.setState({isPopoverOpen:!1})},e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=this.state;return _(En.Consumer,null,(function(a){var s=a.viewApi,l=a.options,c=a.calendarApi,p=l.moreLinkText,d=r.moreCnt,g=Ps(r),h=typeof p=="function"?p.call(c,d):"+"+d+" "+p,v=zn(l.moreLinkHint,[d],h),E={num:d,shortText:"+"+d,text:h,view:s};return _(Ge,null,!!r.moreCnt&&_(Tt,{elRef:e.linkElRef,hookProps:E,classNames:l.moreLinkClassNames,content:l.moreLinkContent,defaultContent:r.defaultContent||Mu,didMount:l.moreLinkDidMount,willUnmount:l.moreLinkWillUnmount},(function(w,C,x,A){return r.children(w,["fc-more-link"].concat(C),x,A,e.handleClick,v,o.isPopoverOpen,o.isPopoverOpen?o.popoverId:"")})),o.isPopoverOpen&&_(Au,{id:o.popoverId,startDate:g.start,endDate:g.end,dateProfile:r.dateProfile,todayRange:r.todayRange,extraDateSpan:r.extraDateSpan,parentEl:e.parentEl,alignmentEl:r.alignmentElRef.current,alignGridTop:r.alignGridTop,onClose:e.handlePopoverClose},r.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=Te(this.linkElRef.current,".fc-view-harness"))},t})(me);function Mu(n){return n.text}function Ps(n){if(n.allDayDate)return{start:n.allDayDate,end:Pe(n.allDayDate,1)};var t,e=n.hiddenSegs;return{start:zi(e),end:(t=e,t.reduce(Nu).eventRange.range.end)}}function zi(n){return n.reduce(Iu).eventRange.range.start}function Iu(n,t){return n.eventRange.range.start<t.eventRange.range.start?n:t}function Nu(n,t){return n.eventRange.range.end>t.eventRange.range.end?n:t}var Pu=(function(n){function t(e,r){r===void 0&&(r={});var o=n.call(this)||this;return o.isRendering=!1,o.isRendered=!1,o.currentClassNames=[],o.customContentRenderId=0,o.handleAction=function(a){switch(a.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":o.renderRunner.tryDrain()}},o.handleData=function(a){o.currentData=a,o.renderRunner.request(a.calendarOptions.rerenderDelay)},o.handleRenderRequest=function(){if(o.isRendering){o.isRendered=!0;var a=o.currentData;hi((function(){Va(_(fs,{options:a.calendarOptions,theme:a.theme,emitter:a.emitter},(function(s,l,c,p){return o.setClassNames(s),o.setHeight(l),_(vi.Provider,{value:o.customContentRenderId},_(ps,b({isHeightAuto:c,forPrint:p},a)))})),o.el)}))}else o.isRendered&&(o.isRendered=!1,Ga(o.el),o.setClassNames([]),o.setHeight(""))},o.el=e,o.renderRunner=new Io(o.handleRenderRequest),new wi({optionOverrides:r,calendarApi:o,onAction:o.handleAction,onData:o.handleData}),o}return W(t,n),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi}
9,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 e=this;hi((function(){n.prototype.updateSize.call(e)}))},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,r){this.currentDataManager.resetOptions(e,r)},t.prototype.setClassNames=function(e){if(!jt(e,this.currentClassNames)){for(var r=this.el.classList,o=0,a=this.currentClassNames;o<a.length;o++){var s=a[o];r.remove(s)}for(var l=0,c=e;l<c.length;l++)s=c[l],r.add(s);this.currentClassNames=e}},t.prototype.setHeight=function(e){Qe(this.el,"height",e)},t})(Ea);Kr.touchMouseIgnoreWait=500;var ji=0,Os=0,Vi=!1,qo=(function(){function n(t){var e=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(r){if(!e.shouldIgnoreMouse()&&(function(a){return a.button===0&&!a.ctrlKey})(r)&&e.tryStart(r)){var o=e.createEventFromMouse(r,!0);e.emitter.trigger("pointerdown",o),e.initScrollWatch(o),e.shouldIgnoreMove||document.addEventListener("mousemove",e.handleMouseMove),document.addEventListener("mouseup",e.handleMouseUp)}},this.handleMouseMove=function(r){var o=e.createEventFromMouse(r);e.recordCoords(o),e.emitter.trigger("pointermove",o)},this.handleMouseUp=function(r){document.removeEventListener("mousemove",e.handleMouseMove),document.removeEventListener("mouseup",e.handleMouseUp),e.emitter.trigger("pointerup",e.createEventFromMouse(r)),e.cleanup()},this.handleTouchStart=function(r){if(e.tryStart(r)){e.isTouchDragging=!0;var o=e.createEventFromTouch(r,!0);e.emitter.trigger("pointerdown",o),e.initScrollWatch(o);var a=r.target;e.shouldIgnoreMove||a.addEventListener("touchmove",e.handleTouchMove),a.addEventListener("touchend",e.handleTouchEnd),a.addEventListener("touchcancel",e.handleTouchEnd),window.addEventListener("scroll",e.handleTouchScroll,!0)}},this.handleTouchMove=function(r){var o=e.createEventFromTouch(r);e.recordCoords(o),e.emitter.trigger("pointermove",o)},this.handleTouchEnd=function(r){if(e.isDragging){var o=r.target;o.removeEventListener("touchmove",e.handleTouchMove),o.removeEventListener("touchend",e.handleTouchEnd),o.removeEventListener("touchcancel",e.handleTouchEnd),window.removeEventListener("scroll",e.handleTouchScroll,!0),e.emitter.trigger("pointerup",e.createEventFromTouch(r)),e.cleanup(),e.isTouchDragging=!1,ji+=1,setTimeout((function(){ji-=1}),Kr.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){e.wasTouchScroll=!0},this.handleScroll=function(r){if(!e.shouldIgnoreMove){var o=window.pageXOffset-e.prevScrollX+e.prevPageX,a=window.pageYOffset-e.prevScrollY+e.prevPageY;e.emitter.trigger("pointermove",{origEvent:r,isTouch:e.isTouchDragging,subjectEl:e.subjectEl,pageX:o,pageY:a,deltaX:o-e.origPageX,deltaY:a-e.origPageY})}},this.containerEl=t,this.emitter=new $r,t.addEventListener("mousedown",this.handleMouseDown),t.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),(Os+=1)===1&&window.addEventListener("touchmove",Hs,{passive:!1})}return n.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(Os-=1)||window.removeEventListener("touchmove",Hs,{passive:!1})},n.prototype.tryStart=function(t){var e=this.querySubjectEl(t),r=t.target;return!(!e||this.handleSelector&&!Te(r,this.handleSelector))&&(this.subjectEl=e,this.isDragging=!0,this.wasTouchScroll=!1,!0)},n.prototype.cleanup=function(){Vi=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}
9,n.prototype.querySubjectEl=function(t){return this.selector?Te(t.target,this.selector):this.containerEl},n.prototype.shouldIgnoreMouse=function(){return ji||this.isTouchDragging},n.prototype.cancelTouchScroll=function(){this.isDragging&&(Vi=!0)},n.prototype.initScrollWatch=function(t){this.shouldWatchScroll&&(this.recordCoords(t),window.addEventListener("scroll",this.handleScroll,!0))},n.prototype.recordCoords=function(t){this.shouldWatchScroll&&(this.prevPageX=t.pageX,this.prevPageY=t.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},n.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},n.prototype.createEventFromMouse=function(t,e){var r=0,o=0;return e?(this.origPageX=t.pageX,this.origPageY=t.pageY):(r=t.pageX-this.origPageX,o=t.pageY-this.origPageY),{origEvent:t,isTouch:!1,subjectEl:this.subjectEl,pageX:t.pageX,pageY:t.pageY,deltaX:r,deltaY:o}},n.prototype.createEventFromTouch=function(t,e){var r,o,a=t.touches,s=0,l=0;return a&&a.length?(r=a[0].pageX,o=a[0].pageY):(r=t.pageX,o=t.pageY),e?(this.origPageX=r,this.origPageY=o):(s=r-this.origPageX,l=o-this.origPageY),{origEvent:t,isTouch:!0,subjectEl:this.subjectEl,pageX:r,pageY:o,deltaX:s,deltaY:l}},n})();function Hs(n){Vi&&n.preventDefault()}var Ou=(function(){function n(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return n.prototype.start=function(t,e,r){this.sourceEl=t,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=e-window.pageXOffset,this.origScreenY=r-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},n.prototype.handleMove=function(t,e){this.deltaX=t-window.pageXOffset-this.origScreenX,this.deltaY=e-window.pageYOffset-this.origScreenY,this.updateElPosition()},n.prototype.setIsVisible=function(t){t?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=t,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=t)},n.prototype.stop=function(t,e){var r=this,o=function(){r.cleanup(),e()};t&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(o,this.revertDuration):setTimeout(o,0)},n.prototype.doRevertAnimation=function(t,e){var r=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();r.style.transition="top "+e+"ms,left "+e+"ms",Be(r,{left:o.left,top:o.top}),Ct(r,(function(){r.style.transition="",t()}))},n.prototype.cleanup=function(){this.mirrorEl&&(_t(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},n.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&Be(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},n.prototype.getMirrorEl=function(){var t=this.sourceElRect,e=this.mirrorEl;return e||((e=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),e.classList.add("fc-event-dragging"),Be(e,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:t.right-t.left,height:t.bottom-t.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(e)),e},n})(),Bs=(function(n){function t(e,r){var o=n.call(this)||this;return o.handleScroll=function(){o.scrollTop=o.scrollController.getScrollTop(),o.scrollLeft=o.scrollController.getScrollLeft(),o.handleScrollChange()},o.scrollController=e,o.doesListening=r,o.scrollTop=o.origScrollTop=e.getScrollTop(),o.scrollLeft=o.origScrollLeft=e.getScrollLeft(),o.scrollWidth=e.getScrollWidth(),o.scrollHeight=e.getScrollHeight(),o.clientWidth=e.getClientWidth(),o.clientHeight=e.getClientHeight(),o.clientRect=o.computeClientRect(),o.doesListening&&o.getEventTarget().addEventListener("scroll",o.handleScroll),o}return W(t,n),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})(ko),Ls=(function(n){function t(e,r){return n.call(this,new za(e),r)||this}return W(t,n),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return Wa(this.scrollController.el)},t})(Bs),Hu=(function(n){function t(e){return n.call(this,new ja,e)||this}return W(t,n),t.prototype.getEventTarget=function(){return window}
9,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})(Bs),Fs=typeof performance=="function"?performance.now:Date.now,Bu=(function(){function n(){var t=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(t.isAnimating){var e=t.computeBestEdge(t.pointerScreenX+window.pageXOffset,t.pointerScreenY+window.pageYOffset);if(e){var r=Fs();t.handleSide(e,(r-t.msSinceRequest)/1e3),t.requestAnimation(r)}else t.isAnimating=!1}}}return n.prototype.start=function(t,e,r){this.isEnabled&&(this.scrollCaches=this.buildCaches(r),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(t,e))},n.prototype.handleMove=function(t,e){if(this.isEnabled){var r=t-window.pageXOffset,o=e-window.pageYOffset,a=this.pointerScreenY===null?0:o-this.pointerScreenY,s=this.pointerScreenX===null?0:r-this.pointerScreenX;a<0?this.everMovedUp=!0:a>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=r,this.pointerScreenY=o,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Fs()))}},n.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var t=0,e=this.scrollCaches;t<e.length;t++)e[t].destroy();this.scrollCaches=null}},n.prototype.requestAnimation=function(t){this.msSinceRequest=t,requestAnimationFrame(this.animate)},n.prototype.handleSide=function(t,e){var r=t.scrollCache,o=this.edgeThreshold,a=o-t.distance,s=a*a/(o*o)*this.maxVelocity*e,l=1;switch(t.name){case"left":l=-1;case"right":r.setScrollLeft(r.getScrollLeft()+s*l);break;case"top":l=-1;case"bottom":r.setScrollTop(r.getScrollTop()+s*l)}},n.prototype.computeBestEdge=function(t,e){for(var r=this.edgeThreshold,o=null,a=0,s=this.scrollCaches||[];a<s.length;a++){var l=s[a],c=l.clientRect,p=t-c.left,d=c.right-t,g=e-c.top,h=c.bottom-e;p>=0&&d>=0&&g>=0&&h>=0&&(g<=r&&this.everMovedUp&&l.canScrollUp()&&(!o||o.distance>g)&&(o={scrollCache:l,name:"top",distance:g}),h<=r&&this.everMovedDown&&l.canScrollDown()&&(!o||o.distance>h)&&(o={scrollCache:l,name:"bottom",distance:h}),p<=r&&this.everMovedLeft&&l.canScrollLeft()&&(!o||o.distance>p)&&(o={scrollCache:l,name:"left",distance:p}),d<=r&&this.everMovedRight&&l.canScrollRight()&&(!o||o.distance>d)&&(o={scrollCache:l,name:"right",distance:d}))}return o},n.prototype.buildCaches=function(t){return this.queryScrollEls(t).map((function(e){return e===window?new Hu(!1):new Ls(e,!1)}))},n.prototype.queryScrollEls=function(t){for(var e=[],r=0,o=this.scrollQuery;r<o.length;r++){var a=o[r];typeof a=="object"?e.push(a):e.push.apply(e,Array.prototype.slice.call(Fn(t).querySelectorAll(a)))}return e},n})(),cr=(function(n){function t(e,r){var o=n.call(this,e)||this;o.containerEl=e,o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(s){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,Tr(document.body),oo(document.body),s.isTouch||s.origEvent.preventDefault(),o.emitter.trigger("pointerdown",s),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(s.subjectEl,s.pageX,s.pageY),o.startDelay(s),o.minDistance||o.handleDistanceSurpassed(s)))},o.onPointerMove=function(s){if(o.isInteracting){if(o.emitter.trigger("pointermove",s),!o.isDistanceSurpassed){var l=o.minDistance,c=s.deltaX,p=s.deltaY;c*c+p*p>=l*l&&o.handleDistanceSurpassed(s)}o.isDragging&&(s.origEvent.type!=="scroll"&&(o.mirror.handleMove(s.pageX,s.pageY),o.autoScroller.handleMove(s.pageX,s.pageY)),o.emitter.trigger("dragmove",s))}},o.onPointerUp=function(s){o.isInteracting&&(o.isInteracting=!1,Sr(document.body),kr(document.body),o.emitter.trigger("pointerup",s),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(s)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var a=o.pointer=new qo(e);return a.emitter.on("pointerdown",o.onPointerDown),a.emitter.on("pointermove",o.onPointerMove),a.emitter.on("pointerup",o.onPointerUp),r&&(a.selector=r),o.mirror=new Ou,o.autoScroller=new Bu,o}return W(t,n),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var r=this;typeof this.delay=="number"?this.delayTimeoutId=setTimeout((function(){r.delayTimeoutId=null,r.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),this.touchScrollAllowed===!1&&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})(Si),Lu=(function(){function n(t){this.origRect=So(t),this.scrollCaches=pi(t).map((function(e){return new Ls(e,!0)}))}return n.prototype.destroy=function(){for(var t=0,e=this.scrollCaches;t<e.length;t++)e[t].destroy()},n.prototype.computeLeft=function(){for(var t=this.origRect.left,e=0,r=this.scrollCaches;
9e<r.length;e++){var o=r[e];t+=o.origScrollLeft-o.getScrollLeft()}return t},n.prototype.computeTop=function(){for(var t=this.origRect.top,e=0,r=this.scrollCaches;e<r.length;e++){var o=r[e];t+=o.origScrollTop-o.getScrollTop()}return t},n.prototype.isWithinClipping=function(t,e){for(var r,o,a={left:t,top:e},s=0,l=this.scrollCaches;s<l.length;s++){var c=l[s];if(r=c.getEventTarget(),o=void 0,(o=r.tagName)!=="HTML"&&o!=="BODY"&&!Ma(a,c.clientRect))return!1}return!0},n})(),eo=(function(){function n(t,e){var r=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(o){var a=r.dragging;r.initialHit=null,r.movingHit=null,r.finalHit=null,r.prepareHits(),r.processFirstCoord(o),r.initialHit||!r.requireInitial?(a.setIgnoreMove(!1),r.emitter.trigger("pointerdown",o)):a.setIgnoreMove(!0)},this.handleDragStart=function(o){r.emitter.trigger("dragstart",o),r.handleMove(o,!0)},this.handleDragMove=function(o){r.emitter.trigger("dragmove",o),r.handleMove(o)},this.handlePointerUp=function(o){r.releaseHits(),r.emitter.trigger("pointerup",o)},this.handleDragEnd=function(o){r.movingHit&&r.emitter.trigger("hitupdate",null,!0,o),r.finalHit=r.movingHit,r.movingHit=null,r.emitter.trigger("dragend",o)},this.droppableStore=e,t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragstart",this.handleDragStart),t.emitter.on("dragmove",this.handleDragMove),t.emitter.on("pointerup",this.handlePointerUp),t.emitter.on("dragend",this.handleDragEnd),this.dragging=t,this.emitter=new $r}return n.prototype.processFirstCoord=function(t){var e,r={left:t.pageX,top:t.pageY},o=r,a=t.subjectEl;a instanceof HTMLElement&&(o=Ia(o,e=So(a)));var s=this.initialHit=this.queryHitForOffset(o.left,o.top);if(s){if(this.useSubjectCenter&&e){var l=si(e,s.rect);l&&(o=Na(l))}this.coordAdjust=Pa(o,r)}else this.coordAdjust={left:0,top:0}},n.prototype.handleMove=function(t,e){var r=this.queryHitForOffset(t.pageX+this.coordAdjust.left,t.pageY+this.coordAdjust.top);!e&&Go(this.movingHit,r)||(this.movingHit=r,this.emitter.trigger("hitupdate",r,!1,t))},n.prototype.prepareHits=function(){this.offsetTrackers=Rt(this.droppableStore,(function(t){return t.component.prepareHits(),new Lu(t.el)}))},n.prototype.releaseHits=function(){var t=this.offsetTrackers;for(var e in t)t[e].destroy();this.offsetTrackers={}},n.prototype.queryHitForOffset=function(t,e){var r=this.droppableStore,o=this.offsetTrackers,a=null;for(var s in r){var l=r[s].component,c=o[s];if(c&&c.isWithinClipping(t,e)){var p=c.computeLeft(),d=c.computeTop(),g=t-p,h=e-d,v=c.origRect,E=v.right-v.left,w=v.bottom-v.top;if(g>=0&&g<E&&h>=0&&h<w){var C=l.queryHit(g,h,E,w);C&&qr(C.dateProfile.activeRange,C.dateSpan.range)&&(!a||C.layer>a.layer)&&(C.componentId=s,C.context=l.context,C.rect.left+=p,C.rect.right+=p,C.rect.top+=d,C.rect.bottom+=d,a=C)}}}return a},n})();function Go(n,t){return!n&&!t||!!n==!!t&&fa(n.dateSpan,t.dateSpan)}function qi(n,t){for(var e,r,o={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];b(o,l(n,t))}return b(o,(e=n,{date:(r=t.dateEnv).toDate(e.range.start),dateStr:r.formatIso(e.range.start,{omitTime:e.allDay}),allDay:e.allDay})),o}var Fu=(function(n){function t(e){var r=n.call(this,e)||this;r.handlePointerDown=function(a){var s=r.dragging,l=a.origEvent.target;s.setIgnoreMove(!r.component.isValidDateDownEl(l))},r.handleDragEnd=function(a){var s=r.component;if(!r.dragging.pointer.wasTouchScroll){var l=r.hitDragging,c=l.initialHit,p=l.finalHit;if(c&&p&&Go(c,p)){var d=s.context,g=b(b({},qi(c.dateSpan,d)),{dayEl:c.dayEl,jsEvent:a.origEvent,view:d.viewApi||d.calendarApi.view});d.emitter.trigger("dateClick",g)}}},r.dragging=new cr(e.el),r.dragging.autoScroller.isEnabled=!1;var o=r.hitDragging=new eo(r.dragging,Ho(e));return o.emitter.on("pointerdown",r.handlePointerDown),o.emitter.on("dragend",r.handleDragEnd),r}return W(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t})(ur),Wu=(function(n){function t(e){var r=n.call(this,e)||this;r.dragSelection=null,r.handlePointerDown=function(l){var c=r,p=c.component,d=c.dragging,g=p.context.options.selectable&&p.isValidDateDownEl(l.origEvent.target);d.setIgnoreMove(!g),d.delay=l.isTouch?(function(h){var v=h.context.options,E=v.selectLongPressDelay;return E==null&&(E=v.longPressDelay),E})(p):null},r.handleDragStart=function(l){r.component.context.calendarApi.unselect(l)},r.handleHitUpdate=function(l,c){var p=r.component.context,d=null,g=!1;if(l){var h=r.hitDragging.initialHit;l.componentId===h.componentId&&r.isHitComboAllowed&&!r.isHitComboAllowed(h,l)||(d=(function(v,E,w){var C=v.dateSpan,x=E.dateSpan,A=[C.range.start,C.range.end,x.range.start,x.range.end];A.sort(Nr);for(var O={},H=0,L=w;H<L.length;H++){var V=(0,L[H])(v,E);if(V===!1)return null;V&&b(O,V)}return O.range={start:A[0],end:A[3]},O.allDay=C.allDay,O})(h,l,p.pluginHooks.dateSelectionTransformers)),d&&bs(d,l.dateProfile,p)||(g=!0,d=null)}d?p.dispatch({type:"SELECT_DATES",selection:d}):c||p.dispatch({type:"UNSELECT_DATES"}),g?Wn():Un(),c||(r.dragSelection=d)},r.handlePointerUp=function(l){r.dragSelection&&(ni(r.dragSelection,l,r.component.context),r.dragSelection=null)};var o=e.component.context.options,a=r.dragging=new cr(e.el);a.touchScrollAllowed=!1,a.minDistance=o.selectMinDistance||0,a.autoScroller.isEnabled=o.dragScroll;var s=r.hitDragging=new eo(r.dragging,Ho(e));return s.emitter.on("pointerdown",r.handlePointerDown),s.emitter.on("dragstart",r.handleDragStart),s.emitter.on("hitupdate",r.handleHitUpdate),s.emitter.on("pointerup",r.handlePointerUp),r}return W(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t})(ur),Ws=(function(n){function t(e){var r=n.call(this,e)||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(l){var c=l.origEvent.target,p=r,d=p.component,g=p.dragging,h=g.mirror,v=d.context.options,E=d.context;r.subjectEl=l.subjectEl;var w=r.subjectSeg=ar(l.subjectEl),C=(r.eventRange=w.eventRange).instance.instanceId;r.relevantEvents=fo(E.getCurrentData().eventStore,C),g.minDistance=l.isTouch?0:v.eventDragMinDistance,g.delay=l.isTouch&&C!==d.props.eventSelection?(function(A){var O=A.context.options,H=O.eventLongPressDelay;return H==null&&(H=O.longPressDelay),H})(d):null,v.fixedMirrorParent?h.parentNode=v.fixedMirrorParent:h.parentNode=Te(c,".fc"),h.revertDuration=v.dragRevertDuration;var x=d.isValidSegDownEl(c)&&!Te(c,".fc-event-resizer");g.setIgnoreMove(!x),r.isDragging=x&&l.subjectEl.classList.contains("fc-event-draggable")},r.handleDragStart=function(l){var c=r.component.context,p=r.eventRange,d=p.instance.instanceId;l.isTouch?d!==r.component.props.eventSelection&&c.dispatch({type:"SELECT_EVENT",eventInstanceId:d}):c.dispatch({type:"UNSELECT_EVENT"}),r.isDragging&&(c.calendarApi.unselect(l),c.emitter.trigger("eventDragStart",{el:r.subjectEl,event:new Ae(c,p.def,p.instance),jsEvent:l.origEvent,view:c.viewApi}))}
9,r.handleHitUpdate=function(l,c){if(r.isDragging){var p=r.relevantEvents,d=r.hitDragging.initialHit,g=r.component.context,h=null,v=null,E=null,w=!1,C={affectedEvents:p,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(l){var x=(h=l.context).options;g===h||x.editable&&x.droppable?(v=(function(A,O,H){var L=A.dateSpan,V=O.dateSpan,X=L.range.start,Z=V.range.start,Y={};L.allDay!==V.allDay&&(Y.allDay=V.allDay,Y.hasEnd=O.context.options.allDayMaintainDuration,V.allDay&&(X=De(X)));var Ee=ir(X,Z,A.context.dateEnv,A.componentId===O.componentId?A.largeUnit:null);Ee.milliseconds&&(Y.allDay=!1);for(var ge={datesDelta:Ee,standardProps:Y},le=0,fe=H;le<fe.length;le++)(0,fe[le])(ge,A,O);return ge})(d,l,h.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(E=xo(p,h.getCurrentData().eventUiBases,v,h),C.mutatedEvents=E,Lo(C,l.dateProfile,h)||(w=!0,v=null,E=null,C.mutatedEvents={defs:{},instances:{}})):h=null}r.displayDrag(h,C),w?Wn():Un(),c||(g===h&&Go(d,l)&&(v=null),r.dragging.setMirrorNeedsRevert(!v),r.dragging.setMirrorIsVisible(!l||!Fn(r.subjectEl).querySelector(".fc-event-mirror")),r.receivingContext=h,r.validMutation=v,r.mutatedRelevantEvents=E)}},r.handlePointerUp=function(){r.isDragging||r.cleanup()},r.handleDragEnd=function(l){if(r.isDragging){var c=r.component.context,p=c.viewApi,d=r,g=d.receivingContext,h=d.validMutation,v=r.eventRange.def,E=r.eventRange.instance,w=new Ae(c,v,E),C=r.relevantEvents,x=r.mutatedRelevantEvents,A=r.hitDragging.finalHit;if(r.clearDrag(),c.emitter.trigger("eventDragStop",{el:r.subjectEl,event:w,jsEvent:l.origEvent,view:p}),h){if(g===c){var O=new Ae(c,x.defs[v.defId],E?x.instances[E.instanceId]:null);c.dispatch({type:"MERGE_EVENTS",eventStore:x});for(var H={oldEvent:w,event:O,relatedEvents:Zn(x,c,E),revert:function(){c.dispatch({type:"MERGE_EVENTS",eventStore:C})}},L={},V=0,X=c.getCurrentData().pluginHooks.eventDropTransformers;V<X.length;V++){var Z=X[V];b(L,Z(h,c))}c.emitter.trigger("eventDrop",b(b(b({},H),L),{el:l.subjectEl,delta:h.datesDelta,jsEvent:l.origEvent,view:p})),c.emitter.trigger("eventChange",H)}else if(g){var Y={event:w,relatedEvents:Zn(C,c,E),revert:function(){c.dispatch({type:"MERGE_EVENTS",eventStore:C})}};c.emitter.trigger("eventLeave",b(b({},Y),{draggedEl:l.subjectEl,view:p})),c.dispatch({type:"REMOVE_EVENTS",eventStore:C}),c.emitter.trigger("eventRemove",Y);var Ee=x.defs[v.defId],ge=x.instances[E.instanceId],le=new Ae(g,Ee,ge);g.dispatch({type:"MERGE_EVENTS",eventStore:x});var fe={event:le,relatedEvents:Zn(x,g,ge),revert:function(){g.dispatch({type:"REMOVE_EVENTS",eventStore:x})}};g.emitter.trigger("eventAdd",fe),l.isTouch&&g.dispatch({type:"SELECT_EVENT",eventInstanceId:E.instanceId}),g.emitter.trigger("drop",b(b({},qi(A.dateSpan,g)),{draggedEl:l.subjectEl,jsEvent:l.origEvent,view:A.context.viewApi})),g.emitter.trigger("eventReceive",b(b({},fe),{draggedEl:l.subjectEl,view:A.context.viewApi}))}}else c.emitter.trigger("_noEventDrop")}r.cleanup()};var o=r.component.context.options,a=r.dragging=new cr(e.el);a.pointer.selector=t.SELECTOR,a.touchScrollAllowed=!1,a.autoScroller.isEnabled=o.dragScroll;var s=r.hitDragging=new eo(r.dragging,Xr);return s.useSubjectCenter=e.useEventCenter,s.emitter.on("pointerdown",r.handlePointerDown),s.emitter.on("dragstart",r.handleDragStart),s.emitter.on("hitupdate",r.handleHitUpdate),s.emitter.on("pointerup",r.handlePointerUp),s.emitter.on("dragend",r.handleDragEnd),r}return W(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,r){var o=this.component.context,a=this.receivingContext;a&&a!==e&&(a===o?a.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:r.affectedEvents,mutatedEvents:{defs:{},instances:{}},isEvent:!0}}):a.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:r})},t.prototype.clearDrag=function(){var e=this.component.context,r=this.receivingContext;r&&r.dispatch({type:"UNSET_EVENT_DRAG"}),e!==r&&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})(ur),Uu=(function(n){function t(e){var r=n.call(this,e)||this;r.draggingSegEl=null,r.draggingSeg=null,r.eventRange=null,r.relevantEvents=null,r.validMutation=null,r.mutatedRelevantEvents=null,r.handlePointerDown=function(l){var c=r.component,p=ar(r.querySegEl(l)),d=r.eventRange=p.eventRange;r.dragging.minDistance=c.context.options.eventDragMinDistance,r.dragging.setIgnoreMove(!r.component.isValidSegDownEl(l.origEvent.target)||l.isTouch&&r.component.props.eventSelection!==d.instance.instanceId)},r.handleDragStart=function(l){var c=r.component.context,p=r.eventRange;r.relevantEvents=fo(c.getCurrentData().eventStore,r.eventRange.instance.instanceId);var d=r.querySegEl(l);r.draggingSegEl=d,r.draggingSeg=ar(d),c.calendarApi.unselect(),c.emitter.trigger("eventResizeStart",{el:d,event:new Ae(c,p.def,p.instance),jsEvent:l.origEvent,view:c.viewApi})},r.handleHitUpdate=function(l,c,p){var d=r.component.context,g=r.relevantEvents,h=r.hitDragging.initialHit,v=r.eventRange.instance,E=null,w=null,C=!1,x={affectedEvents:g,mutatedEvents:{defs:{},instances:{}},isEvent:!0};l&&(l.componentId===h.componentId&&r.isHitComboAllowed&&!r.isHitComboAllowed(h,l)||(E=(function(A,O,H,L){var V=A.context.dateEnv,X=A.dateSpan.range.start,Z=O.dateSpan.range.start,Y=ir(X,Z,V,A.largeUnit);
9if(H){if(V.add(L.start,Y)<L.end)return{startDelta:Y}}else if(V.add(L.end,Y)>L.start)return{endDelta:Y};return null})(h,l,p.subjectEl.classList.contains("fc-event-resizer-start"),v.range))),E&&(w=xo(g,d.getCurrentData().eventUiBases,E,d),x.mutatedEvents=w,Lo(x,l.dateProfile,d)||(C=!0,E=null,w=null,x.mutatedEvents=null)),w?d.dispatch({type:"SET_EVENT_RESIZE",state:x}):d.dispatch({type:"UNSET_EVENT_RESIZE"}),C?Wn():Un(),c||(E&&Go(h,l)&&(E=null),r.validMutation=E,r.mutatedRelevantEvents=w)},r.handleDragEnd=function(l){var c=r.component.context,p=r.eventRange.def,d=r.eventRange.instance,g=new Ae(c,p,d),h=r.relevantEvents,v=r.mutatedRelevantEvents;if(c.emitter.trigger("eventResizeStop",{el:r.draggingSegEl,event:g,jsEvent:l.origEvent,view:c.viewApi}),r.validMutation){var E=new Ae(c,v.defs[p.defId],d?v.instances[d.instanceId]:null);c.dispatch({type:"MERGE_EVENTS",eventStore:v});var w={oldEvent:g,event:E,relatedEvents:Zn(v,c,d),revert:function(){c.dispatch({type:"MERGE_EVENTS",eventStore:h})}};c.emitter.trigger("eventResize",b(b({},w),{el:r.draggingSegEl,startDelta:r.validMutation.startDelta||ue(0),endDelta:r.validMutation.endDelta||ue(0),jsEvent:l.origEvent,view:c.viewApi})),c.emitter.trigger("eventChange",w)}else c.emitter.trigger("_noEventResize");r.draggingSeg=null,r.relevantEvents=null,r.validMutation=null};var o=e.component,a=r.dragging=new cr(e.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=o.context.options.dragScroll;var s=r.hitDragging=new eo(r.dragging,Ho(e));return s.emitter.on("pointerdown",r.handlePointerDown),s.emitter.on("dragstart",r.handleDragStart),s.emitter.on("hitupdate",r.handleHitUpdate),s.emitter.on("dragend",r.handleDragEnd),r}return W(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return Te(e.subjectEl,".fc-event")},t})(ur),zu=(function(){function n(t){var e=this;this.context=t,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(o){o.jsEvent&&(e.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(o){var a=e.context.options.unselectCancel,s=Ln(o.origEvent);e.matchesCancel=!!Te(s,a),e.matchesEvent=!!Te(s,Ws.SELECTOR)},this.onDocumentPointerUp=function(o){var a=e.context,s=e.documentPointer,l=a.getCurrentData();if(!s.wasTouchScroll){if(l.dateSelection&&!e.isRecentPointerDateSelect){var c=a.options.unselectAuto;!c||c&&e.matchesCancel||a.calendarApi.unselect(o)}l.eventSelection&&!e.matchesEvent&&a.dispatch({type:"UNSELECT_EVENT"})}e.isRecentPointerDateSelect=!1};var r=this.documentPointer=new qo(document);r.shouldIgnoreMove=!0,r.shouldWatchScroll=!1,r.emitter.on("pointerdown",this.onDocumentPointerDown),r.emitter.on("pointerup",this.onDocumentPointerUp),t.emitter.on("select",this.onSelect)}return n.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},n})(),ju={fixedMirrorParent:P},Vu={dateClick:P,eventDragStart:P,eventDragStop:P,eventDrop:P,eventResizeStart:P,eventResizeStop:P,eventResize:P,drop:P,eventReceive:P,eventLeave:P},Us=(function(){function n(t,e){var r=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(a){r.dragMeta=r.buildDragMeta(a.subjectEl)},this.handleHitUpdate=function(a,s,l){var c=r.hitDragging.dragging,p=null,d=null,g=!1,h={affectedEvents:{defs:{},instances:{}},mutatedEvents:{defs:{},instances:{}},isEvent:r.dragMeta.create};a&&(p=a.context,r.canDropElOnCalendar(l.subjectEl,p)&&(d=(function(v,E,w){for(var C=b({},E.leftoverProps),x=0,A=w.pluginHooks.externalDefTransforms;x<A.length;x++){var O=A[x];b(C,O(v,E))}var H=yo(C,w),L=H.refined,V=H.extra,X=Vr(L,V,E.sourceId,v.allDay,w.options.forceEventDuration||!!E.duration,w),Z=v.range.start;v.allDay&&E.startTime&&(Z=w.dateEnv.add(Z,E.startTime));var Y=E.duration?w.dateEnv.add(Z,E.duration):Co(v.allDay,Z,w),Ee=hn(X.defId,{start:Z,end:Y});return{def:X,instance:Ee}})(a.dateSpan,r.dragMeta,p),h.mutatedEvents=mr(d),(g=!Lo(h,a.dateProfile,p))&&(h.mutatedEvents={defs:{},instances:{}},d=null))),r.displayDrag(p,h),c.setMirrorIsVisible(s||!d||!document.querySelector(".fc-event-mirror")),g?Wn():Un(),s||(c.setMirrorNeedsRevert(!d),r.receivingContext=p,r.droppableEvent=d)},this.handleDragEnd=function(a){var s=r,l=s.receivingContext,c=s.droppableEvent;if(r.clearDrag(),l&&c){var p=r.hitDragging.finalHit,d=p.context.viewApi,g=r.dragMeta;if(l.emitter.trigger("drop",b(b({},qi(p.dateSpan,l)),{draggedEl:a.subjectEl,jsEvent:a.origEvent,view:d})),g.create){var h=mr(c);l.dispatch({type:"MERGE_EVENTS",eventStore:h}),a.isTouch&&l.dispatch({type:"SELECT_EVENT",eventInstanceId:c.instance.instanceId}),l.emitter.trigger("eventReceive",{event:new Ae(l,c.def,c.instance),relatedEvents:[],revert:function(){l.dispatch({type:"REMOVE_EVENTS",eventStore:h})},draggedEl:a.subjectEl,view:d})}}r.receivingContext=null,r.droppableEvent=null};var o=this.hitDragging=new eo(t,Xr);o.requireInitial=!1,o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=e}return n.prototype.buildDragMeta=function(t){return typeof this.suppliedDragMeta=="object"?Bo(this.suppliedDragMeta):typeof this.suppliedDragMeta=="function"?Bo(this.suppliedDragMeta(t)):Bo((e=(function(r,o){var a=Kr.dataAttrPrefix,s=(a?a+"-":"")+o;return r.getAttribute("data-"+s)||""})(t,"event"))?JSON.parse(e):{create:!1});var e},n.prototype.displayDrag=function(t,e){var r=this.receivingContext;r&&r!==t&&r.dispatch({type:"UNSET_EVENT_DRAG"}),t&&t.dispatch({type:"SET_EVENT_DRAG",state:e})},n.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},n.prototype.canDropElOnCalendar=function(t,e){var r=e.options.dropAccept;return typeof r=="function"?r.call(e.calendarApi,t):typeof r!="string"||!r||!!Ke(t,r)},n})();Kr.dataAttrPrefix="";var qu=(function(){function n(t,e){var r=this;e===void 0&&(e={}),this.handlePointerDown=function(a){var s=r.dragging,l=r.settings,c=l.minDistance,p=l.longPressDelay;s.minDistance=c??(a.isTouch?0:Se.eventDragMinDistance),s.delay=a.isTouch?p??Se.longPressDelay:0},this.handleDragStart=function(a){a.isTouch&&r.dragging.delay&&a.subjectEl.classList.contains("fc-event")&&r.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=e;var o=this.dragging=new cr(t);o.touchScrollAllowed=!1,e.itemSelector!=null&&(o.pointer.selector=e.itemSelector),e.a
9ppendTo!=null&&(o.mirror.parentNode=e.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new Us(o,e.eventData)}return n.prototype.destroy=function(){this.dragging.destroy()},n})(),Gu=(function(n){function t(e){var r=n.call(this,e)||this;r.shouldIgnoreMove=!1,r.mirrorSelector="",r.currentMirrorEl=null,r.handlePointerDown=function(a){r.emitter.trigger("pointerdown",a),r.shouldIgnoreMove||r.emitter.trigger("dragstart",a)},r.handlePointerMove=function(a){r.shouldIgnoreMove||r.emitter.trigger("dragmove",a)},r.handlePointerUp=function(a){r.emitter.trigger("pointerup",a),r.shouldIgnoreMove||r.emitter.trigger("dragend",a)};var o=r.pointer=new qo(e);return o.emitter.on("pointerdown",r.handlePointerDown),o.emitter.on("pointermove",r.handlePointerMove),o.emitter.on("pointerup",r.handlePointerUp),r}return W(t,n),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 r=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;r&&(this.currentMirrorEl=r,r.style.visibility="hidden")}},t})(Si),Yu=(function(){function n(t,e){var r=document;t===document||t instanceof Element?(r=t,e=e||{}):e=t||{};var o=this.dragging=new Gu(r);typeof e.itemSelector=="string"?o.pointer.selector=e.itemSelector:r===document&&(o.pointer.selector="[data-event]"),typeof e.mirrorSelector=="string"&&(o.mirrorSelector=e.mirrorSelector),new Us(o,e.eventData)}return n.prototype.destroy=function(){this.dragging.destroy()},n})(),Zu=xt({componentInteractions:[Fu,Wu,Ws,Uu],calendarInteractions:[zu],elementDraggingImpl:cr,optionRefiners:ju,listenerRefiners:Vu}),zs=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.headerElRef=qe(),e}return W(t,n),t.prototype.renderSimpleLayout=function(e,r){var o=this.props,a=this.context,s=[],l=Qr(a.options);return e&&s.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),s.push({type:"body",key:"body",liquid:!0,chunk:{content:r}}),_(lr,{viewSpec:a.viewSpec},(function(c,p){return _("div",{ref:c,className:["fc-daygrid"].concat(p).join(" ")},_(Uo,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[],sections:s}))}))},t.prototype.renderHScrollLayout=function(e,r,o,a){var s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");var l=this.props,c=this.context,p=!l.forPrint&&Qr(c.options),d=!l.forPrint&&Hi(c.options),g=[];return e&&g.push({type:"header",key:"header",isSticky:p,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),g.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:r}]}),d&&g.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Wo}]}),_(lr,{viewSpec:c.viewSpec},(function(h,v){return _("div",{ref:h,className:["fc-daygrid"].concat(v).join(" ")},_(s,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,colGroups:[{cols:[{span:o,minWidth:a}]}],sections:g}))}))},t})(Kt);function Yo(n,t){for(var e=[],r=0;r<t;r+=1)e[r]=[];for(var o=0,a=n;o<a.length;o++){var s=a[o];e[s.row].push(s)}return e}function Zo(n,t){for(var e=[],r=0;r<t;r+=1)e[r]=[];for(var o=0,a=n;o<a.length;o++){var s=a[o];e[s.firstCol].push(s)}return e}function js(n,t){var e=[];if(n){for(s=0;s<t;s+=1)e[s]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(var r=0,o=n.segs;r<o.length;r++){var a=o[r];e[a.row].segs.push(a)}}else for(var s=0;s<t;s+=1)e[s]=null;return e}var $u=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=sr(this.context,e.date);return _(jo,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:Xu},(function(o,a){return(a||e.forceDayTop)&&_("div",{className:"fc-daygri
9d-day-top",ref:o},_("a",b({id:e.dayNumberId,className:"fc-daygrid-day-number"},r),a||_(Ge,null,"\xA0")))}))},t})(me);function Xu(n){return n.dayNumberText}var Vs=ae({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function qs(n){var t=n.eventRange.ui.display;return t==="list-item"||t==="auto"&&!n.eventRange.def.allDay&&n.firstCol===n.lastCol&&n.isStart&&n.isEnd}var Gs=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props;return _(Bi,b({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Vs,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t})(me),Ys=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options.eventTimeFormat||Vs,a=yr(e.seg,o,r,!0,e.defaultDisplayEventEnd);return _(Jr,{seg:e.seg,timeText:a,defaultContent:Ku,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(s,l,c,p){return _("a",b({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(l).join(" "),ref:s},wo(e.seg,r)),p)}))},t})(me);function Ku(n){return _(Ge,null,_("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&_("div",{className:"fc-event-time"},n.timeText),_("div",{className:"fc-event-title"},n.event.title||_(Ge,null,"\xA0")))}var Qu=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.compileSegs=K(Ju),e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.compileSegs(e.singlePlacements),o=r.allSegs,a=r.invisibleSegs;return _(Ui,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:o,hiddenSegs:a,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var s=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return _(Ge,null,o.map((function(l){var c=l.eventRange.instance.instanceId;return _("div",{className:"fc-daygrid-event-harness",key:c,style:{visibility:s[c]?"hidden":""}},qs(l)?_(Ys,b({seg:l,isDragging:!1,isSelected:c===e.eventSelection,defaultDisplayEventEnd:!1},yn(l,e.todayRange))):_(Gs,b({seg:l,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:c===e.eventSelection,defaultDisplayEventEnd:!1},yn(l,e.todayRange))))})))}},(function(s,l,c,p,d,g,h,v){return _("a",b({ref:s,className:["fc-daygrid-more-link"].concat(l).join(" "),title:g,"aria-expanded":h,"aria-controls":v},Zt(d)),p)}))},t})(me);function Ju(n){for(var t=[],e=[],r=0,o=n;r<o.length;r++){var a=o[r];t.push(a.seg),a.isVisible||e.push(a.seg)}return{allSegs:t,invisibleSegs:e}}var ec=ae({week:"narrow"}),tc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.rootElRef=qe(),e.state={dayNumberId:wt()},e.handleRootEl=function(r){Vt(e.rootElRef,r),Vt(e.props.elRef,r)},e}return W(t,n),t.prototype.render=function(){var e=this,r=e.context,o=e.props,a=e.state,s=e.rootElRef,l=o.date,c=o.dateProfile,p=sr(r,l,"week");return _(Vo,{date:l,dateProfile:c,todayRange:o.todayRange,showDayNumber:o.showDayNumber,extraHookProps:o.extraHookProps,elRef:this.handleRootEl},(function(d,g,h,v){return _("td",b({ref:d,role:"gridcell",className:["fc-daygrid-day"].concat(g,o.extraClassNames||[]).join(" ")},h,o.extraDataAttrs,o.showDayNumber?{"aria-labelledby":a.dayNumberId}:{}),_("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:o.innerElRef},o.showWeekNumber&&_(Wi,{date:l,defaultFormat:ec},(function(E,w,C,x){return _("a",b({ref:E,className:["fc-daygrid-week-number"].concat(w).join(" ")},p),x)})),!v&&_($u,{date:l,dateProfile:c,showDayNumber:o.showDayNumber,dayNumberId:a.dayNumberId,forceDayTop:o.forceDayTop,todayRange:o.todayRange,extraHookProps:o.extraHookProps}),_("div",{className:"fc-daygrid-day-events",ref:o.fgContentElRef}
9,o.fgContent,_("div",{className:"fc-daygrid-day-bottom",style:{marginTop:o.moreMarginTop}},_(Qu,{allDayDate:l,singlePlacements:o.singlePlacements,moreCnt:o.moreCnt,alignmentElRef:s,alignGridTop:!o.showDayNumber,extraDateSpan:o.extraDateSpan,dateProfile:o.dateProfile,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,todayRange:o.todayRange}))),_("div",{className:"fc-daygrid-day-bg"},o.bgContent)))}))},t})(Kt);function nc(n,t,e,r,o,a,s){var l=new rc;l.allowReslicing=!0,l.strictOrder=r,t===!0||e===!0?(l.maxCoord=a,l.hiddenConsumes=!0):typeof t=="number"?l.maxStackCnt=t:typeof e=="number"&&(l.maxStackCnt=e,l.hiddenConsumes=!0);for(var c=[],p=[],d=0;d<n.length;d+=1){var g=o[(Y=n[d]).eventRange.instance.instanceId];g!=null?c.push({index:d,thickness:g,span:{start:Y.firstCol,end:Y.lastCol+1}}):p.push(Y)}for(var h=l.addSegs(c),v=(function(ge,le,fe){for(var ot=(function(Lc,Fc){for(var Ki=[],xr=0;xr<Fc;xr+=1)Ki.push([]);for(var Qi=0,bl=Lc;Qi<bl.length;Qi++){var Ji=bl[Qi];for(xr=Ji.span.start;xr<Ji.span.end;xr+=1)Ki[xr].push(Ji)}return Ki})(ge,fe.length),it=[],Dr=[],wr=[],Mt=0;Mt<fe.length;Mt+=1){for(var Jn=ot[Mt],er=[],_n=0,Dn=0,Cr=0,$o=Jn;Cr<$o.length;Cr++){var Xo=le[(Je=$o[Cr]).index];er.push({seg:_r(Xo,Mt,Mt+1,fe),isVisible:!0,isAbsolute:!1,absoluteTop:Je.levelCoord,marginTop:Je.levelCoord-_n}),_n=Je.levelCoord+Je.thickness}var $i=[];_n=0,Dn=0;for(var Xi=0,yl=Jn;Xi<yl.length;Xi++){Xo=le[(Je=yl[Xi]).index];var Je,Bc=Je.span.end-Je.span.start>1,El=Je.span.start===Mt;Dn+=Je.levelCoord-_n,_n=Je.levelCoord+Je.thickness,Bc?(Dn+=Je.thickness,El&&$i.push({seg:_r(Xo,Je.span.start,Je.span.end,fe),isVisible:!0,isAbsolute:!0,absoluteTop:Je.levelCoord,marginTop:0})):El&&($i.push({seg:_r(Xo,Je.span.start,Je.span.end,fe),isVisible:!0,isAbsolute:!1,absoluteTop:Je.levelCoord,marginTop:Dn}),Dn=0)}it.push(er),Dr.push($i),wr.push(Dn)}return{singleColPlacements:it,multiColPlacements:Dr,leftoverMargins:wr}})(l.toRects(),n,s),E=v.singleColPlacements,w=v.multiColPlacements,C=v.leftoverMargins,x=[],A=[],O=0,H=p;O<H.length;O++){w[(Y=H[O]).firstCol].push({seg:Y,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var L=Y.firstCol;L<=Y.lastCol;L+=1)E[L].push({seg:_r(Y,L,L+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(L=0;L<s.length;L+=1)x.push(0);for(var V=0,X=h;V<X.length;V++){var Z=X[V],Y=n[Z.index],Ee=Z.span;for(w[Ee.start].push({seg:_r(Y,Ee.start,Ee.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0}),L=Ee.start;L<Ee.end;L+=1)x[L]+=1,E[L].push({seg:_r(Y,L,L+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(L=0;L<s.length;L+=1)A.push(C[L]);return{singleColPlacements:E,multiColPlacements:w,moreCnts:x,moreMarginTops:A}}function _r(n,t,e,r){if(n.firstCol===t&&n.lastCol===e-1)return n;var o=n.eventRange,a=o.range,s=Yn(a,{start:r[t].date,end:Pe(r[e-1].date,1)});return b(b({},n),{firstCol:t,lastCol:e-1,eventRange:{def:o.def,ui:b(b({},o.ui),{durationEditable:!1}),instance:o.instance,range:s},isStart:n.isStart&&s.start.valueOf()===a.start.valueOf(),isEnd:n.isEnd&&s.end.valueOf()===a.end.valueOf()})}var rc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.hiddenConsumes=!1,e.forceHidden={},e}return W(t,n),t.prototype.addSegs=function(e){for(var r=this,o=n.prototype.addSegs.call(this,e),a=this.entriesByLevel,s=function(c){return!r.forceHidden[Kn(c)]},l=0;l<a.length;l+=1)a[l]=a[l].filter(s);return o},t.prototype.handleInvalidInsertion=function(e,r,o){var a=this.entriesByLevel,s=this.forceHidden,l=e.touchingEntry,c=e.touchingLevel,p=e.touchingLateral;if(this.hiddenConsumes&&l){var d=Kn(l);if(!s[d])if(this.allowReslicing){var g=b(b({},l),{span:Po(l.span,r.span)});s[Kn(g)]=!0,a[c][p]=g,this.splitEntry(l,r,o)}else s[d]=!0,o.push(l)}return n.prototype.handleInvalidInsertion.call(this,e,r,o)},t})(xi),Zs=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.cellElRefs=new bn,e.frameElRefs=new bn,e.fgElRefs=new bn,e.segHarnessRefs=new bn,e.rootElRef=qe(),e.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},e}return W(t,n),t.prototype.render=function(){var e=this,r=this,o=r.props,a=r.state,s=r.context.options,l=o.cells.length,c=Zo(o.businessHourSegs,l),p=Zo(o.bgEventSegs,l),d=Zo(this.getHighlightSegs(),l),g=Zo(this.getMirrorSegs(),l),h=nc(Do(o.fgEventSegs,s.eventOrder),o.dayMaxEvents,o.dayMaxEventRows,s.eventOrderStrict,a.eventInstanceHeights,a.maxContentHeight,o.cells),v=h.singleColPlacements,E=h.multiColPlacements,w=h.moreCnts,C=h.moreMarginTops,x=o.eventDrag&&o.eventDrag.affectedInstances||o.eventResize&&o.eventResize.affectedInstances||{};return _("tr",{ref:this.rootElRef,role:"row"},o.renderIntro&&o.renderIntro(),o.cells.map((function(A,O){var H=e.renderFgSegs(O,o.forPrint?v[O]:E[O],o.todayRange,x),L=e.renderFgSegs(O,(function(V,X){if(!V.length)return[];var Z=(function(Y){for(var Ee={},ge=0,le=Y;ge<le.length;ge++)for(var fe=0,ot=le[ge];fe<ot.length;fe++){var it=ot[fe];Ee[it.seg.eventRange.instance.instanceId]=it.absoluteTop}return Ee})(X);return V.map((function(Y){return{seg:Y,isVisible:!0,isAbsolute:!0,absoluteTop:Z[Y.eventRange.instance.instanceId],marginTop:0}}))})(g[O],E),o.todayRange,{},!!o.eventDrag,!!o.eventResize,!1);return _(tc,{key:A.key,elRef:e.cellElRefs.createRef(A.key),innerElRef:e.frameElRefs.createRef(A.key),dateProfile:o.dateProfile,date:A.date,showDayNumber:o.showDayNumbers,showWeekNumber:o.showWeekNumbers&&O===0,forceDayTop:o.showWeekNumbers,todayRange:o.todayRange,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,extraHookProps:A.extraHookProps,extraDataAttrs:A.extraDataAttrs,extraClassNames:A.extraClassNames,extraDateSpan:A.extraDateSpan,moreCnt:w[O],moreMarginTop:C[O],singlePlacements:v[O],fgContentElRef:e.fgElRefs.createRef(A.key),fgContent:_(Ge,null,_(Ge,null,H),_(Ge,null,L)),bgContent:_(Ge,null,e.renderFillSegs(d[O],"highlight"),e.renderFillSegs(c[O],"non-business"),e.renderFillSegs(p[O],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,r){var o=this.props;this.updateSizing(!gt(e,o))},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,r,o,a,s,l,c){var p=this.context,d=this.props.eventSelection,g=this.state.framePositions,h=this.props.cells.length===1,v=s||l||c,E=[];if(g)for(var w=0,C=r;w<C.length;w++){var x=C[w],A=x.seg,O=A.eventRange.instance.instanceId,H=O+":"+e,L=x.isVisible&&!a[O],V=x.isAbsolute,X="",Z="";V&&(p.isRtl?(Z=0,X=g.lefts[A.lastCol]-g.lefts[A.firstCol]):(X=0,Z=g.rights[A.firstCol]-g.rights[A.lastCol])),E.push(_("div",{className:"fc-daygri
9d-event-harness"+(V?" fc-daygrid-event-harness-abs":""),key:H,ref:v?null:this.segHarnessRefs.createRef(H),style:{visibility:L?"":"hidden",marginTop:V?"":x.marginTop,top:V?x.absoluteTop:"",left:X,right:Z}},qs(A)?_(Ys,b({seg:A,isDragging:s,isSelected:O===d,defaultDisplayEventEnd:h},yn(A,o))):_(Gs,b({seg:A,isDragging:s,isResizing:l,isDateSelecting:c,isSelected:O===d,defaultDisplayEventEnd:h},yn(A,o)))))}return E},t.prototype.renderFillSegs=function(e,r){var o=this.context.isRtl,a=this.props.todayRange,s=this.state.framePositions,l=[];if(s)for(var c=0,p=e;c<p.length;c++){var d=p[c],g=o?{right:0,left:s.lefts[d.lastCol]-s.lefts[d.firstCol]}:{left:0,right:s.rights[d.firstCol]-s.rights[d.lastCol]};l.push(_("div",{key:ti(d.eventRange),className:"fc-daygrid-bg-harness",style:g},r==="bg-event"?_(Fi,b({seg:d},yn(d,a))):Li(r)))}return _.apply(void 0,se([Ge,{}],l))},t.prototype.updateSizing=function(e){var r=this.props,o=this.frameElRefs;if(!r.forPrint&&r.clientWidth!==null){if(e){var a=r.cells.map((function(d){return o.currentMap[d.key]}));if(a.length){var s=this.rootElRef.current;this.setState({framePositions:new Er(s,a,!0,!1)})}}var l=this.state.eventInstanceHeights,c=this.queryEventInstanceHeights(),p=r.dayMaxEvents===!0||r.dayMaxEventRows===!0;this.safeSetState({eventInstanceHeights:b(b({},l),c),maxContentHeight:p?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,r={};for(var o in e){var a=Math.round(e[o].getBoundingClientRect().height),s=o.split(":")[0];r[s]=Math.max(r[s]||0,a)}return r},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,r=this.cellElRefs.currentMap[e],o=this.fgElRefs.currentMap[e];return r.getBoundingClientRect().bottom-o.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(r){return e[r.key]}))},t})(Kt);Zs.addStateEquality({eventInstanceHeights:gt});var $s=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.splitBusinessHourSegs=K(Yo),e.splitBgEventSegs=K(Yo),e.splitFgEventSegs=K(Yo),e.splitDateSelectionSegs=K(Yo),e.splitEventDrag=K(js),e.splitEventResize=K(js),e.rowRefs=new bn,e.handleRootEl=function(r){e.rootEl=r,r?e.context.registerInteractiveComponent(e,{el:r,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=r.dateProfile,a=r.dayMaxEventRows,s=r.dayMaxEvents,l=r.expandRows,c=r.cells.length,p=this.splitBusinessHourSegs(r.businessHourSegs,c),d=this.splitBgEventSegs(r.bgEventSegs,c),g=this.splitFgEventSegs(r.fgEventSegs,c),h=this.splitDateSelectionSegs(r.dateSelectionSegs,c),v=this.splitEventDrag(r.eventDrag,c),E=this.splitEventResize(r.eventResize,c),w=s===!0||a===!0;return w&&!l&&(w=!1,a=null,s=null),_("div",{className:["fc-daygrid-body",w?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",l?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:r.clientWidth,minWidth:r.tableMinWidth}},_(br,{unit:"day"},(function(C,x){return _(Ge,null,_("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:r.clientWidth,minWidth:r.tableMinWidth,height:l?r.clientHeight:""}},r.colGroupNode,_("tbody",{role:"presentation"},r.cells.map((function(A,O){return _(Zs,{ref:e.rowRefs.createRef(O),key:A.length?A[0].date.toISOString():O,showDayNumbers:c>1,showWeekNumbers:r.showWeekNumbers,todayRange:x,dateProfile:o,cells:A,renderIntro:r.renderRowIntro,businessHourSegs:p[O],eventSelection:r.eventSelection,bgEventSegs:d[O].filter(oc),fgEventSegs:g[O],dateSelectionSegs:h[O],eventDrag:v[O],eventResize:E[O],dayMaxEvents:s,dayMaxEventRows:a,clientWidth:r.clientWidth,clientHeight:r.clientHeight,forPrint:r.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new Er(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new Er(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,r){var o=this.colPositions,a=this.rowPositions,s=o.leftToIndex(e),l=a.topToIndex(r);if(l!=null&&s!=null){var c=this.props.cells[l][s];return{dateProfile:this.props.dateProfile,dateSpan:b({range:this.getCellRange(l,s),allDay:!0},c.extraDateSpan),dayEl:this.getCellEl(l,s),rect:{left:o.lefts[s],right:o.rights[s],top:a.tops[l],bottom:a.bottoms[l]},layer:0}}return null},t.prototype.getCellEl=function(e,r){return this.rowRefs.currentMap[e].getCellEls()[r]},t.prototype.getCellRange=function(e,r){var o=this.props.cells[e][r].date;return{start:o,end:Pe(o,1)}},t})(Kt);function oc(n){return n.eventRange.def.allDay}var Xs=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.forceDayIfListItem=!0,e}return W(t,n),t.prototype.sliceRange=function(e,r){return r.sliceRange(e)},t})(Mi),Gi=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.slicer=new Xs,e.tableRef=qe(),e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context;return _($s,b({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,r,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})(Kt),Ks=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.buildDayTableModel=K(Qs),e.headerRef=qe(),e.tableRef=qe(),e}return W(t,n),t.prototype.render=function(){var e=this,r=this.context,o=r.options,a=r.dateProfileGenerator,s=this.props,l=this.buildDayTableModel(s.dateProfile,a),c=o.dayHeaders&&_(ki,{ref:this.headerRef,dateProfile:s.dateProfile,dates:l.headerDates,datesRepDistinctDays:l.rowCnt===1}),p=function(d){return _(Gi,{ref:e.tableRef,dateProfile:s.dateProfile,dayTableModel:l,businessHours:s.businessHours,dateSelection:s.dateSelection,eventStore:s.eventStore,eventUiBases:s.eventUiBases,eventSelection:s.eventSelection,eventDrag:s.eventDrag,eventResize:s.eventResize,nextDayThreshold:o.nextDayThreshold,colGroupNode:d.tableColGroupNode,tableMinWidth:d.tableMinWidth,dayMaxEvents:o.dayMaxEvents,dayMaxEventRows:o.dayMaxEventRows,showWeekNumbers:o.weekNumbers,expandRows:!s.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:d.clientWidth,clientHeight:d.clientHeight,forPrint:s.forPrint})};return o.dayMinWidth?this.renderHScrollLayout(c,p,l.colCnt,o.dayMinWidth):this.renderSimpleLayout(c,p)},t})(zs);function Qs(n,t){var e=new Ri(n.renderRange,t);return new Ai(e,/year|month|week/.test(n.currentRangeUnit))}var ic=xt({initialView:"dayGridMonth",views:{dayGrid:{component:Ks,dateProfileGeneratorClass:(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.buildRenderRange=function(e,r,o){var a,s=this.props.dateEnv,l=n.prototype.buildRenderRange.call(this,e,r,o),c=l.start,p=l.end;return/^(year|month)$/.test(r)&&(c=s.startOfWeek(c),(a=s.startOfWeek(p)).valueOf()!==
9p.valueOf()&&(p=dr(a,1))),this.props.monthMode&&this.props.fixedWeekCount&&(p=dr(p,6-Math.ceil(Or(c,p)))),{start:c,end:p}},t})(Ei)},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),ac=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),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?aa(e)?["timed","allDay"]:["allDay"]:["timed"]},t})(Oa),sc=ae({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Js(n){var t=["fc-timegrid-slot","fc-timegrid-slot-label",n.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return _(En.Consumer,null,(function(e){if(!n.isLabeled)return _("td",{className:t.join(" "),"data-time":n.isoTimeStr});var r=e.dateEnv,o=e.options,a=e.viewApi,s=o.slotLabelFormat==null?sc:Array.isArray(o.slotLabelFormat)?ae(o.slotLabelFormat[0]):ae(o.slotLabelFormat),l={level:0,time:n.time,date:r.toDate(n.date),view:a,text:r.format(n.date,s)};return _(Tt,{hookProps:l,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:lc,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(c,p,d,g){return _("td",{ref:c,className:t.concat(p).join(" "),"data-time":n.isoTimeStr},_("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},_("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:d},g)))}))}))}function lc(n){return n.text}var uc=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){return this.props.slatMetas.map((function(e){return _("tr",{key:e.key},_(Js,b({},e)))}))},t})(me),cc=ae({week:"short"}),tl=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.allDaySplitter=new ac,e.headerElRef=qe(),e.rootElRef=qe(),e.scrollerElRef=qe(),e.state={slatCoords:null},e.handleScrollTopRequest=function(r){var o=e.scrollerElRef.current;o&&(o.scrollTop=r)},e.renderHeadAxis=function(r,o){o===void 0&&(o="");var a=e.context.options,s=e.props.dateProfile.renderRange,l=Ft(s.start,s.end)===1?sr(e.context,s.start,"week"):{};return a.weekNumbers&&r==="day"?_(Wi,{date:s.start,defaultFormat:cc},(function(c,p,d,g){return _("th",{ref:c,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(p).join(" ")},_("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:o}},_("a",b({ref:d,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},l),g)))})):_("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},_("div",{className:"fc-timegrid-axis-frame",style:{height:o}}))},e.renderTableRowAxis=function(r){var o=e.context,a=o.options,s=o.viewApi,l={text:a.allDayText,view:s};return _(Tt,{hookProps:l,classNames:a.allDayClassNames,content:a.allDayContent,defaultContent:dc,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount},(function(c,p,d,g){return _("td",{ref:c,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(p).join(" ")},_("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(r==null?" fc-timegrid-axis-frame-liquid":""),style:{height:r}},_("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:d},g)))}))},e.handleSlatCoords=function(r){e.setState({slatCoords:r})},e}return W(t,n),t.prototype.renderSimpleLayout=function(e,r,o){var a=this.context,s=this.props,l=[],c=Qr(a.options);return e&&l.push({type:"header",key:"header",isSticky:c,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),r&&(l.push({type:"body",key:"all-day",chunk:{content:r}}),l.push({type:"body",key:"all-day-divider",outerContent:_("tr",{role:"presentation",className:"fc-scrollgrid-section"},_("td",{className:"fc-timegrid-divider "+a.theme.getClass("tableCellShaded")}))})),l.push({type:"body",key:"body",liquid:!0,expandRows:!!a.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:o}}),_(lr,{viewSpec:a.viewSpec,elRef:this.rootElRef},(function(p,d){return _("div",{className:["fc-timegrid"].concat(d).join(" "),ref:p},_(Uo,{liquid:!s.isHeightAuto&&!s.forPrint,collapsibleWidth:s.forPrint,cols:[{width:"shrink"}],sections:l}))}))},t.prototype.renderHScrollLayout=function(e,r,o,a,s,l,c){var p=this,d=this.context.pluginHooks.scrollGridImpl;if(!d)throw new Error("No ScrollGrid implementation");var g=this.context,h=this.props,v=!h.forPrint&&Qr(g.options),E=!h.forPrint&&Hi(g.options),w=[];e&&w.push({type:"header",key:"header",isSticky:v,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(x){return _("tr",{role:"presentation"},p.renderHeadAxis("day",x.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),r&&(w.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(x){return _("tr",{role:"presentation"},p.renderTableRowAxis(x.rowSyncHeights[0]))}},{key:"cols",content:r}]}),w.push({key:"all-day-divider",type:"body",outerContent:_("tr",{role:"presentation",className:"fc-scrollgrid-section"},_("td",{colSpan:2,className:"fc-timegrid-divider "+g.theme.getClass("tableCellShaded")}))}));var C=g.options.nowIndicator;return w.push({type:"body",key:"body",liquid:!0,expandRows:!!g.options.expandRows,chunks:[{key:"axis",content:function(x){return _("div",{className:"fc-timegrid-axis-chunk"},_("table",{"aria-hidden":!0,style:{height:x.expandRows?x.clientHeight:""}},x.tableColGroupNode,_("tbody",null,_(uc,{slatMetas:l}))),_("div",{className:"fc-timegrid-now-indicator-container"},_(br,{unit:C?"minute":"day"},(function(A){var O=C&&c&&c.safeComputeTop(A);return typeof O=="number"?_(zo,{isAxis:!0,date:A},(function(H,L,V,X){return _("div",{ref:H,className:["fc-timegrid-now-indicator-arrow"].concat(L).join(" "),style:{to
9p:O}},X)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:o}]}),E&&w.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Wo},{key:"cols",content:Wo}]}),_(lr,{viewSpec:g.viewSpec,elRef:this.rootElRef},(function(x,A){return _("div",{className:["fc-timegrid"].concat(A).join(" "),ref:x},_(d,{liquid:!h.isHeightAuto&&!h.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:a,minWidth:s}]}],sections:w}))}))},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,r=e.dayMaxEvents,o=e.dayMaxEventRows;return r!==!0&&o!==!0||(r=void 0,o=5),{dayMaxEvents:r,dayMaxEventRows:o}},t})(Kt);function dc(n){return n.text}var nl=(function(){function n(t,e,r){this.positions=t,this.dateProfile=e,this.slotDuration=r}return n.prototype.safeComputeTop=function(t){var e=this.dateProfile;if(On(e.currentRange,t)){var r=De(t),o=t.valueOf()-r.valueOf();if(o>=Ve(e.slotMinTime)&&o<Ve(e.slotMaxTime))return this.computeTimeTop(ue(o))}return null},n.prototype.computeDateTop=function(t,e){return e||(e=De(t)),this.computeTimeTop(ue(t.valueOf()-e.valueOf()))},n.prototype.computeTimeTop=function(t){var e,r,o=this.positions,a=this.dateProfile,s=o.els.length,l=(t.milliseconds-Ve(a.slotMinTime))/Ve(this.slotDuration);return l=Math.max(0,l),l=Math.min(s,l),e=Math.floor(l),r=l-(e=Math.min(e,s-1)),o.tops[e]+o.getHeight(e)*r},n})(),pc=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=r.options,a=e.slatElRefs;return _("tbody",null,e.slatMetas.map((function(s,l){var c={time:s.time,date:r.dateEnv.toDate(s.date),view:r.viewApi},p=["fc-timegrid-slot","fc-timegrid-slot-lane",s.isLabeled?"":"fc-timegrid-slot-minor"];return _("tr",{key:s.key,ref:a.createRef(s.key)},e.axis&&_(Js,b({},s)),_(Tt,{hookProps:c,classNames:o.slotLaneClassNames,content:o.slotLaneContent,didMount:o.slotLaneDidMount,willUnmount:o.slotLaneWillUnmount},(function(d,g,h,v){return _("td",{ref:d,className:p.concat(g).join(" "),"data-time":s.isoTimeStr},v)})))})))},t})(me),fc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.rootElRef=qe(),e.slatElRefs=new bn,e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context;return _("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},_("table",{"aria-hidden":!0,className:r.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,_(pc,{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,r=this.context,o=this.props;o.onCoords&&o.clientWidth!==null&&this.rootElRef.current.offsetHeight&&o.onCoords(new nl(new Er(this.rootElRef.current,(e=this.slatElRefs.currentMap,o.slatMetas.map((function(a){return e[a.key]}))),!1,!0),this.props.dateProfile,r.options.slotDuration))},t})(me);function to(n,t){var e,r=[];for(e=0;e<t;e+=1)r.push([]);if(n)for(e=0;e<n.length;e+=1)r[n[e].col].push(n[e]);return r}function rl(n,t){var e=[];if(n){for(s=0;s<t;s+=1)e[s]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(var r=0,o=n.segs;r<o.length;r++){var a=o[r];e[a.col].segs.push(a)}}else for(var s=0;s<t;s+=1)e[s]=null;return e}var hc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.rootElRef=qe(),e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props;return _(Ui,{allDayDate:null,moreCnt:r.hiddenSegs.length,allSegs:r.hiddenSegs,hiddenSegs:r.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:gc,extraDateSpan:r.extraDateSpan,dateProfile:r.dateProfile,todayRange:r.todayRange,popoverContent:function(){return sl(r.hiddenSegs,r)}},(function(o,a,s,l,c,p,d,g){return _("a",{ref:function(h){Vt(o,h),Vt(e.rootElRef,h)},className:["fc-timegrid-more-link"].concat(a).join(" "),style:{to
9p:r.top,bottom:r.bottom},onClick:c,title:p,"aria-expanded":d,"aria-controls":g},_("div",{ref:s,className:"fc-timegrid-more-link-inner fc-sticky"},l))}))},t})(me);function gc(n){return n.shortText}function vc(n,t,e){var r=new xi;t!=null&&(r.strictOrder=t),e!=null&&(r.maxStackCnt=e);var o,a,s,l=us(r.addSegs(n)),c=(function(p){var d=p.entriesByLevel,g=Yi((function(h,v){return h+":"+v}),(function(h,v){var E=ol((function(C,x,A){for(var O=C.levelCoords,H=C.entriesByLevel,L=H[x][A],V=O[x]+L.thickness,X=O.length,Z=x;Z<X&&O[Z]<V;Z+=1);for(;Z<X;Z+=1){for(var Y=H[Z],Ee=void 0,ge=Oo(Y,L.span.start,No),le=ge[0]+ge[1],fe=le;(Ee=Y[fe])&&Ee.span.start<L.span.end;)fe+=1;if(le<fe)return{level:Z,lateralStart:le,lateralEnd:fe}}return null})(p,h,v),g),w=d[h][v];return[b(b({},w),{nextLevelNodes:E[0]}),w.thickness+E[1]]}));return ol(d.length?{level:0,lateralStart:0,lateralEnd:d[0].length}:null,g)[0]})(r);return o=c,a=1,s=Yi((function(p,d,g){return Kn(p)}),(function(p,d,g){var h,v=p.nextLevelNodes,E=p.thickness,w=E+g,C=E/w,x=[];if(v.length)for(var A=0,O=v;A<O.length;A++){var H=O[A];if(h===void 0)h=(L=s(H,d,w))[0],x.push(L[1]);else{var L=s(H,h,0);x.push(L[1])}}else h=a;var V=(h-d)*C;return[h-V,b(b({},p),{thickness:V,nextLevelNodes:x})]})),{segRects:(function(p){var d=[],g=Yi((function(v,E,w){return Kn(v)}),(function(v,E,w){var C=b(b({},v),{levelCoord:E,stackDepth:w,stackForward:0});return d.push(C),C.stackForward=h(v.nextLevelNodes,E+v.thickness,w+1)+1}));function h(v,E,w){for(var C=0,x=0,A=v;x<A.length;x++){var O=A[x];C=Math.max(g(O,E,w),C)}return C}return h(p,0,0),d})(c=o.map((function(p){return s(p,0,0)[1]}))),hiddenGroups:l}}function ol(n,t){if(!n)return[[],0];for(var e=n.level,r=n.lateralStart,o=n.lateralEnd,a=r,s=[];a<o;)s.push(t(e,a)),a+=1;return s.sort(mc),[s.map(yc),s[0][1]]}function mc(n,t){return t[1]-n[1]}function yc(n){return n[0]}function Yi(n,t){var e={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=n.apply(void 0,r);return a in e?e[a]:e[a]=t.apply(void 0,r)}}function il(n,t,e,r){e===void 0&&(e=null),r===void 0&&(r=0);var o=[];if(e)for(var a=0;a<n.length;a+=1){var s=n[a],l=e.computeDateTop(s.start,t),c=Math.max(l+(r||0),e.computeDateTop(s.end,t));o.push({start:Math.round(l),end:Math.round(c)})}return o}var Ec=ae({hour:"numeric",minute:"2-digit",meridiem:!1}),al=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),_(Bi,b({},this.props,{defaultTimeFormat:Ec,extraClassNames:e}))},t})(me),bc=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props;return _(jo,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(r,o){return o&&_("div",{className:"fc-timegrid-col-misc",ref:r},o)}))},t})(me),_c=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.sortEventSegs=K(Do),e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=this.context,a=o.options.selectMirror,s=r.eventDrag&&r.eventDrag.segs||r.eventResize&&r.eventResize.segs||a&&r.dateSelectionSegs||[],l=r.eventDrag&&r.eventDrag.affectedInstances||r.eventResize&&r.eventResize.affectedInstances||{},c=this.sortEventSegs(r.fgEventSegs,o.options.eventOrder);return _(Vo,{elRef:r.elRef,date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps},(function(p,d,g){return _("td",b({ref:p,role:"gridcell",className:["fc-timegrid-col"].concat(d,r.extraClassNames||[]).join(" ")},g,r.extraDataAttrs),_("div",{className:"fc-timegrid-col-frame"},_("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(r.businessHourSegs,"non-business"),e.renderFillSegs(r.bgEventSegs,"bg-event"),e.renderFillSegs(r.dateSelectionSegs,"highlight")),_("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(c,l,!1,!1,!1)),_("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(s,{},!!r.eventDrag,!!r.eventResize,!!a)),_("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(r.nowIndicatorSegs)),_(bc,{date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps})))}))},t.prototype.renderFgSegs=function(e,r,o,a,s){var l=this.props;return l.forPrint?sl(e,l):this.renderPositionedFgSegs(e,r,o,a,s)},t.prototype.renderPositionedFgSegs=function(e,r,o,a,s){var l=this,c=this.context.options,p=c.eventMaxStack,d=c.eventShortHeight,g=c.eventOrderStrict,h=c.eventMinHeight,v=this.props,E=v.date,w=v.slatCoords,C=v.eventSelection,x=v.todayRange,A=v.nowDate,O=o||a||s,H=(function(X,Z,Y,Ee){for(var ge=[],le=[],fe=0;fe<X.length;fe+=1){var ot=Z[fe];ot?ge.push({index:fe,thickness:1,span:ot}):le.push(X[fe])}for(var it=vc(ge,Y,Ee),Dr=it.segRects,wr=it.hiddenGroups,Mt=[],Jn=0,er=Dr;Jn<er.length;Jn++){var _n=er[Jn];Mt.push({seg:X[_n.index],rect:_n})}for(var Dn=0,Cr=le;Dn<Cr.length;Dn++){var $o=Cr[Dn];Mt.push({seg:$o,rect:null})}return{segPlacements:Mt,hiddenGroups:wr}})(e,il(e,E,w,h),g,p),L=H.segPlacements,V=H.hiddenGroups;return _(Ge,null,this.renderHiddenGroups(V,e),L.map((function(X){var Z=X.seg,Y=X.rect,Ee=Z.eventRange.instance.instanceId,ge=O||!!(!r[Ee]&&Y),le=Zi(Y&&Y.span),fe=!O&&Y?l.computeSegHStyle(Y):{left:0,right:0},ot=!!Y&&Y.stackForward>0,it=!!Y&&Y.span.end-Y.span.start<d;return _("div",{className:"fc-timegrid-event-harness"+(ot?" fc-timegrid-event-harness-inset":""),key:Ee,style:b(b
9({visibility:ge?"":"hidden"},le),fe)},_(al,b({seg:Z,isDragging:o,isResizing:a,isDateSelecting:s,isSelected:Ee===C,isShort:it},yn(Z,x,A))))})))},t.prototype.renderHiddenGroups=function(e,r){var o=this.props,a=o.extraDateSpan,s=o.dateProfile,l=o.todayRange,c=o.nowDate,p=o.eventSelection,d=o.eventDrag,g=o.eventResize;return _(Ge,null,e.map((function(h){var v,E,w=Zi(h.span),C=(v=h.entries,E=r,v.map((function(x){return E[x.index]})));return _(hc,{key:gr(zi(C)),hiddenSegs:C,top:w.top,bottom:w.bottom,extraDateSpan:a,dateProfile:s,todayRange:l,nowDate:c,eventSelection:p,eventDrag:d,eventResize:g})})))},t.prototype.renderFillSegs=function(e,r){var o=this.props,a=this.context,s=il(e,o.date,o.slatCoords,a.options.eventMinHeight).map((function(l,c){var p=e[c];return _("div",{key:ti(p.eventRange),className:"fc-timegrid-bg-harness",style:Zi(l)},r==="bg-event"?_(Fi,b({seg:p},yn(p,o.todayRange,o.nowDate))):Li(r))}));return _(Ge,null,s)},t.prototype.renderNowIndicator=function(e){var r=this.props,o=r.slatCoords,a=r.date;return o?e.map((function(s,l){return _(zo,{isAxis:!1,date:a,key:l},(function(c,p,d,g){return _("div",{ref:c,className:["fc-timegrid-now-indicator-line"].concat(p).join(" "),style:{top:o.computeDateTop(s.start,a)}},g)}))})):null},t.prototype.computeSegHStyle=function(e){var r,o,a=this.context,s=a.isRtl,l=a.options.slotEventOverlap,c=e.levelCoord,p=e.levelCoord+e.thickness;l&&(p=Math.min(1,c+2*(p-c))),s?(r=1-p,o=c):(r=c,o=1-p);var d={zIndex:e.stackDepth+1,left:100*r+"%",right:100*o+"%"};return l&&!e.stackForward&&(d[s?"marginLeft":"marginRight"]=20),d},t})(me);function sl(n,t){var e=t.todayRange,r=t.nowDate,o=t.eventSelection,a=t.eventDrag,s=t.eventResize,l=(a?a.affectedInstances:null)||(s?s.affectedInstances:null)||{};return _(Ge,null,n.map((function(c){var p=c.eventRange.instance.instanceId;return _("div",{key:p,style:{visibility:l[p]?"hidden":""}},_(al,b({seg:c,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:p===o,isShort:!1},yn(c,e,r))))})))}function Zi(n){return n?{top:n.start,bottom:-n.end}:{top:"",bottom:""}}var Dc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.splitFgEventSegs=K(to),e.splitBgEventSegs=K(to),e.splitBusinessHourSegs=K(to),e.splitNowIndicatorSegs=K(to),e.splitDateSelectionSegs=K(to),e.splitEventDrag=K(rl),e.splitEventResize=K(rl),e.rootElRef=qe(),e.cellElRefs=new bn,e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=this.context.options.nowIndicator&&r.slatCoords&&r.slatCoords.safeComputeTop(r.nowDate),a=r.cells.length,s=this.splitFgEventSegs(r.fgEventSegs,a),l=this.splitBgEventSegs(r.bgEventSegs,a),c=this.splitBusinessHourSegs(r.businessHourSegs,a),p=this.splitNowIndicatorSegs(r.nowIndicatorSegs,a),d=this.splitDateSelectionSegs(r.dateSelectionSegs,a),g=this.splitEventDrag(r.eventDrag,a),h=this.splitEventResize(r.eventResize,a);return _("div",{className:"fc-timegrid-cols",ref:this.rootElRef},_("table",{role:"presentation",style:{minWidth:r.tableMinWidth,width:r.clientWidth}},r.tableColGroupNode,_("tbody",{role:"presentation"},_("tr",{role:"row"},r.axis&&_("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},_("div",{className:"fc-timegrid-col-frame"},_("div",{className:"fc-timegrid-now-indicator-container"},typeof o=="number"&&_(zo,{isAxis:!0,date:r.nowDate},(function(v,E,w,C){return _("div",{ref:v,className:["fc-timegrid-now-indicator-arrow"].concat(E).join(" "),style:{top:o}},C)}))))),r.cells.map((function(v,E){return _(_c,{key:v.key,elRef:e.cellElRefs.createRef(v.key),dateProfile:r.dateProfile,date:v.date,nowDate:r.nowDate,todayRange:r.todayRange,extraHookProps:v.extraHookProps,extraDataAttrs:v.extraDataAttrs,extraClassNames:v.extraClassNames,extraDateSpan:v.extraDateSpan,fgEventSegs:s[E],bgEventSegs:l[E],businessHourSegs:c[E],nowIndicatorSegs:p[E],dateSelectionSegs:d[E],eventDrag:g[E],eventResize:h[E],slatCoords:r.slatCoords,eventSelection:r.eventSelection,forPrint:r.forPrint})}))))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e,r=this.props;r.onColCoords&&r.clientWidth!==null&&r.onColCoords(new Er(this.rootElRef.current,(e=this.cellElRefs.currentMap,r.cells.map((function(o){return e[o.key]}))),!0,!1))},t})(me),ll=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.processSlotOptions=K(wc),e.state={slatCoords:null},e.handleRootEl=function(r){r?e.context.registerInteractiveComponent(e,{el:r,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e.handleScrollRequest=function(r){var o=e.props.onScrollTopRequest,a=e.state.slatCoords;if(o&&a){if(r.time){var s=a.computeTimeTop(r.time);(s=Math.ceil(s))&&(s+=1),o(s)}return!0}return!1},e.handleColCoords=function(r){e.colCoords=r},e.handleSlatCoords=function(r){e.setState({slatCoords:r}),e.props.onSlatCoords&&e.props.onSlatCoords(r)},e}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.state;return _("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},_(fc,{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}),_(Dc,{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,
9nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:r.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,r){var o=this.context,a=o.dateEnv,s=o.options,l=this.colCoords,c=this.props.dateProfile,p=this.state.slatCoords,d=this.processSlotOptions(this.props.slotDuration,s.snapDuration),g=d.snapDuration,h=d.snapsPerSlot,v=l.leftToIndex(e),E=p.positions.topToIndex(r);if(v!=null&&E!=null){var w=this.props.cells[v],C=p.positions.tops[E],x=p.positions.getHeight(E),A=(r-C)/x,O=E*h+Math.floor(A*h),H=this.props.cells[v].date,L=Vn(c.slotMinTime,Ur(g,O)),V=a.add(H,L),X=a.add(V,g);return{dateProfile:c,dateSpan:b({range:{start:V,end:X},allDay:!1},w.extraDateSpan),dayEl:l.els[v],rect:{left:l.lefts[v],right:l.rights[v],top:C,bottom:C+x},layer:0}}return null},t})(Kt);function wc(n,t){var e=t||n,r=nr(n,e);return r===null&&(e=n,r=1),{snapDuration:e,snapsPerSlot:r}}var ul=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.sliceRange=function(e,r){for(var o=[],a=0;a<r.length;a+=1){var s=Yn(e,r[a]);s&&o.push({start:s.start,end:s.end,isStart:s.start.valueOf()===e.start.valueOf(),isEnd:s.end.valueOf()===e.end.valueOf(),col:a})}return o},t})(Mi),cl=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.buildDayRanges=K(dl),e.slicer=new ul,e.timeColsRef=qe(),e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=this.context,a=r.dateProfile,s=r.dayTableModel,l=o.options.nowIndicator,c=this.buildDayRanges(s,a,o.dateEnv);return _(br,{unit:l?"minute":"day"},(function(p,d){return _(ll,b({ref:e.timeColsRef},e.slicer.sliceProps(r,a,null,o,c),{forPrint:r.forPrint,axis:r.axis,dateProfile:a,slatMetas:r.slatMetas,slotDuration:r.slotDuration,cells:s.cells[0],tableColGroupNode:r.tableColGroupNode,tableMinWidth:r.tableMinWidth,clientWidth:r.clientWidth,clientHeight:r.clientHeight,expandRows:r.expandRows,nowDate:p,nowIndicatorSegs:l&&e.slicer.sliceNowDate(p,o,c),todayRange:d,onScrollTopRequest:r.onScrollTopRequest,onSlatCoords:r.onSlatCoords}))}))},t})(Kt);function dl(n,t,e){for(var r=[],o=0,a=n.headerDates;o<a.length;o++){var s=a[o];r.push({start:e.add(s,t.slotMinTime),end:e.add(s,t.slotMaxTime)})}return r}var pl=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function fl(n,t,e,r,o){for(var a=new Date(0),s=n,l=ue(0),c=e||(function(h){var v,E,w;for(v=pl.length-1;v>=0;v-=1)if((w=nr(E=ue(pl[v]),h))!==null&&w>1)return E;return h})(r),p=[];Ve(s)<Ve(t);){var d=o.add(a,s),g=nr(l,c)!==null;p.push({date:d,time:s,key:d.toISOString(),isoTimeStr:Gn(d),isLabeled:g}),s=Vn(s,r),l=Vn(l,r)}return p}var hl=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.buildTimeColsModel=K(gl),e.buildSlatMetas=K(fl),e}return W(t,n),t.prototype.render=function(){var e=this,r=this.context,o=r.options,a=r.dateEnv,s=r.dateProfileGenerator,l=this.props,c=l.dateProfile,p=this.buildTimeColsModel(c,s),d=this.allDaySplitter.splitProps(l),g=this.buildSlatMetas(c.slotMinTime,c.slotMaxTime,o.slotLabelInterval,o.slotDuration,a),h=o.dayMinWidth,v=!h,E=h,w=o.dayHeaders&&_(ki,{dates:p.headerDates,dateProfile:c,datesRepDistinctDays:!0,renderIntro:v?this.renderHeadAxis:null}),C=o.allDaySlot!==!1&&function(A){return _(Gi,b({},d.allDay,{dateProfile:c,dayTableModel:p,nextDayThreshold:o.nextDayThreshold,tableMinWidth:A.tableMinWidth,colGroupNode:A.tableColGroupNode,renderRowIntro:v?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:A.clientWidth,clientHeight:A.clientHeight,forPrint:l.forPrint},e.getAllDayMaxEventProps()))},x=function(A){return _(cl,b({},d.timed,{dayTableModel:p,dateProfile:c,axis:v,slotDuration:o.slotDuration,slatMetas:g,forPrint:l.forPrint,tableColGroupNode:A.tableColGroupNode,tableMinWidth:A.tableMinWidth,clientWidth:A.clientWidth,clientHeight:A.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:A.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return E?this.renderHScrollLayout(w,C,x,p.colCnt,h,g,this.state.slatCoords):this.renderSimpleLayout(w,C,x)},t})(tl);function gl(n,t){var e=new Ri(n.renderRange,t);return new Ai(e,!1)}var Cc=xt({initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:hl,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),xc=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.state={textId:wt()},e}return W(t,n),t.prototype.render=function(){var e=this.context,r=e.theme,o=e.dateEnv,a=e.options,s=e.viewApi,l=this.props,c=l.cellId,p=l.dayDate,d=l.todayRange,g=this.state.textId,h=To(p,d),v=a.listDayFormat?o.format(p,a.listDayFormat):"",E=a.listDaySideFormat?o.format(p,a.listDaySideFormat):"",w=b({date:o.toDate(p),view:s,textId:g,text:v,sideText:E,navLinkAttrs:sr(this.context,p),sideNavLinkAttrs:sr(this.context,p,"day",!1)},h),C=["fc-list-day"].concat(Zr(h,r));return _(Tt,{hookProps:w,classNames:a.dayHeaderClassNames,content:a.dayHeaderContent,defaultContent:Tc,didMount:a.dayHeaderDidMount,willUnmount:a.dayHeaderWillUnmount},(function(x,A,O,H){return _("tr",{ref:x,className:C.concat(A).join(" "),"data-date":qn(
9p)},_("th",{scope:"colgroup",colSpan:3,id:c,"aria-labelledby":g},_("div",{className:"fc-list-day-cushion "+r.getClass("tableCellShaded"),ref:O},H)))}))},t})(me);function Tc(n){return _(Ge,null,n.text&&_("a",b({id:n.textId,className:"fc-list-day-text"},n.navLinkAttrs),n.text),n.sideText&&_("a",b({"aria-hidden":!0,className:"fc-list-day-side-text"},n.sideNavLinkAttrs),n.sideText))}var Sc=ae({hour:"numeric",minute:"2-digit",meridiem:"short"}),kc=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t.prototype.render=function(){var e=this.props,r=this.context,o=e.seg,a=e.timeHeaderId,s=e.eventHeaderId,l=e.dateHeaderId,c=r.options.eventTimeFormat||Sc;return _(Jr,{seg:o,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return(function(p,d){var g=wo(p,d);return _("a",b({},g),p.eventRange.def.title)})(o,r)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(p,d,g,h,v){return _("tr",{className:["fc-list-event",v.event.url?"fc-event-forced-url":""].concat(d).join(" "),ref:p},(function(E,w,C,x,A){var O=C.options;if(O.displayEventTime!==!1){var H=E.eventRange.def,L=E.eventRange.instance,V=!1,X=void 0;if(H.allDay?V=!0:ra(E.eventRange.range)?E.isStart?X=yr(E,w,C,null,null,L.range.start,E.end):E.isEnd?X=yr(E,w,C,null,null,E.start,L.range.end):V=!0:X=yr(E,w,C),V){var Z={text:C.options.allDayText,view:C.viewApi};return _(Tt,{hookProps:Z,classNames:O.allDayClassNames,content:O.allDayContent,defaultContent:Rc,didMount:O.allDayDidMount,willUnmount:O.allDayWillUnmount},(function(Y,Ee,ge,le){return _("td",{ref:Y,headers:x+" "+A,className:["fc-list-event-time"].concat(Ee).join(" ")},le)}))}return _("td",{className:"fc-list-event-time"},X)}return null})(o,c,r,a,l),_("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},_("span",{className:"fc-list-event-dot",style:{borderColor:v.borderColor||v.backgroundColor}})),_("td",{ref:g,headers:s+" "+l,className:"fc-list-event-title"},h))}))},t})(me);function Rc(n){return n.text}var vl=(function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.computeDateVars=K(Mc),e.eventStoreToSegs=K(e._eventStoreToSegs),e.state={timeHeaderId:wt(),eventHeaderId:wt(),dateHeaderIdRoot:wt()},e.setRootEl=function(r){r?e.context.registerInteractiveComponent(e,{el:r}):e.context.unregisterInteractiveComponent(e)},e}return W(t,n),t.prototype.render=function(){var e=this,r=this.props,o=this.context,a=["fc-list",o.theme.getClass("table"),o.options.stickyHeaderDates!==!1?"fc-list-sticky":""],s=this.computeDateVars(r.dateProfile),l=s.dayDates,c=s.dayRanges,p=this.eventStoreToSegs(r.eventStore,r.eventUiBases,c);return _(lr,{viewSpec:o.viewSpec,elRef:this.setRootEl},(function(d,g){return _("div",{ref:d,className:a.concat(g).join(" ")},_(Pi,{liquid:!r.isHeightAuto,overflowX:r.isHeightAuto?"visible":"hidden",overflowY:r.isHeightAuto?"visible":"auto"},p.length>0?e.renderSegList(p,l):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,r=e.options,o=e.viewApi,a={text:r.noEventsText,view:o};return _(Tt,{hookProps:a,classNames:r.noEventsClassNames,content:r.noEventsContent,defaultContent:Ac,didMount:r.noEventsDidMount,willUnmount:r.noEventsWillUnmount},(function(s,l,c,p){return _("div",{className:["fc-list-empty"].concat(l).join(" "),ref:s},_("div",{className:"fc-list-empty-cushion",ref:c},p))}))},t.prototype.renderSegList=function(e,r){var o=this.context,a=o.theme,s=o.options,l=this.state,c=l.timeHeaderId,p=l.eventHeaderId,d=l.dateHeaderIdRoot,g=(function(h){var v,E,w=[];for(v=0;v<h.length;v+=1)(w[(E=h[v]).dayIndex]||(w[E.dayIndex]=[])).push(E);return w})(e);return _(br,{unit:"day"},(function(h,v){for(var E=[],w=0;w<g.length;w+=1){var C=g[w];if(C){var x=qn(r[w]),A=d+"-"+x;E.push(_(xc,{key:x,cellId:A,dayDate:r[w],todayRange:v}));for(var O=0,H=C=Do(C,s.eventOrder);O<H.length;O++){var L=H[O];E.push(_(kc,b({key:x+":"+L.eventRange.instance.instanceId,seg:L,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:c,eventHeaderId:p,dateHeaderId:A},yn(L,v,h))))}}}return _("table",{className:"fc-list-table "+a.getClass("table")},_("thead",null,_("tr",null,_("th",{scope:"col",id:c},s.timeHint),_("th",{scope:"col","aria-hidden":!0}),_("th",{scope:"col",id:p},s.eventHint))),_("tbody",null,E))}))},t.prototype._eventStoreToSegs=function(e,r,o){return this.eventRangesToSegs(Gr(e,r,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,o)},t.prototype.eventRangesToSegs=function(e,r){for(var o=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push.apply(o,this.eventRangeToSegs(l,r))}return o},t.prototype.eventRangeToSegs=function(e,r){var o,a,s,l=this.context.dateEnv,c=this.context.options.nextDayThreshold,p=e.range,d=e.def.allDay,g=[];for(o=0;o<r.length;o+=1)if((a=Yn(p,r[o]))&&(s={component:this,eventRange:e,start:a.start,end:a.end,isStart:e.isStart&&a.start.valueOf()===p.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===p.end.valueOf(),dayIndex:o},g.push(s),!s.isEnd&&!d&&o+1<r.length&&p.end<l.add(r[o+1].start,c))){s.end=p.end,s.isEnd=!0;break}return g},t})(Kt);function Ac(n){return n.text}function Mc(n){for(var t=De(n.renderRange.start),e=n.renderRange.end,r=[],o=[];t<e;)r.push(t),o.push({start:t,end:Pe(t,1)}),t=Pe(t,1);return{dayDates:r,dayRanges:o}}function ml(n){return n===!1?null:ae(n)}var Ic=xt({optionRefiners:{listDayFormat:ml,listDaySideFormat:ml,noEventsClassNames:P,noEventsContent:P,noEventsDidMount:P,noEventsWillUnmount:P},views:{list:{component:vl,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"}}}}),Hn=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t})($n);Hn.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"},Hn.prototype.baseIconClass="fa",Hn.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},Hn.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"},Hn.prototype.iconOverrideOption="bootstrapFontAwesome",Hn.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",Hn.prototype.iconOverridePrefix="fa-";var Nc=xt({themeClasses:{bootstrap:Hn}}),Qn=(function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return W(t,n),t})($n);Qn.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"},Qn.prototype.baseIconClass="bi",Qn.prototype.iconClasses={close:"bi-x-lg",prev:"bi-chevron-left",next:"bi-chevron-right",prevYear:"bi-chevron-double-left",nextYear:"bi-chevron-double-right"},Qn.prototype.rtlIconClasses={prev:"bi-chevron-right",next:"bi-chevron-left",prevYear:"bi-chevron-double-right",nextYear:"bi-chevron-double-left"},Qn.prototype.iconOverrideOption="buttonIcons",Qn.prototype.iconOverrideCustomButtonOption="icon",Qn.prototype.iconOverridePrefix="bi-";var Pc=xt({themeClasses:{bootstrap5:Qn}}),Oc="https://www.googleapis.com/calendar/v3/calendars",Hc=xt({eventSourceDefs:[{parseMeta:function(n){var t=n.googleCalendarId;return!t&&n.url&&(t=(function(e){var r;return/^[^/]+@([^/.]+\.)*(google|googlemail|gmail)\.com$/.test(e)?e:(r=/^https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/([^/]*)/.exec(e))||(r=/^https?:\/\/www.google.com\/calendar\/feeds\/([^/]*)/.exec(e))?decodeURIComponent(r[1]):null})(n.url)),t?{googleCalendarId:t,googleCalendarApiKey:n.googleCalendarApiKey,googleCalendarApiBase:n.googleCalendarApiBase,extraParams:n.extraParams}:null},fetch:function(n,t,e){var r=n.context,o=r.dateEnv,a=r.options,s=n.eventSource.meta,l=s.googleCalendarApiKey||a.googleCalendarApiKey;if(l){var c=(function(h){var v=h.googleCalendarApiBase;return v||(v=Oc),v+"/"+encodeURIComponent(h.googleCalendarId)+"/events"})(s),p=s.extraParams,d=typeof p=="function"?p():p,g=(function(h,v,E,w){var C,x,A;return w.canComputeOffset?(x=w.formatIso(h.start),A=w.formatIso(h.end)):(x=Pe(h.start,-1).toISOString(),A=Pe(h.end,1).toISOString()),C=b(b({},E||{}),{key:v,timeMin:x,timeMax:A,singleEvents:!0,maxResults:9999}),w.timeZone!=="local"&&(C.timeZone=w.timeZone),C})(n.range,l,d,o);_i("GET",c,g,(function(h,v){var E,w;h.error?e({message:"Google Calendar API: "+h.error.message,errors:h.error.errors,xhr:v}):t({rawEvents:(E=h.items,w=g.timeZone,E.map((function(C){return(function(x,A){var O=x.htmlLink||null;return O&&A&&(O=(function(H,L){return H.replace(/(\?.*?)?(#|$)/,(function(V,X,Z){return(X?X+"&":"?")+L+Z}))})(O,"ctz="+A)),{id:x.id,title:x.summary,start:x.start.dateTime||x.start.date,end:x.end.dateTime||x.end.date,url:O,location:x.location,description:x.description,attachments:x.attachments||[],extendedProps:(x.extendedProperties||{}).shared||{}}})(C,w)}))),xhr:v})}),(function(h,v){e({message:h,xhr:v})}))}else e({message:"Specify a googleCalendarApiKey. See http://fullcalendar.io/docs/google_calendar/"})}}],optionRefiners:{googleCalendarApiKey:String},eventSourceRefiners:{googleCalendarApiKey:String,googleCalendarId:String,googleCalendarApiBase:String,extraParams:P}});return Di.push(Zu,ic,Cc,Ic,Nc,Pc,Hc),m.BASE_OPTION_DEFAULTS=Se,m.BASE_OPTION_REFINERS=ve,m.BaseComponent=me,m.BgEvent=Fi,m.BootstrapTheme=Hn,m.Calendar=Pu,m.CalendarApi=Ea,m.CalendarContent=ps,m.CalendarDataManager=wi,m.CalendarDataProvider=du,m.CalendarRoot=fs,m.Component=Ro,m.ContentHook=mi,m.CustomContentRenderContext=vi,m.DateComponent=Kt,m.DateEnv=oi,m.DateProfileGenerator=Ei,m.DayCellContent=jo,m.DayCellRoot=Vo,m.DayGridView=Ks,m.DayHeader=ki,m.DaySeriesM
9odel=Ri,m.DayTable=Gi,m.DayTableModel=Ai,m.DayTableSlicer=Xs,m.DayTimeCols=cl,m.DayTimeColsSlicer=ul,m.DayTimeColsView=hl,m.DelayedRunner=Io,m.Draggable=qu,m.ElementDragging=Si,m.ElementScrollController=za,m.Emitter=$r,m.EventApi=Ae,m.EventRoot=Jr,m.EventSourceApi=Ne,m.FeaturefulElementDragging=cr,m.Fragment=Ge,m.Interaction=ur,m.ListView=vl,m.MoreLinkRoot=Ui,m.MountHook=Mo,m.NamedTimeZoneImpl=pu,m.NowIndicatorRoot=zo,m.NowTimer=br,m.PointerDragging=qo,m.PositionCache=Er,m.RefMap=bn,m.RenderHook=Tt,m.ScrollController=ko,m.ScrollResponder=Ya,m.Scroller=Pi,m.SegHierarchy=xi,m.SimpleScrollGrid=Uo,m.Slicer=Mi,m.Splitter=Oa,m.StandardEvent=Bi,m.Table=$s,m.TableDateCell=ms,m.TableDowCell=ys,m.TableView=zs,m.Theme=$n,m.ThirdPartyDraggable=Yu,m.TimeCols=ll,m.TimeColsSlatsCoords=nl,m.TimeColsView=tl,m.ViewApi=va,m.ViewContextType=En,m.ViewRoot=lr,m.WeekNumberRoot=Wi,m.WindowScrollController=ja,m.addDays=Pe,m.addDurations=Vn,m.addMs=$t,m.addWeeks=dr,m.allowContextMenu=kr,m.allowSelection=Sr,m.applyMutationToEventStore=xo,m.applyStyle=Be,m.applyStyleProp=Qe,m.asCleanDays=function(n){return n.years||n.months||n.milliseconds?0:n.days},m.asRoughMinutes=function(n){return Ve(n)/6e4},m.asRoughMs=Ve,m.asRoughSeconds=function(n){return Ve(n)/1e3},m.binarySearch=Oo,m.buildClassNameNormalizer=yi,m.buildDayRanges=dl,m.buildDayTableModel=Qs,m.buildEntryKey=Kn,m.buildEventApis=Zn,m.buildEventRangeKey=ti,m.buildHashFromArray=function(n,t){for(var e={},r=0;r<n.length;r+=1){var o=t(n[r],r);e[o[0]]=o[1]}return e},m.buildIsoString=gr,m.buildNavLinkAttrs=sr,m.buildSegCompareObj=la,m.buildSegTimeText=yr,m.buildSlatMetas=fl,m.buildTimeColsModel=gl,m.collectFromHash=lo,m.combineEventUis=Qo,m.compareByFieldSpec=Mr,m.compareByFieldSpecs=Ar,m.compareNumbers=Nr,m.compareObjs=Ut,m.computeEarliestSegStart=zi,m.computeEdges=Fa,m.computeFallbackHeaderFormat=hs,m.computeHeightAndMargins=function(n){return n.getBoundingClientRect().height+(function(t){var e=window.getComputedStyle(t);return parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)})(n)},m.computeInnerRect=Wa,m.computeRect=So,m.computeSegDraggable=ua,m.computeSegEndResizable=da,m.computeSegStartResizable=ca,m.computeShrinkWidth=Cs,m.computeSmallestCellWidth=dn,m.computeVisibleDayRange=Eo,m.config=Kr,m.constrainPoint=Ia,m.createAriaClickAttrs=Zt,m.createContext=fi,m.createDuration=ue,m.createElement=_,m.createEmptyEventStore=_l,m.createEventInstance=hn,m.createEventUi=jr,m.createFormatter=ae,m.createPlugin=xt,m.createPortal=qa,m.createRef=qe,m.diffDates=ir,m.diffDayAndTime=Xt,m.diffDays=Ft,m.diffPoints=Pa,m.diffWeeks=Or,m.diffWholeDays=tr,m.diffWholeWeeks=io,m.disableCursor=Wn,m.elementClosest=Te,m.elementMatches=Ke,m.enableCursor=Un,m.eventTupleToStore=mr,m.filterEventStoreDefs=zr,m.filterHash=Wt,m.findDirectChildren=function(n,t){for(var e=n instanceof HTMLElement?[n]:n,r=[],o=0;o<e.length;o+=1)for(var a=e[o].children,s=0;s<a.length;s+=1){var l=a[s];t&&!Ke(l,t)||r.push(l)}return r},m.findElements=Dt,m.flexibleCompare=Ir,m.flushSync=hi,m.formatDate=function(n,t){t===void 0&&(t={});var e=Ra(t),r=ae(t),o=e.createMarkerMeta(n);return o?e.format(o.marker,r,{forcedTzo:o.forcedTzo}):""},m.formatDayString=qn,m.formatIsoTimeString=Gn,m.formatRange=function(n,t,e){var r=Ra(typeof e=="object"&&e?e:{}),o=ae(e),a=r.createMarkerMeta(n),s=r.createMarkerMeta(t);return a&&s?r.formatRange(a.marker,s.marker,o,{forcedStartTzo:a.forcedTzo,forcedEndTzo:s.forcedTzo,isEndExclusive:e.isEndExclusive,defaultSeparator:Se.defaultRangeSeparator}):""},m.getAllowYScrolling=xs,m.getCanVGrowWithinCell=li,m.getClippingParents=pi,m.getDateMeta=To,m.getDayClassNames=Zr,m.getDefaultEventEnd=Co,m.getElRoot=Fn,m.getElSeg=ar,m.getEntrySpanEnd=No,m.getEventClassNames=pa,m.getEventTargetViaRoot=Ln,m.getIsRtlScrollbarOnLeft=Ha,m.getRectCenter=Na,m.getRelevantEvents=fo,m.getScrollGridClassNames=Ms,m.getScrollbarWidths=Ba,m.getSectionClassNames=Is,m.getSectionHasLiquidHeight=Oi,m.getSegAnchorAttrs=wo,m.getSegMeta=yn,m.getSlotClassNames=function(n,t){var e=["fc-slot","fc-slot-"+Pr[n.dow]];return n.isDisabled?e.push("fc-slot-disabled"):(n.isToday&&(e.push("fc-slot-today"),e.push(t.getClass("today"))),n.isPast&&e.push("fc-slot-past"),n.isFuture&&e.push("fc-slot-future")),e},m.getStickyFooterScrollbar=Hi,m.getStickyHeaderDates=Qr,m.getUnequalProps=fr,m.getUniqueDomId=wt,m.globalLocales=Ca,m.globalPlugins=Di,m.greatestDurationDenominator=rr,m.groupIntersectingEntries=us,m.guid=un,m.hasBgRendering=aa,m.hasShrinkWidth=As,m.identity=P,m.interactionSettingsStore=Xr,m.interactionSettingsToStore=Ho,m.intersectRanges=Yn,m.intersectRects=si,m.intersectSpans=Po,m.isArraysEqual=jt,m.isColPropsEqual=Ss,m.isDateSelectionValid=bs,m.isDateSpansEqual=fa,m.isInt=An,m.isInteractionValid=Lo,m.isMultiDayRange=ra,m.isPropsEqual=gt,m.isPropsValid=Ds,m.isValidDate=Lr,m.joinSpans=cs,m.listenBySelector=kn,m.mapHash=Rt,m.memoize=K,m.memoizeArraylike=function(n,t,e){var r=this,o=[],a=[];return function(s){for(var l=o.length,c=s.length,p=0;p<l;p+=1)if(s[p]){if(!jt(o[p],s[p])){e&&e(a[p]);var d=n.apply(r,s[p]);t&&t(d,a[p])||(a[p]=d)}}else e&&e(a[p]);for(;p<c;p+=1)a[p]=n.apply(r,s[p]);return o=s,a.splice(c),a}},m.memoizeHashlike=function(n,t,e){var r=this,o={},a={};return function(s){var l={};for(var c in s)if(a[c])if(jt(o[c],s[c]))l[c]=a[c];else{e&&e(a[c]);var p=n.apply(r,s[c]);l[c]=t&&t(p,a[c])?a[c]:p}else l[c]=n.apply(r,s[c]);return o=s,a=l,l}},m.memoizeObjArg=vn,m.mergeEventStores=ho,m.multiplyDuration=Ur,m.padStart=cn,m.parseBusinessHours=Aa,m.parseClassNames=go,m.parseDragMeta=Bo,m.parseEventDef=Vr,m.parseFieldSpecs=Rr,m.parseMarker=wa,m.pointInsideRect=Ma,m.preventContextMenu=oo,m.preventDefault=Sn,m.preventSelection=Tr,m.rangeContainsMarker=On,m.rangeContainsRange=qr,m.rangesEqual=ia,m.rangesIntersect=bo,m.refineEventDef=yo,m.refineProps=At,m.removeElement=_t,m.removeExact=function(n,t){for(var e=0,r=0;r<n.length;)n[r]===t?(n.splice(r,1),e+=1):r+=1;return e},m.render=Va,m.renderChunkContent=Ts,m.renderFill=Li,m.renderMicroColGroup=ks,m.render
9ScrollShim=Wo,m.requestJson=_i,m.sanitizeShrinkWidth=Rs,m.setElSeg=ei,m.setRef=Vt,m.sliceEventStore=Gr,m.sliceEvents=function(n,t){return Gr(n.eventStore,n.eventUiBases,n.dateProfile.activeRange,t?n.nextDayThreshold:null).fg},m.sortEventSegs=Do,m.startOfDay=De,m.translateRect=function(n,t,e){return{left:n.left+t,right:n.right+t,top:n.top+e,bottom:n.bottom+e}},m.triggerDateSelect=ni,m.unmountComponentAtNode=Ga,m.unpromisify=Ua,m.version="5.11.5",m.whenTransitionDone=Ct,m.wholeDivideDurations=nr,Object.defineProperty(m,"__esModule",{value:!0}),m})({});[].push.apply(FullCalendar.globalLocales,(function(){"use strict";var m={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"},J={code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},W={code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},b={code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},se={code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},ke={code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},q={code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},we={code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},ce={code:"az",week:{dow:1,doy:4},buttonText:{prev:"\u018Fvv\u0259l",next:"Sonra",today:"Bu G\xFCn",month:"Ay",week:"H\u0259ft\u0259",day:"G\xFCn",list:"G\xFCnd\u0259m"},weekText:"H\u0259ft\u0259",allDayText:"B\xFCt\xFCn G\xFCn",moreLinkText:function(I){return"+ daha \xE7ox "+I},noEventsText:"G\xF6st\u0259rm\u0259k \xFC\xE7\xFCn hadis\u0259 yoxdur"},Re={code:"bg",week:{dow:1,doy:7},buttonText:{prev:"\u043D\u0430\u0437\u0430\u0434",next:"\u043D\u0430\u043F\u0440\u0435\u0434",today:"\u0434\u043D\u0435\u0441",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u0421\u0435\u0434\u043C\u0438\u0446\u0430",day:"\u0414\u0435\u043D",list:"\u0413\u0440\u0430\u0444\u0438\u043A"},allDayText:"\u0426\u044F\u043B \u0434\u0435\u043D",moreLinkText:function(I){return"+\u043E\u0449\u0435 "+I},noEventsText:"\u041D\u044F\u043C\u0430 \u0441\u044A\u0431\u0438\u0442\u0438\u044F \u0437\u0430 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435"},Ce={code:"bn",week:{dow:0,doy:6},buttonText:{prev:"\u09AA\u09C7\u099B\u09A8\u09C7",next:"\u09B8\u09BE\u09AE\u09A8\u09C7",today:"\u0986\u099C",month:"\u09AE\u09BE\u09B8",week:"\u09B8\u09AA\u09CD\u09A4\u09BE\u09B9",day:"\u09A6\u09BF\u09A8",list:"\u09A4\u09BE\u09B2\u09BF\u0995\u09BE"},weekText:"\u09B8\u09AA\u09CD\u09A4\u09BE\u09B9",allDayText:"\u09B8\u09BE\u09B0\u09BE\u09A6\u09BF\u09A8",moreLinkText:function(I){return"+\u0985\u09A8\u09CD\u09AF\u09BE\u09A8\u09CD\u09AF "+I},noEventsText:"\u0995\u09CB\u09A8\u09CB \u0987\u09AD\u09C7\u09A8\u09CD\u099F \u09A8\u09C7\u0987"},Ue={code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Pro\u0161li",next:"Sljede\u0107i",today:"Danas",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:function(I){return"+ jo\u0161 "+I},noEventsText:"Nema doga\u0111aja za prikazivanje"},et={code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seg\xFCent",today:"Avui",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"m\xE9s",noEventsText:"No hi ha esdeveniments per mostrar"},st={code:"cs",week:{dow:1,doy:4},buttonText:{prev:"D\u0159\xEDve",next:"Pozd\u011Bji",today:"Nyn\xED",month:"M\u011Bs\xEDc",week:"T\xFDden",day:"Den",list:"Agenda"},weekText:"T\xFDd",allDayText:"Cel\xFD den",moreLinkText:function(I){return"+dal\u0161\xED: "+I},noEventsText:"\u017D\xE1dn\xE9 akce k zobrazen\xED"},Ye={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"},Me={code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"N\xE6ste",today:"I dag",month:"M\xE5ned",week:"Uge",day:"Dag",list:"Agenda"}
9,weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"};function Oe(I){return I==="Tag"||I==="Monat"?"r":I==="Jahr"?"s":""}var qt={code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zur\xFCck",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Termin\xFCbersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganzt\xE4gig",moreLinkText:function(I){return"+ weitere "+I},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(I){return"Vorherige".concat(Oe(I)," ").concat(I)},next:function(I){return"N\xE4chste".concat(Oe(I)," ").concat(I)},today:function(I){return I==="Tag"?"Heute":"Diese".concat(Oe(I)," ").concat(I)}},viewHint:function(I){var Xe=I==="Woche"?"n":I==="Monat"?"s":"es";return I+Xe+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(I){return"Zeige "+(I===1?"ein weiteres Ereignis":I+" weitere Ereignisse")},closeHint:"Schlie\xDFen",timeHint:"Uhrzeit",eventHint:"Ereignis"};function be(I){return I==="Tag"||I==="Monat"?"r":I==="Jahr"?"s":""}var He={code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zur\xFCck",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Termin\xFCbersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganzt\xE4gig",moreLinkText:function(I){return"+ weitere "+I},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(I){return"Vorherige".concat(be(I)," ").concat(I)},next:function(I){return"N\xE4chste".concat(be(I)," ").concat(I)},today:function(I){return I==="Tag"?"Heute":"Diese".concat(be(I)," ").concat(I)}},viewHint:function(I){var Xe=I==="Woche"?"n":I==="Monat"?"s":"es";return I+Xe+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(I){return"Zeige "+(I===1?"ein weiteres Ereignis":I+" weitere Ereignisse")},closeHint:"Schlie\xDFen",timeHint:"Uhrzeit",eventHint:"Ereignis"},Ze={code:"el",week:{dow:1,doy:4},buttonText:{prev:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF\u03C2",next:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF\u03C2",today:"\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1",month:"\u039C\u03AE\u03BD\u03B1\u03C2",week:"\u0395\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B1",day:"\u0397\u03BC\u03AD\u03C1\u03B1",list:"\u0391\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1"},weekText:"\u0395\u03B2\u03B4",allDayText:"\u039F\u03BB\u03BF\u03AE\u03BC\u03B5\u03C1\u03BF",moreLinkText:"\u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1",noEventsText:"\u0394\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03BF\u03C5\u03BD \u03B3\u03B5\u03B3\u03BF\u03BD\u03CC\u03C4\u03B1 \u03C0\u03C1\u03BF\u03C2 \u03B5\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7"},tt={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(I){return"Show ".concat(I," more event").concat(I===1?"":"s")}},It={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(I){return"Show ".concat(I," more event").concat(I===1?"":"s")}},Qt={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(I){return"Show ".concat(I," more event").concat(I===1?"":"s")}},wn={code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Anta\u016Da",next:"Sekva",today:"Hodia\u016D",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},at={code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"D\xEDa",list:"Agenda"},weekText:"Sm",allDayText:"Todo el d\xEDa",moreLinkText:"m\xE1s",noEventsText:"No hay eventos para mostrar"},nt={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"D\xEDa",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:function(I){return I==="D\xEDa"?"Hoy":(I==="Semana"?"Esta":"Este")+" "+I.toLocaleLowerCase()}},viewHint:function(I){return"Vista "+(I==="Semana"?"de la":"del")+" "+I.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el d\xEDa",moreLinkText:"m\xE1s",moreLinkHint:function(I){return"Mostrar ".concat(I," eventos m\xE1s")},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},Gt={code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"J\xE4rgnev",today:"T\xE4na",month:"Kuu",week:"N\xE4dal",day:"P\xE4ev",list:"P\xE4evakord"},weekText:"n\xE4d",allDayText:"Kogu p\xE4ev",moreLinkText:function(I){return"+ veel "+I},noEventsText:"Kuvamiseks puuduvad s\xFCndmused"},Bn={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"},Jt={code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0642\u0628\u0644\u06CC",next:"\u0628\u0639\u062F\u06CC",today:"\u0627\u0645\u0631\u0648\u0632",month:"\u0645\u0627\u0647",week:"\u0647\u0641\u062A\u0647",day:"\u0631\u0648\u0632",list:"\u0628\u0631\u0646\u0627\u0645\u0647"},weekText:"\u0647\u0641",allDayText:"\u062A\u0645\u0627\u0645 \u0631\u0648\u0632",moreLinkText:function(I){return"\u0628\u06CC\u0634 \u0627\u0632 "+I},noEventsText:"\u0647\u06CC\u0686 \u0631\u0648\u06CC\u062F\u0627\u062F\u06CC \u0628\u0647 \u0646\u0645\u0627\u06CC\u0634"},Nt={code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"T\xE4n\xE4\xE4n",month:"Kuukausi",week:"Viikko",day:"P\xE4iv\xE4",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko p\xE4iv\xE4",moreLinkText:"lis\xE4\xE4",noEventsText:"Ei n\xE4ytett\xE4vi\xE4 tapahtumia"},yt={code:"fr",buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE9nement \xE0 afficher"},en={code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Courant",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE9nement \xE0 afficher"},St={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE9nement \xE0 afficher"},tn={code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",month:"Mes",week:"Semana",day:"D\xEDa",list:"Axenda"},weekText:"Sm",allDayText:"Todo o d\xEDa",moreLinkText:"m\xE1is",noEventsText:"Non hai eventos para amosar"},Pt={code:"he",direction:"rtl",buttonText:{prev:"\u05D4\u05E7\u05D5\u05D3\u05DD",next:"\u05D4\u05D1\u05D0",today:"\u05D4\u05D9\u05D5\u05DD",month:"\u05D7\u05D5\u05D3\u05E9",week:"\u05E9\u05D1\u05D5\u05E2",day:"\u05D9\u05D5\u05DD",list:"\u05E1\u05D3\u05E8 \u05D9\u05D5\u05DD"},allDayText:"\u05DB\u05DC \u05D4\u05D9\u05D5\u05DD",moreLinkText:"\u05D0\u05D7\u05E8",noEventsText:"\u05D0\u05D9\u05DF \u05D0\u05D9\u05E8\u05D5\u05E2\u05D9\u05DD \u05DC\u05D4\u05E6\u05D2\u05D4",weekText:"\u05E9\u05D1\u05D5\u05E2"},Ot={code:"hi",week:{dow:0,doy:6},buttonText:{prev:"\u092A\u093F\u091B\u0932\u093E",next:"\u0905\u0917\u0932\u093E",today:"\u0906\u091C",month:"\u092E\u0939\u0940\u0928\u093E",week:"\u0938\u092A\u094D\u0924\u093E\u0939",day:"\u0926\u093F\u0928",list:"\u0915\u093E\u0930\u094D\u092F\u0938\u0942\u091A\u0940"},weekText:"\u0939\u092B\u094D\u0924\u093E",allDayText:"\u0938\u092D\u0940 \u0926\u093F\u0928",moreLinkText:function(I){return"+\u0905\u0927\u093F\u0915 "+I},noEventsText:"\u0915\u094B\u0908 \u0918\u091F\u0928\u093E\u0913\u0902 \u0915\u094B \u092A\u094D\u0930\u0926\u0930\u094D\u0936\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},nn={code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prija\u0161nji",next:"Sljede\u0107i",today:"Danas",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:function(I){return"+ jo\u0161 "+I},noEventsText:"Nema doga\u0111aja za prikaz"},U={code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"el\u0151re",today:"ma",month:"H\xF3nap",week:"H\xE9t",day:"Nap",list:"Lista"},weekText:"H\xE9t",allDayText:"Eg\xE9sz nap",moreLinkText:"tov\xE1bbi",noEventsText:"Nincs megjelen\xEDthet\u0151 esem\xE9ny"},Ie={code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"\u0546\u0561\u056D\u0578\u0580\u0564",next:"\u0540\u0561\u057B\u0578\u0580\u0564",today:"\u0531\u0575\u057D\u0585\u0580",month:"\u0531\u0574\u056B\u057D",week:"\u0547\u0561\u0562\u0561\u0569",day:"\u0555\u0580",list:"\u0555\u0580\u057E\u0561 \u0581\u0578\u0582\u0581\u0561\u056F"},weekText:"\u0547\u0561\u0562",allDayText:"\u0531\u0574\u0562\u0578\u0572\u057B \u0585\u0580",moreLinkText:function(I){return"+ \u0587\u057D "+I},noEventsText:"\u0532\u0561\u0581\u0561\u056F\u0561\u0575\u0578\u0582\u0574 \u0567 \u056B\u0580\u0561\u0564\u0561\u0580\u0571\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0568 \u0581\u0578\u0582\u0581\u0561\u0564\u0580\u0565\u056C\u0578\u0582"},lt={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"},rt={code:"is",week:{dow:1,doy:4}
9,buttonText:{prev:"Fyrri",next:"N\xE6sti",today:"\xCD dag",month:"M\xE1nu\xF0ur",week:"Vika",day:"Dagur",list:"Dagskr\xE1"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir vi\xF0bur\xF0ir til a\xF0 s\xFDna"},dt={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(I){return"+altri "+I},noEventsText:"Non ci sono eventi da visualizzare"},ze={code:"ja",buttonText:{prev:"\u524D",next:"\u6B21",today:"\u4ECA\u65E5",month:"\u6708",week:"\u9031",day:"\u65E5",list:"\u4E88\u5B9A\u30EA\u30B9\u30C8"},weekText:"\u9031",allDayText:"\u7D42\u65E5",moreLinkText:function(I){return"\u4ED6 "+I+" \u4EF6"},noEventsText:"\u8868\u793A\u3059\u308B\u4E88\u5B9A\u306F\u3042\u308A\u307E\u305B\u3093"},je={code:"ka",week:{dow:1,doy:7},buttonText:{prev:"\u10EC\u10D8\u10DC\u10D0",next:"\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8",today:"\u10D3\u10E6\u10D4\u10E1",month:"\u10D7\u10D5\u10D4",week:"\u10D9\u10D5\u10D8\u10E0\u10D0",day:"\u10D3\u10E6\u10D4",list:"\u10D3\u10E6\u10D8\u10E1 \u10EC\u10D4\u10E1\u10E0\u10D8\u10D2\u10D8"},weekText:"\u10D9\u10D5",allDayText:"\u10DB\u10D7\u10D4\u10DA\u10D8 \u10D3\u10E6\u10D4",moreLinkText:function(I){return"+ \u10D9\u10D8\u10D3\u10D4\u10D5 "+I},noEventsText:"\u10E6\u10DD\u10DC\u10D8\u10E1\u10EB\u10D8\u10D4\u10D1\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1"},$e={code:"kk",week:{dow:1,doy:7},buttonText:{prev:"\u0410\u043B\u0434\u044B\u04A3\u0493\u044B",next:"\u041A\u0435\u043B\u0435\u0441\u0456",today:"\u0411\u04AF\u0433\u0456\u043D",month:"\u0410\u0439",week:"\u0410\u043F\u0442\u0430",day:"\u041A\u04AF\u043D",list:"\u041A\u04AF\u043D \u0442\u04D9\u0440\u0442\u0456\u0431\u0456"},weekText:"\u041D\u0435",allDayText:"\u041A\u04AF\u043D\u0456 \u0431\u043E\u0439\u044B",moreLinkText:function(I){return"+ \u0442\u0430\u0493\u044B "+I},noEventsText:"\u041A\u04E9\u0440\u0441\u0435\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u049B\u0438\u0493\u0430\u043B\u0430\u0440 \u0436\u043E\u049B"},Ht={code:"km",week:{dow:1,doy:4},buttonText:{prev:"\u1798\u17BB\u1793",next:"\u1794\u1793\u17D2\u1791\u17B6\u1794\u17CB",today:"\u1790\u17D2\u1784\u17C3\u1793\u17C1\u17C7",year:"\u1786\u17D2\u1793\u17B6\u17C6",month:"\u1781\u17C2",week:"\u179F\u1794\u17D2\u178F\u17B6\u17A0\u17CD",day:"\u1790\u17D2\u1784\u17C3",list:"\u1794\u1789\u17D2\u1787\u17B8"},weekText:"\u179F\u1794\u17D2\u178F\u17B6\u17A0\u17CD",allDayText:"\u1796\u17C1\u1789\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3",moreLinkText:"\u1785\u17D2\u179A\u17BE\u1793\u1791\u17C0\u178F",noEventsText:"\u1782\u17D2\u1798\u17B6\u1793\u1796\u17D2\u179A\u17B9\u178F\u17D2\u178F\u17B7\u1780\u17B6\u179A\u178E\u17CD\u178F\u17D2\u179A\u17BC\u179C\u1794\u1784\u17D2\u17A0\u17B6\u1789"},Bt={code:"ko",buttonText:{prev:"\uC774\uC804\uB2EC",next:"\uB2E4\uC74C\uB2EC",today:"\uC624\uB298",month:"\uC6D4",week:"\uC8FC",day:"\uC77C",list:"\uC77C\uC815\uBAA9\uB85D"},weekText:"\uC8FC",allDayText:"\uC885\uC77C",moreLinkText:"\uAC1C",noEventsText:"\uC77C\uC815\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},xe={code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u067E\u06CE\u0634\u062A\u0631",next:"\u062F\u0648\u0627\u062A\u0631",today:"\u0626\u06D5\u0645\u0695\u0648",month:"\u0645\u0627\u0646\u06AF",week:"\u0647\u06D5\u0641\u062A\u06D5",day:"\u0695\u06C6\u0698",list:"\u0628\u06D5\u0631\u0646\u0627\u0645\u06D5"},weekText:"\u0647\u06D5\u0641\u062A\u06D5",allDayText:"\u0647\u06D5\u0645\u0648\u0648 \u0695\u06C6\u0698\u06D5\u06A9\u06D5",moreLinkText:"\u0632\u06CC\u0627\u062A\u0631",noEventsText:"\u0647\u06CC\u0686 \u0695\u0648\u0648\u062F\u0627\u0648\u06CE\u0643 \u0646\u06CC\u06D5"},ee={code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zr\xE9ck",next:"Weider",today:"Haut",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"m\xE9i",noEventsText:"Nee Evenementer ze affich\xE9ieren"},Yt={code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"\u0160iandien",month:"M\u0117nuo",week:"Savait\u0117",day:"Diena",list:"Darbotvark\u0117"},weekText:"SAV",allDayText:"Vis\u0105 dien\u0105",moreLinkText:"daugiau",noEventsText:"N\u0117ra \u012Fvyki\u01
973 rodyti"},Cn={code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"N\u0101k.",today:"\u0160odien",month:"M\u0113nesis",week:"Ned\u0113\u013Ca",day:"Diena",list:"Dienas k\u0101rt\u012Bba"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:function(I){return"+v\u0113l "+I},noEventsText:"Nav notikumu"},rn={code:"mk",buttonText:{prev:"\u043F\u0440\u0435\u0442\u0445\u043E\u0434\u043D\u043E",next:"\u0441\u043B\u0435\u0434\u043D\u043E",today:"\u0414\u0435\u043D\u0435\u0441",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u041D\u0435\u0434\u0435\u043B\u0430",day:"\u0414\u0435\u043D",list:"\u0413\u0440\u0430\u0444\u0438\u043A"},weekText:"\u0421\u0435\u0434",allDayText:"\u0426\u0435\u043B \u0434\u0435\u043D",moreLinkText:function(I){return"+\u043F\u043E\u0432\u0435\u045C\u0435 "+I},noEventsText:"\u041D\u0435\u043C\u0430 \u043D\u0430\u0441\u0442\u0430\u043D\u0438 \u0437\u0430 \u043F\u0440\u0438\u043A\u0430\u0436\u0443\u0432\u0430\u045A\u0435"},pt={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(I){return"masih ada "+I+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},ft={code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",month:"M\xE5ned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser \xE5 vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"N\xE5v\xE6rende $0"},viewHint:"$0 visning",navLinkHint:"G\xE5 til $0",moreLinkHint:function(I){return"Vis ".concat(I," flere hendelse").concat(I===1?"":"r")}},kt={code:"ne",week:{dow:7,doy:1},buttonText:{prev:"\u0905\u0918\u093F\u0932\u094D\u0932\u094B",next:"\u0905\u0930\u094D\u0915\u094B",today:"\u0906\u091C",month:"\u092E\u0939\u093F\u0928\u093E",week:"\u0939\u092A\u094D\u0924\u093E",day:"\u0926\u093F\u0928",list:"\u0938\u0942\u091A\u0940"},weekText:"\u0939\u092A\u094D\u0924\u093E",allDayText:"\u0926\u093F\u0928\u092D\u0930\u093F",moreLinkText:"\u0925\u092A \u0932\u093F\u0902\u0915",noEventsText:"\u0926\u0947\u0916\u093E\u0909\u0928\u0915\u094B \u0932\u093E\u0917\u093F \u0915\u0941\u0928\u0948 \u0918\u091F\u0928\u093E\u0939\u0930\u0942 \u091B\u0948\u0928\u0928\u094D"},Et={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"},on={code:"nn",week:{dow:1,doy:4},buttonText:{prev:"F\xF8rre",next:"Neste",today:"I dag",month:"M\xE5nad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser \xE5 vise"},an={code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Nast\u0119pny",today:"Dzi\u015B",month:"Miesi\u0105c",week:"Tydzie\u0144",day:"Dzie\u0144",list:"Plan dnia"},weekText:"Tydz",allDayText:"Ca\u0142y dzie\u0144",moreLinkText:"wi\u0119cej",noEventsText:"Brak wydarze\u0144 do wy\u015Bwietlenia"},ht={code:"pt-br",buttonText:{prev:"Anterior",next:"Pr\xF3ximo",today:"Hoje",month:"M\xEAs",week:"Semana",day:"Dia",list:"Lista"},weekText:"Sm",allDayText:"dia inteiro",moreLinkText:function(I){return"mais +"+I},noEventsText:"N\xE3o h\xE1 eventos para mostrar"},Lt={code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",month:"M\xEAs",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"N\xE3o h\xE1 eventos para mostrar"},ut={code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedent\u0103",next:"urm\u0103toare",today:"Azi",month:"Lun\u0103",week:"S\u0103pt\u0103m\xE2n\u0103",day:"Zi",list:"Agend\u0103"},weekText:"S\u0103pt",allDayText:"Toat\u0103 ziua",moreLinkText:function(I){return"+alte "+I},noEventsText:"Nu exist\u0103 evenimente de afi\u0219at"},sn={code:"ru",week:{dow:1,doy:4},buttonText:{prev:"\u041F\u0440\u0435\u0434",next:"\u0421\u043B\u0435\u0434",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",month:"\u041C\u0435\u0441\u044F\u0446",week:"\u041D\u0435\u0434\u0435\u043B\u044F",day:"\u0414\u0435\u043D\u044C",list:"\u041F\u043E\u0432\u0435\u0441\u0442\u043A\u0430 \u0434\u043D\u044F"},weekText:"\u041D\u0435\u0434",allDayText:"\u0412\u0435\u0441\u044C \u0434\u0435\u043D\u044C",moreLinkText:function(I){return"+ \u0435\u0449\u0451 "+I},noEventsText:"\u041D\u0435\u0442 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F"},xn={code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"\u0DB4\u0DD9\u0DBB",next:"\u0DB4\u0DC3\u0DD4",today:"\u0D85\u0DAF",month:"\u0DB8\u0DCF\u0DC3\u0DBA",week:"\u0DC3\u0DAD\u0DD2\u0DBA",day:"\u0DAF\u0DC0\u0DC3",list:"\u0DBD\u0DD0\u0DBA\u0DD2\u0DC3\u0DCA\u0DAD\u0DD4\u0DC0"},weekText:"\u0DC3\u0DAD\u0DD2",allDayText:"\u0DC3\u0DD2\u0DBA\u0DBD\u0DD4",moreLinkText:"\u0DAD\u0DC0\u0DAD\u0DCA",noEventsText:"\u0DB8\u0DD4\u0D9A\u0DD4\u0DAD\u0DCA \u0DB1\u0DD0\u0DAD"},y={code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predch\xE1dzaj\xFAci",next:"Nasleduj\xFAci",today:"Dnes",month:"Mesiac",week:"T\xFD\u017Ede\u0148",day:"De\u0148",list:"Rozvrh"},weekText:"Ty",allDayText:"Cel\xFD de\u0148",moreLinkText:function(I){return"+\u010Fal\u0161ie: "+I},noEventsText:"\u017Diadne akcie na zobrazenie"},D={code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prej\u0161nji",next:"Naslednji",today:"Trenutni",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"ve\u010D",noEventsText:"Ni dogodkov za prikaz"},R={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"},N={code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"P\xEBrpara",today:"sot",month:"Muaj",week:"Jav\xEB",day:"Dit\xEB",list:"List\xEB"},weekText:"Ja",allDayText:"Gjith\xEB dit\xEBn",moreLinkText:function(I){return"+m\xEB tep\xEBr "+I},noEventsText:"Nuk ka evente p\xEBr t\xEB shfaqur"},F={code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"\u041F\u0440\u0435\u0442\u0445\u043E\u0434\u043D\u0430",next:"\u0441\u043B\u0435\u0434\u0435\u045B\u0438",today:"\u0414\u0430\u043D\u0430\u0441",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u041D\u0435\u0434\u0435\u0459\u0430",day:"\u0414\u0430\u043D",list:"\u041F\u043B\u0430\u043D\u0435\u0440"},weekText:"\u0421\u0435\u0434",allDayText:"\u0426\u0435\u043E \u0434\u0430\u043D",moreLinkText:function(I){return"+ \u0458\u043E\u0448 "+I},noEventsText:"\u041D\u0435\u043C\u0430 \u0434\u043E\u0433\u0430\u0452\u0430\u0458\u0430 \u0437\u0430 \u043F\u0440\u0438\u043A\u0430\u0437"},z={code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledec\u0301i",today:"Danas",month:"M\u0435s\u0435c",week:"N\u0435d\u0435lja",day:"Dan",list:"Plan\u0435r"},weekText:"Sed",allDayText:"C\u0435o dan",moreLinkText:function(I){return"+ jo\u0161 "+I},noEventsText:"N\u0435ma doga\u0111aja za prikaz"},j={code:"sv",week:{dow:1,doy:4},buttonText:{prev:"F\xF6rra",next:"N\xE4sta",today:"Idag",month:"M\xE5nad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:function(I){return"F\xF6reg\xE5ende ".concat(I.toLocaleLowerCase())},next:function(I){return"N\xE4sta ".concat(I.toLocaleLowerCase())},today:function(I){return(I==="Program"?"Detta":"Denna")+" "+I.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"G\xE5 till $0",moreLinkHint:function(I){return"Visa ytterligare ".concat(I," h\xE4ndelse").concat(I===1?"":"r")},weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga h\xE4ndelser att visa",closeHint:"St\xE4ng",timeHint:"Klockan",eventHint:"H\xE4ndelse"},Q={code:"ta-in",week:{dow:1,doy:4}
9,buttonText:{prev:"\u0BAE\u0BC1\u0BA8\u0BCD\u0BA4\u0BC8\u0BAF",next:"\u0B85\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BA4\u0BC1",today:"\u0B87\u0BA9\u0BCD\u0BB1\u0BC1",month:"\u0BAE\u0BBE\u0BA4\u0BAE\u0BCD",week:"\u0BB5\u0BBE\u0BB0\u0BAE\u0BCD",day:"\u0BA8\u0BBE\u0BB3\u0BCD",list:"\u0BA4\u0BBF\u0BA9\u0B9A\u0BB0\u0BBF \u0B85\u0B9F\u0BCD\u0B9F\u0BB5\u0BA3\u0BC8"},weekText:"\u0BB5\u0BBE\u0BB0\u0BAE\u0BCD",allDayText:"\u0BA8\u0BBE\u0BB3\u0BCD \u0BAE\u0BC1\u0BB4\u0BC1\u0BB5\u0BA4\u0BC1\u0BAE\u0BCD",moreLinkText:function(I){return"+ \u0BAE\u0BC7\u0BB2\u0BC1\u0BAE\u0BCD "+I},noEventsText:"\u0B95\u0BBE\u0BA3\u0BCD\u0BAA\u0BBF\u0B95\u0BCD\u0B95 \u0BA8\u0BBF\u0B95\u0BB4\u0BCD\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8"},$={code:"th",week:{dow:1,doy:4},buttonText:{prev:"\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",next:"\u0E16\u0E31\u0E14\u0E44\u0E1B",prevYear:"\u0E1B\u0E35\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",nextYear:"\u0E1B\u0E35\u0E16\u0E31\u0E14\u0E44\u0E1B",year:"\u0E1B\u0E35",today:"\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",month:"\u0E40\u0E14\u0E37\u0E2D\u0E19",week:"\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C",day:"\u0E27\u0E31\u0E19",list:"\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23"},weekText:"\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C",allDayText:"\u0E15\u0E25\u0E2D\u0E14\u0E27\u0E31\u0E19",moreLinkText:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",noEventsText:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E34\u0E08\u0E01\u0E23\u0E23\u0E21\u0E17\u0E35\u0E48\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07"},_e={code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bug\xFCn",month:"Ay",week:"Hafta",day:"G\xFCn",list:"Ajanda"},weekText:"Hf",allDayText:"T\xFCm g\xFCn",moreLinkText:"daha fazla",noEventsText:"G\xF6sterilecek etkinlik yok"},te={code:"ug",buttonText:{month:"\u0626\u0627\u064A",week:"\u06BE\u06D5\u067E\u062A\u06D5",day:"\u0643\u06C8\u0646",list:"\u0643\u06C8\u0646\u062A\u06D5\u0631\u062A\u0649\u067E"},allDayText:"\u067E\u06C8\u062A\u06C8\u0646 \u0643\u06C8\u0646"},oe={code:"uk",week:{dow:1,doy:7},buttonText:{prev:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439",next:"\u0434\u0430\u043B\u0456",today:"\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456",month:"\u041C\u0456\u0441\u044F\u0446\u044C",week:"\u0422\u0438\u0436\u0434\u0435\u043D\u044C",day:"\u0414\u0435\u043D\u044C",list:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u0434\u0435\u043D\u043D\u0438\u0439"},weekText:"\u0422\u0438\u0436",allDayText:"\u0423\u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C",moreLinkText:function(I){return"+\u0449\u0435 "+I+"..."},noEventsText:"\u041D\u0435\u043C\u0430\u0454 \u043F\u043E\u0434\u0456\u0439 \u0434\u043B\u044F \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"},re={code:"uz",buttonText:{month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:function(I){return"+ yana "+I},noEventsText:"Ko'rsatish uchun voqealar yo'q"},ie={code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Tr\u01B0\u1EDBc",next:"Ti\u1EBFp",today:"H\xF4m nay",month:"Th\xE1ng",week:"Tu\xE2\u0300n",day:"Ng\xE0y",list:"L\u1ECBch bi\u1EC3u"},weekText:"Tu",allDayText:"C\u1EA3 ng\xE0y",moreLinkText:function(I){return"+ th\xEAm "+I},noEventsText:"Kh\xF4ng c\xF3 s\u1EF1 ki\u1EC7n \u0111\u1EC3 hi\u1EC3n th\u1ECB"},he={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"\u4E0A\u6708",next:"\u4E0B\u6708",today:"\u4ECA\u5929",month:"\u6708",week:"\u5468",day:"\u65E5",list:"\u65E5\u7A0B"},weekText:"\u5468",allDayText:"\u5168\u5929",moreLinkText:function(I){return"\u53E6\u5916 "+I+" \u4E2A"},noEventsText:"\u6CA1\u6709\u4E8B\u4EF6\u663E\u793A"},de={code:"zh-tw",buttonText:{prev:"\u4E0A\u6708",next:"\u4E0B\u6708",today:"\u4ECA\u5929",month:"\u6708",week:"\u9031",day:"\u5929",list:"\u6D3B\u52D5\u5217\u8868"},weekText:"\u5468",allDayText:"\u6574\u5929",moreLinkText:"\u986F\u793A\u66F4\u591A",noEventsText:"\u6CA1\u6709\u4EFB\u4F55\u6D3B\u52D5"},pe=[m,J,W,b,se,ke,q,we,ce,Re,Ce,Ue,et,st,Ye,Me,qt,He,Ze,tt,It,Qt,wn,at,nt,Gt,Bn,Jt,Nt,yt,en,St,tn,Pt,Ot,nn,U,Ie,lt,rt,dt,ze,je,$e,Ht,Bt,xe,ee,Yt,Cn,rn,pt,ft,kt,Et,on,an,ht,Lt,ut,sn,xn,y,D,R,N,F,z,j,Q,$,_e,te,oe,re,ie,he,de];return pe})());function smoothToPricing(m){document.getElementById(m)&&document.getElementById(m).scrollIntoView({behavior:"smooth"})}var popoverTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')),popoverList=popoverTriggerList.map(function(m){return new bootstrap.Popover(m)}
9),tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')),tooltipList=tooltipTriggerList.map(function(m){return new bootstrap.Tooltip(m)});function setAttributes(m,J){Object.keys(J).forEach(function(W){m.setAttribute(W,J[W])})}var myLatlng,mapOptions,map,marker,popoverList=(popoverTriggerList=[].slice.call(document.querySelectorAll('[data-toggle="popover"]'))).map(function(m){return new bootstrap.Popover(m)}),tooltipList=(tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-toggle="tooltip"]'))).map(function(m){return new bootstrap.Tooltip(m)});function dropDown(m){if(!document.querySelector(".dropdown-hover")){event.stopPropagation(),event.preventDefault();for(var J=m.parentElement.parentElement.children,W=0;W<J.length;W++)J[W].lastElementChild!=m.parentElement.lastElementChild&&(J[W].lastElementChild.classList.remove("show"),J[W].firstElementChild.classList.remove("show"));m.nextElementSibling.classList.contains("show")?(m.nextElementSibling.classList.remove("show"),m.classList.remove("show")):(m.nextElementSibling.classList.add("show"),m.classList.add("show"))}}if(document.querySelector(".blur-shadow-image"))for(var shadowCards=document.querySelectorAll(".blur-shadow-image"),i=0;i<shadowCards.length;i++){var div=document.createElement("DIV"),currentSrc=(shadowCards[i].parentElement.appendChild(div),div.classList.add("colored-shadow"),shadowCards[i].children[0].getAttribute("src"));(el=shadowCards[i].nextElementSibling).style.backgroundImage="url("+currentSrc+")"}if(document.querySelector(".blur-shadow-avatar"))for(shadowCards=document.querySelectorAll(".blur-shadow-avatar"),i=0;i<shadowCards.length;i++){for(var div=document.createElement("DIV"),avatarClasses=(shadowCards[i].parentElement.appendChild(div),div.classList.add("colored-shadow","start-0","end-0","mx-auto"),["avatar-xs","avatar-sm","avatar-lg","avatar-xl","avatar-xxl"]),k=0;k<avatarClasses.length;k++)shadowCards[i].firstElementChild.classList.contains(avatarClasses[k])&&div.classList.add(avatarClasses[k]);var el,currentSrc=shadowCards[i].children[0].getAttribute("src");(el=shadowCards[i].nextElementSibling).style.backgroundImage="url("+currentSrc+")"}document.querySelector("#google-maps")&&(mapOptions={zoom:13,center:myLatlng=new google.maps.LatLng(40.748817,-73.985428),scrollwheel:!1,styles:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#444444"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{color:"#C5CBF5"},{visibility:"on"}]}]},map=new google.maps.Map(document.getElementById("google-maps"),mapOptions),(marker=new google.maps.Marker({position:myLatlng,title:"Hello World!"})).setMap(map));var total=document.querySelectorAll(".nav-pills");function getEventTarget(m){return(m=m||window.event).target||m.srcElement}function copyCode(m){const J=window.getSelection(),W=document.createRange();var b,se=m.nextElementSibling;W.selectNodeContents(se),J.removeAllRanges(),J.addRange(W),document.execCommand("copy"),window.getSelection().removeAllRanges(),m.parentElement.querySelector(".alert")||((b=document.createElement("div")).classList.add("alert","alert-success","position-absolute","top-0","border-0","text-white","w-25","end-0","start-0","mt-2","mx-auto","py-2"),b.style.transform="translate3d(0px, 0px, 0px)",b.style.opacity="0",b.style.transition=".35s ease",setTimeout(function(){b.style.transform="translate3d(0px, 20px, 0px)",b.style.setProperty("opacity","1","important")},100),b.innerHTML="Code successfully copied!",m.parentElement.appendChild(b),setTimeout(function(){b.style.transform="translate3d(0px, 0px, 0px)",b.style.setProperty("opacity","0","important")},2e3),setTimeout(function(){m.parentElement.querySelector(".alert").remove()},2500))}total.forEach(function(m,J){m.querySelector(".moving-tab")&&m.querySelector(".moving-tab").remove();var W=document.createElement("div"),b=m.querySelector("li .nav-link.active"),se=b.cloneNode();se.innerHTML="-",W.classList.add("moving-tab","position-absolute","nav-link","rounded-pill"),W.appendChild(se),m.getElementsByTagName("li").length;var q=Array.from(b.closest("ul").children).indexOf(b.closest("li"))+1;let we=0;if(W.style.padding="0px",W.style.width=m.querySelector("li .nav-link.active").offsetWidth+"px",m.classList.contains("flex-column")){for(var ce=1;ce<q;ce++)we+=m.querySelector("li:nth-child("+ce+")").offsetHeight;W.style.transform="translate3d(0px,"+we+"px, 0px)"}else{for(ce=1;ce<q;ce++)we+=m.querySelector("li:nth-child("+ce+")").offsetWidth;W.style.transform="translate3d("+we+"px, 0px, 0px)"}m.appendChild(W),W.style.transition=".5s ease",m.onmouseover=function(Re){let Ce=getEventTarget(Re),Ue=Ce.closest("li");if(Ue){let et=Array.from(Ue.closest("ul").children),st=et.indexOf(Ue)+1;m.querySelector("li:nth-child("+st+") .nav-link").onclick=function(){W=m.querySelector(".moving-tab");let Ye=0;if(m.classList.contains("flex-column")){for(var Me=1;Me<=et.indexOf(Ue);Me++)Ye+=m.querySelector("li:nth-child("+Me+")").offsetHeight;W.style.transform="translate3d(0px,"+Ye+"px, 0px)",W.style.height=m.querySelector("li:nth-child("+Me+")").offsetHeight}else{for(Me=1;Me<=et.indexOf(Ue);Me++)Ye+=m.querySelector("li:nth-child("+Me+")").offsetWidth;W.style.transform="translate3d("+Ye+"px, 0px, 0px)",W.style.width=m.querySelector("li:nth-child("+st+")").offsetWidth+"px"}}}}}),window.addEventListener("resize",function(m){total.forEach(function(J,W){J.querySelector(".moving-tab").remove();var b=document.createElement("div"),se=J.querySelector(".nav-link.active").cloneNode();se.innerHTML="-",b.classList.add("moving-tab","position-absolute","nav-link","rounded-pill"),b.appendChild(se),J.appendChild(b),b.style.padding="0px",b.style.transition=".5s ease";let ke=J.querySelector(".nav-link.active").parentElement;if(ke){let we=Array.from(ke.closest("ul").children);se=we.indexOf(ke)+1;let ce=0;if(J.classList.contains("flex-column")){for(var q=1;q<=we.indexOf(ke);q++)ce+=J.querySelector("li:nth-child("+q+")").offsetHeight;b.style.transform="translate3d(0px,"+ce+"px, 0px)",b.style.width=J.querySelector("li:nth-child("+se+")").offsetWidth+"px",b.style.height=J.querySelector("li:nth-child("+q+")").offsetHeight}
9else{for(q=1;q<=we.indexOf(ke);q++)ce+=J.querySelector("li:nth-child("+q+")").offsetWidth;b.style.transform="translate3d("+ce+"px, 0px, 0px)",b.style.width=J.querySelector("li:nth-child("+se+")").offsetWidth+"px"}}}),window.innerWidth<991?total.forEach(function(J,W){J.classList.contains("flex-column")||J.classList.add("flex-column","on-resize")}):total.forEach(function(J,W){J.classList.contains("on-resize")&&J.classList.remove("flex-column","on-resize")})});

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