diff --git a/bower.json b/bower.json index d79fb44..9c2a159 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "kbwood_calendars", - "version": "2.0.0", + "version": "2.0.1", "description": "This plugin provides support for various world calendars, including a datepicker. * Calendars: Gregorian, Julian, Taiwanese, Thai, Persian, Islamic, Umm al-Qura, Hebrew, Ethiopian, Coptic, Nepali, Mayan. * Parse and format dates in all these calendars. * Style the datepicker using one of five themes, or use any of the standard Themeroller themes. * Over 70 localisations for Gregorian/Julian calendars.", "keywords": [ "calendar", @@ -11,7 +11,7 @@ "ui", "validation" ], - "license": "MIT", + "license": "http://keith-wood.name/licence.html", "authors": [ "Keith Wood" ], @@ -26,7 +26,7 @@ "jquery.calendars.picker-*.js", "jquery.*.min.js" ], - "dependencies": [ + "dependencies": { "jquery": ">=1.7" - ] + } } \ No newline at end of file diff --git a/jquery.calendars.all.js b/jquery.calendars.all.js index 4ec6e93..5e890fd 100644 --- a/jquery.calendars.all.js +++ b/jquery.calendars.all.js @@ -1,7 +1,7 @@ /* http://keith-wood.name/calendars.html - Calendars for jQuery v2.0.0. + Calendars for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ (function($) { // Hide scope, no $ conflict @@ -856,9 +856,9 @@ })(jQuery); /* http://keith-wood.name/calendars.html - Calendars extras for jQuery v2.0.0. + Calendars extras for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ (function($) { // Hide scope, no $ conflict @@ -1284,9 +1284,9 @@ })(jQuery); /* http://keith-wood.name/calendars.html - Calendars date picker for jQuery v2.0.0. + Calendars date picker for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ (function($) { // Hide scope, no $ conflict @@ -1730,10 +1730,12 @@ @property [closeText='Close'] {string} Text for the close command. @property [closeStatus='Close the datepicker'] {string} Status text for the close command. @property [yearStatus='Change the year'] {string} Status text for year selection. + @property [earlierText='  ▲'] {string} Text for earlier years. + @property [laterText='  ▼'] {string} Text for later years. @property [monthStatus='Change the month'] {string} Status text for month selection. @property [weekText='Wk'] {string} Text for week of the year column header. @property [weekStatus='Week of the year'] {string} Status text for week of the year column header. - @property [dayStatus='Select DD, M d, yyyy'] {string} Status text for selectable days. + @property [dayStatus='Select DD, M d, yyyy'] {string} Status text for selectable days. @property [defaultStatus='Select a date'] {string} Status text shown by default. @property [isRTL=false] {boolean} true if language is right-to-left. */ regionalOptions: { // Available regional settings, indexed by language/country code @@ -1756,6 +1758,8 @@ closeText: 'Close', closeStatus: 'Close the datepicker', yearStatus: 'Change the year', + earlierText: '  ▲', + laterText: '  ▼', monthStatus: 'Change the month', weekText: 'Wk', weekStatus: 'Week of the year', @@ -2123,7 +2127,10 @@ } } if (inst.inline) { + var index = $('a, :input', elem).index($(':focus', elem)); elem.html(this._generateContent(elem[0], inst)); + var focus = elem.find('a, :input'); + focus.eq(Math.max(Math.min(index, focus.length - 1), 0)).focus(); } else if (plugin.curInst === inst) { if (!inst.div) { @@ -2305,10 +2312,10 @@ @param event {KeyEvent} The keystroke. @return {boolean} true if not handled, false if handled. */ _keyDown: function(event) { - var elem = event.target; + var elem = (event.data && event.data.elem) || event.target; var inst = plugin._getInst(elem); var handled = false; - if (inst.div) { + if (inst.inline || inst.div) { if (event.keyCode === 9) { // Tab - close plugin.hide(elem); } @@ -2356,7 +2363,7 @@ @param event {KeyEvent} The keystroke. @return {boolean} true if allowed, false if not allowed. */ _keyPress: function(event) { - var inst = plugin._getInst(event.target); + var inst = plugin._getInst((event.data && event.data.elem) || event.target); if (!$.isEmptyObject(inst) && inst.options.constrainInput) { var ch = String.fromCharCode(event.keyCode || event.charCode); var allowedChars = plugin._allowedChars(inst); @@ -2419,7 +2426,7 @@ @param event {KeyEvent} The keystroke. @return {boolean} true if allowed, false if not allowed. */ _keyUp: function(event) { - var elem = event.target; + var elem = (event.data && event.data.elem) || event.target; var inst = plugin._getInst(elem); if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) { try { @@ -2702,7 +2709,7 @@ else { inst.selectedDates = [date]; } - inst.prevDate = date.newDate(); + inst.prevDate = inst.drawDate = date.newDate(); this._updateInput(elem); if (inst.inline || inst.pickingRange || inst.selectedDates.length < (inst.options.multiSelect || (inst.options.rangeSelect ? 2 : 1))) { @@ -2770,18 +2777,17 @@ } // Add datepicker behaviour var self = this; + function removeHighlight() { + (inst.inline ? $(this).closest('.' + self._getMarker()) : inst.div). + find(inst.options.renderer.daySelector + ' a'). + removeClass(inst.options.renderer.highlightedClass); + } picker.find(inst.options.renderer.daySelector + ' a').hover( function() { - (inst.inline ? $(this).closest('.' + self._getMarker()) : inst.div). - find(inst.options.renderer.daySelector + ' a'). - removeClass(inst.options.renderer.highlightedClass); + removeHighlight.apply(this); $(this).addClass(inst.options.renderer.highlightedClass); }, - function() { - (inst.inline ? $(this).closest('.' + self._getMarker()) : inst.div). - find(inst.options.renderer.daySelector + ' a'). - removeClass(inst.options.renderer.highlightedClass); - }). + removeHighlight). click(function() { self.selectDate(elem, this); }).end(). @@ -2813,6 +2819,9 @@ inst.elem.focus(); } }); + // Add keyboard handling + var data = {elem: inst.elem[0]}; + picker.keydown(data, this._keyDown).keypress(data, this._keyPress).keyup(data, this._keyUp); // Add command behaviour picker.find('.' + inst.options.renderer.commandClass).click(function() { if (!$(this).hasClass(inst.options.renderer.disabledClass)) { @@ -2916,7 +2925,7 @@ (dateInfo.title || (inst.options.dayStatus && selectable) ? ' title="' + (dateInfo.title || drawDate.formatDate(inst.options.dayStatus)) + '"' : '') + '>' + (inst.options.showOtherMonths || drawDate.month() === month ? - dateInfo.content || drawDate.day() : ' ') + + dateInfo.content || drawDate.day() : ' ') + (selectable ? '' : '')); drawDate.add(1, 'd'); jd++; @@ -3011,27 +3020,41 @@ '" title="' + inst.options.yearStatus + '">'; start = calendar.newDate(start + 1, calendar.firstMonth, calendar.minDay).add(-1, 'd'); end = calendar.newDate(end, calendar.firstMonth, calendar.minDay); - var addYear = function(y) { + var addYear = function(y, yDisplay) { if (y !== 0 || calendar.hasYearZero) { selector += ''; + (yDisplay || y) + ''; } }; if (start.toJD() < end.toJD()) { start = (minDate && minDate.compareTo(start) === +1 ? minDate : start).year(); end = (maxDate && maxDate.compareTo(end) === -1 ? maxDate : end).year(); + var earlierLater = Math.floor((end - start) / 2); + if (!minDate || minDate.year() < start) { + addYear(start - earlierLater, inst.options.earlierText); + } for (var y = start; y <= end; y++) { addYear(y); } + if (!maxDate || maxDate.year() > end) { + addYear(end + earlierLater, inst.options.laterText); + } } else { start = (maxDate && maxDate.compareTo(start) === -1 ? maxDate : start).year(); end = (minDate && minDate.compareTo(end) === +1 ? minDate : end).year(); + var earlierLater = Math.floor((start - end) / 2); + if (!maxDate || maxDate.year() > start) { + addYear(start + earlierLater, inst.options.earlierText); + } for (var y = start; y >= end; y--) { addYear(y); } + if (!minDate || minDate.year() < end) { + addYear(end - earlierLater, inst.options.laterText); + } } selector += ''; } diff --git a/jquery.calendars.all.min.js b/jquery.calendars.all.min.js index 87d771c..6a6c967 100644 --- a/jquery.calendars.all.min.js +++ b/jquery.calendars.all.min.js @@ -1,6 +1,6 @@ /* http://keith-wood.name/calendars.html - Calendars for jQuery v2.0.0. + Calendars for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ -(function($){function Calendars(){this.regionalOptions=[];this.regionalOptions['']={invalidCalendar:'Calendar {0} not found',invalidDate:'Invalid {0} date',invalidMonth:'Invalid {0} month',invalidYear:'Invalid {0} year',differentCalendars:'Cannot mix {0} and {1} dates'};this.local=this.regionalOptions[''];this.calendars={};this._localCals={}}$.extend(Calendars.prototype,{instance:function(a,b){a=(a||'gregorian').toLowerCase();b=b||'';var c=this._localCals[a+'-'+b];if(!c&&this.calendars[a]){c=new this.calendars[a](b);this._localCals[a+'-'+b]=c}if(!c){throw(this.local.invalidCalendar||this.regionalOptions[''].invalidCalendar).replace(/\{0\}/,a)}return c},newDate:function(a,b,c,d,e){d=(a!=null&&a.year?a.calendar():(typeof d==='string'?this.instance(d,e):d))||this.instance();return d.newDate(a,b,c)}});function CDate(a,b,c,d){this._calendar=a;this._year=b;this._month=c;this._day=d;if(this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}}function pad(a,b){a=''+a;return'000000'.substring(0,b-a.length)+a}$.extend(CDate.prototype,{newDate:function(a,b,c){return this._calendar.newDate((a==null?this:a),b,c)},year:function(a){return(arguments.length===0?this._year:this.set(a,'y'))},month:function(a){return(arguments.length===0?this._month:this.set(a,'m'))},day:function(a){return(arguments.length===0?this._day:this.set(a,'d'))},date:function(a,b,c){if(!this._calendar.isValid(a,b,c)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}this._year=a;this._month=b;this._day=c;return this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,b){return this._calendar.add(this,a,b)},set:function(a,b){return this._calendar.set(this,a,b)},compareTo:function(a){if(this._calendar.name!==a._calendar.name){throw($.calendars.local.differentCalendars||$.calendars.regionalOptions[''].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name)}var c=(this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day);return(c===0?0:(c<0?-1:+1))},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?'-':'')+pad(Math.abs(this.year()),4)+'-'+pad(this.month(),2)+'-'+pad(this.day(),2)}});function BaseCalendar(){this.shortYearCutoff='+10'}$.extend(BaseCalendar.prototype,{_validateLevel:0,newDate:function(a,b,c){if(a==null){return this.today()}if(a.year){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);c=a.day();b=a.month();a=a.year()}return new CDate(this,a,b,c)},today:function(){return this.fromJSDate(new Date())},epoch:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?this.local.epochs[0]:this.local.epochs[1])},formatYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?'-':'')+pad(Math.abs(b.year()),4)},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 12},monthOfYear:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return(c.month()+this.monthsInYear(c)-this.firstMonth)%this.monthsInYear(c)+this.minMonth},fromMonthOfYear:function(a,b){var m=(b+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;this._validate(a,m,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return m},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(this.leapYear(b)?366:365)},dayOfYear:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return d.toJD()-this.newDate(d.year(),this.fromMonthOfYear(d.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return(Math.floor(this.toJD(d))+2)%this.daysInWeek()},extraInfo:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return{}},add:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return this._correctAdd(a,this._add(a,b,c),b,c)},_add:function(c,f,g){this._validateLevel++;if(g==='d'||g==='w'){var h=c.toJD()+f*(g==='w'?this.daysInWeek():1);var d=c.calendar().fromJD(h);this._validateLevel--;return[d.year(),d.month(),d.day()]}try{var y=c.year()+(g==='y'?f:0);var m=c.monthOfYear()+(g==='m'?f:0);var d=c.day();var i=function(a){while(mb-1+a.minMonth){y++;m-=b;b=a.monthsInYear(y)}};if(g==='y'){if(c.month()!==this.fromMonthOfYear(y,m)){m=this.newDate(y,c.month(),this.minDay).monthOfYear()}m=Math.min(m,this.monthsInYear(y));d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}else if(g==='m'){i(this);d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}var j=[y,this.fromMonthOfYear(y,m),d];this._validateLevel--;return j}catch(e){this._validateLevel--;throw e;}},_correctAdd:function(a,b,c,d){if(!this.hasYearZero&&(d==='y'||d==='m')){if(b[0]===0||(a.year()>0)!==(b[0]>0)){var e={y:[1,1,'y'],m:[1,this.monthsInYear(-1),'m'],w:[this.daysInWeek(),this.daysInYear(-1),'d'],d:[1,this.daysInYear(-1),'d']}[d];var f=(c<0?-1:+1);b=this._add(a,c*e[0]+f*e[1],e[2])}}return a.date(b[0],b[1],b[2])},set:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var y=(c==='y'?b:a.year());var m=(c==='m'?b:a.month());var d=(c==='d'?b:a.day());if(c==='y'||c==='m'){d=Math.min(d,this.daysInMonth(y,m))}return a.date(y,m,d)},isValid:function(a,b,c){this._validateLevel++;var d=(this.hasYearZero||a!==0);if(d){var e=this.newDate(a,b,this.minDay);d=(b>=this.minMonth&&b-this.minMonth=this.minDay&&c-this.minDay13.5?13:1);var i=c-(h>2.5?4716:4715);if(i<=0){i--}return this.newDate(i,h,g)},toJSDate:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var e=new Date(d.year(),d.month()-1,d.day());e.setHours(0);e.setMinutes(0);e.setSeconds(0);e.setMilliseconds(0);e.setHours(e.getHours()>12?e.getHours()+2:0);return e},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});$.calendars=new Calendars();$.calendars.cdate=CDate;$.calendars.baseCalendar=BaseCalendar;$.calendars.calendars.gregorian=GregorianCalendar})(jQuery);(function($){$.extend($.calendars.regionalOptions[''],{invalidArguments:'Invalid arguments',invalidFormat:'Cannot format a date from another calendar',missingNumberAt:'Missing number at position {0}',unknownNameAt:'Unknown name at position {0}',unexpectedLiteralAt:'Unexpected literal at position {0}',unexpectedText:'Additional text found at end'});$.calendars.local=$.calendars.regionalOptions[''];$.extend($.calendars.cdate.prototype,{formatDate:function(a){return this._calendar.formatDate(a||'',this)}});$.extend($.calendars.baseCalendar.prototype,{UNIX_EPOCH:$.calendars.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:$.calendars.instance().jdEpoch,TICKS_PER_DAY:24*60*60*10000000,ATOM:'yyyy-mm-dd',COOKIE:'D, dd M yyyy',FULL:'DD, MM d, yyyy',ISO_8601:'yyyy-mm-dd',JULIAN:'J',RFC_822:'D, d M yy',RFC_850:'DD, dd-M-yy',RFC_1036:'D, d M yy',RFC_1123:'D, d M yyyy',RFC_2822:'D, d M yyyy',RSS:'D, d M yy',TICKS:'!',TIMESTAMP:'@',W3C:'yyyy-mm-dd',formatDate:function(f,g,h){if(typeof f!=='string'){h=g;g=f;f=''}if(!g){return''}if(g.calendar()!==this){throw $.calendars.local.invalidFormat||$.calendars.regionalOptions[''].invalidFormat;}f=f||this.local.dateFormat;h=h||{};var i=h.dayNamesShort||this.local.dayNamesShort;var j=h.dayNames||this.local.dayNames;var k=h.monthNamesShort||this.local.monthNamesShort;var l=h.monthNames||this.local.monthNames;var m=h.calculateWeek||this.local.calculateWeek;var n=function(a,b){var c=1;while(s+c1};var o=function(a,b,c,d){var e=''+b;if(n(a,d)){while(e.length1};var x=function(a,b){var c=w(a,b);var d=[2,3,c?4:2,c?4:2,10,11,20]['oyYJ@!'.indexOf(a)+1];var e=new RegExp('^-?\\d{1,'+d+'}');var f=h.substring(B).match(e);if(!f){throw($.calendars.local.missingNumberAt||$.calendars.regionalOptions[''].missingNumberAt).replace(/\{0\}/,B)}B+=f[0].length;return parseInt(f[0],10)};var y=this;var z=function(a,b,c,d){var e=(w(a,d)?c:b);for(var i=0;i-1){r=1;s=t;for(var E=this.daysInMonth(q,r);s>E;E=this.daysInMonth(q,r)){r++;s-=E}}return(p>-1?this.fromJD(p):this.newDate(q,r,s))},determineDate:function(f,g,h,i,j){if(h&&typeof h!=='object'){j=i;i=h;h=null}if(typeof i!=='string'){j=i;i=''}var k=this;var l=function(a){try{return k.parseDate(i,a,j)}catch(e){}a=a.toLowerCase();var b=(a.match(/^c/)&&h?h.newDate():null)||k.today();var c=/([+-]?[0-9]+)\s*(d|w|m|y)?/g;var d=c.exec(a);while(d){b.add(parseInt(d[1],10),d[2]||'d');d=c.exec(a)}return b};g=(g?g.newDate():null);f=(f==null?g:(typeof f==='string'?l(f):(typeof f==='number'?(isNaN(f)||f===Infinity||f===-Infinity?g:k.today().add(f,'d')):k.newDate(f))));return f}})})(jQuery);(function($){var F='calendarsPicker';$.JQPlugin.createPlugin({name:F,defaultRenderer:{picker:'
'+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'
{months}
',month:'
{monthHeader}
'+'{weekHeader}{weeks}
',weekHeader:'{days}',dayHeader:'{day}',week:'{days}',day:'{day}',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();G.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){G.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){G.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){G.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){G.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){G.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!G.isDisabled(a[0])){G[G.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=G._getInst(a);if(G.curInst===b){return}if(G.curInst){G.hide(G.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=G._extractDates(b,a.val());b.pickingRange=false;b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();G.curInst=b;G._update(a[0],true);var c=G._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i]));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i])}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!G.curInst){return}var b=$(a.target);if(b.closest('.'+G._popupClass+',.'+G._triggerClass).length===0&&!b.hasClass(G._getMarker())){G.hide(G.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===G.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;G.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=a.target;var c=G._getInst(b);var d=false;if(c.div){if(a.keyCode===9){G.hide(b)}else if(a.keyCode===13){G.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=G._getInst(a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=G._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){G.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(G.curInst&&G.curInst.elem[0])||$(a.target).closest('.'+G._getMarker())[0];if(G.isDisabled(c)){return}var d=G._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);G.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text]):i.options[f.text])+'')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;p.find(i.options.renderer.daySelector+' a').hover(function(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass);$(this).addClass(i.options.renderer.highlightedClass)},function(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');G.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var u=0;p.find(i.options.renderer.monthSelector).each(function(){u+=$(this).outerWidth()});p.width(u/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(a,b,c,d,e,f,g){var h=e.daysInMonth(c,d);var j=b.options.monthsToShow;j=($.isArray(j)?j:[1,j]);var k=b.options.fixedWeeks||(j[0]*j[1]>1);var l=b.options.firstDay;l=(l==null?e.local.firstDay:l);var m=(e.dayOfWeek(c,d,e.minDay)-l+e.daysInWeek())%e.daysInWeek();var n=(k?6:Math.ceil((m+h)/e.daysInWeek()));var o=b.options.selectOtherMonths&&b.options.showOtherMonths;var p=(b.pickingRange?b.selectedDates[0]:b.get('minDate'));var q=b.get('maxDate');var r=f.week.indexOf('{weekOfYear}')>-1;var s=e.today();var t=e.newDate(c,d,e.minDay);t.add(-m-(k&&(t.dayOfWeek()===l||t.daysInMonth()'+($.isFunction(b.options.calculateWeek)?b.options.calculateWeek(t):t.weekOfYear())+'');var y='';for(var z=0;z0){A=(t.compareTo(b.selectedDates[0])!==-1&&t.compareTo(b.selectedDates[1])!==+1)}else{for(var i=0;i'+(b.options.showOtherMonths||t.month()===d?B.content||t.day():' ')+(C?'':''));t.add(1,'d');u++}v+=this._prepare(f.week,b).replace(/\{days\}/g,y).replace(/\{weekOfYear\}/g,x)}var D=this._prepare(f.month,b).match(/\{monthHeader(:[^\}]+)?\}/);D=(D[0].length<=13?'MM yyyy':D[0].substring(13,D[0].length-1));D=(g?this._generateMonthSelection(b,c,d,p,q,D,e,f):e.formatDate(D,e.newDate(c,d,e.minDay)));var E=this._prepare(f.weekHeader,b).replace(/\{days\}/g,this._generateDayHeaders(b,e,f));return this._prepare(f.month,b).replace(/\{monthHeader(:[^\}]+)?\}/g,D).replace(/\{weekHeader\}/g,E).replace(/\{weeks\}/g,v)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(a,b,c,d,e,f,g){if(!a.options.changeMonth){return g.formatDate(f,g.newDate(b,c,1))}var h=g.local['monthNames'+(f.match(/mm/i)?'':'Short')];var i=f.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var j='';i=i.replace(/\\x2E/,j);var l=a.options.yearRange;if(l==='any'){j=''+''}else{l=l.split(':');var n=g.today().year();var o=(l[0].match('c[+-].*')?b+parseInt(l[0].substring(1),10):((l[0].match('[+-].*')?n:0)+parseInt(l[0],10)));var p=(l[1].match('c[+-].*')?b+parseInt(l[1].substring(1),10):((l[1].match('[+-].*')?n:0)+parseInt(l[1],10)));j=''}i=i.replace(/\\x2F/,j);return i},_prepare:function(e,f){var g=function(a,b){while(true){var c=e.indexOf('{'+a+':start}');if(c===-1){return}var d=e.substring(c).indexOf('{'+a+':end}');if(d>-1){e=e.substring(0,c)+(b?e.substr(c+a.length+8,d-a.length-8):'')+e.substring(c+d+a.length+6)}}};g('inline',f.inline);g('popup',!f.inline);var h=/\{l10n:([^\}]+)\}/;var i=null;while(i=h.exec(e)){e=e.replace(i[0],f.options[i[1]])}return e}});var G=$.calendarsPicker;$(function(){$(document).on('mousedown.'+F,G._checkExternalClick).on('resize.'+F,function(){G.hide(G.curInst)})})})(jQuery); \ No newline at end of file +(function($){function Calendars(){this.regionalOptions=[];this.regionalOptions['']={invalidCalendar:'Calendar {0} not found',invalidDate:'Invalid {0} date',invalidMonth:'Invalid {0} month',invalidYear:'Invalid {0} year',differentCalendars:'Cannot mix {0} and {1} dates'};this.local=this.regionalOptions[''];this.calendars={};this._localCals={}}$.extend(Calendars.prototype,{instance:function(a,b){a=(a||'gregorian').toLowerCase();b=b||'';var c=this._localCals[a+'-'+b];if(!c&&this.calendars[a]){c=new this.calendars[a](b);this._localCals[a+'-'+b]=c}if(!c){throw(this.local.invalidCalendar||this.regionalOptions[''].invalidCalendar).replace(/\{0\}/,a)}return c},newDate:function(a,b,c,d,e){d=(a!=null&&a.year?a.calendar():(typeof d==='string'?this.instance(d,e):d))||this.instance();return d.newDate(a,b,c)}});function CDate(a,b,c,d){this._calendar=a;this._year=b;this._month=c;this._day=d;if(this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}}function pad(a,b){a=''+a;return'000000'.substring(0,b-a.length)+a}$.extend(CDate.prototype,{newDate:function(a,b,c){return this._calendar.newDate((a==null?this:a),b,c)},year:function(a){return(arguments.length===0?this._year:this.set(a,'y'))},month:function(a){return(arguments.length===0?this._month:this.set(a,'m'))},day:function(a){return(arguments.length===0?this._day:this.set(a,'d'))},date:function(a,b,c){if(!this._calendar.isValid(a,b,c)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}this._year=a;this._month=b;this._day=c;return this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,b){return this._calendar.add(this,a,b)},set:function(a,b){return this._calendar.set(this,a,b)},compareTo:function(a){if(this._calendar.name!==a._calendar.name){throw($.calendars.local.differentCalendars||$.calendars.regionalOptions[''].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name)}var c=(this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day);return(c===0?0:(c<0?-1:+1))},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?'-':'')+pad(Math.abs(this.year()),4)+'-'+pad(this.month(),2)+'-'+pad(this.day(),2)}});function BaseCalendar(){this.shortYearCutoff='+10'}$.extend(BaseCalendar.prototype,{_validateLevel:0,newDate:function(a,b,c){if(a==null){return this.today()}if(a.year){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);c=a.day();b=a.month();a=a.year()}return new CDate(this,a,b,c)},today:function(){return this.fromJSDate(new Date())},epoch:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?this.local.epochs[0]:this.local.epochs[1])},formatYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?'-':'')+pad(Math.abs(b.year()),4)},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 12},monthOfYear:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return(c.month()+this.monthsInYear(c)-this.firstMonth)%this.monthsInYear(c)+this.minMonth},fromMonthOfYear:function(a,b){var m=(b+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;this._validate(a,m,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return m},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(this.leapYear(b)?366:365)},dayOfYear:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return d.toJD()-this.newDate(d.year(),this.fromMonthOfYear(d.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return(Math.floor(this.toJD(d))+2)%this.daysInWeek()},extraInfo:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return{}},add:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return this._correctAdd(a,this._add(a,b,c),b,c)},_add:function(c,f,g){this._validateLevel++;if(g==='d'||g==='w'){var h=c.toJD()+f*(g==='w'?this.daysInWeek():1);var d=c.calendar().fromJD(h);this._validateLevel--;return[d.year(),d.month(),d.day()]}try{var y=c.year()+(g==='y'?f:0);var m=c.monthOfYear()+(g==='m'?f:0);var d=c.day();var i=function(a){while(mb-1+a.minMonth){y++;m-=b;b=a.monthsInYear(y)}};if(g==='y'){if(c.month()!==this.fromMonthOfYear(y,m)){m=this.newDate(y,c.month(),this.minDay).monthOfYear()}m=Math.min(m,this.monthsInYear(y));d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}else if(g==='m'){i(this);d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}var j=[y,this.fromMonthOfYear(y,m),d];this._validateLevel--;return j}catch(e){this._validateLevel--;throw e;}},_correctAdd:function(a,b,c,d){if(!this.hasYearZero&&(d==='y'||d==='m')){if(b[0]===0||(a.year()>0)!==(b[0]>0)){var e={y:[1,1,'y'],m:[1,this.monthsInYear(-1),'m'],w:[this.daysInWeek(),this.daysInYear(-1),'d'],d:[1,this.daysInYear(-1),'d']}[d];var f=(c<0?-1:+1);b=this._add(a,c*e[0]+f*e[1],e[2])}}return a.date(b[0],b[1],b[2])},set:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var y=(c==='y'?b:a.year());var m=(c==='m'?b:a.month());var d=(c==='d'?b:a.day());if(c==='y'||c==='m'){d=Math.min(d,this.daysInMonth(y,m))}return a.date(y,m,d)},isValid:function(a,b,c){this._validateLevel++;var d=(this.hasYearZero||a!==0);if(d){var e=this.newDate(a,b,this.minDay);d=(b>=this.minMonth&&b-this.minMonth=this.minDay&&c-this.minDay13.5?13:1);var i=c-(h>2.5?4716:4715);if(i<=0){i--}return this.newDate(i,h,g)},toJSDate:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var e=new Date(d.year(),d.month()-1,d.day());e.setHours(0);e.setMinutes(0);e.setSeconds(0);e.setMilliseconds(0);e.setHours(e.getHours()>12?e.getHours()+2:0);return e},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});$.calendars=new Calendars();$.calendars.cdate=CDate;$.calendars.baseCalendar=BaseCalendar;$.calendars.calendars.gregorian=GregorianCalendar})(jQuery);(function($){$.extend($.calendars.regionalOptions[''],{invalidArguments:'Invalid arguments',invalidFormat:'Cannot format a date from another calendar',missingNumberAt:'Missing number at position {0}',unknownNameAt:'Unknown name at position {0}',unexpectedLiteralAt:'Unexpected literal at position {0}',unexpectedText:'Additional text found at end'});$.calendars.local=$.calendars.regionalOptions[''];$.extend($.calendars.cdate.prototype,{formatDate:function(a){return this._calendar.formatDate(a||'',this)}});$.extend($.calendars.baseCalendar.prototype,{UNIX_EPOCH:$.calendars.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:$.calendars.instance().jdEpoch,TICKS_PER_DAY:24*60*60*10000000,ATOM:'yyyy-mm-dd',COOKIE:'D, dd M yyyy',FULL:'DD, MM d, yyyy',ISO_8601:'yyyy-mm-dd',JULIAN:'J',RFC_822:'D, d M yy',RFC_850:'DD, dd-M-yy',RFC_1036:'D, d M yy',RFC_1123:'D, d M yyyy',RFC_2822:'D, d M yyyy',RSS:'D, d M yy',TICKS:'!',TIMESTAMP:'@',W3C:'yyyy-mm-dd',formatDate:function(f,g,h){if(typeof f!=='string'){h=g;g=f;f=''}if(!g){return''}if(g.calendar()!==this){throw $.calendars.local.invalidFormat||$.calendars.regionalOptions[''].invalidFormat;}f=f||this.local.dateFormat;h=h||{};var i=h.dayNamesShort||this.local.dayNamesShort;var j=h.dayNames||this.local.dayNames;var k=h.monthNamesShort||this.local.monthNamesShort;var l=h.monthNames||this.local.monthNames;var m=h.calculateWeek||this.local.calculateWeek;var n=function(a,b){var c=1;while(s+c1};var o=function(a,b,c,d){var e=''+b;if(n(a,d)){while(e.length1};var x=function(a,b){var c=w(a,b);var d=[2,3,c?4:2,c?4:2,10,11,20]['oyYJ@!'.indexOf(a)+1];var e=new RegExp('^-?\\d{1,'+d+'}');var f=h.substring(B).match(e);if(!f){throw($.calendars.local.missingNumberAt||$.calendars.regionalOptions[''].missingNumberAt).replace(/\{0\}/,B)}B+=f[0].length;return parseInt(f[0],10)};var y=this;var z=function(a,b,c,d){var e=(w(a,d)?c:b);for(var i=0;i-1){r=1;s=t;for(var E=this.daysInMonth(q,r);s>E;E=this.daysInMonth(q,r)){r++;s-=E}}return(p>-1?this.fromJD(p):this.newDate(q,r,s))},determineDate:function(f,g,h,i,j){if(h&&typeof h!=='object'){j=i;i=h;h=null}if(typeof i!=='string'){j=i;i=''}var k=this;var l=function(a){try{return k.parseDate(i,a,j)}catch(e){}a=a.toLowerCase();var b=(a.match(/^c/)&&h?h.newDate():null)||k.today();var c=/([+-]?[0-9]+)\s*(d|w|m|y)?/g;var d=c.exec(a);while(d){b.add(parseInt(d[1],10),d[2]||'d');d=c.exec(a)}return b};g=(g?g.newDate():null);f=(f==null?g:(typeof f==='string'?l(f):(typeof f==='number'?(isNaN(f)||f===Infinity||f===-Infinity?g:k.today().add(f,'d')):k.newDate(f))));return f}})})(jQuery);(function($){var F='calendarsPicker';$.JQPlugin.createPlugin({name:F,defaultRenderer:{picker:'
'+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'
{months}
',month:'
{monthHeader}
'+'{weekHeader}{weeks}
',weekHeader:'{days}',dayHeader:'{day}',week:'{days}',day:'{day}',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();G.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){G.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){G.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){G.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){G.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){G.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',earlierText:'  ▲',laterText:'  ▼',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!G.isDisabled(a[0])){G[G.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=G._getInst(a);if(G.curInst===b){return}if(G.curInst){G.hide(G.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=G._extractDates(b,a.val());b.pickingRange=false;b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();G.curInst=b;G._update(a[0],true);var c=G._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i]));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i])}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!G.curInst){return}var b=$(a.target);if(b.closest('.'+G._popupClass+',.'+G._triggerClass).length===0&&!b.hasClass(G._getMarker())){G.hide(G.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===G.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;G.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=(a.data&&a.data.elem)||a.target;var c=G._getInst(b);var d=false;if(c.inline||c.div){if(a.keyCode===9){G.hide(b)}else if(a.keyCode===13){G.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=G._getInst((a.data&&a.data.elem)||a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=G._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){G.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(G.curInst&&G.curInst.elem[0])||$(a.target).closest('.'+G._getMarker())[0];if(G.isDisabled(c)){return}var d=G._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);G.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text]):i.options[f.text])+'')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;function removeHighlight(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}p.find(i.options.renderer.daySelector+' a').hover(function(){removeHighlight.apply(this);$(this).addClass(i.options.renderer.highlightedClass)},removeHighlight).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});var u={elem:i.elem[0]};p.keydown(u,this._keyDown).keypress(u,this._keyPress).keyup(u,this._keyUp);p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');G.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var v=0;p.find(i.options.renderer.monthSelector).each(function(){v+=$(this).outerWidth()});p.width(v/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(a,b,c,d,e,f,g){var h=e.daysInMonth(c,d);var j=b.options.monthsToShow;j=($.isArray(j)?j:[1,j]);var k=b.options.fixedWeeks||(j[0]*j[1]>1);var l=b.options.firstDay;l=(l==null?e.local.firstDay:l);var m=(e.dayOfWeek(c,d,e.minDay)-l+e.daysInWeek())%e.daysInWeek();var n=(k?6:Math.ceil((m+h)/e.daysInWeek()));var o=b.options.selectOtherMonths&&b.options.showOtherMonths;var p=(b.pickingRange?b.selectedDates[0]:b.get('minDate'));var q=b.get('maxDate');var r=f.week.indexOf('{weekOfYear}')>-1;var s=e.today();var t=e.newDate(c,d,e.minDay);t.add(-m-(k&&(t.dayOfWeek()===l||t.daysInMonth()'+($.isFunction(b.options.calculateWeek)?b.options.calculateWeek(t):t.weekOfYear())+'');var y='';for(var z=0;z0){A=(t.compareTo(b.selectedDates[0])!==-1&&t.compareTo(b.selectedDates[1])!==+1)}else{for(var i=0;i'+(b.options.showOtherMonths||t.month()===d?B.content||t.day():' ')+(C?'':''));t.add(1,'d');u++}v+=this._prepare(f.week,b).replace(/\{days\}/g,y).replace(/\{weekOfYear\}/g,x)}var D=this._prepare(f.month,b).match(/\{monthHeader(:[^\}]+)?\}/);D=(D[0].length<=13?'MM yyyy':D[0].substring(13,D[0].length-1));D=(g?this._generateMonthSelection(b,c,d,p,q,D,e,f):e.formatDate(D,e.newDate(c,d,e.minDay)));var E=this._prepare(f.weekHeader,b).replace(/\{days\}/g,this._generateDayHeaders(b,e,f));return this._prepare(f.month,b).replace(/\{monthHeader(:[^\}]+)?\}/g,D).replace(/\{weekHeader\}/g,E).replace(/\{weeks\}/g,v)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(b,c,d,e,f,g,h){if(!b.options.changeMonth){return h.formatDate(g,h.newDate(c,d,1))}var i=h.local['monthNames'+(g.match(/mm/i)?'':'Short')];var j=g.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var k='';j=j.replace(/\\x2E/,k);var n=b.options.yearRange;if(n==='any'){k=''+''}else{n=n.split(':');var o=h.today().year();var p=(n[0].match('c[+-].*')?c+parseInt(n[0].substring(1),10):((n[0].match('[+-].*')?o:0)+parseInt(n[0],10)));var q=(n[1].match('c[+-].*')?c+parseInt(n[1].substring(1),10):((n[1].match('[+-].*')?o:0)+parseInt(n[1],10)));k=''; } diff --git a/jquery.calendars.picker.lang.js b/jquery.calendars.picker.lang.js index 519e35a..974120c 100644 --- a/jquery.calendars.picker.lang.js +++ b/jquery.calendars.picker.lang.js @@ -1,9 +1,8 @@ /* http://keith-wood.name/calendars.html - Calendars date picker localisations for jQuery v2.0.0. + Calendars date picker localisations for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ - /* http://keith-wood.name/calendars.html Afrikaans localisation for calendars datepicker for jQuery. Written by Renier Pretorius and Ruediger Thiede. */ @@ -89,7 +88,7 @@ }; $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG']); })(jQuery); -/* http://keith-wood.name/calendars.html +/* http://keith-wood.name/calendars.html Arabic localisation for calendars datepicker for jQuery. Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.com */ (function($) { @@ -110,7 +109,7 @@ }; $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar']); })(jQuery); -/* http://keith-wood.name/calendars.html +/* http://keith-wood.name/calendars.html Azerbaijani localisation for calendars datepicker for jQuery. Written by Jamil Najafov (necefov33@gmail.com). */ (function($) { @@ -608,7 +607,7 @@ clearText: 'Limpar', clearStatus: 'Borrar data actual', closeText: 'Pechar', closeStatus: 'Pechar sen gardar', yearStatus: 'Amosar outro ano', monthStatus: 'Amosar outro mes', - weekHeader: 'Sm', weekStatus: 'Semana do ano', + weekText: 'Sm', weekStatus: 'Semana do ano', dayStatus: 'D, M d', defaultStatus: 'Selecciona Data', isRTL: false }; diff --git a/jquery.calendars.picker.lang.min.js b/jquery.calendars.picker.lang.min.js index e74adf3..02d8337 100644 --- a/jquery.calendars.picker.lang.min.js +++ b/jquery.calendars.picker.lang.min.js @@ -1,6 +1,6 @@ /* http://keith-wood.name/calendars.html - Calendars date picker localisations for jQuery v2.0.0. + Calendars date picker localisations for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ -(function($){$.calendarsPicker.regionalOptions['af']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Vorige',prevStatus:'Vertoon vorige maand',prevJumpText:'<<',prevJumpStatus:'Vertoon vorige jaar',nextText:'Volgende',nextStatus:'Vertoon volgende maand',nextJumpText:'>>',nextJumpStatus:'Vertoon volgende jaar',currentText:'Vandag',currentStatus:'Vertoon huidige maand',todayText:'Vandag',todayStatus:'Vertoon huidige maand',clearText:'Vee uit',clearStatus:'Verwyder die huidige datum',closeText:'Klaar',closeStatus:'Sluit sonder verandering',yearStatus:'Vertoon \'n ander jaar',monthStatus:'Vertoon \'n ander maand',weekText:'Wk',weekStatus:'Week van die jaar',dayStatus:'Kies DD, M d',defaultStatus:'Kies \'n datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['af'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['am']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ያለፈ',prevStatus:'ያለፈውን ወር አሳይ',prevJumpText:'<<',prevJumpStatus:'ያለፈውን ዓመት አሳይ',nextText:'ቀጣይ',nextStatus:'ቀጣዩን ወር አሳይ',nextJumpText:'>>',nextJumpStatus:'ቀጣዩን ዓመት አሳይ',currentText:'አሁን',currentStatus:'የአሁኑን ወር አሳይ',todayText:'ዛሬ',todayStatus:'የዛሬን ወር አሳይ',clearText:'አጥፋ',clearStatus:'የተመረጠውን ቀን አጥፋ',closeText:'ዝጋ',closeStatus:'የቀን መምረጫውን ዝጋ',yearStatus:'ዓመቱን ቀይር',monthStatus:'ወሩን ቀይር',weekText:'ሳም',weekStatus:'የዓመቱ ሳምንት ',dayStatus:'DD, M d, yyyy ምረጥ',defaultStatus:'ቀን ምረጥ',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['am'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-DZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-DZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-EG']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['az']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Geri',prevStatus:'Əvvəlki ay',prevJumpText:'<<',prevJumpStatus:'Əvvəlki il',nextText:'İrəli>',nextStatus:'Sonrakı ay',nextJumpText:'>>',nextJumpStatus:'Sonrakı il',currentText:'Bugün',currentStatus:'İndiki ay',todayText:'Bugün',todayStatus:'İndiki ay',clearText:'Təmizlə',clearStatus:'Tarixi sil',closeText:'Bağla',closeStatus:'Təqvimi bağla',yearStatus:'Başqa il',monthStatus:'Başqa ay',weekText:'Hf',weekStatus:'Həftələr',dayStatus:'D, M d seçin',defaultStatus:'Bir tarix seçin',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['az'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bg']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<назад',prevStatus:'покажи последния месец',prevJumpText:'<<',prevJumpStatus:'',nextText:'напред>',nextStatus:'покажи следващия месец',nextJumpText:'>>',nextJumpStatus:'',currentText:'днес',currentStatus:'',todayText:'днес',todayStatus:'',clearText:'изчисти',clearStatus:'изчисти актуалната дата',closeText:'затвори',closeStatus:'затвори без промени',yearStatus:'покажи друга година',monthStatus:'покажи друг месец',weekText:'Wk',weekStatus:'седмица от месеца',dayStatus:'Избери D, M d',defaultStatus:'Избери дата',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bg'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'',todayText:'Danas',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Zatvori',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ca']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seg>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Avui',currentStatus:'',todayText:'Avui',todayStatus:'',clearText:'Netejar',clearStatus:'',closeText:'Tancar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ca'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['cs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Dříve',prevStatus:'Přejít na předchozí měsí',prevJumpText:'<<',prevJumpStatus:'',nextText:'Později>',nextStatus:'Přejít na další měsíc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nyní',currentStatus:'Přejde na aktuální měsíc',todayText:'Nyní',todayStatus:'Přejde na aktuální měsíc',clearText:'Vymazat',clearStatus:'Vymaže zadané datum',closeText:'Zavřít',closeStatus:'Zavře kalendář beze změny',yearStatus:'Přejít na jiný rok',monthStatus:'Přejít na jiný měsíc',weekText:'Týd',weekStatus:'Týden v roce',dayStatus:'\'Vyber\' DD, M d',defaultStatus:'Vyberte datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['cs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['da']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Forrige',prevStatus:'Vis forrige måned',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næste>',nextStatus:'Vis næste måned',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'Vis aktuel måned',todayText:'Idag',todayStatus:'Vis aktuel måned',clearText:'Nulstil',clearStatus:'Nulstil den aktuelle dato',closeText:'Luk',closeStatus:'Luk uden ændringer',yearStatus:'Vis et andet år',monthStatus:'Vis en anden måned',weekText:'Uge',weekStatus:'Årets uge',dayStatus:'Vælg D, M d',defaultStatus:'Vælg en dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['da'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'nächster>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schliessen',closeStatus:'ohne Änderungen schliessen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'Vor>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schließen',closeStatus:'ohne Änderungen schließen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['el']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Προηγούμενος',prevStatus:'Επισκόπηση προηγούμενου μήνα',prevJumpText:'<<',prevJumpStatus:'',nextText:'Επόμενος',nextStatus:'Επισκόπηση επόμενου μήνα',nextJumpText:'>>',nextJumpStatus:'',currentText:'Τρέχων Μήνας',currentStatus:'Επισκόπηση τρέχοντος μήνα',todayText:'Τρέχων Μήνας',todayStatus:'Επισκόπηση τρέχοντος μήνα',clearText:'Σβήσιμο',clearStatus:'Σβήσιμο της επιλεγμένης ημερομηνίας',closeText:'Κλείσιμο',closeStatus:'Κλείσιμο χωρίς αλλαγή',yearStatus:'Επισκόπηση άλλου έτους',monthStatus:'Επισκόπηση άλλου μήνα',weekText:'Εβδ',weekStatus:'',dayStatus:'Επιλογή DD d MM',defaultStatus:'Επιλέξτε μια ημερομηνία',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['el'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-AU']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-AU'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-GB']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-GB'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-NZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-NZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anta',prevStatus:'Vidi la antaŭan monaton',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sekv>',nextStatus:'Vidi la sekvan monaton',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nuna',currentStatus:'Vidi la nunan monaton',todayText:'Nuna',todayStatus:'Vidi la nunan monaton',clearText:'Vakigi',clearStatus:'',closeText:'Fermi',closeStatus:'Fermi sen modifi',yearStatus:'Vidi alian jaron',monthStatus:'Vidi alian monaton',weekText:'Sb',weekStatus:'',dayStatus:'Elekti DD, MM d',defaultStatus:'Elekti la daton',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-AR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-AR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-PE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD d, MM yyyy',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-PE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['et']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Eelnev',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Järgnev',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Täna',currentStatus:'',todayText:'Täna',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Sulge',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['et'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Aur',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Hur>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Gaur',currentStatus:'',todayText:'Gaur',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Egina',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fa']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<قبلي',prevStatus:'نمايش ماه قبل',prevJumpText:'<<',prevJumpStatus:'',nextText:'بعدي>',nextStatus:'نمايش ماه بعد',nextJumpText:'>>',nextJumpStatus:'',currentText:'امروز',currentStatus:'نمايش ماه جاري',todayText:'امروز',todayStatus:'نمايش ماه جاري',clearText:'حذف تاريخ',clearStatus:'پاک کردن تاريخ جاري',closeText:'بستن',closeStatus:'بستن بدون اعمال تغييرات',yearStatus:'نمايش سال متفاوت',monthStatus:'نمايش ماه متفاوت',weekText:'هف',weekStatus:'هفتهِ سال',dayStatus:'انتخاب D, M d',defaultStatus:'انتخاب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fa'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Edellinen',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seuraava»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Tänään',currentStatus:'',todayText:'Tänään',todayStatus:'',clearText:'Tyhjennä',clearStatus:'',closeText:'Sulje',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sísta',prevStatus:'Vís sísta mánaðan',prevJumpText:'<<',prevJumpStatus:'Vís sísta árið',nextText:'Næsta>',nextStatus:'Vís næsta mánaðan',nextJumpText:'>>',nextJumpStatus:'Vís næsta árið',currentText:'Hesin',currentStatus:'Vís hendan mánaðan',todayText:'Í dag',todayStatus:'Vís mánaðan fyri í dag',clearText:'Strika',clearStatus:'Strika allir mánaðarnar',closeText:'Goym',closeStatus:'Goym hetta vindeyðga',yearStatus:'Broyt árið',monthStatus:'Broyt mánaðans',weekText:'Vk',weekStatus:'Vika av árinum',dayStatus:'Vel DD, M d, yyyy',defaultStatus:'Vel ein dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'Amosar mes anterior',prevJumpText:'<<',prevJumpStatus:'Amosar ano anterior',nextText:'Seg>',nextStatus:'Amosar mes seguinte',nextJumpText:'>>',nextJumpStatus:'Amosar ano seguinte',currentText:'Hoxe',currentStatus:'Amosar mes actual',todayText:'Hoxe',todayStatus:'Amosar mes actual',clearText:'Limpar',clearStatus:'Borrar data actual',closeText:'Pechar',closeStatus:'Pechar sen gardar',yearStatus:'Amosar outro ano',monthStatus:'Amosar outro mes',weekHeader:'Sm',weekStatus:'Semana do ano',dayStatus:'D, M d',defaultStatus:'Selecciona Data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<પાછળ',prevStatus:'પાછલો મહિનો બતાવો',prevJumpText:'<<',prevJumpStatus:'પાછળ',nextText:'આગળ>',nextStatus:'આગલો મહિનો બતાવો',nextJumpText:'>>',nextJumpStatus:'આગળ',currentText:'આજે',currentStatus:'આજનો દિવસ બતાવો',todayText:'આજે',todayStatus:'આજનો દિવસ',clearText:'ભૂંસો',clearStatus:'હાલ પસંદ કરેલી તારીખ ભૂંસો',closeText:'બંધ કરો',closeStatus:'તારીખ પસંદ કર્યા વગર બંધ કરો',yearStatus:'જુદુ વર્ષ બતાવો',monthStatus:'જુદો મહિનો બતાવો',weekText:'અઠવાડિયું',weekStatus:'અઠવાડિયું',dayStatus:'અઠવાડિયાનો પહેલો દિવસ પસંદ કરો',defaultStatus:'તારીખ પસંદ કરો',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['he']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<הקודם',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'הבא>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'היום',currentStatus:'',todayText:'היום',todayStatus:'',clearText:'נקה',clearStatus:'',closeText:'סגור',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['he'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hi-IN']={renderer:$.calendarsPicker.defaultRenderer,prevText:'पिछला',prevStatus:'पिछला महीना देखें',prevJumpText:'<<',prevJumpStatus:'पिछला वर्ष देखें',nextText:'अगला',nextStatus:'अगला महीना देखें',nextJumpText:'>>',nextJumpStatus:'अगला वर्ष देखें',currentText:'वर्तमान',currentStatus:'वर्तमान महीना देखें',todayText:'आज',todayStatus:'वर्तमान दिन देखें',clearText:'साफ',clearStatus:'वर्तमान दिनांक मिटाए',closeText:'समाप्त',closeStatus:'बदलाव के बिना बंद',yearStatus:'एक अलग वर्ष का चयन करें',monthStatus:'एक अलग महीने का चयन करें',weekText:'Wk',weekStatus:'वर्ष का सप्ताह',dayStatus:'चुने DD, M d',defaultStatus:'एक तिथि का चयन करें',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hi-IN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'Prikaži slijedeći mjesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'Današnji datum',todayText:'Danas',todayStatus:'Današnji datum',clearText:'izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Tje',weekStatus:'Tjedanr',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« vissza',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'előre »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ma',currentStatus:'',todayText:'ma',todayStatus:'',clearText:'törlés',clearStatus:'',closeText:'bezárás',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Hé',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hy']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Նախ.',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Հաջ.>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Այսօր',currentStatus:'',todayText:'Այսօր',todayStatus:'',clearText:'Մաքրել',clearStatus:'',closeText:'Փակել',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ՇԲՏ',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hy'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['id']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mundur',prevStatus:'Tampilkan bulan sebelumnya',prevJumpText:'<<',prevJumpStatus:'',nextText:'maju>',nextStatus:'Tampilkan bulan berikutnya',nextJumpText:'>>',nextJumpStatus:'',currentText:'hari ini',currentStatus:'Tampilkan bulan sekarang',todayText:'hari ini',todayStatus:'Tampilkan bulan sekarang',clearText:'kosongkan',clearStatus:'bersihkan tanggal yang sekarang',closeText:'Tutup',closeStatus:'Tutup tanpa mengubah',yearStatus:'Tampilkan tahun yang berbeda',monthStatus:'Tampilkan bulan yang berbeda',weekText:'Mg',weekStatus:'Minggu dalam tahu',dayStatus:'pilih le DD, MM d',defaultStatus:'Pilih Tanggal',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['id'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['is']={renderer:$.calendarsPicker.defaultRenderer,prevText:'< Fyrri',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næsti >',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Í dag',currentStatus:'',todayText:'Í dag',todayStatus:'',clearText:'Hreinsa',clearStatus:'',closeText:'Loka',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vika',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['is'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['it']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prec',prevStatus:'Mese precedente',prevJumpText:'<<',prevJumpStatus:'Mostra l\'anno precedente',nextText:'Succ>',nextStatus:'Mese successivo',nextJumpText:'>>',nextJumpStatus:'Mostra l\'anno successivo',currentText:'Oggi',currentStatus:'Mese corrente',todayText:'Oggi',todayStatus:'Mese corrente',clearText:'Svuota',clearStatus:'Annulla',closeText:'Chiudi',closeStatus:'Chiudere senza modificare',yearStatus:'Seleziona un altro anno',monthStatus:'Seleziona un altro mese',weekText:'Sm',weekStatus:'Settimana dell\'anno',dayStatus:'\'Seleziona\' DD, M d',defaultStatus:'Scegliere una data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['it'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ja']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<前',prevStatus:'前月を表示します',prevJumpText:'<<',prevJumpStatus:'前年を表示します',nextText:'次>',nextStatus:'翌月を表示します',nextJumpText:'>>',nextJumpStatus:'翌年を表示します',currentText:'今日',currentStatus:'今月を表示します',todayText:'今日',todayStatus:'今月を表示します',clearText:'クリア',clearStatus:'日付をクリアします',closeText:'閉じる',closeStatus:'変更せずに閉じます',yearStatus:'表示する年を変更します',monthStatus:'表示する月を変更します',weekText:'週',weekStatus:'暦週で第何週目かを表します',dayStatus:'yyyy/mm/dd',defaultStatus:'日付を選択します',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ja'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ka']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<უკან',prevStatus:'წინა თვე',prevJumpText:'<<',prevJumpStatus:'წინა წელი',nextText:'წინ>',nextStatus:'შემდეგი თვე',nextJumpText:'>>',nextJumpStatus:'შემდეგი წელი',currentText:'მიმდინარე',currentStatus:'მიმდინარე თვე',todayText:'დღეს',todayStatus:'მიმდინარე დღე',clearText:'გასუფთავება',clearStatus:'მიმდინარე თარიღის წაშლა',closeText:'არის',closeStatus:'დახურვა უცვლილებოდ',yearStatus:'სხვა წელი',monthStatus:'სხვა თვე',weekText:'კვ',weekStatus:'წლის კვირა',dayStatus:'აირჩიეთ DD, M d',defaultStatus:'აიღჩიეთ თარიღი',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ka'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['km']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ថយ​ក្រោយ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ទៅ​មុខ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ថ្ងៃ​នេះ',currentStatus:'',todayText:'ថ្ងៃ​នេះ',todayStatus:'',clearText:'X',clearStatus:'',closeText:'រួច​រាល់',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['km'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ko']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy년 MM')}),prevText:'이전달',prevStatus:'이전달을 표시합니다',prevJumpText:'<<',prevJumpStatus:'이전 연도를 표시합니다',nextText:'다음달',nextStatus:'다음달을 표시합니다',nextJumpText:'>>',nextJumpStatus:'다음 연도를 표시합니다',currentText:'현재',currentStatus:'입력한 달을 표시합니다',todayText:'오늘',todayStatus:'이번달을 표시합니다',clearText:'지우기',clearStatus:'입력한 날짜를 지웁니다',closeText:'닫기',closeStatus:'',yearStatus:'표시할 연도를 변경합니다',monthStatus:'표시할 월을 변경합니다',weekText:'Wk',weekStatus:'해당 연도의 주차',dayStatus:'M d일 (D)',defaultStatus:'날짜를 선택하세요',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ko'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Atgal',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Pirmyn>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šiandien',currentStatus:'',todayText:'Šiandien',todayStatus:'',clearText:'Išvalyti',clearStatus:'',closeText:'Uždaryti',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Iepr',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nāka',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šodien',currentStatus:'',todayText:'Šodien',todayStatus:'',clearText:'Notīrīt',clearStatus:'',closeText:'Aizvērt',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Nav',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me-ME']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'Prikaži prethodnu godinu',nextText:'>',nextStatus:'Prikaži sljedeći mjesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sljedeću godinu',currentText:'Danas',currentStatus:'Tekući mjesec',todayText:'Danas',todayStatus:'Tekući mjesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи претходни мјесец',prevJumpText:'<<',prevJumpStatus:'Прикажи претходну годину',nextText:'>',nextStatus:'Прикажи сљедећи мјесец',nextJumpText:'>>',nextJumpStatus:'Прикажи сљедећу годину',currentText:'Данас',currentStatus:'Текући мјесец',todayText:'Данас',todayStatus:'Текући мјесец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи мјесеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Претх.',prevStatus:'Прикажи го претходниот месец',prevJumpText:'<<',prevJumpStatus:'Прикажи ја претходната година',nextText:'Следен',nextStatus:'Прикажи го следниот месец',nextJumpText:'>>',nextJumpStatus:'Прикажи ја следната година',currentText:'Тековен',currentStatus:'Прикажи го тековниот месец',todayText:'Денес',todayStatus:'Прикажи го денешниот месец',clearText:'Бриши',clearStatus:'Избриши го тековниот датум',closeText:'Затвори',closeStatus:'Затвори без промени',yearStatus:'Избери друга година',monthStatus:'Избери друг месец',weekText:'Нед',weekStatus:'Недела во годината',dayStatus:'Избери DD, M d',defaultStatus:'Избери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ml']={renderer:$.calendarsPicker.defaultRenderer,prevText:'മുന്നത്തെ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'അടുത്തത് ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ഇന്ന്',currentStatus:'',todayText:'ഇന്ന്',todayStatus:'',clearText:'X',clearStatus:'',closeText:'ശരി',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ആ',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ml'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ms']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sebelum',prevStatus:'Tunjukkan bulan lepas',prevJumpText:'<<',prevJumpStatus:'Tunjukkan tahun lepas',nextText:'Selepas>',nextStatus:'Tunjukkan bulan depan',nextJumpText:'>>',nextJumpStatus:'Tunjukkan tahun depan',currentText:'hari ini',currentStatus:'Tunjukkan bulan terkini',todayText:'hari ini',todayStatus:'Tunjukkan bulan terkini',clearText:'Padam',clearStatus:'Padamkan tarikh terkini',closeText:'Tutup',closeStatus:'Tutup tanpa perubahan',yearStatus:'Tunjukkan tahun yang lain',monthStatus:'Tunjukkan bulan yang lain',weekText:'Mg',weekStatus:'Minggu bagi tahun ini',dayStatus:'DD, d MM',defaultStatus:'Sila pilih tarikh',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ms'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Ta Qabel',prevStatus:'Ix-xahar ta qabel',prevJumpText:'<<',prevJumpStatus:'Is-sena ta qabel',nextText:'Li Jmiss',nextStatus:'Ix-xahar li jmiss',nextJumpText:'>>',nextJumpStatus:'Is-sena li jmiss',currentText:'Illum',currentStatus:'Ix-xahar ta llum',todayText:'Illum',todayStatus:'Uri ix-xahar ta llum',clearText:'Ħassar',clearStatus:'Ħassar id-data',closeText:'Lest',closeStatus:'Għalaq mingħajr tibdiliet',yearStatus:'Uri sena differenti',monthStatus:'Uri xahar differenti',weekText:'Ġm',weekStatus:'Il-Ġimgħa fis-sena',dayStatus:'Għazel DD, M d',defaultStatus:'Għazel data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl-BE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd/mm/yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl-BE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd-mm-yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['no']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Forrige',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Neste»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'I dag',currentStatus:'',todayText:'I dag',todayStatus:'',clearText:'Tøm',clearStatus:'',closeText:'Lukk',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Uke',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['no'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Poprzedni',prevStatus:'Pokaż poprzedni miesiąc',prevJumpText:'<<',prevJumpStatus:'',nextText:'Następny>',nextStatus:'Pokaż następny miesiąc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dziś',currentStatus:'Pokaż aktualny miesiąc',todayText:'Dziś',todayStatus:'Pokaż aktualny miesiąc',clearText:'Wyczyść',clearStatus:'Wyczyść obecną datę',closeText:'Zamknij',closeStatus:'Zamknij bez zapisywania',yearStatus:'Pokaż inny rok',monthStatus:'Pokaż inny miesiąc',weekText:'Tydz',weekStatus:'Tydzień roku',dayStatus:'\'Wybierz\' DD, M d',defaultStatus:'Wybierz datę',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pt-BR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anterior',prevStatus:'Mostra o mês anterior',prevJumpText:'<<',prevJumpStatus:'Mostra o ano anterior',nextText:'Próximo>',nextStatus:'Mostra o próximo mês',nextJumpText:'>>',nextJumpStatus:'Mostra o próximo ano',currentText:'Atual',currentStatus:'Mostra o mês atual',todayText:'Hoje',todayStatus:'Vai para hoje',clearText:'Limpar',clearStatus:'Limpar data',closeText:'Fechar',closeStatus:'Fechar o calendário',yearStatus:'Selecionar ano',monthStatus:'Selecionar mês',weekText:'s',weekStatus:'Semana do ano',dayStatus:'DD, d \'de\' M \'de\' yyyy',defaultStatus:'Selecione um dia',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pt-BR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['rm']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Suandant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Precedent>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Actual',currentStatus:'',todayText:'Actual',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Serrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'emna',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['rm'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ro']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Precedenta',prevStatus:'Arata luna precedenta',prevJumpText:'««',prevJumpStatus:'',nextText:'Urmatoare»',nextStatus:'Arata luna urmatoare',nextJumpText:'»»',nextJumpStatus:'',currentText:'Azi',currentStatus:'Arata luna curenta',todayText:'Azi',todayStatus:'Arata luna curenta',clearText:'Curat',clearStatus:'Sterge data curenta',closeText:'Închide',closeStatus:'Închide fara schimbare',yearStatus:'Arat un an diferit',monthStatus:'Arata o luna diferita',weekText:'Săpt',weekStatus:'Săptamana anului',dayStatus:'Selecteaza DD, M d',defaultStatus:'Selecteaza o data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ro'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ru']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Пред',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'След>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сегодня',currentStatus:'',todayText:'Сегодня',todayStatus:'',clearText:'Очистить',clearStatus:'',closeText:'Закрыть',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ru'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Predchádzajúci',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nasledujúci>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dnes',currentStatus:'',todayText:'Dnes',todayStatus:'',clearText:'Zmazať',clearStatus:'',closeText:'Zavrieť',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ty',weekStatus:'',dayStatus:'DD. M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prejšnji',prevStatus:'Prikaži prejšnji mesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'Naslednji>',nextStatus:'Prikaži naslednji mesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Trenutni',currentStatus:'Prikaži trenutni mesec',todayText:'Trenutni',todayStatus:'Prikaži trenutni mesec',clearText:'Izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zapri',closeStatus:'Zapri brez spreminjanja',yearStatus:'Prikaži drugo leto',monthStatus:'Prikaži drug mesec',weekText:'Teden',weekStatus:'Teden v letu',dayStatus:'Izberi DD, d MM yy',defaultStatus:'Izbira datuma',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sq']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mbrapa',prevStatus:'trego muajin e fundit',prevJumpText:'<<',prevJumpStatus:'',nextText:'Përpara>',nextStatus:'trego muajin tjetër',nextJumpText:'>>',nextJumpStatus:'',currentText:'sot',currentStatus:'',todayText:'sot',todayStatus:'',clearText:'fshije',clearStatus:'fshije datën aktuale',closeText:'mbylle',closeStatus:'mbylle pa ndryshime',yearStatus:'trego tjetër vit',monthStatus:'trego muajin tjetër',weekText:'Ja',weekStatus:'Java e muajit',dayStatus:'\'Zgjedh\' D, M d',defaultStatus:'Zgjedhe një datë',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sq'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr-SR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži predhodni mesec',prevJumpText:'<<',prevJumpStatus:'Prikaži predhodnu godinu',nextText:'>',nextStatus:'Prikaži sledeći mesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sledeću godinu',currentText:'Danas',currentStatus:'Tekući mesec',todayText:'Danas',todayStatus:'Tekući mesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr-SR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи предходни месец',prevJumpText:'<<',prevJumpStatus:'Прикажи предходну годину',nextText:'>',nextStatus:'Прикажи слецећи месец',nextJumpText:'>>',nextJumpStatus:'Прикажи следећу годину',currentText:'Данас',currentStatus:'Текући месец',todayText:'Данас',todayStatus:'Текући месец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи месеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Förra',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nästa»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'',todayText:'Idag',todayStatus:'',clearText:'Rensa',clearStatus:'',closeText:'Stäng',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ve',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ta']={renderer:$.calendarsPicker.defaultRenderer,prevText:'முன்னையது',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'அடுத்தது',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'இன்று',currentStatus:'',todayText:'இன்று',todayStatus:'',clearText:'அழி',clearStatus:'',closeText:'மூடு',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'D, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ta'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['th']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« ย้อน',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ถัดไป »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'วันนี้',currentStatus:'',todayText:'วันนี้',todayStatus:'',clearText:'ลบ',clearStatus:'',closeText:'ปิด',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['th'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<geri',prevStatus:'önceki ayı göster',prevJumpText:'<<',prevJumpStatus:'',nextText:'ileri>',nextStatus:'sonraki ayı göster',nextJumpText:'>>',nextJumpStatus:'',currentText:'bugün',currentStatus:'',todayText:'bugün',todayStatus:'',clearText:'temizle',clearStatus:'geçerli tarihi temizler',closeText:'kapat',closeStatus:'sadece göstergeyi kapat',yearStatus:'başka yıl',monthStatus:'başka ay',weekText:'Hf',weekStatus:'Ayın haftaları',dayStatus:'D, M d seçiniz',defaultStatus:'Bir tarih seçiniz',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Алдагы',prevStatus:'Алдагы айны күрсәтү',prevJumpText:'<<',prevJumpStatus:'Алдагы елны күрсәтү',nextText:'Киләсе',nextStatus:'Киләсе айны күрсәтү',nextJumpText:'>>',nextJumpStatus:'Киләсе елны күрсәтү',currentText:'Хәзер',currentStatus:'Хәзерге айны күрсәтү',todayText:'Бүген',todayStatus:'Бүгенге айны күрсәтү',clearText:'Чистарту',clearStatus:'Барлык көннәрне чистарту',closeText:'Ябарга',closeStatus:'Көн сайлауны ябарга',yearStatus:'Елны кертегез',monthStatus:'Айны кертегез',weekText:'Атна',weekStatus:'Елда атна саны',dayStatus:'DD, M d',defaultStatus:'Көнне сайлагыз',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['uk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сьогодні',currentStatus:'',todayText:'Сьогодні',todayStatus:'',clearText:'Очистити',clearStatus:'',closeText:'Закрити',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['uk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ur']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<گذشتہ',prevStatus:'ماه گذشتہ',prevJumpText:'<<',prevJumpStatus:'برس گذشتہ',nextText:'آئندہ>',nextStatus:'ماه آئندہ',nextJumpText:'>>',nextJumpStatus:'برس آئندہ',currentText:'رواں',currentStatus:'ماه رواں',todayText:'آج',todayStatus:'آج',clearText:'حذف تاريخ',clearStatus:'کریں حذف تاریخ',closeText:'کریں بند',closeStatus:'کیلئے کرنے بند',yearStatus:'برس تبدیلی',monthStatus:'ماه تبدیلی',weekText:'ہفتہ',weekStatus:'ہفتہ',dayStatus:'انتخاب D, M d',defaultStatus:'کریں منتخب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ur'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['vi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Trước',prevStatus:'Tháng trước',prevJumpText:'<<',prevJumpStatus:'Năm trước',nextText:'Tiếp>',nextStatus:'Tháng sau',nextJumpText:'>>',nextJumpStatus:'Năm sau',currentText:'Hôm nay',currentStatus:'Tháng hiện tại',todayText:'Hôm nay',todayStatus:'Tháng hiện tại',clearText:'Xóa',clearStatus:'Xóa ngày hiện tại',closeText:'Đóng',closeStatus:'Đóng và không lưu lại thay đổi',yearStatus:'Năm khác',monthStatus:'Tháng khác',weekText:'Tu',weekStatus:'Tuần trong năm',dayStatus:'Đang chọn DD, \'ngày\' d M',defaultStatus:'Chọn ngày',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['vi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-CN']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'显示上月',prevJumpText:'<<',prevJumpStatus:'显示上一年',nextText:'下月>',nextStatus:'显示下月',nextJumpText:'>>',nextJumpStatus:'显示下一年',currentText:'今天',currentStatus:'显示本月',todayText:'今天',todayStatus:'显示本月',clearText:'清除',clearStatus:'清除已选日期',closeText:'关闭',closeStatus:'不改变当前选择',yearStatus:'选择年份',monthStatus:'选择月份',weekText:'周',weekStatus:'年内周次',dayStatus:'选择 m月 d日, DD',defaultStatus:'请选择日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-HK']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-HK'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-TW']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-TW'])})(jQuery); \ No newline at end of file +(function($){$.calendarsPicker.regionalOptions['af']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Vorige',prevStatus:'Vertoon vorige maand',prevJumpText:'<<',prevJumpStatus:'Vertoon vorige jaar',nextText:'Volgende',nextStatus:'Vertoon volgende maand',nextJumpText:'>>',nextJumpStatus:'Vertoon volgende jaar',currentText:'Vandag',currentStatus:'Vertoon huidige maand',todayText:'Vandag',todayStatus:'Vertoon huidige maand',clearText:'Vee uit',clearStatus:'Verwyder die huidige datum',closeText:'Klaar',closeStatus:'Sluit sonder verandering',yearStatus:'Vertoon \'n ander jaar',monthStatus:'Vertoon \'n ander maand',weekText:'Wk',weekStatus:'Week van die jaar',dayStatus:'Kies DD, M d',defaultStatus:'Kies \'n datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['af'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['am']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ያለፈ',prevStatus:'ያለፈውን ወር አሳይ',prevJumpText:'<<',prevJumpStatus:'ያለፈውን ዓመት አሳይ',nextText:'ቀጣይ',nextStatus:'ቀጣዩን ወር አሳይ',nextJumpText:'>>',nextJumpStatus:'ቀጣዩን ዓመት አሳይ',currentText:'አሁን',currentStatus:'የአሁኑን ወር አሳይ',todayText:'ዛሬ',todayStatus:'የዛሬን ወር አሳይ',clearText:'አጥፋ',clearStatus:'የተመረጠውን ቀን አጥፋ',closeText:'ዝጋ',closeStatus:'የቀን መምረጫውን ዝጋ',yearStatus:'ዓመቱን ቀይር',monthStatus:'ወሩን ቀይር',weekText:'ሳም',weekStatus:'የዓመቱ ሳምንት ',dayStatus:'DD, M d, yyyy ምረጥ',defaultStatus:'ቀን ምረጥ',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['am'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-DZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-DZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-EG']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['az']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Geri',prevStatus:'Əvvəlki ay',prevJumpText:'<<',prevJumpStatus:'Əvvəlki il',nextText:'İrəli>',nextStatus:'Sonrakı ay',nextJumpText:'>>',nextJumpStatus:'Sonrakı il',currentText:'Bugün',currentStatus:'İndiki ay',todayText:'Bugün',todayStatus:'İndiki ay',clearText:'Təmizlə',clearStatus:'Tarixi sil',closeText:'Bağla',closeStatus:'Təqvimi bağla',yearStatus:'Başqa il',monthStatus:'Başqa ay',weekText:'Hf',weekStatus:'Həftələr',dayStatus:'D, M d seçin',defaultStatus:'Bir tarix seçin',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['az'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bg']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<назад',prevStatus:'покажи последния месец',prevJumpText:'<<',prevJumpStatus:'',nextText:'напред>',nextStatus:'покажи следващия месец',nextJumpText:'>>',nextJumpStatus:'',currentText:'днес',currentStatus:'',todayText:'днес',todayStatus:'',clearText:'изчисти',clearStatus:'изчисти актуалната дата',closeText:'затвори',closeStatus:'затвори без промени',yearStatus:'покажи друга година',monthStatus:'покажи друг месец',weekText:'Wk',weekStatus:'седмица от месеца',dayStatus:'Избери D, M d',defaultStatus:'Избери дата',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bg'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'',todayText:'Danas',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Zatvori',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ca']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seg>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Avui',currentStatus:'',todayText:'Avui',todayStatus:'',clearText:'Netejar',clearStatus:'',closeText:'Tancar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ca'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['cs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Dříve',prevStatus:'Přejít na předchozí měsí',prevJumpText:'<<',prevJumpStatus:'',nextText:'Později>',nextStatus:'Přejít na další měsíc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nyní',currentStatus:'Přejde na aktuální měsíc',todayText:'Nyní',todayStatus:'Přejde na aktuální měsíc',clearText:'Vymazat',clearStatus:'Vymaže zadané datum',closeText:'Zavřít',closeStatus:'Zavře kalendář beze změny',yearStatus:'Přejít na jiný rok',monthStatus:'Přejít na jiný měsíc',weekText:'Týd',weekStatus:'Týden v roce',dayStatus:'\'Vyber\' DD, M d',defaultStatus:'Vyberte datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['cs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['da']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Forrige',prevStatus:'Vis forrige måned',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næste>',nextStatus:'Vis næste måned',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'Vis aktuel måned',todayText:'Idag',todayStatus:'Vis aktuel måned',clearText:'Nulstil',clearStatus:'Nulstil den aktuelle dato',closeText:'Luk',closeStatus:'Luk uden ændringer',yearStatus:'Vis et andet år',monthStatus:'Vis en anden måned',weekText:'Uge',weekStatus:'Årets uge',dayStatus:'Vælg D, M d',defaultStatus:'Vælg en dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['da'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'nächster>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schliessen',closeStatus:'ohne Änderungen schliessen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'Vor>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schließen',closeStatus:'ohne Änderungen schließen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['el']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Προηγούμενος',prevStatus:'Επισκόπηση προηγούμενου μήνα',prevJumpText:'<<',prevJumpStatus:'',nextText:'Επόμενος',nextStatus:'Επισκόπηση επόμενου μήνα',nextJumpText:'>>',nextJumpStatus:'',currentText:'Τρέχων Μήνας',currentStatus:'Επισκόπηση τρέχοντος μήνα',todayText:'Τρέχων Μήνας',todayStatus:'Επισκόπηση τρέχοντος μήνα',clearText:'Σβήσιμο',clearStatus:'Σβήσιμο της επιλεγμένης ημερομηνίας',closeText:'Κλείσιμο',closeStatus:'Κλείσιμο χωρίς αλλαγή',yearStatus:'Επισκόπηση άλλου έτους',monthStatus:'Επισκόπηση άλλου μήνα',weekText:'Εβδ',weekStatus:'',dayStatus:'Επιλογή DD d MM',defaultStatus:'Επιλέξτε μια ημερομηνία',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['el'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-AU']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-AU'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-GB']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-GB'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-NZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-NZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anta',prevStatus:'Vidi la antaŭan monaton',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sekv>',nextStatus:'Vidi la sekvan monaton',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nuna',currentStatus:'Vidi la nunan monaton',todayText:'Nuna',todayStatus:'Vidi la nunan monaton',clearText:'Vakigi',clearStatus:'',closeText:'Fermi',closeStatus:'Fermi sen modifi',yearStatus:'Vidi alian jaron',monthStatus:'Vidi alian monaton',weekText:'Sb',weekStatus:'',dayStatus:'Elekti DD, MM d',defaultStatus:'Elekti la daton',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-AR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-AR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-PE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD d, MM yyyy',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-PE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['et']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Eelnev',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Järgnev',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Täna',currentStatus:'',todayText:'Täna',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Sulge',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['et'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Aur',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Hur>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Gaur',currentStatus:'',todayText:'Gaur',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Egina',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fa']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<قبلي',prevStatus:'نمايش ماه قبل',prevJumpText:'<<',prevJumpStatus:'',nextText:'بعدي>',nextStatus:'نمايش ماه بعد',nextJumpText:'>>',nextJumpStatus:'',currentText:'امروز',currentStatus:'نمايش ماه جاري',todayText:'امروز',todayStatus:'نمايش ماه جاري',clearText:'حذف تاريخ',clearStatus:'پاک کردن تاريخ جاري',closeText:'بستن',closeStatus:'بستن بدون اعمال تغييرات',yearStatus:'نمايش سال متفاوت',monthStatus:'نمايش ماه متفاوت',weekText:'هف',weekStatus:'هفتهِ سال',dayStatus:'انتخاب D, M d',defaultStatus:'انتخاب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fa'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Edellinen',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seuraava»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Tänään',currentStatus:'',todayText:'Tänään',todayStatus:'',clearText:'Tyhjennä',clearStatus:'',closeText:'Sulje',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sísta',prevStatus:'Vís sísta mánaðan',prevJumpText:'<<',prevJumpStatus:'Vís sísta árið',nextText:'Næsta>',nextStatus:'Vís næsta mánaðan',nextJumpText:'>>',nextJumpStatus:'Vís næsta árið',currentText:'Hesin',currentStatus:'Vís hendan mánaðan',todayText:'Í dag',todayStatus:'Vís mánaðan fyri í dag',clearText:'Strika',clearStatus:'Strika allir mánaðarnar',closeText:'Goym',closeStatus:'Goym hetta vindeyðga',yearStatus:'Broyt árið',monthStatus:'Broyt mánaðans',weekText:'Vk',weekStatus:'Vika av árinum',dayStatus:'Vel DD, M d, yyyy',defaultStatus:'Vel ein dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'Amosar mes anterior',prevJumpText:'<<',prevJumpStatus:'Amosar ano anterior',nextText:'Seg>',nextStatus:'Amosar mes seguinte',nextJumpText:'>>',nextJumpStatus:'Amosar ano seguinte',currentText:'Hoxe',currentStatus:'Amosar mes actual',todayText:'Hoxe',todayStatus:'Amosar mes actual',clearText:'Limpar',clearStatus:'Borrar data actual',closeText:'Pechar',closeStatus:'Pechar sen gardar',yearStatus:'Amosar outro ano',monthStatus:'Amosar outro mes',weekText:'Sm',weekStatus:'Semana do ano',dayStatus:'D, M d',defaultStatus:'Selecciona Data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<પાછળ',prevStatus:'પાછલો મહિનો બતાવો',prevJumpText:'<<',prevJumpStatus:'પાછળ',nextText:'આગળ>',nextStatus:'આગલો મહિનો બતાવો',nextJumpText:'>>',nextJumpStatus:'આગળ',currentText:'આજે',currentStatus:'આજનો દિવસ બતાવો',todayText:'આજે',todayStatus:'આજનો દિવસ',clearText:'ભૂંસો',clearStatus:'હાલ પસંદ કરેલી તારીખ ભૂંસો',closeText:'બંધ કરો',closeStatus:'તારીખ પસંદ કર્યા વગર બંધ કરો',yearStatus:'જુદુ વર્ષ બતાવો',monthStatus:'જુદો મહિનો બતાવો',weekText:'અઠવાડિયું',weekStatus:'અઠવાડિયું',dayStatus:'અઠવાડિયાનો પહેલો દિવસ પસંદ કરો',defaultStatus:'તારીખ પસંદ કરો',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['he']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<הקודם',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'הבא>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'היום',currentStatus:'',todayText:'היום',todayStatus:'',clearText:'נקה',clearStatus:'',closeText:'סגור',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['he'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hi-IN']={renderer:$.calendarsPicker.defaultRenderer,prevText:'पिछला',prevStatus:'पिछला महीना देखें',prevJumpText:'<<',prevJumpStatus:'पिछला वर्ष देखें',nextText:'अगला',nextStatus:'अगला महीना देखें',nextJumpText:'>>',nextJumpStatus:'अगला वर्ष देखें',currentText:'वर्तमान',currentStatus:'वर्तमान महीना देखें',todayText:'आज',todayStatus:'वर्तमान दिन देखें',clearText:'साफ',clearStatus:'वर्तमान दिनांक मिटाए',closeText:'समाप्त',closeStatus:'बदलाव के बिना बंद',yearStatus:'एक अलग वर्ष का चयन करें',monthStatus:'एक अलग महीने का चयन करें',weekText:'Wk',weekStatus:'वर्ष का सप्ताह',dayStatus:'चुने DD, M d',defaultStatus:'एक तिथि का चयन करें',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hi-IN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'Prikaži slijedeći mjesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'Današnji datum',todayText:'Danas',todayStatus:'Današnji datum',clearText:'izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Tje',weekStatus:'Tjedanr',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« vissza',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'előre »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ma',currentStatus:'',todayText:'ma',todayStatus:'',clearText:'törlés',clearStatus:'',closeText:'bezárás',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Hé',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hy']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Նախ.',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Հաջ.>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Այսօր',currentStatus:'',todayText:'Այսօր',todayStatus:'',clearText:'Մաքրել',clearStatus:'',closeText:'Փակել',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ՇԲՏ',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hy'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['id']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mundur',prevStatus:'Tampilkan bulan sebelumnya',prevJumpText:'<<',prevJumpStatus:'',nextText:'maju>',nextStatus:'Tampilkan bulan berikutnya',nextJumpText:'>>',nextJumpStatus:'',currentText:'hari ini',currentStatus:'Tampilkan bulan sekarang',todayText:'hari ini',todayStatus:'Tampilkan bulan sekarang',clearText:'kosongkan',clearStatus:'bersihkan tanggal yang sekarang',closeText:'Tutup',closeStatus:'Tutup tanpa mengubah',yearStatus:'Tampilkan tahun yang berbeda',monthStatus:'Tampilkan bulan yang berbeda',weekText:'Mg',weekStatus:'Minggu dalam tahu',dayStatus:'pilih le DD, MM d',defaultStatus:'Pilih Tanggal',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['id'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['is']={renderer:$.calendarsPicker.defaultRenderer,prevText:'< Fyrri',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næsti >',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Í dag',currentStatus:'',todayText:'Í dag',todayStatus:'',clearText:'Hreinsa',clearStatus:'',closeText:'Loka',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vika',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['is'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['it']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prec',prevStatus:'Mese precedente',prevJumpText:'<<',prevJumpStatus:'Mostra l\'anno precedente',nextText:'Succ>',nextStatus:'Mese successivo',nextJumpText:'>>',nextJumpStatus:'Mostra l\'anno successivo',currentText:'Oggi',currentStatus:'Mese corrente',todayText:'Oggi',todayStatus:'Mese corrente',clearText:'Svuota',clearStatus:'Annulla',closeText:'Chiudi',closeStatus:'Chiudere senza modificare',yearStatus:'Seleziona un altro anno',monthStatus:'Seleziona un altro mese',weekText:'Sm',weekStatus:'Settimana dell\'anno',dayStatus:'\'Seleziona\' DD, M d',defaultStatus:'Scegliere una data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['it'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ja']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<前',prevStatus:'前月を表示します',prevJumpText:'<<',prevJumpStatus:'前年を表示します',nextText:'次>',nextStatus:'翌月を表示します',nextJumpText:'>>',nextJumpStatus:'翌年を表示します',currentText:'今日',currentStatus:'今月を表示します',todayText:'今日',todayStatus:'今月を表示します',clearText:'クリア',clearStatus:'日付をクリアします',closeText:'閉じる',closeStatus:'変更せずに閉じます',yearStatus:'表示する年を変更します',monthStatus:'表示する月を変更します',weekText:'週',weekStatus:'暦週で第何週目かを表します',dayStatus:'yyyy/mm/dd',defaultStatus:'日付を選択します',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ja'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ka']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<უკან',prevStatus:'წინა თვე',prevJumpText:'<<',prevJumpStatus:'წინა წელი',nextText:'წინ>',nextStatus:'შემდეგი თვე',nextJumpText:'>>',nextJumpStatus:'შემდეგი წელი',currentText:'მიმდინარე',currentStatus:'მიმდინარე თვე',todayText:'დღეს',todayStatus:'მიმდინარე დღე',clearText:'გასუფთავება',clearStatus:'მიმდინარე თარიღის წაშლა',closeText:'არის',closeStatus:'დახურვა უცვლილებოდ',yearStatus:'სხვა წელი',monthStatus:'სხვა თვე',weekText:'კვ',weekStatus:'წლის კვირა',dayStatus:'აირჩიეთ DD, M d',defaultStatus:'აიღჩიეთ თარიღი',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ka'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['km']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ថយ​ក្រោយ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ទៅ​មុខ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ថ្ងៃ​នេះ',currentStatus:'',todayText:'ថ្ងៃ​នេះ',todayStatus:'',clearText:'X',clearStatus:'',closeText:'រួច​រាល់',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['km'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ko']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy년 MM')}),prevText:'이전달',prevStatus:'이전달을 표시합니다',prevJumpText:'<<',prevJumpStatus:'이전 연도를 표시합니다',nextText:'다음달',nextStatus:'다음달을 표시합니다',nextJumpText:'>>',nextJumpStatus:'다음 연도를 표시합니다',currentText:'현재',currentStatus:'입력한 달을 표시합니다',todayText:'오늘',todayStatus:'이번달을 표시합니다',clearText:'지우기',clearStatus:'입력한 날짜를 지웁니다',closeText:'닫기',closeStatus:'',yearStatus:'표시할 연도를 변경합니다',monthStatus:'표시할 월을 변경합니다',weekText:'Wk',weekStatus:'해당 연도의 주차',dayStatus:'M d일 (D)',defaultStatus:'날짜를 선택하세요',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ko'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Atgal',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Pirmyn>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šiandien',currentStatus:'',todayText:'Šiandien',todayStatus:'',clearText:'Išvalyti',clearStatus:'',closeText:'Uždaryti',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Iepr',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nāka',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šodien',currentStatus:'',todayText:'Šodien',todayStatus:'',clearText:'Notīrīt',clearStatus:'',closeText:'Aizvērt',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Nav',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me-ME']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'Prikaži prethodnu godinu',nextText:'>',nextStatus:'Prikaži sljedeći mjesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sljedeću godinu',currentText:'Danas',currentStatus:'Tekući mjesec',todayText:'Danas',todayStatus:'Tekući mjesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи претходни мјесец',prevJumpText:'<<',prevJumpStatus:'Прикажи претходну годину',nextText:'>',nextStatus:'Прикажи сљедећи мјесец',nextJumpText:'>>',nextJumpStatus:'Прикажи сљедећу годину',currentText:'Данас',currentStatus:'Текући мјесец',todayText:'Данас',todayStatus:'Текући мјесец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи мјесеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Претх.',prevStatus:'Прикажи го претходниот месец',prevJumpText:'<<',prevJumpStatus:'Прикажи ја претходната година',nextText:'Следен',nextStatus:'Прикажи го следниот месец',nextJumpText:'>>',nextJumpStatus:'Прикажи ја следната година',currentText:'Тековен',currentStatus:'Прикажи го тековниот месец',todayText:'Денес',todayStatus:'Прикажи го денешниот месец',clearText:'Бриши',clearStatus:'Избриши го тековниот датум',closeText:'Затвори',closeStatus:'Затвори без промени',yearStatus:'Избери друга година',monthStatus:'Избери друг месец',weekText:'Нед',weekStatus:'Недела во годината',dayStatus:'Избери DD, M d',defaultStatus:'Избери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ml']={renderer:$.calendarsPicker.defaultRenderer,prevText:'മുന്നത്തെ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'അടുത്തത് ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ഇന്ന്',currentStatus:'',todayText:'ഇന്ന്',todayStatus:'',clearText:'X',clearStatus:'',closeText:'ശരി',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ആ',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ml'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ms']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sebelum',prevStatus:'Tunjukkan bulan lepas',prevJumpText:'<<',prevJumpStatus:'Tunjukkan tahun lepas',nextText:'Selepas>',nextStatus:'Tunjukkan bulan depan',nextJumpText:'>>',nextJumpStatus:'Tunjukkan tahun depan',currentText:'hari ini',currentStatus:'Tunjukkan bulan terkini',todayText:'hari ini',todayStatus:'Tunjukkan bulan terkini',clearText:'Padam',clearStatus:'Padamkan tarikh terkini',closeText:'Tutup',closeStatus:'Tutup tanpa perubahan',yearStatus:'Tunjukkan tahun yang lain',monthStatus:'Tunjukkan bulan yang lain',weekText:'Mg',weekStatus:'Minggu bagi tahun ini',dayStatus:'DD, d MM',defaultStatus:'Sila pilih tarikh',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ms'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Ta Qabel',prevStatus:'Ix-xahar ta qabel',prevJumpText:'<<',prevJumpStatus:'Is-sena ta qabel',nextText:'Li Jmiss',nextStatus:'Ix-xahar li jmiss',nextJumpText:'>>',nextJumpStatus:'Is-sena li jmiss',currentText:'Illum',currentStatus:'Ix-xahar ta llum',todayText:'Illum',todayStatus:'Uri ix-xahar ta llum',clearText:'Ħassar',clearStatus:'Ħassar id-data',closeText:'Lest',closeStatus:'Għalaq mingħajr tibdiliet',yearStatus:'Uri sena differenti',monthStatus:'Uri xahar differenti',weekText:'Ġm',weekStatus:'Il-Ġimgħa fis-sena',dayStatus:'Għazel DD, M d',defaultStatus:'Għazel data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl-BE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd/mm/yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl-BE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd-mm-yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['no']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Forrige',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Neste»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'I dag',currentStatus:'',todayText:'I dag',todayStatus:'',clearText:'Tøm',clearStatus:'',closeText:'Lukk',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Uke',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['no'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Poprzedni',prevStatus:'Pokaż poprzedni miesiąc',prevJumpText:'<<',prevJumpStatus:'',nextText:'Następny>',nextStatus:'Pokaż następny miesiąc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dziś',currentStatus:'Pokaż aktualny miesiąc',todayText:'Dziś',todayStatus:'Pokaż aktualny miesiąc',clearText:'Wyczyść',clearStatus:'Wyczyść obecną datę',closeText:'Zamknij',closeStatus:'Zamknij bez zapisywania',yearStatus:'Pokaż inny rok',monthStatus:'Pokaż inny miesiąc',weekText:'Tydz',weekStatus:'Tydzień roku',dayStatus:'\'Wybierz\' DD, M d',defaultStatus:'Wybierz datę',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pt-BR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anterior',prevStatus:'Mostra o mês anterior',prevJumpText:'<<',prevJumpStatus:'Mostra o ano anterior',nextText:'Próximo>',nextStatus:'Mostra o próximo mês',nextJumpText:'>>',nextJumpStatus:'Mostra o próximo ano',currentText:'Atual',currentStatus:'Mostra o mês atual',todayText:'Hoje',todayStatus:'Vai para hoje',clearText:'Limpar',clearStatus:'Limpar data',closeText:'Fechar',closeStatus:'Fechar o calendário',yearStatus:'Selecionar ano',monthStatus:'Selecionar mês',weekText:'s',weekStatus:'Semana do ano',dayStatus:'DD, d \'de\' M \'de\' yyyy',defaultStatus:'Selecione um dia',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pt-BR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['rm']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Suandant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Precedent>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Actual',currentStatus:'',todayText:'Actual',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Serrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'emna',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['rm'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ro']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Precedenta',prevStatus:'Arata luna precedenta',prevJumpText:'««',prevJumpStatus:'',nextText:'Urmatoare»',nextStatus:'Arata luna urmatoare',nextJumpText:'»»',nextJumpStatus:'',currentText:'Azi',currentStatus:'Arata luna curenta',todayText:'Azi',todayStatus:'Arata luna curenta',clearText:'Curat',clearStatus:'Sterge data curenta',closeText:'Închide',closeStatus:'Închide fara schimbare',yearStatus:'Arat un an diferit',monthStatus:'Arata o luna diferita',weekText:'Săpt',weekStatus:'Săptamana anului',dayStatus:'Selecteaza DD, M d',defaultStatus:'Selecteaza o data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ro'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ru']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Пред',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'След>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сегодня',currentStatus:'',todayText:'Сегодня',todayStatus:'',clearText:'Очистить',clearStatus:'',closeText:'Закрыть',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ru'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Predchádzajúci',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nasledujúci>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dnes',currentStatus:'',todayText:'Dnes',todayStatus:'',clearText:'Zmazať',clearStatus:'',closeText:'Zavrieť',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ty',weekStatus:'',dayStatus:'DD. M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prejšnji',prevStatus:'Prikaži prejšnji mesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'Naslednji>',nextStatus:'Prikaži naslednji mesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Trenutni',currentStatus:'Prikaži trenutni mesec',todayText:'Trenutni',todayStatus:'Prikaži trenutni mesec',clearText:'Izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zapri',closeStatus:'Zapri brez spreminjanja',yearStatus:'Prikaži drugo leto',monthStatus:'Prikaži drug mesec',weekText:'Teden',weekStatus:'Teden v letu',dayStatus:'Izberi DD, d MM yy',defaultStatus:'Izbira datuma',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sq']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mbrapa',prevStatus:'trego muajin e fundit',prevJumpText:'<<',prevJumpStatus:'',nextText:'Përpara>',nextStatus:'trego muajin tjetër',nextJumpText:'>>',nextJumpStatus:'',currentText:'sot',currentStatus:'',todayText:'sot',todayStatus:'',clearText:'fshije',clearStatus:'fshije datën aktuale',closeText:'mbylle',closeStatus:'mbylle pa ndryshime',yearStatus:'trego tjetër vit',monthStatus:'trego muajin tjetër',weekText:'Ja',weekStatus:'Java e muajit',dayStatus:'\'Zgjedh\' D, M d',defaultStatus:'Zgjedhe një datë',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sq'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr-SR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži predhodni mesec',prevJumpText:'<<',prevJumpStatus:'Prikaži predhodnu godinu',nextText:'>',nextStatus:'Prikaži sledeći mesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sledeću godinu',currentText:'Danas',currentStatus:'Tekući mesec',todayText:'Danas',todayStatus:'Tekući mesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr-SR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи предходни месец',prevJumpText:'<<',prevJumpStatus:'Прикажи предходну годину',nextText:'>',nextStatus:'Прикажи слецећи месец',nextJumpText:'>>',nextJumpStatus:'Прикажи следећу годину',currentText:'Данас',currentStatus:'Текући месец',todayText:'Данас',todayStatus:'Текући месец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи месеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Förra',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nästa»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'',todayText:'Idag',todayStatus:'',clearText:'Rensa',clearStatus:'',closeText:'Stäng',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ve',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ta']={renderer:$.calendarsPicker.defaultRenderer,prevText:'முன்னையது',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'அடுத்தது',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'இன்று',currentStatus:'',todayText:'இன்று',todayStatus:'',clearText:'அழி',clearStatus:'',closeText:'மூடு',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'D, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ta'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['th']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« ย้อน',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ถัดไป »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'วันนี้',currentStatus:'',todayText:'วันนี้',todayStatus:'',clearText:'ลบ',clearStatus:'',closeText:'ปิด',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['th'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<geri',prevStatus:'önceki ayı göster',prevJumpText:'<<',prevJumpStatus:'',nextText:'ileri>',nextStatus:'sonraki ayı göster',nextJumpText:'>>',nextJumpStatus:'',currentText:'bugün',currentStatus:'',todayText:'bugün',todayStatus:'',clearText:'temizle',clearStatus:'geçerli tarihi temizler',closeText:'kapat',closeStatus:'sadece göstergeyi kapat',yearStatus:'başka yıl',monthStatus:'başka ay',weekText:'Hf',weekStatus:'Ayın haftaları',dayStatus:'D, M d seçiniz',defaultStatus:'Bir tarih seçiniz',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Алдагы',prevStatus:'Алдагы айны күрсәтү',prevJumpText:'<<',prevJumpStatus:'Алдагы елны күрсәтү',nextText:'Киләсе',nextStatus:'Киләсе айны күрсәтү',nextJumpText:'>>',nextJumpStatus:'Киләсе елны күрсәтү',currentText:'Хәзер',currentStatus:'Хәзерге айны күрсәтү',todayText:'Бүген',todayStatus:'Бүгенге айны күрсәтү',clearText:'Чистарту',clearStatus:'Барлык көннәрне чистарту',closeText:'Ябарга',closeStatus:'Көн сайлауны ябарга',yearStatus:'Елны кертегез',monthStatus:'Айны кертегез',weekText:'Атна',weekStatus:'Елда атна саны',dayStatus:'DD, M d',defaultStatus:'Көнне сайлагыз',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['uk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сьогодні',currentStatus:'',todayText:'Сьогодні',todayStatus:'',clearText:'Очистити',clearStatus:'',closeText:'Закрити',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['uk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ur']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<گذشتہ',prevStatus:'ماه گذشتہ',prevJumpText:'<<',prevJumpStatus:'برس گذشتہ',nextText:'آئندہ>',nextStatus:'ماه آئندہ',nextJumpText:'>>',nextJumpStatus:'برس آئندہ',currentText:'رواں',currentStatus:'ماه رواں',todayText:'آج',todayStatus:'آج',clearText:'حذف تاريخ',clearStatus:'کریں حذف تاریخ',closeText:'کریں بند',closeStatus:'کیلئے کرنے بند',yearStatus:'برس تبدیلی',monthStatus:'ماه تبدیلی',weekText:'ہفتہ',weekStatus:'ہفتہ',dayStatus:'انتخاب D, M d',defaultStatus:'کریں منتخب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ur'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['vi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Trước',prevStatus:'Tháng trước',prevJumpText:'<<',prevJumpStatus:'Năm trước',nextText:'Tiếp>',nextStatus:'Tháng sau',nextJumpText:'>>',nextJumpStatus:'Năm sau',currentText:'Hôm nay',currentStatus:'Tháng hiện tại',todayText:'Hôm nay',todayStatus:'Tháng hiện tại',clearText:'Xóa',clearStatus:'Xóa ngày hiện tại',closeText:'Đóng',closeStatus:'Đóng và không lưu lại thay đổi',yearStatus:'Năm khác',monthStatus:'Tháng khác',weekText:'Tu',weekStatus:'Tuần trong năm',dayStatus:'Đang chọn DD, \'ngày\' d M',defaultStatus:'Chọn ngày',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['vi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-CN']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'显示上月',prevJumpText:'<<',prevJumpStatus:'显示上一年',nextText:'下月>',nextStatus:'显示下月',nextJumpText:'>>',nextJumpStatus:'显示下一年',currentText:'今天',currentStatus:'显示本月',todayText:'今天',todayStatus:'显示本月',clearText:'清除',clearStatus:'清除已选日期',closeText:'关闭',closeStatus:'不改变当前选择',yearStatus:'选择年份',monthStatus:'选择月份',weekText:'周',weekStatus:'年内周次',dayStatus:'选择 m月 d日, DD',defaultStatus:'请选择日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-HK']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-HK'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-TW']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-TW'])})(jQuery); \ No newline at end of file diff --git a/jquery.calendars.picker.min.js b/jquery.calendars.picker.min.js index f448e77..2c663c6 100644 --- a/jquery.calendars.picker.min.js +++ b/jquery.calendars.picker.min.js @@ -1,6 +1,6 @@ /* http://keith-wood.name/calendars.html - Calendars date picker for jQuery v2.0.0. + Calendars date picker for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) August 2009. - Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. + Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ -(function($){var F='calendarsPicker';$.JQPlugin.createPlugin({name:F,defaultRenderer:{picker:'
'+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'
{months}
',month:'
{monthHeader}
'+'{weekHeader}{weeks}
',weekHeader:'{days}',dayHeader:'{day}',week:'{days}',day:'{day}',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();G.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){G.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){G.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){G.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){G.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){G.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!G.isDisabled(a[0])){G[G.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=G._getInst(a);if(G.curInst===b){return}if(G.curInst){G.hide(G.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=G._extractDates(b,a.val());b.pickingRange=false;b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();G.curInst=b;G._update(a[0],true);var c=G._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i]));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i])}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!G.curInst){return}var b=$(a.target);if(b.closest('.'+G._popupClass+',.'+G._triggerClass).length===0&&!b.hasClass(G._getMarker())){G.hide(G.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===G.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;G.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=a.target;var c=G._getInst(b);var d=false;if(c.div){if(a.keyCode===9){G.hide(b)}else if(a.keyCode===13){G.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=G._getInst(a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=G._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){G.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(G.curInst&&G.curInst.elem[0])||$(a.target).closest('.'+G._getMarker())[0];if(G.isDisabled(c)){return}var d=G._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);G.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text]):i.options[f.text])+'')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;p.find(i.options.renderer.daySelector+' a').hover(function(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass);$(this).addClass(i.options.renderer.highlightedClass)},function(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');G.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var u=0;p.find(i.options.renderer.monthSelector).each(function(){u+=$(this).outerWidth()});p.width(u/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(a,b,c,d,e,f,g){var h=e.daysInMonth(c,d);var j=b.options.monthsToShow;j=($.isArray(j)?j:[1,j]);var k=b.options.fixedWeeks||(j[0]*j[1]>1);var l=b.options.firstDay;l=(l==null?e.local.firstDay:l);var m=(e.dayOfWeek(c,d,e.minDay)-l+e.daysInWeek())%e.daysInWeek();var n=(k?6:Math.ceil((m+h)/e.daysInWeek()));var o=b.options.selectOtherMonths&&b.options.showOtherMonths;var p=(b.pickingRange?b.selectedDates[0]:b.get('minDate'));var q=b.get('maxDate');var r=f.week.indexOf('{weekOfYear}')>-1;var s=e.today();var t=e.newDate(c,d,e.minDay);t.add(-m-(k&&(t.dayOfWeek()===l||t.daysInMonth()'+($.isFunction(b.options.calculateWeek)?b.options.calculateWeek(t):t.weekOfYear())+'');var y='';for(var z=0;z0){A=(t.compareTo(b.selectedDates[0])!==-1&&t.compareTo(b.selectedDates[1])!==+1)}else{for(var i=0;i'+(b.options.showOtherMonths||t.month()===d?B.content||t.day():' ')+(C?'':''));t.add(1,'d');u++}v+=this._prepare(f.week,b).replace(/\{days\}/g,y).replace(/\{weekOfYear\}/g,x)}var D=this._prepare(f.month,b).match(/\{monthHeader(:[^\}]+)?\}/);D=(D[0].length<=13?'MM yyyy':D[0].substring(13,D[0].length-1));D=(g?this._generateMonthSelection(b,c,d,p,q,D,e,f):e.formatDate(D,e.newDate(c,d,e.minDay)));var E=this._prepare(f.weekHeader,b).replace(/\{days\}/g,this._generateDayHeaders(b,e,f));return this._prepare(f.month,b).replace(/\{monthHeader(:[^\}]+)?\}/g,D).replace(/\{weekHeader\}/g,E).replace(/\{weeks\}/g,v)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(a,b,c,d,e,f,g){if(!a.options.changeMonth){return g.formatDate(f,g.newDate(b,c,1))}var h=g.local['monthNames'+(f.match(/mm/i)?'':'Short')];var i=f.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var j='';i=i.replace(/\\x2E/,j);var l=a.options.yearRange;if(l==='any'){j=''+''}else{l=l.split(':');var n=g.today().year();var o=(l[0].match('c[+-].*')?b+parseInt(l[0].substring(1),10):((l[0].match('[+-].*')?n:0)+parseInt(l[0],10)));var p=(l[1].match('c[+-].*')?b+parseInt(l[1].substring(1),10):((l[1].match('[+-].*')?n:0)+parseInt(l[1],10)));j=''}i=i.replace(/\\x2F/,j);return i},_prepare:function(e,f){var g=function(a,b){while(true){var c=e.indexOf('{'+a+':start}');if(c===-1){return}var d=e.substring(c).indexOf('{'+a+':end}');if(d>-1){e=e.substring(0,c)+(b?e.substr(c+a.length+8,d-a.length-8):'')+e.substring(c+d+a.length+6)}}};g('inline',f.inline);g('popup',!f.inline);var h=/\{l10n:([^\}]+)\}/;var i=null;while(i=h.exec(e)){e=e.replace(i[0],f.options[i[1]])}return e}});var G=$.calendarsPicker;$(function(){$(document).on('mousedown.'+F,G._checkExternalClick).on('resize.'+F,function(){G.hide(G.curInst)})})})(jQuery); \ No newline at end of file +(function($){var F='calendarsPicker';$.JQPlugin.createPlugin({name:F,defaultRenderer:{picker:'
'+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'
{months}
',month:'
{monthHeader}
'+'{weekHeader}{weeks}
',weekHeader:'{days}',dayHeader:'{day}',week:'{days}',day:'{day}',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){G.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();G.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){G.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){G.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){G.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){G.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){G.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){G.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',earlierText:'  ▲',laterText:'  ▼',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!G.isDisabled(a[0])){G[G.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=G._getInst(a);if(G.curInst===b){return}if(G.curInst){G.hide(G.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=G._extractDates(b,a.val());b.pickingRange=false;b.drawDate=G._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();G.curInst=b;G._update(a[0],true);var c=G._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i]));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i])}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!G.curInst){return}var b=$(a.target);if(b.closest('.'+G._popupClass+',.'+G._triggerClass).length===0&&!b.hasClass(G._getMarker())){G.hide(G.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===G.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;G.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=(a.data&&a.data.elem)||a.target;var c=G._getInst(b);var d=false;if(c.inline||c.div){if(a.keyCode===9){G.hide(b)}else if(a.keyCode===13){G.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){G.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=G._getInst((a.data&&a.data.elem)||a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=G._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){G.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(G.curInst&&G.curInst.elem[0])||$(a.target).closest('.'+G._getMarker())[0];if(G.isDisabled(c)){return}var d=G._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);G.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text]):i.options[f.text])+'')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;function removeHighlight(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}p.find(i.options.renderer.daySelector+' a').hover(function(){removeHighlight.apply(this);$(this).addClass(i.options.renderer.highlightedClass)},removeHighlight).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});var u={elem:i.elem[0]};p.keydown(u,this._keyDown).keypress(u,this._keyPress).keyup(u,this._keyUp);p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');G.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var v=0;p.find(i.options.renderer.monthSelector).each(function(){v+=$(this).outerWidth()});p.width(v/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(a,b,c,d,e,f,g){var h=e.daysInMonth(c,d);var j=b.options.monthsToShow;j=($.isArray(j)?j:[1,j]);var k=b.options.fixedWeeks||(j[0]*j[1]>1);var l=b.options.firstDay;l=(l==null?e.local.firstDay:l);var m=(e.dayOfWeek(c,d,e.minDay)-l+e.daysInWeek())%e.daysInWeek();var n=(k?6:Math.ceil((m+h)/e.daysInWeek()));var o=b.options.selectOtherMonths&&b.options.showOtherMonths;var p=(b.pickingRange?b.selectedDates[0]:b.get('minDate'));var q=b.get('maxDate');var r=f.week.indexOf('{weekOfYear}')>-1;var s=e.today();var t=e.newDate(c,d,e.minDay);t.add(-m-(k&&(t.dayOfWeek()===l||t.daysInMonth()'+($.isFunction(b.options.calculateWeek)?b.options.calculateWeek(t):t.weekOfYear())+'');var y='';for(var z=0;z0){A=(t.compareTo(b.selectedDates[0])!==-1&&t.compareTo(b.selectedDates[1])!==+1)}else{for(var i=0;i'+(b.options.showOtherMonths||t.month()===d?B.content||t.day():' ')+(C?'':''));t.add(1,'d');u++}v+=this._prepare(f.week,b).replace(/\{days\}/g,y).replace(/\{weekOfYear\}/g,x)}var D=this._prepare(f.month,b).match(/\{monthHeader(:[^\}]+)?\}/);D=(D[0].length<=13?'MM yyyy':D[0].substring(13,D[0].length-1));D=(g?this._generateMonthSelection(b,c,d,p,q,D,e,f):e.formatDate(D,e.newDate(c,d,e.minDay)));var E=this._prepare(f.weekHeader,b).replace(/\{days\}/g,this._generateDayHeaders(b,e,f));return this._prepare(f.month,b).replace(/\{monthHeader(:[^\}]+)?\}/g,D).replace(/\{weekHeader\}/g,E).replace(/\{weeks\}/g,v)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(b,c,d,e,f,g,h){if(!b.options.changeMonth){return h.formatDate(g,h.newDate(c,d,1))}var i=h.local['monthNames'+(g.match(/mm/i)?'':'Short')];var j=g.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var k='';j=j.replace(/\\x2E/,k);var n=b.options.yearRange;if(n==='any'){k=''+''}else{n=n.split(':');var o=h.today().year();var p=(n[0].match('c[+-].*')?c+parseInt(n[0].substring(1),10):((n[0].match('[+-].*')?o:0)+parseInt(n[0],10)));var q=(n[1].match('c[+-].*')?c+parseInt(n[1].substring(1),10):((n[1].match('[+-].*')?o:0)+parseInt(n[1],10)));k='