eos_vue_workday
Version:
A vue component to allow work day scheduling and appointment booking
1 lines • 53.6 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.eos_vue_scheduler=e():t.eos_vue_scheduler=e()}(this,(function(){return function(){var t={3302:function(t,e,r){var n;!function(i){"use strict";var o,s=1e6,a="[big.js] ",u=a+"Invalid ",c=u+"decimal places",f=a+"Division by zero",l={},d=void 0,h=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function p(t,e,r,n){var i=t.c;if(r===d&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error("[big.js] Invalid rounding mode");if(e<1)n=3===r&&(n||!!i[0])||0===e&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==d))),i.length=1,n?(t.e=t.e-e+1,i[0]=1):i[0]=t.e=0;else if(e<i.length){if(n=1===r&&i[e]>=5||2===r&&(i[e]>5||5===i[e]&&(n||i[e+1]!==d||1&i[e-1]))||3===r&&(n||!!i[0]),i.length=e--,n)for(;++i[e]>9;)i[e]=0,e--||(++t.e,i.unshift(1));for(e=i.length;!i[--e];)i.pop()}return t}function v(t,e,r){var n=t.e,i=t.c.join(""),o=i.length;if(e)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return t.s<0&&r?"-"+i:i}l.abs=function(){var t=new this.constructor(this);return t.s=1,t},l.cmp=function(t){var e,r=this,n=r.c,i=(t=new r.constructor(t)).c,o=r.s,s=t.s,a=r.e,u=t.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-s:0;if(o!=s)return o;if(e=o<0,a!=u)return a>u^e?1:-1;for(s=(a=n.length)<(u=i.length)?a:u,o=-1;++o<s;)if(n[o]!=i[o])return n[o]>i[o]^e?1:-1;return a==u?0:a>u^e?1:-1},l.div=function(t){var e=this,r=e.constructor,n=e.c,i=(t=new r(t)).c,o=e.s==t.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>s)throw Error(c);if(!i[0])throw Error(f);if(!n[0])return t.s=o,t.c=[t.e=0],t;var u,l,h,v,m,y=i.slice(),g=u=i.length,w=n.length,k=n.slice(0,u),x=k.length,b=t,_=b.c=[],$=0,S=a+(b.e=e.e-t.e)+1;for(b.s=o,o=S<0?0:S,y.unshift(0);x++<u;)k.push(0);do{for(h=0;h<10;h++){if(u!=(x=k.length))v=u>x?1:-1;else for(m=-1,v=0;++m<u;)if(i[m]!=k[m]){v=i[m]>k[m]?1:-1;break}if(!(v<0))break;for(l=x==u?i:y;x;){if(k[--x]<l[x]){for(m=x;m&&!k[--m];)k[m]=9;--k[m],k[x]+=10}k[x]-=l[x]}for(;!k[0];)k.shift()}_[$++]=v?h:++h,k[0]&&v?k[x]=n[g]||0:k=[n[g]]}while((g++<w||k[0]!==d)&&o--);return _[0]||1==$||(_.shift(),b.e--,S--),$>S&&p(b,S,r.RM,k[0]!==d),b},l.eq=function(t){return 0===this.cmp(t)},l.gt=function(t){return this.cmp(t)>0},l.gte=function(t){return this.cmp(t)>-1},l.lt=function(t){return this.cmp(t)<0},l.lte=function(t){return this.cmp(t)<1},l.minus=l.sub=function(t){var e,r,n,i,o=this,s=o.constructor,a=o.s,u=(t=new s(t)).s;if(a!=u)return t.s=-u,o.plus(t);var c=o.c.slice(),f=o.e,l=t.c,d=t.e;if(!c[0]||!l[0])return l[0]?t.s=-u:c[0]?t=new s(o):t.s=1,t;if(a=f-d){for((i=a<0)?(a=-a,n=c):(d=f,n=l),n.reverse(),u=a;u--;)n.push(0);n.reverse()}else for(r=((i=c.length<l.length)?c:l).length,a=u=0;u<r;u++)if(c[u]!=l[u]){i=c[u]<l[u];break}if(i&&(n=c,c=l,l=n,t.s=-t.s),(u=(r=l.length)-(e=c.length))>0)for(;u--;)c[e++]=0;for(u=e;r>a;){if(c[--r]<l[r]){for(e=r;e&&!c[--e];)c[e]=9;--c[e],c[r]+=10}c[r]-=l[r]}for(;0===c[--u];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(t.s=1,c=[d=0]),t.c=c,t.e=d,t},l.mod=function(t){var e,r=this,n=r.constructor,i=r.s,o=(t=new n(t)).s;if(!t.c[0])throw Error(f);return r.s=t.s=1,e=1==t.cmp(r),r.s=i,t.s=o,e?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(t),n.DP=i,n.RM=o,this.minus(r.times(t)))},l.plus=l.add=function(t){var e,r,n,i=this,o=i.constructor;if(t=new o(t),i.s!=t.s)return t.s=-t.s,i.minus(t);var s=i.e,a=i.c,u=t.e,c=t.c;if(!a[0]||!c[0])return c[0]||(a[0]?t=new o(i):t.s=i.s),t;if(a=a.slice(),e=s-u){for(e>0?(u=s,n=c):(e=-e,n=a),n.reverse();e--;)n.push(0);n.reverse()}for(a.length-c.length<0&&(n=c,c=a,a=n),e=c.length,r=0;e;a[e]%=10)r=(a[--e]=a[e]+c[e]+r)/10|0;for(r&&(a.unshift(r),++u),e=a.length;0===a[--e];)a.pop();return t.c=a,t.e=u,t},l.pow=function(t){var e=this,r=new e.constructor("1"),n=r,i=t<0;if(t!==~~t||t<-1e6||t>1e6)throw Error(u+"exponent");for(i&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return i?r.div(n):n},l.prec=function(t,e){if(t!==~~t||t<1||t>s)throw Error(u+"precision");return p(new this.constructor(this),t,e)},l.round=function(t,e){if(t===d)t=0;else if(t!==~~t||t<-s||t>s)throw Error(c);return p(new this.constructor(this),t+this.e+1,e)},l.sqrt=function(){var t,e,r,n=this,i=n.constructor,o=n.s,s=n.e,u=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(a+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((e=n.c.join("")).length+s&1||(e+="0"),s=((s+1)/2|0)-(s<0||1&s),t=new i(((o=Math.sqrt(e))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+s)):t=new i(o+""),s=t.e+(i.DP+=4);do{r=t,t=u.times(r.plus(n.div(r)))}while(r.c.slice(0,s).join("")!==t.c.slice(0,s).join(""));return p(t,(i.DP-=4)+t.e+1,i.RM)},l.times=l.mul=function(t){var e,r=this,n=r.constructor,i=r.c,o=(t=new n(t)).c,s=i.length,a=o.length,u=r.e,c=t.e;if(t.s=r.s==t.s?1:-1,!i[0]||!o[0])return t.c=[t.e=0],t;for(t.e=u+c,s<a&&(e=i,i=o,o=e,c=s,s=a,a=c),e=new Array(c=s+a);c--;)e[c]=0;for(u=a;u--;){for(a=0,c=s+u;c>u;)a=e[c]+o[u]*i[c-u-1]+a,e[c--]=a%10,a=a/10|0;e[c]=a}for(a?++t.e:e.shift(),u=e.length;!e[--u];)e.pop();return t.c=e,t},l.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==d){if(t!==~~t||t<0||t>s)throw Error(c);for(r=p(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return v(r,!0,!!n)},l.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==d){if(t!==~~t||t<0||t>s)throw Error(c);for(t=t+(r=p(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return v(r,!1,!!n)},l.toJSON=l.toString=function(){var t=this,e=t.constructor;return v(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},l.toNumber=function(){var t=Number(v(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(a+"Imprecise conversion");return t},l.toPrecision=function(t,e){var r=this,n=r.constructor,i=r.c[0];if(t!==d){if(t!==~~t||t<1||t>s)throw Error(u+"precision");for(r=p(new n(r),t,e);r.c.length<t;)r.c.push(0)}return v(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},l.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(a+"valueOf disallowed");return v(t,t.e<=e.NE||t.e>=e.PE,!0)},(o=function t(){function e(r){var n=this;if(!(n instanceof e))return r===d?t():new e(r);if(r instanceof e)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===e.strict)throw TypeError(u+"number");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,i;if(!h.test(e))throw Error(u+"number");for(t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),i=e.length,n=0;n<i&&"0"==e.charAt(n);)++n;if(n==i)t.c=[t.e=0];else{for(;i>0&&"0"==e.charAt(--i););for(t.e=r-n-1,t.c=[],r=0;n<=i;)t.c[r++]=+e.charAt(n++)}}(n,r)}n.constructor=e}return e.prototype=l,e.DP=20,e.RM=1,e.NE=-7,e.PE=21,e.strict=!1,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}()).default=o.Big=o,void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},9670:function(t,e,r){var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,e,r){var n=r(5656),i=r(7466),o=r(1400),s=function(t){return function(e,r,s){var a,u=n(e),c=i(u.length),f=o(s,c);if(t&&r!=r){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2092:function(t,e,r){var n=r(9974),i=r(8361),o=r(7908),s=r(7466),a=r(5417),u=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,f=4==t,l=6==t,d=7==t,h=5==t||l;return function(p,v,m,y){for(var g,w,k=o(p),x=i(k),b=n(v,m,3),_=s(x.length),$=0,S=y||a,D=e?S(p,_):r||d?S(p,0):void 0;_>$;$++)if((h||$ in x)&&(w=b(g=x[$],$,k),t))if(e)D[$]=w;else if(w)switch(t){case 3:return!0;case 5:return g;case 6:return $;case 2:u.call(D,g)}else switch(t){case 4:return!1;case 7:u.call(D,g)}return l?-1:c||f?f:D}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},1194:function(t,e,r){var n=r(7293),i=r(5112),o=r(7392),s=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,r){"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},4362:function(t){var e=Math.floor,r=function(t,o){var s=t.length,a=e(s/2);return s<8?n(t,o):i(r(t.slice(0,a),o),r(t.slice(a),o),o)},n=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},i=function(t,e,r){for(var n=t.length,i=e.length,o=0,s=0,a=[];o<n||s<i;)o<n&&s<i?a.push(r(t[o],e[s])<=0?t[o++]:e[s++]):a.push(o<n?t[o++]:e[s++]);return a};t.exports=r},7475:function(t,e,r){var n=r(111),i=r(3157),o=r(5112)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?n(e)&&null===(e=e[o])&&(e=void 0):e=void 0),void 0===e?Array:e}},5417:function(t,e,r){var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:function(t,e,r){var n=r(6656),i=r(3887),o=r(1236),s=r(3070);t.exports=function(t,e){for(var r=i(e),a=s.f,u=o.f,c=0;c<r.length;c++){var f=r[c];n(t,f)||a(t,f,u(e,f))}}},8880:function(t,e,r){var n=r(9781),i=r(3070),o=r(9114);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:function(t,e,r){"use strict";var n=r(4948),i=r(3070),o=r(9114);t.exports=function(t,e,r){var s=n(e);s in t?i.f(t,s,o(0,r)):t[s]=r}},5573:function(t,e,r){"use strict";var n=r(7293),i=r(6650).start,o=Math.abs,s=Date.prototype,a=s.getTime,u=s.toISOString;t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!n((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),r=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+i(o(e),n?6:4,0)+"-"+i(t.getUTCMonth()+1,2,0)+"-"+i(t.getUTCDate(),2,0)+"T"+i(t.getUTCHours(),2,0)+":"+i(t.getUTCMinutes(),2,0)+":"+i(t.getUTCSeconds(),2,0)+"."+i(r,3,0)+"Z"}:u},9781:function(t,e,r){var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,r){var n=r(7854),i=r(111),o=n.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},8886:function(t,e,r){var n=r(8113).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},256:function(t,e,r){var n=r(8113);t.exports=/MSIE|Trident/.test(n)},8113:function(t,e,r){var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:function(t,e,r){var n,i,o=r(7854),s=r(8113),a=o.process,u=o.Deno,c=a&&a.versions||u&&u.version,f=c&&c.v8;f?i=(n=f.split("."))[0]<4?1:n[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},8008:function(t,e,r){var n=r(8113).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,r){var n=r(7854),i=r(1236).f,o=r(8880),s=r(1320),a=r(3505),u=r(9920),c=r(4705);t.exports=function(t,e){var r,f,l,d,h,p=t.target,v=t.global,m=t.stat;if(r=v?n:m?n[p]||a(p,{}):(n[p]||{}).prototype)for(f in e){if(d=e[f],l=t.noTargetGet?(h=i(r,f))&&h.value:r[f],!c(v?f:p+(m?".":"#")+f,t.forced)&&void 0!==l){if(typeof d==typeof l)continue;u(d,l)}(t.sham||l&&l.sham)&&o(d,"sham",!0),s(r,f,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9974:function(t,e,r){var n=r(3099);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},5005:function(t,e,r){var n=r(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:function(t,e,r){var n=r(7908),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(n(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,r){var n=r(9781),i=r(7293),o=r(317);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,r){var n=r(7293),i=r(4326),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},2788:function(t,e,r){var n=r(5465),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),t.exports=n.inspectSource},9909:function(t,e,r){var n,i,o,s=r(8536),a=r(7854),u=r(111),c=r(8880),f=r(6656),l=r(5465),d=r(6200),h=r(3501),p="Object already initialized",v=a.WeakMap;if(s||l.state){var m=l.state||(l.state=new v),y=m.get,g=m.has,w=m.set;n=function(t,e){if(g.call(m,t))throw new TypeError(p);return e.facade=t,w.call(m,t,e),e},i=function(t){return y.call(m,t)||{}},o=function(t){return g.call(m,t)}}else{var k=d("state");h[k]=!0,n=function(t,e){if(f(t,k))throw new TypeError(p);return e.facade=t,c(t,k,e),e},i=function(t){return f(t,k)?t[k]:{}},o=function(t){return f(t,k)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},3157:function(t,e,r){var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:function(t,e,r){var n=r(7293),i=/#|\.prototype\./,o=function(t,e){var r=a[s(t)];return r==c||r!=u&&("function"==typeof e?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},2190:function(t,e,r){var n=r(5005),i=r(3307);t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},133:function(t,e,r){var n=r(7392),i=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:function(t,e,r){var n=r(7854),i=r(2788),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},3009:function(t,e,r){var n=r(7854),i=r(1340),o=r(3111).trim,s=r(1361),a=n.parseInt,u=/^[+-]?0[Xx]/,c=8!==a(s+"08")||22!==a(s+"0x16");t.exports=c?function(t,e){var r=o(i(t));return a(r,e>>>0||(u.test(r)?16:10))}:a},3070:function(t,e,r){var n=r(9781),i=r(4664),o=r(9670),s=r(4948),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(o(t),e=s(e),o(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:function(t,e,r){var n=r(9781),i=r(5296),o=r(9114),s=r(5656),a=r(4948),u=r(6656),c=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=a(e),c)try{return f(t,e)}catch(t){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},8006:function(t,e,r){var n=r(6324),i=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},6324:function(t,e,r){var n=r(6656),i=r(5656),o=r(1318).indexOf,s=r(3501);t.exports=function(t,e){var r,a=i(t),u=0,c=[];for(r in a)!n(s,r)&&n(a,r)&&c.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~o(c,r)||c.push(r));return c}},5296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2140:function(t,e,r){var n=r(111);t.exports=function(t,e){var r,i;if("string"===e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3887:function(t,e,r){var n=r(5005),i=r(8006),o=r(5181),s=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=o.f;return r?e.concat(r(t)):e}},1320:function(t,e,r){var n=r(7854),i=r(8880),o=r(6656),s=r(3505),a=r(2788),u=r(9909),c=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,a){var u,c=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||o(r,"name")||i(r,"name",e),(u=f(r)).source||(u.source=l.join("string"==typeof e?e:""))),t!==n?(c?!h&&t[e]&&(d=!0):delete t[e],d?t[e]=r:i(t,e,r)):d?t[e]=r:s(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,r){var n=r(7854);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6200:function(t,e,r){var n=r(2309),i=r(9711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,r){var n=r(7854),i=r(3505),o="__core-js_shared__",s=n[o]||i(o,{});t.exports=s},2309:function(t,e,r){var n=r(1913),i=r(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},4986:function(t,e,r){var n=r(8113);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},6650:function(t,e,r){var n=r(7466),i=r(1340),o=r(8415),s=r(4488),a=Math.ceil,u=function(t){return function(e,r,u){var c,f,l=i(s(e)),d=l.length,h=void 0===u?" ":i(u),p=n(r);return p<=d||""==h?l:(c=p-d,(f=o.call(h,a(c/h.length))).length>c&&(f=f.slice(0,c)),t?l+f:f+l)}};t.exports={start:u(!1),end:u(!0)}},8415:function(t,e,r){"use strict";var n=r(9958),i=r(1340),o=r(4488);t.exports=function(t){var e=i(o(this)),r="",s=n(t);if(s<0||s==1/0)throw RangeError("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},3111:function(t,e,r){var n=r(4488),i=r(1340),o="["+r(1361)+"]",s=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(t){return function(e){var r=i(n(e));return 1&t&&(r=r.replace(s,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},1400:function(t,e,r){var n=r(9958),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5656:function(t,e,r){var n=r(8361),i=r(4488);t.exports=function(t){return n(i(t))}},9958:function(t){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7466:function(t,e,r){var n=r(9958),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},7908:function(t,e,r){var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:function(t,e,r){var n=r(111),i=r(2190),o=r(2140),s=r(5112)("toPrimitive");t.exports=function(t,e){if(!n(t)||i(t))return t;var r,a=t[s];if(void 0!==a){if(void 0===e&&(e="default"),r=a.call(t,e),!n(r)||i(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},4948:function(t,e,r){var n=r(7593),i=r(2190);t.exports=function(t){var e=n(t,"string");return i(e)?e:String(e)}},1340:function(t,e,r){var n=r(2190);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},9711:function(t){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:function(t,e,r){var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,r){var n=r(7854),i=r(2309),o=r(6656),s=r(9711),a=r(133),u=r(3307),c=i("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||s;t.exports=function(t){return o(c,t)&&(a||"string"==typeof c[t])||(a&&o(f,t)?c[t]=f[t]:c[t]=l("Symbol."+t)),c[t]}},1361:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:function(t,e,r){"use strict";var n=r(2109),i=r(7293),o=r(3157),s=r(111),a=r(7908),u=r(7466),c=r(6135),f=r(5417),l=r(1194),d=r(5112),h=r(7392),p=d("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",y=h>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=l("concat"),w=function(t){if(!s(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!y||!g},{concat:function(t){var e,r,n,i,o,s=a(this),l=f(s,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(w(o=-1===e?s:arguments[e])){if(d+(i=u(o.length))>v)throw TypeError(m);for(r=0;r<i;r++,d++)r in o&&c(l,d,o[r])}else{if(d>=v)throw TypeError(m);c(l,d++,o)}return l.length=d,l}})},7327:function(t,e,r){"use strict";var n=r(2109),i=r(2092).filter;n({target:"Array",proto:!0,forced:!r(1194)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},7042:function(t,e,r){"use strict";var n=r(2109),i=r(111),o=r(3157),s=r(1400),a=r(7466),u=r(5656),c=r(6135),f=r(5112),l=r(1194)("slice"),d=f("species"),h=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var r,n,f,l=u(this),v=a(l.length),m=s(t,v),y=s(void 0===e?v:e,v);if(o(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(l,m,y);for(n=new(void 0===r?Array:r)(p(y-m,0)),f=0;m<y;m++,f++)m in l&&c(n,f,l[m]);return n.length=f,n}})},2707:function(t,e,r){"use strict";var n=r(2109),i=r(3099),o=r(7908),s=r(7466),a=r(1340),u=r(7293),c=r(4362),f=r(9341),l=r(8886),d=r(256),h=r(7392),p=r(8008),v=[],m=v.sort,y=u((function(){v.sort(void 0)})),g=u((function(){v.sort(null)})),w=f("sort"),k=!u((function(){if(h)return h<70;if(!(l&&l>3)){if(d)return!0;if(p)return p<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:y||!g||!w||!k},{sort:function(t){void 0!==t&&i(t);var e=o(this);if(k)return void 0===t?m.call(e):m.call(e,t);var r,n,u=[],f=s(e.length);for(n=0;n<f;n++)n in e&&u.push(e[n]);for(r=(u=c(u,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:a(e)>a(r)?1:-1}}(t))).length,n=0;n<r;)e[n]=u[n++];for(;n<f;)delete e[n++];return e}})},5268:function(t,e,r){var n=r(2109),i=r(5573);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},3710:function(t,e,r){var n=r(1320),i=Date.prototype,o="Invalid Date",s=i.toString,a=i.getTime;String(new Date(NaN))!=o&&n(i,"toString",(function(){var t=a.call(this);return t==t?s.call(this):o}))},8309:function(t,e,r){var n=r(9781),i=r(3070).f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,u="name";n&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},1058:function(t,e,r){var n=r(2109),i=r(3009);n({global:!0,forced:parseInt!=i},{parseInt:i})},3112:function(t,e,r){"use strict";var n=r(2109),i=r(6650).start;n({target:"String",proto:!0,forced:r(4986)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},1169:function(t,e,r){"use strict";var n=r(3645),i=r.n(n)()((function(t){return t[1]}));i.push([t.id,'.calendar-wrapper{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";overflow-x:auto}.calendar-wrapper ul{list-style:none;padding-left:0px;margin:0px}.calendar-wrapper ul li{position:relative}.calendar-wrapper ul li .calendar-event{width:90%;border:1px solid #fff;border-radius:5px;display:flex;flex:1;position:absolute;padding:0px;font-size:8pt;overflow:hidden;z-index:1}.calendar-wrapper ul li .calendar-event .calendar-event-text{padding:.5rem;display:flex;flex-direction:column}.calendar-wrapper ul li .calendar-event .calendar-event-title{font-weight:800;text-overflow:ellipsis}.calendar-wrapper ul li .calendar-event .calendar-event-description{text-align:justify}.calendar-wrapper ul li .calendar-event:hover{z-index:11;border:none;box-shadow:5px 5px 7px #757575;min-width:100px;min-height:100px}.calendar-wrapper .calendar-cell{cursor:pointer;min-width:60px;display:flex;flex:1}.calendar-wrapper .calendar-cell:not(:last-child){border-bottom:1px dotted #f5f5f5}.calendar-wrapper .break-cell{background-color:#f5f5f5;cursor:not-allowed}.calendar-wrapper .hours{font-weight:500;font-size:.85rem;width:55px;padding-left:10px}.calendar-wrapper .calendar-header{display:flex;flex-direction:column}.calendar-wrapper .user-header{display:flex;justify-content:space-around}.calendar-wrapper table{border-collapse:collapse;border-color:#e0e0e0;width:100%}.calendar-wrapper table td:first-child{width:55px}.calendar-wrapper thead,.calendar-wrapper tbody,.calendar-wrapper td,.calendar-wrapper th{border-color:#e0e0e0}.calendar-wrapper td{padding:0px}.letters-date{padding:.5rem;text-transform:uppercase;font-size:smaller;font-weight:500}.number-date{font-size:x-large;font-weight:500;border-radius:100%;padding:.5rem;align-items:center;justify-content:center;width:38px;height:38px;display:flex;margin-right:auto;margin-left:auto;margin-bottom:5px}.today .number-date{background-color:#1de9b6;color:#fff}',""]),e.Z=i},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<t.length;a++){var u=[].concat(t[a]);n&&i[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),e.push(u))}},e}},7484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,r="millisecond",n="second",i="minute",o="hour",s="day",a="week",u="month",c="quarter",f="year",l="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},y={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,u),o=r-i<0,s=e.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:a,d:s,D:l,h:o,m:i,s:n,ms:r,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",w={};w[g]=v;var k=function(t){return t instanceof $},x=function(t,e,r){var n;if(!t)return g;if("string"==typeof t)w[t]&&(n=t),e&&(w[t]=e,n=t);else{var i=t.name;w[i]=t,n=i}return!r&&n&&(g=n),n||!r&&g},b=function(t,e){if(k(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new $(r)},_=y;_.l=x,_.i=k,_.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var $=function(){function v(t){this.$L=x(t.locale,null,!0),this.parse(t)}var m=v.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(h);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return _},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return b(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<b(t)},m.$g=function(t,e,r){return _.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,c=!!_.u(e)||e,d=_.p(t),h=function(t,e){var n=_.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return c?n:n.endOf(s)},p=function(t,e){return _.w(r.toDate()[t].apply(r.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},v=this.$W,m=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case f:return c?h(1,0):h(31,11);case u:return c?h(1,m):h(0,m+1);case a:var w=this.$locale().weekStart||0,k=(v<w?v+7:v)-w;return h(c?y-k:y+(6-k),m);case s:case l:return p(g+"Hours",0);case o:return p(g+"Minutes",1);case i:return p(g+"Seconds",2);case n:return p(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var a,c=_.p(t),d="set"+(this.$u?"UTC":""),h=(a={},a[s]=d+"Date",a[l]=d+"Date",a[u]=d+"Month",a[f]=d+"FullYear",a[o]=d+"Hours",a[i]=d+"Minutes",a[n]=d+"Seconds",a[r]=d+"Milliseconds",a)[c],p=c===s?this.$D+(e-this.$W):e;if(c===u||c===f){var v=this.clone().set(l,1);v.$d[h](p),v.init(),this.$d=v.set(l,Math.min(this.$D,v.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[_.p(t)]()},m.add=function(r,c){var l,d=this;r=Number(r);var h=_.p(c),p=function(t){var e=b(d);return _.w(e.date(e.date()+Math.round(t*r)),d)};if(h===u)return this.set(u,this.$M+r);if(h===f)return this.set(f,this.$y+r);if(h===s)return p(1);if(h===a)return p(7);var v=(l={},l[i]=t,l[o]=e,l[n]=1e3,l)[h]||1,m=this.$d.getTime()+r*v;return _.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),o=this.$H,s=this.$m,a=this.$M,u=r.weekdays,c=r.months,f=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].substr(0,o)},l=function(t){return _.s(o%12||12,t,"0")},h=r.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:_.s(a+1,2,"0"),MMM:f(r.monthsShort,a,c,3),MMMM:f(c,a),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:f(r.weekdaysMin,this.$W,u,2),ddd:f(r.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:_.s(o,2,"0"),h:l(1),hh:l(2),a:h(o,s,!0),A:h(o,s,!1),m:String(s),mm:_.s(s,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:i};return n.replace(p,(function(t,e){return e||v[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,l,d){var h,p=_.p(l),v=b(r),m=(v.utcOffset()-this.utcOffset())*t,y=this-v,g=_.m(this,v);return g=(h={},h[f]=g/12,h[u]=g,h[c]=g/3,h[a]=(y-m)/6048e5,h[s]=(y-m)/864e5,h[o]=y/e,h[i]=y/t,h[n]=y/1e3,h)[p]||y,d?g:_.a(g)},m.daysInMonth=function(){return this.endOf(u).$D},m.$locale=function(){return w[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=x(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return _.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),S=$.prototype;return b.prototype=S,[["$ms",r],["$s",n],["$m",i],["$H",o],["$W",s],["$M",u],["$y",f],["$D",l]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),b.extend=function(t,e){return t.$i||(t(e,$,b),t.$i=!0),b},b.locale=x,b.isDayjs=k,b.unix=function(t){return b(1e3*t)},b.en=w[g],b.Ls=w,b.p={},b}()},1646:function(t){t.exports=function(){"use strict";var t,e,r=1e3,n=6e4,i=36e5,o=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,a=31536e6,u=2592e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:a,months:u,days:o,hours:i,minutes:n,seconds:r,milliseconds:1,weeks:6048e5},l=function(t){return t instanceof g},d=function(t,e,r){return new g(t,r,e.$l)},h=function(t){return e.p(t)+"s"},p=function(t){return t<0},v=function(t){return p(t)?Math.ceil(t):Math.floor(t)},m=function(t){return Math.abs(t)},y=function(t,e){return t?p(t)?{negative:!0,format:""+m(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},g=function(){function p(t,e,r){var n=this;if(this.$d={},this.$l=r,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return d(t*f[h(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(e){n.$d[h(e)]=t[e]})),this.calMilliseconds(),this;if("string"==typeof t){var i=t.match(c);if(i){var o=i.slice(2).map((function(t){return Number(t)}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var m=p.prototype;return m.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(e,r){return e+(t.$d[r]||0)*f[r]}),0)},m.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=v(t/a),t%=a,this.$d.months=v(t/u),t%=u,this.$d.days=v(t/o),t%=o,this.$d.hours=v(t/i),t%=i,this.$d.minutes=v(t/n),t%=n,this.$d.seconds=v(t/r),t%=r,this.$d.milliseconds=t},m.toISOString=function(){var t=y(this.$d.years,"Y"),e=y(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var n=y(r,"D"),i=y(this.$d.hours,"H"),o=y(this.$d.minutes,"M"),s=this.$d.seconds||0;this.$d.milliseconds&&(s+=this.$d.milliseconds/1e3);var a=y(s,"S"),u=t.negative||e.negative||n.negative||i.negative||o.negative||a.negative,c=i.format||o.format||a.format?"T":"",f=(u?"-":"")+"P"+t.format+e.format+n.format+c+i.format+o.format+a.format;return"P"===f||"-P"===f?"P0D":f},m.toJSON=function(){return this.toISOString()},m.format=function(t){var r=t||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return r.replace(s,(function(t,e){return e||String(n[t])}))},m.as=function(t){return this.$ms/f[h(t)]},m.get=function(t){var e=this.$ms,r=h(t);return"milliseconds"===r?e%=1e3:e="weeks"===r?v(e/f[r]):this.$d[r],0===e?0:e},m.add=function(t,e,r){var n;return n=e?t*f[h(e)]:l(t)?t.$ms:d(t,this).$ms,d(this.$ms+n*(r?-1:1),this)},m.subtract=function(t,e){return this.add(t,e,!0)},m.locale=function(t){var e=this.clone();return e.$l=t,e},m.clone=function(){return d(this.$ms,this)},m.humanize=function(e){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},p}();return function(r,n,i){t=i,e=i().$utils(),i.duration=function(t,e){var r=i.locale();return d(t,{$l:r},e)},i.isDuration=l;var o=n.prototype.add,s=n.prototype.subtract;n.prototype.add=function(t,e){return l(t)&&(t=t.asMilliseconds()),o.bind(this)(t,e)},n.prototype.subtract=function(t,e){return l(t)&&(t=t.asMilliseconds()),s.bind(this)(t,e)}}}()},9212:function(t){t.exports=function(){"use strict";return function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}}}()},7412:function(t){t.exports=function(){"use strict";return function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}()},9542:function(t){t.exports=function(){"use strict";var t="day";return function(e,r,n){var i=function(e){return e.add(4-e.isoWeekday(),t)},o=r.prototype;o.isoWeekYear=function(){return i(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var r,o,s,a=i(this),u=(r=this.isoWeekYear(),s=4-(o=(this.$u?n.utc:n)().year(r).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,t));return a.diff(u,"week")+1},o.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=o.startOf;o.startOf=function(t,e){var r=this.$utils(),n=!!r.u(e)||e;return"isoweek"===r.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}}()},3379:function(t){"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var o={},s=[],a=0;a<t.length;a++){var u=t[a],c=n.base?u[0]+n.base:u[0],f=o[c]||0,l="".concat(c," ").concat(f);o[c]=f+1;var d=r(l),h={css:u[1],media:u[2],sourceMap:u[3]};-1!==d?(e[d].references++,e[d].updater(h)):e.push({identifier:l,updater:i(h,n),references:1}),s.push(l)}return s}function i(t,e){var r=e.domAPI(e);return r.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r.update(t=e)}else r.remove()}}t.exports=function(t,i){var o=n(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=r(o[s]);e[a].references--}for(var u=n(t,i),c=0;c<o.length;c++){var f=r(o[c]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}o=u}}},569:function(t){"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:function(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e),e}},3565:function(t,e,r){"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7795:function(t){"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n=r.css,i=r.media,o=r.sourceMap;i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(n,t)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:function(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){"use strict";r.r(n),r.d(n,{default:function(){return tt}});var t={};r.r(t),r.d(t,{WorkdayCell:function(){return F},WorkdayContainer:function(){return X},WorkdayDayHour:function(){return U},WorkdayEvent:function(){return P},WorkdayHeader:function(){return B},WorkdayHours:function(){return q},WorkdayWeek:function(){return G}}),r(8309);var e=r(3379),i=r.n(e),o=r(7795),s=r.n(o),a=r(569),u=r.n(a),c=r(3565),f=r.n(c),l=r(9216),d=r.n(l),h=r(4589),p=r.n(h),v=r(1169),m={};m.styleTagTransform=p(),m.setAttributes=f(),m.insert=u().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=d(),i()(v.Z,m),v.Z&&v.Z.locals&&v.Z.locals;var y=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"calendar-wrapper"},[r("workday-week",{on:{eventClick:t.emitEventClick,cellClick:t.emitCellClick}})],1)};y._withStripped=!0;var g=r(7484),w=r.n(g),k=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("table",{attrs:{border:""}},[r("workday-header",{attrs:{days:t.days,mode:t.mode}}),t._v(" "),r("tbody",t._l(t.hours,(function(e,n){return r("tr",{key:n},[r("workday-hours",{attrs:{hour:e}}),t._v(" "),t._l(t.days,(function(n,i){return[t._workday(n).length?[t._l(t._workday(n),(function(o){return[r("workday-day-hour",{key:""+i+o.id,attrs:{day:n,workday:o,hour:e},on:{eventClick:t.emitEventClick,cellClick:t.emitCellClick}})]}))]:[r("td")]]}))],2)})),0)],1)};k._withStripped=!0,r(5268),r(3710),r(7042),r(2222),r(3112),r(2707),r(1058),r(7327);var x=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=JSON.parse(JSON.stringify(t));return n.sort((function(t,n){var i=w()("".concat(w()().format("YYYY-MM-DD")," ").concat(w()(t[e]).format("HH:mm:ss"))),o=w()("".concat(w()().format("YYYY-MM-DD")," ").concat(w()(n[e]).format("HH:mm:ss")));return i.isAfter(o)?r?1:-1:r?-1:1})),parseInt(w()(n[0][e]).format("mm"))>0?parseInt(w()(n[0][e]).format("HH"))+1:parseInt(w()(n[0][e]).format("HH"))},b=function(t,e){return e.filter((function(e){return w()(e.start_time).format("YYYY-MM-DD")===w()(t.value).format("YYYY-MM-DD")}))},_=r(9542),$=r.n(_),S=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("td",[r("ul",t._l(t.getHourCells(t.day,t.hour.value),(function(e){return r("workday-cell",{key:e.index,attrs:{cellData:e,workday:t.workday},on:{eventClick:t.emitEventClick,cellClick:t.emitCellClick}})})),1)])};S._withStripped=!0;var D=r(7412),M=r.n(D),O=r(9212),C=r.n(O),E=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("li",{class:[{"break-cell":t.cellIsOnABreak},"calendar-cell"],style:"height: "+t.cellHeight+"px",on:{click:function(e){return e.stopPropagation(),t.cellClickEvent.apply(null,arguments)}}},[t._l(t.cellEvents,(function(e,n){return r("workday-event",{key:e.id,style:"width: calc("+t.eventWidth+"% + 0px);left: calc("+t.calcLeftInset(t.eventWidth,n)+"% + 0px)",attrs:{event:e,cellData:t.cellData},on:{eventClick:t.emitEventClick}})}))],2)};E._withStripped=!0;var T=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"calendar-event",style:t.eventStyle,on:{click:function(e){return t.$emit("eventClick",t.event)}}},[r("div",{staticClass:"calendar-event-text"},[r("span",{staticClass:"calendar-event-title"},[t._v(t._s(t.event.title))]),t._v(" "),r("span",[t._v(t._s(t.event.description))]),t._v(" "),r("span",[t._v(t._s(t.eventStartTime.format("h:mm A")+" - "+t.eventEndTime.format("h:mm A")+" "))])])])};T._withStripped=!0;var Y=r(3302),j=r.n(Y),H=r(1646),W=r.n(H);function A(t,e,r,n,i,o,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}w().extend(W());var I=A({name:"WorkdayEvent",props:{event:Object,cellData:Object},data:function(){return{}},inject:["workdayOptions"],components:{},mounted:function(){},computed:{eventDuration:function(){return w().duration(this.eventEndTime.diff(this.eventStartTime)).asMinutes()},eventHeight:function(){return"height: "+j()(this.eventDuration).div(5).times(this.workdayOptions().five_minute_height).toNumber()+"px;"},eventStartTime:function(){return w()(this.event.start_time)},eventEndTime:function(){return w()(this.event.end_time)},eventBackgroundColor:function(){return"background-color: ".concat(this.event.color,"; ")},eventStyle:function(){return"".concat(this.eventBackgroundColor," ").concat(this.eventHeight)}},methods:{}},T,[],!1,null,null,null);I.options.__file="src/components/vue_workday/workday_event.vue";var P=I.exports;w().extend(M()),w().extend(C());var N=A({name:"WorkdayCell",props:{cellData:Object,workday:Object},data:function(){return{}},inject:["workdayOptions"],components:{WorkdayEvent:P},mounted:function(){},computed:{cellHeight:function(){return this.workdayOptions().five_minute_height-1},eventWidth:function(){return j()(1).div(j()(this.cellEvents.length)).times(100).toNumber()},cellEvents:function(){var t=this;return this.workday.events.filter((function(e){return w()(e.start_time).isSame(w()(t.cellData.value))}))},cellIsOnABreak:function(){var t=this;return!!this.workday.breaks&&this.workday.breaks.filter((function(e){return w()(e.start_time).isSameOrBefore(w()(t.cellData.value))&&w()(e.finish_time).isAfter(w()(t.cellData.value))})).length}},methods:{calcLeftInset:function(t,e){return j()(t).times(e).toNumber()},cellClickEvent:function(){this.cellIsOnABreak||this.cellEvents.length||this.$emit("cellClick",{cellData:this.cellData.value,workday_id:this.workday.id,user_id:this.workday.user.id,other:this.workday.other})},emitEventClick:function(t){this.$emit("eventClick",t)}}},E,[],!1,null,null,null);N.options.__file="src/components/vue_workday/workday_cell.vue";var F=N.exports;w().extend(M()),w().extend(C());var R=A({name:"WorkdayDayHour",props:{hour:Object,day:Object,workday:Object},data:function(){return{}},components:{WorkdayCell:F},mounted:function(){},computed:{},methods:{getHourCells:function(t,e){var r=0,n=w()("".concat(w()(t.value).format("YYYY-MM-DD")," ").concat(w()(e).format("HH:mm"))),i=n.add(1,"hour"),o=[];if(w()(this.workday.start_time).isSameOrBefore(n)&&w()(this.workday.finish_time).isSameOrAfter(i))for(;n<i;)o.push({value:n.format("YYYY-MM-DD HH:mm"),index:r}),n=n.add(5,"minutes"),r++;return o},emitEventClick:function(t){this.$emit("eventClick",t)},emitCellClick:function(t){this.$emit("cellClick",t)}}},S,[],!1,null,null,null);R.options.__file="src/components/vue_workday/workday_day_hour.vue";var U=R.exports,L=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("thead",[r("tr",[r("td",{attrs:{rowspan:"2"}}),t._v(" "),t._l(t.days,(function(e,n){return r("th",{class:[{today:t._isToday(e.value)},"day-indicator"],attrs:{colspan:t.colspan(e)}},[r("div",{staticClass:"calendar-header"},[r("span",{staticClass:"letters-date"},[t._v(t._s(t._formatDayTitle(e)[0]))]),t._v(" "),r("span",{staticClass:"number-date",style:t.backgroundColor(e.value)},[t._v(t._s(t._formatDayTitle(e)[1]))])])])}))],2),t._v(" "),r("tr",[t._l(t.days,(function(e,n){return[t._workday(e).length?t._l(t._workday(e),(function(e){return r("th",{key:""+n+e.id},[t._v(t._s(e.user.name))])})):[r("th",[r("div",{staticStyle:{height:"30px"}})])]]}))],2)])};L._withStripped=!0;var z=A({name:"WorkdayHeader",props:{mode:String,days:Array},data:function(){return{}},inject:["workdayOptions","workDays"],components:{},mounted:function(){},computed:{},methods:{_formatDayTitle:function(t){return function(t){var e=w()(t.value);return[e.format("ddd"),e.format("D")]}(t)},_isToday:function(t){return function(t){if(t)return t===new Date("".concat(w()().format("YYYY-MM-DD"),"T00:00:00.000Z")).toISOString()}(t)},backgroundColor:function(t){return this.workdayOptions().primary_color&&this._isToday(t)?"background-color: "+this.workdayOptions().primary_color:""},_workday:function(t){return b(t,this.workDays())},colspan:function(t){var e=this._workday(t);return e.length?e.length:1}}},L,[],!1,null,null,null);z.options