New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-cal

Package Overview
Dependencies
Maintainers
1
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-cal - npm Package Compare versions

Comparing version 1.19.0 to 1.20.0

2

dist/vuecal.umd.min.js

@@ -1,2 +0,2 @@

(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vuecal"]=t():e["vuecal"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),a=n("5ca1"),r=n("2aba"),s=n("32e9"),o=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),v=!([].keys&&"next"in[].keys()),f="@@iterator",h="keys",p="values",m=function(){return this};e.exports=function(e,t,n,y,g,w,b){c(n,t,y);var D,_,E,k=function(e){if(!v&&e in T)return T[e];switch(e){case h:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S=g==p,M=!1,T=e.prototype,O=T[d]||T[f]||g&&T[g],C=O||k(g),j=g?S?k("entries"):C:void 0,A="Array"==t&&T.entries||O;if(A&&(E=u(A.call(new e)),E!==Object.prototype&&E.next&&(l(E,x,!0),i||"function"==typeof E[d]||s(E,d,m))),S&&O&&O.name!==p&&(M=!0,C=function(){return O.call(this)}),i&&!b||!v&&!M&&T[d]||s(T,d,C),o[t]=C,o[x]=m,g)if(D={values:S?C:k(p),keys:w?C:k(h),entries:j},b)for(_ in D)_ in T||r(T,_,D[_]);else a(a.P+a.F*(v||M),t,D);return D}},"0699":function(e){e.exports={weekDays:["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],years:"Années",year:"Année",month:"Mois",week:"Semaine",day:"Jour",today:"Aujourd'hui",noEvent:"Aucun événement",deleteEvent:"Supprimer",createEvent:"Créer un événement",dateFormat:"DDDD d mmmm yyyy"}},"0a49":function(e,t,n){var i=n("9b43"),a=n("626a"),r=n("4bf8"),s=n("9def"),o=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,d=6==e,v=5==e||d,f=t||o;return function(t,o,h){for(var p,m,y=r(t),g=a(y),w=i(o,h,3),b=s(g.length),D=0,_=n?f(t,b):c?f(t,0):void 0;b>D;D++)if((v||D in g)&&(p=g[D],m=w(p,D,y),e))if(n)_[D]=m;else if(m)switch(e){case 3:return!0;case 5:return p;case 6:return D;case 2:_.push(p)}else if(u)return!1;return d?-1:l||u?u:_}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),a=n("e11e");e.exports=Object.keys||function(e){return i(e,a)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),a=n("4630"),r=n("6821"),s=n("6a99"),o=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?l:function(e,t){if(e=r(e),t=s(t,!0),c)try{return l(e,t)}catch(n){}if(o(e,t))return a(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),a=n("cb7c"),r=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){a(e);var n,s=r(t),o=s.length,c=0;while(o>c)i.f(e,n=s[c++],t[n]);return e}},"17ac":function(e,t,n){"use strict";var i=n("85e1"),a=n.n(i);a.a},"214f":function(e,t,n){"use strict";var i=n("32e9"),a=n("2aba"),r=n("79e5"),s=n("be13"),o=n("2b4c");e.exports=function(e,t,n){var c=o(e),l=n(s,c,""[e]),u=l[0],d=l[1];r(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(a(String.prototype,e,u),i(RegExp.prototype,c,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),a=n("7726").document,r=i(a)&&i(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"28a5":function(e,t,n){n("214f")("split",2,function(e,t,i){"use strict";var a=n("aae3"),r=i,s=[].push,o="split",c="length",l="lastIndex";if("c"=="abbc"[o](/(b)*/)[1]||4!="test"[o](/(?:)/,-1)[c]||2!="ab"[o](/(?:ab)*/)[c]||4!="."[o](/(.?)(.?)/)[c]||"."[o](/()()/)[c]>1||""[o](/.?/)[c]){var u=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(n,e,t);var i,o,d,v,f,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,y=void 0===t?4294967295:t>>>0,g=new RegExp(e.source,p+"g");u||(i=new RegExp("^"+g.source+"$(?!\\s)",p));while(o=g.exec(n)){if(d=o.index+o[0][c],d>m&&(h.push(n.slice(m,o.index)),!u&&o[c]>1&&o[0].replace(i,function(){for(f=1;f<arguments[c]-2;f++)void 0===arguments[f]&&(o[f]=void 0)}),o[c]>1&&o.index<n[c]&&s.apply(h,o.slice(1)),v=o[0][c],m=d,h[c]>=y))break;g[l]===o.index&&g[l]++}return m===n[c]?!v&&g.test("")||h.push(""):h.push(n.slice(m)),h[c]>y?h.slice(0,y):h}}else"0"[o](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)});return[function(n,a){var r=e(this),s=void 0==n?void 0:n[t];return void 0!==s?s.call(n,r,a):i.call(String(r),n,a)},i]})},"2a6b":function(e){e.exports={weekDays:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],years:"År",year:"År",month:"Månad",week:"Vecka",day:"Dag",today:"Idag",noEvent:"Ingen händelse",deleteEvent:"Ta bort",createEvent:"Skapa händelse",dateFormat:"DDDD den d mmmm yyyy"}},"2aba":function(e,t,n){var i=n("7726"),a=n("32e9"),r=n("69a8"),s=n("ca5a")("src"),o="toString",c=Function[o],l=(""+c).split(o);n("8378").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,o){var c="function"==typeof n;c&&(r(n,"name")||a(n,"name",t)),e[t]!==n&&(c&&(r(n,s)||a(n,s,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,o,function(){return"function"==typeof this&&this[s]||c.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),a=n("1495"),r=n("e11e"),s=n("613b")("IE_PROTO"),o=function(){},c="prototype",l=function(){var e,t=n("230e")("iframe"),i=r.length,a="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(a+"script"+s+"document.F=Object"+a+"/script"+s),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(o[c]=i(e),n=new o,o[c]=null,n[s]=e):n=l(),void 0===t?n:a(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),a=n("ca5a"),r=n("7726").Symbol,s="function"==typeof r,o=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:a)("Symbol."+e))};o.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"32e9":function(e,t,n){var i=n("86cc"),a=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(e,t,n){var i=n("5ca1"),a=n("79e5"),r=n("be13"),s=/"/g,o=function(e,t,n,i){var a=String(r(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),o+">"+a+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(o),i(i.P+i.F*a(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),a=n("4bf8"),r=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),a=n("4630"),r=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:a(1,n)}),r(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),a=n("0d58");n("5eda")("keys",function(){return function(e){return a(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){n("214f")("match",1,function(e,t,n){return[function(n){"use strict";var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i):new RegExp(n)[t](String(i))},n]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4da1":function(e,t,n){var i={"./de.json":"8d7d","./en.json":"7213","./es.json":"e240","./fr.json":"0699","./hr.json":"7cd4","./it.json":"eed7","./nl.json":"b258","./pt-br.json":"89f4","./ru.json":"a65a","./sv.json":"2a6b","./zh-cn.json":"88b4"};function a(e){var t=r(e);return n(t)}function r(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(i)},a.resolve=r,e.exports=a,a.id="4da1"},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),a=n("7726"),r="__core-js_shared__",s=a[r]||(a[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var i=n("7726"),a=n("8378"),r=n("32e9"),s=n("2aba"),o=n("9b43"),c="prototype",l=function(e,t,n){var u,d,v,f,h=e&l.F,p=e&l.G,m=e&l.S,y=e&l.P,g=e&l.B,w=p?i:m?i[t]||(i[t]={}):(i[t]||{})[c],b=p?a:a[t]||(a[t]={}),D=b[c]||(b[c]={});for(u in p&&(n=t),n)d=!h&&w&&void 0!==w[u],v=(d?w:n)[u],f=g&&d?o(v,i):y&&"function"==typeof v?o(Function.call,v):v,w&&s(w,u,v,e&l.U),b[u]!=v&&r(b,u,f),y&&D[u]!=v&&(D[u]=v)};i.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5dbc":function(e,t,n){var i=n("d3f4"),a=n("8b97").set;e.exports=function(e,t,n){var r,s=t.constructor;return s!==n&&"function"==typeof s&&(r=s.prototype)!==n.prototype&&i(r)&&a&&a(e,r),e}},"5eda":function(e,t,n){var i=n("5ca1"),a=n("8378"),r=n("79e5");e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*r(function(){n(1)}),"Object",s)}},"613b":function(e,t,n){var i=n("5537")("keys"),a=n("ca5a");e.exports=function(e){return i[e]||(i[e]=a(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6821:function(e,t,n){var i=n("626a"),a=n("be13");e.exports=function(e){return i(a(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),a=n("0bfb"),r=n("9e1e"),s="toString",o=/./[s],c=function(e){n("2aba")(RegExp.prototype,s,e,!0)};n("79e5")(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?c(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?a.call(e):void 0)}):o.name!=s&&c(function(){return o.call(this)})},"6b6a":function(e,t,n){},7213:function(e){e.exports={weekDays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],years:"Years",year:"Year",month:"Month",week:"Week",day:"Day",today:"Today",noEvent:"No Event",deleteEvent:"Delete",createEvent:"Create an event",dateFormat:"DDDD mmmm d{S}, yyyy"}},7333:function(e,t,n){"use strict";var i=n("0d58"),a=n("2621"),r=n("52a7"),s=n("4bf8"),o=n("626a"),c=Object.assign;e.exports=!c||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=s(e),c=arguments.length,l=1,u=a.f,d=r.f;while(c>l){var v,f=o(arguments[l++]),h=u?i(f).concat(u(f)):i(f),p=h.length,m=0;while(p>m)d.call(f,v=h[m++])&&(n[v]=f[v])}return n}:c},7514:function(e,t,n){"use strict";var i=n("5ca1"),a=n("0a49")(5),r="find",s=!0;r in[]&&Array(1)[r](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(r)},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),a=Math.max,r=Math.min;e.exports=function(e,t){return e=i(e),e<0?a(e+t,0):r(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7cd4":function(e){e.exports={weekDays:["Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota","Nedjelja"],months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],years:"Godine",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",today:"Današnji dan",noEvent:"Nema događaja",deleteEvent:"Obriši",createEvent:"Kreiraj događaj",dateFormat:"DDDD d mmmm yyyy"}},"7f20":function(e,t,n){var i=n("86cc").f,a=n("69a8"),r=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"85e1":function(e,t,n){},"86cc":function(e,t,n){var i=n("cb7c"),a=n("c69a"),r=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),a)try{return s(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"88b4":function(e){e.exports={weekDays:["星期一","星期二","星期三","星期四","星期五","星期六","星期日"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],years:"年",year:"本年",month:"月",week:"周",day:"日",today:"今日",noEvent:"暂无活动",deleteEvent:"删除",createEvent:"新建活动",dateFormat:"yyyy mmmm d DDDD"}},"89f4":function(e){e.exports={weekDays:["Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado","Domingo"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],years:"Anos",year:"Ano",month:"Mês",week:"Semana",day:"Dia",today:"Hoje",noEvent:"Sem eventos",deleteEvent:"Remover",createEvent:"Criar um evento",dateFormat:"DDDD d mmmm yyyy"}},"8b97":function(e,t,n){var i=n("d3f4"),a=n("cb7c"),r=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(a){t=!0}return function(e,n){return r(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:r}},"8d7d":function(e){e.exports={weekDays:["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],years:"Jahre",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",today:"Heute",noEvent:"Keine Events",deleteEvent:"Löschen",createEvent:"Event erstellen",dateFormat:"DDDD d mmmm yyyy"}},9093:function(e,t,n){var i=n("ce10"),a=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),a=Array.prototype;void 0==a[i]&&n("32e9")(a,i,{}),e.exports=function(e){a[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){n("214f")("replace",2,function(e,t,n){return[function(i,a){"use strict";var r=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,r,a):n.call(String(r),i,a)},n]})},a65a:function(e){e.exports={weekDays:["Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],years:"Годы",year:"Год",month:"Месяц",week:"Неделя",day:"День",today:"Сегодня",noEvent:"Нет событий",deleteEvent:"Удалить",createEvent:"Создать событие",dateFormat:"DDDD d mmmm yyyy"}},aa77:function(e,t,n){var i=n("5ca1"),a=n("be13"),r=n("79e5"),s=n("fdef"),o="["+s+"]",c="​…",l=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),d=function(e,t,n){var a={},o=r(function(){return!!s[e]()||c[e]()!=c}),l=a[e]=o?t(v):s[e];n&&(a[n]=l),i(i.P+i.F*o,"String",a)},v=d.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},aae3:function(e,t,n){var i=n("d3f4"),a=n("2d95"),r=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==a(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),a=n("0d58"),r=n("2aba"),s=n("7726"),o=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),d=l("toStringTag"),v=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),p=0;p<h.length;p++){var m,y=h[p],g=f[y],w=s[y],b=w&&w.prototype;if(b&&(b[u]||o(b,u,v),b[d]||o(b,d,y),c[y]=v,g))for(m in i)b[m]||r(b,m,i[m],!0)}},b258:function(e){e.exports={weekDays:["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],years:"Jaren",year:"Jaar",month:"Maand",week:"Week",day:"Dag",today:"Vandaag",noEvent:"Geen afspraken",deleteEvent:"Verwijderen",createEvent:"Nieuwe afspraak aanmaken",dateFormat:"DDDD d mmmm yyyy"}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var i=n("6821"),a=n("9def"),r=n("77f1");e.exports=function(e){return function(t,n,s){var o,c=i(t),l=a(c.length),u=r(s,l);if(e&&n!=n){while(l>u)if(o=c[u++],o!=o)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),a=n("69a8"),r=n("2d95"),s=n("5dbc"),o=n("6a99"),c=n("79e5"),l=n("9093").f,u=n("11e9").f,d=n("86cc").f,v=n("aa77").trim,f="Number",h=i[f],p=h,m=h.prototype,y=r(n("2aeb")(m))==f,g="trim"in String.prototype,w=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=g?t.trim():v(t,3);var n,i,a,r=t.charCodeAt(0);if(43===r||45===r){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===r){switch(t.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(var s,c=t.slice(2),l=0,u=c.length;l<u;l++)if(s=c.charCodeAt(l),s<48||s>a)return NaN;return parseInt(c,i)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(y?c(function(){m.valueOf.call(n)}):r(n)!=f)?s(new p(w(t)),n,h):w(t)};for(var b,D=n("9e1e")?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;D.length>_;_++)a(p,b=D[_])&&!a(h,b)&&d(h,b,u(p,b));h.prototype=m,m.constructor=h,n("2aba")(i,f,h)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),a=n("d53b"),r=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),a=n("6821"),r=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,o=a(e),c=0,l=[];for(n in o)n!=s&&i(o,n)&&l.push(n);while(t.length>c)i(o,n=t[c++])&&(~r(l,n)||l.push(n));return l}},d011:function(e,t,n){"use strict";var i=n("6b6a"),a=n.n(i);a.a},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e240:function(e){e.exports={weekDays:["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],years:"Años",year:"Año",month:"Mes",week:"Semana",day:"Día",today:"Hoy",noEvent:"No hay evento",deleteEvent:"Borrar",createEvent:"Crear un evento",dateFormat:"DDDD d mmmm yyyy"}},e853:function(e,t,n){var i=n("d3f4"),a=n("1169"),r=n("2b4c")("species");e.exports=function(e){var t;return a(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!a(t.prototype)||(t=void 0),i(t)&&(t=t[r],null===t&&(t=void 0))),void 0===t?Array:t}},eed7:function(e){e.exports={weekDays:["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],years:"Anni",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",today:"Oggi",noEvent:"No evento",deleteEvent:"Cancellare",createEvent:"Creare un evento",dateFormat:"DDDD d mmmm yyyy"}},f386:function(e,t,n){"use strict";n("386b")("small",function(e){return function(){return e(this,"small","","")}})},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__flex vuecal",class:e.cssClasses,attrs:{column:"",lang:e.locale}},[n("div",{staticClass:"vuecal__header"},[e.hideViewSelector?e._e():n("ul",{staticClass:"vuecal__flex vuecal__menu"},e._l(e.views,function(t,i){return t.enabled?n("li",{class:{active:e.view.id===i},on:{click:function(t){e.switchView(i)}}},[e._v(e._s(t.label))]):e._e()})),e.hideTitleBar?e._e():n("div",{staticClass:"vuecal__title"},[n("div",{staticClass:"vuecal__arrow vuecal__arrow--prev",on:{click:e.previous}},[e._t("arrowPrev",[n("i",{staticClass:"angle"})])],2),e._t("title",[n("span",{class:{clickable:!!e.broaderView},on:{click:function(t){e.switchToBroaderView()}}},[e._v(e._s(e.viewTitle))])],{title:e.viewTitle,view:e.view}),n("div",{staticClass:"vuecal__arrow vuecal__arrow--next",on:{click:e.next}},[e._t("arrowNext",[n("i",{staticClass:"angle"})])],2)],2),!e.viewHeadings.length||e.hasSplits&&"week"===e.view.id?e._e():n("div",{staticClass:"vuecal__flex vuecal__weekdays-headings"},e._l(e.viewHeadings,function(t,i){return n("div",{key:i,staticClass:"vuecal__flex vuecal__heading",class:t.class,style:e.weekdayCellStyles},[e._l(3,function(i){return n("span",{key:i},[e._v(e._s(t["label"+i]))])}),t.label4?n("span",[e._v(" ")]):e._e(),t.label4?n("span",[e._v(e._s(t.label4))]):e._e()],2)}))]),n("div",{staticClass:"vuecal__flex vuecal__body",attrs:{grow:""}},[n("div",{class:{vuecal__flex:!e.hasTimeColumn},staticStyle:{"min-width":"100%"}},[n("div",{staticClass:"vuecal__bg",attrs:{grow:""}},[e.time&&["week","day"].indexOf(e.view.id)>-1?n("div",{staticClass:"vuecal__time-column"},e._l(e.timeCells,function(t,i){return n("div",{key:i,staticClass:"vuecal__time-cell",style:"height: "+e.timeCellHeight+"px"},[e._t("time-cell",[n("span",{staticClass:"line"},[e._v(e._s(t.label))])],{hours:t.hours,minutes:t.minutes})],2)})):e._e(),n("div",{staticClass:"vuecal__flex vuecal__cells",attrs:{grow:"",column:e.hasSplits&&"week"===e.view.id}},[e.hasSplits&&"week"===e.view.id?n("div",{staticClass:"vuecal__flex vuecal__weekdays-headings"},e._l(e.viewHeadings,function(t,i){return n("div",{key:i,staticClass:"vuecal__flex vuecal__heading",class:t.class,style:e.weekdayCellStyles},[e._l(3,function(i){return n("span",{key:i},[e._v(e._s(t["label"+i]))])}),t.label4?n("span",[e._v(" ")]):e._e(),t.label4?n("span",[e._v(e._s(t.label4))]):e._e()],2)})):e._e(),e.hasSplits?n("div",{staticClass:"vuecal__flex",attrs:{grow:""}},e._l(e.viewCells,function(t,i){return n("vuecal-cell",{key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,today:t.today,content:t.content,splits:e.splitDays},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}}})})):e._l(e.viewCells,function(t,i){return n("vuecal-cell",e._b({key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,today:t.today,content:t.content},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}},scopedSlots:e._u([{key:"events-count-month-view",fn:function(t){var i=t.events;return n("div",{attrs:{events:i}},[e._t("events-count-month-view",[i.length?n("span",{staticClass:"vuecal__cell-events-count"},[e._v(e._s(i.length))]):e._e()],{events:i})],2)}}])},"vuecal-cell",{scopedSlots:e.$scopedSlots},!1))})],2)])])])])},r=[];n("f386"),n("4917");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){s(e,t,n[t])})}return e}n("f751"),n("28a5");function c(e){if(Array.isArray(e))return e}function l(e,t){var n=[],i=!0,a=!1,r=void 0;try{for(var s,o=e[Symbol.iterator]();!(i=(s=o.next()).done);i=!0)if(n.push(s.value),t&&n.length===t)break}catch(c){a=!0,r=c}finally{try{i||null==o["return"]||o["return"]()}finally{if(a)throw r}}return n}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function d(e,t){return c(e)||l(e,t)||u()}n("6b54"),n("7514"),n("ac6a"),n("456d"),n("c5f6"),n("a481");var v=new Date,f="".concat(v.getFullYear(),"-").concat(v.getMonth(),"-").concat(v.getDate());Date.prototype.addDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()+e),t},Date.prototype.subtractDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()-e),t},Date.prototype.getWeek=function(){var e=new Date(Date.UTC(this.getFullYear(),this.getMonth(),this.getDate())),t=e.getUTCDay()||7;e.setUTCDate(e.getUTCDate()+4-t);var n=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e-n)/864e5+1)/7)};var h=function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth(),"-").concat(e.getDate())===f},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e&&new Date(e.valueOf())||new Date;return t.setDate(t.getDate()-(t.getDay()+6)%7),t},m=function(e,t){var n=new Date(t,e,1),i=[];while(n.getMonth()===e)i.push(new Date(n)),n.setDate(n.getDate()+1);return i},y=function(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"HH:mm",n=Math.floor(e/60),i=n%12?n%12:12,a=n<12?"am":"pm",r=Math.floor(e%60),s={H:n,h:i,HH:(n<10?"0":"")+n,hh:(i<10?"0":"")+i,am:a,AM:a.toUpperCase(),m:r,mm:(r<10?"0":"")+r};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){return s[t.replace(/\{|\}/g,"")]})},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd",n=arguments.length>2?arguments[2]:void 0,i=e.getDate(),a=e.getMonth()+1,r={D:e.getDay(),DD:n.weekDays[(e.getDay()-1+7)%7][0],DDD:n.weekDays[(e.getDay()-1+7)%7].substr(0,3),DDDD:n.weekDays[(e.getDay()-1+7)%7],d:i,dd:(i<10?"0":"")+i,S:y(i),m:a,mm:(a<10?"0":"")+a,mmm:n.months[a-1].substr(0,3),mmmm:n.months[a-1],yyyy:e.getFullYear(),yy:e.getFullYear().toString().substr(2,4)};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){var n=r[t.replace(/\{|\}/g,"")];return void 0!==n?n:t})},b=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"vuecal__cell",class:(e={splitted:t.splits.length,"vuecal__cell--has-events":t.events.length},e[t.cssClass]=!0,e),style:t.cellStyles},[t._l(t.splits.length||1,function(e){return i("div",{staticClass:"vuecal__cell-content",class:t.splits.length&&"vuecal__cell-split "+t.splits[e-1].class},[t.splits.length?i("div",{staticClass:"split-label",domProps:{innerHTML:t._s(t.splits[e-1].label)}}):t._e(),t.content?i("div",{domProps:{innerHTML:t._s(t.content)}}):i("div",[t.events.length?t._l(t.splits.length?t.splitEvents[e]:t.events,function(e,n){return i("div",{key:n,staticClass:"vuecal__event",class:t.eventClasses(e),style:t.eventStyles(e),on:{mouseenter:function(n){t.onMouseEnter(n,e)},mouseleave:function(n){t.onMouseLeave(n,e)},mousedown:function(n){t.onMouseDown(n,e)},contextmenu:function(n){t.onContextMenu(n,e)},touchstart:function(n){t.onTouchStart(n,e)}}},[t.editableEvents?i("div",{staticClass:"vuecal__event-delete",on:{mousedown:function(n){n.stopPropagation(),n.preventDefault(),t.deleteEvent(e)},touchstart:function(n){n.stopPropagation(),n.preventDefault(),t.touchDeleteEvent(e)}}},[t._v(t._s(t.texts.deleteEvent))]):t._e(),t.editableEvents&&e.title?i("div",{staticClass:"vuecal__event-title vuecal__event-title--edit",attrs:{contenteditable:""},domProps:{innerHTML:t._s(e.title)},on:{blur:function(n){t.onEventTitleBlur(n,e)}}}):e.title?i("div",{staticClass:"vuecal__event-title"},[t._v(t._s(e.title))]):t._e(),e.startTimeMinutes?i("div",{staticClass:"vuecal__event-time"},[t._v(t._s(t._f("formatTime")(e.startTimeMinutes,t.timeFormat))),e.endTimeMinutes?i("span",[t._v(" - "+t._s(t._f("formatTime")(e.endTimeMinutes,t.timeFormat)))]):t._e()]):t._e(),e.content?i("div",{staticClass:"vuecal__event-content",domProps:{innerHTML:t._s(e.content)}}):t._e(),t.editableEvents&&e.startTime?i("div",{staticClass:"vuecal__event-resize-handle",on:{mousedown:function(n){t.editableEvents&&t.time&&t.onDragHandleMouseDown(n,e)},touchstart:function(n){t.editableEvents&&t.time&&t.onDragHandleMouseDown(n,e)}}}):t._e()])}):i("div",{staticClass:"vuecal__no-event"},[t._v(t._s(t.texts.noEvent))])],2),"month"===t.$parent.view.id?i("div",[t._t("events-count-month-view",[t.events.length?i("span",{staticClass:"vuecal__cell-events-count"},[t._v(t._s(t.events.length))]):t._e()],{events:t.events})],2):t._e()])}),t.timelineVisible?i("div",{staticClass:"vuecal__now-line",style:"top: "+t.todaysTimePosition+"px"}):t._e()],2)},D=[],_={props:{cssClass:{type:String,default:""},date:{type:Date,required:!0},formattedDate:{type:String,default:""},content:{type:[String,Number],default:""},splits:{type:Array,default:function(){return[]}},today:{type:Boolean,default:!1}},data:function(){return{splitEvents:{}}},filters:{formatTime:function(e,t){return e&&(g(e,t)||"")}},methods:{updateEventPosition:function(e){var t=e.startTimeMinutes-this.timeFrom,n=Math.round(t*this.timeCellHeight/this.timeStep);t=e.endTimeMinutes-this.timeFrom;var i=Math.round(t*this.timeCellHeight/this.timeStep);e.top=n,e.height=i-n},eventStyles:function(e){if(!e.startTime)return{};var t=this.domEvents.resizeAnEvent;return{top:"".concat(e.top,"px"),height:"".concat(t.newHeight&&t.eventId===e.id?t.newHeight:e.height,"px")}},eventClasses:function(e){var t=this,n=Object.keys(e.overlapping).length,i=Object.keys(e.overlapped).length,a=Object.keys(e.simultaneous).length+1,r=!1;if(a>=3){var s=a-1;Object.keys(e.simultaneous).forEach(function(e){s&&Object.keys(t.events.find(function(t){return t.id===e}).simultaneous).length+1<3&&s--}),s||(a=2)}else if(2===a){var c=this.events.find(function(t){return t.id===Object.keys(e.simultaneous)[0]});Object.keys(c.overlapping).length&&Object.keys(c.overlapped).length&&(r=!0)}return o({},e.classes,{"vuecal__event--focus":this.domEvents.focusAnEvent.eventId===e.id,"vuecal__event--deletable":this.domEvents.clickHoldAnEvent.eventId===e.id,"vuecal__event--overlapped":i,"vuecal__event--overlapping":n,"vuecal__event--split2":2===a,"vuecal__event--split3":a>=3,"vuecal__event--split-middle":i&&n&&a>=3,"vuecal__event--split-left":r})},checkCellOverlappingEvents:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.events){var n=this.events.filter(function(e){return!e.background&&(t?e.split===t:1)});if(n.length){var i=n.map(function(e){return e.id}),a={};this.events.forEach(function(t){if(!t.background){var r=Object.keys(a);a[t.id]=e.splits.length?n.filter(function(e){return e.id!==t.id&&-1===r.indexOf(e.id)&&e.split===t.split}).map(function(e){return e.id}):i.filter(function(e){return e!==t.id&&-1===r.indexOf(e)}),a[t.id].length&&e.checkOverlappingEvents(t,a[t.id])}})}}},checkOverlappingEvents:function(e,t){var n=this;t.forEach(function(t,i){var a=n.events.find(function(e){return e.id===t}),r=e.startTimeMinutes<a.startTimeMinutes,s=!r&&a.endTimeMinutes>e.startTimeMinutes,o=r&&e.endTimeMinutes>a.startTimeMinutes;s?(e.overlapping[a.id]=!0,a.overlapped[e.id]=!0):(delete e.overlapping[a.id],delete a.overlapped[e.id]),o?(a.overlapping[e.id]=!0,e.overlapped[a.id]=!0):(delete a.overlapping[e.id],delete e.overlapped[a.id]),e.startTimeMinutes===a.startTimeMinutes||s||o?(e.simultaneous[a.id]=!0,a.simultaneous[e.id]=!0):(delete e.simultaneous[a.id],delete a.simultaneous[e.id]),n.splits.length&&(n.splitEvents[e.split]=n.events.filter(function(t){return t.split===e.split}))})},onEventTitleBlur:function(e,t){t.title=e.target.innerHTML,this.$parent.emitWithEvent("event-change",t),this.$parent.emitWithEvent("event-title-change",t)},onResizeEvent:function(){var e=this.$parent.domEvents.resizeAnEvent,t=e.eventId,n=e.newHeight,i=this.events.filter(function(e){return e.id===t})[0];i&&(i.height=Math.max(n,10),this.updateEndTimeOnResize(i),i.background||this.checkCellOverlappingEvents(i.split||0))},updateEndTimeOnResize:function(e){var t=e.top+e.height,n=(t/this.timeCellHeight*this.timeStep+this.timeFrom)/60,i=parseInt(n),a=parseInt(60*(n-i));e.endTimeMinutes=60*n,e.endTime="".concat(i,":").concat((a<10?"0":"")+a),e.end=e.end.split(" ")[0]+" ".concat(e.endTime)},onMouseDown:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("ontouchstart"in window&&!n)return!1;var i=this.domEvents.clickHoldAnEvent,a=this.domEvents.resizeAnEvent;if(this.domEvents.focusAnEvent.eventId===t.id&&i.eventId===t.id)return!0;this.focusEvent(t),i.eventId=null,a.start||(i.timeoutId=setTimeout(function(){i.eventId=t.id},i.timeout))},onMouseEnter:function(e,t){e.preventDefault(),this.$parent.emitWithEvent("event-mouse-enter",t)},onMouseLeave:function(e,t){e.preventDefault(),this.$parent.emitWithEvent("event-mouse-leave",t)},onContextMenu:function(e,t){return e.preventDefault(),!1},onTouchStart:function(e,t){this.onMouseDown(e,t,!0)},onDragHandleMouseDown:function(e,t){var n="ontouchstart"in window&&e.touches?e.touches[0].clientY:e.clientY;this.domEvents.resizeAnEvent=Object.assign(this.domEvents.resizeAnEvent,{start:n,originalHeight:t.height,newHeight:t.height,eventId:t.id,eventStartDate:t.startDate})},deleteEvent:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("ontouchstart"in window&&!n)return!1;this.$parent.emitWithEvent("event-delete",e),this.events=this.events.filter(function(t){return t.id!==e.id}),e.background||(Object.keys(e.overlapped).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).overlapping[e.id]}),Object.keys(e.overlapping).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).overlapped[e.id]}),Object.keys(e.simultaneous).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).simultaneous[e.id]}),this.checkCellOverlappingEvents(e.split||0)),this.splits.length&&(this.splitEvents[e.split]=this.events.filter(function(t){return t.id!==e.id&&t.split===e.split}))},touchDeleteEvent:function(e){this.deleteEvent(e,!0)},focusEvent:function(e){this.$parent.emitWithEvent("event-focus",e),this.domEvents.focusAnEvent.eventId=e.id}},computed:{texts:function(){return this.$parent.texts},view:function(){return this.$parent.view.id},time:function(){return this.$parent.time},timeFormat:function(){return this.$parent.timeFormat||(this.$parent["12Hour"]?"h:mm{am}":"HH:mm")},timeCellHeight:function(){return parseInt(this.$parent.timeCellHeight)},timeFrom:function(){return parseInt(this.$parent.timeFrom)},timeTo:function(){return parseInt(this.$parent.timeTo)},timeStep:function(){return parseInt(this.$parent.timeStep)},editableEvents:function(){return this.$parent.editableEvents},noEventOverlaps:function(){var e=this;return this.$nextTick(function(){return e.checkCellOverlappingEvents()}),this.$parent.noEventOverlaps},domEvents:{get:function(){return this.$parent.domEvents.resizeAnEvent.eventId&&this.onResizeEvent(),this.$parent.domEvents},set:function(e){this.$parent.domEvents=e}},cellStyles:function(){return{minWidth:"".concat(this.$parent.minCellWidth,"px")||!1}},events:{get:function(){var e=this,t=this.$parent.mutableEvents[this.formattedDate]||[];return this.splitEvents=[],t.forEach(function(t){t.startTime&&e.updateEventPosition(t),e.splits.length&&t.split&&(e.splitEvents[t.split]||e.$set(e.splitEvents,t.split,[]),e.splitEvents[t.split].push(t))}),this.$nextTick(function(){e.checkCellOverlappingEvents(),e.$forceUpdate()}),t},set:function(e){this.$parent.mutableEvents[this.formattedDate]=e}},cellSplitEvents:function(){var e={};return this.events.forEach(function(t,n){e[t.split||0]||(e[t.split||0]={}),e[t.split||0][t.id]=n}),e},timelineVisible:function(){if(this.today&&this.time&&-1!==["week","day"].indexOf(this.view)){var e=new Date,t=60*e.getHours()+e.getMinutes();return t<=this.timeTo}},todaysTimePosition:function(){if(this.today&&this.time){var e=new Date,t=60*e.getHours()+e.getMinutes(),n=t-this.timeFrom;return Math.round(n*this.timeCellHeight/this.timeStep)}}}},E=_;n("d011");function k(e,t,n,i,a,r,s,o){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):a&&(c=o?function(){a.call(this,this.$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var x=k(E,b,D,!1,null,null,null);x.options.__file="cell.vue";var S=x.exports,M={name:"vue-cal",components:{"vuecal-cell":S},props:{locale:{type:String,default:"en"},hideViewSelector:{type:Boolean,default:!1},hideTitleBar:{type:Boolean,default:!1},hideWeekends:{type:Boolean,default:!1},disableViews:{type:Array,default:function(){return[]}},defaultView:{type:String,default:"week"},selectedDate:{type:String,default:""},small:{type:Boolean,default:!1},xsmall:{type:Boolean,default:!1},clickToNavigate:{type:Boolean,default:!1},dblClickToNavigate:{type:Boolean,default:!0},time:{type:Boolean,default:!0},timeFrom:{type:Number,default:0},timeTo:{type:Number,default:1440},timeStep:{type:Number,default:60},timeCellHeight:{type:Number,default:40},"12Hour":{type:Boolean,default:!1},timeFormat:{type:String,default:""},minCellWidth:{type:Number,default:0},splitDays:{type:Array,default:function(){return[]}},events:{type:Array,default:function(){return[]}},editableEvents:{type:Boolean,default:!1},noEventOverlaps:{type:Boolean,default:!1}},data:function(){return{ready:!1,now:v,view:{id:"",title:"",startDate:null,selectedDate:null},eventIdIncrement:1,domEvents:{resizeAnEvent:{eventId:null,start:null,originalHeight:0,newHeight:0},dragAnEvent:{eventId:null},focusAnEvent:{eventId:null},clickHoldAnEvent:{eventId:null,timeout:1200,timeoutId:null},dblTapACell:{taps:0,timeout:500}},mutableEvents:{}}},methods:{previous:function(){switch(this.view.id){case"years":this.switchView(this.view.id,new Date(this.view.startDate.getFullYear()-25,0,1));break;case"year":var e=new Date(this.view.startDate.getFullYear()-1,1,1);this.switchView(this.view.id,e);break;case"month":var t=new Date(this.view.startDate.getFullYear(),this.view.startDate.getMonth()-1,1);this.switchView(this.view.id,t);break;case"week":var n=p(this.view.startDate).subtractDays(7);this.switchView(this.view.id,n);break;case"day":var i=this.view.startDate.subtractDays(1);this.switchView(this.view.id,i);break}},next:function(){switch(this.view.id){case"years":this.switchView(this.view.id,new Date(this.view.startDate.getFullYear()+25,0,1));break;case"year":var e=new Date(this.view.startDate.getFullYear()+1,0,1);this.switchView(this.view.id,e);break;case"month":var t=new Date(this.view.startDate.getFullYear(),this.view.startDate.getMonth()+1,1);this.switchView(this.view.id,t);break;case"week":var n=p(this.view.startDate).addDays(7);this.switchView(this.view.id,n);break;case"day":var i=this.view.startDate.addDays(1);this.switchView(this.view.id,i);break}},switchToBroaderView:function(){this.broaderView&&this.switchView(this.broaderView)},switchToNarrowerView:function(){var e=this,t=Object.keys(this.views);t=t.slice(t.indexOf(this.view.id)+1);var n=t.find(function(t){return e.views[t].enabled});n&&this.switchView(n)},switchView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(this.view.id=e,t||(t=this.view.selectedDate||this.view.startDate,"week"===e&&(t=p(t))),e){case"years":this.view.startDate=new Date(25*Math.floor(t.getFullYear()/25)||2e3,0,1);break;case"year":this.view.startDate=new Date(t.getFullYear(),0,1);break;case"month":this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1);break;case"week":case"day":this.view.startDate=t;break}if(this.ready){var n={view:e,startDate:this.view.startDate};"week"===e&&(n.week=this.view.startDate.getWeek()),this.$emit("view-change",n)}},findAncestor:function(e,t){while((e=e.parentElement)&&!e.classList.contains(t));return e},isDOMElementAnEvent:function(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},selectCell:function(e){var t=this;this.view.selectedDate.toString()!==e.date.toString()&&(this.view.selectedDate=e.date,this.$emit("day-focus",e.date)),this.clickToNavigate?this.switchToNarrowerView():this.dblClickToNavigate&&"ontouchstart"in window&&(this.domEvents.dblTapACell.taps++,setTimeout(function(){return t.domEvents.dblTapACell.taps=0},this.domEvents.dblTapACell.timeout),this.domEvents.dblTapACell.taps>=2&&(this.domEvents.dblTapACell.taps=0,this.switchToNarrowerView()))},onMouseMove:function(e){var t=this.domEvents.resizeAnEvent;if(null!==t.eventId){e.preventDefault();var n="ontouchstart"in window?e.touches[0].clientY:e.clientY;t.newHeight=t.originalHeight+(n-t.start)}},onMouseUp:function(e){var t=this.domEvents.focusAnEvent,n=this.domEvents.resizeAnEvent,i=this.domEvents.clickHoldAnEvent;if(n.eventId){var a=this.mutableEvents[n.eventStartDate].find(function(e){return e.id===n.eventId});this.emitWithEvent("event-change",a),this.emitWithEvent("event-duration-change",a)}this.isDOMElementAnEvent(e.target)||n.eventId||(t.eventId=null,i.eventId=null),i.timeoutId&&!i.eventId&&(clearTimeout(i.timeoutId),i.timeoutId=null),n.eventId=null,n.start=null,n.originalHeight=null,n.newHeight=null},updateMutableEvents:function(){var e=this;this.mutableEvents={},this.events.map(function(t){var n,i=t.start.split(" "),a=d(i,2),r=a[0],o=a[1],c=void 0===o?"":o,l=c.split(":"),u=d(l,2),v=u[0],f=u[1],h=60*parseInt(v)+parseInt(f),p=t.end.split(" "),m=d(p,2),y=m[0],g=m[1],w=void 0===g?"":g,b=w.split(":"),D=d(b,2),_=D[0],E=D[1],k=60*parseInt(_)+parseInt(E),x="".concat(e._uid,"_").concat(e.eventIdIncrement++);return t=Object.assign({},t,{id:x,startDate:r,endDate:y,startTime:c,startTimeMinutes:h,endTime:w,endTimeMinutes:k,height:0,top:0,overlapped:{},overlapping:{},simultaneous:{},classes:(n={},s(n,t.class,!0),s(n,"vuecal__event--background",t.background),n)}),t.startDate in e.mutableEvents||e.$set(e.mutableEvents,t.startDate,[]),e.mutableEvents[t.startDate].push(t),t})},emitWithEvent:function(e,t){var n=o({},t);delete n.height,delete n.top,delete n.overlapped,delete n.overlapping,delete n.simultaneous,delete n.classes;var i=n.start.split(" "),a=d(i,2),r=a[0],s=a[1],c=r&&r.split("-")||[0,0,0],l=d(c,3),u=l[0],v=l[1],f=l[2],h=s&&s.split(":")||[0,0],p=d(h,2),m=p[0],y=p[1];n.startDate=new Date(u,parseInt(v)-1,f,m,y);var g=n.end.split(" "),w=d(g,2),b=w[0],D=w[1],_=b&&b.split("-")||[0,0,0],E=d(_,3),k=E[0],x=E[1],S=E[2],M=D&&D.split(":")||[0,0],T=d(M,2),O=T[0],C=T[1];n.endDate=new Date(k,parseInt(x)-1,S,O,C),this.$emit(e,n)}},created:function(){if(this.updateMutableEvents(this.events),this.selectedDate){var e=this.selectedDate.match(/(\d{4})-(\d{2})-(\d{2})(?: (\d{2}):(\d{2}))?/),t=d(e,6),n=t[1],i=t[2],a=t[3],r=t[4],s=void 0===r?0:r,o=t[5],c=void 0===o?0:o;this.view.selectedDate=new Date(n,parseInt(i)-1,a,s,c)}else this.view.selectedDate=this.now;this.switchView(this.defaultView)},mounted:function(){if(this.editableEvents&&this.time){var e="ontouchstart"in window;window.addEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.addEventListener(e?"touchend":"mouseup",this.onMouseUp)}this.$emit("ready"),this.ready=!0},computed:{texts:function(){return n("4da1")("./".concat(this.locale,".json"))},views:function(){return{years:{label:this.texts.years,enabled:-1===this.disableViews.indexOf("years")},year:{label:this.texts.year,enabled:-1===this.disableViews.indexOf("year")},month:{label:this.texts.month,enabled:-1===this.disableViews.indexOf("month")},week:{label:this.texts.week,enabled:-1===this.disableViews.indexOf("week")},day:{label:this.texts.day,enabled:-1===this.disableViews.indexOf("day")}}},broaderView:function(){var e=this,t=Object.keys(this.views);return t=t.slice(0,t.indexOf(this.view.id)),t.reverse(),t.find(function(t){return e.views[t].enabled})},hasTimeColumn:function(){return this.time&&["week","day"].indexOf(this.view.id)>-1},timeCells:function(){for(var e=[],t=this.timeFrom,n=this.timeTo;t<n;t+=this.timeStep)e.push({hours:Math.floor(t/60),minutes:t%60,label:g(t,this.timeFormat||(this["12Hour"]?"h:mm{am}":"HH:mm")),value:t});return e},hasSplits:function(){return!!this.splitDays.length&&["week","day"].indexOf(this.view.id)>-1},weekDays:function(){return this.texts.weekDays.map(function(e){return{label:e}})},months:function(){return this.texts.months.map(function(e){return{label:e}})},viewTitle:function(){var e="",t=this.view.startDate,n=t.getFullYear(),i=t.getMonth();switch(this.view.id){case"years":e=this.texts.years;break;case"year":e=n;break;case"month":e="".concat(this.months[i].label," ").concat(n);break;case"week":var a=t.addDays(6),r=w(t,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts);if(a.getMonth()!==t.getMonth()){var s=r.split(" "),o=d(s,2),c=o[0],l=o[1],u=w(a,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts).split(" "),v=d(u,2),f=v[0],h=v[1];r=l===h?"".concat(c," - ").concat(f," ").concat(l):"".concat(c," ").concat(l," - ").concat(f," ").concat(h)}e="".concat(this.texts.week," ").concat(t.getWeek()," (").concat(r,")");break;case"day":e=w(t,this.texts.dateFormat,this.texts);break}return e},viewHeadings:function(){var e=this,t=[];switch(this.view.id){case"month":case"week":t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){return o({label1:"zh-cn"===e.locale?t.label.substr(0,2):t.label[0],label2:"zh-cn"===e.locale?t.label.substr(2):t.label.substr(1,2),label3:"zh-cn"===e.locale?"":t.label.substr(3)},"week"===e.view.id&&{label4:e.view.startDate.addDays(n).getDate()}||{})});break}return t},viewCells:function(){var e=this,t=[],n=null,i=!1;switch(this.view.id){case"years":n=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map(function(t,i){return{content:n+i,date:new Date(n+i,0,1),class:{current:n+i===e.now.getFullYear(),selected:e.view.selectedDate&&n+i===e.view.selectedDate.getFullYear()}}});break;case"year":n=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map(function(t,i){return{content:e.xsmall?e.months[i].label.substr(0,3):e.months[i].label,date:new Date(n,i,1),class:{current:i===e.now.getMonth()&&n===e.now.getFullYear(),selected:i===e.view.selectedDate.getMonth()&&n===e.view.selectedDate.getFullYear()}}});break;case"month":var a=this.view.startDate.getMonth(),r=this.view.startDate.getFullYear(),s=m(a,r),o=s[0].getDay(),c=new Date(this.view.selectedDate.getTime());c.setHours(0,0,0,0),i=!1;var l=0;if(1!==s[0].getDay()){for(var u=p(s[0]),d=[],v=0;v<7;v++)if(d.push(new Date(u)),u.setDate(u.getDate()+1),u.getDay()===o)break;s.unshift.apply(s,d)}t=Array.apply(null,Array(42)).map(function(t,n){var o=s[n]||new Date(r,a+1,++l),u=!i&&o&&o.getDate()===e.now.getDate()&&o.getMonth()===e.now.getMonth()&&o.getFullYear()===e.now.getFullYear()&&!i++,d=w(o,"yyyy-mm-dd",e.texts);return{content:o.getDate(),date:o,formattedDate:d,today:u,class:{today:u,"out-of-scope":o.getMonth()!==a,selected:e.view.selectedDate&&o.getTime()===c.getTime()}}}),this.hideWeekends&&(t=t.filter(function(e){return e.date.getDay()>0&&e.date.getDay()<6}));break;case"week":i=!1;var f=this.view.startDate;t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){var a=f.addDays(n),r=w(a,"yyyy-mm-dd",e.texts),s=!i&&h(a)&&!i++;return{date:a,formattedDate:r,today:s,class:{today:s,selected:e.view.selectedDate&&f.addDays(n).getTime()===e.view.selectedDate.getTime()}}});break;case"day":var y=w(this.view.startDate,"yyyy-mm-dd",this.texts),g=h(this.view.startDate);t=[{date:this.view.startDate,formattedDate:y,today:g,class:{today:g,selected:this.view.selectedDate&&this.view.startDate.getTime()===this.view.selectedDate.getTime()}}];break}return t},weekdayCellStyles:function(){return{minWidth:"".concat(this.minCellWidth,"px")||!1}},cssClasses:function(){var e;return e={},s(e,"vuecal--".concat(this.view.id,"-view"),!0),s(e,"vuecal--".concat(this.locale),this.locale),s(e,"vuecal--no-time",!this.time),s(e,"vuecal--view-with-time",this.hasTimeColumn),s(e,"vuecal--time-12-hour",this["12Hour"]),s(e,"vuecal--click-to-navigate",this.clickToNavigate),s(e,"vuecal--hide-weekends",this.hideWeekends),s(e,"vuecal--split-days",this.splitDays.length),s(e,"vuecal--overflow-x",this.minCellWidth),s(e,"vuecal--small",this.small),s(e,"vuecal--xsmall",this.xsmall),s(e,"vuecal--no-event-overlaps",this.noEventOverlaps),e}},watch:{events:function(e,t){this.updateMutableEvents(e)}}},T=M,O=(n("17ac"),k(T,a,r,!1,null,null,null));O.options.__file="index.vue";var C=O.exports;t["default"]=C},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]});
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vuecal"]=t():e["vuecal"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),a=n("5ca1"),r=n("2aba"),s=n("32e9"),o=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),v=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",h="keys",p="values",m=function(){return this};e.exports=function(e,t,n,y,w,g,b){c(n,t,y);var D,_,E,k=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S=w==p,M=!1,O=e.prototype,T=O[v]||O[f]||w&&O[w],C=T||k(w),j=w?S?k("entries"):C:void 0,A="Array"==t&&O.entries||T;if(A&&(E=u(A.call(new e)),E!==Object.prototype&&E.next&&(l(E,x,!0),i||"function"==typeof E[v]||s(E,v,m))),S&&T&&T.name!==p&&(M=!0,C=function(){return T.call(this)}),i&&!b||!d&&!M&&O[v]||s(O,v,C),o[t]=C,o[x]=m,w)if(D={values:S?C:k(p),keys:g?C:k(h),entries:j},b)for(_ in D)_ in O||r(O,_,D[_]);else a(a.P+a.F*(d||M),t,D);return D}},"0699":function(e){e.exports={weekDays:["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],years:"Années",year:"Année",month:"Mois",week:"Semaine",day:"Jour",today:"Aujourd'hui",noEvent:"Aucun événement",deleteEvent:"Supprimer",createEvent:"Créer un événement",dateFormat:"DDDD d mmmm yyyy"}},"0a49":function(e,t,n){var i=n("9b43"),a=n("626a"),r=n("4bf8"),s=n("9def"),o=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,v=6==e,d=5==e||v,f=t||o;return function(t,o,h){for(var p,m,y=r(t),w=a(y),g=i(o,h,3),b=s(w.length),D=0,_=n?f(t,b):c?f(t,0):void 0;b>D;D++)if((d||D in w)&&(p=w[D],m=g(p,D,y),e))if(n)_[D]=m;else if(m)switch(e){case 3:return!0;case 5:return p;case 6:return D;case 2:_.push(p)}else if(u)return!1;return v?-1:l||u?u:_}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),a=n("e11e");e.exports=Object.keys||function(e){return i(e,a)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),a=n("4630"),r=n("6821"),s=n("6a99"),o=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?l:function(e,t){if(e=r(e),t=s(t,!0),c)try{return l(e,t)}catch(n){}if(o(e,t))return a(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),a=n("cb7c"),r=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){a(e);var n,s=r(t),o=s.length,c=0;while(o>c)i.f(e,n=s[c++],t[n]);return e}},"17ac":function(e,t,n){"use strict";var i=n("85e1"),a=n.n(i);a.a},"214f":function(e,t,n){"use strict";var i=n("32e9"),a=n("2aba"),r=n("79e5"),s=n("be13"),o=n("2b4c");e.exports=function(e,t,n){var c=o(e),l=n(s,c,""[e]),u=l[0],v=l[1];r(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(a(String.prototype,e,u),i(RegExp.prototype,c,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),a=n("7726").document,r=i(a)&&i(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"28a5":function(e,t,n){n("214f")("split",2,function(e,t,i){"use strict";var a=n("aae3"),r=i,s=[].push,o="split",c="length",l="lastIndex";if("c"=="abbc"[o](/(b)*/)[1]||4!="test"[o](/(?:)/,-1)[c]||2!="ab"[o](/(?:ab)*/)[c]||4!="."[o](/(.?)(.?)/)[c]||"."[o](/()()/)[c]>1||""[o](/.?/)[c]){var u=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(n,e,t);var i,o,v,d,f,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,y=void 0===t?4294967295:t>>>0,w=new RegExp(e.source,p+"g");u||(i=new RegExp("^"+w.source+"$(?!\\s)",p));while(o=w.exec(n)){if(v=o.index+o[0][c],v>m&&(h.push(n.slice(m,o.index)),!u&&o[c]>1&&o[0].replace(i,function(){for(f=1;f<arguments[c]-2;f++)void 0===arguments[f]&&(o[f]=void 0)}),o[c]>1&&o.index<n[c]&&s.apply(h,o.slice(1)),d=o[0][c],m=v,h[c]>=y))break;w[l]===o.index&&w[l]++}return m===n[c]?!d&&w.test("")||h.push(""):h.push(n.slice(m)),h[c]>y?h.slice(0,y):h}}else"0"[o](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)});return[function(n,a){var r=e(this),s=void 0==n?void 0:n[t];return void 0!==s?s.call(n,r,a):i.call(String(r),n,a)},i]})},"2a6b":function(e){e.exports={weekDays:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],years:"År",year:"År",month:"Månad",week:"Vecka",day:"Dag",today:"Idag",noEvent:"Ingen händelse",deleteEvent:"Ta bort",createEvent:"Skapa händelse",dateFormat:"DDDD den d mmmm yyyy"}},"2aba":function(e,t,n){var i=n("7726"),a=n("32e9"),r=n("69a8"),s=n("ca5a")("src"),o="toString",c=Function[o],l=(""+c).split(o);n("8378").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,o){var c="function"==typeof n;c&&(r(n,"name")||a(n,"name",t)),e[t]!==n&&(c&&(r(n,s)||a(n,s,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,o,function(){return"function"==typeof this&&this[s]||c.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),a=n("1495"),r=n("e11e"),s=n("613b")("IE_PROTO"),o=function(){},c="prototype",l=function(){var e,t=n("230e")("iframe"),i=r.length,a="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(a+"script"+s+"document.F=Object"+a+"/script"+s),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(o[c]=i(e),n=new o,o[c]=null,n[s]=e):n=l(),void 0===t?n:a(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),a=n("ca5a"),r=n("7726").Symbol,s="function"==typeof r,o=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:a)("Symbol."+e))};o.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"32e9":function(e,t,n){var i=n("86cc"),a=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(e,t,n){var i=n("5ca1"),a=n("79e5"),r=n("be13"),s=/"/g,o=function(e,t,n,i){var a=String(r(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),o+">"+a+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(o),i(i.P+i.F*a(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),a=n("4bf8"),r=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),a=n("4630"),r=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:a(1,n)}),r(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),a=n("0d58");n("5eda")("keys",function(){return function(e){return a(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){n("214f")("match",1,function(e,t,n){return[function(n){"use strict";var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i):new RegExp(n)[t](String(i))},n]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4da1":function(e,t,n){var i={"./de.json":"8d7d","./en.json":"7213","./es.json":"e240","./fr.json":"0699","./hr.json":"7cd4","./it.json":"eed7","./nl.json":"b258","./pt-br.json":"89f4","./ru.json":"a65a","./sv.json":"2a6b","./zh-cn.json":"88b4"};function a(e){var t=r(e);return n(t)}function r(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(i)},a.resolve=r,e.exports=a,a.id="4da1"},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),a=n("7726"),r="__core-js_shared__",s=a[r]||(a[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var i=n("7726"),a=n("8378"),r=n("32e9"),s=n("2aba"),o=n("9b43"),c="prototype",l=function(e,t,n){var u,v,d,f,h=e&l.F,p=e&l.G,m=e&l.S,y=e&l.P,w=e&l.B,g=p?i:m?i[t]||(i[t]={}):(i[t]||{})[c],b=p?a:a[t]||(a[t]={}),D=b[c]||(b[c]={});for(u in p&&(n=t),n)v=!h&&g&&void 0!==g[u],d=(v?g:n)[u],f=w&&v?o(d,i):y&&"function"==typeof d?o(Function.call,d):d,g&&s(g,u,d,e&l.U),b[u]!=d&&r(b,u,f),y&&D[u]!=d&&(D[u]=d)};i.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5dbc":function(e,t,n){var i=n("d3f4"),a=n("8b97").set;e.exports=function(e,t,n){var r,s=t.constructor;return s!==n&&"function"==typeof s&&(r=s.prototype)!==n.prototype&&i(r)&&a&&a(e,r),e}},"5eda":function(e,t,n){var i=n("5ca1"),a=n("8378"),r=n("79e5");e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*r(function(){n(1)}),"Object",s)}},"613b":function(e,t,n){var i=n("5537")("keys"),a=n("ca5a");e.exports=function(e){return i[e]||(i[e]=a(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6821:function(e,t,n){var i=n("626a"),a=n("be13");e.exports=function(e){return i(a(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),a=n("0bfb"),r=n("9e1e"),s="toString",o=/./[s],c=function(e){n("2aba")(RegExp.prototype,s,e,!0)};n("79e5")(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?c(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?a.call(e):void 0)}):o.name!=s&&c(function(){return o.call(this)})},"6b6a":function(e,t,n){},7213:function(e){e.exports={weekDays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],years:"Years",year:"Year",month:"Month",week:"Week",day:"Day",today:"Today",noEvent:"No Event",deleteEvent:"Delete",createEvent:"Create an event",dateFormat:"DDDD mmmm d{S}, yyyy"}},7333:function(e,t,n){"use strict";var i=n("0d58"),a=n("2621"),r=n("52a7"),s=n("4bf8"),o=n("626a"),c=Object.assign;e.exports=!c||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=s(e),c=arguments.length,l=1,u=a.f,v=r.f;while(c>l){var d,f=o(arguments[l++]),h=u?i(f).concat(u(f)):i(f),p=h.length,m=0;while(p>m)v.call(f,d=h[m++])&&(n[d]=f[d])}return n}:c},7514:function(e,t,n){"use strict";var i=n("5ca1"),a=n("0a49")(5),r="find",s=!0;r in[]&&Array(1)[r](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(r)},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),a=Math.max,r=Math.min;e.exports=function(e,t){return e=i(e),e<0?a(e+t,0):r(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7cd4":function(e){e.exports={weekDays:["Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota","Nedjelja"],months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],years:"Godine",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",today:"Današnji dan",noEvent:"Nema događaja",deleteEvent:"Obriši",createEvent:"Kreiraj događaj",dateFormat:"DDDD d mmmm yyyy"}},"7f20":function(e,t,n){var i=n("86cc").f,a=n("69a8"),r=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"85e1":function(e,t,n){},"86cc":function(e,t,n){var i=n("cb7c"),a=n("c69a"),r=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),a)try{return s(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"88b4":function(e){e.exports={weekDays:["星期一","星期二","星期三","星期四","星期五","星期六","星期日"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],years:"年",year:"本年",month:"月",week:"周",day:"日",today:"今日",noEvent:"暂无活动",deleteEvent:"删除",createEvent:"新建活动",dateFormat:"yyyy mmmm d DDDD"}},"89f4":function(e){e.exports={weekDays:["Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado","Domingo"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],years:"Anos",year:"Ano",month:"Mês",week:"Semana",day:"Dia",today:"Hoje",noEvent:"Sem eventos",deleteEvent:"Remover",createEvent:"Criar um evento",dateFormat:"DDDD d mmmm yyyy"}},"8b97":function(e,t,n){var i=n("d3f4"),a=n("cb7c"),r=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(a){t=!0}return function(e,n){return r(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:r}},"8d7d":function(e){e.exports={weekDays:["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],years:"Jahre",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",today:"Heute",noEvent:"Keine Events",deleteEvent:"Löschen",createEvent:"Event erstellen",dateFormat:"DDDD d mmmm yyyy"}},9093:function(e,t,n){var i=n("ce10"),a=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),a=Array.prototype;void 0==a[i]&&n("32e9")(a,i,{}),e.exports=function(e){a[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){n("214f")("replace",2,function(e,t,n){return[function(i,a){"use strict";var r=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,r,a):n.call(String(r),i,a)},n]})},a65a:function(e){e.exports={weekDays:["Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],years:"Годы",year:"Год",month:"Месяц",week:"Неделя",day:"День",today:"Сегодня",noEvent:"Нет событий",deleteEvent:"Удалить",createEvent:"Создать событие",dateFormat:"DDDD d mmmm yyyy"}},aa77:function(e,t,n){var i=n("5ca1"),a=n("be13"),r=n("79e5"),s=n("fdef"),o="["+s+"]",c="​…",l=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),v=function(e,t,n){var a={},o=r(function(){return!!s[e]()||c[e]()!=c}),l=a[e]=o?t(d):s[e];n&&(a[n]=l),i(i.P+i.F*o,"String",a)},d=v.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=v},aae3:function(e,t,n){var i=n("d3f4"),a=n("2d95"),r=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==a(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),a=n("0d58"),r=n("2aba"),s=n("7726"),o=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),v=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),p=0;p<h.length;p++){var m,y=h[p],w=f[y],g=s[y],b=g&&g.prototype;if(b&&(b[u]||o(b,u,d),b[v]||o(b,v,y),c[y]=d,w))for(m in i)b[m]||r(b,m,i[m],!0)}},b258:function(e){e.exports={weekDays:["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],years:"Jaren",year:"Jaar",month:"Maand",week:"Week",day:"Dag",today:"Vandaag",noEvent:"Geen afspraken",deleteEvent:"Verwijderen",createEvent:"Nieuwe afspraak aanmaken",dateFormat:"DDDD d mmmm yyyy"}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var i=n("6821"),a=n("9def"),r=n("77f1");e.exports=function(e){return function(t,n,s){var o,c=i(t),l=a(c.length),u=r(s,l);if(e&&n!=n){while(l>u)if(o=c[u++],o!=o)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),a=n("69a8"),r=n("2d95"),s=n("5dbc"),o=n("6a99"),c=n("79e5"),l=n("9093").f,u=n("11e9").f,v=n("86cc").f,d=n("aa77").trim,f="Number",h=i[f],p=h,m=h.prototype,y=r(n("2aeb")(m))==f,w="trim"in String.prototype,g=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=w?t.trim():d(t,3);var n,i,a,r=t.charCodeAt(0);if(43===r||45===r){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===r){switch(t.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(var s,c=t.slice(2),l=0,u=c.length;l<u;l++)if(s=c.charCodeAt(l),s<48||s>a)return NaN;return parseInt(c,i)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(y?c(function(){m.valueOf.call(n)}):r(n)!=f)?s(new p(g(t)),n,h):g(t)};for(var b,D=n("9e1e")?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;D.length>_;_++)a(p,b=D[_])&&!a(h,b)&&v(h,b,u(p,b));h.prototype=m,m.constructor=h,n("2aba")(i,f,h)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),a=n("d53b"),r=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),a=n("6821"),r=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,o=a(e),c=0,l=[];for(n in o)n!=s&&i(o,n)&&l.push(n);while(t.length>c)i(o,n=t[c++])&&(~r(l,n)||l.push(n));return l}},d011:function(e,t,n){"use strict";var i=n("6b6a"),a=n.n(i);a.a},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e240:function(e){e.exports={weekDays:["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],years:"Años",year:"Año",month:"Mes",week:"Semana",day:"Día",today:"Hoy",noEvent:"No hay evento",deleteEvent:"Borrar",createEvent:"Crear un evento",dateFormat:"DDDD d mmmm yyyy"}},e853:function(e,t,n){var i=n("d3f4"),a=n("1169"),r=n("2b4c")("species");e.exports=function(e){var t;return a(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!a(t.prototype)||(t=void 0),i(t)&&(t=t[r],null===t&&(t=void 0))),void 0===t?Array:t}},eed7:function(e){e.exports={weekDays:["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],years:"Anni",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",today:"Oggi",noEvent:"No evento",deleteEvent:"Cancellare",createEvent:"Creare un evento",dateFormat:"DDDD d mmmm yyyy"}},f386:function(e,t,n){"use strict";n("386b")("small",function(e){return function(){return e(this,"small","","")}})},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__flex vuecal",class:e.cssClasses,attrs:{column:"",lang:e.locale}},[n("div",{staticClass:"vuecal__header"},[e.hideViewSelector?e._e():n("ul",{staticClass:"vuecal__flex vuecal__menu"},e._l(e.views,function(t,i){return t.enabled?n("li",{class:{active:e.view.id===i},on:{click:function(t){e.switchView(i)}}},[e._v(e._s(t.label))]):e._e()})),e.hideTitleBar?e._e():n("div",{staticClass:"vuecal__title"},[n("div",{staticClass:"vuecal__arrow vuecal__arrow--prev",on:{click:e.previous}},[e._t("arrowPrev",[n("i",{staticClass:"angle"})])],2),e._t("title",[n("span",{class:{clickable:!!e.broaderView},on:{click:function(t){e.switchToBroaderView()}}},[e._v(e._s(e.viewTitle))])],{title:e.viewTitle,view:e.view}),n("div",{staticClass:"vuecal__arrow vuecal__arrow--next",on:{click:e.next}},[e._t("arrowNext",[n("i",{staticClass:"angle"})])],2)],2),!e.viewHeadings.length||e.hasSplits&&"week"===e.view.id?e._e():n("div",{staticClass:"vuecal__flex vuecal__weekdays-headings"},e._l(e.viewHeadings,function(t,i){return n("div",{key:i,staticClass:"vuecal__flex vuecal__heading",class:t.class,style:e.weekdayCellStyles},[e._l(3,function(i){return n("span",{key:i},[e._v(e._s(t["label"+i]))])}),t.label4?n("span",[e._v(" ")]):e._e(),t.label4?n("span",[e._v(e._s(t.label4))]):e._e()],2)}))]),n("div",{staticClass:"vuecal__flex vuecal__body",attrs:{grow:""}},[n("div",{class:{vuecal__flex:!e.hasTimeColumn},staticStyle:{"min-width":"100%"}},[n("div",{staticClass:"vuecal__bg",attrs:{grow:""}},[e.time&&["week","day"].indexOf(e.view.id)>-1?n("div",{staticClass:"vuecal__time-column"},e._l(e.timeCells,function(t,i){return n("div",{key:i,staticClass:"vuecal__time-cell",style:"height: "+e.timeCellHeight+"px"},[e._t("time-cell",[n("span",{staticClass:"line"},[e._v(e._s(t.label))])],{hours:t.hours,minutes:t.minutes})],2)})):e._e(),n("div",{staticClass:"vuecal__flex vuecal__cells",attrs:{grow:"",column:e.hasSplits&&"week"===e.view.id}},[e.hasSplits&&"week"===e.view.id?n("div",{staticClass:"vuecal__flex vuecal__weekdays-headings"},e._l(e.viewHeadings,function(t,i){return n("div",{key:i,staticClass:"vuecal__flex vuecal__heading",class:t.class,style:e.weekdayCellStyles},[e._l(3,function(i){return n("span",{key:i},[e._v(e._s(t["label"+i]))])}),t.label4?n("span",[e._v(" ")]):e._e(),t.label4?n("span",[e._v(e._s(t.label4))]):e._e()],2)})):e._e(),e.hasSplits?n("div",{staticClass:"vuecal__flex",attrs:{grow:""}},e._l(e.viewCells,function(t,i){return n("vuecal-cell",{key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,today:t.today,content:t.content,splits:e.splitDays},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}}})})):e._l(e.viewCells,function(t,i){return n("vuecal-cell",e._b({key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,today:t.today,content:t.content},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}},scopedSlots:e._u([{key:"events-count-month-view",fn:function(t){var i=t.events;return n("div",{attrs:{events:i}},[e._t("events-count-month-view",[i.length?n("span",{staticClass:"vuecal__cell-events-count"},[e._v(e._s(i.length))]):e._e()],{events:i})],2)}}])},"vuecal-cell",{scopedSlots:e.$scopedSlots},!1))})],2)])])])])},r=[];n("f386"),n("4917");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){s(e,t,n[t])})}return e}n("f751"),n("28a5");function c(e){if(Array.isArray(e))return e}function l(e,t){var n=[],i=!0,a=!1,r=void 0;try{for(var s,o=e[Symbol.iterator]();!(i=(s=o.next()).done);i=!0)if(n.push(s.value),t&&n.length===t)break}catch(c){a=!0,r=c}finally{try{i||null==o["return"]||o["return"]()}finally{if(a)throw r}}return n}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function v(e,t){return c(e)||l(e,t)||u()}n("6b54"),n("7514"),n("ac6a"),n("456d"),n("c5f6"),n("a481");var d=new Date,f="".concat(d.getFullYear(),"-").concat(d.getMonth(),"-").concat(d.getDate());Date.prototype.addDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()+e),t},Date.prototype.subtractDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()-e),t},Date.prototype.getWeek=function(){var e=new Date(Date.UTC(this.getFullYear(),this.getMonth(),this.getDate())),t=e.getUTCDay()||7;e.setUTCDate(e.getUTCDate()+4-t);var n=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e-n)/864e5+1)/7)};var h=function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth(),"-").concat(e.getDate())===f},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e&&new Date(e.valueOf())||new Date;return t.setDate(t.getDate()-(t.getDay()+6)%7),t},m=function(e,t){var n=new Date(t,e,1),i=[];while(n.getMonth()===e)i.push(new Date(n)),n.setDate(n.getDate()+1);return i},y=function(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"HH:mm",n=Math.floor(e/60),i=n%12?n%12:12,a=n<12?"am":"pm",r=Math.floor(e%60),s={H:n,h:i,HH:(n<10?"0":"")+n,hh:(i<10?"0":"")+i,am:a,AM:a.toUpperCase(),m:r,mm:(r<10?"0":"")+r};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){return s[t.replace(/\{|\}/g,"")]})},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd",n=arguments.length>2?arguments[2]:void 0,i=e.getDate(),a=e.getMonth()+1,r={D:e.getDay(),DD:n.weekDays[(e.getDay()-1+7)%7][0],DDD:n.weekDays[(e.getDay()-1+7)%7].substr(0,3),DDDD:n.weekDays[(e.getDay()-1+7)%7],d:i,dd:(i<10?"0":"")+i,S:y(i),m:a,mm:(a<10?"0":"")+a,mmm:n.months[a-1].substr(0,3),mmmm:n.months[a-1],yyyy:e.getFullYear(),yy:e.getFullYear().toString().substr(2,4)};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){var n=r[t.replace(/\{|\}/g,"")];return void 0!==n?n:t})},b=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"vuecal__cell",class:(e={splitted:t.splits.length,"vuecal__cell--has-events":t.events.length},e[t.cssClass]=!0,e),style:t.cellStyles},[t._l(t.splits.length||1,function(e){return i("div",{staticClass:"vuecal__cell-content",class:t.splits.length&&"vuecal__cell-split "+t.splits[e-1].class},[t.splits.length?i("div",{staticClass:"split-label",domProps:{innerHTML:t._s(t.splits[e-1].label)}}):t._e(),t.content?i("div",{staticClass:"vuecal__cell-date",domProps:{innerHTML:t._s(t.content)}}):t._e(),!t.events.length&&(["week","day"].indexOf(t.view)>-1||"month"===t.view&&t.eventsOnMonthView)?i("div",{staticClass:"vuecal__no-event"},[t._v(t._s(t.texts.noEvent))]):t._e(),t.events.length&&(["week","day"].indexOf(t.view)>-1||"month"===t.view&&t.eventsOnMonthView)?i("div",{staticClass:"vuecal__cell-events"},t._l(t.splits.length?t.splitEvents[e]:t.events,function(e,n){return i("div",{key:n,staticClass:"vuecal__event",class:t.eventClasses(e),style:t.eventStyles(e),on:{mouseenter:function(n){t.onMouseEnter(n,e)},mouseleave:function(n){t.onMouseLeave(n,e)},mousedown:function(n){t.onMouseDown(n,e)},contextmenu:function(n){t.onContextMenu(n,e)},touchstart:function(n){t.onTouchStart(n,e)}}},[t.editableEvents?i("div",{staticClass:"vuecal__event-delete",on:{mousedown:function(n){n.stopPropagation(),n.preventDefault(),t.deleteEvent(e)},touchstart:function(n){n.stopPropagation(),n.preventDefault(),t.touchDeleteEvent(e)}}},[t._v(t._s(t.texts.deleteEvent))]):t._e(),t.editableEvents&&e.title?i("div",{staticClass:"vuecal__event-title vuecal__event-title--edit",attrs:{contenteditable:""},domProps:{innerHTML:t._s(e.title)},on:{blur:function(n){t.onEventTitleBlur(n,e)}}}):e.title?i("div",{staticClass:"vuecal__event-title"},[t._v(t._s(e.title))]):t._e(),e.startTimeMinutes?i("div",{staticClass:"vuecal__event-time"},[t._v(t._s(t._f("formatTime")(e.startTimeMinutes,t.timeFormat))),e.endTimeMinutes?i("span",[t._v(" - "+t._s(t._f("formatTime")(e.endTimeMinutes,t.timeFormat)))]):t._e()]):t._e(),e.content?i("div",{staticClass:"vuecal__event-content",domProps:{innerHTML:t._s(e.content)}}):t._e(),t.editableEvents&&e.startTime?i("div",{staticClass:"vuecal__event-resize-handle",on:{mousedown:function(n){t.editableEvents&&t.time&&t.onDragHandleMouseDown(n,e)},touchstart:function(n){t.editableEvents&&t.time&&t.onDragHandleMouseDown(n,e)}}}):t._e()])})):t._e(),"month"===t.view&&!t.eventsOnMonthView&&t.events.length?i("div",[t._t("events-count-month-view",[t.events.length?i("span",{staticClass:"vuecal__cell-events-count"},[t._v(t._s(t.events.length))]):t._e()],{events:t.events})],2):t._e()])}),t.timelineVisible?i("div",{staticClass:"vuecal__now-line",style:"top: "+t.todaysTimePosition+"px"}):t._e()],2)},D=[],_={props:{cssClass:{type:String,default:""},date:{type:Date,required:!0},formattedDate:{type:String,default:""},content:{type:[String,Number],default:""},splits:{type:Array,default:function(){return[]}},today:{type:Boolean,default:!1}},data:function(){return{splitEvents:{}}},filters:{formatTime:function(e,t){return e&&(w(e,t)||"")}},methods:{updateEventPosition:function(e){var t=e.startTimeMinutes-this.timeFrom,n=Math.round(t*this.timeCellHeight/this.timeStep);t=e.endTimeMinutes-this.timeFrom;var i=Math.round(t*this.timeCellHeight/this.timeStep);e.top=n,e.height=i-n},eventStyles:function(e){if(!e.startTime||"month"===this.view)return{};var t=this.domEvents.resizeAnEvent;return{top:"".concat(e.top,"px"),height:"".concat(t.newHeight&&t.eventId===e.id?t.newHeight:e.height,"px")}},eventClasses:function(e){var t=this,n=Object.keys(e.overlapping).length,i=Object.keys(e.overlapped).length,a=Object.keys(e.simultaneous).length+1,r=!1;if(a>=3){var s=a-1;Object.keys(e.simultaneous).forEach(function(e){s&&Object.keys(t.events.find(function(t){return t.id===e}).simultaneous).length+1<3&&s--}),s||(a=2)}else if(2===a){var c=this.events.find(function(t){return t.id===Object.keys(e.simultaneous)[0]});Object.keys(c.overlapping).length&&Object.keys(c.overlapped).length&&(r=!0)}return o({},e.classes,{"vuecal__event--focus":this.domEvents.focusAnEvent.eventId===e.id,"vuecal__event--deletable":this.domEvents.clickHoldAnEvent.eventId===e.id,"vuecal__event--overlapped":i,"vuecal__event--overlapping":n,"vuecal__event--split2":2===a,"vuecal__event--split3":a>=3,"vuecal__event--split-middle":i&&n&&a>=3,"vuecal__event--split-left":r})},checkCellOverlappingEvents:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.events){var n=this.events.filter(function(e){return!e.background&&(t?e.split===t:1)});if(n.length){var i=n.map(function(e){return e.id}),a={};this.events.forEach(function(t){if(!t.background){var r=Object.keys(a);a[t.id]=e.splits.length?n.filter(function(e){return e.id!==t.id&&-1===r.indexOf(e.id)&&e.split===t.split}).map(function(e){return e.id}):i.filter(function(e){return e!==t.id&&-1===r.indexOf(e)}),a[t.id].length&&e.checkOverlappingEvents(t,a[t.id])}})}}},checkOverlappingEvents:function(e,t){var n=this;t.forEach(function(t,i){var a=n.events.find(function(e){return e.id===t}),r=e.startTimeMinutes<a.startTimeMinutes,s=!r&&a.endTimeMinutes>e.startTimeMinutes,o=r&&e.endTimeMinutes>a.startTimeMinutes;s?(e.overlapping[a.id]=!0,a.overlapped[e.id]=!0):(delete e.overlapping[a.id],delete a.overlapped[e.id]),o?(a.overlapping[e.id]=!0,e.overlapped[a.id]=!0):(delete a.overlapping[e.id],delete e.overlapped[a.id]),e.startTimeMinutes===a.startTimeMinutes||s||o?(e.simultaneous[a.id]=!0,a.simultaneous[e.id]=!0):(delete e.simultaneous[a.id],delete a.simultaneous[e.id]),n.splits.length&&(n.splitEvents[e.split]=n.events.filter(function(t){return t.split===e.split}))})},onEventTitleBlur:function(e,t){t.title=e.target.innerHTML,this.$parent.emitWithEvent("event-change",t),this.$parent.emitWithEvent("event-title-change",t)},onResizeEvent:function(){var e=this.$parent.domEvents.resizeAnEvent,t=e.eventId,n=e.newHeight,i=this.events.filter(function(e){return e.id===t})[0];i&&(i.height=Math.max(n,10),this.updateEndTimeOnResize(i),i.background||this.checkCellOverlappingEvents(i.split||0))},updateEndTimeOnResize:function(e){var t=e.top+e.height,n=(t/this.timeCellHeight*this.timeStep+this.timeFrom)/60,i=parseInt(n),a=parseInt(60*(n-i));e.endTimeMinutes=60*n,e.endTime="".concat(i,":").concat((a<10?"0":"")+a),e.end=e.end.split(" ")[0]+" ".concat(e.endTime)},onMouseDown:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("ontouchstart"in window&&!n)return!1;var i=this.domEvents.clickHoldAnEvent,a=this.domEvents.resizeAnEvent;if(this.domEvents.focusAnEvent.eventId===t.id&&i.eventId===t.id)return!0;this.focusEvent(t),i.eventId=null,a.start||(i.timeoutId=setTimeout(function(){i.eventId=t.id},i.timeout))},onMouseEnter:function(e,t){e.preventDefault(),this.$parent.emitWithEvent("event-mouse-enter",t)},onMouseLeave:function(e,t){e.preventDefault(),this.$parent.emitWithEvent("event-mouse-leave",t)},onContextMenu:function(e,t){return e.preventDefault(),!1},onTouchStart:function(e,t){this.onMouseDown(e,t,!0)},onDragHandleMouseDown:function(e,t){var n="ontouchstart"in window&&e.touches?e.touches[0].clientY:e.clientY;this.domEvents.resizeAnEvent=Object.assign(this.domEvents.resizeAnEvent,{start:n,originalHeight:t.height,newHeight:t.height,eventId:t.id,eventStartDate:t.startDate})},deleteEvent:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("ontouchstart"in window&&!n)return!1;this.$parent.emitWithEvent("event-delete",e),this.events=this.events.filter(function(t){return t.id!==e.id}),e.background||(Object.keys(e.overlapped).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).overlapping[e.id]}),Object.keys(e.overlapping).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).overlapped[e.id]}),Object.keys(e.simultaneous).forEach(function(n){return delete t.events.find(function(e){return e.id===n}).simultaneous[e.id]}),this.checkCellOverlappingEvents(e.split||0)),this.splits.length&&(this.splitEvents[e.split]=this.events.filter(function(t){return t.id!==e.id&&t.split===e.split}))},touchDeleteEvent:function(e){this.deleteEvent(e,!0)},focusEvent:function(e){this.$parent.emitWithEvent("event-focus",e),this.domEvents.focusAnEvent.eventId=e.id}},computed:{texts:function(){return this.$parent.texts},view:function(){return this.$parent.view.id},time:function(){return this.$parent.time},timeFormat:function(){return this.$parent.timeFormat||(this.$parent["12Hour"]?"h:mm{am}":"HH:mm")},timeCellHeight:function(){return parseInt(this.$parent.timeCellHeight)},timeFrom:function(){return parseInt(this.$parent.timeFrom)},timeTo:function(){return parseInt(this.$parent.timeTo)},timeStep:function(){return parseInt(this.$parent.timeStep)},eventsOnMonthView:function(){return this.$parent.eventsOnMonthView},editableEvents:function(){return this.$parent.editableEvents},noEventOverlaps:function(){var e=this;return this.$nextTick(function(){return e.checkCellOverlappingEvents()}),this.$parent.noEventOverlaps},domEvents:{get:function(){return this.$parent.domEvents.resizeAnEvent.eventId&&this.onResizeEvent(),this.$parent.domEvents},set:function(e){this.$parent.domEvents=e}},cellStyles:function(){return{minWidth:"".concat(this.$parent.minCellWidth,"px")||!1}},events:{get:function(){var e=this,t=this.$parent.mutableEvents[this.formattedDate]||[];return this.splitEvents=[],t.forEach(function(t){t.startTime&&e.updateEventPosition(t),e.splits.length&&t.split&&(e.splitEvents[t.split]||e.$set(e.splitEvents,t.split,[]),e.splitEvents[t.split].push(t))}),this.$nextTick(function(){e.checkCellOverlappingEvents(),e.$forceUpdate()}),t},set:function(e){this.$parent.mutableEvents[this.formattedDate]=e}},cellSplitEvents:function(){var e={};return this.events.forEach(function(t,n){e[t.split||0]||(e[t.split||0]={}),e[t.split||0][t.id]=n}),e},timelineVisible:function(){if(this.today&&this.time&&-1!==["week","day"].indexOf(this.view)){var e=new Date,t=60*e.getHours()+e.getMinutes();return t<=this.timeTo}},todaysTimePosition:function(){if(this.today&&this.time){var e=new Date,t=60*e.getHours()+e.getMinutes(),n=t-this.timeFrom;return Math.round(n*this.timeCellHeight/this.timeStep)}}}},E=_;n("d011");function k(e,t,n,i,a,r,s,o){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):a&&(c=o?function(){a.call(this,this.$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var v=l.beforeCreate;l.beforeCreate=v?[].concat(v,c):[c]}return{exports:e,options:l}}var x=k(E,b,D,!1,null,null,null);x.options.__file="cell.vue";var S=x.exports,M={name:"vue-cal",components:{"vuecal-cell":S},props:{locale:{type:String,default:"en"},hideViewSelector:{type:Boolean,default:!1},hideTitleBar:{type:Boolean,default:!1},hideWeekends:{type:Boolean,default:!1},disableViews:{type:Array,default:function(){return[]}},defaultView:{type:String,default:"week"},selectedDate:{type:String,default:""},small:{type:Boolean,default:!1},xsmall:{type:Boolean,default:!1},clickToNavigate:{type:Boolean,default:!1},dblClickToNavigate:{type:Boolean,default:!0},time:{type:Boolean,default:!0},timeFrom:{type:Number,default:0},timeTo:{type:Number,default:1440},timeStep:{type:Number,default:60},timeCellHeight:{type:Number,default:40},"12Hour":{type:Boolean,default:!1},timeFormat:{type:String,default:""},minCellWidth:{type:Number,default:0},splitDays:{type:Array,default:function(){return[]}},events:{type:Array,default:function(){return[]}},editableEvents:{type:Boolean,default:!1},noEventOverlaps:{type:Boolean,default:!1},eventsOnMonthView:{type:Boolean,default:!1}},data:function(){return{ready:!1,now:d,view:{id:"",title:"",startDate:null,selectedDate:null},eventIdIncrement:1,domEvents:{resizeAnEvent:{eventId:null,start:null,originalHeight:0,newHeight:0},dragAnEvent:{eventId:null},focusAnEvent:{eventId:null},clickHoldAnEvent:{eventId:null,timeout:1200,timeoutId:null},dblTapACell:{taps:0,timeout:500}},mutableEvents:{}}},methods:{previous:function(){switch(this.view.id){case"years":this.switchView(this.view.id,new Date(this.view.startDate.getFullYear()-25,0,1));break;case"year":var e=new Date(this.view.startDate.getFullYear()-1,1,1);this.switchView(this.view.id,e);break;case"month":var t=new Date(this.view.startDate.getFullYear(),this.view.startDate.getMonth()-1,1);this.switchView(this.view.id,t);break;case"week":var n=p(this.view.startDate).subtractDays(7);this.switchView(this.view.id,n);break;case"day":var i=this.view.startDate.subtractDays(1);this.switchView(this.view.id,i);break}},next:function(){switch(this.view.id){case"years":this.switchView(this.view.id,new Date(this.view.startDate.getFullYear()+25,0,1));break;case"year":var e=new Date(this.view.startDate.getFullYear()+1,0,1);this.switchView(this.view.id,e);break;case"month":var t=new Date(this.view.startDate.getFullYear(),this.view.startDate.getMonth()+1,1);this.switchView(this.view.id,t);break;case"week":var n=p(this.view.startDate).addDays(7);this.switchView(this.view.id,n);break;case"day":var i=this.view.startDate.addDays(1);this.switchView(this.view.id,i);break}},switchToBroaderView:function(){this.broaderView&&this.switchView(this.broaderView)},switchToNarrowerView:function(){var e=this,t=Object.keys(this.views);t=t.slice(t.indexOf(this.view.id)+1);var n=t.find(function(t){return e.views[t].enabled});n&&this.switchView(n)},switchView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(this.view.id=e,t||(t=this.view.selectedDate||this.view.startDate,"week"===e&&(t=p(t))),e){case"years":this.view.startDate=new Date(25*Math.floor(t.getFullYear()/25)||2e3,0,1);break;case"year":this.view.startDate=new Date(t.getFullYear(),0,1);break;case"month":this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1);break;case"week":case"day":this.view.startDate=t;break}if(this.ready){var n={view:e,startDate:this.view.startDate};"week"===e&&(n.week=this.view.startDate.getWeek()),this.$emit("view-change",n)}},findAncestor:function(e,t){while((e=e.parentElement)&&!e.classList.contains(t));return e},isDOMElementAnEvent:function(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},selectCell:function(e){var t=this;this.view.selectedDate.toString()!==e.date.toString()&&(this.view.selectedDate=e.date,this.$emit("day-focus",e.date)),this.clickToNavigate?this.switchToNarrowerView():this.dblClickToNavigate&&"ontouchstart"in window&&(this.domEvents.dblTapACell.taps++,setTimeout(function(){return t.domEvents.dblTapACell.taps=0},this.domEvents.dblTapACell.timeout),this.domEvents.dblTapACell.taps>=2&&(this.domEvents.dblTapACell.taps=0,this.switchToNarrowerView()))},onMouseMove:function(e){var t=this.domEvents.resizeAnEvent;if(null!==t.eventId){e.preventDefault();var n="ontouchstart"in window?e.touches[0].clientY:e.clientY;t.newHeight=t.originalHeight+(n-t.start)}},onMouseUp:function(e){var t=this.domEvents.focusAnEvent,n=this.domEvents.resizeAnEvent,i=this.domEvents.clickHoldAnEvent;if(n.eventId){var a=this.mutableEvents[n.eventStartDate].find(function(e){return e.id===n.eventId});this.emitWithEvent("event-change",a),this.emitWithEvent("event-duration-change",a)}this.isDOMElementAnEvent(e.target)||n.eventId||(t.eventId=null,i.eventId=null),i.timeoutId&&!i.eventId&&(clearTimeout(i.timeoutId),i.timeoutId=null),n.eventId=null,n.start=null,n.originalHeight=null,n.newHeight=null},updateMutableEvents:function(){var e=this;this.mutableEvents={},this.events.map(function(t){var n,i=t.start.split(" "),a=v(i,2),r=a[0],o=a[1],c=void 0===o?"":o,l=c.split(":"),u=v(l,2),d=u[0],f=u[1],h=60*parseInt(d)+parseInt(f),p=t.end.split(" "),m=v(p,2),y=m[0],w=m[1],g=void 0===w?"":w,b=g.split(":"),D=v(b,2),_=D[0],E=D[1],k=60*parseInt(_)+parseInt(E),x="".concat(e._uid,"_").concat(e.eventIdIncrement++);return t=Object.assign({},t,{id:x,startDate:r,endDate:y,startTime:c,startTimeMinutes:h,endTime:g,endTimeMinutes:k,height:0,top:0,overlapped:{},overlapping:{},simultaneous:{},classes:(n={},s(n,t.class,!0),s(n,"vuecal__event--background",t.background),n)}),t.startDate in e.mutableEvents||e.$set(e.mutableEvents,t.startDate,[]),e.mutableEvents[t.startDate].push(t),t})},emitWithEvent:function(e,t){var n=o({},t);delete n.height,delete n.top,delete n.overlapped,delete n.overlapping,delete n.simultaneous,delete n.classes;var i=n.start.split(" "),a=v(i,2),r=a[0],s=a[1],c=r&&r.split("-")||[0,0,0],l=v(c,3),u=l[0],d=l[1],f=l[2],h=s&&s.split(":")||[0,0],p=v(h,2),m=p[0],y=p[1];n.startDate=new Date(u,parseInt(d)-1,f,m,y);var w=n.end.split(" "),g=v(w,2),b=g[0],D=g[1],_=b&&b.split("-")||[0,0,0],E=v(_,3),k=E[0],x=E[1],S=E[2],M=D&&D.split(":")||[0,0],O=v(M,2),T=O[0],C=O[1];n.endDate=new Date(k,parseInt(x)-1,S,T,C),this.$emit(e,n)}},created:function(){if(this.updateMutableEvents(this.events),this.selectedDate){var e=this.selectedDate.match(/(\d{4})-(\d{2})-(\d{2})(?: (\d{2}):(\d{2}))?/),t=v(e,6),n=t[1],i=t[2],a=t[3],r=t[4],s=void 0===r?0:r,o=t[5],c=void 0===o?0:o;this.view.selectedDate=new Date(n,parseInt(i)-1,a,s,c)}else this.view.selectedDate=this.now;this.switchView(this.defaultView)},mounted:function(){if(this.editableEvents&&this.time){var e="ontouchstart"in window;window.addEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.addEventListener(e?"touchend":"mouseup",this.onMouseUp)}this.$emit("ready"),this.ready=!0},computed:{texts:function(){return n("4da1")("./".concat(this.locale,".json"))},views:function(){return{years:{label:this.texts.years,enabled:-1===this.disableViews.indexOf("years")},year:{label:this.texts.year,enabled:-1===this.disableViews.indexOf("year")},month:{label:this.texts.month,enabled:-1===this.disableViews.indexOf("month")},week:{label:this.texts.week,enabled:-1===this.disableViews.indexOf("week")},day:{label:this.texts.day,enabled:-1===this.disableViews.indexOf("day")}}},broaderView:function(){var e=this,t=Object.keys(this.views);return t=t.slice(0,t.indexOf(this.view.id)),t.reverse(),t.find(function(t){return e.views[t].enabled})},hasTimeColumn:function(){return this.time&&["week","day"].indexOf(this.view.id)>-1},timeCells:function(){for(var e=[],t=this.timeFrom,n=this.timeTo;t<n;t+=this.timeStep)e.push({hours:Math.floor(t/60),minutes:t%60,label:w(t,this.timeFormat||(this["12Hour"]?"h:mm{am}":"HH:mm")),value:t});return e},hasSplits:function(){return!!this.splitDays.length&&["week","day"].indexOf(this.view.id)>-1},weekDays:function(){return this.texts.weekDays.map(function(e){return{label:e}})},months:function(){return this.texts.months.map(function(e){return{label:e}})},viewTitle:function(){var e="",t=this.view.startDate,n=t.getFullYear(),i=t.getMonth();switch(this.view.id){case"years":e=this.texts.years;break;case"year":e=n;break;case"month":e="".concat(this.months[i].label," ").concat(n);break;case"week":var a=t.addDays(6),r=g(t,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts);if(a.getMonth()!==t.getMonth()){var s=r.split(" "),o=v(s,2),c=o[0],l=o[1],u=g(a,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts).split(" "),d=v(u,2),f=d[0],h=d[1];r=l===h?"".concat(c," - ").concat(f," ").concat(l):"".concat(c," ").concat(l," - ").concat(f," ").concat(h)}e="".concat(this.texts.week," ").concat(t.getWeek()," (").concat(r,")");break;case"day":e=g(t,this.texts.dateFormat,this.texts);break}return e},viewHeadings:function(){var e=this,t=[];switch(this.view.id){case"month":case"week":t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){return o({label1:"zh-cn"===e.locale?t.label.substr(0,2):t.label[0],label2:"zh-cn"===e.locale?t.label.substr(2):t.label.substr(1,2),label3:"zh-cn"===e.locale?"":t.label.substr(3)},"week"===e.view.id&&{label4:e.view.startDate.addDays(n).getDate()}||{})});break}return t},viewCells:function(){var e=this,t=[],n=null,i=!1;switch(this.view.id){case"years":n=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map(function(t,i){return{content:n+i,date:new Date(n+i,0,1),class:{current:n+i===e.now.getFullYear(),selected:e.view.selectedDate&&n+i===e.view.selectedDate.getFullYear()}}});break;case"year":n=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map(function(t,i){return{content:e.xsmall?e.months[i].label.substr(0,3):e.months[i].label,date:new Date(n,i,1),class:{current:i===e.now.getMonth()&&n===e.now.getFullYear(),selected:i===e.view.selectedDate.getMonth()&&n===e.view.selectedDate.getFullYear()}}});break;case"month":var a=this.view.startDate.getMonth(),r=this.view.startDate.getFullYear(),s=m(a,r),o=s[0].getDay(),c=new Date(this.view.selectedDate.getTime());c.setHours(0,0,0,0),i=!1;var l=0;if(1!==s[0].getDay()){for(var u=p(s[0]),v=[],d=0;d<7;d++)if(v.push(new Date(u)),u.setDate(u.getDate()+1),u.getDay()===o)break;s.unshift.apply(s,v)}t=Array.apply(null,Array(42)).map(function(t,n){var o=s[n]||new Date(r,a+1,++l),u=!i&&o&&o.getDate()===e.now.getDate()&&o.getMonth()===e.now.getMonth()&&o.getFullYear()===e.now.getFullYear()&&!i++,v=g(o,"yyyy-mm-dd",e.texts);return{content:o.getDate(),date:o,formattedDate:v,today:u,class:{today:u,"out-of-scope":o.getMonth()!==a,selected:e.view.selectedDate&&o.getTime()===c.getTime()}}}),this.hideWeekends&&(t=t.filter(function(e){return e.date.getDay()>0&&e.date.getDay()<6}));break;case"week":i=!1;var f=this.view.startDate;t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){var a=f.addDays(n),r=g(a,"yyyy-mm-dd",e.texts),s=!i&&h(a)&&!i++;return{date:a,formattedDate:r,today:s,class:{today:s,selected:e.view.selectedDate&&f.addDays(n).getTime()===e.view.selectedDate.getTime()}}});break;case"day":var y=g(this.view.startDate,"yyyy-mm-dd",this.texts),w=h(this.view.startDate);t=[{date:this.view.startDate,formattedDate:y,today:w,class:{today:w,selected:this.view.selectedDate&&this.view.startDate.getTime()===this.view.selectedDate.getTime()}}];break}return t},weekdayCellStyles:function(){return{minWidth:"".concat(this.minCellWidth,"px")||!1}},cssClasses:function(){var e;return e={},s(e,"vuecal--".concat(this.view.id,"-view"),!0),s(e,"vuecal--".concat(this.locale),this.locale),s(e,"vuecal--no-time",!this.time),s(e,"vuecal--view-with-time",this.hasTimeColumn),s(e,"vuecal--time-12-hour",this["12Hour"]),s(e,"vuecal--click-to-navigate",this.clickToNavigate),s(e,"vuecal--hide-weekends",this.hideWeekends),s(e,"vuecal--split-days",this.splitDays.length),s(e,"vuecal--overflow-x",this.minCellWidth),s(e,"vuecal--small",this.small),s(e,"vuecal--xsmall",this.xsmall),s(e,"vuecal--no-event-overlaps",this.noEventOverlaps),e}},watch:{events:function(e,t){this.updateMutableEvents(e)}}},O=M,T=(n("17ac"),k(O,a,r,!1,null,null,null));T.options.__file="index.vue";var C=T.exports;t["default"]=C},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]});
//# sourceMappingURL=vuecal.umd.min.js.map
{
"name": "vue-cal",
"version": "1.19.0",
"version": "1.20.0",
"description": "A Vue JS full calendar, no dependency, no BS. :metal:",

@@ -41,2 +41,3 @@ "repository": "https://github.com/antoniandre/vue-cal",

"vue-cli-plugin-vuetify": "^0.2.1",
"vue-scrollto": "^2.13.0",
"vue-template-compiler": "^2.5.17",

@@ -43,0 +44,0 @@ "vuetify": "^1.2.0"

@@ -29,2 +29,3 @@ # vue-cal

- __Version 1.20.0__ Allow displaying events on month view
- __Version 1.19.0__ Emit events on mouse-enter &amp; mouse-leave an event

@@ -31,0 +32,0 @@ - __Version 1.18.0__ Allow overriding indicators in month view

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc