forked from DGNum/metis
80 lines
639 KiB
JavaScript
80 lines
639 KiB
JavaScript
|
var app=function(){"use strict";function e(){}const t=e=>e;function n(e,t){for(const n in t)e[n]=t[n];return e}function r(e){return e()}function o(){return Object.create(null)}function i(e){e.forEach(r)}function s(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function l(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(l(t,n))}function c(e,t,n,r){if(e){const o=d(e,t,n,r);return e[0](o)}}function d(e,t,r,o){return e[1]&&o?n(r.ctx.slice(),e[1](o(t))):r.ctx}function f(e,t,n,r){if(e[2]&&r){const o=e[2](r(n));if(void 0===t.dirty)return o;if("object"==typeof o){const e=[],n=Math.max(t.dirty.length,o.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|o[r];return e}return t.dirty|o}return t.dirty}function p(e,t,n,r,o,i){if(o){const s=d(t,n,r,i);e.p(s,o)}}function h(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function g(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function v(e,t){const n={};t=new Set(t);for(const r in e)t.has(r)||"$"===r[0]||(n[r]=e[r]);return n}const m="undefined"!=typeof window;let y=m?()=>window.performance.now():()=>Date.now(),b=m?e=>requestAnimationFrame(e):e;const _=new Set;function w(e){_.forEach((t=>{t.c(e)||(_.delete(t),t.f())})),0!==_.size&&b(w)}function C(e){let t;return 0===_.size&&b(w),{promise:new Promise((n=>{_.add(t={c:e,f:n})})),abort(){_.delete(t)}}}const k="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function S(e,t){e.appendChild(t)}function E(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function x(e){const t=$("style");return function(e,t){S(e.head||e,t),t.sheet}(E(e),t),t.sheet}function R(e,t,n){e.insertBefore(t,n||null)}function D(e){e.parentNode&&e.parentNode.removeChild(e)}function T(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function $(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function I(e){return document.createTextNode(e)}function A(){return I(" ")}function O(){return I("")}function N(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function P(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function L(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const H=["width","height"];function W(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r]?e.removeAttribute(r):"style"===r?e.style.cssText=t[r]:"__value"===r?e.value=e[r]=t[r]:n[r]&&n[r].set&&-1===H.indexOf(r)?e[r]=t[r]:L(e,r,t[r])}function U(e,t){t=""+t,e.data!==t&&(e.data=t)}function z(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function j(e,t,n){e.classList[n?"add":"remove"](t)}function B(e,t,{bubbles:n=!1,cancelable:r=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,r,t),o}class F{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=M(t.nodeName):this.e=$(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)R(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(D)}}function q(e,t){return new e(t)}const V=new Map;let Y,G=0;function Z(e,t,n,r,o,i,s,a=0){const l=16.666/r;let u="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);u+=100*e+`%{${s(r,1-r)}}\n`}const c=u+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(c)}_${a}`,f=E(e),{stylesheet:p,rules:h}=V.get(f)||function(e,t){const n={stylesheet:x(t),rules:{}};return V.set(e,n),n}(f,e);h[d]||(h[d]=!0,p.insertRule(`@keyframes ${d} ${c}`,p.cssRules.leng
|
|||
|
/*!
|
|||
|
FullCalendar v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/var Nl=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;kn((function(){yn(mn(Ma,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),mn(vs.Provider,{value:r.customContentRenderId},mn(Da,Ue({isHeightAuto:o,forPrint:i},e)))})),r.el)}))}else r.isRendered&&(r.isRendered=!1,Sn(r.el),r.setClassNames([]),r.setHeight(""))},r.el=t,r.renderRunner=new Qs(r.handleRenderRequest),new na({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return We(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){var t=this;kn((function(){e.prototype.updateSize.call(t)}))},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!Lr(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,s=e;i<s.length;i++){o=s[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){In(this.el,"height",e)},t}(pi);function Pl(t){let n;return{c(){n=$("div"),L(n,"class",t[0]),L(n,"style",t[1])},m(e,r){R(e,n,r),t[7](n)},p(e,[t]){1&t&&L(n,"class",e[0]),2&t&&L(n,"style",e[1])},i:e,o:e,d(e){e&&D(n),t[7](null)}}}function Ll(e,t,n){let r,o,i,{class:s=null}=t,{style:a=null}=t,{options:l}=t;function u(){n(5,i=new Nl(o,l)),i.render()}return Q((async()=>{if(await Promise.resolve().then((function(){return hn})),r)return u(),()=>{i&&i.destroy()}})),e.$$set=e=>{"class"in e&&n(0,s=e.class),"style"in e&&n(1,a=e.style),"options"in e&&n(3,l=e.options)},e.$$.update=()=>{44&e.$$.dirty&&n(6,r=l&&l.plugins&&l.plugins.length&&o&&!i),104&e.$$.dirty&&(i&&l&&l.plugins&&l.plugins.length&&(i.pauseRendering(),i.resetOptions(l),i.resumeRendering()),r&&u())},[s,a,o,l,function(){return i},i,r,function(e){oe[e?"unshift":"push"]((()=>{o=e,n(2,o)}))}]}class Hl extends Ne{constructor(e){super(),Oe(this,e,Ll,Pl,a,{class:0,style:1,options:3,getAPI:4})}get getAPI(){return this.$$.ctx[4]}}gn("");gn("");
|
|||
|
/*!
|
|||
|
FullCalendar v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var Wl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=bn(),t}return We(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],i=dl(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),mn(ks,{viewSpec:r.viewSpec},(function(e,t){return mn("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},mn(pl,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var i=this.props,s=this.context,a=!i.forPrint&&dl(s.options),l=!i.forPrint&&fl(s.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:cl}]}),mn(ks,{viewSpec:s.viewSpec},(function(e,t){return mn("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},mn(o,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},t}(cs);function Ul(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var s=i[o];n[s.row].push(s)}return n}function zl(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var s=i[o];n[s.firstCol].push(s)}return n}function jl(e,t){var n=[];if(e){for(s=0;s<t;s+=1)n[s]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var s=0;s<t;s+=1)n[s]=null;return n}var Bl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=ji(this.context,e.date);return mn(bl,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:Fl},(function(n,r){return(r||e.forceDayTop)&&mn("div",{className:"fc-daygrid-day-top",ref:n},mn("a",Ue({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||mn(_n,null," ")))}))},t}(ss);function Fl(e){return e.dayNumberText}var ql=to({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Vl(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var Yl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props;return mn(gl,Ue({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:ql,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(ss),Gl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||ql,r=Ko(e.seg,n,t,!0,e.defaultDisplayEventEnd);return mn(hl,{seg:e.seg,timeText:r,defaultContent:Zl,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,o,i){return mn("a",Ue({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},Qo(e.seg,t)),i)}))},t}(ss);function Zl(e){return mn(_n,null,mn("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&mn("div",{className:"fc-event-time"},e.timeText),mn("div",{className:"fc-event-title"},e.event.title||mn(_n,null," ")))}var Kl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=Hr(Xl),t}return We(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var Ku="2023-05-08",Xu=372,Ju=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],Qu={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};var ec=ds({optionRefiners:{schedulerLicenseKey:String},viewContainerAppends:[function(e){var t=e.options.schedulerLicenseKey,n="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(n)){var r=function(e){if(-1!==Ju.indexOf(e))return"valid";var t=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(t&&10===t[1].length){var n=new Date(1e3*parseInt(t[2],10)),r=new Date(Ca.mockSchedulerReleaseDate||Ku);if(ar(r))return Kn(r,-Xu)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==r)return mn("div",{className:"fc-license-message",style:Qu},"outdated"===r?mn(_n,null,"Your license key is too old to work with this version. ",mn("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):mn(_n,null,"Your license key is invalid. ",mn("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
Ca.COLLAPSIBLE_WIDTH_THRESHOLD=1200;var tc=[],nc=[],rc=ds({deps:[ec],contextInit:function(e){tc.length||(window.addEventListener("beforeprint",oc),window.addEventListener("afterprint",ic)),tc.push(e),e.calendarApi.on("_unmount",(function(){!function(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n+=1):r+=1}(tc,e),tc.length||(window.removeEventListener("beforeprint",oc),window.removeEventListener("afterprint",ic))}))}});function oc(){for(var e=Tn(document.body,".fc-scroller-harness > .fc-scroller"),t=e.map((function(e){var t=window.getComputedStyle(e);return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,overflowX:t.overflowX,overflowY:t.overflowY,marginBottom:t.marginBottom}})),n=0,r=tc;n<r.length;n++){r[n].emitter.trigger("_beforeprint")}kn((function(){!function(e,t){e.forEach((function(e,n){e.style.overflowX="visible",e.style.overflowY="visible",e.style.marginBottom="",e.style.left=-t[n].scrollLeft+"px"}))}(e,t),nc.push((function(){return function(e,t){e.forEach((function(e,n){var r=t[n];e.style.overflowX=r.overflowX,e.style.overflowY=r.overflowY,e.style.marginBottom=r.marginBottom,e.style.left="",e.scrollLeft=r.scrollLeft,e.scrollTop=r.scrollTop}))}(e,t)})),nc.push(function(){var e=Tn(document.body,".fc-scrollgrid");return e.forEach(sc),function(){return e.forEach(ac)}}())}))}function ic(){for(var e=0,t=tc;e<t.length;e++){t[e].emitter.trigger("_afterprint")}kn((function(){for(;nc.length;)nc.shift()()}))}function sc(e){var t=e.getBoundingClientRect().width;(!e.classList.contains("fc-scrollgrid-collapsible")||t<Ca.COLLAPSIBLE_WIDTH_THRESHOLD)&&(e.style.width=t+"px")}function ac(e){e.style.width=""}var lc=["MO","TU","WE","TH","FR","SA","SU"],uc=function(){function e(e,t){if(0===t)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return e.fromStr=function(t){return new e(lc.indexOf(t))},e.prototype.nth=function(t){return this.n===t?this:new e(this.weekday,t)},e.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},e.prototype.toString=function(){var e=lc[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},e.prototype.getJsWeekday=function(){return 6===this.weekday?0:this.weekday+1},e}(),cc=function(e){return null!=e},dc=function(e){return"number"==typeof e},fc=function(e){return"string"==typeof e&&lc.includes(e)},pc=Array.isArray,hc=function(e,t){void 0===t&&(t=e),1===arguments.length&&(t=e,e=0);for(var n=[],r=e;r<t;r++)n.push(r);return n},gc=function(e,t){var n=0,r=[];if(pc(e))for(;n<t;n++)r[n]=[].concat(e);else for(;n<t;n++)r[n]=e;return r};function vc(e,t,n){void 0===n&&(n=" ");var r=String(e);return t>>=0,r.length>t?String(r):((t-=r.length)>n.length&&(n+=gc(n,t/n.length)),n.slice(0,t)+String(r))}var mc,yc=function(e,t,n){var r=e.split(t);return n?r.slice(0,n).concat([r.slice(n).join(t)]):r},bc=function(e,t){var n=e%t;return n*t<0?n+t:n},_c=function(e,t){return{div:Math.floor(e/t),mod:bc(e,t)}},wc=function(e){return!cc(e)||0===e.length},Cc=function(e){return!wc(e)},kc=function(e,t){return Cc(e)&&-1!==e.indexOf(t)},Sc=function(e,t,n,r,o,i){return void 0===r&&(r=0),void 0===o&&(o=0),void 0===i&&(i=0),new Date(Date.UTC(e,t-1,n,r,o,i))},Ec=[31,28,31,30,31,30,31,31,30,31,30,31],xc=864e5,Rc=9999,Dc=Sc(1970,1,1),Tc=[6,0,1,2,3,4,5],$c=function(e){return e%4==0&&e%100!=0||e%400==0},Mc=function(e){return e instanceof Date},Ic=function(e){return Mc(e)&&!isNaN(e.getTime())},Ac=function(e){return 60*e.getTimezoneOffset()*1e3},Oc=function(e){return n=Dc,r=(t=e).getTime()-Ac(t)-(n.getTime()-Ac(n)),Math.round(r/xc);var t,n,r},Nc=function(e){return new Date(Dc.getTime()+e*xc)},Pc=function(e){var t=e.getUTCMonth();return 1===t&&$c(e.getUTCFullYear())?29:Ec[t]},Lc=function(e){return Tc[e.getUTCDay()]},Hc=function(e,t){var n=Sc(e,t+1,1);return[Lc(n),Pc(n)]},Wc=function(e,t){return t=t||e,new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},Uc=function(e){return new Date(e.getTime())},zc=function(e){for(var t=[],n=0;n<e.length;n++)t.push(Uc(e[n]));return t},jc=function(e){e.sort((func
|
|||
|
/*!
|
|||
|
FullCalendar v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/var of=ds({recurringTypes:[{parse:function(e,t){if(null!=e.rrule){var n=function(e,t){var n,r=!1,o=!1;if("string"==typeof e.rrule){var i=function(e){var t=Kd(e,{forceset:!0}),n=function(e){var t=!1,n=!1;function r(e,r,o){var i=wi(o);t=t||!i.isTimeUnspecified,n=n||null!==i.timeZoneOffset}return e.replace(/\b(DTSTART:)([^\n]*)/,r),e.replace(/\b(EXDATE:)([^\n]*)/,r),e.replace(/\b(UNTIL=)([^;\n]*)/,r),{isTimeSpecified:t,isTimeZoneSpecified:n}}(e);return Ue({rruleSet:t},n)}(e.rrule);n=i.rruleSet,r=i.isTimeSpecified,o=i.isTimeZoneSpecified}if("object"==typeof e.rrule&&e.rrule){i=sf(e.rrule,t);(n=new ef).rrule(i.rrule),r=i.isTimeSpecified,o=i.isTimeZoneSpecified}for(var s=[].concat(e.exdate||[]),a=[].concat(e.exrule||[]),l=0,u=s;l<u.length;l++){i=wi(u[l]);r=r||!i.isTimeUnspecified,o=o||null!==i.timeZoneOffset,n.exdate(new Date(i.marker.valueOf()-60*(i.timeZoneOffset||0)*1e3))}for(var c=0,d=a;c<d.length;c++){i=sf(d[c],t);r=r||i.isTimeSpecified,o=o||i.isTimeZoneSpecified,n.exrule(i.rrule)}return{rruleSet:n,isTimeSpecified:r,isTimeZoneSpecified:o}}(e,t);if(n)return{typeData:{rruleSet:n.rruleSet,isTimeZoneSpecified:n.isTimeZoneSpecified},allDayGuess:!n.isTimeSpecified,duration:e.duration}}return null},expand:function(e,t,n){return e.isTimeZoneSpecified?e.rruleSet.between(n.toDate(t.start),n.toDate(t.end),!0).map((function(e){return n.createMarker(e)})):e.rruleSet.between(t.start,t.end,!0)}}],eventRefiners:{rrule:fo,exrule:fo,exdate:fo,duration:Er}});function sf(e,t){var n=!1,r=!1;function o(e){if("string"==typeof e){var t=wi(e);return t?(n=n||!t.isTimeUnspecified,r=r||null!==t.timeZoneOffset,new Date(t.marker.valueOf()-60*(t.timeZoneOffset||0)*1e3)):null}return e}var i=Ue(Ue({},e),{dtstart:o(e.dtstart),until:o(e.until),freq:lf(e.freq),wkst:null==e.wkst?(t.weekDow-1+7)%7:lf(e.wkst),byweekday:af(e.byweekday)});return{rrule:new Yd(i),isTimeSpecified:n,isTimeZoneSpecified:r}}function af(e){return Array.isArray(e)?e.map(lf):lf(e)}function lf(e){return"string"==typeof e?Yd[e.toUpperCase()]:e}gn("");
|
|||
|
/*!
|
|||
|
FullCalendar v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var uf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:On()},t}return We(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,o=e.viewApi,i=this.props,s=i.cellId,a=i.dayDate,l=i.todayRange,u=this.state.textId,c=Li(a,l),d=r.listDayFormat?n.format(a,r.listDayFormat):"",f=r.listDaySideFormat?n.format(a,r.listDaySideFormat):"",p=Ue({date:n.toDate(a),view:o,textId:u,text:d,sideText:f,navLinkAttrs:ji(this.context,a),sideNavLinkAttrs:ji(this.context,a,"day",!1)},c),h=["fc-list-day"].concat(Hi(c,t));return mn(gs,{hookProps:p,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:cf,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},(function(e,n,r,o){return mn("tr",{ref:e,className:h.concat(n).join(" "),"data-date":Nr(a)},mn("th",{scope:"colgroup",colSpan:3,id:s,"aria-labelledby":u},mn("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:r},o)))}))},t}(ss);function cf(e){return mn(_n,null,e.text&&mn("a",Ue({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&mn("a",Ue({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var df=to({hour:"numeric",minute:"2-digit",meridiem:"short"}),ff=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=e.timeHeaderId,o=e.eventHeaderId,i=e.dateHeaderId,s=t.options.eventTimeFormat||df;return mn(hl,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return function(e,t){var n=Qo(e,t);return mn("a",Ue({},n),e.eventRange.def.title)}(n,t)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,a,l,u,c){return mn("tr",{className:["fc-list-event",c.event.url?"fc-event-forced-url":""].concat(a).join(" "),ref:e},function(e,t,n,r,o){var i=n.options;if(!1!==i.displayEventTime){var s=e.eventRange.def,a=e.eventRange.instance,l=!1,u=void 0;if(s.allDay?l=!0:!function(e){var t=Io(e);return Jn(t.start,t.end)>1}(e.eventRange.range)?u=Ko(e,t,n):e.isStart?u=Ko(e,t,n,null,null,a.range.start,e.end):e.isEnd?u=Ko(e,t,n,null,null,e.start,a.range.end):l=!0,l){var c={text:n.options.allDayText,view:n.viewApi};return mn(gs,{hookProps:c,classNames:i.allDayClassNames,content:i.allDayContent,defaultContent:pf,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount},(function(e,t,n,i){return mn("td",{ref:e,headers:r+" "+o,className:["fc-list-event-time"].concat(t).join(" ")},i)}))}return mn("td",{className:"fc-list-event-time"},u)}return null}(n,s,t,r,i),mn("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},mn("span",{className:"fc-list-event-dot",style:{borderColor:c.borderColor||c.backgroundColor}})),mn("td",{ref:l,headers:o+" "+i,className:"fc-list-event-title"},u))}))},t}(ss);function pf(e){return e.text}var hf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=Hr(vf),t.eventStoreToSegs=Hr(t._eventStoreToSegs),t.state={timeHeaderId:On(),eventHeaderId:On(),dateHeaderIdRoot:On()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return We(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],o=this.computeDateVars(t.dateProfile),i=o.dayDates,s=o.dayRanges,a=this.eventStoreToSegs(t.eventStore,t.eventUiBases,s);return mn(ks,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,o){return mn("div",{ref:n,className:r.concat(o).join(" ")},mn(Ja,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},a.length>0?e.renderSegList(a,i):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return mn(gs,{hookProps:r,cl
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var bf,_f="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),wf=function(){function e(e){var t=this;this.el=e,this.emitter=new Ji,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new Qs(this._handleWheelWaited.bind(this)),this.scrollWaiter=new Qs(this._handleScrollWaited.bind(this)),this.handleScroll=function(){t.startScroll(),t.emitter.trigger("scroll",t.isRecentlyWheeled,t.isTouching),t.isRecentlyScrolled=!0,t.scrollWaiter.request(500)},this.handleWheel=function(){t.isRecentlyWheeled=!0,t.wheelWaiter.request(500)},this.handleTouchStart=function(){t.isTouching=!0},this.handleTouchEnd=function(){t.isTouching=!1,t.isRecentlyScrolled||t.endScroll()},e.addEventListener("scroll",this.handleScroll),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd);for(var n=0,r=_f;n<r.length;n++){var o=r[n];e.addEventListener(o,this.handleWheel)}}return e.prototype.destroy=function(){var e=this.el;e.removeEventListener("scroll",this.handleScroll),e.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.removeEventListener("touchend",this.handleTouchEnd);for(var t=0,n=_f;t<n.length;t++){var r=n[t];e.removeEventListener(r,this.handleWheel)}},e.prototype.startScroll=function(){this.isScrolling||(this.isScrolling=!0,this.emitter.trigger("scrollStart",this.isRecentlyWheeled,this.isTouching))},e.prototype.endScroll=function(){this.isScrolling&&(this.emitter.trigger("scrollEnd"),this.isScrolling=!1,this.isRecentlyScrolled=!0,this.isRecentlyWheeled=!1,this.scrollWaiter.clear(),this.wheelWaiter.clear())},e.prototype._handleScrollWaited=function(){this.isRecentlyScrolled=!1,this.isTouching||this.endScroll()},e.prototype._handleWheelWaited=function(){this.isRecentlyWheeled=!1},e}();function Cf(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(Sf()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function kf(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(Sf()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function Sf(){return bf||(bf=function(){var e,t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",t.style.width="1px",t.style.height="1px",t.style.overflow="scroll",t.style.direction="rtl",t.style.fontSize="100px",t.innerHTML="A",document.body.appendChild(t),t.scrollLeft>0?e="positive":(t.scrollLeft=1,e=t.scrollLeft>0?"reverse":"negative");return xn(t),e}())}var Ef,xf="undefined"!=typeof navigator&&/Edge/.test(navigator.userAgent),Rf=function(){function e(e,t){var n=this;this.scrollEl=e,this.isRtl=t,this.usingRelative=null,this.updateSize=function(){var e=n.scrollEl,t=Tn(e,".fc-sticky"),r=n.queryElGeoms(t),o=e.clientWidth,i=e.clientHeight;n.usingRelative?function(e,t,n,r,o){e.forEach((function(e,i){var s,a,l=t[i],u=l.naturalBound,c=l.parentBound,d=c.right-c.left,f=c.bottom-c.bottom;d>r||f>o?(s=n[i].left-u.left,a=n[i].top-u.top):(s="",a=""),Mn(e,{position:"relative",left:s,right:-s,top:a})}))}(t,r,n.computeElDestinations(r,o),o,i):function(e,t,n){e.forEach((function(e,r){var o,i=t[r],s=i.textAlign,a=i.elWidth,l=i.parentBound,u=l.right-l.left;Mn(e,{left:o="center"===s&&u>n?(n-a)/2:"",right:o,top:0})}))}(t,r,o)},this.usingRelative=!function(){null==Ef&&(Ef=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return xn(e),"sticky"===t}());return Ef}()||xf&&t,this.usingRelative&&(this.listener=new wf(e),this.listener.emitter.on("scrollEnd",this.updateSize))}return e.prototype.destroy=function(){this.listener&&this.listener.destroy()},e.prototype.queryElGeoms=function(e){for(var t=this.scrollEl,n=this.isRtl,r=function(e){var t=e.getBoundingClientRect(),n=Gi(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-Cf(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],i=0,s=e;i<s.length;i++){var a=s[i],l=Ii(Zi(a.parentNode,!0,!0),-r.left,-r.top),u=a.getBoundingClientRect(),c=window.getC
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var jf=18,Bf=6,Ff=200;Ca.MAX_TIMELINE_SLOTS=1e3;var qf=[{years:1},{months:1},{days:1},{hours:1},{minutes:30},{minutes:15},{minutes:10},{minutes:5},{minutes:1},{seconds:30},{seconds:15},{seconds:10},{seconds:5},{seconds:1},{milliseconds:500},{milliseconds:100},{milliseconds:10},{milliseconds:1}];function Vf(e,t,n,r){var o={labelInterval:n.slotLabelInterval,slotDuration:n.slotDuration};!function(e,t,n){var r=t.currentRange;if(e.labelInterval){n.countDurationsBetween(r.start,r.end,e.labelInterval)>Ca.MAX_TIMELINE_SLOTS&&(console.warn("slotLabelInterval results in too many cells"),e.labelInterval=null)}if(e.slotDuration){n.countDurationsBetween(r.start,r.end,e.slotDuration)>Ca.MAX_TIMELINE_SLOTS&&(console.warn("slotDuration results in too many cells"),e.slotDuration=null)}if(e.labelInterval&&e.slotDuration){var o=Ir(e.labelInterval,e.slotDuration);(null===o||o<1)&&(console.warn("slotLabelInterval must be a multiple of slotDuration"),e.slotDuration=null)}}(o,e,t),Zf(o,e,t),function(e,t,n){var r=t.currentRange,o=e.slotDuration;if(!o){for(var i=Zf(e,t,n),s=0,a=qf;s<a.length;s++){var l=Er(a[s]),u=Ir(i,l);if(null!==u&&u>1&&u<=Bf){o=l;break}}if(o)n.countDurationsBetween(r.start,r.end,o)>Ff&&(o=null);o||(o=i),e.slotDuration=o}}(o,e,t);var i=n.slotLabelFormat,s=Array.isArray(i)?i:null!=i?[i]:function(e,t,n,r){var o,i,s=e.labelInterval,a=Ar(s).unit,l=r.weekNumbers,u=o=i=null;"week"!==a||l||(a="day");switch(a){case"year":u={year:"numeric"};break;case"month":Kf("years",t,n)>1&&(u={year:"numeric"}),o={month:"short"};break;case"week":Kf("years",t,n)>1&&(u={year:"numeric"}),o={week:"narrow"};break;case"day":Kf("years",t,n)>1?u={year:"numeric",month:"long"}:Kf("months",t,n)>1&&(u={month:"long"}),l&&(o={week:"short"}),i={weekday:"narrow",day:"numeric"};break;case"hour":l&&(u={week:"short"}),Kf("days",t,n)>1&&(o={weekday:"short",day:"numeric",month:"numeric",omitCommas:!0}),i={hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"};break;case"minute":Mr(s)/6e4/60>=Bf?(u={hour:"numeric",meridiem:"short"},o=function(e){return":"+Fn(e.date.minute,2)}):u={hour:"numeric",minute:"numeric",meridiem:"short"};break;case"second":(function(e){return Mr(e)/1e3})(s)/60>=Bf?(u={hour:"numeric",minute:"2-digit",meridiem:"lowercase"},o=function(e){return":"+Fn(e.date.second,2)}):u={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"};break;case"millisecond":u={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"},o=function(e){return"."+Fn(e.millisecond,3)}}return[].concat(u||[],o||[],i||[])}(o,e,t,n);o.headerFormats=s.map((function(e){return to(e)})),o.isTimeScale=Boolean(o.slotDuration.milliseconds);var a=null;if(!o.isTimeScale){var l=Ar(o.slotDuration).unit;/year|month|week/.test(l)&&(a=l)}o.largeUnit=a,o.emphasizeWeeks=1===Rr(o.slotDuration)&&Kf("weeks",e,t)>=2&&!n.businessHours;var u,c,d=n.snapDuration;d&&(u=Er(d),c=Ir(o.slotDuration,u)),null==c&&(u=o.slotDuration,c=1),o.snapDuration=u,o.snapsPerSlot=c;var f=Mr(e.slotMaxTime)-Mr(e.slotMinTime),p=Yf(e.renderRange.start,o,t),h=Yf(e.renderRange.end,o,t);o.isTimeScale&&(p=t.add(p,e.slotMinTime),h=t.add(Kn(h,-1),e.slotMaxTime)),o.timeWindowMs=f,o.normalizedRange={start:p,end:h};for(var g=[],v=p;v<h;)Gf(v,o,e,r)&&g.push(v),v=t.add(v,o.slotDuration);o.slotDates=g;var m=-1,y=0,b=[],_=[];for(v=p;v<h;)Gf(v,o,e,r)?(m+=1,b.push(m),_.push(y)):b.push(m+.5),v=t.add(v,o.snapDuration),y+=1;return o.snapDiffToIndex=b,o.snapIndexToDiff=_,o.snapCnt=m+1,o.slotCnt=o.snapCnt/o.snapsPerSlot,o.isWeekStarts=function(e,t){for(var n=e.slotDates,r=e.emphasizeWeeks,o=null,i=[],s=0,a=n;s<a.length;s++){var l=a[s],u=t.computeWeekNumber(l),c=r&&null!==o&&o!==u;o=u,i.push(c)}return i}(o,t),o.cellRows=function(e,t){for(var n=e.slotDates,r=e.headerFormats,o=r.map((function(){return[]})),i=Rr(e.slotDuration),s=7===i?"week":1===i?"day":null,a=r.map((function(e){return e.getLargestUnit?e.getLargestUnit():null})),l=0;l<n.length;l+=1)for(var u=n[l],c=e.isWeekStarts[l],d=0;d<r.length;d+=1){var f=r[d],p=o[d],h=p[p.length-1],g=d===r.length-1,v=r.length>1&&!g,m=null,y=a[d]||(g?s:null);if(v){var b=t.fo
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/function kp(e,t){var n=e.resourceEditable;if(null==n){var r=e.sourceId&&t.getCurrentData().eventSources[e.sourceId];r&&(n=r.extendedProps.resourceEditable),null==n&&null==(n=t.options.eventResourceEditable)&&(n=t.options.editable)}return n}var Sp=function(){function e(){this.filterResources=Hr(Ep)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?{resourceStore:this.filterResources(t.resourceStore,t.options.filterResourcesWithEvents,t.eventStore,t.dateProfile.activeRange),resourceEntityExpansions:t.resourceEntityExpansions}:null},e}();function Ep(e,t,n,r){if(t){var o=function(e,t){return fr(e,(function(e){return Lo(e.range,t)}))}(n.instances,r),i=function(e,t){var n={};for(var r in e)for(var o=0,i=t[e[r].defId].resourceIds;o<i.length;o++){n[i[o]]=!0}return n}(o,n.defs);return Ue(i,function(e,t){var n={};for(var r in e)for(var o=void 0;(o=t[r])&&(r=o.parentId);)n[r]=!0;return n}(i,e)),fr(e,(function(e,t){return i[t]}))}return e}var xp=function(){function e(){this.buildResourceEventUis=Hr(Rp,vr),this.injectResourceEventUis=Hr(Dp)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?null:{eventUiBases:this.injectResourceEventUis(e.eventUiBases,e.eventStore.defs,this.buildResourceEventUis(t.resourceStore))}},e}();function Rp(e){return pr(e,(function(e){return e.ui}))}function Dp(e,t,n){return pr(e,(function(e,r){return r?function(e,t,n){for(var r=[],o=0,i=t.resourceIds;o<i.length;o++){var s=i[o];n[s]&&r.unshift(n[s])}return r.unshift(e),Co(r)}(e,t[r],n):e}))}var Tp=[];function $p(e){Tp.push(e)}function Mp(e){return Tp[e]}function Ip(){return Tp}var Ap={id:String,resources:fo,url:String,method:String,startParam:String,endParam:String,timeZoneParam:String,extraParams:fo};function Op(e){var t;if("string"==typeof e?t={url:e}:"function"==typeof e||Array.isArray(e)?t={resources:e}:"object"==typeof e&&e&&(t=e),t){var n=co(t,Ap),r=n.refined;!function(e){for(var t in e)console.warn("Unknown resource prop '"+t+"'")}(n.extra);var o=function(e){for(var t=Ip(),n=t.length-1;n>=0;n-=1){var r=t[n].parseMeta(e);if(r)return{meta:r,sourceDefId:n}}return null}(r);if(o)return{_raw:e,sourceId:Wn(),sourceDefId:o.sourceDefId,meta:o.meta,publicId:r.id||"",isFetching:!1,latestFetchId:"",fetchRange:null}}return null}function Np(e,t,n){var r=n.options,o=n.dateProfile;if(!e||!t)return Pp(r.initialResources||r.resources,o.activeRange,r.refetchResourcesOnNavigate,n);switch(t.type){case"RESET_RESOURCE_SOURCE":return Pp(t.resourceSourceInput,o.activeRange,r.refetchResourcesOnNavigate,n);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return function(e,t,n,r){if(n&&!function(e){return Boolean(Mp(e.sourceDefId).ignoreRange)}(e)&&(!e.fetchRange||(o=e.fetchRange,i=t,(null===o.start?null:o.start.valueOf())!==(null===i.start?null:i.start.valueOf())||(null===o.end?null:o.end.valueOf())!==(null===i.end?null:i.end.valueOf()))))return Lp(e,t,r);var o,i;return e}(e,o.activeRange,r.refetchResourcesOnNavigate,n);case"RECEIVE_RESOURCES":case"RECEIVE_RESOURCE_ERROR":return function(e,t,n){if(t===e.latestFetchId)return Ue(Ue({},e),{isFetching:!1,fetchRange:n});return e}(e,t.fetchId,t.fetchRange);case"REFETCH_RESOURCES":return Lp(e,o.activeRange,n);default:return e}}function Pp(e,t,n,r){if(e){var o=Op(e);return o=Lp(o,n?t:null,r)}return null}function Lp(e,t,n){var r=Mp(e.sourceDefId),o=Wn();return r.fetch({resourceSource:e,range:t,context:n},(function(e){n.dispatch({type:"RECEIVE_RESOURCES",fetchId:o,fetchRange:t,rawResources:e.rawResources})}),(function(e){n.dispatch({type:"RECEIVE_RESOURCE_ERROR",fetchId:o,fetchRange:t,error:e})})),Ue(Ue({},e),{isFetching:!0,latestFetchId:o})}var Hp="_fc:",Wp={id:String,parentId:String,children:fo,title:String,businessHours:fo,extendedProps:fo,eventEditable:Boolean,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventConstraint:fo,eventOverlap:Boolean,eventAllow:fo,eventClassNames:yo,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String};function Up(e,t,n,r){void 0===t&&(t="");var o=co(e
|
|||
|
/*!
|
|||
|
FullCalendar Scheduler v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/scheduler
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/function ch(e){for(var t=e.depth,n=e.hasChildren,r=e.isExpanded,o=e.onExpanderClick,i=[],s=0;s<t;s+=1)i.push(mn("span",{className:"fc-icon"}));var a=["fc-icon"];return n&&(r?a.push("fc-icon-minus-square"):a.push("fc-icon-plus-square")),i.push(mn("span",{className:"fc-datagrid-expander"+(n?"":" fc-datagrid-expander-placeholder"),onClick:o},mn("span",{className:a.join(" ")}))),mn.apply(void 0,ze([_n,{}],i))}function dh(e){return{resource:new Fp(e.context,e.resource),fieldValue:e.fieldValue,view:e.context.viewApi}}var fh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props;return mn(ms,{hookProps:e.hookProps,content:e.colSpec.cellContent,defaultContent:ph},(function(e,t){return mn("span",{className:"fc-datagrid-cell-main",ref:e},t)}))},t}(ss);function ph(e){return e.fieldValue||mn(_n,null," ")}var hh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Wr(dh),t.normalizeClassNames=_s(),t.onExpanderClick=function(e){var n=t.props;n.hasChildren&&t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:n.resource.id,isExpanded:!n.isExpanded})},t}return We(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.colSpec,o=this.refineHookProps({resource:t.resource,fieldValue:t.fieldValue,context:n}),i=this.normalizeClassNames(r.cellClassNames,o);return mn(bs,{hookProps:o,didMount:r.cellDidMount,willUnmount:r.cellWillUnmount},(function(n){return mn("td",{ref:n,role:"gridcell","data-resource-id":t.resource.id,className:["fc-datagrid-cell","fc-resource"].concat(i).join(" ")},mn("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},mn("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},r.isMain&&mn(ch,{depth:t.depth,hasChildren:t.hasChildren,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),mn(fh,{hookProps:o,colSpec:r}))))}))},t}(ss),gh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.colSpec,r={groupValue:e.fieldValue,view:t.viewApi};return mn(gs,{hookProps:r,classNames:n.cellClassNames,content:n.cellContent,defaultContent:vh,didMount:n.cellDidMount,willUnmount:n.cellWillUnmount},(function(t,n,r,o){return mn("td",{ref:t,role:"gridcell",rowSpan:e.rowSpan,className:["fc-datagrid-cell","fc-resource-group"].concat(n).join(" ")},mn("div",{className:"fc-datagrid-cell-frame fc-datagrid-cell-frame-liquid"},mn("div",{className:"fc-datagrid-cell-cushion fc-sticky",ref:r},o)))}))},t}(ss);function vh(e){return e.groupValue||mn(_n,null," ")}var mh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=e.resource,n=e.rowSpans,r=e.depth,o=lh(t);return mn("tr",{role:"row"},e.colSpecs.map((function(i,s){var a=n[s];if(0===a)return null;null==a&&(a=1);var l=i.field?o[i.field]:t.title||zp(t.id);return a>1?mn(gh,{key:s,colSpec:i,fieldValue:l,rowSpan:a}):mn(hh,{key:s,colSpec:i,resource:t,fieldValue:l,depth:r,hasChildren:e.hasChildren,isExpanded:e.isExpanded,innerHeight:e.innerHeight})})))},t}(ss);mh.addPropsEquality({rowSpans:Lr});var yh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerInnerRef=bn(),t.onExpanderClick=function(){var e=t.props;t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:e.id,isExpanded:!e.isExpanded})},t}return We(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r={groupValue:t.group.value,view:n.viewApi},o=t.group.spec;return mn("tr",{role:"row"},mn(gs,{hookProps:r,classNames:o.labelClassNames,content:o.labelContent,defaultContent:bh,didMount:o.labelDidMount,willUnmount:o.labelWillUnmount},(function(r,o,i,s){return mn("th",{ref:r,role:"columnheader",scope:"colgroup",colSpan:t.spreadsheetColCnt,className:["fc-datagrid-cell","fc-resource-group",n.theme.getClass("tableCellShaded")].concat(o).join(" ")},mn("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},mn("div",
|
|||
|
/**
|
|||
|
* @license
|
|||
|
* Lodash <https://lodash.com/>
|
|||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|||
|
* Released under MIT license <https://lodash.com/license>
|
|||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|||
|
*/
|
|||
|
var Rb,Db,Tb=(Rb=function(e,t){(function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",s=16,a=32,l=64,u=128,c=256,d=1/0,f=9007199254740991,p=NaN,h=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",a],["partialRight",l],["rearg",c]],v="[object Arguments]",m="[object Array]",y="[object Boolean]",b="[object Date]",_="[object Error]",w="[object Function]",C="[object GeneratorFunction]",k="[object Map]",S="[object Number]",E="[object Object]",x="[object Promise]",R="[object RegExp]",D="[object Set]",T="[object String]",$="[object Symbol]",M="[object WeakMap]",I="[object ArrayBuffer]",A="[object DataView]",O="[object Float32Array]",N="[object Float64Array]",P="[object Int8Array]",L="[object Int16Array]",H="[object Int32Array]",W="[object Uint8Array]",U="[object Uint8ClampedArray]",z="[object Uint16Array]",j="[object Uint32Array]",B=/\b__p \+= '';/g,F=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,G=RegExp(V.source),Z=RegExp(Y.source),K=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),oe=/^\s+/,ie=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",De="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",$e="["+Ce+"]",Me="["+De+"]",Ie="["+ke+"]",Ae="\\d+",Oe="["+Se+"]",Ne="["+Ee+"]",Pe="[^"+Ce+De+Ae+Se+Ee+xe+"]",Le="\\ud83c[\\udffb-\\udfff]",He="[^"+Ce+"]",We="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+xe+"]",je="\\u200d",Be="(?:"+Ne+"|"+Pe+")",Fe="(?:"+ze+"|"+Pe+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ye="(?:"+Ie+"|"+Le+")?",Ge="["+Re+"]?",Ze=Ge+Ye+"(?:"+je+"(?:"+[He,We,Ue].join("|")+")"+Ge+Ye+")*",Ke="(?:"+[Oe,We,Ue].join("|")+")"+Ze,Xe="(?:"+[He+Ie+"?",Ie,We,Ue,$e].join("|")+")",Je=RegExp(Te,"g"),Qe=RegExp(Ie,"g"),et=RegExp(Le+"(?="+Le+")|"+Xe+Ze,"g"),tt=RegExp([ze+"?"+Ne+"+"+qe+"(?="+[Me,ze,"$"].join("|")+")",Fe+"+"+Ve+"(?="+[Me,ze+Be,"$"].join("|")+")",ze+"?"+Be+"+"+qe,ze+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ae,Ke].join("|"),"g"),nt=RegExp("["+je+Ce+ke+Re+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,st={};st[O]=st[N]=st[P]=st[L]=st[H]=st[W]=st[U]=st[z]=st[j]=!0,st[v]=st[m]=st[I]=st[y]=st[A]=st[b]=st[_]=st[w]=st[k]=st[S]=st[E]=st[R]=st[D]=st[T]=st[M]=!1;var at={};at[v]=at[m]=at[I]=at[A]=at[y]=at[b]=at[O]=at[N]=at[P]=at[L]=at[H]=at[k]=at[S]=at[E]=at[R]=at[D]=at[T]=at[$]=at[W]=at[U]=at[z]=at[j]=!0,at[_]=at[w]=at[M]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,dt="object"==typeof xb&&xb&&xb.Object===Object&&xb,ft="object"==typeof self&&self&&self.Object===Object&
|
|||
|
/*!
|
|||
|
FullCalendar v5.11.5
|
|||
|
Docs & License: https://fullcalendar.io/
|
|||
|
(c) 2022 Adam Shaw
|
|||
|
*/
|
|||
|
var Qb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t}(ts);Qb.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"},Qb.prototype.baseIconClass="bi",Qb.prototype.iconClasses={close:"bi-x-lg",prev:"bi-chevron-left",next:"bi-chevron-right",prevYear:"bi-chevron-double-left",nextYear:"bi-chevron-double-right"},Qb.prototype.rtlIconClasses={prev:"bi-chevron-right",next:"bi-chevron-left",prevYear:"bi-chevron-double-right",nextYear:"bi-chevron-double-left"},Qb.prototype.iconOverrideOption="buttonIcons",Qb.prototype.iconOverrideCustomButtonOption="icon",Qb.prototype.iconOverridePrefix="bi-";var e_=ds({themeClasses:{bootstrap5:Qb}}),t_="top",n_="bottom",r_="right",o_="left",i_="auto",s_=[t_,n_,r_,o_],a_="start",l_="end",u_="clippingParents",c_="viewport",d_="popper",f_="reference",p_=s_.reduce((function(e,t){return e.concat([t+"-"+a_,t+"-"+l_])}),[]),h_=[].concat(s_,[i_]).reduce((function(e,t){return e.concat([t,t+"-"+a_,t+"-"+l_])}),[]),g_="beforeRead",v_="read",m_="afterRead",y_="beforeMain",b_="main",__="afterMain",w_="beforeWrite",C_="write",k_="afterWrite",S_=[g_,v_,m_,y_,b_,__,w_,C_,k_];function E_(e){return e?(e.nodeName||"").toLowerCase():null}function x_(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function R_(e){return e instanceof x_(e).Element||e instanceof Element}function D_(e){return e instanceof x_(e).HTMLElement||e instanceof HTMLElement}function T_(e){return"undefined"!=typeof ShadowRoot&&(e instanceof x_(e).ShadowRoot||e instanceof ShadowRoot)}var $_={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];D_(o)&&E_(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});D_(r)&&E_(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function M_(e){return e.split("-")[0]}var I_=Math.max,A_=Math.min,O_=Math.round;function N_(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function P_(){return!/^((?!chrome|android).)*safari/i.test(N_())}function L_(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&D_(e)&&(o=e.offsetWidth>0&&O_(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&O_(r.height)/e.offsetHeight||1);var s=(R_(e)?x_(e):window).visualViewport,a=!P_()&&n,l=(r.left+(a&&s?s.offsetLeft:0))/o,u=(r.top+(a&&s?s.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function H_(e){var t=L_(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function W_(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&T_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function U_(e){return x_(e).getComputedStyle(e)}function z_(e){return["table","td","th"].indexOf(E_(e))>=0}function j_(e){return((R_(e)?e.ownerDocument:e.document)||window.document).documentElement}function B_(e){return"html"===E_(e)?e:e.assigne
|
|||
|
/*!
|
|||
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|||
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|||
|
*/
|
|||
|
const Nw=new Map,Pw={set(e,t,n){Nw.has(e)||Nw.set(e,new Map);const r=Nw.get(e);r.has(t)||0===r.size?r.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(e,t)=>Nw.has(e)&&Nw.get(e).get(t)||null,remove(e,t){if(!Nw.has(e))return;const n=Nw.get(e);n.delete(t),0===n.size&&Nw.delete(e)}},Lw="transitionend",Hw=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),Ww=e=>{e.dispatchEvent(new Event(Lw))},Uw=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),zw=e=>Uw(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Hw(e)):null,jw=e=>{if(!Uw(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},Bw=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),Fw=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Fw(e.parentNode):null},qw=()=>{},Vw=e=>{e.offsetHeight},Yw=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Gw=[],Zw=()=>"rtl"===document.documentElement.dir,Kw=e=>{var t;t=()=>{const t=Yw();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(Gw.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Gw)e()})),Gw.push(t)):t()},Xw=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,Jw=(e,t,n=!0)=>{if(!n)return void Xw(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const i=({target:n})=>{n===t&&(o=!0,t.removeEventListener(Lw,i),Xw(e))};t.addEventListener(Lw,i),setTimeout((()=>{o||Ww(t)}),r)},Qw=(e,t,n,r)=>{const o=e.length;let i=e.indexOf(t);return-1===i?!n&&r?e[o-1]:e[0]:(i+=n?1:-1,r&&(i=(i+o)%o),e[Math.max(0,Math.min(i,o-1))])},eC=/[^.]*(?=\..*)\.|.*/,tC=/\..*/,nC=/::\d+$/,rC={};let oC=1;const iC={mouseenter:"mouseover",mouseleave:"mouseout"},sC=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 aC(e,t){return t&&`${t}::${oC++}`||e.uidEvent||oC++}function lC(e){const t=aC(e);return e.uidEvent=t,rC[t]=rC[t]||{},rC[t]}function uC(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function cC(e,t,n){const r="string"==typeof t,o=r?n:t||n;let i=hC(e);return sC.has(i)||(i=e),[r,o,i]}function dC(e,t,n,r,o){if("string"!=typeof t||!e)return;let[i,s,a]=cC(t,n,r);if(t in iC){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const l=lC(e),u=l[a]||(l[a]={}),c=uC(u,s,i?n:null);if(c)return void(c.oneOff=c.oneOff&&o);const d=aC(s,t.replace(eC,"")),f=i?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return vC(o,{delegateTarget:s}),r.oneOff&&gC.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,s)
|
|||
|
//# sourceMappingURL=bundle.js.map
|