Comparing version 1.3.0 to 1.3.1
@@ -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 r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));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"),r=n("5ca1"),a=n("2aba"),s=n("32e9"),o=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),v=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",p="values",y=function(){return this};e.exports=function(e,t,n,m,b,w,g){c(n,t,m);var _,D,x,k=function(e){if(!v&&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)}},E=t+" Iterator",S=b==p,T=!1,O=e.prototype,C=O[f]||O[d]||b&&O[b],M=C||k(b),A=b?S?k("entries"):M:void 0,j="Array"==t&&O.entries||C;if(j&&(x=l(j.call(new e)),x!==Object.prototype&&x.next&&(u(x,E,!0),i||"function"==typeof x[f]||s(x,f,y))),S&&C&&C.name!==p&&(T=!0,M=function(){return C.call(this)}),i&&!g||!v&&!T&&O[f]||s(O,f,M),o[t]=M,o[E]=y,b)if(_={values:S?M:k(p),keys:w?M:k(h),entries:A},g)for(D in _)D in O||a(O,D,_[D]);else r(r.P+r.F*(v||T),t,_);return _}},"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"),r=n("626a"),a=n("4bf8"),s=n("9def"),o=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,f=6==e,v=5==e||f,d=t||o;return function(t,o,h){for(var p,y,m=a(t),b=r(m),w=i(o,h,3),g=s(b.length),_=0,D=n?d(t,g):c?d(t,0):void 0;g>_;_++)if((v||_ in b)&&(p=b[_],y=w(p,_,m),e))if(n)D[_]=y;else if(y)switch(e){case 3:return!0;case 5:return p;case 6:return _;case 2:D.push(p)}else if(l)return!1;return f?-1:u||l?l:D}}},"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"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},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"),r=n("4630"),a=n("6821"),s=n("6a99"),o=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(o(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,s=a(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"),r=n.n(i);r.a},"214f":function(e,t,n){"use strict";var i=n("32e9"),r=n("2aba"),a=n("79e5"),s=n("be13"),o=n("2b4c");e.exports=function(e,t,n){var c=o(e),u=n(s,c,""[e]),l=u[0],f=u[1];a(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),i(RegExp.prototype,c,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.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 r=n("aae3"),a=i,s=[].push,o="split",c="length",u="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 l=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!r(e))return a.call(n,e,t);var i,o,f,v,d,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,m=void 0===t?4294967295:t>>>0,b=new RegExp(e.source,p+"g");l||(i=new RegExp("^"+b.source+"$(?!\\s)",p));while(o=b.exec(n)){if(f=o.index+o[0][c],f>y&&(h.push(n.slice(y,o.index)),!l&&o[c]>1&&o[0].replace(i,function(){for(d=1;d<arguments[c]-2;d++)void 0===arguments[d]&&(o[d]=void 0)}),o[c]>1&&o.index<n[c]&&s.apply(h,o.slice(1)),v=o[0][c],y=f,h[c]>=m))break;b[u]===o.index&&b[u]++}return y===n[c]?!v&&b.test("")||h.push(""):h.push(n.slice(y)),h[c]>m?h.slice(0,m):h}}else"0"[o](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)});return[function(n,r){var a=e(this),s=void 0==n?void 0:n[t];return void 0!==s?s.call(n,a,r):i.call(String(a),n,r)},i]})},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),s=n("ca5a")("src"),o="toString",c=Function[o],u=(""+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&&(a(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(a(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(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"),r=n("1495"),a=n("e11e"),s=n("613b")("IE_PROTO"),o=function(){},c="prototype",u=function(){var e,t=n("230e")("iframe"),i=a.length,r="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+s+"document.F=Object"+r+"/script"+s),e.close(),u=e.F;while(i--)delete u[c][a[i]];return u()};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=u(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,s="function"==typeof a,o=e.exports=function(e){return i[e]||(i[e]=s&&a[e]||(s?a:r)("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"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(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"),r=n("79e5"),a=n("be13"),s=/"/g,o=function(e,t,n,i){var r=String(a(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+String(i).replace(s,""")+'"'),o+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(o),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"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"),r=n("4630"),a=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),a(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(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),r=void 0==n?void 0:n[t];return void 0!==r?r.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={"./en.json":"7213","./es.json":"e240","./fr.json":"0699","./it.json":"eed7","./pt-br.json":"89f4","./zh-cn.json":"88b4"};function r(e){var t=a(e);return n(t)}function a(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}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="4da1"},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",s=r[a]||(r[a]={});(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"),r=n("8378"),a=n("32e9"),s=n("2aba"),o=n("9b43"),c="prototype",u=function(e,t,n){var l,f,v,d,h=e&u.F,p=e&u.G,y=e&u.S,m=e&u.P,b=e&u.B,w=p?i:y?i[t]||(i[t]={}):(i[t]||{})[c],g=p?r:r[t]||(r[t]={}),_=g[c]||(g[c]={});for(l in p&&(n=t),n)f=!h&&w&&void 0!==w[l],v=(f?w:n)[l],d=b&&f?o(v,i):m&&"function"==typeof v?o(Function.call,v):v,w&&s(w,l,v,e&u.U),g[l]!=v&&a(g,l,d),m&&_[l]!=v&&(_[l]=v)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var a,s=t.constructor;return s!==n&&"function"==typeof s&&(a=s.prototype)!==n.prototype&&i(a)&&r&&r(e,a),e}},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",s)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(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"),r=n("be13");e.exports=function(e){return i(r(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,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),a=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:!a&&e instanceof RegExp?r.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"),r=n("2621"),a=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,u=1,l=r.f,f=a.f;while(c>u){var v,d=o(arguments[u++]),h=l?i(d).concat(l(d)):i(d),p=h.length,y=0;while(p>y)f.call(d,v=h[y++])&&(n[v]=d[v])}return n}:c},7514:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},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"),r=Math.max,a=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):a(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{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"),r=n("c69a"),a=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)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:"DDDD d mmmm yyyy"}},"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:"Delete",createEvent:"Create an event",dateFormat:"DDDD d mmmm yyyy"}},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),a=function(e,t){if(r(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(r){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"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,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(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,r){"use strict";var a=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,a,r):n.call(String(a),i,r)},n]})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),a=n("79e5"),s=n("fdef"),o="["+s+"]",c=" ",u=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),f=function(e,t,n){var r={},o=a(function(){return!!s[e]()||c[e]()!=c}),u=r[e]=o?t(v):s[e];n&&(r[n]=u),i(i.P+i.F*o,"String",r)},v=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),s=n("7726"),o=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),v=c.Array,d={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=r(d),p=0;p<h.length;p++){var y,m=h[p],b=d[m],w=s[m],g=w&&w.prototype;if(g&&(g[l]||o(g,l,v),g[f]||o(g,f,m),c[m]=v,b))for(y in i)g[y]||a(g,y,i[y],!0)}},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"),r=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,s){var o,c=i(t),u=r(c.length),l=a(s,u);if(e&&n!=n){while(u>l)if(o=c[l++],o!=o)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),a=n("2d95"),s=n("5dbc"),o=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,v=n("aa77").trim,d="Number",h=i[d],p=h,y=h.prototype,m=a(n("2aeb")(y))==d,b="trim"in String.prototype,w=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=b?t.trim():v(t,3);var n,i,r,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,c=t.slice(2),u=0,l=c.length;u<l;u++)if(s=c.charCodeAt(u),s<48||s>r)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&&(m?c(function(){y.valueOf.call(n)}):a(n)!=d)?s(new p(w(t)),n,h):w(t)};for(var g,_=n("9e1e")?u(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(","),D=0;_.length>D;D++)r(p,g=_[D])&&!r(h,g)&&f(h,g,l(p,g));h.prototype=y,y.constructor=h,n("2aba")(i,d,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"),r=n("d53b"),a=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,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.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"),r=n("6821"),a=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,o=r(e),c=0,u=[];for(n in o)n!=s&&i(o,n)&&u.push(n);while(t.length>c)i(o,n=t[c++])&&(~a(u,n)||u.push(n));return u}},d011:function(e,t,n){"use strict";var i=n("6b6a"),r=n.n(i);r.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 envento",deleteEvent:"Borrar",createEvent:"Crear un evento",dateFormat:"DDDD d mmmm yyyy"}},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),a=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[a],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 r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__flex vuecal",class:e.cssClasses,attrs:{column:""}},[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()})),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),n("span",{class:{clickable:!!e.broaderView},on:{click:function(t){e.switchToBroaderView()}}},[e._v(e._s(e.viewTitle))]),n("div",{staticClass:"vuecal__arrow vuecal__arrow--next",on:{click:e.next}},[e._t("arrowNext",[n("i",{staticClass:"angle"})])],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__flex 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._v(e._s(t.label))])})):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,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",{key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,content:t.content},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}}})})],2)])])])])},a=[];n("f386");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}n("f751"),n("28a5");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("4917");function c(e){if(Array.isArray(e))return e}function u(e,t){var n=[],i=!0,r=!1,a=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){r=!0,a=c}finally{try{i||null==o["return"]||o["return"]()}finally{if(r)throw a}}return n}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function f(e,t){return c(e)||u(e,t)||l()}n("6b54"),n("7514"),n("ac6a"),n("cadf"),n("456d"),n("c5f6"),n("a481");var v=new Date,d="".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())===d},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},y=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},m=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"}},b=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,r=n<12?"am":"pm",a=e%60,s={H:n,h:i,HH:(n<10?"0":"")+n,hh:(i<10?"0":"")+i,am:r,AM:r.toUpperCase(),m:a,mm:(a<10?"0":"")+a};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(),r=e.getMonth()+1,a={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:m(i),m:r,mm:(r<10?"0":"")+r,mmm:n.months[r-1].substr(0,3),mmmm:n.months[r-1],yyyy:e.getFullYear(),yy:e.getFullYear().toString().substr(2,4)};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){return a[t.replace(/\{|\}/g,"")]})},g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__cell",class:[e.cssClass,e.splits.length?"splitted":""],style:e.cellStyles},e._l(e.splits.length||1,function(t){return n("div",{staticClass:"vuecal__cell-content",class:e.splits.length&&"vuecal__cell-split "+e.splits[t-1].class},[e.splits.length?n("div",{staticClass:"split-label",domProps:{innerHTML:e._s(e.splits[t-1].label)}}):e._e(),e.content?n("div",{domProps:{innerHTML:e._s(e.content)}}):n("div",[e.events.length?e._l(e.splits.length?e.splitEvents[t]:e.events,function(t,i){return n("div",{key:i,staticClass:"vuecal__event",class:e.eventClasses(t),style:e.eventStyles(t),on:{click:function(n){n.stopPropagation(),e.focusEvent(t)}}},[n("div",{staticClass:"vuecal__event-delete",on:{click:function(n){n.stopPropagation(),n.preventDefault(),e.deleteEvent(t)}}},[e._v(e._s(e.texts.deleteEvent))]),t.title?n("div",{staticClass:"vuecal__event-title"},[e._v(e._s(t.title))]):e._e(),t.startTime?n("div",{staticClass:"vuecal__event-time"},[e._v(e._s(t.startTime)),t.endTime?n("span",[e._v(" - "+e._s(t.endTime))]):e._e()]):e._e(),t.content?n("div",{staticClass:"vuecal__event-content",domProps:{innerHTML:e._s(t.content)}}):e._e(),t.startTime&&e.$parent.resizableEvents?n("div",{staticClass:"vuecal__event-resize-handle",on:{mousedown:function(n){e.$parent.resizableEvents&&e.$parent.time&&e.onMouseDown(n,t)},touchstart:function(n){e.$parent.resizableEvents&&e.$parent.time&&e.onMouseDown(n,t)}}}):e._e()])}):n("div",{staticClass:"vuecal__no-event"},[e._v(e._s(e.texts.noEvent))])],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[]}}},data:function(){return{splitEvents:[],comparisonArray:{}}},methods:{updateEventPosition:function(e){var t=e.startTimeMinutes-this.$parent.timeFrom,n=Math.round(t*this.timeCellHeight/this.timeStep);t=e.endTimeMinutes-this.$parent.timeFrom;var i=Math.round(t*this.timeCellHeight/this.timeStep);e.top=n,e.height=i-n},eventStyles:function(e){return e.startTime?{top:"".concat(e.top,"px"),height:"".concat(this.resizeEvent.newHeight&&this.resizeEvent.eventId===e.id?this.resizeEvent.newHeight:e.height,"px")}:{}},eventClasses:function(e){return o({},e.classes,{"vuecal__event--focus":this.focusedEventId===e.id})},checkCellOverlappingEvents:function(){var e=this;this.events.forEach(function(t){t.background||(e.comparisonArray[t.id]=e.events.filter(function(n){return n.id!==t.id&&-1===Object.keys(e.comparisonArray).indexOf(n.id)&&!n.background}),e.comparisonArray[t.id].length&&e.checkOverlappingEvents(t))})},checkOverlappingEvents:function(e){this.comparisonArray[e.id].forEach(function(t,n){var i=e.startTimeMinutes<t.startTimeMinutes,r=i&&e.endTimeMinutes>t.startTimeMinutes,a=!i&&t.endTimeMinutes>e.startTimeMinutes;(r||a)&&(e.classes=Object.assign(e.classes,{"vuecal__event--overlapped":i,"vuecal__event--overlapping":!i}),t.classes=Object.assign(t.classes,{"vuecal__event--overlapped":!i,"vuecal__event--overlapping":i}))})},onResizeEvent:function(e,t){var n=this.events.filter(function(t){return t.id===e})[0];n&&(n.height=Math.max(t,10),this.updateEndTimeOnResize(n))},updateEndTimeOnResize:function(e){var t=e.top+e.height,n=(t/this.timeCellHeight*this.timeStep+this.timeFrom)/60,i=parseInt(n),r=parseInt(60*(n-i));e.endTimeMinutes=60*n,e.endTime="".concat(i,":").concat((r<10?"0":"")+r)},onMouseDown:function(e,t){var n="ontouchstart"in window?e.touches[0].clientY:e.clientY;this.$parent.resizeEvent=Object.assign(this.$parent.resizeEvent,{start:n,originalHeight:t.height,newHeight:t.height,eventId:t.id})},deleteEvent:function(e){this.events=this.events.filter(function(t){return t.id!==e.id}),this.splits.length&&(this.splitEvents=this.splitEvents[e.split].filter(function(t){return t.id!==e.id}))},focusEvent:function(e){this.focusedEventId=e.id}},computed:{texts:function(){return this.$parent.texts},timeCellHeight:function(){return parseInt(this.$parent.timeCellHeight)},timeFrom:function(){return parseInt(this.$parent.timeFrom)},timeStep:function(){return parseInt(this.$parent.timeStep)},focusedEventId:{get:function(){return this.$parent.focusedEventId},set:function(e){this.$parent.focusedEventId=e}},removableEventId:{get:function(){return this.$parent.removableEventId},set:function(e){this.$parent.removableEventId=e}},cellStyles:function(){return{minWidth:"".concat(this.$parent.minCellWidth,"px")||!1}},resizeEvent:function(){return this.$parent.resizeEvent.eventId&&this.onResizeEvent(this.$parent.resizeEvent.eventId,this.$parent.resizeEvent.newHeight),this.$parent.resizeEvent},events:{get:function(){var e=this,t=this.$parent.mutableEvents[this.formattedDate];return this.splitEvents=[],t?t.map(function(n){return n.startTime&&e.updateEventPosition(n),e.splits.length&&n.split&&(e.splitEvents[n.split]||e.$set(e.splitEvents,n.split,[]),e.splitEvents[n.split].push(n)),n.background||(e.comparisonArray[n.id]=t.filter(function(t){return t.id!==n.id&&-1===Object.keys(e.comparisonArray).indexOf(t.id)&&!t.background}),e.comparisonArray[n.id].length&&e.checkOverlappingEvents(n)),n}):[]},set:function(e){this.$parent.mutableEvents[this.formattedDate]=e}}}},x=D;n("d011");function k(e,t,n,i,r,a,s,o){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=c):r&&(c=o?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var E=k(x,g,_,!1,null,null,null);E.options.__file="cell.vue";var S=E.exports,T={name:"vue-cal",components:{"vuecal-cell":S},props:{locale:{type:String,default:"en"},hideViewSelector:{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:30},timeCellHeight:{type:Number,default:40},"12Hour":{type:Boolean,default:!1},minCellWidth:{type:Number,default:0},splitDays:{type:Array,default:function(){return[]}},events:{type:Array,default:function(){return[]}},resizableEvents:{type:Boolean,default:!0},editableEvents:{type:Boolean,default:!0}},data:function(){return{now:v,monthDays:Array[31],view:{id:"",title:"",startDate:null,selectedDate:null},eventIdIncrement:1,resizeEvent:{start:null,eventId:0,newHeight:0},focusedEventId:null,draggingEventId:null,removableEventId:null,dblTap:{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}},selectCell:function(e){var t=this;this.view.selectedDate.toString()!==e.date.toString()&&(this.view.selectedDate=e.date),this.focusedEventId=null,this.clickToNavigate?this.switchToNarrowerView():this.dblClickToNavigate&&"ontouchstart"in window&&(this.dblTap.taps++,setTimeout(function(){return t.dblTap.taps=0},this.dblTap.timeout),this.dblTap.taps>=2&&(this.dblTap.taps=0,this.switchToNarrowerView()))},onMouseMove:function(e){if(null!==this.resizeEvent.eventId){e.preventDefault();var t="ontouchstart"in window?e.touches[0].clientY:e.clientY;this.resizeEvent.newHeight=this.resizeEvent.originalHeight+(t-this.resizeEvent.start)}},onMouseUp:function(e){null!==this.resizeEvent.eventId&&(e.stopPropagation(),this.resizeEvent.eventId=null,this.resizeEvent.start=null,this.resizeEvent.originalHeight=null,this.resizeEvent.newHeight=null)}},created:function(){if(this.$emit("before-created"),this.eventsPerDay,this.selectedDate){var e=this.selectedDate.match(/(\d{4})-(\d{2})-(\d{2})(?: (\d{2}):(\d{2}))?/),t=f(e,6),n=t[1],i=t[2],r=t[3],a=t[4],s=void 0===a?0:a,o=t[5],c=void 0===o?0:o;this.view.selectedDate=new Date(n,parseInt(i)-1,r,s,c)}else this.view.selectedDate=this.now;this.switchView(this.defaultView)},mounted:function(){if(this.$emit("created"),this.resizableEvents&&this.time){var e="ontouchstart"in window;window.addEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.addEventListener(e?"touchend":"mouseup",this.onMouseUp)}},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({label:b(t,this["12Hour"]?"h:mm{am}":"H: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":e="".concat(this.texts.week," ").concat(t.getWeek()," (").concat(w(t,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts),")");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:t.label[0],label2:t.label.substr(1,2),label3: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 r=this.view.startDate.getMonth(),a=this.view.startDate.getFullYear(),s=y(r,a),o=s[0].getDay(),c=new Date(this.view.selectedDate.getTime());c.setHours(0,0,0,0),i=!1;var u=0;if(1!==s[0].getDay()){for(var l=p(s[0]),f=[],v=0;v<7;v++)if(f.push(new Date(l)),l.setDate(l.getDate()+1),l.getDay()===o)break;s.unshift.apply(s,f)}t=Array.apply(null,Array(42)).map(function(t,n){var o=s[n]||new Date(a,r+1,++u),l=!i&&o&&o.getDate()===e.now.getDate()&&o.getMonth()===e.now.getMonth()&&o.getFullYear()===e.now.getFullYear()&&!i++,f=w(o,"yyyy-mm-dd",e.texts);return{content:o.getDate(),date:o,formattedDate:f,class:{today:l,"out-of-scope":o.getMonth()!==r,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 d=this.view.startDate;t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){var r=d.addDays(n),a=w(r,"yyyy-mm-dd",e.texts);return{date:r,formattedDate:a,class:{today:!i&&h(r)&&!i++,selected:e.view.selectedDate&&d.addDays(n).getTime()===e.view.selectedDate.getTime()}}});break;case"day":var m=w(this.view.startDate,"yyyy-mm-dd",this.texts);t=[{date:this.view.startDate,formattedDate:m,class:{today:h(this.view.startDate),selected:this.view.selectedDate&&this.view.startDate.getTime()===this.view.selectedDate.getTime()}}];break}return t},eventsPerDay:{get:function(){var e=this;return this.mutableEvents={},this.events.map(function(t){var n,i=t.start.split(" "),r=f(i,2),a=r[0],o=r[1],c=void 0===o?"":o,u=c.split(":"),l=f(u,2),v=l[0],d=l[1],h=60*parseInt(v)+parseInt(d),p=t.end.split(" "),y=f(p,2),m=y[0],b=y[1],w=void 0===b?"":b,g=w.split(":"),_=f(g,2),D=_[0],x=_[1],k=60*parseInt(D)+parseInt(x),E="".concat(e._uid,"_").concat(e.eventIdIncrement++);return t=Object.assign({},t,{id:E,startDate:a,endDate:m,startTime:c,startTimeMinutes:h,endTime:w,endTimeMinutes:k,height:0,top:0,classes:(n={},s(n,t.class,!0),s(n,"vuecal__event--overlapping",!1),s(n,"vuecal__event--overlapped",!1),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})},set:function(e){this.mutableEvents=e}},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--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),e}}},O=T,C=(n("17ac"),k(O,r,a,!1,null,null,null));C.options.__file="index.vue";var M=C.exports;t["default"]=M},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 r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));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"),r=n("5ca1"),a=n("2aba"),s=n("32e9"),o=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),v=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",p="values",y=function(){return this};e.exports=function(e,t,n,m,b,w,g){c(n,t,m);var _,D,x,k=function(e){if(!v&&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)}},E=t+" Iterator",S=b==p,T=!1,O=e.prototype,C=O[f]||O[d]||b&&O[b],M=C||k(b),A=b?S?k("entries"):M:void 0,j="Array"==t&&O.entries||C;if(j&&(x=l(j.call(new e)),x!==Object.prototype&&x.next&&(u(x,E,!0),i||"function"==typeof x[f]||s(x,f,y))),S&&C&&C.name!==p&&(T=!0,M=function(){return C.call(this)}),i&&!g||!v&&!T&&O[f]||s(O,f,M),o[t]=M,o[E]=y,b)if(_={values:S?M:k(p),keys:w?M:k(h),entries:A},g)for(D in _)D in O||a(O,D,_[D]);else r(r.P+r.F*(v||T),t,_);return _}},"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"),r=n("626a"),a=n("4bf8"),s=n("9def"),o=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,f=6==e,v=5==e||f,d=t||o;return function(t,o,h){for(var p,y,m=a(t),b=r(m),w=i(o,h,3),g=s(b.length),_=0,D=n?d(t,g):c?d(t,0):void 0;g>_;_++)if((v||_ in b)&&(p=b[_],y=w(p,_,m),e))if(n)D[_]=y;else if(y)switch(e){case 3:return!0;case 5:return p;case 6:return _;case 2:D.push(p)}else if(l)return!1;return f?-1:u||l?l:D}}},"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"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},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"),r=n("4630"),a=n("6821"),s=n("6a99"),o=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(o(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,s=a(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"),r=n.n(i);r.a},"214f":function(e,t,n){"use strict";var i=n("32e9"),r=n("2aba"),a=n("79e5"),s=n("be13"),o=n("2b4c");e.exports=function(e,t,n){var c=o(e),u=n(s,c,""[e]),l=u[0],f=u[1];a(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),i(RegExp.prototype,c,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.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 r=n("aae3"),a=i,s=[].push,o="split",c="length",u="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 l=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!r(e))return a.call(n,e,t);var i,o,f,v,d,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,m=void 0===t?4294967295:t>>>0,b=new RegExp(e.source,p+"g");l||(i=new RegExp("^"+b.source+"$(?!\\s)",p));while(o=b.exec(n)){if(f=o.index+o[0][c],f>y&&(h.push(n.slice(y,o.index)),!l&&o[c]>1&&o[0].replace(i,function(){for(d=1;d<arguments[c]-2;d++)void 0===arguments[d]&&(o[d]=void 0)}),o[c]>1&&o.index<n[c]&&s.apply(h,o.slice(1)),v=o[0][c],y=f,h[c]>=m))break;b[u]===o.index&&b[u]++}return y===n[c]?!v&&b.test("")||h.push(""):h.push(n.slice(y)),h[c]>m?h.slice(0,m):h}}else"0"[o](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)});return[function(n,r){var a=e(this),s=void 0==n?void 0:n[t];return void 0!==s?s.call(n,a,r):i.call(String(a),n,r)},i]})},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),s=n("ca5a")("src"),o="toString",c=Function[o],u=(""+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&&(a(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(a(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(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"),r=n("1495"),a=n("e11e"),s=n("613b")("IE_PROTO"),o=function(){},c="prototype",u=function(){var e,t=n("230e")("iframe"),i=a.length,r="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+s+"document.F=Object"+r+"/script"+s),e.close(),u=e.F;while(i--)delete u[c][a[i]];return u()};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=u(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,s="function"==typeof a,o=e.exports=function(e){return i[e]||(i[e]=s&&a[e]||(s?a:r)("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"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(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"),r=n("79e5"),a=n("be13"),s=/"/g,o=function(e,t,n,i){var r=String(a(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+String(i).replace(s,""")+'"'),o+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(o),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"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"),r=n("4630"),a=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),a(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(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),r=void 0==n?void 0:n[t];return void 0!==r?r.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={"./en.json":"7213","./es.json":"e240","./fr.json":"0699","./it.json":"eed7","./pt-br.json":"89f4","./zh-cn.json":"88b4"};function r(e){var t=a(e);return n(t)}function a(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}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="4da1"},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",s=r[a]||(r[a]={});(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"),r=n("8378"),a=n("32e9"),s=n("2aba"),o=n("9b43"),c="prototype",u=function(e,t,n){var l,f,v,d,h=e&u.F,p=e&u.G,y=e&u.S,m=e&u.P,b=e&u.B,w=p?i:y?i[t]||(i[t]={}):(i[t]||{})[c],g=p?r:r[t]||(r[t]={}),_=g[c]||(g[c]={});for(l in p&&(n=t),n)f=!h&&w&&void 0!==w[l],v=(f?w:n)[l],d=b&&f?o(v,i):m&&"function"==typeof v?o(Function.call,v):v,w&&s(w,l,v,e&u.U),g[l]!=v&&a(g,l,d),m&&_[l]!=v&&(_[l]=v)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var a,s=t.constructor;return s!==n&&"function"==typeof s&&(a=s.prototype)!==n.prototype&&i(a)&&r&&r(e,a),e}},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",s)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(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"),r=n("be13");e.exports=function(e){return i(r(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,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),a=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:!a&&e instanceof RegExp?r.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"),r=n("2621"),a=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,u=1,l=r.f,f=a.f;while(c>u){var v,d=o(arguments[u++]),h=l?i(d).concat(l(d)):i(d),p=h.length,y=0;while(p>y)f.call(d,v=h[y++])&&(n[v]=d[v])}return n}:c},7514:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},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"),r=Math.max,a=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):a(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{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"),r=n("c69a"),a=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)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:"Delete",createEvent:"Create an event",dateFormat:"DDDD d mmmm yyyy"}},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),a=function(e,t){if(r(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(r){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"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,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(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,r){"use strict";var a=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,a,r):n.call(String(a),i,r)},n]})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),a=n("79e5"),s=n("fdef"),o="["+s+"]",c=" ",u=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),f=function(e,t,n){var r={},o=a(function(){return!!s[e]()||c[e]()!=c}),u=r[e]=o?t(v):s[e];n&&(r[n]=u),i(i.P+i.F*o,"String",r)},v=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),s=n("7726"),o=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),v=c.Array,d={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=r(d),p=0;p<h.length;p++){var y,m=h[p],b=d[m],w=s[m],g=w&&w.prototype;if(g&&(g[l]||o(g,l,v),g[f]||o(g,f,m),c[m]=v,b))for(y in i)g[y]||a(g,y,i[y],!0)}},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"),r=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,s){var o,c=i(t),u=r(c.length),l=a(s,u);if(e&&n!=n){while(u>l)if(o=c[l++],o!=o)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),a=n("2d95"),s=n("5dbc"),o=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,v=n("aa77").trim,d="Number",h=i[d],p=h,y=h.prototype,m=a(n("2aeb")(y))==d,b="trim"in String.prototype,w=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=b?t.trim():v(t,3);var n,i,r,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,c=t.slice(2),u=0,l=c.length;u<l;u++)if(s=c.charCodeAt(u),s<48||s>r)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&&(m?c(function(){y.valueOf.call(n)}):a(n)!=d)?s(new p(w(t)),n,h):w(t)};for(var g,_=n("9e1e")?u(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(","),D=0;_.length>D;D++)r(p,g=_[D])&&!r(h,g)&&f(h,g,l(p,g));h.prototype=y,y.constructor=h,n("2aba")(i,d,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"),r=n("d53b"),a=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,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.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"),r=n("6821"),a=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,o=r(e),c=0,u=[];for(n in o)n!=s&&i(o,n)&&u.push(n);while(t.length>c)i(o,n=t[c++])&&(~a(u,n)||u.push(n));return u}},d011:function(e,t,n){"use strict";var i=n("6b6a"),r=n.n(i);r.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 envento",deleteEvent:"Borrar",createEvent:"Crear un evento",dateFormat:"DDDD d mmmm yyyy"}},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),a=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[a],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 r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__flex vuecal",class:e.cssClasses,attrs:{column:""}},[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()})),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),n("span",{class:{clickable:!!e.broaderView},on:{click:function(t){e.switchToBroaderView()}}},[e._v(e._s(e.viewTitle))]),n("div",{staticClass:"vuecal__arrow vuecal__arrow--next",on:{click:e.next}},[e._t("arrowNext",[n("i",{staticClass:"angle"})])],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__flex 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._v(e._s(t.label))])})):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,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",{key:i,class:t.class,attrs:{date:t.date,"formatted-date":t.formattedDate,content:t.content},nativeOn:{click:function(n){e.selectCell(t)},dblclick:function(t){e.dblClickToNavigate&&e.switchToNarrowerView()}}})})],2)])])])])},a=[];n("f386");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}n("f751"),n("28a5");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("4917");function c(e){if(Array.isArray(e))return e}function u(e,t){var n=[],i=!0,r=!1,a=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){r=!0,a=c}finally{try{i||null==o["return"]||o["return"]()}finally{if(r)throw a}}return n}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function f(e,t){return c(e)||u(e,t)||l()}n("6b54"),n("7514"),n("ac6a"),n("cadf"),n("456d"),n("c5f6"),n("a481");var v=new Date,d="".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())===d},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},y=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},m=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"}},b=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,r=n<12?"am":"pm",a=e%60,s={H:n,h:i,HH:(n<10?"0":"")+n,hh:(i<10?"0":"")+i,am:r,AM:r.toUpperCase(),m:a,mm:(a<10?"0":"")+a};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(),r=e.getMonth()+1,a={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:m(i),m:r,mm:(r<10?"0":"")+r,mmm:n.months[r-1].substr(0,3),mmmm:n.months[r-1],yyyy:e.getFullYear(),yy:e.getFullYear().toString().substr(2,4)};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,function(e,t){return a[t.replace(/\{|\}/g,"")]})},g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vuecal__cell",class:[e.cssClass,e.splits.length?"splitted":""],style:e.cellStyles},e._l(e.splits.length||1,function(t){return n("div",{staticClass:"vuecal__cell-content",class:e.splits.length&&"vuecal__cell-split "+e.splits[t-1].class},[e.splits.length?n("div",{staticClass:"split-label",domProps:{innerHTML:e._s(e.splits[t-1].label)}}):e._e(),e.content?n("div",{domProps:{innerHTML:e._s(e.content)}}):n("div",[e.events.length?e._l(e.splits.length?e.splitEvents[t]:e.events,function(t,i){return n("div",{key:i,staticClass:"vuecal__event",class:e.eventClasses(t),style:e.eventStyles(t),on:{click:function(n){n.stopPropagation(),e.focusEvent(t)}}},[n("div",{staticClass:"vuecal__event-delete",on:{click:function(n){n.stopPropagation(),n.preventDefault(),e.deleteEvent(t)}}},[e._v(e._s(e.texts.deleteEvent))]),t.title?n("div",{staticClass:"vuecal__event-title"},[e._v(e._s(t.title))]):e._e(),t.startTime?n("div",{staticClass:"vuecal__event-time"},[e._v(e._s(t.startTime)),t.endTime?n("span",[e._v(" - "+e._s(t.endTime))]):e._e()]):e._e(),t.content?n("div",{staticClass:"vuecal__event-content",domProps:{innerHTML:e._s(t.content)}}):e._e(),t.startTime&&e.$parent.resizableEvents?n("div",{staticClass:"vuecal__event-resize-handle",on:{mousedown:function(n){e.$parent.resizableEvents&&e.$parent.time&&e.onMouseDown(n,t)},touchstart:function(n){e.$parent.resizableEvents&&e.$parent.time&&e.onMouseDown(n,t)}}}):e._e()])}):n("div",{staticClass:"vuecal__no-event"},[e._v(e._s(e.texts.noEvent))])],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[]}}},data:function(){return{splitEvents:[],comparisonArray:{}}},methods:{updateEventPosition:function(e){var t=e.startTimeMinutes-this.$parent.timeFrom,n=Math.round(t*this.timeCellHeight/this.timeStep);t=e.endTimeMinutes-this.$parent.timeFrom;var i=Math.round(t*this.timeCellHeight/this.timeStep);e.top=n,e.height=i-n},eventStyles:function(e){return e.startTime?{top:"".concat(e.top,"px"),height:"".concat(this.resizeEvent.newHeight&&this.resizeEvent.eventId===e.id?this.resizeEvent.newHeight:e.height,"px")}:{}},eventClasses:function(e){return o({},e.classes,{"vuecal__event--focus":this.focusedEventId===e.id})},checkCellOverlappingEvents:function(){var e=this;this.events.forEach(function(t){t.background||(e.comparisonArray[t.id]=e.events.filter(function(n){return n.id!==t.id&&-1===Object.keys(e.comparisonArray).indexOf(n.id)&&!n.background}),e.comparisonArray[t.id].length&&e.checkOverlappingEvents(t))})},checkOverlappingEvents:function(e){this.comparisonArray[e.id].forEach(function(t,n){var i=e.startTimeMinutes<t.startTimeMinutes,r=i&&e.endTimeMinutes>t.startTimeMinutes,a=!i&&t.endTimeMinutes>e.startTimeMinutes;(r||a)&&(e.classes=Object.assign(e.classes,{"vuecal__event--overlapped":i,"vuecal__event--overlapping":!i}),t.classes=Object.assign(t.classes,{"vuecal__event--overlapped":!i,"vuecal__event--overlapping":i}))})},onResizeEvent:function(e,t){var n=this.events.filter(function(t){return t.id===e})[0];n&&(n.height=Math.max(t,10),this.updateEndTimeOnResize(n))},updateEndTimeOnResize:function(e){var t=e.top+e.height,n=(t/this.timeCellHeight*this.timeStep+this.timeFrom)/60,i=parseInt(n),r=parseInt(60*(n-i));e.endTimeMinutes=60*n,e.endTime="".concat(i,":").concat((r<10?"0":"")+r)},onMouseDown:function(e,t){var n="ontouchstart"in window?e.touches[0].clientY:e.clientY;this.$parent.resizeEvent=Object.assign(this.$parent.resizeEvent,{start:n,originalHeight:t.height,newHeight:t.height,eventId:t.id})},deleteEvent:function(e){this.events=this.events.filter(function(t){return t.id!==e.id}),this.splits.length&&(this.splitEvents=this.splitEvents[e.split].filter(function(t){return t.id!==e.id}))},focusEvent:function(e){this.focusedEventId=e.id}},computed:{texts:function(){return this.$parent.texts},timeCellHeight:function(){return parseInt(this.$parent.timeCellHeight)},timeFrom:function(){return parseInt(this.$parent.timeFrom)},timeStep:function(){return parseInt(this.$parent.timeStep)},focusedEventId:{get:function(){return this.$parent.focusedEventId},set:function(e){this.$parent.focusedEventId=e}},removableEventId:{get:function(){return this.$parent.removableEventId},set:function(e){this.$parent.removableEventId=e}},cellStyles:function(){return{minWidth:"".concat(this.$parent.minCellWidth,"px")||!1}},resizeEvent:function(){return this.$parent.resizeEvent.eventId&&this.onResizeEvent(this.$parent.resizeEvent.eventId,this.$parent.resizeEvent.newHeight),this.$parent.resizeEvent},events:{get:function(){var e=this,t=this.$parent.mutableEvents[this.formattedDate];return this.splitEvents=[],t?t.map(function(n){return n.startTime&&e.updateEventPosition(n),e.splits.length&&n.split&&(e.splitEvents[n.split]||e.$set(e.splitEvents,n.split,[]),e.splitEvents[n.split].push(n)),n.background||(e.comparisonArray[n.id]=t.filter(function(t){return t.id!==n.id&&-1===Object.keys(e.comparisonArray).indexOf(t.id)&&!t.background}),e.comparisonArray[n.id].length&&e.checkOverlappingEvents(n)),n}):[]},set:function(e){this.$parent.mutableEvents[this.formattedDate]=e}}}},x=D;n("d011");function k(e,t,n,i,r,a,s,o){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=c):r&&(c=o?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var E=k(x,g,_,!1,null,null,null);E.options.__file="cell.vue";var S=E.exports,T={name:"vue-cal",components:{"vuecal-cell":S},props:{locale:{type:String,default:"en"},hideViewSelector:{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:30},timeCellHeight:{type:Number,default:40},"12Hour":{type:Boolean,default:!1},minCellWidth:{type:Number,default:0},splitDays:{type:Array,default:function(){return[]}},events:{type:Array,default:function(){return[]}},resizableEvents:{type:Boolean,default:!0},editableEvents:{type:Boolean,default:!0}},data:function(){return{now:v,monthDays:Array[31],view:{id:"",title:"",startDate:null,selectedDate:null},eventIdIncrement:1,resizeEvent:{start:null,eventId:0,newHeight:0},focusedEventId:null,draggingEventId:null,removableEventId:null,dblTap:{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}},selectCell:function(e){var t=this;this.view.selectedDate.toString()!==e.date.toString()&&(this.view.selectedDate=e.date),this.focusedEventId=null,this.clickToNavigate?this.switchToNarrowerView():this.dblClickToNavigate&&"ontouchstart"in window&&(this.dblTap.taps++,setTimeout(function(){return t.dblTap.taps=0},this.dblTap.timeout),this.dblTap.taps>=2&&(this.dblTap.taps=0,this.switchToNarrowerView()))},onMouseMove:function(e){if(null!==this.resizeEvent.eventId){e.preventDefault();var t="ontouchstart"in window?e.touches[0].clientY:e.clientY;this.resizeEvent.newHeight=this.resizeEvent.originalHeight+(t-this.resizeEvent.start)}},onMouseUp:function(e){null!==this.resizeEvent.eventId&&(e.stopPropagation(),this.resizeEvent.eventId=null,this.resizeEvent.start=null,this.resizeEvent.originalHeight=null,this.resizeEvent.newHeight=null)}},created:function(){if(this.$emit("before-created"),this.eventsPerDay,this.selectedDate){var e=this.selectedDate.match(/(\d{4})-(\d{2})-(\d{2})(?: (\d{2}):(\d{2}))?/),t=f(e,6),n=t[1],i=t[2],r=t[3],a=t[4],s=void 0===a?0:a,o=t[5],c=void 0===o?0:o;this.view.selectedDate=new Date(n,parseInt(i)-1,r,s,c)}else this.view.selectedDate=this.now;this.switchView(this.defaultView)},mounted:function(){if(this.$emit("created"),this.resizableEvents&&this.time){var e="ontouchstart"in window;window.addEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.addEventListener(e?"touchend":"mouseup",this.onMouseUp)}},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({label:b(t,this["12Hour"]?"h:mm{am}":"H: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":e="".concat(this.texts.week," ").concat(t.getWeek()," (").concat(w(t,this.xsmall?"mmm yyyy":"mmmm yyyy",this.texts),")");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:t.label[0],label2:t.label.substr(1,2),label3: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 r=this.view.startDate.getMonth(),a=this.view.startDate.getFullYear(),s=y(r,a),o=s[0].getDay(),c=new Date(this.view.selectedDate.getTime());c.setHours(0,0,0,0),i=!1;var u=0;if(1!==s[0].getDay()){for(var l=p(s[0]),f=[],v=0;v<7;v++)if(f.push(new Date(l)),l.setDate(l.getDate()+1),l.getDay()===o)break;s.unshift.apply(s,f)}t=Array.apply(null,Array(42)).map(function(t,n){var o=s[n]||new Date(a,r+1,++u),l=!i&&o&&o.getDate()===e.now.getDate()&&o.getMonth()===e.now.getMonth()&&o.getFullYear()===e.now.getFullYear()&&!i++,f=w(o,"yyyy-mm-dd",e.texts);return{content:o.getDate(),date:o,formattedDate:f,class:{today:l,"out-of-scope":o.getMonth()!==r,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 d=this.view.startDate;t=this.weekDays.slice(0,this.hideWeekends?5:7).map(function(t,n){var r=d.addDays(n),a=w(r,"yyyy-mm-dd",e.texts);return{date:r,formattedDate:a,class:{today:!i&&h(r)&&!i++,selected:e.view.selectedDate&&d.addDays(n).getTime()===e.view.selectedDate.getTime()}}});break;case"day":var m=w(this.view.startDate,"yyyy-mm-dd",this.texts);t=[{date:this.view.startDate,formattedDate:m,class:{today:h(this.view.startDate),selected:this.view.selectedDate&&this.view.startDate.getTime()===this.view.selectedDate.getTime()}}];break}return t},eventsPerDay:{get:function(){var e=this;return this.mutableEvents={},this.events.map(function(t){var n,i=t.start.split(" "),r=f(i,2),a=r[0],o=r[1],c=void 0===o?"":o,u=c.split(":"),l=f(u,2),v=l[0],d=l[1],h=60*parseInt(v)+parseInt(d),p=t.end.split(" "),y=f(p,2),m=y[0],b=y[1],w=void 0===b?"":b,g=w.split(":"),_=f(g,2),D=_[0],x=_[1],k=60*parseInt(D)+parseInt(x),E="".concat(e._uid,"_").concat(e.eventIdIncrement++);return t=Object.assign({},t,{id:E,startDate:a,endDate:m,startTime:c,startTimeMinutes:h,endTime:w,endTimeMinutes:k,height:0,top:0,classes:(n={},s(n,t.class,!0),s(n,"vuecal__event--overlapping",!1),s(n,"vuecal__event--overlapped",!1),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})},set:function(e){this.mutableEvents=e}},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--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),e}}},O=T,C=(n("17ac"),k(O,r,a,!1,null,null,null));C.options.__file="index.vue";var M=C.exports;t["default"]=M},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.3.0", | ||
"version": "1.3.1", | ||
"description": "A Vue JS full calendar, no dependency, no BS. :metal:", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/antoniandre/vue-cal", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
714903