function trackInternalLink(n,t,i,r){try{_gaq.push(["_trackEvent",i,t,r])}catch(u){}setTimeout(function(){document.location.href=n.href},100)}function trackPageEvent(n,t,i,r){try{_gaq.push(["_trackEvent",i,t,r])}catch(u){}}function initMap(n){EQTR.loadGoogleMapApi(function(){function t(n){var t=this,i;t.latLng_=n.position;t.icon_=n.icon;t.image_=n.image;t.map_=n.map;t.markerSrc_=n.markerSrc;t.markerClass_=n.markerType?n.markerType+"-marker":"";t.div_=null;i=new Image;i.onload=function(){t.width_=i.width;t.height_=i.height;t.backgroundImage_=i.src;t.setMap(t.map_)};i.src=t.markerSrc_}function e(n,t){u.setContent('<div class="google-maps-infowindow">'+n+"<\/div>");u.open(r,t)}var i,u;t.prototype=new google.maps.OverlayView;t.prototype.onAdd=function(){var n=this,t=document.createElement("div"),i;t.style.position="absolute";t.innerHTML=n.image_?'<div class="google-hotel-icon"><img alt="" src="'+n.image_+'" /><\/div>':'<div class="google-hotel-icon"><span class="icon '+n.icon_+'"><\/span><\/div>';n.markerClass_&&(t.className=n.markerClass_);n.div_=t;t.style.width=n.width_+"px";t.style.height=n.height_+"px";t.style.backgroundImage='url("'+n.backgroundImage_+'")';t.style.zIndex=0;i=n.getPanes();i.overlayMouseTarget.appendChild(t);google.maps.event.addDomListener(t,"click",function(){google.maps.event.trigger(n,"click")})};t.prototype.draw=function(){var i=this.getProjection(),n=i.fromLatLngToDivPixel(this.latLng_),t=this.div_;t.style.left=n.x-this.width_/2+"px";t.style.top=n.y-this.height_+"px"};t.prototype.onRemove=function(){this.div_.style.background="none";this.div_.parentNode.removeChild(this.div_);this.div_=null};i=new google.maps.LatLng(n.Lat,n.Lng);styles={paledawn:[{featureType:"water",stylers:[{visibility:"on"},{color:"#acbcc9"}]},{featureType:"landscape",stylers:[{color:"#f2e5d4"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#c5c6c6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#e4d7c6"}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#fbfaf7"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#c5dac6"}]},{featureType:"administrative",stylers:[{visibility:"on"},{lightness:33}]},{featureType:"road"},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"},{lightness:20}]},{},{featureType:"road",stylers:[{lightness:20}]}],subtlegray:[{featureType:"landscape",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",stylers:[{saturation:-100},{lightness:51},{visibility:"simplified"}]},{featureType:"road.highway",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"road.arterial",stylers:[{saturation:-100},{lightness:30},{visibility:"on"}]},{featureType:"road.local",stylers:[{saturation:-100},{lightness:40},{visibility:"on"}]},{featureType:"transit",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"administrative.province",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"},{lightness:-25},{saturation:-100}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]}],greyscale:[{featureType:"all",stylers:[{saturation:-100},{gamma:.7}]},{featureType:"poi.business",elementType:"all",stylers:[{hue:"#ffffff"},{saturation:-100},{lightness:100},{visibility:"off"}]}]};var o=$(document).width()>480?!0:!1,s={zoom:n.Zoom,center:i,mapTypeId:google.maps.MapTypeId.ROADMAP,styles:styles.greyscale,draggable:o,scrollwheel:!1},f=document.getElementById(n.Map||"map"),h=$(f).closest(".page-content"),r=new google.maps.Map(f,s),c={icon:n.Logo,image:n.Image,map:r,position:i,markerType:n.MarkerType,markerSrc:n.MarkerType=="restaurant"?"/assets/images/map/restaurantIcon.png":"/assets/images/map/roccoHotelIcon.png"},l=new t(c);google.maps.event.addListener(l,"click",function(){});u=new google.maps.InfoWindow;$(".favourite",h).each(function(){var u=$(this).data("geocoords"),t=$(this),f=$(this).scrollParent();if(u&&u.match(/(.*);(.*)/)){var s=new google.maps.LatLng(RegExp.$1,RegExp.$2),o=$("h3",this).text(),n=new google.maps.Marker({position:s,map:r,icon:"/assets/images/map/hotelFeatureIcon.png"});t.addClass("clickable");google.maps.event.addListener(n,"click",function(){e(o,n);f.stop().animate({scrollTop:f.scrollTop()+t.offset().top})});t.click(function(){var t=new google.maps.LatLngBounds;t.extend(i);t.extend(n.getPosition());r.fitBounds(t);e(o,n)})}})})}(function(n,t){function i(t,i){var u,f,e,o=t.nodeName.toLowerCase();return"area"===o?(u=t.parentNode,f=u.name,t.href&&f&&"map"===u.nodeName.toLowerCase()?(e=n("img[usemap=#"+f+"]")[0],!!e&&r(e)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&r(t)}function r(t){return n.expr.filters.visible(t)&&!n(t).parents().addBack().filter(function(){return"hidden"===n.css(this,"visibility")}).length}var u=0,f=/^ui-id-\d+$/;n.ui=n.ui||{};n.extend(n.ui,{version:"1.10.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});n.fn.extend({focus:function(t){return function(i,r){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){n(t).focus();r&&r.call(t)},i)}):t.apply(this,arguments)}}(n.fn.focus),scrollParent:function(){var t;return t=n.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(n.css(this,"position"))&&/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?n(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var u,f,r=n(this[0]);r.length&&r[0]!==document;){if(u=r.css("position"),("absolute"===u||"relative"===u||"fixed"===u)&&(f=parseInt(r.css("zIndex"),10),!isNaN(f)&&0!==f))return f;r=r.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})},removeUniqueId:function(){return this.each(function(){f.test(this.id)&&n(this).removeAttr("id")})}});n.extend(n.expr[":"],{data:n.expr.createPseudo?n.expr.createPseudo(function(t){return function(i){return!!n.data(i,t)}}):function(t,i,r){return!!n.data(t,r[3])},focusable:function(t){return i(t,!isNaN(n.attr(t,"tabindex")))},tabbable:function(t){var r=n.attr(t,"tabindex"),u=isNaN(r);return(u||r>=0)&&i(t,!u)}});n("<a>").outerWidth(1).jquery||n.each(["Width","Height"],function(i,r){function u(t,i,r,u){return n.each(o,function(){i-=parseFloat(n.css(t,"padding"+this))||0;r&&(i-=parseFloat(n.css(t,"border"+this+"Width"))||0);u&&(i-=parseFloat(n.css(t,"margin"+this))||0)}),i}var o="Width"===r?["Left","Right"]:["Top","Bottom"],f=r.toLowerCase(),e={innerWidth:n.fn.innerWidth,innerHeight:n.fn.innerHeight,outerWidth:n.fn.outerWidth,outerHeight:n.fn.outerHeight};n.fn["inner"+r]=function(i){return i===t?e["inner"+r].call(this):this.each(function(){n(this).css(f,u(this,i)+"px")})};n.fn["outer"+r]=function(t,i){return"number"!=typeof t?e["outer"+r].call(this,t):this.each(function(){n(this).css(f,u(this,t,!0,i)+"px")})}});n.fn.addBack||(n.fn.addBack=function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))});n("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(n.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,n.camelCase(i)):t.call(this)}}(n.fn.removeData));n.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());n.support.selectstart="onselectstart"in document.createElement("div");n.fn.extend({disableSelection:function(){return this.bind((n.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(n){n.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});n.extend(n.ui,{plugin:{add:function(t,i,r){var u,f=n.ui[t].prototype;for(u in r)f.plugins[u]=f.plugins[u]||[],f.plugins[u].push([i,r[u]])},call:function(n,t,i){var r,u=n.plugins[t];if(u&&n.element[0].parentNode&&11!==n.element[0].parentNode.nodeType)for(r=0;u.length>r;r++)n.options[u[r][0]]&&u[r][1].apply(n.element,i)}},hasScroll:function(t,i){if("hidden"===n(t).css("overflow"))return!1;var r=i&&"left"===i?"scrollLeft":"scrollTop",u=!1;return t[r]>0?!0:(t[r]=1,u=t[r]>0,t[r]=0,u)}})})(jQuery),function(n,t){function e(n,t,i){return[parseFloat(n[0])*(a.test(n[0])?t/100:1),parseFloat(n[1])*(a.test(n[1])?i/100:1)]}function r(t,i){return parseInt(n.css(t,i),10)||0}function v(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:n.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}n.ui=n.ui||{};var f,u=Math.max,i=Math.abs,o=Math.round,s=/left|center|right/,h=/top|center|bottom/,c=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,y=n.fn.position;n.position={scrollbarWidth:function(){if(f!==t)return f;var u,r,i=n("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'><\/div><\/div>"),e=i.children()[0];return n("body").append(i),u=e.offsetWidth,i.css("overflow","scroll"),r=e.offsetWidth,u===r&&(r=i[0].clientWidth),i.remove(),f=u-r},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),r=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),u="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,f="scroll"===r||"auto"===r&&t.height<t.element[0].scrollHeight;return{width:f?n.position.scrollbarWidth():0,height:u?n.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=n(t||window),r=n.isWindow(i[0]),u=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:r,isDocument:u,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:r?i.width():i.outerWidth(),height:r?i.height():i.outerHeight()}}};n.fn.position=function(t){if(!t||!t.of)return y.apply(this,arguments);t=n.extend({},t);var b,f,a,w,p,d,g=n(t.of),tt=n.position.getWithinInfo(t.within),it=n.position.getScrollInfo(tt),k=(t.collision||"flip").split(" "),nt={};return d=v(g),g[0].preventDefault&&(t.at="left top"),f=d.width,a=d.height,w=d.offset,p=n.extend({},w),n.each(["my","at"],function(){var i,r,n=(t[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):h.test(n[0])?["center"].concat(n):["center","center"]);n[0]=s.test(n[0])?n[0]:"center";n[1]=h.test(n[1])?n[1]:"center";i=c.exec(n[0]);r=c.exec(n[1]);nt[this]=[i?i[0]:0,r?r[0]:0];t[this]=[l.exec(n[0])[0],l.exec(n[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===t.at[0]?p.left+=f:"center"===t.at[0]&&(p.left+=f/2),"bottom"===t.at[1]?p.top+=a:"center"===t.at[1]&&(p.top+=a/2),b=e(nt.at,f,a),p.left+=b[0],p.top+=b[1],this.each(function(){var y,d,h=n(this),c=h.outerWidth(),l=h.outerHeight(),rt=r(this,"marginLeft"),ut=r(this,"marginTop"),ft=c+rt+r(this,"marginRight")+it.width,et=l+ut+r(this,"marginBottom")+it.height,s=n.extend({},p),v=e(nt.my,h.outerWidth(),h.outerHeight());"right"===t.my[0]?s.left-=c:"center"===t.my[0]&&(s.left-=c/2);"bottom"===t.my[1]?s.top-=l:"center"===t.my[1]&&(s.top-=l/2);s.left+=v[0];s.top+=v[1];n.support.offsetFractions||(s.left=o(s.left),s.top=o(s.top));y={marginLeft:rt,marginTop:ut};n.each(["left","top"],function(i,r){n.ui.position[k[i]]&&n.ui.position[k[i]][r](s,{targetWidth:f,targetHeight:a,elemWidth:c,elemHeight:l,collisionPosition:y,collisionWidth:ft,collisionHeight:et,offset:[b[0]+v[0],b[1]+v[1]],my:t.my,at:t.at,within:tt,elem:h})});t.using&&(d=function(n){var r=w.left-s.left,v=r+f-c,e=w.top-s.top,y=e+a-l,o={target:{element:g,left:w.left,top:w.top,width:f,height:a},element:{element:h,left:s.left,top:s.top,width:c,height:l},horizontal:0>v?"left":r>0?"right":"center",vertical:0>y?"top":e>0?"bottom":"middle"};c>f&&f>i(r+v)&&(o.horizontal="center");l>a&&a>i(e+y)&&(o.vertical="middle");o.important=u(i(r),i(v))>u(i(e),i(y))?"horizontal":"vertical";t.using.call(this,n,o)});h.offset(n.extend(s,{using:d}))})};n.ui.position={fit:{left:function(n,t){var h,e=t.within,r=e.isWindow?e.scrollLeft:e.offset.left,o=e.width,s=n.left-t.collisionPosition.marginLeft,i=r-s,f=s+t.collisionWidth-o-r;t.collisionWidth>o?i>0&&0>=f?(h=n.left+i+t.collisionWidth-o-r,n.left+=i-h):n.left=f>0&&0>=i?r:i>f?r+o-t.collisionWidth:r:i>0?n.left+=i:f>0?n.left-=f:n.left=u(n.left-s,n.left)},top:function(n,t){var h,o=t.within,r=o.isWindow?o.scrollTop:o.offset.top,e=t.within.height,s=n.top-t.collisionPosition.marginTop,i=r-s,f=s+t.collisionHeight-e-r;t.collisionHeight>e?i>0&&0>=f?(h=n.top+i+t.collisionHeight-e-r,n.top+=i-h):n.top=f>0&&0>=i?r:i>f?r+e-t.collisionHeight:r:i>0?n.top+=i:f>0?n.top-=f:n.top=u(n.top-s,n.top)}},flip:{left:function(n,t){var o,s,r=t.within,y=r.offset.left+r.scrollLeft,c=r.width,h=r.isWindow?r.scrollLeft:r.offset.left,l=n.left-t.collisionPosition.marginLeft,a=l-h,v=l+t.collisionWidth-c-h,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,f="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,e=-2*t.offset[0];0>a?(o=n.left+u+f+e+t.collisionWidth-c-y,(0>o||i(a)>o)&&(n.left+=u+f+e)):v>0&&(s=n.left-t.collisionPosition.marginLeft+u+f+e-h,(s>0||v>i(s))&&(n.left+=u+f+e))},top:function(n,t){var o,s,r=t.within,y=r.offset.top+r.scrollTop,a=r.height,h=r.isWindow?r.scrollTop:r.offset.top,v=n.top-t.collisionPosition.marginTop,c=v-h,l=v+t.collisionHeight-a-h,p="top"===t.my[1],u=p?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,e=-2*t.offset[1];0>c?(s=n.top+u+f+e+t.collisionHeight-a-y,n.top+u+f+e>c&&(0>s||i(c)>s)&&(n.top+=u+f+e)):l>0&&(o=n.top-t.collisionPosition.marginTop+u+f+e-h,n.top+u+f+e>l&&(o>0||l>i(o))&&(n.top+=u+f+e))}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments);n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments);n.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,r,u,f,e=document.getElementsByTagName("body")[0],o=document.createElement("div");t=document.createElement(e?"div":"body");r={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};e&&n.extend(r,{position:"absolute",left:"-1000px",top:"-1000px"});for(f in r)t.style[f]=r[f];t.appendChild(o);i=e||document.documentElement;i.insertBefore(t,i.firstChild);o.style.cssText="position: absolute; left: 10.7432222px;";u=n(o).offset().left;n.support.offsetFractions=u>10&&11>u;t.innerHTML="";i.removeChild(t)}()}(jQuery),function(n,t){function f(){this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._datepickerShowing=!1;this._inDialog=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};n.extend(this._defaults,this.regional[""]);this.dpDiv=e(n("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>"))}function e(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){n(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).removeClass("ui-datepicker-prev-hover");-1!==this.className.indexOf("ui-datepicker-next")&&n(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){n.datepicker._isDisabledDatepicker(u.inline?t.parent()[0]:u.input[0])||(n(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),n(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&n(this).addClass("ui-datepicker-next-hover"))})}function r(t,i){n.extend(t,i);for(var r in i)null==i[r]&&(t[r]=i[r]);return t}n.extend(n.ui,{datepicker:{version:"1.10.4"}});var u,i="datepicker";n.extend(f.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(n){return r(this._defaults,n||{}),this},_attachDatepicker:function(t,i){var r,f,u;r=t.nodeName.toLowerCase();f="div"===r||"span"===r;t.id||(this.uuid+=1,t.id="dp"+this.uuid);u=this._newInst(n(t),f);u.settings=n.extend({},i||{});"input"===r?this._connectDatepicker(t,u):f&&this._inlineDatepicker(t,u)},_newInst:function(t,i){var r=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:r,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?e(n("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>")):this.dpDiv}},_connectDatepicker:function(t,r){var u=n(t);r.append=n([]);r.trigger=n([]);u.hasClass(this.markerClassName)||(this._attachments(u,r),u.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(r),n.data(t,i,r),r.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var u,r,f,e=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove();e&&(i.append=n("<span class='"+this._appendClass+"'>"+e+"<\/span>"),t[o?"before":"after"](i.append));t.unbind("focus",this._showDatepicker);i.trigger&&i.trigger.remove();u=this._get(i,"showOn");("focus"===u||"both"===u)&&t.focus(this._showDatepicker);("button"===u||"both"===u)&&(r=this._get(i,"buttonText"),f=this._get(i,"buttonImage"),i.trigger=n(this._get(i,"buttonImageOnly")?n("<img/>").addClass(this._triggerClass).attr({src:f,alt:r,title:r}):n("<button type='button'><\/button>").addClass(this._triggerClass).html(f?n("<img/>").attr({src:f,alt:r,title:r}):r)),t[o?"before":"after"](i.trigger),i.trigger.click(function(){return n.datepicker._datepickerShowing&&n.datepicker._lastInput===t[0]?n.datepicker._hideDatepicker():n.datepicker._datepickerShowing&&n.datepicker._lastInput!==t[0]?(n.datepicker._hideDatepicker(),n.datepicker._showDatepicker(t[0])):n.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(n){if(this._get(n,"autoSize")&&!n.inline){var r,u,f,t,i=new Date(2009,11,20),e=this._get(n,"dateFormat");e.match(/[DM]/)&&(r=function(n){for(u=0,f=0,t=0;n.length>t;t++)n[t].length>u&&(u=n[t].length,f=t);return f},i.setMonth(r(this._get(n,e.match(/MM/)?"monthNames":"monthNamesShort"))),i.setDate(r(this._get(n,e.match(/DD/)?"dayNames":"dayNamesShort"))+20-i.getDay()));n.input.attr("size",this._formatDate(n,i).length)}},_inlineDatepicker:function(t,r){var u=n(t);u.hasClass(this.markerClassName)||(u.addClass(this.markerClassName).append(r.dpDiv),n.data(t,i,r),this._setDate(r,this._getDefaultDate(r),!0),this._updateDatepicker(r),this._updateAlternate(r),r.settings.disabled&&this._disableDatepicker(t),r.dpDiv.css("display","block"))},_dialogDatepicker:function(t,u,f,e,o){var h,c,l,a,v,s=this._dialogInst;return s||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=n("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),n("body").append(this._dialogInput),s=this._dialogInst=this._newInst(this._dialogInput,!1),s.settings={},n.data(this._dialogInput[0],i,s)),r(s.settings,e||{}),u=u&&u.constructor===Date?this._formatDate(s,u):u,this._dialogInput.val(u),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(c=document.documentElement.clientWidth,l=document.documentElement.clientHeight,a=document.documentElement.scrollLeft||document.body.scrollLeft,v=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+a,l/2-150+v]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),s.settings.onSelect=f,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),n.blockUI&&n.blockUI(this.dpDiv),n.data(this._dialogInput[0],i,s),this},_destroyDatepicker:function(t){var r,u=n(t),f=n.data(t,i);u.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),n.removeData(t,i),"input"===r?(f.append.remove(),f.trigger.remove(),u.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===r||"span"===r)&&u.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var r,u,f=n(t),e=n.data(t,i);f.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),"input"===r?(t.disabled=!1,e.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===r||"span"===r)&&(u=f.children("."+this._inlineClass),u.children().removeClass("ui-state-disabled"),u.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}))},_disableDatepicker:function(t){var r,u,f=n(t),e=n.data(t,i);f.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),"input"===r?(t.disabled=!0,e.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===r||"span"===r)&&(u=f.children("."+this._inlineClass),u.children().addClass("ui-state-disabled"),u.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(n){if(!n)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===n)return!0;return!1},_getInst:function(t){try{return n.data(t,i)}catch(r){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(i,u,f){var o,c,s,h,e=this._getInst(i);return 2===arguments.length&&"string"==typeof u?"defaults"===u?n.extend({},n.datepicker._defaults):e?"all"===u?n.extend({},e.settings):this._get(e,u):null:(o=u||{},"string"==typeof u&&(o={},o[u]=f),e&&(this._curInst===e&&this._hideDatepicker(),c=this._getDateDatepicker(i,!0),s=this._getMinMaxDate(e,"min"),h=this._getMinMaxDate(e,"max"),r(e.settings,o),null!==s&&o.dateFormat!==t&&o.minDate===t&&(e.settings.minDate=this._formatDate(e,s)),null!==h&&o.dateFormat!==t&&o.maxDate===t&&(e.settings.maxDate=this._formatDate(e,h)),"disabled"in o&&(o.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(n(i),e),this._autoSize(e),this._setDate(e,c),this._updateAlternate(e),this._updateDatepicker(e)),t)},_changeDatepicker:function(n,t,i){this._optionDatepicker(n,t,i)},_refreshDatepicker:function(n){var t=this._getInst(n);t&&this._updateDatepicker(t)},_setDateDatepicker:function(n,t){var i=this._getInst(n);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(n,t){var i=this._getInst(n);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var u,e,f,i=n.datepicker._getInst(t.target),r=!0,o=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,n.datepicker._datepickerShowing)switch(t.keyCode){case 9:n.datepicker._hideDatepicker();r=!1;break;case 13:return f=n("td."+n.datepicker._dayOverClass+":not(."+n.datepicker._currentClass+")",i.dpDiv),f[0]&&n.datepicker._selectDay(t.target,i.selectedMonth,i.selectedYear,f[0]),u=n.datepicker._get(i,"onSelect"),u?(e=n.datepicker._formatDate(i),u.apply(i.input?i.input[0]:null,[e,i])):n.datepicker._hideDatepicker(),!1;case 27:n.datepicker._hideDatepicker();break;case 33:n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 34:n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&n.datepicker._clearDate(t.target);r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&n.datepicker._gotoToday(t.target);r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,o?1:-1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,-7,"D");r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,o?-1:1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,7,"D");r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?n.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(i){var r,u,f=n.datepicker._getInst(i.target);return n.datepicker._get(f,"constrainInput")?(r=n.datepicker._possibleChars(n.datepicker._get(f,"dateFormat")),u=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">u||!r||r.indexOf(u)>-1):t},_doKeyUp:function(t){var r,i=n.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{r=n.datepicker.parseDate(n.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,n.datepicker._getFormatConfig(i));r&&(n.datepicker._setDateFromField(i),n.datepicker._updateAlternate(i),n.datepicker._updateDatepicker(i))}catch(u){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=n("input",t.parentNode)[0]),!n.datepicker._isDisabledDatepicker(t)&&n.datepicker._lastInput!==t){var i,o,s,u,f,e,h;i=n.datepicker._getInst(t);n.datepicker._curInst&&n.datepicker._curInst!==i&&(n.datepicker._curInst.dpDiv.stop(!0,!0),i&&n.datepicker._datepickerShowing&&n.datepicker._hideDatepicker(n.datepicker._curInst.input[0]));o=n.datepicker._get(i,"beforeShow");s=o?o.apply(t,[t,i]):{};s!==!1&&(r(i.settings,s),i.lastVal=null,n.datepicker._lastInput=t,n.datepicker._setDateFromField(i),n.datepicker._inDialog&&(t.value=""),n.datepicker._pos||(n.datepicker._pos=n.datepicker._findPos(t),n.datepicker._pos[1]+=t.offsetHeight),u=!1,n(t).parents().each(function(){return u|="fixed"===n(this).css("position"),!u}),f={left:n.datepicker._pos[0],top:n.datepicker._pos[1]},n.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),n.datepicker._updateDatepicker(i),f=n.datepicker._checkOffset(i,f,u),i.dpDiv.css({position:n.datepicker._inDialog&&n.blockUI?"static":u?"fixed":"absolute",display:"none",left:f.left+"px",top:f.top+"px"}),i.inline||(e=n.datepicker._get(i,"showAnim"),h=n.datepicker._get(i,"duration"),i.dpDiv.zIndex(n(t).zIndex()+1),n.datepicker._datepickerShowing=!0,n.effects&&n.effects.effect[e]?i.dpDiv.show(e,n.datepicker._get(i,"showOptions"),h):i.dpDiv[e||"show"](e?h:null),n.datepicker._shouldFocusInput(i)&&i.input.focus(),n.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4;u=t;t.dpDiv.empty().append(this._generateHTML(t));this._attachHandlers(t);t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,r=this._getNumberOfMonths(t),f=r[1];t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");f>1&&t.dpDiv.addClass("ui-datepicker-multi-"+f).css("width",17*f+"em");t.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi");t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");t===n.datepicker._curInst&&n.datepicker._datepickerShowing&&n.datepicker._shouldFocusInput(t)&&t.input.focus();t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml);i=t.yearshtml=null},0))},_shouldFocusInput:function(n){return n.input&&n.input.is(":visible")&&!n.input.is(":disabled")&&!n.input.is(":focus")},_checkOffset:function(t,i,r){var u=t.dpDiv.outerWidth(),f=t.dpDiv.outerHeight(),h=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,e=document.documentElement.clientWidth+(r?0:n(document).scrollLeft()),s=document.documentElement.clientHeight+(r?0:n(document).scrollTop());return i.left-=this._get(t,"isRTL")?u-h:0,i.left-=r&&i.left===t.input.offset().left?n(document).scrollLeft():0,i.top-=r&&i.top===t.input.offset().top+o?n(document).scrollTop():0,i.left-=Math.min(i.left,i.left+u>e&&e>u?Math.abs(i.left+u-e):0),i.top-=Math.min(i.top,i.top+f>s&&s>f?Math.abs(f+o):0),i},_findPos:function(t){for(var i,r=this._getInst(t),u=this._get(r,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||n.expr.filters.hidden(t));)t=t[u?"previousSibling":"nextSibling"];return i=n(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var u,e,f,o,r=this._curInst;!r||t&&r!==n.data(t,i)||this._datepickerShowing&&(u=this._get(r,"showAnim"),e=this._get(r,"duration"),f=function(){n.datepicker._tidyDialog(r)},n.effects&&(n.effects.effect[u]||n.effects[u])?r.dpDiv.hide(u,n.datepicker._get(r,"showOptions"),e,f):r.dpDiv["slideDown"===u?"slideUp":"fadeIn"===u?"fadeOut":"hide"](u?e:null,f),u||f(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),n.blockUI&&(n.unblockUI(),n("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(n){n.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(n.datepicker._curInst){var i=n(t.target),r=n.datepicker._getInst(i[0]);(i[0].id===n.datepicker._mainDivId||0!==i.parents("#"+n.datepicker._mainDivId).length||i.hasClass(n.datepicker.markerClassName)||i.closest("."+n.datepicker._triggerClass).length||!n.datepicker._datepickerShowing||n.datepicker._inDialog&&n.blockUI)&&(!i.hasClass(n.datepicker.markerClassName)||n.datepicker._curInst===r)||n.datepicker._hideDatepicker()}},_adjustDate:function(t,i,r){var f=n(t),u=this._getInst(f[0]);this._isDisabledDatepicker(f[0])||(this._adjustInstDate(u,i+("M"===r?this._get(u,"showCurrentAtPos"):0),r),this._updateDatepicker(u))},_gotoToday:function(t){var r,u=n(t),i=this._getInst(u[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(r=new Date,i.selectedDay=r.getDate(),i.drawMonth=i.selectedMonth=r.getMonth(),i.drawYear=i.selectedYear=r.getFullYear());this._notifyChange(i);this._adjustDate(u)},_selectMonthYear:function(t,i,r){var f=n(t),u=this._getInst(f[0]);u["selected"+("M"===r?"Month":"Year")]=u["draw"+("M"===r?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10);this._notifyChange(u);this._adjustDate(f)},_selectDay:function(t,i,r,u){var f,e=n(t);n(u).hasClass(this._unselectableClass)||this._isDisabledDatepicker(e[0])||(f=this._getInst(e[0]),f.selectedDay=f.currentDay=n("a",u).html(),f.selectedMonth=f.currentMonth=i,f.selectedYear=f.currentYear=r,this._selectDate(t,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear)))},_clearDate:function(t){var i=n(t);this._selectDate(i,"")},_selectDate:function(t,i){var u,f=n(t),r=this._getInst(f[0]);i=null!=i?i:this._formatDate(r);r.input&&r.input.val(i);this._updateAlternate(r);u=this._get(r,"onSelect");u?u.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change");r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,r,u,f=this._get(t,"altField");f&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),r=this._getDate(t),u=this.formatDate(i,r,this._getFormatConfig(t)),n(f).each(function(){n(this).val(u)}))},noWeekends:function(n){var t=n.getDay();return[t>0&&6>t,""]},iso8601Week:function(n){var i,t=new Date(n.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),i=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((i-t)/864e5)/7)+1},parseDate:function(i,r,u){if(null==i||null==r)throw"Invalid arguments";if(r="object"==typeof r?""+r:r+"",""===r)return null;for(var v,y,f,e=0,p=(u?u.shortYearCutoff:null)||this._defaults.shortYearCutoff,g="string"!=typeof p?p:(new Date).getFullYear()%100+parseInt(p,10),nt=(u?u.dayNamesShort:null)||this._defaults.dayNamesShort,tt=(u?u.dayNames:null)||this._defaults.dayNames,it=(u?u.monthNamesShort:null)||this._defaults.monthNamesShort,rt=(u?u.monthNames:null)||this._defaults.monthNames,o=-1,h=-1,c=-1,w=-1,b=!1,a=function(n){var t=i.length>s+1&&i.charAt(s+1)===n;return t&&s++,t},l=function(n){var i=a(n),u="@"===n?14:"!"===n?20:"y"===n&&i?4:"o"===n?3:2,f=RegExp("^\\d{1,"+u+"}"),t=r.substring(e).match(f);if(!t)throw"Missing number at position "+e;return e+=t[0].length,parseInt(t[0],10)},d=function(i,u,f){var o=-1,s=n.map(a(i)?f:u,function(n,t){return[[t,n]]}).sort(function(n,t){return-(n[1].length-t[1].length)});if(n.each(s,function(n,i){var u=i[1];return r.substr(e,u.length).toLowerCase()===u.toLowerCase()?(o=i[0],e+=u.length,!1):t}),-1!==o)return o+1;throw"Unknown name at position "+e;},k=function(){if(r.charAt(e)!==i.charAt(s))throw"Unexpected literal at position "+e;e++},s=0;i.length>s;s++)if(b)"'"!==i.charAt(s)||a("'")?k():b=!1;else switch(i.charAt(s)){case"d":c=l("d");break;case"D":d("D",nt,tt);break;case"o":w=l("o");break;case"m":h=l("m");break;case"M":h=d("M",it,rt);break;case"y":o=l("y");break;case"@":f=new Date(l("@"));o=f.getFullYear();h=f.getMonth()+1;c=f.getDate();break;case"!":f=new Date((l("!")-this._ticksTo1970)/1e4);o=f.getFullYear();h=f.getMonth()+1;c=f.getDate();break;case"'":a("'")?k():b=!0;break;default:k()}if(r.length>e&&(y=r.substr(e),!/^\s+/.test(y)))throw"Extra/unparsed characters found in date: "+y;if(-1===o?o=(new Date).getFullYear():100>o&&(o+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g>=o?0:-100)),w>-1)for(h=1,c=w;;){if(v=this._getDaysInMonth(o,h-1),v>=c)break;h++;c-=v}if(f=this._daylightSavingAdjust(new Date(o,h-1,c)),f.getFullYear()!==o||f.getMonth()+1!==h||f.getDate()!==c)throw"Invalid date";return f},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(n,t,i){if(!t)return"";var u,h=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,c=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,f=function(t){var i=n.length>u+1&&n.charAt(u+1)===t;return i&&u++,i},e=function(n,t,i){var r=""+t;if(f(n))for(;i>r.length;)r="0"+r;return r},s=function(n,t,i,r){return f(n)?r[t]:i[t]},r="",o=!1;if(t)for(u=0;n.length>u;u++)if(o)"'"!==n.charAt(u)||f("'")?r+=n.charAt(u):o=!1;else switch(n.charAt(u)){case"d":r+=e("d",t.getDate(),2);break;case"D":r+=s("D",t.getDay(),h,c);break;case"o":r+=e("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":r+=e("m",t.getMonth()+1,2);break;case"M":r+=s("M",t.getMonth(),l,a);break;case"y":r+=f("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":r+=t.getTime();break;case"!":r+=1e4*t.getTime()+this._ticksTo1970;break;case"'":f("'")?r+="'":o=!0;break;default:r+=n.charAt(u)}return r},_possibleChars:function(n){for(var i="",r=!1,u=function(i){var r=n.length>t+1&&n.charAt(t+1)===i;return r&&t++,r},t=0;n.length>t;t++)if(r)"'"!==n.charAt(t)||u("'")?i+=n.charAt(t):r=!1;else switch(n.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":u("'")?i+="'":r=!0;break;default:i+=n.charAt(t)}return i},_get:function(n,i){return n.settings[i]!==t?n.settings[i]:this._defaults[i]},_setDateFromField:function(n,t){if(n.input.val()!==n.lastVal){var f=this._get(n,"dateFormat"),r=n.lastVal=n.input?n.input.val():null,u=this._getDefaultDate(n),i=u,e=this._getFormatConfig(n);try{i=this.parseDate(f,r,e)||u}catch(o){r=t?"":r}n.selectedDay=i.getDate();n.drawMonth=n.selectedMonth=i.getMonth();n.drawYear=n.selectedYear=i.getFullYear();n.currentDay=r?i.getDate():0;n.currentMonth=r?i.getMonth():0;n.currentYear=r?i.getFullYear():0;this._adjustInstDate(n)}},_getDefaultDate:function(n){return this._restrictMinMax(n,this._determineDate(n,this._get(n,"defaultDate"),new Date))},_determineDate:function(t,i,r){var f=function(n){var t=new Date;return t.setDate(t.getDate()+n),t},e=function(i){try{return n.datepicker.parseDate(n.datepicker._get(t,"dateFormat"),i,n.datepicker._getFormatConfig(t))}catch(h){}for(var o=(i.toLowerCase().match(/^c/)?n.datepicker._getDate(t):null)||new Date,f=o.getFullYear(),e=o.getMonth(),r=o.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,u=s.exec(i);u;){switch(u[2]||"d"){case"d":case"D":r+=parseInt(u[1],10);break;case"w":case"W":r+=7*parseInt(u[1],10);break;case"m":case"M":e+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e));break;case"y":case"Y":f+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e))}u=s.exec(i)}return new Date(f,e,r)},u=null==i||""===i?r:"string"==typeof i?e(i):"number"==typeof i?isNaN(i)?r:f(i):new Date(i.getTime());return u=u&&"Invalid Date"==""+u?r:u,u&&(u.setHours(0),u.setMinutes(0),u.setSeconds(0),u.setMilliseconds(0)),this._daylightSavingAdjust(u)},_daylightSavingAdjust:function(n){return n?(n.setHours(n.getHours()>12?n.getHours()+2:0),n):null},_setDate:function(n,t,i){var u=!t,f=n.selectedMonth,e=n.selectedYear,r=this._restrictMinMax(n,this._determineDate(n,t,new Date));n.selectedDay=n.currentDay=r.getDate();n.drawMonth=n.selectedMonth=n.currentMonth=r.getMonth();n.drawYear=n.selectedYear=n.currentYear=r.getFullYear();f===n.selectedMonth&&e===n.selectedYear||i||this._notifyChange(n);this._adjustInstDate(n);n.input&&n.input.val(u?"":this._formatDate(n))},_getDate:function(n){return!n.currentYear||n.input&&""===n.input.val()?null:this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay))},_attachHandlers:function(t){var r=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){n.datepicker._adjustDate(i,-r,"M")},next:function(){n.datepicker._adjustDate(i,+r,"M")},hide:function(){n.datepicker._hideDatepicker()},today:function(){n.datepicker._gotoToday(i)},selectDay:function(){return n.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return n.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return n.datepicker._selectMonthYear(i,this,"Y"),!1}};n(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(n){var b,s,rt,h,ut,k,ft,et,ri,c,ot,ui,fi,ei,oi,st,g,si,ht,nt,o,y,ct,p,lt,l,u,at,vt,yt,pt,tt,wt,i,bt,kt,d,a,it,dt=new Date,gt=this._daylightSavingAdjust(new Date(dt.getFullYear(),dt.getMonth(),dt.getDate())),f=this._get(n,"isRTL"),li=this._get(n,"showButtonPanel"),hi=this._get(n,"hideIfNoPrevNext"),ni=this._get(n,"navigationAsDateFormat"),e=this._getNumberOfMonths(n),ai=this._get(n,"showCurrentAtPos"),ci=this._get(n,"stepMonths"),ti=1!==e[0]||1!==e[1],ii=this._daylightSavingAdjust(n.currentDay?new Date(n.currentYear,n.currentMonth,n.currentDay):new Date(9999,9,9)),w=this._getMinMaxDate(n,"min"),v=this._getMinMaxDate(n,"max"),t=n.drawMonth-ai,r=n.drawYear;if(0>t&&(t+=12,r--),v)for(b=this._daylightSavingAdjust(new Date(v.getFullYear(),v.getMonth()-e[0]*e[1]+1,v.getDate())),b=w&&w>b?w:b;this._daylightSavingAdjust(new Date(r,t,1))>b;)t--,0>t&&(t=11,r--);for(n.drawMonth=t,n.drawYear=r,s=this._get(n,"prevText"),s=ni?this.formatDate(s,this._daylightSavingAdjust(new Date(r,t-ci,1)),this._getFormatConfig(n)):s,rt=this._canAdjustMonth(n,-1,r,t)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"e":"w")+"'>"+s+"<\/span><\/a>":hi?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"e":"w")+"'>"+s+"<\/span><\/a>",h=this._get(n,"nextText"),h=ni?this.formatDate(h,this._daylightSavingAdjust(new Date(r,t+ci,1)),this._getFormatConfig(n)):h,ut=this._canAdjustMonth(n,1,r,t)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+h+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"w":"e")+"'>"+h+"<\/span><\/a>":hi?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+h+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"w":"e")+"'>"+h+"<\/span><\/a>",k=this._get(n,"currentText"),ft=this._get(n,"gotoCurrent")&&n.currentDay?ii:gt,k=ni?this.formatDate(k,ft,this._getFormatConfig(n)):k,et=n.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(n,"closeText")+"<\/button>",ri=li?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(f?et:"")+(this._isInRange(n,ft)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+k+"<\/button>":"")+(f?"":et)+"<\/div>":"",c=parseInt(this._get(n,"firstDay"),10),c=isNaN(c)?0:c,ot=this._get(n,"showWeek"),ui=this._get(n,"dayNames"),fi=this._get(n,"dayNamesMin"),ei=this._get(n,"monthNames"),oi=this._get(n,"monthNamesShort"),st=this._get(n,"beforeShowDay"),g=this._get(n,"showOtherMonths"),si=this._get(n,"selectOtherMonths"),ht=this._getDefaultDate(n),nt="",y=0;e[0]>y;y++){for(ct="",this.maxRows=4,p=0;e[1]>p;p++){if(lt=this._daylightSavingAdjust(new Date(r,t,n.selectedDay)),l=" ui-corner-all",u="",ti){if(u+="<div class='ui-datepicker-group",e[1]>1)switch(p){case 0:u+=" ui-datepicker-group-first";l=" ui-corner-"+(f?"right":"left");break;case e[1]-1:u+=" ui-datepicker-group-last";l=" ui-corner-"+(f?"left":"right");break;default:u+=" ui-datepicker-group-middle";l=""}u+="'>"}for(u+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+l+"'>"+(/all|left/.test(l)&&0===y?f?ut:rt:"")+(/all|right/.test(l)&&0===y?f?rt:ut:"")+this._generateMonthYearHeader(n,t,r,w,v,y>0||p>0,ei,oi)+"<\/div><table class='ui-datepicker-calendar'><thead><tr>",at=ot?"<th class='ui-datepicker-week-col'>"+this._get(n,"weekHeader")+"<\/th>":"",o=0;7>o;o++)vt=(o+c)%7,at+="<th"+((o+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+ui[vt]+"'>"+fi[vt]+"<\/span><\/th>";for(u+=at+"<\/tr><\/thead><tbody>",yt=this._getDaysInMonth(r,t),r===n.selectedYear&&t===n.selectedMonth&&(n.selectedDay=Math.min(n.selectedDay,yt)),pt=(this._getFirstDayOfMonth(r,t)-c+7)%7,tt=Math.ceil((pt+yt)/7),wt=ti?this.maxRows>tt?this.maxRows:tt:tt,this.maxRows=wt,i=this._daylightSavingAdjust(new Date(r,t,1-pt)),bt=0;wt>bt;bt++){for(u+="<tr>",kt=ot?"<td class='ui-datepicker-week-col'>"+this._get(n,"calculateWeek")(i)+"<\/td>":"",o=0;7>o;o++)d=st?st.apply(n.input?n.input[0]:null,[i]):[!0,""],a=i.getMonth()!==t,it=a&&!si||!d[0]||w&&w>i||v&&i>v,kt+="<td class='"+((o+c+6)%7>=5?" ui-datepicker-week-end":"")+(a?" ui-datepicker-other-month":"")+(i.getTime()===lt.getTime()&&t===n.selectedMonth&&n._keyEvent||ht.getTime()===i.getTime()&&ht.getTime()===lt.getTime()?" "+this._dayOverClass:"")+(it?" "+this._unselectableClass+" ui-state-disabled":"")+(a&&!g?"":" "+d[1]+(i.getTime()===ii.getTime()?" "+this._currentClass:"")+(i.getTime()===gt.getTime()?" ui-datepicker-today":""))+"'"+(a&&!g||!d[2]?"":" title='"+d[2].replace(/'/g,"&#39;")+"'")+(it?"":" data-handler='selectDay' data-event='click' data-month='"+i.getMonth()+"' data-year='"+i.getFullYear()+"'")+">"+(a&&!g?"&#xa0;":it?"<span class='ui-state-default'>"+i.getDate()+"<\/span>":"<a class='ui-state-default"+(i.getTime()===gt.getTime()?" ui-state-highlight":"")+(i.getTime()===ii.getTime()?" ui-state-active":"")+(a?" ui-priority-secondary":"")+"' href='#'>"+i.getDate()+"<\/a>")+"<\/td>",i.setDate(i.getDate()+1),i=this._daylightSavingAdjust(i);u+=kt+"<\/tr>"}t++;t>11&&(t=0,r++);u+="<\/tbody><\/table>"+(ti?"<\/div>"+(e[0]>0&&p===e[1]-1?"<div class='ui-datepicker-row-break'><\/div>":""):"");ct+=u}nt+=ct}return nt+=ri,n._keyEvent=!1,nt},_generateMonthYearHeader:function(n,t,i,r,u,f,e,o){var k,d,h,v,y,p,s,a,w=this._get(n,"changeMonth"),b=this._get(n,"changeYear"),g=this._get(n,"showMonthAfterYear"),c="<div class='ui-datepicker-title'>",l="";if(f||!w)l+="<span class='ui-datepicker-month'>"+e[t]+"<\/span>";else{for(k=r&&r.getFullYear()===i,d=u&&u.getFullYear()===i,l+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",h=0;12>h;h++)(!k||h>=r.getMonth())&&(!d||u.getMonth()>=h)&&(l+="<option value='"+h+"'"+(h===t?" selected='selected'":"")+">"+o[h]+"<\/option>");l+="<\/select>"}if(g||(c+=l+(!f&&w&&b?"":"&#xa0;")),!n.yearshtml)if(n.yearshtml="",f||!b)c+="<span class='ui-datepicker-year'>"+i+"<\/span>";else{for(v=this._get(n,"yearRange").split(":"),y=(new Date).getFullYear(),p=function(n){var t=n.match(/c[+\-].*/)?i+parseInt(n.substring(1),10):n.match(/[+\-].*/)?y+parseInt(n,10):parseInt(n,10);return isNaN(t)?y:t},s=p(v[0]),a=Math.max(s,p(v[1]||"")),s=r?Math.max(s,r.getFullYear()):s,a=u?Math.min(a,u.getFullYear()):a,n.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";a>=s;s++)n.yearshtml+="<option value='"+s+"'"+(s===i?" selected='selected'":"")+">"+s+"<\/option>";n.yearshtml+="<\/select>";c+=n.yearshtml;n.yearshtml=null}return c+=this._get(n,"yearSuffix"),g&&(c+=(!f&&w&&b?"":"&#xa0;")+l),c+"<\/div>"},_adjustInstDate:function(n,t,i){var u=n.drawYear+("Y"===i?t:0),f=n.drawMonth+("M"===i?t:0),e=Math.min(n.selectedDay,this._getDaysInMonth(u,f))+("D"===i?t:0),r=this._restrictMinMax(n,this._daylightSavingAdjust(new Date(u,f,e)));n.selectedDay=r.getDate();n.drawMonth=n.selectedMonth=r.getMonth();n.drawYear=n.selectedYear=r.getFullYear();("M"===i||"Y"===i)&&this._notifyChange(n)},_restrictMinMax:function(n,t){var i=this._getMinMaxDate(n,"min"),r=this._getMinMaxDate(n,"max"),u=i&&i>t?i:t;return r&&u>r?r:u},_notifyChange:function(n){var t=this._get(n,"onChangeMonthYear");t&&t.apply(n.input?n.input[0]:null,[n.selectedYear,n.selectedMonth+1,n])},_getNumberOfMonths:function(n){var t=this._get(n,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(n,t){return this._determineDate(n,this._get(n,t+"Date"),null)},_getDaysInMonth:function(n,t){return 32-this._daylightSavingAdjust(new Date(n,t,32)).getDate()},_getFirstDayOfMonth:function(n,t){return new Date(n,t,1).getDay()},_canAdjustMonth:function(n,t,i,r){var f=this._getNumberOfMonths(n),u=this._daylightSavingAdjust(new Date(i,r+(0>t?t:f[0]*f[1]),1));return 0>t&&u.setDate(this._getDaysInMonth(u.getFullYear(),u.getMonth())),this._isInRange(n,u)},_isInRange:function(n,t){var i,f,e=this._getMinMaxDate(n,"min"),o=this._getMinMaxDate(n,"max"),r=null,u=null,s=this._get(n,"yearRange");return s&&(i=s.split(":"),f=(new Date).getFullYear(),r=parseInt(i[0],10),u=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=f),i[1].match(/[+\-].*/)&&(u+=f)),(!e||t.getTime()>=e.getTime())&&(!o||t.getTime()<=o.getTime())&&(!r||t.getFullYear()>=r)&&(!u||u>=t.getFullYear())},_getFormatConfig:function(n){var t=this._get(n,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(n,"dayNamesShort"),dayNames:this._get(n,"dayNames"),monthNamesShort:this._get(n,"monthNamesShort"),monthNames:this._get(n,"monthNames")}},_formatDate:function(n,t,i,r){t||(n.currentDay=n.selectedDay,n.currentMonth=n.selectedMonth,n.currentYear=n.selectedYear);var u=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,i,t)):this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay));return this.formatDate(this._get(n,"dateFormat"),u,this._getFormatConfig(n))}});n.fn.datepicker=function(t){if(!this.length)return this;n.datepicker.initialized||(n(document).mousedown(n.datepicker._checkExternalClick),n.datepicker.initialized=!0);0===n("#"+n.datepicker._mainDivId).length&&n("body").append(n.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this].concat(i)):n.datepicker._attachDatepicker(this,t)}):n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this[0]].concat(i))};n.datepicker=new f;n.datepicker.initialized=!1;n.datepicker.uuid=(new Date).getTime();n.datepicker.version="1.10.4"}(jQuery),function(n,t){var i="ui-effects-";n.effects={effect:{}},function(n,t){function f(n,t,i){var r=h[t.type]||{};return null==n?i||!t.def?null:t.def:(n=r.floor?~~n:parseFloat(n),isNaN(n)?t.def:r.mod?(n+r.mod)%r.mod:0>n?0:n>r.max?r.max:n)}function s(f){var o=i(),s=o._rgba=[];return f=f.toLowerCase(),r(v,function(n,i){var r,h=i.re.exec(f),c=h&&i.parse(h),e=i.space||"rgba";return c?(r=o[e](c),o[u[e].cache]=r[u[e].cache],s=o._rgba=r._rgba,!1):t}),s.length?("0,0,0,0"===s.join()&&n.extend(s,e.transparent),o):e[f]}function o(n,t,i){return i=(i+1)%1,1>6*i?n+6*(t-n)*i:1>2*i?t:2>3*i?n+6*(t-n)*(2/3-i):n}var e,a=/^([\-+])=\s*(\d+\.?\d*)/,v=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[n[1],n[2],n[3],n[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[2.55*n[1],2.55*n[2],2.55*n[3],n[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(n){return[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(n){return[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(n){return[n[1],n[2]/100,n[3]/100,n[4]]}}],i=n.Color=function(t,i,r,u){return new n.Color.fn.parse(t,i,r,u)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},h={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=i.support={},l=n("<p>")[0],r=n.each;l.style.cssText="background-color:rgba(1,1,1,.5)";c.rgba=l.style.backgroundColor.indexOf("rgba")>-1;r(u,function(n,t){t.cache="_"+n;t.props.alpha={idx:3,type:"percent",def:1}});i.fn=n.extend(i.prototype,{parse:function(o,h,c,l){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=n(o).css(h),h=t);var a=this,v=n.type(o),y=this._rgba=[];return h!==t&&(o=[o,h,c,l],v="array"),"string"===v?this.parse(s(o)||e._default):"array"===v?(r(u.rgba.props,function(n,t){y[t.idx]=f(o[t.idx],t)}),this):"object"===v?(o instanceof i?r(u,function(n,t){o[t.cache]&&(a[t.cache]=o[t.cache].slice())}):r(u,function(t,i){var u=i.cache;r(i.props,function(n,t){if(!a[u]&&i.to){if("alpha"===n||null==o[n])return;a[u]=i.to(a._rgba)}a[u][t.idx]=f(o[n],t,!0)});a[u]&&0>n.inArray(null,a[u].slice(0,3))&&(a[u][3]=1,i.from&&(a._rgba=i.from(a[u])))}),this):t},is:function(n){var o=i(n),f=!0,e=this;return r(u,function(n,i){var s,u=o[i.cache];return u&&(s=e[i.cache]||i.to&&i.to(e._rgba)||[],r(i.props,function(n,i){return null!=u[i.idx]?f=u[i.idx]===s[i.idx]:t})),f}),f},_space:function(){var n=[],t=this;return r(u,function(i,r){t[r.cache]&&n.push(i)}),n.pop()},transition:function(n,t){var e=i(n),c=e._space(),o=u[c],l=0===this.alpha()?i("transparent"):this,a=l[o.cache]||o.to(l._rgba),s=a.slice();return e=e[o.cache],r(o.props,function(n,i){var c=i.idx,r=a[c],u=e[c],o=h[i.type]||{};null!==u&&(null===r?s[c]=u:(o.mod&&(u-r>o.mod/2?r+=o.mod:r-u>o.mod/2&&(r-=o.mod)),s[c]=f((u-r)*t+r,i)))}),this[c](s)},blend:function(t){if(1===this._rgba[3])return this;var r=this._rgba.slice(),u=r.pop(),f=i(t)._rgba;return i(n.map(r,function(n,t){return(1-u)*f[t]+u*n}))},toRgbaString:function(){var i="rgba(",t=n.map(this._rgba,function(n,t){return null==n?t>2?1:0:n});return 1===t[3]&&(t.pop(),i="rgb("),i+t.join()+")"},toHslaString:function(){var i="hsla(",t=n.map(this.hsla(),function(n,t){return null==n&&(n=t>2?1:0),t&&3>t&&(n=Math.round(100*n)+"%"),n});return 1===t[3]&&(t.pop(),i="hsl("),i+t.join()+")"},toHexString:function(t){var i=this._rgba.slice(),r=i.pop();return t&&i.push(~~(255*r)),"#"+n.map(i,function(n){return n=(n||0).toString(16),1===n.length?"0"+n:n}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}});i.fn.parse.prototype=i.fn;u.hsla.to=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var s,h,i=n[0]/255,r=n[1]/255,f=n[2]/255,c=n[3],u=Math.max(i,r,f),e=Math.min(i,r,f),t=u-e,o=u+e,l=.5*o;return s=e===u?0:i===u?60*(r-f)/t+360:r===u?60*(f-i)/t+120:60*(i-r)/t+240,h=0===t?0:.5>=l?t/o:t/(2-o),[Math.round(s)%360,h,l,null==c?1:c]};u.hsla.from=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var r=n[0]/360,u=n[1],t=n[2],e=n[3],i=.5>=t?t*(1+u):t+u-t*u,f=2*t-i;return[Math.round(255*o(f,i,r+1/3)),Math.round(255*o(f,i,r)),Math.round(255*o(f,i,r-1/3)),e]};r(u,function(u,e){var s=e.props,o=e.cache,h=e.to,c=e.from;i.fn[u]=function(u){if(h&&!this[o]&&(this[o]=h(this._rgba)),u===t)return this[o].slice();var l,a=n.type(u),v="array"===a||"object"===a?u:arguments,e=this[o].slice();return r(s,function(n,t){var i=v["object"===a?n:t.idx];null==i&&(i=e[t.idx]);e[t.idx]=f(i,t)}),c?(l=i(c(e)),l[o]=e,l):i(e)};r(s,function(t,r){i.fn[t]||(i.fn[t]=function(i){var f,e=n.type(i),h="alpha"===t?this._hsla?"hsla":"rgba":u,o=this[h](),s=o[r.idx];return"undefined"===e?s:("function"===e&&(i=i.call(this,s),e=n.type(i)),null==i&&r.empty?this:("string"===e&&(f=a.exec(i),f&&(i=s+parseFloat(f[2])*("+"===f[1]?1:-1))),o[r.idx]=i,this[h](o)))})})});i.hook=function(t){var u=t.split(" ");r(u,function(t,r){n.cssHooks[r]={set:function(t,u){var o,f,e="";if("transparent"!==u&&("string"!==n.type(u)||(o=s(u)))){if(u=i(o||u),!c.rgba&&1!==u._rgba[3]){for(f="backgroundColor"===r?t.parentNode:t;(""===e||"transparent"===e)&&f&&f.style;)try{e=n.css(f,"backgroundColor");f=f.parentNode}catch(h){}u=u.blend(e&&"transparent"!==e?e:"_default")}u=u.toRgbaString()}try{t.style[r]=u}catch(h){}}};n.fx.step[r]=function(t){t.colorInit||(t.start=i(t.elem,r),t.end=i(t.end),t.colorInit=!0);n.cssHooks[r].set(t.elem,t.start.transition(t.end,t.pos))}})};i.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor");n.cssHooks.borderColor={expand:function(n){var t={};return r(["Top","Right","Bottom","Left"],function(i,r){t["border"+r+"Color"]=n}),t}};e=n.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(t){var r,u,i=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,f={};if(i&&i.length&&i[0]&&i[i[0]])for(u=i.length;u--;)r=i[u],"string"==typeof i[r]&&(f[n.camelCase(r)]=i[r]);else for(r in i)"string"==typeof i[r]&&(f[r]=i[r]);return f}function r(t,i){var r,u,e={};for(r in i)u=i[r],t[r]!==u&&(f[r]||(n.fx.step[r]||!isNaN(parseFloat(u)))&&(e[r]=u));return e}var u=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};n.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){n.fx.step[i]=function(n){("none"===n.end||n.setAttr)&&(1!==n.pos||n.setAttr)||(jQuery.style(n.elem,i,n.end),n.setAttr=!0)}});n.fn.addBack||(n.fn.addBack=function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))});n.effects.animateClass=function(t,f,e,o){var s=n.speed(f,e,o);return this.queue(function(){var o,e=n(this),h=e.attr("class")||"",f=s.children?e.find("*").addBack():e;f=f.map(function(){var t=n(this);return{el:t,start:i(this)}});o=function(){n.each(u,function(n,i){t[i]&&e[i+"Class"](t[i])})};o();f=f.map(function(){return this.end=i(this.el[0]),this.diff=r(this.start,this.end),this});e.attr("class",h);f=f.map(function(){var i=this,t=n.Deferred(),r=n.extend({},s,{queue:!1,complete:function(){t.resolve(i)}});return this.el.animate(this.diff,r),t.promise()});n.when.apply(n,f.get()).done(function(){o();n.each(arguments,function(){var t=this.el;n.each(this.diff,function(n){t.css(n,"")})});s.complete.call(e[0])})})};n.fn.extend({addClass:function(t){return function(i,r,u,f){return r?n.effects.animateClass.call(this,{add:i},r,u,f):t.apply(this,arguments)}}(n.fn.addClass),removeClass:function(t){return function(i,r,u,f){return arguments.length>1?n.effects.animateClass.call(this,{remove:i},r,u,f):t.apply(this,arguments)}}(n.fn.removeClass),toggleClass:function(i){return function(r,u,f,e,o){return"boolean"==typeof u||u===t?f?n.effects.animateClass.call(this,u?{add:r}:{remove:r},f,e,o):i.apply(this,arguments):n.effects.animateClass.call(this,{toggle:r},u,f,e)}}(n.fn.toggleClass),switchClass:function(t,i,r,u,f){return n.effects.animateClass.call(this,{add:i,remove:t},r,u,f)}})}(),function(){function r(t,i,r,u){return n.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),n.isFunction(i)&&(u=i,r=null,i={}),("number"==typeof i||n.fx.speeds[i])&&(u=r,r=i,i={}),n.isFunction(r)&&(u=r,r=null),i&&n.extend(t,i),r=r||i.duration,t.duration=n.fx.off?0:"number"==typeof r?r:r in n.fx.speeds?n.fx.speeds[r]:n.fx.speeds._default,t.complete=u||i.complete,t}function u(t){return!t||"number"==typeof t||n.fx.speeds[t]?!0:"string"!=typeof t||n.effects.effect[t]?n.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}n.extend(n.effects,{version:"1.10.4",save:function(n,t){for(var r=0;t.length>r;r++)null!==t[r]&&n.data(i+t[r],n[0].style[t[r]])},restore:function(n,r){for(var f,u=0;r.length>u;u++)null!==r[u]&&(f=n.data(i+r[u]),f===t&&(f=""),n.css(r[u],f))},setMode:function(n,t){return"toggle"===t&&(t=n.is(":hidden")?"show":"hide"),t},getBaseline:function(n,t){var i,r;switch(n[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=n[0]/t.height}switch(n[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=n[1]/t.width}return{x:r,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},u=n("<div><\/div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),f={width:t.width(),height:t.height()},r=document.activeElement;try{r.id}catch(e){r=document.body}return t.wrap(u),(t[0]===r||n.contains(t[0],r))&&n(r).focus(),u=t.parent(),"static"===t.css("position")?(u.css({position:"relative"}),t.css({position:"relative"})):(n.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),n.each(["top","left","bottom","right"],function(n,r){i[r]=t.css(r);isNaN(parseInt(i[r],10))&&(i[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(f),u.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||n.contains(t[0],i))&&n(i).focus()),t},setTransition:function(t,i,r,u){return u=u||{},n.each(i,function(n,i){var f=t.cssUnit(i);f[0]>0&&(u[i]=f[0]*r+f[1])}),u}});n.fn.extend({effect:function(){function i(i){function f(){n.isFunction(o)&&o.call(r[0]);n.isFunction(i)&&i()}var r=n(this),o=t.complete,u=t.mode;(r.is(":hidden")?"hide"===u:"show"===u)?(r[u](),f()):e.call(r[0],t,f)}var t=r.apply(this,arguments),u=t.mode,f=t.queue,e=n.effects.effect[t.effect];return n.fx.off||!e?u?this[u](t.duration,t.complete):this.each(function(){t.complete&&t.complete.call(this)}):f===!1?this.each(i):this.queue(f||"fx",i)},show:function(n){return function(t){if(u(t))return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(n.fn.show),hide:function(n){return function(t){if(u(t))return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(n.fn.hide),toggle:function(n){return function(t){if(u(t)||"boolean"==typeof t)return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(n.fn.toggle),cssUnit:function(t){var i=this.css(t),r=[];return n.each(["em","px","%","pt"],function(n,t){i.indexOf(t)>0&&(r=[parseFloat(i),t])}),r}})}(),function(){var t={};n.each(["Quad","Cubic","Quart","Quint","Expo"],function(n,i){t[i]=function(t){return Math.pow(t,n+2)}});n.extend(t,{Sine:function(n){return 1-Math.cos(n*Math.PI/2)},Circ:function(n){return 1-Math.sqrt(1-n*n)},Elastic:function(n){return 0===n||1===n?n:-Math.pow(2,8*(n-1))*Math.sin((80*(n-1)-7.5)*Math.PI/15)},Back:function(n){return n*n*(3*n-2)},Bounce:function(n){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>n;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-n,2)}});n.each(t,function(t,i){n.easing["easeIn"+t]=i;n.easing["easeOut"+t]=function(n){return 1-i(1-n)};n.easing["easeInOut"+t]=function(n){return.5>n?i(2*n)/2:1-i(-2*n+2)/2}})}()}(jQuery),function(n,t){var i=function(i,r,u){var f;return function(){function s(){jQuery.fn[t].endSize.width=n(window).width();jQuery.fn[t].endSize.height=n(window).height();u||i.apply(e,o);f=null;n(this).data("smartResizeStartSize",jQuery.fn[t].startSize);n(this).data("smartResizeEndSize",jQuery.fn[t].endSize)}var e=this,o=arguments;jQuery.fn[t].startSize.width=n(this).data("smartResizeEndSize")?n(this).data("smartResizeEndSize").width:n(window).width();jQuery.fn[t].startSize.height=n(this).data("smartResizeEndSize")?n(this).data("smartResizeEndSize").height:n(window).height();f?clearTimeout(f):u&&i.apply(e,o);f=setTimeout(s,r||300)}};jQuery.fn[t]=function(n){return n?this.bind("resize",i(n)):this.trigger(t)};jQuery.fn[t].startSize=function(){return{width:jQuery.fn[t].startSize.width,height:jQuery.fn[t].startSize.height}};jQuery.fn[t].endSize=function(){return{width:jQuery.fn[t].endSize.width,height:jQuery.fn[t].endSize.height}};jQuery.fn.smartscroll=function(n){return n?this.bind("scroll",i(n)):this.trigger("smartscroll")}}(jQuery,"smartresize"),function(n,t,i){function l(n){var t={},r=/^jQuery\d+$/;return i.each(n.attributes,function(n,i){i.specified&&!r.test(i.name)&&(t[i.name]=i.value)}),t}function f(n,r){var f=this,u=i(f);if(f.value==u.attr("placeholder")&&u.hasClass("placeholder"))if(u.data("placeholder-password")){if(u=u.hide().next().show().attr("id",u.removeAttr("id").data("placeholder-id")),n===!0)return u[0].value=r;u.focus()}else f.value="",u.removeClass("placeholder"),f==t.activeElement&&f.select()}function s(){var t,r=this,n=i(r),e=n,u=this.id;if(r.value==""){if(r.type=="password"){if(!n.data("placeholder-textinput")){try{t=n.clone().attr({type:"text"})}catch(o){t=i("<input>").attr(i.extend(l(this),{type:"text"}))}t.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":u}).bind("focus.placeholder",f);n.data({"placeholder-textinput":t,"placeholder-id":u}).before(t)}n=n.removeAttr("id").hide().prev().attr("id",u).show()}n.addClass("placeholder");n[0].value=n.attr("placeholder")}else n.removeClass("placeholder")}var u="placeholder"in t.createElement("input"),e="placeholder"in t.createElement("textarea"),h=i.fn,c=i.valHooks,o,r;u&&e?(r=h.placeholder=function(){return this},r.input=r.textarea=!0):(r=h.placeholder=function(){var n=this;return n.filter((u?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":f,"blur.placeholder":s}).data("placeholder-enabled",!0).trigger("blur.placeholder"),n},r.input=u,r.textarea=e,o={get:function(n){var t=i(n);return t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":n.value},set:function(n,r){var u=i(n);return u.data("placeholder-enabled")?(r==""?(n.value=r,n!=t.activeElement&&s.call(n)):u.hasClass("placeholder")?f.call(n,!0,r)||(n.value=r):n.value=r,u):n.value=r}},u||(c.input=o),e||(c.textarea=o),i(function(){i(t).delegate("form","submit.placeholder",function(){var n=i(".placeholder",this).each(f);setTimeout(function(){n.each(s)},10)})}),i(n).bind("beforeunload.placeholder",function(){i(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(n){"use strict";function t(){if(this._loaded){var e=this,t=n(this).removeAttr("style").css({position:"absolute","max-width":"none",display:"block",top:0,left:0}),i=t.data("settings")||{},o=i.isCover!==!1,u=t.parent(),c=i.containerRatio||u.outerWidth()/u.outerHeight(),l=i.imgRatio||(t.attr("width")||e.width)/(t.attr("height")||e.height),r=c/l,s,h=r>1,f;i.ignoreIndex||t.css("z-index",-1);u.css({position:function(n,t){if(t=="static")return"relative"},"z-index":function(n,t){if(t=="auto"&&!i.ignoreIndex)return 0},overflow:"hidden"});Math.abs(1-r)<.05?(t.width("100%"),t.height("100%")):(h&&o||!h&&!o?(f="top",t.width("100%"),t.height("auto")):(f="left",r=1/r,t.height("100%"),t.width("auto")),s=(1-r)*50,t.css(f,s+"%"))}}function r(n){n._loaded=!0;i=i.add(n);t.apply(n)}var i=n(),u=!1,f=function(){i.each(t)};n.fn.backgroundCover=function(i){var i=i||{};return this.each(function(){var u=this,e,f;if(n(u).data("backgroundcover"))return t.apply(u),!0;if(e=n(u).data("coversettings"),n(u).data("settings",n.extend({},i,e)),u.getContext)return r(u),!0;if(u.complete&&u.naturalWidth!==undefined){if(!u.naturalWidth)return!0;r(u)}else f=new Image,n(f).load(function(){r(u)}),f.src=u.src}),u||(i.ignoreResize||n(window).bind("resize.backgroundCover",f),u=!0),this};n.backgroundCoverTrigger=f}(jQuery),function(n){"use strict";function t(n,t){t=t||r;for(var i=0;i<t.length;i++)if(n<t[i]+15)return t[i];return 1200}var i="{0}?{1}&mode=crop&quality=70",r=[100,150,200,400,600,800,1e3];n.fn.responsiveBackgroundImage=function(r){return r=r||{},this.each(function(){var u=n(this),c,l,o,s,v,h,e=r.parent?n(r.parent):u.parent(),a,f;!u.data("init")&&e.is(":visible")&&(a=new Image,f="",o=Number(u.data("outputwidth")),s=Number(u.data("outputheight")),o||s?(o&&(f+="&width="+o),s&&(f+="&height="+s)):(c=e.innerWidth(),l=e.innerHeight(),v=c/l,f+="&width="+t(c),f+="&height="+t(l)),h=i.format(u.data("image"),f),a.onload=function(){e.addClass("ie-cover-image responsive-background");e.css({backgroundImage:'url("'+h+'")'}).data("image",h)},a.src=h,u.remove())})}}(jQuery);window.EQTR=function(n,t){"use strict";var r={},i;return r.jsPath="/assets/js/",r.getScreenView=function(){return t(window).width()<=480?"small":t(window).width()<=768?"medium":"large"},r.getOrientation=function(){var n=window.orientation;return typeof n=="undefined"&&(n="orientation not supported"),n},r.scrollbarWidth=function(){var n;return t('<div style="position:absolute;top:-10000px;width:100px;overflow:scroll;"><div style="width:200px;"><\/div>').appendTo("body").each(function(){n=t(this).width()-this.clientWidth}).remove(),n},r.isTouchDevice=function(){return!!("ontouchstart"in window)||!!window.navigator.msMaxTouchPoints},r.pad=function(n,t){for(var i=n+"";i.length<t;)i="0"+i;return i},r.generateUuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=Math.random()*16|0,i=n=="x"?t:t&3|8;return i.toString(16)})},r.isEmail=function(n){return/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(n)},r.getHashParameter=function(n,t){var f=n.split("#"),i,r,u;if(f.length<2)return null;for(u=f[1].split("&"),i=0;i<u.length;i++)if(r=u[i].split("="),r[0]==t)return unescape(r[1]);return null},r.shuffleArray=function(n){for(var i,r,t=n.length-1;t>0;t--)i=Math.floor(Math.random()*(t+1)),r=n[t],n[t]=n[i],n[i]=r;return n},n.helpers=r,i={},i.defaultStyleSheetName="dynamicClasses",i.stylesheet=null,i.init=function(n,t){n=n||i.defaultStyleSheetName;i.stylesheet=t?i.createStylesheet(n):i.findStylesheetById("dynamicClasses")},i.checkInit=function(){i.stylesheet||i.init(null,!0)},i.createStylesheet=function(n){var r=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");return t.type="text/css",t.id=n,r.appendChild(t),i.findStylesheetById(n)},i.findStylesheetById=function(n){var u=document.getElementById(n),r,t,f;if(u){if(u.sheet)return u.sheet;for(r=document.styleSheets,t=0,f=r.length;t<f;t++)if(r[t].id==n)return r[t]}return i.createStylesheet(n)},i.findRule=function(n,t){var r;i.checkInit();var f=null,u=i.stylesheet.cssRules||i.stylesheet.rules,e=typeof n=="number";if(e)return u[n]||null;for(n=n.toLowerCase(),r=0;r<u.length;r++)if(u[r].selectorText&&u[r].selectorText.toLowerCase()==n){f=u[r];break}return!f&&t?i.addRule(n):f},i.changeRule=function(n,t,r){var u,e,f;i.checkInit();u=i.findRule(n,!0);typeof t!="object"&&r&&(e=t,t={},t[e]=r);for(f in t)u.style[f]=t[f];return u},i.addRule=function(n,t){var r;return i.checkInit(),t||(t=" "),i.stylesheet.insertRule?(r=i.stylesheet.cssRules.length,r=i.stylesheet.insertRule(n+" {"+t+"}",r)):(r=i.stylesheet.addRule(n,t),r==-1&&(r=i.stylesheet.rules.length-1)),i.findRule(r)},i.removeRule=function(n){i.checkInit();i.stylesheet.removeRule?i.stylesheet.removeRule(n):i.stylesheet.deleteRule(n)},i.addStylesheet=function(n){if(document.createStyleSheet)document.createStyleSheet(n);else{var t=document.createElement("link");t.setAttribute("rel","stylesheet");t.setAttribute("type","text/css");t.setAttribute("href",n);document.getElementsByTagName("head")[0].appendChild(t)}},n.css=i,n}(window.EQTR||{},window.jQuery);jQuery.fn.cleanWhitespace=function(){return textNodes=this.contents().filter(function(){return this.nodeType==3&&!/\S/.test(this.nodeValue)}).remove(),this};String.prototype.format=function(){for(var t=this.toString(),n=0;n<arguments.length;n++)t=t.replace(new RegExp("\\{"+n+"\\}","g"),arguments[n]);return t},function(){for(var i=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n){var t=(new Date).getTime(),r=Math.max(0,16-(t-i)),u=window.setTimeout(function(){n(t+r)},r);return i=t+r,u});window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}(),function(n){n.fn.shuffle=function(){var t=this.get(),r=function(n){return Math.floor(Math.random()*n)},i=n.map(t,function(){var i=r(t.length),u=n(t[i]).clone(!0)[0];return t.splice(i,1),u});return this.each(function(t){n(this).replaceWith(n(i[t]))}),n(i)}}(jQuery);Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){var i,r=t?t:0,u;if(!this)throw new TypeError;if(u=this.length,u===0||r>=u)return-1;for(r<0&&(r=u-Math.abs(r)),i=r;i<u;i++)if(this[i]===n)return i;return-1});jQuery.extend(jQuery.expr[":"],{cssVisible:function(n){var t=$(n);return!(t.css("visibility")=="hidden"||t.css("display")=="none")}});window.EQTR=function(n){function u(n,t,i){var r=(t?location.pathname:"")+(n||""),u;r&&(u=new RegExp(location.protocol+"//"+location.host),r=r.replace(u,""));window.ga?ga("send","pageview",{page:r}):window._gaq&&_gaq.push(["_trackPageview",r]);window.dataLayer&&dataLayer.push({event:"VirtualPageView"});i||(f.createNeolaneTag(r),e=r)}var t,i,r=500,e,f={trackPage:function(n,t,f){f?(f=typeof f=="boolean"?r:Number(f)||r,clearTimeout(i),i=setTimeout(function(){u(n,t)},f)):u(n,t)},trackEvent:function(n,t,i,r){window.ga?ga("send","event",n,t,i,r):window._gaq&&_gaq.push(["_trackEvent",n,t,i,r])},getLinkerUrl:function(n){if(window.gaplugins&&t){var i=new window.gaplugins.Linker(t);return i.decorate(n)}return n},getLinkerParam:function(){return t?t.get("linkerParam"):""},addTrans:function(n,t,i,r,u,f){window.ga?(ga("require","ecommerce","ecommerce.js"),ga("ecommerce:addTransaction",{id:n,affiliation:t,revenue:i,shipping:r,tax:u,currency:f})):window._gaq&&_gaq.push(["_addTrans",n,t,i,u,r,"",""])},addItem:function(n,t,i,r,u,f,e){window.ga?ga("ecommerce:addItem",{id:n,name:t,sku:i,category:r,price:u,quantity:f,currency:e}):window._gaq&&_gaq.push(["_addItem",n,i,t,r,u,f])},trackTrans:function(){window.ga?ga("ecommerce:send"):window._gaq&&_gaq.push(["_trackTrans"])},getTracker:function(){return t},setCustomVar:function(n,t,i,r){window.ga||window._gaq&&_gaq.push(["_setCustomVar",n,t,i,r])},createNeolaneTag:function(n){var e=/eqtr.com/i.test(location.host)?0:1,o=Math.random().toString(),r="",i="{0}/r/{1}?tagid={2}|{3}|{4}{5}",u="w",t,f;n&&(typeof n=="string"?t=n:(t=n.path,n.amount&&n.article&&n.id&&(r="&amount={0}&article={1}&resConfNum={2}".format(n.amount,n.article,n.id),u="t")));t||(t=location.pathname);t=t.toLowerCase();/^\/[a-z]{2}\//.test(t)||(t="/en"+t);/^\/[a-z]{2}\/$/.test(t)&&(t+="home");t=t.replace(/hotels\-and\-resorts\/(.)/,"$1").replace(/(^\/)|(\/$)/g,"");i=i.format(["//t.edev.roccofortehotels.com","//t.e.roccofortehotels.com"][e],o,t,u,"nmsWebTracking",r);f=new Image;f.src=i}};return n.Analytics=f,dataLayer?dataLayer.push(function(){ga(function(n){t=n})}):window.ga&&ga(function(n){t=n}),n}(window.EQTR||{},window.jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u)==1?i+r:(e||(e=u*.3),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),-(o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e))+i)},easeOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u)==1?i+r:(e||(e=u*.3),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),o*Math.pow(2,-10*t)*Math.sin((t*u-f)*2*Math.PI/e)+r+i)},easeInOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u/2)==2?i+r:(e||(e=u*.3*1.5),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),t<1)?-.5*o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)+i:o*Math.pow(2,-10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?jQuery.easing.easeInBounce(n,t*2,0,r,u)*.5+i:jQuery.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}}),function(n){var t=n.createElement("STYLE"),u="addEventListener"in n,i=function(t,i){u?n.addEventListener(t,i):n.attachEvent("on"+t,i)},r=function(n){!t.styleSheet?t.innerHTML=n:t.styleSheet.cssText=n};n.getElementsByTagName("HEAD")[0].appendChild(t);i("mousedown",function(){r("a,button,select,textarea,input{outline:none}")});i("keydown",function(){r("")})}(document),function(n){n.fn.valign=function(t){var i=n.extend({},n.fn.valign.defaultOptions,t);return this.each(function(){var t=n(this);t.css(i.style,"0");var r=t.parent(),u=t.outerHeight(),f=r.height(),e=(f-u)/2,o=i.style;t.css(o,Math.floor(e)).addClass("valign")})};n.fn.valign.defaultOptions={style:"paddingTop"}}(jQuery),function(n){n.fn.hoverIntent=function(t,i,r){var u={interval:100,sensitivity:6,timeout:0};u=typeof t=="object"?n.extend(u,t):n.isFunction(i)?n.extend(u,{over:t,out:i,selector:r}):n.extend(u,{over:t,out:t,selector:i});var f,e,o,s,h=function(n){f=n.pageX;e=n.pageY},c=function(t,i){if(i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.sqrt((o-f)*(o-f)+(s-e)*(s-e))<u.sensitivity)return n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s=!0,u.over.apply(i,[t]);o=f;s=e;i.hoverIntent_t=setTimeout(function(){c(t,i)},u.interval)},a=function(n,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=!1,u.out.apply(t,[n])},l=function(t){var r=n.extend({},t),i=this;if(i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),t.type==="mouseenter"){o=r.pageX;s=r.pageY;n(i).on("mousemove.hoverIntent",h);i.hoverIntent_s||(i.hoverIntent_t=setTimeout(function(){c(r,i)},u.interval))}else n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s&&(i.hoverIntent_t=setTimeout(function(){a(r,i)},u.timeout))};return this.on({"mouseenter.hoverIntent":l,"mouseleave.hoverIntent":l},u.selector)}}(jQuery),function(n){var u,f;n.fn.drag=function(t,i,r){var u=typeof t=="string"?t:"",f=n.isFunction(t)?t:n.isFunction(i)?i:null;return u.indexOf("drag")!==0&&(u="drag"+u),r=(t==f?i:r)||{},f?this.bind(u,r,f):this.trigger(u)};var i=n.event,r=i.special,t=r.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:!1,drop:!0,click:!1},datakey:"dragdata",noBubble:!0,add:function(i){var r=n.data(this,t.datakey),u=i.data||{};r.related+=1;n.each(t.defaults,function(n){u[n]!==undefined&&(r[n]=u[n])})},remove:function(){n.data(this,t.datakey).related-=1},setup:function(){if(!n.data(this,t.datakey)){var r=n.extend({related:0},t.defaults);n.data(this,t.datakey,r);i.add(this,"touchstart mousedown",t.init,r);this.attachEvent&&this.attachEvent("ondragstart",t.dontstart)}},teardown:function(){var r=n.data(this,t.datakey)||{};r.related||(n.removeData(this,t.datakey),i.remove(this,"touchstart mousedown",t.init),t.textselect(!0),this.detachEvent&&this.detachEvent("ondragstart",t.dontstart))},init:function(u){if(!t.touched){var f=u.data,e;if(u.which==0||!(f.which>0)||u.which==f.which)return n(u.target).is(f.not)?void 0:f.handle&&!n(u.target).closest(f.handle,u.currentTarget).length?void 0:(t.touched=u.type=="touchstart"?this:null,f.propagates=1,f.mousedown=this,f.interactions=[t.interaction(this,f)],f.target=u.target,f.pageX=u.pageX,f.pageY=u.pageY,f.dragging=null,e=t.hijack(u,"draginit",f),!f.propagates)?void 0:(e=t.flatten(e),e&&e.length&&(f.interactions=[],n.each(e,function(){f.interactions.push(t.interaction(this,f))})),f.propagates=f.interactions.length,f.drop!==!1&&r.drop&&r.drop.handler(u,f),t.textselect(!1),t.touched?i.add(t.touched,"touchmove touchend",t.handler,f):i.add(document,"mousemove mouseup",t.handler,f),!t.touched||f.live?!1:void 0)}},interaction:function(i,r){var u=n(i)[r.relative?"position":"offset"]()||{top:0,left:0};return{drag:i,callback:new t.callback,droppable:[],offset:u}},handler:function(u){var f=u.data;switch(u.type){case!f.dragging&&"touchmove":u.preventDefault();case!f.dragging&&"mousemove":if(Math.pow(u.pageX-f.pageX,2)+Math.pow(u.pageY-f.pageY,2)<Math.pow(f.distance,2))break;u.target=f.target;t.hijack(u,"dragstart",f);f.propagates&&(f.dragging=!0);case"touchmove":u.preventDefault();case"mousemove":if(f.dragging){if(t.hijack(u,"drag",f),f.propagates){f.drop!==!1&&r.drop&&r.drop.handler(u,f);break}u.type="mouseup"}case"touchend":case"mouseup":default:t.touched?i.remove(t.touched,"touchmove touchend",t.handler):i.remove(document,"mousemove mouseup",t.handler);f.dragging&&(f.drop!==!1&&r.drop&&r.drop.handler(u,f),t.hijack(u,"dragend",f));t.textselect(!0);f.click===!1&&f.dragging&&n.data(f.mousedown,"suppress.click",(new Date).getTime()+5);f.dragging=t.touched=!1}},hijack:function(r,u,f,e,o){if(f){var v={event:r.originalEvent,type:r.type},l=u.indexOf("drop")?"drag":"drop",h,a=e||0,s,c,y=isNaN(e)?f.interactions.length:e;r.type=u;r.originalEvent=null;f.results=[];do if(s=f.interactions[a]){if(u!=="dragend"&&s.cancelled)continue;c=t.properties(r,f,s);s.results=[];n(o||s[l]||f.droppable).each(function(e,o){return c.target=o,r.isPropagationStopped=function(){return!1},h=o?i.dispatch.call(o,r,c):null,h===!1?(l=="drag"&&(s.cancelled=!0,f.propagates-=1),u=="drop"&&(s[l][e]=null)):u=="dropinit"&&s.droppable.push(t.element(h)||o),u=="dragstart"&&(s.proxy=n(t.element(h)||s.drag)[0]),s.results.push(h),delete r.result,u!=="dropinit"?h:void 0});f.results[a]=t.flatten(s.results);u=="dropinit"&&(s.droppable=t.flatten(s.droppable));u!="dragstart"||s.cancelled||c.update()}while(++a<y);return r.type=v.type,r.originalEvent=v.event,t.flatten(f.results)}},properties:function(n,i,r){var u=r.callback;return u.drag=r.drag,u.proxy=r.proxy||r.drag,u.startX=i.pageX,u.startY=i.pageY,u.deltaX=n.pageX-i.pageX,u.deltaY=n.pageY-i.pageY,u.originalX=r.offset.left,u.originalY=r.offset.top,u.offsetX=u.originalX+u.deltaX,u.offsetY=u.originalY+u.deltaY,u.drop=t.flatten((r.drop||[]).slice()),u.available=t.flatten((r.droppable||[]).slice()),u},element:function(n){if(n&&(n.jquery||n.nodeType==1))return n},flatten:function(i){return n.map(i,function(i){return i&&i.jquery?n.makeArray(i):i&&i.length?t.flatten(i):i})},textselect:function(i){n(document)[i?"unbind":"bind"]("selectstart",t.dontstart).css("MozUserSelect",i?"":"none");document.unselectable=i?"off":"on"},dontstart:function(){return!1},callback:function(){}};t.callback.prototype={update:function(){r.drop&&this.available.length&&n.each(this.available,function(n){r.drop.locate(this,n)})}};u=i.dispatch;i.dispatch=function(t){if(n.data(this,"suppress."+t.type)-(new Date).getTime()>0){n.removeData(this,"suppress."+t.type);return}return u.apply(this,arguments)};f=i.fixHooks.touchstart=i.fixHooks.touchmove=i.fixHooks.touchend=i.fixHooks.touchcancel={props:"clientX clientY pageX pageY screenX screenY".split(" "),filter:function(t,i){if(i){var r=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0]||null;r&&n.each(f.props,function(n,i){t[i]=r[i]})}return t}};r.draginit=r.dragstart=r.dragend=t}(jQuery),function(n){var t=jQuery.cleanData;n.cleanData=function(i){for(var r=0,u;(u=i[r])!==undefined;r++)n(u).triggerHandler("destroyed");t(i)}}(jQuery),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?module.exports=n:n(jQuery)}(function(n){function f(i){var f=i||window.event,l=o.call(arguments,1),h=0,e=0,u=0,c=0;if(i=n.event.fix(f),i.type="mousewheel","detail"in f&&(u=f.detail*-1),"wheelDelta"in f&&(u=f.wheelDelta),"wheelDeltaY"in f&&(u=f.wheelDeltaY),"wheelDeltaX"in f&&(e=f.wheelDeltaX*-1),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(e=u*-1,u=0),h=u===0?e:u,"deltaY"in f&&(u=f.deltaY*-1,h=u),"deltaX"in f&&(e=f.deltaX,u===0&&(h=e*-1)),u!==0||e!==0)return c=Math.max(Math.abs(u),Math.abs(e)),(!t||c<t)&&(t=c),h=Math[h>=1?"floor":"ceil"](h/t),e=Math[e>=1?"floor":"ceil"](e/t),u=Math[u>=1?"floor":"ceil"](u/t),i.deltaX=e,i.deltaY=u,i.deltaFactor=t,l.unshift(i,h,e,u),r&&clearTimeout(r),r=setTimeout(s,200),(n.event.dispatch||n.event.handle).apply(this,l)}function s(){t=null}var e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],o=Array.prototype.slice,r,t,u;if(n.event.fixHooks)for(u=e.length;u;)n.event.fixHooks[e[--u]]=n.event.mouseHooks;n.event.special.mousewheel={version:"3.1.6",setup:function(){if(this.addEventListener)for(var n=i.length;n;)this.addEventListener(i[--n],f,!1);else this.onmousewheel=f},teardown:function(){if(this.removeEventListener)for(var n=i.length;n;)this.removeEventListener(i[--n],f,!1);else this.onmousewheel=null}};n.fn.extend({mousewheel:function(n){return n?this.bind("mousewheel",n):this.trigger("mousewheel")},unmousewheel:function(n){return this.unbind("mousewheel",n)}})}),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function d(){var n=document.getElementsByTagName("script"),t=n[n.length-1].src.split("?")[0];return t.split("/").length>0?t.split("/").slice(0,-1).join("/")+"/":""}function tt(n,t,i){for(var r=0;r<t.length;r++)i(n,t[r])}var o=!1,l=!1,b=5e3,k=2e3,u=0,t=n,v=["ms","moz","webkit","o"],i=window.requestAnimationFrame||!1,r=window.cancelAnimationFrame||!1,y,s,f,e;if(!i)for(y in v)s=v[y],i||(i=window[s+"RequestAnimationFrame"]),r||(r=window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"]);var h=window.MutationObserver||window.WebKitMutationObserver||!1,p={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:d()},a=!1,g=function(){function e(){var u=["-moz-grab","-webkit-grab","grab"],i,r;for((n.ischrome&&!n.ischrome22||n.isie)&&(u=[]),i=0;i<u.length;i++)if(r=u[i],t.style.cursor=r,t.style.cursor==r)return r;return"url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur),n-resize"}var t,n,r,i;if(a)return a;for(t=document.createElement("DIV"),n={},n.haspointerlock=("pointerLockElement"in document)||("mozPointerLockElement"in document)||("webkitPointerLockElement"in document),n.isopera=("opera"in window),n.isopera12=n.isopera&&("getUserMedia"in navigator),n.isoperamini=Object.prototype.toString.call(window.operamini)==="[object OperaMini]",n.isie=("all"in document)&&("attachEvent"in t)&&!n.isopera,n.isieold=n.isie&&!("msInterpolationMode"in t.style),n.isie7=n.isie&&!n.isieold&&(!("documentMode"in document)||document.documentMode==7),n.isie8=n.isie&&("documentMode"in document)&&document.documentMode==8,n.isie9=n.isie&&("performance"in window)&&document.documentMode>=9,n.isie10=n.isie&&("performance"in window)&&document.documentMode>=10,n.isie9mobile=/iemobile.9/i.test(navigator.userAgent),n.isie9mobile&&(n.isie9=!1),n.isie7mobile=!n.isie9mobile&&n.isie7&&/iemobile/i.test(navigator.userAgent),n.ismozilla=("MozAppearance"in t.style),n.iswebkit=("WebkitAppearance"in t.style),n.ischrome=("chrome"in window),n.ischrome22=n.ischrome&&n.haspointerlock,n.ischrome26=n.ischrome&&("transition"in t.style),n.cantouch=("ontouchstart"in document.documentElement)||("ontouchstart"in window),n.hasmstouch=window.navigator.msPointerEnabled||!1,n.ismac=/^mac$/i.test(navigator.platform),n.isios=n.cantouch&&/iphone|ipad|ipod/i.test(navigator.platform),n.isios4=n.isios&&!("seal"in Object),n.isandroid=/android/i.test(navigator.userAgent),n.trstyle=!1,n.hastransform=!1,n.hastranslate3d=!1,n.transitionstyle=!1,n.hastransition=!1,n.transitionend=!1,r=["transform","msTransform","webkitTransform","MozTransform","OTransform"],i=0;i<r.length;i++)if(typeof t.style[r[i]]!="undefined"){n.trstyle=r[i];break}n.hastransform=n.trstyle!=!1;n.hastransform&&(t.style[n.trstyle]="translate3d(1px,2px,3px)",n.hastranslate3d=/translate3d/.test(t.style[n.trstyle]));n.transitionstyle=!1;n.prefixstyle="";n.transitionend=!1;var r=["transition","webkitTransition","MozTransition","OTransition","OTransition","msTransition","KhtmlTransition"],u=["","-webkit-","-moz-","-o-","-o","-ms-","-khtml-"],f=["transitionend","webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd","msTransitionEnd","KhtmlTransitionEnd"];for(i=0;i<r.length;i++)if(r[i]in t.style){n.transitionstyle=r[i];n.prefixstyle=u[i];n.transitionend=f[i];break}return n.ischrome26&&(n.prefixstyle=u[1]),n.hastransition=n.transitionstyle,n.cursorgrabvalue=e(),n.hasmousecapture="setCapture"in t,n.hasMutationObserver=h!==!1,t=null,a=n,n},nt=function(n,f){function rt(){var n=e.win,t;if("zIndex"in n)return n.zIndex();while(n.length>0){if(n[0].nodeType==9)return!1;if(t=n.css("zIndex"),!isNaN(t)&&t!=0)return parseInt(t);n=n.parent()}return!1}function c(n,t,i){var u=n.css(t),r=parseFloat(u),f;return isNaN(r)?(r=nt[u]||0,f=r==3?i?e.win.outerHeight()-e.win.innerHeight():e.win.outerWidth()-e.win.innerWidth():1,e.isie8&&r&&(r+=1),f?r:0):r}function tt(n,t,i,r){e._bind(n,t,function(r){var r=r?r:window.event,u={original:r,target:r.target||r.srcElement,type:"wheel",deltaMode:r.type=="MozMousePixelScroll"?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return r.preventDefault?r.preventDefault():r.returnValue=!1,!1},stopImmediatePropagation:function(){r.stopImmediatePropagation?r.stopImmediatePropagation():r.cancelBubble=!0}};return t=="mousewheel"?(u.deltaY=-1/40*r.wheelDelta,r.wheelDeltaX&&(u.deltaX=-1/40*r.wheelDeltaX)):u.deltaY=r.detail,i.call(n,u)},r)}function it(n,t,i){var u,r;if(n.deltaMode==0?(u=-Math.floor(n.deltaX*(e.opt.mousescrollstep/54)),r=-Math.floor(n.deltaY*(e.opt.mousescrollstep/54))):n.deltaMode==1&&(u=-Math.floor(n.deltaX*e.opt.mousescrollstep),r=-Math.floor(n.deltaY*e.opt.mousescrollstep)),t&&e.opt.oneaxismousemode&&u==0&&r&&(u=r,r=0),u&&(e.scrollmom&&e.scrollmom.stop(),e.lastdeltax+=u,e.debounced("mousewheelx",function(){var n=e.lastdeltax;e.lastdeltax=0;e.rail.drag||e.doScrollLeftBy(n)},15)),r){if(e.opt.nativeparentscrolling&&i&&!e.ispage&&!e.zoomactive)if(r<0){if(e.getScrollTop()>=e.page.maxh)return!0}else if(e.getScrollTop()<=0)return!0;e.scrollmom&&e.scrollmom.stop();e.lastdeltay+=r;e.debounced("mousewheely",function(){var n=e.lastdeltay;e.lastdeltay=0;e.rail.drag||e.doScrollBy(n)},15)}return n.stopImmediatePropagation(),n.preventDefault()}var e=this,a,s,v,y,nt;if(this.version="3.5.4",this.name="nicescroll",this.me=f,this.opt={doc:t("body"),win:!1},t.extend(this.opt,p),this.opt.snapbackspeed=80,n||!1)for(a in e.opt)typeof n[a]!="undefined"&&(e.opt[a]=n[a]);this.doc=e.opt.doc;this.iddoc=this.doc&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/^BODY|HTML/.test(e.opt.win?e.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=e.opt.win!==!1;this.win=e.opt.win||(this.ispage?t(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?t(window):this.win;this.body=t("body");this.viewport=!1;this.isfixed=!1;this.iframe=!1;this.isiframe=this.doc[0].nodeName=="IFRAME"&&this.win[0].nodeName=="IFRAME";this.istextarea=this.win[0].nodeName=="TEXTAREA";this.forcescreen=!1;this.canshowonmouseevent=e.opt.autohidemode!="scroll";this.onmousedown=!1;this.onmouseup=!1;this.onmousemove=!1;this.onmousewheel=!1;this.onkeypress=!1;this.ongesturezoom=!1;this.onclick=!1;this.onscrollstart=!1;this.onscrollend=!1;this.onscrollcancel=!1;this.onzoomin=!1;this.onzoomout=!1;this.view=!1;this.page=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;this.isrtlmode=!1;this.scrollrunning=!1;this.scrollmom=!1;this.observer=!1;this.observerremover=!1;do this.id="ascrail"+k++;while(document.getElementById(this.id));if(this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.visibility=!0,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=e.opt.overflowx,this.overflowy=e.opt.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=g(),s=t.extend({},this.detected),this.canhwscroll=s.hastransform&&e.opt.hwacceleration,this.ishwscroll=this.canhwscroll&&e.haswrapper,this.istouchcapable=!1,s.cantouch&&s.ischrome&&!s.isios&&!s.isandroid&&(this.istouchcapable=!0,s.cantouch=!1),s.cantouch&&s.ismozilla&&!s.isios&&!s.isandroid&&(this.istouchcapable=!0,s.cantouch=!1),e.opt.enablemouselockapi||(s.hasmousecapture=!1,s.haspointerlock=!1),this.delayed=function(n,t,i,r){var u=e.delaylist[n],f=(new Date).getTime();if(!r&&u&&u.tt)return!1;u&&u.tt&&clearTimeout(u.tt);u&&u.last+i>f&&!u.tt?e.delaylist[n]={last:f+i,tt:setTimeout(function(){(e||!1)&&(e.delaylist[n].tt=0,t.call())},i)}:u&&u.tt||(e.delaylist[n]={last:f,tt:0},setTimeout(function(){t.call()},0))},this.debounced=function(n,t,i){var r=e.delaylist[n],u=(new Date).getTime();e.delaylist[n]=t;r||setTimeout(function(){var t=e.delaylist[n];e.delaylist[n]=!1;t.call()},i)},v=!1,this.synched=function(n,t){function r(){v||(i(function(){v=!1;for(n in e.synclist){var t=e.synclist[n];t&&t.call(e);e.synclist[n]=!1}}),v=!0)}return e.synclist[n]=t,r(),n},this.unsynched=function(n){e.synclist[n]&&(e.synclist[n]=!1)},this.css=function(n,t){for(var i in t)e.saved.css.push([n,i,n.css(i)]),n.css(i,t[i])},this.scrollTop=function(n){return typeof n=="undefined"?e.getScrollTop():e.setScrollTop(n)},this.scrollLeft=function(n){return typeof n=="undefined"?e.getScrollLeft():e.setScrollLeft(n)},BezierClass=function(n,t,i,r,u,f,e){this.st=n;this.ed=t;this.spd=i;this.p1=r||0;this.p2=u||1;this.p3=f||0;this.p4=e||1;this.ts=(new Date).getTime();this.df=this.ed-this.st},BezierClass.prototype={B2:function(n){return 3*n*n*(1-n)},B3:function(n){return 3*n*(1-n)*(1-n)},B4:function(n){return(1-n)*(1-n)*(1-n)},getNow:function(){var t=(new Date).getTime(),n=1-(t-this.ts)/this.spd,i=this.B2(n)+this.B3(n)+this.B4(n);return n<0?this.ed:this.st+Math.round(this.df*i)},update:function(n,t){return this.st=this.getNow(),this.ed=n,this.spd=t,this.ts=(new Date).getTime(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};s.hastranslate3d&&s.isios&&this.doc.css("-webkit-backface-visibility","hidden");function d(){var n=e.doc.css(s.trstyle);return n&&n.substr(0,6)=="matrix"?n.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/):!1}this.getScrollTop=function(n){if(!n){var t=d();if(t)return t.length==16?-t[13]:-t[5];if(e.timerscroll&&e.timerscroll.bz)return e.timerscroll.bz.getNow()}return e.doc.translate.y};this.getScrollLeft=function(n){if(!n){var t=d();if(t)return t.length==16?-t[12]:-t[4];if(e.timerscroll&&e.timerscroll.bh)return e.timerscroll.bh.getNow()}return e.doc.translate.x};this.notifyScrollEvent=document.createEvent?function(n){var t=document.createEvent("UIEvents");t.initUIEvent("scroll",!1,!0,window,1);n.dispatchEvent(t)}:document.fireEvent?function(n){var t=document.createEventObject();n.fireEvent("onscroll");t.cancelBubble=!0}:function(){};y=-1;s.hastranslate3d&&e.opt.enabletranslate3d?(this.setScrollTop=function(n,t){e.doc.translate.y=n;e.doc.translate.ty=n*-1+"px";e.doc.css(s.trstyle,"translate3d("+e.doc.translate.tx+","+e.doc.translate.ty+",0px)");t||e.notifyScrollEvent(e.win[0])},this.setScrollLeft=function(n,t){e.doc.translate.x=n;e.doc.translate.tx=n*y+"px";e.doc.css(s.trstyle,"translate3d("+e.doc.translate.tx+","+e.doc.translate.ty+",0px)");t||e.notifyScrollEvent(e.win[0])}):(this.setScrollTop=function(n,t){e.doc.translate.y=n;e.doc.translate.ty=n*-1+"px";e.doc.css(s.trstyle,"translate("+e.doc.translate.tx+","+e.doc.translate.ty+")");t||e.notifyScrollEvent(e.win[0])},this.setScrollLeft=function(n,t){e.doc.translate.x=n;e.doc.translate.tx=n*y+"px";e.doc.css(s.trstyle,"translate("+e.doc.translate.tx+","+e.doc.translate.ty+")");t||e.notifyScrollEvent(e.win[0])})}else this.getScrollTop=function(){return e.docscroll.scrollTop()},this.setScrollTop=function(n){return e.docscroll.scrollTop(n)},this.getScrollLeft=function(){return e.docscroll.scrollLeft()},this.setScrollLeft=function(n){return e.docscroll.scrollLeft(n)};this.getTarget=function(n){return n?n.target?n.target:n.srcElement?n.srcElement:!1:!1};this.hasParent=function(n,t){if(!n)return!1;for(var i=n.target||n.srcElement||n||!1;i&&i.id!=t;)i=i.parentNode||!1;return i!==!1};nt={thin:1,medium:3,thick:5};this.getOffset=function(){if(e.isfixed)return{top:parseFloat(e.win.css("top")),left:parseFloat(e.win.css("left"))};if(!e.viewport)return e.win.offset();var n=e.win.offset(),t=e.viewport.offset();return{top:n.top-t.top+e.viewport.scrollTop(),left:n.left-t.left+e.viewport.scrollLeft()}};this.updateScrollBar=function(n){var r,t,u,i;if(e.ishwscroll)e.rail.css({height:e.win.innerHeight()}),e.railh&&e.railh.css({width:e.win.innerWidth()});else if(r=e.getOffset(),t={top:r.top,left:r.left},t.top+=c(e.win,"border-top-width",!0),u=(e.win.outerWidth()-e.win.innerWidth())/2,t.left+=e.rail.align?e.win.outerWidth()-c(e.win,"border-right-width")-e.rail.width:c(e.win,"border-left-width"),i=e.opt.railoffset,i&&(i.top&&(t.top+=i.top),e.rail.align&&i.left&&(t.left+=i.left)),e.locked||e.rail.css({top:t.top,left:t.left,height:n?n.h:e.win.innerHeight()}),e.zoom&&e.zoom.css({top:t.top+1,left:e.rail.align==1?t.left-20:t.left+e.rail.width+4}),e.railh&&!e.locked){var t={top:r.top,left:r.left},f=e.railh.align?t.top+c(e.win,"border-top-width",!0)+e.win.innerHeight()-e.railh.height:t.top+c(e.win,"border-top-width",!0),o=t.left+c(e.win,"border-left-width");e.railh.css({top:f,left:o,width:e.railh.width})}};this.doRailClick=function(n,t,i){var r,f,u,o;e.locked||(e.cancelEvent(n),t?(r=i?e.doScrollLeft:e.doScrollTop,u=i?(n.pageX-e.railh.offset().left-e.cursorwidth/2)*e.scrollratio.x:(n.pageY-e.rail.offset().top-e.cursorheight/2)*e.scrollratio.y,r(u)):(r=i?e.doScrollLeftBy:e.doScrollBy,u=i?e.scroll.x:e.scroll.y,o=i?n.pageX-e.railh.offset().left:n.pageY-e.rail.offset().top,f=i?e.view.w:e.view.h,u>=o?r(f):r(-f)))};e.hasanimationframe=i;e.hascancelanimationframe=r;e.hasanimationframe?e.hascancelanimationframe||(r=function(){e.cancelAnimationFrame=!0}):(i=function(n){return setTimeout(n,15-Math.floor(+new Date/1e3)%16)},r=clearInterval);this.init=function(){var f,n,p,c,k,nt,a,r,i,v,y,d,g,tt,ut,ft;if((e.saved.css=[],s.isie7mobile)||s.isoperamini)return!0;if(s.hasmstouch&&e.css(e.ispage?t("html"):e.win,{"-ms-touch-action":"none"}),e.zindex="auto",e.zindex=e.ispage||e.opt.zindex!="auto"?e.opt.zindex:rt()||"auto",e.ispage||e.zindex=="auto"||e.zindex>u&&(u=e.zindex),e.isie&&e.zindex==0&&e.opt.zindex=="auto"&&(e.zindex="auto"),!e.ispage||!s.cantouch&&!s.isieold&&!s.isie9mobile){f=e.docscroll;e.ispage&&(f=e.haswrapper?e.win:e.doc);s.isie9mobile||e.css(f,{"overflow-y":"hidden"});e.ispage&&s.isie7&&(e.doc[0].nodeName=="BODY"?e.css(t("html"),{"overflow-y":"hidden"}):e.doc[0].nodeName=="HTML"&&e.css(t("body"),{"overflow-y":"hidden"}));!s.isios||e.ispage||e.haswrapper||e.css(t("body"),{"-webkit-overflow-scrolling":"touch"});r=t(document.createElement("div"));r.css({position:"relative",top:0,float:"right",width:e.opt.cursorwidth,height:"0px","background-color":e.opt.cursorcolor,border:e.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":e.opt.cursorborderradius,"-moz-border-radius":e.opt.cursorborderradius,"border-radius":e.opt.cursorborderradius});r.hborder=parseFloat(r.outerHeight()-r.innerHeight());e.cursor=r;n=t(document.createElement("div"));n.attr("id",e.id);n.addClass("nicescroll-rails");k=["left","right"];for(nt in k)c=k[nt],p=e.opt.railpadding[c],p?n.css("padding-"+c,p+"px"):e.opt.railpadding[c]=0;if(n.append(r),n.width=Math.max(parseFloat(e.opt.cursorwidth),r.outerWidth())+e.opt.railpadding.left+e.opt.railpadding.right,n.css({width:n.width+"px",zIndex:e.zindex,background:e.opt.background,cursor:"default"}),n.visibility=!0,n.scrollable=!0,n.align=e.opt.railalign=="left"?0:1,e.rail=n,e.rail.drag=!1,a=!1,!e.opt.boxzoom||e.ispage||s.isieold||(a=document.createElement("div"),e.bind(a,"click",e.doZoom),e.zoom=t(a),e.zoom.css({cursor:"pointer","z-index":e.zindex,backgroundImage:"url("+e.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),e.opt.dblclickzoom&&e.bind(e.win,"dblclick",e.doZoom),s.cantouch&&e.opt.gesturezoom&&(e.ongesturezoom=function(n){return n.scale>1.5&&e.doZoomIn(n),n.scale<.8&&e.doZoomOut(n),e.cancelEvent(n)},e.bind(e.win,"gestureend",e.ongesturezoom))),e.railh=!1,e.opt.horizrailenabled&&(e.css(f,{"overflow-x":"hidden"}),r=t(document.createElement("div")),r.css({position:"relative",top:0,height:e.opt.cursorwidth,width:"0px","background-color":e.opt.cursorcolor,border:e.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":e.opt.cursorborderradius,"-moz-border-radius":e.opt.cursorborderradius,"border-radius":e.opt.cursorborderradius}),r.wborder=parseFloat(r.outerWidth()-r.innerWidth()),e.cursorh=r,i=t(document.createElement("div")),i.attr("id",e.id+"-hr"),i.addClass("nicescroll-rails"),i.height=Math.max(parseFloat(e.opt.cursorwidth),r.outerHeight()),i.css({height:i.height+"px",zIndex:e.zindex,background:e.opt.background}),i.append(r),i.visibility=!0,i.scrollable=!0,i.align=e.opt.railvalign=="top"?0:1,e.railh=i,e.railh.drag=!1),e.ispage?(n.css({position:"fixed",top:"0px",height:"100%"}),n.align?n.css({right:"0px"}):n.css({left:"0px"}),e.body.append(n),e.railh&&(i.css({position:"fixed",left:"0px",width:"100%"}),i.align?i.css({bottom:"0px"}):i.css({top:"0px"}),e.body.append(i))):(e.ishwscroll?(e.win.css("position")=="static"&&e.css(e.win,{position:"relative"}),v=e.win[0].nodeName=="HTML"?e.body:e.win,e.zoom&&(e.zoom.css({position:"absolute",top:1,right:0,"margin-right":n.width+4}),v.append(e.zoom)),n.css({position:"absolute",top:0}),n.align?n.css({right:0}):n.css({left:0}),v.append(n),i&&(i.css({position:"absolute",left:0,bottom:0}),i.align?i.css({bottom:0}):i.css({top:0}),v.append(i))):(e.isfixed=e.win.css("position")=="fixed",y=e.isfixed?"fixed":"absolute",e.isfixed||(e.viewport=e.getViewport(e.win[0])),e.viewport&&(e.body=e.viewport,/fixed|relative|absolute/.test(e.viewport.css("position"))==!1&&e.css(e.viewport,{position:"relative"})),n.css({position:y}),e.zoom&&e.zoom.css({position:y}),e.updateScrollBar(),e.body.append(n),e.zoom&&e.body.append(e.zoom),e.railh&&(i.css({position:y}),e.body.append(i))),s.isios&&e.css(e.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),s.isie&&e.opt.disableoutline&&e.win.attr("hideFocus","true"),s.iswebkit&&e.opt.disableoutline&&e.win.css({outline:"none"})),e.opt.autohidemode===!1?(e.autohidedom=!1,e.rail.css({opacity:e.opt.cursoropacitymax}),e.railh&&e.railh.css({opacity:e.opt.cursoropacitymax})):e.opt.autohidemode===!0||e.opt.autohidemode==="leave"?(e.autohidedom=t().add(e.rail),s.isie8&&(e.autohidedom=e.autohidedom.add(e.cursor)),e.railh&&(e.autohidedom=e.autohidedom.add(e.railh)),e.railh&&s.isie8&&(e.autohidedom=e.autohidedom.add(e.cursorh))):e.opt.autohidemode=="scroll"?(e.autohidedom=t().add(e.rail),e.railh&&(e.autohidedom=e.autohidedom.add(e.railh))):e.opt.autohidemode=="cursor"?(e.autohidedom=t().add(e.cursor),e.railh&&(e.autohidedom=e.autohidedom.add(e.cursorh))):e.opt.autohidemode=="hidden"&&(e.autohidedom=!1,e.hide(),e.locked=!1),s.isie9mobile)e.scrollmom=new w(e),e.onmangotouch=function(){var n=e.getScrollTop(),t=e.getScrollLeft(),c,s;if(n==e.scrollmom.lastscrolly&&t==e.scrollmom.lastscrollx)return!0;var r=n-e.mangotouch.sy,u=t-e.mangotouch.sx,h=Math.round(Math.sqrt(Math.pow(u,2)+Math.pow(r,2)));if(h!=0){var f=r<0?-1:1,o=u<0?-1:1,i=+new Date;e.mangotouch.lazy&&clearTimeout(e.mangotouch.lazy);i-e.mangotouch.tm>80||e.mangotouch.dry!=f||e.mangotouch.drx!=o?(e.scrollmom.stop(),e.scrollmom.reset(t,n),e.mangotouch.sy=n,e.mangotouch.ly=n,e.mangotouch.sx=t,e.mangotouch.lx=t,e.mangotouch.dry=f,e.mangotouch.drx=o,e.mangotouch.tm=i):(e.scrollmom.stop(),e.scrollmom.update(e.mangotouch.sx-u,e.mangotouch.sy-r),c=i-e.mangotouch.tm,e.mangotouch.tm=i,s=Math.max(Math.abs(e.mangotouch.ly-n),Math.abs(e.mangotouch.lx-t)),e.mangotouch.ly=n,e.mangotouch.lx=t,s>2&&(e.mangotouch.lazy=setTimeout(function(){e.mangotouch.lazy=!1;e.mangotouch.dry=0;e.mangotouch.drx=0;e.mangotouch.tm=0;e.scrollmom.doMomentum(30)},100)))}},d=e.getScrollTop(),g=e.getScrollLeft(),e.mangotouch={sy:d,ly:d,dry:0,sx:g,lx:g,drx:0,lazy:!1,tm:0},e.bind(e.docscroll,"scroll",e.onmangotouch);else{if((s.cantouch||e.istouchcapable||e.opt.touchbehavior||s.hasmstouch)&&(e.scrollmom=new w(e),e.ontouchstart=function(n){var r,i,o,u,n,f,l;if(n.pointerType&&n.pointerType!=2)return!1;if(e.hasmoving=!1,!e.locked){if(s.hasmstouch)for(i=n.target?n.target:!1;i;){if(r=t(i).getNiceScroll(),r.length>0&&r[0].me==e.me)break;if(r.length>0)return!1;if(i.nodeName=="DIV"&&i.id==e.id)break;i=i.parentNode?i.parentNode:!1}if(e.cancelScroll(),i=e.getTarget(n),i&&(o=/INPUT/i.test(i.nodeName)&&/range/i.test(i.type),o))return e.stopPropagation(n);if(!("clientX"in n)&&"changedTouches"in n&&(n.clientX=n.changedTouches[0].clientX,n.clientY=n.changedTouches[0].clientY),e.forcescreen&&(u=n,n={original:n.original?n.original:n},n.clientX=u.screenX,n.clientY=u.screenY),e.rail.drag={x:n.clientX,y:n.clientY,sx:e.scroll.x,sy:e.scroll.y,st:e.getScrollTop(),sl:e.getScrollLeft(),pt:2,dl:!1},e.ispage||!e.opt.directionlockdeadzone)e.rail.drag.dl="f";else{var h={w:t(window).width(),h:t(window).height()},c={w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},a=Math.max(0,c.h-h.h),v=Math.max(0,c.w-h.w);e.rail.drag.ck=!e.rail.scrollable&&e.railh.scrollable?a>0?"v":!1:e.rail.scrollable&&!e.railh.scrollable?v>0?"h":!1:!1;e.rail.drag.ck||(e.rail.drag.dl="f")}if(e.opt.touchbehavior&&e.isiframe&&s.isie&&(f=e.win.position(),e.rail.drag.x+=f.left,e.rail.drag.y+=f.top),e.hasmoving=!1,e.lastmouseup=!1,e.scrollmom.reset(n.clientX,n.clientY),!s.cantouch&&!this.istouchcapable&&!s.hasmstouch){if(l=i?/INPUT|SELECT|TEXTAREA/i.test(i.nodeName):!1,!l)return(!e.ispage&&s.hasmousecapture&&i.setCapture(),e.opt.touchbehavior)?(!i.onclick||i._onclick||!1||(i._onclick=i.onclick,i.onclick=function(n){if(e.hasmoving)return!1;i._onclick.call(this,n)}),e.cancelEvent(n)):e.stopPropagation(n);/SUBMIT|CANCEL|BUTTON/i.test(t(i).attr("type"))&&(pc={tg:i,click:!1},e.preventclick=pc)}}},e.ontouchend=function(n){return n.pointerType&&n.pointerType!=2?!1:e.rail.drag&&e.rail.drag.pt==2&&(e.scrollmom.doMomentum(),e.rail.drag=!1,e.hasmoving&&(e.lastmouseup=!0,e.hideCursor(),s.hasmousecapture&&document.releaseCapture(),!s.cantouch))?e.cancelEvent(n):void 0},tt=e.opt.touchbehavior&&e.isiframe&&!s.hasmousecapture,e.ontouchmove=function(n,i){var w,v,n,y,p,u,h;if(n.pointerType&&n.pointerType!=2)return!1;if(e.rail.drag&&e.rail.drag.pt==2){if(s.cantouch&&typeof n.original=="undefined")return!0;e.hasmoving=!0;e.preventclick&&!e.preventclick.click&&(e.preventclick.click=e.preventclick.tg.onclick||!1,e.preventclick.tg.onclick=e.onpreventclick);w=t.extend({original:n},n);n=w;"changedTouches"in n&&(n.clientX=n.changedTouches[0].clientX,n.clientY=n.changedTouches[0].clientY);e.forcescreen&&(v=n,n={original:n.original?n.original:n},n.clientX=v.screenX,n.clientY=v.screenY);y=ofy=0;tt&&!i&&(p=e.win.position(),y=-p.left,ofy=-p.top);var f=n.clientY+ofy,b=f-e.rail.drag.y,o=n.clientX+y,k=o-e.rail.drag.x,r=e.rail.drag.st-b;if(e.ishwscroll&&e.opt.bouncescroll?r<0?r=Math.round(r/2):r>e.page.maxh&&(r=e.page.maxh+Math.round((r-e.page.maxh)/2)):(r<0&&(r=0,f=0),r>e.page.maxh&&(r=e.page.maxh,f=0)),e.railh&&e.railh.scrollable&&(u=e.rail.drag.sl-k,e.ishwscroll&&e.opt.bouncescroll?u<0?u=Math.round(u/2):u>e.page.maxw&&(u=e.page.maxw+Math.round((u-e.page.maxw)/2)):(u<0&&(u=0,o=0),u>e.page.maxw&&(u=e.page.maxw,o=0))),h=!1,e.rail.drag.dl)h=!0,e.rail.drag.dl=="v"?u=e.rail.drag.sl:e.rail.drag.dl=="h"&&(r=e.rail.drag.st);else{var c=Math.abs(b),l=Math.abs(k),a=e.opt.directionlockdeadzone;if(e.rail.drag.ck=="v"){if(c>a&&l<=c*.3)return e.rail.drag=!1,!0;l>a&&(e.rail.drag.dl="f",t("body").scrollTop(t("body").scrollTop()))}else if(e.rail.drag.ck=="h"){if(l>a&&c<=l*.3)return e.rail.drag=!1,!0;c>a&&(e.rail.drag.dl="f",t("body").scrollLeft(t("body").scrollLeft()))}}if(e.synched("touchmove",function(){e.rail.drag&&e.rail.drag.pt==2&&(e.prepareTransition&&e.prepareTransition(0),e.rail.scrollable&&e.setScrollTop(r),e.scrollmom.update(o,f),e.railh&&e.railh.scrollable?(e.setScrollLeft(u),e.showCursor(r,u)):e.showCursor(r),s.isie10&&document.selection.clear())}),s.ischrome&&e.istouchcapable&&(h=!1),h)return e.cancelEvent(n)}}),e.onmousedown=function(n,t){if(!e.rail.drag||e.rail.drag.pt==1){if(e.locked)return e.cancelEvent(n);e.cancelScroll();e.rail.drag={x:n.clientX,y:n.clientY,sx:e.scroll.x,sy:e.scroll.y,pt:1,hr:!!t};var i=e.getTarget(n);return!e.ispage&&s.hasmousecapture&&i.setCapture(),e.isiframe&&!s.hasmousecapture&&(e.saved.csspointerevents=e.doc.css("pointer-events"),e.css(e.doc,{"pointer-events":"none"})),e.hasmoving=!1,e.cancelEvent(n)}},e.onmouseup=function(n){if(e.rail.drag)return(s.hasmousecapture&&document.releaseCapture(),e.isiframe&&!s.hasmousecapture&&e.doc.css("pointer-events",e.saved.csspointerevents),e.rail.drag.pt!=1)?void 0:(e.rail.drag=!1,e.hasmoving&&e.triggerScrollEnd(),e.cancelEvent(n))},e.onmousemove=function(n){var t,i;if(e.rail.drag)return e.rail.drag.pt!=1?void 0:s.ischrome&&n.which==0?e.onmouseup(n):(e.cursorfreezed=!0,e.hasmoving=!0,e.rail.drag.hr?(e.scroll.x=e.rail.drag.sx+(n.clientX-e.rail.drag.x),e.scroll.x<0&&(e.scroll.x=0),t=e.scrollvaluemaxw,e.scroll.x>t&&(e.scroll.x=t)):(e.scroll.y=e.rail.drag.sy+(n.clientY-e.rail.drag.y),e.scroll.y<0&&(e.scroll.y=0),i=e.scrollvaluemax,e.scroll.y>i&&(e.scroll.y=i)),e.synched("mousemove",function(){e.rail.drag&&e.rail.drag.pt==1&&(e.showCursor(),e.rail.drag.hr?e.doScrollLeft(Math.round(e.scroll.x*e.scrollratio.x),e.opt.cursordragspeed):e.doScrollTop(Math.round(e.scroll.y*e.scrollratio.y),e.opt.cursordragspeed))}),e.cancelEvent(n))},s.cantouch||e.opt.touchbehavior)e.onpreventclick=function(n){if(e.preventclick)return e.preventclick.tg.onclick=e.preventclick.click,e.preventclick=!1,e.cancelEvent(n)},e.bind(e.win,"mousedown",e.ontouchstart),e.onclick=s.isios?!1:function(n){return e.lastmouseup?(e.lastmouseup=!1,e.cancelEvent(n)):!0},e.opt.grabcursorenabled&&s.cursorgrabvalue&&(e.css(e.ispage?e.doc:e.win,{cursor:s.cursorgrabvalue}),e.css(e.rail,{cursor:s.cursorgrabvalue}));else{function it(n){var i,t,r;e.selectiondrag&&(n&&(i=e.win.outerHeight(),t=n.pageY-e.selectiondrag.top,t>0&&t<i&&(t=0),t>=i&&(t-=i),e.selectiondrag.df=t),e.selectiondrag.df!=0)&&(r=-Math.floor(e.selectiondrag.df/6)*2,e.doScrollBy(r),e.debounced("doselectionscroll",function(){it()},50))}e.hasTextSelected="getSelection"in document?function(){return document.getSelection().rangeCount>0}:"selection"in document?function(){return document.selection.type!="None"}:function(){return!1};e.onselectionstart=function(){e.ispage||(e.selectiondrag=e.win.offset())};e.onselectionend=function(){e.selectiondrag=!1};e.onselectiondrag=function(n){e.selectiondrag&&e.hasTextSelected()&&e.debounced("selectionscroll",function(){it(n)},250)}}s.hasmstouch&&(e.css(e.rail,{"-ms-touch-action":"none"}),e.css(e.cursor,{"-ms-touch-action":"none"}),e.bind(e.win,"MSPointerDown",e.ontouchstart),e.bind(document,"MSPointerUp",e.ontouchend),e.bind(document,"MSPointerMove",e.ontouchmove),e.bind(e.cursor,"MSGestureHold",function(n){n.preventDefault()}),e.bind(e.cursor,"contextmenu",function(n){n.preventDefault()}));this.istouchcapable&&(e.bind(e.win,"touchstart",e.ontouchstart),e.bind(document,"touchend",e.ontouchend),e.bind(document,"touchcancel",e.ontouchend),e.bind(document,"touchmove",e.ontouchmove));e.bind(e.cursor,"mousedown",e.onmousedown);e.bind(e.cursor,"mouseup",e.onmouseup);e.railh&&(e.bind(e.cursorh,"mousedown",function(n){e.onmousedown(n,!0)}),e.bind(e.cursorh,"mouseup",e.onmouseup));!e.opt.cursordragontouch&&(s.cantouch||e.opt.touchbehavior)||(e.rail.css({cursor:"default"}),e.railh&&e.railh.css({cursor:"default"}),e.jqbind(e.rail,"mouseenter",function(){if(!e.win.is(":visible"))return!1;e.canshowonmouseevent&&e.showCursor();e.rail.active=!0}),e.jqbind(e.rail,"mouseleave",function(){e.rail.active=!1;e.rail.drag||e.hideCursor()}),e.opt.sensitiverail&&(e.bind(e.rail,"click",function(n){e.doRailClick(n,!1,!1)}),e.bind(e.rail,"dblclick",function(n){e.doRailClick(n,!0,!1)}),e.bind(e.cursor,"click",function(n){e.cancelEvent(n)}),e.bind(e.cursor,"dblclick",function(n){e.cancelEvent(n)})),e.railh&&(e.jqbind(e.railh,"mouseenter",function(){if(!e.win.is(":visible"))return!1;e.canshowonmouseevent&&e.showCursor();e.rail.active=!0}),e.jqbind(e.railh,"mouseleave",function(){e.rail.active=!1;e.rail.drag||e.hideCursor()}),e.opt.sensitiverail&&(e.bind(e.railh,"click",function(n){e.doRailClick(n,!1,!0)}),e.bind(e.railh,"dblclick",function(n){e.doRailClick(n,!0,!0)}),e.bind(e.cursorh,"click",function(n){e.cancelEvent(n)}),e.bind(e.cursorh,"dblclick",function(n){e.cancelEvent(n)}))));s.cantouch||e.opt.touchbehavior?(e.bind(s.hasmousecapture?e.win:document,"mouseup",e.ontouchend),e.bind(document,"mousemove",e.ontouchmove),e.onclick&&e.bind(document,"click",e.onclick),e.opt.cursordragontouch&&(e.bind(e.cursor,"mousedown",e.onmousedown),e.bind(e.cursor,"mousemove",e.onmousemove),e.cursorh&&e.bind(e.cursorh,"mousedown",function(n){e.onmousedown(n,!0)}),e.cursorh&&e.bind(e.cursorh,"mousemove",e.onmousemove))):(e.bind(s.hasmousecapture?e.win:document,"mouseup",e.onmouseup),e.bind(document,"mousemove",e.onmousemove),e.onclick&&e.bind(document,"click",e.onclick),!e.ispage&&e.opt.enablescrollonselection&&(e.bind(e.win[0],"mousedown",e.onselectionstart),e.bind(document,"mouseup",e.onselectionend),e.bind(e.cursor,"mouseup",e.onselectionend),e.cursorh&&e.bind(e.cursorh,"mouseup",e.onselectionend),e.bind(document,"mousemove",e.onselectiondrag)),e.zoom&&(e.jqbind(e.zoom,"mouseenter",function(){e.canshowonmouseevent&&e.showCursor();e.rail.active=!0}),e.jqbind(e.zoom,"mouseleave",function(){e.rail.active=!1;e.rail.drag||e.hideCursor()})));e.opt.enablemousewheel&&(e.isiframe||e.bind(s.isie&&e.ispage?document:e.win,"mousewheel",e.onmousewheel),e.bind(e.rail,"mousewheel",e.onmousewheel),e.railh&&e.bind(e.railh,"mousewheel",e.onmousewheelhr));e.ispage||s.cantouch||/HTML|^BODY/.test(e.win[0].nodeName)||(e.win.attr("tabindex")||e.win.attr({tabindex:b++}),e.jqbind(e.win,"focus",function(n){o=e.getTarget(n).id||!0;e.hasfocus=!0;e.canshowonmouseevent&&e.noticeCursor()}),e.jqbind(e.win,"blur",function(){o=!1;e.hasfocus=!1}),e.jqbind(e.win,"mouseenter",function(n){l=e.getTarget(n).id||!0;e.hasmousefocus=!0;e.canshowonmouseevent&&e.noticeCursor()}),e.jqbind(e.win,"mouseleave",function(){l=!1;e.hasmousefocus=!1;e.rail.drag||e.hideCursor()}))}e.onkeypress=function(n){var r,s,f;if(e.locked&&e.page.maxh==0||(n=n?n:window.e,r=e.getTarget(n),r&&/INPUT|TEXTAREA|SELECT|OPTION/.test(r.nodeName)&&(s=r.getAttribute("type")||r.type||!1,!s||!/submit|button|cancel/i.tp))||t(r).attr("contenteditable"))return!0;if(e.hasfocus||e.hasmousefocus&&!o||e.ispage&&!o&&!l){if(f=n.keyCode,e.locked&&f!=27)return e.cancelEvent(n);var u=n.ctrlKey||!1,h=n.shiftKey||!1,i=!1;switch(f){case 38:case 63233:e.doScrollBy(72);i=!0;break;case 40:case 63235:e.doScrollBy(-72);i=!0;break;case 37:case 63232:e.railh&&(u?e.doScrollLeft(0):e.doScrollLeftBy(72),i=!0);break;case 39:case 63234:e.railh&&(u?e.doScrollLeft(e.page.maxw):e.doScrollLeftBy(-72),i=!0);break;case 33:case 63276:e.doScrollBy(e.view.h);i=!0;break;case 34:case 63277:e.doScrollBy(-e.view.h);i=!0;break;case 36:case 63273:e.railh&&u?e.doScrollPos(0,0):e.doScrollTo(0);i=!0;break;case 35:case 63275:e.railh&&u?e.doScrollPos(e.page.maxw,e.page.maxh):e.doScrollTo(e.page.maxh);i=!0;break;case 32:e.opt.spacebarenabled&&(h?e.doScrollBy(e.view.h):e.doScrollBy(-e.view.h),i=!0);break;case 27:e.zoomactive&&(e.doZoom(),i=!0)}if(i)return e.cancelEvent(n)}};e.opt.enablekeyboard&&e.bind(document,s.isopera&&!s.isopera12?"keypress":"keydown",e.onkeypress);e.bind(document,"keydown",function(n){var t=n.ctrlKey||!1;t&&(e.wheelprevented=!0)});e.bind(document,"keyup",function(n){var t=n.ctrlKey||!1;t||(e.wheelprevented=!1)});e.bind(window,"resize",e.lazyResize);e.bind(window,"orientationchange",e.lazyResize);e.bind(window,"load",e.lazyResize);!s.ischrome||e.ispage||e.haswrapper||(ut=e.win.attr("style"),ft=parseFloat(e.win.css("width"))+1,e.win.css("width",ft),e.synched("chromefix",function(){e.win.attr("style",ut)}));e.onAttributeChange=function(){e.lazyResize(250)};e.ispage||e.haswrapper||(h!==!1?(e.observer=new h(function(n){n.forEach(e.onAttributeChange)}),e.observer.observe(e.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),e.observerremover=new h(function(n){n.forEach(function(n){if(n.removedNodes.length>0)for(var t in n.removedNodes)if(n.removedNodes[t]==e.win[0])return e.remove()})}),e.observerremover.observe(e.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(e.bind(e.win,s.isie&&!s.isie9?"propertychange":"DOMAttrModified",e.onAttributeChange),s.isie9&&e.win[0].attachEvent("onpropertychange",e.onAttributeChange),e.bind(e.win,"DOMNodeRemoved",function(n){n.target==e.win[0]&&e.remove()})));!e.ispage&&e.opt.boxzoom&&e.bind(window,"resize",e.resizeZoom);e.istextarea&&e.bind(e.win,"mouseup",e.lazyResize);e.lazyResize(30)}if(this.doc[0].nodeName=="IFRAME"){function et(){var n,r,i;e.iframexd=!1;try{n="contentDocument"in this?this.contentDocument:this.contentWindow.document;r=n.domain}catch(e){e.iframexd=!0;n=!1}if(e.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;e.forcescreen=!0;e.isiframe&&(e.iframe={doc:t(n),html:e.doc.contents().find("html")[0],body:e.doc.contents().find("body")[0]},e.getContentSize=function(){return{w:Math.max(e.iframe.html.scrollWidth,e.iframe.body.scrollWidth),h:Math.max(e.iframe.html.scrollHeight,e.iframe.body.scrollHeight)}},e.docscroll=t(e.iframe.body));s.isios||!e.opt.iframeautoresize||e.isiframe||(e.win.scrollTop(0),e.doc.height(""),i=Math.max(n.getElementsByTagName("html")[0].scrollHeight,n.body.scrollHeight),e.doc.height(i));e.lazyResize(30);s.isie7&&e.css(t(e.iframe.html),{"overflow-y":"hidden"});e.css(t(e.iframe.body),{"overflow-y":"hidden"});s.isios&&e.haswrapper&&e.css(t(n.body),{"-webkit-transform":"translate3d(0,0,0)"});"contentWindow"in this?e.bind(this.contentWindow,"scroll",e.onscroll):e.bind(n,"scroll",e.onscroll);e.opt.enablemousewheel&&e.bind(n,"mousewheel",e.onmousewheel);e.opt.enablekeyboard&&e.bind(n,s.isopera?"keypress":"keydown",e.onkeypress);(s.cantouch||e.opt.touchbehavior)&&(e.bind(n,"mousedown",e.ontouchstart),e.bind(n,"mousemove",function(n){e.ontouchmove(n,!0)}),e.opt.grabcursorenabled&&s.cursorgrabvalue&&e.css(t(n.body),{cursor:s.cursorgrabvalue}));e.bind(n,"mouseup",e.ontouchend);e.zoom&&(e.opt.dblclickzoom&&e.bind(n,"dblclick",e.doZoom),e.ongesturezoom&&e.bind(n,"gestureend",e.ongesturezoom))}this.doc[0].readyState&&this.doc[0].readyState=="complete"&&setTimeout(function(){et.call(e.doc[0],!1)},500);e.bind(this.doc,"load",et)}};this.showCursor=function(n,t){(e.cursortimeout&&(clearTimeout(e.cursortimeout),e.cursortimeout=0),e.rail)&&(e.autohidedom&&(e.autohidedom.stop().css({opacity:e.opt.cursoropacitymax}),e.cursoractive=!0),e.rail.drag&&e.rail.drag.pt==1||(typeof n!="undefined"&&n!==!1&&(e.scroll.y=Math.round(n*1/e.scrollratio.y)),typeof t!="undefined"&&(e.scroll.x=Math.round(t*1/e.scrollratio.x))),e.cursor.css({height:e.cursorheight,top:e.scroll.y}),e.cursorh&&(!e.rail.align&&e.rail.visibility?e.cursorh.css({width:e.cursorwidth,left:e.scroll.x+e.rail.width}):e.cursorh.css({width:e.cursorwidth,left:e.scroll.x}),e.cursoractive=!0),e.zoom&&e.zoom.stop().css({opacity:e.opt.cursoropacitymax}))};this.hideCursor=function(n){e.cursortimeout||e.rail&&e.autohidedom&&(e.hasmousefocus&&e.opt.autohidemode=="leave"||(e.cursortimeout=setTimeout(function(){e.rail.active&&e.showonmouseevent||(e.autohidedom.stop().animate({opacity:e.opt.cursoropacitymin}),e.zoom&&e.zoom.stop().animate({opacity:e.opt.cursoropacitymin}),e.cursoractive=!1);e.cursortimeout=0},n||e.opt.hidecursordelay)))};this.noticeCursor=function(n,t,i){e.showCursor(t,i);e.rail.active||e.hideCursor(n)};this.getContentSize=e.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:e.haswrapper?function(){return{w:e.doc.outerWidth()+parseInt(e.win.css("paddingLeft"))+parseInt(e.win.css("paddingRight")),h:e.doc.outerHeight()+parseInt(e.win.css("paddingTop"))+parseInt(e.win.css("paddingBottom"))}}:function(){return{w:e.docscroll[0].scrollWidth,h:e.docscroll[0].scrollHeight}};this.onResize=function(n,t){var i,r,u;if(!e||!e.win)return!1;if(!e.haswrapper&&!e.ispage){if(e.win.css("display")=="none")return e.visibility&&e.hideRail().hideRailHr(),!1;e.hidden||e.visibility||e.showRail().showRailHr()}var f=e.page.maxh,o=e.page.maxw,s={h:e.view.h,w:e.view.w};if(e.view={w:e.ispage?e.win.width():parseInt(e.win[0].clientWidth),h:e.ispage?e.win.height():parseInt(e.win[0].clientHeight)},e.page=t?t:e.getContentSize(),e.page.maxh=Math.max(0,e.page.h-e.view.h),e.page.maxw=Math.max(0,e.page.w-e.view.w),e.page.maxh==f&&e.page.maxw==o&&e.view.w==s.w){if(e.ispage||(i=e.win.offset(),e.lastposition&&(r=e.lastposition,r.top==i.top&&r.left==i.left)))return e;e.lastposition=i}return(e.page.maxh==0?(e.hideRail(),e.scrollvaluemax=0,e.scroll.y=0,e.scrollratio.y=0,e.cursorheight=0,e.setScrollTop(0),e.rail.scrollable=!1):e.rail.scrollable=!0,e.page.maxw==0?(e.hideRailHr(),e.scrollvaluemaxw=0,e.scroll.x=0,e.scrollratio.x=0,e.cursorwidth=0,e.setScrollLeft(0),e.railh.scrollable=!1):e.railh.scrollable=!0,e.locked=e.page.maxh==0&&e.page.maxw==0,e.locked)?(e.ispage||e.updateScrollBar(e.view),!1):(e.hidden||e.visibility?e.hidden||e.railh.visibility||e.showRailHr():e.showRail().showRailHr(),e.istextarea&&e.win.css("resize")&&e.win.css("resize")!="none"&&(e.view.h-=20),e.cursorheight=Math.min(e.view.h,Math.round(e.view.h*(e.view.h/e.page.h))),e.cursorheight=e.opt.cursorfixedheight?e.opt.cursorfixedheight:Math.max(e.opt.cursorminheight,e.cursorheight),e.cursorwidth=Math.min(e.view.w,Math.round(e.view.w*(e.view.w/e.page.w))),e.cursorwidth=e.opt.cursorfixedheight?e.opt.cursorfixedheight:Math.max(e.opt.cursorminheight,e.cursorwidth),e.scrollvaluemax=e.view.h-e.cursorheight-e.cursor.hborder,e.railh&&(e.railh.width=e.page.maxh>0?e.view.w-e.rail.width:e.view.w,e.scrollvaluemaxw=e.railh.width-e.cursorwidth-e.cursorh.wborder),e.ispage||e.updateScrollBar(e.view),e.scrollratio={x:e.page.maxw/e.scrollvaluemaxw,y:e.page.maxh/e.scrollvaluemax},u=e.getScrollTop(),u>e.page.maxh?e.doScrollTop(e.page.maxh):(e.scroll.y=Math.round(e.getScrollTop()*(1/e.scrollratio.y)),e.scroll.x=Math.round(e.getScrollLeft()*(1/e.scrollratio.x)),e.cursoractive&&e.noticeCursor()),e.scroll.y&&e.getScrollTop()==0&&e.doScrollTo(Math.floor(e.scroll.y*e.scrollratio.y)),e)};this.resize=e.onResize;this.lazyResize=function(n){return n=isNaN(n)?30:n,e.delayed("resize",e.resize,n),e};this._bind=function(n,t,i,r){e.events.push({e:n,n:t,f:i,b:r,q:!1});n.addEventListener?n.addEventListener(t,i,r||!1):n.attachEvent?n.attachEvent("on"+t,i):n["on"+t]=i};this.jqbind=function(n,i,r){e.events.push({e:n,n:i,f:r,q:!0});t(n).bind(i,r)};this.bind=function(n,t,i,r){var u="jquery"in n?n[0]:n,f,o;t=="mousewheel"?"onwheel"in e.win?e._bind(u,"wheel",i,r||!1):(f=typeof document.onmousewheel!="undefined"?"mousewheel":"DOMMouseScroll",tt(u,f,i,r||!1),f=="DOMMouseScroll"&&tt(u,"MozMousePixelScroll",i,r||!1)):u.addEventListener?(s.cantouch&&/mouseup|mousedown|mousemove/.test(t)&&(o=t=="mousedown"?"touchstart":t=="mouseup"?"touchend":"touchmove",e._bind(u,o,function(n){var t;n.touches?n.touches.length<2&&(t=n.touches.length?n.touches[0]:n,t.original=n,i.call(this,t)):n.changedTouches&&(t=n.changedTouches[0],t.original=n,i.call(this,t))},r||!1)),e._bind(u,t,i,r||!1),s.cantouch&&t=="mouseup"&&e._bind(u,"touchcancel",i,r||!1)):e._bind(u,t,function(n){return n=n||window.event||!1,n&&n.srcElement&&(n.target=n.srcElement),"pageY"in n||(n.pageX=n.clientX+document.documentElement.scrollLeft,n.pageY=n.clientY+document.documentElement.scrollTop),i.call(u,n)===!1||r===!1?e.cancelEvent(n):!0})};this._unbind=function(n,t,i,r){n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent?n.detachEvent("on"+t,i):n["on"+t]=!1};this.unbindAll=function(){for(var n,t=0;t<e.events.length;t++)n=e.events[t],n.q?n.e.unbind(n.n,n.f):e._unbind(n.e,n.n,n.f,n.b)};this.cancelEvent=function(n){var n=n.original?n.original:n?n:window.event||!1;return n?(n.preventDefault&&n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.preventManipulation&&n.preventManipulation(),n.cancelBubble=!0,n.cancel=!0,n.returnValue=!1,!1):!1};this.stopPropagation=function(n){var n=n.original?n.original:n?n:window.event||!1;return n?n.stopPropagation?n.stopPropagation():(n.cancelBubble&&(n.cancelBubble=!0),!1):!1};this.showRail=function(){return e.page.maxh!=0&&(e.ispage||e.win.css("display")!="none")&&(e.visibility=!0,e.rail.visibility=!0,e.rail.css("display","block")),e};this.showRailHr=function(){return e.railh?(e.page.maxw!=0&&(e.ispage||e.win.css("display")!="none")&&(e.railh.visibility=!0,e.railh.css("display","block")),e):e};this.hideRail=function(){return e.visibility=!1,e.rail.visibility=!1,e.rail.css("display","none"),e};this.hideRailHr=function(){return e.railh?(e.railh.visibility=!1,e.railh.css("display","none"),e):e};this.show=function(){return e.hidden=!1,e.locked=!1,e.showRail().showRailHr()};this.hide=function(){return e.hidden=!0,e.locked=!0,e.hideRail().hideRailHr()};this.toggle=function(){return e.hidden?e.show():e.hide()};this.remove=function(){var r,i,n,u;for(e.stop(),e.cursortimeout&&clearTimeout(e.cursortimeout),e.doZoomOut(),e.unbindAll(),s.isie9&&e.win[0].detachEvent("onpropertychange",e.onAttributeChange),e.observer!==!1&&e.observer.disconnect(),e.observerremover!==!1&&e.observerremover.disconnect(),e.events=null,e.cursor&&e.cursor.remove(),e.cursorh&&e.cursorh.remove(),e.rail&&e.rail.remove(),e.railh&&e.railh.remove(),e.zoom&&e.zoom.remove(),r=0;r<e.saved.css.length;r++)i=e.saved.css[r],i[0].css(i[1],typeof i[2]=="undefined"?"":i[2]);e.saved=!1;e.me.data("__nicescroll","");n=t.nicescroll;n.each(function(t){if(this&&this.id===e.id){delete n[t];for(var i=++t;i<n.length;i++,t++)n[t]=n[i];n.length--;n.length&&delete n[n.length]}});for(u in e)e[u]=null,delete e[u];e=null};this.scrollstart=function(n){return this.onscrollstart=n,e};this.scrollend=function(n){return this.onscrollend=n,e};this.scrollcancel=function(n){return this.onscrollcancel=n,e};this.zoomin=function(n){return this.onzoomin=n,e};this.zoomout=function(n){return this.onzoomout=n,e};this.isScrollable=function(n){var i=n.target?n.target:n,r,u;if(i.nodeName=="OPTION")return!0;while(i&&i.nodeType==1&&!/^BODY|HTML/.test(i.nodeName)){if(r=t(i),u=r.css("overflowY")||r.css("overflowX")||r.css("overflow")||"",/scroll|auto/.test(u))return i.clientHeight!=i.scrollHeight;i=i.parentNode?i.parentNode:!1}return!1};this.getViewport=function(n){for(var i=n&&n.parentNode?n.parentNode:!1,r,u;i&&i.nodeType==1&&!/^BODY|HTML/.test(i.nodeName);){if((r=t(i),/fixed|absolute/.test(r.css("position")))||(u=r.css("overflowY")||r.css("overflowX")||r.css("overflow")||"",/scroll|auto/.test(u)&&i.clientHeight!=i.scrollHeight)||r.getNiceScroll().length>0)return r;i=i.parentNode?i.parentNode:!1}return i?t(i):!1};this.triggerScrollEnd=function(){if(e.onscrollend){var n=e.getScrollLeft(),t=e.getScrollTop(),i={type:"scrollend",current:{x:n,y:t},end:{x:n,y:t}};e.onscrollend.call(e,i)}};this.onmousewheel=function(n){var t,i,r;if(!e.wheelprevented)return e.locked?(e.debounced("checkunlock",e.resize,250),!0):e.rail.drag?e.cancelEvent(n):(e.opt.oneaxismousemode=="auto"&&n.deltaX!=0&&(e.opt.oneaxismousemode=!1),e.opt.oneaxismousemode&&n.deltaX==0&&!e.rail.scrollable)?e.railh&&e.railh.scrollable?e.onmousewheelhr(n):!0:(t=+new Date,i=!1,e.opt.preservenativescrolling&&e.checkarea+600<t&&(e.nativescrollingarea=e.isScrollable(n),i=!0),e.checkarea=t,e.nativescrollingarea)?!0:(r=it(n,!1,i),r&&(e.checkarea=0),r)};this.onmousewheelhr=function(n){if(!e.wheelprevented){if(e.locked||!e.railh.scrollable)return!0;if(e.rail.drag)return e.cancelEvent(n);var t=+new Date,i=!1;return(e.opt.preservenativescrolling&&e.checkarea+600<t&&(e.nativescrollingarea=e.isScrollable(n),i=!0),e.checkarea=t,e.nativescrollingarea)?!0:e.locked?e.cancelEvent(n):it(n,!0,i)}};this.stop=function(){return e.cancelScroll(),e.scrollmon&&e.scrollmon.stop(),e.cursorfreezed=!1,e.scroll.y=Math.round(e.getScrollTop()*(1/e.scrollratio.y)),e.noticeCursor(),e};this.getTransitionSpeed=function(n){var i=Math.round(e.opt.scrollspeed*10),t=Math.min(i,Math.round(n/20*e.opt.scrollspeed));return t>20?t:0};e.opt.smoothscroll?e.ishwscroll&&s.hastransition&&e.opt.usetransition?(this.prepareTransition=function(n,t){var i=t?n>20?n:0:e.getTransitionSpeed(n),r=i?s.prefixstyle+"transform "+i+"ms ease-out":"";return e.lasttransitionstyle&&e.lasttransitionstyle==r||(e.lasttransitionstyle=r,e.doc.css(s.transitionstyle,r)),i},this.doScrollLeft=function(n,t){var i=e.scrollrunning?e.newscrolly:e.getScrollTop();e.doScrollPos(n,i,t)},this.doScrollTop=function(n,t){var i=e.scrollrunning?e.newscrollx:e.getScrollLeft();e.doScrollPos(i,n,t)},this.doScrollPos=function(n,t,i){var r=e.getScrollTop(),u=e.getScrollLeft();if((((e.newscrolly-r)*(t-r)<0||(e.newscrollx-u)*(n-u)<0)&&e.cancelScroll(),e.opt.bouncescroll==!1&&(t<0?t=0:t>e.page.maxh&&(t=e.page.maxh),n<0?n=0:n>e.page.maxw&&(n=e.page.maxw)),e.scrollrunning&&n==e.newscrollx&&t==e.newscrolly)||(e.newscrolly=t,e.newscrollx=n,e.newscrollspeed=i||!1,e.timer))return!1;e.timer=setTimeout(function(){var u=e.getScrollTop(),f=e.getScrollLeft(),r={},o,i,h,c,l;r.x=n-f;r.y=t-u;r.px=f;r.py=u;o=Math.round(Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2)));i=e.newscrollspeed&&e.newscrollspeed>1?e.newscrollspeed:e.getTransitionSpeed(o);e.newscrollspeed&&e.newscrollspeed<=1&&(i*=e.newscrollspeed);e.prepareTransition(i,!0);e.timerscroll&&e.timerscroll.tm&&clearInterval(e.timerscroll.tm);i>0&&(!e.scrollrunning&&e.onscrollstart&&(h={type:"scrollstart",current:{x:f,y:u},request:{x:n,y:t},end:{x:e.newscrollx,y:e.newscrolly},speed:i},e.onscrollstart.call(e,h)),s.transitionend?e.scrollendtrapped||(e.scrollendtrapped=!0,e.bind(e.doc,s.transitionend,e.onScrollTransitionEnd,!1)):(e.scrollendtrapped&&clearTimeout(e.scrollendtrapped),e.scrollendtrapped=setTimeout(e.onScrollTransitionEnd,i)),c=u,l=f,e.timerscroll={bz:new BezierClass(c,e.newscrolly,i,0,0,.58,1),bh:new BezierClass(l,e.newscrollx,i,0,0,.58,1)},e.cursorfreezed||(e.timerscroll.tm=setInterval(function(){e.showCursor(e.getScrollTop(),e.getScrollLeft())},60)));e.synched("doScroll-set",function(){e.timer=0;e.scrollendtrapped&&(e.scrollrunning=!0);e.setScrollTop(e.newscrolly);e.setScrollLeft(e.newscrollx);e.scrollendtrapped||e.onScrollTransitionEnd()})},50)},this.cancelScroll=function(){if(!e.scrollendtrapped)return!0;var n=e.getScrollTop(),t=e.getScrollLeft();return e.scrollrunning=!1,s.transitionend||clearTimeout(s.transitionend),e.scrollendtrapped=!1,e._unbind(e.doc,s.transitionend,e.onScrollTransitionEnd),e.prepareTransition(0),e.setScrollTop(n),e.railh&&e.setScrollLeft(t),e.timerscroll&&e.timerscroll.tm&&clearInterval(e.timerscroll.tm),e.timerscroll=!1,e.cursorfreezed=!1,e.showCursor(n,t),e},this.onScrollTransitionEnd=function(){e.scrollendtrapped&&e._unbind(e.doc,s.transitionend,e.onScrollTransitionEnd);e.scrollendtrapped=!1;e.prepareTransition(0);e.timerscroll&&e.timerscroll.tm&&clearInterval(e.timerscroll.tm);e.timerscroll=!1;var n=e.getScrollTop(),t=e.getScrollLeft();if(e.setScrollTop(n),e.railh&&e.setScrollLeft(t),e.noticeCursor(!1,n,t),e.cursorfreezed=!1,n<0?n=0:n>e.page.maxh&&(n=e.page.maxh),t<0?t=0:t>e.page.maxw&&(t=e.page.maxw),n!=e.newscrolly||t!=e.newscrollx)return e.doScrollPos(t,n,e.opt.snapbackspeed);e.onscrollend&&e.scrollrunning&&e.triggerScrollEnd();e.scrollrunning=!1}):(this.doScrollLeft=function(n,t){var i=e.scrollrunning?e.newscrolly:e.getScrollTop();e.doScrollPos(n,i,t)},this.doScrollTop=function(n,t){var i=e.scrollrunning?e.newscrollx:e.getScrollLeft();e.doScrollPos(i,n,t)},this.doScrollPos=function(n,t,u){function v(){var u,n,t,r;if(e.cancelAnimationFrame)return!0;if(e.scrollrunning=!0,a=1-a,a)return e.timer=i(v)||1;u=0;n=sy=e.getScrollTop();e.dst.ay?(n=e.bzscroll?e.dst.py+e.bzscroll.getNow()*e.dst.ay:e.newscrolly,r=n-sy,(r<0&&n<e.newscrolly||r>0&&n>e.newscrolly)&&(n=e.newscrolly),e.setScrollTop(n),n==e.newscrolly&&(u=1)):u=1;t=sx=e.getScrollLeft();e.dst.ax?(t=e.bzscroll?e.dst.px+e.bzscroll.getNow()*e.dst.ax:e.newscrollx,r=t-sx,(r<0&&t<e.newscrollx||r>0&&t>e.newscrollx)&&(t=e.newscrollx),e.setScrollLeft(t),t==e.newscrollx&&(u+=1)):u+=1;u==2?(e.timer=0,e.cursorfreezed=!1,e.bzscroll=!1,e.scrollrunning=!1,n<0?n=0:n>e.page.maxh&&(n=e.page.maxh),t<0?t=0:t>e.page.maxw&&(t=e.page.maxw),t!=e.newscrollx||n!=e.newscrolly?e.doScrollPos(t,n):e.onscrollend&&e.triggerScrollEnd()):e.timer=i(v)||1}var t=typeof t=="undefined"||t===!1?e.getScrollTop(!0):t,f,o,h,l,c,s,a,y;if(e.timer&&e.newscrolly==t&&e.newscrollx==n)return!0;(e.timer&&r(e.timer),e.timer=0,f=e.getScrollTop(),o=e.getScrollLeft(),((e.newscrolly-f)*(t-f)<0||(e.newscrollx-o)*(n-o)<0)&&e.cancelScroll(),e.newscrolly=t,e.newscrollx=n,e.bouncescroll&&e.rail.visibility||(e.newscrolly<0?e.newscrolly=0:e.newscrolly>e.page.maxh&&(e.newscrolly=e.page.maxh)),e.bouncescroll&&e.railh.visibility||(e.newscrollx<0?e.newscrollx=0:e.newscrollx>e.page.maxw&&(e.newscrollx=e.page.maxw)),e.dst={},e.dst.x=n-o,e.dst.y=t-f,e.dst.px=o,e.dst.py=f,h=Math.round(Math.sqrt(Math.pow(e.dst.x,2)+Math.pow(e.dst.y,2))),e.dst.ax=e.dst.x/h,e.dst.ay=e.dst.y/h,l=0,c=h,e.dst.x==0?(l=f,c=t,e.dst.ay=1,e.dst.py=0):e.dst.y==0&&(l=o,c=n,e.dst.ax=1,e.dst.px=0),s=e.getTransitionSpeed(h),u&&u<=1&&(s*=u),e.bzscroll=s>0?e.bzscroll?e.bzscroll.update(c,s):new BezierClass(l,c,s,0,1,0,1):!1,e.timer)||((f==e.page.maxh&&t>=e.page.maxh||o==e.page.maxw&&n>=e.page.maxw)&&e.checkContentSize(),a=1,e.cancelAnimationFrame=!1,e.timer=1,e.onscrollstart&&!e.scrollrunning&&(y={type:"scrollstart",current:{x:o,y:f},request:{x:n,y:t},end:{x:e.newscrollx,y:e.newscrolly},speed:s},e.onscrollstart.call(e,y)),v(),(f==e.page.maxh&&t>=f||o==e.page.maxw&&n>=o)&&e.checkContentSize(),e.noticeCursor())},this.cancelScroll=function(){return e.timer&&r(e.timer),e.timer=0,e.bzscroll=!1,e.scrollrunning=!1,e}):(this.doScrollLeft=function(n,t){var i=e.getScrollTop();e.doScrollPos(n,i,t)},this.doScrollTop=function(n,t){var i=e.getScrollLeft();e.doScrollPos(i,n,t)},this.doScrollPos=function(n,t){var r=n>e.page.maxw?e.page.maxw:n,i;r<0&&(r=0);i=t>e.page.maxh?e.page.maxh:t;i<0&&(i=0);e.synched("scroll",function(){e.setScrollTop(i);e.setScrollLeft(r)})},this.cancelScroll=function(){});this.doScrollBy=function(n,t){var i=0,u,r;if(t?i=Math.floor((e.scroll.y-n)*e.scrollratio.y):(u=e.timer?e.newscrolly:e.getScrollTop(!0),i=u-n),e.bouncescroll&&(r=Math.round(e.view.h/2),i<-r?i=-r:i>e.page.maxh+r&&(i=e.page.maxh+r)),e.cursorfreezed=!1,py=e.getScrollTop(!0),i<0&&py<=0)return e.noticeCursor();if(i>e.page.maxh&&py>=e.page.maxh)return e.checkContentSize(),e.noticeCursor();e.doScrollTop(i)};this.doScrollLeftBy=function(n,t){var i=0,u,r;if((t?i=Math.floor((e.scroll.x-n)*e.scrollratio.x):(u=e.timer?e.newscrollx:e.getScrollLeft(!0),i=u-n),e.bouncescroll&&(r=Math.round(e.view.w/2),i<-r?i=-r:i>e.page.maxw+r&&(i=e.page.maxw+r)),e.cursorfreezed=!1,px=e.getScrollLeft(!0),i<0&&px<=0)||i>e.page.maxw&&px>=e.page.maxw)return e.noticeCursor();e.doScrollLeft(i)};this.doScrollTo=function(n,t){var i=t?Math.round(n*e.scrollratio.y):n;i<0?i=0:i>e.page.maxh&&(i=e.page.maxh);e.cursorfreezed=!1;e.doScrollTop(n)};this.checkContentSize=function(){var n=e.getContentSize();(n.h!=e.page.h||n.w!=e.page.w)&&e.resize(!1,n)};e.onscroll=function(){e.rail.drag||e.cursorfreezed||e.synched("scroll",function(){e.scroll.y=Math.round(e.getScrollTop()*(1/e.scrollratio.y));e.railh&&(e.scroll.x=Math.round(e.getScrollLeft()*(1/e.scrollratio.x)));e.noticeCursor()})};e.bind(e.docscroll,"scroll",e.onscroll);this.doZoomIn=function(n){var r,f,h,i,o;if(!e.zoomactive){e.zoomactive=!0;e.zoomrestore={style:{}};r=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"];f=e.win[0].style;for(h in r)i=r[h],e.zoomrestore.style[i]=typeof f[i]!="undefined"?f[i]:"";return e.zoomrestore.style.width=e.win.css("width"),e.zoomrestore.style.height=e.win.css("height"),e.zoomrestore.padding={w:e.win.outerWidth()-e.win.width(),h:e.win.outerHeight()-e.win.height()},s.isios4&&(e.zoomrestore.scrollTop=t(window).scrollTop(),t(window).scrollTop(0)),e.win.css({position:s.isios4?"absolute":"fixed",top:0,left:0,"z-index":u+100,margin:"0px"}),o=e.win.css("backgroundColor"),(o==""||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(o))&&e.win.css("backgroundColor","#fff"),e.rail.css({"z-index":u+101}),e.zoom.css({"z-index":u+102}),e.zoom.css("backgroundPosition","0px -18px"),e.resizeZoom(),e.onzoomin&&e.onzoomin.call(e),e.cancelEvent(n)}};this.doZoomOut=function(n){if(e.zoomactive)return e.zoomactive=!1,e.win.css("margin",""),e.win.css(e.zoomrestore.style),s.isios4&&t(window).scrollTop(e.zoomrestore.scrollTop),e.rail.css({"z-index":e.zindex}),e.zoom.css({"z-index":e.zindex}),e.zoomrestore=!1,e.zoom.css("backgroundPosition","0px 0px"),e.onResize(),e.onzoomout&&e.onzoomout.call(e),e.cancelEvent(n)};this.doZoom=function(n){return e.zoomactive?e.doZoomOut(n):e.doZoomIn(n)};this.resizeZoom=function(){if(e.zoomactive){var n=e.getScrollTop();e.win.css({width:t(window).width()-e.zoomrestore.padding.w+"px",height:t(window).height()-e.zoomrestore.padding.h+"px"});e.onResize();e.setScrollTop(Math.min(e.page.maxh,n))}};this.init();t.nicescroll.push(this)},w=function(n){var t=this;this.nc=n;this.lastx=0;this.lasty=0;this.speedx=0;this.speedy=0;this.lasttime=0;this.steptime=0;this.snapx=!1;this.snapy=!1;this.demulx=0;this.demuly=0;this.lastscrollx=-1;this.lastscrolly=-1;this.chkx=0;this.chky=0;this.timer=0;this.time=function(){return+new Date};this.reset=function(n,i){t.stop();var r=t.time();t.steptime=0;t.lasttime=r;t.speedx=0;t.speedy=0;t.lastx=n;t.lasty=i;t.lastscrollx=-1;t.lastscrolly=-1};this.update=function(n,i){var r=t.time();t.steptime=r-t.lasttime;t.lasttime=r;var u=i-t.lasty,f=n-t.lastx,s=t.nc.getScrollTop(),h=t.nc.getScrollLeft(),e=s+u,o=h+f;t.snapx=o<0||o>t.nc.page.maxw;t.snapy=e<0||e>t.nc.page.maxh;t.speedx=f;t.speedy=u;t.lastx=n;t.lasty=i};this.stop=function(){t.nc.unsynched("domomentum2d");t.timer&&clearTimeout(t.timer);t.timer=0;t.lastscrollx=-1;t.lastscrolly=-1};this.doSnapy=function(n,i){var r=!1;i<0?(i=0,r=!0):i>t.nc.page.maxh&&(i=t.nc.page.maxh,r=!0);n<0?(n=0,r=!0):n>t.nc.page.maxw&&(n=t.nc.page.maxw,r=!0);r?t.nc.doScrollPos(n,i,t.nc.opt.snapbackspeed):t.nc.triggerScrollEnd()};this.doMomentum=function(n){var e=t.time(),c=n?e+n:t.lasttime,l=t.nc.getScrollLeft(),a=t.nc.getScrollTop(),o=t.nc.page.maxh,s=t.nc.page.maxw,f,v,y,u,h;if(t.speedx=s>0?Math.min(60,t.speedx):0,t.speedy=o>0?Math.min(60,t.speedy):0,f=c&&e-c<=60,(a<0||a>o||l<0||l>s)&&(f=!1),v=t.speedy&&f?t.speedy:!1,y=t.speedx&&f?t.speedx:!1,v||y){u=Math.max(16,t.steptime);u>50&&(h=u/50,t.speedx*=h,t.speedy*=h,u=50);t.demulxy=0;t.lastscrollx=t.nc.getScrollLeft();t.chkx=t.lastscrollx;t.lastscrolly=t.nc.getScrollTop();t.chky=t.lastscrolly;var i=t.lastscrollx,r=t.lastscrolly,p=function(){var n=t.time()-e>600?.04:.02;t.speedx&&(i=Math.floor(t.lastscrollx-t.speedx*(1-t.demulxy)),t.lastscrollx=i,(i<0||i>s)&&(n=.1));t.speedy&&(r=Math.floor(t.lastscrolly-t.speedy*(1-t.demulxy)),t.lastscrolly=r,(r<0||r>o)&&(n=.1));t.demulxy=Math.min(1,t.demulxy+n);t.nc.synched("domomentum2d",function(){var n,u;t.speedx&&(n=t.nc.getScrollLeft(),n!=t.chkx&&t.stop(),t.chkx=i,t.nc.setScrollLeft(i));t.speedy&&(u=t.nc.getScrollTop(),u!=t.chky&&t.stop(),t.chky=r,t.nc.setScrollTop(r));t.timer||(t.nc.hideCursor(),t.doSnapy(i,r))});t.demulxy<1?t.timer=setTimeout(p,u):(t.stop(),t.nc.hideCursor(),t.doSnapy(i,r))};p()}else t.doSnapy(t.nc.getScrollLeft(),t.nc.getScrollTop())}},c=n.fn.scrollTop;n.cssHooks.pageYOffset={get:function(n){var i=t.data(n,"__nicescroll")||!1;return i&&i.ishwscroll?i.getScrollTop():c.call(n)},set:function(n,i){var r=t.data(n,"__nicescroll")||!1;return r&&r.ishwscroll?r.setScrollTop(parseInt(i)):c.call(n,i),this}};n.fn.scrollTop=function(n){if(typeof n=="undefined"){var i=this[0]?t.data(this[0],"__nicescroll")||!1:!1;return i&&i.ishwscroll?i.getScrollTop():c.call(this)}return this.each(function(){var i=t.data(this,"__nicescroll")||!1;i&&i.ishwscroll?i.setScrollTop(parseInt(n)):c.call(t(this),n)})};f=n.fn.scrollLeft;t.cssHooks.pageXOffset={get:function(n){var i=t.data(n,"__nicescroll")||!1;return i&&i.ishwscroll?i.getScrollLeft():f.call(n)},set:function(n,i){var r=t.data(n,"__nicescroll")||!1;return r&&r.ishwscroll?r.setScrollLeft(parseInt(i)):f.call(n,i),this}};n.fn.scrollLeft=function(n){if(typeof n=="undefined"){var i=this[0]?t.data(this[0],"__nicescroll")||!1:!1;return i&&i.ishwscroll?i.getScrollLeft():f.call(this)}return this.each(function(){var i=t.data(this,"__nicescroll")||!1;i&&i.ishwscroll?i.setScrollLeft(parseInt(n)):f.call(t(this),n)})};e=function(n){var i=this,r,u;if(this.length=0,this.name="nicescrollarray",this.each=function(n){for(var t=0,r=0;t<i.length;t++)n.call(i[t],r++);return i},this.push=function(n){i[i.length]=n;i.length++},this.eq=function(n){return i[n]},n)for(r=0;r<n.length;r++)u=t.data(n[r],"__nicescroll")||!1,u&&(this[this.length]=u,this.length++);return this};tt(e.prototype,["show","hide","toggle","onResize","resize","remove","stop","doScrollPos"],function(n,t){n[t]=function(){var n=arguments;return this.each(function(){this[t].apply(this,n)})}});n.fn.getNiceScroll=function(n){return typeof n=="undefined"?new e(this):this[n]&&t.data(this[n],"__nicescroll")||!1};n.extend(n.expr[":"],{nicescroll:function(n){return t.data(n,"__nicescroll")?!0:!1}});t.fn.niceScroll=function(n,i){var r,u;return typeof i=="undefined"&&(typeof n!="object"||"jquery"in n||(i=n,n=!1)),r=new e,typeof i=="undefined"&&(i={}),(n||!1)&&(i.doc=t(n),i.win=t(this)),u=!("doc"in i),u||"win"in i||(i.win=t(this)),this.each(function(){var n=t(this).data("__nicescroll")||!1;n||(i.doc=u?t(this):i.doc,n=new nt(i,t(this)),t(this).data("__nicescroll",n));r.push(n)}),r.length==1?r[0]:r};window.NiceScroll={getjQuery:function(){return n}};t.nicescroll||(t.nicescroll=new e,t.nicescroll.options=p)}),function(n,t){"use strict";var i=n.History=n.History||{};if(typeof i.Adapter!="undefined")throw new Error("History.js Adapter has already been loaded...");i.Adapter={handlers:{},_uid:1,uid:function(n){return n._uid||(n._uid=i.Adapter._uid++)},bind:function(n,t,r){var u=i.Adapter.uid(n);i.Adapter.handlers[u]=i.Adapter.handlers[u]||{};i.Adapter.handlers[u][t]=i.Adapter.handlers[u][t]||[];i.Adapter.handlers[u][t].push(r);n["on"+t]=function(n,t){return function(r){i.Adapter.trigger(n,t,r)}}(n,t)},trigger:function(n,t,r){r=r||{};var u=i.Adapter.uid(n),f,e;for(i.Adapter.handlers[u]=i.Adapter.handlers[u]||{},i.Adapter.handlers[u][t]=i.Adapter.handlers[u][t]||[],f=0,e=i.Adapter.handlers[u][t].length;f<e;++f)i.Adapter.handlers[u][t][f].apply(this,[r])},extractEventData:function(n,i){return i&&i[n]||t},onDomLoad:function(t){var i=n.setTimeout(function(){t()},2e3);n.onload=function(){clearTimeout(i);t()}}};typeof i.init!="undefined"&&i.init()}(window),function(n,t){"use strict";var e=n.console||t,r=n.document,o=n.navigator,f=n.sessionStorage||!1,h=n.setTimeout,c=n.clearTimeout,l=n.setInterval,a=n.clearInterval,u=n.JSON,v=n.alert,i=n.History=n.History||{},s=n.history;try{f.setItem("TEST","1");f.removeItem("TEST")}catch(y){f=!1}if(u.stringify=u.stringify||u.encode,u.parse=u.parse||u.decode,typeof i.init!="undefined")throw new Error("History.js Core has already been loaded...");i.init=function(){return typeof i.Adapter=="undefined"?!1:(typeof i.initCore!="undefined"&&i.initCore(),typeof i.initHtml4!="undefined"&&i.initHtml4(),!0)};i.initCore=function(){if(typeof i.initCore.initialized!="undefined")return!1;if(i.initCore.initialized=!0,i.options=i.options||{},i.options.hashChangeInterval=i.options.hashChangeInterval||100,i.options.safariPollInterval=i.options.safariPollInterval||500,i.options.doubleCheckInterval=i.options.doubleCheckInterval||500,i.options.disableSuid=i.options.disableSuid||!1,i.options.storeInterval=i.options.storeInterval||1e3,i.options.busyDelay=i.options.busyDelay||250,i.options.debug=i.options.debug||!1,i.options.initialTitle=i.options.initialTitle||r.title,i.options.html4Mode=i.options.html4Mode||!1,i.options.delayInit=i.options.delayInit||!1,i.intervalList=[],i.clearAllIntervals=function(){var n,t=i.intervalList;if(typeof t!="undefined"&&t!==null){for(n=0;n<t.length;n++)a(t[n]);i.intervalList=null}},i.debug=function(){(i.options.debug||!1)&&i.log.apply(i,arguments)},i.log=function(){var s=!(typeof e=="undefined"||typeof e.log=="undefined"||typeof e.log.apply=="undefined"),t=r.getElementById("log"),n,f,h,o,i;for(s?(o=Array.prototype.slice.call(arguments),n=o.shift(),typeof e.debug!="undefined"?e.debug.apply(e,[n,o]):e.log.apply(e,[n,o])):n="\n"+arguments[0]+"\n",f=1,h=arguments.length;f<h;++f){if(i=arguments[f],typeof i=="object"&&typeof u!="undefined")try{i=u.stringify(i)}catch(c){}n+="\n"+i+"\n"}return t?(t.value+=n+"\n-----\n",t.scrollTop=t.scrollHeight-t.clientHeight):s||v(n),!0},i.getInternetExplorerMajorVersion=function(){return i.getInternetExplorerMajorVersion.cached=typeof i.getInternetExplorerMajorVersion.cached!="undefined"?i.getInternetExplorerMajorVersion.cached:function(){for(var n=3,t=r.createElement("div"),i=t.getElementsByTagName("i");(t.innerHTML="<!--[if gt IE "+ ++n+"]><i><\/i><![endif]-->")&&i[0];);return n>4?n:!1}()},i.isInternetExplorer=function(){return i.isInternetExplorer.cached=typeof i.isInternetExplorer.cached!="undefined"?i.isInternetExplorer.cached:Boolean(i.getInternetExplorerMajorVersion())},i.emulated=i.options.html4Mode?{pushState:!0,hashChange:!0}:{pushState:!Boolean(n.history&&n.history.pushState&&n.history.replaceState&&!(/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(o.userAgent)||/AppleWebKit\/5([0-2]|3[0-2])/i.test(o.userAgent))),hashChange:Boolean(!("onhashchange"in n||"onhashchange"in r)||i.isInternetExplorer()&&i.getInternetExplorerMajorVersion()<8)},i.enabled=!i.emulated.pushState,i.bugs={setHash:Boolean(!i.emulated.pushState&&o.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(o.userAgent)),safariPoll:Boolean(!i.emulated.pushState&&o.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(o.userAgent)),ieDoubleCheck:Boolean(i.isInternetExplorer()&&i.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(i.isInternetExplorer()&&i.getInternetExplorerMajorVersion()<7)},i.isEmptyObject=function(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0},i.cloneObject=function(n){var i,t;return n?(i=u.stringify(n),t=u.parse(i)):t={},t},i.getRootUrl=function(){var n=r.location.protocol+"//"+(r.location.hostname||r.location.host);return(r.location.port||!1)&&(n+=":"+r.location.port),n+"/"},i.getBaseHref=function(){var t=r.getElementsByTagName("base"),i=null,n="";return t.length===1&&(i=t[0],n=i.href.replace(/[^\/]+$/,"")),n=n.replace(/\/+$/,""),n&&(n+="/"),n},i.getBaseUrl=function(){return i.getBaseHref()||i.getBasePageUrl()||i.getRootUrl()},i.getPageUrl=function(){var n=i.getState(!1,!1),t=(n||{}).url||i.getLocationHref();return t.replace(/\/+$/,"").replace(/[^\/]+$/,function(n){return/\./.test(n)?n:n+"/"})},i.getBasePageUrl=function(){return i.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(n){return/[^\/]$/.test(n)?"":n}).replace(/\/+$/,"")+"/"},i.getFullUrl=function(n,t){var u=n,r=n.substring(0,1);return t=typeof t=="undefined"?!0:t,/[a-z]+\:\/\//.test(n)||(u=r==="/"?i.getRootUrl()+n.replace(/^\/+/,""):r==="#"?i.getPageUrl().replace(/#.*/,"")+n:r==="?"?i.getPageUrl().replace(/[\?#].*/,"")+n:t?i.getBaseUrl()+n.replace(/^(\.\/)+/,""):i.getBasePageUrl()+n.replace(/^(\.\/)+/,"")),u.replace(/\#$/,"")},i.getShortUrl=function(n){var t=n,r=i.getBaseUrl(),u=i.getRootUrl();return i.emulated.pushState&&(t=t.replace(r,"")),t=t.replace(u,"/"),i.isTraditionalAnchor(t)&&(t="./"+t),t.replace(/^(\.\/)+/g,"./").replace(/\#$/,"")},i.getLocationHref=function(n){return(n=n||r,n.URL===n.location.href)?n.location.href:n.location.href===decodeURIComponent(n.URL)?n.URL:n.location.hash&&decodeURIComponent(n.location.href.replace(/^[^#]+/,""))===n.location.hash?n.location.href:n.URL.indexOf("#")==-1&&n.location.href.indexOf("#")!=-1?n.location.href:n.URL||n.location.href},i.store={},i.idToState=i.idToState||{},i.stateToId=i.stateToId||{},i.urlToId=i.urlToId||{},i.storedStates=i.storedStates||[],i.savedStates=i.savedStates||[],i.normalizeStore=function(){i.store.idToState=i.store.idToState||{};i.store.urlToId=i.store.urlToId||{};i.store.stateToId=i.store.stateToId||{}},i.getState=function(n,t){typeof n=="undefined"&&(n=!0);typeof t=="undefined"&&(t=!0);var r=i.getLastSavedState();return!r&&t&&(r=i.createStateObject()),n&&(r=i.cloneObject(r),r.url=r.cleanUrl||r.url),r},i.getIdByState=function(n){var t=i.extractId(n.url),r;if(!t)if(r=i.getStateString(n),typeof i.stateToId[r]!="undefined")t=i.stateToId[r];else if(typeof i.store.stateToId[r]!="undefined")t=i.store.stateToId[r];else{for(;;)if(t=(new Date).getTime()+String(Math.random()).replace(/\D/g,""),typeof i.idToState[t]=="undefined"&&typeof i.store.idToState[t]=="undefined")break;i.stateToId[r]=t;i.idToState[t]=n}return t},i.normalizeState=function(n){var t,r;return(n&&typeof n=="object"||(n={}),typeof n.normalized!="undefined")?n:(n.data&&typeof n.data=="object"||(n.data={}),t={},t.normalized=!0,t.title=n.title||"",t.url=i.getFullUrl(n.url?n.url:i.getLocationHref()),t.hash=i.getShortUrl(t.url),t.data=i.cloneObject(n.data),t.id=i.getIdByState(t),t.cleanUrl=t.url.replace(/\??\&_suid.*/,""),t.url=t.cleanUrl,r=!i.isEmptyObject(t.data),(t.title||r)&&i.options.disableSuid!==!0&&(t.hash=i.getShortUrl(t.url).replace(/\??\&_suid.*/,""),/\?/.test(t.hash)||(t.hash+="?"),t.hash+="&_suid="+t.id),t.hashedUrl=i.getFullUrl(t.hash),(i.emulated.pushState||i.bugs.safariPoll)&&i.hasUrlDuplicate(t)&&(t.url=t.hashedUrl),t)},i.createStateObject=function(n,t,r){var u={data:n,title:t,url:r};return i.normalizeState(u)},i.getStateById=function(n){n=String(n);return i.idToState[n]||i.store.idToState[n]||t},i.getStateString=function(n){var t,r;return t=i.normalizeState(n),r={data:t.data,title:n.title,url:n.url},u.stringify(r)},i.getStateId=function(n){var t;return t=i.normalizeState(n),t.id},i.getHashByState=function(n){var t;return t=i.normalizeState(n),t.hash},i.extractId=function(n){var i,t,u,r;return r=n.indexOf("#")!=-1?n.split("#")[0]:n,t=/(.*)\&_suid=([0-9]+)$/.exec(r),u=t?t[1]||n:n,i=t?String(t[2]||""):"",i||!1},i.isTraditionalAnchor=function(n){return!/[\/\?\.]/.test(n)},i.extractState=function(n,t){var r=null,u,f;return t=t||!1,u=i.extractId(n),u&&(r=i.getStateById(u)),r||(f=i.getFullUrl(n),u=i.getIdByUrl(f)||!1,u&&(r=i.getStateById(u)),r||!t||i.isTraditionalAnchor(n)||(r=i.createStateObject(null,null,f))),r},i.getIdByUrl=function(n){return i.urlToId[n]||i.store.urlToId[n]||t},i.getLastSavedState=function(){return i.savedStates[i.savedStates.length-1]||t},i.getLastStoredState=function(){return i.storedStates[i.storedStates.length-1]||t},i.hasUrlDuplicate=function(n){var t;return t=i.extractState(n.url),t&&t.id!==n.id},i.storeState=function(n){return i.urlToId[n.url]=n.id,i.storedStates.push(i.cloneObject(n)),n},i.isLastSavedState=function(n){var t=!1,r,u,f;return i.savedStates.length&&(r=n.id,u=i.getLastSavedState(),f=u.id,t=r===f),t},i.saveState=function(n){return i.isLastSavedState(n)?!1:(i.savedStates.push(i.cloneObject(n)),!0)},i.getStateByIndex=function(n){return typeof n=="undefined"?i.savedStates[i.savedStates.length-1]:n<0?i.savedStates[i.savedStates.length+n]:i.savedStates[n]},i.getCurrentIndex=function(){return i.savedStates.length<1?0:i.savedStates.length-1},i.getHash=function(n){var t=i.getLocationHref(n);return i.getHashByUrl(t)},i.unescapeHash=function(n){var t=i.normalizeHash(n);return decodeURIComponent(t)},i.normalizeHash=function(n){return n.replace(/[^#]*#/,"").replace(/#.*/,"")},i.setHash=function(n,t){var u,f;return t!==!1&&i.busy()?(i.pushQueue({scope:i,callback:i.setHash,args:arguments,queue:t}),!1):(i.busy(!0),u=i.extractState(n,!0),u&&!i.emulated.pushState?i.pushState(u.data,u.title,u.url,!1):i.getHash()!==n&&(i.bugs.setHash?(f=i.getPageUrl(),i.pushState(null,null,f+"#"+n,!1)):r.location.hash=n),i)},i.escapeHash=function(t){var r=i.normalizeHash(t);return r=n.encodeURIComponent(r),i.bugs.hashEscape||(r=r.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")),r},i.getHashByUrl=function(n){var t=String(n).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return i.unescapeHash(t)},i.setTitle=function(n){var t=n.title,u;t||(u=i.getStateByIndex(0),u&&u.url===n.url&&(t=u.title||i.options.initialTitle));try{r.getElementsByTagName("title")[0].innerHTML=t.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(f){}return r.title=t,i},i.queues=[],i.busy=function(n){if(typeof n!="undefined"?i.busy.flag=n:typeof i.busy.flag=="undefined"&&(i.busy.flag=!1),!i.busy.flag){c(i.busy.timeout);var t=function(){var n,r,u;if(!i.busy.flag)for(n=i.queues.length-1;n>=0;--n)(r=i.queues[n],r.length!==0)&&(u=r.shift(),i.fireQueueItem(u),i.busy.timeout=h(t,i.options.busyDelay))};i.busy.timeout=h(t,i.options.busyDelay)}return i.busy.flag},i.busy.flag=!1,i.fireQueueItem=function(n){return n.callback.apply(n.scope||i,n.args||[])},i.pushQueue=function(n){return i.queues[n.queue||0]=i.queues[n.queue||0]||[],i.queues[n.queue||0].push(n),i},i.queue=function(n,t){return typeof n=="function"&&(n={callback:n}),typeof t!="undefined"&&(n.queue=t),i.busy()?i.pushQueue(n):i.fireQueueItem(n),i},i.clearQueue=function(){return i.busy.flag=!1,i.queues=[],i},i.stateChanged=!1,i.doubleChecker=!1,i.doubleCheckComplete=function(){return i.stateChanged=!0,i.doubleCheckClear(),i},i.doubleCheckClear=function(){return i.doubleChecker&&(c(i.doubleChecker),i.doubleChecker=!1),i},i.doubleCheck=function(n){return i.stateChanged=!1,i.doubleCheckClear(),i.bugs.ieDoubleCheck&&(i.doubleChecker=h(function(){return i.doubleCheckClear(),i.stateChanged||n(),!0},i.options.doubleCheckInterval)),i},i.safariStatePoll=function(){var r=i.extractState(i.getLocationHref()),t;if(!i.isLastSavedState(r))return t=r,t||(t=i.createStateObject()),i.Adapter.trigger(n,"popstate"),i},i.back=function(n){return n!==!1&&i.busy()?(i.pushQueue({scope:i,callback:i.back,args:arguments,queue:n}),!1):(i.busy(!0),i.doubleCheck(function(){i.back(!1)}),s.go(-1),!0)},i.forward=function(n){return n!==!1&&i.busy()?(i.pushQueue({scope:i,callback:i.forward,args:arguments,queue:n}),!1):(i.busy(!0),i.doubleCheck(function(){i.forward(!1)}),s.go(1),!0)},i.go=function(n,t){var r;if(n>0)for(r=1;r<=n;++r)i.forward(t);else if(n<0)for(r=-1;r>=n;--r)i.back(t);else throw new Error("History.go: History.go requires a positive or negative integer passed.");return i},i.emulated.pushState){var y=function(){};i.pushState=i.pushState||y;i.replaceState=i.replaceState||y}else i.onPopState=function(t,r){var e=!1,u=!1,o,f;return(i.doubleCheckComplete(),o=i.getHash(),o)?(f=i.extractState(o||i.getLocationHref(),!0),f?i.replaceState(f.data,f.title,f.url,!1):(i.Adapter.trigger(n,"anchorchange"),i.busy(!1)),i.expectedStateId=!1,!1):(e=i.Adapter.extractEventData("state",t,r)||!1,u=e?i.getStateById(e):i.expectedStateId?i.getStateById(i.expectedStateId):i.extractState(i.getLocationHref()),u||(u=i.createStateObject(null,null,i.getLocationHref())),i.expectedStateId=!1,i.isLastSavedState(u))?(i.busy(!1),!1):(i.storeState(u),i.saveState(u),i.setTitle(u),i.Adapter.trigger(n,"statechange"),i.busy(!1),!0)},i.Adapter.bind(n,"popstate",i.onPopState),i.pushState=function(t,r,u,f){if(i.getHashByUrl(u)&&i.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(f!==!1&&i.busy())return i.pushQueue({scope:i,callback:i.pushState,args:arguments,queue:f}),!1;i.busy(!0);var e=i.createStateObject(t,r,u);return i.isLastSavedState(e)?i.busy(!1):(i.storeState(e),i.expectedStateId=e.id,s.pushState(e.id,e.title,e.url),i.Adapter.trigger(n,"popstate")),!0},i.replaceState=function(t,r,u,f){if(i.getHashByUrl(u)&&i.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(f!==!1&&i.busy())return i.pushQueue({scope:i,callback:i.replaceState,args:arguments,queue:f}),!1;i.busy(!0);var e=i.createStateObject(t,r,u);return i.isLastSavedState(e)?i.busy(!1):(i.storeState(e),i.expectedStateId=e.id,s.replaceState(e.id,e.title,e.url),i.Adapter.trigger(n,"popstate")),!0};if(f){try{i.store=u.parse(f.getItem("History.store"))||{}}catch(p){i.store={}}i.normalizeStore()}else i.store={},i.normalizeStore();if(i.Adapter.bind(n,"unload",i.clearAllIntervals),i.saveState(i.storeState(i.extractState(i.getLocationHref(),!0))),f&&(i.onUnload=function(){var n,t,r;try{n=u.parse(f.getItem("History.store"))||{}}catch(o){n={}}n.idToState=n.idToState||{};n.urlToId=n.urlToId||{};n.stateToId=n.stateToId||{};for(t in i.idToState)i.idToState.hasOwnProperty(t)&&(n.idToState[t]=i.idToState[t]);for(t in i.urlToId)i.urlToId.hasOwnProperty(t)&&(n.urlToId[t]=i.urlToId[t]);for(t in i.stateToId)i.stateToId.hasOwnProperty(t)&&(n.stateToId[t]=i.stateToId[t]);i.store=n;i.normalizeStore();r=u.stringify(n);try{f.setItem("History.store",r)}catch(e){if(e.code===DOMException.QUOTA_EXCEEDED_ERR)f.length&&(f.removeItem("History.store"),f.setItem("History.store",r));else throw e;}},i.intervalList.push(l(i.onUnload,i.options.storeInterval)),i.Adapter.bind(n,"beforeunload",i.onUnload),i.Adapter.bind(n,"unload",i.onUnload)),!i.emulated.pushState&&(i.bugs.safariPoll&&i.intervalList.push(l(i.safariStatePoll,i.options.safariPollInterval)),(o.vendor==="Apple Computer, Inc."||(o.appCodeName||"")==="Mozilla")&&(i.Adapter.bind(n,"hashchange",function(){i.Adapter.trigger(n,"popstate")}),i.getHash())))i.Adapter.onDomLoad(function(){i.Adapter.trigger(n,"hashchange")})};i.options&&i.options.delayInit||i.init()}(window),function(n){function s(){n("select").not(this).each(function(){n(this)[t]("closeMenu")})}function h(t){var i=[],r;return t.css({left:"-999999px",display:"inline-block"}),t.children().each(function(t,u){r=n(u).outerWidth();i.push(r)}),t.css({left:"",display:""}),Math.max.apply(Math,i)}function r(i,r){var u=n(this),f,e;u.data("settings").clearCloseAfterLoadTimeoutOnClick===!0&&(clearTimeout(u.data("onLoadTimeout")),i.find("."+t+"-selectmenu-selected-option").removeClass(u.data("settings").activeTimeOutClass));i.find("."+t+"-selectmenu-selected-option").hasClass(u.data("settings").activeTimeOutClass)||(f=i.find("."+t+"-selectmenu li"),e=f.index(r),r.is("li")&&i.delay(u.data("settings").closeDelay,"updateChosenQueue").queue("updateChosenQueue",function(){n(this).find("."+t+"-selectmenu-selected-option-value").html(r.html());u.val(r.attr("selectmenu-value"))}).dequeue("updateChosenQueue"))}function c(t){var i="";return n.each(t.attributes,function(n,t){var r=t.nodeName,u=t.nodeValue;r=="value"&&(r="selectmenu-value",u||(u="selectifyemptyvalue"));i+=r+'="'+u+'" '}),i}function u(n,t){var i=new Error;i.name=n;i.message=t;console?console.error(i.name+" "+i.message):alert(i.name+"\n"+i.message)}var f="0.10.2",e="25th September 2013",o="Adrian Roworth",t="selectify",i={init:function(i){return this.length?this.each(function(){var r=n(this),o,e,u,f;if(r.data("isSelectified",!0),r[t]("setSettings",n.fn[t].defaults,i),r.data("settings").beforeLoad&&r.data("settings").beforeLoad(),r.data("settings").keepAge){r.data("age",0);function s(){r.data("age",parseInt(r.data("age"),10)+1);setTimeout(s,1e3)}s()}u=r[t]("buildMenu");r.trigger("beforeLoad.selectify");e=h(u);parseInt(r.data("settings").additionalWidth)>0&&(e=parseInt(r.width())+parseInt(r.data("settings").additionalWidth));parseInt(r.data("settings").width)>0&&(e=parseInt(r.data("settings").width));o=r.data("settings").ignorePreselected===!1?u.find('li[selected="selected"]:eq(0)').length>0?'li[selected="selected"]:eq(0)':"li:eq(0)":"li:eq(0)";u.wrap('<div class="'+t+'-selectmenu-container" />');f=u.parents("."+t+"-selectmenu-container").addClass(r.attr("class")).css({"z-index":"1000",position:"relative"});r.data("selectMenuContainer",f);f=r.data("selectMenuContainer");f.prepend('<div class="'+t+'-selectmenu-selected-option-container"><a class="'+t+'-selectmenu-selected-option"><span class="'+t+'-selectmenu-selected-option-value">'+n(u).find(o).text()+'<\/span><span class="'+t+'-selectmenu-selected-option-icon"><\/span><\/a><\/div>').height(n("."+t+"-selectmenu-selected-option-container").outerHeight(!0)).width(e);r.data("settings").hasCloseButton&&f.prepend('<span class="'+t+'-selectmenu-close">X<\/span>');f.find("."+t+"-selectmenu-selected-option-container").css({width:"100%",position:"absolute",top:"0px",left:"0px"});r.data("settings").hasCloseButton&&f.find("."+t+"-selectmenu-close").css({display:"none"});u.css({width:"100%",position:"absolute",top:f.find("."+t+"-selectmenu-selected-option-container").outerHeight(!0),left:"0px"});r.data("settings").maxHeight>0&&u.height()>=r.data("settings").maxHeight&&u.css({height:r.data("settings").maxHeight+"px"});f.find("."+t+"-selectmenu-selected-option-container").css({width:"100%"});u.find(o).addClass(r.data("settings").menuItemChosenClass);r.prop("disabled")==!0||r.prop("readonly")==!0?r[t]("disable"):r[t]("enable");f.prepend(r);r.data("settings").afterLoad&&r.data("settings").afterLoad();r.trigger("onLoad.selectify")}):this},toggleMenu:function(){var i=n(this),r=i.data("selectMenuContainer");r.find("."+t+"-selectmenu").hasClass(i.data("settings").hiddenMenuClass)?i[t]("openMenu",r):i[t]("closeMenu",r)},openMenu:function(){var r=n(this),i=r.data("settings"),u=r.data("selectMenuContainer");r.data("isEnabled")==!0&&u.each(function(){var u=n(this),f=u.find("."+t+"-selectmenu");u.find("."+t+"-selectmenu-selected-option").hasClass(i.activeTimeOutClass)||u.delay(i.openDelay,"openMenuQueue").queue("openMenuQueue",function(){f.removeClass(i.hiddenMenuClass).addClass(i.visibleMenuClass);u.addClass(i.visibleMenuClass);u.css({"z-index":1010});var e=f.scrollParent(),e=e[0]==document?n(window):e,w=e[0]==window?0:e.offset().top,b=e.height(),s=f[0].scrollHeight,k=i.maxHeight||Infinity,a=u.find("."+t+"-selectmenu-selected-option-container"),v=a.outerHeight(!0),y=a.offset().top-w,h=i.openDirection!="up",c=Math.min(s,k),p=y-i.edgeOffset,l=b-(y+v)-i.edgeOffset,o=h?l:p;o<c&&(o=Math.max(p,l),h=o==l);s=c>o?o:c;f.css({height:s,top:h?v:-s});u.find("."+t+"-selectmenu-close").css({display:"block"});r.trigger("openmenu.selectify")}).dequeue("openMenuQueue")})},closeMenu:function(){var i=n(this),r=i.data("selectMenuContainer");i.data("isEnabled")==!0&&r.each(function(){var u=n(this);u.find("."+t+"-selectmenu-selected-option").hasClass(i.data("settings").activeTimeOutClass)||u.find("."+t+"-selectmenu").hasClass(i.data("settings").visibleMenuClass)&&u.delay(i.data("settings").closeDelay,"CloseMenuQueue").queue("CloseMenuQueue",function(){u.find("."+t+"-selectmenu").addClass(i.data("settings").hiddenMenuClass);u.removeClass(i.data("settings").visibleMenuClass).find("."+t+"-selectmenu").removeClass(i.data("settings").visibleMenuClass);u.css({"z-index":1e3});u.find("."+t+"-selectmenu").css({top:r.find("."+t+"-selectmenu-selected-option-container").outerHeight(!0)+"px"});u.find("."+t+"-selectmenu-close").css({display:"none"});i.trigger("closemenu.selectify")}).dequeue("CloseMenuQueue")})},addItem:function(i,r,f,e){var o=n(this),s;try{if(!i||!r||!f)throw"jQuery."+t+".addItem(): This method requires at least 3 parameters 'position', 'value', and 'text'";if(isFinite(i))if(isNaN(i))throw"jQuery."+t+".removeItem(): The position index is not a number.";else isFinite(i)&&!isNaN(i)&&(s=n('<option value="'+r+'">'+f+"<\/option>"),s.insertBefore(o.children("option:eq("+i+")")),o[t]("buildMenu"));else throw"jQuery."+t+".removeItem(): The position index is not a finite number.";e&&e()}catch(h){u("",h)}},removeItem:function(i,r,f){var e=n(this),o;isFinite(i)&&!isNaN(i)&&(o=i,i=[],i[0]=o);try{n.each(i,function(n,i){if(isFinite(i)){if(isNaN(i))throw"jQuery."+t+".removeItem(): The position index is not a number.";else if(isFinite(i)&&!isNaN(i)){if(i<0&&(i=parseInt(e.children().length,10)+parseInt(i,10),i<-1))throw"jQuery."+t+".removeItem(): Item at position '"+i+"' doesn't exist. removing item at position '0'.";if(e.children(":eq("+i+")").length>0&&i>-1&&i<=e.children().length)e.children(":eq("+i+")").remove(),e[t]("buildMenu");else throw"jQuery."+t+".removeItem(): Unable to remove <option> of position '"+i+"' as it doesn't exist.";}}else throw"jQuery."+t+".removeItem(): The position index is not a finite number.";});f&&f()}catch(s){u("",s)}},changeItem:function(i,r,u,f){var e=n(this);e[t]("removeItem",i);e[t]("addItem",i,r,u,f)},buildMenu:function(){function o(){i.children().each(function(t){var r=this,u="",f=t==0&&i.data("settings").firstOptionVisibleInDropDown==!1?'style="display: none;"':"";u="<li "+c(r)+" "+f+">"+n(r).html()+"<\/li>";e.push(u)});u.append(e)}function s(){f=u.find("li");f.removeClass(""+t+"-selectmenu-option-even "+t+"-selectmenu-option-odd "+t+"-selectmenu-option-first "+t+"-selectmenu-option-last");f.filter(":odd").addClass(""+t+"-selectmenu-option-even");f.filter(":even").addClass(""+t+"-selectmenu-option-odd");f.filter(":first").addClass(""+t+"-selectmenu-option-first");f.filter(":last").addClass(""+t+"-selectmenu-option-last");r.apply(i,[i.siblings("."+t+"-selectmenu-container"),u.find("li:eq(0)")])}var i=n(this),u=i.siblings("."+t+"-selectmenu"),e=[],f="";return u.length>0?(u.html(""),o(),s(),i):(u=n("<ul/>"),u.addClass(i.attr("class")).addClass(""+t+"-selectmenu "+i.data("settings").hiddenMenuClass),o(),u.insertAfter(i),s(),u)},enable:function(i,u){var f=n(this);if(f.data("isEnabled")!=!0){var e=f.data("selectMenuContainer"),o=e.find("."+t+"-selectmenu"),c=o.children("li");isNaN(i)&&(i=0,typeof i=="function"&&(u=i,i=0));function h(){var i,h;f.data("isEnabled",!0);f.prop("disabled",!1);e.addClass(f.data("settings").menuEnabledClass).removeClass(f.data("settings").menuDisabledClass);n(o).on("click","li",function(){if(!e.find("."+t+"-selectmenu-selected-option").hasClass(f.data("settings").activeTimeOutClass)){f[t]("toggleMenu",e);var r=o.find("li").index(n(this)),i=n(this).attr("selectmenu-value");f.val(i).change();f.trigger("selected.selectify",i)}}).on("mouseenter","li",function(){n(this).siblings().addBack().removeClass(f.data("settings").menuItemHoverClass);n(this).addClass(f.data("settings").menuItemHoverClass);f.trigger("mouseenter.selectify",[this,n(this).attr("selectmenu-value")])}).on("mouseleave","li",function(){n(this).siblings().addBack().removeClass(f.data("settings").menuItemHoverClass);f.trigger("mouseleave.selectify",[this,n(this).attr("selectmenu-value")])});n("."+t+"-selectmenu-selected-option",e).on("click",function(){n(this).hasClass(f.data("settings").activeTimeOutClass)||(f[t]("toggleMenu",e),s.apply(f))});f.on("change",function(){var t=n('li[selectmenu-value="'+(this.value||"selectifyemptyvalue")+'"]',o);r.apply(f,[e,t]);n("li",o).removeClass(f.data("settings").menuItemChosenClass);t.addClass(f.data("settings").menuItemChosenClass)});f.data("settings").openOnLoad===!0&&(e.find("."+t+"-selectmenu-selected-option").trigger("click"),f.data("settings").closeAfterLoadTimeout>0&&(e.find("."+t+"-selectmenu-selected-option").addClass(f.data("settings").activeTimeOutClass),i=function(){e.find("."+t+"-selectmenu-selected-option").removeClass(f.data("settings").activeTimeOutClass);f[t]("closeMenu",e)},f.data("onLoadTimeout",setTimeout(i,f.data("settings").closeAfterLoadTimeout)),h=f.data("onLoadTimeout")));u&&u()}i!=0?setTimeout(h,i):h()}},disable:function(i,r){var u=n(this),f,e;if(u.data("isEnabled")!=!1){f=u.data("selectMenuContainer");e=f.find("."+t+"-selectmenu");isNaN(i)&&(i=0,typeof i=="function"&&(r=i,i=0));function o(){u.data("isEnabled",!1);u.prop("disabled",!0);f.removeClass(u.data("settings").menuEnabledClass).addClass(u.data("settings").menuDisabledClass);n(e).off("click","li").off("mouseenter","li").off("mouseleave","li");n("."+t+"-selectmenu-selected-option",f).off("click");r&&r()}i!=null?setTimeout(o,i):o()}},destroy:function(){var t=n(this),i=t.data("selectMenuContainer");i.remove()},status:function(t){var r=n(this),u={},i;return r.data("selectMenuContainer").find(".selectify-selectmenu").children().each(function(){var t={index:n(this).prevAll().length,classes:n(this).attr("class"),id:n(this).attr("id"),innerHTML:n(this).html(),outerHTML:n(this)[0].outerHTML,"DOM element":n(this)[0]};u[t.index]=t}),i={code:0,initialised:!1,enabled:!1,description:"Not initialised",version:n.fn.selectify.version,"version date":n.fn.selectify.versionDate,children:u},i.initialised=r.data("isSelectified")==!0?!0:!1,i.enabled=r.data("isEnabled")==!0?!0:!1,i.initialised==!0?i.enabled==!0?(i.code=1,i.description="Initialised & enabled"):(i.code=2,i.description="Initialised & disabled"):(i.code=0,i.description="Not initialised"),i.age=r.data("age"),i.version=n.fn.selectify.version,i["version date"]=n.fn.selectify.versionDate,i[t]||i},isInitd:function(){return n(this).data("isSelectified")==!0?!0:!1},isEnabled:function(){return n(this).data("isEnabled")==!0?!0:!1},statusCode:function(){return n(this)[t]("status","code")},statusDescription:function(){return n(this)[t]("status","description")},age:function(){return parseInt(n(this).data("age"),10)*1e3},setSettings:function(){var t=[{}].concat(Array.prototype.slice.call(arguments,0)).concat(this.data("settings"));this.data("settings",n.extend.apply(null,t))}};n.fn[t]=function(r){if(i[r])return i[r].apply(this,Array.prototype.slice.call(arguments,1));if(typeof r!="object"&&r)n.error("Method "+r+" does not exist on jQuery."+t);else return i.init.apply(this,arguments)};n.fn[t].version=function(){return f}();n.fn[t].versionDate=function(){return e}();n.fn[t].author=function(){return o}();n.fn[t].defaults={additionalWidth:"0",width:"0",ignorePreselected:!1,openOnLoad:!1,closeAfterLoadTimeout:0,clearCloseAfterLoadTimeoutOnClick:!0,openDelay:0,closeDelay:0,menuItemChosenClass:t+"-selectmenu-item-chosen",menuItemHoverClass:t+"-selectmenu-item-hover",activeTimeOutClass:t+"-selectmenu-timeout-active",hiddenMenuClass:t+"-selectmenu-hidden",visibleMenuClass:t+"-selectmenu-open",menuEnabledClass:t+"-selectmenu-enabled",menuDisabledClass:t+"-selectmenu-disabled",maxHeight:300,openDirection:"auto",edgeOffset:45,beforeLoad:null,afterLoad:null,keepAge:!1,firstOptionVisibleInDropDown:!0,hasCloseButton:!1}}(jQuery),function(n){"use strict";var t="checkboxify",i={init:function(i){return this.length?this.each(function(){var r=n(this),f;if(!r.data("isCheckboxified")){r.data("isCheckboxified",!0);r.data("settings",n.extend({},n.fn[t].defaults,i));r.parents(".compact").length&&r.next('label[for="'+r.attr("id")+'"]').addBack().wrapAll('<div class="input-container" />');var e=r.siblings("label").length?r.parent():r.parents("label").length?r.parents("label").parent():r,u=e.wrapInner('<div class="checkboxify-dom-container" style="position: absolute; top: 0; left: -99999px;" />'),o=r.data("settings").label!=null?r.data("settings").label:e.find("label").text(),s=r.data("labelclass")!=null?r.data("labelclass"):"";r.data("checkboxContainer",u);u.append('<div class="checkboxify-checkbox-container"><div class="checkbox"><div class="checkbox-inner" /><\/div><span class="checkbox-label '+s+'">'+o+"<\/span><\/div>");u.wrapInner('<div class="checkboxify-wrapper" />');f=r.is(":checked")?!0:!1;f?u.find(".checkboxify-checkbox-container .checkbox").addClass("checked"):u.find(".checkboxify-checkbox-container .checkbox").removeClass("checked");f?u.find(".checkboxify-checkbox-container .checkbox-inner").html("X"):u.find(".checkboxify-checkbox-container .checkbox-inner").html("");u.find(".checkboxify-checkbox-container .checkbox, .checkboxify-checkbox-container .checkbox-label").on("click",u,function(){r.click();f=r.is(":checked")?!0:!1;var t=n(this);f?u.find(".checkboxify-checkbox-container .checkbox").addClass("checked"):u.find(".checkboxify-checkbox-container .checkbox").removeClass("checked");f?u.find(".checkboxify-checkbox-container .checkbox-inner").html("X"):u.find(".checkboxify-checkbox-container .checkbox-inner").html("")})}}):this}};n.fn[t]=function(r){if(i[r])return i[r].apply(this,Array.prototype.slice.call(arguments,1));if(typeof r!="object"&&r)n.error("Method "+r+" does not exist on jQuery."+t);else return i.init.apply(this,arguments)};n.fn[t].defaults={label:null,extraClasses:null}}(jQuery),function(n){n.fn.tabify=function(t){var i=n.extend({},n.fn.tabify.defaultOptions,t);return n.fx.off=!0,this.each(function(){var t=n(this),u=n(".tab",t.next()),f=t.scrollParent(),o=f.hasClass("nice-scroll"),r=t.find("a.active"),e;r.length||(r=t.find("a:eq(0)").addClass("active"));n(".tab"+r.attr("href")).addClass("active").siblings().hide();e=t.find("a").on("click",function(){var r=n(this),s=r.attr("href").replace(/#?\?tab=/,""),e;(e=u.filter("#"+s)).hasClass("active")||(EQTR.ajax.useAjaxLoading||location.replace(r.attr("href")),t.find("a").removeClass("active"),r.addClass("active"),u.filter(".active").fadeOut(i.speed,function(){var n=e.addClass("active").fadeIn(i.speed);n.find(".cover-image").backgroundCover();n.find(".responsive-background-image").responsiveBackgroundImage();o&&f.getNiceScroll().resize()}).removeClass("active"))}).attr("href",function(n,t){return t.replace("#",(EQTR.ajax.useAjaxLoading?"?":"#?")+"tab=")});location.href.match(/tab=([^&]*)/)&&e.filter("[href*='tab="+RegExp.$1+"']").triggerHandler("click")}),n.fx.off=!1,this};n.fn.tabify.defaultOptions={speed:300}}(jQuery),function(n){"use strict";var t=function(t){t.each(function(){var t,f,u;if(n(this).is(":hidden"))return!0;if(t=n(this),t.css("font-size",""),f=Math.max(t.width(),t[0].scrollWidth),u=t.css("font-size",1).width(),t.css("font-size",""),f>u){var r=t.css("font-size").replace("px","")/10,i=t.css("letter-spacing","").css("letter-spacing").toString().replace("px",""),e=u/f;i*e>1&&(i=i*e);r=Math.floor(r*e)*10;t.css({fontSize:r,letterSpacing:i});Math.max(t.width(),t[0].scrollWidth)>u&&r>10&&(i>1&&(i-=.8),t.css({fontSize:r-=2,letterSpacing:i}))}})};n.fn.fitword=function(){var n=this;return t(n),this}}(jQuery);window.history&&history.pushState||!location.href.match(/([^#]\?tab=)/i)||location.replace(location.href.replace(/\?tab=/,"#?tab=")),function(n){n.fn.contentexpander=function(t){var i=n.extend({},n.fn.contentexpander.defaultOptions,t);return this.each(function(){var t=n(this),r=t.scrollParent(),e={duration:i.speed},u,f;EQTR.detectDevice.isDesktop()&&(e.step=function(){r.getNiceScroll().resize()});t.on("click",".item-name a",function(t,i){function s(){var n=u.position().top+r.scrollTop();r.animate({scrollTop:n},1e3)}var u=n(this).closest(".item"),o=u.find(".item-details"),f=u.hasClass("active");o[f?"slideUp":"slideDown"](e);f||!u.prop("id")?t.preventDefault():EQTR.ajax.useAjaxLoading?i&&t.preventDefault():location.replace(n(this).attr("href"));f||o.find(".responsive-background-image").responsiveBackgroundImage();u.toggleClass("active");u.hasClass("active")&&s()});u=t.find(".item").each(function(){var t=this.id?(EQTR.ajax.useAjaxLoading?"?":"#?")+"tab="+this.id:"#";n(".item-name",this).html(function(n,i){return'<a href="'+t+'">'+i+"<\/a>"})});f=u.find(".item-details");i.closedOnLoad?f.hide():(u.addClass("active"),f.show());location.href.match(/tab=([^&]*)/)&&n("#"+RegExp.$1+" > .item-name a").trigger("click",[!0])})};n.fn.contentexpander.defaultOptions={speed:300,closedOnLoad:!0}}(jQuery),function(n,t){var i="togglePanel",u=0,r={init:function(r){return this.each(function(){var e=n(this),f={},o,s;if(f.link=e,f.panel=n(r.panel||e.data("panel")),f.linkOpenClass=r.linkOpenClass||"",f.panelOpenClass=r.panelOpenClass||"",f.linkCloseClass=r.linkCloseClass||"",f.panelCloseClass=r.panelCloseClass||"",f.id=u++,f.useJS=r.useJS,f.panelOpenClass||f.panelCloseClass||(f.panelOpenClass="_toggle-open",f.useJS=!0),e.data(i,f),o=!1,EQTR.detectDevice.supportsPointer()){window.navigator.pointerEnabled?s="pointerdown":window.navigator.msPointerEnabled&&(s="MSPointerDown");e.on(s+" mouseenter",function(n){n.preventDefault();f.openEventType=n.type;var r=t;if(n.type=="mouseenter")r=!0,o=!0,setTimeout(function(){o=!1},600);else if(o)return!0;e[i]("toggle",r)});e.on("click",function(n){n.preventDefault()})}else e.on("click mouseenter",function(n){n.preventDefault();var r=t;if(n.type=="mouseenter")r=!0,o=!0,setTimeout(function(){o=!1},600);else if(o)return!0;e[i]("toggle",r)});EQTR.detectDevice.isDesktop()&&setTimeout(function(){var t=f.panel.getNiceScroll().length?n(f.panel.data("__nicescroll").rail):n([]);f.railMouseDown=!1;t.length&&t.children().mousedown(function(){f.railMouseDown=!0;n(document).one("mouseup",function(){f.railMouseDown=!1})});f.panel.add(f.link).add(t).mouseenter(function(){clearTimeout(f.closeTimer)}).on("mouseleave",function(){clearTimeout(f.closeTimer);f.railMouseDown||(f.closeTimer=setTimeout(function(){e[i]("toggle",!1)},1500))})},100)})},setTimer:function(t){var r=n(this),u=r.data(i);u.closeTimer=t},toggle:function(t,r){function h(){f.getNiceScroll().resize().show();f.off(".transition")}function c(){f.scrollTop(0);f.off(".transition")}var e=n(this),u=e.data(i),f=u.panel,o,s;if(u.state!="open"||!t)if(f.getNiceScroll().hide(),clearTimeout(u.closeTimer),f.off(".transition"),s=Modernizr.csstransitions?r:{duration:900},t===r&&(t=!(u.panelOpenClass&&f.hasClass(u.panelOpenClass)||u.panelCloseClass&&!f.hasClass(u.panelCloseClass))),t?o=f.switchClass(u.panelCloseClass,u.panelOpenClass,s).promise():f.switchClass(u.panelOpenClass,u.panelCloseClass,s),u.linkOpenClass&&e.toggleClass(u.linkOpenClass,t),u.linkCloseClass&&e.toggleClass(u.linkCloseClass,!t),u.state=t?"open":"closed",t){n(document).on("mouseup."+i+u.id,function(t){n(t.target).is(e)||n(t.target).closest(e).length||n(t.target).closest(f).length||n(t.target).closest("#ui-datepicker-div,.ui-datepicker-header").length||(u.railMouseDown?u.closeTimer=setTimeout(function(){e[i]("toggle",!1)},1500):e[i]("toggle",!1))});if(u.useJS)f.stop().slideDown(function(){h()});else if(Modernizr.csstransitions)f.on(EQTR.GetTransitionEnd()+".transition",function(n){n.originalEvent.propertyName.match(/transform/)&&h()});else o&&o.done(h)}else if(n(document).off("."+i+u.id),u.useJS)f.stop().slideUp(function(){c()});else if(Modernizr.csstransitions)f.on(EQTR.GetTransitionEnd()+".transition",function(n){n.originalEvent.propertyName.match(/transform/)&&c()});else f.scrollTop(0)}};n.fn[i]=function(t){if(r[t])return r[t].apply(this,Array.prototype.slice.call(arguments,1));if(typeof t!="object"&&t)n.error("Method "+t+" does not exist on jQuery."+i);else return r.init.apply(this,arguments)};n.fn[i].defaults={}}(jQuery),function(n){var t="simplePanelScroller",i={init:function(i){return i=i||{},this.each(function(){var u=n(this),r={children:i.children,current:0},e=r.children?n(r.children,u):u.children(),f=e.eq(0).scrollParent();r.scrollTimer=null;r.scrollParent=f;u.data(t,r);f.scroll(function(){if(r.scrolling)return!1;var t=n(this);clearTimeout(r.scrollTimer);r.scrollTimer=setTimeout(function(){t.trigger("scrollEnd")},300)});f.on("scrollEnd",function(){u[t]("snapTo")})})},cancelScroll:function(){var r=n(this),i=r.data(t),u=i.scrollParent;u.stop();i.scrolling=!1},snapTo:function(i){var f=n(this),r=f.data(t),o=r.children?n(r.children,f):f.children(),s=r.scrollParent,e=s.scrollTop(),u=null;isNaN(i)?o.each(function(){var f=n(this),t=f.position().top,o=f.height(),i=t+o;return t==0||i==0?!1:t<e&&i>0?(u=i<o/2?e+i:t+e,r.current=f.index(),!1):void 0}):(i=Math.round(i),o.eq(i).length&&(u=e+o.eq(i).position().top,r.current=i));u!=null&&(r.scrolling=!0,u!=null&&s.stop().animate({scrollTop:u},function(){setTimeout(function(){f[t]("cancelScroll")},100)}))},scrollTo:function(i){var r=n(this);r[t]("snapTo",i)},next:function(){var i=n(this),r=i.data(t);i[t]("snapTo",r.current+1)},prev:function(){var i=n(this),r=i.data(t);i[t]("snapTo",r.current-1)}};n.fn[t]=function(r){if(i[r])return i[r].apply(this,Array.prototype.slice.call(arguments,1));if(typeof r!="object"&&r)n.error("Method "+r+" does not exist on jQuery."+t);else return i.init.apply(this,arguments)};n.fn[t].defaults={}}(jQuery),function(n){var t="sc-faded",r="scroller-arrow-plugin",i="<span class='scroller-arrow-pointer'>▼<\/span>",u='<a href="#" class="scroller-arrow-pointer--circle {0}"><span>{1}<\/span><span class="icon icon-scroll-down"><\/span><\/a>';n.fn.scrollerArrow=function(){return this.each(function(){var s=n(this),f=s.children().scrollParent(),h,c,a=s.data("scroller-explore-text"),v=s.data("scroller-explore-class"),e=null,o,y,l;if(f.length){if(f.addClass(r).css({position:function(n,t){if(t=="static")return"relative"}}),typeof v!="undefined"&&typeof a!="undefined"&&(i=u.replace("{0}",v).replace("{1}",a)),o=n(i).appendTo(f),f.scroll(function(){if(c)return!0;var n=f.scrollTop();!h&&n>15&&(o.addClass(t),h=!0);h&&n<=15&&(o.removeClass(t),h=!1)}),e=n(".scroller-arrow-pointer--circle",f),e!=null&&e.length){y=e.offset().top;e.on("click",function(){f.animate({scrollTop:y})})}l=EQTR.AddToResizeQueue(function(){f.height()>=f[0].scrollHeight?(o.addClass(t),c=!0):(o.removeClass(t),c=!1)});l();s.on("destoyed",function(){EQTR.RemoveFromResizeQueue(l)})}})}}(jQuery),function(n){var t="colouredLetters",r="~",u=["#EAB865","#EB6528","#E42656","#74BADE","#26B7B2","#C4CE4B"],i={init:function(){return this.each(function(){var t=n(this),f="",e,i;e=t.find("em").replaceWith(r);i=t.text().split("");i.length&&(n(i).each(function(n,t){f+=t==" "?t:"<span>"+t+"<\/span>"}),t.empty().append(f).find(":contains('"+r+"')").each(function(t){n(this).replaceWith(e.eq(t))}).end().find("span").each(function(t){n(this).css("color",u[t%u.length])}))})}};n.fn[t]=function(r){if(i[r])return i[r].apply(this,Array.prototype.slice.call(arguments,1));if(typeof r!="object"&&r)n.error("Method "+r+" does not exist on jQuery."+t);else return i.init.apply(this,arguments)};n.fn[t].defaults={}}(jQuery);window.EQTR.filter=function(n,t){var i=n,u,r,f;return i.init=function(){t("[js-filter]").each(function(){var n=t(this);u=n.children();r=t(n.attr("js-filter"));f=r.find("select").attr("name");filterSelect=r.find("select");closestNiceScroll=n.closest(".nice-scroll").getNiceScroll();lastFilteredMonth=0;r.find('input[type="submit"]').on("click",function(i){i.preventDefault();var e=filterSelect,r=e.val();if(lastFilteredMonth==r)return!1;filteredItems=u.filter("[data-filter-"+f+"="+r+"]");t.when(u.fadeOut()).then(function(){if(n.empty(),closestNiceScroll.resize(),!filteredItems.length)return!1;n.append(filteredItems);filteredItems.fadeIn();closestNiceScroll.resize()});lastFilteredMonth=r})})},i.hasScrollBar=function(n){return n.length?n[0].scrollHeight>n.height():!1},i.thing=function(){},i.showScrollIndicator=function(){},i}(window.EQTR.filter||{},jQuery);window.EQTR=function(n,t){t(".video-caption").on("click",function(){alert("click!")});var i={init:function(){},loadVideo:function(){}};return n.VideoShit=i,n}(window.EQTR||{},window.jQuery),function(){}(jQuery),function(n,t){function w(){p||(EQTR.Analytics.setCustomVar(5,f,"Popup seen",1),EQTR.Analytics.trackEvent(f,"Popup seen","Popup seen: "+location.pathname),e(i,!0,30))}function d(){var n=l,i=t(".takeover__cover",n),r=h,u=t(".takeover__popup-close",n);n.find(".takeover__popup").append(r).end().appendTo("body");t(".responsive-background-image",r).responsiveBackgroundImage();e(o,!0);takeoverPopupConfig=null;Modernizr.csstransitions?i.hide().fadeIn("slow",function(){n.addClass("takeover__popupouter--reveal");w()}):n.animate({left:0},w);u.add(i).click(function(r){r.preventDefault();i.fadeOut("slow",function(){});Modernizr.csstransitions?(n.removeClass("takeover__popupouter--reveal"),setTimeout(function(){n.remove()},1e3)):n.animate({left:"100%"},function(){t(this).remove()})});t("a",r).click(function(){EQTR.Analytics.setCustomVar(5,f,"CTA clicked",1);EQTR.Analytics.trackEvent(f,"CTA clicked","CTA clicked: "+location.pathname);u.click()})}function e(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="";document.cookie=n+"="+t+u+"; path=/"}function a(n){for(var r=n+"=",u=document.cookie.split(";"),t,i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}function b(n){e(n,"",-1)}var o="takeover_session",i,c,u,v=(new Date).valueOf(),r,y,s,p,f,h,l,k={checkTakeoverStatus:function(n){if(i=window.takeoverPopupConfig&&takeoverPopupConfig.cookieName,u=a(o),!i||u=="true"){u!="true"&&b(o);return}if(l||(l=t('<div class="takeover__popupouter"><div class="takeover__cover"><\/div><div class="takeover__popup"><a href="#" class="takeover__popup-close">x<\/a><\/div><div class="takeover__popup__verticalaligner"><\/div><\/div>')),u!=i&&(a(u)!="true"&&b(u),clearTimeout(c)),e(o,i),y=takeoverPopupConfig.timer,r=a(i)){if(r=parseInt(r),isNaN(r))return}else r=v,e(i,r),h&&h.remove(),h=t(".js-takeover-content",n).removeClass("js-takeover-content").detach();s=y-(v-r);s<0&&(s=0);f=i;c=setTimeout(d,s)}};t(window).on("beforeunload",function(){clearTimeout(c);p=!0});return n.takeover=k,n}(window.EQTR||{},jQuery),function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function r(){return te.apply(null,arguments)}function kh(n){te=n}function wr(n){return Object.prototype.toString.call(n)==="[object Array]"}function br(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function dh(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function ni(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function kr(n,t){for(var i in t)ni(t,i)&&(n[i]=t[i]);return ni(t,"toString")&&(n.toString=t.toString),ni(t,"valueOf")&&(n.valueOf=t.valueOf),n}function tr(n,t,i,r){return fo(n,t,i,r,!0).utc()}function gh(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function o(n){return n._pf==null&&(n._pf=gh()),n._pf}function ie(n){if(n._isValid==null){var t=o(n);n._isValid=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated;n._strict&&(n._isValid=n._isValid&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined)}return n._isValid}function re(n){var t=tr(NaN);return n!=null?kr(o(t),n):o(t).userInvalidated=!0,t}function vu(n,t){var u,i,r;if(typeof t._isAMomentObject!="undefined"&&(n._isAMomentObject=t._isAMomentObject),typeof t._i!="undefined"&&(n._i=t._i),typeof t._f!="undefined"&&(n._f=t._f),typeof t._l!="undefined"&&(n._l=t._l),typeof t._strict!="undefined"&&(n._strict=t._strict),typeof t._tzm!="undefined"&&(n._tzm=t._tzm),typeof t._isUTC!="undefined"&&(n._isUTC=t._isUTC),typeof t._offset!="undefined"&&(n._offset=t._offset),typeof t._pf!="undefined"&&(n._pf=o(t)),typeof t._locale!="undefined"&&(n._locale=t._locale),au.length>0)for(u in au)i=au[u],r=t[i],typeof r!="undefined"&&(n[i]=r);return n}function ir(n){vu(this,n);this._d=new Date(n._d!=null?n._d.getTime():NaN);yu===!1&&(yu=!0,r.updateOffset(this),yu=!1)}function yt(n){return n instanceof ir||n!=null&&n._isAMomentObject!=null}function y(n){return n<0?Math.ceil(n):Math.floor(n)}function h(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=y(t)),i}function ue(n,t,i){for(var f=Math.min(n.length,t.length),e=Math.abs(n.length-t.length),u=0,r=0;r<f;r++)(i&&n[r]!==t[r]||!i&&h(n[r])!==h(t[r]))&&u++;return u+e}function fe(){}function ee(n){return n?n.toLowerCase().replace("_","-"):n}function nc(n){for(var r=0,i,t,f,u;r<n.length;){for(u=ee(n[r]).split("-"),i=u.length,t=ee(n[r+1]),t=t?t.split("-"):null;i>0;){if(f=oe(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&ue(u,t,!0)>=i-1)break;i--}r++}return null}function oe(n){var t=null;if(!ti[n]&&typeof module!="undefined"&&module&&module.exports)try{t=dr._abbr;require("./locale/"+n);rr(t)}catch(i){}return ti[n]}function rr(n,t){var i;return n&&(i=typeof t=="undefined"?ii(n):se(n,t),i&&(dr=i)),dr._abbr}function se(n,t){return t!==null?(t.abbr=n,ti[n]=ti[n]||new fe,ti[n].set(t),rr(n),ti[n]):(delete ti[n],null)}function ii(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return dr;if(!wr(n)){if(t=oe(n),t)return t;n=[n]}return nc(n)}function a(n,t){var i=n.toLowerCase();ur[i]=ur[i+"s"]=ur[t]=n}function w(n){return typeof n=="string"?ur[n]||ur[n.toLowerCase()]:undefined}function he(n){var r={},i,t;for(t in n)ni(n,t)&&(i=w(t),i&&(r[i]=n[t]));return r}function vi(n,t){return function(i){return i!=null?(ce(this,n,i),r.updateOffset(this,t),this):gr(this,n)}}function gr(n,t){return n._d["get"+(n._isUTC?"UTC":"")+t]()}function ce(n,t,i){return n._d["set"+(n._isUTC?"UTC":"")+t](i)}function le(n,t){var i;if(typeof n=="object")for(i in n)this.set(i,n[i]);else if(n=w(n),typeof this[n]=="function")return this[n](t);return this}function pu(n,t,i){var r=""+Math.abs(n),u=t-r.length,f=n>=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function u(n,t,i,r){var u=r;typeof r=="string"&&(u=function(){return this[r]()});n&&(yi[n]=u);t&&(yi[t[0]]=function(){return pu(u.apply(this,arguments),t[1],t[2])});i&&(yi[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function tc(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function ic(n){for(var i=n.match(ae),t=0,r=i.length;t<r;t++)i[t]=yi[i[t]]?yi[i[t]]:tc(i[t]);return function(u){var f="";for(t=0;t<r;t++)f+=i[t]instanceof Function?i[t].call(u,n):i[t];return f}}function bu(n,t){return n.isValid()?(t=ve(t,n.localeData()),wu[t]=wu[t]||ic(t),wu[t](n)):n.localeData().invalidDate()}function ve(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(nu.lastIndex=0;i>=0&&nu.test(n);)n=n.replace(nu,r),nu.lastIndex=0,i-=1;return n}function rc(n){return typeof n=="function"&&Object.prototype.toString.call(n)==="[object Function]"}function i(n,t,i){gu[n]=rc(t)?t:function(n){return n&&i?i:t}}function uc(n,t){return ni(gu,n)?gu[n](t._strict,t._locale):new RegExp(fc(n))}function fc(n){return n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function l(n,t){var i,r=t;for(typeof n=="string"&&(n=[n]),typeof t=="number"&&(r=function(n,i){i[t]=h(n)}),i=0;i<n.length;i++)nf[n[i]]=r}function er(n,t){l(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function ec(n,t,i){t!=null&&ni(nf,n)&&nf[n](t,i._a,i,n)}function tf(n,t){return new Date(Date.UTC(n,t+1,0)).getUTCDate()}function oc(n){return this._months[n.month()]}function sc(n){return this._monthsShort[n.month()]}function hc(n,t,i){var r,u,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=tr([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(n))||i&&t==="MMM"&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r}function ke(n,t){var i;return typeof t=="string"&&(t=n.localeData().monthsParse(t),typeof t!="number")?n:(i=Math.min(n.date(),tf(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n)}function de(n){return n!=null?(ke(this,n),r.updateOffset(this,!0),this):gr(this,"Month")}function cc(){return tf(this.year(),this.month())}function rf(n){var i,t=n._a;return t&&o(n).overflow===-2&&(i=t[ht]<0||t[ht]>11?ht:t[ft]<1||t[ft]>tf(t[ut],t[ht])?ft:t[v]<0||t[v]>24||t[v]===24&&(t[ri]!==0||t[ui]!==0||t[fi]!==0)?v:t[ri]<0||t[ri]>59?ri:t[ui]<0||t[ui]>59?ui:t[fi]<0||t[fi]>999?fi:-1,o(n)._overflowDayOfYear&&(i<ut||i>ft)&&(i=ft),o(n).overflow=i),n}function ge(n){r.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+n)}function b(n,t){var i=!0;return kr(function(){return i&&(ge(n+"\n"+(new Error).stack),i=!1),t.apply(this,arguments)},t)}function lc(n,t){uf[n]||(ge(t),uf[n]=!0)}function no(n){var t,i,r=n._i,u=ac.exec(r);if(u){for(o(n).iso=!0,t=0,i=ff.length;t<i;t++)if(ff[t][1].exec(r)){n._f=ff[t][0];break}for(t=0,i=ef.length;t<i;t++)if(ef[t][1].exec(r)){n._f+=(u[6]||" ")+ef[t][0];break}r.match(fu)&&(n._f+="Z");cf(n)}else n._isValid=!1}function yc(n){var t=vc.exec(n._i);if(t!==null){n._d=new Date(+t[1]);return}no(n);n._isValid===!1&&(delete n._isValid,r.createFromInputFallback(n))}function pc(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<1970&&o.setFullYear(n),o}function of(n){var t=new Date(Date.UTC.apply(null,arguments));return n<1970&&t.setUTCFullYear(n),t}function to(n){return io(n)?366:365}function io(n){return n%4==0&&n%100!=0||n%400==0}function wc(){return io(this.year())}function ei(n,t,i){var f=i-t,r=i-n.day(),u;return r>f&&(r-=7),r<f-7&&(r+=7),u=s(n).add(r,"d"),{week:Math.ceil(u.dayOfYear()/7),year:u.year()}}function bc(n){return ei(n,this._week.dow,this._week.doy).week}function kc(){return this._week.dow}function dc(){return this._week.doy}function gc(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")}function nl(n){var t=ei(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")}function tl(n,t,i,r,u){var o=6+u-r,s=of(n,0,1+o),e=s.getUTCDay(),f;return e<u&&(e+=7),i=i!=null?1*i:u,f=1+o+7*(t-1)-e+i,{year:f>0?n:n-1,dayOfYear:f>0?f:to(n-1)+f}}function il(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?t:this.add(n-t,"d")}function pi(n,t,i){return n!=null?n:t!=null?t:i}function rl(n){var t=new Date;return n._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function hf(n){var t,i,r=[],u,f;if(!n._d){for(u=rl(n),n._w&&n._a[ft]==null&&n._a[ht]==null&&ul(n),n._dayOfYear&&(f=pi(n._a[ut],u[ut]),n._dayOfYear>to(f)&&(o(n)._overflowDayOfYear=!0),i=of(f,0,n._dayOfYear),n._a[ht]=i.getUTCMonth(),n._a[ft]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=u[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._a[v]===24&&n._a[ri]===0&&n._a[ui]===0&&n._a[fi]===0&&(n._nextDay=!0,n._a[v]=0);n._d=(n._useUTC?of:pc).apply(null,r);n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[v]=24)}}function ul(n){var t,e,u,r,i,f,o;t=n._w;t.GG!=null||t.W!=null||t.E!=null?(i=1,f=4,e=pi(t.GG,n._a[ut],ei(s(),1,4).year),u=pi(t.W,1),r=pi(t.E,1)):(i=n._locale._week.dow,f=n._locale._week.doy,e=pi(t.gg,n._a[ut],ei(s(),i,f).year),u=pi(t.w,1),t.d!=null?(r=t.d,r<i&&++u):r=t.e!=null?t.e+i:i);o=tl(e,u,r,f,i);n._a[ut]=o.year;n._dayOfYear=o.dayOfYear}function cf(n){if(n._f===r.ISO_8601){no(n);return}n._a=[];o(n).empty=!0;for(var t=""+n._i,i,u,s,c=t.length,h=0,e=ve(n._f,n._locale).match(ae)||[],f=0;f<e.length;f++)u=e[f],i=(t.match(uc(u,n))||[])[0],i&&(s=t.substr(0,t.indexOf(i)),s.length>0&&o(n).unusedInput.push(s),t=t.slice(t.indexOf(i)+i.length),h+=i.length),yi[u]?(i?o(n).empty=!1:o(n).unusedTokens.push(u),ec(u,i,n)):n._strict&&!i&&o(n).unusedTokens.push(u);o(n).charsLeftOver=c-h;t.length>0&&o(n).unusedInput.push(t);o(n).bigHour===!0&&n._a[v]<=12&&n._a[v]>0&&(o(n).bigHour=undefined);n._a[v]=fl(n._locale,n._a[v],n._meridiem);hf(n);rf(n)}function fl(n,t,i){var r;return i==null?t:n.meridiemHour!=null?n.meridiemHour(t,i):n.isPM!=null?(r=n.isPM(i),r&&t<12&&(t+=12),r||t!==12||(t=0),t):t}function el(n){var t,f,u,r,i;if(n._f.length===0){o(n).invalidFormat=!0;n._d=new Date(NaN);return}for(r=0;r<n._f.length;r++)(i=0,t=vu({},n),n._useUTC!=null&&(t._useUTC=n._useUTC),t._f=n._f[r],cf(t),ie(t))&&(i+=o(t).charsLeftOver,i+=o(t).unusedTokens.length*10,o(t).score=i,(u==null||i<u)&&(u=i,f=t));kr(n,f||t)}function ol(n){if(!n._d){var t=he(n._i);n._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond];hf(n)}}function sl(n){var t=new ir(rf(uo(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}function uo(n){var t=n._i,i=n._f;return(n._locale=n._locale||ii(n._l),t===null||i===undefined&&t==="")?re({nullInput:!0}):(typeof t=="string"&&(n._i=t=n._locale.preparse(t)),yt(t))?new ir(rf(t)):(wr(i)?el(n):i?cf(n):br(t)?n._d=t:hl(n),n)}function hl(n){var t=n._i;t===undefined?n._d=new Date:br(t)?n._d=new Date(+t):typeof t=="string"?yc(n):wr(t)?(n._a=dh(t.slice(0),function(n){return parseInt(n,10)}),hf(n)):typeof t=="object"?ol(n):typeof t=="number"?n._d=new Date(t):r.createFromInputFallback(n)}function fo(n,t,i,r,u){var f={};return typeof i=="boolean"&&(r=i,i=undefined),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,sl(f)}function s(n,t,i,r){return fo(n,t,i,r,!1)}function so(n,t){var r,i;if(t.length===1&&wr(t[0])&&(t=t[0]),!t.length)return s();for(r=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][n](r))&&(r=t[i]);return r}function cl(){var n=[].slice.call(arguments,0);return so("isBefore",n)}function ll(){var n=[].slice.call(arguments,0);return so("isAfter",n)}function eu(n){var t=he(n),i=t.year||0,r=t.quarter||0,u=t.month||0,f=t.week||0,e=t.day||0,o=t.hour||0,s=t.minute||0,h=t.second||0,c=t.millisecond||0;this._milliseconds=+c+h*1e3+s*6e4+o*36e5;this._days=+e+f*7;this._months=+u+r*3+i*12;this._data={};this._locale=ii();this._bubble()}function lf(n){return n instanceof eu}function ho(n,t){u(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+pu(~~(n/60),2)+t+pu(~~n%60,2)})}function af(n){var i=(n||"").match(fu)||[],u=i[i.length-1]||[],t=(u+"").match(co)||["-",0,0],r=+(t[1]*60)+h(t[2]);return t[0]==="+"?r:-r}function vf(n,t){var i,u;return t._isUTC?(i=t.clone(),u=(yt(n)||br(n)?+n:+s(n))-+i,i._d.setTime(+i._d+u),r.updateOffset(i,!1),i):s(n).local()}function yf(n){return-Math.round(n._d.getTimezoneOffset()/15)*15}function al(n,t){var i=this._offset||0,u;return n!=null?(typeof n=="string"&&(n=af(n)),Math.abs(n)<16&&(n=n*60),!this._isUTC&&t&&(u=yf(this)),this._offset=n,this._isUTC=!0,u!=null&&this.add(u,"m"),i!==n&&(!t||this._changeInProgress?wo(this,pt(n-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:yf(this)}function vl(n,t){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function yl(n){return this.utcOffset(0,n)}function pl(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(yf(this),"m")),this}function wl(){return this._tzm?this.utcOffset(this._tzm):typeof this._i=="string"&&this.utcOffset(af(this._i)),this}function bl(n){return n=n?s(n).utcOffset():0,(this.utcOffset()-n)%60==0}function kl(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dl(){var n,t;return typeof this._isDSTShifted!="undefined"?this._isDSTShifted:(n={},vu(n,this),n=uo(n),n._a?(t=n._isUTC?tr(n._a):s(n._a),this._isDSTShifted=this.isValid()&&ue(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function gl(){return!this._isUTC}function na(){return this._isUTC}function lo(){return this._isUTC&&this._offset===0}function pt(n,t){var i=n,r=null,u,f,e;return lf(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:typeof n=="number"?(i={},t?i[t]=n:i.milliseconds=n):(r=ao.exec(n))?(u=r[1]==="-"?-1:1,i={y:0,d:h(r[ft])*u,h:h(r[v])*u,m:h(r[ri])*u,s:h(r[ui])*u,ms:h(r[fi])*u}):(r=vo.exec(n))?(u=r[1]==="-"?-1:1,i={y:oi(r[2],u),M:oi(r[3],u),d:oi(r[4],u),h:oi(r[5],u),m:oi(r[6],u),s:oi(r[7],u),w:oi(r[8],u)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(e=ta(s(i.from),s(i.to)),i={},i.ms=e.milliseconds,i.M=e.months),f=new eu(i),lf(n)&&ni(n,"_locale")&&(f._locale=n._locale),f}function oi(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function yo(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function ta(n,t){var i;return t=vf(t,n),n.isBefore(t)?i=yo(n,t):(i=yo(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i}function po(n,t){return function(i,r){var u,f;return r===null||isNaN(+r)||(lc(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),f=i,i=r,r=f),i=typeof i=="string"?+i:i,u=pt(i,r),wo(this,u,n),this}}function wo(n,t,i,u){var o=t._milliseconds,f=t._days,e=t._months;u=u==null?!0:u;o&&n._d.setTime(+n._d+o*i);f&&ce(n,"Date",gr(n,"Date")+f*i);e&&ke(n,gr(n,"Month")+e*i);u&&r.updateOffset(n,f||e)}function ia(n,t){var r=n||s(),f=vf(r,this).startOf("day"),i=this.diff(f,"days",!0),u=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse";return this.format(t&&t[u]||this.localeData().calendar(u,this,s(r)))}function ra(){return new ir(this)}function ua(n,t){var i;return t=w(typeof t!="undefined"?t:"millisecond"),t==="millisecond"?(n=yt(n)?n:s(n),+this>+n):(i=yt(n)?+n:+s(n),i<+this.clone().startOf(t))}function fa(n,t){var i;return t=w(typeof t!="undefined"?t:"millisecond"),t==="millisecond"?(n=yt(n)?n:s(n),+this<+n):(i=yt(n)?+n:+s(n),+this.clone().endOf(t)<i)}function ea(n,t,i){return this.isAfter(n,i)&&this.isBefore(t,i)}function oa(n,t){var i;return t=w(t||"millisecond"),t==="millisecond"?(n=yt(n)?n:s(n),+this==+n):(i=+s(n),+this.clone().startOf(t)<=i&&i<=+this.clone().endOf(t))}function sa(n,t,i){var f=vf(n,this),e=(f.utcOffset()-this.utcOffset())*6e4,u,r;return t=w(t),t==="year"||t==="month"||t==="quarter"?(r=ha(this,f),t==="quarter"?r=r/3:t==="year"&&(r=r/12)):(u=this-f,r=t==="second"?u/1e3:t==="minute"?u/6e4:t==="hour"?u/36e5:t==="day"?(u-e)/864e5:t==="week"?(u-e)/6048e5:u),i?r:y(r)}function ha(n,t){var r=(t.year()-n.year())*12+(t.month()-n.month()),i=n.clone().add(r,"months"),u,f;return t-i<0?(u=n.clone().add(r-1,"months"),f=(t-i)/(i-u)):(u=n.clone().add(r+1,"months"),f=(t-i)/(u-i)),-(r+f)}function ca(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function go(){var n=this.clone().utc();return 0<n.year()&&n.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():bu(n,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):bu(n,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function la(n){var t=bu(this,n||r.defaultFormat);return this.localeData().postformat(t)}function aa(n,t){return this.isValid()?pt({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function va(n){return this.from(s(),n)}function ya(n,t){return this.isValid()?pt({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pa(n){return this.to(s(),n)}function ns(n){var t;return n===undefined?this._locale._abbr:(t=ii(n),t!=null&&(this._locale=t),this)}function ts(){return this._locale}function wa(n){n=w(n);switch(n){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return n==="week"&&this.weekday(0),n==="isoWeek"&&this.isoWeekday(1),n==="quarter"&&this.month(Math.floor(this.month()/3)*3),this}function ba(n){return(n=w(n),n===undefined||n==="millisecond")?this:this.startOf(n).add(1,n==="isoWeek"?"week":n).subtract(1,"ms")}function ka(){return+this._d-(this._offset||0)*6e4}function da(){return Math.floor(+this/1e3)}function ga(){return this._offset?new Date(+this):this._d}function nv(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function tv(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function iv(){return ie(this)}function rv(){return kr({},o(this))}function uv(){return o(this).overflow}function ou(n,t){u(0,[n,n.length],0,t)}function is(n,t,i){return ei(s([n,11,31+t-i]),t,i).week}function fv(n){var t=ei(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return n==null?t:this.add(n-t,"y")}function ev(n){var t=ei(this,1,4).year;return n==null?t:this.add(n-t,"y")}function ov(){return is(this.year(),1,4)}function sv(){var n=this.localeData()._week;return is(this.year(),n.dow,n.doy)}function hv(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}function cv(n,t){return typeof n!="string"?n:isNaN(n)?(n=t.weekdaysParse(n),typeof n=="number")?n:null:parseInt(n,10)}function lv(n){return this._weekdays[n.day()]}function av(n){return this._weekdaysShort[n.day()]}function vv(n){return this._weekdaysMin[n.day()]}function yv(n){var t,i,r;for(this._weekdaysParse=this._weekdaysParse||[],t=0;t<7;t++)if(this._weekdaysParse[t]||(i=s([2e3,1]).day(t),r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[t]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(n))return t}function pv(n){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return n!=null?(n=cv(n,this.localeData()),this.add(n-t,"d")):t}function wv(n){var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")}function bv(n){return n==null?this.day()||7:this.day(this.day()%7?n:n-7)}function es(n,t){u(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function os(n,t){return t._meridiemParse}function kv(n){return(n+"").toLowerCase().charAt(0)==="p"}function dv(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function gv(n,t){t[fi]=h(("0."+n)*1e3)}function ny(){return this._isUTC?"UTC":""}function ty(){return this._isUTC?"Coordinated Universal Time":""}function iy(n){return s(n*1e3)}function ry(){return s.apply(null,arguments).parseZone()}function uy(n,t,i){var r=this._calendar[n];return typeof r=="function"?r.call(t,i):r}function fy(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])}function ey(){return this._invalidDate}function oy(n){return this._ordinal.replace("%d",n)}function ds(n){return n}function sy(n,t,i,r){var u=this._relativeTime[i];return typeof u=="function"?u(n,t,i,r):u.replace(/%d/i,n)}function hy(n,t){var i=this._relativeTime[n>0?"future":"past"];return typeof i=="function"?i(t):i.replace(/%s/i,t)}function cy(n){var t,i;for(i in n)t=n[i],typeof t=="function"?this[i]=t:this["_"+i]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function nh(n,t,i,r){var u=ii(),f=tr().set(r,t);return u[i](f,n)}function or(n,t,i,r,u){if(typeof n=="number"&&(t=n,n=undefined),n=n||"",t!=null)return nh(n,t,i,u);for(var e=[],f=0;f<r;f++)e[f]=nh(n,f,i,u);return e}function ly(n,t){return or(n,t,"months",12,"month")}function ay(n,t){return or(n,t,"monthsShort",12,"month")}function vy(n,t){return or(n,t,"weekdays",7,"day")}function yy(n,t){return or(n,t,"weekdaysShort",7,"day")}function py(n,t){return or(n,t,"weekdaysMin",7,"day")}function wy(){var n=this._data;return this._milliseconds=et(this._milliseconds),this._days=et(this._days),this._months=et(this._months),n.milliseconds=et(n.milliseconds),n.seconds=et(n.seconds),n.minutes=et(n.minutes),n.hours=et(n.hours),n.months=et(n.months),n.years=et(n.years),this}function th(n,t,i,r){var u=pt(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function by(n,t){return th(this,n,t,1)}function ky(n,t){return th(this,n,t,-1)}function ih(n){return n<0?Math.floor(n):Math.ceil(n)}function dy(){var r=this._milliseconds,n=this._days,t=this._months,i=this._data,u,f,e,s,o;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=ih(bf(t)+n)*864e5,n=0,t=0),i.milliseconds=r%1e3,u=y(r/1e3),i.seconds=u%60,f=y(u/60),i.minutes=f%60,e=y(f/60),i.hours=e%24,n+=y(e/24),o=y(rh(n)),t+=o,n-=ih(bf(o)),s=y(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function rh(n){return n*4800/146097}function bf(n){return n*146097/4800}function gy(n){var t,r,i=this._milliseconds;if(n=w(n),n==="month"||n==="year")return t=this._days+i/864e5,r=this._months+rh(t),n==="month"?r:r/12;t=this._days+Math.round(bf(this._months));switch(n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+n);}}function np(){return this._milliseconds+this._days*864e5+this._months%12*2592e6+h(this._months/12)*31536e6}function bt(n){return function(){return this.as(n)}}function hp(n){return n=w(n),this[n+"s"]()}function si(n){return function(){return this._data[n]}}function bp(){return y(this.days()/7)}function kp(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function dp(n,t,i){var r=pt(n).abs(),h=hi(r.as("s")),f=hi(r.as("m")),e=hi(r.as("h")),o=hi(r.as("d")),s=hi(r.as("M")),c=hi(r.as("y")),u=h<ct.s&&["s",h]||f===1&&["m"]||f<ct.m&&["mm",f]||e===1&&["h"]||e<ct.h&&["hh",e]||o===1&&["d"]||o<ct.d&&["dd",o]||s===1&&["M"]||s<ct.M&&["MM",s]||c===1&&["y"]||["yy",c];return u[2]=t,u[3]=+n>0,u[4]=i,kp.apply(null,u)}function gp(n,t){return ct[n]===undefined?!1:t===undefined?ct[n]:(ct[n]=t,!0)}function nw(n){var t=this.localeData(),i=dp(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)}function hu(){var t=su(this._milliseconds)/1e3,a=su(this._days),i=su(this._months),n,e,o;n=y(t/60);e=y(n/60);t%=60;n%=60;o=y(i/12);i%=12;var s=o,h=i,c=a,r=e,u=n,f=t,l=this.asSeconds();return l?(l<0?"-":"")+"P"+(s?s+"Y":"")+(h?h+"M":"")+(c?c+"D":"")+(r||u||f?"T":"")+(r?r+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}function ew(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function ci(n,t,i){var r={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return i==="m"?t?"хвіліна":"хвіліну":i==="h"?t?"гадзіна":"гадзіну":n+" "+ew(r[i],+n)}function ow(n,t){var i={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function sw(n,t){var i={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},r=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(t)?"accusative":"nominative";return i[r][n.day()]}function df(n,t,i){return n+" "+yw({mm:"munutenn",MM:"miz",dd:"devezh"}[i],n)}function vw(n){switch(eh(n)){case 1:case 3:case 4:case 5:case 9:return n+" bloaz";default:return n+" vloaz"}}function eh(n){return n>9?eh(n%10):n}function yw(n,t){return t===2?pw(n):n}function pw(n){var t={m:"v",b:"v",d:"z"};return t[n.charAt(0)]===undefined?n:t[n.charAt(0)]+n.substring(1)}function li(n,t,i){var r=n+" ";switch(i){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(n===1?"minuta":n===2||n===3||n===4?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(n===1?"sat":n===2||n===3||n===4?"sata":"sati");case"dd":return r+(n===1?"dan":"dana");case"MM":return r+(n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci");case"yy":return r+(n===1?"godina":n===2||n===3||n===4?"godine":"godina")}}function sr(n){return n>1&&n<5&&~~(n/10)!=1}function d(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"pár sekund":"pár sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?u+(sr(n)?"minuty":"minut"):u+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?u+(sr(n)?"hodiny":"hodin"):u+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?u+(sr(n)?"dny":"dní"):u+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?u+(sr(n)?"měsíce":"měsíců"):u+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?u+(sr(n)?"roky":"let"):u+"lety"}}function kt(n,t,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?r[i][0]:r[i][1]}function dt(n,t,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?r[i][0]:r[i][1]}function ot(n,t,i,r){var u={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[n+" minuti",n+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[n+" tunni",n+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[n+" kuu",n+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[n+" aasta",n+" aastat"]};return t?u[i][2]?u[i][2]:u[i][1]:r?u[i][0]:u[i][1]}function g(n,t,i,r){var u="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"m":return r?"minuutin":"minuutti";case"mm":u=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":u=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":u=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":u=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":u=r?"vuoden":"vuotta"}return ib(n,r)+" "+u}function ib(n,t){return n<10?t?tb[n]:cu[n]:n}function ai(n,t,i){var r=n+" ";switch(i){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(n===1?"minuta":n===2||n===3||n===4?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(n===1?"sat":n===2||n===3||n===4?"sata":"sati");case"dd":return r+(n===1?"dan":"dana");case"MM":return r+(n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci");case"yy":return r+(n===1?"godina":n===2||n===3||n===4?"godine":"godina")}}function nt(n,t,i,r){var u=n;switch(i){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return u+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return u+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return u+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return u+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return u+(r||t?" év":" éve")}return""}function ch(n){return(n?"":"[múlt] ")+"["+hh[this.day()]+"] LT[-kor]"}function hb(n,t){var i={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function cb(n){var t="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return t[n.month()]}function lb(n){var t="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return t[n.day()]}function hr(n){return n%100==11?!0:n%10==1?!1:!0}function st(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return hr(n)?u+(t||r?"mínútur":"mínútum"):t?u+"mínúta":u+"mínútu";case"hh":return hr(n)?u+(t||r?"klukkustundir":"klukkustundum"):u+"klukkustund";case"d":return t?"dagur":r?"dag":"degi";case"dd":return hr(n)?t?u+"dagar":u+(r?"daga":"dögum"):t?u+"dagur":u+(r?"dag":"degi");case"M":return t?"mánuður":r?"mánuð":"mánuði";case"MM":return hr(n)?t?u+"mánuðir":u+(r?"mánuði":"mánuðum"):t?u+"mánuður":u+(r?"mánuð":"mánuði");case"y":return t||r?"ár":"ári";case"yy":return hr(n)?u+(t||r?"ár":"árum"):u+(t||r?"ár":"ári")}}function yb(n,t){var i={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},r=/D[oD] *MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function pb(n,t){var i={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},r=/(წინა|შემდეგ)/.test(t)?"accusative":"nominative";return i[r][n.day()]}function cr(n,t,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function wb(n){var t=n.substr(0,n.indexOf(" "));return wi(t)?"a "+n:"an "+n}function bb(n){var t=n.substr(0,n.indexOf(" "));return wi(t)?"viru "+n:"virun "+n}function wi(n){if(n=parseInt(n,10),isNaN(n))return!1;if(n<0)return!0;if(n<10)return 4<=n&&n<=7?!0:!1;if(n<100){var t=n%10,i=n/10;return t===0?wi(i):wi(t)}if(n<1e4){while(n>=10)n=n/10;return wi(n)}return n=n/1e3,wi(n)}function gb(n,t,i,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function nk(n,t){var i={nominative:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),accusative:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function bi(n,t,i,r){return t?gt(i)[0]:r?gt(i)[1]:gt(i)[2]}function lh(n){return n%10==0||n>10&&n<20}function gt(n){return kb[n].split("_")}function lr(n,t,i,r){var u=n+" ";return n===1?u+bi(n,t,i[0],r):t?u+(lh(n)?gt(i)[1]:gt(i)[0]):r?u+gt(i)[1]:u+(lh(n)?gt(i)[1]:gt(i)[2])}function tk(n,t){var r=t.indexOf("dddd HH:mm")===-1,i=db[n.day()];return r?i:i.substring(0,i.length-2)+"į"}function ah(n,t,i){return i?t%10==1&&t!==11?n[2]:n[3]:t%10==1&&t!==11?n[0]:n[1]}function ar(n,t,i){return n+" "+ah(gf[i],n,t)}function vr(n,t,i){return ah(gf[i],n,t)}function rk(n,t){return t?"dažas sekundes":"dažām sekundēm"}function lu(n){return n%10<5&&n%10>1&&~~(n/10)%10!=1}function ki(n,t,i){var r=n+" ";switch(i){case"m":return t?"minuta":"minutę";case"mm":return r+(lu(n)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(lu(n)?"godziny":"godzin");case"MM":return r+(lu(n)?"miesiące":"miesięcy");case"yy":return r+(lu(n)?"lata":"lat")}}function yr(n,t,i){var r=" ";return(n%100>=20||n>=100&&n%100==0)&&(r=" de "),n+r+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}function vk(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function di(n,t,i){var r={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return i==="m"?t?"минута":"минуту":n+" "+vk(r[i],+n)}function yk(n,t){var i={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function pk(n,t){var i={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function wk(n,t){var i={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},r=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(t)?"accusative":"nominative";return i[r][n.day()]}function pr(n){return n>1&&n<5}function tt(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?u+(pr(n)?"minúty":"minút"):u+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?u+(pr(n)?"hodiny":"hodín"):u+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?u+(pr(n)?"dni":"dní"):u+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?u+(pr(n)?"mesiace":"mesiacov"):u+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?u+(pr(n)?"roky":"rokov"):u+"rokmi"}}function it(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return u+(n===1?t?"minuta":"minuto":n===2?t||r?"minuti":"minutama":n<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return u+(n===1?t?"ura":"uro":n===2?t||r?"uri":"urama":n<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return u+(n===1?t||r?"dan":"dnem":n===2?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return u+(n===1?t||r?"mesec":"mesecem":n===2?t||r?"meseca":"mesecema":n<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return u+(n===1?t||r?"leto":"letom":n===2?t||r?"leti":"letoma":n<5?t||r?"leta":"leti":t||r?"let":"leti")}}function rt(n,t,i,r){var u={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[n+" míuts"," "+n+" míuts"],h:["'n þora","'iensa þora"],hh:[n+" þoras"," "+n+" þoras"],d:["'n ziua","'iensa ziua"],dd:[n+" ziuas"," "+n+" ziuas"],M:["'n mes","'iens mes"],MM:[n+" mesen"," "+n+" mesen"],y:["'n ar","'iens ar"],yy:[n+" ars"," "+n+" ars"]};return r?u[i][0]:t?u[i][0]:u[i][1].trim()}function gk(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function gi(n,t,i){return i==="m"?t?"хвилина":"хвилину":i==="h"?t?"година":"годину":n+" "+gk({mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[i],+n)}function nd(n,t){var i={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},r=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return i[r][n.month()]}function td(n,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return i[r][n.day()]}function nr(n){return function(){return n+"о"+(this.hours()===11?"б":"")+"] LT"}}var te,au=r.momentProperties=[],yu=!1,ti={},dr,ur={},ae=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,nu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,wu={},yi={},ye=/\d/,p=/\d\d/,pe=/\d{3}/,ku=/\d{4}/,tu=/[+-]?\d{6}/,c=/\d\d?/,iu=/\d{1,3}/,du=/\d{1,4}/,ru=/[+-]?\d{1,6}/,uu=/[+-]?\d+/,fu=/Z|[+-]\d\d:?\d\d/gi,fr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,gu={},nf={},ut=0,ht=1,ft=2,v=3,ri=4,ui=5,fi=6,we,be,uf,sf,ro,eo,oo,co,ao,vo,bo,ko,pf,wf,rs,us,fs,ss,hs,cs,ls,wt,as,t,vs,ys,ps,ws,bs,ks,gs,f,et,hi,ct,su,e,ww,bw,ob,hh,sb,ab,vb,ik,gf,ak,bk,kk,dk;u("M",["MM",2],"Mo",function(){return this.month()+1});u("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});u("MMMM",0,0,function(n){return this.localeData().months(this,n)});a("month","M");i("M",c);i("MM",c,p);i("MMM",fr);i("MMMM",fr);l(["M","MM"],function(n,t){t[ht]=h(n)-1});l(["MMM","MMMM"],function(n,t,i,r){var u=i._locale.monthsParse(n,r,i._strict);u!=null?t[ht]=u:o(i).invalidMonth=n});we="January_February_March_April_May_June_July_August_September_October_November_December".split("_");be="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");uf={};r.suppressDeprecationWarnings=!1;var ac=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ff=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ef=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],vc=/^\/?Date\((\-?\d+)/i;for(r.createFromInputFallback=b("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))}),u(0,["YY",2],0,function(){return this.year()%100}),u(0,["YYYY",4],0,"year"),u(0,["YYYYY",5],0,"year"),u(0,["YYYYYY",6,!0],0,"year"),a("year","y"),i("Y",uu),i("YY",c,p),i("YYYY",du,ku),i("YYYYY",ru,tu),i("YYYYYY",ru,tu),l(["YYYYY","YYYYYY"],ut),l("YYYY",function(n,t){t[ut]=n.length===2?r.parseTwoDigitYear(n):h(n)}),l("YY",function(n,t){t[ut]=r.parseTwoDigitYear(n)}),r.parseTwoDigitYear=function(n){return h(n)+(h(n)>68?1900:2e3)},sf=vi("FullYear",!1),u("w",["ww",2],"wo","week"),u("W",["WW",2],"Wo","isoWeek"),a("week","w"),a("isoWeek","W"),i("w",c),i("ww",c,p),i("W",c),i("WW",c,p),er(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=h(n)}),ro={dow:0,doy:6},u("DDD",["DDDD",3],"DDDo","dayOfYear"),a("dayOfYear","DDD"),i("DDD",iu),i("DDDD",pe),l(["DDD","DDDD"],function(n,t,i){i._dayOfYear=h(n)}),r.ISO_8601=function(){},eo=b("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var n=s.apply(null,arguments);return n<this?this:n}),oo=b("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var n=s.apply(null,arguments);return n>this?this:n}),ho("Z",":"),ho("ZZ",""),i("Z",fu),i("ZZ",fu),l(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=af(n)}),co=/([\+\-]|\d\d)/gi,r.updateOffset=function(){},ao=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,vo=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,pt.fn=eu.prototype,bo=po(1,"add"),ko=po(-1,"subtract"),r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",pf=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===undefined?this.localeData():this.locale(n)}),u(0,["gg",2],0,function(){return this.weekYear()%100}),u(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ou("gggg","weekYear"),ou("ggggg","weekYear"),ou("GGGG","isoWeekYear"),ou("GGGGG","isoWeekYear"),a("weekYear","gg"),a("isoWeekYear","GG"),i("G",uu),i("g",uu),i("GG",c,p),i("gg",c,p),i("GGGG",du,ku),i("gggg",du,ku),i("GGGGG",ru,tu),i("ggggg",ru,tu),er(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=h(n)}),er(["gg","GG"],function(n,t,i,u){t[u]=r.parseTwoDigitYear(n)}),u("Q",0,0,"quarter"),a("quarter","Q"),i("Q",ye),l("Q",function(n,t){t[ht]=(h(n)-1)*3}),u("D",["DD",2],"Do","date"),a("date","D"),i("D",c),i("DD",c,p),i("Do",function(n,t){return n?t._ordinalParse:t._ordinalParseLenient}),l(["D","DD"],ft),l("Do",function(n,t){t[ft]=h(n.match(c)[0],10)}),wf=vi("Date",!0),u("d",0,"do","day"),u("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)}),u("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)}),u("dddd",0,0,function(n){return this.localeData().weekdays(this,n)}),u("e",0,0,"weekday"),u("E",0,0,"isoWeekday"),a("day","d"),a("weekday","e"),a("isoWeekday","E"),i("d",c),i("e",c),i("E",c),i("dd",fr),i("ddd",fr),i("dddd",fr),er(["dd","ddd","dddd"],function(n,t,i){var r=i._locale.weekdaysParse(n);r!=null?t.d=r:o(i).invalidWeekday=n}),er(["d","e","E"],function(n,t,i,r){t[r]=h(n)}),rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),us="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),fs="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),u("H",["HH",2],0,"hour"),u("h",["hh",2],0,function(){return this.hours()%12||12}),es("a",!0),es("A",!1),a("hour","h"),i("a",os),i("A",os),i("H",c),i("h",c),i("HH",c,p),i("hh",c,p),l(["H","HH"],v),l(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n}),l(["h","hh"],function(n,t,i){t[v]=h(n);o(i).bigHour=!0}),ss=/[ap]\.?m?\.?/i,hs=vi("Hours",!0),u("m",["mm",2],0,"minute"),a("minute","m"),i("m",c),i("mm",c,p),l(["m","mm"],ri),cs=vi("Minutes",!1),u("s",["ss",2],0,"second"),a("second","s"),i("s",c),i("ss",c,p),l(["s","ss"],ui),ls=vi("Seconds",!1),u("S",0,0,function(){return~~(this.millisecond()/100)}),u(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),u(0,["SSS",3],0,"millisecond"),u(0,["SSSS",4],0,function(){return this.millisecond()*10}),u(0,["SSSSS",5],0,function(){return this.millisecond()*100}),u(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),u(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),u(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),u(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),a("millisecond","ms"),i("S",iu,ye),i("SS",iu,p),i("SSS",iu,pe),wt="SSSS";wt.length<=9;wt+="S")i(wt,/\d+/);for(wt="S";wt.length<=9;wt+="S")l(wt,gv);as=vi("Milliseconds",!1);u("z",0,0,"zoneAbbr");u("zz",0,0,"zoneName");t=ir.prototype;t.add=bo;t.calendar=ia;t.clone=ra;t.diff=sa;t.endOf=ba;t.format=la;t.from=aa;t.fromNow=va;t.to=ya;t.toNow=pa;t.get=le;t.invalidAt=uv;t.isAfter=ua;t.isBefore=fa;t.isBetween=ea;t.isSame=oa;t.isValid=iv;t.lang=pf;t.locale=ns;t.localeData=ts;t.max=oo;t.min=eo;t.parsingFlags=rv;t.set=le;t.startOf=wa;t.subtract=ko;t.toArray=nv;t.toObject=tv;t.toDate=ga;t.toISOString=go;t.toJSON=go;t.toString=ca;t.unix=da;t.valueOf=ka;t.year=sf;t.isLeapYear=wc;t.weekYear=fv;t.isoWeekYear=ev;t.quarter=t.quarters=hv;t.month=de;t.daysInMonth=cc;t.week=t.weeks=gc;t.isoWeek=t.isoWeeks=nl;t.weeksInYear=sv;t.isoWeeksInYear=ov;t.date=wf;t.day=t.days=pv;t.weekday=wv;t.isoWeekday=bv;t.dayOfYear=il;t.hour=t.hours=hs;t.minute=t.minutes=cs;t.second=t.seconds=ls;t.millisecond=t.milliseconds=as;t.utcOffset=al;t.utc=yl;t.local=pl;t.parseZone=wl;t.hasAlignedHourOffset=bl;t.isDST=kl;t.isDSTShifted=dl;t.isLocal=gl;t.isUtcOffset=na;t.isUtc=lo;t.isUTC=lo;t.zoneAbbr=ny;t.zoneName=ty;t.dates=b("dates accessor is deprecated. Use date instead.",wf);t.months=b("months accessor is deprecated. Use month instead",de);t.years=b("years accessor is deprecated. Use year instead",sf);t.zone=b("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",vl);vs=t;ys={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};ps={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};ws="Invalid date";bs="%d";ks=/\d{1,2}/;gs={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};f=fe.prototype;f._calendar=ys;f.calendar=uy;f._longDateFormat=ps;f.longDateFormat=fy;f._invalidDate=ws;f.invalidDate=ey;f._ordinal=bs;f.ordinal=oy;f._ordinalParse=ks;f.preparse=ds;f.postformat=ds;f._relativeTime=gs;f.relativeTime=sy;f.pastFuture=hy;f.set=cy;f.months=oc;f._months=we;f.monthsShort=sc;f._monthsShort=be;f.monthsParse=hc;f.week=bc;f._week=ro;f.firstDayOfYear=dc;f.firstDayOfWeek=kc;f.weekdays=lv;f._weekdays=rs;f.weekdaysMin=vv;f._weekdaysMin=fs;f.weekdaysShort=av;f._weekdaysShort=us;f.weekdaysParse=yv;f.isPM=kv;f._meridiemParse=ss;f.meridiem=dv;rr("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=h(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});r.lang=b("moment.lang is deprecated. Use moment.locale instead.",rr);r.langData=b("moment.langData is deprecated. Use moment.localeData instead.",ii);et=Math.abs;var tp=bt("ms"),ip=bt("s"),rp=bt("m"),up=bt("h"),fp=bt("d"),ep=bt("w"),op=bt("M"),sp=bt("y");var cp=si("milliseconds"),lp=si("seconds"),ap=si("minutes"),vp=si("hours"),yp=si("days"),pp=si("months"),wp=si("years");hi=Math.round;ct={s:45,m:45,h:22,d:26,M:11};su=Math.abs;e=eu.prototype;e.abs=wy;e.add=by;e.subtract=ky;e.as=gy;e.asMilliseconds=tp;e.asSeconds=ip;e.asMinutes=rp;e.asHours=up;e.asDays=fp;e.asWeeks=ep;e.asMonths=op;e.asYears=sp;e.valueOf=np;e._bubble=dy;e.get=hp;e.milliseconds=cp;e.seconds=lp;e.minutes=ap;e.hours=vp;e.days=yp;e.weeks=bp;e.months=pp;e.years=wp;e.humanize=nw;e.toISOString=hu;e.toString=hu;e.toJSON=hu;e.locale=ns;e.localeData=ts;e.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hu);e.lang=pf;u("X",0,0,"unix");u("x",0,0,"valueOf");i("x",uu);i("X",/[+-]?\d+(\.\d{1,3})?/);l("X",function(n,t,i){i._d=new Date(parseFloat(n,10)*1e3)});l("x",function(n,t,i){i._d=new Date(h(n))});r.version="2.10.6";kh(s);r.fn=vs;r.min=cl;r.max=ll;r.utc=tr;r.unix=iy;r.months=ly;r.isDate=br;r.locale=rr;r.invalid=re;r.duration=pt;r.isMoment=yt;r.weekdays=vy;r.parseZone=ry;r.localeData=ii;r.isDuration=lf;r.monthsShort=ay;r.weekdaysMin=py;r.defineLocale=se;r.weekdaysShort=yy;r.normalizeUnits=w;r.relativeTimeThreshold=gp;var n=r,id=n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(n){return/^nm$/i.test(n)},meridiem:function(n,t,i){return n<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}}),rd=n.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),tw={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},iw={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},ud=n.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(n){return"م"===n},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(n){return n.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(n){return iw[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return tw[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),fd=n.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}),rw={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},uw={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},uh=function(n){return n===0?0:n===1?1:n===2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},fw={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},k=function(n){return function(t,i){var u=uh(t),r=fw[n][uh(t)];return u===2&&(r=r[i?0:1]),r.replace(/%d/i,t)}},fh=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],ed=n.defineLocale("ar",{months:fh,monthsShort:fh,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(n){return"م"===n},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(n){return n.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(n){return uw[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return rw[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),kf={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},od=n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(n){return/^(gündüz|axşam)$/.test(n)},meridiem:function(n){return n<4?"gecə":n<12?"səhər":n<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(n){if(n===0)return n+"-ıncı";var t=n%10,i=n%100-t,r=n>=100?100:null;return n+(kf[t]||kf[i]||kf[r])},week:{dow:1,doy:7}});var sd=n.defineLocale("be",{months:ow,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:sw,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:ci,mm:ci,h:ci,hh:ci,d:"дзень",dd:ci,M:"месяц",MM:ci,y:"год",yy:ci},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(n){return/^(дня|вечара)$/.test(n)},meridiem:function(n){return n<4?"ночы":n<12?"раніцы":n<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return(n%10==2||n%10==3)&&n%100!=12&&n%100!=13?n+"-і":n+"-ы";case"D":return n+"-га";default:return n}},week:{dow:1,doy:7}}),hd=n.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}}),hw={"1":"১","2":"২","3":"৩","4":"৪","5":"৫","6":"৬","7":"৭","8":"৮","9":"৯","0":"০"},cw={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},cd=n.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(n){return n.replace(/[১২৩৪৫৬৭৮৯০]/g,function(n){return cw[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return hw[n]})},meridiemParse:/রাত|সকাল|দুপুর|বিকেল|রাত/,isPM:function(n){return/^(দুপুর|বিকেল|রাত)$/.test(n)},meridiem:function(n){return n<4?"রাত":n<10?"সকাল":n<17?"দুপুর":n<20?"বিকেল":"রাত"},week:{dow:0,doy:6}}),lw={"1":"༡","2":"༢","3":"༣","4":"༤","5":"༥","6":"༦","7":"༧","8":"༨","9":"༩","0":"༠"},aw={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},ld=n.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(n){return n.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(n){return aw[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return lw[n]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(n){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(n)},meridiem:function(n){return n<4?"མཚན་མོ":n<10?"ཞོགས་ཀས":n<17?"ཉིན་གུང":n<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});ww=n.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:df,h:"un eur",hh:"%d eur",d:"un devezh",dd:df,M:"ur miz",MM:df,y:"ur bloaz",yy:vw},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(n){var t=n===1?"añ":"vet";return n+t},week:{dow:1,doy:4}});var ad=n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:li,mm:li,h:li,hh:li,d:"dan",dd:li,M:"mjesec",MM:li,y:"godinu",yy:li},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),vd=n.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(n,t){var i=n===1?"r":n===2?"n":n===3?"r":n===4?"t":"è";return(t==="w"||t==="W")&&(i="a"),n+i},week:{dow:1,doy:4}}),oh="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),sh="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");var yd=n.defineLocale("cs",{months:oh,monthsShort:sh,monthsParse:function(n,t){for(var r=[],i=0;i<12;i++)r[i]=new RegExp("^"+n[i]+"$|^"+t[i]+"$","i");return r}(oh,sh),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),pd=n.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(n){var t=/сехет$/i.exec(n)?"рен":/ҫул$/i.exec(n)?"тан":"ран";return n+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),wd=n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(n){var t=n,i="";return t>20?i=t===40||t===50||t===60||t===80||t===100?"fed":"ain":t>0&&(i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),n+i},week:{dow:1,doy:4}}),bd=n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});bw=n.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:kt,mm:"%d Minuten",h:kt,hh:"%d Stunden",d:kt,dd:kt,M:kt,MM:kt,y:kt,yy:kt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var kd=n.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:dt,mm:"%d Minuten",h:dt,hh:"%d Stunden",d:dt,dd:dt,M:dt,MM:dt,y:dt,yy:dt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),dd=n.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(n,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[n.month()]:this._monthsNominativeEl[n.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(n,t,i){return n>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(n){return(n+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(n,t){var i=this._calendarEl[n],r=t&&t.hours();return typeof i=="function"&&(i=i.apply(t)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),gd=n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}}),ng=n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY h:mm A",LLLL:"dddd, D MMMM, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}}),tg=n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}}),ig=n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(n){return n.charAt(0).toLowerCase()==="p"},meridiem:function(n,t,i){return n>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),kw="Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.".split("_"),dw="Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic".split("_"),rg=n.defineLocale("es",{months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:function(n,t){return/-MMM-/.test(t)?dw[n.month()]:kw[n.month()]},weekdays:"Domingo_Lunes_Martes_Miércoles_Jueves_Viernes_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mié._Jue._Vie._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var ug=n.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:ot,m:ot,mm:ot,h:ot,hh:ot,d:ot,dd:"%d päeva",M:ot,MM:ot,y:ot,yy:ot},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),fg=n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),gw={"1":"۱","2":"۲","3":"۳","4":"۴","5":"۵","6":"۶","7":"۷","8":"۸","9":"۹","0":"۰"},nb={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},eg=n.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(n){return/بعد از ظهر/.test(n)},meridiem:function(n){return n<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(n){return n.replace(/[۰-۹]/g,function(n){return nb[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return gw[n]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),cu="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),tb=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",cu[7],cu[8],cu[9]];var og=n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),sg=n.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),hg=n.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(n){return n+(n===1?"er":"e")}}),cg=n.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(n){return n+(n===1?"er":"")},week:{dow:1,doy:4}}),rb="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),ub="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),lg=n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(n,t){return/-MMM-/.test(t)?ub[n.month()]:rb[n.month()]},weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}}),ag=n.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(n){return n==="uns segundos"?"nuns segundos":"en "+n},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}}),vg=n.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(n){return n===2?"שעתיים":n+" שעות"},d:"יום",dd:function(n){return n===2?"יומיים":n+" ימים"},M:"חודש",MM:function(n){return n===2?"חודשיים":n+" חודשים"},y:"שנה",yy:function(n){return n===2?"שנתיים":n%10==0&&n!==10?n+" שנה":n+" שנים"}}}),fb={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},eb={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},yg=n.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return eb[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return fb[n]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="रात")?n<4?n:n+12:t==="सुबह"?n:t==="दोपहर"?n>=10?n:n+12:t==="शाम"?n+12:void 0},meridiem:function(n){return n<4?"रात":n<10?"सुबह":n<17?"दोपहर":n<20?"शाम":"रात"},week:{dow:0,doy:6}});ob=n.defineLocale("hr",{months:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:ai,mm:ai,h:ai,hh:ai,d:"dan",dd:ai,M:"mjesec",MM:ai,y:"godinu",yy:ai},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});hh="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");sb=n.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(n){return n.charAt(1).toLowerCase()==="u"},meridiem:function(n,t,i){return n<12?i===!0?"de":"DE":i===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return ch.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return ch.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:nt,m:nt,mm:nt,h:nt,hh:nt,d:nt,dd:nt,M:nt,MM:nt,y:nt,yy:nt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});ab=n.defineLocale("hy-am",{months:hb,monthsShort:cb,weekdays:lb,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(n){return/^(ցերեկվա|երեկոյան)$/.test(n)},meridiem:function(n){return n<4?"գիշերվա":n<12?"առավոտվա":n<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(n,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return n===1?n+"-ին":n+"-րդ";default:return n}},week:{dow:1,doy:7}});vb=n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="siang"?n>=11?n:n+12:t==="sore"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"siang":n<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});var pg=n.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:st,m:st,mm:st,h:"klukkustund",hh:st,d:st,dd:st,M:st,MM:st,y:st,yy:st},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),wg=n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(n){return(/^[0-9].+$/.test(n)?"tra":"in")+" "+n},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),bg=n.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(n){return n==="午後"},meridiem:function(n){return n<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),kg=n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="enjing")?n:t==="siyang"?n>=11?n:n+12:t==="sonten"||t==="ndalu"?n+12:void 0},meridiem:function(n){return n<11?"enjing":n<15?"siyang":n<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});var dg=n.defineLocale("ka",{months:yb,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:pb,weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(n){return/(წამი|წუთი|საათი|წელი)/.test(n)?n.replace(/ი$/,"ში"):n+"ში"},past:function(n){return/(წამი|წუთი|საათი|დღე|თვე)/.test(n)?n.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(n)?n.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(n){return n===0?n:n===1?n+"-ლი":n<20||n<=100&&n%20==0||n%100==0?"მე-"+n:n+"-ე"},week:{dow:1,doy:7}}),gg=n.defineLocale("km",{months:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនៈ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),nn=n.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(n){return n==="오후"},meridiem:function(n){return n<12?"오전":"오후"}});var tn=n.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:wb,past:bb,s:"e puer Sekonnen",m:cr,mm:"%d Minutten",h:cr,hh:"%d Stonnen",d:cr,dd:"%d Deeg",M:cr,MM:"%d Méint",y:cr,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),kb={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},db="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_");ik=n.defineLocale("lt",{months:nk,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:tk,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:gb,m:bi,mm:lr,h:bi,hh:lr,d:bi,dd:lr,M:bi,MM:lr,y:bi,yy:lr},ordinalParse:/\d{1,2}-oji/,ordinal:function(n){return n+"-oji"},week:{dow:1,doy:4}});gf={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};var rn=n.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:rk,m:vr,mm:ar,h:vr,hh:ar,d:vr,dd:ar,M:vr,MM:ar,y:vr,yy:ar},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),lt={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=lt.words[i];return i.length===1?t?r[0]:r[1]:n+" "+lt.correctGrammaticalCase(n,r)}},un=n.defineLocale("me",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sri.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:lt.translate,mm:lt.translate,h:lt.translate,hh:lt.translate,d:"dan",dd:lt.translate,M:"mjesec",MM:lt.translate,y:"godinu",yy:lt.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),fn=n.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}}),en=n.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(n){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(n)},meridiem:function(n){return n<4?"രാത്രി":n<12?"രാവിലെ":n<17?"ഉച്ച കഴിഞ്ഞ്":n<20?"വൈകുന്നേരം":"രാത്രി"}}),uk={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},fk={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},on=n.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return fk[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return uk[n]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="रात्री")?n<4?n:n+12:t==="सकाळी"?n:t==="दुपारी"?n>=10?n:n+12:t==="सायंकाळी"?n+12:void 0},meridiem:function(n){return n<4?"रात्री":n<10?"सकाळी":n<17?"दुपारी":n<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),sn=n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="tengahari"?n>=11?n:n+12:t==="petang"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),hn=n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="tengahari"?n>=11?n:n+12:t==="petang"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),ek={"1":"၁","2":"၂","3":"၃","4":"၄","5":"၅","6":"၆","7":"၇","8":"၈","9":"၉","0":"၀"},ok={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},cn=n.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(n){return n.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(n){return ok[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return ek[n]})},week:{dow:1,doy:4}}),ln=n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"H.mm",LTS:"H.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H.mm",LLLL:"dddd D. MMMM YYYY [kl.] H.mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),sk={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},hk={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},an=n.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return hk[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return sk[n]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="राती")?n<3?n:n+12:t==="बिहान"?n:t==="दिउँसो"?n>=10?n:n+12:t==="बेलुका"||t==="साँझ"?n+12:void 0},meridiem:function(n){return n<3?"राती":n<10?"बिहान":n<15?"दिउँसो":n<18?"बेलुका":n<20?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}}),ck="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),lk="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),vn=n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,t){return/-MMM-/.test(t)?lk[n.month()]:ck[n.month()]},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}}),yn=n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),vh="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),yh="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");var pn=n.defineLocale("pl",{months:function(n,t){return t===""?"("+yh[n.month()]+"|"+vh[n.month()]+")":/D MMMM/.test(t)?yh[n.month()]:vh[n.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:ki,mm:ki,h:ki,hh:ki,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:ki,y:"rok",yy:ki},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),wn=n.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),bn=n.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});ak=n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:yr,h:"o oră",hh:yr,d:"o zi",dd:yr,M:"o lună",MM:yr,y:"un an",yy:yr},week:{dow:1,doy:7}});var kn=n.defineLocale("ru",{months:yk,monthsShort:pk,weekdays:wk,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(n){if(n.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}else return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:di,mm:di,h:"час",hh:di,d:"день",dd:di,M:"месяц",MM:di,y:"год",yy:di},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(n){return/^(дня|вечера)$/.test(n)},meridiem:function(n){return n<4?"ночи":n<12?"утра":n<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":return n+"-й";case"D":return n+"-го";case"w":case"W":return n+"-я";default:return n}},week:{dow:1,doy:7}}),dn=n.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(n){return n+" වැනි"},meridiem:function(n,t,i){return n>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}}),ph="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),wh="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");bk=n.defineLocale("sk",{months:ph,monthsShort:wh,monthsParse:function(n,t){for(var r=[],i=0;i<12;i++)r[i]=new RegExp("^"+n[i]+"$|^"+t[i]+"$","i");return r}(ph,wh),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:tt,m:tt,mm:tt,h:tt,hh:tt,d:tt,dd:tt,M:tt,MM:tt,y:tt,yy:tt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var gn=n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:it,m:it,mm:it,h:it,hh:it,d:it,dd:it,M:it,MM:it,y:it,yy:it},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),ntt=n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiemParse:/PD|MD/,isPM:function(n){return n.charAt(0)==="M"},meridiem:function(n){return n<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),at={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=at.words[i];return i.length===1?t?r[0]:r[1]:n+" "+at.correctGrammaticalCase(n,r)}},ttt=n.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:at.translate,mm:at.translate,h:at.translate,hh:at.translate,d:"дан",dd:at.translate,M:"месец",MM:at.translate,y:"годину",yy:at.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),vt={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=vt.words[i];return i.length===1?t?r[0]:r[1]:n+" "+vt.correctGrammaticalCase(n,r)}},itt=n.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:vt.translate,mm:vt.translate,h:vt.translate,hh:vt.translate,d:"dan",dd:vt.translate,M:"mesec",MM:vt.translate,y:"godinu",yy:vt.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),rtt=n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"e":t===1?"a":t===2?"a":t===3?"e":"e";return n+i},week:{dow:1,doy:4}}),utt=n.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(n){return n+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(n){return n<2?" யாமம்":n<6?" வைகறை":n<10?" காலை":n<14?" நண்பகல்":n<18?" எற்பாடு":n<22?" மாலை":" யாமம்"},meridiemHour:function(n,t){return n===12&&(n=0),t==="யாமம்"?n<2?n:n+12:t==="வைகறை"||t==="காலை"?n:t==="நண்பகல்"?n>=10?n:n+12:n+12},week:{dow:0,doy:6}}),ftt=n.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(n){return n==="หลังเที่ยง"},meridiem:function(n){return n<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),ett=n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}}),ne={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},ott=n.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(n){if(n===0)return n+"'ıncı";var t=n%10,i=n%100-t,r=n>=100?100:null;return n+(ne[t]||ne[i]||ne[r])},week:{dow:1,doy:7}}),stt=n.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY LT",LLLL:"dddd, [li] D. MMMM [dallas] YYYY LT"},meridiem:function(n,t,i){return n>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:rt,m:rt,mm:rt,h:rt,hh:rt,d:rt,dd:rt,M:rt,MM:rt,y:rt,yy:rt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});kk=n.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});dk=n.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});var htt=n.defineLocale("uk",{months:nd,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:td,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:nr("[Сьогодні "),nextDay:nr("[Завтра "),lastDay:nr("[Вчора "),nextWeek:nr("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return nr("[Минулої] dddd [").call(this);case 1:case 2:case 4:return nr("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:gi,mm:gi,h:"годину",hh:gi,d:"день",dd:gi,M:"місяць",MM:gi,y:"рік",yy:gi},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(n){return/^(дня|вечора)$/.test(n)},meridiem:function(n){return n<4?"ночі":n<12?"ранку":n<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return n+"-й";case"D":return n+"-го";default:return n}},week:{dow:1,doy:7}}),ctt=n.defineLocale("uz",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),ltt=n.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}}),att=n.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午"?n:t==="下午"||t==="晚上"?n+12:n>=11?n:n+12},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:function(){return this.minutes()===0?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return this.minutes()===0?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return this.minutes()===0?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var i,t;return i=n().startOf("week"),t=this.unix()-i.unix()>=604800?"[下]":"[本]",this.minutes()===0?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var i,t;return i=n().startOf("week"),t=this.unix()<i.unix()?"[上]":"[本]",this.minutes()===0?t+"dddAh点整":t+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"周";default:return n}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),vtt=n.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}}),bh=n;return bh.locale("en"),bh}),function(n,t){typeof module=="object"&&module.exports?module.exports=t():typeof define=="function"&&define.amd?define(t):n.findAndReplaceDOMText=t()}(this,function(){function o(n){return String(n).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function n(){return s.apply(null,arguments)||f.apply(null,arguments)}function s(t,i,r,u,e){var o,s;return i&&!i.nodeType&&arguments.length<=2?!1:(o=typeof r=="function",o&&(r=function(n){return function(t,i){return n(t.text,i.startIndex)}}(r)),s=f(i,{find:t,wrap:o?null:r,replace:o?r:"$"+(u||"&"),prepMatch:function(n,t){if(!n[0])throw"findAndReplaceDOMText cannot handle zero-length matches";if(u>0){var i=n[u];n.index+=n[0].indexOf(i);n[0]=i}return n.endIndex=n.index+n[0].length,n.startIndex=n.index,n.index=t,n},filterElements:e}),n.revert=function(){return s.revert()},!0)}function f(n,t){return new r(n,t)}function r(t,r){var f=r.preset&&n.PRESETS[r.preset],u;if(r.portionMode=r.portionMode||e,f)for(u in f)i.call(f,u)&&!i.call(r,u)&&(r[u]=f[u]);this.node=t;this.options=r;this.prepMatch=r.prepMatch||this.prepMatch;this.reverts=[];this.matches=this.search();this.matches.length&&this.processMatches()}var e="retain",u="first",t=document,i={}.hasOwnProperty;return n.NON_PROSE_ELEMENTS={br:1,hr:1,script:1,style:1,img:1,video:1,audio:1,canvas:1,svg:1,map:1,object:1,input:1,textarea:1,select:1,option:1,optgroup:1,button:1},n.NON_CONTIGUOUS_PROSE_ELEMENTS={address:1,article:1,aside:1,blockquote:1,dd:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,nav:1,noscript:1,ol:1,output:1,p:1,pre:1,section:1,ul:1,br:1,li:1,summary:1,dt:1,details:1,rp:1,rt:1,rtc:1,script:1,style:1,img:1,video:1,audio:1,canvas:1,svg:1,map:1,object:1,input:1,textarea:1,select:1,option:1,optgroup:1,button:1,table:1,tbody:1,thead:1,th:1,tr:1,td:1,caption:1,col:1,tfoot:1,colgroup:1},n.NON_INLINE_PROSE=function(t){return i.call(n.NON_CONTIGUOUS_PROSE_ELEMENTS,t.nodeName.toLowerCase())},n.PRESETS={prose:{forceContext:n.NON_INLINE_PROSE,filterElements:function(t){return!i.call(n.NON_PROSE_ELEMENTS,t.nodeName.toLowerCase())}}},n.Finder=r,r.prototype={search:function(){function f(o){for(var s,h=0,c=o.length;h<c;++h){if(s=o[h],typeof s!="string"){f(s);continue}if(n.global)while(t=n.exec(s))r.push(u.prepMatch(t,e++,i));else(t=s.match(n))&&r.push(u.prepMatch(t,0,i));i+=s.length}}var t,e=0,i=0,n=this.options.find,s=this.getAggregateText(),r=[],u=this;return n=typeof n=="string"?RegExp(o(n),"g"):n,f(s),r},prepMatch:function(n,t,i){if(!n[0])throw new Error("findAndReplaceDOMText cannot handle zero-length matches");return n.endIndex=i+n.index+n[0].length,n.startIndex=i+n.index,n.index=t,n},getAggregateText:function(){function i(r){var u,f,e;if(r.nodeType===3)return[r.data];if(t&&!t(r))return[];if(u=[""],f=0,r=r.firstChild)do{if(r.nodeType===3){u[f]+=r.data;continue}e=i(r);n&&r.nodeType===1&&(n===!0||n(r))?(u[++f]=e,u[++f]=""):(typeof e[0]=="string"&&(u[f]+=e.shift()),e.length&&(u[++f]=e,u[++f]=""))}while(r=r.nextSibling);return u}var t=this.options.filterElements,n=this.options.forceContext;return i(this.node)},processMatches:function(){var s=this.matches,e=this.node,h=this.options.filterElements,u,r,o=[],n=e,t=s.shift(),i=0,a=0,f=0,c,l=[e];n:for(;;){if(n.nodeType===3&&(!r&&n.length+i>=t.endIndex?r={node:n,index:f++,text:n.data.substring(t.startIndex-i,t.endIndex-i),indexInMatch:i-t.startIndex,indexInNode:t.startIndex-i,endIndexInNode:t.endIndex-i,isEnd:!0}:u&&o.push({node:n,index:f++,text:n.data,indexInMatch:i-t.startIndex,indexInNode:0}),!u&&n.length+i>t.startIndex&&(u={node:n,index:f++,indexInMatch:0,indexInNode:t.startIndex-i,endIndexInNode:t.endIndex-i,text:n.data.substring(t.startIndex-i,t.endIndex-i)}),i+=n.data.length),c=n.nodeType===1&&h&&!h(n),u&&r){if(n=this.replaceMatch(t,u,o,r),i-=r.node.data.length-r.endIndexInNode,u=null,r=null,o=[],t=s.shift(),f=0,a++,!t)break}else if(!c&&(n.firstChild||n.nextSibling)){n.firstChild?(l.push(n),n=n.firstChild):n=n.nextSibling;continue}for(;;){if(n.nextSibling){n=n.nextSibling;break}if(n=l.pop(),n===e)break n}}},revert:function(){for(var n=this.reverts.length;n--;)this.reverts[n]();this.reverts=[]},prepareReplacementString:function(n,t,i){var r=this.options.portionMode;return r===u&&t.indexInMatch>0?"":(n=n.replace(/\$(\d+|&|`|')/g,function(n,t){var r;switch(t){case"&":r=i[0];break;case"`":r=i.input.substring(0,i.startIndex);break;case"'":r=i.input.substring(i.endIndex);break;default:r=i[+t]}return r}),r===u)?n:t.isEnd?n.substring(t.indexInMatch):n.substring(t.indexInMatch,t.indexInMatch+t.text.length)},getPortionReplacementNode:function(n,i,r){var u=this.options.replace||"$&",f=this.options.wrap,o,e;return(f&&f.nodeType&&(o=t.createElement("div"),o.innerHTML=f.outerHTML||(new XMLSerializer).serializeToString(f),f=o.firstChild),typeof u=="function")?(u=u(n,i,r),u&&u.nodeType)?u:t.createTextNode(String(u)):(e=typeof f=="string"?t.createElement(f):f,u=t.createTextNode(this.prepareReplacementString(u,n,i,r)),!u.data)?u:e?(e.appendChild(u),e):u},replaceMatch:function(n,i,r,u){var e=i.node,o=u.node,s,h,f,c,v,w,y,b,l,p,a;if(e===o)return f=e,i.indexInNode>0&&(s=t.createTextNode(f.data.substring(0,i.indexInNode)),f.parentNode.insertBefore(s,f)),c=this.getPortionReplacementNode(u,n),f.parentNode.insertBefore(c,f),u.endIndexInNode<f.length&&(h=t.createTextNode(f.data.substring(u.endIndexInNode)),f.parentNode.insertBefore(h,f)),f.parentNode.removeChild(f),this.reverts.push(function(){s===c.previousSibling&&s.parentNode.removeChild(s);h===c.nextSibling&&h.parentNode.removeChild(h);c.parentNode.replaceChild(f,c)}),c;for(s=t.createTextNode(e.data.substring(0,i.indexInNode)),h=t.createTextNode(o.data.substring(u.endIndexInNode)),v=this.getPortionReplacementNode(i,n),w=[],y=0,b=r.length;y<b;++y)l=r[y],p=this.getPortionReplacementNode(l,n),l.node.parentNode.replaceChild(p,l.node),this.reverts.push(function(n,t){return function(){t.parentNode.replaceChild(n.node,t)}}(l,p)),w.push(p);return a=this.getPortionReplacementNode(u,n),e.parentNode.insertBefore(s,e),e.parentNode.insertBefore(v,e),e.parentNode.removeChild(e),o.parentNode.insertBefore(a,o),o.parentNode.insertBefore(h,o),o.parentNode.removeChild(o),this.reverts.push(function(){s.parentNode.removeChild(s);v.parentNode.replaceChild(e,v);h.parentNode.removeChild(h);a.parentNode.replaceChild(o,a)}),a}},n}),function(n,t,i){function u(n,i){var r=t(n);r.data(f,this);this._$element=r;this.shares=[];this._init(i);this._render()}var f="JSSocials",r=function(n,i){return t.isFunction(n)?n.apply(i,t.makeArray(arguments).slice(2)):n},h=/(\.(jpeg|png|gif|bmp)$|^data:image\/(jpeg|png|gif|bmp);base64)/i,c=/(&?[a-zA-Z0-9]+=)?\{([a-zA-Z0-9]+)\}/g,l={G:1e9,M:1e6,K:1e3},e={},s,o;u.prototype={url:"",text:"",shareIn:"blank",showLabel:function(n){return this.showCount===!1?n>this.smallScreenWidth:n>=this.largeScreenWidth},showCount:function(n){return n<=this.smallScreenWidth?"inside":!0},smallScreenWidth:640,largeScreenWidth:1024,resizeTimeout:200,elementClass:"jssocials",sharesClass:"jssocials-shares",shareClass:"jssocials-share",shareButtonClass:"jssocials-share-button",shareLinkClass:"jssocials-share-link",shareLogoClass:"jssocials-share-logo",shareLabelClass:"jssocials-share-label",shareLinkCountClass:"jssocials-share-link-count",shareCountBoxClass:"jssocials-share-count-box",shareCountClass:"jssocials-share-count",shareZeroCountClass:"jssocials-share-no-count",_init:function(n){this._initDefaults();t.extend(this,n);this._initShares();this._attachWindowResizeCallback()},_initDefaults:function(){this.url=n.location.href;this.text=t.trim(t("meta[name=description]").attr("content")||t("title").text())},_initShares:function(){this.shares=t.map(this.shares,t.proxy(function(n){typeof n=="string"&&(n={share:n});var i=n.share&&e[n.share];if(!i&&!n.renderer)throw Error("Share '"+n.share+"' is not found");return t.extend({url:this.url,text:this.text},i,n)},this))},_attachWindowResizeCallback:function(){t(n).on("resize",t.proxy(this._windowResizeHandler,this))},_detachWindowResizeCallback:function(){t(n).off("resize",this._windowResizeHandler)},_windowResizeHandler:function(){(t.isFunction(this.showLabel)||t.isFunction(this.showCount))&&(n.clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(t.proxy(this.refresh,this),this.resizeTimeout))},_render:function(){this._clear();this._defineOptionsByScreen();this._$element.addClass(this.elementClass);this._$shares=t("<div>").addClass(this.sharesClass).appendTo(this._$element);this._renderShares()},_defineOptionsByScreen:function(){this._screenWidth=t(n).width();this._showLabel=r(this.showLabel,this,this._screenWidth);this._showCount=r(this.showCount,this,this._screenWidth)},_renderShares:function(){t.each(this.shares,t.proxy(function(n,t){this._renderShare(t)},this))},_renderShare:function(n){var i;i=t.isFunction(n.renderer)?t(n.renderer()):this._createShare(n);i.addClass(this.shareClass).addClass(n.share?"jssocials-share-"+n.share:"").addClass(n.css).appendTo(this._$shares)},_createShare:function(n){var i=t("<div>"),f=this._createShareLink(n).appendTo(i),r,u;return this._showCount&&(r=this._showCount==="inside",u=r?f:t("<div>").addClass(this.shareCountBoxClass).appendTo(i),u.addClass(r?this.shareLinkCountClass:this.shareCountBoxClass),this._renderShareCount(n,u)),i},_createShareLink:function(n){var r=this._getShareStrategy(n),i=r.call(n,{shareUrl:this._getShareUrl(n)});return i.addClass(this.shareLinkClass).append(this._createShareLogo(n)),this._showLabel&&i.append(this._createShareLabel(n)),t.each(this.on||{},function(r,u){if(t.isFunction(u))i.on(r,t.proxy(u,n))}),i},_getShareStrategy:function(n){var t=o[n.shareIn||this.shareIn];if(!t)throw Error("Share strategy '"+this.shareIn+"' not found");return t},_getShareUrl:function(n){var t=r(n.shareUrl,n);return this._formatShareUrl(t,n)},_createShareLogo:function(n){var i=n.logo,r=h.test(i)?t("<img>").attr("src",n.logo):t("<i>").addClass(i);return r.addClass(this.shareLogoClass),r},_createShareLabel:function(n){return t("<span>").addClass(this.shareLabelClass).text(n.label)},_renderShareCount:function(n,i){var r=t("<span>").addClass(this.shareCountClass);i.addClass(this.shareZeroCountClass).append(r);this._loadCount(n).done(t.proxy(function(n){n&&(i.removeClass(this.shareZeroCountClass),r.text(n))},this))},_loadCount:function(n){var i=t.Deferred(),r,f,u;return n.isSelfContainerCountFunction&&n.isSelfContainerCountFunction?(f=n.getCount(),i.resolve(f)):(r=this._getCountUrl(n),!r)?i.resolve(0).promise():(u=t.proxy(function(t){i.resolve(this._getCountValue(t,n))},this),t.getJSON(r).done(u).fail(function(){t.get(r).done(u).fail(function(){i.resolve(0)})}),i.promise())},_getCountUrl:function(n){var t=r(n.countUrl,n);return this._formatShareUrl(t,n)},_getCountValue:function(n,i){var r=(t.isFunction(i.getCount)?i.getCount(n):n)||0;return typeof r=="string"?r:this._formatNumber(r)},_formatNumber:function(n){return t.each(l,function(t,i){if(n>=i)return n=parseFloat((n/i).toFixed(2))+t,!1}),n},_formatShareUrl:function(t,i){return t.replace(c,function(t,r,u){var f=i[u]||"";return f?(r||"")+n.encodeURIComponent(f):""})},_clear:function(){n.clearTimeout(this._resizeTimer);this._$element.empty()},_passOptionToShares:function(n,i){var r=this.shares;t.each(["url","text"],function(u,f){f===n&&t.each(r,function(t,r){r[n]=i})})},_normalizeShare:function(n){return t.isNumeric(n)?this.shares[n]:typeof n=="string"?t.grep(this.shares,function(t){return t.share===n})[0]:n},refresh:function(){this._render()},destroy:function(){this._clear();this._detachWindowResizeCallback();this._$element.removeClass(this.elementClass).removeData(f)},option:function(n,t){if(arguments.length===1)return this[n];this[n]=t;this._passOptionToShares(n,t);this.refresh()},shareOption:function(n,t,i){if(n=this._normalizeShare(n),arguments.length===2)return n[t];n[t]=i;this.refresh()}};t.fn.jsSocials=function(n){var e=t.makeArray(arguments),o=e.slice(1),r=this;return this.each(function(){var h=t(this),e=h.data(f),s;if(e)if(typeof n=="string"){if(s=e[n].apply(e,o),s!==i&&s!==e)return r=s,!1}else e._detachWindowResizeCallback(),e._init(n),e._render();else new u(h,n)}),r};s=function(n){var i;t.isPlainObject(n)?i=u.prototype:(i=e[n],n=arguments[1]||{});t.extend(i,n)};o={popup:function(i){return t("<a>").attr("href","#").on("click",function(){return n.open(i.shareUrl,null,"width=600, height=400, location=0, menubar=0, resizeable=0, scrollbars=0, status=0, titlebar=0, toolbar=0"),!1})},blank:function(n){return t("<a>").attr({target:"_blank",href:n.shareUrl})},self:function(n){return t("<a>").attr({target:"_self",href:n.shareUrl})}};n.jsSocials={Socials:u,shares:e,shareStrategies:o,setDefaults:s}}(window,jQuery),function(n,t,i){t.extend(i.shares,{email:{label:"E-mail",logo:"fa fa-at",shareUrl:"mailto:{to}?subject={text}&body={url}",countUrl:"",shareIn:"self"},twitter:{label:"Tweet",logo:"icon-twitter",shareUrl:"https://twitter.com/share?url={url}&text={text}&via={via}&hashtags={hashtags}",countUrl:""},facebook:{label:"Share",logo:"icon-facebook",shareUrl:"https://facebook.com/sharer/sharer.php?u={url}",countUrl:function(){return"https://graph.facebook.com/fql?q=SELECT total_count FROM link_stat WHERE url='"+n.encodeURIComponent(this.url)+"'"},getCount:function(n){return n.data.length&&n.data[0].total_count||0}},googleplus:{label:"+1",logo:"icon-google-plus",shareUrl:"https://plus.google.com/share?url={url}",countUrl:function(){},isSelfContainerCountFunction:!0,getCount:function(){var n=this.url,i=t.ajax({type:"POST",url:"https://clients6.google.com/rpc",processData:!0,contentType:"application/json",data:JSON.stringify({method:"pos.plusones.get",id:n,params:{nolog:!0,id:n,source:"widget",userId:"@viewer",groupId:"@self"},jsonrpc:"2.0",key:"p",apiVersion:"v1"}),success:function(n){var i=t(".jssocials-share-googleplus .jssocials-share-count"),r=n.result.metadata.globalCounts.count;r&&(i.parent().removeClass("jssocials-share-no-count"),i.text(r));return}})}},linkedin:{label:"Share",logo:"fa fa-linkedin",shareUrl:"https://www.linkedin.com/shareArticle?mini=true&url={url}",countUrl:"https://www.linkedin.com/countserv/count/share?format=jsonp&url={url}&callback=?",getCount:function(n){return n.count}},pinterest:{label:"Pin it",logo:"icon-pintrest",shareUrl:"https://pinterest.com/pin/create/bookmarklet/?media={media}&url={url}&description={text}",countUrl:"https://api.pinterest.com/v1/urls/count.json?&url={url}&callback=?",getCount:function(n){return n.count}},stumbleupon:{label:"Share",logo:"fa fa-stumbleupon",shareUrl:"http://www.stumbleupon.com/submit?url={url}&title={title}",countUrl:"https://cors-anywhere.herokuapp.com/https://www.stumbleupon.com/services/1.01/badge.getinfo?url={url}",getCount:function(n){return n.result.views}},whatsapp:{label:"WhatsApp",logo:"fa fa-whatsapp",shareUrl:"whatsapp://send?text={url} {text}",countUrl:"",shareIn:"self"},line:{label:"LINE",logo:"fa fa-comment",shareUrl:"http://line.me/R/msg/text/?{text} {url}",countUrl:""}})}(window,jQuery,window.jsSocials),function(n,t){var i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";n.fn.imagesLoaded=function(r){function l(){var t=n(c),i=n(o);u&&(o.length?u.reject(f,t,i):u.resolve(f));n.isFunction(r)&&r.call(e,f,t,i)}function a(n){s(n.target,"error"===n.type)}function s(t,r){t.src===i||-1!==n.inArray(t,h)||(h.push(t),r?o.push(t):c.push(t),n.data(t,"imagesLoaded",{isBroken:r,src:t.src}),v&&u.notifyWith(n(t),[r,f,n(c),n(o)]),f.length===h.length&&(setTimeout(l),f.unbind(".imagesLoaded",a)))}var e=this,u=n.isFunction(n.Deferred)?n.Deferred():0,v=n.isFunction(u.notify),f=e.find("img").add(e.filter("img")),h=[],c=[],o=[];return n.isPlainObject(r)&&n.each(r,function(n,t){"callback"===n?r=t:u&&u[n](t)}),f.length?f.bind("load.imagesLoaded error.imagesLoaded",a).each(function(r,u){var e=u.src,f=n.data(u,"imagesLoaded");f&&f.src===e?s(u,f.isBroken):u.complete&&u.naturalWidth!==t?s(u,0===u.naturalWidth||0===u.naturalHeight):(u.readyState||u.complete)&&(u.src=i,u.src=e)}):l(),u?u.promise(e):e}}(jQuery);!function(n){function i(){}function t(n){function u(t){t.prototype.option||(t.prototype.option=function(t){n.isPlainObject(t)&&(this.options=n.extend(!0,this.options,t))})}function f(i,u){n.fn[i]=function(f){var h,e,s;if("string"==typeof f){for(var c=r.call(arguments,1),o=0,l=this.length;l>o;o++)if(h=this[o],e=n.data(h,i),e)if(n.isFunction(e[f])&&"_"!==f.charAt(0)){if(s=e[f].apply(e,c),void 0!==s)return s}else t("no such method '"+f+"' for "+i+" instance");else t("cannot call methods on "+i+" prior to initialization; attempted to call '"+f+"'");return this}return this.each(function(){var t=n.data(this,i);t?(t.option(f),t._init()):(t=new u(this,f),n.data(this,i,t))})}}if(n){var t="undefined"==typeof console?i:function(n){console.error(n)};return n.bridget=function(n,t){u(t);f(n,t)},n.bridget}}var r=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],t):t("object"==typeof exports?require("jquery"):n.jQuery)}(window),function(n){function f(t){var i=n.event;return i.target=i.target||i.srcElement||t,i}var t=document.documentElement,u=function(){},i,r;t.addEventListener?u=function(n,t,i){n.addEventListener(t,i,!1)}:t.attachEvent&&(u=function(n,t,i){n[t+i]=i.handleEvent?function(){var t=f(n);i.handleEvent.call(i,t)}:function(){var t=f(n);i.call(n,t)};n.attachEvent("on"+t,n[t+i])});i=function(){};t.removeEventListener?i=function(n,t,i){n.removeEventListener(t,i,!1)}:t.detachEvent&&(i=function(n,t,i){n.detachEvent("on"+t,n[t+i]);try{delete n[t+i]}catch(r){n[t+i]=void 0}});r={bind:u,unbind:i};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:n.eventie=r}(this),function(n){function t(n){"function"==typeof n&&(t.isReady?n():f.push(n))}function r(n){var r="readystatechange"===n.type&&"complete"!==i.readyState;t.isReady||r||e()}function e(){var n,i,r;for(t.isReady=!0,n=0,i=f.length;i>n;n++)r=f[n],r()}function u(u){return"complete"===i.readyState?e():(u.bind(i,"DOMContentLoaded",r),u.bind(i,"readystatechange",r),u.bind(n,"load",r)),t}var i=n.document,f=[];t.isReady=!1;"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],u):"object"==typeof exports?module.exports=u(require("eventie")):n.docReady=u(n.eventie)}(window),function(){function t(){}function u(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function i(n){return function(){return this[n].apply(this,arguments)}}var n=t.prototype,r=this,f=r.EventEmitter;n.getListeners=function(n){var r,t,i=this._getEvents();if(n instanceof RegExp){r={};for(t in i)i.hasOwnProperty(t)&&n.test(t)&&(r[t]=i[t])}else r=i[n]||(i[n]=[]);return r};n.flattenListeners=function(n){for(var i=[],t=0;t<n.length;t+=1)i.push(n[t].listener);return i};n.getListenersAsObject=function(n){var t,i=this.getListeners(n);return i instanceof Array&&(t={},t[n]=i),t||i};n.addListener=function(n,t){var i,r=this.getListenersAsObject(n),f="object"==typeof t;for(i in r)r.hasOwnProperty(i)&&-1===u(r[i],t)&&r[i].push(f?t:{listener:t,once:!1});return this};n.on=i("addListener");n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})};n.once=i("addOnceListener");n.defineEvent=function(n){return this.getListeners(n),this};n.defineEvents=function(n){for(var t=0;t<n.length;t+=1)this.defineEvent(n[t]);return this};n.removeListener=function(n,t){var f,i,r=this.getListenersAsObject(n);for(i in r)r.hasOwnProperty(i)&&(f=u(r[i],t),-1!==f&&r[i].splice(f,1));return this};n.off=i("removeListener");n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)};n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)};n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&("function"==typeof u?f.call(this,r,u):e.call(this,r,u));return this};n.removeEvent=function(n){var t,r=typeof n,i=this._getEvents();if("string"===r)delete i[n];else if(n instanceof RegExp)for(t in i)i.hasOwnProperty(t)&&n.test(t)&&delete i[t];else delete this._events;return this};n.removeAllListeners=i("removeEvent");n.emitEvent=function(n,t){var i,f,r,e,u=this.getListenersAsObject(n);for(r in u)if(u.hasOwnProperty(r))for(f=u[r].length;f--;)i=u[r][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this};n.trigger=i("emitEvent");n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)};n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this};n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0};n._getEvents=function(){return this._events||(this._events={})};t.noConflict=function(){return r.EventEmitter=f,t};"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:r.EventEmitter=t}.call(this),function(n){function t(n){if(n){if("string"==typeof r[n])return n;n=n.charAt(0).toUpperCase()+n.slice(1);for(var t,u=0,f=i.length;f>u;u++)if(t=i[u]+n,"string"==typeof r[t])return t}}var i="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return t}):"object"==typeof exports?module.exports=t:n.getStyleProperty=t}(window),function(n){function i(n){var t=parseFloat(n),i=-1===n.indexOf("%")&&!isNaN(t);return i&&t}function u(){}function f(){for(var r,i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0,u=t.length;u>n;n++)r=t[n],i[r]=0;return i}function r(r){function c(){var f,t,c,l;h||(h=!0,f=n.getComputedStyle,(o=function(){var n=f?function(n){return f(n,null)}:function(n){return n.currentStyle};return function(t){var i=n(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),u=r("boxSizing"))&&(t=document.createElement("div"),t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[u]="border-box",c=document.body||document.documentElement,c.appendChild(t),l=o(t),s=200===i(l.width),c.removeChild(t)))}function l(n){var e,r,v,h,y,p;if(c(),"string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){if(e=o(n),"none"===e.display)return f();r={};r.width=n.offsetWidth;r.height=n.offsetHeight;for(var tt=r.isBorderBox=!(!u||!e[u]||"border-box"!==e[u]),l=0,it=t.length;it>l;l++)v=t[l],h=e[v],h=a(n,h),y=parseFloat(h),r[v]=isNaN(y)?0:y;var w=r.paddingLeft+r.paddingRight,b=r.paddingTop+r.paddingBottom,rt=r.marginLeft+r.marginRight,ut=r.marginTop+r.marginBottom,k=r.borderLeftWidth+r.borderRightWidth,d=r.borderTopWidth+r.borderBottomWidth,g=tt&&s,nt=i(e.width);return nt!==!1&&(r.width=nt+(g?0:w+k)),p=i(e.height),p!==!1&&(r.height=p+(g?0:b+d)),r.innerWidth=r.width-(w+k),r.innerHeight=r.height-(b+d),r.outerWidth=r.width+rt,r.outerHeight=r.height+ut,r}}function a(t,i){if(n.getComputedStyle||-1===i.indexOf("%"))return i;var r=t.style,e=r.left,u=t.runtimeStyle,f=u&&u.left;return f&&(u.left=t.currentStyle.left),r.left=i,i=r.pixelLeft,r.left=e,f&&(u.left=f),i}var o,u,s,h=!1;return l}var e="undefined"==typeof console?u:function(n){console.error(n)},t=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],r):"object"==typeof exports?module.exports=r(require("desandro-get-style-property")):n.getSize=r(n.getStyleProperty)}(window),function(n){function i(n,t){return n[u](t)}function r(n){if(!n.parentNode){var t=document.createDocumentFragment();t.appendChild(n)}}function o(n,t){r(n);for(var u=n.parentNode.querySelectorAll(t),i=0,f=u.length;f>i;i++)if(u[i]===n)return!0;return!1}function s(n,t){return r(n),i(n,t)}var t,u=function(){var u,i;if(n.matchesSelector)return"matchesSelector";for(var r=["webkit","moz","ms","o"],t=0,f=r.length;f>t;t++)if(u=r[t],i=u+"MatchesSelector",n[i])return i}(),f,e;u?(f=document.createElement("div"),e=i(f,"div"),t=e?i:s):t=o;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(n){function r(n,t){for(var i in t)n[i]=t[i];return n}function u(n){for(var t in n)return!1;return t=null,!0}function f(n){return n.replace(/([A-Z])/g,function(n){return"-"+n.toLowerCase()})}function t(n,t,i){function o(n,t){n&&(this.element=n,this.layout=t,this.position={x:0,y:0},this._create())}var s=i("transition"),h=i("transform"),w=s&&h,b=!!i("perspective"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[s],l=["transform","transition","transitionDuration","transitionProperty"],k=function(){for(var n,t,u={},r=0,f=l.length;f>r;r++)n=l[r],t=i(n),t&&t!==n&&(u[n]=t);return u}(),a,v,y,p;return r(o.prototype,n.prototype),o.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}};this.css({position:"absolute"})},o.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},o.prototype.getSize=function(){this.size=t(this.element)},o.prototype.css=function(n){var r=this.element.style,t,i;for(t in n)i=k[t]||t,r[i]=n[t]},o.prototype.getPosition=function(){var r=e(this.element),u=this.layout.options,f=u.isOriginLeft,o=u.isOriginTop,n=parseInt(r[f?"left":"right"],10),t=parseInt(r[o?"top":"bottom"],10),i;n=isNaN(n)?0:n;t=isNaN(t)?0:t;i=this.layout.size;n-=f?i.paddingLeft:i.paddingRight;t-=o?i.paddingTop:i.paddingBottom;this.position.x=n;this.position.y=t},o.prototype.layoutPosition=function(){var t=this.layout.size,i=this.layout.options,n={};i.isOriginLeft?(n.left=this.position.x+t.paddingLeft+"px",n.right=""):(n.right=this.position.x+t.paddingRight+"px",n.left="");i.isOriginTop?(n.top=this.position.y+t.paddingTop+"px",n.bottom=""):(n.bottom=this.position.y+t.paddingBottom+"px",n.top="");this.css(n);this.emitEvent("layout",[this])},a=b?function(n,t){return"translate3d("+n+"px, "+t+"px, 0)"}:function(n,t){return"translate("+n+"px, "+t+"px)"},o.prototype._transitionTo=function(n,t){this.getPosition();var e=this.position.x,o=this.position.y,s=parseInt(n,10),h=parseInt(t,10),c=s===this.position.x&&h===this.position.y;if(this.setPosition(n,t),c&&!this.isTransitioning)return void this.layoutPosition();var i=n-e,r=t-o,u={},f=this.layout.options;i=f.isOriginLeft?i:-i;r=f.isOriginTop?r:-r;u.transform=a(i,r);this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},o.prototype.goTo=function(n,t){this.setPosition(n,t);this.layoutPosition()},o.prototype.moveTo=w?o.prototype._transitionTo:o.prototype.goTo,o.prototype.setPosition=function(n,t){this.position.x=parseInt(n,10);this.position.y=parseInt(t,10)},o.prototype._nonTransition=function(n){this.css(n.to);n.isCleaning&&this._removeStyles(n.to);for(var t in n.onTransitionEnd)n.onTransitionEnd[t].call(this)},o.prototype._transition=function(n){var i,t,r;if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(n);i=this._transn;for(t in n.onTransitionEnd)i.onEnd[t]=n.onTransitionEnd[t];for(t in n.to)i.ingProperties[t]=!0,n.isCleaning&&(i.clean[t]=!0);n.from&&(this.css(n.from),r=this.element.offsetHeight,r=null);this.enableTransition(n.to);this.css(n.to);this.isTransitioning=!0},v=h&&f(h)+",opacity",o.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:v,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(c,this,!1))},o.prototype.transition=o.prototype[s?"_transition":"_nonTransition"],o.prototype.onwebkitTransitionEnd=function(n){this.ontransitionend(n)},o.prototype.onotransitionend=function(n){this.ontransitionend(n)},y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"},o.prototype.ontransitionend=function(n){var t,i,r;n.target===this.element&&(t=this._transn,i=y[n.propertyName]||n.propertyName,(delete t.ingProperties[i],u(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[n.propertyName]="",delete t.clean[i]),i in t.onEnd)&&(r=t.onEnd[i],r.call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},o.prototype.disableTransition=function(){this.removeTransitionStyles();this.element.removeEventListener(c,this,!1);this.isTransitioning=!1},o.prototype._removeStyles=function(n){var t={},i;for(i in n)t[i]="";this.css(t)},p={transitionProperty:"",transitionDuration:""},o.prototype.removeTransitionStyles=function(){this.css(p)},o.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element);this.emitEvent("remove",[this])},o.prototype.remove=function(){if(!s||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var n=this;this.on("transitionEnd",function(){return n.removeElem(),!0});this.hide()},o.prototype.reveal=function(){delete this.isHidden;this.css({display:""});var n=this.layout.options;this.transition({from:n.hiddenStyle,to:n.visibleStyle,isCleaning:!0})},o.prototype.hide=function(){this.isHidden=!0;this.css({display:""});var n=this.layout.options;this.transition({from:n.visibleStyle,to:n.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},o.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}var i=n.getComputedStyle,e=i?function(n){return i(n,null)}:function(n){return n.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],t):"object"==typeof exports?module.exports=t(require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property")):(n.Outlayer={},n.Outlayer.Item=t(n.EventEmitter,n.getSize,n.getStyleProperty))}(window),function(n){function t(n,t){for(var i in t)n[i]=t[i];return n}function c(n){return"[object Array]"===a.call(n)}function u(n){var t=[],i,r;if(c(n))t=n;else if(n&&"number"==typeof n.length)for(i=0,r=n.length;r>i;i++)t.push(n[i]);else t.push(n);return t}function o(n,t){var i=v(t,n);-1!==i&&t.splice(i,1)}function l(n){return n.replace(/(.)([A-Z])/g,function(n,t,i){return t+"-"+i}).toLowerCase()}function f(f,c,a,v,y,p){function w(n,i){if("string"==typeof n&&(n=s.querySelector(n)),!n||!e(n))return void(r&&r.error("Bad "+this.constructor.namespace+" element: "+n));this.element=n;this.options=t({},this.constructor.defaults);this.option(i);var u=++k;this.element.outlayerGUID=u;b[u]=this;this._create();this.options.isInitLayout&&this.layout()}var k=0,b={};return w.namespace="outlayer",w.Item=p,w.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},t(w.prototype,a.prototype),w.prototype.option=function(n){t(this.options,n)},w.prototype._create=function(){this.reloadItems();this.stamps=[];this.stamp(this.options.stamp);t(this.element.style,this.options.containerStyle);this.options.isResizeBound&&this.bindResize()},w.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},w.prototype._itemize=function(n){for(var u,f,i=this._filterFindItemElements(n),e=this.constructor.Item,r=[],t=0,o=i.length;o>t;t++)u=i[t],f=new e(u,this),r.push(f);return r},w.prototype._filterFindItemElements=function(n){var t;n=u(n);for(var r=this.options.itemSelector,i=[],f=0,h=n.length;h>f;f++)if(t=n[f],e(t))if(r){y(t,r)&&i.push(t);for(var s=t.querySelectorAll(r),o=0,c=s.length;c>o;o++)i.push(s[o])}else i.push(t);return i},w.prototype.getItemElements=function(){for(var t=[],n=0,i=this.items.length;i>n;n++)t.push(this.items[n].element);return t},w.prototype.layout=function(){this._resetLayout();this._manageStamps();var n=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,n);this._isLayoutInited=!0},w.prototype._init=w.prototype.layout,w.prototype._resetLayout=function(){this.getSize()},w.prototype.getSize=function(){this.size=v(this.element)},w.prototype._getMeasurement=function(n,t){var r,i=this.options[n];i?("string"==typeof i?r=this.element.querySelector(i):e(i)&&(r=i),this[n]=r?v(r)[t]:i):this[n]=0},w.prototype.layoutItems=function(n,t){n=this._getItemsForLayout(n);this._layoutItems(n,t);this._postLayout()},w.prototype._getItemsForLayout=function(n){for(var i,r=[],t=0,u=n.length;u>t;t++)i=n[t],i.isIgnored||r.push(i);return r},w.prototype._layoutItems=function(n,t){function f(){e.emitEvent("layoutComplete",[e,n])}var e=this,i,r;if(!n||!n.length)return void f();this._itemsOn(n,"layout",f);for(var o=[],u=0,s=n.length;s>u;u++)i=n[u],r=this._getItemLayoutPosition(i),r.item=i,r.isInstant=t||i.isLayoutInstant,o.push(r);this._processLayoutQueue(o)},w.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},w.prototype._processLayoutQueue=function(n){for(var t,i=0,r=n.length;r>i;i++)t=n[i],this._positionItem(t.item,t.x,t.y,t.isInstant)},w.prototype._positionItem=function(n,t,i,r){r?n.goTo(t,i):n.moveTo(t,i)},w.prototype._postLayout=function(){this.resizeContainer()},w.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var n=this._getContainerSize();n&&(this._setContainerMeasure(n.width,!0),this._setContainerMeasure(n.height,!1))}},w.prototype._getContainerSize=h,w.prototype._setContainerMeasure=function(n,t){if(void 0!==n){var i=this.size;i.isBorderBox&&(n+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth);n=Math.max(n,0);this.element.style[t?"width":"height"]=n+"px"}},w.prototype._itemsOn=function(n,t,i){function e(){return u++,u===o&&i.call(s),!0}for(var f,u=0,o=n.length,s=this,r=0,h=n.length;h>r;r++){f=n[r];f.on(t,e)}},w.prototype.ignore=function(n){var t=this.getItem(n);t&&(t.isIgnored=!0)},w.prototype.unignore=function(n){var t=this.getItem(n);t&&delete t.isIgnored},w.prototype.stamp=function(n){var t,i,r;if(n=this._find(n))for(this.stamps=this.stamps.concat(n),t=0,i=n.length;i>t;t++)r=n[t],this.ignore(r)},w.prototype.unstamp=function(n){var t,r,i;if(n=this._find(n))for(t=0,r=n.length;r>t;t++)i=n[t],o(i,this.stamps),this.unignore(i)},w.prototype._find=function(n){if(n)return("string"==typeof n&&(n=this.element.querySelectorAll(n)),n=u(n))},w.prototype._manageStamps=function(){var n,t,i;if(this.stamps&&this.stamps.length)for(this._getBoundingRect(),n=0,t=this.stamps.length;t>n;n++)i=this.stamps[n],this._manageStamp(i)},w.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),n=this.size;this._boundingRect={left:t.left+n.paddingLeft+n.borderLeftWidth,top:t.top+n.paddingTop+n.borderTopWidth,right:t.right-(n.paddingRight+n.borderRightWidth),bottom:t.bottom-(n.paddingBottom+n.borderBottomWidth)}},w.prototype._manageStamp=h,w.prototype._getElementOffset=function(n){var t=n.getBoundingClientRect(),i=this._boundingRect,r=v(n);return{left:t.left-i.left-r.marginLeft,top:t.top-i.top-r.marginTop,right:i.right-t.right-r.marginRight,bottom:i.bottom-t.bottom-r.marginBottom}},w.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},w.prototype.bindResize=function(){this.isResizeBound||(f.bind(n,"resize",this),this.isResizeBound=!0)},w.prototype.unbindResize=function(){this.isResizeBound&&f.unbind(n,"resize",this);this.isResizeBound=!1},w.prototype.onresize=function(){function t(){n.resize();delete n.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var n=this;this.resizeTimeout=setTimeout(t,100)},w.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},w.prototype.needsResizeLayout=function(){var n=v(this.element),t=this.size&&n;return t&&n.innerWidth!==this.size.innerWidth},w.prototype.addItems=function(n){var t=this._itemize(n);return t.length&&(this.items=this.items.concat(t)),t},w.prototype.appended=function(n){var t=this.addItems(n);t.length&&(this.layoutItems(t,!0),this.reveal(t))},w.prototype.prepended=function(n){var t=this._itemize(n),i;t.length&&(i=this.items.slice(0),this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i))},w.prototype.reveal=function(n){var i=n&&n.length,t,r;if(i)for(t=0;i>t;t++)r=n[t],r.reveal()},w.prototype.hide=function(n){var i=n&&n.length,t,r;if(i)for(t=0;i>t;t++)r=n[t],r.hide()},w.prototype.getItem=function(n){for(var i,t=0,r=this.items.length;r>t;t++)if(i=this.items[t],i.element===n)return i},w.prototype.getItems=function(n){var u,i;if(n&&n.length){for(var r=[],t=0,f=n.length;f>t;t++)u=n[t],i=this.getItem(u),i&&r.push(i);return r}},w.prototype.remove=function(n){var t,i,f,r;if(n=u(n),t=this.getItems(n),t&&t.length)for(this._itemsOn(t,"remove",function(){this.emitEvent("removeComplete",[this,t])}),i=0,f=t.length;f>i;i++)r=t[i],r.remove(),o(r,this.items)},w.prototype.destroy=function(){var t=this.element.style,n,r,u,f;for(t.height="",t.position="",t.width="",n=0,r=this.items.length;r>n;n++)u=this.items[n],u.destroy();this.unbindResize();f=this.element.outlayerGUID;delete b[f];delete this.element.outlayerGUID;i&&i.removeData(this.element,this.constructor.namespace)},w.data=function(n){var t=n&&n.outlayerGUID;return t&&b[t]},w.create=function(n,u){function f(){w.apply(this,arguments)}return Object.create?f.prototype=Object.create(w.prototype):t(f.prototype,w.prototype),f.prototype.constructor=f,f.defaults=t({},w.defaults),t(f.defaults,u),f.prototype.settings={},f.namespace=n,f.data=w.data,f.Item=function(){p.apply(this,arguments)},f.Item.prototype=new p,c(function(){for(var a,t,e,v,o=l(n),h=s.querySelectorAll(".js-"+o),c="data-"+o+"-options",u=0,y=h.length;y>u;u++){t=h[u];e=t.getAttribute(c);try{a=e&&JSON.parse(e)}catch(p){r&&r.error("Error parsing "+c+" on "+t.nodeName.toLowerCase()+(t.id?"#"+t.id:"")+": "+p);continue}v=new f(t,a);i&&i.data(t,n,v)}}),i&&i.bridget&&i.bridget(n,f),f},w.Item=p,w}var s=n.document,r=n.console,i=n.jQuery,h=function(){},a=Object.prototype.toString,e="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(n){return n instanceof HTMLElement}:function(n){return n&&"object"==typeof n&&1===n.nodeType&&"string"==typeof n.nodeName},v=Array.prototype.indexOf?function(n,t){return n.indexOf(t)}:function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],f):"object"==typeof exports?module.exports=f(require("eventie"),require("doc-ready"),require("wolfy87-eventemitter"),require("get-size"),require("desandro-matches-selector"),require("./item")):n.Outlayer=f(n.eventie,n.docReady,n.EventEmitter,n.getSize,n.matchesSelector,n.Outlayer.Item)}(window),function(n){function t(n,t){var r=n.create("masonry");return r.prototype._resetLayout=function(){this.getSize();this._getMeasurement("columnWidth","outerWidth");this._getMeasurement("gutter","outerWidth");this.measureColumns();var n=this.cols;for(this.colYs=[];n--;)this.colYs.push(0);this.maxY=0},r.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var n=this.items[0],i=n&&n.element;this.columnWidth=i&&t(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter;this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth);this.cols=Math.max(this.cols,1)},r.prototype.getContainerWidth=function(){var i=this.options.isFitWidth?this.element.parentNode:this.element,n=t(i);this.containerWidth=n&&n.innerWidth},r.prototype._getItemLayoutPosition=function(n){n.getSize();var e=n.size.outerWidth%this.columnWidth,s=e&&1>e?"round":"ceil",t=Math[s](n.size.outerWidth/this.columnWidth);t=Math.min(t,this.cols);for(var r=this._getColGroup(t),u=Math.min.apply(Math,r),o=i(r,u),h={x:this.columnWidth*o,y:u},c=u+n.size.outerHeight,l=this.cols+1-r.length,f=0;l>f;f++)this.colYs[o+f]=c;return h},r.prototype._getColGroup=function(n){var r;if(2>n)return this.colYs;for(var i=[],u=this.cols+1-n,t=0;u>t;t++)r=this.colYs.slice(t,t+n),i[t]=Math.max.apply(Math,r);return i},r.prototype._manageStamp=function(n){var e=t(n),u=this._getElementOffset(n),o=this.options.isOriginLeft?u.left:u.right,s=o+e.outerWidth,f=Math.floor(o/this.columnWidth),i,h,r;for(f=Math.max(0,f),i=Math.floor(s/this.columnWidth),i-=s%this.columnWidth?0:1,i=Math.min(this.cols-1,i),h=(this.options.isOriginTop?u.top:u.bottom)+e.outerHeight,r=f;i>=r;r++)this.colYs[r]=Math.max(h,this.colYs[r])},r.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var n={height:this.maxY};return this.options.isFitWidth&&(n.width=this._getContainerFitWidth()),n},r.prototype._getContainerFitWidth=function(){for(var n=0,t=this.cols;--t&&0===this.colYs[t];)n++;return(this.cols-n)*this.columnWidth-this.gutter},r.prototype.needsResizeLayout=function(){var n=this.containerWidth;return this.getContainerWidth(),n!==this.containerWidth},r}var i=Array.prototype.indexOf?function(n,t){return n.indexOf(t)}:function(n,t){for(var u,i=0,r=n.length;r>i;i++)if(u=n[i],u===t)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],t):"object"==typeof exports?module.exports=t(require("outlayer"),require("get-size")):n.Masonry=t(n.Outlayer,n.getSize)}(window);window.EQTR=function(n,t){"use strict";function c(n){return h[n]||t.ajax({url:n+(/\?/.test(n)?"&":"?")+"ajax_request=true",success:function(n){if(/<html/.test(n)){var i=t("<div/>");i[0].innerHTML=n;n=i.find(".page-content:first");n=t("<div/>").append(n).html()}}})}function o(n,i){var r=t(".fade-area"),f,u;if(!r.length){r=t('<div class="fade-area faded"><span class="icon-rocco"><\/span><\/div>');f=r.find("span");u=!1;f.on(EQTR.GetTransitionEnd(),function(){return u||(r.toggleClass("logo-transition"),setTimeout(function(){u=!1},1)),u=!0,!1});r.appendTo(i);requestAnimationFrame(function(){r.toggleClass("logo-transition")})}return r.toggleClass("fade-area-popup",!!n),r}var s=!window.disableAjaxPageLoading&&window.history&&history.pushState&&!EQTR.detectDevice.isIOS5(),f={PopupOpen:"open-popup",PopupClose:"popup-close",Standard:"standard"},e=t(".page-frame"),h={},r,u="",i={init:function(){if(i.useAjaxLoading){History.Adapter.bind(window,"statechange",function(){var n=History.getState();t(".js-fake-popup").click();u.replace(/\?tab=.*/,"")!=n.url.replace(/\?tab=.*/,"")&&i.switchPageContent(n.url,n.data,e);u=""});var n=new RegExp(location.host+"/#","i"),r=new RegExp(location.host,"i");t("body").on("click","a:not(.no-ajax-load)",function(i){var f=this.href,o;if(i.isDefaultPrevented()||!f||!r.test(f)||n.test(f)||this.target||f.match(/\.(pdf|jpg|png|gif|jpeg)/i)||t(".sitemap-page").find(this).length)return!0;o="standard";this.className.match(/(open-popup|popup-close)/)?o=RegExp.$1:t("> .page-content:first",e).hasClass("page-content-popup")&&(o="popup-close");u=location.href;location.href.replace(/\?tab=.*/,"")!=f.replace(/\?tab=.*/,"")?History.pushState({contentTransition:o},"",f):History.replaceState({contentTransition:o},"",f);i.preventDefault()})}},useAjaxLoading:s};return i.RetrieveAjaxContent=function(n,i){var u=new t.Deferred;return r=c(n),r.fail&&r.fail(function(t,i){i!="abort"?location.href=n:u.reject()}),t.when(r).then(function(n){var f,e;/<html/.test(n)&&(f=t("<div/>"),f[0].innerHTML=n,n=f.find(".page-content:first"));e=t(n).addClass("ajax-prep").appendTo(i);r.abort&&(r=null);u.resolve(e)}),u.promise()},i.CancelPage=function(){r&&r.abort&&r.abort()&&(r=null)},i.switchPageContent=function(n,r,u){i.CancelPage();t("tt-abandonment").length&&t("tt-abandonment").remove();var o=t("> .page-content:first",u),e=i.RetrieveAjaxContent(n,u);r.contentTransition==f.PopupClose?i.popupOutPageSwitch(u,o,e):r.contentTransition==f.PopupOpen?i.popupInPageSwitch(u,e,o):i.singleFrameSwitch(u,e,o);t.when(e).then(function(){EQTR.Analytics.trackPage(n,!1,!0)})},i.singleFrameSwitch=function(n,i,r){var u=o(!1,n),f;if(!u.data("init"))u.data("fadingIn",!0).data("init",!0).data("deferred",new t.Deferred).on(EQTR.GetTransitionEnd(),function(){u.data("fadingIn")?f.resolve():t(".fade-area").remove()});f=u.data("deferred");t.when(i,f).then(function(n){EQTR.InitPageContent(n);EQTR.ForcePageLayout();requestAnimationFrame(function(){n.addClass("fade-in-underlay").removeClass("ajax-prep");r.trigger("close").remove();n.removeClass("fade-in-underlay");u.addClass("faded").data("fadingIn",!1);EQTR.ForcePageLayout();n.trigger("open")})});EQTR.ForcePageLayout();requestAnimationFrame(function(){u.removeClass("faded")})},i.popupInPageSwitch=function(n,i,r){function f(n,t){t||EQTR.InitPageContent(n);n.addClass("popup-in").trigger("opening");EQTR.ForcePageLayout();n.removeClass("ajax-prep");requestAnimationFrame(function(){n.one(EQTR.GetTransitionEnd(),function(){u&&u.remove();r&&r.trigger("close").remove();n.trigger("open")});EQTR.ForcePageLayout();n.removeClass("popup-in")})}var u;i instanceof jQuery?f(i.addClass("ajax-prep").appendTo(n),!0):(u=o(!0,n).removeClass("faded"),t.when(i).then(f))},i.popupOutPageSwitch=function(n,i,r){function u(n){requestAnimationFrame(function(){function t(){var n=i.find("iframe");n.length&&EQTR.detectDevice.isIE()?(n.each(function(){var n=this;n.src=""}),setTimeout(function(){n.remove();i.remove()},0)):i.remove()}if(Modernizr.csstransitions)i.one(EQTR.GetTransitionEnd(),t);else i.fadeOut(t);n&&(EQTR.InitPageContent(n),n.removeClass("ajax-prep"));i.trigger("close");Modernizr.csstransitions&&i.addClass("popup-in");EQTR.ForcePageLayout()})}r?r instanceof jQuery?u(r):t.when(r).then(u):u()},n.ajax=i,n}(window.EQTR||{},window.jQuery);window.EQTR=function(n,t,i){"use strict";var f={cursorborderradius:12,cursorwidth:14,cursropacitymax:.4,cursorcolor:"#fff",horizrailenabled:!1,autohidemode:!1,cursorborder:"3px solid transparent"},u,r=t(".page-frame"),o={languagePicker:function(){var r=t(".language-picker"),n=t(".language-picker-list",r),u=EQTR.language.localName,i=t('<a class="language-toggle" id="language-toggle" href="#">'+u+' <span class="icon icon-angle-down"><\/span><\/a>');i.insertBefore(n);t(".page-main").append(n);i.togglePanel({panel:n,linkOpenClass:"open"})},CookieWarning:function(){var i,n;if(!/cookie_warning/i.test(document.cookie)){i=t(".cookie-warning");t(".page-header").prepend(i);t(".cookie-warning").show().find("input").click(function(n){n.preventDefault()});t("body").one("click",function(){t(".cookie-warning").slideUp(function(){t(this).remove();EQTR.ExecResizeQueue()})});n=new Date;n.setMonth(n.getMonth()+6);document.cookie="cookie_warning=viewed=1;path=/;expires="+n.toUTCString()}},SetupPageFrameSize:function(){EQTR.AddToResizeQueue(n.SetPageFrameSize,0)},BasePageSetup:function(){var i,n,u;EQTR.detectDevice.supportsPointer&&t("body").css("-ms-touch-action","none").css("touch-action","none");(EQTR.detectDevice.isDesktop()||EQTR.detectDevice.isIOS5())&&(i=t(".site-nav").niceScroll(t.extend({},f,{background:"#292929",cursoropacitymax:1})).hide(),i.each(function(){t(this.rail).addClass("site-nav-nicescroll")}));navigator.userAgent.match(/iPad;.*CPU.*OS 7_\d/i)&&window.innerHeight!=document.documentElement.clientHeight&&(n=function(){document.documentElement.style.height=window.innerHeight+"px";document.body.scrollTop!==0&&window.scrollTo(0,0)}.bind(this),window.addEventListener("orientationchange",n,!1),n());u='<div class="page-content page-content-popup"><div class="iframe-container"><iframe id="iframePopup" name="iframePopup{1}" scrolling="no" frameborder="0" src="{0}"><\/iframe><\/div><\/div>';t("body").on("click",".virtual-tour a,.js-video-link",function(n){var i,f;n.preventDefault();var o=this.href,s=t(".page-content"),e=s.find(".nice-scroll");e.getNiceScroll().hide();i=t(u.format(o,EQTR.helpers.generateUuid()));f=t('<a href="#" class="popup-close js-fake-popup">x<\/a>').appendTo(r);i.on("destroyed",function(){e.getNiceScroll().show();f.remove()});f.click(function(){return EQTR.ajax.popupOutPageSwitch(r,i),!1});EQTR.ajax.popupInPageSwitch(r,i)});EQTR.AddToResizeQueue(function(){t(".content-heading").fitword()});EQTR.ajax.init();t(window).on("print",function(){t(".forte-team:not(.print-set)").addClass("print-set").find(".responsive-background-image,.responsive-background").each(function(){t(this).before('<img class="print-only" src="'+t(this).data("image")+'?width=320&height=197&mode=crop" />')})})},AddLanguageWrapper:function(){}},e;return n.SetPageFrameSize=function(){var n=t(".booking-panel"),u=t(".page-header").height(),f=Math.floor(window.innerHeight||t(window).height()),i=t(".booking-panel-tabs"),e=t(".booking-panel").length?Math.max(i[0].offsetHeight,!i.is(":visible")&&n.css("visibility")=="visible"?n.outerHeight():0):0,r=f-u-t(".page-footer").outerHeight()-e;EQTR.css.changeRule(".js .booking-panel.menu-open",{height:r+"px"});EQTR.css.changeRule(".js .page-frame",{height:r+"px"})},n.ShowPageContent=function(n){var i=t("html");n&&i.addClass("skip-transition");requestAnimationFrame(function(){t("html").removeClass("hide-page-content").removeClass("skip-transition")});Modernizr.csstransitions||t(".page-content").hide().fadeIn(800);window.sessionStorage&&!sessionStorage.menureveal&&EQTR.detectDevice.isHandHeld()&&(t(".booking-panel-tabs:visible").length||(EQTR.navigation.open(800,function(){EQTR.navigation.close(5e3)}),sessionStorage.menureveal=!0))},n.GetTransitionEnd=function(){if(u!=i)return u;u=null;var n,r=document.createElement("div"),t={transition:"transitionend",MSTransition:"msTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(n in t)r.style[n]!==i&&(u=t[n]);return u},n.ForcePageLayout=function(){var n=r[0].offsetHeight},n.GotoPage=function(t){n.ajax.useAjaxLoading?History.pushState(null,"",t):location.href=t},n.NoBackgroundStyle=function(){if(!e){var n=t('<div style="background:none;"/>').appendTo("body");e=n.css("background")}return e},n.loadGoogleMapApi=function(t,i){if(i=i?[i]:[],window.google&&google.maps)t&&t();else{if(n.loadGoogleMapApi.loading)return;n.loadGoogleMapApi.loading=!0;window.googleMapsCallBack=function(){n.loadGoogleMapApi.loading=!1;t&&t();window.googleMapsCallBack=null};EQTR.language.code!="en"&&i.push("language="+EQTR.language.code);var r=document.createElement("script");r.type="text/javascript";r.async=!0;r.src="//maps.google.com/maps/api/js?v=3&sensor=false&callback=googleMapsCallBack&"+(i.length?i.join("&"):"");document.getElementsByTagName("head")[0].appendChild(r)}},n.InitPageContent=function(u){var l,k,d,e,g,nt,h,tt,o,it=u!=i,s,a,rt,v,y,p,w,c,ut,b;it?(document.title=u.data("pagetitle"),a=u.data("languageurls"),a&&a.length&&t(".language-picker-list a").attr("href",function(n){return a[n].Url}),EQTR.navigation.setMenu(u.data("menunodeid"),u.data("nodeid"),u),t("form[action]",u).attr("action",function(n,t){return t.replace(/(\?|%3F)ajax_request(=|%3D).*/i,"")}),rt=u.data("pagetranslated")=="True",t(".locale-error-message").toggleClass("hide-locale-error-message",rt),u.hasClass("page-content-popup")&&(o=u),s=u):(o=r.find("> .page-content-popup"),s=t(".page-content",document).eq(0));u=u||document;EQTR.language.arabicEnconder(u);v=s.data("facebookurl");t(".frame-social .facebook-link").attr("href",function(){return t(this)[v?"show":"hide"](),v||""});y=s.data("instagramurl");t(".frame-social .instagram-link").attr("href",function(){return t(this)[y?"show":"hide"](),y||""});p=s.data("twitterurl");t(".frame-social .twitter-link").attr("href",function(){return t(this)[p?"show":"hide"](),p||""});w=s.data("googleplusurl");t(".frame-social .googleplus-link").attr("href",function(){return t(this)[w?"show":"hide"](),w||""});t("select",u).on("onLoad.selectify",function(){t(this).data().selectMenuContainer.find(".selectify-selectmenu").niceScroll(t.extend({zindex:9e3,autohidemode:!1},f))}).on("openmenu.selectify",function(){t(this).data().selectMenuContainer.find(".selectify-selectmenu").getNiceScroll().resize().show()}).on("closemenu.selectify",function(){t(this).data().selectMenuContainer.find(".selectify-selectmenu").getNiceScroll().hide()});if(t(".rich-content p",u).each(function(){var n=t(this);n.html().replace(/\s|&nbsp;/g,"").length==0&&n.remove()}),EQTR.bookingBar.init(u),EQTR.searchButton.init(u),n.SetPageFrameSize(),o&&o.length){c=o.find(".popup-close").appendTo(r);o.on("opening",function(){c.hide()}).on("open",function(){c.fadeIn("slow");e.getNiceScroll().resize().show()}).on("close",function(){c.fadeOut("fast",function(){t(this).remove()})}).on("destroyed",function(){c.remove()})}(l=t(".split-scroll",u)).length&&(ut=l.clone().addClass("modified").insertBefore(l).panelScroller({dualScroll:!0,focus:!0,dots:!1}),l.addClass("original").find(".primary-panel").addClass("panel-scroller"));(nt=t(".simple-panel-scroller",u)).length&&nt.each(function(){t(this).simplePanelScroller()});EQTR.detectDevice.isDesktop()&&(k=t(".cover-image",u)).length&&k.backgroundCover({ignoreResize:!0});(tt=t(".scroller-arrow",u)).length&&tt.scrollerArrow();(EQTR.detectDevice.isDesktop()||EQTR.detectDevice.isIOS5())&&(e=t(".nice-scroll",u).addBack(".nice-scroll")).length&&e.on("destroyed",function(){t(this).getNiceScroll().remove()}).niceScroll(t.extend({},f)).hide();(d=t(".panel-scroll",u)).length&&d.panelScroller({autoScroll:!0,dots:!1});(g=t(".hotel-listing li")).length&&g.click(function(i){t(this).data("src")&&(i.preventDefault(),n.GotoPage(t(this).data("src")))});EQTR.detectDevice.isDesktop()&&(h=t(".focus",u)).length&&h[0].scrollHeight>h.outerHeight()&&(h.focus(),t("body").click(function(){document.activeElement&&document.activeElement.tagName=="BODY"&&h.focus()}));EQTR.restaurantBooking.init(u);EQTR.roomBooking.init();EQTR.formPages.init();EQTR.packages.init(u);EQTR.newsletter.init();EQTR.travel.init();EQTR.grid.init();EQTR.blog.init();EQTR.filter.init();t(".hotel-subnav:not(.ignore-js)",u).tabify({speed:300});t(".content-expander:not(.ignore-js)",u).contentexpander({speed:600});t(".responsive-background-image",u).responsiveBackgroundImage();t(".content-heading",u).fitword();t(".print-button",u).click(function(n){n.preventDefault();window.print()});location.href.match(/families/i)&&t(".ltr .families").addClass("coloured-headings").find(".content-heading,h3").colouredLetters();EQTR.restaurantPageLayout.init(u);it?!(o&&o.length)&&EQTR.detectDevice.isDesktop()&&e&&e.length&&e.getNiceScroll().resize().show():(n.ShowPageContent(),setTimeout(function(){EQTR.detectDevice.isDesktop()&&e&&e.length&&e.filter(":cssVisible").getNiceScroll().resize().show();e&&EQTR.css.addRule(".nicescroll-rails","background: rgba(200,200,200,0.6);")},300));b=t(".scrollable-indicator");b.length&&b.each(function(n,i){EQTR.scrollIndicator.showScrollIndicator(t(i),"top right","Scroll for more ")});n.takeover.checkTakeoverStatus(u);t(".js-show-hide-trigger").on("click",function(n){n.preventDefault();var r=t(this).toggleClass("show-hide-open"),i=t(this).closest(".js-show-hide-container"),u=i.find(".js-show-hide-content").slideToggle()});t(window).smartresize(function(){window.EQTR.helpers.getScreenView().match(/small/g)||t(".best-rate-content.js-show-hide-content").removeAttr("style")});n.accountSection();n.forms()},n.ResizeQueue=[],n.AddToResizeQueue=function(t,i){return isNaN(i)?n.ResizeQueue.push(t):n.ResizeQueue.splice(i,0,t),t},n.RemoveFromResizeQueue=function(t){typeof t=="function"&&(t=n.ResizeQueue.indexOf(t));n.ResizeQueue.splice(t,1)},n.ExecResizeQueue=function(i){t.each(n.ResizeQueue,function(n,t){if(i&&t.ignoreResizeOnInit)return!0;t()})},n.accountSection=function(){if(t(".account-toggle").togglePanel({panel:t(".account-nav__sub-menu"),linkOpenClass:"open"}),t(".rf-account-page").length==0)return!1;t(".accountFilters .dateselector").datepicker({dateFormat:"dd/mm/yy",onSelect:function(){var n=t(".input#fromDate").datepicker("getDate","+1d");n.setDate(n.getDate()+1);t(".input#toDate").datepicker("option","minDate",n);t(this).change()},beforeShow:function(n,i){var u,r;t(window).width()>520?(r=i.dpDiv,u=t(this).offset().left+t(this).width()/2-r.width()/2-40,setTimeout(function(){r.css({left:u})},10)):(r=i.dpDiv,setTimeout(function(){r.css({left:"50%",top:"50%","margin-left":-r.width()/2+"px","margin-top":-r.height()/2+"px"})},10))}})},n.forms=function(){var n=t(".js-mobile-scrolling-form");if(!n.length)return!1;n.find("input").on("focus",function(){if(!window.EQTR.helpers.getScreenView().match(/small/g)||!window.EQTR.helpers.isTouchDevice())return!1;console.log(t(this).offset().top);var n=t(".page-content").scrollTop(),i=t(this).offset().top,r=t(".page-header").innerHeight(),u=n+i-r*2;t(".page-content").stop().animate({scrollTop:u},800,function(){t(".page-content").clearQueue()})})},t(window).smartresize(function(){n.ExecResizeQueue(!1)}),t(function(){for(var i in o)o[i]();n.InitPageContent();n.AddToResizeQueue(t.backgroundCoverTrigger);n.ResizeQueue.length&&setTimeout(function(){n.ExecResizeQueue(!0)},1)}),n}(window.EQTR||{},window.jQuery),function(){if("onbeforeprint"in window)window.onbeforeprint=function(){$(window).trigger("print")};else if(window.matchMedia){var t=window.matchMedia("print"),n=!1;t.addListener(function(t){t.matches&&!n&&(n=!0,$(window).trigger("print"),setTimeout(function(){n=!1},500))})}}(jQuery);jQuery.fn.reverse=[].reverse;window.EQTR=function(n,t){"use strict";function nt(n,i,f){function p(){l.remove();r.removeClass("switching-nav");n!=o?h.slideDown():h.slideUp();a.removeAttr("style");c=n}var s=u[n],a=r.find(".sub-nav-container"),l=t("ul",a),e,y;typeof s.html=="string"&&(s.html=t(s.html));r.animate({scrollTop:0});e=s.html.find("ul").clone();r.addClass("switching-nav");f&&(typeof f=="boolean"||n==f?e.find(".parent").addClass("selected"):e.find("a[data-nodeid='"+f+"']").parent().addClass("selected"));var v={},w={},b=EQTR.language.isRTL?"marginRight":"marginLeft";v[b]="-100%";w[b]=0;i?(e.css(v),l.before(e),e.animate(w,400,p)):(l.after(e),l.animate(v,400,p));y=e.height();a.animate({height:y},400,function(){t(this).removeAttr("style")})}function b(i,r,u,f){t.when(n.navigation.getMenu(i)).then(function(){nt(i,u,f)}).fail(function(){r&&(location.href=r)})}var u={},r,y,f,l,o,s,h,a,p={},w={},d="/Navigation/SubNav/?nodeId={0}&langiso={1}&lang={1}",g=EQTR.language.code,c,v,e,i,tt=function(){function ot(n,t){if(!n.length)return!1;var i=n,r=i.data("menunodeid"),u=i.data("pagehref"),f=/main-menu|back/i.test(i.parent()[0].className);return b(r,u,f,t),!0}function w(n,t){ut=setTimeout(function(){var t=n?p[0].scrollHeight:0;p.stop().animate({height:t},"slow");n||d.find(".open").removeClass("open")},t||n?0:1e3)}function vt(){clearTimeout(ut);var n=t(this).data("nodeid"),i=p.data("current");i!=n?(p.empty().stop().animate({height:30},"slow"),t(this).addClass("open"),t.when(EQTR.navigation.getMenu(n)).then(function(n){p.html(n.html.html().replace(/>\s*</g,"><"));w(!0)})):w(!0)}function ft(n){var r,u=t("ul",i);return i.toggleClass("open",n).hasClass("open")?(r=u[0].scrollHeight,nt=!0):(r=i.height(),nt=!1),u.stop().animate({height:r},"slow")}var tt,et,it,st,k,rt,p,ut,yt,g,nt;if(f=t("#main-nav-toggle"),r=t(".site-nav.main"),h=t(".main-menu",r),a=t(".footer-nav"),y=t(".header-nav",r),tt=t(".sub-nav-container",r),l=tt.eq(0),s=tt.eq(1),f.togglePanel({panel:r,linkOpenClass:"menu-open",panelCloseClass:"site-nav-hide"}),EQTR.ajax.useAjaxLoading){y.on("click","a:not([data-menunodeid])",function(){var n=t(this);v=!0;ot(n.parent().find(".toggle-child"),!0)||(n.closest("ul").find(".selected").removeClass("selected"),n.parent().addClass("selected"));EQTR.detectDevice.isHandHeld()&&f.togglePanel("toggle",!1)});if(EQTR.detectDevice.isHandHeld())a.on("click","a",function(){f.togglePanel("toggle",!1)})}o=h.find("a").data("menunodeid");u[o]={html:l.clone()};et=s.find(".sub-nav");c=et.data("menunodeid");c!=o&&(u[c]={html:s.clone()});s.length?(h.show(),it=s.find(".back:has(a[data-menunodeid='"+o+"'])"),it.length&&it.remove(),u[s.data("menunodeid")]={html:s.clone()},l.remove()):h.hide();r.on("click","a[data-menunodeid]",function(n){n.preventDefault();ot(t(this))});e=t(".page-header").addClass("top-nav-offscreen");st=t('<li style="width: 100px;"><\/li>').clone().addClass("account-nav--space");k=l.find("li").clone().toArray().slice(1);k.push(st[0]);k=t([]).pushStack(k);var d=k.find("a[data-submenu]").append('<span class="icon icon-angle-down"><\/span>').end(),ht=Math.ceil(d.length/2),ct=d.slice(0,ht),lt=d.slice(ht),at=t(".logo",e);d.slice(0,-1).addClass("top-nav-item");t('<ul class="horiz-main-nav" />').append(ct," &zwnj;").insertBefore(at);t('<ul class="horiz-main-nav" />').prepend("&zwnj; ",lt).insertAfter(at);ct.after(" ");lt.before(" ");setTimeout(function(){e.removeClass("top-nav-offscreen")},200);rt=f.clone().removeAttr("id").addClass("horiz-nav-toggle").insertAfter(f);EQTR.css.changeRule(".is-desktop-device .horiz-nav-toggle",{width:rt.width()+"px"});rt.click(function(n){n.preventDefault();e.toggleClass("hide-top-nav-items menu-toggle-min")});p=t(".horiz-hover-nav").on("click","a",function(){w(!1,!0)});e.hoverIntent(vt,function(){},".horiz-main-nav a[data-submenu]").on("mouseleave",".horiz-main-nav a[data-submenu]",function(){w(!1)}).on("click",".horiz-main-nav .icon",function(n){n.preventDefault();var i=t(this).parent();i.hasClass("open")?w(!1,!0):vt.apply(i[0])});p.on("mouseenter",function(){clearTimeout(ut)}).on("mouseleave",function(){w(!1)});i=t(".horiz-sub-nav");n.navigation.setSubNav(t(".page-content"));n.navigation.resizeHotelNav.ignoreResizeOnInit=!0;EQTR.AddToResizeQueue(n.navigation.resizeHotelNav);g=!1;nt=!1;i.on("click",".more-subnav",function(){g||ft()}).hoverIntent(function(){g=!0;setTimeout(function(){g=!1},400);ft(!0)},function(){},".more-subnav").on("mouseenter",function(){clearTimeout(yt)}).on("mouseleave",function(){nt&&(yt=setTimeout(function(){ft(!1)},500))});var pt=t('<a class="footer-menu-toggle" href="#">'+jsTranslations.FooterMenuToggle+' <span class="icon icon-angle-down"><\/span><\/a>').prependTo(".footer-extra-links"),wt=a.clone(),bt=t('<div class="site-nav footer-sub-menu"/>').append(wt).appendTo(".page-main");pt.togglePanel({panel:bt,linkOpenClass:"open"})},k;return n.navigation={setMenu:function(t,i,r){v||t==c||(i=i||t,b(t,location.href,!1,i));v=!1;n.navigation.setSubNav(r,i)},getMenu:function(n){n=n||o;var r=d.format(n,g),i=w[n]||(w[n]=new t.Deferred);if(u[n])i.resolve(u[n]);else{if(p[n])return i.promise();p[n]=t.ajax({url:r,success:function(r){r=t(r);var f=r.find(".back:has(a[data-menunodeid='"+o+"'])");f.length&&f.remove();u[n]={html:r};i.resolve(u[n])},error:function(){i.reject()}})}return i.promise()},setSubNav:function(r){var u=r.data("subnavnodeid"),f=r.data("ancesternodeids");u?(i.data("subnavnodeid")!=u?(i.removeClass("hidden").data("subnavnodeid",u),t.when(n.navigation.getMenu(u)).then(function(r){var e=r.html.find("li:not(.back)").clone(),u,o;e.find(".sub-info").each(function(){var n=t(this).parent();t(this).remove();n.text(function(n,t){return jsTranslations.HotelHomeNav.format(t)})});u=t("<ul/>").append(e).css({marginTop:-39});o=t("ul",i);i.css("overflow","hidden").prepend(u);u.animate({marginTop:0},1e3,function(){o.remove();i.css("overflow","visible")});n.navigation.resizeHotelNav(u);n.navigation.setItemSelected(f)})):n.navigation.setItemSelected(f),e.hasClass("menu-toggle-min")||e.addClass("hide-top-nav-items")):(i.removeData("subnavnodeid").addClass("hidden").empty(),e.removeClass("hide-top-nav-items menu-toggle-min"),n.navigation.setItemSelected(f))},resizeHotelNav:function(n){var r,u,f;n=n||t("ul",i);r=t(".more-subnav",n).detach();i.data("subnavnodeid")?(t("li",n).reverse().each(function(n){var i=t(this).position().top;return i==0&&n==0?!1:(u==undefined&&(u=i),i==0?(f=t(this),u=i,!1):void 0)}),f&&(r.length||(r=t('<li class="more-subnav"><a href="#">'+jsTranslations.SubMenuMore+'<span class="icon icon-angle-down"><\/span><\/a><\/li>')),f.before(r),EQTR.ForcePageLayout(),f.position().top==u?f.after(r):r.position().top!=u&&r.prev().before(r))):r.hide()},setItemSelected:function(n){var i,u,r;n&&(i=[],u=t(".horiz-sub-nav,.horiz-main-nav,.site-nav,.account-nav-container,.account-nav,.account-nav__sub-menu").find(".selected").removeClass("selected").end(),t.each(n.toString().split(","),function(n,r){i=i.concat(t("[data-nodeid='"+r+"']",u).toArray())}),i.length&&(r=t([]),t.each(i,function(){var n=t(this),i=n.closest(".horiz-sub-nav,.horiz-main-nav,.site-nav");i.data("navset")||(r=r.add(i.data("navset",!0)),n.closest("li").addClass("selected"))}),r.removeData("navset")))},toggle:function(n,i){f.togglePanel("toggle",n);t.isFunction(i)&&i(n)},open:function(t,i){function r(){n.navigation.toggle(!0,i)}t&&!isNaN(t)?setTimeout(r,t):r()},close:function(t,i){function r(){n.navigation.toggle(!1,i)}t&&!isNaN(t)?f.togglePanel("setTimer",setTimeout(r,t)):r()}},k=function(){t("body").on("click",".ppcnav li a",function(n){n.preventDefault();var i=t(this).attr("href").split("#"),r=i[1],u=t(".page-content").scrollTop()+t('a[name="'+r+'"]').position().top;t(".page-content").animate({scrollTop:u},800)})},tt(),k(),n}(window.EQTR||{},window.jQuery),function(n){var t="panelScroller",i={init:function(r){return this.length?this.each(function(){var u=n(this),f=u.data(t);r=n.extend(!0,{},n.fn[t].defaults,r);f||(f={isScrolling:!1,currentCenter:0,dualScroll:r.dualScroll,autoScroll:r.autoScroll,timer:r.scrollTimer},u.addClass("panel-scroller-wrapper").each(function(){function ut(n,i){if(e.isScrolling||s[0].style.height=="auto"||n.type=="keyup"&&!n.which.toString().match(/37|38|39|40/)||n.type.match(/mouse/)&&e.xScroll)return!0;n.preventDefault();i>0||n.which==38||n.which==37?s[t](this.className.match(/primary/)?"prev":"next"):s[t](this.className.match(/primary/)?"next":"prev");u[t]("stopAutoScroll",!0)}var d="scroller-"+EQTR.helpers.generateUuid(),s=n(this).attr("id",d),o=s.find(".primary-panel").addClass("panel-scroller"),p=n('<ul class="panel-scroller secondary-panel" />'),h,w=n([]),rt=s.data("scrolloptions")||{},e=n.extend({},f,rt),g=!1,nt,l,b,tt,it,k,c,a,v,y;if(h=r.panel?n(r.panel,o):o.children(),u.data("randomisegallery")&&(h=h.shuffle()),nt=n('<li class="panel" draggable="false" />'),h.length==2&&(h=h.add(h.clone())),h.each(function(t){var i=n(this).attr({"data-index":t,draggable:!1}).addClass("panel"),r,u;e.dualScroll&&(u=i.children().eq(1),u.length?r=nt.clone().attr("data-index",t).append(u):(t==0&&i.addClass("fade-in-content"),r=i.addClass("panel-fullwidth").clone(),n(".button,.explore-link",i).each(function(){var i=n(this).attr("id","panel_button_"+t+"_p"),u=n(".button,.explore-link",r).attr("id","panel_button_"+t+"_s");i.attr("data-companion","#"+u.attr("id"));u.attr("data-companion","#"+i.attr("id"));g=!0})),w=w.add(r))}),g)u.on("mouseenter",".button,.explore-link",function(){n(n(this).data("companion")).addClass("hover")}).on("mouseleave",".button,.explore-link",function(){n(n(this).data("companion")).removeClass("hover")});u.on("mouseenter",".content-slider",function(){u[t]("stopAutoScroll")}).on("mouseleave",".content-slider",function(){e.autoScroll&&u[t]("startAutoScroll")});if(!(h.length<2)){e.length=h.length;e.panels=h;o.empty();e.dualScroll&&(o.after(p),e.secondaryPanels=w);e.itemsInScroller=o.children().length;s.data(t,e);k=u.closest(".page-content");jQuery.event.special.drag.defaults.distance=2;o.add(p).attr("tabindex",0).on("mousewheel keyup",ut).on("draginit",function(){e.isScrolling||(l=o[e.xScroll?"scrollLeft":"scrollTop"](),b=o.is(this),tt=(new Date).valueOf(),it=k.scrollTop())}).on("dragstart",function(){e.panelDragged=!0;u.addClass("no-transition");e.panels.removeClass("scroll-up-in scroll-down-in scroll-up-out scroll-down-out");e.secondaryPanels&&e.secondaryPanels.removeClass("scroll-up-in scroll-down-in scroll-up-out scroll-down-out");EQTR.ForcePageLayout();u.removeClass("no-transition");u[t]("stopAutoScroll",!0)}).on("drag",function(n,t){e.isScrolling||(e.xScroll?Math.abs(t.deltaY/t.deltaX)<.8?o.scrollLeft(l+(b?-1:1)*t.deltaX):k.scrollTop(it-t.deltaY):o.scrollTop(l+(b?-1:1)*t.deltaY))}).on("dragend",function(){var n=o[e.xScroll?"scrollLeft":"scrollTop"]()-l,i,r;!e.isScrolling&&n&&(i=(new Date).valueOf()-tt,r=Math.abs(n)/i,e.easing="easeOutExpo",r>.1?s[t](n>0?"next":"prev"):s[t]("snapToPanel",1),e.easing=null)});o.scroll(function(){var t=e.xScroll?"scrollLeft":"scrollTop",i=n(this)[t](),r=e.initialScroll-i;p[t](e.initialScroll+r)});r.focus&&o.focus();e.xScroll=o.css("white-space")=="nowrap";s[t]("placePanels");c=n('<a href="#" id="gallery-nav-left" class="scroll-nav left">&#x2190;<\/a><a id="gallery-nav-down" href="#" class="scroll-nav down">&#x2193;<\/a><a id="gallery-nav-right" href="#" class="scroll-nav right">&#x2192;<\/a>').hide().appendTo(s);s.on("click",".scroll-nav",function(n){n.preventDefault();s[t](this.className.match(/right|down/)?"next":"prev");u[t]("stopAutoScroll",!0)});if(e.xScroll?c.filter(".right,.left").show():c.filter(".down,.up").show(),e.resize=EQTR.AddToResizeQueue(function(){EQTR.css.changeRule("#"+d+".horizontal .panel-scroller .panel",{width:o.width()+"px"});n.fx.off=!0;s[t]("setScrollCenter");n.fx.off=!1;e.xScroll=o.css("white-space")=="nowrap";c.hide();e.xScroll?c.filter(".right,.left").show():c.filter(".down,.up").show()}),r.dots||u.data("dots")){for(a=[],y=0;y<e.length;y++)a.push('<li><a class="dot" href="#" data-index="'+y+'"><\/a><\/li>');a.push('<li class="overlay"><span class="dot"><\/span><\/li>');v=n('<div class="panel-scroll__dots"><ul>'+a.join("")+"<\/ul><\/div>");e.dotsContainer=v;u.append(v);v.on("click","a",function(i){i.preventDefault();u[t]("stopAutoScroll");u[t]("scrollTo",n(this).data("index"))})}if(EQTR.detectDevice.isDesktop())u.on("click",function(){return o.focus(),e.panelDragged?(e.panelDragged=!1,!1):void 0});u.on("destroyed",i.cleanup);e.autoScroll&&u[t]("startAutoScroll")}}))}):this},scrollAxis:function(i){var r=n(this),u=r.data(t);return i&&i.match(/^x|y$/i)?(i.match(/x/i)?(r.addClass("horizontal"),u.xScroll=!0):(r.removeClass("horizontal"),u.xScroll=!1),r[t]("setScrollCenter"),r):u.xScroll?"x":"y"},placePanels:function(){return this.each(function(){var h=n(this),e=h.data(t),o=n(".primary-panel",h),s=n(".secondary-panel",h),i=e.panels,r=e.secondaryPanels,l=e.currentCenter,u=h[t]("getPrevious"),f=h[t]("getNext");if(o.children().length){var a=o.find(".panel:first"),c=o.find(".panel:last"),v=s.find(".panel:first"),y=s.find(".panel:last");c.data("index")==l?(c.addClass("fixed-placement"),a.detach(),e.forcePanelUpdate&&(c.siblings().detach(),o.prepend(i.eq(u)),i.eq(u).find(".responsive-background-image").responsiveBackgroundImage(),i.eq(u).find(".content-heading").fitword()),o.append(i.eq(f)),i.eq(f).find(".responsive-background-image").responsiveBackgroundImage(),i.eq(f).find(".content-heading").fitword(),e.dualScroll&&(v.addClass("fixed-placement"),y.detach(),e.forcePanelUpdate&&(v.siblings().detach(),s.append(r.eq(u)),r.eq(u).find(".responsive-background-image").responsiveBackgroundImage(),r.eq(u).find(".content-heading").fitword()),s.prepend(r.eq(f)),r.eq(f).find(".responsive-background-image").responsiveBackgroundImage(),r.eq(f).find(".content-heading").fitword())):(a.addClass("fixed-placement"),c.detach(),e.forcePanelUpdate&&(a.siblings().detach(),o.append(i.eq(f)),i.eq(f).find(".responsive-background-image").responsiveBackgroundImage(),i.eq(f).find(".content-heading").fitword()),o.prepend(i.eq(u)),i.eq(u).find(".responsive-background-image").responsiveBackgroundImage(),i.eq(u).find(".content-heading").fitword(),e.dualScroll&&(y.addClass("fixed-placement"),v.detach(),e.forcePanelUpdate&&(y.siblings().detach(),s.prepend(r.eq(f)),r.eq(f).find(".responsive-background-image").responsiveBackgroundImage(),r.eq(f).find(".content-heading").fitword()),s.append(r.eq(u)),r.eq(u).find(".responsive-background-image").responsiveBackgroundImage(),r.eq(u).find(".content-heading").fitword()));e.forcePanelUpdate=!1}else o.append(i.eq(u),i.eq(l),i.eq(f)),e.dualScroll&&s.append(r.eq(f),r.eq(l),r.eq(u));h[t]("setScrollCenter");n(".fixed-placement").removeClass("fixed-placement");e.xScroll||(h.addClass("no-transition"),o.children().eq(2).addClass("scroll-up-in"),o.children().eq(0).addClass("scroll-down-in"),e.dualScroll&&(s.children().eq(2).addClass("scroll-up-in"),s.children().eq(0).addClass("scroll-down-in")),EQTR.ForcePageLayout(),h.removeClass("no-transition"))})},setScrollCenter:function(){return this.each(function(){var u=n(this),f=u.data(t),r=n(".primary-panel",u),e=n(".secondary-panel",u),o=f.xScroll,i=r[o?"width":"height"]();f.initialScroll=i;f.isScrolling=!1;o?(r.scrollLeft(i),e.scrollLeft(i)):(r.scrollTop(i),e.scrollTop(i));r.add(e).attr("data-scrolltop",i)})},snapToPanel:function(i){return this.each(function(){var u=n(this),r=u.data(t),f=n(".primary-panel",u),o=n(".secondary-panel",u),s=r.xScroll,h=s?"scrollLeft":"scrollTop",c=f[s?"width":"height"](),e;(i=i==undefined?1:i,r.isScrolling)||(i!=1&&(f.children().removeClass("scroll-up-in scroll-down-in scroll-up-out scroll-down-out fade-in-content fade-out-content").eq(1).addClass(i?"scroll-down-out":"scroll-up-out").removeClass("fade-in-content").addClass("fade-out-content"),o.children().removeClass("scroll-up-in scroll-down-in scroll-up-out scroll-down-out fade-in-content fade-out-content").eq(1).addClass(i?"scroll-up-out":"scroll-down-out").removeClass("fade-in-content").addClass("fade-out-content")),r.isScrolling=!0,e={},e[h]=i*c,r.currentCenter=f.find(".panel:eq("+i+")").data("index"),r.dotsContainer&&u[t]("setDots"),f.animate(e,1300,r.easing||"easeInOutCubic",function(){if(r.isScrolling=!1,i!=1){u[t]("placePanels");var n=f.children().eq(1);n.hasClass("panel-fullwidth")&&(n.addClass("fade-in-content"),o.children().eq(1).addClass("fade-in-content"))}}))})},scrollTo:function(i){return this.each(function(){var r=n(this),u=r.data(t),o=n(".primary-panel",r),s=n(".secondary-panel",r),f=u.panels,e=u.secondaryPanels,h=u.currentCenter,a=r[t]("getPrevious"),v=r[t]("getNext");if(h!=i)if(i==a)r[t]("prev");else if(i==v)r[t]("next");else{var y=o.find(".panel:first"),p=o.find(".panel:last"),w=s.find(".panel:first"),b=s.find(".panel:last"),c=o.children().eq(1),l=s.children().eq(1);u.forcePanelUpdate=!0;h>i?(c.addClass("fixed-placement"),o.prepend(f.eq(i)),y.detach(),c.removeClass("fixed-placement"),f.eq(i).find(".cover-image").backgroundCover(),f.eq(i).find(".content-heading").fitword(),u.dualScroll&&(b.detach(),s.append(e.eq(i)),e.eq(i).find(".cover-image").backgroundCover(),e.eq(i).find(".content-heading").fitword()),r[t]("prev")):(p.detach(),o.append(f.eq(i)),f.eq(i).find(".cover-image").backgroundCover(),f.eq(i).find(".content-heading").fitword(),u.dualScroll&&(l.addClass("fixed-placement"),w.detach(),s.prepend(e.eq(i)),l.removeClass("fixed-placement"),e.eq(i).find(".cover-image").backgroundCover(),e.eq(i).find(".content-heading").fitword()),r[t]("next"))}})},setDots:function(){var i=n(this),r=i.data(t),f=i[t]("getCurrent"),u=r.dotsContainer,e=u.find("li").eq(f),o=e.position(),s=u.find(".overlay");s.animate({left:o.left},1300,r.easing||"easeInOutCubic")},next:function(){var i=n(this);return i[t]("snapToPanel",2)},prev:function(){var i=n(this);return i[t]("snapToPanel",0)},getCurrent:function(){var r=n(this),i=r.data(t);return(i.currentCenter+i.length)%i.length},getNext:function(i){var u=n(this),r=u.data(t);return(i||r.currentCenter+r.length+1)%r.length},getPrevious:function(i){var u=n(this),r=u.data(t);return(i||r.currentCenter+r.length-1)%r.length},stopAutoScroll:function(i){return this.each(function(){var r=n(this).data(t);clearTimeout(r.timerId);r.timerId=null;i&&(r.autoScroll=!1)})},startAutoScroll:function(){return this.each(function(){function r(){requestAnimationFrame(function(){u[t]("next");i.timerId=setTimeout(r,i.timer)})}var u=n(this),i=n(this).data(t);i.timerId=setTimeout(r,i.timer)})},cleanup:function(){return n(this).each(function(){var i=n(this),r=i.data(t);EQTR.RemoveFromResizeQueue(r.resize);i[t]("stopAutoScroll")})}};n.fn[t]=function(r){if(i[r]){var u=this.filter(function(){return n(this).data(t)});return i[r].apply(u,Array.prototype.slice.call(arguments,1))}if(typeof r!="object"&&r)n.error("Method "+r+" does not exist on jQuery."+t);else return i.init.apply(this,arguments)};n.fn[t].defaults={dualScroll:!1,autoScroll:!0,scrollTimer:6e3,dots:!0}}(jQuery);window.EQTR.bookingBar=function(n,t,i){var u=n,r,f;return u.init=function(n){var f,e;if(u.setCitySplit(),t(".booking-panel").length>0){if(r){window.EQTR.bookingBar.changeBookingBar(n.data("bookingbarmode"));var i=n.data("bookingbarhotel"),o=n.data("bookingbarrestaurant"),s=n.data("bookingbardisabled")=="False";(i||i=="")&&u.setHotel(i);u.setRestaurant(o);u.setVisible(s);t(".best-rate_inner").hide()}else{r=t(".booking-panel");EQTR.detectDevice.isDesktop()&&EQTR.bookingBar.initInfoPanel();t("select.input",r).length>0&&(t("input#Form_Date",r).prop("disabled",!0),t("select.input:not(.no-label)",r).selectify({hasCloseButton:!0}),t("select.input.no-label",r).selectify({firstOptionVisibleInDropDown:!1,hasCloseButton:!0}));t(".input.dateselector",r).length&&t(".input#Form_Room_Arrive_Date").datepicker({minDate:0,dateFormat:"dd/mm/yy",onSelect:function(){var n=t(".input#Form_Room_Arrive_Date").datepicker("getDate","+1d");n.setDate(n.getDate()+1);t(".input#Form_Room_Depart_Date").datepicker("option","minDate",n);t(this).change()},beforeShow:function(n,i){var u,r;t(window).width()>520?(r=i.dpDiv,u=t(this).offset().left+t(this).width()/2-r.width()/2-40,setTimeout(function(){r.css({left:u})},10)):(r=i.dpDiv,setTimeout(function(){r.css({left:"50%",top:"50%","margin-left":-r.width()/2+"px","margin-top":-r.height()/2+"px"})},10))}});t(".book-a-table-options input#Form_Date",r).length&&t(".book-a-table-options input#Form_Date",r).datepicker({minDate:0,dateFormat:"dd/mm/yy",beforeShow:function(n,i){var u,r;t(window).width()>520?(r=i.dpDiv,u=t(this).offset().left+t(this).width()/2-r.width()/2-40,setTimeout(function(){r.css({left:u})},10)):(r=i.dpDiv,setTimeout(function(){r.css({left:"50%",top:"50%","margin-left":-r.width()/2+"px","margin-top":-r.height()/2+"px"})},10))}});t("select#Form_MealType",r).selectify("disable");t("select#Form_NumberOfCovers",r).selectify("disable");t("select#chooser").on("change",function(){t(".select-group",r).hide().removeClass("active").filter("."+t(this).val()+"-group").show().addClass("active")});t("select#TableBookingComponent_RestaurantId",r).change(function(){var i=t("html")[0].lang,u=t(this),n=t(this).val();n.match(/http/)?(t(".book-a-table-options").addClass("restaurant-direct-link"),t(".table-booking-link a").attr("href",n)):(t(".book-a-table-options").removeClass("restaurant-direct-link"),t.get("/api/restaurant/getrestaurantconfiguration/?lang="+i+"&restaurantReference="+n,function(n){setTimeout(function(){window.EQTR.restaurantBooking.updateTimeDropDown(n.MealTypes,t("select#Form_MealType",r),t("select#Form_MealType",r).attr("data-translation"));window.EQTR.restaurantBooking.updatePeopleDropDown(n.MaxCovers,t("select#Form_NumberOfCovers",r),t("select#Form_NumberOfCovers",r).attr("data-translationsingular"),t("select#Form_NumberOfCovers",r).attr("data-translationplural"));t("select#Form_MealType",r).change().selectify("enable");t("select#Form_NumberOfCovers",r).change().selectify("enable");t("input#Form_Date",r).prop("disabled",!1);t(".js-restaurantenquiry").attr("href",function(){return t(this).data("href")+n.HotelDataWarehouseReference+"/"});u.trigger("apicomplete")},0)}))});t(".js-table-link").click(function(n){n.preventDefault();var i=t('<div class="modal-cover"><\/div>').appendTo("body"),r=t('<div class="restaurant-booking-iframe"><iframe src="'+this.href+'" style="width:250px; height:350px;" scrolling="no" frameborder="0" allowtransparency="true"><\/iframe><a class="popup-close" href="#">x<\/a><\/div>').appendTo("body");i.add(r.find("a")).click(function(){i.add(r).remove()})});t("select#TableBookingComponent_RestaurantId",r).val()!=""&&t("select#TableBookingComponent_RestaurantId",r).change().selectify("disable");this.bookingBarTabs();this.table();this.room();this.gifts();f=r.data("bookingbarmode");window.EQTR.bookingBar.changeBookingBar(f);r.animate({opacity:1},300);t(document).on("click",function(){t("select").each(function(){t(this).data("isSelectified")&&t(this).selectify("closeMenu")})});if(t(".best-rate").length>0&&!t(".booking-panel").hasClass("small-screen")){t(".best-rate_title").on("click",function(){t(".best-rate_inner").toggle()});t(".best-rate").mouseenter(function(){clearTimeout(e);t(".best-rate_inner").show()}).mouseleave(function(){e=setTimeout(function(){t(".best-rate_inner").hide()},1500)});t(".best-rate a").on("click",function(){t(".best-rate_inner").is(":visible")&&t(".best-rate_inner").hide()})}}t(window).width()<521&&t(".booking-panel").addClass("small-screen");t(window).smartresize(function(){t(window).width()<521?t(".booking-panel").addClass("small-screen"):t(".booking-panel").removeClass("small-screen")})}},u.setCitySplit=function(){t("select.comma").on("onLoad.selectify",function(){t(this).data().selectMenuContainer.find(".selectify-selectmenu li").each(function(){var n=t(this);n.html(function(n,i){if(i.indexOf(",")!=-1){var r=i.split(",");return i=="All Hotels"?i:'<span class="location-name">'+t.trim(r.slice(0,-1).join())+'<\/span><span class="city-name">'+t.trim(r.slice(-1).toString())+"<\/span>"}})})}).removeClass("comma")},u.initInfoPanel=function(){var e=t('<div class="booking-bar-hotel-info-panel-container"><div class="booking-bar-hotel-info-panel-inner hotel-summary"><p id="summaryLogo"><\/p><p class="hotel-name"><\/p><div class="rich-content"><p class="summary"><\/p><\/div><a class="explore-link" href="">Explore<\/a><\/div><\/div>'),i,u,f,n;for(e.appendTo("body").hide(),u=r.data("hotelsummary"),f={},n=0;n<u.length;n++)f[u[n].NodeId]=u[n];t("#RoomBookingComponent_HotelId").on("mouseenter.selectify",function(n,r,u){var e=t(r);clearTimeout(i);EQTR.bookingBar.showInfoPanel(e,f[u])}).on("mouseleave.selectify",function(){i=setTimeout(function(){EQTR.bookingBar.hideInfoPanel(300)},500)}).on("closemenu.selectify",function(){EQTR.bookingBar.hideInfoPanel()});t(document).on("mouseleave",".booking-bar-hotel-info-panel-container",function(){i=setTimeout(function(){EQTR.bookingBar.hideInfoPanel(300)},500)}).on("mouseenter",".booking-bar-hotel-info-panel-container",function(){clearTimeout(i)})},u.showInfoPanel=function(n,i){var r=t(".booking-bar-hotel-info-panel-container"),f=n.closest(".selectify-selectmenu"),u={};t(".hotel-name",r).html(i.HotelName);t(".summary",r).html(i.HotelSummary);t("a",r).attr("href",i.LocalisedNiceUrl);t("#summaryLogo",r)[0].className="hotel-logo icon-"+i.LogoClass;r.is(":visible")||(r.css({visibility:"hidden",display:"block",width:380}),u.display="none",u.visibility="visible");var h=r.height(),e=f.offset().top,o=n.offset().top,c=e+f.height(),s=o;o<e?s=e:o+h>c&&(s=c-h);u.top=s;u.left=f.offset().left+f.width()-35;r.css(u).fadeIn()},u.hideInfoPanel=function(n){isNaN(n)?t(".booking-bar-hotel-info-panel-container").hide():t(".booking-bar-hotel-info-panel-container").fadeOut(n)},u.changeBookingBar=function(n){t("select.input#chooser").val(n).change()},u.setVisible=function(n){t(".booking-panel").toggleClass("booking-panel-disabled",!n);EQTR.SetPageFrameSize()},u.setHotel=function(n){t("#RoomBookingComponent_HotelId").val(n).change()},u.setRestaurant=function(n){n?t("#TableBookingComponent_RestaurantId").val(n).change().selectify("disable"):t("#TableBookingComponent_RestaurantId").selectify("enable")},u.bookingBarTabs=function(){t(".booking-panel-tabs .tab-1").togglePanel({panel:".booking-panel",panelOpenClass:"menu-open",linkOpenClass:"active"});var n=t(".booking-panel-tabs .tab-2").togglePanel({panel:".site-nav.concierge",panelCloseClass:"site-nav-hide",linkOpenClass:"active"});t(".site-nav.concierge a").click(function(){n.togglePanel("toggle",!1)})},u.table=function(){var n=t(".book-a-table-options #TableBookingComponent_RestaurantId"),i=t(".book-a-table-options #Form_MealType"),r=t(".book-a-table-options #Form_Date"),u=t(".book-a-table-options #Form_NumberOfCovers");t("select#chooser").on("selected.selectify",function(t,i){i=="table"&&setTimeout(function(){n.selectify("openMenu")},1)});n.on("selected.selectify",function(){t(this).one("apicomplete",function(){i.selectify("openMenu")})});i.on("selected.selectify",function(){r.focus().click()});r.change(function(){u.selectify("openMenu")});t("#book-table-submit").on("click",function(f){if(f.preventDefault(),u.val().match(/\+/)){EQTR.bookingBar.showToolTip("covers");return}n.val()&&n.val()!=n.attr("placeholder")?i.val()&&i.val()!=i.attr("placeholder")?r.val()&&r.val()!=r.attr("placeholder")?u.val()&&u.val()!=u.attr("placeholder")?(t("#TableBookingComponent_RestaurantId").attr("name","Form.RestaurantId").attr("id","Form_RestaurantId").removeAttr("disabled"),t(this).closest("form").submit()):u.selectify("openMenu"):r.focus().click():i.selectify("openMenu"):n.selectify("openMenu")})},u.room=function(){var o=t(".booking-panel").data("synxisurl"),n=t(".book-a-room-options #Form_Room_Arrive_Date"),i=t(".book-a-room-options #numberofnights"),r=t(".book-a-room-options #RoomBookingComponent_HotelId"),u=t(".book-a-room-options #numberofrooms"),e=t("html")[0].lang,s=t(".booking-panel").data("trustbookerbfcode");t("select#chooser").on("selected.selectify",function(n,t){t=="room"&&setTimeout(function(){r.selectify("openMenu")},1)});r.on("selected.selectify",function(){n.focus().click()});n.change(function(){i.selectify("openMenu")});i.change(function(){u.selectify("openMenu")});t("#book-room-submit").on("click",function(s){if(s.preventDefault(),u.val().indexOf("+")>=0){EQTR.bookingBar.showToolTip("rooms");return}if(r.val()&&r.val()!=r.attr("placeholder"))if(n.val()&&n.val()!=n.attr("placeholder"))if(i.val()&&i.val()!=i.attr("placeholder"))if(u.val()&&u.val()!=u.attr("placeholder")){moment.locale(e);var h={Language:e,BaseSynxisUrl:o,HotelId:r.val(),SelectedRooms:u.val(),SelectedNights:i.val(),SelectedDateTime:f(n.datepicker("getDate"))};t.post("/book/room/details",h).done(function(n){var i=document.createElement("form");i.method="POST";i.action=EQTR.Analytics.getLinkerUrl(n.url);t.each(n.params,function(n,t){var r=document.createElement("input");r.value=t;r.name=n;i.appendChild(r)});document.body.appendChild(i);i.submit()})}else u.selectify("openMenu");else i.selectify("openMenu");else n.focus().click();else r.selectify("openMenu")})},u.showToolTip=function(n){var i=t("."+n+"-tooltip");i.width(t(".booking-panel").width()).slideDown(400);i.find(".button").on("click",function(){EQTR.bookingBar.hideToolTip()})},u.hideToolTip=function(){var n=t(".booking-tooltip");n.slideUp(300)},f=function(n){return t.datepicker.formatDate("yy-mm-dd",n)},u.gifts=function(){t("select#chooser").on("selected.selectify",function(n,i){i=="voucher"&&setTimeout(function(){t("#GiftVoucherComponent_HotelGiftVoucherUrl").selectify("openMenu")},1)});t('.buy-a-voucher-options input[type="submit"]').on("click",function(n){n.preventDefault();var t=r();return(t!=null||t!=""||t!=i)&&window.open(t,"_blank"),!1});t('.meetings-options input[type="submit"]').on("click",function(t){t.preventDefault();var r=n();return(r!=null||r!=""||r!=i)&&(location.href=r),!1});var n=function(){return t(".meetings-options #MeetingsBookingComponent_VenueId").val()},r=function(){return EQTR.Analytics.getLinkerUrl(t(".buy-a-voucher-options #GiftVoucherComponent_HotelGiftVoucherUrl").val())}},u}(window.EQTR.bookingBar||{},jQuery);window.EQTR.grid=function(n,t){var i=n;return i.init=function(){if(t(".grid-post-group").length){var n=t(".grid-post-group");n.imagesLoaded(function(){console.log("init masonry");setTimeout(function(){n.masonry({itemSelector:".grid-post"})},100)})}},i}(window.EQTR.grid||{},jQuery);window.EQTR.blog=function(n,t){var i=n;return i.init=function(){if(t(".blog-page").length,t(".blog-post-group").length){var n=t(".blog-post-group");n.imagesLoaded(function(){console.log("init masonry");setTimeout(function(){n.masonry({itemSelector:".blog-post"})},100)})}t(".js-locations .blog-categories__trigger").click(function(){var r=t(this),n=r.parents(".js-locations"),i=t(".blog-categories__content",n);console.log("test",n,i);i.slideToggle();n.toggleClass("blog-categories--is-open")});jsSocials.shares.pinterest.media=t('meta[property="og:image"]').attr("content")||"";t(".social-media.social-media--blog").jsSocials({showLabel:!0,showCount:!0,shares:["twitter","facebook","googleplus","pinterest"]})},i.resizePostContainer=function(){var n=2;t(".blog-post-listing").height(function(){var i=0;return t(this).find("> li.image-content-two-panel").each(function(){i+=t(this).height();console.log(i)}),i/n})},i}(window.EQTR.blog||{},jQuery);window.EQTR.restaurantBooking=function(n,t){var r=n,i,u,f,e;return r.init=function(n){function h(){t(".banner-2col .col2 .text").length&&t(window).width()>=768?t(".banner-2col .col2").valign():t(".banner-2col .col2").css({"margin-top":"0px"})}var s,r,o;if(n=n==document?t(".page-content",n):t(n),n.is(".restaurant-booking")){if(i=t(".booking-panel"),t('input[type="checkbox"]',n).checkboxify(),t("#enquireContainer").hide(),u=t("select#Form_NumberOfCovers",n).find("option").remove().end().append('<option value="">'+t("select#Form_NumberOfCovers",i).attr("data-translationsingular")+"<\/option>").change(function(){t("#bookContainer")[this.value.indexOf("+")>=0?"hide":"show"]();t("#enquireContainer")[this.value.indexOf("+")>=0?"show":"hide"]()}),f=t("select#Form_MealType",n).find("option").remove().end().append('<option value="">'+t("select#Form_MealType",i).attr("data-translation")+"<\/option>"),t("select.input",n).length>0&&t("select.input",n).each(function(){var n=t(this);n.selectify({width:"260",maxHeight:"300",firstOptionVisibleInDropDown:!1})}),t(".input#Form_Date",n).length&&t(".input#Form_Date",n).attr("readonly",!0).datepicker({minDate:0,dateFormat:"dd/mm/yy",beforeShow:function(n,i){var r=i.dpDiv,u=t(this).offset().left+t(this).width()/2-r.width()/2-20;setTimeout(function(){r.css({left:u})},10)}}),(s=t(".booking-times",n)).length)s.on("click","label.available",function(){var n=t(this),i=t(s).find("label"),r=i.index(n);i.removeClass("selected");n.addClass("selected")});if((e=t("select#Form_RestaurantId",n)).length>0&&(t.ajaxSetup({cache:!1}),e.change(function(){var r=t("html")[0].lang,e=t(this),n=t(this).val();n?n.match(/http/)?(t(this).closest(".form").addClass("restaurant-direct-link"),t(".restaurant-booking-link a").attr("href",n)):(t.get("/api/restaurant/getrestaurantconfiguration/?lang="+r+"&restaurantReference="+n,function(n){setTimeout(function(){window.EQTR.restaurantBooking.updateTimeDropDown(n.MealTypes,f,t("select#Form_MealType",i).attr("data-translation"));window.EQTR.restaurantBooking.updatePeopleDropDown(n.MaxCovers,u,t("select#Form_NumberOfCovers",i).attr("data-translationsingular"),t("select#Form_NumberOfCovers",i).attr("data-translationplural"));u.change().selectify("enable");f.change().selectify("enable");t(".js-restaurantenquiry").attr("href",function(){return t(this).data("href")+n.HotelDataWarehouseReference+"/"})},0)}),t(this).closest(".form").removeClass("restaurant-direct-link")):(f.selectify("disable"),u.selectify("disable"))}).triggerHandler("change")),t("#canceltable").length){r=t("#canceltable");o=t('<div class="rich-content"><p class="sub-text">'+r.attr("data-popupcontent")+'<\/p><div class="input-container"><input type="button" class="button" id="popup-cancel" name="popup-cancel" value="'+r.attr("data-popupcancel")+'" /><\/div><div class="input-container"><input type="button" class="button" id="popup-confirm" name="popup-confirm" value="'+r.attr("data-popupconfirm")+'" /><\/div><\/div>');t(document).on("click","#canceltable",function(){return window.EQTR.restaurantBooking.popupBox({content:o}),!1});o.find("#popup-cancel").on("click",function(){return t(".eqtr-popup-container").find(".popup-close").click(),!1});o.find("#popup-confirm").on("click",function(){return t("#canceltable").closest("form").submit(),t(".eqtr-popup-container").find(".popup-close").click(),!1})}h();t(window).smartresize(h)}},r.updatePeopleDropDown=function(n,t,i,r){for(var f='<option value="">'+r+"<\/option>",u=1;u<=n;u++)f+='<option value="'+u+'">'+u+" "+(u==1?i:r)+"<\/option>";f+='<option value="'+u+'+">'+u+"+ "+r+"<\/option>";t.html(f).val("").selectify("buildMenu")},r.updateTimeDropDown=function(n,i,r){var u='<option value="">'+r+"<\/option>";t.each(n,function(n,t){u+='<option value="'+n+'">'+t+"<\/option>"});i.html(u).selectify("buildMenu")},r.popupBox=function(n){function o(n){var i=n.outerHeight(),r=n.outerWidth(),e=t(window).height(),o=t(window).width(),u=parseInt(i/2,10),f=parseInt(r/2,10);n.css({"margin-left":-f+"px","margin-top":-u+"px"})}var i=t.extend({},{speedIn:300,speedOut:300,closeButton:!0,content:null,customClass:null},n),s=Math.floor(Math.random()*9e5+1e5),r=t('<div id="reb-popup-container-'+s+'" class="eqtr-popup-container" style="display: none;"><div class="popup-document-mask"><\/div><div class="popup-inner"><a class="popup-close">X<\/a><div class="popup-content"><\/div><\/div><\/div>'),c=i.triggerEvent!=null?i.triggerEvent:"click",e=r.find(".popup-inner"),h=r.find(".popup-document-mask"),u=r.find(".popup-close"),f;i.customClass&&r.addClass(i.customClass);i.closeButton||u.remove();f=i.content instanceof jQuery?i.content:t(i.content).html()||i.content||"Error loading content";r.find(".popup-content").html(f);r.appendTo("body");r.fadeIn(i.speedIn);o(e);u.on("click",function(){return r.fadeOut(i.speedOut),!1});if(i.closeButton===!0)h.on("click",function(){return u.click(),!1});t(window).smartresize(function(){o(e)})},r}(window.EQTR.restaurantBooking||{},jQuery);window.EQTR=function(n,t){var i={};return i.init=function(){var n=t(".room-booking");n.length&&(t("#Form_SelectedRooms").each(function(){var i=t(this),r=t("option",i).last(),u=r.val(),f=r.text(),n=u*1+1,e=f.replace(u,n+"+"),o=t("<option />").val(n).text(e);i.append(o).change(function(){t("#bookContainer")[this.value==n?"hide":"show"]();t("#enquireContainer")[this.value==n?"show":"hide"]()}).triggerHandler("change")}),t("select.input",n).each(function(){var n=t(this);n.selectify({width:"260",maxHeight:"300"})}),t(".input.dateselector",n).attr("readonly",!0).datepicker({minDate:0,dateFormat:"dd/mm/yy",beforeShow:function(n,i){var r=i.dpDiv,u=t(this).offset().top+t(this).outerHeight(),f=t(this).offset().left+t(this).width()/2-r.width()/2-20;setTimeout(function(){r.css({top:u,left:f})},10)}}),t("#book-room",n).click(function(n){t("#GoogleLinkerParam").val(EQTR.Analytics.getLinkerParam());t("#Form_HotelId").val()||(t("#Form_HotelId").selectify("openMenu"),n.preventDefault())}),t(".room-booking form").submit(function(n){n.preventDefault();var i=t(this).serialize();t.post("/book/room/details",i).done(function(n){var i=document.createElement("form");i.method="POST";i.action=EQTR.Analytics.getLinkerUrl(n.url);t.each(n.params,function(n,t){var r=document.createElement("input");r.value=t;r.name=n;i.appendChild(r)});document.body.appendChild(i);i.submit()})}))},n.roomBooking=i,n}(window.EQTR||{},jQuery);window.EQTR=function(n,t){var i={},r=function(){var i=t(".account-stays-pagination"),n;if(i.length==0)return!1;n=t(".account-stay-item__group");t("body").on("click",".pagination__button",function(i){var r;if(i.preventDefault(),r=t(this),r.hasClass("pagination__button--hidden"))return!1;var e=r.hasClass("button-next")?1:-1,f=n.filter(".account-stay-item__group--current"),u=f.index()+e;f.fadeOut(400,function(){t(this).removeClass("account-stay-item__group--current");n.eq(u).fadeIn(400).addClass("account-stay-item__group--current");var i=t(".pagination__button").removeClass("pagination__button--hidden");switch(!0){case n.first().hasClass("account-stay-item__group--current"):t(".pagination__button.button-previous").addClass("pagination__button--hidden");break;case u>0&&u<n.length-1:t(".pagination__button").removeClass("pagination__button--hidden");break;case n.last().hasClass("account-stay-item__group--current"):t(".pagination__button.button-next").addClass("pagination__button--hidden")}})})};return i.init=function(){t(".travel-login").each(function(){t("select.input",this).selectify({width:"260"});t('input[type="checkbox"]',this).checkboxify()});r()},n.travel=i,n}(window.EQTR||{},jQuery);window.EQTR=function(n,t){var i={};return i.init=function(n){function i(n,i){var r=t(n),u=r.data("bookdate"),f=r.data("minstay"),e=r.data("hotelid");u&&t(".js-room-booking-date").val(u);f&&t(".js-room-booking-nights").val(f);!i&&e&&t(".js-room-booking-hotelcode").val(e)}n=n||document;t(".filter-container select.input",n).selectify({width:"200"});t(".js-room-booking-hotelcode").change(function(){i(t(".js-hotel-package-selector[data-hotelid="+this.value+"]"))}).trigger("change");t(".js-hotel-package-selector").on("click",function(n){n.preventDefault();i(this);t("input.submit").click()})},n.packages=i,n}(window.EQTR||{},jQuery);window.EQTR=function(n,t){var i={};return i.init=function(){t(".contact-page, .rf-account-page").each(function(){t("select.input",this).selectify({width:"260"});t('input[type="checkbox"]',this).checkboxify();var n;t("form input[type='submit']",this).click(function(){if(n=t(this),document.selection&&document.selection.empty)document.selection.empty();else if(window.getSelection){var i=window.getSelection();i.removeAllRanges()}});t("form",this).submit(function(){if(n){var i=n.position(),r=n.outerWidth(),u=n.outerHeight();t('<div style="background:blue;position:absolute;top:{0}px;left:{1}px;width:{2}px;height:{3}px;" />'.format(i.top,i.left,r,u)).css("opacity",0).insertAfter(n).click(function(){if(document.selection&&document.selection.empty)document.selection.empty();else if(window.getSelection){var n=window.getSelection();n.removeAllRanges()}})}})})},n.formPages=i,n}(window.EQTR||{},jQuery);window.EQTR=function(n){"use strict";function e(n,t){function f(n,t){return n*t/255}var u=document.createElement("canvas"),e=u.getContext("2d"),s=o(n),i,c;u.width=t.width;u.height=t.height;e.drawImage(t,0,0);var h=e.getImageData(0,0,t.width,t.height),r=h.data,l=s.r,a=s.g,v=s.b;for(i=0,c=r.length;i<c;i+=4)r[i]=f(r[i],l),r[i+1]=f(r[i+1],a),r[i+2]=f(r[i+2],v);return e.putImageData(h,0,0),u}function o(n){var t;return n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,t,i,r){return t+t+i+i+r+r}),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}var u,i,r,f,t=[];return n.wordFrame={prime:function(n){if(n&&Modernizr.canvas&&Modernizr.canvastext&&window.sessionStorage&&!window.sessionStorage[location.href+"overlay"]){u=n.overlayColour;i=n.overlayText;r=n.guid;f=n.scrollText||"Scroll";$("html").addClass("hide-page-content");$("#"+r).on("destroyed",function(){$("#overlay-"+this.id).remove()})}},init:function(){function b(n,i){window.sessionStorage[location.href+"overlay"]="true";s.animate({top:"-100%"},{duration:n||1500,easing:i||"easeInOutCubic",complete:function(){$(this).remove();for(var n in t)$.isFunction(t[n])&&t[n]();t=[]}})}function d(){for(v=50,n.font="bold "+v+"px sans-serif";n.measureText(o).width<a*.75&&v<245;)v+=5,n.font="bold "+v+"px sans-serif";n.textAlign="center";n.textBaseline="middle"}function y(){a=h.width();p=h.height();h[0].width=a;h[0].height=p;c=a/2;l=p/2;d();n.fillStyle=k;n.fillRect(0,0,a,p);n.globalCompositeOperation="destination-out";n.fillStyle="#000";n.fillText(o,c+1,l+1);n.fillText(o,c-1,l-1);n.globalCompositeOperation="source-over";n.fillStyle="rgba(0,0,0,1)";n.fillText(o,c-1,l-1);n.fillStyle="rgba(150, 150, 150, 1)";n.fillText(o,c+1,l+1);n.globalCompositeOperation="destination-out";n.fillStyle="#fff";n.fillText(o,c,l)}var w,k;if(!i)return!1;var s=$('<div class="hotel-overlay" id="overlay-'+r+'" />').appendTo(".page-frame").css({visibility:"hidden"}),h=$("<canvas />").appendTo(s),g=$('<a href="#" class="scroller-arrow-nav"><span>'+f+'<\/span><span class="icon icon-scroll-down"><\/span><\/a>').appendTo(s),n=h[0].getContext("2d"),a,p,v,c,l,o=$.trim(i);o=EQTR.language.isRTL?o:o.toUpperCase().split(/ */).join(" ");w=new Image;w.onload=function(){k=n.createPattern(e(u,w),"repeat");y();s.css({visibility:"visible",opacity:0}).animate({opacity:1},100,function(){EQTR.ShowPageContent(!0);i=null;u=null;r=null;f=null;h.on("destroyed",function(){EQTR.RemoveFromResizeQueue(y)});y.ignoreResizeOnInit=!0;EQTR.AddToResizeQueue(y)})};w.src="/assets/images/hotel-overlay.jpg";s.on("mousewheel",function(n,t){t<0&&b()}).on("drag",function(n,t){t.deltaY<0&&s.css({top:t.deltaY})}).on("dragend",function(){b(800,"easeOutExpo")});return g.click(function(n){n.preventDefault();b()}),!0},onClose:function(n){t.push(n)}},n}(window.EQTR||{});window.EQTR=function(n,t){"use strict";return n.restaurantPageLayout={init:function(n){var i,u,f,e,r;if(n=n||document,i=t(".page-content-popup",n),i.length&&(u=t('<a href="#" class="popup-close">x<\/a>').hide().appendTo(".page-frame").click(function(n){n.preventDefault();i.addClass("popup-in").getNiceScroll().hide();t(this).hide()}),EQTR.detectDevice.isHandHeld()&&i.addClass("existing-page-content-popup").appendTo(".page-frame")),t(".restaurant-landing-panel",n).length){t(".restaurant-landing-panel[data-panel]").each(function(){var i=t(this),n;(n=i.data("panel"))&&(n=t(".restaurant-"+n),i.click(function(t){t.preventDefault();n.removeClass("popup-in");setTimeout(function(){n.getNiceScroll().resize().show()},400);u.show()}))});EQTR.detectDevice.isDesktop()&&(e=t(".restaurant-heading-panel"),r=t("img",e),f=EQTR.AddToResizeQueue(function(){t(".restaurant-landing-panel",n).each(function(){t(this).width("").width(t(this).width());t(this).height("").height(t(this).height())});e.removeClass("small-height").each(function(){var n,i;r.length&&r.css({maxHeight:""});this.scrollHeight>this.offsetHeight&&(t(this).addClass("small-height"),n=this.scrollHeight-this.offsetHeight,r.length&&(i=Math.max(r.height()-n,20),r.css({maxHeight:i})))})},1));t(n==document?".restaurant-room.page-content":n).on("destroyed",function(){f&&EQTR.RemoveFromResizeQueue(f);i.length&&i.remove();u&&u.remove()})}}},n}(window.EQTR||{},window.jQuery);window.EQTR=function(n,t){var i={};return i.init=function(){t(".newsletter-signup").each(function(){t("select.input",this).selectify({width:"260"});var n=t('input[type="checkbox"]',this).each(function(){var n=t("<span />").insertBefore(t(this));n.append(t("label[for='"+this.id+"']")).prepend(t(this))});n.checkboxify()})},n.newsletter=i,n}(window.EQTR||{},jQuery);window.EQTR.scrollIndicator=function(n,t){var i=n;return i.init=function(){},i.hasScrollBar=function(n){return n.length?n[0].scrollHeight>n.height():!1},i.showScrollIndicator=function(n,i,r){function y(){f=n.offset();e=[f.top+a/2-v/2,f.left+c/2-l/2];h.indexOf("left")>-1&&(e[0]=f.left-l,o[0]="left");h.indexOf("right")>-1&&(e[0]=f.left+c,o[0]="right");h.indexOf("top")>-1&&(e[1]=f.top,o[1]="top");h.indexOf("bottom")>-1&&(e[1]=f.top,o[1]="bottom");u.addClass(o.join("-")).css({left:e[0]+"px",top:e[1]+"px"})}var u,s;if(!n.length)return!1;i=i||"right center";r=r||"scroll for more";u=t('<div class="scroll-indictor" style="position: fixed; z-index: 1000;"><span>'+r+"<\/span><\/div>");s=!0;t(".page-content").append(u);var h=i,f,a=n.outerHeight(),c=n.outerWidth(),e,v=u.outerHeight(!0),l=u.outerWidth(!0),o=["center","center"];n.on("scroll",function(){if(!s)return!1;u.fadeOut(400,function(){s=!1})});t(window).smartresize(function(){if(!s)return!1;a=n.outerHeight();c=n.outerWidth();v=u.outerHeight(!0);l=u.outerWidth(!0);EQTR.scrollIndicator.hasScrollBar(n)&&(y(),u.show())});setTimeout(function(){y();EQTR.scrollIndicator.hasScrollBar(n)&&u.fadeIn(600)},1e3)},i}(window.EQTR.scrollIndicator||{},jQuery),function(n,t){function r(t,r){this.element=t;this.$element=n(t);this.options=n.extend({},u,r);this._defaults=u;this._name=i;this.init()}var i="tableScroller",u={};r.prototype={init:function(){var u=this.$element.clone(),r=n(this.element.cloneNode()).addClass("table-scroller__header"),f,e=n("thead",u),o;e.length||(e=n("tr:first",u));r.append(e.clone());f=r.clone();var i=n('<div class="table-scroller"><div class="table-scroller__scrollable"/><div class="table-scroller__fixed"/><\/div>'),h=n(".table-scroller__scrollable",i),s=n(".table-scroller__fixed",i);i.insertBefore(this.$element);h.append(this.$element,r);s.append(u,f);s.width(r.find("tr :first").outerWidth()+1);n(t).on("scrollEnd",function(){var u=n(t).scrollTop(),s=i.offset().top,e=Math.max(0,u-s+35);r[0].style.top=e+"px";f[0].style.top=e+"px";i.removeClass("hidden");o=u}).on("touchmove",function(){var r=n(t).scrollTop();r!=o&&i.addClass("hidden")}).on("touchstart",function(){o=n(t).scrollTop()})}};n.fn[i]=function(t){var u=arguments;return this.each(function(){if(n.data(this,"plugin_"+i))if(r.prototype[t]){var f=n(this).data("plugin_"+i);f[t].apply(f,Array.prototype.slice.call(u,1))}else n.error("Method "+t+" does not exist on "+i);else n.data(this,"plugin_"+i,new r(this,t))})}}(jQuery,window,document),function(n){var t;n(".page-content").scroll(function(){t||n(".page-content").trigger("scrollStart");clearTimeout(t);t=setTimeout(function(){n(".page-content").trigger("scrollEnd");t=null},300)})}(jQuery);window.EQTR=function(n,t){var i={};return i.init=function(n){n=n==document?t(".page-content",n):t(n);n.data("hidesearch")=="True"?t(".js-search-button, .js-search-divider").hide():t(".js-search-button, .js-search-divider").show();t(".js-search-button").each(function(){var i=n.data("nodeid"),r=t(this).data("link"),u=r+"?pageId="+i;t(this).attr("href",u)})},n.searchButton=i,n}(window.EQTR||{},jQuery)