text: $(document).ready(function(){$("#fc-default").fullCalendar({editable:!0,height:"auto",eventLimit:!0,events:[{title:"All Day Event",start:"2019-03-01"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00"},{title:"Conference",start:"2019-03-11",end:"2019-03-13"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00"},{title:"Lunch",start:"2019-03-12T12:00:00"},{title:"Meeting",start:"2019-03-12T14:30:00"},{title:"Happy Hour",start:"2019-03-12T17:30:00"},{title:"Dinner",start:"2019-03-12T20:00:00"},{title:"Birthday Party",start:"2019-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28"}]}),$("#fc-basic-views").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,basicWeek,basicDay"},defaultDate:"2019-03-12",editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2019-03-01"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00"},{title:"Conference",start:"2019-03-11",end:"2019-03-13"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00"},{title:"Lunch",start:"2019-03-12T12:00:00"},{title:"Meeting",start:"2019-03-12T14:30:00"},{title:"Happy Hour",start:"2019-03-12T17:30:00"},{title:"Dinner",start:"2019-03-12T20:00:00"},{title:"Birthday Party",start:"2019-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28"}]}),$("#fc-agenda-views").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",defaultView:"agendaWeek",editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2019-03-01"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00"},{title:"Conference",start:"2019-03-11",end:"2019-03-13"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00"},{title:"Lunch",start:"2019-03-12T12:00:00"},{title:"Meeting",start:"2019-03-12T14:30:00"},{title:"Happy Hour",start:"2019-03-12T17:30:00"},{title:"Dinner",start:"2019-03-12T20:00:00"},{title:"Birthday Party",start:"2019-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28"}]}),$("#fc-bg-events").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",businessHours:!0,editable:!0,events:[{title:"Business Lunch",start:"2019-03-03T13:00:00",constraint:"businessHours"},{title:"Meeting",start:"2019-03-13T11:00:00",constraint:"availableForMeeting",color:"#257e4a"},{title:"Conference",start:"2019-03-18",end:"2019-03-20"},{title:"Party",start:"2019-03-29T20:00:00"},{id:"availableForMeeting",start:"2019-03-11T10:00:00",end:"2019-03-11T16:00:00",rendering:"background"},{id:"availableForMeeting",start:"2019-03-13T10:00:00",end:"2019-03-13T16:00:00",rendering:"background"},{start:"2019-03-24",end:"2019-03-28",overlap:!1,rendering:"background",color:"#DA4453"},{start:"2019-03-06",end:"2019-03-08",overlap:!1,rendering:"background",color:"#DA4453"}]}),$("#fc-event-colors").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",businessHours:!0,editable:!0,events:[{title:"All Day Event",start:"2019-03-01",color:"#967ADC"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10",color:"#37BC9B"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00",color:"#37BC9B"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00",color:"#F6BB42"},{title:"Conference",start:"2019-03-11",end:"2019-03-13",color:"#DA4453"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00",color:"#DA4453"},{title:"Lunch",start:"2019-03-12T12:00:00",color:"#DA4453"},{title:"Meeting",start:"2019-03-12T14:30:00",color:"#DA4453"},{title:"Happy Hour",start:"2019-03-12T17:30:00",color:"#DA4453"},{title:"Dinner",start:"2019-03-12T20:00:00",color:"#DA4453"},{title:"Birthday Party",start:"2019-03-13T07:00:00",color:"#DA4453"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28",color:"#3BAFDA"}]}),$("#fc-external-drag").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},editable:!0,droppable:!0,defaultDate:"2019-03-12",events:[{title:"All Day Event",start:"2019-03-01",color:"#967ADC"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10",color:"#37BC9B"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00",color:"#37BC9B"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00",color:"#F6BB42"},{title:"Conference",start:"2019-03-11",end:"2019-03-13",color:"#DA4453"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00",color:"#DA4453"},{title:"Lunch",start:"2019-03-12T12:00:00",color:"#DA4453"},{title:"Meeting",start:"2019-03-12T14:30:00",color:"#DA4453"},{title:"Happy Hour",start:"2019-03-12T17:30:00",color:"#DA4453"},{title:"Dinner",start:"2019-03-12T20:00:00",color:"#DA4453"},{title:"Birthday Party",start:"2019-03-13T07:00:00",color:"#DA4453"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28",color:"#3BAFDA"}],drop:function(){$("#drop-remove").is(":checked")&&$(this).remove()}}),$("#external-events .fc-event").each(function(){$(this).css({backgroundColor:$(this).data("color"),borderColor:$(this).data("color")}),$(this).data("event",{title:$.trim($(this).text()),color:$(this).data("color"),stick:!0}),$(this).draggable({zIndex:999,revert:!0,revertDuration:0})}),$("#fc-selectable").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",selectable:!0,selectHelper:!0,select:function(t,e){var a,n=prompt("Event Title:");n&&(a={title:n,start:t,end:e},$("#fc-selectable").fullCalendar("renderEvent",a,!0)),$("#fc-selectable").fullCalendar("unselect")},editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2019-03-01"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00"},{title:"Conference",start:"2019-03-11",end:"2019-03-13"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00"},{title:"Lunch",start:"2019-03-12T12:00:00"},{title:"Meeting",start:"2019-03-12T14:30:00"},{title:"Happy Hour",start:"2019-03-12T17:30:00"},{title:"Dinner",start:"2019-03-12T20:00:00"},{title:"Birthday Party",start:"2019-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28"}]}),$("#fc-gcal").fullCalendar({googleCalendarApiKey:"AIzaSyAAZnaZBXLqNBRXjd-82km_NO7GUItyKek",events:"en.indian#holiday@group.v.calendar.google.com",eventClick:function(t){return window.open(t.url,"gcalevent","width=700,height=600"),!1},loading:function(t){$("#loading").toggle(t)}}),$("#fc-json").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",editable:!0,eventLimit:!0,events:{url:"../../app-assets/data/fullcalendar/php/get-events.php",error:function(){$("#script-warning").show()}},loading:function(t){$("#loading").toggle(t)}});$("#fc-languages").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",lang:"en",buttonIcons:!1,weekNumbers:!0,editable:!0,defaultView:"agendaWeek",eventLimit:!0,events:[{title:"All Day Event",start:"2019-03-01"},{title:"Long Event",start:"2019-03-07",end:"2019-03-10"},{id:999,title:"Repeating Event",start:"2019-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2019-03-16T16:00:00"},{title:"Conference",start:"2019-03-11",end:"2019-03-13"},{title:"Meeting",start:"2019-03-12T10:30:00",end:"2019-03-12T12:30:00"},{title:"Lunch",start:"2019-03-12T12:00:00"},{title:"Meeting",start:"2019-03-12T14:30:00"},{title:"Happy Hour",start:"2019-03-12T17:30:00"},{title:"Dinner",start:"2019-03-12T20:00:00"},{title:"Birthday Party",start:"2019-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2019-03-28"}]}),$.each($.fullCalendar.langs,function(t){$("#lang-selector").append($("<option/>").attr("value",t).prop("selected","en"==t).text(t))}),$("#lang-selector").on("change",function(){this.value&&$("#fc-languages").fullCalendar("option","lang",this.value)}),$("#fc-timezones").fullCalendar({height:"auto",header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2019-03-12",editable:!0,selectable:!0,eventLimit:!0,events:{url:"../../app-assets/data/fullcalendar/php/get-events.php",error:function(){$("#script-warning").show()}},loading:function(t){$("#loading").toggle(t)},eventRender:function(t,e){t.start.hasZone()&&e.find(".fc-title").after($('<div class="tzo"/>').text(t.start.format("Z")))},dayClick:function(t){console.log("dayClick",t.format())},select:function(t,e){console.log("select",t.format(),e.format())}}),$.getJSON("../../app-assets/data/fullcalendar/php/get-timezones.php",function(t){$.each(t,function(t,e){"UTC"!=e&&$("#timezone-selector").append($("<option/>").text(e).attr("value",e))})}),$("#timezone-selector").on("change",function(){$("#fc-timezones").fullCalendar("option","timezone",this.value||!1)})});