/*
 * EventoZilla - v1.4.1
 *
 * Copyright 2019-2024, LambertGroup
 *
 */

 (function(e){function I(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var b=navigator.userAgent,f=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=f.exec(b)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(b=navigator.userAgent,f=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=f.exec(b)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}function t(a){a=a.split("/");9>=a[1]&&(a[1]="0"+parseInt(a[1],10));return a[1]}function L(a,b){var f=a.split("/");f=new Date(parseInt(f[2],10),parseInt(f[0],
10)-1,parseInt(f[1],10),0,0,0);return b.longdays_arr[f.getDay()]}function B(a,b,f){a=a.split("/");a=new Date(parseInt(a[2],10),parseInt(a[0],10)-1,parseInt(a[1],10),0,0,0);a=f.eventDaysBgColors_arr[a.getDay()];0===b%2?""!=f.eventBgDayColor_even&&(a=f.eventBgDayColor_even):""!=f.eventBgDayColor_odd&&(a=f.eventBgDayColor_odd);return a}function M(a,b){var f=a.split("/");return parseInt(f[1],10)}function u(a,b,f){a=a.split("/");var n=parseInt(a[0],10);"initials"===f&&(n=b.shortmonth_arr[parseInt(a[0],
10)-1]);"full"===f&&(n=b.longmonth_arr[parseInt(a[0],10)-1]);return n}function y(a,b){var f=a.split("/");f=f[2].split("-");return parseInt(f[0],10)}function C(a,b){var f=a.split("/"),n,d="no hour defined";void 0!=f[2]&&(n=f[2].split("-"));void 0!=n[1]&&(f=n[1].split(":"),void 0!=f[0]&&(f[0]=parseInt(f[0],10),f[1]=1<f.length?parseInt(f[1],10):0),!1===b.use24HoursFormat?12<f[0]?d=f[0]-12+":"+(10>f[1]?"0"+f[1]:f[1])+" PM":(d=f[0]+":"+(10>f[1]?"0"+f[1]:f[1])+" AM",12==f[0]&&(d=f[0]+":"+(10>f[1]?"0"+f[1]:
f[1])+" PM")):d=f[0]+":"+(10>f[1]?"0"+f[1]:f[1]));return d}function D(a,b,f,n,d,p,c){f.empty();var l=!1,E=e(".date",d).children(),h=!1,m=0,x=new Date,v=x.getMonth()+1,F=x.getFullYear();x=x.getDate();var k=!1;for(var A,z,g=0;g<a.total_images;g++)if(h=!1,""==a.search_val||" "==a.search_val||a.search_val==b.searchInputText?u(a.playlist_arr[g].xstartdate,b,"number")===p&&y(a.playlist_arr[g].xstartdate,b)===c&&(h=!0):(k=a.playlist_arr[g].xtitle,k=k.toLowerCase(),-1!=k.indexOf(a.search_val)&&(h=!0)),a.min_year=
Math.min(a.min_year,y(a.playlist_arr[g].xstartdate,b)),a.max_year=Math.max(a.max_year,y(a.playlist_arr[g].xstartdate,b)),k=!1,y(a.playlist_arr[g].xenddate,b)<F?k=!0:y(a.playlist_arr[g].xenddate,b)===F&&(u(a.playlist_arr[g].xenddate,b,"number")<v?k=!0:u(a.playlist_arr[g].xenddate,b,"number")===v&&M(a.playlist_arr[g].xenddate,b)<x&&(k=!0)),!b.showEndedEvents&&k&&(h=!1),h){m++;l=!0;h="";""!=a.playlist_arr[g].xdresscode&&(h=b.dressCode+": <b>"+a.playlist_arr[g].xdresscode+"</b>");A="";A=b.showMonthFirstForDate?
A+(u(a.playlist_arr[g].xstartdate,b,"initials")+" "+t(a.playlist_arr[g].xstartdate)+", "+y(a.playlist_arr[g].xstartdate,b)+" ("+C(a.playlist_arr[g].xstartdate,b)+")"):A+(t(a.playlist_arr[g].xstartdate)+" "+u(a.playlist_arr[g].xstartdate,b,"initials")+" "+y(a.playlist_arr[g].xstartdate,b)+" ("+C(a.playlist_arr[g].xstartdate,b)+")");z=" - ";z=b.showMonthFirstForDate?z+(u(a.playlist_arr[g].xenddate,b,"initials")+" "+t(a.playlist_arr[g].xenddate)+", "+y(a.playlist_arr[g].xenddate,b)+" ("+C(a.playlist_arr[g].xenddate,
b)+")"):z+(t(a.playlist_arr[g].xenddate)+" "+u(a.playlist_arr[g].xenddate,b,"initials")+" "+y(a.playlist_arr[g].xenddate,b)+" ("+C(a.playlist_arr[g].xenddate,b)+")");b.showEndDate||(z="");h=e('<div class="lbg_evento_thumbsHolder_ThumbOFF" rel="'+m+'"><div class="day_of_the_week" style="color:'+b.eventDaysColor+";background-color:"+B(a.playlist_arr[g].xstartdate,m,b)+'">'+L(a.playlist_arr[g].xstartdate,b)+'</div><div class="lbg_evento_padding"><div class="lbg-event-fist-date">'+t(a.playlist_arr[g].xstartdate)+
'</div><div class="lbg-event-second-date">'+(t(a.playlist_arr[g].xstartdate)!=t(a.playlist_arr[g].xenddate)||t(a.playlist_arr[g].xstartdate)==t(a.playlist_arr[g].xenddate)&&u(a.playlist_arr[g].xstartdate,b,"number")!=u(a.playlist_arr[g].xenddate,b,"number")?"- "+t(a.playlist_arr[g].xenddate):"&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;")+'<br><span class="lbg-event-second-date-month">'+(t(a.playlist_arr[g].xstartdate)!=t(a.playlist_arr[g].xenddate)||t(a.playlist_arr[g].xstartdate)==t(a.playlist_arr[g].xenddate)&&
u(a.playlist_arr[g].xstartdate,b,"number")!=u(a.playlist_arr[g].xenddate,b,"number")?u(a.playlist_arr[g].xenddate,b,"initials"):"&nbsp;")+'</span></div><div class="lbg-event-title-and-details-area"><div class="lbg-event-title">'+a.playlist_arr[g].xtitle+'</div><div class="lbg-event-initial-details">'+A+z+"<br> "+a.playlist_arr[g].xaddress+'</div><div class="lbg_evento_dresscode">'+h+"</div></div></div>\x3c!--padding--\x3e</div>");f.append(h);h.css({"border-bottom-color":b.eventBottomBorderColor,"min-height":a.thumbOffHeight+
"px"});e(".day_of_the_week",d).height(a.thumbOffHeight);1===a.playlist_arr[g].xcancelled?(h.append('<div class="lbg_cancelled" style="height:'+a.thumbOffHeight+'px;"></div>'),h.append('<div class="event_cancelled_text">'+b.eventCancelledText+"</div>")):(k?h.append('<div class="event_ended_text">'+b.endedText+"</div>"):""!=a.playlist_arr[g].xbooknowlink&&h.append('<div class="event_booknow_text"><a href="'+a.playlist_arr[g].xbooknowlink+'" target="'+b.bookNowLinkTarget+'">'+b.bookNowText+"</a></div>"),
h.on("click",function(q){e(".lbg_event_all_details",this).slideToggle("slow",function(){})}));k='<div class="lbg_event_all_details">';k=""!=a.playlist_arr[g].xmainimage?k+('<img src="'+a.playlist_arr[g].xmainimage+'" width="100%">'):k+'<p style="clear:both;margin:0;padding:0;height:1px;">&nbsp;</p>';k+='<div class="lbg_details_title"><span class="lbg_arrow far fa-arrow-alt-circle-right" style="color:'+B(a.playlist_arr[g].xstartdate,m,b)+'"></span> '+b.detailsTitle+'</div><div class="lbg_details_content">'+
a.playlist_arr[g].xdetails;k+='</div><div class="lbg_details_title"><span class="lbg_arrow far fa-arrow-alt-circle-right" style="color:'+B(a.playlist_arr[g].xstartdate,m,b)+'"></span> '+b.whenWhereTitle+'</div><div class="lbg_details_content">&#8226; '+A+z+"<br>&#8226; "+a.playlist_arr[g].xaddress+"</div>";if(""!=a.playlist_arr[g].xorganizer_logo||""!=a.playlist_arr[g].xorganizer_info)k+='<div class="lbg_details_title"><span class="lbg_arrow far fa-arrow-alt-circle-right" style="color:'+B(a.playlist_arr[g].xstartdate,
m,b)+'"></span> '+b.organizerTitle+"</div>";k+='<div class="lbg_details_content lbg_xorganizer">';""!=a.playlist_arr[g].xorganizer_logo&&(k+='<img src="'+a.playlist_arr[g].xorganizer_logo+'" hspace="20" class="lbg_organizer_logo">');k+='<p class="lbg_organizer_info">'+a.playlist_arr[g].xorganizer_info+"</p></div>";k+='<div class="lbg_socials" style="background-color:'+B(a.playlist_arr[g].xstartdate,m,b)+'"><ul>';b.showFacebookBut&&(k+='<li><a href="javascript:void(0);" class="fab fa-facebook-f lbg_evento_fb" rel="'+
g+'" style="color:'+(0===(m+1)%2?b.socialIconsColor_even:b.socialIconsColor_odd)+'"></a></li>');b.showTwitterBut&&(k+='<li><a href="javascript:void(0);" class="fab fa-twitter lbg_evento_twitter" rel="'+g+'" style="color:'+(0===(m+1)%2?b.socialIconsColor_even:b.socialIconsColor_odd)+'"></a></li>');b.showPinterestBut&&(k+='<li><a href="#" class="fab fa-pinterest-p lbg_evento_pinterest" rel="'+g+'" style="color:'+(0===(m+1)%2?b.socialIconsColor_even:b.socialIconsColor_odd)+'"></a></li>');k+="</ul></div></div>";
h.append(k);a.fullCalendarOnLeft&&E.each(function(){parseInt(e(this).html(),10)!==parseInt(t(a.playlist_arr[g].xstartdate),10)||e(this).parent().hasClass("pm")||e(this).parent().hasClass("nm")||e(this).parent().addClass("selected")});0==a.lbgEventFistDate_min_width&&(a.lbgEventFistDate_min_width=parseInt(e(".lbg-event-fist-date",h).css("min-width"),10),b.lbgEventFistDate_min_width=a.lbgEventFistDate_min_width);e(".event_booknow_text",h).css({color:b.eventDaysColor,"background-color":B(a.playlist_arr[g].xstartdate,
m,b)});e(".event_booknow_text a",h).css({color:b.eventDaysColor});k=B(a.playlist_arr[g].xstartdate,m,b);0===m%2?(""!=b.eventBackgroundColor_even&&(k=b.eventBackgroundColor_even),h.css({"background-color":k}),e(".lbg-event-fist-date",h).css({color:b.eventDateColor_even,"font-size":a.eventFirstDateFontSize*a.reductionPercent+"px","line-height":a.eventFirstDateFontSize*a.reductionPercent+"px","min-width":a.lbgEventFistDate_min_width*a.reductionPercent+"px"}),e(".lbg-event-second-date",h).css({color:b.eventDateColor_even,
"font-size":a.eventSecondDateFontSize*a.reductionPercent+"px","line-height":2*a.reductionPercent}),e(".lbg-event-second-date-month",h).css({color:b.eventDateColor_even,"font-size":a.eventSecondDateMonthFontSize*a.reductionPercent+"px","line-height":0}),e(".lbg-event-title",h).css({color:b.eventTitleColor_even,"font-size":a.eventTitleFontSize*a.reductionPercent+"px","line-height":1.3*a.reductionPercent}),e(".lbg-event-initial-details",h).css({color:b.eventInitialDetailsColor_even,"font-size":b.eventInitialDetailsFontSize*
a.reductionPercent+"px","line-height":1.5*a.reductionPercent}),e(".lbg_evento_dresscode",h).css({color:b.dressCodeColor_even,"font-size":b.dressCodeFontSize*a.reductionPercent+"px"})):(""!=b.eventBackgroundColor_odd&&(k=b.eventBackgroundColor_odd),h.css({"background-color":k}),e(".lbg-event-fist-date",h).css({color:b.eventDateColor_odd,"font-size":a.eventFirstDateFontSize*a.reductionPercent+"px","line-height":a.eventFirstDateFontSize*a.reductionPercent+"px","min-width":a.lbgEventFistDate_min_width*
a.reductionPercent+"px"}),e(".lbg-event-second-date",h).css({color:b.eventDateColor_odd,"font-size":a.eventSecondDateFontSize*a.reductionPercent+"px","line-height":2*a.reductionPercent}),e(".lbg-event-second-date-month",h).css({color:b.eventDateColor_odd,"font-size":a.eventSecondDateMonthFontSize*a.reductionPercent+"px","line-height":0}),e(".lbg-event-title",h).css({color:b.eventTitleColor_odd,"font-size":a.eventTitleFontSize*a.reductionPercent+"px","line-height":1.3*a.reductionPercent}),e(".lbg-event-initial-details",
h).css({color:b.eventInitialDetailsColor_odd,"font-size":b.eventInitialDetailsFontSize*a.reductionPercent+"px","line-height":1.5*a.reductionPercent}),e(".lbg_evento_dresscode",h).css({color:b.dressCodeColor_odd,"font-size":b.dressCodeFontSize*a.reductionPercent+"px"}))}l?e(".lbg_evento_thumbsHolder_ThumbOFF[rel="+m+"]",d).css({"border-bottom-width":"0px"}):(f.append('<div class="no_events">'+b.noEventsAvailableText+"</div>"),b.showMonthsWithoutEvents||""!=a.search_val&&" "!=a.search_val&&a.search_val!=
b.searchInputText||0==a.prev_year||(a.prev_month<p&&a.prev_year==a.cur_year||12==a.prev_month&&1==p?c<=a.max_year&&(c!=a.max_year||12!=p)&&setTimeout(function(){e(".calendar-next",d).click()},10):c>=a.min_year&&(c!=a.min_year||1!=p)&&setTimeout(function(){e(".calendar-prev",d).click()},10)));e(".lbg_evento_padding",d).css({"padding-top":b.eventsListVerticalPadding*a.reductionPercent+"px","padding-left":b.eventsListHorizontalPadding*a.reductionPercent+"px","padding-right":b.eventsListHorizontalPadding*
a.reductionPercent+"px"});e(".lbg-event-title-and-details-area",d).width(f.width()-e(".day_of_the_week",d).width()-e(".lbg-event-fist-date",d).width()-e(".lbg-event-second-date",d).width()-a.eventTitleLeftMargin-2*b.eventsListHorizontalPadding-a.fiTolerance);e(".lbg-event-title-and-details-area",d).css({"padding-left":a.eventTitleLeftMargin+"px"});a.fullCalendarOnLeft&&(f.css({"border-bottom-color":"transparent"}),f.height()>=a.fullCalendarOnLeftMinHeight?n.height(f.height()):(n.height(a.fullCalendarOnLeftMinHeight),
l||f.css({"border-bottom-color":b.eventBottomBorderColor})));e(".date",d).css({color:b.leftSideCalendarDaysColor});e(".pm",d).css({color:b.leftSideCalendarPastMonthDaysColor});e(".nm",d).css({color:b.leftSideCalendarNextMonthDaysColor});e(".current",d).removeClass("selected");e(".current a",d).css({color:b.leftSideCalendarCurrentDayColor});e(".selected a",d).css({color:b.leftSideCalendarEventDaysColor,"border-color":b.leftSideCalendarEventDaysBgColor,"background-color":b.leftSideCalendarEventDaysBgColor});
e(".calendar-labels span",d).css({color:b.leftSideCalendarDaysNameColor});e(".calendar-curr-month",d).css({color:b.monthColor});e(".lbg_evento_calendar-curr-year",d).css({color:b.yearColor});e(".lbg_evento_calendar-hr",d).css({"border-color":b.monthYearLineSeparatorColor,"background-color":b.monthYearLineSeparatorColor});jQuery(".lbg_calendar",d).css({top:n.height()-jQuery(".lbg_calendar",d).height()+"px"});jQuery(".calendar-curr-month",d).css({top:-1*jQuery(".calendar-curr-month",d).height()-a.additionalTop+
"px"});jQuery(".calendar-next",d).css({top:-1*n.height()+jQuery(".lbg_calendar",d).height()+10+"px",color:b.monthsNextPrevArrowsColor});jQuery(".calendar-next",d).html('<i class="far fa-caret-square-right fa_1x"></i>');jQuery(".calendar-prev",d).css({top:-1*n.height()+jQuery(".lbg_calendar",d).height()+10+"px",color:b.monthsNextPrevArrowsColor});jQuery(".calendar-prev",d).html('<i class="far fa-caret-square-left fa_1x"></i>');if(b.showFacebookBut)jQuery(".lbg_evento_fb",d).on("click",function(q){var r=
parseInt(this.getAttribute("rel"),10);q=a.playlist_arr[r].xmoreinfolink;r=a.playlist_arr[r].xmainimage;var w=window.location.pathname.split("/");-1==r.indexOf("http://")&&-1==r.indexOf("https://")&&(-1!=w[w.length-1].indexOf(".")&&w.pop(),w.join("/"));""==q&&(q=document.URL);window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURI(q)+"&display=popup&ref=plugin&src=like&kid_directed_site=0","Request Song","status = 1, left = 430, top = 170, height = 600, width = 800, resizable = 0")});
if(b.showTwitterBut)jQuery(".lbg_evento_twitter",d).on("click",function(q){var r=parseInt(this.getAttribute("rel"),10);q=a.playlist_arr[r].xtitle;var w=a.playlist_arr[r].xdetails;r=a.playlist_arr[r].xmoreinfolink;""==r&&(r=document.URL);q="https://twitter.com/intent/tweet?url="+encodeURI(r)+"&text="+encodeURI(q)+": "+encodeURI(J(w,140));TwitterWindow=window.open(q,"TwitterWindow",width=600,height=300)});if(b.showPinterestBut)jQuery(".lbg_evento_pinterest",d).on("click",function(q){q=parseInt(this.getAttribute("rel"),
10);var r=a.playlist_arr[q].xmainimage,w=r,G=window.location.pathname.split("/"),K=window.location;""==a.playlist_arr[q].xmoreinfolink&&(K=a.playlist_arr[q].xmoreinfolink);-1==w.indexOf("http://")&&-1==w.indexOf("https://")&&(-1!=G[G.length-1].indexOf(".")&&G.pop(),w=window.location.protocol+"//"+window.location.host+G.join("/")+r);pinterest_title=a.playlist_arr[q].xtitle+": "+J(a.playlist_arr[q].xdetails,140);window.open("https://www.pinterest.com/pin/create/button/?url="+encodeURIComponent(K)+"&media="+
encodeURIComponent(w)+"&description="+encodeURIComponent(pinterest_title),"windowName","width=1000, height=700, left=24, top=24, scrollbars, resizable");return!1});e(".calendar-next",d).css({display:"block"});e(".calendar-prev",d).css({display:"block"});c==a.max_year&&12==p&&e(".calendar-next",d).css({display:"none"});c==a.min_year&&1==p&&e(".calendar-prev",d).css({display:"none"})}function H(a,b,f,n,d){a.fullCalendarOnLeft?(e(".calendar-curr-month",d).css({"pointer-events":"auto"}),f.height(a.fullCalendarOnLeftMinHeight),
n.height()>a.fullCalendarOnLeftMinHeight&&f.height(n.height()),f.removeClass("lbg_evento_months_area_topVersion"),jQuery(".calendar-grid",d).removeClass("calendar-grid_topVersion"),jQuery(".calendar-top-selector",d).removeClass("calendar-top-selector_topVersion"),jQuery(".calendar-wrapper",d).removeClass("calendar-wrapper_topVersion"),jQuery(".calendar-next",d).removeClass("calendar-next_topVersion"),jQuery(".calendar-prev",d).removeClass("calendar-prev_topVersion"),jQuery(".lbg_filter_icon",d).removeClass("lbg_filter_icon_topVersion"),
jQuery(".lbg_search_term",d).removeClass("lbg_search_term_topVersion"),jQuery(".calendar-curr-month",d).removeClass("calendar-curr-month_topVersion"),jQuery(".lbg_evento_calendar-hr",d).removeClass("lbg_evento_calendar-hr_topVersion"),jQuery(".lbg_evento_calendar-curr-year",d).removeClass("lbg_evento_calendar-curr-year_topVersion")):(e(".calendar-curr-month",d).css({"pointer-events":"none"}),f.height(a.fullCalendarOnTopMinHeight),f.addClass("lbg_evento_months_area_topVersion"),jQuery(".calendar-grid",
d).addClass("calendar-grid_topVersion"),jQuery(".calendar-top-selector",d).addClass("calendar-top-selector_topVersion"),jQuery(".calendar-wrapper",d).addClass("calendar-wrapper_topVersion"),jQuery(".calendar-next",d).addClass("calendar-next_topVersion"),jQuery(".calendar-prev",d).addClass("calendar-prev_topVersion"),jQuery(".lbg_filter_icon",d).addClass("lbg_filter_icon_topVersion"),jQuery(".lbg_search_term",d).addClass("lbg_search_term_topVersion"),jQuery(".calendar-curr-month",d).addClass("calendar-curr-month_topVersion"),
jQuery(".lbg_evento_calendar-hr",d).addClass("lbg_evento_calendar-hr_topVersion"),jQuery(".lbg_evento_calendar-curr-year",d).addClass("lbg_evento_calendar-curr-year_topVersion"))}function J(a,b){a=String(a);var f="";if(a.length>b){a=a.substring(0,b);var n=a.split(" ");var d=a.substring(b-2,b-1);""!=d&&(n.pop(),f="...");a=n.join(" ")}return a+f}navigator.userAgent.toLowerCase();e.lbg_evento={version:"1.0"};e.fn.lbg_evento=function(a){a=e.extend({},e.fn.lbg_evento.defaults,a);I();return this.each(function(){var b=
e(this),f=I(),n=e('<div class="lbg_evento_months_area"><div class="lbg_calendar"></div><div class="lbg_filter_icon"></div><input class="lbg_search_term" type="text" value="search..." /></div><div class="lbg_evento_days_area"></div>');b.append(n);var d=e(".lbg_evento_months_area",b),p=e(".lbg_evento_days_area",b);n=e(".lbg_filter_icon",b);var c={width:a.width,months_area_width:a.months_area_width,days_area_width:0,playlist_arr:"",thumbOffHeight:a.thumbOffHeight,total_images:0,fiTolerance:20,cur_month:0,
cur_year:0,prev_month:0,prev_year:0,min_year:1E6,max_year:0,additionalTop:60,fullCalendarOnLeft:a.fullCalendarOnLeft,fullCalendarOnLeftMinHeight:450,fullCalendarOnTopMinHeight:58,windowWidth:e(window).width(),search_val:"",reductionPercent:1,lbgEventFistDate_min_width:0,eventFirstDateFontSize:a.eventFirstDateFontSize,eventSecondDateFontSize:a.eventSecondDateFontSize,eventSecondDateMonthFontSize:a.eventSecondDateMonthFontSize,eventTitleFontSize:a.eventTitleFontSize,eventTitleLeftMargin:a.eventTitleLeftMargin};
e(".lbg_search_term",b).width(d.width()-30);e(".lbg_search_term",b).val(a.searchInputText);n.on("click",function(m){e(".lbg_search_term",b).toggle(800)});e(".lbg_search_term",b).on("click",function(m){e(".lbg_search_term",b).val("")});e(".lbg_search_term",b).on("input",function(){c.search_val=e(this).val().toLowerCase();H(c,a,d,p,b);D(c,a,p,d,b,c.cur_month,c.cur_year)});c.fullCalendarOnLeft?(c.months_area_width=a.months_area_width,c.days_area_width=c.width-c.months_area_width):(c.months_area_width=
c.width,c.days_area_width=c.width);b.width(c.width);d.width(c.months_area_width);p.width(c.days_area_width);e.lbg_evento.calendarNextMonth=function(m,x,v,F,k){if(c.min_year<=x&&x<=c.max_year){v=jQuery("#"+v);var A=jQuery(".lbg_evento_months_area",v),z=jQuery(".lbg_evento_days_area",v);c=k;m++;jQuery(".lbg_search_term",v).val(a.searchInputText);jQuery(".lbg_search_term",v).css({display:"none"});c.search_val="";c.fullCalendarOnLeft||(jQuery(".lbg_evento_calendar-hr",v).addClass("lbg_evento_calendar-hr_topVersion"),
jQuery(".lbg_evento_calendar-curr-year",v).addClass("lbg_evento_calendar-curr-year_topVersion"));c.prev_month=c.cur_month;c.prev_year=c.cur_year;c.cur_month=m;c.cur_year=x;D(c,F,z,A,v,m,x)}};d.css({"background-color":a.months_area_color});a.centerPlugin&&b.css({margin:"0 auto"});jQuery(".lbg_calendar",b).dcalendar({theme:"blue",lbgInstanceName:b.attr("id"),lbgOptions:a,lbgCurrent_obj:c});e(".lbg_xeventslist",b).css({display:"none"});c.playlist_arr=[];var l;e(".lbg_xeventslist",b).children().each(function(){l=
e(this);c.total_images++;c.playlist_arr[c.total_images-1]=[];c.playlist_arr[c.total_images-1].xtitle="";c.playlist_arr[c.total_images-1].xstartdate="";c.playlist_arr[c.total_images-1].xenddate="";c.playlist_arr[c.total_images-1].xaddress="";c.playlist_arr[c.total_images-1].xmainimage="";c.playlist_arr[c.total_images-1].xdetails="";c.playlist_arr[c.total_images-1].xbooknowlink="";c.playlist_arr[c.total_images-1].xorganizer_logo="";c.playlist_arr[c.total_images-1].xorganizer_info="";c.playlist_arr[c.total_images-
1].xmoreinfolink="";c.playlist_arr[c.total_images-1].xdresscode="";c.playlist_arr[c.total_images-1].xcancelled="";null!=l.find(".xtitle").html()&&(c.playlist_arr[c.total_images-1].xtitle=l.find(".xtitle").html());null!=l.find(".xstartdate").html()&&(c.playlist_arr[c.total_images-1].xstartdate=l.find(".xstartdate").html());null!=l.find(".xenddate").html()&&(c.playlist_arr[c.total_images-1].xenddate=l.find(".xenddate").html());null!=l.find(".xaddress").html()&&(c.playlist_arr[c.total_images-1].xaddress=
l.find(".xaddress").html());null!=l.find(".xmainimage").html()&&(c.playlist_arr[c.total_images-1].xmainimage=l.find(".xmainimage").html());null!=l.find(".xdetails").html()&&(c.playlist_arr[c.total_images-1].xdetails=l.find(".xdetails").html());null!=l.find(".xbooknowlink").html()&&(c.playlist_arr[c.total_images-1].xbooknowlink=l.find(".xbooknowlink").html());null!=l.find(".xorganizer_logo").html()&&(c.playlist_arr[c.total_images-1].xorganizer_logo=l.find(".xorganizer_logo").html());null!=l.find(".xorganizer_info").html()&&
(c.playlist_arr[c.total_images-1].xorganizer_info=l.find(".xorganizer_info").html());null!=l.find(".xmoreinfolink").html()&&(c.playlist_arr[c.total_images-1].xmoreinfolink=l.find(".xmoreinfolink").html());null!=l.find(".xdresscode").html()&&(c.playlist_arr[c.total_images-1].xdresscode=l.find(".xdresscode").html());null!=l.find(".xcancelled").html()&&(c.playlist_arr[c.total_images-1].xcancelled=parseInt(l.find(".xcancelled").html(),10))});H(c,a,d,p,b);n=new Date;c.cur_month=n.getMonth()+1;c.cur_year=
n.getFullYear();D(c,a,p,d,b,c.cur_month,c.cur_year);var E=function(){var m=b.parent().width();m!=c.width&&(c.width=m<a.width?m:a.width,c.reductionPercent=1,c.fiTolerance=20,640>=c.width?c.fullCalendarOnLeft=!1:a.fullCalendarOnLeft&&(c.fullCalendarOnLeft=!0),c.fullCalendarOnLeft?(c.months_area_width=a.months_area_width,c.days_area_width=c.width-c.months_area_width):(c.months_area_width=c.width,c.days_area_width=c.width),c.eventFirstDateFontSize=a.eventFirstDateFontSize,c.eventSecondDateFontSize=a.eventSecondDateFontSize,
c.lbgEventFistDate_min_width=a.lbgEventFistDate_min_width,c.eventTitleFontSize=a.eventTitleFontSize,c.eventTitleLeftMargin=a.eventTitleLeftMargin,c.eventSecondDateMonthFontSize=a.eventSecondDateMonthFontSize,c.thumbOffHeight=a.thumbOffHeight,d.removeClass("lbg_evento_months_area_topVersion_460"),d.removeClass("lbg_evento_months_area_topVersion_285"),jQuery(".calendar-curr-month",b).removeClass("calendar-curr-month_topVersion_285"),460>=c.width&&(c.reductionPercent=.9,c.fiTolerance=5,d.addClass("lbg_evento_months_area_topVersion_460")),
330>=c.width&&(c.reductionPercent=.8,c.fiTolerance=2),285>=c.width&&(c.reductionPercent=.8,c.eventFirstDateFontSize=23,c.lbgEventFistDate_min_width=26,c.eventSecondDateFontSize=16,c.eventSecondDateMonthFontSize=10,c.eventTitleFontSize=20,c.eventTitleLeftMargin=8,c.fiTolerance=2,c.thumbOffHeight=150,jQuery(".calendar-curr-month",b).addClass("calendar-curr-month_topVersion_285"),d.addClass("lbg_evento_months_area_topVersion_285")),b.width(c.width),d.width(c.months_area_width),p.width(c.days_area_width),
e(".lbg-event-title-and-details-area",b).width(p.width()-e(".day_of_the_week",b).width()-e(".lbg-event-fist-date",b).width()-e(".lbg-event-second-date",b).width()-c.eventTitleLeftMargin-2*a.eventsListHorizontalPadding-c.fiTolerance),H(c,a,d,p,b),0===c.prev_year&&(c.prev_year=c.cur_year,c.prev_month=-1),D(c,a,p,d,b,c.cur_month,c.cur_year))},h=!1;e(window).on("resize",function(){var m=!0;-1!=f&&9==f&&0==c.windowWidth&&(m=!1);c.windowWidth==e(window).width()?(m=!1,a.windowCurOrientation!=window.orientation&&
-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,m=!0)):c.windowWidth=e(window).width();m&&(!1!==h&&clearTimeout(h),h=setTimeout(function(){E()},300))});E()})};e.fn.lbg_evento.defaults={width:720,months_area_width:170,months_area_color:"#ffffff",centerPlugin:!0,eventsListVerticalPadding:20,eventsListHorizontalPadding:10,eventTitleLeftMargin:15,eventFirstDateFontSize:92,eventSecondDateFontSize:20,eventSecondDateMonthFontSize:13,eventTitleFontSize:27,eventInitialDetailsFontSize:14,
eventBottomBorderColor:"#CCCCCC",eventBackgroundColor_odd:"#ffffff",eventBackgroundColor_even:"#ebebeb",eventBgDayColor_odd:"#da0000",eventBgDayColor_even:"#000000",eventDateColor_odd:"#444444",eventDateColor_even:"#444444",eventTitleColor_odd:"#444444",eventTitleColor_even:"#444444",eventInitialDetailsColor_odd:"#444444",eventInitialDetailsColor_even:"#444444",dressCode:"Dress code",dressCodeFontSize:13,dressCodeColor_odd:"#808080",dressCodeColor_even:"#808080",socialIconsColor_odd:"#000000",socialIconsColor_even:"#FFFFFF",
shortmonth_arr:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),longmonth_arr:"January February March April May June July August September October November December".split(" "),longdays_arr:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),eventDaysBgColors_arr:"#fff000 #00ffe0 #ff780a #c96bb6 #00ff36 #ff00a8 #008aff".split(" "),eventDaysColor:"#FFFFFF",use24HoursFormat:!1,noEventsAvailableText:"No event available for this month",eventCancelledText:"Cancelled",fullCalendarOnLeft:!0,
leftSideCalendarDaysColor:"#707275",leftSideCalendarPastMonthDaysColor:"#aaaaaa",leftSideCalendarNextMonthDaysColor:"#aaaaaa",leftSideCalendarCurrentDayColor:"#00ffe0",leftSideCalendarEventDaysColor:"#0000CC",leftSideCalendarEventDaysBgColor:"#00ffe0",leftSideCalendarDaysNameColor:"#000000",yearColor:"#a3a3a3",monthColor:"#444444",monthYearLineSeparatorColor:"#da0000",monthsNextPrevArrowsColor:"#d1d1d1",detailsTitle:"Details",whenWhereTitle:"When & Where",organizerTitle:"Organizer",moreDetailsText:"more details here",
moreDetailsTarget:"_blank",showFacebookBut:!0,showTwitterBut:!0,showPinterestBut:!0,searchInputText:"search...",bookNowText:"Book Now",bookNowLinkTarget:"_self",endedText:"Ended",facebookAppID:"",lbgEventFistDate_min_width:0,thumbOffHeight:165,showEndDate:!0,showMonthFirstForDate:!0,showEndedEvents:!0,showMonthsWithoutEvents:!0}})(jQuery);
