text: /*!
   * OneUI - v4.6.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2020
   */
  !function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},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=0)}([function(e,t,n){e.exports=n(1)},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,a,r;return t=e,r=[{key:"addEvent",value:function(){var e=this,t=jQuery(".js-add-event"),n="";jQuery(".js-form-add-event").on("submit",(function(a){return(n=t.prop("value"))&&(jQuery(".js-events").prepend("<li>"+jQuery("<div />").text(n).html()+"</li>"),t.prop("value",""),e.initEvents()),!1}))}},{key:"initEvents",value:function(){jQuery(".js-events").find("li").each((function(e,t){var n=jQuery(t),a={title:jQuery.trim(n.text()),color:n.css("background-color")};n.data("eventObject",a),n.draggable({zIndex:999,revert:!0,revertDuration:0})}))}},{key:"initCalendar",value:function(){var e=new Date,t=e.getDate(),n=e.getMonth(),a=e.getFullYear();jQuery(".js-calendar").fullCalendar({themeSystem:"bootstrap4",firstDay:1,editable:!0,droppable:!0,header:{left:"title",right:"prev,next today month,agendaWeek,agendaDay,listWeek"},drop:function(e,t,n,a){var r=jQuery(n.helper),l=r.data("eventObject"),i=jQuery.extend({},l);i.start=e,jQuery(".js-calendar").fullCalendar("renderEvent",i,!0),r.remove()},events:[{title:"Free day",start:new Date(a,n,1),allDay:!0,color:"#faeab9"},{title:"Skype Meeting",start:new Date(a,n,2)},{title:"Secret Project",start:new Date(a,n,5),end:new Date(a,n,8),allDay:!0,color:"#fac5a5"},{title:"Work",start:new Date(a,n,9),end:new Date(a,n,11),allDay:!0,color:"#fac5a5"},{id:999,title:"Biking (repeated)",start:new Date(a,n,t-3,15,0)},{id:999,title:"Biking (repeated)",start:new Date(a,n,t+2,15,0)},{title:"Landing Template",start:new Date(a,n,t-1),end:new Date(a,n,t-1),allDay:!0,color:"#faeab9"},{title:"Lunch Meeting",start:new Date(a,n,t+5,14,0),color:"#fac5a5"},{title:"Admin Template",start:new Date(a,n,t,9,0),end:new Date(a,n,t,12,0),allDay:!0,color:"#faeab9"},{title:"Party",start:new Date(a,n,15),end:new Date(a,n,16),allDay:!0,color:"#faeab9"},{title:"Reading",start:new Date(a,n,t+8,21,0),end:new Date(a,n,t+8,23,30),allDay:!0},{title:"Follow us on Twitter",start:new Date(a,n,23),end:new Date(a,n,25),allDay:!0,url:"http://twitter.com/pixelcave",color:"#32ccfe"}]})}},{key:"init",value:function(){this.addEvent(),this.initEvents(),this.initCalendar()}}],(a=null)&&n(t.prototype,a),r&&n(t,r),e}();jQuery((function(){a.init()}))}]);